@flowselections/floriday-voorraad 1.0.42 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
- package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
- package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
- package/dist-lib/hooks/useFloriday.js +5 -2
- package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
- package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
- package/dist-lib/hooks/useStockPushJobs.js +18 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +440 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +440 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +440 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +443 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +440 -0
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.js +6 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +440 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +880 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +2640 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +880 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +1320 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +880 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +880 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +880 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -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,40 @@ 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_batch: {
|
|
25186
|
+
Args: {
|
|
25187
|
+
p: import("../integrations/supabase/types").Json;
|
|
25188
|
+
};
|
|
25189
|
+
Returns: number;
|
|
25190
|
+
};
|
|
25191
|
+
logistics_trace_orders: {
|
|
25192
|
+
Args: {
|
|
25193
|
+
p_limit?: number;
|
|
25194
|
+
p_search?: string;
|
|
25195
|
+
p_since?: string;
|
|
25196
|
+
p_status?: string;
|
|
25197
|
+
};
|
|
25198
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25199
|
+
};
|
|
25200
|
+
logistics_trace_redact: {
|
|
25201
|
+
Args: {
|
|
25202
|
+
p: import("../integrations/supabase/types").Json;
|
|
25203
|
+
};
|
|
25204
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25205
|
+
};
|
|
25206
|
+
logistics_trace_timeline: {
|
|
25207
|
+
Args: {
|
|
25208
|
+
p_limit?: number;
|
|
25209
|
+
p_order_ref: string;
|
|
25210
|
+
};
|
|
25211
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25212
|
+
};
|
|
24781
25213
|
logistics_upsert_task: {
|
|
24782
25214
|
Args: {
|
|
24783
25215
|
p_buffer_ref: string;
|
|
@@ -25819,6 +26251,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
25819
26251
|
};
|
|
25820
26252
|
Returns: undefined;
|
|
25821
26253
|
};
|
|
26254
|
+
prune_floriday_api_log: {
|
|
26255
|
+
Args: never;
|
|
26256
|
+
Returns: number;
|
|
26257
|
+
};
|
|
25822
26258
|
quote_create_from_source: {
|
|
25823
26259
|
Args: {
|
|
25824
26260
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26695,6 +27131,10 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
|
|
|
26695
27131
|
Args: never;
|
|
26696
27132
|
Returns: string;
|
|
26697
27133
|
};
|
|
27134
|
+
voorraad_cleanup_old_rows: {
|
|
27135
|
+
Args: never;
|
|
27136
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27137
|
+
};
|
|
26698
27138
|
wake_print_queue: {
|
|
26699
27139
|
Args: {
|
|
26700
27140
|
_min_interval_ms?: number;
|
|
@@ -28990,6 +29430,45 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
28990
29430
|
};
|
|
28991
29431
|
Relationships: [];
|
|
28992
29432
|
};
|
|
29433
|
+
customer_product_stickers: {
|
|
29434
|
+
Row: {
|
|
29435
|
+
created_at: string;
|
|
29436
|
+
customer_key: string;
|
|
29437
|
+
file_name: string;
|
|
29438
|
+
file_path: string;
|
|
29439
|
+
file_size: number | null;
|
|
29440
|
+
id: string;
|
|
29441
|
+
mime_type: string | null;
|
|
29442
|
+
trade_item_key: string;
|
|
29443
|
+
updated_at: string;
|
|
29444
|
+
uploaded_by: string | null;
|
|
29445
|
+
};
|
|
29446
|
+
Insert: {
|
|
29447
|
+
created_at?: string;
|
|
29448
|
+
customer_key: string;
|
|
29449
|
+
file_name: string;
|
|
29450
|
+
file_path: string;
|
|
29451
|
+
file_size?: number | null;
|
|
29452
|
+
id?: string;
|
|
29453
|
+
mime_type?: string | null;
|
|
29454
|
+
trade_item_key: string;
|
|
29455
|
+
updated_at?: string;
|
|
29456
|
+
uploaded_by?: string | null;
|
|
29457
|
+
};
|
|
29458
|
+
Update: {
|
|
29459
|
+
created_at?: string;
|
|
29460
|
+
customer_key?: string;
|
|
29461
|
+
file_name?: string;
|
|
29462
|
+
file_path?: string;
|
|
29463
|
+
file_size?: number | null;
|
|
29464
|
+
id?: string;
|
|
29465
|
+
mime_type?: string | null;
|
|
29466
|
+
trade_item_key?: string;
|
|
29467
|
+
updated_at?: string;
|
|
29468
|
+
uploaded_by?: string | null;
|
|
29469
|
+
};
|
|
29470
|
+
Relationships: [];
|
|
29471
|
+
};
|
|
28993
29472
|
customer_selected_assortment: {
|
|
28994
29473
|
Row: {
|
|
28995
29474
|
article_number: string | null;
|
|
@@ -29038,6 +29517,30 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
29038
29517
|
referencedColumns: ["id"];
|
|
29039
29518
|
}];
|
|
29040
29519
|
};
|
|
29520
|
+
customer_sticker_settings: {
|
|
29521
|
+
Row: {
|
|
29522
|
+
created_at: string;
|
|
29523
|
+
customer_key: string;
|
|
29524
|
+
height_mm: number;
|
|
29525
|
+
updated_at: string;
|
|
29526
|
+
width_mm: number;
|
|
29527
|
+
};
|
|
29528
|
+
Insert: {
|
|
29529
|
+
created_at?: string;
|
|
29530
|
+
customer_key: string;
|
|
29531
|
+
height_mm?: number;
|
|
29532
|
+
updated_at?: string;
|
|
29533
|
+
width_mm?: number;
|
|
29534
|
+
};
|
|
29535
|
+
Update: {
|
|
29536
|
+
created_at?: string;
|
|
29537
|
+
customer_key?: string;
|
|
29538
|
+
height_mm?: number;
|
|
29539
|
+
updated_at?: string;
|
|
29540
|
+
width_mm?: number;
|
|
29541
|
+
};
|
|
29542
|
+
Relationships: [];
|
|
29543
|
+
};
|
|
29041
29544
|
customer_trade_settings: {
|
|
29042
29545
|
Row: {
|
|
29043
29546
|
category: string;
|
|
@@ -32368,6 +32871,102 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
32368
32871
|
referencedColumns: ["id"];
|
|
32369
32872
|
}];
|
|
32370
32873
|
};
|
|
32874
|
+
floriday_api_log: {
|
|
32875
|
+
Row: {
|
|
32876
|
+
action: string | null;
|
|
32877
|
+
caller: string | null;
|
|
32878
|
+
connection_id: string | null;
|
|
32879
|
+
created_at: string;
|
|
32880
|
+
cursor_from: number | null;
|
|
32881
|
+
direction: string;
|
|
32882
|
+
duration_ms: number | null;
|
|
32883
|
+
environment: string | null;
|
|
32884
|
+
error: string | null;
|
|
32885
|
+
floriday_id: string | null;
|
|
32886
|
+
floriday_reference: string | null;
|
|
32887
|
+
http_status: number;
|
|
32888
|
+
id: string;
|
|
32889
|
+
item_count: number | null;
|
|
32890
|
+
kind: string | null;
|
|
32891
|
+
local_id: string | null;
|
|
32892
|
+
local_reference: string | null;
|
|
32893
|
+
method: string;
|
|
32894
|
+
module: string | null;
|
|
32895
|
+
ok: boolean;
|
|
32896
|
+
path: string;
|
|
32897
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32898
|
+
resource_type: string | null;
|
|
32899
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32900
|
+
write_log_id: string | null;
|
|
32901
|
+
};
|
|
32902
|
+
Insert: {
|
|
32903
|
+
action?: string | null;
|
|
32904
|
+
caller?: string | null;
|
|
32905
|
+
connection_id?: string | null;
|
|
32906
|
+
created_at?: string;
|
|
32907
|
+
cursor_from?: number | null;
|
|
32908
|
+
direction: string;
|
|
32909
|
+
duration_ms?: number | null;
|
|
32910
|
+
environment?: string | null;
|
|
32911
|
+
error?: string | null;
|
|
32912
|
+
floriday_id?: string | null;
|
|
32913
|
+
floriday_reference?: string | null;
|
|
32914
|
+
http_status?: number;
|
|
32915
|
+
id?: string;
|
|
32916
|
+
item_count?: number | null;
|
|
32917
|
+
kind?: string | null;
|
|
32918
|
+
local_id?: string | null;
|
|
32919
|
+
local_reference?: string | null;
|
|
32920
|
+
method: string;
|
|
32921
|
+
module?: string | null;
|
|
32922
|
+
ok?: boolean;
|
|
32923
|
+
path: string;
|
|
32924
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32925
|
+
resource_type?: string | null;
|
|
32926
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32927
|
+
write_log_id?: string | null;
|
|
32928
|
+
};
|
|
32929
|
+
Update: {
|
|
32930
|
+
action?: string | null;
|
|
32931
|
+
caller?: string | null;
|
|
32932
|
+
connection_id?: string | null;
|
|
32933
|
+
created_at?: string;
|
|
32934
|
+
cursor_from?: number | null;
|
|
32935
|
+
direction?: string;
|
|
32936
|
+
duration_ms?: number | null;
|
|
32937
|
+
environment?: string | null;
|
|
32938
|
+
error?: string | null;
|
|
32939
|
+
floriday_id?: string | null;
|
|
32940
|
+
floriday_reference?: string | null;
|
|
32941
|
+
http_status?: number;
|
|
32942
|
+
id?: string;
|
|
32943
|
+
item_count?: number | null;
|
|
32944
|
+
kind?: string | null;
|
|
32945
|
+
local_id?: string | null;
|
|
32946
|
+
local_reference?: string | null;
|
|
32947
|
+
method?: string;
|
|
32948
|
+
module?: string | null;
|
|
32949
|
+
ok?: boolean;
|
|
32950
|
+
path?: string;
|
|
32951
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32952
|
+
resource_type?: string | null;
|
|
32953
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32954
|
+
write_log_id?: string | null;
|
|
32955
|
+
};
|
|
32956
|
+
Relationships: [{
|
|
32957
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32958
|
+
columns: ["connection_id"];
|
|
32959
|
+
isOneToOne: false;
|
|
32960
|
+
referencedRelation: "floriday_connections";
|
|
32961
|
+
referencedColumns: ["id"];
|
|
32962
|
+
}, {
|
|
32963
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32964
|
+
columns: ["write_log_id"];
|
|
32965
|
+
isOneToOne: false;
|
|
32966
|
+
referencedRelation: "floriday_write_log";
|
|
32967
|
+
referencedColumns: ["id"];
|
|
32968
|
+
}];
|
|
32969
|
+
};
|
|
32371
32970
|
floriday_auction_letters_cache: {
|
|
32372
32971
|
Row: {
|
|
32373
32972
|
auction_letter_code: string;
|
|
@@ -33568,6 +34167,69 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
33568
34167
|
referencedColumns: ["id"];
|
|
33569
34168
|
}];
|
|
33570
34169
|
};
|
|
34170
|
+
floriday_link_templates: {
|
|
34171
|
+
Row: {
|
|
34172
|
+
created_at: string;
|
|
34173
|
+
floriday_url_template: string | null;
|
|
34174
|
+
is_active: boolean;
|
|
34175
|
+
label: string;
|
|
34176
|
+
local_url_template: string | null;
|
|
34177
|
+
resource_type: string;
|
|
34178
|
+
updated_at: string;
|
|
34179
|
+
};
|
|
34180
|
+
Insert: {
|
|
34181
|
+
created_at?: string;
|
|
34182
|
+
floriday_url_template?: string | null;
|
|
34183
|
+
is_active?: boolean;
|
|
34184
|
+
label: string;
|
|
34185
|
+
local_url_template?: string | null;
|
|
34186
|
+
resource_type: string;
|
|
34187
|
+
updated_at?: string;
|
|
34188
|
+
};
|
|
34189
|
+
Update: {
|
|
34190
|
+
created_at?: string;
|
|
34191
|
+
floriday_url_template?: string | null;
|
|
34192
|
+
is_active?: boolean;
|
|
34193
|
+
label?: string;
|
|
34194
|
+
local_url_template?: string | null;
|
|
34195
|
+
resource_type?: string;
|
|
34196
|
+
updated_at?: string;
|
|
34197
|
+
};
|
|
34198
|
+
Relationships: [];
|
|
34199
|
+
};
|
|
34200
|
+
floriday_log_retention: {
|
|
34201
|
+
Row: {
|
|
34202
|
+
created_at: string;
|
|
34203
|
+
direction: string | null;
|
|
34204
|
+
id: string;
|
|
34205
|
+
keep_failed_days: number | null;
|
|
34206
|
+
keep_ok_days: number | null;
|
|
34207
|
+
note: string | null;
|
|
34208
|
+
resource_type: string | null;
|
|
34209
|
+
updated_at: string;
|
|
34210
|
+
};
|
|
34211
|
+
Insert: {
|
|
34212
|
+
created_at?: string;
|
|
34213
|
+
direction?: string | null;
|
|
34214
|
+
id?: string;
|
|
34215
|
+
keep_failed_days?: number | null;
|
|
34216
|
+
keep_ok_days?: number | null;
|
|
34217
|
+
note?: string | null;
|
|
34218
|
+
resource_type?: string | null;
|
|
34219
|
+
updated_at?: string;
|
|
34220
|
+
};
|
|
34221
|
+
Update: {
|
|
34222
|
+
created_at?: string;
|
|
34223
|
+
direction?: string | null;
|
|
34224
|
+
id?: string;
|
|
34225
|
+
keep_failed_days?: number | null;
|
|
34226
|
+
keep_ok_days?: number | null;
|
|
34227
|
+
note?: string | null;
|
|
34228
|
+
resource_type?: string | null;
|
|
34229
|
+
updated_at?: string;
|
|
34230
|
+
};
|
|
34231
|
+
Relationships: [];
|
|
34232
|
+
};
|
|
33571
34233
|
floriday_logistic_labels_cache: {
|
|
33572
34234
|
Row: {
|
|
33573
34235
|
byte_size: number | null;
|
|
@@ -38107,6 +38769,111 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
38107
38769
|
};
|
|
38108
38770
|
Relationships: [];
|
|
38109
38771
|
};
|
|
38772
|
+
logistics_trace_events: {
|
|
38773
|
+
Row: {
|
|
38774
|
+
actor: string | null;
|
|
38775
|
+
attempts: number;
|
|
38776
|
+
cart_ref: string | null;
|
|
38777
|
+
created_at: string;
|
|
38778
|
+
db_action: string | null;
|
|
38779
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38780
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38781
|
+
db_record: string | null;
|
|
38782
|
+
db_table: string | null;
|
|
38783
|
+
decision: string | null;
|
|
38784
|
+
duration_ms: number | null;
|
|
38785
|
+
error: string | null;
|
|
38786
|
+
external_action: string | null;
|
|
38787
|
+
external_ref: string | null;
|
|
38788
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38789
|
+
external_status: string | null;
|
|
38790
|
+
external_system: string | null;
|
|
38791
|
+
id: string;
|
|
38792
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38793
|
+
next_attempt_at: string | null;
|
|
38794
|
+
order_ref: string | null;
|
|
38795
|
+
order_source: string | null;
|
|
38796
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38797
|
+
phase: string;
|
|
38798
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38799
|
+
reason: string | null;
|
|
38800
|
+
rule: string | null;
|
|
38801
|
+
slip_ref: string | null;
|
|
38802
|
+
status: string;
|
|
38803
|
+
step: string;
|
|
38804
|
+
trace_id: string;
|
|
38805
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38806
|
+
};
|
|
38807
|
+
Insert: {
|
|
38808
|
+
actor?: string | null;
|
|
38809
|
+
attempts?: number;
|
|
38810
|
+
cart_ref?: string | null;
|
|
38811
|
+
created_at?: string;
|
|
38812
|
+
db_action?: string | null;
|
|
38813
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38814
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38815
|
+
db_record?: string | null;
|
|
38816
|
+
db_table?: string | null;
|
|
38817
|
+
decision?: string | null;
|
|
38818
|
+
duration_ms?: number | null;
|
|
38819
|
+
error?: string | null;
|
|
38820
|
+
external_action?: string | null;
|
|
38821
|
+
external_ref?: string | null;
|
|
38822
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38823
|
+
external_status?: string | null;
|
|
38824
|
+
external_system?: string | null;
|
|
38825
|
+
id?: string;
|
|
38826
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38827
|
+
next_attempt_at?: string | null;
|
|
38828
|
+
order_ref?: string | null;
|
|
38829
|
+
order_source?: string | null;
|
|
38830
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38831
|
+
phase: string;
|
|
38832
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38833
|
+
reason?: string | null;
|
|
38834
|
+
rule?: string | null;
|
|
38835
|
+
slip_ref?: string | null;
|
|
38836
|
+
status: string;
|
|
38837
|
+
step: string;
|
|
38838
|
+
trace_id?: string;
|
|
38839
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38840
|
+
};
|
|
38841
|
+
Update: {
|
|
38842
|
+
actor?: string | null;
|
|
38843
|
+
attempts?: number;
|
|
38844
|
+
cart_ref?: string | null;
|
|
38845
|
+
created_at?: string;
|
|
38846
|
+
db_action?: string | null;
|
|
38847
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38848
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38849
|
+
db_record?: string | null;
|
|
38850
|
+
db_table?: string | null;
|
|
38851
|
+
decision?: string | null;
|
|
38852
|
+
duration_ms?: number | null;
|
|
38853
|
+
error?: string | null;
|
|
38854
|
+
external_action?: string | null;
|
|
38855
|
+
external_ref?: string | null;
|
|
38856
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38857
|
+
external_status?: string | null;
|
|
38858
|
+
external_system?: string | null;
|
|
38859
|
+
id?: string;
|
|
38860
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38861
|
+
next_attempt_at?: string | null;
|
|
38862
|
+
order_ref?: string | null;
|
|
38863
|
+
order_source?: string | null;
|
|
38864
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38865
|
+
phase?: string;
|
|
38866
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38867
|
+
reason?: string | null;
|
|
38868
|
+
rule?: string | null;
|
|
38869
|
+
slip_ref?: string | null;
|
|
38870
|
+
status?: string;
|
|
38871
|
+
step?: string;
|
|
38872
|
+
trace_id?: string;
|
|
38873
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38874
|
+
};
|
|
38875
|
+
Relationships: [];
|
|
38876
|
+
};
|
|
38110
38877
|
logistics_variables: {
|
|
38111
38878
|
Row: {
|
|
38112
38879
|
created_at: string;
|
|
@@ -48679,6 +49446,15 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
48679
49446
|
Args: never;
|
|
48680
49447
|
Returns: boolean;
|
|
48681
49448
|
};
|
|
49449
|
+
cancel_open_print_jobs: {
|
|
49450
|
+
Args: {
|
|
49451
|
+
_cutoff: string;
|
|
49452
|
+
};
|
|
49453
|
+
Returns: {
|
|
49454
|
+
extern_job_id: string;
|
|
49455
|
+
id: string;
|
|
49456
|
+
}[];
|
|
49457
|
+
};
|
|
48682
49458
|
check_offer_product_available_stock: {
|
|
48683
49459
|
Args: {
|
|
48684
49460
|
p_campaign_product_id: string;
|
|
@@ -50291,6 +51067,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50291
51067
|
};
|
|
50292
51068
|
Returns: import("../integrations/supabase/types").Json;
|
|
50293
51069
|
};
|
|
51070
|
+
logistics_cart_plan_status_core: {
|
|
51071
|
+
Args: {
|
|
51072
|
+
p_ref: string;
|
|
51073
|
+
};
|
|
51074
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51075
|
+
};
|
|
50294
51076
|
logistics_cart_release_reason: {
|
|
50295
51077
|
Args: {
|
|
50296
51078
|
p_cart_id: string;
|
|
@@ -50723,6 +51505,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50723
51505
|
};
|
|
50724
51506
|
Returns: import("../integrations/supabase/types").Json;
|
|
50725
51507
|
};
|
|
51508
|
+
logistics_ensure_shipping_notes: {
|
|
51509
|
+
Args: {
|
|
51510
|
+
p_limit?: number;
|
|
51511
|
+
};
|
|
51512
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51513
|
+
};
|
|
50726
51514
|
logistics_fail_task: {
|
|
50727
51515
|
Args: {
|
|
50728
51516
|
p_error: string;
|
|
@@ -50768,6 +51556,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50768
51556
|
isSetofReturn: false;
|
|
50769
51557
|
};
|
|
50770
51558
|
};
|
|
51559
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51560
|
+
Args: never;
|
|
51561
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51562
|
+
};
|
|
50771
51563
|
logistics_floriday_cart_plan: {
|
|
50772
51564
|
Args: {
|
|
50773
51565
|
p_order_id: string;
|
|
@@ -50795,6 +51587,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
50795
51587
|
revision: number;
|
|
50796
51588
|
}[];
|
|
50797
51589
|
};
|
|
51590
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51591
|
+
Args: never;
|
|
51592
|
+
Returns: boolean;
|
|
51593
|
+
};
|
|
50798
51594
|
logistics_floriday_finish_push: {
|
|
50799
51595
|
Args: {
|
|
50800
51596
|
_error?: string;
|
|
@@ -51038,6 +51834,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51038
51834
|
};
|
|
51039
51835
|
Returns: string;
|
|
51040
51836
|
};
|
|
51837
|
+
logistics_payload_is_floriday: {
|
|
51838
|
+
Args: {
|
|
51839
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51840
|
+
};
|
|
51841
|
+
Returns: boolean;
|
|
51842
|
+
};
|
|
51041
51843
|
logistics_pick_agenda: {
|
|
51042
51844
|
Args: {
|
|
51043
51845
|
p_from?: string;
|
|
@@ -51160,6 +51962,20 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51160
51962
|
Args: never;
|
|
51161
51963
|
Returns: undefined;
|
|
51162
51964
|
};
|
|
51965
|
+
logistics_plan_progress: {
|
|
51966
|
+
Args: {
|
|
51967
|
+
p_refs: string[];
|
|
51968
|
+
};
|
|
51969
|
+
Returns: {
|
|
51970
|
+
cart_plan_ready: boolean;
|
|
51971
|
+
cart_plan_reason: string;
|
|
51972
|
+
cart_plan_released: boolean;
|
|
51973
|
+
plan_progress: number;
|
|
51974
|
+
plan_state: string;
|
|
51975
|
+
plan_state_since: string;
|
|
51976
|
+
unit_ref: string;
|
|
51977
|
+
}[];
|
|
51978
|
+
};
|
|
51163
51979
|
logistics_plan_prune: {
|
|
51164
51980
|
Args: never;
|
|
51165
51981
|
Returns: number;
|
|
@@ -51181,6 +51997,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51181
51997
|
};
|
|
51182
51998
|
Returns: number;
|
|
51183
51999
|
};
|
|
52000
|
+
logistics_plan_state_for: {
|
|
52001
|
+
Args: {
|
|
52002
|
+
p_ref: string;
|
|
52003
|
+
};
|
|
52004
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52005
|
+
};
|
|
51184
52006
|
logistics_prepare_pick_documents: {
|
|
51185
52007
|
Args: {
|
|
51186
52008
|
p_limit?: number;
|
|
@@ -51239,6 +52061,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51239
52061
|
};
|
|
51240
52062
|
Returns: import("../integrations/supabase/types").Json;
|
|
51241
52063
|
};
|
|
52064
|
+
logistics_refresh_plan_state: {
|
|
52065
|
+
Args: {
|
|
52066
|
+
p_limit?: number;
|
|
52067
|
+
};
|
|
52068
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52069
|
+
};
|
|
51242
52070
|
logistics_replan_all: {
|
|
51243
52071
|
Args: {
|
|
51244
52072
|
p_reason?: string;
|
|
@@ -51413,6 +52241,16 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51413
52241
|
};
|
|
51414
52242
|
Returns: string;
|
|
51415
52243
|
};
|
|
52244
|
+
logistics_shipping_notes_wake_all: {
|
|
52245
|
+
Args: never;
|
|
52246
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52247
|
+
};
|
|
52248
|
+
logistics_slip_is_floriday: {
|
|
52249
|
+
Args: {
|
|
52250
|
+
_slip_job_id: string;
|
|
52251
|
+
};
|
|
52252
|
+
Returns: boolean;
|
|
52253
|
+
};
|
|
51416
52254
|
logistics_slip_note_claim: {
|
|
51417
52255
|
Args: {
|
|
51418
52256
|
_lease_seconds?: number;
|
|
@@ -51519,6 +52357,40 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
51519
52357
|
name: string;
|
|
51520
52358
|
}[];
|
|
51521
52359
|
};
|
|
52360
|
+
logistics_trace: {
|
|
52361
|
+
Args: {
|
|
52362
|
+
p: import("../integrations/supabase/types").Json;
|
|
52363
|
+
};
|
|
52364
|
+
Returns: string;
|
|
52365
|
+
};
|
|
52366
|
+
logistics_trace_batch: {
|
|
52367
|
+
Args: {
|
|
52368
|
+
p: import("../integrations/supabase/types").Json;
|
|
52369
|
+
};
|
|
52370
|
+
Returns: number;
|
|
52371
|
+
};
|
|
52372
|
+
logistics_trace_orders: {
|
|
52373
|
+
Args: {
|
|
52374
|
+
p_limit?: number;
|
|
52375
|
+
p_search?: string;
|
|
52376
|
+
p_since?: string;
|
|
52377
|
+
p_status?: string;
|
|
52378
|
+
};
|
|
52379
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52380
|
+
};
|
|
52381
|
+
logistics_trace_redact: {
|
|
52382
|
+
Args: {
|
|
52383
|
+
p: import("../integrations/supabase/types").Json;
|
|
52384
|
+
};
|
|
52385
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52386
|
+
};
|
|
52387
|
+
logistics_trace_timeline: {
|
|
52388
|
+
Args: {
|
|
52389
|
+
p_limit?: number;
|
|
52390
|
+
p_order_ref: string;
|
|
52391
|
+
};
|
|
52392
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52393
|
+
};
|
|
51522
52394
|
logistics_upsert_task: {
|
|
51523
52395
|
Args: {
|
|
51524
52396
|
p_buffer_ref: string;
|
|
@@ -52560,6 +53432,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
52560
53432
|
};
|
|
52561
53433
|
Returns: undefined;
|
|
52562
53434
|
};
|
|
53435
|
+
prune_floriday_api_log: {
|
|
53436
|
+
Args: never;
|
|
53437
|
+
Returns: number;
|
|
53438
|
+
};
|
|
52563
53439
|
quote_create_from_source: {
|
|
52564
53440
|
Args: {
|
|
52565
53441
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -53436,6 +54312,10 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
|
|
|
53436
54312
|
Args: never;
|
|
53437
54313
|
Returns: string;
|
|
53438
54314
|
};
|
|
54315
|
+
voorraad_cleanup_old_rows: {
|
|
54316
|
+
Args: never;
|
|
54317
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54318
|
+
};
|
|
53439
54319
|
wake_print_queue: {
|
|
53440
54320
|
Args: {
|
|
53441
54321
|
_min_interval_ms?: number;
|
|
@@ -55731,6 +56611,45 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
55731
56611
|
};
|
|
55732
56612
|
Relationships: [];
|
|
55733
56613
|
};
|
|
56614
|
+
customer_product_stickers: {
|
|
56615
|
+
Row: {
|
|
56616
|
+
created_at: string;
|
|
56617
|
+
customer_key: string;
|
|
56618
|
+
file_name: string;
|
|
56619
|
+
file_path: string;
|
|
56620
|
+
file_size: number | null;
|
|
56621
|
+
id: string;
|
|
56622
|
+
mime_type: string | null;
|
|
56623
|
+
trade_item_key: string;
|
|
56624
|
+
updated_at: string;
|
|
56625
|
+
uploaded_by: string | null;
|
|
56626
|
+
};
|
|
56627
|
+
Insert: {
|
|
56628
|
+
created_at?: string;
|
|
56629
|
+
customer_key: string;
|
|
56630
|
+
file_name: string;
|
|
56631
|
+
file_path: string;
|
|
56632
|
+
file_size?: number | null;
|
|
56633
|
+
id?: string;
|
|
56634
|
+
mime_type?: string | null;
|
|
56635
|
+
trade_item_key: string;
|
|
56636
|
+
updated_at?: string;
|
|
56637
|
+
uploaded_by?: string | null;
|
|
56638
|
+
};
|
|
56639
|
+
Update: {
|
|
56640
|
+
created_at?: string;
|
|
56641
|
+
customer_key?: string;
|
|
56642
|
+
file_name?: string;
|
|
56643
|
+
file_path?: string;
|
|
56644
|
+
file_size?: number | null;
|
|
56645
|
+
id?: string;
|
|
56646
|
+
mime_type?: string | null;
|
|
56647
|
+
trade_item_key?: string;
|
|
56648
|
+
updated_at?: string;
|
|
56649
|
+
uploaded_by?: string | null;
|
|
56650
|
+
};
|
|
56651
|
+
Relationships: [];
|
|
56652
|
+
};
|
|
55734
56653
|
customer_selected_assortment: {
|
|
55735
56654
|
Row: {
|
|
55736
56655
|
article_number: string | null;
|
|
@@ -55779,6 +56698,30 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
55779
56698
|
referencedColumns: ["id"];
|
|
55780
56699
|
}];
|
|
55781
56700
|
};
|
|
56701
|
+
customer_sticker_settings: {
|
|
56702
|
+
Row: {
|
|
56703
|
+
created_at: string;
|
|
56704
|
+
customer_key: string;
|
|
56705
|
+
height_mm: number;
|
|
56706
|
+
updated_at: string;
|
|
56707
|
+
width_mm: number;
|
|
56708
|
+
};
|
|
56709
|
+
Insert: {
|
|
56710
|
+
created_at?: string;
|
|
56711
|
+
customer_key: string;
|
|
56712
|
+
height_mm?: number;
|
|
56713
|
+
updated_at?: string;
|
|
56714
|
+
width_mm?: number;
|
|
56715
|
+
};
|
|
56716
|
+
Update: {
|
|
56717
|
+
created_at?: string;
|
|
56718
|
+
customer_key?: string;
|
|
56719
|
+
height_mm?: number;
|
|
56720
|
+
updated_at?: string;
|
|
56721
|
+
width_mm?: number;
|
|
56722
|
+
};
|
|
56723
|
+
Relationships: [];
|
|
56724
|
+
};
|
|
55782
56725
|
customer_trade_settings: {
|
|
55783
56726
|
Row: {
|
|
55784
56727
|
category: string;
|
|
@@ -59109,6 +60052,102 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
59109
60052
|
referencedColumns: ["id"];
|
|
59110
60053
|
}];
|
|
59111
60054
|
};
|
|
60055
|
+
floriday_api_log: {
|
|
60056
|
+
Row: {
|
|
60057
|
+
action: string | null;
|
|
60058
|
+
caller: string | null;
|
|
60059
|
+
connection_id: string | null;
|
|
60060
|
+
created_at: string;
|
|
60061
|
+
cursor_from: number | null;
|
|
60062
|
+
direction: string;
|
|
60063
|
+
duration_ms: number | null;
|
|
60064
|
+
environment: string | null;
|
|
60065
|
+
error: string | null;
|
|
60066
|
+
floriday_id: string | null;
|
|
60067
|
+
floriday_reference: string | null;
|
|
60068
|
+
http_status: number;
|
|
60069
|
+
id: string;
|
|
60070
|
+
item_count: number | null;
|
|
60071
|
+
kind: string | null;
|
|
60072
|
+
local_id: string | null;
|
|
60073
|
+
local_reference: string | null;
|
|
60074
|
+
method: string;
|
|
60075
|
+
module: string | null;
|
|
60076
|
+
ok: boolean;
|
|
60077
|
+
path: string;
|
|
60078
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60079
|
+
resource_type: string | null;
|
|
60080
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60081
|
+
write_log_id: string | null;
|
|
60082
|
+
};
|
|
60083
|
+
Insert: {
|
|
60084
|
+
action?: string | null;
|
|
60085
|
+
caller?: string | null;
|
|
60086
|
+
connection_id?: string | null;
|
|
60087
|
+
created_at?: string;
|
|
60088
|
+
cursor_from?: number | null;
|
|
60089
|
+
direction: string;
|
|
60090
|
+
duration_ms?: number | null;
|
|
60091
|
+
environment?: string | null;
|
|
60092
|
+
error?: string | null;
|
|
60093
|
+
floriday_id?: string | null;
|
|
60094
|
+
floriday_reference?: string | null;
|
|
60095
|
+
http_status?: number;
|
|
60096
|
+
id?: string;
|
|
60097
|
+
item_count?: number | null;
|
|
60098
|
+
kind?: string | null;
|
|
60099
|
+
local_id?: string | null;
|
|
60100
|
+
local_reference?: string | null;
|
|
60101
|
+
method: string;
|
|
60102
|
+
module?: string | null;
|
|
60103
|
+
ok?: boolean;
|
|
60104
|
+
path: string;
|
|
60105
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60106
|
+
resource_type?: string | null;
|
|
60107
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60108
|
+
write_log_id?: string | null;
|
|
60109
|
+
};
|
|
60110
|
+
Update: {
|
|
60111
|
+
action?: string | null;
|
|
60112
|
+
caller?: string | null;
|
|
60113
|
+
connection_id?: string | null;
|
|
60114
|
+
created_at?: string;
|
|
60115
|
+
cursor_from?: number | null;
|
|
60116
|
+
direction?: string;
|
|
60117
|
+
duration_ms?: number | null;
|
|
60118
|
+
environment?: string | null;
|
|
60119
|
+
error?: string | null;
|
|
60120
|
+
floriday_id?: string | null;
|
|
60121
|
+
floriday_reference?: string | null;
|
|
60122
|
+
http_status?: number;
|
|
60123
|
+
id?: string;
|
|
60124
|
+
item_count?: number | null;
|
|
60125
|
+
kind?: string | null;
|
|
60126
|
+
local_id?: string | null;
|
|
60127
|
+
local_reference?: string | null;
|
|
60128
|
+
method?: string;
|
|
60129
|
+
module?: string | null;
|
|
60130
|
+
ok?: boolean;
|
|
60131
|
+
path?: string;
|
|
60132
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60133
|
+
resource_type?: string | null;
|
|
60134
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60135
|
+
write_log_id?: string | null;
|
|
60136
|
+
};
|
|
60137
|
+
Relationships: [{
|
|
60138
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60139
|
+
columns: ["connection_id"];
|
|
60140
|
+
isOneToOne: false;
|
|
60141
|
+
referencedRelation: "floriday_connections";
|
|
60142
|
+
referencedColumns: ["id"];
|
|
60143
|
+
}, {
|
|
60144
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60145
|
+
columns: ["write_log_id"];
|
|
60146
|
+
isOneToOne: false;
|
|
60147
|
+
referencedRelation: "floriday_write_log";
|
|
60148
|
+
referencedColumns: ["id"];
|
|
60149
|
+
}];
|
|
60150
|
+
};
|
|
59112
60151
|
floriday_auction_letters_cache: {
|
|
59113
60152
|
Row: {
|
|
59114
60153
|
auction_letter_code: string;
|
|
@@ -60309,6 +61348,69 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
60309
61348
|
referencedColumns: ["id"];
|
|
60310
61349
|
}];
|
|
60311
61350
|
};
|
|
61351
|
+
floriday_link_templates: {
|
|
61352
|
+
Row: {
|
|
61353
|
+
created_at: string;
|
|
61354
|
+
floriday_url_template: string | null;
|
|
61355
|
+
is_active: boolean;
|
|
61356
|
+
label: string;
|
|
61357
|
+
local_url_template: string | null;
|
|
61358
|
+
resource_type: string;
|
|
61359
|
+
updated_at: string;
|
|
61360
|
+
};
|
|
61361
|
+
Insert: {
|
|
61362
|
+
created_at?: string;
|
|
61363
|
+
floriday_url_template?: string | null;
|
|
61364
|
+
is_active?: boolean;
|
|
61365
|
+
label: string;
|
|
61366
|
+
local_url_template?: string | null;
|
|
61367
|
+
resource_type: string;
|
|
61368
|
+
updated_at?: string;
|
|
61369
|
+
};
|
|
61370
|
+
Update: {
|
|
61371
|
+
created_at?: string;
|
|
61372
|
+
floriday_url_template?: string | null;
|
|
61373
|
+
is_active?: boolean;
|
|
61374
|
+
label?: string;
|
|
61375
|
+
local_url_template?: string | null;
|
|
61376
|
+
resource_type?: string;
|
|
61377
|
+
updated_at?: string;
|
|
61378
|
+
};
|
|
61379
|
+
Relationships: [];
|
|
61380
|
+
};
|
|
61381
|
+
floriday_log_retention: {
|
|
61382
|
+
Row: {
|
|
61383
|
+
created_at: string;
|
|
61384
|
+
direction: string | null;
|
|
61385
|
+
id: string;
|
|
61386
|
+
keep_failed_days: number | null;
|
|
61387
|
+
keep_ok_days: number | null;
|
|
61388
|
+
note: string | null;
|
|
61389
|
+
resource_type: string | null;
|
|
61390
|
+
updated_at: string;
|
|
61391
|
+
};
|
|
61392
|
+
Insert: {
|
|
61393
|
+
created_at?: string;
|
|
61394
|
+
direction?: string | null;
|
|
61395
|
+
id?: string;
|
|
61396
|
+
keep_failed_days?: number | null;
|
|
61397
|
+
keep_ok_days?: number | null;
|
|
61398
|
+
note?: string | null;
|
|
61399
|
+
resource_type?: string | null;
|
|
61400
|
+
updated_at?: string;
|
|
61401
|
+
};
|
|
61402
|
+
Update: {
|
|
61403
|
+
created_at?: string;
|
|
61404
|
+
direction?: string | null;
|
|
61405
|
+
id?: string;
|
|
61406
|
+
keep_failed_days?: number | null;
|
|
61407
|
+
keep_ok_days?: number | null;
|
|
61408
|
+
note?: string | null;
|
|
61409
|
+
resource_type?: string | null;
|
|
61410
|
+
updated_at?: string;
|
|
61411
|
+
};
|
|
61412
|
+
Relationships: [];
|
|
61413
|
+
};
|
|
60312
61414
|
floriday_logistic_labels_cache: {
|
|
60313
61415
|
Row: {
|
|
60314
61416
|
byte_size: number | null;
|
|
@@ -64848,6 +65950,111 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
64848
65950
|
};
|
|
64849
65951
|
Relationships: [];
|
|
64850
65952
|
};
|
|
65953
|
+
logistics_trace_events: {
|
|
65954
|
+
Row: {
|
|
65955
|
+
actor: string | null;
|
|
65956
|
+
attempts: number;
|
|
65957
|
+
cart_ref: string | null;
|
|
65958
|
+
created_at: string;
|
|
65959
|
+
db_action: string | null;
|
|
65960
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
65961
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
65962
|
+
db_record: string | null;
|
|
65963
|
+
db_table: string | null;
|
|
65964
|
+
decision: string | null;
|
|
65965
|
+
duration_ms: number | null;
|
|
65966
|
+
error: string | null;
|
|
65967
|
+
external_action: string | null;
|
|
65968
|
+
external_ref: string | null;
|
|
65969
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
65970
|
+
external_status: string | null;
|
|
65971
|
+
external_system: string | null;
|
|
65972
|
+
id: string;
|
|
65973
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
65974
|
+
next_attempt_at: string | null;
|
|
65975
|
+
order_ref: string | null;
|
|
65976
|
+
order_source: string | null;
|
|
65977
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
65978
|
+
phase: string;
|
|
65979
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
65980
|
+
reason: string | null;
|
|
65981
|
+
rule: string | null;
|
|
65982
|
+
slip_ref: string | null;
|
|
65983
|
+
status: string;
|
|
65984
|
+
step: string;
|
|
65985
|
+
trace_id: string;
|
|
65986
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
65987
|
+
};
|
|
65988
|
+
Insert: {
|
|
65989
|
+
actor?: string | null;
|
|
65990
|
+
attempts?: number;
|
|
65991
|
+
cart_ref?: string | null;
|
|
65992
|
+
created_at?: string;
|
|
65993
|
+
db_action?: string | null;
|
|
65994
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
65995
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
65996
|
+
db_record?: string | null;
|
|
65997
|
+
db_table?: string | null;
|
|
65998
|
+
decision?: string | null;
|
|
65999
|
+
duration_ms?: number | null;
|
|
66000
|
+
error?: string | null;
|
|
66001
|
+
external_action?: string | null;
|
|
66002
|
+
external_ref?: string | null;
|
|
66003
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66004
|
+
external_status?: string | null;
|
|
66005
|
+
external_system?: string | null;
|
|
66006
|
+
id?: string;
|
|
66007
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66008
|
+
next_attempt_at?: string | null;
|
|
66009
|
+
order_ref?: string | null;
|
|
66010
|
+
order_source?: string | null;
|
|
66011
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66012
|
+
phase: string;
|
|
66013
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66014
|
+
reason?: string | null;
|
|
66015
|
+
rule?: string | null;
|
|
66016
|
+
slip_ref?: string | null;
|
|
66017
|
+
status: string;
|
|
66018
|
+
step: string;
|
|
66019
|
+
trace_id?: string;
|
|
66020
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66021
|
+
};
|
|
66022
|
+
Update: {
|
|
66023
|
+
actor?: string | null;
|
|
66024
|
+
attempts?: number;
|
|
66025
|
+
cart_ref?: string | null;
|
|
66026
|
+
created_at?: string;
|
|
66027
|
+
db_action?: string | null;
|
|
66028
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66029
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66030
|
+
db_record?: string | null;
|
|
66031
|
+
db_table?: string | null;
|
|
66032
|
+
decision?: string | null;
|
|
66033
|
+
duration_ms?: number | null;
|
|
66034
|
+
error?: string | null;
|
|
66035
|
+
external_action?: string | null;
|
|
66036
|
+
external_ref?: string | null;
|
|
66037
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66038
|
+
external_status?: string | null;
|
|
66039
|
+
external_system?: string | null;
|
|
66040
|
+
id?: string;
|
|
66041
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66042
|
+
next_attempt_at?: string | null;
|
|
66043
|
+
order_ref?: string | null;
|
|
66044
|
+
order_source?: string | null;
|
|
66045
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66046
|
+
phase?: string;
|
|
66047
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66048
|
+
reason?: string | null;
|
|
66049
|
+
rule?: string | null;
|
|
66050
|
+
slip_ref?: string | null;
|
|
66051
|
+
status?: string;
|
|
66052
|
+
step?: string;
|
|
66053
|
+
trace_id?: string;
|
|
66054
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66055
|
+
};
|
|
66056
|
+
Relationships: [];
|
|
66057
|
+
};
|
|
64851
66058
|
logistics_variables: {
|
|
64852
66059
|
Row: {
|
|
64853
66060
|
created_at: string;
|
|
@@ -75420,6 +76627,15 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
75420
76627
|
Args: never;
|
|
75421
76628
|
Returns: boolean;
|
|
75422
76629
|
};
|
|
76630
|
+
cancel_open_print_jobs: {
|
|
76631
|
+
Args: {
|
|
76632
|
+
_cutoff: string;
|
|
76633
|
+
};
|
|
76634
|
+
Returns: {
|
|
76635
|
+
extern_job_id: string;
|
|
76636
|
+
id: string;
|
|
76637
|
+
}[];
|
|
76638
|
+
};
|
|
75423
76639
|
check_offer_product_available_stock: {
|
|
75424
76640
|
Args: {
|
|
75425
76641
|
p_campaign_product_id: string;
|
|
@@ -77032,6 +78248,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77032
78248
|
};
|
|
77033
78249
|
Returns: import("../integrations/supabase/types").Json;
|
|
77034
78250
|
};
|
|
78251
|
+
logistics_cart_plan_status_core: {
|
|
78252
|
+
Args: {
|
|
78253
|
+
p_ref: string;
|
|
78254
|
+
};
|
|
78255
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78256
|
+
};
|
|
77035
78257
|
logistics_cart_release_reason: {
|
|
77036
78258
|
Args: {
|
|
77037
78259
|
p_cart_id: string;
|
|
@@ -77464,6 +78686,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77464
78686
|
};
|
|
77465
78687
|
Returns: import("../integrations/supabase/types").Json;
|
|
77466
78688
|
};
|
|
78689
|
+
logistics_ensure_shipping_notes: {
|
|
78690
|
+
Args: {
|
|
78691
|
+
p_limit?: number;
|
|
78692
|
+
};
|
|
78693
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78694
|
+
};
|
|
77467
78695
|
logistics_fail_task: {
|
|
77468
78696
|
Args: {
|
|
77469
78697
|
p_error: string;
|
|
@@ -77509,6 +78737,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77509
78737
|
isSetofReturn: false;
|
|
77510
78738
|
};
|
|
77511
78739
|
};
|
|
78740
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78741
|
+
Args: never;
|
|
78742
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78743
|
+
};
|
|
77512
78744
|
logistics_floriday_cart_plan: {
|
|
77513
78745
|
Args: {
|
|
77514
78746
|
p_order_id: string;
|
|
@@ -77536,6 +78768,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77536
78768
|
revision: number;
|
|
77537
78769
|
}[];
|
|
77538
78770
|
};
|
|
78771
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78772
|
+
Args: never;
|
|
78773
|
+
Returns: boolean;
|
|
78774
|
+
};
|
|
77539
78775
|
logistics_floriday_finish_push: {
|
|
77540
78776
|
Args: {
|
|
77541
78777
|
_error?: string;
|
|
@@ -77779,6 +79015,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77779
79015
|
};
|
|
77780
79016
|
Returns: string;
|
|
77781
79017
|
};
|
|
79018
|
+
logistics_payload_is_floriday: {
|
|
79019
|
+
Args: {
|
|
79020
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79021
|
+
};
|
|
79022
|
+
Returns: boolean;
|
|
79023
|
+
};
|
|
77782
79024
|
logistics_pick_agenda: {
|
|
77783
79025
|
Args: {
|
|
77784
79026
|
p_from?: string;
|
|
@@ -77901,6 +79143,20 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77901
79143
|
Args: never;
|
|
77902
79144
|
Returns: undefined;
|
|
77903
79145
|
};
|
|
79146
|
+
logistics_plan_progress: {
|
|
79147
|
+
Args: {
|
|
79148
|
+
p_refs: string[];
|
|
79149
|
+
};
|
|
79150
|
+
Returns: {
|
|
79151
|
+
cart_plan_ready: boolean;
|
|
79152
|
+
cart_plan_reason: string;
|
|
79153
|
+
cart_plan_released: boolean;
|
|
79154
|
+
plan_progress: number;
|
|
79155
|
+
plan_state: string;
|
|
79156
|
+
plan_state_since: string;
|
|
79157
|
+
unit_ref: string;
|
|
79158
|
+
}[];
|
|
79159
|
+
};
|
|
77904
79160
|
logistics_plan_prune: {
|
|
77905
79161
|
Args: never;
|
|
77906
79162
|
Returns: number;
|
|
@@ -77922,6 +79178,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77922
79178
|
};
|
|
77923
79179
|
Returns: number;
|
|
77924
79180
|
};
|
|
79181
|
+
logistics_plan_state_for: {
|
|
79182
|
+
Args: {
|
|
79183
|
+
p_ref: string;
|
|
79184
|
+
};
|
|
79185
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79186
|
+
};
|
|
77925
79187
|
logistics_prepare_pick_documents: {
|
|
77926
79188
|
Args: {
|
|
77927
79189
|
p_limit?: number;
|
|
@@ -77980,6 +79242,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
77980
79242
|
};
|
|
77981
79243
|
Returns: import("../integrations/supabase/types").Json;
|
|
77982
79244
|
};
|
|
79245
|
+
logistics_refresh_plan_state: {
|
|
79246
|
+
Args: {
|
|
79247
|
+
p_limit?: number;
|
|
79248
|
+
};
|
|
79249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79250
|
+
};
|
|
77983
79251
|
logistics_replan_all: {
|
|
77984
79252
|
Args: {
|
|
77985
79253
|
p_reason?: string;
|
|
@@ -78154,6 +79422,16 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
78154
79422
|
};
|
|
78155
79423
|
Returns: string;
|
|
78156
79424
|
};
|
|
79425
|
+
logistics_shipping_notes_wake_all: {
|
|
79426
|
+
Args: never;
|
|
79427
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79428
|
+
};
|
|
79429
|
+
logistics_slip_is_floriday: {
|
|
79430
|
+
Args: {
|
|
79431
|
+
_slip_job_id: string;
|
|
79432
|
+
};
|
|
79433
|
+
Returns: boolean;
|
|
79434
|
+
};
|
|
78157
79435
|
logistics_slip_note_claim: {
|
|
78158
79436
|
Args: {
|
|
78159
79437
|
_lease_seconds?: number;
|
|
@@ -78260,6 +79538,40 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
78260
79538
|
name: string;
|
|
78261
79539
|
}[];
|
|
78262
79540
|
};
|
|
79541
|
+
logistics_trace: {
|
|
79542
|
+
Args: {
|
|
79543
|
+
p: import("../integrations/supabase/types").Json;
|
|
79544
|
+
};
|
|
79545
|
+
Returns: string;
|
|
79546
|
+
};
|
|
79547
|
+
logistics_trace_batch: {
|
|
79548
|
+
Args: {
|
|
79549
|
+
p: import("../integrations/supabase/types").Json;
|
|
79550
|
+
};
|
|
79551
|
+
Returns: number;
|
|
79552
|
+
};
|
|
79553
|
+
logistics_trace_orders: {
|
|
79554
|
+
Args: {
|
|
79555
|
+
p_limit?: number;
|
|
79556
|
+
p_search?: string;
|
|
79557
|
+
p_since?: string;
|
|
79558
|
+
p_status?: string;
|
|
79559
|
+
};
|
|
79560
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79561
|
+
};
|
|
79562
|
+
logistics_trace_redact: {
|
|
79563
|
+
Args: {
|
|
79564
|
+
p: import("../integrations/supabase/types").Json;
|
|
79565
|
+
};
|
|
79566
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79567
|
+
};
|
|
79568
|
+
logistics_trace_timeline: {
|
|
79569
|
+
Args: {
|
|
79570
|
+
p_limit?: number;
|
|
79571
|
+
p_order_ref: string;
|
|
79572
|
+
};
|
|
79573
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79574
|
+
};
|
|
78263
79575
|
logistics_upsert_task: {
|
|
78264
79576
|
Args: {
|
|
78265
79577
|
p_buffer_ref: string;
|
|
@@ -79301,6 +80613,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
79301
80613
|
};
|
|
79302
80614
|
Returns: undefined;
|
|
79303
80615
|
};
|
|
80616
|
+
prune_floriday_api_log: {
|
|
80617
|
+
Args: never;
|
|
80618
|
+
Returns: number;
|
|
80619
|
+
};
|
|
79304
80620
|
quote_create_from_source: {
|
|
79305
80621
|
Args: {
|
|
79306
80622
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -80177,6 +81493,10 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
|
|
|
80177
81493
|
Args: never;
|
|
80178
81494
|
Returns: string;
|
|
80179
81495
|
};
|
|
81496
|
+
voorraad_cleanup_old_rows: {
|
|
81497
|
+
Args: never;
|
|
81498
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81499
|
+
};
|
|
80180
81500
|
wake_print_queue: {
|
|
80181
81501
|
Args: {
|
|
80182
81502
|
_min_interval_ms?: number;
|
|
@@ -82472,6 +83792,45 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
82472
83792
|
};
|
|
82473
83793
|
Relationships: [];
|
|
82474
83794
|
};
|
|
83795
|
+
customer_product_stickers: {
|
|
83796
|
+
Row: {
|
|
83797
|
+
created_at: string;
|
|
83798
|
+
customer_key: string;
|
|
83799
|
+
file_name: string;
|
|
83800
|
+
file_path: string;
|
|
83801
|
+
file_size: number | null;
|
|
83802
|
+
id: string;
|
|
83803
|
+
mime_type: string | null;
|
|
83804
|
+
trade_item_key: string;
|
|
83805
|
+
updated_at: string;
|
|
83806
|
+
uploaded_by: string | null;
|
|
83807
|
+
};
|
|
83808
|
+
Insert: {
|
|
83809
|
+
created_at?: string;
|
|
83810
|
+
customer_key: string;
|
|
83811
|
+
file_name: string;
|
|
83812
|
+
file_path: string;
|
|
83813
|
+
file_size?: number | null;
|
|
83814
|
+
id?: string;
|
|
83815
|
+
mime_type?: string | null;
|
|
83816
|
+
trade_item_key: string;
|
|
83817
|
+
updated_at?: string;
|
|
83818
|
+
uploaded_by?: string | null;
|
|
83819
|
+
};
|
|
83820
|
+
Update: {
|
|
83821
|
+
created_at?: string;
|
|
83822
|
+
customer_key?: string;
|
|
83823
|
+
file_name?: string;
|
|
83824
|
+
file_path?: string;
|
|
83825
|
+
file_size?: number | null;
|
|
83826
|
+
id?: string;
|
|
83827
|
+
mime_type?: string | null;
|
|
83828
|
+
trade_item_key?: string;
|
|
83829
|
+
updated_at?: string;
|
|
83830
|
+
uploaded_by?: string | null;
|
|
83831
|
+
};
|
|
83832
|
+
Relationships: [];
|
|
83833
|
+
};
|
|
82475
83834
|
customer_selected_assortment: {
|
|
82476
83835
|
Row: {
|
|
82477
83836
|
article_number: string | null;
|
|
@@ -82520,6 +83879,30 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
82520
83879
|
referencedColumns: ["id"];
|
|
82521
83880
|
}];
|
|
82522
83881
|
};
|
|
83882
|
+
customer_sticker_settings: {
|
|
83883
|
+
Row: {
|
|
83884
|
+
created_at: string;
|
|
83885
|
+
customer_key: string;
|
|
83886
|
+
height_mm: number;
|
|
83887
|
+
updated_at: string;
|
|
83888
|
+
width_mm: number;
|
|
83889
|
+
};
|
|
83890
|
+
Insert: {
|
|
83891
|
+
created_at?: string;
|
|
83892
|
+
customer_key: string;
|
|
83893
|
+
height_mm?: number;
|
|
83894
|
+
updated_at?: string;
|
|
83895
|
+
width_mm?: number;
|
|
83896
|
+
};
|
|
83897
|
+
Update: {
|
|
83898
|
+
created_at?: string;
|
|
83899
|
+
customer_key?: string;
|
|
83900
|
+
height_mm?: number;
|
|
83901
|
+
updated_at?: string;
|
|
83902
|
+
width_mm?: number;
|
|
83903
|
+
};
|
|
83904
|
+
Relationships: [];
|
|
83905
|
+
};
|
|
82523
83906
|
customer_trade_settings: {
|
|
82524
83907
|
Row: {
|
|
82525
83908
|
category: string;
|
|
@@ -85850,6 +87233,102 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
85850
87233
|
referencedColumns: ["id"];
|
|
85851
87234
|
}];
|
|
85852
87235
|
};
|
|
87236
|
+
floriday_api_log: {
|
|
87237
|
+
Row: {
|
|
87238
|
+
action: string | null;
|
|
87239
|
+
caller: string | null;
|
|
87240
|
+
connection_id: string | null;
|
|
87241
|
+
created_at: string;
|
|
87242
|
+
cursor_from: number | null;
|
|
87243
|
+
direction: string;
|
|
87244
|
+
duration_ms: number | null;
|
|
87245
|
+
environment: string | null;
|
|
87246
|
+
error: string | null;
|
|
87247
|
+
floriday_id: string | null;
|
|
87248
|
+
floriday_reference: string | null;
|
|
87249
|
+
http_status: number;
|
|
87250
|
+
id: string;
|
|
87251
|
+
item_count: number | null;
|
|
87252
|
+
kind: string | null;
|
|
87253
|
+
local_id: string | null;
|
|
87254
|
+
local_reference: string | null;
|
|
87255
|
+
method: string;
|
|
87256
|
+
module: string | null;
|
|
87257
|
+
ok: boolean;
|
|
87258
|
+
path: string;
|
|
87259
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
87260
|
+
resource_type: string | null;
|
|
87261
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
87262
|
+
write_log_id: string | null;
|
|
87263
|
+
};
|
|
87264
|
+
Insert: {
|
|
87265
|
+
action?: string | null;
|
|
87266
|
+
caller?: string | null;
|
|
87267
|
+
connection_id?: string | null;
|
|
87268
|
+
created_at?: string;
|
|
87269
|
+
cursor_from?: number | null;
|
|
87270
|
+
direction: string;
|
|
87271
|
+
duration_ms?: number | null;
|
|
87272
|
+
environment?: string | null;
|
|
87273
|
+
error?: string | null;
|
|
87274
|
+
floriday_id?: string | null;
|
|
87275
|
+
floriday_reference?: string | null;
|
|
87276
|
+
http_status?: number;
|
|
87277
|
+
id?: string;
|
|
87278
|
+
item_count?: number | null;
|
|
87279
|
+
kind?: string | null;
|
|
87280
|
+
local_id?: string | null;
|
|
87281
|
+
local_reference?: string | null;
|
|
87282
|
+
method: string;
|
|
87283
|
+
module?: string | null;
|
|
87284
|
+
ok?: boolean;
|
|
87285
|
+
path: string;
|
|
87286
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87287
|
+
resource_type?: string | null;
|
|
87288
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87289
|
+
write_log_id?: string | null;
|
|
87290
|
+
};
|
|
87291
|
+
Update: {
|
|
87292
|
+
action?: string | null;
|
|
87293
|
+
caller?: string | null;
|
|
87294
|
+
connection_id?: string | null;
|
|
87295
|
+
created_at?: string;
|
|
87296
|
+
cursor_from?: number | null;
|
|
87297
|
+
direction?: string;
|
|
87298
|
+
duration_ms?: number | null;
|
|
87299
|
+
environment?: string | null;
|
|
87300
|
+
error?: string | null;
|
|
87301
|
+
floriday_id?: string | null;
|
|
87302
|
+
floriday_reference?: string | null;
|
|
87303
|
+
http_status?: number;
|
|
87304
|
+
id?: string;
|
|
87305
|
+
item_count?: number | null;
|
|
87306
|
+
kind?: string | null;
|
|
87307
|
+
local_id?: string | null;
|
|
87308
|
+
local_reference?: string | null;
|
|
87309
|
+
method?: string;
|
|
87310
|
+
module?: string | null;
|
|
87311
|
+
ok?: boolean;
|
|
87312
|
+
path?: string;
|
|
87313
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87314
|
+
resource_type?: string | null;
|
|
87315
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87316
|
+
write_log_id?: string | null;
|
|
87317
|
+
};
|
|
87318
|
+
Relationships: [{
|
|
87319
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
87320
|
+
columns: ["connection_id"];
|
|
87321
|
+
isOneToOne: false;
|
|
87322
|
+
referencedRelation: "floriday_connections";
|
|
87323
|
+
referencedColumns: ["id"];
|
|
87324
|
+
}, {
|
|
87325
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
87326
|
+
columns: ["write_log_id"];
|
|
87327
|
+
isOneToOne: false;
|
|
87328
|
+
referencedRelation: "floriday_write_log";
|
|
87329
|
+
referencedColumns: ["id"];
|
|
87330
|
+
}];
|
|
87331
|
+
};
|
|
85853
87332
|
floriday_auction_letters_cache: {
|
|
85854
87333
|
Row: {
|
|
85855
87334
|
auction_letter_code: string;
|
|
@@ -87050,6 +88529,69 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
87050
88529
|
referencedColumns: ["id"];
|
|
87051
88530
|
}];
|
|
87052
88531
|
};
|
|
88532
|
+
floriday_link_templates: {
|
|
88533
|
+
Row: {
|
|
88534
|
+
created_at: string;
|
|
88535
|
+
floriday_url_template: string | null;
|
|
88536
|
+
is_active: boolean;
|
|
88537
|
+
label: string;
|
|
88538
|
+
local_url_template: string | null;
|
|
88539
|
+
resource_type: string;
|
|
88540
|
+
updated_at: string;
|
|
88541
|
+
};
|
|
88542
|
+
Insert: {
|
|
88543
|
+
created_at?: string;
|
|
88544
|
+
floriday_url_template?: string | null;
|
|
88545
|
+
is_active?: boolean;
|
|
88546
|
+
label: string;
|
|
88547
|
+
local_url_template?: string | null;
|
|
88548
|
+
resource_type: string;
|
|
88549
|
+
updated_at?: string;
|
|
88550
|
+
};
|
|
88551
|
+
Update: {
|
|
88552
|
+
created_at?: string;
|
|
88553
|
+
floriday_url_template?: string | null;
|
|
88554
|
+
is_active?: boolean;
|
|
88555
|
+
label?: string;
|
|
88556
|
+
local_url_template?: string | null;
|
|
88557
|
+
resource_type?: string;
|
|
88558
|
+
updated_at?: string;
|
|
88559
|
+
};
|
|
88560
|
+
Relationships: [];
|
|
88561
|
+
};
|
|
88562
|
+
floriday_log_retention: {
|
|
88563
|
+
Row: {
|
|
88564
|
+
created_at: string;
|
|
88565
|
+
direction: string | null;
|
|
88566
|
+
id: string;
|
|
88567
|
+
keep_failed_days: number | null;
|
|
88568
|
+
keep_ok_days: number | null;
|
|
88569
|
+
note: string | null;
|
|
88570
|
+
resource_type: string | null;
|
|
88571
|
+
updated_at: string;
|
|
88572
|
+
};
|
|
88573
|
+
Insert: {
|
|
88574
|
+
created_at?: string;
|
|
88575
|
+
direction?: string | null;
|
|
88576
|
+
id?: string;
|
|
88577
|
+
keep_failed_days?: number | null;
|
|
88578
|
+
keep_ok_days?: number | null;
|
|
88579
|
+
note?: string | null;
|
|
88580
|
+
resource_type?: string | null;
|
|
88581
|
+
updated_at?: string;
|
|
88582
|
+
};
|
|
88583
|
+
Update: {
|
|
88584
|
+
created_at?: string;
|
|
88585
|
+
direction?: string | null;
|
|
88586
|
+
id?: string;
|
|
88587
|
+
keep_failed_days?: number | null;
|
|
88588
|
+
keep_ok_days?: number | null;
|
|
88589
|
+
note?: string | null;
|
|
88590
|
+
resource_type?: string | null;
|
|
88591
|
+
updated_at?: string;
|
|
88592
|
+
};
|
|
88593
|
+
Relationships: [];
|
|
88594
|
+
};
|
|
87053
88595
|
floriday_logistic_labels_cache: {
|
|
87054
88596
|
Row: {
|
|
87055
88597
|
byte_size: number | null;
|
|
@@ -91589,6 +93131,111 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
91589
93131
|
};
|
|
91590
93132
|
Relationships: [];
|
|
91591
93133
|
};
|
|
93134
|
+
logistics_trace_events: {
|
|
93135
|
+
Row: {
|
|
93136
|
+
actor: string | null;
|
|
93137
|
+
attempts: number;
|
|
93138
|
+
cart_ref: string | null;
|
|
93139
|
+
created_at: string;
|
|
93140
|
+
db_action: string | null;
|
|
93141
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
93142
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
93143
|
+
db_record: string | null;
|
|
93144
|
+
db_table: string | null;
|
|
93145
|
+
decision: string | null;
|
|
93146
|
+
duration_ms: number | null;
|
|
93147
|
+
error: string | null;
|
|
93148
|
+
external_action: string | null;
|
|
93149
|
+
external_ref: string | null;
|
|
93150
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
93151
|
+
external_status: string | null;
|
|
93152
|
+
external_system: string | null;
|
|
93153
|
+
id: string;
|
|
93154
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
93155
|
+
next_attempt_at: string | null;
|
|
93156
|
+
order_ref: string | null;
|
|
93157
|
+
order_source: string | null;
|
|
93158
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
93159
|
+
phase: string;
|
|
93160
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
93161
|
+
reason: string | null;
|
|
93162
|
+
rule: string | null;
|
|
93163
|
+
slip_ref: string | null;
|
|
93164
|
+
status: string;
|
|
93165
|
+
step: string;
|
|
93166
|
+
trace_id: string;
|
|
93167
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
93168
|
+
};
|
|
93169
|
+
Insert: {
|
|
93170
|
+
actor?: string | null;
|
|
93171
|
+
attempts?: number;
|
|
93172
|
+
cart_ref?: string | null;
|
|
93173
|
+
created_at?: string;
|
|
93174
|
+
db_action?: string | null;
|
|
93175
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93176
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93177
|
+
db_record?: string | null;
|
|
93178
|
+
db_table?: string | null;
|
|
93179
|
+
decision?: string | null;
|
|
93180
|
+
duration_ms?: number | null;
|
|
93181
|
+
error?: string | null;
|
|
93182
|
+
external_action?: string | null;
|
|
93183
|
+
external_ref?: string | null;
|
|
93184
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93185
|
+
external_status?: string | null;
|
|
93186
|
+
external_system?: string | null;
|
|
93187
|
+
id?: string;
|
|
93188
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93189
|
+
next_attempt_at?: string | null;
|
|
93190
|
+
order_ref?: string | null;
|
|
93191
|
+
order_source?: string | null;
|
|
93192
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93193
|
+
phase: string;
|
|
93194
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93195
|
+
reason?: string | null;
|
|
93196
|
+
rule?: string | null;
|
|
93197
|
+
slip_ref?: string | null;
|
|
93198
|
+
status: string;
|
|
93199
|
+
step: string;
|
|
93200
|
+
trace_id?: string;
|
|
93201
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93202
|
+
};
|
|
93203
|
+
Update: {
|
|
93204
|
+
actor?: string | null;
|
|
93205
|
+
attempts?: number;
|
|
93206
|
+
cart_ref?: string | null;
|
|
93207
|
+
created_at?: string;
|
|
93208
|
+
db_action?: string | null;
|
|
93209
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93210
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93211
|
+
db_record?: string | null;
|
|
93212
|
+
db_table?: string | null;
|
|
93213
|
+
decision?: string | null;
|
|
93214
|
+
duration_ms?: number | null;
|
|
93215
|
+
error?: string | null;
|
|
93216
|
+
external_action?: string | null;
|
|
93217
|
+
external_ref?: string | null;
|
|
93218
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93219
|
+
external_status?: string | null;
|
|
93220
|
+
external_system?: string | null;
|
|
93221
|
+
id?: string;
|
|
93222
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93223
|
+
next_attempt_at?: string | null;
|
|
93224
|
+
order_ref?: string | null;
|
|
93225
|
+
order_source?: string | null;
|
|
93226
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93227
|
+
phase?: string;
|
|
93228
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93229
|
+
reason?: string | null;
|
|
93230
|
+
rule?: string | null;
|
|
93231
|
+
slip_ref?: string | null;
|
|
93232
|
+
status?: string;
|
|
93233
|
+
step?: string;
|
|
93234
|
+
trace_id?: string;
|
|
93235
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93236
|
+
};
|
|
93237
|
+
Relationships: [];
|
|
93238
|
+
};
|
|
91592
93239
|
logistics_variables: {
|
|
91593
93240
|
Row: {
|
|
91594
93241
|
created_at: string;
|
|
@@ -102161,6 +103808,15 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
102161
103808
|
Args: never;
|
|
102162
103809
|
Returns: boolean;
|
|
102163
103810
|
};
|
|
103811
|
+
cancel_open_print_jobs: {
|
|
103812
|
+
Args: {
|
|
103813
|
+
_cutoff: string;
|
|
103814
|
+
};
|
|
103815
|
+
Returns: {
|
|
103816
|
+
extern_job_id: string;
|
|
103817
|
+
id: string;
|
|
103818
|
+
}[];
|
|
103819
|
+
};
|
|
102164
103820
|
check_offer_product_available_stock: {
|
|
102165
103821
|
Args: {
|
|
102166
103822
|
p_campaign_product_id: string;
|
|
@@ -103773,6 +105429,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
103773
105429
|
};
|
|
103774
105430
|
Returns: import("../integrations/supabase/types").Json;
|
|
103775
105431
|
};
|
|
105432
|
+
logistics_cart_plan_status_core: {
|
|
105433
|
+
Args: {
|
|
105434
|
+
p_ref: string;
|
|
105435
|
+
};
|
|
105436
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105437
|
+
};
|
|
103776
105438
|
logistics_cart_release_reason: {
|
|
103777
105439
|
Args: {
|
|
103778
105440
|
p_cart_id: string;
|
|
@@ -104205,6 +105867,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104205
105867
|
};
|
|
104206
105868
|
Returns: import("../integrations/supabase/types").Json;
|
|
104207
105869
|
};
|
|
105870
|
+
logistics_ensure_shipping_notes: {
|
|
105871
|
+
Args: {
|
|
105872
|
+
p_limit?: number;
|
|
105873
|
+
};
|
|
105874
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105875
|
+
};
|
|
104208
105876
|
logistics_fail_task: {
|
|
104209
105877
|
Args: {
|
|
104210
105878
|
p_error: string;
|
|
@@ -104250,6 +105918,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104250
105918
|
isSetofReturn: false;
|
|
104251
105919
|
};
|
|
104252
105920
|
};
|
|
105921
|
+
logistics_fix_wrong_shipping_notes: {
|
|
105922
|
+
Args: never;
|
|
105923
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105924
|
+
};
|
|
104253
105925
|
logistics_floriday_cart_plan: {
|
|
104254
105926
|
Args: {
|
|
104255
105927
|
p_order_id: string;
|
|
@@ -104277,6 +105949,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104277
105949
|
revision: number;
|
|
104278
105950
|
}[];
|
|
104279
105951
|
};
|
|
105952
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
105953
|
+
Args: never;
|
|
105954
|
+
Returns: boolean;
|
|
105955
|
+
};
|
|
104280
105956
|
logistics_floriday_finish_push: {
|
|
104281
105957
|
Args: {
|
|
104282
105958
|
_error?: string;
|
|
@@ -104520,6 +106196,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104520
106196
|
};
|
|
104521
106197
|
Returns: string;
|
|
104522
106198
|
};
|
|
106199
|
+
logistics_payload_is_floriday: {
|
|
106200
|
+
Args: {
|
|
106201
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
106202
|
+
};
|
|
106203
|
+
Returns: boolean;
|
|
106204
|
+
};
|
|
104523
106205
|
logistics_pick_agenda: {
|
|
104524
106206
|
Args: {
|
|
104525
106207
|
p_from?: string;
|
|
@@ -104642,6 +106324,20 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104642
106324
|
Args: never;
|
|
104643
106325
|
Returns: undefined;
|
|
104644
106326
|
};
|
|
106327
|
+
logistics_plan_progress: {
|
|
106328
|
+
Args: {
|
|
106329
|
+
p_refs: string[];
|
|
106330
|
+
};
|
|
106331
|
+
Returns: {
|
|
106332
|
+
cart_plan_ready: boolean;
|
|
106333
|
+
cart_plan_reason: string;
|
|
106334
|
+
cart_plan_released: boolean;
|
|
106335
|
+
plan_progress: number;
|
|
106336
|
+
plan_state: string;
|
|
106337
|
+
plan_state_since: string;
|
|
106338
|
+
unit_ref: string;
|
|
106339
|
+
}[];
|
|
106340
|
+
};
|
|
104645
106341
|
logistics_plan_prune: {
|
|
104646
106342
|
Args: never;
|
|
104647
106343
|
Returns: number;
|
|
@@ -104663,6 +106359,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104663
106359
|
};
|
|
104664
106360
|
Returns: number;
|
|
104665
106361
|
};
|
|
106362
|
+
logistics_plan_state_for: {
|
|
106363
|
+
Args: {
|
|
106364
|
+
p_ref: string;
|
|
106365
|
+
};
|
|
106366
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106367
|
+
};
|
|
104666
106368
|
logistics_prepare_pick_documents: {
|
|
104667
106369
|
Args: {
|
|
104668
106370
|
p_limit?: number;
|
|
@@ -104721,6 +106423,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104721
106423
|
};
|
|
104722
106424
|
Returns: import("../integrations/supabase/types").Json;
|
|
104723
106425
|
};
|
|
106426
|
+
logistics_refresh_plan_state: {
|
|
106427
|
+
Args: {
|
|
106428
|
+
p_limit?: number;
|
|
106429
|
+
};
|
|
106430
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106431
|
+
};
|
|
104724
106432
|
logistics_replan_all: {
|
|
104725
106433
|
Args: {
|
|
104726
106434
|
p_reason?: string;
|
|
@@ -104895,6 +106603,16 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
104895
106603
|
};
|
|
104896
106604
|
Returns: string;
|
|
104897
106605
|
};
|
|
106606
|
+
logistics_shipping_notes_wake_all: {
|
|
106607
|
+
Args: never;
|
|
106608
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106609
|
+
};
|
|
106610
|
+
logistics_slip_is_floriday: {
|
|
106611
|
+
Args: {
|
|
106612
|
+
_slip_job_id: string;
|
|
106613
|
+
};
|
|
106614
|
+
Returns: boolean;
|
|
106615
|
+
};
|
|
104898
106616
|
logistics_slip_note_claim: {
|
|
104899
106617
|
Args: {
|
|
104900
106618
|
_lease_seconds?: number;
|
|
@@ -105001,6 +106719,40 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
105001
106719
|
name: string;
|
|
105002
106720
|
}[];
|
|
105003
106721
|
};
|
|
106722
|
+
logistics_trace: {
|
|
106723
|
+
Args: {
|
|
106724
|
+
p: import("../integrations/supabase/types").Json;
|
|
106725
|
+
};
|
|
106726
|
+
Returns: string;
|
|
106727
|
+
};
|
|
106728
|
+
logistics_trace_batch: {
|
|
106729
|
+
Args: {
|
|
106730
|
+
p: import("../integrations/supabase/types").Json;
|
|
106731
|
+
};
|
|
106732
|
+
Returns: number;
|
|
106733
|
+
};
|
|
106734
|
+
logistics_trace_orders: {
|
|
106735
|
+
Args: {
|
|
106736
|
+
p_limit?: number;
|
|
106737
|
+
p_search?: string;
|
|
106738
|
+
p_since?: string;
|
|
106739
|
+
p_status?: string;
|
|
106740
|
+
};
|
|
106741
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106742
|
+
};
|
|
106743
|
+
logistics_trace_redact: {
|
|
106744
|
+
Args: {
|
|
106745
|
+
p: import("../integrations/supabase/types").Json;
|
|
106746
|
+
};
|
|
106747
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106748
|
+
};
|
|
106749
|
+
logistics_trace_timeline: {
|
|
106750
|
+
Args: {
|
|
106751
|
+
p_limit?: number;
|
|
106752
|
+
p_order_ref: string;
|
|
106753
|
+
};
|
|
106754
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106755
|
+
};
|
|
105004
106756
|
logistics_upsert_task: {
|
|
105005
106757
|
Args: {
|
|
105006
106758
|
p_buffer_ref: string;
|
|
@@ -106042,6 +107794,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
106042
107794
|
};
|
|
106043
107795
|
Returns: undefined;
|
|
106044
107796
|
};
|
|
107797
|
+
prune_floriday_api_log: {
|
|
107798
|
+
Args: never;
|
|
107799
|
+
Returns: number;
|
|
107800
|
+
};
|
|
106045
107801
|
quote_create_from_source: {
|
|
106046
107802
|
Args: {
|
|
106047
107803
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106918,6 +108674,10 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
|
|
|
106918
108674
|
Args: never;
|
|
106919
108675
|
Returns: string;
|
|
106920
108676
|
};
|
|
108677
|
+
voorraad_cleanup_old_rows: {
|
|
108678
|
+
Args: never;
|
|
108679
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
108680
|
+
};
|
|
106921
108681
|
wake_print_queue: {
|
|
106922
108682
|
Args: {
|
|
106923
108683
|
_min_interval_ms?: number;
|
|
@@ -109216,6 +110976,45 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
109216
110976
|
};
|
|
109217
110977
|
Relationships: [];
|
|
109218
110978
|
};
|
|
110979
|
+
customer_product_stickers: {
|
|
110980
|
+
Row: {
|
|
110981
|
+
created_at: string;
|
|
110982
|
+
customer_key: string;
|
|
110983
|
+
file_name: string;
|
|
110984
|
+
file_path: string;
|
|
110985
|
+
file_size: number | null;
|
|
110986
|
+
id: string;
|
|
110987
|
+
mime_type: string | null;
|
|
110988
|
+
trade_item_key: string;
|
|
110989
|
+
updated_at: string;
|
|
110990
|
+
uploaded_by: string | null;
|
|
110991
|
+
};
|
|
110992
|
+
Insert: {
|
|
110993
|
+
created_at?: string;
|
|
110994
|
+
customer_key: string;
|
|
110995
|
+
file_name: string;
|
|
110996
|
+
file_path: string;
|
|
110997
|
+
file_size?: number | null;
|
|
110998
|
+
id?: string;
|
|
110999
|
+
mime_type?: string | null;
|
|
111000
|
+
trade_item_key: string;
|
|
111001
|
+
updated_at?: string;
|
|
111002
|
+
uploaded_by?: string | null;
|
|
111003
|
+
};
|
|
111004
|
+
Update: {
|
|
111005
|
+
created_at?: string;
|
|
111006
|
+
customer_key?: string;
|
|
111007
|
+
file_name?: string;
|
|
111008
|
+
file_path?: string;
|
|
111009
|
+
file_size?: number | null;
|
|
111010
|
+
id?: string;
|
|
111011
|
+
mime_type?: string | null;
|
|
111012
|
+
trade_item_key?: string;
|
|
111013
|
+
updated_at?: string;
|
|
111014
|
+
uploaded_by?: string | null;
|
|
111015
|
+
};
|
|
111016
|
+
Relationships: [];
|
|
111017
|
+
};
|
|
109219
111018
|
customer_selected_assortment: {
|
|
109220
111019
|
Row: {
|
|
109221
111020
|
article_number: string | null;
|
|
@@ -109264,6 +111063,30 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
109264
111063
|
referencedColumns: ["id"];
|
|
109265
111064
|
}];
|
|
109266
111065
|
};
|
|
111066
|
+
customer_sticker_settings: {
|
|
111067
|
+
Row: {
|
|
111068
|
+
created_at: string;
|
|
111069
|
+
customer_key: string;
|
|
111070
|
+
height_mm: number;
|
|
111071
|
+
updated_at: string;
|
|
111072
|
+
width_mm: number;
|
|
111073
|
+
};
|
|
111074
|
+
Insert: {
|
|
111075
|
+
created_at?: string;
|
|
111076
|
+
customer_key: string;
|
|
111077
|
+
height_mm?: number;
|
|
111078
|
+
updated_at?: string;
|
|
111079
|
+
width_mm?: number;
|
|
111080
|
+
};
|
|
111081
|
+
Update: {
|
|
111082
|
+
created_at?: string;
|
|
111083
|
+
customer_key?: string;
|
|
111084
|
+
height_mm?: number;
|
|
111085
|
+
updated_at?: string;
|
|
111086
|
+
width_mm?: number;
|
|
111087
|
+
};
|
|
111088
|
+
Relationships: [];
|
|
111089
|
+
};
|
|
109267
111090
|
customer_trade_settings: {
|
|
109268
111091
|
Row: {
|
|
109269
111092
|
category: string;
|
|
@@ -112594,6 +114417,102 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
112594
114417
|
referencedColumns: ["id"];
|
|
112595
114418
|
}];
|
|
112596
114419
|
};
|
|
114420
|
+
floriday_api_log: {
|
|
114421
|
+
Row: {
|
|
114422
|
+
action: string | null;
|
|
114423
|
+
caller: string | null;
|
|
114424
|
+
connection_id: string | null;
|
|
114425
|
+
created_at: string;
|
|
114426
|
+
cursor_from: number | null;
|
|
114427
|
+
direction: string;
|
|
114428
|
+
duration_ms: number | null;
|
|
114429
|
+
environment: string | null;
|
|
114430
|
+
error: string | null;
|
|
114431
|
+
floriday_id: string | null;
|
|
114432
|
+
floriday_reference: string | null;
|
|
114433
|
+
http_status: number;
|
|
114434
|
+
id: string;
|
|
114435
|
+
item_count: number | null;
|
|
114436
|
+
kind: string | null;
|
|
114437
|
+
local_id: string | null;
|
|
114438
|
+
local_reference: string | null;
|
|
114439
|
+
method: string;
|
|
114440
|
+
module: string | null;
|
|
114441
|
+
ok: boolean;
|
|
114442
|
+
path: string;
|
|
114443
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
114444
|
+
resource_type: string | null;
|
|
114445
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
114446
|
+
write_log_id: string | null;
|
|
114447
|
+
};
|
|
114448
|
+
Insert: {
|
|
114449
|
+
action?: string | null;
|
|
114450
|
+
caller?: string | null;
|
|
114451
|
+
connection_id?: string | null;
|
|
114452
|
+
created_at?: string;
|
|
114453
|
+
cursor_from?: number | null;
|
|
114454
|
+
direction: string;
|
|
114455
|
+
duration_ms?: number | null;
|
|
114456
|
+
environment?: string | null;
|
|
114457
|
+
error?: string | null;
|
|
114458
|
+
floriday_id?: string | null;
|
|
114459
|
+
floriday_reference?: string | null;
|
|
114460
|
+
http_status?: number;
|
|
114461
|
+
id?: string;
|
|
114462
|
+
item_count?: number | null;
|
|
114463
|
+
kind?: string | null;
|
|
114464
|
+
local_id?: string | null;
|
|
114465
|
+
local_reference?: string | null;
|
|
114466
|
+
method: string;
|
|
114467
|
+
module?: string | null;
|
|
114468
|
+
ok?: boolean;
|
|
114469
|
+
path: string;
|
|
114470
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
114471
|
+
resource_type?: string | null;
|
|
114472
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
114473
|
+
write_log_id?: string | null;
|
|
114474
|
+
};
|
|
114475
|
+
Update: {
|
|
114476
|
+
action?: string | null;
|
|
114477
|
+
caller?: string | null;
|
|
114478
|
+
connection_id?: string | null;
|
|
114479
|
+
created_at?: string;
|
|
114480
|
+
cursor_from?: number | null;
|
|
114481
|
+
direction?: string;
|
|
114482
|
+
duration_ms?: number | null;
|
|
114483
|
+
environment?: string | null;
|
|
114484
|
+
error?: string | null;
|
|
114485
|
+
floriday_id?: string | null;
|
|
114486
|
+
floriday_reference?: string | null;
|
|
114487
|
+
http_status?: number;
|
|
114488
|
+
id?: string;
|
|
114489
|
+
item_count?: number | null;
|
|
114490
|
+
kind?: string | null;
|
|
114491
|
+
local_id?: string | null;
|
|
114492
|
+
local_reference?: string | null;
|
|
114493
|
+
method?: string;
|
|
114494
|
+
module?: string | null;
|
|
114495
|
+
ok?: boolean;
|
|
114496
|
+
path?: string;
|
|
114497
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
114498
|
+
resource_type?: string | null;
|
|
114499
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
114500
|
+
write_log_id?: string | null;
|
|
114501
|
+
};
|
|
114502
|
+
Relationships: [{
|
|
114503
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
114504
|
+
columns: ["connection_id"];
|
|
114505
|
+
isOneToOne: false;
|
|
114506
|
+
referencedRelation: "floriday_connections";
|
|
114507
|
+
referencedColumns: ["id"];
|
|
114508
|
+
}, {
|
|
114509
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
114510
|
+
columns: ["write_log_id"];
|
|
114511
|
+
isOneToOne: false;
|
|
114512
|
+
referencedRelation: "floriday_write_log";
|
|
114513
|
+
referencedColumns: ["id"];
|
|
114514
|
+
}];
|
|
114515
|
+
};
|
|
112597
114516
|
floriday_auction_letters_cache: {
|
|
112598
114517
|
Row: {
|
|
112599
114518
|
auction_letter_code: string;
|
|
@@ -113794,6 +115713,69 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
113794
115713
|
referencedColumns: ["id"];
|
|
113795
115714
|
}];
|
|
113796
115715
|
};
|
|
115716
|
+
floriday_link_templates: {
|
|
115717
|
+
Row: {
|
|
115718
|
+
created_at: string;
|
|
115719
|
+
floriday_url_template: string | null;
|
|
115720
|
+
is_active: boolean;
|
|
115721
|
+
label: string;
|
|
115722
|
+
local_url_template: string | null;
|
|
115723
|
+
resource_type: string;
|
|
115724
|
+
updated_at: string;
|
|
115725
|
+
};
|
|
115726
|
+
Insert: {
|
|
115727
|
+
created_at?: string;
|
|
115728
|
+
floriday_url_template?: string | null;
|
|
115729
|
+
is_active?: boolean;
|
|
115730
|
+
label: string;
|
|
115731
|
+
local_url_template?: string | null;
|
|
115732
|
+
resource_type: string;
|
|
115733
|
+
updated_at?: string;
|
|
115734
|
+
};
|
|
115735
|
+
Update: {
|
|
115736
|
+
created_at?: string;
|
|
115737
|
+
floriday_url_template?: string | null;
|
|
115738
|
+
is_active?: boolean;
|
|
115739
|
+
label?: string;
|
|
115740
|
+
local_url_template?: string | null;
|
|
115741
|
+
resource_type?: string;
|
|
115742
|
+
updated_at?: string;
|
|
115743
|
+
};
|
|
115744
|
+
Relationships: [];
|
|
115745
|
+
};
|
|
115746
|
+
floriday_log_retention: {
|
|
115747
|
+
Row: {
|
|
115748
|
+
created_at: string;
|
|
115749
|
+
direction: string | null;
|
|
115750
|
+
id: string;
|
|
115751
|
+
keep_failed_days: number | null;
|
|
115752
|
+
keep_ok_days: number | null;
|
|
115753
|
+
note: string | null;
|
|
115754
|
+
resource_type: string | null;
|
|
115755
|
+
updated_at: string;
|
|
115756
|
+
};
|
|
115757
|
+
Insert: {
|
|
115758
|
+
created_at?: string;
|
|
115759
|
+
direction?: string | null;
|
|
115760
|
+
id?: string;
|
|
115761
|
+
keep_failed_days?: number | null;
|
|
115762
|
+
keep_ok_days?: number | null;
|
|
115763
|
+
note?: string | null;
|
|
115764
|
+
resource_type?: string | null;
|
|
115765
|
+
updated_at?: string;
|
|
115766
|
+
};
|
|
115767
|
+
Update: {
|
|
115768
|
+
created_at?: string;
|
|
115769
|
+
direction?: string | null;
|
|
115770
|
+
id?: string;
|
|
115771
|
+
keep_failed_days?: number | null;
|
|
115772
|
+
keep_ok_days?: number | null;
|
|
115773
|
+
note?: string | null;
|
|
115774
|
+
resource_type?: string | null;
|
|
115775
|
+
updated_at?: string;
|
|
115776
|
+
};
|
|
115777
|
+
Relationships: [];
|
|
115778
|
+
};
|
|
113797
115779
|
floriday_logistic_labels_cache: {
|
|
113798
115780
|
Row: {
|
|
113799
115781
|
byte_size: number | null;
|
|
@@ -118333,6 +120315,111 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
118333
120315
|
};
|
|
118334
120316
|
Relationships: [];
|
|
118335
120317
|
};
|
|
120318
|
+
logistics_trace_events: {
|
|
120319
|
+
Row: {
|
|
120320
|
+
actor: string | null;
|
|
120321
|
+
attempts: number;
|
|
120322
|
+
cart_ref: string | null;
|
|
120323
|
+
created_at: string;
|
|
120324
|
+
db_action: string | null;
|
|
120325
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
120326
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
120327
|
+
db_record: string | null;
|
|
120328
|
+
db_table: string | null;
|
|
120329
|
+
decision: string | null;
|
|
120330
|
+
duration_ms: number | null;
|
|
120331
|
+
error: string | null;
|
|
120332
|
+
external_action: string | null;
|
|
120333
|
+
external_ref: string | null;
|
|
120334
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
120335
|
+
external_status: string | null;
|
|
120336
|
+
external_system: string | null;
|
|
120337
|
+
id: string;
|
|
120338
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
120339
|
+
next_attempt_at: string | null;
|
|
120340
|
+
order_ref: string | null;
|
|
120341
|
+
order_source: string | null;
|
|
120342
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
120343
|
+
phase: string;
|
|
120344
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
120345
|
+
reason: string | null;
|
|
120346
|
+
rule: string | null;
|
|
120347
|
+
slip_ref: string | null;
|
|
120348
|
+
status: string;
|
|
120349
|
+
step: string;
|
|
120350
|
+
trace_id: string;
|
|
120351
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
120352
|
+
};
|
|
120353
|
+
Insert: {
|
|
120354
|
+
actor?: string | null;
|
|
120355
|
+
attempts?: number;
|
|
120356
|
+
cart_ref?: string | null;
|
|
120357
|
+
created_at?: string;
|
|
120358
|
+
db_action?: string | null;
|
|
120359
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
120360
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
120361
|
+
db_record?: string | null;
|
|
120362
|
+
db_table?: string | null;
|
|
120363
|
+
decision?: string | null;
|
|
120364
|
+
duration_ms?: number | null;
|
|
120365
|
+
error?: string | null;
|
|
120366
|
+
external_action?: string | null;
|
|
120367
|
+
external_ref?: string | null;
|
|
120368
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
120369
|
+
external_status?: string | null;
|
|
120370
|
+
external_system?: string | null;
|
|
120371
|
+
id?: string;
|
|
120372
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
120373
|
+
next_attempt_at?: string | null;
|
|
120374
|
+
order_ref?: string | null;
|
|
120375
|
+
order_source?: string | null;
|
|
120376
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
120377
|
+
phase: string;
|
|
120378
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
120379
|
+
reason?: string | null;
|
|
120380
|
+
rule?: string | null;
|
|
120381
|
+
slip_ref?: string | null;
|
|
120382
|
+
status: string;
|
|
120383
|
+
step: string;
|
|
120384
|
+
trace_id?: string;
|
|
120385
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
120386
|
+
};
|
|
120387
|
+
Update: {
|
|
120388
|
+
actor?: string | null;
|
|
120389
|
+
attempts?: number;
|
|
120390
|
+
cart_ref?: string | null;
|
|
120391
|
+
created_at?: string;
|
|
120392
|
+
db_action?: string | null;
|
|
120393
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
120394
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
120395
|
+
db_record?: string | null;
|
|
120396
|
+
db_table?: string | null;
|
|
120397
|
+
decision?: string | null;
|
|
120398
|
+
duration_ms?: number | null;
|
|
120399
|
+
error?: string | null;
|
|
120400
|
+
external_action?: string | null;
|
|
120401
|
+
external_ref?: string | null;
|
|
120402
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
120403
|
+
external_status?: string | null;
|
|
120404
|
+
external_system?: string | null;
|
|
120405
|
+
id?: string;
|
|
120406
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
120407
|
+
next_attempt_at?: string | null;
|
|
120408
|
+
order_ref?: string | null;
|
|
120409
|
+
order_source?: string | null;
|
|
120410
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
120411
|
+
phase?: string;
|
|
120412
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
120413
|
+
reason?: string | null;
|
|
120414
|
+
rule?: string | null;
|
|
120415
|
+
slip_ref?: string | null;
|
|
120416
|
+
status?: string;
|
|
120417
|
+
step?: string;
|
|
120418
|
+
trace_id?: string;
|
|
120419
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
120420
|
+
};
|
|
120421
|
+
Relationships: [];
|
|
120422
|
+
};
|
|
118336
120423
|
logistics_variables: {
|
|
118337
120424
|
Row: {
|
|
118338
120425
|
created_at: string;
|
|
@@ -128905,6 +130992,15 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
128905
130992
|
Args: never;
|
|
128906
130993
|
Returns: boolean;
|
|
128907
130994
|
};
|
|
130995
|
+
cancel_open_print_jobs: {
|
|
130996
|
+
Args: {
|
|
130997
|
+
_cutoff: string;
|
|
130998
|
+
};
|
|
130999
|
+
Returns: {
|
|
131000
|
+
extern_job_id: string;
|
|
131001
|
+
id: string;
|
|
131002
|
+
}[];
|
|
131003
|
+
};
|
|
128908
131004
|
check_offer_product_available_stock: {
|
|
128909
131005
|
Args: {
|
|
128910
131006
|
p_campaign_product_id: string;
|
|
@@ -130517,6 +132613,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130517
132613
|
};
|
|
130518
132614
|
Returns: import("../integrations/supabase/types").Json;
|
|
130519
132615
|
};
|
|
132616
|
+
logistics_cart_plan_status_core: {
|
|
132617
|
+
Args: {
|
|
132618
|
+
p_ref: string;
|
|
132619
|
+
};
|
|
132620
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
132621
|
+
};
|
|
130520
132622
|
logistics_cart_release_reason: {
|
|
130521
132623
|
Args: {
|
|
130522
132624
|
p_cart_id: string;
|
|
@@ -130949,6 +133051,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130949
133051
|
};
|
|
130950
133052
|
Returns: import("../integrations/supabase/types").Json;
|
|
130951
133053
|
};
|
|
133054
|
+
logistics_ensure_shipping_notes: {
|
|
133055
|
+
Args: {
|
|
133056
|
+
p_limit?: number;
|
|
133057
|
+
};
|
|
133058
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133059
|
+
};
|
|
130952
133060
|
logistics_fail_task: {
|
|
130953
133061
|
Args: {
|
|
130954
133062
|
p_error: string;
|
|
@@ -130994,6 +133102,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
130994
133102
|
isSetofReturn: false;
|
|
130995
133103
|
};
|
|
130996
133104
|
};
|
|
133105
|
+
logistics_fix_wrong_shipping_notes: {
|
|
133106
|
+
Args: never;
|
|
133107
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133108
|
+
};
|
|
130997
133109
|
logistics_floriday_cart_plan: {
|
|
130998
133110
|
Args: {
|
|
130999
133111
|
p_order_id: string;
|
|
@@ -131021,6 +133133,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131021
133133
|
revision: number;
|
|
131022
133134
|
}[];
|
|
131023
133135
|
};
|
|
133136
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
133137
|
+
Args: never;
|
|
133138
|
+
Returns: boolean;
|
|
133139
|
+
};
|
|
131024
133140
|
logistics_floriday_finish_push: {
|
|
131025
133141
|
Args: {
|
|
131026
133142
|
_error?: string;
|
|
@@ -131264,6 +133380,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131264
133380
|
};
|
|
131265
133381
|
Returns: string;
|
|
131266
133382
|
};
|
|
133383
|
+
logistics_payload_is_floriday: {
|
|
133384
|
+
Args: {
|
|
133385
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
133386
|
+
};
|
|
133387
|
+
Returns: boolean;
|
|
133388
|
+
};
|
|
131267
133389
|
logistics_pick_agenda: {
|
|
131268
133390
|
Args: {
|
|
131269
133391
|
p_from?: string;
|
|
@@ -131386,6 +133508,20 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131386
133508
|
Args: never;
|
|
131387
133509
|
Returns: undefined;
|
|
131388
133510
|
};
|
|
133511
|
+
logistics_plan_progress: {
|
|
133512
|
+
Args: {
|
|
133513
|
+
p_refs: string[];
|
|
133514
|
+
};
|
|
133515
|
+
Returns: {
|
|
133516
|
+
cart_plan_ready: boolean;
|
|
133517
|
+
cart_plan_reason: string;
|
|
133518
|
+
cart_plan_released: boolean;
|
|
133519
|
+
plan_progress: number;
|
|
133520
|
+
plan_state: string;
|
|
133521
|
+
plan_state_since: string;
|
|
133522
|
+
unit_ref: string;
|
|
133523
|
+
}[];
|
|
133524
|
+
};
|
|
131389
133525
|
logistics_plan_prune: {
|
|
131390
133526
|
Args: never;
|
|
131391
133527
|
Returns: number;
|
|
@@ -131407,6 +133543,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131407
133543
|
};
|
|
131408
133544
|
Returns: number;
|
|
131409
133545
|
};
|
|
133546
|
+
logistics_plan_state_for: {
|
|
133547
|
+
Args: {
|
|
133548
|
+
p_ref: string;
|
|
133549
|
+
};
|
|
133550
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133551
|
+
};
|
|
131410
133552
|
logistics_prepare_pick_documents: {
|
|
131411
133553
|
Args: {
|
|
131412
133554
|
p_limit?: number;
|
|
@@ -131465,6 +133607,12 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131465
133607
|
};
|
|
131466
133608
|
Returns: import("../integrations/supabase/types").Json;
|
|
131467
133609
|
};
|
|
133610
|
+
logistics_refresh_plan_state: {
|
|
133611
|
+
Args: {
|
|
133612
|
+
p_limit?: number;
|
|
133613
|
+
};
|
|
133614
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133615
|
+
};
|
|
131468
133616
|
logistics_replan_all: {
|
|
131469
133617
|
Args: {
|
|
131470
133618
|
p_reason?: string;
|
|
@@ -131639,6 +133787,16 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131639
133787
|
};
|
|
131640
133788
|
Returns: string;
|
|
131641
133789
|
};
|
|
133790
|
+
logistics_shipping_notes_wake_all: {
|
|
133791
|
+
Args: never;
|
|
133792
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133793
|
+
};
|
|
133794
|
+
logistics_slip_is_floriday: {
|
|
133795
|
+
Args: {
|
|
133796
|
+
_slip_job_id: string;
|
|
133797
|
+
};
|
|
133798
|
+
Returns: boolean;
|
|
133799
|
+
};
|
|
131642
133800
|
logistics_slip_note_claim: {
|
|
131643
133801
|
Args: {
|
|
131644
133802
|
_lease_seconds?: number;
|
|
@@ -131745,6 +133903,40 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
131745
133903
|
name: string;
|
|
131746
133904
|
}[];
|
|
131747
133905
|
};
|
|
133906
|
+
logistics_trace: {
|
|
133907
|
+
Args: {
|
|
133908
|
+
p: import("../integrations/supabase/types").Json;
|
|
133909
|
+
};
|
|
133910
|
+
Returns: string;
|
|
133911
|
+
};
|
|
133912
|
+
logistics_trace_batch: {
|
|
133913
|
+
Args: {
|
|
133914
|
+
p: import("../integrations/supabase/types").Json;
|
|
133915
|
+
};
|
|
133916
|
+
Returns: number;
|
|
133917
|
+
};
|
|
133918
|
+
logistics_trace_orders: {
|
|
133919
|
+
Args: {
|
|
133920
|
+
p_limit?: number;
|
|
133921
|
+
p_search?: string;
|
|
133922
|
+
p_since?: string;
|
|
133923
|
+
p_status?: string;
|
|
133924
|
+
};
|
|
133925
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133926
|
+
};
|
|
133927
|
+
logistics_trace_redact: {
|
|
133928
|
+
Args: {
|
|
133929
|
+
p: import("../integrations/supabase/types").Json;
|
|
133930
|
+
};
|
|
133931
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133932
|
+
};
|
|
133933
|
+
logistics_trace_timeline: {
|
|
133934
|
+
Args: {
|
|
133935
|
+
p_limit?: number;
|
|
133936
|
+
p_order_ref: string;
|
|
133937
|
+
};
|
|
133938
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133939
|
+
};
|
|
131748
133940
|
logistics_upsert_task: {
|
|
131749
133941
|
Args: {
|
|
131750
133942
|
p_buffer_ref: string;
|
|
@@ -132786,6 +134978,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
132786
134978
|
};
|
|
132787
134979
|
Returns: undefined;
|
|
132788
134980
|
};
|
|
134981
|
+
prune_floriday_api_log: {
|
|
134982
|
+
Args: never;
|
|
134983
|
+
Returns: number;
|
|
134984
|
+
};
|
|
132789
134985
|
quote_create_from_source: {
|
|
132790
134986
|
Args: {
|
|
132791
134987
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -133662,6 +135858,10 @@ export declare const gatewayReadFn: import("@tanstack/start-client-core").Requir
|
|
|
133662
135858
|
Args: never;
|
|
133663
135859
|
Returns: string;
|
|
133664
135860
|
};
|
|
135861
|
+
voorraad_cleanup_old_rows: {
|
|
135862
|
+
Args: never;
|
|
135863
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
135864
|
+
};
|
|
133665
135865
|
wake_print_queue: {
|
|
133666
135866
|
Args: {
|
|
133667
135867
|
_min_interval_ms?: number;
|
|
@@ -135970,6 +138170,45 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
135970
138170
|
};
|
|
135971
138171
|
Relationships: [];
|
|
135972
138172
|
};
|
|
138173
|
+
customer_product_stickers: {
|
|
138174
|
+
Row: {
|
|
138175
|
+
created_at: string;
|
|
138176
|
+
customer_key: string;
|
|
138177
|
+
file_name: string;
|
|
138178
|
+
file_path: string;
|
|
138179
|
+
file_size: number | null;
|
|
138180
|
+
id: string;
|
|
138181
|
+
mime_type: string | null;
|
|
138182
|
+
trade_item_key: string;
|
|
138183
|
+
updated_at: string;
|
|
138184
|
+
uploaded_by: string | null;
|
|
138185
|
+
};
|
|
138186
|
+
Insert: {
|
|
138187
|
+
created_at?: string;
|
|
138188
|
+
customer_key: string;
|
|
138189
|
+
file_name: string;
|
|
138190
|
+
file_path: string;
|
|
138191
|
+
file_size?: number | null;
|
|
138192
|
+
id?: string;
|
|
138193
|
+
mime_type?: string | null;
|
|
138194
|
+
trade_item_key: string;
|
|
138195
|
+
updated_at?: string;
|
|
138196
|
+
uploaded_by?: string | null;
|
|
138197
|
+
};
|
|
138198
|
+
Update: {
|
|
138199
|
+
created_at?: string;
|
|
138200
|
+
customer_key?: string;
|
|
138201
|
+
file_name?: string;
|
|
138202
|
+
file_path?: string;
|
|
138203
|
+
file_size?: number | null;
|
|
138204
|
+
id?: string;
|
|
138205
|
+
mime_type?: string | null;
|
|
138206
|
+
trade_item_key?: string;
|
|
138207
|
+
updated_at?: string;
|
|
138208
|
+
uploaded_by?: string | null;
|
|
138209
|
+
};
|
|
138210
|
+
Relationships: [];
|
|
138211
|
+
};
|
|
135973
138212
|
customer_selected_assortment: {
|
|
135974
138213
|
Row: {
|
|
135975
138214
|
article_number: string | null;
|
|
@@ -136018,6 +138257,30 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
136018
138257
|
referencedColumns: ["id"];
|
|
136019
138258
|
}];
|
|
136020
138259
|
};
|
|
138260
|
+
customer_sticker_settings: {
|
|
138261
|
+
Row: {
|
|
138262
|
+
created_at: string;
|
|
138263
|
+
customer_key: string;
|
|
138264
|
+
height_mm: number;
|
|
138265
|
+
updated_at: string;
|
|
138266
|
+
width_mm: number;
|
|
138267
|
+
};
|
|
138268
|
+
Insert: {
|
|
138269
|
+
created_at?: string;
|
|
138270
|
+
customer_key: string;
|
|
138271
|
+
height_mm?: number;
|
|
138272
|
+
updated_at?: string;
|
|
138273
|
+
width_mm?: number;
|
|
138274
|
+
};
|
|
138275
|
+
Update: {
|
|
138276
|
+
created_at?: string;
|
|
138277
|
+
customer_key?: string;
|
|
138278
|
+
height_mm?: number;
|
|
138279
|
+
updated_at?: string;
|
|
138280
|
+
width_mm?: number;
|
|
138281
|
+
};
|
|
138282
|
+
Relationships: [];
|
|
138283
|
+
};
|
|
136021
138284
|
customer_trade_settings: {
|
|
136022
138285
|
Row: {
|
|
136023
138286
|
category: string;
|
|
@@ -139348,6 +141611,102 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
139348
141611
|
referencedColumns: ["id"];
|
|
139349
141612
|
}];
|
|
139350
141613
|
};
|
|
141614
|
+
floriday_api_log: {
|
|
141615
|
+
Row: {
|
|
141616
|
+
action: string | null;
|
|
141617
|
+
caller: string | null;
|
|
141618
|
+
connection_id: string | null;
|
|
141619
|
+
created_at: string;
|
|
141620
|
+
cursor_from: number | null;
|
|
141621
|
+
direction: string;
|
|
141622
|
+
duration_ms: number | null;
|
|
141623
|
+
environment: string | null;
|
|
141624
|
+
error: string | null;
|
|
141625
|
+
floriday_id: string | null;
|
|
141626
|
+
floriday_reference: string | null;
|
|
141627
|
+
http_status: number;
|
|
141628
|
+
id: string;
|
|
141629
|
+
item_count: number | null;
|
|
141630
|
+
kind: string | null;
|
|
141631
|
+
local_id: string | null;
|
|
141632
|
+
local_reference: string | null;
|
|
141633
|
+
method: string;
|
|
141634
|
+
module: string | null;
|
|
141635
|
+
ok: boolean;
|
|
141636
|
+
path: string;
|
|
141637
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
141638
|
+
resource_type: string | null;
|
|
141639
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
141640
|
+
write_log_id: string | null;
|
|
141641
|
+
};
|
|
141642
|
+
Insert: {
|
|
141643
|
+
action?: string | null;
|
|
141644
|
+
caller?: string | null;
|
|
141645
|
+
connection_id?: string | null;
|
|
141646
|
+
created_at?: string;
|
|
141647
|
+
cursor_from?: number | null;
|
|
141648
|
+
direction: string;
|
|
141649
|
+
duration_ms?: number | null;
|
|
141650
|
+
environment?: string | null;
|
|
141651
|
+
error?: string | null;
|
|
141652
|
+
floriday_id?: string | null;
|
|
141653
|
+
floriday_reference?: string | null;
|
|
141654
|
+
http_status?: number;
|
|
141655
|
+
id?: string;
|
|
141656
|
+
item_count?: number | null;
|
|
141657
|
+
kind?: string | null;
|
|
141658
|
+
local_id?: string | null;
|
|
141659
|
+
local_reference?: string | null;
|
|
141660
|
+
method: string;
|
|
141661
|
+
module?: string | null;
|
|
141662
|
+
ok?: boolean;
|
|
141663
|
+
path: string;
|
|
141664
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
141665
|
+
resource_type?: string | null;
|
|
141666
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
141667
|
+
write_log_id?: string | null;
|
|
141668
|
+
};
|
|
141669
|
+
Update: {
|
|
141670
|
+
action?: string | null;
|
|
141671
|
+
caller?: string | null;
|
|
141672
|
+
connection_id?: string | null;
|
|
141673
|
+
created_at?: string;
|
|
141674
|
+
cursor_from?: number | null;
|
|
141675
|
+
direction?: string;
|
|
141676
|
+
duration_ms?: number | null;
|
|
141677
|
+
environment?: string | null;
|
|
141678
|
+
error?: string | null;
|
|
141679
|
+
floriday_id?: string | null;
|
|
141680
|
+
floriday_reference?: string | null;
|
|
141681
|
+
http_status?: number;
|
|
141682
|
+
id?: string;
|
|
141683
|
+
item_count?: number | null;
|
|
141684
|
+
kind?: string | null;
|
|
141685
|
+
local_id?: string | null;
|
|
141686
|
+
local_reference?: string | null;
|
|
141687
|
+
method?: string;
|
|
141688
|
+
module?: string | null;
|
|
141689
|
+
ok?: boolean;
|
|
141690
|
+
path?: string;
|
|
141691
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
141692
|
+
resource_type?: string | null;
|
|
141693
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
141694
|
+
write_log_id?: string | null;
|
|
141695
|
+
};
|
|
141696
|
+
Relationships: [{
|
|
141697
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
141698
|
+
columns: ["connection_id"];
|
|
141699
|
+
isOneToOne: false;
|
|
141700
|
+
referencedRelation: "floriday_connections";
|
|
141701
|
+
referencedColumns: ["id"];
|
|
141702
|
+
}, {
|
|
141703
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
141704
|
+
columns: ["write_log_id"];
|
|
141705
|
+
isOneToOne: false;
|
|
141706
|
+
referencedRelation: "floriday_write_log";
|
|
141707
|
+
referencedColumns: ["id"];
|
|
141708
|
+
}];
|
|
141709
|
+
};
|
|
139351
141710
|
floriday_auction_letters_cache: {
|
|
139352
141711
|
Row: {
|
|
139353
141712
|
auction_letter_code: string;
|
|
@@ -140548,6 +142907,69 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
140548
142907
|
referencedColumns: ["id"];
|
|
140549
142908
|
}];
|
|
140550
142909
|
};
|
|
142910
|
+
floriday_link_templates: {
|
|
142911
|
+
Row: {
|
|
142912
|
+
created_at: string;
|
|
142913
|
+
floriday_url_template: string | null;
|
|
142914
|
+
is_active: boolean;
|
|
142915
|
+
label: string;
|
|
142916
|
+
local_url_template: string | null;
|
|
142917
|
+
resource_type: string;
|
|
142918
|
+
updated_at: string;
|
|
142919
|
+
};
|
|
142920
|
+
Insert: {
|
|
142921
|
+
created_at?: string;
|
|
142922
|
+
floriday_url_template?: string | null;
|
|
142923
|
+
is_active?: boolean;
|
|
142924
|
+
label: string;
|
|
142925
|
+
local_url_template?: string | null;
|
|
142926
|
+
resource_type: string;
|
|
142927
|
+
updated_at?: string;
|
|
142928
|
+
};
|
|
142929
|
+
Update: {
|
|
142930
|
+
created_at?: string;
|
|
142931
|
+
floriday_url_template?: string | null;
|
|
142932
|
+
is_active?: boolean;
|
|
142933
|
+
label?: string;
|
|
142934
|
+
local_url_template?: string | null;
|
|
142935
|
+
resource_type?: string;
|
|
142936
|
+
updated_at?: string;
|
|
142937
|
+
};
|
|
142938
|
+
Relationships: [];
|
|
142939
|
+
};
|
|
142940
|
+
floriday_log_retention: {
|
|
142941
|
+
Row: {
|
|
142942
|
+
created_at: string;
|
|
142943
|
+
direction: string | null;
|
|
142944
|
+
id: string;
|
|
142945
|
+
keep_failed_days: number | null;
|
|
142946
|
+
keep_ok_days: number | null;
|
|
142947
|
+
note: string | null;
|
|
142948
|
+
resource_type: string | null;
|
|
142949
|
+
updated_at: string;
|
|
142950
|
+
};
|
|
142951
|
+
Insert: {
|
|
142952
|
+
created_at?: string;
|
|
142953
|
+
direction?: string | null;
|
|
142954
|
+
id?: string;
|
|
142955
|
+
keep_failed_days?: number | null;
|
|
142956
|
+
keep_ok_days?: number | null;
|
|
142957
|
+
note?: string | null;
|
|
142958
|
+
resource_type?: string | null;
|
|
142959
|
+
updated_at?: string;
|
|
142960
|
+
};
|
|
142961
|
+
Update: {
|
|
142962
|
+
created_at?: string;
|
|
142963
|
+
direction?: string | null;
|
|
142964
|
+
id?: string;
|
|
142965
|
+
keep_failed_days?: number | null;
|
|
142966
|
+
keep_ok_days?: number | null;
|
|
142967
|
+
note?: string | null;
|
|
142968
|
+
resource_type?: string | null;
|
|
142969
|
+
updated_at?: string;
|
|
142970
|
+
};
|
|
142971
|
+
Relationships: [];
|
|
142972
|
+
};
|
|
140551
142973
|
floriday_logistic_labels_cache: {
|
|
140552
142974
|
Row: {
|
|
140553
142975
|
byte_size: number | null;
|
|
@@ -145087,6 +147509,111 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
145087
147509
|
};
|
|
145088
147510
|
Relationships: [];
|
|
145089
147511
|
};
|
|
147512
|
+
logistics_trace_events: {
|
|
147513
|
+
Row: {
|
|
147514
|
+
actor: string | null;
|
|
147515
|
+
attempts: number;
|
|
147516
|
+
cart_ref: string | null;
|
|
147517
|
+
created_at: string;
|
|
147518
|
+
db_action: string | null;
|
|
147519
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
147520
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
147521
|
+
db_record: string | null;
|
|
147522
|
+
db_table: string | null;
|
|
147523
|
+
decision: string | null;
|
|
147524
|
+
duration_ms: number | null;
|
|
147525
|
+
error: string | null;
|
|
147526
|
+
external_action: string | null;
|
|
147527
|
+
external_ref: string | null;
|
|
147528
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
147529
|
+
external_status: string | null;
|
|
147530
|
+
external_system: string | null;
|
|
147531
|
+
id: string;
|
|
147532
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
147533
|
+
next_attempt_at: string | null;
|
|
147534
|
+
order_ref: string | null;
|
|
147535
|
+
order_source: string | null;
|
|
147536
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
147537
|
+
phase: string;
|
|
147538
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
147539
|
+
reason: string | null;
|
|
147540
|
+
rule: string | null;
|
|
147541
|
+
slip_ref: string | null;
|
|
147542
|
+
status: string;
|
|
147543
|
+
step: string;
|
|
147544
|
+
trace_id: string;
|
|
147545
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
147546
|
+
};
|
|
147547
|
+
Insert: {
|
|
147548
|
+
actor?: string | null;
|
|
147549
|
+
attempts?: number;
|
|
147550
|
+
cart_ref?: string | null;
|
|
147551
|
+
created_at?: string;
|
|
147552
|
+
db_action?: string | null;
|
|
147553
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
147554
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
147555
|
+
db_record?: string | null;
|
|
147556
|
+
db_table?: string | null;
|
|
147557
|
+
decision?: string | null;
|
|
147558
|
+
duration_ms?: number | null;
|
|
147559
|
+
error?: string | null;
|
|
147560
|
+
external_action?: string | null;
|
|
147561
|
+
external_ref?: string | null;
|
|
147562
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
147563
|
+
external_status?: string | null;
|
|
147564
|
+
external_system?: string | null;
|
|
147565
|
+
id?: string;
|
|
147566
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
147567
|
+
next_attempt_at?: string | null;
|
|
147568
|
+
order_ref?: string | null;
|
|
147569
|
+
order_source?: string | null;
|
|
147570
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
147571
|
+
phase: string;
|
|
147572
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
147573
|
+
reason?: string | null;
|
|
147574
|
+
rule?: string | null;
|
|
147575
|
+
slip_ref?: string | null;
|
|
147576
|
+
status: string;
|
|
147577
|
+
step: string;
|
|
147578
|
+
trace_id?: string;
|
|
147579
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
147580
|
+
};
|
|
147581
|
+
Update: {
|
|
147582
|
+
actor?: string | null;
|
|
147583
|
+
attempts?: number;
|
|
147584
|
+
cart_ref?: string | null;
|
|
147585
|
+
created_at?: string;
|
|
147586
|
+
db_action?: string | null;
|
|
147587
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
147588
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
147589
|
+
db_record?: string | null;
|
|
147590
|
+
db_table?: string | null;
|
|
147591
|
+
decision?: string | null;
|
|
147592
|
+
duration_ms?: number | null;
|
|
147593
|
+
error?: string | null;
|
|
147594
|
+
external_action?: string | null;
|
|
147595
|
+
external_ref?: string | null;
|
|
147596
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
147597
|
+
external_status?: string | null;
|
|
147598
|
+
external_system?: string | null;
|
|
147599
|
+
id?: string;
|
|
147600
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
147601
|
+
next_attempt_at?: string | null;
|
|
147602
|
+
order_ref?: string | null;
|
|
147603
|
+
order_source?: string | null;
|
|
147604
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
147605
|
+
phase?: string;
|
|
147606
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
147607
|
+
reason?: string | null;
|
|
147608
|
+
rule?: string | null;
|
|
147609
|
+
slip_ref?: string | null;
|
|
147610
|
+
status?: string;
|
|
147611
|
+
step?: string;
|
|
147612
|
+
trace_id?: string;
|
|
147613
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
147614
|
+
};
|
|
147615
|
+
Relationships: [];
|
|
147616
|
+
};
|
|
145090
147617
|
logistics_variables: {
|
|
145091
147618
|
Row: {
|
|
145092
147619
|
created_at: string;
|
|
@@ -155659,6 +158186,15 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
155659
158186
|
Args: never;
|
|
155660
158187
|
Returns: boolean;
|
|
155661
158188
|
};
|
|
158189
|
+
cancel_open_print_jobs: {
|
|
158190
|
+
Args: {
|
|
158191
|
+
_cutoff: string;
|
|
158192
|
+
};
|
|
158193
|
+
Returns: {
|
|
158194
|
+
extern_job_id: string;
|
|
158195
|
+
id: string;
|
|
158196
|
+
}[];
|
|
158197
|
+
};
|
|
155662
158198
|
check_offer_product_available_stock: {
|
|
155663
158199
|
Args: {
|
|
155664
158200
|
p_campaign_product_id: string;
|
|
@@ -157271,6 +159807,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157271
159807
|
};
|
|
157272
159808
|
Returns: import("../integrations/supabase/types").Json;
|
|
157273
159809
|
};
|
|
159810
|
+
logistics_cart_plan_status_core: {
|
|
159811
|
+
Args: {
|
|
159812
|
+
p_ref: string;
|
|
159813
|
+
};
|
|
159814
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
159815
|
+
};
|
|
157274
159816
|
logistics_cart_release_reason: {
|
|
157275
159817
|
Args: {
|
|
157276
159818
|
p_cart_id: string;
|
|
@@ -157703,6 +160245,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157703
160245
|
};
|
|
157704
160246
|
Returns: import("../integrations/supabase/types").Json;
|
|
157705
160247
|
};
|
|
160248
|
+
logistics_ensure_shipping_notes: {
|
|
160249
|
+
Args: {
|
|
160250
|
+
p_limit?: number;
|
|
160251
|
+
};
|
|
160252
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160253
|
+
};
|
|
157706
160254
|
logistics_fail_task: {
|
|
157707
160255
|
Args: {
|
|
157708
160256
|
p_error: string;
|
|
@@ -157748,6 +160296,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157748
160296
|
isSetofReturn: false;
|
|
157749
160297
|
};
|
|
157750
160298
|
};
|
|
160299
|
+
logistics_fix_wrong_shipping_notes: {
|
|
160300
|
+
Args: never;
|
|
160301
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160302
|
+
};
|
|
157751
160303
|
logistics_floriday_cart_plan: {
|
|
157752
160304
|
Args: {
|
|
157753
160305
|
p_order_id: string;
|
|
@@ -157775,6 +160327,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
157775
160327
|
revision: number;
|
|
157776
160328
|
}[];
|
|
157777
160329
|
};
|
|
160330
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
160331
|
+
Args: never;
|
|
160332
|
+
Returns: boolean;
|
|
160333
|
+
};
|
|
157778
160334
|
logistics_floriday_finish_push: {
|
|
157779
160335
|
Args: {
|
|
157780
160336
|
_error?: string;
|
|
@@ -158018,6 +160574,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158018
160574
|
};
|
|
158019
160575
|
Returns: string;
|
|
158020
160576
|
};
|
|
160577
|
+
logistics_payload_is_floriday: {
|
|
160578
|
+
Args: {
|
|
160579
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
160580
|
+
};
|
|
160581
|
+
Returns: boolean;
|
|
160582
|
+
};
|
|
158021
160583
|
logistics_pick_agenda: {
|
|
158022
160584
|
Args: {
|
|
158023
160585
|
p_from?: string;
|
|
@@ -158140,6 +160702,20 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158140
160702
|
Args: never;
|
|
158141
160703
|
Returns: undefined;
|
|
158142
160704
|
};
|
|
160705
|
+
logistics_plan_progress: {
|
|
160706
|
+
Args: {
|
|
160707
|
+
p_refs: string[];
|
|
160708
|
+
};
|
|
160709
|
+
Returns: {
|
|
160710
|
+
cart_plan_ready: boolean;
|
|
160711
|
+
cart_plan_reason: string;
|
|
160712
|
+
cart_plan_released: boolean;
|
|
160713
|
+
plan_progress: number;
|
|
160714
|
+
plan_state: string;
|
|
160715
|
+
plan_state_since: string;
|
|
160716
|
+
unit_ref: string;
|
|
160717
|
+
}[];
|
|
160718
|
+
};
|
|
158143
160719
|
logistics_plan_prune: {
|
|
158144
160720
|
Args: never;
|
|
158145
160721
|
Returns: number;
|
|
@@ -158161,6 +160737,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158161
160737
|
};
|
|
158162
160738
|
Returns: number;
|
|
158163
160739
|
};
|
|
160740
|
+
logistics_plan_state_for: {
|
|
160741
|
+
Args: {
|
|
160742
|
+
p_ref: string;
|
|
160743
|
+
};
|
|
160744
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160745
|
+
};
|
|
158164
160746
|
logistics_prepare_pick_documents: {
|
|
158165
160747
|
Args: {
|
|
158166
160748
|
p_limit?: number;
|
|
@@ -158219,6 +160801,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158219
160801
|
};
|
|
158220
160802
|
Returns: import("../integrations/supabase/types").Json;
|
|
158221
160803
|
};
|
|
160804
|
+
logistics_refresh_plan_state: {
|
|
160805
|
+
Args: {
|
|
160806
|
+
p_limit?: number;
|
|
160807
|
+
};
|
|
160808
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160809
|
+
};
|
|
158222
160810
|
logistics_replan_all: {
|
|
158223
160811
|
Args: {
|
|
158224
160812
|
p_reason?: string;
|
|
@@ -158393,6 +160981,16 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158393
160981
|
};
|
|
158394
160982
|
Returns: string;
|
|
158395
160983
|
};
|
|
160984
|
+
logistics_shipping_notes_wake_all: {
|
|
160985
|
+
Args: never;
|
|
160986
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160987
|
+
};
|
|
160988
|
+
logistics_slip_is_floriday: {
|
|
160989
|
+
Args: {
|
|
160990
|
+
_slip_job_id: string;
|
|
160991
|
+
};
|
|
160992
|
+
Returns: boolean;
|
|
160993
|
+
};
|
|
158396
160994
|
logistics_slip_note_claim: {
|
|
158397
160995
|
Args: {
|
|
158398
160996
|
_lease_seconds?: number;
|
|
@@ -158499,6 +161097,40 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
158499
161097
|
name: string;
|
|
158500
161098
|
}[];
|
|
158501
161099
|
};
|
|
161100
|
+
logistics_trace: {
|
|
161101
|
+
Args: {
|
|
161102
|
+
p: import("../integrations/supabase/types").Json;
|
|
161103
|
+
};
|
|
161104
|
+
Returns: string;
|
|
161105
|
+
};
|
|
161106
|
+
logistics_trace_batch: {
|
|
161107
|
+
Args: {
|
|
161108
|
+
p: import("../integrations/supabase/types").Json;
|
|
161109
|
+
};
|
|
161110
|
+
Returns: number;
|
|
161111
|
+
};
|
|
161112
|
+
logistics_trace_orders: {
|
|
161113
|
+
Args: {
|
|
161114
|
+
p_limit?: number;
|
|
161115
|
+
p_search?: string;
|
|
161116
|
+
p_since?: string;
|
|
161117
|
+
p_status?: string;
|
|
161118
|
+
};
|
|
161119
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161120
|
+
};
|
|
161121
|
+
logistics_trace_redact: {
|
|
161122
|
+
Args: {
|
|
161123
|
+
p: import("../integrations/supabase/types").Json;
|
|
161124
|
+
};
|
|
161125
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161126
|
+
};
|
|
161127
|
+
logistics_trace_timeline: {
|
|
161128
|
+
Args: {
|
|
161129
|
+
p_limit?: number;
|
|
161130
|
+
p_order_ref: string;
|
|
161131
|
+
};
|
|
161132
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161133
|
+
};
|
|
158502
161134
|
logistics_upsert_task: {
|
|
158503
161135
|
Args: {
|
|
158504
161136
|
p_buffer_ref: string;
|
|
@@ -159540,6 +162172,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
159540
162172
|
};
|
|
159541
162173
|
Returns: undefined;
|
|
159542
162174
|
};
|
|
162175
|
+
prune_floriday_api_log: {
|
|
162176
|
+
Args: never;
|
|
162177
|
+
Returns: number;
|
|
162178
|
+
};
|
|
159543
162179
|
quote_create_from_source: {
|
|
159544
162180
|
Args: {
|
|
159545
162181
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -160416,6 +163052,10 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
|
|
|
160416
163052
|
Args: never;
|
|
160417
163053
|
Returns: string;
|
|
160418
163054
|
};
|
|
163055
|
+
voorraad_cleanup_old_rows: {
|
|
163056
|
+
Args: never;
|
|
163057
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
163058
|
+
};
|
|
160419
163059
|
wake_print_queue: {
|
|
160420
163060
|
Args: {
|
|
160421
163061
|
_min_interval_ms?: number;
|