@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.
- package/README.md +139 -139
- package/dist-lib/components/PrinterSetupWizard.js +1 -1
- package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
- package/dist-lib/components/PrintersRedirectPage.js +14 -14
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +278 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +278 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +284 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.functions.d.ts +278 -0
- package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
- package/dist-lib/lib/aiLayout.server.js +9 -9
- package/dist-lib/lib/browserPrint.js +5 -5
- package/dist-lib/lib/layoutPreview.js +7 -7
- package/dist-lib/lib/pakbonHtml.js +50 -50
- package/dist-lib/lib/printService.functions.d.ts +1220 -108
- package/dist-lib/lib/printService.functions.d.ts.map +1 -1
- package/dist-lib/lib/productiebonHtml.js +15 -15
- package/dist-lib/lib/profielHtml.js +18 -18
- package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
- package/dist-lib/lib/supabaseAdmin.server.js +43 -43
- package/dist-lib/lib/testpagina.js +1 -1
- package/dist-lib/lib/testprint.js +4 -4
- package/package.json +1 -1
|
@@ -10690,6 +10690,222 @@ export declare const supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22035
22293
|
omschrijving: string;
|
|
22036
22294
|
}[];
|
|
22037
22295
|
};
|
|
22296
|
+
pick_reference_data_status: {
|
|
22297
|
+
Args: never;
|
|
22298
|
+
Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
22099
22361
|
isSetofReturn: false;
|
|
22100
22362
|
};
|
|
22101
22363
|
};
|
|
22364
|
+
pick_seed_reference_data: {
|
|
22365
|
+
Args: never;
|
|
22366
|
+
Returns: import("./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 supabaseAdmin: import("@supabase/supabase-js").SupabaseClie
|
|
|
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("./types.js").Json;
|