@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
@@ -2864,6 +2864,84 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
2864
2864
  };
2865
2865
  Relationships: [];
2866
2866
  };
2867
+ delivery_notes: {
2868
+ Row: {
2869
+ byte_size: number | null;
2870
+ connection_id: string | null;
2871
+ content_type: string;
2872
+ created_at: string;
2873
+ error_message: string | null;
2874
+ fetched_at: string | null;
2875
+ fulfillment_order_id: string | null;
2876
+ http_status: number | null;
2877
+ id: string;
2878
+ label_code: string | null;
2879
+ letter: string | null;
2880
+ load_carrier_index: number | null;
2881
+ load_carrier_type: string | null;
2882
+ order_id: string | null;
2883
+ order_number: string | null;
2884
+ packages: number | null;
2885
+ source: string;
2886
+ status: string;
2887
+ storage_bucket: string;
2888
+ storage_path: string | null;
2889
+ updated_at: string;
2890
+ };
2891
+ Insert: {
2892
+ byte_size?: number | null;
2893
+ connection_id?: string | null;
2894
+ content_type?: string;
2895
+ created_at?: string;
2896
+ error_message?: string | null;
2897
+ fetched_at?: string | null;
2898
+ fulfillment_order_id?: string | null;
2899
+ http_status?: number | null;
2900
+ id?: string;
2901
+ label_code?: string | null;
2902
+ letter?: string | null;
2903
+ load_carrier_index?: number | null;
2904
+ load_carrier_type?: string | null;
2905
+ order_id?: string | null;
2906
+ order_number?: string | null;
2907
+ packages?: number | null;
2908
+ source?: string;
2909
+ status?: string;
2910
+ storage_bucket?: string;
2911
+ storage_path?: string | null;
2912
+ updated_at?: string;
2913
+ };
2914
+ Update: {
2915
+ byte_size?: number | null;
2916
+ connection_id?: string | null;
2917
+ content_type?: string;
2918
+ created_at?: string;
2919
+ error_message?: string | null;
2920
+ fetched_at?: string | null;
2921
+ fulfillment_order_id?: string | null;
2922
+ http_status?: number | null;
2923
+ id?: string;
2924
+ label_code?: string | null;
2925
+ letter?: string | null;
2926
+ load_carrier_index?: number | null;
2927
+ load_carrier_type?: string | null;
2928
+ order_id?: string | null;
2929
+ order_number?: string | null;
2930
+ packages?: number | null;
2931
+ source?: string;
2932
+ status?: string;
2933
+ storage_bucket?: string;
2934
+ storage_path?: string | null;
2935
+ updated_at?: string;
2936
+ };
2937
+ Relationships: [{
2938
+ foreignKeyName: "delivery_notes_order_id_fkey";
2939
+ columns: ["order_id"];
2940
+ isOneToOne: false;
2941
+ referencedRelation: "orders";
2942
+ referencedColumns: ["id"];
2943
+ }];
2944
+ };
2867
2945
  document_bronregels: {
2868
2946
  Row: {
2869
2947
  bron: string;
@@ -5917,10 +5995,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
5917
5995
  };
5918
5996
  floriday_connections: {
5919
5997
  Row: {
5920
- access_token: string | null;
5921
5998
  api_key: string;
5922
- client_id: string;
5923
- client_secret: string;
5924
5999
  created_at: string;
5925
6000
  customers_endpoint: string | null;
5926
6001
  environment: string;
@@ -5935,10 +6010,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
5935
6010
  updated_at: string;
5936
6011
  };
5937
6012
  Insert: {
5938
- access_token?: string | null;
5939
6013
  api_key: string;
5940
- client_id: string;
5941
- client_secret: string;
5942
6014
  created_at?: string;
5943
6015
  customers_endpoint?: string | null;
5944
6016
  environment: string;
@@ -5953,10 +6025,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
5953
6025
  updated_at?: string;
5954
6026
  };
5955
6027
  Update: {
5956
- access_token?: string | null;
5957
6028
  api_key?: string;
5958
- client_id?: string;
5959
- client_secret?: string;
5960
6029
  created_at?: string;
5961
6030
  customers_endpoint?: string | null;
5962
6031
  environment?: string;
@@ -10827,6 +10896,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10827
10896
  last_error: string | null;
10828
10897
  last_error_at: string | null;
10829
10898
  last_success_at: string | null;
10899
+ provider: string;
10830
10900
  updated_at: string;
10831
10901
  };
10832
10902
  Insert: {
@@ -10838,6 +10908,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10838
10908
  last_error?: string | null;
10839
10909
  last_error_at?: string | null;
10840
10910
  last_success_at?: string | null;
10911
+ provider?: string;
10841
10912
  updated_at?: string;
10842
10913
  };
10843
10914
  Update: {
@@ -10849,6 +10920,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
10849
10920
  last_error?: string | null;
10850
10921
  last_error_at?: string | null;
10851
10922
  last_success_at?: string | null;
10923
+ provider?: string;
10852
10924
  updated_at?: string;
10853
10925
  };
10854
10926
  Relationships: [];
@@ -13586,6 +13658,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13586
13658
  };
13587
13659
  Relationships: [];
13588
13660
  };
13661
+ print_dedupe_events: {
13662
+ Row: {
13663
+ bestaande_job_id: string | null;
13664
+ created_at: string;
13665
+ detail: string | null;
13666
+ documentnaam: string | null;
13667
+ documenttype: string | null;
13668
+ id: string;
13669
+ idempotentie_sleutel: string;
13670
+ reden: string;
13671
+ };
13672
+ Insert: {
13673
+ bestaande_job_id?: string | null;
13674
+ created_at?: string;
13675
+ detail?: string | null;
13676
+ documentnaam?: string | null;
13677
+ documenttype?: string | null;
13678
+ id?: string;
13679
+ idempotentie_sleutel: string;
13680
+ reden: string;
13681
+ };
13682
+ Update: {
13683
+ bestaande_job_id?: string | null;
13684
+ created_at?: string;
13685
+ detail?: string | null;
13686
+ documentnaam?: string | null;
13687
+ documenttype?: string | null;
13688
+ id?: string;
13689
+ idempotentie_sleutel?: string;
13690
+ reden?: string;
13691
+ };
13692
+ Relationships: [];
13693
+ };
13589
13694
  print_job_logs: {
13590
13695
  Row: {
13591
13696
  created_at: string;
@@ -13636,6 +13741,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13636
13741
  is_herprint: boolean;
13637
13742
  kopieen: number;
13638
13743
  layout_id: string | null;
13744
+ lokaal_opgeslagen_op: string | null;
13745
+ lokale_pdf_fout: string | null;
13746
+ lokale_pdf_status: string | null;
13639
13747
  opgepakt_op: string | null;
13640
13748
  paginas: number;
13641
13749
  payload: import("../integrations/supabase/types").Json;
@@ -13644,6 +13752,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13644
13752
  pogingen: number;
13645
13753
  printer_id: string | null;
13646
13754
  render_html: string | null;
13755
+ resultaat_pdf_base64: string | null;
13647
13756
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13648
13757
  updated_at: string;
13649
13758
  volgende_poging: string | null;
@@ -13668,6 +13777,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13668
13777
  is_herprint?: boolean;
13669
13778
  kopieen?: number;
13670
13779
  layout_id?: string | null;
13780
+ lokaal_opgeslagen_op?: string | null;
13781
+ lokale_pdf_fout?: string | null;
13782
+ lokale_pdf_status?: string | null;
13671
13783
  opgepakt_op?: string | null;
13672
13784
  paginas?: number;
13673
13785
  payload?: import("../integrations/supabase/types").Json;
@@ -13676,6 +13788,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13676
13788
  pogingen?: number;
13677
13789
  printer_id?: string | null;
13678
13790
  render_html?: string | null;
13791
+ resultaat_pdf_base64?: string | null;
13679
13792
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13680
13793
  updated_at?: string;
13681
13794
  volgende_poging?: string | null;
@@ -13700,6 +13813,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13700
13813
  is_herprint?: boolean;
13701
13814
  kopieen?: number;
13702
13815
  layout_id?: string | null;
13816
+ lokaal_opgeslagen_op?: string | null;
13817
+ lokale_pdf_fout?: string | null;
13818
+ lokale_pdf_status?: string | null;
13703
13819
  opgepakt_op?: string | null;
13704
13820
  paginas?: number;
13705
13821
  payload?: import("../integrations/supabase/types").Json;
@@ -13708,6 +13824,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13708
13824
  pogingen?: number;
13709
13825
  printer_id?: string | null;
13710
13826
  render_html?: string | null;
13827
+ resultaat_pdf_base64?: string | null;
13711
13828
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13712
13829
  updated_at?: string;
13713
13830
  volgende_poging?: string | null;
@@ -13826,6 +13943,39 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
13826
13943
  };
13827
13944
  Relationships: [];
13828
13945
  };
13946
+ print_preview_events: {
13947
+ Row: {
13948
+ code: string | null;
13949
+ created_at: string;
13950
+ detail: import("../integrations/supabase/types").Json;
13951
+ id: string;
13952
+ queue_item_id: string | null;
13953
+ reden: string | null;
13954
+ station_slug: string | null;
13955
+ uitkomst: string;
13956
+ };
13957
+ Insert: {
13958
+ code?: string | null;
13959
+ created_at?: string;
13960
+ detail?: import("../integrations/supabase/types").Json;
13961
+ id?: string;
13962
+ queue_item_id?: string | null;
13963
+ reden?: string | null;
13964
+ station_slug?: string | null;
13965
+ uitkomst?: string;
13966
+ };
13967
+ Update: {
13968
+ code?: string | null;
13969
+ created_at?: string;
13970
+ detail?: import("../integrations/supabase/types").Json;
13971
+ id?: string;
13972
+ queue_item_id?: string | null;
13973
+ reden?: string | null;
13974
+ station_slug?: string | null;
13975
+ uitkomst?: string;
13976
+ };
13977
+ Relationships: [];
13978
+ };
13829
13979
  print_queue_runners: {
13830
13980
  Row: {
13831
13981
  actief: boolean;
@@ -14065,6 +14215,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
14065
14215
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14066
14216
  online: boolean;
14067
14217
  papierformaat: string;
14218
+ pdf_map: string | null;
14068
14219
  poort: number | null;
14069
14220
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14070
14221
  systeemnaam: string;
@@ -14090,6 +14241,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
14090
14241
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14091
14242
  online?: boolean;
14092
14243
  papierformaat?: string;
14244
+ pdf_map?: string | null;
14093
14245
  poort?: number | null;
14094
14246
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14095
14247
  systeemnaam?: string;
@@ -14115,6 +14267,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
14115
14267
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14116
14268
  online?: boolean;
14117
14269
  papierformaat?: string;
14270
+ pdf_map?: string | null;
14118
14271
  poort?: number | null;
14119
14272
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14120
14273
  systeemnaam?: string;
@@ -20371,6 +20524,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20371
20524
  is_herprint: boolean;
20372
20525
  kopieen: number;
20373
20526
  layout_id: string | null;
20527
+ lokaal_opgeslagen_op: string | null;
20528
+ lokale_pdf_fout: string | null;
20529
+ lokale_pdf_status: string | null;
20374
20530
  opgepakt_op: string | null;
20375
20531
  paginas: number;
20376
20532
  payload: import("../integrations/supabase/types").Json;
@@ -20379,6 +20535,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20379
20535
  pogingen: number;
20380
20536
  printer_id: string | null;
20381
20537
  render_html: string | null;
20538
+ resultaat_pdf_base64: string | null;
20382
20539
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20383
20540
  updated_at: string;
20384
20541
  volgende_poging: string | null;
@@ -20470,6 +20627,53 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20470
20627
  isSetofReturn: true;
20471
20628
  };
20472
20629
  };
20630
+ claim_pdf_print_jobs: {
20631
+ Args: {
20632
+ _max?: number;
20633
+ };
20634
+ Returns: {
20635
+ agent_id: string | null;
20636
+ bron_job_id: string | null;
20637
+ created_at: string;
20638
+ documentnaam: string;
20639
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20640
+ extern_job_id: string | null;
20641
+ foutmelding: string | null;
20642
+ gebruiker_id: string | null;
20643
+ gebruiker_naam: string;
20644
+ gebruikte_bron: string | null;
20645
+ gebruikte_layout_id: string | null;
20646
+ gestart_op: string | null;
20647
+ herkomst: string | null;
20648
+ id: string;
20649
+ idempotentie_sleutel: string | null;
20650
+ is_herprint: boolean;
20651
+ kopieen: number;
20652
+ layout_id: string | null;
20653
+ lokaal_opgeslagen_op: string | null;
20654
+ lokale_pdf_fout: string | null;
20655
+ lokale_pdf_status: string | null;
20656
+ opgepakt_op: string | null;
20657
+ paginas: number;
20658
+ payload: import("../integrations/supabase/types").Json;
20659
+ pdf_base64: string | null;
20660
+ pdf_url: string | null;
20661
+ pogingen: number;
20662
+ printer_id: string | null;
20663
+ render_html: string | null;
20664
+ resultaat_pdf_base64: string | null;
20665
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20666
+ updated_at: string;
20667
+ volgende_poging: string | null;
20668
+ voltooid_op: string | null;
20669
+ }[];
20670
+ SetofOptions: {
20671
+ from: "*";
20672
+ to: "print_jobs";
20673
+ isOneToOne: false;
20674
+ isSetofReturn: true;
20675
+ };
20676
+ };
20473
20677
  claim_print_jobs: {
20474
20678
  Args: {
20475
20679
  _agent_id: string;
@@ -20494,6 +20698,9 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20494
20698
  is_herprint: boolean;
20495
20699
  kopieen: number;
20496
20700
  layout_id: string | null;
20701
+ lokaal_opgeslagen_op: string | null;
20702
+ lokale_pdf_fout: string | null;
20703
+ lokale_pdf_status: string | null;
20497
20704
  opgepakt_op: string | null;
20498
20705
  paginas: number;
20499
20706
  payload: import("../integrations/supabase/types").Json;
@@ -20502,6 +20709,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20502
20709
  pogingen: number;
20503
20710
  printer_id: string | null;
20504
20711
  render_html: string | null;
20712
+ resultaat_pdf_base64: string | null;
20505
20713
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20506
20714
  updated_at: string;
20507
20715
  volgende_poging: string | null;
@@ -20642,6 +20850,8 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
20642
20850
  order_id: string;
20643
20851
  order_source: string;
20644
20852
  pick_date: string;
20853
+ printed_at: string;
20854
+ printed_today: boolean;
20645
20855
  status: string;
20646
20856
  }[];
20647
20857
  };
@@ -21350,6 +21560,10 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21350
21560
  };
21351
21561
  Returns: number;
21352
21562
  };
21563
+ logistics_cancel_orphan_tasks: {
21564
+ Args: never;
21565
+ Returns: number;
21566
+ };
21353
21567
  logistics_capacity_day_check: {
21354
21568
  Args: {
21355
21569
  p_from?: string;
@@ -21370,6 +21584,25 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21370
21584
  };
21371
21585
  Returns: number;
21372
21586
  };
21587
+ logistics_cart_index: {
21588
+ Args: {
21589
+ p_from?: string;
21590
+ p_to?: string;
21591
+ };
21592
+ Returns: {
21593
+ cart_id: string;
21594
+ cart_index: number;
21595
+ cart_label: string;
21596
+ is_shared: boolean;
21597
+ order_number: string;
21598
+ order_source: string;
21599
+ order_uuid: string;
21600
+ pick_date: string;
21601
+ printed_at: string;
21602
+ shifted: boolean;
21603
+ task_status: string;
21604
+ }[];
21605
+ };
21373
21606
  logistics_check_order_allowed: {
21374
21607
  Args: {
21375
21608
  p_lines: import("../integrations/supabase/types").Json;
@@ -21518,6 +21751,17 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21518
21751
  isSetofReturn: false;
21519
21752
  };
21520
21753
  };
21754
+ logistics_consistency_check: {
21755
+ Args: never;
21756
+ Returns: {
21757
+ agenda_carts: number;
21758
+ control_carts: number;
21759
+ ok: boolean;
21760
+ orphan_tasks: number;
21761
+ pick_date: string;
21762
+ raw_carts: number;
21763
+ }[];
21764
+ };
21521
21765
  logistics_delay_customer_email: {
21522
21766
  Args: {
21523
21767
  p_customer: string;
@@ -21607,6 +21851,16 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21607
21851
  isSetofReturn: false;
21608
21852
  };
21609
21853
  };
21854
+ logistics_floriday_cart_plan: {
21855
+ Args: {
21856
+ p_order_id: string;
21857
+ };
21858
+ Returns: {
21859
+ carrier_type: string;
21860
+ idx: number;
21861
+ packages: number;
21862
+ }[];
21863
+ };
21610
21864
  logistics_floriday_claim_pushes: {
21611
21865
  Args: {
21612
21866
  _lease_seconds?: number;
@@ -21711,6 +21965,25 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21711
21965
  };
21712
21966
  Returns: number;
21713
21967
  };
21968
+ logistics_order_overview: {
21969
+ Args: {
21970
+ p_from?: string;
21971
+ p_to?: string;
21972
+ };
21973
+ Returns: {
21974
+ cart_count: number;
21975
+ customer_name: string;
21976
+ delivery_date: string;
21977
+ order_number: string;
21978
+ order_source: string;
21979
+ order_uuid: string;
21980
+ pick_date: string;
21981
+ plant_count: number;
21982
+ printed_at: string;
21983
+ shifted: boolean;
21984
+ status: string;
21985
+ }[];
21986
+ };
21714
21987
  logistics_order_pick_day: {
21715
21988
  Args: {
21716
21989
  p_order_ref: string;
@@ -21723,6 +21996,22 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21723
21996
  };
21724
21997
  Returns: string;
21725
21998
  };
21999
+ logistics_pick_agenda: {
22000
+ Args: {
22001
+ p_from?: string;
22002
+ p_to?: string;
22003
+ };
22004
+ Returns: {
22005
+ cart_count: number;
22006
+ in_preparation: number;
22007
+ order_count: number;
22008
+ orders: import("../integrations/supabase/types").Json;
22009
+ pick_date: string;
22010
+ plant_count: number;
22011
+ ready: number;
22012
+ shifted_count: number;
22013
+ }[];
22014
+ };
21726
22015
  logistics_pick_email_purpose: {
21727
22016
  Args: never;
21728
22017
  Returns: string;
@@ -21777,6 +22066,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21777
22066
  };
21778
22067
  Returns: undefined;
21779
22068
  };
22069
+ logistics_plan_floriday_order: {
22070
+ Args: {
22071
+ p_buffer_id?: string;
22072
+ p_order_id: string;
22073
+ };
22074
+ Returns: number;
22075
+ };
21780
22076
  logistics_plan_impact_orders: {
21781
22077
  Args: {
21782
22078
  p_order_id: string;
@@ -21882,6 +22178,15 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
21882
22178
  };
21883
22179
  Returns: import("../integrations/supabase/types").Json;
21884
22180
  };
22181
+ logistics_resolve_pick_document: {
22182
+ Args: {
22183
+ _is_herprint: boolean;
22184
+ _queue_item_id: string;
22185
+ _session_id: string;
22186
+ _voorbeeld: boolean;
22187
+ };
22188
+ Returns: import("../integrations/supabase/types").Json;
22189
+ };
21885
22190
  logistics_resolve_settings: {
21886
22191
  Args: {
21887
22192
  p_config_id: string;
@@ -22012,14 +22317,6 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22012
22317
  };
22013
22318
  Returns: string;
22014
22319
  };
22015
- maps_cron_token: {
22016
- Args: never;
22017
- Returns: string;
22018
- };
22019
- maps_kick_queue: {
22020
- Args: never;
22021
- Returns: undefined;
22022
- };
22023
22320
  mark_offer_clicked: {
22024
22321
  Args: {
22025
22322
  p_code: string;
@@ -22330,6 +22627,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22330
22627
  };
22331
22628
  pick_enqueue_print_job: {
22332
22629
  Args: {
22630
+ _is_herprint?: boolean;
22333
22631
  _printer_id?: string;
22334
22632
  _queue_item_id: string;
22335
22633
  _session_id?: string;
@@ -22343,6 +22641,13 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22343
22641
  };
22344
22642
  Returns: import("../integrations/supabase/types").Json;
22345
22643
  };
22644
+ pick_preview_job: {
22645
+ Args: {
22646
+ _queue_item_id: string;
22647
+ _station_slug: string;
22648
+ };
22649
+ Returns: import("../integrations/supabase/types").Json;
22650
+ };
22346
22651
  pick_print_job_status: {
22347
22652
  Args: {
22348
22653
  _job_id: string;
@@ -22520,6 +22825,24 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22520
22825
  };
22521
22826
  Returns: undefined;
22522
22827
  };
22828
+ print_preview_toestaan: {
22829
+ Args: {
22830
+ _max?: number;
22831
+ _queue_item_id: string;
22832
+ _station_slug: string;
22833
+ _venster_sec?: number;
22834
+ };
22835
+ Returns: import("../integrations/supabase/types").Json;
22836
+ };
22837
+ print_preview_weiger: {
22838
+ Args: {
22839
+ _code: string;
22840
+ _queue_item_id: string;
22841
+ _reden: string;
22842
+ _station_slug: string;
22843
+ };
22844
+ Returns: undefined;
22845
+ };
22523
22846
  process_logistics_event: {
22524
22847
  Args: {
22525
22848
  p_event_id: string;
@@ -22637,6 +22960,14 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22637
22960
  };
22638
22961
  Returns: undefined;
22639
22962
  };
22963
+ replace_order_carts: {
22964
+ Args: {
22965
+ p_buffer_id: string;
22966
+ p_carts: import("../integrations/supabase/types").Json;
22967
+ p_order_id: string;
22968
+ };
22969
+ Returns: import("../integrations/supabase/types").Json;
22970
+ };
22640
22971
  reset_floriday_sync_cursor: {
22641
22972
  Args: {
22642
22973
  p_connection_id: string;
@@ -22666,6 +22997,12 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
22666
22997
  };
22667
22998
  Returns: string;
22668
22999
  };
23000
+ resolve_print_job_printer_id: {
23001
+ Args: {
23002
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23003
+ };
23004
+ Returns: string;
23005
+ };
22669
23006
  resolve_product_id_for_item: {
22670
23007
  Args: {
22671
23008
  p_product_name: string;
@@ -23257,7 +23594,7 @@ export declare const getOrderAddresses: import("@tanstack/start-client-core").Op
23257
23594
  };
23258
23595
  CompositeTypes: { [_ in never]: never; };
23259
23596
  }, {
23260
- PostgrestVersion: "14.17";
23597
+ PostgrestVersion: "14.5";
23261
23598
  }>;
23262
23599
  userId: string;
23263
23600
  claims: import("@supabase/auth-js").User;