@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
@@ -2855,6 +2855,84 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
2855
2855
  };
2856
2856
  Relationships: [];
2857
2857
  };
2858
+ delivery_notes: {
2859
+ Row: {
2860
+ byte_size: number | null;
2861
+ connection_id: string | null;
2862
+ content_type: string;
2863
+ created_at: string;
2864
+ error_message: string | null;
2865
+ fetched_at: string | null;
2866
+ fulfillment_order_id: string | null;
2867
+ http_status: number | null;
2868
+ id: string;
2869
+ label_code: string | null;
2870
+ letter: string | null;
2871
+ load_carrier_index: number | null;
2872
+ load_carrier_type: string | null;
2873
+ order_id: string | null;
2874
+ order_number: string | null;
2875
+ packages: number | null;
2876
+ source: string;
2877
+ status: string;
2878
+ storage_bucket: string;
2879
+ storage_path: string | null;
2880
+ updated_at: string;
2881
+ };
2882
+ Insert: {
2883
+ byte_size?: number | null;
2884
+ connection_id?: string | null;
2885
+ content_type?: string;
2886
+ created_at?: string;
2887
+ error_message?: string | null;
2888
+ fetched_at?: string | null;
2889
+ fulfillment_order_id?: string | null;
2890
+ http_status?: number | null;
2891
+ id?: string;
2892
+ label_code?: string | null;
2893
+ letter?: string | null;
2894
+ load_carrier_index?: number | null;
2895
+ load_carrier_type?: string | null;
2896
+ order_id?: string | null;
2897
+ order_number?: string | null;
2898
+ packages?: number | null;
2899
+ source?: string;
2900
+ status?: string;
2901
+ storage_bucket?: string;
2902
+ storage_path?: string | null;
2903
+ updated_at?: string;
2904
+ };
2905
+ Update: {
2906
+ byte_size?: number | null;
2907
+ connection_id?: string | null;
2908
+ content_type?: string;
2909
+ created_at?: string;
2910
+ error_message?: string | null;
2911
+ fetched_at?: string | null;
2912
+ fulfillment_order_id?: string | null;
2913
+ http_status?: number | null;
2914
+ id?: string;
2915
+ label_code?: string | null;
2916
+ letter?: string | null;
2917
+ load_carrier_index?: number | null;
2918
+ load_carrier_type?: string | null;
2919
+ order_id?: string | null;
2920
+ order_number?: string | null;
2921
+ packages?: number | null;
2922
+ source?: string;
2923
+ status?: string;
2924
+ storage_bucket?: string;
2925
+ storage_path?: string | null;
2926
+ updated_at?: string;
2927
+ };
2928
+ Relationships: [{
2929
+ foreignKeyName: "delivery_notes_order_id_fkey";
2930
+ columns: ["order_id"];
2931
+ isOneToOne: false;
2932
+ referencedRelation: "orders";
2933
+ referencedColumns: ["id"];
2934
+ }];
2935
+ };
2858
2936
  document_bronregels: {
2859
2937
  Row: {
2860
2938
  bron: string;
@@ -5908,10 +5986,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
5908
5986
  };
5909
5987
  floriday_connections: {
5910
5988
  Row: {
5911
- access_token: string | null;
5912
5989
  api_key: string;
5913
- client_id: string;
5914
- client_secret: string;
5915
5990
  created_at: string;
5916
5991
  customers_endpoint: string | null;
5917
5992
  environment: string;
@@ -5926,10 +6001,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
5926
6001
  updated_at: string;
5927
6002
  };
5928
6003
  Insert: {
5929
- access_token?: string | null;
5930
6004
  api_key: string;
5931
- client_id: string;
5932
- client_secret: string;
5933
6005
  created_at?: string;
5934
6006
  customers_endpoint?: string | null;
5935
6007
  environment: string;
@@ -5944,10 +6016,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
5944
6016
  updated_at?: string;
5945
6017
  };
5946
6018
  Update: {
5947
- access_token?: string | null;
5948
6019
  api_key?: string;
5949
- client_id?: string;
5950
- client_secret?: string;
5951
6020
  created_at?: string;
5952
6021
  customers_endpoint?: string | null;
5953
6022
  environment?: string;
@@ -10818,6 +10887,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10818
10887
  last_error: string | null;
10819
10888
  last_error_at: string | null;
10820
10889
  last_success_at: string | null;
10890
+ provider: string;
10821
10891
  updated_at: string;
10822
10892
  };
10823
10893
  Insert: {
@@ -10829,6 +10899,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10829
10899
  last_error?: string | null;
10830
10900
  last_error_at?: string | null;
10831
10901
  last_success_at?: string | null;
10902
+ provider?: string;
10832
10903
  updated_at?: string;
10833
10904
  };
10834
10905
  Update: {
@@ -10840,6 +10911,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
10840
10911
  last_error?: string | null;
10841
10912
  last_error_at?: string | null;
10842
10913
  last_success_at?: string | null;
10914
+ provider?: string;
10843
10915
  updated_at?: string;
10844
10916
  };
10845
10917
  Relationships: [];
@@ -13577,6 +13649,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13577
13649
  };
13578
13650
  Relationships: [];
13579
13651
  };
13652
+ print_dedupe_events: {
13653
+ Row: {
13654
+ bestaande_job_id: string | null;
13655
+ created_at: string;
13656
+ detail: string | null;
13657
+ documentnaam: string | null;
13658
+ documenttype: string | null;
13659
+ id: string;
13660
+ idempotentie_sleutel: string;
13661
+ reden: string;
13662
+ };
13663
+ Insert: {
13664
+ bestaande_job_id?: string | null;
13665
+ created_at?: string;
13666
+ detail?: string | null;
13667
+ documentnaam?: string | null;
13668
+ documenttype?: string | null;
13669
+ id?: string;
13670
+ idempotentie_sleutel: string;
13671
+ reden: string;
13672
+ };
13673
+ Update: {
13674
+ bestaande_job_id?: string | null;
13675
+ created_at?: string;
13676
+ detail?: string | null;
13677
+ documentnaam?: string | null;
13678
+ documenttype?: string | null;
13679
+ id?: string;
13680
+ idempotentie_sleutel?: string;
13681
+ reden?: string;
13682
+ };
13683
+ Relationships: [];
13684
+ };
13580
13685
  print_job_logs: {
13581
13686
  Row: {
13582
13687
  created_at: string;
@@ -13627,6 +13732,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13627
13732
  is_herprint: boolean;
13628
13733
  kopieen: number;
13629
13734
  layout_id: string | null;
13735
+ lokaal_opgeslagen_op: string | null;
13736
+ lokale_pdf_fout: string | null;
13737
+ lokale_pdf_status: string | null;
13630
13738
  opgepakt_op: string | null;
13631
13739
  paginas: number;
13632
13740
  payload: import("../integrations/supabase/types").Json;
@@ -13635,6 +13743,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13635
13743
  pogingen: number;
13636
13744
  printer_id: string | null;
13637
13745
  render_html: string | null;
13746
+ resultaat_pdf_base64: string | null;
13638
13747
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13639
13748
  updated_at: string;
13640
13749
  volgende_poging: string | null;
@@ -13659,6 +13768,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13659
13768
  is_herprint?: boolean;
13660
13769
  kopieen?: number;
13661
13770
  layout_id?: string | null;
13771
+ lokaal_opgeslagen_op?: string | null;
13772
+ lokale_pdf_fout?: string | null;
13773
+ lokale_pdf_status?: string | null;
13662
13774
  opgepakt_op?: string | null;
13663
13775
  paginas?: number;
13664
13776
  payload?: import("../integrations/supabase/types").Json;
@@ -13667,6 +13779,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13667
13779
  pogingen?: number;
13668
13780
  printer_id?: string | null;
13669
13781
  render_html?: string | null;
13782
+ resultaat_pdf_base64?: string | null;
13670
13783
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13671
13784
  updated_at?: string;
13672
13785
  volgende_poging?: string | null;
@@ -13691,6 +13804,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13691
13804
  is_herprint?: boolean;
13692
13805
  kopieen?: number;
13693
13806
  layout_id?: string | null;
13807
+ lokaal_opgeslagen_op?: string | null;
13808
+ lokale_pdf_fout?: string | null;
13809
+ lokale_pdf_status?: string | null;
13694
13810
  opgepakt_op?: string | null;
13695
13811
  paginas?: number;
13696
13812
  payload?: import("../integrations/supabase/types").Json;
@@ -13699,6 +13815,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13699
13815
  pogingen?: number;
13700
13816
  printer_id?: string | null;
13701
13817
  render_html?: string | null;
13818
+ resultaat_pdf_base64?: string | null;
13702
13819
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13703
13820
  updated_at?: string;
13704
13821
  volgende_poging?: string | null;
@@ -13817,6 +13934,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13817
13934
  };
13818
13935
  Relationships: [];
13819
13936
  };
13937
+ print_preview_events: {
13938
+ Row: {
13939
+ code: string | null;
13940
+ created_at: string;
13941
+ detail: import("../integrations/supabase/types").Json;
13942
+ id: string;
13943
+ queue_item_id: string | null;
13944
+ reden: string | null;
13945
+ station_slug: string | null;
13946
+ uitkomst: string;
13947
+ };
13948
+ Insert: {
13949
+ code?: string | null;
13950
+ created_at?: string;
13951
+ detail?: import("../integrations/supabase/types").Json;
13952
+ id?: string;
13953
+ queue_item_id?: string | null;
13954
+ reden?: string | null;
13955
+ station_slug?: string | null;
13956
+ uitkomst?: string;
13957
+ };
13958
+ Update: {
13959
+ code?: string | null;
13960
+ created_at?: string;
13961
+ detail?: import("../integrations/supabase/types").Json;
13962
+ id?: string;
13963
+ queue_item_id?: string | null;
13964
+ reden?: string | null;
13965
+ station_slug?: string | null;
13966
+ uitkomst?: string;
13967
+ };
13968
+ Relationships: [];
13969
+ };
13820
13970
  print_queue_runners: {
13821
13971
  Row: {
13822
13972
  actief: boolean;
@@ -14056,6 +14206,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
14056
14206
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14057
14207
  online: boolean;
14058
14208
  papierformaat: string;
14209
+ pdf_map: string | null;
14059
14210
  poort: number | null;
14060
14211
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14061
14212
  systeemnaam: string;
@@ -14081,6 +14232,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
14081
14232
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14082
14233
  online?: boolean;
14083
14234
  papierformaat?: string;
14235
+ pdf_map?: string | null;
14084
14236
  poort?: number | null;
14085
14237
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14086
14238
  systeemnaam?: string;
@@ -14106,6 +14258,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
14106
14258
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14107
14259
  online?: boolean;
14108
14260
  papierformaat?: string;
14261
+ pdf_map?: string | null;
14109
14262
  poort?: number | null;
14110
14263
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14111
14264
  systeemnaam?: string;
@@ -20362,6 +20515,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20362
20515
  is_herprint: boolean;
20363
20516
  kopieen: number;
20364
20517
  layout_id: string | null;
20518
+ lokaal_opgeslagen_op: string | null;
20519
+ lokale_pdf_fout: string | null;
20520
+ lokale_pdf_status: string | null;
20365
20521
  opgepakt_op: string | null;
20366
20522
  paginas: number;
20367
20523
  payload: import("../integrations/supabase/types").Json;
@@ -20370,6 +20526,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20370
20526
  pogingen: number;
20371
20527
  printer_id: string | null;
20372
20528
  render_html: string | null;
20529
+ resultaat_pdf_base64: string | null;
20373
20530
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20374
20531
  updated_at: string;
20375
20532
  volgende_poging: string | null;
@@ -20461,6 +20618,53 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20461
20618
  isSetofReturn: true;
20462
20619
  };
20463
20620
  };
20621
+ claim_pdf_print_jobs: {
20622
+ Args: {
20623
+ _max?: number;
20624
+ };
20625
+ Returns: {
20626
+ agent_id: string | null;
20627
+ bron_job_id: string | null;
20628
+ created_at: string;
20629
+ documentnaam: string;
20630
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20631
+ extern_job_id: string | null;
20632
+ foutmelding: string | null;
20633
+ gebruiker_id: string | null;
20634
+ gebruiker_naam: string;
20635
+ gebruikte_bron: string | null;
20636
+ gebruikte_layout_id: string | null;
20637
+ gestart_op: string | null;
20638
+ herkomst: string | null;
20639
+ id: string;
20640
+ idempotentie_sleutel: string | null;
20641
+ is_herprint: boolean;
20642
+ kopieen: number;
20643
+ layout_id: string | null;
20644
+ lokaal_opgeslagen_op: string | null;
20645
+ lokale_pdf_fout: string | null;
20646
+ lokale_pdf_status: string | null;
20647
+ opgepakt_op: string | null;
20648
+ paginas: number;
20649
+ payload: import("../integrations/supabase/types").Json;
20650
+ pdf_base64: string | null;
20651
+ pdf_url: string | null;
20652
+ pogingen: number;
20653
+ printer_id: string | null;
20654
+ render_html: string | null;
20655
+ resultaat_pdf_base64: string | null;
20656
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20657
+ updated_at: string;
20658
+ volgende_poging: string | null;
20659
+ voltooid_op: string | null;
20660
+ }[];
20661
+ SetofOptions: {
20662
+ from: "*";
20663
+ to: "print_jobs";
20664
+ isOneToOne: false;
20665
+ isSetofReturn: true;
20666
+ };
20667
+ };
20464
20668
  claim_print_jobs: {
20465
20669
  Args: {
20466
20670
  _agent_id: string;
@@ -20485,6 +20689,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20485
20689
  is_herprint: boolean;
20486
20690
  kopieen: number;
20487
20691
  layout_id: string | null;
20692
+ lokaal_opgeslagen_op: string | null;
20693
+ lokale_pdf_fout: string | null;
20694
+ lokale_pdf_status: string | null;
20488
20695
  opgepakt_op: string | null;
20489
20696
  paginas: number;
20490
20697
  payload: import("../integrations/supabase/types").Json;
@@ -20493,6 +20700,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20493
20700
  pogingen: number;
20494
20701
  printer_id: string | null;
20495
20702
  render_html: string | null;
20703
+ resultaat_pdf_base64: string | null;
20496
20704
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20497
20705
  updated_at: string;
20498
20706
  volgende_poging: string | null;
@@ -20633,6 +20841,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20633
20841
  order_id: string;
20634
20842
  order_source: string;
20635
20843
  pick_date: string;
20844
+ printed_at: string;
20845
+ printed_today: boolean;
20636
20846
  status: string;
20637
20847
  }[];
20638
20848
  };
@@ -21341,6 +21551,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21341
21551
  };
21342
21552
  Returns: number;
21343
21553
  };
21554
+ logistics_cancel_orphan_tasks: {
21555
+ Args: never;
21556
+ Returns: number;
21557
+ };
21344
21558
  logistics_capacity_day_check: {
21345
21559
  Args: {
21346
21560
  p_from?: string;
@@ -21361,6 +21575,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21361
21575
  };
21362
21576
  Returns: number;
21363
21577
  };
21578
+ logistics_cart_index: {
21579
+ Args: {
21580
+ p_from?: string;
21581
+ p_to?: string;
21582
+ };
21583
+ Returns: {
21584
+ cart_id: string;
21585
+ cart_index: number;
21586
+ cart_label: string;
21587
+ is_shared: boolean;
21588
+ order_number: string;
21589
+ order_source: string;
21590
+ order_uuid: string;
21591
+ pick_date: string;
21592
+ printed_at: string;
21593
+ shifted: boolean;
21594
+ task_status: string;
21595
+ }[];
21596
+ };
21364
21597
  logistics_check_order_allowed: {
21365
21598
  Args: {
21366
21599
  p_lines: import("../integrations/supabase/types").Json;
@@ -21509,6 +21742,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21509
21742
  isSetofReturn: false;
21510
21743
  };
21511
21744
  };
21745
+ logistics_consistency_check: {
21746
+ Args: never;
21747
+ Returns: {
21748
+ agenda_carts: number;
21749
+ control_carts: number;
21750
+ ok: boolean;
21751
+ orphan_tasks: number;
21752
+ pick_date: string;
21753
+ raw_carts: number;
21754
+ }[];
21755
+ };
21512
21756
  logistics_delay_customer_email: {
21513
21757
  Args: {
21514
21758
  p_customer: string;
@@ -21598,6 +21842,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21598
21842
  isSetofReturn: false;
21599
21843
  };
21600
21844
  };
21845
+ logistics_floriday_cart_plan: {
21846
+ Args: {
21847
+ p_order_id: string;
21848
+ };
21849
+ Returns: {
21850
+ carrier_type: string;
21851
+ idx: number;
21852
+ packages: number;
21853
+ }[];
21854
+ };
21601
21855
  logistics_floriday_claim_pushes: {
21602
21856
  Args: {
21603
21857
  _lease_seconds?: number;
@@ -21702,6 +21956,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21702
21956
  };
21703
21957
  Returns: number;
21704
21958
  };
21959
+ logistics_order_overview: {
21960
+ Args: {
21961
+ p_from?: string;
21962
+ p_to?: string;
21963
+ };
21964
+ Returns: {
21965
+ cart_count: number;
21966
+ customer_name: string;
21967
+ delivery_date: string;
21968
+ order_number: string;
21969
+ order_source: string;
21970
+ order_uuid: string;
21971
+ pick_date: string;
21972
+ plant_count: number;
21973
+ printed_at: string;
21974
+ shifted: boolean;
21975
+ status: string;
21976
+ }[];
21977
+ };
21705
21978
  logistics_order_pick_day: {
21706
21979
  Args: {
21707
21980
  p_order_ref: string;
@@ -21714,6 +21987,22 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21714
21987
  };
21715
21988
  Returns: string;
21716
21989
  };
21990
+ logistics_pick_agenda: {
21991
+ Args: {
21992
+ p_from?: string;
21993
+ p_to?: string;
21994
+ };
21995
+ Returns: {
21996
+ cart_count: number;
21997
+ in_preparation: number;
21998
+ order_count: number;
21999
+ orders: import("../integrations/supabase/types").Json;
22000
+ pick_date: string;
22001
+ plant_count: number;
22002
+ ready: number;
22003
+ shifted_count: number;
22004
+ }[];
22005
+ };
21717
22006
  logistics_pick_email_purpose: {
21718
22007
  Args: never;
21719
22008
  Returns: string;
@@ -21768,6 +22057,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21768
22057
  };
21769
22058
  Returns: undefined;
21770
22059
  };
22060
+ logistics_plan_floriday_order: {
22061
+ Args: {
22062
+ p_buffer_id?: string;
22063
+ p_order_id: string;
22064
+ };
22065
+ Returns: number;
22066
+ };
21771
22067
  logistics_plan_impact_orders: {
21772
22068
  Args: {
21773
22069
  p_order_id: string;
@@ -21873,6 +22169,15 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21873
22169
  };
21874
22170
  Returns: import("../integrations/supabase/types").Json;
21875
22171
  };
22172
+ logistics_resolve_pick_document: {
22173
+ Args: {
22174
+ _is_herprint: boolean;
22175
+ _queue_item_id: string;
22176
+ _session_id: string;
22177
+ _voorbeeld: boolean;
22178
+ };
22179
+ Returns: import("../integrations/supabase/types").Json;
22180
+ };
21876
22181
  logistics_resolve_settings: {
21877
22182
  Args: {
21878
22183
  p_config_id: string;
@@ -22003,14 +22308,6 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22003
22308
  };
22004
22309
  Returns: string;
22005
22310
  };
22006
- maps_cron_token: {
22007
- Args: never;
22008
- Returns: string;
22009
- };
22010
- maps_kick_queue: {
22011
- Args: never;
22012
- Returns: undefined;
22013
- };
22014
22311
  mark_offer_clicked: {
22015
22312
  Args: {
22016
22313
  p_code: string;
@@ -22321,6 +22618,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22321
22618
  };
22322
22619
  pick_enqueue_print_job: {
22323
22620
  Args: {
22621
+ _is_herprint?: boolean;
22324
22622
  _printer_id?: string;
22325
22623
  _queue_item_id: string;
22326
22624
  _session_id?: string;
@@ -22334,6 +22632,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22334
22632
  };
22335
22633
  Returns: import("../integrations/supabase/types").Json;
22336
22634
  };
22635
+ pick_preview_job: {
22636
+ Args: {
22637
+ _queue_item_id: string;
22638
+ _station_slug: string;
22639
+ };
22640
+ Returns: import("../integrations/supabase/types").Json;
22641
+ };
22337
22642
  pick_print_job_status: {
22338
22643
  Args: {
22339
22644
  _job_id: string;
@@ -22511,6 +22816,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22511
22816
  };
22512
22817
  Returns: undefined;
22513
22818
  };
22819
+ print_preview_toestaan: {
22820
+ Args: {
22821
+ _max?: number;
22822
+ _queue_item_id: string;
22823
+ _station_slug: string;
22824
+ _venster_sec?: number;
22825
+ };
22826
+ Returns: import("../integrations/supabase/types").Json;
22827
+ };
22828
+ print_preview_weiger: {
22829
+ Args: {
22830
+ _code: string;
22831
+ _queue_item_id: string;
22832
+ _reden: string;
22833
+ _station_slug: string;
22834
+ };
22835
+ Returns: undefined;
22836
+ };
22514
22837
  process_logistics_event: {
22515
22838
  Args: {
22516
22839
  p_event_id: string;
@@ -22628,6 +22951,14 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22628
22951
  };
22629
22952
  Returns: undefined;
22630
22953
  };
22954
+ replace_order_carts: {
22955
+ Args: {
22956
+ p_buffer_id: string;
22957
+ p_carts: import("../integrations/supabase/types").Json;
22958
+ p_order_id: string;
22959
+ };
22960
+ Returns: import("../integrations/supabase/types").Json;
22961
+ };
22631
22962
  reset_floriday_sync_cursor: {
22632
22963
  Args: {
22633
22964
  p_connection_id: string;
@@ -22657,6 +22988,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22657
22988
  };
22658
22989
  Returns: string;
22659
22990
  };
22991
+ resolve_print_job_printer_id: {
22992
+ Args: {
22993
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22994
+ };
22995
+ Returns: string;
22996
+ };
22660
22997
  resolve_product_id_for_item: {
22661
22998
  Args: {
22662
22999
  p_product_name: string;
@@ -23248,7 +23585,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23248
23585
  };
23249
23586
  CompositeTypes: { [_ in never]: never; };
23250
23587
  }, {
23251
- PostgrestVersion: "14.17";
23588
+ PostgrestVersion: "14.5";
23252
23589
  }>;
23253
23590
  userId: string;
23254
23591
  claims: import("@supabase/auth-js").User;
@@ -26113,6 +26450,84 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
26113
26450
  };
26114
26451
  Relationships: [];
26115
26452
  };
26453
+ delivery_notes: {
26454
+ Row: {
26455
+ byte_size: number | null;
26456
+ connection_id: string | null;
26457
+ content_type: string;
26458
+ created_at: string;
26459
+ error_message: string | null;
26460
+ fetched_at: string | null;
26461
+ fulfillment_order_id: string | null;
26462
+ http_status: number | null;
26463
+ id: string;
26464
+ label_code: string | null;
26465
+ letter: string | null;
26466
+ load_carrier_index: number | null;
26467
+ load_carrier_type: string | null;
26468
+ order_id: string | null;
26469
+ order_number: string | null;
26470
+ packages: number | null;
26471
+ source: string;
26472
+ status: string;
26473
+ storage_bucket: string;
26474
+ storage_path: string | null;
26475
+ updated_at: string;
26476
+ };
26477
+ Insert: {
26478
+ byte_size?: number | null;
26479
+ connection_id?: string | null;
26480
+ content_type?: string;
26481
+ created_at?: string;
26482
+ error_message?: string | null;
26483
+ fetched_at?: string | null;
26484
+ fulfillment_order_id?: string | null;
26485
+ http_status?: number | null;
26486
+ id?: string;
26487
+ label_code?: string | null;
26488
+ letter?: string | null;
26489
+ load_carrier_index?: number | null;
26490
+ load_carrier_type?: string | null;
26491
+ order_id?: string | null;
26492
+ order_number?: string | null;
26493
+ packages?: number | null;
26494
+ source?: string;
26495
+ status?: string;
26496
+ storage_bucket?: string;
26497
+ storage_path?: string | null;
26498
+ updated_at?: string;
26499
+ };
26500
+ Update: {
26501
+ byte_size?: number | null;
26502
+ connection_id?: string | null;
26503
+ content_type?: string;
26504
+ created_at?: string;
26505
+ error_message?: string | null;
26506
+ fetched_at?: string | null;
26507
+ fulfillment_order_id?: string | null;
26508
+ http_status?: number | null;
26509
+ id?: string;
26510
+ label_code?: string | null;
26511
+ letter?: string | null;
26512
+ load_carrier_index?: number | null;
26513
+ load_carrier_type?: string | null;
26514
+ order_id?: string | null;
26515
+ order_number?: string | null;
26516
+ packages?: number | null;
26517
+ source?: string;
26518
+ status?: string;
26519
+ storage_bucket?: string;
26520
+ storage_path?: string | null;
26521
+ updated_at?: string;
26522
+ };
26523
+ Relationships: [{
26524
+ foreignKeyName: "delivery_notes_order_id_fkey";
26525
+ columns: ["order_id"];
26526
+ isOneToOne: false;
26527
+ referencedRelation: "orders";
26528
+ referencedColumns: ["id"];
26529
+ }];
26530
+ };
26116
26531
  document_bronregels: {
26117
26532
  Row: {
26118
26533
  bron: string;
@@ -29166,10 +29581,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29166
29581
  };
29167
29582
  floriday_connections: {
29168
29583
  Row: {
29169
- access_token: string | null;
29170
29584
  api_key: string;
29171
- client_id: string;
29172
- client_secret: string;
29173
29585
  created_at: string;
29174
29586
  customers_endpoint: string | null;
29175
29587
  environment: string;
@@ -29184,10 +29596,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29184
29596
  updated_at: string;
29185
29597
  };
29186
29598
  Insert: {
29187
- access_token?: string | null;
29188
29599
  api_key: string;
29189
- client_id: string;
29190
- client_secret: string;
29191
29600
  created_at?: string;
29192
29601
  customers_endpoint?: string | null;
29193
29602
  environment: string;
@@ -29202,10 +29611,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29202
29611
  updated_at?: string;
29203
29612
  };
29204
29613
  Update: {
29205
- access_token?: string | null;
29206
29614
  api_key?: string;
29207
- client_id?: string;
29208
- client_secret?: string;
29209
29615
  created_at?: string;
29210
29616
  customers_endpoint?: string | null;
29211
29617
  environment?: string;
@@ -34076,6 +34482,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
34076
34482
  last_error: string | null;
34077
34483
  last_error_at: string | null;
34078
34484
  last_success_at: string | null;
34485
+ provider: string;
34079
34486
  updated_at: string;
34080
34487
  };
34081
34488
  Insert: {
@@ -34087,6 +34494,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
34087
34494
  last_error?: string | null;
34088
34495
  last_error_at?: string | null;
34089
34496
  last_success_at?: string | null;
34497
+ provider?: string;
34090
34498
  updated_at?: string;
34091
34499
  };
34092
34500
  Update: {
@@ -34098,6 +34506,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
34098
34506
  last_error?: string | null;
34099
34507
  last_error_at?: string | null;
34100
34508
  last_success_at?: string | null;
34509
+ provider?: string;
34101
34510
  updated_at?: string;
34102
34511
  };
34103
34512
  Relationships: [];
@@ -36835,6 +37244,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36835
37244
  };
36836
37245
  Relationships: [];
36837
37246
  };
37247
+ print_dedupe_events: {
37248
+ Row: {
37249
+ bestaande_job_id: string | null;
37250
+ created_at: string;
37251
+ detail: string | null;
37252
+ documentnaam: string | null;
37253
+ documenttype: string | null;
37254
+ id: string;
37255
+ idempotentie_sleutel: string;
37256
+ reden: string;
37257
+ };
37258
+ Insert: {
37259
+ bestaande_job_id?: string | null;
37260
+ created_at?: string;
37261
+ detail?: string | null;
37262
+ documentnaam?: string | null;
37263
+ documenttype?: string | null;
37264
+ id?: string;
37265
+ idempotentie_sleutel: string;
37266
+ reden: string;
37267
+ };
37268
+ Update: {
37269
+ bestaande_job_id?: string | null;
37270
+ created_at?: string;
37271
+ detail?: string | null;
37272
+ documentnaam?: string | null;
37273
+ documenttype?: string | null;
37274
+ id?: string;
37275
+ idempotentie_sleutel?: string;
37276
+ reden?: string;
37277
+ };
37278
+ Relationships: [];
37279
+ };
36838
37280
  print_job_logs: {
36839
37281
  Row: {
36840
37282
  created_at: string;
@@ -36885,6 +37327,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36885
37327
  is_herprint: boolean;
36886
37328
  kopieen: number;
36887
37329
  layout_id: string | null;
37330
+ lokaal_opgeslagen_op: string | null;
37331
+ lokale_pdf_fout: string | null;
37332
+ lokale_pdf_status: string | null;
36888
37333
  opgepakt_op: string | null;
36889
37334
  paginas: number;
36890
37335
  payload: import("../integrations/supabase/types").Json;
@@ -36893,6 +37338,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36893
37338
  pogingen: number;
36894
37339
  printer_id: string | null;
36895
37340
  render_html: string | null;
37341
+ resultaat_pdf_base64: string | null;
36896
37342
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36897
37343
  updated_at: string;
36898
37344
  volgende_poging: string | null;
@@ -36917,6 +37363,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36917
37363
  is_herprint?: boolean;
36918
37364
  kopieen?: number;
36919
37365
  layout_id?: string | null;
37366
+ lokaal_opgeslagen_op?: string | null;
37367
+ lokale_pdf_fout?: string | null;
37368
+ lokale_pdf_status?: string | null;
36920
37369
  opgepakt_op?: string | null;
36921
37370
  paginas?: number;
36922
37371
  payload?: import("../integrations/supabase/types").Json;
@@ -36925,6 +37374,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36925
37374
  pogingen?: number;
36926
37375
  printer_id?: string | null;
36927
37376
  render_html?: string | null;
37377
+ resultaat_pdf_base64?: string | null;
36928
37378
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36929
37379
  updated_at?: string;
36930
37380
  volgende_poging?: string | null;
@@ -36949,6 +37399,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36949
37399
  is_herprint?: boolean;
36950
37400
  kopieen?: number;
36951
37401
  layout_id?: string | null;
37402
+ lokaal_opgeslagen_op?: string | null;
37403
+ lokale_pdf_fout?: string | null;
37404
+ lokale_pdf_status?: string | null;
36952
37405
  opgepakt_op?: string | null;
36953
37406
  paginas?: number;
36954
37407
  payload?: import("../integrations/supabase/types").Json;
@@ -36957,6 +37410,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36957
37410
  pogingen?: number;
36958
37411
  printer_id?: string | null;
36959
37412
  render_html?: string | null;
37413
+ resultaat_pdf_base64?: string | null;
36960
37414
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36961
37415
  updated_at?: string;
36962
37416
  volgende_poging?: string | null;
@@ -37075,6 +37529,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37075
37529
  };
37076
37530
  Relationships: [];
37077
37531
  };
37532
+ print_preview_events: {
37533
+ Row: {
37534
+ code: string | null;
37535
+ created_at: string;
37536
+ detail: import("../integrations/supabase/types").Json;
37537
+ id: string;
37538
+ queue_item_id: string | null;
37539
+ reden: string | null;
37540
+ station_slug: string | null;
37541
+ uitkomst: string;
37542
+ };
37543
+ Insert: {
37544
+ code?: string | null;
37545
+ created_at?: string;
37546
+ detail?: import("../integrations/supabase/types").Json;
37547
+ id?: string;
37548
+ queue_item_id?: string | null;
37549
+ reden?: string | null;
37550
+ station_slug?: string | null;
37551
+ uitkomst?: string;
37552
+ };
37553
+ Update: {
37554
+ code?: string | null;
37555
+ created_at?: string;
37556
+ detail?: import("../integrations/supabase/types").Json;
37557
+ id?: string;
37558
+ queue_item_id?: string | null;
37559
+ reden?: string | null;
37560
+ station_slug?: string | null;
37561
+ uitkomst?: string;
37562
+ };
37563
+ Relationships: [];
37564
+ };
37078
37565
  print_queue_runners: {
37079
37566
  Row: {
37080
37567
  actief: boolean;
@@ -37314,6 +37801,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37314
37801
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37315
37802
  online: boolean;
37316
37803
  papierformaat: string;
37804
+ pdf_map: string | null;
37317
37805
  poort: number | null;
37318
37806
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37319
37807
  systeemnaam: string;
@@ -37339,6 +37827,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37339
37827
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37340
37828
  online?: boolean;
37341
37829
  papierformaat?: string;
37830
+ pdf_map?: string | null;
37342
37831
  poort?: number | null;
37343
37832
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37344
37833
  systeemnaam?: string;
@@ -37364,6 +37853,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37364
37853
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37365
37854
  online?: boolean;
37366
37855
  papierformaat?: string;
37856
+ pdf_map?: string | null;
37367
37857
  poort?: number | null;
37368
37858
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37369
37859
  systeemnaam?: string;
@@ -43620,6 +44110,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43620
44110
  is_herprint: boolean;
43621
44111
  kopieen: number;
43622
44112
  layout_id: string | null;
44113
+ lokaal_opgeslagen_op: string | null;
44114
+ lokale_pdf_fout: string | null;
44115
+ lokale_pdf_status: string | null;
43623
44116
  opgepakt_op: string | null;
43624
44117
  paginas: number;
43625
44118
  payload: import("../integrations/supabase/types").Json;
@@ -43628,6 +44121,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43628
44121
  pogingen: number;
43629
44122
  printer_id: string | null;
43630
44123
  render_html: string | null;
44124
+ resultaat_pdf_base64: string | null;
43631
44125
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43632
44126
  updated_at: string;
43633
44127
  volgende_poging: string | null;
@@ -43719,6 +44213,53 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43719
44213
  isSetofReturn: true;
43720
44214
  };
43721
44215
  };
44216
+ claim_pdf_print_jobs: {
44217
+ Args: {
44218
+ _max?: number;
44219
+ };
44220
+ Returns: {
44221
+ agent_id: string | null;
44222
+ bron_job_id: string | null;
44223
+ created_at: string;
44224
+ documentnaam: string;
44225
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44226
+ extern_job_id: string | null;
44227
+ foutmelding: string | null;
44228
+ gebruiker_id: string | null;
44229
+ gebruiker_naam: string;
44230
+ gebruikte_bron: string | null;
44231
+ gebruikte_layout_id: string | null;
44232
+ gestart_op: string | null;
44233
+ herkomst: string | null;
44234
+ id: string;
44235
+ idempotentie_sleutel: string | null;
44236
+ is_herprint: boolean;
44237
+ kopieen: number;
44238
+ layout_id: string | null;
44239
+ lokaal_opgeslagen_op: string | null;
44240
+ lokale_pdf_fout: string | null;
44241
+ lokale_pdf_status: string | null;
44242
+ opgepakt_op: string | null;
44243
+ paginas: number;
44244
+ payload: import("../integrations/supabase/types").Json;
44245
+ pdf_base64: string | null;
44246
+ pdf_url: string | null;
44247
+ pogingen: number;
44248
+ printer_id: string | null;
44249
+ render_html: string | null;
44250
+ resultaat_pdf_base64: string | null;
44251
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44252
+ updated_at: string;
44253
+ volgende_poging: string | null;
44254
+ voltooid_op: string | null;
44255
+ }[];
44256
+ SetofOptions: {
44257
+ from: "*";
44258
+ to: "print_jobs";
44259
+ isOneToOne: false;
44260
+ isSetofReturn: true;
44261
+ };
44262
+ };
43722
44263
  claim_print_jobs: {
43723
44264
  Args: {
43724
44265
  _agent_id: string;
@@ -43743,6 +44284,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43743
44284
  is_herprint: boolean;
43744
44285
  kopieen: number;
43745
44286
  layout_id: string | null;
44287
+ lokaal_opgeslagen_op: string | null;
44288
+ lokale_pdf_fout: string | null;
44289
+ lokale_pdf_status: string | null;
43746
44290
  opgepakt_op: string | null;
43747
44291
  paginas: number;
43748
44292
  payload: import("../integrations/supabase/types").Json;
@@ -43751,6 +44295,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43751
44295
  pogingen: number;
43752
44296
  printer_id: string | null;
43753
44297
  render_html: string | null;
44298
+ resultaat_pdf_base64: string | null;
43754
44299
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43755
44300
  updated_at: string;
43756
44301
  volgende_poging: string | null;
@@ -43891,6 +44436,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43891
44436
  order_id: string;
43892
44437
  order_source: string;
43893
44438
  pick_date: string;
44439
+ printed_at: string;
44440
+ printed_today: boolean;
43894
44441
  status: string;
43895
44442
  }[];
43896
44443
  };
@@ -44599,6 +45146,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44599
45146
  };
44600
45147
  Returns: number;
44601
45148
  };
45149
+ logistics_cancel_orphan_tasks: {
45150
+ Args: never;
45151
+ Returns: number;
45152
+ };
44602
45153
  logistics_capacity_day_check: {
44603
45154
  Args: {
44604
45155
  p_from?: string;
@@ -44619,6 +45170,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44619
45170
  };
44620
45171
  Returns: number;
44621
45172
  };
45173
+ logistics_cart_index: {
45174
+ Args: {
45175
+ p_from?: string;
45176
+ p_to?: string;
45177
+ };
45178
+ Returns: {
45179
+ cart_id: string;
45180
+ cart_index: number;
45181
+ cart_label: string;
45182
+ is_shared: boolean;
45183
+ order_number: string;
45184
+ order_source: string;
45185
+ order_uuid: string;
45186
+ pick_date: string;
45187
+ printed_at: string;
45188
+ shifted: boolean;
45189
+ task_status: string;
45190
+ }[];
45191
+ };
44622
45192
  logistics_check_order_allowed: {
44623
45193
  Args: {
44624
45194
  p_lines: import("../integrations/supabase/types").Json;
@@ -44767,6 +45337,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44767
45337
  isSetofReturn: false;
44768
45338
  };
44769
45339
  };
45340
+ logistics_consistency_check: {
45341
+ Args: never;
45342
+ Returns: {
45343
+ agenda_carts: number;
45344
+ control_carts: number;
45345
+ ok: boolean;
45346
+ orphan_tasks: number;
45347
+ pick_date: string;
45348
+ raw_carts: number;
45349
+ }[];
45350
+ };
44770
45351
  logistics_delay_customer_email: {
44771
45352
  Args: {
44772
45353
  p_customer: string;
@@ -44856,6 +45437,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44856
45437
  isSetofReturn: false;
44857
45438
  };
44858
45439
  };
45440
+ logistics_floriday_cart_plan: {
45441
+ Args: {
45442
+ p_order_id: string;
45443
+ };
45444
+ Returns: {
45445
+ carrier_type: string;
45446
+ idx: number;
45447
+ packages: number;
45448
+ }[];
45449
+ };
44859
45450
  logistics_floriday_claim_pushes: {
44860
45451
  Args: {
44861
45452
  _lease_seconds?: number;
@@ -44960,6 +45551,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44960
45551
  };
44961
45552
  Returns: number;
44962
45553
  };
45554
+ logistics_order_overview: {
45555
+ Args: {
45556
+ p_from?: string;
45557
+ p_to?: string;
45558
+ };
45559
+ Returns: {
45560
+ cart_count: number;
45561
+ customer_name: string;
45562
+ delivery_date: string;
45563
+ order_number: string;
45564
+ order_source: string;
45565
+ order_uuid: string;
45566
+ pick_date: string;
45567
+ plant_count: number;
45568
+ printed_at: string;
45569
+ shifted: boolean;
45570
+ status: string;
45571
+ }[];
45572
+ };
44963
45573
  logistics_order_pick_day: {
44964
45574
  Args: {
44965
45575
  p_order_ref: string;
@@ -44972,6 +45582,22 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44972
45582
  };
44973
45583
  Returns: string;
44974
45584
  };
45585
+ logistics_pick_agenda: {
45586
+ Args: {
45587
+ p_from?: string;
45588
+ p_to?: string;
45589
+ };
45590
+ Returns: {
45591
+ cart_count: number;
45592
+ in_preparation: number;
45593
+ order_count: number;
45594
+ orders: import("../integrations/supabase/types").Json;
45595
+ pick_date: string;
45596
+ plant_count: number;
45597
+ ready: number;
45598
+ shifted_count: number;
45599
+ }[];
45600
+ };
44975
45601
  logistics_pick_email_purpose: {
44976
45602
  Args: never;
44977
45603
  Returns: string;
@@ -45026,6 +45652,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45026
45652
  };
45027
45653
  Returns: undefined;
45028
45654
  };
45655
+ logistics_plan_floriday_order: {
45656
+ Args: {
45657
+ p_buffer_id?: string;
45658
+ p_order_id: string;
45659
+ };
45660
+ Returns: number;
45661
+ };
45029
45662
  logistics_plan_impact_orders: {
45030
45663
  Args: {
45031
45664
  p_order_id: string;
@@ -45131,6 +45764,15 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45131
45764
  };
45132
45765
  Returns: import("../integrations/supabase/types").Json;
45133
45766
  };
45767
+ logistics_resolve_pick_document: {
45768
+ Args: {
45769
+ _is_herprint: boolean;
45770
+ _queue_item_id: string;
45771
+ _session_id: string;
45772
+ _voorbeeld: boolean;
45773
+ };
45774
+ Returns: import("../integrations/supabase/types").Json;
45775
+ };
45134
45776
  logistics_resolve_settings: {
45135
45777
  Args: {
45136
45778
  p_config_id: string;
@@ -45261,14 +45903,6 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45261
45903
  };
45262
45904
  Returns: string;
45263
45905
  };
45264
- maps_cron_token: {
45265
- Args: never;
45266
- Returns: string;
45267
- };
45268
- maps_kick_queue: {
45269
- Args: never;
45270
- Returns: undefined;
45271
- };
45272
45906
  mark_offer_clicked: {
45273
45907
  Args: {
45274
45908
  p_code: string;
@@ -45579,6 +46213,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45579
46213
  };
45580
46214
  pick_enqueue_print_job: {
45581
46215
  Args: {
46216
+ _is_herprint?: boolean;
45582
46217
  _printer_id?: string;
45583
46218
  _queue_item_id: string;
45584
46219
  _session_id?: string;
@@ -45592,6 +46227,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45592
46227
  };
45593
46228
  Returns: import("../integrations/supabase/types").Json;
45594
46229
  };
46230
+ pick_preview_job: {
46231
+ Args: {
46232
+ _queue_item_id: string;
46233
+ _station_slug: string;
46234
+ };
46235
+ Returns: import("../integrations/supabase/types").Json;
46236
+ };
45595
46237
  pick_print_job_status: {
45596
46238
  Args: {
45597
46239
  _job_id: string;
@@ -45769,6 +46411,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45769
46411
  };
45770
46412
  Returns: undefined;
45771
46413
  };
46414
+ print_preview_toestaan: {
46415
+ Args: {
46416
+ _max?: number;
46417
+ _queue_item_id: string;
46418
+ _station_slug: string;
46419
+ _venster_sec?: number;
46420
+ };
46421
+ Returns: import("../integrations/supabase/types").Json;
46422
+ };
46423
+ print_preview_weiger: {
46424
+ Args: {
46425
+ _code: string;
46426
+ _queue_item_id: string;
46427
+ _reden: string;
46428
+ _station_slug: string;
46429
+ };
46430
+ Returns: undefined;
46431
+ };
45772
46432
  process_logistics_event: {
45773
46433
  Args: {
45774
46434
  p_event_id: string;
@@ -45886,6 +46546,14 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45886
46546
  };
45887
46547
  Returns: undefined;
45888
46548
  };
46549
+ replace_order_carts: {
46550
+ Args: {
46551
+ p_buffer_id: string;
46552
+ p_carts: import("../integrations/supabase/types").Json;
46553
+ p_order_id: string;
46554
+ };
46555
+ Returns: import("../integrations/supabase/types").Json;
46556
+ };
45889
46557
  reset_floriday_sync_cursor: {
45890
46558
  Args: {
45891
46559
  p_connection_id: string;
@@ -45915,6 +46583,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45915
46583
  };
45916
46584
  Returns: string;
45917
46585
  };
46586
+ resolve_print_job_printer_id: {
46587
+ Args: {
46588
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46589
+ };
46590
+ Returns: string;
46591
+ };
45918
46592
  resolve_product_id_for_item: {
45919
46593
  Args: {
45920
46594
  p_product_name: string;
@@ -46506,7 +47180,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
46506
47180
  };
46507
47181
  CompositeTypes: { [_ in never]: never; };
46508
47182
  }, {
46509
- PostgrestVersion: "14.17";
47183
+ PostgrestVersion: "14.5";
46510
47184
  }>;
46511
47185
  userId: string;
46512
47186
  claims: import("@supabase/auth-js").User;