@flowselections/floriday-verkoop-module 1.0.49 → 1.0.51

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 (61) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +288 -1
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +288 -1
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +288 -1
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/types.d.ts +294 -1
  8. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  9. package/dist-lib/lib/cart-lock.functions.d.ts +288 -1
  10. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  11. package/dist-lib/lib/cart-planner.d.ts +15 -4
  12. package/dist-lib/lib/cart-planner.d.ts.map +1 -1
  13. package/dist-lib/lib/cart-planner.js +44 -12
  14. package/dist-lib/lib/cart-planning-settings.functions.d.ts +3600 -443
  15. package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/cart-replan.functions.d.ts +876 -3
  17. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/cart-replan.functions.js +49 -3
  19. package/dist-lib/lib/create-order.functions.d.ts +5657 -773
  20. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  21. package/dist-lib/lib/create-order.functions.js +48 -4
  22. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +864 -3
  23. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +288 -1
  25. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/floriday-mirror.functions.d.ts +288 -1
  27. package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
  28. package/dist-lib/lib/floriday-mirror.functions.js +28 -1
  29. package/dist-lib/lib/floriday-public.functions.d.ts +2232 -223
  30. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  31. package/dist-lib/lib/floriday-writes.functions.d.ts +1548 -113
  32. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  33. package/dist-lib/lib/invoice-timing.functions.d.ts +1260 -112
  34. package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
  35. package/dist-lib/lib/load-carriers.functions.d.ts +288 -1
  36. package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/logistics-engine.functions.d.ts +1548 -113
  38. package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/logistics-stock.functions.d.ts +576 -2
  40. package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/order-addresses.functions.d.ts +288 -1
  42. package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/order-buffers.functions.d.ts +864 -3
  44. package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
  45. package/dist-lib/lib/order-carrier.functions.d.ts +576 -2
  46. package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
  47. package/dist-lib/lib/order-pickup.functions.d.ts +576 -2
  48. package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
  49. package/dist-lib/lib/order-shipments.functions.d.ts +1260 -112
  50. package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/salesorders-list.functions.d.ts +288 -1
  52. package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/salesorders-list.server.d.ts.map +1 -1
  54. package/dist-lib/lib/salesorders-list.server.js +61 -3
  55. package/dist-lib/lib/salesorders.functions.d.ts +1548 -113
  56. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +576 -2
  58. package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
  59. package/dist-lib/lib/tradeitems.functions.d.ts +288 -1
  60. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  61. package/package.json +1 -1
@@ -10690,6 +10690,222 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
10690
10690
  };
10691
10691
  Relationships: [];
10692
10692
  };
10693
+ maps_addresses: {
10694
+ Row: {
10695
+ address_hash: string;
10696
+ created_at: string;
10697
+ error_reason: string | null;
10698
+ formatted_address: string | null;
10699
+ id: string;
10700
+ lat: number | null;
10701
+ lng: number | null;
10702
+ place_id: string | null;
10703
+ raw_address: string;
10704
+ resolved_at: string | null;
10705
+ status: string;
10706
+ updated_at: string;
10707
+ };
10708
+ Insert: {
10709
+ address_hash: string;
10710
+ created_at?: string;
10711
+ error_reason?: string | null;
10712
+ formatted_address?: string | null;
10713
+ id?: string;
10714
+ lat?: number | null;
10715
+ lng?: number | null;
10716
+ place_id?: string | null;
10717
+ raw_address: string;
10718
+ resolved_at?: string | null;
10719
+ status?: string;
10720
+ updated_at?: string;
10721
+ };
10722
+ Update: {
10723
+ address_hash?: string;
10724
+ created_at?: string;
10725
+ error_reason?: string | null;
10726
+ formatted_address?: string | null;
10727
+ id?: string;
10728
+ lat?: number | null;
10729
+ lng?: number | null;
10730
+ place_id?: string | null;
10731
+ raw_address?: string;
10732
+ resolved_at?: string | null;
10733
+ status?: string;
10734
+ updated_at?: string;
10735
+ };
10736
+ Relationships: [];
10737
+ };
10738
+ maps_request_queue: {
10739
+ Row: {
10740
+ attempts: number;
10741
+ created_at: string;
10742
+ destination_hash: string | null;
10743
+ id: string;
10744
+ kind: string;
10745
+ last_error: string | null;
10746
+ mode: string;
10747
+ origin_hash: string | null;
10748
+ processed_at: string | null;
10749
+ raw_destination: string | null;
10750
+ raw_origin: string | null;
10751
+ requested_by: string | null;
10752
+ status: string;
10753
+ updated_at: string;
10754
+ };
10755
+ Insert: {
10756
+ attempts?: number;
10757
+ created_at?: string;
10758
+ destination_hash?: string | null;
10759
+ id?: string;
10760
+ kind: string;
10761
+ last_error?: string | null;
10762
+ mode?: string;
10763
+ origin_hash?: string | null;
10764
+ processed_at?: string | null;
10765
+ raw_destination?: string | null;
10766
+ raw_origin?: string | null;
10767
+ requested_by?: string | null;
10768
+ status?: string;
10769
+ updated_at?: string;
10770
+ };
10771
+ Update: {
10772
+ attempts?: number;
10773
+ created_at?: string;
10774
+ destination_hash?: string | null;
10775
+ id?: string;
10776
+ kind?: string;
10777
+ last_error?: string | null;
10778
+ mode?: string;
10779
+ origin_hash?: string | null;
10780
+ processed_at?: string | null;
10781
+ raw_destination?: string | null;
10782
+ raw_origin?: string | null;
10783
+ requested_by?: string | null;
10784
+ status?: string;
10785
+ updated_at?: string;
10786
+ };
10787
+ Relationships: [];
10788
+ };
10789
+ maps_settings: {
10790
+ Row: {
10791
+ allow_estimate_fallback: boolean;
10792
+ cache_ttl_days: number;
10793
+ created_at: string;
10794
+ daily_call_limit: number;
10795
+ id: string;
10796
+ last_error: string | null;
10797
+ last_error_at: string | null;
10798
+ last_success_at: string | null;
10799
+ updated_at: string;
10800
+ };
10801
+ Insert: {
10802
+ allow_estimate_fallback?: boolean;
10803
+ cache_ttl_days?: number;
10804
+ created_at?: string;
10805
+ daily_call_limit?: number;
10806
+ id?: string;
10807
+ last_error?: string | null;
10808
+ last_error_at?: string | null;
10809
+ last_success_at?: string | null;
10810
+ updated_at?: string;
10811
+ };
10812
+ Update: {
10813
+ allow_estimate_fallback?: boolean;
10814
+ cache_ttl_days?: number;
10815
+ created_at?: string;
10816
+ daily_call_limit?: number;
10817
+ id?: string;
10818
+ last_error?: string | null;
10819
+ last_error_at?: string | null;
10820
+ last_success_at?: string | null;
10821
+ updated_at?: string;
10822
+ };
10823
+ Relationships: [];
10824
+ };
10825
+ maps_travel_times: {
10826
+ Row: {
10827
+ created_at: string;
10828
+ destination_id: string;
10829
+ distance_m: number | null;
10830
+ duration_sec: number;
10831
+ expires_at: string;
10832
+ id: string;
10833
+ mode: string;
10834
+ origin_id: string;
10835
+ source: string;
10836
+ updated_at: string;
10837
+ };
10838
+ Insert: {
10839
+ created_at?: string;
10840
+ destination_id: string;
10841
+ distance_m?: number | null;
10842
+ duration_sec: number;
10843
+ expires_at?: string;
10844
+ id?: string;
10845
+ mode?: string;
10846
+ origin_id: string;
10847
+ source?: string;
10848
+ updated_at?: string;
10849
+ };
10850
+ Update: {
10851
+ created_at?: string;
10852
+ destination_id?: string;
10853
+ distance_m?: number | null;
10854
+ duration_sec?: number;
10855
+ expires_at?: string;
10856
+ id?: string;
10857
+ mode?: string;
10858
+ origin_id?: string;
10859
+ source?: string;
10860
+ updated_at?: string;
10861
+ };
10862
+ Relationships: [{
10863
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10864
+ columns: ["destination_id"];
10865
+ isOneToOne: false;
10866
+ referencedRelation: "maps_addresses";
10867
+ referencedColumns: ["id"];
10868
+ }, {
10869
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10870
+ columns: ["origin_id"];
10871
+ isOneToOne: false;
10872
+ referencedRelation: "maps_addresses";
10873
+ referencedColumns: ["id"];
10874
+ }];
10875
+ };
10876
+ maps_usage_log: {
10877
+ Row: {
10878
+ cache_hits: number;
10879
+ call_type: string;
10880
+ created_at: string;
10881
+ day: string;
10882
+ detail: string | null;
10883
+ elements: number;
10884
+ id: string;
10885
+ outcome: string;
10886
+ };
10887
+ Insert: {
10888
+ cache_hits?: number;
10889
+ call_type: string;
10890
+ created_at?: string;
10891
+ day?: string;
10892
+ detail?: string | null;
10893
+ elements?: number;
10894
+ id?: string;
10895
+ outcome?: string;
10896
+ };
10897
+ Update: {
10898
+ cache_hits?: number;
10899
+ call_type?: string;
10900
+ created_at?: string;
10901
+ day?: string;
10902
+ detail?: string | null;
10903
+ elements?: number;
10904
+ id?: string;
10905
+ outcome?: string;
10906
+ };
10907
+ Relationships: [];
10908
+ };
10693
10909
  material_usage: {
10694
10910
  Row: {
10695
10911
  created_at: string;
@@ -13800,6 +14016,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13800
14016
  created_at: string;
13801
14017
  driver: string;
13802
14018
  extern_printer_id: string | null;
14019
+ formaten_bijgewerkt_op: string | null;
13803
14020
  id: string;
13804
14021
  ip_adres: string | null;
13805
14022
  laatst_gezien: string | null;
@@ -13807,6 +14024,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13807
14024
  merk: string;
13808
14025
  naam: string;
13809
14026
  omschrijving: string;
14027
+ ondersteunde_formaten: import("./types").Json | null;
14028
+ ondersteunde_laden: import("./types").Json | null;
13810
14029
  online: boolean;
13811
14030
  papierformaat: string;
13812
14031
  poort: number | null;
@@ -13822,6 +14041,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13822
14041
  created_at?: string;
13823
14042
  driver?: string;
13824
14043
  extern_printer_id?: string | null;
14044
+ formaten_bijgewerkt_op?: string | null;
13825
14045
  id?: string;
13826
14046
  ip_adres?: string | null;
13827
14047
  laatst_gezien?: string | null;
@@ -13829,6 +14049,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13829
14049
  merk?: string;
13830
14050
  naam: string;
13831
14051
  omschrijving?: string;
14052
+ ondersteunde_formaten?: import("./types").Json | null;
14053
+ ondersteunde_laden?: import("./types").Json | null;
13832
14054
  online?: boolean;
13833
14055
  papierformaat?: string;
13834
14056
  poort?: number | null;
@@ -13844,6 +14066,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13844
14066
  created_at?: string;
13845
14067
  driver?: string;
13846
14068
  extern_printer_id?: string | null;
14069
+ formaten_bijgewerkt_op?: string | null;
13847
14070
  id?: string;
13848
14071
  ip_adres?: string | null;
13849
14072
  laatst_gezien?: string | null;
@@ -13851,6 +14074,8 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
13851
14074
  merk?: string;
13852
14075
  naam?: string;
13853
14076
  omschrijving?: string;
14077
+ ondersteunde_formaten?: import("./types").Json | null;
14078
+ ondersteunde_laden?: import("./types").Json | null;
13854
14079
  online?: boolean;
13855
14080
  papierformaat?: string;
13856
14081
  poort?: number | null;
@@ -18619,6 +18844,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18619
18844
  werkbon_package_items: {
18620
18845
  Row: {
18621
18846
  article_number: string | null;
18847
+ artikel_id: string | null;
18622
18848
  created_at: string;
18623
18849
  gtin: string | null;
18624
18850
  id: string;
@@ -18636,6 +18862,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18636
18862
  };
18637
18863
  Insert: {
18638
18864
  article_number?: string | null;
18865
+ artikel_id?: string | null;
18639
18866
  created_at?: string;
18640
18867
  gtin?: string | null;
18641
18868
  id?: string;
@@ -18653,6 +18880,7 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18653
18880
  };
18654
18881
  Update: {
18655
18882
  article_number?: string | null;
18883
+ artikel_id?: string | null;
18656
18884
  created_at?: string;
18657
18885
  gtin?: string | null;
18658
18886
  id?: string;
@@ -18669,6 +18897,12 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
18669
18897
  updated_at?: string;
18670
18898
  };
18671
18899
  Relationships: [{
18900
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18901
+ columns: ["artikel_id"];
18902
+ isOneToOne: false;
18903
+ referencedRelation: "artikelen_cache";
18904
+ referencedColumns: ["id"];
18905
+ }, {
18672
18906
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18673
18907
  columns: ["package_id"];
18674
18908
  isOneToOne: false;
@@ -19891,6 +20125,20 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
19891
20125
  referencedColumns: ["id"];
19892
20126
  }];
19893
20127
  };
20128
+ v_werkbon_totalen: {
20129
+ Row: {
20130
+ packages_cents: number | null;
20131
+ packages_minutes: number | null;
20132
+ werkbon_id: string | null;
20133
+ };
20134
+ Relationships: [{
20135
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20136
+ columns: ["werkbon_id"];
20137
+ isOneToOne: false;
20138
+ referencedRelation: "werkbonnen";
20139
+ referencedColumns: ["id"];
20140
+ }];
20141
+ };
19894
20142
  };
19895
20143
  Functions: {
19896
20144
  _floriday_schedule_job: {
@@ -21827,6 +22075,25 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
21827
22075
  };
21828
22076
  Returns: string;
21829
22077
  };
22078
+ pakket_suggesties_voor_tekst: {
22079
+ Args: {
22080
+ _tekst: string;
22081
+ };
22082
+ Returns: {
22083
+ hit_type: string;
22084
+ package_id: string;
22085
+ priority: number;
22086
+ }[];
22087
+ };
22088
+ pakket_voor_reistijd: {
22089
+ Args: {
22090
+ _minuten: number;
22091
+ };
22092
+ Returns: {
22093
+ package_id: string;
22094
+ priority: number;
22095
+ }[];
22096
+ };
21830
22097
  pick_active_printers: {
21831
22098
  Args: never;
21832
22099
  Returns: {
@@ -22035,6 +22302,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22035
22302
  omschrijving: string;
22036
22303
  }[];
22037
22304
  };
22305
+ pick_reference_data_status: {
22306
+ Args: never;
22307
+ Returns: import("./types").Json;
22308
+ };
22038
22309
  pick_release_expired_locks: {
22039
22310
  Args: never;
22040
22311
  Returns: number;
@@ -22099,6 +22370,10 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22099
22370
  isSetofReturn: false;
22100
22371
  };
22101
22372
  };
22373
+ pick_seed_reference_data: {
22374
+ Args: never;
22375
+ Returns: import("./types").Json;
22376
+ };
22102
22377
  pick_set_station_print_plek: {
22103
22378
  Args: {
22104
22379
  _print_plek_id: string;
@@ -22877,6 +23152,18 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22877
23152
  Args: never;
22878
23153
  Returns: string;
22879
23154
  };
23155
+ werkbon_totalen: {
23156
+ Args: {
23157
+ _werkbon_id: string;
23158
+ };
23159
+ Returns: {
23160
+ materials_cents: number;
23161
+ packages_cents: number;
23162
+ packages_minutes: number;
23163
+ total_cents: number;
23164
+ total_minutes: number;
23165
+ }[];
23166
+ };
22880
23167
  wo_create_from_source: {
22881
23168
  Args: {
22882
23169
  _payload?: import("./types").Json;
@@ -22915,6 +23202,6 @@ export declare const supabase: import("@supabase/supabase-js").SupabaseClient<Da
22915
23202
  };
22916
23203
  CompositeTypes: { [_ in never]: never; };
22917
23204
  }, {
22918
- PostgrestVersion: "14.5";
23205
+ PostgrestVersion: "14.17";
22919
23206
  }>;
22920
23207
  //# sourceMappingURL=client.d.ts.map