@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
|
@@ -2250,6 +2250,45 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
2250
2250
|
};
|
|
2251
2251
|
Relationships: [];
|
|
2252
2252
|
};
|
|
2253
|
+
customer_product_stickers: {
|
|
2254
|
+
Row: {
|
|
2255
|
+
created_at: string;
|
|
2256
|
+
customer_key: string;
|
|
2257
|
+
file_name: string;
|
|
2258
|
+
file_path: string;
|
|
2259
|
+
file_size: number | null;
|
|
2260
|
+
id: string;
|
|
2261
|
+
mime_type: string | null;
|
|
2262
|
+
trade_item_key: string;
|
|
2263
|
+
updated_at: string;
|
|
2264
|
+
uploaded_by: string | null;
|
|
2265
|
+
};
|
|
2266
|
+
Insert: {
|
|
2267
|
+
created_at?: string;
|
|
2268
|
+
customer_key: string;
|
|
2269
|
+
file_name: string;
|
|
2270
|
+
file_path: string;
|
|
2271
|
+
file_size?: number | null;
|
|
2272
|
+
id?: string;
|
|
2273
|
+
mime_type?: string | null;
|
|
2274
|
+
trade_item_key: string;
|
|
2275
|
+
updated_at?: string;
|
|
2276
|
+
uploaded_by?: string | null;
|
|
2277
|
+
};
|
|
2278
|
+
Update: {
|
|
2279
|
+
created_at?: string;
|
|
2280
|
+
customer_key?: string;
|
|
2281
|
+
file_name?: string;
|
|
2282
|
+
file_path?: string;
|
|
2283
|
+
file_size?: number | null;
|
|
2284
|
+
id?: string;
|
|
2285
|
+
mime_type?: string | null;
|
|
2286
|
+
trade_item_key?: string;
|
|
2287
|
+
updated_at?: string;
|
|
2288
|
+
uploaded_by?: string | null;
|
|
2289
|
+
};
|
|
2290
|
+
Relationships: [];
|
|
2291
|
+
};
|
|
2253
2292
|
customer_selected_assortment: {
|
|
2254
2293
|
Row: {
|
|
2255
2294
|
article_number: string | null;
|
|
@@ -2298,6 +2337,30 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
2298
2337
|
referencedColumns: ["id"];
|
|
2299
2338
|
}];
|
|
2300
2339
|
};
|
|
2340
|
+
customer_sticker_settings: {
|
|
2341
|
+
Row: {
|
|
2342
|
+
created_at: string;
|
|
2343
|
+
customer_key: string;
|
|
2344
|
+
height_mm: number;
|
|
2345
|
+
updated_at: string;
|
|
2346
|
+
width_mm: number;
|
|
2347
|
+
};
|
|
2348
|
+
Insert: {
|
|
2349
|
+
created_at?: string;
|
|
2350
|
+
customer_key: string;
|
|
2351
|
+
height_mm?: number;
|
|
2352
|
+
updated_at?: string;
|
|
2353
|
+
width_mm?: number;
|
|
2354
|
+
};
|
|
2355
|
+
Update: {
|
|
2356
|
+
created_at?: string;
|
|
2357
|
+
customer_key?: string;
|
|
2358
|
+
height_mm?: number;
|
|
2359
|
+
updated_at?: string;
|
|
2360
|
+
width_mm?: number;
|
|
2361
|
+
};
|
|
2362
|
+
Relationships: [];
|
|
2363
|
+
};
|
|
2301
2364
|
customer_trade_settings: {
|
|
2302
2365
|
Row: {
|
|
2303
2366
|
category: string;
|
|
@@ -5628,6 +5691,102 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
5628
5691
|
referencedColumns: ["id"];
|
|
5629
5692
|
}];
|
|
5630
5693
|
};
|
|
5694
|
+
floriday_api_log: {
|
|
5695
|
+
Row: {
|
|
5696
|
+
action: string | null;
|
|
5697
|
+
caller: string | null;
|
|
5698
|
+
connection_id: string | null;
|
|
5699
|
+
created_at: string;
|
|
5700
|
+
cursor_from: number | null;
|
|
5701
|
+
direction: string;
|
|
5702
|
+
duration_ms: number | null;
|
|
5703
|
+
environment: string | null;
|
|
5704
|
+
error: string | null;
|
|
5705
|
+
floriday_id: string | null;
|
|
5706
|
+
floriday_reference: string | null;
|
|
5707
|
+
http_status: number;
|
|
5708
|
+
id: string;
|
|
5709
|
+
item_count: number | null;
|
|
5710
|
+
kind: string | null;
|
|
5711
|
+
local_id: string | null;
|
|
5712
|
+
local_reference: string | null;
|
|
5713
|
+
method: string;
|
|
5714
|
+
module: string | null;
|
|
5715
|
+
ok: boolean;
|
|
5716
|
+
path: string;
|
|
5717
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5718
|
+
resource_type: string | null;
|
|
5719
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5720
|
+
write_log_id: string | null;
|
|
5721
|
+
};
|
|
5722
|
+
Insert: {
|
|
5723
|
+
action?: string | null;
|
|
5724
|
+
caller?: string | null;
|
|
5725
|
+
connection_id?: string | null;
|
|
5726
|
+
created_at?: string;
|
|
5727
|
+
cursor_from?: number | null;
|
|
5728
|
+
direction: string;
|
|
5729
|
+
duration_ms?: number | null;
|
|
5730
|
+
environment?: string | null;
|
|
5731
|
+
error?: string | null;
|
|
5732
|
+
floriday_id?: string | null;
|
|
5733
|
+
floriday_reference?: string | null;
|
|
5734
|
+
http_status?: number;
|
|
5735
|
+
id?: string;
|
|
5736
|
+
item_count?: number | null;
|
|
5737
|
+
kind?: string | null;
|
|
5738
|
+
local_id?: string | null;
|
|
5739
|
+
local_reference?: string | null;
|
|
5740
|
+
method: string;
|
|
5741
|
+
module?: string | null;
|
|
5742
|
+
ok?: boolean;
|
|
5743
|
+
path: string;
|
|
5744
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5745
|
+
resource_type?: string | null;
|
|
5746
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5747
|
+
write_log_id?: string | null;
|
|
5748
|
+
};
|
|
5749
|
+
Update: {
|
|
5750
|
+
action?: string | null;
|
|
5751
|
+
caller?: string | null;
|
|
5752
|
+
connection_id?: string | null;
|
|
5753
|
+
created_at?: string;
|
|
5754
|
+
cursor_from?: number | null;
|
|
5755
|
+
direction?: string;
|
|
5756
|
+
duration_ms?: number | null;
|
|
5757
|
+
environment?: string | null;
|
|
5758
|
+
error?: string | null;
|
|
5759
|
+
floriday_id?: string | null;
|
|
5760
|
+
floriday_reference?: string | null;
|
|
5761
|
+
http_status?: number;
|
|
5762
|
+
id?: string;
|
|
5763
|
+
item_count?: number | null;
|
|
5764
|
+
kind?: string | null;
|
|
5765
|
+
local_id?: string | null;
|
|
5766
|
+
local_reference?: string | null;
|
|
5767
|
+
method?: string;
|
|
5768
|
+
module?: string | null;
|
|
5769
|
+
ok?: boolean;
|
|
5770
|
+
path?: string;
|
|
5771
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5772
|
+
resource_type?: string | null;
|
|
5773
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5774
|
+
write_log_id?: string | null;
|
|
5775
|
+
};
|
|
5776
|
+
Relationships: [{
|
|
5777
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5778
|
+
columns: ["connection_id"];
|
|
5779
|
+
isOneToOne: false;
|
|
5780
|
+
referencedRelation: "floriday_connections";
|
|
5781
|
+
referencedColumns: ["id"];
|
|
5782
|
+
}, {
|
|
5783
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5784
|
+
columns: ["write_log_id"];
|
|
5785
|
+
isOneToOne: false;
|
|
5786
|
+
referencedRelation: "floriday_write_log";
|
|
5787
|
+
referencedColumns: ["id"];
|
|
5788
|
+
}];
|
|
5789
|
+
};
|
|
5631
5790
|
floriday_auction_letters_cache: {
|
|
5632
5791
|
Row: {
|
|
5633
5792
|
auction_letter_code: string;
|
|
@@ -5835,6 +5994,84 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
5835
5994
|
referencedColumns: ["id"];
|
|
5836
5995
|
}];
|
|
5837
5996
|
};
|
|
5997
|
+
floriday_catalog_prices_cache: {
|
|
5998
|
+
Row: {
|
|
5999
|
+
connection_id: string;
|
|
6000
|
+
created_at: string;
|
|
6001
|
+
currency: string;
|
|
6002
|
+
id: string;
|
|
6003
|
+
is_deleted: boolean;
|
|
6004
|
+
price: number | null;
|
|
6005
|
+
price_group_id: string | null;
|
|
6006
|
+
price_group_name: string | null;
|
|
6007
|
+
price_type: string;
|
|
6008
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6009
|
+
sales_unit: string | null;
|
|
6010
|
+
sequence_number: number;
|
|
6011
|
+
supplier_article_code: string | null;
|
|
6012
|
+
supply_line_id: string;
|
|
6013
|
+
synced_at: string;
|
|
6014
|
+
trade_item_id: string | null;
|
|
6015
|
+
updated_at: string;
|
|
6016
|
+
valid_from: string | null;
|
|
6017
|
+
valid_to: string | null;
|
|
6018
|
+
week: number | null;
|
|
6019
|
+
year: number | null;
|
|
6020
|
+
};
|
|
6021
|
+
Insert: {
|
|
6022
|
+
connection_id: string;
|
|
6023
|
+
created_at?: string;
|
|
6024
|
+
currency?: string;
|
|
6025
|
+
id?: string;
|
|
6026
|
+
is_deleted?: boolean;
|
|
6027
|
+
price?: number | null;
|
|
6028
|
+
price_group_id?: string | null;
|
|
6029
|
+
price_group_name?: string | null;
|
|
6030
|
+
price_type?: string;
|
|
6031
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6032
|
+
sales_unit?: string | null;
|
|
6033
|
+
sequence_number?: number;
|
|
6034
|
+
supplier_article_code?: string | null;
|
|
6035
|
+
supply_line_id: string;
|
|
6036
|
+
synced_at?: string;
|
|
6037
|
+
trade_item_id?: string | null;
|
|
6038
|
+
updated_at?: string;
|
|
6039
|
+
valid_from?: string | null;
|
|
6040
|
+
valid_to?: string | null;
|
|
6041
|
+
week?: number | null;
|
|
6042
|
+
year?: number | null;
|
|
6043
|
+
};
|
|
6044
|
+
Update: {
|
|
6045
|
+
connection_id?: string;
|
|
6046
|
+
created_at?: string;
|
|
6047
|
+
currency?: string;
|
|
6048
|
+
id?: string;
|
|
6049
|
+
is_deleted?: boolean;
|
|
6050
|
+
price?: number | null;
|
|
6051
|
+
price_group_id?: string | null;
|
|
6052
|
+
price_group_name?: string | null;
|
|
6053
|
+
price_type?: string;
|
|
6054
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6055
|
+
sales_unit?: string | null;
|
|
6056
|
+
sequence_number?: number;
|
|
6057
|
+
supplier_article_code?: string | null;
|
|
6058
|
+
supply_line_id?: string;
|
|
6059
|
+
synced_at?: string;
|
|
6060
|
+
trade_item_id?: string | null;
|
|
6061
|
+
updated_at?: string;
|
|
6062
|
+
valid_from?: string | null;
|
|
6063
|
+
valid_to?: string | null;
|
|
6064
|
+
week?: number | null;
|
|
6065
|
+
year?: number | null;
|
|
6066
|
+
};
|
|
6067
|
+
Relationships: [{
|
|
6068
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6069
|
+
columns: ["connection_id"];
|
|
6070
|
+
isOneToOne: false;
|
|
6071
|
+
referencedRelation: "floriday_connections";
|
|
6072
|
+
referencedColumns: ["id"];
|
|
6073
|
+
}];
|
|
6074
|
+
};
|
|
5838
6075
|
floriday_clock_presales_cache: {
|
|
5839
6076
|
Row: {
|
|
5840
6077
|
buyer_organization_id: string | null;
|
|
@@ -6750,6 +6987,69 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
6750
6987
|
referencedColumns: ["id"];
|
|
6751
6988
|
}];
|
|
6752
6989
|
};
|
|
6990
|
+
floriday_link_templates: {
|
|
6991
|
+
Row: {
|
|
6992
|
+
created_at: string;
|
|
6993
|
+
floriday_url_template: string | null;
|
|
6994
|
+
is_active: boolean;
|
|
6995
|
+
label: string;
|
|
6996
|
+
local_url_template: string | null;
|
|
6997
|
+
resource_type: string;
|
|
6998
|
+
updated_at: string;
|
|
6999
|
+
};
|
|
7000
|
+
Insert: {
|
|
7001
|
+
created_at?: string;
|
|
7002
|
+
floriday_url_template?: string | null;
|
|
7003
|
+
is_active?: boolean;
|
|
7004
|
+
label: string;
|
|
7005
|
+
local_url_template?: string | null;
|
|
7006
|
+
resource_type: string;
|
|
7007
|
+
updated_at?: string;
|
|
7008
|
+
};
|
|
7009
|
+
Update: {
|
|
7010
|
+
created_at?: string;
|
|
7011
|
+
floriday_url_template?: string | null;
|
|
7012
|
+
is_active?: boolean;
|
|
7013
|
+
label?: string;
|
|
7014
|
+
local_url_template?: string | null;
|
|
7015
|
+
resource_type?: string;
|
|
7016
|
+
updated_at?: string;
|
|
7017
|
+
};
|
|
7018
|
+
Relationships: [];
|
|
7019
|
+
};
|
|
7020
|
+
floriday_log_retention: {
|
|
7021
|
+
Row: {
|
|
7022
|
+
created_at: string;
|
|
7023
|
+
direction: string | null;
|
|
7024
|
+
id: string;
|
|
7025
|
+
keep_failed_days: number | null;
|
|
7026
|
+
keep_ok_days: number | null;
|
|
7027
|
+
note: string | null;
|
|
7028
|
+
resource_type: string | null;
|
|
7029
|
+
updated_at: string;
|
|
7030
|
+
};
|
|
7031
|
+
Insert: {
|
|
7032
|
+
created_at?: string;
|
|
7033
|
+
direction?: string | null;
|
|
7034
|
+
id?: string;
|
|
7035
|
+
keep_failed_days?: number | null;
|
|
7036
|
+
keep_ok_days?: number | null;
|
|
7037
|
+
note?: string | null;
|
|
7038
|
+
resource_type?: string | null;
|
|
7039
|
+
updated_at?: string;
|
|
7040
|
+
};
|
|
7041
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
7052
|
+
};
|
|
6753
7053
|
floriday_logistic_labels_cache: {
|
|
6754
7054
|
Row: {
|
|
6755
7055
|
byte_size: number | null;
|
|
@@ -10374,6 +10674,48 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
10374
10674
|
};
|
|
10375
10675
|
Relationships: [];
|
|
10376
10676
|
};
|
|
10677
|
+
logistics_pick_data_requests: {
|
|
10678
|
+
Row: {
|
|
10679
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10680
|
+
created_at: string;
|
|
10681
|
+
event_id: string | null;
|
|
10682
|
+
finished_at: string | null;
|
|
10683
|
+
id: string;
|
|
10684
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10685
|
+
order_ref: string;
|
|
10686
|
+
reason: string | null;
|
|
10687
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10688
|
+
status: string;
|
|
10689
|
+
unit_ref: string | null;
|
|
10690
|
+
};
|
|
10691
|
+
Insert: {
|
|
10692
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10693
|
+
created_at?: string;
|
|
10694
|
+
event_id?: string | null;
|
|
10695
|
+
finished_at?: string | null;
|
|
10696
|
+
id?: string;
|
|
10697
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10698
|
+
order_ref: string;
|
|
10699
|
+
reason?: string | null;
|
|
10700
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10701
|
+
status?: string;
|
|
10702
|
+
unit_ref?: string | null;
|
|
10703
|
+
};
|
|
10704
|
+
Update: {
|
|
10705
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10706
|
+
created_at?: string;
|
|
10707
|
+
event_id?: string | null;
|
|
10708
|
+
finished_at?: string | null;
|
|
10709
|
+
id?: string;
|
|
10710
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10711
|
+
order_ref?: string;
|
|
10712
|
+
reason?: string | null;
|
|
10713
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10714
|
+
status?: string;
|
|
10715
|
+
unit_ref?: string | null;
|
|
10716
|
+
};
|
|
10717
|
+
Relationships: [];
|
|
10718
|
+
};
|
|
10377
10719
|
logistics_pickup_moments: {
|
|
10378
10720
|
Row: {
|
|
10379
10721
|
carrier_ref: string | null;
|
|
@@ -10833,6 +11175,69 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
10833
11175
|
};
|
|
10834
11176
|
Relationships: [];
|
|
10835
11177
|
};
|
|
11178
|
+
logistics_slip_shipping_note: {
|
|
11179
|
+
Row: {
|
|
11180
|
+
attempts: number;
|
|
11181
|
+
batch_key: string | null;
|
|
11182
|
+
cart_id: string | null;
|
|
11183
|
+
created_at: string;
|
|
11184
|
+
error: string | null;
|
|
11185
|
+
error_code: string | null;
|
|
11186
|
+
fulfillment_order_id: string | null;
|
|
11187
|
+
id: string;
|
|
11188
|
+
locked_until: string | null;
|
|
11189
|
+
next_attempt_at: string | null;
|
|
11190
|
+
order_id: string | null;
|
|
11191
|
+
order_number: string | null;
|
|
11192
|
+
print_job_id: string | null;
|
|
11193
|
+
printer_id: string | null;
|
|
11194
|
+
retry_class: string | null;
|
|
11195
|
+
slip_job_id: string;
|
|
11196
|
+
status: string;
|
|
11197
|
+
updated_at: string;
|
|
11198
|
+
};
|
|
11199
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
11240
|
+
};
|
|
10836
11241
|
logistics_staff_planning: {
|
|
10837
11242
|
Row: {
|
|
10838
11243
|
created_at: string;
|
|
@@ -11184,6 +11589,111 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
11184
11589
|
};
|
|
11185
11590
|
Relationships: [];
|
|
11186
11591
|
};
|
|
11592
|
+
logistics_trace_events: {
|
|
11593
|
+
Row: {
|
|
11594
|
+
actor: string | null;
|
|
11595
|
+
attempts: number;
|
|
11596
|
+
cart_ref: string | null;
|
|
11597
|
+
created_at: string;
|
|
11598
|
+
db_action: string | null;
|
|
11599
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11600
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11601
|
+
db_record: string | null;
|
|
11602
|
+
db_table: string | null;
|
|
11603
|
+
decision: string | null;
|
|
11604
|
+
duration_ms: number | null;
|
|
11605
|
+
error: string | null;
|
|
11606
|
+
external_action: string | null;
|
|
11607
|
+
external_ref: string | null;
|
|
11608
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11609
|
+
external_status: string | null;
|
|
11610
|
+
external_system: string | null;
|
|
11611
|
+
id: string;
|
|
11612
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11613
|
+
next_attempt_at: string | null;
|
|
11614
|
+
order_ref: string | null;
|
|
11615
|
+
order_source: string | null;
|
|
11616
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11617
|
+
phase: string;
|
|
11618
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11619
|
+
reason: string | null;
|
|
11620
|
+
rule: string | null;
|
|
11621
|
+
slip_ref: string | null;
|
|
11622
|
+
status: string;
|
|
11623
|
+
step: string;
|
|
11624
|
+
trace_id: string;
|
|
11625
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11626
|
+
};
|
|
11627
|
+
Insert: {
|
|
11628
|
+
actor?: string | null;
|
|
11629
|
+
attempts?: number;
|
|
11630
|
+
cart_ref?: string | null;
|
|
11631
|
+
created_at?: string;
|
|
11632
|
+
db_action?: string | null;
|
|
11633
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11634
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11635
|
+
db_record?: string | null;
|
|
11636
|
+
db_table?: string | null;
|
|
11637
|
+
decision?: string | null;
|
|
11638
|
+
duration_ms?: number | null;
|
|
11639
|
+
error?: string | null;
|
|
11640
|
+
external_action?: string | null;
|
|
11641
|
+
external_ref?: string | null;
|
|
11642
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11643
|
+
external_status?: string | null;
|
|
11644
|
+
external_system?: string | null;
|
|
11645
|
+
id?: string;
|
|
11646
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11647
|
+
next_attempt_at?: string | null;
|
|
11648
|
+
order_ref?: string | null;
|
|
11649
|
+
order_source?: string | null;
|
|
11650
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11651
|
+
phase: string;
|
|
11652
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11653
|
+
reason?: string | null;
|
|
11654
|
+
rule?: string | null;
|
|
11655
|
+
slip_ref?: string | null;
|
|
11656
|
+
status: string;
|
|
11657
|
+
step: string;
|
|
11658
|
+
trace_id?: string;
|
|
11659
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11660
|
+
};
|
|
11661
|
+
Update: {
|
|
11662
|
+
actor?: string | null;
|
|
11663
|
+
attempts?: number;
|
|
11664
|
+
cart_ref?: string | null;
|
|
11665
|
+
created_at?: string;
|
|
11666
|
+
db_action?: string | null;
|
|
11667
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11668
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11669
|
+
db_record?: string | null;
|
|
11670
|
+
db_table?: string | null;
|
|
11671
|
+
decision?: string | null;
|
|
11672
|
+
duration_ms?: number | null;
|
|
11673
|
+
error?: string | null;
|
|
11674
|
+
external_action?: string | null;
|
|
11675
|
+
external_ref?: string | null;
|
|
11676
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11677
|
+
external_status?: string | null;
|
|
11678
|
+
external_system?: string | null;
|
|
11679
|
+
id?: string;
|
|
11680
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11681
|
+
next_attempt_at?: string | null;
|
|
11682
|
+
order_ref?: string | null;
|
|
11683
|
+
order_source?: string | null;
|
|
11684
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11685
|
+
phase?: string;
|
|
11686
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11687
|
+
reason?: string | null;
|
|
11688
|
+
rule?: string | null;
|
|
11689
|
+
slip_ref?: string | null;
|
|
11690
|
+
status?: string;
|
|
11691
|
+
step?: string;
|
|
11692
|
+
trace_id?: string;
|
|
11693
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11694
|
+
};
|
|
11695
|
+
Relationships: [];
|
|
11696
|
+
};
|
|
11187
11697
|
logistics_variables: {
|
|
11188
11698
|
Row: {
|
|
11189
11699
|
created_at: string;
|
|
@@ -21756,6 +22266,15 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
21756
22266
|
Args: never;
|
|
21757
22267
|
Returns: boolean;
|
|
21758
22268
|
};
|
|
22269
|
+
cancel_open_print_jobs: {
|
|
22270
|
+
Args: {
|
|
22271
|
+
_cutoff: string;
|
|
22272
|
+
};
|
|
22273
|
+
Returns: {
|
|
22274
|
+
extern_job_id: string;
|
|
22275
|
+
id: string;
|
|
22276
|
+
}[];
|
|
22277
|
+
};
|
|
21759
22278
|
check_offer_product_available_stock: {
|
|
21760
22279
|
Args: {
|
|
21761
22280
|
p_campaign_product_id: string;
|
|
@@ -23294,6 +23813,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23294
23813
|
};
|
|
23295
23814
|
Returns: string;
|
|
23296
23815
|
};
|
|
23816
|
+
logistics_cart_checkin_at: {
|
|
23817
|
+
Args: {
|
|
23818
|
+
p_cart_id: string;
|
|
23819
|
+
};
|
|
23820
|
+
Returns: string;
|
|
23821
|
+
};
|
|
23297
23822
|
logistics_cart_handled: {
|
|
23298
23823
|
Args: {
|
|
23299
23824
|
p_cart_index: number;
|
|
@@ -23327,10 +23852,22 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23327
23852
|
task_status: string;
|
|
23328
23853
|
}[];
|
|
23329
23854
|
};
|
|
23855
|
+
logistics_cart_is_full: {
|
|
23856
|
+
Args: {
|
|
23857
|
+
p_cart_id: string;
|
|
23858
|
+
};
|
|
23859
|
+
Returns: boolean;
|
|
23860
|
+
};
|
|
23330
23861
|
logistics_cart_layout_method: {
|
|
23331
23862
|
Args: never;
|
|
23332
23863
|
Returns: import("../integrations/supabase/types").Json;
|
|
23333
23864
|
};
|
|
23865
|
+
logistics_cart_order_refs: {
|
|
23866
|
+
Args: {
|
|
23867
|
+
p_cart_id: string;
|
|
23868
|
+
};
|
|
23869
|
+
Returns: string[];
|
|
23870
|
+
};
|
|
23334
23871
|
logistics_cart_plan_overview: {
|
|
23335
23872
|
Args: {
|
|
23336
23873
|
p_days?: number;
|
|
@@ -23350,6 +23887,24 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23350
23887
|
};
|
|
23351
23888
|
Returns: import("../integrations/supabase/types").Json;
|
|
23352
23889
|
};
|
|
23890
|
+
logistics_cart_plan_status_core: {
|
|
23891
|
+
Args: {
|
|
23892
|
+
p_ref: string;
|
|
23893
|
+
};
|
|
23894
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23895
|
+
};
|
|
23896
|
+
logistics_cart_release_reason: {
|
|
23897
|
+
Args: {
|
|
23898
|
+
p_cart_id: string;
|
|
23899
|
+
};
|
|
23900
|
+
Returns: string;
|
|
23901
|
+
};
|
|
23902
|
+
logistics_cart_released: {
|
|
23903
|
+
Args: {
|
|
23904
|
+
p_cart_id: string;
|
|
23905
|
+
};
|
|
23906
|
+
Returns: boolean;
|
|
23907
|
+
};
|
|
23353
23908
|
logistics_cart_seq: {
|
|
23354
23909
|
Args: {
|
|
23355
23910
|
p_order_uuid?: string;
|
|
@@ -23400,6 +23955,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23400
23955
|
unit_ref: string;
|
|
23401
23956
|
}[];
|
|
23402
23957
|
};
|
|
23958
|
+
logistics_carts_per_print: {
|
|
23959
|
+
Args: never;
|
|
23960
|
+
Returns: number;
|
|
23961
|
+
};
|
|
23403
23962
|
logistics_check_order_allowed: {
|
|
23404
23963
|
Args: {
|
|
23405
23964
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23503,6 +24062,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23503
24062
|
isSetofReturn: false;
|
|
23504
24063
|
};
|
|
23505
24064
|
};
|
|
24065
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24066
|
+
Args: never;
|
|
24067
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24068
|
+
};
|
|
23506
24069
|
logistics_complete_task: {
|
|
23507
24070
|
Args: {
|
|
23508
24071
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23754,6 +24317,20 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23754
24317
|
};
|
|
23755
24318
|
Returns: string;
|
|
23756
24319
|
};
|
|
24320
|
+
logistics_ensure_pick_data: {
|
|
24321
|
+
Args: {
|
|
24322
|
+
p_event_id?: string;
|
|
24323
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24324
|
+
p_ref: string;
|
|
24325
|
+
};
|
|
24326
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24327
|
+
};
|
|
24328
|
+
logistics_ensure_shipping_notes: {
|
|
24329
|
+
Args: {
|
|
24330
|
+
p_limit?: number;
|
|
24331
|
+
};
|
|
24332
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24333
|
+
};
|
|
23757
24334
|
logistics_fail_task: {
|
|
23758
24335
|
Args: {
|
|
23759
24336
|
p_error: string;
|
|
@@ -23799,6 +24376,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23799
24376
|
isSetofReturn: false;
|
|
23800
24377
|
};
|
|
23801
24378
|
};
|
|
24379
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24380
|
+
Args: never;
|
|
24381
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24382
|
+
};
|
|
23802
24383
|
logistics_floriday_cart_plan: {
|
|
23803
24384
|
Args: {
|
|
23804
24385
|
p_order_id: string;
|
|
@@ -23826,6 +24407,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23826
24407
|
revision: number;
|
|
23827
24408
|
}[];
|
|
23828
24409
|
};
|
|
24410
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24411
|
+
Args: never;
|
|
24412
|
+
Returns: boolean;
|
|
24413
|
+
};
|
|
23829
24414
|
logistics_floriday_finish_push: {
|
|
23830
24415
|
Args: {
|
|
23831
24416
|
_error?: string;
|
|
@@ -23977,6 +24562,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
23977
24562
|
};
|
|
23978
24563
|
Returns: number;
|
|
23979
24564
|
};
|
|
24565
|
+
logistics_merge_partial_carts: {
|
|
24566
|
+
Args: {
|
|
24567
|
+
p_limit?: number;
|
|
24568
|
+
};
|
|
24569
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24570
|
+
};
|
|
23980
24571
|
logistics_next_workday_date: {
|
|
23981
24572
|
Args: {
|
|
23982
24573
|
p_date: string;
|
|
@@ -24063,6 +24654,12 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24063
24654
|
};
|
|
24064
24655
|
Returns: string;
|
|
24065
24656
|
};
|
|
24657
|
+
logistics_payload_is_floriday: {
|
|
24658
|
+
Args: {
|
|
24659
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24660
|
+
};
|
|
24661
|
+
Returns: boolean;
|
|
24662
|
+
};
|
|
24066
24663
|
logistics_pick_agenda: {
|
|
24067
24664
|
Args: {
|
|
24068
24665
|
p_from?: string;
|
|
@@ -24091,6 +24688,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24091
24688
|
Args: never;
|
|
24092
24689
|
Returns: import("../integrations/supabase/types").Json;
|
|
24093
24690
|
};
|
|
24691
|
+
logistics_pick_partial_mode: {
|
|
24692
|
+
Args: never;
|
|
24693
|
+
Returns: string;
|
|
24694
|
+
};
|
|
24094
24695
|
logistics_pick_start_estimate: {
|
|
24095
24696
|
Args: {
|
|
24096
24697
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -24181,6 +24782,20 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24181
24782
|
Args: never;
|
|
24182
24783
|
Returns: undefined;
|
|
24183
24784
|
};
|
|
24785
|
+
logistics_plan_progress: {
|
|
24786
|
+
Args: {
|
|
24787
|
+
p_refs: string[];
|
|
24788
|
+
};
|
|
24789
|
+
Returns: {
|
|
24790
|
+
cart_plan_ready: boolean;
|
|
24791
|
+
cart_plan_reason: string;
|
|
24792
|
+
cart_plan_released: boolean;
|
|
24793
|
+
plan_progress: number;
|
|
24794
|
+
plan_state: string;
|
|
24795
|
+
plan_state_since: string;
|
|
24796
|
+
unit_ref: string;
|
|
24797
|
+
}[];
|
|
24798
|
+
};
|
|
24184
24799
|
logistics_plan_prune: {
|
|
24185
24800
|
Args: never;
|
|
24186
24801
|
Returns: number;
|
|
@@ -24202,6 +24817,18 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24202
24817
|
};
|
|
24203
24818
|
Returns: number;
|
|
24204
24819
|
};
|
|
24820
|
+
logistics_plan_state_for: {
|
|
24821
|
+
Args: {
|
|
24822
|
+
p_ref: string;
|
|
24823
|
+
};
|
|
24824
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24825
|
+
};
|
|
24826
|
+
logistics_prepare_pick_documents: {
|
|
24827
|
+
Args: {
|
|
24828
|
+
p_limit?: number;
|
|
24829
|
+
};
|
|
24830
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24831
|
+
};
|
|
24205
24832
|
logistics_prune_buffer_member_queue: {
|
|
24206
24833
|
Args: never;
|
|
24207
24834
|
Returns: number;
|
|
@@ -24242,18 +24869,36 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24242
24869
|
Args: never;
|
|
24243
24870
|
Returns: import("../integrations/supabase/types").Json;
|
|
24244
24871
|
};
|
|
24872
|
+
logistics_refresh_pick_queue_status: {
|
|
24873
|
+
Args: {
|
|
24874
|
+
p_ref: string;
|
|
24875
|
+
};
|
|
24876
|
+
Returns: number;
|
|
24877
|
+
};
|
|
24245
24878
|
logistics_refresh_pickup_moments: {
|
|
24246
24879
|
Args: {
|
|
24247
24880
|
p_weeks?: number;
|
|
24248
24881
|
};
|
|
24249
24882
|
Returns: import("../integrations/supabase/types").Json;
|
|
24250
24883
|
};
|
|
24884
|
+
logistics_refresh_plan_state: {
|
|
24885
|
+
Args: {
|
|
24886
|
+
p_limit?: number;
|
|
24887
|
+
};
|
|
24888
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24889
|
+
};
|
|
24251
24890
|
logistics_replan_all: {
|
|
24252
24891
|
Args: {
|
|
24253
24892
|
p_reason?: string;
|
|
24254
24893
|
};
|
|
24255
24894
|
Returns: import("../integrations/supabase/types").Json;
|
|
24256
24895
|
};
|
|
24896
|
+
logistics_replan_all_force: {
|
|
24897
|
+
Args: {
|
|
24898
|
+
p_reason?: string;
|
|
24899
|
+
};
|
|
24900
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24901
|
+
};
|
|
24257
24902
|
logistics_report_delay: {
|
|
24258
24903
|
Args: {
|
|
24259
24904
|
p_expected_date?: string;
|
|
@@ -24410,6 +25055,74 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24410
25055
|
};
|
|
24411
25056
|
Returns: import("../integrations/supabase/types").Json;
|
|
24412
25057
|
};
|
|
25058
|
+
logistics_shipping_note_job_for_slip: {
|
|
25059
|
+
Args: {
|
|
25060
|
+
_slip_job_id: string;
|
|
25061
|
+
};
|
|
25062
|
+
Returns: string;
|
|
25063
|
+
};
|
|
25064
|
+
logistics_shipping_notes_wake_all: {
|
|
25065
|
+
Args: never;
|
|
25066
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25067
|
+
};
|
|
25068
|
+
logistics_slip_is_floriday: {
|
|
25069
|
+
Args: {
|
|
25070
|
+
_slip_job_id: string;
|
|
25071
|
+
};
|
|
25072
|
+
Returns: boolean;
|
|
25073
|
+
};
|
|
25074
|
+
logistics_slip_note_claim: {
|
|
25075
|
+
Args: {
|
|
25076
|
+
_lease_seconds?: number;
|
|
25077
|
+
_limit?: number;
|
|
25078
|
+
};
|
|
25079
|
+
Returns: {
|
|
25080
|
+
attempts: number;
|
|
25081
|
+
batch_key: string | null;
|
|
25082
|
+
cart_id: string | null;
|
|
25083
|
+
created_at: string;
|
|
25084
|
+
error: string | null;
|
|
25085
|
+
error_code: string | null;
|
|
25086
|
+
fulfillment_order_id: string | null;
|
|
25087
|
+
id: string;
|
|
25088
|
+
locked_until: string | null;
|
|
25089
|
+
next_attempt_at: string | null;
|
|
25090
|
+
order_id: string | null;
|
|
25091
|
+
order_number: string | null;
|
|
25092
|
+
print_job_id: string | null;
|
|
25093
|
+
printer_id: string | null;
|
|
25094
|
+
retry_class: string | null;
|
|
25095
|
+
slip_job_id: string;
|
|
25096
|
+
status: string;
|
|
25097
|
+
updated_at: string;
|
|
25098
|
+
}[];
|
|
25099
|
+
SetofOptions: {
|
|
25100
|
+
from: "*";
|
|
25101
|
+
to: "logistics_slip_shipping_note";
|
|
25102
|
+
isOneToOne: false;
|
|
25103
|
+
isSetofReturn: true;
|
|
25104
|
+
};
|
|
25105
|
+
};
|
|
25106
|
+
logistics_slip_note_finish: {
|
|
25107
|
+
Args: {
|
|
25108
|
+
_error?: string;
|
|
25109
|
+
_error_code?: string;
|
|
25110
|
+
_fulfillment_order_id?: string;
|
|
25111
|
+
_id: string;
|
|
25112
|
+
_ok: boolean;
|
|
25113
|
+
_print_job_id?: string;
|
|
25114
|
+
_status?: string;
|
|
25115
|
+
};
|
|
25116
|
+
Returns: undefined;
|
|
25117
|
+
};
|
|
25118
|
+
logistics_slip_note_keep_waiting: {
|
|
25119
|
+
Args: {
|
|
25120
|
+
_class?: string;
|
|
25121
|
+
_id: string;
|
|
25122
|
+
_reason: string;
|
|
25123
|
+
};
|
|
25124
|
+
Returns: undefined;
|
|
25125
|
+
};
|
|
24413
25126
|
logistics_sticker_follows_slip: {
|
|
24414
25127
|
Args: never;
|
|
24415
25128
|
Returns: boolean;
|
|
@@ -24464,6 +25177,40 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
24464
25177
|
name: string;
|
|
24465
25178
|
}[];
|
|
24466
25179
|
};
|
|
25180
|
+
logistics_trace: {
|
|
25181
|
+
Args: {
|
|
25182
|
+
p: import("../integrations/supabase/types").Json;
|
|
25183
|
+
};
|
|
25184
|
+
Returns: string;
|
|
25185
|
+
};
|
|
25186
|
+
logistics_trace_batch: {
|
|
25187
|
+
Args: {
|
|
25188
|
+
p: import("../integrations/supabase/types").Json;
|
|
25189
|
+
};
|
|
25190
|
+
Returns: number;
|
|
25191
|
+
};
|
|
25192
|
+
logistics_trace_orders: {
|
|
25193
|
+
Args: {
|
|
25194
|
+
p_limit?: number;
|
|
25195
|
+
p_search?: string;
|
|
25196
|
+
p_since?: string;
|
|
25197
|
+
p_status?: string;
|
|
25198
|
+
};
|
|
25199
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25200
|
+
};
|
|
25201
|
+
logistics_trace_redact: {
|
|
25202
|
+
Args: {
|
|
25203
|
+
p: import("../integrations/supabase/types").Json;
|
|
25204
|
+
};
|
|
25205
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25206
|
+
};
|
|
25207
|
+
logistics_trace_timeline: {
|
|
25208
|
+
Args: {
|
|
25209
|
+
p_limit?: number;
|
|
25210
|
+
p_order_ref: string;
|
|
25211
|
+
};
|
|
25212
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25213
|
+
};
|
|
24467
25214
|
logistics_upsert_task: {
|
|
24468
25215
|
Args: {
|
|
24469
25216
|
p_buffer_ref: string;
|
|
@@ -25505,6 +26252,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
25505
26252
|
};
|
|
25506
26253
|
Returns: undefined;
|
|
25507
26254
|
};
|
|
26255
|
+
prune_floriday_api_log: {
|
|
26256
|
+
Args: never;
|
|
26257
|
+
Returns: number;
|
|
26258
|
+
};
|
|
25508
26259
|
quote_create_from_source: {
|
|
25509
26260
|
Args: {
|
|
25510
26261
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25938,6 +26689,13 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
25938
26689
|
};
|
|
25939
26690
|
Returns: number;
|
|
25940
26691
|
};
|
|
26692
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26693
|
+
Args: {
|
|
26694
|
+
p_apikey: string;
|
|
26695
|
+
p_url: string;
|
|
26696
|
+
};
|
|
26697
|
+
Returns: number;
|
|
26698
|
+
};
|
|
25941
26699
|
schedule_floriday_clock_presales_sync: {
|
|
25942
26700
|
Args: {
|
|
25943
26701
|
p_apikey: string;
|
|
@@ -26238,6 +26996,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
26238
26996
|
};
|
|
26239
26997
|
Returns: undefined;
|
|
26240
26998
|
};
|
|
26999
|
+
sync_floriday_prices_into_price_groups: {
|
|
27000
|
+
Args: never;
|
|
27001
|
+
Returns: number;
|
|
27002
|
+
};
|
|
26241
27003
|
sync_layer_stock: {
|
|
26242
27004
|
Args: {
|
|
26243
27005
|
p_product_id: string;
|
|
@@ -26370,6 +27132,10 @@ export declare const listCartLayers: import("@tanstack/start-client-core").Optio
|
|
|
26370
27132
|
Args: never;
|
|
26371
27133
|
Returns: string;
|
|
26372
27134
|
};
|
|
27135
|
+
voorraad_cleanup_old_rows: {
|
|
27136
|
+
Args: never;
|
|
27137
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27138
|
+
};
|
|
26373
27139
|
wake_print_queue: {
|
|
26374
27140
|
Args: {
|
|
26375
27141
|
_min_interval_ms?: number;
|
|
@@ -28681,6 +29447,45 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
28681
29447
|
};
|
|
28682
29448
|
Relationships: [];
|
|
28683
29449
|
};
|
|
29450
|
+
customer_product_stickers: {
|
|
29451
|
+
Row: {
|
|
29452
|
+
created_at: string;
|
|
29453
|
+
customer_key: string;
|
|
29454
|
+
file_name: string;
|
|
29455
|
+
file_path: string;
|
|
29456
|
+
file_size: number | null;
|
|
29457
|
+
id: string;
|
|
29458
|
+
mime_type: string | null;
|
|
29459
|
+
trade_item_key: string;
|
|
29460
|
+
updated_at: string;
|
|
29461
|
+
uploaded_by: string | null;
|
|
29462
|
+
};
|
|
29463
|
+
Insert: {
|
|
29464
|
+
created_at?: string;
|
|
29465
|
+
customer_key: string;
|
|
29466
|
+
file_name: string;
|
|
29467
|
+
file_path: string;
|
|
29468
|
+
file_size?: number | null;
|
|
29469
|
+
id?: string;
|
|
29470
|
+
mime_type?: string | null;
|
|
29471
|
+
trade_item_key: string;
|
|
29472
|
+
updated_at?: string;
|
|
29473
|
+
uploaded_by?: string | null;
|
|
29474
|
+
};
|
|
29475
|
+
Update: {
|
|
29476
|
+
created_at?: string;
|
|
29477
|
+
customer_key?: string;
|
|
29478
|
+
file_name?: string;
|
|
29479
|
+
file_path?: string;
|
|
29480
|
+
file_size?: number | null;
|
|
29481
|
+
id?: string;
|
|
29482
|
+
mime_type?: string | null;
|
|
29483
|
+
trade_item_key?: string;
|
|
29484
|
+
updated_at?: string;
|
|
29485
|
+
uploaded_by?: string | null;
|
|
29486
|
+
};
|
|
29487
|
+
Relationships: [];
|
|
29488
|
+
};
|
|
28684
29489
|
customer_selected_assortment: {
|
|
28685
29490
|
Row: {
|
|
28686
29491
|
article_number: string | null;
|
|
@@ -28729,6 +29534,30 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
28729
29534
|
referencedColumns: ["id"];
|
|
28730
29535
|
}];
|
|
28731
29536
|
};
|
|
29537
|
+
customer_sticker_settings: {
|
|
29538
|
+
Row: {
|
|
29539
|
+
created_at: string;
|
|
29540
|
+
customer_key: string;
|
|
29541
|
+
height_mm: number;
|
|
29542
|
+
updated_at: string;
|
|
29543
|
+
width_mm: number;
|
|
29544
|
+
};
|
|
29545
|
+
Insert: {
|
|
29546
|
+
created_at?: string;
|
|
29547
|
+
customer_key: string;
|
|
29548
|
+
height_mm?: number;
|
|
29549
|
+
updated_at?: string;
|
|
29550
|
+
width_mm?: number;
|
|
29551
|
+
};
|
|
29552
|
+
Update: {
|
|
29553
|
+
created_at?: string;
|
|
29554
|
+
customer_key?: string;
|
|
29555
|
+
height_mm?: number;
|
|
29556
|
+
updated_at?: string;
|
|
29557
|
+
width_mm?: number;
|
|
29558
|
+
};
|
|
29559
|
+
Relationships: [];
|
|
29560
|
+
};
|
|
28732
29561
|
customer_trade_settings: {
|
|
28733
29562
|
Row: {
|
|
28734
29563
|
category: string;
|
|
@@ -32059,6 +32888,102 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
32059
32888
|
referencedColumns: ["id"];
|
|
32060
32889
|
}];
|
|
32061
32890
|
};
|
|
32891
|
+
floriday_api_log: {
|
|
32892
|
+
Row: {
|
|
32893
|
+
action: string | null;
|
|
32894
|
+
caller: string | null;
|
|
32895
|
+
connection_id: string | null;
|
|
32896
|
+
created_at: string;
|
|
32897
|
+
cursor_from: number | null;
|
|
32898
|
+
direction: string;
|
|
32899
|
+
duration_ms: number | null;
|
|
32900
|
+
environment: string | null;
|
|
32901
|
+
error: string | null;
|
|
32902
|
+
floriday_id: string | null;
|
|
32903
|
+
floriday_reference: string | null;
|
|
32904
|
+
http_status: number;
|
|
32905
|
+
id: string;
|
|
32906
|
+
item_count: number | null;
|
|
32907
|
+
kind: string | null;
|
|
32908
|
+
local_id: string | null;
|
|
32909
|
+
local_reference: string | null;
|
|
32910
|
+
method: string;
|
|
32911
|
+
module: string | null;
|
|
32912
|
+
ok: boolean;
|
|
32913
|
+
path: string;
|
|
32914
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32915
|
+
resource_type: string | null;
|
|
32916
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32917
|
+
write_log_id: string | null;
|
|
32918
|
+
};
|
|
32919
|
+
Insert: {
|
|
32920
|
+
action?: string | null;
|
|
32921
|
+
caller?: string | null;
|
|
32922
|
+
connection_id?: string | null;
|
|
32923
|
+
created_at?: string;
|
|
32924
|
+
cursor_from?: number | null;
|
|
32925
|
+
direction: string;
|
|
32926
|
+
duration_ms?: number | null;
|
|
32927
|
+
environment?: string | null;
|
|
32928
|
+
error?: string | null;
|
|
32929
|
+
floriday_id?: string | null;
|
|
32930
|
+
floriday_reference?: string | null;
|
|
32931
|
+
http_status?: number;
|
|
32932
|
+
id?: string;
|
|
32933
|
+
item_count?: number | null;
|
|
32934
|
+
kind?: string | null;
|
|
32935
|
+
local_id?: string | null;
|
|
32936
|
+
local_reference?: string | null;
|
|
32937
|
+
method: string;
|
|
32938
|
+
module?: string | null;
|
|
32939
|
+
ok?: boolean;
|
|
32940
|
+
path: string;
|
|
32941
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32942
|
+
resource_type?: string | null;
|
|
32943
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32944
|
+
write_log_id?: string | null;
|
|
32945
|
+
};
|
|
32946
|
+
Update: {
|
|
32947
|
+
action?: string | null;
|
|
32948
|
+
caller?: string | null;
|
|
32949
|
+
connection_id?: string | null;
|
|
32950
|
+
created_at?: string;
|
|
32951
|
+
cursor_from?: number | null;
|
|
32952
|
+
direction?: string;
|
|
32953
|
+
duration_ms?: number | null;
|
|
32954
|
+
environment?: string | null;
|
|
32955
|
+
error?: string | null;
|
|
32956
|
+
floriday_id?: string | null;
|
|
32957
|
+
floriday_reference?: string | null;
|
|
32958
|
+
http_status?: number;
|
|
32959
|
+
id?: string;
|
|
32960
|
+
item_count?: number | null;
|
|
32961
|
+
kind?: string | null;
|
|
32962
|
+
local_id?: string | null;
|
|
32963
|
+
local_reference?: string | null;
|
|
32964
|
+
method?: string;
|
|
32965
|
+
module?: string | null;
|
|
32966
|
+
ok?: boolean;
|
|
32967
|
+
path?: string;
|
|
32968
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32969
|
+
resource_type?: string | null;
|
|
32970
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32971
|
+
write_log_id?: string | null;
|
|
32972
|
+
};
|
|
32973
|
+
Relationships: [{
|
|
32974
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32975
|
+
columns: ["connection_id"];
|
|
32976
|
+
isOneToOne: false;
|
|
32977
|
+
referencedRelation: "floriday_connections";
|
|
32978
|
+
referencedColumns: ["id"];
|
|
32979
|
+
}, {
|
|
32980
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32981
|
+
columns: ["write_log_id"];
|
|
32982
|
+
isOneToOne: false;
|
|
32983
|
+
referencedRelation: "floriday_write_log";
|
|
32984
|
+
referencedColumns: ["id"];
|
|
32985
|
+
}];
|
|
32986
|
+
};
|
|
32062
32987
|
floriday_auction_letters_cache: {
|
|
32063
32988
|
Row: {
|
|
32064
32989
|
auction_letter_code: string;
|
|
@@ -32266,6 +33191,84 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
32266
33191
|
referencedColumns: ["id"];
|
|
32267
33192
|
}];
|
|
32268
33193
|
};
|
|
33194
|
+
floriday_catalog_prices_cache: {
|
|
33195
|
+
Row: {
|
|
33196
|
+
connection_id: string;
|
|
33197
|
+
created_at: string;
|
|
33198
|
+
currency: string;
|
|
33199
|
+
id: string;
|
|
33200
|
+
is_deleted: boolean;
|
|
33201
|
+
price: number | null;
|
|
33202
|
+
price_group_id: string | null;
|
|
33203
|
+
price_group_name: string | null;
|
|
33204
|
+
price_type: string;
|
|
33205
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
33206
|
+
sales_unit: string | null;
|
|
33207
|
+
sequence_number: number;
|
|
33208
|
+
supplier_article_code: string | null;
|
|
33209
|
+
supply_line_id: string;
|
|
33210
|
+
synced_at: string;
|
|
33211
|
+
trade_item_id: string | null;
|
|
33212
|
+
updated_at: string;
|
|
33213
|
+
valid_from: string | null;
|
|
33214
|
+
valid_to: string | null;
|
|
33215
|
+
week: number | null;
|
|
33216
|
+
year: number | null;
|
|
33217
|
+
};
|
|
33218
|
+
Insert: {
|
|
33219
|
+
connection_id: string;
|
|
33220
|
+
created_at?: string;
|
|
33221
|
+
currency?: string;
|
|
33222
|
+
id?: string;
|
|
33223
|
+
is_deleted?: boolean;
|
|
33224
|
+
price?: number | null;
|
|
33225
|
+
price_group_id?: string | null;
|
|
33226
|
+
price_group_name?: string | null;
|
|
33227
|
+
price_type?: string;
|
|
33228
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33229
|
+
sales_unit?: string | null;
|
|
33230
|
+
sequence_number?: number;
|
|
33231
|
+
supplier_article_code?: string | null;
|
|
33232
|
+
supply_line_id: string;
|
|
33233
|
+
synced_at?: string;
|
|
33234
|
+
trade_item_id?: string | null;
|
|
33235
|
+
updated_at?: string;
|
|
33236
|
+
valid_from?: string | null;
|
|
33237
|
+
valid_to?: string | null;
|
|
33238
|
+
week?: number | null;
|
|
33239
|
+
year?: number | null;
|
|
33240
|
+
};
|
|
33241
|
+
Update: {
|
|
33242
|
+
connection_id?: string;
|
|
33243
|
+
created_at?: string;
|
|
33244
|
+
currency?: string;
|
|
33245
|
+
id?: string;
|
|
33246
|
+
is_deleted?: boolean;
|
|
33247
|
+
price?: number | null;
|
|
33248
|
+
price_group_id?: string | null;
|
|
33249
|
+
price_group_name?: string | null;
|
|
33250
|
+
price_type?: string;
|
|
33251
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33252
|
+
sales_unit?: string | null;
|
|
33253
|
+
sequence_number?: number;
|
|
33254
|
+
supplier_article_code?: string | null;
|
|
33255
|
+
supply_line_id?: string;
|
|
33256
|
+
synced_at?: string;
|
|
33257
|
+
trade_item_id?: string | null;
|
|
33258
|
+
updated_at?: string;
|
|
33259
|
+
valid_from?: string | null;
|
|
33260
|
+
valid_to?: string | null;
|
|
33261
|
+
week?: number | null;
|
|
33262
|
+
year?: number | null;
|
|
33263
|
+
};
|
|
33264
|
+
Relationships: [{
|
|
33265
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
33266
|
+
columns: ["connection_id"];
|
|
33267
|
+
isOneToOne: false;
|
|
33268
|
+
referencedRelation: "floriday_connections";
|
|
33269
|
+
referencedColumns: ["id"];
|
|
33270
|
+
}];
|
|
33271
|
+
};
|
|
32269
33272
|
floriday_clock_presales_cache: {
|
|
32270
33273
|
Row: {
|
|
32271
33274
|
buyer_organization_id: string | null;
|
|
@@ -33181,6 +34184,69 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
33181
34184
|
referencedColumns: ["id"];
|
|
33182
34185
|
}];
|
|
33183
34186
|
};
|
|
34187
|
+
floriday_link_templates: {
|
|
34188
|
+
Row: {
|
|
34189
|
+
created_at: string;
|
|
34190
|
+
floriday_url_template: string | null;
|
|
34191
|
+
is_active: boolean;
|
|
34192
|
+
label: string;
|
|
34193
|
+
local_url_template: string | null;
|
|
34194
|
+
resource_type: string;
|
|
34195
|
+
updated_at: string;
|
|
34196
|
+
};
|
|
34197
|
+
Insert: {
|
|
34198
|
+
created_at?: string;
|
|
34199
|
+
floriday_url_template?: string | null;
|
|
34200
|
+
is_active?: boolean;
|
|
34201
|
+
label: string;
|
|
34202
|
+
local_url_template?: string | null;
|
|
34203
|
+
resource_type: string;
|
|
34204
|
+
updated_at?: string;
|
|
34205
|
+
};
|
|
34206
|
+
Update: {
|
|
34207
|
+
created_at?: string;
|
|
34208
|
+
floriday_url_template?: string | null;
|
|
34209
|
+
is_active?: boolean;
|
|
34210
|
+
label?: string;
|
|
34211
|
+
local_url_template?: string | null;
|
|
34212
|
+
resource_type?: string;
|
|
34213
|
+
updated_at?: string;
|
|
34214
|
+
};
|
|
34215
|
+
Relationships: [];
|
|
34216
|
+
};
|
|
34217
|
+
floriday_log_retention: {
|
|
34218
|
+
Row: {
|
|
34219
|
+
created_at: string;
|
|
34220
|
+
direction: string | null;
|
|
34221
|
+
id: string;
|
|
34222
|
+
keep_failed_days: number | null;
|
|
34223
|
+
keep_ok_days: number | null;
|
|
34224
|
+
note: string | null;
|
|
34225
|
+
resource_type: string | null;
|
|
34226
|
+
updated_at: string;
|
|
34227
|
+
};
|
|
34228
|
+
Insert: {
|
|
34229
|
+
created_at?: string;
|
|
34230
|
+
direction?: string | null;
|
|
34231
|
+
id?: string;
|
|
34232
|
+
keep_failed_days?: number | null;
|
|
34233
|
+
keep_ok_days?: number | null;
|
|
34234
|
+
note?: string | null;
|
|
34235
|
+
resource_type?: string | null;
|
|
34236
|
+
updated_at?: string;
|
|
34237
|
+
};
|
|
34238
|
+
Update: {
|
|
34239
|
+
created_at?: string;
|
|
34240
|
+
direction?: string | null;
|
|
34241
|
+
id?: string;
|
|
34242
|
+
keep_failed_days?: number | null;
|
|
34243
|
+
keep_ok_days?: number | null;
|
|
34244
|
+
note?: string | null;
|
|
34245
|
+
resource_type?: string | null;
|
|
34246
|
+
updated_at?: string;
|
|
34247
|
+
};
|
|
34248
|
+
Relationships: [];
|
|
34249
|
+
};
|
|
33184
34250
|
floriday_logistic_labels_cache: {
|
|
33185
34251
|
Row: {
|
|
33186
34252
|
byte_size: number | null;
|
|
@@ -36805,6 +37871,48 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
36805
37871
|
};
|
|
36806
37872
|
Relationships: [];
|
|
36807
37873
|
};
|
|
37874
|
+
logistics_pick_data_requests: {
|
|
37875
|
+
Row: {
|
|
37876
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37877
|
+
created_at: string;
|
|
37878
|
+
event_id: string | null;
|
|
37879
|
+
finished_at: string | null;
|
|
37880
|
+
id: string;
|
|
37881
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37882
|
+
order_ref: string;
|
|
37883
|
+
reason: string | null;
|
|
37884
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37885
|
+
status: string;
|
|
37886
|
+
unit_ref: string | null;
|
|
37887
|
+
};
|
|
37888
|
+
Insert: {
|
|
37889
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37890
|
+
created_at?: string;
|
|
37891
|
+
event_id?: string | null;
|
|
37892
|
+
finished_at?: string | null;
|
|
37893
|
+
id?: string;
|
|
37894
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37895
|
+
order_ref: string;
|
|
37896
|
+
reason?: string | null;
|
|
37897
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37898
|
+
status?: string;
|
|
37899
|
+
unit_ref?: string | null;
|
|
37900
|
+
};
|
|
37901
|
+
Update: {
|
|
37902
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37903
|
+
created_at?: string;
|
|
37904
|
+
event_id?: string | null;
|
|
37905
|
+
finished_at?: string | null;
|
|
37906
|
+
id?: string;
|
|
37907
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37908
|
+
order_ref?: string;
|
|
37909
|
+
reason?: string | null;
|
|
37910
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37911
|
+
status?: string;
|
|
37912
|
+
unit_ref?: string | null;
|
|
37913
|
+
};
|
|
37914
|
+
Relationships: [];
|
|
37915
|
+
};
|
|
36808
37916
|
logistics_pickup_moments: {
|
|
36809
37917
|
Row: {
|
|
36810
37918
|
carrier_ref: string | null;
|
|
@@ -37264,6 +38372,69 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
37264
38372
|
};
|
|
37265
38373
|
Relationships: [];
|
|
37266
38374
|
};
|
|
38375
|
+
logistics_slip_shipping_note: {
|
|
38376
|
+
Row: {
|
|
38377
|
+
attempts: number;
|
|
38378
|
+
batch_key: string | null;
|
|
38379
|
+
cart_id: string | null;
|
|
38380
|
+
created_at: string;
|
|
38381
|
+
error: string | null;
|
|
38382
|
+
error_code: string | null;
|
|
38383
|
+
fulfillment_order_id: string | null;
|
|
38384
|
+
id: string;
|
|
38385
|
+
locked_until: string | null;
|
|
38386
|
+
next_attempt_at: string | null;
|
|
38387
|
+
order_id: string | null;
|
|
38388
|
+
order_number: string | null;
|
|
38389
|
+
print_job_id: string | null;
|
|
38390
|
+
printer_id: string | null;
|
|
38391
|
+
retry_class: string | null;
|
|
38392
|
+
slip_job_id: string;
|
|
38393
|
+
status: string;
|
|
38394
|
+
updated_at: string;
|
|
38395
|
+
};
|
|
38396
|
+
Insert: {
|
|
38397
|
+
attempts?: number;
|
|
38398
|
+
batch_key?: string | null;
|
|
38399
|
+
cart_id?: string | null;
|
|
38400
|
+
created_at?: string;
|
|
38401
|
+
error?: string | null;
|
|
38402
|
+
error_code?: string | null;
|
|
38403
|
+
fulfillment_order_id?: string | null;
|
|
38404
|
+
id?: string;
|
|
38405
|
+
locked_until?: string | null;
|
|
38406
|
+
next_attempt_at?: string | null;
|
|
38407
|
+
order_id?: string | null;
|
|
38408
|
+
order_number?: string | null;
|
|
38409
|
+
print_job_id?: string | null;
|
|
38410
|
+
printer_id?: string | null;
|
|
38411
|
+
retry_class?: string | null;
|
|
38412
|
+
slip_job_id: string;
|
|
38413
|
+
status?: string;
|
|
38414
|
+
updated_at?: string;
|
|
38415
|
+
};
|
|
38416
|
+
Update: {
|
|
38417
|
+
attempts?: number;
|
|
38418
|
+
batch_key?: string | null;
|
|
38419
|
+
cart_id?: string | null;
|
|
38420
|
+
created_at?: string;
|
|
38421
|
+
error?: string | null;
|
|
38422
|
+
error_code?: string | null;
|
|
38423
|
+
fulfillment_order_id?: string | null;
|
|
38424
|
+
id?: string;
|
|
38425
|
+
locked_until?: string | null;
|
|
38426
|
+
next_attempt_at?: string | null;
|
|
38427
|
+
order_id?: string | null;
|
|
38428
|
+
order_number?: string | null;
|
|
38429
|
+
print_job_id?: string | null;
|
|
38430
|
+
printer_id?: string | null;
|
|
38431
|
+
retry_class?: string | null;
|
|
38432
|
+
slip_job_id?: string;
|
|
38433
|
+
status?: string;
|
|
38434
|
+
updated_at?: string;
|
|
38435
|
+
};
|
|
38436
|
+
Relationships: [];
|
|
38437
|
+
};
|
|
37267
38438
|
logistics_staff_planning: {
|
|
37268
38439
|
Row: {
|
|
37269
38440
|
created_at: string;
|
|
@@ -37615,6 +38786,111 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
37615
38786
|
};
|
|
37616
38787
|
Relationships: [];
|
|
37617
38788
|
};
|
|
38789
|
+
logistics_trace_events: {
|
|
38790
|
+
Row: {
|
|
38791
|
+
actor: string | null;
|
|
38792
|
+
attempts: number;
|
|
38793
|
+
cart_ref: string | null;
|
|
38794
|
+
created_at: string;
|
|
38795
|
+
db_action: string | null;
|
|
38796
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38797
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38798
|
+
db_record: string | null;
|
|
38799
|
+
db_table: string | null;
|
|
38800
|
+
decision: string | null;
|
|
38801
|
+
duration_ms: number | null;
|
|
38802
|
+
error: string | null;
|
|
38803
|
+
external_action: string | null;
|
|
38804
|
+
external_ref: string | null;
|
|
38805
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38806
|
+
external_status: string | null;
|
|
38807
|
+
external_system: string | null;
|
|
38808
|
+
id: string;
|
|
38809
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38810
|
+
next_attempt_at: string | null;
|
|
38811
|
+
order_ref: string | null;
|
|
38812
|
+
order_source: string | null;
|
|
38813
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38814
|
+
phase: string;
|
|
38815
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38816
|
+
reason: string | null;
|
|
38817
|
+
rule: string | null;
|
|
38818
|
+
slip_ref: string | null;
|
|
38819
|
+
status: string;
|
|
38820
|
+
step: string;
|
|
38821
|
+
trace_id: string;
|
|
38822
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38823
|
+
};
|
|
38824
|
+
Insert: {
|
|
38825
|
+
actor?: string | null;
|
|
38826
|
+
attempts?: number;
|
|
38827
|
+
cart_ref?: string | null;
|
|
38828
|
+
created_at?: string;
|
|
38829
|
+
db_action?: string | null;
|
|
38830
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38831
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38832
|
+
db_record?: string | null;
|
|
38833
|
+
db_table?: string | null;
|
|
38834
|
+
decision?: string | null;
|
|
38835
|
+
duration_ms?: number | null;
|
|
38836
|
+
error?: string | null;
|
|
38837
|
+
external_action?: string | null;
|
|
38838
|
+
external_ref?: string | null;
|
|
38839
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38840
|
+
external_status?: string | null;
|
|
38841
|
+
external_system?: string | null;
|
|
38842
|
+
id?: string;
|
|
38843
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38844
|
+
next_attempt_at?: string | null;
|
|
38845
|
+
order_ref?: string | null;
|
|
38846
|
+
order_source?: string | null;
|
|
38847
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38848
|
+
phase: string;
|
|
38849
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38850
|
+
reason?: string | null;
|
|
38851
|
+
rule?: string | null;
|
|
38852
|
+
slip_ref?: string | null;
|
|
38853
|
+
status: string;
|
|
38854
|
+
step: string;
|
|
38855
|
+
trace_id?: string;
|
|
38856
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38857
|
+
};
|
|
38858
|
+
Update: {
|
|
38859
|
+
actor?: string | null;
|
|
38860
|
+
attempts?: number;
|
|
38861
|
+
cart_ref?: string | null;
|
|
38862
|
+
created_at?: string;
|
|
38863
|
+
db_action?: string | null;
|
|
38864
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38865
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38866
|
+
db_record?: string | null;
|
|
38867
|
+
db_table?: string | null;
|
|
38868
|
+
decision?: string | null;
|
|
38869
|
+
duration_ms?: number | null;
|
|
38870
|
+
error?: string | null;
|
|
38871
|
+
external_action?: string | null;
|
|
38872
|
+
external_ref?: string | null;
|
|
38873
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38874
|
+
external_status?: string | null;
|
|
38875
|
+
external_system?: string | null;
|
|
38876
|
+
id?: string;
|
|
38877
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38878
|
+
next_attempt_at?: string | null;
|
|
38879
|
+
order_ref?: string | null;
|
|
38880
|
+
order_source?: string | null;
|
|
38881
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38882
|
+
phase?: string;
|
|
38883
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38884
|
+
reason?: string | null;
|
|
38885
|
+
rule?: string | null;
|
|
38886
|
+
slip_ref?: string | null;
|
|
38887
|
+
status?: string;
|
|
38888
|
+
step?: string;
|
|
38889
|
+
trace_id?: string;
|
|
38890
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38891
|
+
};
|
|
38892
|
+
Relationships: [];
|
|
38893
|
+
};
|
|
37618
38894
|
logistics_variables: {
|
|
37619
38895
|
Row: {
|
|
37620
38896
|
created_at: string;
|
|
@@ -48187,6 +49463,15 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
48187
49463
|
Args: never;
|
|
48188
49464
|
Returns: boolean;
|
|
48189
49465
|
};
|
|
49466
|
+
cancel_open_print_jobs: {
|
|
49467
|
+
Args: {
|
|
49468
|
+
_cutoff: string;
|
|
49469
|
+
};
|
|
49470
|
+
Returns: {
|
|
49471
|
+
extern_job_id: string;
|
|
49472
|
+
id: string;
|
|
49473
|
+
}[];
|
|
49474
|
+
};
|
|
48190
49475
|
check_offer_product_available_stock: {
|
|
48191
49476
|
Args: {
|
|
48192
49477
|
p_campaign_product_id: string;
|
|
@@ -49725,6 +51010,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
49725
51010
|
};
|
|
49726
51011
|
Returns: string;
|
|
49727
51012
|
};
|
|
51013
|
+
logistics_cart_checkin_at: {
|
|
51014
|
+
Args: {
|
|
51015
|
+
p_cart_id: string;
|
|
51016
|
+
};
|
|
51017
|
+
Returns: string;
|
|
51018
|
+
};
|
|
49728
51019
|
logistics_cart_handled: {
|
|
49729
51020
|
Args: {
|
|
49730
51021
|
p_cart_index: number;
|
|
@@ -49758,10 +51049,22 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
49758
51049
|
task_status: string;
|
|
49759
51050
|
}[];
|
|
49760
51051
|
};
|
|
51052
|
+
logistics_cart_is_full: {
|
|
51053
|
+
Args: {
|
|
51054
|
+
p_cart_id: string;
|
|
51055
|
+
};
|
|
51056
|
+
Returns: boolean;
|
|
51057
|
+
};
|
|
49761
51058
|
logistics_cart_layout_method: {
|
|
49762
51059
|
Args: never;
|
|
49763
51060
|
Returns: import("../integrations/supabase/types").Json;
|
|
49764
51061
|
};
|
|
51062
|
+
logistics_cart_order_refs: {
|
|
51063
|
+
Args: {
|
|
51064
|
+
p_cart_id: string;
|
|
51065
|
+
};
|
|
51066
|
+
Returns: string[];
|
|
51067
|
+
};
|
|
49765
51068
|
logistics_cart_plan_overview: {
|
|
49766
51069
|
Args: {
|
|
49767
51070
|
p_days?: number;
|
|
@@ -49781,6 +51084,24 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
49781
51084
|
};
|
|
49782
51085
|
Returns: import("../integrations/supabase/types").Json;
|
|
49783
51086
|
};
|
|
51087
|
+
logistics_cart_plan_status_core: {
|
|
51088
|
+
Args: {
|
|
51089
|
+
p_ref: string;
|
|
51090
|
+
};
|
|
51091
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51092
|
+
};
|
|
51093
|
+
logistics_cart_release_reason: {
|
|
51094
|
+
Args: {
|
|
51095
|
+
p_cart_id: string;
|
|
51096
|
+
};
|
|
51097
|
+
Returns: string;
|
|
51098
|
+
};
|
|
51099
|
+
logistics_cart_released: {
|
|
51100
|
+
Args: {
|
|
51101
|
+
p_cart_id: string;
|
|
51102
|
+
};
|
|
51103
|
+
Returns: boolean;
|
|
51104
|
+
};
|
|
49784
51105
|
logistics_cart_seq: {
|
|
49785
51106
|
Args: {
|
|
49786
51107
|
p_order_uuid?: string;
|
|
@@ -49831,6 +51152,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
49831
51152
|
unit_ref: string;
|
|
49832
51153
|
}[];
|
|
49833
51154
|
};
|
|
51155
|
+
logistics_carts_per_print: {
|
|
51156
|
+
Args: never;
|
|
51157
|
+
Returns: number;
|
|
51158
|
+
};
|
|
49834
51159
|
logistics_check_order_allowed: {
|
|
49835
51160
|
Args: {
|
|
49836
51161
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49934,6 +51259,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
49934
51259
|
isSetofReturn: false;
|
|
49935
51260
|
};
|
|
49936
51261
|
};
|
|
51262
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
51263
|
+
Args: never;
|
|
51264
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51265
|
+
};
|
|
49937
51266
|
logistics_complete_task: {
|
|
49938
51267
|
Args: {
|
|
49939
51268
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -50185,6 +51514,20 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50185
51514
|
};
|
|
50186
51515
|
Returns: string;
|
|
50187
51516
|
};
|
|
51517
|
+
logistics_ensure_pick_data: {
|
|
51518
|
+
Args: {
|
|
51519
|
+
p_event_id?: string;
|
|
51520
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
51521
|
+
p_ref: string;
|
|
51522
|
+
};
|
|
51523
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51524
|
+
};
|
|
51525
|
+
logistics_ensure_shipping_notes: {
|
|
51526
|
+
Args: {
|
|
51527
|
+
p_limit?: number;
|
|
51528
|
+
};
|
|
51529
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51530
|
+
};
|
|
50188
51531
|
logistics_fail_task: {
|
|
50189
51532
|
Args: {
|
|
50190
51533
|
p_error: string;
|
|
@@ -50230,6 +51573,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50230
51573
|
isSetofReturn: false;
|
|
50231
51574
|
};
|
|
50232
51575
|
};
|
|
51576
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51577
|
+
Args: never;
|
|
51578
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51579
|
+
};
|
|
50233
51580
|
logistics_floriday_cart_plan: {
|
|
50234
51581
|
Args: {
|
|
50235
51582
|
p_order_id: string;
|
|
@@ -50257,6 +51604,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50257
51604
|
revision: number;
|
|
50258
51605
|
}[];
|
|
50259
51606
|
};
|
|
51607
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51608
|
+
Args: never;
|
|
51609
|
+
Returns: boolean;
|
|
51610
|
+
};
|
|
50260
51611
|
logistics_floriday_finish_push: {
|
|
50261
51612
|
Args: {
|
|
50262
51613
|
_error?: string;
|
|
@@ -50408,6 +51759,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50408
51759
|
};
|
|
50409
51760
|
Returns: number;
|
|
50410
51761
|
};
|
|
51762
|
+
logistics_merge_partial_carts: {
|
|
51763
|
+
Args: {
|
|
51764
|
+
p_limit?: number;
|
|
51765
|
+
};
|
|
51766
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51767
|
+
};
|
|
50411
51768
|
logistics_next_workday_date: {
|
|
50412
51769
|
Args: {
|
|
50413
51770
|
p_date: string;
|
|
@@ -50494,6 +51851,12 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50494
51851
|
};
|
|
50495
51852
|
Returns: string;
|
|
50496
51853
|
};
|
|
51854
|
+
logistics_payload_is_floriday: {
|
|
51855
|
+
Args: {
|
|
51856
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51857
|
+
};
|
|
51858
|
+
Returns: boolean;
|
|
51859
|
+
};
|
|
50497
51860
|
logistics_pick_agenda: {
|
|
50498
51861
|
Args: {
|
|
50499
51862
|
p_from?: string;
|
|
@@ -50522,6 +51885,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50522
51885
|
Args: never;
|
|
50523
51886
|
Returns: import("../integrations/supabase/types").Json;
|
|
50524
51887
|
};
|
|
51888
|
+
logistics_pick_partial_mode: {
|
|
51889
|
+
Args: never;
|
|
51890
|
+
Returns: string;
|
|
51891
|
+
};
|
|
50525
51892
|
logistics_pick_start_estimate: {
|
|
50526
51893
|
Args: {
|
|
50527
51894
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50612,6 +51979,20 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50612
51979
|
Args: never;
|
|
50613
51980
|
Returns: undefined;
|
|
50614
51981
|
};
|
|
51982
|
+
logistics_plan_progress: {
|
|
51983
|
+
Args: {
|
|
51984
|
+
p_refs: string[];
|
|
51985
|
+
};
|
|
51986
|
+
Returns: {
|
|
51987
|
+
cart_plan_ready: boolean;
|
|
51988
|
+
cart_plan_reason: string;
|
|
51989
|
+
cart_plan_released: boolean;
|
|
51990
|
+
plan_progress: number;
|
|
51991
|
+
plan_state: string;
|
|
51992
|
+
plan_state_since: string;
|
|
51993
|
+
unit_ref: string;
|
|
51994
|
+
}[];
|
|
51995
|
+
};
|
|
50615
51996
|
logistics_plan_prune: {
|
|
50616
51997
|
Args: never;
|
|
50617
51998
|
Returns: number;
|
|
@@ -50633,6 +52014,18 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50633
52014
|
};
|
|
50634
52015
|
Returns: number;
|
|
50635
52016
|
};
|
|
52017
|
+
logistics_plan_state_for: {
|
|
52018
|
+
Args: {
|
|
52019
|
+
p_ref: string;
|
|
52020
|
+
};
|
|
52021
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52022
|
+
};
|
|
52023
|
+
logistics_prepare_pick_documents: {
|
|
52024
|
+
Args: {
|
|
52025
|
+
p_limit?: number;
|
|
52026
|
+
};
|
|
52027
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52028
|
+
};
|
|
50636
52029
|
logistics_prune_buffer_member_queue: {
|
|
50637
52030
|
Args: never;
|
|
50638
52031
|
Returns: number;
|
|
@@ -50673,18 +52066,36 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50673
52066
|
Args: never;
|
|
50674
52067
|
Returns: import("../integrations/supabase/types").Json;
|
|
50675
52068
|
};
|
|
52069
|
+
logistics_refresh_pick_queue_status: {
|
|
52070
|
+
Args: {
|
|
52071
|
+
p_ref: string;
|
|
52072
|
+
};
|
|
52073
|
+
Returns: number;
|
|
52074
|
+
};
|
|
50676
52075
|
logistics_refresh_pickup_moments: {
|
|
50677
52076
|
Args: {
|
|
50678
52077
|
p_weeks?: number;
|
|
50679
52078
|
};
|
|
50680
52079
|
Returns: import("../integrations/supabase/types").Json;
|
|
50681
52080
|
};
|
|
52081
|
+
logistics_refresh_plan_state: {
|
|
52082
|
+
Args: {
|
|
52083
|
+
p_limit?: number;
|
|
52084
|
+
};
|
|
52085
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52086
|
+
};
|
|
50682
52087
|
logistics_replan_all: {
|
|
50683
52088
|
Args: {
|
|
50684
52089
|
p_reason?: string;
|
|
50685
52090
|
};
|
|
50686
52091
|
Returns: import("../integrations/supabase/types").Json;
|
|
50687
52092
|
};
|
|
52093
|
+
logistics_replan_all_force: {
|
|
52094
|
+
Args: {
|
|
52095
|
+
p_reason?: string;
|
|
52096
|
+
};
|
|
52097
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52098
|
+
};
|
|
50688
52099
|
logistics_report_delay: {
|
|
50689
52100
|
Args: {
|
|
50690
52101
|
p_expected_date?: string;
|
|
@@ -50841,6 +52252,74 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50841
52252
|
};
|
|
50842
52253
|
Returns: import("../integrations/supabase/types").Json;
|
|
50843
52254
|
};
|
|
52255
|
+
logistics_shipping_note_job_for_slip: {
|
|
52256
|
+
Args: {
|
|
52257
|
+
_slip_job_id: string;
|
|
52258
|
+
};
|
|
52259
|
+
Returns: string;
|
|
52260
|
+
};
|
|
52261
|
+
logistics_shipping_notes_wake_all: {
|
|
52262
|
+
Args: never;
|
|
52263
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52264
|
+
};
|
|
52265
|
+
logistics_slip_is_floriday: {
|
|
52266
|
+
Args: {
|
|
52267
|
+
_slip_job_id: string;
|
|
52268
|
+
};
|
|
52269
|
+
Returns: boolean;
|
|
52270
|
+
};
|
|
52271
|
+
logistics_slip_note_claim: {
|
|
52272
|
+
Args: {
|
|
52273
|
+
_lease_seconds?: number;
|
|
52274
|
+
_limit?: number;
|
|
52275
|
+
};
|
|
52276
|
+
Returns: {
|
|
52277
|
+
attempts: number;
|
|
52278
|
+
batch_key: string | null;
|
|
52279
|
+
cart_id: string | null;
|
|
52280
|
+
created_at: string;
|
|
52281
|
+
error: string | null;
|
|
52282
|
+
error_code: string | null;
|
|
52283
|
+
fulfillment_order_id: string | null;
|
|
52284
|
+
id: string;
|
|
52285
|
+
locked_until: string | null;
|
|
52286
|
+
next_attempt_at: string | null;
|
|
52287
|
+
order_id: string | null;
|
|
52288
|
+
order_number: string | null;
|
|
52289
|
+
print_job_id: string | null;
|
|
52290
|
+
printer_id: string | null;
|
|
52291
|
+
retry_class: string | null;
|
|
52292
|
+
slip_job_id: string;
|
|
52293
|
+
status: string;
|
|
52294
|
+
updated_at: string;
|
|
52295
|
+
}[];
|
|
52296
|
+
SetofOptions: {
|
|
52297
|
+
from: "*";
|
|
52298
|
+
to: "logistics_slip_shipping_note";
|
|
52299
|
+
isOneToOne: false;
|
|
52300
|
+
isSetofReturn: true;
|
|
52301
|
+
};
|
|
52302
|
+
};
|
|
52303
|
+
logistics_slip_note_finish: {
|
|
52304
|
+
Args: {
|
|
52305
|
+
_error?: string;
|
|
52306
|
+
_error_code?: string;
|
|
52307
|
+
_fulfillment_order_id?: string;
|
|
52308
|
+
_id: string;
|
|
52309
|
+
_ok: boolean;
|
|
52310
|
+
_print_job_id?: string;
|
|
52311
|
+
_status?: string;
|
|
52312
|
+
};
|
|
52313
|
+
Returns: undefined;
|
|
52314
|
+
};
|
|
52315
|
+
logistics_slip_note_keep_waiting: {
|
|
52316
|
+
Args: {
|
|
52317
|
+
_class?: string;
|
|
52318
|
+
_id: string;
|
|
52319
|
+
_reason: string;
|
|
52320
|
+
};
|
|
52321
|
+
Returns: undefined;
|
|
52322
|
+
};
|
|
50844
52323
|
logistics_sticker_follows_slip: {
|
|
50845
52324
|
Args: never;
|
|
50846
52325
|
Returns: boolean;
|
|
@@ -50895,6 +52374,40 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
50895
52374
|
name: string;
|
|
50896
52375
|
}[];
|
|
50897
52376
|
};
|
|
52377
|
+
logistics_trace: {
|
|
52378
|
+
Args: {
|
|
52379
|
+
p: import("../integrations/supabase/types").Json;
|
|
52380
|
+
};
|
|
52381
|
+
Returns: string;
|
|
52382
|
+
};
|
|
52383
|
+
logistics_trace_batch: {
|
|
52384
|
+
Args: {
|
|
52385
|
+
p: import("../integrations/supabase/types").Json;
|
|
52386
|
+
};
|
|
52387
|
+
Returns: number;
|
|
52388
|
+
};
|
|
52389
|
+
logistics_trace_orders: {
|
|
52390
|
+
Args: {
|
|
52391
|
+
p_limit?: number;
|
|
52392
|
+
p_search?: string;
|
|
52393
|
+
p_since?: string;
|
|
52394
|
+
p_status?: string;
|
|
52395
|
+
};
|
|
52396
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52397
|
+
};
|
|
52398
|
+
logistics_trace_redact: {
|
|
52399
|
+
Args: {
|
|
52400
|
+
p: import("../integrations/supabase/types").Json;
|
|
52401
|
+
};
|
|
52402
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52403
|
+
};
|
|
52404
|
+
logistics_trace_timeline: {
|
|
52405
|
+
Args: {
|
|
52406
|
+
p_limit?: number;
|
|
52407
|
+
p_order_ref: string;
|
|
52408
|
+
};
|
|
52409
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52410
|
+
};
|
|
50898
52411
|
logistics_upsert_task: {
|
|
50899
52412
|
Args: {
|
|
50900
52413
|
p_buffer_ref: string;
|
|
@@ -51936,6 +53449,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
51936
53449
|
};
|
|
51937
53450
|
Returns: undefined;
|
|
51938
53451
|
};
|
|
53452
|
+
prune_floriday_api_log: {
|
|
53453
|
+
Args: never;
|
|
53454
|
+
Returns: number;
|
|
53455
|
+
};
|
|
51939
53456
|
quote_create_from_source: {
|
|
51940
53457
|
Args: {
|
|
51941
53458
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -52369,6 +53886,13 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
52369
53886
|
};
|
|
52370
53887
|
Returns: number;
|
|
52371
53888
|
};
|
|
53889
|
+
schedule_floriday_catalog_prices_sync: {
|
|
53890
|
+
Args: {
|
|
53891
|
+
p_apikey: string;
|
|
53892
|
+
p_url: string;
|
|
53893
|
+
};
|
|
53894
|
+
Returns: number;
|
|
53895
|
+
};
|
|
52372
53896
|
schedule_floriday_clock_presales_sync: {
|
|
52373
53897
|
Args: {
|
|
52374
53898
|
p_apikey: string;
|
|
@@ -52669,6 +54193,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
52669
54193
|
};
|
|
52670
54194
|
Returns: undefined;
|
|
52671
54195
|
};
|
|
54196
|
+
sync_floriday_prices_into_price_groups: {
|
|
54197
|
+
Args: never;
|
|
54198
|
+
Returns: number;
|
|
54199
|
+
};
|
|
52672
54200
|
sync_layer_stock: {
|
|
52673
54201
|
Args: {
|
|
52674
54202
|
p_product_id: string;
|
|
@@ -52801,6 +54329,10 @@ export declare const swapCartLayerPositions: import("@tanstack/start-client-core
|
|
|
52801
54329
|
Args: never;
|
|
52802
54330
|
Returns: string;
|
|
52803
54331
|
};
|
|
54332
|
+
voorraad_cleanup_old_rows: {
|
|
54333
|
+
Args: never;
|
|
54334
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54335
|
+
};
|
|
52804
54336
|
wake_print_queue: {
|
|
52805
54337
|
Args: {
|
|
52806
54338
|
_min_interval_ms?: number;
|
|
@@ -55110,6 +56642,45 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
55110
56642
|
};
|
|
55111
56643
|
Relationships: [];
|
|
55112
56644
|
};
|
|
56645
|
+
customer_product_stickers: {
|
|
56646
|
+
Row: {
|
|
56647
|
+
created_at: string;
|
|
56648
|
+
customer_key: string;
|
|
56649
|
+
file_name: string;
|
|
56650
|
+
file_path: string;
|
|
56651
|
+
file_size: number | null;
|
|
56652
|
+
id: string;
|
|
56653
|
+
mime_type: string | null;
|
|
56654
|
+
trade_item_key: string;
|
|
56655
|
+
updated_at: string;
|
|
56656
|
+
uploaded_by: string | null;
|
|
56657
|
+
};
|
|
56658
|
+
Insert: {
|
|
56659
|
+
created_at?: string;
|
|
56660
|
+
customer_key: string;
|
|
56661
|
+
file_name: string;
|
|
56662
|
+
file_path: string;
|
|
56663
|
+
file_size?: number | null;
|
|
56664
|
+
id?: string;
|
|
56665
|
+
mime_type?: string | null;
|
|
56666
|
+
trade_item_key: string;
|
|
56667
|
+
updated_at?: string;
|
|
56668
|
+
uploaded_by?: string | null;
|
|
56669
|
+
};
|
|
56670
|
+
Update: {
|
|
56671
|
+
created_at?: string;
|
|
56672
|
+
customer_key?: string;
|
|
56673
|
+
file_name?: string;
|
|
56674
|
+
file_path?: string;
|
|
56675
|
+
file_size?: number | null;
|
|
56676
|
+
id?: string;
|
|
56677
|
+
mime_type?: string | null;
|
|
56678
|
+
trade_item_key?: string;
|
|
56679
|
+
updated_at?: string;
|
|
56680
|
+
uploaded_by?: string | null;
|
|
56681
|
+
};
|
|
56682
|
+
Relationships: [];
|
|
56683
|
+
};
|
|
55113
56684
|
customer_selected_assortment: {
|
|
55114
56685
|
Row: {
|
|
55115
56686
|
article_number: string | null;
|
|
@@ -55158,6 +56729,30 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
55158
56729
|
referencedColumns: ["id"];
|
|
55159
56730
|
}];
|
|
55160
56731
|
};
|
|
56732
|
+
customer_sticker_settings: {
|
|
56733
|
+
Row: {
|
|
56734
|
+
created_at: string;
|
|
56735
|
+
customer_key: string;
|
|
56736
|
+
height_mm: number;
|
|
56737
|
+
updated_at: string;
|
|
56738
|
+
width_mm: number;
|
|
56739
|
+
};
|
|
56740
|
+
Insert: {
|
|
56741
|
+
created_at?: string;
|
|
56742
|
+
customer_key: string;
|
|
56743
|
+
height_mm?: number;
|
|
56744
|
+
updated_at?: string;
|
|
56745
|
+
width_mm?: number;
|
|
56746
|
+
};
|
|
56747
|
+
Update: {
|
|
56748
|
+
created_at?: string;
|
|
56749
|
+
customer_key?: string;
|
|
56750
|
+
height_mm?: number;
|
|
56751
|
+
updated_at?: string;
|
|
56752
|
+
width_mm?: number;
|
|
56753
|
+
};
|
|
56754
|
+
Relationships: [];
|
|
56755
|
+
};
|
|
55161
56756
|
customer_trade_settings: {
|
|
55162
56757
|
Row: {
|
|
55163
56758
|
category: string;
|
|
@@ -58488,6 +60083,102 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
58488
60083
|
referencedColumns: ["id"];
|
|
58489
60084
|
}];
|
|
58490
60085
|
};
|
|
60086
|
+
floriday_api_log: {
|
|
60087
|
+
Row: {
|
|
60088
|
+
action: string | null;
|
|
60089
|
+
caller: string | null;
|
|
60090
|
+
connection_id: string | null;
|
|
60091
|
+
created_at: string;
|
|
60092
|
+
cursor_from: number | null;
|
|
60093
|
+
direction: string;
|
|
60094
|
+
duration_ms: number | null;
|
|
60095
|
+
environment: string | null;
|
|
60096
|
+
error: string | null;
|
|
60097
|
+
floriday_id: string | null;
|
|
60098
|
+
floriday_reference: string | null;
|
|
60099
|
+
http_status: number;
|
|
60100
|
+
id: string;
|
|
60101
|
+
item_count: number | null;
|
|
60102
|
+
kind: string | null;
|
|
60103
|
+
local_id: string | null;
|
|
60104
|
+
local_reference: string | null;
|
|
60105
|
+
method: string;
|
|
60106
|
+
module: string | null;
|
|
60107
|
+
ok: boolean;
|
|
60108
|
+
path: string;
|
|
60109
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60110
|
+
resource_type: string | null;
|
|
60111
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60112
|
+
write_log_id: string | null;
|
|
60113
|
+
};
|
|
60114
|
+
Insert: {
|
|
60115
|
+
action?: string | null;
|
|
60116
|
+
caller?: string | null;
|
|
60117
|
+
connection_id?: string | null;
|
|
60118
|
+
created_at?: string;
|
|
60119
|
+
cursor_from?: number | null;
|
|
60120
|
+
direction: string;
|
|
60121
|
+
duration_ms?: number | null;
|
|
60122
|
+
environment?: string | null;
|
|
60123
|
+
error?: string | null;
|
|
60124
|
+
floriday_id?: string | null;
|
|
60125
|
+
floriday_reference?: string | null;
|
|
60126
|
+
http_status?: number;
|
|
60127
|
+
id?: string;
|
|
60128
|
+
item_count?: number | null;
|
|
60129
|
+
kind?: string | null;
|
|
60130
|
+
local_id?: string | null;
|
|
60131
|
+
local_reference?: string | null;
|
|
60132
|
+
method: string;
|
|
60133
|
+
module?: string | null;
|
|
60134
|
+
ok?: boolean;
|
|
60135
|
+
path: string;
|
|
60136
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60137
|
+
resource_type?: string | null;
|
|
60138
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60139
|
+
write_log_id?: string | null;
|
|
60140
|
+
};
|
|
60141
|
+
Update: {
|
|
60142
|
+
action?: string | null;
|
|
60143
|
+
caller?: string | null;
|
|
60144
|
+
connection_id?: string | null;
|
|
60145
|
+
created_at?: string;
|
|
60146
|
+
cursor_from?: number | null;
|
|
60147
|
+
direction?: string;
|
|
60148
|
+
duration_ms?: number | null;
|
|
60149
|
+
environment?: string | null;
|
|
60150
|
+
error?: string | null;
|
|
60151
|
+
floriday_id?: string | null;
|
|
60152
|
+
floriday_reference?: string | null;
|
|
60153
|
+
http_status?: number;
|
|
60154
|
+
id?: string;
|
|
60155
|
+
item_count?: number | null;
|
|
60156
|
+
kind?: string | null;
|
|
60157
|
+
local_id?: string | null;
|
|
60158
|
+
local_reference?: string | null;
|
|
60159
|
+
method?: string;
|
|
60160
|
+
module?: string | null;
|
|
60161
|
+
ok?: boolean;
|
|
60162
|
+
path?: string;
|
|
60163
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60164
|
+
resource_type?: string | null;
|
|
60165
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60166
|
+
write_log_id?: string | null;
|
|
60167
|
+
};
|
|
60168
|
+
Relationships: [{
|
|
60169
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60170
|
+
columns: ["connection_id"];
|
|
60171
|
+
isOneToOne: false;
|
|
60172
|
+
referencedRelation: "floriday_connections";
|
|
60173
|
+
referencedColumns: ["id"];
|
|
60174
|
+
}, {
|
|
60175
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60176
|
+
columns: ["write_log_id"];
|
|
60177
|
+
isOneToOne: false;
|
|
60178
|
+
referencedRelation: "floriday_write_log";
|
|
60179
|
+
referencedColumns: ["id"];
|
|
60180
|
+
}];
|
|
60181
|
+
};
|
|
58491
60182
|
floriday_auction_letters_cache: {
|
|
58492
60183
|
Row: {
|
|
58493
60184
|
auction_letter_code: string;
|
|
@@ -58695,6 +60386,84 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
58695
60386
|
referencedColumns: ["id"];
|
|
58696
60387
|
}];
|
|
58697
60388
|
};
|
|
60389
|
+
floriday_catalog_prices_cache: {
|
|
60390
|
+
Row: {
|
|
60391
|
+
connection_id: string;
|
|
60392
|
+
created_at: string;
|
|
60393
|
+
currency: string;
|
|
60394
|
+
id: string;
|
|
60395
|
+
is_deleted: boolean;
|
|
60396
|
+
price: number | null;
|
|
60397
|
+
price_group_id: string | null;
|
|
60398
|
+
price_group_name: string | null;
|
|
60399
|
+
price_type: string;
|
|
60400
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
60401
|
+
sales_unit: string | null;
|
|
60402
|
+
sequence_number: number;
|
|
60403
|
+
supplier_article_code: string | null;
|
|
60404
|
+
supply_line_id: string;
|
|
60405
|
+
synced_at: string;
|
|
60406
|
+
trade_item_id: string | null;
|
|
60407
|
+
updated_at: string;
|
|
60408
|
+
valid_from: string | null;
|
|
60409
|
+
valid_to: string | null;
|
|
60410
|
+
week: number | null;
|
|
60411
|
+
year: number | null;
|
|
60412
|
+
};
|
|
60413
|
+
Insert: {
|
|
60414
|
+
connection_id: string;
|
|
60415
|
+
created_at?: string;
|
|
60416
|
+
currency?: string;
|
|
60417
|
+
id?: string;
|
|
60418
|
+
is_deleted?: boolean;
|
|
60419
|
+
price?: number | null;
|
|
60420
|
+
price_group_id?: string | null;
|
|
60421
|
+
price_group_name?: string | null;
|
|
60422
|
+
price_type?: string;
|
|
60423
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60424
|
+
sales_unit?: string | null;
|
|
60425
|
+
sequence_number?: number;
|
|
60426
|
+
supplier_article_code?: string | null;
|
|
60427
|
+
supply_line_id: string;
|
|
60428
|
+
synced_at?: string;
|
|
60429
|
+
trade_item_id?: string | null;
|
|
60430
|
+
updated_at?: string;
|
|
60431
|
+
valid_from?: string | null;
|
|
60432
|
+
valid_to?: string | null;
|
|
60433
|
+
week?: number | null;
|
|
60434
|
+
year?: number | null;
|
|
60435
|
+
};
|
|
60436
|
+
Update: {
|
|
60437
|
+
connection_id?: string;
|
|
60438
|
+
created_at?: string;
|
|
60439
|
+
currency?: string;
|
|
60440
|
+
id?: string;
|
|
60441
|
+
is_deleted?: boolean;
|
|
60442
|
+
price?: number | null;
|
|
60443
|
+
price_group_id?: string | null;
|
|
60444
|
+
price_group_name?: string | null;
|
|
60445
|
+
price_type?: string;
|
|
60446
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60447
|
+
sales_unit?: string | null;
|
|
60448
|
+
sequence_number?: number;
|
|
60449
|
+
supplier_article_code?: string | null;
|
|
60450
|
+
supply_line_id?: string;
|
|
60451
|
+
synced_at?: string;
|
|
60452
|
+
trade_item_id?: string | null;
|
|
60453
|
+
updated_at?: string;
|
|
60454
|
+
valid_from?: string | null;
|
|
60455
|
+
valid_to?: string | null;
|
|
60456
|
+
week?: number | null;
|
|
60457
|
+
year?: number | null;
|
|
60458
|
+
};
|
|
60459
|
+
Relationships: [{
|
|
60460
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
60461
|
+
columns: ["connection_id"];
|
|
60462
|
+
isOneToOne: false;
|
|
60463
|
+
referencedRelation: "floriday_connections";
|
|
60464
|
+
referencedColumns: ["id"];
|
|
60465
|
+
}];
|
|
60466
|
+
};
|
|
58698
60467
|
floriday_clock_presales_cache: {
|
|
58699
60468
|
Row: {
|
|
58700
60469
|
buyer_organization_id: string | null;
|
|
@@ -59610,6 +61379,69 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
59610
61379
|
referencedColumns: ["id"];
|
|
59611
61380
|
}];
|
|
59612
61381
|
};
|
|
61382
|
+
floriday_link_templates: {
|
|
61383
|
+
Row: {
|
|
61384
|
+
created_at: string;
|
|
61385
|
+
floriday_url_template: string | null;
|
|
61386
|
+
is_active: boolean;
|
|
61387
|
+
label: string;
|
|
61388
|
+
local_url_template: string | null;
|
|
61389
|
+
resource_type: string;
|
|
61390
|
+
updated_at: string;
|
|
61391
|
+
};
|
|
61392
|
+
Insert: {
|
|
61393
|
+
created_at?: string;
|
|
61394
|
+
floriday_url_template?: string | null;
|
|
61395
|
+
is_active?: boolean;
|
|
61396
|
+
label: string;
|
|
61397
|
+
local_url_template?: string | null;
|
|
61398
|
+
resource_type: string;
|
|
61399
|
+
updated_at?: string;
|
|
61400
|
+
};
|
|
61401
|
+
Update: {
|
|
61402
|
+
created_at?: string;
|
|
61403
|
+
floriday_url_template?: string | null;
|
|
61404
|
+
is_active?: boolean;
|
|
61405
|
+
label?: string;
|
|
61406
|
+
local_url_template?: string | null;
|
|
61407
|
+
resource_type?: string;
|
|
61408
|
+
updated_at?: string;
|
|
61409
|
+
};
|
|
61410
|
+
Relationships: [];
|
|
61411
|
+
};
|
|
61412
|
+
floriday_log_retention: {
|
|
61413
|
+
Row: {
|
|
61414
|
+
created_at: string;
|
|
61415
|
+
direction: string | null;
|
|
61416
|
+
id: string;
|
|
61417
|
+
keep_failed_days: number | null;
|
|
61418
|
+
keep_ok_days: number | null;
|
|
61419
|
+
note: string | null;
|
|
61420
|
+
resource_type: string | null;
|
|
61421
|
+
updated_at: string;
|
|
61422
|
+
};
|
|
61423
|
+
Insert: {
|
|
61424
|
+
created_at?: string;
|
|
61425
|
+
direction?: string | null;
|
|
61426
|
+
id?: string;
|
|
61427
|
+
keep_failed_days?: number | null;
|
|
61428
|
+
keep_ok_days?: number | null;
|
|
61429
|
+
note?: string | null;
|
|
61430
|
+
resource_type?: string | null;
|
|
61431
|
+
updated_at?: string;
|
|
61432
|
+
};
|
|
61433
|
+
Update: {
|
|
61434
|
+
created_at?: string;
|
|
61435
|
+
direction?: string | null;
|
|
61436
|
+
id?: string;
|
|
61437
|
+
keep_failed_days?: number | null;
|
|
61438
|
+
keep_ok_days?: number | null;
|
|
61439
|
+
note?: string | null;
|
|
61440
|
+
resource_type?: string | null;
|
|
61441
|
+
updated_at?: string;
|
|
61442
|
+
};
|
|
61443
|
+
Relationships: [];
|
|
61444
|
+
};
|
|
59613
61445
|
floriday_logistic_labels_cache: {
|
|
59614
61446
|
Row: {
|
|
59615
61447
|
byte_size: number | null;
|
|
@@ -63234,6 +65066,48 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
63234
65066
|
};
|
|
63235
65067
|
Relationships: [];
|
|
63236
65068
|
};
|
|
65069
|
+
logistics_pick_data_requests: {
|
|
65070
|
+
Row: {
|
|
65071
|
+
actions: import("../integrations/supabase/types").Json;
|
|
65072
|
+
created_at: string;
|
|
65073
|
+
event_id: string | null;
|
|
65074
|
+
finished_at: string | null;
|
|
65075
|
+
id: string;
|
|
65076
|
+
missing: import("../integrations/supabase/types").Json;
|
|
65077
|
+
order_ref: string;
|
|
65078
|
+
reason: string | null;
|
|
65079
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
65080
|
+
status: string;
|
|
65081
|
+
unit_ref: string | null;
|
|
65082
|
+
};
|
|
65083
|
+
Insert: {
|
|
65084
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65085
|
+
created_at?: string;
|
|
65086
|
+
event_id?: string | null;
|
|
65087
|
+
finished_at?: string | null;
|
|
65088
|
+
id?: string;
|
|
65089
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65090
|
+
order_ref: string;
|
|
65091
|
+
reason?: string | null;
|
|
65092
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65093
|
+
status?: string;
|
|
65094
|
+
unit_ref?: string | null;
|
|
65095
|
+
};
|
|
65096
|
+
Update: {
|
|
65097
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65098
|
+
created_at?: string;
|
|
65099
|
+
event_id?: string | null;
|
|
65100
|
+
finished_at?: string | null;
|
|
65101
|
+
id?: string;
|
|
65102
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65103
|
+
order_ref?: string;
|
|
65104
|
+
reason?: string | null;
|
|
65105
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65106
|
+
status?: string;
|
|
65107
|
+
unit_ref?: string | null;
|
|
65108
|
+
};
|
|
65109
|
+
Relationships: [];
|
|
65110
|
+
};
|
|
63237
65111
|
logistics_pickup_moments: {
|
|
63238
65112
|
Row: {
|
|
63239
65113
|
carrier_ref: string | null;
|
|
@@ -63693,6 +65567,69 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
63693
65567
|
};
|
|
63694
65568
|
Relationships: [];
|
|
63695
65569
|
};
|
|
65570
|
+
logistics_slip_shipping_note: {
|
|
65571
|
+
Row: {
|
|
65572
|
+
attempts: number;
|
|
65573
|
+
batch_key: string | null;
|
|
65574
|
+
cart_id: string | null;
|
|
65575
|
+
created_at: string;
|
|
65576
|
+
error: string | null;
|
|
65577
|
+
error_code: string | null;
|
|
65578
|
+
fulfillment_order_id: string | null;
|
|
65579
|
+
id: string;
|
|
65580
|
+
locked_until: string | null;
|
|
65581
|
+
next_attempt_at: string | null;
|
|
65582
|
+
order_id: string | null;
|
|
65583
|
+
order_number: string | null;
|
|
65584
|
+
print_job_id: string | null;
|
|
65585
|
+
printer_id: string | null;
|
|
65586
|
+
retry_class: string | null;
|
|
65587
|
+
slip_job_id: string;
|
|
65588
|
+
status: string;
|
|
65589
|
+
updated_at: string;
|
|
65590
|
+
};
|
|
65591
|
+
Insert: {
|
|
65592
|
+
attempts?: number;
|
|
65593
|
+
batch_key?: string | null;
|
|
65594
|
+
cart_id?: string | null;
|
|
65595
|
+
created_at?: string;
|
|
65596
|
+
error?: string | null;
|
|
65597
|
+
error_code?: string | null;
|
|
65598
|
+
fulfillment_order_id?: string | null;
|
|
65599
|
+
id?: string;
|
|
65600
|
+
locked_until?: string | null;
|
|
65601
|
+
next_attempt_at?: string | null;
|
|
65602
|
+
order_id?: string | null;
|
|
65603
|
+
order_number?: string | null;
|
|
65604
|
+
print_job_id?: string | null;
|
|
65605
|
+
printer_id?: string | null;
|
|
65606
|
+
retry_class?: string | null;
|
|
65607
|
+
slip_job_id: string;
|
|
65608
|
+
status?: string;
|
|
65609
|
+
updated_at?: string;
|
|
65610
|
+
};
|
|
65611
|
+
Update: {
|
|
65612
|
+
attempts?: number;
|
|
65613
|
+
batch_key?: string | null;
|
|
65614
|
+
cart_id?: string | null;
|
|
65615
|
+
created_at?: string;
|
|
65616
|
+
error?: string | null;
|
|
65617
|
+
error_code?: string | null;
|
|
65618
|
+
fulfillment_order_id?: string | null;
|
|
65619
|
+
id?: string;
|
|
65620
|
+
locked_until?: string | null;
|
|
65621
|
+
next_attempt_at?: string | null;
|
|
65622
|
+
order_id?: string | null;
|
|
65623
|
+
order_number?: string | null;
|
|
65624
|
+
print_job_id?: string | null;
|
|
65625
|
+
printer_id?: string | null;
|
|
65626
|
+
retry_class?: string | null;
|
|
65627
|
+
slip_job_id?: string;
|
|
65628
|
+
status?: string;
|
|
65629
|
+
updated_at?: string;
|
|
65630
|
+
};
|
|
65631
|
+
Relationships: [];
|
|
65632
|
+
};
|
|
63696
65633
|
logistics_staff_planning: {
|
|
63697
65634
|
Row: {
|
|
63698
65635
|
created_at: string;
|
|
@@ -64044,6 +65981,111 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
64044
65981
|
};
|
|
64045
65982
|
Relationships: [];
|
|
64046
65983
|
};
|
|
65984
|
+
logistics_trace_events: {
|
|
65985
|
+
Row: {
|
|
65986
|
+
actor: string | null;
|
|
65987
|
+
attempts: number;
|
|
65988
|
+
cart_ref: string | null;
|
|
65989
|
+
created_at: string;
|
|
65990
|
+
db_action: string | null;
|
|
65991
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
65992
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
65993
|
+
db_record: string | null;
|
|
65994
|
+
db_table: string | null;
|
|
65995
|
+
decision: string | null;
|
|
65996
|
+
duration_ms: number | null;
|
|
65997
|
+
error: string | null;
|
|
65998
|
+
external_action: string | null;
|
|
65999
|
+
external_ref: string | null;
|
|
66000
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
66001
|
+
external_status: string | null;
|
|
66002
|
+
external_system: string | null;
|
|
66003
|
+
id: string;
|
|
66004
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
66005
|
+
next_attempt_at: string | null;
|
|
66006
|
+
order_ref: string | null;
|
|
66007
|
+
order_source: string | null;
|
|
66008
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
66009
|
+
phase: string;
|
|
66010
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
66011
|
+
reason: string | null;
|
|
66012
|
+
rule: string | null;
|
|
66013
|
+
slip_ref: string | null;
|
|
66014
|
+
status: string;
|
|
66015
|
+
step: string;
|
|
66016
|
+
trace_id: string;
|
|
66017
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
66018
|
+
};
|
|
66019
|
+
Insert: {
|
|
66020
|
+
actor?: string | null;
|
|
66021
|
+
attempts?: number;
|
|
66022
|
+
cart_ref?: string | null;
|
|
66023
|
+
created_at?: string;
|
|
66024
|
+
db_action?: string | null;
|
|
66025
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66026
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66027
|
+
db_record?: string | null;
|
|
66028
|
+
db_table?: string | null;
|
|
66029
|
+
decision?: string | null;
|
|
66030
|
+
duration_ms?: number | null;
|
|
66031
|
+
error?: string | null;
|
|
66032
|
+
external_action?: string | null;
|
|
66033
|
+
external_ref?: string | null;
|
|
66034
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66035
|
+
external_status?: string | null;
|
|
66036
|
+
external_system?: string | null;
|
|
66037
|
+
id?: string;
|
|
66038
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66039
|
+
next_attempt_at?: string | null;
|
|
66040
|
+
order_ref?: string | null;
|
|
66041
|
+
order_source?: string | null;
|
|
66042
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66043
|
+
phase: string;
|
|
66044
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66045
|
+
reason?: string | null;
|
|
66046
|
+
rule?: string | null;
|
|
66047
|
+
slip_ref?: string | null;
|
|
66048
|
+
status: string;
|
|
66049
|
+
step: string;
|
|
66050
|
+
trace_id?: string;
|
|
66051
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66052
|
+
};
|
|
66053
|
+
Update: {
|
|
66054
|
+
actor?: string | null;
|
|
66055
|
+
attempts?: number;
|
|
66056
|
+
cart_ref?: string | null;
|
|
66057
|
+
created_at?: string;
|
|
66058
|
+
db_action?: string | null;
|
|
66059
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66060
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66061
|
+
db_record?: string | null;
|
|
66062
|
+
db_table?: string | null;
|
|
66063
|
+
decision?: string | null;
|
|
66064
|
+
duration_ms?: number | null;
|
|
66065
|
+
error?: string | null;
|
|
66066
|
+
external_action?: string | null;
|
|
66067
|
+
external_ref?: string | null;
|
|
66068
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66069
|
+
external_status?: string | null;
|
|
66070
|
+
external_system?: string | null;
|
|
66071
|
+
id?: string;
|
|
66072
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66073
|
+
next_attempt_at?: string | null;
|
|
66074
|
+
order_ref?: string | null;
|
|
66075
|
+
order_source?: string | null;
|
|
66076
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66077
|
+
phase?: string;
|
|
66078
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66079
|
+
reason?: string | null;
|
|
66080
|
+
rule?: string | null;
|
|
66081
|
+
slip_ref?: string | null;
|
|
66082
|
+
status?: string;
|
|
66083
|
+
step?: string;
|
|
66084
|
+
trace_id?: string;
|
|
66085
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66086
|
+
};
|
|
66087
|
+
Relationships: [];
|
|
66088
|
+
};
|
|
64047
66089
|
logistics_variables: {
|
|
64048
66090
|
Row: {
|
|
64049
66091
|
created_at: string;
|
|
@@ -74616,6 +76658,15 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
74616
76658
|
Args: never;
|
|
74617
76659
|
Returns: boolean;
|
|
74618
76660
|
};
|
|
76661
|
+
cancel_open_print_jobs: {
|
|
76662
|
+
Args: {
|
|
76663
|
+
_cutoff: string;
|
|
76664
|
+
};
|
|
76665
|
+
Returns: {
|
|
76666
|
+
extern_job_id: string;
|
|
76667
|
+
id: string;
|
|
76668
|
+
}[];
|
|
76669
|
+
};
|
|
74619
76670
|
check_offer_product_available_stock: {
|
|
74620
76671
|
Args: {
|
|
74621
76672
|
p_campaign_product_id: string;
|
|
@@ -76154,6 +78205,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76154
78205
|
};
|
|
76155
78206
|
Returns: string;
|
|
76156
78207
|
};
|
|
78208
|
+
logistics_cart_checkin_at: {
|
|
78209
|
+
Args: {
|
|
78210
|
+
p_cart_id: string;
|
|
78211
|
+
};
|
|
78212
|
+
Returns: string;
|
|
78213
|
+
};
|
|
76157
78214
|
logistics_cart_handled: {
|
|
76158
78215
|
Args: {
|
|
76159
78216
|
p_cart_index: number;
|
|
@@ -76187,10 +78244,22 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76187
78244
|
task_status: string;
|
|
76188
78245
|
}[];
|
|
76189
78246
|
};
|
|
78247
|
+
logistics_cart_is_full: {
|
|
78248
|
+
Args: {
|
|
78249
|
+
p_cart_id: string;
|
|
78250
|
+
};
|
|
78251
|
+
Returns: boolean;
|
|
78252
|
+
};
|
|
76190
78253
|
logistics_cart_layout_method: {
|
|
76191
78254
|
Args: never;
|
|
76192
78255
|
Returns: import("../integrations/supabase/types").Json;
|
|
76193
78256
|
};
|
|
78257
|
+
logistics_cart_order_refs: {
|
|
78258
|
+
Args: {
|
|
78259
|
+
p_cart_id: string;
|
|
78260
|
+
};
|
|
78261
|
+
Returns: string[];
|
|
78262
|
+
};
|
|
76194
78263
|
logistics_cart_plan_overview: {
|
|
76195
78264
|
Args: {
|
|
76196
78265
|
p_days?: number;
|
|
@@ -76210,6 +78279,24 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76210
78279
|
};
|
|
76211
78280
|
Returns: import("../integrations/supabase/types").Json;
|
|
76212
78281
|
};
|
|
78282
|
+
logistics_cart_plan_status_core: {
|
|
78283
|
+
Args: {
|
|
78284
|
+
p_ref: string;
|
|
78285
|
+
};
|
|
78286
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78287
|
+
};
|
|
78288
|
+
logistics_cart_release_reason: {
|
|
78289
|
+
Args: {
|
|
78290
|
+
p_cart_id: string;
|
|
78291
|
+
};
|
|
78292
|
+
Returns: string;
|
|
78293
|
+
};
|
|
78294
|
+
logistics_cart_released: {
|
|
78295
|
+
Args: {
|
|
78296
|
+
p_cart_id: string;
|
|
78297
|
+
};
|
|
78298
|
+
Returns: boolean;
|
|
78299
|
+
};
|
|
76213
78300
|
logistics_cart_seq: {
|
|
76214
78301
|
Args: {
|
|
76215
78302
|
p_order_uuid?: string;
|
|
@@ -76260,6 +78347,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76260
78347
|
unit_ref: string;
|
|
76261
78348
|
}[];
|
|
76262
78349
|
};
|
|
78350
|
+
logistics_carts_per_print: {
|
|
78351
|
+
Args: never;
|
|
78352
|
+
Returns: number;
|
|
78353
|
+
};
|
|
76263
78354
|
logistics_check_order_allowed: {
|
|
76264
78355
|
Args: {
|
|
76265
78356
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -76363,6 +78454,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76363
78454
|
isSetofReturn: false;
|
|
76364
78455
|
};
|
|
76365
78456
|
};
|
|
78457
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
78458
|
+
Args: never;
|
|
78459
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78460
|
+
};
|
|
76366
78461
|
logistics_complete_task: {
|
|
76367
78462
|
Args: {
|
|
76368
78463
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -76614,6 +78709,20 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76614
78709
|
};
|
|
76615
78710
|
Returns: string;
|
|
76616
78711
|
};
|
|
78712
|
+
logistics_ensure_pick_data: {
|
|
78713
|
+
Args: {
|
|
78714
|
+
p_event_id?: string;
|
|
78715
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
78716
|
+
p_ref: string;
|
|
78717
|
+
};
|
|
78718
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78719
|
+
};
|
|
78720
|
+
logistics_ensure_shipping_notes: {
|
|
78721
|
+
Args: {
|
|
78722
|
+
p_limit?: number;
|
|
78723
|
+
};
|
|
78724
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78725
|
+
};
|
|
76617
78726
|
logistics_fail_task: {
|
|
76618
78727
|
Args: {
|
|
76619
78728
|
p_error: string;
|
|
@@ -76659,6 +78768,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76659
78768
|
isSetofReturn: false;
|
|
76660
78769
|
};
|
|
76661
78770
|
};
|
|
78771
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78772
|
+
Args: never;
|
|
78773
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78774
|
+
};
|
|
76662
78775
|
logistics_floriday_cart_plan: {
|
|
76663
78776
|
Args: {
|
|
76664
78777
|
p_order_id: string;
|
|
@@ -76686,6 +78799,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76686
78799
|
revision: number;
|
|
76687
78800
|
}[];
|
|
76688
78801
|
};
|
|
78802
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78803
|
+
Args: never;
|
|
78804
|
+
Returns: boolean;
|
|
78805
|
+
};
|
|
76689
78806
|
logistics_floriday_finish_push: {
|
|
76690
78807
|
Args: {
|
|
76691
78808
|
_error?: string;
|
|
@@ -76837,6 +78954,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76837
78954
|
};
|
|
76838
78955
|
Returns: number;
|
|
76839
78956
|
};
|
|
78957
|
+
logistics_merge_partial_carts: {
|
|
78958
|
+
Args: {
|
|
78959
|
+
p_limit?: number;
|
|
78960
|
+
};
|
|
78961
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78962
|
+
};
|
|
76840
78963
|
logistics_next_workday_date: {
|
|
76841
78964
|
Args: {
|
|
76842
78965
|
p_date: string;
|
|
@@ -76923,6 +79046,12 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76923
79046
|
};
|
|
76924
79047
|
Returns: string;
|
|
76925
79048
|
};
|
|
79049
|
+
logistics_payload_is_floriday: {
|
|
79050
|
+
Args: {
|
|
79051
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79052
|
+
};
|
|
79053
|
+
Returns: boolean;
|
|
79054
|
+
};
|
|
76926
79055
|
logistics_pick_agenda: {
|
|
76927
79056
|
Args: {
|
|
76928
79057
|
p_from?: string;
|
|
@@ -76951,6 +79080,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
76951
79080
|
Args: never;
|
|
76952
79081
|
Returns: import("../integrations/supabase/types").Json;
|
|
76953
79082
|
};
|
|
79083
|
+
logistics_pick_partial_mode: {
|
|
79084
|
+
Args: never;
|
|
79085
|
+
Returns: string;
|
|
79086
|
+
};
|
|
76954
79087
|
logistics_pick_start_estimate: {
|
|
76955
79088
|
Args: {
|
|
76956
79089
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -77041,6 +79174,20 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
77041
79174
|
Args: never;
|
|
77042
79175
|
Returns: undefined;
|
|
77043
79176
|
};
|
|
79177
|
+
logistics_plan_progress: {
|
|
79178
|
+
Args: {
|
|
79179
|
+
p_refs: string[];
|
|
79180
|
+
};
|
|
79181
|
+
Returns: {
|
|
79182
|
+
cart_plan_ready: boolean;
|
|
79183
|
+
cart_plan_reason: string;
|
|
79184
|
+
cart_plan_released: boolean;
|
|
79185
|
+
plan_progress: number;
|
|
79186
|
+
plan_state: string;
|
|
79187
|
+
plan_state_since: string;
|
|
79188
|
+
unit_ref: string;
|
|
79189
|
+
}[];
|
|
79190
|
+
};
|
|
77044
79191
|
logistics_plan_prune: {
|
|
77045
79192
|
Args: never;
|
|
77046
79193
|
Returns: number;
|
|
@@ -77062,6 +79209,18 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
77062
79209
|
};
|
|
77063
79210
|
Returns: number;
|
|
77064
79211
|
};
|
|
79212
|
+
logistics_plan_state_for: {
|
|
79213
|
+
Args: {
|
|
79214
|
+
p_ref: string;
|
|
79215
|
+
};
|
|
79216
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79217
|
+
};
|
|
79218
|
+
logistics_prepare_pick_documents: {
|
|
79219
|
+
Args: {
|
|
79220
|
+
p_limit?: number;
|
|
79221
|
+
};
|
|
79222
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79223
|
+
};
|
|
77065
79224
|
logistics_prune_buffer_member_queue: {
|
|
77066
79225
|
Args: never;
|
|
77067
79226
|
Returns: number;
|
|
@@ -77102,18 +79261,36 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
77102
79261
|
Args: never;
|
|
77103
79262
|
Returns: import("../integrations/supabase/types").Json;
|
|
77104
79263
|
};
|
|
79264
|
+
logistics_refresh_pick_queue_status: {
|
|
79265
|
+
Args: {
|
|
79266
|
+
p_ref: string;
|
|
79267
|
+
};
|
|
79268
|
+
Returns: number;
|
|
79269
|
+
};
|
|
77105
79270
|
logistics_refresh_pickup_moments: {
|
|
77106
79271
|
Args: {
|
|
77107
79272
|
p_weeks?: number;
|
|
77108
79273
|
};
|
|
77109
79274
|
Returns: import("../integrations/supabase/types").Json;
|
|
77110
79275
|
};
|
|
79276
|
+
logistics_refresh_plan_state: {
|
|
79277
|
+
Args: {
|
|
79278
|
+
p_limit?: number;
|
|
79279
|
+
};
|
|
79280
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79281
|
+
};
|
|
77111
79282
|
logistics_replan_all: {
|
|
77112
79283
|
Args: {
|
|
77113
79284
|
p_reason?: string;
|
|
77114
79285
|
};
|
|
77115
79286
|
Returns: import("../integrations/supabase/types").Json;
|
|
77116
79287
|
};
|
|
79288
|
+
logistics_replan_all_force: {
|
|
79289
|
+
Args: {
|
|
79290
|
+
p_reason?: string;
|
|
79291
|
+
};
|
|
79292
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79293
|
+
};
|
|
77117
79294
|
logistics_report_delay: {
|
|
77118
79295
|
Args: {
|
|
77119
79296
|
p_expected_date?: string;
|
|
@@ -77270,6 +79447,74 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
77270
79447
|
};
|
|
77271
79448
|
Returns: import("../integrations/supabase/types").Json;
|
|
77272
79449
|
};
|
|
79450
|
+
logistics_shipping_note_job_for_slip: {
|
|
79451
|
+
Args: {
|
|
79452
|
+
_slip_job_id: string;
|
|
79453
|
+
};
|
|
79454
|
+
Returns: string;
|
|
79455
|
+
};
|
|
79456
|
+
logistics_shipping_notes_wake_all: {
|
|
79457
|
+
Args: never;
|
|
79458
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79459
|
+
};
|
|
79460
|
+
logistics_slip_is_floriday: {
|
|
79461
|
+
Args: {
|
|
79462
|
+
_slip_job_id: string;
|
|
79463
|
+
};
|
|
79464
|
+
Returns: boolean;
|
|
79465
|
+
};
|
|
79466
|
+
logistics_slip_note_claim: {
|
|
79467
|
+
Args: {
|
|
79468
|
+
_lease_seconds?: number;
|
|
79469
|
+
_limit?: number;
|
|
79470
|
+
};
|
|
79471
|
+
Returns: {
|
|
79472
|
+
attempts: number;
|
|
79473
|
+
batch_key: string | null;
|
|
79474
|
+
cart_id: string | null;
|
|
79475
|
+
created_at: string;
|
|
79476
|
+
error: string | null;
|
|
79477
|
+
error_code: string | null;
|
|
79478
|
+
fulfillment_order_id: string | null;
|
|
79479
|
+
id: string;
|
|
79480
|
+
locked_until: string | null;
|
|
79481
|
+
next_attempt_at: string | null;
|
|
79482
|
+
order_id: string | null;
|
|
79483
|
+
order_number: string | null;
|
|
79484
|
+
print_job_id: string | null;
|
|
79485
|
+
printer_id: string | null;
|
|
79486
|
+
retry_class: string | null;
|
|
79487
|
+
slip_job_id: string;
|
|
79488
|
+
status: string;
|
|
79489
|
+
updated_at: string;
|
|
79490
|
+
}[];
|
|
79491
|
+
SetofOptions: {
|
|
79492
|
+
from: "*";
|
|
79493
|
+
to: "logistics_slip_shipping_note";
|
|
79494
|
+
isOneToOne: false;
|
|
79495
|
+
isSetofReturn: true;
|
|
79496
|
+
};
|
|
79497
|
+
};
|
|
79498
|
+
logistics_slip_note_finish: {
|
|
79499
|
+
Args: {
|
|
79500
|
+
_error?: string;
|
|
79501
|
+
_error_code?: string;
|
|
79502
|
+
_fulfillment_order_id?: string;
|
|
79503
|
+
_id: string;
|
|
79504
|
+
_ok: boolean;
|
|
79505
|
+
_print_job_id?: string;
|
|
79506
|
+
_status?: string;
|
|
79507
|
+
};
|
|
79508
|
+
Returns: undefined;
|
|
79509
|
+
};
|
|
79510
|
+
logistics_slip_note_keep_waiting: {
|
|
79511
|
+
Args: {
|
|
79512
|
+
_class?: string;
|
|
79513
|
+
_id: string;
|
|
79514
|
+
_reason: string;
|
|
79515
|
+
};
|
|
79516
|
+
Returns: undefined;
|
|
79517
|
+
};
|
|
77273
79518
|
logistics_sticker_follows_slip: {
|
|
77274
79519
|
Args: never;
|
|
77275
79520
|
Returns: boolean;
|
|
@@ -77324,6 +79569,40 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
77324
79569
|
name: string;
|
|
77325
79570
|
}[];
|
|
77326
79571
|
};
|
|
79572
|
+
logistics_trace: {
|
|
79573
|
+
Args: {
|
|
79574
|
+
p: import("../integrations/supabase/types").Json;
|
|
79575
|
+
};
|
|
79576
|
+
Returns: string;
|
|
79577
|
+
};
|
|
79578
|
+
logistics_trace_batch: {
|
|
79579
|
+
Args: {
|
|
79580
|
+
p: import("../integrations/supabase/types").Json;
|
|
79581
|
+
};
|
|
79582
|
+
Returns: number;
|
|
79583
|
+
};
|
|
79584
|
+
logistics_trace_orders: {
|
|
79585
|
+
Args: {
|
|
79586
|
+
p_limit?: number;
|
|
79587
|
+
p_search?: string;
|
|
79588
|
+
p_since?: string;
|
|
79589
|
+
p_status?: string;
|
|
79590
|
+
};
|
|
79591
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79592
|
+
};
|
|
79593
|
+
logistics_trace_redact: {
|
|
79594
|
+
Args: {
|
|
79595
|
+
p: import("../integrations/supabase/types").Json;
|
|
79596
|
+
};
|
|
79597
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79598
|
+
};
|
|
79599
|
+
logistics_trace_timeline: {
|
|
79600
|
+
Args: {
|
|
79601
|
+
p_limit?: number;
|
|
79602
|
+
p_order_ref: string;
|
|
79603
|
+
};
|
|
79604
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79605
|
+
};
|
|
77327
79606
|
logistics_upsert_task: {
|
|
77328
79607
|
Args: {
|
|
77329
79608
|
p_buffer_ref: string;
|
|
@@ -78365,6 +80644,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
78365
80644
|
};
|
|
78366
80645
|
Returns: undefined;
|
|
78367
80646
|
};
|
|
80647
|
+
prune_floriday_api_log: {
|
|
80648
|
+
Args: never;
|
|
80649
|
+
Returns: number;
|
|
80650
|
+
};
|
|
78368
80651
|
quote_create_from_source: {
|
|
78369
80652
|
Args: {
|
|
78370
80653
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -78798,6 +81081,13 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
78798
81081
|
};
|
|
78799
81082
|
Returns: number;
|
|
78800
81083
|
};
|
|
81084
|
+
schedule_floriday_catalog_prices_sync: {
|
|
81085
|
+
Args: {
|
|
81086
|
+
p_apikey: string;
|
|
81087
|
+
p_url: string;
|
|
81088
|
+
};
|
|
81089
|
+
Returns: number;
|
|
81090
|
+
};
|
|
78801
81091
|
schedule_floriday_clock_presales_sync: {
|
|
78802
81092
|
Args: {
|
|
78803
81093
|
p_apikey: string;
|
|
@@ -79098,6 +81388,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
79098
81388
|
};
|
|
79099
81389
|
Returns: undefined;
|
|
79100
81390
|
};
|
|
81391
|
+
sync_floriday_prices_into_price_groups: {
|
|
81392
|
+
Args: never;
|
|
81393
|
+
Returns: number;
|
|
81394
|
+
};
|
|
79101
81395
|
sync_layer_stock: {
|
|
79102
81396
|
Args: {
|
|
79103
81397
|
p_product_id: string;
|
|
@@ -79230,6 +81524,10 @@ export declare const moveCartLayerPosition: import("@tanstack/start-client-core"
|
|
|
79230
81524
|
Args: never;
|
|
79231
81525
|
Returns: string;
|
|
79232
81526
|
};
|
|
81527
|
+
voorraad_cleanup_old_rows: {
|
|
81528
|
+
Args: never;
|
|
81529
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81530
|
+
};
|
|
79233
81531
|
wake_print_queue: {
|
|
79234
81532
|
Args: {
|
|
79235
81533
|
_min_interval_ms?: number;
|
|
@@ -81540,6 +83838,45 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
81540
83838
|
};
|
|
81541
83839
|
Relationships: [];
|
|
81542
83840
|
};
|
|
83841
|
+
customer_product_stickers: {
|
|
83842
|
+
Row: {
|
|
83843
|
+
created_at: string;
|
|
83844
|
+
customer_key: string;
|
|
83845
|
+
file_name: string;
|
|
83846
|
+
file_path: string;
|
|
83847
|
+
file_size: number | null;
|
|
83848
|
+
id: string;
|
|
83849
|
+
mime_type: string | null;
|
|
83850
|
+
trade_item_key: string;
|
|
83851
|
+
updated_at: string;
|
|
83852
|
+
uploaded_by: string | null;
|
|
83853
|
+
};
|
|
83854
|
+
Insert: {
|
|
83855
|
+
created_at?: string;
|
|
83856
|
+
customer_key: string;
|
|
83857
|
+
file_name: string;
|
|
83858
|
+
file_path: string;
|
|
83859
|
+
file_size?: number | null;
|
|
83860
|
+
id?: string;
|
|
83861
|
+
mime_type?: string | null;
|
|
83862
|
+
trade_item_key: string;
|
|
83863
|
+
updated_at?: string;
|
|
83864
|
+
uploaded_by?: string | null;
|
|
83865
|
+
};
|
|
83866
|
+
Update: {
|
|
83867
|
+
created_at?: string;
|
|
83868
|
+
customer_key?: string;
|
|
83869
|
+
file_name?: string;
|
|
83870
|
+
file_path?: string;
|
|
83871
|
+
file_size?: number | null;
|
|
83872
|
+
id?: string;
|
|
83873
|
+
mime_type?: string | null;
|
|
83874
|
+
trade_item_key?: string;
|
|
83875
|
+
updated_at?: string;
|
|
83876
|
+
uploaded_by?: string | null;
|
|
83877
|
+
};
|
|
83878
|
+
Relationships: [];
|
|
83879
|
+
};
|
|
81543
83880
|
customer_selected_assortment: {
|
|
81544
83881
|
Row: {
|
|
81545
83882
|
article_number: string | null;
|
|
@@ -81588,6 +83925,30 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
81588
83925
|
referencedColumns: ["id"];
|
|
81589
83926
|
}];
|
|
81590
83927
|
};
|
|
83928
|
+
customer_sticker_settings: {
|
|
83929
|
+
Row: {
|
|
83930
|
+
created_at: string;
|
|
83931
|
+
customer_key: string;
|
|
83932
|
+
height_mm: number;
|
|
83933
|
+
updated_at: string;
|
|
83934
|
+
width_mm: number;
|
|
83935
|
+
};
|
|
83936
|
+
Insert: {
|
|
83937
|
+
created_at?: string;
|
|
83938
|
+
customer_key: string;
|
|
83939
|
+
height_mm?: number;
|
|
83940
|
+
updated_at?: string;
|
|
83941
|
+
width_mm?: number;
|
|
83942
|
+
};
|
|
83943
|
+
Update: {
|
|
83944
|
+
created_at?: string;
|
|
83945
|
+
customer_key?: string;
|
|
83946
|
+
height_mm?: number;
|
|
83947
|
+
updated_at?: string;
|
|
83948
|
+
width_mm?: number;
|
|
83949
|
+
};
|
|
83950
|
+
Relationships: [];
|
|
83951
|
+
};
|
|
81591
83952
|
customer_trade_settings: {
|
|
81592
83953
|
Row: {
|
|
81593
83954
|
category: string;
|
|
@@ -84918,6 +87279,102 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
84918
87279
|
referencedColumns: ["id"];
|
|
84919
87280
|
}];
|
|
84920
87281
|
};
|
|
87282
|
+
floriday_api_log: {
|
|
87283
|
+
Row: {
|
|
87284
|
+
action: string | null;
|
|
87285
|
+
caller: string | null;
|
|
87286
|
+
connection_id: string | null;
|
|
87287
|
+
created_at: string;
|
|
87288
|
+
cursor_from: number | null;
|
|
87289
|
+
direction: string;
|
|
87290
|
+
duration_ms: number | null;
|
|
87291
|
+
environment: string | null;
|
|
87292
|
+
error: string | null;
|
|
87293
|
+
floriday_id: string | null;
|
|
87294
|
+
floriday_reference: string | null;
|
|
87295
|
+
http_status: number;
|
|
87296
|
+
id: string;
|
|
87297
|
+
item_count: number | null;
|
|
87298
|
+
kind: string | null;
|
|
87299
|
+
local_id: string | null;
|
|
87300
|
+
local_reference: string | null;
|
|
87301
|
+
method: string;
|
|
87302
|
+
module: string | null;
|
|
87303
|
+
ok: boolean;
|
|
87304
|
+
path: string;
|
|
87305
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
87306
|
+
resource_type: string | null;
|
|
87307
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
87308
|
+
write_log_id: string | null;
|
|
87309
|
+
};
|
|
87310
|
+
Insert: {
|
|
87311
|
+
action?: string | null;
|
|
87312
|
+
caller?: string | null;
|
|
87313
|
+
connection_id?: string | null;
|
|
87314
|
+
created_at?: string;
|
|
87315
|
+
cursor_from?: number | null;
|
|
87316
|
+
direction: string;
|
|
87317
|
+
duration_ms?: number | null;
|
|
87318
|
+
environment?: string | null;
|
|
87319
|
+
error?: string | null;
|
|
87320
|
+
floriday_id?: string | null;
|
|
87321
|
+
floriday_reference?: string | null;
|
|
87322
|
+
http_status?: number;
|
|
87323
|
+
id?: string;
|
|
87324
|
+
item_count?: number | null;
|
|
87325
|
+
kind?: string | null;
|
|
87326
|
+
local_id?: string | null;
|
|
87327
|
+
local_reference?: string | null;
|
|
87328
|
+
method: string;
|
|
87329
|
+
module?: string | null;
|
|
87330
|
+
ok?: boolean;
|
|
87331
|
+
path: string;
|
|
87332
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87333
|
+
resource_type?: string | null;
|
|
87334
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87335
|
+
write_log_id?: string | null;
|
|
87336
|
+
};
|
|
87337
|
+
Update: {
|
|
87338
|
+
action?: string | null;
|
|
87339
|
+
caller?: string | null;
|
|
87340
|
+
connection_id?: string | null;
|
|
87341
|
+
created_at?: string;
|
|
87342
|
+
cursor_from?: number | null;
|
|
87343
|
+
direction?: string;
|
|
87344
|
+
duration_ms?: number | null;
|
|
87345
|
+
environment?: string | null;
|
|
87346
|
+
error?: string | null;
|
|
87347
|
+
floriday_id?: string | null;
|
|
87348
|
+
floriday_reference?: string | null;
|
|
87349
|
+
http_status?: number;
|
|
87350
|
+
id?: string;
|
|
87351
|
+
item_count?: number | null;
|
|
87352
|
+
kind?: string | null;
|
|
87353
|
+
local_id?: string | null;
|
|
87354
|
+
local_reference?: string | null;
|
|
87355
|
+
method?: string;
|
|
87356
|
+
module?: string | null;
|
|
87357
|
+
ok?: boolean;
|
|
87358
|
+
path?: string;
|
|
87359
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87360
|
+
resource_type?: string | null;
|
|
87361
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87362
|
+
write_log_id?: string | null;
|
|
87363
|
+
};
|
|
87364
|
+
Relationships: [{
|
|
87365
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
87366
|
+
columns: ["connection_id"];
|
|
87367
|
+
isOneToOne: false;
|
|
87368
|
+
referencedRelation: "floriday_connections";
|
|
87369
|
+
referencedColumns: ["id"];
|
|
87370
|
+
}, {
|
|
87371
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
87372
|
+
columns: ["write_log_id"];
|
|
87373
|
+
isOneToOne: false;
|
|
87374
|
+
referencedRelation: "floriday_write_log";
|
|
87375
|
+
referencedColumns: ["id"];
|
|
87376
|
+
}];
|
|
87377
|
+
};
|
|
84921
87378
|
floriday_auction_letters_cache: {
|
|
84922
87379
|
Row: {
|
|
84923
87380
|
auction_letter_code: string;
|
|
@@ -85125,6 +87582,84 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
85125
87582
|
referencedColumns: ["id"];
|
|
85126
87583
|
}];
|
|
85127
87584
|
};
|
|
87585
|
+
floriday_catalog_prices_cache: {
|
|
87586
|
+
Row: {
|
|
87587
|
+
connection_id: string;
|
|
87588
|
+
created_at: string;
|
|
87589
|
+
currency: string;
|
|
87590
|
+
id: string;
|
|
87591
|
+
is_deleted: boolean;
|
|
87592
|
+
price: number | null;
|
|
87593
|
+
price_group_id: string | null;
|
|
87594
|
+
price_group_name: string | null;
|
|
87595
|
+
price_type: string;
|
|
87596
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
87597
|
+
sales_unit: string | null;
|
|
87598
|
+
sequence_number: number;
|
|
87599
|
+
supplier_article_code: string | null;
|
|
87600
|
+
supply_line_id: string;
|
|
87601
|
+
synced_at: string;
|
|
87602
|
+
trade_item_id: string | null;
|
|
87603
|
+
updated_at: string;
|
|
87604
|
+
valid_from: string | null;
|
|
87605
|
+
valid_to: string | null;
|
|
87606
|
+
week: number | null;
|
|
87607
|
+
year: number | null;
|
|
87608
|
+
};
|
|
87609
|
+
Insert: {
|
|
87610
|
+
connection_id: string;
|
|
87611
|
+
created_at?: string;
|
|
87612
|
+
currency?: string;
|
|
87613
|
+
id?: string;
|
|
87614
|
+
is_deleted?: boolean;
|
|
87615
|
+
price?: number | null;
|
|
87616
|
+
price_group_id?: string | null;
|
|
87617
|
+
price_group_name?: string | null;
|
|
87618
|
+
price_type?: string;
|
|
87619
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
87620
|
+
sales_unit?: string | null;
|
|
87621
|
+
sequence_number?: number;
|
|
87622
|
+
supplier_article_code?: string | null;
|
|
87623
|
+
supply_line_id: string;
|
|
87624
|
+
synced_at?: string;
|
|
87625
|
+
trade_item_id?: string | null;
|
|
87626
|
+
updated_at?: string;
|
|
87627
|
+
valid_from?: string | null;
|
|
87628
|
+
valid_to?: string | null;
|
|
87629
|
+
week?: number | null;
|
|
87630
|
+
year?: number | null;
|
|
87631
|
+
};
|
|
87632
|
+
Update: {
|
|
87633
|
+
connection_id?: string;
|
|
87634
|
+
created_at?: string;
|
|
87635
|
+
currency?: string;
|
|
87636
|
+
id?: string;
|
|
87637
|
+
is_deleted?: boolean;
|
|
87638
|
+
price?: number | null;
|
|
87639
|
+
price_group_id?: string | null;
|
|
87640
|
+
price_group_name?: string | null;
|
|
87641
|
+
price_type?: string;
|
|
87642
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
87643
|
+
sales_unit?: string | null;
|
|
87644
|
+
sequence_number?: number;
|
|
87645
|
+
supplier_article_code?: string | null;
|
|
87646
|
+
supply_line_id?: string;
|
|
87647
|
+
synced_at?: string;
|
|
87648
|
+
trade_item_id?: string | null;
|
|
87649
|
+
updated_at?: string;
|
|
87650
|
+
valid_from?: string | null;
|
|
87651
|
+
valid_to?: string | null;
|
|
87652
|
+
week?: number | null;
|
|
87653
|
+
year?: number | null;
|
|
87654
|
+
};
|
|
87655
|
+
Relationships: [{
|
|
87656
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
87657
|
+
columns: ["connection_id"];
|
|
87658
|
+
isOneToOne: false;
|
|
87659
|
+
referencedRelation: "floriday_connections";
|
|
87660
|
+
referencedColumns: ["id"];
|
|
87661
|
+
}];
|
|
87662
|
+
};
|
|
85128
87663
|
floriday_clock_presales_cache: {
|
|
85129
87664
|
Row: {
|
|
85130
87665
|
buyer_organization_id: string | null;
|
|
@@ -86040,6 +88575,69 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
86040
88575
|
referencedColumns: ["id"];
|
|
86041
88576
|
}];
|
|
86042
88577
|
};
|
|
88578
|
+
floriday_link_templates: {
|
|
88579
|
+
Row: {
|
|
88580
|
+
created_at: string;
|
|
88581
|
+
floriday_url_template: string | null;
|
|
88582
|
+
is_active: boolean;
|
|
88583
|
+
label: string;
|
|
88584
|
+
local_url_template: string | null;
|
|
88585
|
+
resource_type: string;
|
|
88586
|
+
updated_at: string;
|
|
88587
|
+
};
|
|
88588
|
+
Insert: {
|
|
88589
|
+
created_at?: string;
|
|
88590
|
+
floriday_url_template?: string | null;
|
|
88591
|
+
is_active?: boolean;
|
|
88592
|
+
label: string;
|
|
88593
|
+
local_url_template?: string | null;
|
|
88594
|
+
resource_type: string;
|
|
88595
|
+
updated_at?: string;
|
|
88596
|
+
};
|
|
88597
|
+
Update: {
|
|
88598
|
+
created_at?: string;
|
|
88599
|
+
floriday_url_template?: string | null;
|
|
88600
|
+
is_active?: boolean;
|
|
88601
|
+
label?: string;
|
|
88602
|
+
local_url_template?: string | null;
|
|
88603
|
+
resource_type?: string;
|
|
88604
|
+
updated_at?: string;
|
|
88605
|
+
};
|
|
88606
|
+
Relationships: [];
|
|
88607
|
+
};
|
|
88608
|
+
floriday_log_retention: {
|
|
88609
|
+
Row: {
|
|
88610
|
+
created_at: string;
|
|
88611
|
+
direction: string | null;
|
|
88612
|
+
id: string;
|
|
88613
|
+
keep_failed_days: number | null;
|
|
88614
|
+
keep_ok_days: number | null;
|
|
88615
|
+
note: string | null;
|
|
88616
|
+
resource_type: string | null;
|
|
88617
|
+
updated_at: string;
|
|
88618
|
+
};
|
|
88619
|
+
Insert: {
|
|
88620
|
+
created_at?: string;
|
|
88621
|
+
direction?: string | null;
|
|
88622
|
+
id?: string;
|
|
88623
|
+
keep_failed_days?: number | null;
|
|
88624
|
+
keep_ok_days?: number | null;
|
|
88625
|
+
note?: string | null;
|
|
88626
|
+
resource_type?: string | null;
|
|
88627
|
+
updated_at?: string;
|
|
88628
|
+
};
|
|
88629
|
+
Update: {
|
|
88630
|
+
created_at?: string;
|
|
88631
|
+
direction?: string | null;
|
|
88632
|
+
id?: string;
|
|
88633
|
+
keep_failed_days?: number | null;
|
|
88634
|
+
keep_ok_days?: number | null;
|
|
88635
|
+
note?: string | null;
|
|
88636
|
+
resource_type?: string | null;
|
|
88637
|
+
updated_at?: string;
|
|
88638
|
+
};
|
|
88639
|
+
Relationships: [];
|
|
88640
|
+
};
|
|
86043
88641
|
floriday_logistic_labels_cache: {
|
|
86044
88642
|
Row: {
|
|
86045
88643
|
byte_size: number | null;
|
|
@@ -89664,6 +92262,48 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
89664
92262
|
};
|
|
89665
92263
|
Relationships: [];
|
|
89666
92264
|
};
|
|
92265
|
+
logistics_pick_data_requests: {
|
|
92266
|
+
Row: {
|
|
92267
|
+
actions: import("../integrations/supabase/types").Json;
|
|
92268
|
+
created_at: string;
|
|
92269
|
+
event_id: string | null;
|
|
92270
|
+
finished_at: string | null;
|
|
92271
|
+
id: string;
|
|
92272
|
+
missing: import("../integrations/supabase/types").Json;
|
|
92273
|
+
order_ref: string;
|
|
92274
|
+
reason: string | null;
|
|
92275
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
92276
|
+
status: string;
|
|
92277
|
+
unit_ref: string | null;
|
|
92278
|
+
};
|
|
92279
|
+
Insert: {
|
|
92280
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
92281
|
+
created_at?: string;
|
|
92282
|
+
event_id?: string | null;
|
|
92283
|
+
finished_at?: string | null;
|
|
92284
|
+
id?: string;
|
|
92285
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
92286
|
+
order_ref: string;
|
|
92287
|
+
reason?: string | null;
|
|
92288
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
92289
|
+
status?: string;
|
|
92290
|
+
unit_ref?: string | null;
|
|
92291
|
+
};
|
|
92292
|
+
Update: {
|
|
92293
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
92294
|
+
created_at?: string;
|
|
92295
|
+
event_id?: string | null;
|
|
92296
|
+
finished_at?: string | null;
|
|
92297
|
+
id?: string;
|
|
92298
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
92299
|
+
order_ref?: string;
|
|
92300
|
+
reason?: string | null;
|
|
92301
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
92302
|
+
status?: string;
|
|
92303
|
+
unit_ref?: string | null;
|
|
92304
|
+
};
|
|
92305
|
+
Relationships: [];
|
|
92306
|
+
};
|
|
89667
92307
|
logistics_pickup_moments: {
|
|
89668
92308
|
Row: {
|
|
89669
92309
|
carrier_ref: string | null;
|
|
@@ -90123,6 +92763,69 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
90123
92763
|
};
|
|
90124
92764
|
Relationships: [];
|
|
90125
92765
|
};
|
|
92766
|
+
logistics_slip_shipping_note: {
|
|
92767
|
+
Row: {
|
|
92768
|
+
attempts: number;
|
|
92769
|
+
batch_key: string | null;
|
|
92770
|
+
cart_id: string | null;
|
|
92771
|
+
created_at: string;
|
|
92772
|
+
error: string | null;
|
|
92773
|
+
error_code: string | null;
|
|
92774
|
+
fulfillment_order_id: string | null;
|
|
92775
|
+
id: string;
|
|
92776
|
+
locked_until: string | null;
|
|
92777
|
+
next_attempt_at: string | null;
|
|
92778
|
+
order_id: string | null;
|
|
92779
|
+
order_number: string | null;
|
|
92780
|
+
print_job_id: string | null;
|
|
92781
|
+
printer_id: string | null;
|
|
92782
|
+
retry_class: string | null;
|
|
92783
|
+
slip_job_id: string;
|
|
92784
|
+
status: string;
|
|
92785
|
+
updated_at: string;
|
|
92786
|
+
};
|
|
92787
|
+
Insert: {
|
|
92788
|
+
attempts?: number;
|
|
92789
|
+
batch_key?: string | null;
|
|
92790
|
+
cart_id?: string | null;
|
|
92791
|
+
created_at?: string;
|
|
92792
|
+
error?: string | null;
|
|
92793
|
+
error_code?: string | null;
|
|
92794
|
+
fulfillment_order_id?: string | null;
|
|
92795
|
+
id?: string;
|
|
92796
|
+
locked_until?: string | null;
|
|
92797
|
+
next_attempt_at?: string | null;
|
|
92798
|
+
order_id?: string | null;
|
|
92799
|
+
order_number?: string | null;
|
|
92800
|
+
print_job_id?: string | null;
|
|
92801
|
+
printer_id?: string | null;
|
|
92802
|
+
retry_class?: string | null;
|
|
92803
|
+
slip_job_id: string;
|
|
92804
|
+
status?: string;
|
|
92805
|
+
updated_at?: string;
|
|
92806
|
+
};
|
|
92807
|
+
Update: {
|
|
92808
|
+
attempts?: number;
|
|
92809
|
+
batch_key?: string | null;
|
|
92810
|
+
cart_id?: string | null;
|
|
92811
|
+
created_at?: string;
|
|
92812
|
+
error?: string | null;
|
|
92813
|
+
error_code?: string | null;
|
|
92814
|
+
fulfillment_order_id?: string | null;
|
|
92815
|
+
id?: string;
|
|
92816
|
+
locked_until?: string | null;
|
|
92817
|
+
next_attempt_at?: string | null;
|
|
92818
|
+
order_id?: string | null;
|
|
92819
|
+
order_number?: string | null;
|
|
92820
|
+
print_job_id?: string | null;
|
|
92821
|
+
printer_id?: string | null;
|
|
92822
|
+
retry_class?: string | null;
|
|
92823
|
+
slip_job_id?: string;
|
|
92824
|
+
status?: string;
|
|
92825
|
+
updated_at?: string;
|
|
92826
|
+
};
|
|
92827
|
+
Relationships: [];
|
|
92828
|
+
};
|
|
90126
92829
|
logistics_staff_planning: {
|
|
90127
92830
|
Row: {
|
|
90128
92831
|
created_at: string;
|
|
@@ -90474,6 +93177,111 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
90474
93177
|
};
|
|
90475
93178
|
Relationships: [];
|
|
90476
93179
|
};
|
|
93180
|
+
logistics_trace_events: {
|
|
93181
|
+
Row: {
|
|
93182
|
+
actor: string | null;
|
|
93183
|
+
attempts: number;
|
|
93184
|
+
cart_ref: string | null;
|
|
93185
|
+
created_at: string;
|
|
93186
|
+
db_action: string | null;
|
|
93187
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
93188
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
93189
|
+
db_record: string | null;
|
|
93190
|
+
db_table: string | null;
|
|
93191
|
+
decision: string | null;
|
|
93192
|
+
duration_ms: number | null;
|
|
93193
|
+
error: string | null;
|
|
93194
|
+
external_action: string | null;
|
|
93195
|
+
external_ref: string | null;
|
|
93196
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
93197
|
+
external_status: string | null;
|
|
93198
|
+
external_system: string | null;
|
|
93199
|
+
id: string;
|
|
93200
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
93201
|
+
next_attempt_at: string | null;
|
|
93202
|
+
order_ref: string | null;
|
|
93203
|
+
order_source: string | null;
|
|
93204
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
93205
|
+
phase: string;
|
|
93206
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
93207
|
+
reason: string | null;
|
|
93208
|
+
rule: string | null;
|
|
93209
|
+
slip_ref: string | null;
|
|
93210
|
+
status: string;
|
|
93211
|
+
step: string;
|
|
93212
|
+
trace_id: string;
|
|
93213
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
93214
|
+
};
|
|
93215
|
+
Insert: {
|
|
93216
|
+
actor?: string | null;
|
|
93217
|
+
attempts?: number;
|
|
93218
|
+
cart_ref?: string | null;
|
|
93219
|
+
created_at?: string;
|
|
93220
|
+
db_action?: string | null;
|
|
93221
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93222
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93223
|
+
db_record?: string | null;
|
|
93224
|
+
db_table?: string | null;
|
|
93225
|
+
decision?: string | null;
|
|
93226
|
+
duration_ms?: number | null;
|
|
93227
|
+
error?: string | null;
|
|
93228
|
+
external_action?: string | null;
|
|
93229
|
+
external_ref?: string | null;
|
|
93230
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93231
|
+
external_status?: string | null;
|
|
93232
|
+
external_system?: string | null;
|
|
93233
|
+
id?: string;
|
|
93234
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93235
|
+
next_attempt_at?: string | null;
|
|
93236
|
+
order_ref?: string | null;
|
|
93237
|
+
order_source?: string | null;
|
|
93238
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93239
|
+
phase: string;
|
|
93240
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93241
|
+
reason?: string | null;
|
|
93242
|
+
rule?: string | null;
|
|
93243
|
+
slip_ref?: string | null;
|
|
93244
|
+
status: string;
|
|
93245
|
+
step: string;
|
|
93246
|
+
trace_id?: string;
|
|
93247
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93248
|
+
};
|
|
93249
|
+
Update: {
|
|
93250
|
+
actor?: string | null;
|
|
93251
|
+
attempts?: number;
|
|
93252
|
+
cart_ref?: string | null;
|
|
93253
|
+
created_at?: string;
|
|
93254
|
+
db_action?: string | null;
|
|
93255
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93256
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93257
|
+
db_record?: string | null;
|
|
93258
|
+
db_table?: string | null;
|
|
93259
|
+
decision?: string | null;
|
|
93260
|
+
duration_ms?: number | null;
|
|
93261
|
+
error?: string | null;
|
|
93262
|
+
external_action?: string | null;
|
|
93263
|
+
external_ref?: string | null;
|
|
93264
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93265
|
+
external_status?: string | null;
|
|
93266
|
+
external_system?: string | null;
|
|
93267
|
+
id?: string;
|
|
93268
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93269
|
+
next_attempt_at?: string | null;
|
|
93270
|
+
order_ref?: string | null;
|
|
93271
|
+
order_source?: string | null;
|
|
93272
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93273
|
+
phase?: string;
|
|
93274
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93275
|
+
reason?: string | null;
|
|
93276
|
+
rule?: string | null;
|
|
93277
|
+
slip_ref?: string | null;
|
|
93278
|
+
status?: string;
|
|
93279
|
+
step?: string;
|
|
93280
|
+
trace_id?: string;
|
|
93281
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93282
|
+
};
|
|
93283
|
+
Relationships: [];
|
|
93284
|
+
};
|
|
90477
93285
|
logistics_variables: {
|
|
90478
93286
|
Row: {
|
|
90479
93287
|
created_at: string;
|
|
@@ -101046,6 +103854,15 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
101046
103854
|
Args: never;
|
|
101047
103855
|
Returns: boolean;
|
|
101048
103856
|
};
|
|
103857
|
+
cancel_open_print_jobs: {
|
|
103858
|
+
Args: {
|
|
103859
|
+
_cutoff: string;
|
|
103860
|
+
};
|
|
103861
|
+
Returns: {
|
|
103862
|
+
extern_job_id: string;
|
|
103863
|
+
id: string;
|
|
103864
|
+
}[];
|
|
103865
|
+
};
|
|
101049
103866
|
check_offer_product_available_stock: {
|
|
101050
103867
|
Args: {
|
|
101051
103868
|
p_campaign_product_id: string;
|
|
@@ -102584,6 +105401,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
102584
105401
|
};
|
|
102585
105402
|
Returns: string;
|
|
102586
105403
|
};
|
|
105404
|
+
logistics_cart_checkin_at: {
|
|
105405
|
+
Args: {
|
|
105406
|
+
p_cart_id: string;
|
|
105407
|
+
};
|
|
105408
|
+
Returns: string;
|
|
105409
|
+
};
|
|
102587
105410
|
logistics_cart_handled: {
|
|
102588
105411
|
Args: {
|
|
102589
105412
|
p_cart_index: number;
|
|
@@ -102617,10 +105440,22 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
102617
105440
|
task_status: string;
|
|
102618
105441
|
}[];
|
|
102619
105442
|
};
|
|
105443
|
+
logistics_cart_is_full: {
|
|
105444
|
+
Args: {
|
|
105445
|
+
p_cart_id: string;
|
|
105446
|
+
};
|
|
105447
|
+
Returns: boolean;
|
|
105448
|
+
};
|
|
102620
105449
|
logistics_cart_layout_method: {
|
|
102621
105450
|
Args: never;
|
|
102622
105451
|
Returns: import("../integrations/supabase/types").Json;
|
|
102623
105452
|
};
|
|
105453
|
+
logistics_cart_order_refs: {
|
|
105454
|
+
Args: {
|
|
105455
|
+
p_cart_id: string;
|
|
105456
|
+
};
|
|
105457
|
+
Returns: string[];
|
|
105458
|
+
};
|
|
102624
105459
|
logistics_cart_plan_overview: {
|
|
102625
105460
|
Args: {
|
|
102626
105461
|
p_days?: number;
|
|
@@ -102640,6 +105475,24 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
102640
105475
|
};
|
|
102641
105476
|
Returns: import("../integrations/supabase/types").Json;
|
|
102642
105477
|
};
|
|
105478
|
+
logistics_cart_plan_status_core: {
|
|
105479
|
+
Args: {
|
|
105480
|
+
p_ref: string;
|
|
105481
|
+
};
|
|
105482
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105483
|
+
};
|
|
105484
|
+
logistics_cart_release_reason: {
|
|
105485
|
+
Args: {
|
|
105486
|
+
p_cart_id: string;
|
|
105487
|
+
};
|
|
105488
|
+
Returns: string;
|
|
105489
|
+
};
|
|
105490
|
+
logistics_cart_released: {
|
|
105491
|
+
Args: {
|
|
105492
|
+
p_cart_id: string;
|
|
105493
|
+
};
|
|
105494
|
+
Returns: boolean;
|
|
105495
|
+
};
|
|
102643
105496
|
logistics_cart_seq: {
|
|
102644
105497
|
Args: {
|
|
102645
105498
|
p_order_uuid?: string;
|
|
@@ -102690,6 +105543,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
102690
105543
|
unit_ref: string;
|
|
102691
105544
|
}[];
|
|
102692
105545
|
};
|
|
105546
|
+
logistics_carts_per_print: {
|
|
105547
|
+
Args: never;
|
|
105548
|
+
Returns: number;
|
|
105549
|
+
};
|
|
102693
105550
|
logistics_check_order_allowed: {
|
|
102694
105551
|
Args: {
|
|
102695
105552
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -102793,6 +105650,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
102793
105650
|
isSetofReturn: false;
|
|
102794
105651
|
};
|
|
102795
105652
|
};
|
|
105653
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
105654
|
+
Args: never;
|
|
105655
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105656
|
+
};
|
|
102796
105657
|
logistics_complete_task: {
|
|
102797
105658
|
Args: {
|
|
102798
105659
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -103044,6 +105905,20 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103044
105905
|
};
|
|
103045
105906
|
Returns: string;
|
|
103046
105907
|
};
|
|
105908
|
+
logistics_ensure_pick_data: {
|
|
105909
|
+
Args: {
|
|
105910
|
+
p_event_id?: string;
|
|
105911
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
105912
|
+
p_ref: string;
|
|
105913
|
+
};
|
|
105914
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105915
|
+
};
|
|
105916
|
+
logistics_ensure_shipping_notes: {
|
|
105917
|
+
Args: {
|
|
105918
|
+
p_limit?: number;
|
|
105919
|
+
};
|
|
105920
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105921
|
+
};
|
|
103047
105922
|
logistics_fail_task: {
|
|
103048
105923
|
Args: {
|
|
103049
105924
|
p_error: string;
|
|
@@ -103089,6 +105964,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103089
105964
|
isSetofReturn: false;
|
|
103090
105965
|
};
|
|
103091
105966
|
};
|
|
105967
|
+
logistics_fix_wrong_shipping_notes: {
|
|
105968
|
+
Args: never;
|
|
105969
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105970
|
+
};
|
|
103092
105971
|
logistics_floriday_cart_plan: {
|
|
103093
105972
|
Args: {
|
|
103094
105973
|
p_order_id: string;
|
|
@@ -103116,6 +105995,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103116
105995
|
revision: number;
|
|
103117
105996
|
}[];
|
|
103118
105997
|
};
|
|
105998
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
105999
|
+
Args: never;
|
|
106000
|
+
Returns: boolean;
|
|
106001
|
+
};
|
|
103119
106002
|
logistics_floriday_finish_push: {
|
|
103120
106003
|
Args: {
|
|
103121
106004
|
_error?: string;
|
|
@@ -103267,6 +106150,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103267
106150
|
};
|
|
103268
106151
|
Returns: number;
|
|
103269
106152
|
};
|
|
106153
|
+
logistics_merge_partial_carts: {
|
|
106154
|
+
Args: {
|
|
106155
|
+
p_limit?: number;
|
|
106156
|
+
};
|
|
106157
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106158
|
+
};
|
|
103270
106159
|
logistics_next_workday_date: {
|
|
103271
106160
|
Args: {
|
|
103272
106161
|
p_date: string;
|
|
@@ -103353,6 +106242,12 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103353
106242
|
};
|
|
103354
106243
|
Returns: string;
|
|
103355
106244
|
};
|
|
106245
|
+
logistics_payload_is_floriday: {
|
|
106246
|
+
Args: {
|
|
106247
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
106248
|
+
};
|
|
106249
|
+
Returns: boolean;
|
|
106250
|
+
};
|
|
103356
106251
|
logistics_pick_agenda: {
|
|
103357
106252
|
Args: {
|
|
103358
106253
|
p_from?: string;
|
|
@@ -103381,6 +106276,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103381
106276
|
Args: never;
|
|
103382
106277
|
Returns: import("../integrations/supabase/types").Json;
|
|
103383
106278
|
};
|
|
106279
|
+
logistics_pick_partial_mode: {
|
|
106280
|
+
Args: never;
|
|
106281
|
+
Returns: string;
|
|
106282
|
+
};
|
|
103384
106283
|
logistics_pick_start_estimate: {
|
|
103385
106284
|
Args: {
|
|
103386
106285
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -103471,6 +106370,20 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103471
106370
|
Args: never;
|
|
103472
106371
|
Returns: undefined;
|
|
103473
106372
|
};
|
|
106373
|
+
logistics_plan_progress: {
|
|
106374
|
+
Args: {
|
|
106375
|
+
p_refs: string[];
|
|
106376
|
+
};
|
|
106377
|
+
Returns: {
|
|
106378
|
+
cart_plan_ready: boolean;
|
|
106379
|
+
cart_plan_reason: string;
|
|
106380
|
+
cart_plan_released: boolean;
|
|
106381
|
+
plan_progress: number;
|
|
106382
|
+
plan_state: string;
|
|
106383
|
+
plan_state_since: string;
|
|
106384
|
+
unit_ref: string;
|
|
106385
|
+
}[];
|
|
106386
|
+
};
|
|
103474
106387
|
logistics_plan_prune: {
|
|
103475
106388
|
Args: never;
|
|
103476
106389
|
Returns: number;
|
|
@@ -103492,6 +106405,18 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103492
106405
|
};
|
|
103493
106406
|
Returns: number;
|
|
103494
106407
|
};
|
|
106408
|
+
logistics_plan_state_for: {
|
|
106409
|
+
Args: {
|
|
106410
|
+
p_ref: string;
|
|
106411
|
+
};
|
|
106412
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106413
|
+
};
|
|
106414
|
+
logistics_prepare_pick_documents: {
|
|
106415
|
+
Args: {
|
|
106416
|
+
p_limit?: number;
|
|
106417
|
+
};
|
|
106418
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106419
|
+
};
|
|
103495
106420
|
logistics_prune_buffer_member_queue: {
|
|
103496
106421
|
Args: never;
|
|
103497
106422
|
Returns: number;
|
|
@@ -103532,18 +106457,36 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103532
106457
|
Args: never;
|
|
103533
106458
|
Returns: import("../integrations/supabase/types").Json;
|
|
103534
106459
|
};
|
|
106460
|
+
logistics_refresh_pick_queue_status: {
|
|
106461
|
+
Args: {
|
|
106462
|
+
p_ref: string;
|
|
106463
|
+
};
|
|
106464
|
+
Returns: number;
|
|
106465
|
+
};
|
|
103535
106466
|
logistics_refresh_pickup_moments: {
|
|
103536
106467
|
Args: {
|
|
103537
106468
|
p_weeks?: number;
|
|
103538
106469
|
};
|
|
103539
106470
|
Returns: import("../integrations/supabase/types").Json;
|
|
103540
106471
|
};
|
|
106472
|
+
logistics_refresh_plan_state: {
|
|
106473
|
+
Args: {
|
|
106474
|
+
p_limit?: number;
|
|
106475
|
+
};
|
|
106476
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106477
|
+
};
|
|
103541
106478
|
logistics_replan_all: {
|
|
103542
106479
|
Args: {
|
|
103543
106480
|
p_reason?: string;
|
|
103544
106481
|
};
|
|
103545
106482
|
Returns: import("../integrations/supabase/types").Json;
|
|
103546
106483
|
};
|
|
106484
|
+
logistics_replan_all_force: {
|
|
106485
|
+
Args: {
|
|
106486
|
+
p_reason?: string;
|
|
106487
|
+
};
|
|
106488
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106489
|
+
};
|
|
103547
106490
|
logistics_report_delay: {
|
|
103548
106491
|
Args: {
|
|
103549
106492
|
p_expected_date?: string;
|
|
@@ -103700,6 +106643,74 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103700
106643
|
};
|
|
103701
106644
|
Returns: import("../integrations/supabase/types").Json;
|
|
103702
106645
|
};
|
|
106646
|
+
logistics_shipping_note_job_for_slip: {
|
|
106647
|
+
Args: {
|
|
106648
|
+
_slip_job_id: string;
|
|
106649
|
+
};
|
|
106650
|
+
Returns: string;
|
|
106651
|
+
};
|
|
106652
|
+
logistics_shipping_notes_wake_all: {
|
|
106653
|
+
Args: never;
|
|
106654
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106655
|
+
};
|
|
106656
|
+
logistics_slip_is_floriday: {
|
|
106657
|
+
Args: {
|
|
106658
|
+
_slip_job_id: string;
|
|
106659
|
+
};
|
|
106660
|
+
Returns: boolean;
|
|
106661
|
+
};
|
|
106662
|
+
logistics_slip_note_claim: {
|
|
106663
|
+
Args: {
|
|
106664
|
+
_lease_seconds?: number;
|
|
106665
|
+
_limit?: number;
|
|
106666
|
+
};
|
|
106667
|
+
Returns: {
|
|
106668
|
+
attempts: number;
|
|
106669
|
+
batch_key: string | null;
|
|
106670
|
+
cart_id: string | null;
|
|
106671
|
+
created_at: string;
|
|
106672
|
+
error: string | null;
|
|
106673
|
+
error_code: string | null;
|
|
106674
|
+
fulfillment_order_id: string | null;
|
|
106675
|
+
id: string;
|
|
106676
|
+
locked_until: string | null;
|
|
106677
|
+
next_attempt_at: string | null;
|
|
106678
|
+
order_id: string | null;
|
|
106679
|
+
order_number: string | null;
|
|
106680
|
+
print_job_id: string | null;
|
|
106681
|
+
printer_id: string | null;
|
|
106682
|
+
retry_class: string | null;
|
|
106683
|
+
slip_job_id: string;
|
|
106684
|
+
status: string;
|
|
106685
|
+
updated_at: string;
|
|
106686
|
+
}[];
|
|
106687
|
+
SetofOptions: {
|
|
106688
|
+
from: "*";
|
|
106689
|
+
to: "logistics_slip_shipping_note";
|
|
106690
|
+
isOneToOne: false;
|
|
106691
|
+
isSetofReturn: true;
|
|
106692
|
+
};
|
|
106693
|
+
};
|
|
106694
|
+
logistics_slip_note_finish: {
|
|
106695
|
+
Args: {
|
|
106696
|
+
_error?: string;
|
|
106697
|
+
_error_code?: string;
|
|
106698
|
+
_fulfillment_order_id?: string;
|
|
106699
|
+
_id: string;
|
|
106700
|
+
_ok: boolean;
|
|
106701
|
+
_print_job_id?: string;
|
|
106702
|
+
_status?: string;
|
|
106703
|
+
};
|
|
106704
|
+
Returns: undefined;
|
|
106705
|
+
};
|
|
106706
|
+
logistics_slip_note_keep_waiting: {
|
|
106707
|
+
Args: {
|
|
106708
|
+
_class?: string;
|
|
106709
|
+
_id: string;
|
|
106710
|
+
_reason: string;
|
|
106711
|
+
};
|
|
106712
|
+
Returns: undefined;
|
|
106713
|
+
};
|
|
103703
106714
|
logistics_sticker_follows_slip: {
|
|
103704
106715
|
Args: never;
|
|
103705
106716
|
Returns: boolean;
|
|
@@ -103754,6 +106765,40 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
103754
106765
|
name: string;
|
|
103755
106766
|
}[];
|
|
103756
106767
|
};
|
|
106768
|
+
logistics_trace: {
|
|
106769
|
+
Args: {
|
|
106770
|
+
p: import("../integrations/supabase/types").Json;
|
|
106771
|
+
};
|
|
106772
|
+
Returns: string;
|
|
106773
|
+
};
|
|
106774
|
+
logistics_trace_batch: {
|
|
106775
|
+
Args: {
|
|
106776
|
+
p: import("../integrations/supabase/types").Json;
|
|
106777
|
+
};
|
|
106778
|
+
Returns: number;
|
|
106779
|
+
};
|
|
106780
|
+
logistics_trace_orders: {
|
|
106781
|
+
Args: {
|
|
106782
|
+
p_limit?: number;
|
|
106783
|
+
p_search?: string;
|
|
106784
|
+
p_since?: string;
|
|
106785
|
+
p_status?: string;
|
|
106786
|
+
};
|
|
106787
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106788
|
+
};
|
|
106789
|
+
logistics_trace_redact: {
|
|
106790
|
+
Args: {
|
|
106791
|
+
p: import("../integrations/supabase/types").Json;
|
|
106792
|
+
};
|
|
106793
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106794
|
+
};
|
|
106795
|
+
logistics_trace_timeline: {
|
|
106796
|
+
Args: {
|
|
106797
|
+
p_limit?: number;
|
|
106798
|
+
p_order_ref: string;
|
|
106799
|
+
};
|
|
106800
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106801
|
+
};
|
|
103757
106802
|
logistics_upsert_task: {
|
|
103758
106803
|
Args: {
|
|
103759
106804
|
p_buffer_ref: string;
|
|
@@ -104795,6 +107840,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
104795
107840
|
};
|
|
104796
107841
|
Returns: undefined;
|
|
104797
107842
|
};
|
|
107843
|
+
prune_floriday_api_log: {
|
|
107844
|
+
Args: never;
|
|
107845
|
+
Returns: number;
|
|
107846
|
+
};
|
|
104798
107847
|
quote_create_from_source: {
|
|
104799
107848
|
Args: {
|
|
104800
107849
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -105228,6 +108277,13 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
105228
108277
|
};
|
|
105229
108278
|
Returns: number;
|
|
105230
108279
|
};
|
|
108280
|
+
schedule_floriday_catalog_prices_sync: {
|
|
108281
|
+
Args: {
|
|
108282
|
+
p_apikey: string;
|
|
108283
|
+
p_url: string;
|
|
108284
|
+
};
|
|
108285
|
+
Returns: number;
|
|
108286
|
+
};
|
|
105231
108287
|
schedule_floriday_clock_presales_sync: {
|
|
105232
108288
|
Args: {
|
|
105233
108289
|
p_apikey: string;
|
|
@@ -105528,6 +108584,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
105528
108584
|
};
|
|
105529
108585
|
Returns: undefined;
|
|
105530
108586
|
};
|
|
108587
|
+
sync_floriday_prices_into_price_groups: {
|
|
108588
|
+
Args: never;
|
|
108589
|
+
Returns: number;
|
|
108590
|
+
};
|
|
105531
108591
|
sync_layer_stock: {
|
|
105532
108592
|
Args: {
|
|
105533
108593
|
p_product_id: string;
|
|
@@ -105660,6 +108720,10 @@ export declare const resetCartLayerPositions: import("@tanstack/start-client-cor
|
|
|
105660
108720
|
Args: never;
|
|
105661
108721
|
Returns: string;
|
|
105662
108722
|
};
|
|
108723
|
+
voorraad_cleanup_old_rows: {
|
|
108724
|
+
Args: never;
|
|
108725
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
108726
|
+
};
|
|
105663
108727
|
wake_print_queue: {
|
|
105664
108728
|
Args: {
|
|
105665
108729
|
_min_interval_ms?: number;
|