@flowselections/floriday-authenticatie-module 1.0.42 → 1.0.43

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 (45) hide show
  1. package/dist-lib/components/settings/FlorydaySettingsCard.js +4 -9
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts +728 -9
  3. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  4. package/dist-lib/integrations/supabase/client.d.ts +728 -9
  5. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  6. package/dist-lib/integrations/supabase/client.server.d.ts +728 -9
  7. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  8. package/dist-lib/integrations/supabase/types.d.ts +736 -9
  9. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  10. package/dist-lib/lib/floricode.functions.d.ts +5412 -379
  11. package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
  12. package/dist-lib/lib/floriday-auction-letters.functions.d.ts +728 -9
  13. package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
  14. package/dist-lib/lib/floriday-labels.functions.d.ts +728 -9
  15. package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-public.functions.d.ts +4605 -291
  17. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-stickers.functions.d.ts +728 -9
  19. package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-sync.functions.d.ts +24780 -2491
  21. package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-tray-stickers.functions.d.ts +14 -0
  23. package/dist-lib/lib/floriday-tray-stickers.functions.d.ts.map +1 -0
  24. package/dist-lib/lib/floriday-tray-stickers.functions.js +66 -0
  25. package/dist-lib/lib/floriday-writes.functions.d.ts +52015 -515
  26. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  27. package/dist-lib/lib/floriday-writes.functions.js +17 -12
  28. package/dist-lib/lib/floriday.functions.d.ts +15017 -1229
  29. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  30. package/dist-lib/lib/floriday.functions.js +76 -21
  31. package/dist-lib/lib/gateway/fulfillment-order-body.d.ts +36 -0
  32. package/dist-lib/lib/gateway/fulfillment-order-body.d.ts.map +1 -1
  33. package/dist-lib/lib/gateway/fulfillment-order-body.js +159 -110
  34. package/dist-lib/lib/gateway/fulfillment-order-send.d.ts.map +1 -1
  35. package/dist-lib/lib/gateway/fulfillment-order-send.js +6 -0
  36. package/dist-lib/lib/gateway/fulfillment-order-status.d.ts +11 -0
  37. package/dist-lib/lib/gateway/fulfillment-order-status.d.ts.map +1 -0
  38. package/dist-lib/lib/gateway/fulfillment-order-status.js +84 -0
  39. package/dist-lib/lib/gateway/index.d.ts +1 -0
  40. package/dist-lib/lib/gateway/index.d.ts.map +1 -1
  41. package/dist-lib/lib/gateway/index.js +1 -0
  42. package/dist-lib/lib/gateway/pdf.d.ts +1 -1
  43. package/dist-lib/lib/gateway/pdf.d.ts.map +1 -1
  44. package/dist-lib/lib/gateway/pdf.js +11 -0
  45. package/package.json +10 -1
@@ -2852,6 +2852,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2852
2852
  };
2853
2853
  Relationships: [];
2854
2854
  };
2855
+ delivery_notes: {
2856
+ Row: {
2857
+ byte_size: number | null;
2858
+ connection_id: string | null;
2859
+ content_type: string;
2860
+ created_at: string;
2861
+ error_message: string | null;
2862
+ fetched_at: string | null;
2863
+ fulfillment_order_id: string | null;
2864
+ http_status: number | null;
2865
+ id: string;
2866
+ label_code: string | null;
2867
+ letter: string | null;
2868
+ load_carrier_index: number | null;
2869
+ load_carrier_type: string | null;
2870
+ order_id: string | null;
2871
+ order_number: string | null;
2872
+ packages: number | null;
2873
+ source: string;
2874
+ status: string;
2875
+ storage_bucket: string;
2876
+ storage_path: string | null;
2877
+ updated_at: string;
2878
+ };
2879
+ Insert: {
2880
+ byte_size?: number | null;
2881
+ connection_id?: string | null;
2882
+ content_type?: string;
2883
+ created_at?: string;
2884
+ error_message?: string | null;
2885
+ fetched_at?: string | null;
2886
+ fulfillment_order_id?: string | null;
2887
+ http_status?: number | null;
2888
+ id?: string;
2889
+ label_code?: string | null;
2890
+ letter?: string | null;
2891
+ load_carrier_index?: number | null;
2892
+ load_carrier_type?: string | null;
2893
+ order_id?: string | null;
2894
+ order_number?: string | null;
2895
+ packages?: number | null;
2896
+ source?: string;
2897
+ status?: string;
2898
+ storage_bucket?: string;
2899
+ storage_path?: string | null;
2900
+ updated_at?: string;
2901
+ };
2902
+ Update: {
2903
+ byte_size?: number | null;
2904
+ connection_id?: string | null;
2905
+ content_type?: string;
2906
+ created_at?: string;
2907
+ error_message?: string | null;
2908
+ fetched_at?: string | null;
2909
+ fulfillment_order_id?: string | null;
2910
+ http_status?: number | null;
2911
+ id?: string;
2912
+ label_code?: string | null;
2913
+ letter?: string | null;
2914
+ load_carrier_index?: number | null;
2915
+ load_carrier_type?: string | null;
2916
+ order_id?: string | null;
2917
+ order_number?: string | null;
2918
+ packages?: number | null;
2919
+ source?: string;
2920
+ status?: string;
2921
+ storage_bucket?: string;
2922
+ storage_path?: string | null;
2923
+ updated_at?: string;
2924
+ };
2925
+ Relationships: [{
2926
+ foreignKeyName: "delivery_notes_order_id_fkey";
2927
+ columns: ["order_id"];
2928
+ isOneToOne: false;
2929
+ referencedRelation: "orders";
2930
+ referencedColumns: ["id"];
2931
+ }];
2932
+ };
2855
2933
  document_bronregels: {
2856
2934
  Row: {
2857
2935
  bron: string;
@@ -5905,10 +5983,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5905
5983
  };
5906
5984
  floriday_connections: {
5907
5985
  Row: {
5908
- access_token: string | null;
5909
5986
  api_key: string;
5910
- client_id: string;
5911
- client_secret: string;
5912
5987
  created_at: string;
5913
5988
  customers_endpoint: string | null;
5914
5989
  environment: string;
@@ -5923,10 +5998,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5923
5998
  updated_at: string;
5924
5999
  };
5925
6000
  Insert: {
5926
- access_token?: string | null;
5927
6001
  api_key: string;
5928
- client_id: string;
5929
- client_secret: string;
5930
6002
  created_at?: string;
5931
6003
  customers_endpoint?: string | null;
5932
6004
  environment: string;
@@ -5941,10 +6013,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
5941
6013
  updated_at?: string;
5942
6014
  };
5943
6015
  Update: {
5944
- access_token?: string | null;
5945
6016
  api_key?: string;
5946
- client_id?: string;
5947
- client_secret?: string;
5948
6017
  created_at?: string;
5949
6018
  customers_endpoint?: string | null;
5950
6019
  environment?: string;
@@ -10691,6 +10760,243 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10691
10760
  };
10692
10761
  Relationships: [];
10693
10762
  };
10763
+ maps_addresses: {
10764
+ Row: {
10765
+ address_hash: string;
10766
+ created_at: string;
10767
+ error_reason: string | null;
10768
+ formatted_address: string | null;
10769
+ id: string;
10770
+ lat: number | null;
10771
+ lng: number | null;
10772
+ place_id: string | null;
10773
+ raw_address: string;
10774
+ resolved_at: string | null;
10775
+ status: string;
10776
+ updated_at: string;
10777
+ };
10778
+ Insert: {
10779
+ address_hash: string;
10780
+ created_at?: string;
10781
+ error_reason?: string | null;
10782
+ formatted_address?: string | null;
10783
+ id?: string;
10784
+ lat?: number | null;
10785
+ lng?: number | null;
10786
+ place_id?: string | null;
10787
+ raw_address: string;
10788
+ resolved_at?: string | null;
10789
+ status?: string;
10790
+ updated_at?: string;
10791
+ };
10792
+ Update: {
10793
+ address_hash?: string;
10794
+ created_at?: string;
10795
+ error_reason?: string | null;
10796
+ formatted_address?: string | null;
10797
+ id?: string;
10798
+ lat?: number | null;
10799
+ lng?: number | null;
10800
+ place_id?: string | null;
10801
+ raw_address?: string;
10802
+ resolved_at?: string | null;
10803
+ status?: string;
10804
+ updated_at?: string;
10805
+ };
10806
+ Relationships: [];
10807
+ };
10808
+ maps_job_lease: {
10809
+ Row: {
10810
+ job: string;
10811
+ locked_until: string;
10812
+ updated_at: string;
10813
+ };
10814
+ Insert: {
10815
+ job: string;
10816
+ locked_until?: string;
10817
+ updated_at?: string;
10818
+ };
10819
+ Update: {
10820
+ job?: string;
10821
+ locked_until?: string;
10822
+ updated_at?: string;
10823
+ };
10824
+ Relationships: [];
10825
+ };
10826
+ maps_request_queue: {
10827
+ Row: {
10828
+ attempts: number;
10829
+ created_at: string;
10830
+ destination_hash: string | null;
10831
+ id: string;
10832
+ kind: string;
10833
+ last_error: string | null;
10834
+ mode: string;
10835
+ origin_hash: string | null;
10836
+ processed_at: string | null;
10837
+ raw_destination: string | null;
10838
+ raw_origin: string | null;
10839
+ requested_by: string | null;
10840
+ status: string;
10841
+ updated_at: string;
10842
+ };
10843
+ Insert: {
10844
+ attempts?: number;
10845
+ created_at?: string;
10846
+ destination_hash?: string | null;
10847
+ id?: string;
10848
+ kind: string;
10849
+ last_error?: string | null;
10850
+ mode?: string;
10851
+ origin_hash?: string | null;
10852
+ processed_at?: string | null;
10853
+ raw_destination?: string | null;
10854
+ raw_origin?: string | null;
10855
+ requested_by?: string | null;
10856
+ status?: string;
10857
+ updated_at?: string;
10858
+ };
10859
+ Update: {
10860
+ attempts?: number;
10861
+ created_at?: string;
10862
+ destination_hash?: string | null;
10863
+ id?: string;
10864
+ kind?: string;
10865
+ last_error?: string | null;
10866
+ mode?: string;
10867
+ origin_hash?: string | null;
10868
+ processed_at?: string | null;
10869
+ raw_destination?: string | null;
10870
+ raw_origin?: string | null;
10871
+ requested_by?: string | null;
10872
+ status?: string;
10873
+ updated_at?: string;
10874
+ };
10875
+ Relationships: [];
10876
+ };
10877
+ maps_settings: {
10878
+ Row: {
10879
+ allow_estimate_fallback: boolean;
10880
+ cache_ttl_days: number;
10881
+ created_at: string;
10882
+ daily_call_limit: number;
10883
+ id: string;
10884
+ last_error: string | null;
10885
+ last_error_at: string | null;
10886
+ last_success_at: string | null;
10887
+ provider: string;
10888
+ updated_at: string;
10889
+ };
10890
+ Insert: {
10891
+ allow_estimate_fallback?: boolean;
10892
+ cache_ttl_days?: number;
10893
+ created_at?: string;
10894
+ daily_call_limit?: number;
10895
+ id?: string;
10896
+ last_error?: string | null;
10897
+ last_error_at?: string | null;
10898
+ last_success_at?: string | null;
10899
+ provider?: string;
10900
+ updated_at?: string;
10901
+ };
10902
+ Update: {
10903
+ allow_estimate_fallback?: boolean;
10904
+ cache_ttl_days?: number;
10905
+ created_at?: string;
10906
+ daily_call_limit?: number;
10907
+ id?: string;
10908
+ last_error?: string | null;
10909
+ last_error_at?: string | null;
10910
+ last_success_at?: string | null;
10911
+ provider?: string;
10912
+ updated_at?: string;
10913
+ };
10914
+ Relationships: [];
10915
+ };
10916
+ maps_travel_times: {
10917
+ Row: {
10918
+ created_at: string;
10919
+ destination_id: string;
10920
+ distance_m: number | null;
10921
+ duration_sec: number;
10922
+ expires_at: string;
10923
+ id: string;
10924
+ mode: string;
10925
+ origin_id: string;
10926
+ source: string;
10927
+ updated_at: string;
10928
+ };
10929
+ Insert: {
10930
+ created_at?: string;
10931
+ destination_id: string;
10932
+ distance_m?: number | null;
10933
+ duration_sec: number;
10934
+ expires_at?: string;
10935
+ id?: string;
10936
+ mode?: string;
10937
+ origin_id: string;
10938
+ source?: string;
10939
+ updated_at?: string;
10940
+ };
10941
+ Update: {
10942
+ created_at?: string;
10943
+ destination_id?: string;
10944
+ distance_m?: number | null;
10945
+ duration_sec?: number;
10946
+ expires_at?: string;
10947
+ id?: string;
10948
+ mode?: string;
10949
+ origin_id?: string;
10950
+ source?: string;
10951
+ updated_at?: string;
10952
+ };
10953
+ Relationships: [{
10954
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10955
+ columns: ["destination_id"];
10956
+ isOneToOne: false;
10957
+ referencedRelation: "maps_addresses";
10958
+ referencedColumns: ["id"];
10959
+ }, {
10960
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10961
+ columns: ["origin_id"];
10962
+ isOneToOne: false;
10963
+ referencedRelation: "maps_addresses";
10964
+ referencedColumns: ["id"];
10965
+ }];
10966
+ };
10967
+ maps_usage_log: {
10968
+ Row: {
10969
+ cache_hits: number;
10970
+ call_type: string;
10971
+ created_at: string;
10972
+ day: string;
10973
+ detail: string | null;
10974
+ elements: number;
10975
+ id: string;
10976
+ outcome: string;
10977
+ };
10978
+ Insert: {
10979
+ cache_hits?: number;
10980
+ call_type: string;
10981
+ created_at?: string;
10982
+ day?: string;
10983
+ detail?: string | null;
10984
+ elements?: number;
10985
+ id?: string;
10986
+ outcome?: string;
10987
+ };
10988
+ Update: {
10989
+ cache_hits?: number;
10990
+ call_type?: string;
10991
+ created_at?: string;
10992
+ day?: string;
10993
+ detail?: string | null;
10994
+ elements?: number;
10995
+ id?: string;
10996
+ outcome?: string;
10997
+ };
10998
+ Relationships: [];
10999
+ };
10694
11000
  material_usage: {
10695
11001
  Row: {
10696
11002
  created_at: string;
@@ -13340,6 +13646,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13340
13646
  };
13341
13647
  Relationships: [];
13342
13648
  };
13649
+ print_dedupe_events: {
13650
+ Row: {
13651
+ bestaande_job_id: string | null;
13652
+ created_at: string;
13653
+ detail: string | null;
13654
+ documentnaam: string | null;
13655
+ documenttype: string | null;
13656
+ id: string;
13657
+ idempotentie_sleutel: string;
13658
+ reden: string;
13659
+ };
13660
+ Insert: {
13661
+ bestaande_job_id?: string | null;
13662
+ created_at?: string;
13663
+ detail?: string | null;
13664
+ documentnaam?: string | null;
13665
+ documenttype?: string | null;
13666
+ id?: string;
13667
+ idempotentie_sleutel: string;
13668
+ reden: string;
13669
+ };
13670
+ Update: {
13671
+ bestaande_job_id?: string | null;
13672
+ created_at?: string;
13673
+ detail?: string | null;
13674
+ documentnaam?: string | null;
13675
+ documenttype?: string | null;
13676
+ id?: string;
13677
+ idempotentie_sleutel?: string;
13678
+ reden?: string;
13679
+ };
13680
+ Relationships: [];
13681
+ };
13343
13682
  print_job_logs: {
13344
13683
  Row: {
13345
13684
  created_at: string;
@@ -13381,6 +13720,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13381
13720
  foutmelding: string | null;
13382
13721
  gebruiker_id: string | null;
13383
13722
  gebruiker_naam: string;
13723
+ gebruikte_bron: string | null;
13724
+ gebruikte_layout_id: string | null;
13384
13725
  gestart_op: string | null;
13385
13726
  herkomst: string | null;
13386
13727
  id: string;
@@ -13388,6 +13729,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13388
13729
  is_herprint: boolean;
13389
13730
  kopieen: number;
13390
13731
  layout_id: string | null;
13732
+ lokaal_opgeslagen_op: string | null;
13733
+ lokale_pdf_fout: string | null;
13734
+ lokale_pdf_status: string | null;
13391
13735
  opgepakt_op: string | null;
13392
13736
  paginas: number;
13393
13737
  payload: import("./types.js").Json;
@@ -13396,6 +13740,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13396
13740
  pogingen: number;
13397
13741
  printer_id: string | null;
13398
13742
  render_html: string | null;
13743
+ resultaat_pdf_base64: string | null;
13399
13744
  status: Database["public"]["Enums"]["print_job_status"];
13400
13745
  updated_at: string;
13401
13746
  volgende_poging: string | null;
@@ -13411,6 +13756,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13411
13756
  foutmelding?: string | null;
13412
13757
  gebruiker_id?: string | null;
13413
13758
  gebruiker_naam?: string;
13759
+ gebruikte_bron?: string | null;
13760
+ gebruikte_layout_id?: string | null;
13414
13761
  gestart_op?: string | null;
13415
13762
  herkomst?: string | null;
13416
13763
  id?: string;
@@ -13418,6 +13765,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13418
13765
  is_herprint?: boolean;
13419
13766
  kopieen?: number;
13420
13767
  layout_id?: string | null;
13768
+ lokaal_opgeslagen_op?: string | null;
13769
+ lokale_pdf_fout?: string | null;
13770
+ lokale_pdf_status?: string | null;
13421
13771
  opgepakt_op?: string | null;
13422
13772
  paginas?: number;
13423
13773
  payload?: import("./types.js").Json;
@@ -13426,6 +13776,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13426
13776
  pogingen?: number;
13427
13777
  printer_id?: string | null;
13428
13778
  render_html?: string | null;
13779
+ resultaat_pdf_base64?: string | null;
13429
13780
  status?: Database["public"]["Enums"]["print_job_status"];
13430
13781
  updated_at?: string;
13431
13782
  volgende_poging?: string | null;
@@ -13441,6 +13792,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13441
13792
  foutmelding?: string | null;
13442
13793
  gebruiker_id?: string | null;
13443
13794
  gebruiker_naam?: string;
13795
+ gebruikte_bron?: string | null;
13796
+ gebruikte_layout_id?: string | null;
13444
13797
  gestart_op?: string | null;
13445
13798
  herkomst?: string | null;
13446
13799
  id?: string;
@@ -13448,6 +13801,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13448
13801
  is_herprint?: boolean;
13449
13802
  kopieen?: number;
13450
13803
  layout_id?: string | null;
13804
+ lokaal_opgeslagen_op?: string | null;
13805
+ lokale_pdf_fout?: string | null;
13806
+ lokale_pdf_status?: string | null;
13451
13807
  opgepakt_op?: string | null;
13452
13808
  paginas?: number;
13453
13809
  payload?: import("./types.js").Json;
@@ -13456,6 +13812,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13456
13812
  pogingen?: number;
13457
13813
  printer_id?: string | null;
13458
13814
  render_html?: string | null;
13815
+ resultaat_pdf_base64?: string | null;
13459
13816
  status?: Database["public"]["Enums"]["print_job_status"];
13460
13817
  updated_at?: string;
13461
13818
  volgende_poging?: string | null;
@@ -13574,6 +13931,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13574
13931
  };
13575
13932
  Relationships: [];
13576
13933
  };
13934
+ print_preview_events: {
13935
+ Row: {
13936
+ code: string | null;
13937
+ created_at: string;
13938
+ detail: import("./types.js").Json;
13939
+ id: string;
13940
+ queue_item_id: string | null;
13941
+ reden: string | null;
13942
+ station_slug: string | null;
13943
+ uitkomst: string;
13944
+ };
13945
+ Insert: {
13946
+ code?: string | null;
13947
+ created_at?: string;
13948
+ detail?: import("./types.js").Json;
13949
+ id?: string;
13950
+ queue_item_id?: string | null;
13951
+ reden?: string | null;
13952
+ station_slug?: string | null;
13953
+ uitkomst?: string;
13954
+ };
13955
+ Update: {
13956
+ code?: string | null;
13957
+ created_at?: string;
13958
+ detail?: import("./types.js").Json;
13959
+ id?: string;
13960
+ queue_item_id?: string | null;
13961
+ reden?: string | null;
13962
+ station_slug?: string | null;
13963
+ uitkomst?: string;
13964
+ };
13965
+ Relationships: [];
13966
+ };
13577
13967
  print_queue_runners: {
13578
13968
  Row: {
13579
13969
  actief: boolean;
@@ -13801,6 +14191,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13801
14191
  created_at: string;
13802
14192
  driver: string;
13803
14193
  extern_printer_id: string | null;
14194
+ formaten_bijgewerkt_op: string | null;
13804
14195
  id: string;
13805
14196
  ip_adres: string | null;
13806
14197
  laatst_gezien: string | null;
@@ -13808,8 +14199,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13808
14199
  merk: string;
13809
14200
  naam: string;
13810
14201
  omschrijving: string;
14202
+ ondersteunde_formaten: import("./types.js").Json | null;
14203
+ ondersteunde_laden: import("./types.js").Json | null;
13811
14204
  online: boolean;
13812
14205
  papierformaat: string;
14206
+ pdf_map: string | null;
13813
14207
  poort: number | null;
13814
14208
  soort: Database["public"]["Enums"]["printer_kind"];
13815
14209
  systeemnaam: string;
@@ -13823,6 +14217,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13823
14217
  created_at?: string;
13824
14218
  driver?: string;
13825
14219
  extern_printer_id?: string | null;
14220
+ formaten_bijgewerkt_op?: string | null;
13826
14221
  id?: string;
13827
14222
  ip_adres?: string | null;
13828
14223
  laatst_gezien?: string | null;
@@ -13830,8 +14225,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13830
14225
  merk?: string;
13831
14226
  naam: string;
13832
14227
  omschrijving?: string;
14228
+ ondersteunde_formaten?: import("./types.js").Json | null;
14229
+ ondersteunde_laden?: import("./types.js").Json | null;
13833
14230
  online?: boolean;
13834
14231
  papierformaat?: string;
14232
+ pdf_map?: string | null;
13835
14233
  poort?: number | null;
13836
14234
  soort?: Database["public"]["Enums"]["printer_kind"];
13837
14235
  systeemnaam?: string;
@@ -13845,6 +14243,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13845
14243
  created_at?: string;
13846
14244
  driver?: string;
13847
14245
  extern_printer_id?: string | null;
14246
+ formaten_bijgewerkt_op?: string | null;
13848
14247
  id?: string;
13849
14248
  ip_adres?: string | null;
13850
14249
  laatst_gezien?: string | null;
@@ -13852,8 +14251,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13852
14251
  merk?: string;
13853
14252
  naam?: string;
13854
14253
  omschrijving?: string;
14254
+ ondersteunde_formaten?: import("./types.js").Json | null;
14255
+ ondersteunde_laden?: import("./types.js").Json | null;
13855
14256
  online?: boolean;
13856
14257
  papierformaat?: string;
14258
+ pdf_map?: string | null;
13857
14259
  poort?: number | null;
13858
14260
  soort?: Database["public"]["Enums"]["printer_kind"];
13859
14261
  systeemnaam?: string;
@@ -15728,6 +16130,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15728
16130
  };
15729
16131
  Relationships: [];
15730
16132
  };
16133
+ stock_consumption_alerts: {
16134
+ Row: {
16135
+ alert_type: string;
16136
+ created_at: string;
16137
+ id: string;
16138
+ mutation_log_id: string | null;
16139
+ order_id: string | null;
16140
+ order_item_id: string | null;
16141
+ qty: number;
16142
+ reason: string | null;
16143
+ resolved_at: string | null;
16144
+ updated_at: string;
16145
+ };
16146
+ Insert: {
16147
+ alert_type: string;
16148
+ created_at?: string;
16149
+ id?: string;
16150
+ mutation_log_id?: string | null;
16151
+ order_id?: string | null;
16152
+ order_item_id?: string | null;
16153
+ qty?: number;
16154
+ reason?: string | null;
16155
+ resolved_at?: string | null;
16156
+ updated_at?: string;
16157
+ };
16158
+ Update: {
16159
+ alert_type?: string;
16160
+ created_at?: string;
16161
+ id?: string;
16162
+ mutation_log_id?: string | null;
16163
+ order_id?: string | null;
16164
+ order_item_id?: string | null;
16165
+ qty?: number;
16166
+ reason?: string | null;
16167
+ resolved_at?: string | null;
16168
+ updated_at?: string;
16169
+ };
16170
+ Relationships: [];
16171
+ };
15731
16172
  stock_import_runs: {
15732
16173
  Row: {
15733
16174
  connection_id: string | null;
@@ -18581,6 +19022,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18581
19022
  werkbon_package_items: {
18582
19023
  Row: {
18583
19024
  article_number: string | null;
19025
+ artikel_id: string | null;
18584
19026
  created_at: string;
18585
19027
  gtin: string | null;
18586
19028
  id: string;
@@ -18598,6 +19040,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18598
19040
  };
18599
19041
  Insert: {
18600
19042
  article_number?: string | null;
19043
+ artikel_id?: string | null;
18601
19044
  created_at?: string;
18602
19045
  gtin?: string | null;
18603
19046
  id?: string;
@@ -18615,6 +19058,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18615
19058
  };
18616
19059
  Update: {
18617
19060
  article_number?: string | null;
19061
+ artikel_id?: string | null;
18618
19062
  created_at?: string;
18619
19063
  gtin?: string | null;
18620
19064
  id?: string;
@@ -18631,6 +19075,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18631
19075
  updated_at?: string;
18632
19076
  };
18633
19077
  Relationships: [{
19078
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
19079
+ columns: ["artikel_id"];
19080
+ isOneToOne: false;
19081
+ referencedRelation: "artikelen_cache";
19082
+ referencedColumns: ["id"];
19083
+ }, {
18634
19084
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18635
19085
  columns: ["package_id"];
18636
19086
  isOneToOne: false;
@@ -19853,6 +20303,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19853
20303
  referencedColumns: ["id"];
19854
20304
  }];
19855
20305
  };
20306
+ v_werkbon_totalen: {
20307
+ Row: {
20308
+ packages_cents: number | null;
20309
+ packages_minutes: number | null;
20310
+ werkbon_id: string | null;
20311
+ };
20312
+ Relationships: [{
20313
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20314
+ columns: ["werkbon_id"];
20315
+ isOneToOne: false;
20316
+ referencedRelation: "werkbonnen";
20317
+ referencedColumns: ["id"];
20318
+ }];
20319
+ };
19856
20320
  };
19857
20321
  Functions: {
19858
20322
  _floriday_schedule_job: {
@@ -20039,6 +20503,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20039
20503
  foutmelding: string | null;
20040
20504
  gebruiker_id: string | null;
20041
20505
  gebruiker_naam: string;
20506
+ gebruikte_bron: string | null;
20507
+ gebruikte_layout_id: string | null;
20042
20508
  gestart_op: string | null;
20043
20509
  herkomst: string | null;
20044
20510
  id: string;
@@ -20046,6 +20512,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20046
20512
  is_herprint: boolean;
20047
20513
  kopieen: number;
20048
20514
  layout_id: string | null;
20515
+ lokaal_opgeslagen_op: string | null;
20516
+ lokale_pdf_fout: string | null;
20517
+ lokale_pdf_status: string | null;
20049
20518
  opgepakt_op: string | null;
20050
20519
  paginas: number;
20051
20520
  payload: import("./types.js").Json;
@@ -20054,6 +20523,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20054
20523
  pogingen: number;
20055
20524
  printer_id: string | null;
20056
20525
  render_html: string | null;
20526
+ resultaat_pdf_base64: string | null;
20057
20527
  status: Database["public"]["Enums"]["print_job_status"];
20058
20528
  updated_at: string;
20059
20529
  volgende_poging: string | null;
@@ -20145,6 +20615,53 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20145
20615
  isSetofReturn: true;
20146
20616
  };
20147
20617
  };
20618
+ claim_pdf_print_jobs: {
20619
+ Args: {
20620
+ _max?: number;
20621
+ };
20622
+ Returns: {
20623
+ agent_id: string | null;
20624
+ bron_job_id: string | null;
20625
+ created_at: string;
20626
+ documentnaam: string;
20627
+ documenttype: Database["public"]["Enums"]["doc_layout_type"];
20628
+ extern_job_id: string | null;
20629
+ foutmelding: string | null;
20630
+ gebruiker_id: string | null;
20631
+ gebruiker_naam: string;
20632
+ gebruikte_bron: string | null;
20633
+ gebruikte_layout_id: string | null;
20634
+ gestart_op: string | null;
20635
+ herkomst: string | null;
20636
+ id: string;
20637
+ idempotentie_sleutel: string | null;
20638
+ is_herprint: boolean;
20639
+ kopieen: number;
20640
+ layout_id: string | null;
20641
+ lokaal_opgeslagen_op: string | null;
20642
+ lokale_pdf_fout: string | null;
20643
+ lokale_pdf_status: string | null;
20644
+ opgepakt_op: string | null;
20645
+ paginas: number;
20646
+ payload: import("./types.js").Json;
20647
+ pdf_base64: string | null;
20648
+ pdf_url: string | null;
20649
+ pogingen: number;
20650
+ printer_id: string | null;
20651
+ render_html: string | null;
20652
+ resultaat_pdf_base64: string | null;
20653
+ status: Database["public"]["Enums"]["print_job_status"];
20654
+ updated_at: string;
20655
+ volgende_poging: string | null;
20656
+ voltooid_op: string | null;
20657
+ }[];
20658
+ SetofOptions: {
20659
+ from: "*";
20660
+ to: "print_jobs";
20661
+ isOneToOne: false;
20662
+ isSetofReturn: true;
20663
+ };
20664
+ };
20148
20665
  claim_print_jobs: {
20149
20666
  Args: {
20150
20667
  _agent_id: string;
@@ -20160,6 +20677,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20160
20677
  foutmelding: string | null;
20161
20678
  gebruiker_id: string | null;
20162
20679
  gebruiker_naam: string;
20680
+ gebruikte_bron: string | null;
20681
+ gebruikte_layout_id: string | null;
20163
20682
  gestart_op: string | null;
20164
20683
  herkomst: string | null;
20165
20684
  id: string;
@@ -20167,6 +20686,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20167
20686
  is_herprint: boolean;
20168
20687
  kopieen: number;
20169
20688
  layout_id: string | null;
20689
+ lokaal_opgeslagen_op: string | null;
20690
+ lokale_pdf_fout: string | null;
20691
+ lokale_pdf_status: string | null;
20170
20692
  opgepakt_op: string | null;
20171
20693
  paginas: number;
20172
20694
  payload: import("./types.js").Json;
@@ -20175,6 +20697,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20175
20697
  pogingen: number;
20176
20698
  printer_id: string | null;
20177
20699
  render_html: string | null;
20700
+ resultaat_pdf_base64: string | null;
20178
20701
  status: Database["public"]["Enums"]["print_job_status"];
20179
20702
  updated_at: string;
20180
20703
  volgende_poging: string | null;
@@ -20315,6 +20838,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20315
20838
  order_id: string;
20316
20839
  order_source: string;
20317
20840
  pick_date: string;
20841
+ printed_at: string;
20842
+ printed_today: boolean;
20318
20843
  status: string;
20319
20844
  }[];
20320
20845
  };
@@ -21023,6 +21548,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21023
21548
  };
21024
21549
  Returns: number;
21025
21550
  };
21551
+ logistics_cancel_orphan_tasks: {
21552
+ Args: never;
21553
+ Returns: number;
21554
+ };
21026
21555
  logistics_capacity_day_check: {
21027
21556
  Args: {
21028
21557
  p_from?: string;
@@ -21043,6 +21572,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21043
21572
  };
21044
21573
  Returns: number;
21045
21574
  };
21575
+ logistics_cart_index: {
21576
+ Args: {
21577
+ p_from?: string;
21578
+ p_to?: string;
21579
+ };
21580
+ Returns: {
21581
+ cart_id: string;
21582
+ cart_index: number;
21583
+ cart_label: string;
21584
+ is_shared: boolean;
21585
+ order_number: string;
21586
+ order_source: string;
21587
+ order_uuid: string;
21588
+ pick_date: string;
21589
+ printed_at: string;
21590
+ shifted: boolean;
21591
+ task_status: string;
21592
+ }[];
21593
+ };
21046
21594
  logistics_check_order_allowed: {
21047
21595
  Args: {
21048
21596
  p_lines: import("./types.js").Json;
@@ -21191,6 +21739,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21191
21739
  isSetofReturn: false;
21192
21740
  };
21193
21741
  };
21742
+ logistics_consistency_check: {
21743
+ Args: never;
21744
+ Returns: {
21745
+ agenda_carts: number;
21746
+ control_carts: number;
21747
+ ok: boolean;
21748
+ orphan_tasks: number;
21749
+ pick_date: string;
21750
+ raw_carts: number;
21751
+ }[];
21752
+ };
21194
21753
  logistics_delay_customer_email: {
21195
21754
  Args: {
21196
21755
  p_customer: string;
@@ -21216,6 +21775,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21216
21775
  };
21217
21776
  Returns: string;
21218
21777
  };
21778
+ logistics_document_type_map: {
21779
+ Args: {
21780
+ _document_code: string;
21781
+ };
21782
+ Returns: Database["public"]["Enums"]["doc_layout_type"][];
21783
+ };
21219
21784
  logistics_emit_event: {
21220
21785
  Args: {
21221
21786
  p_event_type: string;
@@ -21274,6 +21839,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21274
21839
  isSetofReturn: false;
21275
21840
  };
21276
21841
  };
21842
+ logistics_floriday_cart_plan: {
21843
+ Args: {
21844
+ p_order_id: string;
21845
+ };
21846
+ Returns: {
21847
+ carrier_type: string;
21848
+ idx: number;
21849
+ packages: number;
21850
+ }[];
21851
+ };
21277
21852
  logistics_floriday_claim_pushes: {
21278
21853
  Args: {
21279
21854
  _lease_seconds?: number;
@@ -21378,6 +21953,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21378
21953
  };
21379
21954
  Returns: number;
21380
21955
  };
21956
+ logistics_order_overview: {
21957
+ Args: {
21958
+ p_from?: string;
21959
+ p_to?: string;
21960
+ };
21961
+ Returns: {
21962
+ cart_count: number;
21963
+ customer_name: string;
21964
+ delivery_date: string;
21965
+ order_number: string;
21966
+ order_source: string;
21967
+ order_uuid: string;
21968
+ pick_date: string;
21969
+ plant_count: number;
21970
+ printed_at: string;
21971
+ shifted: boolean;
21972
+ status: string;
21973
+ }[];
21974
+ };
21381
21975
  logistics_order_pick_day: {
21382
21976
  Args: {
21383
21977
  p_order_ref: string;
@@ -21390,6 +21984,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21390
21984
  };
21391
21985
  Returns: string;
21392
21986
  };
21987
+ logistics_pick_agenda: {
21988
+ Args: {
21989
+ p_from?: string;
21990
+ p_to?: string;
21991
+ };
21992
+ Returns: {
21993
+ cart_count: number;
21994
+ in_preparation: number;
21995
+ order_count: number;
21996
+ orders: import("./types.js").Json;
21997
+ pick_date: string;
21998
+ plant_count: number;
21999
+ ready: number;
22000
+ shifted_count: number;
22001
+ }[];
22002
+ };
21393
22003
  logistics_pick_email_purpose: {
21394
22004
  Args: never;
21395
22005
  Returns: string;
@@ -21400,6 +22010,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21400
22010
  };
21401
22011
  Returns: import("./types.js").Json;
21402
22012
  };
22013
+ logistics_plan_block: {
22014
+ Args: {
22015
+ p_details?: import("./types.js").Json;
22016
+ p_order_ids: string[];
22017
+ p_reason: string;
22018
+ };
22019
+ Returns: number;
22020
+ };
21403
22021
  logistics_plan_buffer_sql: {
21404
22022
  Args: {
21405
22023
  p_buffer_id: string;
@@ -21436,6 +22054,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21436
22054
  };
21437
22055
  Returns: undefined;
21438
22056
  };
22057
+ logistics_plan_floriday_order: {
22058
+ Args: {
22059
+ p_buffer_id?: string;
22060
+ p_order_id: string;
22061
+ };
22062
+ Returns: number;
22063
+ };
21439
22064
  logistics_plan_impact_orders: {
21440
22065
  Args: {
21441
22066
  p_order_id: string;
@@ -21541,6 +22166,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21541
22166
  };
21542
22167
  Returns: import("./types.js").Json;
21543
22168
  };
22169
+ logistics_resolve_pick_document: {
22170
+ Args: {
22171
+ _is_herprint: boolean;
22172
+ _queue_item_id: string;
22173
+ _session_id: string;
22174
+ _voorbeeld: boolean;
22175
+ };
22176
+ Returns: import("./types.js").Json;
22177
+ };
21544
22178
  logistics_resolve_settings: {
21545
22179
  Args: {
21546
22180
  p_config_id: string;
@@ -21768,6 +22402,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21768
22402
  verwijderd: number;
21769
22403
  }[];
21770
22404
  };
22405
+ order_departure_proof: {
22406
+ Args: {
22407
+ p_order_id: string;
22408
+ };
22409
+ Returns: import("./types.js").Json;
22410
+ };
21771
22411
  order_number_prefix: {
21772
22412
  Args: {
21773
22413
  p_custom_fields?: import("./types.js").Json;
@@ -21775,6 +22415,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21775
22415
  };
21776
22416
  Returns: string;
21777
22417
  };
22418
+ pakket_suggesties_voor_tekst: {
22419
+ Args: {
22420
+ _tekst: string;
22421
+ };
22422
+ Returns: {
22423
+ hit_type: string;
22424
+ package_id: string;
22425
+ priority: number;
22426
+ }[];
22427
+ };
22428
+ pakket_voor_reistijd: {
22429
+ Args: {
22430
+ _minuten: number;
22431
+ };
22432
+ Returns: {
22433
+ package_id: string;
22434
+ priority: number;
22435
+ }[];
22436
+ };
21778
22437
  pick_active_printers: {
21779
22438
  Args: never;
21780
22439
  Returns: {
@@ -21956,6 +22615,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21956
22615
  };
21957
22616
  pick_enqueue_print_job: {
21958
22617
  Args: {
22618
+ _is_herprint?: boolean;
21959
22619
  _printer_id?: string;
21960
22620
  _queue_item_id: string;
21961
22621
  _session_id?: string;
@@ -21969,6 +22629,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21969
22629
  };
21970
22630
  Returns: import("./types.js").Json;
21971
22631
  };
22632
+ pick_preview_job: {
22633
+ Args: {
22634
+ _queue_item_id: string;
22635
+ _station_slug: string;
22636
+ };
22637
+ Returns: import("./types.js").Json;
22638
+ };
21972
22639
  pick_print_job_status: {
21973
22640
  Args: {
21974
22641
  _job_id: string;
@@ -21983,6 +22650,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21983
22650
  omschrijving: string;
21984
22651
  }[];
21985
22652
  };
22653
+ pick_reference_data_status: {
22654
+ Args: never;
22655
+ Returns: import("./types.js").Json;
22656
+ };
21986
22657
  pick_release_expired_locks: {
21987
22658
  Args: never;
21988
22659
  Returns: number;
@@ -22047,6 +22718,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22047
22718
  isSetofReturn: false;
22048
22719
  };
22049
22720
  };
22721
+ pick_seed_reference_data: {
22722
+ Args: never;
22723
+ Returns: import("./types.js").Json;
22724
+ };
22050
22725
  pick_set_station_print_plek: {
22051
22726
  Args: {
22052
22727
  _print_plek_id: string;
@@ -22138,6 +22813,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22138
22813
  };
22139
22814
  Returns: undefined;
22140
22815
  };
22816
+ print_preview_toestaan: {
22817
+ Args: {
22818
+ _max?: number;
22819
+ _queue_item_id: string;
22820
+ _station_slug: string;
22821
+ _venster_sec?: number;
22822
+ };
22823
+ Returns: import("./types.js").Json;
22824
+ };
22825
+ print_preview_weiger: {
22826
+ Args: {
22827
+ _code: string;
22828
+ _queue_item_id: string;
22829
+ _reden: string;
22830
+ _station_slug: string;
22831
+ };
22832
+ Returns: undefined;
22833
+ };
22141
22834
  process_logistics_event: {
22142
22835
  Args: {
22143
22836
  p_event_id: string;
@@ -22255,6 +22948,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22255
22948
  };
22256
22949
  Returns: undefined;
22257
22950
  };
22951
+ replace_order_carts: {
22952
+ Args: {
22953
+ p_buffer_id: string;
22954
+ p_carts: import("./types.js").Json;
22955
+ p_order_id: string;
22956
+ };
22957
+ Returns: import("./types.js").Json;
22958
+ };
22258
22959
  reset_floriday_sync_cursor: {
22259
22960
  Args: {
22260
22961
  p_connection_id: string;
@@ -22284,6 +22985,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22284
22985
  };
22285
22986
  Returns: string;
22286
22987
  };
22988
+ resolve_print_job_printer_id: {
22989
+ Args: {
22990
+ _job: Database["public"]["Tables"]["print_jobs"]["Row"];
22991
+ };
22992
+ Returns: string;
22993
+ };
22287
22994
  resolve_product_id_for_item: {
22288
22995
  Args: {
22289
22996
  p_product_name: string;
@@ -22825,6 +23532,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22825
23532
  Args: never;
22826
23533
  Returns: string;
22827
23534
  };
23535
+ werkbon_totalen: {
23536
+ Args: {
23537
+ _werkbon_id: string;
23538
+ };
23539
+ Returns: {
23540
+ materials_cents: number;
23541
+ packages_cents: number;
23542
+ packages_minutes: number;
23543
+ total_cents: number;
23544
+ total_minutes: number;
23545
+ }[];
23546
+ };
22828
23547
  wo_create_from_source: {
22829
23548
  Args: {
22830
23549
  _payload?: import("./types.js").Json;