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