@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
@@ -2851,6 +2851,84 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
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 getFlorydayCachedList: import("@tanstack/start-client-core"
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 getFlorydayCachedList: import("@tanstack/start-client-core"
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 getFlorydayCachedList: import("@tanstack/start-client-core"
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;
@@ -10814,6 +10883,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
10814
10883
  last_error: string | null;
10815
10884
  last_error_at: string | null;
10816
10885
  last_success_at: string | null;
10886
+ provider: string;
10817
10887
  updated_at: string;
10818
10888
  };
10819
10889
  Insert: {
@@ -10825,6 +10895,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
10825
10895
  last_error?: string | null;
10826
10896
  last_error_at?: string | null;
10827
10897
  last_success_at?: string | null;
10898
+ provider?: string;
10828
10899
  updated_at?: string;
10829
10900
  };
10830
10901
  Update: {
@@ -10836,6 +10907,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
10836
10907
  last_error?: string | null;
10837
10908
  last_error_at?: string | null;
10838
10909
  last_success_at?: string | null;
10910
+ provider?: string;
10839
10911
  updated_at?: string;
10840
10912
  };
10841
10913
  Relationships: [];
@@ -13573,6 +13645,39 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13573
13645
  };
13574
13646
  Relationships: [];
13575
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
+ };
13576
13681
  print_job_logs: {
13577
13682
  Row: {
13578
13683
  created_at: string;
@@ -13623,6 +13728,9 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13623
13728
  is_herprint: boolean;
13624
13729
  kopieen: number;
13625
13730
  layout_id: string | null;
13731
+ lokaal_opgeslagen_op: string | null;
13732
+ lokale_pdf_fout: string | null;
13733
+ lokale_pdf_status: string | null;
13626
13734
  opgepakt_op: string | null;
13627
13735
  paginas: number;
13628
13736
  payload: import("../integrations/supabase/types").Json;
@@ -13631,6 +13739,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13631
13739
  pogingen: number;
13632
13740
  printer_id: string | null;
13633
13741
  render_html: string | null;
13742
+ resultaat_pdf_base64: string | null;
13634
13743
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13635
13744
  updated_at: string;
13636
13745
  volgende_poging: string | null;
@@ -13655,6 +13764,9 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13655
13764
  is_herprint?: boolean;
13656
13765
  kopieen?: number;
13657
13766
  layout_id?: string | null;
13767
+ lokaal_opgeslagen_op?: string | null;
13768
+ lokale_pdf_fout?: string | null;
13769
+ lokale_pdf_status?: string | null;
13658
13770
  opgepakt_op?: string | null;
13659
13771
  paginas?: number;
13660
13772
  payload?: import("../integrations/supabase/types").Json;
@@ -13663,6 +13775,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13663
13775
  pogingen?: number;
13664
13776
  printer_id?: string | null;
13665
13777
  render_html?: string | null;
13778
+ resultaat_pdf_base64?: string | null;
13666
13779
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13667
13780
  updated_at?: string;
13668
13781
  volgende_poging?: string | null;
@@ -13687,6 +13800,9 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13687
13800
  is_herprint?: boolean;
13688
13801
  kopieen?: number;
13689
13802
  layout_id?: string | null;
13803
+ lokaal_opgeslagen_op?: string | null;
13804
+ lokale_pdf_fout?: string | null;
13805
+ lokale_pdf_status?: string | null;
13690
13806
  opgepakt_op?: string | null;
13691
13807
  paginas?: number;
13692
13808
  payload?: import("../integrations/supabase/types").Json;
@@ -13695,6 +13811,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13695
13811
  pogingen?: number;
13696
13812
  printer_id?: string | null;
13697
13813
  render_html?: string | null;
13814
+ resultaat_pdf_base64?: string | null;
13698
13815
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13699
13816
  updated_at?: string;
13700
13817
  volgende_poging?: string | null;
@@ -13813,6 +13930,39 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
13813
13930
  };
13814
13931
  Relationships: [];
13815
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
+ };
13816
13966
  print_queue_runners: {
13817
13967
  Row: {
13818
13968
  actief: boolean;
@@ -14052,6 +14202,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
14052
14202
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14053
14203
  online: boolean;
14054
14204
  papierformaat: string;
14205
+ pdf_map: string | null;
14055
14206
  poort: number | null;
14056
14207
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14057
14208
  systeemnaam: string;
@@ -14077,6 +14228,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
14077
14228
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14078
14229
  online?: boolean;
14079
14230
  papierformaat?: string;
14231
+ pdf_map?: string | null;
14080
14232
  poort?: number | null;
14081
14233
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14082
14234
  systeemnaam?: string;
@@ -14102,6 +14254,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
14102
14254
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14103
14255
  online?: boolean;
14104
14256
  papierformaat?: string;
14257
+ pdf_map?: string | null;
14105
14258
  poort?: number | null;
14106
14259
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14107
14260
  systeemnaam?: string;
@@ -20358,6 +20511,9 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
20358
20511
  is_herprint: boolean;
20359
20512
  kopieen: number;
20360
20513
  layout_id: string | null;
20514
+ lokaal_opgeslagen_op: string | null;
20515
+ lokale_pdf_fout: string | null;
20516
+ lokale_pdf_status: string | null;
20361
20517
  opgepakt_op: string | null;
20362
20518
  paginas: number;
20363
20519
  payload: import("../integrations/supabase/types").Json;
@@ -20366,6 +20522,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
20366
20522
  pogingen: number;
20367
20523
  printer_id: string | null;
20368
20524
  render_html: string | null;
20525
+ resultaat_pdf_base64: string | null;
20369
20526
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20370
20527
  updated_at: string;
20371
20528
  volgende_poging: string | null;
@@ -20457,6 +20614,53 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
20457
20614
  isSetofReturn: true;
20458
20615
  };
20459
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
+ };
20460
20664
  claim_print_jobs: {
20461
20665
  Args: {
20462
20666
  _agent_id: string;
@@ -20481,6 +20685,9 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
20481
20685
  is_herprint: boolean;
20482
20686
  kopieen: number;
20483
20687
  layout_id: string | null;
20688
+ lokaal_opgeslagen_op: string | null;
20689
+ lokale_pdf_fout: string | null;
20690
+ lokale_pdf_status: string | null;
20484
20691
  opgepakt_op: string | null;
20485
20692
  paginas: number;
20486
20693
  payload: import("../integrations/supabase/types").Json;
@@ -20489,6 +20696,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
20489
20696
  pogingen: number;
20490
20697
  printer_id: string | null;
20491
20698
  render_html: string | null;
20699
+ resultaat_pdf_base64: string | null;
20492
20700
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20493
20701
  updated_at: string;
20494
20702
  volgende_poging: string | null;
@@ -20629,6 +20837,8 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
20629
20837
  order_id: string;
20630
20838
  order_source: string;
20631
20839
  pick_date: string;
20840
+ printed_at: string;
20841
+ printed_today: boolean;
20632
20842
  status: string;
20633
20843
  }[];
20634
20844
  };
@@ -21337,6 +21547,10 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21337
21547
  };
21338
21548
  Returns: number;
21339
21549
  };
21550
+ logistics_cancel_orphan_tasks: {
21551
+ Args: never;
21552
+ Returns: number;
21553
+ };
21340
21554
  logistics_capacity_day_check: {
21341
21555
  Args: {
21342
21556
  p_from?: string;
@@ -21357,6 +21571,25 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21357
21571
  };
21358
21572
  Returns: number;
21359
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
+ };
21360
21593
  logistics_check_order_allowed: {
21361
21594
  Args: {
21362
21595
  p_lines: import("../integrations/supabase/types").Json;
@@ -21505,6 +21738,17 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21505
21738
  isSetofReturn: false;
21506
21739
  };
21507
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
+ };
21508
21752
  logistics_delay_customer_email: {
21509
21753
  Args: {
21510
21754
  p_customer: string;
@@ -21594,6 +21838,16 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21594
21838
  isSetofReturn: false;
21595
21839
  };
21596
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
+ };
21597
21851
  logistics_floriday_claim_pushes: {
21598
21852
  Args: {
21599
21853
  _lease_seconds?: number;
@@ -21698,6 +21952,25 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21698
21952
  };
21699
21953
  Returns: number;
21700
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
+ };
21701
21974
  logistics_order_pick_day: {
21702
21975
  Args: {
21703
21976
  p_order_ref: string;
@@ -21710,6 +21983,22 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21710
21983
  };
21711
21984
  Returns: string;
21712
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
+ };
21713
22002
  logistics_pick_email_purpose: {
21714
22003
  Args: never;
21715
22004
  Returns: string;
@@ -21764,6 +22053,13 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21764
22053
  };
21765
22054
  Returns: undefined;
21766
22055
  };
22056
+ logistics_plan_floriday_order: {
22057
+ Args: {
22058
+ p_buffer_id?: string;
22059
+ p_order_id: string;
22060
+ };
22061
+ Returns: number;
22062
+ };
21767
22063
  logistics_plan_impact_orders: {
21768
22064
  Args: {
21769
22065
  p_order_id: string;
@@ -21869,6 +22165,15 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21869
22165
  };
21870
22166
  Returns: import("../integrations/supabase/types").Json;
21871
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
+ };
21872
22177
  logistics_resolve_settings: {
21873
22178
  Args: {
21874
22179
  p_config_id: string;
@@ -21999,14 +22304,6 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
21999
22304
  };
22000
22305
  Returns: string;
22001
22306
  };
22002
- maps_cron_token: {
22003
- Args: never;
22004
- Returns: string;
22005
- };
22006
- maps_kick_queue: {
22007
- Args: never;
22008
- Returns: undefined;
22009
- };
22010
22307
  mark_offer_clicked: {
22011
22308
  Args: {
22012
22309
  p_code: string;
@@ -22317,6 +22614,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
22317
22614
  };
22318
22615
  pick_enqueue_print_job: {
22319
22616
  Args: {
22617
+ _is_herprint?: boolean;
22320
22618
  _printer_id?: string;
22321
22619
  _queue_item_id: string;
22322
22620
  _session_id?: string;
@@ -22330,6 +22628,13 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
22330
22628
  };
22331
22629
  Returns: import("../integrations/supabase/types").Json;
22332
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
+ };
22333
22638
  pick_print_job_status: {
22334
22639
  Args: {
22335
22640
  _job_id: string;
@@ -22507,6 +22812,24 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
22507
22812
  };
22508
22813
  Returns: undefined;
22509
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
+ };
22510
22833
  process_logistics_event: {
22511
22834
  Args: {
22512
22835
  p_event_id: string;
@@ -22624,6 +22947,14 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
22624
22947
  };
22625
22948
  Returns: undefined;
22626
22949
  };
22950
+ replace_order_carts: {
22951
+ Args: {
22952
+ p_buffer_id: string;
22953
+ p_carts: import("../integrations/supabase/types").Json;
22954
+ p_order_id: string;
22955
+ };
22956
+ Returns: import("../integrations/supabase/types").Json;
22957
+ };
22627
22958
  reset_floriday_sync_cursor: {
22628
22959
  Args: {
22629
22960
  p_connection_id: string;
@@ -22653,6 +22984,12 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
22653
22984
  };
22654
22985
  Returns: string;
22655
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
+ };
22656
22993
  resolve_product_id_for_item: {
22657
22994
  Args: {
22658
22995
  p_product_name: string;
@@ -23244,7 +23581,7 @@ export declare const getFlorydayCachedList: import("@tanstack/start-client-core"
23244
23581
  };
23245
23582
  CompositeTypes: { [_ in never]: never; };
23246
23583
  }, {
23247
- PostgrestVersion: "14.17";
23584
+ PostgrestVersion: "14.5";
23248
23585
  }>;
23249
23586
  userId: string;
23250
23587
  claims: import("@supabase/auth-js").User;
@@ -26112,6 +26449,84 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
26112
26449
  };
26113
26450
  Relationships: [];
26114
26451
  };
26452
+ delivery_notes: {
26453
+ Row: {
26454
+ byte_size: number | null;
26455
+ connection_id: string | null;
26456
+ content_type: string;
26457
+ created_at: string;
26458
+ error_message: string | null;
26459
+ fetched_at: string | null;
26460
+ fulfillment_order_id: string | null;
26461
+ http_status: number | null;
26462
+ id: string;
26463
+ label_code: string | null;
26464
+ letter: string | null;
26465
+ load_carrier_index: number | null;
26466
+ load_carrier_type: string | null;
26467
+ order_id: string | null;
26468
+ order_number: string | null;
26469
+ packages: number | null;
26470
+ source: string;
26471
+ status: string;
26472
+ storage_bucket: string;
26473
+ storage_path: string | null;
26474
+ updated_at: string;
26475
+ };
26476
+ Insert: {
26477
+ byte_size?: number | null;
26478
+ connection_id?: string | null;
26479
+ content_type?: string;
26480
+ created_at?: string;
26481
+ error_message?: string | null;
26482
+ fetched_at?: string | null;
26483
+ fulfillment_order_id?: string | null;
26484
+ http_status?: number | null;
26485
+ id?: string;
26486
+ label_code?: string | null;
26487
+ letter?: string | null;
26488
+ load_carrier_index?: number | null;
26489
+ load_carrier_type?: string | null;
26490
+ order_id?: string | null;
26491
+ order_number?: string | null;
26492
+ packages?: number | null;
26493
+ source?: string;
26494
+ status?: string;
26495
+ storage_bucket?: string;
26496
+ storage_path?: string | null;
26497
+ updated_at?: string;
26498
+ };
26499
+ Update: {
26500
+ byte_size?: number | null;
26501
+ connection_id?: string | null;
26502
+ content_type?: string;
26503
+ created_at?: string;
26504
+ error_message?: string | null;
26505
+ fetched_at?: string | null;
26506
+ fulfillment_order_id?: string | null;
26507
+ http_status?: number | null;
26508
+ id?: string;
26509
+ label_code?: string | null;
26510
+ letter?: string | null;
26511
+ load_carrier_index?: number | null;
26512
+ load_carrier_type?: string | null;
26513
+ order_id?: string | null;
26514
+ order_number?: string | null;
26515
+ packages?: number | null;
26516
+ source?: string;
26517
+ status?: string;
26518
+ storage_bucket?: string;
26519
+ storage_path?: string | null;
26520
+ updated_at?: string;
26521
+ };
26522
+ Relationships: [{
26523
+ foreignKeyName: "delivery_notes_order_id_fkey";
26524
+ columns: ["order_id"];
26525
+ isOneToOne: false;
26526
+ referencedRelation: "orders";
26527
+ referencedColumns: ["id"];
26528
+ }];
26529
+ };
26115
26530
  document_bronregels: {
26116
26531
  Row: {
26117
26532
  bron: string;
@@ -29165,10 +29580,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
29165
29580
  };
29166
29581
  floriday_connections: {
29167
29582
  Row: {
29168
- access_token: string | null;
29169
29583
  api_key: string;
29170
- client_id: string;
29171
- client_secret: string;
29172
29584
  created_at: string;
29173
29585
  customers_endpoint: string | null;
29174
29586
  environment: string;
@@ -29183,10 +29595,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
29183
29595
  updated_at: string;
29184
29596
  };
29185
29597
  Insert: {
29186
- access_token?: string | null;
29187
29598
  api_key: string;
29188
- client_id: string;
29189
- client_secret: string;
29190
29599
  created_at?: string;
29191
29600
  customers_endpoint?: string | null;
29192
29601
  environment: string;
@@ -29201,10 +29610,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
29201
29610
  updated_at?: string;
29202
29611
  };
29203
29612
  Update: {
29204
- access_token?: string | null;
29205
29613
  api_key?: string;
29206
- client_id?: string;
29207
- client_secret?: string;
29208
29614
  created_at?: string;
29209
29615
  customers_endpoint?: string | null;
29210
29616
  environment?: string;
@@ -34075,6 +34481,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
34075
34481
  last_error: string | null;
34076
34482
  last_error_at: string | null;
34077
34483
  last_success_at: string | null;
34484
+ provider: string;
34078
34485
  updated_at: string;
34079
34486
  };
34080
34487
  Insert: {
@@ -34086,6 +34493,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
34086
34493
  last_error?: string | null;
34087
34494
  last_error_at?: string | null;
34088
34495
  last_success_at?: string | null;
34496
+ provider?: string;
34089
34497
  updated_at?: string;
34090
34498
  };
34091
34499
  Update: {
@@ -34097,6 +34505,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
34097
34505
  last_error?: string | null;
34098
34506
  last_error_at?: string | null;
34099
34507
  last_success_at?: string | null;
34508
+ provider?: string;
34100
34509
  updated_at?: string;
34101
34510
  };
34102
34511
  Relationships: [];
@@ -36834,6 +37243,39 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36834
37243
  };
36835
37244
  Relationships: [];
36836
37245
  };
37246
+ print_dedupe_events: {
37247
+ Row: {
37248
+ bestaande_job_id: string | null;
37249
+ created_at: string;
37250
+ detail: string | null;
37251
+ documentnaam: string | null;
37252
+ documenttype: string | null;
37253
+ id: string;
37254
+ idempotentie_sleutel: string;
37255
+ reden: string;
37256
+ };
37257
+ Insert: {
37258
+ bestaande_job_id?: string | null;
37259
+ created_at?: string;
37260
+ detail?: string | null;
37261
+ documentnaam?: string | null;
37262
+ documenttype?: string | null;
37263
+ id?: string;
37264
+ idempotentie_sleutel: string;
37265
+ reden: string;
37266
+ };
37267
+ Update: {
37268
+ bestaande_job_id?: string | null;
37269
+ created_at?: string;
37270
+ detail?: string | null;
37271
+ documentnaam?: string | null;
37272
+ documenttype?: string | null;
37273
+ id?: string;
37274
+ idempotentie_sleutel?: string;
37275
+ reden?: string;
37276
+ };
37277
+ Relationships: [];
37278
+ };
36837
37279
  print_job_logs: {
36838
37280
  Row: {
36839
37281
  created_at: string;
@@ -36884,6 +37326,9 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36884
37326
  is_herprint: boolean;
36885
37327
  kopieen: number;
36886
37328
  layout_id: string | null;
37329
+ lokaal_opgeslagen_op: string | null;
37330
+ lokale_pdf_fout: string | null;
37331
+ lokale_pdf_status: string | null;
36887
37332
  opgepakt_op: string | null;
36888
37333
  paginas: number;
36889
37334
  payload: import("../integrations/supabase/types").Json;
@@ -36892,6 +37337,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36892
37337
  pogingen: number;
36893
37338
  printer_id: string | null;
36894
37339
  render_html: string | null;
37340
+ resultaat_pdf_base64: string | null;
36895
37341
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36896
37342
  updated_at: string;
36897
37343
  volgende_poging: string | null;
@@ -36916,6 +37362,9 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36916
37362
  is_herprint?: boolean;
36917
37363
  kopieen?: number;
36918
37364
  layout_id?: string | null;
37365
+ lokaal_opgeslagen_op?: string | null;
37366
+ lokale_pdf_fout?: string | null;
37367
+ lokale_pdf_status?: string | null;
36919
37368
  opgepakt_op?: string | null;
36920
37369
  paginas?: number;
36921
37370
  payload?: import("../integrations/supabase/types").Json;
@@ -36924,6 +37373,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36924
37373
  pogingen?: number;
36925
37374
  printer_id?: string | null;
36926
37375
  render_html?: string | null;
37376
+ resultaat_pdf_base64?: string | null;
36927
37377
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36928
37378
  updated_at?: string;
36929
37379
  volgende_poging?: string | null;
@@ -36948,6 +37398,9 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36948
37398
  is_herprint?: boolean;
36949
37399
  kopieen?: number;
36950
37400
  layout_id?: string | null;
37401
+ lokaal_opgeslagen_op?: string | null;
37402
+ lokale_pdf_fout?: string | null;
37403
+ lokale_pdf_status?: string | null;
36951
37404
  opgepakt_op?: string | null;
36952
37405
  paginas?: number;
36953
37406
  payload?: import("../integrations/supabase/types").Json;
@@ -36956,6 +37409,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
36956
37409
  pogingen?: number;
36957
37410
  printer_id?: string | null;
36958
37411
  render_html?: string | null;
37412
+ resultaat_pdf_base64?: string | null;
36959
37413
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36960
37414
  updated_at?: string;
36961
37415
  volgende_poging?: string | null;
@@ -37074,6 +37528,39 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
37074
37528
  };
37075
37529
  Relationships: [];
37076
37530
  };
37531
+ print_preview_events: {
37532
+ Row: {
37533
+ code: string | null;
37534
+ created_at: string;
37535
+ detail: import("../integrations/supabase/types").Json;
37536
+ id: string;
37537
+ queue_item_id: string | null;
37538
+ reden: string | null;
37539
+ station_slug: string | null;
37540
+ uitkomst: string;
37541
+ };
37542
+ Insert: {
37543
+ code?: string | null;
37544
+ created_at?: string;
37545
+ detail?: import("../integrations/supabase/types").Json;
37546
+ id?: string;
37547
+ queue_item_id?: string | null;
37548
+ reden?: string | null;
37549
+ station_slug?: string | null;
37550
+ uitkomst?: string;
37551
+ };
37552
+ Update: {
37553
+ code?: string | null;
37554
+ created_at?: string;
37555
+ detail?: import("../integrations/supabase/types").Json;
37556
+ id?: string;
37557
+ queue_item_id?: string | null;
37558
+ reden?: string | null;
37559
+ station_slug?: string | null;
37560
+ uitkomst?: string;
37561
+ };
37562
+ Relationships: [];
37563
+ };
37077
37564
  print_queue_runners: {
37078
37565
  Row: {
37079
37566
  actief: boolean;
@@ -37313,6 +37800,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
37313
37800
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37314
37801
  online: boolean;
37315
37802
  papierformaat: string;
37803
+ pdf_map: string | null;
37316
37804
  poort: number | null;
37317
37805
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37318
37806
  systeemnaam: string;
@@ -37338,6 +37826,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
37338
37826
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37339
37827
  online?: boolean;
37340
37828
  papierformaat?: string;
37829
+ pdf_map?: string | null;
37341
37830
  poort?: number | null;
37342
37831
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37343
37832
  systeemnaam?: string;
@@ -37363,6 +37852,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
37363
37852
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37364
37853
  online?: boolean;
37365
37854
  papierformaat?: string;
37855
+ pdf_map?: string | null;
37366
37856
  poort?: number | null;
37367
37857
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37368
37858
  systeemnaam?: string;
@@ -43619,6 +44109,9 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
43619
44109
  is_herprint: boolean;
43620
44110
  kopieen: number;
43621
44111
  layout_id: string | null;
44112
+ lokaal_opgeslagen_op: string | null;
44113
+ lokale_pdf_fout: string | null;
44114
+ lokale_pdf_status: string | null;
43622
44115
  opgepakt_op: string | null;
43623
44116
  paginas: number;
43624
44117
  payload: import("../integrations/supabase/types").Json;
@@ -43627,6 +44120,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
43627
44120
  pogingen: number;
43628
44121
  printer_id: string | null;
43629
44122
  render_html: string | null;
44123
+ resultaat_pdf_base64: string | null;
43630
44124
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43631
44125
  updated_at: string;
43632
44126
  volgende_poging: string | null;
@@ -43718,6 +44212,53 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
43718
44212
  isSetofReturn: true;
43719
44213
  };
43720
44214
  };
44215
+ claim_pdf_print_jobs: {
44216
+ Args: {
44217
+ _max?: number;
44218
+ };
44219
+ Returns: {
44220
+ agent_id: string | null;
44221
+ bron_job_id: string | null;
44222
+ created_at: string;
44223
+ documentnaam: string;
44224
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44225
+ extern_job_id: string | null;
44226
+ foutmelding: string | null;
44227
+ gebruiker_id: string | null;
44228
+ gebruiker_naam: string;
44229
+ gebruikte_bron: string | null;
44230
+ gebruikte_layout_id: string | null;
44231
+ gestart_op: string | null;
44232
+ herkomst: string | null;
44233
+ id: string;
44234
+ idempotentie_sleutel: string | null;
44235
+ is_herprint: boolean;
44236
+ kopieen: number;
44237
+ layout_id: string | null;
44238
+ lokaal_opgeslagen_op: string | null;
44239
+ lokale_pdf_fout: string | null;
44240
+ lokale_pdf_status: string | null;
44241
+ opgepakt_op: string | null;
44242
+ paginas: number;
44243
+ payload: import("../integrations/supabase/types").Json;
44244
+ pdf_base64: string | null;
44245
+ pdf_url: string | null;
44246
+ pogingen: number;
44247
+ printer_id: string | null;
44248
+ render_html: string | null;
44249
+ resultaat_pdf_base64: string | null;
44250
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44251
+ updated_at: string;
44252
+ volgende_poging: string | null;
44253
+ voltooid_op: string | null;
44254
+ }[];
44255
+ SetofOptions: {
44256
+ from: "*";
44257
+ to: "print_jobs";
44258
+ isOneToOne: false;
44259
+ isSetofReturn: true;
44260
+ };
44261
+ };
43721
44262
  claim_print_jobs: {
43722
44263
  Args: {
43723
44264
  _agent_id: string;
@@ -43742,6 +44283,9 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
43742
44283
  is_herprint: boolean;
43743
44284
  kopieen: number;
43744
44285
  layout_id: string | null;
44286
+ lokaal_opgeslagen_op: string | null;
44287
+ lokale_pdf_fout: string | null;
44288
+ lokale_pdf_status: string | null;
43745
44289
  opgepakt_op: string | null;
43746
44290
  paginas: number;
43747
44291
  payload: import("../integrations/supabase/types").Json;
@@ -43750,6 +44294,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
43750
44294
  pogingen: number;
43751
44295
  printer_id: string | null;
43752
44296
  render_html: string | null;
44297
+ resultaat_pdf_base64: string | null;
43753
44298
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43754
44299
  updated_at: string;
43755
44300
  volgende_poging: string | null;
@@ -43890,6 +44435,8 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
43890
44435
  order_id: string;
43891
44436
  order_source: string;
43892
44437
  pick_date: string;
44438
+ printed_at: string;
44439
+ printed_today: boolean;
43893
44440
  status: string;
43894
44441
  }[];
43895
44442
  };
@@ -44598,6 +45145,10 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
44598
45145
  };
44599
45146
  Returns: number;
44600
45147
  };
45148
+ logistics_cancel_orphan_tasks: {
45149
+ Args: never;
45150
+ Returns: number;
45151
+ };
44601
45152
  logistics_capacity_day_check: {
44602
45153
  Args: {
44603
45154
  p_from?: string;
@@ -44618,6 +45169,25 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
44618
45169
  };
44619
45170
  Returns: number;
44620
45171
  };
45172
+ logistics_cart_index: {
45173
+ Args: {
45174
+ p_from?: string;
45175
+ p_to?: string;
45176
+ };
45177
+ Returns: {
45178
+ cart_id: string;
45179
+ cart_index: number;
45180
+ cart_label: string;
45181
+ is_shared: boolean;
45182
+ order_number: string;
45183
+ order_source: string;
45184
+ order_uuid: string;
45185
+ pick_date: string;
45186
+ printed_at: string;
45187
+ shifted: boolean;
45188
+ task_status: string;
45189
+ }[];
45190
+ };
44621
45191
  logistics_check_order_allowed: {
44622
45192
  Args: {
44623
45193
  p_lines: import("../integrations/supabase/types").Json;
@@ -44766,6 +45336,17 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
44766
45336
  isSetofReturn: false;
44767
45337
  };
44768
45338
  };
45339
+ logistics_consistency_check: {
45340
+ Args: never;
45341
+ Returns: {
45342
+ agenda_carts: number;
45343
+ control_carts: number;
45344
+ ok: boolean;
45345
+ orphan_tasks: number;
45346
+ pick_date: string;
45347
+ raw_carts: number;
45348
+ }[];
45349
+ };
44769
45350
  logistics_delay_customer_email: {
44770
45351
  Args: {
44771
45352
  p_customer: string;
@@ -44855,6 +45436,16 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
44855
45436
  isSetofReturn: false;
44856
45437
  };
44857
45438
  };
45439
+ logistics_floriday_cart_plan: {
45440
+ Args: {
45441
+ p_order_id: string;
45442
+ };
45443
+ Returns: {
45444
+ carrier_type: string;
45445
+ idx: number;
45446
+ packages: number;
45447
+ }[];
45448
+ };
44858
45449
  logistics_floriday_claim_pushes: {
44859
45450
  Args: {
44860
45451
  _lease_seconds?: number;
@@ -44959,6 +45550,25 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
44959
45550
  };
44960
45551
  Returns: number;
44961
45552
  };
45553
+ logistics_order_overview: {
45554
+ Args: {
45555
+ p_from?: string;
45556
+ p_to?: string;
45557
+ };
45558
+ Returns: {
45559
+ cart_count: number;
45560
+ customer_name: string;
45561
+ delivery_date: string;
45562
+ order_number: string;
45563
+ order_source: string;
45564
+ order_uuid: string;
45565
+ pick_date: string;
45566
+ plant_count: number;
45567
+ printed_at: string;
45568
+ shifted: boolean;
45569
+ status: string;
45570
+ }[];
45571
+ };
44962
45572
  logistics_order_pick_day: {
44963
45573
  Args: {
44964
45574
  p_order_ref: string;
@@ -44971,6 +45581,22 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
44971
45581
  };
44972
45582
  Returns: string;
44973
45583
  };
45584
+ logistics_pick_agenda: {
45585
+ Args: {
45586
+ p_from?: string;
45587
+ p_to?: string;
45588
+ };
45589
+ Returns: {
45590
+ cart_count: number;
45591
+ in_preparation: number;
45592
+ order_count: number;
45593
+ orders: import("../integrations/supabase/types").Json;
45594
+ pick_date: string;
45595
+ plant_count: number;
45596
+ ready: number;
45597
+ shifted_count: number;
45598
+ }[];
45599
+ };
44974
45600
  logistics_pick_email_purpose: {
44975
45601
  Args: never;
44976
45602
  Returns: string;
@@ -45025,6 +45651,13 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45025
45651
  };
45026
45652
  Returns: undefined;
45027
45653
  };
45654
+ logistics_plan_floriday_order: {
45655
+ Args: {
45656
+ p_buffer_id?: string;
45657
+ p_order_id: string;
45658
+ };
45659
+ Returns: number;
45660
+ };
45028
45661
  logistics_plan_impact_orders: {
45029
45662
  Args: {
45030
45663
  p_order_id: string;
@@ -45130,6 +45763,15 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45130
45763
  };
45131
45764
  Returns: import("../integrations/supabase/types").Json;
45132
45765
  };
45766
+ logistics_resolve_pick_document: {
45767
+ Args: {
45768
+ _is_herprint: boolean;
45769
+ _queue_item_id: string;
45770
+ _session_id: string;
45771
+ _voorbeeld: boolean;
45772
+ };
45773
+ Returns: import("../integrations/supabase/types").Json;
45774
+ };
45133
45775
  logistics_resolve_settings: {
45134
45776
  Args: {
45135
45777
  p_config_id: string;
@@ -45260,14 +45902,6 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45260
45902
  };
45261
45903
  Returns: string;
45262
45904
  };
45263
- maps_cron_token: {
45264
- Args: never;
45265
- Returns: string;
45266
- };
45267
- maps_kick_queue: {
45268
- Args: never;
45269
- Returns: undefined;
45270
- };
45271
45905
  mark_offer_clicked: {
45272
45906
  Args: {
45273
45907
  p_code: string;
@@ -45578,6 +46212,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45578
46212
  };
45579
46213
  pick_enqueue_print_job: {
45580
46214
  Args: {
46215
+ _is_herprint?: boolean;
45581
46216
  _printer_id?: string;
45582
46217
  _queue_item_id: string;
45583
46218
  _session_id?: string;
@@ -45591,6 +46226,13 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45591
46226
  };
45592
46227
  Returns: import("../integrations/supabase/types").Json;
45593
46228
  };
46229
+ pick_preview_job: {
46230
+ Args: {
46231
+ _queue_item_id: string;
46232
+ _station_slug: string;
46233
+ };
46234
+ Returns: import("../integrations/supabase/types").Json;
46235
+ };
45594
46236
  pick_print_job_status: {
45595
46237
  Args: {
45596
46238
  _job_id: string;
@@ -45768,6 +46410,24 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45768
46410
  };
45769
46411
  Returns: undefined;
45770
46412
  };
46413
+ print_preview_toestaan: {
46414
+ Args: {
46415
+ _max?: number;
46416
+ _queue_item_id: string;
46417
+ _station_slug: string;
46418
+ _venster_sec?: number;
46419
+ };
46420
+ Returns: import("../integrations/supabase/types").Json;
46421
+ };
46422
+ print_preview_weiger: {
46423
+ Args: {
46424
+ _code: string;
46425
+ _queue_item_id: string;
46426
+ _reden: string;
46427
+ _station_slug: string;
46428
+ };
46429
+ Returns: undefined;
46430
+ };
45771
46431
  process_logistics_event: {
45772
46432
  Args: {
45773
46433
  p_event_id: string;
@@ -45885,6 +46545,14 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45885
46545
  };
45886
46546
  Returns: undefined;
45887
46547
  };
46548
+ replace_order_carts: {
46549
+ Args: {
46550
+ p_buffer_id: string;
46551
+ p_carts: import("../integrations/supabase/types").Json;
46552
+ p_order_id: string;
46553
+ };
46554
+ Returns: import("../integrations/supabase/types").Json;
46555
+ };
45888
46556
  reset_floriday_sync_cursor: {
45889
46557
  Args: {
45890
46558
  p_connection_id: string;
@@ -45914,6 +46582,12 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
45914
46582
  };
45915
46583
  Returns: string;
45916
46584
  };
46585
+ resolve_print_job_printer_id: {
46586
+ Args: {
46587
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46588
+ };
46589
+ Returns: string;
46590
+ };
45917
46591
  resolve_product_id_for_item: {
45918
46592
  Args: {
45919
46593
  p_product_name: string;
@@ -46505,7 +47179,7 @@ export declare const getFlorydayCodeList: import("@tanstack/start-client-core").
46505
47179
  };
46506
47180
  CompositeTypes: { [_ in never]: never; };
46507
47181
  }, {
46508
- PostgrestVersion: "14.17";
47182
+ PostgrestVersion: "14.5";
46509
47183
  }>;
46510
47184
  userId: string;
46511
47185
  claims: import("@supabase/auth-js").User;
@@ -49369,6 +50043,84 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
49369
50043
  };
49370
50044
  Relationships: [];
49371
50045
  };
50046
+ delivery_notes: {
50047
+ Row: {
50048
+ byte_size: number | null;
50049
+ connection_id: string | null;
50050
+ content_type: string;
50051
+ created_at: string;
50052
+ error_message: string | null;
50053
+ fetched_at: string | null;
50054
+ fulfillment_order_id: string | null;
50055
+ http_status: number | null;
50056
+ id: string;
50057
+ label_code: string | null;
50058
+ letter: string | null;
50059
+ load_carrier_index: number | null;
50060
+ load_carrier_type: string | null;
50061
+ order_id: string | null;
50062
+ order_number: string | null;
50063
+ packages: number | null;
50064
+ source: string;
50065
+ status: string;
50066
+ storage_bucket: string;
50067
+ storage_path: string | null;
50068
+ updated_at: string;
50069
+ };
50070
+ Insert: {
50071
+ byte_size?: number | null;
50072
+ connection_id?: string | null;
50073
+ content_type?: string;
50074
+ created_at?: string;
50075
+ error_message?: string | null;
50076
+ fetched_at?: string | null;
50077
+ fulfillment_order_id?: string | null;
50078
+ http_status?: number | null;
50079
+ id?: string;
50080
+ label_code?: string | null;
50081
+ letter?: string | null;
50082
+ load_carrier_index?: number | null;
50083
+ load_carrier_type?: string | null;
50084
+ order_id?: string | null;
50085
+ order_number?: string | null;
50086
+ packages?: number | null;
50087
+ source?: string;
50088
+ status?: string;
50089
+ storage_bucket?: string;
50090
+ storage_path?: string | null;
50091
+ updated_at?: string;
50092
+ };
50093
+ Update: {
50094
+ byte_size?: number | null;
50095
+ connection_id?: string | null;
50096
+ content_type?: string;
50097
+ created_at?: string;
50098
+ error_message?: string | null;
50099
+ fetched_at?: string | null;
50100
+ fulfillment_order_id?: string | null;
50101
+ http_status?: number | null;
50102
+ id?: string;
50103
+ label_code?: string | null;
50104
+ letter?: string | null;
50105
+ load_carrier_index?: number | null;
50106
+ load_carrier_type?: string | null;
50107
+ order_id?: string | null;
50108
+ order_number?: string | null;
50109
+ packages?: number | null;
50110
+ source?: string;
50111
+ status?: string;
50112
+ storage_bucket?: string;
50113
+ storage_path?: string | null;
50114
+ updated_at?: string;
50115
+ };
50116
+ Relationships: [{
50117
+ foreignKeyName: "delivery_notes_order_id_fkey";
50118
+ columns: ["order_id"];
50119
+ isOneToOne: false;
50120
+ referencedRelation: "orders";
50121
+ referencedColumns: ["id"];
50122
+ }];
50123
+ };
49372
50124
  document_bronregels: {
49373
50125
  Row: {
49374
50126
  bron: string;
@@ -52422,10 +53174,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
52422
53174
  };
52423
53175
  floriday_connections: {
52424
53176
  Row: {
52425
- access_token: string | null;
52426
53177
  api_key: string;
52427
- client_id: string;
52428
- client_secret: string;
52429
53178
  created_at: string;
52430
53179
  customers_endpoint: string | null;
52431
53180
  environment: string;
@@ -52440,10 +53189,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
52440
53189
  updated_at: string;
52441
53190
  };
52442
53191
  Insert: {
52443
- access_token?: string | null;
52444
53192
  api_key: string;
52445
- client_id: string;
52446
- client_secret: string;
52447
53193
  created_at?: string;
52448
53194
  customers_endpoint?: string | null;
52449
53195
  environment: string;
@@ -52458,10 +53204,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
52458
53204
  updated_at?: string;
52459
53205
  };
52460
53206
  Update: {
52461
- access_token?: string | null;
52462
53207
  api_key?: string;
52463
- client_id?: string;
52464
- client_secret?: string;
52465
53208
  created_at?: string;
52466
53209
  customers_endpoint?: string | null;
52467
53210
  environment?: string;
@@ -57332,6 +58075,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
57332
58075
  last_error: string | null;
57333
58076
  last_error_at: string | null;
57334
58077
  last_success_at: string | null;
58078
+ provider: string;
57335
58079
  updated_at: string;
57336
58080
  };
57337
58081
  Insert: {
@@ -57343,6 +58087,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
57343
58087
  last_error?: string | null;
57344
58088
  last_error_at?: string | null;
57345
58089
  last_success_at?: string | null;
58090
+ provider?: string;
57346
58091
  updated_at?: string;
57347
58092
  };
57348
58093
  Update: {
@@ -57354,6 +58099,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
57354
58099
  last_error?: string | null;
57355
58100
  last_error_at?: string | null;
57356
58101
  last_success_at?: string | null;
58102
+ provider?: string;
57357
58103
  updated_at?: string;
57358
58104
  };
57359
58105
  Relationships: [];
@@ -60091,6 +60837,39 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60091
60837
  };
60092
60838
  Relationships: [];
60093
60839
  };
60840
+ print_dedupe_events: {
60841
+ Row: {
60842
+ bestaande_job_id: string | null;
60843
+ created_at: string;
60844
+ detail: string | null;
60845
+ documentnaam: string | null;
60846
+ documenttype: string | null;
60847
+ id: string;
60848
+ idempotentie_sleutel: string;
60849
+ reden: string;
60850
+ };
60851
+ Insert: {
60852
+ bestaande_job_id?: string | null;
60853
+ created_at?: string;
60854
+ detail?: string | null;
60855
+ documentnaam?: string | null;
60856
+ documenttype?: string | null;
60857
+ id?: string;
60858
+ idempotentie_sleutel: string;
60859
+ reden: string;
60860
+ };
60861
+ Update: {
60862
+ bestaande_job_id?: string | null;
60863
+ created_at?: string;
60864
+ detail?: string | null;
60865
+ documentnaam?: string | null;
60866
+ documenttype?: string | null;
60867
+ id?: string;
60868
+ idempotentie_sleutel?: string;
60869
+ reden?: string;
60870
+ };
60871
+ Relationships: [];
60872
+ };
60094
60873
  print_job_logs: {
60095
60874
  Row: {
60096
60875
  created_at: string;
@@ -60141,6 +60920,9 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60141
60920
  is_herprint: boolean;
60142
60921
  kopieen: number;
60143
60922
  layout_id: string | null;
60923
+ lokaal_opgeslagen_op: string | null;
60924
+ lokale_pdf_fout: string | null;
60925
+ lokale_pdf_status: string | null;
60144
60926
  opgepakt_op: string | null;
60145
60927
  paginas: number;
60146
60928
  payload: import("../integrations/supabase/types").Json;
@@ -60149,6 +60931,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60149
60931
  pogingen: number;
60150
60932
  printer_id: string | null;
60151
60933
  render_html: string | null;
60934
+ resultaat_pdf_base64: string | null;
60152
60935
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60153
60936
  updated_at: string;
60154
60937
  volgende_poging: string | null;
@@ -60173,6 +60956,9 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60173
60956
  is_herprint?: boolean;
60174
60957
  kopieen?: number;
60175
60958
  layout_id?: string | null;
60959
+ lokaal_opgeslagen_op?: string | null;
60960
+ lokale_pdf_fout?: string | null;
60961
+ lokale_pdf_status?: string | null;
60176
60962
  opgepakt_op?: string | null;
60177
60963
  paginas?: number;
60178
60964
  payload?: import("../integrations/supabase/types").Json;
@@ -60181,6 +60967,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60181
60967
  pogingen?: number;
60182
60968
  printer_id?: string | null;
60183
60969
  render_html?: string | null;
60970
+ resultaat_pdf_base64?: string | null;
60184
60971
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60185
60972
  updated_at?: string;
60186
60973
  volgende_poging?: string | null;
@@ -60205,6 +60992,9 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60205
60992
  is_herprint?: boolean;
60206
60993
  kopieen?: number;
60207
60994
  layout_id?: string | null;
60995
+ lokaal_opgeslagen_op?: string | null;
60996
+ lokale_pdf_fout?: string | null;
60997
+ lokale_pdf_status?: string | null;
60208
60998
  opgepakt_op?: string | null;
60209
60999
  paginas?: number;
60210
61000
  payload?: import("../integrations/supabase/types").Json;
@@ -60213,6 +61003,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60213
61003
  pogingen?: number;
60214
61004
  printer_id?: string | null;
60215
61005
  render_html?: string | null;
61006
+ resultaat_pdf_base64?: string | null;
60216
61007
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
60217
61008
  updated_at?: string;
60218
61009
  volgende_poging?: string | null;
@@ -60331,6 +61122,39 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60331
61122
  };
60332
61123
  Relationships: [];
60333
61124
  };
61125
+ print_preview_events: {
61126
+ Row: {
61127
+ code: string | null;
61128
+ created_at: string;
61129
+ detail: import("../integrations/supabase/types").Json;
61130
+ id: string;
61131
+ queue_item_id: string | null;
61132
+ reden: string | null;
61133
+ station_slug: string | null;
61134
+ uitkomst: string;
61135
+ };
61136
+ Insert: {
61137
+ code?: string | null;
61138
+ created_at?: string;
61139
+ detail?: import("../integrations/supabase/types").Json;
61140
+ id?: string;
61141
+ queue_item_id?: string | null;
61142
+ reden?: string | null;
61143
+ station_slug?: string | null;
61144
+ uitkomst?: string;
61145
+ };
61146
+ Update: {
61147
+ code?: string | null;
61148
+ created_at?: string;
61149
+ detail?: import("../integrations/supabase/types").Json;
61150
+ id?: string;
61151
+ queue_item_id?: string | null;
61152
+ reden?: string | null;
61153
+ station_slug?: string | null;
61154
+ uitkomst?: string;
61155
+ };
61156
+ Relationships: [];
61157
+ };
60334
61158
  print_queue_runners: {
60335
61159
  Row: {
60336
61160
  actief: boolean;
@@ -60570,6 +61394,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60570
61394
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
60571
61395
  online: boolean;
60572
61396
  papierformaat: string;
61397
+ pdf_map: string | null;
60573
61398
  poort: number | null;
60574
61399
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60575
61400
  systeemnaam: string;
@@ -60595,6 +61420,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60595
61420
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60596
61421
  online?: boolean;
60597
61422
  papierformaat?: string;
61423
+ pdf_map?: string | null;
60598
61424
  poort?: number | null;
60599
61425
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60600
61426
  systeemnaam?: string;
@@ -60620,6 +61446,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
60620
61446
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
60621
61447
  online?: boolean;
60622
61448
  papierformaat?: string;
61449
+ pdf_map?: string | null;
60623
61450
  poort?: number | null;
60624
61451
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
60625
61452
  systeemnaam?: string;
@@ -66876,6 +67703,9 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
66876
67703
  is_herprint: boolean;
66877
67704
  kopieen: number;
66878
67705
  layout_id: string | null;
67706
+ lokaal_opgeslagen_op: string | null;
67707
+ lokale_pdf_fout: string | null;
67708
+ lokale_pdf_status: string | null;
66879
67709
  opgepakt_op: string | null;
66880
67710
  paginas: number;
66881
67711
  payload: import("../integrations/supabase/types").Json;
@@ -66884,6 +67714,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
66884
67714
  pogingen: number;
66885
67715
  printer_id: string | null;
66886
67716
  render_html: string | null;
67717
+ resultaat_pdf_base64: string | null;
66887
67718
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
66888
67719
  updated_at: string;
66889
67720
  volgende_poging: string | null;
@@ -66975,6 +67806,53 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
66975
67806
  isSetofReturn: true;
66976
67807
  };
66977
67808
  };
67809
+ claim_pdf_print_jobs: {
67810
+ Args: {
67811
+ _max?: number;
67812
+ };
67813
+ Returns: {
67814
+ agent_id: string | null;
67815
+ bron_job_id: string | null;
67816
+ created_at: string;
67817
+ documentnaam: string;
67818
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
67819
+ extern_job_id: string | null;
67820
+ foutmelding: string | null;
67821
+ gebruiker_id: string | null;
67822
+ gebruiker_naam: string;
67823
+ gebruikte_bron: string | null;
67824
+ gebruikte_layout_id: string | null;
67825
+ gestart_op: string | null;
67826
+ herkomst: string | null;
67827
+ id: string;
67828
+ idempotentie_sleutel: string | null;
67829
+ is_herprint: boolean;
67830
+ kopieen: number;
67831
+ layout_id: string | null;
67832
+ lokaal_opgeslagen_op: string | null;
67833
+ lokale_pdf_fout: string | null;
67834
+ lokale_pdf_status: string | null;
67835
+ opgepakt_op: string | null;
67836
+ paginas: number;
67837
+ payload: import("../integrations/supabase/types").Json;
67838
+ pdf_base64: string | null;
67839
+ pdf_url: string | null;
67840
+ pogingen: number;
67841
+ printer_id: string | null;
67842
+ render_html: string | null;
67843
+ resultaat_pdf_base64: string | null;
67844
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67845
+ updated_at: string;
67846
+ volgende_poging: string | null;
67847
+ voltooid_op: string | null;
67848
+ }[];
67849
+ SetofOptions: {
67850
+ from: "*";
67851
+ to: "print_jobs";
67852
+ isOneToOne: false;
67853
+ isSetofReturn: true;
67854
+ };
67855
+ };
66978
67856
  claim_print_jobs: {
66979
67857
  Args: {
66980
67858
  _agent_id: string;
@@ -66999,6 +67877,9 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
66999
67877
  is_herprint: boolean;
67000
67878
  kopieen: number;
67001
67879
  layout_id: string | null;
67880
+ lokaal_opgeslagen_op: string | null;
67881
+ lokale_pdf_fout: string | null;
67882
+ lokale_pdf_status: string | null;
67002
67883
  opgepakt_op: string | null;
67003
67884
  paginas: number;
67004
67885
  payload: import("../integrations/supabase/types").Json;
@@ -67007,6 +67888,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
67007
67888
  pogingen: number;
67008
67889
  printer_id: string | null;
67009
67890
  render_html: string | null;
67891
+ resultaat_pdf_base64: string | null;
67010
67892
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
67011
67893
  updated_at: string;
67012
67894
  volgende_poging: string | null;
@@ -67147,6 +68029,8 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
67147
68029
  order_id: string;
67148
68030
  order_source: string;
67149
68031
  pick_date: string;
68032
+ printed_at: string;
68033
+ printed_today: boolean;
67150
68034
  status: string;
67151
68035
  }[];
67152
68036
  };
@@ -67855,6 +68739,10 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
67855
68739
  };
67856
68740
  Returns: number;
67857
68741
  };
68742
+ logistics_cancel_orphan_tasks: {
68743
+ Args: never;
68744
+ Returns: number;
68745
+ };
67858
68746
  logistics_capacity_day_check: {
67859
68747
  Args: {
67860
68748
  p_from?: string;
@@ -67875,6 +68763,25 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
67875
68763
  };
67876
68764
  Returns: number;
67877
68765
  };
68766
+ logistics_cart_index: {
68767
+ Args: {
68768
+ p_from?: string;
68769
+ p_to?: string;
68770
+ };
68771
+ Returns: {
68772
+ cart_id: string;
68773
+ cart_index: number;
68774
+ cart_label: string;
68775
+ is_shared: boolean;
68776
+ order_number: string;
68777
+ order_source: string;
68778
+ order_uuid: string;
68779
+ pick_date: string;
68780
+ printed_at: string;
68781
+ shifted: boolean;
68782
+ task_status: string;
68783
+ }[];
68784
+ };
67878
68785
  logistics_check_order_allowed: {
67879
68786
  Args: {
67880
68787
  p_lines: import("../integrations/supabase/types").Json;
@@ -68023,6 +68930,17 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68023
68930
  isSetofReturn: false;
68024
68931
  };
68025
68932
  };
68933
+ logistics_consistency_check: {
68934
+ Args: never;
68935
+ Returns: {
68936
+ agenda_carts: number;
68937
+ control_carts: number;
68938
+ ok: boolean;
68939
+ orphan_tasks: number;
68940
+ pick_date: string;
68941
+ raw_carts: number;
68942
+ }[];
68943
+ };
68026
68944
  logistics_delay_customer_email: {
68027
68945
  Args: {
68028
68946
  p_customer: string;
@@ -68112,6 +69030,16 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68112
69030
  isSetofReturn: false;
68113
69031
  };
68114
69032
  };
69033
+ logistics_floriday_cart_plan: {
69034
+ Args: {
69035
+ p_order_id: string;
69036
+ };
69037
+ Returns: {
69038
+ carrier_type: string;
69039
+ idx: number;
69040
+ packages: number;
69041
+ }[];
69042
+ };
68115
69043
  logistics_floriday_claim_pushes: {
68116
69044
  Args: {
68117
69045
  _lease_seconds?: number;
@@ -68216,6 +69144,25 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68216
69144
  };
68217
69145
  Returns: number;
68218
69146
  };
69147
+ logistics_order_overview: {
69148
+ Args: {
69149
+ p_from?: string;
69150
+ p_to?: string;
69151
+ };
69152
+ Returns: {
69153
+ cart_count: number;
69154
+ customer_name: string;
69155
+ delivery_date: string;
69156
+ order_number: string;
69157
+ order_source: string;
69158
+ order_uuid: string;
69159
+ pick_date: string;
69160
+ plant_count: number;
69161
+ printed_at: string;
69162
+ shifted: boolean;
69163
+ status: string;
69164
+ }[];
69165
+ };
68219
69166
  logistics_order_pick_day: {
68220
69167
  Args: {
68221
69168
  p_order_ref: string;
@@ -68228,6 +69175,22 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68228
69175
  };
68229
69176
  Returns: string;
68230
69177
  };
69178
+ logistics_pick_agenda: {
69179
+ Args: {
69180
+ p_from?: string;
69181
+ p_to?: string;
69182
+ };
69183
+ Returns: {
69184
+ cart_count: number;
69185
+ in_preparation: number;
69186
+ order_count: number;
69187
+ orders: import("../integrations/supabase/types").Json;
69188
+ pick_date: string;
69189
+ plant_count: number;
69190
+ ready: number;
69191
+ shifted_count: number;
69192
+ }[];
69193
+ };
68231
69194
  logistics_pick_email_purpose: {
68232
69195
  Args: never;
68233
69196
  Returns: string;
@@ -68282,6 +69245,13 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68282
69245
  };
68283
69246
  Returns: undefined;
68284
69247
  };
69248
+ logistics_plan_floriday_order: {
69249
+ Args: {
69250
+ p_buffer_id?: string;
69251
+ p_order_id: string;
69252
+ };
69253
+ Returns: number;
69254
+ };
68285
69255
  logistics_plan_impact_orders: {
68286
69256
  Args: {
68287
69257
  p_order_id: string;
@@ -68387,6 +69357,15 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68387
69357
  };
68388
69358
  Returns: import("../integrations/supabase/types").Json;
68389
69359
  };
69360
+ logistics_resolve_pick_document: {
69361
+ Args: {
69362
+ _is_herprint: boolean;
69363
+ _queue_item_id: string;
69364
+ _session_id: string;
69365
+ _voorbeeld: boolean;
69366
+ };
69367
+ Returns: import("../integrations/supabase/types").Json;
69368
+ };
68390
69369
  logistics_resolve_settings: {
68391
69370
  Args: {
68392
69371
  p_config_id: string;
@@ -68517,14 +69496,6 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68517
69496
  };
68518
69497
  Returns: string;
68519
69498
  };
68520
- maps_cron_token: {
68521
- Args: never;
68522
- Returns: string;
68523
- };
68524
- maps_kick_queue: {
68525
- Args: never;
68526
- Returns: undefined;
68527
- };
68528
69499
  mark_offer_clicked: {
68529
69500
  Args: {
68530
69501
  p_code: string;
@@ -68835,6 +69806,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68835
69806
  };
68836
69807
  pick_enqueue_print_job: {
68837
69808
  Args: {
69809
+ _is_herprint?: boolean;
68838
69810
  _printer_id?: string;
68839
69811
  _queue_item_id: string;
68840
69812
  _session_id?: string;
@@ -68848,6 +69820,13 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
68848
69820
  };
68849
69821
  Returns: import("../integrations/supabase/types").Json;
68850
69822
  };
69823
+ pick_preview_job: {
69824
+ Args: {
69825
+ _queue_item_id: string;
69826
+ _station_slug: string;
69827
+ };
69828
+ Returns: import("../integrations/supabase/types").Json;
69829
+ };
68851
69830
  pick_print_job_status: {
68852
69831
  Args: {
68853
69832
  _job_id: string;
@@ -69025,6 +70004,24 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
69025
70004
  };
69026
70005
  Returns: undefined;
69027
70006
  };
70007
+ print_preview_toestaan: {
70008
+ Args: {
70009
+ _max?: number;
70010
+ _queue_item_id: string;
70011
+ _station_slug: string;
70012
+ _venster_sec?: number;
70013
+ };
70014
+ Returns: import("../integrations/supabase/types").Json;
70015
+ };
70016
+ print_preview_weiger: {
70017
+ Args: {
70018
+ _code: string;
70019
+ _queue_item_id: string;
70020
+ _reden: string;
70021
+ _station_slug: string;
70022
+ };
70023
+ Returns: undefined;
70024
+ };
69028
70025
  process_logistics_event: {
69029
70026
  Args: {
69030
70027
  p_event_id: string;
@@ -69142,6 +70139,14 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
69142
70139
  };
69143
70140
  Returns: undefined;
69144
70141
  };
70142
+ replace_order_carts: {
70143
+ Args: {
70144
+ p_buffer_id: string;
70145
+ p_carts: import("../integrations/supabase/types").Json;
70146
+ p_order_id: string;
70147
+ };
70148
+ Returns: import("../integrations/supabase/types").Json;
70149
+ };
69145
70150
  reset_floriday_sync_cursor: {
69146
70151
  Args: {
69147
70152
  p_connection_id: string;
@@ -69171,6 +70176,12 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
69171
70176
  };
69172
70177
  Returns: string;
69173
70178
  };
70179
+ resolve_print_job_printer_id: {
70180
+ Args: {
70181
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
70182
+ };
70183
+ Returns: string;
70184
+ };
69174
70185
  resolve_product_id_for_item: {
69175
70186
  Args: {
69176
70187
  p_product_name: string;
@@ -69762,7 +70773,7 @@ export declare const getFlorydayAllowedValues: import("@tanstack/start-client-co
69762
70773
  };
69763
70774
  CompositeTypes: { [_ in never]: never; };
69764
70775
  }, {
69765
- PostgrestVersion: "14.17";
70776
+ PostgrestVersion: "14.5";
69766
70777
  }>;
69767
70778
  userId: string;
69768
70779
  claims: import("@supabase/auth-js").User;
@@ -72626,6 +73637,84 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
72626
73637
  };
72627
73638
  Relationships: [];
72628
73639
  };
73640
+ delivery_notes: {
73641
+ Row: {
73642
+ byte_size: number | null;
73643
+ connection_id: string | null;
73644
+ content_type: string;
73645
+ created_at: string;
73646
+ error_message: string | null;
73647
+ fetched_at: string | null;
73648
+ fulfillment_order_id: string | null;
73649
+ http_status: number | null;
73650
+ id: string;
73651
+ label_code: string | null;
73652
+ letter: string | null;
73653
+ load_carrier_index: number | null;
73654
+ load_carrier_type: string | null;
73655
+ order_id: string | null;
73656
+ order_number: string | null;
73657
+ packages: number | null;
73658
+ source: string;
73659
+ status: string;
73660
+ storage_bucket: string;
73661
+ storage_path: string | null;
73662
+ updated_at: string;
73663
+ };
73664
+ Insert: {
73665
+ byte_size?: number | null;
73666
+ connection_id?: string | null;
73667
+ content_type?: string;
73668
+ created_at?: string;
73669
+ error_message?: string | null;
73670
+ fetched_at?: string | null;
73671
+ fulfillment_order_id?: string | null;
73672
+ http_status?: number | null;
73673
+ id?: string;
73674
+ label_code?: string | null;
73675
+ letter?: string | null;
73676
+ load_carrier_index?: number | null;
73677
+ load_carrier_type?: string | null;
73678
+ order_id?: string | null;
73679
+ order_number?: string | null;
73680
+ packages?: number | null;
73681
+ source?: string;
73682
+ status?: string;
73683
+ storage_bucket?: string;
73684
+ storage_path?: string | null;
73685
+ updated_at?: string;
73686
+ };
73687
+ Update: {
73688
+ byte_size?: number | null;
73689
+ connection_id?: string | null;
73690
+ content_type?: string;
73691
+ created_at?: string;
73692
+ error_message?: string | null;
73693
+ fetched_at?: string | null;
73694
+ fulfillment_order_id?: string | null;
73695
+ http_status?: number | null;
73696
+ id?: string;
73697
+ label_code?: string | null;
73698
+ letter?: string | null;
73699
+ load_carrier_index?: number | null;
73700
+ load_carrier_type?: string | null;
73701
+ order_id?: string | null;
73702
+ order_number?: string | null;
73703
+ packages?: number | null;
73704
+ source?: string;
73705
+ status?: string;
73706
+ storage_bucket?: string;
73707
+ storage_path?: string | null;
73708
+ updated_at?: string;
73709
+ };
73710
+ Relationships: [{
73711
+ foreignKeyName: "delivery_notes_order_id_fkey";
73712
+ columns: ["order_id"];
73713
+ isOneToOne: false;
73714
+ referencedRelation: "orders";
73715
+ referencedColumns: ["id"];
73716
+ }];
73717
+ };
72629
73718
  document_bronregels: {
72630
73719
  Row: {
72631
73720
  bron: string;
@@ -75679,10 +76768,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
75679
76768
  };
75680
76769
  floriday_connections: {
75681
76770
  Row: {
75682
- access_token: string | null;
75683
76771
  api_key: string;
75684
- client_id: string;
75685
- client_secret: string;
75686
76772
  created_at: string;
75687
76773
  customers_endpoint: string | null;
75688
76774
  environment: string;
@@ -75697,10 +76783,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
75697
76783
  updated_at: string;
75698
76784
  };
75699
76785
  Insert: {
75700
- access_token?: string | null;
75701
76786
  api_key: string;
75702
- client_id: string;
75703
- client_secret: string;
75704
76787
  created_at?: string;
75705
76788
  customers_endpoint?: string | null;
75706
76789
  environment: string;
@@ -75715,10 +76798,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
75715
76798
  updated_at?: string;
75716
76799
  };
75717
76800
  Update: {
75718
- access_token?: string | null;
75719
76801
  api_key?: string;
75720
- client_id?: string;
75721
- client_secret?: string;
75722
76802
  created_at?: string;
75723
76803
  customers_endpoint?: string | null;
75724
76804
  environment?: string;
@@ -80589,6 +81669,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
80589
81669
  last_error: string | null;
80590
81670
  last_error_at: string | null;
80591
81671
  last_success_at: string | null;
81672
+ provider: string;
80592
81673
  updated_at: string;
80593
81674
  };
80594
81675
  Insert: {
@@ -80600,6 +81681,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
80600
81681
  last_error?: string | null;
80601
81682
  last_error_at?: string | null;
80602
81683
  last_success_at?: string | null;
81684
+ provider?: string;
80603
81685
  updated_at?: string;
80604
81686
  };
80605
81687
  Update: {
@@ -80611,6 +81693,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
80611
81693
  last_error?: string | null;
80612
81694
  last_error_at?: string | null;
80613
81695
  last_success_at?: string | null;
81696
+ provider?: string;
80614
81697
  updated_at?: string;
80615
81698
  };
80616
81699
  Relationships: [];
@@ -83348,6 +84431,39 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83348
84431
  };
83349
84432
  Relationships: [];
83350
84433
  };
84434
+ print_dedupe_events: {
84435
+ Row: {
84436
+ bestaande_job_id: string | null;
84437
+ created_at: string;
84438
+ detail: string | null;
84439
+ documentnaam: string | null;
84440
+ documenttype: string | null;
84441
+ id: string;
84442
+ idempotentie_sleutel: string;
84443
+ reden: string;
84444
+ };
84445
+ Insert: {
84446
+ bestaande_job_id?: string | null;
84447
+ created_at?: string;
84448
+ detail?: string | null;
84449
+ documentnaam?: string | null;
84450
+ documenttype?: string | null;
84451
+ id?: string;
84452
+ idempotentie_sleutel: string;
84453
+ reden: string;
84454
+ };
84455
+ Update: {
84456
+ bestaande_job_id?: string | null;
84457
+ created_at?: string;
84458
+ detail?: string | null;
84459
+ documentnaam?: string | null;
84460
+ documenttype?: string | null;
84461
+ id?: string;
84462
+ idempotentie_sleutel?: string;
84463
+ reden?: string;
84464
+ };
84465
+ Relationships: [];
84466
+ };
83351
84467
  print_job_logs: {
83352
84468
  Row: {
83353
84469
  created_at: string;
@@ -83398,6 +84514,9 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83398
84514
  is_herprint: boolean;
83399
84515
  kopieen: number;
83400
84516
  layout_id: string | null;
84517
+ lokaal_opgeslagen_op: string | null;
84518
+ lokale_pdf_fout: string | null;
84519
+ lokale_pdf_status: string | null;
83401
84520
  opgepakt_op: string | null;
83402
84521
  paginas: number;
83403
84522
  payload: import("../integrations/supabase/types").Json;
@@ -83406,6 +84525,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83406
84525
  pogingen: number;
83407
84526
  printer_id: string | null;
83408
84527
  render_html: string | null;
84528
+ resultaat_pdf_base64: string | null;
83409
84529
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83410
84530
  updated_at: string;
83411
84531
  volgende_poging: string | null;
@@ -83430,6 +84550,9 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83430
84550
  is_herprint?: boolean;
83431
84551
  kopieen?: number;
83432
84552
  layout_id?: string | null;
84553
+ lokaal_opgeslagen_op?: string | null;
84554
+ lokale_pdf_fout?: string | null;
84555
+ lokale_pdf_status?: string | null;
83433
84556
  opgepakt_op?: string | null;
83434
84557
  paginas?: number;
83435
84558
  payload?: import("../integrations/supabase/types").Json;
@@ -83438,6 +84561,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83438
84561
  pogingen?: number;
83439
84562
  printer_id?: string | null;
83440
84563
  render_html?: string | null;
84564
+ resultaat_pdf_base64?: string | null;
83441
84565
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83442
84566
  updated_at?: string;
83443
84567
  volgende_poging?: string | null;
@@ -83462,6 +84586,9 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83462
84586
  is_herprint?: boolean;
83463
84587
  kopieen?: number;
83464
84588
  layout_id?: string | null;
84589
+ lokaal_opgeslagen_op?: string | null;
84590
+ lokale_pdf_fout?: string | null;
84591
+ lokale_pdf_status?: string | null;
83465
84592
  opgepakt_op?: string | null;
83466
84593
  paginas?: number;
83467
84594
  payload?: import("../integrations/supabase/types").Json;
@@ -83470,6 +84597,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83470
84597
  pogingen?: number;
83471
84598
  printer_id?: string | null;
83472
84599
  render_html?: string | null;
84600
+ resultaat_pdf_base64?: string | null;
83473
84601
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
83474
84602
  updated_at?: string;
83475
84603
  volgende_poging?: string | null;
@@ -83588,6 +84716,39 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83588
84716
  };
83589
84717
  Relationships: [];
83590
84718
  };
84719
+ print_preview_events: {
84720
+ Row: {
84721
+ code: string | null;
84722
+ created_at: string;
84723
+ detail: import("../integrations/supabase/types").Json;
84724
+ id: string;
84725
+ queue_item_id: string | null;
84726
+ reden: string | null;
84727
+ station_slug: string | null;
84728
+ uitkomst: string;
84729
+ };
84730
+ Insert: {
84731
+ code?: string | null;
84732
+ created_at?: string;
84733
+ detail?: import("../integrations/supabase/types").Json;
84734
+ id?: string;
84735
+ queue_item_id?: string | null;
84736
+ reden?: string | null;
84737
+ station_slug?: string | null;
84738
+ uitkomst?: string;
84739
+ };
84740
+ Update: {
84741
+ code?: string | null;
84742
+ created_at?: string;
84743
+ detail?: import("../integrations/supabase/types").Json;
84744
+ id?: string;
84745
+ queue_item_id?: string | null;
84746
+ reden?: string | null;
84747
+ station_slug?: string | null;
84748
+ uitkomst?: string;
84749
+ };
84750
+ Relationships: [];
84751
+ };
83591
84752
  print_queue_runners: {
83592
84753
  Row: {
83593
84754
  actief: boolean;
@@ -83827,6 +84988,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83827
84988
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
83828
84989
  online: boolean;
83829
84990
  papierformaat: string;
84991
+ pdf_map: string | null;
83830
84992
  poort: number | null;
83831
84993
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
83832
84994
  systeemnaam: string;
@@ -83852,6 +85014,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83852
85014
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
83853
85015
  online?: boolean;
83854
85016
  papierformaat?: string;
85017
+ pdf_map?: string | null;
83855
85018
  poort?: number | null;
83856
85019
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
83857
85020
  systeemnaam?: string;
@@ -83877,6 +85040,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
83877
85040
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
83878
85041
  online?: boolean;
83879
85042
  papierformaat?: string;
85043
+ pdf_map?: string | null;
83880
85044
  poort?: number | null;
83881
85045
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
83882
85046
  systeemnaam?: string;
@@ -90133,6 +91297,9 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
90133
91297
  is_herprint: boolean;
90134
91298
  kopieen: number;
90135
91299
  layout_id: string | null;
91300
+ lokaal_opgeslagen_op: string | null;
91301
+ lokale_pdf_fout: string | null;
91302
+ lokale_pdf_status: string | null;
90136
91303
  opgepakt_op: string | null;
90137
91304
  paginas: number;
90138
91305
  payload: import("../integrations/supabase/types").Json;
@@ -90141,6 +91308,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
90141
91308
  pogingen: number;
90142
91309
  printer_id: string | null;
90143
91310
  render_html: string | null;
91311
+ resultaat_pdf_base64: string | null;
90144
91312
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
90145
91313
  updated_at: string;
90146
91314
  volgende_poging: string | null;
@@ -90232,6 +91400,53 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
90232
91400
  isSetofReturn: true;
90233
91401
  };
90234
91402
  };
91403
+ claim_pdf_print_jobs: {
91404
+ Args: {
91405
+ _max?: number;
91406
+ };
91407
+ Returns: {
91408
+ agent_id: string | null;
91409
+ bron_job_id: string | null;
91410
+ created_at: string;
91411
+ documentnaam: string;
91412
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
91413
+ extern_job_id: string | null;
91414
+ foutmelding: string | null;
91415
+ gebruiker_id: string | null;
91416
+ gebruiker_naam: string;
91417
+ gebruikte_bron: string | null;
91418
+ gebruikte_layout_id: string | null;
91419
+ gestart_op: string | null;
91420
+ herkomst: string | null;
91421
+ id: string;
91422
+ idempotentie_sleutel: string | null;
91423
+ is_herprint: boolean;
91424
+ kopieen: number;
91425
+ layout_id: string | null;
91426
+ lokaal_opgeslagen_op: string | null;
91427
+ lokale_pdf_fout: string | null;
91428
+ lokale_pdf_status: string | null;
91429
+ opgepakt_op: string | null;
91430
+ paginas: number;
91431
+ payload: import("../integrations/supabase/types").Json;
91432
+ pdf_base64: string | null;
91433
+ pdf_url: string | null;
91434
+ pogingen: number;
91435
+ printer_id: string | null;
91436
+ render_html: string | null;
91437
+ resultaat_pdf_base64: string | null;
91438
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
91439
+ updated_at: string;
91440
+ volgende_poging: string | null;
91441
+ voltooid_op: string | null;
91442
+ }[];
91443
+ SetofOptions: {
91444
+ from: "*";
91445
+ to: "print_jobs";
91446
+ isOneToOne: false;
91447
+ isSetofReturn: true;
91448
+ };
91449
+ };
90235
91450
  claim_print_jobs: {
90236
91451
  Args: {
90237
91452
  _agent_id: string;
@@ -90256,6 +91471,9 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
90256
91471
  is_herprint: boolean;
90257
91472
  kopieen: number;
90258
91473
  layout_id: string | null;
91474
+ lokaal_opgeslagen_op: string | null;
91475
+ lokale_pdf_fout: string | null;
91476
+ lokale_pdf_status: string | null;
90259
91477
  opgepakt_op: string | null;
90260
91478
  paginas: number;
90261
91479
  payload: import("../integrations/supabase/types").Json;
@@ -90264,6 +91482,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
90264
91482
  pogingen: number;
90265
91483
  printer_id: string | null;
90266
91484
  render_html: string | null;
91485
+ resultaat_pdf_base64: string | null;
90267
91486
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
90268
91487
  updated_at: string;
90269
91488
  volgende_poging: string | null;
@@ -90404,6 +91623,8 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
90404
91623
  order_id: string;
90405
91624
  order_source: string;
90406
91625
  pick_date: string;
91626
+ printed_at: string;
91627
+ printed_today: boolean;
90407
91628
  status: string;
90408
91629
  }[];
90409
91630
  };
@@ -91112,6 +92333,10 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91112
92333
  };
91113
92334
  Returns: number;
91114
92335
  };
92336
+ logistics_cancel_orphan_tasks: {
92337
+ Args: never;
92338
+ Returns: number;
92339
+ };
91115
92340
  logistics_capacity_day_check: {
91116
92341
  Args: {
91117
92342
  p_from?: string;
@@ -91132,6 +92357,25 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91132
92357
  };
91133
92358
  Returns: number;
91134
92359
  };
92360
+ logistics_cart_index: {
92361
+ Args: {
92362
+ p_from?: string;
92363
+ p_to?: string;
92364
+ };
92365
+ Returns: {
92366
+ cart_id: string;
92367
+ cart_index: number;
92368
+ cart_label: string;
92369
+ is_shared: boolean;
92370
+ order_number: string;
92371
+ order_source: string;
92372
+ order_uuid: string;
92373
+ pick_date: string;
92374
+ printed_at: string;
92375
+ shifted: boolean;
92376
+ task_status: string;
92377
+ }[];
92378
+ };
91135
92379
  logistics_check_order_allowed: {
91136
92380
  Args: {
91137
92381
  p_lines: import("../integrations/supabase/types").Json;
@@ -91280,6 +92524,17 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91280
92524
  isSetofReturn: false;
91281
92525
  };
91282
92526
  };
92527
+ logistics_consistency_check: {
92528
+ Args: never;
92529
+ Returns: {
92530
+ agenda_carts: number;
92531
+ control_carts: number;
92532
+ ok: boolean;
92533
+ orphan_tasks: number;
92534
+ pick_date: string;
92535
+ raw_carts: number;
92536
+ }[];
92537
+ };
91283
92538
  logistics_delay_customer_email: {
91284
92539
  Args: {
91285
92540
  p_customer: string;
@@ -91369,6 +92624,16 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91369
92624
  isSetofReturn: false;
91370
92625
  };
91371
92626
  };
92627
+ logistics_floriday_cart_plan: {
92628
+ Args: {
92629
+ p_order_id: string;
92630
+ };
92631
+ Returns: {
92632
+ carrier_type: string;
92633
+ idx: number;
92634
+ packages: number;
92635
+ }[];
92636
+ };
91372
92637
  logistics_floriday_claim_pushes: {
91373
92638
  Args: {
91374
92639
  _lease_seconds?: number;
@@ -91473,6 +92738,25 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91473
92738
  };
91474
92739
  Returns: number;
91475
92740
  };
92741
+ logistics_order_overview: {
92742
+ Args: {
92743
+ p_from?: string;
92744
+ p_to?: string;
92745
+ };
92746
+ Returns: {
92747
+ cart_count: number;
92748
+ customer_name: string;
92749
+ delivery_date: string;
92750
+ order_number: string;
92751
+ order_source: string;
92752
+ order_uuid: string;
92753
+ pick_date: string;
92754
+ plant_count: number;
92755
+ printed_at: string;
92756
+ shifted: boolean;
92757
+ status: string;
92758
+ }[];
92759
+ };
91476
92760
  logistics_order_pick_day: {
91477
92761
  Args: {
91478
92762
  p_order_ref: string;
@@ -91485,6 +92769,22 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91485
92769
  };
91486
92770
  Returns: string;
91487
92771
  };
92772
+ logistics_pick_agenda: {
92773
+ Args: {
92774
+ p_from?: string;
92775
+ p_to?: string;
92776
+ };
92777
+ Returns: {
92778
+ cart_count: number;
92779
+ in_preparation: number;
92780
+ order_count: number;
92781
+ orders: import("../integrations/supabase/types").Json;
92782
+ pick_date: string;
92783
+ plant_count: number;
92784
+ ready: number;
92785
+ shifted_count: number;
92786
+ }[];
92787
+ };
91488
92788
  logistics_pick_email_purpose: {
91489
92789
  Args: never;
91490
92790
  Returns: string;
@@ -91539,6 +92839,13 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91539
92839
  };
91540
92840
  Returns: undefined;
91541
92841
  };
92842
+ logistics_plan_floriday_order: {
92843
+ Args: {
92844
+ p_buffer_id?: string;
92845
+ p_order_id: string;
92846
+ };
92847
+ Returns: number;
92848
+ };
91542
92849
  logistics_plan_impact_orders: {
91543
92850
  Args: {
91544
92851
  p_order_id: string;
@@ -91644,6 +92951,15 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91644
92951
  };
91645
92952
  Returns: import("../integrations/supabase/types").Json;
91646
92953
  };
92954
+ logistics_resolve_pick_document: {
92955
+ Args: {
92956
+ _is_herprint: boolean;
92957
+ _queue_item_id: string;
92958
+ _session_id: string;
92959
+ _voorbeeld: boolean;
92960
+ };
92961
+ Returns: import("../integrations/supabase/types").Json;
92962
+ };
91647
92963
  logistics_resolve_settings: {
91648
92964
  Args: {
91649
92965
  p_config_id: string;
@@ -91774,14 +93090,6 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
91774
93090
  };
91775
93091
  Returns: string;
91776
93092
  };
91777
- maps_cron_token: {
91778
- Args: never;
91779
- Returns: string;
91780
- };
91781
- maps_kick_queue: {
91782
- Args: never;
91783
- Returns: undefined;
91784
- };
91785
93093
  mark_offer_clicked: {
91786
93094
  Args: {
91787
93095
  p_code: string;
@@ -92092,6 +93400,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
92092
93400
  };
92093
93401
  pick_enqueue_print_job: {
92094
93402
  Args: {
93403
+ _is_herprint?: boolean;
92095
93404
  _printer_id?: string;
92096
93405
  _queue_item_id: string;
92097
93406
  _session_id?: string;
@@ -92105,6 +93414,13 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
92105
93414
  };
92106
93415
  Returns: import("../integrations/supabase/types").Json;
92107
93416
  };
93417
+ pick_preview_job: {
93418
+ Args: {
93419
+ _queue_item_id: string;
93420
+ _station_slug: string;
93421
+ };
93422
+ Returns: import("../integrations/supabase/types").Json;
93423
+ };
92108
93424
  pick_print_job_status: {
92109
93425
  Args: {
92110
93426
  _job_id: string;
@@ -92282,6 +93598,24 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
92282
93598
  };
92283
93599
  Returns: undefined;
92284
93600
  };
93601
+ print_preview_toestaan: {
93602
+ Args: {
93603
+ _max?: number;
93604
+ _queue_item_id: string;
93605
+ _station_slug: string;
93606
+ _venster_sec?: number;
93607
+ };
93608
+ Returns: import("../integrations/supabase/types").Json;
93609
+ };
93610
+ print_preview_weiger: {
93611
+ Args: {
93612
+ _code: string;
93613
+ _queue_item_id: string;
93614
+ _reden: string;
93615
+ _station_slug: string;
93616
+ };
93617
+ Returns: undefined;
93618
+ };
92285
93619
  process_logistics_event: {
92286
93620
  Args: {
92287
93621
  p_event_id: string;
@@ -92399,6 +93733,14 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
92399
93733
  };
92400
93734
  Returns: undefined;
92401
93735
  };
93736
+ replace_order_carts: {
93737
+ Args: {
93738
+ p_buffer_id: string;
93739
+ p_carts: import("../integrations/supabase/types").Json;
93740
+ p_order_id: string;
93741
+ };
93742
+ Returns: import("../integrations/supabase/types").Json;
93743
+ };
92402
93744
  reset_floriday_sync_cursor: {
92403
93745
  Args: {
92404
93746
  p_connection_id: string;
@@ -92428,6 +93770,12 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
92428
93770
  };
92429
93771
  Returns: string;
92430
93772
  };
93773
+ resolve_print_job_printer_id: {
93774
+ Args: {
93775
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
93776
+ };
93777
+ Returns: string;
93778
+ };
92431
93779
  resolve_product_id_for_item: {
92432
93780
  Args: {
92433
93781
  p_product_name: string;
@@ -93019,7 +94367,7 @@ export declare const assertFlorydayValue: import("@tanstack/start-client-core").
93019
94367
  };
93020
94368
  CompositeTypes: { [_ in never]: never; };
93021
94369
  }, {
93022
- PostgrestVersion: "14.17";
94370
+ PostgrestVersion: "14.5";
93023
94371
  }>;
93024
94372
  userId: string;
93025
94373
  claims: import("@supabase/auth-js").User;
@@ -95893,6 +97241,84 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
95893
97241
  };
95894
97242
  Relationships: [];
95895
97243
  };
97244
+ delivery_notes: {
97245
+ Row: {
97246
+ byte_size: number | null;
97247
+ connection_id: string | null;
97248
+ content_type: string;
97249
+ created_at: string;
97250
+ error_message: string | null;
97251
+ fetched_at: string | null;
97252
+ fulfillment_order_id: string | null;
97253
+ http_status: number | null;
97254
+ id: string;
97255
+ label_code: string | null;
97256
+ letter: string | null;
97257
+ load_carrier_index: number | null;
97258
+ load_carrier_type: string | null;
97259
+ order_id: string | null;
97260
+ order_number: string | null;
97261
+ packages: number | null;
97262
+ source: string;
97263
+ status: string;
97264
+ storage_bucket: string;
97265
+ storage_path: string | null;
97266
+ updated_at: string;
97267
+ };
97268
+ Insert: {
97269
+ byte_size?: number | null;
97270
+ connection_id?: string | null;
97271
+ content_type?: string;
97272
+ created_at?: string;
97273
+ error_message?: string | null;
97274
+ fetched_at?: string | null;
97275
+ fulfillment_order_id?: string | null;
97276
+ http_status?: number | null;
97277
+ id?: string;
97278
+ label_code?: string | null;
97279
+ letter?: string | null;
97280
+ load_carrier_index?: number | null;
97281
+ load_carrier_type?: string | null;
97282
+ order_id?: string | null;
97283
+ order_number?: string | null;
97284
+ packages?: number | null;
97285
+ source?: string;
97286
+ status?: string;
97287
+ storage_bucket?: string;
97288
+ storage_path?: string | null;
97289
+ updated_at?: string;
97290
+ };
97291
+ Update: {
97292
+ byte_size?: number | null;
97293
+ connection_id?: string | null;
97294
+ content_type?: string;
97295
+ created_at?: string;
97296
+ error_message?: string | null;
97297
+ fetched_at?: string | null;
97298
+ fulfillment_order_id?: string | null;
97299
+ http_status?: number | null;
97300
+ id?: string;
97301
+ label_code?: string | null;
97302
+ letter?: string | null;
97303
+ load_carrier_index?: number | null;
97304
+ load_carrier_type?: string | null;
97305
+ order_id?: string | null;
97306
+ order_number?: string | null;
97307
+ packages?: number | null;
97308
+ source?: string;
97309
+ status?: string;
97310
+ storage_bucket?: string;
97311
+ storage_path?: string | null;
97312
+ updated_at?: string;
97313
+ };
97314
+ Relationships: [{
97315
+ foreignKeyName: "delivery_notes_order_id_fkey";
97316
+ columns: ["order_id"];
97317
+ isOneToOne: false;
97318
+ referencedRelation: "orders";
97319
+ referencedColumns: ["id"];
97320
+ }];
97321
+ };
95896
97322
  document_bronregels: {
95897
97323
  Row: {
95898
97324
  bron: string;
@@ -98946,10 +100372,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
98946
100372
  };
98947
100373
  floriday_connections: {
98948
100374
  Row: {
98949
- access_token: string | null;
98950
100375
  api_key: string;
98951
- client_id: string;
98952
- client_secret: string;
98953
100376
  created_at: string;
98954
100377
  customers_endpoint: string | null;
98955
100378
  environment: string;
@@ -98964,10 +100387,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
98964
100387
  updated_at: string;
98965
100388
  };
98966
100389
  Insert: {
98967
- access_token?: string | null;
98968
100390
  api_key: string;
98969
- client_id: string;
98970
- client_secret: string;
98971
100391
  created_at?: string;
98972
100392
  customers_endpoint?: string | null;
98973
100393
  environment: string;
@@ -98982,10 +100402,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
98982
100402
  updated_at?: string;
98983
100403
  };
98984
100404
  Update: {
98985
- access_token?: string | null;
98986
100405
  api_key?: string;
98987
- client_id?: string;
98988
- client_secret?: string;
98989
100406
  created_at?: string;
98990
100407
  customers_endpoint?: string | null;
98991
100408
  environment?: string;
@@ -103856,6 +105273,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
103856
105273
  last_error: string | null;
103857
105274
  last_error_at: string | null;
103858
105275
  last_success_at: string | null;
105276
+ provider: string;
103859
105277
  updated_at: string;
103860
105278
  };
103861
105279
  Insert: {
@@ -103867,6 +105285,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
103867
105285
  last_error?: string | null;
103868
105286
  last_error_at?: string | null;
103869
105287
  last_success_at?: string | null;
105288
+ provider?: string;
103870
105289
  updated_at?: string;
103871
105290
  };
103872
105291
  Update: {
@@ -103878,6 +105297,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
103878
105297
  last_error?: string | null;
103879
105298
  last_error_at?: string | null;
103880
105299
  last_success_at?: string | null;
105300
+ provider?: string;
103881
105301
  updated_at?: string;
103882
105302
  };
103883
105303
  Relationships: [];
@@ -106615,6 +108035,39 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106615
108035
  };
106616
108036
  Relationships: [];
106617
108037
  };
108038
+ print_dedupe_events: {
108039
+ Row: {
108040
+ bestaande_job_id: string | null;
108041
+ created_at: string;
108042
+ detail: string | null;
108043
+ documentnaam: string | null;
108044
+ documenttype: string | null;
108045
+ id: string;
108046
+ idempotentie_sleutel: string;
108047
+ reden: string;
108048
+ };
108049
+ Insert: {
108050
+ bestaande_job_id?: string | null;
108051
+ created_at?: string;
108052
+ detail?: string | null;
108053
+ documentnaam?: string | null;
108054
+ documenttype?: string | null;
108055
+ id?: string;
108056
+ idempotentie_sleutel: string;
108057
+ reden: string;
108058
+ };
108059
+ Update: {
108060
+ bestaande_job_id?: string | null;
108061
+ created_at?: string;
108062
+ detail?: string | null;
108063
+ documentnaam?: string | null;
108064
+ documenttype?: string | null;
108065
+ id?: string;
108066
+ idempotentie_sleutel?: string;
108067
+ reden?: string;
108068
+ };
108069
+ Relationships: [];
108070
+ };
106618
108071
  print_job_logs: {
106619
108072
  Row: {
106620
108073
  created_at: string;
@@ -106665,6 +108118,9 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106665
108118
  is_herprint: boolean;
106666
108119
  kopieen: number;
106667
108120
  layout_id: string | null;
108121
+ lokaal_opgeslagen_op: string | null;
108122
+ lokale_pdf_fout: string | null;
108123
+ lokale_pdf_status: string | null;
106668
108124
  opgepakt_op: string | null;
106669
108125
  paginas: number;
106670
108126
  payload: import("../integrations/supabase/types").Json;
@@ -106673,6 +108129,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106673
108129
  pogingen: number;
106674
108130
  printer_id: string | null;
106675
108131
  render_html: string | null;
108132
+ resultaat_pdf_base64: string | null;
106676
108133
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
106677
108134
  updated_at: string;
106678
108135
  volgende_poging: string | null;
@@ -106697,6 +108154,9 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106697
108154
  is_herprint?: boolean;
106698
108155
  kopieen?: number;
106699
108156
  layout_id?: string | null;
108157
+ lokaal_opgeslagen_op?: string | null;
108158
+ lokale_pdf_fout?: string | null;
108159
+ lokale_pdf_status?: string | null;
106700
108160
  opgepakt_op?: string | null;
106701
108161
  paginas?: number;
106702
108162
  payload?: import("../integrations/supabase/types").Json;
@@ -106705,6 +108165,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106705
108165
  pogingen?: number;
106706
108166
  printer_id?: string | null;
106707
108167
  render_html?: string | null;
108168
+ resultaat_pdf_base64?: string | null;
106708
108169
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
106709
108170
  updated_at?: string;
106710
108171
  volgende_poging?: string | null;
@@ -106729,6 +108190,9 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106729
108190
  is_herprint?: boolean;
106730
108191
  kopieen?: number;
106731
108192
  layout_id?: string | null;
108193
+ lokaal_opgeslagen_op?: string | null;
108194
+ lokale_pdf_fout?: string | null;
108195
+ lokale_pdf_status?: string | null;
106732
108196
  opgepakt_op?: string | null;
106733
108197
  paginas?: number;
106734
108198
  payload?: import("../integrations/supabase/types").Json;
@@ -106737,6 +108201,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106737
108201
  pogingen?: number;
106738
108202
  printer_id?: string | null;
106739
108203
  render_html?: string | null;
108204
+ resultaat_pdf_base64?: string | null;
106740
108205
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
106741
108206
  updated_at?: string;
106742
108207
  volgende_poging?: string | null;
@@ -106855,6 +108320,39 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
106855
108320
  };
106856
108321
  Relationships: [];
106857
108322
  };
108323
+ print_preview_events: {
108324
+ Row: {
108325
+ code: string | null;
108326
+ created_at: string;
108327
+ detail: import("../integrations/supabase/types").Json;
108328
+ id: string;
108329
+ queue_item_id: string | null;
108330
+ reden: string | null;
108331
+ station_slug: string | null;
108332
+ uitkomst: string;
108333
+ };
108334
+ Insert: {
108335
+ code?: string | null;
108336
+ created_at?: string;
108337
+ detail?: import("../integrations/supabase/types").Json;
108338
+ id?: string;
108339
+ queue_item_id?: string | null;
108340
+ reden?: string | null;
108341
+ station_slug?: string | null;
108342
+ uitkomst?: string;
108343
+ };
108344
+ Update: {
108345
+ code?: string | null;
108346
+ created_at?: string;
108347
+ detail?: import("../integrations/supabase/types").Json;
108348
+ id?: string;
108349
+ queue_item_id?: string | null;
108350
+ reden?: string | null;
108351
+ station_slug?: string | null;
108352
+ uitkomst?: string;
108353
+ };
108354
+ Relationships: [];
108355
+ };
106858
108356
  print_queue_runners: {
106859
108357
  Row: {
106860
108358
  actief: boolean;
@@ -107094,6 +108592,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
107094
108592
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
107095
108593
  online: boolean;
107096
108594
  papierformaat: string;
108595
+ pdf_map: string | null;
107097
108596
  poort: number | null;
107098
108597
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
107099
108598
  systeemnaam: string;
@@ -107119,6 +108618,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
107119
108618
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
107120
108619
  online?: boolean;
107121
108620
  papierformaat?: string;
108621
+ pdf_map?: string | null;
107122
108622
  poort?: number | null;
107123
108623
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
107124
108624
  systeemnaam?: string;
@@ -107144,6 +108644,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
107144
108644
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
107145
108645
  online?: boolean;
107146
108646
  papierformaat?: string;
108647
+ pdf_map?: string | null;
107147
108648
  poort?: number | null;
107148
108649
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
107149
108650
  systeemnaam?: string;
@@ -113400,6 +114901,9 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
113400
114901
  is_herprint: boolean;
113401
114902
  kopieen: number;
113402
114903
  layout_id: string | null;
114904
+ lokaal_opgeslagen_op: string | null;
114905
+ lokale_pdf_fout: string | null;
114906
+ lokale_pdf_status: string | null;
113403
114907
  opgepakt_op: string | null;
113404
114908
  paginas: number;
113405
114909
  payload: import("../integrations/supabase/types").Json;
@@ -113408,6 +114912,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
113408
114912
  pogingen: number;
113409
114913
  printer_id: string | null;
113410
114914
  render_html: string | null;
114915
+ resultaat_pdf_base64: string | null;
113411
114916
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
113412
114917
  updated_at: string;
113413
114918
  volgende_poging: string | null;
@@ -113499,6 +115004,53 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
113499
115004
  isSetofReturn: true;
113500
115005
  };
113501
115006
  };
115007
+ claim_pdf_print_jobs: {
115008
+ Args: {
115009
+ _max?: number;
115010
+ };
115011
+ Returns: {
115012
+ agent_id: string | null;
115013
+ bron_job_id: string | null;
115014
+ created_at: string;
115015
+ documentnaam: string;
115016
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
115017
+ extern_job_id: string | null;
115018
+ foutmelding: string | null;
115019
+ gebruiker_id: string | null;
115020
+ gebruiker_naam: string;
115021
+ gebruikte_bron: string | null;
115022
+ gebruikte_layout_id: string | null;
115023
+ gestart_op: string | null;
115024
+ herkomst: string | null;
115025
+ id: string;
115026
+ idempotentie_sleutel: string | null;
115027
+ is_herprint: boolean;
115028
+ kopieen: number;
115029
+ layout_id: string | null;
115030
+ lokaal_opgeslagen_op: string | null;
115031
+ lokale_pdf_fout: string | null;
115032
+ lokale_pdf_status: string | null;
115033
+ opgepakt_op: string | null;
115034
+ paginas: number;
115035
+ payload: import("../integrations/supabase/types").Json;
115036
+ pdf_base64: string | null;
115037
+ pdf_url: string | null;
115038
+ pogingen: number;
115039
+ printer_id: string | null;
115040
+ render_html: string | null;
115041
+ resultaat_pdf_base64: string | null;
115042
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
115043
+ updated_at: string;
115044
+ volgende_poging: string | null;
115045
+ voltooid_op: string | null;
115046
+ }[];
115047
+ SetofOptions: {
115048
+ from: "*";
115049
+ to: "print_jobs";
115050
+ isOneToOne: false;
115051
+ isSetofReturn: true;
115052
+ };
115053
+ };
113502
115054
  claim_print_jobs: {
113503
115055
  Args: {
113504
115056
  _agent_id: string;
@@ -113523,6 +115075,9 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
113523
115075
  is_herprint: boolean;
113524
115076
  kopieen: number;
113525
115077
  layout_id: string | null;
115078
+ lokaal_opgeslagen_op: string | null;
115079
+ lokale_pdf_fout: string | null;
115080
+ lokale_pdf_status: string | null;
113526
115081
  opgepakt_op: string | null;
113527
115082
  paginas: number;
113528
115083
  payload: import("../integrations/supabase/types").Json;
@@ -113531,6 +115086,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
113531
115086
  pogingen: number;
113532
115087
  printer_id: string | null;
113533
115088
  render_html: string | null;
115089
+ resultaat_pdf_base64: string | null;
113534
115090
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
113535
115091
  updated_at: string;
113536
115092
  volgende_poging: string | null;
@@ -113671,6 +115227,8 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
113671
115227
  order_id: string;
113672
115228
  order_source: string;
113673
115229
  pick_date: string;
115230
+ printed_at: string;
115231
+ printed_today: boolean;
113674
115232
  status: string;
113675
115233
  }[];
113676
115234
  };
@@ -114379,6 +115937,10 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114379
115937
  };
114380
115938
  Returns: number;
114381
115939
  };
115940
+ logistics_cancel_orphan_tasks: {
115941
+ Args: never;
115942
+ Returns: number;
115943
+ };
114382
115944
  logistics_capacity_day_check: {
114383
115945
  Args: {
114384
115946
  p_from?: string;
@@ -114399,6 +115961,25 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114399
115961
  };
114400
115962
  Returns: number;
114401
115963
  };
115964
+ logistics_cart_index: {
115965
+ Args: {
115966
+ p_from?: string;
115967
+ p_to?: string;
115968
+ };
115969
+ Returns: {
115970
+ cart_id: string;
115971
+ cart_index: number;
115972
+ cart_label: string;
115973
+ is_shared: boolean;
115974
+ order_number: string;
115975
+ order_source: string;
115976
+ order_uuid: string;
115977
+ pick_date: string;
115978
+ printed_at: string;
115979
+ shifted: boolean;
115980
+ task_status: string;
115981
+ }[];
115982
+ };
114402
115983
  logistics_check_order_allowed: {
114403
115984
  Args: {
114404
115985
  p_lines: import("../integrations/supabase/types").Json;
@@ -114547,6 +116128,17 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114547
116128
  isSetofReturn: false;
114548
116129
  };
114549
116130
  };
116131
+ logistics_consistency_check: {
116132
+ Args: never;
116133
+ Returns: {
116134
+ agenda_carts: number;
116135
+ control_carts: number;
116136
+ ok: boolean;
116137
+ orphan_tasks: number;
116138
+ pick_date: string;
116139
+ raw_carts: number;
116140
+ }[];
116141
+ };
114550
116142
  logistics_delay_customer_email: {
114551
116143
  Args: {
114552
116144
  p_customer: string;
@@ -114636,6 +116228,16 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114636
116228
  isSetofReturn: false;
114637
116229
  };
114638
116230
  };
116231
+ logistics_floriday_cart_plan: {
116232
+ Args: {
116233
+ p_order_id: string;
116234
+ };
116235
+ Returns: {
116236
+ carrier_type: string;
116237
+ idx: number;
116238
+ packages: number;
116239
+ }[];
116240
+ };
114639
116241
  logistics_floriday_claim_pushes: {
114640
116242
  Args: {
114641
116243
  _lease_seconds?: number;
@@ -114740,6 +116342,25 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114740
116342
  };
114741
116343
  Returns: number;
114742
116344
  };
116345
+ logistics_order_overview: {
116346
+ Args: {
116347
+ p_from?: string;
116348
+ p_to?: string;
116349
+ };
116350
+ Returns: {
116351
+ cart_count: number;
116352
+ customer_name: string;
116353
+ delivery_date: string;
116354
+ order_number: string;
116355
+ order_source: string;
116356
+ order_uuid: string;
116357
+ pick_date: string;
116358
+ plant_count: number;
116359
+ printed_at: string;
116360
+ shifted: boolean;
116361
+ status: string;
116362
+ }[];
116363
+ };
114743
116364
  logistics_order_pick_day: {
114744
116365
  Args: {
114745
116366
  p_order_ref: string;
@@ -114752,6 +116373,22 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114752
116373
  };
114753
116374
  Returns: string;
114754
116375
  };
116376
+ logistics_pick_agenda: {
116377
+ Args: {
116378
+ p_from?: string;
116379
+ p_to?: string;
116380
+ };
116381
+ Returns: {
116382
+ cart_count: number;
116383
+ in_preparation: number;
116384
+ order_count: number;
116385
+ orders: import("../integrations/supabase/types").Json;
116386
+ pick_date: string;
116387
+ plant_count: number;
116388
+ ready: number;
116389
+ shifted_count: number;
116390
+ }[];
116391
+ };
114755
116392
  logistics_pick_email_purpose: {
114756
116393
  Args: never;
114757
116394
  Returns: string;
@@ -114806,6 +116443,13 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114806
116443
  };
114807
116444
  Returns: undefined;
114808
116445
  };
116446
+ logistics_plan_floriday_order: {
116447
+ Args: {
116448
+ p_buffer_id?: string;
116449
+ p_order_id: string;
116450
+ };
116451
+ Returns: number;
116452
+ };
114809
116453
  logistics_plan_impact_orders: {
114810
116454
  Args: {
114811
116455
  p_order_id: string;
@@ -114911,6 +116555,15 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
114911
116555
  };
114912
116556
  Returns: import("../integrations/supabase/types").Json;
114913
116557
  };
116558
+ logistics_resolve_pick_document: {
116559
+ Args: {
116560
+ _is_herprint: boolean;
116561
+ _queue_item_id: string;
116562
+ _session_id: string;
116563
+ _voorbeeld: boolean;
116564
+ };
116565
+ Returns: import("../integrations/supabase/types").Json;
116566
+ };
114914
116567
  logistics_resolve_settings: {
114915
116568
  Args: {
114916
116569
  p_config_id: string;
@@ -115041,14 +116694,6 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
115041
116694
  };
115042
116695
  Returns: string;
115043
116696
  };
115044
- maps_cron_token: {
115045
- Args: never;
115046
- Returns: string;
115047
- };
115048
- maps_kick_queue: {
115049
- Args: never;
115050
- Returns: undefined;
115051
- };
115052
116697
  mark_offer_clicked: {
115053
116698
  Args: {
115054
116699
  p_code: string;
@@ -115359,6 +117004,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
115359
117004
  };
115360
117005
  pick_enqueue_print_job: {
115361
117006
  Args: {
117007
+ _is_herprint?: boolean;
115362
117008
  _printer_id?: string;
115363
117009
  _queue_item_id: string;
115364
117010
  _session_id?: string;
@@ -115372,6 +117018,13 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
115372
117018
  };
115373
117019
  Returns: import("../integrations/supabase/types").Json;
115374
117020
  };
117021
+ pick_preview_job: {
117022
+ Args: {
117023
+ _queue_item_id: string;
117024
+ _station_slug: string;
117025
+ };
117026
+ Returns: import("../integrations/supabase/types").Json;
117027
+ };
115375
117028
  pick_print_job_status: {
115376
117029
  Args: {
115377
117030
  _job_id: string;
@@ -115549,6 +117202,24 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
115549
117202
  };
115550
117203
  Returns: undefined;
115551
117204
  };
117205
+ print_preview_toestaan: {
117206
+ Args: {
117207
+ _max?: number;
117208
+ _queue_item_id: string;
117209
+ _station_slug: string;
117210
+ _venster_sec?: number;
117211
+ };
117212
+ Returns: import("../integrations/supabase/types").Json;
117213
+ };
117214
+ print_preview_weiger: {
117215
+ Args: {
117216
+ _code: string;
117217
+ _queue_item_id: string;
117218
+ _reden: string;
117219
+ _station_slug: string;
117220
+ };
117221
+ Returns: undefined;
117222
+ };
115552
117223
  process_logistics_event: {
115553
117224
  Args: {
115554
117225
  p_event_id: string;
@@ -115666,6 +117337,14 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
115666
117337
  };
115667
117338
  Returns: undefined;
115668
117339
  };
117340
+ replace_order_carts: {
117341
+ Args: {
117342
+ p_buffer_id: string;
117343
+ p_carts: import("../integrations/supabase/types").Json;
117344
+ p_order_id: string;
117345
+ };
117346
+ Returns: import("../integrations/supabase/types").Json;
117347
+ };
115669
117348
  reset_floriday_sync_cursor: {
115670
117349
  Args: {
115671
117350
  p_connection_id: string;
@@ -115695,6 +117374,12 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
115695
117374
  };
115696
117375
  Returns: string;
115697
117376
  };
117377
+ resolve_print_job_printer_id: {
117378
+ Args: {
117379
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
117380
+ };
117381
+ Returns: string;
117382
+ };
115698
117383
  resolve_product_id_for_item: {
115699
117384
  Args: {
115700
117385
  p_product_name: string;
@@ -116286,7 +117971,7 @@ export declare const getFlorydayVbnProduct: import("@tanstack/start-client-core"
116286
117971
  };
116287
117972
  CompositeTypes: { [_ in never]: never; };
116288
117973
  }, {
116289
- PostgrestVersion: "14.17";
117974
+ PostgrestVersion: "14.5";
116290
117975
  }>;
116291
117976
  userId: string;
116292
117977
  claims: import("@supabase/auth-js").User;
@@ -119150,6 +120835,84 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
119150
120835
  };
119151
120836
  Relationships: [];
119152
120837
  };
120838
+ delivery_notes: {
120839
+ Row: {
120840
+ byte_size: number | null;
120841
+ connection_id: string | null;
120842
+ content_type: string;
120843
+ created_at: string;
120844
+ error_message: string | null;
120845
+ fetched_at: string | null;
120846
+ fulfillment_order_id: string | null;
120847
+ http_status: number | null;
120848
+ id: string;
120849
+ label_code: string | null;
120850
+ letter: string | null;
120851
+ load_carrier_index: number | null;
120852
+ load_carrier_type: string | null;
120853
+ order_id: string | null;
120854
+ order_number: string | null;
120855
+ packages: number | null;
120856
+ source: string;
120857
+ status: string;
120858
+ storage_bucket: string;
120859
+ storage_path: string | null;
120860
+ updated_at: string;
120861
+ };
120862
+ Insert: {
120863
+ byte_size?: number | null;
120864
+ connection_id?: string | null;
120865
+ content_type?: string;
120866
+ created_at?: string;
120867
+ error_message?: string | null;
120868
+ fetched_at?: string | null;
120869
+ fulfillment_order_id?: string | null;
120870
+ http_status?: number | null;
120871
+ id?: string;
120872
+ label_code?: string | null;
120873
+ letter?: string | null;
120874
+ load_carrier_index?: number | null;
120875
+ load_carrier_type?: string | null;
120876
+ order_id?: string | null;
120877
+ order_number?: string | null;
120878
+ packages?: number | null;
120879
+ source?: string;
120880
+ status?: string;
120881
+ storage_bucket?: string;
120882
+ storage_path?: string | null;
120883
+ updated_at?: string;
120884
+ };
120885
+ Update: {
120886
+ byte_size?: number | null;
120887
+ connection_id?: string | null;
120888
+ content_type?: string;
120889
+ created_at?: string;
120890
+ error_message?: string | null;
120891
+ fetched_at?: string | null;
120892
+ fulfillment_order_id?: string | null;
120893
+ http_status?: number | null;
120894
+ id?: string;
120895
+ label_code?: string | null;
120896
+ letter?: string | null;
120897
+ load_carrier_index?: number | null;
120898
+ load_carrier_type?: string | null;
120899
+ order_id?: string | null;
120900
+ order_number?: string | null;
120901
+ packages?: number | null;
120902
+ source?: string;
120903
+ status?: string;
120904
+ storage_bucket?: string;
120905
+ storage_path?: string | null;
120906
+ updated_at?: string;
120907
+ };
120908
+ Relationships: [{
120909
+ foreignKeyName: "delivery_notes_order_id_fkey";
120910
+ columns: ["order_id"];
120911
+ isOneToOne: false;
120912
+ referencedRelation: "orders";
120913
+ referencedColumns: ["id"];
120914
+ }];
120915
+ };
119153
120916
  document_bronregels: {
119154
120917
  Row: {
119155
120918
  bron: string;
@@ -122203,10 +123966,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
122203
123966
  };
122204
123967
  floriday_connections: {
122205
123968
  Row: {
122206
- access_token: string | null;
122207
123969
  api_key: string;
122208
- client_id: string;
122209
- client_secret: string;
122210
123970
  created_at: string;
122211
123971
  customers_endpoint: string | null;
122212
123972
  environment: string;
@@ -122221,10 +123981,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
122221
123981
  updated_at: string;
122222
123982
  };
122223
123983
  Insert: {
122224
- access_token?: string | null;
122225
123984
  api_key: string;
122226
- client_id: string;
122227
- client_secret: string;
122228
123985
  created_at?: string;
122229
123986
  customers_endpoint?: string | null;
122230
123987
  environment: string;
@@ -122239,10 +123996,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
122239
123996
  updated_at?: string;
122240
123997
  };
122241
123998
  Update: {
122242
- access_token?: string | null;
122243
123999
  api_key?: string;
122244
- client_id?: string;
122245
- client_secret?: string;
122246
124000
  created_at?: string;
122247
124001
  customers_endpoint?: string | null;
122248
124002
  environment?: string;
@@ -127113,6 +128867,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
127113
128867
  last_error: string | null;
127114
128868
  last_error_at: string | null;
127115
128869
  last_success_at: string | null;
128870
+ provider: string;
127116
128871
  updated_at: string;
127117
128872
  };
127118
128873
  Insert: {
@@ -127124,6 +128879,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
127124
128879
  last_error?: string | null;
127125
128880
  last_error_at?: string | null;
127126
128881
  last_success_at?: string | null;
128882
+ provider?: string;
127127
128883
  updated_at?: string;
127128
128884
  };
127129
128885
  Update: {
@@ -127135,6 +128891,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
127135
128891
  last_error?: string | null;
127136
128892
  last_error_at?: string | null;
127137
128893
  last_success_at?: string | null;
128894
+ provider?: string;
127138
128895
  updated_at?: string;
127139
128896
  };
127140
128897
  Relationships: [];
@@ -129872,6 +131629,39 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129872
131629
  };
129873
131630
  Relationships: [];
129874
131631
  };
131632
+ print_dedupe_events: {
131633
+ Row: {
131634
+ bestaande_job_id: string | null;
131635
+ created_at: string;
131636
+ detail: string | null;
131637
+ documentnaam: string | null;
131638
+ documenttype: string | null;
131639
+ id: string;
131640
+ idempotentie_sleutel: string;
131641
+ reden: string;
131642
+ };
131643
+ Insert: {
131644
+ bestaande_job_id?: string | null;
131645
+ created_at?: string;
131646
+ detail?: string | null;
131647
+ documentnaam?: string | null;
131648
+ documenttype?: string | null;
131649
+ id?: string;
131650
+ idempotentie_sleutel: string;
131651
+ reden: string;
131652
+ };
131653
+ Update: {
131654
+ bestaande_job_id?: string | null;
131655
+ created_at?: string;
131656
+ detail?: string | null;
131657
+ documentnaam?: string | null;
131658
+ documenttype?: string | null;
131659
+ id?: string;
131660
+ idempotentie_sleutel?: string;
131661
+ reden?: string;
131662
+ };
131663
+ Relationships: [];
131664
+ };
129875
131665
  print_job_logs: {
129876
131666
  Row: {
129877
131667
  created_at: string;
@@ -129922,6 +131712,9 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129922
131712
  is_herprint: boolean;
129923
131713
  kopieen: number;
129924
131714
  layout_id: string | null;
131715
+ lokaal_opgeslagen_op: string | null;
131716
+ lokale_pdf_fout: string | null;
131717
+ lokale_pdf_status: string | null;
129925
131718
  opgepakt_op: string | null;
129926
131719
  paginas: number;
129927
131720
  payload: import("../integrations/supabase/types").Json;
@@ -129930,6 +131723,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129930
131723
  pogingen: number;
129931
131724
  printer_id: string | null;
129932
131725
  render_html: string | null;
131726
+ resultaat_pdf_base64: string | null;
129933
131727
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
129934
131728
  updated_at: string;
129935
131729
  volgende_poging: string | null;
@@ -129954,6 +131748,9 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129954
131748
  is_herprint?: boolean;
129955
131749
  kopieen?: number;
129956
131750
  layout_id?: string | null;
131751
+ lokaal_opgeslagen_op?: string | null;
131752
+ lokale_pdf_fout?: string | null;
131753
+ lokale_pdf_status?: string | null;
129957
131754
  opgepakt_op?: string | null;
129958
131755
  paginas?: number;
129959
131756
  payload?: import("../integrations/supabase/types").Json;
@@ -129962,6 +131759,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129962
131759
  pogingen?: number;
129963
131760
  printer_id?: string | null;
129964
131761
  render_html?: string | null;
131762
+ resultaat_pdf_base64?: string | null;
129965
131763
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
129966
131764
  updated_at?: string;
129967
131765
  volgende_poging?: string | null;
@@ -129986,6 +131784,9 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129986
131784
  is_herprint?: boolean;
129987
131785
  kopieen?: number;
129988
131786
  layout_id?: string | null;
131787
+ lokaal_opgeslagen_op?: string | null;
131788
+ lokale_pdf_fout?: string | null;
131789
+ lokale_pdf_status?: string | null;
129989
131790
  opgepakt_op?: string | null;
129990
131791
  paginas?: number;
129991
131792
  payload?: import("../integrations/supabase/types").Json;
@@ -129994,6 +131795,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
129994
131795
  pogingen?: number;
129995
131796
  printer_id?: string | null;
129996
131797
  render_html?: string | null;
131798
+ resultaat_pdf_base64?: string | null;
129997
131799
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
129998
131800
  updated_at?: string;
129999
131801
  volgende_poging?: string | null;
@@ -130112,6 +131914,39 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
130112
131914
  };
130113
131915
  Relationships: [];
130114
131916
  };
131917
+ print_preview_events: {
131918
+ Row: {
131919
+ code: string | null;
131920
+ created_at: string;
131921
+ detail: import("../integrations/supabase/types").Json;
131922
+ id: string;
131923
+ queue_item_id: string | null;
131924
+ reden: string | null;
131925
+ station_slug: string | null;
131926
+ uitkomst: string;
131927
+ };
131928
+ Insert: {
131929
+ code?: string | null;
131930
+ created_at?: string;
131931
+ detail?: import("../integrations/supabase/types").Json;
131932
+ id?: string;
131933
+ queue_item_id?: string | null;
131934
+ reden?: string | null;
131935
+ station_slug?: string | null;
131936
+ uitkomst?: string;
131937
+ };
131938
+ Update: {
131939
+ code?: string | null;
131940
+ created_at?: string;
131941
+ detail?: import("../integrations/supabase/types").Json;
131942
+ id?: string;
131943
+ queue_item_id?: string | null;
131944
+ reden?: string | null;
131945
+ station_slug?: string | null;
131946
+ uitkomst?: string;
131947
+ };
131948
+ Relationships: [];
131949
+ };
130115
131950
  print_queue_runners: {
130116
131951
  Row: {
130117
131952
  actief: boolean;
@@ -130351,6 +132186,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
130351
132186
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
130352
132187
  online: boolean;
130353
132188
  papierformaat: string;
132189
+ pdf_map: string | null;
130354
132190
  poort: number | null;
130355
132191
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
130356
132192
  systeemnaam: string;
@@ -130376,6 +132212,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
130376
132212
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
130377
132213
  online?: boolean;
130378
132214
  papierformaat?: string;
132215
+ pdf_map?: string | null;
130379
132216
  poort?: number | null;
130380
132217
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
130381
132218
  systeemnaam?: string;
@@ -130401,6 +132238,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
130401
132238
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
130402
132239
  online?: boolean;
130403
132240
  papierformaat?: string;
132241
+ pdf_map?: string | null;
130404
132242
  poort?: number | null;
130405
132243
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
130406
132244
  systeemnaam?: string;
@@ -136657,6 +138495,9 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
136657
138495
  is_herprint: boolean;
136658
138496
  kopieen: number;
136659
138497
  layout_id: string | null;
138498
+ lokaal_opgeslagen_op: string | null;
138499
+ lokale_pdf_fout: string | null;
138500
+ lokale_pdf_status: string | null;
136660
138501
  opgepakt_op: string | null;
136661
138502
  paginas: number;
136662
138503
  payload: import("../integrations/supabase/types").Json;
@@ -136665,6 +138506,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
136665
138506
  pogingen: number;
136666
138507
  printer_id: string | null;
136667
138508
  render_html: string | null;
138509
+ resultaat_pdf_base64: string | null;
136668
138510
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
136669
138511
  updated_at: string;
136670
138512
  volgende_poging: string | null;
@@ -136756,6 +138598,53 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
136756
138598
  isSetofReturn: true;
136757
138599
  };
136758
138600
  };
138601
+ claim_pdf_print_jobs: {
138602
+ Args: {
138603
+ _max?: number;
138604
+ };
138605
+ Returns: {
138606
+ agent_id: string | null;
138607
+ bron_job_id: string | null;
138608
+ created_at: string;
138609
+ documentnaam: string;
138610
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
138611
+ extern_job_id: string | null;
138612
+ foutmelding: string | null;
138613
+ gebruiker_id: string | null;
138614
+ gebruiker_naam: string;
138615
+ gebruikte_bron: string | null;
138616
+ gebruikte_layout_id: string | null;
138617
+ gestart_op: string | null;
138618
+ herkomst: string | null;
138619
+ id: string;
138620
+ idempotentie_sleutel: string | null;
138621
+ is_herprint: boolean;
138622
+ kopieen: number;
138623
+ layout_id: string | null;
138624
+ lokaal_opgeslagen_op: string | null;
138625
+ lokale_pdf_fout: string | null;
138626
+ lokale_pdf_status: string | null;
138627
+ opgepakt_op: string | null;
138628
+ paginas: number;
138629
+ payload: import("../integrations/supabase/types").Json;
138630
+ pdf_base64: string | null;
138631
+ pdf_url: string | null;
138632
+ pogingen: number;
138633
+ printer_id: string | null;
138634
+ render_html: string | null;
138635
+ resultaat_pdf_base64: string | null;
138636
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
138637
+ updated_at: string;
138638
+ volgende_poging: string | null;
138639
+ voltooid_op: string | null;
138640
+ }[];
138641
+ SetofOptions: {
138642
+ from: "*";
138643
+ to: "print_jobs";
138644
+ isOneToOne: false;
138645
+ isSetofReturn: true;
138646
+ };
138647
+ };
136759
138648
  claim_print_jobs: {
136760
138649
  Args: {
136761
138650
  _agent_id: string;
@@ -136780,6 +138669,9 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
136780
138669
  is_herprint: boolean;
136781
138670
  kopieen: number;
136782
138671
  layout_id: string | null;
138672
+ lokaal_opgeslagen_op: string | null;
138673
+ lokale_pdf_fout: string | null;
138674
+ lokale_pdf_status: string | null;
136783
138675
  opgepakt_op: string | null;
136784
138676
  paginas: number;
136785
138677
  payload: import("../integrations/supabase/types").Json;
@@ -136788,6 +138680,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
136788
138680
  pogingen: number;
136789
138681
  printer_id: string | null;
136790
138682
  render_html: string | null;
138683
+ resultaat_pdf_base64: string | null;
136791
138684
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
136792
138685
  updated_at: string;
136793
138686
  volgende_poging: string | null;
@@ -136928,6 +138821,8 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
136928
138821
  order_id: string;
136929
138822
  order_source: string;
136930
138823
  pick_date: string;
138824
+ printed_at: string;
138825
+ printed_today: boolean;
136931
138826
  status: string;
136932
138827
  }[];
136933
138828
  };
@@ -137636,6 +139531,10 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
137636
139531
  };
137637
139532
  Returns: number;
137638
139533
  };
139534
+ logistics_cancel_orphan_tasks: {
139535
+ Args: never;
139536
+ Returns: number;
139537
+ };
137639
139538
  logistics_capacity_day_check: {
137640
139539
  Args: {
137641
139540
  p_from?: string;
@@ -137656,6 +139555,25 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
137656
139555
  };
137657
139556
  Returns: number;
137658
139557
  };
139558
+ logistics_cart_index: {
139559
+ Args: {
139560
+ p_from?: string;
139561
+ p_to?: string;
139562
+ };
139563
+ Returns: {
139564
+ cart_id: string;
139565
+ cart_index: number;
139566
+ cart_label: string;
139567
+ is_shared: boolean;
139568
+ order_number: string;
139569
+ order_source: string;
139570
+ order_uuid: string;
139571
+ pick_date: string;
139572
+ printed_at: string;
139573
+ shifted: boolean;
139574
+ task_status: string;
139575
+ }[];
139576
+ };
137659
139577
  logistics_check_order_allowed: {
137660
139578
  Args: {
137661
139579
  p_lines: import("../integrations/supabase/types").Json;
@@ -137804,6 +139722,17 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
137804
139722
  isSetofReturn: false;
137805
139723
  };
137806
139724
  };
139725
+ logistics_consistency_check: {
139726
+ Args: never;
139727
+ Returns: {
139728
+ agenda_carts: number;
139729
+ control_carts: number;
139730
+ ok: boolean;
139731
+ orphan_tasks: number;
139732
+ pick_date: string;
139733
+ raw_carts: number;
139734
+ }[];
139735
+ };
137807
139736
  logistics_delay_customer_email: {
137808
139737
  Args: {
137809
139738
  p_customer: string;
@@ -137893,6 +139822,16 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
137893
139822
  isSetofReturn: false;
137894
139823
  };
137895
139824
  };
139825
+ logistics_floriday_cart_plan: {
139826
+ Args: {
139827
+ p_order_id: string;
139828
+ };
139829
+ Returns: {
139830
+ carrier_type: string;
139831
+ idx: number;
139832
+ packages: number;
139833
+ }[];
139834
+ };
137896
139835
  logistics_floriday_claim_pushes: {
137897
139836
  Args: {
137898
139837
  _lease_seconds?: number;
@@ -137997,6 +139936,25 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
137997
139936
  };
137998
139937
  Returns: number;
137999
139938
  };
139939
+ logistics_order_overview: {
139940
+ Args: {
139941
+ p_from?: string;
139942
+ p_to?: string;
139943
+ };
139944
+ Returns: {
139945
+ cart_count: number;
139946
+ customer_name: string;
139947
+ delivery_date: string;
139948
+ order_number: string;
139949
+ order_source: string;
139950
+ order_uuid: string;
139951
+ pick_date: string;
139952
+ plant_count: number;
139953
+ printed_at: string;
139954
+ shifted: boolean;
139955
+ status: string;
139956
+ }[];
139957
+ };
138000
139958
  logistics_order_pick_day: {
138001
139959
  Args: {
138002
139960
  p_order_ref: string;
@@ -138009,6 +139967,22 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138009
139967
  };
138010
139968
  Returns: string;
138011
139969
  };
139970
+ logistics_pick_agenda: {
139971
+ Args: {
139972
+ p_from?: string;
139973
+ p_to?: string;
139974
+ };
139975
+ Returns: {
139976
+ cart_count: number;
139977
+ in_preparation: number;
139978
+ order_count: number;
139979
+ orders: import("../integrations/supabase/types").Json;
139980
+ pick_date: string;
139981
+ plant_count: number;
139982
+ ready: number;
139983
+ shifted_count: number;
139984
+ }[];
139985
+ };
138012
139986
  logistics_pick_email_purpose: {
138013
139987
  Args: never;
138014
139988
  Returns: string;
@@ -138063,6 +140037,13 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138063
140037
  };
138064
140038
  Returns: undefined;
138065
140039
  };
140040
+ logistics_plan_floriday_order: {
140041
+ Args: {
140042
+ p_buffer_id?: string;
140043
+ p_order_id: string;
140044
+ };
140045
+ Returns: number;
140046
+ };
138066
140047
  logistics_plan_impact_orders: {
138067
140048
  Args: {
138068
140049
  p_order_id: string;
@@ -138168,6 +140149,15 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138168
140149
  };
138169
140150
  Returns: import("../integrations/supabase/types").Json;
138170
140151
  };
140152
+ logistics_resolve_pick_document: {
140153
+ Args: {
140154
+ _is_herprint: boolean;
140155
+ _queue_item_id: string;
140156
+ _session_id: string;
140157
+ _voorbeeld: boolean;
140158
+ };
140159
+ Returns: import("../integrations/supabase/types").Json;
140160
+ };
138171
140161
  logistics_resolve_settings: {
138172
140162
  Args: {
138173
140163
  p_config_id: string;
@@ -138298,14 +140288,6 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138298
140288
  };
138299
140289
  Returns: string;
138300
140290
  };
138301
- maps_cron_token: {
138302
- Args: never;
138303
- Returns: string;
138304
- };
138305
- maps_kick_queue: {
138306
- Args: never;
138307
- Returns: undefined;
138308
- };
138309
140291
  mark_offer_clicked: {
138310
140292
  Args: {
138311
140293
  p_code: string;
@@ -138616,6 +140598,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138616
140598
  };
138617
140599
  pick_enqueue_print_job: {
138618
140600
  Args: {
140601
+ _is_herprint?: boolean;
138619
140602
  _printer_id?: string;
138620
140603
  _queue_item_id: string;
138621
140604
  _session_id?: string;
@@ -138629,6 +140612,13 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138629
140612
  };
138630
140613
  Returns: import("../integrations/supabase/types").Json;
138631
140614
  };
140615
+ pick_preview_job: {
140616
+ Args: {
140617
+ _queue_item_id: string;
140618
+ _station_slug: string;
140619
+ };
140620
+ Returns: import("../integrations/supabase/types").Json;
140621
+ };
138632
140622
  pick_print_job_status: {
138633
140623
  Args: {
138634
140624
  _job_id: string;
@@ -138806,6 +140796,24 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138806
140796
  };
138807
140797
  Returns: undefined;
138808
140798
  };
140799
+ print_preview_toestaan: {
140800
+ Args: {
140801
+ _max?: number;
140802
+ _queue_item_id: string;
140803
+ _station_slug: string;
140804
+ _venster_sec?: number;
140805
+ };
140806
+ Returns: import("../integrations/supabase/types").Json;
140807
+ };
140808
+ print_preview_weiger: {
140809
+ Args: {
140810
+ _code: string;
140811
+ _queue_item_id: string;
140812
+ _reden: string;
140813
+ _station_slug: string;
140814
+ };
140815
+ Returns: undefined;
140816
+ };
138809
140817
  process_logistics_event: {
138810
140818
  Args: {
138811
140819
  p_event_id: string;
@@ -138923,6 +140931,14 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138923
140931
  };
138924
140932
  Returns: undefined;
138925
140933
  };
140934
+ replace_order_carts: {
140935
+ Args: {
140936
+ p_buffer_id: string;
140937
+ p_carts: import("../integrations/supabase/types").Json;
140938
+ p_order_id: string;
140939
+ };
140940
+ Returns: import("../integrations/supabase/types").Json;
140941
+ };
138926
140942
  reset_floriday_sync_cursor: {
138927
140943
  Args: {
138928
140944
  p_connection_id: string;
@@ -138952,6 +140968,12 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
138952
140968
  };
138953
140969
  Returns: string;
138954
140970
  };
140971
+ resolve_print_job_printer_id: {
140972
+ Args: {
140973
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
140974
+ };
140975
+ Returns: string;
140976
+ };
138955
140977
  resolve_product_id_for_item: {
138956
140978
  Args: {
138957
140979
  p_product_name: string;
@@ -139543,7 +141565,7 @@ export declare const getFlorydayResourceSchema: import("@tanstack/start-client-c
139543
141565
  };
139544
141566
  CompositeTypes: { [_ in never]: never; };
139545
141567
  }, {
139546
- PostgrestVersion: "14.17";
141568
+ PostgrestVersion: "14.5";
139547
141569
  }>;
139548
141570
  userId: string;
139549
141571
  claims: import("@supabase/auth-js").User;
@@ -142404,6 +144426,84 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
142404
144426
  };
142405
144427
  Relationships: [];
142406
144428
  };
144429
+ delivery_notes: {
144430
+ Row: {
144431
+ byte_size: number | null;
144432
+ connection_id: string | null;
144433
+ content_type: string;
144434
+ created_at: string;
144435
+ error_message: string | null;
144436
+ fetched_at: string | null;
144437
+ fulfillment_order_id: string | null;
144438
+ http_status: number | null;
144439
+ id: string;
144440
+ label_code: string | null;
144441
+ letter: string | null;
144442
+ load_carrier_index: number | null;
144443
+ load_carrier_type: string | null;
144444
+ order_id: string | null;
144445
+ order_number: string | null;
144446
+ packages: number | null;
144447
+ source: string;
144448
+ status: string;
144449
+ storage_bucket: string;
144450
+ storage_path: string | null;
144451
+ updated_at: string;
144452
+ };
144453
+ Insert: {
144454
+ byte_size?: number | null;
144455
+ connection_id?: string | null;
144456
+ content_type?: string;
144457
+ created_at?: string;
144458
+ error_message?: string | null;
144459
+ fetched_at?: string | null;
144460
+ fulfillment_order_id?: string | null;
144461
+ http_status?: number | null;
144462
+ id?: string;
144463
+ label_code?: string | null;
144464
+ letter?: string | null;
144465
+ load_carrier_index?: number | null;
144466
+ load_carrier_type?: string | null;
144467
+ order_id?: string | null;
144468
+ order_number?: string | null;
144469
+ packages?: number | null;
144470
+ source?: string;
144471
+ status?: string;
144472
+ storage_bucket?: string;
144473
+ storage_path?: string | null;
144474
+ updated_at?: string;
144475
+ };
144476
+ Update: {
144477
+ byte_size?: number | null;
144478
+ connection_id?: string | null;
144479
+ content_type?: string;
144480
+ created_at?: string;
144481
+ error_message?: string | null;
144482
+ fetched_at?: string | null;
144483
+ fulfillment_order_id?: string | null;
144484
+ http_status?: number | null;
144485
+ id?: string;
144486
+ label_code?: string | null;
144487
+ letter?: string | null;
144488
+ load_carrier_index?: number | null;
144489
+ load_carrier_type?: string | null;
144490
+ order_id?: string | null;
144491
+ order_number?: string | null;
144492
+ packages?: number | null;
144493
+ source?: string;
144494
+ status?: string;
144495
+ storage_bucket?: string;
144496
+ storage_path?: string | null;
144497
+ updated_at?: string;
144498
+ };
144499
+ Relationships: [{
144500
+ foreignKeyName: "delivery_notes_order_id_fkey";
144501
+ columns: ["order_id"];
144502
+ isOneToOne: false;
144503
+ referencedRelation: "orders";
144504
+ referencedColumns: ["id"];
144505
+ }];
144506
+ };
142407
144507
  document_bronregels: {
142408
144508
  Row: {
142409
144509
  bron: string;
@@ -145457,10 +147557,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
145457
147557
  };
145458
147558
  floriday_connections: {
145459
147559
  Row: {
145460
- access_token: string | null;
145461
147560
  api_key: string;
145462
- client_id: string;
145463
- client_secret: string;
145464
147561
  created_at: string;
145465
147562
  customers_endpoint: string | null;
145466
147563
  environment: string;
@@ -145475,10 +147572,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
145475
147572
  updated_at: string;
145476
147573
  };
145477
147574
  Insert: {
145478
- access_token?: string | null;
145479
147575
  api_key: string;
145480
- client_id: string;
145481
- client_secret: string;
145482
147576
  created_at?: string;
145483
147577
  customers_endpoint?: string | null;
145484
147578
  environment: string;
@@ -145493,10 +147587,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
145493
147587
  updated_at?: string;
145494
147588
  };
145495
147589
  Update: {
145496
- access_token?: string | null;
145497
147590
  api_key?: string;
145498
- client_id?: string;
145499
- client_secret?: string;
145500
147591
  created_at?: string;
145501
147592
  customers_endpoint?: string | null;
145502
147593
  environment?: string;
@@ -150367,6 +152458,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
150367
152458
  last_error: string | null;
150368
152459
  last_error_at: string | null;
150369
152460
  last_success_at: string | null;
152461
+ provider: string;
150370
152462
  updated_at: string;
150371
152463
  };
150372
152464
  Insert: {
@@ -150378,6 +152470,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
150378
152470
  last_error?: string | null;
150379
152471
  last_error_at?: string | null;
150380
152472
  last_success_at?: string | null;
152473
+ provider?: string;
150381
152474
  updated_at?: string;
150382
152475
  };
150383
152476
  Update: {
@@ -150389,6 +152482,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
150389
152482
  last_error?: string | null;
150390
152483
  last_error_at?: string | null;
150391
152484
  last_success_at?: string | null;
152485
+ provider?: string;
150392
152486
  updated_at?: string;
150393
152487
  };
150394
152488
  Relationships: [];
@@ -153126,6 +155220,39 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153126
155220
  };
153127
155221
  Relationships: [];
153128
155222
  };
155223
+ print_dedupe_events: {
155224
+ Row: {
155225
+ bestaande_job_id: string | null;
155226
+ created_at: string;
155227
+ detail: string | null;
155228
+ documentnaam: string | null;
155229
+ documenttype: string | null;
155230
+ id: string;
155231
+ idempotentie_sleutel: string;
155232
+ reden: string;
155233
+ };
155234
+ Insert: {
155235
+ bestaande_job_id?: string | null;
155236
+ created_at?: string;
155237
+ detail?: string | null;
155238
+ documentnaam?: string | null;
155239
+ documenttype?: string | null;
155240
+ id?: string;
155241
+ idempotentie_sleutel: string;
155242
+ reden: string;
155243
+ };
155244
+ Update: {
155245
+ bestaande_job_id?: string | null;
155246
+ created_at?: string;
155247
+ detail?: string | null;
155248
+ documentnaam?: string | null;
155249
+ documenttype?: string | null;
155250
+ id?: string;
155251
+ idempotentie_sleutel?: string;
155252
+ reden?: string;
155253
+ };
155254
+ Relationships: [];
155255
+ };
153129
155256
  print_job_logs: {
153130
155257
  Row: {
153131
155258
  created_at: string;
@@ -153176,6 +155303,9 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153176
155303
  is_herprint: boolean;
153177
155304
  kopieen: number;
153178
155305
  layout_id: string | null;
155306
+ lokaal_opgeslagen_op: string | null;
155307
+ lokale_pdf_fout: string | null;
155308
+ lokale_pdf_status: string | null;
153179
155309
  opgepakt_op: string | null;
153180
155310
  paginas: number;
153181
155311
  payload: import("../integrations/supabase/types").Json;
@@ -153184,6 +155314,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153184
155314
  pogingen: number;
153185
155315
  printer_id: string | null;
153186
155316
  render_html: string | null;
155317
+ resultaat_pdf_base64: string | null;
153187
155318
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
153188
155319
  updated_at: string;
153189
155320
  volgende_poging: string | null;
@@ -153208,6 +155339,9 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153208
155339
  is_herprint?: boolean;
153209
155340
  kopieen?: number;
153210
155341
  layout_id?: string | null;
155342
+ lokaal_opgeslagen_op?: string | null;
155343
+ lokale_pdf_fout?: string | null;
155344
+ lokale_pdf_status?: string | null;
153211
155345
  opgepakt_op?: string | null;
153212
155346
  paginas?: number;
153213
155347
  payload?: import("../integrations/supabase/types").Json;
@@ -153216,6 +155350,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153216
155350
  pogingen?: number;
153217
155351
  printer_id?: string | null;
153218
155352
  render_html?: string | null;
155353
+ resultaat_pdf_base64?: string | null;
153219
155354
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
153220
155355
  updated_at?: string;
153221
155356
  volgende_poging?: string | null;
@@ -153240,6 +155375,9 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153240
155375
  is_herprint?: boolean;
153241
155376
  kopieen?: number;
153242
155377
  layout_id?: string | null;
155378
+ lokaal_opgeslagen_op?: string | null;
155379
+ lokale_pdf_fout?: string | null;
155380
+ lokale_pdf_status?: string | null;
153243
155381
  opgepakt_op?: string | null;
153244
155382
  paginas?: number;
153245
155383
  payload?: import("../integrations/supabase/types").Json;
@@ -153248,6 +155386,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153248
155386
  pogingen?: number;
153249
155387
  printer_id?: string | null;
153250
155388
  render_html?: string | null;
155389
+ resultaat_pdf_base64?: string | null;
153251
155390
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
153252
155391
  updated_at?: string;
153253
155392
  volgende_poging?: string | null;
@@ -153366,6 +155505,39 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153366
155505
  };
153367
155506
  Relationships: [];
153368
155507
  };
155508
+ print_preview_events: {
155509
+ Row: {
155510
+ code: string | null;
155511
+ created_at: string;
155512
+ detail: import("../integrations/supabase/types").Json;
155513
+ id: string;
155514
+ queue_item_id: string | null;
155515
+ reden: string | null;
155516
+ station_slug: string | null;
155517
+ uitkomst: string;
155518
+ };
155519
+ Insert: {
155520
+ code?: string | null;
155521
+ created_at?: string;
155522
+ detail?: import("../integrations/supabase/types").Json;
155523
+ id?: string;
155524
+ queue_item_id?: string | null;
155525
+ reden?: string | null;
155526
+ station_slug?: string | null;
155527
+ uitkomst?: string;
155528
+ };
155529
+ Update: {
155530
+ code?: string | null;
155531
+ created_at?: string;
155532
+ detail?: import("../integrations/supabase/types").Json;
155533
+ id?: string;
155534
+ queue_item_id?: string | null;
155535
+ reden?: string | null;
155536
+ station_slug?: string | null;
155537
+ uitkomst?: string;
155538
+ };
155539
+ Relationships: [];
155540
+ };
153369
155541
  print_queue_runners: {
153370
155542
  Row: {
153371
155543
  actief: boolean;
@@ -153605,6 +155777,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153605
155777
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
153606
155778
  online: boolean;
153607
155779
  papierformaat: string;
155780
+ pdf_map: string | null;
153608
155781
  poort: number | null;
153609
155782
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
153610
155783
  systeemnaam: string;
@@ -153630,6 +155803,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153630
155803
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
153631
155804
  online?: boolean;
153632
155805
  papierformaat?: string;
155806
+ pdf_map?: string | null;
153633
155807
  poort?: number | null;
153634
155808
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
153635
155809
  systeemnaam?: string;
@@ -153655,6 +155829,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
153655
155829
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
153656
155830
  online?: boolean;
153657
155831
  papierformaat?: string;
155832
+ pdf_map?: string | null;
153658
155833
  poort?: number | null;
153659
155834
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
153660
155835
  systeemnaam?: string;
@@ -159911,6 +162086,9 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
159911
162086
  is_herprint: boolean;
159912
162087
  kopieen: number;
159913
162088
  layout_id: string | null;
162089
+ lokaal_opgeslagen_op: string | null;
162090
+ lokale_pdf_fout: string | null;
162091
+ lokale_pdf_status: string | null;
159914
162092
  opgepakt_op: string | null;
159915
162093
  paginas: number;
159916
162094
  payload: import("../integrations/supabase/types").Json;
@@ -159919,6 +162097,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
159919
162097
  pogingen: number;
159920
162098
  printer_id: string | null;
159921
162099
  render_html: string | null;
162100
+ resultaat_pdf_base64: string | null;
159922
162101
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
159923
162102
  updated_at: string;
159924
162103
  volgende_poging: string | null;
@@ -160010,6 +162189,53 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
160010
162189
  isSetofReturn: true;
160011
162190
  };
160012
162191
  };
162192
+ claim_pdf_print_jobs: {
162193
+ Args: {
162194
+ _max?: number;
162195
+ };
162196
+ Returns: {
162197
+ agent_id: string | null;
162198
+ bron_job_id: string | null;
162199
+ created_at: string;
162200
+ documentnaam: string;
162201
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
162202
+ extern_job_id: string | null;
162203
+ foutmelding: string | null;
162204
+ gebruiker_id: string | null;
162205
+ gebruiker_naam: string;
162206
+ gebruikte_bron: string | null;
162207
+ gebruikte_layout_id: string | null;
162208
+ gestart_op: string | null;
162209
+ herkomst: string | null;
162210
+ id: string;
162211
+ idempotentie_sleutel: string | null;
162212
+ is_herprint: boolean;
162213
+ kopieen: number;
162214
+ layout_id: string | null;
162215
+ lokaal_opgeslagen_op: string | null;
162216
+ lokale_pdf_fout: string | null;
162217
+ lokale_pdf_status: string | null;
162218
+ opgepakt_op: string | null;
162219
+ paginas: number;
162220
+ payload: import("../integrations/supabase/types").Json;
162221
+ pdf_base64: string | null;
162222
+ pdf_url: string | null;
162223
+ pogingen: number;
162224
+ printer_id: string | null;
162225
+ render_html: string | null;
162226
+ resultaat_pdf_base64: string | null;
162227
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
162228
+ updated_at: string;
162229
+ volgende_poging: string | null;
162230
+ voltooid_op: string | null;
162231
+ }[];
162232
+ SetofOptions: {
162233
+ from: "*";
162234
+ to: "print_jobs";
162235
+ isOneToOne: false;
162236
+ isSetofReturn: true;
162237
+ };
162238
+ };
160013
162239
  claim_print_jobs: {
160014
162240
  Args: {
160015
162241
  _agent_id: string;
@@ -160034,6 +162260,9 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
160034
162260
  is_herprint: boolean;
160035
162261
  kopieen: number;
160036
162262
  layout_id: string | null;
162263
+ lokaal_opgeslagen_op: string | null;
162264
+ lokale_pdf_fout: string | null;
162265
+ lokale_pdf_status: string | null;
160037
162266
  opgepakt_op: string | null;
160038
162267
  paginas: number;
160039
162268
  payload: import("../integrations/supabase/types").Json;
@@ -160042,6 +162271,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
160042
162271
  pogingen: number;
160043
162272
  printer_id: string | null;
160044
162273
  render_html: string | null;
162274
+ resultaat_pdf_base64: string | null;
160045
162275
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
160046
162276
  updated_at: string;
160047
162277
  volgende_poging: string | null;
@@ -160182,6 +162412,8 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
160182
162412
  order_id: string;
160183
162413
  order_source: string;
160184
162414
  pick_date: string;
162415
+ printed_at: string;
162416
+ printed_today: boolean;
160185
162417
  status: string;
160186
162418
  }[];
160187
162419
  };
@@ -160890,6 +163122,10 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
160890
163122
  };
160891
163123
  Returns: number;
160892
163124
  };
163125
+ logistics_cancel_orphan_tasks: {
163126
+ Args: never;
163127
+ Returns: number;
163128
+ };
160893
163129
  logistics_capacity_day_check: {
160894
163130
  Args: {
160895
163131
  p_from?: string;
@@ -160910,6 +163146,25 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
160910
163146
  };
160911
163147
  Returns: number;
160912
163148
  };
163149
+ logistics_cart_index: {
163150
+ Args: {
163151
+ p_from?: string;
163152
+ p_to?: string;
163153
+ };
163154
+ Returns: {
163155
+ cart_id: string;
163156
+ cart_index: number;
163157
+ cart_label: string;
163158
+ is_shared: boolean;
163159
+ order_number: string;
163160
+ order_source: string;
163161
+ order_uuid: string;
163162
+ pick_date: string;
163163
+ printed_at: string;
163164
+ shifted: boolean;
163165
+ task_status: string;
163166
+ }[];
163167
+ };
160913
163168
  logistics_check_order_allowed: {
160914
163169
  Args: {
160915
163170
  p_lines: import("../integrations/supabase/types").Json;
@@ -161058,6 +163313,17 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161058
163313
  isSetofReturn: false;
161059
163314
  };
161060
163315
  };
163316
+ logistics_consistency_check: {
163317
+ Args: never;
163318
+ Returns: {
163319
+ agenda_carts: number;
163320
+ control_carts: number;
163321
+ ok: boolean;
163322
+ orphan_tasks: number;
163323
+ pick_date: string;
163324
+ raw_carts: number;
163325
+ }[];
163326
+ };
161061
163327
  logistics_delay_customer_email: {
161062
163328
  Args: {
161063
163329
  p_customer: string;
@@ -161147,6 +163413,16 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161147
163413
  isSetofReturn: false;
161148
163414
  };
161149
163415
  };
163416
+ logistics_floriday_cart_plan: {
163417
+ Args: {
163418
+ p_order_id: string;
163419
+ };
163420
+ Returns: {
163421
+ carrier_type: string;
163422
+ idx: number;
163423
+ packages: number;
163424
+ }[];
163425
+ };
161150
163426
  logistics_floriday_claim_pushes: {
161151
163427
  Args: {
161152
163428
  _lease_seconds?: number;
@@ -161251,6 +163527,25 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161251
163527
  };
161252
163528
  Returns: number;
161253
163529
  };
163530
+ logistics_order_overview: {
163531
+ Args: {
163532
+ p_from?: string;
163533
+ p_to?: string;
163534
+ };
163535
+ Returns: {
163536
+ cart_count: number;
163537
+ customer_name: string;
163538
+ delivery_date: string;
163539
+ order_number: string;
163540
+ order_source: string;
163541
+ order_uuid: string;
163542
+ pick_date: string;
163543
+ plant_count: number;
163544
+ printed_at: string;
163545
+ shifted: boolean;
163546
+ status: string;
163547
+ }[];
163548
+ };
161254
163549
  logistics_order_pick_day: {
161255
163550
  Args: {
161256
163551
  p_order_ref: string;
@@ -161263,6 +163558,22 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161263
163558
  };
161264
163559
  Returns: string;
161265
163560
  };
163561
+ logistics_pick_agenda: {
163562
+ Args: {
163563
+ p_from?: string;
163564
+ p_to?: string;
163565
+ };
163566
+ Returns: {
163567
+ cart_count: number;
163568
+ in_preparation: number;
163569
+ order_count: number;
163570
+ orders: import("../integrations/supabase/types").Json;
163571
+ pick_date: string;
163572
+ plant_count: number;
163573
+ ready: number;
163574
+ shifted_count: number;
163575
+ }[];
163576
+ };
161266
163577
  logistics_pick_email_purpose: {
161267
163578
  Args: never;
161268
163579
  Returns: string;
@@ -161317,6 +163628,13 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161317
163628
  };
161318
163629
  Returns: undefined;
161319
163630
  };
163631
+ logistics_plan_floriday_order: {
163632
+ Args: {
163633
+ p_buffer_id?: string;
163634
+ p_order_id: string;
163635
+ };
163636
+ Returns: number;
163637
+ };
161320
163638
  logistics_plan_impact_orders: {
161321
163639
  Args: {
161322
163640
  p_order_id: string;
@@ -161422,6 +163740,15 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161422
163740
  };
161423
163741
  Returns: import("../integrations/supabase/types").Json;
161424
163742
  };
163743
+ logistics_resolve_pick_document: {
163744
+ Args: {
163745
+ _is_herprint: boolean;
163746
+ _queue_item_id: string;
163747
+ _session_id: string;
163748
+ _voorbeeld: boolean;
163749
+ };
163750
+ Returns: import("../integrations/supabase/types").Json;
163751
+ };
161425
163752
  logistics_resolve_settings: {
161426
163753
  Args: {
161427
163754
  p_config_id: string;
@@ -161552,14 +163879,6 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161552
163879
  };
161553
163880
  Returns: string;
161554
163881
  };
161555
- maps_cron_token: {
161556
- Args: never;
161557
- Returns: string;
161558
- };
161559
- maps_kick_queue: {
161560
- Args: never;
161561
- Returns: undefined;
161562
- };
161563
163882
  mark_offer_clicked: {
161564
163883
  Args: {
161565
163884
  p_code: string;
@@ -161870,6 +164189,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161870
164189
  };
161871
164190
  pick_enqueue_print_job: {
161872
164191
  Args: {
164192
+ _is_herprint?: boolean;
161873
164193
  _printer_id?: string;
161874
164194
  _queue_item_id: string;
161875
164195
  _session_id?: string;
@@ -161883,6 +164203,13 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
161883
164203
  };
161884
164204
  Returns: import("../integrations/supabase/types").Json;
161885
164205
  };
164206
+ pick_preview_job: {
164207
+ Args: {
164208
+ _queue_item_id: string;
164209
+ _station_slug: string;
164210
+ };
164211
+ Returns: import("../integrations/supabase/types").Json;
164212
+ };
161886
164213
  pick_print_job_status: {
161887
164214
  Args: {
161888
164215
  _job_id: string;
@@ -162060,6 +164387,24 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
162060
164387
  };
162061
164388
  Returns: undefined;
162062
164389
  };
164390
+ print_preview_toestaan: {
164391
+ Args: {
164392
+ _max?: number;
164393
+ _queue_item_id: string;
164394
+ _station_slug: string;
164395
+ _venster_sec?: number;
164396
+ };
164397
+ Returns: import("../integrations/supabase/types").Json;
164398
+ };
164399
+ print_preview_weiger: {
164400
+ Args: {
164401
+ _code: string;
164402
+ _queue_item_id: string;
164403
+ _reden: string;
164404
+ _station_slug: string;
164405
+ };
164406
+ Returns: undefined;
164407
+ };
162063
164408
  process_logistics_event: {
162064
164409
  Args: {
162065
164410
  p_event_id: string;
@@ -162177,6 +164522,14 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
162177
164522
  };
162178
164523
  Returns: undefined;
162179
164524
  };
164525
+ replace_order_carts: {
164526
+ Args: {
164527
+ p_buffer_id: string;
164528
+ p_carts: import("../integrations/supabase/types").Json;
164529
+ p_order_id: string;
164530
+ };
164531
+ Returns: import("../integrations/supabase/types").Json;
164532
+ };
162180
164533
  reset_floriday_sync_cursor: {
162181
164534
  Args: {
162182
164535
  p_connection_id: string;
@@ -162206,6 +164559,12 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
162206
164559
  };
162207
164560
  Returns: string;
162208
164561
  };
164562
+ resolve_print_job_printer_id: {
164563
+ Args: {
164564
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
164565
+ };
164566
+ Returns: string;
164567
+ };
162209
164568
  resolve_product_id_for_item: {
162210
164569
  Args: {
162211
164570
  p_product_name: string;
@@ -162797,7 +165156,7 @@ export declare const getActiveFloridayEnvironment: import("@tanstack/start-clien
162797
165156
  };
162798
165157
  CompositeTypes: { [_ in never]: never; };
162799
165158
  }, {
162800
- PostgrestVersion: "14.17";
165159
+ PostgrestVersion: "14.5";
162801
165160
  }>;
162802
165161
  userId: string;
162803
165162
  claims: import("@supabase/auth-js").User;