@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
@@ -2897,6 +2897,84 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
2897
2897
  };
2898
2898
  Relationships: [];
2899
2899
  };
2900
+ delivery_notes: {
2901
+ Row: {
2902
+ byte_size: number | null;
2903
+ connection_id: string | null;
2904
+ content_type: string;
2905
+ created_at: string;
2906
+ error_message: string | null;
2907
+ fetched_at: string | null;
2908
+ fulfillment_order_id: string | null;
2909
+ http_status: number | null;
2910
+ id: string;
2911
+ label_code: string | null;
2912
+ letter: string | null;
2913
+ load_carrier_index: number | null;
2914
+ load_carrier_type: string | null;
2915
+ order_id: string | null;
2916
+ order_number: string | null;
2917
+ packages: number | null;
2918
+ source: string;
2919
+ status: string;
2920
+ storage_bucket: string;
2921
+ storage_path: string | null;
2922
+ updated_at: string;
2923
+ };
2924
+ Insert: {
2925
+ byte_size?: number | null;
2926
+ connection_id?: string | null;
2927
+ content_type?: string;
2928
+ created_at?: string;
2929
+ error_message?: string | null;
2930
+ fetched_at?: string | null;
2931
+ fulfillment_order_id?: string | null;
2932
+ http_status?: number | null;
2933
+ id?: string;
2934
+ label_code?: string | null;
2935
+ letter?: string | null;
2936
+ load_carrier_index?: number | null;
2937
+ load_carrier_type?: string | null;
2938
+ order_id?: string | null;
2939
+ order_number?: string | null;
2940
+ packages?: number | null;
2941
+ source?: string;
2942
+ status?: string;
2943
+ storage_bucket?: string;
2944
+ storage_path?: string | null;
2945
+ updated_at?: string;
2946
+ };
2947
+ Update: {
2948
+ byte_size?: number | null;
2949
+ connection_id?: string | null;
2950
+ content_type?: string;
2951
+ created_at?: string;
2952
+ error_message?: string | null;
2953
+ fetched_at?: string | null;
2954
+ fulfillment_order_id?: string | null;
2955
+ http_status?: number | null;
2956
+ id?: string;
2957
+ label_code?: string | null;
2958
+ letter?: string | null;
2959
+ load_carrier_index?: number | null;
2960
+ load_carrier_type?: string | null;
2961
+ order_id?: string | null;
2962
+ order_number?: string | null;
2963
+ packages?: number | null;
2964
+ source?: string;
2965
+ status?: string;
2966
+ storage_bucket?: string;
2967
+ storage_path?: string | null;
2968
+ updated_at?: string;
2969
+ };
2970
+ Relationships: [{
2971
+ foreignKeyName: "delivery_notes_order_id_fkey";
2972
+ columns: ["order_id"];
2973
+ isOneToOne: false;
2974
+ referencedRelation: "orders";
2975
+ referencedColumns: ["id"];
2976
+ }];
2977
+ };
2900
2978
  document_bronregels: {
2901
2979
  Row: {
2902
2980
  bron: string;
@@ -5950,10 +6028,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
5950
6028
  };
5951
6029
  floriday_connections: {
5952
6030
  Row: {
5953
- access_token: string | null;
5954
6031
  api_key: string;
5955
- client_id: string;
5956
- client_secret: string;
5957
6032
  created_at: string;
5958
6033
  customers_endpoint: string | null;
5959
6034
  environment: string;
@@ -5968,10 +6043,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
5968
6043
  updated_at: string;
5969
6044
  };
5970
6045
  Insert: {
5971
- access_token?: string | null;
5972
6046
  api_key: string;
5973
- client_id: string;
5974
- client_secret: string;
5975
6047
  created_at?: string;
5976
6048
  customers_endpoint?: string | null;
5977
6049
  environment: string;
@@ -5986,10 +6058,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
5986
6058
  updated_at?: string;
5987
6059
  };
5988
6060
  Update: {
5989
- access_token?: string | null;
5990
6061
  api_key?: string;
5991
- client_id?: string;
5992
- client_secret?: string;
5993
6062
  created_at?: string;
5994
6063
  customers_endpoint?: string | null;
5995
6064
  environment?: string;
@@ -13622,6 +13691,39 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13622
13691
  };
13623
13692
  Relationships: [];
13624
13693
  };
13694
+ print_dedupe_events: {
13695
+ Row: {
13696
+ bestaande_job_id: string | null;
13697
+ created_at: string;
13698
+ detail: string | null;
13699
+ documentnaam: string | null;
13700
+ documenttype: string | null;
13701
+ id: string;
13702
+ idempotentie_sleutel: string;
13703
+ reden: string;
13704
+ };
13705
+ Insert: {
13706
+ bestaande_job_id?: string | null;
13707
+ created_at?: string;
13708
+ detail?: string | null;
13709
+ documentnaam?: string | null;
13710
+ documenttype?: string | null;
13711
+ id?: string;
13712
+ idempotentie_sleutel: string;
13713
+ reden: string;
13714
+ };
13715
+ Update: {
13716
+ bestaande_job_id?: string | null;
13717
+ created_at?: string;
13718
+ detail?: string | null;
13719
+ documentnaam?: string | null;
13720
+ documenttype?: string | null;
13721
+ id?: string;
13722
+ idempotentie_sleutel?: string;
13723
+ reden?: string;
13724
+ };
13725
+ Relationships: [];
13726
+ };
13625
13727
  print_job_logs: {
13626
13728
  Row: {
13627
13729
  created_at: string;
@@ -13672,6 +13774,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13672
13774
  is_herprint: boolean;
13673
13775
  kopieen: number;
13674
13776
  layout_id: string | null;
13777
+ lokaal_opgeslagen_op: string | null;
13778
+ lokale_pdf_fout: string | null;
13779
+ lokale_pdf_status: string | null;
13675
13780
  opgepakt_op: string | null;
13676
13781
  paginas: number;
13677
13782
  payload: import("../integrations/supabase/types").Json;
@@ -13680,6 +13785,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13680
13785
  pogingen: number;
13681
13786
  printer_id: string | null;
13682
13787
  render_html: string | null;
13788
+ resultaat_pdf_base64: string | null;
13683
13789
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13684
13790
  updated_at: string;
13685
13791
  volgende_poging: string | null;
@@ -13704,6 +13810,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13704
13810
  is_herprint?: boolean;
13705
13811
  kopieen?: number;
13706
13812
  layout_id?: string | null;
13813
+ lokaal_opgeslagen_op?: string | null;
13814
+ lokale_pdf_fout?: string | null;
13815
+ lokale_pdf_status?: string | null;
13707
13816
  opgepakt_op?: string | null;
13708
13817
  paginas?: number;
13709
13818
  payload?: import("../integrations/supabase/types").Json;
@@ -13712,6 +13821,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13712
13821
  pogingen?: number;
13713
13822
  printer_id?: string | null;
13714
13823
  render_html?: string | null;
13824
+ resultaat_pdf_base64?: string | null;
13715
13825
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13716
13826
  updated_at?: string;
13717
13827
  volgende_poging?: string | null;
@@ -13736,6 +13846,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13736
13846
  is_herprint?: boolean;
13737
13847
  kopieen?: number;
13738
13848
  layout_id?: string | null;
13849
+ lokaal_opgeslagen_op?: string | null;
13850
+ lokale_pdf_fout?: string | null;
13851
+ lokale_pdf_status?: string | null;
13739
13852
  opgepakt_op?: string | null;
13740
13853
  paginas?: number;
13741
13854
  payload?: import("../integrations/supabase/types").Json;
@@ -13744,6 +13857,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13744
13857
  pogingen?: number;
13745
13858
  printer_id?: string | null;
13746
13859
  render_html?: string | null;
13860
+ resultaat_pdf_base64?: string | null;
13747
13861
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13748
13862
  updated_at?: string;
13749
13863
  volgende_poging?: string | null;
@@ -13862,6 +13976,39 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
13862
13976
  };
13863
13977
  Relationships: [];
13864
13978
  };
13979
+ print_preview_events: {
13980
+ Row: {
13981
+ code: string | null;
13982
+ created_at: string;
13983
+ detail: import("../integrations/supabase/types").Json;
13984
+ id: string;
13985
+ queue_item_id: string | null;
13986
+ reden: string | null;
13987
+ station_slug: string | null;
13988
+ uitkomst: string;
13989
+ };
13990
+ Insert: {
13991
+ code?: string | null;
13992
+ created_at?: string;
13993
+ detail?: import("../integrations/supabase/types").Json;
13994
+ id?: string;
13995
+ queue_item_id?: string | null;
13996
+ reden?: string | null;
13997
+ station_slug?: string | null;
13998
+ uitkomst?: string;
13999
+ };
14000
+ Update: {
14001
+ code?: string | null;
14002
+ created_at?: string;
14003
+ detail?: import("../integrations/supabase/types").Json;
14004
+ id?: string;
14005
+ queue_item_id?: string | null;
14006
+ reden?: string | null;
14007
+ station_slug?: string | null;
14008
+ uitkomst?: string;
14009
+ };
14010
+ Relationships: [];
14011
+ };
13865
14012
  print_queue_runners: {
13866
14013
  Row: {
13867
14014
  actief: boolean;
@@ -14101,6 +14248,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
14101
14248
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14102
14249
  online: boolean;
14103
14250
  papierformaat: string;
14251
+ pdf_map: string | null;
14104
14252
  poort: number | null;
14105
14253
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14106
14254
  systeemnaam: string;
@@ -14126,6 +14274,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
14126
14274
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14127
14275
  online?: boolean;
14128
14276
  papierformaat?: string;
14277
+ pdf_map?: string | null;
14129
14278
  poort?: number | null;
14130
14279
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14131
14280
  systeemnaam?: string;
@@ -14151,6 +14300,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
14151
14300
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14152
14301
  online?: boolean;
14153
14302
  papierformaat?: string;
14303
+ pdf_map?: string | null;
14154
14304
  poort?: number | null;
14155
14305
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14156
14306
  systeemnaam?: string;
@@ -20407,6 +20557,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
20407
20557
  is_herprint: boolean;
20408
20558
  kopieen: number;
20409
20559
  layout_id: string | null;
20560
+ lokaal_opgeslagen_op: string | null;
20561
+ lokale_pdf_fout: string | null;
20562
+ lokale_pdf_status: string | null;
20410
20563
  opgepakt_op: string | null;
20411
20564
  paginas: number;
20412
20565
  payload: import("../integrations/supabase/types").Json;
@@ -20415,6 +20568,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
20415
20568
  pogingen: number;
20416
20569
  printer_id: string | null;
20417
20570
  render_html: string | null;
20571
+ resultaat_pdf_base64: string | null;
20418
20572
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20419
20573
  updated_at: string;
20420
20574
  volgende_poging: string | null;
@@ -20506,6 +20660,53 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
20506
20660
  isSetofReturn: true;
20507
20661
  };
20508
20662
  };
20663
+ claim_pdf_print_jobs: {
20664
+ Args: {
20665
+ _max?: number;
20666
+ };
20667
+ Returns: {
20668
+ agent_id: string | null;
20669
+ bron_job_id: string | null;
20670
+ created_at: string;
20671
+ documentnaam: string;
20672
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20673
+ extern_job_id: string | null;
20674
+ foutmelding: string | null;
20675
+ gebruiker_id: string | null;
20676
+ gebruiker_naam: string;
20677
+ gebruikte_bron: string | null;
20678
+ gebruikte_layout_id: string | null;
20679
+ gestart_op: string | null;
20680
+ herkomst: string | null;
20681
+ id: string;
20682
+ idempotentie_sleutel: string | null;
20683
+ is_herprint: boolean;
20684
+ kopieen: number;
20685
+ layout_id: string | null;
20686
+ lokaal_opgeslagen_op: string | null;
20687
+ lokale_pdf_fout: string | null;
20688
+ lokale_pdf_status: string | null;
20689
+ opgepakt_op: string | null;
20690
+ paginas: number;
20691
+ payload: import("../integrations/supabase/types").Json;
20692
+ pdf_base64: string | null;
20693
+ pdf_url: string | null;
20694
+ pogingen: number;
20695
+ printer_id: string | null;
20696
+ render_html: string | null;
20697
+ resultaat_pdf_base64: string | null;
20698
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20699
+ updated_at: string;
20700
+ volgende_poging: string | null;
20701
+ voltooid_op: string | null;
20702
+ }[];
20703
+ SetofOptions: {
20704
+ from: "*";
20705
+ to: "print_jobs";
20706
+ isOneToOne: false;
20707
+ isSetofReturn: true;
20708
+ };
20709
+ };
20509
20710
  claim_print_jobs: {
20510
20711
  Args: {
20511
20712
  _agent_id: string;
@@ -20530,6 +20731,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
20530
20731
  is_herprint: boolean;
20531
20732
  kopieen: number;
20532
20733
  layout_id: string | null;
20734
+ lokaal_opgeslagen_op: string | null;
20735
+ lokale_pdf_fout: string | null;
20736
+ lokale_pdf_status: string | null;
20533
20737
  opgepakt_op: string | null;
20534
20738
  paginas: number;
20535
20739
  payload: import("../integrations/supabase/types").Json;
@@ -20538,6 +20742,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
20538
20742
  pogingen: number;
20539
20743
  printer_id: string | null;
20540
20744
  render_html: string | null;
20745
+ resultaat_pdf_base64: string | null;
20541
20746
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20542
20747
  updated_at: string;
20543
20748
  volgende_poging: string | null;
@@ -20678,6 +20883,8 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
20678
20883
  order_id: string;
20679
20884
  order_source: string;
20680
20885
  pick_date: string;
20886
+ printed_at: string;
20887
+ printed_today: boolean;
20681
20888
  status: string;
20682
20889
  }[];
20683
20890
  };
@@ -21386,6 +21593,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21386
21593
  };
21387
21594
  Returns: number;
21388
21595
  };
21596
+ logistics_cancel_orphan_tasks: {
21597
+ Args: never;
21598
+ Returns: number;
21599
+ };
21389
21600
  logistics_capacity_day_check: {
21390
21601
  Args: {
21391
21602
  p_from?: string;
@@ -21406,6 +21617,25 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21406
21617
  };
21407
21618
  Returns: number;
21408
21619
  };
21620
+ logistics_cart_index: {
21621
+ Args: {
21622
+ p_from?: string;
21623
+ p_to?: string;
21624
+ };
21625
+ Returns: {
21626
+ cart_id: string;
21627
+ cart_index: number;
21628
+ cart_label: string;
21629
+ is_shared: boolean;
21630
+ order_number: string;
21631
+ order_source: string;
21632
+ order_uuid: string;
21633
+ pick_date: string;
21634
+ printed_at: string;
21635
+ shifted: boolean;
21636
+ task_status: string;
21637
+ }[];
21638
+ };
21409
21639
  logistics_check_order_allowed: {
21410
21640
  Args: {
21411
21641
  p_lines: import("../integrations/supabase/types").Json;
@@ -21554,6 +21784,17 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21554
21784
  isSetofReturn: false;
21555
21785
  };
21556
21786
  };
21787
+ logistics_consistency_check: {
21788
+ Args: never;
21789
+ Returns: {
21790
+ agenda_carts: number;
21791
+ control_carts: number;
21792
+ ok: boolean;
21793
+ orphan_tasks: number;
21794
+ pick_date: string;
21795
+ raw_carts: number;
21796
+ }[];
21797
+ };
21557
21798
  logistics_delay_customer_email: {
21558
21799
  Args: {
21559
21800
  p_customer: string;
@@ -21643,6 +21884,16 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21643
21884
  isSetofReturn: false;
21644
21885
  };
21645
21886
  };
21887
+ logistics_floriday_cart_plan: {
21888
+ Args: {
21889
+ p_order_id: string;
21890
+ };
21891
+ Returns: {
21892
+ carrier_type: string;
21893
+ idx: number;
21894
+ packages: number;
21895
+ }[];
21896
+ };
21646
21897
  logistics_floriday_claim_pushes: {
21647
21898
  Args: {
21648
21899
  _lease_seconds?: number;
@@ -21747,6 +21998,25 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21747
21998
  };
21748
21999
  Returns: number;
21749
22000
  };
22001
+ logistics_order_overview: {
22002
+ Args: {
22003
+ p_from?: string;
22004
+ p_to?: string;
22005
+ };
22006
+ Returns: {
22007
+ cart_count: number;
22008
+ customer_name: string;
22009
+ delivery_date: string;
22010
+ order_number: string;
22011
+ order_source: string;
22012
+ order_uuid: string;
22013
+ pick_date: string;
22014
+ plant_count: number;
22015
+ printed_at: string;
22016
+ shifted: boolean;
22017
+ status: string;
22018
+ }[];
22019
+ };
21750
22020
  logistics_order_pick_day: {
21751
22021
  Args: {
21752
22022
  p_order_ref: string;
@@ -21759,6 +22029,22 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21759
22029
  };
21760
22030
  Returns: string;
21761
22031
  };
22032
+ logistics_pick_agenda: {
22033
+ Args: {
22034
+ p_from?: string;
22035
+ p_to?: string;
22036
+ };
22037
+ Returns: {
22038
+ cart_count: number;
22039
+ in_preparation: number;
22040
+ order_count: number;
22041
+ orders: import("../integrations/supabase/types").Json;
22042
+ pick_date: string;
22043
+ plant_count: number;
22044
+ ready: number;
22045
+ shifted_count: number;
22046
+ }[];
22047
+ };
21762
22048
  logistics_pick_email_purpose: {
21763
22049
  Args: never;
21764
22050
  Returns: string;
@@ -21813,6 +22099,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21813
22099
  };
21814
22100
  Returns: undefined;
21815
22101
  };
22102
+ logistics_plan_floriday_order: {
22103
+ Args: {
22104
+ p_buffer_id?: string;
22105
+ p_order_id: string;
22106
+ };
22107
+ Returns: number;
22108
+ };
21816
22109
  logistics_plan_impact_orders: {
21817
22110
  Args: {
21818
22111
  p_order_id: string;
@@ -21918,6 +22211,15 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
21918
22211
  };
21919
22212
  Returns: import("../integrations/supabase/types").Json;
21920
22213
  };
22214
+ logistics_resolve_pick_document: {
22215
+ Args: {
22216
+ _is_herprint: boolean;
22217
+ _queue_item_id: string;
22218
+ _session_id: string;
22219
+ _voorbeeld: boolean;
22220
+ };
22221
+ Returns: import("../integrations/supabase/types").Json;
22222
+ };
21921
22223
  logistics_resolve_settings: {
21922
22224
  Args: {
21923
22225
  p_config_id: string;
@@ -22358,6 +22660,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22358
22660
  };
22359
22661
  pick_enqueue_print_job: {
22360
22662
  Args: {
22663
+ _is_herprint?: boolean;
22361
22664
  _printer_id?: string;
22362
22665
  _queue_item_id: string;
22363
22666
  _session_id?: string;
@@ -22371,6 +22674,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22371
22674
  };
22372
22675
  Returns: import("../integrations/supabase/types").Json;
22373
22676
  };
22677
+ pick_preview_job: {
22678
+ Args: {
22679
+ _queue_item_id: string;
22680
+ _station_slug: string;
22681
+ };
22682
+ Returns: import("../integrations/supabase/types").Json;
22683
+ };
22374
22684
  pick_print_job_status: {
22375
22685
  Args: {
22376
22686
  _job_id: string;
@@ -22548,6 +22858,24 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22548
22858
  };
22549
22859
  Returns: undefined;
22550
22860
  };
22861
+ print_preview_toestaan: {
22862
+ Args: {
22863
+ _max?: number;
22864
+ _queue_item_id: string;
22865
+ _station_slug: string;
22866
+ _venster_sec?: number;
22867
+ };
22868
+ Returns: import("../integrations/supabase/types").Json;
22869
+ };
22870
+ print_preview_weiger: {
22871
+ Args: {
22872
+ _code: string;
22873
+ _queue_item_id: string;
22874
+ _reden: string;
22875
+ _station_slug: string;
22876
+ };
22877
+ Returns: undefined;
22878
+ };
22551
22879
  process_logistics_event: {
22552
22880
  Args: {
22553
22881
  p_event_id: string;
@@ -22702,6 +23030,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
22702
23030
  };
22703
23031
  Returns: string;
22704
23032
  };
23033
+ resolve_print_job_printer_id: {
23034
+ Args: {
23035
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23036
+ };
23037
+ Returns: string;
23038
+ };
22705
23039
  resolve_product_id_for_item: {
22706
23040
  Args: {
22707
23041
  p_product_name: string;
@@ -23293,7 +23627,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
23293
23627
  };
23294
23628
  CompositeTypes: { [_ in never]: never; };
23295
23629
  }, {
23296
- PostgrestVersion: "14.17";
23630
+ PostgrestVersion: "14.5";
23297
23631
  }>;
23298
23632
  userId: string;
23299
23633
  claims: import("@supabase/auth-js").User;
@@ -26172,6 +26506,84 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
26172
26506
  };
26173
26507
  Relationships: [];
26174
26508
  };
26509
+ delivery_notes: {
26510
+ Row: {
26511
+ byte_size: number | null;
26512
+ connection_id: string | null;
26513
+ content_type: string;
26514
+ created_at: string;
26515
+ error_message: string | null;
26516
+ fetched_at: string | null;
26517
+ fulfillment_order_id: string | null;
26518
+ http_status: number | null;
26519
+ id: string;
26520
+ label_code: string | null;
26521
+ letter: string | null;
26522
+ load_carrier_index: number | null;
26523
+ load_carrier_type: string | null;
26524
+ order_id: string | null;
26525
+ order_number: string | null;
26526
+ packages: number | null;
26527
+ source: string;
26528
+ status: string;
26529
+ storage_bucket: string;
26530
+ storage_path: string | null;
26531
+ updated_at: string;
26532
+ };
26533
+ Insert: {
26534
+ byte_size?: number | null;
26535
+ connection_id?: string | null;
26536
+ content_type?: string;
26537
+ created_at?: string;
26538
+ error_message?: string | null;
26539
+ fetched_at?: string | null;
26540
+ fulfillment_order_id?: string | null;
26541
+ http_status?: number | null;
26542
+ id?: string;
26543
+ label_code?: string | null;
26544
+ letter?: string | null;
26545
+ load_carrier_index?: number | null;
26546
+ load_carrier_type?: string | null;
26547
+ order_id?: string | null;
26548
+ order_number?: string | null;
26549
+ packages?: number | null;
26550
+ source?: string;
26551
+ status?: string;
26552
+ storage_bucket?: string;
26553
+ storage_path?: string | null;
26554
+ updated_at?: string;
26555
+ };
26556
+ Update: {
26557
+ byte_size?: number | null;
26558
+ connection_id?: string | null;
26559
+ content_type?: string;
26560
+ created_at?: string;
26561
+ error_message?: string | null;
26562
+ fetched_at?: string | null;
26563
+ fulfillment_order_id?: string | null;
26564
+ http_status?: number | null;
26565
+ id?: string;
26566
+ label_code?: string | null;
26567
+ letter?: string | null;
26568
+ load_carrier_index?: number | null;
26569
+ load_carrier_type?: string | null;
26570
+ order_id?: string | null;
26571
+ order_number?: string | null;
26572
+ packages?: number | null;
26573
+ source?: string;
26574
+ status?: string;
26575
+ storage_bucket?: string;
26576
+ storage_path?: string | null;
26577
+ updated_at?: string;
26578
+ };
26579
+ Relationships: [{
26580
+ foreignKeyName: "delivery_notes_order_id_fkey";
26581
+ columns: ["order_id"];
26582
+ isOneToOne: false;
26583
+ referencedRelation: "orders";
26584
+ referencedColumns: ["id"];
26585
+ }];
26586
+ };
26175
26587
  document_bronregels: {
26176
26588
  Row: {
26177
26589
  bron: string;
@@ -29225,10 +29637,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
29225
29637
  };
29226
29638
  floriday_connections: {
29227
29639
  Row: {
29228
- access_token: string | null;
29229
29640
  api_key: string;
29230
- client_id: string;
29231
- client_secret: string;
29232
29641
  created_at: string;
29233
29642
  customers_endpoint: string | null;
29234
29643
  environment: string;
@@ -29243,10 +29652,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
29243
29652
  updated_at: string;
29244
29653
  };
29245
29654
  Insert: {
29246
- access_token?: string | null;
29247
29655
  api_key: string;
29248
- client_id: string;
29249
- client_secret: string;
29250
29656
  created_at?: string;
29251
29657
  customers_endpoint?: string | null;
29252
29658
  environment: string;
@@ -29261,10 +29667,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
29261
29667
  updated_at?: string;
29262
29668
  };
29263
29669
  Update: {
29264
- access_token?: string | null;
29265
29670
  api_key?: string;
29266
- client_id?: string;
29267
- client_secret?: string;
29268
29671
  created_at?: string;
29269
29672
  customers_endpoint?: string | null;
29270
29673
  environment?: string;
@@ -36897,6 +37300,39 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36897
37300
  };
36898
37301
  Relationships: [];
36899
37302
  };
37303
+ print_dedupe_events: {
37304
+ Row: {
37305
+ bestaande_job_id: string | null;
37306
+ created_at: string;
37307
+ detail: string | null;
37308
+ documentnaam: string | null;
37309
+ documenttype: string | null;
37310
+ id: string;
37311
+ idempotentie_sleutel: string;
37312
+ reden: string;
37313
+ };
37314
+ Insert: {
37315
+ bestaande_job_id?: string | null;
37316
+ created_at?: string;
37317
+ detail?: string | null;
37318
+ documentnaam?: string | null;
37319
+ documenttype?: string | null;
37320
+ id?: string;
37321
+ idempotentie_sleutel: string;
37322
+ reden: string;
37323
+ };
37324
+ Update: {
37325
+ bestaande_job_id?: string | null;
37326
+ created_at?: string;
37327
+ detail?: string | null;
37328
+ documentnaam?: string | null;
37329
+ documenttype?: string | null;
37330
+ id?: string;
37331
+ idempotentie_sleutel?: string;
37332
+ reden?: string;
37333
+ };
37334
+ Relationships: [];
37335
+ };
36900
37336
  print_job_logs: {
36901
37337
  Row: {
36902
37338
  created_at: string;
@@ -36947,6 +37383,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36947
37383
  is_herprint: boolean;
36948
37384
  kopieen: number;
36949
37385
  layout_id: string | null;
37386
+ lokaal_opgeslagen_op: string | null;
37387
+ lokale_pdf_fout: string | null;
37388
+ lokale_pdf_status: string | null;
36950
37389
  opgepakt_op: string | null;
36951
37390
  paginas: number;
36952
37391
  payload: import("../integrations/supabase/types").Json;
@@ -36955,6 +37394,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36955
37394
  pogingen: number;
36956
37395
  printer_id: string | null;
36957
37396
  render_html: string | null;
37397
+ resultaat_pdf_base64: string | null;
36958
37398
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36959
37399
  updated_at: string;
36960
37400
  volgende_poging: string | null;
@@ -36979,6 +37419,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36979
37419
  is_herprint?: boolean;
36980
37420
  kopieen?: number;
36981
37421
  layout_id?: string | null;
37422
+ lokaal_opgeslagen_op?: string | null;
37423
+ lokale_pdf_fout?: string | null;
37424
+ lokale_pdf_status?: string | null;
36982
37425
  opgepakt_op?: string | null;
36983
37426
  paginas?: number;
36984
37427
  payload?: import("../integrations/supabase/types").Json;
@@ -36987,6 +37430,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
36987
37430
  pogingen?: number;
36988
37431
  printer_id?: string | null;
36989
37432
  render_html?: string | null;
37433
+ resultaat_pdf_base64?: string | null;
36990
37434
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36991
37435
  updated_at?: string;
36992
37436
  volgende_poging?: string | null;
@@ -37011,6 +37455,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
37011
37455
  is_herprint?: boolean;
37012
37456
  kopieen?: number;
37013
37457
  layout_id?: string | null;
37458
+ lokaal_opgeslagen_op?: string | null;
37459
+ lokale_pdf_fout?: string | null;
37460
+ lokale_pdf_status?: string | null;
37014
37461
  opgepakt_op?: string | null;
37015
37462
  paginas?: number;
37016
37463
  payload?: import("../integrations/supabase/types").Json;
@@ -37019,6 +37466,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
37019
37466
  pogingen?: number;
37020
37467
  printer_id?: string | null;
37021
37468
  render_html?: string | null;
37469
+ resultaat_pdf_base64?: string | null;
37022
37470
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
37023
37471
  updated_at?: string;
37024
37472
  volgende_poging?: string | null;
@@ -37137,6 +37585,39 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
37137
37585
  };
37138
37586
  Relationships: [];
37139
37587
  };
37588
+ print_preview_events: {
37589
+ Row: {
37590
+ code: string | null;
37591
+ created_at: string;
37592
+ detail: import("../integrations/supabase/types").Json;
37593
+ id: string;
37594
+ queue_item_id: string | null;
37595
+ reden: string | null;
37596
+ station_slug: string | null;
37597
+ uitkomst: string;
37598
+ };
37599
+ Insert: {
37600
+ code?: string | null;
37601
+ created_at?: string;
37602
+ detail?: import("../integrations/supabase/types").Json;
37603
+ id?: string;
37604
+ queue_item_id?: string | null;
37605
+ reden?: string | null;
37606
+ station_slug?: string | null;
37607
+ uitkomst?: string;
37608
+ };
37609
+ Update: {
37610
+ code?: string | null;
37611
+ created_at?: string;
37612
+ detail?: import("../integrations/supabase/types").Json;
37613
+ id?: string;
37614
+ queue_item_id?: string | null;
37615
+ reden?: string | null;
37616
+ station_slug?: string | null;
37617
+ uitkomst?: string;
37618
+ };
37619
+ Relationships: [];
37620
+ };
37140
37621
  print_queue_runners: {
37141
37622
  Row: {
37142
37623
  actief: boolean;
@@ -37376,6 +37857,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
37376
37857
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37377
37858
  online: boolean;
37378
37859
  papierformaat: string;
37860
+ pdf_map: string | null;
37379
37861
  poort: number | null;
37380
37862
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37381
37863
  systeemnaam: string;
@@ -37401,6 +37883,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
37401
37883
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37402
37884
  online?: boolean;
37403
37885
  papierformaat?: string;
37886
+ pdf_map?: string | null;
37404
37887
  poort?: number | null;
37405
37888
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37406
37889
  systeemnaam?: string;
@@ -37426,6 +37909,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
37426
37909
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37427
37910
  online?: boolean;
37428
37911
  papierformaat?: string;
37912
+ pdf_map?: string | null;
37429
37913
  poort?: number | null;
37430
37914
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37431
37915
  systeemnaam?: string;
@@ -43682,6 +44166,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
43682
44166
  is_herprint: boolean;
43683
44167
  kopieen: number;
43684
44168
  layout_id: string | null;
44169
+ lokaal_opgeslagen_op: string | null;
44170
+ lokale_pdf_fout: string | null;
44171
+ lokale_pdf_status: string | null;
43685
44172
  opgepakt_op: string | null;
43686
44173
  paginas: number;
43687
44174
  payload: import("../integrations/supabase/types").Json;
@@ -43690,6 +44177,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
43690
44177
  pogingen: number;
43691
44178
  printer_id: string | null;
43692
44179
  render_html: string | null;
44180
+ resultaat_pdf_base64: string | null;
43693
44181
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43694
44182
  updated_at: string;
43695
44183
  volgende_poging: string | null;
@@ -43781,6 +44269,53 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
43781
44269
  isSetofReturn: true;
43782
44270
  };
43783
44271
  };
44272
+ claim_pdf_print_jobs: {
44273
+ Args: {
44274
+ _max?: number;
44275
+ };
44276
+ Returns: {
44277
+ agent_id: string | null;
44278
+ bron_job_id: string | null;
44279
+ created_at: string;
44280
+ documentnaam: string;
44281
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44282
+ extern_job_id: string | null;
44283
+ foutmelding: string | null;
44284
+ gebruiker_id: string | null;
44285
+ gebruiker_naam: string;
44286
+ gebruikte_bron: string | null;
44287
+ gebruikte_layout_id: string | null;
44288
+ gestart_op: string | null;
44289
+ herkomst: string | null;
44290
+ id: string;
44291
+ idempotentie_sleutel: string | null;
44292
+ is_herprint: boolean;
44293
+ kopieen: number;
44294
+ layout_id: string | null;
44295
+ lokaal_opgeslagen_op: string | null;
44296
+ lokale_pdf_fout: string | null;
44297
+ lokale_pdf_status: string | null;
44298
+ opgepakt_op: string | null;
44299
+ paginas: number;
44300
+ payload: import("../integrations/supabase/types").Json;
44301
+ pdf_base64: string | null;
44302
+ pdf_url: string | null;
44303
+ pogingen: number;
44304
+ printer_id: string | null;
44305
+ render_html: string | null;
44306
+ resultaat_pdf_base64: string | null;
44307
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44308
+ updated_at: string;
44309
+ volgende_poging: string | null;
44310
+ voltooid_op: string | null;
44311
+ }[];
44312
+ SetofOptions: {
44313
+ from: "*";
44314
+ to: "print_jobs";
44315
+ isOneToOne: false;
44316
+ isSetofReturn: true;
44317
+ };
44318
+ };
43784
44319
  claim_print_jobs: {
43785
44320
  Args: {
43786
44321
  _agent_id: string;
@@ -43805,6 +44340,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
43805
44340
  is_herprint: boolean;
43806
44341
  kopieen: number;
43807
44342
  layout_id: string | null;
44343
+ lokaal_opgeslagen_op: string | null;
44344
+ lokale_pdf_fout: string | null;
44345
+ lokale_pdf_status: string | null;
43808
44346
  opgepakt_op: string | null;
43809
44347
  paginas: number;
43810
44348
  payload: import("../integrations/supabase/types").Json;
@@ -43813,6 +44351,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
43813
44351
  pogingen: number;
43814
44352
  printer_id: string | null;
43815
44353
  render_html: string | null;
44354
+ resultaat_pdf_base64: string | null;
43816
44355
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43817
44356
  updated_at: string;
43818
44357
  volgende_poging: string | null;
@@ -43953,6 +44492,8 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
43953
44492
  order_id: string;
43954
44493
  order_source: string;
43955
44494
  pick_date: string;
44495
+ printed_at: string;
44496
+ printed_today: boolean;
43956
44497
  status: string;
43957
44498
  }[];
43958
44499
  };
@@ -44661,6 +45202,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
44661
45202
  };
44662
45203
  Returns: number;
44663
45204
  };
45205
+ logistics_cancel_orphan_tasks: {
45206
+ Args: never;
45207
+ Returns: number;
45208
+ };
44664
45209
  logistics_capacity_day_check: {
44665
45210
  Args: {
44666
45211
  p_from?: string;
@@ -44681,6 +45226,25 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
44681
45226
  };
44682
45227
  Returns: number;
44683
45228
  };
45229
+ logistics_cart_index: {
45230
+ Args: {
45231
+ p_from?: string;
45232
+ p_to?: string;
45233
+ };
45234
+ Returns: {
45235
+ cart_id: string;
45236
+ cart_index: number;
45237
+ cart_label: string;
45238
+ is_shared: boolean;
45239
+ order_number: string;
45240
+ order_source: string;
45241
+ order_uuid: string;
45242
+ pick_date: string;
45243
+ printed_at: string;
45244
+ shifted: boolean;
45245
+ task_status: string;
45246
+ }[];
45247
+ };
44684
45248
  logistics_check_order_allowed: {
44685
45249
  Args: {
44686
45250
  p_lines: import("../integrations/supabase/types").Json;
@@ -44829,6 +45393,17 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
44829
45393
  isSetofReturn: false;
44830
45394
  };
44831
45395
  };
45396
+ logistics_consistency_check: {
45397
+ Args: never;
45398
+ Returns: {
45399
+ agenda_carts: number;
45400
+ control_carts: number;
45401
+ ok: boolean;
45402
+ orphan_tasks: number;
45403
+ pick_date: string;
45404
+ raw_carts: number;
45405
+ }[];
45406
+ };
44832
45407
  logistics_delay_customer_email: {
44833
45408
  Args: {
44834
45409
  p_customer: string;
@@ -44918,6 +45493,16 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
44918
45493
  isSetofReturn: false;
44919
45494
  };
44920
45495
  };
45496
+ logistics_floriday_cart_plan: {
45497
+ Args: {
45498
+ p_order_id: string;
45499
+ };
45500
+ Returns: {
45501
+ carrier_type: string;
45502
+ idx: number;
45503
+ packages: number;
45504
+ }[];
45505
+ };
44921
45506
  logistics_floriday_claim_pushes: {
44922
45507
  Args: {
44923
45508
  _lease_seconds?: number;
@@ -45022,6 +45607,25 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45022
45607
  };
45023
45608
  Returns: number;
45024
45609
  };
45610
+ logistics_order_overview: {
45611
+ Args: {
45612
+ p_from?: string;
45613
+ p_to?: string;
45614
+ };
45615
+ Returns: {
45616
+ cart_count: number;
45617
+ customer_name: string;
45618
+ delivery_date: string;
45619
+ order_number: string;
45620
+ order_source: string;
45621
+ order_uuid: string;
45622
+ pick_date: string;
45623
+ plant_count: number;
45624
+ printed_at: string;
45625
+ shifted: boolean;
45626
+ status: string;
45627
+ }[];
45628
+ };
45025
45629
  logistics_order_pick_day: {
45026
45630
  Args: {
45027
45631
  p_order_ref: string;
@@ -45034,6 +45638,22 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45034
45638
  };
45035
45639
  Returns: string;
45036
45640
  };
45641
+ logistics_pick_agenda: {
45642
+ Args: {
45643
+ p_from?: string;
45644
+ p_to?: string;
45645
+ };
45646
+ Returns: {
45647
+ cart_count: number;
45648
+ in_preparation: number;
45649
+ order_count: number;
45650
+ orders: import("../integrations/supabase/types").Json;
45651
+ pick_date: string;
45652
+ plant_count: number;
45653
+ ready: number;
45654
+ shifted_count: number;
45655
+ }[];
45656
+ };
45037
45657
  logistics_pick_email_purpose: {
45038
45658
  Args: never;
45039
45659
  Returns: string;
@@ -45088,6 +45708,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45088
45708
  };
45089
45709
  Returns: undefined;
45090
45710
  };
45711
+ logistics_plan_floriday_order: {
45712
+ Args: {
45713
+ p_buffer_id?: string;
45714
+ p_order_id: string;
45715
+ };
45716
+ Returns: number;
45717
+ };
45091
45718
  logistics_plan_impact_orders: {
45092
45719
  Args: {
45093
45720
  p_order_id: string;
@@ -45193,6 +45820,15 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45193
45820
  };
45194
45821
  Returns: import("../integrations/supabase/types").Json;
45195
45822
  };
45823
+ logistics_resolve_pick_document: {
45824
+ Args: {
45825
+ _is_herprint: boolean;
45826
+ _queue_item_id: string;
45827
+ _session_id: string;
45828
+ _voorbeeld: boolean;
45829
+ };
45830
+ Returns: import("../integrations/supabase/types").Json;
45831
+ };
45196
45832
  logistics_resolve_settings: {
45197
45833
  Args: {
45198
45834
  p_config_id: string;
@@ -45633,6 +46269,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45633
46269
  };
45634
46270
  pick_enqueue_print_job: {
45635
46271
  Args: {
46272
+ _is_herprint?: boolean;
45636
46273
  _printer_id?: string;
45637
46274
  _queue_item_id: string;
45638
46275
  _session_id?: string;
@@ -45646,6 +46283,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45646
46283
  };
45647
46284
  Returns: import("../integrations/supabase/types").Json;
45648
46285
  };
46286
+ pick_preview_job: {
46287
+ Args: {
46288
+ _queue_item_id: string;
46289
+ _station_slug: string;
46290
+ };
46291
+ Returns: import("../integrations/supabase/types").Json;
46292
+ };
45649
46293
  pick_print_job_status: {
45650
46294
  Args: {
45651
46295
  _job_id: string;
@@ -45823,6 +46467,24 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45823
46467
  };
45824
46468
  Returns: undefined;
45825
46469
  };
46470
+ print_preview_toestaan: {
46471
+ Args: {
46472
+ _max?: number;
46473
+ _queue_item_id: string;
46474
+ _station_slug: string;
46475
+ _venster_sec?: number;
46476
+ };
46477
+ Returns: import("../integrations/supabase/types").Json;
46478
+ };
46479
+ print_preview_weiger: {
46480
+ Args: {
46481
+ _code: string;
46482
+ _queue_item_id: string;
46483
+ _reden: string;
46484
+ _station_slug: string;
46485
+ };
46486
+ Returns: undefined;
46487
+ };
45826
46488
  process_logistics_event: {
45827
46489
  Args: {
45828
46490
  p_event_id: string;
@@ -45977,6 +46639,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
45977
46639
  };
45978
46640
  Returns: string;
45979
46641
  };
46642
+ resolve_print_job_printer_id: {
46643
+ Args: {
46644
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46645
+ };
46646
+ Returns: string;
46647
+ };
45980
46648
  resolve_product_id_for_item: {
45981
46649
  Args: {
45982
46650
  p_product_name: string;
@@ -46568,7 +47236,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
46568
47236
  };
46569
47237
  CompositeTypes: { [_ in never]: never; };
46570
47238
  }, {
46571
- PostgrestVersion: "14.17";
47239
+ PostgrestVersion: "14.5";
46572
47240
  }>;
46573
47241
  userId: string;
46574
47242
  claims: import("@supabase/auth-js").User;
@@ -49446,6 +50114,84 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
49446
50114
  };
49447
50115
  Relationships: [];
49448
50116
  };
50117
+ delivery_notes: {
50118
+ Row: {
50119
+ byte_size: number | null;
50120
+ connection_id: string | null;
50121
+ content_type: string;
50122
+ created_at: string;
50123
+ error_message: string | null;
50124
+ fetched_at: string | null;
50125
+ fulfillment_order_id: string | null;
50126
+ http_status: number | null;
50127
+ id: string;
50128
+ label_code: string | null;
50129
+ letter: string | null;
50130
+ load_carrier_index: number | null;
50131
+ load_carrier_type: string | null;
50132
+ order_id: string | null;
50133
+ order_number: string | null;
50134
+ packages: number | null;
50135
+ source: string;
50136
+ status: string;
50137
+ storage_bucket: string;
50138
+ storage_path: string | null;
50139
+ updated_at: string;
50140
+ };
50141
+ Insert: {
50142
+ byte_size?: number | null;
50143
+ connection_id?: string | null;
50144
+ content_type?: string;
50145
+ created_at?: string;
50146
+ error_message?: string | null;
50147
+ fetched_at?: string | null;
50148
+ fulfillment_order_id?: string | null;
50149
+ http_status?: number | null;
50150
+ id?: string;
50151
+ label_code?: string | null;
50152
+ letter?: string | null;
50153
+ load_carrier_index?: number | null;
50154
+ load_carrier_type?: string | null;
50155
+ order_id?: string | null;
50156
+ order_number?: string | null;
50157
+ packages?: number | null;
50158
+ source?: string;
50159
+ status?: string;
50160
+ storage_bucket?: string;
50161
+ storage_path?: string | null;
50162
+ updated_at?: string;
50163
+ };
50164
+ Update: {
50165
+ byte_size?: number | null;
50166
+ connection_id?: string | null;
50167
+ content_type?: string;
50168
+ created_at?: string;
50169
+ error_message?: string | null;
50170
+ fetched_at?: string | null;
50171
+ fulfillment_order_id?: string | null;
50172
+ http_status?: number | null;
50173
+ id?: string;
50174
+ label_code?: string | null;
50175
+ letter?: string | null;
50176
+ load_carrier_index?: number | null;
50177
+ load_carrier_type?: string | null;
50178
+ order_id?: string | null;
50179
+ order_number?: string | null;
50180
+ packages?: number | null;
50181
+ source?: string;
50182
+ status?: string;
50183
+ storage_bucket?: string;
50184
+ storage_path?: string | null;
50185
+ updated_at?: string;
50186
+ };
50187
+ Relationships: [{
50188
+ foreignKeyName: "delivery_notes_order_id_fkey";
50189
+ columns: ["order_id"];
50190
+ isOneToOne: false;
50191
+ referencedRelation: "orders";
50192
+ referencedColumns: ["id"];
50193
+ }];
50194
+ };
49449
50195
  document_bronregels: {
49450
50196
  Row: {
49451
50197
  bron: string;
@@ -52499,10 +53245,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
52499
53245
  };
52500
53246
  floriday_connections: {
52501
53247
  Row: {
52502
- access_token: string | null;
52503
53248
  api_key: string;
52504
- client_id: string;
52505
- client_secret: string;
52506
53249
  created_at: string;
52507
53250
  customers_endpoint: string | null;
52508
53251
  environment: string;
@@ -52517,10 +53260,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
52517
53260
  updated_at: string;
52518
53261
  };
52519
53262
  Insert: {
52520
- access_token?: string | null;
52521
53263
  api_key: string;
52522
- client_id: string;
52523
- client_secret: string;
52524
53264
  created_at?: string;
52525
53265
  customers_endpoint?: string | null;
52526
53266
  environment: string;
@@ -52535,10 +53275,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
52535
53275
  updated_at?: string;
52536
53276
  };
52537
53277
  Update: {
52538
- access_token?: string | null;
52539
53278
  api_key?: string;
52540
- client_id?: string;
52541
- client_secret?: string;
52542
53279
  created_at?: string;
52543
53280
  customers_endpoint?: string | null;
52544
53281
  environment?: string;
@@ -60171,6 +60908,39 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60171
60908
  };
60172
60909
  Relationships: [];
60173
60910
  };
60911
+ print_dedupe_events: {
60912
+ Row: {
60913
+ bestaande_job_id: string | null;
60914
+ created_at: string;
60915
+ detail: string | null;
60916
+ documentnaam: string | null;
60917
+ documenttype: string | null;
60918
+ id: string;
60919
+ idempotentie_sleutel: string;
60920
+ reden: string;
60921
+ };
60922
+ Insert: {
60923
+ bestaande_job_id?: string | null;
60924
+ created_at?: string;
60925
+ detail?: string | null;
60926
+ documentnaam?: string | null;
60927
+ documenttype?: string | null;
60928
+ id?: string;
60929
+ idempotentie_sleutel: string;
60930
+ reden: string;
60931
+ };
60932
+ Update: {
60933
+ bestaande_job_id?: string | null;
60934
+ created_at?: string;
60935
+ detail?: string | null;
60936
+ documentnaam?: string | null;
60937
+ documenttype?: string | null;
60938
+ id?: string;
60939
+ idempotentie_sleutel?: string;
60940
+ reden?: string;
60941
+ };
60942
+ Relationships: [];
60943
+ };
60174
60944
  print_job_logs: {
60175
60945
  Row: {
60176
60946
  created_at: string;
@@ -60221,6 +60991,9 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60221
60991
  is_herprint: boolean;
60222
60992
  kopieen: number;
60223
60993
  layout_id: string | null;
60994
+ lokaal_opgeslagen_op: string | null;
60995
+ lokale_pdf_fout: string | null;
60996
+ lokale_pdf_status: string | null;
60224
60997
  opgepakt_op: string | null;
60225
60998
  paginas: number;
60226
60999
  payload: import("../integrations/supabase/types").Json;
@@ -60229,6 +61002,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60229
61002
  pogingen: number;
60230
61003
  printer_id: string | null;
60231
61004
  render_html: string | null;
61005
+ resultaat_pdf_base64: string | null;
60232
61006
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60233
61007
  updated_at: string;
60234
61008
  volgende_poging: string | null;
@@ -60253,6 +61027,9 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60253
61027
  is_herprint?: boolean;
60254
61028
  kopieen?: number;
60255
61029
  layout_id?: string | null;
61030
+ lokaal_opgeslagen_op?: string | null;
61031
+ lokale_pdf_fout?: string | null;
61032
+ lokale_pdf_status?: string | null;
60256
61033
  opgepakt_op?: string | null;
60257
61034
  paginas?: number;
60258
61035
  payload?: import("../integrations/supabase/types").Json;
@@ -60261,6 +61038,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60261
61038
  pogingen?: number;
60262
61039
  printer_id?: string | null;
60263
61040
  render_html?: string | null;
61041
+ resultaat_pdf_base64?: string | null;
60264
61042
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60265
61043
  updated_at?: string;
60266
61044
  volgende_poging?: string | null;
@@ -60285,6 +61063,9 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60285
61063
  is_herprint?: boolean;
60286
61064
  kopieen?: number;
60287
61065
  layout_id?: string | null;
61066
+ lokaal_opgeslagen_op?: string | null;
61067
+ lokale_pdf_fout?: string | null;
61068
+ lokale_pdf_status?: string | null;
60288
61069
  opgepakt_op?: string | null;
60289
61070
  paginas?: number;
60290
61071
  payload?: import("../integrations/supabase/types").Json;
@@ -60293,6 +61074,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60293
61074
  pogingen?: number;
60294
61075
  printer_id?: string | null;
60295
61076
  render_html?: string | null;
61077
+ resultaat_pdf_base64?: string | null;
60296
61078
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60297
61079
  updated_at?: string;
60298
61080
  volgende_poging?: string | null;
@@ -60411,6 +61193,39 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60411
61193
  };
60412
61194
  Relationships: [];
60413
61195
  };
61196
+ print_preview_events: {
61197
+ Row: {
61198
+ code: string | null;
61199
+ created_at: string;
61200
+ detail: import("../integrations/supabase/types").Json;
61201
+ id: string;
61202
+ queue_item_id: string | null;
61203
+ reden: string | null;
61204
+ station_slug: string | null;
61205
+ uitkomst: string;
61206
+ };
61207
+ Insert: {
61208
+ code?: string | null;
61209
+ created_at?: string;
61210
+ detail?: import("../integrations/supabase/types").Json;
61211
+ id?: string;
61212
+ queue_item_id?: string | null;
61213
+ reden?: string | null;
61214
+ station_slug?: string | null;
61215
+ uitkomst?: string;
61216
+ };
61217
+ Update: {
61218
+ code?: string | null;
61219
+ created_at?: string;
61220
+ detail?: import("../integrations/supabase/types").Json;
61221
+ id?: string;
61222
+ queue_item_id?: string | null;
61223
+ reden?: string | null;
61224
+ station_slug?: string | null;
61225
+ uitkomst?: string;
61226
+ };
61227
+ Relationships: [];
61228
+ };
60414
61229
  print_queue_runners: {
60415
61230
  Row: {
60416
61231
  actief: boolean;
@@ -60650,6 +61465,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60650
61465
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
60651
61466
  online: boolean;
60652
61467
  papierformaat: string;
61468
+ pdf_map: string | null;
60653
61469
  poort: number | null;
60654
61470
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60655
61471
  systeemnaam: string;
@@ -60675,6 +61491,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60675
61491
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60676
61492
  online?: boolean;
60677
61493
  papierformaat?: string;
61494
+ pdf_map?: string | null;
60678
61495
  poort?: number | null;
60679
61496
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60680
61497
  systeemnaam?: string;
@@ -60700,6 +61517,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
60700
61517
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60701
61518
  online?: boolean;
60702
61519
  papierformaat?: string;
61520
+ pdf_map?: string | null;
60703
61521
  poort?: number | null;
60704
61522
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60705
61523
  systeemnaam?: string;
@@ -66956,6 +67774,9 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
66956
67774
  is_herprint: boolean;
66957
67775
  kopieen: number;
66958
67776
  layout_id: string | null;
67777
+ lokaal_opgeslagen_op: string | null;
67778
+ lokale_pdf_fout: string | null;
67779
+ lokale_pdf_status: string | null;
66959
67780
  opgepakt_op: string | null;
66960
67781
  paginas: number;
66961
67782
  payload: import("../integrations/supabase/types").Json;
@@ -66964,6 +67785,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
66964
67785
  pogingen: number;
66965
67786
  printer_id: string | null;
66966
67787
  render_html: string | null;
67788
+ resultaat_pdf_base64: string | null;
66967
67789
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
66968
67790
  updated_at: string;
66969
67791
  volgende_poging: string | null;
@@ -67055,6 +67877,53 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67055
67877
  isSetofReturn: true;
67056
67878
  };
67057
67879
  };
67880
+ claim_pdf_print_jobs: {
67881
+ Args: {
67882
+ _max?: number;
67883
+ };
67884
+ Returns: {
67885
+ agent_id: string | null;
67886
+ bron_job_id: string | null;
67887
+ created_at: string;
67888
+ documentnaam: string;
67889
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
67890
+ extern_job_id: string | null;
67891
+ foutmelding: string | null;
67892
+ gebruiker_id: string | null;
67893
+ gebruiker_naam: string;
67894
+ gebruikte_bron: string | null;
67895
+ gebruikte_layout_id: string | null;
67896
+ gestart_op: string | null;
67897
+ herkomst: string | null;
67898
+ id: string;
67899
+ idempotentie_sleutel: string | null;
67900
+ is_herprint: boolean;
67901
+ kopieen: number;
67902
+ layout_id: string | null;
67903
+ lokaal_opgeslagen_op: string | null;
67904
+ lokale_pdf_fout: string | null;
67905
+ lokale_pdf_status: string | null;
67906
+ opgepakt_op: string | null;
67907
+ paginas: number;
67908
+ payload: import("../integrations/supabase/types").Json;
67909
+ pdf_base64: string | null;
67910
+ pdf_url: string | null;
67911
+ pogingen: number;
67912
+ printer_id: string | null;
67913
+ render_html: string | null;
67914
+ resultaat_pdf_base64: string | null;
67915
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67916
+ updated_at: string;
67917
+ volgende_poging: string | null;
67918
+ voltooid_op: string | null;
67919
+ }[];
67920
+ SetofOptions: {
67921
+ from: "*";
67922
+ to: "print_jobs";
67923
+ isOneToOne: false;
67924
+ isSetofReturn: true;
67925
+ };
67926
+ };
67058
67927
  claim_print_jobs: {
67059
67928
  Args: {
67060
67929
  _agent_id: string;
@@ -67079,6 +67948,9 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67079
67948
  is_herprint: boolean;
67080
67949
  kopieen: number;
67081
67950
  layout_id: string | null;
67951
+ lokaal_opgeslagen_op: string | null;
67952
+ lokale_pdf_fout: string | null;
67953
+ lokale_pdf_status: string | null;
67082
67954
  opgepakt_op: string | null;
67083
67955
  paginas: number;
67084
67956
  payload: import("../integrations/supabase/types").Json;
@@ -67087,6 +67959,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67087
67959
  pogingen: number;
67088
67960
  printer_id: string | null;
67089
67961
  render_html: string | null;
67962
+ resultaat_pdf_base64: string | null;
67090
67963
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67091
67964
  updated_at: string;
67092
67965
  volgende_poging: string | null;
@@ -67227,6 +68100,8 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67227
68100
  order_id: string;
67228
68101
  order_source: string;
67229
68102
  pick_date: string;
68103
+ printed_at: string;
68104
+ printed_today: boolean;
67230
68105
  status: string;
67231
68106
  }[];
67232
68107
  };
@@ -67935,6 +68810,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67935
68810
  };
67936
68811
  Returns: number;
67937
68812
  };
68813
+ logistics_cancel_orphan_tasks: {
68814
+ Args: never;
68815
+ Returns: number;
68816
+ };
67938
68817
  logistics_capacity_day_check: {
67939
68818
  Args: {
67940
68819
  p_from?: string;
@@ -67955,6 +68834,25 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
67955
68834
  };
67956
68835
  Returns: number;
67957
68836
  };
68837
+ logistics_cart_index: {
68838
+ Args: {
68839
+ p_from?: string;
68840
+ p_to?: string;
68841
+ };
68842
+ Returns: {
68843
+ cart_id: string;
68844
+ cart_index: number;
68845
+ cart_label: string;
68846
+ is_shared: boolean;
68847
+ order_number: string;
68848
+ order_source: string;
68849
+ order_uuid: string;
68850
+ pick_date: string;
68851
+ printed_at: string;
68852
+ shifted: boolean;
68853
+ task_status: string;
68854
+ }[];
68855
+ };
67958
68856
  logistics_check_order_allowed: {
67959
68857
  Args: {
67960
68858
  p_lines: import("../integrations/supabase/types").Json;
@@ -68103,6 +69001,17 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68103
69001
  isSetofReturn: false;
68104
69002
  };
68105
69003
  };
69004
+ logistics_consistency_check: {
69005
+ Args: never;
69006
+ Returns: {
69007
+ agenda_carts: number;
69008
+ control_carts: number;
69009
+ ok: boolean;
69010
+ orphan_tasks: number;
69011
+ pick_date: string;
69012
+ raw_carts: number;
69013
+ }[];
69014
+ };
68106
69015
  logistics_delay_customer_email: {
68107
69016
  Args: {
68108
69017
  p_customer: string;
@@ -68192,6 +69101,16 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68192
69101
  isSetofReturn: false;
68193
69102
  };
68194
69103
  };
69104
+ logistics_floriday_cart_plan: {
69105
+ Args: {
69106
+ p_order_id: string;
69107
+ };
69108
+ Returns: {
69109
+ carrier_type: string;
69110
+ idx: number;
69111
+ packages: number;
69112
+ }[];
69113
+ };
68195
69114
  logistics_floriday_claim_pushes: {
68196
69115
  Args: {
68197
69116
  _lease_seconds?: number;
@@ -68296,6 +69215,25 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68296
69215
  };
68297
69216
  Returns: number;
68298
69217
  };
69218
+ logistics_order_overview: {
69219
+ Args: {
69220
+ p_from?: string;
69221
+ p_to?: string;
69222
+ };
69223
+ Returns: {
69224
+ cart_count: number;
69225
+ customer_name: string;
69226
+ delivery_date: string;
69227
+ order_number: string;
69228
+ order_source: string;
69229
+ order_uuid: string;
69230
+ pick_date: string;
69231
+ plant_count: number;
69232
+ printed_at: string;
69233
+ shifted: boolean;
69234
+ status: string;
69235
+ }[];
69236
+ };
68299
69237
  logistics_order_pick_day: {
68300
69238
  Args: {
68301
69239
  p_order_ref: string;
@@ -68308,6 +69246,22 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68308
69246
  };
68309
69247
  Returns: string;
68310
69248
  };
69249
+ logistics_pick_agenda: {
69250
+ Args: {
69251
+ p_from?: string;
69252
+ p_to?: string;
69253
+ };
69254
+ Returns: {
69255
+ cart_count: number;
69256
+ in_preparation: number;
69257
+ order_count: number;
69258
+ orders: import("../integrations/supabase/types").Json;
69259
+ pick_date: string;
69260
+ plant_count: number;
69261
+ ready: number;
69262
+ shifted_count: number;
69263
+ }[];
69264
+ };
68311
69265
  logistics_pick_email_purpose: {
68312
69266
  Args: never;
68313
69267
  Returns: string;
@@ -68362,6 +69316,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68362
69316
  };
68363
69317
  Returns: undefined;
68364
69318
  };
69319
+ logistics_plan_floriday_order: {
69320
+ Args: {
69321
+ p_buffer_id?: string;
69322
+ p_order_id: string;
69323
+ };
69324
+ Returns: number;
69325
+ };
68365
69326
  logistics_plan_impact_orders: {
68366
69327
  Args: {
68367
69328
  p_order_id: string;
@@ -68467,6 +69428,15 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68467
69428
  };
68468
69429
  Returns: import("../integrations/supabase/types").Json;
68469
69430
  };
69431
+ logistics_resolve_pick_document: {
69432
+ Args: {
69433
+ _is_herprint: boolean;
69434
+ _queue_item_id: string;
69435
+ _session_id: string;
69436
+ _voorbeeld: boolean;
69437
+ };
69438
+ Returns: import("../integrations/supabase/types").Json;
69439
+ };
68470
69440
  logistics_resolve_settings: {
68471
69441
  Args: {
68472
69442
  p_config_id: string;
@@ -68907,6 +69877,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68907
69877
  };
68908
69878
  pick_enqueue_print_job: {
68909
69879
  Args: {
69880
+ _is_herprint?: boolean;
68910
69881
  _printer_id?: string;
68911
69882
  _queue_item_id: string;
68912
69883
  _session_id?: string;
@@ -68920,6 +69891,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
68920
69891
  };
68921
69892
  Returns: import("../integrations/supabase/types").Json;
68922
69893
  };
69894
+ pick_preview_job: {
69895
+ Args: {
69896
+ _queue_item_id: string;
69897
+ _station_slug: string;
69898
+ };
69899
+ Returns: import("../integrations/supabase/types").Json;
69900
+ };
68923
69901
  pick_print_job_status: {
68924
69902
  Args: {
68925
69903
  _job_id: string;
@@ -69097,6 +70075,24 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
69097
70075
  };
69098
70076
  Returns: undefined;
69099
70077
  };
70078
+ print_preview_toestaan: {
70079
+ Args: {
70080
+ _max?: number;
70081
+ _queue_item_id: string;
70082
+ _station_slug: string;
70083
+ _venster_sec?: number;
70084
+ };
70085
+ Returns: import("../integrations/supabase/types").Json;
70086
+ };
70087
+ print_preview_weiger: {
70088
+ Args: {
70089
+ _code: string;
70090
+ _queue_item_id: string;
70091
+ _reden: string;
70092
+ _station_slug: string;
70093
+ };
70094
+ Returns: undefined;
70095
+ };
69100
70096
  process_logistics_event: {
69101
70097
  Args: {
69102
70098
  p_event_id: string;
@@ -69251,6 +70247,12 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
69251
70247
  };
69252
70248
  Returns: string;
69253
70249
  };
70250
+ resolve_print_job_printer_id: {
70251
+ Args: {
70252
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
70253
+ };
70254
+ Returns: string;
70255
+ };
69254
70256
  resolve_product_id_for_item: {
69255
70257
  Args: {
69256
70258
  p_product_name: string;
@@ -69842,7 +70844,7 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
69842
70844
  };
69843
70845
  CompositeTypes: { [_ in never]: never; };
69844
70846
  }, {
69845
- PostgrestVersion: "14.17";
70847
+ PostgrestVersion: "14.5";
69846
70848
  }>;
69847
70849
  userId: string;
69848
70850
  claims: import("@supabase/auth-js").User;