@flowselections/floriday-verkoop-module 1.0.61 → 1.0.62
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/verkoop/VerkoopOrdersPage.d.ts.map +1 -1
- package/dist-lib/components/verkoop/VerkoopOrdersPage.js +18 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +771 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +771 -5
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +776 -5
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/buffer-events.functions.d.ts +771 -5
- package/dist-lib/lib/buffer-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-layers.functions.d.ts +3064 -0
- package/dist-lib/lib/cart-layers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +771 -5
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-planning-settings.functions.d.ts +8426 -0
- package/dist-lib/lib/cart-planning-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +2299 -1
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.js +8 -47
- package/dist-lib/lib/create-order.functions.d.ts +13022 -0
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.js +3 -16
- package/dist-lib/lib/cron/replan-carts.d.ts +1 -1
- package/dist-lib/lib/cron/replan-carts.d.ts.map +1 -1
- package/dist-lib/lib/cron/replan-carts.js +10 -15
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +1532 -0
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-mirror.functions.d.ts +771 -5
- package/dist-lib/lib/floriday-mirror.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +5362 -0
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +1532 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/invoice-timing.functions.d.ts +3064 -0
- package/dist-lib/lib/invoice-timing.functions.d.ts.map +1 -1
- package/dist-lib/lib/load-carriers.functions.d.ts +771 -5
- package/dist-lib/lib/load-carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.functions.d.ts +3830 -0
- package/dist-lib/lib/logistics-engine.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.server.d.ts.map +1 -1
- package/dist-lib/lib/logistics-engine.server.js +2 -9
- package/dist-lib/lib/logistics-stock.functions.d.ts +1532 -0
- package/dist-lib/lib/logistics-stock.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-addresses.functions.d.ts +771 -5
- package/dist-lib/lib/order-addresses.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.d.ts +2307 -3
- package/dist-lib/lib/order-buffers.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-buffers.functions.js +3 -12
- package/dist-lib/lib/order-carrier.functions.d.ts +1532 -0
- package/dist-lib/lib/order-carrier.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-fulfill.functions.d.ts +771 -5
- package/dist-lib/lib/order-fulfill.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-pickup.functions.d.ts +1532 -0
- package/dist-lib/lib/order-pickup.functions.d.ts.map +1 -1
- package/dist-lib/lib/order-shipments.functions.d.ts +3064 -0
- package/dist-lib/lib/order-shipments.functions.d.ts.map +1 -1
- package/dist-lib/lib/product-dimensions.functions.d.ts +1532 -0
- package/dist-lib/lib/product-dimensions.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders-list.functions.d.ts +1532 -0
- package/dist-lib/lib/salesorders-list.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +4623 -17
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.js +16 -21
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts +1532 -0
- package/dist-lib/lib/stock-consumption-alerts.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +771 -5
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2270,6 +2270,45 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
2270
2270
|
};
|
|
2271
2271
|
Relationships: [];
|
|
2272
2272
|
};
|
|
2273
|
+
customer_product_stickers: {
|
|
2274
|
+
Row: {
|
|
2275
|
+
created_at: string;
|
|
2276
|
+
customer_key: string;
|
|
2277
|
+
file_name: string;
|
|
2278
|
+
file_path: string;
|
|
2279
|
+
file_size: number | null;
|
|
2280
|
+
id: string;
|
|
2281
|
+
mime_type: string | null;
|
|
2282
|
+
trade_item_key: string;
|
|
2283
|
+
updated_at: string;
|
|
2284
|
+
uploaded_by: string | null;
|
|
2285
|
+
};
|
|
2286
|
+
Insert: {
|
|
2287
|
+
created_at?: string;
|
|
2288
|
+
customer_key: string;
|
|
2289
|
+
file_name: string;
|
|
2290
|
+
file_path: string;
|
|
2291
|
+
file_size?: number | null;
|
|
2292
|
+
id?: string;
|
|
2293
|
+
mime_type?: string | null;
|
|
2294
|
+
trade_item_key: string;
|
|
2295
|
+
updated_at?: string;
|
|
2296
|
+
uploaded_by?: string | null;
|
|
2297
|
+
};
|
|
2298
|
+
Update: {
|
|
2299
|
+
created_at?: string;
|
|
2300
|
+
customer_key?: string;
|
|
2301
|
+
file_name?: string;
|
|
2302
|
+
file_path?: string;
|
|
2303
|
+
file_size?: number | null;
|
|
2304
|
+
id?: string;
|
|
2305
|
+
mime_type?: string | null;
|
|
2306
|
+
trade_item_key?: string;
|
|
2307
|
+
updated_at?: string;
|
|
2308
|
+
uploaded_by?: string | null;
|
|
2309
|
+
};
|
|
2310
|
+
Relationships: [];
|
|
2311
|
+
};
|
|
2273
2312
|
customer_selected_assortment: {
|
|
2274
2313
|
Row: {
|
|
2275
2314
|
article_number: string | null;
|
|
@@ -2318,6 +2357,30 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
2318
2357
|
referencedColumns: ["id"];
|
|
2319
2358
|
}];
|
|
2320
2359
|
};
|
|
2360
|
+
customer_sticker_settings: {
|
|
2361
|
+
Row: {
|
|
2362
|
+
created_at: string;
|
|
2363
|
+
customer_key: string;
|
|
2364
|
+
height_mm: number;
|
|
2365
|
+
updated_at: string;
|
|
2366
|
+
width_mm: number;
|
|
2367
|
+
};
|
|
2368
|
+
Insert: {
|
|
2369
|
+
created_at?: string;
|
|
2370
|
+
customer_key: string;
|
|
2371
|
+
height_mm?: number;
|
|
2372
|
+
updated_at?: string;
|
|
2373
|
+
width_mm?: number;
|
|
2374
|
+
};
|
|
2375
|
+
Update: {
|
|
2376
|
+
created_at?: string;
|
|
2377
|
+
customer_key?: string;
|
|
2378
|
+
height_mm?: number;
|
|
2379
|
+
updated_at?: string;
|
|
2380
|
+
width_mm?: number;
|
|
2381
|
+
};
|
|
2382
|
+
Relationships: [];
|
|
2383
|
+
};
|
|
2321
2384
|
customer_trade_settings: {
|
|
2322
2385
|
Row: {
|
|
2323
2386
|
category: string;
|
|
@@ -5648,6 +5711,102 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
5648
5711
|
referencedColumns: ["id"];
|
|
5649
5712
|
}];
|
|
5650
5713
|
};
|
|
5714
|
+
floriday_api_log: {
|
|
5715
|
+
Row: {
|
|
5716
|
+
action: string | null;
|
|
5717
|
+
caller: string | null;
|
|
5718
|
+
connection_id: string | null;
|
|
5719
|
+
created_at: string;
|
|
5720
|
+
cursor_from: number | null;
|
|
5721
|
+
direction: string;
|
|
5722
|
+
duration_ms: number | null;
|
|
5723
|
+
environment: string | null;
|
|
5724
|
+
error: string | null;
|
|
5725
|
+
floriday_id: string | null;
|
|
5726
|
+
floriday_reference: string | null;
|
|
5727
|
+
http_status: number;
|
|
5728
|
+
id: string;
|
|
5729
|
+
item_count: number | null;
|
|
5730
|
+
kind: string | null;
|
|
5731
|
+
local_id: string | null;
|
|
5732
|
+
local_reference: string | null;
|
|
5733
|
+
method: string;
|
|
5734
|
+
module: string | null;
|
|
5735
|
+
ok: boolean;
|
|
5736
|
+
path: string;
|
|
5737
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5738
|
+
resource_type: string | null;
|
|
5739
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5740
|
+
write_log_id: string | null;
|
|
5741
|
+
};
|
|
5742
|
+
Insert: {
|
|
5743
|
+
action?: string | null;
|
|
5744
|
+
caller?: string | null;
|
|
5745
|
+
connection_id?: string | null;
|
|
5746
|
+
created_at?: string;
|
|
5747
|
+
cursor_from?: number | null;
|
|
5748
|
+
direction: string;
|
|
5749
|
+
duration_ms?: number | null;
|
|
5750
|
+
environment?: string | null;
|
|
5751
|
+
error?: string | null;
|
|
5752
|
+
floriday_id?: string | null;
|
|
5753
|
+
floriday_reference?: string | null;
|
|
5754
|
+
http_status?: number;
|
|
5755
|
+
id?: string;
|
|
5756
|
+
item_count?: number | null;
|
|
5757
|
+
kind?: string | null;
|
|
5758
|
+
local_id?: string | null;
|
|
5759
|
+
local_reference?: string | null;
|
|
5760
|
+
method: string;
|
|
5761
|
+
module?: string | null;
|
|
5762
|
+
ok?: boolean;
|
|
5763
|
+
path: string;
|
|
5764
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5765
|
+
resource_type?: string | null;
|
|
5766
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5767
|
+
write_log_id?: string | null;
|
|
5768
|
+
};
|
|
5769
|
+
Update: {
|
|
5770
|
+
action?: string | null;
|
|
5771
|
+
caller?: string | null;
|
|
5772
|
+
connection_id?: string | null;
|
|
5773
|
+
created_at?: string;
|
|
5774
|
+
cursor_from?: number | null;
|
|
5775
|
+
direction?: string;
|
|
5776
|
+
duration_ms?: number | null;
|
|
5777
|
+
environment?: string | null;
|
|
5778
|
+
error?: string | null;
|
|
5779
|
+
floriday_id?: string | null;
|
|
5780
|
+
floriday_reference?: string | null;
|
|
5781
|
+
http_status?: number;
|
|
5782
|
+
id?: string;
|
|
5783
|
+
item_count?: number | null;
|
|
5784
|
+
kind?: string | null;
|
|
5785
|
+
local_id?: string | null;
|
|
5786
|
+
local_reference?: string | null;
|
|
5787
|
+
method?: string;
|
|
5788
|
+
module?: string | null;
|
|
5789
|
+
ok?: boolean;
|
|
5790
|
+
path?: string;
|
|
5791
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5792
|
+
resource_type?: string | null;
|
|
5793
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5794
|
+
write_log_id?: string | null;
|
|
5795
|
+
};
|
|
5796
|
+
Relationships: [{
|
|
5797
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5798
|
+
columns: ["connection_id"];
|
|
5799
|
+
isOneToOne: false;
|
|
5800
|
+
referencedRelation: "floriday_connections";
|
|
5801
|
+
referencedColumns: ["id"];
|
|
5802
|
+
}, {
|
|
5803
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5804
|
+
columns: ["write_log_id"];
|
|
5805
|
+
isOneToOne: false;
|
|
5806
|
+
referencedRelation: "floriday_write_log";
|
|
5807
|
+
referencedColumns: ["id"];
|
|
5808
|
+
}];
|
|
5809
|
+
};
|
|
5651
5810
|
floriday_auction_letters_cache: {
|
|
5652
5811
|
Row: {
|
|
5653
5812
|
auction_letter_code: string;
|
|
@@ -5855,6 +6014,84 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
5855
6014
|
referencedColumns: ["id"];
|
|
5856
6015
|
}];
|
|
5857
6016
|
};
|
|
6017
|
+
floriday_catalog_prices_cache: {
|
|
6018
|
+
Row: {
|
|
6019
|
+
connection_id: string;
|
|
6020
|
+
created_at: string;
|
|
6021
|
+
currency: string;
|
|
6022
|
+
id: string;
|
|
6023
|
+
is_deleted: boolean;
|
|
6024
|
+
price: number | null;
|
|
6025
|
+
price_group_id: string | null;
|
|
6026
|
+
price_group_name: string | null;
|
|
6027
|
+
price_type: string;
|
|
6028
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6029
|
+
sales_unit: string | null;
|
|
6030
|
+
sequence_number: number;
|
|
6031
|
+
supplier_article_code: string | null;
|
|
6032
|
+
supply_line_id: string;
|
|
6033
|
+
synced_at: string;
|
|
6034
|
+
trade_item_id: string | null;
|
|
6035
|
+
updated_at: string;
|
|
6036
|
+
valid_from: string | null;
|
|
6037
|
+
valid_to: string | null;
|
|
6038
|
+
week: number | null;
|
|
6039
|
+
year: number | null;
|
|
6040
|
+
};
|
|
6041
|
+
Insert: {
|
|
6042
|
+
connection_id: string;
|
|
6043
|
+
created_at?: string;
|
|
6044
|
+
currency?: string;
|
|
6045
|
+
id?: string;
|
|
6046
|
+
is_deleted?: boolean;
|
|
6047
|
+
price?: number | null;
|
|
6048
|
+
price_group_id?: string | null;
|
|
6049
|
+
price_group_name?: string | null;
|
|
6050
|
+
price_type?: string;
|
|
6051
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6052
|
+
sales_unit?: string | null;
|
|
6053
|
+
sequence_number?: number;
|
|
6054
|
+
supplier_article_code?: string | null;
|
|
6055
|
+
supply_line_id: string;
|
|
6056
|
+
synced_at?: string;
|
|
6057
|
+
trade_item_id?: string | null;
|
|
6058
|
+
updated_at?: string;
|
|
6059
|
+
valid_from?: string | null;
|
|
6060
|
+
valid_to?: string | null;
|
|
6061
|
+
week?: number | null;
|
|
6062
|
+
year?: number | null;
|
|
6063
|
+
};
|
|
6064
|
+
Update: {
|
|
6065
|
+
connection_id?: string;
|
|
6066
|
+
created_at?: string;
|
|
6067
|
+
currency?: string;
|
|
6068
|
+
id?: string;
|
|
6069
|
+
is_deleted?: boolean;
|
|
6070
|
+
price?: number | null;
|
|
6071
|
+
price_group_id?: string | null;
|
|
6072
|
+
price_group_name?: string | null;
|
|
6073
|
+
price_type?: string;
|
|
6074
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6075
|
+
sales_unit?: string | null;
|
|
6076
|
+
sequence_number?: number;
|
|
6077
|
+
supplier_article_code?: string | null;
|
|
6078
|
+
supply_line_id?: string;
|
|
6079
|
+
synced_at?: string;
|
|
6080
|
+
trade_item_id?: string | null;
|
|
6081
|
+
updated_at?: string;
|
|
6082
|
+
valid_from?: string | null;
|
|
6083
|
+
valid_to?: string | null;
|
|
6084
|
+
week?: number | null;
|
|
6085
|
+
year?: number | null;
|
|
6086
|
+
};
|
|
6087
|
+
Relationships: [{
|
|
6088
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6089
|
+
columns: ["connection_id"];
|
|
6090
|
+
isOneToOne: false;
|
|
6091
|
+
referencedRelation: "floriday_connections";
|
|
6092
|
+
referencedColumns: ["id"];
|
|
6093
|
+
}];
|
|
6094
|
+
};
|
|
5858
6095
|
floriday_clock_presales_cache: {
|
|
5859
6096
|
Row: {
|
|
5860
6097
|
buyer_organization_id: string | null;
|
|
@@ -6770,6 +7007,69 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
6770
7007
|
referencedColumns: ["id"];
|
|
6771
7008
|
}];
|
|
6772
7009
|
};
|
|
7010
|
+
floriday_link_templates: {
|
|
7011
|
+
Row: {
|
|
7012
|
+
created_at: string;
|
|
7013
|
+
floriday_url_template: string | null;
|
|
7014
|
+
is_active: boolean;
|
|
7015
|
+
label: string;
|
|
7016
|
+
local_url_template: string | null;
|
|
7017
|
+
resource_type: string;
|
|
7018
|
+
updated_at: string;
|
|
7019
|
+
};
|
|
7020
|
+
Insert: {
|
|
7021
|
+
created_at?: string;
|
|
7022
|
+
floriday_url_template?: string | null;
|
|
7023
|
+
is_active?: boolean;
|
|
7024
|
+
label: string;
|
|
7025
|
+
local_url_template?: string | null;
|
|
7026
|
+
resource_type: string;
|
|
7027
|
+
updated_at?: string;
|
|
7028
|
+
};
|
|
7029
|
+
Update: {
|
|
7030
|
+
created_at?: string;
|
|
7031
|
+
floriday_url_template?: string | null;
|
|
7032
|
+
is_active?: boolean;
|
|
7033
|
+
label?: string;
|
|
7034
|
+
local_url_template?: string | null;
|
|
7035
|
+
resource_type?: string;
|
|
7036
|
+
updated_at?: string;
|
|
7037
|
+
};
|
|
7038
|
+
Relationships: [];
|
|
7039
|
+
};
|
|
7040
|
+
floriday_log_retention: {
|
|
7041
|
+
Row: {
|
|
7042
|
+
created_at: string;
|
|
7043
|
+
direction: string | null;
|
|
7044
|
+
id: string;
|
|
7045
|
+
keep_failed_days: number | null;
|
|
7046
|
+
keep_ok_days: number | null;
|
|
7047
|
+
note: string | null;
|
|
7048
|
+
resource_type: string | null;
|
|
7049
|
+
updated_at: string;
|
|
7050
|
+
};
|
|
7051
|
+
Insert: {
|
|
7052
|
+
created_at?: string;
|
|
7053
|
+
direction?: string | null;
|
|
7054
|
+
id?: string;
|
|
7055
|
+
keep_failed_days?: number | null;
|
|
7056
|
+
keep_ok_days?: number | null;
|
|
7057
|
+
note?: string | null;
|
|
7058
|
+
resource_type?: string | null;
|
|
7059
|
+
updated_at?: string;
|
|
7060
|
+
};
|
|
7061
|
+
Update: {
|
|
7062
|
+
created_at?: string;
|
|
7063
|
+
direction?: string | null;
|
|
7064
|
+
id?: string;
|
|
7065
|
+
keep_failed_days?: number | null;
|
|
7066
|
+
keep_ok_days?: number | null;
|
|
7067
|
+
note?: string | null;
|
|
7068
|
+
resource_type?: string | null;
|
|
7069
|
+
updated_at?: string;
|
|
7070
|
+
};
|
|
7071
|
+
Relationships: [];
|
|
7072
|
+
};
|
|
6773
7073
|
floriday_logistic_labels_cache: {
|
|
6774
7074
|
Row: {
|
|
6775
7075
|
byte_size: number | null;
|
|
@@ -10394,6 +10694,48 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
10394
10694
|
};
|
|
10395
10695
|
Relationships: [];
|
|
10396
10696
|
};
|
|
10697
|
+
logistics_pick_data_requests: {
|
|
10698
|
+
Row: {
|
|
10699
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10700
|
+
created_at: string;
|
|
10701
|
+
event_id: string | null;
|
|
10702
|
+
finished_at: string | null;
|
|
10703
|
+
id: string;
|
|
10704
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10705
|
+
order_ref: string;
|
|
10706
|
+
reason: string | null;
|
|
10707
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10708
|
+
status: string;
|
|
10709
|
+
unit_ref: string | null;
|
|
10710
|
+
};
|
|
10711
|
+
Insert: {
|
|
10712
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10713
|
+
created_at?: string;
|
|
10714
|
+
event_id?: string | null;
|
|
10715
|
+
finished_at?: string | null;
|
|
10716
|
+
id?: string;
|
|
10717
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10718
|
+
order_ref: string;
|
|
10719
|
+
reason?: string | null;
|
|
10720
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10721
|
+
status?: string;
|
|
10722
|
+
unit_ref?: string | null;
|
|
10723
|
+
};
|
|
10724
|
+
Update: {
|
|
10725
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10726
|
+
created_at?: string;
|
|
10727
|
+
event_id?: string | null;
|
|
10728
|
+
finished_at?: string | null;
|
|
10729
|
+
id?: string;
|
|
10730
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10731
|
+
order_ref?: string;
|
|
10732
|
+
reason?: string | null;
|
|
10733
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10734
|
+
status?: string;
|
|
10735
|
+
unit_ref?: string | null;
|
|
10736
|
+
};
|
|
10737
|
+
Relationships: [];
|
|
10738
|
+
};
|
|
10397
10739
|
logistics_pickup_moments: {
|
|
10398
10740
|
Row: {
|
|
10399
10741
|
carrier_ref: string | null;
|
|
@@ -10853,6 +11195,69 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
10853
11195
|
};
|
|
10854
11196
|
Relationships: [];
|
|
10855
11197
|
};
|
|
11198
|
+
logistics_slip_shipping_note: {
|
|
11199
|
+
Row: {
|
|
11200
|
+
attempts: number;
|
|
11201
|
+
batch_key: string | null;
|
|
11202
|
+
cart_id: string | null;
|
|
11203
|
+
created_at: string;
|
|
11204
|
+
error: string | null;
|
|
11205
|
+
error_code: string | null;
|
|
11206
|
+
fulfillment_order_id: string | null;
|
|
11207
|
+
id: string;
|
|
11208
|
+
locked_until: string | null;
|
|
11209
|
+
next_attempt_at: string | null;
|
|
11210
|
+
order_id: string | null;
|
|
11211
|
+
order_number: string | null;
|
|
11212
|
+
print_job_id: string | null;
|
|
11213
|
+
printer_id: string | null;
|
|
11214
|
+
retry_class: string | null;
|
|
11215
|
+
slip_job_id: string;
|
|
11216
|
+
status: string;
|
|
11217
|
+
updated_at: string;
|
|
11218
|
+
};
|
|
11219
|
+
Insert: {
|
|
11220
|
+
attempts?: number;
|
|
11221
|
+
batch_key?: string | null;
|
|
11222
|
+
cart_id?: string | null;
|
|
11223
|
+
created_at?: string;
|
|
11224
|
+
error?: string | null;
|
|
11225
|
+
error_code?: string | null;
|
|
11226
|
+
fulfillment_order_id?: string | null;
|
|
11227
|
+
id?: string;
|
|
11228
|
+
locked_until?: string | null;
|
|
11229
|
+
next_attempt_at?: string | null;
|
|
11230
|
+
order_id?: string | null;
|
|
11231
|
+
order_number?: string | null;
|
|
11232
|
+
print_job_id?: string | null;
|
|
11233
|
+
printer_id?: string | null;
|
|
11234
|
+
retry_class?: string | null;
|
|
11235
|
+
slip_job_id: string;
|
|
11236
|
+
status?: string;
|
|
11237
|
+
updated_at?: string;
|
|
11238
|
+
};
|
|
11239
|
+
Update: {
|
|
11240
|
+
attempts?: number;
|
|
11241
|
+
batch_key?: string | null;
|
|
11242
|
+
cart_id?: string | null;
|
|
11243
|
+
created_at?: string;
|
|
11244
|
+
error?: string | null;
|
|
11245
|
+
error_code?: string | null;
|
|
11246
|
+
fulfillment_order_id?: string | null;
|
|
11247
|
+
id?: string;
|
|
11248
|
+
locked_until?: string | null;
|
|
11249
|
+
next_attempt_at?: string | null;
|
|
11250
|
+
order_id?: string | null;
|
|
11251
|
+
order_number?: string | null;
|
|
11252
|
+
print_job_id?: string | null;
|
|
11253
|
+
printer_id?: string | null;
|
|
11254
|
+
retry_class?: string | null;
|
|
11255
|
+
slip_job_id?: string;
|
|
11256
|
+
status?: string;
|
|
11257
|
+
updated_at?: string;
|
|
11258
|
+
};
|
|
11259
|
+
Relationships: [];
|
|
11260
|
+
};
|
|
10856
11261
|
logistics_staff_planning: {
|
|
10857
11262
|
Row: {
|
|
10858
11263
|
created_at: string;
|
|
@@ -11204,6 +11609,111 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
11204
11609
|
};
|
|
11205
11610
|
Relationships: [];
|
|
11206
11611
|
};
|
|
11612
|
+
logistics_trace_events: {
|
|
11613
|
+
Row: {
|
|
11614
|
+
actor: string | null;
|
|
11615
|
+
attempts: number;
|
|
11616
|
+
cart_ref: string | null;
|
|
11617
|
+
created_at: string;
|
|
11618
|
+
db_action: string | null;
|
|
11619
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11620
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11621
|
+
db_record: string | null;
|
|
11622
|
+
db_table: string | null;
|
|
11623
|
+
decision: string | null;
|
|
11624
|
+
duration_ms: number | null;
|
|
11625
|
+
error: string | null;
|
|
11626
|
+
external_action: string | null;
|
|
11627
|
+
external_ref: string | null;
|
|
11628
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11629
|
+
external_status: string | null;
|
|
11630
|
+
external_system: string | null;
|
|
11631
|
+
id: string;
|
|
11632
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11633
|
+
next_attempt_at: string | null;
|
|
11634
|
+
order_ref: string | null;
|
|
11635
|
+
order_source: string | null;
|
|
11636
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11637
|
+
phase: string;
|
|
11638
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11639
|
+
reason: string | null;
|
|
11640
|
+
rule: string | null;
|
|
11641
|
+
slip_ref: string | null;
|
|
11642
|
+
status: string;
|
|
11643
|
+
step: string;
|
|
11644
|
+
trace_id: string;
|
|
11645
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11646
|
+
};
|
|
11647
|
+
Insert: {
|
|
11648
|
+
actor?: string | null;
|
|
11649
|
+
attempts?: number;
|
|
11650
|
+
cart_ref?: string | null;
|
|
11651
|
+
created_at?: string;
|
|
11652
|
+
db_action?: string | null;
|
|
11653
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11654
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11655
|
+
db_record?: string | null;
|
|
11656
|
+
db_table?: string | null;
|
|
11657
|
+
decision?: string | null;
|
|
11658
|
+
duration_ms?: number | null;
|
|
11659
|
+
error?: string | null;
|
|
11660
|
+
external_action?: string | null;
|
|
11661
|
+
external_ref?: string | null;
|
|
11662
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11663
|
+
external_status?: string | null;
|
|
11664
|
+
external_system?: string | null;
|
|
11665
|
+
id?: string;
|
|
11666
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11667
|
+
next_attempt_at?: string | null;
|
|
11668
|
+
order_ref?: string | null;
|
|
11669
|
+
order_source?: string | null;
|
|
11670
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11671
|
+
phase: string;
|
|
11672
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11673
|
+
reason?: string | null;
|
|
11674
|
+
rule?: string | null;
|
|
11675
|
+
slip_ref?: string | null;
|
|
11676
|
+
status: string;
|
|
11677
|
+
step: string;
|
|
11678
|
+
trace_id?: string;
|
|
11679
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11680
|
+
};
|
|
11681
|
+
Update: {
|
|
11682
|
+
actor?: string | null;
|
|
11683
|
+
attempts?: number;
|
|
11684
|
+
cart_ref?: string | null;
|
|
11685
|
+
created_at?: string;
|
|
11686
|
+
db_action?: string | null;
|
|
11687
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11688
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11689
|
+
db_record?: string | null;
|
|
11690
|
+
db_table?: string | null;
|
|
11691
|
+
decision?: string | null;
|
|
11692
|
+
duration_ms?: number | null;
|
|
11693
|
+
error?: string | null;
|
|
11694
|
+
external_action?: string | null;
|
|
11695
|
+
external_ref?: string | null;
|
|
11696
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11697
|
+
external_status?: string | null;
|
|
11698
|
+
external_system?: string | null;
|
|
11699
|
+
id?: string;
|
|
11700
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11701
|
+
next_attempt_at?: string | null;
|
|
11702
|
+
order_ref?: string | null;
|
|
11703
|
+
order_source?: string | null;
|
|
11704
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11705
|
+
phase?: string;
|
|
11706
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11707
|
+
reason?: string | null;
|
|
11708
|
+
rule?: string | null;
|
|
11709
|
+
slip_ref?: string | null;
|
|
11710
|
+
status?: string;
|
|
11711
|
+
step?: string;
|
|
11712
|
+
trace_id?: string;
|
|
11713
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11714
|
+
};
|
|
11715
|
+
Relationships: [];
|
|
11716
|
+
};
|
|
11207
11717
|
logistics_variables: {
|
|
11208
11718
|
Row: {
|
|
11209
11719
|
created_at: string;
|
|
@@ -21776,6 +22286,15 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
21776
22286
|
Args: never;
|
|
21777
22287
|
Returns: boolean;
|
|
21778
22288
|
};
|
|
22289
|
+
cancel_open_print_jobs: {
|
|
22290
|
+
Args: {
|
|
22291
|
+
_cutoff: string;
|
|
22292
|
+
};
|
|
22293
|
+
Returns: {
|
|
22294
|
+
extern_job_id: string;
|
|
22295
|
+
id: string;
|
|
22296
|
+
}[];
|
|
22297
|
+
};
|
|
21779
22298
|
check_offer_product_available_stock: {
|
|
21780
22299
|
Args: {
|
|
21781
22300
|
p_campaign_product_id: string;
|
|
@@ -23314,6 +23833,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23314
23833
|
};
|
|
23315
23834
|
Returns: string;
|
|
23316
23835
|
};
|
|
23836
|
+
logistics_cart_checkin_at: {
|
|
23837
|
+
Args: {
|
|
23838
|
+
p_cart_id: string;
|
|
23839
|
+
};
|
|
23840
|
+
Returns: string;
|
|
23841
|
+
};
|
|
23317
23842
|
logistics_cart_handled: {
|
|
23318
23843
|
Args: {
|
|
23319
23844
|
p_cart_index: number;
|
|
@@ -23347,10 +23872,22 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23347
23872
|
task_status: string;
|
|
23348
23873
|
}[];
|
|
23349
23874
|
};
|
|
23875
|
+
logistics_cart_is_full: {
|
|
23876
|
+
Args: {
|
|
23877
|
+
p_cart_id: string;
|
|
23878
|
+
};
|
|
23879
|
+
Returns: boolean;
|
|
23880
|
+
};
|
|
23350
23881
|
logistics_cart_layout_method: {
|
|
23351
23882
|
Args: never;
|
|
23352
23883
|
Returns: import("../integrations/supabase/types").Json;
|
|
23353
23884
|
};
|
|
23885
|
+
logistics_cart_order_refs: {
|
|
23886
|
+
Args: {
|
|
23887
|
+
p_cart_id: string;
|
|
23888
|
+
};
|
|
23889
|
+
Returns: string[];
|
|
23890
|
+
};
|
|
23354
23891
|
logistics_cart_plan_overview: {
|
|
23355
23892
|
Args: {
|
|
23356
23893
|
p_days?: number;
|
|
@@ -23370,6 +23907,24 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23370
23907
|
};
|
|
23371
23908
|
Returns: import("../integrations/supabase/types").Json;
|
|
23372
23909
|
};
|
|
23910
|
+
logistics_cart_plan_status_core: {
|
|
23911
|
+
Args: {
|
|
23912
|
+
p_ref: string;
|
|
23913
|
+
};
|
|
23914
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23915
|
+
};
|
|
23916
|
+
logistics_cart_release_reason: {
|
|
23917
|
+
Args: {
|
|
23918
|
+
p_cart_id: string;
|
|
23919
|
+
};
|
|
23920
|
+
Returns: string;
|
|
23921
|
+
};
|
|
23922
|
+
logistics_cart_released: {
|
|
23923
|
+
Args: {
|
|
23924
|
+
p_cart_id: string;
|
|
23925
|
+
};
|
|
23926
|
+
Returns: boolean;
|
|
23927
|
+
};
|
|
23373
23928
|
logistics_cart_seq: {
|
|
23374
23929
|
Args: {
|
|
23375
23930
|
p_order_uuid?: string;
|
|
@@ -23420,6 +23975,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23420
23975
|
unit_ref: string;
|
|
23421
23976
|
}[];
|
|
23422
23977
|
};
|
|
23978
|
+
logistics_carts_per_print: {
|
|
23979
|
+
Args: never;
|
|
23980
|
+
Returns: number;
|
|
23981
|
+
};
|
|
23423
23982
|
logistics_check_order_allowed: {
|
|
23424
23983
|
Args: {
|
|
23425
23984
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23523,6 +24082,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23523
24082
|
isSetofReturn: false;
|
|
23524
24083
|
};
|
|
23525
24084
|
};
|
|
24085
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24086
|
+
Args: never;
|
|
24087
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24088
|
+
};
|
|
23526
24089
|
logistics_complete_task: {
|
|
23527
24090
|
Args: {
|
|
23528
24091
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23774,6 +24337,20 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23774
24337
|
};
|
|
23775
24338
|
Returns: string;
|
|
23776
24339
|
};
|
|
24340
|
+
logistics_ensure_pick_data: {
|
|
24341
|
+
Args: {
|
|
24342
|
+
p_event_id?: string;
|
|
24343
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24344
|
+
p_ref: string;
|
|
24345
|
+
};
|
|
24346
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24347
|
+
};
|
|
24348
|
+
logistics_ensure_shipping_notes: {
|
|
24349
|
+
Args: {
|
|
24350
|
+
p_limit?: number;
|
|
24351
|
+
};
|
|
24352
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24353
|
+
};
|
|
23777
24354
|
logistics_fail_task: {
|
|
23778
24355
|
Args: {
|
|
23779
24356
|
p_error: string;
|
|
@@ -23819,6 +24396,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23819
24396
|
isSetofReturn: false;
|
|
23820
24397
|
};
|
|
23821
24398
|
};
|
|
24399
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24400
|
+
Args: never;
|
|
24401
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24402
|
+
};
|
|
23822
24403
|
logistics_floriday_cart_plan: {
|
|
23823
24404
|
Args: {
|
|
23824
24405
|
p_order_id: string;
|
|
@@ -23846,6 +24427,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23846
24427
|
revision: number;
|
|
23847
24428
|
}[];
|
|
23848
24429
|
};
|
|
24430
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24431
|
+
Args: never;
|
|
24432
|
+
Returns: boolean;
|
|
24433
|
+
};
|
|
23849
24434
|
logistics_floriday_finish_push: {
|
|
23850
24435
|
Args: {
|
|
23851
24436
|
_error?: string;
|
|
@@ -23997,6 +24582,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
23997
24582
|
};
|
|
23998
24583
|
Returns: number;
|
|
23999
24584
|
};
|
|
24585
|
+
logistics_merge_partial_carts: {
|
|
24586
|
+
Args: {
|
|
24587
|
+
p_limit?: number;
|
|
24588
|
+
};
|
|
24589
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24590
|
+
};
|
|
24000
24591
|
logistics_next_workday_date: {
|
|
24001
24592
|
Args: {
|
|
24002
24593
|
p_date: string;
|
|
@@ -24083,6 +24674,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24083
24674
|
};
|
|
24084
24675
|
Returns: string;
|
|
24085
24676
|
};
|
|
24677
|
+
logistics_payload_is_floriday: {
|
|
24678
|
+
Args: {
|
|
24679
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24680
|
+
};
|
|
24681
|
+
Returns: boolean;
|
|
24682
|
+
};
|
|
24086
24683
|
logistics_pick_agenda: {
|
|
24087
24684
|
Args: {
|
|
24088
24685
|
p_from?: string;
|
|
@@ -24111,6 +24708,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24111
24708
|
Args: never;
|
|
24112
24709
|
Returns: import("../integrations/supabase/types").Json;
|
|
24113
24710
|
};
|
|
24711
|
+
logistics_pick_partial_mode: {
|
|
24712
|
+
Args: never;
|
|
24713
|
+
Returns: string;
|
|
24714
|
+
};
|
|
24114
24715
|
logistics_pick_start_estimate: {
|
|
24115
24716
|
Args: {
|
|
24116
24717
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -24201,6 +24802,20 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24201
24802
|
Args: never;
|
|
24202
24803
|
Returns: undefined;
|
|
24203
24804
|
};
|
|
24805
|
+
logistics_plan_progress: {
|
|
24806
|
+
Args: {
|
|
24807
|
+
p_refs: string[];
|
|
24808
|
+
};
|
|
24809
|
+
Returns: {
|
|
24810
|
+
cart_plan_ready: boolean;
|
|
24811
|
+
cart_plan_reason: string;
|
|
24812
|
+
cart_plan_released: boolean;
|
|
24813
|
+
plan_progress: number;
|
|
24814
|
+
plan_state: string;
|
|
24815
|
+
plan_state_since: string;
|
|
24816
|
+
unit_ref: string;
|
|
24817
|
+
}[];
|
|
24818
|
+
};
|
|
24204
24819
|
logistics_plan_prune: {
|
|
24205
24820
|
Args: never;
|
|
24206
24821
|
Returns: number;
|
|
@@ -24222,6 +24837,18 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24222
24837
|
};
|
|
24223
24838
|
Returns: number;
|
|
24224
24839
|
};
|
|
24840
|
+
logistics_plan_state_for: {
|
|
24841
|
+
Args: {
|
|
24842
|
+
p_ref: string;
|
|
24843
|
+
};
|
|
24844
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24845
|
+
};
|
|
24846
|
+
logistics_prepare_pick_documents: {
|
|
24847
|
+
Args: {
|
|
24848
|
+
p_limit?: number;
|
|
24849
|
+
};
|
|
24850
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24851
|
+
};
|
|
24225
24852
|
logistics_prune_buffer_member_queue: {
|
|
24226
24853
|
Args: never;
|
|
24227
24854
|
Returns: number;
|
|
@@ -24262,18 +24889,36 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24262
24889
|
Args: never;
|
|
24263
24890
|
Returns: import("../integrations/supabase/types").Json;
|
|
24264
24891
|
};
|
|
24892
|
+
logistics_refresh_pick_queue_status: {
|
|
24893
|
+
Args: {
|
|
24894
|
+
p_ref: string;
|
|
24895
|
+
};
|
|
24896
|
+
Returns: number;
|
|
24897
|
+
};
|
|
24265
24898
|
logistics_refresh_pickup_moments: {
|
|
24266
24899
|
Args: {
|
|
24267
24900
|
p_weeks?: number;
|
|
24268
24901
|
};
|
|
24269
24902
|
Returns: import("../integrations/supabase/types").Json;
|
|
24270
24903
|
};
|
|
24904
|
+
logistics_refresh_plan_state: {
|
|
24905
|
+
Args: {
|
|
24906
|
+
p_limit?: number;
|
|
24907
|
+
};
|
|
24908
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24909
|
+
};
|
|
24271
24910
|
logistics_replan_all: {
|
|
24272
24911
|
Args: {
|
|
24273
24912
|
p_reason?: string;
|
|
24274
24913
|
};
|
|
24275
24914
|
Returns: import("../integrations/supabase/types").Json;
|
|
24276
24915
|
};
|
|
24916
|
+
logistics_replan_all_force: {
|
|
24917
|
+
Args: {
|
|
24918
|
+
p_reason?: string;
|
|
24919
|
+
};
|
|
24920
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24921
|
+
};
|
|
24277
24922
|
logistics_report_delay: {
|
|
24278
24923
|
Args: {
|
|
24279
24924
|
p_expected_date?: string;
|
|
@@ -24430,6 +25075,74 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24430
25075
|
};
|
|
24431
25076
|
Returns: import("../integrations/supabase/types").Json;
|
|
24432
25077
|
};
|
|
25078
|
+
logistics_shipping_note_job_for_slip: {
|
|
25079
|
+
Args: {
|
|
25080
|
+
_slip_job_id: string;
|
|
25081
|
+
};
|
|
25082
|
+
Returns: string;
|
|
25083
|
+
};
|
|
25084
|
+
logistics_shipping_notes_wake_all: {
|
|
25085
|
+
Args: never;
|
|
25086
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25087
|
+
};
|
|
25088
|
+
logistics_slip_is_floriday: {
|
|
25089
|
+
Args: {
|
|
25090
|
+
_slip_job_id: string;
|
|
25091
|
+
};
|
|
25092
|
+
Returns: boolean;
|
|
25093
|
+
};
|
|
25094
|
+
logistics_slip_note_claim: {
|
|
25095
|
+
Args: {
|
|
25096
|
+
_lease_seconds?: number;
|
|
25097
|
+
_limit?: number;
|
|
25098
|
+
};
|
|
25099
|
+
Returns: {
|
|
25100
|
+
attempts: number;
|
|
25101
|
+
batch_key: string | null;
|
|
25102
|
+
cart_id: string | null;
|
|
25103
|
+
created_at: string;
|
|
25104
|
+
error: string | null;
|
|
25105
|
+
error_code: string | null;
|
|
25106
|
+
fulfillment_order_id: string | null;
|
|
25107
|
+
id: string;
|
|
25108
|
+
locked_until: string | null;
|
|
25109
|
+
next_attempt_at: string | null;
|
|
25110
|
+
order_id: string | null;
|
|
25111
|
+
order_number: string | null;
|
|
25112
|
+
print_job_id: string | null;
|
|
25113
|
+
printer_id: string | null;
|
|
25114
|
+
retry_class: string | null;
|
|
25115
|
+
slip_job_id: string;
|
|
25116
|
+
status: string;
|
|
25117
|
+
updated_at: string;
|
|
25118
|
+
}[];
|
|
25119
|
+
SetofOptions: {
|
|
25120
|
+
from: "*";
|
|
25121
|
+
to: "logistics_slip_shipping_note";
|
|
25122
|
+
isOneToOne: false;
|
|
25123
|
+
isSetofReturn: true;
|
|
25124
|
+
};
|
|
25125
|
+
};
|
|
25126
|
+
logistics_slip_note_finish: {
|
|
25127
|
+
Args: {
|
|
25128
|
+
_error?: string;
|
|
25129
|
+
_error_code?: string;
|
|
25130
|
+
_fulfillment_order_id?: string;
|
|
25131
|
+
_id: string;
|
|
25132
|
+
_ok: boolean;
|
|
25133
|
+
_print_job_id?: string;
|
|
25134
|
+
_status?: string;
|
|
25135
|
+
};
|
|
25136
|
+
Returns: undefined;
|
|
25137
|
+
};
|
|
25138
|
+
logistics_slip_note_keep_waiting: {
|
|
25139
|
+
Args: {
|
|
25140
|
+
_class?: string;
|
|
25141
|
+
_id: string;
|
|
25142
|
+
_reason: string;
|
|
25143
|
+
};
|
|
25144
|
+
Returns: undefined;
|
|
25145
|
+
};
|
|
24433
25146
|
logistics_sticker_follows_slip: {
|
|
24434
25147
|
Args: never;
|
|
24435
25148
|
Returns: boolean;
|
|
@@ -24484,6 +25197,40 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
24484
25197
|
name: string;
|
|
24485
25198
|
}[];
|
|
24486
25199
|
};
|
|
25200
|
+
logistics_trace: {
|
|
25201
|
+
Args: {
|
|
25202
|
+
p: import("../integrations/supabase/types").Json;
|
|
25203
|
+
};
|
|
25204
|
+
Returns: string;
|
|
25205
|
+
};
|
|
25206
|
+
logistics_trace_batch: {
|
|
25207
|
+
Args: {
|
|
25208
|
+
p: import("../integrations/supabase/types").Json;
|
|
25209
|
+
};
|
|
25210
|
+
Returns: number;
|
|
25211
|
+
};
|
|
25212
|
+
logistics_trace_orders: {
|
|
25213
|
+
Args: {
|
|
25214
|
+
p_limit?: number;
|
|
25215
|
+
p_search?: string;
|
|
25216
|
+
p_since?: string;
|
|
25217
|
+
p_status?: string;
|
|
25218
|
+
};
|
|
25219
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25220
|
+
};
|
|
25221
|
+
logistics_trace_redact: {
|
|
25222
|
+
Args: {
|
|
25223
|
+
p: import("../integrations/supabase/types").Json;
|
|
25224
|
+
};
|
|
25225
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25226
|
+
};
|
|
25227
|
+
logistics_trace_timeline: {
|
|
25228
|
+
Args: {
|
|
25229
|
+
p_limit?: number;
|
|
25230
|
+
p_order_ref: string;
|
|
25231
|
+
};
|
|
25232
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25233
|
+
};
|
|
24487
25234
|
logistics_upsert_task: {
|
|
24488
25235
|
Args: {
|
|
24489
25236
|
p_buffer_ref: string;
|
|
@@ -25525,6 +26272,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
25525
26272
|
};
|
|
25526
26273
|
Returns: undefined;
|
|
25527
26274
|
};
|
|
26275
|
+
prune_floriday_api_log: {
|
|
26276
|
+
Args: never;
|
|
26277
|
+
Returns: number;
|
|
26278
|
+
};
|
|
25528
26279
|
quote_create_from_source: {
|
|
25529
26280
|
Args: {
|
|
25530
26281
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25958,6 +26709,13 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
25958
26709
|
};
|
|
25959
26710
|
Returns: number;
|
|
25960
26711
|
};
|
|
26712
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26713
|
+
Args: {
|
|
26714
|
+
p_apikey: string;
|
|
26715
|
+
p_url: string;
|
|
26716
|
+
};
|
|
26717
|
+
Returns: number;
|
|
26718
|
+
};
|
|
25961
26719
|
schedule_floriday_clock_presales_sync: {
|
|
25962
26720
|
Args: {
|
|
25963
26721
|
p_apikey: string;
|
|
@@ -26258,6 +27016,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
26258
27016
|
};
|
|
26259
27017
|
Returns: undefined;
|
|
26260
27018
|
};
|
|
27019
|
+
sync_floriday_prices_into_price_groups: {
|
|
27020
|
+
Args: never;
|
|
27021
|
+
Returns: number;
|
|
27022
|
+
};
|
|
26261
27023
|
sync_layer_stock: {
|
|
26262
27024
|
Args: {
|
|
26263
27025
|
p_product_id: string;
|
|
@@ -26390,6 +27152,10 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
26390
27152
|
Args: never;
|
|
26391
27153
|
Returns: string;
|
|
26392
27154
|
};
|
|
27155
|
+
voorraad_cleanup_old_rows: {
|
|
27156
|
+
Args: never;
|
|
27157
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27158
|
+
};
|
|
26393
27159
|
wake_print_queue: {
|
|
26394
27160
|
Args: {
|
|
26395
27161
|
_min_interval_ms?: number;
|
|
@@ -26470,7 +27236,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
26470
27236
|
blockedItems: BlockedItem[];
|
|
26471
27237
|
skipped?: "locked";
|
|
26472
27238
|
}>>;
|
|
26473
|
-
export declare function drainCartReplanQueue(
|
|
27239
|
+
export declare function drainCartReplanQueue(_limit?: number): Promise<{
|
|
26474
27240
|
ok: boolean;
|
|
26475
27241
|
processed: number;
|
|
26476
27242
|
failed: number;
|
|
@@ -28706,6 +29472,45 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
28706
29472
|
};
|
|
28707
29473
|
Relationships: [];
|
|
28708
29474
|
};
|
|
29475
|
+
customer_product_stickers: {
|
|
29476
|
+
Row: {
|
|
29477
|
+
created_at: string;
|
|
29478
|
+
customer_key: string;
|
|
29479
|
+
file_name: string;
|
|
29480
|
+
file_path: string;
|
|
29481
|
+
file_size: number | null;
|
|
29482
|
+
id: string;
|
|
29483
|
+
mime_type: string | null;
|
|
29484
|
+
trade_item_key: string;
|
|
29485
|
+
updated_at: string;
|
|
29486
|
+
uploaded_by: string | null;
|
|
29487
|
+
};
|
|
29488
|
+
Insert: {
|
|
29489
|
+
created_at?: string;
|
|
29490
|
+
customer_key: string;
|
|
29491
|
+
file_name: string;
|
|
29492
|
+
file_path: string;
|
|
29493
|
+
file_size?: number | null;
|
|
29494
|
+
id?: string;
|
|
29495
|
+
mime_type?: string | null;
|
|
29496
|
+
trade_item_key: string;
|
|
29497
|
+
updated_at?: string;
|
|
29498
|
+
uploaded_by?: string | null;
|
|
29499
|
+
};
|
|
29500
|
+
Update: {
|
|
29501
|
+
created_at?: string;
|
|
29502
|
+
customer_key?: string;
|
|
29503
|
+
file_name?: string;
|
|
29504
|
+
file_path?: string;
|
|
29505
|
+
file_size?: number | null;
|
|
29506
|
+
id?: string;
|
|
29507
|
+
mime_type?: string | null;
|
|
29508
|
+
trade_item_key?: string;
|
|
29509
|
+
updated_at?: string;
|
|
29510
|
+
uploaded_by?: string | null;
|
|
29511
|
+
};
|
|
29512
|
+
Relationships: [];
|
|
29513
|
+
};
|
|
28709
29514
|
customer_selected_assortment: {
|
|
28710
29515
|
Row: {
|
|
28711
29516
|
article_number: string | null;
|
|
@@ -28754,6 +29559,30 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
28754
29559
|
referencedColumns: ["id"];
|
|
28755
29560
|
}];
|
|
28756
29561
|
};
|
|
29562
|
+
customer_sticker_settings: {
|
|
29563
|
+
Row: {
|
|
29564
|
+
created_at: string;
|
|
29565
|
+
customer_key: string;
|
|
29566
|
+
height_mm: number;
|
|
29567
|
+
updated_at: string;
|
|
29568
|
+
width_mm: number;
|
|
29569
|
+
};
|
|
29570
|
+
Insert: {
|
|
29571
|
+
created_at?: string;
|
|
29572
|
+
customer_key: string;
|
|
29573
|
+
height_mm?: number;
|
|
29574
|
+
updated_at?: string;
|
|
29575
|
+
width_mm?: number;
|
|
29576
|
+
};
|
|
29577
|
+
Update: {
|
|
29578
|
+
created_at?: string;
|
|
29579
|
+
customer_key?: string;
|
|
29580
|
+
height_mm?: number;
|
|
29581
|
+
updated_at?: string;
|
|
29582
|
+
width_mm?: number;
|
|
29583
|
+
};
|
|
29584
|
+
Relationships: [];
|
|
29585
|
+
};
|
|
28757
29586
|
customer_trade_settings: {
|
|
28758
29587
|
Row: {
|
|
28759
29588
|
category: string;
|
|
@@ -32084,6 +32913,102 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
32084
32913
|
referencedColumns: ["id"];
|
|
32085
32914
|
}];
|
|
32086
32915
|
};
|
|
32916
|
+
floriday_api_log: {
|
|
32917
|
+
Row: {
|
|
32918
|
+
action: string | null;
|
|
32919
|
+
caller: string | null;
|
|
32920
|
+
connection_id: string | null;
|
|
32921
|
+
created_at: string;
|
|
32922
|
+
cursor_from: number | null;
|
|
32923
|
+
direction: string;
|
|
32924
|
+
duration_ms: number | null;
|
|
32925
|
+
environment: string | null;
|
|
32926
|
+
error: string | null;
|
|
32927
|
+
floriday_id: string | null;
|
|
32928
|
+
floriday_reference: string | null;
|
|
32929
|
+
http_status: number;
|
|
32930
|
+
id: string;
|
|
32931
|
+
item_count: number | null;
|
|
32932
|
+
kind: string | null;
|
|
32933
|
+
local_id: string | null;
|
|
32934
|
+
local_reference: string | null;
|
|
32935
|
+
method: string;
|
|
32936
|
+
module: string | null;
|
|
32937
|
+
ok: boolean;
|
|
32938
|
+
path: string;
|
|
32939
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32940
|
+
resource_type: string | null;
|
|
32941
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32942
|
+
write_log_id: string | null;
|
|
32943
|
+
};
|
|
32944
|
+
Insert: {
|
|
32945
|
+
action?: string | null;
|
|
32946
|
+
caller?: string | null;
|
|
32947
|
+
connection_id?: string | null;
|
|
32948
|
+
created_at?: string;
|
|
32949
|
+
cursor_from?: number | null;
|
|
32950
|
+
direction: string;
|
|
32951
|
+
duration_ms?: number | null;
|
|
32952
|
+
environment?: string | null;
|
|
32953
|
+
error?: string | null;
|
|
32954
|
+
floriday_id?: string | null;
|
|
32955
|
+
floriday_reference?: string | null;
|
|
32956
|
+
http_status?: number;
|
|
32957
|
+
id?: string;
|
|
32958
|
+
item_count?: number | null;
|
|
32959
|
+
kind?: string | null;
|
|
32960
|
+
local_id?: string | null;
|
|
32961
|
+
local_reference?: string | null;
|
|
32962
|
+
method: string;
|
|
32963
|
+
module?: string | null;
|
|
32964
|
+
ok?: boolean;
|
|
32965
|
+
path: string;
|
|
32966
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32967
|
+
resource_type?: string | null;
|
|
32968
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32969
|
+
write_log_id?: string | null;
|
|
32970
|
+
};
|
|
32971
|
+
Update: {
|
|
32972
|
+
action?: string | null;
|
|
32973
|
+
caller?: string | null;
|
|
32974
|
+
connection_id?: string | null;
|
|
32975
|
+
created_at?: string;
|
|
32976
|
+
cursor_from?: number | null;
|
|
32977
|
+
direction?: string;
|
|
32978
|
+
duration_ms?: number | null;
|
|
32979
|
+
environment?: string | null;
|
|
32980
|
+
error?: string | null;
|
|
32981
|
+
floriday_id?: string | null;
|
|
32982
|
+
floriday_reference?: string | null;
|
|
32983
|
+
http_status?: number;
|
|
32984
|
+
id?: string;
|
|
32985
|
+
item_count?: number | null;
|
|
32986
|
+
kind?: string | null;
|
|
32987
|
+
local_id?: string | null;
|
|
32988
|
+
local_reference?: string | null;
|
|
32989
|
+
method?: string;
|
|
32990
|
+
module?: string | null;
|
|
32991
|
+
ok?: boolean;
|
|
32992
|
+
path?: string;
|
|
32993
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32994
|
+
resource_type?: string | null;
|
|
32995
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32996
|
+
write_log_id?: string | null;
|
|
32997
|
+
};
|
|
32998
|
+
Relationships: [{
|
|
32999
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
33000
|
+
columns: ["connection_id"];
|
|
33001
|
+
isOneToOne: false;
|
|
33002
|
+
referencedRelation: "floriday_connections";
|
|
33003
|
+
referencedColumns: ["id"];
|
|
33004
|
+
}, {
|
|
33005
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
33006
|
+
columns: ["write_log_id"];
|
|
33007
|
+
isOneToOne: false;
|
|
33008
|
+
referencedRelation: "floriday_write_log";
|
|
33009
|
+
referencedColumns: ["id"];
|
|
33010
|
+
}];
|
|
33011
|
+
};
|
|
32087
33012
|
floriday_auction_letters_cache: {
|
|
32088
33013
|
Row: {
|
|
32089
33014
|
auction_letter_code: string;
|
|
@@ -32291,6 +33216,84 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
32291
33216
|
referencedColumns: ["id"];
|
|
32292
33217
|
}];
|
|
32293
33218
|
};
|
|
33219
|
+
floriday_catalog_prices_cache: {
|
|
33220
|
+
Row: {
|
|
33221
|
+
connection_id: string;
|
|
33222
|
+
created_at: string;
|
|
33223
|
+
currency: string;
|
|
33224
|
+
id: string;
|
|
33225
|
+
is_deleted: boolean;
|
|
33226
|
+
price: number | null;
|
|
33227
|
+
price_group_id: string | null;
|
|
33228
|
+
price_group_name: string | null;
|
|
33229
|
+
price_type: string;
|
|
33230
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
33231
|
+
sales_unit: string | null;
|
|
33232
|
+
sequence_number: number;
|
|
33233
|
+
supplier_article_code: string | null;
|
|
33234
|
+
supply_line_id: string;
|
|
33235
|
+
synced_at: string;
|
|
33236
|
+
trade_item_id: string | null;
|
|
33237
|
+
updated_at: string;
|
|
33238
|
+
valid_from: string | null;
|
|
33239
|
+
valid_to: string | null;
|
|
33240
|
+
week: number | null;
|
|
33241
|
+
year: number | null;
|
|
33242
|
+
};
|
|
33243
|
+
Insert: {
|
|
33244
|
+
connection_id: string;
|
|
33245
|
+
created_at?: string;
|
|
33246
|
+
currency?: string;
|
|
33247
|
+
id?: string;
|
|
33248
|
+
is_deleted?: boolean;
|
|
33249
|
+
price?: number | null;
|
|
33250
|
+
price_group_id?: string | null;
|
|
33251
|
+
price_group_name?: string | null;
|
|
33252
|
+
price_type?: string;
|
|
33253
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33254
|
+
sales_unit?: string | null;
|
|
33255
|
+
sequence_number?: number;
|
|
33256
|
+
supplier_article_code?: string | null;
|
|
33257
|
+
supply_line_id: string;
|
|
33258
|
+
synced_at?: string;
|
|
33259
|
+
trade_item_id?: string | null;
|
|
33260
|
+
updated_at?: string;
|
|
33261
|
+
valid_from?: string | null;
|
|
33262
|
+
valid_to?: string | null;
|
|
33263
|
+
week?: number | null;
|
|
33264
|
+
year?: number | null;
|
|
33265
|
+
};
|
|
33266
|
+
Update: {
|
|
33267
|
+
connection_id?: string;
|
|
33268
|
+
created_at?: string;
|
|
33269
|
+
currency?: string;
|
|
33270
|
+
id?: string;
|
|
33271
|
+
is_deleted?: boolean;
|
|
33272
|
+
price?: number | null;
|
|
33273
|
+
price_group_id?: string | null;
|
|
33274
|
+
price_group_name?: string | null;
|
|
33275
|
+
price_type?: string;
|
|
33276
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33277
|
+
sales_unit?: string | null;
|
|
33278
|
+
sequence_number?: number;
|
|
33279
|
+
supplier_article_code?: string | null;
|
|
33280
|
+
supply_line_id?: string;
|
|
33281
|
+
synced_at?: string;
|
|
33282
|
+
trade_item_id?: string | null;
|
|
33283
|
+
updated_at?: string;
|
|
33284
|
+
valid_from?: string | null;
|
|
33285
|
+
valid_to?: string | null;
|
|
33286
|
+
week?: number | null;
|
|
33287
|
+
year?: number | null;
|
|
33288
|
+
};
|
|
33289
|
+
Relationships: [{
|
|
33290
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
33291
|
+
columns: ["connection_id"];
|
|
33292
|
+
isOneToOne: false;
|
|
33293
|
+
referencedRelation: "floriday_connections";
|
|
33294
|
+
referencedColumns: ["id"];
|
|
33295
|
+
}];
|
|
33296
|
+
};
|
|
32294
33297
|
floriday_clock_presales_cache: {
|
|
32295
33298
|
Row: {
|
|
32296
33299
|
buyer_organization_id: string | null;
|
|
@@ -33206,6 +34209,69 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
33206
34209
|
referencedColumns: ["id"];
|
|
33207
34210
|
}];
|
|
33208
34211
|
};
|
|
34212
|
+
floriday_link_templates: {
|
|
34213
|
+
Row: {
|
|
34214
|
+
created_at: string;
|
|
34215
|
+
floriday_url_template: string | null;
|
|
34216
|
+
is_active: boolean;
|
|
34217
|
+
label: string;
|
|
34218
|
+
local_url_template: string | null;
|
|
34219
|
+
resource_type: string;
|
|
34220
|
+
updated_at: string;
|
|
34221
|
+
};
|
|
34222
|
+
Insert: {
|
|
34223
|
+
created_at?: string;
|
|
34224
|
+
floriday_url_template?: string | null;
|
|
34225
|
+
is_active?: boolean;
|
|
34226
|
+
label: string;
|
|
34227
|
+
local_url_template?: string | null;
|
|
34228
|
+
resource_type: string;
|
|
34229
|
+
updated_at?: string;
|
|
34230
|
+
};
|
|
34231
|
+
Update: {
|
|
34232
|
+
created_at?: string;
|
|
34233
|
+
floriday_url_template?: string | null;
|
|
34234
|
+
is_active?: boolean;
|
|
34235
|
+
label?: string;
|
|
34236
|
+
local_url_template?: string | null;
|
|
34237
|
+
resource_type?: string;
|
|
34238
|
+
updated_at?: string;
|
|
34239
|
+
};
|
|
34240
|
+
Relationships: [];
|
|
34241
|
+
};
|
|
34242
|
+
floriday_log_retention: {
|
|
34243
|
+
Row: {
|
|
34244
|
+
created_at: string;
|
|
34245
|
+
direction: string | null;
|
|
34246
|
+
id: string;
|
|
34247
|
+
keep_failed_days: number | null;
|
|
34248
|
+
keep_ok_days: number | null;
|
|
34249
|
+
note: string | null;
|
|
34250
|
+
resource_type: string | null;
|
|
34251
|
+
updated_at: string;
|
|
34252
|
+
};
|
|
34253
|
+
Insert: {
|
|
34254
|
+
created_at?: string;
|
|
34255
|
+
direction?: string | null;
|
|
34256
|
+
id?: string;
|
|
34257
|
+
keep_failed_days?: number | null;
|
|
34258
|
+
keep_ok_days?: number | null;
|
|
34259
|
+
note?: string | null;
|
|
34260
|
+
resource_type?: string | null;
|
|
34261
|
+
updated_at?: string;
|
|
34262
|
+
};
|
|
34263
|
+
Update: {
|
|
34264
|
+
created_at?: string;
|
|
34265
|
+
direction?: string | null;
|
|
34266
|
+
id?: string;
|
|
34267
|
+
keep_failed_days?: number | null;
|
|
34268
|
+
keep_ok_days?: number | null;
|
|
34269
|
+
note?: string | null;
|
|
34270
|
+
resource_type?: string | null;
|
|
34271
|
+
updated_at?: string;
|
|
34272
|
+
};
|
|
34273
|
+
Relationships: [];
|
|
34274
|
+
};
|
|
33209
34275
|
floriday_logistic_labels_cache: {
|
|
33210
34276
|
Row: {
|
|
33211
34277
|
byte_size: number | null;
|
|
@@ -36830,6 +37896,48 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
36830
37896
|
};
|
|
36831
37897
|
Relationships: [];
|
|
36832
37898
|
};
|
|
37899
|
+
logistics_pick_data_requests: {
|
|
37900
|
+
Row: {
|
|
37901
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37902
|
+
created_at: string;
|
|
37903
|
+
event_id: string | null;
|
|
37904
|
+
finished_at: string | null;
|
|
37905
|
+
id: string;
|
|
37906
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37907
|
+
order_ref: string;
|
|
37908
|
+
reason: string | null;
|
|
37909
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37910
|
+
status: string;
|
|
37911
|
+
unit_ref: string | null;
|
|
37912
|
+
};
|
|
37913
|
+
Insert: {
|
|
37914
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37915
|
+
created_at?: string;
|
|
37916
|
+
event_id?: string | null;
|
|
37917
|
+
finished_at?: string | null;
|
|
37918
|
+
id?: string;
|
|
37919
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37920
|
+
order_ref: string;
|
|
37921
|
+
reason?: string | null;
|
|
37922
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37923
|
+
status?: string;
|
|
37924
|
+
unit_ref?: string | null;
|
|
37925
|
+
};
|
|
37926
|
+
Update: {
|
|
37927
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37928
|
+
created_at?: string;
|
|
37929
|
+
event_id?: string | null;
|
|
37930
|
+
finished_at?: string | null;
|
|
37931
|
+
id?: string;
|
|
37932
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37933
|
+
order_ref?: string;
|
|
37934
|
+
reason?: string | null;
|
|
37935
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37936
|
+
status?: string;
|
|
37937
|
+
unit_ref?: string | null;
|
|
37938
|
+
};
|
|
37939
|
+
Relationships: [];
|
|
37940
|
+
};
|
|
36833
37941
|
logistics_pickup_moments: {
|
|
36834
37942
|
Row: {
|
|
36835
37943
|
carrier_ref: string | null;
|
|
@@ -37289,6 +38397,69 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
37289
38397
|
};
|
|
37290
38398
|
Relationships: [];
|
|
37291
38399
|
};
|
|
38400
|
+
logistics_slip_shipping_note: {
|
|
38401
|
+
Row: {
|
|
38402
|
+
attempts: number;
|
|
38403
|
+
batch_key: string | null;
|
|
38404
|
+
cart_id: string | null;
|
|
38405
|
+
created_at: string;
|
|
38406
|
+
error: string | null;
|
|
38407
|
+
error_code: string | null;
|
|
38408
|
+
fulfillment_order_id: string | null;
|
|
38409
|
+
id: string;
|
|
38410
|
+
locked_until: string | null;
|
|
38411
|
+
next_attempt_at: string | null;
|
|
38412
|
+
order_id: string | null;
|
|
38413
|
+
order_number: string | null;
|
|
38414
|
+
print_job_id: string | null;
|
|
38415
|
+
printer_id: string | null;
|
|
38416
|
+
retry_class: string | null;
|
|
38417
|
+
slip_job_id: string;
|
|
38418
|
+
status: string;
|
|
38419
|
+
updated_at: string;
|
|
38420
|
+
};
|
|
38421
|
+
Insert: {
|
|
38422
|
+
attempts?: number;
|
|
38423
|
+
batch_key?: string | null;
|
|
38424
|
+
cart_id?: string | null;
|
|
38425
|
+
created_at?: string;
|
|
38426
|
+
error?: string | null;
|
|
38427
|
+
error_code?: string | null;
|
|
38428
|
+
fulfillment_order_id?: string | null;
|
|
38429
|
+
id?: string;
|
|
38430
|
+
locked_until?: string | null;
|
|
38431
|
+
next_attempt_at?: string | null;
|
|
38432
|
+
order_id?: string | null;
|
|
38433
|
+
order_number?: string | null;
|
|
38434
|
+
print_job_id?: string | null;
|
|
38435
|
+
printer_id?: string | null;
|
|
38436
|
+
retry_class?: string | null;
|
|
38437
|
+
slip_job_id: string;
|
|
38438
|
+
status?: string;
|
|
38439
|
+
updated_at?: string;
|
|
38440
|
+
};
|
|
38441
|
+
Update: {
|
|
38442
|
+
attempts?: number;
|
|
38443
|
+
batch_key?: string | null;
|
|
38444
|
+
cart_id?: string | null;
|
|
38445
|
+
created_at?: string;
|
|
38446
|
+
error?: string | null;
|
|
38447
|
+
error_code?: string | null;
|
|
38448
|
+
fulfillment_order_id?: string | null;
|
|
38449
|
+
id?: string;
|
|
38450
|
+
locked_until?: string | null;
|
|
38451
|
+
next_attempt_at?: string | null;
|
|
38452
|
+
order_id?: string | null;
|
|
38453
|
+
order_number?: string | null;
|
|
38454
|
+
print_job_id?: string | null;
|
|
38455
|
+
printer_id?: string | null;
|
|
38456
|
+
retry_class?: string | null;
|
|
38457
|
+
slip_job_id?: string;
|
|
38458
|
+
status?: string;
|
|
38459
|
+
updated_at?: string;
|
|
38460
|
+
};
|
|
38461
|
+
Relationships: [];
|
|
38462
|
+
};
|
|
37292
38463
|
logistics_staff_planning: {
|
|
37293
38464
|
Row: {
|
|
37294
38465
|
created_at: string;
|
|
@@ -37640,6 +38811,111 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
37640
38811
|
};
|
|
37641
38812
|
Relationships: [];
|
|
37642
38813
|
};
|
|
38814
|
+
logistics_trace_events: {
|
|
38815
|
+
Row: {
|
|
38816
|
+
actor: string | null;
|
|
38817
|
+
attempts: number;
|
|
38818
|
+
cart_ref: string | null;
|
|
38819
|
+
created_at: string;
|
|
38820
|
+
db_action: string | null;
|
|
38821
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38822
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38823
|
+
db_record: string | null;
|
|
38824
|
+
db_table: string | null;
|
|
38825
|
+
decision: string | null;
|
|
38826
|
+
duration_ms: number | null;
|
|
38827
|
+
error: string | null;
|
|
38828
|
+
external_action: string | null;
|
|
38829
|
+
external_ref: string | null;
|
|
38830
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38831
|
+
external_status: string | null;
|
|
38832
|
+
external_system: string | null;
|
|
38833
|
+
id: string;
|
|
38834
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38835
|
+
next_attempt_at: string | null;
|
|
38836
|
+
order_ref: string | null;
|
|
38837
|
+
order_source: string | null;
|
|
38838
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38839
|
+
phase: string;
|
|
38840
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38841
|
+
reason: string | null;
|
|
38842
|
+
rule: string | null;
|
|
38843
|
+
slip_ref: string | null;
|
|
38844
|
+
status: string;
|
|
38845
|
+
step: string;
|
|
38846
|
+
trace_id: string;
|
|
38847
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38848
|
+
};
|
|
38849
|
+
Insert: {
|
|
38850
|
+
actor?: string | null;
|
|
38851
|
+
attempts?: number;
|
|
38852
|
+
cart_ref?: string | null;
|
|
38853
|
+
created_at?: string;
|
|
38854
|
+
db_action?: string | null;
|
|
38855
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38856
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38857
|
+
db_record?: string | null;
|
|
38858
|
+
db_table?: string | null;
|
|
38859
|
+
decision?: string | null;
|
|
38860
|
+
duration_ms?: number | null;
|
|
38861
|
+
error?: string | null;
|
|
38862
|
+
external_action?: string | null;
|
|
38863
|
+
external_ref?: string | null;
|
|
38864
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38865
|
+
external_status?: string | null;
|
|
38866
|
+
external_system?: string | null;
|
|
38867
|
+
id?: string;
|
|
38868
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38869
|
+
next_attempt_at?: string | null;
|
|
38870
|
+
order_ref?: string | null;
|
|
38871
|
+
order_source?: string | null;
|
|
38872
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38873
|
+
phase: string;
|
|
38874
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38875
|
+
reason?: string | null;
|
|
38876
|
+
rule?: string | null;
|
|
38877
|
+
slip_ref?: string | null;
|
|
38878
|
+
status: string;
|
|
38879
|
+
step: string;
|
|
38880
|
+
trace_id?: string;
|
|
38881
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38882
|
+
};
|
|
38883
|
+
Update: {
|
|
38884
|
+
actor?: string | null;
|
|
38885
|
+
attempts?: number;
|
|
38886
|
+
cart_ref?: string | null;
|
|
38887
|
+
created_at?: string;
|
|
38888
|
+
db_action?: string | null;
|
|
38889
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38890
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38891
|
+
db_record?: string | null;
|
|
38892
|
+
db_table?: string | null;
|
|
38893
|
+
decision?: string | null;
|
|
38894
|
+
duration_ms?: number | null;
|
|
38895
|
+
error?: string | null;
|
|
38896
|
+
external_action?: string | null;
|
|
38897
|
+
external_ref?: string | null;
|
|
38898
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38899
|
+
external_status?: string | null;
|
|
38900
|
+
external_system?: string | null;
|
|
38901
|
+
id?: string;
|
|
38902
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38903
|
+
next_attempt_at?: string | null;
|
|
38904
|
+
order_ref?: string | null;
|
|
38905
|
+
order_source?: string | null;
|
|
38906
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38907
|
+
phase?: string;
|
|
38908
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38909
|
+
reason?: string | null;
|
|
38910
|
+
rule?: string | null;
|
|
38911
|
+
slip_ref?: string | null;
|
|
38912
|
+
status?: string;
|
|
38913
|
+
step?: string;
|
|
38914
|
+
trace_id?: string;
|
|
38915
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38916
|
+
};
|
|
38917
|
+
Relationships: [];
|
|
38918
|
+
};
|
|
37643
38919
|
logistics_variables: {
|
|
37644
38920
|
Row: {
|
|
37645
38921
|
created_at: string;
|
|
@@ -48212,6 +49488,15 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
48212
49488
|
Args: never;
|
|
48213
49489
|
Returns: boolean;
|
|
48214
49490
|
};
|
|
49491
|
+
cancel_open_print_jobs: {
|
|
49492
|
+
Args: {
|
|
49493
|
+
_cutoff: string;
|
|
49494
|
+
};
|
|
49495
|
+
Returns: {
|
|
49496
|
+
extern_job_id: string;
|
|
49497
|
+
id: string;
|
|
49498
|
+
}[];
|
|
49499
|
+
};
|
|
48215
49500
|
check_offer_product_available_stock: {
|
|
48216
49501
|
Args: {
|
|
48217
49502
|
p_campaign_product_id: string;
|
|
@@ -49750,6 +51035,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
49750
51035
|
};
|
|
49751
51036
|
Returns: string;
|
|
49752
51037
|
};
|
|
51038
|
+
logistics_cart_checkin_at: {
|
|
51039
|
+
Args: {
|
|
51040
|
+
p_cart_id: string;
|
|
51041
|
+
};
|
|
51042
|
+
Returns: string;
|
|
51043
|
+
};
|
|
49753
51044
|
logistics_cart_handled: {
|
|
49754
51045
|
Args: {
|
|
49755
51046
|
p_cart_index: number;
|
|
@@ -49783,10 +51074,22 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
49783
51074
|
task_status: string;
|
|
49784
51075
|
}[];
|
|
49785
51076
|
};
|
|
51077
|
+
logistics_cart_is_full: {
|
|
51078
|
+
Args: {
|
|
51079
|
+
p_cart_id: string;
|
|
51080
|
+
};
|
|
51081
|
+
Returns: boolean;
|
|
51082
|
+
};
|
|
49786
51083
|
logistics_cart_layout_method: {
|
|
49787
51084
|
Args: never;
|
|
49788
51085
|
Returns: import("../integrations/supabase/types").Json;
|
|
49789
51086
|
};
|
|
51087
|
+
logistics_cart_order_refs: {
|
|
51088
|
+
Args: {
|
|
51089
|
+
p_cart_id: string;
|
|
51090
|
+
};
|
|
51091
|
+
Returns: string[];
|
|
51092
|
+
};
|
|
49790
51093
|
logistics_cart_plan_overview: {
|
|
49791
51094
|
Args: {
|
|
49792
51095
|
p_days?: number;
|
|
@@ -49806,6 +51109,24 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
49806
51109
|
};
|
|
49807
51110
|
Returns: import("../integrations/supabase/types").Json;
|
|
49808
51111
|
};
|
|
51112
|
+
logistics_cart_plan_status_core: {
|
|
51113
|
+
Args: {
|
|
51114
|
+
p_ref: string;
|
|
51115
|
+
};
|
|
51116
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51117
|
+
};
|
|
51118
|
+
logistics_cart_release_reason: {
|
|
51119
|
+
Args: {
|
|
51120
|
+
p_cart_id: string;
|
|
51121
|
+
};
|
|
51122
|
+
Returns: string;
|
|
51123
|
+
};
|
|
51124
|
+
logistics_cart_released: {
|
|
51125
|
+
Args: {
|
|
51126
|
+
p_cart_id: string;
|
|
51127
|
+
};
|
|
51128
|
+
Returns: boolean;
|
|
51129
|
+
};
|
|
49809
51130
|
logistics_cart_seq: {
|
|
49810
51131
|
Args: {
|
|
49811
51132
|
p_order_uuid?: string;
|
|
@@ -49856,6 +51177,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
49856
51177
|
unit_ref: string;
|
|
49857
51178
|
}[];
|
|
49858
51179
|
};
|
|
51180
|
+
logistics_carts_per_print: {
|
|
51181
|
+
Args: never;
|
|
51182
|
+
Returns: number;
|
|
51183
|
+
};
|
|
49859
51184
|
logistics_check_order_allowed: {
|
|
49860
51185
|
Args: {
|
|
49861
51186
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49959,6 +51284,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
49959
51284
|
isSetofReturn: false;
|
|
49960
51285
|
};
|
|
49961
51286
|
};
|
|
51287
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
51288
|
+
Args: never;
|
|
51289
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51290
|
+
};
|
|
49962
51291
|
logistics_complete_task: {
|
|
49963
51292
|
Args: {
|
|
49964
51293
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -50210,6 +51539,20 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50210
51539
|
};
|
|
50211
51540
|
Returns: string;
|
|
50212
51541
|
};
|
|
51542
|
+
logistics_ensure_pick_data: {
|
|
51543
|
+
Args: {
|
|
51544
|
+
p_event_id?: string;
|
|
51545
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
51546
|
+
p_ref: string;
|
|
51547
|
+
};
|
|
51548
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51549
|
+
};
|
|
51550
|
+
logistics_ensure_shipping_notes: {
|
|
51551
|
+
Args: {
|
|
51552
|
+
p_limit?: number;
|
|
51553
|
+
};
|
|
51554
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51555
|
+
};
|
|
50213
51556
|
logistics_fail_task: {
|
|
50214
51557
|
Args: {
|
|
50215
51558
|
p_error: string;
|
|
@@ -50255,6 +51598,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50255
51598
|
isSetofReturn: false;
|
|
50256
51599
|
};
|
|
50257
51600
|
};
|
|
51601
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51602
|
+
Args: never;
|
|
51603
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51604
|
+
};
|
|
50258
51605
|
logistics_floriday_cart_plan: {
|
|
50259
51606
|
Args: {
|
|
50260
51607
|
p_order_id: string;
|
|
@@ -50282,6 +51629,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50282
51629
|
revision: number;
|
|
50283
51630
|
}[];
|
|
50284
51631
|
};
|
|
51632
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51633
|
+
Args: never;
|
|
51634
|
+
Returns: boolean;
|
|
51635
|
+
};
|
|
50285
51636
|
logistics_floriday_finish_push: {
|
|
50286
51637
|
Args: {
|
|
50287
51638
|
_error?: string;
|
|
@@ -50433,6 +51784,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50433
51784
|
};
|
|
50434
51785
|
Returns: number;
|
|
50435
51786
|
};
|
|
51787
|
+
logistics_merge_partial_carts: {
|
|
51788
|
+
Args: {
|
|
51789
|
+
p_limit?: number;
|
|
51790
|
+
};
|
|
51791
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51792
|
+
};
|
|
50436
51793
|
logistics_next_workday_date: {
|
|
50437
51794
|
Args: {
|
|
50438
51795
|
p_date: string;
|
|
@@ -50519,6 +51876,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50519
51876
|
};
|
|
50520
51877
|
Returns: string;
|
|
50521
51878
|
};
|
|
51879
|
+
logistics_payload_is_floriday: {
|
|
51880
|
+
Args: {
|
|
51881
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51882
|
+
};
|
|
51883
|
+
Returns: boolean;
|
|
51884
|
+
};
|
|
50522
51885
|
logistics_pick_agenda: {
|
|
50523
51886
|
Args: {
|
|
50524
51887
|
p_from?: string;
|
|
@@ -50547,6 +51910,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50547
51910
|
Args: never;
|
|
50548
51911
|
Returns: import("../integrations/supabase/types").Json;
|
|
50549
51912
|
};
|
|
51913
|
+
logistics_pick_partial_mode: {
|
|
51914
|
+
Args: never;
|
|
51915
|
+
Returns: string;
|
|
51916
|
+
};
|
|
50550
51917
|
logistics_pick_start_estimate: {
|
|
50551
51918
|
Args: {
|
|
50552
51919
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50637,6 +52004,20 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50637
52004
|
Args: never;
|
|
50638
52005
|
Returns: undefined;
|
|
50639
52006
|
};
|
|
52007
|
+
logistics_plan_progress: {
|
|
52008
|
+
Args: {
|
|
52009
|
+
p_refs: string[];
|
|
52010
|
+
};
|
|
52011
|
+
Returns: {
|
|
52012
|
+
cart_plan_ready: boolean;
|
|
52013
|
+
cart_plan_reason: string;
|
|
52014
|
+
cart_plan_released: boolean;
|
|
52015
|
+
plan_progress: number;
|
|
52016
|
+
plan_state: string;
|
|
52017
|
+
plan_state_since: string;
|
|
52018
|
+
unit_ref: string;
|
|
52019
|
+
}[];
|
|
52020
|
+
};
|
|
50640
52021
|
logistics_plan_prune: {
|
|
50641
52022
|
Args: never;
|
|
50642
52023
|
Returns: number;
|
|
@@ -50658,6 +52039,18 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50658
52039
|
};
|
|
50659
52040
|
Returns: number;
|
|
50660
52041
|
};
|
|
52042
|
+
logistics_plan_state_for: {
|
|
52043
|
+
Args: {
|
|
52044
|
+
p_ref: string;
|
|
52045
|
+
};
|
|
52046
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52047
|
+
};
|
|
52048
|
+
logistics_prepare_pick_documents: {
|
|
52049
|
+
Args: {
|
|
52050
|
+
p_limit?: number;
|
|
52051
|
+
};
|
|
52052
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52053
|
+
};
|
|
50661
52054
|
logistics_prune_buffer_member_queue: {
|
|
50662
52055
|
Args: never;
|
|
50663
52056
|
Returns: number;
|
|
@@ -50698,18 +52091,36 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50698
52091
|
Args: never;
|
|
50699
52092
|
Returns: import("../integrations/supabase/types").Json;
|
|
50700
52093
|
};
|
|
52094
|
+
logistics_refresh_pick_queue_status: {
|
|
52095
|
+
Args: {
|
|
52096
|
+
p_ref: string;
|
|
52097
|
+
};
|
|
52098
|
+
Returns: number;
|
|
52099
|
+
};
|
|
50701
52100
|
logistics_refresh_pickup_moments: {
|
|
50702
52101
|
Args: {
|
|
50703
52102
|
p_weeks?: number;
|
|
50704
52103
|
};
|
|
50705
52104
|
Returns: import("../integrations/supabase/types").Json;
|
|
50706
52105
|
};
|
|
52106
|
+
logistics_refresh_plan_state: {
|
|
52107
|
+
Args: {
|
|
52108
|
+
p_limit?: number;
|
|
52109
|
+
};
|
|
52110
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52111
|
+
};
|
|
50707
52112
|
logistics_replan_all: {
|
|
50708
52113
|
Args: {
|
|
50709
52114
|
p_reason?: string;
|
|
50710
52115
|
};
|
|
50711
52116
|
Returns: import("../integrations/supabase/types").Json;
|
|
50712
52117
|
};
|
|
52118
|
+
logistics_replan_all_force: {
|
|
52119
|
+
Args: {
|
|
52120
|
+
p_reason?: string;
|
|
52121
|
+
};
|
|
52122
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52123
|
+
};
|
|
50713
52124
|
logistics_report_delay: {
|
|
50714
52125
|
Args: {
|
|
50715
52126
|
p_expected_date?: string;
|
|
@@ -50866,6 +52277,74 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50866
52277
|
};
|
|
50867
52278
|
Returns: import("../integrations/supabase/types").Json;
|
|
50868
52279
|
};
|
|
52280
|
+
logistics_shipping_note_job_for_slip: {
|
|
52281
|
+
Args: {
|
|
52282
|
+
_slip_job_id: string;
|
|
52283
|
+
};
|
|
52284
|
+
Returns: string;
|
|
52285
|
+
};
|
|
52286
|
+
logistics_shipping_notes_wake_all: {
|
|
52287
|
+
Args: never;
|
|
52288
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52289
|
+
};
|
|
52290
|
+
logistics_slip_is_floriday: {
|
|
52291
|
+
Args: {
|
|
52292
|
+
_slip_job_id: string;
|
|
52293
|
+
};
|
|
52294
|
+
Returns: boolean;
|
|
52295
|
+
};
|
|
52296
|
+
logistics_slip_note_claim: {
|
|
52297
|
+
Args: {
|
|
52298
|
+
_lease_seconds?: number;
|
|
52299
|
+
_limit?: number;
|
|
52300
|
+
};
|
|
52301
|
+
Returns: {
|
|
52302
|
+
attempts: number;
|
|
52303
|
+
batch_key: string | null;
|
|
52304
|
+
cart_id: string | null;
|
|
52305
|
+
created_at: string;
|
|
52306
|
+
error: string | null;
|
|
52307
|
+
error_code: string | null;
|
|
52308
|
+
fulfillment_order_id: string | null;
|
|
52309
|
+
id: string;
|
|
52310
|
+
locked_until: string | null;
|
|
52311
|
+
next_attempt_at: string | null;
|
|
52312
|
+
order_id: string | null;
|
|
52313
|
+
order_number: string | null;
|
|
52314
|
+
print_job_id: string | null;
|
|
52315
|
+
printer_id: string | null;
|
|
52316
|
+
retry_class: string | null;
|
|
52317
|
+
slip_job_id: string;
|
|
52318
|
+
status: string;
|
|
52319
|
+
updated_at: string;
|
|
52320
|
+
}[];
|
|
52321
|
+
SetofOptions: {
|
|
52322
|
+
from: "*";
|
|
52323
|
+
to: "logistics_slip_shipping_note";
|
|
52324
|
+
isOneToOne: false;
|
|
52325
|
+
isSetofReturn: true;
|
|
52326
|
+
};
|
|
52327
|
+
};
|
|
52328
|
+
logistics_slip_note_finish: {
|
|
52329
|
+
Args: {
|
|
52330
|
+
_error?: string;
|
|
52331
|
+
_error_code?: string;
|
|
52332
|
+
_fulfillment_order_id?: string;
|
|
52333
|
+
_id: string;
|
|
52334
|
+
_ok: boolean;
|
|
52335
|
+
_print_job_id?: string;
|
|
52336
|
+
_status?: string;
|
|
52337
|
+
};
|
|
52338
|
+
Returns: undefined;
|
|
52339
|
+
};
|
|
52340
|
+
logistics_slip_note_keep_waiting: {
|
|
52341
|
+
Args: {
|
|
52342
|
+
_class?: string;
|
|
52343
|
+
_id: string;
|
|
52344
|
+
_reason: string;
|
|
52345
|
+
};
|
|
52346
|
+
Returns: undefined;
|
|
52347
|
+
};
|
|
50869
52348
|
logistics_sticker_follows_slip: {
|
|
50870
52349
|
Args: never;
|
|
50871
52350
|
Returns: boolean;
|
|
@@ -50920,6 +52399,40 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
50920
52399
|
name: string;
|
|
50921
52400
|
}[];
|
|
50922
52401
|
};
|
|
52402
|
+
logistics_trace: {
|
|
52403
|
+
Args: {
|
|
52404
|
+
p: import("../integrations/supabase/types").Json;
|
|
52405
|
+
};
|
|
52406
|
+
Returns: string;
|
|
52407
|
+
};
|
|
52408
|
+
logistics_trace_batch: {
|
|
52409
|
+
Args: {
|
|
52410
|
+
p: import("../integrations/supabase/types").Json;
|
|
52411
|
+
};
|
|
52412
|
+
Returns: number;
|
|
52413
|
+
};
|
|
52414
|
+
logistics_trace_orders: {
|
|
52415
|
+
Args: {
|
|
52416
|
+
p_limit?: number;
|
|
52417
|
+
p_search?: string;
|
|
52418
|
+
p_since?: string;
|
|
52419
|
+
p_status?: string;
|
|
52420
|
+
};
|
|
52421
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52422
|
+
};
|
|
52423
|
+
logistics_trace_redact: {
|
|
52424
|
+
Args: {
|
|
52425
|
+
p: import("../integrations/supabase/types").Json;
|
|
52426
|
+
};
|
|
52427
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52428
|
+
};
|
|
52429
|
+
logistics_trace_timeline: {
|
|
52430
|
+
Args: {
|
|
52431
|
+
p_limit?: number;
|
|
52432
|
+
p_order_ref: string;
|
|
52433
|
+
};
|
|
52434
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52435
|
+
};
|
|
50923
52436
|
logistics_upsert_task: {
|
|
50924
52437
|
Args: {
|
|
50925
52438
|
p_buffer_ref: string;
|
|
@@ -51961,6 +53474,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
51961
53474
|
};
|
|
51962
53475
|
Returns: undefined;
|
|
51963
53476
|
};
|
|
53477
|
+
prune_floriday_api_log: {
|
|
53478
|
+
Args: never;
|
|
53479
|
+
Returns: number;
|
|
53480
|
+
};
|
|
51964
53481
|
quote_create_from_source: {
|
|
51965
53482
|
Args: {
|
|
51966
53483
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -52394,6 +53911,13 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
52394
53911
|
};
|
|
52395
53912
|
Returns: number;
|
|
52396
53913
|
};
|
|
53914
|
+
schedule_floriday_catalog_prices_sync: {
|
|
53915
|
+
Args: {
|
|
53916
|
+
p_apikey: string;
|
|
53917
|
+
p_url: string;
|
|
53918
|
+
};
|
|
53919
|
+
Returns: number;
|
|
53920
|
+
};
|
|
52397
53921
|
schedule_floriday_clock_presales_sync: {
|
|
52398
53922
|
Args: {
|
|
52399
53923
|
p_apikey: string;
|
|
@@ -52694,6 +54218,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
52694
54218
|
};
|
|
52695
54219
|
Returns: undefined;
|
|
52696
54220
|
};
|
|
54221
|
+
sync_floriday_prices_into_price_groups: {
|
|
54222
|
+
Args: never;
|
|
54223
|
+
Returns: number;
|
|
54224
|
+
};
|
|
52697
54225
|
sync_layer_stock: {
|
|
52698
54226
|
Args: {
|
|
52699
54227
|
p_product_id: string;
|
|
@@ -52826,6 +54354,10 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
52826
54354
|
Args: never;
|
|
52827
54355
|
Returns: string;
|
|
52828
54356
|
};
|
|
54357
|
+
voorraad_cleanup_old_rows: {
|
|
54358
|
+
Args: never;
|
|
54359
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54360
|
+
};
|
|
52829
54361
|
wake_print_queue: {
|
|
52830
54362
|
Args: {
|
|
52831
54363
|
_min_interval_ms?: number;
|
|
@@ -55141,6 +56673,45 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
55141
56673
|
};
|
|
55142
56674
|
Relationships: [];
|
|
55143
56675
|
};
|
|
56676
|
+
customer_product_stickers: {
|
|
56677
|
+
Row: {
|
|
56678
|
+
created_at: string;
|
|
56679
|
+
customer_key: string;
|
|
56680
|
+
file_name: string;
|
|
56681
|
+
file_path: string;
|
|
56682
|
+
file_size: number | null;
|
|
56683
|
+
id: string;
|
|
56684
|
+
mime_type: string | null;
|
|
56685
|
+
trade_item_key: string;
|
|
56686
|
+
updated_at: string;
|
|
56687
|
+
uploaded_by: string | null;
|
|
56688
|
+
};
|
|
56689
|
+
Insert: {
|
|
56690
|
+
created_at?: string;
|
|
56691
|
+
customer_key: string;
|
|
56692
|
+
file_name: string;
|
|
56693
|
+
file_path: string;
|
|
56694
|
+
file_size?: number | null;
|
|
56695
|
+
id?: string;
|
|
56696
|
+
mime_type?: string | null;
|
|
56697
|
+
trade_item_key: string;
|
|
56698
|
+
updated_at?: string;
|
|
56699
|
+
uploaded_by?: string | null;
|
|
56700
|
+
};
|
|
56701
|
+
Update: {
|
|
56702
|
+
created_at?: string;
|
|
56703
|
+
customer_key?: string;
|
|
56704
|
+
file_name?: string;
|
|
56705
|
+
file_path?: string;
|
|
56706
|
+
file_size?: number | null;
|
|
56707
|
+
id?: string;
|
|
56708
|
+
mime_type?: string | null;
|
|
56709
|
+
trade_item_key?: string;
|
|
56710
|
+
updated_at?: string;
|
|
56711
|
+
uploaded_by?: string | null;
|
|
56712
|
+
};
|
|
56713
|
+
Relationships: [];
|
|
56714
|
+
};
|
|
55144
56715
|
customer_selected_assortment: {
|
|
55145
56716
|
Row: {
|
|
55146
56717
|
article_number: string | null;
|
|
@@ -55189,6 +56760,30 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
55189
56760
|
referencedColumns: ["id"];
|
|
55190
56761
|
}];
|
|
55191
56762
|
};
|
|
56763
|
+
customer_sticker_settings: {
|
|
56764
|
+
Row: {
|
|
56765
|
+
created_at: string;
|
|
56766
|
+
customer_key: string;
|
|
56767
|
+
height_mm: number;
|
|
56768
|
+
updated_at: string;
|
|
56769
|
+
width_mm: number;
|
|
56770
|
+
};
|
|
56771
|
+
Insert: {
|
|
56772
|
+
created_at?: string;
|
|
56773
|
+
customer_key: string;
|
|
56774
|
+
height_mm?: number;
|
|
56775
|
+
updated_at?: string;
|
|
56776
|
+
width_mm?: number;
|
|
56777
|
+
};
|
|
56778
|
+
Update: {
|
|
56779
|
+
created_at?: string;
|
|
56780
|
+
customer_key?: string;
|
|
56781
|
+
height_mm?: number;
|
|
56782
|
+
updated_at?: string;
|
|
56783
|
+
width_mm?: number;
|
|
56784
|
+
};
|
|
56785
|
+
Relationships: [];
|
|
56786
|
+
};
|
|
55192
56787
|
customer_trade_settings: {
|
|
55193
56788
|
Row: {
|
|
55194
56789
|
category: string;
|
|
@@ -58519,6 +60114,102 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
58519
60114
|
referencedColumns: ["id"];
|
|
58520
60115
|
}];
|
|
58521
60116
|
};
|
|
60117
|
+
floriday_api_log: {
|
|
60118
|
+
Row: {
|
|
60119
|
+
action: string | null;
|
|
60120
|
+
caller: string | null;
|
|
60121
|
+
connection_id: string | null;
|
|
60122
|
+
created_at: string;
|
|
60123
|
+
cursor_from: number | null;
|
|
60124
|
+
direction: string;
|
|
60125
|
+
duration_ms: number | null;
|
|
60126
|
+
environment: string | null;
|
|
60127
|
+
error: string | null;
|
|
60128
|
+
floriday_id: string | null;
|
|
60129
|
+
floriday_reference: string | null;
|
|
60130
|
+
http_status: number;
|
|
60131
|
+
id: string;
|
|
60132
|
+
item_count: number | null;
|
|
60133
|
+
kind: string | null;
|
|
60134
|
+
local_id: string | null;
|
|
60135
|
+
local_reference: string | null;
|
|
60136
|
+
method: string;
|
|
60137
|
+
module: string | null;
|
|
60138
|
+
ok: boolean;
|
|
60139
|
+
path: string;
|
|
60140
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60141
|
+
resource_type: string | null;
|
|
60142
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60143
|
+
write_log_id: string | null;
|
|
60144
|
+
};
|
|
60145
|
+
Insert: {
|
|
60146
|
+
action?: string | null;
|
|
60147
|
+
caller?: string | null;
|
|
60148
|
+
connection_id?: string | null;
|
|
60149
|
+
created_at?: string;
|
|
60150
|
+
cursor_from?: number | null;
|
|
60151
|
+
direction: string;
|
|
60152
|
+
duration_ms?: number | null;
|
|
60153
|
+
environment?: string | null;
|
|
60154
|
+
error?: string | null;
|
|
60155
|
+
floriday_id?: string | null;
|
|
60156
|
+
floriday_reference?: string | null;
|
|
60157
|
+
http_status?: number;
|
|
60158
|
+
id?: string;
|
|
60159
|
+
item_count?: number | null;
|
|
60160
|
+
kind?: string | null;
|
|
60161
|
+
local_id?: string | null;
|
|
60162
|
+
local_reference?: string | null;
|
|
60163
|
+
method: string;
|
|
60164
|
+
module?: string | null;
|
|
60165
|
+
ok?: boolean;
|
|
60166
|
+
path: string;
|
|
60167
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60168
|
+
resource_type?: string | null;
|
|
60169
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60170
|
+
write_log_id?: string | null;
|
|
60171
|
+
};
|
|
60172
|
+
Update: {
|
|
60173
|
+
action?: string | null;
|
|
60174
|
+
caller?: string | null;
|
|
60175
|
+
connection_id?: string | null;
|
|
60176
|
+
created_at?: string;
|
|
60177
|
+
cursor_from?: number | null;
|
|
60178
|
+
direction?: string;
|
|
60179
|
+
duration_ms?: number | null;
|
|
60180
|
+
environment?: string | null;
|
|
60181
|
+
error?: string | null;
|
|
60182
|
+
floriday_id?: string | null;
|
|
60183
|
+
floriday_reference?: string | null;
|
|
60184
|
+
http_status?: number;
|
|
60185
|
+
id?: string;
|
|
60186
|
+
item_count?: number | null;
|
|
60187
|
+
kind?: string | null;
|
|
60188
|
+
local_id?: string | null;
|
|
60189
|
+
local_reference?: string | null;
|
|
60190
|
+
method?: string;
|
|
60191
|
+
module?: string | null;
|
|
60192
|
+
ok?: boolean;
|
|
60193
|
+
path?: string;
|
|
60194
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60195
|
+
resource_type?: string | null;
|
|
60196
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60197
|
+
write_log_id?: string | null;
|
|
60198
|
+
};
|
|
60199
|
+
Relationships: [{
|
|
60200
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60201
|
+
columns: ["connection_id"];
|
|
60202
|
+
isOneToOne: false;
|
|
60203
|
+
referencedRelation: "floriday_connections";
|
|
60204
|
+
referencedColumns: ["id"];
|
|
60205
|
+
}, {
|
|
60206
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60207
|
+
columns: ["write_log_id"];
|
|
60208
|
+
isOneToOne: false;
|
|
60209
|
+
referencedRelation: "floriday_write_log";
|
|
60210
|
+
referencedColumns: ["id"];
|
|
60211
|
+
}];
|
|
60212
|
+
};
|
|
58522
60213
|
floriday_auction_letters_cache: {
|
|
58523
60214
|
Row: {
|
|
58524
60215
|
auction_letter_code: string;
|
|
@@ -58726,6 +60417,84 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
58726
60417
|
referencedColumns: ["id"];
|
|
58727
60418
|
}];
|
|
58728
60419
|
};
|
|
60420
|
+
floriday_catalog_prices_cache: {
|
|
60421
|
+
Row: {
|
|
60422
|
+
connection_id: string;
|
|
60423
|
+
created_at: string;
|
|
60424
|
+
currency: string;
|
|
60425
|
+
id: string;
|
|
60426
|
+
is_deleted: boolean;
|
|
60427
|
+
price: number | null;
|
|
60428
|
+
price_group_id: string | null;
|
|
60429
|
+
price_group_name: string | null;
|
|
60430
|
+
price_type: string;
|
|
60431
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
60432
|
+
sales_unit: string | null;
|
|
60433
|
+
sequence_number: number;
|
|
60434
|
+
supplier_article_code: string | null;
|
|
60435
|
+
supply_line_id: string;
|
|
60436
|
+
synced_at: string;
|
|
60437
|
+
trade_item_id: string | null;
|
|
60438
|
+
updated_at: string;
|
|
60439
|
+
valid_from: string | null;
|
|
60440
|
+
valid_to: string | null;
|
|
60441
|
+
week: number | null;
|
|
60442
|
+
year: number | null;
|
|
60443
|
+
};
|
|
60444
|
+
Insert: {
|
|
60445
|
+
connection_id: string;
|
|
60446
|
+
created_at?: string;
|
|
60447
|
+
currency?: string;
|
|
60448
|
+
id?: string;
|
|
60449
|
+
is_deleted?: boolean;
|
|
60450
|
+
price?: number | null;
|
|
60451
|
+
price_group_id?: string | null;
|
|
60452
|
+
price_group_name?: string | null;
|
|
60453
|
+
price_type?: string;
|
|
60454
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60455
|
+
sales_unit?: string | null;
|
|
60456
|
+
sequence_number?: number;
|
|
60457
|
+
supplier_article_code?: string | null;
|
|
60458
|
+
supply_line_id: string;
|
|
60459
|
+
synced_at?: string;
|
|
60460
|
+
trade_item_id?: string | null;
|
|
60461
|
+
updated_at?: string;
|
|
60462
|
+
valid_from?: string | null;
|
|
60463
|
+
valid_to?: string | null;
|
|
60464
|
+
week?: number | null;
|
|
60465
|
+
year?: number | null;
|
|
60466
|
+
};
|
|
60467
|
+
Update: {
|
|
60468
|
+
connection_id?: string;
|
|
60469
|
+
created_at?: string;
|
|
60470
|
+
currency?: string;
|
|
60471
|
+
id?: string;
|
|
60472
|
+
is_deleted?: boolean;
|
|
60473
|
+
price?: number | null;
|
|
60474
|
+
price_group_id?: string | null;
|
|
60475
|
+
price_group_name?: string | null;
|
|
60476
|
+
price_type?: string;
|
|
60477
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60478
|
+
sales_unit?: string | null;
|
|
60479
|
+
sequence_number?: number;
|
|
60480
|
+
supplier_article_code?: string | null;
|
|
60481
|
+
supply_line_id?: string;
|
|
60482
|
+
synced_at?: string;
|
|
60483
|
+
trade_item_id?: string | null;
|
|
60484
|
+
updated_at?: string;
|
|
60485
|
+
valid_from?: string | null;
|
|
60486
|
+
valid_to?: string | null;
|
|
60487
|
+
week?: number | null;
|
|
60488
|
+
year?: number | null;
|
|
60489
|
+
};
|
|
60490
|
+
Relationships: [{
|
|
60491
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
60492
|
+
columns: ["connection_id"];
|
|
60493
|
+
isOneToOne: false;
|
|
60494
|
+
referencedRelation: "floriday_connections";
|
|
60495
|
+
referencedColumns: ["id"];
|
|
60496
|
+
}];
|
|
60497
|
+
};
|
|
58729
60498
|
floriday_clock_presales_cache: {
|
|
58730
60499
|
Row: {
|
|
58731
60500
|
buyer_organization_id: string | null;
|
|
@@ -59641,6 +61410,69 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
59641
61410
|
referencedColumns: ["id"];
|
|
59642
61411
|
}];
|
|
59643
61412
|
};
|
|
61413
|
+
floriday_link_templates: {
|
|
61414
|
+
Row: {
|
|
61415
|
+
created_at: string;
|
|
61416
|
+
floriday_url_template: string | null;
|
|
61417
|
+
is_active: boolean;
|
|
61418
|
+
label: string;
|
|
61419
|
+
local_url_template: string | null;
|
|
61420
|
+
resource_type: string;
|
|
61421
|
+
updated_at: string;
|
|
61422
|
+
};
|
|
61423
|
+
Insert: {
|
|
61424
|
+
created_at?: string;
|
|
61425
|
+
floriday_url_template?: string | null;
|
|
61426
|
+
is_active?: boolean;
|
|
61427
|
+
label: string;
|
|
61428
|
+
local_url_template?: string | null;
|
|
61429
|
+
resource_type: string;
|
|
61430
|
+
updated_at?: string;
|
|
61431
|
+
};
|
|
61432
|
+
Update: {
|
|
61433
|
+
created_at?: string;
|
|
61434
|
+
floriday_url_template?: string | null;
|
|
61435
|
+
is_active?: boolean;
|
|
61436
|
+
label?: string;
|
|
61437
|
+
local_url_template?: string | null;
|
|
61438
|
+
resource_type?: string;
|
|
61439
|
+
updated_at?: string;
|
|
61440
|
+
};
|
|
61441
|
+
Relationships: [];
|
|
61442
|
+
};
|
|
61443
|
+
floriday_log_retention: {
|
|
61444
|
+
Row: {
|
|
61445
|
+
created_at: string;
|
|
61446
|
+
direction: string | null;
|
|
61447
|
+
id: string;
|
|
61448
|
+
keep_failed_days: number | null;
|
|
61449
|
+
keep_ok_days: number | null;
|
|
61450
|
+
note: string | null;
|
|
61451
|
+
resource_type: string | null;
|
|
61452
|
+
updated_at: string;
|
|
61453
|
+
};
|
|
61454
|
+
Insert: {
|
|
61455
|
+
created_at?: string;
|
|
61456
|
+
direction?: string | null;
|
|
61457
|
+
id?: string;
|
|
61458
|
+
keep_failed_days?: number | null;
|
|
61459
|
+
keep_ok_days?: number | null;
|
|
61460
|
+
note?: string | null;
|
|
61461
|
+
resource_type?: string | null;
|
|
61462
|
+
updated_at?: string;
|
|
61463
|
+
};
|
|
61464
|
+
Update: {
|
|
61465
|
+
created_at?: string;
|
|
61466
|
+
direction?: string | null;
|
|
61467
|
+
id?: string;
|
|
61468
|
+
keep_failed_days?: number | null;
|
|
61469
|
+
keep_ok_days?: number | null;
|
|
61470
|
+
note?: string | null;
|
|
61471
|
+
resource_type?: string | null;
|
|
61472
|
+
updated_at?: string;
|
|
61473
|
+
};
|
|
61474
|
+
Relationships: [];
|
|
61475
|
+
};
|
|
59644
61476
|
floriday_logistic_labels_cache: {
|
|
59645
61477
|
Row: {
|
|
59646
61478
|
byte_size: number | null;
|
|
@@ -63265,6 +65097,48 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
63265
65097
|
};
|
|
63266
65098
|
Relationships: [];
|
|
63267
65099
|
};
|
|
65100
|
+
logistics_pick_data_requests: {
|
|
65101
|
+
Row: {
|
|
65102
|
+
actions: import("../integrations/supabase/types").Json;
|
|
65103
|
+
created_at: string;
|
|
65104
|
+
event_id: string | null;
|
|
65105
|
+
finished_at: string | null;
|
|
65106
|
+
id: string;
|
|
65107
|
+
missing: import("../integrations/supabase/types").Json;
|
|
65108
|
+
order_ref: string;
|
|
65109
|
+
reason: string | null;
|
|
65110
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
65111
|
+
status: string;
|
|
65112
|
+
unit_ref: string | null;
|
|
65113
|
+
};
|
|
65114
|
+
Insert: {
|
|
65115
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65116
|
+
created_at?: string;
|
|
65117
|
+
event_id?: string | null;
|
|
65118
|
+
finished_at?: string | null;
|
|
65119
|
+
id?: string;
|
|
65120
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65121
|
+
order_ref: string;
|
|
65122
|
+
reason?: string | null;
|
|
65123
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65124
|
+
status?: string;
|
|
65125
|
+
unit_ref?: string | null;
|
|
65126
|
+
};
|
|
65127
|
+
Update: {
|
|
65128
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65129
|
+
created_at?: string;
|
|
65130
|
+
event_id?: string | null;
|
|
65131
|
+
finished_at?: string | null;
|
|
65132
|
+
id?: string;
|
|
65133
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65134
|
+
order_ref?: string;
|
|
65135
|
+
reason?: string | null;
|
|
65136
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65137
|
+
status?: string;
|
|
65138
|
+
unit_ref?: string | null;
|
|
65139
|
+
};
|
|
65140
|
+
Relationships: [];
|
|
65141
|
+
};
|
|
63268
65142
|
logistics_pickup_moments: {
|
|
63269
65143
|
Row: {
|
|
63270
65144
|
carrier_ref: string | null;
|
|
@@ -63724,6 +65598,69 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
63724
65598
|
};
|
|
63725
65599
|
Relationships: [];
|
|
63726
65600
|
};
|
|
65601
|
+
logistics_slip_shipping_note: {
|
|
65602
|
+
Row: {
|
|
65603
|
+
attempts: number;
|
|
65604
|
+
batch_key: string | null;
|
|
65605
|
+
cart_id: string | null;
|
|
65606
|
+
created_at: string;
|
|
65607
|
+
error: string | null;
|
|
65608
|
+
error_code: string | null;
|
|
65609
|
+
fulfillment_order_id: string | null;
|
|
65610
|
+
id: string;
|
|
65611
|
+
locked_until: string | null;
|
|
65612
|
+
next_attempt_at: string | null;
|
|
65613
|
+
order_id: string | null;
|
|
65614
|
+
order_number: string | null;
|
|
65615
|
+
print_job_id: string | null;
|
|
65616
|
+
printer_id: string | null;
|
|
65617
|
+
retry_class: string | null;
|
|
65618
|
+
slip_job_id: string;
|
|
65619
|
+
status: string;
|
|
65620
|
+
updated_at: string;
|
|
65621
|
+
};
|
|
65622
|
+
Insert: {
|
|
65623
|
+
attempts?: number;
|
|
65624
|
+
batch_key?: string | null;
|
|
65625
|
+
cart_id?: string | null;
|
|
65626
|
+
created_at?: string;
|
|
65627
|
+
error?: string | null;
|
|
65628
|
+
error_code?: string | null;
|
|
65629
|
+
fulfillment_order_id?: string | null;
|
|
65630
|
+
id?: string;
|
|
65631
|
+
locked_until?: string | null;
|
|
65632
|
+
next_attempt_at?: string | null;
|
|
65633
|
+
order_id?: string | null;
|
|
65634
|
+
order_number?: string | null;
|
|
65635
|
+
print_job_id?: string | null;
|
|
65636
|
+
printer_id?: string | null;
|
|
65637
|
+
retry_class?: string | null;
|
|
65638
|
+
slip_job_id: string;
|
|
65639
|
+
status?: string;
|
|
65640
|
+
updated_at?: string;
|
|
65641
|
+
};
|
|
65642
|
+
Update: {
|
|
65643
|
+
attempts?: number;
|
|
65644
|
+
batch_key?: string | null;
|
|
65645
|
+
cart_id?: string | null;
|
|
65646
|
+
created_at?: string;
|
|
65647
|
+
error?: string | null;
|
|
65648
|
+
error_code?: string | null;
|
|
65649
|
+
fulfillment_order_id?: string | null;
|
|
65650
|
+
id?: string;
|
|
65651
|
+
locked_until?: string | null;
|
|
65652
|
+
next_attempt_at?: string | null;
|
|
65653
|
+
order_id?: string | null;
|
|
65654
|
+
order_number?: string | null;
|
|
65655
|
+
print_job_id?: string | null;
|
|
65656
|
+
printer_id?: string | null;
|
|
65657
|
+
retry_class?: string | null;
|
|
65658
|
+
slip_job_id?: string;
|
|
65659
|
+
status?: string;
|
|
65660
|
+
updated_at?: string;
|
|
65661
|
+
};
|
|
65662
|
+
Relationships: [];
|
|
65663
|
+
};
|
|
63727
65664
|
logistics_staff_planning: {
|
|
63728
65665
|
Row: {
|
|
63729
65666
|
created_at: string;
|
|
@@ -64075,6 +66012,111 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
64075
66012
|
};
|
|
64076
66013
|
Relationships: [];
|
|
64077
66014
|
};
|
|
66015
|
+
logistics_trace_events: {
|
|
66016
|
+
Row: {
|
|
66017
|
+
actor: string | null;
|
|
66018
|
+
attempts: number;
|
|
66019
|
+
cart_ref: string | null;
|
|
66020
|
+
created_at: string;
|
|
66021
|
+
db_action: string | null;
|
|
66022
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
66023
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
66024
|
+
db_record: string | null;
|
|
66025
|
+
db_table: string | null;
|
|
66026
|
+
decision: string | null;
|
|
66027
|
+
duration_ms: number | null;
|
|
66028
|
+
error: string | null;
|
|
66029
|
+
external_action: string | null;
|
|
66030
|
+
external_ref: string | null;
|
|
66031
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
66032
|
+
external_status: string | null;
|
|
66033
|
+
external_system: string | null;
|
|
66034
|
+
id: string;
|
|
66035
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
66036
|
+
next_attempt_at: string | null;
|
|
66037
|
+
order_ref: string | null;
|
|
66038
|
+
order_source: string | null;
|
|
66039
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
66040
|
+
phase: string;
|
|
66041
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
66042
|
+
reason: string | null;
|
|
66043
|
+
rule: string | null;
|
|
66044
|
+
slip_ref: string | null;
|
|
66045
|
+
status: string;
|
|
66046
|
+
step: string;
|
|
66047
|
+
trace_id: string;
|
|
66048
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
66049
|
+
};
|
|
66050
|
+
Insert: {
|
|
66051
|
+
actor?: string | null;
|
|
66052
|
+
attempts?: number;
|
|
66053
|
+
cart_ref?: string | null;
|
|
66054
|
+
created_at?: string;
|
|
66055
|
+
db_action?: string | null;
|
|
66056
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66057
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66058
|
+
db_record?: string | null;
|
|
66059
|
+
db_table?: string | null;
|
|
66060
|
+
decision?: string | null;
|
|
66061
|
+
duration_ms?: number | null;
|
|
66062
|
+
error?: string | null;
|
|
66063
|
+
external_action?: string | null;
|
|
66064
|
+
external_ref?: string | null;
|
|
66065
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66066
|
+
external_status?: string | null;
|
|
66067
|
+
external_system?: string | null;
|
|
66068
|
+
id?: string;
|
|
66069
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66070
|
+
next_attempt_at?: string | null;
|
|
66071
|
+
order_ref?: string | null;
|
|
66072
|
+
order_source?: string | null;
|
|
66073
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66074
|
+
phase: string;
|
|
66075
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66076
|
+
reason?: string | null;
|
|
66077
|
+
rule?: string | null;
|
|
66078
|
+
slip_ref?: string | null;
|
|
66079
|
+
status: string;
|
|
66080
|
+
step: string;
|
|
66081
|
+
trace_id?: string;
|
|
66082
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66083
|
+
};
|
|
66084
|
+
Update: {
|
|
66085
|
+
actor?: string | null;
|
|
66086
|
+
attempts?: number;
|
|
66087
|
+
cart_ref?: string | null;
|
|
66088
|
+
created_at?: string;
|
|
66089
|
+
db_action?: string | null;
|
|
66090
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66091
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66092
|
+
db_record?: string | null;
|
|
66093
|
+
db_table?: string | null;
|
|
66094
|
+
decision?: string | null;
|
|
66095
|
+
duration_ms?: number | null;
|
|
66096
|
+
error?: string | null;
|
|
66097
|
+
external_action?: string | null;
|
|
66098
|
+
external_ref?: string | null;
|
|
66099
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66100
|
+
external_status?: string | null;
|
|
66101
|
+
external_system?: string | null;
|
|
66102
|
+
id?: string;
|
|
66103
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66104
|
+
next_attempt_at?: string | null;
|
|
66105
|
+
order_ref?: string | null;
|
|
66106
|
+
order_source?: string | null;
|
|
66107
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66108
|
+
phase?: string;
|
|
66109
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66110
|
+
reason?: string | null;
|
|
66111
|
+
rule?: string | null;
|
|
66112
|
+
slip_ref?: string | null;
|
|
66113
|
+
status?: string;
|
|
66114
|
+
step?: string;
|
|
66115
|
+
trace_id?: string;
|
|
66116
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66117
|
+
};
|
|
66118
|
+
Relationships: [];
|
|
66119
|
+
};
|
|
64078
66120
|
logistics_variables: {
|
|
64079
66121
|
Row: {
|
|
64080
66122
|
created_at: string;
|
|
@@ -74647,6 +76689,15 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
74647
76689
|
Args: never;
|
|
74648
76690
|
Returns: boolean;
|
|
74649
76691
|
};
|
|
76692
|
+
cancel_open_print_jobs: {
|
|
76693
|
+
Args: {
|
|
76694
|
+
_cutoff: string;
|
|
76695
|
+
};
|
|
76696
|
+
Returns: {
|
|
76697
|
+
extern_job_id: string;
|
|
76698
|
+
id: string;
|
|
76699
|
+
}[];
|
|
76700
|
+
};
|
|
74650
76701
|
check_offer_product_available_stock: {
|
|
74651
76702
|
Args: {
|
|
74652
76703
|
p_campaign_product_id: string;
|
|
@@ -76185,6 +78236,12 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76185
78236
|
};
|
|
76186
78237
|
Returns: string;
|
|
76187
78238
|
};
|
|
78239
|
+
logistics_cart_checkin_at: {
|
|
78240
|
+
Args: {
|
|
78241
|
+
p_cart_id: string;
|
|
78242
|
+
};
|
|
78243
|
+
Returns: string;
|
|
78244
|
+
};
|
|
76188
78245
|
logistics_cart_handled: {
|
|
76189
78246
|
Args: {
|
|
76190
78247
|
p_cart_index: number;
|
|
@@ -76218,10 +78275,22 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76218
78275
|
task_status: string;
|
|
76219
78276
|
}[];
|
|
76220
78277
|
};
|
|
78278
|
+
logistics_cart_is_full: {
|
|
78279
|
+
Args: {
|
|
78280
|
+
p_cart_id: string;
|
|
78281
|
+
};
|
|
78282
|
+
Returns: boolean;
|
|
78283
|
+
};
|
|
76221
78284
|
logistics_cart_layout_method: {
|
|
76222
78285
|
Args: never;
|
|
76223
78286
|
Returns: import("../integrations/supabase/types").Json;
|
|
76224
78287
|
};
|
|
78288
|
+
logistics_cart_order_refs: {
|
|
78289
|
+
Args: {
|
|
78290
|
+
p_cart_id: string;
|
|
78291
|
+
};
|
|
78292
|
+
Returns: string[];
|
|
78293
|
+
};
|
|
76225
78294
|
logistics_cart_plan_overview: {
|
|
76226
78295
|
Args: {
|
|
76227
78296
|
p_days?: number;
|
|
@@ -76241,6 +78310,24 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76241
78310
|
};
|
|
76242
78311
|
Returns: import("../integrations/supabase/types").Json;
|
|
76243
78312
|
};
|
|
78313
|
+
logistics_cart_plan_status_core: {
|
|
78314
|
+
Args: {
|
|
78315
|
+
p_ref: string;
|
|
78316
|
+
};
|
|
78317
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78318
|
+
};
|
|
78319
|
+
logistics_cart_release_reason: {
|
|
78320
|
+
Args: {
|
|
78321
|
+
p_cart_id: string;
|
|
78322
|
+
};
|
|
78323
|
+
Returns: string;
|
|
78324
|
+
};
|
|
78325
|
+
logistics_cart_released: {
|
|
78326
|
+
Args: {
|
|
78327
|
+
p_cart_id: string;
|
|
78328
|
+
};
|
|
78329
|
+
Returns: boolean;
|
|
78330
|
+
};
|
|
76244
78331
|
logistics_cart_seq: {
|
|
76245
78332
|
Args: {
|
|
76246
78333
|
p_order_uuid?: string;
|
|
@@ -76291,6 +78378,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76291
78378
|
unit_ref: string;
|
|
76292
78379
|
}[];
|
|
76293
78380
|
};
|
|
78381
|
+
logistics_carts_per_print: {
|
|
78382
|
+
Args: never;
|
|
78383
|
+
Returns: number;
|
|
78384
|
+
};
|
|
76294
78385
|
logistics_check_order_allowed: {
|
|
76295
78386
|
Args: {
|
|
76296
78387
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -76394,6 +78485,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76394
78485
|
isSetofReturn: false;
|
|
76395
78486
|
};
|
|
76396
78487
|
};
|
|
78488
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
78489
|
+
Args: never;
|
|
78490
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78491
|
+
};
|
|
76397
78492
|
logistics_complete_task: {
|
|
76398
78493
|
Args: {
|
|
76399
78494
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -76645,6 +78740,20 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76645
78740
|
};
|
|
76646
78741
|
Returns: string;
|
|
76647
78742
|
};
|
|
78743
|
+
logistics_ensure_pick_data: {
|
|
78744
|
+
Args: {
|
|
78745
|
+
p_event_id?: string;
|
|
78746
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
78747
|
+
p_ref: string;
|
|
78748
|
+
};
|
|
78749
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78750
|
+
};
|
|
78751
|
+
logistics_ensure_shipping_notes: {
|
|
78752
|
+
Args: {
|
|
78753
|
+
p_limit?: number;
|
|
78754
|
+
};
|
|
78755
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78756
|
+
};
|
|
76648
78757
|
logistics_fail_task: {
|
|
76649
78758
|
Args: {
|
|
76650
78759
|
p_error: string;
|
|
@@ -76690,6 +78799,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76690
78799
|
isSetofReturn: false;
|
|
76691
78800
|
};
|
|
76692
78801
|
};
|
|
78802
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78803
|
+
Args: never;
|
|
78804
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78805
|
+
};
|
|
76693
78806
|
logistics_floriday_cart_plan: {
|
|
76694
78807
|
Args: {
|
|
76695
78808
|
p_order_id: string;
|
|
@@ -76717,6 +78830,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76717
78830
|
revision: number;
|
|
76718
78831
|
}[];
|
|
76719
78832
|
};
|
|
78833
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78834
|
+
Args: never;
|
|
78835
|
+
Returns: boolean;
|
|
78836
|
+
};
|
|
76720
78837
|
logistics_floriday_finish_push: {
|
|
76721
78838
|
Args: {
|
|
76722
78839
|
_error?: string;
|
|
@@ -76868,6 +78985,12 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76868
78985
|
};
|
|
76869
78986
|
Returns: number;
|
|
76870
78987
|
};
|
|
78988
|
+
logistics_merge_partial_carts: {
|
|
78989
|
+
Args: {
|
|
78990
|
+
p_limit?: number;
|
|
78991
|
+
};
|
|
78992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78993
|
+
};
|
|
76871
78994
|
logistics_next_workday_date: {
|
|
76872
78995
|
Args: {
|
|
76873
78996
|
p_date: string;
|
|
@@ -76954,6 +79077,12 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76954
79077
|
};
|
|
76955
79078
|
Returns: string;
|
|
76956
79079
|
};
|
|
79080
|
+
logistics_payload_is_floriday: {
|
|
79081
|
+
Args: {
|
|
79082
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79083
|
+
};
|
|
79084
|
+
Returns: boolean;
|
|
79085
|
+
};
|
|
76957
79086
|
logistics_pick_agenda: {
|
|
76958
79087
|
Args: {
|
|
76959
79088
|
p_from?: string;
|
|
@@ -76982,6 +79111,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
76982
79111
|
Args: never;
|
|
76983
79112
|
Returns: import("../integrations/supabase/types").Json;
|
|
76984
79113
|
};
|
|
79114
|
+
logistics_pick_partial_mode: {
|
|
79115
|
+
Args: never;
|
|
79116
|
+
Returns: string;
|
|
79117
|
+
};
|
|
76985
79118
|
logistics_pick_start_estimate: {
|
|
76986
79119
|
Args: {
|
|
76987
79120
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -77072,6 +79205,20 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
77072
79205
|
Args: never;
|
|
77073
79206
|
Returns: undefined;
|
|
77074
79207
|
};
|
|
79208
|
+
logistics_plan_progress: {
|
|
79209
|
+
Args: {
|
|
79210
|
+
p_refs: string[];
|
|
79211
|
+
};
|
|
79212
|
+
Returns: {
|
|
79213
|
+
cart_plan_ready: boolean;
|
|
79214
|
+
cart_plan_reason: string;
|
|
79215
|
+
cart_plan_released: boolean;
|
|
79216
|
+
plan_progress: number;
|
|
79217
|
+
plan_state: string;
|
|
79218
|
+
plan_state_since: string;
|
|
79219
|
+
unit_ref: string;
|
|
79220
|
+
}[];
|
|
79221
|
+
};
|
|
77075
79222
|
logistics_plan_prune: {
|
|
77076
79223
|
Args: never;
|
|
77077
79224
|
Returns: number;
|
|
@@ -77093,6 +79240,18 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
77093
79240
|
};
|
|
77094
79241
|
Returns: number;
|
|
77095
79242
|
};
|
|
79243
|
+
logistics_plan_state_for: {
|
|
79244
|
+
Args: {
|
|
79245
|
+
p_ref: string;
|
|
79246
|
+
};
|
|
79247
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79248
|
+
};
|
|
79249
|
+
logistics_prepare_pick_documents: {
|
|
79250
|
+
Args: {
|
|
79251
|
+
p_limit?: number;
|
|
79252
|
+
};
|
|
79253
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79254
|
+
};
|
|
77096
79255
|
logistics_prune_buffer_member_queue: {
|
|
77097
79256
|
Args: never;
|
|
77098
79257
|
Returns: number;
|
|
@@ -77133,18 +79292,36 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
77133
79292
|
Args: never;
|
|
77134
79293
|
Returns: import("../integrations/supabase/types").Json;
|
|
77135
79294
|
};
|
|
79295
|
+
logistics_refresh_pick_queue_status: {
|
|
79296
|
+
Args: {
|
|
79297
|
+
p_ref: string;
|
|
79298
|
+
};
|
|
79299
|
+
Returns: number;
|
|
79300
|
+
};
|
|
77136
79301
|
logistics_refresh_pickup_moments: {
|
|
77137
79302
|
Args: {
|
|
77138
79303
|
p_weeks?: number;
|
|
77139
79304
|
};
|
|
77140
79305
|
Returns: import("../integrations/supabase/types").Json;
|
|
77141
79306
|
};
|
|
79307
|
+
logistics_refresh_plan_state: {
|
|
79308
|
+
Args: {
|
|
79309
|
+
p_limit?: number;
|
|
79310
|
+
};
|
|
79311
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79312
|
+
};
|
|
77142
79313
|
logistics_replan_all: {
|
|
77143
79314
|
Args: {
|
|
77144
79315
|
p_reason?: string;
|
|
77145
79316
|
};
|
|
77146
79317
|
Returns: import("../integrations/supabase/types").Json;
|
|
77147
79318
|
};
|
|
79319
|
+
logistics_replan_all_force: {
|
|
79320
|
+
Args: {
|
|
79321
|
+
p_reason?: string;
|
|
79322
|
+
};
|
|
79323
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79324
|
+
};
|
|
77148
79325
|
logistics_report_delay: {
|
|
77149
79326
|
Args: {
|
|
77150
79327
|
p_expected_date?: string;
|
|
@@ -77301,6 +79478,74 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
77301
79478
|
};
|
|
77302
79479
|
Returns: import("../integrations/supabase/types").Json;
|
|
77303
79480
|
};
|
|
79481
|
+
logistics_shipping_note_job_for_slip: {
|
|
79482
|
+
Args: {
|
|
79483
|
+
_slip_job_id: string;
|
|
79484
|
+
};
|
|
79485
|
+
Returns: string;
|
|
79486
|
+
};
|
|
79487
|
+
logistics_shipping_notes_wake_all: {
|
|
79488
|
+
Args: never;
|
|
79489
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79490
|
+
};
|
|
79491
|
+
logistics_slip_is_floriday: {
|
|
79492
|
+
Args: {
|
|
79493
|
+
_slip_job_id: string;
|
|
79494
|
+
};
|
|
79495
|
+
Returns: boolean;
|
|
79496
|
+
};
|
|
79497
|
+
logistics_slip_note_claim: {
|
|
79498
|
+
Args: {
|
|
79499
|
+
_lease_seconds?: number;
|
|
79500
|
+
_limit?: number;
|
|
79501
|
+
};
|
|
79502
|
+
Returns: {
|
|
79503
|
+
attempts: number;
|
|
79504
|
+
batch_key: string | null;
|
|
79505
|
+
cart_id: string | null;
|
|
79506
|
+
created_at: string;
|
|
79507
|
+
error: string | null;
|
|
79508
|
+
error_code: string | null;
|
|
79509
|
+
fulfillment_order_id: string | null;
|
|
79510
|
+
id: string;
|
|
79511
|
+
locked_until: string | null;
|
|
79512
|
+
next_attempt_at: string | null;
|
|
79513
|
+
order_id: string | null;
|
|
79514
|
+
order_number: string | null;
|
|
79515
|
+
print_job_id: string | null;
|
|
79516
|
+
printer_id: string | null;
|
|
79517
|
+
retry_class: string | null;
|
|
79518
|
+
slip_job_id: string;
|
|
79519
|
+
status: string;
|
|
79520
|
+
updated_at: string;
|
|
79521
|
+
}[];
|
|
79522
|
+
SetofOptions: {
|
|
79523
|
+
from: "*";
|
|
79524
|
+
to: "logistics_slip_shipping_note";
|
|
79525
|
+
isOneToOne: false;
|
|
79526
|
+
isSetofReturn: true;
|
|
79527
|
+
};
|
|
79528
|
+
};
|
|
79529
|
+
logistics_slip_note_finish: {
|
|
79530
|
+
Args: {
|
|
79531
|
+
_error?: string;
|
|
79532
|
+
_error_code?: string;
|
|
79533
|
+
_fulfillment_order_id?: string;
|
|
79534
|
+
_id: string;
|
|
79535
|
+
_ok: boolean;
|
|
79536
|
+
_print_job_id?: string;
|
|
79537
|
+
_status?: string;
|
|
79538
|
+
};
|
|
79539
|
+
Returns: undefined;
|
|
79540
|
+
};
|
|
79541
|
+
logistics_slip_note_keep_waiting: {
|
|
79542
|
+
Args: {
|
|
79543
|
+
_class?: string;
|
|
79544
|
+
_id: string;
|
|
79545
|
+
_reason: string;
|
|
79546
|
+
};
|
|
79547
|
+
Returns: undefined;
|
|
79548
|
+
};
|
|
77304
79549
|
logistics_sticker_follows_slip: {
|
|
77305
79550
|
Args: never;
|
|
77306
79551
|
Returns: boolean;
|
|
@@ -77355,6 +79600,40 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
77355
79600
|
name: string;
|
|
77356
79601
|
}[];
|
|
77357
79602
|
};
|
|
79603
|
+
logistics_trace: {
|
|
79604
|
+
Args: {
|
|
79605
|
+
p: import("../integrations/supabase/types").Json;
|
|
79606
|
+
};
|
|
79607
|
+
Returns: string;
|
|
79608
|
+
};
|
|
79609
|
+
logistics_trace_batch: {
|
|
79610
|
+
Args: {
|
|
79611
|
+
p: import("../integrations/supabase/types").Json;
|
|
79612
|
+
};
|
|
79613
|
+
Returns: number;
|
|
79614
|
+
};
|
|
79615
|
+
logistics_trace_orders: {
|
|
79616
|
+
Args: {
|
|
79617
|
+
p_limit?: number;
|
|
79618
|
+
p_search?: string;
|
|
79619
|
+
p_since?: string;
|
|
79620
|
+
p_status?: string;
|
|
79621
|
+
};
|
|
79622
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79623
|
+
};
|
|
79624
|
+
logistics_trace_redact: {
|
|
79625
|
+
Args: {
|
|
79626
|
+
p: import("../integrations/supabase/types").Json;
|
|
79627
|
+
};
|
|
79628
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79629
|
+
};
|
|
79630
|
+
logistics_trace_timeline: {
|
|
79631
|
+
Args: {
|
|
79632
|
+
p_limit?: number;
|
|
79633
|
+
p_order_ref: string;
|
|
79634
|
+
};
|
|
79635
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79636
|
+
};
|
|
77358
79637
|
logistics_upsert_task: {
|
|
77359
79638
|
Args: {
|
|
77360
79639
|
p_buffer_ref: string;
|
|
@@ -78396,6 +80675,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
78396
80675
|
};
|
|
78397
80676
|
Returns: undefined;
|
|
78398
80677
|
};
|
|
80678
|
+
prune_floriday_api_log: {
|
|
80679
|
+
Args: never;
|
|
80680
|
+
Returns: number;
|
|
80681
|
+
};
|
|
78399
80682
|
quote_create_from_source: {
|
|
78400
80683
|
Args: {
|
|
78401
80684
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -78829,6 +81112,13 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
78829
81112
|
};
|
|
78830
81113
|
Returns: number;
|
|
78831
81114
|
};
|
|
81115
|
+
schedule_floriday_catalog_prices_sync: {
|
|
81116
|
+
Args: {
|
|
81117
|
+
p_apikey: string;
|
|
81118
|
+
p_url: string;
|
|
81119
|
+
};
|
|
81120
|
+
Returns: number;
|
|
81121
|
+
};
|
|
78832
81122
|
schedule_floriday_clock_presales_sync: {
|
|
78833
81123
|
Args: {
|
|
78834
81124
|
p_apikey: string;
|
|
@@ -79129,6 +81419,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
79129
81419
|
};
|
|
79130
81420
|
Returns: undefined;
|
|
79131
81421
|
};
|
|
81422
|
+
sync_floriday_prices_into_price_groups: {
|
|
81423
|
+
Args: never;
|
|
81424
|
+
Returns: number;
|
|
81425
|
+
};
|
|
79132
81426
|
sync_layer_stock: {
|
|
79133
81427
|
Args: {
|
|
79134
81428
|
p_product_id: string;
|
|
@@ -79261,6 +81555,10 @@ export declare const replanBufferForOrder: import("@tanstack/start-client-core")
|
|
|
79261
81555
|
Args: never;
|
|
79262
81556
|
Returns: string;
|
|
79263
81557
|
};
|
|
81558
|
+
voorraad_cleanup_old_rows: {
|
|
81559
|
+
Args: never;
|
|
81560
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81561
|
+
};
|
|
79264
81562
|
wake_print_queue: {
|
|
79265
81563
|
Args: {
|
|
79266
81564
|
_min_interval_ms?: number;
|