@flowselections/pick-schermen-kwekers 1.0.13 → 1.0.15

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 (32) hide show
  1. package/README.md +24 -24
  2. package/dist-lib/components/PickstationsPage.d.ts.map +1 -1
  3. package/dist-lib/components/PickstationsPage.js +2 -1
  4. package/dist-lib/components/pick/ReferentiedataBanner.d.ts +6 -0
  5. package/dist-lib/components/pick/ReferentiedataBanner.d.ts.map +1 -0
  6. package/dist-lib/components/pick/ReferentiedataBanner.js +17 -0
  7. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.d.ts +2 -0
  8. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.d.ts.map +1 -0
  9. package/dist-lib/components/settings/ReferentiedataPickdocumentenCard.js +84 -0
  10. package/dist-lib/hooks/usePickReferenceData.d.ts +4 -0
  11. package/dist-lib/hooks/usePickReferenceData.d.ts.map +1 -0
  12. package/dist-lib/hooks/usePickReferenceData.js +10 -0
  13. package/dist-lib/index.d.ts +5 -0
  14. package/dist-lib/index.d.ts.map +1 -1
  15. package/dist-lib/index.js +6 -5
  16. package/dist-lib/integrations/supabase/auth-middleware.d.ts +291 -1
  17. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  18. package/dist-lib/integrations/supabase/client.d.ts +291 -1
  19. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  20. package/dist-lib/integrations/supabase/client.server.d.ts +291 -1
  21. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  22. package/dist-lib/integrations/supabase/types.d.ts +297 -1
  23. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  24. package/dist-lib/lib/layoutMaker/pakbonHtml.js +49 -49
  25. package/dist-lib/lib/layoutRenderer.js +17 -17
  26. package/dist-lib/lib/pickReferenceApi.d.ts +37 -0
  27. package/dist-lib/lib/pickReferenceApi.d.ts.map +1 -0
  28. package/dist-lib/lib/pickReferenceApi.js +98 -0
  29. package/package.json +1 -1
  30. package/dist-lib/components/TemplateModulePage.d.ts +0 -2
  31. package/dist-lib/components/TemplateModulePage.d.ts.map +0 -1
  32. package/dist-lib/components/TemplateModulePage.js +0 -44
@@ -2,6 +2,18 @@ import type { Database } from './types';
2
2
  export declare const requireSupabaseAuth: import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
3
3
  supabase: import("@supabase/supabase-js").SupabaseClient<Database, "public", "public", {
4
4
  Tables: {
5
+ _banner_check: {
6
+ Row: {
7
+ inactief: import("./types").Json | null;
8
+ };
9
+ Insert: {
10
+ inactief?: import("./types").Json | null;
11
+ };
12
+ Update: {
13
+ inactief?: import("./types").Json | null;
14
+ };
15
+ Relationships: [];
16
+ };
5
17
  afhandeling_settings: {
6
18
  Row: {
7
19
  auto_print_delivery_note: boolean;
@@ -10691,6 +10703,222 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10691
10703
  };
10692
10704
  Relationships: [];
10693
10705
  };
10706
+ maps_addresses: {
10707
+ Row: {
10708
+ address_hash: string;
10709
+ created_at: string;
10710
+ error_reason: string | null;
10711
+ formatted_address: string | null;
10712
+ id: string;
10713
+ lat: number | null;
10714
+ lng: number | null;
10715
+ place_id: string | null;
10716
+ raw_address: string;
10717
+ resolved_at: string | null;
10718
+ status: string;
10719
+ updated_at: string;
10720
+ };
10721
+ Insert: {
10722
+ address_hash: string;
10723
+ created_at?: string;
10724
+ error_reason?: string | null;
10725
+ formatted_address?: string | null;
10726
+ id?: string;
10727
+ lat?: number | null;
10728
+ lng?: number | null;
10729
+ place_id?: string | null;
10730
+ raw_address: string;
10731
+ resolved_at?: string | null;
10732
+ status?: string;
10733
+ updated_at?: string;
10734
+ };
10735
+ Update: {
10736
+ address_hash?: string;
10737
+ created_at?: string;
10738
+ error_reason?: string | null;
10739
+ formatted_address?: string | null;
10740
+ id?: string;
10741
+ lat?: number | null;
10742
+ lng?: number | null;
10743
+ place_id?: string | null;
10744
+ raw_address?: string;
10745
+ resolved_at?: string | null;
10746
+ status?: string;
10747
+ updated_at?: string;
10748
+ };
10749
+ Relationships: [];
10750
+ };
10751
+ maps_request_queue: {
10752
+ Row: {
10753
+ attempts: number;
10754
+ created_at: string;
10755
+ destination_hash: string | null;
10756
+ id: string;
10757
+ kind: string;
10758
+ last_error: string | null;
10759
+ mode: string;
10760
+ origin_hash: string | null;
10761
+ processed_at: string | null;
10762
+ raw_destination: string | null;
10763
+ raw_origin: string | null;
10764
+ requested_by: string | null;
10765
+ status: string;
10766
+ updated_at: string;
10767
+ };
10768
+ Insert: {
10769
+ attempts?: number;
10770
+ created_at?: string;
10771
+ destination_hash?: string | null;
10772
+ id?: string;
10773
+ kind: string;
10774
+ last_error?: string | null;
10775
+ mode?: string;
10776
+ origin_hash?: string | null;
10777
+ processed_at?: string | null;
10778
+ raw_destination?: string | null;
10779
+ raw_origin?: string | null;
10780
+ requested_by?: string | null;
10781
+ status?: string;
10782
+ updated_at?: string;
10783
+ };
10784
+ Update: {
10785
+ attempts?: number;
10786
+ created_at?: string;
10787
+ destination_hash?: string | null;
10788
+ id?: string;
10789
+ kind?: string;
10790
+ last_error?: string | null;
10791
+ mode?: string;
10792
+ origin_hash?: string | null;
10793
+ processed_at?: string | null;
10794
+ raw_destination?: string | null;
10795
+ raw_origin?: string | null;
10796
+ requested_by?: string | null;
10797
+ status?: string;
10798
+ updated_at?: string;
10799
+ };
10800
+ Relationships: [];
10801
+ };
10802
+ maps_settings: {
10803
+ Row: {
10804
+ allow_estimate_fallback: boolean;
10805
+ cache_ttl_days: number;
10806
+ created_at: string;
10807
+ daily_call_limit: number;
10808
+ id: string;
10809
+ last_error: string | null;
10810
+ last_error_at: string | null;
10811
+ last_success_at: string | null;
10812
+ updated_at: string;
10813
+ };
10814
+ Insert: {
10815
+ allow_estimate_fallback?: boolean;
10816
+ cache_ttl_days?: number;
10817
+ created_at?: string;
10818
+ daily_call_limit?: number;
10819
+ id?: string;
10820
+ last_error?: string | null;
10821
+ last_error_at?: string | null;
10822
+ last_success_at?: string | null;
10823
+ updated_at?: string;
10824
+ };
10825
+ Update: {
10826
+ allow_estimate_fallback?: boolean;
10827
+ cache_ttl_days?: number;
10828
+ created_at?: string;
10829
+ daily_call_limit?: number;
10830
+ id?: string;
10831
+ last_error?: string | null;
10832
+ last_error_at?: string | null;
10833
+ last_success_at?: string | null;
10834
+ updated_at?: string;
10835
+ };
10836
+ Relationships: [];
10837
+ };
10838
+ maps_travel_times: {
10839
+ Row: {
10840
+ created_at: string;
10841
+ destination_id: string;
10842
+ distance_m: number | null;
10843
+ duration_sec: number;
10844
+ expires_at: string;
10845
+ id: string;
10846
+ mode: string;
10847
+ origin_id: string;
10848
+ source: string;
10849
+ updated_at: string;
10850
+ };
10851
+ Insert: {
10852
+ created_at?: string;
10853
+ destination_id: string;
10854
+ distance_m?: number | null;
10855
+ duration_sec: number;
10856
+ expires_at?: string;
10857
+ id?: string;
10858
+ mode?: string;
10859
+ origin_id: string;
10860
+ source?: string;
10861
+ updated_at?: string;
10862
+ };
10863
+ Update: {
10864
+ created_at?: string;
10865
+ destination_id?: string;
10866
+ distance_m?: number | null;
10867
+ duration_sec?: number;
10868
+ expires_at?: string;
10869
+ id?: string;
10870
+ mode?: string;
10871
+ origin_id?: string;
10872
+ source?: string;
10873
+ updated_at?: string;
10874
+ };
10875
+ Relationships: [{
10876
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
10877
+ columns: ["destination_id"];
10878
+ isOneToOne: false;
10879
+ referencedRelation: "maps_addresses";
10880
+ referencedColumns: ["id"];
10881
+ }, {
10882
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
10883
+ columns: ["origin_id"];
10884
+ isOneToOne: false;
10885
+ referencedRelation: "maps_addresses";
10886
+ referencedColumns: ["id"];
10887
+ }];
10888
+ };
10889
+ maps_usage_log: {
10890
+ Row: {
10891
+ cache_hits: number;
10892
+ call_type: string;
10893
+ created_at: string;
10894
+ day: string;
10895
+ detail: string | null;
10896
+ elements: number;
10897
+ id: string;
10898
+ outcome: string;
10899
+ };
10900
+ Insert: {
10901
+ cache_hits?: number;
10902
+ call_type: string;
10903
+ created_at?: string;
10904
+ day?: string;
10905
+ detail?: string | null;
10906
+ elements?: number;
10907
+ id?: string;
10908
+ outcome?: string;
10909
+ };
10910
+ Update: {
10911
+ cache_hits?: number;
10912
+ call_type?: string;
10913
+ created_at?: string;
10914
+ day?: string;
10915
+ detail?: string | null;
10916
+ elements?: number;
10917
+ id?: string;
10918
+ outcome?: string;
10919
+ };
10920
+ Relationships: [];
10921
+ };
10694
10922
  material_usage: {
10695
10923
  Row: {
10696
10924
  created_at: string;
@@ -18620,6 +18848,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18620
18848
  werkbon_package_items: {
18621
18849
  Row: {
18622
18850
  article_number: string | null;
18851
+ artikel_id: string | null;
18623
18852
  created_at: string;
18624
18853
  gtin: string | null;
18625
18854
  id: string;
@@ -18637,6 +18866,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18637
18866
  };
18638
18867
  Insert: {
18639
18868
  article_number?: string | null;
18869
+ artikel_id?: string | null;
18640
18870
  created_at?: string;
18641
18871
  gtin?: string | null;
18642
18872
  id?: string;
@@ -18654,6 +18884,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18654
18884
  };
18655
18885
  Update: {
18656
18886
  article_number?: string | null;
18887
+ artikel_id?: string | null;
18657
18888
  created_at?: string;
18658
18889
  gtin?: string | null;
18659
18890
  id?: string;
@@ -18670,6 +18901,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18670
18901
  updated_at?: string;
18671
18902
  };
18672
18903
  Relationships: [{
18904
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18905
+ columns: ["artikel_id"];
18906
+ isOneToOne: false;
18907
+ referencedRelation: "artikelen_cache";
18908
+ referencedColumns: ["id"];
18909
+ }, {
18673
18910
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18674
18911
  columns: ["package_id"];
18675
18912
  isOneToOne: false;
@@ -19892,6 +20129,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19892
20129
  referencedColumns: ["id"];
19893
20130
  }];
19894
20131
  };
20132
+ v_werkbon_totalen: {
20133
+ Row: {
20134
+ packages_cents: number | null;
20135
+ packages_minutes: number | null;
20136
+ werkbon_id: string | null;
20137
+ };
20138
+ Relationships: [{
20139
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20140
+ columns: ["werkbon_id"];
20141
+ isOneToOne: false;
20142
+ referencedRelation: "werkbonnen";
20143
+ referencedColumns: ["id"];
20144
+ }];
20145
+ };
19895
20146
  };
19896
20147
  Functions: {
19897
20148
  _floriday_schedule_job: {
@@ -21828,6 +22079,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21828
22079
  };
21829
22080
  Returns: string;
21830
22081
  };
22082
+ pakket_suggesties_voor_tekst: {
22083
+ Args: {
22084
+ _tekst: string;
22085
+ };
22086
+ Returns: {
22087
+ hit_type: string;
22088
+ package_id: string;
22089
+ priority: number;
22090
+ }[];
22091
+ };
22092
+ pakket_voor_reistijd: {
22093
+ Args: {
22094
+ _minuten: number;
22095
+ };
22096
+ Returns: {
22097
+ package_id: string;
22098
+ priority: number;
22099
+ }[];
22100
+ };
21831
22101
  pick_active_printers: {
21832
22102
  Args: never;
21833
22103
  Returns: {
@@ -22036,6 +22306,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22036
22306
  omschrijving: string;
22037
22307
  }[];
22038
22308
  };
22309
+ pick_reference_data_status: {
22310
+ Args: never;
22311
+ Returns: import("./types").Json;
22312
+ };
22039
22313
  pick_release_expired_locks: {
22040
22314
  Args: never;
22041
22315
  Returns: number;
@@ -22100,6 +22374,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22100
22374
  isSetofReturn: false;
22101
22375
  };
22102
22376
  };
22377
+ pick_seed_reference_data: {
22378
+ Args: never;
22379
+ Returns: import("./types").Json;
22380
+ };
22103
22381
  pick_set_station_print_plek: {
22104
22382
  Args: {
22105
22383
  _print_plek_id: string;
@@ -22878,6 +23156,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22878
23156
  Args: never;
22879
23157
  Returns: string;
22880
23158
  };
23159
+ werkbon_totalen: {
23160
+ Args: {
23161
+ _werkbon_id: string;
23162
+ };
23163
+ Returns: {
23164
+ materials_cents: number;
23165
+ packages_cents: number;
23166
+ packages_minutes: number;
23167
+ total_cents: number;
23168
+ total_minutes: number;
23169
+ }[];
23170
+ };
22881
23171
  wo_create_from_source: {
22882
23172
  Args: {
22883
23173
  _payload?: import("./types").Json;
@@ -22916,7 +23206,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22916
23206
  };
22917
23207
  CompositeTypes: { [_ in never]: never; };
22918
23208
  }, {
22919
- PostgrestVersion: "14.5";
23209
+ PostgrestVersion: "14.17";
22920
23210
  }>;
22921
23211
  userId: string;
22922
23212
  claims: import("@supabase/auth-js").JwtPayload;