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