@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
@@ -2861,6 +2861,84 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
2861
2861
  };
2862
2862
  Relationships: [];
2863
2863
  };
2864
+ delivery_notes: {
2865
+ Row: {
2866
+ byte_size: number | null;
2867
+ connection_id: string | null;
2868
+ content_type: string;
2869
+ created_at: string;
2870
+ error_message: string | null;
2871
+ fetched_at: string | null;
2872
+ fulfillment_order_id: string | null;
2873
+ http_status: number | null;
2874
+ id: string;
2875
+ label_code: string | null;
2876
+ letter: string | null;
2877
+ load_carrier_index: number | null;
2878
+ load_carrier_type: string | null;
2879
+ order_id: string | null;
2880
+ order_number: string | null;
2881
+ packages: number | null;
2882
+ source: string;
2883
+ status: string;
2884
+ storage_bucket: string;
2885
+ storage_path: string | null;
2886
+ updated_at: string;
2887
+ };
2888
+ Insert: {
2889
+ byte_size?: number | null;
2890
+ connection_id?: string | null;
2891
+ content_type?: string;
2892
+ created_at?: string;
2893
+ error_message?: string | null;
2894
+ fetched_at?: string | null;
2895
+ fulfillment_order_id?: string | null;
2896
+ http_status?: number | null;
2897
+ id?: string;
2898
+ label_code?: string | null;
2899
+ letter?: string | null;
2900
+ load_carrier_index?: number | null;
2901
+ load_carrier_type?: string | null;
2902
+ order_id?: string | null;
2903
+ order_number?: string | null;
2904
+ packages?: number | null;
2905
+ source?: string;
2906
+ status?: string;
2907
+ storage_bucket?: string;
2908
+ storage_path?: string | null;
2909
+ updated_at?: string;
2910
+ };
2911
+ Update: {
2912
+ byte_size?: number | null;
2913
+ connection_id?: string | null;
2914
+ content_type?: string;
2915
+ created_at?: string;
2916
+ error_message?: string | null;
2917
+ fetched_at?: string | null;
2918
+ fulfillment_order_id?: string | null;
2919
+ http_status?: number | null;
2920
+ id?: string;
2921
+ label_code?: string | null;
2922
+ letter?: string | null;
2923
+ load_carrier_index?: number | null;
2924
+ load_carrier_type?: string | null;
2925
+ order_id?: string | null;
2926
+ order_number?: string | null;
2927
+ packages?: number | null;
2928
+ source?: string;
2929
+ status?: string;
2930
+ storage_bucket?: string;
2931
+ storage_path?: string | null;
2932
+ updated_at?: string;
2933
+ };
2934
+ Relationships: [{
2935
+ foreignKeyName: "delivery_notes_order_id_fkey";
2936
+ columns: ["order_id"];
2937
+ isOneToOne: false;
2938
+ referencedRelation: "orders";
2939
+ referencedColumns: ["id"];
2940
+ }];
2941
+ };
2864
2942
  document_bronregels: {
2865
2943
  Row: {
2866
2944
  bron: string;
@@ -5914,10 +5992,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5914
5992
  };
5915
5993
  floriday_connections: {
5916
5994
  Row: {
5917
- access_token: string | null;
5918
5995
  api_key: string;
5919
- client_id: string;
5920
- client_secret: string;
5921
5996
  created_at: string;
5922
5997
  customers_endpoint: string | null;
5923
5998
  environment: string;
@@ -5932,10 +6007,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5932
6007
  updated_at: string;
5933
6008
  };
5934
6009
  Insert: {
5935
- access_token?: string | null;
5936
6010
  api_key: string;
5937
- client_id: string;
5938
- client_secret: string;
5939
6011
  created_at?: string;
5940
6012
  customers_endpoint?: string | null;
5941
6013
  environment: string;
@@ -5950,10 +6022,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5950
6022
  updated_at?: string;
5951
6023
  };
5952
6024
  Update: {
5953
- access_token?: string | null;
5954
6025
  api_key?: string;
5955
- client_id?: string;
5956
- client_secret?: string;
5957
6026
  created_at?: string;
5958
6027
  customers_endpoint?: string | null;
5959
6028
  environment?: string;
@@ -10824,6 +10893,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10824
10893
  last_error: string | null;
10825
10894
  last_error_at: string | null;
10826
10895
  last_success_at: string | null;
10896
+ provider: string;
10827
10897
  updated_at: string;
10828
10898
  };
10829
10899
  Insert: {
@@ -10835,6 +10905,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10835
10905
  last_error?: string | null;
10836
10906
  last_error_at?: string | null;
10837
10907
  last_success_at?: string | null;
10908
+ provider?: string;
10838
10909
  updated_at?: string;
10839
10910
  };
10840
10911
  Update: {
@@ -10846,6 +10917,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
10846
10917
  last_error?: string | null;
10847
10918
  last_error_at?: string | null;
10848
10919
  last_success_at?: string | null;
10920
+ provider?: string;
10849
10921
  updated_at?: string;
10850
10922
  };
10851
10923
  Relationships: [];
@@ -13583,6 +13655,39 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13583
13655
  };
13584
13656
  Relationships: [];
13585
13657
  };
13658
+ print_dedupe_events: {
13659
+ Row: {
13660
+ bestaande_job_id: string | null;
13661
+ created_at: string;
13662
+ detail: string | null;
13663
+ documentnaam: string | null;
13664
+ documenttype: string | null;
13665
+ id: string;
13666
+ idempotentie_sleutel: string;
13667
+ reden: string;
13668
+ };
13669
+ Insert: {
13670
+ bestaande_job_id?: string | null;
13671
+ created_at?: string;
13672
+ detail?: string | null;
13673
+ documentnaam?: string | null;
13674
+ documenttype?: string | null;
13675
+ id?: string;
13676
+ idempotentie_sleutel: string;
13677
+ reden: string;
13678
+ };
13679
+ Update: {
13680
+ bestaande_job_id?: string | null;
13681
+ created_at?: string;
13682
+ detail?: string | null;
13683
+ documentnaam?: string | null;
13684
+ documenttype?: string | null;
13685
+ id?: string;
13686
+ idempotentie_sleutel?: string;
13687
+ reden?: string;
13688
+ };
13689
+ Relationships: [];
13690
+ };
13586
13691
  print_job_logs: {
13587
13692
  Row: {
13588
13693
  created_at: string;
@@ -13633,6 +13738,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13633
13738
  is_herprint: boolean;
13634
13739
  kopieen: number;
13635
13740
  layout_id: string | null;
13741
+ lokaal_opgeslagen_op: string | null;
13742
+ lokale_pdf_fout: string | null;
13743
+ lokale_pdf_status: string | null;
13636
13744
  opgepakt_op: string | null;
13637
13745
  paginas: number;
13638
13746
  payload: import("../integrations/supabase/types").Json;
@@ -13641,6 +13749,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13641
13749
  pogingen: number;
13642
13750
  printer_id: string | null;
13643
13751
  render_html: string | null;
13752
+ resultaat_pdf_base64: string | null;
13644
13753
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13645
13754
  updated_at: string;
13646
13755
  volgende_poging: string | null;
@@ -13665,6 +13774,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13665
13774
  is_herprint?: boolean;
13666
13775
  kopieen?: number;
13667
13776
  layout_id?: string | null;
13777
+ lokaal_opgeslagen_op?: string | null;
13778
+ lokale_pdf_fout?: string | null;
13779
+ lokale_pdf_status?: string | null;
13668
13780
  opgepakt_op?: string | null;
13669
13781
  paginas?: number;
13670
13782
  payload?: import("../integrations/supabase/types").Json;
@@ -13673,6 +13785,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13673
13785
  pogingen?: number;
13674
13786
  printer_id?: string | null;
13675
13787
  render_html?: string | null;
13788
+ resultaat_pdf_base64?: string | null;
13676
13789
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13677
13790
  updated_at?: string;
13678
13791
  volgende_poging?: string | null;
@@ -13697,6 +13810,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13697
13810
  is_herprint?: boolean;
13698
13811
  kopieen?: number;
13699
13812
  layout_id?: string | null;
13813
+ lokaal_opgeslagen_op?: string | null;
13814
+ lokale_pdf_fout?: string | null;
13815
+ lokale_pdf_status?: string | null;
13700
13816
  opgepakt_op?: string | null;
13701
13817
  paginas?: number;
13702
13818
  payload?: import("../integrations/supabase/types").Json;
@@ -13705,6 +13821,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13705
13821
  pogingen?: number;
13706
13822
  printer_id?: string | null;
13707
13823
  render_html?: string | null;
13824
+ resultaat_pdf_base64?: string | null;
13708
13825
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13709
13826
  updated_at?: string;
13710
13827
  volgende_poging?: string | null;
@@ -13823,6 +13940,39 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13823
13940
  };
13824
13941
  Relationships: [];
13825
13942
  };
13943
+ print_preview_events: {
13944
+ Row: {
13945
+ code: string | null;
13946
+ created_at: string;
13947
+ detail: import("../integrations/supabase/types").Json;
13948
+ id: string;
13949
+ queue_item_id: string | null;
13950
+ reden: string | null;
13951
+ station_slug: string | null;
13952
+ uitkomst: string;
13953
+ };
13954
+ Insert: {
13955
+ code?: string | null;
13956
+ created_at?: string;
13957
+ detail?: import("../integrations/supabase/types").Json;
13958
+ id?: string;
13959
+ queue_item_id?: string | null;
13960
+ reden?: string | null;
13961
+ station_slug?: string | null;
13962
+ uitkomst?: string;
13963
+ };
13964
+ Update: {
13965
+ code?: string | null;
13966
+ created_at?: string;
13967
+ detail?: import("../integrations/supabase/types").Json;
13968
+ id?: string;
13969
+ queue_item_id?: string | null;
13970
+ reden?: string | null;
13971
+ station_slug?: string | null;
13972
+ uitkomst?: string;
13973
+ };
13974
+ Relationships: [];
13975
+ };
13826
13976
  print_queue_runners: {
13827
13977
  Row: {
13828
13978
  actief: boolean;
@@ -14062,6 +14212,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
14062
14212
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14063
14213
  online: boolean;
14064
14214
  papierformaat: string;
14215
+ pdf_map: string | null;
14065
14216
  poort: number | null;
14066
14217
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14067
14218
  systeemnaam: string;
@@ -14087,6 +14238,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
14087
14238
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14088
14239
  online?: boolean;
14089
14240
  papierformaat?: string;
14241
+ pdf_map?: string | null;
14090
14242
  poort?: number | null;
14091
14243
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14092
14244
  systeemnaam?: string;
@@ -14112,6 +14264,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
14112
14264
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14113
14265
  online?: boolean;
14114
14266
  papierformaat?: string;
14267
+ pdf_map?: string | null;
14115
14268
  poort?: number | null;
14116
14269
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14117
14270
  systeemnaam?: string;
@@ -20368,6 +20521,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20368
20521
  is_herprint: boolean;
20369
20522
  kopieen: number;
20370
20523
  layout_id: string | null;
20524
+ lokaal_opgeslagen_op: string | null;
20525
+ lokale_pdf_fout: string | null;
20526
+ lokale_pdf_status: string | null;
20371
20527
  opgepakt_op: string | null;
20372
20528
  paginas: number;
20373
20529
  payload: import("../integrations/supabase/types").Json;
@@ -20376,6 +20532,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20376
20532
  pogingen: number;
20377
20533
  printer_id: string | null;
20378
20534
  render_html: string | null;
20535
+ resultaat_pdf_base64: string | null;
20379
20536
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20380
20537
  updated_at: string;
20381
20538
  volgende_poging: string | null;
@@ -20467,6 +20624,53 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20467
20624
  isSetofReturn: true;
20468
20625
  };
20469
20626
  };
20627
+ claim_pdf_print_jobs: {
20628
+ Args: {
20629
+ _max?: number;
20630
+ };
20631
+ Returns: {
20632
+ agent_id: string | null;
20633
+ bron_job_id: string | null;
20634
+ created_at: string;
20635
+ documentnaam: string;
20636
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20637
+ extern_job_id: string | null;
20638
+ foutmelding: string | null;
20639
+ gebruiker_id: string | null;
20640
+ gebruiker_naam: string;
20641
+ gebruikte_bron: string | null;
20642
+ gebruikte_layout_id: string | null;
20643
+ gestart_op: string | null;
20644
+ herkomst: string | null;
20645
+ id: string;
20646
+ idempotentie_sleutel: string | null;
20647
+ is_herprint: boolean;
20648
+ kopieen: number;
20649
+ layout_id: string | null;
20650
+ lokaal_opgeslagen_op: string | null;
20651
+ lokale_pdf_fout: string | null;
20652
+ lokale_pdf_status: string | null;
20653
+ opgepakt_op: string | null;
20654
+ paginas: number;
20655
+ payload: import("../integrations/supabase/types").Json;
20656
+ pdf_base64: string | null;
20657
+ pdf_url: string | null;
20658
+ pogingen: number;
20659
+ printer_id: string | null;
20660
+ render_html: string | null;
20661
+ resultaat_pdf_base64: string | null;
20662
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20663
+ updated_at: string;
20664
+ volgende_poging: string | null;
20665
+ voltooid_op: string | null;
20666
+ }[];
20667
+ SetofOptions: {
20668
+ from: "*";
20669
+ to: "print_jobs";
20670
+ isOneToOne: false;
20671
+ isSetofReturn: true;
20672
+ };
20673
+ };
20470
20674
  claim_print_jobs: {
20471
20675
  Args: {
20472
20676
  _agent_id: string;
@@ -20491,6 +20695,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20491
20695
  is_herprint: boolean;
20492
20696
  kopieen: number;
20493
20697
  layout_id: string | null;
20698
+ lokaal_opgeslagen_op: string | null;
20699
+ lokale_pdf_fout: string | null;
20700
+ lokale_pdf_status: string | null;
20494
20701
  opgepakt_op: string | null;
20495
20702
  paginas: number;
20496
20703
  payload: import("../integrations/supabase/types").Json;
@@ -20499,6 +20706,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20499
20706
  pogingen: number;
20500
20707
  printer_id: string | null;
20501
20708
  render_html: string | null;
20709
+ resultaat_pdf_base64: string | null;
20502
20710
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20503
20711
  updated_at: string;
20504
20712
  volgende_poging: string | null;
@@ -20639,6 +20847,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20639
20847
  order_id: string;
20640
20848
  order_source: string;
20641
20849
  pick_date: string;
20850
+ printed_at: string;
20851
+ printed_today: boolean;
20642
20852
  status: string;
20643
20853
  }[];
20644
20854
  };
@@ -21347,6 +21557,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21347
21557
  };
21348
21558
  Returns: number;
21349
21559
  };
21560
+ logistics_cancel_orphan_tasks: {
21561
+ Args: never;
21562
+ Returns: number;
21563
+ };
21350
21564
  logistics_capacity_day_check: {
21351
21565
  Args: {
21352
21566
  p_from?: string;
@@ -21367,6 +21581,25 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21367
21581
  };
21368
21582
  Returns: number;
21369
21583
  };
21584
+ logistics_cart_index: {
21585
+ Args: {
21586
+ p_from?: string;
21587
+ p_to?: string;
21588
+ };
21589
+ Returns: {
21590
+ cart_id: string;
21591
+ cart_index: number;
21592
+ cart_label: string;
21593
+ is_shared: boolean;
21594
+ order_number: string;
21595
+ order_source: string;
21596
+ order_uuid: string;
21597
+ pick_date: string;
21598
+ printed_at: string;
21599
+ shifted: boolean;
21600
+ task_status: string;
21601
+ }[];
21602
+ };
21370
21603
  logistics_check_order_allowed: {
21371
21604
  Args: {
21372
21605
  p_lines: import("../integrations/supabase/types").Json;
@@ -21515,6 +21748,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21515
21748
  isSetofReturn: false;
21516
21749
  };
21517
21750
  };
21751
+ logistics_consistency_check: {
21752
+ Args: never;
21753
+ Returns: {
21754
+ agenda_carts: number;
21755
+ control_carts: number;
21756
+ ok: boolean;
21757
+ orphan_tasks: number;
21758
+ pick_date: string;
21759
+ raw_carts: number;
21760
+ }[];
21761
+ };
21518
21762
  logistics_delay_customer_email: {
21519
21763
  Args: {
21520
21764
  p_customer: string;
@@ -21604,6 +21848,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21604
21848
  isSetofReturn: false;
21605
21849
  };
21606
21850
  };
21851
+ logistics_floriday_cart_plan: {
21852
+ Args: {
21853
+ p_order_id: string;
21854
+ };
21855
+ Returns: {
21856
+ carrier_type: string;
21857
+ idx: number;
21858
+ packages: number;
21859
+ }[];
21860
+ };
21607
21861
  logistics_floriday_claim_pushes: {
21608
21862
  Args: {
21609
21863
  _lease_seconds?: number;
@@ -21708,6 +21962,25 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21708
21962
  };
21709
21963
  Returns: number;
21710
21964
  };
21965
+ logistics_order_overview: {
21966
+ Args: {
21967
+ p_from?: string;
21968
+ p_to?: string;
21969
+ };
21970
+ Returns: {
21971
+ cart_count: number;
21972
+ customer_name: string;
21973
+ delivery_date: string;
21974
+ order_number: string;
21975
+ order_source: string;
21976
+ order_uuid: string;
21977
+ pick_date: string;
21978
+ plant_count: number;
21979
+ printed_at: string;
21980
+ shifted: boolean;
21981
+ status: string;
21982
+ }[];
21983
+ };
21711
21984
  logistics_order_pick_day: {
21712
21985
  Args: {
21713
21986
  p_order_ref: string;
@@ -21720,6 +21993,22 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21720
21993
  };
21721
21994
  Returns: string;
21722
21995
  };
21996
+ logistics_pick_agenda: {
21997
+ Args: {
21998
+ p_from?: string;
21999
+ p_to?: string;
22000
+ };
22001
+ Returns: {
22002
+ cart_count: number;
22003
+ in_preparation: number;
22004
+ order_count: number;
22005
+ orders: import("../integrations/supabase/types").Json;
22006
+ pick_date: string;
22007
+ plant_count: number;
22008
+ ready: number;
22009
+ shifted_count: number;
22010
+ }[];
22011
+ };
21723
22012
  logistics_pick_email_purpose: {
21724
22013
  Args: never;
21725
22014
  Returns: string;
@@ -21774,6 +22063,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21774
22063
  };
21775
22064
  Returns: undefined;
21776
22065
  };
22066
+ logistics_plan_floriday_order: {
22067
+ Args: {
22068
+ p_buffer_id?: string;
22069
+ p_order_id: string;
22070
+ };
22071
+ Returns: number;
22072
+ };
21777
22073
  logistics_plan_impact_orders: {
21778
22074
  Args: {
21779
22075
  p_order_id: string;
@@ -21879,6 +22175,15 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21879
22175
  };
21880
22176
  Returns: import("../integrations/supabase/types").Json;
21881
22177
  };
22178
+ logistics_resolve_pick_document: {
22179
+ Args: {
22180
+ _is_herprint: boolean;
22181
+ _queue_item_id: string;
22182
+ _session_id: string;
22183
+ _voorbeeld: boolean;
22184
+ };
22185
+ Returns: import("../integrations/supabase/types").Json;
22186
+ };
21882
22187
  logistics_resolve_settings: {
21883
22188
  Args: {
21884
22189
  p_config_id: string;
@@ -22009,14 +22314,6 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22009
22314
  };
22010
22315
  Returns: string;
22011
22316
  };
22012
- maps_cron_token: {
22013
- Args: never;
22014
- Returns: string;
22015
- };
22016
- maps_kick_queue: {
22017
- Args: never;
22018
- Returns: undefined;
22019
- };
22020
22317
  mark_offer_clicked: {
22021
22318
  Args: {
22022
22319
  p_code: string;
@@ -22327,6 +22624,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22327
22624
  };
22328
22625
  pick_enqueue_print_job: {
22329
22626
  Args: {
22627
+ _is_herprint?: boolean;
22330
22628
  _printer_id?: string;
22331
22629
  _queue_item_id: string;
22332
22630
  _session_id?: string;
@@ -22340,6 +22638,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22340
22638
  };
22341
22639
  Returns: import("../integrations/supabase/types").Json;
22342
22640
  };
22641
+ pick_preview_job: {
22642
+ Args: {
22643
+ _queue_item_id: string;
22644
+ _station_slug: string;
22645
+ };
22646
+ Returns: import("../integrations/supabase/types").Json;
22647
+ };
22343
22648
  pick_print_job_status: {
22344
22649
  Args: {
22345
22650
  _job_id: string;
@@ -22517,6 +22822,24 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22517
22822
  };
22518
22823
  Returns: undefined;
22519
22824
  };
22825
+ print_preview_toestaan: {
22826
+ Args: {
22827
+ _max?: number;
22828
+ _queue_item_id: string;
22829
+ _station_slug: string;
22830
+ _venster_sec?: number;
22831
+ };
22832
+ Returns: import("../integrations/supabase/types").Json;
22833
+ };
22834
+ print_preview_weiger: {
22835
+ Args: {
22836
+ _code: string;
22837
+ _queue_item_id: string;
22838
+ _reden: string;
22839
+ _station_slug: string;
22840
+ };
22841
+ Returns: undefined;
22842
+ };
22520
22843
  process_logistics_event: {
22521
22844
  Args: {
22522
22845
  p_event_id: string;
@@ -22634,6 +22957,14 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22634
22957
  };
22635
22958
  Returns: undefined;
22636
22959
  };
22960
+ replace_order_carts: {
22961
+ Args: {
22962
+ p_buffer_id: string;
22963
+ p_carts: import("../integrations/supabase/types").Json;
22964
+ p_order_id: string;
22965
+ };
22966
+ Returns: import("../integrations/supabase/types").Json;
22967
+ };
22637
22968
  reset_floriday_sync_cursor: {
22638
22969
  Args: {
22639
22970
  p_connection_id: string;
@@ -22663,6 +22994,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22663
22994
  };
22664
22995
  Returns: string;
22665
22996
  };
22997
+ resolve_print_job_printer_id: {
22998
+ Args: {
22999
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23000
+ };
23001
+ Returns: string;
23002
+ };
22666
23003
  resolve_product_id_for_item: {
22667
23004
  Args: {
22668
23005
  p_product_name: string;
@@ -23254,7 +23591,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23254
23591
  };
23255
23592
  CompositeTypes: { [_ in never]: never; };
23256
23593
  }, {
23257
- PostgrestVersion: "14.17";
23594
+ PostgrestVersion: "14.5";
23258
23595
  }>;
23259
23596
  userId: string;
23260
23597
  claims: import("@supabase/auth-js").User;
@@ -26124,6 +26461,84 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
26124
26461
  };
26125
26462
  Relationships: [];
26126
26463
  };
26464
+ delivery_notes: {
26465
+ Row: {
26466
+ byte_size: number | null;
26467
+ connection_id: string | null;
26468
+ content_type: string;
26469
+ created_at: string;
26470
+ error_message: string | null;
26471
+ fetched_at: string | null;
26472
+ fulfillment_order_id: string | null;
26473
+ http_status: number | null;
26474
+ id: string;
26475
+ label_code: string | null;
26476
+ letter: string | null;
26477
+ load_carrier_index: number | null;
26478
+ load_carrier_type: string | null;
26479
+ order_id: string | null;
26480
+ order_number: string | null;
26481
+ packages: number | null;
26482
+ source: string;
26483
+ status: string;
26484
+ storage_bucket: string;
26485
+ storage_path: string | null;
26486
+ updated_at: string;
26487
+ };
26488
+ Insert: {
26489
+ byte_size?: number | null;
26490
+ connection_id?: string | null;
26491
+ content_type?: string;
26492
+ created_at?: string;
26493
+ error_message?: string | null;
26494
+ fetched_at?: string | null;
26495
+ fulfillment_order_id?: string | null;
26496
+ http_status?: number | null;
26497
+ id?: string;
26498
+ label_code?: string | null;
26499
+ letter?: string | null;
26500
+ load_carrier_index?: number | null;
26501
+ load_carrier_type?: string | null;
26502
+ order_id?: string | null;
26503
+ order_number?: string | null;
26504
+ packages?: number | null;
26505
+ source?: string;
26506
+ status?: string;
26507
+ storage_bucket?: string;
26508
+ storage_path?: string | null;
26509
+ updated_at?: string;
26510
+ };
26511
+ Update: {
26512
+ byte_size?: number | null;
26513
+ connection_id?: string | null;
26514
+ content_type?: string;
26515
+ created_at?: string;
26516
+ error_message?: string | null;
26517
+ fetched_at?: string | null;
26518
+ fulfillment_order_id?: string | null;
26519
+ http_status?: number | null;
26520
+ id?: string;
26521
+ label_code?: string | null;
26522
+ letter?: string | null;
26523
+ load_carrier_index?: number | null;
26524
+ load_carrier_type?: string | null;
26525
+ order_id?: string | null;
26526
+ order_number?: string | null;
26527
+ packages?: number | null;
26528
+ source?: string;
26529
+ status?: string;
26530
+ storage_bucket?: string;
26531
+ storage_path?: string | null;
26532
+ updated_at?: string;
26533
+ };
26534
+ Relationships: [{
26535
+ foreignKeyName: "delivery_notes_order_id_fkey";
26536
+ columns: ["order_id"];
26537
+ isOneToOne: false;
26538
+ referencedRelation: "orders";
26539
+ referencedColumns: ["id"];
26540
+ }];
26541
+ };
26127
26542
  document_bronregels: {
26128
26543
  Row: {
26129
26544
  bron: string;
@@ -29177,10 +29592,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29177
29592
  };
29178
29593
  floriday_connections: {
29179
29594
  Row: {
29180
- access_token: string | null;
29181
29595
  api_key: string;
29182
- client_id: string;
29183
- client_secret: string;
29184
29596
  created_at: string;
29185
29597
  customers_endpoint: string | null;
29186
29598
  environment: string;
@@ -29195,10 +29607,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29195
29607
  updated_at: string;
29196
29608
  };
29197
29609
  Insert: {
29198
- access_token?: string | null;
29199
29610
  api_key: string;
29200
- client_id: string;
29201
- client_secret: string;
29202
29611
  created_at?: string;
29203
29612
  customers_endpoint?: string | null;
29204
29613
  environment: string;
@@ -29213,10 +29622,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29213
29622
  updated_at?: string;
29214
29623
  };
29215
29624
  Update: {
29216
- access_token?: string | null;
29217
29625
  api_key?: string;
29218
- client_id?: string;
29219
- client_secret?: string;
29220
29626
  created_at?: string;
29221
29627
  customers_endpoint?: string | null;
29222
29628
  environment?: string;
@@ -34087,6 +34493,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
34087
34493
  last_error: string | null;
34088
34494
  last_error_at: string | null;
34089
34495
  last_success_at: string | null;
34496
+ provider: string;
34090
34497
  updated_at: string;
34091
34498
  };
34092
34499
  Insert: {
@@ -34098,6 +34505,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
34098
34505
  last_error?: string | null;
34099
34506
  last_error_at?: string | null;
34100
34507
  last_success_at?: string | null;
34508
+ provider?: string;
34101
34509
  updated_at?: string;
34102
34510
  };
34103
34511
  Update: {
@@ -34109,6 +34517,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
34109
34517
  last_error?: string | null;
34110
34518
  last_error_at?: string | null;
34111
34519
  last_success_at?: string | null;
34520
+ provider?: string;
34112
34521
  updated_at?: string;
34113
34522
  };
34114
34523
  Relationships: [];
@@ -36846,6 +37255,39 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36846
37255
  };
36847
37256
  Relationships: [];
36848
37257
  };
37258
+ print_dedupe_events: {
37259
+ Row: {
37260
+ bestaande_job_id: string | null;
37261
+ created_at: string;
37262
+ detail: string | null;
37263
+ documentnaam: string | null;
37264
+ documenttype: string | null;
37265
+ id: string;
37266
+ idempotentie_sleutel: string;
37267
+ reden: string;
37268
+ };
37269
+ Insert: {
37270
+ bestaande_job_id?: string | null;
37271
+ created_at?: string;
37272
+ detail?: string | null;
37273
+ documentnaam?: string | null;
37274
+ documenttype?: string | null;
37275
+ id?: string;
37276
+ idempotentie_sleutel: string;
37277
+ reden: string;
37278
+ };
37279
+ Update: {
37280
+ bestaande_job_id?: string | null;
37281
+ created_at?: string;
37282
+ detail?: string | null;
37283
+ documentnaam?: string | null;
37284
+ documenttype?: string | null;
37285
+ id?: string;
37286
+ idempotentie_sleutel?: string;
37287
+ reden?: string;
37288
+ };
37289
+ Relationships: [];
37290
+ };
36849
37291
  print_job_logs: {
36850
37292
  Row: {
36851
37293
  created_at: string;
@@ -36896,6 +37338,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36896
37338
  is_herprint: boolean;
36897
37339
  kopieen: number;
36898
37340
  layout_id: string | null;
37341
+ lokaal_opgeslagen_op: string | null;
37342
+ lokale_pdf_fout: string | null;
37343
+ lokale_pdf_status: string | null;
36899
37344
  opgepakt_op: string | null;
36900
37345
  paginas: number;
36901
37346
  payload: import("../integrations/supabase/types").Json;
@@ -36904,6 +37349,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36904
37349
  pogingen: number;
36905
37350
  printer_id: string | null;
36906
37351
  render_html: string | null;
37352
+ resultaat_pdf_base64: string | null;
36907
37353
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36908
37354
  updated_at: string;
36909
37355
  volgende_poging: string | null;
@@ -36928,6 +37374,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36928
37374
  is_herprint?: boolean;
36929
37375
  kopieen?: number;
36930
37376
  layout_id?: string | null;
37377
+ lokaal_opgeslagen_op?: string | null;
37378
+ lokale_pdf_fout?: string | null;
37379
+ lokale_pdf_status?: string | null;
36931
37380
  opgepakt_op?: string | null;
36932
37381
  paginas?: number;
36933
37382
  payload?: import("../integrations/supabase/types").Json;
@@ -36936,6 +37385,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36936
37385
  pogingen?: number;
36937
37386
  printer_id?: string | null;
36938
37387
  render_html?: string | null;
37388
+ resultaat_pdf_base64?: string | null;
36939
37389
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36940
37390
  updated_at?: string;
36941
37391
  volgende_poging?: string | null;
@@ -36960,6 +37410,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36960
37410
  is_herprint?: boolean;
36961
37411
  kopieen?: number;
36962
37412
  layout_id?: string | null;
37413
+ lokaal_opgeslagen_op?: string | null;
37414
+ lokale_pdf_fout?: string | null;
37415
+ lokale_pdf_status?: string | null;
36963
37416
  opgepakt_op?: string | null;
36964
37417
  paginas?: number;
36965
37418
  payload?: import("../integrations/supabase/types").Json;
@@ -36968,6 +37421,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36968
37421
  pogingen?: number;
36969
37422
  printer_id?: string | null;
36970
37423
  render_html?: string | null;
37424
+ resultaat_pdf_base64?: string | null;
36971
37425
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36972
37426
  updated_at?: string;
36973
37427
  volgende_poging?: string | null;
@@ -37086,6 +37540,39 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37086
37540
  };
37087
37541
  Relationships: [];
37088
37542
  };
37543
+ print_preview_events: {
37544
+ Row: {
37545
+ code: string | null;
37546
+ created_at: string;
37547
+ detail: import("../integrations/supabase/types").Json;
37548
+ id: string;
37549
+ queue_item_id: string | null;
37550
+ reden: string | null;
37551
+ station_slug: string | null;
37552
+ uitkomst: string;
37553
+ };
37554
+ Insert: {
37555
+ code?: string | null;
37556
+ created_at?: string;
37557
+ detail?: import("../integrations/supabase/types").Json;
37558
+ id?: string;
37559
+ queue_item_id?: string | null;
37560
+ reden?: string | null;
37561
+ station_slug?: string | null;
37562
+ uitkomst?: string;
37563
+ };
37564
+ Update: {
37565
+ code?: string | null;
37566
+ created_at?: string;
37567
+ detail?: import("../integrations/supabase/types").Json;
37568
+ id?: string;
37569
+ queue_item_id?: string | null;
37570
+ reden?: string | null;
37571
+ station_slug?: string | null;
37572
+ uitkomst?: string;
37573
+ };
37574
+ Relationships: [];
37575
+ };
37089
37576
  print_queue_runners: {
37090
37577
  Row: {
37091
37578
  actief: boolean;
@@ -37325,6 +37812,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37325
37812
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37326
37813
  online: boolean;
37327
37814
  papierformaat: string;
37815
+ pdf_map: string | null;
37328
37816
  poort: number | null;
37329
37817
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37330
37818
  systeemnaam: string;
@@ -37350,6 +37838,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37350
37838
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37351
37839
  online?: boolean;
37352
37840
  papierformaat?: string;
37841
+ pdf_map?: string | null;
37353
37842
  poort?: number | null;
37354
37843
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37355
37844
  systeemnaam?: string;
@@ -37375,6 +37864,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37375
37864
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37376
37865
  online?: boolean;
37377
37866
  papierformaat?: string;
37867
+ pdf_map?: string | null;
37378
37868
  poort?: number | null;
37379
37869
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37380
37870
  systeemnaam?: string;
@@ -43631,6 +44121,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43631
44121
  is_herprint: boolean;
43632
44122
  kopieen: number;
43633
44123
  layout_id: string | null;
44124
+ lokaal_opgeslagen_op: string | null;
44125
+ lokale_pdf_fout: string | null;
44126
+ lokale_pdf_status: string | null;
43634
44127
  opgepakt_op: string | null;
43635
44128
  paginas: number;
43636
44129
  payload: import("../integrations/supabase/types").Json;
@@ -43639,6 +44132,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43639
44132
  pogingen: number;
43640
44133
  printer_id: string | null;
43641
44134
  render_html: string | null;
44135
+ resultaat_pdf_base64: string | null;
43642
44136
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43643
44137
  updated_at: string;
43644
44138
  volgende_poging: string | null;
@@ -43730,6 +44224,53 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43730
44224
  isSetofReturn: true;
43731
44225
  };
43732
44226
  };
44227
+ claim_pdf_print_jobs: {
44228
+ Args: {
44229
+ _max?: number;
44230
+ };
44231
+ Returns: {
44232
+ agent_id: string | null;
44233
+ bron_job_id: string | null;
44234
+ created_at: string;
44235
+ documentnaam: string;
44236
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44237
+ extern_job_id: string | null;
44238
+ foutmelding: string | null;
44239
+ gebruiker_id: string | null;
44240
+ gebruiker_naam: string;
44241
+ gebruikte_bron: string | null;
44242
+ gebruikte_layout_id: string | null;
44243
+ gestart_op: string | null;
44244
+ herkomst: string | null;
44245
+ id: string;
44246
+ idempotentie_sleutel: string | null;
44247
+ is_herprint: boolean;
44248
+ kopieen: number;
44249
+ layout_id: string | null;
44250
+ lokaal_opgeslagen_op: string | null;
44251
+ lokale_pdf_fout: string | null;
44252
+ lokale_pdf_status: string | null;
44253
+ opgepakt_op: string | null;
44254
+ paginas: number;
44255
+ payload: import("../integrations/supabase/types").Json;
44256
+ pdf_base64: string | null;
44257
+ pdf_url: string | null;
44258
+ pogingen: number;
44259
+ printer_id: string | null;
44260
+ render_html: string | null;
44261
+ resultaat_pdf_base64: string | null;
44262
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44263
+ updated_at: string;
44264
+ volgende_poging: string | null;
44265
+ voltooid_op: string | null;
44266
+ }[];
44267
+ SetofOptions: {
44268
+ from: "*";
44269
+ to: "print_jobs";
44270
+ isOneToOne: false;
44271
+ isSetofReturn: true;
44272
+ };
44273
+ };
43733
44274
  claim_print_jobs: {
43734
44275
  Args: {
43735
44276
  _agent_id: string;
@@ -43754,6 +44295,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43754
44295
  is_herprint: boolean;
43755
44296
  kopieen: number;
43756
44297
  layout_id: string | null;
44298
+ lokaal_opgeslagen_op: string | null;
44299
+ lokale_pdf_fout: string | null;
44300
+ lokale_pdf_status: string | null;
43757
44301
  opgepakt_op: string | null;
43758
44302
  paginas: number;
43759
44303
  payload: import("../integrations/supabase/types").Json;
@@ -43762,6 +44306,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43762
44306
  pogingen: number;
43763
44307
  printer_id: string | null;
43764
44308
  render_html: string | null;
44309
+ resultaat_pdf_base64: string | null;
43765
44310
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43766
44311
  updated_at: string;
43767
44312
  volgende_poging: string | null;
@@ -43902,6 +44447,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43902
44447
  order_id: string;
43903
44448
  order_source: string;
43904
44449
  pick_date: string;
44450
+ printed_at: string;
44451
+ printed_today: boolean;
43905
44452
  status: string;
43906
44453
  }[];
43907
44454
  };
@@ -44610,6 +45157,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44610
45157
  };
44611
45158
  Returns: number;
44612
45159
  };
45160
+ logistics_cancel_orphan_tasks: {
45161
+ Args: never;
45162
+ Returns: number;
45163
+ };
44613
45164
  logistics_capacity_day_check: {
44614
45165
  Args: {
44615
45166
  p_from?: string;
@@ -44630,6 +45181,25 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44630
45181
  };
44631
45182
  Returns: number;
44632
45183
  };
45184
+ logistics_cart_index: {
45185
+ Args: {
45186
+ p_from?: string;
45187
+ p_to?: string;
45188
+ };
45189
+ Returns: {
45190
+ cart_id: string;
45191
+ cart_index: number;
45192
+ cart_label: string;
45193
+ is_shared: boolean;
45194
+ order_number: string;
45195
+ order_source: string;
45196
+ order_uuid: string;
45197
+ pick_date: string;
45198
+ printed_at: string;
45199
+ shifted: boolean;
45200
+ task_status: string;
45201
+ }[];
45202
+ };
44633
45203
  logistics_check_order_allowed: {
44634
45204
  Args: {
44635
45205
  p_lines: import("../integrations/supabase/types").Json;
@@ -44778,6 +45348,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44778
45348
  isSetofReturn: false;
44779
45349
  };
44780
45350
  };
45351
+ logistics_consistency_check: {
45352
+ Args: never;
45353
+ Returns: {
45354
+ agenda_carts: number;
45355
+ control_carts: number;
45356
+ ok: boolean;
45357
+ orphan_tasks: number;
45358
+ pick_date: string;
45359
+ raw_carts: number;
45360
+ }[];
45361
+ };
44781
45362
  logistics_delay_customer_email: {
44782
45363
  Args: {
44783
45364
  p_customer: string;
@@ -44867,6 +45448,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44867
45448
  isSetofReturn: false;
44868
45449
  };
44869
45450
  };
45451
+ logistics_floriday_cart_plan: {
45452
+ Args: {
45453
+ p_order_id: string;
45454
+ };
45455
+ Returns: {
45456
+ carrier_type: string;
45457
+ idx: number;
45458
+ packages: number;
45459
+ }[];
45460
+ };
44870
45461
  logistics_floriday_claim_pushes: {
44871
45462
  Args: {
44872
45463
  _lease_seconds?: number;
@@ -44971,6 +45562,25 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44971
45562
  };
44972
45563
  Returns: number;
44973
45564
  };
45565
+ logistics_order_overview: {
45566
+ Args: {
45567
+ p_from?: string;
45568
+ p_to?: string;
45569
+ };
45570
+ Returns: {
45571
+ cart_count: number;
45572
+ customer_name: string;
45573
+ delivery_date: string;
45574
+ order_number: string;
45575
+ order_source: string;
45576
+ order_uuid: string;
45577
+ pick_date: string;
45578
+ plant_count: number;
45579
+ printed_at: string;
45580
+ shifted: boolean;
45581
+ status: string;
45582
+ }[];
45583
+ };
44974
45584
  logistics_order_pick_day: {
44975
45585
  Args: {
44976
45586
  p_order_ref: string;
@@ -44983,6 +45593,22 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44983
45593
  };
44984
45594
  Returns: string;
44985
45595
  };
45596
+ logistics_pick_agenda: {
45597
+ Args: {
45598
+ p_from?: string;
45599
+ p_to?: string;
45600
+ };
45601
+ Returns: {
45602
+ cart_count: number;
45603
+ in_preparation: number;
45604
+ order_count: number;
45605
+ orders: import("../integrations/supabase/types").Json;
45606
+ pick_date: string;
45607
+ plant_count: number;
45608
+ ready: number;
45609
+ shifted_count: number;
45610
+ }[];
45611
+ };
44986
45612
  logistics_pick_email_purpose: {
44987
45613
  Args: never;
44988
45614
  Returns: string;
@@ -45037,6 +45663,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45037
45663
  };
45038
45664
  Returns: undefined;
45039
45665
  };
45666
+ logistics_plan_floriday_order: {
45667
+ Args: {
45668
+ p_buffer_id?: string;
45669
+ p_order_id: string;
45670
+ };
45671
+ Returns: number;
45672
+ };
45040
45673
  logistics_plan_impact_orders: {
45041
45674
  Args: {
45042
45675
  p_order_id: string;
@@ -45142,6 +45775,15 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45142
45775
  };
45143
45776
  Returns: import("../integrations/supabase/types").Json;
45144
45777
  };
45778
+ logistics_resolve_pick_document: {
45779
+ Args: {
45780
+ _is_herprint: boolean;
45781
+ _queue_item_id: string;
45782
+ _session_id: string;
45783
+ _voorbeeld: boolean;
45784
+ };
45785
+ Returns: import("../integrations/supabase/types").Json;
45786
+ };
45145
45787
  logistics_resolve_settings: {
45146
45788
  Args: {
45147
45789
  p_config_id: string;
@@ -45272,14 +45914,6 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45272
45914
  };
45273
45915
  Returns: string;
45274
45916
  };
45275
- maps_cron_token: {
45276
- Args: never;
45277
- Returns: string;
45278
- };
45279
- maps_kick_queue: {
45280
- Args: never;
45281
- Returns: undefined;
45282
- };
45283
45917
  mark_offer_clicked: {
45284
45918
  Args: {
45285
45919
  p_code: string;
@@ -45590,6 +46224,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45590
46224
  };
45591
46225
  pick_enqueue_print_job: {
45592
46226
  Args: {
46227
+ _is_herprint?: boolean;
45593
46228
  _printer_id?: string;
45594
46229
  _queue_item_id: string;
45595
46230
  _session_id?: string;
@@ -45603,6 +46238,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45603
46238
  };
45604
46239
  Returns: import("../integrations/supabase/types").Json;
45605
46240
  };
46241
+ pick_preview_job: {
46242
+ Args: {
46243
+ _queue_item_id: string;
46244
+ _station_slug: string;
46245
+ };
46246
+ Returns: import("../integrations/supabase/types").Json;
46247
+ };
45606
46248
  pick_print_job_status: {
45607
46249
  Args: {
45608
46250
  _job_id: string;
@@ -45780,6 +46422,24 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45780
46422
  };
45781
46423
  Returns: undefined;
45782
46424
  };
46425
+ print_preview_toestaan: {
46426
+ Args: {
46427
+ _max?: number;
46428
+ _queue_item_id: string;
46429
+ _station_slug: string;
46430
+ _venster_sec?: number;
46431
+ };
46432
+ Returns: import("../integrations/supabase/types").Json;
46433
+ };
46434
+ print_preview_weiger: {
46435
+ Args: {
46436
+ _code: string;
46437
+ _queue_item_id: string;
46438
+ _reden: string;
46439
+ _station_slug: string;
46440
+ };
46441
+ Returns: undefined;
46442
+ };
45783
46443
  process_logistics_event: {
45784
46444
  Args: {
45785
46445
  p_event_id: string;
@@ -45897,6 +46557,14 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45897
46557
  };
45898
46558
  Returns: undefined;
45899
46559
  };
46560
+ replace_order_carts: {
46561
+ Args: {
46562
+ p_buffer_id: string;
46563
+ p_carts: import("../integrations/supabase/types").Json;
46564
+ p_order_id: string;
46565
+ };
46566
+ Returns: import("../integrations/supabase/types").Json;
46567
+ };
45900
46568
  reset_floriday_sync_cursor: {
45901
46569
  Args: {
45902
46570
  p_connection_id: string;
@@ -45926,6 +46594,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45926
46594
  };
45927
46595
  Returns: string;
45928
46596
  };
46597
+ resolve_print_job_printer_id: {
46598
+ Args: {
46599
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46600
+ };
46601
+ Returns: string;
46602
+ };
45929
46603
  resolve_product_id_for_item: {
45930
46604
  Args: {
45931
46605
  p_product_name: string;
@@ -46517,7 +47191,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
46517
47191
  };
46518
47192
  CompositeTypes: { [_ in never]: never; };
46519
47193
  }, {
46520
- PostgrestVersion: "14.17";
47194
+ PostgrestVersion: "14.5";
46521
47195
  }>;
46522
47196
  userId: string;
46523
47197
  claims: import("@supabase/auth-js").User;