@flowselections/logistiek-engine 1.0.113 → 1.0.117
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/dist-lib/integrations/supabase/types.d.ts +502 -2
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts +47 -0
- package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
- package/dist-lib/lib/loadCarrierPlanning.server.js +181 -220
- package/dist-lib/lib/modulePrompts.d.ts.map +1 -1
- package/dist-lib/lib/modulePrompts.js +140 -0
- package/dist-lib/lib/moduleVersion.d.ts +1 -1
- package/dist-lib/lib/moduleVersion.js +1 -1
- package/package.json +1 -1
|
@@ -7337,7 +7337,22 @@ export type Database = {
|
|
|
7337
7337
|
updated_by?: string | null;
|
|
7338
7338
|
user_id?: string;
|
|
7339
7339
|
};
|
|
7340
|
-
Relationships: [
|
|
7340
|
+
Relationships: [
|
|
7341
|
+
{
|
|
7342
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7343
|
+
columns: ["product_id"];
|
|
7344
|
+
isOneToOne: false;
|
|
7345
|
+
referencedRelation: "logistics_product_dimensions";
|
|
7346
|
+
referencedColumns: ["product_id"];
|
|
7347
|
+
},
|
|
7348
|
+
{
|
|
7349
|
+
foreignKeyName: "floriday_inventory_settings_product_id_fkey";
|
|
7350
|
+
columns: ["product_id"];
|
|
7351
|
+
isOneToOne: false;
|
|
7352
|
+
referencedRelation: "products";
|
|
7353
|
+
referencedColumns: ["id"];
|
|
7354
|
+
}
|
|
7355
|
+
];
|
|
7341
7356
|
};
|
|
7342
7357
|
floriday_invoices_cache: {
|
|
7343
7358
|
Row: {
|
|
@@ -7686,6 +7701,39 @@ export type Database = {
|
|
|
7686
7701
|
}
|
|
7687
7702
|
];
|
|
7688
7703
|
};
|
|
7704
|
+
floriday_queue_cleanup_runs: {
|
|
7705
|
+
Row: {
|
|
7706
|
+
created_at: string;
|
|
7707
|
+
deleted: Json;
|
|
7708
|
+
error: string | null;
|
|
7709
|
+
finished_at: string | null;
|
|
7710
|
+
id: string;
|
|
7711
|
+
more_remaining: boolean;
|
|
7712
|
+
orphan_settings: number | null;
|
|
7713
|
+
started_at: string;
|
|
7714
|
+
};
|
|
7715
|
+
Insert: {
|
|
7716
|
+
created_at?: string;
|
|
7717
|
+
deleted?: Json;
|
|
7718
|
+
error?: string | null;
|
|
7719
|
+
finished_at?: string | null;
|
|
7720
|
+
id?: string;
|
|
7721
|
+
more_remaining?: boolean;
|
|
7722
|
+
orphan_settings?: number | null;
|
|
7723
|
+
started_at?: string;
|
|
7724
|
+
};
|
|
7725
|
+
Update: {
|
|
7726
|
+
created_at?: string;
|
|
7727
|
+
deleted?: Json;
|
|
7728
|
+
error?: string | null;
|
|
7729
|
+
finished_at?: string | null;
|
|
7730
|
+
id?: string;
|
|
7731
|
+
more_remaining?: boolean;
|
|
7732
|
+
orphan_settings?: number | null;
|
|
7733
|
+
started_at?: string;
|
|
7734
|
+
};
|
|
7735
|
+
Relationships: [];
|
|
7736
|
+
};
|
|
7689
7737
|
floriday_rate_limit_state: {
|
|
7690
7738
|
Row: {
|
|
7691
7739
|
bucket: string;
|
|
@@ -8844,22 +8892,55 @@ export type Database = {
|
|
|
8844
8892
|
Row: {
|
|
8845
8893
|
drain_batch: number;
|
|
8846
8894
|
id: boolean;
|
|
8895
|
+
import_chunk_size: number;
|
|
8896
|
+
import_max_bytes: number;
|
|
8897
|
+
import_max_rows: number;
|
|
8898
|
+
import_new_chunk_size: number;
|
|
8899
|
+
import_retention_days: number;
|
|
8847
8900
|
max_ms_inline: number;
|
|
8848
8901
|
max_parents_inline: number;
|
|
8902
|
+
queue_cleanup_batch: number;
|
|
8903
|
+
queue_cleanup_max_batches: number;
|
|
8904
|
+
queue_failed_days: number;
|
|
8905
|
+
queue_sent_days: number;
|
|
8906
|
+
queue_skipped_days: number;
|
|
8907
|
+
queue_superseded_days: number;
|
|
8849
8908
|
updated_at: string;
|
|
8850
8909
|
};
|
|
8851
8910
|
Insert: {
|
|
8852
8911
|
drain_batch?: number;
|
|
8853
8912
|
id?: boolean;
|
|
8913
|
+
import_chunk_size?: number;
|
|
8914
|
+
import_max_bytes?: number;
|
|
8915
|
+
import_max_rows?: number;
|
|
8916
|
+
import_new_chunk_size?: number;
|
|
8917
|
+
import_retention_days?: number;
|
|
8854
8918
|
max_ms_inline?: number;
|
|
8855
8919
|
max_parents_inline?: number;
|
|
8920
|
+
queue_cleanup_batch?: number;
|
|
8921
|
+
queue_cleanup_max_batches?: number;
|
|
8922
|
+
queue_failed_days?: number;
|
|
8923
|
+
queue_sent_days?: number;
|
|
8924
|
+
queue_skipped_days?: number;
|
|
8925
|
+
queue_superseded_days?: number;
|
|
8856
8926
|
updated_at?: string;
|
|
8857
8927
|
};
|
|
8858
8928
|
Update: {
|
|
8859
8929
|
drain_batch?: number;
|
|
8860
8930
|
id?: boolean;
|
|
8931
|
+
import_chunk_size?: number;
|
|
8932
|
+
import_max_bytes?: number;
|
|
8933
|
+
import_max_rows?: number;
|
|
8934
|
+
import_new_chunk_size?: number;
|
|
8935
|
+
import_retention_days?: number;
|
|
8861
8936
|
max_ms_inline?: number;
|
|
8862
8937
|
max_parents_inline?: number;
|
|
8938
|
+
queue_cleanup_batch?: number;
|
|
8939
|
+
queue_cleanup_max_batches?: number;
|
|
8940
|
+
queue_failed_days?: number;
|
|
8941
|
+
queue_sent_days?: number;
|
|
8942
|
+
queue_skipped_days?: number;
|
|
8943
|
+
queue_superseded_days?: number;
|
|
8863
8944
|
updated_at?: string;
|
|
8864
8945
|
};
|
|
8865
8946
|
Relationships: [];
|
|
@@ -11092,6 +11173,69 @@ export type Database = {
|
|
|
11092
11173
|
};
|
|
11093
11174
|
Relationships: [];
|
|
11094
11175
|
};
|
|
11176
|
+
logistics_allocation_fingerprint: {
|
|
11177
|
+
Row: {
|
|
11178
|
+
created_at: string;
|
|
11179
|
+
fingerprint: string;
|
|
11180
|
+
last_replan_at: string | null;
|
|
11181
|
+
order_id: string;
|
|
11182
|
+
pending_since: string | null;
|
|
11183
|
+
updated_at: string;
|
|
11184
|
+
};
|
|
11185
|
+
Insert: {
|
|
11186
|
+
created_at?: string;
|
|
11187
|
+
fingerprint: string;
|
|
11188
|
+
last_replan_at?: string | null;
|
|
11189
|
+
order_id: string;
|
|
11190
|
+
pending_since?: string | null;
|
|
11191
|
+
updated_at?: string;
|
|
11192
|
+
};
|
|
11193
|
+
Update: {
|
|
11194
|
+
created_at?: string;
|
|
11195
|
+
fingerprint?: string;
|
|
11196
|
+
last_replan_at?: string | null;
|
|
11197
|
+
order_id?: string;
|
|
11198
|
+
pending_since?: string | null;
|
|
11199
|
+
updated_at?: string;
|
|
11200
|
+
};
|
|
11201
|
+
Relationships: [];
|
|
11202
|
+
};
|
|
11203
|
+
logistics_autolink_audit: {
|
|
11204
|
+
Row: {
|
|
11205
|
+
created_at: string;
|
|
11206
|
+
id: string;
|
|
11207
|
+
match_type: string;
|
|
11208
|
+
order_id: string | null;
|
|
11209
|
+
order_item_id: string | null;
|
|
11210
|
+
order_source: string | null;
|
|
11211
|
+
product_floriday_id: string | null;
|
|
11212
|
+
product_id: string | null;
|
|
11213
|
+
product_name: string | null;
|
|
11214
|
+
};
|
|
11215
|
+
Insert: {
|
|
11216
|
+
created_at?: string;
|
|
11217
|
+
id?: string;
|
|
11218
|
+
match_type: string;
|
|
11219
|
+
order_id?: string | null;
|
|
11220
|
+
order_item_id?: string | null;
|
|
11221
|
+
order_source?: string | null;
|
|
11222
|
+
product_floriday_id?: string | null;
|
|
11223
|
+
product_id?: string | null;
|
|
11224
|
+
product_name?: string | null;
|
|
11225
|
+
};
|
|
11226
|
+
Update: {
|
|
11227
|
+
created_at?: string;
|
|
11228
|
+
id?: string;
|
|
11229
|
+
match_type?: string;
|
|
11230
|
+
order_id?: string | null;
|
|
11231
|
+
order_item_id?: string | null;
|
|
11232
|
+
order_source?: string | null;
|
|
11233
|
+
product_floriday_id?: string | null;
|
|
11234
|
+
product_id?: string | null;
|
|
11235
|
+
product_name?: string | null;
|
|
11236
|
+
};
|
|
11237
|
+
Relationships: [];
|
|
11238
|
+
};
|
|
11095
11239
|
logistics_base_url_checks: {
|
|
11096
11240
|
Row: {
|
|
11097
11241
|
candidate_host: string | null;
|
|
@@ -12671,6 +12815,7 @@ export type Database = {
|
|
|
12671
12815
|
created_at: string;
|
|
12672
12816
|
group_id: string | null;
|
|
12673
12817
|
id: string;
|
|
12818
|
+
line_qty: number | null;
|
|
12674
12819
|
order_item_id: string;
|
|
12675
12820
|
qty: number;
|
|
12676
12821
|
source: string;
|
|
@@ -12682,6 +12827,7 @@ export type Database = {
|
|
|
12682
12827
|
created_at?: string;
|
|
12683
12828
|
group_id?: string | null;
|
|
12684
12829
|
id?: string;
|
|
12830
|
+
line_qty?: number | null;
|
|
12685
12831
|
order_item_id: string;
|
|
12686
12832
|
qty: number;
|
|
12687
12833
|
source: string;
|
|
@@ -12693,6 +12839,7 @@ export type Database = {
|
|
|
12693
12839
|
created_at?: string;
|
|
12694
12840
|
group_id?: string | null;
|
|
12695
12841
|
id?: string;
|
|
12842
|
+
line_qty?: number | null;
|
|
12696
12843
|
order_item_id?: string;
|
|
12697
12844
|
qty?: number;
|
|
12698
12845
|
source?: string;
|
|
@@ -15448,6 +15595,7 @@ export type Database = {
|
|
|
15448
15595
|
Row: {
|
|
15449
15596
|
boxes: number | null;
|
|
15450
15597
|
cart_id: string;
|
|
15598
|
+
components: Json | null;
|
|
15451
15599
|
crates: number;
|
|
15452
15600
|
crates_in_layer: number | null;
|
|
15453
15601
|
crates_per_layer: number;
|
|
@@ -15466,6 +15614,7 @@ export type Database = {
|
|
|
15466
15614
|
Insert: {
|
|
15467
15615
|
boxes?: number | null;
|
|
15468
15616
|
cart_id: string;
|
|
15617
|
+
components?: Json | null;
|
|
15469
15618
|
crates: number;
|
|
15470
15619
|
crates_in_layer?: number | null;
|
|
15471
15620
|
crates_per_layer?: number;
|
|
@@ -15484,6 +15633,7 @@ export type Database = {
|
|
|
15484
15633
|
Update: {
|
|
15485
15634
|
boxes?: number | null;
|
|
15486
15635
|
cart_id?: string;
|
|
15636
|
+
components?: Json | null;
|
|
15487
15637
|
crates?: number;
|
|
15488
15638
|
crates_in_layer?: number | null;
|
|
15489
15639
|
crates_per_layer?: number;
|
|
@@ -21046,43 +21196,212 @@ export type Database = {
|
|
|
21046
21196
|
};
|
|
21047
21197
|
Relationships: [];
|
|
21048
21198
|
};
|
|
21199
|
+
stock_import_chunks: {
|
|
21200
|
+
Row: {
|
|
21201
|
+
chunk_no: number;
|
|
21202
|
+
created_at: string;
|
|
21203
|
+
duration_ms: number | null;
|
|
21204
|
+
processed_at: string | null;
|
|
21205
|
+
run_id: string;
|
|
21206
|
+
status: string;
|
|
21207
|
+
undone_at: string | null;
|
|
21208
|
+
updated_at: string;
|
|
21209
|
+
};
|
|
21210
|
+
Insert: {
|
|
21211
|
+
chunk_no: number;
|
|
21212
|
+
created_at?: string;
|
|
21213
|
+
duration_ms?: number | null;
|
|
21214
|
+
processed_at?: string | null;
|
|
21215
|
+
run_id: string;
|
|
21216
|
+
status?: string;
|
|
21217
|
+
undone_at?: string | null;
|
|
21218
|
+
updated_at?: string;
|
|
21219
|
+
};
|
|
21220
|
+
Update: {
|
|
21221
|
+
chunk_no?: number;
|
|
21222
|
+
created_at?: string;
|
|
21223
|
+
duration_ms?: number | null;
|
|
21224
|
+
processed_at?: string | null;
|
|
21225
|
+
run_id?: string;
|
|
21226
|
+
status?: string;
|
|
21227
|
+
undone_at?: string | null;
|
|
21228
|
+
updated_at?: string;
|
|
21229
|
+
};
|
|
21230
|
+
Relationships: [
|
|
21231
|
+
{
|
|
21232
|
+
foreignKeyName: "stock_import_chunks_run_id_fkey";
|
|
21233
|
+
columns: ["run_id"];
|
|
21234
|
+
isOneToOne: false;
|
|
21235
|
+
referencedRelation: "stock_import_runs";
|
|
21236
|
+
referencedColumns: ["id"];
|
|
21237
|
+
}
|
|
21238
|
+
];
|
|
21239
|
+
};
|
|
21240
|
+
stock_import_rows: {
|
|
21241
|
+
Row: {
|
|
21242
|
+
article_code: string | null;
|
|
21243
|
+
article_name: string | null;
|
|
21244
|
+
chunk_no: number;
|
|
21245
|
+
connection_id: string | null;
|
|
21246
|
+
created_at: string;
|
|
21247
|
+
custom_values: Json | null;
|
|
21248
|
+
error: string | null;
|
|
21249
|
+
id: string;
|
|
21250
|
+
incoming_after: number | null;
|
|
21251
|
+
incoming_before: number | null;
|
|
21252
|
+
incoming_in: number | null;
|
|
21253
|
+
is_new: boolean;
|
|
21254
|
+
minimum_after: number | null;
|
|
21255
|
+
minimum_before: number | null;
|
|
21256
|
+
minimum_in: number | null;
|
|
21257
|
+
new_payload: Json | null;
|
|
21258
|
+
note: string | null;
|
|
21259
|
+
physical_after: number | null;
|
|
21260
|
+
physical_before: number | null;
|
|
21261
|
+
physical_in: number | null;
|
|
21262
|
+
processed_at: string | null;
|
|
21263
|
+
product_id: string | null;
|
|
21264
|
+
row_no: number;
|
|
21265
|
+
run_id: string;
|
|
21266
|
+
status: string;
|
|
21267
|
+
trade_item_key: string | null;
|
|
21268
|
+
updated_at: string;
|
|
21269
|
+
};
|
|
21270
|
+
Insert: {
|
|
21271
|
+
article_code?: string | null;
|
|
21272
|
+
article_name?: string | null;
|
|
21273
|
+
chunk_no: number;
|
|
21274
|
+
connection_id?: string | null;
|
|
21275
|
+
created_at?: string;
|
|
21276
|
+
custom_values?: Json | null;
|
|
21277
|
+
error?: string | null;
|
|
21278
|
+
id?: string;
|
|
21279
|
+
incoming_after?: number | null;
|
|
21280
|
+
incoming_before?: number | null;
|
|
21281
|
+
incoming_in?: number | null;
|
|
21282
|
+
is_new?: boolean;
|
|
21283
|
+
minimum_after?: number | null;
|
|
21284
|
+
minimum_before?: number | null;
|
|
21285
|
+
minimum_in?: number | null;
|
|
21286
|
+
new_payload?: Json | null;
|
|
21287
|
+
note?: string | null;
|
|
21288
|
+
physical_after?: number | null;
|
|
21289
|
+
physical_before?: number | null;
|
|
21290
|
+
physical_in?: number | null;
|
|
21291
|
+
processed_at?: string | null;
|
|
21292
|
+
product_id?: string | null;
|
|
21293
|
+
row_no: number;
|
|
21294
|
+
run_id: string;
|
|
21295
|
+
status?: string;
|
|
21296
|
+
trade_item_key?: string | null;
|
|
21297
|
+
updated_at?: string;
|
|
21298
|
+
};
|
|
21299
|
+
Update: {
|
|
21300
|
+
article_code?: string | null;
|
|
21301
|
+
article_name?: string | null;
|
|
21302
|
+
chunk_no?: number;
|
|
21303
|
+
connection_id?: string | null;
|
|
21304
|
+
created_at?: string;
|
|
21305
|
+
custom_values?: Json | null;
|
|
21306
|
+
error?: string | null;
|
|
21307
|
+
id?: string;
|
|
21308
|
+
incoming_after?: number | null;
|
|
21309
|
+
incoming_before?: number | null;
|
|
21310
|
+
incoming_in?: number | null;
|
|
21311
|
+
is_new?: boolean;
|
|
21312
|
+
minimum_after?: number | null;
|
|
21313
|
+
minimum_before?: number | null;
|
|
21314
|
+
minimum_in?: number | null;
|
|
21315
|
+
new_payload?: Json | null;
|
|
21316
|
+
note?: string | null;
|
|
21317
|
+
physical_after?: number | null;
|
|
21318
|
+
physical_before?: number | null;
|
|
21319
|
+
physical_in?: number | null;
|
|
21320
|
+
processed_at?: string | null;
|
|
21321
|
+
product_id?: string | null;
|
|
21322
|
+
row_no?: number;
|
|
21323
|
+
run_id?: string;
|
|
21324
|
+
status?: string;
|
|
21325
|
+
trade_item_key?: string | null;
|
|
21326
|
+
updated_at?: string;
|
|
21327
|
+
};
|
|
21328
|
+
Relationships: [
|
|
21329
|
+
{
|
|
21330
|
+
foreignKeyName: "stock_import_rows_run_id_fkey";
|
|
21331
|
+
columns: ["run_id"];
|
|
21332
|
+
isOneToOne: false;
|
|
21333
|
+
referencedRelation: "stock_import_runs";
|
|
21334
|
+
referencedColumns: ["id"];
|
|
21335
|
+
}
|
|
21336
|
+
];
|
|
21337
|
+
};
|
|
21049
21338
|
stock_import_runs: {
|
|
21050
21339
|
Row: {
|
|
21340
|
+
chunk_size: number | null;
|
|
21051
21341
|
connection_id: string | null;
|
|
21052
21342
|
created_at: string;
|
|
21053
21343
|
created_rows: number;
|
|
21344
|
+
done_chunks: number;
|
|
21054
21345
|
errors: Json;
|
|
21346
|
+
file_hash: string | null;
|
|
21055
21347
|
filename: string | null;
|
|
21348
|
+
finished_at: string | null;
|
|
21056
21349
|
id: string;
|
|
21057
21350
|
mutations: Json;
|
|
21351
|
+
rows_purged_at: string | null;
|
|
21058
21352
|
skipped_rows: number;
|
|
21353
|
+
status: string;
|
|
21354
|
+
total_chunks: number;
|
|
21059
21355
|
total_rows: number;
|
|
21356
|
+
undo_skipped_rows: number;
|
|
21357
|
+
undone_rows: number;
|
|
21358
|
+
updated_at: string;
|
|
21060
21359
|
updated_rows: number;
|
|
21061
21360
|
user_id: string;
|
|
21062
21361
|
};
|
|
21063
21362
|
Insert: {
|
|
21363
|
+
chunk_size?: number | null;
|
|
21064
21364
|
connection_id?: string | null;
|
|
21065
21365
|
created_at?: string;
|
|
21066
21366
|
created_rows?: number;
|
|
21367
|
+
done_chunks?: number;
|
|
21067
21368
|
errors?: Json;
|
|
21369
|
+
file_hash?: string | null;
|
|
21068
21370
|
filename?: string | null;
|
|
21371
|
+
finished_at?: string | null;
|
|
21069
21372
|
id?: string;
|
|
21070
21373
|
mutations?: Json;
|
|
21374
|
+
rows_purged_at?: string | null;
|
|
21071
21375
|
skipped_rows?: number;
|
|
21376
|
+
status?: string;
|
|
21377
|
+
total_chunks?: number;
|
|
21072
21378
|
total_rows?: number;
|
|
21379
|
+
undo_skipped_rows?: number;
|
|
21380
|
+
undone_rows?: number;
|
|
21381
|
+
updated_at?: string;
|
|
21073
21382
|
updated_rows?: number;
|
|
21074
21383
|
user_id: string;
|
|
21075
21384
|
};
|
|
21076
21385
|
Update: {
|
|
21386
|
+
chunk_size?: number | null;
|
|
21077
21387
|
connection_id?: string | null;
|
|
21078
21388
|
created_at?: string;
|
|
21079
21389
|
created_rows?: number;
|
|
21390
|
+
done_chunks?: number;
|
|
21080
21391
|
errors?: Json;
|
|
21392
|
+
file_hash?: string | null;
|
|
21081
21393
|
filename?: string | null;
|
|
21394
|
+
finished_at?: string | null;
|
|
21082
21395
|
id?: string;
|
|
21083
21396
|
mutations?: Json;
|
|
21397
|
+
rows_purged_at?: string | null;
|
|
21084
21398
|
skipped_rows?: number;
|
|
21399
|
+
status?: string;
|
|
21400
|
+
total_chunks?: number;
|
|
21085
21401
|
total_rows?: number;
|
|
21402
|
+
undo_skipped_rows?: number;
|
|
21403
|
+
undone_rows?: number;
|
|
21404
|
+
updated_at?: string;
|
|
21086
21405
|
updated_rows?: number;
|
|
21087
21406
|
user_id?: string;
|
|
21088
21407
|
};
|
|
@@ -26990,6 +27309,15 @@ export type Database = {
|
|
|
26990
27309
|
};
|
|
26991
27310
|
};
|
|
26992
27311
|
Functions: {
|
|
27312
|
+
_floriday_queue_cleanup_batch: {
|
|
27313
|
+
Args: {
|
|
27314
|
+
p_days: number;
|
|
27315
|
+
p_keep_latest: boolean;
|
|
27316
|
+
p_limit: number;
|
|
27317
|
+
p_statuses: string[];
|
|
27318
|
+
};
|
|
27319
|
+
Returns: number;
|
|
27320
|
+
};
|
|
26993
27321
|
_floriday_schedule_job: {
|
|
26994
27322
|
Args: {
|
|
26995
27323
|
p_apikey: string;
|
|
@@ -27013,6 +27341,12 @@ export type Database = {
|
|
|
27013
27341
|
};
|
|
27014
27342
|
Returns: Json;
|
|
27015
27343
|
};
|
|
27344
|
+
_stock_import_caller: {
|
|
27345
|
+
Args: {
|
|
27346
|
+
p_owner: string;
|
|
27347
|
+
};
|
|
27348
|
+
Returns: boolean;
|
|
27349
|
+
};
|
|
27016
27350
|
_wo_is_planner: {
|
|
27017
27351
|
Args: never;
|
|
27018
27352
|
Returns: boolean;
|
|
@@ -27953,7 +28287,7 @@ export type Database = {
|
|
|
27953
28287
|
};
|
|
27954
28288
|
floriday_cleanup_stock_queue_v2: {
|
|
27955
28289
|
Args: never;
|
|
27956
|
-
Returns:
|
|
28290
|
+
Returns: Json;
|
|
27957
28291
|
};
|
|
27958
28292
|
floriday_compact_stock_snapshots: {
|
|
27959
28293
|
Args: never;
|
|
@@ -28005,6 +28339,10 @@ export type Database = {
|
|
|
28005
28339
|
};
|
|
28006
28340
|
Returns: number;
|
|
28007
28341
|
};
|
|
28342
|
+
floriday_orphan_settings_count: {
|
|
28343
|
+
Args: never;
|
|
28344
|
+
Returns: number;
|
|
28345
|
+
};
|
|
28008
28346
|
floriday_publish_horizon_weeks: {
|
|
28009
28347
|
Args: never;
|
|
28010
28348
|
Returns: number;
|
|
@@ -28948,6 +29286,24 @@ export type Database = {
|
|
|
28948
29286
|
};
|
|
28949
29287
|
Returns: string;
|
|
28950
29288
|
};
|
|
29289
|
+
logistics_allocation_check_changes: {
|
|
29290
|
+
Args: {
|
|
29291
|
+
p_order_item_ids?: string[];
|
|
29292
|
+
};
|
|
29293
|
+
Returns: Json;
|
|
29294
|
+
};
|
|
29295
|
+
logistics_allocation_fp: {
|
|
29296
|
+
Args: {
|
|
29297
|
+
p_order_id: string;
|
|
29298
|
+
};
|
|
29299
|
+
Returns: string;
|
|
29300
|
+
};
|
|
29301
|
+
logistics_allocation_frozen: {
|
|
29302
|
+
Args: {
|
|
29303
|
+
p_order_id: string;
|
|
29304
|
+
};
|
|
29305
|
+
Returns: boolean;
|
|
29306
|
+
};
|
|
28951
29307
|
logistics_allowed_load_carriers: {
|
|
28952
29308
|
Args: {
|
|
28953
29309
|
p_strategy_id?: string;
|
|
@@ -28961,6 +29317,13 @@ export type Database = {
|
|
|
28961
29317
|
};
|
|
28962
29318
|
Returns: string;
|
|
28963
29319
|
};
|
|
29320
|
+
logistics_apply_cart_swap: {
|
|
29321
|
+
Args: {
|
|
29322
|
+
p_delete_ids: string[];
|
|
29323
|
+
p_new_carts: Json;
|
|
29324
|
+
};
|
|
29325
|
+
Returns: Json;
|
|
29326
|
+
};
|
|
28964
29327
|
logistics_apply_document_layouts: {
|
|
28965
29328
|
Args: never;
|
|
28966
29329
|
Returns: undefined;
|
|
@@ -29637,6 +30000,15 @@ export type Database = {
|
|
|
29637
30000
|
};
|
|
29638
30001
|
Returns: Database["public"]["Enums"]["doc_layout_type"][];
|
|
29639
30002
|
};
|
|
30003
|
+
logistics_double_group_lines: {
|
|
30004
|
+
Args: {
|
|
30005
|
+
p_order_id?: string;
|
|
30006
|
+
};
|
|
30007
|
+
Returns: {
|
|
30008
|
+
group_id: string;
|
|
30009
|
+
order_item_id: string;
|
|
30010
|
+
}[];
|
|
30011
|
+
};
|
|
29640
30012
|
logistics_emit_event: {
|
|
29641
30013
|
Args: {
|
|
29642
30014
|
p_event_type: string;
|
|
@@ -29895,6 +30267,18 @@ export type Database = {
|
|
|
29895
30267
|
};
|
|
29896
30268
|
Returns: boolean;
|
|
29897
30269
|
};
|
|
30270
|
+
logistics_frozen_allocation_scaled: {
|
|
30271
|
+
Args: {
|
|
30272
|
+
p_new_qty: number;
|
|
30273
|
+
p_order_item_id: string;
|
|
30274
|
+
};
|
|
30275
|
+
Returns: {
|
|
30276
|
+
group_id: string;
|
|
30277
|
+
qty: number;
|
|
30278
|
+
source: string;
|
|
30279
|
+
trade_item_key: string;
|
|
30280
|
+
}[];
|
|
30281
|
+
};
|
|
29898
30282
|
logistics_fulfill_barcode_requests: {
|
|
29899
30283
|
Args: {
|
|
29900
30284
|
p_limit?: number;
|
|
@@ -29916,12 +30300,24 @@ export type Database = {
|
|
|
29916
30300
|
};
|
|
29917
30301
|
Returns: boolean;
|
|
29918
30302
|
};
|
|
30303
|
+
logistics_is_group_label: {
|
|
30304
|
+
Args: {
|
|
30305
|
+
p_label: string;
|
|
30306
|
+
};
|
|
30307
|
+
Returns: boolean;
|
|
30308
|
+
};
|
|
29919
30309
|
logistics_is_pick_workday: {
|
|
29920
30310
|
Args: {
|
|
29921
30311
|
p_date: string;
|
|
29922
30312
|
};
|
|
29923
30313
|
Returns: boolean;
|
|
29924
30314
|
};
|
|
30315
|
+
logistics_key_product: {
|
|
30316
|
+
Args: {
|
|
30317
|
+
p_key: string;
|
|
30318
|
+
};
|
|
30319
|
+
Returns: string;
|
|
30320
|
+
};
|
|
29925
30321
|
logistics_layout_method_status: {
|
|
29926
30322
|
Args: never;
|
|
29927
30323
|
Returns: Json;
|
|
@@ -30024,6 +30420,12 @@ export type Database = {
|
|
|
30024
30420
|
};
|
|
30025
30421
|
Returns: undefined;
|
|
30026
30422
|
};
|
|
30423
|
+
logistics_order_current_warnings: {
|
|
30424
|
+
Args: {
|
|
30425
|
+
p_order_id: string;
|
|
30426
|
+
};
|
|
30427
|
+
Returns: string[];
|
|
30428
|
+
};
|
|
30027
30429
|
logistics_order_documents_ready: {
|
|
30028
30430
|
Args: {
|
|
30029
30431
|
p_order_ref: string;
|
|
@@ -30476,6 +30878,21 @@ export type Database = {
|
|
|
30476
30878
|
Args: never;
|
|
30477
30879
|
Returns: number;
|
|
30478
30880
|
};
|
|
30881
|
+
logistics_plan_wachttijd: {
|
|
30882
|
+
Args: {
|
|
30883
|
+
p_order_id: string;
|
|
30884
|
+
p_reason: string;
|
|
30885
|
+
};
|
|
30886
|
+
Returns: Json;
|
|
30887
|
+
};
|
|
30888
|
+
logistics_plan_wachttijd_melden: {
|
|
30889
|
+
Args: {
|
|
30890
|
+
p_order_id: string;
|
|
30891
|
+
p_reason: string;
|
|
30892
|
+
p_wacht: Json;
|
|
30893
|
+
};
|
|
30894
|
+
Returns: undefined;
|
|
30895
|
+
};
|
|
30479
30896
|
logistics_planner_cart_snapshot: {
|
|
30480
30897
|
Args: {
|
|
30481
30898
|
p_buffer_id: string;
|
|
@@ -30491,6 +30908,23 @@ export type Database = {
|
|
|
30491
30908
|
Args: never;
|
|
30492
30909
|
Returns: number;
|
|
30493
30910
|
};
|
|
30911
|
+
logistics_planner_lines: {
|
|
30912
|
+
Args: {
|
|
30913
|
+
p_order_id: string;
|
|
30914
|
+
};
|
|
30915
|
+
Returns: {
|
|
30916
|
+
components: Json;
|
|
30917
|
+
frozen: boolean;
|
|
30918
|
+
group_id: string;
|
|
30919
|
+
note: string;
|
|
30920
|
+
order_item_id: string;
|
|
30921
|
+
product_id: string;
|
|
30922
|
+
product_name: string;
|
|
30923
|
+
qty: number;
|
|
30924
|
+
trade_item_key: string;
|
|
30925
|
+
unit_kind: string;
|
|
30926
|
+
}[];
|
|
30927
|
+
};
|
|
30494
30928
|
logistics_prepare_pick_documents: {
|
|
30495
30929
|
Args: {
|
|
30496
30930
|
p_limit?: number;
|
|
@@ -30562,6 +30996,12 @@ export type Database = {
|
|
|
30562
30996
|
Args: never;
|
|
30563
30997
|
Returns: number;
|
|
30564
30998
|
};
|
|
30999
|
+
logistics_recompute_reserved_targeted: {
|
|
31000
|
+
Args: {
|
|
31001
|
+
p_product_id: string;
|
|
31002
|
+
};
|
|
31003
|
+
Returns: Json;
|
|
31004
|
+
};
|
|
30565
31005
|
logistics_reconcile_missing_plan_queue: {
|
|
30566
31006
|
Args: never;
|
|
30567
31007
|
Returns: number;
|
|
@@ -30615,6 +31055,13 @@ export type Database = {
|
|
|
30615
31055
|
};
|
|
30616
31056
|
Returns: Json;
|
|
30617
31057
|
};
|
|
31058
|
+
logistics_replan_selected_orders: {
|
|
31059
|
+
Args: {
|
|
31060
|
+
p_order_ids: string[];
|
|
31061
|
+
p_reason?: string;
|
|
31062
|
+
};
|
|
31063
|
+
Returns: Json;
|
|
31064
|
+
};
|
|
30618
31065
|
logistics_report_delay: {
|
|
30619
31066
|
Args: {
|
|
30620
31067
|
p_expected_date?: string;
|
|
@@ -30631,6 +31078,12 @@ export type Database = {
|
|
|
30631
31078
|
};
|
|
30632
31079
|
Returns: string;
|
|
30633
31080
|
};
|
|
31081
|
+
logistics_report_frozen_shortage: {
|
|
31082
|
+
Args: {
|
|
31083
|
+
p_order_item_ids: string[];
|
|
31084
|
+
};
|
|
31085
|
+
Returns: undefined;
|
|
31086
|
+
};
|
|
30634
31087
|
logistics_rescan_orders: {
|
|
30635
31088
|
Args: {
|
|
30636
31089
|
p_days?: number;
|
|
@@ -30659,6 +31112,13 @@ export type Database = {
|
|
|
30659
31112
|
};
|
|
30660
31113
|
Returns: Json;
|
|
30661
31114
|
};
|
|
31115
|
+
logistics_reserved_fast_skip: {
|
|
31116
|
+
Args: {
|
|
31117
|
+
p_key: string;
|
|
31118
|
+
p_raw: string;
|
|
31119
|
+
};
|
|
31120
|
+
Returns: boolean;
|
|
31121
|
+
};
|
|
30662
31122
|
logistics_reserved_key: {
|
|
30663
31123
|
Args: {
|
|
30664
31124
|
p_key: string;
|
|
@@ -30684,6 +31144,12 @@ export type Database = {
|
|
|
30684
31144
|
};
|
|
30685
31145
|
Returns: string;
|
|
30686
31146
|
};
|
|
31147
|
+
logistics_resolve_product_match: {
|
|
31148
|
+
Args: {
|
|
31149
|
+
p_label: string;
|
|
31150
|
+
};
|
|
31151
|
+
Returns: Record<string, unknown>;
|
|
31152
|
+
};
|
|
30687
31153
|
logistics_resolve_settings: {
|
|
30688
31154
|
Args: {
|
|
30689
31155
|
p_config_id: string;
|
|
@@ -33314,6 +33780,40 @@ export type Database = {
|
|
|
33314
33780
|
};
|
|
33315
33781
|
Returns: Json;
|
|
33316
33782
|
};
|
|
33783
|
+
stock_import_cleanup: {
|
|
33784
|
+
Args: never;
|
|
33785
|
+
Returns: number;
|
|
33786
|
+
};
|
|
33787
|
+
stock_import_create: {
|
|
33788
|
+
Args: {
|
|
33789
|
+
p_connection_id: string;
|
|
33790
|
+
p_file_hash: string;
|
|
33791
|
+
p_filename: string;
|
|
33792
|
+
p_force?: boolean;
|
|
33793
|
+
p_rows: Json;
|
|
33794
|
+
};
|
|
33795
|
+
Returns: Json;
|
|
33796
|
+
};
|
|
33797
|
+
stock_import_process_chunk: {
|
|
33798
|
+
Args: {
|
|
33799
|
+
p_chunk_no: number;
|
|
33800
|
+
p_run_id: string;
|
|
33801
|
+
};
|
|
33802
|
+
Returns: Json;
|
|
33803
|
+
};
|
|
33804
|
+
stock_import_stop: {
|
|
33805
|
+
Args: {
|
|
33806
|
+
p_run_id: string;
|
|
33807
|
+
};
|
|
33808
|
+
Returns: Json;
|
|
33809
|
+
};
|
|
33810
|
+
stock_import_undo_chunk: {
|
|
33811
|
+
Args: {
|
|
33812
|
+
p_chunk_no: number;
|
|
33813
|
+
p_run_id: string;
|
|
33814
|
+
};
|
|
33815
|
+
Returns: Json;
|
|
33816
|
+
};
|
|
33317
33817
|
stop_time_log: {
|
|
33318
33818
|
Args: {
|
|
33319
33819
|
p_employee_id: string;
|