@flowselections/scan-module 1.0.6 → 1.0.7
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/components/scanners/EindcontroleScanner.d.ts.map +1 -1
- package/dist-lib/components/scanners/EindcontroleScanner.js +22 -3
- package/dist-lib/hooks/useScanEngine.d.ts.map +1 -1
- package/dist-lib/hooks/useScanEngine.js +105 -77
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +933 -19
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +933 -19
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +933 -19
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +933 -17
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2202,6 +2202,8 @@ export type Database = {
|
|
|
2202
2202
|
created_at: string;
|
|
2203
2203
|
currency: string;
|
|
2204
2204
|
distribute_over: string | null;
|
|
2205
|
+
external_id: string | null;
|
|
2206
|
+
external_synced_at: string | null;
|
|
2205
2207
|
group_type: string;
|
|
2206
2208
|
handling_fee: number | null;
|
|
2207
2209
|
id: string;
|
|
@@ -2214,6 +2216,7 @@ export type Database = {
|
|
|
2214
2216
|
rounding: string;
|
|
2215
2217
|
rounding_step: number;
|
|
2216
2218
|
sort_order: number;
|
|
2219
|
+
source: string;
|
|
2217
2220
|
unit: string;
|
|
2218
2221
|
updated_at: string;
|
|
2219
2222
|
};
|
|
@@ -2224,6 +2227,8 @@ export type Database = {
|
|
|
2224
2227
|
created_at?: string;
|
|
2225
2228
|
currency?: string;
|
|
2226
2229
|
distribute_over?: string | null;
|
|
2230
|
+
external_id?: string | null;
|
|
2231
|
+
external_synced_at?: string | null;
|
|
2227
2232
|
group_type?: string;
|
|
2228
2233
|
handling_fee?: number | null;
|
|
2229
2234
|
id?: string;
|
|
@@ -2236,6 +2241,7 @@ export type Database = {
|
|
|
2236
2241
|
rounding?: string;
|
|
2237
2242
|
rounding_step?: number;
|
|
2238
2243
|
sort_order?: number;
|
|
2244
|
+
source?: string;
|
|
2239
2245
|
unit?: string;
|
|
2240
2246
|
updated_at?: string;
|
|
2241
2247
|
};
|
|
@@ -2246,6 +2252,8 @@ export type Database = {
|
|
|
2246
2252
|
created_at?: string;
|
|
2247
2253
|
currency?: string;
|
|
2248
2254
|
distribute_over?: string | null;
|
|
2255
|
+
external_id?: string | null;
|
|
2256
|
+
external_synced_at?: string | null;
|
|
2249
2257
|
group_type?: string;
|
|
2250
2258
|
handling_fee?: number | null;
|
|
2251
2259
|
id?: string;
|
|
@@ -2258,6 +2266,7 @@ export type Database = {
|
|
|
2258
2266
|
rounding?: string;
|
|
2259
2267
|
rounding_step?: number;
|
|
2260
2268
|
sort_order?: number;
|
|
2269
|
+
source?: string;
|
|
2261
2270
|
unit?: string;
|
|
2262
2271
|
updated_at?: string;
|
|
2263
2272
|
};
|
|
@@ -5939,6 +5948,86 @@ export type Database = {
|
|
|
5939
5948
|
}
|
|
5940
5949
|
];
|
|
5941
5950
|
};
|
|
5951
|
+
floriday_catalog_prices_cache: {
|
|
5952
|
+
Row: {
|
|
5953
|
+
connection_id: string;
|
|
5954
|
+
created_at: string;
|
|
5955
|
+
currency: string;
|
|
5956
|
+
id: string;
|
|
5957
|
+
is_deleted: boolean;
|
|
5958
|
+
price: number | null;
|
|
5959
|
+
price_group_id: string | null;
|
|
5960
|
+
price_group_name: string | null;
|
|
5961
|
+
price_type: string;
|
|
5962
|
+
raw: Json | null;
|
|
5963
|
+
sales_unit: string | null;
|
|
5964
|
+
sequence_number: number;
|
|
5965
|
+
supplier_article_code: string | null;
|
|
5966
|
+
supply_line_id: string;
|
|
5967
|
+
synced_at: string;
|
|
5968
|
+
trade_item_id: string | null;
|
|
5969
|
+
updated_at: string;
|
|
5970
|
+
valid_from: string | null;
|
|
5971
|
+
valid_to: string | null;
|
|
5972
|
+
week: number | null;
|
|
5973
|
+
year: number | null;
|
|
5974
|
+
};
|
|
5975
|
+
Insert: {
|
|
5976
|
+
connection_id: string;
|
|
5977
|
+
created_at?: string;
|
|
5978
|
+
currency?: string;
|
|
5979
|
+
id?: string;
|
|
5980
|
+
is_deleted?: boolean;
|
|
5981
|
+
price?: number | null;
|
|
5982
|
+
price_group_id?: string | null;
|
|
5983
|
+
price_group_name?: string | null;
|
|
5984
|
+
price_type?: string;
|
|
5985
|
+
raw?: Json | null;
|
|
5986
|
+
sales_unit?: string | null;
|
|
5987
|
+
sequence_number?: number;
|
|
5988
|
+
supplier_article_code?: string | null;
|
|
5989
|
+
supply_line_id: string;
|
|
5990
|
+
synced_at?: string;
|
|
5991
|
+
trade_item_id?: string | null;
|
|
5992
|
+
updated_at?: string;
|
|
5993
|
+
valid_from?: string | null;
|
|
5994
|
+
valid_to?: string | null;
|
|
5995
|
+
week?: number | null;
|
|
5996
|
+
year?: number | null;
|
|
5997
|
+
};
|
|
5998
|
+
Update: {
|
|
5999
|
+
connection_id?: string;
|
|
6000
|
+
created_at?: string;
|
|
6001
|
+
currency?: string;
|
|
6002
|
+
id?: string;
|
|
6003
|
+
is_deleted?: boolean;
|
|
6004
|
+
price?: number | null;
|
|
6005
|
+
price_group_id?: string | null;
|
|
6006
|
+
price_group_name?: string | null;
|
|
6007
|
+
price_type?: string;
|
|
6008
|
+
raw?: Json | null;
|
|
6009
|
+
sales_unit?: string | null;
|
|
6010
|
+
sequence_number?: number;
|
|
6011
|
+
supplier_article_code?: string | null;
|
|
6012
|
+
supply_line_id?: string;
|
|
6013
|
+
synced_at?: string;
|
|
6014
|
+
trade_item_id?: string | null;
|
|
6015
|
+
updated_at?: string;
|
|
6016
|
+
valid_from?: string | null;
|
|
6017
|
+
valid_to?: string | null;
|
|
6018
|
+
week?: number | null;
|
|
6019
|
+
year?: number | null;
|
|
6020
|
+
};
|
|
6021
|
+
Relationships: [
|
|
6022
|
+
{
|
|
6023
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6024
|
+
columns: ["connection_id"];
|
|
6025
|
+
isOneToOne: false;
|
|
6026
|
+
referencedRelation: "floriday_connections";
|
|
6027
|
+
referencedColumns: ["id"];
|
|
6028
|
+
}
|
|
6029
|
+
];
|
|
6030
|
+
};
|
|
5942
6031
|
floriday_clock_presales_cache: {
|
|
5943
6032
|
Row: {
|
|
5944
6033
|
buyer_organization_id: string | null;
|
|
@@ -9313,6 +9402,30 @@ export type Database = {
|
|
|
9313
9402
|
}
|
|
9314
9403
|
];
|
|
9315
9404
|
};
|
|
9405
|
+
job_locks: {
|
|
9406
|
+
Row: {
|
|
9407
|
+
created_at: string;
|
|
9408
|
+
lock_key: string;
|
|
9409
|
+
locked_until: string;
|
|
9410
|
+
owner: string | null;
|
|
9411
|
+
updated_at: string;
|
|
9412
|
+
};
|
|
9413
|
+
Insert: {
|
|
9414
|
+
created_at?: string;
|
|
9415
|
+
lock_key: string;
|
|
9416
|
+
locked_until: string;
|
|
9417
|
+
owner?: string | null;
|
|
9418
|
+
updated_at?: string;
|
|
9419
|
+
};
|
|
9420
|
+
Update: {
|
|
9421
|
+
created_at?: string;
|
|
9422
|
+
lock_key?: string;
|
|
9423
|
+
locked_until?: string;
|
|
9424
|
+
owner?: string | null;
|
|
9425
|
+
updated_at?: string;
|
|
9426
|
+
};
|
|
9427
|
+
Relationships: [];
|
|
9428
|
+
};
|
|
9316
9429
|
layout_logos: {
|
|
9317
9430
|
Row: {
|
|
9318
9431
|
bestand_url: string;
|
|
@@ -10308,6 +10421,36 @@ export type Database = {
|
|
|
10308
10421
|
};
|
|
10309
10422
|
Relationships: [];
|
|
10310
10423
|
};
|
|
10424
|
+
logistics_floriday_push_refusals: {
|
|
10425
|
+
Row: {
|
|
10426
|
+
action: string | null;
|
|
10427
|
+
created_at: string;
|
|
10428
|
+
id: string;
|
|
10429
|
+
order_ref: string;
|
|
10430
|
+
reason: string;
|
|
10431
|
+
source_module: string | null;
|
|
10432
|
+
source_shell: string | null;
|
|
10433
|
+
};
|
|
10434
|
+
Insert: {
|
|
10435
|
+
action?: string | null;
|
|
10436
|
+
created_at?: string;
|
|
10437
|
+
id?: string;
|
|
10438
|
+
order_ref: string;
|
|
10439
|
+
reason: string;
|
|
10440
|
+
source_module?: string | null;
|
|
10441
|
+
source_shell?: string | null;
|
|
10442
|
+
};
|
|
10443
|
+
Update: {
|
|
10444
|
+
action?: string | null;
|
|
10445
|
+
created_at?: string;
|
|
10446
|
+
id?: string;
|
|
10447
|
+
order_ref?: string;
|
|
10448
|
+
reason?: string;
|
|
10449
|
+
source_module?: string | null;
|
|
10450
|
+
source_shell?: string | null;
|
|
10451
|
+
};
|
|
10452
|
+
Relationships: [];
|
|
10453
|
+
};
|
|
10311
10454
|
logistics_floriday_pushes: {
|
|
10312
10455
|
Row: {
|
|
10313
10456
|
attempts: number;
|
|
@@ -10383,6 +10526,42 @@ export type Database = {
|
|
|
10383
10526
|
};
|
|
10384
10527
|
Relationships: [];
|
|
10385
10528
|
};
|
|
10529
|
+
logistics_floriday_status_sends: {
|
|
10530
|
+
Row: {
|
|
10531
|
+
action: string;
|
|
10532
|
+
created_at: string;
|
|
10533
|
+
detail: string | null;
|
|
10534
|
+
http_status: number | null;
|
|
10535
|
+
id: string;
|
|
10536
|
+
ok: boolean;
|
|
10537
|
+
order_ref: string;
|
|
10538
|
+
source_module: string | null;
|
|
10539
|
+
source_shell: string | null;
|
|
10540
|
+
};
|
|
10541
|
+
Insert: {
|
|
10542
|
+
action: string;
|
|
10543
|
+
created_at?: string;
|
|
10544
|
+
detail?: string | null;
|
|
10545
|
+
http_status?: number | null;
|
|
10546
|
+
id?: string;
|
|
10547
|
+
ok?: boolean;
|
|
10548
|
+
order_ref: string;
|
|
10549
|
+
source_module?: string | null;
|
|
10550
|
+
source_shell?: string | null;
|
|
10551
|
+
};
|
|
10552
|
+
Update: {
|
|
10553
|
+
action?: string;
|
|
10554
|
+
created_at?: string;
|
|
10555
|
+
detail?: string | null;
|
|
10556
|
+
http_status?: number | null;
|
|
10557
|
+
id?: string;
|
|
10558
|
+
ok?: boolean;
|
|
10559
|
+
order_ref?: string;
|
|
10560
|
+
source_module?: string | null;
|
|
10561
|
+
source_shell?: string | null;
|
|
10562
|
+
};
|
|
10563
|
+
Relationships: [];
|
|
10564
|
+
};
|
|
10386
10565
|
logistics_formulas: {
|
|
10387
10566
|
Row: {
|
|
10388
10567
|
created_at: string;
|
|
@@ -10457,6 +10636,108 @@ export type Database = {
|
|
|
10457
10636
|
};
|
|
10458
10637
|
Relationships: [];
|
|
10459
10638
|
};
|
|
10639
|
+
logistics_opening_exceptions: {
|
|
10640
|
+
Row: {
|
|
10641
|
+
closes: string | null;
|
|
10642
|
+
created_at: string;
|
|
10643
|
+
day: string;
|
|
10644
|
+
id: string;
|
|
10645
|
+
is_closed: boolean;
|
|
10646
|
+
note: string | null;
|
|
10647
|
+
opens: string | null;
|
|
10648
|
+
};
|
|
10649
|
+
Insert: {
|
|
10650
|
+
closes?: string | null;
|
|
10651
|
+
created_at?: string;
|
|
10652
|
+
day: string;
|
|
10653
|
+
id?: string;
|
|
10654
|
+
is_closed?: boolean;
|
|
10655
|
+
note?: string | null;
|
|
10656
|
+
opens?: string | null;
|
|
10657
|
+
};
|
|
10658
|
+
Update: {
|
|
10659
|
+
closes?: string | null;
|
|
10660
|
+
created_at?: string;
|
|
10661
|
+
day?: string;
|
|
10662
|
+
id?: string;
|
|
10663
|
+
is_closed?: boolean;
|
|
10664
|
+
note?: string | null;
|
|
10665
|
+
opens?: string | null;
|
|
10666
|
+
};
|
|
10667
|
+
Relationships: [];
|
|
10668
|
+
};
|
|
10669
|
+
logistics_opening_hours: {
|
|
10670
|
+
Row: {
|
|
10671
|
+
closes: string;
|
|
10672
|
+
created_at: string;
|
|
10673
|
+
id: string;
|
|
10674
|
+
is_active: boolean;
|
|
10675
|
+
note: string | null;
|
|
10676
|
+
opens: string;
|
|
10677
|
+
weekday: number;
|
|
10678
|
+
};
|
|
10679
|
+
Insert: {
|
|
10680
|
+
closes: string;
|
|
10681
|
+
created_at?: string;
|
|
10682
|
+
id?: string;
|
|
10683
|
+
is_active?: boolean;
|
|
10684
|
+
note?: string | null;
|
|
10685
|
+
opens: string;
|
|
10686
|
+
weekday: number;
|
|
10687
|
+
};
|
|
10688
|
+
Update: {
|
|
10689
|
+
closes?: string;
|
|
10690
|
+
created_at?: string;
|
|
10691
|
+
id?: string;
|
|
10692
|
+
is_active?: boolean;
|
|
10693
|
+
note?: string | null;
|
|
10694
|
+
opens?: string;
|
|
10695
|
+
weekday?: number;
|
|
10696
|
+
};
|
|
10697
|
+
Relationships: [];
|
|
10698
|
+
};
|
|
10699
|
+
logistics_pick_data_requests: {
|
|
10700
|
+
Row: {
|
|
10701
|
+
actions: Json;
|
|
10702
|
+
created_at: string;
|
|
10703
|
+
event_id: string | null;
|
|
10704
|
+
finished_at: string | null;
|
|
10705
|
+
id: string;
|
|
10706
|
+
missing: Json;
|
|
10707
|
+
order_ref: string;
|
|
10708
|
+
reason: string | null;
|
|
10709
|
+
result: Json | null;
|
|
10710
|
+
status: string;
|
|
10711
|
+
unit_ref: string | null;
|
|
10712
|
+
};
|
|
10713
|
+
Insert: {
|
|
10714
|
+
actions?: Json;
|
|
10715
|
+
created_at?: string;
|
|
10716
|
+
event_id?: string | null;
|
|
10717
|
+
finished_at?: string | null;
|
|
10718
|
+
id?: string;
|
|
10719
|
+
missing?: Json;
|
|
10720
|
+
order_ref: string;
|
|
10721
|
+
reason?: string | null;
|
|
10722
|
+
result?: Json | null;
|
|
10723
|
+
status?: string;
|
|
10724
|
+
unit_ref?: string | null;
|
|
10725
|
+
};
|
|
10726
|
+
Update: {
|
|
10727
|
+
actions?: Json;
|
|
10728
|
+
created_at?: string;
|
|
10729
|
+
event_id?: string | null;
|
|
10730
|
+
finished_at?: string | null;
|
|
10731
|
+
id?: string;
|
|
10732
|
+
missing?: Json;
|
|
10733
|
+
order_ref?: string;
|
|
10734
|
+
reason?: string | null;
|
|
10735
|
+
result?: Json | null;
|
|
10736
|
+
status?: string;
|
|
10737
|
+
unit_ref?: string | null;
|
|
10738
|
+
};
|
|
10739
|
+
Relationships: [];
|
|
10740
|
+
};
|
|
10460
10741
|
logistics_pickup_moments: {
|
|
10461
10742
|
Row: {
|
|
10462
10743
|
carrier_ref: string | null;
|
|
@@ -10503,6 +10784,7 @@ export type Database = {
|
|
|
10503
10784
|
next_attempt_at: string;
|
|
10504
10785
|
order_id: string;
|
|
10505
10786
|
reason: string;
|
|
10787
|
+
reason_code: string | null;
|
|
10506
10788
|
status: string;
|
|
10507
10789
|
updated_at: string;
|
|
10508
10790
|
};
|
|
@@ -10515,6 +10797,7 @@ export type Database = {
|
|
|
10515
10797
|
next_attempt_at?: string;
|
|
10516
10798
|
order_id: string;
|
|
10517
10799
|
reason?: string;
|
|
10800
|
+
reason_code?: string | null;
|
|
10518
10801
|
status?: string;
|
|
10519
10802
|
updated_at?: string;
|
|
10520
10803
|
};
|
|
@@ -10527,6 +10810,7 @@ export type Database = {
|
|
|
10527
10810
|
next_attempt_at?: string;
|
|
10528
10811
|
order_id?: string;
|
|
10529
10812
|
reason?: string;
|
|
10813
|
+
reason_code?: string | null;
|
|
10530
10814
|
status?: string;
|
|
10531
10815
|
updated_at?: string;
|
|
10532
10816
|
};
|
|
@@ -10920,36 +11204,99 @@ export type Database = {
|
|
|
10920
11204
|
};
|
|
10921
11205
|
Relationships: [];
|
|
10922
11206
|
};
|
|
10923
|
-
|
|
11207
|
+
logistics_slip_shipping_note: {
|
|
10924
11208
|
Row: {
|
|
11209
|
+
attempts: number;
|
|
11210
|
+
batch_key: string | null;
|
|
11211
|
+
cart_id: string | null;
|
|
10925
11212
|
created_at: string;
|
|
10926
|
-
|
|
11213
|
+
error: string | null;
|
|
11214
|
+
error_code: string | null;
|
|
11215
|
+
fulfillment_order_id: string | null;
|
|
10927
11216
|
id: string;
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
11217
|
+
locked_until: string | null;
|
|
11218
|
+
next_attempt_at: string | null;
|
|
11219
|
+
order_id: string | null;
|
|
11220
|
+
order_number: string | null;
|
|
11221
|
+
print_job_id: string | null;
|
|
11222
|
+
printer_id: string | null;
|
|
11223
|
+
retry_class: string | null;
|
|
11224
|
+
slip_job_id: string;
|
|
11225
|
+
status: string;
|
|
10933
11226
|
updated_at: string;
|
|
10934
|
-
user_id: string;
|
|
10935
11227
|
};
|
|
10936
11228
|
Insert: {
|
|
11229
|
+
attempts?: number;
|
|
11230
|
+
batch_key?: string | null;
|
|
11231
|
+
cart_id?: string | null;
|
|
10937
11232
|
created_at?: string;
|
|
10938
|
-
|
|
11233
|
+
error?: string | null;
|
|
11234
|
+
error_code?: string | null;
|
|
11235
|
+
fulfillment_order_id?: string | null;
|
|
10939
11236
|
id?: string;
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
11237
|
+
locked_until?: string | null;
|
|
11238
|
+
next_attempt_at?: string | null;
|
|
11239
|
+
order_id?: string | null;
|
|
11240
|
+
order_number?: string | null;
|
|
11241
|
+
print_job_id?: string | null;
|
|
11242
|
+
printer_id?: string | null;
|
|
11243
|
+
retry_class?: string | null;
|
|
11244
|
+
slip_job_id: string;
|
|
11245
|
+
status?: string;
|
|
10945
11246
|
updated_at?: string;
|
|
10946
|
-
user_id?: string;
|
|
10947
11247
|
};
|
|
10948
11248
|
Update: {
|
|
11249
|
+
attempts?: number;
|
|
11250
|
+
batch_key?: string | null;
|
|
11251
|
+
cart_id?: string | null;
|
|
10949
11252
|
created_at?: string;
|
|
10950
|
-
|
|
11253
|
+
error?: string | null;
|
|
11254
|
+
error_code?: string | null;
|
|
11255
|
+
fulfillment_order_id?: string | null;
|
|
10951
11256
|
id?: string;
|
|
10952
|
-
|
|
11257
|
+
locked_until?: string | null;
|
|
11258
|
+
next_attempt_at?: string | null;
|
|
11259
|
+
order_id?: string | null;
|
|
11260
|
+
order_number?: string | null;
|
|
11261
|
+
print_job_id?: string | null;
|
|
11262
|
+
printer_id?: string | null;
|
|
11263
|
+
retry_class?: string | null;
|
|
11264
|
+
slip_job_id?: string;
|
|
11265
|
+
status?: string;
|
|
11266
|
+
updated_at?: string;
|
|
11267
|
+
};
|
|
11268
|
+
Relationships: [];
|
|
11269
|
+
};
|
|
11270
|
+
logistics_staff_planning: {
|
|
11271
|
+
Row: {
|
|
11272
|
+
created_at: string;
|
|
11273
|
+
end_time: string;
|
|
11274
|
+
id: string;
|
|
11275
|
+
note: string | null;
|
|
11276
|
+
plan_date: string;
|
|
11277
|
+
source_module: string | null;
|
|
11278
|
+
staff_count: number;
|
|
11279
|
+
start_time: string;
|
|
11280
|
+
updated_at: string;
|
|
11281
|
+
user_id: string;
|
|
11282
|
+
};
|
|
11283
|
+
Insert: {
|
|
11284
|
+
created_at?: string;
|
|
11285
|
+
end_time?: string;
|
|
11286
|
+
id?: string;
|
|
11287
|
+
note?: string | null;
|
|
11288
|
+
plan_date: string;
|
|
11289
|
+
source_module?: string | null;
|
|
11290
|
+
staff_count?: number;
|
|
11291
|
+
start_time?: string;
|
|
11292
|
+
updated_at?: string;
|
|
11293
|
+
user_id?: string;
|
|
11294
|
+
};
|
|
11295
|
+
Update: {
|
|
11296
|
+
created_at?: string;
|
|
11297
|
+
end_time?: string;
|
|
11298
|
+
id?: string;
|
|
11299
|
+
note?: string | null;
|
|
10953
11300
|
plan_date?: string;
|
|
10954
11301
|
source_module?: string | null;
|
|
10955
11302
|
staff_count?: number;
|
|
@@ -11244,6 +11591,39 @@ export type Database = {
|
|
|
11244
11591
|
}
|
|
11245
11592
|
];
|
|
11246
11593
|
};
|
|
11594
|
+
logistics_tick_heartbeat: {
|
|
11595
|
+
Row: {
|
|
11596
|
+
id: boolean;
|
|
11597
|
+
last_tick_at: string;
|
|
11598
|
+
};
|
|
11599
|
+
Insert: {
|
|
11600
|
+
id?: boolean;
|
|
11601
|
+
last_tick_at?: string;
|
|
11602
|
+
};
|
|
11603
|
+
Update: {
|
|
11604
|
+
id?: boolean;
|
|
11605
|
+
last_tick_at?: string;
|
|
11606
|
+
};
|
|
11607
|
+
Relationships: [];
|
|
11608
|
+
};
|
|
11609
|
+
logistics_time_settings: {
|
|
11610
|
+
Row: {
|
|
11611
|
+
id: boolean;
|
|
11612
|
+
timezone: string;
|
|
11613
|
+
updated_at: string;
|
|
11614
|
+
};
|
|
11615
|
+
Insert: {
|
|
11616
|
+
id?: boolean;
|
|
11617
|
+
timezone: string;
|
|
11618
|
+
updated_at?: string;
|
|
11619
|
+
};
|
|
11620
|
+
Update: {
|
|
11621
|
+
id?: boolean;
|
|
11622
|
+
timezone?: string;
|
|
11623
|
+
updated_at?: string;
|
|
11624
|
+
};
|
|
11625
|
+
Relationships: [];
|
|
11626
|
+
};
|
|
11247
11627
|
logistics_variables: {
|
|
11248
11628
|
Row: {
|
|
11249
11629
|
created_at: string;
|
|
@@ -13708,6 +14088,7 @@ export type Database = {
|
|
|
13708
14088
|
customer_name: string;
|
|
13709
14089
|
deleted_at: string | null;
|
|
13710
14090
|
delivery_date: string | null;
|
|
14091
|
+
floriday_order_group_key: string | null;
|
|
13711
14092
|
floriday_sales_order_id: string | null;
|
|
13712
14093
|
id: string;
|
|
13713
14094
|
invoice_due_at: string | null;
|
|
@@ -13735,6 +14116,7 @@ export type Database = {
|
|
|
13735
14116
|
customer_name?: string;
|
|
13736
14117
|
deleted_at?: string | null;
|
|
13737
14118
|
delivery_date?: string | null;
|
|
14119
|
+
floriday_order_group_key?: string | null;
|
|
13738
14120
|
floriday_sales_order_id?: string | null;
|
|
13739
14121
|
id?: string;
|
|
13740
14122
|
invoice_due_at?: string | null;
|
|
@@ -13762,6 +14144,7 @@ export type Database = {
|
|
|
13762
14144
|
customer_name?: string;
|
|
13763
14145
|
deleted_at?: string | null;
|
|
13764
14146
|
delivery_date?: string | null;
|
|
14147
|
+
floriday_order_group_key?: string | null;
|
|
13765
14148
|
floriday_sales_order_id?: string | null;
|
|
13766
14149
|
id?: string;
|
|
13767
14150
|
invoice_due_at?: string | null;
|
|
@@ -13958,6 +14341,27 @@ export type Database = {
|
|
|
13958
14341
|
};
|
|
13959
14342
|
Relationships: [];
|
|
13960
14343
|
};
|
|
14344
|
+
pick_buffer_event_cursor: {
|
|
14345
|
+
Row: {
|
|
14346
|
+
created_at: string;
|
|
14347
|
+
id: boolean;
|
|
14348
|
+
last_event_at: string;
|
|
14349
|
+
updated_at: string;
|
|
14350
|
+
};
|
|
14351
|
+
Insert: {
|
|
14352
|
+
created_at?: string;
|
|
14353
|
+
id?: boolean;
|
|
14354
|
+
last_event_at?: string;
|
|
14355
|
+
updated_at?: string;
|
|
14356
|
+
};
|
|
14357
|
+
Update: {
|
|
14358
|
+
created_at?: string;
|
|
14359
|
+
id?: boolean;
|
|
14360
|
+
last_event_at?: string;
|
|
14361
|
+
updated_at?: string;
|
|
14362
|
+
};
|
|
14363
|
+
Relationships: [];
|
|
14364
|
+
};
|
|
13961
14365
|
pick_countries: {
|
|
13962
14366
|
Row: {
|
|
13963
14367
|
active: boolean;
|
|
@@ -19771,6 +20175,36 @@ export type Database = {
|
|
|
19771
20175
|
}
|
|
19772
20176
|
];
|
|
19773
20177
|
};
|
|
20178
|
+
voorraad_buffer_state: {
|
|
20179
|
+
Row: {
|
|
20180
|
+
buffer_id: string;
|
|
20181
|
+
buffer_key: string | null;
|
|
20182
|
+
closed_at: string | null;
|
|
20183
|
+
created_at: string;
|
|
20184
|
+
detached_orders: Json;
|
|
20185
|
+
reason: string | null;
|
|
20186
|
+
updated_at: string;
|
|
20187
|
+
};
|
|
20188
|
+
Insert: {
|
|
20189
|
+
buffer_id: string;
|
|
20190
|
+
buffer_key?: string | null;
|
|
20191
|
+
closed_at?: string | null;
|
|
20192
|
+
created_at?: string;
|
|
20193
|
+
detached_orders?: Json;
|
|
20194
|
+
reason?: string | null;
|
|
20195
|
+
updated_at?: string;
|
|
20196
|
+
};
|
|
20197
|
+
Update: {
|
|
20198
|
+
buffer_id?: string;
|
|
20199
|
+
buffer_key?: string | null;
|
|
20200
|
+
closed_at?: string | null;
|
|
20201
|
+
created_at?: string;
|
|
20202
|
+
detached_orders?: Json;
|
|
20203
|
+
reason?: string | null;
|
|
20204
|
+
updated_at?: string;
|
|
20205
|
+
};
|
|
20206
|
+
Relationships: [];
|
|
20207
|
+
};
|
|
19774
20208
|
voorraad_custom_fields: {
|
|
19775
20209
|
Row: {
|
|
19776
20210
|
created_at: string;
|
|
@@ -19813,6 +20247,36 @@ export type Database = {
|
|
|
19813
20247
|
};
|
|
19814
20248
|
Relationships: [];
|
|
19815
20249
|
};
|
|
20250
|
+
voorraad_logistics_event_log: {
|
|
20251
|
+
Row: {
|
|
20252
|
+
created_at: string;
|
|
20253
|
+
event_id: string;
|
|
20254
|
+
event_type: string;
|
|
20255
|
+
order_ref: string | null;
|
|
20256
|
+
processed_at: string;
|
|
20257
|
+
result: Json;
|
|
20258
|
+
updated_at: string;
|
|
20259
|
+
};
|
|
20260
|
+
Insert: {
|
|
20261
|
+
created_at?: string;
|
|
20262
|
+
event_id: string;
|
|
20263
|
+
event_type: string;
|
|
20264
|
+
order_ref?: string | null;
|
|
20265
|
+
processed_at?: string;
|
|
20266
|
+
result?: Json;
|
|
20267
|
+
updated_at?: string;
|
|
20268
|
+
};
|
|
20269
|
+
Update: {
|
|
20270
|
+
created_at?: string;
|
|
20271
|
+
event_id?: string;
|
|
20272
|
+
event_type?: string;
|
|
20273
|
+
order_ref?: string | null;
|
|
20274
|
+
processed_at?: string;
|
|
20275
|
+
result?: Json;
|
|
20276
|
+
updated_at?: string;
|
|
20277
|
+
};
|
|
20278
|
+
Relationships: [];
|
|
20279
|
+
};
|
|
19816
20280
|
voorraad_media_upload_failures: {
|
|
19817
20281
|
Row: {
|
|
19818
20282
|
action: string;
|
|
@@ -22036,6 +22500,15 @@ export type Database = {
|
|
|
22036
22500
|
Args: never;
|
|
22037
22501
|
Returns: boolean;
|
|
22038
22502
|
};
|
|
22503
|
+
cancel_open_print_jobs: {
|
|
22504
|
+
Args: {
|
|
22505
|
+
_cutoff: string;
|
|
22506
|
+
};
|
|
22507
|
+
Returns: {
|
|
22508
|
+
extern_job_id: string;
|
|
22509
|
+
id: string;
|
|
22510
|
+
}[];
|
|
22511
|
+
};
|
|
22039
22512
|
check_offer_product_available_stock: {
|
|
22040
22513
|
Args: {
|
|
22041
22514
|
p_campaign_product_id: string;
|
|
@@ -22701,6 +23174,17 @@ export type Database = {
|
|
|
22701
23174
|
};
|
|
22702
23175
|
Returns: boolean;
|
|
22703
23176
|
};
|
|
23177
|
+
floriday_adopt_connection: {
|
|
23178
|
+
Args: {
|
|
23179
|
+
p_new: string;
|
|
23180
|
+
p_old: string;
|
|
23181
|
+
};
|
|
23182
|
+
Returns: Json;
|
|
23183
|
+
};
|
|
23184
|
+
floriday_autoheal_connections: {
|
|
23185
|
+
Args: never;
|
|
23186
|
+
Returns: Json;
|
|
23187
|
+
};
|
|
22704
23188
|
floriday_capture_stock_snapshot: {
|
|
22705
23189
|
Args: never;
|
|
22706
23190
|
Returns: number;
|
|
@@ -22758,6 +23242,12 @@ export type Database = {
|
|
|
22758
23242
|
};
|
|
22759
23243
|
Returns: undefined;
|
|
22760
23244
|
};
|
|
23245
|
+
floriday_relink_products: {
|
|
23246
|
+
Args: {
|
|
23247
|
+
p_connection_id?: string;
|
|
23248
|
+
};
|
|
23249
|
+
Returns: Json;
|
|
23250
|
+
};
|
|
22761
23251
|
floriday_requeue_dead_letters: {
|
|
22762
23252
|
Args: {
|
|
22763
23253
|
p_connection_id?: string;
|
|
@@ -23379,6 +23869,10 @@ export type Database = {
|
|
|
23379
23869
|
};
|
|
23380
23870
|
Returns: string;
|
|
23381
23871
|
};
|
|
23872
|
+
logistics_active_layout_method: {
|
|
23873
|
+
Args: never;
|
|
23874
|
+
Returns: string;
|
|
23875
|
+
};
|
|
23382
23876
|
logistics_active_pick_workdays: {
|
|
23383
23877
|
Args: never;
|
|
23384
23878
|
Returns: string[];
|
|
@@ -23430,6 +23924,30 @@ export type Database = {
|
|
|
23430
23924
|
};
|
|
23431
23925
|
Returns: Json;
|
|
23432
23926
|
};
|
|
23927
|
+
logistics_block_reason_code: {
|
|
23928
|
+
Args: {
|
|
23929
|
+
p_details?: Json;
|
|
23930
|
+
p_reason: string;
|
|
23931
|
+
};
|
|
23932
|
+
Returns: string;
|
|
23933
|
+
};
|
|
23934
|
+
logistics_blocked_orders: {
|
|
23935
|
+
Args: never;
|
|
23936
|
+
Returns: {
|
|
23937
|
+
attempts: number;
|
|
23938
|
+
blocked_since: string;
|
|
23939
|
+
delivery_date: string;
|
|
23940
|
+
order_id: string;
|
|
23941
|
+
order_ref: string;
|
|
23942
|
+
queue_id: string;
|
|
23943
|
+
reason: string;
|
|
23944
|
+
reason_code: string;
|
|
23945
|
+
}[];
|
|
23946
|
+
};
|
|
23947
|
+
logistics_blocked_overview: {
|
|
23948
|
+
Args: never;
|
|
23949
|
+
Returns: Json;
|
|
23950
|
+
};
|
|
23433
23951
|
logistics_buffer_criteria: {
|
|
23434
23952
|
Args: {
|
|
23435
23953
|
p_settings: Json;
|
|
@@ -23444,6 +23962,39 @@ export type Database = {
|
|
|
23444
23962
|
};
|
|
23445
23963
|
Returns: Json;
|
|
23446
23964
|
};
|
|
23965
|
+
logistics_buffer_detach_late_orders: {
|
|
23966
|
+
Args: {
|
|
23967
|
+
p_buffer?: string;
|
|
23968
|
+
};
|
|
23969
|
+
Returns: Json;
|
|
23970
|
+
};
|
|
23971
|
+
logistics_buffer_frozen_order: {
|
|
23972
|
+
Args: {
|
|
23973
|
+
p_order_id: string;
|
|
23974
|
+
};
|
|
23975
|
+
Returns: boolean;
|
|
23976
|
+
};
|
|
23977
|
+
logistics_buffer_handled: {
|
|
23978
|
+
Args: {
|
|
23979
|
+
p_buffer: string;
|
|
23980
|
+
};
|
|
23981
|
+
Returns: boolean;
|
|
23982
|
+
};
|
|
23983
|
+
logistics_buffer_notify: {
|
|
23984
|
+
Args: {
|
|
23985
|
+
p_event_type: string;
|
|
23986
|
+
p_idempotency_key: string;
|
|
23987
|
+
p_order_ref: string;
|
|
23988
|
+
p_payload: Json;
|
|
23989
|
+
};
|
|
23990
|
+
Returns: string;
|
|
23991
|
+
};
|
|
23992
|
+
logistics_buffer_open_key: {
|
|
23993
|
+
Args: {
|
|
23994
|
+
p_base_key: string;
|
|
23995
|
+
};
|
|
23996
|
+
Returns: string;
|
|
23997
|
+
};
|
|
23447
23998
|
logistics_buffer_simulate: {
|
|
23448
23999
|
Args: {
|
|
23449
24000
|
p_orders?: Json;
|
|
@@ -23496,6 +24047,12 @@ export type Database = {
|
|
|
23496
24047
|
};
|
|
23497
24048
|
Returns: string;
|
|
23498
24049
|
};
|
|
24050
|
+
logistics_cart_checkin_at: {
|
|
24051
|
+
Args: {
|
|
24052
|
+
p_cart_id: string;
|
|
24053
|
+
};
|
|
24054
|
+
Returns: string;
|
|
24055
|
+
};
|
|
23499
24056
|
logistics_cart_handled: {
|
|
23500
24057
|
Args: {
|
|
23501
24058
|
p_cart_index: number;
|
|
@@ -23529,10 +24086,22 @@ export type Database = {
|
|
|
23529
24086
|
task_status: string;
|
|
23530
24087
|
}[];
|
|
23531
24088
|
};
|
|
24089
|
+
logistics_cart_is_full: {
|
|
24090
|
+
Args: {
|
|
24091
|
+
p_cart_id: string;
|
|
24092
|
+
};
|
|
24093
|
+
Returns: boolean;
|
|
24094
|
+
};
|
|
23532
24095
|
logistics_cart_layout_method: {
|
|
23533
24096
|
Args: never;
|
|
23534
24097
|
Returns: Json;
|
|
23535
24098
|
};
|
|
24099
|
+
logistics_cart_order_refs: {
|
|
24100
|
+
Args: {
|
|
24101
|
+
p_cart_id: string;
|
|
24102
|
+
};
|
|
24103
|
+
Returns: string[];
|
|
24104
|
+
};
|
|
23536
24105
|
logistics_cart_plan_overview: {
|
|
23537
24106
|
Args: {
|
|
23538
24107
|
p_days?: number;
|
|
@@ -23552,6 +24121,24 @@ export type Database = {
|
|
|
23552
24121
|
};
|
|
23553
24122
|
Returns: Json;
|
|
23554
24123
|
};
|
|
24124
|
+
logistics_cart_plan_status_core: {
|
|
24125
|
+
Args: {
|
|
24126
|
+
p_ref: string;
|
|
24127
|
+
};
|
|
24128
|
+
Returns: Json;
|
|
24129
|
+
};
|
|
24130
|
+
logistics_cart_release_reason: {
|
|
24131
|
+
Args: {
|
|
24132
|
+
p_cart_id: string;
|
|
24133
|
+
};
|
|
24134
|
+
Returns: string;
|
|
24135
|
+
};
|
|
24136
|
+
logistics_cart_released: {
|
|
24137
|
+
Args: {
|
|
24138
|
+
p_cart_id: string;
|
|
24139
|
+
};
|
|
24140
|
+
Returns: boolean;
|
|
24141
|
+
};
|
|
23555
24142
|
logistics_cart_seq: {
|
|
23556
24143
|
Args: {
|
|
23557
24144
|
p_order_uuid?: string;
|
|
@@ -23602,6 +24189,10 @@ export type Database = {
|
|
|
23602
24189
|
unit_ref: string;
|
|
23603
24190
|
}[];
|
|
23604
24191
|
};
|
|
24192
|
+
logistics_carts_per_print: {
|
|
24193
|
+
Args: never;
|
|
24194
|
+
Returns: number;
|
|
24195
|
+
};
|
|
23605
24196
|
logistics_check_order_allowed: {
|
|
23606
24197
|
Args: {
|
|
23607
24198
|
p_lines: Json;
|
|
@@ -23705,6 +24296,10 @@ export type Database = {
|
|
|
23705
24296
|
isSetofReturn: false;
|
|
23706
24297
|
};
|
|
23707
24298
|
};
|
|
24299
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24300
|
+
Args: never;
|
|
24301
|
+
Returns: Json;
|
|
24302
|
+
};
|
|
23708
24303
|
logistics_complete_task: {
|
|
23709
24304
|
Args: {
|
|
23710
24305
|
p_result?: Json;
|
|
@@ -23767,6 +24362,12 @@ export type Database = {
|
|
|
23767
24362
|
station_carts: number;
|
|
23768
24363
|
}[];
|
|
23769
24364
|
};
|
|
24365
|
+
logistics_control_complete_cart: {
|
|
24366
|
+
Args: {
|
|
24367
|
+
p_cart_id: string;
|
|
24368
|
+
};
|
|
24369
|
+
Returns: number;
|
|
24370
|
+
};
|
|
23770
24371
|
logistics_control_scan_approve: {
|
|
23771
24372
|
Args: {
|
|
23772
24373
|
p_allow_reprint?: boolean;
|
|
@@ -23846,6 +24447,15 @@ export type Database = {
|
|
|
23846
24447
|
Args: never;
|
|
23847
24448
|
Returns: Json;
|
|
23848
24449
|
};
|
|
24450
|
+
logistics_day_windows: {
|
|
24451
|
+
Args: {
|
|
24452
|
+
p_day: string;
|
|
24453
|
+
};
|
|
24454
|
+
Returns: {
|
|
24455
|
+
win_end: string;
|
|
24456
|
+
win_start: string;
|
|
24457
|
+
}[];
|
|
24458
|
+
};
|
|
23849
24459
|
logistics_delay_customer_email: {
|
|
23850
24460
|
Args: {
|
|
23851
24461
|
p_customer: string;
|
|
@@ -23913,6 +24523,17 @@ export type Database = {
|
|
|
23913
24523
|
};
|
|
23914
24524
|
Returns: Json;
|
|
23915
24525
|
};
|
|
24526
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
24527
|
+
Args: {
|
|
24528
|
+
_cart_id: string;
|
|
24529
|
+
_is_herprint: boolean;
|
|
24530
|
+
_printer_id: string;
|
|
24531
|
+
_queue_item_id: string;
|
|
24532
|
+
_session_id: string;
|
|
24533
|
+
_slip_job_id: string;
|
|
24534
|
+
};
|
|
24535
|
+
Returns: string;
|
|
24536
|
+
};
|
|
23916
24537
|
logistics_enqueue_sticker_with_slip: {
|
|
23917
24538
|
Args: {
|
|
23918
24539
|
_cart_id: string;
|
|
@@ -23930,6 +24551,20 @@ export type Database = {
|
|
|
23930
24551
|
};
|
|
23931
24552
|
Returns: string;
|
|
23932
24553
|
};
|
|
24554
|
+
logistics_ensure_pick_data: {
|
|
24555
|
+
Args: {
|
|
24556
|
+
p_event_id?: string;
|
|
24557
|
+
p_missing?: Json;
|
|
24558
|
+
p_ref: string;
|
|
24559
|
+
};
|
|
24560
|
+
Returns: Json;
|
|
24561
|
+
};
|
|
24562
|
+
logistics_ensure_shipping_notes: {
|
|
24563
|
+
Args: {
|
|
24564
|
+
p_limit?: number;
|
|
24565
|
+
};
|
|
24566
|
+
Returns: Json;
|
|
24567
|
+
};
|
|
23933
24568
|
logistics_fail_task: {
|
|
23934
24569
|
Args: {
|
|
23935
24570
|
p_error: string;
|
|
@@ -23975,6 +24610,10 @@ export type Database = {
|
|
|
23975
24610
|
isSetofReturn: false;
|
|
23976
24611
|
};
|
|
23977
24612
|
};
|
|
24613
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24614
|
+
Args: never;
|
|
24615
|
+
Returns: Json;
|
|
24616
|
+
};
|
|
23978
24617
|
logistics_floriday_cart_plan: {
|
|
23979
24618
|
Args: {
|
|
23980
24619
|
p_order_id: string;
|
|
@@ -24002,6 +24641,10 @@ export type Database = {
|
|
|
24002
24641
|
revision: number;
|
|
24003
24642
|
}[];
|
|
24004
24643
|
};
|
|
24644
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24645
|
+
Args: never;
|
|
24646
|
+
Returns: boolean;
|
|
24647
|
+
};
|
|
24005
24648
|
logistics_floriday_finish_push: {
|
|
24006
24649
|
Args: {
|
|
24007
24650
|
_error?: string;
|
|
@@ -24051,6 +24694,38 @@ export type Database = {
|
|
|
24051
24694
|
};
|
|
24052
24695
|
Returns: string;
|
|
24053
24696
|
};
|
|
24697
|
+
logistics_floriday_gate_status: {
|
|
24698
|
+
Args: never;
|
|
24699
|
+
Returns: Json;
|
|
24700
|
+
};
|
|
24701
|
+
logistics_floriday_log_refusal: {
|
|
24702
|
+
Args: {
|
|
24703
|
+
_action?: string;
|
|
24704
|
+
_module?: string;
|
|
24705
|
+
_order_ref: string;
|
|
24706
|
+
_reason: string;
|
|
24707
|
+
_shell?: string;
|
|
24708
|
+
};
|
|
24709
|
+
Returns: undefined;
|
|
24710
|
+
};
|
|
24711
|
+
logistics_floriday_log_send: {
|
|
24712
|
+
Args: {
|
|
24713
|
+
_action: string;
|
|
24714
|
+
_detail?: string;
|
|
24715
|
+
_http_status?: number;
|
|
24716
|
+
_module?: string;
|
|
24717
|
+
_ok: boolean;
|
|
24718
|
+
_order_ref: string;
|
|
24719
|
+
_shell?: string;
|
|
24720
|
+
};
|
|
24721
|
+
Returns: undefined;
|
|
24722
|
+
};
|
|
24723
|
+
logistics_floriday_order_approved: {
|
|
24724
|
+
Args: {
|
|
24725
|
+
_order_ref: string;
|
|
24726
|
+
};
|
|
24727
|
+
Returns: boolean;
|
|
24728
|
+
};
|
|
24054
24729
|
logistics_floriday_prune_pushes: {
|
|
24055
24730
|
Args: {
|
|
24056
24731
|
_days?: number;
|
|
@@ -24065,6 +24740,20 @@ export type Database = {
|
|
|
24065
24740
|
};
|
|
24066
24741
|
Returns: string;
|
|
24067
24742
|
};
|
|
24743
|
+
logistics_floriday_status_updates_enabled: {
|
|
24744
|
+
Args: never;
|
|
24745
|
+
Returns: boolean;
|
|
24746
|
+
};
|
|
24747
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24748
|
+
Args: never;
|
|
24749
|
+
Returns: boolean;
|
|
24750
|
+
};
|
|
24751
|
+
logistics_floriday_write_allowed: {
|
|
24752
|
+
Args: {
|
|
24753
|
+
_action: string;
|
|
24754
|
+
};
|
|
24755
|
+
Returns: boolean;
|
|
24756
|
+
};
|
|
24068
24757
|
logistics_fulfill_barcode_requests: {
|
|
24069
24758
|
Args: {
|
|
24070
24759
|
p_limit?: number;
|
|
@@ -24085,6 +24774,16 @@ export type Database = {
|
|
|
24085
24774
|
};
|
|
24086
24775
|
Returns: boolean;
|
|
24087
24776
|
};
|
|
24777
|
+
logistics_layout_method_status: {
|
|
24778
|
+
Args: never;
|
|
24779
|
+
Returns: Json;
|
|
24780
|
+
};
|
|
24781
|
+
logistics_link_order_items: {
|
|
24782
|
+
Args: {
|
|
24783
|
+
p_order?: string;
|
|
24784
|
+
};
|
|
24785
|
+
Returns: Json;
|
|
24786
|
+
};
|
|
24088
24787
|
logistics_live_carriers: {
|
|
24089
24788
|
Args: {
|
|
24090
24789
|
p_order_ref: string;
|
|
@@ -24097,6 +24796,12 @@ export type Database = {
|
|
|
24097
24796
|
};
|
|
24098
24797
|
Returns: number;
|
|
24099
24798
|
};
|
|
24799
|
+
logistics_merge_partial_carts: {
|
|
24800
|
+
Args: {
|
|
24801
|
+
p_limit?: number;
|
|
24802
|
+
};
|
|
24803
|
+
Returns: Json;
|
|
24804
|
+
};
|
|
24100
24805
|
logistics_next_workday_date: {
|
|
24101
24806
|
Args: {
|
|
24102
24807
|
p_date: string;
|
|
@@ -24111,12 +24816,22 @@ export type Database = {
|
|
|
24111
24816
|
};
|
|
24112
24817
|
Returns: string;
|
|
24113
24818
|
};
|
|
24819
|
+
logistics_normalize_product_label: {
|
|
24820
|
+
Args: {
|
|
24821
|
+
p_label: string;
|
|
24822
|
+
};
|
|
24823
|
+
Returns: string;
|
|
24824
|
+
};
|
|
24114
24825
|
logistics_not_past: {
|
|
24115
24826
|
Args: {
|
|
24116
24827
|
p_ts: string;
|
|
24117
24828
|
};
|
|
24118
24829
|
Returns: string;
|
|
24119
24830
|
};
|
|
24831
|
+
logistics_opening_timezone: {
|
|
24832
|
+
Args: never;
|
|
24833
|
+
Returns: string;
|
|
24834
|
+
};
|
|
24120
24835
|
logistics_order_cart_count: {
|
|
24121
24836
|
Args: {
|
|
24122
24837
|
p_order_ref: string;
|
|
@@ -24173,6 +24888,12 @@ export type Database = {
|
|
|
24173
24888
|
};
|
|
24174
24889
|
Returns: string;
|
|
24175
24890
|
};
|
|
24891
|
+
logistics_payload_is_floriday: {
|
|
24892
|
+
Args: {
|
|
24893
|
+
_payload: Json;
|
|
24894
|
+
};
|
|
24895
|
+
Returns: boolean;
|
|
24896
|
+
};
|
|
24176
24897
|
logistics_pick_agenda: {
|
|
24177
24898
|
Args: {
|
|
24178
24899
|
p_from?: string;
|
|
@@ -24201,6 +24922,10 @@ export type Database = {
|
|
|
24201
24922
|
Args: never;
|
|
24202
24923
|
Returns: Json;
|
|
24203
24924
|
};
|
|
24925
|
+
logistics_pick_partial_mode: {
|
|
24926
|
+
Args: never;
|
|
24927
|
+
Returns: string;
|
|
24928
|
+
};
|
|
24204
24929
|
logistics_pick_start_estimate: {
|
|
24205
24930
|
Args: {
|
|
24206
24931
|
p_order: Json;
|
|
@@ -24291,6 +25016,20 @@ export type Database = {
|
|
|
24291
25016
|
Args: never;
|
|
24292
25017
|
Returns: undefined;
|
|
24293
25018
|
};
|
|
25019
|
+
logistics_plan_progress: {
|
|
25020
|
+
Args: {
|
|
25021
|
+
p_refs: string[];
|
|
25022
|
+
};
|
|
25023
|
+
Returns: {
|
|
25024
|
+
cart_plan_ready: boolean;
|
|
25025
|
+
cart_plan_reason: string;
|
|
25026
|
+
cart_plan_released: boolean;
|
|
25027
|
+
plan_progress: number;
|
|
25028
|
+
plan_state: string;
|
|
25029
|
+
plan_state_since: string;
|
|
25030
|
+
unit_ref: string;
|
|
25031
|
+
}[];
|
|
25032
|
+
};
|
|
24294
25033
|
logistics_plan_prune: {
|
|
24295
25034
|
Args: never;
|
|
24296
25035
|
Returns: number;
|
|
@@ -24299,6 +25038,12 @@ export type Database = {
|
|
|
24299
25038
|
Args: never;
|
|
24300
25039
|
Returns: number;
|
|
24301
25040
|
};
|
|
25041
|
+
logistics_plan_retry: {
|
|
25042
|
+
Args: {
|
|
25043
|
+
p_order_ids: string[];
|
|
25044
|
+
};
|
|
25045
|
+
Returns: number;
|
|
25046
|
+
};
|
|
24302
25047
|
logistics_plan_setting: {
|
|
24303
25048
|
Args: {
|
|
24304
25049
|
p_default: number;
|
|
@@ -24306,6 +25051,18 @@ export type Database = {
|
|
|
24306
25051
|
};
|
|
24307
25052
|
Returns: number;
|
|
24308
25053
|
};
|
|
25054
|
+
logistics_plan_state_for: {
|
|
25055
|
+
Args: {
|
|
25056
|
+
p_ref: string;
|
|
25057
|
+
};
|
|
25058
|
+
Returns: Json;
|
|
25059
|
+
};
|
|
25060
|
+
logistics_prepare_pick_documents: {
|
|
25061
|
+
Args: {
|
|
25062
|
+
p_limit?: number;
|
|
25063
|
+
};
|
|
25064
|
+
Returns: Json;
|
|
25065
|
+
};
|
|
24309
25066
|
logistics_prune_buffer_member_queue: {
|
|
24310
25067
|
Args: never;
|
|
24311
25068
|
Returns: number;
|
|
@@ -24346,12 +25103,36 @@ export type Database = {
|
|
|
24346
25103
|
Args: never;
|
|
24347
25104
|
Returns: Json;
|
|
24348
25105
|
};
|
|
25106
|
+
logistics_refresh_pick_queue_status: {
|
|
25107
|
+
Args: {
|
|
25108
|
+
p_ref: string;
|
|
25109
|
+
};
|
|
25110
|
+
Returns: number;
|
|
25111
|
+
};
|
|
24349
25112
|
logistics_refresh_pickup_moments: {
|
|
24350
25113
|
Args: {
|
|
24351
25114
|
p_weeks?: number;
|
|
24352
25115
|
};
|
|
24353
25116
|
Returns: Json;
|
|
24354
25117
|
};
|
|
25118
|
+
logistics_refresh_plan_state: {
|
|
25119
|
+
Args: {
|
|
25120
|
+
p_limit?: number;
|
|
25121
|
+
};
|
|
25122
|
+
Returns: Json;
|
|
25123
|
+
};
|
|
25124
|
+
logistics_replan_all: {
|
|
25125
|
+
Args: {
|
|
25126
|
+
p_reason?: string;
|
|
25127
|
+
};
|
|
25128
|
+
Returns: Json;
|
|
25129
|
+
};
|
|
25130
|
+
logistics_replan_all_force: {
|
|
25131
|
+
Args: {
|
|
25132
|
+
p_reason?: string;
|
|
25133
|
+
};
|
|
25134
|
+
Returns: Json;
|
|
25135
|
+
};
|
|
24355
25136
|
logistics_report_delay: {
|
|
24356
25137
|
Args: {
|
|
24357
25138
|
p_expected_date?: string;
|
|
@@ -24405,6 +25186,12 @@ export type Database = {
|
|
|
24405
25186
|
};
|
|
24406
25187
|
Returns: Json;
|
|
24407
25188
|
};
|
|
25189
|
+
logistics_resolve_product_id: {
|
|
25190
|
+
Args: {
|
|
25191
|
+
p_label: string;
|
|
25192
|
+
};
|
|
25193
|
+
Returns: string;
|
|
25194
|
+
};
|
|
24408
25195
|
logistics_resolve_settings: {
|
|
24409
25196
|
Args: {
|
|
24410
25197
|
p_config_id: string;
|
|
@@ -24490,6 +25277,10 @@ export type Database = {
|
|
|
24490
25277
|
};
|
|
24491
25278
|
Returns: string;
|
|
24492
25279
|
};
|
|
25280
|
+
logistics_shipping_note_follows_slip: {
|
|
25281
|
+
Args: never;
|
|
25282
|
+
Returns: boolean;
|
|
25283
|
+
};
|
|
24493
25284
|
logistics_shipping_note_from_barcode: {
|
|
24494
25285
|
Args: {
|
|
24495
25286
|
p_allow_reprint?: boolean;
|
|
@@ -24498,10 +25289,86 @@ export type Database = {
|
|
|
24498
25289
|
};
|
|
24499
25290
|
Returns: Json;
|
|
24500
25291
|
};
|
|
25292
|
+
logistics_shipping_note_job_for_slip: {
|
|
25293
|
+
Args: {
|
|
25294
|
+
_slip_job_id: string;
|
|
25295
|
+
};
|
|
25296
|
+
Returns: string;
|
|
25297
|
+
};
|
|
25298
|
+
logistics_shipping_notes_wake_all: {
|
|
25299
|
+
Args: never;
|
|
25300
|
+
Returns: Json;
|
|
25301
|
+
};
|
|
25302
|
+
logistics_slip_is_floriday: {
|
|
25303
|
+
Args: {
|
|
25304
|
+
_slip_job_id: string;
|
|
25305
|
+
};
|
|
25306
|
+
Returns: boolean;
|
|
25307
|
+
};
|
|
25308
|
+
logistics_slip_note_claim: {
|
|
25309
|
+
Args: {
|
|
25310
|
+
_lease_seconds?: number;
|
|
25311
|
+
_limit?: number;
|
|
25312
|
+
};
|
|
25313
|
+
Returns: {
|
|
25314
|
+
attempts: number;
|
|
25315
|
+
batch_key: string | null;
|
|
25316
|
+
cart_id: string | null;
|
|
25317
|
+
created_at: string;
|
|
25318
|
+
error: string | null;
|
|
25319
|
+
error_code: string | null;
|
|
25320
|
+
fulfillment_order_id: string | null;
|
|
25321
|
+
id: string;
|
|
25322
|
+
locked_until: string | null;
|
|
25323
|
+
next_attempt_at: string | null;
|
|
25324
|
+
order_id: string | null;
|
|
25325
|
+
order_number: string | null;
|
|
25326
|
+
print_job_id: string | null;
|
|
25327
|
+
printer_id: string | null;
|
|
25328
|
+
retry_class: string | null;
|
|
25329
|
+
slip_job_id: string;
|
|
25330
|
+
status: string;
|
|
25331
|
+
updated_at: string;
|
|
25332
|
+
}[];
|
|
25333
|
+
SetofOptions: {
|
|
25334
|
+
from: "*";
|
|
25335
|
+
to: "logistics_slip_shipping_note";
|
|
25336
|
+
isOneToOne: false;
|
|
25337
|
+
isSetofReturn: true;
|
|
25338
|
+
};
|
|
25339
|
+
};
|
|
25340
|
+
logistics_slip_note_finish: {
|
|
25341
|
+
Args: {
|
|
25342
|
+
_error?: string;
|
|
25343
|
+
_error_code?: string;
|
|
25344
|
+
_fulfillment_order_id?: string;
|
|
25345
|
+
_id: string;
|
|
25346
|
+
_ok: boolean;
|
|
25347
|
+
_print_job_id?: string;
|
|
25348
|
+
_status?: string;
|
|
25349
|
+
};
|
|
25350
|
+
Returns: undefined;
|
|
25351
|
+
};
|
|
25352
|
+
logistics_slip_note_keep_waiting: {
|
|
25353
|
+
Args: {
|
|
25354
|
+
_class?: string;
|
|
25355
|
+
_id: string;
|
|
25356
|
+
_reason: string;
|
|
25357
|
+
};
|
|
25358
|
+
Returns: undefined;
|
|
25359
|
+
};
|
|
24501
25360
|
logistics_sticker_follows_slip: {
|
|
24502
25361
|
Args: never;
|
|
24503
25362
|
Returns: boolean;
|
|
24504
25363
|
};
|
|
25364
|
+
logistics_subtract_working_minutes: {
|
|
25365
|
+
Args: {
|
|
25366
|
+
p_deadline: string;
|
|
25367
|
+
p_max_workdays?: number;
|
|
25368
|
+
p_minutes: number;
|
|
25369
|
+
};
|
|
25370
|
+
Returns: Json;
|
|
25371
|
+
};
|
|
24505
25372
|
logistics_supersede_stale_tasks: {
|
|
24506
25373
|
Args: {
|
|
24507
25374
|
p_keep: string[];
|
|
@@ -24534,6 +25401,16 @@ export type Database = {
|
|
|
24534
25401
|
};
|
|
24535
25402
|
Returns: number;
|
|
24536
25403
|
};
|
|
25404
|
+
logistics_tick_ping: {
|
|
25405
|
+
Args: never;
|
|
25406
|
+
Returns: string;
|
|
25407
|
+
};
|
|
25408
|
+
logistics_timezone_options: {
|
|
25409
|
+
Args: never;
|
|
25410
|
+
Returns: {
|
|
25411
|
+
name: string;
|
|
25412
|
+
}[];
|
|
25413
|
+
};
|
|
24537
25414
|
logistics_upsert_task: {
|
|
24538
25415
|
Args: {
|
|
24539
25416
|
p_buffer_ref: string;
|
|
@@ -24553,6 +25430,16 @@ export type Database = {
|
|
|
24553
25430
|
};
|
|
24554
25431
|
Returns: string;
|
|
24555
25432
|
};
|
|
25433
|
+
logistics_valid_timezone: {
|
|
25434
|
+
Args: {
|
|
25435
|
+
_tz: string;
|
|
25436
|
+
};
|
|
25437
|
+
Returns: boolean;
|
|
25438
|
+
};
|
|
25439
|
+
logistics_working_hours_status: {
|
|
25440
|
+
Args: never;
|
|
25441
|
+
Returns: Json;
|
|
25442
|
+
};
|
|
24556
25443
|
logistics_write_buffer_layer_positions: {
|
|
24557
25444
|
Args: {
|
|
24558
25445
|
p_buffer_id: string;
|
|
@@ -24718,6 +25605,10 @@ export type Database = {
|
|
|
24718
25605
|
online: boolean;
|
|
24719
25606
|
}[];
|
|
24720
25607
|
};
|
|
25608
|
+
pick_apply_buffer_events: {
|
|
25609
|
+
Args: never;
|
|
25610
|
+
Returns: Json;
|
|
25611
|
+
};
|
|
24721
25612
|
pick_available_pick_days: {
|
|
24722
25613
|
Args: {
|
|
24723
25614
|
_max_days?: number;
|
|
@@ -25645,6 +26536,12 @@ export type Database = {
|
|
|
25645
26536
|
};
|
|
25646
26537
|
Returns: boolean;
|
|
25647
26538
|
};
|
|
26539
|
+
release_job_lock: {
|
|
26540
|
+
Args: {
|
|
26541
|
+
_key: string;
|
|
26542
|
+
};
|
|
26543
|
+
Returns: undefined;
|
|
26544
|
+
};
|
|
25648
26545
|
release_local_pdf_job: {
|
|
25649
26546
|
Args: {
|
|
25650
26547
|
_job_id: string;
|
|
@@ -25988,6 +26885,13 @@ export type Database = {
|
|
|
25988
26885
|
};
|
|
25989
26886
|
Returns: number;
|
|
25990
26887
|
};
|
|
26888
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26889
|
+
Args: {
|
|
26890
|
+
p_apikey: string;
|
|
26891
|
+
p_url: string;
|
|
26892
|
+
};
|
|
26893
|
+
Returns: number;
|
|
26894
|
+
};
|
|
25991
26895
|
schedule_floriday_clock_presales_sync: {
|
|
25992
26896
|
Args: {
|
|
25993
26897
|
p_apikey: string;
|
|
@@ -26288,6 +27192,10 @@ export type Database = {
|
|
|
26288
27192
|
};
|
|
26289
27193
|
Returns: undefined;
|
|
26290
27194
|
};
|
|
27195
|
+
sync_floriday_prices_into_price_groups: {
|
|
27196
|
+
Args: never;
|
|
27197
|
+
Returns: number;
|
|
27198
|
+
};
|
|
26291
27199
|
sync_layer_stock: {
|
|
26292
27200
|
Args: {
|
|
26293
27201
|
p_product_id: string;
|
|
@@ -26333,6 +27241,14 @@ export type Database = {
|
|
|
26333
27241
|
row_count: number;
|
|
26334
27242
|
}[];
|
|
26335
27243
|
};
|
|
27244
|
+
try_acquire_job_lock: {
|
|
27245
|
+
Args: {
|
|
27246
|
+
_key: string;
|
|
27247
|
+
_owner?: string;
|
|
27248
|
+
_seconds?: number;
|
|
27249
|
+
};
|
|
27250
|
+
Returns: boolean;
|
|
27251
|
+
};
|
|
26336
27252
|
try_debtor_lock: {
|
|
26337
27253
|
Args: {
|
|
26338
27254
|
_group_key: string;
|