@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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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 listOpenStockConsumptionAlerts: import("@tanstack/start-cli
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;
@@ -26120,6 +26454,84 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
26120
26454
  };
26121
26455
  Relationships: [];
26122
26456
  };
26457
+ delivery_notes: {
26458
+ Row: {
26459
+ byte_size: number | null;
26460
+ connection_id: string | null;
26461
+ content_type: string;
26462
+ created_at: string;
26463
+ error_message: string | null;
26464
+ fetched_at: string | null;
26465
+ fulfillment_order_id: string | null;
26466
+ http_status: number | null;
26467
+ id: string;
26468
+ label_code: string | null;
26469
+ letter: string | null;
26470
+ load_carrier_index: number | null;
26471
+ load_carrier_type: string | null;
26472
+ order_id: string | null;
26473
+ order_number: string | null;
26474
+ packages: number | null;
26475
+ source: string;
26476
+ status: string;
26477
+ storage_bucket: string;
26478
+ storage_path: string | null;
26479
+ updated_at: string;
26480
+ };
26481
+ Insert: {
26482
+ byte_size?: number | null;
26483
+ connection_id?: string | null;
26484
+ content_type?: string;
26485
+ created_at?: string;
26486
+ error_message?: string | null;
26487
+ fetched_at?: string | null;
26488
+ fulfillment_order_id?: string | null;
26489
+ http_status?: number | null;
26490
+ id?: string;
26491
+ label_code?: string | null;
26492
+ letter?: string | null;
26493
+ load_carrier_index?: number | null;
26494
+ load_carrier_type?: string | null;
26495
+ order_id?: string | null;
26496
+ order_number?: string | null;
26497
+ packages?: number | null;
26498
+ source?: string;
26499
+ status?: string;
26500
+ storage_bucket?: string;
26501
+ storage_path?: string | null;
26502
+ updated_at?: string;
26503
+ };
26504
+ Update: {
26505
+ byte_size?: number | null;
26506
+ connection_id?: string | null;
26507
+ content_type?: string;
26508
+ created_at?: string;
26509
+ error_message?: string | null;
26510
+ fetched_at?: string | null;
26511
+ fulfillment_order_id?: string | null;
26512
+ http_status?: number | null;
26513
+ id?: string;
26514
+ label_code?: string | null;
26515
+ letter?: string | null;
26516
+ load_carrier_index?: number | null;
26517
+ load_carrier_type?: string | null;
26518
+ order_id?: string | null;
26519
+ order_number?: string | null;
26520
+ packages?: number | null;
26521
+ source?: string;
26522
+ status?: string;
26523
+ storage_bucket?: string;
26524
+ storage_path?: string | null;
26525
+ updated_at?: string;
26526
+ };
26527
+ Relationships: [{
26528
+ foreignKeyName: "delivery_notes_order_id_fkey";
26529
+ columns: ["order_id"];
26530
+ isOneToOne: false;
26531
+ referencedRelation: "orders";
26532
+ referencedColumns: ["id"];
26533
+ }];
26534
+ };
26123
26535
  document_bronregels: {
26124
26536
  Row: {
26125
26537
  bron: string;
@@ -29173,10 +29585,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
29173
29585
  };
29174
29586
  floriday_connections: {
29175
29587
  Row: {
29176
- access_token: string | null;
29177
29588
  api_key: string;
29178
- client_id: string;
29179
- client_secret: string;
29180
29589
  created_at: string;
29181
29590
  customers_endpoint: string | null;
29182
29591
  environment: string;
@@ -29191,10 +29600,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
29191
29600
  updated_at: string;
29192
29601
  };
29193
29602
  Insert: {
29194
- access_token?: string | null;
29195
29603
  api_key: string;
29196
- client_id: string;
29197
- client_secret: string;
29198
29604
  created_at?: string;
29199
29605
  customers_endpoint?: string | null;
29200
29606
  environment: string;
@@ -29209,10 +29615,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
29209
29615
  updated_at?: string;
29210
29616
  };
29211
29617
  Update: {
29212
- access_token?: string | null;
29213
29618
  api_key?: string;
29214
- client_id?: string;
29215
- client_secret?: string;
29216
29619
  created_at?: string;
29217
29620
  customers_endpoint?: string | null;
29218
29621
  environment?: string;
@@ -36845,6 +37248,39 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36845
37248
  };
36846
37249
  Relationships: [];
36847
37250
  };
37251
+ print_dedupe_events: {
37252
+ Row: {
37253
+ bestaande_job_id: string | null;
37254
+ created_at: string;
37255
+ detail: string | null;
37256
+ documentnaam: string | null;
37257
+ documenttype: string | null;
37258
+ id: string;
37259
+ idempotentie_sleutel: string;
37260
+ reden: string;
37261
+ };
37262
+ Insert: {
37263
+ bestaande_job_id?: string | null;
37264
+ created_at?: string;
37265
+ detail?: string | null;
37266
+ documentnaam?: string | null;
37267
+ documenttype?: string | null;
37268
+ id?: string;
37269
+ idempotentie_sleutel: string;
37270
+ reden: string;
37271
+ };
37272
+ Update: {
37273
+ bestaande_job_id?: string | null;
37274
+ created_at?: string;
37275
+ detail?: string | null;
37276
+ documentnaam?: string | null;
37277
+ documenttype?: string | null;
37278
+ id?: string;
37279
+ idempotentie_sleutel?: string;
37280
+ reden?: string;
37281
+ };
37282
+ Relationships: [];
37283
+ };
36848
37284
  print_job_logs: {
36849
37285
  Row: {
36850
37286
  created_at: string;
@@ -36895,6 +37331,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36895
37331
  is_herprint: boolean;
36896
37332
  kopieen: number;
36897
37333
  layout_id: string | null;
37334
+ lokaal_opgeslagen_op: string | null;
37335
+ lokale_pdf_fout: string | null;
37336
+ lokale_pdf_status: string | null;
36898
37337
  opgepakt_op: string | null;
36899
37338
  paginas: number;
36900
37339
  payload: import("../integrations/supabase/types").Json;
@@ -36903,6 +37342,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36903
37342
  pogingen: number;
36904
37343
  printer_id: string | null;
36905
37344
  render_html: string | null;
37345
+ resultaat_pdf_base64: string | null;
36906
37346
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36907
37347
  updated_at: string;
36908
37348
  volgende_poging: string | null;
@@ -36927,6 +37367,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36927
37367
  is_herprint?: boolean;
36928
37368
  kopieen?: number;
36929
37369
  layout_id?: string | null;
37370
+ lokaal_opgeslagen_op?: string | null;
37371
+ lokale_pdf_fout?: string | null;
37372
+ lokale_pdf_status?: string | null;
36930
37373
  opgepakt_op?: string | null;
36931
37374
  paginas?: number;
36932
37375
  payload?: import("../integrations/supabase/types").Json;
@@ -36935,6 +37378,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36935
37378
  pogingen?: number;
36936
37379
  printer_id?: string | null;
36937
37380
  render_html?: string | null;
37381
+ resultaat_pdf_base64?: string | null;
36938
37382
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36939
37383
  updated_at?: string;
36940
37384
  volgende_poging?: string | null;
@@ -36959,6 +37403,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36959
37403
  is_herprint?: boolean;
36960
37404
  kopieen?: number;
36961
37405
  layout_id?: string | null;
37406
+ lokaal_opgeslagen_op?: string | null;
37407
+ lokale_pdf_fout?: string | null;
37408
+ lokale_pdf_status?: string | null;
36962
37409
  opgepakt_op?: string | null;
36963
37410
  paginas?: number;
36964
37411
  payload?: import("../integrations/supabase/types").Json;
@@ -36967,6 +37414,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36967
37414
  pogingen?: number;
36968
37415
  printer_id?: string | null;
36969
37416
  render_html?: string | null;
37417
+ resultaat_pdf_base64?: string | null;
36970
37418
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36971
37419
  updated_at?: string;
36972
37420
  volgende_poging?: string | null;
@@ -37085,6 +37533,39 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37085
37533
  };
37086
37534
  Relationships: [];
37087
37535
  };
37536
+ print_preview_events: {
37537
+ Row: {
37538
+ code: string | null;
37539
+ created_at: string;
37540
+ detail: import("../integrations/supabase/types").Json;
37541
+ id: string;
37542
+ queue_item_id: string | null;
37543
+ reden: string | null;
37544
+ station_slug: string | null;
37545
+ uitkomst: string;
37546
+ };
37547
+ Insert: {
37548
+ code?: string | null;
37549
+ created_at?: string;
37550
+ detail?: import("../integrations/supabase/types").Json;
37551
+ id?: string;
37552
+ queue_item_id?: string | null;
37553
+ reden?: string | null;
37554
+ station_slug?: string | null;
37555
+ uitkomst?: string;
37556
+ };
37557
+ Update: {
37558
+ code?: string | null;
37559
+ created_at?: string;
37560
+ detail?: import("../integrations/supabase/types").Json;
37561
+ id?: string;
37562
+ queue_item_id?: string | null;
37563
+ reden?: string | null;
37564
+ station_slug?: string | null;
37565
+ uitkomst?: string;
37566
+ };
37567
+ Relationships: [];
37568
+ };
37088
37569
  print_queue_runners: {
37089
37570
  Row: {
37090
37571
  actief: boolean;
@@ -37324,6 +37805,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37324
37805
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37325
37806
  online: boolean;
37326
37807
  papierformaat: string;
37808
+ pdf_map: string | null;
37327
37809
  poort: number | null;
37328
37810
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37329
37811
  systeemnaam: string;
@@ -37349,6 +37831,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37349
37831
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37350
37832
  online?: boolean;
37351
37833
  papierformaat?: string;
37834
+ pdf_map?: string | null;
37352
37835
  poort?: number | null;
37353
37836
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37354
37837
  systeemnaam?: string;
@@ -37374,6 +37857,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37374
37857
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37375
37858
  online?: boolean;
37376
37859
  papierformaat?: string;
37860
+ pdf_map?: string | null;
37377
37861
  poort?: number | null;
37378
37862
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37379
37863
  systeemnaam?: string;
@@ -43630,6 +44114,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43630
44114
  is_herprint: boolean;
43631
44115
  kopieen: number;
43632
44116
  layout_id: string | null;
44117
+ lokaal_opgeslagen_op: string | null;
44118
+ lokale_pdf_fout: string | null;
44119
+ lokale_pdf_status: string | null;
43633
44120
  opgepakt_op: string | null;
43634
44121
  paginas: number;
43635
44122
  payload: import("../integrations/supabase/types").Json;
@@ -43638,6 +44125,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43638
44125
  pogingen: number;
43639
44126
  printer_id: string | null;
43640
44127
  render_html: string | null;
44128
+ resultaat_pdf_base64: string | null;
43641
44129
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43642
44130
  updated_at: string;
43643
44131
  volgende_poging: string | null;
@@ -43729,6 +44217,53 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43729
44217
  isSetofReturn: true;
43730
44218
  };
43731
44219
  };
44220
+ claim_pdf_print_jobs: {
44221
+ Args: {
44222
+ _max?: number;
44223
+ };
44224
+ Returns: {
44225
+ agent_id: string | null;
44226
+ bron_job_id: string | null;
44227
+ created_at: string;
44228
+ documentnaam: string;
44229
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44230
+ extern_job_id: string | null;
44231
+ foutmelding: string | null;
44232
+ gebruiker_id: string | null;
44233
+ gebruiker_naam: string;
44234
+ gebruikte_bron: string | null;
44235
+ gebruikte_layout_id: string | null;
44236
+ gestart_op: string | null;
44237
+ herkomst: string | null;
44238
+ id: string;
44239
+ idempotentie_sleutel: string | null;
44240
+ is_herprint: boolean;
44241
+ kopieen: number;
44242
+ layout_id: string | null;
44243
+ lokaal_opgeslagen_op: string | null;
44244
+ lokale_pdf_fout: string | null;
44245
+ lokale_pdf_status: string | null;
44246
+ opgepakt_op: string | null;
44247
+ paginas: number;
44248
+ payload: import("../integrations/supabase/types").Json;
44249
+ pdf_base64: string | null;
44250
+ pdf_url: string | null;
44251
+ pogingen: number;
44252
+ printer_id: string | null;
44253
+ render_html: string | null;
44254
+ resultaat_pdf_base64: string | null;
44255
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44256
+ updated_at: string;
44257
+ volgende_poging: string | null;
44258
+ voltooid_op: string | null;
44259
+ }[];
44260
+ SetofOptions: {
44261
+ from: "*";
44262
+ to: "print_jobs";
44263
+ isOneToOne: false;
44264
+ isSetofReturn: true;
44265
+ };
44266
+ };
43732
44267
  claim_print_jobs: {
43733
44268
  Args: {
43734
44269
  _agent_id: string;
@@ -43753,6 +44288,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43753
44288
  is_herprint: boolean;
43754
44289
  kopieen: number;
43755
44290
  layout_id: string | null;
44291
+ lokaal_opgeslagen_op: string | null;
44292
+ lokale_pdf_fout: string | null;
44293
+ lokale_pdf_status: string | null;
43756
44294
  opgepakt_op: string | null;
43757
44295
  paginas: number;
43758
44296
  payload: import("../integrations/supabase/types").Json;
@@ -43761,6 +44299,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43761
44299
  pogingen: number;
43762
44300
  printer_id: string | null;
43763
44301
  render_html: string | null;
44302
+ resultaat_pdf_base64: string | null;
43764
44303
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43765
44304
  updated_at: string;
43766
44305
  volgende_poging: string | null;
@@ -43901,6 +44440,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43901
44440
  order_id: string;
43902
44441
  order_source: string;
43903
44442
  pick_date: string;
44443
+ printed_at: string;
44444
+ printed_today: boolean;
43904
44445
  status: string;
43905
44446
  }[];
43906
44447
  };
@@ -44609,6 +45150,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44609
45150
  };
44610
45151
  Returns: number;
44611
45152
  };
45153
+ logistics_cancel_orphan_tasks: {
45154
+ Args: never;
45155
+ Returns: number;
45156
+ };
44612
45157
  logistics_capacity_day_check: {
44613
45158
  Args: {
44614
45159
  p_from?: string;
@@ -44629,6 +45174,25 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44629
45174
  };
44630
45175
  Returns: number;
44631
45176
  };
45177
+ logistics_cart_index: {
45178
+ Args: {
45179
+ p_from?: string;
45180
+ p_to?: string;
45181
+ };
45182
+ Returns: {
45183
+ cart_id: string;
45184
+ cart_index: number;
45185
+ cart_label: string;
45186
+ is_shared: boolean;
45187
+ order_number: string;
45188
+ order_source: string;
45189
+ order_uuid: string;
45190
+ pick_date: string;
45191
+ printed_at: string;
45192
+ shifted: boolean;
45193
+ task_status: string;
45194
+ }[];
45195
+ };
44632
45196
  logistics_check_order_allowed: {
44633
45197
  Args: {
44634
45198
  p_lines: import("../integrations/supabase/types").Json;
@@ -44777,6 +45341,17 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44777
45341
  isSetofReturn: false;
44778
45342
  };
44779
45343
  };
45344
+ logistics_consistency_check: {
45345
+ Args: never;
45346
+ Returns: {
45347
+ agenda_carts: number;
45348
+ control_carts: number;
45349
+ ok: boolean;
45350
+ orphan_tasks: number;
45351
+ pick_date: string;
45352
+ raw_carts: number;
45353
+ }[];
45354
+ };
44780
45355
  logistics_delay_customer_email: {
44781
45356
  Args: {
44782
45357
  p_customer: string;
@@ -44866,6 +45441,16 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44866
45441
  isSetofReturn: false;
44867
45442
  };
44868
45443
  };
45444
+ logistics_floriday_cart_plan: {
45445
+ Args: {
45446
+ p_order_id: string;
45447
+ };
45448
+ Returns: {
45449
+ carrier_type: string;
45450
+ idx: number;
45451
+ packages: number;
45452
+ }[];
45453
+ };
44869
45454
  logistics_floriday_claim_pushes: {
44870
45455
  Args: {
44871
45456
  _lease_seconds?: number;
@@ -44970,6 +45555,25 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44970
45555
  };
44971
45556
  Returns: number;
44972
45557
  };
45558
+ logistics_order_overview: {
45559
+ Args: {
45560
+ p_from?: string;
45561
+ p_to?: string;
45562
+ };
45563
+ Returns: {
45564
+ cart_count: number;
45565
+ customer_name: string;
45566
+ delivery_date: string;
45567
+ order_number: string;
45568
+ order_source: string;
45569
+ order_uuid: string;
45570
+ pick_date: string;
45571
+ plant_count: number;
45572
+ printed_at: string;
45573
+ shifted: boolean;
45574
+ status: string;
45575
+ }[];
45576
+ };
44973
45577
  logistics_order_pick_day: {
44974
45578
  Args: {
44975
45579
  p_order_ref: string;
@@ -44982,6 +45586,22 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44982
45586
  };
44983
45587
  Returns: string;
44984
45588
  };
45589
+ logistics_pick_agenda: {
45590
+ Args: {
45591
+ p_from?: string;
45592
+ p_to?: string;
45593
+ };
45594
+ Returns: {
45595
+ cart_count: number;
45596
+ in_preparation: number;
45597
+ order_count: number;
45598
+ orders: import("../integrations/supabase/types").Json;
45599
+ pick_date: string;
45600
+ plant_count: number;
45601
+ ready: number;
45602
+ shifted_count: number;
45603
+ }[];
45604
+ };
44985
45605
  logistics_pick_email_purpose: {
44986
45606
  Args: never;
44987
45607
  Returns: string;
@@ -45036,6 +45656,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45036
45656
  };
45037
45657
  Returns: undefined;
45038
45658
  };
45659
+ logistics_plan_floriday_order: {
45660
+ Args: {
45661
+ p_buffer_id?: string;
45662
+ p_order_id: string;
45663
+ };
45664
+ Returns: number;
45665
+ };
45039
45666
  logistics_plan_impact_orders: {
45040
45667
  Args: {
45041
45668
  p_order_id: string;
@@ -45141,6 +45768,15 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45141
45768
  };
45142
45769
  Returns: import("../integrations/supabase/types").Json;
45143
45770
  };
45771
+ logistics_resolve_pick_document: {
45772
+ Args: {
45773
+ _is_herprint: boolean;
45774
+ _queue_item_id: string;
45775
+ _session_id: string;
45776
+ _voorbeeld: boolean;
45777
+ };
45778
+ Returns: import("../integrations/supabase/types").Json;
45779
+ };
45144
45780
  logistics_resolve_settings: {
45145
45781
  Args: {
45146
45782
  p_config_id: string;
@@ -45581,6 +46217,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45581
46217
  };
45582
46218
  pick_enqueue_print_job: {
45583
46219
  Args: {
46220
+ _is_herprint?: boolean;
45584
46221
  _printer_id?: string;
45585
46222
  _queue_item_id: string;
45586
46223
  _session_id?: string;
@@ -45594,6 +46231,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45594
46231
  };
45595
46232
  Returns: import("../integrations/supabase/types").Json;
45596
46233
  };
46234
+ pick_preview_job: {
46235
+ Args: {
46236
+ _queue_item_id: string;
46237
+ _station_slug: string;
46238
+ };
46239
+ Returns: import("../integrations/supabase/types").Json;
46240
+ };
45597
46241
  pick_print_job_status: {
45598
46242
  Args: {
45599
46243
  _job_id: string;
@@ -45771,6 +46415,24 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45771
46415
  };
45772
46416
  Returns: undefined;
45773
46417
  };
46418
+ print_preview_toestaan: {
46419
+ Args: {
46420
+ _max?: number;
46421
+ _queue_item_id: string;
46422
+ _station_slug: string;
46423
+ _venster_sec?: number;
46424
+ };
46425
+ Returns: import("../integrations/supabase/types").Json;
46426
+ };
46427
+ print_preview_weiger: {
46428
+ Args: {
46429
+ _code: string;
46430
+ _queue_item_id: string;
46431
+ _reden: string;
46432
+ _station_slug: string;
46433
+ };
46434
+ Returns: undefined;
46435
+ };
45774
46436
  process_logistics_event: {
45775
46437
  Args: {
45776
46438
  p_event_id: string;
@@ -45925,6 +46587,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45925
46587
  };
45926
46588
  Returns: string;
45927
46589
  };
46590
+ resolve_print_job_printer_id: {
46591
+ Args: {
46592
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46593
+ };
46594
+ Returns: string;
46595
+ };
45928
46596
  resolve_product_id_for_item: {
45929
46597
  Args: {
45930
46598
  p_product_name: string;
@@ -46516,7 +47184,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
46516
47184
  };
46517
47185
  CompositeTypes: { [_ in never]: never; };
46518
47186
  }, {
46519
- PostgrestVersion: "14.17";
47187
+ PostgrestVersion: "14.5";
46520
47188
  }>;
46521
47189
  userId: string;
46522
47190
  claims: import("@supabase/auth-js").User;