@flowselections/floriday-verkoop-module 1.0.56 → 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 (66) 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/SalesOrdersTable.d.ts.map +1 -1
  4. package/dist-lib/components/verkoop/SalesOrdersTable.js +17 -4
  5. package/dist-lib/integrations/supabase/auth-middleware.d.ts +344 -10
  6. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.d.ts +344 -10
  8. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  9. package/dist-lib/integrations/supabase/client.server.d.ts +344 -10
  10. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  11. package/dist-lib/integrations/supabase/types.d.ts +346 -10
  12. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-lock.functions.d.ts +344 -10
  14. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3906 -232
  16. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  17. package/dist-lib/lib/cart-replan.functions.d.ts +1032 -30
  18. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  19. package/dist-lib/lib/create-order.functions.d.ts +6128 -450
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +1032 -30
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  23. package/dist-lib/lib/floriday-gateway.server.d.ts +14 -0
  24. package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
  25. package/dist-lib/lib/floriday-gateway.server.js +46 -0
  26. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +23961 -20
  27. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-logistic-labels.functions.js +209 -90
  29. package/dist-lib/lib/floriday-mirror.functions.d.ts +344 -10
  30. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-public.functions.d.ts +2451 -113
  32. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/floriday-sync.d.ts.map +1 -1
  34. package/dist-lib/lib/floriday-writes.functions.d.ts +1763 -93
  35. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  36. package/dist-lib/lib/invoice-timing.functions.d.ts +1376 -40
  37. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  38. package/dist-lib/lib/load-carriers.functions.d.ts +344 -10
  39. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  40. package/dist-lib/lib/logistics-engine.functions.d.ts +1763 -93
  41. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  42. package/dist-lib/lib/logistics-stock.functions.d.ts +688 -20
  43. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  44. package/dist-lib/lib/order-addresses.functions.d.ts +344 -10
  45. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/order-buffers.functions.d.ts +1032 -30
  47. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/order-carrier.functions.d.ts +688 -20
  49. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/order-pickup.functions.d.ts +688 -20
  51. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  52. package/dist-lib/lib/order-shipments.functions.d.ts +1376 -40
  53. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.functions.d.ts +344 -10
  55. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  56. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  57. package/dist-lib/lib/salesorders-list.server.js +43 -1
  58. package/dist-lib/lib/salesorders-mapping.d.ts +8 -0
  59. package/dist-lib/lib/salesorders-mapping.d.ts.map +1 -1
  60. package/dist-lib/lib/salesorders.functions.d.ts +1763 -93
  61. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  62. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +688 -20
  63. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/tradeitems.functions.d.ts +344 -10
  65. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  66. package/package.json +131 -131
@@ -2861,6 +2861,84 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
2861
2861
  };
2862
2862
  Relationships: [];
2863
2863
  };
2864
+ delivery_notes: {
2865
+ Row: {
2866
+ byte_size: number | null;
2867
+ connection_id: string | null;
2868
+ content_type: string;
2869
+ created_at: string;
2870
+ error_message: string | null;
2871
+ fetched_at: string | null;
2872
+ fulfillment_order_id: string | null;
2873
+ http_status: number | null;
2874
+ id: string;
2875
+ label_code: string | null;
2876
+ letter: string | null;
2877
+ load_carrier_index: number | null;
2878
+ load_carrier_type: string | null;
2879
+ order_id: string | null;
2880
+ order_number: string | null;
2881
+ packages: number | null;
2882
+ source: string;
2883
+ status: string;
2884
+ storage_bucket: string;
2885
+ storage_path: string | null;
2886
+ updated_at: string;
2887
+ };
2888
+ Insert: {
2889
+ byte_size?: number | null;
2890
+ connection_id?: string | null;
2891
+ content_type?: string;
2892
+ created_at?: string;
2893
+ error_message?: string | null;
2894
+ fetched_at?: string | null;
2895
+ fulfillment_order_id?: string | null;
2896
+ http_status?: number | null;
2897
+ id?: string;
2898
+ label_code?: string | null;
2899
+ letter?: string | null;
2900
+ load_carrier_index?: number | null;
2901
+ load_carrier_type?: string | null;
2902
+ order_id?: string | null;
2903
+ order_number?: string | null;
2904
+ packages?: number | null;
2905
+ source?: string;
2906
+ status?: string;
2907
+ storage_bucket?: string;
2908
+ storage_path?: string | null;
2909
+ updated_at?: string;
2910
+ };
2911
+ Update: {
2912
+ byte_size?: number | null;
2913
+ connection_id?: string | null;
2914
+ content_type?: string;
2915
+ created_at?: string;
2916
+ error_message?: string | null;
2917
+ fetched_at?: string | null;
2918
+ fulfillment_order_id?: string | null;
2919
+ http_status?: number | null;
2920
+ id?: string;
2921
+ label_code?: string | null;
2922
+ letter?: string | null;
2923
+ load_carrier_index?: number | null;
2924
+ load_carrier_type?: string | null;
2925
+ order_id?: string | null;
2926
+ order_number?: string | null;
2927
+ packages?: number | null;
2928
+ source?: string;
2929
+ status?: string;
2930
+ storage_bucket?: string;
2931
+ storage_path?: string | null;
2932
+ updated_at?: string;
2933
+ };
2934
+ Relationships: [{
2935
+ foreignKeyName: "delivery_notes_order_id_fkey";
2936
+ columns: ["order_id"];
2937
+ isOneToOne: false;
2938
+ referencedRelation: "orders";
2939
+ referencedColumns: ["id"];
2940
+ }];
2941
+ };
2864
2942
  document_bronregels: {
2865
2943
  Row: {
2866
2944
  bron: string;
@@ -5914,10 +5992,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5914
5992
  };
5915
5993
  floriday_connections: {
5916
5994
  Row: {
5917
- access_token: string | null;
5918
5995
  api_key: string;
5919
- client_id: string;
5920
- client_secret: string;
5921
5996
  created_at: string;
5922
5997
  customers_endpoint: string | null;
5923
5998
  environment: string;
@@ -5932,10 +6007,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5932
6007
  updated_at: string;
5933
6008
  };
5934
6009
  Insert: {
5935
- access_token?: string | null;
5936
6010
  api_key: string;
5937
- client_id: string;
5938
- client_secret: string;
5939
6011
  created_at?: string;
5940
6012
  customers_endpoint?: string | null;
5941
6013
  environment: string;
@@ -5950,10 +6022,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
5950
6022
  updated_at?: string;
5951
6023
  };
5952
6024
  Update: {
5953
- access_token?: string | null;
5954
6025
  api_key?: string;
5955
- client_id?: string;
5956
- client_secret?: string;
5957
6026
  created_at?: string;
5958
6027
  customers_endpoint?: string | null;
5959
6028
  environment?: string;
@@ -13586,6 +13655,39 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13586
13655
  };
13587
13656
  Relationships: [];
13588
13657
  };
13658
+ print_dedupe_events: {
13659
+ Row: {
13660
+ bestaande_job_id: string | null;
13661
+ created_at: string;
13662
+ detail: string | null;
13663
+ documentnaam: string | null;
13664
+ documenttype: string | null;
13665
+ id: string;
13666
+ idempotentie_sleutel: string;
13667
+ reden: string;
13668
+ };
13669
+ Insert: {
13670
+ bestaande_job_id?: string | null;
13671
+ created_at?: string;
13672
+ detail?: string | null;
13673
+ documentnaam?: string | null;
13674
+ documenttype?: string | null;
13675
+ id?: string;
13676
+ idempotentie_sleutel: string;
13677
+ reden: string;
13678
+ };
13679
+ Update: {
13680
+ bestaande_job_id?: string | null;
13681
+ created_at?: string;
13682
+ detail?: string | null;
13683
+ documentnaam?: string | null;
13684
+ documenttype?: string | null;
13685
+ id?: string;
13686
+ idempotentie_sleutel?: string;
13687
+ reden?: string;
13688
+ };
13689
+ Relationships: [];
13690
+ };
13589
13691
  print_job_logs: {
13590
13692
  Row: {
13591
13693
  created_at: string;
@@ -13636,6 +13738,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13636
13738
  is_herprint: boolean;
13637
13739
  kopieen: number;
13638
13740
  layout_id: string | null;
13741
+ lokaal_opgeslagen_op: string | null;
13742
+ lokale_pdf_fout: string | null;
13743
+ lokale_pdf_status: string | null;
13639
13744
  opgepakt_op: string | null;
13640
13745
  paginas: number;
13641
13746
  payload: import("../integrations/supabase/types").Json;
@@ -13644,6 +13749,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13644
13749
  pogingen: number;
13645
13750
  printer_id: string | null;
13646
13751
  render_html: string | null;
13752
+ resultaat_pdf_base64: string | null;
13647
13753
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13648
13754
  updated_at: string;
13649
13755
  volgende_poging: string | null;
@@ -13668,6 +13774,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13668
13774
  is_herprint?: boolean;
13669
13775
  kopieen?: number;
13670
13776
  layout_id?: string | null;
13777
+ lokaal_opgeslagen_op?: string | null;
13778
+ lokale_pdf_fout?: string | null;
13779
+ lokale_pdf_status?: string | null;
13671
13780
  opgepakt_op?: string | null;
13672
13781
  paginas?: number;
13673
13782
  payload?: import("../integrations/supabase/types").Json;
@@ -13676,6 +13785,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13676
13785
  pogingen?: number;
13677
13786
  printer_id?: string | null;
13678
13787
  render_html?: string | null;
13788
+ resultaat_pdf_base64?: string | null;
13679
13789
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13680
13790
  updated_at?: string;
13681
13791
  volgende_poging?: string | null;
@@ -13700,6 +13810,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13700
13810
  is_herprint?: boolean;
13701
13811
  kopieen?: number;
13702
13812
  layout_id?: string | null;
13813
+ lokaal_opgeslagen_op?: string | null;
13814
+ lokale_pdf_fout?: string | null;
13815
+ lokale_pdf_status?: string | null;
13703
13816
  opgepakt_op?: string | null;
13704
13817
  paginas?: number;
13705
13818
  payload?: import("../integrations/supabase/types").Json;
@@ -13708,6 +13821,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13708
13821
  pogingen?: number;
13709
13822
  printer_id?: string | null;
13710
13823
  render_html?: string | null;
13824
+ resultaat_pdf_base64?: string | null;
13711
13825
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
13712
13826
  updated_at?: string;
13713
13827
  volgende_poging?: string | null;
@@ -13826,6 +13940,39 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
13826
13940
  };
13827
13941
  Relationships: [];
13828
13942
  };
13943
+ print_preview_events: {
13944
+ Row: {
13945
+ code: string | null;
13946
+ created_at: string;
13947
+ detail: import("../integrations/supabase/types").Json;
13948
+ id: string;
13949
+ queue_item_id: string | null;
13950
+ reden: string | null;
13951
+ station_slug: string | null;
13952
+ uitkomst: string;
13953
+ };
13954
+ Insert: {
13955
+ code?: string | null;
13956
+ created_at?: string;
13957
+ detail?: import("../integrations/supabase/types").Json;
13958
+ id?: string;
13959
+ queue_item_id?: string | null;
13960
+ reden?: string | null;
13961
+ station_slug?: string | null;
13962
+ uitkomst?: string;
13963
+ };
13964
+ Update: {
13965
+ code?: string | null;
13966
+ created_at?: string;
13967
+ detail?: import("../integrations/supabase/types").Json;
13968
+ id?: string;
13969
+ queue_item_id?: string | null;
13970
+ reden?: string | null;
13971
+ station_slug?: string | null;
13972
+ uitkomst?: string;
13973
+ };
13974
+ Relationships: [];
13975
+ };
13829
13976
  print_queue_runners: {
13830
13977
  Row: {
13831
13978
  actief: boolean;
@@ -14065,6 +14212,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
14065
14212
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
14066
14213
  online: boolean;
14067
14214
  papierformaat: string;
14215
+ pdf_map: string | null;
14068
14216
  poort: number | null;
14069
14217
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14070
14218
  systeemnaam: string;
@@ -14090,6 +14238,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
14090
14238
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14091
14239
  online?: boolean;
14092
14240
  papierformaat?: string;
14241
+ pdf_map?: string | null;
14093
14242
  poort?: number | null;
14094
14243
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14095
14244
  systeemnaam?: string;
@@ -14115,6 +14264,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
14115
14264
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
14116
14265
  online?: boolean;
14117
14266
  papierformaat?: string;
14267
+ pdf_map?: string | null;
14118
14268
  poort?: number | null;
14119
14269
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
14120
14270
  systeemnaam?: string;
@@ -20371,6 +20521,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20371
20521
  is_herprint: boolean;
20372
20522
  kopieen: number;
20373
20523
  layout_id: string | null;
20524
+ lokaal_opgeslagen_op: string | null;
20525
+ lokale_pdf_fout: string | null;
20526
+ lokale_pdf_status: string | null;
20374
20527
  opgepakt_op: string | null;
20375
20528
  paginas: number;
20376
20529
  payload: import("../integrations/supabase/types").Json;
@@ -20379,6 +20532,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20379
20532
  pogingen: number;
20380
20533
  printer_id: string | null;
20381
20534
  render_html: string | null;
20535
+ resultaat_pdf_base64: string | null;
20382
20536
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20383
20537
  updated_at: string;
20384
20538
  volgende_poging: string | null;
@@ -20470,6 +20624,53 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20470
20624
  isSetofReturn: true;
20471
20625
  };
20472
20626
  };
20627
+ claim_pdf_print_jobs: {
20628
+ Args: {
20629
+ _max?: number;
20630
+ };
20631
+ Returns: {
20632
+ agent_id: string | null;
20633
+ bron_job_id: string | null;
20634
+ created_at: string;
20635
+ documentnaam: string;
20636
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20637
+ extern_job_id: string | null;
20638
+ foutmelding: string | null;
20639
+ gebruiker_id: string | null;
20640
+ gebruiker_naam: string;
20641
+ gebruikte_bron: string | null;
20642
+ gebruikte_layout_id: string | null;
20643
+ gestart_op: string | null;
20644
+ herkomst: string | null;
20645
+ id: string;
20646
+ idempotentie_sleutel: string | null;
20647
+ is_herprint: boolean;
20648
+ kopieen: number;
20649
+ layout_id: string | null;
20650
+ lokaal_opgeslagen_op: string | null;
20651
+ lokale_pdf_fout: string | null;
20652
+ lokale_pdf_status: string | null;
20653
+ opgepakt_op: string | null;
20654
+ paginas: number;
20655
+ payload: import("../integrations/supabase/types").Json;
20656
+ pdf_base64: string | null;
20657
+ pdf_url: string | null;
20658
+ pogingen: number;
20659
+ printer_id: string | null;
20660
+ render_html: string | null;
20661
+ resultaat_pdf_base64: string | null;
20662
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20663
+ updated_at: string;
20664
+ volgende_poging: string | null;
20665
+ voltooid_op: string | null;
20666
+ }[];
20667
+ SetofOptions: {
20668
+ from: "*";
20669
+ to: "print_jobs";
20670
+ isOneToOne: false;
20671
+ isSetofReturn: true;
20672
+ };
20673
+ };
20473
20674
  claim_print_jobs: {
20474
20675
  Args: {
20475
20676
  _agent_id: string;
@@ -20494,6 +20695,9 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20494
20695
  is_herprint: boolean;
20495
20696
  kopieen: number;
20496
20697
  layout_id: string | null;
20698
+ lokaal_opgeslagen_op: string | null;
20699
+ lokale_pdf_fout: string | null;
20700
+ lokale_pdf_status: string | null;
20497
20701
  opgepakt_op: string | null;
20498
20702
  paginas: number;
20499
20703
  payload: import("../integrations/supabase/types").Json;
@@ -20502,6 +20706,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20502
20706
  pogingen: number;
20503
20707
  printer_id: string | null;
20504
20708
  render_html: string | null;
20709
+ resultaat_pdf_base64: string | null;
20505
20710
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20506
20711
  updated_at: string;
20507
20712
  volgende_poging: string | null;
@@ -20642,6 +20847,8 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
20642
20847
  order_id: string;
20643
20848
  order_source: string;
20644
20849
  pick_date: string;
20850
+ printed_at: string;
20851
+ printed_today: boolean;
20645
20852
  status: string;
20646
20853
  }[];
20647
20854
  };
@@ -21350,6 +21557,10 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21350
21557
  };
21351
21558
  Returns: number;
21352
21559
  };
21560
+ logistics_cancel_orphan_tasks: {
21561
+ Args: never;
21562
+ Returns: number;
21563
+ };
21353
21564
  logistics_capacity_day_check: {
21354
21565
  Args: {
21355
21566
  p_from?: string;
@@ -21370,6 +21581,25 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21370
21581
  };
21371
21582
  Returns: number;
21372
21583
  };
21584
+ logistics_cart_index: {
21585
+ Args: {
21586
+ p_from?: string;
21587
+ p_to?: string;
21588
+ };
21589
+ Returns: {
21590
+ cart_id: string;
21591
+ cart_index: number;
21592
+ cart_label: string;
21593
+ is_shared: boolean;
21594
+ order_number: string;
21595
+ order_source: string;
21596
+ order_uuid: string;
21597
+ pick_date: string;
21598
+ printed_at: string;
21599
+ shifted: boolean;
21600
+ task_status: string;
21601
+ }[];
21602
+ };
21373
21603
  logistics_check_order_allowed: {
21374
21604
  Args: {
21375
21605
  p_lines: import("../integrations/supabase/types").Json;
@@ -21518,6 +21748,17 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21518
21748
  isSetofReturn: false;
21519
21749
  };
21520
21750
  };
21751
+ logistics_consistency_check: {
21752
+ Args: never;
21753
+ Returns: {
21754
+ agenda_carts: number;
21755
+ control_carts: number;
21756
+ ok: boolean;
21757
+ orphan_tasks: number;
21758
+ pick_date: string;
21759
+ raw_carts: number;
21760
+ }[];
21761
+ };
21521
21762
  logistics_delay_customer_email: {
21522
21763
  Args: {
21523
21764
  p_customer: string;
@@ -21607,6 +21848,16 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21607
21848
  isSetofReturn: false;
21608
21849
  };
21609
21850
  };
21851
+ logistics_floriday_cart_plan: {
21852
+ Args: {
21853
+ p_order_id: string;
21854
+ };
21855
+ Returns: {
21856
+ carrier_type: string;
21857
+ idx: number;
21858
+ packages: number;
21859
+ }[];
21860
+ };
21610
21861
  logistics_floriday_claim_pushes: {
21611
21862
  Args: {
21612
21863
  _lease_seconds?: number;
@@ -21711,6 +21962,25 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21711
21962
  };
21712
21963
  Returns: number;
21713
21964
  };
21965
+ logistics_order_overview: {
21966
+ Args: {
21967
+ p_from?: string;
21968
+ p_to?: string;
21969
+ };
21970
+ Returns: {
21971
+ cart_count: number;
21972
+ customer_name: string;
21973
+ delivery_date: string;
21974
+ order_number: string;
21975
+ order_source: string;
21976
+ order_uuid: string;
21977
+ pick_date: string;
21978
+ plant_count: number;
21979
+ printed_at: string;
21980
+ shifted: boolean;
21981
+ status: string;
21982
+ }[];
21983
+ };
21714
21984
  logistics_order_pick_day: {
21715
21985
  Args: {
21716
21986
  p_order_ref: string;
@@ -21723,6 +21993,22 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21723
21993
  };
21724
21994
  Returns: string;
21725
21995
  };
21996
+ logistics_pick_agenda: {
21997
+ Args: {
21998
+ p_from?: string;
21999
+ p_to?: string;
22000
+ };
22001
+ Returns: {
22002
+ cart_count: number;
22003
+ in_preparation: number;
22004
+ order_count: number;
22005
+ orders: import("../integrations/supabase/types").Json;
22006
+ pick_date: string;
22007
+ plant_count: number;
22008
+ ready: number;
22009
+ shifted_count: number;
22010
+ }[];
22011
+ };
21726
22012
  logistics_pick_email_purpose: {
21727
22013
  Args: never;
21728
22014
  Returns: string;
@@ -21777,6 +22063,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21777
22063
  };
21778
22064
  Returns: undefined;
21779
22065
  };
22066
+ logistics_plan_floriday_order: {
22067
+ Args: {
22068
+ p_buffer_id?: string;
22069
+ p_order_id: string;
22070
+ };
22071
+ Returns: number;
22072
+ };
21780
22073
  logistics_plan_impact_orders: {
21781
22074
  Args: {
21782
22075
  p_order_id: string;
@@ -21882,6 +22175,15 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
21882
22175
  };
21883
22176
  Returns: import("../integrations/supabase/types").Json;
21884
22177
  };
22178
+ logistics_resolve_pick_document: {
22179
+ Args: {
22180
+ _is_herprint: boolean;
22181
+ _queue_item_id: string;
22182
+ _session_id: string;
22183
+ _voorbeeld: boolean;
22184
+ };
22185
+ Returns: import("../integrations/supabase/types").Json;
22186
+ };
21885
22187
  logistics_resolve_settings: {
21886
22188
  Args: {
21887
22189
  p_config_id: string;
@@ -22322,6 +22624,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22322
22624
  };
22323
22625
  pick_enqueue_print_job: {
22324
22626
  Args: {
22627
+ _is_herprint?: boolean;
22325
22628
  _printer_id?: string;
22326
22629
  _queue_item_id: string;
22327
22630
  _session_id?: string;
@@ -22335,6 +22638,13 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22335
22638
  };
22336
22639
  Returns: import("../integrations/supabase/types").Json;
22337
22640
  };
22641
+ pick_preview_job: {
22642
+ Args: {
22643
+ _queue_item_id: string;
22644
+ _station_slug: string;
22645
+ };
22646
+ Returns: import("../integrations/supabase/types").Json;
22647
+ };
22338
22648
  pick_print_job_status: {
22339
22649
  Args: {
22340
22650
  _job_id: string;
@@ -22512,6 +22822,24 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22512
22822
  };
22513
22823
  Returns: undefined;
22514
22824
  };
22825
+ print_preview_toestaan: {
22826
+ Args: {
22827
+ _max?: number;
22828
+ _queue_item_id: string;
22829
+ _station_slug: string;
22830
+ _venster_sec?: number;
22831
+ };
22832
+ Returns: import("../integrations/supabase/types").Json;
22833
+ };
22834
+ print_preview_weiger: {
22835
+ Args: {
22836
+ _code: string;
22837
+ _queue_item_id: string;
22838
+ _reden: string;
22839
+ _station_slug: string;
22840
+ };
22841
+ Returns: undefined;
22842
+ };
22515
22843
  process_logistics_event: {
22516
22844
  Args: {
22517
22845
  p_event_id: string;
@@ -22666,6 +22994,12 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
22666
22994
  };
22667
22995
  Returns: string;
22668
22996
  };
22997
+ resolve_print_job_printer_id: {
22998
+ Args: {
22999
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
23000
+ };
23001
+ Returns: string;
23002
+ };
22669
23003
  resolve_product_id_for_item: {
22670
23004
  Args: {
22671
23005
  p_product_name: string;
@@ -23257,7 +23591,7 @@ export declare const getOrderPickupMoment: import("@tanstack/start-client-core")
23257
23591
  };
23258
23592
  CompositeTypes: { [_ in never]: never; };
23259
23593
  }, {
23260
- PostgrestVersion: "14.17";
23594
+ PostgrestVersion: "14.5";
23261
23595
  }>;
23262
23596
  userId: string;
23263
23597
  claims: import("@supabase/auth-js").User;
@@ -26127,6 +26461,84 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
26127
26461
  };
26128
26462
  Relationships: [];
26129
26463
  };
26464
+ delivery_notes: {
26465
+ Row: {
26466
+ byte_size: number | null;
26467
+ connection_id: string | null;
26468
+ content_type: string;
26469
+ created_at: string;
26470
+ error_message: string | null;
26471
+ fetched_at: string | null;
26472
+ fulfillment_order_id: string | null;
26473
+ http_status: number | null;
26474
+ id: string;
26475
+ label_code: string | null;
26476
+ letter: string | null;
26477
+ load_carrier_index: number | null;
26478
+ load_carrier_type: string | null;
26479
+ order_id: string | null;
26480
+ order_number: string | null;
26481
+ packages: number | null;
26482
+ source: string;
26483
+ status: string;
26484
+ storage_bucket: string;
26485
+ storage_path: string | null;
26486
+ updated_at: string;
26487
+ };
26488
+ Insert: {
26489
+ byte_size?: number | null;
26490
+ connection_id?: string | null;
26491
+ content_type?: string;
26492
+ created_at?: string;
26493
+ error_message?: string | null;
26494
+ fetched_at?: string | null;
26495
+ fulfillment_order_id?: string | null;
26496
+ http_status?: number | null;
26497
+ id?: string;
26498
+ label_code?: string | null;
26499
+ letter?: string | null;
26500
+ load_carrier_index?: number | null;
26501
+ load_carrier_type?: string | null;
26502
+ order_id?: string | null;
26503
+ order_number?: string | null;
26504
+ packages?: number | null;
26505
+ source?: string;
26506
+ status?: string;
26507
+ storage_bucket?: string;
26508
+ storage_path?: string | null;
26509
+ updated_at?: string;
26510
+ };
26511
+ Update: {
26512
+ byte_size?: number | null;
26513
+ connection_id?: string | null;
26514
+ content_type?: string;
26515
+ created_at?: string;
26516
+ error_message?: string | null;
26517
+ fetched_at?: string | null;
26518
+ fulfillment_order_id?: string | null;
26519
+ http_status?: number | null;
26520
+ id?: string;
26521
+ label_code?: string | null;
26522
+ letter?: string | null;
26523
+ load_carrier_index?: number | null;
26524
+ load_carrier_type?: string | null;
26525
+ order_id?: string | null;
26526
+ order_number?: string | null;
26527
+ packages?: number | null;
26528
+ source?: string;
26529
+ status?: string;
26530
+ storage_bucket?: string;
26531
+ storage_path?: string | null;
26532
+ updated_at?: string;
26533
+ };
26534
+ Relationships: [{
26535
+ foreignKeyName: "delivery_notes_order_id_fkey";
26536
+ columns: ["order_id"];
26537
+ isOneToOne: false;
26538
+ referencedRelation: "orders";
26539
+ referencedColumns: ["id"];
26540
+ }];
26541
+ };
26130
26542
  document_bronregels: {
26131
26543
  Row: {
26132
26544
  bron: string;
@@ -29180,10 +29592,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29180
29592
  };
29181
29593
  floriday_connections: {
29182
29594
  Row: {
29183
- access_token: string | null;
29184
29595
  api_key: string;
29185
- client_id: string;
29186
- client_secret: string;
29187
29596
  created_at: string;
29188
29597
  customers_endpoint: string | null;
29189
29598
  environment: string;
@@ -29198,10 +29607,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29198
29607
  updated_at: string;
29199
29608
  };
29200
29609
  Insert: {
29201
- access_token?: string | null;
29202
29610
  api_key: string;
29203
- client_id: string;
29204
- client_secret: string;
29205
29611
  created_at?: string;
29206
29612
  customers_endpoint?: string | null;
29207
29613
  environment: string;
@@ -29216,10 +29622,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
29216
29622
  updated_at?: string;
29217
29623
  };
29218
29624
  Update: {
29219
- access_token?: string | null;
29220
29625
  api_key?: string;
29221
- client_id?: string;
29222
- client_secret?: string;
29223
29626
  created_at?: string;
29224
29627
  customers_endpoint?: string | null;
29225
29628
  environment?: string;
@@ -36852,6 +37255,39 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36852
37255
  };
36853
37256
  Relationships: [];
36854
37257
  };
37258
+ print_dedupe_events: {
37259
+ Row: {
37260
+ bestaande_job_id: string | null;
37261
+ created_at: string;
37262
+ detail: string | null;
37263
+ documentnaam: string | null;
37264
+ documenttype: string | null;
37265
+ id: string;
37266
+ idempotentie_sleutel: string;
37267
+ reden: string;
37268
+ };
37269
+ Insert: {
37270
+ bestaande_job_id?: string | null;
37271
+ created_at?: string;
37272
+ detail?: string | null;
37273
+ documentnaam?: string | null;
37274
+ documenttype?: string | null;
37275
+ id?: string;
37276
+ idempotentie_sleutel: string;
37277
+ reden: string;
37278
+ };
37279
+ Update: {
37280
+ bestaande_job_id?: string | null;
37281
+ created_at?: string;
37282
+ detail?: string | null;
37283
+ documentnaam?: string | null;
37284
+ documenttype?: string | null;
37285
+ id?: string;
37286
+ idempotentie_sleutel?: string;
37287
+ reden?: string;
37288
+ };
37289
+ Relationships: [];
37290
+ };
36855
37291
  print_job_logs: {
36856
37292
  Row: {
36857
37293
  created_at: string;
@@ -36902,6 +37338,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36902
37338
  is_herprint: boolean;
36903
37339
  kopieen: number;
36904
37340
  layout_id: string | null;
37341
+ lokaal_opgeslagen_op: string | null;
37342
+ lokale_pdf_fout: string | null;
37343
+ lokale_pdf_status: string | null;
36905
37344
  opgepakt_op: string | null;
36906
37345
  paginas: number;
36907
37346
  payload: import("../integrations/supabase/types").Json;
@@ -36910,6 +37349,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36910
37349
  pogingen: number;
36911
37350
  printer_id: string | null;
36912
37351
  render_html: string | null;
37352
+ resultaat_pdf_base64: string | null;
36913
37353
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36914
37354
  updated_at: string;
36915
37355
  volgende_poging: string | null;
@@ -36934,6 +37374,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36934
37374
  is_herprint?: boolean;
36935
37375
  kopieen?: number;
36936
37376
  layout_id?: string | null;
37377
+ lokaal_opgeslagen_op?: string | null;
37378
+ lokale_pdf_fout?: string | null;
37379
+ lokale_pdf_status?: string | null;
36937
37380
  opgepakt_op?: string | null;
36938
37381
  paginas?: number;
36939
37382
  payload?: import("../integrations/supabase/types").Json;
@@ -36942,6 +37385,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36942
37385
  pogingen?: number;
36943
37386
  printer_id?: string | null;
36944
37387
  render_html?: string | null;
37388
+ resultaat_pdf_base64?: string | null;
36945
37389
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36946
37390
  updated_at?: string;
36947
37391
  volgende_poging?: string | null;
@@ -36966,6 +37410,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36966
37410
  is_herprint?: boolean;
36967
37411
  kopieen?: number;
36968
37412
  layout_id?: string | null;
37413
+ lokaal_opgeslagen_op?: string | null;
37414
+ lokale_pdf_fout?: string | null;
37415
+ lokale_pdf_status?: string | null;
36969
37416
  opgepakt_op?: string | null;
36970
37417
  paginas?: number;
36971
37418
  payload?: import("../integrations/supabase/types").Json;
@@ -36974,6 +37421,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
36974
37421
  pogingen?: number;
36975
37422
  printer_id?: string | null;
36976
37423
  render_html?: string | null;
37424
+ resultaat_pdf_base64?: string | null;
36977
37425
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
36978
37426
  updated_at?: string;
36979
37427
  volgende_poging?: string | null;
@@ -37092,6 +37540,39 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37092
37540
  };
37093
37541
  Relationships: [];
37094
37542
  };
37543
+ print_preview_events: {
37544
+ Row: {
37545
+ code: string | null;
37546
+ created_at: string;
37547
+ detail: import("../integrations/supabase/types").Json;
37548
+ id: string;
37549
+ queue_item_id: string | null;
37550
+ reden: string | null;
37551
+ station_slug: string | null;
37552
+ uitkomst: string;
37553
+ };
37554
+ Insert: {
37555
+ code?: string | null;
37556
+ created_at?: string;
37557
+ detail?: import("../integrations/supabase/types").Json;
37558
+ id?: string;
37559
+ queue_item_id?: string | null;
37560
+ reden?: string | null;
37561
+ station_slug?: string | null;
37562
+ uitkomst?: string;
37563
+ };
37564
+ Update: {
37565
+ code?: string | null;
37566
+ created_at?: string;
37567
+ detail?: import("../integrations/supabase/types").Json;
37568
+ id?: string;
37569
+ queue_item_id?: string | null;
37570
+ reden?: string | null;
37571
+ station_slug?: string | null;
37572
+ uitkomst?: string;
37573
+ };
37574
+ Relationships: [];
37575
+ };
37095
37576
  print_queue_runners: {
37096
37577
  Row: {
37097
37578
  actief: boolean;
@@ -37331,6 +37812,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37331
37812
  ondersteunde_laden: import("../integrations/supabase/types").Json | null;
37332
37813
  online: boolean;
37333
37814
  papierformaat: string;
37815
+ pdf_map: string | null;
37334
37816
  poort: number | null;
37335
37817
  soort: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37336
37818
  systeemnaam: string;
@@ -37356,6 +37838,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37356
37838
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37357
37839
  online?: boolean;
37358
37840
  papierformaat?: string;
37841
+ pdf_map?: string | null;
37359
37842
  poort?: number | null;
37360
37843
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37361
37844
  systeemnaam?: string;
@@ -37381,6 +37864,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
37381
37864
  ondersteunde_laden?: import("../integrations/supabase/types").Json | null;
37382
37865
  online?: boolean;
37383
37866
  papierformaat?: string;
37867
+ pdf_map?: string | null;
37384
37868
  poort?: number | null;
37385
37869
  soort?: import("../integrations/supabase/types").Database["public"]["Enums"]["printer_kind"];
37386
37870
  systeemnaam?: string;
@@ -43637,6 +44121,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43637
44121
  is_herprint: boolean;
43638
44122
  kopieen: number;
43639
44123
  layout_id: string | null;
44124
+ lokaal_opgeslagen_op: string | null;
44125
+ lokale_pdf_fout: string | null;
44126
+ lokale_pdf_status: string | null;
43640
44127
  opgepakt_op: string | null;
43641
44128
  paginas: number;
43642
44129
  payload: import("../integrations/supabase/types").Json;
@@ -43645,6 +44132,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43645
44132
  pogingen: number;
43646
44133
  printer_id: string | null;
43647
44134
  render_html: string | null;
44135
+ resultaat_pdf_base64: string | null;
43648
44136
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43649
44137
  updated_at: string;
43650
44138
  volgende_poging: string | null;
@@ -43736,6 +44224,53 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43736
44224
  isSetofReturn: true;
43737
44225
  };
43738
44226
  };
44227
+ claim_pdf_print_jobs: {
44228
+ Args: {
44229
+ _max?: number;
44230
+ };
44231
+ Returns: {
44232
+ agent_id: string | null;
44233
+ bron_job_id: string | null;
44234
+ created_at: string;
44235
+ documentnaam: string;
44236
+ documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
44237
+ extern_job_id: string | null;
44238
+ foutmelding: string | null;
44239
+ gebruiker_id: string | null;
44240
+ gebruiker_naam: string;
44241
+ gebruikte_bron: string | null;
44242
+ gebruikte_layout_id: string | null;
44243
+ gestart_op: string | null;
44244
+ herkomst: string | null;
44245
+ id: string;
44246
+ idempotentie_sleutel: string | null;
44247
+ is_herprint: boolean;
44248
+ kopieen: number;
44249
+ layout_id: string | null;
44250
+ lokaal_opgeslagen_op: string | null;
44251
+ lokale_pdf_fout: string | null;
44252
+ lokale_pdf_status: string | null;
44253
+ opgepakt_op: string | null;
44254
+ paginas: number;
44255
+ payload: import("../integrations/supabase/types").Json;
44256
+ pdf_base64: string | null;
44257
+ pdf_url: string | null;
44258
+ pogingen: number;
44259
+ printer_id: string | null;
44260
+ render_html: string | null;
44261
+ resultaat_pdf_base64: string | null;
44262
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
44263
+ updated_at: string;
44264
+ volgende_poging: string | null;
44265
+ voltooid_op: string | null;
44266
+ }[];
44267
+ SetofOptions: {
44268
+ from: "*";
44269
+ to: "print_jobs";
44270
+ isOneToOne: false;
44271
+ isSetofReturn: true;
44272
+ };
44273
+ };
43739
44274
  claim_print_jobs: {
43740
44275
  Args: {
43741
44276
  _agent_id: string;
@@ -43760,6 +44295,9 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43760
44295
  is_herprint: boolean;
43761
44296
  kopieen: number;
43762
44297
  layout_id: string | null;
44298
+ lokaal_opgeslagen_op: string | null;
44299
+ lokale_pdf_fout: string | null;
44300
+ lokale_pdf_status: string | null;
43763
44301
  opgepakt_op: string | null;
43764
44302
  paginas: number;
43765
44303
  payload: import("../integrations/supabase/types").Json;
@@ -43768,6 +44306,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43768
44306
  pogingen: number;
43769
44307
  printer_id: string | null;
43770
44308
  render_html: string | null;
44309
+ resultaat_pdf_base64: string | null;
43771
44310
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
43772
44311
  updated_at: string;
43773
44312
  volgende_poging: string | null;
@@ -43908,6 +44447,8 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
43908
44447
  order_id: string;
43909
44448
  order_source: string;
43910
44449
  pick_date: string;
44450
+ printed_at: string;
44451
+ printed_today: boolean;
43911
44452
  status: string;
43912
44453
  }[];
43913
44454
  };
@@ -44616,6 +45157,10 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44616
45157
  };
44617
45158
  Returns: number;
44618
45159
  };
45160
+ logistics_cancel_orphan_tasks: {
45161
+ Args: never;
45162
+ Returns: number;
45163
+ };
44619
45164
  logistics_capacity_day_check: {
44620
45165
  Args: {
44621
45166
  p_from?: string;
@@ -44636,6 +45181,25 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44636
45181
  };
44637
45182
  Returns: number;
44638
45183
  };
45184
+ logistics_cart_index: {
45185
+ Args: {
45186
+ p_from?: string;
45187
+ p_to?: string;
45188
+ };
45189
+ Returns: {
45190
+ cart_id: string;
45191
+ cart_index: number;
45192
+ cart_label: string;
45193
+ is_shared: boolean;
45194
+ order_number: string;
45195
+ order_source: string;
45196
+ order_uuid: string;
45197
+ pick_date: string;
45198
+ printed_at: string;
45199
+ shifted: boolean;
45200
+ task_status: string;
45201
+ }[];
45202
+ };
44639
45203
  logistics_check_order_allowed: {
44640
45204
  Args: {
44641
45205
  p_lines: import("../integrations/supabase/types").Json;
@@ -44784,6 +45348,17 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44784
45348
  isSetofReturn: false;
44785
45349
  };
44786
45350
  };
45351
+ logistics_consistency_check: {
45352
+ Args: never;
45353
+ Returns: {
45354
+ agenda_carts: number;
45355
+ control_carts: number;
45356
+ ok: boolean;
45357
+ orphan_tasks: number;
45358
+ pick_date: string;
45359
+ raw_carts: number;
45360
+ }[];
45361
+ };
44787
45362
  logistics_delay_customer_email: {
44788
45363
  Args: {
44789
45364
  p_customer: string;
@@ -44873,6 +45448,16 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44873
45448
  isSetofReturn: false;
44874
45449
  };
44875
45450
  };
45451
+ logistics_floriday_cart_plan: {
45452
+ Args: {
45453
+ p_order_id: string;
45454
+ };
45455
+ Returns: {
45456
+ carrier_type: string;
45457
+ idx: number;
45458
+ packages: number;
45459
+ }[];
45460
+ };
44876
45461
  logistics_floriday_claim_pushes: {
44877
45462
  Args: {
44878
45463
  _lease_seconds?: number;
@@ -44977,6 +45562,25 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44977
45562
  };
44978
45563
  Returns: number;
44979
45564
  };
45565
+ logistics_order_overview: {
45566
+ Args: {
45567
+ p_from?: string;
45568
+ p_to?: string;
45569
+ };
45570
+ Returns: {
45571
+ cart_count: number;
45572
+ customer_name: string;
45573
+ delivery_date: string;
45574
+ order_number: string;
45575
+ order_source: string;
45576
+ order_uuid: string;
45577
+ pick_date: string;
45578
+ plant_count: number;
45579
+ printed_at: string;
45580
+ shifted: boolean;
45581
+ status: string;
45582
+ }[];
45583
+ };
44980
45584
  logistics_order_pick_day: {
44981
45585
  Args: {
44982
45586
  p_order_ref: string;
@@ -44989,6 +45593,22 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
44989
45593
  };
44990
45594
  Returns: string;
44991
45595
  };
45596
+ logistics_pick_agenda: {
45597
+ Args: {
45598
+ p_from?: string;
45599
+ p_to?: string;
45600
+ };
45601
+ Returns: {
45602
+ cart_count: number;
45603
+ in_preparation: number;
45604
+ order_count: number;
45605
+ orders: import("../integrations/supabase/types").Json;
45606
+ pick_date: string;
45607
+ plant_count: number;
45608
+ ready: number;
45609
+ shifted_count: number;
45610
+ }[];
45611
+ };
44992
45612
  logistics_pick_email_purpose: {
44993
45613
  Args: never;
44994
45614
  Returns: string;
@@ -45043,6 +45663,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45043
45663
  };
45044
45664
  Returns: undefined;
45045
45665
  };
45666
+ logistics_plan_floriday_order: {
45667
+ Args: {
45668
+ p_buffer_id?: string;
45669
+ p_order_id: string;
45670
+ };
45671
+ Returns: number;
45672
+ };
45046
45673
  logistics_plan_impact_orders: {
45047
45674
  Args: {
45048
45675
  p_order_id: string;
@@ -45148,6 +45775,15 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45148
45775
  };
45149
45776
  Returns: import("../integrations/supabase/types").Json;
45150
45777
  };
45778
+ logistics_resolve_pick_document: {
45779
+ Args: {
45780
+ _is_herprint: boolean;
45781
+ _queue_item_id: string;
45782
+ _session_id: string;
45783
+ _voorbeeld: boolean;
45784
+ };
45785
+ Returns: import("../integrations/supabase/types").Json;
45786
+ };
45151
45787
  logistics_resolve_settings: {
45152
45788
  Args: {
45153
45789
  p_config_id: string;
@@ -45588,6 +46224,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45588
46224
  };
45589
46225
  pick_enqueue_print_job: {
45590
46226
  Args: {
46227
+ _is_herprint?: boolean;
45591
46228
  _printer_id?: string;
45592
46229
  _queue_item_id: string;
45593
46230
  _session_id?: string;
@@ -45601,6 +46238,13 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45601
46238
  };
45602
46239
  Returns: import("../integrations/supabase/types").Json;
45603
46240
  };
46241
+ pick_preview_job: {
46242
+ Args: {
46243
+ _queue_item_id: string;
46244
+ _station_slug: string;
46245
+ };
46246
+ Returns: import("../integrations/supabase/types").Json;
46247
+ };
45604
46248
  pick_print_job_status: {
45605
46249
  Args: {
45606
46250
  _job_id: string;
@@ -45778,6 +46422,24 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45778
46422
  };
45779
46423
  Returns: undefined;
45780
46424
  };
46425
+ print_preview_toestaan: {
46426
+ Args: {
46427
+ _max?: number;
46428
+ _queue_item_id: string;
46429
+ _station_slug: string;
46430
+ _venster_sec?: number;
46431
+ };
46432
+ Returns: import("../integrations/supabase/types").Json;
46433
+ };
46434
+ print_preview_weiger: {
46435
+ Args: {
46436
+ _code: string;
46437
+ _queue_item_id: string;
46438
+ _reden: string;
46439
+ _station_slug: string;
46440
+ };
46441
+ Returns: undefined;
46442
+ };
45781
46443
  process_logistics_event: {
45782
46444
  Args: {
45783
46445
  p_event_id: string;
@@ -45932,6 +46594,12 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
45932
46594
  };
45933
46595
  Returns: string;
45934
46596
  };
46597
+ resolve_print_job_printer_id: {
46598
+ Args: {
46599
+ _job: import("../integrations/supabase/types").Database["public"]["Tables"]["print_jobs"]["Row"];
46600
+ };
46601
+ Returns: string;
46602
+ };
45935
46603
  resolve_product_id_for_item: {
45936
46604
  Args: {
45937
46605
  p_product_name: string;
@@ -46523,7 +47191,7 @@ export declare const setOrderPickupMoment: import("@tanstack/start-client-core")
46523
47191
  };
46524
47192
  CompositeTypes: { [_ in never]: never; };
46525
47193
  }, {
46526
- PostgrestVersion: "14.17";
47194
+ PostgrestVersion: "14.5";
46527
47195
  }>;
46528
47196
  userId: string;
46529
47197
  claims: import("@supabase/auth-js").User;