@flowselections/floriday-voorraad 1.0.42 → 1.0.43
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 +440 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +440 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +440 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +443 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +440 -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 +440 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +880 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2640 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +880 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1320 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +880 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +880 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +880 -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,40 @@ 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_batch: {
|
|
25175
|
+
Args: {
|
|
25176
|
+
p: import("../integrations/supabase/types").Json;
|
|
25177
|
+
};
|
|
25178
|
+
Returns: number;
|
|
25179
|
+
};
|
|
25180
|
+
logistics_trace_orders: {
|
|
25181
|
+
Args: {
|
|
25182
|
+
p_limit?: number;
|
|
25183
|
+
p_search?: string;
|
|
25184
|
+
p_since?: string;
|
|
25185
|
+
p_status?: string;
|
|
25186
|
+
};
|
|
25187
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25188
|
+
};
|
|
25189
|
+
logistics_trace_redact: {
|
|
25190
|
+
Args: {
|
|
25191
|
+
p: import("../integrations/supabase/types").Json;
|
|
25192
|
+
};
|
|
25193
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25194
|
+
};
|
|
25195
|
+
logistics_trace_timeline: {
|
|
25196
|
+
Args: {
|
|
25197
|
+
p_limit?: number;
|
|
25198
|
+
p_order_ref: string;
|
|
25199
|
+
};
|
|
25200
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25201
|
+
};
|
|
24770
25202
|
logistics_upsert_task: {
|
|
24771
25203
|
Args: {
|
|
24772
25204
|
p_buffer_ref: string;
|
|
@@ -25808,6 +26240,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25808
26240
|
};
|
|
25809
26241
|
Returns: undefined;
|
|
25810
26242
|
};
|
|
26243
|
+
prune_floriday_api_log: {
|
|
26244
|
+
Args: never;
|
|
26245
|
+
Returns: number;
|
|
26246
|
+
};
|
|
25811
26247
|
quote_create_from_source: {
|
|
25812
26248
|
Args: {
|
|
25813
26249
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26684,6 +27120,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
26684
27120
|
Args: never;
|
|
26685
27121
|
Returns: string;
|
|
26686
27122
|
};
|
|
27123
|
+
voorraad_cleanup_old_rows: {
|
|
27124
|
+
Args: never;
|
|
27125
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27126
|
+
};
|
|
26687
27127
|
wake_print_queue: {
|
|
26688
27128
|
Args: {
|
|
26689
27129
|
_min_interval_ms?: number;
|
|
@@ -28984,6 +29424,45 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
28984
29424
|
};
|
|
28985
29425
|
Relationships: [];
|
|
28986
29426
|
};
|
|
29427
|
+
customer_product_stickers: {
|
|
29428
|
+
Row: {
|
|
29429
|
+
created_at: string;
|
|
29430
|
+
customer_key: string;
|
|
29431
|
+
file_name: string;
|
|
29432
|
+
file_path: string;
|
|
29433
|
+
file_size: number | null;
|
|
29434
|
+
id: string;
|
|
29435
|
+
mime_type: string | null;
|
|
29436
|
+
trade_item_key: string;
|
|
29437
|
+
updated_at: string;
|
|
29438
|
+
uploaded_by: string | null;
|
|
29439
|
+
};
|
|
29440
|
+
Insert: {
|
|
29441
|
+
created_at?: string;
|
|
29442
|
+
customer_key: string;
|
|
29443
|
+
file_name: string;
|
|
29444
|
+
file_path: string;
|
|
29445
|
+
file_size?: number | null;
|
|
29446
|
+
id?: string;
|
|
29447
|
+
mime_type?: string | null;
|
|
29448
|
+
trade_item_key: string;
|
|
29449
|
+
updated_at?: string;
|
|
29450
|
+
uploaded_by?: string | null;
|
|
29451
|
+
};
|
|
29452
|
+
Update: {
|
|
29453
|
+
created_at?: string;
|
|
29454
|
+
customer_key?: string;
|
|
29455
|
+
file_name?: string;
|
|
29456
|
+
file_path?: string;
|
|
29457
|
+
file_size?: number | null;
|
|
29458
|
+
id?: string;
|
|
29459
|
+
mime_type?: string | null;
|
|
29460
|
+
trade_item_key?: string;
|
|
29461
|
+
updated_at?: string;
|
|
29462
|
+
uploaded_by?: string | null;
|
|
29463
|
+
};
|
|
29464
|
+
Relationships: [];
|
|
29465
|
+
};
|
|
28987
29466
|
customer_selected_assortment: {
|
|
28988
29467
|
Row: {
|
|
28989
29468
|
article_number: string | null;
|
|
@@ -29032,6 +29511,30 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
29032
29511
|
referencedColumns: ["id"];
|
|
29033
29512
|
}];
|
|
29034
29513
|
};
|
|
29514
|
+
customer_sticker_settings: {
|
|
29515
|
+
Row: {
|
|
29516
|
+
created_at: string;
|
|
29517
|
+
customer_key: string;
|
|
29518
|
+
height_mm: number;
|
|
29519
|
+
updated_at: string;
|
|
29520
|
+
width_mm: number;
|
|
29521
|
+
};
|
|
29522
|
+
Insert: {
|
|
29523
|
+
created_at?: string;
|
|
29524
|
+
customer_key: string;
|
|
29525
|
+
height_mm?: number;
|
|
29526
|
+
updated_at?: string;
|
|
29527
|
+
width_mm?: number;
|
|
29528
|
+
};
|
|
29529
|
+
Update: {
|
|
29530
|
+
created_at?: string;
|
|
29531
|
+
customer_key?: string;
|
|
29532
|
+
height_mm?: number;
|
|
29533
|
+
updated_at?: string;
|
|
29534
|
+
width_mm?: number;
|
|
29535
|
+
};
|
|
29536
|
+
Relationships: [];
|
|
29537
|
+
};
|
|
29035
29538
|
customer_trade_settings: {
|
|
29036
29539
|
Row: {
|
|
29037
29540
|
category: string;
|
|
@@ -32362,6 +32865,102 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
32362
32865
|
referencedColumns: ["id"];
|
|
32363
32866
|
}];
|
|
32364
32867
|
};
|
|
32868
|
+
floriday_api_log: {
|
|
32869
|
+
Row: {
|
|
32870
|
+
action: string | null;
|
|
32871
|
+
caller: string | null;
|
|
32872
|
+
connection_id: string | null;
|
|
32873
|
+
created_at: string;
|
|
32874
|
+
cursor_from: number | null;
|
|
32875
|
+
direction: string;
|
|
32876
|
+
duration_ms: number | null;
|
|
32877
|
+
environment: string | null;
|
|
32878
|
+
error: string | null;
|
|
32879
|
+
floriday_id: string | null;
|
|
32880
|
+
floriday_reference: string | null;
|
|
32881
|
+
http_status: number;
|
|
32882
|
+
id: string;
|
|
32883
|
+
item_count: number | null;
|
|
32884
|
+
kind: string | null;
|
|
32885
|
+
local_id: string | null;
|
|
32886
|
+
local_reference: string | null;
|
|
32887
|
+
method: string;
|
|
32888
|
+
module: string | null;
|
|
32889
|
+
ok: boolean;
|
|
32890
|
+
path: string;
|
|
32891
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32892
|
+
resource_type: string | null;
|
|
32893
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32894
|
+
write_log_id: string | null;
|
|
32895
|
+
};
|
|
32896
|
+
Insert: {
|
|
32897
|
+
action?: string | null;
|
|
32898
|
+
caller?: string | null;
|
|
32899
|
+
connection_id?: string | null;
|
|
32900
|
+
created_at?: string;
|
|
32901
|
+
cursor_from?: number | null;
|
|
32902
|
+
direction: string;
|
|
32903
|
+
duration_ms?: number | null;
|
|
32904
|
+
environment?: string | null;
|
|
32905
|
+
error?: string | null;
|
|
32906
|
+
floriday_id?: string | null;
|
|
32907
|
+
floriday_reference?: string | null;
|
|
32908
|
+
http_status?: number;
|
|
32909
|
+
id?: string;
|
|
32910
|
+
item_count?: number | null;
|
|
32911
|
+
kind?: string | null;
|
|
32912
|
+
local_id?: string | null;
|
|
32913
|
+
local_reference?: string | null;
|
|
32914
|
+
method: string;
|
|
32915
|
+
module?: string | null;
|
|
32916
|
+
ok?: boolean;
|
|
32917
|
+
path: string;
|
|
32918
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32919
|
+
resource_type?: string | null;
|
|
32920
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32921
|
+
write_log_id?: string | null;
|
|
32922
|
+
};
|
|
32923
|
+
Update: {
|
|
32924
|
+
action?: string | null;
|
|
32925
|
+
caller?: string | null;
|
|
32926
|
+
connection_id?: string | null;
|
|
32927
|
+
created_at?: string;
|
|
32928
|
+
cursor_from?: number | null;
|
|
32929
|
+
direction?: string;
|
|
32930
|
+
duration_ms?: number | null;
|
|
32931
|
+
environment?: string | null;
|
|
32932
|
+
error?: string | null;
|
|
32933
|
+
floriday_id?: string | null;
|
|
32934
|
+
floriday_reference?: string | null;
|
|
32935
|
+
http_status?: number;
|
|
32936
|
+
id?: string;
|
|
32937
|
+
item_count?: number | null;
|
|
32938
|
+
kind?: string | null;
|
|
32939
|
+
local_id?: string | null;
|
|
32940
|
+
local_reference?: string | null;
|
|
32941
|
+
method?: string;
|
|
32942
|
+
module?: string | null;
|
|
32943
|
+
ok?: boolean;
|
|
32944
|
+
path?: string;
|
|
32945
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32946
|
+
resource_type?: string | null;
|
|
32947
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32948
|
+
write_log_id?: string | null;
|
|
32949
|
+
};
|
|
32950
|
+
Relationships: [{
|
|
32951
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32952
|
+
columns: ["connection_id"];
|
|
32953
|
+
isOneToOne: false;
|
|
32954
|
+
referencedRelation: "floriday_connections";
|
|
32955
|
+
referencedColumns: ["id"];
|
|
32956
|
+
}, {
|
|
32957
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32958
|
+
columns: ["write_log_id"];
|
|
32959
|
+
isOneToOne: false;
|
|
32960
|
+
referencedRelation: "floriday_write_log";
|
|
32961
|
+
referencedColumns: ["id"];
|
|
32962
|
+
}];
|
|
32963
|
+
};
|
|
32365
32964
|
floriday_auction_letters_cache: {
|
|
32366
32965
|
Row: {
|
|
32367
32966
|
auction_letter_code: string;
|
|
@@ -33562,6 +34161,69 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
33562
34161
|
referencedColumns: ["id"];
|
|
33563
34162
|
}];
|
|
33564
34163
|
};
|
|
34164
|
+
floriday_link_templates: {
|
|
34165
|
+
Row: {
|
|
34166
|
+
created_at: string;
|
|
34167
|
+
floriday_url_template: string | null;
|
|
34168
|
+
is_active: boolean;
|
|
34169
|
+
label: string;
|
|
34170
|
+
local_url_template: string | null;
|
|
34171
|
+
resource_type: string;
|
|
34172
|
+
updated_at: string;
|
|
34173
|
+
};
|
|
34174
|
+
Insert: {
|
|
34175
|
+
created_at?: string;
|
|
34176
|
+
floriday_url_template?: string | null;
|
|
34177
|
+
is_active?: boolean;
|
|
34178
|
+
label: string;
|
|
34179
|
+
local_url_template?: string | null;
|
|
34180
|
+
resource_type: string;
|
|
34181
|
+
updated_at?: string;
|
|
34182
|
+
};
|
|
34183
|
+
Update: {
|
|
34184
|
+
created_at?: string;
|
|
34185
|
+
floriday_url_template?: string | null;
|
|
34186
|
+
is_active?: boolean;
|
|
34187
|
+
label?: string;
|
|
34188
|
+
local_url_template?: string | null;
|
|
34189
|
+
resource_type?: string;
|
|
34190
|
+
updated_at?: string;
|
|
34191
|
+
};
|
|
34192
|
+
Relationships: [];
|
|
34193
|
+
};
|
|
34194
|
+
floriday_log_retention: {
|
|
34195
|
+
Row: {
|
|
34196
|
+
created_at: string;
|
|
34197
|
+
direction: string | null;
|
|
34198
|
+
id: string;
|
|
34199
|
+
keep_failed_days: number | null;
|
|
34200
|
+
keep_ok_days: number | null;
|
|
34201
|
+
note: string | null;
|
|
34202
|
+
resource_type: string | null;
|
|
34203
|
+
updated_at: string;
|
|
34204
|
+
};
|
|
34205
|
+
Insert: {
|
|
34206
|
+
created_at?: string;
|
|
34207
|
+
direction?: string | null;
|
|
34208
|
+
id?: string;
|
|
34209
|
+
keep_failed_days?: number | null;
|
|
34210
|
+
keep_ok_days?: number | null;
|
|
34211
|
+
note?: string | null;
|
|
34212
|
+
resource_type?: string | null;
|
|
34213
|
+
updated_at?: string;
|
|
34214
|
+
};
|
|
34215
|
+
Update: {
|
|
34216
|
+
created_at?: string;
|
|
34217
|
+
direction?: string | null;
|
|
34218
|
+
id?: string;
|
|
34219
|
+
keep_failed_days?: number | null;
|
|
34220
|
+
keep_ok_days?: number | null;
|
|
34221
|
+
note?: string | null;
|
|
34222
|
+
resource_type?: string | null;
|
|
34223
|
+
updated_at?: string;
|
|
34224
|
+
};
|
|
34225
|
+
Relationships: [];
|
|
34226
|
+
};
|
|
33565
34227
|
floriday_logistic_labels_cache: {
|
|
33566
34228
|
Row: {
|
|
33567
34229
|
byte_size: number | null;
|
|
@@ -38101,6 +38763,111 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
38101
38763
|
};
|
|
38102
38764
|
Relationships: [];
|
|
38103
38765
|
};
|
|
38766
|
+
logistics_trace_events: {
|
|
38767
|
+
Row: {
|
|
38768
|
+
actor: string | null;
|
|
38769
|
+
attempts: number;
|
|
38770
|
+
cart_ref: string | null;
|
|
38771
|
+
created_at: string;
|
|
38772
|
+
db_action: string | null;
|
|
38773
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38774
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38775
|
+
db_record: string | null;
|
|
38776
|
+
db_table: string | null;
|
|
38777
|
+
decision: string | null;
|
|
38778
|
+
duration_ms: number | null;
|
|
38779
|
+
error: string | null;
|
|
38780
|
+
external_action: string | null;
|
|
38781
|
+
external_ref: string | null;
|
|
38782
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38783
|
+
external_status: string | null;
|
|
38784
|
+
external_system: string | null;
|
|
38785
|
+
id: string;
|
|
38786
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38787
|
+
next_attempt_at: string | null;
|
|
38788
|
+
order_ref: string | null;
|
|
38789
|
+
order_source: string | null;
|
|
38790
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38791
|
+
phase: string;
|
|
38792
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38793
|
+
reason: string | null;
|
|
38794
|
+
rule: string | null;
|
|
38795
|
+
slip_ref: string | null;
|
|
38796
|
+
status: string;
|
|
38797
|
+
step: string;
|
|
38798
|
+
trace_id: string;
|
|
38799
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38800
|
+
};
|
|
38801
|
+
Insert: {
|
|
38802
|
+
actor?: string | null;
|
|
38803
|
+
attempts?: number;
|
|
38804
|
+
cart_ref?: string | null;
|
|
38805
|
+
created_at?: string;
|
|
38806
|
+
db_action?: string | null;
|
|
38807
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38808
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38809
|
+
db_record?: string | null;
|
|
38810
|
+
db_table?: string | null;
|
|
38811
|
+
decision?: string | null;
|
|
38812
|
+
duration_ms?: number | null;
|
|
38813
|
+
error?: string | null;
|
|
38814
|
+
external_action?: string | null;
|
|
38815
|
+
external_ref?: string | null;
|
|
38816
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38817
|
+
external_status?: string | null;
|
|
38818
|
+
external_system?: string | null;
|
|
38819
|
+
id?: string;
|
|
38820
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38821
|
+
next_attempt_at?: string | null;
|
|
38822
|
+
order_ref?: string | null;
|
|
38823
|
+
order_source?: string | null;
|
|
38824
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38825
|
+
phase: string;
|
|
38826
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38827
|
+
reason?: string | null;
|
|
38828
|
+
rule?: string | null;
|
|
38829
|
+
slip_ref?: string | null;
|
|
38830
|
+
status: string;
|
|
38831
|
+
step: string;
|
|
38832
|
+
trace_id?: string;
|
|
38833
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38834
|
+
};
|
|
38835
|
+
Update: {
|
|
38836
|
+
actor?: string | null;
|
|
38837
|
+
attempts?: number;
|
|
38838
|
+
cart_ref?: string | null;
|
|
38839
|
+
created_at?: string;
|
|
38840
|
+
db_action?: string | null;
|
|
38841
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38842
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38843
|
+
db_record?: string | null;
|
|
38844
|
+
db_table?: string | null;
|
|
38845
|
+
decision?: string | null;
|
|
38846
|
+
duration_ms?: number | null;
|
|
38847
|
+
error?: string | null;
|
|
38848
|
+
external_action?: string | null;
|
|
38849
|
+
external_ref?: string | null;
|
|
38850
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38851
|
+
external_status?: string | null;
|
|
38852
|
+
external_system?: string | null;
|
|
38853
|
+
id?: string;
|
|
38854
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38855
|
+
next_attempt_at?: string | null;
|
|
38856
|
+
order_ref?: string | null;
|
|
38857
|
+
order_source?: string | null;
|
|
38858
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38859
|
+
phase?: string;
|
|
38860
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38861
|
+
reason?: string | null;
|
|
38862
|
+
rule?: string | null;
|
|
38863
|
+
slip_ref?: string | null;
|
|
38864
|
+
status?: string;
|
|
38865
|
+
step?: string;
|
|
38866
|
+
trace_id?: string;
|
|
38867
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38868
|
+
};
|
|
38869
|
+
Relationships: [];
|
|
38870
|
+
};
|
|
38104
38871
|
logistics_variables: {
|
|
38105
38872
|
Row: {
|
|
38106
38873
|
created_at: string;
|
|
@@ -48673,6 +49440,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
48673
49440
|
Args: never;
|
|
48674
49441
|
Returns: boolean;
|
|
48675
49442
|
};
|
|
49443
|
+
cancel_open_print_jobs: {
|
|
49444
|
+
Args: {
|
|
49445
|
+
_cutoff: string;
|
|
49446
|
+
};
|
|
49447
|
+
Returns: {
|
|
49448
|
+
extern_job_id: string;
|
|
49449
|
+
id: string;
|
|
49450
|
+
}[];
|
|
49451
|
+
};
|
|
48676
49452
|
check_offer_product_available_stock: {
|
|
48677
49453
|
Args: {
|
|
48678
49454
|
p_campaign_product_id: string;
|
|
@@ -50285,6 +51061,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50285
51061
|
};
|
|
50286
51062
|
Returns: import("../integrations/supabase/types").Json;
|
|
50287
51063
|
};
|
|
51064
|
+
logistics_cart_plan_status_core: {
|
|
51065
|
+
Args: {
|
|
51066
|
+
p_ref: string;
|
|
51067
|
+
};
|
|
51068
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51069
|
+
};
|
|
50288
51070
|
logistics_cart_release_reason: {
|
|
50289
51071
|
Args: {
|
|
50290
51072
|
p_cart_id: string;
|
|
@@ -50717,6 +51499,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50717
51499
|
};
|
|
50718
51500
|
Returns: import("../integrations/supabase/types").Json;
|
|
50719
51501
|
};
|
|
51502
|
+
logistics_ensure_shipping_notes: {
|
|
51503
|
+
Args: {
|
|
51504
|
+
p_limit?: number;
|
|
51505
|
+
};
|
|
51506
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51507
|
+
};
|
|
50720
51508
|
logistics_fail_task: {
|
|
50721
51509
|
Args: {
|
|
50722
51510
|
p_error: string;
|
|
@@ -50762,6 +51550,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50762
51550
|
isSetofReturn: false;
|
|
50763
51551
|
};
|
|
50764
51552
|
};
|
|
51553
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51554
|
+
Args: never;
|
|
51555
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51556
|
+
};
|
|
50765
51557
|
logistics_floriday_cart_plan: {
|
|
50766
51558
|
Args: {
|
|
50767
51559
|
p_order_id: string;
|
|
@@ -50789,6 +51581,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50789
51581
|
revision: number;
|
|
50790
51582
|
}[];
|
|
50791
51583
|
};
|
|
51584
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51585
|
+
Args: never;
|
|
51586
|
+
Returns: boolean;
|
|
51587
|
+
};
|
|
50792
51588
|
logistics_floriday_finish_push: {
|
|
50793
51589
|
Args: {
|
|
50794
51590
|
_error?: string;
|
|
@@ -51032,6 +51828,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51032
51828
|
};
|
|
51033
51829
|
Returns: string;
|
|
51034
51830
|
};
|
|
51831
|
+
logistics_payload_is_floriday: {
|
|
51832
|
+
Args: {
|
|
51833
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51834
|
+
};
|
|
51835
|
+
Returns: boolean;
|
|
51836
|
+
};
|
|
51035
51837
|
logistics_pick_agenda: {
|
|
51036
51838
|
Args: {
|
|
51037
51839
|
p_from?: string;
|
|
@@ -51154,6 +51956,20 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51154
51956
|
Args: never;
|
|
51155
51957
|
Returns: undefined;
|
|
51156
51958
|
};
|
|
51959
|
+
logistics_plan_progress: {
|
|
51960
|
+
Args: {
|
|
51961
|
+
p_refs: string[];
|
|
51962
|
+
};
|
|
51963
|
+
Returns: {
|
|
51964
|
+
cart_plan_ready: boolean;
|
|
51965
|
+
cart_plan_reason: string;
|
|
51966
|
+
cart_plan_released: boolean;
|
|
51967
|
+
plan_progress: number;
|
|
51968
|
+
plan_state: string;
|
|
51969
|
+
plan_state_since: string;
|
|
51970
|
+
unit_ref: string;
|
|
51971
|
+
}[];
|
|
51972
|
+
};
|
|
51157
51973
|
logistics_plan_prune: {
|
|
51158
51974
|
Args: never;
|
|
51159
51975
|
Returns: number;
|
|
@@ -51175,6 +51991,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51175
51991
|
};
|
|
51176
51992
|
Returns: number;
|
|
51177
51993
|
};
|
|
51994
|
+
logistics_plan_state_for: {
|
|
51995
|
+
Args: {
|
|
51996
|
+
p_ref: string;
|
|
51997
|
+
};
|
|
51998
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51999
|
+
};
|
|
51178
52000
|
logistics_prepare_pick_documents: {
|
|
51179
52001
|
Args: {
|
|
51180
52002
|
p_limit?: number;
|
|
@@ -51233,6 +52055,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51233
52055
|
};
|
|
51234
52056
|
Returns: import("../integrations/supabase/types").Json;
|
|
51235
52057
|
};
|
|
52058
|
+
logistics_refresh_plan_state: {
|
|
52059
|
+
Args: {
|
|
52060
|
+
p_limit?: number;
|
|
52061
|
+
};
|
|
52062
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52063
|
+
};
|
|
51236
52064
|
logistics_replan_all: {
|
|
51237
52065
|
Args: {
|
|
51238
52066
|
p_reason?: string;
|
|
@@ -51407,6 +52235,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51407
52235
|
};
|
|
51408
52236
|
Returns: string;
|
|
51409
52237
|
};
|
|
52238
|
+
logistics_shipping_notes_wake_all: {
|
|
52239
|
+
Args: never;
|
|
52240
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52241
|
+
};
|
|
52242
|
+
logistics_slip_is_floriday: {
|
|
52243
|
+
Args: {
|
|
52244
|
+
_slip_job_id: string;
|
|
52245
|
+
};
|
|
52246
|
+
Returns: boolean;
|
|
52247
|
+
};
|
|
51410
52248
|
logistics_slip_note_claim: {
|
|
51411
52249
|
Args: {
|
|
51412
52250
|
_lease_seconds?: number;
|
|
@@ -51513,6 +52351,40 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51513
52351
|
name: string;
|
|
51514
52352
|
}[];
|
|
51515
52353
|
};
|
|
52354
|
+
logistics_trace: {
|
|
52355
|
+
Args: {
|
|
52356
|
+
p: import("../integrations/supabase/types").Json;
|
|
52357
|
+
};
|
|
52358
|
+
Returns: string;
|
|
52359
|
+
};
|
|
52360
|
+
logistics_trace_batch: {
|
|
52361
|
+
Args: {
|
|
52362
|
+
p: import("../integrations/supabase/types").Json;
|
|
52363
|
+
};
|
|
52364
|
+
Returns: number;
|
|
52365
|
+
};
|
|
52366
|
+
logistics_trace_orders: {
|
|
52367
|
+
Args: {
|
|
52368
|
+
p_limit?: number;
|
|
52369
|
+
p_search?: string;
|
|
52370
|
+
p_since?: string;
|
|
52371
|
+
p_status?: string;
|
|
52372
|
+
};
|
|
52373
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52374
|
+
};
|
|
52375
|
+
logistics_trace_redact: {
|
|
52376
|
+
Args: {
|
|
52377
|
+
p: import("../integrations/supabase/types").Json;
|
|
52378
|
+
};
|
|
52379
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52380
|
+
};
|
|
52381
|
+
logistics_trace_timeline: {
|
|
52382
|
+
Args: {
|
|
52383
|
+
p_limit?: number;
|
|
52384
|
+
p_order_ref: string;
|
|
52385
|
+
};
|
|
52386
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52387
|
+
};
|
|
51516
52388
|
logistics_upsert_task: {
|
|
51517
52389
|
Args: {
|
|
51518
52390
|
p_buffer_ref: string;
|
|
@@ -52554,6 +53426,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52554
53426
|
};
|
|
52555
53427
|
Returns: undefined;
|
|
52556
53428
|
};
|
|
53429
|
+
prune_floriday_api_log: {
|
|
53430
|
+
Args: never;
|
|
53431
|
+
Returns: number;
|
|
53432
|
+
};
|
|
52557
53433
|
quote_create_from_source: {
|
|
52558
53434
|
Args: {
|
|
52559
53435
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -53430,6 +54306,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
53430
54306
|
Args: never;
|
|
53431
54307
|
Returns: string;
|
|
53432
54308
|
};
|
|
54309
|
+
voorraad_cleanup_old_rows: {
|
|
54310
|
+
Args: never;
|
|
54311
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54312
|
+
};
|
|
53433
54313
|
wake_print_queue: {
|
|
53434
54314
|
Args: {
|
|
53435
54315
|
_min_interval_ms?: number;
|
|
@@ -55725,6 +56605,45 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55725
56605
|
};
|
|
55726
56606
|
Relationships: [];
|
|
55727
56607
|
};
|
|
56608
|
+
customer_product_stickers: {
|
|
56609
|
+
Row: {
|
|
56610
|
+
created_at: string;
|
|
56611
|
+
customer_key: string;
|
|
56612
|
+
file_name: string;
|
|
56613
|
+
file_path: string;
|
|
56614
|
+
file_size: number | null;
|
|
56615
|
+
id: string;
|
|
56616
|
+
mime_type: string | null;
|
|
56617
|
+
trade_item_key: string;
|
|
56618
|
+
updated_at: string;
|
|
56619
|
+
uploaded_by: string | null;
|
|
56620
|
+
};
|
|
56621
|
+
Insert: {
|
|
56622
|
+
created_at?: string;
|
|
56623
|
+
customer_key: string;
|
|
56624
|
+
file_name: string;
|
|
56625
|
+
file_path: string;
|
|
56626
|
+
file_size?: number | null;
|
|
56627
|
+
id?: string;
|
|
56628
|
+
mime_type?: string | null;
|
|
56629
|
+
trade_item_key: string;
|
|
56630
|
+
updated_at?: string;
|
|
56631
|
+
uploaded_by?: string | null;
|
|
56632
|
+
};
|
|
56633
|
+
Update: {
|
|
56634
|
+
created_at?: string;
|
|
56635
|
+
customer_key?: string;
|
|
56636
|
+
file_name?: string;
|
|
56637
|
+
file_path?: string;
|
|
56638
|
+
file_size?: number | null;
|
|
56639
|
+
id?: string;
|
|
56640
|
+
mime_type?: string | null;
|
|
56641
|
+
trade_item_key?: string;
|
|
56642
|
+
updated_at?: string;
|
|
56643
|
+
uploaded_by?: string | null;
|
|
56644
|
+
};
|
|
56645
|
+
Relationships: [];
|
|
56646
|
+
};
|
|
55728
56647
|
customer_selected_assortment: {
|
|
55729
56648
|
Row: {
|
|
55730
56649
|
article_number: string | null;
|
|
@@ -55773,6 +56692,30 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
55773
56692
|
referencedColumns: ["id"];
|
|
55774
56693
|
}];
|
|
55775
56694
|
};
|
|
56695
|
+
customer_sticker_settings: {
|
|
56696
|
+
Row: {
|
|
56697
|
+
created_at: string;
|
|
56698
|
+
customer_key: string;
|
|
56699
|
+
height_mm: number;
|
|
56700
|
+
updated_at: string;
|
|
56701
|
+
width_mm: number;
|
|
56702
|
+
};
|
|
56703
|
+
Insert: {
|
|
56704
|
+
created_at?: string;
|
|
56705
|
+
customer_key: string;
|
|
56706
|
+
height_mm?: number;
|
|
56707
|
+
updated_at?: string;
|
|
56708
|
+
width_mm?: number;
|
|
56709
|
+
};
|
|
56710
|
+
Update: {
|
|
56711
|
+
created_at?: string;
|
|
56712
|
+
customer_key?: string;
|
|
56713
|
+
height_mm?: number;
|
|
56714
|
+
updated_at?: string;
|
|
56715
|
+
width_mm?: number;
|
|
56716
|
+
};
|
|
56717
|
+
Relationships: [];
|
|
56718
|
+
};
|
|
55776
56719
|
customer_trade_settings: {
|
|
55777
56720
|
Row: {
|
|
55778
56721
|
category: string;
|
|
@@ -59103,6 +60046,102 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
59103
60046
|
referencedColumns: ["id"];
|
|
59104
60047
|
}];
|
|
59105
60048
|
};
|
|
60049
|
+
floriday_api_log: {
|
|
60050
|
+
Row: {
|
|
60051
|
+
action: string | null;
|
|
60052
|
+
caller: string | null;
|
|
60053
|
+
connection_id: string | null;
|
|
60054
|
+
created_at: string;
|
|
60055
|
+
cursor_from: number | null;
|
|
60056
|
+
direction: string;
|
|
60057
|
+
duration_ms: number | null;
|
|
60058
|
+
environment: string | null;
|
|
60059
|
+
error: string | null;
|
|
60060
|
+
floriday_id: string | null;
|
|
60061
|
+
floriday_reference: string | null;
|
|
60062
|
+
http_status: number;
|
|
60063
|
+
id: string;
|
|
60064
|
+
item_count: number | null;
|
|
60065
|
+
kind: string | null;
|
|
60066
|
+
local_id: string | null;
|
|
60067
|
+
local_reference: string | null;
|
|
60068
|
+
method: string;
|
|
60069
|
+
module: string | null;
|
|
60070
|
+
ok: boolean;
|
|
60071
|
+
path: string;
|
|
60072
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60073
|
+
resource_type: string | null;
|
|
60074
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60075
|
+
write_log_id: string | null;
|
|
60076
|
+
};
|
|
60077
|
+
Insert: {
|
|
60078
|
+
action?: string | null;
|
|
60079
|
+
caller?: string | null;
|
|
60080
|
+
connection_id?: string | null;
|
|
60081
|
+
created_at?: string;
|
|
60082
|
+
cursor_from?: number | null;
|
|
60083
|
+
direction: string;
|
|
60084
|
+
duration_ms?: number | null;
|
|
60085
|
+
environment?: string | null;
|
|
60086
|
+
error?: string | null;
|
|
60087
|
+
floriday_id?: string | null;
|
|
60088
|
+
floriday_reference?: string | null;
|
|
60089
|
+
http_status?: number;
|
|
60090
|
+
id?: string;
|
|
60091
|
+
item_count?: number | null;
|
|
60092
|
+
kind?: string | null;
|
|
60093
|
+
local_id?: string | null;
|
|
60094
|
+
local_reference?: string | null;
|
|
60095
|
+
method: string;
|
|
60096
|
+
module?: string | null;
|
|
60097
|
+
ok?: boolean;
|
|
60098
|
+
path: string;
|
|
60099
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60100
|
+
resource_type?: string | null;
|
|
60101
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60102
|
+
write_log_id?: string | null;
|
|
60103
|
+
};
|
|
60104
|
+
Update: {
|
|
60105
|
+
action?: string | null;
|
|
60106
|
+
caller?: string | null;
|
|
60107
|
+
connection_id?: string | null;
|
|
60108
|
+
created_at?: string;
|
|
60109
|
+
cursor_from?: number | null;
|
|
60110
|
+
direction?: string;
|
|
60111
|
+
duration_ms?: number | null;
|
|
60112
|
+
environment?: string | null;
|
|
60113
|
+
error?: string | null;
|
|
60114
|
+
floriday_id?: string | null;
|
|
60115
|
+
floriday_reference?: string | null;
|
|
60116
|
+
http_status?: number;
|
|
60117
|
+
id?: string;
|
|
60118
|
+
item_count?: number | null;
|
|
60119
|
+
kind?: string | null;
|
|
60120
|
+
local_id?: string | null;
|
|
60121
|
+
local_reference?: string | null;
|
|
60122
|
+
method?: string;
|
|
60123
|
+
module?: string | null;
|
|
60124
|
+
ok?: boolean;
|
|
60125
|
+
path?: string;
|
|
60126
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60127
|
+
resource_type?: string | null;
|
|
60128
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60129
|
+
write_log_id?: string | null;
|
|
60130
|
+
};
|
|
60131
|
+
Relationships: [{
|
|
60132
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60133
|
+
columns: ["connection_id"];
|
|
60134
|
+
isOneToOne: false;
|
|
60135
|
+
referencedRelation: "floriday_connections";
|
|
60136
|
+
referencedColumns: ["id"];
|
|
60137
|
+
}, {
|
|
60138
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60139
|
+
columns: ["write_log_id"];
|
|
60140
|
+
isOneToOne: false;
|
|
60141
|
+
referencedRelation: "floriday_write_log";
|
|
60142
|
+
referencedColumns: ["id"];
|
|
60143
|
+
}];
|
|
60144
|
+
};
|
|
59106
60145
|
floriday_auction_letters_cache: {
|
|
59107
60146
|
Row: {
|
|
59108
60147
|
auction_letter_code: string;
|
|
@@ -60303,6 +61342,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
60303
61342
|
referencedColumns: ["id"];
|
|
60304
61343
|
}];
|
|
60305
61344
|
};
|
|
61345
|
+
floriday_link_templates: {
|
|
61346
|
+
Row: {
|
|
61347
|
+
created_at: string;
|
|
61348
|
+
floriday_url_template: string | null;
|
|
61349
|
+
is_active: boolean;
|
|
61350
|
+
label: string;
|
|
61351
|
+
local_url_template: string | null;
|
|
61352
|
+
resource_type: string;
|
|
61353
|
+
updated_at: string;
|
|
61354
|
+
};
|
|
61355
|
+
Insert: {
|
|
61356
|
+
created_at?: string;
|
|
61357
|
+
floriday_url_template?: string | null;
|
|
61358
|
+
is_active?: boolean;
|
|
61359
|
+
label: string;
|
|
61360
|
+
local_url_template?: string | null;
|
|
61361
|
+
resource_type: string;
|
|
61362
|
+
updated_at?: string;
|
|
61363
|
+
};
|
|
61364
|
+
Update: {
|
|
61365
|
+
created_at?: string;
|
|
61366
|
+
floriday_url_template?: string | null;
|
|
61367
|
+
is_active?: boolean;
|
|
61368
|
+
label?: string;
|
|
61369
|
+
local_url_template?: string | null;
|
|
61370
|
+
resource_type?: string;
|
|
61371
|
+
updated_at?: string;
|
|
61372
|
+
};
|
|
61373
|
+
Relationships: [];
|
|
61374
|
+
};
|
|
61375
|
+
floriday_log_retention: {
|
|
61376
|
+
Row: {
|
|
61377
|
+
created_at: string;
|
|
61378
|
+
direction: string | null;
|
|
61379
|
+
id: string;
|
|
61380
|
+
keep_failed_days: number | null;
|
|
61381
|
+
keep_ok_days: number | null;
|
|
61382
|
+
note: string | null;
|
|
61383
|
+
resource_type: string | null;
|
|
61384
|
+
updated_at: string;
|
|
61385
|
+
};
|
|
61386
|
+
Insert: {
|
|
61387
|
+
created_at?: string;
|
|
61388
|
+
direction?: string | null;
|
|
61389
|
+
id?: string;
|
|
61390
|
+
keep_failed_days?: number | null;
|
|
61391
|
+
keep_ok_days?: number | null;
|
|
61392
|
+
note?: string | null;
|
|
61393
|
+
resource_type?: string | null;
|
|
61394
|
+
updated_at?: string;
|
|
61395
|
+
};
|
|
61396
|
+
Update: {
|
|
61397
|
+
created_at?: string;
|
|
61398
|
+
direction?: string | null;
|
|
61399
|
+
id?: string;
|
|
61400
|
+
keep_failed_days?: number | null;
|
|
61401
|
+
keep_ok_days?: number | null;
|
|
61402
|
+
note?: string | null;
|
|
61403
|
+
resource_type?: string | null;
|
|
61404
|
+
updated_at?: string;
|
|
61405
|
+
};
|
|
61406
|
+
Relationships: [];
|
|
61407
|
+
};
|
|
60306
61408
|
floriday_logistic_labels_cache: {
|
|
60307
61409
|
Row: {
|
|
60308
61410
|
byte_size: number | null;
|
|
@@ -64842,6 +65944,111 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
64842
65944
|
};
|
|
64843
65945
|
Relationships: [];
|
|
64844
65946
|
};
|
|
65947
|
+
logistics_trace_events: {
|
|
65948
|
+
Row: {
|
|
65949
|
+
actor: string | null;
|
|
65950
|
+
attempts: number;
|
|
65951
|
+
cart_ref: string | null;
|
|
65952
|
+
created_at: string;
|
|
65953
|
+
db_action: string | null;
|
|
65954
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
65955
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
65956
|
+
db_record: string | null;
|
|
65957
|
+
db_table: string | null;
|
|
65958
|
+
decision: string | null;
|
|
65959
|
+
duration_ms: number | null;
|
|
65960
|
+
error: string | null;
|
|
65961
|
+
external_action: string | null;
|
|
65962
|
+
external_ref: string | null;
|
|
65963
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
65964
|
+
external_status: string | null;
|
|
65965
|
+
external_system: string | null;
|
|
65966
|
+
id: string;
|
|
65967
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
65968
|
+
next_attempt_at: string | null;
|
|
65969
|
+
order_ref: string | null;
|
|
65970
|
+
order_source: string | null;
|
|
65971
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
65972
|
+
phase: string;
|
|
65973
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
65974
|
+
reason: string | null;
|
|
65975
|
+
rule: string | null;
|
|
65976
|
+
slip_ref: string | null;
|
|
65977
|
+
status: string;
|
|
65978
|
+
step: string;
|
|
65979
|
+
trace_id: string;
|
|
65980
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
65981
|
+
};
|
|
65982
|
+
Insert: {
|
|
65983
|
+
actor?: string | null;
|
|
65984
|
+
attempts?: number;
|
|
65985
|
+
cart_ref?: string | null;
|
|
65986
|
+
created_at?: string;
|
|
65987
|
+
db_action?: string | null;
|
|
65988
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
65989
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
65990
|
+
db_record?: string | null;
|
|
65991
|
+
db_table?: string | null;
|
|
65992
|
+
decision?: string | null;
|
|
65993
|
+
duration_ms?: number | null;
|
|
65994
|
+
error?: string | null;
|
|
65995
|
+
external_action?: string | null;
|
|
65996
|
+
external_ref?: string | null;
|
|
65997
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
65998
|
+
external_status?: string | null;
|
|
65999
|
+
external_system?: string | null;
|
|
66000
|
+
id?: string;
|
|
66001
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66002
|
+
next_attempt_at?: string | null;
|
|
66003
|
+
order_ref?: string | null;
|
|
66004
|
+
order_source?: string | null;
|
|
66005
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66006
|
+
phase: string;
|
|
66007
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66008
|
+
reason?: string | null;
|
|
66009
|
+
rule?: string | null;
|
|
66010
|
+
slip_ref?: string | null;
|
|
66011
|
+
status: string;
|
|
66012
|
+
step: string;
|
|
66013
|
+
trace_id?: string;
|
|
66014
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66015
|
+
};
|
|
66016
|
+
Update: {
|
|
66017
|
+
actor?: string | null;
|
|
66018
|
+
attempts?: number;
|
|
66019
|
+
cart_ref?: string | null;
|
|
66020
|
+
created_at?: string;
|
|
66021
|
+
db_action?: string | null;
|
|
66022
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66023
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66024
|
+
db_record?: string | null;
|
|
66025
|
+
db_table?: string | null;
|
|
66026
|
+
decision?: string | null;
|
|
66027
|
+
duration_ms?: number | null;
|
|
66028
|
+
error?: string | null;
|
|
66029
|
+
external_action?: string | null;
|
|
66030
|
+
external_ref?: string | null;
|
|
66031
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66032
|
+
external_status?: string | null;
|
|
66033
|
+
external_system?: string | null;
|
|
66034
|
+
id?: string;
|
|
66035
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66036
|
+
next_attempt_at?: string | null;
|
|
66037
|
+
order_ref?: string | null;
|
|
66038
|
+
order_source?: string | null;
|
|
66039
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66040
|
+
phase?: string;
|
|
66041
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66042
|
+
reason?: string | null;
|
|
66043
|
+
rule?: string | null;
|
|
66044
|
+
slip_ref?: string | null;
|
|
66045
|
+
status?: string;
|
|
66046
|
+
step?: string;
|
|
66047
|
+
trace_id?: string;
|
|
66048
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66049
|
+
};
|
|
66050
|
+
Relationships: [];
|
|
66051
|
+
};
|
|
64845
66052
|
logistics_variables: {
|
|
64846
66053
|
Row: {
|
|
64847
66054
|
created_at: string;
|
|
@@ -75414,6 +76621,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75414
76621
|
Args: never;
|
|
75415
76622
|
Returns: boolean;
|
|
75416
76623
|
};
|
|
76624
|
+
cancel_open_print_jobs: {
|
|
76625
|
+
Args: {
|
|
76626
|
+
_cutoff: string;
|
|
76627
|
+
};
|
|
76628
|
+
Returns: {
|
|
76629
|
+
extern_job_id: string;
|
|
76630
|
+
id: string;
|
|
76631
|
+
}[];
|
|
76632
|
+
};
|
|
75417
76633
|
check_offer_product_available_stock: {
|
|
75418
76634
|
Args: {
|
|
75419
76635
|
p_campaign_product_id: string;
|
|
@@ -77026,6 +78242,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77026
78242
|
};
|
|
77027
78243
|
Returns: import("../integrations/supabase/types").Json;
|
|
77028
78244
|
};
|
|
78245
|
+
logistics_cart_plan_status_core: {
|
|
78246
|
+
Args: {
|
|
78247
|
+
p_ref: string;
|
|
78248
|
+
};
|
|
78249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78250
|
+
};
|
|
77029
78251
|
logistics_cart_release_reason: {
|
|
77030
78252
|
Args: {
|
|
77031
78253
|
p_cart_id: string;
|
|
@@ -77458,6 +78680,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77458
78680
|
};
|
|
77459
78681
|
Returns: import("../integrations/supabase/types").Json;
|
|
77460
78682
|
};
|
|
78683
|
+
logistics_ensure_shipping_notes: {
|
|
78684
|
+
Args: {
|
|
78685
|
+
p_limit?: number;
|
|
78686
|
+
};
|
|
78687
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78688
|
+
};
|
|
77461
78689
|
logistics_fail_task: {
|
|
77462
78690
|
Args: {
|
|
77463
78691
|
p_error: string;
|
|
@@ -77503,6 +78731,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77503
78731
|
isSetofReturn: false;
|
|
77504
78732
|
};
|
|
77505
78733
|
};
|
|
78734
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78735
|
+
Args: never;
|
|
78736
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78737
|
+
};
|
|
77506
78738
|
logistics_floriday_cart_plan: {
|
|
77507
78739
|
Args: {
|
|
77508
78740
|
p_order_id: string;
|
|
@@ -77530,6 +78762,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77530
78762
|
revision: number;
|
|
77531
78763
|
}[];
|
|
77532
78764
|
};
|
|
78765
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78766
|
+
Args: never;
|
|
78767
|
+
Returns: boolean;
|
|
78768
|
+
};
|
|
77533
78769
|
logistics_floriday_finish_push: {
|
|
77534
78770
|
Args: {
|
|
77535
78771
|
_error?: string;
|
|
@@ -77773,6 +79009,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77773
79009
|
};
|
|
77774
79010
|
Returns: string;
|
|
77775
79011
|
};
|
|
79012
|
+
logistics_payload_is_floriday: {
|
|
79013
|
+
Args: {
|
|
79014
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79015
|
+
};
|
|
79016
|
+
Returns: boolean;
|
|
79017
|
+
};
|
|
77776
79018
|
logistics_pick_agenda: {
|
|
77777
79019
|
Args: {
|
|
77778
79020
|
p_from?: string;
|
|
@@ -77895,6 +79137,20 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77895
79137
|
Args: never;
|
|
77896
79138
|
Returns: undefined;
|
|
77897
79139
|
};
|
|
79140
|
+
logistics_plan_progress: {
|
|
79141
|
+
Args: {
|
|
79142
|
+
p_refs: string[];
|
|
79143
|
+
};
|
|
79144
|
+
Returns: {
|
|
79145
|
+
cart_plan_ready: boolean;
|
|
79146
|
+
cart_plan_reason: string;
|
|
79147
|
+
cart_plan_released: boolean;
|
|
79148
|
+
plan_progress: number;
|
|
79149
|
+
plan_state: string;
|
|
79150
|
+
plan_state_since: string;
|
|
79151
|
+
unit_ref: string;
|
|
79152
|
+
}[];
|
|
79153
|
+
};
|
|
77898
79154
|
logistics_plan_prune: {
|
|
77899
79155
|
Args: never;
|
|
77900
79156
|
Returns: number;
|
|
@@ -77916,6 +79172,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77916
79172
|
};
|
|
77917
79173
|
Returns: number;
|
|
77918
79174
|
};
|
|
79175
|
+
logistics_plan_state_for: {
|
|
79176
|
+
Args: {
|
|
79177
|
+
p_ref: string;
|
|
79178
|
+
};
|
|
79179
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79180
|
+
};
|
|
77919
79181
|
logistics_prepare_pick_documents: {
|
|
77920
79182
|
Args: {
|
|
77921
79183
|
p_limit?: number;
|
|
@@ -77974,6 +79236,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77974
79236
|
};
|
|
77975
79237
|
Returns: import("../integrations/supabase/types").Json;
|
|
77976
79238
|
};
|
|
79239
|
+
logistics_refresh_plan_state: {
|
|
79240
|
+
Args: {
|
|
79241
|
+
p_limit?: number;
|
|
79242
|
+
};
|
|
79243
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79244
|
+
};
|
|
77977
79245
|
logistics_replan_all: {
|
|
77978
79246
|
Args: {
|
|
77979
79247
|
p_reason?: string;
|
|
@@ -78148,6 +79416,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78148
79416
|
};
|
|
78149
79417
|
Returns: string;
|
|
78150
79418
|
};
|
|
79419
|
+
logistics_shipping_notes_wake_all: {
|
|
79420
|
+
Args: never;
|
|
79421
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79422
|
+
};
|
|
79423
|
+
logistics_slip_is_floriday: {
|
|
79424
|
+
Args: {
|
|
79425
|
+
_slip_job_id: string;
|
|
79426
|
+
};
|
|
79427
|
+
Returns: boolean;
|
|
79428
|
+
};
|
|
78151
79429
|
logistics_slip_note_claim: {
|
|
78152
79430
|
Args: {
|
|
78153
79431
|
_lease_seconds?: number;
|
|
@@ -78254,6 +79532,40 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78254
79532
|
name: string;
|
|
78255
79533
|
}[];
|
|
78256
79534
|
};
|
|
79535
|
+
logistics_trace: {
|
|
79536
|
+
Args: {
|
|
79537
|
+
p: import("../integrations/supabase/types").Json;
|
|
79538
|
+
};
|
|
79539
|
+
Returns: string;
|
|
79540
|
+
};
|
|
79541
|
+
logistics_trace_batch: {
|
|
79542
|
+
Args: {
|
|
79543
|
+
p: import("../integrations/supabase/types").Json;
|
|
79544
|
+
};
|
|
79545
|
+
Returns: number;
|
|
79546
|
+
};
|
|
79547
|
+
logistics_trace_orders: {
|
|
79548
|
+
Args: {
|
|
79549
|
+
p_limit?: number;
|
|
79550
|
+
p_search?: string;
|
|
79551
|
+
p_since?: string;
|
|
79552
|
+
p_status?: string;
|
|
79553
|
+
};
|
|
79554
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79555
|
+
};
|
|
79556
|
+
logistics_trace_redact: {
|
|
79557
|
+
Args: {
|
|
79558
|
+
p: import("../integrations/supabase/types").Json;
|
|
79559
|
+
};
|
|
79560
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79561
|
+
};
|
|
79562
|
+
logistics_trace_timeline: {
|
|
79563
|
+
Args: {
|
|
79564
|
+
p_limit?: number;
|
|
79565
|
+
p_order_ref: string;
|
|
79566
|
+
};
|
|
79567
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79568
|
+
};
|
|
78257
79569
|
logistics_upsert_task: {
|
|
78258
79570
|
Args: {
|
|
78259
79571
|
p_buffer_ref: string;
|
|
@@ -79295,6 +80607,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
79295
80607
|
};
|
|
79296
80608
|
Returns: undefined;
|
|
79297
80609
|
};
|
|
80610
|
+
prune_floriday_api_log: {
|
|
80611
|
+
Args: never;
|
|
80612
|
+
Returns: number;
|
|
80613
|
+
};
|
|
79298
80614
|
quote_create_from_source: {
|
|
79299
80615
|
Args: {
|
|
79300
80616
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -80171,6 +81487,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
80171
81487
|
Args: never;
|
|
80172
81488
|
Returns: string;
|
|
80173
81489
|
};
|
|
81490
|
+
voorraad_cleanup_old_rows: {
|
|
81491
|
+
Args: never;
|
|
81492
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81493
|
+
};
|
|
80174
81494
|
wake_print_queue: {
|
|
80175
81495
|
Args: {
|
|
80176
81496
|
_min_interval_ms?: number;
|