@flowselections/floriday-voorraad 1.0.42 → 1.0.44
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/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
- package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
- package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
- package/dist-lib/hooks/useFloriday.js +5 -2
- package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
- package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
- package/dist-lib/hooks/useStockPushJobs.js +18 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +463 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +463 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +463 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +466 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +463 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.js +6 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +463 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +926 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2778 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +926 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1389 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +926 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +926 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +926 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2238,6 +2238,45 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
2238
2238
|
};
|
|
2239
2239
|
Relationships: [];
|
|
2240
2240
|
};
|
|
2241
|
+
customer_product_stickers: {
|
|
2242
|
+
Row: {
|
|
2243
|
+
created_at: string;
|
|
2244
|
+
customer_key: string;
|
|
2245
|
+
file_name: string;
|
|
2246
|
+
file_path: string;
|
|
2247
|
+
file_size: number | null;
|
|
2248
|
+
id: string;
|
|
2249
|
+
mime_type: string | null;
|
|
2250
|
+
trade_item_key: string;
|
|
2251
|
+
updated_at: string;
|
|
2252
|
+
uploaded_by: string | null;
|
|
2253
|
+
};
|
|
2254
|
+
Insert: {
|
|
2255
|
+
created_at?: string;
|
|
2256
|
+
customer_key: string;
|
|
2257
|
+
file_name: string;
|
|
2258
|
+
file_path: string;
|
|
2259
|
+
file_size?: number | null;
|
|
2260
|
+
id?: string;
|
|
2261
|
+
mime_type?: string | null;
|
|
2262
|
+
trade_item_key: string;
|
|
2263
|
+
updated_at?: string;
|
|
2264
|
+
uploaded_by?: string | null;
|
|
2265
|
+
};
|
|
2266
|
+
Update: {
|
|
2267
|
+
created_at?: string;
|
|
2268
|
+
customer_key?: string;
|
|
2269
|
+
file_name?: string;
|
|
2270
|
+
file_path?: string;
|
|
2271
|
+
file_size?: number | null;
|
|
2272
|
+
id?: string;
|
|
2273
|
+
mime_type?: string | null;
|
|
2274
|
+
trade_item_key?: string;
|
|
2275
|
+
updated_at?: string;
|
|
2276
|
+
uploaded_by?: string | null;
|
|
2277
|
+
};
|
|
2278
|
+
Relationships: [];
|
|
2279
|
+
};
|
|
2241
2280
|
customer_selected_assortment: {
|
|
2242
2281
|
Row: {
|
|
2243
2282
|
article_number: string | null;
|
|
@@ -2286,6 +2325,30 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
2286
2325
|
referencedColumns: ["id"];
|
|
2287
2326
|
}];
|
|
2288
2327
|
};
|
|
2328
|
+
customer_sticker_settings: {
|
|
2329
|
+
Row: {
|
|
2330
|
+
created_at: string;
|
|
2331
|
+
customer_key: string;
|
|
2332
|
+
height_mm: number;
|
|
2333
|
+
updated_at: string;
|
|
2334
|
+
width_mm: number;
|
|
2335
|
+
};
|
|
2336
|
+
Insert: {
|
|
2337
|
+
created_at?: string;
|
|
2338
|
+
customer_key: string;
|
|
2339
|
+
height_mm?: number;
|
|
2340
|
+
updated_at?: string;
|
|
2341
|
+
width_mm?: number;
|
|
2342
|
+
};
|
|
2343
|
+
Update: {
|
|
2344
|
+
created_at?: string;
|
|
2345
|
+
customer_key?: string;
|
|
2346
|
+
height_mm?: number;
|
|
2347
|
+
updated_at?: string;
|
|
2348
|
+
width_mm?: number;
|
|
2349
|
+
};
|
|
2350
|
+
Relationships: [];
|
|
2351
|
+
};
|
|
2289
2352
|
customer_trade_settings: {
|
|
2290
2353
|
Row: {
|
|
2291
2354
|
category: string;
|
|
@@ -5616,6 +5679,102 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
5616
5679
|
referencedColumns: ["id"];
|
|
5617
5680
|
}];
|
|
5618
5681
|
};
|
|
5682
|
+
floriday_api_log: {
|
|
5683
|
+
Row: {
|
|
5684
|
+
action: string | null;
|
|
5685
|
+
caller: string | null;
|
|
5686
|
+
connection_id: string | null;
|
|
5687
|
+
created_at: string;
|
|
5688
|
+
cursor_from: number | null;
|
|
5689
|
+
direction: string;
|
|
5690
|
+
duration_ms: number | null;
|
|
5691
|
+
environment: string | null;
|
|
5692
|
+
error: string | null;
|
|
5693
|
+
floriday_id: string | null;
|
|
5694
|
+
floriday_reference: string | null;
|
|
5695
|
+
http_status: number;
|
|
5696
|
+
id: string;
|
|
5697
|
+
item_count: number | null;
|
|
5698
|
+
kind: string | null;
|
|
5699
|
+
local_id: string | null;
|
|
5700
|
+
local_reference: string | null;
|
|
5701
|
+
method: string;
|
|
5702
|
+
module: string | null;
|
|
5703
|
+
ok: boolean;
|
|
5704
|
+
path: string;
|
|
5705
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5706
|
+
resource_type: string | null;
|
|
5707
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5708
|
+
write_log_id: string | null;
|
|
5709
|
+
};
|
|
5710
|
+
Insert: {
|
|
5711
|
+
action?: string | null;
|
|
5712
|
+
caller?: string | null;
|
|
5713
|
+
connection_id?: string | null;
|
|
5714
|
+
created_at?: string;
|
|
5715
|
+
cursor_from?: number | null;
|
|
5716
|
+
direction: string;
|
|
5717
|
+
duration_ms?: number | null;
|
|
5718
|
+
environment?: string | null;
|
|
5719
|
+
error?: string | null;
|
|
5720
|
+
floriday_id?: string | null;
|
|
5721
|
+
floriday_reference?: string | null;
|
|
5722
|
+
http_status?: number;
|
|
5723
|
+
id?: string;
|
|
5724
|
+
item_count?: number | null;
|
|
5725
|
+
kind?: string | null;
|
|
5726
|
+
local_id?: string | null;
|
|
5727
|
+
local_reference?: string | null;
|
|
5728
|
+
method: string;
|
|
5729
|
+
module?: string | null;
|
|
5730
|
+
ok?: boolean;
|
|
5731
|
+
path: string;
|
|
5732
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5733
|
+
resource_type?: string | null;
|
|
5734
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5735
|
+
write_log_id?: string | null;
|
|
5736
|
+
};
|
|
5737
|
+
Update: {
|
|
5738
|
+
action?: string | null;
|
|
5739
|
+
caller?: string | null;
|
|
5740
|
+
connection_id?: string | null;
|
|
5741
|
+
created_at?: string;
|
|
5742
|
+
cursor_from?: number | null;
|
|
5743
|
+
direction?: string;
|
|
5744
|
+
duration_ms?: number | null;
|
|
5745
|
+
environment?: string | null;
|
|
5746
|
+
error?: string | null;
|
|
5747
|
+
floriday_id?: string | null;
|
|
5748
|
+
floriday_reference?: string | null;
|
|
5749
|
+
http_status?: number;
|
|
5750
|
+
id?: string;
|
|
5751
|
+
item_count?: number | null;
|
|
5752
|
+
kind?: string | null;
|
|
5753
|
+
local_id?: string | null;
|
|
5754
|
+
local_reference?: string | null;
|
|
5755
|
+
method?: string;
|
|
5756
|
+
module?: string | null;
|
|
5757
|
+
ok?: boolean;
|
|
5758
|
+
path?: string;
|
|
5759
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5760
|
+
resource_type?: string | null;
|
|
5761
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5762
|
+
write_log_id?: string | null;
|
|
5763
|
+
};
|
|
5764
|
+
Relationships: [{
|
|
5765
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5766
|
+
columns: ["connection_id"];
|
|
5767
|
+
isOneToOne: false;
|
|
5768
|
+
referencedRelation: "floriday_connections";
|
|
5769
|
+
referencedColumns: ["id"];
|
|
5770
|
+
}, {
|
|
5771
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5772
|
+
columns: ["write_log_id"];
|
|
5773
|
+
isOneToOne: false;
|
|
5774
|
+
referencedRelation: "floriday_write_log";
|
|
5775
|
+
referencedColumns: ["id"];
|
|
5776
|
+
}];
|
|
5777
|
+
};
|
|
5619
5778
|
floriday_auction_letters_cache: {
|
|
5620
5779
|
Row: {
|
|
5621
5780
|
auction_letter_code: string;
|
|
@@ -6816,6 +6975,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
6816
6975
|
referencedColumns: ["id"];
|
|
6817
6976
|
}];
|
|
6818
6977
|
};
|
|
6978
|
+
floriday_link_templates: {
|
|
6979
|
+
Row: {
|
|
6980
|
+
created_at: string;
|
|
6981
|
+
floriday_url_template: string | null;
|
|
6982
|
+
is_active: boolean;
|
|
6983
|
+
label: string;
|
|
6984
|
+
local_url_template: string | null;
|
|
6985
|
+
resource_type: string;
|
|
6986
|
+
updated_at: string;
|
|
6987
|
+
};
|
|
6988
|
+
Insert: {
|
|
6989
|
+
created_at?: string;
|
|
6990
|
+
floriday_url_template?: string | null;
|
|
6991
|
+
is_active?: boolean;
|
|
6992
|
+
label: string;
|
|
6993
|
+
local_url_template?: string | null;
|
|
6994
|
+
resource_type: string;
|
|
6995
|
+
updated_at?: string;
|
|
6996
|
+
};
|
|
6997
|
+
Update: {
|
|
6998
|
+
created_at?: string;
|
|
6999
|
+
floriday_url_template?: string | null;
|
|
7000
|
+
is_active?: boolean;
|
|
7001
|
+
label?: string;
|
|
7002
|
+
local_url_template?: string | null;
|
|
7003
|
+
resource_type?: string;
|
|
7004
|
+
updated_at?: string;
|
|
7005
|
+
};
|
|
7006
|
+
Relationships: [];
|
|
7007
|
+
};
|
|
7008
|
+
floriday_log_retention: {
|
|
7009
|
+
Row: {
|
|
7010
|
+
created_at: string;
|
|
7011
|
+
direction: string | null;
|
|
7012
|
+
id: string;
|
|
7013
|
+
keep_failed_days: number | null;
|
|
7014
|
+
keep_ok_days: number | null;
|
|
7015
|
+
note: string | null;
|
|
7016
|
+
resource_type: string | null;
|
|
7017
|
+
updated_at: string;
|
|
7018
|
+
};
|
|
7019
|
+
Insert: {
|
|
7020
|
+
created_at?: string;
|
|
7021
|
+
direction?: string | null;
|
|
7022
|
+
id?: string;
|
|
7023
|
+
keep_failed_days?: number | null;
|
|
7024
|
+
keep_ok_days?: number | null;
|
|
7025
|
+
note?: string | null;
|
|
7026
|
+
resource_type?: string | null;
|
|
7027
|
+
updated_at?: string;
|
|
7028
|
+
};
|
|
7029
|
+
Update: {
|
|
7030
|
+
created_at?: string;
|
|
7031
|
+
direction?: string | null;
|
|
7032
|
+
id?: string;
|
|
7033
|
+
keep_failed_days?: number | null;
|
|
7034
|
+
keep_ok_days?: number | null;
|
|
7035
|
+
note?: string | null;
|
|
7036
|
+
resource_type?: string | null;
|
|
7037
|
+
updated_at?: string;
|
|
7038
|
+
};
|
|
7039
|
+
Relationships: [];
|
|
7040
|
+
};
|
|
6819
7041
|
floriday_logistic_labels_cache: {
|
|
6820
7042
|
Row: {
|
|
6821
7043
|
byte_size: number | null;
|
|
@@ -11355,6 +11577,111 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
11355
11577
|
};
|
|
11356
11578
|
Relationships: [];
|
|
11357
11579
|
};
|
|
11580
|
+
logistics_trace_events: {
|
|
11581
|
+
Row: {
|
|
11582
|
+
actor: string | null;
|
|
11583
|
+
attempts: number;
|
|
11584
|
+
cart_ref: string | null;
|
|
11585
|
+
created_at: string;
|
|
11586
|
+
db_action: string | null;
|
|
11587
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11588
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11589
|
+
db_record: string | null;
|
|
11590
|
+
db_table: string | null;
|
|
11591
|
+
decision: string | null;
|
|
11592
|
+
duration_ms: number | null;
|
|
11593
|
+
error: string | null;
|
|
11594
|
+
external_action: string | null;
|
|
11595
|
+
external_ref: string | null;
|
|
11596
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11597
|
+
external_status: string | null;
|
|
11598
|
+
external_system: string | null;
|
|
11599
|
+
id: string;
|
|
11600
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11601
|
+
next_attempt_at: string | null;
|
|
11602
|
+
order_ref: string | null;
|
|
11603
|
+
order_source: string | null;
|
|
11604
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11605
|
+
phase: string;
|
|
11606
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11607
|
+
reason: string | null;
|
|
11608
|
+
rule: string | null;
|
|
11609
|
+
slip_ref: string | null;
|
|
11610
|
+
status: string;
|
|
11611
|
+
step: string;
|
|
11612
|
+
trace_id: string;
|
|
11613
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11614
|
+
};
|
|
11615
|
+
Insert: {
|
|
11616
|
+
actor?: string | null;
|
|
11617
|
+
attempts?: number;
|
|
11618
|
+
cart_ref?: string | null;
|
|
11619
|
+
created_at?: string;
|
|
11620
|
+
db_action?: string | null;
|
|
11621
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11622
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11623
|
+
db_record?: string | null;
|
|
11624
|
+
db_table?: string | null;
|
|
11625
|
+
decision?: string | null;
|
|
11626
|
+
duration_ms?: number | null;
|
|
11627
|
+
error?: string | null;
|
|
11628
|
+
external_action?: string | null;
|
|
11629
|
+
external_ref?: string | null;
|
|
11630
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11631
|
+
external_status?: string | null;
|
|
11632
|
+
external_system?: string | null;
|
|
11633
|
+
id?: string;
|
|
11634
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11635
|
+
next_attempt_at?: string | null;
|
|
11636
|
+
order_ref?: string | null;
|
|
11637
|
+
order_source?: string | null;
|
|
11638
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11639
|
+
phase: string;
|
|
11640
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11641
|
+
reason?: string | null;
|
|
11642
|
+
rule?: string | null;
|
|
11643
|
+
slip_ref?: string | null;
|
|
11644
|
+
status: string;
|
|
11645
|
+
step: string;
|
|
11646
|
+
trace_id?: string;
|
|
11647
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11648
|
+
};
|
|
11649
|
+
Update: {
|
|
11650
|
+
actor?: string | null;
|
|
11651
|
+
attempts?: number;
|
|
11652
|
+
cart_ref?: string | null;
|
|
11653
|
+
created_at?: string;
|
|
11654
|
+
db_action?: string | null;
|
|
11655
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11656
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11657
|
+
db_record?: string | null;
|
|
11658
|
+
db_table?: string | null;
|
|
11659
|
+
decision?: string | null;
|
|
11660
|
+
duration_ms?: number | null;
|
|
11661
|
+
error?: string | null;
|
|
11662
|
+
external_action?: string | null;
|
|
11663
|
+
external_ref?: string | null;
|
|
11664
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11665
|
+
external_status?: string | null;
|
|
11666
|
+
external_system?: string | null;
|
|
11667
|
+
id?: string;
|
|
11668
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11669
|
+
next_attempt_at?: string | null;
|
|
11670
|
+
order_ref?: string | null;
|
|
11671
|
+
order_source?: string | null;
|
|
11672
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11673
|
+
phase?: string;
|
|
11674
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11675
|
+
reason?: string | null;
|
|
11676
|
+
rule?: string | null;
|
|
11677
|
+
slip_ref?: string | null;
|
|
11678
|
+
status?: string;
|
|
11679
|
+
step?: string;
|
|
11680
|
+
trace_id?: string;
|
|
11681
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11682
|
+
};
|
|
11683
|
+
Relationships: [];
|
|
11684
|
+
};
|
|
11358
11685
|
logistics_variables: {
|
|
11359
11686
|
Row: {
|
|
11360
11687
|
created_at: string;
|
|
@@ -21927,6 +22254,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21927
22254
|
Args: never;
|
|
21928
22255
|
Returns: boolean;
|
|
21929
22256
|
};
|
|
22257
|
+
cancel_open_print_jobs: {
|
|
22258
|
+
Args: {
|
|
22259
|
+
_cutoff: string;
|
|
22260
|
+
};
|
|
22261
|
+
Returns: {
|
|
22262
|
+
extern_job_id: string;
|
|
22263
|
+
id: string;
|
|
22264
|
+
}[];
|
|
22265
|
+
};
|
|
21930
22266
|
check_offer_product_available_stock: {
|
|
21931
22267
|
Args: {
|
|
21932
22268
|
p_campaign_product_id: string;
|
|
@@ -23539,6 +23875,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23539
23875
|
};
|
|
23540
23876
|
Returns: import("../integrations/supabase/types").Json;
|
|
23541
23877
|
};
|
|
23878
|
+
logistics_cart_plan_status_core: {
|
|
23879
|
+
Args: {
|
|
23880
|
+
p_ref: string;
|
|
23881
|
+
};
|
|
23882
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23883
|
+
};
|
|
23542
23884
|
logistics_cart_release_reason: {
|
|
23543
23885
|
Args: {
|
|
23544
23886
|
p_cart_id: string;
|
|
@@ -23971,6 +24313,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23971
24313
|
};
|
|
23972
24314
|
Returns: import("../integrations/supabase/types").Json;
|
|
23973
24315
|
};
|
|
24316
|
+
logistics_ensure_shipping_notes: {
|
|
24317
|
+
Args: {
|
|
24318
|
+
p_limit?: number;
|
|
24319
|
+
};
|
|
24320
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24321
|
+
};
|
|
23974
24322
|
logistics_fail_task: {
|
|
23975
24323
|
Args: {
|
|
23976
24324
|
p_error: string;
|
|
@@ -24016,6 +24364,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24016
24364
|
isSetofReturn: false;
|
|
24017
24365
|
};
|
|
24018
24366
|
};
|
|
24367
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24368
|
+
Args: never;
|
|
24369
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24370
|
+
};
|
|
24019
24371
|
logistics_floriday_cart_plan: {
|
|
24020
24372
|
Args: {
|
|
24021
24373
|
p_order_id: string;
|
|
@@ -24043,6 +24395,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24043
24395
|
revision: number;
|
|
24044
24396
|
}[];
|
|
24045
24397
|
};
|
|
24398
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24399
|
+
Args: never;
|
|
24400
|
+
Returns: boolean;
|
|
24401
|
+
};
|
|
24046
24402
|
logistics_floriday_finish_push: {
|
|
24047
24403
|
Args: {
|
|
24048
24404
|
_error?: string;
|
|
@@ -24286,6 +24642,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24286
24642
|
};
|
|
24287
24643
|
Returns: string;
|
|
24288
24644
|
};
|
|
24645
|
+
logistics_payload_is_floriday: {
|
|
24646
|
+
Args: {
|
|
24647
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24648
|
+
};
|
|
24649
|
+
Returns: boolean;
|
|
24650
|
+
};
|
|
24289
24651
|
logistics_pick_agenda: {
|
|
24290
24652
|
Args: {
|
|
24291
24653
|
p_from?: string;
|
|
@@ -24408,6 +24770,20 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24408
24770
|
Args: never;
|
|
24409
24771
|
Returns: undefined;
|
|
24410
24772
|
};
|
|
24773
|
+
logistics_plan_progress: {
|
|
24774
|
+
Args: {
|
|
24775
|
+
p_refs: string[];
|
|
24776
|
+
};
|
|
24777
|
+
Returns: {
|
|
24778
|
+
cart_plan_ready: boolean;
|
|
24779
|
+
cart_plan_reason: string;
|
|
24780
|
+
cart_plan_released: boolean;
|
|
24781
|
+
plan_progress: number;
|
|
24782
|
+
plan_state: string;
|
|
24783
|
+
plan_state_since: string;
|
|
24784
|
+
unit_ref: string;
|
|
24785
|
+
}[];
|
|
24786
|
+
};
|
|
24411
24787
|
logistics_plan_prune: {
|
|
24412
24788
|
Args: never;
|
|
24413
24789
|
Returns: number;
|
|
@@ -24429,6 +24805,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24429
24805
|
};
|
|
24430
24806
|
Returns: number;
|
|
24431
24807
|
};
|
|
24808
|
+
logistics_plan_state_for: {
|
|
24809
|
+
Args: {
|
|
24810
|
+
p_ref: string;
|
|
24811
|
+
};
|
|
24812
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24813
|
+
};
|
|
24432
24814
|
logistics_prepare_pick_documents: {
|
|
24433
24815
|
Args: {
|
|
24434
24816
|
p_limit?: number;
|
|
@@ -24487,6 +24869,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24487
24869
|
};
|
|
24488
24870
|
Returns: import("../integrations/supabase/types").Json;
|
|
24489
24871
|
};
|
|
24872
|
+
logistics_refresh_plan_state: {
|
|
24873
|
+
Args: {
|
|
24874
|
+
p_limit?: number;
|
|
24875
|
+
};
|
|
24876
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24877
|
+
};
|
|
24490
24878
|
logistics_replan_all: {
|
|
24491
24879
|
Args: {
|
|
24492
24880
|
p_reason?: string;
|
|
@@ -24661,6 +25049,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24661
25049
|
};
|
|
24662
25050
|
Returns: string;
|
|
24663
25051
|
};
|
|
25052
|
+
logistics_shipping_notes_wake_all: {
|
|
25053
|
+
Args: never;
|
|
25054
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25055
|
+
};
|
|
25056
|
+
logistics_slip_is_floriday: {
|
|
25057
|
+
Args: {
|
|
25058
|
+
_slip_job_id: string;
|
|
25059
|
+
};
|
|
25060
|
+
Returns: boolean;
|
|
25061
|
+
};
|
|
24664
25062
|
logistics_slip_note_claim: {
|
|
24665
25063
|
Args: {
|
|
24666
25064
|
_lease_seconds?: number;
|
|
@@ -24767,6 +25165,63 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24767
25165
|
name: string;
|
|
24768
25166
|
}[];
|
|
24769
25167
|
};
|
|
25168
|
+
logistics_trace: {
|
|
25169
|
+
Args: {
|
|
25170
|
+
p: import("../integrations/supabase/types").Json;
|
|
25171
|
+
};
|
|
25172
|
+
Returns: string;
|
|
25173
|
+
};
|
|
25174
|
+
logistics_trace_all_orders: {
|
|
25175
|
+
Args: {
|
|
25176
|
+
p_limit?: number;
|
|
25177
|
+
p_search?: string;
|
|
25178
|
+
};
|
|
25179
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25180
|
+
};
|
|
25181
|
+
logistics_trace_batch: {
|
|
25182
|
+
Args: {
|
|
25183
|
+
p: import("../integrations/supabase/types").Json;
|
|
25184
|
+
};
|
|
25185
|
+
Returns: number;
|
|
25186
|
+
};
|
|
25187
|
+
logistics_trace_orders: {
|
|
25188
|
+
Args: {
|
|
25189
|
+
p_limit?: number;
|
|
25190
|
+
p_search?: string;
|
|
25191
|
+
p_since?: string;
|
|
25192
|
+
p_status?: string;
|
|
25193
|
+
};
|
|
25194
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25195
|
+
};
|
|
25196
|
+
logistics_trace_redact: {
|
|
25197
|
+
Args: {
|
|
25198
|
+
p: import("../integrations/supabase/types").Json;
|
|
25199
|
+
};
|
|
25200
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25201
|
+
};
|
|
25202
|
+
logistics_trace_timeline: {
|
|
25203
|
+
Args: {
|
|
25204
|
+
p_limit?: number;
|
|
25205
|
+
p_order_ref: string;
|
|
25206
|
+
};
|
|
25207
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25208
|
+
};
|
|
25209
|
+
logistics_trace_version_events: {
|
|
25210
|
+
Args: {
|
|
25211
|
+
p_from?: string;
|
|
25212
|
+
p_limit?: number;
|
|
25213
|
+
p_order_ref: string;
|
|
25214
|
+
p_to?: string;
|
|
25215
|
+
p_version_id: string;
|
|
25216
|
+
};
|
|
25217
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25218
|
+
};
|
|
25219
|
+
logistics_trace_versions: {
|
|
25220
|
+
Args: {
|
|
25221
|
+
p_order_ref: string;
|
|
25222
|
+
};
|
|
25223
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25224
|
+
};
|
|
24770
25225
|
logistics_upsert_task: {
|
|
24771
25226
|
Args: {
|
|
24772
25227
|
p_buffer_ref: string;
|
|
@@ -25808,6 +26263,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25808
26263
|
};
|
|
25809
26264
|
Returns: undefined;
|
|
25810
26265
|
};
|
|
26266
|
+
prune_floriday_api_log: {
|
|
26267
|
+
Args: never;
|
|
26268
|
+
Returns: number;
|
|
26269
|
+
};
|
|
25811
26270
|
quote_create_from_source: {
|
|
25812
26271
|
Args: {
|
|
25813
26272
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26684,6 +27143,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
26684
27143
|
Args: never;
|
|
26685
27144
|
Returns: string;
|
|
26686
27145
|
};
|
|
27146
|
+
voorraad_cleanup_old_rows: {
|
|
27147
|
+
Args: never;
|
|
27148
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27149
|
+
};
|
|
26687
27150
|
wake_print_queue: {
|
|
26688
27151
|
Args: {
|
|
26689
27152
|
_min_interval_ms?: number;
|
|
@@ -28984,6 +29447,45 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
28984
29447
|
};
|
|
28985
29448
|
Relationships: [];
|
|
28986
29449
|
};
|
|
29450
|
+
customer_product_stickers: {
|
|
29451
|
+
Row: {
|
|
29452
|
+
created_at: string;
|
|
29453
|
+
customer_key: string;
|
|
29454
|
+
file_name: string;
|
|
29455
|
+
file_path: string;
|
|
29456
|
+
file_size: number | null;
|
|
29457
|
+
id: string;
|
|
29458
|
+
mime_type: string | null;
|
|
29459
|
+
trade_item_key: string;
|
|
29460
|
+
updated_at: string;
|
|
29461
|
+
uploaded_by: string | null;
|
|
29462
|
+
};
|
|
29463
|
+
Insert: {
|
|
29464
|
+
created_at?: string;
|
|
29465
|
+
customer_key: string;
|
|
29466
|
+
file_name: string;
|
|
29467
|
+
file_path: string;
|
|
29468
|
+
file_size?: number | null;
|
|
29469
|
+
id?: string;
|
|
29470
|
+
mime_type?: string | null;
|
|
29471
|
+
trade_item_key: string;
|
|
29472
|
+
updated_at?: string;
|
|
29473
|
+
uploaded_by?: string | null;
|
|
29474
|
+
};
|
|
29475
|
+
Update: {
|
|
29476
|
+
created_at?: string;
|
|
29477
|
+
customer_key?: string;
|
|
29478
|
+
file_name?: string;
|
|
29479
|
+
file_path?: string;
|
|
29480
|
+
file_size?: number | null;
|
|
29481
|
+
id?: string;
|
|
29482
|
+
mime_type?: string | null;
|
|
29483
|
+
trade_item_key?: string;
|
|
29484
|
+
updated_at?: string;
|
|
29485
|
+
uploaded_by?: string | null;
|
|
29486
|
+
};
|
|
29487
|
+
Relationships: [];
|
|
29488
|
+
};
|
|
28987
29489
|
customer_selected_assortment: {
|
|
28988
29490
|
Row: {
|
|
28989
29491
|
article_number: string | null;
|
|
@@ -29032,6 +29534,30 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
29032
29534
|
referencedColumns: ["id"];
|
|
29033
29535
|
}];
|
|
29034
29536
|
};
|
|
29537
|
+
customer_sticker_settings: {
|
|
29538
|
+
Row: {
|
|
29539
|
+
created_at: string;
|
|
29540
|
+
customer_key: string;
|
|
29541
|
+
height_mm: number;
|
|
29542
|
+
updated_at: string;
|
|
29543
|
+
width_mm: number;
|
|
29544
|
+
};
|
|
29545
|
+
Insert: {
|
|
29546
|
+
created_at?: string;
|
|
29547
|
+
customer_key: string;
|
|
29548
|
+
height_mm?: number;
|
|
29549
|
+
updated_at?: string;
|
|
29550
|
+
width_mm?: number;
|
|
29551
|
+
};
|
|
29552
|
+
Update: {
|
|
29553
|
+
created_at?: string;
|
|
29554
|
+
customer_key?: string;
|
|
29555
|
+
height_mm?: number;
|
|
29556
|
+
updated_at?: string;
|
|
29557
|
+
width_mm?: number;
|
|
29558
|
+
};
|
|
29559
|
+
Relationships: [];
|
|
29560
|
+
};
|
|
29035
29561
|
customer_trade_settings: {
|
|
29036
29562
|
Row: {
|
|
29037
29563
|
category: string;
|
|
@@ -32362,6 +32888,102 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
32362
32888
|
referencedColumns: ["id"];
|
|
32363
32889
|
}];
|
|
32364
32890
|
};
|
|
32891
|
+
floriday_api_log: {
|
|
32892
|
+
Row: {
|
|
32893
|
+
action: string | null;
|
|
32894
|
+
caller: string | null;
|
|
32895
|
+
connection_id: string | null;
|
|
32896
|
+
created_at: string;
|
|
32897
|
+
cursor_from: number | null;
|
|
32898
|
+
direction: string;
|
|
32899
|
+
duration_ms: number | null;
|
|
32900
|
+
environment: string | null;
|
|
32901
|
+
error: string | null;
|
|
32902
|
+
floriday_id: string | null;
|
|
32903
|
+
floriday_reference: string | null;
|
|
32904
|
+
http_status: number;
|
|
32905
|
+
id: string;
|
|
32906
|
+
item_count: number | null;
|
|
32907
|
+
kind: string | null;
|
|
32908
|
+
local_id: string | null;
|
|
32909
|
+
local_reference: string | null;
|
|
32910
|
+
method: string;
|
|
32911
|
+
module: string | null;
|
|
32912
|
+
ok: boolean;
|
|
32913
|
+
path: string;
|
|
32914
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32915
|
+
resource_type: string | null;
|
|
32916
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32917
|
+
write_log_id: string | null;
|
|
32918
|
+
};
|
|
32919
|
+
Insert: {
|
|
32920
|
+
action?: string | null;
|
|
32921
|
+
caller?: string | null;
|
|
32922
|
+
connection_id?: string | null;
|
|
32923
|
+
created_at?: string;
|
|
32924
|
+
cursor_from?: number | null;
|
|
32925
|
+
direction: string;
|
|
32926
|
+
duration_ms?: number | null;
|
|
32927
|
+
environment?: string | null;
|
|
32928
|
+
error?: string | null;
|
|
32929
|
+
floriday_id?: string | null;
|
|
32930
|
+
floriday_reference?: string | null;
|
|
32931
|
+
http_status?: number;
|
|
32932
|
+
id?: string;
|
|
32933
|
+
item_count?: number | null;
|
|
32934
|
+
kind?: string | null;
|
|
32935
|
+
local_id?: string | null;
|
|
32936
|
+
local_reference?: string | null;
|
|
32937
|
+
method: string;
|
|
32938
|
+
module?: string | null;
|
|
32939
|
+
ok?: boolean;
|
|
32940
|
+
path: string;
|
|
32941
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32942
|
+
resource_type?: string | null;
|
|
32943
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32944
|
+
write_log_id?: string | null;
|
|
32945
|
+
};
|
|
32946
|
+
Update: {
|
|
32947
|
+
action?: string | null;
|
|
32948
|
+
caller?: string | null;
|
|
32949
|
+
connection_id?: string | null;
|
|
32950
|
+
created_at?: string;
|
|
32951
|
+
cursor_from?: number | null;
|
|
32952
|
+
direction?: string;
|
|
32953
|
+
duration_ms?: number | null;
|
|
32954
|
+
environment?: string | null;
|
|
32955
|
+
error?: string | null;
|
|
32956
|
+
floriday_id?: string | null;
|
|
32957
|
+
floriday_reference?: string | null;
|
|
32958
|
+
http_status?: number;
|
|
32959
|
+
id?: string;
|
|
32960
|
+
item_count?: number | null;
|
|
32961
|
+
kind?: string | null;
|
|
32962
|
+
local_id?: string | null;
|
|
32963
|
+
local_reference?: string | null;
|
|
32964
|
+
method?: string;
|
|
32965
|
+
module?: string | null;
|
|
32966
|
+
ok?: boolean;
|
|
32967
|
+
path?: string;
|
|
32968
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32969
|
+
resource_type?: string | null;
|
|
32970
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32971
|
+
write_log_id?: string | null;
|
|
32972
|
+
};
|
|
32973
|
+
Relationships: [{
|
|
32974
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32975
|
+
columns: ["connection_id"];
|
|
32976
|
+
isOneToOne: false;
|
|
32977
|
+
referencedRelation: "floriday_connections";
|
|
32978
|
+
referencedColumns: ["id"];
|
|
32979
|
+
}, {
|
|
32980
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32981
|
+
columns: ["write_log_id"];
|
|
32982
|
+
isOneToOne: false;
|
|
32983
|
+
referencedRelation: "floriday_write_log";
|
|
32984
|
+
referencedColumns: ["id"];
|
|
32985
|
+
}];
|
|
32986
|
+
};
|
|
32365
32987
|
floriday_auction_letters_cache: {
|
|
32366
32988
|
Row: {
|
|
32367
32989
|
auction_letter_code: string;
|
|
@@ -33562,6 +34184,69 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
33562
34184
|
referencedColumns: ["id"];
|
|
33563
34185
|
}];
|
|
33564
34186
|
};
|
|
34187
|
+
floriday_link_templates: {
|
|
34188
|
+
Row: {
|
|
34189
|
+
created_at: string;
|
|
34190
|
+
floriday_url_template: string | null;
|
|
34191
|
+
is_active: boolean;
|
|
34192
|
+
label: string;
|
|
34193
|
+
local_url_template: string | null;
|
|
34194
|
+
resource_type: string;
|
|
34195
|
+
updated_at: string;
|
|
34196
|
+
};
|
|
34197
|
+
Insert: {
|
|
34198
|
+
created_at?: string;
|
|
34199
|
+
floriday_url_template?: string | null;
|
|
34200
|
+
is_active?: boolean;
|
|
34201
|
+
label: string;
|
|
34202
|
+
local_url_template?: string | null;
|
|
34203
|
+
resource_type: string;
|
|
34204
|
+
updated_at?: string;
|
|
34205
|
+
};
|
|
34206
|
+
Update: {
|
|
34207
|
+
created_at?: string;
|
|
34208
|
+
floriday_url_template?: string | null;
|
|
34209
|
+
is_active?: boolean;
|
|
34210
|
+
label?: string;
|
|
34211
|
+
local_url_template?: string | null;
|
|
34212
|
+
resource_type?: string;
|
|
34213
|
+
updated_at?: string;
|
|
34214
|
+
};
|
|
34215
|
+
Relationships: [];
|
|
34216
|
+
};
|
|
34217
|
+
floriday_log_retention: {
|
|
34218
|
+
Row: {
|
|
34219
|
+
created_at: string;
|
|
34220
|
+
direction: string | null;
|
|
34221
|
+
id: string;
|
|
34222
|
+
keep_failed_days: number | null;
|
|
34223
|
+
keep_ok_days: number | null;
|
|
34224
|
+
note: string | null;
|
|
34225
|
+
resource_type: string | null;
|
|
34226
|
+
updated_at: string;
|
|
34227
|
+
};
|
|
34228
|
+
Insert: {
|
|
34229
|
+
created_at?: string;
|
|
34230
|
+
direction?: string | null;
|
|
34231
|
+
id?: string;
|
|
34232
|
+
keep_failed_days?: number | null;
|
|
34233
|
+
keep_ok_days?: number | null;
|
|
34234
|
+
note?: string | null;
|
|
34235
|
+
resource_type?: string | null;
|
|
34236
|
+
updated_at?: string;
|
|
34237
|
+
};
|
|
34238
|
+
Update: {
|
|
34239
|
+
created_at?: string;
|
|
34240
|
+
direction?: string | null;
|
|
34241
|
+
id?: string;
|
|
34242
|
+
keep_failed_days?: number | null;
|
|
34243
|
+
keep_ok_days?: number | null;
|
|
34244
|
+
note?: string | null;
|
|
34245
|
+
resource_type?: string | null;
|
|
34246
|
+
updated_at?: string;
|
|
34247
|
+
};
|
|
34248
|
+
Relationships: [];
|
|
34249
|
+
};
|
|
33565
34250
|
floriday_logistic_labels_cache: {
|
|
33566
34251
|
Row: {
|
|
33567
34252
|
byte_size: number | null;
|
|
@@ -38101,6 +38786,111 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38101
38786
|
};
|
|
38102
38787
|
Relationships: [];
|
|
38103
38788
|
};
|
|
38789
|
+
logistics_trace_events: {
|
|
38790
|
+
Row: {
|
|
38791
|
+
actor: string | null;
|
|
38792
|
+
attempts: number;
|
|
38793
|
+
cart_ref: string | null;
|
|
38794
|
+
created_at: string;
|
|
38795
|
+
db_action: string | null;
|
|
38796
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38797
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38798
|
+
db_record: string | null;
|
|
38799
|
+
db_table: string | null;
|
|
38800
|
+
decision: string | null;
|
|
38801
|
+
duration_ms: number | null;
|
|
38802
|
+
error: string | null;
|
|
38803
|
+
external_action: string | null;
|
|
38804
|
+
external_ref: string | null;
|
|
38805
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38806
|
+
external_status: string | null;
|
|
38807
|
+
external_system: string | null;
|
|
38808
|
+
id: string;
|
|
38809
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38810
|
+
next_attempt_at: string | null;
|
|
38811
|
+
order_ref: string | null;
|
|
38812
|
+
order_source: string | null;
|
|
38813
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38814
|
+
phase: string;
|
|
38815
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38816
|
+
reason: string | null;
|
|
38817
|
+
rule: string | null;
|
|
38818
|
+
slip_ref: string | null;
|
|
38819
|
+
status: string;
|
|
38820
|
+
step: string;
|
|
38821
|
+
trace_id: string;
|
|
38822
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38823
|
+
};
|
|
38824
|
+
Insert: {
|
|
38825
|
+
actor?: string | null;
|
|
38826
|
+
attempts?: number;
|
|
38827
|
+
cart_ref?: string | null;
|
|
38828
|
+
created_at?: string;
|
|
38829
|
+
db_action?: string | null;
|
|
38830
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38831
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38832
|
+
db_record?: string | null;
|
|
38833
|
+
db_table?: string | null;
|
|
38834
|
+
decision?: string | null;
|
|
38835
|
+
duration_ms?: number | null;
|
|
38836
|
+
error?: string | null;
|
|
38837
|
+
external_action?: string | null;
|
|
38838
|
+
external_ref?: string | null;
|
|
38839
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38840
|
+
external_status?: string | null;
|
|
38841
|
+
external_system?: string | null;
|
|
38842
|
+
id?: string;
|
|
38843
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38844
|
+
next_attempt_at?: string | null;
|
|
38845
|
+
order_ref?: string | null;
|
|
38846
|
+
order_source?: string | null;
|
|
38847
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38848
|
+
phase: string;
|
|
38849
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38850
|
+
reason?: string | null;
|
|
38851
|
+
rule?: string | null;
|
|
38852
|
+
slip_ref?: string | null;
|
|
38853
|
+
status: string;
|
|
38854
|
+
step: string;
|
|
38855
|
+
trace_id?: string;
|
|
38856
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38857
|
+
};
|
|
38858
|
+
Update: {
|
|
38859
|
+
actor?: string | null;
|
|
38860
|
+
attempts?: number;
|
|
38861
|
+
cart_ref?: string | null;
|
|
38862
|
+
created_at?: string;
|
|
38863
|
+
db_action?: string | null;
|
|
38864
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38865
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38866
|
+
db_record?: string | null;
|
|
38867
|
+
db_table?: string | null;
|
|
38868
|
+
decision?: string | null;
|
|
38869
|
+
duration_ms?: number | null;
|
|
38870
|
+
error?: string | null;
|
|
38871
|
+
external_action?: string | null;
|
|
38872
|
+
external_ref?: string | null;
|
|
38873
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38874
|
+
external_status?: string | null;
|
|
38875
|
+
external_system?: string | null;
|
|
38876
|
+
id?: string;
|
|
38877
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38878
|
+
next_attempt_at?: string | null;
|
|
38879
|
+
order_ref?: string | null;
|
|
38880
|
+
order_source?: string | null;
|
|
38881
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38882
|
+
phase?: string;
|
|
38883
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38884
|
+
reason?: string | null;
|
|
38885
|
+
rule?: string | null;
|
|
38886
|
+
slip_ref?: string | null;
|
|
38887
|
+
status?: string;
|
|
38888
|
+
step?: string;
|
|
38889
|
+
trace_id?: string;
|
|
38890
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38891
|
+
};
|
|
38892
|
+
Relationships: [];
|
|
38893
|
+
};
|
|
38104
38894
|
logistics_variables: {
|
|
38105
38895
|
Row: {
|
|
38106
38896
|
created_at: string;
|
|
@@ -48673,6 +49463,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48673
49463
|
Args: never;
|
|
48674
49464
|
Returns: boolean;
|
|
48675
49465
|
};
|
|
49466
|
+
cancel_open_print_jobs: {
|
|
49467
|
+
Args: {
|
|
49468
|
+
_cutoff: string;
|
|
49469
|
+
};
|
|
49470
|
+
Returns: {
|
|
49471
|
+
extern_job_id: string;
|
|
49472
|
+
id: string;
|
|
49473
|
+
}[];
|
|
49474
|
+
};
|
|
48676
49475
|
check_offer_product_available_stock: {
|
|
48677
49476
|
Args: {
|
|
48678
49477
|
p_campaign_product_id: string;
|
|
@@ -50285,6 +51084,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50285
51084
|
};
|
|
50286
51085
|
Returns: import("../integrations/supabase/types").Json;
|
|
50287
51086
|
};
|
|
51087
|
+
logistics_cart_plan_status_core: {
|
|
51088
|
+
Args: {
|
|
51089
|
+
p_ref: string;
|
|
51090
|
+
};
|
|
51091
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51092
|
+
};
|
|
50288
51093
|
logistics_cart_release_reason: {
|
|
50289
51094
|
Args: {
|
|
50290
51095
|
p_cart_id: string;
|
|
@@ -50717,6 +51522,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50717
51522
|
};
|
|
50718
51523
|
Returns: import("../integrations/supabase/types").Json;
|
|
50719
51524
|
};
|
|
51525
|
+
logistics_ensure_shipping_notes: {
|
|
51526
|
+
Args: {
|
|
51527
|
+
p_limit?: number;
|
|
51528
|
+
};
|
|
51529
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51530
|
+
};
|
|
50720
51531
|
logistics_fail_task: {
|
|
50721
51532
|
Args: {
|
|
50722
51533
|
p_error: string;
|
|
@@ -50762,6 +51573,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50762
51573
|
isSetofReturn: false;
|
|
50763
51574
|
};
|
|
50764
51575
|
};
|
|
51576
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51577
|
+
Args: never;
|
|
51578
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51579
|
+
};
|
|
50765
51580
|
logistics_floriday_cart_plan: {
|
|
50766
51581
|
Args: {
|
|
50767
51582
|
p_order_id: string;
|
|
@@ -50789,6 +51604,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50789
51604
|
revision: number;
|
|
50790
51605
|
}[];
|
|
50791
51606
|
};
|
|
51607
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51608
|
+
Args: never;
|
|
51609
|
+
Returns: boolean;
|
|
51610
|
+
};
|
|
50792
51611
|
logistics_floriday_finish_push: {
|
|
50793
51612
|
Args: {
|
|
50794
51613
|
_error?: string;
|
|
@@ -51032,6 +51851,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51032
51851
|
};
|
|
51033
51852
|
Returns: string;
|
|
51034
51853
|
};
|
|
51854
|
+
logistics_payload_is_floriday: {
|
|
51855
|
+
Args: {
|
|
51856
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51857
|
+
};
|
|
51858
|
+
Returns: boolean;
|
|
51859
|
+
};
|
|
51035
51860
|
logistics_pick_agenda: {
|
|
51036
51861
|
Args: {
|
|
51037
51862
|
p_from?: string;
|
|
@@ -51154,6 +51979,20 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51154
51979
|
Args: never;
|
|
51155
51980
|
Returns: undefined;
|
|
51156
51981
|
};
|
|
51982
|
+
logistics_plan_progress: {
|
|
51983
|
+
Args: {
|
|
51984
|
+
p_refs: string[];
|
|
51985
|
+
};
|
|
51986
|
+
Returns: {
|
|
51987
|
+
cart_plan_ready: boolean;
|
|
51988
|
+
cart_plan_reason: string;
|
|
51989
|
+
cart_plan_released: boolean;
|
|
51990
|
+
plan_progress: number;
|
|
51991
|
+
plan_state: string;
|
|
51992
|
+
plan_state_since: string;
|
|
51993
|
+
unit_ref: string;
|
|
51994
|
+
}[];
|
|
51995
|
+
};
|
|
51157
51996
|
logistics_plan_prune: {
|
|
51158
51997
|
Args: never;
|
|
51159
51998
|
Returns: number;
|
|
@@ -51175,6 +52014,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51175
52014
|
};
|
|
51176
52015
|
Returns: number;
|
|
51177
52016
|
};
|
|
52017
|
+
logistics_plan_state_for: {
|
|
52018
|
+
Args: {
|
|
52019
|
+
p_ref: string;
|
|
52020
|
+
};
|
|
52021
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52022
|
+
};
|
|
51178
52023
|
logistics_prepare_pick_documents: {
|
|
51179
52024
|
Args: {
|
|
51180
52025
|
p_limit?: number;
|
|
@@ -51233,6 +52078,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51233
52078
|
};
|
|
51234
52079
|
Returns: import("../integrations/supabase/types").Json;
|
|
51235
52080
|
};
|
|
52081
|
+
logistics_refresh_plan_state: {
|
|
52082
|
+
Args: {
|
|
52083
|
+
p_limit?: number;
|
|
52084
|
+
};
|
|
52085
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52086
|
+
};
|
|
51236
52087
|
logistics_replan_all: {
|
|
51237
52088
|
Args: {
|
|
51238
52089
|
p_reason?: string;
|
|
@@ -51407,6 +52258,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51407
52258
|
};
|
|
51408
52259
|
Returns: string;
|
|
51409
52260
|
};
|
|
52261
|
+
logistics_shipping_notes_wake_all: {
|
|
52262
|
+
Args: never;
|
|
52263
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52264
|
+
};
|
|
52265
|
+
logistics_slip_is_floriday: {
|
|
52266
|
+
Args: {
|
|
52267
|
+
_slip_job_id: string;
|
|
52268
|
+
};
|
|
52269
|
+
Returns: boolean;
|
|
52270
|
+
};
|
|
51410
52271
|
logistics_slip_note_claim: {
|
|
51411
52272
|
Args: {
|
|
51412
52273
|
_lease_seconds?: number;
|
|
@@ -51513,6 +52374,63 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51513
52374
|
name: string;
|
|
51514
52375
|
}[];
|
|
51515
52376
|
};
|
|
52377
|
+
logistics_trace: {
|
|
52378
|
+
Args: {
|
|
52379
|
+
p: import("../integrations/supabase/types").Json;
|
|
52380
|
+
};
|
|
52381
|
+
Returns: string;
|
|
52382
|
+
};
|
|
52383
|
+
logistics_trace_all_orders: {
|
|
52384
|
+
Args: {
|
|
52385
|
+
p_limit?: number;
|
|
52386
|
+
p_search?: string;
|
|
52387
|
+
};
|
|
52388
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52389
|
+
};
|
|
52390
|
+
logistics_trace_batch: {
|
|
52391
|
+
Args: {
|
|
52392
|
+
p: import("../integrations/supabase/types").Json;
|
|
52393
|
+
};
|
|
52394
|
+
Returns: number;
|
|
52395
|
+
};
|
|
52396
|
+
logistics_trace_orders: {
|
|
52397
|
+
Args: {
|
|
52398
|
+
p_limit?: number;
|
|
52399
|
+
p_search?: string;
|
|
52400
|
+
p_since?: string;
|
|
52401
|
+
p_status?: string;
|
|
52402
|
+
};
|
|
52403
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52404
|
+
};
|
|
52405
|
+
logistics_trace_redact: {
|
|
52406
|
+
Args: {
|
|
52407
|
+
p: import("../integrations/supabase/types").Json;
|
|
52408
|
+
};
|
|
52409
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52410
|
+
};
|
|
52411
|
+
logistics_trace_timeline: {
|
|
52412
|
+
Args: {
|
|
52413
|
+
p_limit?: number;
|
|
52414
|
+
p_order_ref: string;
|
|
52415
|
+
};
|
|
52416
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52417
|
+
};
|
|
52418
|
+
logistics_trace_version_events: {
|
|
52419
|
+
Args: {
|
|
52420
|
+
p_from?: string;
|
|
52421
|
+
p_limit?: number;
|
|
52422
|
+
p_order_ref: string;
|
|
52423
|
+
p_to?: string;
|
|
52424
|
+
p_version_id: string;
|
|
52425
|
+
};
|
|
52426
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52427
|
+
};
|
|
52428
|
+
logistics_trace_versions: {
|
|
52429
|
+
Args: {
|
|
52430
|
+
p_order_ref: string;
|
|
52431
|
+
};
|
|
52432
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52433
|
+
};
|
|
51516
52434
|
logistics_upsert_task: {
|
|
51517
52435
|
Args: {
|
|
51518
52436
|
p_buffer_ref: string;
|
|
@@ -52554,6 +53472,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52554
53472
|
};
|
|
52555
53473
|
Returns: undefined;
|
|
52556
53474
|
};
|
|
53475
|
+
prune_floriday_api_log: {
|
|
53476
|
+
Args: never;
|
|
53477
|
+
Returns: number;
|
|
53478
|
+
};
|
|
52557
53479
|
quote_create_from_source: {
|
|
52558
53480
|
Args: {
|
|
52559
53481
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -53430,6 +54352,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
53430
54352
|
Args: never;
|
|
53431
54353
|
Returns: string;
|
|
53432
54354
|
};
|
|
54355
|
+
voorraad_cleanup_old_rows: {
|
|
54356
|
+
Args: never;
|
|
54357
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54358
|
+
};
|
|
53433
54359
|
wake_print_queue: {
|
|
53434
54360
|
Args: {
|
|
53435
54361
|
_min_interval_ms?: number;
|
|
@@ -55725,6 +56651,45 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55725
56651
|
};
|
|
55726
56652
|
Relationships: [];
|
|
55727
56653
|
};
|
|
56654
|
+
customer_product_stickers: {
|
|
56655
|
+
Row: {
|
|
56656
|
+
created_at: string;
|
|
56657
|
+
customer_key: string;
|
|
56658
|
+
file_name: string;
|
|
56659
|
+
file_path: string;
|
|
56660
|
+
file_size: number | null;
|
|
56661
|
+
id: string;
|
|
56662
|
+
mime_type: string | null;
|
|
56663
|
+
trade_item_key: string;
|
|
56664
|
+
updated_at: string;
|
|
56665
|
+
uploaded_by: string | null;
|
|
56666
|
+
};
|
|
56667
|
+
Insert: {
|
|
56668
|
+
created_at?: string;
|
|
56669
|
+
customer_key: string;
|
|
56670
|
+
file_name: string;
|
|
56671
|
+
file_path: string;
|
|
56672
|
+
file_size?: number | null;
|
|
56673
|
+
id?: string;
|
|
56674
|
+
mime_type?: string | null;
|
|
56675
|
+
trade_item_key: string;
|
|
56676
|
+
updated_at?: string;
|
|
56677
|
+
uploaded_by?: string | null;
|
|
56678
|
+
};
|
|
56679
|
+
Update: {
|
|
56680
|
+
created_at?: string;
|
|
56681
|
+
customer_key?: string;
|
|
56682
|
+
file_name?: string;
|
|
56683
|
+
file_path?: string;
|
|
56684
|
+
file_size?: number | null;
|
|
56685
|
+
id?: string;
|
|
56686
|
+
mime_type?: string | null;
|
|
56687
|
+
trade_item_key?: string;
|
|
56688
|
+
updated_at?: string;
|
|
56689
|
+
uploaded_by?: string | null;
|
|
56690
|
+
};
|
|
56691
|
+
Relationships: [];
|
|
56692
|
+
};
|
|
55728
56693
|
customer_selected_assortment: {
|
|
55729
56694
|
Row: {
|
|
55730
56695
|
article_number: string | null;
|
|
@@ -55773,6 +56738,30 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55773
56738
|
referencedColumns: ["id"];
|
|
55774
56739
|
}];
|
|
55775
56740
|
};
|
|
56741
|
+
customer_sticker_settings: {
|
|
56742
|
+
Row: {
|
|
56743
|
+
created_at: string;
|
|
56744
|
+
customer_key: string;
|
|
56745
|
+
height_mm: number;
|
|
56746
|
+
updated_at: string;
|
|
56747
|
+
width_mm: number;
|
|
56748
|
+
};
|
|
56749
|
+
Insert: {
|
|
56750
|
+
created_at?: string;
|
|
56751
|
+
customer_key: string;
|
|
56752
|
+
height_mm?: number;
|
|
56753
|
+
updated_at?: string;
|
|
56754
|
+
width_mm?: number;
|
|
56755
|
+
};
|
|
56756
|
+
Update: {
|
|
56757
|
+
created_at?: string;
|
|
56758
|
+
customer_key?: string;
|
|
56759
|
+
height_mm?: number;
|
|
56760
|
+
updated_at?: string;
|
|
56761
|
+
width_mm?: number;
|
|
56762
|
+
};
|
|
56763
|
+
Relationships: [];
|
|
56764
|
+
};
|
|
55776
56765
|
customer_trade_settings: {
|
|
55777
56766
|
Row: {
|
|
55778
56767
|
category: string;
|
|
@@ -59103,6 +60092,102 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
59103
60092
|
referencedColumns: ["id"];
|
|
59104
60093
|
}];
|
|
59105
60094
|
};
|
|
60095
|
+
floriday_api_log: {
|
|
60096
|
+
Row: {
|
|
60097
|
+
action: string | null;
|
|
60098
|
+
caller: string | null;
|
|
60099
|
+
connection_id: string | null;
|
|
60100
|
+
created_at: string;
|
|
60101
|
+
cursor_from: number | null;
|
|
60102
|
+
direction: string;
|
|
60103
|
+
duration_ms: number | null;
|
|
60104
|
+
environment: string | null;
|
|
60105
|
+
error: string | null;
|
|
60106
|
+
floriday_id: string | null;
|
|
60107
|
+
floriday_reference: string | null;
|
|
60108
|
+
http_status: number;
|
|
60109
|
+
id: string;
|
|
60110
|
+
item_count: number | null;
|
|
60111
|
+
kind: string | null;
|
|
60112
|
+
local_id: string | null;
|
|
60113
|
+
local_reference: string | null;
|
|
60114
|
+
method: string;
|
|
60115
|
+
module: string | null;
|
|
60116
|
+
ok: boolean;
|
|
60117
|
+
path: string;
|
|
60118
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60119
|
+
resource_type: string | null;
|
|
60120
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60121
|
+
write_log_id: string | null;
|
|
60122
|
+
};
|
|
60123
|
+
Insert: {
|
|
60124
|
+
action?: string | null;
|
|
60125
|
+
caller?: string | null;
|
|
60126
|
+
connection_id?: string | null;
|
|
60127
|
+
created_at?: string;
|
|
60128
|
+
cursor_from?: number | null;
|
|
60129
|
+
direction: string;
|
|
60130
|
+
duration_ms?: number | null;
|
|
60131
|
+
environment?: string | null;
|
|
60132
|
+
error?: string | null;
|
|
60133
|
+
floriday_id?: string | null;
|
|
60134
|
+
floriday_reference?: string | null;
|
|
60135
|
+
http_status?: number;
|
|
60136
|
+
id?: string;
|
|
60137
|
+
item_count?: number | null;
|
|
60138
|
+
kind?: string | null;
|
|
60139
|
+
local_id?: string | null;
|
|
60140
|
+
local_reference?: string | null;
|
|
60141
|
+
method: string;
|
|
60142
|
+
module?: string | null;
|
|
60143
|
+
ok?: boolean;
|
|
60144
|
+
path: string;
|
|
60145
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60146
|
+
resource_type?: string | null;
|
|
60147
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60148
|
+
write_log_id?: string | null;
|
|
60149
|
+
};
|
|
60150
|
+
Update: {
|
|
60151
|
+
action?: string | null;
|
|
60152
|
+
caller?: string | null;
|
|
60153
|
+
connection_id?: string | null;
|
|
60154
|
+
created_at?: string;
|
|
60155
|
+
cursor_from?: number | null;
|
|
60156
|
+
direction?: string;
|
|
60157
|
+
duration_ms?: number | null;
|
|
60158
|
+
environment?: string | null;
|
|
60159
|
+
error?: string | null;
|
|
60160
|
+
floriday_id?: string | null;
|
|
60161
|
+
floriday_reference?: string | null;
|
|
60162
|
+
http_status?: number;
|
|
60163
|
+
id?: string;
|
|
60164
|
+
item_count?: number | null;
|
|
60165
|
+
kind?: string | null;
|
|
60166
|
+
local_id?: string | null;
|
|
60167
|
+
local_reference?: string | null;
|
|
60168
|
+
method?: string;
|
|
60169
|
+
module?: string | null;
|
|
60170
|
+
ok?: boolean;
|
|
60171
|
+
path?: string;
|
|
60172
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60173
|
+
resource_type?: string | null;
|
|
60174
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60175
|
+
write_log_id?: string | null;
|
|
60176
|
+
};
|
|
60177
|
+
Relationships: [{
|
|
60178
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60179
|
+
columns: ["connection_id"];
|
|
60180
|
+
isOneToOne: false;
|
|
60181
|
+
referencedRelation: "floriday_connections";
|
|
60182
|
+
referencedColumns: ["id"];
|
|
60183
|
+
}, {
|
|
60184
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60185
|
+
columns: ["write_log_id"];
|
|
60186
|
+
isOneToOne: false;
|
|
60187
|
+
referencedRelation: "floriday_write_log";
|
|
60188
|
+
referencedColumns: ["id"];
|
|
60189
|
+
}];
|
|
60190
|
+
};
|
|
59106
60191
|
floriday_auction_letters_cache: {
|
|
59107
60192
|
Row: {
|
|
59108
60193
|
auction_letter_code: string;
|
|
@@ -60303,6 +61388,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60303
61388
|
referencedColumns: ["id"];
|
|
60304
61389
|
}];
|
|
60305
61390
|
};
|
|
61391
|
+
floriday_link_templates: {
|
|
61392
|
+
Row: {
|
|
61393
|
+
created_at: string;
|
|
61394
|
+
floriday_url_template: string | null;
|
|
61395
|
+
is_active: boolean;
|
|
61396
|
+
label: string;
|
|
61397
|
+
local_url_template: string | null;
|
|
61398
|
+
resource_type: string;
|
|
61399
|
+
updated_at: string;
|
|
61400
|
+
};
|
|
61401
|
+
Insert: {
|
|
61402
|
+
created_at?: string;
|
|
61403
|
+
floriday_url_template?: string | null;
|
|
61404
|
+
is_active?: boolean;
|
|
61405
|
+
label: string;
|
|
61406
|
+
local_url_template?: string | null;
|
|
61407
|
+
resource_type: string;
|
|
61408
|
+
updated_at?: string;
|
|
61409
|
+
};
|
|
61410
|
+
Update: {
|
|
61411
|
+
created_at?: string;
|
|
61412
|
+
floriday_url_template?: string | null;
|
|
61413
|
+
is_active?: boolean;
|
|
61414
|
+
label?: string;
|
|
61415
|
+
local_url_template?: string | null;
|
|
61416
|
+
resource_type?: string;
|
|
61417
|
+
updated_at?: string;
|
|
61418
|
+
};
|
|
61419
|
+
Relationships: [];
|
|
61420
|
+
};
|
|
61421
|
+
floriday_log_retention: {
|
|
61422
|
+
Row: {
|
|
61423
|
+
created_at: string;
|
|
61424
|
+
direction: string | null;
|
|
61425
|
+
id: string;
|
|
61426
|
+
keep_failed_days: number | null;
|
|
61427
|
+
keep_ok_days: number | null;
|
|
61428
|
+
note: string | null;
|
|
61429
|
+
resource_type: string | null;
|
|
61430
|
+
updated_at: string;
|
|
61431
|
+
};
|
|
61432
|
+
Insert: {
|
|
61433
|
+
created_at?: string;
|
|
61434
|
+
direction?: string | null;
|
|
61435
|
+
id?: string;
|
|
61436
|
+
keep_failed_days?: number | null;
|
|
61437
|
+
keep_ok_days?: number | null;
|
|
61438
|
+
note?: string | null;
|
|
61439
|
+
resource_type?: string | null;
|
|
61440
|
+
updated_at?: string;
|
|
61441
|
+
};
|
|
61442
|
+
Update: {
|
|
61443
|
+
created_at?: string;
|
|
61444
|
+
direction?: string | null;
|
|
61445
|
+
id?: string;
|
|
61446
|
+
keep_failed_days?: number | null;
|
|
61447
|
+
keep_ok_days?: number | null;
|
|
61448
|
+
note?: string | null;
|
|
61449
|
+
resource_type?: string | null;
|
|
61450
|
+
updated_at?: string;
|
|
61451
|
+
};
|
|
61452
|
+
Relationships: [];
|
|
61453
|
+
};
|
|
60306
61454
|
floriday_logistic_labels_cache: {
|
|
60307
61455
|
Row: {
|
|
60308
61456
|
byte_size: number | null;
|
|
@@ -64842,6 +65990,111 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
64842
65990
|
};
|
|
64843
65991
|
Relationships: [];
|
|
64844
65992
|
};
|
|
65993
|
+
logistics_trace_events: {
|
|
65994
|
+
Row: {
|
|
65995
|
+
actor: string | null;
|
|
65996
|
+
attempts: number;
|
|
65997
|
+
cart_ref: string | null;
|
|
65998
|
+
created_at: string;
|
|
65999
|
+
db_action: string | null;
|
|
66000
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
66001
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
66002
|
+
db_record: string | null;
|
|
66003
|
+
db_table: string | null;
|
|
66004
|
+
decision: string | null;
|
|
66005
|
+
duration_ms: number | null;
|
|
66006
|
+
error: string | null;
|
|
66007
|
+
external_action: string | null;
|
|
66008
|
+
external_ref: string | null;
|
|
66009
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
66010
|
+
external_status: string | null;
|
|
66011
|
+
external_system: string | null;
|
|
66012
|
+
id: string;
|
|
66013
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
66014
|
+
next_attempt_at: string | null;
|
|
66015
|
+
order_ref: string | null;
|
|
66016
|
+
order_source: string | null;
|
|
66017
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
66018
|
+
phase: string;
|
|
66019
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
66020
|
+
reason: string | null;
|
|
66021
|
+
rule: string | null;
|
|
66022
|
+
slip_ref: string | null;
|
|
66023
|
+
status: string;
|
|
66024
|
+
step: string;
|
|
66025
|
+
trace_id: string;
|
|
66026
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
66027
|
+
};
|
|
66028
|
+
Insert: {
|
|
66029
|
+
actor?: string | null;
|
|
66030
|
+
attempts?: number;
|
|
66031
|
+
cart_ref?: string | null;
|
|
66032
|
+
created_at?: string;
|
|
66033
|
+
db_action?: string | null;
|
|
66034
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66035
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66036
|
+
db_record?: string | null;
|
|
66037
|
+
db_table?: string | null;
|
|
66038
|
+
decision?: string | null;
|
|
66039
|
+
duration_ms?: number | null;
|
|
66040
|
+
error?: string | null;
|
|
66041
|
+
external_action?: string | null;
|
|
66042
|
+
external_ref?: string | null;
|
|
66043
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66044
|
+
external_status?: string | null;
|
|
66045
|
+
external_system?: string | null;
|
|
66046
|
+
id?: string;
|
|
66047
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66048
|
+
next_attempt_at?: string | null;
|
|
66049
|
+
order_ref?: string | null;
|
|
66050
|
+
order_source?: string | null;
|
|
66051
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66052
|
+
phase: string;
|
|
66053
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66054
|
+
reason?: string | null;
|
|
66055
|
+
rule?: string | null;
|
|
66056
|
+
slip_ref?: string | null;
|
|
66057
|
+
status: string;
|
|
66058
|
+
step: string;
|
|
66059
|
+
trace_id?: string;
|
|
66060
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66061
|
+
};
|
|
66062
|
+
Update: {
|
|
66063
|
+
actor?: string | null;
|
|
66064
|
+
attempts?: number;
|
|
66065
|
+
cart_ref?: string | null;
|
|
66066
|
+
created_at?: string;
|
|
66067
|
+
db_action?: string | null;
|
|
66068
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66069
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66070
|
+
db_record?: string | null;
|
|
66071
|
+
db_table?: string | null;
|
|
66072
|
+
decision?: string | null;
|
|
66073
|
+
duration_ms?: number | null;
|
|
66074
|
+
error?: string | null;
|
|
66075
|
+
external_action?: string | null;
|
|
66076
|
+
external_ref?: string | null;
|
|
66077
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66078
|
+
external_status?: string | null;
|
|
66079
|
+
external_system?: string | null;
|
|
66080
|
+
id?: string;
|
|
66081
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66082
|
+
next_attempt_at?: string | null;
|
|
66083
|
+
order_ref?: string | null;
|
|
66084
|
+
order_source?: string | null;
|
|
66085
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66086
|
+
phase?: string;
|
|
66087
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66088
|
+
reason?: string | null;
|
|
66089
|
+
rule?: string | null;
|
|
66090
|
+
slip_ref?: string | null;
|
|
66091
|
+
status?: string;
|
|
66092
|
+
step?: string;
|
|
66093
|
+
trace_id?: string;
|
|
66094
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66095
|
+
};
|
|
66096
|
+
Relationships: [];
|
|
66097
|
+
};
|
|
64845
66098
|
logistics_variables: {
|
|
64846
66099
|
Row: {
|
|
64847
66100
|
created_at: string;
|
|
@@ -75414,6 +76667,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75414
76667
|
Args: never;
|
|
75415
76668
|
Returns: boolean;
|
|
75416
76669
|
};
|
|
76670
|
+
cancel_open_print_jobs: {
|
|
76671
|
+
Args: {
|
|
76672
|
+
_cutoff: string;
|
|
76673
|
+
};
|
|
76674
|
+
Returns: {
|
|
76675
|
+
extern_job_id: string;
|
|
76676
|
+
id: string;
|
|
76677
|
+
}[];
|
|
76678
|
+
};
|
|
75417
76679
|
check_offer_product_available_stock: {
|
|
75418
76680
|
Args: {
|
|
75419
76681
|
p_campaign_product_id: string;
|
|
@@ -77026,6 +78288,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77026
78288
|
};
|
|
77027
78289
|
Returns: import("../integrations/supabase/types").Json;
|
|
77028
78290
|
};
|
|
78291
|
+
logistics_cart_plan_status_core: {
|
|
78292
|
+
Args: {
|
|
78293
|
+
p_ref: string;
|
|
78294
|
+
};
|
|
78295
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78296
|
+
};
|
|
77029
78297
|
logistics_cart_release_reason: {
|
|
77030
78298
|
Args: {
|
|
77031
78299
|
p_cart_id: string;
|
|
@@ -77458,6 +78726,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77458
78726
|
};
|
|
77459
78727
|
Returns: import("../integrations/supabase/types").Json;
|
|
77460
78728
|
};
|
|
78729
|
+
logistics_ensure_shipping_notes: {
|
|
78730
|
+
Args: {
|
|
78731
|
+
p_limit?: number;
|
|
78732
|
+
};
|
|
78733
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78734
|
+
};
|
|
77461
78735
|
logistics_fail_task: {
|
|
77462
78736
|
Args: {
|
|
77463
78737
|
p_error: string;
|
|
@@ -77503,6 +78777,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77503
78777
|
isSetofReturn: false;
|
|
77504
78778
|
};
|
|
77505
78779
|
};
|
|
78780
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78781
|
+
Args: never;
|
|
78782
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78783
|
+
};
|
|
77506
78784
|
logistics_floriday_cart_plan: {
|
|
77507
78785
|
Args: {
|
|
77508
78786
|
p_order_id: string;
|
|
@@ -77530,6 +78808,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77530
78808
|
revision: number;
|
|
77531
78809
|
}[];
|
|
77532
78810
|
};
|
|
78811
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78812
|
+
Args: never;
|
|
78813
|
+
Returns: boolean;
|
|
78814
|
+
};
|
|
77533
78815
|
logistics_floriday_finish_push: {
|
|
77534
78816
|
Args: {
|
|
77535
78817
|
_error?: string;
|
|
@@ -77773,6 +79055,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77773
79055
|
};
|
|
77774
79056
|
Returns: string;
|
|
77775
79057
|
};
|
|
79058
|
+
logistics_payload_is_floriday: {
|
|
79059
|
+
Args: {
|
|
79060
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79061
|
+
};
|
|
79062
|
+
Returns: boolean;
|
|
79063
|
+
};
|
|
77776
79064
|
logistics_pick_agenda: {
|
|
77777
79065
|
Args: {
|
|
77778
79066
|
p_from?: string;
|
|
@@ -77895,6 +79183,20 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77895
79183
|
Args: never;
|
|
77896
79184
|
Returns: undefined;
|
|
77897
79185
|
};
|
|
79186
|
+
logistics_plan_progress: {
|
|
79187
|
+
Args: {
|
|
79188
|
+
p_refs: string[];
|
|
79189
|
+
};
|
|
79190
|
+
Returns: {
|
|
79191
|
+
cart_plan_ready: boolean;
|
|
79192
|
+
cart_plan_reason: string;
|
|
79193
|
+
cart_plan_released: boolean;
|
|
79194
|
+
plan_progress: number;
|
|
79195
|
+
plan_state: string;
|
|
79196
|
+
plan_state_since: string;
|
|
79197
|
+
unit_ref: string;
|
|
79198
|
+
}[];
|
|
79199
|
+
};
|
|
77898
79200
|
logistics_plan_prune: {
|
|
77899
79201
|
Args: never;
|
|
77900
79202
|
Returns: number;
|
|
@@ -77916,6 +79218,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77916
79218
|
};
|
|
77917
79219
|
Returns: number;
|
|
77918
79220
|
};
|
|
79221
|
+
logistics_plan_state_for: {
|
|
79222
|
+
Args: {
|
|
79223
|
+
p_ref: string;
|
|
79224
|
+
};
|
|
79225
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79226
|
+
};
|
|
77919
79227
|
logistics_prepare_pick_documents: {
|
|
77920
79228
|
Args: {
|
|
77921
79229
|
p_limit?: number;
|
|
@@ -77974,6 +79282,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77974
79282
|
};
|
|
77975
79283
|
Returns: import("../integrations/supabase/types").Json;
|
|
77976
79284
|
};
|
|
79285
|
+
logistics_refresh_plan_state: {
|
|
79286
|
+
Args: {
|
|
79287
|
+
p_limit?: number;
|
|
79288
|
+
};
|
|
79289
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79290
|
+
};
|
|
77977
79291
|
logistics_replan_all: {
|
|
77978
79292
|
Args: {
|
|
77979
79293
|
p_reason?: string;
|
|
@@ -78148,6 +79462,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78148
79462
|
};
|
|
78149
79463
|
Returns: string;
|
|
78150
79464
|
};
|
|
79465
|
+
logistics_shipping_notes_wake_all: {
|
|
79466
|
+
Args: never;
|
|
79467
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79468
|
+
};
|
|
79469
|
+
logistics_slip_is_floriday: {
|
|
79470
|
+
Args: {
|
|
79471
|
+
_slip_job_id: string;
|
|
79472
|
+
};
|
|
79473
|
+
Returns: boolean;
|
|
79474
|
+
};
|
|
78151
79475
|
logistics_slip_note_claim: {
|
|
78152
79476
|
Args: {
|
|
78153
79477
|
_lease_seconds?: number;
|
|
@@ -78254,6 +79578,63 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78254
79578
|
name: string;
|
|
78255
79579
|
}[];
|
|
78256
79580
|
};
|
|
79581
|
+
logistics_trace: {
|
|
79582
|
+
Args: {
|
|
79583
|
+
p: import("../integrations/supabase/types").Json;
|
|
79584
|
+
};
|
|
79585
|
+
Returns: string;
|
|
79586
|
+
};
|
|
79587
|
+
logistics_trace_all_orders: {
|
|
79588
|
+
Args: {
|
|
79589
|
+
p_limit?: number;
|
|
79590
|
+
p_search?: string;
|
|
79591
|
+
};
|
|
79592
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79593
|
+
};
|
|
79594
|
+
logistics_trace_batch: {
|
|
79595
|
+
Args: {
|
|
79596
|
+
p: import("../integrations/supabase/types").Json;
|
|
79597
|
+
};
|
|
79598
|
+
Returns: number;
|
|
79599
|
+
};
|
|
79600
|
+
logistics_trace_orders: {
|
|
79601
|
+
Args: {
|
|
79602
|
+
p_limit?: number;
|
|
79603
|
+
p_search?: string;
|
|
79604
|
+
p_since?: string;
|
|
79605
|
+
p_status?: string;
|
|
79606
|
+
};
|
|
79607
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79608
|
+
};
|
|
79609
|
+
logistics_trace_redact: {
|
|
79610
|
+
Args: {
|
|
79611
|
+
p: import("../integrations/supabase/types").Json;
|
|
79612
|
+
};
|
|
79613
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79614
|
+
};
|
|
79615
|
+
logistics_trace_timeline: {
|
|
79616
|
+
Args: {
|
|
79617
|
+
p_limit?: number;
|
|
79618
|
+
p_order_ref: string;
|
|
79619
|
+
};
|
|
79620
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79621
|
+
};
|
|
79622
|
+
logistics_trace_version_events: {
|
|
79623
|
+
Args: {
|
|
79624
|
+
p_from?: string;
|
|
79625
|
+
p_limit?: number;
|
|
79626
|
+
p_order_ref: string;
|
|
79627
|
+
p_to?: string;
|
|
79628
|
+
p_version_id: string;
|
|
79629
|
+
};
|
|
79630
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79631
|
+
};
|
|
79632
|
+
logistics_trace_versions: {
|
|
79633
|
+
Args: {
|
|
79634
|
+
p_order_ref: string;
|
|
79635
|
+
};
|
|
79636
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79637
|
+
};
|
|
78257
79638
|
logistics_upsert_task: {
|
|
78258
79639
|
Args: {
|
|
78259
79640
|
p_buffer_ref: string;
|
|
@@ -79295,6 +80676,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79295
80676
|
};
|
|
79296
80677
|
Returns: undefined;
|
|
79297
80678
|
};
|
|
80679
|
+
prune_floriday_api_log: {
|
|
80680
|
+
Args: never;
|
|
80681
|
+
Returns: number;
|
|
80682
|
+
};
|
|
79298
80683
|
quote_create_from_source: {
|
|
79299
80684
|
Args: {
|
|
79300
80685
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -80171,6 +81556,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
80171
81556
|
Args: never;
|
|
80172
81557
|
Returns: string;
|
|
80173
81558
|
};
|
|
81559
|
+
voorraad_cleanup_old_rows: {
|
|
81560
|
+
Args: never;
|
|
81561
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81562
|
+
};
|
|
80174
81563
|
wake_print_queue: {
|
|
80175
81564
|
Args: {
|
|
80176
81565
|
_min_interval_ms?: number;
|