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