@flowselections/floriday-verkoop-module 1.0.55 → 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 (72) 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/OrderKarindelingCard.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/OrderKarindelingCard.js +2 -1
  5. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  6. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  7. package/dist-lib/integrations/supabase/auth-middleware.d.ts +355 -18
  8. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.d.ts +355 -18
  10. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/client.server.d.ts +355 -18
  12. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  13. package/dist-lib/integrations/supabase/types.d.ts +357 -18
  14. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-lock.functions.d.ts +355 -18
  16. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3948 -241
  18. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/cart-replan.functions.d.ts +1065 -54
  20. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/cart-replan.functions.js +38 -31
  22. package/dist-lib/lib/create-order.functions.d.ts +6164 -435
  23. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1065 -54
  25. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  27. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  29. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23972 -28
  30. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  32. package/dist-lib/lib/floriday-mirror.functions.d.ts +355 -18
  33. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-public.functions.d.ts +2485 -126
  35. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  37. package/dist-lib/lib/floriday-writes.functions.d.ts +1775 -90
  38. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/invoice-timing.functions.d.ts +1420 -72
  40. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/load-carriers.functions.d.ts +355 -18
  42. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/logistics-engine.functions.d.ts +1775 -90
  44. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/logistics-stock.functions.d.ts +710 -36
  46. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/order-addresses.functions.d.ts +355 -18
  48. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/order-buffers.functions.d.ts +1065 -54
  50. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/order-carrier.functions.d.ts +710 -36
  52. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/order-pickup.functions.d.ts +710 -36
  54. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/order-shipments.functions.d.ts +1420 -72
  56. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/product-name.d.ts +3 -0
  58. package/dist-lib/lib/product-name.d.ts.map +1 -0
  59. package/dist-lib/lib/product-name.js +43 -0
  60. package/dist-lib/lib/salesorders-list.functions.d.ts +355 -18
  61. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  63. package/dist-lib/lib/salesorders-list.server.js +43 -1
  64. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  65. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  66. package/dist-lib/lib/salesorders.functions.d.ts +1775 -90
  67. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +710 -36
  69. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  70. package/dist-lib/lib/tradeitems.functions.d.ts +355 -18
  71. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  72. package/package.json +131 -131
@@ -2866,6 +2866,84 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
2866
2866
  };
2867
2867
  Relationships: [];
2868
2868
  };
2869
+ delivery_notes: {
2870
+ Row: {
2871
+ byte_size: number | null;
2872
+ connection_id: string | null;
2873
+ content_type: string;
2874
+ created_at: string;
2875
+ error_message: string | null;
2876
+ fetched_at: string | null;
2877
+ fulfillment_order_id: string | null;
2878
+ http_status: number | null;
2879
+ id: string;
2880
+ label_code: string | null;
2881
+ letter: string | null;
2882
+ load_carrier_index: number | null;
2883
+ load_carrier_type: string | null;
2884
+ order_id: string | null;
2885
+ order_number: string | null;
2886
+ packages: number | null;
2887
+ source: string;
2888
+ status: string;
2889
+ storage_bucket: string;
2890
+ storage_path: string | null;
2891
+ updated_at: string;
2892
+ };
2893
+ Insert: {
2894
+ byte_size?: number | null;
2895
+ connection_id?: string | null;
2896
+ content_type?: string;
2897
+ created_at?: string;
2898
+ error_message?: string | null;
2899
+ fetched_at?: string | null;
2900
+ fulfillment_order_id?: string | null;
2901
+ http_status?: number | null;
2902
+ id?: string;
2903
+ label_code?: string | null;
2904
+ letter?: string | null;
2905
+ load_carrier_index?: number | null;
2906
+ load_carrier_type?: string | null;
2907
+ order_id?: string | null;
2908
+ order_number?: string | null;
2909
+ packages?: number | null;
2910
+ source?: string;
2911
+ status?: string;
2912
+ storage_bucket?: string;
2913
+ storage_path?: string | null;
2914
+ updated_at?: string;
2915
+ };
2916
+ Update: {
2917
+ byte_size?: number | null;
2918
+ connection_id?: string | null;
2919
+ content_type?: string;
2920
+ created_at?: string;
2921
+ error_message?: string | null;
2922
+ fetched_at?: string | null;
2923
+ fulfillment_order_id?: string | null;
2924
+ http_status?: number | null;
2925
+ id?: string;
2926
+ label_code?: string | null;
2927
+ letter?: string | null;
2928
+ load_carrier_index?: number | null;
2929
+ load_carrier_type?: string | null;
2930
+ order_id?: string | null;
2931
+ order_number?: string | null;
2932
+ packages?: number | null;
2933
+ source?: string;
2934
+ status?: string;
2935
+ storage_bucket?: string;
2936
+ storage_path?: string | null;
2937
+ updated_at?: string;
2938
+ };
2939
+ Relationships: [{
2940
+ foreignKeyName: "delivery_notes_order_id_fkey";
2941
+ columns: ["order_id"];
2942
+ isOneToOne: false;
2943
+ referencedRelation: "orders";
2944
+ referencedColumns: ["id"];
2945
+ }];
2946
+ };
2869
2947
  document_bronregels: {
2870
2948
  Row: {
2871
2949
  bron: string;
@@ -5919,10 +5997,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
5919
5997
  };
5920
5998
  floriday_connections: {
5921
5999
  Row: {
5922
- access_token: string | null;
5923
6000
  api_key: string;
5924
- client_id: string;
5925
- client_secret: string;
5926
6001
  created_at: string;
5927
6002
  customers_endpoint: string | null;
5928
6003
  environment: string;
@@ -5937,10 +6012,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
5937
6012
  updated_at: string;
5938
6013
  };
5939
6014
  Insert: {
5940
- access_token?: string | null;
5941
6015
  api_key: string;
5942
- client_id: string;
5943
- client_secret: string;
5944
6016
  created_at?: string;
5945
6017
  customers_endpoint?: string | null;
5946
6018
  environment: string;
@@ -5955,10 +6027,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
5955
6027
  updated_at?: string;
5956
6028
  };
5957
6029
  Update: {
5958
- access_token?: string | null;
5959
6030
  api_key?: string;
5960
- client_id?: string;
5961
- client_secret?: string;
5962
6031
  created_at?: string;
5963
6032
  customers_endpoint?: string | null;
5964
6033
  environment?: string;
@@ -10829,6 +10898,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10829
10898
  last_error: string | null;
10830
10899
  last_error_at: string | null;
10831
10900
  last_success_at: string | null;
10901
+ provider: string;
10832
10902
  updated_at: string;
10833
10903
  };
10834
10904
  Insert: {
@@ -10840,6 +10910,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10840
10910
  last_error?: string | null;
10841
10911
  last_error_at?: string | null;
10842
10912
  last_success_at?: string | null;
10913
+ provider?: string;
10843
10914
  updated_at?: string;
10844
10915
  };
10845
10916
  Update: {
@@ -10851,6 +10922,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
10851
10922
  last_error?: string | null;
10852
10923
  last_error_at?: string | null;
10853
10924
  last_success_at?: string | null;
10925
+ provider?: string;
10854
10926
  updated_at?: string;
10855
10927
  };
10856
10928
  Relationships: [];
@@ -13588,6 +13660,39 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13588
13660
  };
13589
13661
  Relationships: [];
13590
13662
  };
13663
+ print_dedupe_events: {
13664
+ Row: {
13665
+ bestaande_job_id: string | null;
13666
+ created_at: string;
13667
+ detail: string | null;
13668
+ documentnaam: string | null;
13669
+ documenttype: string | null;
13670
+ id: string;
13671
+ idempotentie_sleutel: string;
13672
+ reden: string;
13673
+ };
13674
+ Insert: {
13675
+ bestaande_job_id?: string | null;
13676
+ created_at?: string;
13677
+ detail?: string | null;
13678
+ documentnaam?: string | null;
13679
+ documenttype?: string | null;
13680
+ id?: string;
13681
+ idempotentie_sleutel: string;
13682
+ reden: string;
13683
+ };
13684
+ Update: {
13685
+ bestaande_job_id?: string | null;
13686
+ created_at?: string;
13687
+ detail?: string | null;
13688
+ documentnaam?: string | null;
13689
+ documenttype?: string | null;
13690
+ id?: string;
13691
+ idempotentie_sleutel?: string;
13692
+ reden?: string;
13693
+ };
13694
+ Relationships: [];
13695
+ };
13591
13696
  print_job_logs: {
13592
13697
  Row: {
13593
13698
  created_at: string;
@@ -13638,6 +13743,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13638
13743
  is_herprint: boolean;
13639
13744
  kopieen: number;
13640
13745
  layout_id: string | null;
13746
+ lokaal_opgeslagen_op: string | null;
13747
+ lokale_pdf_fout: string | null;
13748
+ lokale_pdf_status: string | null;
13641
13749
  opgepakt_op: string | null;
13642
13750
  paginas: number;
13643
13751
  payload: import("../integrations/supabase/types").Json;
@@ -13646,6 +13754,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13646
13754
  pogingen: number;
13647
13755
  printer_id: string | null;
13648
13756
  render_html: string | null;
13757
+ resultaat_pdf_base64: string | null;
13649
13758
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13650
13759
  updated_at: string;
13651
13760
  volgende_poging: string | null;
@@ -13670,6 +13779,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13670
13779
  is_herprint?: boolean;
13671
13780
  kopieen?: number;
13672
13781
  layout_id?: string | null;
13782
+ lokaal_opgeslagen_op?: string | null;
13783
+ lokale_pdf_fout?: string | null;
13784
+ lokale_pdf_status?: string | null;
13673
13785
  opgepakt_op?: string | null;
13674
13786
  paginas?: number;
13675
13787
  payload?: import("../integrations/supabase/types").Json;
@@ -13678,6 +13790,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13678
13790
  pogingen?: number;
13679
13791
  printer_id?: string | null;
13680
13792
  render_html?: string | null;
13793
+ resultaat_pdf_base64?: string | null;
13681
13794
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13682
13795
  updated_at?: string;
13683
13796
  volgende_poging?: string | null;
@@ -13702,6 +13815,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13702
13815
  is_herprint?: boolean;
13703
13816
  kopieen?: number;
13704
13817
  layout_id?: string | null;
13818
+ lokaal_opgeslagen_op?: string | null;
13819
+ lokale_pdf_fout?: string | null;
13820
+ lokale_pdf_status?: string | null;
13705
13821
  opgepakt_op?: string | null;
13706
13822
  paginas?: number;
13707
13823
  payload?: import("../integrations/supabase/types").Json;
@@ -13710,6 +13826,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13710
13826
  pogingen?: number;
13711
13827
  printer_id?: string | null;
13712
13828
  render_html?: string | null;
13829
+ resultaat_pdf_base64?: string | null;
13713
13830
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13714
13831
  updated_at?: string;
13715
13832
  volgende_poging?: string | null;
@@ -13828,6 +13945,39 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
13828
13945
  };
13829
13946
  Relationships: [];
13830
13947
  };
13948
+ print_preview_events: {
13949
+ Row: {
13950
+ code: string | null;
13951
+ created_at: string;
13952
+ detail: import("../integrations/supabase/types").Json;
13953
+ id: string;
13954
+ queue_item_id: string | null;
13955
+ reden: string | null;
13956
+ station_slug: string | null;
13957
+ uitkomst: string;
13958
+ };
13959
+ Insert: {
13960
+ code?: string | null;
13961
+ created_at?: string;
13962
+ detail?: import("../integrations/supabase/types").Json;
13963
+ id?: string;
13964
+ queue_item_id?: string | null;
13965
+ reden?: string | null;
13966
+ station_slug?: string | null;
13967
+ uitkomst?: string;
13968
+ };
13969
+ Update: {
13970
+ code?: string | null;
13971
+ created_at?: string;
13972
+ detail?: import("../integrations/supabase/types").Json;
13973
+ id?: string;
13974
+ queue_item_id?: string | null;
13975
+ reden?: string | null;
13976
+ station_slug?: string | null;
13977
+ uitkomst?: string;
13978
+ };
13979
+ Relationships: [];
13980
+ };
13831
13981
  print_queue_runners: {
13832
13982
  Row: {
13833
13983
  actief: boolean;
@@ -14067,6 +14217,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
14067
14217
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14068
14218
  online: boolean;
14069
14219
  papierformaat: string;
14220
+ pdf_map: string | null;
14070
14221
  poort: number | null;
14071
14222
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14072
14223
  systeemnaam: string;
@@ -14092,6 +14243,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
14092
14243
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14093
14244
  online?: boolean;
14094
14245
  papierformaat?: string;
14246
+ pdf_map?: string | null;
14095
14247
  poort?: number | null;
14096
14248
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14097
14249
  systeemnaam?: string;
@@ -14117,6 +14269,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
14117
14269
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14118
14270
  online?: boolean;
14119
14271
  papierformaat?: string;
14272
+ pdf_map?: string | null;
14120
14273
  poort?: number | null;
14121
14274
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14122
14275
  systeemnaam?: string;
@@ -20373,6 +20526,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
20373
20526
  is_herprint: boolean;
20374
20527
  kopieen: number;
20375
20528
  layout_id: string | null;
20529
+ lokaal_opgeslagen_op: string | null;
20530
+ lokale_pdf_fout: string | null;
20531
+ lokale_pdf_status: string | null;
20376
20532
  opgepakt_op: string | null;
20377
20533
  paginas: number;
20378
20534
  payload: import("../integrations/supabase/types").Json;
@@ -20381,6 +20537,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
20381
20537
  pogingen: number;
20382
20538
  printer_id: string | null;
20383
20539
  render_html: string | null;
20540
+ resultaat_pdf_base64: string | null;
20384
20541
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20385
20542
  updated_at: string;
20386
20543
  volgende_poging: string | null;
@@ -20472,6 +20629,53 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
20472
20629
  isSetofReturn: true;
20473
20630
  };
20474
20631
  };
20632
+ claim_pdf_print_jobs: {
20633
+ Args: {
20634
+ _max?: number;
20635
+ };
20636
+ Returns: {
20637
+ agent_id: string | null;
20638
+ bron_job_id: string | null;
20639
+ created_at: string;
20640
+ documentnaam: string;
20641
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20642
+ extern_job_id: string | null;
20643
+ foutmelding: string | null;
20644
+ gebruiker_id: string | null;
20645
+ gebruiker_naam: string;
20646
+ gebruikte_bron: string | null;
20647
+ gebruikte_layout_id: string | null;
20648
+ gestart_op: string | null;
20649
+ herkomst: string | null;
20650
+ id: string;
20651
+ idempotentie_sleutel: string | null;
20652
+ is_herprint: boolean;
20653
+ kopieen: number;
20654
+ layout_id: string | null;
20655
+ lokaal_opgeslagen_op: string | null;
20656
+ lokale_pdf_fout: string | null;
20657
+ lokale_pdf_status: string | null;
20658
+ opgepakt_op: string | null;
20659
+ paginas: number;
20660
+ payload: import("../integrations/supabase/types").Json;
20661
+ pdf_base64: string | null;
20662
+ pdf_url: string | null;
20663
+ pogingen: number;
20664
+ printer_id: string | null;
20665
+ render_html: string | null;
20666
+ resultaat_pdf_base64: string | null;
20667
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20668
+ updated_at: string;
20669
+ volgende_poging: string | null;
20670
+ voltooid_op: string | null;
20671
+ }[];
20672
+ SetofOptions: {
20673
+ from: "*";
20674
+ to: "print_jobs";
20675
+ isOneToOne: false;
20676
+ isSetofReturn: true;
20677
+ };
20678
+ };
20475
20679
  claim_print_jobs: {
20476
20680
  Args: {
20477
20681
  _agent_id: string;
@@ -20496,6 +20700,9 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
20496
20700
  is_herprint: boolean;
20497
20701
  kopieen: number;
20498
20702
  layout_id: string | null;
20703
+ lokaal_opgeslagen_op: string | null;
20704
+ lokale_pdf_fout: string | null;
20705
+ lokale_pdf_status: string | null;
20499
20706
  opgepakt_op: string | null;
20500
20707
  paginas: number;
20501
20708
  payload: import("../integrations/supabase/types").Json;
@@ -20504,6 +20711,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
20504
20711
  pogingen: number;
20505
20712
  printer_id: string | null;
20506
20713
  render_html: string | null;
20714
+ resultaat_pdf_base64: string | null;
20507
20715
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20508
20716
  updated_at: string;
20509
20717
  volgende_poging: string | null;
@@ -20644,6 +20852,8 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
20644
20852
  order_id: string;
20645
20853
  order_source: string;
20646
20854
  pick_date: string;
20855
+ printed_at: string;
20856
+ printed_today: boolean;
20647
20857
  status: string;
20648
20858
  }[];
20649
20859
  };
@@ -21352,6 +21562,10 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21352
21562
  };
21353
21563
  Returns: number;
21354
21564
  };
21565
+ logistics_cancel_orphan_tasks: {
21566
+ Args: never;
21567
+ Returns: number;
21568
+ };
21355
21569
  logistics_capacity_day_check: {
21356
21570
  Args: {
21357
21571
  p_from?: string;
@@ -21372,6 +21586,25 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21372
21586
  };
21373
21587
  Returns: number;
21374
21588
  };
21589
+ logistics_cart_index: {
21590
+ Args: {
21591
+ p_from?: string;
21592
+ p_to?: string;
21593
+ };
21594
+ Returns: {
21595
+ cart_id: string;
21596
+ cart_index: number;
21597
+ cart_label: string;
21598
+ is_shared: boolean;
21599
+ order_number: string;
21600
+ order_source: string;
21601
+ order_uuid: string;
21602
+ pick_date: string;
21603
+ printed_at: string;
21604
+ shifted: boolean;
21605
+ task_status: string;
21606
+ }[];
21607
+ };
21375
21608
  logistics_check_order_allowed: {
21376
21609
  Args: {
21377
21610
  p_lines: import("../integrations/supabase/types").Json;
@@ -21520,6 +21753,17 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21520
21753
  isSetofReturn: false;
21521
21754
  };
21522
21755
  };
21756
+ logistics_consistency_check: {
21757
+ Args: never;
21758
+ Returns: {
21759
+ agenda_carts: number;
21760
+ control_carts: number;
21761
+ ok: boolean;
21762
+ orphan_tasks: number;
21763
+ pick_date: string;
21764
+ raw_carts: number;
21765
+ }[];
21766
+ };
21523
21767
  logistics_delay_customer_email: {
21524
21768
  Args: {
21525
21769
  p_customer: string;
@@ -21609,6 +21853,16 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21609
21853
  isSetofReturn: false;
21610
21854
  };
21611
21855
  };
21856
+ logistics_floriday_cart_plan: {
21857
+ Args: {
21858
+ p_order_id: string;
21859
+ };
21860
+ Returns: {
21861
+ carrier_type: string;
21862
+ idx: number;
21863
+ packages: number;
21864
+ }[];
21865
+ };
21612
21866
  logistics_floriday_claim_pushes: {
21613
21867
  Args: {
21614
21868
  _lease_seconds?: number;
@@ -21713,6 +21967,25 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21713
21967
  };
21714
21968
  Returns: number;
21715
21969
  };
21970
+ logistics_order_overview: {
21971
+ Args: {
21972
+ p_from?: string;
21973
+ p_to?: string;
21974
+ };
21975
+ Returns: {
21976
+ cart_count: number;
21977
+ customer_name: string;
21978
+ delivery_date: string;
21979
+ order_number: string;
21980
+ order_source: string;
21981
+ order_uuid: string;
21982
+ pick_date: string;
21983
+ plant_count: number;
21984
+ printed_at: string;
21985
+ shifted: boolean;
21986
+ status: string;
21987
+ }[];
21988
+ };
21716
21989
  logistics_order_pick_day: {
21717
21990
  Args: {
21718
21991
  p_order_ref: string;
@@ -21725,6 +21998,22 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21725
21998
  };
21726
21999
  Returns: string;
21727
22000
  };
22001
+ logistics_pick_agenda: {
22002
+ Args: {
22003
+ p_from?: string;
22004
+ p_to?: string;
22005
+ };
22006
+ Returns: {
22007
+ cart_count: number;
22008
+ in_preparation: number;
22009
+ order_count: number;
22010
+ orders: import("../integrations/supabase/types").Json;
22011
+ pick_date: string;
22012
+ plant_count: number;
22013
+ ready: number;
22014
+ shifted_count: number;
22015
+ }[];
22016
+ };
21728
22017
  logistics_pick_email_purpose: {
21729
22018
  Args: never;
21730
22019
  Returns: string;
@@ -21779,6 +22068,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21779
22068
  };
21780
22069
  Returns: undefined;
21781
22070
  };
22071
+ logistics_plan_floriday_order: {
22072
+ Args: {
22073
+ p_buffer_id?: string;
22074
+ p_order_id: string;
22075
+ };
22076
+ Returns: number;
22077
+ };
21782
22078
  logistics_plan_impact_orders: {
21783
22079
  Args: {
21784
22080
  p_order_id: string;
@@ -21884,6 +22180,15 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
21884
22180
  };
21885
22181
  Returns: import("../integrations/supabase/types").Json;
21886
22182
  };
22183
+ logistics_resolve_pick_document: {
22184
+ Args: {
22185
+ _is_herprint: boolean;
22186
+ _queue_item_id: string;
22187
+ _session_id: string;
22188
+ _voorbeeld: boolean;
22189
+ };
22190
+ Returns: import("../integrations/supabase/types").Json;
22191
+ };
21887
22192
  logistics_resolve_settings: {
21888
22193
  Args: {
21889
22194
  p_config_id: string;
@@ -22014,14 +22319,6 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22014
22319
  };
22015
22320
  Returns: string;
22016
22321
  };
22017
- maps_cron_token: {
22018
- Args: never;
22019
- Returns: string;
22020
- };
22021
- maps_kick_queue: {
22022
- Args: never;
22023
- Returns: undefined;
22024
- };
22025
22322
  mark_offer_clicked: {
22026
22323
  Args: {
22027
22324
  p_code: string;
@@ -22332,6 +22629,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22332
22629
  };
22333
22630
  pick_enqueue_print_job: {
22334
22631
  Args: {
22632
+ _is_herprint?: boolean;
22335
22633
  _printer_id?: string;
22336
22634
  _queue_item_id: string;
22337
22635
  _session_id?: string;
@@ -22345,6 +22643,13 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22345
22643
  };
22346
22644
  Returns: import("../integrations/supabase/types").Json;
22347
22645
  };
22646
+ pick_preview_job: {
22647
+ Args: {
22648
+ _queue_item_id: string;
22649
+ _station_slug: string;
22650
+ };
22651
+ Returns: import("../integrations/supabase/types").Json;
22652
+ };
22348
22653
  pick_print_job_status: {
22349
22654
  Args: {
22350
22655
  _job_id: string;
@@ -22522,6 +22827,24 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22522
22827
  };
22523
22828
  Returns: undefined;
22524
22829
  };
22830
+ print_preview_toestaan: {
22831
+ Args: {
22832
+ _max?: number;
22833
+ _queue_item_id: string;
22834
+ _station_slug: string;
22835
+ _venster_sec?: number;
22836
+ };
22837
+ Returns: import("../integrations/supabase/types").Json;
22838
+ };
22839
+ print_preview_weiger: {
22840
+ Args: {
22841
+ _code: string;
22842
+ _queue_item_id: string;
22843
+ _reden: string;
22844
+ _station_slug: string;
22845
+ };
22846
+ Returns: undefined;
22847
+ };
22525
22848
  process_logistics_event: {
22526
22849
  Args: {
22527
22850
  p_event_id: string;
@@ -22639,6 +22962,14 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22639
22962
  };
22640
22963
  Returns: undefined;
22641
22964
  };
22965
+ replace_order_carts: {
22966
+ Args: {
22967
+ p_buffer_id: string;
22968
+ p_carts: import("../integrations/supabase/types").Json;
22969
+ p_order_id: string;
22970
+ };
22971
+ Returns: import("../integrations/supabase/types").Json;
22972
+ };
22642
22973
  reset_floriday_sync_cursor: {
22643
22974
  Args: {
22644
22975
  p_connection_id: string;
@@ -22668,6 +22999,12 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
22668
22999
  };
22669
23000
  Returns: string;
22670
23001
  };
23002
+ resolve_print_job_printer_id: {
23003
+ Args: {
23004
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23005
+ };
23006
+ Returns: string;
23007
+ };
22671
23008
  resolve_product_id_for_item: {
22672
23009
  Args: {
22673
23010
  p_product_name: string;
@@ -23259,7 +23596,7 @@ export declare const listOpenStockConsumptionAlerts: import("@tanstack/start-cli
23259
23596
  };
23260
23597
  CompositeTypes: { [_ in never]: never; };
23261
23598
  }, {
23262
- PostgrestVersion: "14.17";
23599
+ PostgrestVersion: "14.5";
23263
23600
  }>;
23264
23601
  userId: string;
23265
23602
  claims: import("@supabase/auth-js").User;
@@ -26117,6 +26454,84 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
26117
26454
  };
26118
26455
  Relationships: [];
26119
26456
  };
26457
+ delivery_notes: {
26458
+ Row: {
26459
+ byte_size: number | null;
26460
+ connection_id: string | null;
26461
+ content_type: string;
26462
+ created_at: string;
26463
+ error_message: string | null;
26464
+ fetched_at: string | null;
26465
+ fulfillment_order_id: string | null;
26466
+ http_status: number | null;
26467
+ id: string;
26468
+ label_code: string | null;
26469
+ letter: string | null;
26470
+ load_carrier_index: number | null;
26471
+ load_carrier_type: string | null;
26472
+ order_id: string | null;
26473
+ order_number: string | null;
26474
+ packages: number | null;
26475
+ source: string;
26476
+ status: string;
26477
+ storage_bucket: string;
26478
+ storage_path: string | null;
26479
+ updated_at: string;
26480
+ };
26481
+ Insert: {
26482
+ byte_size?: number | null;
26483
+ connection_id?: string | null;
26484
+ content_type?: string;
26485
+ created_at?: string;
26486
+ error_message?: string | null;
26487
+ fetched_at?: string | null;
26488
+ fulfillment_order_id?: string | null;
26489
+ http_status?: number | null;
26490
+ id?: string;
26491
+ label_code?: string | null;
26492
+ letter?: string | null;
26493
+ load_carrier_index?: number | null;
26494
+ load_carrier_type?: string | null;
26495
+ order_id?: string | null;
26496
+ order_number?: string | null;
26497
+ packages?: number | null;
26498
+ source?: string;
26499
+ status?: string;
26500
+ storage_bucket?: string;
26501
+ storage_path?: string | null;
26502
+ updated_at?: string;
26503
+ };
26504
+ Update: {
26505
+ byte_size?: number | null;
26506
+ connection_id?: string | null;
26507
+ content_type?: string;
26508
+ created_at?: string;
26509
+ error_message?: string | null;
26510
+ fetched_at?: string | null;
26511
+ fulfillment_order_id?: string | null;
26512
+ http_status?: number | null;
26513
+ id?: string;
26514
+ label_code?: string | null;
26515
+ letter?: string | null;
26516
+ load_carrier_index?: number | null;
26517
+ load_carrier_type?: string | null;
26518
+ order_id?: string | null;
26519
+ order_number?: string | null;
26520
+ packages?: number | null;
26521
+ source?: string;
26522
+ status?: string;
26523
+ storage_bucket?: string;
26524
+ storage_path?: string | null;
26525
+ updated_at?: string;
26526
+ };
26527
+ Relationships: [{
26528
+ foreignKeyName: "delivery_notes_order_id_fkey";
26529
+ columns: ["order_id"];
26530
+ isOneToOne: false;
26531
+ referencedRelation: "orders";
26532
+ referencedColumns: ["id"];
26533
+ }];
26534
+ };
26120
26535
  document_bronregels: {
26121
26536
  Row: {
26122
26537
  bron: string;
@@ -29170,10 +29585,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
29170
29585
  };
29171
29586
  floriday_connections: {
29172
29587
  Row: {
29173
- access_token: string | null;
29174
29588
  api_key: string;
29175
- client_id: string;
29176
- client_secret: string;
29177
29589
  created_at: string;
29178
29590
  customers_endpoint: string | null;
29179
29591
  environment: string;
@@ -29188,10 +29600,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
29188
29600
  updated_at: string;
29189
29601
  };
29190
29602
  Insert: {
29191
- access_token?: string | null;
29192
29603
  api_key: string;
29193
- client_id: string;
29194
- client_secret: string;
29195
29604
  created_at?: string;
29196
29605
  customers_endpoint?: string | null;
29197
29606
  environment: string;
@@ -29206,10 +29615,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
29206
29615
  updated_at?: string;
29207
29616
  };
29208
29617
  Update: {
29209
- access_token?: string | null;
29210
29618
  api_key?: string;
29211
- client_id?: string;
29212
- client_secret?: string;
29213
29619
  created_at?: string;
29214
29620
  customers_endpoint?: string | null;
29215
29621
  environment?: string;
@@ -34080,6 +34486,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
34080
34486
  last_error: string | null;
34081
34487
  last_error_at: string | null;
34082
34488
  last_success_at: string | null;
34489
+ provider: string;
34083
34490
  updated_at: string;
34084
34491
  };
34085
34492
  Insert: {
@@ -34091,6 +34498,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
34091
34498
  last_error?: string | null;
34092
34499
  last_error_at?: string | null;
34093
34500
  last_success_at?: string | null;
34501
+ provider?: string;
34094
34502
  updated_at?: string;
34095
34503
  };
34096
34504
  Update: {
@@ -34102,6 +34510,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
34102
34510
  last_error?: string | null;
34103
34511
  last_error_at?: string | null;
34104
34512
  last_success_at?: string | null;
34513
+ provider?: string;
34105
34514
  updated_at?: string;
34106
34515
  };
34107
34516
  Relationships: [];
@@ -36839,6 +37248,39 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36839
37248
  };
36840
37249
  Relationships: [];
36841
37250
  };
37251
+ print_dedupe_events: {
37252
+ Row: {
37253
+ bestaande_job_id: string | null;
37254
+ created_at: string;
37255
+ detail: string | null;
37256
+ documentnaam: string | null;
37257
+ documenttype: string | null;
37258
+ id: string;
37259
+ idempotentie_sleutel: string;
37260
+ reden: string;
37261
+ };
37262
+ Insert: {
37263
+ bestaande_job_id?: string | null;
37264
+ created_at?: string;
37265
+ detail?: string | null;
37266
+ documentnaam?: string | null;
37267
+ documenttype?: string | null;
37268
+ id?: string;
37269
+ idempotentie_sleutel: string;
37270
+ reden: string;
37271
+ };
37272
+ Update: {
37273
+ bestaande_job_id?: string | null;
37274
+ created_at?: string;
37275
+ detail?: string | null;
37276
+ documentnaam?: string | null;
37277
+ documenttype?: string | null;
37278
+ id?: string;
37279
+ idempotentie_sleutel?: string;
37280
+ reden?: string;
37281
+ };
37282
+ Relationships: [];
37283
+ };
36842
37284
  print_job_logs: {
36843
37285
  Row: {
36844
37286
  created_at: string;
@@ -36889,6 +37331,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36889
37331
  is_herprint: boolean;
36890
37332
  kopieen: number;
36891
37333
  layout_id: string | null;
37334
+ lokaal_opgeslagen_op: string | null;
37335
+ lokale_pdf_fout: string | null;
37336
+ lokale_pdf_status: string | null;
36892
37337
  opgepakt_op: string | null;
36893
37338
  paginas: number;
36894
37339
  payload: import("../integrations/supabase/types").Json;
@@ -36897,6 +37342,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36897
37342
  pogingen: number;
36898
37343
  printer_id: string | null;
36899
37344
  render_html: string | null;
37345
+ resultaat_pdf_base64: string | null;
36900
37346
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36901
37347
  updated_at: string;
36902
37348
  volgende_poging: string | null;
@@ -36921,6 +37367,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36921
37367
  is_herprint?: boolean;
36922
37368
  kopieen?: number;
36923
37369
  layout_id?: string | null;
37370
+ lokaal_opgeslagen_op?: string | null;
37371
+ lokale_pdf_fout?: string | null;
37372
+ lokale_pdf_status?: string | null;
36924
37373
  opgepakt_op?: string | null;
36925
37374
  paginas?: number;
36926
37375
  payload?: import("../integrations/supabase/types").Json;
@@ -36929,6 +37378,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36929
37378
  pogingen?: number;
36930
37379
  printer_id?: string | null;
36931
37380
  render_html?: string | null;
37381
+ resultaat_pdf_base64?: string | null;
36932
37382
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36933
37383
  updated_at?: string;
36934
37384
  volgende_poging?: string | null;
@@ -36953,6 +37403,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36953
37403
  is_herprint?: boolean;
36954
37404
  kopieen?: number;
36955
37405
  layout_id?: string | null;
37406
+ lokaal_opgeslagen_op?: string | null;
37407
+ lokale_pdf_fout?: string | null;
37408
+ lokale_pdf_status?: string | null;
36956
37409
  opgepakt_op?: string | null;
36957
37410
  paginas?: number;
36958
37411
  payload?: import("../integrations/supabase/types").Json;
@@ -36961,6 +37414,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
36961
37414
  pogingen?: number;
36962
37415
  printer_id?: string | null;
36963
37416
  render_html?: string | null;
37417
+ resultaat_pdf_base64?: string | null;
36964
37418
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36965
37419
  updated_at?: string;
36966
37420
  volgende_poging?: string | null;
@@ -37079,6 +37533,39 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37079
37533
  };
37080
37534
  Relationships: [];
37081
37535
  };
37536
+ print_preview_events: {
37537
+ Row: {
37538
+ code: string | null;
37539
+ created_at: string;
37540
+ detail: import("../integrations/supabase/types").Json;
37541
+ id: string;
37542
+ queue_item_id: string | null;
37543
+ reden: string | null;
37544
+ station_slug: string | null;
37545
+ uitkomst: string;
37546
+ };
37547
+ Insert: {
37548
+ code?: string | null;
37549
+ created_at?: string;
37550
+ detail?: import("../integrations/supabase/types").Json;
37551
+ id?: string;
37552
+ queue_item_id?: string | null;
37553
+ reden?: string | null;
37554
+ station_slug?: string | null;
37555
+ uitkomst?: string;
37556
+ };
37557
+ Update: {
37558
+ code?: string | null;
37559
+ created_at?: string;
37560
+ detail?: import("../integrations/supabase/types").Json;
37561
+ id?: string;
37562
+ queue_item_id?: string | null;
37563
+ reden?: string | null;
37564
+ station_slug?: string | null;
37565
+ uitkomst?: string;
37566
+ };
37567
+ Relationships: [];
37568
+ };
37082
37569
  print_queue_runners: {
37083
37570
  Row: {
37084
37571
  actief: boolean;
@@ -37318,6 +37805,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37318
37805
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37319
37806
  online: boolean;
37320
37807
  papierformaat: string;
37808
+ pdf_map: string | null;
37321
37809
  poort: number | null;
37322
37810
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37323
37811
  systeemnaam: string;
@@ -37343,6 +37831,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37343
37831
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37344
37832
  online?: boolean;
37345
37833
  papierformaat?: string;
37834
+ pdf_map?: string | null;
37346
37835
  poort?: number | null;
37347
37836
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37348
37837
  systeemnaam?: string;
@@ -37368,6 +37857,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
37368
37857
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37369
37858
  online?: boolean;
37370
37859
  papierformaat?: string;
37860
+ pdf_map?: string | null;
37371
37861
  poort?: number | null;
37372
37862
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37373
37863
  systeemnaam?: string;
@@ -43624,6 +44114,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43624
44114
  is_herprint: boolean;
43625
44115
  kopieen: number;
43626
44116
  layout_id: string | null;
44117
+ lokaal_opgeslagen_op: string | null;
44118
+ lokale_pdf_fout: string | null;
44119
+ lokale_pdf_status: string | null;
43627
44120
  opgepakt_op: string | null;
43628
44121
  paginas: number;
43629
44122
  payload: import("../integrations/supabase/types").Json;
@@ -43632,6 +44125,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43632
44125
  pogingen: number;
43633
44126
  printer_id: string | null;
43634
44127
  render_html: string | null;
44128
+ resultaat_pdf_base64: string | null;
43635
44129
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43636
44130
  updated_at: string;
43637
44131
  volgende_poging: string | null;
@@ -43723,6 +44217,53 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43723
44217
  isSetofReturn: true;
43724
44218
  };
43725
44219
  };
44220
+ claim_pdf_print_jobs: {
44221
+ Args: {
44222
+ _max?: number;
44223
+ };
44224
+ Returns: {
44225
+ agent_id: string | null;
44226
+ bron_job_id: string | null;
44227
+ created_at: string;
44228
+ documentnaam: string;
44229
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44230
+ extern_job_id: string | null;
44231
+ foutmelding: string | null;
44232
+ gebruiker_id: string | null;
44233
+ gebruiker_naam: string;
44234
+ gebruikte_bron: string | null;
44235
+ gebruikte_layout_id: string | null;
44236
+ gestart_op: string | null;
44237
+ herkomst: string | null;
44238
+ id: string;
44239
+ idempotentie_sleutel: string | null;
44240
+ is_herprint: boolean;
44241
+ kopieen: number;
44242
+ layout_id: string | null;
44243
+ lokaal_opgeslagen_op: string | null;
44244
+ lokale_pdf_fout: string | null;
44245
+ lokale_pdf_status: string | null;
44246
+ opgepakt_op: string | null;
44247
+ paginas: number;
44248
+ payload: import("../integrations/supabase/types").Json;
44249
+ pdf_base64: string | null;
44250
+ pdf_url: string | null;
44251
+ pogingen: number;
44252
+ printer_id: string | null;
44253
+ render_html: string | null;
44254
+ resultaat_pdf_base64: string | null;
44255
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44256
+ updated_at: string;
44257
+ volgende_poging: string | null;
44258
+ voltooid_op: string | null;
44259
+ }[];
44260
+ SetofOptions: {
44261
+ from: "*";
44262
+ to: "print_jobs";
44263
+ isOneToOne: false;
44264
+ isSetofReturn: true;
44265
+ };
44266
+ };
43726
44267
  claim_print_jobs: {
43727
44268
  Args: {
43728
44269
  _agent_id: string;
@@ -43747,6 +44288,9 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43747
44288
  is_herprint: boolean;
43748
44289
  kopieen: number;
43749
44290
  layout_id: string | null;
44291
+ lokaal_opgeslagen_op: string | null;
44292
+ lokale_pdf_fout: string | null;
44293
+ lokale_pdf_status: string | null;
43750
44294
  opgepakt_op: string | null;
43751
44295
  paginas: number;
43752
44296
  payload: import("../integrations/supabase/types").Json;
@@ -43755,6 +44299,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43755
44299
  pogingen: number;
43756
44300
  printer_id: string | null;
43757
44301
  render_html: string | null;
44302
+ resultaat_pdf_base64: string | null;
43758
44303
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43759
44304
  updated_at: string;
43760
44305
  volgende_poging: string | null;
@@ -43895,6 +44440,8 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
43895
44440
  order_id: string;
43896
44441
  order_source: string;
43897
44442
  pick_date: string;
44443
+ printed_at: string;
44444
+ printed_today: boolean;
43898
44445
  status: string;
43899
44446
  }[];
43900
44447
  };
@@ -44603,6 +45150,10 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44603
45150
  };
44604
45151
  Returns: number;
44605
45152
  };
45153
+ logistics_cancel_orphan_tasks: {
45154
+ Args: never;
45155
+ Returns: number;
45156
+ };
44606
45157
  logistics_capacity_day_check: {
44607
45158
  Args: {
44608
45159
  p_from?: string;
@@ -44623,6 +45174,25 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44623
45174
  };
44624
45175
  Returns: number;
44625
45176
  };
45177
+ logistics_cart_index: {
45178
+ Args: {
45179
+ p_from?: string;
45180
+ p_to?: string;
45181
+ };
45182
+ Returns: {
45183
+ cart_id: string;
45184
+ cart_index: number;
45185
+ cart_label: string;
45186
+ is_shared: boolean;
45187
+ order_number: string;
45188
+ order_source: string;
45189
+ order_uuid: string;
45190
+ pick_date: string;
45191
+ printed_at: string;
45192
+ shifted: boolean;
45193
+ task_status: string;
45194
+ }[];
45195
+ };
44626
45196
  logistics_check_order_allowed: {
44627
45197
  Args: {
44628
45198
  p_lines: import("../integrations/supabase/types").Json;
@@ -44771,6 +45341,17 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44771
45341
  isSetofReturn: false;
44772
45342
  };
44773
45343
  };
45344
+ logistics_consistency_check: {
45345
+ Args: never;
45346
+ Returns: {
45347
+ agenda_carts: number;
45348
+ control_carts: number;
45349
+ ok: boolean;
45350
+ orphan_tasks: number;
45351
+ pick_date: string;
45352
+ raw_carts: number;
45353
+ }[];
45354
+ };
44774
45355
  logistics_delay_customer_email: {
44775
45356
  Args: {
44776
45357
  p_customer: string;
@@ -44860,6 +45441,16 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44860
45441
  isSetofReturn: false;
44861
45442
  };
44862
45443
  };
45444
+ logistics_floriday_cart_plan: {
45445
+ Args: {
45446
+ p_order_id: string;
45447
+ };
45448
+ Returns: {
45449
+ carrier_type: string;
45450
+ idx: number;
45451
+ packages: number;
45452
+ }[];
45453
+ };
44863
45454
  logistics_floriday_claim_pushes: {
44864
45455
  Args: {
44865
45456
  _lease_seconds?: number;
@@ -44964,6 +45555,25 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44964
45555
  };
44965
45556
  Returns: number;
44966
45557
  };
45558
+ logistics_order_overview: {
45559
+ Args: {
45560
+ p_from?: string;
45561
+ p_to?: string;
45562
+ };
45563
+ Returns: {
45564
+ cart_count: number;
45565
+ customer_name: string;
45566
+ delivery_date: string;
45567
+ order_number: string;
45568
+ order_source: string;
45569
+ order_uuid: string;
45570
+ pick_date: string;
45571
+ plant_count: number;
45572
+ printed_at: string;
45573
+ shifted: boolean;
45574
+ status: string;
45575
+ }[];
45576
+ };
44967
45577
  logistics_order_pick_day: {
44968
45578
  Args: {
44969
45579
  p_order_ref: string;
@@ -44976,6 +45586,22 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
44976
45586
  };
44977
45587
  Returns: string;
44978
45588
  };
45589
+ logistics_pick_agenda: {
45590
+ Args: {
45591
+ p_from?: string;
45592
+ p_to?: string;
45593
+ };
45594
+ Returns: {
45595
+ cart_count: number;
45596
+ in_preparation: number;
45597
+ order_count: number;
45598
+ orders: import("../integrations/supabase/types").Json;
45599
+ pick_date: string;
45600
+ plant_count: number;
45601
+ ready: number;
45602
+ shifted_count: number;
45603
+ }[];
45604
+ };
44979
45605
  logistics_pick_email_purpose: {
44980
45606
  Args: never;
44981
45607
  Returns: string;
@@ -45030,6 +45656,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45030
45656
  };
45031
45657
  Returns: undefined;
45032
45658
  };
45659
+ logistics_plan_floriday_order: {
45660
+ Args: {
45661
+ p_buffer_id?: string;
45662
+ p_order_id: string;
45663
+ };
45664
+ Returns: number;
45665
+ };
45033
45666
  logistics_plan_impact_orders: {
45034
45667
  Args: {
45035
45668
  p_order_id: string;
@@ -45135,6 +45768,15 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45135
45768
  };
45136
45769
  Returns: import("../integrations/supabase/types").Json;
45137
45770
  };
45771
+ logistics_resolve_pick_document: {
45772
+ Args: {
45773
+ _is_herprint: boolean;
45774
+ _queue_item_id: string;
45775
+ _session_id: string;
45776
+ _voorbeeld: boolean;
45777
+ };
45778
+ Returns: import("../integrations/supabase/types").Json;
45779
+ };
45138
45780
  logistics_resolve_settings: {
45139
45781
  Args: {
45140
45782
  p_config_id: string;
@@ -45265,14 +45907,6 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45265
45907
  };
45266
45908
  Returns: string;
45267
45909
  };
45268
- maps_cron_token: {
45269
- Args: never;
45270
- Returns: string;
45271
- };
45272
- maps_kick_queue: {
45273
- Args: never;
45274
- Returns: undefined;
45275
- };
45276
45910
  mark_offer_clicked: {
45277
45911
  Args: {
45278
45912
  p_code: string;
@@ -45583,6 +46217,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45583
46217
  };
45584
46218
  pick_enqueue_print_job: {
45585
46219
  Args: {
46220
+ _is_herprint?: boolean;
45586
46221
  _printer_id?: string;
45587
46222
  _queue_item_id: string;
45588
46223
  _session_id?: string;
@@ -45596,6 +46231,13 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45596
46231
  };
45597
46232
  Returns: import("../integrations/supabase/types").Json;
45598
46233
  };
46234
+ pick_preview_job: {
46235
+ Args: {
46236
+ _queue_item_id: string;
46237
+ _station_slug: string;
46238
+ };
46239
+ Returns: import("../integrations/supabase/types").Json;
46240
+ };
45599
46241
  pick_print_job_status: {
45600
46242
  Args: {
45601
46243
  _job_id: string;
@@ -45773,6 +46415,24 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45773
46415
  };
45774
46416
  Returns: undefined;
45775
46417
  };
46418
+ print_preview_toestaan: {
46419
+ Args: {
46420
+ _max?: number;
46421
+ _queue_item_id: string;
46422
+ _station_slug: string;
46423
+ _venster_sec?: number;
46424
+ };
46425
+ Returns: import("../integrations/supabase/types").Json;
46426
+ };
46427
+ print_preview_weiger: {
46428
+ Args: {
46429
+ _code: string;
46430
+ _queue_item_id: string;
46431
+ _reden: string;
46432
+ _station_slug: string;
46433
+ };
46434
+ Returns: undefined;
46435
+ };
45776
46436
  process_logistics_event: {
45777
46437
  Args: {
45778
46438
  p_event_id: string;
@@ -45890,6 +46550,14 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45890
46550
  };
45891
46551
  Returns: undefined;
45892
46552
  };
46553
+ replace_order_carts: {
46554
+ Args: {
46555
+ p_buffer_id: string;
46556
+ p_carts: import("../integrations/supabase/types").Json;
46557
+ p_order_id: string;
46558
+ };
46559
+ Returns: import("../integrations/supabase/types").Json;
46560
+ };
45893
46561
  reset_floriday_sync_cursor: {
45894
46562
  Args: {
45895
46563
  p_connection_id: string;
@@ -45919,6 +46587,12 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
45919
46587
  };
45920
46588
  Returns: string;
45921
46589
  };
46590
+ resolve_print_job_printer_id: {
46591
+ Args: {
46592
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46593
+ };
46594
+ Returns: string;
46595
+ };
45922
46596
  resolve_product_id_for_item: {
45923
46597
  Args: {
45924
46598
  p_product_name: string;
@@ -46510,7 +47184,7 @@ export declare const resolveStockConsumptionAlert: import("@tanstack/start-clien
46510
47184
  };
46511
47185
  CompositeTypes: { [_ in never]: never; };
46512
47186
  }, {
46513
- PostgrestVersion: "14.17";
47187
+ PostgrestVersion: "14.5";
46514
47188
  }>;
46515
47189
  userId: string;
46516
47190
  claims: import("@supabase/auth-js").User;