@flowselections/floriday-verkoop-module 1.0.56 → 1.0.57

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 (66) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +5 -5
  3. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +344 -10
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +344 -10
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +344 -10
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +346 -10
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +344 -10
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3906 -232
  16. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-replan.functions.d.ts +1032 -30
  18. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/create-order.functions.d.ts +6128 -450
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1032 -30
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  24. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  26. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23961 -20
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  29. package/dist-lib/lib/floriday-mirror.functions.d.ts +344 -10
  30. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-public.functions.d.ts +2451 -113
  32. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-writes.functions.d.ts +1763 -93
  35. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/invoice-timing.functions.d.ts +1376 -40
  37. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/load-carriers.functions.d.ts +344 -10
  39. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logistics-engine.functions.d.ts +1763 -93
  41. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/logistics-stock.functions.d.ts +688 -20
  43. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-addresses.functions.d.ts +344 -10
  45. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-buffers.functions.d.ts +1032 -30
  47. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-carrier.functions.d.ts +688 -20
  49. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-pickup.functions.d.ts +688 -20
  51. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-shipments.functions.d.ts +1376 -40
  53. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.functions.d.ts +344 -10
  55. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  57. package/dist-lib/lib/salesorders-list.server.js +43 -1
  58. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  59. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders.functions.d.ts +1763 -93
  61. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +688 -20
  63. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/tradeitems.functions.d.ts +344 -10
  65. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  66. package/package.json +131 -131
@@ -2851,6 +2851,84 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -5904,10 +5982,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
5904
5982
  };
5905
5983
  floriday_connections: {
5906
5984
  Row: {
5907
- access_token: string | null;
5908
5985
  api_key: string;
5909
- client_id: string;
5910
- client_secret: string;
5911
5986
  created_at: string;
5912
5987
  customers_endpoint: string | null;
5913
5988
  environment: string;
@@ -5922,10 +5997,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
5922
5997
  updated_at: string;
5923
5998
  };
5924
5999
  Insert: {
5925
- access_token?: string | null;
5926
6000
  api_key: string;
5927
- client_id: string;
5928
- client_secret: string;
5929
6001
  created_at?: string;
5930
6002
  customers_endpoint?: string | null;
5931
6003
  environment: string;
@@ -5940,10 +6012,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
5940
6012
  updated_at?: string;
5941
6013
  };
5942
6014
  Update: {
5943
- access_token?: string | null;
5944
6015
  api_key?: string;
5945
- client_id?: string;
5946
- client_secret?: string;
5947
6016
  created_at?: string;
5948
6017
  customers_endpoint?: string | null;
5949
6018
  environment?: string;
@@ -13576,6 +13645,39 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13576
13645
  };
13577
13646
  Relationships: [];
13578
13647
  };
13648
+ print_dedupe_events: {
13649
+ Row: {
13650
+ bestaande_job_id: string | null;
13651
+ created_at: string;
13652
+ detail: string | null;
13653
+ documentnaam: string | null;
13654
+ documenttype: string | null;
13655
+ id: string;
13656
+ idempotentie_sleutel: string;
13657
+ reden: string;
13658
+ };
13659
+ Insert: {
13660
+ bestaande_job_id?: string | null;
13661
+ created_at?: string;
13662
+ detail?: string | null;
13663
+ documentnaam?: string | null;
13664
+ documenttype?: string | null;
13665
+ id?: string;
13666
+ idempotentie_sleutel: string;
13667
+ reden: string;
13668
+ };
13669
+ Update: {
13670
+ bestaande_job_id?: string | null;
13671
+ created_at?: string;
13672
+ detail?: string | null;
13673
+ documentnaam?: string | null;
13674
+ documenttype?: string | null;
13675
+ id?: string;
13676
+ idempotentie_sleutel?: string;
13677
+ reden?: string;
13678
+ };
13679
+ Relationships: [];
13680
+ };
13579
13681
  print_job_logs: {
13580
13682
  Row: {
13581
13683
  created_at: string;
@@ -13626,6 +13728,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13626
13728
  is_herprint: boolean;
13627
13729
  kopieen: number;
13628
13730
  layout_id: string | null;
13731
+ lokaal_opgeslagen_op: string | null;
13732
+ lokale_pdf_fout: string | null;
13733
+ lokale_pdf_status: string | null;
13629
13734
  opgepakt_op: string | null;
13630
13735
  paginas: number;
13631
13736
  payload: import("../integrations/supabase/types").Json;
@@ -13634,6 +13739,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13634
13739
  pogingen: number;
13635
13740
  printer_id: string | null;
13636
13741
  render_html: string | null;
13742
+ resultaat_pdf_base64: string | null;
13637
13743
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13638
13744
  updated_at: string;
13639
13745
  volgende_poging: string | null;
@@ -13658,6 +13764,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13658
13764
  is_herprint?: boolean;
13659
13765
  kopieen?: number;
13660
13766
  layout_id?: string | null;
13767
+ lokaal_opgeslagen_op?: string | null;
13768
+ lokale_pdf_fout?: string | null;
13769
+ lokale_pdf_status?: string | null;
13661
13770
  opgepakt_op?: string | null;
13662
13771
  paginas?: number;
13663
13772
  payload?: import("../integrations/supabase/types").Json;
@@ -13666,6 +13775,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13666
13775
  pogingen?: number;
13667
13776
  printer_id?: string | null;
13668
13777
  render_html?: string | null;
13778
+ resultaat_pdf_base64?: string | null;
13669
13779
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13670
13780
  updated_at?: string;
13671
13781
  volgende_poging?: string | null;
@@ -13690,6 +13800,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13690
13800
  is_herprint?: boolean;
13691
13801
  kopieen?: number;
13692
13802
  layout_id?: string | null;
13803
+ lokaal_opgeslagen_op?: string | null;
13804
+ lokale_pdf_fout?: string | null;
13805
+ lokale_pdf_status?: string | null;
13693
13806
  opgepakt_op?: string | null;
13694
13807
  paginas?: number;
13695
13808
  payload?: import("../integrations/supabase/types").Json;
@@ -13698,6 +13811,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13698
13811
  pogingen?: number;
13699
13812
  printer_id?: string | null;
13700
13813
  render_html?: string | null;
13814
+ resultaat_pdf_base64?: string | null;
13701
13815
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13702
13816
  updated_at?: string;
13703
13817
  volgende_poging?: string | null;
@@ -13816,6 +13930,39 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
13816
13930
  };
13817
13931
  Relationships: [];
13818
13932
  };
13933
+ print_preview_events: {
13934
+ Row: {
13935
+ code: string | null;
13936
+ created_at: string;
13937
+ detail: import("../integrations/supabase/types").Json;
13938
+ id: string;
13939
+ queue_item_id: string | null;
13940
+ reden: string | null;
13941
+ station_slug: string | null;
13942
+ uitkomst: string;
13943
+ };
13944
+ Insert: {
13945
+ code?: string | null;
13946
+ created_at?: string;
13947
+ detail?: import("../integrations/supabase/types").Json;
13948
+ id?: string;
13949
+ queue_item_id?: string | null;
13950
+ reden?: string | null;
13951
+ station_slug?: string | null;
13952
+ uitkomst?: string;
13953
+ };
13954
+ Update: {
13955
+ code?: string | null;
13956
+ created_at?: string;
13957
+ detail?: import("../integrations/supabase/types").Json;
13958
+ id?: string;
13959
+ queue_item_id?: string | null;
13960
+ reden?: string | null;
13961
+ station_slug?: string | null;
13962
+ uitkomst?: string;
13963
+ };
13964
+ Relationships: [];
13965
+ };
13819
13966
  print_queue_runners: {
13820
13967
  Row: {
13821
13968
  actief: boolean;
@@ -14055,6 +14202,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
14055
14202
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14056
14203
  online: boolean;
14057
14204
  papierformaat: string;
14205
+ pdf_map: string | null;
14058
14206
  poort: number | null;
14059
14207
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14060
14208
  systeemnaam: string;
@@ -14080,6 +14228,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
14080
14228
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14081
14229
  online?: boolean;
14082
14230
  papierformaat?: string;
14231
+ pdf_map?: string | null;
14083
14232
  poort?: number | null;
14084
14233
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14085
14234
  systeemnaam?: string;
@@ -14105,6 +14254,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
14105
14254
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14106
14255
  online?: boolean;
14107
14256
  papierformaat?: string;
14257
+ pdf_map?: string | null;
14108
14258
  poort?: number | null;
14109
14259
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14110
14260
  systeemnaam?: string;
@@ -20361,6 +20511,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20361
20511
  is_herprint: boolean;
20362
20512
  kopieen: number;
20363
20513
  layout_id: string | null;
20514
+ lokaal_opgeslagen_op: string | null;
20515
+ lokale_pdf_fout: string | null;
20516
+ lokale_pdf_status: string | null;
20364
20517
  opgepakt_op: string | null;
20365
20518
  paginas: number;
20366
20519
  payload: import("../integrations/supabase/types").Json;
@@ -20369,6 +20522,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20369
20522
  pogingen: number;
20370
20523
  printer_id: string | null;
20371
20524
  render_html: string | null;
20525
+ resultaat_pdf_base64: string | null;
20372
20526
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20373
20527
  updated_at: string;
20374
20528
  volgende_poging: string | null;
@@ -20460,6 +20614,53 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20460
20614
  isSetofReturn: true;
20461
20615
  };
20462
20616
  };
20617
+ claim_pdf_print_jobs: {
20618
+ Args: {
20619
+ _max?: number;
20620
+ };
20621
+ Returns: {
20622
+ agent_id: string | null;
20623
+ bron_job_id: string | null;
20624
+ created_at: string;
20625
+ documentnaam: string;
20626
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20627
+ extern_job_id: string | null;
20628
+ foutmelding: string | null;
20629
+ gebruiker_id: string | null;
20630
+ gebruiker_naam: string;
20631
+ gebruikte_bron: string | null;
20632
+ gebruikte_layout_id: string | null;
20633
+ gestart_op: string | null;
20634
+ herkomst: string | null;
20635
+ id: string;
20636
+ idempotentie_sleutel: string | null;
20637
+ is_herprint: boolean;
20638
+ kopieen: number;
20639
+ layout_id: string | null;
20640
+ lokaal_opgeslagen_op: string | null;
20641
+ lokale_pdf_fout: string | null;
20642
+ lokale_pdf_status: string | null;
20643
+ opgepakt_op: string | null;
20644
+ paginas: number;
20645
+ payload: import("../integrations/supabase/types").Json;
20646
+ pdf_base64: string | null;
20647
+ pdf_url: string | null;
20648
+ pogingen: number;
20649
+ printer_id: string | null;
20650
+ render_html: string | null;
20651
+ resultaat_pdf_base64: string | null;
20652
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20653
+ updated_at: string;
20654
+ volgende_poging: string | null;
20655
+ voltooid_op: string | null;
20656
+ }[];
20657
+ SetofOptions: {
20658
+ from: "*";
20659
+ to: "print_jobs";
20660
+ isOneToOne: false;
20661
+ isSetofReturn: true;
20662
+ };
20663
+ };
20463
20664
  claim_print_jobs: {
20464
20665
  Args: {
20465
20666
  _agent_id: string;
@@ -20484,6 +20685,9 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20484
20685
  is_herprint: boolean;
20485
20686
  kopieen: number;
20486
20687
  layout_id: string | null;
20688
+ lokaal_opgeslagen_op: string | null;
20689
+ lokale_pdf_fout: string | null;
20690
+ lokale_pdf_status: string | null;
20487
20691
  opgepakt_op: string | null;
20488
20692
  paginas: number;
20489
20693
  payload: import("../integrations/supabase/types").Json;
@@ -20492,6 +20696,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20492
20696
  pogingen: number;
20493
20697
  printer_id: string | null;
20494
20698
  render_html: string | null;
20699
+ resultaat_pdf_base64: string | null;
20495
20700
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20496
20701
  updated_at: string;
20497
20702
  volgende_poging: string | null;
@@ -20632,6 +20837,8 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
20632
20837
  order_id: string;
20633
20838
  order_source: string;
20634
20839
  pick_date: string;
20840
+ printed_at: string;
20841
+ printed_today: boolean;
20635
20842
  status: string;
20636
20843
  }[];
20637
20844
  };
@@ -21340,6 +21547,10 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21340
21547
  };
21341
21548
  Returns: number;
21342
21549
  };
21550
+ logistics_cancel_orphan_tasks: {
21551
+ Args: never;
21552
+ Returns: number;
21553
+ };
21343
21554
  logistics_capacity_day_check: {
21344
21555
  Args: {
21345
21556
  p_from?: string;
@@ -21360,6 +21571,25 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21360
21571
  };
21361
21572
  Returns: number;
21362
21573
  };
21574
+ logistics_cart_index: {
21575
+ Args: {
21576
+ p_from?: string;
21577
+ p_to?: string;
21578
+ };
21579
+ Returns: {
21580
+ cart_id: string;
21581
+ cart_index: number;
21582
+ cart_label: string;
21583
+ is_shared: boolean;
21584
+ order_number: string;
21585
+ order_source: string;
21586
+ order_uuid: string;
21587
+ pick_date: string;
21588
+ printed_at: string;
21589
+ shifted: boolean;
21590
+ task_status: string;
21591
+ }[];
21592
+ };
21363
21593
  logistics_check_order_allowed: {
21364
21594
  Args: {
21365
21595
  p_lines: import("../integrations/supabase/types").Json;
@@ -21508,6 +21738,17 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21508
21738
  isSetofReturn: false;
21509
21739
  };
21510
21740
  };
21741
+ logistics_consistency_check: {
21742
+ Args: never;
21743
+ Returns: {
21744
+ agenda_carts: number;
21745
+ control_carts: number;
21746
+ ok: boolean;
21747
+ orphan_tasks: number;
21748
+ pick_date: string;
21749
+ raw_carts: number;
21750
+ }[];
21751
+ };
21511
21752
  logistics_delay_customer_email: {
21512
21753
  Args: {
21513
21754
  p_customer: string;
@@ -21597,6 +21838,16 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21597
21838
  isSetofReturn: false;
21598
21839
  };
21599
21840
  };
21841
+ logistics_floriday_cart_plan: {
21842
+ Args: {
21843
+ p_order_id: string;
21844
+ };
21845
+ Returns: {
21846
+ carrier_type: string;
21847
+ idx: number;
21848
+ packages: number;
21849
+ }[];
21850
+ };
21600
21851
  logistics_floriday_claim_pushes: {
21601
21852
  Args: {
21602
21853
  _lease_seconds?: number;
@@ -21701,6 +21952,25 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21701
21952
  };
21702
21953
  Returns: number;
21703
21954
  };
21955
+ logistics_order_overview: {
21956
+ Args: {
21957
+ p_from?: string;
21958
+ p_to?: string;
21959
+ };
21960
+ Returns: {
21961
+ cart_count: number;
21962
+ customer_name: string;
21963
+ delivery_date: string;
21964
+ order_number: string;
21965
+ order_source: string;
21966
+ order_uuid: string;
21967
+ pick_date: string;
21968
+ plant_count: number;
21969
+ printed_at: string;
21970
+ shifted: boolean;
21971
+ status: string;
21972
+ }[];
21973
+ };
21704
21974
  logistics_order_pick_day: {
21705
21975
  Args: {
21706
21976
  p_order_ref: string;
@@ -21713,6 +21983,22 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21713
21983
  };
21714
21984
  Returns: string;
21715
21985
  };
21986
+ logistics_pick_agenda: {
21987
+ Args: {
21988
+ p_from?: string;
21989
+ p_to?: string;
21990
+ };
21991
+ Returns: {
21992
+ cart_count: number;
21993
+ in_preparation: number;
21994
+ order_count: number;
21995
+ orders: import("../integrations/supabase/types").Json;
21996
+ pick_date: string;
21997
+ plant_count: number;
21998
+ ready: number;
21999
+ shifted_count: number;
22000
+ }[];
22001
+ };
21716
22002
  logistics_pick_email_purpose: {
21717
22003
  Args: never;
21718
22004
  Returns: string;
@@ -21767,6 +22053,13 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21767
22053
  };
21768
22054
  Returns: undefined;
21769
22055
  };
22056
+ logistics_plan_floriday_order: {
22057
+ Args: {
22058
+ p_buffer_id?: string;
22059
+ p_order_id: string;
22060
+ };
22061
+ Returns: number;
22062
+ };
21770
22063
  logistics_plan_impact_orders: {
21771
22064
  Args: {
21772
22065
  p_order_id: string;
@@ -21872,6 +22165,15 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
21872
22165
  };
21873
22166
  Returns: import("../integrations/supabase/types").Json;
21874
22167
  };
22168
+ logistics_resolve_pick_document: {
22169
+ Args: {
22170
+ _is_herprint: boolean;
22171
+ _queue_item_id: string;
22172
+ _session_id: string;
22173
+ _voorbeeld: boolean;
22174
+ };
22175
+ Returns: import("../integrations/supabase/types").Json;
22176
+ };
21875
22177
  logistics_resolve_settings: {
21876
22178
  Args: {
21877
22179
  p_config_id: string;
@@ -22312,6 +22614,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
22312
22614
  };
22313
22615
  pick_enqueue_print_job: {
22314
22616
  Args: {
22617
+ _is_herprint?: boolean;
22315
22618
  _printer_id?: string;
22316
22619
  _queue_item_id: string;
22317
22620
  _session_id?: string;
@@ -22325,6 +22628,13 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
22325
22628
  };
22326
22629
  Returns: import("../integrations/supabase/types").Json;
22327
22630
  };
22631
+ pick_preview_job: {
22632
+ Args: {
22633
+ _queue_item_id: string;
22634
+ _station_slug: string;
22635
+ };
22636
+ Returns: import("../integrations/supabase/types").Json;
22637
+ };
22328
22638
  pick_print_job_status: {
22329
22639
  Args: {
22330
22640
  _job_id: string;
@@ -22502,6 +22812,24 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
22502
22812
  };
22503
22813
  Returns: undefined;
22504
22814
  };
22815
+ print_preview_toestaan: {
22816
+ Args: {
22817
+ _max?: number;
22818
+ _queue_item_id: string;
22819
+ _station_slug: string;
22820
+ _venster_sec?: number;
22821
+ };
22822
+ Returns: import("../integrations/supabase/types").Json;
22823
+ };
22824
+ print_preview_weiger: {
22825
+ Args: {
22826
+ _code: string;
22827
+ _queue_item_id: string;
22828
+ _reden: string;
22829
+ _station_slug: string;
22830
+ };
22831
+ Returns: undefined;
22832
+ };
22505
22833
  process_logistics_event: {
22506
22834
  Args: {
22507
22835
  p_event_id: string;
@@ -22656,6 +22984,12 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
22656
22984
  };
22657
22985
  Returns: string;
22658
22986
  };
22987
+ resolve_print_job_printer_id: {
22988
+ Args: {
22989
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22990
+ };
22991
+ Returns: string;
22992
+ };
22659
22993
  resolve_product_id_for_item: {
22660
22994
  Args: {
22661
22995
  p_product_name: string;
@@ -23247,7 +23581,7 @@ export declare const getPreferredWarehouseStatus: import("@tanstack/start-client
23247
23581
  };
23248
23582
  CompositeTypes: { [_ in never]: never; };
23249
23583
  }, {
23250
- PostgrestVersion: "14.17";
23584
+ PostgrestVersion: "14.5";
23251
23585
  }>;
23252
23586
  userId: string;
23253
23587
  claims: import("@supabase/auth-js").User;
@@ -26108,6 +26442,84 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
26108
26442
  };
26109
26443
  Relationships: [];
26110
26444
  };
26445
+ delivery_notes: {
26446
+ Row: {
26447
+ byte_size: number | null;
26448
+ connection_id: string | null;
26449
+ content_type: string;
26450
+ created_at: string;
26451
+ error_message: string | null;
26452
+ fetched_at: string | null;
26453
+ fulfillment_order_id: string | null;
26454
+ http_status: number | null;
26455
+ id: string;
26456
+ label_code: string | null;
26457
+ letter: string | null;
26458
+ load_carrier_index: number | null;
26459
+ load_carrier_type: string | null;
26460
+ order_id: string | null;
26461
+ order_number: string | null;
26462
+ packages: number | null;
26463
+ source: string;
26464
+ status: string;
26465
+ storage_bucket: string;
26466
+ storage_path: string | null;
26467
+ updated_at: string;
26468
+ };
26469
+ Insert: {
26470
+ byte_size?: number | null;
26471
+ connection_id?: string | null;
26472
+ content_type?: string;
26473
+ created_at?: string;
26474
+ error_message?: string | null;
26475
+ fetched_at?: string | null;
26476
+ fulfillment_order_id?: string | null;
26477
+ http_status?: number | null;
26478
+ id?: string;
26479
+ label_code?: string | null;
26480
+ letter?: string | null;
26481
+ load_carrier_index?: number | null;
26482
+ load_carrier_type?: string | null;
26483
+ order_id?: string | null;
26484
+ order_number?: string | null;
26485
+ packages?: number | null;
26486
+ source?: string;
26487
+ status?: string;
26488
+ storage_bucket?: string;
26489
+ storage_path?: string | null;
26490
+ updated_at?: string;
26491
+ };
26492
+ Update: {
26493
+ byte_size?: number | null;
26494
+ connection_id?: string | null;
26495
+ content_type?: string;
26496
+ created_at?: string;
26497
+ error_message?: string | null;
26498
+ fetched_at?: string | null;
26499
+ fulfillment_order_id?: string | null;
26500
+ http_status?: number | null;
26501
+ id?: string;
26502
+ label_code?: string | null;
26503
+ letter?: string | null;
26504
+ load_carrier_index?: number | null;
26505
+ load_carrier_type?: string | null;
26506
+ order_id?: string | null;
26507
+ order_number?: string | null;
26508
+ packages?: number | null;
26509
+ source?: string;
26510
+ status?: string;
26511
+ storage_bucket?: string;
26512
+ storage_path?: string | null;
26513
+ updated_at?: string;
26514
+ };
26515
+ Relationships: [{
26516
+ foreignKeyName: "delivery_notes_order_id_fkey";
26517
+ columns: ["order_id"];
26518
+ isOneToOne: false;
26519
+ referencedRelation: "orders";
26520
+ referencedColumns: ["id"];
26521
+ }];
26522
+ };
26111
26523
  document_bronregels: {
26112
26524
  Row: {
26113
26525
  bron: string;
@@ -29161,10 +29573,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29161
29573
  };
29162
29574
  floriday_connections: {
29163
29575
  Row: {
29164
- access_token: string | null;
29165
29576
  api_key: string;
29166
- client_id: string;
29167
- client_secret: string;
29168
29577
  created_at: string;
29169
29578
  customers_endpoint: string | null;
29170
29579
  environment: string;
@@ -29179,10 +29588,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29179
29588
  updated_at: string;
29180
29589
  };
29181
29590
  Insert: {
29182
- access_token?: string | null;
29183
29591
  api_key: string;
29184
- client_id: string;
29185
- client_secret: string;
29186
29592
  created_at?: string;
29187
29593
  customers_endpoint?: string | null;
29188
29594
  environment: string;
@@ -29197,10 +29603,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
29197
29603
  updated_at?: string;
29198
29604
  };
29199
29605
  Update: {
29200
- access_token?: string | null;
29201
29606
  api_key?: string;
29202
- client_id?: string;
29203
- client_secret?: string;
29204
29607
  created_at?: string;
29205
29608
  customers_endpoint?: string | null;
29206
29609
  environment?: string;
@@ -36833,6 +37236,39 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36833
37236
  };
36834
37237
  Relationships: [];
36835
37238
  };
37239
+ print_dedupe_events: {
37240
+ Row: {
37241
+ bestaande_job_id: string | null;
37242
+ created_at: string;
37243
+ detail: string | null;
37244
+ documentnaam: string | null;
37245
+ documenttype: string | null;
37246
+ id: string;
37247
+ idempotentie_sleutel: string;
37248
+ reden: string;
37249
+ };
37250
+ Insert: {
37251
+ bestaande_job_id?: string | null;
37252
+ created_at?: string;
37253
+ detail?: string | null;
37254
+ documentnaam?: string | null;
37255
+ documenttype?: string | null;
37256
+ id?: string;
37257
+ idempotentie_sleutel: string;
37258
+ reden: string;
37259
+ };
37260
+ Update: {
37261
+ bestaande_job_id?: string | null;
37262
+ created_at?: string;
37263
+ detail?: string | null;
37264
+ documentnaam?: string | null;
37265
+ documenttype?: string | null;
37266
+ id?: string;
37267
+ idempotentie_sleutel?: string;
37268
+ reden?: string;
37269
+ };
37270
+ Relationships: [];
37271
+ };
36836
37272
  print_job_logs: {
36837
37273
  Row: {
36838
37274
  created_at: string;
@@ -36883,6 +37319,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36883
37319
  is_herprint: boolean;
36884
37320
  kopieen: number;
36885
37321
  layout_id: string | null;
37322
+ lokaal_opgeslagen_op: string | null;
37323
+ lokale_pdf_fout: string | null;
37324
+ lokale_pdf_status: string | null;
36886
37325
  opgepakt_op: string | null;
36887
37326
  paginas: number;
36888
37327
  payload: import("../integrations/supabase/types").Json;
@@ -36891,6 +37330,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36891
37330
  pogingen: number;
36892
37331
  printer_id: string | null;
36893
37332
  render_html: string | null;
37333
+ resultaat_pdf_base64: string | null;
36894
37334
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36895
37335
  updated_at: string;
36896
37336
  volgende_poging: string | null;
@@ -36915,6 +37355,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36915
37355
  is_herprint?: boolean;
36916
37356
  kopieen?: number;
36917
37357
  layout_id?: string | null;
37358
+ lokaal_opgeslagen_op?: string | null;
37359
+ lokale_pdf_fout?: string | null;
37360
+ lokale_pdf_status?: string | null;
36918
37361
  opgepakt_op?: string | null;
36919
37362
  paginas?: number;
36920
37363
  payload?: import("../integrations/supabase/types").Json;
@@ -36923,6 +37366,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36923
37366
  pogingen?: number;
36924
37367
  printer_id?: string | null;
36925
37368
  render_html?: string | null;
37369
+ resultaat_pdf_base64?: string | null;
36926
37370
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36927
37371
  updated_at?: string;
36928
37372
  volgende_poging?: string | null;
@@ -36947,6 +37391,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36947
37391
  is_herprint?: boolean;
36948
37392
  kopieen?: number;
36949
37393
  layout_id?: string | null;
37394
+ lokaal_opgeslagen_op?: string | null;
37395
+ lokale_pdf_fout?: string | null;
37396
+ lokale_pdf_status?: string | null;
36950
37397
  opgepakt_op?: string | null;
36951
37398
  paginas?: number;
36952
37399
  payload?: import("../integrations/supabase/types").Json;
@@ -36955,6 +37402,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
36955
37402
  pogingen?: number;
36956
37403
  printer_id?: string | null;
36957
37404
  render_html?: string | null;
37405
+ resultaat_pdf_base64?: string | null;
36958
37406
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36959
37407
  updated_at?: string;
36960
37408
  volgende_poging?: string | null;
@@ -37073,6 +37521,39 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
37073
37521
  };
37074
37522
  Relationships: [];
37075
37523
  };
37524
+ print_preview_events: {
37525
+ Row: {
37526
+ code: string | null;
37527
+ created_at: string;
37528
+ detail: import("../integrations/supabase/types").Json;
37529
+ id: string;
37530
+ queue_item_id: string | null;
37531
+ reden: string | null;
37532
+ station_slug: string | null;
37533
+ uitkomst: string;
37534
+ };
37535
+ Insert: {
37536
+ code?: string | null;
37537
+ created_at?: string;
37538
+ detail?: import("../integrations/supabase/types").Json;
37539
+ id?: string;
37540
+ queue_item_id?: string | null;
37541
+ reden?: string | null;
37542
+ station_slug?: string | null;
37543
+ uitkomst?: string;
37544
+ };
37545
+ Update: {
37546
+ code?: string | null;
37547
+ created_at?: string;
37548
+ detail?: import("../integrations/supabase/types").Json;
37549
+ id?: string;
37550
+ queue_item_id?: string | null;
37551
+ reden?: string | null;
37552
+ station_slug?: string | null;
37553
+ uitkomst?: string;
37554
+ };
37555
+ Relationships: [];
37556
+ };
37076
37557
  print_queue_runners: {
37077
37558
  Row: {
37078
37559
  actief: boolean;
@@ -37312,6 +37793,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
37312
37793
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37313
37794
  online: boolean;
37314
37795
  papierformaat: string;
37796
+ pdf_map: string | null;
37315
37797
  poort: number | null;
37316
37798
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37317
37799
  systeemnaam: string;
@@ -37337,6 +37819,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
37337
37819
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37338
37820
  online?: boolean;
37339
37821
  papierformaat?: string;
37822
+ pdf_map?: string | null;
37340
37823
  poort?: number | null;
37341
37824
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37342
37825
  systeemnaam?: string;
@@ -37362,6 +37845,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
37362
37845
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37363
37846
  online?: boolean;
37364
37847
  papierformaat?: string;
37848
+ pdf_map?: string | null;
37365
37849
  poort?: number | null;
37366
37850
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37367
37851
  systeemnaam?: string;
@@ -43618,6 +44102,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43618
44102
  is_herprint: boolean;
43619
44103
  kopieen: number;
43620
44104
  layout_id: string | null;
44105
+ lokaal_opgeslagen_op: string | null;
44106
+ lokale_pdf_fout: string | null;
44107
+ lokale_pdf_status: string | null;
43621
44108
  opgepakt_op: string | null;
43622
44109
  paginas: number;
43623
44110
  payload: import("../integrations/supabase/types").Json;
@@ -43626,6 +44113,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43626
44113
  pogingen: number;
43627
44114
  printer_id: string | null;
43628
44115
  render_html: string | null;
44116
+ resultaat_pdf_base64: string | null;
43629
44117
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43630
44118
  updated_at: string;
43631
44119
  volgende_poging: string | null;
@@ -43717,6 +44205,53 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43717
44205
  isSetofReturn: true;
43718
44206
  };
43719
44207
  };
44208
+ claim_pdf_print_jobs: {
44209
+ Args: {
44210
+ _max?: number;
44211
+ };
44212
+ Returns: {
44213
+ agent_id: string | null;
44214
+ bron_job_id: string | null;
44215
+ created_at: string;
44216
+ documentnaam: string;
44217
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44218
+ extern_job_id: string | null;
44219
+ foutmelding: string | null;
44220
+ gebruiker_id: string | null;
44221
+ gebruiker_naam: string;
44222
+ gebruikte_bron: string | null;
44223
+ gebruikte_layout_id: string | null;
44224
+ gestart_op: string | null;
44225
+ herkomst: string | null;
44226
+ id: string;
44227
+ idempotentie_sleutel: string | null;
44228
+ is_herprint: boolean;
44229
+ kopieen: number;
44230
+ layout_id: string | null;
44231
+ lokaal_opgeslagen_op: string | null;
44232
+ lokale_pdf_fout: string | null;
44233
+ lokale_pdf_status: string | null;
44234
+ opgepakt_op: string | null;
44235
+ paginas: number;
44236
+ payload: import("../integrations/supabase/types").Json;
44237
+ pdf_base64: string | null;
44238
+ pdf_url: string | null;
44239
+ pogingen: number;
44240
+ printer_id: string | null;
44241
+ render_html: string | null;
44242
+ resultaat_pdf_base64: string | null;
44243
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44244
+ updated_at: string;
44245
+ volgende_poging: string | null;
44246
+ voltooid_op: string | null;
44247
+ }[];
44248
+ SetofOptions: {
44249
+ from: "*";
44250
+ to: "print_jobs";
44251
+ isOneToOne: false;
44252
+ isSetofReturn: true;
44253
+ };
44254
+ };
43720
44255
  claim_print_jobs: {
43721
44256
  Args: {
43722
44257
  _agent_id: string;
@@ -43741,6 +44276,9 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43741
44276
  is_herprint: boolean;
43742
44277
  kopieen: number;
43743
44278
  layout_id: string | null;
44279
+ lokaal_opgeslagen_op: string | null;
44280
+ lokale_pdf_fout: string | null;
44281
+ lokale_pdf_status: string | null;
43744
44282
  opgepakt_op: string | null;
43745
44283
  paginas: number;
43746
44284
  payload: import("../integrations/supabase/types").Json;
@@ -43749,6 +44287,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43749
44287
  pogingen: number;
43750
44288
  printer_id: string | null;
43751
44289
  render_html: string | null;
44290
+ resultaat_pdf_base64: string | null;
43752
44291
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43753
44292
  updated_at: string;
43754
44293
  volgende_poging: string | null;
@@ -43889,6 +44428,8 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
43889
44428
  order_id: string;
43890
44429
  order_source: string;
43891
44430
  pick_date: string;
44431
+ printed_at: string;
44432
+ printed_today: boolean;
43892
44433
  status: string;
43893
44434
  }[];
43894
44435
  };
@@ -44597,6 +45138,10 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44597
45138
  };
44598
45139
  Returns: number;
44599
45140
  };
45141
+ logistics_cancel_orphan_tasks: {
45142
+ Args: never;
45143
+ Returns: number;
45144
+ };
44600
45145
  logistics_capacity_day_check: {
44601
45146
  Args: {
44602
45147
  p_from?: string;
@@ -44617,6 +45162,25 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44617
45162
  };
44618
45163
  Returns: number;
44619
45164
  };
45165
+ logistics_cart_index: {
45166
+ Args: {
45167
+ p_from?: string;
45168
+ p_to?: string;
45169
+ };
45170
+ Returns: {
45171
+ cart_id: string;
45172
+ cart_index: number;
45173
+ cart_label: string;
45174
+ is_shared: boolean;
45175
+ order_number: string;
45176
+ order_source: string;
45177
+ order_uuid: string;
45178
+ pick_date: string;
45179
+ printed_at: string;
45180
+ shifted: boolean;
45181
+ task_status: string;
45182
+ }[];
45183
+ };
44620
45184
  logistics_check_order_allowed: {
44621
45185
  Args: {
44622
45186
  p_lines: import("../integrations/supabase/types").Json;
@@ -44765,6 +45329,17 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44765
45329
  isSetofReturn: false;
44766
45330
  };
44767
45331
  };
45332
+ logistics_consistency_check: {
45333
+ Args: never;
45334
+ Returns: {
45335
+ agenda_carts: number;
45336
+ control_carts: number;
45337
+ ok: boolean;
45338
+ orphan_tasks: number;
45339
+ pick_date: string;
45340
+ raw_carts: number;
45341
+ }[];
45342
+ };
44768
45343
  logistics_delay_customer_email: {
44769
45344
  Args: {
44770
45345
  p_customer: string;
@@ -44854,6 +45429,16 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44854
45429
  isSetofReturn: false;
44855
45430
  };
44856
45431
  };
45432
+ logistics_floriday_cart_plan: {
45433
+ Args: {
45434
+ p_order_id: string;
45435
+ };
45436
+ Returns: {
45437
+ carrier_type: string;
45438
+ idx: number;
45439
+ packages: number;
45440
+ }[];
45441
+ };
44857
45442
  logistics_floriday_claim_pushes: {
44858
45443
  Args: {
44859
45444
  _lease_seconds?: number;
@@ -44958,6 +45543,25 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44958
45543
  };
44959
45544
  Returns: number;
44960
45545
  };
45546
+ logistics_order_overview: {
45547
+ Args: {
45548
+ p_from?: string;
45549
+ p_to?: string;
45550
+ };
45551
+ Returns: {
45552
+ cart_count: number;
45553
+ customer_name: string;
45554
+ delivery_date: string;
45555
+ order_number: string;
45556
+ order_source: string;
45557
+ order_uuid: string;
45558
+ pick_date: string;
45559
+ plant_count: number;
45560
+ printed_at: string;
45561
+ shifted: boolean;
45562
+ status: string;
45563
+ }[];
45564
+ };
44961
45565
  logistics_order_pick_day: {
44962
45566
  Args: {
44963
45567
  p_order_ref: string;
@@ -44970,6 +45574,22 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
44970
45574
  };
44971
45575
  Returns: string;
44972
45576
  };
45577
+ logistics_pick_agenda: {
45578
+ Args: {
45579
+ p_from?: string;
45580
+ p_to?: string;
45581
+ };
45582
+ Returns: {
45583
+ cart_count: number;
45584
+ in_preparation: number;
45585
+ order_count: number;
45586
+ orders: import("../integrations/supabase/types").Json;
45587
+ pick_date: string;
45588
+ plant_count: number;
45589
+ ready: number;
45590
+ shifted_count: number;
45591
+ }[];
45592
+ };
44973
45593
  logistics_pick_email_purpose: {
44974
45594
  Args: never;
44975
45595
  Returns: string;
@@ -45024,6 +45644,13 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
45024
45644
  };
45025
45645
  Returns: undefined;
45026
45646
  };
45647
+ logistics_plan_floriday_order: {
45648
+ Args: {
45649
+ p_buffer_id?: string;
45650
+ p_order_id: string;
45651
+ };
45652
+ Returns: number;
45653
+ };
45027
45654
  logistics_plan_impact_orders: {
45028
45655
  Args: {
45029
45656
  p_order_id: string;
@@ -45129,6 +45756,15 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
45129
45756
  };
45130
45757
  Returns: import("../integrations/supabase/types").Json;
45131
45758
  };
45759
+ logistics_resolve_pick_document: {
45760
+ Args: {
45761
+ _is_herprint: boolean;
45762
+ _queue_item_id: string;
45763
+ _session_id: string;
45764
+ _voorbeeld: boolean;
45765
+ };
45766
+ Returns: import("../integrations/supabase/types").Json;
45767
+ };
45132
45768
  logistics_resolve_settings: {
45133
45769
  Args: {
45134
45770
  p_config_id: string;
@@ -45569,6 +46205,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
45569
46205
  };
45570
46206
  pick_enqueue_print_job: {
45571
46207
  Args: {
46208
+ _is_herprint?: boolean;
45572
46209
  _printer_id?: string;
45573
46210
  _queue_item_id: string;
45574
46211
  _session_id?: string;
@@ -45582,6 +46219,13 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
45582
46219
  };
45583
46220
  Returns: import("../integrations/supabase/types").Json;
45584
46221
  };
46222
+ pick_preview_job: {
46223
+ Args: {
46224
+ _queue_item_id: string;
46225
+ _station_slug: string;
46226
+ };
46227
+ Returns: import("../integrations/supabase/types").Json;
46228
+ };
45585
46229
  pick_print_job_status: {
45586
46230
  Args: {
45587
46231
  _job_id: string;
@@ -45759,6 +46403,24 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
45759
46403
  };
45760
46404
  Returns: undefined;
45761
46405
  };
46406
+ print_preview_toestaan: {
46407
+ Args: {
46408
+ _max?: number;
46409
+ _queue_item_id: string;
46410
+ _station_slug: string;
46411
+ _venster_sec?: number;
46412
+ };
46413
+ Returns: import("../integrations/supabase/types").Json;
46414
+ };
46415
+ print_preview_weiger: {
46416
+ Args: {
46417
+ _code: string;
46418
+ _queue_item_id: string;
46419
+ _reden: string;
46420
+ _station_slug: string;
46421
+ };
46422
+ Returns: undefined;
46423
+ };
45762
46424
  process_logistics_event: {
45763
46425
  Args: {
45764
46426
  p_event_id: string;
@@ -45913,6 +46575,12 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
45913
46575
  };
45914
46576
  Returns: string;
45915
46577
  };
46578
+ resolve_print_job_printer_id: {
46579
+ Args: {
46580
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46581
+ };
46582
+ Returns: string;
46583
+ };
45916
46584
  resolve_product_id_for_item: {
45917
46585
  Args: {
45918
46586
  p_product_name: string;
@@ -46504,7 +47172,7 @@ export declare const getAutoFulfillmentStatus: import("@tanstack/start-client-co
46504
47172
  };
46505
47173
  CompositeTypes: { [_ in never]: never; };
46506
47174
  }, {
46507
- PostgrestVersion: "14.17";
47175
+ PostgrestVersion: "14.5";
46508
47176
  }>;
46509
47177
  userId: string;
46510
47178
  claims: import("@supabase/auth-js").User;
@@ -49374,6 +50042,84 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
49374
50042
  };
49375
50043
  Relationships: [];
49376
50044
  };
50045
+ delivery_notes: {
50046
+ Row: {
50047
+ byte_size: number | null;
50048
+ connection_id: string | null;
50049
+ content_type: string;
50050
+ created_at: string;
50051
+ error_message: string | null;
50052
+ fetched_at: string | null;
50053
+ fulfillment_order_id: string | null;
50054
+ http_status: number | null;
50055
+ id: string;
50056
+ label_code: string | null;
50057
+ letter: string | null;
50058
+ load_carrier_index: number | null;
50059
+ load_carrier_type: string | null;
50060
+ order_id: string | null;
50061
+ order_number: string | null;
50062
+ packages: number | null;
50063
+ source: string;
50064
+ status: string;
50065
+ storage_bucket: string;
50066
+ storage_path: string | null;
50067
+ updated_at: string;
50068
+ };
50069
+ Insert: {
50070
+ byte_size?: number | null;
50071
+ connection_id?: string | null;
50072
+ content_type?: string;
50073
+ created_at?: string;
50074
+ error_message?: string | null;
50075
+ fetched_at?: string | null;
50076
+ fulfillment_order_id?: string | null;
50077
+ http_status?: number | null;
50078
+ id?: string;
50079
+ label_code?: string | null;
50080
+ letter?: string | null;
50081
+ load_carrier_index?: number | null;
50082
+ load_carrier_type?: string | null;
50083
+ order_id?: string | null;
50084
+ order_number?: string | null;
50085
+ packages?: number | null;
50086
+ source?: string;
50087
+ status?: string;
50088
+ storage_bucket?: string;
50089
+ storage_path?: string | null;
50090
+ updated_at?: string;
50091
+ };
50092
+ Update: {
50093
+ byte_size?: number | null;
50094
+ connection_id?: string | null;
50095
+ content_type?: string;
50096
+ created_at?: string;
50097
+ error_message?: string | null;
50098
+ fetched_at?: string | null;
50099
+ fulfillment_order_id?: string | null;
50100
+ http_status?: number | null;
50101
+ id?: string;
50102
+ label_code?: string | null;
50103
+ letter?: string | null;
50104
+ load_carrier_index?: number | null;
50105
+ load_carrier_type?: string | null;
50106
+ order_id?: string | null;
50107
+ order_number?: string | null;
50108
+ packages?: number | null;
50109
+ source?: string;
50110
+ status?: string;
50111
+ storage_bucket?: string;
50112
+ storage_path?: string | null;
50113
+ updated_at?: string;
50114
+ };
50115
+ Relationships: [{
50116
+ foreignKeyName: "delivery_notes_order_id_fkey";
50117
+ columns: ["order_id"];
50118
+ isOneToOne: false;
50119
+ referencedRelation: "orders";
50120
+ referencedColumns: ["id"];
50121
+ }];
50122
+ };
49377
50123
  document_bronregels: {
49378
50124
  Row: {
49379
50125
  bron: string;
@@ -52427,10 +53173,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
52427
53173
  };
52428
53174
  floriday_connections: {
52429
53175
  Row: {
52430
- access_token: string | null;
52431
53176
  api_key: string;
52432
- client_id: string;
52433
- client_secret: string;
52434
53177
  created_at: string;
52435
53178
  customers_endpoint: string | null;
52436
53179
  environment: string;
@@ -52445,10 +53188,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
52445
53188
  updated_at: string;
52446
53189
  };
52447
53190
  Insert: {
52448
- access_token?: string | null;
52449
53191
  api_key: string;
52450
- client_id: string;
52451
- client_secret: string;
52452
53192
  created_at?: string;
52453
53193
  customers_endpoint?: string | null;
52454
53194
  environment: string;
@@ -52463,10 +53203,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
52463
53203
  updated_at?: string;
52464
53204
  };
52465
53205
  Update: {
52466
- access_token?: string | null;
52467
53206
  api_key?: string;
52468
- client_id?: string;
52469
- client_secret?: string;
52470
53207
  created_at?: string;
52471
53208
  customers_endpoint?: string | null;
52472
53209
  environment?: string;
@@ -60099,6 +60836,39 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60099
60836
  };
60100
60837
  Relationships: [];
60101
60838
  };
60839
+ print_dedupe_events: {
60840
+ Row: {
60841
+ bestaande_job_id: string | null;
60842
+ created_at: string;
60843
+ detail: string | null;
60844
+ documentnaam: string | null;
60845
+ documenttype: string | null;
60846
+ id: string;
60847
+ idempotentie_sleutel: string;
60848
+ reden: string;
60849
+ };
60850
+ Insert: {
60851
+ bestaande_job_id?: string | null;
60852
+ created_at?: string;
60853
+ detail?: string | null;
60854
+ documentnaam?: string | null;
60855
+ documenttype?: string | null;
60856
+ id?: string;
60857
+ idempotentie_sleutel: string;
60858
+ reden: string;
60859
+ };
60860
+ Update: {
60861
+ bestaande_job_id?: string | null;
60862
+ created_at?: string;
60863
+ detail?: string | null;
60864
+ documentnaam?: string | null;
60865
+ documenttype?: string | null;
60866
+ id?: string;
60867
+ idempotentie_sleutel?: string;
60868
+ reden?: string;
60869
+ };
60870
+ Relationships: [];
60871
+ };
60102
60872
  print_job_logs: {
60103
60873
  Row: {
60104
60874
  created_at: string;
@@ -60149,6 +60919,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60149
60919
  is_herprint: boolean;
60150
60920
  kopieen: number;
60151
60921
  layout_id: string | null;
60922
+ lokaal_opgeslagen_op: string | null;
60923
+ lokale_pdf_fout: string | null;
60924
+ lokale_pdf_status: string | null;
60152
60925
  opgepakt_op: string | null;
60153
60926
  paginas: number;
60154
60927
  payload: import("../integrations/supabase/types").Json;
@@ -60157,6 +60930,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60157
60930
  pogingen: number;
60158
60931
  printer_id: string | null;
60159
60932
  render_html: string | null;
60933
+ resultaat_pdf_base64: string | null;
60160
60934
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60161
60935
  updated_at: string;
60162
60936
  volgende_poging: string | null;
@@ -60181,6 +60955,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60181
60955
  is_herprint?: boolean;
60182
60956
  kopieen?: number;
60183
60957
  layout_id?: string | null;
60958
+ lokaal_opgeslagen_op?: string | null;
60959
+ lokale_pdf_fout?: string | null;
60960
+ lokale_pdf_status?: string | null;
60184
60961
  opgepakt_op?: string | null;
60185
60962
  paginas?: number;
60186
60963
  payload?: import("../integrations/supabase/types").Json;
@@ -60189,6 +60966,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60189
60966
  pogingen?: number;
60190
60967
  printer_id?: string | null;
60191
60968
  render_html?: string | null;
60969
+ resultaat_pdf_base64?: string | null;
60192
60970
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60193
60971
  updated_at?: string;
60194
60972
  volgende_poging?: string | null;
@@ -60213,6 +60991,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60213
60991
  is_herprint?: boolean;
60214
60992
  kopieen?: number;
60215
60993
  layout_id?: string | null;
60994
+ lokaal_opgeslagen_op?: string | null;
60995
+ lokale_pdf_fout?: string | null;
60996
+ lokale_pdf_status?: string | null;
60216
60997
  opgepakt_op?: string | null;
60217
60998
  paginas?: number;
60218
60999
  payload?: import("../integrations/supabase/types").Json;
@@ -60221,6 +61002,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60221
61002
  pogingen?: number;
60222
61003
  printer_id?: string | null;
60223
61004
  render_html?: string | null;
61005
+ resultaat_pdf_base64?: string | null;
60224
61006
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60225
61007
  updated_at?: string;
60226
61008
  volgende_poging?: string | null;
@@ -60339,6 +61121,39 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60339
61121
  };
60340
61122
  Relationships: [];
60341
61123
  };
61124
+ print_preview_events: {
61125
+ Row: {
61126
+ code: string | null;
61127
+ created_at: string;
61128
+ detail: import("../integrations/supabase/types").Json;
61129
+ id: string;
61130
+ queue_item_id: string | null;
61131
+ reden: string | null;
61132
+ station_slug: string | null;
61133
+ uitkomst: string;
61134
+ };
61135
+ Insert: {
61136
+ code?: string | null;
61137
+ created_at?: string;
61138
+ detail?: import("../integrations/supabase/types").Json;
61139
+ id?: string;
61140
+ queue_item_id?: string | null;
61141
+ reden?: string | null;
61142
+ station_slug?: string | null;
61143
+ uitkomst?: string;
61144
+ };
61145
+ Update: {
61146
+ code?: string | null;
61147
+ created_at?: string;
61148
+ detail?: import("../integrations/supabase/types").Json;
61149
+ id?: string;
61150
+ queue_item_id?: string | null;
61151
+ reden?: string | null;
61152
+ station_slug?: string | null;
61153
+ uitkomst?: string;
61154
+ };
61155
+ Relationships: [];
61156
+ };
60342
61157
  print_queue_runners: {
60343
61158
  Row: {
60344
61159
  actief: boolean;
@@ -60578,6 +61393,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60578
61393
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
60579
61394
  online: boolean;
60580
61395
  papierformaat: string;
61396
+ pdf_map: string | null;
60581
61397
  poort: number | null;
60582
61398
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60583
61399
  systeemnaam: string;
@@ -60603,6 +61419,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60603
61419
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60604
61420
  online?: boolean;
60605
61421
  papierformaat?: string;
61422
+ pdf_map?: string | null;
60606
61423
  poort?: number | null;
60607
61424
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60608
61425
  systeemnaam?: string;
@@ -60628,6 +61445,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
60628
61445
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60629
61446
  online?: boolean;
60630
61447
  papierformaat?: string;
61448
+ pdf_map?: string | null;
60631
61449
  poort?: number | null;
60632
61450
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60633
61451
  systeemnaam?: string;
@@ -66884,6 +67702,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
66884
67702
  is_herprint: boolean;
66885
67703
  kopieen: number;
66886
67704
  layout_id: string | null;
67705
+ lokaal_opgeslagen_op: string | null;
67706
+ lokale_pdf_fout: string | null;
67707
+ lokale_pdf_status: string | null;
66887
67708
  opgepakt_op: string | null;
66888
67709
  paginas: number;
66889
67710
  payload: import("../integrations/supabase/types").Json;
@@ -66892,6 +67713,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
66892
67713
  pogingen: number;
66893
67714
  printer_id: string | null;
66894
67715
  render_html: string | null;
67716
+ resultaat_pdf_base64: string | null;
66895
67717
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
66896
67718
  updated_at: string;
66897
67719
  volgende_poging: string | null;
@@ -66983,6 +67805,53 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
66983
67805
  isSetofReturn: true;
66984
67806
  };
66985
67807
  };
67808
+ claim_pdf_print_jobs: {
67809
+ Args: {
67810
+ _max?: number;
67811
+ };
67812
+ Returns: {
67813
+ agent_id: string | null;
67814
+ bron_job_id: string | null;
67815
+ created_at: string;
67816
+ documentnaam: string;
67817
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
67818
+ extern_job_id: string | null;
67819
+ foutmelding: string | null;
67820
+ gebruiker_id: string | null;
67821
+ gebruiker_naam: string;
67822
+ gebruikte_bron: string | null;
67823
+ gebruikte_layout_id: string | null;
67824
+ gestart_op: string | null;
67825
+ herkomst: string | null;
67826
+ id: string;
67827
+ idempotentie_sleutel: string | null;
67828
+ is_herprint: boolean;
67829
+ kopieen: number;
67830
+ layout_id: string | null;
67831
+ lokaal_opgeslagen_op: string | null;
67832
+ lokale_pdf_fout: string | null;
67833
+ lokale_pdf_status: string | null;
67834
+ opgepakt_op: string | null;
67835
+ paginas: number;
67836
+ payload: import("../integrations/supabase/types").Json;
67837
+ pdf_base64: string | null;
67838
+ pdf_url: string | null;
67839
+ pogingen: number;
67840
+ printer_id: string | null;
67841
+ render_html: string | null;
67842
+ resultaat_pdf_base64: string | null;
67843
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67844
+ updated_at: string;
67845
+ volgende_poging: string | null;
67846
+ voltooid_op: string | null;
67847
+ }[];
67848
+ SetofOptions: {
67849
+ from: "*";
67850
+ to: "print_jobs";
67851
+ isOneToOne: false;
67852
+ isSetofReturn: true;
67853
+ };
67854
+ };
66986
67855
  claim_print_jobs: {
66987
67856
  Args: {
66988
67857
  _agent_id: string;
@@ -67007,6 +67876,9 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
67007
67876
  is_herprint: boolean;
67008
67877
  kopieen: number;
67009
67878
  layout_id: string | null;
67879
+ lokaal_opgeslagen_op: string | null;
67880
+ lokale_pdf_fout: string | null;
67881
+ lokale_pdf_status: string | null;
67010
67882
  opgepakt_op: string | null;
67011
67883
  paginas: number;
67012
67884
  payload: import("../integrations/supabase/types").Json;
@@ -67015,6 +67887,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
67015
67887
  pogingen: number;
67016
67888
  printer_id: string | null;
67017
67889
  render_html: string | null;
67890
+ resultaat_pdf_base64: string | null;
67018
67891
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67019
67892
  updated_at: string;
67020
67893
  volgende_poging: string | null;
@@ -67155,6 +68028,8 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
67155
68028
  order_id: string;
67156
68029
  order_source: string;
67157
68030
  pick_date: string;
68031
+ printed_at: string;
68032
+ printed_today: boolean;
67158
68033
  status: string;
67159
68034
  }[];
67160
68035
  };
@@ -67863,6 +68738,10 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
67863
68738
  };
67864
68739
  Returns: number;
67865
68740
  };
68741
+ logistics_cancel_orphan_tasks: {
68742
+ Args: never;
68743
+ Returns: number;
68744
+ };
67866
68745
  logistics_capacity_day_check: {
67867
68746
  Args: {
67868
68747
  p_from?: string;
@@ -67883,6 +68762,25 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
67883
68762
  };
67884
68763
  Returns: number;
67885
68764
  };
68765
+ logistics_cart_index: {
68766
+ Args: {
68767
+ p_from?: string;
68768
+ p_to?: string;
68769
+ };
68770
+ Returns: {
68771
+ cart_id: string;
68772
+ cart_index: number;
68773
+ cart_label: string;
68774
+ is_shared: boolean;
68775
+ order_number: string;
68776
+ order_source: string;
68777
+ order_uuid: string;
68778
+ pick_date: string;
68779
+ printed_at: string;
68780
+ shifted: boolean;
68781
+ task_status: string;
68782
+ }[];
68783
+ };
67886
68784
  logistics_check_order_allowed: {
67887
68785
  Args: {
67888
68786
  p_lines: import("../integrations/supabase/types").Json;
@@ -68031,6 +68929,17 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68031
68929
  isSetofReturn: false;
68032
68930
  };
68033
68931
  };
68932
+ logistics_consistency_check: {
68933
+ Args: never;
68934
+ Returns: {
68935
+ agenda_carts: number;
68936
+ control_carts: number;
68937
+ ok: boolean;
68938
+ orphan_tasks: number;
68939
+ pick_date: string;
68940
+ raw_carts: number;
68941
+ }[];
68942
+ };
68034
68943
  logistics_delay_customer_email: {
68035
68944
  Args: {
68036
68945
  p_customer: string;
@@ -68120,6 +69029,16 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68120
69029
  isSetofReturn: false;
68121
69030
  };
68122
69031
  };
69032
+ logistics_floriday_cart_plan: {
69033
+ Args: {
69034
+ p_order_id: string;
69035
+ };
69036
+ Returns: {
69037
+ carrier_type: string;
69038
+ idx: number;
69039
+ packages: number;
69040
+ }[];
69041
+ };
68123
69042
  logistics_floriday_claim_pushes: {
68124
69043
  Args: {
68125
69044
  _lease_seconds?: number;
@@ -68224,6 +69143,25 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68224
69143
  };
68225
69144
  Returns: number;
68226
69145
  };
69146
+ logistics_order_overview: {
69147
+ Args: {
69148
+ p_from?: string;
69149
+ p_to?: string;
69150
+ };
69151
+ Returns: {
69152
+ cart_count: number;
69153
+ customer_name: string;
69154
+ delivery_date: string;
69155
+ order_number: string;
69156
+ order_source: string;
69157
+ order_uuid: string;
69158
+ pick_date: string;
69159
+ plant_count: number;
69160
+ printed_at: string;
69161
+ shifted: boolean;
69162
+ status: string;
69163
+ }[];
69164
+ };
68227
69165
  logistics_order_pick_day: {
68228
69166
  Args: {
68229
69167
  p_order_ref: string;
@@ -68236,6 +69174,22 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68236
69174
  };
68237
69175
  Returns: string;
68238
69176
  };
69177
+ logistics_pick_agenda: {
69178
+ Args: {
69179
+ p_from?: string;
69180
+ p_to?: string;
69181
+ };
69182
+ Returns: {
69183
+ cart_count: number;
69184
+ in_preparation: number;
69185
+ order_count: number;
69186
+ orders: import("../integrations/supabase/types").Json;
69187
+ pick_date: string;
69188
+ plant_count: number;
69189
+ ready: number;
69190
+ shifted_count: number;
69191
+ }[];
69192
+ };
68239
69193
  logistics_pick_email_purpose: {
68240
69194
  Args: never;
68241
69195
  Returns: string;
@@ -68290,6 +69244,13 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68290
69244
  };
68291
69245
  Returns: undefined;
68292
69246
  };
69247
+ logistics_plan_floriday_order: {
69248
+ Args: {
69249
+ p_buffer_id?: string;
69250
+ p_order_id: string;
69251
+ };
69252
+ Returns: number;
69253
+ };
68293
69254
  logistics_plan_impact_orders: {
68294
69255
  Args: {
68295
69256
  p_order_id: string;
@@ -68395,6 +69356,15 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68395
69356
  };
68396
69357
  Returns: import("../integrations/supabase/types").Json;
68397
69358
  };
69359
+ logistics_resolve_pick_document: {
69360
+ Args: {
69361
+ _is_herprint: boolean;
69362
+ _queue_item_id: string;
69363
+ _session_id: string;
69364
+ _voorbeeld: boolean;
69365
+ };
69366
+ Returns: import("../integrations/supabase/types").Json;
69367
+ };
68398
69368
  logistics_resolve_settings: {
68399
69369
  Args: {
68400
69370
  p_config_id: string;
@@ -68835,6 +69805,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68835
69805
  };
68836
69806
  pick_enqueue_print_job: {
68837
69807
  Args: {
69808
+ _is_herprint?: boolean;
68838
69809
  _printer_id?: string;
68839
69810
  _queue_item_id: string;
68840
69811
  _session_id?: string;
@@ -68848,6 +69819,13 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
68848
69819
  };
68849
69820
  Returns: import("../integrations/supabase/types").Json;
68850
69821
  };
69822
+ pick_preview_job: {
69823
+ Args: {
69824
+ _queue_item_id: string;
69825
+ _station_slug: string;
69826
+ };
69827
+ Returns: import("../integrations/supabase/types").Json;
69828
+ };
68851
69829
  pick_print_job_status: {
68852
69830
  Args: {
68853
69831
  _job_id: string;
@@ -69025,6 +70003,24 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
69025
70003
  };
69026
70004
  Returns: undefined;
69027
70005
  };
70006
+ print_preview_toestaan: {
70007
+ Args: {
70008
+ _max?: number;
70009
+ _queue_item_id: string;
70010
+ _station_slug: string;
70011
+ _venster_sec?: number;
70012
+ };
70013
+ Returns: import("../integrations/supabase/types").Json;
70014
+ };
70015
+ print_preview_weiger: {
70016
+ Args: {
70017
+ _code: string;
70018
+ _queue_item_id: string;
70019
+ _reden: string;
70020
+ _station_slug: string;
70021
+ };
70022
+ Returns: undefined;
70023
+ };
69028
70024
  process_logistics_event: {
69029
70025
  Args: {
69030
70026
  p_event_id: string;
@@ -69179,6 +70175,12 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
69179
70175
  };
69180
70176
  Returns: string;
69181
70177
  };
70178
+ resolve_print_job_printer_id: {
70179
+ Args: {
70180
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
70181
+ };
70182
+ Returns: string;
70183
+ };
69182
70184
  resolve_product_id_for_item: {
69183
70185
  Args: {
69184
70186
  p_product_name: string;
@@ -69770,7 +70772,7 @@ export declare const retryAutoFulfillment: import("@tanstack/start-client-core")
69770
70772
  };
69771
70773
  CompositeTypes: { [_ in never]: never; };
69772
70774
  }, {
69773
- PostgrestVersion: "14.17";
70775
+ PostgrestVersion: "14.5";
69774
70776
  }>;
69775
70777
  userId: string;
69776
70778
  claims: import("@supabase/auth-js").User;