@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
|
@@ -10978,6 +10978,225 @@ export type Database = {
|
|
|
10978
10978
|
};
|
|
10979
10979
|
Relationships: [];
|
|
10980
10980
|
};
|
|
10981
|
+
maps_addresses: {
|
|
10982
|
+
Row: {
|
|
10983
|
+
address_hash: string;
|
|
10984
|
+
created_at: string;
|
|
10985
|
+
error_reason: string | null;
|
|
10986
|
+
formatted_address: string | null;
|
|
10987
|
+
id: string;
|
|
10988
|
+
lat: number | null;
|
|
10989
|
+
lng: number | null;
|
|
10990
|
+
place_id: string | null;
|
|
10991
|
+
raw_address: string;
|
|
10992
|
+
resolved_at: string | null;
|
|
10993
|
+
status: string;
|
|
10994
|
+
updated_at: string;
|
|
10995
|
+
};
|
|
10996
|
+
Insert: {
|
|
10997
|
+
address_hash: string;
|
|
10998
|
+
created_at?: string;
|
|
10999
|
+
error_reason?: string | null;
|
|
11000
|
+
formatted_address?: string | null;
|
|
11001
|
+
id?: string;
|
|
11002
|
+
lat?: number | null;
|
|
11003
|
+
lng?: number | null;
|
|
11004
|
+
place_id?: string | null;
|
|
11005
|
+
raw_address: string;
|
|
11006
|
+
resolved_at?: string | null;
|
|
11007
|
+
status?: string;
|
|
11008
|
+
updated_at?: string;
|
|
11009
|
+
};
|
|
11010
|
+
Update: {
|
|
11011
|
+
address_hash?: string;
|
|
11012
|
+
created_at?: string;
|
|
11013
|
+
error_reason?: string | null;
|
|
11014
|
+
formatted_address?: string | null;
|
|
11015
|
+
id?: string;
|
|
11016
|
+
lat?: number | null;
|
|
11017
|
+
lng?: number | null;
|
|
11018
|
+
place_id?: string | null;
|
|
11019
|
+
raw_address?: string;
|
|
11020
|
+
resolved_at?: string | null;
|
|
11021
|
+
status?: string;
|
|
11022
|
+
updated_at?: string;
|
|
11023
|
+
};
|
|
11024
|
+
Relationships: [];
|
|
11025
|
+
};
|
|
11026
|
+
maps_request_queue: {
|
|
11027
|
+
Row: {
|
|
11028
|
+
attempts: number;
|
|
11029
|
+
created_at: string;
|
|
11030
|
+
destination_hash: string | null;
|
|
11031
|
+
id: string;
|
|
11032
|
+
kind: string;
|
|
11033
|
+
last_error: string | null;
|
|
11034
|
+
mode: string;
|
|
11035
|
+
origin_hash: string | null;
|
|
11036
|
+
processed_at: string | null;
|
|
11037
|
+
raw_destination: string | null;
|
|
11038
|
+
raw_origin: string | null;
|
|
11039
|
+
requested_by: string | null;
|
|
11040
|
+
status: string;
|
|
11041
|
+
updated_at: string;
|
|
11042
|
+
};
|
|
11043
|
+
Insert: {
|
|
11044
|
+
attempts?: number;
|
|
11045
|
+
created_at?: string;
|
|
11046
|
+
destination_hash?: string | null;
|
|
11047
|
+
id?: string;
|
|
11048
|
+
kind: string;
|
|
11049
|
+
last_error?: string | null;
|
|
11050
|
+
mode?: string;
|
|
11051
|
+
origin_hash?: string | null;
|
|
11052
|
+
processed_at?: string | null;
|
|
11053
|
+
raw_destination?: string | null;
|
|
11054
|
+
raw_origin?: string | null;
|
|
11055
|
+
requested_by?: string | null;
|
|
11056
|
+
status?: string;
|
|
11057
|
+
updated_at?: string;
|
|
11058
|
+
};
|
|
11059
|
+
Update: {
|
|
11060
|
+
attempts?: number;
|
|
11061
|
+
created_at?: string;
|
|
11062
|
+
destination_hash?: string | null;
|
|
11063
|
+
id?: string;
|
|
11064
|
+
kind?: string;
|
|
11065
|
+
last_error?: string | null;
|
|
11066
|
+
mode?: string;
|
|
11067
|
+
origin_hash?: string | null;
|
|
11068
|
+
processed_at?: string | null;
|
|
11069
|
+
raw_destination?: string | null;
|
|
11070
|
+
raw_origin?: string | null;
|
|
11071
|
+
requested_by?: string | null;
|
|
11072
|
+
status?: string;
|
|
11073
|
+
updated_at?: string;
|
|
11074
|
+
};
|
|
11075
|
+
Relationships: [];
|
|
11076
|
+
};
|
|
11077
|
+
maps_settings: {
|
|
11078
|
+
Row: {
|
|
11079
|
+
allow_estimate_fallback: boolean;
|
|
11080
|
+
cache_ttl_days: number;
|
|
11081
|
+
created_at: string;
|
|
11082
|
+
daily_call_limit: number;
|
|
11083
|
+
id: string;
|
|
11084
|
+
last_error: string | null;
|
|
11085
|
+
last_error_at: string | null;
|
|
11086
|
+
last_success_at: string | null;
|
|
11087
|
+
updated_at: string;
|
|
11088
|
+
};
|
|
11089
|
+
Insert: {
|
|
11090
|
+
allow_estimate_fallback?: boolean;
|
|
11091
|
+
cache_ttl_days?: number;
|
|
11092
|
+
created_at?: string;
|
|
11093
|
+
daily_call_limit?: number;
|
|
11094
|
+
id?: string;
|
|
11095
|
+
last_error?: string | null;
|
|
11096
|
+
last_error_at?: string | null;
|
|
11097
|
+
last_success_at?: string | null;
|
|
11098
|
+
updated_at?: string;
|
|
11099
|
+
};
|
|
11100
|
+
Update: {
|
|
11101
|
+
allow_estimate_fallback?: boolean;
|
|
11102
|
+
cache_ttl_days?: number;
|
|
11103
|
+
created_at?: string;
|
|
11104
|
+
daily_call_limit?: number;
|
|
11105
|
+
id?: string;
|
|
11106
|
+
last_error?: string | null;
|
|
11107
|
+
last_error_at?: string | null;
|
|
11108
|
+
last_success_at?: string | null;
|
|
11109
|
+
updated_at?: string;
|
|
11110
|
+
};
|
|
11111
|
+
Relationships: [];
|
|
11112
|
+
};
|
|
11113
|
+
maps_travel_times: {
|
|
11114
|
+
Row: {
|
|
11115
|
+
created_at: string;
|
|
11116
|
+
destination_id: string;
|
|
11117
|
+
distance_m: number | null;
|
|
11118
|
+
duration_sec: number;
|
|
11119
|
+
expires_at: string;
|
|
11120
|
+
id: string;
|
|
11121
|
+
mode: string;
|
|
11122
|
+
origin_id: string;
|
|
11123
|
+
source: string;
|
|
11124
|
+
updated_at: string;
|
|
11125
|
+
};
|
|
11126
|
+
Insert: {
|
|
11127
|
+
created_at?: string;
|
|
11128
|
+
destination_id: string;
|
|
11129
|
+
distance_m?: number | null;
|
|
11130
|
+
duration_sec: number;
|
|
11131
|
+
expires_at?: string;
|
|
11132
|
+
id?: string;
|
|
11133
|
+
mode?: string;
|
|
11134
|
+
origin_id: string;
|
|
11135
|
+
source?: string;
|
|
11136
|
+
updated_at?: string;
|
|
11137
|
+
};
|
|
11138
|
+
Update: {
|
|
11139
|
+
created_at?: string;
|
|
11140
|
+
destination_id?: string;
|
|
11141
|
+
distance_m?: number | null;
|
|
11142
|
+
duration_sec?: number;
|
|
11143
|
+
expires_at?: string;
|
|
11144
|
+
id?: string;
|
|
11145
|
+
mode?: string;
|
|
11146
|
+
origin_id?: string;
|
|
11147
|
+
source?: string;
|
|
11148
|
+
updated_at?: string;
|
|
11149
|
+
};
|
|
11150
|
+
Relationships: [
|
|
11151
|
+
{
|
|
11152
|
+
foreignKeyName: "maps_travel_times_destination_id_fkey";
|
|
11153
|
+
columns: ["destination_id"];
|
|
11154
|
+
isOneToOne: false;
|
|
11155
|
+
referencedRelation: "maps_addresses";
|
|
11156
|
+
referencedColumns: ["id"];
|
|
11157
|
+
},
|
|
11158
|
+
{
|
|
11159
|
+
foreignKeyName: "maps_travel_times_origin_id_fkey";
|
|
11160
|
+
columns: ["origin_id"];
|
|
11161
|
+
isOneToOne: false;
|
|
11162
|
+
referencedRelation: "maps_addresses";
|
|
11163
|
+
referencedColumns: ["id"];
|
|
11164
|
+
}
|
|
11165
|
+
];
|
|
11166
|
+
};
|
|
11167
|
+
maps_usage_log: {
|
|
11168
|
+
Row: {
|
|
11169
|
+
cache_hits: number;
|
|
11170
|
+
call_type: string;
|
|
11171
|
+
created_at: string;
|
|
11172
|
+
day: string;
|
|
11173
|
+
detail: string | null;
|
|
11174
|
+
elements: number;
|
|
11175
|
+
id: string;
|
|
11176
|
+
outcome: string;
|
|
11177
|
+
};
|
|
11178
|
+
Insert: {
|
|
11179
|
+
cache_hits?: number;
|
|
11180
|
+
call_type: string;
|
|
11181
|
+
created_at?: string;
|
|
11182
|
+
day?: string;
|
|
11183
|
+
detail?: string | null;
|
|
11184
|
+
elements?: number;
|
|
11185
|
+
id?: string;
|
|
11186
|
+
outcome?: string;
|
|
11187
|
+
};
|
|
11188
|
+
Update: {
|
|
11189
|
+
cache_hits?: number;
|
|
11190
|
+
call_type?: string;
|
|
11191
|
+
created_at?: string;
|
|
11192
|
+
day?: string;
|
|
11193
|
+
detail?: string | null;
|
|
11194
|
+
elements?: number;
|
|
11195
|
+
id?: string;
|
|
11196
|
+
outcome?: string;
|
|
11197
|
+
};
|
|
11198
|
+
Relationships: [];
|
|
11199
|
+
};
|
|
10981
11200
|
material_usage: {
|
|
10982
11201
|
Row: {
|
|
10983
11202
|
created_at: string;
|
|
@@ -19133,6 +19352,7 @@ export type Database = {
|
|
|
19133
19352
|
werkbon_package_items: {
|
|
19134
19353
|
Row: {
|
|
19135
19354
|
article_number: string | null;
|
|
19355
|
+
artikel_id: string | null;
|
|
19136
19356
|
created_at: string;
|
|
19137
19357
|
gtin: string | null;
|
|
19138
19358
|
id: string;
|
|
@@ -19150,6 +19370,7 @@ export type Database = {
|
|
|
19150
19370
|
};
|
|
19151
19371
|
Insert: {
|
|
19152
19372
|
article_number?: string | null;
|
|
19373
|
+
artikel_id?: string | null;
|
|
19153
19374
|
created_at?: string;
|
|
19154
19375
|
gtin?: string | null;
|
|
19155
19376
|
id?: string;
|
|
@@ -19167,6 +19388,7 @@ export type Database = {
|
|
|
19167
19388
|
};
|
|
19168
19389
|
Update: {
|
|
19169
19390
|
article_number?: string | null;
|
|
19391
|
+
artikel_id?: string | null;
|
|
19170
19392
|
created_at?: string;
|
|
19171
19393
|
gtin?: string | null;
|
|
19172
19394
|
id?: string;
|
|
@@ -19183,6 +19405,13 @@ export type Database = {
|
|
|
19183
19405
|
updated_at?: string;
|
|
19184
19406
|
};
|
|
19185
19407
|
Relationships: [
|
|
19408
|
+
{
|
|
19409
|
+
foreignKeyName: "werkbon_package_items_artikel_id_fkey";
|
|
19410
|
+
columns: ["artikel_id"];
|
|
19411
|
+
isOneToOne: false;
|
|
19412
|
+
referencedRelation: "artikelen_cache";
|
|
19413
|
+
referencedColumns: ["id"];
|
|
19414
|
+
},
|
|
19186
19415
|
{
|
|
19187
19416
|
foreignKeyName: "werkbon_package_items_package_id_fkey";
|
|
19188
19417
|
columns: ["package_id"];
|
|
@@ -20444,6 +20673,22 @@ export type Database = {
|
|
|
20444
20673
|
}
|
|
20445
20674
|
];
|
|
20446
20675
|
};
|
|
20676
|
+
v_werkbon_totalen: {
|
|
20677
|
+
Row: {
|
|
20678
|
+
packages_cents: number | null;
|
|
20679
|
+
packages_minutes: number | null;
|
|
20680
|
+
werkbon_id: string | null;
|
|
20681
|
+
};
|
|
20682
|
+
Relationships: [
|
|
20683
|
+
{
|
|
20684
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
20685
|
+
columns: ["werkbon_id"];
|
|
20686
|
+
isOneToOne: false;
|
|
20687
|
+
referencedRelation: "werkbonnen";
|
|
20688
|
+
referencedColumns: ["id"];
|
|
20689
|
+
}
|
|
20690
|
+
];
|
|
20691
|
+
};
|
|
20447
20692
|
};
|
|
20448
20693
|
Functions: {
|
|
20449
20694
|
_floriday_schedule_job: {
|
|
@@ -22380,6 +22625,25 @@ export type Database = {
|
|
|
22380
22625
|
};
|
|
22381
22626
|
Returns: string;
|
|
22382
22627
|
};
|
|
22628
|
+
pakket_suggesties_voor_tekst: {
|
|
22629
|
+
Args: {
|
|
22630
|
+
_tekst: string;
|
|
22631
|
+
};
|
|
22632
|
+
Returns: {
|
|
22633
|
+
hit_type: string;
|
|
22634
|
+
package_id: string;
|
|
22635
|
+
priority: number;
|
|
22636
|
+
}[];
|
|
22637
|
+
};
|
|
22638
|
+
pakket_voor_reistijd: {
|
|
22639
|
+
Args: {
|
|
22640
|
+
_minuten: number;
|
|
22641
|
+
};
|
|
22642
|
+
Returns: {
|
|
22643
|
+
package_id: string;
|
|
22644
|
+
priority: number;
|
|
22645
|
+
}[];
|
|
22646
|
+
};
|
|
22383
22647
|
pick_active_printers: {
|
|
22384
22648
|
Args: never;
|
|
22385
22649
|
Returns: {
|
|
@@ -22588,6 +22852,10 @@ export type Database = {
|
|
|
22588
22852
|
omschrijving: string;
|
|
22589
22853
|
}[];
|
|
22590
22854
|
};
|
|
22855
|
+
pick_reference_data_status: {
|
|
22856
|
+
Args: never;
|
|
22857
|
+
Returns: Json;
|
|
22858
|
+
};
|
|
22591
22859
|
pick_release_expired_locks: {
|
|
22592
22860
|
Args: never;
|
|
22593
22861
|
Returns: number;
|
|
@@ -22652,6 +22920,10 @@ export type Database = {
|
|
|
22652
22920
|
isSetofReturn: false;
|
|
22653
22921
|
};
|
|
22654
22922
|
};
|
|
22923
|
+
pick_seed_reference_data: {
|
|
22924
|
+
Args: never;
|
|
22925
|
+
Returns: Json;
|
|
22926
|
+
};
|
|
22655
22927
|
pick_set_station_print_plek: {
|
|
22656
22928
|
Args: {
|
|
22657
22929
|
_print_plek_id: string;
|
|
@@ -23430,6 +23702,18 @@ export type Database = {
|
|
|
23430
23702
|
Args: never;
|
|
23431
23703
|
Returns: string;
|
|
23432
23704
|
};
|
|
23705
|
+
werkbon_totalen: {
|
|
23706
|
+
Args: {
|
|
23707
|
+
_werkbon_id: string;
|
|
23708
|
+
};
|
|
23709
|
+
Returns: {
|
|
23710
|
+
materials_cents: number;
|
|
23711
|
+
packages_cents: number;
|
|
23712
|
+
packages_minutes: number;
|
|
23713
|
+
total_cents: number;
|
|
23714
|
+
total_minutes: number;
|
|
23715
|
+
}[];
|
|
23716
|
+
};
|
|
23433
23717
|
wo_create_from_source: {
|
|
23434
23718
|
Args: {
|
|
23435
23719
|
_payload?: Json;
|