@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
|
@@ -2224,6 +2224,45 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
2224
2224
|
};
|
|
2225
2225
|
Relationships: [];
|
|
2226
2226
|
};
|
|
2227
|
+
customer_product_stickers: {
|
|
2228
|
+
Row: {
|
|
2229
|
+
created_at: string;
|
|
2230
|
+
customer_key: string;
|
|
2231
|
+
file_name: string;
|
|
2232
|
+
file_path: string;
|
|
2233
|
+
file_size: number | null;
|
|
2234
|
+
id: string;
|
|
2235
|
+
mime_type: string | null;
|
|
2236
|
+
trade_item_key: string;
|
|
2237
|
+
updated_at: string;
|
|
2238
|
+
uploaded_by: string | null;
|
|
2239
|
+
};
|
|
2240
|
+
Insert: {
|
|
2241
|
+
created_at?: string;
|
|
2242
|
+
customer_key: string;
|
|
2243
|
+
file_name: string;
|
|
2244
|
+
file_path: string;
|
|
2245
|
+
file_size?: number | null;
|
|
2246
|
+
id?: string;
|
|
2247
|
+
mime_type?: string | null;
|
|
2248
|
+
trade_item_key: string;
|
|
2249
|
+
updated_at?: string;
|
|
2250
|
+
uploaded_by?: string | null;
|
|
2251
|
+
};
|
|
2252
|
+
Update: {
|
|
2253
|
+
created_at?: string;
|
|
2254
|
+
customer_key?: string;
|
|
2255
|
+
file_name?: string;
|
|
2256
|
+
file_path?: string;
|
|
2257
|
+
file_size?: number | null;
|
|
2258
|
+
id?: string;
|
|
2259
|
+
mime_type?: string | null;
|
|
2260
|
+
trade_item_key?: string;
|
|
2261
|
+
updated_at?: string;
|
|
2262
|
+
uploaded_by?: string | null;
|
|
2263
|
+
};
|
|
2264
|
+
Relationships: [];
|
|
2265
|
+
};
|
|
2227
2266
|
customer_selected_assortment: {
|
|
2228
2267
|
Row: {
|
|
2229
2268
|
article_number: string | null;
|
|
@@ -2272,6 +2311,30 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
2272
2311
|
referencedColumns: ["id"];
|
|
2273
2312
|
}];
|
|
2274
2313
|
};
|
|
2314
|
+
customer_sticker_settings: {
|
|
2315
|
+
Row: {
|
|
2316
|
+
created_at: string;
|
|
2317
|
+
customer_key: string;
|
|
2318
|
+
height_mm: number;
|
|
2319
|
+
updated_at: string;
|
|
2320
|
+
width_mm: number;
|
|
2321
|
+
};
|
|
2322
|
+
Insert: {
|
|
2323
|
+
created_at?: string;
|
|
2324
|
+
customer_key: string;
|
|
2325
|
+
height_mm?: number;
|
|
2326
|
+
updated_at?: string;
|
|
2327
|
+
width_mm?: number;
|
|
2328
|
+
};
|
|
2329
|
+
Update: {
|
|
2330
|
+
created_at?: string;
|
|
2331
|
+
customer_key?: string;
|
|
2332
|
+
height_mm?: number;
|
|
2333
|
+
updated_at?: string;
|
|
2334
|
+
width_mm?: number;
|
|
2335
|
+
};
|
|
2336
|
+
Relationships: [];
|
|
2337
|
+
};
|
|
2275
2338
|
customer_trade_settings: {
|
|
2276
2339
|
Row: {
|
|
2277
2340
|
category: string;
|
|
@@ -5602,6 +5665,102 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
5602
5665
|
referencedColumns: ["id"];
|
|
5603
5666
|
}];
|
|
5604
5667
|
};
|
|
5668
|
+
floriday_api_log: {
|
|
5669
|
+
Row: {
|
|
5670
|
+
action: string | null;
|
|
5671
|
+
caller: string | null;
|
|
5672
|
+
connection_id: string | null;
|
|
5673
|
+
created_at: string;
|
|
5674
|
+
cursor_from: number | null;
|
|
5675
|
+
direction: string;
|
|
5676
|
+
duration_ms: number | null;
|
|
5677
|
+
environment: string | null;
|
|
5678
|
+
error: string | null;
|
|
5679
|
+
floriday_id: string | null;
|
|
5680
|
+
floriday_reference: string | null;
|
|
5681
|
+
http_status: number;
|
|
5682
|
+
id: string;
|
|
5683
|
+
item_count: number | null;
|
|
5684
|
+
kind: string | null;
|
|
5685
|
+
local_id: string | null;
|
|
5686
|
+
local_reference: string | null;
|
|
5687
|
+
method: string;
|
|
5688
|
+
module: string | null;
|
|
5689
|
+
ok: boolean;
|
|
5690
|
+
path: string;
|
|
5691
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5692
|
+
resource_type: string | null;
|
|
5693
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5694
|
+
write_log_id: string | null;
|
|
5695
|
+
};
|
|
5696
|
+
Insert: {
|
|
5697
|
+
action?: string | null;
|
|
5698
|
+
caller?: string | null;
|
|
5699
|
+
connection_id?: string | null;
|
|
5700
|
+
created_at?: string;
|
|
5701
|
+
cursor_from?: number | null;
|
|
5702
|
+
direction: string;
|
|
5703
|
+
duration_ms?: number | null;
|
|
5704
|
+
environment?: string | null;
|
|
5705
|
+
error?: string | null;
|
|
5706
|
+
floriday_id?: string | null;
|
|
5707
|
+
floriday_reference?: string | null;
|
|
5708
|
+
http_status?: number;
|
|
5709
|
+
id?: string;
|
|
5710
|
+
item_count?: number | null;
|
|
5711
|
+
kind?: string | null;
|
|
5712
|
+
local_id?: string | null;
|
|
5713
|
+
local_reference?: string | null;
|
|
5714
|
+
method: string;
|
|
5715
|
+
module?: string | null;
|
|
5716
|
+
ok?: boolean;
|
|
5717
|
+
path: string;
|
|
5718
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5719
|
+
resource_type?: string | null;
|
|
5720
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5721
|
+
write_log_id?: string | null;
|
|
5722
|
+
};
|
|
5723
|
+
Update: {
|
|
5724
|
+
action?: string | null;
|
|
5725
|
+
caller?: string | null;
|
|
5726
|
+
connection_id?: string | null;
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
cursor_from?: number | null;
|
|
5729
|
+
direction?: string;
|
|
5730
|
+
duration_ms?: number | null;
|
|
5731
|
+
environment?: string | null;
|
|
5732
|
+
error?: string | null;
|
|
5733
|
+
floriday_id?: string | null;
|
|
5734
|
+
floriday_reference?: string | null;
|
|
5735
|
+
http_status?: number;
|
|
5736
|
+
id?: string;
|
|
5737
|
+
item_count?: number | null;
|
|
5738
|
+
kind?: string | null;
|
|
5739
|
+
local_id?: string | null;
|
|
5740
|
+
local_reference?: string | null;
|
|
5741
|
+
method?: string;
|
|
5742
|
+
module?: string | null;
|
|
5743
|
+
ok?: boolean;
|
|
5744
|
+
path?: string;
|
|
5745
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5746
|
+
resource_type?: string | null;
|
|
5747
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5748
|
+
write_log_id?: string | null;
|
|
5749
|
+
};
|
|
5750
|
+
Relationships: [{
|
|
5751
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5752
|
+
columns: ["connection_id"];
|
|
5753
|
+
isOneToOne: false;
|
|
5754
|
+
referencedRelation: "floriday_connections";
|
|
5755
|
+
referencedColumns: ["id"];
|
|
5756
|
+
}, {
|
|
5757
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5758
|
+
columns: ["write_log_id"];
|
|
5759
|
+
isOneToOne: false;
|
|
5760
|
+
referencedRelation: "floriday_write_log";
|
|
5761
|
+
referencedColumns: ["id"];
|
|
5762
|
+
}];
|
|
5763
|
+
};
|
|
5605
5764
|
floriday_auction_letters_cache: {
|
|
5606
5765
|
Row: {
|
|
5607
5766
|
auction_letter_code: string;
|
|
@@ -5809,6 +5968,84 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
5809
5968
|
referencedColumns: ["id"];
|
|
5810
5969
|
}];
|
|
5811
5970
|
};
|
|
5971
|
+
floriday_catalog_prices_cache: {
|
|
5972
|
+
Row: {
|
|
5973
|
+
connection_id: string;
|
|
5974
|
+
created_at: string;
|
|
5975
|
+
currency: string;
|
|
5976
|
+
id: string;
|
|
5977
|
+
is_deleted: boolean;
|
|
5978
|
+
price: number | null;
|
|
5979
|
+
price_group_id: string | null;
|
|
5980
|
+
price_group_name: string | null;
|
|
5981
|
+
price_type: string;
|
|
5982
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
5983
|
+
sales_unit: string | null;
|
|
5984
|
+
sequence_number: number;
|
|
5985
|
+
supplier_article_code: string | null;
|
|
5986
|
+
supply_line_id: string;
|
|
5987
|
+
synced_at: string;
|
|
5988
|
+
trade_item_id: string | null;
|
|
5989
|
+
updated_at: string;
|
|
5990
|
+
valid_from: string | null;
|
|
5991
|
+
valid_to: string | null;
|
|
5992
|
+
week: number | null;
|
|
5993
|
+
year: number | null;
|
|
5994
|
+
};
|
|
5995
|
+
Insert: {
|
|
5996
|
+
connection_id: string;
|
|
5997
|
+
created_at?: string;
|
|
5998
|
+
currency?: string;
|
|
5999
|
+
id?: string;
|
|
6000
|
+
is_deleted?: boolean;
|
|
6001
|
+
price?: number | null;
|
|
6002
|
+
price_group_id?: string | null;
|
|
6003
|
+
price_group_name?: string | null;
|
|
6004
|
+
price_type?: string;
|
|
6005
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6006
|
+
sales_unit?: string | null;
|
|
6007
|
+
sequence_number?: number;
|
|
6008
|
+
supplier_article_code?: string | null;
|
|
6009
|
+
supply_line_id: string;
|
|
6010
|
+
synced_at?: string;
|
|
6011
|
+
trade_item_id?: string | null;
|
|
6012
|
+
updated_at?: string;
|
|
6013
|
+
valid_from?: string | null;
|
|
6014
|
+
valid_to?: string | null;
|
|
6015
|
+
week?: number | null;
|
|
6016
|
+
year?: number | null;
|
|
6017
|
+
};
|
|
6018
|
+
Update: {
|
|
6019
|
+
connection_id?: string;
|
|
6020
|
+
created_at?: string;
|
|
6021
|
+
currency?: string;
|
|
6022
|
+
id?: string;
|
|
6023
|
+
is_deleted?: boolean;
|
|
6024
|
+
price?: number | null;
|
|
6025
|
+
price_group_id?: string | null;
|
|
6026
|
+
price_group_name?: string | null;
|
|
6027
|
+
price_type?: string;
|
|
6028
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6029
|
+
sales_unit?: string | null;
|
|
6030
|
+
sequence_number?: number;
|
|
6031
|
+
supplier_article_code?: string | null;
|
|
6032
|
+
supply_line_id?: string;
|
|
6033
|
+
synced_at?: string;
|
|
6034
|
+
trade_item_id?: string | null;
|
|
6035
|
+
updated_at?: string;
|
|
6036
|
+
valid_from?: string | null;
|
|
6037
|
+
valid_to?: string | null;
|
|
6038
|
+
week?: number | null;
|
|
6039
|
+
year?: number | null;
|
|
6040
|
+
};
|
|
6041
|
+
Relationships: [{
|
|
6042
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6043
|
+
columns: ["connection_id"];
|
|
6044
|
+
isOneToOne: false;
|
|
6045
|
+
referencedRelation: "floriday_connections";
|
|
6046
|
+
referencedColumns: ["id"];
|
|
6047
|
+
}];
|
|
6048
|
+
};
|
|
5812
6049
|
floriday_clock_presales_cache: {
|
|
5813
6050
|
Row: {
|
|
5814
6051
|
buyer_organization_id: string | null;
|
|
@@ -6724,6 +6961,69 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
6724
6961
|
referencedColumns: ["id"];
|
|
6725
6962
|
}];
|
|
6726
6963
|
};
|
|
6964
|
+
floriday_link_templates: {
|
|
6965
|
+
Row: {
|
|
6966
|
+
created_at: string;
|
|
6967
|
+
floriday_url_template: string | null;
|
|
6968
|
+
is_active: boolean;
|
|
6969
|
+
label: string;
|
|
6970
|
+
local_url_template: string | null;
|
|
6971
|
+
resource_type: string;
|
|
6972
|
+
updated_at: string;
|
|
6973
|
+
};
|
|
6974
|
+
Insert: {
|
|
6975
|
+
created_at?: string;
|
|
6976
|
+
floriday_url_template?: string | null;
|
|
6977
|
+
is_active?: boolean;
|
|
6978
|
+
label: string;
|
|
6979
|
+
local_url_template?: string | null;
|
|
6980
|
+
resource_type: string;
|
|
6981
|
+
updated_at?: string;
|
|
6982
|
+
};
|
|
6983
|
+
Update: {
|
|
6984
|
+
created_at?: string;
|
|
6985
|
+
floriday_url_template?: string | null;
|
|
6986
|
+
is_active?: boolean;
|
|
6987
|
+
label?: string;
|
|
6988
|
+
local_url_template?: string | null;
|
|
6989
|
+
resource_type?: string;
|
|
6990
|
+
updated_at?: string;
|
|
6991
|
+
};
|
|
6992
|
+
Relationships: [];
|
|
6993
|
+
};
|
|
6994
|
+
floriday_log_retention: {
|
|
6995
|
+
Row: {
|
|
6996
|
+
created_at: string;
|
|
6997
|
+
direction: string | null;
|
|
6998
|
+
id: string;
|
|
6999
|
+
keep_failed_days: number | null;
|
|
7000
|
+
keep_ok_days: number | null;
|
|
7001
|
+
note: string | null;
|
|
7002
|
+
resource_type: string | null;
|
|
7003
|
+
updated_at: string;
|
|
7004
|
+
};
|
|
7005
|
+
Insert: {
|
|
7006
|
+
created_at?: string;
|
|
7007
|
+
direction?: string | null;
|
|
7008
|
+
id?: string;
|
|
7009
|
+
keep_failed_days?: number | null;
|
|
7010
|
+
keep_ok_days?: number | null;
|
|
7011
|
+
note?: string | null;
|
|
7012
|
+
resource_type?: string | null;
|
|
7013
|
+
updated_at?: string;
|
|
7014
|
+
};
|
|
7015
|
+
Update: {
|
|
7016
|
+
created_at?: string;
|
|
7017
|
+
direction?: string | null;
|
|
7018
|
+
id?: string;
|
|
7019
|
+
keep_failed_days?: number | null;
|
|
7020
|
+
keep_ok_days?: number | null;
|
|
7021
|
+
note?: string | null;
|
|
7022
|
+
resource_type?: string | null;
|
|
7023
|
+
updated_at?: string;
|
|
7024
|
+
};
|
|
7025
|
+
Relationships: [];
|
|
7026
|
+
};
|
|
6727
7027
|
floriday_logistic_labels_cache: {
|
|
6728
7028
|
Row: {
|
|
6729
7029
|
byte_size: number | null;
|
|
@@ -10348,6 +10648,48 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
10348
10648
|
};
|
|
10349
10649
|
Relationships: [];
|
|
10350
10650
|
};
|
|
10651
|
+
logistics_pick_data_requests: {
|
|
10652
|
+
Row: {
|
|
10653
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10654
|
+
created_at: string;
|
|
10655
|
+
event_id: string | null;
|
|
10656
|
+
finished_at: string | null;
|
|
10657
|
+
id: string;
|
|
10658
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10659
|
+
order_ref: string;
|
|
10660
|
+
reason: string | null;
|
|
10661
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10662
|
+
status: string;
|
|
10663
|
+
unit_ref: string | null;
|
|
10664
|
+
};
|
|
10665
|
+
Insert: {
|
|
10666
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10667
|
+
created_at?: string;
|
|
10668
|
+
event_id?: string | null;
|
|
10669
|
+
finished_at?: string | null;
|
|
10670
|
+
id?: string;
|
|
10671
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10672
|
+
order_ref: string;
|
|
10673
|
+
reason?: string | null;
|
|
10674
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10675
|
+
status?: string;
|
|
10676
|
+
unit_ref?: string | null;
|
|
10677
|
+
};
|
|
10678
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
10692
|
+
};
|
|
10351
10693
|
logistics_pickup_moments: {
|
|
10352
10694
|
Row: {
|
|
10353
10695
|
carrier_ref: string | null;
|
|
@@ -10807,6 +11149,69 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
10807
11149
|
};
|
|
10808
11150
|
Relationships: [];
|
|
10809
11151
|
};
|
|
11152
|
+
logistics_slip_shipping_note: {
|
|
11153
|
+
Row: {
|
|
11154
|
+
attempts: number;
|
|
11155
|
+
batch_key: string | null;
|
|
11156
|
+
cart_id: string | null;
|
|
11157
|
+
created_at: string;
|
|
11158
|
+
error: string | null;
|
|
11159
|
+
error_code: string | null;
|
|
11160
|
+
fulfillment_order_id: string | null;
|
|
11161
|
+
id: string;
|
|
11162
|
+
locked_until: string | null;
|
|
11163
|
+
next_attempt_at: string | null;
|
|
11164
|
+
order_id: string | null;
|
|
11165
|
+
order_number: string | null;
|
|
11166
|
+
print_job_id: string | null;
|
|
11167
|
+
printer_id: string | null;
|
|
11168
|
+
retry_class: string | null;
|
|
11169
|
+
slip_job_id: string;
|
|
11170
|
+
status: string;
|
|
11171
|
+
updated_at: string;
|
|
11172
|
+
};
|
|
11173
|
+
Insert: {
|
|
11174
|
+
attempts?: number;
|
|
11175
|
+
batch_key?: string | null;
|
|
11176
|
+
cart_id?: string | null;
|
|
11177
|
+
created_at?: string;
|
|
11178
|
+
error?: string | null;
|
|
11179
|
+
error_code?: string | null;
|
|
11180
|
+
fulfillment_order_id?: string | null;
|
|
11181
|
+
id?: string;
|
|
11182
|
+
locked_until?: string | null;
|
|
11183
|
+
next_attempt_at?: string | null;
|
|
11184
|
+
order_id?: string | null;
|
|
11185
|
+
order_number?: string | null;
|
|
11186
|
+
print_job_id?: string | null;
|
|
11187
|
+
printer_id?: string | null;
|
|
11188
|
+
retry_class?: string | null;
|
|
11189
|
+
slip_job_id: string;
|
|
11190
|
+
status?: string;
|
|
11191
|
+
updated_at?: string;
|
|
11192
|
+
};
|
|
11193
|
+
Update: {
|
|
11194
|
+
attempts?: number;
|
|
11195
|
+
batch_key?: string | null;
|
|
11196
|
+
cart_id?: string | null;
|
|
11197
|
+
created_at?: string;
|
|
11198
|
+
error?: string | null;
|
|
11199
|
+
error_code?: string | null;
|
|
11200
|
+
fulfillment_order_id?: string | null;
|
|
11201
|
+
id?: string;
|
|
11202
|
+
locked_until?: string | null;
|
|
11203
|
+
next_attempt_at?: string | null;
|
|
11204
|
+
order_id?: string | null;
|
|
11205
|
+
order_number?: string | null;
|
|
11206
|
+
print_job_id?: string | null;
|
|
11207
|
+
printer_id?: string | null;
|
|
11208
|
+
retry_class?: string | null;
|
|
11209
|
+
slip_job_id?: string;
|
|
11210
|
+
status?: string;
|
|
11211
|
+
updated_at?: string;
|
|
11212
|
+
};
|
|
11213
|
+
Relationships: [];
|
|
11214
|
+
};
|
|
10810
11215
|
logistics_staff_planning: {
|
|
10811
11216
|
Row: {
|
|
10812
11217
|
created_at: string;
|
|
@@ -11158,6 +11563,111 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
11158
11563
|
};
|
|
11159
11564
|
Relationships: [];
|
|
11160
11565
|
};
|
|
11566
|
+
logistics_trace_events: {
|
|
11567
|
+
Row: {
|
|
11568
|
+
actor: string | null;
|
|
11569
|
+
attempts: number;
|
|
11570
|
+
cart_ref: string | null;
|
|
11571
|
+
created_at: string;
|
|
11572
|
+
db_action: string | null;
|
|
11573
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11574
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11575
|
+
db_record: string | null;
|
|
11576
|
+
db_table: string | null;
|
|
11577
|
+
decision: string | null;
|
|
11578
|
+
duration_ms: number | null;
|
|
11579
|
+
error: string | null;
|
|
11580
|
+
external_action: string | null;
|
|
11581
|
+
external_ref: string | null;
|
|
11582
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11583
|
+
external_status: string | null;
|
|
11584
|
+
external_system: string | null;
|
|
11585
|
+
id: string;
|
|
11586
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11587
|
+
next_attempt_at: string | null;
|
|
11588
|
+
order_ref: string | null;
|
|
11589
|
+
order_source: string | null;
|
|
11590
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11591
|
+
phase: string;
|
|
11592
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11593
|
+
reason: string | null;
|
|
11594
|
+
rule: string | null;
|
|
11595
|
+
slip_ref: string | null;
|
|
11596
|
+
status: string;
|
|
11597
|
+
step: string;
|
|
11598
|
+
trace_id: string;
|
|
11599
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11600
|
+
};
|
|
11601
|
+
Insert: {
|
|
11602
|
+
actor?: string | null;
|
|
11603
|
+
attempts?: number;
|
|
11604
|
+
cart_ref?: string | null;
|
|
11605
|
+
created_at?: string;
|
|
11606
|
+
db_action?: string | null;
|
|
11607
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11608
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11609
|
+
db_record?: string | null;
|
|
11610
|
+
db_table?: string | null;
|
|
11611
|
+
decision?: string | null;
|
|
11612
|
+
duration_ms?: number | null;
|
|
11613
|
+
error?: string | null;
|
|
11614
|
+
external_action?: string | null;
|
|
11615
|
+
external_ref?: string | null;
|
|
11616
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11617
|
+
external_status?: string | null;
|
|
11618
|
+
external_system?: string | null;
|
|
11619
|
+
id?: string;
|
|
11620
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11621
|
+
next_attempt_at?: string | null;
|
|
11622
|
+
order_ref?: string | null;
|
|
11623
|
+
order_source?: string | null;
|
|
11624
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
phase: string;
|
|
11626
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11627
|
+
reason?: string | null;
|
|
11628
|
+
rule?: string | null;
|
|
11629
|
+
slip_ref?: string | null;
|
|
11630
|
+
status: string;
|
|
11631
|
+
step: string;
|
|
11632
|
+
trace_id?: string;
|
|
11633
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11634
|
+
};
|
|
11635
|
+
Update: {
|
|
11636
|
+
actor?: string | null;
|
|
11637
|
+
attempts?: number;
|
|
11638
|
+
cart_ref?: string | null;
|
|
11639
|
+
created_at?: string;
|
|
11640
|
+
db_action?: string | null;
|
|
11641
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11642
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11643
|
+
db_record?: string | null;
|
|
11644
|
+
db_table?: string | null;
|
|
11645
|
+
decision?: string | null;
|
|
11646
|
+
duration_ms?: number | null;
|
|
11647
|
+
error?: string | null;
|
|
11648
|
+
external_action?: string | null;
|
|
11649
|
+
external_ref?: string | null;
|
|
11650
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11651
|
+
external_status?: string | null;
|
|
11652
|
+
external_system?: string | null;
|
|
11653
|
+
id?: string;
|
|
11654
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11655
|
+
next_attempt_at?: string | null;
|
|
11656
|
+
order_ref?: string | null;
|
|
11657
|
+
order_source?: string | null;
|
|
11658
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
phase?: string;
|
|
11660
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11661
|
+
reason?: string | null;
|
|
11662
|
+
rule?: string | null;
|
|
11663
|
+
slip_ref?: string | null;
|
|
11664
|
+
status?: string;
|
|
11665
|
+
step?: string;
|
|
11666
|
+
trace_id?: string;
|
|
11667
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11668
|
+
};
|
|
11669
|
+
Relationships: [];
|
|
11670
|
+
};
|
|
11161
11671
|
logistics_variables: {
|
|
11162
11672
|
Row: {
|
|
11163
11673
|
created_at: string;
|
|
@@ -21730,6 +22240,15 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
21730
22240
|
Args: never;
|
|
21731
22241
|
Returns: boolean;
|
|
21732
22242
|
};
|
|
22243
|
+
cancel_open_print_jobs: {
|
|
22244
|
+
Args: {
|
|
22245
|
+
_cutoff: string;
|
|
22246
|
+
};
|
|
22247
|
+
Returns: {
|
|
22248
|
+
extern_job_id: string;
|
|
22249
|
+
id: string;
|
|
22250
|
+
}[];
|
|
22251
|
+
};
|
|
21733
22252
|
check_offer_product_available_stock: {
|
|
21734
22253
|
Args: {
|
|
21735
22254
|
p_campaign_product_id: string;
|
|
@@ -23268,6 +23787,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23268
23787
|
};
|
|
23269
23788
|
Returns: string;
|
|
23270
23789
|
};
|
|
23790
|
+
logistics_cart_checkin_at: {
|
|
23791
|
+
Args: {
|
|
23792
|
+
p_cart_id: string;
|
|
23793
|
+
};
|
|
23794
|
+
Returns: string;
|
|
23795
|
+
};
|
|
23271
23796
|
logistics_cart_handled: {
|
|
23272
23797
|
Args: {
|
|
23273
23798
|
p_cart_index: number;
|
|
@@ -23301,10 +23826,22 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23301
23826
|
task_status: string;
|
|
23302
23827
|
}[];
|
|
23303
23828
|
};
|
|
23829
|
+
logistics_cart_is_full: {
|
|
23830
|
+
Args: {
|
|
23831
|
+
p_cart_id: string;
|
|
23832
|
+
};
|
|
23833
|
+
Returns: boolean;
|
|
23834
|
+
};
|
|
23304
23835
|
logistics_cart_layout_method: {
|
|
23305
23836
|
Args: never;
|
|
23306
23837
|
Returns: import("../integrations/supabase/types").Json;
|
|
23307
23838
|
};
|
|
23839
|
+
logistics_cart_order_refs: {
|
|
23840
|
+
Args: {
|
|
23841
|
+
p_cart_id: string;
|
|
23842
|
+
};
|
|
23843
|
+
Returns: string[];
|
|
23844
|
+
};
|
|
23308
23845
|
logistics_cart_plan_overview: {
|
|
23309
23846
|
Args: {
|
|
23310
23847
|
p_days?: number;
|
|
@@ -23324,6 +23861,24 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23324
23861
|
};
|
|
23325
23862
|
Returns: import("../integrations/supabase/types").Json;
|
|
23326
23863
|
};
|
|
23864
|
+
logistics_cart_plan_status_core: {
|
|
23865
|
+
Args: {
|
|
23866
|
+
p_ref: string;
|
|
23867
|
+
};
|
|
23868
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23869
|
+
};
|
|
23870
|
+
logistics_cart_release_reason: {
|
|
23871
|
+
Args: {
|
|
23872
|
+
p_cart_id: string;
|
|
23873
|
+
};
|
|
23874
|
+
Returns: string;
|
|
23875
|
+
};
|
|
23876
|
+
logistics_cart_released: {
|
|
23877
|
+
Args: {
|
|
23878
|
+
p_cart_id: string;
|
|
23879
|
+
};
|
|
23880
|
+
Returns: boolean;
|
|
23881
|
+
};
|
|
23327
23882
|
logistics_cart_seq: {
|
|
23328
23883
|
Args: {
|
|
23329
23884
|
p_order_uuid?: string;
|
|
@@ -23374,6 +23929,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23374
23929
|
unit_ref: string;
|
|
23375
23930
|
}[];
|
|
23376
23931
|
};
|
|
23932
|
+
logistics_carts_per_print: {
|
|
23933
|
+
Args: never;
|
|
23934
|
+
Returns: number;
|
|
23935
|
+
};
|
|
23377
23936
|
logistics_check_order_allowed: {
|
|
23378
23937
|
Args: {
|
|
23379
23938
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23477,6 +24036,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23477
24036
|
isSetofReturn: false;
|
|
23478
24037
|
};
|
|
23479
24038
|
};
|
|
24039
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24040
|
+
Args: never;
|
|
24041
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24042
|
+
};
|
|
23480
24043
|
logistics_complete_task: {
|
|
23481
24044
|
Args: {
|
|
23482
24045
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23728,6 +24291,20 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23728
24291
|
};
|
|
23729
24292
|
Returns: string;
|
|
23730
24293
|
};
|
|
24294
|
+
logistics_ensure_pick_data: {
|
|
24295
|
+
Args: {
|
|
24296
|
+
p_event_id?: string;
|
|
24297
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24298
|
+
p_ref: string;
|
|
24299
|
+
};
|
|
24300
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24301
|
+
};
|
|
24302
|
+
logistics_ensure_shipping_notes: {
|
|
24303
|
+
Args: {
|
|
24304
|
+
p_limit?: number;
|
|
24305
|
+
};
|
|
24306
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24307
|
+
};
|
|
23731
24308
|
logistics_fail_task: {
|
|
23732
24309
|
Args: {
|
|
23733
24310
|
p_error: string;
|
|
@@ -23773,6 +24350,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23773
24350
|
isSetofReturn: false;
|
|
23774
24351
|
};
|
|
23775
24352
|
};
|
|
24353
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24354
|
+
Args: never;
|
|
24355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24356
|
+
};
|
|
23776
24357
|
logistics_floriday_cart_plan: {
|
|
23777
24358
|
Args: {
|
|
23778
24359
|
p_order_id: string;
|
|
@@ -23800,6 +24381,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23800
24381
|
revision: number;
|
|
23801
24382
|
}[];
|
|
23802
24383
|
};
|
|
24384
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24385
|
+
Args: never;
|
|
24386
|
+
Returns: boolean;
|
|
24387
|
+
};
|
|
23803
24388
|
logistics_floriday_finish_push: {
|
|
23804
24389
|
Args: {
|
|
23805
24390
|
_error?: string;
|
|
@@ -23951,6 +24536,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
23951
24536
|
};
|
|
23952
24537
|
Returns: number;
|
|
23953
24538
|
};
|
|
24539
|
+
logistics_merge_partial_carts: {
|
|
24540
|
+
Args: {
|
|
24541
|
+
p_limit?: number;
|
|
24542
|
+
};
|
|
24543
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24544
|
+
};
|
|
23954
24545
|
logistics_next_workday_date: {
|
|
23955
24546
|
Args: {
|
|
23956
24547
|
p_date: string;
|
|
@@ -24037,6 +24628,12 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24037
24628
|
};
|
|
24038
24629
|
Returns: string;
|
|
24039
24630
|
};
|
|
24631
|
+
logistics_payload_is_floriday: {
|
|
24632
|
+
Args: {
|
|
24633
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24634
|
+
};
|
|
24635
|
+
Returns: boolean;
|
|
24636
|
+
};
|
|
24040
24637
|
logistics_pick_agenda: {
|
|
24041
24638
|
Args: {
|
|
24042
24639
|
p_from?: string;
|
|
@@ -24065,6 +24662,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24065
24662
|
Args: never;
|
|
24066
24663
|
Returns: import("../integrations/supabase/types").Json;
|
|
24067
24664
|
};
|
|
24665
|
+
logistics_pick_partial_mode: {
|
|
24666
|
+
Args: never;
|
|
24667
|
+
Returns: string;
|
|
24668
|
+
};
|
|
24068
24669
|
logistics_pick_start_estimate: {
|
|
24069
24670
|
Args: {
|
|
24070
24671
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -24155,6 +24756,20 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24155
24756
|
Args: never;
|
|
24156
24757
|
Returns: undefined;
|
|
24157
24758
|
};
|
|
24759
|
+
logistics_plan_progress: {
|
|
24760
|
+
Args: {
|
|
24761
|
+
p_refs: string[];
|
|
24762
|
+
};
|
|
24763
|
+
Returns: {
|
|
24764
|
+
cart_plan_ready: boolean;
|
|
24765
|
+
cart_plan_reason: string;
|
|
24766
|
+
cart_plan_released: boolean;
|
|
24767
|
+
plan_progress: number;
|
|
24768
|
+
plan_state: string;
|
|
24769
|
+
plan_state_since: string;
|
|
24770
|
+
unit_ref: string;
|
|
24771
|
+
}[];
|
|
24772
|
+
};
|
|
24158
24773
|
logistics_plan_prune: {
|
|
24159
24774
|
Args: never;
|
|
24160
24775
|
Returns: number;
|
|
@@ -24176,6 +24791,18 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24176
24791
|
};
|
|
24177
24792
|
Returns: number;
|
|
24178
24793
|
};
|
|
24794
|
+
logistics_plan_state_for: {
|
|
24795
|
+
Args: {
|
|
24796
|
+
p_ref: string;
|
|
24797
|
+
};
|
|
24798
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24799
|
+
};
|
|
24800
|
+
logistics_prepare_pick_documents: {
|
|
24801
|
+
Args: {
|
|
24802
|
+
p_limit?: number;
|
|
24803
|
+
};
|
|
24804
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24805
|
+
};
|
|
24179
24806
|
logistics_prune_buffer_member_queue: {
|
|
24180
24807
|
Args: never;
|
|
24181
24808
|
Returns: number;
|
|
@@ -24216,18 +24843,36 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24216
24843
|
Args: never;
|
|
24217
24844
|
Returns: import("../integrations/supabase/types").Json;
|
|
24218
24845
|
};
|
|
24846
|
+
logistics_refresh_pick_queue_status: {
|
|
24847
|
+
Args: {
|
|
24848
|
+
p_ref: string;
|
|
24849
|
+
};
|
|
24850
|
+
Returns: number;
|
|
24851
|
+
};
|
|
24219
24852
|
logistics_refresh_pickup_moments: {
|
|
24220
24853
|
Args: {
|
|
24221
24854
|
p_weeks?: number;
|
|
24222
24855
|
};
|
|
24223
24856
|
Returns: import("../integrations/supabase/types").Json;
|
|
24224
24857
|
};
|
|
24858
|
+
logistics_refresh_plan_state: {
|
|
24859
|
+
Args: {
|
|
24860
|
+
p_limit?: number;
|
|
24861
|
+
};
|
|
24862
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24863
|
+
};
|
|
24225
24864
|
logistics_replan_all: {
|
|
24226
24865
|
Args: {
|
|
24227
24866
|
p_reason?: string;
|
|
24228
24867
|
};
|
|
24229
24868
|
Returns: import("../integrations/supabase/types").Json;
|
|
24230
24869
|
};
|
|
24870
|
+
logistics_replan_all_force: {
|
|
24871
|
+
Args: {
|
|
24872
|
+
p_reason?: string;
|
|
24873
|
+
};
|
|
24874
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24875
|
+
};
|
|
24231
24876
|
logistics_report_delay: {
|
|
24232
24877
|
Args: {
|
|
24233
24878
|
p_expected_date?: string;
|
|
@@ -24384,6 +25029,74 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24384
25029
|
};
|
|
24385
25030
|
Returns: import("../integrations/supabase/types").Json;
|
|
24386
25031
|
};
|
|
25032
|
+
logistics_shipping_note_job_for_slip: {
|
|
25033
|
+
Args: {
|
|
25034
|
+
_slip_job_id: string;
|
|
25035
|
+
};
|
|
25036
|
+
Returns: string;
|
|
25037
|
+
};
|
|
25038
|
+
logistics_shipping_notes_wake_all: {
|
|
25039
|
+
Args: never;
|
|
25040
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25041
|
+
};
|
|
25042
|
+
logistics_slip_is_floriday: {
|
|
25043
|
+
Args: {
|
|
25044
|
+
_slip_job_id: string;
|
|
25045
|
+
};
|
|
25046
|
+
Returns: boolean;
|
|
25047
|
+
};
|
|
25048
|
+
logistics_slip_note_claim: {
|
|
25049
|
+
Args: {
|
|
25050
|
+
_lease_seconds?: number;
|
|
25051
|
+
_limit?: number;
|
|
25052
|
+
};
|
|
25053
|
+
Returns: {
|
|
25054
|
+
attempts: number;
|
|
25055
|
+
batch_key: string | null;
|
|
25056
|
+
cart_id: string | null;
|
|
25057
|
+
created_at: string;
|
|
25058
|
+
error: string | null;
|
|
25059
|
+
error_code: string | null;
|
|
25060
|
+
fulfillment_order_id: string | null;
|
|
25061
|
+
id: string;
|
|
25062
|
+
locked_until: string | null;
|
|
25063
|
+
next_attempt_at: string | null;
|
|
25064
|
+
order_id: string | null;
|
|
25065
|
+
order_number: string | null;
|
|
25066
|
+
print_job_id: string | null;
|
|
25067
|
+
printer_id: string | null;
|
|
25068
|
+
retry_class: string | null;
|
|
25069
|
+
slip_job_id: string;
|
|
25070
|
+
status: string;
|
|
25071
|
+
updated_at: string;
|
|
25072
|
+
}[];
|
|
25073
|
+
SetofOptions: {
|
|
25074
|
+
from: "*";
|
|
25075
|
+
to: "logistics_slip_shipping_note";
|
|
25076
|
+
isOneToOne: false;
|
|
25077
|
+
isSetofReturn: true;
|
|
25078
|
+
};
|
|
25079
|
+
};
|
|
25080
|
+
logistics_slip_note_finish: {
|
|
25081
|
+
Args: {
|
|
25082
|
+
_error?: string;
|
|
25083
|
+
_error_code?: string;
|
|
25084
|
+
_fulfillment_order_id?: string;
|
|
25085
|
+
_id: string;
|
|
25086
|
+
_ok: boolean;
|
|
25087
|
+
_print_job_id?: string;
|
|
25088
|
+
_status?: string;
|
|
25089
|
+
};
|
|
25090
|
+
Returns: undefined;
|
|
25091
|
+
};
|
|
25092
|
+
logistics_slip_note_keep_waiting: {
|
|
25093
|
+
Args: {
|
|
25094
|
+
_class?: string;
|
|
25095
|
+
_id: string;
|
|
25096
|
+
_reason: string;
|
|
25097
|
+
};
|
|
25098
|
+
Returns: undefined;
|
|
25099
|
+
};
|
|
24387
25100
|
logistics_sticker_follows_slip: {
|
|
24388
25101
|
Args: never;
|
|
24389
25102
|
Returns: boolean;
|
|
@@ -24438,6 +25151,40 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
24438
25151
|
name: string;
|
|
24439
25152
|
}[];
|
|
24440
25153
|
};
|
|
25154
|
+
logistics_trace: {
|
|
25155
|
+
Args: {
|
|
25156
|
+
p: import("../integrations/supabase/types").Json;
|
|
25157
|
+
};
|
|
25158
|
+
Returns: string;
|
|
25159
|
+
};
|
|
25160
|
+
logistics_trace_batch: {
|
|
25161
|
+
Args: {
|
|
25162
|
+
p: import("../integrations/supabase/types").Json;
|
|
25163
|
+
};
|
|
25164
|
+
Returns: number;
|
|
25165
|
+
};
|
|
25166
|
+
logistics_trace_orders: {
|
|
25167
|
+
Args: {
|
|
25168
|
+
p_limit?: number;
|
|
25169
|
+
p_search?: string;
|
|
25170
|
+
p_since?: string;
|
|
25171
|
+
p_status?: string;
|
|
25172
|
+
};
|
|
25173
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25174
|
+
};
|
|
25175
|
+
logistics_trace_redact: {
|
|
25176
|
+
Args: {
|
|
25177
|
+
p: import("../integrations/supabase/types").Json;
|
|
25178
|
+
};
|
|
25179
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25180
|
+
};
|
|
25181
|
+
logistics_trace_timeline: {
|
|
25182
|
+
Args: {
|
|
25183
|
+
p_limit?: number;
|
|
25184
|
+
p_order_ref: string;
|
|
25185
|
+
};
|
|
25186
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25187
|
+
};
|
|
24441
25188
|
logistics_upsert_task: {
|
|
24442
25189
|
Args: {
|
|
24443
25190
|
p_buffer_ref: string;
|
|
@@ -25479,6 +26226,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
25479
26226
|
};
|
|
25480
26227
|
Returns: undefined;
|
|
25481
26228
|
};
|
|
26229
|
+
prune_floriday_api_log: {
|
|
26230
|
+
Args: never;
|
|
26231
|
+
Returns: number;
|
|
26232
|
+
};
|
|
25482
26233
|
quote_create_from_source: {
|
|
25483
26234
|
Args: {
|
|
25484
26235
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25912,6 +26663,13 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
25912
26663
|
};
|
|
25913
26664
|
Returns: number;
|
|
25914
26665
|
};
|
|
26666
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26667
|
+
Args: {
|
|
26668
|
+
p_apikey: string;
|
|
26669
|
+
p_url: string;
|
|
26670
|
+
};
|
|
26671
|
+
Returns: number;
|
|
26672
|
+
};
|
|
25915
26673
|
schedule_floriday_clock_presales_sync: {
|
|
25916
26674
|
Args: {
|
|
25917
26675
|
p_apikey: string;
|
|
@@ -26212,6 +26970,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
26212
26970
|
};
|
|
26213
26971
|
Returns: undefined;
|
|
26214
26972
|
};
|
|
26973
|
+
sync_floriday_prices_into_price_groups: {
|
|
26974
|
+
Args: never;
|
|
26975
|
+
Returns: number;
|
|
26976
|
+
};
|
|
26215
26977
|
sync_layer_stock: {
|
|
26216
26978
|
Args: {
|
|
26217
26979
|
p_product_id: string;
|
|
@@ -26344,6 +27106,10 @@ export declare const listSalesOrders: import("@tanstack/start-client-core").Opti
|
|
|
26344
27106
|
Args: never;
|
|
26345
27107
|
Returns: string;
|
|
26346
27108
|
};
|
|
27109
|
+
voorraad_cleanup_old_rows: {
|
|
27110
|
+
Args: never;
|
|
27111
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27112
|
+
};
|
|
26347
27113
|
wake_print_queue: {
|
|
26348
27114
|
Args: {
|
|
26349
27115
|
_min_interval_ms?: number;
|
|
@@ -28649,6 +29415,45 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
28649
29415
|
};
|
|
28650
29416
|
Relationships: [];
|
|
28651
29417
|
};
|
|
29418
|
+
customer_product_stickers: {
|
|
29419
|
+
Row: {
|
|
29420
|
+
created_at: string;
|
|
29421
|
+
customer_key: string;
|
|
29422
|
+
file_name: string;
|
|
29423
|
+
file_path: string;
|
|
29424
|
+
file_size: number | null;
|
|
29425
|
+
id: string;
|
|
29426
|
+
mime_type: string | null;
|
|
29427
|
+
trade_item_key: string;
|
|
29428
|
+
updated_at: string;
|
|
29429
|
+
uploaded_by: string | null;
|
|
29430
|
+
};
|
|
29431
|
+
Insert: {
|
|
29432
|
+
created_at?: string;
|
|
29433
|
+
customer_key: string;
|
|
29434
|
+
file_name: string;
|
|
29435
|
+
file_path: string;
|
|
29436
|
+
file_size?: number | null;
|
|
29437
|
+
id?: string;
|
|
29438
|
+
mime_type?: string | null;
|
|
29439
|
+
trade_item_key: string;
|
|
29440
|
+
updated_at?: string;
|
|
29441
|
+
uploaded_by?: string | null;
|
|
29442
|
+
};
|
|
29443
|
+
Update: {
|
|
29444
|
+
created_at?: string;
|
|
29445
|
+
customer_key?: string;
|
|
29446
|
+
file_name?: string;
|
|
29447
|
+
file_path?: string;
|
|
29448
|
+
file_size?: number | null;
|
|
29449
|
+
id?: string;
|
|
29450
|
+
mime_type?: string | null;
|
|
29451
|
+
trade_item_key?: string;
|
|
29452
|
+
updated_at?: string;
|
|
29453
|
+
uploaded_by?: string | null;
|
|
29454
|
+
};
|
|
29455
|
+
Relationships: [];
|
|
29456
|
+
};
|
|
28652
29457
|
customer_selected_assortment: {
|
|
28653
29458
|
Row: {
|
|
28654
29459
|
article_number: string | null;
|
|
@@ -28697,6 +29502,30 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
28697
29502
|
referencedColumns: ["id"];
|
|
28698
29503
|
}];
|
|
28699
29504
|
};
|
|
29505
|
+
customer_sticker_settings: {
|
|
29506
|
+
Row: {
|
|
29507
|
+
created_at: string;
|
|
29508
|
+
customer_key: string;
|
|
29509
|
+
height_mm: number;
|
|
29510
|
+
updated_at: string;
|
|
29511
|
+
width_mm: number;
|
|
29512
|
+
};
|
|
29513
|
+
Insert: {
|
|
29514
|
+
created_at?: string;
|
|
29515
|
+
customer_key: string;
|
|
29516
|
+
height_mm?: number;
|
|
29517
|
+
updated_at?: string;
|
|
29518
|
+
width_mm?: number;
|
|
29519
|
+
};
|
|
29520
|
+
Update: {
|
|
29521
|
+
created_at?: string;
|
|
29522
|
+
customer_key?: string;
|
|
29523
|
+
height_mm?: number;
|
|
29524
|
+
updated_at?: string;
|
|
29525
|
+
width_mm?: number;
|
|
29526
|
+
};
|
|
29527
|
+
Relationships: [];
|
|
29528
|
+
};
|
|
28700
29529
|
customer_trade_settings: {
|
|
28701
29530
|
Row: {
|
|
28702
29531
|
category: string;
|
|
@@ -32027,6 +32856,102 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
32027
32856
|
referencedColumns: ["id"];
|
|
32028
32857
|
}];
|
|
32029
32858
|
};
|
|
32859
|
+
floriday_api_log: {
|
|
32860
|
+
Row: {
|
|
32861
|
+
action: string | null;
|
|
32862
|
+
caller: string | null;
|
|
32863
|
+
connection_id: string | null;
|
|
32864
|
+
created_at: string;
|
|
32865
|
+
cursor_from: number | null;
|
|
32866
|
+
direction: string;
|
|
32867
|
+
duration_ms: number | null;
|
|
32868
|
+
environment: string | null;
|
|
32869
|
+
error: string | null;
|
|
32870
|
+
floriday_id: string | null;
|
|
32871
|
+
floriday_reference: string | null;
|
|
32872
|
+
http_status: number;
|
|
32873
|
+
id: string;
|
|
32874
|
+
item_count: number | null;
|
|
32875
|
+
kind: string | null;
|
|
32876
|
+
local_id: string | null;
|
|
32877
|
+
local_reference: string | null;
|
|
32878
|
+
method: string;
|
|
32879
|
+
module: string | null;
|
|
32880
|
+
ok: boolean;
|
|
32881
|
+
path: string;
|
|
32882
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32883
|
+
resource_type: string | null;
|
|
32884
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32885
|
+
write_log_id: string | null;
|
|
32886
|
+
};
|
|
32887
|
+
Insert: {
|
|
32888
|
+
action?: string | null;
|
|
32889
|
+
caller?: string | null;
|
|
32890
|
+
connection_id?: string | null;
|
|
32891
|
+
created_at?: string;
|
|
32892
|
+
cursor_from?: number | null;
|
|
32893
|
+
direction: string;
|
|
32894
|
+
duration_ms?: number | null;
|
|
32895
|
+
environment?: string | null;
|
|
32896
|
+
error?: string | null;
|
|
32897
|
+
floriday_id?: string | null;
|
|
32898
|
+
floriday_reference?: string | null;
|
|
32899
|
+
http_status?: number;
|
|
32900
|
+
id?: string;
|
|
32901
|
+
item_count?: number | null;
|
|
32902
|
+
kind?: string | null;
|
|
32903
|
+
local_id?: string | null;
|
|
32904
|
+
local_reference?: string | null;
|
|
32905
|
+
method: string;
|
|
32906
|
+
module?: string | null;
|
|
32907
|
+
ok?: boolean;
|
|
32908
|
+
path: string;
|
|
32909
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32910
|
+
resource_type?: string | null;
|
|
32911
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32912
|
+
write_log_id?: string | null;
|
|
32913
|
+
};
|
|
32914
|
+
Update: {
|
|
32915
|
+
action?: string | null;
|
|
32916
|
+
caller?: string | null;
|
|
32917
|
+
connection_id?: string | null;
|
|
32918
|
+
created_at?: string;
|
|
32919
|
+
cursor_from?: number | null;
|
|
32920
|
+
direction?: string;
|
|
32921
|
+
duration_ms?: number | null;
|
|
32922
|
+
environment?: string | null;
|
|
32923
|
+
error?: string | null;
|
|
32924
|
+
floriday_id?: string | null;
|
|
32925
|
+
floriday_reference?: string | null;
|
|
32926
|
+
http_status?: number;
|
|
32927
|
+
id?: string;
|
|
32928
|
+
item_count?: number | null;
|
|
32929
|
+
kind?: string | null;
|
|
32930
|
+
local_id?: string | null;
|
|
32931
|
+
local_reference?: string | null;
|
|
32932
|
+
method?: string;
|
|
32933
|
+
module?: string | null;
|
|
32934
|
+
ok?: boolean;
|
|
32935
|
+
path?: string;
|
|
32936
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32937
|
+
resource_type?: string | null;
|
|
32938
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32939
|
+
write_log_id?: string | null;
|
|
32940
|
+
};
|
|
32941
|
+
Relationships: [{
|
|
32942
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32943
|
+
columns: ["connection_id"];
|
|
32944
|
+
isOneToOne: false;
|
|
32945
|
+
referencedRelation: "floriday_connections";
|
|
32946
|
+
referencedColumns: ["id"];
|
|
32947
|
+
}, {
|
|
32948
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32949
|
+
columns: ["write_log_id"];
|
|
32950
|
+
isOneToOne: false;
|
|
32951
|
+
referencedRelation: "floriday_write_log";
|
|
32952
|
+
referencedColumns: ["id"];
|
|
32953
|
+
}];
|
|
32954
|
+
};
|
|
32030
32955
|
floriday_auction_letters_cache: {
|
|
32031
32956
|
Row: {
|
|
32032
32957
|
auction_letter_code: string;
|
|
@@ -32234,6 +33159,84 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
32234
33159
|
referencedColumns: ["id"];
|
|
32235
33160
|
}];
|
|
32236
33161
|
};
|
|
33162
|
+
floriday_catalog_prices_cache: {
|
|
33163
|
+
Row: {
|
|
33164
|
+
connection_id: string;
|
|
33165
|
+
created_at: string;
|
|
33166
|
+
currency: string;
|
|
33167
|
+
id: string;
|
|
33168
|
+
is_deleted: boolean;
|
|
33169
|
+
price: number | null;
|
|
33170
|
+
price_group_id: string | null;
|
|
33171
|
+
price_group_name: string | null;
|
|
33172
|
+
price_type: string;
|
|
33173
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
33174
|
+
sales_unit: string | null;
|
|
33175
|
+
sequence_number: number;
|
|
33176
|
+
supplier_article_code: string | null;
|
|
33177
|
+
supply_line_id: string;
|
|
33178
|
+
synced_at: string;
|
|
33179
|
+
trade_item_id: string | null;
|
|
33180
|
+
updated_at: string;
|
|
33181
|
+
valid_from: string | null;
|
|
33182
|
+
valid_to: string | null;
|
|
33183
|
+
week: number | null;
|
|
33184
|
+
year: number | null;
|
|
33185
|
+
};
|
|
33186
|
+
Insert: {
|
|
33187
|
+
connection_id: string;
|
|
33188
|
+
created_at?: string;
|
|
33189
|
+
currency?: string;
|
|
33190
|
+
id?: string;
|
|
33191
|
+
is_deleted?: boolean;
|
|
33192
|
+
price?: number | null;
|
|
33193
|
+
price_group_id?: string | null;
|
|
33194
|
+
price_group_name?: string | null;
|
|
33195
|
+
price_type?: string;
|
|
33196
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33197
|
+
sales_unit?: string | null;
|
|
33198
|
+
sequence_number?: number;
|
|
33199
|
+
supplier_article_code?: string | null;
|
|
33200
|
+
supply_line_id: string;
|
|
33201
|
+
synced_at?: string;
|
|
33202
|
+
trade_item_id?: string | null;
|
|
33203
|
+
updated_at?: string;
|
|
33204
|
+
valid_from?: string | null;
|
|
33205
|
+
valid_to?: string | null;
|
|
33206
|
+
week?: number | null;
|
|
33207
|
+
year?: number | null;
|
|
33208
|
+
};
|
|
33209
|
+
Update: {
|
|
33210
|
+
connection_id?: string;
|
|
33211
|
+
created_at?: string;
|
|
33212
|
+
currency?: string;
|
|
33213
|
+
id?: string;
|
|
33214
|
+
is_deleted?: boolean;
|
|
33215
|
+
price?: number | null;
|
|
33216
|
+
price_group_id?: string | null;
|
|
33217
|
+
price_group_name?: string | null;
|
|
33218
|
+
price_type?: string;
|
|
33219
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33220
|
+
sales_unit?: string | null;
|
|
33221
|
+
sequence_number?: number;
|
|
33222
|
+
supplier_article_code?: string | null;
|
|
33223
|
+
supply_line_id?: string;
|
|
33224
|
+
synced_at?: string;
|
|
33225
|
+
trade_item_id?: string | null;
|
|
33226
|
+
updated_at?: string;
|
|
33227
|
+
valid_from?: string | null;
|
|
33228
|
+
valid_to?: string | null;
|
|
33229
|
+
week?: number | null;
|
|
33230
|
+
year?: number | null;
|
|
33231
|
+
};
|
|
33232
|
+
Relationships: [{
|
|
33233
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
33234
|
+
columns: ["connection_id"];
|
|
33235
|
+
isOneToOne: false;
|
|
33236
|
+
referencedRelation: "floriday_connections";
|
|
33237
|
+
referencedColumns: ["id"];
|
|
33238
|
+
}];
|
|
33239
|
+
};
|
|
32237
33240
|
floriday_clock_presales_cache: {
|
|
32238
33241
|
Row: {
|
|
32239
33242
|
buyer_organization_id: string | null;
|
|
@@ -33149,6 +34152,69 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
33149
34152
|
referencedColumns: ["id"];
|
|
33150
34153
|
}];
|
|
33151
34154
|
};
|
|
34155
|
+
floriday_link_templates: {
|
|
34156
|
+
Row: {
|
|
34157
|
+
created_at: string;
|
|
34158
|
+
floriday_url_template: string | null;
|
|
34159
|
+
is_active: boolean;
|
|
34160
|
+
label: string;
|
|
34161
|
+
local_url_template: string | null;
|
|
34162
|
+
resource_type: string;
|
|
34163
|
+
updated_at: string;
|
|
34164
|
+
};
|
|
34165
|
+
Insert: {
|
|
34166
|
+
created_at?: string;
|
|
34167
|
+
floriday_url_template?: string | null;
|
|
34168
|
+
is_active?: boolean;
|
|
34169
|
+
label: string;
|
|
34170
|
+
local_url_template?: string | null;
|
|
34171
|
+
resource_type: string;
|
|
34172
|
+
updated_at?: string;
|
|
34173
|
+
};
|
|
34174
|
+
Update: {
|
|
34175
|
+
created_at?: string;
|
|
34176
|
+
floriday_url_template?: string | null;
|
|
34177
|
+
is_active?: boolean;
|
|
34178
|
+
label?: string;
|
|
34179
|
+
local_url_template?: string | null;
|
|
34180
|
+
resource_type?: string;
|
|
34181
|
+
updated_at?: string;
|
|
34182
|
+
};
|
|
34183
|
+
Relationships: [];
|
|
34184
|
+
};
|
|
34185
|
+
floriday_log_retention: {
|
|
34186
|
+
Row: {
|
|
34187
|
+
created_at: string;
|
|
34188
|
+
direction: string | null;
|
|
34189
|
+
id: string;
|
|
34190
|
+
keep_failed_days: number | null;
|
|
34191
|
+
keep_ok_days: number | null;
|
|
34192
|
+
note: string | null;
|
|
34193
|
+
resource_type: string | null;
|
|
34194
|
+
updated_at: string;
|
|
34195
|
+
};
|
|
34196
|
+
Insert: {
|
|
34197
|
+
created_at?: string;
|
|
34198
|
+
direction?: string | null;
|
|
34199
|
+
id?: string;
|
|
34200
|
+
keep_failed_days?: number | null;
|
|
34201
|
+
keep_ok_days?: number | null;
|
|
34202
|
+
note?: string | null;
|
|
34203
|
+
resource_type?: string | null;
|
|
34204
|
+
updated_at?: string;
|
|
34205
|
+
};
|
|
34206
|
+
Update: {
|
|
34207
|
+
created_at?: string;
|
|
34208
|
+
direction?: string | null;
|
|
34209
|
+
id?: string;
|
|
34210
|
+
keep_failed_days?: number | null;
|
|
34211
|
+
keep_ok_days?: number | null;
|
|
34212
|
+
note?: string | null;
|
|
34213
|
+
resource_type?: string | null;
|
|
34214
|
+
updated_at?: string;
|
|
34215
|
+
};
|
|
34216
|
+
Relationships: [];
|
|
34217
|
+
};
|
|
33152
34218
|
floriday_logistic_labels_cache: {
|
|
33153
34219
|
Row: {
|
|
33154
34220
|
byte_size: number | null;
|
|
@@ -36773,6 +37839,48 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
36773
37839
|
};
|
|
36774
37840
|
Relationships: [];
|
|
36775
37841
|
};
|
|
37842
|
+
logistics_pick_data_requests: {
|
|
37843
|
+
Row: {
|
|
37844
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37845
|
+
created_at: string;
|
|
37846
|
+
event_id: string | null;
|
|
37847
|
+
finished_at: string | null;
|
|
37848
|
+
id: string;
|
|
37849
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37850
|
+
order_ref: string;
|
|
37851
|
+
reason: string | null;
|
|
37852
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37853
|
+
status: string;
|
|
37854
|
+
unit_ref: string | null;
|
|
37855
|
+
};
|
|
37856
|
+
Insert: {
|
|
37857
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37858
|
+
created_at?: string;
|
|
37859
|
+
event_id?: string | null;
|
|
37860
|
+
finished_at?: string | null;
|
|
37861
|
+
id?: string;
|
|
37862
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37863
|
+
order_ref: string;
|
|
37864
|
+
reason?: string | null;
|
|
37865
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37866
|
+
status?: string;
|
|
37867
|
+
unit_ref?: string | null;
|
|
37868
|
+
};
|
|
37869
|
+
Update: {
|
|
37870
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37871
|
+
created_at?: string;
|
|
37872
|
+
event_id?: string | null;
|
|
37873
|
+
finished_at?: string | null;
|
|
37874
|
+
id?: string;
|
|
37875
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37876
|
+
order_ref?: string;
|
|
37877
|
+
reason?: string | null;
|
|
37878
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37879
|
+
status?: string;
|
|
37880
|
+
unit_ref?: string | null;
|
|
37881
|
+
};
|
|
37882
|
+
Relationships: [];
|
|
37883
|
+
};
|
|
36776
37884
|
logistics_pickup_moments: {
|
|
36777
37885
|
Row: {
|
|
36778
37886
|
carrier_ref: string | null;
|
|
@@ -37232,6 +38340,69 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
37232
38340
|
};
|
|
37233
38341
|
Relationships: [];
|
|
37234
38342
|
};
|
|
38343
|
+
logistics_slip_shipping_note: {
|
|
38344
|
+
Row: {
|
|
38345
|
+
attempts: number;
|
|
38346
|
+
batch_key: string | null;
|
|
38347
|
+
cart_id: string | null;
|
|
38348
|
+
created_at: string;
|
|
38349
|
+
error: string | null;
|
|
38350
|
+
error_code: string | null;
|
|
38351
|
+
fulfillment_order_id: string | null;
|
|
38352
|
+
id: string;
|
|
38353
|
+
locked_until: string | null;
|
|
38354
|
+
next_attempt_at: string | null;
|
|
38355
|
+
order_id: string | null;
|
|
38356
|
+
order_number: string | null;
|
|
38357
|
+
print_job_id: string | null;
|
|
38358
|
+
printer_id: string | null;
|
|
38359
|
+
retry_class: string | null;
|
|
38360
|
+
slip_job_id: string;
|
|
38361
|
+
status: string;
|
|
38362
|
+
updated_at: string;
|
|
38363
|
+
};
|
|
38364
|
+
Insert: {
|
|
38365
|
+
attempts?: number;
|
|
38366
|
+
batch_key?: string | null;
|
|
38367
|
+
cart_id?: string | null;
|
|
38368
|
+
created_at?: string;
|
|
38369
|
+
error?: string | null;
|
|
38370
|
+
error_code?: string | null;
|
|
38371
|
+
fulfillment_order_id?: string | null;
|
|
38372
|
+
id?: string;
|
|
38373
|
+
locked_until?: string | null;
|
|
38374
|
+
next_attempt_at?: string | null;
|
|
38375
|
+
order_id?: string | null;
|
|
38376
|
+
order_number?: string | null;
|
|
38377
|
+
print_job_id?: string | null;
|
|
38378
|
+
printer_id?: string | null;
|
|
38379
|
+
retry_class?: string | null;
|
|
38380
|
+
slip_job_id: string;
|
|
38381
|
+
status?: string;
|
|
38382
|
+
updated_at?: string;
|
|
38383
|
+
};
|
|
38384
|
+
Update: {
|
|
38385
|
+
attempts?: number;
|
|
38386
|
+
batch_key?: string | null;
|
|
38387
|
+
cart_id?: string | null;
|
|
38388
|
+
created_at?: string;
|
|
38389
|
+
error?: string | null;
|
|
38390
|
+
error_code?: string | null;
|
|
38391
|
+
fulfillment_order_id?: string | null;
|
|
38392
|
+
id?: string;
|
|
38393
|
+
locked_until?: string | null;
|
|
38394
|
+
next_attempt_at?: string | null;
|
|
38395
|
+
order_id?: string | null;
|
|
38396
|
+
order_number?: string | null;
|
|
38397
|
+
print_job_id?: string | null;
|
|
38398
|
+
printer_id?: string | null;
|
|
38399
|
+
retry_class?: string | null;
|
|
38400
|
+
slip_job_id?: string;
|
|
38401
|
+
status?: string;
|
|
38402
|
+
updated_at?: string;
|
|
38403
|
+
};
|
|
38404
|
+
Relationships: [];
|
|
38405
|
+
};
|
|
37235
38406
|
logistics_staff_planning: {
|
|
37236
38407
|
Row: {
|
|
37237
38408
|
created_at: string;
|
|
@@ -37583,6 +38754,111 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
37583
38754
|
};
|
|
37584
38755
|
Relationships: [];
|
|
37585
38756
|
};
|
|
38757
|
+
logistics_trace_events: {
|
|
38758
|
+
Row: {
|
|
38759
|
+
actor: string | null;
|
|
38760
|
+
attempts: number;
|
|
38761
|
+
cart_ref: string | null;
|
|
38762
|
+
created_at: string;
|
|
38763
|
+
db_action: string | null;
|
|
38764
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38765
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38766
|
+
db_record: string | null;
|
|
38767
|
+
db_table: string | null;
|
|
38768
|
+
decision: string | null;
|
|
38769
|
+
duration_ms: number | null;
|
|
38770
|
+
error: string | null;
|
|
38771
|
+
external_action: string | null;
|
|
38772
|
+
external_ref: string | null;
|
|
38773
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38774
|
+
external_status: string | null;
|
|
38775
|
+
external_system: string | null;
|
|
38776
|
+
id: string;
|
|
38777
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38778
|
+
next_attempt_at: string | null;
|
|
38779
|
+
order_ref: string | null;
|
|
38780
|
+
order_source: string | null;
|
|
38781
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38782
|
+
phase: string;
|
|
38783
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38784
|
+
reason: string | null;
|
|
38785
|
+
rule: string | null;
|
|
38786
|
+
slip_ref: string | null;
|
|
38787
|
+
status: string;
|
|
38788
|
+
step: string;
|
|
38789
|
+
trace_id: string;
|
|
38790
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38791
|
+
};
|
|
38792
|
+
Insert: {
|
|
38793
|
+
actor?: string | null;
|
|
38794
|
+
attempts?: number;
|
|
38795
|
+
cart_ref?: string | null;
|
|
38796
|
+
created_at?: string;
|
|
38797
|
+
db_action?: string | null;
|
|
38798
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38799
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38800
|
+
db_record?: string | null;
|
|
38801
|
+
db_table?: string | null;
|
|
38802
|
+
decision?: string | null;
|
|
38803
|
+
duration_ms?: number | null;
|
|
38804
|
+
error?: string | null;
|
|
38805
|
+
external_action?: string | null;
|
|
38806
|
+
external_ref?: string | null;
|
|
38807
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38808
|
+
external_status?: string | null;
|
|
38809
|
+
external_system?: string | null;
|
|
38810
|
+
id?: string;
|
|
38811
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38812
|
+
next_attempt_at?: string | null;
|
|
38813
|
+
order_ref?: string | null;
|
|
38814
|
+
order_source?: string | null;
|
|
38815
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38816
|
+
phase: string;
|
|
38817
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38818
|
+
reason?: string | null;
|
|
38819
|
+
rule?: string | null;
|
|
38820
|
+
slip_ref?: string | null;
|
|
38821
|
+
status: string;
|
|
38822
|
+
step: string;
|
|
38823
|
+
trace_id?: string;
|
|
38824
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38825
|
+
};
|
|
38826
|
+
Update: {
|
|
38827
|
+
actor?: string | null;
|
|
38828
|
+
attempts?: number;
|
|
38829
|
+
cart_ref?: string | null;
|
|
38830
|
+
created_at?: string;
|
|
38831
|
+
db_action?: string | null;
|
|
38832
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38833
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38834
|
+
db_record?: string | null;
|
|
38835
|
+
db_table?: string | null;
|
|
38836
|
+
decision?: string | null;
|
|
38837
|
+
duration_ms?: number | null;
|
|
38838
|
+
error?: string | null;
|
|
38839
|
+
external_action?: string | null;
|
|
38840
|
+
external_ref?: string | null;
|
|
38841
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38842
|
+
external_status?: string | null;
|
|
38843
|
+
external_system?: string | null;
|
|
38844
|
+
id?: string;
|
|
38845
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38846
|
+
next_attempt_at?: string | null;
|
|
38847
|
+
order_ref?: string | null;
|
|
38848
|
+
order_source?: string | null;
|
|
38849
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38850
|
+
phase?: string;
|
|
38851
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38852
|
+
reason?: string | null;
|
|
38853
|
+
rule?: string | null;
|
|
38854
|
+
slip_ref?: string | null;
|
|
38855
|
+
status?: string;
|
|
38856
|
+
step?: string;
|
|
38857
|
+
trace_id?: string;
|
|
38858
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38859
|
+
};
|
|
38860
|
+
Relationships: [];
|
|
38861
|
+
};
|
|
37586
38862
|
logistics_variables: {
|
|
37587
38863
|
Row: {
|
|
37588
38864
|
created_at: string;
|
|
@@ -48155,6 +49431,15 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
48155
49431
|
Args: never;
|
|
48156
49432
|
Returns: boolean;
|
|
48157
49433
|
};
|
|
49434
|
+
cancel_open_print_jobs: {
|
|
49435
|
+
Args: {
|
|
49436
|
+
_cutoff: string;
|
|
49437
|
+
};
|
|
49438
|
+
Returns: {
|
|
49439
|
+
extern_job_id: string;
|
|
49440
|
+
id: string;
|
|
49441
|
+
}[];
|
|
49442
|
+
};
|
|
48158
49443
|
check_offer_product_available_stock: {
|
|
48159
49444
|
Args: {
|
|
48160
49445
|
p_campaign_product_id: string;
|
|
@@ -49693,6 +50978,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49693
50978
|
};
|
|
49694
50979
|
Returns: string;
|
|
49695
50980
|
};
|
|
50981
|
+
logistics_cart_checkin_at: {
|
|
50982
|
+
Args: {
|
|
50983
|
+
p_cart_id: string;
|
|
50984
|
+
};
|
|
50985
|
+
Returns: string;
|
|
50986
|
+
};
|
|
49696
50987
|
logistics_cart_handled: {
|
|
49697
50988
|
Args: {
|
|
49698
50989
|
p_cart_index: number;
|
|
@@ -49726,10 +51017,22 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49726
51017
|
task_status: string;
|
|
49727
51018
|
}[];
|
|
49728
51019
|
};
|
|
51020
|
+
logistics_cart_is_full: {
|
|
51021
|
+
Args: {
|
|
51022
|
+
p_cart_id: string;
|
|
51023
|
+
};
|
|
51024
|
+
Returns: boolean;
|
|
51025
|
+
};
|
|
49729
51026
|
logistics_cart_layout_method: {
|
|
49730
51027
|
Args: never;
|
|
49731
51028
|
Returns: import("../integrations/supabase/types").Json;
|
|
49732
51029
|
};
|
|
51030
|
+
logistics_cart_order_refs: {
|
|
51031
|
+
Args: {
|
|
51032
|
+
p_cart_id: string;
|
|
51033
|
+
};
|
|
51034
|
+
Returns: string[];
|
|
51035
|
+
};
|
|
49733
51036
|
logistics_cart_plan_overview: {
|
|
49734
51037
|
Args: {
|
|
49735
51038
|
p_days?: number;
|
|
@@ -49749,6 +51052,24 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49749
51052
|
};
|
|
49750
51053
|
Returns: import("../integrations/supabase/types").Json;
|
|
49751
51054
|
};
|
|
51055
|
+
logistics_cart_plan_status_core: {
|
|
51056
|
+
Args: {
|
|
51057
|
+
p_ref: string;
|
|
51058
|
+
};
|
|
51059
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51060
|
+
};
|
|
51061
|
+
logistics_cart_release_reason: {
|
|
51062
|
+
Args: {
|
|
51063
|
+
p_cart_id: string;
|
|
51064
|
+
};
|
|
51065
|
+
Returns: string;
|
|
51066
|
+
};
|
|
51067
|
+
logistics_cart_released: {
|
|
51068
|
+
Args: {
|
|
51069
|
+
p_cart_id: string;
|
|
51070
|
+
};
|
|
51071
|
+
Returns: boolean;
|
|
51072
|
+
};
|
|
49752
51073
|
logistics_cart_seq: {
|
|
49753
51074
|
Args: {
|
|
49754
51075
|
p_order_uuid?: string;
|
|
@@ -49799,6 +51120,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49799
51120
|
unit_ref: string;
|
|
49800
51121
|
}[];
|
|
49801
51122
|
};
|
|
51123
|
+
logistics_carts_per_print: {
|
|
51124
|
+
Args: never;
|
|
51125
|
+
Returns: number;
|
|
51126
|
+
};
|
|
49802
51127
|
logistics_check_order_allowed: {
|
|
49803
51128
|
Args: {
|
|
49804
51129
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49902,6 +51227,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
49902
51227
|
isSetofReturn: false;
|
|
49903
51228
|
};
|
|
49904
51229
|
};
|
|
51230
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
51231
|
+
Args: never;
|
|
51232
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51233
|
+
};
|
|
49905
51234
|
logistics_complete_task: {
|
|
49906
51235
|
Args: {
|
|
49907
51236
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -50153,6 +51482,20 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50153
51482
|
};
|
|
50154
51483
|
Returns: string;
|
|
50155
51484
|
};
|
|
51485
|
+
logistics_ensure_pick_data: {
|
|
51486
|
+
Args: {
|
|
51487
|
+
p_event_id?: string;
|
|
51488
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
51489
|
+
p_ref: string;
|
|
51490
|
+
};
|
|
51491
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51492
|
+
};
|
|
51493
|
+
logistics_ensure_shipping_notes: {
|
|
51494
|
+
Args: {
|
|
51495
|
+
p_limit?: number;
|
|
51496
|
+
};
|
|
51497
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51498
|
+
};
|
|
50156
51499
|
logistics_fail_task: {
|
|
50157
51500
|
Args: {
|
|
50158
51501
|
p_error: string;
|
|
@@ -50198,6 +51541,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50198
51541
|
isSetofReturn: false;
|
|
50199
51542
|
};
|
|
50200
51543
|
};
|
|
51544
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51545
|
+
Args: never;
|
|
51546
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51547
|
+
};
|
|
50201
51548
|
logistics_floriday_cart_plan: {
|
|
50202
51549
|
Args: {
|
|
50203
51550
|
p_order_id: string;
|
|
@@ -50225,6 +51572,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50225
51572
|
revision: number;
|
|
50226
51573
|
}[];
|
|
50227
51574
|
};
|
|
51575
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51576
|
+
Args: never;
|
|
51577
|
+
Returns: boolean;
|
|
51578
|
+
};
|
|
50228
51579
|
logistics_floriday_finish_push: {
|
|
50229
51580
|
Args: {
|
|
50230
51581
|
_error?: string;
|
|
@@ -50376,6 +51727,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50376
51727
|
};
|
|
50377
51728
|
Returns: number;
|
|
50378
51729
|
};
|
|
51730
|
+
logistics_merge_partial_carts: {
|
|
51731
|
+
Args: {
|
|
51732
|
+
p_limit?: number;
|
|
51733
|
+
};
|
|
51734
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51735
|
+
};
|
|
50379
51736
|
logistics_next_workday_date: {
|
|
50380
51737
|
Args: {
|
|
50381
51738
|
p_date: string;
|
|
@@ -50462,6 +51819,12 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50462
51819
|
};
|
|
50463
51820
|
Returns: string;
|
|
50464
51821
|
};
|
|
51822
|
+
logistics_payload_is_floriday: {
|
|
51823
|
+
Args: {
|
|
51824
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51825
|
+
};
|
|
51826
|
+
Returns: boolean;
|
|
51827
|
+
};
|
|
50465
51828
|
logistics_pick_agenda: {
|
|
50466
51829
|
Args: {
|
|
50467
51830
|
p_from?: string;
|
|
@@ -50490,6 +51853,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50490
51853
|
Args: never;
|
|
50491
51854
|
Returns: import("../integrations/supabase/types").Json;
|
|
50492
51855
|
};
|
|
51856
|
+
logistics_pick_partial_mode: {
|
|
51857
|
+
Args: never;
|
|
51858
|
+
Returns: string;
|
|
51859
|
+
};
|
|
50493
51860
|
logistics_pick_start_estimate: {
|
|
50494
51861
|
Args: {
|
|
50495
51862
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50580,6 +51947,20 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50580
51947
|
Args: never;
|
|
50581
51948
|
Returns: undefined;
|
|
50582
51949
|
};
|
|
51950
|
+
logistics_plan_progress: {
|
|
51951
|
+
Args: {
|
|
51952
|
+
p_refs: string[];
|
|
51953
|
+
};
|
|
51954
|
+
Returns: {
|
|
51955
|
+
cart_plan_ready: boolean;
|
|
51956
|
+
cart_plan_reason: string;
|
|
51957
|
+
cart_plan_released: boolean;
|
|
51958
|
+
plan_progress: number;
|
|
51959
|
+
plan_state: string;
|
|
51960
|
+
plan_state_since: string;
|
|
51961
|
+
unit_ref: string;
|
|
51962
|
+
}[];
|
|
51963
|
+
};
|
|
50583
51964
|
logistics_plan_prune: {
|
|
50584
51965
|
Args: never;
|
|
50585
51966
|
Returns: number;
|
|
@@ -50601,6 +51982,18 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50601
51982
|
};
|
|
50602
51983
|
Returns: number;
|
|
50603
51984
|
};
|
|
51985
|
+
logistics_plan_state_for: {
|
|
51986
|
+
Args: {
|
|
51987
|
+
p_ref: string;
|
|
51988
|
+
};
|
|
51989
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51990
|
+
};
|
|
51991
|
+
logistics_prepare_pick_documents: {
|
|
51992
|
+
Args: {
|
|
51993
|
+
p_limit?: number;
|
|
51994
|
+
};
|
|
51995
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51996
|
+
};
|
|
50604
51997
|
logistics_prune_buffer_member_queue: {
|
|
50605
51998
|
Args: never;
|
|
50606
51999
|
Returns: number;
|
|
@@ -50641,18 +52034,36 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50641
52034
|
Args: never;
|
|
50642
52035
|
Returns: import("../integrations/supabase/types").Json;
|
|
50643
52036
|
};
|
|
52037
|
+
logistics_refresh_pick_queue_status: {
|
|
52038
|
+
Args: {
|
|
52039
|
+
p_ref: string;
|
|
52040
|
+
};
|
|
52041
|
+
Returns: number;
|
|
52042
|
+
};
|
|
50644
52043
|
logistics_refresh_pickup_moments: {
|
|
50645
52044
|
Args: {
|
|
50646
52045
|
p_weeks?: number;
|
|
50647
52046
|
};
|
|
50648
52047
|
Returns: import("../integrations/supabase/types").Json;
|
|
50649
52048
|
};
|
|
52049
|
+
logistics_refresh_plan_state: {
|
|
52050
|
+
Args: {
|
|
52051
|
+
p_limit?: number;
|
|
52052
|
+
};
|
|
52053
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52054
|
+
};
|
|
50650
52055
|
logistics_replan_all: {
|
|
50651
52056
|
Args: {
|
|
50652
52057
|
p_reason?: string;
|
|
50653
52058
|
};
|
|
50654
52059
|
Returns: import("../integrations/supabase/types").Json;
|
|
50655
52060
|
};
|
|
52061
|
+
logistics_replan_all_force: {
|
|
52062
|
+
Args: {
|
|
52063
|
+
p_reason?: string;
|
|
52064
|
+
};
|
|
52065
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52066
|
+
};
|
|
50656
52067
|
logistics_report_delay: {
|
|
50657
52068
|
Args: {
|
|
50658
52069
|
p_expected_date?: string;
|
|
@@ -50809,6 +52220,74 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50809
52220
|
};
|
|
50810
52221
|
Returns: import("../integrations/supabase/types").Json;
|
|
50811
52222
|
};
|
|
52223
|
+
logistics_shipping_note_job_for_slip: {
|
|
52224
|
+
Args: {
|
|
52225
|
+
_slip_job_id: string;
|
|
52226
|
+
};
|
|
52227
|
+
Returns: string;
|
|
52228
|
+
};
|
|
52229
|
+
logistics_shipping_notes_wake_all: {
|
|
52230
|
+
Args: never;
|
|
52231
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52232
|
+
};
|
|
52233
|
+
logistics_slip_is_floriday: {
|
|
52234
|
+
Args: {
|
|
52235
|
+
_slip_job_id: string;
|
|
52236
|
+
};
|
|
52237
|
+
Returns: boolean;
|
|
52238
|
+
};
|
|
52239
|
+
logistics_slip_note_claim: {
|
|
52240
|
+
Args: {
|
|
52241
|
+
_lease_seconds?: number;
|
|
52242
|
+
_limit?: number;
|
|
52243
|
+
};
|
|
52244
|
+
Returns: {
|
|
52245
|
+
attempts: number;
|
|
52246
|
+
batch_key: string | null;
|
|
52247
|
+
cart_id: string | null;
|
|
52248
|
+
created_at: string;
|
|
52249
|
+
error: string | null;
|
|
52250
|
+
error_code: string | null;
|
|
52251
|
+
fulfillment_order_id: string | null;
|
|
52252
|
+
id: string;
|
|
52253
|
+
locked_until: string | null;
|
|
52254
|
+
next_attempt_at: string | null;
|
|
52255
|
+
order_id: string | null;
|
|
52256
|
+
order_number: string | null;
|
|
52257
|
+
print_job_id: string | null;
|
|
52258
|
+
printer_id: string | null;
|
|
52259
|
+
retry_class: string | null;
|
|
52260
|
+
slip_job_id: string;
|
|
52261
|
+
status: string;
|
|
52262
|
+
updated_at: string;
|
|
52263
|
+
}[];
|
|
52264
|
+
SetofOptions: {
|
|
52265
|
+
from: "*";
|
|
52266
|
+
to: "logistics_slip_shipping_note";
|
|
52267
|
+
isOneToOne: false;
|
|
52268
|
+
isSetofReturn: true;
|
|
52269
|
+
};
|
|
52270
|
+
};
|
|
52271
|
+
logistics_slip_note_finish: {
|
|
52272
|
+
Args: {
|
|
52273
|
+
_error?: string;
|
|
52274
|
+
_error_code?: string;
|
|
52275
|
+
_fulfillment_order_id?: string;
|
|
52276
|
+
_id: string;
|
|
52277
|
+
_ok: boolean;
|
|
52278
|
+
_print_job_id?: string;
|
|
52279
|
+
_status?: string;
|
|
52280
|
+
};
|
|
52281
|
+
Returns: undefined;
|
|
52282
|
+
};
|
|
52283
|
+
logistics_slip_note_keep_waiting: {
|
|
52284
|
+
Args: {
|
|
52285
|
+
_class?: string;
|
|
52286
|
+
_id: string;
|
|
52287
|
+
_reason: string;
|
|
52288
|
+
};
|
|
52289
|
+
Returns: undefined;
|
|
52290
|
+
};
|
|
50812
52291
|
logistics_sticker_follows_slip: {
|
|
50813
52292
|
Args: never;
|
|
50814
52293
|
Returns: boolean;
|
|
@@ -50863,6 +52342,40 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
50863
52342
|
name: string;
|
|
50864
52343
|
}[];
|
|
50865
52344
|
};
|
|
52345
|
+
logistics_trace: {
|
|
52346
|
+
Args: {
|
|
52347
|
+
p: import("../integrations/supabase/types").Json;
|
|
52348
|
+
};
|
|
52349
|
+
Returns: string;
|
|
52350
|
+
};
|
|
52351
|
+
logistics_trace_batch: {
|
|
52352
|
+
Args: {
|
|
52353
|
+
p: import("../integrations/supabase/types").Json;
|
|
52354
|
+
};
|
|
52355
|
+
Returns: number;
|
|
52356
|
+
};
|
|
52357
|
+
logistics_trace_orders: {
|
|
52358
|
+
Args: {
|
|
52359
|
+
p_limit?: number;
|
|
52360
|
+
p_search?: string;
|
|
52361
|
+
p_since?: string;
|
|
52362
|
+
p_status?: string;
|
|
52363
|
+
};
|
|
52364
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52365
|
+
};
|
|
52366
|
+
logistics_trace_redact: {
|
|
52367
|
+
Args: {
|
|
52368
|
+
p: import("../integrations/supabase/types").Json;
|
|
52369
|
+
};
|
|
52370
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52371
|
+
};
|
|
52372
|
+
logistics_trace_timeline: {
|
|
52373
|
+
Args: {
|
|
52374
|
+
p_limit?: number;
|
|
52375
|
+
p_order_ref: string;
|
|
52376
|
+
};
|
|
52377
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52378
|
+
};
|
|
50866
52379
|
logistics_upsert_task: {
|
|
50867
52380
|
Args: {
|
|
50868
52381
|
p_buffer_ref: string;
|
|
@@ -51904,6 +53417,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
51904
53417
|
};
|
|
51905
53418
|
Returns: undefined;
|
|
51906
53419
|
};
|
|
53420
|
+
prune_floriday_api_log: {
|
|
53421
|
+
Args: never;
|
|
53422
|
+
Returns: number;
|
|
53423
|
+
};
|
|
51907
53424
|
quote_create_from_source: {
|
|
51908
53425
|
Args: {
|
|
51909
53426
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -52337,6 +53854,13 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
52337
53854
|
};
|
|
52338
53855
|
Returns: number;
|
|
52339
53856
|
};
|
|
53857
|
+
schedule_floriday_catalog_prices_sync: {
|
|
53858
|
+
Args: {
|
|
53859
|
+
p_apikey: string;
|
|
53860
|
+
p_url: string;
|
|
53861
|
+
};
|
|
53862
|
+
Returns: number;
|
|
53863
|
+
};
|
|
52340
53864
|
schedule_floriday_clock_presales_sync: {
|
|
52341
53865
|
Args: {
|
|
52342
53866
|
p_apikey: string;
|
|
@@ -52637,6 +54161,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
52637
54161
|
};
|
|
52638
54162
|
Returns: undefined;
|
|
52639
54163
|
};
|
|
54164
|
+
sync_floriday_prices_into_price_groups: {
|
|
54165
|
+
Args: never;
|
|
54166
|
+
Returns: number;
|
|
54167
|
+
};
|
|
52640
54168
|
sync_layer_stock: {
|
|
52641
54169
|
Args: {
|
|
52642
54170
|
p_product_id: string;
|
|
@@ -52769,6 +54297,10 @@ export declare const getLocalSalesOrderDetail: import("@tanstack/start-client-co
|
|
|
52769
54297
|
Args: never;
|
|
52770
54298
|
Returns: string;
|
|
52771
54299
|
};
|
|
54300
|
+
voorraad_cleanup_old_rows: {
|
|
54301
|
+
Args: never;
|
|
54302
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54303
|
+
};
|
|
52772
54304
|
wake_print_queue: {
|
|
52773
54305
|
Args: {
|
|
52774
54306
|
_min_interval_ms?: number;
|