@flowselections/layout-maker 1.22.1 → 1.22.3

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.
@@ -10690,6 +10690,222 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
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;
@@ -18619,6 +18835,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
18619
18835
  werkbon_package_items: {
18620
18836
  Row: {
18621
18837
  article_number: string | null;
18838
+ artikel_id: string | null;
18622
18839
  created_at: string;
18623
18840
  gtin: string | null;
18624
18841
  id: string;
@@ -18636,6 +18853,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
18636
18853
  };
18637
18854
  Insert: {
18638
18855
  article_number?: string | null;
18856
+ artikel_id?: string | null;
18639
18857
  created_at?: string;
18640
18858
  gtin?: string | null;
18641
18859
  id?: string;
@@ -18653,6 +18871,7 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
18653
18871
  };
18654
18872
  Update: {
18655
18873
  article_number?: string | null;
18874
+ artikel_id?: string | null;
18656
18875
  created_at?: string;
18657
18876
  gtin?: string | null;
18658
18877
  id?: string;
@@ -18669,6 +18888,12 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
18669
18888
  updated_at?: string;
18670
18889
  };
18671
18890
  Relationships: [{
18891
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
18892
+ columns: ["artikel_id"];
18893
+ isOneToOne: false;
18894
+ referencedRelation: "artikelen_cache";
18895
+ referencedColumns: ["id"];
18896
+ }, {
18672
18897
  foreignKeyName: "werkbon_package_items_package_id_fkey";
18673
18898
  columns: ["package_id"];
18674
18899
  isOneToOne: false;
@@ -19891,6 +20116,20 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
19891
20116
  referencedColumns: ["id"];
19892
20117
  }];
19893
20118
  };
20119
+ v_werkbon_totalen: {
20120
+ Row: {
20121
+ packages_cents: number | null;
20122
+ packages_minutes: number | null;
20123
+ werkbon_id: string | null;
20124
+ };
20125
+ Relationships: [{
20126
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20127
+ columns: ["werkbon_id"];
20128
+ isOneToOne: false;
20129
+ referencedRelation: "werkbonnen";
20130
+ referencedColumns: ["id"];
20131
+ }];
20132
+ };
19894
20133
  };
19895
20134
  Functions: {
19896
20135
  _floriday_schedule_job: {
@@ -21827,6 +22066,25 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
21827
22066
  };
21828
22067
  Returns: string;
21829
22068
  };
22069
+ pakket_suggesties_voor_tekst: {
22070
+ Args: {
22071
+ _tekst: string;
22072
+ };
22073
+ Returns: {
22074
+ hit_type: string;
22075
+ package_id: string;
22076
+ priority: number;
22077
+ }[];
22078
+ };
22079
+ pakket_voor_reistijd: {
22080
+ Args: {
22081
+ _minuten: number;
22082
+ };
22083
+ Returns: {
22084
+ package_id: string;
22085
+ priority: number;
22086
+ }[];
22087
+ };
21830
22088
  pick_active_printers: {
21831
22089
  Args: never;
21832
22090
  Returns: {
@@ -22035,6 +22293,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22035
22293
  omschrijving: string;
22036
22294
  }[];
22037
22295
  };
22296
+ pick_reference_data_status: {
22297
+ Args: never;
22298
+ Returns: import("../integrations/supabase/types.js").Json;
22299
+ };
22038
22300
  pick_release_expired_locks: {
22039
22301
  Args: never;
22040
22302
  Returns: number;
@@ -22099,6 +22361,10 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22099
22361
  isSetofReturn: false;
22100
22362
  };
22101
22363
  };
22364
+ pick_seed_reference_data: {
22365
+ Args: never;
22366
+ Returns: import("../integrations/supabase/types.js").Json;
22367
+ };
22102
22368
  pick_set_station_print_plek: {
22103
22369
  Args: {
22104
22370
  _print_plek_id: string;
@@ -22877,6 +23143,18 @@ export declare const netwerkPrinters: import("@tanstack/start-client-core").Opti
22877
23143
  Args: never;
22878
23144
  Returns: string;
22879
23145
  };
23146
+ werkbon_totalen: {
23147
+ Args: {
23148
+ _werkbon_id: string;
23149
+ };
23150
+ Returns: {
23151
+ materials_cents: number;
23152
+ packages_cents: number;
23153
+ packages_minutes: number;
23154
+ total_cents: number;
23155
+ total_minutes: number;
23156
+ }[];
23157
+ };
22880
23158
  wo_create_from_source: {
22881
23159
  Args: {
22882
23160
  _payload?: import("../integrations/supabase/types.js").Json;
@@ -33620,6 +33898,222 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
33620
33898
  };
33621
33899
  Relationships: [];
33622
33900
  };
33901
+ maps_addresses: {
33902
+ Row: {
33903
+ address_hash: string;
33904
+ created_at: string;
33905
+ error_reason: string | null;
33906
+ formatted_address: string | null;
33907
+ id: string;
33908
+ lat: number | null;
33909
+ lng: number | null;
33910
+ place_id: string | null;
33911
+ raw_address: string;
33912
+ resolved_at: string | null;
33913
+ status: string;
33914
+ updated_at: string;
33915
+ };
33916
+ Insert: {
33917
+ address_hash: string;
33918
+ created_at?: string;
33919
+ error_reason?: string | null;
33920
+ formatted_address?: string | null;
33921
+ id?: string;
33922
+ lat?: number | null;
33923
+ lng?: number | null;
33924
+ place_id?: string | null;
33925
+ raw_address: string;
33926
+ resolved_at?: string | null;
33927
+ status?: string;
33928
+ updated_at?: string;
33929
+ };
33930
+ Update: {
33931
+ address_hash?: string;
33932
+ created_at?: string;
33933
+ error_reason?: string | null;
33934
+ formatted_address?: string | null;
33935
+ id?: string;
33936
+ lat?: number | null;
33937
+ lng?: number | null;
33938
+ place_id?: string | null;
33939
+ raw_address?: string;
33940
+ resolved_at?: string | null;
33941
+ status?: string;
33942
+ updated_at?: string;
33943
+ };
33944
+ Relationships: [];
33945
+ };
33946
+ maps_request_queue: {
33947
+ Row: {
33948
+ attempts: number;
33949
+ created_at: string;
33950
+ destination_hash: string | null;
33951
+ id: string;
33952
+ kind: string;
33953
+ last_error: string | null;
33954
+ mode: string;
33955
+ origin_hash: string | null;
33956
+ processed_at: string | null;
33957
+ raw_destination: string | null;
33958
+ raw_origin: string | null;
33959
+ requested_by: string | null;
33960
+ status: string;
33961
+ updated_at: string;
33962
+ };
33963
+ Insert: {
33964
+ attempts?: number;
33965
+ created_at?: string;
33966
+ destination_hash?: string | null;
33967
+ id?: string;
33968
+ kind: string;
33969
+ last_error?: string | null;
33970
+ mode?: string;
33971
+ origin_hash?: string | null;
33972
+ processed_at?: string | null;
33973
+ raw_destination?: string | null;
33974
+ raw_origin?: string | null;
33975
+ requested_by?: string | null;
33976
+ status?: string;
33977
+ updated_at?: string;
33978
+ };
33979
+ Update: {
33980
+ attempts?: number;
33981
+ created_at?: string;
33982
+ destination_hash?: string | null;
33983
+ id?: string;
33984
+ kind?: string;
33985
+ last_error?: string | null;
33986
+ mode?: string;
33987
+ origin_hash?: string | null;
33988
+ processed_at?: string | null;
33989
+ raw_destination?: string | null;
33990
+ raw_origin?: string | null;
33991
+ requested_by?: string | null;
33992
+ status?: string;
33993
+ updated_at?: string;
33994
+ };
33995
+ Relationships: [];
33996
+ };
33997
+ maps_settings: {
33998
+ Row: {
33999
+ allow_estimate_fallback: boolean;
34000
+ cache_ttl_days: number;
34001
+ created_at: string;
34002
+ daily_call_limit: number;
34003
+ id: string;
34004
+ last_error: string | null;
34005
+ last_error_at: string | null;
34006
+ last_success_at: string | null;
34007
+ updated_at: string;
34008
+ };
34009
+ Insert: {
34010
+ allow_estimate_fallback?: boolean;
34011
+ cache_ttl_days?: number;
34012
+ created_at?: string;
34013
+ daily_call_limit?: number;
34014
+ id?: string;
34015
+ last_error?: string | null;
34016
+ last_error_at?: string | null;
34017
+ last_success_at?: string | null;
34018
+ updated_at?: string;
34019
+ };
34020
+ Update: {
34021
+ allow_estimate_fallback?: boolean;
34022
+ cache_ttl_days?: number;
34023
+ created_at?: string;
34024
+ daily_call_limit?: number;
34025
+ id?: string;
34026
+ last_error?: string | null;
34027
+ last_error_at?: string | null;
34028
+ last_success_at?: string | null;
34029
+ updated_at?: string;
34030
+ };
34031
+ Relationships: [];
34032
+ };
34033
+ maps_travel_times: {
34034
+ Row: {
34035
+ created_at: string;
34036
+ destination_id: string;
34037
+ distance_m: number | null;
34038
+ duration_sec: number;
34039
+ expires_at: string;
34040
+ id: string;
34041
+ mode: string;
34042
+ origin_id: string;
34043
+ source: string;
34044
+ updated_at: string;
34045
+ };
34046
+ Insert: {
34047
+ created_at?: string;
34048
+ destination_id: string;
34049
+ distance_m?: number | null;
34050
+ duration_sec: number;
34051
+ expires_at?: string;
34052
+ id?: string;
34053
+ mode?: string;
34054
+ origin_id: string;
34055
+ source?: string;
34056
+ updated_at?: string;
34057
+ };
34058
+ Update: {
34059
+ created_at?: string;
34060
+ destination_id?: string;
34061
+ distance_m?: number | null;
34062
+ duration_sec?: number;
34063
+ expires_at?: string;
34064
+ id?: string;
34065
+ mode?: string;
34066
+ origin_id?: string;
34067
+ source?: string;
34068
+ updated_at?: string;
34069
+ };
34070
+ Relationships: [{
34071
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
34072
+ columns: ["destination_id"];
34073
+ isOneToOne: false;
34074
+ referencedRelation: "maps_addresses";
34075
+ referencedColumns: ["id"];
34076
+ }, {
34077
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
34078
+ columns: ["origin_id"];
34079
+ isOneToOne: false;
34080
+ referencedRelation: "maps_addresses";
34081
+ referencedColumns: ["id"];
34082
+ }];
34083
+ };
34084
+ maps_usage_log: {
34085
+ Row: {
34086
+ cache_hits: number;
34087
+ call_type: string;
34088
+ created_at: string;
34089
+ day: string;
34090
+ detail: string | null;
34091
+ elements: number;
34092
+ id: string;
34093
+ outcome: string;
34094
+ };
34095
+ Insert: {
34096
+ cache_hits?: number;
34097
+ call_type: string;
34098
+ created_at?: string;
34099
+ day?: string;
34100
+ detail?: string | null;
34101
+ elements?: number;
34102
+ id?: string;
34103
+ outcome?: string;
34104
+ };
34105
+ Update: {
34106
+ cache_hits?: number;
34107
+ call_type?: string;
34108
+ created_at?: string;
34109
+ day?: string;
34110
+ detail?: string | null;
34111
+ elements?: number;
34112
+ id?: string;
34113
+ outcome?: string;
34114
+ };
34115
+ Relationships: [];
34116
+ };
33623
34117
  material_usage: {
33624
34118
  Row: {
33625
34119
  created_at: string;
@@ -41549,6 +42043,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41549
42043
  werkbon_package_items: {
41550
42044
  Row: {
41551
42045
  article_number: string | null;
42046
+ artikel_id: string | null;
41552
42047
  created_at: string;
41553
42048
  gtin: string | null;
41554
42049
  id: string;
@@ -41566,6 +42061,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41566
42061
  };
41567
42062
  Insert: {
41568
42063
  article_number?: string | null;
42064
+ artikel_id?: string | null;
41569
42065
  created_at?: string;
41570
42066
  gtin?: string | null;
41571
42067
  id?: string;
@@ -41583,6 +42079,7 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41583
42079
  };
41584
42080
  Update: {
41585
42081
  article_number?: string | null;
42082
+ artikel_id?: string | null;
41586
42083
  created_at?: string;
41587
42084
  gtin?: string | null;
41588
42085
  id?: string;
@@ -41599,6 +42096,12 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
41599
42096
  updated_at?: string;
41600
42097
  };
41601
42098
  Relationships: [{
42099
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
42100
+ columns: ["artikel_id"];
42101
+ isOneToOne: false;
42102
+ referencedRelation: "artikelen_cache";
42103
+ referencedColumns: ["id"];
42104
+ }, {
41602
42105
  foreignKeyName: "werkbon_package_items_package_id_fkey";
41603
42106
  columns: ["package_id"];
41604
42107
  isOneToOne: false;
@@ -42821,6 +43324,20 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
42821
43324
  referencedColumns: ["id"];
42822
43325
  }];
42823
43326
  };
43327
+ v_werkbon_totalen: {
43328
+ Row: {
43329
+ packages_cents: number | null;
43330
+ packages_minutes: number | null;
43331
+ werkbon_id: string | null;
43332
+ };
43333
+ Relationships: [{
43334
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
43335
+ columns: ["werkbon_id"];
43336
+ isOneToOne: false;
43337
+ referencedRelation: "werkbonnen";
43338
+ referencedColumns: ["id"];
43339
+ }];
43340
+ };
42824
43341
  };
42825
43342
  Functions: {
42826
43343
  _floriday_schedule_job: {
@@ -44757,6 +45274,25 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44757
45274
  };
44758
45275
  Returns: string;
44759
45276
  };
45277
+ pakket_suggesties_voor_tekst: {
45278
+ Args: {
45279
+ _tekst: string;
45280
+ };
45281
+ Returns: {
45282
+ hit_type: string;
45283
+ package_id: string;
45284
+ priority: number;
45285
+ }[];
45286
+ };
45287
+ pakket_voor_reistijd: {
45288
+ Args: {
45289
+ _minuten: number;
45290
+ };
45291
+ Returns: {
45292
+ package_id: string;
45293
+ priority: number;
45294
+ }[];
45295
+ };
44760
45296
  pick_active_printers: {
44761
45297
  Args: never;
44762
45298
  Returns: {
@@ -44965,6 +45501,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
44965
45501
  omschrijving: string;
44966
45502
  }[];
44967
45503
  };
45504
+ pick_reference_data_status: {
45505
+ Args: never;
45506
+ Returns: import("../integrations/supabase/types.js").Json;
45507
+ };
44968
45508
  pick_release_expired_locks: {
44969
45509
  Args: never;
44970
45510
  Returns: number;
@@ -45029,6 +45569,10 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45029
45569
  isSetofReturn: false;
45030
45570
  };
45031
45571
  };
45572
+ pick_seed_reference_data: {
45573
+ Args: never;
45574
+ Returns: import("../integrations/supabase/types.js").Json;
45575
+ };
45032
45576
  pick_set_station_print_plek: {
45033
45577
  Args: {
45034
45578
  _print_plek_id: string;
@@ -45807,6 +46351,18 @@ export declare const verstuurPrintOpdracht: import("@tanstack/start-client-core"
45807
46351
  Args: never;
45808
46352
  Returns: string;
45809
46353
  };
46354
+ werkbon_totalen: {
46355
+ Args: {
46356
+ _werkbon_id: string;
46357
+ };
46358
+ Returns: {
46359
+ materials_cents: number;
46360
+ packages_cents: number;
46361
+ packages_minutes: number;
46362
+ total_cents: number;
46363
+ total_minutes: number;
46364
+ }[];
46365
+ };
45810
46366
  wo_create_from_source: {
45811
46367
  Args: {
45812
46368
  _payload?: import("../integrations/supabase/types.js").Json;
@@ -56560,6 +57116,222 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
56560
57116
  };
56561
57117
  Relationships: [];
56562
57118
  };
57119
+ maps_addresses: {
57120
+ Row: {
57121
+ address_hash: string;
57122
+ created_at: string;
57123
+ error_reason: string | null;
57124
+ formatted_address: string | null;
57125
+ id: string;
57126
+ lat: number | null;
57127
+ lng: number | null;
57128
+ place_id: string | null;
57129
+ raw_address: string;
57130
+ resolved_at: string | null;
57131
+ status: string;
57132
+ updated_at: string;
57133
+ };
57134
+ Insert: {
57135
+ address_hash: string;
57136
+ created_at?: string;
57137
+ error_reason?: string | null;
57138
+ formatted_address?: string | null;
57139
+ id?: string;
57140
+ lat?: number | null;
57141
+ lng?: number | null;
57142
+ place_id?: string | null;
57143
+ raw_address: string;
57144
+ resolved_at?: string | null;
57145
+ status?: string;
57146
+ updated_at?: string;
57147
+ };
57148
+ Update: {
57149
+ address_hash?: string;
57150
+ created_at?: string;
57151
+ error_reason?: string | null;
57152
+ formatted_address?: string | null;
57153
+ id?: string;
57154
+ lat?: number | null;
57155
+ lng?: number | null;
57156
+ place_id?: string | null;
57157
+ raw_address?: string;
57158
+ resolved_at?: string | null;
57159
+ status?: string;
57160
+ updated_at?: string;
57161
+ };
57162
+ Relationships: [];
57163
+ };
57164
+ maps_request_queue: {
57165
+ Row: {
57166
+ attempts: number;
57167
+ created_at: string;
57168
+ destination_hash: string | null;
57169
+ id: string;
57170
+ kind: string;
57171
+ last_error: string | null;
57172
+ mode: string;
57173
+ origin_hash: string | null;
57174
+ processed_at: string | null;
57175
+ raw_destination: string | null;
57176
+ raw_origin: string | null;
57177
+ requested_by: string | null;
57178
+ status: string;
57179
+ updated_at: string;
57180
+ };
57181
+ Insert: {
57182
+ attempts?: number;
57183
+ created_at?: string;
57184
+ destination_hash?: string | null;
57185
+ id?: string;
57186
+ kind: string;
57187
+ last_error?: string | null;
57188
+ mode?: string;
57189
+ origin_hash?: string | null;
57190
+ processed_at?: string | null;
57191
+ raw_destination?: string | null;
57192
+ raw_origin?: string | null;
57193
+ requested_by?: string | null;
57194
+ status?: string;
57195
+ updated_at?: string;
57196
+ };
57197
+ Update: {
57198
+ attempts?: number;
57199
+ created_at?: string;
57200
+ destination_hash?: string | null;
57201
+ id?: string;
57202
+ kind?: string;
57203
+ last_error?: string | null;
57204
+ mode?: string;
57205
+ origin_hash?: string | null;
57206
+ processed_at?: string | null;
57207
+ raw_destination?: string | null;
57208
+ raw_origin?: string | null;
57209
+ requested_by?: string | null;
57210
+ status?: string;
57211
+ updated_at?: string;
57212
+ };
57213
+ Relationships: [];
57214
+ };
57215
+ maps_settings: {
57216
+ Row: {
57217
+ allow_estimate_fallback: boolean;
57218
+ cache_ttl_days: number;
57219
+ created_at: string;
57220
+ daily_call_limit: number;
57221
+ id: string;
57222
+ last_error: string | null;
57223
+ last_error_at: string | null;
57224
+ last_success_at: string | null;
57225
+ updated_at: string;
57226
+ };
57227
+ Insert: {
57228
+ allow_estimate_fallback?: boolean;
57229
+ cache_ttl_days?: number;
57230
+ created_at?: string;
57231
+ daily_call_limit?: number;
57232
+ id?: string;
57233
+ last_error?: string | null;
57234
+ last_error_at?: string | null;
57235
+ last_success_at?: string | null;
57236
+ updated_at?: string;
57237
+ };
57238
+ Update: {
57239
+ allow_estimate_fallback?: boolean;
57240
+ cache_ttl_days?: number;
57241
+ created_at?: string;
57242
+ daily_call_limit?: number;
57243
+ id?: string;
57244
+ last_error?: string | null;
57245
+ last_error_at?: string | null;
57246
+ last_success_at?: string | null;
57247
+ updated_at?: string;
57248
+ };
57249
+ Relationships: [];
57250
+ };
57251
+ maps_travel_times: {
57252
+ Row: {
57253
+ created_at: string;
57254
+ destination_id: string;
57255
+ distance_m: number | null;
57256
+ duration_sec: number;
57257
+ expires_at: string;
57258
+ id: string;
57259
+ mode: string;
57260
+ origin_id: string;
57261
+ source: string;
57262
+ updated_at: string;
57263
+ };
57264
+ Insert: {
57265
+ created_at?: string;
57266
+ destination_id: string;
57267
+ distance_m?: number | null;
57268
+ duration_sec: number;
57269
+ expires_at?: string;
57270
+ id?: string;
57271
+ mode?: string;
57272
+ origin_id: string;
57273
+ source?: string;
57274
+ updated_at?: string;
57275
+ };
57276
+ Update: {
57277
+ created_at?: string;
57278
+ destination_id?: string;
57279
+ distance_m?: number | null;
57280
+ duration_sec?: number;
57281
+ expires_at?: string;
57282
+ id?: string;
57283
+ mode?: string;
57284
+ origin_id?: string;
57285
+ source?: string;
57286
+ updated_at?: string;
57287
+ };
57288
+ Relationships: [{
57289
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
57290
+ columns: ["destination_id"];
57291
+ isOneToOne: false;
57292
+ referencedRelation: "maps_addresses";
57293
+ referencedColumns: ["id"];
57294
+ }, {
57295
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
57296
+ columns: ["origin_id"];
57297
+ isOneToOne: false;
57298
+ referencedRelation: "maps_addresses";
57299
+ referencedColumns: ["id"];
57300
+ }];
57301
+ };
57302
+ maps_usage_log: {
57303
+ Row: {
57304
+ cache_hits: number;
57305
+ call_type: string;
57306
+ created_at: string;
57307
+ day: string;
57308
+ detail: string | null;
57309
+ elements: number;
57310
+ id: string;
57311
+ outcome: string;
57312
+ };
57313
+ Insert: {
57314
+ cache_hits?: number;
57315
+ call_type: string;
57316
+ created_at?: string;
57317
+ day?: string;
57318
+ detail?: string | null;
57319
+ elements?: number;
57320
+ id?: string;
57321
+ outcome?: string;
57322
+ };
57323
+ Update: {
57324
+ cache_hits?: number;
57325
+ call_type?: string;
57326
+ created_at?: string;
57327
+ day?: string;
57328
+ detail?: string | null;
57329
+ elements?: number;
57330
+ id?: string;
57331
+ outcome?: string;
57332
+ };
57333
+ Relationships: [];
57334
+ };
56563
57335
  material_usage: {
56564
57336
  Row: {
56565
57337
  created_at: string;
@@ -64489,6 +65261,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64489
65261
  werkbon_package_items: {
64490
65262
  Row: {
64491
65263
  article_number: string | null;
65264
+ artikel_id: string | null;
64492
65265
  created_at: string;
64493
65266
  gtin: string | null;
64494
65267
  id: string;
@@ -64506,6 +65279,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64506
65279
  };
64507
65280
  Insert: {
64508
65281
  article_number?: string | null;
65282
+ artikel_id?: string | null;
64509
65283
  created_at?: string;
64510
65284
  gtin?: string | null;
64511
65285
  id?: string;
@@ -64523,6 +65297,7 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64523
65297
  };
64524
65298
  Update: {
64525
65299
  article_number?: string | null;
65300
+ artikel_id?: string | null;
64526
65301
  created_at?: string;
64527
65302
  gtin?: string | null;
64528
65303
  id?: string;
@@ -64539,6 +65314,12 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
64539
65314
  updated_at?: string;
64540
65315
  };
64541
65316
  Relationships: [{
65317
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
65318
+ columns: ["artikel_id"];
65319
+ isOneToOne: false;
65320
+ referencedRelation: "artikelen_cache";
65321
+ referencedColumns: ["id"];
65322
+ }, {
64542
65323
  foreignKeyName: "werkbon_package_items_package_id_fkey";
64543
65324
  columns: ["package_id"];
64544
65325
  isOneToOne: false;
@@ -65761,6 +66542,20 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
65761
66542
  referencedColumns: ["id"];
65762
66543
  }];
65763
66544
  };
66545
+ v_werkbon_totalen: {
66546
+ Row: {
66547
+ packages_cents: number | null;
66548
+ packages_minutes: number | null;
66549
+ werkbon_id: string | null;
66550
+ };
66551
+ Relationships: [{
66552
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
66553
+ columns: ["werkbon_id"];
66554
+ isOneToOne: false;
66555
+ referencedRelation: "werkbonnen";
66556
+ referencedColumns: ["id"];
66557
+ }];
66558
+ };
65764
66559
  };
65765
66560
  Functions: {
65766
66561
  _floriday_schedule_job: {
@@ -67697,6 +68492,25 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67697
68492
  };
67698
68493
  Returns: string;
67699
68494
  };
68495
+ pakket_suggesties_voor_tekst: {
68496
+ Args: {
68497
+ _tekst: string;
68498
+ };
68499
+ Returns: {
68500
+ hit_type: string;
68501
+ package_id: string;
68502
+ priority: number;
68503
+ }[];
68504
+ };
68505
+ pakket_voor_reistijd: {
68506
+ Args: {
68507
+ _minuten: number;
68508
+ };
68509
+ Returns: {
68510
+ package_id: string;
68511
+ priority: number;
68512
+ }[];
68513
+ };
67700
68514
  pick_active_printers: {
67701
68515
  Args: never;
67702
68516
  Returns: {
@@ -67858,117 +68672,125 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
67858
68672
  isSetofReturn: false;
67859
68673
  };
67860
68674
  };
67861
- pick_current_pick_day: {
68675
+ pick_current_pick_day: {
68676
+ Args: never;
68677
+ Returns: string;
68678
+ };
68679
+ pick_day_counts: {
68680
+ Args: {
68681
+ _pick_day?: string;
68682
+ _screen_id?: string;
68683
+ _station_id?: string;
68684
+ };
68685
+ Returns: import("../integrations/supabase/types.js").Json;
68686
+ };
68687
+ pick_document_layout_data: {
68688
+ Args: {
68689
+ _layout_id: string;
68690
+ };
68691
+ Returns: import("../integrations/supabase/types.js").Json;
68692
+ };
68693
+ pick_enqueue_print_job: {
68694
+ Args: {
68695
+ _printer_id?: string;
68696
+ _queue_item_id: string;
68697
+ _session_id?: string;
68698
+ };
68699
+ Returns: string;
68700
+ };
68701
+ pick_order_context: {
68702
+ Args: {
68703
+ _order_id?: string;
68704
+ _order_number?: string;
68705
+ };
68706
+ Returns: import("../integrations/supabase/types.js").Json;
68707
+ };
68708
+ pick_print_job_status: {
68709
+ Args: {
68710
+ _job_id: string;
68711
+ };
68712
+ Returns: import("../integrations/supabase/types.js").Json;
68713
+ };
68714
+ pick_print_plekken: {
68715
+ Args: never;
68716
+ Returns: {
68717
+ id: string;
68718
+ naam: string;
68719
+ omschrijving: string;
68720
+ }[];
68721
+ };
68722
+ pick_reference_data_status: {
68723
+ Args: never;
68724
+ Returns: import("../integrations/supabase/types.js").Json;
68725
+ };
68726
+ pick_release_expired_locks: {
68727
+ Args: never;
68728
+ Returns: number;
68729
+ };
68730
+ pick_release_lock: {
68731
+ Args: {
68732
+ _queue_item_id: string;
68733
+ };
68734
+ Returns: undefined;
68735
+ };
68736
+ pick_reprint_document: {
68737
+ Args: {
68738
+ _queue_item_id: string;
68739
+ _session_id: string;
68740
+ _throttle_seconds?: number;
68741
+ };
68742
+ Returns: string;
68743
+ };
68744
+ pick_reset_print: {
68745
+ Args: {
68746
+ _queue_item_id: string;
68747
+ _session_id: string;
68748
+ };
68749
+ Returns: {
68750
+ announced_at: string;
68751
+ assigned_user_id: string | null;
68752
+ barcode: string | null;
68753
+ cancelled_at: string | null;
68754
+ cart_count: number;
68755
+ completed_at: string | null;
68756
+ country_code: string | null;
68757
+ created_at: string;
68758
+ customer_name: string | null;
68759
+ delivery_address: string | null;
68760
+ document_number: string | null;
68761
+ document_type_id: string | null;
68762
+ due_at: string | null;
68763
+ id: string;
68764
+ is_urgent: boolean;
68765
+ line_count: number;
68766
+ order_number: string | null;
68767
+ order_type: string | null;
68768
+ payload: import("../integrations/supabase/types.js").Json;
68769
+ print_count: number;
68770
+ print_job_id: string | null;
68771
+ printed_at: string | null;
68772
+ printed_by: string | null;
68773
+ printer_id: string | null;
68774
+ priority: number;
68775
+ reference: string | null;
68776
+ route: string | null;
68777
+ screen_id: string | null;
68778
+ station_id: string | null;
68779
+ status_id: string | null;
68780
+ updated_at: string;
68781
+ warnings: import("../integrations/supabase/types.js").Json;
68782
+ };
68783
+ SetofOptions: {
68784
+ from: "*";
68785
+ to: "pick_queue";
68786
+ isOneToOne: true;
68787
+ isSetofReturn: false;
68788
+ };
68789
+ };
68790
+ pick_seed_reference_data: {
67862
68791
  Args: never;
67863
- Returns: string;
67864
- };
67865
- pick_day_counts: {
67866
- Args: {
67867
- _pick_day?: string;
67868
- _screen_id?: string;
67869
- _station_id?: string;
67870
- };
67871
68792
  Returns: import("../integrations/supabase/types.js").Json;
67872
68793
  };
67873
- pick_document_layout_data: {
67874
- Args: {
67875
- _layout_id: string;
67876
- };
67877
- Returns: import("../integrations/supabase/types.js").Json;
67878
- };
67879
- pick_enqueue_print_job: {
67880
- Args: {
67881
- _printer_id?: string;
67882
- _queue_item_id: string;
67883
- _session_id?: string;
67884
- };
67885
- Returns: string;
67886
- };
67887
- pick_order_context: {
67888
- Args: {
67889
- _order_id?: string;
67890
- _order_number?: string;
67891
- };
67892
- Returns: import("../integrations/supabase/types.js").Json;
67893
- };
67894
- pick_print_job_status: {
67895
- Args: {
67896
- _job_id: string;
67897
- };
67898
- Returns: import("../integrations/supabase/types.js").Json;
67899
- };
67900
- pick_print_plekken: {
67901
- Args: never;
67902
- Returns: {
67903
- id: string;
67904
- naam: string;
67905
- omschrijving: string;
67906
- }[];
67907
- };
67908
- pick_release_expired_locks: {
67909
- Args: never;
67910
- Returns: number;
67911
- };
67912
- pick_release_lock: {
67913
- Args: {
67914
- _queue_item_id: string;
67915
- };
67916
- Returns: undefined;
67917
- };
67918
- pick_reprint_document: {
67919
- Args: {
67920
- _queue_item_id: string;
67921
- _session_id: string;
67922
- _throttle_seconds?: number;
67923
- };
67924
- Returns: string;
67925
- };
67926
- pick_reset_print: {
67927
- Args: {
67928
- _queue_item_id: string;
67929
- _session_id: string;
67930
- };
67931
- Returns: {
67932
- announced_at: string;
67933
- assigned_user_id: string | null;
67934
- barcode: string | null;
67935
- cancelled_at: string | null;
67936
- cart_count: number;
67937
- completed_at: string | null;
67938
- country_code: string | null;
67939
- created_at: string;
67940
- customer_name: string | null;
67941
- delivery_address: string | null;
67942
- document_number: string | null;
67943
- document_type_id: string | null;
67944
- due_at: string | null;
67945
- id: string;
67946
- is_urgent: boolean;
67947
- line_count: number;
67948
- order_number: string | null;
67949
- order_type: string | null;
67950
- payload: import("../integrations/supabase/types.js").Json;
67951
- print_count: number;
67952
- print_job_id: string | null;
67953
- printed_at: string | null;
67954
- printed_by: string | null;
67955
- printer_id: string | null;
67956
- priority: number;
67957
- reference: string | null;
67958
- route: string | null;
67959
- screen_id: string | null;
67960
- station_id: string | null;
67961
- status_id: string | null;
67962
- updated_at: string;
67963
- warnings: import("../integrations/supabase/types.js").Json;
67964
- };
67965
- SetofOptions: {
67966
- from: "*";
67967
- to: "pick_queue";
67968
- isOneToOne: true;
67969
- isSetofReturn: false;
67970
- };
67971
- };
67972
68794
  pick_set_station_print_plek: {
67973
68795
  Args: {
67974
68796
  _print_plek_id: string;
@@ -68747,6 +69569,18 @@ export declare const printStatus: import("@tanstack/start-client-core").Required
68747
69569
  Args: never;
68748
69570
  Returns: string;
68749
69571
  };
69572
+ werkbon_totalen: {
69573
+ Args: {
69574
+ _werkbon_id: string;
69575
+ };
69576
+ Returns: {
69577
+ materials_cents: number;
69578
+ packages_cents: number;
69579
+ packages_minutes: number;
69580
+ total_cents: number;
69581
+ total_minutes: number;
69582
+ }[];
69583
+ };
68750
69584
  wo_create_from_source: {
68751
69585
  Args: {
68752
69586
  _payload?: import("../integrations/supabase/types.js").Json;
@@ -79494,6 +80328,222 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
79494
80328
  };
79495
80329
  Relationships: [];
79496
80330
  };
80331
+ maps_addresses: {
80332
+ Row: {
80333
+ address_hash: string;
80334
+ created_at: string;
80335
+ error_reason: string | null;
80336
+ formatted_address: string | null;
80337
+ id: string;
80338
+ lat: number | null;
80339
+ lng: number | null;
80340
+ place_id: string | null;
80341
+ raw_address: string;
80342
+ resolved_at: string | null;
80343
+ status: string;
80344
+ updated_at: string;
80345
+ };
80346
+ Insert: {
80347
+ address_hash: string;
80348
+ created_at?: string;
80349
+ error_reason?: string | null;
80350
+ formatted_address?: string | null;
80351
+ id?: string;
80352
+ lat?: number | null;
80353
+ lng?: number | null;
80354
+ place_id?: string | null;
80355
+ raw_address: string;
80356
+ resolved_at?: string | null;
80357
+ status?: string;
80358
+ updated_at?: string;
80359
+ };
80360
+ Update: {
80361
+ address_hash?: string;
80362
+ created_at?: string;
80363
+ error_reason?: string | null;
80364
+ formatted_address?: string | null;
80365
+ id?: string;
80366
+ lat?: number | null;
80367
+ lng?: number | null;
80368
+ place_id?: string | null;
80369
+ raw_address?: string;
80370
+ resolved_at?: string | null;
80371
+ status?: string;
80372
+ updated_at?: string;
80373
+ };
80374
+ Relationships: [];
80375
+ };
80376
+ maps_request_queue: {
80377
+ Row: {
80378
+ attempts: number;
80379
+ created_at: string;
80380
+ destination_hash: string | null;
80381
+ id: string;
80382
+ kind: string;
80383
+ last_error: string | null;
80384
+ mode: string;
80385
+ origin_hash: string | null;
80386
+ processed_at: string | null;
80387
+ raw_destination: string | null;
80388
+ raw_origin: string | null;
80389
+ requested_by: string | null;
80390
+ status: string;
80391
+ updated_at: string;
80392
+ };
80393
+ Insert: {
80394
+ attempts?: number;
80395
+ created_at?: string;
80396
+ destination_hash?: string | null;
80397
+ id?: string;
80398
+ kind: string;
80399
+ last_error?: string | null;
80400
+ mode?: string;
80401
+ origin_hash?: string | null;
80402
+ processed_at?: string | null;
80403
+ raw_destination?: string | null;
80404
+ raw_origin?: string | null;
80405
+ requested_by?: string | null;
80406
+ status?: string;
80407
+ updated_at?: string;
80408
+ };
80409
+ Update: {
80410
+ attempts?: number;
80411
+ created_at?: string;
80412
+ destination_hash?: string | null;
80413
+ id?: string;
80414
+ kind?: string;
80415
+ last_error?: string | null;
80416
+ mode?: string;
80417
+ origin_hash?: string | null;
80418
+ processed_at?: string | null;
80419
+ raw_destination?: string | null;
80420
+ raw_origin?: string | null;
80421
+ requested_by?: string | null;
80422
+ status?: string;
80423
+ updated_at?: string;
80424
+ };
80425
+ Relationships: [];
80426
+ };
80427
+ maps_settings: {
80428
+ Row: {
80429
+ allow_estimate_fallback: boolean;
80430
+ cache_ttl_days: number;
80431
+ created_at: string;
80432
+ daily_call_limit: number;
80433
+ id: string;
80434
+ last_error: string | null;
80435
+ last_error_at: string | null;
80436
+ last_success_at: string | null;
80437
+ updated_at: string;
80438
+ };
80439
+ Insert: {
80440
+ allow_estimate_fallback?: boolean;
80441
+ cache_ttl_days?: number;
80442
+ created_at?: string;
80443
+ daily_call_limit?: number;
80444
+ id?: string;
80445
+ last_error?: string | null;
80446
+ last_error_at?: string | null;
80447
+ last_success_at?: string | null;
80448
+ updated_at?: string;
80449
+ };
80450
+ Update: {
80451
+ allow_estimate_fallback?: boolean;
80452
+ cache_ttl_days?: number;
80453
+ created_at?: string;
80454
+ daily_call_limit?: number;
80455
+ id?: string;
80456
+ last_error?: string | null;
80457
+ last_error_at?: string | null;
80458
+ last_success_at?: string | null;
80459
+ updated_at?: string;
80460
+ };
80461
+ Relationships: [];
80462
+ };
80463
+ maps_travel_times: {
80464
+ Row: {
80465
+ created_at: string;
80466
+ destination_id: string;
80467
+ distance_m: number | null;
80468
+ duration_sec: number;
80469
+ expires_at: string;
80470
+ id: string;
80471
+ mode: string;
80472
+ origin_id: string;
80473
+ source: string;
80474
+ updated_at: string;
80475
+ };
80476
+ Insert: {
80477
+ created_at?: string;
80478
+ destination_id: string;
80479
+ distance_m?: number | null;
80480
+ duration_sec: number;
80481
+ expires_at?: string;
80482
+ id?: string;
80483
+ mode?: string;
80484
+ origin_id: string;
80485
+ source?: string;
80486
+ updated_at?: string;
80487
+ };
80488
+ Update: {
80489
+ created_at?: string;
80490
+ destination_id?: string;
80491
+ distance_m?: number | null;
80492
+ duration_sec?: number;
80493
+ expires_at?: string;
80494
+ id?: string;
80495
+ mode?: string;
80496
+ origin_id?: string;
80497
+ source?: string;
80498
+ updated_at?: string;
80499
+ };
80500
+ Relationships: [{
80501
+ foreignKeyName: "maps_travel_times_destination_id_fkey";
80502
+ columns: ["destination_id"];
80503
+ isOneToOne: false;
80504
+ referencedRelation: "maps_addresses";
80505
+ referencedColumns: ["id"];
80506
+ }, {
80507
+ foreignKeyName: "maps_travel_times_origin_id_fkey";
80508
+ columns: ["origin_id"];
80509
+ isOneToOne: false;
80510
+ referencedRelation: "maps_addresses";
80511
+ referencedColumns: ["id"];
80512
+ }];
80513
+ };
80514
+ maps_usage_log: {
80515
+ Row: {
80516
+ cache_hits: number;
80517
+ call_type: string;
80518
+ created_at: string;
80519
+ day: string;
80520
+ detail: string | null;
80521
+ elements: number;
80522
+ id: string;
80523
+ outcome: string;
80524
+ };
80525
+ Insert: {
80526
+ cache_hits?: number;
80527
+ call_type: string;
80528
+ created_at?: string;
80529
+ day?: string;
80530
+ detail?: string | null;
80531
+ elements?: number;
80532
+ id?: string;
80533
+ outcome?: string;
80534
+ };
80535
+ Update: {
80536
+ cache_hits?: number;
80537
+ call_type?: string;
80538
+ created_at?: string;
80539
+ day?: string;
80540
+ detail?: string | null;
80541
+ elements?: number;
80542
+ id?: string;
80543
+ outcome?: string;
80544
+ };
80545
+ Relationships: [];
80546
+ };
79497
80547
  material_usage: {
79498
80548
  Row: {
79499
80549
  created_at: string;
@@ -87423,6 +88473,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87423
88473
  werkbon_package_items: {
87424
88474
  Row: {
87425
88475
  article_number: string | null;
88476
+ artikel_id: string | null;
87426
88477
  created_at: string;
87427
88478
  gtin: string | null;
87428
88479
  id: string;
@@ -87440,6 +88491,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87440
88491
  };
87441
88492
  Insert: {
87442
88493
  article_number?: string | null;
88494
+ artikel_id?: string | null;
87443
88495
  created_at?: string;
87444
88496
  gtin?: string | null;
87445
88497
  id?: string;
@@ -87457,6 +88509,7 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87457
88509
  };
87458
88510
  Update: {
87459
88511
  article_number?: string | null;
88512
+ artikel_id?: string | null;
87460
88513
  created_at?: string;
87461
88514
  gtin?: string | null;
87462
88515
  id?: string;
@@ -87473,6 +88526,12 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
87473
88526
  updated_at?: string;
87474
88527
  };
87475
88528
  Relationships: [{
88529
+ foreignKeyName: "werkbon_package_items_artikel_id_fkey";
88530
+ columns: ["artikel_id"];
88531
+ isOneToOne: false;
88532
+ referencedRelation: "artikelen_cache";
88533
+ referencedColumns: ["id"];
88534
+ }, {
87476
88535
  foreignKeyName: "werkbon_package_items_package_id_fkey";
87477
88536
  columns: ["package_id"];
87478
88537
  isOneToOne: false;
@@ -88695,6 +89754,20 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
88695
89754
  referencedColumns: ["id"];
88696
89755
  }];
88697
89756
  };
89757
+ v_werkbon_totalen: {
89758
+ Row: {
89759
+ packages_cents: number | null;
89760
+ packages_minutes: number | null;
89761
+ werkbon_id: string | null;
89762
+ };
89763
+ Relationships: [{
89764
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
89765
+ columns: ["werkbon_id"];
89766
+ isOneToOne: false;
89767
+ referencedRelation: "werkbonnen";
89768
+ referencedColumns: ["id"];
89769
+ }];
89770
+ };
88698
89771
  };
88699
89772
  Functions: {
88700
89773
  _floriday_schedule_job: {
@@ -90631,6 +91704,25 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90631
91704
  };
90632
91705
  Returns: string;
90633
91706
  };
91707
+ pakket_suggesties_voor_tekst: {
91708
+ Args: {
91709
+ _tekst: string;
91710
+ };
91711
+ Returns: {
91712
+ hit_type: string;
91713
+ package_id: string;
91714
+ priority: number;
91715
+ }[];
91716
+ };
91717
+ pakket_voor_reistijd: {
91718
+ Args: {
91719
+ _minuten: number;
91720
+ };
91721
+ Returns: {
91722
+ package_id: string;
91723
+ priority: number;
91724
+ }[];
91725
+ };
90634
91726
  pick_active_printers: {
90635
91727
  Args: never;
90636
91728
  Returns: {
@@ -90839,6 +91931,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90839
91931
  omschrijving: string;
90840
91932
  }[];
90841
91933
  };
91934
+ pick_reference_data_status: {
91935
+ Args: never;
91936
+ Returns: import("../integrations/supabase/types.js").Json;
91937
+ };
90842
91938
  pick_release_expired_locks: {
90843
91939
  Args: never;
90844
91940
  Returns: number;
@@ -90903,6 +91999,10 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
90903
91999
  isSetofReturn: false;
90904
92000
  };
90905
92001
  };
92002
+ pick_seed_reference_data: {
92003
+ Args: never;
92004
+ Returns: import("../integrations/supabase/types.js").Json;
92005
+ };
90906
92006
  pick_set_station_print_plek: {
90907
92007
  Args: {
90908
92008
  _print_plek_id: string;
@@ -91681,6 +92781,18 @@ export declare const netwerkComputers: import("@tanstack/start-client-core").Opt
91681
92781
  Args: never;
91682
92782
  Returns: string;
91683
92783
  };
92784
+ werkbon_totalen: {
92785
+ Args: {
92786
+ _werkbon_id: string;
92787
+ };
92788
+ Returns: {
92789
+ materials_cents: number;
92790
+ packages_cents: number;
92791
+ packages_minutes: number;
92792
+ total_cents: number;
92793
+ total_minutes: number;
92794
+ }[];
92795
+ };
91684
92796
  wo_create_from_source: {
91685
92797
  Args: {
91686
92798
  _payload?: import("../integrations/supabase/types.js").Json;