@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
|
@@ -2249,6 +2249,45 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
2249
2249
|
};
|
|
2250
2250
|
Relationships: [];
|
|
2251
2251
|
};
|
|
2252
|
+
customer_product_stickers: {
|
|
2253
|
+
Row: {
|
|
2254
|
+
created_at: string;
|
|
2255
|
+
customer_key: string;
|
|
2256
|
+
file_name: string;
|
|
2257
|
+
file_path: string;
|
|
2258
|
+
file_size: number | null;
|
|
2259
|
+
id: string;
|
|
2260
|
+
mime_type: string | null;
|
|
2261
|
+
trade_item_key: string;
|
|
2262
|
+
updated_at: string;
|
|
2263
|
+
uploaded_by: string | null;
|
|
2264
|
+
};
|
|
2265
|
+
Insert: {
|
|
2266
|
+
created_at?: string;
|
|
2267
|
+
customer_key: string;
|
|
2268
|
+
file_name: string;
|
|
2269
|
+
file_path: string;
|
|
2270
|
+
file_size?: number | null;
|
|
2271
|
+
id?: string;
|
|
2272
|
+
mime_type?: string | null;
|
|
2273
|
+
trade_item_key: string;
|
|
2274
|
+
updated_at?: string;
|
|
2275
|
+
uploaded_by?: string | null;
|
|
2276
|
+
};
|
|
2277
|
+
Update: {
|
|
2278
|
+
created_at?: string;
|
|
2279
|
+
customer_key?: string;
|
|
2280
|
+
file_name?: string;
|
|
2281
|
+
file_path?: string;
|
|
2282
|
+
file_size?: number | null;
|
|
2283
|
+
id?: string;
|
|
2284
|
+
mime_type?: string | null;
|
|
2285
|
+
trade_item_key?: string;
|
|
2286
|
+
updated_at?: string;
|
|
2287
|
+
uploaded_by?: string | null;
|
|
2288
|
+
};
|
|
2289
|
+
Relationships: [];
|
|
2290
|
+
};
|
|
2252
2291
|
customer_selected_assortment: {
|
|
2253
2292
|
Row: {
|
|
2254
2293
|
article_number: string | null;
|
|
@@ -2297,6 +2336,30 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
2297
2336
|
referencedColumns: ["id"];
|
|
2298
2337
|
}];
|
|
2299
2338
|
};
|
|
2339
|
+
customer_sticker_settings: {
|
|
2340
|
+
Row: {
|
|
2341
|
+
created_at: string;
|
|
2342
|
+
customer_key: string;
|
|
2343
|
+
height_mm: number;
|
|
2344
|
+
updated_at: string;
|
|
2345
|
+
width_mm: number;
|
|
2346
|
+
};
|
|
2347
|
+
Insert: {
|
|
2348
|
+
created_at?: string;
|
|
2349
|
+
customer_key: string;
|
|
2350
|
+
height_mm?: number;
|
|
2351
|
+
updated_at?: string;
|
|
2352
|
+
width_mm?: number;
|
|
2353
|
+
};
|
|
2354
|
+
Update: {
|
|
2355
|
+
created_at?: string;
|
|
2356
|
+
customer_key?: string;
|
|
2357
|
+
height_mm?: number;
|
|
2358
|
+
updated_at?: string;
|
|
2359
|
+
width_mm?: number;
|
|
2360
|
+
};
|
|
2361
|
+
Relationships: [];
|
|
2362
|
+
};
|
|
2300
2363
|
customer_trade_settings: {
|
|
2301
2364
|
Row: {
|
|
2302
2365
|
category: string;
|
|
@@ -5627,6 +5690,102 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
5627
5690
|
referencedColumns: ["id"];
|
|
5628
5691
|
}];
|
|
5629
5692
|
};
|
|
5693
|
+
floriday_api_log: {
|
|
5694
|
+
Row: {
|
|
5695
|
+
action: string | null;
|
|
5696
|
+
caller: string | null;
|
|
5697
|
+
connection_id: string | null;
|
|
5698
|
+
created_at: string;
|
|
5699
|
+
cursor_from: number | null;
|
|
5700
|
+
direction: string;
|
|
5701
|
+
duration_ms: number | null;
|
|
5702
|
+
environment: string | null;
|
|
5703
|
+
error: string | null;
|
|
5704
|
+
floriday_id: string | null;
|
|
5705
|
+
floriday_reference: string | null;
|
|
5706
|
+
http_status: number;
|
|
5707
|
+
id: string;
|
|
5708
|
+
item_count: number | null;
|
|
5709
|
+
kind: string | null;
|
|
5710
|
+
local_id: string | null;
|
|
5711
|
+
local_reference: string | null;
|
|
5712
|
+
method: string;
|
|
5713
|
+
module: string | null;
|
|
5714
|
+
ok: boolean;
|
|
5715
|
+
path: string;
|
|
5716
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5717
|
+
resource_type: string | null;
|
|
5718
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5719
|
+
write_log_id: string | null;
|
|
5720
|
+
};
|
|
5721
|
+
Insert: {
|
|
5722
|
+
action?: string | null;
|
|
5723
|
+
caller?: string | null;
|
|
5724
|
+
connection_id?: string | null;
|
|
5725
|
+
created_at?: string;
|
|
5726
|
+
cursor_from?: number | null;
|
|
5727
|
+
direction: string;
|
|
5728
|
+
duration_ms?: number | null;
|
|
5729
|
+
environment?: string | null;
|
|
5730
|
+
error?: string | null;
|
|
5731
|
+
floriday_id?: string | null;
|
|
5732
|
+
floriday_reference?: string | null;
|
|
5733
|
+
http_status?: number;
|
|
5734
|
+
id?: string;
|
|
5735
|
+
item_count?: number | null;
|
|
5736
|
+
kind?: string | null;
|
|
5737
|
+
local_id?: string | null;
|
|
5738
|
+
local_reference?: string | null;
|
|
5739
|
+
method: string;
|
|
5740
|
+
module?: string | null;
|
|
5741
|
+
ok?: boolean;
|
|
5742
|
+
path: string;
|
|
5743
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5744
|
+
resource_type?: string | null;
|
|
5745
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5746
|
+
write_log_id?: string | null;
|
|
5747
|
+
};
|
|
5748
|
+
Update: {
|
|
5749
|
+
action?: string | null;
|
|
5750
|
+
caller?: string | null;
|
|
5751
|
+
connection_id?: string | null;
|
|
5752
|
+
created_at?: string;
|
|
5753
|
+
cursor_from?: number | null;
|
|
5754
|
+
direction?: string;
|
|
5755
|
+
duration_ms?: number | null;
|
|
5756
|
+
environment?: string | null;
|
|
5757
|
+
error?: string | null;
|
|
5758
|
+
floriday_id?: string | null;
|
|
5759
|
+
floriday_reference?: string | null;
|
|
5760
|
+
http_status?: number;
|
|
5761
|
+
id?: string;
|
|
5762
|
+
item_count?: number | null;
|
|
5763
|
+
kind?: string | null;
|
|
5764
|
+
local_id?: string | null;
|
|
5765
|
+
local_reference?: string | null;
|
|
5766
|
+
method?: string;
|
|
5767
|
+
module?: string | null;
|
|
5768
|
+
ok?: boolean;
|
|
5769
|
+
path?: string;
|
|
5770
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5771
|
+
resource_type?: string | null;
|
|
5772
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5773
|
+
write_log_id?: string | null;
|
|
5774
|
+
};
|
|
5775
|
+
Relationships: [{
|
|
5776
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5777
|
+
columns: ["connection_id"];
|
|
5778
|
+
isOneToOne: false;
|
|
5779
|
+
referencedRelation: "floriday_connections";
|
|
5780
|
+
referencedColumns: ["id"];
|
|
5781
|
+
}, {
|
|
5782
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5783
|
+
columns: ["write_log_id"];
|
|
5784
|
+
isOneToOne: false;
|
|
5785
|
+
referencedRelation: "floriday_write_log";
|
|
5786
|
+
referencedColumns: ["id"];
|
|
5787
|
+
}];
|
|
5788
|
+
};
|
|
5630
5789
|
floriday_auction_letters_cache: {
|
|
5631
5790
|
Row: {
|
|
5632
5791
|
auction_letter_code: string;
|
|
@@ -6827,6 +6986,69 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
6827
6986
|
referencedColumns: ["id"];
|
|
6828
6987
|
}];
|
|
6829
6988
|
};
|
|
6989
|
+
floriday_link_templates: {
|
|
6990
|
+
Row: {
|
|
6991
|
+
created_at: string;
|
|
6992
|
+
floriday_url_template: string | null;
|
|
6993
|
+
is_active: boolean;
|
|
6994
|
+
label: string;
|
|
6995
|
+
local_url_template: string | null;
|
|
6996
|
+
resource_type: string;
|
|
6997
|
+
updated_at: string;
|
|
6998
|
+
};
|
|
6999
|
+
Insert: {
|
|
7000
|
+
created_at?: string;
|
|
7001
|
+
floriday_url_template?: string | null;
|
|
7002
|
+
is_active?: boolean;
|
|
7003
|
+
label: string;
|
|
7004
|
+
local_url_template?: string | null;
|
|
7005
|
+
resource_type: string;
|
|
7006
|
+
updated_at?: string;
|
|
7007
|
+
};
|
|
7008
|
+
Update: {
|
|
7009
|
+
created_at?: string;
|
|
7010
|
+
floriday_url_template?: string | null;
|
|
7011
|
+
is_active?: boolean;
|
|
7012
|
+
label?: string;
|
|
7013
|
+
local_url_template?: string | null;
|
|
7014
|
+
resource_type?: string;
|
|
7015
|
+
updated_at?: string;
|
|
7016
|
+
};
|
|
7017
|
+
Relationships: [];
|
|
7018
|
+
};
|
|
7019
|
+
floriday_log_retention: {
|
|
7020
|
+
Row: {
|
|
7021
|
+
created_at: string;
|
|
7022
|
+
direction: string | null;
|
|
7023
|
+
id: string;
|
|
7024
|
+
keep_failed_days: number | null;
|
|
7025
|
+
keep_ok_days: number | null;
|
|
7026
|
+
note: string | null;
|
|
7027
|
+
resource_type: string | null;
|
|
7028
|
+
updated_at: string;
|
|
7029
|
+
};
|
|
7030
|
+
Insert: {
|
|
7031
|
+
created_at?: string;
|
|
7032
|
+
direction?: string | null;
|
|
7033
|
+
id?: string;
|
|
7034
|
+
keep_failed_days?: number | null;
|
|
7035
|
+
keep_ok_days?: number | null;
|
|
7036
|
+
note?: string | null;
|
|
7037
|
+
resource_type?: string | null;
|
|
7038
|
+
updated_at?: string;
|
|
7039
|
+
};
|
|
7040
|
+
Update: {
|
|
7041
|
+
created_at?: string;
|
|
7042
|
+
direction?: string | null;
|
|
7043
|
+
id?: string;
|
|
7044
|
+
keep_failed_days?: number | null;
|
|
7045
|
+
keep_ok_days?: number | null;
|
|
7046
|
+
note?: string | null;
|
|
7047
|
+
resource_type?: string | null;
|
|
7048
|
+
updated_at?: string;
|
|
7049
|
+
};
|
|
7050
|
+
Relationships: [];
|
|
7051
|
+
};
|
|
6830
7052
|
floriday_logistic_labels_cache: {
|
|
6831
7053
|
Row: {
|
|
6832
7054
|
byte_size: number | null;
|
|
@@ -11366,6 +11588,111 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
11366
11588
|
};
|
|
11367
11589
|
Relationships: [];
|
|
11368
11590
|
};
|
|
11591
|
+
logistics_trace_events: {
|
|
11592
|
+
Row: {
|
|
11593
|
+
actor: string | null;
|
|
11594
|
+
attempts: number;
|
|
11595
|
+
cart_ref: string | null;
|
|
11596
|
+
created_at: string;
|
|
11597
|
+
db_action: string | null;
|
|
11598
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11599
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11600
|
+
db_record: string | null;
|
|
11601
|
+
db_table: string | null;
|
|
11602
|
+
decision: string | null;
|
|
11603
|
+
duration_ms: number | null;
|
|
11604
|
+
error: string | null;
|
|
11605
|
+
external_action: string | null;
|
|
11606
|
+
external_ref: string | null;
|
|
11607
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11608
|
+
external_status: string | null;
|
|
11609
|
+
external_system: string | null;
|
|
11610
|
+
id: string;
|
|
11611
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11612
|
+
next_attempt_at: string | null;
|
|
11613
|
+
order_ref: string | null;
|
|
11614
|
+
order_source: string | null;
|
|
11615
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11616
|
+
phase: string;
|
|
11617
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11618
|
+
reason: string | null;
|
|
11619
|
+
rule: string | null;
|
|
11620
|
+
slip_ref: string | null;
|
|
11621
|
+
status: string;
|
|
11622
|
+
step: string;
|
|
11623
|
+
trace_id: string;
|
|
11624
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
};
|
|
11626
|
+
Insert: {
|
|
11627
|
+
actor?: string | null;
|
|
11628
|
+
attempts?: number;
|
|
11629
|
+
cart_ref?: string | null;
|
|
11630
|
+
created_at?: string;
|
|
11631
|
+
db_action?: string | null;
|
|
11632
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11633
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11634
|
+
db_record?: string | null;
|
|
11635
|
+
db_table?: string | null;
|
|
11636
|
+
decision?: string | null;
|
|
11637
|
+
duration_ms?: number | null;
|
|
11638
|
+
error?: string | null;
|
|
11639
|
+
external_action?: string | null;
|
|
11640
|
+
external_ref?: string | null;
|
|
11641
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11642
|
+
external_status?: string | null;
|
|
11643
|
+
external_system?: string | null;
|
|
11644
|
+
id?: string;
|
|
11645
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11646
|
+
next_attempt_at?: string | null;
|
|
11647
|
+
order_ref?: string | null;
|
|
11648
|
+
order_source?: string | null;
|
|
11649
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11650
|
+
phase: string;
|
|
11651
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11652
|
+
reason?: string | null;
|
|
11653
|
+
rule?: string | null;
|
|
11654
|
+
slip_ref?: string | null;
|
|
11655
|
+
status: string;
|
|
11656
|
+
step: string;
|
|
11657
|
+
trace_id?: string;
|
|
11658
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
};
|
|
11660
|
+
Update: {
|
|
11661
|
+
actor?: string | null;
|
|
11662
|
+
attempts?: number;
|
|
11663
|
+
cart_ref?: string | null;
|
|
11664
|
+
created_at?: string;
|
|
11665
|
+
db_action?: string | null;
|
|
11666
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11667
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11668
|
+
db_record?: string | null;
|
|
11669
|
+
db_table?: string | null;
|
|
11670
|
+
decision?: string | null;
|
|
11671
|
+
duration_ms?: number | null;
|
|
11672
|
+
error?: string | null;
|
|
11673
|
+
external_action?: string | null;
|
|
11674
|
+
external_ref?: string | null;
|
|
11675
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11676
|
+
external_status?: string | null;
|
|
11677
|
+
external_system?: string | null;
|
|
11678
|
+
id?: string;
|
|
11679
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11680
|
+
next_attempt_at?: string | null;
|
|
11681
|
+
order_ref?: string | null;
|
|
11682
|
+
order_source?: string | null;
|
|
11683
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11684
|
+
phase?: string;
|
|
11685
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11686
|
+
reason?: string | null;
|
|
11687
|
+
rule?: string | null;
|
|
11688
|
+
slip_ref?: string | null;
|
|
11689
|
+
status?: string;
|
|
11690
|
+
step?: string;
|
|
11691
|
+
trace_id?: string;
|
|
11692
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11693
|
+
};
|
|
11694
|
+
Relationships: [];
|
|
11695
|
+
};
|
|
11369
11696
|
logistics_variables: {
|
|
11370
11697
|
Row: {
|
|
11371
11698
|
created_at: string;
|
|
@@ -21938,6 +22265,15 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
21938
22265
|
Args: never;
|
|
21939
22266
|
Returns: boolean;
|
|
21940
22267
|
};
|
|
22268
|
+
cancel_open_print_jobs: {
|
|
22269
|
+
Args: {
|
|
22270
|
+
_cutoff: string;
|
|
22271
|
+
};
|
|
22272
|
+
Returns: {
|
|
22273
|
+
extern_job_id: string;
|
|
22274
|
+
id: string;
|
|
22275
|
+
}[];
|
|
22276
|
+
};
|
|
21941
22277
|
check_offer_product_available_stock: {
|
|
21942
22278
|
Args: {
|
|
21943
22279
|
p_campaign_product_id: string;
|
|
@@ -23550,6 +23886,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23550
23886
|
};
|
|
23551
23887
|
Returns: import("../integrations/supabase/types").Json;
|
|
23552
23888
|
};
|
|
23889
|
+
logistics_cart_plan_status_core: {
|
|
23890
|
+
Args: {
|
|
23891
|
+
p_ref: string;
|
|
23892
|
+
};
|
|
23893
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23894
|
+
};
|
|
23553
23895
|
logistics_cart_release_reason: {
|
|
23554
23896
|
Args: {
|
|
23555
23897
|
p_cart_id: string;
|
|
@@ -23982,6 +24324,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
23982
24324
|
};
|
|
23983
24325
|
Returns: import("../integrations/supabase/types").Json;
|
|
23984
24326
|
};
|
|
24327
|
+
logistics_ensure_shipping_notes: {
|
|
24328
|
+
Args: {
|
|
24329
|
+
p_limit?: number;
|
|
24330
|
+
};
|
|
24331
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24332
|
+
};
|
|
23985
24333
|
logistics_fail_task: {
|
|
23986
24334
|
Args: {
|
|
23987
24335
|
p_error: string;
|
|
@@ -24027,6 +24375,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24027
24375
|
isSetofReturn: false;
|
|
24028
24376
|
};
|
|
24029
24377
|
};
|
|
24378
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24379
|
+
Args: never;
|
|
24380
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24381
|
+
};
|
|
24030
24382
|
logistics_floriday_cart_plan: {
|
|
24031
24383
|
Args: {
|
|
24032
24384
|
p_order_id: string;
|
|
@@ -24054,6 +24406,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24054
24406
|
revision: number;
|
|
24055
24407
|
}[];
|
|
24056
24408
|
};
|
|
24409
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24410
|
+
Args: never;
|
|
24411
|
+
Returns: boolean;
|
|
24412
|
+
};
|
|
24057
24413
|
logistics_floriday_finish_push: {
|
|
24058
24414
|
Args: {
|
|
24059
24415
|
_error?: string;
|
|
@@ -24297,6 +24653,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24297
24653
|
};
|
|
24298
24654
|
Returns: string;
|
|
24299
24655
|
};
|
|
24656
|
+
logistics_payload_is_floriday: {
|
|
24657
|
+
Args: {
|
|
24658
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24659
|
+
};
|
|
24660
|
+
Returns: boolean;
|
|
24661
|
+
};
|
|
24300
24662
|
logistics_pick_agenda: {
|
|
24301
24663
|
Args: {
|
|
24302
24664
|
p_from?: string;
|
|
@@ -24419,6 +24781,20 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24419
24781
|
Args: never;
|
|
24420
24782
|
Returns: undefined;
|
|
24421
24783
|
};
|
|
24784
|
+
logistics_plan_progress: {
|
|
24785
|
+
Args: {
|
|
24786
|
+
p_refs: string[];
|
|
24787
|
+
};
|
|
24788
|
+
Returns: {
|
|
24789
|
+
cart_plan_ready: boolean;
|
|
24790
|
+
cart_plan_reason: string;
|
|
24791
|
+
cart_plan_released: boolean;
|
|
24792
|
+
plan_progress: number;
|
|
24793
|
+
plan_state: string;
|
|
24794
|
+
plan_state_since: string;
|
|
24795
|
+
unit_ref: string;
|
|
24796
|
+
}[];
|
|
24797
|
+
};
|
|
24422
24798
|
logistics_plan_prune: {
|
|
24423
24799
|
Args: never;
|
|
24424
24800
|
Returns: number;
|
|
@@ -24440,6 +24816,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24440
24816
|
};
|
|
24441
24817
|
Returns: number;
|
|
24442
24818
|
};
|
|
24819
|
+
logistics_plan_state_for: {
|
|
24820
|
+
Args: {
|
|
24821
|
+
p_ref: string;
|
|
24822
|
+
};
|
|
24823
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24824
|
+
};
|
|
24443
24825
|
logistics_prepare_pick_documents: {
|
|
24444
24826
|
Args: {
|
|
24445
24827
|
p_limit?: number;
|
|
@@ -24498,6 +24880,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24498
24880
|
};
|
|
24499
24881
|
Returns: import("../integrations/supabase/types").Json;
|
|
24500
24882
|
};
|
|
24883
|
+
logistics_refresh_plan_state: {
|
|
24884
|
+
Args: {
|
|
24885
|
+
p_limit?: number;
|
|
24886
|
+
};
|
|
24887
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24888
|
+
};
|
|
24501
24889
|
logistics_replan_all: {
|
|
24502
24890
|
Args: {
|
|
24503
24891
|
p_reason?: string;
|
|
@@ -24672,6 +25060,16 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24672
25060
|
};
|
|
24673
25061
|
Returns: string;
|
|
24674
25062
|
};
|
|
25063
|
+
logistics_shipping_notes_wake_all: {
|
|
25064
|
+
Args: never;
|
|
25065
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25066
|
+
};
|
|
25067
|
+
logistics_slip_is_floriday: {
|
|
25068
|
+
Args: {
|
|
25069
|
+
_slip_job_id: string;
|
|
25070
|
+
};
|
|
25071
|
+
Returns: boolean;
|
|
25072
|
+
};
|
|
24675
25073
|
logistics_slip_note_claim: {
|
|
24676
25074
|
Args: {
|
|
24677
25075
|
_lease_seconds?: number;
|
|
@@ -24778,6 +25176,63 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
24778
25176
|
name: string;
|
|
24779
25177
|
}[];
|
|
24780
25178
|
};
|
|
25179
|
+
logistics_trace: {
|
|
25180
|
+
Args: {
|
|
25181
|
+
p: import("../integrations/supabase/types").Json;
|
|
25182
|
+
};
|
|
25183
|
+
Returns: string;
|
|
25184
|
+
};
|
|
25185
|
+
logistics_trace_all_orders: {
|
|
25186
|
+
Args: {
|
|
25187
|
+
p_limit?: number;
|
|
25188
|
+
p_search?: string;
|
|
25189
|
+
};
|
|
25190
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25191
|
+
};
|
|
25192
|
+
logistics_trace_batch: {
|
|
25193
|
+
Args: {
|
|
25194
|
+
p: import("../integrations/supabase/types").Json;
|
|
25195
|
+
};
|
|
25196
|
+
Returns: number;
|
|
25197
|
+
};
|
|
25198
|
+
logistics_trace_orders: {
|
|
25199
|
+
Args: {
|
|
25200
|
+
p_limit?: number;
|
|
25201
|
+
p_search?: string;
|
|
25202
|
+
p_since?: string;
|
|
25203
|
+
p_status?: string;
|
|
25204
|
+
};
|
|
25205
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25206
|
+
};
|
|
25207
|
+
logistics_trace_redact: {
|
|
25208
|
+
Args: {
|
|
25209
|
+
p: import("../integrations/supabase/types").Json;
|
|
25210
|
+
};
|
|
25211
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25212
|
+
};
|
|
25213
|
+
logistics_trace_timeline: {
|
|
25214
|
+
Args: {
|
|
25215
|
+
p_limit?: number;
|
|
25216
|
+
p_order_ref: string;
|
|
25217
|
+
};
|
|
25218
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25219
|
+
};
|
|
25220
|
+
logistics_trace_version_events: {
|
|
25221
|
+
Args: {
|
|
25222
|
+
p_from?: string;
|
|
25223
|
+
p_limit?: number;
|
|
25224
|
+
p_order_ref: string;
|
|
25225
|
+
p_to?: string;
|
|
25226
|
+
p_version_id: string;
|
|
25227
|
+
};
|
|
25228
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25229
|
+
};
|
|
25230
|
+
logistics_trace_versions: {
|
|
25231
|
+
Args: {
|
|
25232
|
+
p_order_ref: string;
|
|
25233
|
+
};
|
|
25234
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25235
|
+
};
|
|
24781
25236
|
logistics_upsert_task: {
|
|
24782
25237
|
Args: {
|
|
24783
25238
|
p_buffer_ref: string;
|
|
@@ -25819,6 +26274,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
25819
26274
|
};
|
|
25820
26275
|
Returns: undefined;
|
|
25821
26276
|
};
|
|
26277
|
+
prune_floriday_api_log: {
|
|
26278
|
+
Args: never;
|
|
26279
|
+
Returns: number;
|
|
26280
|
+
};
|
|
25822
26281
|
quote_create_from_source: {
|
|
25823
26282
|
Args: {
|
|
25824
26283
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26695,6 +27154,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
26695
27154
|
Args: never;
|
|
26696
27155
|
Returns: string;
|
|
26697
27156
|
};
|
|
27157
|
+
voorraad_cleanup_old_rows: {
|
|
27158
|
+
Args: never;
|
|
27159
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27160
|
+
};
|
|
26698
27161
|
wake_print_queue: {
|
|
26699
27162
|
Args: {
|
|
26700
27163
|
_min_interval_ms?: number;
|
|
@@ -28990,6 +29453,45 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
28990
29453
|
};
|
|
28991
29454
|
Relationships: [];
|
|
28992
29455
|
};
|
|
29456
|
+
customer_product_stickers: {
|
|
29457
|
+
Row: {
|
|
29458
|
+
created_at: string;
|
|
29459
|
+
customer_key: string;
|
|
29460
|
+
file_name: string;
|
|
29461
|
+
file_path: string;
|
|
29462
|
+
file_size: number | null;
|
|
29463
|
+
id: string;
|
|
29464
|
+
mime_type: string | null;
|
|
29465
|
+
trade_item_key: string;
|
|
29466
|
+
updated_at: string;
|
|
29467
|
+
uploaded_by: string | null;
|
|
29468
|
+
};
|
|
29469
|
+
Insert: {
|
|
29470
|
+
created_at?: string;
|
|
29471
|
+
customer_key: string;
|
|
29472
|
+
file_name: string;
|
|
29473
|
+
file_path: string;
|
|
29474
|
+
file_size?: number | null;
|
|
29475
|
+
id?: string;
|
|
29476
|
+
mime_type?: string | null;
|
|
29477
|
+
trade_item_key: string;
|
|
29478
|
+
updated_at?: string;
|
|
29479
|
+
uploaded_by?: string | null;
|
|
29480
|
+
};
|
|
29481
|
+
Update: {
|
|
29482
|
+
created_at?: string;
|
|
29483
|
+
customer_key?: string;
|
|
29484
|
+
file_name?: string;
|
|
29485
|
+
file_path?: string;
|
|
29486
|
+
file_size?: number | null;
|
|
29487
|
+
id?: string;
|
|
29488
|
+
mime_type?: string | null;
|
|
29489
|
+
trade_item_key?: string;
|
|
29490
|
+
updated_at?: string;
|
|
29491
|
+
uploaded_by?: string | null;
|
|
29492
|
+
};
|
|
29493
|
+
Relationships: [];
|
|
29494
|
+
};
|
|
28993
29495
|
customer_selected_assortment: {
|
|
28994
29496
|
Row: {
|
|
28995
29497
|
article_number: string | null;
|
|
@@ -29038,6 +29540,30 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
29038
29540
|
referencedColumns: ["id"];
|
|
29039
29541
|
}];
|
|
29040
29542
|
};
|
|
29543
|
+
customer_sticker_settings: {
|
|
29544
|
+
Row: {
|
|
29545
|
+
created_at: string;
|
|
29546
|
+
customer_key: string;
|
|
29547
|
+
height_mm: number;
|
|
29548
|
+
updated_at: string;
|
|
29549
|
+
width_mm: number;
|
|
29550
|
+
};
|
|
29551
|
+
Insert: {
|
|
29552
|
+
created_at?: string;
|
|
29553
|
+
customer_key: string;
|
|
29554
|
+
height_mm?: number;
|
|
29555
|
+
updated_at?: string;
|
|
29556
|
+
width_mm?: number;
|
|
29557
|
+
};
|
|
29558
|
+
Update: {
|
|
29559
|
+
created_at?: string;
|
|
29560
|
+
customer_key?: string;
|
|
29561
|
+
height_mm?: number;
|
|
29562
|
+
updated_at?: string;
|
|
29563
|
+
width_mm?: number;
|
|
29564
|
+
};
|
|
29565
|
+
Relationships: [];
|
|
29566
|
+
};
|
|
29041
29567
|
customer_trade_settings: {
|
|
29042
29568
|
Row: {
|
|
29043
29569
|
category: string;
|
|
@@ -32368,6 +32894,102 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
32368
32894
|
referencedColumns: ["id"];
|
|
32369
32895
|
}];
|
|
32370
32896
|
};
|
|
32897
|
+
floriday_api_log: {
|
|
32898
|
+
Row: {
|
|
32899
|
+
action: string | null;
|
|
32900
|
+
caller: string | null;
|
|
32901
|
+
connection_id: string | null;
|
|
32902
|
+
created_at: string;
|
|
32903
|
+
cursor_from: number | null;
|
|
32904
|
+
direction: string;
|
|
32905
|
+
duration_ms: number | null;
|
|
32906
|
+
environment: string | null;
|
|
32907
|
+
error: string | null;
|
|
32908
|
+
floriday_id: string | null;
|
|
32909
|
+
floriday_reference: string | null;
|
|
32910
|
+
http_status: number;
|
|
32911
|
+
id: string;
|
|
32912
|
+
item_count: number | null;
|
|
32913
|
+
kind: string | null;
|
|
32914
|
+
local_id: string | null;
|
|
32915
|
+
local_reference: string | null;
|
|
32916
|
+
method: string;
|
|
32917
|
+
module: string | null;
|
|
32918
|
+
ok: boolean;
|
|
32919
|
+
path: string;
|
|
32920
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32921
|
+
resource_type: string | null;
|
|
32922
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32923
|
+
write_log_id: string | null;
|
|
32924
|
+
};
|
|
32925
|
+
Insert: {
|
|
32926
|
+
action?: string | null;
|
|
32927
|
+
caller?: string | null;
|
|
32928
|
+
connection_id?: string | null;
|
|
32929
|
+
created_at?: string;
|
|
32930
|
+
cursor_from?: number | null;
|
|
32931
|
+
direction: string;
|
|
32932
|
+
duration_ms?: number | null;
|
|
32933
|
+
environment?: string | null;
|
|
32934
|
+
error?: string | null;
|
|
32935
|
+
floriday_id?: string | null;
|
|
32936
|
+
floriday_reference?: string | null;
|
|
32937
|
+
http_status?: number;
|
|
32938
|
+
id?: string;
|
|
32939
|
+
item_count?: number | null;
|
|
32940
|
+
kind?: string | null;
|
|
32941
|
+
local_id?: string | null;
|
|
32942
|
+
local_reference?: string | null;
|
|
32943
|
+
method: string;
|
|
32944
|
+
module?: string | null;
|
|
32945
|
+
ok?: boolean;
|
|
32946
|
+
path: string;
|
|
32947
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32948
|
+
resource_type?: string | null;
|
|
32949
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32950
|
+
write_log_id?: string | null;
|
|
32951
|
+
};
|
|
32952
|
+
Update: {
|
|
32953
|
+
action?: string | null;
|
|
32954
|
+
caller?: string | null;
|
|
32955
|
+
connection_id?: string | null;
|
|
32956
|
+
created_at?: string;
|
|
32957
|
+
cursor_from?: number | null;
|
|
32958
|
+
direction?: string;
|
|
32959
|
+
duration_ms?: number | null;
|
|
32960
|
+
environment?: string | null;
|
|
32961
|
+
error?: string | null;
|
|
32962
|
+
floriday_id?: string | null;
|
|
32963
|
+
floriday_reference?: string | null;
|
|
32964
|
+
http_status?: number;
|
|
32965
|
+
id?: string;
|
|
32966
|
+
item_count?: number | null;
|
|
32967
|
+
kind?: string | null;
|
|
32968
|
+
local_id?: string | null;
|
|
32969
|
+
local_reference?: string | null;
|
|
32970
|
+
method?: string;
|
|
32971
|
+
module?: string | null;
|
|
32972
|
+
ok?: boolean;
|
|
32973
|
+
path?: string;
|
|
32974
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32975
|
+
resource_type?: string | null;
|
|
32976
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32977
|
+
write_log_id?: string | null;
|
|
32978
|
+
};
|
|
32979
|
+
Relationships: [{
|
|
32980
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32981
|
+
columns: ["connection_id"];
|
|
32982
|
+
isOneToOne: false;
|
|
32983
|
+
referencedRelation: "floriday_connections";
|
|
32984
|
+
referencedColumns: ["id"];
|
|
32985
|
+
}, {
|
|
32986
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32987
|
+
columns: ["write_log_id"];
|
|
32988
|
+
isOneToOne: false;
|
|
32989
|
+
referencedRelation: "floriday_write_log";
|
|
32990
|
+
referencedColumns: ["id"];
|
|
32991
|
+
}];
|
|
32992
|
+
};
|
|
32371
32993
|
floriday_auction_letters_cache: {
|
|
32372
32994
|
Row: {
|
|
32373
32995
|
auction_letter_code: string;
|
|
@@ -33568,6 +34190,69 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
33568
34190
|
referencedColumns: ["id"];
|
|
33569
34191
|
}];
|
|
33570
34192
|
};
|
|
34193
|
+
floriday_link_templates: {
|
|
34194
|
+
Row: {
|
|
34195
|
+
created_at: string;
|
|
34196
|
+
floriday_url_template: string | null;
|
|
34197
|
+
is_active: boolean;
|
|
34198
|
+
label: string;
|
|
34199
|
+
local_url_template: string | null;
|
|
34200
|
+
resource_type: string;
|
|
34201
|
+
updated_at: string;
|
|
34202
|
+
};
|
|
34203
|
+
Insert: {
|
|
34204
|
+
created_at?: string;
|
|
34205
|
+
floriday_url_template?: string | null;
|
|
34206
|
+
is_active?: boolean;
|
|
34207
|
+
label: string;
|
|
34208
|
+
local_url_template?: string | null;
|
|
34209
|
+
resource_type: string;
|
|
34210
|
+
updated_at?: string;
|
|
34211
|
+
};
|
|
34212
|
+
Update: {
|
|
34213
|
+
created_at?: string;
|
|
34214
|
+
floriday_url_template?: string | null;
|
|
34215
|
+
is_active?: boolean;
|
|
34216
|
+
label?: string;
|
|
34217
|
+
local_url_template?: string | null;
|
|
34218
|
+
resource_type?: string;
|
|
34219
|
+
updated_at?: string;
|
|
34220
|
+
};
|
|
34221
|
+
Relationships: [];
|
|
34222
|
+
};
|
|
34223
|
+
floriday_log_retention: {
|
|
34224
|
+
Row: {
|
|
34225
|
+
created_at: string;
|
|
34226
|
+
direction: string | null;
|
|
34227
|
+
id: string;
|
|
34228
|
+
keep_failed_days: number | null;
|
|
34229
|
+
keep_ok_days: number | null;
|
|
34230
|
+
note: string | null;
|
|
34231
|
+
resource_type: string | null;
|
|
34232
|
+
updated_at: string;
|
|
34233
|
+
};
|
|
34234
|
+
Insert: {
|
|
34235
|
+
created_at?: string;
|
|
34236
|
+
direction?: string | null;
|
|
34237
|
+
id?: string;
|
|
34238
|
+
keep_failed_days?: number | null;
|
|
34239
|
+
keep_ok_days?: number | null;
|
|
34240
|
+
note?: string | null;
|
|
34241
|
+
resource_type?: string | null;
|
|
34242
|
+
updated_at?: string;
|
|
34243
|
+
};
|
|
34244
|
+
Update: {
|
|
34245
|
+
created_at?: string;
|
|
34246
|
+
direction?: string | null;
|
|
34247
|
+
id?: string;
|
|
34248
|
+
keep_failed_days?: number | null;
|
|
34249
|
+
keep_ok_days?: number | null;
|
|
34250
|
+
note?: string | null;
|
|
34251
|
+
resource_type?: string | null;
|
|
34252
|
+
updated_at?: string;
|
|
34253
|
+
};
|
|
34254
|
+
Relationships: [];
|
|
34255
|
+
};
|
|
33571
34256
|
floriday_logistic_labels_cache: {
|
|
33572
34257
|
Row: {
|
|
33573
34258
|
byte_size: number | null;
|
|
@@ -38107,6 +38792,111 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
38107
38792
|
};
|
|
38108
38793
|
Relationships: [];
|
|
38109
38794
|
};
|
|
38795
|
+
logistics_trace_events: {
|
|
38796
|
+
Row: {
|
|
38797
|
+
actor: string | null;
|
|
38798
|
+
attempts: number;
|
|
38799
|
+
cart_ref: string | null;
|
|
38800
|
+
created_at: string;
|
|
38801
|
+
db_action: string | null;
|
|
38802
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38803
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38804
|
+
db_record: string | null;
|
|
38805
|
+
db_table: string | null;
|
|
38806
|
+
decision: string | null;
|
|
38807
|
+
duration_ms: number | null;
|
|
38808
|
+
error: string | null;
|
|
38809
|
+
external_action: string | null;
|
|
38810
|
+
external_ref: string | null;
|
|
38811
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38812
|
+
external_status: string | null;
|
|
38813
|
+
external_system: string | null;
|
|
38814
|
+
id: string;
|
|
38815
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38816
|
+
next_attempt_at: string | null;
|
|
38817
|
+
order_ref: string | null;
|
|
38818
|
+
order_source: string | null;
|
|
38819
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38820
|
+
phase: string;
|
|
38821
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38822
|
+
reason: string | null;
|
|
38823
|
+
rule: string | null;
|
|
38824
|
+
slip_ref: string | null;
|
|
38825
|
+
status: string;
|
|
38826
|
+
step: string;
|
|
38827
|
+
trace_id: string;
|
|
38828
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38829
|
+
};
|
|
38830
|
+
Insert: {
|
|
38831
|
+
actor?: string | null;
|
|
38832
|
+
attempts?: number;
|
|
38833
|
+
cart_ref?: string | null;
|
|
38834
|
+
created_at?: string;
|
|
38835
|
+
db_action?: string | null;
|
|
38836
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38837
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38838
|
+
db_record?: string | null;
|
|
38839
|
+
db_table?: string | null;
|
|
38840
|
+
decision?: string | null;
|
|
38841
|
+
duration_ms?: number | null;
|
|
38842
|
+
error?: string | null;
|
|
38843
|
+
external_action?: string | null;
|
|
38844
|
+
external_ref?: string | null;
|
|
38845
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38846
|
+
external_status?: string | null;
|
|
38847
|
+
external_system?: string | null;
|
|
38848
|
+
id?: string;
|
|
38849
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38850
|
+
next_attempt_at?: string | null;
|
|
38851
|
+
order_ref?: string | null;
|
|
38852
|
+
order_source?: string | null;
|
|
38853
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38854
|
+
phase: string;
|
|
38855
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38856
|
+
reason?: string | null;
|
|
38857
|
+
rule?: string | null;
|
|
38858
|
+
slip_ref?: string | null;
|
|
38859
|
+
status: string;
|
|
38860
|
+
step: string;
|
|
38861
|
+
trace_id?: string;
|
|
38862
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38863
|
+
};
|
|
38864
|
+
Update: {
|
|
38865
|
+
actor?: string | null;
|
|
38866
|
+
attempts?: number;
|
|
38867
|
+
cart_ref?: string | null;
|
|
38868
|
+
created_at?: string;
|
|
38869
|
+
db_action?: string | null;
|
|
38870
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38871
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38872
|
+
db_record?: string | null;
|
|
38873
|
+
db_table?: string | null;
|
|
38874
|
+
decision?: string | null;
|
|
38875
|
+
duration_ms?: number | null;
|
|
38876
|
+
error?: string | null;
|
|
38877
|
+
external_action?: string | null;
|
|
38878
|
+
external_ref?: string | null;
|
|
38879
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38880
|
+
external_status?: string | null;
|
|
38881
|
+
external_system?: string | null;
|
|
38882
|
+
id?: string;
|
|
38883
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38884
|
+
next_attempt_at?: string | null;
|
|
38885
|
+
order_ref?: string | null;
|
|
38886
|
+
order_source?: string | null;
|
|
38887
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38888
|
+
phase?: string;
|
|
38889
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38890
|
+
reason?: string | null;
|
|
38891
|
+
rule?: string | null;
|
|
38892
|
+
slip_ref?: string | null;
|
|
38893
|
+
status?: string;
|
|
38894
|
+
step?: string;
|
|
38895
|
+
trace_id?: string;
|
|
38896
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38897
|
+
};
|
|
38898
|
+
Relationships: [];
|
|
38899
|
+
};
|
|
38110
38900
|
logistics_variables: {
|
|
38111
38901
|
Row: {
|
|
38112
38902
|
created_at: string;
|
|
@@ -48679,6 +49469,15 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
48679
49469
|
Args: never;
|
|
48680
49470
|
Returns: boolean;
|
|
48681
49471
|
};
|
|
49472
|
+
cancel_open_print_jobs: {
|
|
49473
|
+
Args: {
|
|
49474
|
+
_cutoff: string;
|
|
49475
|
+
};
|
|
49476
|
+
Returns: {
|
|
49477
|
+
extern_job_id: string;
|
|
49478
|
+
id: string;
|
|
49479
|
+
}[];
|
|
49480
|
+
};
|
|
48682
49481
|
check_offer_product_available_stock: {
|
|
48683
49482
|
Args: {
|
|
48684
49483
|
p_campaign_product_id: string;
|
|
@@ -50291,6 +51090,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50291
51090
|
};
|
|
50292
51091
|
Returns: import("../integrations/supabase/types").Json;
|
|
50293
51092
|
};
|
|
51093
|
+
logistics_cart_plan_status_core: {
|
|
51094
|
+
Args: {
|
|
51095
|
+
p_ref: string;
|
|
51096
|
+
};
|
|
51097
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51098
|
+
};
|
|
50294
51099
|
logistics_cart_release_reason: {
|
|
50295
51100
|
Args: {
|
|
50296
51101
|
p_cart_id: string;
|
|
@@ -50723,6 +51528,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50723
51528
|
};
|
|
50724
51529
|
Returns: import("../integrations/supabase/types").Json;
|
|
50725
51530
|
};
|
|
51531
|
+
logistics_ensure_shipping_notes: {
|
|
51532
|
+
Args: {
|
|
51533
|
+
p_limit?: number;
|
|
51534
|
+
};
|
|
51535
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51536
|
+
};
|
|
50726
51537
|
logistics_fail_task: {
|
|
50727
51538
|
Args: {
|
|
50728
51539
|
p_error: string;
|
|
@@ -50768,6 +51579,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50768
51579
|
isSetofReturn: false;
|
|
50769
51580
|
};
|
|
50770
51581
|
};
|
|
51582
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51583
|
+
Args: never;
|
|
51584
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51585
|
+
};
|
|
50771
51586
|
logistics_floriday_cart_plan: {
|
|
50772
51587
|
Args: {
|
|
50773
51588
|
p_order_id: string;
|
|
@@ -50795,6 +51610,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50795
51610
|
revision: number;
|
|
50796
51611
|
}[];
|
|
50797
51612
|
};
|
|
51613
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51614
|
+
Args: never;
|
|
51615
|
+
Returns: boolean;
|
|
51616
|
+
};
|
|
50798
51617
|
logistics_floriday_finish_push: {
|
|
50799
51618
|
Args: {
|
|
50800
51619
|
_error?: string;
|
|
@@ -51038,6 +51857,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51038
51857
|
};
|
|
51039
51858
|
Returns: string;
|
|
51040
51859
|
};
|
|
51860
|
+
logistics_payload_is_floriday: {
|
|
51861
|
+
Args: {
|
|
51862
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51863
|
+
};
|
|
51864
|
+
Returns: boolean;
|
|
51865
|
+
};
|
|
51041
51866
|
logistics_pick_agenda: {
|
|
51042
51867
|
Args: {
|
|
51043
51868
|
p_from?: string;
|
|
@@ -51160,6 +51985,20 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51160
51985
|
Args: never;
|
|
51161
51986
|
Returns: undefined;
|
|
51162
51987
|
};
|
|
51988
|
+
logistics_plan_progress: {
|
|
51989
|
+
Args: {
|
|
51990
|
+
p_refs: string[];
|
|
51991
|
+
};
|
|
51992
|
+
Returns: {
|
|
51993
|
+
cart_plan_ready: boolean;
|
|
51994
|
+
cart_plan_reason: string;
|
|
51995
|
+
cart_plan_released: boolean;
|
|
51996
|
+
plan_progress: number;
|
|
51997
|
+
plan_state: string;
|
|
51998
|
+
plan_state_since: string;
|
|
51999
|
+
unit_ref: string;
|
|
52000
|
+
}[];
|
|
52001
|
+
};
|
|
51163
52002
|
logistics_plan_prune: {
|
|
51164
52003
|
Args: never;
|
|
51165
52004
|
Returns: number;
|
|
@@ -51181,6 +52020,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51181
52020
|
};
|
|
51182
52021
|
Returns: number;
|
|
51183
52022
|
};
|
|
52023
|
+
logistics_plan_state_for: {
|
|
52024
|
+
Args: {
|
|
52025
|
+
p_ref: string;
|
|
52026
|
+
};
|
|
52027
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52028
|
+
};
|
|
51184
52029
|
logistics_prepare_pick_documents: {
|
|
51185
52030
|
Args: {
|
|
51186
52031
|
p_limit?: number;
|
|
@@ -51239,6 +52084,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51239
52084
|
};
|
|
51240
52085
|
Returns: import("../integrations/supabase/types").Json;
|
|
51241
52086
|
};
|
|
52087
|
+
logistics_refresh_plan_state: {
|
|
52088
|
+
Args: {
|
|
52089
|
+
p_limit?: number;
|
|
52090
|
+
};
|
|
52091
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52092
|
+
};
|
|
51242
52093
|
logistics_replan_all: {
|
|
51243
52094
|
Args: {
|
|
51244
52095
|
p_reason?: string;
|
|
@@ -51413,6 +52264,16 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51413
52264
|
};
|
|
51414
52265
|
Returns: string;
|
|
51415
52266
|
};
|
|
52267
|
+
logistics_shipping_notes_wake_all: {
|
|
52268
|
+
Args: never;
|
|
52269
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52270
|
+
};
|
|
52271
|
+
logistics_slip_is_floriday: {
|
|
52272
|
+
Args: {
|
|
52273
|
+
_slip_job_id: string;
|
|
52274
|
+
};
|
|
52275
|
+
Returns: boolean;
|
|
52276
|
+
};
|
|
51416
52277
|
logistics_slip_note_claim: {
|
|
51417
52278
|
Args: {
|
|
51418
52279
|
_lease_seconds?: number;
|
|
@@ -51519,6 +52380,63 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51519
52380
|
name: string;
|
|
51520
52381
|
}[];
|
|
51521
52382
|
};
|
|
52383
|
+
logistics_trace: {
|
|
52384
|
+
Args: {
|
|
52385
|
+
p: import("../integrations/supabase/types").Json;
|
|
52386
|
+
};
|
|
52387
|
+
Returns: string;
|
|
52388
|
+
};
|
|
52389
|
+
logistics_trace_all_orders: {
|
|
52390
|
+
Args: {
|
|
52391
|
+
p_limit?: number;
|
|
52392
|
+
p_search?: string;
|
|
52393
|
+
};
|
|
52394
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52395
|
+
};
|
|
52396
|
+
logistics_trace_batch: {
|
|
52397
|
+
Args: {
|
|
52398
|
+
p: import("../integrations/supabase/types").Json;
|
|
52399
|
+
};
|
|
52400
|
+
Returns: number;
|
|
52401
|
+
};
|
|
52402
|
+
logistics_trace_orders: {
|
|
52403
|
+
Args: {
|
|
52404
|
+
p_limit?: number;
|
|
52405
|
+
p_search?: string;
|
|
52406
|
+
p_since?: string;
|
|
52407
|
+
p_status?: string;
|
|
52408
|
+
};
|
|
52409
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52410
|
+
};
|
|
52411
|
+
logistics_trace_redact: {
|
|
52412
|
+
Args: {
|
|
52413
|
+
p: import("../integrations/supabase/types").Json;
|
|
52414
|
+
};
|
|
52415
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52416
|
+
};
|
|
52417
|
+
logistics_trace_timeline: {
|
|
52418
|
+
Args: {
|
|
52419
|
+
p_limit?: number;
|
|
52420
|
+
p_order_ref: string;
|
|
52421
|
+
};
|
|
52422
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52423
|
+
};
|
|
52424
|
+
logistics_trace_version_events: {
|
|
52425
|
+
Args: {
|
|
52426
|
+
p_from?: string;
|
|
52427
|
+
p_limit?: number;
|
|
52428
|
+
p_order_ref: string;
|
|
52429
|
+
p_to?: string;
|
|
52430
|
+
p_version_id: string;
|
|
52431
|
+
};
|
|
52432
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52433
|
+
};
|
|
52434
|
+
logistics_trace_versions: {
|
|
52435
|
+
Args: {
|
|
52436
|
+
p_order_ref: string;
|
|
52437
|
+
};
|
|
52438
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52439
|
+
};
|
|
51522
52440
|
logistics_upsert_task: {
|
|
51523
52441
|
Args: {
|
|
51524
52442
|
p_buffer_ref: string;
|
|
@@ -52560,6 +53478,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
52560
53478
|
};
|
|
52561
53479
|
Returns: undefined;
|
|
52562
53480
|
};
|
|
53481
|
+
prune_floriday_api_log: {
|
|
53482
|
+
Args: never;
|
|
53483
|
+
Returns: number;
|
|
53484
|
+
};
|
|
52563
53485
|
quote_create_from_source: {
|
|
52564
53486
|
Args: {
|
|
52565
53487
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -53436,6 +54358,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
53436
54358
|
Args: never;
|
|
53437
54359
|
Returns: string;
|
|
53438
54360
|
};
|
|
54361
|
+
voorraad_cleanup_old_rows: {
|
|
54362
|
+
Args: never;
|
|
54363
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54364
|
+
};
|
|
53439
54365
|
wake_print_queue: {
|
|
53440
54366
|
Args: {
|
|
53441
54367
|
_min_interval_ms?: number;
|
|
@@ -55731,6 +56657,45 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
55731
56657
|
};
|
|
55732
56658
|
Relationships: [];
|
|
55733
56659
|
};
|
|
56660
|
+
customer_product_stickers: {
|
|
56661
|
+
Row: {
|
|
56662
|
+
created_at: string;
|
|
56663
|
+
customer_key: string;
|
|
56664
|
+
file_name: string;
|
|
56665
|
+
file_path: string;
|
|
56666
|
+
file_size: number | null;
|
|
56667
|
+
id: string;
|
|
56668
|
+
mime_type: string | null;
|
|
56669
|
+
trade_item_key: string;
|
|
56670
|
+
updated_at: string;
|
|
56671
|
+
uploaded_by: string | null;
|
|
56672
|
+
};
|
|
56673
|
+
Insert: {
|
|
56674
|
+
created_at?: string;
|
|
56675
|
+
customer_key: string;
|
|
56676
|
+
file_name: string;
|
|
56677
|
+
file_path: string;
|
|
56678
|
+
file_size?: number | null;
|
|
56679
|
+
id?: string;
|
|
56680
|
+
mime_type?: string | null;
|
|
56681
|
+
trade_item_key: string;
|
|
56682
|
+
updated_at?: string;
|
|
56683
|
+
uploaded_by?: string | null;
|
|
56684
|
+
};
|
|
56685
|
+
Update: {
|
|
56686
|
+
created_at?: string;
|
|
56687
|
+
customer_key?: string;
|
|
56688
|
+
file_name?: string;
|
|
56689
|
+
file_path?: string;
|
|
56690
|
+
file_size?: number | null;
|
|
56691
|
+
id?: string;
|
|
56692
|
+
mime_type?: string | null;
|
|
56693
|
+
trade_item_key?: string;
|
|
56694
|
+
updated_at?: string;
|
|
56695
|
+
uploaded_by?: string | null;
|
|
56696
|
+
};
|
|
56697
|
+
Relationships: [];
|
|
56698
|
+
};
|
|
55734
56699
|
customer_selected_assortment: {
|
|
55735
56700
|
Row: {
|
|
55736
56701
|
article_number: string | null;
|
|
@@ -55779,6 +56744,30 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
55779
56744
|
referencedColumns: ["id"];
|
|
55780
56745
|
}];
|
|
55781
56746
|
};
|
|
56747
|
+
customer_sticker_settings: {
|
|
56748
|
+
Row: {
|
|
56749
|
+
created_at: string;
|
|
56750
|
+
customer_key: string;
|
|
56751
|
+
height_mm: number;
|
|
56752
|
+
updated_at: string;
|
|
56753
|
+
width_mm: number;
|
|
56754
|
+
};
|
|
56755
|
+
Insert: {
|
|
56756
|
+
created_at?: string;
|
|
56757
|
+
customer_key: string;
|
|
56758
|
+
height_mm?: number;
|
|
56759
|
+
updated_at?: string;
|
|
56760
|
+
width_mm?: number;
|
|
56761
|
+
};
|
|
56762
|
+
Update: {
|
|
56763
|
+
created_at?: string;
|
|
56764
|
+
customer_key?: string;
|
|
56765
|
+
height_mm?: number;
|
|
56766
|
+
updated_at?: string;
|
|
56767
|
+
width_mm?: number;
|
|
56768
|
+
};
|
|
56769
|
+
Relationships: [];
|
|
56770
|
+
};
|
|
55782
56771
|
customer_trade_settings: {
|
|
55783
56772
|
Row: {
|
|
55784
56773
|
category: string;
|
|
@@ -59109,6 +60098,102 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
59109
60098
|
referencedColumns: ["id"];
|
|
59110
60099
|
}];
|
|
59111
60100
|
};
|
|
60101
|
+
floriday_api_log: {
|
|
60102
|
+
Row: {
|
|
60103
|
+
action: string | null;
|
|
60104
|
+
caller: string | null;
|
|
60105
|
+
connection_id: string | null;
|
|
60106
|
+
created_at: string;
|
|
60107
|
+
cursor_from: number | null;
|
|
60108
|
+
direction: string;
|
|
60109
|
+
duration_ms: number | null;
|
|
60110
|
+
environment: string | null;
|
|
60111
|
+
error: string | null;
|
|
60112
|
+
floriday_id: string | null;
|
|
60113
|
+
floriday_reference: string | null;
|
|
60114
|
+
http_status: number;
|
|
60115
|
+
id: string;
|
|
60116
|
+
item_count: number | null;
|
|
60117
|
+
kind: string | null;
|
|
60118
|
+
local_id: string | null;
|
|
60119
|
+
local_reference: string | null;
|
|
60120
|
+
method: string;
|
|
60121
|
+
module: string | null;
|
|
60122
|
+
ok: boolean;
|
|
60123
|
+
path: string;
|
|
60124
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60125
|
+
resource_type: string | null;
|
|
60126
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60127
|
+
write_log_id: string | null;
|
|
60128
|
+
};
|
|
60129
|
+
Insert: {
|
|
60130
|
+
action?: string | null;
|
|
60131
|
+
caller?: string | null;
|
|
60132
|
+
connection_id?: string | null;
|
|
60133
|
+
created_at?: string;
|
|
60134
|
+
cursor_from?: number | null;
|
|
60135
|
+
direction: string;
|
|
60136
|
+
duration_ms?: number | null;
|
|
60137
|
+
environment?: string | null;
|
|
60138
|
+
error?: string | null;
|
|
60139
|
+
floriday_id?: string | null;
|
|
60140
|
+
floriday_reference?: string | null;
|
|
60141
|
+
http_status?: number;
|
|
60142
|
+
id?: string;
|
|
60143
|
+
item_count?: number | null;
|
|
60144
|
+
kind?: string | null;
|
|
60145
|
+
local_id?: string | null;
|
|
60146
|
+
local_reference?: string | null;
|
|
60147
|
+
method: string;
|
|
60148
|
+
module?: string | null;
|
|
60149
|
+
ok?: boolean;
|
|
60150
|
+
path: string;
|
|
60151
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60152
|
+
resource_type?: string | null;
|
|
60153
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60154
|
+
write_log_id?: string | null;
|
|
60155
|
+
};
|
|
60156
|
+
Update: {
|
|
60157
|
+
action?: string | null;
|
|
60158
|
+
caller?: string | null;
|
|
60159
|
+
connection_id?: string | null;
|
|
60160
|
+
created_at?: string;
|
|
60161
|
+
cursor_from?: number | null;
|
|
60162
|
+
direction?: string;
|
|
60163
|
+
duration_ms?: number | null;
|
|
60164
|
+
environment?: string | null;
|
|
60165
|
+
error?: string | null;
|
|
60166
|
+
floriday_id?: string | null;
|
|
60167
|
+
floriday_reference?: string | null;
|
|
60168
|
+
http_status?: number;
|
|
60169
|
+
id?: string;
|
|
60170
|
+
item_count?: number | null;
|
|
60171
|
+
kind?: string | null;
|
|
60172
|
+
local_id?: string | null;
|
|
60173
|
+
local_reference?: string | null;
|
|
60174
|
+
method?: string;
|
|
60175
|
+
module?: string | null;
|
|
60176
|
+
ok?: boolean;
|
|
60177
|
+
path?: string;
|
|
60178
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60179
|
+
resource_type?: string | null;
|
|
60180
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60181
|
+
write_log_id?: string | null;
|
|
60182
|
+
};
|
|
60183
|
+
Relationships: [{
|
|
60184
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60185
|
+
columns: ["connection_id"];
|
|
60186
|
+
isOneToOne: false;
|
|
60187
|
+
referencedRelation: "floriday_connections";
|
|
60188
|
+
referencedColumns: ["id"];
|
|
60189
|
+
}, {
|
|
60190
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60191
|
+
columns: ["write_log_id"];
|
|
60192
|
+
isOneToOne: false;
|
|
60193
|
+
referencedRelation: "floriday_write_log";
|
|
60194
|
+
referencedColumns: ["id"];
|
|
60195
|
+
}];
|
|
60196
|
+
};
|
|
59112
60197
|
floriday_auction_letters_cache: {
|
|
59113
60198
|
Row: {
|
|
59114
60199
|
auction_letter_code: string;
|
|
@@ -60309,6 +61394,69 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
60309
61394
|
referencedColumns: ["id"];
|
|
60310
61395
|
}];
|
|
60311
61396
|
};
|
|
61397
|
+
floriday_link_templates: {
|
|
61398
|
+
Row: {
|
|
61399
|
+
created_at: string;
|
|
61400
|
+
floriday_url_template: string | null;
|
|
61401
|
+
is_active: boolean;
|
|
61402
|
+
label: string;
|
|
61403
|
+
local_url_template: string | null;
|
|
61404
|
+
resource_type: string;
|
|
61405
|
+
updated_at: string;
|
|
61406
|
+
};
|
|
61407
|
+
Insert: {
|
|
61408
|
+
created_at?: string;
|
|
61409
|
+
floriday_url_template?: string | null;
|
|
61410
|
+
is_active?: boolean;
|
|
61411
|
+
label: string;
|
|
61412
|
+
local_url_template?: string | null;
|
|
61413
|
+
resource_type: string;
|
|
61414
|
+
updated_at?: string;
|
|
61415
|
+
};
|
|
61416
|
+
Update: {
|
|
61417
|
+
created_at?: string;
|
|
61418
|
+
floriday_url_template?: string | null;
|
|
61419
|
+
is_active?: boolean;
|
|
61420
|
+
label?: string;
|
|
61421
|
+
local_url_template?: string | null;
|
|
61422
|
+
resource_type?: string;
|
|
61423
|
+
updated_at?: string;
|
|
61424
|
+
};
|
|
61425
|
+
Relationships: [];
|
|
61426
|
+
};
|
|
61427
|
+
floriday_log_retention: {
|
|
61428
|
+
Row: {
|
|
61429
|
+
created_at: string;
|
|
61430
|
+
direction: string | null;
|
|
61431
|
+
id: string;
|
|
61432
|
+
keep_failed_days: number | null;
|
|
61433
|
+
keep_ok_days: number | null;
|
|
61434
|
+
note: string | null;
|
|
61435
|
+
resource_type: string | null;
|
|
61436
|
+
updated_at: string;
|
|
61437
|
+
};
|
|
61438
|
+
Insert: {
|
|
61439
|
+
created_at?: string;
|
|
61440
|
+
direction?: string | null;
|
|
61441
|
+
id?: string;
|
|
61442
|
+
keep_failed_days?: number | null;
|
|
61443
|
+
keep_ok_days?: number | null;
|
|
61444
|
+
note?: string | null;
|
|
61445
|
+
resource_type?: string | null;
|
|
61446
|
+
updated_at?: string;
|
|
61447
|
+
};
|
|
61448
|
+
Update: {
|
|
61449
|
+
created_at?: string;
|
|
61450
|
+
direction?: string | null;
|
|
61451
|
+
id?: string;
|
|
61452
|
+
keep_failed_days?: number | null;
|
|
61453
|
+
keep_ok_days?: number | null;
|
|
61454
|
+
note?: string | null;
|
|
61455
|
+
resource_type?: string | null;
|
|
61456
|
+
updated_at?: string;
|
|
61457
|
+
};
|
|
61458
|
+
Relationships: [];
|
|
61459
|
+
};
|
|
60312
61460
|
floriday_logistic_labels_cache: {
|
|
60313
61461
|
Row: {
|
|
60314
61462
|
byte_size: number | null;
|
|
@@ -64848,6 +65996,111 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
64848
65996
|
};
|
|
64849
65997
|
Relationships: [];
|
|
64850
65998
|
};
|
|
65999
|
+
logistics_trace_events: {
|
|
66000
|
+
Row: {
|
|
66001
|
+
actor: string | null;
|
|
66002
|
+
attempts: number;
|
|
66003
|
+
cart_ref: string | null;
|
|
66004
|
+
created_at: string;
|
|
66005
|
+
db_action: string | null;
|
|
66006
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
66007
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
66008
|
+
db_record: string | null;
|
|
66009
|
+
db_table: string | null;
|
|
66010
|
+
decision: string | null;
|
|
66011
|
+
duration_ms: number | null;
|
|
66012
|
+
error: string | null;
|
|
66013
|
+
external_action: string | null;
|
|
66014
|
+
external_ref: string | null;
|
|
66015
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
66016
|
+
external_status: string | null;
|
|
66017
|
+
external_system: string | null;
|
|
66018
|
+
id: string;
|
|
66019
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
66020
|
+
next_attempt_at: string | null;
|
|
66021
|
+
order_ref: string | null;
|
|
66022
|
+
order_source: string | null;
|
|
66023
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
66024
|
+
phase: string;
|
|
66025
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
66026
|
+
reason: string | null;
|
|
66027
|
+
rule: string | null;
|
|
66028
|
+
slip_ref: string | null;
|
|
66029
|
+
status: string;
|
|
66030
|
+
step: string;
|
|
66031
|
+
trace_id: string;
|
|
66032
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
66033
|
+
};
|
|
66034
|
+
Insert: {
|
|
66035
|
+
actor?: string | null;
|
|
66036
|
+
attempts?: number;
|
|
66037
|
+
cart_ref?: string | null;
|
|
66038
|
+
created_at?: string;
|
|
66039
|
+
db_action?: string | null;
|
|
66040
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66041
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66042
|
+
db_record?: string | null;
|
|
66043
|
+
db_table?: string | null;
|
|
66044
|
+
decision?: string | null;
|
|
66045
|
+
duration_ms?: number | null;
|
|
66046
|
+
error?: string | null;
|
|
66047
|
+
external_action?: string | null;
|
|
66048
|
+
external_ref?: string | null;
|
|
66049
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66050
|
+
external_status?: string | null;
|
|
66051
|
+
external_system?: string | null;
|
|
66052
|
+
id?: string;
|
|
66053
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66054
|
+
next_attempt_at?: string | null;
|
|
66055
|
+
order_ref?: string | null;
|
|
66056
|
+
order_source?: string | null;
|
|
66057
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66058
|
+
phase: string;
|
|
66059
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66060
|
+
reason?: string | null;
|
|
66061
|
+
rule?: string | null;
|
|
66062
|
+
slip_ref?: string | null;
|
|
66063
|
+
status: string;
|
|
66064
|
+
step: string;
|
|
66065
|
+
trace_id?: string;
|
|
66066
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66067
|
+
};
|
|
66068
|
+
Update: {
|
|
66069
|
+
actor?: string | null;
|
|
66070
|
+
attempts?: number;
|
|
66071
|
+
cart_ref?: string | null;
|
|
66072
|
+
created_at?: string;
|
|
66073
|
+
db_action?: string | null;
|
|
66074
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66075
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66076
|
+
db_record?: string | null;
|
|
66077
|
+
db_table?: string | null;
|
|
66078
|
+
decision?: string | null;
|
|
66079
|
+
duration_ms?: number | null;
|
|
66080
|
+
error?: string | null;
|
|
66081
|
+
external_action?: string | null;
|
|
66082
|
+
external_ref?: string | null;
|
|
66083
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66084
|
+
external_status?: string | null;
|
|
66085
|
+
external_system?: string | null;
|
|
66086
|
+
id?: string;
|
|
66087
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66088
|
+
next_attempt_at?: string | null;
|
|
66089
|
+
order_ref?: string | null;
|
|
66090
|
+
order_source?: string | null;
|
|
66091
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66092
|
+
phase?: string;
|
|
66093
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66094
|
+
reason?: string | null;
|
|
66095
|
+
rule?: string | null;
|
|
66096
|
+
slip_ref?: string | null;
|
|
66097
|
+
status?: string;
|
|
66098
|
+
step?: string;
|
|
66099
|
+
trace_id?: string;
|
|
66100
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66101
|
+
};
|
|
66102
|
+
Relationships: [];
|
|
66103
|
+
};
|
|
64851
66104
|
logistics_variables: {
|
|
64852
66105
|
Row: {
|
|
64853
66106
|
created_at: string;
|
|
@@ -75420,6 +76673,15 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75420
76673
|
Args: never;
|
|
75421
76674
|
Returns: boolean;
|
|
75422
76675
|
};
|
|
76676
|
+
cancel_open_print_jobs: {
|
|
76677
|
+
Args: {
|
|
76678
|
+
_cutoff: string;
|
|
76679
|
+
};
|
|
76680
|
+
Returns: {
|
|
76681
|
+
extern_job_id: string;
|
|
76682
|
+
id: string;
|
|
76683
|
+
}[];
|
|
76684
|
+
};
|
|
75423
76685
|
check_offer_product_available_stock: {
|
|
75424
76686
|
Args: {
|
|
75425
76687
|
p_campaign_product_id: string;
|
|
@@ -77032,6 +78294,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77032
78294
|
};
|
|
77033
78295
|
Returns: import("../integrations/supabase/types").Json;
|
|
77034
78296
|
};
|
|
78297
|
+
logistics_cart_plan_status_core: {
|
|
78298
|
+
Args: {
|
|
78299
|
+
p_ref: string;
|
|
78300
|
+
};
|
|
78301
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78302
|
+
};
|
|
77035
78303
|
logistics_cart_release_reason: {
|
|
77036
78304
|
Args: {
|
|
77037
78305
|
p_cart_id: string;
|
|
@@ -77464,6 +78732,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77464
78732
|
};
|
|
77465
78733
|
Returns: import("../integrations/supabase/types").Json;
|
|
77466
78734
|
};
|
|
78735
|
+
logistics_ensure_shipping_notes: {
|
|
78736
|
+
Args: {
|
|
78737
|
+
p_limit?: number;
|
|
78738
|
+
};
|
|
78739
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78740
|
+
};
|
|
77467
78741
|
logistics_fail_task: {
|
|
77468
78742
|
Args: {
|
|
77469
78743
|
p_error: string;
|
|
@@ -77509,6 +78783,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77509
78783
|
isSetofReturn: false;
|
|
77510
78784
|
};
|
|
77511
78785
|
};
|
|
78786
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78787
|
+
Args: never;
|
|
78788
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78789
|
+
};
|
|
77512
78790
|
logistics_floriday_cart_plan: {
|
|
77513
78791
|
Args: {
|
|
77514
78792
|
p_order_id: string;
|
|
@@ -77536,6 +78814,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77536
78814
|
revision: number;
|
|
77537
78815
|
}[];
|
|
77538
78816
|
};
|
|
78817
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78818
|
+
Args: never;
|
|
78819
|
+
Returns: boolean;
|
|
78820
|
+
};
|
|
77539
78821
|
logistics_floriday_finish_push: {
|
|
77540
78822
|
Args: {
|
|
77541
78823
|
_error?: string;
|
|
@@ -77779,6 +79061,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77779
79061
|
};
|
|
77780
79062
|
Returns: string;
|
|
77781
79063
|
};
|
|
79064
|
+
logistics_payload_is_floriday: {
|
|
79065
|
+
Args: {
|
|
79066
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79067
|
+
};
|
|
79068
|
+
Returns: boolean;
|
|
79069
|
+
};
|
|
77782
79070
|
logistics_pick_agenda: {
|
|
77783
79071
|
Args: {
|
|
77784
79072
|
p_from?: string;
|
|
@@ -77901,6 +79189,20 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77901
79189
|
Args: never;
|
|
77902
79190
|
Returns: undefined;
|
|
77903
79191
|
};
|
|
79192
|
+
logistics_plan_progress: {
|
|
79193
|
+
Args: {
|
|
79194
|
+
p_refs: string[];
|
|
79195
|
+
};
|
|
79196
|
+
Returns: {
|
|
79197
|
+
cart_plan_ready: boolean;
|
|
79198
|
+
cart_plan_reason: string;
|
|
79199
|
+
cart_plan_released: boolean;
|
|
79200
|
+
plan_progress: number;
|
|
79201
|
+
plan_state: string;
|
|
79202
|
+
plan_state_since: string;
|
|
79203
|
+
unit_ref: string;
|
|
79204
|
+
}[];
|
|
79205
|
+
};
|
|
77904
79206
|
logistics_plan_prune: {
|
|
77905
79207
|
Args: never;
|
|
77906
79208
|
Returns: number;
|
|
@@ -77922,6 +79224,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77922
79224
|
};
|
|
77923
79225
|
Returns: number;
|
|
77924
79226
|
};
|
|
79227
|
+
logistics_plan_state_for: {
|
|
79228
|
+
Args: {
|
|
79229
|
+
p_ref: string;
|
|
79230
|
+
};
|
|
79231
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79232
|
+
};
|
|
77925
79233
|
logistics_prepare_pick_documents: {
|
|
77926
79234
|
Args: {
|
|
77927
79235
|
p_limit?: number;
|
|
@@ -77980,6 +79288,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77980
79288
|
};
|
|
77981
79289
|
Returns: import("../integrations/supabase/types").Json;
|
|
77982
79290
|
};
|
|
79291
|
+
logistics_refresh_plan_state: {
|
|
79292
|
+
Args: {
|
|
79293
|
+
p_limit?: number;
|
|
79294
|
+
};
|
|
79295
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79296
|
+
};
|
|
77983
79297
|
logistics_replan_all: {
|
|
77984
79298
|
Args: {
|
|
77985
79299
|
p_reason?: string;
|
|
@@ -78154,6 +79468,16 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
78154
79468
|
};
|
|
78155
79469
|
Returns: string;
|
|
78156
79470
|
};
|
|
79471
|
+
logistics_shipping_notes_wake_all: {
|
|
79472
|
+
Args: never;
|
|
79473
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79474
|
+
};
|
|
79475
|
+
logistics_slip_is_floriday: {
|
|
79476
|
+
Args: {
|
|
79477
|
+
_slip_job_id: string;
|
|
79478
|
+
};
|
|
79479
|
+
Returns: boolean;
|
|
79480
|
+
};
|
|
78157
79481
|
logistics_slip_note_claim: {
|
|
78158
79482
|
Args: {
|
|
78159
79483
|
_lease_seconds?: number;
|
|
@@ -78260,6 +79584,63 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
78260
79584
|
name: string;
|
|
78261
79585
|
}[];
|
|
78262
79586
|
};
|
|
79587
|
+
logistics_trace: {
|
|
79588
|
+
Args: {
|
|
79589
|
+
p: import("../integrations/supabase/types").Json;
|
|
79590
|
+
};
|
|
79591
|
+
Returns: string;
|
|
79592
|
+
};
|
|
79593
|
+
logistics_trace_all_orders: {
|
|
79594
|
+
Args: {
|
|
79595
|
+
p_limit?: number;
|
|
79596
|
+
p_search?: string;
|
|
79597
|
+
};
|
|
79598
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79599
|
+
};
|
|
79600
|
+
logistics_trace_batch: {
|
|
79601
|
+
Args: {
|
|
79602
|
+
p: import("../integrations/supabase/types").Json;
|
|
79603
|
+
};
|
|
79604
|
+
Returns: number;
|
|
79605
|
+
};
|
|
79606
|
+
logistics_trace_orders: {
|
|
79607
|
+
Args: {
|
|
79608
|
+
p_limit?: number;
|
|
79609
|
+
p_search?: string;
|
|
79610
|
+
p_since?: string;
|
|
79611
|
+
p_status?: string;
|
|
79612
|
+
};
|
|
79613
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79614
|
+
};
|
|
79615
|
+
logistics_trace_redact: {
|
|
79616
|
+
Args: {
|
|
79617
|
+
p: import("../integrations/supabase/types").Json;
|
|
79618
|
+
};
|
|
79619
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79620
|
+
};
|
|
79621
|
+
logistics_trace_timeline: {
|
|
79622
|
+
Args: {
|
|
79623
|
+
p_limit?: number;
|
|
79624
|
+
p_order_ref: string;
|
|
79625
|
+
};
|
|
79626
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79627
|
+
};
|
|
79628
|
+
logistics_trace_version_events: {
|
|
79629
|
+
Args: {
|
|
79630
|
+
p_from?: string;
|
|
79631
|
+
p_limit?: number;
|
|
79632
|
+
p_order_ref: string;
|
|
79633
|
+
p_to?: string;
|
|
79634
|
+
p_version_id: string;
|
|
79635
|
+
};
|
|
79636
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79637
|
+
};
|
|
79638
|
+
logistics_trace_versions: {
|
|
79639
|
+
Args: {
|
|
79640
|
+
p_order_ref: string;
|
|
79641
|
+
};
|
|
79642
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79643
|
+
};
|
|
78263
79644
|
logistics_upsert_task: {
|
|
78264
79645
|
Args: {
|
|
78265
79646
|
p_buffer_ref: string;
|
|
@@ -79301,6 +80682,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
79301
80682
|
};
|
|
79302
80683
|
Returns: undefined;
|
|
79303
80684
|
};
|
|
80685
|
+
prune_floriday_api_log: {
|
|
80686
|
+
Args: never;
|
|
80687
|
+
Returns: number;
|
|
80688
|
+
};
|
|
79304
80689
|
quote_create_from_source: {
|
|
79305
80690
|
Args: {
|
|
79306
80691
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -80177,6 +81562,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
80177
81562
|
Args: never;
|
|
80178
81563
|
Returns: string;
|
|
80179
81564
|
};
|
|
81565
|
+
voorraad_cleanup_old_rows: {
|
|
81566
|
+
Args: never;
|
|
81567
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81568
|
+
};
|
|
80180
81569
|
wake_print_queue: {
|
|
80181
81570
|
Args: {
|
|
80182
81571
|
_min_interval_ms?: number;
|
|
@@ -82472,6 +83861,45 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
82472
83861
|
};
|
|
82473
83862
|
Relationships: [];
|
|
82474
83863
|
};
|
|
83864
|
+
customer_product_stickers: {
|
|
83865
|
+
Row: {
|
|
83866
|
+
created_at: string;
|
|
83867
|
+
customer_key: string;
|
|
83868
|
+
file_name: string;
|
|
83869
|
+
file_path: string;
|
|
83870
|
+
file_size: number | null;
|
|
83871
|
+
id: string;
|
|
83872
|
+
mime_type: string | null;
|
|
83873
|
+
trade_item_key: string;
|
|
83874
|
+
updated_at: string;
|
|
83875
|
+
uploaded_by: string | null;
|
|
83876
|
+
};
|
|
83877
|
+
Insert: {
|
|
83878
|
+
created_at?: string;
|
|
83879
|
+
customer_key: string;
|
|
83880
|
+
file_name: string;
|
|
83881
|
+
file_path: string;
|
|
83882
|
+
file_size?: number | null;
|
|
83883
|
+
id?: string;
|
|
83884
|
+
mime_type?: string | null;
|
|
83885
|
+
trade_item_key: string;
|
|
83886
|
+
updated_at?: string;
|
|
83887
|
+
uploaded_by?: string | null;
|
|
83888
|
+
};
|
|
83889
|
+
Update: {
|
|
83890
|
+
created_at?: string;
|
|
83891
|
+
customer_key?: string;
|
|
83892
|
+
file_name?: string;
|
|
83893
|
+
file_path?: string;
|
|
83894
|
+
file_size?: number | null;
|
|
83895
|
+
id?: string;
|
|
83896
|
+
mime_type?: string | null;
|
|
83897
|
+
trade_item_key?: string;
|
|
83898
|
+
updated_at?: string;
|
|
83899
|
+
uploaded_by?: string | null;
|
|
83900
|
+
};
|
|
83901
|
+
Relationships: [];
|
|
83902
|
+
};
|
|
82475
83903
|
customer_selected_assortment: {
|
|
82476
83904
|
Row: {
|
|
82477
83905
|
article_number: string | null;
|
|
@@ -82520,6 +83948,30 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
82520
83948
|
referencedColumns: ["id"];
|
|
82521
83949
|
}];
|
|
82522
83950
|
};
|
|
83951
|
+
customer_sticker_settings: {
|
|
83952
|
+
Row: {
|
|
83953
|
+
created_at: string;
|
|
83954
|
+
customer_key: string;
|
|
83955
|
+
height_mm: number;
|
|
83956
|
+
updated_at: string;
|
|
83957
|
+
width_mm: number;
|
|
83958
|
+
};
|
|
83959
|
+
Insert: {
|
|
83960
|
+
created_at?: string;
|
|
83961
|
+
customer_key: string;
|
|
83962
|
+
height_mm?: number;
|
|
83963
|
+
updated_at?: string;
|
|
83964
|
+
width_mm?: number;
|
|
83965
|
+
};
|
|
83966
|
+
Update: {
|
|
83967
|
+
created_at?: string;
|
|
83968
|
+
customer_key?: string;
|
|
83969
|
+
height_mm?: number;
|
|
83970
|
+
updated_at?: string;
|
|
83971
|
+
width_mm?: number;
|
|
83972
|
+
};
|
|
83973
|
+
Relationships: [];
|
|
83974
|
+
};
|
|
82523
83975
|
customer_trade_settings: {
|
|
82524
83976
|
Row: {
|
|
82525
83977
|
category: string;
|
|
@@ -85850,6 +87302,102 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
85850
87302
|
referencedColumns: ["id"];
|
|
85851
87303
|
}];
|
|
85852
87304
|
};
|
|
87305
|
+
floriday_api_log: {
|
|
87306
|
+
Row: {
|
|
87307
|
+
action: string | null;
|
|
87308
|
+
caller: string | null;
|
|
87309
|
+
connection_id: string | null;
|
|
87310
|
+
created_at: string;
|
|
87311
|
+
cursor_from: number | null;
|
|
87312
|
+
direction: string;
|
|
87313
|
+
duration_ms: number | null;
|
|
87314
|
+
environment: string | null;
|
|
87315
|
+
error: string | null;
|
|
87316
|
+
floriday_id: string | null;
|
|
87317
|
+
floriday_reference: string | null;
|
|
87318
|
+
http_status: number;
|
|
87319
|
+
id: string;
|
|
87320
|
+
item_count: number | null;
|
|
87321
|
+
kind: string | null;
|
|
87322
|
+
local_id: string | null;
|
|
87323
|
+
local_reference: string | null;
|
|
87324
|
+
method: string;
|
|
87325
|
+
module: string | null;
|
|
87326
|
+
ok: boolean;
|
|
87327
|
+
path: string;
|
|
87328
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
87329
|
+
resource_type: string | null;
|
|
87330
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
87331
|
+
write_log_id: string | null;
|
|
87332
|
+
};
|
|
87333
|
+
Insert: {
|
|
87334
|
+
action?: string | null;
|
|
87335
|
+
caller?: string | null;
|
|
87336
|
+
connection_id?: string | null;
|
|
87337
|
+
created_at?: string;
|
|
87338
|
+
cursor_from?: number | null;
|
|
87339
|
+
direction: string;
|
|
87340
|
+
duration_ms?: number | null;
|
|
87341
|
+
environment?: string | null;
|
|
87342
|
+
error?: string | null;
|
|
87343
|
+
floriday_id?: string | null;
|
|
87344
|
+
floriday_reference?: string | null;
|
|
87345
|
+
http_status?: number;
|
|
87346
|
+
id?: string;
|
|
87347
|
+
item_count?: number | null;
|
|
87348
|
+
kind?: string | null;
|
|
87349
|
+
local_id?: string | null;
|
|
87350
|
+
local_reference?: string | null;
|
|
87351
|
+
method: string;
|
|
87352
|
+
module?: string | null;
|
|
87353
|
+
ok?: boolean;
|
|
87354
|
+
path: string;
|
|
87355
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87356
|
+
resource_type?: string | null;
|
|
87357
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87358
|
+
write_log_id?: string | null;
|
|
87359
|
+
};
|
|
87360
|
+
Update: {
|
|
87361
|
+
action?: string | null;
|
|
87362
|
+
caller?: string | null;
|
|
87363
|
+
connection_id?: string | null;
|
|
87364
|
+
created_at?: string;
|
|
87365
|
+
cursor_from?: number | null;
|
|
87366
|
+
direction?: string;
|
|
87367
|
+
duration_ms?: number | null;
|
|
87368
|
+
environment?: string | null;
|
|
87369
|
+
error?: string | null;
|
|
87370
|
+
floriday_id?: string | null;
|
|
87371
|
+
floriday_reference?: string | null;
|
|
87372
|
+
http_status?: number;
|
|
87373
|
+
id?: string;
|
|
87374
|
+
item_count?: number | null;
|
|
87375
|
+
kind?: string | null;
|
|
87376
|
+
local_id?: string | null;
|
|
87377
|
+
local_reference?: string | null;
|
|
87378
|
+
method?: string;
|
|
87379
|
+
module?: string | null;
|
|
87380
|
+
ok?: boolean;
|
|
87381
|
+
path?: string;
|
|
87382
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87383
|
+
resource_type?: string | null;
|
|
87384
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87385
|
+
write_log_id?: string | null;
|
|
87386
|
+
};
|
|
87387
|
+
Relationships: [{
|
|
87388
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
87389
|
+
columns: ["connection_id"];
|
|
87390
|
+
isOneToOne: false;
|
|
87391
|
+
referencedRelation: "floriday_connections";
|
|
87392
|
+
referencedColumns: ["id"];
|
|
87393
|
+
}, {
|
|
87394
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
87395
|
+
columns: ["write_log_id"];
|
|
87396
|
+
isOneToOne: false;
|
|
87397
|
+
referencedRelation: "floriday_write_log";
|
|
87398
|
+
referencedColumns: ["id"];
|
|
87399
|
+
}];
|
|
87400
|
+
};
|
|
85853
87401
|
floriday_auction_letters_cache: {
|
|
85854
87402
|
Row: {
|
|
85855
87403
|
auction_letter_code: string;
|
|
@@ -87050,6 +88598,69 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
87050
88598
|
referencedColumns: ["id"];
|
|
87051
88599
|
}];
|
|
87052
88600
|
};
|
|
88601
|
+
floriday_link_templates: {
|
|
88602
|
+
Row: {
|
|
88603
|
+
created_at: string;
|
|
88604
|
+
floriday_url_template: string | null;
|
|
88605
|
+
is_active: boolean;
|
|
88606
|
+
label: string;
|
|
88607
|
+
local_url_template: string | null;
|
|
88608
|
+
resource_type: string;
|
|
88609
|
+
updated_at: string;
|
|
88610
|
+
};
|
|
88611
|
+
Insert: {
|
|
88612
|
+
created_at?: string;
|
|
88613
|
+
floriday_url_template?: string | null;
|
|
88614
|
+
is_active?: boolean;
|
|
88615
|
+
label: string;
|
|
88616
|
+
local_url_template?: string | null;
|
|
88617
|
+
resource_type: string;
|
|
88618
|
+
updated_at?: string;
|
|
88619
|
+
};
|
|
88620
|
+
Update: {
|
|
88621
|
+
created_at?: string;
|
|
88622
|
+
floriday_url_template?: string | null;
|
|
88623
|
+
is_active?: boolean;
|
|
88624
|
+
label?: string;
|
|
88625
|
+
local_url_template?: string | null;
|
|
88626
|
+
resource_type?: string;
|
|
88627
|
+
updated_at?: string;
|
|
88628
|
+
};
|
|
88629
|
+
Relationships: [];
|
|
88630
|
+
};
|
|
88631
|
+
floriday_log_retention: {
|
|
88632
|
+
Row: {
|
|
88633
|
+
created_at: string;
|
|
88634
|
+
direction: string | null;
|
|
88635
|
+
id: string;
|
|
88636
|
+
keep_failed_days: number | null;
|
|
88637
|
+
keep_ok_days: number | null;
|
|
88638
|
+
note: string | null;
|
|
88639
|
+
resource_type: string | null;
|
|
88640
|
+
updated_at: string;
|
|
88641
|
+
};
|
|
88642
|
+
Insert: {
|
|
88643
|
+
created_at?: string;
|
|
88644
|
+
direction?: string | null;
|
|
88645
|
+
id?: string;
|
|
88646
|
+
keep_failed_days?: number | null;
|
|
88647
|
+
keep_ok_days?: number | null;
|
|
88648
|
+
note?: string | null;
|
|
88649
|
+
resource_type?: string | null;
|
|
88650
|
+
updated_at?: string;
|
|
88651
|
+
};
|
|
88652
|
+
Update: {
|
|
88653
|
+
created_at?: string;
|
|
88654
|
+
direction?: string | null;
|
|
88655
|
+
id?: string;
|
|
88656
|
+
keep_failed_days?: number | null;
|
|
88657
|
+
keep_ok_days?: number | null;
|
|
88658
|
+
note?: string | null;
|
|
88659
|
+
resource_type?: string | null;
|
|
88660
|
+
updated_at?: string;
|
|
88661
|
+
};
|
|
88662
|
+
Relationships: [];
|
|
88663
|
+
};
|
|
87053
88664
|
floriday_logistic_labels_cache: {
|
|
87054
88665
|
Row: {
|
|
87055
88666
|
byte_size: number | null;
|
|
@@ -91589,6 +93200,111 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
91589
93200
|
};
|
|
91590
93201
|
Relationships: [];
|
|
91591
93202
|
};
|
|
93203
|
+
logistics_trace_events: {
|
|
93204
|
+
Row: {
|
|
93205
|
+
actor: string | null;
|
|
93206
|
+
attempts: number;
|
|
93207
|
+
cart_ref: string | null;
|
|
93208
|
+
created_at: string;
|
|
93209
|
+
db_action: string | null;
|
|
93210
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
93211
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
93212
|
+
db_record: string | null;
|
|
93213
|
+
db_table: string | null;
|
|
93214
|
+
decision: string | null;
|
|
93215
|
+
duration_ms: number | null;
|
|
93216
|
+
error: string | null;
|
|
93217
|
+
external_action: string | null;
|
|
93218
|
+
external_ref: string | null;
|
|
93219
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
93220
|
+
external_status: string | null;
|
|
93221
|
+
external_system: string | null;
|
|
93222
|
+
id: string;
|
|
93223
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
93224
|
+
next_attempt_at: string | null;
|
|
93225
|
+
order_ref: string | null;
|
|
93226
|
+
order_source: string | null;
|
|
93227
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
93228
|
+
phase: string;
|
|
93229
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
93230
|
+
reason: string | null;
|
|
93231
|
+
rule: string | null;
|
|
93232
|
+
slip_ref: string | null;
|
|
93233
|
+
status: string;
|
|
93234
|
+
step: string;
|
|
93235
|
+
trace_id: string;
|
|
93236
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
93237
|
+
};
|
|
93238
|
+
Insert: {
|
|
93239
|
+
actor?: string | null;
|
|
93240
|
+
attempts?: number;
|
|
93241
|
+
cart_ref?: string | null;
|
|
93242
|
+
created_at?: string;
|
|
93243
|
+
db_action?: string | null;
|
|
93244
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93245
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93246
|
+
db_record?: string | null;
|
|
93247
|
+
db_table?: string | null;
|
|
93248
|
+
decision?: string | null;
|
|
93249
|
+
duration_ms?: number | null;
|
|
93250
|
+
error?: string | null;
|
|
93251
|
+
external_action?: string | null;
|
|
93252
|
+
external_ref?: string | null;
|
|
93253
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93254
|
+
external_status?: string | null;
|
|
93255
|
+
external_system?: string | null;
|
|
93256
|
+
id?: string;
|
|
93257
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93258
|
+
next_attempt_at?: string | null;
|
|
93259
|
+
order_ref?: string | null;
|
|
93260
|
+
order_source?: string | null;
|
|
93261
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93262
|
+
phase: string;
|
|
93263
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93264
|
+
reason?: string | null;
|
|
93265
|
+
rule?: string | null;
|
|
93266
|
+
slip_ref?: string | null;
|
|
93267
|
+
status: string;
|
|
93268
|
+
step: string;
|
|
93269
|
+
trace_id?: string;
|
|
93270
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93271
|
+
};
|
|
93272
|
+
Update: {
|
|
93273
|
+
actor?: string | null;
|
|
93274
|
+
attempts?: number;
|
|
93275
|
+
cart_ref?: string | null;
|
|
93276
|
+
created_at?: string;
|
|
93277
|
+
db_action?: string | null;
|
|
93278
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93279
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93280
|
+
db_record?: string | null;
|
|
93281
|
+
db_table?: string | null;
|
|
93282
|
+
decision?: string | null;
|
|
93283
|
+
duration_ms?: number | null;
|
|
93284
|
+
error?: string | null;
|
|
93285
|
+
external_action?: string | null;
|
|
93286
|
+
external_ref?: string | null;
|
|
93287
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93288
|
+
external_status?: string | null;
|
|
93289
|
+
external_system?: string | null;
|
|
93290
|
+
id?: string;
|
|
93291
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93292
|
+
next_attempt_at?: string | null;
|
|
93293
|
+
order_ref?: string | null;
|
|
93294
|
+
order_source?: string | null;
|
|
93295
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93296
|
+
phase?: string;
|
|
93297
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93298
|
+
reason?: string | null;
|
|
93299
|
+
rule?: string | null;
|
|
93300
|
+
slip_ref?: string | null;
|
|
93301
|
+
status?: string;
|
|
93302
|
+
step?: string;
|
|
93303
|
+
trace_id?: string;
|
|
93304
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93305
|
+
};
|
|
93306
|
+
Relationships: [];
|
|
93307
|
+
};
|
|
91592
93308
|
logistics_variables: {
|
|
91593
93309
|
Row: {
|
|
91594
93310
|
created_at: string;
|
|
@@ -102161,6 +103877,15 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102161
103877
|
Args: never;
|
|
102162
103878
|
Returns: boolean;
|
|
102163
103879
|
};
|
|
103880
|
+
cancel_open_print_jobs: {
|
|
103881
|
+
Args: {
|
|
103882
|
+
_cutoff: string;
|
|
103883
|
+
};
|
|
103884
|
+
Returns: {
|
|
103885
|
+
extern_job_id: string;
|
|
103886
|
+
id: string;
|
|
103887
|
+
}[];
|
|
103888
|
+
};
|
|
102164
103889
|
check_offer_product_available_stock: {
|
|
102165
103890
|
Args: {
|
|
102166
103891
|
p_campaign_product_id: string;
|
|
@@ -103773,6 +105498,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
103773
105498
|
};
|
|
103774
105499
|
Returns: import("../integrations/supabase/types").Json;
|
|
103775
105500
|
};
|
|
105501
|
+
logistics_cart_plan_status_core: {
|
|
105502
|
+
Args: {
|
|
105503
|
+
p_ref: string;
|
|
105504
|
+
};
|
|
105505
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105506
|
+
};
|
|
103776
105507
|
logistics_cart_release_reason: {
|
|
103777
105508
|
Args: {
|
|
103778
105509
|
p_cart_id: string;
|
|
@@ -104205,6 +105936,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104205
105936
|
};
|
|
104206
105937
|
Returns: import("../integrations/supabase/types").Json;
|
|
104207
105938
|
};
|
|
105939
|
+
logistics_ensure_shipping_notes: {
|
|
105940
|
+
Args: {
|
|
105941
|
+
p_limit?: number;
|
|
105942
|
+
};
|
|
105943
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105944
|
+
};
|
|
104208
105945
|
logistics_fail_task: {
|
|
104209
105946
|
Args: {
|
|
104210
105947
|
p_error: string;
|
|
@@ -104250,6 +105987,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104250
105987
|
isSetofReturn: false;
|
|
104251
105988
|
};
|
|
104252
105989
|
};
|
|
105990
|
+
logistics_fix_wrong_shipping_notes: {
|
|
105991
|
+
Args: never;
|
|
105992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105993
|
+
};
|
|
104253
105994
|
logistics_floriday_cart_plan: {
|
|
104254
105995
|
Args: {
|
|
104255
105996
|
p_order_id: string;
|
|
@@ -104277,6 +106018,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104277
106018
|
revision: number;
|
|
104278
106019
|
}[];
|
|
104279
106020
|
};
|
|
106021
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
106022
|
+
Args: never;
|
|
106023
|
+
Returns: boolean;
|
|
106024
|
+
};
|
|
104280
106025
|
logistics_floriday_finish_push: {
|
|
104281
106026
|
Args: {
|
|
104282
106027
|
_error?: string;
|
|
@@ -104520,6 +106265,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104520
106265
|
};
|
|
104521
106266
|
Returns: string;
|
|
104522
106267
|
};
|
|
106268
|
+
logistics_payload_is_floriday: {
|
|
106269
|
+
Args: {
|
|
106270
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
106271
|
+
};
|
|
106272
|
+
Returns: boolean;
|
|
106273
|
+
};
|
|
104523
106274
|
logistics_pick_agenda: {
|
|
104524
106275
|
Args: {
|
|
104525
106276
|
p_from?: string;
|
|
@@ -104642,6 +106393,20 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104642
106393
|
Args: never;
|
|
104643
106394
|
Returns: undefined;
|
|
104644
106395
|
};
|
|
106396
|
+
logistics_plan_progress: {
|
|
106397
|
+
Args: {
|
|
106398
|
+
p_refs: string[];
|
|
106399
|
+
};
|
|
106400
|
+
Returns: {
|
|
106401
|
+
cart_plan_ready: boolean;
|
|
106402
|
+
cart_plan_reason: string;
|
|
106403
|
+
cart_plan_released: boolean;
|
|
106404
|
+
plan_progress: number;
|
|
106405
|
+
plan_state: string;
|
|
106406
|
+
plan_state_since: string;
|
|
106407
|
+
unit_ref: string;
|
|
106408
|
+
}[];
|
|
106409
|
+
};
|
|
104645
106410
|
logistics_plan_prune: {
|
|
104646
106411
|
Args: never;
|
|
104647
106412
|
Returns: number;
|
|
@@ -104663,6 +106428,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104663
106428
|
};
|
|
104664
106429
|
Returns: number;
|
|
104665
106430
|
};
|
|
106431
|
+
logistics_plan_state_for: {
|
|
106432
|
+
Args: {
|
|
106433
|
+
p_ref: string;
|
|
106434
|
+
};
|
|
106435
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106436
|
+
};
|
|
104666
106437
|
logistics_prepare_pick_documents: {
|
|
104667
106438
|
Args: {
|
|
104668
106439
|
p_limit?: number;
|
|
@@ -104721,6 +106492,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104721
106492
|
};
|
|
104722
106493
|
Returns: import("../integrations/supabase/types").Json;
|
|
104723
106494
|
};
|
|
106495
|
+
logistics_refresh_plan_state: {
|
|
106496
|
+
Args: {
|
|
106497
|
+
p_limit?: number;
|
|
106498
|
+
};
|
|
106499
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106500
|
+
};
|
|
104724
106501
|
logistics_replan_all: {
|
|
104725
106502
|
Args: {
|
|
104726
106503
|
p_reason?: string;
|
|
@@ -104895,6 +106672,16 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104895
106672
|
};
|
|
104896
106673
|
Returns: string;
|
|
104897
106674
|
};
|
|
106675
|
+
logistics_shipping_notes_wake_all: {
|
|
106676
|
+
Args: never;
|
|
106677
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106678
|
+
};
|
|
106679
|
+
logistics_slip_is_floriday: {
|
|
106680
|
+
Args: {
|
|
106681
|
+
_slip_job_id: string;
|
|
106682
|
+
};
|
|
106683
|
+
Returns: boolean;
|
|
106684
|
+
};
|
|
104898
106685
|
logistics_slip_note_claim: {
|
|
104899
106686
|
Args: {
|
|
104900
106687
|
_lease_seconds?: number;
|
|
@@ -105001,6 +106788,63 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
105001
106788
|
name: string;
|
|
105002
106789
|
}[];
|
|
105003
106790
|
};
|
|
106791
|
+
logistics_trace: {
|
|
106792
|
+
Args: {
|
|
106793
|
+
p: import("../integrations/supabase/types").Json;
|
|
106794
|
+
};
|
|
106795
|
+
Returns: string;
|
|
106796
|
+
};
|
|
106797
|
+
logistics_trace_all_orders: {
|
|
106798
|
+
Args: {
|
|
106799
|
+
p_limit?: number;
|
|
106800
|
+
p_search?: string;
|
|
106801
|
+
};
|
|
106802
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106803
|
+
};
|
|
106804
|
+
logistics_trace_batch: {
|
|
106805
|
+
Args: {
|
|
106806
|
+
p: import("../integrations/supabase/types").Json;
|
|
106807
|
+
};
|
|
106808
|
+
Returns: number;
|
|
106809
|
+
};
|
|
106810
|
+
logistics_trace_orders: {
|
|
106811
|
+
Args: {
|
|
106812
|
+
p_limit?: number;
|
|
106813
|
+
p_search?: string;
|
|
106814
|
+
p_since?: string;
|
|
106815
|
+
p_status?: string;
|
|
106816
|
+
};
|
|
106817
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106818
|
+
};
|
|
106819
|
+
logistics_trace_redact: {
|
|
106820
|
+
Args: {
|
|
106821
|
+
p: import("../integrations/supabase/types").Json;
|
|
106822
|
+
};
|
|
106823
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106824
|
+
};
|
|
106825
|
+
logistics_trace_timeline: {
|
|
106826
|
+
Args: {
|
|
106827
|
+
p_limit?: number;
|
|
106828
|
+
p_order_ref: string;
|
|
106829
|
+
};
|
|
106830
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106831
|
+
};
|
|
106832
|
+
logistics_trace_version_events: {
|
|
106833
|
+
Args: {
|
|
106834
|
+
p_from?: string;
|
|
106835
|
+
p_limit?: number;
|
|
106836
|
+
p_order_ref: string;
|
|
106837
|
+
p_to?: string;
|
|
106838
|
+
p_version_id: string;
|
|
106839
|
+
};
|
|
106840
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106841
|
+
};
|
|
106842
|
+
logistics_trace_versions: {
|
|
106843
|
+
Args: {
|
|
106844
|
+
p_order_ref: string;
|
|
106845
|
+
};
|
|
106846
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106847
|
+
};
|
|
105004
106848
|
logistics_upsert_task: {
|
|
105005
106849
|
Args: {
|
|
105006
106850
|
p_buffer_ref: string;
|
|
@@ -106042,6 +107886,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
106042
107886
|
};
|
|
106043
107887
|
Returns: undefined;
|
|
106044
107888
|
};
|
|
107889
|
+
prune_floriday_api_log: {
|
|
107890
|
+
Args: never;
|
|
107891
|
+
Returns: number;
|
|
107892
|
+
};
|
|
106045
107893
|
quote_create_from_source: {
|
|
106046
107894
|
Args: {
|
|
106047
107895
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106918,6 +108766,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
106918
108766
|
Args: never;
|
|
106919
108767
|
Returns: string;
|
|
106920
108768
|
};
|
|
108769
|
+
voorraad_cleanup_old_rows: {
|
|
108770
|
+
Args: never;
|
|
108771
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
108772
|
+
};
|
|
106921
108773
|
wake_print_queue: {
|
|
106922
108774
|
Args: {
|
|
106923
108775
|
_min_interval_ms?: number;
|
|
@@ -109216,6 +111068,45 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
109216
111068
|
};
|
|
109217
111069
|
Relationships: [];
|
|
109218
111070
|
};
|
|
111071
|
+
customer_product_stickers: {
|
|
111072
|
+
Row: {
|
|
111073
|
+
created_at: string;
|
|
111074
|
+
customer_key: string;
|
|
111075
|
+
file_name: string;
|
|
111076
|
+
file_path: string;
|
|
111077
|
+
file_size: number | null;
|
|
111078
|
+
id: string;
|
|
111079
|
+
mime_type: string | null;
|
|
111080
|
+
trade_item_key: string;
|
|
111081
|
+
updated_at: string;
|
|
111082
|
+
uploaded_by: string | null;
|
|
111083
|
+
};
|
|
111084
|
+
Insert: {
|
|
111085
|
+
created_at?: string;
|
|
111086
|
+
customer_key: string;
|
|
111087
|
+
file_name: string;
|
|
111088
|
+
file_path: string;
|
|
111089
|
+
file_size?: number | null;
|
|
111090
|
+
id?: string;
|
|
111091
|
+
mime_type?: string | null;
|
|
111092
|
+
trade_item_key: string;
|
|
111093
|
+
updated_at?: string;
|
|
111094
|
+
uploaded_by?: string | null;
|
|
111095
|
+
};
|
|
111096
|
+
Update: {
|
|
111097
|
+
created_at?: string;
|
|
111098
|
+
customer_key?: string;
|
|
111099
|
+
file_name?: string;
|
|
111100
|
+
file_path?: string;
|
|
111101
|
+
file_size?: number | null;
|
|
111102
|
+
id?: string;
|
|
111103
|
+
mime_type?: string | null;
|
|
111104
|
+
trade_item_key?: string;
|
|
111105
|
+
updated_at?: string;
|
|
111106
|
+
uploaded_by?: string | null;
|
|
111107
|
+
};
|
|
111108
|
+
Relationships: [];
|
|
111109
|
+
};
|
|
109219
111110
|
customer_selected_assortment: {
|
|
109220
111111
|
Row: {
|
|
109221
111112
|
article_number: string | null;
|
|
@@ -109264,6 +111155,30 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
109264
111155
|
referencedColumns: ["id"];
|
|
109265
111156
|
}];
|
|
109266
111157
|
};
|
|
111158
|
+
customer_sticker_settings: {
|
|
111159
|
+
Row: {
|
|
111160
|
+
created_at: string;
|
|
111161
|
+
customer_key: string;
|
|
111162
|
+
height_mm: number;
|
|
111163
|
+
updated_at: string;
|
|
111164
|
+
width_mm: number;
|
|
111165
|
+
};
|
|
111166
|
+
Insert: {
|
|
111167
|
+
created_at?: string;
|
|
111168
|
+
customer_key: string;
|
|
111169
|
+
height_mm?: number;
|
|
111170
|
+
updated_at?: string;
|
|
111171
|
+
width_mm?: number;
|
|
111172
|
+
};
|
|
111173
|
+
Update: {
|
|
111174
|
+
created_at?: string;
|
|
111175
|
+
customer_key?: string;
|
|
111176
|
+
height_mm?: number;
|
|
111177
|
+
updated_at?: string;
|
|
111178
|
+
width_mm?: number;
|
|
111179
|
+
};
|
|
111180
|
+
Relationships: [];
|
|
111181
|
+
};
|
|
109267
111182
|
customer_trade_settings: {
|
|
109268
111183
|
Row: {
|
|
109269
111184
|
category: string;
|
|
@@ -112594,6 +114509,102 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
112594
114509
|
referencedColumns: ["id"];
|
|
112595
114510
|
}];
|
|
112596
114511
|
};
|
|
114512
|
+
floriday_api_log: {
|
|
114513
|
+
Row: {
|
|
114514
|
+
action: string | null;
|
|
114515
|
+
caller: string | null;
|
|
114516
|
+
connection_id: string | null;
|
|
114517
|
+
created_at: string;
|
|
114518
|
+
cursor_from: number | null;
|
|
114519
|
+
direction: string;
|
|
114520
|
+
duration_ms: number | null;
|
|
114521
|
+
environment: string | null;
|
|
114522
|
+
error: string | null;
|
|
114523
|
+
floriday_id: string | null;
|
|
114524
|
+
floriday_reference: string | null;
|
|
114525
|
+
http_status: number;
|
|
114526
|
+
id: string;
|
|
114527
|
+
item_count: number | null;
|
|
114528
|
+
kind: string | null;
|
|
114529
|
+
local_id: string | null;
|
|
114530
|
+
local_reference: string | null;
|
|
114531
|
+
method: string;
|
|
114532
|
+
module: string | null;
|
|
114533
|
+
ok: boolean;
|
|
114534
|
+
path: string;
|
|
114535
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
114536
|
+
resource_type: string | null;
|
|
114537
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
114538
|
+
write_log_id: string | null;
|
|
114539
|
+
};
|
|
114540
|
+
Insert: {
|
|
114541
|
+
action?: string | null;
|
|
114542
|
+
caller?: string | null;
|
|
114543
|
+
connection_id?: string | null;
|
|
114544
|
+
created_at?: string;
|
|
114545
|
+
cursor_from?: number | null;
|
|
114546
|
+
direction: string;
|
|
114547
|
+
duration_ms?: number | null;
|
|
114548
|
+
environment?: string | null;
|
|
114549
|
+
error?: string | null;
|
|
114550
|
+
floriday_id?: string | null;
|
|
114551
|
+
floriday_reference?: string | null;
|
|
114552
|
+
http_status?: number;
|
|
114553
|
+
id?: string;
|
|
114554
|
+
item_count?: number | null;
|
|
114555
|
+
kind?: string | null;
|
|
114556
|
+
local_id?: string | null;
|
|
114557
|
+
local_reference?: string | null;
|
|
114558
|
+
method: string;
|
|
114559
|
+
module?: string | null;
|
|
114560
|
+
ok?: boolean;
|
|
114561
|
+
path: string;
|
|
114562
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
114563
|
+
resource_type?: string | null;
|
|
114564
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
114565
|
+
write_log_id?: string | null;
|
|
114566
|
+
};
|
|
114567
|
+
Update: {
|
|
114568
|
+
action?: string | null;
|
|
114569
|
+
caller?: string | null;
|
|
114570
|
+
connection_id?: string | null;
|
|
114571
|
+
created_at?: string;
|
|
114572
|
+
cursor_from?: number | null;
|
|
114573
|
+
direction?: string;
|
|
114574
|
+
duration_ms?: number | null;
|
|
114575
|
+
environment?: string | null;
|
|
114576
|
+
error?: string | null;
|
|
114577
|
+
floriday_id?: string | null;
|
|
114578
|
+
floriday_reference?: string | null;
|
|
114579
|
+
http_status?: number;
|
|
114580
|
+
id?: string;
|
|
114581
|
+
item_count?: number | null;
|
|
114582
|
+
kind?: string | null;
|
|
114583
|
+
local_id?: string | null;
|
|
114584
|
+
local_reference?: string | null;
|
|
114585
|
+
method?: string;
|
|
114586
|
+
module?: string | null;
|
|
114587
|
+
ok?: boolean;
|
|
114588
|
+
path?: string;
|
|
114589
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
114590
|
+
resource_type?: string | null;
|
|
114591
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
114592
|
+
write_log_id?: string | null;
|
|
114593
|
+
};
|
|
114594
|
+
Relationships: [{
|
|
114595
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
114596
|
+
columns: ["connection_id"];
|
|
114597
|
+
isOneToOne: false;
|
|
114598
|
+
referencedRelation: "floriday_connections";
|
|
114599
|
+
referencedColumns: ["id"];
|
|
114600
|
+
}, {
|
|
114601
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
114602
|
+
columns: ["write_log_id"];
|
|
114603
|
+
isOneToOne: false;
|
|
114604
|
+
referencedRelation: "floriday_write_log";
|
|
114605
|
+
referencedColumns: ["id"];
|
|
114606
|
+
}];
|
|
114607
|
+
};
|
|
112597
114608
|
floriday_auction_letters_cache: {
|
|
112598
114609
|
Row: {
|
|
112599
114610
|
auction_letter_code: string;
|
|
@@ -113794,6 +115805,69 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
113794
115805
|
referencedColumns: ["id"];
|
|
113795
115806
|
}];
|
|
113796
115807
|
};
|
|
115808
|
+
floriday_link_templates: {
|
|
115809
|
+
Row: {
|
|
115810
|
+
created_at: string;
|
|
115811
|
+
floriday_url_template: string | null;
|
|
115812
|
+
is_active: boolean;
|
|
115813
|
+
label: string;
|
|
115814
|
+
local_url_template: string | null;
|
|
115815
|
+
resource_type: string;
|
|
115816
|
+
updated_at: string;
|
|
115817
|
+
};
|
|
115818
|
+
Insert: {
|
|
115819
|
+
created_at?: string;
|
|
115820
|
+
floriday_url_template?: string | null;
|
|
115821
|
+
is_active?: boolean;
|
|
115822
|
+
label: string;
|
|
115823
|
+
local_url_template?: string | null;
|
|
115824
|
+
resource_type: string;
|
|
115825
|
+
updated_at?: string;
|
|
115826
|
+
};
|
|
115827
|
+
Update: {
|
|
115828
|
+
created_at?: string;
|
|
115829
|
+
floriday_url_template?: string | null;
|
|
115830
|
+
is_active?: boolean;
|
|
115831
|
+
label?: string;
|
|
115832
|
+
local_url_template?: string | null;
|
|
115833
|
+
resource_type?: string;
|
|
115834
|
+
updated_at?: string;
|
|
115835
|
+
};
|
|
115836
|
+
Relationships: [];
|
|
115837
|
+
};
|
|
115838
|
+
floriday_log_retention: {
|
|
115839
|
+
Row: {
|
|
115840
|
+
created_at: string;
|
|
115841
|
+
direction: string | null;
|
|
115842
|
+
id: string;
|
|
115843
|
+
keep_failed_days: number | null;
|
|
115844
|
+
keep_ok_days: number | null;
|
|
115845
|
+
note: string | null;
|
|
115846
|
+
resource_type: string | null;
|
|
115847
|
+
updated_at: string;
|
|
115848
|
+
};
|
|
115849
|
+
Insert: {
|
|
115850
|
+
created_at?: string;
|
|
115851
|
+
direction?: string | null;
|
|
115852
|
+
id?: string;
|
|
115853
|
+
keep_failed_days?: number | null;
|
|
115854
|
+
keep_ok_days?: number | null;
|
|
115855
|
+
note?: string | null;
|
|
115856
|
+
resource_type?: string | null;
|
|
115857
|
+
updated_at?: string;
|
|
115858
|
+
};
|
|
115859
|
+
Update: {
|
|
115860
|
+
created_at?: string;
|
|
115861
|
+
direction?: string | null;
|
|
115862
|
+
id?: string;
|
|
115863
|
+
keep_failed_days?: number | null;
|
|
115864
|
+
keep_ok_days?: number | null;
|
|
115865
|
+
note?: string | null;
|
|
115866
|
+
resource_type?: string | null;
|
|
115867
|
+
updated_at?: string;
|
|
115868
|
+
};
|
|
115869
|
+
Relationships: [];
|
|
115870
|
+
};
|
|
113797
115871
|
floriday_logistic_labels_cache: {
|
|
113798
115872
|
Row: {
|
|
113799
115873
|
byte_size: number | null;
|
|
@@ -118333,6 +120407,111 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
118333
120407
|
};
|
|
118334
120408
|
Relationships: [];
|
|
118335
120409
|
};
|
|
120410
|
+
logistics_trace_events: {
|
|
120411
|
+
Row: {
|
|
120412
|
+
actor: string | null;
|
|
120413
|
+
attempts: number;
|
|
120414
|
+
cart_ref: string | null;
|
|
120415
|
+
created_at: string;
|
|
120416
|
+
db_action: string | null;
|
|
120417
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
120418
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
120419
|
+
db_record: string | null;
|
|
120420
|
+
db_table: string | null;
|
|
120421
|
+
decision: string | null;
|
|
120422
|
+
duration_ms: number | null;
|
|
120423
|
+
error: string | null;
|
|
120424
|
+
external_action: string | null;
|
|
120425
|
+
external_ref: string | null;
|
|
120426
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
120427
|
+
external_status: string | null;
|
|
120428
|
+
external_system: string | null;
|
|
120429
|
+
id: string;
|
|
120430
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
120431
|
+
next_attempt_at: string | null;
|
|
120432
|
+
order_ref: string | null;
|
|
120433
|
+
order_source: string | null;
|
|
120434
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
120435
|
+
phase: string;
|
|
120436
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
120437
|
+
reason: string | null;
|
|
120438
|
+
rule: string | null;
|
|
120439
|
+
slip_ref: string | null;
|
|
120440
|
+
status: string;
|
|
120441
|
+
step: string;
|
|
120442
|
+
trace_id: string;
|
|
120443
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
120444
|
+
};
|
|
120445
|
+
Insert: {
|
|
120446
|
+
actor?: string | null;
|
|
120447
|
+
attempts?: number;
|
|
120448
|
+
cart_ref?: string | null;
|
|
120449
|
+
created_at?: string;
|
|
120450
|
+
db_action?: string | null;
|
|
120451
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
120452
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
120453
|
+
db_record?: string | null;
|
|
120454
|
+
db_table?: string | null;
|
|
120455
|
+
decision?: string | null;
|
|
120456
|
+
duration_ms?: number | null;
|
|
120457
|
+
error?: string | null;
|
|
120458
|
+
external_action?: string | null;
|
|
120459
|
+
external_ref?: string | null;
|
|
120460
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
120461
|
+
external_status?: string | null;
|
|
120462
|
+
external_system?: string | null;
|
|
120463
|
+
id?: string;
|
|
120464
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
120465
|
+
next_attempt_at?: string | null;
|
|
120466
|
+
order_ref?: string | null;
|
|
120467
|
+
order_source?: string | null;
|
|
120468
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
120469
|
+
phase: string;
|
|
120470
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
120471
|
+
reason?: string | null;
|
|
120472
|
+
rule?: string | null;
|
|
120473
|
+
slip_ref?: string | null;
|
|
120474
|
+
status: string;
|
|
120475
|
+
step: string;
|
|
120476
|
+
trace_id?: string;
|
|
120477
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
120478
|
+
};
|
|
120479
|
+
Update: {
|
|
120480
|
+
actor?: string | null;
|
|
120481
|
+
attempts?: number;
|
|
120482
|
+
cart_ref?: string | null;
|
|
120483
|
+
created_at?: string;
|
|
120484
|
+
db_action?: string | null;
|
|
120485
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
120486
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
120487
|
+
db_record?: string | null;
|
|
120488
|
+
db_table?: string | null;
|
|
120489
|
+
decision?: string | null;
|
|
120490
|
+
duration_ms?: number | null;
|
|
120491
|
+
error?: string | null;
|
|
120492
|
+
external_action?: string | null;
|
|
120493
|
+
external_ref?: string | null;
|
|
120494
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
120495
|
+
external_status?: string | null;
|
|
120496
|
+
external_system?: string | null;
|
|
120497
|
+
id?: string;
|
|
120498
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
120499
|
+
next_attempt_at?: string | null;
|
|
120500
|
+
order_ref?: string | null;
|
|
120501
|
+
order_source?: string | null;
|
|
120502
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
120503
|
+
phase?: string;
|
|
120504
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
120505
|
+
reason?: string | null;
|
|
120506
|
+
rule?: string | null;
|
|
120507
|
+
slip_ref?: string | null;
|
|
120508
|
+
status?: string;
|
|
120509
|
+
step?: string;
|
|
120510
|
+
trace_id?: string;
|
|
120511
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
120512
|
+
};
|
|
120513
|
+
Relationships: [];
|
|
120514
|
+
};
|
|
118336
120515
|
logistics_variables: {
|
|
118337
120516
|
Row: {
|
|
118338
120517
|
created_at: string;
|
|
@@ -128905,6 +131084,15 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128905
131084
|
Args: never;
|
|
128906
131085
|
Returns: boolean;
|
|
128907
131086
|
};
|
|
131087
|
+
cancel_open_print_jobs: {
|
|
131088
|
+
Args: {
|
|
131089
|
+
_cutoff: string;
|
|
131090
|
+
};
|
|
131091
|
+
Returns: {
|
|
131092
|
+
extern_job_id: string;
|
|
131093
|
+
id: string;
|
|
131094
|
+
}[];
|
|
131095
|
+
};
|
|
128908
131096
|
check_offer_product_available_stock: {
|
|
128909
131097
|
Args: {
|
|
128910
131098
|
p_campaign_product_id: string;
|
|
@@ -130517,6 +132705,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130517
132705
|
};
|
|
130518
132706
|
Returns: import("../integrations/supabase/types").Json;
|
|
130519
132707
|
};
|
|
132708
|
+
logistics_cart_plan_status_core: {
|
|
132709
|
+
Args: {
|
|
132710
|
+
p_ref: string;
|
|
132711
|
+
};
|
|
132712
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
132713
|
+
};
|
|
130520
132714
|
logistics_cart_release_reason: {
|
|
130521
132715
|
Args: {
|
|
130522
132716
|
p_cart_id: string;
|
|
@@ -130949,6 +133143,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130949
133143
|
};
|
|
130950
133144
|
Returns: import("../integrations/supabase/types").Json;
|
|
130951
133145
|
};
|
|
133146
|
+
logistics_ensure_shipping_notes: {
|
|
133147
|
+
Args: {
|
|
133148
|
+
p_limit?: number;
|
|
133149
|
+
};
|
|
133150
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133151
|
+
};
|
|
130952
133152
|
logistics_fail_task: {
|
|
130953
133153
|
Args: {
|
|
130954
133154
|
p_error: string;
|
|
@@ -130994,6 +133194,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130994
133194
|
isSetofReturn: false;
|
|
130995
133195
|
};
|
|
130996
133196
|
};
|
|
133197
|
+
logistics_fix_wrong_shipping_notes: {
|
|
133198
|
+
Args: never;
|
|
133199
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133200
|
+
};
|
|
130997
133201
|
logistics_floriday_cart_plan: {
|
|
130998
133202
|
Args: {
|
|
130999
133203
|
p_order_id: string;
|
|
@@ -131021,6 +133225,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131021
133225
|
revision: number;
|
|
131022
133226
|
}[];
|
|
131023
133227
|
};
|
|
133228
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
133229
|
+
Args: never;
|
|
133230
|
+
Returns: boolean;
|
|
133231
|
+
};
|
|
131024
133232
|
logistics_floriday_finish_push: {
|
|
131025
133233
|
Args: {
|
|
131026
133234
|
_error?: string;
|
|
@@ -131264,6 +133472,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131264
133472
|
};
|
|
131265
133473
|
Returns: string;
|
|
131266
133474
|
};
|
|
133475
|
+
logistics_payload_is_floriday: {
|
|
133476
|
+
Args: {
|
|
133477
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
133478
|
+
};
|
|
133479
|
+
Returns: boolean;
|
|
133480
|
+
};
|
|
131267
133481
|
logistics_pick_agenda: {
|
|
131268
133482
|
Args: {
|
|
131269
133483
|
p_from?: string;
|
|
@@ -131386,6 +133600,20 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131386
133600
|
Args: never;
|
|
131387
133601
|
Returns: undefined;
|
|
131388
133602
|
};
|
|
133603
|
+
logistics_plan_progress: {
|
|
133604
|
+
Args: {
|
|
133605
|
+
p_refs: string[];
|
|
133606
|
+
};
|
|
133607
|
+
Returns: {
|
|
133608
|
+
cart_plan_ready: boolean;
|
|
133609
|
+
cart_plan_reason: string;
|
|
133610
|
+
cart_plan_released: boolean;
|
|
133611
|
+
plan_progress: number;
|
|
133612
|
+
plan_state: string;
|
|
133613
|
+
plan_state_since: string;
|
|
133614
|
+
unit_ref: string;
|
|
133615
|
+
}[];
|
|
133616
|
+
};
|
|
131389
133617
|
logistics_plan_prune: {
|
|
131390
133618
|
Args: never;
|
|
131391
133619
|
Returns: number;
|
|
@@ -131407,6 +133635,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131407
133635
|
};
|
|
131408
133636
|
Returns: number;
|
|
131409
133637
|
};
|
|
133638
|
+
logistics_plan_state_for: {
|
|
133639
|
+
Args: {
|
|
133640
|
+
p_ref: string;
|
|
133641
|
+
};
|
|
133642
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133643
|
+
};
|
|
131410
133644
|
logistics_prepare_pick_documents: {
|
|
131411
133645
|
Args: {
|
|
131412
133646
|
p_limit?: number;
|
|
@@ -131465,6 +133699,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131465
133699
|
};
|
|
131466
133700
|
Returns: import("../integrations/supabase/types").Json;
|
|
131467
133701
|
};
|
|
133702
|
+
logistics_refresh_plan_state: {
|
|
133703
|
+
Args: {
|
|
133704
|
+
p_limit?: number;
|
|
133705
|
+
};
|
|
133706
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133707
|
+
};
|
|
131468
133708
|
logistics_replan_all: {
|
|
131469
133709
|
Args: {
|
|
131470
133710
|
p_reason?: string;
|
|
@@ -131639,6 +133879,16 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131639
133879
|
};
|
|
131640
133880
|
Returns: string;
|
|
131641
133881
|
};
|
|
133882
|
+
logistics_shipping_notes_wake_all: {
|
|
133883
|
+
Args: never;
|
|
133884
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133885
|
+
};
|
|
133886
|
+
logistics_slip_is_floriday: {
|
|
133887
|
+
Args: {
|
|
133888
|
+
_slip_job_id: string;
|
|
133889
|
+
};
|
|
133890
|
+
Returns: boolean;
|
|
133891
|
+
};
|
|
131642
133892
|
logistics_slip_note_claim: {
|
|
131643
133893
|
Args: {
|
|
131644
133894
|
_lease_seconds?: number;
|
|
@@ -131745,6 +133995,63 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131745
133995
|
name: string;
|
|
131746
133996
|
}[];
|
|
131747
133997
|
};
|
|
133998
|
+
logistics_trace: {
|
|
133999
|
+
Args: {
|
|
134000
|
+
p: import("../integrations/supabase/types").Json;
|
|
134001
|
+
};
|
|
134002
|
+
Returns: string;
|
|
134003
|
+
};
|
|
134004
|
+
logistics_trace_all_orders: {
|
|
134005
|
+
Args: {
|
|
134006
|
+
p_limit?: number;
|
|
134007
|
+
p_search?: string;
|
|
134008
|
+
};
|
|
134009
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134010
|
+
};
|
|
134011
|
+
logistics_trace_batch: {
|
|
134012
|
+
Args: {
|
|
134013
|
+
p: import("../integrations/supabase/types").Json;
|
|
134014
|
+
};
|
|
134015
|
+
Returns: number;
|
|
134016
|
+
};
|
|
134017
|
+
logistics_trace_orders: {
|
|
134018
|
+
Args: {
|
|
134019
|
+
p_limit?: number;
|
|
134020
|
+
p_search?: string;
|
|
134021
|
+
p_since?: string;
|
|
134022
|
+
p_status?: string;
|
|
134023
|
+
};
|
|
134024
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134025
|
+
};
|
|
134026
|
+
logistics_trace_redact: {
|
|
134027
|
+
Args: {
|
|
134028
|
+
p: import("../integrations/supabase/types").Json;
|
|
134029
|
+
};
|
|
134030
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134031
|
+
};
|
|
134032
|
+
logistics_trace_timeline: {
|
|
134033
|
+
Args: {
|
|
134034
|
+
p_limit?: number;
|
|
134035
|
+
p_order_ref: string;
|
|
134036
|
+
};
|
|
134037
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134038
|
+
};
|
|
134039
|
+
logistics_trace_version_events: {
|
|
134040
|
+
Args: {
|
|
134041
|
+
p_from?: string;
|
|
134042
|
+
p_limit?: number;
|
|
134043
|
+
p_order_ref: string;
|
|
134044
|
+
p_to?: string;
|
|
134045
|
+
p_version_id: string;
|
|
134046
|
+
};
|
|
134047
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134048
|
+
};
|
|
134049
|
+
logistics_trace_versions: {
|
|
134050
|
+
Args: {
|
|
134051
|
+
p_order_ref: string;
|
|
134052
|
+
};
|
|
134053
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134054
|
+
};
|
|
131748
134055
|
logistics_upsert_task: {
|
|
131749
134056
|
Args: {
|
|
131750
134057
|
p_buffer_ref: string;
|
|
@@ -132786,6 +135093,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
132786
135093
|
};
|
|
132787
135094
|
Returns: undefined;
|
|
132788
135095
|
};
|
|
135096
|
+
prune_floriday_api_log: {
|
|
135097
|
+
Args: never;
|
|
135098
|
+
Returns: number;
|
|
135099
|
+
};
|
|
132789
135100
|
quote_create_from_source: {
|
|
132790
135101
|
Args: {
|
|
132791
135102
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -133662,6 +135973,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
133662
135973
|
Args: never;
|
|
133663
135974
|
Returns: string;
|
|
133664
135975
|
};
|
|
135976
|
+
voorraad_cleanup_old_rows: {
|
|
135977
|
+
Args: never;
|
|
135978
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
135979
|
+
};
|
|
133665
135980
|
wake_print_queue: {
|
|
133666
135981
|
Args: {
|
|
133667
135982
|
_min_interval_ms?: number;
|
|
@@ -135970,6 +138285,45 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
135970
138285
|
};
|
|
135971
138286
|
Relationships: [];
|
|
135972
138287
|
};
|
|
138288
|
+
customer_product_stickers: {
|
|
138289
|
+
Row: {
|
|
138290
|
+
created_at: string;
|
|
138291
|
+
customer_key: string;
|
|
138292
|
+
file_name: string;
|
|
138293
|
+
file_path: string;
|
|
138294
|
+
file_size: number | null;
|
|
138295
|
+
id: string;
|
|
138296
|
+
mime_type: string | null;
|
|
138297
|
+
trade_item_key: string;
|
|
138298
|
+
updated_at: string;
|
|
138299
|
+
uploaded_by: string | null;
|
|
138300
|
+
};
|
|
138301
|
+
Insert: {
|
|
138302
|
+
created_at?: string;
|
|
138303
|
+
customer_key: string;
|
|
138304
|
+
file_name: string;
|
|
138305
|
+
file_path: string;
|
|
138306
|
+
file_size?: number | null;
|
|
138307
|
+
id?: string;
|
|
138308
|
+
mime_type?: string | null;
|
|
138309
|
+
trade_item_key: string;
|
|
138310
|
+
updated_at?: string;
|
|
138311
|
+
uploaded_by?: string | null;
|
|
138312
|
+
};
|
|
138313
|
+
Update: {
|
|
138314
|
+
created_at?: string;
|
|
138315
|
+
customer_key?: string;
|
|
138316
|
+
file_name?: string;
|
|
138317
|
+
file_path?: string;
|
|
138318
|
+
file_size?: number | null;
|
|
138319
|
+
id?: string;
|
|
138320
|
+
mime_type?: string | null;
|
|
138321
|
+
trade_item_key?: string;
|
|
138322
|
+
updated_at?: string;
|
|
138323
|
+
uploaded_by?: string | null;
|
|
138324
|
+
};
|
|
138325
|
+
Relationships: [];
|
|
138326
|
+
};
|
|
135973
138327
|
customer_selected_assortment: {
|
|
135974
138328
|
Row: {
|
|
135975
138329
|
article_number: string | null;
|
|
@@ -136018,6 +138372,30 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
136018
138372
|
referencedColumns: ["id"];
|
|
136019
138373
|
}];
|
|
136020
138374
|
};
|
|
138375
|
+
customer_sticker_settings: {
|
|
138376
|
+
Row: {
|
|
138377
|
+
created_at: string;
|
|
138378
|
+
customer_key: string;
|
|
138379
|
+
height_mm: number;
|
|
138380
|
+
updated_at: string;
|
|
138381
|
+
width_mm: number;
|
|
138382
|
+
};
|
|
138383
|
+
Insert: {
|
|
138384
|
+
created_at?: string;
|
|
138385
|
+
customer_key: string;
|
|
138386
|
+
height_mm?: number;
|
|
138387
|
+
updated_at?: string;
|
|
138388
|
+
width_mm?: number;
|
|
138389
|
+
};
|
|
138390
|
+
Update: {
|
|
138391
|
+
created_at?: string;
|
|
138392
|
+
customer_key?: string;
|
|
138393
|
+
height_mm?: number;
|
|
138394
|
+
updated_at?: string;
|
|
138395
|
+
width_mm?: number;
|
|
138396
|
+
};
|
|
138397
|
+
Relationships: [];
|
|
138398
|
+
};
|
|
136021
138399
|
customer_trade_settings: {
|
|
136022
138400
|
Row: {
|
|
136023
138401
|
category: string;
|
|
@@ -139348,6 +141726,102 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
139348
141726
|
referencedColumns: ["id"];
|
|
139349
141727
|
}];
|
|
139350
141728
|
};
|
|
141729
|
+
floriday_api_log: {
|
|
141730
|
+
Row: {
|
|
141731
|
+
action: string | null;
|
|
141732
|
+
caller: string | null;
|
|
141733
|
+
connection_id: string | null;
|
|
141734
|
+
created_at: string;
|
|
141735
|
+
cursor_from: number | null;
|
|
141736
|
+
direction: string;
|
|
141737
|
+
duration_ms: number | null;
|
|
141738
|
+
environment: string | null;
|
|
141739
|
+
error: string | null;
|
|
141740
|
+
floriday_id: string | null;
|
|
141741
|
+
floriday_reference: string | null;
|
|
141742
|
+
http_status: number;
|
|
141743
|
+
id: string;
|
|
141744
|
+
item_count: number | null;
|
|
141745
|
+
kind: string | null;
|
|
141746
|
+
local_id: string | null;
|
|
141747
|
+
local_reference: string | null;
|
|
141748
|
+
method: string;
|
|
141749
|
+
module: string | null;
|
|
141750
|
+
ok: boolean;
|
|
141751
|
+
path: string;
|
|
141752
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
141753
|
+
resource_type: string | null;
|
|
141754
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
141755
|
+
write_log_id: string | null;
|
|
141756
|
+
};
|
|
141757
|
+
Insert: {
|
|
141758
|
+
action?: string | null;
|
|
141759
|
+
caller?: string | null;
|
|
141760
|
+
connection_id?: string | null;
|
|
141761
|
+
created_at?: string;
|
|
141762
|
+
cursor_from?: number | null;
|
|
141763
|
+
direction: string;
|
|
141764
|
+
duration_ms?: number | null;
|
|
141765
|
+
environment?: string | null;
|
|
141766
|
+
error?: string | null;
|
|
141767
|
+
floriday_id?: string | null;
|
|
141768
|
+
floriday_reference?: string | null;
|
|
141769
|
+
http_status?: number;
|
|
141770
|
+
id?: string;
|
|
141771
|
+
item_count?: number | null;
|
|
141772
|
+
kind?: string | null;
|
|
141773
|
+
local_id?: string | null;
|
|
141774
|
+
local_reference?: string | null;
|
|
141775
|
+
method: string;
|
|
141776
|
+
module?: string | null;
|
|
141777
|
+
ok?: boolean;
|
|
141778
|
+
path: string;
|
|
141779
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
141780
|
+
resource_type?: string | null;
|
|
141781
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
141782
|
+
write_log_id?: string | null;
|
|
141783
|
+
};
|
|
141784
|
+
Update: {
|
|
141785
|
+
action?: string | null;
|
|
141786
|
+
caller?: string | null;
|
|
141787
|
+
connection_id?: string | null;
|
|
141788
|
+
created_at?: string;
|
|
141789
|
+
cursor_from?: number | null;
|
|
141790
|
+
direction?: string;
|
|
141791
|
+
duration_ms?: number | null;
|
|
141792
|
+
environment?: string | null;
|
|
141793
|
+
error?: string | null;
|
|
141794
|
+
floriday_id?: string | null;
|
|
141795
|
+
floriday_reference?: string | null;
|
|
141796
|
+
http_status?: number;
|
|
141797
|
+
id?: string;
|
|
141798
|
+
item_count?: number | null;
|
|
141799
|
+
kind?: string | null;
|
|
141800
|
+
local_id?: string | null;
|
|
141801
|
+
local_reference?: string | null;
|
|
141802
|
+
method?: string;
|
|
141803
|
+
module?: string | null;
|
|
141804
|
+
ok?: boolean;
|
|
141805
|
+
path?: string;
|
|
141806
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
141807
|
+
resource_type?: string | null;
|
|
141808
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
141809
|
+
write_log_id?: string | null;
|
|
141810
|
+
};
|
|
141811
|
+
Relationships: [{
|
|
141812
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
141813
|
+
columns: ["connection_id"];
|
|
141814
|
+
isOneToOne: false;
|
|
141815
|
+
referencedRelation: "floriday_connections";
|
|
141816
|
+
referencedColumns: ["id"];
|
|
141817
|
+
}, {
|
|
141818
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
141819
|
+
columns: ["write_log_id"];
|
|
141820
|
+
isOneToOne: false;
|
|
141821
|
+
referencedRelation: "floriday_write_log";
|
|
141822
|
+
referencedColumns: ["id"];
|
|
141823
|
+
}];
|
|
141824
|
+
};
|
|
139351
141825
|
floriday_auction_letters_cache: {
|
|
139352
141826
|
Row: {
|
|
139353
141827
|
auction_letter_code: string;
|
|
@@ -140548,6 +143022,69 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
140548
143022
|
referencedColumns: ["id"];
|
|
140549
143023
|
}];
|
|
140550
143024
|
};
|
|
143025
|
+
floriday_link_templates: {
|
|
143026
|
+
Row: {
|
|
143027
|
+
created_at: string;
|
|
143028
|
+
floriday_url_template: string | null;
|
|
143029
|
+
is_active: boolean;
|
|
143030
|
+
label: string;
|
|
143031
|
+
local_url_template: string | null;
|
|
143032
|
+
resource_type: string;
|
|
143033
|
+
updated_at: string;
|
|
143034
|
+
};
|
|
143035
|
+
Insert: {
|
|
143036
|
+
created_at?: string;
|
|
143037
|
+
floriday_url_template?: string | null;
|
|
143038
|
+
is_active?: boolean;
|
|
143039
|
+
label: string;
|
|
143040
|
+
local_url_template?: string | null;
|
|
143041
|
+
resource_type: string;
|
|
143042
|
+
updated_at?: string;
|
|
143043
|
+
};
|
|
143044
|
+
Update: {
|
|
143045
|
+
created_at?: string;
|
|
143046
|
+
floriday_url_template?: string | null;
|
|
143047
|
+
is_active?: boolean;
|
|
143048
|
+
label?: string;
|
|
143049
|
+
local_url_template?: string | null;
|
|
143050
|
+
resource_type?: string;
|
|
143051
|
+
updated_at?: string;
|
|
143052
|
+
};
|
|
143053
|
+
Relationships: [];
|
|
143054
|
+
};
|
|
143055
|
+
floriday_log_retention: {
|
|
143056
|
+
Row: {
|
|
143057
|
+
created_at: string;
|
|
143058
|
+
direction: string | null;
|
|
143059
|
+
id: string;
|
|
143060
|
+
keep_failed_days: number | null;
|
|
143061
|
+
keep_ok_days: number | null;
|
|
143062
|
+
note: string | null;
|
|
143063
|
+
resource_type: string | null;
|
|
143064
|
+
updated_at: string;
|
|
143065
|
+
};
|
|
143066
|
+
Insert: {
|
|
143067
|
+
created_at?: string;
|
|
143068
|
+
direction?: string | null;
|
|
143069
|
+
id?: string;
|
|
143070
|
+
keep_failed_days?: number | null;
|
|
143071
|
+
keep_ok_days?: number | null;
|
|
143072
|
+
note?: string | null;
|
|
143073
|
+
resource_type?: string | null;
|
|
143074
|
+
updated_at?: string;
|
|
143075
|
+
};
|
|
143076
|
+
Update: {
|
|
143077
|
+
created_at?: string;
|
|
143078
|
+
direction?: string | null;
|
|
143079
|
+
id?: string;
|
|
143080
|
+
keep_failed_days?: number | null;
|
|
143081
|
+
keep_ok_days?: number | null;
|
|
143082
|
+
note?: string | null;
|
|
143083
|
+
resource_type?: string | null;
|
|
143084
|
+
updated_at?: string;
|
|
143085
|
+
};
|
|
143086
|
+
Relationships: [];
|
|
143087
|
+
};
|
|
140551
143088
|
floriday_logistic_labels_cache: {
|
|
140552
143089
|
Row: {
|
|
140553
143090
|
byte_size: number | null;
|
|
@@ -145087,6 +147624,111 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
145087
147624
|
};
|
|
145088
147625
|
Relationships: [];
|
|
145089
147626
|
};
|
|
147627
|
+
logistics_trace_events: {
|
|
147628
|
+
Row: {
|
|
147629
|
+
actor: string | null;
|
|
147630
|
+
attempts: number;
|
|
147631
|
+
cart_ref: string | null;
|
|
147632
|
+
created_at: string;
|
|
147633
|
+
db_action: string | null;
|
|
147634
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
147635
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
147636
|
+
db_record: string | null;
|
|
147637
|
+
db_table: string | null;
|
|
147638
|
+
decision: string | null;
|
|
147639
|
+
duration_ms: number | null;
|
|
147640
|
+
error: string | null;
|
|
147641
|
+
external_action: string | null;
|
|
147642
|
+
external_ref: string | null;
|
|
147643
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
147644
|
+
external_status: string | null;
|
|
147645
|
+
external_system: string | null;
|
|
147646
|
+
id: string;
|
|
147647
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
147648
|
+
next_attempt_at: string | null;
|
|
147649
|
+
order_ref: string | null;
|
|
147650
|
+
order_source: string | null;
|
|
147651
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
147652
|
+
phase: string;
|
|
147653
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
147654
|
+
reason: string | null;
|
|
147655
|
+
rule: string | null;
|
|
147656
|
+
slip_ref: string | null;
|
|
147657
|
+
status: string;
|
|
147658
|
+
step: string;
|
|
147659
|
+
trace_id: string;
|
|
147660
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
147661
|
+
};
|
|
147662
|
+
Insert: {
|
|
147663
|
+
actor?: string | null;
|
|
147664
|
+
attempts?: number;
|
|
147665
|
+
cart_ref?: string | null;
|
|
147666
|
+
created_at?: string;
|
|
147667
|
+
db_action?: string | null;
|
|
147668
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
147669
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
147670
|
+
db_record?: string | null;
|
|
147671
|
+
db_table?: string | null;
|
|
147672
|
+
decision?: string | null;
|
|
147673
|
+
duration_ms?: number | null;
|
|
147674
|
+
error?: string | null;
|
|
147675
|
+
external_action?: string | null;
|
|
147676
|
+
external_ref?: string | null;
|
|
147677
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
147678
|
+
external_status?: string | null;
|
|
147679
|
+
external_system?: string | null;
|
|
147680
|
+
id?: string;
|
|
147681
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
147682
|
+
next_attempt_at?: string | null;
|
|
147683
|
+
order_ref?: string | null;
|
|
147684
|
+
order_source?: string | null;
|
|
147685
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
147686
|
+
phase: string;
|
|
147687
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
147688
|
+
reason?: string | null;
|
|
147689
|
+
rule?: string | null;
|
|
147690
|
+
slip_ref?: string | null;
|
|
147691
|
+
status: string;
|
|
147692
|
+
step: string;
|
|
147693
|
+
trace_id?: string;
|
|
147694
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
147695
|
+
};
|
|
147696
|
+
Update: {
|
|
147697
|
+
actor?: string | null;
|
|
147698
|
+
attempts?: number;
|
|
147699
|
+
cart_ref?: string | null;
|
|
147700
|
+
created_at?: string;
|
|
147701
|
+
db_action?: string | null;
|
|
147702
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
147703
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
147704
|
+
db_record?: string | null;
|
|
147705
|
+
db_table?: string | null;
|
|
147706
|
+
decision?: string | null;
|
|
147707
|
+
duration_ms?: number | null;
|
|
147708
|
+
error?: string | null;
|
|
147709
|
+
external_action?: string | null;
|
|
147710
|
+
external_ref?: string | null;
|
|
147711
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
147712
|
+
external_status?: string | null;
|
|
147713
|
+
external_system?: string | null;
|
|
147714
|
+
id?: string;
|
|
147715
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
147716
|
+
next_attempt_at?: string | null;
|
|
147717
|
+
order_ref?: string | null;
|
|
147718
|
+
order_source?: string | null;
|
|
147719
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
147720
|
+
phase?: string;
|
|
147721
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
147722
|
+
reason?: string | null;
|
|
147723
|
+
rule?: string | null;
|
|
147724
|
+
slip_ref?: string | null;
|
|
147725
|
+
status?: string;
|
|
147726
|
+
step?: string;
|
|
147727
|
+
trace_id?: string;
|
|
147728
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
147729
|
+
};
|
|
147730
|
+
Relationships: [];
|
|
147731
|
+
};
|
|
145090
147732
|
logistics_variables: {
|
|
145091
147733
|
Row: {
|
|
145092
147734
|
created_at: string;
|
|
@@ -155659,6 +158301,15 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155659
158301
|
Args: never;
|
|
155660
158302
|
Returns: boolean;
|
|
155661
158303
|
};
|
|
158304
|
+
cancel_open_print_jobs: {
|
|
158305
|
+
Args: {
|
|
158306
|
+
_cutoff: string;
|
|
158307
|
+
};
|
|
158308
|
+
Returns: {
|
|
158309
|
+
extern_job_id: string;
|
|
158310
|
+
id: string;
|
|
158311
|
+
}[];
|
|
158312
|
+
};
|
|
155662
158313
|
check_offer_product_available_stock: {
|
|
155663
158314
|
Args: {
|
|
155664
158315
|
p_campaign_product_id: string;
|
|
@@ -157271,6 +159922,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157271
159922
|
};
|
|
157272
159923
|
Returns: import("../integrations/supabase/types").Json;
|
|
157273
159924
|
};
|
|
159925
|
+
logistics_cart_plan_status_core: {
|
|
159926
|
+
Args: {
|
|
159927
|
+
p_ref: string;
|
|
159928
|
+
};
|
|
159929
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
159930
|
+
};
|
|
157274
159931
|
logistics_cart_release_reason: {
|
|
157275
159932
|
Args: {
|
|
157276
159933
|
p_cart_id: string;
|
|
@@ -157703,6 +160360,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157703
160360
|
};
|
|
157704
160361
|
Returns: import("../integrations/supabase/types").Json;
|
|
157705
160362
|
};
|
|
160363
|
+
logistics_ensure_shipping_notes: {
|
|
160364
|
+
Args: {
|
|
160365
|
+
p_limit?: number;
|
|
160366
|
+
};
|
|
160367
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160368
|
+
};
|
|
157706
160369
|
logistics_fail_task: {
|
|
157707
160370
|
Args: {
|
|
157708
160371
|
p_error: string;
|
|
@@ -157748,6 +160411,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157748
160411
|
isSetofReturn: false;
|
|
157749
160412
|
};
|
|
157750
160413
|
};
|
|
160414
|
+
logistics_fix_wrong_shipping_notes: {
|
|
160415
|
+
Args: never;
|
|
160416
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160417
|
+
};
|
|
157751
160418
|
logistics_floriday_cart_plan: {
|
|
157752
160419
|
Args: {
|
|
157753
160420
|
p_order_id: string;
|
|
@@ -157775,6 +160442,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157775
160442
|
revision: number;
|
|
157776
160443
|
}[];
|
|
157777
160444
|
};
|
|
160445
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
160446
|
+
Args: never;
|
|
160447
|
+
Returns: boolean;
|
|
160448
|
+
};
|
|
157778
160449
|
logistics_floriday_finish_push: {
|
|
157779
160450
|
Args: {
|
|
157780
160451
|
_error?: string;
|
|
@@ -158018,6 +160689,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158018
160689
|
};
|
|
158019
160690
|
Returns: string;
|
|
158020
160691
|
};
|
|
160692
|
+
logistics_payload_is_floriday: {
|
|
160693
|
+
Args: {
|
|
160694
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
160695
|
+
};
|
|
160696
|
+
Returns: boolean;
|
|
160697
|
+
};
|
|
158021
160698
|
logistics_pick_agenda: {
|
|
158022
160699
|
Args: {
|
|
158023
160700
|
p_from?: string;
|
|
@@ -158140,6 +160817,20 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158140
160817
|
Args: never;
|
|
158141
160818
|
Returns: undefined;
|
|
158142
160819
|
};
|
|
160820
|
+
logistics_plan_progress: {
|
|
160821
|
+
Args: {
|
|
160822
|
+
p_refs: string[];
|
|
160823
|
+
};
|
|
160824
|
+
Returns: {
|
|
160825
|
+
cart_plan_ready: boolean;
|
|
160826
|
+
cart_plan_reason: string;
|
|
160827
|
+
cart_plan_released: boolean;
|
|
160828
|
+
plan_progress: number;
|
|
160829
|
+
plan_state: string;
|
|
160830
|
+
plan_state_since: string;
|
|
160831
|
+
unit_ref: string;
|
|
160832
|
+
}[];
|
|
160833
|
+
};
|
|
158143
160834
|
logistics_plan_prune: {
|
|
158144
160835
|
Args: never;
|
|
158145
160836
|
Returns: number;
|
|
@@ -158161,6 +160852,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158161
160852
|
};
|
|
158162
160853
|
Returns: number;
|
|
158163
160854
|
};
|
|
160855
|
+
logistics_plan_state_for: {
|
|
160856
|
+
Args: {
|
|
160857
|
+
p_ref: string;
|
|
160858
|
+
};
|
|
160859
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160860
|
+
};
|
|
158164
160861
|
logistics_prepare_pick_documents: {
|
|
158165
160862
|
Args: {
|
|
158166
160863
|
p_limit?: number;
|
|
@@ -158219,6 +160916,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158219
160916
|
};
|
|
158220
160917
|
Returns: import("../integrations/supabase/types").Json;
|
|
158221
160918
|
};
|
|
160919
|
+
logistics_refresh_plan_state: {
|
|
160920
|
+
Args: {
|
|
160921
|
+
p_limit?: number;
|
|
160922
|
+
};
|
|
160923
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160924
|
+
};
|
|
158222
160925
|
logistics_replan_all: {
|
|
158223
160926
|
Args: {
|
|
158224
160927
|
p_reason?: string;
|
|
@@ -158393,6 +161096,16 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158393
161096
|
};
|
|
158394
161097
|
Returns: string;
|
|
158395
161098
|
};
|
|
161099
|
+
logistics_shipping_notes_wake_all: {
|
|
161100
|
+
Args: never;
|
|
161101
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161102
|
+
};
|
|
161103
|
+
logistics_slip_is_floriday: {
|
|
161104
|
+
Args: {
|
|
161105
|
+
_slip_job_id: string;
|
|
161106
|
+
};
|
|
161107
|
+
Returns: boolean;
|
|
161108
|
+
};
|
|
158396
161109
|
logistics_slip_note_claim: {
|
|
158397
161110
|
Args: {
|
|
158398
161111
|
_lease_seconds?: number;
|
|
@@ -158499,6 +161212,63 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158499
161212
|
name: string;
|
|
158500
161213
|
}[];
|
|
158501
161214
|
};
|
|
161215
|
+
logistics_trace: {
|
|
161216
|
+
Args: {
|
|
161217
|
+
p: import("../integrations/supabase/types").Json;
|
|
161218
|
+
};
|
|
161219
|
+
Returns: string;
|
|
161220
|
+
};
|
|
161221
|
+
logistics_trace_all_orders: {
|
|
161222
|
+
Args: {
|
|
161223
|
+
p_limit?: number;
|
|
161224
|
+
p_search?: string;
|
|
161225
|
+
};
|
|
161226
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161227
|
+
};
|
|
161228
|
+
logistics_trace_batch: {
|
|
161229
|
+
Args: {
|
|
161230
|
+
p: import("../integrations/supabase/types").Json;
|
|
161231
|
+
};
|
|
161232
|
+
Returns: number;
|
|
161233
|
+
};
|
|
161234
|
+
logistics_trace_orders: {
|
|
161235
|
+
Args: {
|
|
161236
|
+
p_limit?: number;
|
|
161237
|
+
p_search?: string;
|
|
161238
|
+
p_since?: string;
|
|
161239
|
+
p_status?: string;
|
|
161240
|
+
};
|
|
161241
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161242
|
+
};
|
|
161243
|
+
logistics_trace_redact: {
|
|
161244
|
+
Args: {
|
|
161245
|
+
p: import("../integrations/supabase/types").Json;
|
|
161246
|
+
};
|
|
161247
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161248
|
+
};
|
|
161249
|
+
logistics_trace_timeline: {
|
|
161250
|
+
Args: {
|
|
161251
|
+
p_limit?: number;
|
|
161252
|
+
p_order_ref: string;
|
|
161253
|
+
};
|
|
161254
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161255
|
+
};
|
|
161256
|
+
logistics_trace_version_events: {
|
|
161257
|
+
Args: {
|
|
161258
|
+
p_from?: string;
|
|
161259
|
+
p_limit?: number;
|
|
161260
|
+
p_order_ref: string;
|
|
161261
|
+
p_to?: string;
|
|
161262
|
+
p_version_id: string;
|
|
161263
|
+
};
|
|
161264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161265
|
+
};
|
|
161266
|
+
logistics_trace_versions: {
|
|
161267
|
+
Args: {
|
|
161268
|
+
p_order_ref: string;
|
|
161269
|
+
};
|
|
161270
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161271
|
+
};
|
|
158502
161272
|
logistics_upsert_task: {
|
|
158503
161273
|
Args: {
|
|
158504
161274
|
p_buffer_ref: string;
|
|
@@ -159540,6 +162310,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
159540
162310
|
};
|
|
159541
162311
|
Returns: undefined;
|
|
159542
162312
|
};
|
|
162313
|
+
prune_floriday_api_log: {
|
|
162314
|
+
Args: never;
|
|
162315
|
+
Returns: number;
|
|
162316
|
+
};
|
|
159543
162317
|
quote_create_from_source: {
|
|
159544
162318
|
Args: {
|
|
159545
162319
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -160416,6 +163190,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
160416
163190
|
Args: never;
|
|
160417
163191
|
Returns: string;
|
|
160418
163192
|
};
|
|
163193
|
+
voorraad_cleanup_old_rows: {
|
|
163194
|
+
Args: never;
|
|
163195
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
163196
|
+
};
|
|
160419
163197
|
wake_print_queue: {
|
|
160420
163198
|
Args: {
|
|
160421
163199
|
_min_interval_ms?: number;
|