@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
@@ -2852,6 +2852,84 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
2852
2852
  };
2853
2853
  Relationships: [];
2854
2854
  };
2855
+ delivery_notes: {
2856
+ Row: {
2857
+ byte_size: number | null;
2858
+ connection_id: string | null;
2859
+ content_type: string;
2860
+ created_at: string;
2861
+ error_message: string | null;
2862
+ fetched_at: string | null;
2863
+ fulfillment_order_id: string | null;
2864
+ http_status: number | null;
2865
+ id: string;
2866
+ label_code: string | null;
2867
+ letter: string | null;
2868
+ load_carrier_index: number | null;
2869
+ load_carrier_type: string | null;
2870
+ order_id: string | null;
2871
+ order_number: string | null;
2872
+ packages: number | null;
2873
+ source: string;
2874
+ status: string;
2875
+ storage_bucket: string;
2876
+ storage_path: string | null;
2877
+ updated_at: string;
2878
+ };
2879
+ Insert: {
2880
+ byte_size?: number | null;
2881
+ connection_id?: string | null;
2882
+ content_type?: string;
2883
+ created_at?: string;
2884
+ error_message?: string | null;
2885
+ fetched_at?: string | null;
2886
+ fulfillment_order_id?: string | null;
2887
+ http_status?: number | null;
2888
+ id?: string;
2889
+ label_code?: string | null;
2890
+ letter?: string | null;
2891
+ load_carrier_index?: number | null;
2892
+ load_carrier_type?: string | null;
2893
+ order_id?: string | null;
2894
+ order_number?: string | null;
2895
+ packages?: number | null;
2896
+ source?: string;
2897
+ status?: string;
2898
+ storage_bucket?: string;
2899
+ storage_path?: string | null;
2900
+ updated_at?: string;
2901
+ };
2902
+ Update: {
2903
+ byte_size?: number | null;
2904
+ connection_id?: string | null;
2905
+ content_type?: string;
2906
+ created_at?: string;
2907
+ error_message?: string | null;
2908
+ fetched_at?: string | null;
2909
+ fulfillment_order_id?: string | null;
2910
+ http_status?: number | null;
2911
+ id?: string;
2912
+ label_code?: string | null;
2913
+ letter?: string | null;
2914
+ load_carrier_index?: number | null;
2915
+ load_carrier_type?: string | null;
2916
+ order_id?: string | null;
2917
+ order_number?: string | null;
2918
+ packages?: number | null;
2919
+ source?: string;
2920
+ status?: string;
2921
+ storage_bucket?: string;
2922
+ storage_path?: string | null;
2923
+ updated_at?: string;
2924
+ };
2925
+ Relationships: [{
2926
+ foreignKeyName: "delivery_notes_order_id_fkey";
2927
+ columns: ["order_id"];
2928
+ isOneToOne: false;
2929
+ referencedRelation: "orders";
2930
+ referencedColumns: ["id"];
2931
+ }];
2932
+ };
2855
2933
  document_bronregels: {
2856
2934
  Row: {
2857
2935
  bron: string;
@@ -5905,10 +5983,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
5905
5983
  };
5906
5984
  floriday_connections: {
5907
5985
  Row: {
5908
- access_token: string | null;
5909
5986
  api_key: string;
5910
- client_id: string;
5911
- client_secret: string;
5912
5987
  created_at: string;
5913
5988
  customers_endpoint: string | null;
5914
5989
  environment: string;
@@ -5923,10 +5998,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
5923
5998
  updated_at: string;
5924
5999
  };
5925
6000
  Insert: {
5926
- access_token?: string | null;
5927
6001
  api_key: string;
5928
- client_id: string;
5929
- client_secret: string;
5930
6002
  created_at?: string;
5931
6003
  customers_endpoint?: string | null;
5932
6004
  environment: string;
@@ -5941,10 +6013,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
5941
6013
  updated_at?: string;
5942
6014
  };
5943
6015
  Update: {
5944
- access_token?: string | null;
5945
6016
  api_key?: string;
5946
- client_id?: string;
5947
- client_secret?: string;
5948
6017
  created_at?: string;
5949
6018
  customers_endpoint?: string | null;
5950
6019
  environment?: string;
@@ -13577,6 +13646,39 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13577
13646
  };
13578
13647
  Relationships: [];
13579
13648
  };
13649
+ print_dedupe_events: {
13650
+ Row: {
13651
+ bestaande_job_id: string | null;
13652
+ created_at: string;
13653
+ detail: string | null;
13654
+ documentnaam: string | null;
13655
+ documenttype: string | null;
13656
+ id: string;
13657
+ idempotentie_sleutel: string;
13658
+ reden: string;
13659
+ };
13660
+ Insert: {
13661
+ bestaande_job_id?: string | null;
13662
+ created_at?: string;
13663
+ detail?: string | null;
13664
+ documentnaam?: string | null;
13665
+ documenttype?: string | null;
13666
+ id?: string;
13667
+ idempotentie_sleutel: string;
13668
+ reden: string;
13669
+ };
13670
+ Update: {
13671
+ bestaande_job_id?: string | null;
13672
+ created_at?: string;
13673
+ detail?: string | null;
13674
+ documentnaam?: string | null;
13675
+ documenttype?: string | null;
13676
+ id?: string;
13677
+ idempotentie_sleutel?: string;
13678
+ reden?: string;
13679
+ };
13680
+ Relationships: [];
13681
+ };
13580
13682
  print_job_logs: {
13581
13683
  Row: {
13582
13684
  created_at: string;
@@ -13627,6 +13729,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13627
13729
  is_herprint: boolean;
13628
13730
  kopieen: number;
13629
13731
  layout_id: string | null;
13732
+ lokaal_opgeslagen_op: string | null;
13733
+ lokale_pdf_fout: string | null;
13734
+ lokale_pdf_status: string | null;
13630
13735
  opgepakt_op: string | null;
13631
13736
  paginas: number;
13632
13737
  payload: import("../integrations/supabase/types").Json;
@@ -13635,6 +13740,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13635
13740
  pogingen: number;
13636
13741
  printer_id: string | null;
13637
13742
  render_html: string | null;
13743
+ resultaat_pdf_base64: string | null;
13638
13744
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13639
13745
  updated_at: string;
13640
13746
  volgende_poging: string | null;
@@ -13659,6 +13765,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13659
13765
  is_herprint?: boolean;
13660
13766
  kopieen?: number;
13661
13767
  layout_id?: string | null;
13768
+ lokaal_opgeslagen_op?: string | null;
13769
+ lokale_pdf_fout?: string | null;
13770
+ lokale_pdf_status?: string | null;
13662
13771
  opgepakt_op?: string | null;
13663
13772
  paginas?: number;
13664
13773
  payload?: import("../integrations/supabase/types").Json;
@@ -13667,6 +13776,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13667
13776
  pogingen?: number;
13668
13777
  printer_id?: string | null;
13669
13778
  render_html?: string | null;
13779
+ resultaat_pdf_base64?: string | null;
13670
13780
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13671
13781
  updated_at?: string;
13672
13782
  volgende_poging?: string | null;
@@ -13691,6 +13801,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13691
13801
  is_herprint?: boolean;
13692
13802
  kopieen?: number;
13693
13803
  layout_id?: string | null;
13804
+ lokaal_opgeslagen_op?: string | null;
13805
+ lokale_pdf_fout?: string | null;
13806
+ lokale_pdf_status?: string | null;
13694
13807
  opgepakt_op?: string | null;
13695
13808
  paginas?: number;
13696
13809
  payload?: import("../integrations/supabase/types").Json;
@@ -13699,6 +13812,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13699
13812
  pogingen?: number;
13700
13813
  printer_id?: string | null;
13701
13814
  render_html?: string | null;
13815
+ resultaat_pdf_base64?: string | null;
13702
13816
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13703
13817
  updated_at?: string;
13704
13818
  volgende_poging?: string | null;
@@ -13817,6 +13931,39 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
13817
13931
  };
13818
13932
  Relationships: [];
13819
13933
  };
13934
+ print_preview_events: {
13935
+ Row: {
13936
+ code: string | null;
13937
+ created_at: string;
13938
+ detail: import("../integrations/supabase/types").Json;
13939
+ id: string;
13940
+ queue_item_id: string | null;
13941
+ reden: string | null;
13942
+ station_slug: string | null;
13943
+ uitkomst: string;
13944
+ };
13945
+ Insert: {
13946
+ code?: string | null;
13947
+ created_at?: string;
13948
+ detail?: import("../integrations/supabase/types").Json;
13949
+ id?: string;
13950
+ queue_item_id?: string | null;
13951
+ reden?: string | null;
13952
+ station_slug?: string | null;
13953
+ uitkomst?: string;
13954
+ };
13955
+ Update: {
13956
+ code?: string | null;
13957
+ created_at?: string;
13958
+ detail?: import("../integrations/supabase/types").Json;
13959
+ id?: string;
13960
+ queue_item_id?: string | null;
13961
+ reden?: string | null;
13962
+ station_slug?: string | null;
13963
+ uitkomst?: string;
13964
+ };
13965
+ Relationships: [];
13966
+ };
13820
13967
  print_queue_runners: {
13821
13968
  Row: {
13822
13969
  actief: boolean;
@@ -14056,6 +14203,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
14056
14203
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14057
14204
  online: boolean;
14058
14205
  papierformaat: string;
14206
+ pdf_map: string | null;
14059
14207
  poort: number | null;
14060
14208
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14061
14209
  systeemnaam: string;
@@ -14081,6 +14229,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
14081
14229
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14082
14230
  online?: boolean;
14083
14231
  papierformaat?: string;
14232
+ pdf_map?: string | null;
14084
14233
  poort?: number | null;
14085
14234
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14086
14235
  systeemnaam?: string;
@@ -14106,6 +14255,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
14106
14255
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14107
14256
  online?: boolean;
14108
14257
  papierformaat?: string;
14258
+ pdf_map?: string | null;
14109
14259
  poort?: number | null;
14110
14260
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14111
14261
  systeemnaam?: string;
@@ -20362,6 +20512,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20362
20512
  is_herprint: boolean;
20363
20513
  kopieen: number;
20364
20514
  layout_id: string | null;
20515
+ lokaal_opgeslagen_op: string | null;
20516
+ lokale_pdf_fout: string | null;
20517
+ lokale_pdf_status: string | null;
20365
20518
  opgepakt_op: string | null;
20366
20519
  paginas: number;
20367
20520
  payload: import("../integrations/supabase/types").Json;
@@ -20370,6 +20523,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20370
20523
  pogingen: number;
20371
20524
  printer_id: string | null;
20372
20525
  render_html: string | null;
20526
+ resultaat_pdf_base64: string | null;
20373
20527
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20374
20528
  updated_at: string;
20375
20529
  volgende_poging: string | null;
@@ -20461,6 +20615,53 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20461
20615
  isSetofReturn: true;
20462
20616
  };
20463
20617
  };
20618
+ claim_pdf_print_jobs: {
20619
+ Args: {
20620
+ _max?: number;
20621
+ };
20622
+ Returns: {
20623
+ agent_id: string | null;
20624
+ bron_job_id: string | null;
20625
+ created_at: string;
20626
+ documentnaam: string;
20627
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20628
+ extern_job_id: string | null;
20629
+ foutmelding: string | null;
20630
+ gebruiker_id: string | null;
20631
+ gebruiker_naam: string;
20632
+ gebruikte_bron: string | null;
20633
+ gebruikte_layout_id: string | null;
20634
+ gestart_op: string | null;
20635
+ herkomst: string | null;
20636
+ id: string;
20637
+ idempotentie_sleutel: string | null;
20638
+ is_herprint: boolean;
20639
+ kopieen: number;
20640
+ layout_id: string | null;
20641
+ lokaal_opgeslagen_op: string | null;
20642
+ lokale_pdf_fout: string | null;
20643
+ lokale_pdf_status: string | null;
20644
+ opgepakt_op: string | null;
20645
+ paginas: number;
20646
+ payload: import("../integrations/supabase/types").Json;
20647
+ pdf_base64: string | null;
20648
+ pdf_url: string | null;
20649
+ pogingen: number;
20650
+ printer_id: string | null;
20651
+ render_html: string | null;
20652
+ resultaat_pdf_base64: string | null;
20653
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20654
+ updated_at: string;
20655
+ volgende_poging: string | null;
20656
+ voltooid_op: string | null;
20657
+ }[];
20658
+ SetofOptions: {
20659
+ from: "*";
20660
+ to: "print_jobs";
20661
+ isOneToOne: false;
20662
+ isSetofReturn: true;
20663
+ };
20664
+ };
20464
20665
  claim_print_jobs: {
20465
20666
  Args: {
20466
20667
  _agent_id: string;
@@ -20485,6 +20686,9 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20485
20686
  is_herprint: boolean;
20486
20687
  kopieen: number;
20487
20688
  layout_id: string | null;
20689
+ lokaal_opgeslagen_op: string | null;
20690
+ lokale_pdf_fout: string | null;
20691
+ lokale_pdf_status: string | null;
20488
20692
  opgepakt_op: string | null;
20489
20693
  paginas: number;
20490
20694
  payload: import("../integrations/supabase/types").Json;
@@ -20493,6 +20697,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20493
20697
  pogingen: number;
20494
20698
  printer_id: string | null;
20495
20699
  render_html: string | null;
20700
+ resultaat_pdf_base64: string | null;
20496
20701
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20497
20702
  updated_at: string;
20498
20703
  volgende_poging: string | null;
@@ -20633,6 +20838,8 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
20633
20838
  order_id: string;
20634
20839
  order_source: string;
20635
20840
  pick_date: string;
20841
+ printed_at: string;
20842
+ printed_today: boolean;
20636
20843
  status: string;
20637
20844
  }[];
20638
20845
  };
@@ -21341,6 +21548,10 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21341
21548
  };
21342
21549
  Returns: number;
21343
21550
  };
21551
+ logistics_cancel_orphan_tasks: {
21552
+ Args: never;
21553
+ Returns: number;
21554
+ };
21344
21555
  logistics_capacity_day_check: {
21345
21556
  Args: {
21346
21557
  p_from?: string;
@@ -21361,6 +21572,25 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21361
21572
  };
21362
21573
  Returns: number;
21363
21574
  };
21575
+ logistics_cart_index: {
21576
+ Args: {
21577
+ p_from?: string;
21578
+ p_to?: string;
21579
+ };
21580
+ Returns: {
21581
+ cart_id: string;
21582
+ cart_index: number;
21583
+ cart_label: string;
21584
+ is_shared: boolean;
21585
+ order_number: string;
21586
+ order_source: string;
21587
+ order_uuid: string;
21588
+ pick_date: string;
21589
+ printed_at: string;
21590
+ shifted: boolean;
21591
+ task_status: string;
21592
+ }[];
21593
+ };
21364
21594
  logistics_check_order_allowed: {
21365
21595
  Args: {
21366
21596
  p_lines: import("../integrations/supabase/types").Json;
@@ -21509,6 +21739,17 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21509
21739
  isSetofReturn: false;
21510
21740
  };
21511
21741
  };
21742
+ logistics_consistency_check: {
21743
+ Args: never;
21744
+ Returns: {
21745
+ agenda_carts: number;
21746
+ control_carts: number;
21747
+ ok: boolean;
21748
+ orphan_tasks: number;
21749
+ pick_date: string;
21750
+ raw_carts: number;
21751
+ }[];
21752
+ };
21512
21753
  logistics_delay_customer_email: {
21513
21754
  Args: {
21514
21755
  p_customer: string;
@@ -21598,6 +21839,16 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21598
21839
  isSetofReturn: false;
21599
21840
  };
21600
21841
  };
21842
+ logistics_floriday_cart_plan: {
21843
+ Args: {
21844
+ p_order_id: string;
21845
+ };
21846
+ Returns: {
21847
+ carrier_type: string;
21848
+ idx: number;
21849
+ packages: number;
21850
+ }[];
21851
+ };
21601
21852
  logistics_floriday_claim_pushes: {
21602
21853
  Args: {
21603
21854
  _lease_seconds?: number;
@@ -21702,6 +21953,25 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21702
21953
  };
21703
21954
  Returns: number;
21704
21955
  };
21956
+ logistics_order_overview: {
21957
+ Args: {
21958
+ p_from?: string;
21959
+ p_to?: string;
21960
+ };
21961
+ Returns: {
21962
+ cart_count: number;
21963
+ customer_name: string;
21964
+ delivery_date: string;
21965
+ order_number: string;
21966
+ order_source: string;
21967
+ order_uuid: string;
21968
+ pick_date: string;
21969
+ plant_count: number;
21970
+ printed_at: string;
21971
+ shifted: boolean;
21972
+ status: string;
21973
+ }[];
21974
+ };
21705
21975
  logistics_order_pick_day: {
21706
21976
  Args: {
21707
21977
  p_order_ref: string;
@@ -21714,6 +21984,22 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21714
21984
  };
21715
21985
  Returns: string;
21716
21986
  };
21987
+ logistics_pick_agenda: {
21988
+ Args: {
21989
+ p_from?: string;
21990
+ p_to?: string;
21991
+ };
21992
+ Returns: {
21993
+ cart_count: number;
21994
+ in_preparation: number;
21995
+ order_count: number;
21996
+ orders: import("../integrations/supabase/types").Json;
21997
+ pick_date: string;
21998
+ plant_count: number;
21999
+ ready: number;
22000
+ shifted_count: number;
22001
+ }[];
22002
+ };
21717
22003
  logistics_pick_email_purpose: {
21718
22004
  Args: never;
21719
22005
  Returns: string;
@@ -21768,6 +22054,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21768
22054
  };
21769
22055
  Returns: undefined;
21770
22056
  };
22057
+ logistics_plan_floriday_order: {
22058
+ Args: {
22059
+ p_buffer_id?: string;
22060
+ p_order_id: string;
22061
+ };
22062
+ Returns: number;
22063
+ };
21771
22064
  logistics_plan_impact_orders: {
21772
22065
  Args: {
21773
22066
  p_order_id: string;
@@ -21873,6 +22166,15 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
21873
22166
  };
21874
22167
  Returns: import("../integrations/supabase/types").Json;
21875
22168
  };
22169
+ logistics_resolve_pick_document: {
22170
+ Args: {
22171
+ _is_herprint: boolean;
22172
+ _queue_item_id: string;
22173
+ _session_id: string;
22174
+ _voorbeeld: boolean;
22175
+ };
22176
+ Returns: import("../integrations/supabase/types").Json;
22177
+ };
21876
22178
  logistics_resolve_settings: {
21877
22179
  Args: {
21878
22180
  p_config_id: string;
@@ -22313,6 +22615,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
22313
22615
  };
22314
22616
  pick_enqueue_print_job: {
22315
22617
  Args: {
22618
+ _is_herprint?: boolean;
22316
22619
  _printer_id?: string;
22317
22620
  _queue_item_id: string;
22318
22621
  _session_id?: string;
@@ -22326,6 +22629,13 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
22326
22629
  };
22327
22630
  Returns: import("../integrations/supabase/types").Json;
22328
22631
  };
22632
+ pick_preview_job: {
22633
+ Args: {
22634
+ _queue_item_id: string;
22635
+ _station_slug: string;
22636
+ };
22637
+ Returns: import("../integrations/supabase/types").Json;
22638
+ };
22329
22639
  pick_print_job_status: {
22330
22640
  Args: {
22331
22641
  _job_id: string;
@@ -22503,6 +22813,24 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
22503
22813
  };
22504
22814
  Returns: undefined;
22505
22815
  };
22816
+ print_preview_toestaan: {
22817
+ Args: {
22818
+ _max?: number;
22819
+ _queue_item_id: string;
22820
+ _station_slug: string;
22821
+ _venster_sec?: number;
22822
+ };
22823
+ Returns: import("../integrations/supabase/types").Json;
22824
+ };
22825
+ print_preview_weiger: {
22826
+ Args: {
22827
+ _code: string;
22828
+ _queue_item_id: string;
22829
+ _reden: string;
22830
+ _station_slug: string;
22831
+ };
22832
+ Returns: undefined;
22833
+ };
22506
22834
  process_logistics_event: {
22507
22835
  Args: {
22508
22836
  p_event_id: string;
@@ -22657,6 +22985,12 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
22657
22985
  };
22658
22986
  Returns: string;
22659
22987
  };
22988
+ resolve_print_job_printer_id: {
22989
+ Args: {
22990
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22991
+ };
22992
+ Returns: string;
22993
+ };
22660
22994
  resolve_product_id_for_item: {
22661
22995
  Args: {
22662
22996
  p_product_name: string;
@@ -23248,7 +23582,7 @@ export declare const checkOrderStockAllowed: import("@tanstack/start-client-core
23248
23582
  };
23249
23583
  CompositeTypes: { [_ in never]: never; };
23250
23584
  }, {
23251
- PostgrestVersion: "14.17";
23585
+ PostgrestVersion: "14.5";
23252
23586
  }>;
23253
23587
  userId: string;
23254
23588
  claims: import("@supabase/auth-js").User;
@@ -26113,6 +26447,84 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
26113
26447
  };
26114
26448
  Relationships: [];
26115
26449
  };
26450
+ delivery_notes: {
26451
+ Row: {
26452
+ byte_size: number | null;
26453
+ connection_id: string | null;
26454
+ content_type: string;
26455
+ created_at: string;
26456
+ error_message: string | null;
26457
+ fetched_at: string | null;
26458
+ fulfillment_order_id: string | null;
26459
+ http_status: number | null;
26460
+ id: string;
26461
+ label_code: string | null;
26462
+ letter: string | null;
26463
+ load_carrier_index: number | null;
26464
+ load_carrier_type: string | null;
26465
+ order_id: string | null;
26466
+ order_number: string | null;
26467
+ packages: number | null;
26468
+ source: string;
26469
+ status: string;
26470
+ storage_bucket: string;
26471
+ storage_path: string | null;
26472
+ updated_at: string;
26473
+ };
26474
+ Insert: {
26475
+ byte_size?: number | null;
26476
+ connection_id?: string | null;
26477
+ content_type?: string;
26478
+ created_at?: string;
26479
+ error_message?: string | null;
26480
+ fetched_at?: string | null;
26481
+ fulfillment_order_id?: string | null;
26482
+ http_status?: number | null;
26483
+ id?: string;
26484
+ label_code?: string | null;
26485
+ letter?: string | null;
26486
+ load_carrier_index?: number | null;
26487
+ load_carrier_type?: string | null;
26488
+ order_id?: string | null;
26489
+ order_number?: string | null;
26490
+ packages?: number | null;
26491
+ source?: string;
26492
+ status?: string;
26493
+ storage_bucket?: string;
26494
+ storage_path?: string | null;
26495
+ updated_at?: string;
26496
+ };
26497
+ Update: {
26498
+ byte_size?: number | null;
26499
+ connection_id?: string | null;
26500
+ content_type?: string;
26501
+ created_at?: string;
26502
+ error_message?: string | null;
26503
+ fetched_at?: string | null;
26504
+ fulfillment_order_id?: string | null;
26505
+ http_status?: number | null;
26506
+ id?: string;
26507
+ label_code?: string | null;
26508
+ letter?: string | null;
26509
+ load_carrier_index?: number | null;
26510
+ load_carrier_type?: string | null;
26511
+ order_id?: string | null;
26512
+ order_number?: string | null;
26513
+ packages?: number | null;
26514
+ source?: string;
26515
+ status?: string;
26516
+ storage_bucket?: string;
26517
+ storage_path?: string | null;
26518
+ updated_at?: string;
26519
+ };
26520
+ Relationships: [{
26521
+ foreignKeyName: "delivery_notes_order_id_fkey";
26522
+ columns: ["order_id"];
26523
+ isOneToOne: false;
26524
+ referencedRelation: "orders";
26525
+ referencedColumns: ["id"];
26526
+ }];
26527
+ };
26116
26528
  document_bronregels: {
26117
26529
  Row: {
26118
26530
  bron: string;
@@ -29166,10 +29578,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29166
29578
  };
29167
29579
  floriday_connections: {
29168
29580
  Row: {
29169
- access_token: string | null;
29170
29581
  api_key: string;
29171
- client_id: string;
29172
- client_secret: string;
29173
29582
  created_at: string;
29174
29583
  customers_endpoint: string | null;
29175
29584
  environment: string;
@@ -29184,10 +29593,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29184
29593
  updated_at: string;
29185
29594
  };
29186
29595
  Insert: {
29187
- access_token?: string | null;
29188
29596
  api_key: string;
29189
- client_id: string;
29190
- client_secret: string;
29191
29597
  created_at?: string;
29192
29598
  customers_endpoint?: string | null;
29193
29599
  environment: string;
@@ -29202,10 +29608,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
29202
29608
  updated_at?: string;
29203
29609
  };
29204
29610
  Update: {
29205
- access_token?: string | null;
29206
29611
  api_key?: string;
29207
- client_id?: string;
29208
- client_secret?: string;
29209
29612
  created_at?: string;
29210
29613
  customers_endpoint?: string | null;
29211
29614
  environment?: string;
@@ -36838,6 +37241,39 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36838
37241
  };
36839
37242
  Relationships: [];
36840
37243
  };
37244
+ print_dedupe_events: {
37245
+ Row: {
37246
+ bestaande_job_id: string | null;
37247
+ created_at: string;
37248
+ detail: string | null;
37249
+ documentnaam: string | null;
37250
+ documenttype: string | null;
37251
+ id: string;
37252
+ idempotentie_sleutel: string;
37253
+ reden: string;
37254
+ };
37255
+ Insert: {
37256
+ bestaande_job_id?: string | null;
37257
+ created_at?: string;
37258
+ detail?: string | null;
37259
+ documentnaam?: string | null;
37260
+ documenttype?: string | null;
37261
+ id?: string;
37262
+ idempotentie_sleutel: string;
37263
+ reden: string;
37264
+ };
37265
+ Update: {
37266
+ bestaande_job_id?: string | null;
37267
+ created_at?: string;
37268
+ detail?: string | null;
37269
+ documentnaam?: string | null;
37270
+ documenttype?: string | null;
37271
+ id?: string;
37272
+ idempotentie_sleutel?: string;
37273
+ reden?: string;
37274
+ };
37275
+ Relationships: [];
37276
+ };
36841
37277
  print_job_logs: {
36842
37278
  Row: {
36843
37279
  created_at: string;
@@ -36888,6 +37324,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36888
37324
  is_herprint: boolean;
36889
37325
  kopieen: number;
36890
37326
  layout_id: string | null;
37327
+ lokaal_opgeslagen_op: string | null;
37328
+ lokale_pdf_fout: string | null;
37329
+ lokale_pdf_status: string | null;
36891
37330
  opgepakt_op: string | null;
36892
37331
  paginas: number;
36893
37332
  payload: import("../integrations/supabase/types").Json;
@@ -36896,6 +37335,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36896
37335
  pogingen: number;
36897
37336
  printer_id: string | null;
36898
37337
  render_html: string | null;
37338
+ resultaat_pdf_base64: string | null;
36899
37339
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36900
37340
  updated_at: string;
36901
37341
  volgende_poging: string | null;
@@ -36920,6 +37360,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36920
37360
  is_herprint?: boolean;
36921
37361
  kopieen?: number;
36922
37362
  layout_id?: string | null;
37363
+ lokaal_opgeslagen_op?: string | null;
37364
+ lokale_pdf_fout?: string | null;
37365
+ lokale_pdf_status?: string | null;
36923
37366
  opgepakt_op?: string | null;
36924
37367
  paginas?: number;
36925
37368
  payload?: import("../integrations/supabase/types").Json;
@@ -36928,6 +37371,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36928
37371
  pogingen?: number;
36929
37372
  printer_id?: string | null;
36930
37373
  render_html?: string | null;
37374
+ resultaat_pdf_base64?: string | null;
36931
37375
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36932
37376
  updated_at?: string;
36933
37377
  volgende_poging?: string | null;
@@ -36952,6 +37396,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36952
37396
  is_herprint?: boolean;
36953
37397
  kopieen?: number;
36954
37398
  layout_id?: string | null;
37399
+ lokaal_opgeslagen_op?: string | null;
37400
+ lokale_pdf_fout?: string | null;
37401
+ lokale_pdf_status?: string | null;
36955
37402
  opgepakt_op?: string | null;
36956
37403
  paginas?: number;
36957
37404
  payload?: import("../integrations/supabase/types").Json;
@@ -36960,6 +37407,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
36960
37407
  pogingen?: number;
36961
37408
  printer_id?: string | null;
36962
37409
  render_html?: string | null;
37410
+ resultaat_pdf_base64?: string | null;
36963
37411
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36964
37412
  updated_at?: string;
36965
37413
  volgende_poging?: string | null;
@@ -37078,6 +37526,39 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
37078
37526
  };
37079
37527
  Relationships: [];
37080
37528
  };
37529
+ print_preview_events: {
37530
+ Row: {
37531
+ code: string | null;
37532
+ created_at: string;
37533
+ detail: import("../integrations/supabase/types").Json;
37534
+ id: string;
37535
+ queue_item_id: string | null;
37536
+ reden: string | null;
37537
+ station_slug: string | null;
37538
+ uitkomst: string;
37539
+ };
37540
+ Insert: {
37541
+ code?: string | null;
37542
+ created_at?: string;
37543
+ detail?: import("../integrations/supabase/types").Json;
37544
+ id?: string;
37545
+ queue_item_id?: string | null;
37546
+ reden?: string | null;
37547
+ station_slug?: string | null;
37548
+ uitkomst?: string;
37549
+ };
37550
+ Update: {
37551
+ code?: string | null;
37552
+ created_at?: string;
37553
+ detail?: import("../integrations/supabase/types").Json;
37554
+ id?: string;
37555
+ queue_item_id?: string | null;
37556
+ reden?: string | null;
37557
+ station_slug?: string | null;
37558
+ uitkomst?: string;
37559
+ };
37560
+ Relationships: [];
37561
+ };
37081
37562
  print_queue_runners: {
37082
37563
  Row: {
37083
37564
  actief: boolean;
@@ -37317,6 +37798,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
37317
37798
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37318
37799
  online: boolean;
37319
37800
  papierformaat: string;
37801
+ pdf_map: string | null;
37320
37802
  poort: number | null;
37321
37803
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37322
37804
  systeemnaam: string;
@@ -37342,6 +37824,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
37342
37824
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37343
37825
  online?: boolean;
37344
37826
  papierformaat?: string;
37827
+ pdf_map?: string | null;
37345
37828
  poort?: number | null;
37346
37829
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37347
37830
  systeemnaam?: string;
@@ -37367,6 +37850,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
37367
37850
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37368
37851
  online?: boolean;
37369
37852
  papierformaat?: string;
37853
+ pdf_map?: string | null;
37370
37854
  poort?: number | null;
37371
37855
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37372
37856
  systeemnaam?: string;
@@ -43623,6 +44107,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43623
44107
  is_herprint: boolean;
43624
44108
  kopieen: number;
43625
44109
  layout_id: string | null;
44110
+ lokaal_opgeslagen_op: string | null;
44111
+ lokale_pdf_fout: string | null;
44112
+ lokale_pdf_status: string | null;
43626
44113
  opgepakt_op: string | null;
43627
44114
  paginas: number;
43628
44115
  payload: import("../integrations/supabase/types").Json;
@@ -43631,6 +44118,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43631
44118
  pogingen: number;
43632
44119
  printer_id: string | null;
43633
44120
  render_html: string | null;
44121
+ resultaat_pdf_base64: string | null;
43634
44122
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43635
44123
  updated_at: string;
43636
44124
  volgende_poging: string | null;
@@ -43722,6 +44210,53 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43722
44210
  isSetofReturn: true;
43723
44211
  };
43724
44212
  };
44213
+ claim_pdf_print_jobs: {
44214
+ Args: {
44215
+ _max?: number;
44216
+ };
44217
+ Returns: {
44218
+ agent_id: string | null;
44219
+ bron_job_id: string | null;
44220
+ created_at: string;
44221
+ documentnaam: string;
44222
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44223
+ extern_job_id: string | null;
44224
+ foutmelding: string | null;
44225
+ gebruiker_id: string | null;
44226
+ gebruiker_naam: string;
44227
+ gebruikte_bron: string | null;
44228
+ gebruikte_layout_id: string | null;
44229
+ gestart_op: string | null;
44230
+ herkomst: string | null;
44231
+ id: string;
44232
+ idempotentie_sleutel: string | null;
44233
+ is_herprint: boolean;
44234
+ kopieen: number;
44235
+ layout_id: string | null;
44236
+ lokaal_opgeslagen_op: string | null;
44237
+ lokale_pdf_fout: string | null;
44238
+ lokale_pdf_status: string | null;
44239
+ opgepakt_op: string | null;
44240
+ paginas: number;
44241
+ payload: import("../integrations/supabase/types").Json;
44242
+ pdf_base64: string | null;
44243
+ pdf_url: string | null;
44244
+ pogingen: number;
44245
+ printer_id: string | null;
44246
+ render_html: string | null;
44247
+ resultaat_pdf_base64: string | null;
44248
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44249
+ updated_at: string;
44250
+ volgende_poging: string | null;
44251
+ voltooid_op: string | null;
44252
+ }[];
44253
+ SetofOptions: {
44254
+ from: "*";
44255
+ to: "print_jobs";
44256
+ isOneToOne: false;
44257
+ isSetofReturn: true;
44258
+ };
44259
+ };
43725
44260
  claim_print_jobs: {
43726
44261
  Args: {
43727
44262
  _agent_id: string;
@@ -43746,6 +44281,9 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43746
44281
  is_herprint: boolean;
43747
44282
  kopieen: number;
43748
44283
  layout_id: string | null;
44284
+ lokaal_opgeslagen_op: string | null;
44285
+ lokale_pdf_fout: string | null;
44286
+ lokale_pdf_status: string | null;
43749
44287
  opgepakt_op: string | null;
43750
44288
  paginas: number;
43751
44289
  payload: import("../integrations/supabase/types").Json;
@@ -43754,6 +44292,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43754
44292
  pogingen: number;
43755
44293
  printer_id: string | null;
43756
44294
  render_html: string | null;
44295
+ resultaat_pdf_base64: string | null;
43757
44296
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43758
44297
  updated_at: string;
43759
44298
  volgende_poging: string | null;
@@ -43894,6 +44433,8 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
43894
44433
  order_id: string;
43895
44434
  order_source: string;
43896
44435
  pick_date: string;
44436
+ printed_at: string;
44437
+ printed_today: boolean;
43897
44438
  status: string;
43898
44439
  }[];
43899
44440
  };
@@ -44602,6 +45143,10 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44602
45143
  };
44603
45144
  Returns: number;
44604
45145
  };
45146
+ logistics_cancel_orphan_tasks: {
45147
+ Args: never;
45148
+ Returns: number;
45149
+ };
44605
45150
  logistics_capacity_day_check: {
44606
45151
  Args: {
44607
45152
  p_from?: string;
@@ -44622,6 +45167,25 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44622
45167
  };
44623
45168
  Returns: number;
44624
45169
  };
45170
+ logistics_cart_index: {
45171
+ Args: {
45172
+ p_from?: string;
45173
+ p_to?: string;
45174
+ };
45175
+ Returns: {
45176
+ cart_id: string;
45177
+ cart_index: number;
45178
+ cart_label: string;
45179
+ is_shared: boolean;
45180
+ order_number: string;
45181
+ order_source: string;
45182
+ order_uuid: string;
45183
+ pick_date: string;
45184
+ printed_at: string;
45185
+ shifted: boolean;
45186
+ task_status: string;
45187
+ }[];
45188
+ };
44625
45189
  logistics_check_order_allowed: {
44626
45190
  Args: {
44627
45191
  p_lines: import("../integrations/supabase/types").Json;
@@ -44770,6 +45334,17 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44770
45334
  isSetofReturn: false;
44771
45335
  };
44772
45336
  };
45337
+ logistics_consistency_check: {
45338
+ Args: never;
45339
+ Returns: {
45340
+ agenda_carts: number;
45341
+ control_carts: number;
45342
+ ok: boolean;
45343
+ orphan_tasks: number;
45344
+ pick_date: string;
45345
+ raw_carts: number;
45346
+ }[];
45347
+ };
44773
45348
  logistics_delay_customer_email: {
44774
45349
  Args: {
44775
45350
  p_customer: string;
@@ -44859,6 +45434,16 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44859
45434
  isSetofReturn: false;
44860
45435
  };
44861
45436
  };
45437
+ logistics_floriday_cart_plan: {
45438
+ Args: {
45439
+ p_order_id: string;
45440
+ };
45441
+ Returns: {
45442
+ carrier_type: string;
45443
+ idx: number;
45444
+ packages: number;
45445
+ }[];
45446
+ };
44862
45447
  logistics_floriday_claim_pushes: {
44863
45448
  Args: {
44864
45449
  _lease_seconds?: number;
@@ -44963,6 +45548,25 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44963
45548
  };
44964
45549
  Returns: number;
44965
45550
  };
45551
+ logistics_order_overview: {
45552
+ Args: {
45553
+ p_from?: string;
45554
+ p_to?: string;
45555
+ };
45556
+ Returns: {
45557
+ cart_count: number;
45558
+ customer_name: string;
45559
+ delivery_date: string;
45560
+ order_number: string;
45561
+ order_source: string;
45562
+ order_uuid: string;
45563
+ pick_date: string;
45564
+ plant_count: number;
45565
+ printed_at: string;
45566
+ shifted: boolean;
45567
+ status: string;
45568
+ }[];
45569
+ };
44966
45570
  logistics_order_pick_day: {
44967
45571
  Args: {
44968
45572
  p_order_ref: string;
@@ -44975,6 +45579,22 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
44975
45579
  };
44976
45580
  Returns: string;
44977
45581
  };
45582
+ logistics_pick_agenda: {
45583
+ Args: {
45584
+ p_from?: string;
45585
+ p_to?: string;
45586
+ };
45587
+ Returns: {
45588
+ cart_count: number;
45589
+ in_preparation: number;
45590
+ order_count: number;
45591
+ orders: import("../integrations/supabase/types").Json;
45592
+ pick_date: string;
45593
+ plant_count: number;
45594
+ ready: number;
45595
+ shifted_count: number;
45596
+ }[];
45597
+ };
44978
45598
  logistics_pick_email_purpose: {
44979
45599
  Args: never;
44980
45600
  Returns: string;
@@ -45029,6 +45649,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45029
45649
  };
45030
45650
  Returns: undefined;
45031
45651
  };
45652
+ logistics_plan_floriday_order: {
45653
+ Args: {
45654
+ p_buffer_id?: string;
45655
+ p_order_id: string;
45656
+ };
45657
+ Returns: number;
45658
+ };
45032
45659
  logistics_plan_impact_orders: {
45033
45660
  Args: {
45034
45661
  p_order_id: string;
@@ -45134,6 +45761,15 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45134
45761
  };
45135
45762
  Returns: import("../integrations/supabase/types").Json;
45136
45763
  };
45764
+ logistics_resolve_pick_document: {
45765
+ Args: {
45766
+ _is_herprint: boolean;
45767
+ _queue_item_id: string;
45768
+ _session_id: string;
45769
+ _voorbeeld: boolean;
45770
+ };
45771
+ Returns: import("../integrations/supabase/types").Json;
45772
+ };
45137
45773
  logistics_resolve_settings: {
45138
45774
  Args: {
45139
45775
  p_config_id: string;
@@ -45574,6 +46210,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45574
46210
  };
45575
46211
  pick_enqueue_print_job: {
45576
46212
  Args: {
46213
+ _is_herprint?: boolean;
45577
46214
  _printer_id?: string;
45578
46215
  _queue_item_id: string;
45579
46216
  _session_id?: string;
@@ -45587,6 +46224,13 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45587
46224
  };
45588
46225
  Returns: import("../integrations/supabase/types").Json;
45589
46226
  };
46227
+ pick_preview_job: {
46228
+ Args: {
46229
+ _queue_item_id: string;
46230
+ _station_slug: string;
46231
+ };
46232
+ Returns: import("../integrations/supabase/types").Json;
46233
+ };
45590
46234
  pick_print_job_status: {
45591
46235
  Args: {
45592
46236
  _job_id: string;
@@ -45764,6 +46408,24 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45764
46408
  };
45765
46409
  Returns: undefined;
45766
46410
  };
46411
+ print_preview_toestaan: {
46412
+ Args: {
46413
+ _max?: number;
46414
+ _queue_item_id: string;
46415
+ _station_slug: string;
46416
+ _venster_sec?: number;
46417
+ };
46418
+ Returns: import("../integrations/supabase/types").Json;
46419
+ };
46420
+ print_preview_weiger: {
46421
+ Args: {
46422
+ _code: string;
46423
+ _queue_item_id: string;
46424
+ _reden: string;
46425
+ _station_slug: string;
46426
+ };
46427
+ Returns: undefined;
46428
+ };
45767
46429
  process_logistics_event: {
45768
46430
  Args: {
45769
46431
  p_event_id: string;
@@ -45918,6 +46580,12 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
45918
46580
  };
45919
46581
  Returns: string;
45920
46582
  };
46583
+ resolve_print_job_printer_id: {
46584
+ Args: {
46585
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46586
+ };
46587
+ Returns: string;
46588
+ };
45921
46589
  resolve_product_id_for_item: {
45922
46590
  Args: {
45923
46591
  p_product_name: string;
@@ -46509,7 +47177,7 @@ export declare const getBackorderAllowed: import("@tanstack/start-client-core").
46509
47177
  };
46510
47178
  CompositeTypes: { [_ in never]: never; };
46511
47179
  }, {
46512
- PostgrestVersion: "14.17";
47180
+ PostgrestVersion: "14.5";
46513
47181
  }>;
46514
47182
  userId: string;
46515
47183
  claims: import("@supabase/auth-js").User;