@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
@@ -2856,6 +2856,84 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
2856
2856
  };
2857
2857
  Relationships: [];
2858
2858
  };
2859
+ delivery_notes: {
2860
+ Row: {
2861
+ byte_size: number | null;
2862
+ connection_id: string | null;
2863
+ content_type: string;
2864
+ created_at: string;
2865
+ error_message: string | null;
2866
+ fetched_at: string | null;
2867
+ fulfillment_order_id: string | null;
2868
+ http_status: number | null;
2869
+ id: string;
2870
+ label_code: string | null;
2871
+ letter: string | null;
2872
+ load_carrier_index: number | null;
2873
+ load_carrier_type: string | null;
2874
+ order_id: string | null;
2875
+ order_number: string | null;
2876
+ packages: number | null;
2877
+ source: string;
2878
+ status: string;
2879
+ storage_bucket: string;
2880
+ storage_path: string | null;
2881
+ updated_at: string;
2882
+ };
2883
+ Insert: {
2884
+ byte_size?: number | null;
2885
+ connection_id?: string | null;
2886
+ content_type?: string;
2887
+ created_at?: string;
2888
+ error_message?: string | null;
2889
+ fetched_at?: string | null;
2890
+ fulfillment_order_id?: string | null;
2891
+ http_status?: number | null;
2892
+ id?: string;
2893
+ label_code?: string | null;
2894
+ letter?: string | null;
2895
+ load_carrier_index?: number | null;
2896
+ load_carrier_type?: string | null;
2897
+ order_id?: string | null;
2898
+ order_number?: string | null;
2899
+ packages?: number | null;
2900
+ source?: string;
2901
+ status?: string;
2902
+ storage_bucket?: string;
2903
+ storage_path?: string | null;
2904
+ updated_at?: string;
2905
+ };
2906
+ Update: {
2907
+ byte_size?: number | null;
2908
+ connection_id?: string | null;
2909
+ content_type?: string;
2910
+ created_at?: string;
2911
+ error_message?: string | null;
2912
+ fetched_at?: string | null;
2913
+ fulfillment_order_id?: string | null;
2914
+ http_status?: number | null;
2915
+ id?: string;
2916
+ label_code?: string | null;
2917
+ letter?: string | null;
2918
+ load_carrier_index?: number | null;
2919
+ load_carrier_type?: string | null;
2920
+ order_id?: string | null;
2921
+ order_number?: string | null;
2922
+ packages?: number | null;
2923
+ source?: string;
2924
+ status?: string;
2925
+ storage_bucket?: string;
2926
+ storage_path?: string | null;
2927
+ updated_at?: string;
2928
+ };
2929
+ Relationships: [{
2930
+ foreignKeyName: "delivery_notes_order_id_fkey";
2931
+ columns: ["order_id"];
2932
+ isOneToOne: false;
2933
+ referencedRelation: "orders";
2934
+ referencedColumns: ["id"];
2935
+ }];
2936
+ };
2859
2937
  document_bronregels: {
2860
2938
  Row: {
2861
2939
  bron: string;
@@ -5909,10 +5987,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
5909
5987
  };
5910
5988
  floriday_connections: {
5911
5989
  Row: {
5912
- access_token: string | null;
5913
5990
  api_key: string;
5914
- client_id: string;
5915
- client_secret: string;
5916
5991
  created_at: string;
5917
5992
  customers_endpoint: string | null;
5918
5993
  environment: string;
@@ -5927,10 +6002,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
5927
6002
  updated_at: string;
5928
6003
  };
5929
6004
  Insert: {
5930
- access_token?: string | null;
5931
6005
  api_key: string;
5932
- client_id: string;
5933
- client_secret: string;
5934
6006
  created_at?: string;
5935
6007
  customers_endpoint?: string | null;
5936
6008
  environment: string;
@@ -5945,10 +6017,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
5945
6017
  updated_at?: string;
5946
6018
  };
5947
6019
  Update: {
5948
- access_token?: string | null;
5949
6020
  api_key?: string;
5950
- client_id?: string;
5951
- client_secret?: string;
5952
6021
  created_at?: string;
5953
6022
  customers_endpoint?: string | null;
5954
6023
  environment?: string;
@@ -10819,6 +10888,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10819
10888
  last_error: string | null;
10820
10889
  last_error_at: string | null;
10821
10890
  last_success_at: string | null;
10891
+ provider: string;
10822
10892
  updated_at: string;
10823
10893
  };
10824
10894
  Insert: {
@@ -10830,6 +10900,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10830
10900
  last_error?: string | null;
10831
10901
  last_error_at?: string | null;
10832
10902
  last_success_at?: string | null;
10903
+ provider?: string;
10833
10904
  updated_at?: string;
10834
10905
  };
10835
10906
  Update: {
@@ -10841,6 +10912,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
10841
10912
  last_error?: string | null;
10842
10913
  last_error_at?: string | null;
10843
10914
  last_success_at?: string | null;
10915
+ provider?: string;
10844
10916
  updated_at?: string;
10845
10917
  };
10846
10918
  Relationships: [];
@@ -13578,6 +13650,39 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13578
13650
  };
13579
13651
  Relationships: [];
13580
13652
  };
13653
+ print_dedupe_events: {
13654
+ Row: {
13655
+ bestaande_job_id: string | null;
13656
+ created_at: string;
13657
+ detail: string | null;
13658
+ documentnaam: string | null;
13659
+ documenttype: string | null;
13660
+ id: string;
13661
+ idempotentie_sleutel: string;
13662
+ reden: string;
13663
+ };
13664
+ Insert: {
13665
+ bestaande_job_id?: string | null;
13666
+ created_at?: string;
13667
+ detail?: string | null;
13668
+ documentnaam?: string | null;
13669
+ documenttype?: string | null;
13670
+ id?: string;
13671
+ idempotentie_sleutel: string;
13672
+ reden: string;
13673
+ };
13674
+ Update: {
13675
+ bestaande_job_id?: string | null;
13676
+ created_at?: string;
13677
+ detail?: string | null;
13678
+ documentnaam?: string | null;
13679
+ documenttype?: string | null;
13680
+ id?: string;
13681
+ idempotentie_sleutel?: string;
13682
+ reden?: string;
13683
+ };
13684
+ Relationships: [];
13685
+ };
13581
13686
  print_job_logs: {
13582
13687
  Row: {
13583
13688
  created_at: string;
@@ -13628,6 +13733,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13628
13733
  is_herprint: boolean;
13629
13734
  kopieen: number;
13630
13735
  layout_id: string | null;
13736
+ lokaal_opgeslagen_op: string | null;
13737
+ lokale_pdf_fout: string | null;
13738
+ lokale_pdf_status: string | null;
13631
13739
  opgepakt_op: string | null;
13632
13740
  paginas: number;
13633
13741
  payload: import("../integrations/supabase/types").Json;
@@ -13636,6 +13744,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13636
13744
  pogingen: number;
13637
13745
  printer_id: string | null;
13638
13746
  render_html: string | null;
13747
+ resultaat_pdf_base64: string | null;
13639
13748
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13640
13749
  updated_at: string;
13641
13750
  volgende_poging: string | null;
@@ -13660,6 +13769,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13660
13769
  is_herprint?: boolean;
13661
13770
  kopieen?: number;
13662
13771
  layout_id?: string | null;
13772
+ lokaal_opgeslagen_op?: string | null;
13773
+ lokale_pdf_fout?: string | null;
13774
+ lokale_pdf_status?: string | null;
13663
13775
  opgepakt_op?: string | null;
13664
13776
  paginas?: number;
13665
13777
  payload?: import("../integrations/supabase/types").Json;
@@ -13668,6 +13780,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13668
13780
  pogingen?: number;
13669
13781
  printer_id?: string | null;
13670
13782
  render_html?: string | null;
13783
+ resultaat_pdf_base64?: string | null;
13671
13784
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13672
13785
  updated_at?: string;
13673
13786
  volgende_poging?: string | null;
@@ -13692,6 +13805,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13692
13805
  is_herprint?: boolean;
13693
13806
  kopieen?: number;
13694
13807
  layout_id?: string | null;
13808
+ lokaal_opgeslagen_op?: string | null;
13809
+ lokale_pdf_fout?: string | null;
13810
+ lokale_pdf_status?: string | null;
13695
13811
  opgepakt_op?: string | null;
13696
13812
  paginas?: number;
13697
13813
  payload?: import("../integrations/supabase/types").Json;
@@ -13700,6 +13816,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13700
13816
  pogingen?: number;
13701
13817
  printer_id?: string | null;
13702
13818
  render_html?: string | null;
13819
+ resultaat_pdf_base64?: string | null;
13703
13820
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13704
13821
  updated_at?: string;
13705
13822
  volgende_poging?: string | null;
@@ -13818,6 +13935,39 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
13818
13935
  };
13819
13936
  Relationships: [];
13820
13937
  };
13938
+ print_preview_events: {
13939
+ Row: {
13940
+ code: string | null;
13941
+ created_at: string;
13942
+ detail: import("../integrations/supabase/types").Json;
13943
+ id: string;
13944
+ queue_item_id: string | null;
13945
+ reden: string | null;
13946
+ station_slug: string | null;
13947
+ uitkomst: string;
13948
+ };
13949
+ Insert: {
13950
+ code?: string | null;
13951
+ created_at?: string;
13952
+ detail?: import("../integrations/supabase/types").Json;
13953
+ id?: string;
13954
+ queue_item_id?: string | null;
13955
+ reden?: string | null;
13956
+ station_slug?: string | null;
13957
+ uitkomst?: string;
13958
+ };
13959
+ Update: {
13960
+ code?: string | null;
13961
+ created_at?: string;
13962
+ detail?: import("../integrations/supabase/types").Json;
13963
+ id?: string;
13964
+ queue_item_id?: string | null;
13965
+ reden?: string | null;
13966
+ station_slug?: string | null;
13967
+ uitkomst?: string;
13968
+ };
13969
+ Relationships: [];
13970
+ };
13821
13971
  print_queue_runners: {
13822
13972
  Row: {
13823
13973
  actief: boolean;
@@ -14057,6 +14207,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
14057
14207
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14058
14208
  online: boolean;
14059
14209
  papierformaat: string;
14210
+ pdf_map: string | null;
14060
14211
  poort: number | null;
14061
14212
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14062
14213
  systeemnaam: string;
@@ -14082,6 +14233,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
14082
14233
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14083
14234
  online?: boolean;
14084
14235
  papierformaat?: string;
14236
+ pdf_map?: string | null;
14085
14237
  poort?: number | null;
14086
14238
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14087
14239
  systeemnaam?: string;
@@ -14107,6 +14259,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
14107
14259
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14108
14260
  online?: boolean;
14109
14261
  papierformaat?: string;
14262
+ pdf_map?: string | null;
14110
14263
  poort?: number | null;
14111
14264
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14112
14265
  systeemnaam?: string;
@@ -20363,6 +20516,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20363
20516
  is_herprint: boolean;
20364
20517
  kopieen: number;
20365
20518
  layout_id: string | null;
20519
+ lokaal_opgeslagen_op: string | null;
20520
+ lokale_pdf_fout: string | null;
20521
+ lokale_pdf_status: string | null;
20366
20522
  opgepakt_op: string | null;
20367
20523
  paginas: number;
20368
20524
  payload: import("../integrations/supabase/types").Json;
@@ -20371,6 +20527,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20371
20527
  pogingen: number;
20372
20528
  printer_id: string | null;
20373
20529
  render_html: string | null;
20530
+ resultaat_pdf_base64: string | null;
20374
20531
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20375
20532
  updated_at: string;
20376
20533
  volgende_poging: string | null;
@@ -20462,6 +20619,53 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20462
20619
  isSetofReturn: true;
20463
20620
  };
20464
20621
  };
20622
+ claim_pdf_print_jobs: {
20623
+ Args: {
20624
+ _max?: number;
20625
+ };
20626
+ Returns: {
20627
+ agent_id: string | null;
20628
+ bron_job_id: string | null;
20629
+ created_at: string;
20630
+ documentnaam: string;
20631
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20632
+ extern_job_id: string | null;
20633
+ foutmelding: string | null;
20634
+ gebruiker_id: string | null;
20635
+ gebruiker_naam: string;
20636
+ gebruikte_bron: string | null;
20637
+ gebruikte_layout_id: string | null;
20638
+ gestart_op: string | null;
20639
+ herkomst: string | null;
20640
+ id: string;
20641
+ idempotentie_sleutel: string | null;
20642
+ is_herprint: boolean;
20643
+ kopieen: number;
20644
+ layout_id: string | null;
20645
+ lokaal_opgeslagen_op: string | null;
20646
+ lokale_pdf_fout: string | null;
20647
+ lokale_pdf_status: string | null;
20648
+ opgepakt_op: string | null;
20649
+ paginas: number;
20650
+ payload: import("../integrations/supabase/types").Json;
20651
+ pdf_base64: string | null;
20652
+ pdf_url: string | null;
20653
+ pogingen: number;
20654
+ printer_id: string | null;
20655
+ render_html: string | null;
20656
+ resultaat_pdf_base64: string | null;
20657
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20658
+ updated_at: string;
20659
+ volgende_poging: string | null;
20660
+ voltooid_op: string | null;
20661
+ }[];
20662
+ SetofOptions: {
20663
+ from: "*";
20664
+ to: "print_jobs";
20665
+ isOneToOne: false;
20666
+ isSetofReturn: true;
20667
+ };
20668
+ };
20465
20669
  claim_print_jobs: {
20466
20670
  Args: {
20467
20671
  _agent_id: string;
@@ -20486,6 +20690,9 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20486
20690
  is_herprint: boolean;
20487
20691
  kopieen: number;
20488
20692
  layout_id: string | null;
20693
+ lokaal_opgeslagen_op: string | null;
20694
+ lokale_pdf_fout: string | null;
20695
+ lokale_pdf_status: string | null;
20489
20696
  opgepakt_op: string | null;
20490
20697
  paginas: number;
20491
20698
  payload: import("../integrations/supabase/types").Json;
@@ -20494,6 +20701,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20494
20701
  pogingen: number;
20495
20702
  printer_id: string | null;
20496
20703
  render_html: string | null;
20704
+ resultaat_pdf_base64: string | null;
20497
20705
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20498
20706
  updated_at: string;
20499
20707
  volgende_poging: string | null;
@@ -20634,6 +20842,8 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
20634
20842
  order_id: string;
20635
20843
  order_source: string;
20636
20844
  pick_date: string;
20845
+ printed_at: string;
20846
+ printed_today: boolean;
20637
20847
  status: string;
20638
20848
  }[];
20639
20849
  };
@@ -21342,6 +21552,10 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21342
21552
  };
21343
21553
  Returns: number;
21344
21554
  };
21555
+ logistics_cancel_orphan_tasks: {
21556
+ Args: never;
21557
+ Returns: number;
21558
+ };
21345
21559
  logistics_capacity_day_check: {
21346
21560
  Args: {
21347
21561
  p_from?: string;
@@ -21362,6 +21576,25 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21362
21576
  };
21363
21577
  Returns: number;
21364
21578
  };
21579
+ logistics_cart_index: {
21580
+ Args: {
21581
+ p_from?: string;
21582
+ p_to?: string;
21583
+ };
21584
+ Returns: {
21585
+ cart_id: string;
21586
+ cart_index: number;
21587
+ cart_label: string;
21588
+ is_shared: boolean;
21589
+ order_number: string;
21590
+ order_source: string;
21591
+ order_uuid: string;
21592
+ pick_date: string;
21593
+ printed_at: string;
21594
+ shifted: boolean;
21595
+ task_status: string;
21596
+ }[];
21597
+ };
21365
21598
  logistics_check_order_allowed: {
21366
21599
  Args: {
21367
21600
  p_lines: import("../integrations/supabase/types").Json;
@@ -21510,6 +21743,17 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21510
21743
  isSetofReturn: false;
21511
21744
  };
21512
21745
  };
21746
+ logistics_consistency_check: {
21747
+ Args: never;
21748
+ Returns: {
21749
+ agenda_carts: number;
21750
+ control_carts: number;
21751
+ ok: boolean;
21752
+ orphan_tasks: number;
21753
+ pick_date: string;
21754
+ raw_carts: number;
21755
+ }[];
21756
+ };
21513
21757
  logistics_delay_customer_email: {
21514
21758
  Args: {
21515
21759
  p_customer: string;
@@ -21599,6 +21843,16 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21599
21843
  isSetofReturn: false;
21600
21844
  };
21601
21845
  };
21846
+ logistics_floriday_cart_plan: {
21847
+ Args: {
21848
+ p_order_id: string;
21849
+ };
21850
+ Returns: {
21851
+ carrier_type: string;
21852
+ idx: number;
21853
+ packages: number;
21854
+ }[];
21855
+ };
21602
21856
  logistics_floriday_claim_pushes: {
21603
21857
  Args: {
21604
21858
  _lease_seconds?: number;
@@ -21703,6 +21957,25 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21703
21957
  };
21704
21958
  Returns: number;
21705
21959
  };
21960
+ logistics_order_overview: {
21961
+ Args: {
21962
+ p_from?: string;
21963
+ p_to?: string;
21964
+ };
21965
+ Returns: {
21966
+ cart_count: number;
21967
+ customer_name: string;
21968
+ delivery_date: string;
21969
+ order_number: string;
21970
+ order_source: string;
21971
+ order_uuid: string;
21972
+ pick_date: string;
21973
+ plant_count: number;
21974
+ printed_at: string;
21975
+ shifted: boolean;
21976
+ status: string;
21977
+ }[];
21978
+ };
21706
21979
  logistics_order_pick_day: {
21707
21980
  Args: {
21708
21981
  p_order_ref: string;
@@ -21715,6 +21988,22 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21715
21988
  };
21716
21989
  Returns: string;
21717
21990
  };
21991
+ logistics_pick_agenda: {
21992
+ Args: {
21993
+ p_from?: string;
21994
+ p_to?: string;
21995
+ };
21996
+ Returns: {
21997
+ cart_count: number;
21998
+ in_preparation: number;
21999
+ order_count: number;
22000
+ orders: import("../integrations/supabase/types").Json;
22001
+ pick_date: string;
22002
+ plant_count: number;
22003
+ ready: number;
22004
+ shifted_count: number;
22005
+ }[];
22006
+ };
21718
22007
  logistics_pick_email_purpose: {
21719
22008
  Args: never;
21720
22009
  Returns: string;
@@ -21769,6 +22058,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21769
22058
  };
21770
22059
  Returns: undefined;
21771
22060
  };
22061
+ logistics_plan_floriday_order: {
22062
+ Args: {
22063
+ p_buffer_id?: string;
22064
+ p_order_id: string;
22065
+ };
22066
+ Returns: number;
22067
+ };
21772
22068
  logistics_plan_impact_orders: {
21773
22069
  Args: {
21774
22070
  p_order_id: string;
@@ -21874,6 +22170,15 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
21874
22170
  };
21875
22171
  Returns: import("../integrations/supabase/types").Json;
21876
22172
  };
22173
+ logistics_resolve_pick_document: {
22174
+ Args: {
22175
+ _is_herprint: boolean;
22176
+ _queue_item_id: string;
22177
+ _session_id: string;
22178
+ _voorbeeld: boolean;
22179
+ };
22180
+ Returns: import("../integrations/supabase/types").Json;
22181
+ };
21877
22182
  logistics_resolve_settings: {
21878
22183
  Args: {
21879
22184
  p_config_id: string;
@@ -22004,14 +22309,6 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22004
22309
  };
22005
22310
  Returns: string;
22006
22311
  };
22007
- maps_cron_token: {
22008
- Args: never;
22009
- Returns: string;
22010
- };
22011
- maps_kick_queue: {
22012
- Args: never;
22013
- Returns: undefined;
22014
- };
22015
22312
  mark_offer_clicked: {
22016
22313
  Args: {
22017
22314
  p_code: string;
@@ -22322,6 +22619,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22322
22619
  };
22323
22620
  pick_enqueue_print_job: {
22324
22621
  Args: {
22622
+ _is_herprint?: boolean;
22325
22623
  _printer_id?: string;
22326
22624
  _queue_item_id: string;
22327
22625
  _session_id?: string;
@@ -22335,6 +22633,13 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22335
22633
  };
22336
22634
  Returns: import("../integrations/supabase/types").Json;
22337
22635
  };
22636
+ pick_preview_job: {
22637
+ Args: {
22638
+ _queue_item_id: string;
22639
+ _station_slug: string;
22640
+ };
22641
+ Returns: import("../integrations/supabase/types").Json;
22642
+ };
22338
22643
  pick_print_job_status: {
22339
22644
  Args: {
22340
22645
  _job_id: string;
@@ -22512,6 +22817,24 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22512
22817
  };
22513
22818
  Returns: undefined;
22514
22819
  };
22820
+ print_preview_toestaan: {
22821
+ Args: {
22822
+ _max?: number;
22823
+ _queue_item_id: string;
22824
+ _station_slug: string;
22825
+ _venster_sec?: number;
22826
+ };
22827
+ Returns: import("../integrations/supabase/types").Json;
22828
+ };
22829
+ print_preview_weiger: {
22830
+ Args: {
22831
+ _code: string;
22832
+ _queue_item_id: string;
22833
+ _reden: string;
22834
+ _station_slug: string;
22835
+ };
22836
+ Returns: undefined;
22837
+ };
22515
22838
  process_logistics_event: {
22516
22839
  Args: {
22517
22840
  p_event_id: string;
@@ -22629,6 +22952,14 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22629
22952
  };
22630
22953
  Returns: undefined;
22631
22954
  };
22955
+ replace_order_carts: {
22956
+ Args: {
22957
+ p_buffer_id: string;
22958
+ p_carts: import("../integrations/supabase/types").Json;
22959
+ p_order_id: string;
22960
+ };
22961
+ Returns: import("../integrations/supabase/types").Json;
22962
+ };
22632
22963
  reset_floriday_sync_cursor: {
22633
22964
  Args: {
22634
22965
  p_connection_id: string;
@@ -22658,6 +22989,12 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
22658
22989
  };
22659
22990
  Returns: string;
22660
22991
  };
22992
+ resolve_print_job_printer_id: {
22993
+ Args: {
22994
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
22995
+ };
22996
+ Returns: string;
22997
+ };
22661
22998
  resolve_product_id_for_item: {
22662
22999
  Args: {
22663
23000
  p_product_name: string;
@@ -23249,7 +23586,7 @@ export declare const runTradeItemsSync: import("@tanstack/start-client-core").Op
23249
23586
  };
23250
23587
  CompositeTypes: { [_ in never]: never; };
23251
23588
  }, {
23252
- PostgrestVersion: "14.17";
23589
+ PostgrestVersion: "14.5";
23253
23590
  }>;
23254
23591
  userId: string;
23255
23592
  claims: import("@supabase/auth-js").User;