@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
@@ -2863,6 +2863,84 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
2863
2863
  };
2864
2864
  Relationships: [];
2865
2865
  };
2866
+ delivery_notes: {
2867
+ Row: {
2868
+ byte_size: number | null;
2869
+ connection_id: string | null;
2870
+ content_type: string;
2871
+ created_at: string;
2872
+ error_message: string | null;
2873
+ fetched_at: string | null;
2874
+ fulfillment_order_id: string | null;
2875
+ http_status: number | null;
2876
+ id: string;
2877
+ label_code: string | null;
2878
+ letter: string | null;
2879
+ load_carrier_index: number | null;
2880
+ load_carrier_type: string | null;
2881
+ order_id: string | null;
2882
+ order_number: string | null;
2883
+ packages: number | null;
2884
+ source: string;
2885
+ status: string;
2886
+ storage_bucket: string;
2887
+ storage_path: string | null;
2888
+ updated_at: string;
2889
+ };
2890
+ Insert: {
2891
+ byte_size?: number | null;
2892
+ connection_id?: string | null;
2893
+ content_type?: string;
2894
+ created_at?: string;
2895
+ error_message?: string | null;
2896
+ fetched_at?: string | null;
2897
+ fulfillment_order_id?: string | null;
2898
+ http_status?: number | null;
2899
+ id?: string;
2900
+ label_code?: string | null;
2901
+ letter?: string | null;
2902
+ load_carrier_index?: number | null;
2903
+ load_carrier_type?: string | null;
2904
+ order_id?: string | null;
2905
+ order_number?: string | null;
2906
+ packages?: number | null;
2907
+ source?: string;
2908
+ status?: string;
2909
+ storage_bucket?: string;
2910
+ storage_path?: string | null;
2911
+ updated_at?: string;
2912
+ };
2913
+ Update: {
2914
+ byte_size?: number | null;
2915
+ connection_id?: string | null;
2916
+ content_type?: string;
2917
+ created_at?: string;
2918
+ error_message?: string | null;
2919
+ fetched_at?: string | null;
2920
+ fulfillment_order_id?: string | null;
2921
+ http_status?: number | null;
2922
+ id?: string;
2923
+ label_code?: string | null;
2924
+ letter?: string | null;
2925
+ load_carrier_index?: number | null;
2926
+ load_carrier_type?: string | null;
2927
+ order_id?: string | null;
2928
+ order_number?: string | null;
2929
+ packages?: number | null;
2930
+ source?: string;
2931
+ status?: string;
2932
+ storage_bucket?: string;
2933
+ storage_path?: string | null;
2934
+ updated_at?: string;
2935
+ };
2936
+ Relationships: [{
2937
+ foreignKeyName: "delivery_notes_order_id_fkey";
2938
+ columns: ["order_id"];
2939
+ isOneToOne: false;
2940
+ referencedRelation: "orders";
2941
+ referencedColumns: ["id"];
2942
+ }];
2943
+ };
2866
2944
  document_bronregels: {
2867
2945
  Row: {
2868
2946
  bron: string;
@@ -5916,10 +5994,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
5916
5994
  };
5917
5995
  floriday_connections: {
5918
5996
  Row: {
5919
- access_token: string | null;
5920
5997
  api_key: string;
5921
- client_id: string;
5922
- client_secret: string;
5923
5998
  created_at: string;
5924
5999
  customers_endpoint: string | null;
5925
6000
  environment: string;
@@ -5934,10 +6009,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
5934
6009
  updated_at: string;
5935
6010
  };
5936
6011
  Insert: {
5937
- access_token?: string | null;
5938
6012
  api_key: string;
5939
- client_id: string;
5940
- client_secret: string;
5941
6013
  created_at?: string;
5942
6014
  customers_endpoint?: string | null;
5943
6015
  environment: string;
@@ -5952,10 +6024,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
5952
6024
  updated_at?: string;
5953
6025
  };
5954
6026
  Update: {
5955
- access_token?: string | null;
5956
6027
  api_key?: string;
5957
- client_id?: string;
5958
- client_secret?: string;
5959
6028
  created_at?: string;
5960
6029
  customers_endpoint?: string | null;
5961
6030
  environment?: string;
@@ -10702,6 +10771,243 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
10702
10771
  };
10703
10772
  Relationships: [];
10704
10773
  };
10774
+ maps_addresses: {
10775
+ Row: {
10776
+ address_hash: string;
10777
+ created_at: string;
10778
+ error_reason: string | null;
10779
+ formatted_address: string | null;
10780
+ id: string;
10781
+ lat: number | null;
10782
+ lng: number | null;
10783
+ place_id: string | null;
10784
+ raw_address: string;
10785
+ resolved_at: string | null;
10786
+ status: string;
10787
+ updated_at: string;
10788
+ };
10789
+ Insert: {
10790
+ address_hash: string;
10791
+ created_at?: string;
10792
+ error_reason?: string | null;
10793
+ formatted_address?: string | null;
10794
+ id?: string;
10795
+ lat?: number | null;
10796
+ lng?: number | null;
10797
+ place_id?: string | null;
10798
+ raw_address: string;
10799
+ resolved_at?: string | null;
10800
+ status?: string;
10801
+ updated_at?: string;
10802
+ };
10803
+ Update: {
10804
+ address_hash?: string;
10805
+ created_at?: string;
10806
+ error_reason?: string | null;
10807
+ formatted_address?: string | null;
10808
+ id?: string;
10809
+ lat?: number | null;
10810
+ lng?: number | null;
10811
+ place_id?: string | null;
10812
+ raw_address?: string;
10813
+ resolved_at?: string | null;
10814
+ status?: string;
10815
+ updated_at?: string;
10816
+ };
10817
+ Relationships: [];
10818
+ };
10819
+ maps_job_lease: {
10820
+ Row: {
10821
+ job: string;
10822
+ locked_until: string;
10823
+ updated_at: string;
10824
+ };
10825
+ Insert: {
10826
+ job: string;
10827
+ locked_until?: string;
10828
+ updated_at?: string;
10829
+ };
10830
+ Update: {
10831
+ job?: string;
10832
+ locked_until?: string;
10833
+ updated_at?: string;
10834
+ };
10835
+ Relationships: [];
10836
+ };
10837
+ maps_request_queue: {
10838
+ Row: {
10839
+ attempts: number;
10840
+ created_at: string;
10841
+ destination_hash: string | null;
10842
+ id: string;
10843
+ kind: string;
10844
+ last_error: string | null;
10845
+ mode: string;
10846
+ origin_hash: string | null;
10847
+ processed_at: string | null;
10848
+ raw_destination: string | null;
10849
+ raw_origin: string | null;
10850
+ requested_by: string | null;
10851
+ status: string;
10852
+ updated_at: string;
10853
+ };
10854
+ Insert: {
10855
+ attempts?: number;
10856
+ created_at?: string;
10857
+ destination_hash?: string | null;
10858
+ id?: string;
10859
+ kind: string;
10860
+ last_error?: string | null;
10861
+ mode?: string;
10862
+ origin_hash?: string | null;
10863
+ processed_at?: string | null;
10864
+ raw_destination?: string | null;
10865
+ raw_origin?: string | null;
10866
+ requested_by?: string | null;
10867
+ status?: string;
10868
+ updated_at?: string;
10869
+ };
10870
+ Update: {
10871
+ attempts?: number;
10872
+ created_at?: string;
10873
+ destination_hash?: string | null;
10874
+ id?: string;
10875
+ kind?: string;
10876
+ last_error?: string | null;
10877
+ mode?: string;
10878
+ origin_hash?: string | null;
10879
+ processed_at?: string | null;
10880
+ raw_destination?: string | null;
10881
+ raw_origin?: string | null;
10882
+ requested_by?: string | null;
10883
+ status?: string;
10884
+ updated_at?: string;
10885
+ };
10886
+ Relationships: [];
10887
+ };
10888
+ maps_settings: {
10889
+ Row: {
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
+ Insert: {
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
+ Update: {
10914
+ allow_estimate_fallback?: boolean;
10915
+ cache_ttl_days?: number;
10916
+ created_at?: string;
10917
+ daily_call_limit?: number;
10918
+ id?: string;
10919
+ last_error?: string | null;
10920
+ last_error_at?: string | null;
10921
+ last_success_at?: string | null;
10922
+ provider?: string;
10923
+ updated_at?: string;
10924
+ };
10925
+ Relationships: [];
10926
+ };
10927
+ maps_travel_times: {
10928
+ Row: {
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
+ Insert: {
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
+ Update: {
10953
+ created_at?: string;
10954
+ destination_id?: string;
10955
+ distance_m?: number | null;
10956
+ duration_sec?: number;
10957
+ expires_at?: string;
10958
+ id?: string;
10959
+ mode?: string;
10960
+ origin_id?: string;
10961
+ source?: string;
10962
+ updated_at?: string;
10963
+ };
10964
+ Relationships: [{
10965
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10966
+ columns: ["destination_id"];
10967
+ isOneToOne: false;
10968
+ referencedRelation: "maps_addresses";
10969
+ referencedColumns: ["id"];
10970
+ }, {
10971
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10972
+ columns: ["origin_id"];
10973
+ isOneToOne: false;
10974
+ referencedRelation: "maps_addresses";
10975
+ referencedColumns: ["id"];
10976
+ }];
10977
+ };
10978
+ maps_usage_log: {
10979
+ Row: {
10980
+ cache_hits: number;
10981
+ call_type: string;
10982
+ created_at: string;
10983
+ day: string;
10984
+ detail: string | null;
10985
+ elements: number;
10986
+ id: string;
10987
+ outcome: string;
10988
+ };
10989
+ Insert: {
10990
+ cache_hits?: number;
10991
+ call_type: string;
10992
+ created_at?: string;
10993
+ day?: string;
10994
+ detail?: string | null;
10995
+ elements?: number;
10996
+ id?: string;
10997
+ outcome?: string;
10998
+ };
10999
+ Update: {
11000
+ cache_hits?: number;
11001
+ call_type?: string;
11002
+ created_at?: string;
11003
+ day?: string;
11004
+ detail?: string | null;
11005
+ elements?: number;
11006
+ id?: string;
11007
+ outcome?: string;
11008
+ };
11009
+ Relationships: [];
11010
+ };
10705
11011
  material_usage: {
10706
11012
  Row: {
10707
11013
  created_at: string;
@@ -13351,6 +13657,39 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13351
13657
  };
13352
13658
  Relationships: [];
13353
13659
  };
13660
+ print_dedupe_events: {
13661
+ Row: {
13662
+ bestaande_job_id: string | null;
13663
+ created_at: string;
13664
+ detail: string | null;
13665
+ documentnaam: string | null;
13666
+ documenttype: string | null;
13667
+ id: string;
13668
+ idempotentie_sleutel: string;
13669
+ reden: string;
13670
+ };
13671
+ Insert: {
13672
+ bestaande_job_id?: string | null;
13673
+ created_at?: string;
13674
+ detail?: string | null;
13675
+ documentnaam?: string | null;
13676
+ documenttype?: string | null;
13677
+ id?: string;
13678
+ idempotentie_sleutel: string;
13679
+ reden: string;
13680
+ };
13681
+ Update: {
13682
+ bestaande_job_id?: string | null;
13683
+ created_at?: string;
13684
+ detail?: string | null;
13685
+ documentnaam?: string | null;
13686
+ documenttype?: string | null;
13687
+ id?: string;
13688
+ idempotentie_sleutel?: string;
13689
+ reden?: string;
13690
+ };
13691
+ Relationships: [];
13692
+ };
13354
13693
  print_job_logs: {
13355
13694
  Row: {
13356
13695
  created_at: string;
@@ -13392,6 +13731,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13392
13731
  foutmelding: string | null;
13393
13732
  gebruiker_id: string | null;
13394
13733
  gebruiker_naam: string;
13734
+ gebruikte_bron: string | null;
13735
+ gebruikte_layout_id: string | null;
13395
13736
  gestart_op: string | null;
13396
13737
  herkomst: string | null;
13397
13738
  id: string;
@@ -13399,6 +13740,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13399
13740
  is_herprint: boolean;
13400
13741
  kopieen: number;
13401
13742
  layout_id: string | null;
13743
+ lokaal_opgeslagen_op: string | null;
13744
+ lokale_pdf_fout: string | null;
13745
+ lokale_pdf_status: string | null;
13402
13746
  opgepakt_op: string | null;
13403
13747
  paginas: number;
13404
13748
  payload: import("../integrations/supabase/types.js").Json;
@@ -13407,6 +13751,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13407
13751
  pogingen: number;
13408
13752
  printer_id: string | null;
13409
13753
  render_html: string | null;
13754
+ resultaat_pdf_base64: string | null;
13410
13755
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13411
13756
  updated_at: string;
13412
13757
  volgende_poging: string | null;
@@ -13422,6 +13767,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13422
13767
  foutmelding?: string | null;
13423
13768
  gebruiker_id?: string | null;
13424
13769
  gebruiker_naam?: string;
13770
+ gebruikte_bron?: string | null;
13771
+ gebruikte_layout_id?: string | null;
13425
13772
  gestart_op?: string | null;
13426
13773
  herkomst?: string | null;
13427
13774
  id?: string;
@@ -13429,6 +13776,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13429
13776
  is_herprint?: boolean;
13430
13777
  kopieen?: number;
13431
13778
  layout_id?: string | null;
13779
+ lokaal_opgeslagen_op?: string | null;
13780
+ lokale_pdf_fout?: string | null;
13781
+ lokale_pdf_status?: string | null;
13432
13782
  opgepakt_op?: string | null;
13433
13783
  paginas?: number;
13434
13784
  payload?: import("../integrations/supabase/types.js").Json;
@@ -13437,6 +13787,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13437
13787
  pogingen?: number;
13438
13788
  printer_id?: string | null;
13439
13789
  render_html?: string | null;
13790
+ resultaat_pdf_base64?: string | null;
13440
13791
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13441
13792
  updated_at?: string;
13442
13793
  volgende_poging?: string | null;
@@ -13452,6 +13803,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13452
13803
  foutmelding?: string | null;
13453
13804
  gebruiker_id?: string | null;
13454
13805
  gebruiker_naam?: string;
13806
+ gebruikte_bron?: string | null;
13807
+ gebruikte_layout_id?: string | null;
13455
13808
  gestart_op?: string | null;
13456
13809
  herkomst?: string | null;
13457
13810
  id?: string;
@@ -13459,6 +13812,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13459
13812
  is_herprint?: boolean;
13460
13813
  kopieen?: number;
13461
13814
  layout_id?: string | null;
13815
+ lokaal_opgeslagen_op?: string | null;
13816
+ lokale_pdf_fout?: string | null;
13817
+ lokale_pdf_status?: string | null;
13462
13818
  opgepakt_op?: string | null;
13463
13819
  paginas?: number;
13464
13820
  payload?: import("../integrations/supabase/types.js").Json;
@@ -13467,6 +13823,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13467
13823
  pogingen?: number;
13468
13824
  printer_id?: string | null;
13469
13825
  render_html?: string | null;
13826
+ resultaat_pdf_base64?: string | null;
13470
13827
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
13471
13828
  updated_at?: string;
13472
13829
  volgende_poging?: string | null;
@@ -13585,6 +13942,39 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13585
13942
  };
13586
13943
  Relationships: [];
13587
13944
  };
13945
+ print_preview_events: {
13946
+ Row: {
13947
+ code: string | null;
13948
+ created_at: string;
13949
+ detail: import("../integrations/supabase/types.js").Json;
13950
+ id: string;
13951
+ queue_item_id: string | null;
13952
+ reden: string | null;
13953
+ station_slug: string | null;
13954
+ uitkomst: string;
13955
+ };
13956
+ Insert: {
13957
+ code?: string | null;
13958
+ created_at?: string;
13959
+ detail?: import("../integrations/supabase/types.js").Json;
13960
+ id?: string;
13961
+ queue_item_id?: string | null;
13962
+ reden?: string | null;
13963
+ station_slug?: string | null;
13964
+ uitkomst?: string;
13965
+ };
13966
+ Update: {
13967
+ code?: string | null;
13968
+ created_at?: string;
13969
+ detail?: import("../integrations/supabase/types.js").Json;
13970
+ id?: string;
13971
+ queue_item_id?: string | null;
13972
+ reden?: string | null;
13973
+ station_slug?: string | null;
13974
+ uitkomst?: string;
13975
+ };
13976
+ Relationships: [];
13977
+ };
13588
13978
  print_queue_runners: {
13589
13979
  Row: {
13590
13980
  actief: boolean;
@@ -13812,6 +14202,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13812
14202
  created_at: string;
13813
14203
  driver: string;
13814
14204
  extern_printer_id: string | null;
14205
+ formaten_bijgewerkt_op: string | null;
13815
14206
  id: string;
13816
14207
  ip_adres: string | null;
13817
14208
  laatst_gezien: string | null;
@@ -13819,8 +14210,11 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13819
14210
  merk: string;
13820
14211
  naam: string;
13821
14212
  omschrijving: string;
14213
+ ondersteunde_formaten: import("../integrations/supabase/types.js").Json | null;
14214
+ ondersteunde_laden: import("../integrations/supabase/types.js").Json | null;
13822
14215
  online: boolean;
13823
14216
  papierformaat: string;
14217
+ pdf_map: string | null;
13824
14218
  poort: number | null;
13825
14219
  soort: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
13826
14220
  systeemnaam: string;
@@ -13834,6 +14228,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13834
14228
  created_at?: string;
13835
14229
  driver?: string;
13836
14230
  extern_printer_id?: string | null;
14231
+ formaten_bijgewerkt_op?: string | null;
13837
14232
  id?: string;
13838
14233
  ip_adres?: string | null;
13839
14234
  laatst_gezien?: string | null;
@@ -13841,8 +14236,11 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13841
14236
  merk?: string;
13842
14237
  naam: string;
13843
14238
  omschrijving?: string;
14239
+ ondersteunde_formaten?: import("../integrations/supabase/types.js").Json | null;
14240
+ ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
13844
14241
  online?: boolean;
13845
14242
  papierformaat?: string;
14243
+ pdf_map?: string | null;
13846
14244
  poort?: number | null;
13847
14245
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
13848
14246
  systeemnaam?: string;
@@ -13856,6 +14254,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13856
14254
  created_at?: string;
13857
14255
  driver?: string;
13858
14256
  extern_printer_id?: string | null;
14257
+ formaten_bijgewerkt_op?: string | null;
13859
14258
  id?: string;
13860
14259
  ip_adres?: string | null;
13861
14260
  laatst_gezien?: string | null;
@@ -13863,8 +14262,11 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
13863
14262
  merk?: string;
13864
14263
  naam?: string;
13865
14264
  omschrijving?: string;
14265
+ ondersteunde_formaten?: import("../integrations/supabase/types.js").Json | null;
14266
+ ondersteunde_laden?: import("../integrations/supabase/types.js").Json | null;
13866
14267
  online?: boolean;
13867
14268
  papierformaat?: string;
14269
+ pdf_map?: string | null;
13868
14270
  poort?: number | null;
13869
14271
  soort?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["printer_kind"];
13870
14272
  systeemnaam?: string;
@@ -15739,6 +16141,45 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
15739
16141
  };
15740
16142
  Relationships: [];
15741
16143
  };
16144
+ stock_consumption_alerts: {
16145
+ Row: {
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
+ Insert: {
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
+ Update: {
16170
+ alert_type?: string;
16171
+ created_at?: string;
16172
+ id?: string;
16173
+ mutation_log_id?: string | null;
16174
+ order_id?: string | null;
16175
+ order_item_id?: string | null;
16176
+ qty?: number;
16177
+ reason?: string | null;
16178
+ resolved_at?: string | null;
16179
+ updated_at?: string;
16180
+ };
16181
+ Relationships: [];
16182
+ };
15742
16183
  stock_import_runs: {
15743
16184
  Row: {
15744
16185
  connection_id: string | null;
@@ -18592,6 +19033,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18592
19033
  werkbon_package_items: {
18593
19034
  Row: {
18594
19035
  article_number: string | null;
19036
+ artikel_id: string | null;
18595
19037
  created_at: string;
18596
19038
  gtin: string | null;
18597
19039
  id: string;
@@ -18609,6 +19051,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18609
19051
  };
18610
19052
  Insert: {
18611
19053
  article_number?: string | null;
19054
+ artikel_id?: string | null;
18612
19055
  created_at?: string;
18613
19056
  gtin?: string | null;
18614
19057
  id?: string;
@@ -18626,6 +19069,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18626
19069
  };
18627
19070
  Update: {
18628
19071
  article_number?: string | null;
19072
+ artikel_id?: string | null;
18629
19073
  created_at?: string;
18630
19074
  gtin?: string | null;
18631
19075
  id?: string;
@@ -18642,6 +19086,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
18642
19086
  updated_at?: string;
18643
19087
  };
18644
19088
  Relationships: [{
19089
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
19090
+ columns: ["artikel_id"];
19091
+ isOneToOne: false;
19092
+ referencedRelation: "artikelen_cache";
19093
+ referencedColumns: ["id"];
19094
+ }, {
18645
19095
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18646
19096
  columns: ["package_id"];
18647
19097
  isOneToOne: false;
@@ -19864,6 +20314,20 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
19864
20314
  referencedColumns: ["id"];
19865
20315
  }];
19866
20316
  };
20317
+ v_werkbon_totalen: {
20318
+ Row: {
20319
+ packages_cents: number | null;
20320
+ packages_minutes: number | null;
20321
+ werkbon_id: string | null;
20322
+ };
20323
+ Relationships: [{
20324
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20325
+ columns: ["werkbon_id"];
20326
+ isOneToOne: false;
20327
+ referencedRelation: "werkbonnen";
20328
+ referencedColumns: ["id"];
20329
+ }];
20330
+ };
19867
20331
  };
19868
20332
  Functions: {
19869
20333
  _floriday_schedule_job: {
@@ -20050,6 +20514,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20050
20514
  foutmelding: string | null;
20051
20515
  gebruiker_id: string | null;
20052
20516
  gebruiker_naam: string;
20517
+ gebruikte_bron: string | null;
20518
+ gebruikte_layout_id: string | null;
20053
20519
  gestart_op: string | null;
20054
20520
  herkomst: string | null;
20055
20521
  id: string;
@@ -20057,6 +20523,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20057
20523
  is_herprint: boolean;
20058
20524
  kopieen: number;
20059
20525
  layout_id: string | null;
20526
+ lokaal_opgeslagen_op: string | null;
20527
+ lokale_pdf_fout: string | null;
20528
+ lokale_pdf_status: string | null;
20060
20529
  opgepakt_op: string | null;
20061
20530
  paginas: number;
20062
20531
  payload: import("../integrations/supabase/types.js").Json;
@@ -20065,6 +20534,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20065
20534
  pogingen: number;
20066
20535
  printer_id: string | null;
20067
20536
  render_html: string | null;
20537
+ resultaat_pdf_base64: string | null;
20068
20538
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20069
20539
  updated_at: string;
20070
20540
  volgende_poging: string | null;
@@ -20156,6 +20626,53 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20156
20626
  isSetofReturn: true;
20157
20627
  };
20158
20628
  };
20629
+ claim_pdf_print_jobs: {
20630
+ Args: {
20631
+ _max?: number;
20632
+ };
20633
+ Returns: {
20634
+ agent_id: string | null;
20635
+ bron_job_id: string | null;
20636
+ created_at: string;
20637
+ documentnaam: string;
20638
+ documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
20639
+ extern_job_id: string | null;
20640
+ foutmelding: string | null;
20641
+ gebruiker_id: string | null;
20642
+ gebruiker_naam: string;
20643
+ gebruikte_bron: string | null;
20644
+ gebruikte_layout_id: string | null;
20645
+ gestart_op: string | null;
20646
+ herkomst: string | null;
20647
+ id: string;
20648
+ idempotentie_sleutel: string | null;
20649
+ is_herprint: boolean;
20650
+ kopieen: number;
20651
+ layout_id: string | null;
20652
+ lokaal_opgeslagen_op: string | null;
20653
+ lokale_pdf_fout: string | null;
20654
+ lokale_pdf_status: string | null;
20655
+ opgepakt_op: string | null;
20656
+ paginas: number;
20657
+ payload: import("../integrations/supabase/types.js").Json;
20658
+ pdf_base64: string | null;
20659
+ pdf_url: string | null;
20660
+ pogingen: number;
20661
+ printer_id: string | null;
20662
+ render_html: string | null;
20663
+ resultaat_pdf_base64: string | null;
20664
+ status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20665
+ updated_at: string;
20666
+ volgende_poging: string | null;
20667
+ voltooid_op: string | null;
20668
+ }[];
20669
+ SetofOptions: {
20670
+ from: "*";
20671
+ to: "print_jobs";
20672
+ isOneToOne: false;
20673
+ isSetofReturn: true;
20674
+ };
20675
+ };
20159
20676
  claim_print_jobs: {
20160
20677
  Args: {
20161
20678
  _agent_id: string;
@@ -20171,6 +20688,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20171
20688
  foutmelding: string | null;
20172
20689
  gebruiker_id: string | null;
20173
20690
  gebruiker_naam: string;
20691
+ gebruikte_bron: string | null;
20692
+ gebruikte_layout_id: string | null;
20174
20693
  gestart_op: string | null;
20175
20694
  herkomst: string | null;
20176
20695
  id: string;
@@ -20178,6 +20697,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20178
20697
  is_herprint: boolean;
20179
20698
  kopieen: number;
20180
20699
  layout_id: string | null;
20700
+ lokaal_opgeslagen_op: string | null;
20701
+ lokale_pdf_fout: string | null;
20702
+ lokale_pdf_status: string | null;
20181
20703
  opgepakt_op: string | null;
20182
20704
  paginas: number;
20183
20705
  payload: import("../integrations/supabase/types.js").Json;
@@ -20186,6 +20708,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20186
20708
  pogingen: number;
20187
20709
  printer_id: string | null;
20188
20710
  render_html: string | null;
20711
+ resultaat_pdf_base64: string | null;
20189
20712
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20190
20713
  updated_at: string;
20191
20714
  volgende_poging: string | null;
@@ -20326,6 +20849,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
20326
20849
  order_id: string;
20327
20850
  order_source: string;
20328
20851
  pick_date: string;
20852
+ printed_at: string;
20853
+ printed_today: boolean;
20329
20854
  status: string;
20330
20855
  }[];
20331
20856
  };
@@ -21034,6 +21559,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21034
21559
  };
21035
21560
  Returns: number;
21036
21561
  };
21562
+ logistics_cancel_orphan_tasks: {
21563
+ Args: never;
21564
+ Returns: number;
21565
+ };
21037
21566
  logistics_capacity_day_check: {
21038
21567
  Args: {
21039
21568
  p_from?: string;
@@ -21054,6 +21583,25 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21054
21583
  };
21055
21584
  Returns: number;
21056
21585
  };
21586
+ logistics_cart_index: {
21587
+ Args: {
21588
+ p_from?: string;
21589
+ p_to?: string;
21590
+ };
21591
+ Returns: {
21592
+ cart_id: string;
21593
+ cart_index: number;
21594
+ cart_label: string;
21595
+ is_shared: boolean;
21596
+ order_number: string;
21597
+ order_source: string;
21598
+ order_uuid: string;
21599
+ pick_date: string;
21600
+ printed_at: string;
21601
+ shifted: boolean;
21602
+ task_status: string;
21603
+ }[];
21604
+ };
21057
21605
  logistics_check_order_allowed: {
21058
21606
  Args: {
21059
21607
  p_lines: import("../integrations/supabase/types.js").Json;
@@ -21202,6 +21750,17 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21202
21750
  isSetofReturn: false;
21203
21751
  };
21204
21752
  };
21753
+ logistics_consistency_check: {
21754
+ Args: never;
21755
+ Returns: {
21756
+ agenda_carts: number;
21757
+ control_carts: number;
21758
+ ok: boolean;
21759
+ orphan_tasks: number;
21760
+ pick_date: string;
21761
+ raw_carts: number;
21762
+ }[];
21763
+ };
21205
21764
  logistics_delay_customer_email: {
21206
21765
  Args: {
21207
21766
  p_customer: string;
@@ -21227,6 +21786,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21227
21786
  };
21228
21787
  Returns: string;
21229
21788
  };
21789
+ logistics_document_type_map: {
21790
+ Args: {
21791
+ _document_code: string;
21792
+ };
21793
+ Returns: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"][];
21794
+ };
21230
21795
  logistics_emit_event: {
21231
21796
  Args: {
21232
21797
  p_event_type: string;
@@ -21285,6 +21850,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21285
21850
  isSetofReturn: false;
21286
21851
  };
21287
21852
  };
21853
+ logistics_floriday_cart_plan: {
21854
+ Args: {
21855
+ p_order_id: string;
21856
+ };
21857
+ Returns: {
21858
+ carrier_type: string;
21859
+ idx: number;
21860
+ packages: number;
21861
+ }[];
21862
+ };
21288
21863
  logistics_floriday_claim_pushes: {
21289
21864
  Args: {
21290
21865
  _lease_seconds?: number;
@@ -21389,6 +21964,25 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21389
21964
  };
21390
21965
  Returns: number;
21391
21966
  };
21967
+ logistics_order_overview: {
21968
+ Args: {
21969
+ p_from?: string;
21970
+ p_to?: string;
21971
+ };
21972
+ Returns: {
21973
+ cart_count: number;
21974
+ customer_name: string;
21975
+ delivery_date: string;
21976
+ order_number: string;
21977
+ order_source: string;
21978
+ order_uuid: string;
21979
+ pick_date: string;
21980
+ plant_count: number;
21981
+ printed_at: string;
21982
+ shifted: boolean;
21983
+ status: string;
21984
+ }[];
21985
+ };
21392
21986
  logistics_order_pick_day: {
21393
21987
  Args: {
21394
21988
  p_order_ref: string;
@@ -21401,6 +21995,22 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21401
21995
  };
21402
21996
  Returns: string;
21403
21997
  };
21998
+ logistics_pick_agenda: {
21999
+ Args: {
22000
+ p_from?: string;
22001
+ p_to?: string;
22002
+ };
22003
+ Returns: {
22004
+ cart_count: number;
22005
+ in_preparation: number;
22006
+ order_count: number;
22007
+ orders: import("../integrations/supabase/types.js").Json;
22008
+ pick_date: string;
22009
+ plant_count: number;
22010
+ ready: number;
22011
+ shifted_count: number;
22012
+ }[];
22013
+ };
21404
22014
  logistics_pick_email_purpose: {
21405
22015
  Args: never;
21406
22016
  Returns: string;
@@ -21411,6 +22021,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21411
22021
  };
21412
22022
  Returns: import("../integrations/supabase/types.js").Json;
21413
22023
  };
22024
+ logistics_plan_block: {
22025
+ Args: {
22026
+ p_details?: import("../integrations/supabase/types.js").Json;
22027
+ p_order_ids: string[];
22028
+ p_reason: string;
22029
+ };
22030
+ Returns: number;
22031
+ };
21414
22032
  logistics_plan_buffer_sql: {
21415
22033
  Args: {
21416
22034
  p_buffer_id: string;
@@ -21447,6 +22065,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21447
22065
  };
21448
22066
  Returns: undefined;
21449
22067
  };
22068
+ logistics_plan_floriday_order: {
22069
+ Args: {
22070
+ p_buffer_id?: string;
22071
+ p_order_id: string;
22072
+ };
22073
+ Returns: number;
22074
+ };
21450
22075
  logistics_plan_impact_orders: {
21451
22076
  Args: {
21452
22077
  p_order_id: string;
@@ -21552,6 +22177,15 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21552
22177
  };
21553
22178
  Returns: import("../integrations/supabase/types.js").Json;
21554
22179
  };
22180
+ logistics_resolve_pick_document: {
22181
+ Args: {
22182
+ _is_herprint: boolean;
22183
+ _queue_item_id: string;
22184
+ _session_id: string;
22185
+ _voorbeeld: boolean;
22186
+ };
22187
+ Returns: import("../integrations/supabase/types.js").Json;
22188
+ };
21555
22189
  logistics_resolve_settings: {
21556
22190
  Args: {
21557
22191
  p_config_id: string;
@@ -21779,6 +22413,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21779
22413
  verwijderd: number;
21780
22414
  }[];
21781
22415
  };
22416
+ order_departure_proof: {
22417
+ Args: {
22418
+ p_order_id: string;
22419
+ };
22420
+ Returns: import("../integrations/supabase/types.js").Json;
22421
+ };
21782
22422
  order_number_prefix: {
21783
22423
  Args: {
21784
22424
  p_custom_fields?: import("../integrations/supabase/types.js").Json;
@@ -21786,6 +22426,25 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21786
22426
  };
21787
22427
  Returns: string;
21788
22428
  };
22429
+ pakket_suggesties_voor_tekst: {
22430
+ Args: {
22431
+ _tekst: string;
22432
+ };
22433
+ Returns: {
22434
+ hit_type: string;
22435
+ package_id: string;
22436
+ priority: number;
22437
+ }[];
22438
+ };
22439
+ pakket_voor_reistijd: {
22440
+ Args: {
22441
+ _minuten: number;
22442
+ };
22443
+ Returns: {
22444
+ package_id: string;
22445
+ priority: number;
22446
+ }[];
22447
+ };
21789
22448
  pick_active_printers: {
21790
22449
  Args: never;
21791
22450
  Returns: {
@@ -21967,6 +22626,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21967
22626
  };
21968
22627
  pick_enqueue_print_job: {
21969
22628
  Args: {
22629
+ _is_herprint?: boolean;
21970
22630
  _printer_id?: string;
21971
22631
  _queue_item_id: string;
21972
22632
  _session_id?: string;
@@ -21980,6 +22640,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21980
22640
  };
21981
22641
  Returns: import("../integrations/supabase/types.js").Json;
21982
22642
  };
22643
+ pick_preview_job: {
22644
+ Args: {
22645
+ _queue_item_id: string;
22646
+ _station_slug: string;
22647
+ };
22648
+ Returns: import("../integrations/supabase/types.js").Json;
22649
+ };
21983
22650
  pick_print_job_status: {
21984
22651
  Args: {
21985
22652
  _job_id: string;
@@ -21994,6 +22661,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
21994
22661
  omschrijving: string;
21995
22662
  }[];
21996
22663
  };
22664
+ pick_reference_data_status: {
22665
+ Args: never;
22666
+ Returns: import("../integrations/supabase/types.js").Json;
22667
+ };
21997
22668
  pick_release_expired_locks: {
21998
22669
  Args: never;
21999
22670
  Returns: number;
@@ -22058,6 +22729,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
22058
22729
  isSetofReturn: false;
22059
22730
  };
22060
22731
  };
22732
+ pick_seed_reference_data: {
22733
+ Args: never;
22734
+ Returns: import("../integrations/supabase/types.js").Json;
22735
+ };
22061
22736
  pick_set_station_print_plek: {
22062
22737
  Args: {
22063
22738
  _print_plek_id: string;
@@ -22149,6 +22824,24 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
22149
22824
  };
22150
22825
  Returns: undefined;
22151
22826
  };
22827
+ print_preview_toestaan: {
22828
+ Args: {
22829
+ _max?: number;
22830
+ _queue_item_id: string;
22831
+ _station_slug: string;
22832
+ _venster_sec?: number;
22833
+ };
22834
+ Returns: import("../integrations/supabase/types.js").Json;
22835
+ };
22836
+ print_preview_weiger: {
22837
+ Args: {
22838
+ _code: string;
22839
+ _queue_item_id: string;
22840
+ _reden: string;
22841
+ _station_slug: string;
22842
+ };
22843
+ Returns: undefined;
22844
+ };
22152
22845
  process_logistics_event: {
22153
22846
  Args: {
22154
22847
  p_event_id: string;
@@ -22266,6 +22959,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
22266
22959
  };
22267
22960
  Returns: undefined;
22268
22961
  };
22962
+ replace_order_carts: {
22963
+ Args: {
22964
+ p_buffer_id: string;
22965
+ p_carts: import("../integrations/supabase/types.js").Json;
22966
+ p_order_id: string;
22967
+ };
22968
+ Returns: import("../integrations/supabase/types.js").Json;
22969
+ };
22269
22970
  reset_floriday_sync_cursor: {
22270
22971
  Args: {
22271
22972
  p_connection_id: string;
@@ -22295,6 +22996,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
22295
22996
  };
22296
22997
  Returns: string;
22297
22998
  };
22999
+ resolve_print_job_printer_id: {
23000
+ Args: {
23001
+ _job: import("../integrations/supabase/types.js").Database["public"]["Tables"]["print_jobs"]["Row"];
23002
+ };
23003
+ Returns: string;
23004
+ };
22298
23005
  resolve_product_id_for_item: {
22299
23006
  Args: {
22300
23007
  p_product_name: string;
@@ -22836,6 +23543,18 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
22836
23543
  Args: never;
22837
23544
  Returns: string;
22838
23545
  };
23546
+ werkbon_totalen: {
23547
+ Args: {
23548
+ _werkbon_id: string;
23549
+ };
23550
+ Returns: {
23551
+ materials_cents: number;
23552
+ packages_cents: number;
23553
+ packages_minutes: number;
23554
+ total_cents: number;
23555
+ total_minutes: number;
23556
+ }[];
23557
+ };
22839
23558
  wo_create_from_source: {
22840
23559
  Args: {
22841
23560
  _payload?: import("../integrations/supabase/types.js").Json;