@flowselections/floriday-verkoop-module 1.0.56 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +5 -5
  3. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +344 -10
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +344 -10
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +344 -10
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +346 -10
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +344 -10
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3906 -232
  16. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-replan.functions.d.ts +1032 -30
  18. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/create-order.functions.d.ts +6128 -450
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1032 -30
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  24. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  26. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23961 -20
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  29. package/dist-lib/lib/floriday-mirror.functions.d.ts +344 -10
  30. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-public.functions.d.ts +2451 -113
  32. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-writes.functions.d.ts +1763 -93
  35. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/invoice-timing.functions.d.ts +1376 -40
  37. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/load-carriers.functions.d.ts +344 -10
  39. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logistics-engine.functions.d.ts +1763 -93
  41. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/logistics-stock.functions.d.ts +688 -20
  43. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-addresses.functions.d.ts +344 -10
  45. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-buffers.functions.d.ts +1032 -30
  47. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-carrier.functions.d.ts +688 -20
  49. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-pickup.functions.d.ts +688 -20
  51. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-shipments.functions.d.ts +1376 -40
  53. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.functions.d.ts +344 -10
  55. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  57. package/dist-lib/lib/salesorders-list.server.js +43 -1
  58. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  59. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders.functions.d.ts +1763 -93
  61. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +688 -20
  63. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/tradeitems.functions.d.ts +344 -10
  65. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  66. package/package.json +131 -131
@@ -2851,6 +2851,84 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
2851
2851
  };
2852
2852
  Relationships: [];
2853
2853
  };
2854
+ delivery_notes: {
2855
+ Row: {
2856
+ byte_size: number | null;
2857
+ connection_id: string | null;
2858
+ content_type: string;
2859
+ created_at: string;
2860
+ error_message: string | null;
2861
+ fetched_at: string | null;
2862
+ fulfillment_order_id: string | null;
2863
+ http_status: number | null;
2864
+ id: string;
2865
+ label_code: string | null;
2866
+ letter: string | null;
2867
+ load_carrier_index: number | null;
2868
+ load_carrier_type: string | null;
2869
+ order_id: string | null;
2870
+ order_number: string | null;
2871
+ packages: number | null;
2872
+ source: string;
2873
+ status: string;
2874
+ storage_bucket: string;
2875
+ storage_path: string | null;
2876
+ updated_at: string;
2877
+ };
2878
+ Insert: {
2879
+ byte_size?: number | null;
2880
+ connection_id?: string | null;
2881
+ content_type?: string;
2882
+ created_at?: string;
2883
+ error_message?: string | null;
2884
+ fetched_at?: string | null;
2885
+ fulfillment_order_id?: string | null;
2886
+ http_status?: number | null;
2887
+ id?: string;
2888
+ label_code?: string | null;
2889
+ letter?: string | null;
2890
+ load_carrier_index?: number | null;
2891
+ load_carrier_type?: string | null;
2892
+ order_id?: string | null;
2893
+ order_number?: string | null;
2894
+ packages?: number | null;
2895
+ source?: string;
2896
+ status?: string;
2897
+ storage_bucket?: string;
2898
+ storage_path?: string | null;
2899
+ updated_at?: string;
2900
+ };
2901
+ Update: {
2902
+ byte_size?: number | null;
2903
+ connection_id?: string | null;
2904
+ content_type?: string;
2905
+ created_at?: string;
2906
+ error_message?: string | null;
2907
+ fetched_at?: string | null;
2908
+ fulfillment_order_id?: string | null;
2909
+ http_status?: number | null;
2910
+ id?: string;
2911
+ label_code?: string | null;
2912
+ letter?: string | null;
2913
+ load_carrier_index?: number | null;
2914
+ load_carrier_type?: string | null;
2915
+ order_id?: string | null;
2916
+ order_number?: string | null;
2917
+ packages?: number | null;
2918
+ source?: string;
2919
+ status?: string;
2920
+ storage_bucket?: string;
2921
+ storage_path?: string | null;
2922
+ updated_at?: string;
2923
+ };
2924
+ Relationships: [{
2925
+ foreignKeyName: "delivery_notes_order_id_fkey";
2926
+ columns: ["order_id"];
2927
+ isOneToOne: false;
2928
+ referencedRelation: "orders";
2929
+ referencedColumns: ["id"];
2930
+ }];
2931
+ };
2854
2932
  document_bronregels: {
2855
2933
  Row: {
2856
2934
  bron: string;
@@ -5904,10 +5982,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
5904
5982
  };
5905
5983
  floriday_connections: {
5906
5984
  Row: {
5907
- access_token: string | null;
5908
5985
  api_key: string;
5909
- client_id: string;
5910
- client_secret: string;
5911
5986
  created_at: string;
5912
5987
  customers_endpoint: string | null;
5913
5988
  environment: string;
@@ -5922,10 +5997,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
5922
5997
  updated_at: string;
5923
5998
  };
5924
5999
  Insert: {
5925
- access_token?: string | null;
5926
6000
  api_key: string;
5927
- client_id: string;
5928
- client_secret: string;
5929
6001
  created_at?: string;
5930
6002
  customers_endpoint?: string | null;
5931
6003
  environment: string;
@@ -5940,10 +6012,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
5940
6012
  updated_at?: string;
5941
6013
  };
5942
6014
  Update: {
5943
- access_token?: string | null;
5944
6015
  api_key?: string;
5945
- client_id?: string;
5946
- client_secret?: string;
5947
6016
  created_at?: string;
5948
6017
  customers_endpoint?: string | null;
5949
6018
  environment?: string;
@@ -13576,6 +13645,39 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13576
13645
  };
13577
13646
  Relationships: [];
13578
13647
  };
13648
+ print_dedupe_events: {
13649
+ Row: {
13650
+ bestaande_job_id: string | null;
13651
+ created_at: string;
13652
+ detail: string | null;
13653
+ documentnaam: string | null;
13654
+ documenttype: string | null;
13655
+ id: string;
13656
+ idempotentie_sleutel: string;
13657
+ reden: string;
13658
+ };
13659
+ Insert: {
13660
+ bestaande_job_id?: string | null;
13661
+ created_at?: string;
13662
+ detail?: string | null;
13663
+ documentnaam?: string | null;
13664
+ documenttype?: string | null;
13665
+ id?: string;
13666
+ idempotentie_sleutel: string;
13667
+ reden: string;
13668
+ };
13669
+ Update: {
13670
+ bestaande_job_id?: string | null;
13671
+ created_at?: string;
13672
+ detail?: string | null;
13673
+ documentnaam?: string | null;
13674
+ documenttype?: string | null;
13675
+ id?: string;
13676
+ idempotentie_sleutel?: string;
13677
+ reden?: string;
13678
+ };
13679
+ Relationships: [];
13680
+ };
13579
13681
  print_job_logs: {
13580
13682
  Row: {
13581
13683
  created_at: string;
@@ -13626,6 +13728,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13626
13728
  is_herprint: boolean;
13627
13729
  kopieen: number;
13628
13730
  layout_id: string | null;
13731
+ lokaal_opgeslagen_op: string | null;
13732
+ lokale_pdf_fout: string | null;
13733
+ lokale_pdf_status: string | null;
13629
13734
  opgepakt_op: string | null;
13630
13735
  paginas: number;
13631
13736
  payload: import("../integrations/supabase/types").Json;
@@ -13634,6 +13739,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13634
13739
  pogingen: number;
13635
13740
  printer_id: string | null;
13636
13741
  render_html: string | null;
13742
+ resultaat_pdf_base64: string | null;
13637
13743
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13638
13744
  updated_at: string;
13639
13745
  volgende_poging: string | null;
@@ -13658,6 +13764,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13658
13764
  is_herprint?: boolean;
13659
13765
  kopieen?: number;
13660
13766
  layout_id?: string | null;
13767
+ lokaal_opgeslagen_op?: string | null;
13768
+ lokale_pdf_fout?: string | null;
13769
+ lokale_pdf_status?: string | null;
13661
13770
  opgepakt_op?: string | null;
13662
13771
  paginas?: number;
13663
13772
  payload?: import("../integrations/supabase/types").Json;
@@ -13666,6 +13775,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13666
13775
  pogingen?: number;
13667
13776
  printer_id?: string | null;
13668
13777
  render_html?: string | null;
13778
+ resultaat_pdf_base64?: string | null;
13669
13779
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13670
13780
  updated_at?: string;
13671
13781
  volgende_poging?: string | null;
@@ -13690,6 +13800,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13690
13800
  is_herprint?: boolean;
13691
13801
  kopieen?: number;
13692
13802
  layout_id?: string | null;
13803
+ lokaal_opgeslagen_op?: string | null;
13804
+ lokale_pdf_fout?: string | null;
13805
+ lokale_pdf_status?: string | null;
13693
13806
  opgepakt_op?: string | null;
13694
13807
  paginas?: number;
13695
13808
  payload?: import("../integrations/supabase/types").Json;
@@ -13698,6 +13811,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13698
13811
  pogingen?: number;
13699
13812
  printer_id?: string | null;
13700
13813
  render_html?: string | null;
13814
+ resultaat_pdf_base64?: string | null;
13701
13815
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13702
13816
  updated_at?: string;
13703
13817
  volgende_poging?: string | null;
@@ -13816,6 +13930,39 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
13816
13930
  };
13817
13931
  Relationships: [];
13818
13932
  };
13933
+ print_preview_events: {
13934
+ Row: {
13935
+ code: string | null;
13936
+ created_at: string;
13937
+ detail: import("../integrations/supabase/types").Json;
13938
+ id: string;
13939
+ queue_item_id: string | null;
13940
+ reden: string | null;
13941
+ station_slug: string | null;
13942
+ uitkomst: string;
13943
+ };
13944
+ Insert: {
13945
+ code?: string | null;
13946
+ created_at?: string;
13947
+ detail?: import("../integrations/supabase/types").Json;
13948
+ id?: string;
13949
+ queue_item_id?: string | null;
13950
+ reden?: string | null;
13951
+ station_slug?: string | null;
13952
+ uitkomst?: string;
13953
+ };
13954
+ Update: {
13955
+ code?: string | null;
13956
+ created_at?: string;
13957
+ detail?: import("../integrations/supabase/types").Json;
13958
+ id?: string;
13959
+ queue_item_id?: string | null;
13960
+ reden?: string | null;
13961
+ station_slug?: string | null;
13962
+ uitkomst?: string;
13963
+ };
13964
+ Relationships: [];
13965
+ };
13819
13966
  print_queue_runners: {
13820
13967
  Row: {
13821
13968
  actief: boolean;
@@ -14055,6 +14202,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
14055
14202
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14056
14203
  online: boolean;
14057
14204
  papierformaat: string;
14205
+ pdf_map: string | null;
14058
14206
  poort: number | null;
14059
14207
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14060
14208
  systeemnaam: string;
@@ -14080,6 +14228,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
14080
14228
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14081
14229
  online?: boolean;
14082
14230
  papierformaat?: string;
14231
+ pdf_map?: string | null;
14083
14232
  poort?: number | null;
14084
14233
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14085
14234
  systeemnaam?: string;
@@ -14105,6 +14254,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
14105
14254
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14106
14255
  online?: boolean;
14107
14256
  papierformaat?: string;
14257
+ pdf_map?: string | null;
14108
14258
  poort?: number | null;
14109
14259
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14110
14260
  systeemnaam?: string;
@@ -20361,6 +20511,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
20361
20511
  is_herprint: boolean;
20362
20512
  kopieen: number;
20363
20513
  layout_id: string | null;
20514
+ lokaal_opgeslagen_op: string | null;
20515
+ lokale_pdf_fout: string | null;
20516
+ lokale_pdf_status: string | null;
20364
20517
  opgepakt_op: string | null;
20365
20518
  paginas: number;
20366
20519
  payload: import("../integrations/supabase/types").Json;
@@ -20369,6 +20522,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
20369
20522
  pogingen: number;
20370
20523
  printer_id: string | null;
20371
20524
  render_html: string | null;
20525
+ resultaat_pdf_base64: string | null;
20372
20526
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20373
20527
  updated_at: string;
20374
20528
  volgende_poging: string | null;
@@ -20460,6 +20614,53 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
20460
20614
  isSetofReturn: true;
20461
20615
  };
20462
20616
  };
20617
+ claim_pdf_print_jobs: {
20618
+ Args: {
20619
+ _max?: number;
20620
+ };
20621
+ Returns: {
20622
+ agent_id: string | null;
20623
+ bron_job_id: string | null;
20624
+ created_at: string;
20625
+ documentnaam: string;
20626
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20627
+ extern_job_id: string | null;
20628
+ foutmelding: string | null;
20629
+ gebruiker_id: string | null;
20630
+ gebruiker_naam: string;
20631
+ gebruikte_bron: string | null;
20632
+ gebruikte_layout_id: string | null;
20633
+ gestart_op: string | null;
20634
+ herkomst: string | null;
20635
+ id: string;
20636
+ idempotentie_sleutel: string | null;
20637
+ is_herprint: boolean;
20638
+ kopieen: number;
20639
+ layout_id: string | null;
20640
+ lokaal_opgeslagen_op: string | null;
20641
+ lokale_pdf_fout: string | null;
20642
+ lokale_pdf_status: string | null;
20643
+ opgepakt_op: string | null;
20644
+ paginas: number;
20645
+ payload: import("../integrations/supabase/types").Json;
20646
+ pdf_base64: string | null;
20647
+ pdf_url: string | null;
20648
+ pogingen: number;
20649
+ printer_id: string | null;
20650
+ render_html: string | null;
20651
+ resultaat_pdf_base64: string | null;
20652
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20653
+ updated_at: string;
20654
+ volgende_poging: string | null;
20655
+ voltooid_op: string | null;
20656
+ }[];
20657
+ SetofOptions: {
20658
+ from: "*";
20659
+ to: "print_jobs";
20660
+ isOneToOne: false;
20661
+ isSetofReturn: true;
20662
+ };
20663
+ };
20463
20664
  claim_print_jobs: {
20464
20665
  Args: {
20465
20666
  _agent_id: string;
@@ -20484,6 +20685,9 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
20484
20685
  is_herprint: boolean;
20485
20686
  kopieen: number;
20486
20687
  layout_id: string | null;
20688
+ lokaal_opgeslagen_op: string | null;
20689
+ lokale_pdf_fout: string | null;
20690
+ lokale_pdf_status: string | null;
20487
20691
  opgepakt_op: string | null;
20488
20692
  paginas: number;
20489
20693
  payload: import("../integrations/supabase/types").Json;
@@ -20492,6 +20696,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
20492
20696
  pogingen: number;
20493
20697
  printer_id: string | null;
20494
20698
  render_html: string | null;
20699
+ resultaat_pdf_base64: string | null;
20495
20700
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20496
20701
  updated_at: string;
20497
20702
  volgende_poging: string | null;
@@ -20632,6 +20837,8 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
20632
20837
  order_id: string;
20633
20838
  order_source: string;
20634
20839
  pick_date: string;
20840
+ printed_at: string;
20841
+ printed_today: boolean;
20635
20842
  status: string;
20636
20843
  }[];
20637
20844
  };
@@ -21340,6 +21547,10 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21340
21547
  };
21341
21548
  Returns: number;
21342
21549
  };
21550
+ logistics_cancel_orphan_tasks: {
21551
+ Args: never;
21552
+ Returns: number;
21553
+ };
21343
21554
  logistics_capacity_day_check: {
21344
21555
  Args: {
21345
21556
  p_from?: string;
@@ -21360,6 +21571,25 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21360
21571
  };
21361
21572
  Returns: number;
21362
21573
  };
21574
+ logistics_cart_index: {
21575
+ Args: {
21576
+ p_from?: string;
21577
+ p_to?: string;
21578
+ };
21579
+ Returns: {
21580
+ cart_id: string;
21581
+ cart_index: number;
21582
+ cart_label: string;
21583
+ is_shared: boolean;
21584
+ order_number: string;
21585
+ order_source: string;
21586
+ order_uuid: string;
21587
+ pick_date: string;
21588
+ printed_at: string;
21589
+ shifted: boolean;
21590
+ task_status: string;
21591
+ }[];
21592
+ };
21363
21593
  logistics_check_order_allowed: {
21364
21594
  Args: {
21365
21595
  p_lines: import("../integrations/supabase/types").Json;
@@ -21508,6 +21738,17 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21508
21738
  isSetofReturn: false;
21509
21739
  };
21510
21740
  };
21741
+ logistics_consistency_check: {
21742
+ Args: never;
21743
+ Returns: {
21744
+ agenda_carts: number;
21745
+ control_carts: number;
21746
+ ok: boolean;
21747
+ orphan_tasks: number;
21748
+ pick_date: string;
21749
+ raw_carts: number;
21750
+ }[];
21751
+ };
21511
21752
  logistics_delay_customer_email: {
21512
21753
  Args: {
21513
21754
  p_customer: string;
@@ -21597,6 +21838,16 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21597
21838
  isSetofReturn: false;
21598
21839
  };
21599
21840
  };
21841
+ logistics_floriday_cart_plan: {
21842
+ Args: {
21843
+ p_order_id: string;
21844
+ };
21845
+ Returns: {
21846
+ carrier_type: string;
21847
+ idx: number;
21848
+ packages: number;
21849
+ }[];
21850
+ };
21600
21851
  logistics_floriday_claim_pushes: {
21601
21852
  Args: {
21602
21853
  _lease_seconds?: number;
@@ -21701,6 +21952,25 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21701
21952
  };
21702
21953
  Returns: number;
21703
21954
  };
21955
+ logistics_order_overview: {
21956
+ Args: {
21957
+ p_from?: string;
21958
+ p_to?: string;
21959
+ };
21960
+ Returns: {
21961
+ cart_count: number;
21962
+ customer_name: string;
21963
+ delivery_date: string;
21964
+ order_number: string;
21965
+ order_source: string;
21966
+ order_uuid: string;
21967
+ pick_date: string;
21968
+ plant_count: number;
21969
+ printed_at: string;
21970
+ shifted: boolean;
21971
+ status: string;
21972
+ }[];
21973
+ };
21704
21974
  logistics_order_pick_day: {
21705
21975
  Args: {
21706
21976
  p_order_ref: string;
@@ -21713,6 +21983,22 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21713
21983
  };
21714
21984
  Returns: string;
21715
21985
  };
21986
+ logistics_pick_agenda: {
21987
+ Args: {
21988
+ p_from?: string;
21989
+ p_to?: string;
21990
+ };
21991
+ Returns: {
21992
+ cart_count: number;
21993
+ in_preparation: number;
21994
+ order_count: number;
21995
+ orders: import("../integrations/supabase/types").Json;
21996
+ pick_date: string;
21997
+ plant_count: number;
21998
+ ready: number;
21999
+ shifted_count: number;
22000
+ }[];
22001
+ };
21716
22002
  logistics_pick_email_purpose: {
21717
22003
  Args: never;
21718
22004
  Returns: string;
@@ -21767,6 +22053,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21767
22053
  };
21768
22054
  Returns: undefined;
21769
22055
  };
22056
+ logistics_plan_floriday_order: {
22057
+ Args: {
22058
+ p_buffer_id?: string;
22059
+ p_order_id: string;
22060
+ };
22061
+ Returns: number;
22062
+ };
21770
22063
  logistics_plan_impact_orders: {
21771
22064
  Args: {
21772
22065
  p_order_id: string;
@@ -21872,6 +22165,15 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
21872
22165
  };
21873
22166
  Returns: import("../integrations/supabase/types").Json;
21874
22167
  };
22168
+ logistics_resolve_pick_document: {
22169
+ Args: {
22170
+ _is_herprint: boolean;
22171
+ _queue_item_id: string;
22172
+ _session_id: string;
22173
+ _voorbeeld: boolean;
22174
+ };
22175
+ Returns: import("../integrations/supabase/types").Json;
22176
+ };
21875
22177
  logistics_resolve_settings: {
21876
22178
  Args: {
21877
22179
  p_config_id: string;
@@ -22312,6 +22614,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22312
22614
  };
22313
22615
  pick_enqueue_print_job: {
22314
22616
  Args: {
22617
+ _is_herprint?: boolean;
22315
22618
  _printer_id?: string;
22316
22619
  _queue_item_id: string;
22317
22620
  _session_id?: string;
@@ -22325,6 +22628,13 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22325
22628
  };
22326
22629
  Returns: import("../integrations/supabase/types").Json;
22327
22630
  };
22631
+ pick_preview_job: {
22632
+ Args: {
22633
+ _queue_item_id: string;
22634
+ _station_slug: string;
22635
+ };
22636
+ Returns: import("../integrations/supabase/types").Json;
22637
+ };
22328
22638
  pick_print_job_status: {
22329
22639
  Args: {
22330
22640
  _job_id: string;
@@ -22502,6 +22812,24 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22502
22812
  };
22503
22813
  Returns: undefined;
22504
22814
  };
22815
+ print_preview_toestaan: {
22816
+ Args: {
22817
+ _max?: number;
22818
+ _queue_item_id: string;
22819
+ _station_slug: string;
22820
+ _venster_sec?: number;
22821
+ };
22822
+ Returns: import("../integrations/supabase/types").Json;
22823
+ };
22824
+ print_preview_weiger: {
22825
+ Args: {
22826
+ _code: string;
22827
+ _queue_item_id: string;
22828
+ _reden: string;
22829
+ _station_slug: string;
22830
+ };
22831
+ Returns: undefined;
22832
+ };
22505
22833
  process_logistics_event: {
22506
22834
  Args: {
22507
22835
  p_event_id: string;
@@ -22656,6 +22984,12 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
22656
22984
  };
22657
22985
  Returns: string;
22658
22986
  };
22987
+ resolve_print_job_printer_id: {
22988
+ Args: {
22989
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22990
+ };
22991
+ Returns: string;
22992
+ };
22659
22993
  resolve_product_id_for_item: {
22660
22994
  Args: {
22661
22995
  p_product_name: string;
@@ -23247,7 +23581,7 @@ export declare const listOrderShipments: import("@tanstack/start-client-core").O
23247
23581
  };
23248
23582
  CompositeTypes: { [_ in never]: never; };
23249
23583
  }, {
23250
- PostgrestVersion: "14.17";
23584
+ PostgrestVersion: "14.5";
23251
23585
  }>;
23252
23586
  userId: string;
23253
23587
  claims: import("@supabase/auth-js").User;
@@ -26139,6 +26473,84 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
26139
26473
  };
26140
26474
  Relationships: [];
26141
26475
  };
26476
+ delivery_notes: {
26477
+ Row: {
26478
+ byte_size: number | null;
26479
+ connection_id: string | null;
26480
+ content_type: string;
26481
+ created_at: string;
26482
+ error_message: string | null;
26483
+ fetched_at: string | null;
26484
+ fulfillment_order_id: string | null;
26485
+ http_status: number | null;
26486
+ id: string;
26487
+ label_code: string | null;
26488
+ letter: string | null;
26489
+ load_carrier_index: number | null;
26490
+ load_carrier_type: string | null;
26491
+ order_id: string | null;
26492
+ order_number: string | null;
26493
+ packages: number | null;
26494
+ source: string;
26495
+ status: string;
26496
+ storage_bucket: string;
26497
+ storage_path: string | null;
26498
+ updated_at: string;
26499
+ };
26500
+ Insert: {
26501
+ byte_size?: number | null;
26502
+ connection_id?: string | null;
26503
+ content_type?: string;
26504
+ created_at?: string;
26505
+ error_message?: string | null;
26506
+ fetched_at?: string | null;
26507
+ fulfillment_order_id?: string | null;
26508
+ http_status?: number | null;
26509
+ id?: string;
26510
+ label_code?: string | null;
26511
+ letter?: string | null;
26512
+ load_carrier_index?: number | null;
26513
+ load_carrier_type?: string | null;
26514
+ order_id?: string | null;
26515
+ order_number?: string | null;
26516
+ packages?: number | null;
26517
+ source?: string;
26518
+ status?: string;
26519
+ storage_bucket?: string;
26520
+ storage_path?: string | null;
26521
+ updated_at?: string;
26522
+ };
26523
+ Update: {
26524
+ byte_size?: number | null;
26525
+ connection_id?: string | null;
26526
+ content_type?: string;
26527
+ created_at?: string;
26528
+ error_message?: string | null;
26529
+ fetched_at?: string | null;
26530
+ fulfillment_order_id?: string | null;
26531
+ http_status?: number | null;
26532
+ id?: string;
26533
+ label_code?: string | null;
26534
+ letter?: string | null;
26535
+ load_carrier_index?: number | null;
26536
+ load_carrier_type?: string | null;
26537
+ order_id?: string | null;
26538
+ order_number?: string | null;
26539
+ packages?: number | null;
26540
+ source?: string;
26541
+ status?: string;
26542
+ storage_bucket?: string;
26543
+ storage_path?: string | null;
26544
+ updated_at?: string;
26545
+ };
26546
+ Relationships: [{
26547
+ foreignKeyName: "delivery_notes_order_id_fkey";
26548
+ columns: ["order_id"];
26549
+ isOneToOne: false;
26550
+ referencedRelation: "orders";
26551
+ referencedColumns: ["id"];
26552
+ }];
26553
+ };
26142
26554
  document_bronregels: {
26143
26555
  Row: {
26144
26556
  bron: string;
@@ -29192,10 +29604,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29192
29604
  };
29193
29605
  floriday_connections: {
29194
29606
  Row: {
29195
- access_token: string | null;
29196
29607
  api_key: string;
29197
- client_id: string;
29198
- client_secret: string;
29199
29608
  created_at: string;
29200
29609
  customers_endpoint: string | null;
29201
29610
  environment: string;
@@ -29210,10 +29619,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29210
29619
  updated_at: string;
29211
29620
  };
29212
29621
  Insert: {
29213
- access_token?: string | null;
29214
29622
  api_key: string;
29215
- client_id: string;
29216
- client_secret: string;
29217
29623
  created_at?: string;
29218
29624
  customers_endpoint?: string | null;
29219
29625
  environment: string;
@@ -29228,10 +29634,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
29228
29634
  updated_at?: string;
29229
29635
  };
29230
29636
  Update: {
29231
- access_token?: string | null;
29232
29637
  api_key?: string;
29233
- client_id?: string;
29234
- client_secret?: string;
29235
29638
  created_at?: string;
29236
29639
  customers_endpoint?: string | null;
29237
29640
  environment?: string;
@@ -36864,6 +37267,39 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36864
37267
  };
36865
37268
  Relationships: [];
36866
37269
  };
37270
+ print_dedupe_events: {
37271
+ Row: {
37272
+ bestaande_job_id: string | null;
37273
+ created_at: string;
37274
+ detail: string | null;
37275
+ documentnaam: string | null;
37276
+ documenttype: string | null;
37277
+ id: string;
37278
+ idempotentie_sleutel: string;
37279
+ reden: string;
37280
+ };
37281
+ Insert: {
37282
+ bestaande_job_id?: string | null;
37283
+ created_at?: string;
37284
+ detail?: string | null;
37285
+ documentnaam?: string | null;
37286
+ documenttype?: string | null;
37287
+ id?: string;
37288
+ idempotentie_sleutel: string;
37289
+ reden: string;
37290
+ };
37291
+ Update: {
37292
+ bestaande_job_id?: string | null;
37293
+ created_at?: string;
37294
+ detail?: string | null;
37295
+ documentnaam?: string | null;
37296
+ documenttype?: string | null;
37297
+ id?: string;
37298
+ idempotentie_sleutel?: string;
37299
+ reden?: string;
37300
+ };
37301
+ Relationships: [];
37302
+ };
36867
37303
  print_job_logs: {
36868
37304
  Row: {
36869
37305
  created_at: string;
@@ -36914,6 +37350,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36914
37350
  is_herprint: boolean;
36915
37351
  kopieen: number;
36916
37352
  layout_id: string | null;
37353
+ lokaal_opgeslagen_op: string | null;
37354
+ lokale_pdf_fout: string | null;
37355
+ lokale_pdf_status: string | null;
36917
37356
  opgepakt_op: string | null;
36918
37357
  paginas: number;
36919
37358
  payload: import("../integrations/supabase/types").Json;
@@ -36922,6 +37361,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36922
37361
  pogingen: number;
36923
37362
  printer_id: string | null;
36924
37363
  render_html: string | null;
37364
+ resultaat_pdf_base64: string | null;
36925
37365
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36926
37366
  updated_at: string;
36927
37367
  volgende_poging: string | null;
@@ -36946,6 +37386,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36946
37386
  is_herprint?: boolean;
36947
37387
  kopieen?: number;
36948
37388
  layout_id?: string | null;
37389
+ lokaal_opgeslagen_op?: string | null;
37390
+ lokale_pdf_fout?: string | null;
37391
+ lokale_pdf_status?: string | null;
36949
37392
  opgepakt_op?: string | null;
36950
37393
  paginas?: number;
36951
37394
  payload?: import("../integrations/supabase/types").Json;
@@ -36954,6 +37397,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36954
37397
  pogingen?: number;
36955
37398
  printer_id?: string | null;
36956
37399
  render_html?: string | null;
37400
+ resultaat_pdf_base64?: string | null;
36957
37401
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36958
37402
  updated_at?: string;
36959
37403
  volgende_poging?: string | null;
@@ -36978,6 +37422,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36978
37422
  is_herprint?: boolean;
36979
37423
  kopieen?: number;
36980
37424
  layout_id?: string | null;
37425
+ lokaal_opgeslagen_op?: string | null;
37426
+ lokale_pdf_fout?: string | null;
37427
+ lokale_pdf_status?: string | null;
36981
37428
  opgepakt_op?: string | null;
36982
37429
  paginas?: number;
36983
37430
  payload?: import("../integrations/supabase/types").Json;
@@ -36986,6 +37433,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
36986
37433
  pogingen?: number;
36987
37434
  printer_id?: string | null;
36988
37435
  render_html?: string | null;
37436
+ resultaat_pdf_base64?: string | null;
36989
37437
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36990
37438
  updated_at?: string;
36991
37439
  volgende_poging?: string | null;
@@ -37104,6 +37552,39 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
37104
37552
  };
37105
37553
  Relationships: [];
37106
37554
  };
37555
+ print_preview_events: {
37556
+ Row: {
37557
+ code: string | null;
37558
+ created_at: string;
37559
+ detail: import("../integrations/supabase/types").Json;
37560
+ id: string;
37561
+ queue_item_id: string | null;
37562
+ reden: string | null;
37563
+ station_slug: string | null;
37564
+ uitkomst: string;
37565
+ };
37566
+ Insert: {
37567
+ code?: string | null;
37568
+ created_at?: string;
37569
+ detail?: import("../integrations/supabase/types").Json;
37570
+ id?: string;
37571
+ queue_item_id?: string | null;
37572
+ reden?: string | null;
37573
+ station_slug?: string | null;
37574
+ uitkomst?: string;
37575
+ };
37576
+ Update: {
37577
+ code?: string | null;
37578
+ created_at?: string;
37579
+ detail?: import("../integrations/supabase/types").Json;
37580
+ id?: string;
37581
+ queue_item_id?: string | null;
37582
+ reden?: string | null;
37583
+ station_slug?: string | null;
37584
+ uitkomst?: string;
37585
+ };
37586
+ Relationships: [];
37587
+ };
37107
37588
  print_queue_runners: {
37108
37589
  Row: {
37109
37590
  actief: boolean;
@@ -37343,6 +37824,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
37343
37824
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37344
37825
  online: boolean;
37345
37826
  papierformaat: string;
37827
+ pdf_map: string | null;
37346
37828
  poort: number | null;
37347
37829
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37348
37830
  systeemnaam: string;
@@ -37368,6 +37850,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
37368
37850
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37369
37851
  online?: boolean;
37370
37852
  papierformaat?: string;
37853
+ pdf_map?: string | null;
37371
37854
  poort?: number | null;
37372
37855
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37373
37856
  systeemnaam?: string;
@@ -37393,6 +37876,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
37393
37876
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37394
37877
  online?: boolean;
37395
37878
  papierformaat?: string;
37879
+ pdf_map?: string | null;
37396
37880
  poort?: number | null;
37397
37881
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37398
37882
  systeemnaam?: string;
@@ -43649,6 +44133,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43649
44133
  is_herprint: boolean;
43650
44134
  kopieen: number;
43651
44135
  layout_id: string | null;
44136
+ lokaal_opgeslagen_op: string | null;
44137
+ lokale_pdf_fout: string | null;
44138
+ lokale_pdf_status: string | null;
43652
44139
  opgepakt_op: string | null;
43653
44140
  paginas: number;
43654
44141
  payload: import("../integrations/supabase/types").Json;
@@ -43657,6 +44144,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43657
44144
  pogingen: number;
43658
44145
  printer_id: string | null;
43659
44146
  render_html: string | null;
44147
+ resultaat_pdf_base64: string | null;
43660
44148
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43661
44149
  updated_at: string;
43662
44150
  volgende_poging: string | null;
@@ -43748,6 +44236,53 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43748
44236
  isSetofReturn: true;
43749
44237
  };
43750
44238
  };
44239
+ claim_pdf_print_jobs: {
44240
+ Args: {
44241
+ _max?: number;
44242
+ };
44243
+ Returns: {
44244
+ agent_id: string | null;
44245
+ bron_job_id: string | null;
44246
+ created_at: string;
44247
+ documentnaam: string;
44248
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44249
+ extern_job_id: string | null;
44250
+ foutmelding: string | null;
44251
+ gebruiker_id: string | null;
44252
+ gebruiker_naam: string;
44253
+ gebruikte_bron: string | null;
44254
+ gebruikte_layout_id: string | null;
44255
+ gestart_op: string | null;
44256
+ herkomst: string | null;
44257
+ id: string;
44258
+ idempotentie_sleutel: string | null;
44259
+ is_herprint: boolean;
44260
+ kopieen: number;
44261
+ layout_id: string | null;
44262
+ lokaal_opgeslagen_op: string | null;
44263
+ lokale_pdf_fout: string | null;
44264
+ lokale_pdf_status: string | null;
44265
+ opgepakt_op: string | null;
44266
+ paginas: number;
44267
+ payload: import("../integrations/supabase/types").Json;
44268
+ pdf_base64: string | null;
44269
+ pdf_url: string | null;
44270
+ pogingen: number;
44271
+ printer_id: string | null;
44272
+ render_html: string | null;
44273
+ resultaat_pdf_base64: string | null;
44274
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44275
+ updated_at: string;
44276
+ volgende_poging: string | null;
44277
+ voltooid_op: string | null;
44278
+ }[];
44279
+ SetofOptions: {
44280
+ from: "*";
44281
+ to: "print_jobs";
44282
+ isOneToOne: false;
44283
+ isSetofReturn: true;
44284
+ };
44285
+ };
43751
44286
  claim_print_jobs: {
43752
44287
  Args: {
43753
44288
  _agent_id: string;
@@ -43772,6 +44307,9 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43772
44307
  is_herprint: boolean;
43773
44308
  kopieen: number;
43774
44309
  layout_id: string | null;
44310
+ lokaal_opgeslagen_op: string | null;
44311
+ lokale_pdf_fout: string | null;
44312
+ lokale_pdf_status: string | null;
43775
44313
  opgepakt_op: string | null;
43776
44314
  paginas: number;
43777
44315
  payload: import("../integrations/supabase/types").Json;
@@ -43780,6 +44318,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43780
44318
  pogingen: number;
43781
44319
  printer_id: string | null;
43782
44320
  render_html: string | null;
44321
+ resultaat_pdf_base64: string | null;
43783
44322
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43784
44323
  updated_at: string;
43785
44324
  volgende_poging: string | null;
@@ -43920,6 +44459,8 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
43920
44459
  order_id: string;
43921
44460
  order_source: string;
43922
44461
  pick_date: string;
44462
+ printed_at: string;
44463
+ printed_today: boolean;
43923
44464
  status: string;
43924
44465
  }[];
43925
44466
  };
@@ -44628,6 +45169,10 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44628
45169
  };
44629
45170
  Returns: number;
44630
45171
  };
45172
+ logistics_cancel_orphan_tasks: {
45173
+ Args: never;
45174
+ Returns: number;
45175
+ };
44631
45176
  logistics_capacity_day_check: {
44632
45177
  Args: {
44633
45178
  p_from?: string;
@@ -44648,6 +45193,25 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44648
45193
  };
44649
45194
  Returns: number;
44650
45195
  };
45196
+ logistics_cart_index: {
45197
+ Args: {
45198
+ p_from?: string;
45199
+ p_to?: string;
45200
+ };
45201
+ Returns: {
45202
+ cart_id: string;
45203
+ cart_index: number;
45204
+ cart_label: string;
45205
+ is_shared: boolean;
45206
+ order_number: string;
45207
+ order_source: string;
45208
+ order_uuid: string;
45209
+ pick_date: string;
45210
+ printed_at: string;
45211
+ shifted: boolean;
45212
+ task_status: string;
45213
+ }[];
45214
+ };
44651
45215
  logistics_check_order_allowed: {
44652
45216
  Args: {
44653
45217
  p_lines: import("../integrations/supabase/types").Json;
@@ -44796,6 +45360,17 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44796
45360
  isSetofReturn: false;
44797
45361
  };
44798
45362
  };
45363
+ logistics_consistency_check: {
45364
+ Args: never;
45365
+ Returns: {
45366
+ agenda_carts: number;
45367
+ control_carts: number;
45368
+ ok: boolean;
45369
+ orphan_tasks: number;
45370
+ pick_date: string;
45371
+ raw_carts: number;
45372
+ }[];
45373
+ };
44799
45374
  logistics_delay_customer_email: {
44800
45375
  Args: {
44801
45376
  p_customer: string;
@@ -44885,6 +45460,16 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44885
45460
  isSetofReturn: false;
44886
45461
  };
44887
45462
  };
45463
+ logistics_floriday_cart_plan: {
45464
+ Args: {
45465
+ p_order_id: string;
45466
+ };
45467
+ Returns: {
45468
+ carrier_type: string;
45469
+ idx: number;
45470
+ packages: number;
45471
+ }[];
45472
+ };
44888
45473
  logistics_floriday_claim_pushes: {
44889
45474
  Args: {
44890
45475
  _lease_seconds?: number;
@@ -44989,6 +45574,25 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
44989
45574
  };
44990
45575
  Returns: number;
44991
45576
  };
45577
+ logistics_order_overview: {
45578
+ Args: {
45579
+ p_from?: string;
45580
+ p_to?: string;
45581
+ };
45582
+ Returns: {
45583
+ cart_count: number;
45584
+ customer_name: string;
45585
+ delivery_date: string;
45586
+ order_number: string;
45587
+ order_source: string;
45588
+ order_uuid: string;
45589
+ pick_date: string;
45590
+ plant_count: number;
45591
+ printed_at: string;
45592
+ shifted: boolean;
45593
+ status: string;
45594
+ }[];
45595
+ };
44992
45596
  logistics_order_pick_day: {
44993
45597
  Args: {
44994
45598
  p_order_ref: string;
@@ -45001,6 +45605,22 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45001
45605
  };
45002
45606
  Returns: string;
45003
45607
  };
45608
+ logistics_pick_agenda: {
45609
+ Args: {
45610
+ p_from?: string;
45611
+ p_to?: string;
45612
+ };
45613
+ Returns: {
45614
+ cart_count: number;
45615
+ in_preparation: number;
45616
+ order_count: number;
45617
+ orders: import("../integrations/supabase/types").Json;
45618
+ pick_date: string;
45619
+ plant_count: number;
45620
+ ready: number;
45621
+ shifted_count: number;
45622
+ }[];
45623
+ };
45004
45624
  logistics_pick_email_purpose: {
45005
45625
  Args: never;
45006
45626
  Returns: string;
@@ -45055,6 +45675,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45055
45675
  };
45056
45676
  Returns: undefined;
45057
45677
  };
45678
+ logistics_plan_floriday_order: {
45679
+ Args: {
45680
+ p_buffer_id?: string;
45681
+ p_order_id: string;
45682
+ };
45683
+ Returns: number;
45684
+ };
45058
45685
  logistics_plan_impact_orders: {
45059
45686
  Args: {
45060
45687
  p_order_id: string;
@@ -45160,6 +45787,15 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45160
45787
  };
45161
45788
  Returns: import("../integrations/supabase/types").Json;
45162
45789
  };
45790
+ logistics_resolve_pick_document: {
45791
+ Args: {
45792
+ _is_herprint: boolean;
45793
+ _queue_item_id: string;
45794
+ _session_id: string;
45795
+ _voorbeeld: boolean;
45796
+ };
45797
+ Returns: import("../integrations/supabase/types").Json;
45798
+ };
45163
45799
  logistics_resolve_settings: {
45164
45800
  Args: {
45165
45801
  p_config_id: string;
@@ -45600,6 +46236,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45600
46236
  };
45601
46237
  pick_enqueue_print_job: {
45602
46238
  Args: {
46239
+ _is_herprint?: boolean;
45603
46240
  _printer_id?: string;
45604
46241
  _queue_item_id: string;
45605
46242
  _session_id?: string;
@@ -45613,6 +46250,13 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45613
46250
  };
45614
46251
  Returns: import("../integrations/supabase/types").Json;
45615
46252
  };
46253
+ pick_preview_job: {
46254
+ Args: {
46255
+ _queue_item_id: string;
46256
+ _station_slug: string;
46257
+ };
46258
+ Returns: import("../integrations/supabase/types").Json;
46259
+ };
45616
46260
  pick_print_job_status: {
45617
46261
  Args: {
45618
46262
  _job_id: string;
@@ -45790,6 +46434,24 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45790
46434
  };
45791
46435
  Returns: undefined;
45792
46436
  };
46437
+ print_preview_toestaan: {
46438
+ Args: {
46439
+ _max?: number;
46440
+ _queue_item_id: string;
46441
+ _station_slug: string;
46442
+ _venster_sec?: number;
46443
+ };
46444
+ Returns: import("../integrations/supabase/types").Json;
46445
+ };
46446
+ print_preview_weiger: {
46447
+ Args: {
46448
+ _code: string;
46449
+ _queue_item_id: string;
46450
+ _reden: string;
46451
+ _station_slug: string;
46452
+ };
46453
+ Returns: undefined;
46454
+ };
45793
46455
  process_logistics_event: {
45794
46456
  Args: {
45795
46457
  p_event_id: string;
@@ -45944,6 +46606,12 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
45944
46606
  };
45945
46607
  Returns: string;
45946
46608
  };
46609
+ resolve_print_job_printer_id: {
46610
+ Args: {
46611
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46612
+ };
46613
+ Returns: string;
46614
+ };
45947
46615
  resolve_product_id_for_item: {
45948
46616
  Args: {
45949
46617
  p_product_name: string;
@@ -46535,7 +47203,7 @@ export declare const createShipment: import("@tanstack/start-client-core").Optio
46535
47203
  };
46536
47204
  CompositeTypes: { [_ in never]: never; };
46537
47205
  }, {
46538
- PostgrestVersion: "14.17";
47206
+ PostgrestVersion: "14.5";
46539
47207
  }>;
46540
47208
  userId: string;
46541
47209
  claims: import("@supabase/auth-js").User;
@@ -49408,6 +50076,84 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
49408
50076
  };
49409
50077
  Relationships: [];
49410
50078
  };
50079
+ delivery_notes: {
50080
+ Row: {
50081
+ byte_size: number | null;
50082
+ connection_id: string | null;
50083
+ content_type: string;
50084
+ created_at: string;
50085
+ error_message: string | null;
50086
+ fetched_at: string | null;
50087
+ fulfillment_order_id: string | null;
50088
+ http_status: number | null;
50089
+ id: string;
50090
+ label_code: string | null;
50091
+ letter: string | null;
50092
+ load_carrier_index: number | null;
50093
+ load_carrier_type: string | null;
50094
+ order_id: string | null;
50095
+ order_number: string | null;
50096
+ packages: number | null;
50097
+ source: string;
50098
+ status: string;
50099
+ storage_bucket: string;
50100
+ storage_path: string | null;
50101
+ updated_at: string;
50102
+ };
50103
+ Insert: {
50104
+ byte_size?: number | null;
50105
+ connection_id?: string | null;
50106
+ content_type?: string;
50107
+ created_at?: string;
50108
+ error_message?: string | null;
50109
+ fetched_at?: string | null;
50110
+ fulfillment_order_id?: string | null;
50111
+ http_status?: number | null;
50112
+ id?: string;
50113
+ label_code?: string | null;
50114
+ letter?: string | null;
50115
+ load_carrier_index?: number | null;
50116
+ load_carrier_type?: string | null;
50117
+ order_id?: string | null;
50118
+ order_number?: string | null;
50119
+ packages?: number | null;
50120
+ source?: string;
50121
+ status?: string;
50122
+ storage_bucket?: string;
50123
+ storage_path?: string | null;
50124
+ updated_at?: string;
50125
+ };
50126
+ Update: {
50127
+ byte_size?: number | null;
50128
+ connection_id?: string | null;
50129
+ content_type?: string;
50130
+ created_at?: string;
50131
+ error_message?: string | null;
50132
+ fetched_at?: string | null;
50133
+ fulfillment_order_id?: string | null;
50134
+ http_status?: number | null;
50135
+ id?: string;
50136
+ label_code?: string | null;
50137
+ letter?: string | null;
50138
+ load_carrier_index?: number | null;
50139
+ load_carrier_type?: string | null;
50140
+ order_id?: string | null;
50141
+ order_number?: string | null;
50142
+ packages?: number | null;
50143
+ source?: string;
50144
+ status?: string;
50145
+ storage_bucket?: string;
50146
+ storage_path?: string | null;
50147
+ updated_at?: string;
50148
+ };
50149
+ Relationships: [{
50150
+ foreignKeyName: "delivery_notes_order_id_fkey";
50151
+ columns: ["order_id"];
50152
+ isOneToOne: false;
50153
+ referencedRelation: "orders";
50154
+ referencedColumns: ["id"];
50155
+ }];
50156
+ };
49411
50157
  document_bronregels: {
49412
50158
  Row: {
49413
50159
  bron: string;
@@ -52461,10 +53207,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
52461
53207
  };
52462
53208
  floriday_connections: {
52463
53209
  Row: {
52464
- access_token: string | null;
52465
53210
  api_key: string;
52466
- client_id: string;
52467
- client_secret: string;
52468
53211
  created_at: string;
52469
53212
  customers_endpoint: string | null;
52470
53213
  environment: string;
@@ -52479,10 +53222,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
52479
53222
  updated_at: string;
52480
53223
  };
52481
53224
  Insert: {
52482
- access_token?: string | null;
52483
53225
  api_key: string;
52484
- client_id: string;
52485
- client_secret: string;
52486
53226
  created_at?: string;
52487
53227
  customers_endpoint?: string | null;
52488
53228
  environment: string;
@@ -52497,10 +53237,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
52497
53237
  updated_at?: string;
52498
53238
  };
52499
53239
  Update: {
52500
- access_token?: string | null;
52501
53240
  api_key?: string;
52502
- client_id?: string;
52503
- client_secret?: string;
52504
53241
  created_at?: string;
52505
53242
  customers_endpoint?: string | null;
52506
53243
  environment?: string;
@@ -60133,6 +60870,39 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60133
60870
  };
60134
60871
  Relationships: [];
60135
60872
  };
60873
+ print_dedupe_events: {
60874
+ Row: {
60875
+ bestaande_job_id: string | null;
60876
+ created_at: string;
60877
+ detail: string | null;
60878
+ documentnaam: string | null;
60879
+ documenttype: string | null;
60880
+ id: string;
60881
+ idempotentie_sleutel: string;
60882
+ reden: string;
60883
+ };
60884
+ Insert: {
60885
+ bestaande_job_id?: string | null;
60886
+ created_at?: string;
60887
+ detail?: string | null;
60888
+ documentnaam?: string | null;
60889
+ documenttype?: string | null;
60890
+ id?: string;
60891
+ idempotentie_sleutel: string;
60892
+ reden: string;
60893
+ };
60894
+ Update: {
60895
+ bestaande_job_id?: string | null;
60896
+ created_at?: string;
60897
+ detail?: string | null;
60898
+ documentnaam?: string | null;
60899
+ documenttype?: string | null;
60900
+ id?: string;
60901
+ idempotentie_sleutel?: string;
60902
+ reden?: string;
60903
+ };
60904
+ Relationships: [];
60905
+ };
60136
60906
  print_job_logs: {
60137
60907
  Row: {
60138
60908
  created_at: string;
@@ -60183,6 +60953,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60183
60953
  is_herprint: boolean;
60184
60954
  kopieen: number;
60185
60955
  layout_id: string | null;
60956
+ lokaal_opgeslagen_op: string | null;
60957
+ lokale_pdf_fout: string | null;
60958
+ lokale_pdf_status: string | null;
60186
60959
  opgepakt_op: string | null;
60187
60960
  paginas: number;
60188
60961
  payload: import("../integrations/supabase/types").Json;
@@ -60191,6 +60964,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60191
60964
  pogingen: number;
60192
60965
  printer_id: string | null;
60193
60966
  render_html: string | null;
60967
+ resultaat_pdf_base64: string | null;
60194
60968
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60195
60969
  updated_at: string;
60196
60970
  volgende_poging: string | null;
@@ -60215,6 +60989,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60215
60989
  is_herprint?: boolean;
60216
60990
  kopieen?: number;
60217
60991
  layout_id?: string | null;
60992
+ lokaal_opgeslagen_op?: string | null;
60993
+ lokale_pdf_fout?: string | null;
60994
+ lokale_pdf_status?: string | null;
60218
60995
  opgepakt_op?: string | null;
60219
60996
  paginas?: number;
60220
60997
  payload?: import("../integrations/supabase/types").Json;
@@ -60223,6 +61000,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60223
61000
  pogingen?: number;
60224
61001
  printer_id?: string | null;
60225
61002
  render_html?: string | null;
61003
+ resultaat_pdf_base64?: string | null;
60226
61004
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60227
61005
  updated_at?: string;
60228
61006
  volgende_poging?: string | null;
@@ -60247,6 +61025,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60247
61025
  is_herprint?: boolean;
60248
61026
  kopieen?: number;
60249
61027
  layout_id?: string | null;
61028
+ lokaal_opgeslagen_op?: string | null;
61029
+ lokale_pdf_fout?: string | null;
61030
+ lokale_pdf_status?: string | null;
60250
61031
  opgepakt_op?: string | null;
60251
61032
  paginas?: number;
60252
61033
  payload?: import("../integrations/supabase/types").Json;
@@ -60255,6 +61036,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60255
61036
  pogingen?: number;
60256
61037
  printer_id?: string | null;
60257
61038
  render_html?: string | null;
61039
+ resultaat_pdf_base64?: string | null;
60258
61040
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60259
61041
  updated_at?: string;
60260
61042
  volgende_poging?: string | null;
@@ -60373,6 +61155,39 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60373
61155
  };
60374
61156
  Relationships: [];
60375
61157
  };
61158
+ print_preview_events: {
61159
+ Row: {
61160
+ code: string | null;
61161
+ created_at: string;
61162
+ detail: import("../integrations/supabase/types").Json;
61163
+ id: string;
61164
+ queue_item_id: string | null;
61165
+ reden: string | null;
61166
+ station_slug: string | null;
61167
+ uitkomst: string;
61168
+ };
61169
+ Insert: {
61170
+ code?: string | null;
61171
+ created_at?: string;
61172
+ detail?: import("../integrations/supabase/types").Json;
61173
+ id?: string;
61174
+ queue_item_id?: string | null;
61175
+ reden?: string | null;
61176
+ station_slug?: string | null;
61177
+ uitkomst?: string;
61178
+ };
61179
+ Update: {
61180
+ code?: string | null;
61181
+ created_at?: string;
61182
+ detail?: import("../integrations/supabase/types").Json;
61183
+ id?: string;
61184
+ queue_item_id?: string | null;
61185
+ reden?: string | null;
61186
+ station_slug?: string | null;
61187
+ uitkomst?: string;
61188
+ };
61189
+ Relationships: [];
61190
+ };
60376
61191
  print_queue_runners: {
60377
61192
  Row: {
60378
61193
  actief: boolean;
@@ -60612,6 +61427,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60612
61427
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
60613
61428
  online: boolean;
60614
61429
  papierformaat: string;
61430
+ pdf_map: string | null;
60615
61431
  poort: number | null;
60616
61432
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60617
61433
  systeemnaam: string;
@@ -60637,6 +61453,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60637
61453
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60638
61454
  online?: boolean;
60639
61455
  papierformaat?: string;
61456
+ pdf_map?: string | null;
60640
61457
  poort?: number | null;
60641
61458
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60642
61459
  systeemnaam?: string;
@@ -60662,6 +61479,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
60662
61479
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60663
61480
  online?: boolean;
60664
61481
  papierformaat?: string;
61482
+ pdf_map?: string | null;
60665
61483
  poort?: number | null;
60666
61484
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60667
61485
  systeemnaam?: string;
@@ -66918,6 +67736,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66918
67736
  is_herprint: boolean;
66919
67737
  kopieen: number;
66920
67738
  layout_id: string | null;
67739
+ lokaal_opgeslagen_op: string | null;
67740
+ lokale_pdf_fout: string | null;
67741
+ lokale_pdf_status: string | null;
66921
67742
  opgepakt_op: string | null;
66922
67743
  paginas: number;
66923
67744
  payload: import("../integrations/supabase/types").Json;
@@ -66926,6 +67747,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
66926
67747
  pogingen: number;
66927
67748
  printer_id: string | null;
66928
67749
  render_html: string | null;
67750
+ resultaat_pdf_base64: string | null;
66929
67751
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
66930
67752
  updated_at: string;
66931
67753
  volgende_poging: string | null;
@@ -67017,6 +67839,53 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67017
67839
  isSetofReturn: true;
67018
67840
  };
67019
67841
  };
67842
+ claim_pdf_print_jobs: {
67843
+ Args: {
67844
+ _max?: number;
67845
+ };
67846
+ Returns: {
67847
+ agent_id: string | null;
67848
+ bron_job_id: string | null;
67849
+ created_at: string;
67850
+ documentnaam: string;
67851
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
67852
+ extern_job_id: string | null;
67853
+ foutmelding: string | null;
67854
+ gebruiker_id: string | null;
67855
+ gebruiker_naam: string;
67856
+ gebruikte_bron: string | null;
67857
+ gebruikte_layout_id: string | null;
67858
+ gestart_op: string | null;
67859
+ herkomst: string | null;
67860
+ id: string;
67861
+ idempotentie_sleutel: string | null;
67862
+ is_herprint: boolean;
67863
+ kopieen: number;
67864
+ layout_id: string | null;
67865
+ lokaal_opgeslagen_op: string | null;
67866
+ lokale_pdf_fout: string | null;
67867
+ lokale_pdf_status: string | null;
67868
+ opgepakt_op: string | null;
67869
+ paginas: number;
67870
+ payload: import("../integrations/supabase/types").Json;
67871
+ pdf_base64: string | null;
67872
+ pdf_url: string | null;
67873
+ pogingen: number;
67874
+ printer_id: string | null;
67875
+ render_html: string | null;
67876
+ resultaat_pdf_base64: string | null;
67877
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67878
+ updated_at: string;
67879
+ volgende_poging: string | null;
67880
+ voltooid_op: string | null;
67881
+ }[];
67882
+ SetofOptions: {
67883
+ from: "*";
67884
+ to: "print_jobs";
67885
+ isOneToOne: false;
67886
+ isSetofReturn: true;
67887
+ };
67888
+ };
67020
67889
  claim_print_jobs: {
67021
67890
  Args: {
67022
67891
  _agent_id: string;
@@ -67041,6 +67910,9 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67041
67910
  is_herprint: boolean;
67042
67911
  kopieen: number;
67043
67912
  layout_id: string | null;
67913
+ lokaal_opgeslagen_op: string | null;
67914
+ lokale_pdf_fout: string | null;
67915
+ lokale_pdf_status: string | null;
67044
67916
  opgepakt_op: string | null;
67045
67917
  paginas: number;
67046
67918
  payload: import("../integrations/supabase/types").Json;
@@ -67049,6 +67921,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67049
67921
  pogingen: number;
67050
67922
  printer_id: string | null;
67051
67923
  render_html: string | null;
67924
+ resultaat_pdf_base64: string | null;
67052
67925
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67053
67926
  updated_at: string;
67054
67927
  volgende_poging: string | null;
@@ -67189,6 +68062,8 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67189
68062
  order_id: string;
67190
68063
  order_source: string;
67191
68064
  pick_date: string;
68065
+ printed_at: string;
68066
+ printed_today: boolean;
67192
68067
  status: string;
67193
68068
  }[];
67194
68069
  };
@@ -67897,6 +68772,10 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67897
68772
  };
67898
68773
  Returns: number;
67899
68774
  };
68775
+ logistics_cancel_orphan_tasks: {
68776
+ Args: never;
68777
+ Returns: number;
68778
+ };
67900
68779
  logistics_capacity_day_check: {
67901
68780
  Args: {
67902
68781
  p_from?: string;
@@ -67917,6 +68796,25 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
67917
68796
  };
67918
68797
  Returns: number;
67919
68798
  };
68799
+ logistics_cart_index: {
68800
+ Args: {
68801
+ p_from?: string;
68802
+ p_to?: string;
68803
+ };
68804
+ Returns: {
68805
+ cart_id: string;
68806
+ cart_index: number;
68807
+ cart_label: string;
68808
+ is_shared: boolean;
68809
+ order_number: string;
68810
+ order_source: string;
68811
+ order_uuid: string;
68812
+ pick_date: string;
68813
+ printed_at: string;
68814
+ shifted: boolean;
68815
+ task_status: string;
68816
+ }[];
68817
+ };
67920
68818
  logistics_check_order_allowed: {
67921
68819
  Args: {
67922
68820
  p_lines: import("../integrations/supabase/types").Json;
@@ -68065,6 +68963,17 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68065
68963
  isSetofReturn: false;
68066
68964
  };
68067
68965
  };
68966
+ logistics_consistency_check: {
68967
+ Args: never;
68968
+ Returns: {
68969
+ agenda_carts: number;
68970
+ control_carts: number;
68971
+ ok: boolean;
68972
+ orphan_tasks: number;
68973
+ pick_date: string;
68974
+ raw_carts: number;
68975
+ }[];
68976
+ };
68068
68977
  logistics_delay_customer_email: {
68069
68978
  Args: {
68070
68979
  p_customer: string;
@@ -68154,6 +69063,16 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68154
69063
  isSetofReturn: false;
68155
69064
  };
68156
69065
  };
69066
+ logistics_floriday_cart_plan: {
69067
+ Args: {
69068
+ p_order_id: string;
69069
+ };
69070
+ Returns: {
69071
+ carrier_type: string;
69072
+ idx: number;
69073
+ packages: number;
69074
+ }[];
69075
+ };
68157
69076
  logistics_floriday_claim_pushes: {
68158
69077
  Args: {
68159
69078
  _lease_seconds?: number;
@@ -68258,6 +69177,25 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68258
69177
  };
68259
69178
  Returns: number;
68260
69179
  };
69180
+ logistics_order_overview: {
69181
+ Args: {
69182
+ p_from?: string;
69183
+ p_to?: string;
69184
+ };
69185
+ Returns: {
69186
+ cart_count: number;
69187
+ customer_name: string;
69188
+ delivery_date: string;
69189
+ order_number: string;
69190
+ order_source: string;
69191
+ order_uuid: string;
69192
+ pick_date: string;
69193
+ plant_count: number;
69194
+ printed_at: string;
69195
+ shifted: boolean;
69196
+ status: string;
69197
+ }[];
69198
+ };
68261
69199
  logistics_order_pick_day: {
68262
69200
  Args: {
68263
69201
  p_order_ref: string;
@@ -68270,6 +69208,22 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68270
69208
  };
68271
69209
  Returns: string;
68272
69210
  };
69211
+ logistics_pick_agenda: {
69212
+ Args: {
69213
+ p_from?: string;
69214
+ p_to?: string;
69215
+ };
69216
+ Returns: {
69217
+ cart_count: number;
69218
+ in_preparation: number;
69219
+ order_count: number;
69220
+ orders: import("../integrations/supabase/types").Json;
69221
+ pick_date: string;
69222
+ plant_count: number;
69223
+ ready: number;
69224
+ shifted_count: number;
69225
+ }[];
69226
+ };
68273
69227
  logistics_pick_email_purpose: {
68274
69228
  Args: never;
68275
69229
  Returns: string;
@@ -68324,6 +69278,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68324
69278
  };
68325
69279
  Returns: undefined;
68326
69280
  };
69281
+ logistics_plan_floriday_order: {
69282
+ Args: {
69283
+ p_buffer_id?: string;
69284
+ p_order_id: string;
69285
+ };
69286
+ Returns: number;
69287
+ };
68327
69288
  logistics_plan_impact_orders: {
68328
69289
  Args: {
68329
69290
  p_order_id: string;
@@ -68429,6 +69390,15 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68429
69390
  };
68430
69391
  Returns: import("../integrations/supabase/types").Json;
68431
69392
  };
69393
+ logistics_resolve_pick_document: {
69394
+ Args: {
69395
+ _is_herprint: boolean;
69396
+ _queue_item_id: string;
69397
+ _session_id: string;
69398
+ _voorbeeld: boolean;
69399
+ };
69400
+ Returns: import("../integrations/supabase/types").Json;
69401
+ };
68432
69402
  logistics_resolve_settings: {
68433
69403
  Args: {
68434
69404
  p_config_id: string;
@@ -68869,6 +69839,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68869
69839
  };
68870
69840
  pick_enqueue_print_job: {
68871
69841
  Args: {
69842
+ _is_herprint?: boolean;
68872
69843
  _printer_id?: string;
68873
69844
  _queue_item_id: string;
68874
69845
  _session_id?: string;
@@ -68882,6 +69853,13 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
68882
69853
  };
68883
69854
  Returns: import("../integrations/supabase/types").Json;
68884
69855
  };
69856
+ pick_preview_job: {
69857
+ Args: {
69858
+ _queue_item_id: string;
69859
+ _station_slug: string;
69860
+ };
69861
+ Returns: import("../integrations/supabase/types").Json;
69862
+ };
68885
69863
  pick_print_job_status: {
68886
69864
  Args: {
68887
69865
  _job_id: string;
@@ -69059,6 +70037,24 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
69059
70037
  };
69060
70038
  Returns: undefined;
69061
70039
  };
70040
+ print_preview_toestaan: {
70041
+ Args: {
70042
+ _max?: number;
70043
+ _queue_item_id: string;
70044
+ _station_slug: string;
70045
+ _venster_sec?: number;
70046
+ };
70047
+ Returns: import("../integrations/supabase/types").Json;
70048
+ };
70049
+ print_preview_weiger: {
70050
+ Args: {
70051
+ _code: string;
70052
+ _queue_item_id: string;
70053
+ _reden: string;
70054
+ _station_slug: string;
70055
+ };
70056
+ Returns: undefined;
70057
+ };
69062
70058
  process_logistics_event: {
69063
70059
  Args: {
69064
70060
  p_event_id: string;
@@ -69213,6 +70209,12 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
69213
70209
  };
69214
70210
  Returns: string;
69215
70211
  };
70212
+ resolve_print_job_printer_id: {
70213
+ Args: {
70214
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
70215
+ };
70216
+ Returns: string;
70217
+ };
69216
70218
  resolve_product_id_for_item: {
69217
70219
  Args: {
69218
70220
  p_product_name: string;
@@ -69804,7 +70806,7 @@ export declare const markShipmentShipped: import("@tanstack/start-client-core").
69804
70806
  };
69805
70807
  CompositeTypes: { [_ in never]: never; };
69806
70808
  }, {
69807
- PostgrestVersion: "14.17";
70809
+ PostgrestVersion: "14.5";
69808
70810
  }>;
69809
70811
  userId: string;
69810
70812
  claims: import("@supabase/auth-js").User;
@@ -72666,6 +73668,84 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
72666
73668
  };
72667
73669
  Relationships: [];
72668
73670
  };
73671
+ delivery_notes: {
73672
+ Row: {
73673
+ byte_size: number | null;
73674
+ connection_id: string | null;
73675
+ content_type: string;
73676
+ created_at: string;
73677
+ error_message: string | null;
73678
+ fetched_at: string | null;
73679
+ fulfillment_order_id: string | null;
73680
+ http_status: number | null;
73681
+ id: string;
73682
+ label_code: string | null;
73683
+ letter: string | null;
73684
+ load_carrier_index: number | null;
73685
+ load_carrier_type: string | null;
73686
+ order_id: string | null;
73687
+ order_number: string | null;
73688
+ packages: number | null;
73689
+ source: string;
73690
+ status: string;
73691
+ storage_bucket: string;
73692
+ storage_path: string | null;
73693
+ updated_at: string;
73694
+ };
73695
+ Insert: {
73696
+ byte_size?: number | null;
73697
+ connection_id?: string | null;
73698
+ content_type?: string;
73699
+ created_at?: string;
73700
+ error_message?: string | null;
73701
+ fetched_at?: string | null;
73702
+ fulfillment_order_id?: string | null;
73703
+ http_status?: number | null;
73704
+ id?: string;
73705
+ label_code?: string | null;
73706
+ letter?: string | null;
73707
+ load_carrier_index?: number | null;
73708
+ load_carrier_type?: string | null;
73709
+ order_id?: string | null;
73710
+ order_number?: string | null;
73711
+ packages?: number | null;
73712
+ source?: string;
73713
+ status?: string;
73714
+ storage_bucket?: string;
73715
+ storage_path?: string | null;
73716
+ updated_at?: string;
73717
+ };
73718
+ Update: {
73719
+ byte_size?: number | null;
73720
+ connection_id?: string | null;
73721
+ content_type?: string;
73722
+ created_at?: string;
73723
+ error_message?: string | null;
73724
+ fetched_at?: string | null;
73725
+ fulfillment_order_id?: string | null;
73726
+ http_status?: number | null;
73727
+ id?: string;
73728
+ label_code?: string | null;
73729
+ letter?: string | null;
73730
+ load_carrier_index?: number | null;
73731
+ load_carrier_type?: string | null;
73732
+ order_id?: string | null;
73733
+ order_number?: string | null;
73734
+ packages?: number | null;
73735
+ source?: string;
73736
+ status?: string;
73737
+ storage_bucket?: string;
73738
+ storage_path?: string | null;
73739
+ updated_at?: string;
73740
+ };
73741
+ Relationships: [{
73742
+ foreignKeyName: "delivery_notes_order_id_fkey";
73743
+ columns: ["order_id"];
73744
+ isOneToOne: false;
73745
+ referencedRelation: "orders";
73746
+ referencedColumns: ["id"];
73747
+ }];
73748
+ };
72669
73749
  document_bronregels: {
72670
73750
  Row: {
72671
73751
  bron: string;
@@ -75719,10 +76799,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
75719
76799
  };
75720
76800
  floriday_connections: {
75721
76801
  Row: {
75722
- access_token: string | null;
75723
76802
  api_key: string;
75724
- client_id: string;
75725
- client_secret: string;
75726
76803
  created_at: string;
75727
76804
  customers_endpoint: string | null;
75728
76805
  environment: string;
@@ -75737,10 +76814,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
75737
76814
  updated_at: string;
75738
76815
  };
75739
76816
  Insert: {
75740
- access_token?: string | null;
75741
76817
  api_key: string;
75742
- client_id: string;
75743
- client_secret: string;
75744
76818
  created_at?: string;
75745
76819
  customers_endpoint?: string | null;
75746
76820
  environment: string;
@@ -75755,10 +76829,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
75755
76829
  updated_at?: string;
75756
76830
  };
75757
76831
  Update: {
75758
- access_token?: string | null;
75759
76832
  api_key?: string;
75760
- client_id?: string;
75761
- client_secret?: string;
75762
76833
  created_at?: string;
75763
76834
  customers_endpoint?: string | null;
75764
76835
  environment?: string;
@@ -83391,6 +84462,39 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83391
84462
  };
83392
84463
  Relationships: [];
83393
84464
  };
84465
+ print_dedupe_events: {
84466
+ Row: {
84467
+ bestaande_job_id: string | null;
84468
+ created_at: string;
84469
+ detail: string | null;
84470
+ documentnaam: string | null;
84471
+ documenttype: string | null;
84472
+ id: string;
84473
+ idempotentie_sleutel: string;
84474
+ reden: string;
84475
+ };
84476
+ Insert: {
84477
+ bestaande_job_id?: string | null;
84478
+ created_at?: string;
84479
+ detail?: string | null;
84480
+ documentnaam?: string | null;
84481
+ documenttype?: string | null;
84482
+ id?: string;
84483
+ idempotentie_sleutel: string;
84484
+ reden: string;
84485
+ };
84486
+ Update: {
84487
+ bestaande_job_id?: string | null;
84488
+ created_at?: string;
84489
+ detail?: string | null;
84490
+ documentnaam?: string | null;
84491
+ documenttype?: string | null;
84492
+ id?: string;
84493
+ idempotentie_sleutel?: string;
84494
+ reden?: string;
84495
+ };
84496
+ Relationships: [];
84497
+ };
83394
84498
  print_job_logs: {
83395
84499
  Row: {
83396
84500
  created_at: string;
@@ -83441,6 +84545,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83441
84545
  is_herprint: boolean;
83442
84546
  kopieen: number;
83443
84547
  layout_id: string | null;
84548
+ lokaal_opgeslagen_op: string | null;
84549
+ lokale_pdf_fout: string | null;
84550
+ lokale_pdf_status: string | null;
83444
84551
  opgepakt_op: string | null;
83445
84552
  paginas: number;
83446
84553
  payload: import("../integrations/supabase/types").Json;
@@ -83449,6 +84556,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83449
84556
  pogingen: number;
83450
84557
  printer_id: string | null;
83451
84558
  render_html: string | null;
84559
+ resultaat_pdf_base64: string | null;
83452
84560
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83453
84561
  updated_at: string;
83454
84562
  volgende_poging: string | null;
@@ -83473,6 +84581,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83473
84581
  is_herprint?: boolean;
83474
84582
  kopieen?: number;
83475
84583
  layout_id?: string | null;
84584
+ lokaal_opgeslagen_op?: string | null;
84585
+ lokale_pdf_fout?: string | null;
84586
+ lokale_pdf_status?: string | null;
83476
84587
  opgepakt_op?: string | null;
83477
84588
  paginas?: number;
83478
84589
  payload?: import("../integrations/supabase/types").Json;
@@ -83481,6 +84592,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83481
84592
  pogingen?: number;
83482
84593
  printer_id?: string | null;
83483
84594
  render_html?: string | null;
84595
+ resultaat_pdf_base64?: string | null;
83484
84596
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83485
84597
  updated_at?: string;
83486
84598
  volgende_poging?: string | null;
@@ -83505,6 +84617,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83505
84617
  is_herprint?: boolean;
83506
84618
  kopieen?: number;
83507
84619
  layout_id?: string | null;
84620
+ lokaal_opgeslagen_op?: string | null;
84621
+ lokale_pdf_fout?: string | null;
84622
+ lokale_pdf_status?: string | null;
83508
84623
  opgepakt_op?: string | null;
83509
84624
  paginas?: number;
83510
84625
  payload?: import("../integrations/supabase/types").Json;
@@ -83513,6 +84628,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83513
84628
  pogingen?: number;
83514
84629
  printer_id?: string | null;
83515
84630
  render_html?: string | null;
84631
+ resultaat_pdf_base64?: string | null;
83516
84632
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83517
84633
  updated_at?: string;
83518
84634
  volgende_poging?: string | null;
@@ -83631,6 +84747,39 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83631
84747
  };
83632
84748
  Relationships: [];
83633
84749
  };
84750
+ print_preview_events: {
84751
+ Row: {
84752
+ code: string | null;
84753
+ created_at: string;
84754
+ detail: import("../integrations/supabase/types").Json;
84755
+ id: string;
84756
+ queue_item_id: string | null;
84757
+ reden: string | null;
84758
+ station_slug: string | null;
84759
+ uitkomst: string;
84760
+ };
84761
+ Insert: {
84762
+ code?: string | null;
84763
+ created_at?: string;
84764
+ detail?: import("../integrations/supabase/types").Json;
84765
+ id?: string;
84766
+ queue_item_id?: string | null;
84767
+ reden?: string | null;
84768
+ station_slug?: string | null;
84769
+ uitkomst?: string;
84770
+ };
84771
+ Update: {
84772
+ code?: string | null;
84773
+ created_at?: string;
84774
+ detail?: import("../integrations/supabase/types").Json;
84775
+ id?: string;
84776
+ queue_item_id?: string | null;
84777
+ reden?: string | null;
84778
+ station_slug?: string | null;
84779
+ uitkomst?: string;
84780
+ };
84781
+ Relationships: [];
84782
+ };
83634
84783
  print_queue_runners: {
83635
84784
  Row: {
83636
84785
  actief: boolean;
@@ -83870,6 +85019,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83870
85019
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
83871
85020
  online: boolean;
83872
85021
  papierformaat: string;
85022
+ pdf_map: string | null;
83873
85023
  poort: number | null;
83874
85024
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
83875
85025
  systeemnaam: string;
@@ -83895,6 +85045,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83895
85045
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
83896
85046
  online?: boolean;
83897
85047
  papierformaat?: string;
85048
+ pdf_map?: string | null;
83898
85049
  poort?: number | null;
83899
85050
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
83900
85051
  systeemnaam?: string;
@@ -83920,6 +85071,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
83920
85071
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
83921
85072
  online?: boolean;
83922
85073
  papierformaat?: string;
85074
+ pdf_map?: string | null;
83923
85075
  poort?: number | null;
83924
85076
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
83925
85077
  systeemnaam?: string;
@@ -90176,6 +91328,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90176
91328
  is_herprint: boolean;
90177
91329
  kopieen: number;
90178
91330
  layout_id: string | null;
91331
+ lokaal_opgeslagen_op: string | null;
91332
+ lokale_pdf_fout: string | null;
91333
+ lokale_pdf_status: string | null;
90179
91334
  opgepakt_op: string | null;
90180
91335
  paginas: number;
90181
91336
  payload: import("../integrations/supabase/types").Json;
@@ -90184,6 +91339,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90184
91339
  pogingen: number;
90185
91340
  printer_id: string | null;
90186
91341
  render_html: string | null;
91342
+ resultaat_pdf_base64: string | null;
90187
91343
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
90188
91344
  updated_at: string;
90189
91345
  volgende_poging: string | null;
@@ -90275,6 +91431,53 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90275
91431
  isSetofReturn: true;
90276
91432
  };
90277
91433
  };
91434
+ claim_pdf_print_jobs: {
91435
+ Args: {
91436
+ _max?: number;
91437
+ };
91438
+ Returns: {
91439
+ agent_id: string | null;
91440
+ bron_job_id: string | null;
91441
+ created_at: string;
91442
+ documentnaam: string;
91443
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
91444
+ extern_job_id: string | null;
91445
+ foutmelding: string | null;
91446
+ gebruiker_id: string | null;
91447
+ gebruiker_naam: string;
91448
+ gebruikte_bron: string | null;
91449
+ gebruikte_layout_id: string | null;
91450
+ gestart_op: string | null;
91451
+ herkomst: string | null;
91452
+ id: string;
91453
+ idempotentie_sleutel: string | null;
91454
+ is_herprint: boolean;
91455
+ kopieen: number;
91456
+ layout_id: string | null;
91457
+ lokaal_opgeslagen_op: string | null;
91458
+ lokale_pdf_fout: string | null;
91459
+ lokale_pdf_status: string | null;
91460
+ opgepakt_op: string | null;
91461
+ paginas: number;
91462
+ payload: import("../integrations/supabase/types").Json;
91463
+ pdf_base64: string | null;
91464
+ pdf_url: string | null;
91465
+ pogingen: number;
91466
+ printer_id: string | null;
91467
+ render_html: string | null;
91468
+ resultaat_pdf_base64: string | null;
91469
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
91470
+ updated_at: string;
91471
+ volgende_poging: string | null;
91472
+ voltooid_op: string | null;
91473
+ }[];
91474
+ SetofOptions: {
91475
+ from: "*";
91476
+ to: "print_jobs";
91477
+ isOneToOne: false;
91478
+ isSetofReturn: true;
91479
+ };
91480
+ };
90278
91481
  claim_print_jobs: {
90279
91482
  Args: {
90280
91483
  _agent_id: string;
@@ -90299,6 +91502,9 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90299
91502
  is_herprint: boolean;
90300
91503
  kopieen: number;
90301
91504
  layout_id: string | null;
91505
+ lokaal_opgeslagen_op: string | null;
91506
+ lokale_pdf_fout: string | null;
91507
+ lokale_pdf_status: string | null;
90302
91508
  opgepakt_op: string | null;
90303
91509
  paginas: number;
90304
91510
  payload: import("../integrations/supabase/types").Json;
@@ -90307,6 +91513,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90307
91513
  pogingen: number;
90308
91514
  printer_id: string | null;
90309
91515
  render_html: string | null;
91516
+ resultaat_pdf_base64: string | null;
90310
91517
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
90311
91518
  updated_at: string;
90312
91519
  volgende_poging: string | null;
@@ -90447,6 +91654,8 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
90447
91654
  order_id: string;
90448
91655
  order_source: string;
90449
91656
  pick_date: string;
91657
+ printed_at: string;
91658
+ printed_today: boolean;
90450
91659
  status: string;
90451
91660
  }[];
90452
91661
  };
@@ -91155,6 +92364,10 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91155
92364
  };
91156
92365
  Returns: number;
91157
92366
  };
92367
+ logistics_cancel_orphan_tasks: {
92368
+ Args: never;
92369
+ Returns: number;
92370
+ };
91158
92371
  logistics_capacity_day_check: {
91159
92372
  Args: {
91160
92373
  p_from?: string;
@@ -91175,6 +92388,25 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91175
92388
  };
91176
92389
  Returns: number;
91177
92390
  };
92391
+ logistics_cart_index: {
92392
+ Args: {
92393
+ p_from?: string;
92394
+ p_to?: string;
92395
+ };
92396
+ Returns: {
92397
+ cart_id: string;
92398
+ cart_index: number;
92399
+ cart_label: string;
92400
+ is_shared: boolean;
92401
+ order_number: string;
92402
+ order_source: string;
92403
+ order_uuid: string;
92404
+ pick_date: string;
92405
+ printed_at: string;
92406
+ shifted: boolean;
92407
+ task_status: string;
92408
+ }[];
92409
+ };
91178
92410
  logistics_check_order_allowed: {
91179
92411
  Args: {
91180
92412
  p_lines: import("../integrations/supabase/types").Json;
@@ -91323,6 +92555,17 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91323
92555
  isSetofReturn: false;
91324
92556
  };
91325
92557
  };
92558
+ logistics_consistency_check: {
92559
+ Args: never;
92560
+ Returns: {
92561
+ agenda_carts: number;
92562
+ control_carts: number;
92563
+ ok: boolean;
92564
+ orphan_tasks: number;
92565
+ pick_date: string;
92566
+ raw_carts: number;
92567
+ }[];
92568
+ };
91326
92569
  logistics_delay_customer_email: {
91327
92570
  Args: {
91328
92571
  p_customer: string;
@@ -91412,6 +92655,16 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91412
92655
  isSetofReturn: false;
91413
92656
  };
91414
92657
  };
92658
+ logistics_floriday_cart_plan: {
92659
+ Args: {
92660
+ p_order_id: string;
92661
+ };
92662
+ Returns: {
92663
+ carrier_type: string;
92664
+ idx: number;
92665
+ packages: number;
92666
+ }[];
92667
+ };
91415
92668
  logistics_floriday_claim_pushes: {
91416
92669
  Args: {
91417
92670
  _lease_seconds?: number;
@@ -91516,6 +92769,25 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91516
92769
  };
91517
92770
  Returns: number;
91518
92771
  };
92772
+ logistics_order_overview: {
92773
+ Args: {
92774
+ p_from?: string;
92775
+ p_to?: string;
92776
+ };
92777
+ Returns: {
92778
+ cart_count: number;
92779
+ customer_name: string;
92780
+ delivery_date: string;
92781
+ order_number: string;
92782
+ order_source: string;
92783
+ order_uuid: string;
92784
+ pick_date: string;
92785
+ plant_count: number;
92786
+ printed_at: string;
92787
+ shifted: boolean;
92788
+ status: string;
92789
+ }[];
92790
+ };
91519
92791
  logistics_order_pick_day: {
91520
92792
  Args: {
91521
92793
  p_order_ref: string;
@@ -91528,6 +92800,22 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91528
92800
  };
91529
92801
  Returns: string;
91530
92802
  };
92803
+ logistics_pick_agenda: {
92804
+ Args: {
92805
+ p_from?: string;
92806
+ p_to?: string;
92807
+ };
92808
+ Returns: {
92809
+ cart_count: number;
92810
+ in_preparation: number;
92811
+ order_count: number;
92812
+ orders: import("../integrations/supabase/types").Json;
92813
+ pick_date: string;
92814
+ plant_count: number;
92815
+ ready: number;
92816
+ shifted_count: number;
92817
+ }[];
92818
+ };
91531
92819
  logistics_pick_email_purpose: {
91532
92820
  Args: never;
91533
92821
  Returns: string;
@@ -91582,6 +92870,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91582
92870
  };
91583
92871
  Returns: undefined;
91584
92872
  };
92873
+ logistics_plan_floriday_order: {
92874
+ Args: {
92875
+ p_buffer_id?: string;
92876
+ p_order_id: string;
92877
+ };
92878
+ Returns: number;
92879
+ };
91585
92880
  logistics_plan_impact_orders: {
91586
92881
  Args: {
91587
92882
  p_order_id: string;
@@ -91687,6 +92982,15 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
91687
92982
  };
91688
92983
  Returns: import("../integrations/supabase/types").Json;
91689
92984
  };
92985
+ logistics_resolve_pick_document: {
92986
+ Args: {
92987
+ _is_herprint: boolean;
92988
+ _queue_item_id: string;
92989
+ _session_id: string;
92990
+ _voorbeeld: boolean;
92991
+ };
92992
+ Returns: import("../integrations/supabase/types").Json;
92993
+ };
91690
92994
  logistics_resolve_settings: {
91691
92995
  Args: {
91692
92996
  p_config_id: string;
@@ -92127,6 +93431,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
92127
93431
  };
92128
93432
  pick_enqueue_print_job: {
92129
93433
  Args: {
93434
+ _is_herprint?: boolean;
92130
93435
  _printer_id?: string;
92131
93436
  _queue_item_id: string;
92132
93437
  _session_id?: string;
@@ -92140,6 +93445,13 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
92140
93445
  };
92141
93446
  Returns: import("../integrations/supabase/types").Json;
92142
93447
  };
93448
+ pick_preview_job: {
93449
+ Args: {
93450
+ _queue_item_id: string;
93451
+ _station_slug: string;
93452
+ };
93453
+ Returns: import("../integrations/supabase/types").Json;
93454
+ };
92143
93455
  pick_print_job_status: {
92144
93456
  Args: {
92145
93457
  _job_id: string;
@@ -92317,6 +93629,24 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
92317
93629
  };
92318
93630
  Returns: undefined;
92319
93631
  };
93632
+ print_preview_toestaan: {
93633
+ Args: {
93634
+ _max?: number;
93635
+ _queue_item_id: string;
93636
+ _station_slug: string;
93637
+ _venster_sec?: number;
93638
+ };
93639
+ Returns: import("../integrations/supabase/types").Json;
93640
+ };
93641
+ print_preview_weiger: {
93642
+ Args: {
93643
+ _code: string;
93644
+ _queue_item_id: string;
93645
+ _reden: string;
93646
+ _station_slug: string;
93647
+ };
93648
+ Returns: undefined;
93649
+ };
92320
93650
  process_logistics_event: {
92321
93651
  Args: {
92322
93652
  p_event_id: string;
@@ -92471,6 +93801,12 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
92471
93801
  };
92472
93802
  Returns: string;
92473
93803
  };
93804
+ resolve_print_job_printer_id: {
93805
+ Args: {
93806
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
93807
+ };
93808
+ Returns: string;
93809
+ };
92474
93810
  resolve_product_id_for_item: {
92475
93811
  Args: {
92476
93812
  p_product_name: string;
@@ -93062,7 +94398,7 @@ export declare const cancelShipment: import("@tanstack/start-client-core").Optio
93062
94398
  };
93063
94399
  CompositeTypes: { [_ in never]: never; };
93064
94400
  }, {
93065
- PostgrestVersion: "14.17";
94401
+ PostgrestVersion: "14.5";
93066
94402
  }>;
93067
94403
  userId: string;
93068
94404
  claims: import("@supabase/auth-js").User;