@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
@@ -2866,6 +2866,84 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
2866
2866
  };
2867
2867
  Relationships: [];
2868
2868
  };
2869
+ delivery_notes: {
2870
+ Row: {
2871
+ byte_size: number | null;
2872
+ connection_id: string | null;
2873
+ content_type: string;
2874
+ created_at: string;
2875
+ error_message: string | null;
2876
+ fetched_at: string | null;
2877
+ fulfillment_order_id: string | null;
2878
+ http_status: number | null;
2879
+ id: string;
2880
+ label_code: string | null;
2881
+ letter: string | null;
2882
+ load_carrier_index: number | null;
2883
+ load_carrier_type: string | null;
2884
+ order_id: string | null;
2885
+ order_number: string | null;
2886
+ packages: number | null;
2887
+ source: string;
2888
+ status: string;
2889
+ storage_bucket: string;
2890
+ storage_path: string | null;
2891
+ updated_at: string;
2892
+ };
2893
+ Insert: {
2894
+ byte_size?: number | null;
2895
+ connection_id?: string | null;
2896
+ content_type?: string;
2897
+ created_at?: string;
2898
+ error_message?: string | null;
2899
+ fetched_at?: string | null;
2900
+ fulfillment_order_id?: string | null;
2901
+ http_status?: number | null;
2902
+ id?: string;
2903
+ label_code?: string | null;
2904
+ letter?: string | null;
2905
+ load_carrier_index?: number | null;
2906
+ load_carrier_type?: string | null;
2907
+ order_id?: string | null;
2908
+ order_number?: string | null;
2909
+ packages?: number | null;
2910
+ source?: string;
2911
+ status?: string;
2912
+ storage_bucket?: string;
2913
+ storage_path?: string | null;
2914
+ updated_at?: string;
2915
+ };
2916
+ Update: {
2917
+ byte_size?: number | null;
2918
+ connection_id?: string | null;
2919
+ content_type?: string;
2920
+ created_at?: string;
2921
+ error_message?: string | null;
2922
+ fetched_at?: string | null;
2923
+ fulfillment_order_id?: string | null;
2924
+ http_status?: number | null;
2925
+ id?: string;
2926
+ label_code?: string | null;
2927
+ letter?: string | null;
2928
+ load_carrier_index?: number | null;
2929
+ load_carrier_type?: string | null;
2930
+ order_id?: string | null;
2931
+ order_number?: string | null;
2932
+ packages?: number | null;
2933
+ source?: string;
2934
+ status?: string;
2935
+ storage_bucket?: string;
2936
+ storage_path?: string | null;
2937
+ updated_at?: string;
2938
+ };
2939
+ Relationships: [{
2940
+ foreignKeyName: "delivery_notes_order_id_fkey";
2941
+ columns: ["order_id"];
2942
+ isOneToOne: false;
2943
+ referencedRelation: "orders";
2944
+ referencedColumns: ["id"];
2945
+ }];
2946
+ };
2869
2947
  document_bronregels: {
2870
2948
  Row: {
2871
2949
  bron: string;
@@ -5919,10 +5997,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
5919
5997
  };
5920
5998
  floriday_connections: {
5921
5999
  Row: {
5922
- access_token: string | null;
5923
6000
  api_key: string;
5924
- client_id: string;
5925
- client_secret: string;
5926
6001
  created_at: string;
5927
6002
  customers_endpoint: string | null;
5928
6003
  environment: string;
@@ -5937,10 +6012,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
5937
6012
  updated_at: string;
5938
6013
  };
5939
6014
  Insert: {
5940
- access_token?: string | null;
5941
6015
  api_key: string;
5942
- client_id: string;
5943
- client_secret: string;
5944
6016
  created_at?: string;
5945
6017
  customers_endpoint?: string | null;
5946
6018
  environment: string;
@@ -5955,10 +6027,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
5955
6027
  updated_at?: string;
5956
6028
  };
5957
6029
  Update: {
5958
- access_token?: string | null;
5959
6030
  api_key?: string;
5960
- client_id?: string;
5961
- client_secret?: string;
5962
6031
  created_at?: string;
5963
6032
  customers_endpoint?: string | null;
5964
6033
  environment?: string;
@@ -13591,6 +13660,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13591
13660
  };
13592
13661
  Relationships: [];
13593
13662
  };
13663
+ print_dedupe_events: {
13664
+ Row: {
13665
+ bestaande_job_id: string | null;
13666
+ created_at: string;
13667
+ detail: string | null;
13668
+ documentnaam: string | null;
13669
+ documenttype: string | null;
13670
+ id: string;
13671
+ idempotentie_sleutel: string;
13672
+ reden: string;
13673
+ };
13674
+ Insert: {
13675
+ bestaande_job_id?: string | null;
13676
+ created_at?: string;
13677
+ detail?: string | null;
13678
+ documentnaam?: string | null;
13679
+ documenttype?: string | null;
13680
+ id?: string;
13681
+ idempotentie_sleutel: string;
13682
+ reden: string;
13683
+ };
13684
+ Update: {
13685
+ bestaande_job_id?: string | null;
13686
+ created_at?: string;
13687
+ detail?: string | null;
13688
+ documentnaam?: string | null;
13689
+ documenttype?: string | null;
13690
+ id?: string;
13691
+ idempotentie_sleutel?: string;
13692
+ reden?: string;
13693
+ };
13694
+ Relationships: [];
13695
+ };
13594
13696
  print_job_logs: {
13595
13697
  Row: {
13596
13698
  created_at: string;
@@ -13641,6 +13743,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13641
13743
  is_herprint: boolean;
13642
13744
  kopieen: number;
13643
13745
  layout_id: string | null;
13746
+ lokaal_opgeslagen_op: string | null;
13747
+ lokale_pdf_fout: string | null;
13748
+ lokale_pdf_status: string | null;
13644
13749
  opgepakt_op: string | null;
13645
13750
  paginas: number;
13646
13751
  payload: import("../integrations/supabase/types").Json;
@@ -13649,6 +13754,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13649
13754
  pogingen: number;
13650
13755
  printer_id: string | null;
13651
13756
  render_html: string | null;
13757
+ resultaat_pdf_base64: string | null;
13652
13758
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13653
13759
  updated_at: string;
13654
13760
  volgende_poging: string | null;
@@ -13673,6 +13779,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13673
13779
  is_herprint?: boolean;
13674
13780
  kopieen?: number;
13675
13781
  layout_id?: string | null;
13782
+ lokaal_opgeslagen_op?: string | null;
13783
+ lokale_pdf_fout?: string | null;
13784
+ lokale_pdf_status?: string | null;
13676
13785
  opgepakt_op?: string | null;
13677
13786
  paginas?: number;
13678
13787
  payload?: import("../integrations/supabase/types").Json;
@@ -13681,6 +13790,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13681
13790
  pogingen?: number;
13682
13791
  printer_id?: string | null;
13683
13792
  render_html?: string | null;
13793
+ resultaat_pdf_base64?: string | null;
13684
13794
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13685
13795
  updated_at?: string;
13686
13796
  volgende_poging?: string | null;
@@ -13705,6 +13815,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13705
13815
  is_herprint?: boolean;
13706
13816
  kopieen?: number;
13707
13817
  layout_id?: string | null;
13818
+ lokaal_opgeslagen_op?: string | null;
13819
+ lokale_pdf_fout?: string | null;
13820
+ lokale_pdf_status?: string | null;
13708
13821
  opgepakt_op?: string | null;
13709
13822
  paginas?: number;
13710
13823
  payload?: import("../integrations/supabase/types").Json;
@@ -13713,6 +13826,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13713
13826
  pogingen?: number;
13714
13827
  printer_id?: string | null;
13715
13828
  render_html?: string | null;
13829
+ resultaat_pdf_base64?: string | null;
13716
13830
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13717
13831
  updated_at?: string;
13718
13832
  volgende_poging?: string | null;
@@ -13831,6 +13945,39 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
13831
13945
  };
13832
13946
  Relationships: [];
13833
13947
  };
13948
+ print_preview_events: {
13949
+ Row: {
13950
+ code: string | null;
13951
+ created_at: string;
13952
+ detail: import("../integrations/supabase/types").Json;
13953
+ id: string;
13954
+ queue_item_id: string | null;
13955
+ reden: string | null;
13956
+ station_slug: string | null;
13957
+ uitkomst: string;
13958
+ };
13959
+ Insert: {
13960
+ code?: string | null;
13961
+ created_at?: string;
13962
+ detail?: import("../integrations/supabase/types").Json;
13963
+ id?: string;
13964
+ queue_item_id?: string | null;
13965
+ reden?: string | null;
13966
+ station_slug?: string | null;
13967
+ uitkomst?: string;
13968
+ };
13969
+ Update: {
13970
+ code?: string | null;
13971
+ created_at?: string;
13972
+ detail?: import("../integrations/supabase/types").Json;
13973
+ id?: string;
13974
+ queue_item_id?: string | null;
13975
+ reden?: string | null;
13976
+ station_slug?: string | null;
13977
+ uitkomst?: string;
13978
+ };
13979
+ Relationships: [];
13980
+ };
13834
13981
  print_queue_runners: {
13835
13982
  Row: {
13836
13983
  actief: boolean;
@@ -14070,6 +14217,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
14070
14217
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14071
14218
  online: boolean;
14072
14219
  papierformaat: string;
14220
+ pdf_map: string | null;
14073
14221
  poort: number | null;
14074
14222
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14075
14223
  systeemnaam: string;
@@ -14095,6 +14243,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
14095
14243
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14096
14244
  online?: boolean;
14097
14245
  papierformaat?: string;
14246
+ pdf_map?: string | null;
14098
14247
  poort?: number | null;
14099
14248
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14100
14249
  systeemnaam?: string;
@@ -14120,6 +14269,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
14120
14269
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14121
14270
  online?: boolean;
14122
14271
  papierformaat?: string;
14272
+ pdf_map?: string | null;
14123
14273
  poort?: number | null;
14124
14274
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14125
14275
  systeemnaam?: string;
@@ -20376,6 +20526,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
20376
20526
  is_herprint: boolean;
20377
20527
  kopieen: number;
20378
20528
  layout_id: string | null;
20529
+ lokaal_opgeslagen_op: string | null;
20530
+ lokale_pdf_fout: string | null;
20531
+ lokale_pdf_status: string | null;
20379
20532
  opgepakt_op: string | null;
20380
20533
  paginas: number;
20381
20534
  payload: import("../integrations/supabase/types").Json;
@@ -20384,6 +20537,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
20384
20537
  pogingen: number;
20385
20538
  printer_id: string | null;
20386
20539
  render_html: string | null;
20540
+ resultaat_pdf_base64: string | null;
20387
20541
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20388
20542
  updated_at: string;
20389
20543
  volgende_poging: string | null;
@@ -20475,6 +20629,53 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
20475
20629
  isSetofReturn: true;
20476
20630
  };
20477
20631
  };
20632
+ claim_pdf_print_jobs: {
20633
+ Args: {
20634
+ _max?: number;
20635
+ };
20636
+ Returns: {
20637
+ agent_id: string | null;
20638
+ bron_job_id: string | null;
20639
+ created_at: string;
20640
+ documentnaam: string;
20641
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20642
+ extern_job_id: string | null;
20643
+ foutmelding: string | null;
20644
+ gebruiker_id: string | null;
20645
+ gebruiker_naam: string;
20646
+ gebruikte_bron: string | null;
20647
+ gebruikte_layout_id: string | null;
20648
+ gestart_op: string | null;
20649
+ herkomst: string | null;
20650
+ id: string;
20651
+ idempotentie_sleutel: string | null;
20652
+ is_herprint: boolean;
20653
+ kopieen: number;
20654
+ layout_id: string | null;
20655
+ lokaal_opgeslagen_op: string | null;
20656
+ lokale_pdf_fout: string | null;
20657
+ lokale_pdf_status: string | null;
20658
+ opgepakt_op: string | null;
20659
+ paginas: number;
20660
+ payload: import("../integrations/supabase/types").Json;
20661
+ pdf_base64: string | null;
20662
+ pdf_url: string | null;
20663
+ pogingen: number;
20664
+ printer_id: string | null;
20665
+ render_html: string | null;
20666
+ resultaat_pdf_base64: string | null;
20667
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20668
+ updated_at: string;
20669
+ volgende_poging: string | null;
20670
+ voltooid_op: string | null;
20671
+ }[];
20672
+ SetofOptions: {
20673
+ from: "*";
20674
+ to: "print_jobs";
20675
+ isOneToOne: false;
20676
+ isSetofReturn: true;
20677
+ };
20678
+ };
20478
20679
  claim_print_jobs: {
20479
20680
  Args: {
20480
20681
  _agent_id: string;
@@ -20499,6 +20700,9 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
20499
20700
  is_herprint: boolean;
20500
20701
  kopieen: number;
20501
20702
  layout_id: string | null;
20703
+ lokaal_opgeslagen_op: string | null;
20704
+ lokale_pdf_fout: string | null;
20705
+ lokale_pdf_status: string | null;
20502
20706
  opgepakt_op: string | null;
20503
20707
  paginas: number;
20504
20708
  payload: import("../integrations/supabase/types").Json;
@@ -20507,6 +20711,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
20507
20711
  pogingen: number;
20508
20712
  printer_id: string | null;
20509
20713
  render_html: string | null;
20714
+ resultaat_pdf_base64: string | null;
20510
20715
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20511
20716
  updated_at: string;
20512
20717
  volgende_poging: string | null;
@@ -20647,6 +20852,8 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
20647
20852
  order_id: string;
20648
20853
  order_source: string;
20649
20854
  pick_date: string;
20855
+ printed_at: string;
20856
+ printed_today: boolean;
20650
20857
  status: string;
20651
20858
  }[];
20652
20859
  };
@@ -21355,6 +21562,10 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21355
21562
  };
21356
21563
  Returns: number;
21357
21564
  };
21565
+ logistics_cancel_orphan_tasks: {
21566
+ Args: never;
21567
+ Returns: number;
21568
+ };
21358
21569
  logistics_capacity_day_check: {
21359
21570
  Args: {
21360
21571
  p_from?: string;
@@ -21375,6 +21586,25 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21375
21586
  };
21376
21587
  Returns: number;
21377
21588
  };
21589
+ logistics_cart_index: {
21590
+ Args: {
21591
+ p_from?: string;
21592
+ p_to?: string;
21593
+ };
21594
+ Returns: {
21595
+ cart_id: string;
21596
+ cart_index: number;
21597
+ cart_label: string;
21598
+ is_shared: boolean;
21599
+ order_number: string;
21600
+ order_source: string;
21601
+ order_uuid: string;
21602
+ pick_date: string;
21603
+ printed_at: string;
21604
+ shifted: boolean;
21605
+ task_status: string;
21606
+ }[];
21607
+ };
21378
21608
  logistics_check_order_allowed: {
21379
21609
  Args: {
21380
21610
  p_lines: import("../integrations/supabase/types").Json;
@@ -21523,6 +21753,17 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21523
21753
  isSetofReturn: false;
21524
21754
  };
21525
21755
  };
21756
+ logistics_consistency_check: {
21757
+ Args: never;
21758
+ Returns: {
21759
+ agenda_carts: number;
21760
+ control_carts: number;
21761
+ ok: boolean;
21762
+ orphan_tasks: number;
21763
+ pick_date: string;
21764
+ raw_carts: number;
21765
+ }[];
21766
+ };
21526
21767
  logistics_delay_customer_email: {
21527
21768
  Args: {
21528
21769
  p_customer: string;
@@ -21612,6 +21853,16 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21612
21853
  isSetofReturn: false;
21613
21854
  };
21614
21855
  };
21856
+ logistics_floriday_cart_plan: {
21857
+ Args: {
21858
+ p_order_id: string;
21859
+ };
21860
+ Returns: {
21861
+ carrier_type: string;
21862
+ idx: number;
21863
+ packages: number;
21864
+ }[];
21865
+ };
21615
21866
  logistics_floriday_claim_pushes: {
21616
21867
  Args: {
21617
21868
  _lease_seconds?: number;
@@ -21716,6 +21967,25 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21716
21967
  };
21717
21968
  Returns: number;
21718
21969
  };
21970
+ logistics_order_overview: {
21971
+ Args: {
21972
+ p_from?: string;
21973
+ p_to?: string;
21974
+ };
21975
+ Returns: {
21976
+ cart_count: number;
21977
+ customer_name: string;
21978
+ delivery_date: string;
21979
+ order_number: string;
21980
+ order_source: string;
21981
+ order_uuid: string;
21982
+ pick_date: string;
21983
+ plant_count: number;
21984
+ printed_at: string;
21985
+ shifted: boolean;
21986
+ status: string;
21987
+ }[];
21988
+ };
21719
21989
  logistics_order_pick_day: {
21720
21990
  Args: {
21721
21991
  p_order_ref: string;
@@ -21728,6 +21998,22 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21728
21998
  };
21729
21999
  Returns: string;
21730
22000
  };
22001
+ logistics_pick_agenda: {
22002
+ Args: {
22003
+ p_from?: string;
22004
+ p_to?: string;
22005
+ };
22006
+ Returns: {
22007
+ cart_count: number;
22008
+ in_preparation: number;
22009
+ order_count: number;
22010
+ orders: import("../integrations/supabase/types").Json;
22011
+ pick_date: string;
22012
+ plant_count: number;
22013
+ ready: number;
22014
+ shifted_count: number;
22015
+ }[];
22016
+ };
21731
22017
  logistics_pick_email_purpose: {
21732
22018
  Args: never;
21733
22019
  Returns: string;
@@ -21782,6 +22068,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21782
22068
  };
21783
22069
  Returns: undefined;
21784
22070
  };
22071
+ logistics_plan_floriday_order: {
22072
+ Args: {
22073
+ p_buffer_id?: string;
22074
+ p_order_id: string;
22075
+ };
22076
+ Returns: number;
22077
+ };
21785
22078
  logistics_plan_impact_orders: {
21786
22079
  Args: {
21787
22080
  p_order_id: string;
@@ -21887,6 +22180,15 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
21887
22180
  };
21888
22181
  Returns: import("../integrations/supabase/types").Json;
21889
22182
  };
22183
+ logistics_resolve_pick_document: {
22184
+ Args: {
22185
+ _is_herprint: boolean;
22186
+ _queue_item_id: string;
22187
+ _session_id: string;
22188
+ _voorbeeld: boolean;
22189
+ };
22190
+ Returns: import("../integrations/supabase/types").Json;
22191
+ };
21890
22192
  logistics_resolve_settings: {
21891
22193
  Args: {
21892
22194
  p_config_id: string;
@@ -22327,6 +22629,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
22327
22629
  };
22328
22630
  pick_enqueue_print_job: {
22329
22631
  Args: {
22632
+ _is_herprint?: boolean;
22330
22633
  _printer_id?: string;
22331
22634
  _queue_item_id: string;
22332
22635
  _session_id?: string;
@@ -22340,6 +22643,13 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
22340
22643
  };
22341
22644
  Returns: import("../integrations/supabase/types").Json;
22342
22645
  };
22646
+ pick_preview_job: {
22647
+ Args: {
22648
+ _queue_item_id: string;
22649
+ _station_slug: string;
22650
+ };
22651
+ Returns: import("../integrations/supabase/types").Json;
22652
+ };
22343
22653
  pick_print_job_status: {
22344
22654
  Args: {
22345
22655
  _job_id: string;
@@ -22517,6 +22827,24 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
22517
22827
  };
22518
22828
  Returns: undefined;
22519
22829
  };
22830
+ print_preview_toestaan: {
22831
+ Args: {
22832
+ _max?: number;
22833
+ _queue_item_id: string;
22834
+ _station_slug: string;
22835
+ _venster_sec?: number;
22836
+ };
22837
+ Returns: import("../integrations/supabase/types").Json;
22838
+ };
22839
+ print_preview_weiger: {
22840
+ Args: {
22841
+ _code: string;
22842
+ _queue_item_id: string;
22843
+ _reden: string;
22844
+ _station_slug: string;
22845
+ };
22846
+ Returns: undefined;
22847
+ };
22520
22848
  process_logistics_event: {
22521
22849
  Args: {
22522
22850
  p_event_id: string;
@@ -22671,6 +22999,12 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
22671
22999
  };
22672
23000
  Returns: string;
22673
23001
  };
23002
+ resolve_print_job_printer_id: {
23003
+ Args: {
23004
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23005
+ };
23006
+ Returns: string;
23007
+ };
22674
23008
  resolve_product_id_for_item: {
22675
23009
  Args: {
22676
23010
  p_product_name: string;
@@ -23262,7 +23596,7 @@ export declare const rebufferAllOrders: import("@tanstack/start-client-core").Op
23262
23596
  };
23263
23597
  CompositeTypes: { [_ in never]: never; };
23264
23598
  }, {
23265
- PostgrestVersion: "14.17";
23599
+ PostgrestVersion: "14.5";
23266
23600
  }>;
23267
23601
  userId: string;
23268
23602
  claims: import("@supabase/auth-js").User;
@@ -26124,6 +26458,84 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
26124
26458
  };
26125
26459
  Relationships: [];
26126
26460
  };
26461
+ delivery_notes: {
26462
+ Row: {
26463
+ byte_size: number | null;
26464
+ connection_id: string | null;
26465
+ content_type: string;
26466
+ created_at: string;
26467
+ error_message: string | null;
26468
+ fetched_at: string | null;
26469
+ fulfillment_order_id: string | null;
26470
+ http_status: number | null;
26471
+ id: string;
26472
+ label_code: string | null;
26473
+ letter: string | null;
26474
+ load_carrier_index: number | null;
26475
+ load_carrier_type: string | null;
26476
+ order_id: string | null;
26477
+ order_number: string | null;
26478
+ packages: number | null;
26479
+ source: string;
26480
+ status: string;
26481
+ storage_bucket: string;
26482
+ storage_path: string | null;
26483
+ updated_at: string;
26484
+ };
26485
+ Insert: {
26486
+ byte_size?: number | null;
26487
+ connection_id?: string | null;
26488
+ content_type?: string;
26489
+ created_at?: string;
26490
+ error_message?: string | null;
26491
+ fetched_at?: string | null;
26492
+ fulfillment_order_id?: string | null;
26493
+ http_status?: number | null;
26494
+ id?: string;
26495
+ label_code?: string | null;
26496
+ letter?: string | null;
26497
+ load_carrier_index?: number | null;
26498
+ load_carrier_type?: string | null;
26499
+ order_id?: string | null;
26500
+ order_number?: string | null;
26501
+ packages?: number | null;
26502
+ source?: string;
26503
+ status?: string;
26504
+ storage_bucket?: string;
26505
+ storage_path?: string | null;
26506
+ updated_at?: string;
26507
+ };
26508
+ Update: {
26509
+ byte_size?: number | null;
26510
+ connection_id?: string | null;
26511
+ content_type?: string;
26512
+ created_at?: string;
26513
+ error_message?: string | null;
26514
+ fetched_at?: string | null;
26515
+ fulfillment_order_id?: string | null;
26516
+ http_status?: number | null;
26517
+ id?: string;
26518
+ label_code?: string | null;
26519
+ letter?: string | null;
26520
+ load_carrier_index?: number | null;
26521
+ load_carrier_type?: string | null;
26522
+ order_id?: string | null;
26523
+ order_number?: string | null;
26524
+ packages?: number | null;
26525
+ source?: string;
26526
+ status?: string;
26527
+ storage_bucket?: string;
26528
+ storage_path?: string | null;
26529
+ updated_at?: string;
26530
+ };
26531
+ Relationships: [{
26532
+ foreignKeyName: "delivery_notes_order_id_fkey";
26533
+ columns: ["order_id"];
26534
+ isOneToOne: false;
26535
+ referencedRelation: "orders";
26536
+ referencedColumns: ["id"];
26537
+ }];
26538
+ };
26127
26539
  document_bronregels: {
26128
26540
  Row: {
26129
26541
  bron: string;
@@ -29177,10 +29589,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
29177
29589
  };
29178
29590
  floriday_connections: {
29179
29591
  Row: {
29180
- access_token: string | null;
29181
29592
  api_key: string;
29182
- client_id: string;
29183
- client_secret: string;
29184
29593
  created_at: string;
29185
29594
  customers_endpoint: string | null;
29186
29595
  environment: string;
@@ -29195,10 +29604,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
29195
29604
  updated_at: string;
29196
29605
  };
29197
29606
  Insert: {
29198
- access_token?: string | null;
29199
29607
  api_key: string;
29200
- client_id: string;
29201
- client_secret: string;
29202
29608
  created_at?: string;
29203
29609
  customers_endpoint?: string | null;
29204
29610
  environment: string;
@@ -29213,10 +29619,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
29213
29619
  updated_at?: string;
29214
29620
  };
29215
29621
  Update: {
29216
- access_token?: string | null;
29217
29622
  api_key?: string;
29218
- client_id?: string;
29219
- client_secret?: string;
29220
29623
  created_at?: string;
29221
29624
  customers_endpoint?: string | null;
29222
29625
  environment?: string;
@@ -36849,6 +37252,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36849
37252
  };
36850
37253
  Relationships: [];
36851
37254
  };
37255
+ print_dedupe_events: {
37256
+ Row: {
37257
+ bestaande_job_id: string | null;
37258
+ created_at: string;
37259
+ detail: string | null;
37260
+ documentnaam: string | null;
37261
+ documenttype: string | null;
37262
+ id: string;
37263
+ idempotentie_sleutel: string;
37264
+ reden: string;
37265
+ };
37266
+ Insert: {
37267
+ bestaande_job_id?: string | null;
37268
+ created_at?: string;
37269
+ detail?: string | null;
37270
+ documentnaam?: string | null;
37271
+ documenttype?: string | null;
37272
+ id?: string;
37273
+ idempotentie_sleutel: string;
37274
+ reden: string;
37275
+ };
37276
+ Update: {
37277
+ bestaande_job_id?: string | null;
37278
+ created_at?: string;
37279
+ detail?: string | null;
37280
+ documentnaam?: string | null;
37281
+ documenttype?: string | null;
37282
+ id?: string;
37283
+ idempotentie_sleutel?: string;
37284
+ reden?: string;
37285
+ };
37286
+ Relationships: [];
37287
+ };
36852
37288
  print_job_logs: {
36853
37289
  Row: {
36854
37290
  created_at: string;
@@ -36899,6 +37335,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36899
37335
  is_herprint: boolean;
36900
37336
  kopieen: number;
36901
37337
  layout_id: string | null;
37338
+ lokaal_opgeslagen_op: string | null;
37339
+ lokale_pdf_fout: string | null;
37340
+ lokale_pdf_status: string | null;
36902
37341
  opgepakt_op: string | null;
36903
37342
  paginas: number;
36904
37343
  payload: import("../integrations/supabase/types").Json;
@@ -36907,6 +37346,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36907
37346
  pogingen: number;
36908
37347
  printer_id: string | null;
36909
37348
  render_html: string | null;
37349
+ resultaat_pdf_base64: string | null;
36910
37350
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36911
37351
  updated_at: string;
36912
37352
  volgende_poging: string | null;
@@ -36931,6 +37371,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36931
37371
  is_herprint?: boolean;
36932
37372
  kopieen?: number;
36933
37373
  layout_id?: string | null;
37374
+ lokaal_opgeslagen_op?: string | null;
37375
+ lokale_pdf_fout?: string | null;
37376
+ lokale_pdf_status?: string | null;
36934
37377
  opgepakt_op?: string | null;
36935
37378
  paginas?: number;
36936
37379
  payload?: import("../integrations/supabase/types").Json;
@@ -36939,6 +37382,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36939
37382
  pogingen?: number;
36940
37383
  printer_id?: string | null;
36941
37384
  render_html?: string | null;
37385
+ resultaat_pdf_base64?: string | null;
36942
37386
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36943
37387
  updated_at?: string;
36944
37388
  volgende_poging?: string | null;
@@ -36963,6 +37407,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36963
37407
  is_herprint?: boolean;
36964
37408
  kopieen?: number;
36965
37409
  layout_id?: string | null;
37410
+ lokaal_opgeslagen_op?: string | null;
37411
+ lokale_pdf_fout?: string | null;
37412
+ lokale_pdf_status?: string | null;
36966
37413
  opgepakt_op?: string | null;
36967
37414
  paginas?: number;
36968
37415
  payload?: import("../integrations/supabase/types").Json;
@@ -36971,6 +37418,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
36971
37418
  pogingen?: number;
36972
37419
  printer_id?: string | null;
36973
37420
  render_html?: string | null;
37421
+ resultaat_pdf_base64?: string | null;
36974
37422
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36975
37423
  updated_at?: string;
36976
37424
  volgende_poging?: string | null;
@@ -37089,6 +37537,39 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
37089
37537
  };
37090
37538
  Relationships: [];
37091
37539
  };
37540
+ print_preview_events: {
37541
+ Row: {
37542
+ code: string | null;
37543
+ created_at: string;
37544
+ detail: import("../integrations/supabase/types").Json;
37545
+ id: string;
37546
+ queue_item_id: string | null;
37547
+ reden: string | null;
37548
+ station_slug: string | null;
37549
+ uitkomst: string;
37550
+ };
37551
+ Insert: {
37552
+ code?: string | null;
37553
+ created_at?: string;
37554
+ detail?: import("../integrations/supabase/types").Json;
37555
+ id?: string;
37556
+ queue_item_id?: string | null;
37557
+ reden?: string | null;
37558
+ station_slug?: string | null;
37559
+ uitkomst?: string;
37560
+ };
37561
+ Update: {
37562
+ code?: string | null;
37563
+ created_at?: string;
37564
+ detail?: import("../integrations/supabase/types").Json;
37565
+ id?: string;
37566
+ queue_item_id?: string | null;
37567
+ reden?: string | null;
37568
+ station_slug?: string | null;
37569
+ uitkomst?: string;
37570
+ };
37571
+ Relationships: [];
37572
+ };
37092
37573
  print_queue_runners: {
37093
37574
  Row: {
37094
37575
  actief: boolean;
@@ -37328,6 +37809,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
37328
37809
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37329
37810
  online: boolean;
37330
37811
  papierformaat: string;
37812
+ pdf_map: string | null;
37331
37813
  poort: number | null;
37332
37814
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37333
37815
  systeemnaam: string;
@@ -37353,6 +37835,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
37353
37835
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37354
37836
  online?: boolean;
37355
37837
  papierformaat?: string;
37838
+ pdf_map?: string | null;
37356
37839
  poort?: number | null;
37357
37840
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37358
37841
  systeemnaam?: string;
@@ -37378,6 +37861,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
37378
37861
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37379
37862
  online?: boolean;
37380
37863
  papierformaat?: string;
37864
+ pdf_map?: string | null;
37381
37865
  poort?: number | null;
37382
37866
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37383
37867
  systeemnaam?: string;
@@ -43634,6 +44118,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
43634
44118
  is_herprint: boolean;
43635
44119
  kopieen: number;
43636
44120
  layout_id: string | null;
44121
+ lokaal_opgeslagen_op: string | null;
44122
+ lokale_pdf_fout: string | null;
44123
+ lokale_pdf_status: string | null;
43637
44124
  opgepakt_op: string | null;
43638
44125
  paginas: number;
43639
44126
  payload: import("../integrations/supabase/types").Json;
@@ -43642,6 +44129,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
43642
44129
  pogingen: number;
43643
44130
  printer_id: string | null;
43644
44131
  render_html: string | null;
44132
+ resultaat_pdf_base64: string | null;
43645
44133
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43646
44134
  updated_at: string;
43647
44135
  volgende_poging: string | null;
@@ -43733,6 +44221,53 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
43733
44221
  isSetofReturn: true;
43734
44222
  };
43735
44223
  };
44224
+ claim_pdf_print_jobs: {
44225
+ Args: {
44226
+ _max?: number;
44227
+ };
44228
+ Returns: {
44229
+ agent_id: string | null;
44230
+ bron_job_id: string | null;
44231
+ created_at: string;
44232
+ documentnaam: string;
44233
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44234
+ extern_job_id: string | null;
44235
+ foutmelding: string | null;
44236
+ gebruiker_id: string | null;
44237
+ gebruiker_naam: string;
44238
+ gebruikte_bron: string | null;
44239
+ gebruikte_layout_id: string | null;
44240
+ gestart_op: string | null;
44241
+ herkomst: string | null;
44242
+ id: string;
44243
+ idempotentie_sleutel: string | null;
44244
+ is_herprint: boolean;
44245
+ kopieen: number;
44246
+ layout_id: string | null;
44247
+ lokaal_opgeslagen_op: string | null;
44248
+ lokale_pdf_fout: string | null;
44249
+ lokale_pdf_status: string | null;
44250
+ opgepakt_op: string | null;
44251
+ paginas: number;
44252
+ payload: import("../integrations/supabase/types").Json;
44253
+ pdf_base64: string | null;
44254
+ pdf_url: string | null;
44255
+ pogingen: number;
44256
+ printer_id: string | null;
44257
+ render_html: string | null;
44258
+ resultaat_pdf_base64: string | null;
44259
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44260
+ updated_at: string;
44261
+ volgende_poging: string | null;
44262
+ voltooid_op: string | null;
44263
+ }[];
44264
+ SetofOptions: {
44265
+ from: "*";
44266
+ to: "print_jobs";
44267
+ isOneToOne: false;
44268
+ isSetofReturn: true;
44269
+ };
44270
+ };
43736
44271
  claim_print_jobs: {
43737
44272
  Args: {
43738
44273
  _agent_id: string;
@@ -43757,6 +44292,9 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
43757
44292
  is_herprint: boolean;
43758
44293
  kopieen: number;
43759
44294
  layout_id: string | null;
44295
+ lokaal_opgeslagen_op: string | null;
44296
+ lokale_pdf_fout: string | null;
44297
+ lokale_pdf_status: string | null;
43760
44298
  opgepakt_op: string | null;
43761
44299
  paginas: number;
43762
44300
  payload: import("../integrations/supabase/types").Json;
@@ -43765,6 +44303,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
43765
44303
  pogingen: number;
43766
44304
  printer_id: string | null;
43767
44305
  render_html: string | null;
44306
+ resultaat_pdf_base64: string | null;
43768
44307
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43769
44308
  updated_at: string;
43770
44309
  volgende_poging: string | null;
@@ -43905,6 +44444,8 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
43905
44444
  order_id: string;
43906
44445
  order_source: string;
43907
44446
  pick_date: string;
44447
+ printed_at: string;
44448
+ printed_today: boolean;
43908
44449
  status: string;
43909
44450
  }[];
43910
44451
  };
@@ -44613,6 +45154,10 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
44613
45154
  };
44614
45155
  Returns: number;
44615
45156
  };
45157
+ logistics_cancel_orphan_tasks: {
45158
+ Args: never;
45159
+ Returns: number;
45160
+ };
44616
45161
  logistics_capacity_day_check: {
44617
45162
  Args: {
44618
45163
  p_from?: string;
@@ -44633,6 +45178,25 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
44633
45178
  };
44634
45179
  Returns: number;
44635
45180
  };
45181
+ logistics_cart_index: {
45182
+ Args: {
45183
+ p_from?: string;
45184
+ p_to?: string;
45185
+ };
45186
+ Returns: {
45187
+ cart_id: string;
45188
+ cart_index: number;
45189
+ cart_label: string;
45190
+ is_shared: boolean;
45191
+ order_number: string;
45192
+ order_source: string;
45193
+ order_uuid: string;
45194
+ pick_date: string;
45195
+ printed_at: string;
45196
+ shifted: boolean;
45197
+ task_status: string;
45198
+ }[];
45199
+ };
44636
45200
  logistics_check_order_allowed: {
44637
45201
  Args: {
44638
45202
  p_lines: import("../integrations/supabase/types").Json;
@@ -44781,6 +45345,17 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
44781
45345
  isSetofReturn: false;
44782
45346
  };
44783
45347
  };
45348
+ logistics_consistency_check: {
45349
+ Args: never;
45350
+ Returns: {
45351
+ agenda_carts: number;
45352
+ control_carts: number;
45353
+ ok: boolean;
45354
+ orphan_tasks: number;
45355
+ pick_date: string;
45356
+ raw_carts: number;
45357
+ }[];
45358
+ };
44784
45359
  logistics_delay_customer_email: {
44785
45360
  Args: {
44786
45361
  p_customer: string;
@@ -44870,6 +45445,16 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
44870
45445
  isSetofReturn: false;
44871
45446
  };
44872
45447
  };
45448
+ logistics_floriday_cart_plan: {
45449
+ Args: {
45450
+ p_order_id: string;
45451
+ };
45452
+ Returns: {
45453
+ carrier_type: string;
45454
+ idx: number;
45455
+ packages: number;
45456
+ }[];
45457
+ };
44873
45458
  logistics_floriday_claim_pushes: {
44874
45459
  Args: {
44875
45460
  _lease_seconds?: number;
@@ -44974,6 +45559,25 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
44974
45559
  };
44975
45560
  Returns: number;
44976
45561
  };
45562
+ logistics_order_overview: {
45563
+ Args: {
45564
+ p_from?: string;
45565
+ p_to?: string;
45566
+ };
45567
+ Returns: {
45568
+ cart_count: number;
45569
+ customer_name: string;
45570
+ delivery_date: string;
45571
+ order_number: string;
45572
+ order_source: string;
45573
+ order_uuid: string;
45574
+ pick_date: string;
45575
+ plant_count: number;
45576
+ printed_at: string;
45577
+ shifted: boolean;
45578
+ status: string;
45579
+ }[];
45580
+ };
44977
45581
  logistics_order_pick_day: {
44978
45582
  Args: {
44979
45583
  p_order_ref: string;
@@ -44986,6 +45590,22 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
44986
45590
  };
44987
45591
  Returns: string;
44988
45592
  };
45593
+ logistics_pick_agenda: {
45594
+ Args: {
45595
+ p_from?: string;
45596
+ p_to?: string;
45597
+ };
45598
+ Returns: {
45599
+ cart_count: number;
45600
+ in_preparation: number;
45601
+ order_count: number;
45602
+ orders: import("../integrations/supabase/types").Json;
45603
+ pick_date: string;
45604
+ plant_count: number;
45605
+ ready: number;
45606
+ shifted_count: number;
45607
+ }[];
45608
+ };
44989
45609
  logistics_pick_email_purpose: {
44990
45610
  Args: never;
44991
45611
  Returns: string;
@@ -45040,6 +45660,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45040
45660
  };
45041
45661
  Returns: undefined;
45042
45662
  };
45663
+ logistics_plan_floriday_order: {
45664
+ Args: {
45665
+ p_buffer_id?: string;
45666
+ p_order_id: string;
45667
+ };
45668
+ Returns: number;
45669
+ };
45043
45670
  logistics_plan_impact_orders: {
45044
45671
  Args: {
45045
45672
  p_order_id: string;
@@ -45145,6 +45772,15 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45145
45772
  };
45146
45773
  Returns: import("../integrations/supabase/types").Json;
45147
45774
  };
45775
+ logistics_resolve_pick_document: {
45776
+ Args: {
45777
+ _is_herprint: boolean;
45778
+ _queue_item_id: string;
45779
+ _session_id: string;
45780
+ _voorbeeld: boolean;
45781
+ };
45782
+ Returns: import("../integrations/supabase/types").Json;
45783
+ };
45148
45784
  logistics_resolve_settings: {
45149
45785
  Args: {
45150
45786
  p_config_id: string;
@@ -45585,6 +46221,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45585
46221
  };
45586
46222
  pick_enqueue_print_job: {
45587
46223
  Args: {
46224
+ _is_herprint?: boolean;
45588
46225
  _printer_id?: string;
45589
46226
  _queue_item_id: string;
45590
46227
  _session_id?: string;
@@ -45598,6 +46235,13 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45598
46235
  };
45599
46236
  Returns: import("../integrations/supabase/types").Json;
45600
46237
  };
46238
+ pick_preview_job: {
46239
+ Args: {
46240
+ _queue_item_id: string;
46241
+ _station_slug: string;
46242
+ };
46243
+ Returns: import("../integrations/supabase/types").Json;
46244
+ };
45601
46245
  pick_print_job_status: {
45602
46246
  Args: {
45603
46247
  _job_id: string;
@@ -45775,6 +46419,24 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45775
46419
  };
45776
46420
  Returns: undefined;
45777
46421
  };
46422
+ print_preview_toestaan: {
46423
+ Args: {
46424
+ _max?: number;
46425
+ _queue_item_id: string;
46426
+ _station_slug: string;
46427
+ _venster_sec?: number;
46428
+ };
46429
+ Returns: import("../integrations/supabase/types").Json;
46430
+ };
46431
+ print_preview_weiger: {
46432
+ Args: {
46433
+ _code: string;
46434
+ _queue_item_id: string;
46435
+ _reden: string;
46436
+ _station_slug: string;
46437
+ };
46438
+ Returns: undefined;
46439
+ };
45778
46440
  process_logistics_event: {
45779
46441
  Args: {
45780
46442
  p_event_id: string;
@@ -45929,6 +46591,12 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
45929
46591
  };
45930
46592
  Returns: string;
45931
46593
  };
46594
+ resolve_print_job_printer_id: {
46595
+ Args: {
46596
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46597
+ };
46598
+ Returns: string;
46599
+ };
45932
46600
  resolve_product_id_for_item: {
45933
46601
  Args: {
45934
46602
  p_product_name: string;
@@ -46520,7 +47188,7 @@ export declare const resolveBufferForOrder: import("@tanstack/start-client-core"
46520
47188
  };
46521
47189
  CompositeTypes: { [_ in never]: never; };
46522
47190
  }, {
46523
- PostgrestVersion: "14.17";
47191
+ PostgrestVersion: "14.5";
46524
47192
  }>;
46525
47193
  userId: string;
46526
47194
  claims: import("@supabase/auth-js").User;
@@ -49383,6 +50051,84 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
49383
50051
  };
49384
50052
  Relationships: [];
49385
50053
  };
50054
+ delivery_notes: {
50055
+ Row: {
50056
+ byte_size: number | null;
50057
+ connection_id: string | null;
50058
+ content_type: string;
50059
+ created_at: string;
50060
+ error_message: string | null;
50061
+ fetched_at: string | null;
50062
+ fulfillment_order_id: string | null;
50063
+ http_status: number | null;
50064
+ id: string;
50065
+ label_code: string | null;
50066
+ letter: string | null;
50067
+ load_carrier_index: number | null;
50068
+ load_carrier_type: string | null;
50069
+ order_id: string | null;
50070
+ order_number: string | null;
50071
+ packages: number | null;
50072
+ source: string;
50073
+ status: string;
50074
+ storage_bucket: string;
50075
+ storage_path: string | null;
50076
+ updated_at: string;
50077
+ };
50078
+ Insert: {
50079
+ byte_size?: number | null;
50080
+ connection_id?: string | null;
50081
+ content_type?: string;
50082
+ created_at?: string;
50083
+ error_message?: string | null;
50084
+ fetched_at?: string | null;
50085
+ fulfillment_order_id?: string | null;
50086
+ http_status?: number | null;
50087
+ id?: string;
50088
+ label_code?: string | null;
50089
+ letter?: string | null;
50090
+ load_carrier_index?: number | null;
50091
+ load_carrier_type?: string | null;
50092
+ order_id?: string | null;
50093
+ order_number?: string | null;
50094
+ packages?: number | null;
50095
+ source?: string;
50096
+ status?: string;
50097
+ storage_bucket?: string;
50098
+ storage_path?: string | null;
50099
+ updated_at?: string;
50100
+ };
50101
+ Update: {
50102
+ byte_size?: number | null;
50103
+ connection_id?: string | null;
50104
+ content_type?: string;
50105
+ created_at?: string;
50106
+ error_message?: string | null;
50107
+ fetched_at?: string | null;
50108
+ fulfillment_order_id?: string | null;
50109
+ http_status?: number | null;
50110
+ id?: string;
50111
+ label_code?: string | null;
50112
+ letter?: string | null;
50113
+ load_carrier_index?: number | null;
50114
+ load_carrier_type?: string | null;
50115
+ order_id?: string | null;
50116
+ order_number?: string | null;
50117
+ packages?: number | null;
50118
+ source?: string;
50119
+ status?: string;
50120
+ storage_bucket?: string;
50121
+ storage_path?: string | null;
50122
+ updated_at?: string;
50123
+ };
50124
+ Relationships: [{
50125
+ foreignKeyName: "delivery_notes_order_id_fkey";
50126
+ columns: ["order_id"];
50127
+ isOneToOne: false;
50128
+ referencedRelation: "orders";
50129
+ referencedColumns: ["id"];
50130
+ }];
50131
+ };
49386
50132
  document_bronregels: {
49387
50133
  Row: {
49388
50134
  bron: string;
@@ -52436,10 +53182,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
52436
53182
  };
52437
53183
  floriday_connections: {
52438
53184
  Row: {
52439
- access_token: string | null;
52440
53185
  api_key: string;
52441
- client_id: string;
52442
- client_secret: string;
52443
53186
  created_at: string;
52444
53187
  customers_endpoint: string | null;
52445
53188
  environment: string;
@@ -52454,10 +53197,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
52454
53197
  updated_at: string;
52455
53198
  };
52456
53199
  Insert: {
52457
- access_token?: string | null;
52458
53200
  api_key: string;
52459
- client_id: string;
52460
- client_secret: string;
52461
53201
  created_at?: string;
52462
53202
  customers_endpoint?: string | null;
52463
53203
  environment: string;
@@ -52472,10 +53212,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
52472
53212
  updated_at?: string;
52473
53213
  };
52474
53214
  Update: {
52475
- access_token?: string | null;
52476
53215
  api_key?: string;
52477
- client_id?: string;
52478
- client_secret?: string;
52479
53216
  created_at?: string;
52480
53217
  customers_endpoint?: string | null;
52481
53218
  environment?: string;
@@ -60108,6 +60845,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60108
60845
  };
60109
60846
  Relationships: [];
60110
60847
  };
60848
+ print_dedupe_events: {
60849
+ Row: {
60850
+ bestaande_job_id: string | null;
60851
+ created_at: string;
60852
+ detail: string | null;
60853
+ documentnaam: string | null;
60854
+ documenttype: string | null;
60855
+ id: string;
60856
+ idempotentie_sleutel: string;
60857
+ reden: string;
60858
+ };
60859
+ Insert: {
60860
+ bestaande_job_id?: string | null;
60861
+ created_at?: string;
60862
+ detail?: string | null;
60863
+ documentnaam?: string | null;
60864
+ documenttype?: string | null;
60865
+ id?: string;
60866
+ idempotentie_sleutel: string;
60867
+ reden: string;
60868
+ };
60869
+ Update: {
60870
+ bestaande_job_id?: string | null;
60871
+ created_at?: string;
60872
+ detail?: string | null;
60873
+ documentnaam?: string | null;
60874
+ documenttype?: string | null;
60875
+ id?: string;
60876
+ idempotentie_sleutel?: string;
60877
+ reden?: string;
60878
+ };
60879
+ Relationships: [];
60880
+ };
60111
60881
  print_job_logs: {
60112
60882
  Row: {
60113
60883
  created_at: string;
@@ -60158,6 +60928,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60158
60928
  is_herprint: boolean;
60159
60929
  kopieen: number;
60160
60930
  layout_id: string | null;
60931
+ lokaal_opgeslagen_op: string | null;
60932
+ lokale_pdf_fout: string | null;
60933
+ lokale_pdf_status: string | null;
60161
60934
  opgepakt_op: string | null;
60162
60935
  paginas: number;
60163
60936
  payload: import("../integrations/supabase/types").Json;
@@ -60166,6 +60939,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60166
60939
  pogingen: number;
60167
60940
  printer_id: string | null;
60168
60941
  render_html: string | null;
60942
+ resultaat_pdf_base64: string | null;
60169
60943
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60170
60944
  updated_at: string;
60171
60945
  volgende_poging: string | null;
@@ -60190,6 +60964,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60190
60964
  is_herprint?: boolean;
60191
60965
  kopieen?: number;
60192
60966
  layout_id?: string | null;
60967
+ lokaal_opgeslagen_op?: string | null;
60968
+ lokale_pdf_fout?: string | null;
60969
+ lokale_pdf_status?: string | null;
60193
60970
  opgepakt_op?: string | null;
60194
60971
  paginas?: number;
60195
60972
  payload?: import("../integrations/supabase/types").Json;
@@ -60198,6 +60975,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60198
60975
  pogingen?: number;
60199
60976
  printer_id?: string | null;
60200
60977
  render_html?: string | null;
60978
+ resultaat_pdf_base64?: string | null;
60201
60979
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60202
60980
  updated_at?: string;
60203
60981
  volgende_poging?: string | null;
@@ -60222,6 +61000,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60222
61000
  is_herprint?: boolean;
60223
61001
  kopieen?: number;
60224
61002
  layout_id?: string | null;
61003
+ lokaal_opgeslagen_op?: string | null;
61004
+ lokale_pdf_fout?: string | null;
61005
+ lokale_pdf_status?: string | null;
60225
61006
  opgepakt_op?: string | null;
60226
61007
  paginas?: number;
60227
61008
  payload?: import("../integrations/supabase/types").Json;
@@ -60230,6 +61011,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60230
61011
  pogingen?: number;
60231
61012
  printer_id?: string | null;
60232
61013
  render_html?: string | null;
61014
+ resultaat_pdf_base64?: string | null;
60233
61015
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60234
61016
  updated_at?: string;
60235
61017
  volgende_poging?: string | null;
@@ -60348,6 +61130,39 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60348
61130
  };
60349
61131
  Relationships: [];
60350
61132
  };
61133
+ print_preview_events: {
61134
+ Row: {
61135
+ code: string | null;
61136
+ created_at: string;
61137
+ detail: import("../integrations/supabase/types").Json;
61138
+ id: string;
61139
+ queue_item_id: string | null;
61140
+ reden: string | null;
61141
+ station_slug: string | null;
61142
+ uitkomst: string;
61143
+ };
61144
+ Insert: {
61145
+ code?: string | null;
61146
+ created_at?: string;
61147
+ detail?: import("../integrations/supabase/types").Json;
61148
+ id?: string;
61149
+ queue_item_id?: string | null;
61150
+ reden?: string | null;
61151
+ station_slug?: string | null;
61152
+ uitkomst?: string;
61153
+ };
61154
+ Update: {
61155
+ code?: string | null;
61156
+ created_at?: string;
61157
+ detail?: import("../integrations/supabase/types").Json;
61158
+ id?: string;
61159
+ queue_item_id?: string | null;
61160
+ reden?: string | null;
61161
+ station_slug?: string | null;
61162
+ uitkomst?: string;
61163
+ };
61164
+ Relationships: [];
61165
+ };
60351
61166
  print_queue_runners: {
60352
61167
  Row: {
60353
61168
  actief: boolean;
@@ -60587,6 +61402,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60587
61402
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
60588
61403
  online: boolean;
60589
61404
  papierformaat: string;
61405
+ pdf_map: string | null;
60590
61406
  poort: number | null;
60591
61407
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60592
61408
  systeemnaam: string;
@@ -60612,6 +61428,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60612
61428
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60613
61429
  online?: boolean;
60614
61430
  papierformaat?: string;
61431
+ pdf_map?: string | null;
60615
61432
  poort?: number | null;
60616
61433
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60617
61434
  systeemnaam?: string;
@@ -60637,6 +61454,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
60637
61454
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60638
61455
  online?: boolean;
60639
61456
  papierformaat?: string;
61457
+ pdf_map?: string | null;
60640
61458
  poort?: number | null;
60641
61459
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60642
61460
  systeemnaam?: string;
@@ -66893,6 +67711,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
66893
67711
  is_herprint: boolean;
66894
67712
  kopieen: number;
66895
67713
  layout_id: string | null;
67714
+ lokaal_opgeslagen_op: string | null;
67715
+ lokale_pdf_fout: string | null;
67716
+ lokale_pdf_status: string | null;
66896
67717
  opgepakt_op: string | null;
66897
67718
  paginas: number;
66898
67719
  payload: import("../integrations/supabase/types").Json;
@@ -66901,6 +67722,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
66901
67722
  pogingen: number;
66902
67723
  printer_id: string | null;
66903
67724
  render_html: string | null;
67725
+ resultaat_pdf_base64: string | null;
66904
67726
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
66905
67727
  updated_at: string;
66906
67728
  volgende_poging: string | null;
@@ -66992,6 +67814,53 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
66992
67814
  isSetofReturn: true;
66993
67815
  };
66994
67816
  };
67817
+ claim_pdf_print_jobs: {
67818
+ Args: {
67819
+ _max?: number;
67820
+ };
67821
+ Returns: {
67822
+ agent_id: string | null;
67823
+ bron_job_id: string | null;
67824
+ created_at: string;
67825
+ documentnaam: string;
67826
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
67827
+ extern_job_id: string | null;
67828
+ foutmelding: string | null;
67829
+ gebruiker_id: string | null;
67830
+ gebruiker_naam: string;
67831
+ gebruikte_bron: string | null;
67832
+ gebruikte_layout_id: string | null;
67833
+ gestart_op: string | null;
67834
+ herkomst: string | null;
67835
+ id: string;
67836
+ idempotentie_sleutel: string | null;
67837
+ is_herprint: boolean;
67838
+ kopieen: number;
67839
+ layout_id: string | null;
67840
+ lokaal_opgeslagen_op: string | null;
67841
+ lokale_pdf_fout: string | null;
67842
+ lokale_pdf_status: string | null;
67843
+ opgepakt_op: string | null;
67844
+ paginas: number;
67845
+ payload: import("../integrations/supabase/types").Json;
67846
+ pdf_base64: string | null;
67847
+ pdf_url: string | null;
67848
+ pogingen: number;
67849
+ printer_id: string | null;
67850
+ render_html: string | null;
67851
+ resultaat_pdf_base64: string | null;
67852
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67853
+ updated_at: string;
67854
+ volgende_poging: string | null;
67855
+ voltooid_op: string | null;
67856
+ }[];
67857
+ SetofOptions: {
67858
+ from: "*";
67859
+ to: "print_jobs";
67860
+ isOneToOne: false;
67861
+ isSetofReturn: true;
67862
+ };
67863
+ };
66995
67864
  claim_print_jobs: {
66996
67865
  Args: {
66997
67866
  _agent_id: string;
@@ -67016,6 +67885,9 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
67016
67885
  is_herprint: boolean;
67017
67886
  kopieen: number;
67018
67887
  layout_id: string | null;
67888
+ lokaal_opgeslagen_op: string | null;
67889
+ lokale_pdf_fout: string | null;
67890
+ lokale_pdf_status: string | null;
67019
67891
  opgepakt_op: string | null;
67020
67892
  paginas: number;
67021
67893
  payload: import("../integrations/supabase/types").Json;
@@ -67024,6 +67896,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
67024
67896
  pogingen: number;
67025
67897
  printer_id: string | null;
67026
67898
  render_html: string | null;
67899
+ resultaat_pdf_base64: string | null;
67027
67900
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67028
67901
  updated_at: string;
67029
67902
  volgende_poging: string | null;
@@ -67164,6 +68037,8 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
67164
68037
  order_id: string;
67165
68038
  order_source: string;
67166
68039
  pick_date: string;
68040
+ printed_at: string;
68041
+ printed_today: boolean;
67167
68042
  status: string;
67168
68043
  }[];
67169
68044
  };
@@ -67872,6 +68747,10 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
67872
68747
  };
67873
68748
  Returns: number;
67874
68749
  };
68750
+ logistics_cancel_orphan_tasks: {
68751
+ Args: never;
68752
+ Returns: number;
68753
+ };
67875
68754
  logistics_capacity_day_check: {
67876
68755
  Args: {
67877
68756
  p_from?: string;
@@ -67892,6 +68771,25 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
67892
68771
  };
67893
68772
  Returns: number;
67894
68773
  };
68774
+ logistics_cart_index: {
68775
+ Args: {
68776
+ p_from?: string;
68777
+ p_to?: string;
68778
+ };
68779
+ Returns: {
68780
+ cart_id: string;
68781
+ cart_index: number;
68782
+ cart_label: string;
68783
+ is_shared: boolean;
68784
+ order_number: string;
68785
+ order_source: string;
68786
+ order_uuid: string;
68787
+ pick_date: string;
68788
+ printed_at: string;
68789
+ shifted: boolean;
68790
+ task_status: string;
68791
+ }[];
68792
+ };
67895
68793
  logistics_check_order_allowed: {
67896
68794
  Args: {
67897
68795
  p_lines: import("../integrations/supabase/types").Json;
@@ -68040,6 +68938,17 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68040
68938
  isSetofReturn: false;
68041
68939
  };
68042
68940
  };
68941
+ logistics_consistency_check: {
68942
+ Args: never;
68943
+ Returns: {
68944
+ agenda_carts: number;
68945
+ control_carts: number;
68946
+ ok: boolean;
68947
+ orphan_tasks: number;
68948
+ pick_date: string;
68949
+ raw_carts: number;
68950
+ }[];
68951
+ };
68043
68952
  logistics_delay_customer_email: {
68044
68953
  Args: {
68045
68954
  p_customer: string;
@@ -68129,6 +69038,16 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68129
69038
  isSetofReturn: false;
68130
69039
  };
68131
69040
  };
69041
+ logistics_floriday_cart_plan: {
69042
+ Args: {
69043
+ p_order_id: string;
69044
+ };
69045
+ Returns: {
69046
+ carrier_type: string;
69047
+ idx: number;
69048
+ packages: number;
69049
+ }[];
69050
+ };
68132
69051
  logistics_floriday_claim_pushes: {
68133
69052
  Args: {
68134
69053
  _lease_seconds?: number;
@@ -68233,6 +69152,25 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68233
69152
  };
68234
69153
  Returns: number;
68235
69154
  };
69155
+ logistics_order_overview: {
69156
+ Args: {
69157
+ p_from?: string;
69158
+ p_to?: string;
69159
+ };
69160
+ Returns: {
69161
+ cart_count: number;
69162
+ customer_name: string;
69163
+ delivery_date: string;
69164
+ order_number: string;
69165
+ order_source: string;
69166
+ order_uuid: string;
69167
+ pick_date: string;
69168
+ plant_count: number;
69169
+ printed_at: string;
69170
+ shifted: boolean;
69171
+ status: string;
69172
+ }[];
69173
+ };
68236
69174
  logistics_order_pick_day: {
68237
69175
  Args: {
68238
69176
  p_order_ref: string;
@@ -68245,6 +69183,22 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68245
69183
  };
68246
69184
  Returns: string;
68247
69185
  };
69186
+ logistics_pick_agenda: {
69187
+ Args: {
69188
+ p_from?: string;
69189
+ p_to?: string;
69190
+ };
69191
+ Returns: {
69192
+ cart_count: number;
69193
+ in_preparation: number;
69194
+ order_count: number;
69195
+ orders: import("../integrations/supabase/types").Json;
69196
+ pick_date: string;
69197
+ plant_count: number;
69198
+ ready: number;
69199
+ shifted_count: number;
69200
+ }[];
69201
+ };
68248
69202
  logistics_pick_email_purpose: {
68249
69203
  Args: never;
68250
69204
  Returns: string;
@@ -68299,6 +69253,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68299
69253
  };
68300
69254
  Returns: undefined;
68301
69255
  };
69256
+ logistics_plan_floriday_order: {
69257
+ Args: {
69258
+ p_buffer_id?: string;
69259
+ p_order_id: string;
69260
+ };
69261
+ Returns: number;
69262
+ };
68302
69263
  logistics_plan_impact_orders: {
68303
69264
  Args: {
68304
69265
  p_order_id: string;
@@ -68404,6 +69365,15 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68404
69365
  };
68405
69366
  Returns: import("../integrations/supabase/types").Json;
68406
69367
  };
69368
+ logistics_resolve_pick_document: {
69369
+ Args: {
69370
+ _is_herprint: boolean;
69371
+ _queue_item_id: string;
69372
+ _session_id: string;
69373
+ _voorbeeld: boolean;
69374
+ };
69375
+ Returns: import("../integrations/supabase/types").Json;
69376
+ };
68407
69377
  logistics_resolve_settings: {
68408
69378
  Args: {
68409
69379
  p_config_id: string;
@@ -68844,6 +69814,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68844
69814
  };
68845
69815
  pick_enqueue_print_job: {
68846
69816
  Args: {
69817
+ _is_herprint?: boolean;
68847
69818
  _printer_id?: string;
68848
69819
  _queue_item_id: string;
68849
69820
  _session_id?: string;
@@ -68857,6 +69828,13 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
68857
69828
  };
68858
69829
  Returns: import("../integrations/supabase/types").Json;
68859
69830
  };
69831
+ pick_preview_job: {
69832
+ Args: {
69833
+ _queue_item_id: string;
69834
+ _station_slug: string;
69835
+ };
69836
+ Returns: import("../integrations/supabase/types").Json;
69837
+ };
68860
69838
  pick_print_job_status: {
68861
69839
  Args: {
68862
69840
  _job_id: string;
@@ -69034,6 +70012,24 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
69034
70012
  };
69035
70013
  Returns: undefined;
69036
70014
  };
70015
+ print_preview_toestaan: {
70016
+ Args: {
70017
+ _max?: number;
70018
+ _queue_item_id: string;
70019
+ _station_slug: string;
70020
+ _venster_sec?: number;
70021
+ };
70022
+ Returns: import("../integrations/supabase/types").Json;
70023
+ };
70024
+ print_preview_weiger: {
70025
+ Args: {
70026
+ _code: string;
70027
+ _queue_item_id: string;
70028
+ _reden: string;
70029
+ _station_slug: string;
70030
+ };
70031
+ Returns: undefined;
70032
+ };
69037
70033
  process_logistics_event: {
69038
70034
  Args: {
69039
70035
  p_event_id: string;
@@ -69188,6 +70184,12 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
69188
70184
  };
69189
70185
  Returns: string;
69190
70186
  };
70187
+ resolve_print_job_printer_id: {
70188
+ Args: {
70189
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
70190
+ };
70191
+ Returns: string;
70192
+ };
69191
70193
  resolve_product_id_for_item: {
69192
70194
  Args: {
69193
70195
  p_product_name: string;
@@ -69779,7 +70781,7 @@ export declare const listOrdersInBufferOfOrder: import("@tanstack/start-client-c
69779
70781
  };
69780
70782
  CompositeTypes: { [_ in never]: never; };
69781
70783
  }, {
69782
- PostgrestVersion: "14.17";
70784
+ PostgrestVersion: "14.5";
69783
70785
  }>;
69784
70786
  userId: string;
69785
70787
  claims: import("@supabase/auth-js").User;