@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
@@ -2852,6 +2852,84 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
2852
2852
  };
2853
2853
  Relationships: [];
2854
2854
  };
2855
+ delivery_notes: {
2856
+ Row: {
2857
+ byte_size: number | null;
2858
+ connection_id: string | null;
2859
+ content_type: string;
2860
+ created_at: string;
2861
+ error_message: string | null;
2862
+ fetched_at: string | null;
2863
+ fulfillment_order_id: string | null;
2864
+ http_status: number | null;
2865
+ id: string;
2866
+ label_code: string | null;
2867
+ letter: string | null;
2868
+ load_carrier_index: number | null;
2869
+ load_carrier_type: string | null;
2870
+ order_id: string | null;
2871
+ order_number: string | null;
2872
+ packages: number | null;
2873
+ source: string;
2874
+ status: string;
2875
+ storage_bucket: string;
2876
+ storage_path: string | null;
2877
+ updated_at: string;
2878
+ };
2879
+ Insert: {
2880
+ byte_size?: number | null;
2881
+ connection_id?: string | null;
2882
+ content_type?: string;
2883
+ created_at?: string;
2884
+ error_message?: string | null;
2885
+ fetched_at?: string | null;
2886
+ fulfillment_order_id?: string | null;
2887
+ http_status?: number | null;
2888
+ id?: string;
2889
+ label_code?: string | null;
2890
+ letter?: string | null;
2891
+ load_carrier_index?: number | null;
2892
+ load_carrier_type?: string | null;
2893
+ order_id?: string | null;
2894
+ order_number?: string | null;
2895
+ packages?: number | null;
2896
+ source?: string;
2897
+ status?: string;
2898
+ storage_bucket?: string;
2899
+ storage_path?: string | null;
2900
+ updated_at?: string;
2901
+ };
2902
+ Update: {
2903
+ byte_size?: number | null;
2904
+ connection_id?: string | null;
2905
+ content_type?: string;
2906
+ created_at?: string;
2907
+ error_message?: string | null;
2908
+ fetched_at?: string | null;
2909
+ fulfillment_order_id?: string | null;
2910
+ http_status?: number | null;
2911
+ id?: string;
2912
+ label_code?: string | null;
2913
+ letter?: string | null;
2914
+ load_carrier_index?: number | null;
2915
+ load_carrier_type?: string | null;
2916
+ order_id?: string | null;
2917
+ order_number?: string | null;
2918
+ packages?: number | null;
2919
+ source?: string;
2920
+ status?: string;
2921
+ storage_bucket?: string;
2922
+ storage_path?: string | null;
2923
+ updated_at?: string;
2924
+ };
2925
+ Relationships: [{
2926
+ foreignKeyName: "delivery_notes_order_id_fkey";
2927
+ columns: ["order_id"];
2928
+ isOneToOne: false;
2929
+ referencedRelation: "orders";
2930
+ referencedColumns: ["id"];
2931
+ }];
2932
+ };
2855
2933
  document_bronregels: {
2856
2934
  Row: {
2857
2935
  bron: string;
@@ -5905,10 +5983,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
5905
5983
  };
5906
5984
  floriday_connections: {
5907
5985
  Row: {
5908
- access_token: string | null;
5909
5986
  api_key: string;
5910
- client_id: string;
5911
- client_secret: string;
5912
5987
  created_at: string;
5913
5988
  customers_endpoint: string | null;
5914
5989
  environment: string;
@@ -5923,10 +5998,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
5923
5998
  updated_at: string;
5924
5999
  };
5925
6000
  Insert: {
5926
- access_token?: string | null;
5927
6001
  api_key: string;
5928
- client_id: string;
5929
- client_secret: string;
5930
6002
  created_at?: string;
5931
6003
  customers_endpoint?: string | null;
5932
6004
  environment: string;
@@ -5941,10 +6013,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
5941
6013
  updated_at?: string;
5942
6014
  };
5943
6015
  Update: {
5944
- access_token?: string | null;
5945
6016
  api_key?: string;
5946
- client_id?: string;
5947
- client_secret?: string;
5948
6017
  created_at?: string;
5949
6018
  customers_endpoint?: string | null;
5950
6019
  environment?: string;
@@ -10815,6 +10884,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
10815
10884
  last_error: string | null;
10816
10885
  last_error_at: string | null;
10817
10886
  last_success_at: string | null;
10887
+ provider: string;
10818
10888
  updated_at: string;
10819
10889
  };
10820
10890
  Insert: {
@@ -10826,6 +10896,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
10826
10896
  last_error?: string | null;
10827
10897
  last_error_at?: string | null;
10828
10898
  last_success_at?: string | null;
10899
+ provider?: string;
10829
10900
  updated_at?: string;
10830
10901
  };
10831
10902
  Update: {
@@ -10837,6 +10908,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
10837
10908
  last_error?: string | null;
10838
10909
  last_error_at?: string | null;
10839
10910
  last_success_at?: string | null;
10911
+ provider?: string;
10840
10912
  updated_at?: string;
10841
10913
  };
10842
10914
  Relationships: [];
@@ -13574,6 +13646,39 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13574
13646
  };
13575
13647
  Relationships: [];
13576
13648
  };
13649
+ print_dedupe_events: {
13650
+ Row: {
13651
+ bestaande_job_id: string | null;
13652
+ created_at: string;
13653
+ detail: string | null;
13654
+ documentnaam: string | null;
13655
+ documenttype: string | null;
13656
+ id: string;
13657
+ idempotentie_sleutel: string;
13658
+ reden: string;
13659
+ };
13660
+ Insert: {
13661
+ bestaande_job_id?: string | null;
13662
+ created_at?: string;
13663
+ detail?: string | null;
13664
+ documentnaam?: string | null;
13665
+ documenttype?: string | null;
13666
+ id?: string;
13667
+ idempotentie_sleutel: string;
13668
+ reden: string;
13669
+ };
13670
+ Update: {
13671
+ bestaande_job_id?: string | null;
13672
+ created_at?: string;
13673
+ detail?: string | null;
13674
+ documentnaam?: string | null;
13675
+ documenttype?: string | null;
13676
+ id?: string;
13677
+ idempotentie_sleutel?: string;
13678
+ reden?: string;
13679
+ };
13680
+ Relationships: [];
13681
+ };
13577
13682
  print_job_logs: {
13578
13683
  Row: {
13579
13684
  created_at: string;
@@ -13624,6 +13729,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13624
13729
  is_herprint: boolean;
13625
13730
  kopieen: number;
13626
13731
  layout_id: string | null;
13732
+ lokaal_opgeslagen_op: string | null;
13733
+ lokale_pdf_fout: string | null;
13734
+ lokale_pdf_status: string | null;
13627
13735
  opgepakt_op: string | null;
13628
13736
  paginas: number;
13629
13737
  payload: import("../integrations/supabase/types").Json;
@@ -13632,6 +13740,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13632
13740
  pogingen: number;
13633
13741
  printer_id: string | null;
13634
13742
  render_html: string | null;
13743
+ resultaat_pdf_base64: string | null;
13635
13744
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13636
13745
  updated_at: string;
13637
13746
  volgende_poging: string | null;
@@ -13656,6 +13765,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13656
13765
  is_herprint?: boolean;
13657
13766
  kopieen?: number;
13658
13767
  layout_id?: string | null;
13768
+ lokaal_opgeslagen_op?: string | null;
13769
+ lokale_pdf_fout?: string | null;
13770
+ lokale_pdf_status?: string | null;
13659
13771
  opgepakt_op?: string | null;
13660
13772
  paginas?: number;
13661
13773
  payload?: import("../integrations/supabase/types").Json;
@@ -13664,6 +13776,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13664
13776
  pogingen?: number;
13665
13777
  printer_id?: string | null;
13666
13778
  render_html?: string | null;
13779
+ resultaat_pdf_base64?: string | null;
13667
13780
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13668
13781
  updated_at?: string;
13669
13782
  volgende_poging?: string | null;
@@ -13688,6 +13801,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13688
13801
  is_herprint?: boolean;
13689
13802
  kopieen?: number;
13690
13803
  layout_id?: string | null;
13804
+ lokaal_opgeslagen_op?: string | null;
13805
+ lokale_pdf_fout?: string | null;
13806
+ lokale_pdf_status?: string | null;
13691
13807
  opgepakt_op?: string | null;
13692
13808
  paginas?: number;
13693
13809
  payload?: import("../integrations/supabase/types").Json;
@@ -13696,6 +13812,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13696
13812
  pogingen?: number;
13697
13813
  printer_id?: string | null;
13698
13814
  render_html?: string | null;
13815
+ resultaat_pdf_base64?: string | null;
13699
13816
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13700
13817
  updated_at?: string;
13701
13818
  volgende_poging?: string | null;
@@ -13814,6 +13931,39 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
13814
13931
  };
13815
13932
  Relationships: [];
13816
13933
  };
13934
+ print_preview_events: {
13935
+ Row: {
13936
+ code: string | null;
13937
+ created_at: string;
13938
+ detail: import("../integrations/supabase/types").Json;
13939
+ id: string;
13940
+ queue_item_id: string | null;
13941
+ reden: string | null;
13942
+ station_slug: string | null;
13943
+ uitkomst: string;
13944
+ };
13945
+ Insert: {
13946
+ code?: string | null;
13947
+ created_at?: string;
13948
+ detail?: import("../integrations/supabase/types").Json;
13949
+ id?: string;
13950
+ queue_item_id?: string | null;
13951
+ reden?: string | null;
13952
+ station_slug?: string | null;
13953
+ uitkomst?: string;
13954
+ };
13955
+ Update: {
13956
+ code?: string | null;
13957
+ created_at?: string;
13958
+ detail?: import("../integrations/supabase/types").Json;
13959
+ id?: string;
13960
+ queue_item_id?: string | null;
13961
+ reden?: string | null;
13962
+ station_slug?: string | null;
13963
+ uitkomst?: string;
13964
+ };
13965
+ Relationships: [];
13966
+ };
13817
13967
  print_queue_runners: {
13818
13968
  Row: {
13819
13969
  actief: boolean;
@@ -14053,6 +14203,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
14053
14203
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14054
14204
  online: boolean;
14055
14205
  papierformaat: string;
14206
+ pdf_map: string | null;
14056
14207
  poort: number | null;
14057
14208
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14058
14209
  systeemnaam: string;
@@ -14078,6 +14229,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
14078
14229
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14079
14230
  online?: boolean;
14080
14231
  papierformaat?: string;
14232
+ pdf_map?: string | null;
14081
14233
  poort?: number | null;
14082
14234
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14083
14235
  systeemnaam?: string;
@@ -14103,6 +14255,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
14103
14255
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14104
14256
  online?: boolean;
14105
14257
  papierformaat?: string;
14258
+ pdf_map?: string | null;
14106
14259
  poort?: number | null;
14107
14260
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14108
14261
  systeemnaam?: string;
@@ -20359,6 +20512,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
20359
20512
  is_herprint: boolean;
20360
20513
  kopieen: number;
20361
20514
  layout_id: string | null;
20515
+ lokaal_opgeslagen_op: string | null;
20516
+ lokale_pdf_fout: string | null;
20517
+ lokale_pdf_status: string | null;
20362
20518
  opgepakt_op: string | null;
20363
20519
  paginas: number;
20364
20520
  payload: import("../integrations/supabase/types").Json;
@@ -20367,6 +20523,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
20367
20523
  pogingen: number;
20368
20524
  printer_id: string | null;
20369
20525
  render_html: string | null;
20526
+ resultaat_pdf_base64: string | null;
20370
20527
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20371
20528
  updated_at: string;
20372
20529
  volgende_poging: string | null;
@@ -20458,6 +20615,53 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
20458
20615
  isSetofReturn: true;
20459
20616
  };
20460
20617
  };
20618
+ claim_pdf_print_jobs: {
20619
+ Args: {
20620
+ _max?: number;
20621
+ };
20622
+ Returns: {
20623
+ agent_id: string | null;
20624
+ bron_job_id: string | null;
20625
+ created_at: string;
20626
+ documentnaam: string;
20627
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20628
+ extern_job_id: string | null;
20629
+ foutmelding: string | null;
20630
+ gebruiker_id: string | null;
20631
+ gebruiker_naam: string;
20632
+ gebruikte_bron: string | null;
20633
+ gebruikte_layout_id: string | null;
20634
+ gestart_op: string | null;
20635
+ herkomst: string | null;
20636
+ id: string;
20637
+ idempotentie_sleutel: string | null;
20638
+ is_herprint: boolean;
20639
+ kopieen: number;
20640
+ layout_id: string | null;
20641
+ lokaal_opgeslagen_op: string | null;
20642
+ lokale_pdf_fout: string | null;
20643
+ lokale_pdf_status: string | null;
20644
+ opgepakt_op: string | null;
20645
+ paginas: number;
20646
+ payload: import("../integrations/supabase/types").Json;
20647
+ pdf_base64: string | null;
20648
+ pdf_url: string | null;
20649
+ pogingen: number;
20650
+ printer_id: string | null;
20651
+ render_html: string | null;
20652
+ resultaat_pdf_base64: string | null;
20653
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20654
+ updated_at: string;
20655
+ volgende_poging: string | null;
20656
+ voltooid_op: string | null;
20657
+ }[];
20658
+ SetofOptions: {
20659
+ from: "*";
20660
+ to: "print_jobs";
20661
+ isOneToOne: false;
20662
+ isSetofReturn: true;
20663
+ };
20664
+ };
20461
20665
  claim_print_jobs: {
20462
20666
  Args: {
20463
20667
  _agent_id: string;
@@ -20482,6 +20686,9 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
20482
20686
  is_herprint: boolean;
20483
20687
  kopieen: number;
20484
20688
  layout_id: string | null;
20689
+ lokaal_opgeslagen_op: string | null;
20690
+ lokale_pdf_fout: string | null;
20691
+ lokale_pdf_status: string | null;
20485
20692
  opgepakt_op: string | null;
20486
20693
  paginas: number;
20487
20694
  payload: import("../integrations/supabase/types").Json;
@@ -20490,6 +20697,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
20490
20697
  pogingen: number;
20491
20698
  printer_id: string | null;
20492
20699
  render_html: string | null;
20700
+ resultaat_pdf_base64: string | null;
20493
20701
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20494
20702
  updated_at: string;
20495
20703
  volgende_poging: string | null;
@@ -20630,6 +20838,8 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
20630
20838
  order_id: string;
20631
20839
  order_source: string;
20632
20840
  pick_date: string;
20841
+ printed_at: string;
20842
+ printed_today: boolean;
20633
20843
  status: string;
20634
20844
  }[];
20635
20845
  };
@@ -21338,6 +21548,10 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21338
21548
  };
21339
21549
  Returns: number;
21340
21550
  };
21551
+ logistics_cancel_orphan_tasks: {
21552
+ Args: never;
21553
+ Returns: number;
21554
+ };
21341
21555
  logistics_capacity_day_check: {
21342
21556
  Args: {
21343
21557
  p_from?: string;
@@ -21358,6 +21572,25 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21358
21572
  };
21359
21573
  Returns: number;
21360
21574
  };
21575
+ logistics_cart_index: {
21576
+ Args: {
21577
+ p_from?: string;
21578
+ p_to?: string;
21579
+ };
21580
+ Returns: {
21581
+ cart_id: string;
21582
+ cart_index: number;
21583
+ cart_label: string;
21584
+ is_shared: boolean;
21585
+ order_number: string;
21586
+ order_source: string;
21587
+ order_uuid: string;
21588
+ pick_date: string;
21589
+ printed_at: string;
21590
+ shifted: boolean;
21591
+ task_status: string;
21592
+ }[];
21593
+ };
21361
21594
  logistics_check_order_allowed: {
21362
21595
  Args: {
21363
21596
  p_lines: import("../integrations/supabase/types").Json;
@@ -21506,6 +21739,17 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21506
21739
  isSetofReturn: false;
21507
21740
  };
21508
21741
  };
21742
+ logistics_consistency_check: {
21743
+ Args: never;
21744
+ Returns: {
21745
+ agenda_carts: number;
21746
+ control_carts: number;
21747
+ ok: boolean;
21748
+ orphan_tasks: number;
21749
+ pick_date: string;
21750
+ raw_carts: number;
21751
+ }[];
21752
+ };
21509
21753
  logistics_delay_customer_email: {
21510
21754
  Args: {
21511
21755
  p_customer: string;
@@ -21595,6 +21839,16 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21595
21839
  isSetofReturn: false;
21596
21840
  };
21597
21841
  };
21842
+ logistics_floriday_cart_plan: {
21843
+ Args: {
21844
+ p_order_id: string;
21845
+ };
21846
+ Returns: {
21847
+ carrier_type: string;
21848
+ idx: number;
21849
+ packages: number;
21850
+ }[];
21851
+ };
21598
21852
  logistics_floriday_claim_pushes: {
21599
21853
  Args: {
21600
21854
  _lease_seconds?: number;
@@ -21699,6 +21953,25 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21699
21953
  };
21700
21954
  Returns: number;
21701
21955
  };
21956
+ logistics_order_overview: {
21957
+ Args: {
21958
+ p_from?: string;
21959
+ p_to?: string;
21960
+ };
21961
+ Returns: {
21962
+ cart_count: number;
21963
+ customer_name: string;
21964
+ delivery_date: string;
21965
+ order_number: string;
21966
+ order_source: string;
21967
+ order_uuid: string;
21968
+ pick_date: string;
21969
+ plant_count: number;
21970
+ printed_at: string;
21971
+ shifted: boolean;
21972
+ status: string;
21973
+ }[];
21974
+ };
21702
21975
  logistics_order_pick_day: {
21703
21976
  Args: {
21704
21977
  p_order_ref: string;
@@ -21711,6 +21984,22 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21711
21984
  };
21712
21985
  Returns: string;
21713
21986
  };
21987
+ logistics_pick_agenda: {
21988
+ Args: {
21989
+ p_from?: string;
21990
+ p_to?: string;
21991
+ };
21992
+ Returns: {
21993
+ cart_count: number;
21994
+ in_preparation: number;
21995
+ order_count: number;
21996
+ orders: import("../integrations/supabase/types").Json;
21997
+ pick_date: string;
21998
+ plant_count: number;
21999
+ ready: number;
22000
+ shifted_count: number;
22001
+ }[];
22002
+ };
21714
22003
  logistics_pick_email_purpose: {
21715
22004
  Args: never;
21716
22005
  Returns: string;
@@ -21765,6 +22054,13 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21765
22054
  };
21766
22055
  Returns: undefined;
21767
22056
  };
22057
+ logistics_plan_floriday_order: {
22058
+ Args: {
22059
+ p_buffer_id?: string;
22060
+ p_order_id: string;
22061
+ };
22062
+ Returns: number;
22063
+ };
21768
22064
  logistics_plan_impact_orders: {
21769
22065
  Args: {
21770
22066
  p_order_id: string;
@@ -21870,6 +22166,15 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
21870
22166
  };
21871
22167
  Returns: import("../integrations/supabase/types").Json;
21872
22168
  };
22169
+ logistics_resolve_pick_document: {
22170
+ Args: {
22171
+ _is_herprint: boolean;
22172
+ _queue_item_id: string;
22173
+ _session_id: string;
22174
+ _voorbeeld: boolean;
22175
+ };
22176
+ Returns: import("../integrations/supabase/types").Json;
22177
+ };
21873
22178
  logistics_resolve_settings: {
21874
22179
  Args: {
21875
22180
  p_config_id: string;
@@ -22000,14 +22305,6 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
22000
22305
  };
22001
22306
  Returns: string;
22002
22307
  };
22003
- maps_cron_token: {
22004
- Args: never;
22005
- Returns: string;
22006
- };
22007
- maps_kick_queue: {
22008
- Args: never;
22009
- Returns: undefined;
22010
- };
22011
22308
  mark_offer_clicked: {
22012
22309
  Args: {
22013
22310
  p_code: string;
@@ -22318,6 +22615,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
22318
22615
  };
22319
22616
  pick_enqueue_print_job: {
22320
22617
  Args: {
22618
+ _is_herprint?: boolean;
22321
22619
  _printer_id?: string;
22322
22620
  _queue_item_id: string;
22323
22621
  _session_id?: string;
@@ -22331,6 +22629,13 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
22331
22629
  };
22332
22630
  Returns: import("../integrations/supabase/types").Json;
22333
22631
  };
22632
+ pick_preview_job: {
22633
+ Args: {
22634
+ _queue_item_id: string;
22635
+ _station_slug: string;
22636
+ };
22637
+ Returns: import("../integrations/supabase/types").Json;
22638
+ };
22334
22639
  pick_print_job_status: {
22335
22640
  Args: {
22336
22641
  _job_id: string;
@@ -22508,6 +22813,24 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
22508
22813
  };
22509
22814
  Returns: undefined;
22510
22815
  };
22816
+ print_preview_toestaan: {
22817
+ Args: {
22818
+ _max?: number;
22819
+ _queue_item_id: string;
22820
+ _station_slug: string;
22821
+ _venster_sec?: number;
22822
+ };
22823
+ Returns: import("../integrations/supabase/types").Json;
22824
+ };
22825
+ print_preview_weiger: {
22826
+ Args: {
22827
+ _code: string;
22828
+ _queue_item_id: string;
22829
+ _reden: string;
22830
+ _station_slug: string;
22831
+ };
22832
+ Returns: undefined;
22833
+ };
22511
22834
  process_logistics_event: {
22512
22835
  Args: {
22513
22836
  p_event_id: string;
@@ -22625,6 +22948,14 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
22625
22948
  };
22626
22949
  Returns: undefined;
22627
22950
  };
22951
+ replace_order_carts: {
22952
+ Args: {
22953
+ p_buffer_id: string;
22954
+ p_carts: import("../integrations/supabase/types").Json;
22955
+ p_order_id: string;
22956
+ };
22957
+ Returns: import("../integrations/supabase/types").Json;
22958
+ };
22628
22959
  reset_floriday_sync_cursor: {
22629
22960
  Args: {
22630
22961
  p_connection_id: string;
@@ -22654,6 +22985,12 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
22654
22985
  };
22655
22986
  Returns: string;
22656
22987
  };
22988
+ resolve_print_job_printer_id: {
22989
+ Args: {
22990
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22991
+ };
22992
+ Returns: string;
22993
+ };
22657
22994
  resolve_product_id_for_item: {
22658
22995
  Args: {
22659
22996
  p_product_name: string;
@@ -23245,7 +23582,7 @@ export declare const listAllowedLoadCarriers: import("@tanstack/start-client-cor
23245
23582
  };
23246
23583
  CompositeTypes: { [_ in never]: never; };
23247
23584
  }, {
23248
- PostgrestVersion: "14.17";
23585
+ PostgrestVersion: "14.5";
23249
23586
  }>;
23250
23587
  userId: string;
23251
23588
  claims: import("@supabase/auth-js").User;