@flowselections/floriday-verkoop-module 1.0.56 → 1.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.d.ts.map +1 -1
  2. package/dist-lib/components/verkoop/OrderAfleverbrievenCard.js +5 -5
  3. package/dist-lib/components/verkoop/SalesOrdersTable.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +344 -10
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +344 -10
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +344 -10
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +346 -10
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +344 -10
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3906 -232
  16. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-replan.functions.d.ts +1032 -30
  18. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/create-order.functions.d.ts +6128 -450
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1032 -30
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  24. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  26. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23961 -20
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  29. package/dist-lib/lib/floriday-mirror.functions.d.ts +344 -10
  30. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-public.functions.d.ts +2451 -113
  32. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-writes.functions.d.ts +1763 -93
  35. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/invoice-timing.functions.d.ts +1376 -40
  37. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/load-carriers.functions.d.ts +344 -10
  39. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logistics-engine.functions.d.ts +1763 -93
  41. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/logistics-stock.functions.d.ts +688 -20
  43. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-addresses.functions.d.ts +344 -10
  45. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-buffers.functions.d.ts +1032 -30
  47. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-carrier.functions.d.ts +688 -20
  49. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-pickup.functions.d.ts +688 -20
  51. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-shipments.functions.d.ts +1376 -40
  53. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.functions.d.ts +344 -10
  55. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  57. package/dist-lib/lib/salesorders-list.server.js +43 -1
  58. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  59. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders.functions.d.ts +1763 -93
  61. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +688 -20
  63. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/tradeitems.functions.d.ts +344 -10
  65. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  66. package/package.json +131 -131
@@ -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;
@@ -13580,6 +13649,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13580
13649
  };
13581
13650
  Relationships: [];
13582
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
+ };
13583
13685
  print_job_logs: {
13584
13686
  Row: {
13585
13687
  created_at: string;
@@ -13630,6 +13732,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13630
13732
  is_herprint: boolean;
13631
13733
  kopieen: number;
13632
13734
  layout_id: string | null;
13735
+ lokaal_opgeslagen_op: string | null;
13736
+ lokale_pdf_fout: string | null;
13737
+ lokale_pdf_status: string | null;
13633
13738
  opgepakt_op: string | null;
13634
13739
  paginas: number;
13635
13740
  payload: import("../integrations/supabase/types").Json;
@@ -13638,6 +13743,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13638
13743
  pogingen: number;
13639
13744
  printer_id: string | null;
13640
13745
  render_html: string | null;
13746
+ resultaat_pdf_base64: string | null;
13641
13747
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13642
13748
  updated_at: string;
13643
13749
  volgende_poging: string | null;
@@ -13662,6 +13768,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13662
13768
  is_herprint?: boolean;
13663
13769
  kopieen?: number;
13664
13770
  layout_id?: string | null;
13771
+ lokaal_opgeslagen_op?: string | null;
13772
+ lokale_pdf_fout?: string | null;
13773
+ lokale_pdf_status?: string | null;
13665
13774
  opgepakt_op?: string | null;
13666
13775
  paginas?: number;
13667
13776
  payload?: import("../integrations/supabase/types").Json;
@@ -13670,6 +13779,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13670
13779
  pogingen?: number;
13671
13780
  printer_id?: string | null;
13672
13781
  render_html?: string | null;
13782
+ resultaat_pdf_base64?: string | null;
13673
13783
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13674
13784
  updated_at?: string;
13675
13785
  volgende_poging?: string | null;
@@ -13694,6 +13804,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13694
13804
  is_herprint?: boolean;
13695
13805
  kopieen?: number;
13696
13806
  layout_id?: string | null;
13807
+ lokaal_opgeslagen_op?: string | null;
13808
+ lokale_pdf_fout?: string | null;
13809
+ lokale_pdf_status?: string | null;
13697
13810
  opgepakt_op?: string | null;
13698
13811
  paginas?: number;
13699
13812
  payload?: import("../integrations/supabase/types").Json;
@@ -13702,6 +13815,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13702
13815
  pogingen?: number;
13703
13816
  printer_id?: string | null;
13704
13817
  render_html?: string | null;
13818
+ resultaat_pdf_base64?: string | null;
13705
13819
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13706
13820
  updated_at?: string;
13707
13821
  volgende_poging?: string | null;
@@ -13820,6 +13934,39 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
13820
13934
  };
13821
13935
  Relationships: [];
13822
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
+ };
13823
13970
  print_queue_runners: {
13824
13971
  Row: {
13825
13972
  actief: boolean;
@@ -14059,6 +14206,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
14059
14206
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14060
14207
  online: boolean;
14061
14208
  papierformaat: string;
14209
+ pdf_map: string | null;
14062
14210
  poort: number | null;
14063
14211
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14064
14212
  systeemnaam: string;
@@ -14084,6 +14232,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
14084
14232
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14085
14233
  online?: boolean;
14086
14234
  papierformaat?: string;
14235
+ pdf_map?: string | null;
14087
14236
  poort?: number | null;
14088
14237
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14089
14238
  systeemnaam?: string;
@@ -14109,6 +14258,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
14109
14258
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14110
14259
  online?: boolean;
14111
14260
  papierformaat?: string;
14261
+ pdf_map?: string | null;
14112
14262
  poort?: number | null;
14113
14263
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14114
14264
  systeemnaam?: string;
@@ -20365,6 +20515,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20365
20515
  is_herprint: boolean;
20366
20516
  kopieen: number;
20367
20517
  layout_id: string | null;
20518
+ lokaal_opgeslagen_op: string | null;
20519
+ lokale_pdf_fout: string | null;
20520
+ lokale_pdf_status: string | null;
20368
20521
  opgepakt_op: string | null;
20369
20522
  paginas: number;
20370
20523
  payload: import("../integrations/supabase/types").Json;
@@ -20373,6 +20526,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20373
20526
  pogingen: number;
20374
20527
  printer_id: string | null;
20375
20528
  render_html: string | null;
20529
+ resultaat_pdf_base64: string | null;
20376
20530
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20377
20531
  updated_at: string;
20378
20532
  volgende_poging: string | null;
@@ -20464,6 +20618,53 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20464
20618
  isSetofReturn: true;
20465
20619
  };
20466
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
+ };
20467
20668
  claim_print_jobs: {
20468
20669
  Args: {
20469
20670
  _agent_id: string;
@@ -20488,6 +20689,9 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20488
20689
  is_herprint: boolean;
20489
20690
  kopieen: number;
20490
20691
  layout_id: string | null;
20692
+ lokaal_opgeslagen_op: string | null;
20693
+ lokale_pdf_fout: string | null;
20694
+ lokale_pdf_status: string | null;
20491
20695
  opgepakt_op: string | null;
20492
20696
  paginas: number;
20493
20697
  payload: import("../integrations/supabase/types").Json;
@@ -20496,6 +20700,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20496
20700
  pogingen: number;
20497
20701
  printer_id: string | null;
20498
20702
  render_html: string | null;
20703
+ resultaat_pdf_base64: string | null;
20499
20704
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20500
20705
  updated_at: string;
20501
20706
  volgende_poging: string | null;
@@ -20636,6 +20841,8 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
20636
20841
  order_id: string;
20637
20842
  order_source: string;
20638
20843
  pick_date: string;
20844
+ printed_at: string;
20845
+ printed_today: boolean;
20639
20846
  status: string;
20640
20847
  }[];
20641
20848
  };
@@ -21344,6 +21551,10 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21344
21551
  };
21345
21552
  Returns: number;
21346
21553
  };
21554
+ logistics_cancel_orphan_tasks: {
21555
+ Args: never;
21556
+ Returns: number;
21557
+ };
21347
21558
  logistics_capacity_day_check: {
21348
21559
  Args: {
21349
21560
  p_from?: string;
@@ -21364,6 +21575,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21364
21575
  };
21365
21576
  Returns: number;
21366
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
+ };
21367
21597
  logistics_check_order_allowed: {
21368
21598
  Args: {
21369
21599
  p_lines: import("../integrations/supabase/types").Json;
@@ -21512,6 +21742,17 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21512
21742
  isSetofReturn: false;
21513
21743
  };
21514
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
+ };
21515
21756
  logistics_delay_customer_email: {
21516
21757
  Args: {
21517
21758
  p_customer: string;
@@ -21601,6 +21842,16 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21601
21842
  isSetofReturn: false;
21602
21843
  };
21603
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
+ };
21604
21855
  logistics_floriday_claim_pushes: {
21605
21856
  Args: {
21606
21857
  _lease_seconds?: number;
@@ -21705,6 +21956,25 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21705
21956
  };
21706
21957
  Returns: number;
21707
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
+ };
21708
21978
  logistics_order_pick_day: {
21709
21979
  Args: {
21710
21980
  p_order_ref: string;
@@ -21717,6 +21987,22 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21717
21987
  };
21718
21988
  Returns: string;
21719
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
+ };
21720
22006
  logistics_pick_email_purpose: {
21721
22007
  Args: never;
21722
22008
  Returns: string;
@@ -21771,6 +22057,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21771
22057
  };
21772
22058
  Returns: undefined;
21773
22059
  };
22060
+ logistics_plan_floriday_order: {
22061
+ Args: {
22062
+ p_buffer_id?: string;
22063
+ p_order_id: string;
22064
+ };
22065
+ Returns: number;
22066
+ };
21774
22067
  logistics_plan_impact_orders: {
21775
22068
  Args: {
21776
22069
  p_order_id: string;
@@ -21876,6 +22169,15 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
21876
22169
  };
21877
22170
  Returns: import("../integrations/supabase/types").Json;
21878
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
+ };
21879
22181
  logistics_resolve_settings: {
21880
22182
  Args: {
21881
22183
  p_config_id: string;
@@ -22316,6 +22618,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22316
22618
  };
22317
22619
  pick_enqueue_print_job: {
22318
22620
  Args: {
22621
+ _is_herprint?: boolean;
22319
22622
  _printer_id?: string;
22320
22623
  _queue_item_id: string;
22321
22624
  _session_id?: string;
@@ -22329,6 +22632,13 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22329
22632
  };
22330
22633
  Returns: import("../integrations/supabase/types").Json;
22331
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
+ };
22332
22642
  pick_print_job_status: {
22333
22643
  Args: {
22334
22644
  _job_id: string;
@@ -22506,6 +22816,24 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22506
22816
  };
22507
22817
  Returns: undefined;
22508
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
+ };
22509
22837
  process_logistics_event: {
22510
22838
  Args: {
22511
22839
  p_event_id: string;
@@ -22660,6 +22988,12 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
22660
22988
  };
22661
22989
  Returns: string;
22662
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
+ };
22663
22997
  resolve_product_id_for_item: {
22664
22998
  Args: {
22665
22999
  p_product_name: string;
@@ -23251,7 +23585,7 @@ export declare const getOrderCarrier: import("@tanstack/start-client-core").Opti
23251
23585
  };
23252
23586
  CompositeTypes: { [_ in never]: never; };
23253
23587
  }, {
23254
- PostgrestVersion: "14.17";
23588
+ PostgrestVersion: "14.5";
23255
23589
  }>;
23256
23590
  userId: string;
23257
23591
  claims: import("@supabase/auth-js").User;
@@ -26116,6 +26450,84 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
26116
26450
  };
26117
26451
  Relationships: [];
26118
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
+ };
26119
26531
  document_bronregels: {
26120
26532
  Row: {
26121
26533
  bron: string;
@@ -29169,10 +29581,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29169
29581
  };
29170
29582
  floriday_connections: {
29171
29583
  Row: {
29172
- access_token: string | null;
29173
29584
  api_key: string;
29174
- client_id: string;
29175
- client_secret: string;
29176
29585
  created_at: string;
29177
29586
  customers_endpoint: string | null;
29178
29587
  environment: string;
@@ -29187,10 +29596,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29187
29596
  updated_at: string;
29188
29597
  };
29189
29598
  Insert: {
29190
- access_token?: string | null;
29191
29599
  api_key: string;
29192
- client_id: string;
29193
- client_secret: string;
29194
29600
  created_at?: string;
29195
29601
  customers_endpoint?: string | null;
29196
29602
  environment: string;
@@ -29205,10 +29611,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
29205
29611
  updated_at?: string;
29206
29612
  };
29207
29613
  Update: {
29208
- access_token?: string | null;
29209
29614
  api_key?: string;
29210
- client_id?: string;
29211
- client_secret?: string;
29212
29615
  created_at?: string;
29213
29616
  customers_endpoint?: string | null;
29214
29617
  environment?: string;
@@ -36841,6 +37244,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36841
37244
  };
36842
37245
  Relationships: [];
36843
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
+ };
36844
37280
  print_job_logs: {
36845
37281
  Row: {
36846
37282
  created_at: string;
@@ -36891,6 +37327,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36891
37327
  is_herprint: boolean;
36892
37328
  kopieen: number;
36893
37329
  layout_id: string | null;
37330
+ lokaal_opgeslagen_op: string | null;
37331
+ lokale_pdf_fout: string | null;
37332
+ lokale_pdf_status: string | null;
36894
37333
  opgepakt_op: string | null;
36895
37334
  paginas: number;
36896
37335
  payload: import("../integrations/supabase/types").Json;
@@ -36899,6 +37338,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36899
37338
  pogingen: number;
36900
37339
  printer_id: string | null;
36901
37340
  render_html: string | null;
37341
+ resultaat_pdf_base64: string | null;
36902
37342
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36903
37343
  updated_at: string;
36904
37344
  volgende_poging: string | null;
@@ -36923,6 +37363,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36923
37363
  is_herprint?: boolean;
36924
37364
  kopieen?: number;
36925
37365
  layout_id?: string | null;
37366
+ lokaal_opgeslagen_op?: string | null;
37367
+ lokale_pdf_fout?: string | null;
37368
+ lokale_pdf_status?: string | null;
36926
37369
  opgepakt_op?: string | null;
36927
37370
  paginas?: number;
36928
37371
  payload?: import("../integrations/supabase/types").Json;
@@ -36931,6 +37374,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36931
37374
  pogingen?: number;
36932
37375
  printer_id?: string | null;
36933
37376
  render_html?: string | null;
37377
+ resultaat_pdf_base64?: string | null;
36934
37378
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36935
37379
  updated_at?: string;
36936
37380
  volgende_poging?: string | null;
@@ -36955,6 +37399,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36955
37399
  is_herprint?: boolean;
36956
37400
  kopieen?: number;
36957
37401
  layout_id?: string | null;
37402
+ lokaal_opgeslagen_op?: string | null;
37403
+ lokale_pdf_fout?: string | null;
37404
+ lokale_pdf_status?: string | null;
36958
37405
  opgepakt_op?: string | null;
36959
37406
  paginas?: number;
36960
37407
  payload?: import("../integrations/supabase/types").Json;
@@ -36963,6 +37410,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
36963
37410
  pogingen?: number;
36964
37411
  printer_id?: string | null;
36965
37412
  render_html?: string | null;
37413
+ resultaat_pdf_base64?: string | null;
36966
37414
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36967
37415
  updated_at?: string;
36968
37416
  volgende_poging?: string | null;
@@ -37081,6 +37529,39 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37081
37529
  };
37082
37530
  Relationships: [];
37083
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
+ };
37084
37565
  print_queue_runners: {
37085
37566
  Row: {
37086
37567
  actief: boolean;
@@ -37320,6 +37801,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37320
37801
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37321
37802
  online: boolean;
37322
37803
  papierformaat: string;
37804
+ pdf_map: string | null;
37323
37805
  poort: number | null;
37324
37806
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37325
37807
  systeemnaam: string;
@@ -37345,6 +37827,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37345
37827
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37346
37828
  online?: boolean;
37347
37829
  papierformaat?: string;
37830
+ pdf_map?: string | null;
37348
37831
  poort?: number | null;
37349
37832
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37350
37833
  systeemnaam?: string;
@@ -37370,6 +37853,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
37370
37853
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37371
37854
  online?: boolean;
37372
37855
  papierformaat?: string;
37856
+ pdf_map?: string | null;
37373
37857
  poort?: number | null;
37374
37858
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37375
37859
  systeemnaam?: string;
@@ -43626,6 +44110,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43626
44110
  is_herprint: boolean;
43627
44111
  kopieen: number;
43628
44112
  layout_id: string | null;
44113
+ lokaal_opgeslagen_op: string | null;
44114
+ lokale_pdf_fout: string | null;
44115
+ lokale_pdf_status: string | null;
43629
44116
  opgepakt_op: string | null;
43630
44117
  paginas: number;
43631
44118
  payload: import("../integrations/supabase/types").Json;
@@ -43634,6 +44121,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43634
44121
  pogingen: number;
43635
44122
  printer_id: string | null;
43636
44123
  render_html: string | null;
44124
+ resultaat_pdf_base64: string | null;
43637
44125
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43638
44126
  updated_at: string;
43639
44127
  volgende_poging: string | null;
@@ -43725,6 +44213,53 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43725
44213
  isSetofReturn: true;
43726
44214
  };
43727
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
+ };
43728
44263
  claim_print_jobs: {
43729
44264
  Args: {
43730
44265
  _agent_id: string;
@@ -43749,6 +44284,9 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43749
44284
  is_herprint: boolean;
43750
44285
  kopieen: number;
43751
44286
  layout_id: string | null;
44287
+ lokaal_opgeslagen_op: string | null;
44288
+ lokale_pdf_fout: string | null;
44289
+ lokale_pdf_status: string | null;
43752
44290
  opgepakt_op: string | null;
43753
44291
  paginas: number;
43754
44292
  payload: import("../integrations/supabase/types").Json;
@@ -43757,6 +44295,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43757
44295
  pogingen: number;
43758
44296
  printer_id: string | null;
43759
44297
  render_html: string | null;
44298
+ resultaat_pdf_base64: string | null;
43760
44299
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43761
44300
  updated_at: string;
43762
44301
  volgende_poging: string | null;
@@ -43897,6 +44436,8 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
43897
44436
  order_id: string;
43898
44437
  order_source: string;
43899
44438
  pick_date: string;
44439
+ printed_at: string;
44440
+ printed_today: boolean;
43900
44441
  status: string;
43901
44442
  }[];
43902
44443
  };
@@ -44605,6 +45146,10 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44605
45146
  };
44606
45147
  Returns: number;
44607
45148
  };
45149
+ logistics_cancel_orphan_tasks: {
45150
+ Args: never;
45151
+ Returns: number;
45152
+ };
44608
45153
  logistics_capacity_day_check: {
44609
45154
  Args: {
44610
45155
  p_from?: string;
@@ -44625,6 +45170,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44625
45170
  };
44626
45171
  Returns: number;
44627
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
+ };
44628
45192
  logistics_check_order_allowed: {
44629
45193
  Args: {
44630
45194
  p_lines: import("../integrations/supabase/types").Json;
@@ -44773,6 +45337,17 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44773
45337
  isSetofReturn: false;
44774
45338
  };
44775
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
+ };
44776
45351
  logistics_delay_customer_email: {
44777
45352
  Args: {
44778
45353
  p_customer: string;
@@ -44862,6 +45437,16 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44862
45437
  isSetofReturn: false;
44863
45438
  };
44864
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
+ };
44865
45450
  logistics_floriday_claim_pushes: {
44866
45451
  Args: {
44867
45452
  _lease_seconds?: number;
@@ -44966,6 +45551,25 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44966
45551
  };
44967
45552
  Returns: number;
44968
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
+ };
44969
45573
  logistics_order_pick_day: {
44970
45574
  Args: {
44971
45575
  p_order_ref: string;
@@ -44978,6 +45582,22 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
44978
45582
  };
44979
45583
  Returns: string;
44980
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
+ };
44981
45601
  logistics_pick_email_purpose: {
44982
45602
  Args: never;
44983
45603
  Returns: string;
@@ -45032,6 +45652,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45032
45652
  };
45033
45653
  Returns: undefined;
45034
45654
  };
45655
+ logistics_plan_floriday_order: {
45656
+ Args: {
45657
+ p_buffer_id?: string;
45658
+ p_order_id: string;
45659
+ };
45660
+ Returns: number;
45661
+ };
45035
45662
  logistics_plan_impact_orders: {
45036
45663
  Args: {
45037
45664
  p_order_id: string;
@@ -45137,6 +45764,15 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45137
45764
  };
45138
45765
  Returns: import("../integrations/supabase/types").Json;
45139
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
+ };
45140
45776
  logistics_resolve_settings: {
45141
45777
  Args: {
45142
45778
  p_config_id: string;
@@ -45577,6 +46213,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45577
46213
  };
45578
46214
  pick_enqueue_print_job: {
45579
46215
  Args: {
46216
+ _is_herprint?: boolean;
45580
46217
  _printer_id?: string;
45581
46218
  _queue_item_id: string;
45582
46219
  _session_id?: string;
@@ -45590,6 +46227,13 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45590
46227
  };
45591
46228
  Returns: import("../integrations/supabase/types").Json;
45592
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
+ };
45593
46237
  pick_print_job_status: {
45594
46238
  Args: {
45595
46239
  _job_id: string;
@@ -45767,6 +46411,24 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45767
46411
  };
45768
46412
  Returns: undefined;
45769
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
+ };
45770
46432
  process_logistics_event: {
45771
46433
  Args: {
45772
46434
  p_event_id: string;
@@ -45921,6 +46583,12 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
45921
46583
  };
45922
46584
  Returns: string;
45923
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
+ };
45924
46592
  resolve_product_id_for_item: {
45925
46593
  Args: {
45926
46594
  p_product_name: string;
@@ -46512,7 +47180,7 @@ export declare const setOrderCarrier: import("@tanstack/start-client-core").Opti
46512
47180
  };
46513
47181
  CompositeTypes: { [_ in never]: never; };
46514
47182
  }, {
46515
- PostgrestVersion: "14.17";
47183
+ PostgrestVersion: "14.5";
46516
47184
  }>;
46517
47185
  userId: string;
46518
47186
  claims: import("@supabase/auth-js").User;