@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
|
@@ -2225,6 +2225,45 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
2225
2225
|
};
|
|
2226
2226
|
Relationships: [];
|
|
2227
2227
|
};
|
|
2228
|
+
customer_product_stickers: {
|
|
2229
|
+
Row: {
|
|
2230
|
+
created_at: string;
|
|
2231
|
+
customer_key: string;
|
|
2232
|
+
file_name: string;
|
|
2233
|
+
file_path: string;
|
|
2234
|
+
file_size: number | null;
|
|
2235
|
+
id: string;
|
|
2236
|
+
mime_type: string | null;
|
|
2237
|
+
trade_item_key: string;
|
|
2238
|
+
updated_at: string;
|
|
2239
|
+
uploaded_by: string | null;
|
|
2240
|
+
};
|
|
2241
|
+
Insert: {
|
|
2242
|
+
created_at?: string;
|
|
2243
|
+
customer_key: string;
|
|
2244
|
+
file_name: string;
|
|
2245
|
+
file_path: string;
|
|
2246
|
+
file_size?: number | null;
|
|
2247
|
+
id?: string;
|
|
2248
|
+
mime_type?: string | null;
|
|
2249
|
+
trade_item_key: string;
|
|
2250
|
+
updated_at?: string;
|
|
2251
|
+
uploaded_by?: string | null;
|
|
2252
|
+
};
|
|
2253
|
+
Update: {
|
|
2254
|
+
created_at?: string;
|
|
2255
|
+
customer_key?: string;
|
|
2256
|
+
file_name?: string;
|
|
2257
|
+
file_path?: string;
|
|
2258
|
+
file_size?: number | null;
|
|
2259
|
+
id?: string;
|
|
2260
|
+
mime_type?: string | null;
|
|
2261
|
+
trade_item_key?: string;
|
|
2262
|
+
updated_at?: string;
|
|
2263
|
+
uploaded_by?: string | null;
|
|
2264
|
+
};
|
|
2265
|
+
Relationships: [];
|
|
2266
|
+
};
|
|
2228
2267
|
customer_selected_assortment: {
|
|
2229
2268
|
Row: {
|
|
2230
2269
|
article_number: string | null;
|
|
@@ -2273,6 +2312,30 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
2273
2312
|
referencedColumns: ["id"];
|
|
2274
2313
|
}];
|
|
2275
2314
|
};
|
|
2315
|
+
customer_sticker_settings: {
|
|
2316
|
+
Row: {
|
|
2317
|
+
created_at: string;
|
|
2318
|
+
customer_key: string;
|
|
2319
|
+
height_mm: number;
|
|
2320
|
+
updated_at: string;
|
|
2321
|
+
width_mm: number;
|
|
2322
|
+
};
|
|
2323
|
+
Insert: {
|
|
2324
|
+
created_at?: string;
|
|
2325
|
+
customer_key: string;
|
|
2326
|
+
height_mm?: number;
|
|
2327
|
+
updated_at?: string;
|
|
2328
|
+
width_mm?: number;
|
|
2329
|
+
};
|
|
2330
|
+
Update: {
|
|
2331
|
+
created_at?: string;
|
|
2332
|
+
customer_key?: string;
|
|
2333
|
+
height_mm?: number;
|
|
2334
|
+
updated_at?: string;
|
|
2335
|
+
width_mm?: number;
|
|
2336
|
+
};
|
|
2337
|
+
Relationships: [];
|
|
2338
|
+
};
|
|
2276
2339
|
customer_trade_settings: {
|
|
2277
2340
|
Row: {
|
|
2278
2341
|
category: string;
|
|
@@ -5603,6 +5666,102 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
5603
5666
|
referencedColumns: ["id"];
|
|
5604
5667
|
}];
|
|
5605
5668
|
};
|
|
5669
|
+
floriday_api_log: {
|
|
5670
|
+
Row: {
|
|
5671
|
+
action: string | null;
|
|
5672
|
+
caller: string | null;
|
|
5673
|
+
connection_id: string | null;
|
|
5674
|
+
created_at: string;
|
|
5675
|
+
cursor_from: number | null;
|
|
5676
|
+
direction: string;
|
|
5677
|
+
duration_ms: number | null;
|
|
5678
|
+
environment: string | null;
|
|
5679
|
+
error: string | null;
|
|
5680
|
+
floriday_id: string | null;
|
|
5681
|
+
floriday_reference: string | null;
|
|
5682
|
+
http_status: number;
|
|
5683
|
+
id: string;
|
|
5684
|
+
item_count: number | null;
|
|
5685
|
+
kind: string | null;
|
|
5686
|
+
local_id: string | null;
|
|
5687
|
+
local_reference: string | null;
|
|
5688
|
+
method: string;
|
|
5689
|
+
module: string | null;
|
|
5690
|
+
ok: boolean;
|
|
5691
|
+
path: string;
|
|
5692
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5693
|
+
resource_type: string | null;
|
|
5694
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5695
|
+
write_log_id: string | null;
|
|
5696
|
+
};
|
|
5697
|
+
Insert: {
|
|
5698
|
+
action?: string | null;
|
|
5699
|
+
caller?: string | null;
|
|
5700
|
+
connection_id?: string | null;
|
|
5701
|
+
created_at?: string;
|
|
5702
|
+
cursor_from?: number | null;
|
|
5703
|
+
direction: string;
|
|
5704
|
+
duration_ms?: number | null;
|
|
5705
|
+
environment?: string | null;
|
|
5706
|
+
error?: string | null;
|
|
5707
|
+
floriday_id?: string | null;
|
|
5708
|
+
floriday_reference?: string | null;
|
|
5709
|
+
http_status?: number;
|
|
5710
|
+
id?: string;
|
|
5711
|
+
item_count?: number | null;
|
|
5712
|
+
kind?: string | null;
|
|
5713
|
+
local_id?: string | null;
|
|
5714
|
+
local_reference?: string | null;
|
|
5715
|
+
method: string;
|
|
5716
|
+
module?: string | null;
|
|
5717
|
+
ok?: boolean;
|
|
5718
|
+
path: string;
|
|
5719
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5720
|
+
resource_type?: string | null;
|
|
5721
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5722
|
+
write_log_id?: string | null;
|
|
5723
|
+
};
|
|
5724
|
+
Update: {
|
|
5725
|
+
action?: string | null;
|
|
5726
|
+
caller?: string | null;
|
|
5727
|
+
connection_id?: string | null;
|
|
5728
|
+
created_at?: string;
|
|
5729
|
+
cursor_from?: number | null;
|
|
5730
|
+
direction?: string;
|
|
5731
|
+
duration_ms?: number | null;
|
|
5732
|
+
environment?: string | null;
|
|
5733
|
+
error?: string | null;
|
|
5734
|
+
floriday_id?: string | null;
|
|
5735
|
+
floriday_reference?: string | null;
|
|
5736
|
+
http_status?: number;
|
|
5737
|
+
id?: string;
|
|
5738
|
+
item_count?: number | null;
|
|
5739
|
+
kind?: string | null;
|
|
5740
|
+
local_id?: string | null;
|
|
5741
|
+
local_reference?: string | null;
|
|
5742
|
+
method?: string;
|
|
5743
|
+
module?: string | null;
|
|
5744
|
+
ok?: boolean;
|
|
5745
|
+
path?: string;
|
|
5746
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5747
|
+
resource_type?: string | null;
|
|
5748
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5749
|
+
write_log_id?: string | null;
|
|
5750
|
+
};
|
|
5751
|
+
Relationships: [{
|
|
5752
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5753
|
+
columns: ["connection_id"];
|
|
5754
|
+
isOneToOne: false;
|
|
5755
|
+
referencedRelation: "floriday_connections";
|
|
5756
|
+
referencedColumns: ["id"];
|
|
5757
|
+
}, {
|
|
5758
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5759
|
+
columns: ["write_log_id"];
|
|
5760
|
+
isOneToOne: false;
|
|
5761
|
+
referencedRelation: "floriday_write_log";
|
|
5762
|
+
referencedColumns: ["id"];
|
|
5763
|
+
}];
|
|
5764
|
+
};
|
|
5606
5765
|
floriday_auction_letters_cache: {
|
|
5607
5766
|
Row: {
|
|
5608
5767
|
auction_letter_code: string;
|
|
@@ -5810,6 +5969,84 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
5810
5969
|
referencedColumns: ["id"];
|
|
5811
5970
|
}];
|
|
5812
5971
|
};
|
|
5972
|
+
floriday_catalog_prices_cache: {
|
|
5973
|
+
Row: {
|
|
5974
|
+
connection_id: string;
|
|
5975
|
+
created_at: string;
|
|
5976
|
+
currency: string;
|
|
5977
|
+
id: string;
|
|
5978
|
+
is_deleted: boolean;
|
|
5979
|
+
price: number | null;
|
|
5980
|
+
price_group_id: string | null;
|
|
5981
|
+
price_group_name: string | null;
|
|
5982
|
+
price_type: string;
|
|
5983
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
5984
|
+
sales_unit: string | null;
|
|
5985
|
+
sequence_number: number;
|
|
5986
|
+
supplier_article_code: string | null;
|
|
5987
|
+
supply_line_id: string;
|
|
5988
|
+
synced_at: string;
|
|
5989
|
+
trade_item_id: string | null;
|
|
5990
|
+
updated_at: string;
|
|
5991
|
+
valid_from: string | null;
|
|
5992
|
+
valid_to: string | null;
|
|
5993
|
+
week: number | null;
|
|
5994
|
+
year: number | null;
|
|
5995
|
+
};
|
|
5996
|
+
Insert: {
|
|
5997
|
+
connection_id: string;
|
|
5998
|
+
created_at?: string;
|
|
5999
|
+
currency?: string;
|
|
6000
|
+
id?: string;
|
|
6001
|
+
is_deleted?: boolean;
|
|
6002
|
+
price?: number | null;
|
|
6003
|
+
price_group_id?: string | null;
|
|
6004
|
+
price_group_name?: string | null;
|
|
6005
|
+
price_type?: string;
|
|
6006
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6007
|
+
sales_unit?: string | null;
|
|
6008
|
+
sequence_number?: number;
|
|
6009
|
+
supplier_article_code?: string | null;
|
|
6010
|
+
supply_line_id: string;
|
|
6011
|
+
synced_at?: string;
|
|
6012
|
+
trade_item_id?: string | null;
|
|
6013
|
+
updated_at?: string;
|
|
6014
|
+
valid_from?: string | null;
|
|
6015
|
+
valid_to?: string | null;
|
|
6016
|
+
week?: number | null;
|
|
6017
|
+
year?: number | null;
|
|
6018
|
+
};
|
|
6019
|
+
Update: {
|
|
6020
|
+
connection_id?: string;
|
|
6021
|
+
created_at?: string;
|
|
6022
|
+
currency?: string;
|
|
6023
|
+
id?: string;
|
|
6024
|
+
is_deleted?: boolean;
|
|
6025
|
+
price?: number | null;
|
|
6026
|
+
price_group_id?: string | null;
|
|
6027
|
+
price_group_name?: string | null;
|
|
6028
|
+
price_type?: string;
|
|
6029
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6030
|
+
sales_unit?: string | null;
|
|
6031
|
+
sequence_number?: number;
|
|
6032
|
+
supplier_article_code?: string | null;
|
|
6033
|
+
supply_line_id?: string;
|
|
6034
|
+
synced_at?: string;
|
|
6035
|
+
trade_item_id?: string | null;
|
|
6036
|
+
updated_at?: string;
|
|
6037
|
+
valid_from?: string | null;
|
|
6038
|
+
valid_to?: string | null;
|
|
6039
|
+
week?: number | null;
|
|
6040
|
+
year?: number | null;
|
|
6041
|
+
};
|
|
6042
|
+
Relationships: [{
|
|
6043
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6044
|
+
columns: ["connection_id"];
|
|
6045
|
+
isOneToOne: false;
|
|
6046
|
+
referencedRelation: "floriday_connections";
|
|
6047
|
+
referencedColumns: ["id"];
|
|
6048
|
+
}];
|
|
6049
|
+
};
|
|
5813
6050
|
floriday_clock_presales_cache: {
|
|
5814
6051
|
Row: {
|
|
5815
6052
|
buyer_organization_id: string | null;
|
|
@@ -6725,6 +6962,69 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
6725
6962
|
referencedColumns: ["id"];
|
|
6726
6963
|
}];
|
|
6727
6964
|
};
|
|
6965
|
+
floriday_link_templates: {
|
|
6966
|
+
Row: {
|
|
6967
|
+
created_at: string;
|
|
6968
|
+
floriday_url_template: string | null;
|
|
6969
|
+
is_active: boolean;
|
|
6970
|
+
label: string;
|
|
6971
|
+
local_url_template: string | null;
|
|
6972
|
+
resource_type: string;
|
|
6973
|
+
updated_at: string;
|
|
6974
|
+
};
|
|
6975
|
+
Insert: {
|
|
6976
|
+
created_at?: string;
|
|
6977
|
+
floriday_url_template?: string | null;
|
|
6978
|
+
is_active?: boolean;
|
|
6979
|
+
label: string;
|
|
6980
|
+
local_url_template?: string | null;
|
|
6981
|
+
resource_type: string;
|
|
6982
|
+
updated_at?: string;
|
|
6983
|
+
};
|
|
6984
|
+
Update: {
|
|
6985
|
+
created_at?: string;
|
|
6986
|
+
floriday_url_template?: string | null;
|
|
6987
|
+
is_active?: boolean;
|
|
6988
|
+
label?: string;
|
|
6989
|
+
local_url_template?: string | null;
|
|
6990
|
+
resource_type?: string;
|
|
6991
|
+
updated_at?: string;
|
|
6992
|
+
};
|
|
6993
|
+
Relationships: [];
|
|
6994
|
+
};
|
|
6995
|
+
floriday_log_retention: {
|
|
6996
|
+
Row: {
|
|
6997
|
+
created_at: string;
|
|
6998
|
+
direction: string | null;
|
|
6999
|
+
id: string;
|
|
7000
|
+
keep_failed_days: number | null;
|
|
7001
|
+
keep_ok_days: number | null;
|
|
7002
|
+
note: string | null;
|
|
7003
|
+
resource_type: string | null;
|
|
7004
|
+
updated_at: string;
|
|
7005
|
+
};
|
|
7006
|
+
Insert: {
|
|
7007
|
+
created_at?: string;
|
|
7008
|
+
direction?: string | null;
|
|
7009
|
+
id?: string;
|
|
7010
|
+
keep_failed_days?: number | null;
|
|
7011
|
+
keep_ok_days?: number | null;
|
|
7012
|
+
note?: string | null;
|
|
7013
|
+
resource_type?: string | null;
|
|
7014
|
+
updated_at?: string;
|
|
7015
|
+
};
|
|
7016
|
+
Update: {
|
|
7017
|
+
created_at?: string;
|
|
7018
|
+
direction?: string | null;
|
|
7019
|
+
id?: string;
|
|
7020
|
+
keep_failed_days?: number | null;
|
|
7021
|
+
keep_ok_days?: number | null;
|
|
7022
|
+
note?: string | null;
|
|
7023
|
+
resource_type?: string | null;
|
|
7024
|
+
updated_at?: string;
|
|
7025
|
+
};
|
|
7026
|
+
Relationships: [];
|
|
7027
|
+
};
|
|
6728
7028
|
floriday_logistic_labels_cache: {
|
|
6729
7029
|
Row: {
|
|
6730
7030
|
byte_size: number | null;
|
|
@@ -10349,6 +10649,48 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
10349
10649
|
};
|
|
10350
10650
|
Relationships: [];
|
|
10351
10651
|
};
|
|
10652
|
+
logistics_pick_data_requests: {
|
|
10653
|
+
Row: {
|
|
10654
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10655
|
+
created_at: string;
|
|
10656
|
+
event_id: string | null;
|
|
10657
|
+
finished_at: string | null;
|
|
10658
|
+
id: string;
|
|
10659
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10660
|
+
order_ref: string;
|
|
10661
|
+
reason: string | null;
|
|
10662
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10663
|
+
status: string;
|
|
10664
|
+
unit_ref: string | null;
|
|
10665
|
+
};
|
|
10666
|
+
Insert: {
|
|
10667
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10668
|
+
created_at?: string;
|
|
10669
|
+
event_id?: string | null;
|
|
10670
|
+
finished_at?: string | null;
|
|
10671
|
+
id?: string;
|
|
10672
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10673
|
+
order_ref: string;
|
|
10674
|
+
reason?: string | null;
|
|
10675
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10676
|
+
status?: string;
|
|
10677
|
+
unit_ref?: string | null;
|
|
10678
|
+
};
|
|
10679
|
+
Update: {
|
|
10680
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10681
|
+
created_at?: string;
|
|
10682
|
+
event_id?: string | null;
|
|
10683
|
+
finished_at?: string | null;
|
|
10684
|
+
id?: string;
|
|
10685
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10686
|
+
order_ref?: string;
|
|
10687
|
+
reason?: string | null;
|
|
10688
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10689
|
+
status?: string;
|
|
10690
|
+
unit_ref?: string | null;
|
|
10691
|
+
};
|
|
10692
|
+
Relationships: [];
|
|
10693
|
+
};
|
|
10352
10694
|
logistics_pickup_moments: {
|
|
10353
10695
|
Row: {
|
|
10354
10696
|
carrier_ref: string | null;
|
|
@@ -10808,6 +11150,69 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
10808
11150
|
};
|
|
10809
11151
|
Relationships: [];
|
|
10810
11152
|
};
|
|
11153
|
+
logistics_slip_shipping_note: {
|
|
11154
|
+
Row: {
|
|
11155
|
+
attempts: number;
|
|
11156
|
+
batch_key: string | null;
|
|
11157
|
+
cart_id: string | null;
|
|
11158
|
+
created_at: string;
|
|
11159
|
+
error: string | null;
|
|
11160
|
+
error_code: string | null;
|
|
11161
|
+
fulfillment_order_id: string | null;
|
|
11162
|
+
id: string;
|
|
11163
|
+
locked_until: string | null;
|
|
11164
|
+
next_attempt_at: string | null;
|
|
11165
|
+
order_id: string | null;
|
|
11166
|
+
order_number: string | null;
|
|
11167
|
+
print_job_id: string | null;
|
|
11168
|
+
printer_id: string | null;
|
|
11169
|
+
retry_class: string | null;
|
|
11170
|
+
slip_job_id: string;
|
|
11171
|
+
status: string;
|
|
11172
|
+
updated_at: string;
|
|
11173
|
+
};
|
|
11174
|
+
Insert: {
|
|
11175
|
+
attempts?: number;
|
|
11176
|
+
batch_key?: string | null;
|
|
11177
|
+
cart_id?: string | null;
|
|
11178
|
+
created_at?: string;
|
|
11179
|
+
error?: string | null;
|
|
11180
|
+
error_code?: string | null;
|
|
11181
|
+
fulfillment_order_id?: string | null;
|
|
11182
|
+
id?: string;
|
|
11183
|
+
locked_until?: string | null;
|
|
11184
|
+
next_attempt_at?: string | null;
|
|
11185
|
+
order_id?: string | null;
|
|
11186
|
+
order_number?: string | null;
|
|
11187
|
+
print_job_id?: string | null;
|
|
11188
|
+
printer_id?: string | null;
|
|
11189
|
+
retry_class?: string | null;
|
|
11190
|
+
slip_job_id: string;
|
|
11191
|
+
status?: string;
|
|
11192
|
+
updated_at?: string;
|
|
11193
|
+
};
|
|
11194
|
+
Update: {
|
|
11195
|
+
attempts?: number;
|
|
11196
|
+
batch_key?: string | null;
|
|
11197
|
+
cart_id?: string | null;
|
|
11198
|
+
created_at?: string;
|
|
11199
|
+
error?: string | null;
|
|
11200
|
+
error_code?: string | null;
|
|
11201
|
+
fulfillment_order_id?: string | null;
|
|
11202
|
+
id?: string;
|
|
11203
|
+
locked_until?: string | null;
|
|
11204
|
+
next_attempt_at?: string | null;
|
|
11205
|
+
order_id?: string | null;
|
|
11206
|
+
order_number?: string | null;
|
|
11207
|
+
print_job_id?: string | null;
|
|
11208
|
+
printer_id?: string | null;
|
|
11209
|
+
retry_class?: string | null;
|
|
11210
|
+
slip_job_id?: string;
|
|
11211
|
+
status?: string;
|
|
11212
|
+
updated_at?: string;
|
|
11213
|
+
};
|
|
11214
|
+
Relationships: [];
|
|
11215
|
+
};
|
|
10811
11216
|
logistics_staff_planning: {
|
|
10812
11217
|
Row: {
|
|
10813
11218
|
created_at: string;
|
|
@@ -11159,6 +11564,111 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
11159
11564
|
};
|
|
11160
11565
|
Relationships: [];
|
|
11161
11566
|
};
|
|
11567
|
+
logistics_trace_events: {
|
|
11568
|
+
Row: {
|
|
11569
|
+
actor: string | null;
|
|
11570
|
+
attempts: number;
|
|
11571
|
+
cart_ref: string | null;
|
|
11572
|
+
created_at: string;
|
|
11573
|
+
db_action: string | null;
|
|
11574
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11575
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11576
|
+
db_record: string | null;
|
|
11577
|
+
db_table: string | null;
|
|
11578
|
+
decision: string | null;
|
|
11579
|
+
duration_ms: number | null;
|
|
11580
|
+
error: string | null;
|
|
11581
|
+
external_action: string | null;
|
|
11582
|
+
external_ref: string | null;
|
|
11583
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11584
|
+
external_status: string | null;
|
|
11585
|
+
external_system: string | null;
|
|
11586
|
+
id: string;
|
|
11587
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11588
|
+
next_attempt_at: string | null;
|
|
11589
|
+
order_ref: string | null;
|
|
11590
|
+
order_source: string | null;
|
|
11591
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11592
|
+
phase: string;
|
|
11593
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11594
|
+
reason: string | null;
|
|
11595
|
+
rule: string | null;
|
|
11596
|
+
slip_ref: string | null;
|
|
11597
|
+
status: string;
|
|
11598
|
+
step: string;
|
|
11599
|
+
trace_id: string;
|
|
11600
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11601
|
+
};
|
|
11602
|
+
Insert: {
|
|
11603
|
+
actor?: string | null;
|
|
11604
|
+
attempts?: number;
|
|
11605
|
+
cart_ref?: string | null;
|
|
11606
|
+
created_at?: string;
|
|
11607
|
+
db_action?: string | null;
|
|
11608
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11609
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11610
|
+
db_record?: string | null;
|
|
11611
|
+
db_table?: string | null;
|
|
11612
|
+
decision?: string | null;
|
|
11613
|
+
duration_ms?: number | null;
|
|
11614
|
+
error?: string | null;
|
|
11615
|
+
external_action?: string | null;
|
|
11616
|
+
external_ref?: string | null;
|
|
11617
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11618
|
+
external_status?: string | null;
|
|
11619
|
+
external_system?: string | null;
|
|
11620
|
+
id?: string;
|
|
11621
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11622
|
+
next_attempt_at?: string | null;
|
|
11623
|
+
order_ref?: string | null;
|
|
11624
|
+
order_source?: string | null;
|
|
11625
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11626
|
+
phase: string;
|
|
11627
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11628
|
+
reason?: string | null;
|
|
11629
|
+
rule?: string | null;
|
|
11630
|
+
slip_ref?: string | null;
|
|
11631
|
+
status: string;
|
|
11632
|
+
step: string;
|
|
11633
|
+
trace_id?: string;
|
|
11634
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11635
|
+
};
|
|
11636
|
+
Update: {
|
|
11637
|
+
actor?: string | null;
|
|
11638
|
+
attempts?: number;
|
|
11639
|
+
cart_ref?: string | null;
|
|
11640
|
+
created_at?: string;
|
|
11641
|
+
db_action?: string | null;
|
|
11642
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11643
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11644
|
+
db_record?: string | null;
|
|
11645
|
+
db_table?: string | null;
|
|
11646
|
+
decision?: string | null;
|
|
11647
|
+
duration_ms?: number | null;
|
|
11648
|
+
error?: string | null;
|
|
11649
|
+
external_action?: string | null;
|
|
11650
|
+
external_ref?: string | null;
|
|
11651
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11652
|
+
external_status?: string | null;
|
|
11653
|
+
external_system?: string | null;
|
|
11654
|
+
id?: string;
|
|
11655
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11656
|
+
next_attempt_at?: string | null;
|
|
11657
|
+
order_ref?: string | null;
|
|
11658
|
+
order_source?: string | null;
|
|
11659
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11660
|
+
phase?: string;
|
|
11661
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11662
|
+
reason?: string | null;
|
|
11663
|
+
rule?: string | null;
|
|
11664
|
+
slip_ref?: string | null;
|
|
11665
|
+
status?: string;
|
|
11666
|
+
step?: string;
|
|
11667
|
+
trace_id?: string;
|
|
11668
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11669
|
+
};
|
|
11670
|
+
Relationships: [];
|
|
11671
|
+
};
|
|
11162
11672
|
logistics_variables: {
|
|
11163
11673
|
Row: {
|
|
11164
11674
|
created_at: string;
|
|
@@ -21731,6 +22241,15 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
21731
22241
|
Args: never;
|
|
21732
22242
|
Returns: boolean;
|
|
21733
22243
|
};
|
|
22244
|
+
cancel_open_print_jobs: {
|
|
22245
|
+
Args: {
|
|
22246
|
+
_cutoff: string;
|
|
22247
|
+
};
|
|
22248
|
+
Returns: {
|
|
22249
|
+
extern_job_id: string;
|
|
22250
|
+
id: string;
|
|
22251
|
+
}[];
|
|
22252
|
+
};
|
|
21734
22253
|
check_offer_product_available_stock: {
|
|
21735
22254
|
Args: {
|
|
21736
22255
|
p_campaign_product_id: string;
|
|
@@ -23269,6 +23788,12 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23269
23788
|
};
|
|
23270
23789
|
Returns: string;
|
|
23271
23790
|
};
|
|
23791
|
+
logistics_cart_checkin_at: {
|
|
23792
|
+
Args: {
|
|
23793
|
+
p_cart_id: string;
|
|
23794
|
+
};
|
|
23795
|
+
Returns: string;
|
|
23796
|
+
};
|
|
23272
23797
|
logistics_cart_handled: {
|
|
23273
23798
|
Args: {
|
|
23274
23799
|
p_cart_index: number;
|
|
@@ -23302,10 +23827,22 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23302
23827
|
task_status: string;
|
|
23303
23828
|
}[];
|
|
23304
23829
|
};
|
|
23830
|
+
logistics_cart_is_full: {
|
|
23831
|
+
Args: {
|
|
23832
|
+
p_cart_id: string;
|
|
23833
|
+
};
|
|
23834
|
+
Returns: boolean;
|
|
23835
|
+
};
|
|
23305
23836
|
logistics_cart_layout_method: {
|
|
23306
23837
|
Args: never;
|
|
23307
23838
|
Returns: import("../integrations/supabase/types").Json;
|
|
23308
23839
|
};
|
|
23840
|
+
logistics_cart_order_refs: {
|
|
23841
|
+
Args: {
|
|
23842
|
+
p_cart_id: string;
|
|
23843
|
+
};
|
|
23844
|
+
Returns: string[];
|
|
23845
|
+
};
|
|
23309
23846
|
logistics_cart_plan_overview: {
|
|
23310
23847
|
Args: {
|
|
23311
23848
|
p_days?: number;
|
|
@@ -23325,6 +23862,24 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23325
23862
|
};
|
|
23326
23863
|
Returns: import("../integrations/supabase/types").Json;
|
|
23327
23864
|
};
|
|
23865
|
+
logistics_cart_plan_status_core: {
|
|
23866
|
+
Args: {
|
|
23867
|
+
p_ref: string;
|
|
23868
|
+
};
|
|
23869
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23870
|
+
};
|
|
23871
|
+
logistics_cart_release_reason: {
|
|
23872
|
+
Args: {
|
|
23873
|
+
p_cart_id: string;
|
|
23874
|
+
};
|
|
23875
|
+
Returns: string;
|
|
23876
|
+
};
|
|
23877
|
+
logistics_cart_released: {
|
|
23878
|
+
Args: {
|
|
23879
|
+
p_cart_id: string;
|
|
23880
|
+
};
|
|
23881
|
+
Returns: boolean;
|
|
23882
|
+
};
|
|
23328
23883
|
logistics_cart_seq: {
|
|
23329
23884
|
Args: {
|
|
23330
23885
|
p_order_uuid?: string;
|
|
@@ -23375,6 +23930,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23375
23930
|
unit_ref: string;
|
|
23376
23931
|
}[];
|
|
23377
23932
|
};
|
|
23933
|
+
logistics_carts_per_print: {
|
|
23934
|
+
Args: never;
|
|
23935
|
+
Returns: number;
|
|
23936
|
+
};
|
|
23378
23937
|
logistics_check_order_allowed: {
|
|
23379
23938
|
Args: {
|
|
23380
23939
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23478,6 +24037,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23478
24037
|
isSetofReturn: false;
|
|
23479
24038
|
};
|
|
23480
24039
|
};
|
|
24040
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24041
|
+
Args: never;
|
|
24042
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24043
|
+
};
|
|
23481
24044
|
logistics_complete_task: {
|
|
23482
24045
|
Args: {
|
|
23483
24046
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23729,6 +24292,20 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23729
24292
|
};
|
|
23730
24293
|
Returns: string;
|
|
23731
24294
|
};
|
|
24295
|
+
logistics_ensure_pick_data: {
|
|
24296
|
+
Args: {
|
|
24297
|
+
p_event_id?: string;
|
|
24298
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24299
|
+
p_ref: string;
|
|
24300
|
+
};
|
|
24301
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24302
|
+
};
|
|
24303
|
+
logistics_ensure_shipping_notes: {
|
|
24304
|
+
Args: {
|
|
24305
|
+
p_limit?: number;
|
|
24306
|
+
};
|
|
24307
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24308
|
+
};
|
|
23732
24309
|
logistics_fail_task: {
|
|
23733
24310
|
Args: {
|
|
23734
24311
|
p_error: string;
|
|
@@ -23774,6 +24351,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23774
24351
|
isSetofReturn: false;
|
|
23775
24352
|
};
|
|
23776
24353
|
};
|
|
24354
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24355
|
+
Args: never;
|
|
24356
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24357
|
+
};
|
|
23777
24358
|
logistics_floriday_cart_plan: {
|
|
23778
24359
|
Args: {
|
|
23779
24360
|
p_order_id: string;
|
|
@@ -23801,6 +24382,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23801
24382
|
revision: number;
|
|
23802
24383
|
}[];
|
|
23803
24384
|
};
|
|
24385
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24386
|
+
Args: never;
|
|
24387
|
+
Returns: boolean;
|
|
24388
|
+
};
|
|
23804
24389
|
logistics_floriday_finish_push: {
|
|
23805
24390
|
Args: {
|
|
23806
24391
|
_error?: string;
|
|
@@ -23952,6 +24537,12 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
23952
24537
|
};
|
|
23953
24538
|
Returns: number;
|
|
23954
24539
|
};
|
|
24540
|
+
logistics_merge_partial_carts: {
|
|
24541
|
+
Args: {
|
|
24542
|
+
p_limit?: number;
|
|
24543
|
+
};
|
|
24544
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24545
|
+
};
|
|
23955
24546
|
logistics_next_workday_date: {
|
|
23956
24547
|
Args: {
|
|
23957
24548
|
p_date: string;
|
|
@@ -24038,6 +24629,12 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24038
24629
|
};
|
|
24039
24630
|
Returns: string;
|
|
24040
24631
|
};
|
|
24632
|
+
logistics_payload_is_floriday: {
|
|
24633
|
+
Args: {
|
|
24634
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24635
|
+
};
|
|
24636
|
+
Returns: boolean;
|
|
24637
|
+
};
|
|
24041
24638
|
logistics_pick_agenda: {
|
|
24042
24639
|
Args: {
|
|
24043
24640
|
p_from?: string;
|
|
@@ -24066,6 +24663,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24066
24663
|
Args: never;
|
|
24067
24664
|
Returns: import("../integrations/supabase/types").Json;
|
|
24068
24665
|
};
|
|
24666
|
+
logistics_pick_partial_mode: {
|
|
24667
|
+
Args: never;
|
|
24668
|
+
Returns: string;
|
|
24669
|
+
};
|
|
24069
24670
|
logistics_pick_start_estimate: {
|
|
24070
24671
|
Args: {
|
|
24071
24672
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -24156,6 +24757,20 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24156
24757
|
Args: never;
|
|
24157
24758
|
Returns: undefined;
|
|
24158
24759
|
};
|
|
24760
|
+
logistics_plan_progress: {
|
|
24761
|
+
Args: {
|
|
24762
|
+
p_refs: string[];
|
|
24763
|
+
};
|
|
24764
|
+
Returns: {
|
|
24765
|
+
cart_plan_ready: boolean;
|
|
24766
|
+
cart_plan_reason: string;
|
|
24767
|
+
cart_plan_released: boolean;
|
|
24768
|
+
plan_progress: number;
|
|
24769
|
+
plan_state: string;
|
|
24770
|
+
plan_state_since: string;
|
|
24771
|
+
unit_ref: string;
|
|
24772
|
+
}[];
|
|
24773
|
+
};
|
|
24159
24774
|
logistics_plan_prune: {
|
|
24160
24775
|
Args: never;
|
|
24161
24776
|
Returns: number;
|
|
@@ -24177,6 +24792,18 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24177
24792
|
};
|
|
24178
24793
|
Returns: number;
|
|
24179
24794
|
};
|
|
24795
|
+
logistics_plan_state_for: {
|
|
24796
|
+
Args: {
|
|
24797
|
+
p_ref: string;
|
|
24798
|
+
};
|
|
24799
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24800
|
+
};
|
|
24801
|
+
logistics_prepare_pick_documents: {
|
|
24802
|
+
Args: {
|
|
24803
|
+
p_limit?: number;
|
|
24804
|
+
};
|
|
24805
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24806
|
+
};
|
|
24180
24807
|
logistics_prune_buffer_member_queue: {
|
|
24181
24808
|
Args: never;
|
|
24182
24809
|
Returns: number;
|
|
@@ -24217,18 +24844,36 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24217
24844
|
Args: never;
|
|
24218
24845
|
Returns: import("../integrations/supabase/types").Json;
|
|
24219
24846
|
};
|
|
24847
|
+
logistics_refresh_pick_queue_status: {
|
|
24848
|
+
Args: {
|
|
24849
|
+
p_ref: string;
|
|
24850
|
+
};
|
|
24851
|
+
Returns: number;
|
|
24852
|
+
};
|
|
24220
24853
|
logistics_refresh_pickup_moments: {
|
|
24221
24854
|
Args: {
|
|
24222
24855
|
p_weeks?: number;
|
|
24223
24856
|
};
|
|
24224
24857
|
Returns: import("../integrations/supabase/types").Json;
|
|
24225
24858
|
};
|
|
24859
|
+
logistics_refresh_plan_state: {
|
|
24860
|
+
Args: {
|
|
24861
|
+
p_limit?: number;
|
|
24862
|
+
};
|
|
24863
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24864
|
+
};
|
|
24226
24865
|
logistics_replan_all: {
|
|
24227
24866
|
Args: {
|
|
24228
24867
|
p_reason?: string;
|
|
24229
24868
|
};
|
|
24230
24869
|
Returns: import("../integrations/supabase/types").Json;
|
|
24231
24870
|
};
|
|
24871
|
+
logistics_replan_all_force: {
|
|
24872
|
+
Args: {
|
|
24873
|
+
p_reason?: string;
|
|
24874
|
+
};
|
|
24875
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24876
|
+
};
|
|
24232
24877
|
logistics_report_delay: {
|
|
24233
24878
|
Args: {
|
|
24234
24879
|
p_expected_date?: string;
|
|
@@ -24385,6 +25030,74 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24385
25030
|
};
|
|
24386
25031
|
Returns: import("../integrations/supabase/types").Json;
|
|
24387
25032
|
};
|
|
25033
|
+
logistics_shipping_note_job_for_slip: {
|
|
25034
|
+
Args: {
|
|
25035
|
+
_slip_job_id: string;
|
|
25036
|
+
};
|
|
25037
|
+
Returns: string;
|
|
25038
|
+
};
|
|
25039
|
+
logistics_shipping_notes_wake_all: {
|
|
25040
|
+
Args: never;
|
|
25041
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25042
|
+
};
|
|
25043
|
+
logistics_slip_is_floriday: {
|
|
25044
|
+
Args: {
|
|
25045
|
+
_slip_job_id: string;
|
|
25046
|
+
};
|
|
25047
|
+
Returns: boolean;
|
|
25048
|
+
};
|
|
25049
|
+
logistics_slip_note_claim: {
|
|
25050
|
+
Args: {
|
|
25051
|
+
_lease_seconds?: number;
|
|
25052
|
+
_limit?: number;
|
|
25053
|
+
};
|
|
25054
|
+
Returns: {
|
|
25055
|
+
attempts: number;
|
|
25056
|
+
batch_key: string | null;
|
|
25057
|
+
cart_id: string | null;
|
|
25058
|
+
created_at: string;
|
|
25059
|
+
error: string | null;
|
|
25060
|
+
error_code: string | null;
|
|
25061
|
+
fulfillment_order_id: string | null;
|
|
25062
|
+
id: string;
|
|
25063
|
+
locked_until: string | null;
|
|
25064
|
+
next_attempt_at: string | null;
|
|
25065
|
+
order_id: string | null;
|
|
25066
|
+
order_number: string | null;
|
|
25067
|
+
print_job_id: string | null;
|
|
25068
|
+
printer_id: string | null;
|
|
25069
|
+
retry_class: string | null;
|
|
25070
|
+
slip_job_id: string;
|
|
25071
|
+
status: string;
|
|
25072
|
+
updated_at: string;
|
|
25073
|
+
}[];
|
|
25074
|
+
SetofOptions: {
|
|
25075
|
+
from: "*";
|
|
25076
|
+
to: "logistics_slip_shipping_note";
|
|
25077
|
+
isOneToOne: false;
|
|
25078
|
+
isSetofReturn: true;
|
|
25079
|
+
};
|
|
25080
|
+
};
|
|
25081
|
+
logistics_slip_note_finish: {
|
|
25082
|
+
Args: {
|
|
25083
|
+
_error?: string;
|
|
25084
|
+
_error_code?: string;
|
|
25085
|
+
_fulfillment_order_id?: string;
|
|
25086
|
+
_id: string;
|
|
25087
|
+
_ok: boolean;
|
|
25088
|
+
_print_job_id?: string;
|
|
25089
|
+
_status?: string;
|
|
25090
|
+
};
|
|
25091
|
+
Returns: undefined;
|
|
25092
|
+
};
|
|
25093
|
+
logistics_slip_note_keep_waiting: {
|
|
25094
|
+
Args: {
|
|
25095
|
+
_class?: string;
|
|
25096
|
+
_id: string;
|
|
25097
|
+
_reason: string;
|
|
25098
|
+
};
|
|
25099
|
+
Returns: undefined;
|
|
25100
|
+
};
|
|
24388
25101
|
logistics_sticker_follows_slip: {
|
|
24389
25102
|
Args: never;
|
|
24390
25103
|
Returns: boolean;
|
|
@@ -24439,6 +25152,40 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
24439
25152
|
name: string;
|
|
24440
25153
|
}[];
|
|
24441
25154
|
};
|
|
25155
|
+
logistics_trace: {
|
|
25156
|
+
Args: {
|
|
25157
|
+
p: import("../integrations/supabase/types").Json;
|
|
25158
|
+
};
|
|
25159
|
+
Returns: string;
|
|
25160
|
+
};
|
|
25161
|
+
logistics_trace_batch: {
|
|
25162
|
+
Args: {
|
|
25163
|
+
p: import("../integrations/supabase/types").Json;
|
|
25164
|
+
};
|
|
25165
|
+
Returns: number;
|
|
25166
|
+
};
|
|
25167
|
+
logistics_trace_orders: {
|
|
25168
|
+
Args: {
|
|
25169
|
+
p_limit?: number;
|
|
25170
|
+
p_search?: string;
|
|
25171
|
+
p_since?: string;
|
|
25172
|
+
p_status?: string;
|
|
25173
|
+
};
|
|
25174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25175
|
+
};
|
|
25176
|
+
logistics_trace_redact: {
|
|
25177
|
+
Args: {
|
|
25178
|
+
p: import("../integrations/supabase/types").Json;
|
|
25179
|
+
};
|
|
25180
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25181
|
+
};
|
|
25182
|
+
logistics_trace_timeline: {
|
|
25183
|
+
Args: {
|
|
25184
|
+
p_limit?: number;
|
|
25185
|
+
p_order_ref: string;
|
|
25186
|
+
};
|
|
25187
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25188
|
+
};
|
|
24442
25189
|
logistics_upsert_task: {
|
|
24443
25190
|
Args: {
|
|
24444
25191
|
p_buffer_ref: string;
|
|
@@ -25480,6 +26227,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
25480
26227
|
};
|
|
25481
26228
|
Returns: undefined;
|
|
25482
26229
|
};
|
|
26230
|
+
prune_floriday_api_log: {
|
|
26231
|
+
Args: never;
|
|
26232
|
+
Returns: number;
|
|
26233
|
+
};
|
|
25483
26234
|
quote_create_from_source: {
|
|
25484
26235
|
Args: {
|
|
25485
26236
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25913,6 +26664,13 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
25913
26664
|
};
|
|
25914
26665
|
Returns: number;
|
|
25915
26666
|
};
|
|
26667
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26668
|
+
Args: {
|
|
26669
|
+
p_apikey: string;
|
|
26670
|
+
p_url: string;
|
|
26671
|
+
};
|
|
26672
|
+
Returns: number;
|
|
26673
|
+
};
|
|
25916
26674
|
schedule_floriday_clock_presales_sync: {
|
|
25917
26675
|
Args: {
|
|
25918
26676
|
p_apikey: string;
|
|
@@ -26213,6 +26971,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
26213
26971
|
};
|
|
26214
26972
|
Returns: undefined;
|
|
26215
26973
|
};
|
|
26974
|
+
sync_floriday_prices_into_price_groups: {
|
|
26975
|
+
Args: never;
|
|
26976
|
+
Returns: number;
|
|
26977
|
+
};
|
|
26216
26978
|
sync_layer_stock: {
|
|
26217
26979
|
Args: {
|
|
26218
26980
|
p_product_id: string;
|
|
@@ -26345,6 +27107,10 @@ export declare const getInvoiceTimingSettings: import("@tanstack/start-client-co
|
|
|
26345
27107
|
Args: never;
|
|
26346
27108
|
Returns: string;
|
|
26347
27109
|
};
|
|
27110
|
+
voorraad_cleanup_old_rows: {
|
|
27111
|
+
Args: never;
|
|
27112
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27113
|
+
};
|
|
26348
27114
|
wake_print_queue: {
|
|
26349
27115
|
Args: {
|
|
26350
27116
|
_min_interval_ms?: number;
|
|
@@ -28640,6 +29406,45 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
28640
29406
|
};
|
|
28641
29407
|
Relationships: [];
|
|
28642
29408
|
};
|
|
29409
|
+
customer_product_stickers: {
|
|
29410
|
+
Row: {
|
|
29411
|
+
created_at: string;
|
|
29412
|
+
customer_key: string;
|
|
29413
|
+
file_name: string;
|
|
29414
|
+
file_path: string;
|
|
29415
|
+
file_size: number | null;
|
|
29416
|
+
id: string;
|
|
29417
|
+
mime_type: string | null;
|
|
29418
|
+
trade_item_key: string;
|
|
29419
|
+
updated_at: string;
|
|
29420
|
+
uploaded_by: string | null;
|
|
29421
|
+
};
|
|
29422
|
+
Insert: {
|
|
29423
|
+
created_at?: string;
|
|
29424
|
+
customer_key: string;
|
|
29425
|
+
file_name: string;
|
|
29426
|
+
file_path: string;
|
|
29427
|
+
file_size?: number | null;
|
|
29428
|
+
id?: string;
|
|
29429
|
+
mime_type?: string | null;
|
|
29430
|
+
trade_item_key: string;
|
|
29431
|
+
updated_at?: string;
|
|
29432
|
+
uploaded_by?: string | null;
|
|
29433
|
+
};
|
|
29434
|
+
Update: {
|
|
29435
|
+
created_at?: string;
|
|
29436
|
+
customer_key?: string;
|
|
29437
|
+
file_name?: string;
|
|
29438
|
+
file_path?: string;
|
|
29439
|
+
file_size?: number | null;
|
|
29440
|
+
id?: string;
|
|
29441
|
+
mime_type?: string | null;
|
|
29442
|
+
trade_item_key?: string;
|
|
29443
|
+
updated_at?: string;
|
|
29444
|
+
uploaded_by?: string | null;
|
|
29445
|
+
};
|
|
29446
|
+
Relationships: [];
|
|
29447
|
+
};
|
|
28643
29448
|
customer_selected_assortment: {
|
|
28644
29449
|
Row: {
|
|
28645
29450
|
article_number: string | null;
|
|
@@ -28688,6 +29493,30 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
28688
29493
|
referencedColumns: ["id"];
|
|
28689
29494
|
}];
|
|
28690
29495
|
};
|
|
29496
|
+
customer_sticker_settings: {
|
|
29497
|
+
Row: {
|
|
29498
|
+
created_at: string;
|
|
29499
|
+
customer_key: string;
|
|
29500
|
+
height_mm: number;
|
|
29501
|
+
updated_at: string;
|
|
29502
|
+
width_mm: number;
|
|
29503
|
+
};
|
|
29504
|
+
Insert: {
|
|
29505
|
+
created_at?: string;
|
|
29506
|
+
customer_key: string;
|
|
29507
|
+
height_mm?: number;
|
|
29508
|
+
updated_at?: string;
|
|
29509
|
+
width_mm?: number;
|
|
29510
|
+
};
|
|
29511
|
+
Update: {
|
|
29512
|
+
created_at?: string;
|
|
29513
|
+
customer_key?: string;
|
|
29514
|
+
height_mm?: number;
|
|
29515
|
+
updated_at?: string;
|
|
29516
|
+
width_mm?: number;
|
|
29517
|
+
};
|
|
29518
|
+
Relationships: [];
|
|
29519
|
+
};
|
|
28691
29520
|
customer_trade_settings: {
|
|
28692
29521
|
Row: {
|
|
28693
29522
|
category: string;
|
|
@@ -32018,6 +32847,102 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
32018
32847
|
referencedColumns: ["id"];
|
|
32019
32848
|
}];
|
|
32020
32849
|
};
|
|
32850
|
+
floriday_api_log: {
|
|
32851
|
+
Row: {
|
|
32852
|
+
action: string | null;
|
|
32853
|
+
caller: string | null;
|
|
32854
|
+
connection_id: string | null;
|
|
32855
|
+
created_at: string;
|
|
32856
|
+
cursor_from: number | null;
|
|
32857
|
+
direction: string;
|
|
32858
|
+
duration_ms: number | null;
|
|
32859
|
+
environment: string | null;
|
|
32860
|
+
error: string | null;
|
|
32861
|
+
floriday_id: string | null;
|
|
32862
|
+
floriday_reference: string | null;
|
|
32863
|
+
http_status: number;
|
|
32864
|
+
id: string;
|
|
32865
|
+
item_count: number | null;
|
|
32866
|
+
kind: string | null;
|
|
32867
|
+
local_id: string | null;
|
|
32868
|
+
local_reference: string | null;
|
|
32869
|
+
method: string;
|
|
32870
|
+
module: string | null;
|
|
32871
|
+
ok: boolean;
|
|
32872
|
+
path: string;
|
|
32873
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32874
|
+
resource_type: string | null;
|
|
32875
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32876
|
+
write_log_id: string | null;
|
|
32877
|
+
};
|
|
32878
|
+
Insert: {
|
|
32879
|
+
action?: string | null;
|
|
32880
|
+
caller?: string | null;
|
|
32881
|
+
connection_id?: string | null;
|
|
32882
|
+
created_at?: string;
|
|
32883
|
+
cursor_from?: number | null;
|
|
32884
|
+
direction: string;
|
|
32885
|
+
duration_ms?: number | null;
|
|
32886
|
+
environment?: string | null;
|
|
32887
|
+
error?: string | null;
|
|
32888
|
+
floriday_id?: string | null;
|
|
32889
|
+
floriday_reference?: string | null;
|
|
32890
|
+
http_status?: number;
|
|
32891
|
+
id?: string;
|
|
32892
|
+
item_count?: number | null;
|
|
32893
|
+
kind?: string | null;
|
|
32894
|
+
local_id?: string | null;
|
|
32895
|
+
local_reference?: string | null;
|
|
32896
|
+
method: string;
|
|
32897
|
+
module?: string | null;
|
|
32898
|
+
ok?: boolean;
|
|
32899
|
+
path: string;
|
|
32900
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32901
|
+
resource_type?: string | null;
|
|
32902
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32903
|
+
write_log_id?: string | null;
|
|
32904
|
+
};
|
|
32905
|
+
Update: {
|
|
32906
|
+
action?: string | null;
|
|
32907
|
+
caller?: string | null;
|
|
32908
|
+
connection_id?: string | null;
|
|
32909
|
+
created_at?: string;
|
|
32910
|
+
cursor_from?: number | null;
|
|
32911
|
+
direction?: string;
|
|
32912
|
+
duration_ms?: number | null;
|
|
32913
|
+
environment?: string | null;
|
|
32914
|
+
error?: string | null;
|
|
32915
|
+
floriday_id?: string | null;
|
|
32916
|
+
floriday_reference?: string | null;
|
|
32917
|
+
http_status?: number;
|
|
32918
|
+
id?: string;
|
|
32919
|
+
item_count?: number | null;
|
|
32920
|
+
kind?: string | null;
|
|
32921
|
+
local_id?: string | null;
|
|
32922
|
+
local_reference?: string | null;
|
|
32923
|
+
method?: string;
|
|
32924
|
+
module?: string | null;
|
|
32925
|
+
ok?: boolean;
|
|
32926
|
+
path?: string;
|
|
32927
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32928
|
+
resource_type?: string | null;
|
|
32929
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32930
|
+
write_log_id?: string | null;
|
|
32931
|
+
};
|
|
32932
|
+
Relationships: [{
|
|
32933
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32934
|
+
columns: ["connection_id"];
|
|
32935
|
+
isOneToOne: false;
|
|
32936
|
+
referencedRelation: "floriday_connections";
|
|
32937
|
+
referencedColumns: ["id"];
|
|
32938
|
+
}, {
|
|
32939
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32940
|
+
columns: ["write_log_id"];
|
|
32941
|
+
isOneToOne: false;
|
|
32942
|
+
referencedRelation: "floriday_write_log";
|
|
32943
|
+
referencedColumns: ["id"];
|
|
32944
|
+
}];
|
|
32945
|
+
};
|
|
32021
32946
|
floriday_auction_letters_cache: {
|
|
32022
32947
|
Row: {
|
|
32023
32948
|
auction_letter_code: string;
|
|
@@ -32225,6 +33150,84 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
32225
33150
|
referencedColumns: ["id"];
|
|
32226
33151
|
}];
|
|
32227
33152
|
};
|
|
33153
|
+
floriday_catalog_prices_cache: {
|
|
33154
|
+
Row: {
|
|
33155
|
+
connection_id: string;
|
|
33156
|
+
created_at: string;
|
|
33157
|
+
currency: string;
|
|
33158
|
+
id: string;
|
|
33159
|
+
is_deleted: boolean;
|
|
33160
|
+
price: number | null;
|
|
33161
|
+
price_group_id: string | null;
|
|
33162
|
+
price_group_name: string | null;
|
|
33163
|
+
price_type: string;
|
|
33164
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
33165
|
+
sales_unit: string | null;
|
|
33166
|
+
sequence_number: number;
|
|
33167
|
+
supplier_article_code: string | null;
|
|
33168
|
+
supply_line_id: string;
|
|
33169
|
+
synced_at: string;
|
|
33170
|
+
trade_item_id: string | null;
|
|
33171
|
+
updated_at: string;
|
|
33172
|
+
valid_from: string | null;
|
|
33173
|
+
valid_to: string | null;
|
|
33174
|
+
week: number | null;
|
|
33175
|
+
year: number | null;
|
|
33176
|
+
};
|
|
33177
|
+
Insert: {
|
|
33178
|
+
connection_id: string;
|
|
33179
|
+
created_at?: string;
|
|
33180
|
+
currency?: string;
|
|
33181
|
+
id?: string;
|
|
33182
|
+
is_deleted?: boolean;
|
|
33183
|
+
price?: number | null;
|
|
33184
|
+
price_group_id?: string | null;
|
|
33185
|
+
price_group_name?: string | null;
|
|
33186
|
+
price_type?: string;
|
|
33187
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33188
|
+
sales_unit?: string | null;
|
|
33189
|
+
sequence_number?: number;
|
|
33190
|
+
supplier_article_code?: string | null;
|
|
33191
|
+
supply_line_id: string;
|
|
33192
|
+
synced_at?: string;
|
|
33193
|
+
trade_item_id?: string | null;
|
|
33194
|
+
updated_at?: string;
|
|
33195
|
+
valid_from?: string | null;
|
|
33196
|
+
valid_to?: string | null;
|
|
33197
|
+
week?: number | null;
|
|
33198
|
+
year?: number | null;
|
|
33199
|
+
};
|
|
33200
|
+
Update: {
|
|
33201
|
+
connection_id?: string;
|
|
33202
|
+
created_at?: string;
|
|
33203
|
+
currency?: string;
|
|
33204
|
+
id?: string;
|
|
33205
|
+
is_deleted?: boolean;
|
|
33206
|
+
price?: number | null;
|
|
33207
|
+
price_group_id?: string | null;
|
|
33208
|
+
price_group_name?: string | null;
|
|
33209
|
+
price_type?: string;
|
|
33210
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33211
|
+
sales_unit?: string | null;
|
|
33212
|
+
sequence_number?: number;
|
|
33213
|
+
supplier_article_code?: string | null;
|
|
33214
|
+
supply_line_id?: string;
|
|
33215
|
+
synced_at?: string;
|
|
33216
|
+
trade_item_id?: string | null;
|
|
33217
|
+
updated_at?: string;
|
|
33218
|
+
valid_from?: string | null;
|
|
33219
|
+
valid_to?: string | null;
|
|
33220
|
+
week?: number | null;
|
|
33221
|
+
year?: number | null;
|
|
33222
|
+
};
|
|
33223
|
+
Relationships: [{
|
|
33224
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
33225
|
+
columns: ["connection_id"];
|
|
33226
|
+
isOneToOne: false;
|
|
33227
|
+
referencedRelation: "floriday_connections";
|
|
33228
|
+
referencedColumns: ["id"];
|
|
33229
|
+
}];
|
|
33230
|
+
};
|
|
32228
33231
|
floriday_clock_presales_cache: {
|
|
32229
33232
|
Row: {
|
|
32230
33233
|
buyer_organization_id: string | null;
|
|
@@ -33140,6 +34143,69 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
33140
34143
|
referencedColumns: ["id"];
|
|
33141
34144
|
}];
|
|
33142
34145
|
};
|
|
34146
|
+
floriday_link_templates: {
|
|
34147
|
+
Row: {
|
|
34148
|
+
created_at: string;
|
|
34149
|
+
floriday_url_template: string | null;
|
|
34150
|
+
is_active: boolean;
|
|
34151
|
+
label: string;
|
|
34152
|
+
local_url_template: string | null;
|
|
34153
|
+
resource_type: string;
|
|
34154
|
+
updated_at: string;
|
|
34155
|
+
};
|
|
34156
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
34175
|
+
};
|
|
34176
|
+
floriday_log_retention: {
|
|
34177
|
+
Row: {
|
|
34178
|
+
created_at: string;
|
|
34179
|
+
direction: string | null;
|
|
34180
|
+
id: string;
|
|
34181
|
+
keep_failed_days: number | null;
|
|
34182
|
+
keep_ok_days: number | null;
|
|
34183
|
+
note: string | null;
|
|
34184
|
+
resource_type: string | null;
|
|
34185
|
+
updated_at: string;
|
|
34186
|
+
};
|
|
34187
|
+
Insert: {
|
|
34188
|
+
created_at?: string;
|
|
34189
|
+
direction?: string | null;
|
|
34190
|
+
id?: string;
|
|
34191
|
+
keep_failed_days?: number | null;
|
|
34192
|
+
keep_ok_days?: number | null;
|
|
34193
|
+
note?: string | null;
|
|
34194
|
+
resource_type?: string | null;
|
|
34195
|
+
updated_at?: string;
|
|
34196
|
+
};
|
|
34197
|
+
Update: {
|
|
34198
|
+
created_at?: string;
|
|
34199
|
+
direction?: string | null;
|
|
34200
|
+
id?: string;
|
|
34201
|
+
keep_failed_days?: number | null;
|
|
34202
|
+
keep_ok_days?: number | null;
|
|
34203
|
+
note?: string | null;
|
|
34204
|
+
resource_type?: string | null;
|
|
34205
|
+
updated_at?: string;
|
|
34206
|
+
};
|
|
34207
|
+
Relationships: [];
|
|
34208
|
+
};
|
|
33143
34209
|
floriday_logistic_labels_cache: {
|
|
33144
34210
|
Row: {
|
|
33145
34211
|
byte_size: number | null;
|
|
@@ -36764,6 +37830,48 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
36764
37830
|
};
|
|
36765
37831
|
Relationships: [];
|
|
36766
37832
|
};
|
|
37833
|
+
logistics_pick_data_requests: {
|
|
37834
|
+
Row: {
|
|
37835
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37836
|
+
created_at: string;
|
|
37837
|
+
event_id: string | null;
|
|
37838
|
+
finished_at: string | null;
|
|
37839
|
+
id: string;
|
|
37840
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37841
|
+
order_ref: string;
|
|
37842
|
+
reason: string | null;
|
|
37843
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37844
|
+
status: string;
|
|
37845
|
+
unit_ref: string | null;
|
|
37846
|
+
};
|
|
37847
|
+
Insert: {
|
|
37848
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37849
|
+
created_at?: string;
|
|
37850
|
+
event_id?: string | null;
|
|
37851
|
+
finished_at?: string | null;
|
|
37852
|
+
id?: string;
|
|
37853
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37854
|
+
order_ref: string;
|
|
37855
|
+
reason?: string | null;
|
|
37856
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37857
|
+
status?: string;
|
|
37858
|
+
unit_ref?: string | null;
|
|
37859
|
+
};
|
|
37860
|
+
Update: {
|
|
37861
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37862
|
+
created_at?: string;
|
|
37863
|
+
event_id?: string | null;
|
|
37864
|
+
finished_at?: string | null;
|
|
37865
|
+
id?: string;
|
|
37866
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37867
|
+
order_ref?: string;
|
|
37868
|
+
reason?: string | null;
|
|
37869
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37870
|
+
status?: string;
|
|
37871
|
+
unit_ref?: string | null;
|
|
37872
|
+
};
|
|
37873
|
+
Relationships: [];
|
|
37874
|
+
};
|
|
36767
37875
|
logistics_pickup_moments: {
|
|
36768
37876
|
Row: {
|
|
36769
37877
|
carrier_ref: string | null;
|
|
@@ -37223,6 +38331,69 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
37223
38331
|
};
|
|
37224
38332
|
Relationships: [];
|
|
37225
38333
|
};
|
|
38334
|
+
logistics_slip_shipping_note: {
|
|
38335
|
+
Row: {
|
|
38336
|
+
attempts: number;
|
|
38337
|
+
batch_key: string | null;
|
|
38338
|
+
cart_id: string | null;
|
|
38339
|
+
created_at: string;
|
|
38340
|
+
error: string | null;
|
|
38341
|
+
error_code: string | null;
|
|
38342
|
+
fulfillment_order_id: string | null;
|
|
38343
|
+
id: string;
|
|
38344
|
+
locked_until: string | null;
|
|
38345
|
+
next_attempt_at: string | null;
|
|
38346
|
+
order_id: string | null;
|
|
38347
|
+
order_number: string | null;
|
|
38348
|
+
print_job_id: string | null;
|
|
38349
|
+
printer_id: string | null;
|
|
38350
|
+
retry_class: string | null;
|
|
38351
|
+
slip_job_id: string;
|
|
38352
|
+
status: string;
|
|
38353
|
+
updated_at: string;
|
|
38354
|
+
};
|
|
38355
|
+
Insert: {
|
|
38356
|
+
attempts?: number;
|
|
38357
|
+
batch_key?: string | null;
|
|
38358
|
+
cart_id?: string | null;
|
|
38359
|
+
created_at?: string;
|
|
38360
|
+
error?: string | null;
|
|
38361
|
+
error_code?: string | null;
|
|
38362
|
+
fulfillment_order_id?: string | null;
|
|
38363
|
+
id?: string;
|
|
38364
|
+
locked_until?: string | null;
|
|
38365
|
+
next_attempt_at?: string | null;
|
|
38366
|
+
order_id?: string | null;
|
|
38367
|
+
order_number?: string | null;
|
|
38368
|
+
print_job_id?: string | null;
|
|
38369
|
+
printer_id?: string | null;
|
|
38370
|
+
retry_class?: string | null;
|
|
38371
|
+
slip_job_id: string;
|
|
38372
|
+
status?: string;
|
|
38373
|
+
updated_at?: string;
|
|
38374
|
+
};
|
|
38375
|
+
Update: {
|
|
38376
|
+
attempts?: number;
|
|
38377
|
+
batch_key?: string | null;
|
|
38378
|
+
cart_id?: string | null;
|
|
38379
|
+
created_at?: string;
|
|
38380
|
+
error?: string | null;
|
|
38381
|
+
error_code?: string | null;
|
|
38382
|
+
fulfillment_order_id?: string | null;
|
|
38383
|
+
id?: string;
|
|
38384
|
+
locked_until?: string | null;
|
|
38385
|
+
next_attempt_at?: string | null;
|
|
38386
|
+
order_id?: string | null;
|
|
38387
|
+
order_number?: string | null;
|
|
38388
|
+
print_job_id?: string | null;
|
|
38389
|
+
printer_id?: string | null;
|
|
38390
|
+
retry_class?: string | null;
|
|
38391
|
+
slip_job_id?: string;
|
|
38392
|
+
status?: string;
|
|
38393
|
+
updated_at?: string;
|
|
38394
|
+
};
|
|
38395
|
+
Relationships: [];
|
|
38396
|
+
};
|
|
37226
38397
|
logistics_staff_planning: {
|
|
37227
38398
|
Row: {
|
|
37228
38399
|
created_at: string;
|
|
@@ -37574,6 +38745,111 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
37574
38745
|
};
|
|
37575
38746
|
Relationships: [];
|
|
37576
38747
|
};
|
|
38748
|
+
logistics_trace_events: {
|
|
38749
|
+
Row: {
|
|
38750
|
+
actor: string | null;
|
|
38751
|
+
attempts: number;
|
|
38752
|
+
cart_ref: string | null;
|
|
38753
|
+
created_at: string;
|
|
38754
|
+
db_action: string | null;
|
|
38755
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38756
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38757
|
+
db_record: string | null;
|
|
38758
|
+
db_table: string | null;
|
|
38759
|
+
decision: string | null;
|
|
38760
|
+
duration_ms: number | null;
|
|
38761
|
+
error: string | null;
|
|
38762
|
+
external_action: string | null;
|
|
38763
|
+
external_ref: string | null;
|
|
38764
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38765
|
+
external_status: string | null;
|
|
38766
|
+
external_system: string | null;
|
|
38767
|
+
id: string;
|
|
38768
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38769
|
+
next_attempt_at: string | null;
|
|
38770
|
+
order_ref: string | null;
|
|
38771
|
+
order_source: string | null;
|
|
38772
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38773
|
+
phase: string;
|
|
38774
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38775
|
+
reason: string | null;
|
|
38776
|
+
rule: string | null;
|
|
38777
|
+
slip_ref: string | null;
|
|
38778
|
+
status: string;
|
|
38779
|
+
step: string;
|
|
38780
|
+
trace_id: string;
|
|
38781
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38782
|
+
};
|
|
38783
|
+
Insert: {
|
|
38784
|
+
actor?: string | null;
|
|
38785
|
+
attempts?: number;
|
|
38786
|
+
cart_ref?: string | null;
|
|
38787
|
+
created_at?: string;
|
|
38788
|
+
db_action?: string | null;
|
|
38789
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38790
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38791
|
+
db_record?: string | null;
|
|
38792
|
+
db_table?: string | null;
|
|
38793
|
+
decision?: string | null;
|
|
38794
|
+
duration_ms?: number | null;
|
|
38795
|
+
error?: string | null;
|
|
38796
|
+
external_action?: string | null;
|
|
38797
|
+
external_ref?: string | null;
|
|
38798
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38799
|
+
external_status?: string | null;
|
|
38800
|
+
external_system?: string | null;
|
|
38801
|
+
id?: string;
|
|
38802
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38803
|
+
next_attempt_at?: string | null;
|
|
38804
|
+
order_ref?: string | null;
|
|
38805
|
+
order_source?: string | null;
|
|
38806
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38807
|
+
phase: string;
|
|
38808
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38809
|
+
reason?: string | null;
|
|
38810
|
+
rule?: string | null;
|
|
38811
|
+
slip_ref?: string | null;
|
|
38812
|
+
status: string;
|
|
38813
|
+
step: string;
|
|
38814
|
+
trace_id?: string;
|
|
38815
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38816
|
+
};
|
|
38817
|
+
Update: {
|
|
38818
|
+
actor?: string | null;
|
|
38819
|
+
attempts?: number;
|
|
38820
|
+
cart_ref?: string | null;
|
|
38821
|
+
created_at?: string;
|
|
38822
|
+
db_action?: string | null;
|
|
38823
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38824
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38825
|
+
db_record?: string | null;
|
|
38826
|
+
db_table?: string | null;
|
|
38827
|
+
decision?: string | null;
|
|
38828
|
+
duration_ms?: number | null;
|
|
38829
|
+
error?: string | null;
|
|
38830
|
+
external_action?: string | null;
|
|
38831
|
+
external_ref?: string | null;
|
|
38832
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38833
|
+
external_status?: string | null;
|
|
38834
|
+
external_system?: string | null;
|
|
38835
|
+
id?: string;
|
|
38836
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38837
|
+
next_attempt_at?: string | null;
|
|
38838
|
+
order_ref?: string | null;
|
|
38839
|
+
order_source?: string | null;
|
|
38840
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38841
|
+
phase?: string;
|
|
38842
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38843
|
+
reason?: string | null;
|
|
38844
|
+
rule?: string | null;
|
|
38845
|
+
slip_ref?: string | null;
|
|
38846
|
+
status?: string;
|
|
38847
|
+
step?: string;
|
|
38848
|
+
trace_id?: string;
|
|
38849
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38850
|
+
};
|
|
38851
|
+
Relationships: [];
|
|
38852
|
+
};
|
|
37577
38853
|
logistics_variables: {
|
|
37578
38854
|
Row: {
|
|
37579
38855
|
created_at: string;
|
|
@@ -48146,6 +49422,15 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
48146
49422
|
Args: never;
|
|
48147
49423
|
Returns: boolean;
|
|
48148
49424
|
};
|
|
49425
|
+
cancel_open_print_jobs: {
|
|
49426
|
+
Args: {
|
|
49427
|
+
_cutoff: string;
|
|
49428
|
+
};
|
|
49429
|
+
Returns: {
|
|
49430
|
+
extern_job_id: string;
|
|
49431
|
+
id: string;
|
|
49432
|
+
}[];
|
|
49433
|
+
};
|
|
48149
49434
|
check_offer_product_available_stock: {
|
|
48150
49435
|
Args: {
|
|
48151
49436
|
p_campaign_product_id: string;
|
|
@@ -49684,6 +50969,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49684
50969
|
};
|
|
49685
50970
|
Returns: string;
|
|
49686
50971
|
};
|
|
50972
|
+
logistics_cart_checkin_at: {
|
|
50973
|
+
Args: {
|
|
50974
|
+
p_cart_id: string;
|
|
50975
|
+
};
|
|
50976
|
+
Returns: string;
|
|
50977
|
+
};
|
|
49687
50978
|
logistics_cart_handled: {
|
|
49688
50979
|
Args: {
|
|
49689
50980
|
p_cart_index: number;
|
|
@@ -49717,10 +51008,22 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49717
51008
|
task_status: string;
|
|
49718
51009
|
}[];
|
|
49719
51010
|
};
|
|
51011
|
+
logistics_cart_is_full: {
|
|
51012
|
+
Args: {
|
|
51013
|
+
p_cart_id: string;
|
|
51014
|
+
};
|
|
51015
|
+
Returns: boolean;
|
|
51016
|
+
};
|
|
49720
51017
|
logistics_cart_layout_method: {
|
|
49721
51018
|
Args: never;
|
|
49722
51019
|
Returns: import("../integrations/supabase/types").Json;
|
|
49723
51020
|
};
|
|
51021
|
+
logistics_cart_order_refs: {
|
|
51022
|
+
Args: {
|
|
51023
|
+
p_cart_id: string;
|
|
51024
|
+
};
|
|
51025
|
+
Returns: string[];
|
|
51026
|
+
};
|
|
49724
51027
|
logistics_cart_plan_overview: {
|
|
49725
51028
|
Args: {
|
|
49726
51029
|
p_days?: number;
|
|
@@ -49740,6 +51043,24 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49740
51043
|
};
|
|
49741
51044
|
Returns: import("../integrations/supabase/types").Json;
|
|
49742
51045
|
};
|
|
51046
|
+
logistics_cart_plan_status_core: {
|
|
51047
|
+
Args: {
|
|
51048
|
+
p_ref: string;
|
|
51049
|
+
};
|
|
51050
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51051
|
+
};
|
|
51052
|
+
logistics_cart_release_reason: {
|
|
51053
|
+
Args: {
|
|
51054
|
+
p_cart_id: string;
|
|
51055
|
+
};
|
|
51056
|
+
Returns: string;
|
|
51057
|
+
};
|
|
51058
|
+
logistics_cart_released: {
|
|
51059
|
+
Args: {
|
|
51060
|
+
p_cart_id: string;
|
|
51061
|
+
};
|
|
51062
|
+
Returns: boolean;
|
|
51063
|
+
};
|
|
49743
51064
|
logistics_cart_seq: {
|
|
49744
51065
|
Args: {
|
|
49745
51066
|
p_order_uuid?: string;
|
|
@@ -49790,6 +51111,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49790
51111
|
unit_ref: string;
|
|
49791
51112
|
}[];
|
|
49792
51113
|
};
|
|
51114
|
+
logistics_carts_per_print: {
|
|
51115
|
+
Args: never;
|
|
51116
|
+
Returns: number;
|
|
51117
|
+
};
|
|
49793
51118
|
logistics_check_order_allowed: {
|
|
49794
51119
|
Args: {
|
|
49795
51120
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49893,6 +51218,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
49893
51218
|
isSetofReturn: false;
|
|
49894
51219
|
};
|
|
49895
51220
|
};
|
|
51221
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
51222
|
+
Args: never;
|
|
51223
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51224
|
+
};
|
|
49896
51225
|
logistics_complete_task: {
|
|
49897
51226
|
Args: {
|
|
49898
51227
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -50144,6 +51473,20 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50144
51473
|
};
|
|
50145
51474
|
Returns: string;
|
|
50146
51475
|
};
|
|
51476
|
+
logistics_ensure_pick_data: {
|
|
51477
|
+
Args: {
|
|
51478
|
+
p_event_id?: string;
|
|
51479
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
51480
|
+
p_ref: string;
|
|
51481
|
+
};
|
|
51482
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51483
|
+
};
|
|
51484
|
+
logistics_ensure_shipping_notes: {
|
|
51485
|
+
Args: {
|
|
51486
|
+
p_limit?: number;
|
|
51487
|
+
};
|
|
51488
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51489
|
+
};
|
|
50147
51490
|
logistics_fail_task: {
|
|
50148
51491
|
Args: {
|
|
50149
51492
|
p_error: string;
|
|
@@ -50189,6 +51532,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50189
51532
|
isSetofReturn: false;
|
|
50190
51533
|
};
|
|
50191
51534
|
};
|
|
51535
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51536
|
+
Args: never;
|
|
51537
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51538
|
+
};
|
|
50192
51539
|
logistics_floriday_cart_plan: {
|
|
50193
51540
|
Args: {
|
|
50194
51541
|
p_order_id: string;
|
|
@@ -50216,6 +51563,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50216
51563
|
revision: number;
|
|
50217
51564
|
}[];
|
|
50218
51565
|
};
|
|
51566
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51567
|
+
Args: never;
|
|
51568
|
+
Returns: boolean;
|
|
51569
|
+
};
|
|
50219
51570
|
logistics_floriday_finish_push: {
|
|
50220
51571
|
Args: {
|
|
50221
51572
|
_error?: string;
|
|
@@ -50367,6 +51718,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50367
51718
|
};
|
|
50368
51719
|
Returns: number;
|
|
50369
51720
|
};
|
|
51721
|
+
logistics_merge_partial_carts: {
|
|
51722
|
+
Args: {
|
|
51723
|
+
p_limit?: number;
|
|
51724
|
+
};
|
|
51725
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51726
|
+
};
|
|
50370
51727
|
logistics_next_workday_date: {
|
|
50371
51728
|
Args: {
|
|
50372
51729
|
p_date: string;
|
|
@@ -50453,6 +51810,12 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50453
51810
|
};
|
|
50454
51811
|
Returns: string;
|
|
50455
51812
|
};
|
|
51813
|
+
logistics_payload_is_floriday: {
|
|
51814
|
+
Args: {
|
|
51815
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51816
|
+
};
|
|
51817
|
+
Returns: boolean;
|
|
51818
|
+
};
|
|
50456
51819
|
logistics_pick_agenda: {
|
|
50457
51820
|
Args: {
|
|
50458
51821
|
p_from?: string;
|
|
@@ -50481,6 +51844,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50481
51844
|
Args: never;
|
|
50482
51845
|
Returns: import("../integrations/supabase/types").Json;
|
|
50483
51846
|
};
|
|
51847
|
+
logistics_pick_partial_mode: {
|
|
51848
|
+
Args: never;
|
|
51849
|
+
Returns: string;
|
|
51850
|
+
};
|
|
50484
51851
|
logistics_pick_start_estimate: {
|
|
50485
51852
|
Args: {
|
|
50486
51853
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50571,6 +51938,20 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50571
51938
|
Args: never;
|
|
50572
51939
|
Returns: undefined;
|
|
50573
51940
|
};
|
|
51941
|
+
logistics_plan_progress: {
|
|
51942
|
+
Args: {
|
|
51943
|
+
p_refs: string[];
|
|
51944
|
+
};
|
|
51945
|
+
Returns: {
|
|
51946
|
+
cart_plan_ready: boolean;
|
|
51947
|
+
cart_plan_reason: string;
|
|
51948
|
+
cart_plan_released: boolean;
|
|
51949
|
+
plan_progress: number;
|
|
51950
|
+
plan_state: string;
|
|
51951
|
+
plan_state_since: string;
|
|
51952
|
+
unit_ref: string;
|
|
51953
|
+
}[];
|
|
51954
|
+
};
|
|
50574
51955
|
logistics_plan_prune: {
|
|
50575
51956
|
Args: never;
|
|
50576
51957
|
Returns: number;
|
|
@@ -50592,6 +51973,18 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50592
51973
|
};
|
|
50593
51974
|
Returns: number;
|
|
50594
51975
|
};
|
|
51976
|
+
logistics_plan_state_for: {
|
|
51977
|
+
Args: {
|
|
51978
|
+
p_ref: string;
|
|
51979
|
+
};
|
|
51980
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51981
|
+
};
|
|
51982
|
+
logistics_prepare_pick_documents: {
|
|
51983
|
+
Args: {
|
|
51984
|
+
p_limit?: number;
|
|
51985
|
+
};
|
|
51986
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51987
|
+
};
|
|
50595
51988
|
logistics_prune_buffer_member_queue: {
|
|
50596
51989
|
Args: never;
|
|
50597
51990
|
Returns: number;
|
|
@@ -50632,18 +52025,36 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50632
52025
|
Args: never;
|
|
50633
52026
|
Returns: import("../integrations/supabase/types").Json;
|
|
50634
52027
|
};
|
|
52028
|
+
logistics_refresh_pick_queue_status: {
|
|
52029
|
+
Args: {
|
|
52030
|
+
p_ref: string;
|
|
52031
|
+
};
|
|
52032
|
+
Returns: number;
|
|
52033
|
+
};
|
|
50635
52034
|
logistics_refresh_pickup_moments: {
|
|
50636
52035
|
Args: {
|
|
50637
52036
|
p_weeks?: number;
|
|
50638
52037
|
};
|
|
50639
52038
|
Returns: import("../integrations/supabase/types").Json;
|
|
50640
52039
|
};
|
|
52040
|
+
logistics_refresh_plan_state: {
|
|
52041
|
+
Args: {
|
|
52042
|
+
p_limit?: number;
|
|
52043
|
+
};
|
|
52044
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52045
|
+
};
|
|
50641
52046
|
logistics_replan_all: {
|
|
50642
52047
|
Args: {
|
|
50643
52048
|
p_reason?: string;
|
|
50644
52049
|
};
|
|
50645
52050
|
Returns: import("../integrations/supabase/types").Json;
|
|
50646
52051
|
};
|
|
52052
|
+
logistics_replan_all_force: {
|
|
52053
|
+
Args: {
|
|
52054
|
+
p_reason?: string;
|
|
52055
|
+
};
|
|
52056
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52057
|
+
};
|
|
50647
52058
|
logistics_report_delay: {
|
|
50648
52059
|
Args: {
|
|
50649
52060
|
p_expected_date?: string;
|
|
@@ -50800,6 +52211,74 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50800
52211
|
};
|
|
50801
52212
|
Returns: import("../integrations/supabase/types").Json;
|
|
50802
52213
|
};
|
|
52214
|
+
logistics_shipping_note_job_for_slip: {
|
|
52215
|
+
Args: {
|
|
52216
|
+
_slip_job_id: string;
|
|
52217
|
+
};
|
|
52218
|
+
Returns: string;
|
|
52219
|
+
};
|
|
52220
|
+
logistics_shipping_notes_wake_all: {
|
|
52221
|
+
Args: never;
|
|
52222
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52223
|
+
};
|
|
52224
|
+
logistics_slip_is_floriday: {
|
|
52225
|
+
Args: {
|
|
52226
|
+
_slip_job_id: string;
|
|
52227
|
+
};
|
|
52228
|
+
Returns: boolean;
|
|
52229
|
+
};
|
|
52230
|
+
logistics_slip_note_claim: {
|
|
52231
|
+
Args: {
|
|
52232
|
+
_lease_seconds?: number;
|
|
52233
|
+
_limit?: number;
|
|
52234
|
+
};
|
|
52235
|
+
Returns: {
|
|
52236
|
+
attempts: number;
|
|
52237
|
+
batch_key: string | null;
|
|
52238
|
+
cart_id: string | null;
|
|
52239
|
+
created_at: string;
|
|
52240
|
+
error: string | null;
|
|
52241
|
+
error_code: string | null;
|
|
52242
|
+
fulfillment_order_id: string | null;
|
|
52243
|
+
id: string;
|
|
52244
|
+
locked_until: string | null;
|
|
52245
|
+
next_attempt_at: string | null;
|
|
52246
|
+
order_id: string | null;
|
|
52247
|
+
order_number: string | null;
|
|
52248
|
+
print_job_id: string | null;
|
|
52249
|
+
printer_id: string | null;
|
|
52250
|
+
retry_class: string | null;
|
|
52251
|
+
slip_job_id: string;
|
|
52252
|
+
status: string;
|
|
52253
|
+
updated_at: string;
|
|
52254
|
+
}[];
|
|
52255
|
+
SetofOptions: {
|
|
52256
|
+
from: "*";
|
|
52257
|
+
to: "logistics_slip_shipping_note";
|
|
52258
|
+
isOneToOne: false;
|
|
52259
|
+
isSetofReturn: true;
|
|
52260
|
+
};
|
|
52261
|
+
};
|
|
52262
|
+
logistics_slip_note_finish: {
|
|
52263
|
+
Args: {
|
|
52264
|
+
_error?: string;
|
|
52265
|
+
_error_code?: string;
|
|
52266
|
+
_fulfillment_order_id?: string;
|
|
52267
|
+
_id: string;
|
|
52268
|
+
_ok: boolean;
|
|
52269
|
+
_print_job_id?: string;
|
|
52270
|
+
_status?: string;
|
|
52271
|
+
};
|
|
52272
|
+
Returns: undefined;
|
|
52273
|
+
};
|
|
52274
|
+
logistics_slip_note_keep_waiting: {
|
|
52275
|
+
Args: {
|
|
52276
|
+
_class?: string;
|
|
52277
|
+
_id: string;
|
|
52278
|
+
_reason: string;
|
|
52279
|
+
};
|
|
52280
|
+
Returns: undefined;
|
|
52281
|
+
};
|
|
50803
52282
|
logistics_sticker_follows_slip: {
|
|
50804
52283
|
Args: never;
|
|
50805
52284
|
Returns: boolean;
|
|
@@ -50854,6 +52333,40 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
50854
52333
|
name: string;
|
|
50855
52334
|
}[];
|
|
50856
52335
|
};
|
|
52336
|
+
logistics_trace: {
|
|
52337
|
+
Args: {
|
|
52338
|
+
p: import("../integrations/supabase/types").Json;
|
|
52339
|
+
};
|
|
52340
|
+
Returns: string;
|
|
52341
|
+
};
|
|
52342
|
+
logistics_trace_batch: {
|
|
52343
|
+
Args: {
|
|
52344
|
+
p: import("../integrations/supabase/types").Json;
|
|
52345
|
+
};
|
|
52346
|
+
Returns: number;
|
|
52347
|
+
};
|
|
52348
|
+
logistics_trace_orders: {
|
|
52349
|
+
Args: {
|
|
52350
|
+
p_limit?: number;
|
|
52351
|
+
p_search?: string;
|
|
52352
|
+
p_since?: string;
|
|
52353
|
+
p_status?: string;
|
|
52354
|
+
};
|
|
52355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52356
|
+
};
|
|
52357
|
+
logistics_trace_redact: {
|
|
52358
|
+
Args: {
|
|
52359
|
+
p: import("../integrations/supabase/types").Json;
|
|
52360
|
+
};
|
|
52361
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52362
|
+
};
|
|
52363
|
+
logistics_trace_timeline: {
|
|
52364
|
+
Args: {
|
|
52365
|
+
p_limit?: number;
|
|
52366
|
+
p_order_ref: string;
|
|
52367
|
+
};
|
|
52368
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52369
|
+
};
|
|
50857
52370
|
logistics_upsert_task: {
|
|
50858
52371
|
Args: {
|
|
50859
52372
|
p_buffer_ref: string;
|
|
@@ -51895,6 +53408,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
51895
53408
|
};
|
|
51896
53409
|
Returns: undefined;
|
|
51897
53410
|
};
|
|
53411
|
+
prune_floriday_api_log: {
|
|
53412
|
+
Args: never;
|
|
53413
|
+
Returns: number;
|
|
53414
|
+
};
|
|
51898
53415
|
quote_create_from_source: {
|
|
51899
53416
|
Args: {
|
|
51900
53417
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -52328,6 +53845,13 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
52328
53845
|
};
|
|
52329
53846
|
Returns: number;
|
|
52330
53847
|
};
|
|
53848
|
+
schedule_floriday_catalog_prices_sync: {
|
|
53849
|
+
Args: {
|
|
53850
|
+
p_apikey: string;
|
|
53851
|
+
p_url: string;
|
|
53852
|
+
};
|
|
53853
|
+
Returns: number;
|
|
53854
|
+
};
|
|
52331
53855
|
schedule_floriday_clock_presales_sync: {
|
|
52332
53856
|
Args: {
|
|
52333
53857
|
p_apikey: string;
|
|
@@ -52628,6 +54152,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
52628
54152
|
};
|
|
52629
54153
|
Returns: undefined;
|
|
52630
54154
|
};
|
|
54155
|
+
sync_floriday_prices_into_price_groups: {
|
|
54156
|
+
Args: never;
|
|
54157
|
+
Returns: number;
|
|
54158
|
+
};
|
|
52631
54159
|
sync_layer_stock: {
|
|
52632
54160
|
Args: {
|
|
52633
54161
|
p_product_id: string;
|
|
@@ -52760,6 +54288,10 @@ export declare const saveInvoiceTimingSettings: import("@tanstack/start-client-c
|
|
|
52760
54288
|
Args: never;
|
|
52761
54289
|
Returns: string;
|
|
52762
54290
|
};
|
|
54291
|
+
voorraad_cleanup_old_rows: {
|
|
54292
|
+
Args: never;
|
|
54293
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54294
|
+
};
|
|
52763
54295
|
wake_print_queue: {
|
|
52764
54296
|
Args: {
|
|
52765
54297
|
_min_interval_ms?: number;
|
|
@@ -55068,6 +56600,45 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
55068
56600
|
};
|
|
55069
56601
|
Relationships: [];
|
|
55070
56602
|
};
|
|
56603
|
+
customer_product_stickers: {
|
|
56604
|
+
Row: {
|
|
56605
|
+
created_at: string;
|
|
56606
|
+
customer_key: string;
|
|
56607
|
+
file_name: string;
|
|
56608
|
+
file_path: string;
|
|
56609
|
+
file_size: number | null;
|
|
56610
|
+
id: string;
|
|
56611
|
+
mime_type: string | null;
|
|
56612
|
+
trade_item_key: string;
|
|
56613
|
+
updated_at: string;
|
|
56614
|
+
uploaded_by: string | null;
|
|
56615
|
+
};
|
|
56616
|
+
Insert: {
|
|
56617
|
+
created_at?: string;
|
|
56618
|
+
customer_key: string;
|
|
56619
|
+
file_name: string;
|
|
56620
|
+
file_path: string;
|
|
56621
|
+
file_size?: number | null;
|
|
56622
|
+
id?: string;
|
|
56623
|
+
mime_type?: string | null;
|
|
56624
|
+
trade_item_key: string;
|
|
56625
|
+
updated_at?: string;
|
|
56626
|
+
uploaded_by?: string | null;
|
|
56627
|
+
};
|
|
56628
|
+
Update: {
|
|
56629
|
+
created_at?: string;
|
|
56630
|
+
customer_key?: string;
|
|
56631
|
+
file_name?: string;
|
|
56632
|
+
file_path?: string;
|
|
56633
|
+
file_size?: number | null;
|
|
56634
|
+
id?: string;
|
|
56635
|
+
mime_type?: string | null;
|
|
56636
|
+
trade_item_key?: string;
|
|
56637
|
+
updated_at?: string;
|
|
56638
|
+
uploaded_by?: string | null;
|
|
56639
|
+
};
|
|
56640
|
+
Relationships: [];
|
|
56641
|
+
};
|
|
55071
56642
|
customer_selected_assortment: {
|
|
55072
56643
|
Row: {
|
|
55073
56644
|
article_number: string | null;
|
|
@@ -55116,6 +56687,30 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
55116
56687
|
referencedColumns: ["id"];
|
|
55117
56688
|
}];
|
|
55118
56689
|
};
|
|
56690
|
+
customer_sticker_settings: {
|
|
56691
|
+
Row: {
|
|
56692
|
+
created_at: string;
|
|
56693
|
+
customer_key: string;
|
|
56694
|
+
height_mm: number;
|
|
56695
|
+
updated_at: string;
|
|
56696
|
+
width_mm: number;
|
|
56697
|
+
};
|
|
56698
|
+
Insert: {
|
|
56699
|
+
created_at?: string;
|
|
56700
|
+
customer_key: string;
|
|
56701
|
+
height_mm?: number;
|
|
56702
|
+
updated_at?: string;
|
|
56703
|
+
width_mm?: number;
|
|
56704
|
+
};
|
|
56705
|
+
Update: {
|
|
56706
|
+
created_at?: string;
|
|
56707
|
+
customer_key?: string;
|
|
56708
|
+
height_mm?: number;
|
|
56709
|
+
updated_at?: string;
|
|
56710
|
+
width_mm?: number;
|
|
56711
|
+
};
|
|
56712
|
+
Relationships: [];
|
|
56713
|
+
};
|
|
55119
56714
|
customer_trade_settings: {
|
|
55120
56715
|
Row: {
|
|
55121
56716
|
category: string;
|
|
@@ -58446,6 +60041,102 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
58446
60041
|
referencedColumns: ["id"];
|
|
58447
60042
|
}];
|
|
58448
60043
|
};
|
|
60044
|
+
floriday_api_log: {
|
|
60045
|
+
Row: {
|
|
60046
|
+
action: string | null;
|
|
60047
|
+
caller: string | null;
|
|
60048
|
+
connection_id: string | null;
|
|
60049
|
+
created_at: string;
|
|
60050
|
+
cursor_from: number | null;
|
|
60051
|
+
direction: string;
|
|
60052
|
+
duration_ms: number | null;
|
|
60053
|
+
environment: string | null;
|
|
60054
|
+
error: string | null;
|
|
60055
|
+
floriday_id: string | null;
|
|
60056
|
+
floriday_reference: string | null;
|
|
60057
|
+
http_status: number;
|
|
60058
|
+
id: string;
|
|
60059
|
+
item_count: number | null;
|
|
60060
|
+
kind: string | null;
|
|
60061
|
+
local_id: string | null;
|
|
60062
|
+
local_reference: string | null;
|
|
60063
|
+
method: string;
|
|
60064
|
+
module: string | null;
|
|
60065
|
+
ok: boolean;
|
|
60066
|
+
path: string;
|
|
60067
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60068
|
+
resource_type: string | null;
|
|
60069
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60070
|
+
write_log_id: string | null;
|
|
60071
|
+
};
|
|
60072
|
+
Insert: {
|
|
60073
|
+
action?: string | null;
|
|
60074
|
+
caller?: string | null;
|
|
60075
|
+
connection_id?: string | null;
|
|
60076
|
+
created_at?: string;
|
|
60077
|
+
cursor_from?: number | null;
|
|
60078
|
+
direction: string;
|
|
60079
|
+
duration_ms?: number | null;
|
|
60080
|
+
environment?: string | null;
|
|
60081
|
+
error?: string | null;
|
|
60082
|
+
floriday_id?: string | null;
|
|
60083
|
+
floriday_reference?: string | null;
|
|
60084
|
+
http_status?: number;
|
|
60085
|
+
id?: string;
|
|
60086
|
+
item_count?: number | null;
|
|
60087
|
+
kind?: string | null;
|
|
60088
|
+
local_id?: string | null;
|
|
60089
|
+
local_reference?: string | null;
|
|
60090
|
+
method: string;
|
|
60091
|
+
module?: string | null;
|
|
60092
|
+
ok?: boolean;
|
|
60093
|
+
path: string;
|
|
60094
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60095
|
+
resource_type?: string | null;
|
|
60096
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60097
|
+
write_log_id?: string | null;
|
|
60098
|
+
};
|
|
60099
|
+
Update: {
|
|
60100
|
+
action?: string | null;
|
|
60101
|
+
caller?: string | null;
|
|
60102
|
+
connection_id?: string | null;
|
|
60103
|
+
created_at?: string;
|
|
60104
|
+
cursor_from?: number | null;
|
|
60105
|
+
direction?: string;
|
|
60106
|
+
duration_ms?: number | null;
|
|
60107
|
+
environment?: string | null;
|
|
60108
|
+
error?: string | null;
|
|
60109
|
+
floriday_id?: string | null;
|
|
60110
|
+
floriday_reference?: string | null;
|
|
60111
|
+
http_status?: number;
|
|
60112
|
+
id?: string;
|
|
60113
|
+
item_count?: number | null;
|
|
60114
|
+
kind?: string | null;
|
|
60115
|
+
local_id?: string | null;
|
|
60116
|
+
local_reference?: string | null;
|
|
60117
|
+
method?: string;
|
|
60118
|
+
module?: string | null;
|
|
60119
|
+
ok?: boolean;
|
|
60120
|
+
path?: string;
|
|
60121
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60122
|
+
resource_type?: string | null;
|
|
60123
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60124
|
+
write_log_id?: string | null;
|
|
60125
|
+
};
|
|
60126
|
+
Relationships: [{
|
|
60127
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60128
|
+
columns: ["connection_id"];
|
|
60129
|
+
isOneToOne: false;
|
|
60130
|
+
referencedRelation: "floriday_connections";
|
|
60131
|
+
referencedColumns: ["id"];
|
|
60132
|
+
}, {
|
|
60133
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60134
|
+
columns: ["write_log_id"];
|
|
60135
|
+
isOneToOne: false;
|
|
60136
|
+
referencedRelation: "floriday_write_log";
|
|
60137
|
+
referencedColumns: ["id"];
|
|
60138
|
+
}];
|
|
60139
|
+
};
|
|
58449
60140
|
floriday_auction_letters_cache: {
|
|
58450
60141
|
Row: {
|
|
58451
60142
|
auction_letter_code: string;
|
|
@@ -58653,6 +60344,84 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
58653
60344
|
referencedColumns: ["id"];
|
|
58654
60345
|
}];
|
|
58655
60346
|
};
|
|
60347
|
+
floriday_catalog_prices_cache: {
|
|
60348
|
+
Row: {
|
|
60349
|
+
connection_id: string;
|
|
60350
|
+
created_at: string;
|
|
60351
|
+
currency: string;
|
|
60352
|
+
id: string;
|
|
60353
|
+
is_deleted: boolean;
|
|
60354
|
+
price: number | null;
|
|
60355
|
+
price_group_id: string | null;
|
|
60356
|
+
price_group_name: string | null;
|
|
60357
|
+
price_type: string;
|
|
60358
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
60359
|
+
sales_unit: string | null;
|
|
60360
|
+
sequence_number: number;
|
|
60361
|
+
supplier_article_code: string | null;
|
|
60362
|
+
supply_line_id: string;
|
|
60363
|
+
synced_at: string;
|
|
60364
|
+
trade_item_id: string | null;
|
|
60365
|
+
updated_at: string;
|
|
60366
|
+
valid_from: string | null;
|
|
60367
|
+
valid_to: string | null;
|
|
60368
|
+
week: number | null;
|
|
60369
|
+
year: number | null;
|
|
60370
|
+
};
|
|
60371
|
+
Insert: {
|
|
60372
|
+
connection_id: string;
|
|
60373
|
+
created_at?: string;
|
|
60374
|
+
currency?: string;
|
|
60375
|
+
id?: string;
|
|
60376
|
+
is_deleted?: boolean;
|
|
60377
|
+
price?: number | null;
|
|
60378
|
+
price_group_id?: string | null;
|
|
60379
|
+
price_group_name?: string | null;
|
|
60380
|
+
price_type?: string;
|
|
60381
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60382
|
+
sales_unit?: string | null;
|
|
60383
|
+
sequence_number?: number;
|
|
60384
|
+
supplier_article_code?: string | null;
|
|
60385
|
+
supply_line_id: string;
|
|
60386
|
+
synced_at?: string;
|
|
60387
|
+
trade_item_id?: string | null;
|
|
60388
|
+
updated_at?: string;
|
|
60389
|
+
valid_from?: string | null;
|
|
60390
|
+
valid_to?: string | null;
|
|
60391
|
+
week?: number | null;
|
|
60392
|
+
year?: number | null;
|
|
60393
|
+
};
|
|
60394
|
+
Update: {
|
|
60395
|
+
connection_id?: string;
|
|
60396
|
+
created_at?: string;
|
|
60397
|
+
currency?: string;
|
|
60398
|
+
id?: string;
|
|
60399
|
+
is_deleted?: boolean;
|
|
60400
|
+
price?: number | null;
|
|
60401
|
+
price_group_id?: string | null;
|
|
60402
|
+
price_group_name?: string | null;
|
|
60403
|
+
price_type?: string;
|
|
60404
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60405
|
+
sales_unit?: string | null;
|
|
60406
|
+
sequence_number?: number;
|
|
60407
|
+
supplier_article_code?: string | null;
|
|
60408
|
+
supply_line_id?: string;
|
|
60409
|
+
synced_at?: string;
|
|
60410
|
+
trade_item_id?: string | null;
|
|
60411
|
+
updated_at?: string;
|
|
60412
|
+
valid_from?: string | null;
|
|
60413
|
+
valid_to?: string | null;
|
|
60414
|
+
week?: number | null;
|
|
60415
|
+
year?: number | null;
|
|
60416
|
+
};
|
|
60417
|
+
Relationships: [{
|
|
60418
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
60419
|
+
columns: ["connection_id"];
|
|
60420
|
+
isOneToOne: false;
|
|
60421
|
+
referencedRelation: "floriday_connections";
|
|
60422
|
+
referencedColumns: ["id"];
|
|
60423
|
+
}];
|
|
60424
|
+
};
|
|
58656
60425
|
floriday_clock_presales_cache: {
|
|
58657
60426
|
Row: {
|
|
58658
60427
|
buyer_organization_id: string | null;
|
|
@@ -59568,6 +61337,69 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
59568
61337
|
referencedColumns: ["id"];
|
|
59569
61338
|
}];
|
|
59570
61339
|
};
|
|
61340
|
+
floriday_link_templates: {
|
|
61341
|
+
Row: {
|
|
61342
|
+
created_at: string;
|
|
61343
|
+
floriday_url_template: string | null;
|
|
61344
|
+
is_active: boolean;
|
|
61345
|
+
label: string;
|
|
61346
|
+
local_url_template: string | null;
|
|
61347
|
+
resource_type: string;
|
|
61348
|
+
updated_at: string;
|
|
61349
|
+
};
|
|
61350
|
+
Insert: {
|
|
61351
|
+
created_at?: string;
|
|
61352
|
+
floriday_url_template?: string | null;
|
|
61353
|
+
is_active?: boolean;
|
|
61354
|
+
label: string;
|
|
61355
|
+
local_url_template?: string | null;
|
|
61356
|
+
resource_type: string;
|
|
61357
|
+
updated_at?: string;
|
|
61358
|
+
};
|
|
61359
|
+
Update: {
|
|
61360
|
+
created_at?: string;
|
|
61361
|
+
floriday_url_template?: string | null;
|
|
61362
|
+
is_active?: boolean;
|
|
61363
|
+
label?: string;
|
|
61364
|
+
local_url_template?: string | null;
|
|
61365
|
+
resource_type?: string;
|
|
61366
|
+
updated_at?: string;
|
|
61367
|
+
};
|
|
61368
|
+
Relationships: [];
|
|
61369
|
+
};
|
|
61370
|
+
floriday_log_retention: {
|
|
61371
|
+
Row: {
|
|
61372
|
+
created_at: string;
|
|
61373
|
+
direction: string | null;
|
|
61374
|
+
id: string;
|
|
61375
|
+
keep_failed_days: number | null;
|
|
61376
|
+
keep_ok_days: number | null;
|
|
61377
|
+
note: string | null;
|
|
61378
|
+
resource_type: string | null;
|
|
61379
|
+
updated_at: string;
|
|
61380
|
+
};
|
|
61381
|
+
Insert: {
|
|
61382
|
+
created_at?: string;
|
|
61383
|
+
direction?: string | null;
|
|
61384
|
+
id?: string;
|
|
61385
|
+
keep_failed_days?: number | null;
|
|
61386
|
+
keep_ok_days?: number | null;
|
|
61387
|
+
note?: string | null;
|
|
61388
|
+
resource_type?: string | null;
|
|
61389
|
+
updated_at?: string;
|
|
61390
|
+
};
|
|
61391
|
+
Update: {
|
|
61392
|
+
created_at?: string;
|
|
61393
|
+
direction?: string | null;
|
|
61394
|
+
id?: string;
|
|
61395
|
+
keep_failed_days?: number | null;
|
|
61396
|
+
keep_ok_days?: number | null;
|
|
61397
|
+
note?: string | null;
|
|
61398
|
+
resource_type?: string | null;
|
|
61399
|
+
updated_at?: string;
|
|
61400
|
+
};
|
|
61401
|
+
Relationships: [];
|
|
61402
|
+
};
|
|
59571
61403
|
floriday_logistic_labels_cache: {
|
|
59572
61404
|
Row: {
|
|
59573
61405
|
byte_size: number | null;
|
|
@@ -63192,6 +65024,48 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
63192
65024
|
};
|
|
63193
65025
|
Relationships: [];
|
|
63194
65026
|
};
|
|
65027
|
+
logistics_pick_data_requests: {
|
|
65028
|
+
Row: {
|
|
65029
|
+
actions: import("../integrations/supabase/types").Json;
|
|
65030
|
+
created_at: string;
|
|
65031
|
+
event_id: string | null;
|
|
65032
|
+
finished_at: string | null;
|
|
65033
|
+
id: string;
|
|
65034
|
+
missing: import("../integrations/supabase/types").Json;
|
|
65035
|
+
order_ref: string;
|
|
65036
|
+
reason: string | null;
|
|
65037
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
65038
|
+
status: string;
|
|
65039
|
+
unit_ref: string | null;
|
|
65040
|
+
};
|
|
65041
|
+
Insert: {
|
|
65042
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65043
|
+
created_at?: string;
|
|
65044
|
+
event_id?: string | null;
|
|
65045
|
+
finished_at?: string | null;
|
|
65046
|
+
id?: string;
|
|
65047
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65048
|
+
order_ref: string;
|
|
65049
|
+
reason?: string | null;
|
|
65050
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65051
|
+
status?: string;
|
|
65052
|
+
unit_ref?: string | null;
|
|
65053
|
+
};
|
|
65054
|
+
Update: {
|
|
65055
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65056
|
+
created_at?: string;
|
|
65057
|
+
event_id?: string | null;
|
|
65058
|
+
finished_at?: string | null;
|
|
65059
|
+
id?: string;
|
|
65060
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65061
|
+
order_ref?: string;
|
|
65062
|
+
reason?: string | null;
|
|
65063
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65064
|
+
status?: string;
|
|
65065
|
+
unit_ref?: string | null;
|
|
65066
|
+
};
|
|
65067
|
+
Relationships: [];
|
|
65068
|
+
};
|
|
63195
65069
|
logistics_pickup_moments: {
|
|
63196
65070
|
Row: {
|
|
63197
65071
|
carrier_ref: string | null;
|
|
@@ -63651,6 +65525,69 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
63651
65525
|
};
|
|
63652
65526
|
Relationships: [];
|
|
63653
65527
|
};
|
|
65528
|
+
logistics_slip_shipping_note: {
|
|
65529
|
+
Row: {
|
|
65530
|
+
attempts: number;
|
|
65531
|
+
batch_key: string | null;
|
|
65532
|
+
cart_id: string | null;
|
|
65533
|
+
created_at: string;
|
|
65534
|
+
error: string | null;
|
|
65535
|
+
error_code: string | null;
|
|
65536
|
+
fulfillment_order_id: string | null;
|
|
65537
|
+
id: string;
|
|
65538
|
+
locked_until: string | null;
|
|
65539
|
+
next_attempt_at: string | null;
|
|
65540
|
+
order_id: string | null;
|
|
65541
|
+
order_number: string | null;
|
|
65542
|
+
print_job_id: string | null;
|
|
65543
|
+
printer_id: string | null;
|
|
65544
|
+
retry_class: string | null;
|
|
65545
|
+
slip_job_id: string;
|
|
65546
|
+
status: string;
|
|
65547
|
+
updated_at: string;
|
|
65548
|
+
};
|
|
65549
|
+
Insert: {
|
|
65550
|
+
attempts?: number;
|
|
65551
|
+
batch_key?: string | null;
|
|
65552
|
+
cart_id?: string | null;
|
|
65553
|
+
created_at?: string;
|
|
65554
|
+
error?: string | null;
|
|
65555
|
+
error_code?: string | null;
|
|
65556
|
+
fulfillment_order_id?: string | null;
|
|
65557
|
+
id?: string;
|
|
65558
|
+
locked_until?: string | null;
|
|
65559
|
+
next_attempt_at?: string | null;
|
|
65560
|
+
order_id?: string | null;
|
|
65561
|
+
order_number?: string | null;
|
|
65562
|
+
print_job_id?: string | null;
|
|
65563
|
+
printer_id?: string | null;
|
|
65564
|
+
retry_class?: string | null;
|
|
65565
|
+
slip_job_id: string;
|
|
65566
|
+
status?: string;
|
|
65567
|
+
updated_at?: string;
|
|
65568
|
+
};
|
|
65569
|
+
Update: {
|
|
65570
|
+
attempts?: number;
|
|
65571
|
+
batch_key?: string | null;
|
|
65572
|
+
cart_id?: string | null;
|
|
65573
|
+
created_at?: string;
|
|
65574
|
+
error?: string | null;
|
|
65575
|
+
error_code?: string | null;
|
|
65576
|
+
fulfillment_order_id?: string | null;
|
|
65577
|
+
id?: string;
|
|
65578
|
+
locked_until?: string | null;
|
|
65579
|
+
next_attempt_at?: string | null;
|
|
65580
|
+
order_id?: string | null;
|
|
65581
|
+
order_number?: string | null;
|
|
65582
|
+
print_job_id?: string | null;
|
|
65583
|
+
printer_id?: string | null;
|
|
65584
|
+
retry_class?: string | null;
|
|
65585
|
+
slip_job_id?: string;
|
|
65586
|
+
status?: string;
|
|
65587
|
+
updated_at?: string;
|
|
65588
|
+
};
|
|
65589
|
+
Relationships: [];
|
|
65590
|
+
};
|
|
63654
65591
|
logistics_staff_planning: {
|
|
63655
65592
|
Row: {
|
|
63656
65593
|
created_at: string;
|
|
@@ -64002,6 +65939,111 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
64002
65939
|
};
|
|
64003
65940
|
Relationships: [];
|
|
64004
65941
|
};
|
|
65942
|
+
logistics_trace_events: {
|
|
65943
|
+
Row: {
|
|
65944
|
+
actor: string | null;
|
|
65945
|
+
attempts: number;
|
|
65946
|
+
cart_ref: string | null;
|
|
65947
|
+
created_at: string;
|
|
65948
|
+
db_action: string | null;
|
|
65949
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
65950
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
65951
|
+
db_record: string | null;
|
|
65952
|
+
db_table: string | null;
|
|
65953
|
+
decision: string | null;
|
|
65954
|
+
duration_ms: number | null;
|
|
65955
|
+
error: string | null;
|
|
65956
|
+
external_action: string | null;
|
|
65957
|
+
external_ref: string | null;
|
|
65958
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
65959
|
+
external_status: string | null;
|
|
65960
|
+
external_system: string | null;
|
|
65961
|
+
id: string;
|
|
65962
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
65963
|
+
next_attempt_at: string | null;
|
|
65964
|
+
order_ref: string | null;
|
|
65965
|
+
order_source: string | null;
|
|
65966
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
65967
|
+
phase: string;
|
|
65968
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
65969
|
+
reason: string | null;
|
|
65970
|
+
rule: string | null;
|
|
65971
|
+
slip_ref: string | null;
|
|
65972
|
+
status: string;
|
|
65973
|
+
step: string;
|
|
65974
|
+
trace_id: string;
|
|
65975
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
65976
|
+
};
|
|
65977
|
+
Insert: {
|
|
65978
|
+
actor?: string | null;
|
|
65979
|
+
attempts?: number;
|
|
65980
|
+
cart_ref?: string | null;
|
|
65981
|
+
created_at?: string;
|
|
65982
|
+
db_action?: string | null;
|
|
65983
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
65984
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
65985
|
+
db_record?: string | null;
|
|
65986
|
+
db_table?: string | null;
|
|
65987
|
+
decision?: string | null;
|
|
65988
|
+
duration_ms?: number | null;
|
|
65989
|
+
error?: string | null;
|
|
65990
|
+
external_action?: string | null;
|
|
65991
|
+
external_ref?: string | null;
|
|
65992
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
65993
|
+
external_status?: string | null;
|
|
65994
|
+
external_system?: string | null;
|
|
65995
|
+
id?: string;
|
|
65996
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
65997
|
+
next_attempt_at?: string | null;
|
|
65998
|
+
order_ref?: string | null;
|
|
65999
|
+
order_source?: string | null;
|
|
66000
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66001
|
+
phase: string;
|
|
66002
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66003
|
+
reason?: string | null;
|
|
66004
|
+
rule?: string | null;
|
|
66005
|
+
slip_ref?: string | null;
|
|
66006
|
+
status: string;
|
|
66007
|
+
step: string;
|
|
66008
|
+
trace_id?: string;
|
|
66009
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66010
|
+
};
|
|
66011
|
+
Update: {
|
|
66012
|
+
actor?: string | null;
|
|
66013
|
+
attempts?: number;
|
|
66014
|
+
cart_ref?: string | null;
|
|
66015
|
+
created_at?: string;
|
|
66016
|
+
db_action?: string | null;
|
|
66017
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66018
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66019
|
+
db_record?: string | null;
|
|
66020
|
+
db_table?: string | null;
|
|
66021
|
+
decision?: string | null;
|
|
66022
|
+
duration_ms?: number | null;
|
|
66023
|
+
error?: string | null;
|
|
66024
|
+
external_action?: string | null;
|
|
66025
|
+
external_ref?: string | null;
|
|
66026
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66027
|
+
external_status?: string | null;
|
|
66028
|
+
external_system?: string | null;
|
|
66029
|
+
id?: string;
|
|
66030
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66031
|
+
next_attempt_at?: string | null;
|
|
66032
|
+
order_ref?: string | null;
|
|
66033
|
+
order_source?: string | null;
|
|
66034
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66035
|
+
phase?: string;
|
|
66036
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66037
|
+
reason?: string | null;
|
|
66038
|
+
rule?: string | null;
|
|
66039
|
+
slip_ref?: string | null;
|
|
66040
|
+
status?: string;
|
|
66041
|
+
step?: string;
|
|
66042
|
+
trace_id?: string;
|
|
66043
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66044
|
+
};
|
|
66045
|
+
Relationships: [];
|
|
66046
|
+
};
|
|
64005
66047
|
logistics_variables: {
|
|
64006
66048
|
Row: {
|
|
64007
66049
|
created_at: string;
|
|
@@ -74574,6 +76616,15 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
74574
76616
|
Args: never;
|
|
74575
76617
|
Returns: boolean;
|
|
74576
76618
|
};
|
|
76619
|
+
cancel_open_print_jobs: {
|
|
76620
|
+
Args: {
|
|
76621
|
+
_cutoff: string;
|
|
76622
|
+
};
|
|
76623
|
+
Returns: {
|
|
76624
|
+
extern_job_id: string;
|
|
76625
|
+
id: string;
|
|
76626
|
+
}[];
|
|
76627
|
+
};
|
|
74577
76628
|
check_offer_product_available_stock: {
|
|
74578
76629
|
Args: {
|
|
74579
76630
|
p_campaign_product_id: string;
|
|
@@ -76112,6 +78163,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76112
78163
|
};
|
|
76113
78164
|
Returns: string;
|
|
76114
78165
|
};
|
|
78166
|
+
logistics_cart_checkin_at: {
|
|
78167
|
+
Args: {
|
|
78168
|
+
p_cart_id: string;
|
|
78169
|
+
};
|
|
78170
|
+
Returns: string;
|
|
78171
|
+
};
|
|
76115
78172
|
logistics_cart_handled: {
|
|
76116
78173
|
Args: {
|
|
76117
78174
|
p_cart_index: number;
|
|
@@ -76145,10 +78202,22 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76145
78202
|
task_status: string;
|
|
76146
78203
|
}[];
|
|
76147
78204
|
};
|
|
78205
|
+
logistics_cart_is_full: {
|
|
78206
|
+
Args: {
|
|
78207
|
+
p_cart_id: string;
|
|
78208
|
+
};
|
|
78209
|
+
Returns: boolean;
|
|
78210
|
+
};
|
|
76148
78211
|
logistics_cart_layout_method: {
|
|
76149
78212
|
Args: never;
|
|
76150
78213
|
Returns: import("../integrations/supabase/types").Json;
|
|
76151
78214
|
};
|
|
78215
|
+
logistics_cart_order_refs: {
|
|
78216
|
+
Args: {
|
|
78217
|
+
p_cart_id: string;
|
|
78218
|
+
};
|
|
78219
|
+
Returns: string[];
|
|
78220
|
+
};
|
|
76152
78221
|
logistics_cart_plan_overview: {
|
|
76153
78222
|
Args: {
|
|
76154
78223
|
p_days?: number;
|
|
@@ -76168,6 +78237,24 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76168
78237
|
};
|
|
76169
78238
|
Returns: import("../integrations/supabase/types").Json;
|
|
76170
78239
|
};
|
|
78240
|
+
logistics_cart_plan_status_core: {
|
|
78241
|
+
Args: {
|
|
78242
|
+
p_ref: string;
|
|
78243
|
+
};
|
|
78244
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78245
|
+
};
|
|
78246
|
+
logistics_cart_release_reason: {
|
|
78247
|
+
Args: {
|
|
78248
|
+
p_cart_id: string;
|
|
78249
|
+
};
|
|
78250
|
+
Returns: string;
|
|
78251
|
+
};
|
|
78252
|
+
logistics_cart_released: {
|
|
78253
|
+
Args: {
|
|
78254
|
+
p_cart_id: string;
|
|
78255
|
+
};
|
|
78256
|
+
Returns: boolean;
|
|
78257
|
+
};
|
|
76171
78258
|
logistics_cart_seq: {
|
|
76172
78259
|
Args: {
|
|
76173
78260
|
p_order_uuid?: string;
|
|
@@ -76218,6 +78305,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76218
78305
|
unit_ref: string;
|
|
76219
78306
|
}[];
|
|
76220
78307
|
};
|
|
78308
|
+
logistics_carts_per_print: {
|
|
78309
|
+
Args: never;
|
|
78310
|
+
Returns: number;
|
|
78311
|
+
};
|
|
76221
78312
|
logistics_check_order_allowed: {
|
|
76222
78313
|
Args: {
|
|
76223
78314
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -76321,6 +78412,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76321
78412
|
isSetofReturn: false;
|
|
76322
78413
|
};
|
|
76323
78414
|
};
|
|
78415
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
78416
|
+
Args: never;
|
|
78417
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78418
|
+
};
|
|
76324
78419
|
logistics_complete_task: {
|
|
76325
78420
|
Args: {
|
|
76326
78421
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -76572,6 +78667,20 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76572
78667
|
};
|
|
76573
78668
|
Returns: string;
|
|
76574
78669
|
};
|
|
78670
|
+
logistics_ensure_pick_data: {
|
|
78671
|
+
Args: {
|
|
78672
|
+
p_event_id?: string;
|
|
78673
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
78674
|
+
p_ref: string;
|
|
78675
|
+
};
|
|
78676
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78677
|
+
};
|
|
78678
|
+
logistics_ensure_shipping_notes: {
|
|
78679
|
+
Args: {
|
|
78680
|
+
p_limit?: number;
|
|
78681
|
+
};
|
|
78682
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78683
|
+
};
|
|
76575
78684
|
logistics_fail_task: {
|
|
76576
78685
|
Args: {
|
|
76577
78686
|
p_error: string;
|
|
@@ -76617,6 +78726,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76617
78726
|
isSetofReturn: false;
|
|
76618
78727
|
};
|
|
76619
78728
|
};
|
|
78729
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78730
|
+
Args: never;
|
|
78731
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78732
|
+
};
|
|
76620
78733
|
logistics_floriday_cart_plan: {
|
|
76621
78734
|
Args: {
|
|
76622
78735
|
p_order_id: string;
|
|
@@ -76644,6 +78757,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76644
78757
|
revision: number;
|
|
76645
78758
|
}[];
|
|
76646
78759
|
};
|
|
78760
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78761
|
+
Args: never;
|
|
78762
|
+
Returns: boolean;
|
|
78763
|
+
};
|
|
76647
78764
|
logistics_floriday_finish_push: {
|
|
76648
78765
|
Args: {
|
|
76649
78766
|
_error?: string;
|
|
@@ -76795,6 +78912,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76795
78912
|
};
|
|
76796
78913
|
Returns: number;
|
|
76797
78914
|
};
|
|
78915
|
+
logistics_merge_partial_carts: {
|
|
78916
|
+
Args: {
|
|
78917
|
+
p_limit?: number;
|
|
78918
|
+
};
|
|
78919
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78920
|
+
};
|
|
76798
78921
|
logistics_next_workday_date: {
|
|
76799
78922
|
Args: {
|
|
76800
78923
|
p_date: string;
|
|
@@ -76881,6 +79004,12 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76881
79004
|
};
|
|
76882
79005
|
Returns: string;
|
|
76883
79006
|
};
|
|
79007
|
+
logistics_payload_is_floriday: {
|
|
79008
|
+
Args: {
|
|
79009
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79010
|
+
};
|
|
79011
|
+
Returns: boolean;
|
|
79012
|
+
};
|
|
76884
79013
|
logistics_pick_agenda: {
|
|
76885
79014
|
Args: {
|
|
76886
79015
|
p_from?: string;
|
|
@@ -76909,6 +79038,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76909
79038
|
Args: never;
|
|
76910
79039
|
Returns: import("../integrations/supabase/types").Json;
|
|
76911
79040
|
};
|
|
79041
|
+
logistics_pick_partial_mode: {
|
|
79042
|
+
Args: never;
|
|
79043
|
+
Returns: string;
|
|
79044
|
+
};
|
|
76912
79045
|
logistics_pick_start_estimate: {
|
|
76913
79046
|
Args: {
|
|
76914
79047
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -76999,6 +79132,20 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
76999
79132
|
Args: never;
|
|
77000
79133
|
Returns: undefined;
|
|
77001
79134
|
};
|
|
79135
|
+
logistics_plan_progress: {
|
|
79136
|
+
Args: {
|
|
79137
|
+
p_refs: string[];
|
|
79138
|
+
};
|
|
79139
|
+
Returns: {
|
|
79140
|
+
cart_plan_ready: boolean;
|
|
79141
|
+
cart_plan_reason: string;
|
|
79142
|
+
cart_plan_released: boolean;
|
|
79143
|
+
plan_progress: number;
|
|
79144
|
+
plan_state: string;
|
|
79145
|
+
plan_state_since: string;
|
|
79146
|
+
unit_ref: string;
|
|
79147
|
+
}[];
|
|
79148
|
+
};
|
|
77002
79149
|
logistics_plan_prune: {
|
|
77003
79150
|
Args: never;
|
|
77004
79151
|
Returns: number;
|
|
@@ -77020,6 +79167,18 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77020
79167
|
};
|
|
77021
79168
|
Returns: number;
|
|
77022
79169
|
};
|
|
79170
|
+
logistics_plan_state_for: {
|
|
79171
|
+
Args: {
|
|
79172
|
+
p_ref: string;
|
|
79173
|
+
};
|
|
79174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79175
|
+
};
|
|
79176
|
+
logistics_prepare_pick_documents: {
|
|
79177
|
+
Args: {
|
|
79178
|
+
p_limit?: number;
|
|
79179
|
+
};
|
|
79180
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79181
|
+
};
|
|
77023
79182
|
logistics_prune_buffer_member_queue: {
|
|
77024
79183
|
Args: never;
|
|
77025
79184
|
Returns: number;
|
|
@@ -77060,18 +79219,36 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77060
79219
|
Args: never;
|
|
77061
79220
|
Returns: import("../integrations/supabase/types").Json;
|
|
77062
79221
|
};
|
|
79222
|
+
logistics_refresh_pick_queue_status: {
|
|
79223
|
+
Args: {
|
|
79224
|
+
p_ref: string;
|
|
79225
|
+
};
|
|
79226
|
+
Returns: number;
|
|
79227
|
+
};
|
|
77063
79228
|
logistics_refresh_pickup_moments: {
|
|
77064
79229
|
Args: {
|
|
77065
79230
|
p_weeks?: number;
|
|
77066
79231
|
};
|
|
77067
79232
|
Returns: import("../integrations/supabase/types").Json;
|
|
77068
79233
|
};
|
|
79234
|
+
logistics_refresh_plan_state: {
|
|
79235
|
+
Args: {
|
|
79236
|
+
p_limit?: number;
|
|
79237
|
+
};
|
|
79238
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79239
|
+
};
|
|
77069
79240
|
logistics_replan_all: {
|
|
77070
79241
|
Args: {
|
|
77071
79242
|
p_reason?: string;
|
|
77072
79243
|
};
|
|
77073
79244
|
Returns: import("../integrations/supabase/types").Json;
|
|
77074
79245
|
};
|
|
79246
|
+
logistics_replan_all_force: {
|
|
79247
|
+
Args: {
|
|
79248
|
+
p_reason?: string;
|
|
79249
|
+
};
|
|
79250
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79251
|
+
};
|
|
77075
79252
|
logistics_report_delay: {
|
|
77076
79253
|
Args: {
|
|
77077
79254
|
p_expected_date?: string;
|
|
@@ -77228,6 +79405,74 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77228
79405
|
};
|
|
77229
79406
|
Returns: import("../integrations/supabase/types").Json;
|
|
77230
79407
|
};
|
|
79408
|
+
logistics_shipping_note_job_for_slip: {
|
|
79409
|
+
Args: {
|
|
79410
|
+
_slip_job_id: string;
|
|
79411
|
+
};
|
|
79412
|
+
Returns: string;
|
|
79413
|
+
};
|
|
79414
|
+
logistics_shipping_notes_wake_all: {
|
|
79415
|
+
Args: never;
|
|
79416
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79417
|
+
};
|
|
79418
|
+
logistics_slip_is_floriday: {
|
|
79419
|
+
Args: {
|
|
79420
|
+
_slip_job_id: string;
|
|
79421
|
+
};
|
|
79422
|
+
Returns: boolean;
|
|
79423
|
+
};
|
|
79424
|
+
logistics_slip_note_claim: {
|
|
79425
|
+
Args: {
|
|
79426
|
+
_lease_seconds?: number;
|
|
79427
|
+
_limit?: number;
|
|
79428
|
+
};
|
|
79429
|
+
Returns: {
|
|
79430
|
+
attempts: number;
|
|
79431
|
+
batch_key: string | null;
|
|
79432
|
+
cart_id: string | null;
|
|
79433
|
+
created_at: string;
|
|
79434
|
+
error: string | null;
|
|
79435
|
+
error_code: string | null;
|
|
79436
|
+
fulfillment_order_id: string | null;
|
|
79437
|
+
id: string;
|
|
79438
|
+
locked_until: string | null;
|
|
79439
|
+
next_attempt_at: string | null;
|
|
79440
|
+
order_id: string | null;
|
|
79441
|
+
order_number: string | null;
|
|
79442
|
+
print_job_id: string | null;
|
|
79443
|
+
printer_id: string | null;
|
|
79444
|
+
retry_class: string | null;
|
|
79445
|
+
slip_job_id: string;
|
|
79446
|
+
status: string;
|
|
79447
|
+
updated_at: string;
|
|
79448
|
+
}[];
|
|
79449
|
+
SetofOptions: {
|
|
79450
|
+
from: "*";
|
|
79451
|
+
to: "logistics_slip_shipping_note";
|
|
79452
|
+
isOneToOne: false;
|
|
79453
|
+
isSetofReturn: true;
|
|
79454
|
+
};
|
|
79455
|
+
};
|
|
79456
|
+
logistics_slip_note_finish: {
|
|
79457
|
+
Args: {
|
|
79458
|
+
_error?: string;
|
|
79459
|
+
_error_code?: string;
|
|
79460
|
+
_fulfillment_order_id?: string;
|
|
79461
|
+
_id: string;
|
|
79462
|
+
_ok: boolean;
|
|
79463
|
+
_print_job_id?: string;
|
|
79464
|
+
_status?: string;
|
|
79465
|
+
};
|
|
79466
|
+
Returns: undefined;
|
|
79467
|
+
};
|
|
79468
|
+
logistics_slip_note_keep_waiting: {
|
|
79469
|
+
Args: {
|
|
79470
|
+
_class?: string;
|
|
79471
|
+
_id: string;
|
|
79472
|
+
_reason: string;
|
|
79473
|
+
};
|
|
79474
|
+
Returns: undefined;
|
|
79475
|
+
};
|
|
77231
79476
|
logistics_sticker_follows_slip: {
|
|
77232
79477
|
Args: never;
|
|
77233
79478
|
Returns: boolean;
|
|
@@ -77282,6 +79527,40 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
77282
79527
|
name: string;
|
|
77283
79528
|
}[];
|
|
77284
79529
|
};
|
|
79530
|
+
logistics_trace: {
|
|
79531
|
+
Args: {
|
|
79532
|
+
p: import("../integrations/supabase/types").Json;
|
|
79533
|
+
};
|
|
79534
|
+
Returns: string;
|
|
79535
|
+
};
|
|
79536
|
+
logistics_trace_batch: {
|
|
79537
|
+
Args: {
|
|
79538
|
+
p: import("../integrations/supabase/types").Json;
|
|
79539
|
+
};
|
|
79540
|
+
Returns: number;
|
|
79541
|
+
};
|
|
79542
|
+
logistics_trace_orders: {
|
|
79543
|
+
Args: {
|
|
79544
|
+
p_limit?: number;
|
|
79545
|
+
p_search?: string;
|
|
79546
|
+
p_since?: string;
|
|
79547
|
+
p_status?: string;
|
|
79548
|
+
};
|
|
79549
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79550
|
+
};
|
|
79551
|
+
logistics_trace_redact: {
|
|
79552
|
+
Args: {
|
|
79553
|
+
p: import("../integrations/supabase/types").Json;
|
|
79554
|
+
};
|
|
79555
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79556
|
+
};
|
|
79557
|
+
logistics_trace_timeline: {
|
|
79558
|
+
Args: {
|
|
79559
|
+
p_limit?: number;
|
|
79560
|
+
p_order_ref: string;
|
|
79561
|
+
};
|
|
79562
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79563
|
+
};
|
|
77285
79564
|
logistics_upsert_task: {
|
|
77286
79565
|
Args: {
|
|
77287
79566
|
p_buffer_ref: string;
|
|
@@ -78323,6 +80602,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
78323
80602
|
};
|
|
78324
80603
|
Returns: undefined;
|
|
78325
80604
|
};
|
|
80605
|
+
prune_floriday_api_log: {
|
|
80606
|
+
Args: never;
|
|
80607
|
+
Returns: number;
|
|
80608
|
+
};
|
|
78326
80609
|
quote_create_from_source: {
|
|
78327
80610
|
Args: {
|
|
78328
80611
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -78756,6 +81039,13 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
78756
81039
|
};
|
|
78757
81040
|
Returns: number;
|
|
78758
81041
|
};
|
|
81042
|
+
schedule_floriday_catalog_prices_sync: {
|
|
81043
|
+
Args: {
|
|
81044
|
+
p_apikey: string;
|
|
81045
|
+
p_url: string;
|
|
81046
|
+
};
|
|
81047
|
+
Returns: number;
|
|
81048
|
+
};
|
|
78759
81049
|
schedule_floriday_clock_presales_sync: {
|
|
78760
81050
|
Args: {
|
|
78761
81051
|
p_apikey: string;
|
|
@@ -79056,6 +81346,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79056
81346
|
};
|
|
79057
81347
|
Returns: undefined;
|
|
79058
81348
|
};
|
|
81349
|
+
sync_floriday_prices_into_price_groups: {
|
|
81350
|
+
Args: never;
|
|
81351
|
+
Returns: number;
|
|
81352
|
+
};
|
|
79059
81353
|
sync_layer_stock: {
|
|
79060
81354
|
Args: {
|
|
79061
81355
|
p_product_id: string;
|
|
@@ -79188,6 +81482,10 @@ export declare const recomputeInvoiceDueForOrder: import("@tanstack/start-client
|
|
|
79188
81482
|
Args: never;
|
|
79189
81483
|
Returns: string;
|
|
79190
81484
|
};
|
|
81485
|
+
voorraad_cleanup_old_rows: {
|
|
81486
|
+
Args: never;
|
|
81487
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81488
|
+
};
|
|
79191
81489
|
wake_print_queue: {
|
|
79192
81490
|
Args: {
|
|
79193
81491
|
_min_interval_ms?: number;
|
|
@@ -81487,6 +83785,45 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
81487
83785
|
};
|
|
81488
83786
|
Relationships: [];
|
|
81489
83787
|
};
|
|
83788
|
+
customer_product_stickers: {
|
|
83789
|
+
Row: {
|
|
83790
|
+
created_at: string;
|
|
83791
|
+
customer_key: string;
|
|
83792
|
+
file_name: string;
|
|
83793
|
+
file_path: string;
|
|
83794
|
+
file_size: number | null;
|
|
83795
|
+
id: string;
|
|
83796
|
+
mime_type: string | null;
|
|
83797
|
+
trade_item_key: string;
|
|
83798
|
+
updated_at: string;
|
|
83799
|
+
uploaded_by: string | null;
|
|
83800
|
+
};
|
|
83801
|
+
Insert: {
|
|
83802
|
+
created_at?: string;
|
|
83803
|
+
customer_key: string;
|
|
83804
|
+
file_name: string;
|
|
83805
|
+
file_path: string;
|
|
83806
|
+
file_size?: number | null;
|
|
83807
|
+
id?: string;
|
|
83808
|
+
mime_type?: string | null;
|
|
83809
|
+
trade_item_key: string;
|
|
83810
|
+
updated_at?: string;
|
|
83811
|
+
uploaded_by?: string | null;
|
|
83812
|
+
};
|
|
83813
|
+
Update: {
|
|
83814
|
+
created_at?: string;
|
|
83815
|
+
customer_key?: string;
|
|
83816
|
+
file_name?: string;
|
|
83817
|
+
file_path?: string;
|
|
83818
|
+
file_size?: number | null;
|
|
83819
|
+
id?: string;
|
|
83820
|
+
mime_type?: string | null;
|
|
83821
|
+
trade_item_key?: string;
|
|
83822
|
+
updated_at?: string;
|
|
83823
|
+
uploaded_by?: string | null;
|
|
83824
|
+
};
|
|
83825
|
+
Relationships: [];
|
|
83826
|
+
};
|
|
81490
83827
|
customer_selected_assortment: {
|
|
81491
83828
|
Row: {
|
|
81492
83829
|
article_number: string | null;
|
|
@@ -81535,6 +83872,30 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
81535
83872
|
referencedColumns: ["id"];
|
|
81536
83873
|
}];
|
|
81537
83874
|
};
|
|
83875
|
+
customer_sticker_settings: {
|
|
83876
|
+
Row: {
|
|
83877
|
+
created_at: string;
|
|
83878
|
+
customer_key: string;
|
|
83879
|
+
height_mm: number;
|
|
83880
|
+
updated_at: string;
|
|
83881
|
+
width_mm: number;
|
|
83882
|
+
};
|
|
83883
|
+
Insert: {
|
|
83884
|
+
created_at?: string;
|
|
83885
|
+
customer_key: string;
|
|
83886
|
+
height_mm?: number;
|
|
83887
|
+
updated_at?: string;
|
|
83888
|
+
width_mm?: number;
|
|
83889
|
+
};
|
|
83890
|
+
Update: {
|
|
83891
|
+
created_at?: string;
|
|
83892
|
+
customer_key?: string;
|
|
83893
|
+
height_mm?: number;
|
|
83894
|
+
updated_at?: string;
|
|
83895
|
+
width_mm?: number;
|
|
83896
|
+
};
|
|
83897
|
+
Relationships: [];
|
|
83898
|
+
};
|
|
81538
83899
|
customer_trade_settings: {
|
|
81539
83900
|
Row: {
|
|
81540
83901
|
category: string;
|
|
@@ -84865,6 +87226,102 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
84865
87226
|
referencedColumns: ["id"];
|
|
84866
87227
|
}];
|
|
84867
87228
|
};
|
|
87229
|
+
floriday_api_log: {
|
|
87230
|
+
Row: {
|
|
87231
|
+
action: string | null;
|
|
87232
|
+
caller: string | null;
|
|
87233
|
+
connection_id: string | null;
|
|
87234
|
+
created_at: string;
|
|
87235
|
+
cursor_from: number | null;
|
|
87236
|
+
direction: string;
|
|
87237
|
+
duration_ms: number | null;
|
|
87238
|
+
environment: string | null;
|
|
87239
|
+
error: string | null;
|
|
87240
|
+
floriday_id: string | null;
|
|
87241
|
+
floriday_reference: string | null;
|
|
87242
|
+
http_status: number;
|
|
87243
|
+
id: string;
|
|
87244
|
+
item_count: number | null;
|
|
87245
|
+
kind: string | null;
|
|
87246
|
+
local_id: string | null;
|
|
87247
|
+
local_reference: string | null;
|
|
87248
|
+
method: string;
|
|
87249
|
+
module: string | null;
|
|
87250
|
+
ok: boolean;
|
|
87251
|
+
path: string;
|
|
87252
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
87253
|
+
resource_type: string | null;
|
|
87254
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
87255
|
+
write_log_id: string | null;
|
|
87256
|
+
};
|
|
87257
|
+
Insert: {
|
|
87258
|
+
action?: string | null;
|
|
87259
|
+
caller?: string | null;
|
|
87260
|
+
connection_id?: string | null;
|
|
87261
|
+
created_at?: string;
|
|
87262
|
+
cursor_from?: number | null;
|
|
87263
|
+
direction: string;
|
|
87264
|
+
duration_ms?: number | null;
|
|
87265
|
+
environment?: string | null;
|
|
87266
|
+
error?: string | null;
|
|
87267
|
+
floriday_id?: string | null;
|
|
87268
|
+
floriday_reference?: string | null;
|
|
87269
|
+
http_status?: number;
|
|
87270
|
+
id?: string;
|
|
87271
|
+
item_count?: number | null;
|
|
87272
|
+
kind?: string | null;
|
|
87273
|
+
local_id?: string | null;
|
|
87274
|
+
local_reference?: string | null;
|
|
87275
|
+
method: string;
|
|
87276
|
+
module?: string | null;
|
|
87277
|
+
ok?: boolean;
|
|
87278
|
+
path: string;
|
|
87279
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87280
|
+
resource_type?: string | null;
|
|
87281
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87282
|
+
write_log_id?: string | null;
|
|
87283
|
+
};
|
|
87284
|
+
Update: {
|
|
87285
|
+
action?: string | null;
|
|
87286
|
+
caller?: string | null;
|
|
87287
|
+
connection_id?: string | null;
|
|
87288
|
+
created_at?: string;
|
|
87289
|
+
cursor_from?: number | null;
|
|
87290
|
+
direction?: string;
|
|
87291
|
+
duration_ms?: number | null;
|
|
87292
|
+
environment?: string | null;
|
|
87293
|
+
error?: string | null;
|
|
87294
|
+
floriday_id?: string | null;
|
|
87295
|
+
floriday_reference?: string | null;
|
|
87296
|
+
http_status?: number;
|
|
87297
|
+
id?: string;
|
|
87298
|
+
item_count?: number | null;
|
|
87299
|
+
kind?: string | null;
|
|
87300
|
+
local_id?: string | null;
|
|
87301
|
+
local_reference?: string | null;
|
|
87302
|
+
method?: string;
|
|
87303
|
+
module?: string | null;
|
|
87304
|
+
ok?: boolean;
|
|
87305
|
+
path?: string;
|
|
87306
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87307
|
+
resource_type?: string | null;
|
|
87308
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87309
|
+
write_log_id?: string | null;
|
|
87310
|
+
};
|
|
87311
|
+
Relationships: [{
|
|
87312
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
87313
|
+
columns: ["connection_id"];
|
|
87314
|
+
isOneToOne: false;
|
|
87315
|
+
referencedRelation: "floriday_connections";
|
|
87316
|
+
referencedColumns: ["id"];
|
|
87317
|
+
}, {
|
|
87318
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
87319
|
+
columns: ["write_log_id"];
|
|
87320
|
+
isOneToOne: false;
|
|
87321
|
+
referencedRelation: "floriday_write_log";
|
|
87322
|
+
referencedColumns: ["id"];
|
|
87323
|
+
}];
|
|
87324
|
+
};
|
|
84868
87325
|
floriday_auction_letters_cache: {
|
|
84869
87326
|
Row: {
|
|
84870
87327
|
auction_letter_code: string;
|
|
@@ -85072,6 +87529,84 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
85072
87529
|
referencedColumns: ["id"];
|
|
85073
87530
|
}];
|
|
85074
87531
|
};
|
|
87532
|
+
floriday_catalog_prices_cache: {
|
|
87533
|
+
Row: {
|
|
87534
|
+
connection_id: string;
|
|
87535
|
+
created_at: string;
|
|
87536
|
+
currency: string;
|
|
87537
|
+
id: string;
|
|
87538
|
+
is_deleted: boolean;
|
|
87539
|
+
price: number | null;
|
|
87540
|
+
price_group_id: string | null;
|
|
87541
|
+
price_group_name: string | null;
|
|
87542
|
+
price_type: string;
|
|
87543
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
87544
|
+
sales_unit: string | null;
|
|
87545
|
+
sequence_number: number;
|
|
87546
|
+
supplier_article_code: string | null;
|
|
87547
|
+
supply_line_id: string;
|
|
87548
|
+
synced_at: string;
|
|
87549
|
+
trade_item_id: string | null;
|
|
87550
|
+
updated_at: string;
|
|
87551
|
+
valid_from: string | null;
|
|
87552
|
+
valid_to: string | null;
|
|
87553
|
+
week: number | null;
|
|
87554
|
+
year: number | null;
|
|
87555
|
+
};
|
|
87556
|
+
Insert: {
|
|
87557
|
+
connection_id: string;
|
|
87558
|
+
created_at?: string;
|
|
87559
|
+
currency?: string;
|
|
87560
|
+
id?: string;
|
|
87561
|
+
is_deleted?: boolean;
|
|
87562
|
+
price?: number | null;
|
|
87563
|
+
price_group_id?: string | null;
|
|
87564
|
+
price_group_name?: string | null;
|
|
87565
|
+
price_type?: string;
|
|
87566
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
87567
|
+
sales_unit?: string | null;
|
|
87568
|
+
sequence_number?: number;
|
|
87569
|
+
supplier_article_code?: string | null;
|
|
87570
|
+
supply_line_id: string;
|
|
87571
|
+
synced_at?: string;
|
|
87572
|
+
trade_item_id?: string | null;
|
|
87573
|
+
updated_at?: string;
|
|
87574
|
+
valid_from?: string | null;
|
|
87575
|
+
valid_to?: string | null;
|
|
87576
|
+
week?: number | null;
|
|
87577
|
+
year?: number | null;
|
|
87578
|
+
};
|
|
87579
|
+
Update: {
|
|
87580
|
+
connection_id?: string;
|
|
87581
|
+
created_at?: string;
|
|
87582
|
+
currency?: string;
|
|
87583
|
+
id?: string;
|
|
87584
|
+
is_deleted?: boolean;
|
|
87585
|
+
price?: number | null;
|
|
87586
|
+
price_group_id?: string | null;
|
|
87587
|
+
price_group_name?: string | null;
|
|
87588
|
+
price_type?: string;
|
|
87589
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
87590
|
+
sales_unit?: string | null;
|
|
87591
|
+
sequence_number?: number;
|
|
87592
|
+
supplier_article_code?: string | null;
|
|
87593
|
+
supply_line_id?: string;
|
|
87594
|
+
synced_at?: string;
|
|
87595
|
+
trade_item_id?: string | null;
|
|
87596
|
+
updated_at?: string;
|
|
87597
|
+
valid_from?: string | null;
|
|
87598
|
+
valid_to?: string | null;
|
|
87599
|
+
week?: number | null;
|
|
87600
|
+
year?: number | null;
|
|
87601
|
+
};
|
|
87602
|
+
Relationships: [{
|
|
87603
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
87604
|
+
columns: ["connection_id"];
|
|
87605
|
+
isOneToOne: false;
|
|
87606
|
+
referencedRelation: "floriday_connections";
|
|
87607
|
+
referencedColumns: ["id"];
|
|
87608
|
+
}];
|
|
87609
|
+
};
|
|
85075
87610
|
floriday_clock_presales_cache: {
|
|
85076
87611
|
Row: {
|
|
85077
87612
|
buyer_organization_id: string | null;
|
|
@@ -85987,6 +88522,69 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
85987
88522
|
referencedColumns: ["id"];
|
|
85988
88523
|
}];
|
|
85989
88524
|
};
|
|
88525
|
+
floriday_link_templates: {
|
|
88526
|
+
Row: {
|
|
88527
|
+
created_at: string;
|
|
88528
|
+
floriday_url_template: string | null;
|
|
88529
|
+
is_active: boolean;
|
|
88530
|
+
label: string;
|
|
88531
|
+
local_url_template: string | null;
|
|
88532
|
+
resource_type: string;
|
|
88533
|
+
updated_at: string;
|
|
88534
|
+
};
|
|
88535
|
+
Insert: {
|
|
88536
|
+
created_at?: string;
|
|
88537
|
+
floriday_url_template?: string | null;
|
|
88538
|
+
is_active?: boolean;
|
|
88539
|
+
label: string;
|
|
88540
|
+
local_url_template?: string | null;
|
|
88541
|
+
resource_type: string;
|
|
88542
|
+
updated_at?: string;
|
|
88543
|
+
};
|
|
88544
|
+
Update: {
|
|
88545
|
+
created_at?: string;
|
|
88546
|
+
floriday_url_template?: string | null;
|
|
88547
|
+
is_active?: boolean;
|
|
88548
|
+
label?: string;
|
|
88549
|
+
local_url_template?: string | null;
|
|
88550
|
+
resource_type?: string;
|
|
88551
|
+
updated_at?: string;
|
|
88552
|
+
};
|
|
88553
|
+
Relationships: [];
|
|
88554
|
+
};
|
|
88555
|
+
floriday_log_retention: {
|
|
88556
|
+
Row: {
|
|
88557
|
+
created_at: string;
|
|
88558
|
+
direction: string | null;
|
|
88559
|
+
id: string;
|
|
88560
|
+
keep_failed_days: number | null;
|
|
88561
|
+
keep_ok_days: number | null;
|
|
88562
|
+
note: string | null;
|
|
88563
|
+
resource_type: string | null;
|
|
88564
|
+
updated_at: string;
|
|
88565
|
+
};
|
|
88566
|
+
Insert: {
|
|
88567
|
+
created_at?: string;
|
|
88568
|
+
direction?: string | null;
|
|
88569
|
+
id?: string;
|
|
88570
|
+
keep_failed_days?: number | null;
|
|
88571
|
+
keep_ok_days?: number | null;
|
|
88572
|
+
note?: string | null;
|
|
88573
|
+
resource_type?: string | null;
|
|
88574
|
+
updated_at?: string;
|
|
88575
|
+
};
|
|
88576
|
+
Update: {
|
|
88577
|
+
created_at?: string;
|
|
88578
|
+
direction?: string | null;
|
|
88579
|
+
id?: string;
|
|
88580
|
+
keep_failed_days?: number | null;
|
|
88581
|
+
keep_ok_days?: number | null;
|
|
88582
|
+
note?: string | null;
|
|
88583
|
+
resource_type?: string | null;
|
|
88584
|
+
updated_at?: string;
|
|
88585
|
+
};
|
|
88586
|
+
Relationships: [];
|
|
88587
|
+
};
|
|
85990
88588
|
floriday_logistic_labels_cache: {
|
|
85991
88589
|
Row: {
|
|
85992
88590
|
byte_size: number | null;
|
|
@@ -89611,6 +92209,48 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
89611
92209
|
};
|
|
89612
92210
|
Relationships: [];
|
|
89613
92211
|
};
|
|
92212
|
+
logistics_pick_data_requests: {
|
|
92213
|
+
Row: {
|
|
92214
|
+
actions: import("../integrations/supabase/types").Json;
|
|
92215
|
+
created_at: string;
|
|
92216
|
+
event_id: string | null;
|
|
92217
|
+
finished_at: string | null;
|
|
92218
|
+
id: string;
|
|
92219
|
+
missing: import("../integrations/supabase/types").Json;
|
|
92220
|
+
order_ref: string;
|
|
92221
|
+
reason: string | null;
|
|
92222
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
92223
|
+
status: string;
|
|
92224
|
+
unit_ref: string | null;
|
|
92225
|
+
};
|
|
92226
|
+
Insert: {
|
|
92227
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
92228
|
+
created_at?: string;
|
|
92229
|
+
event_id?: string | null;
|
|
92230
|
+
finished_at?: string | null;
|
|
92231
|
+
id?: string;
|
|
92232
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
92233
|
+
order_ref: string;
|
|
92234
|
+
reason?: string | null;
|
|
92235
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
92236
|
+
status?: string;
|
|
92237
|
+
unit_ref?: string | null;
|
|
92238
|
+
};
|
|
92239
|
+
Update: {
|
|
92240
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
92241
|
+
created_at?: string;
|
|
92242
|
+
event_id?: string | null;
|
|
92243
|
+
finished_at?: string | null;
|
|
92244
|
+
id?: string;
|
|
92245
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
92246
|
+
order_ref?: string;
|
|
92247
|
+
reason?: string | null;
|
|
92248
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
92249
|
+
status?: string;
|
|
92250
|
+
unit_ref?: string | null;
|
|
92251
|
+
};
|
|
92252
|
+
Relationships: [];
|
|
92253
|
+
};
|
|
89614
92254
|
logistics_pickup_moments: {
|
|
89615
92255
|
Row: {
|
|
89616
92256
|
carrier_ref: string | null;
|
|
@@ -90070,6 +92710,69 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
90070
92710
|
};
|
|
90071
92711
|
Relationships: [];
|
|
90072
92712
|
};
|
|
92713
|
+
logistics_slip_shipping_note: {
|
|
92714
|
+
Row: {
|
|
92715
|
+
attempts: number;
|
|
92716
|
+
batch_key: string | null;
|
|
92717
|
+
cart_id: string | null;
|
|
92718
|
+
created_at: string;
|
|
92719
|
+
error: string | null;
|
|
92720
|
+
error_code: string | null;
|
|
92721
|
+
fulfillment_order_id: string | null;
|
|
92722
|
+
id: string;
|
|
92723
|
+
locked_until: string | null;
|
|
92724
|
+
next_attempt_at: string | null;
|
|
92725
|
+
order_id: string | null;
|
|
92726
|
+
order_number: string | null;
|
|
92727
|
+
print_job_id: string | null;
|
|
92728
|
+
printer_id: string | null;
|
|
92729
|
+
retry_class: string | null;
|
|
92730
|
+
slip_job_id: string;
|
|
92731
|
+
status: string;
|
|
92732
|
+
updated_at: string;
|
|
92733
|
+
};
|
|
92734
|
+
Insert: {
|
|
92735
|
+
attempts?: number;
|
|
92736
|
+
batch_key?: string | null;
|
|
92737
|
+
cart_id?: string | null;
|
|
92738
|
+
created_at?: string;
|
|
92739
|
+
error?: string | null;
|
|
92740
|
+
error_code?: string | null;
|
|
92741
|
+
fulfillment_order_id?: string | null;
|
|
92742
|
+
id?: string;
|
|
92743
|
+
locked_until?: string | null;
|
|
92744
|
+
next_attempt_at?: string | null;
|
|
92745
|
+
order_id?: string | null;
|
|
92746
|
+
order_number?: string | null;
|
|
92747
|
+
print_job_id?: string | null;
|
|
92748
|
+
printer_id?: string | null;
|
|
92749
|
+
retry_class?: string | null;
|
|
92750
|
+
slip_job_id: string;
|
|
92751
|
+
status?: string;
|
|
92752
|
+
updated_at?: string;
|
|
92753
|
+
};
|
|
92754
|
+
Update: {
|
|
92755
|
+
attempts?: number;
|
|
92756
|
+
batch_key?: string | null;
|
|
92757
|
+
cart_id?: string | null;
|
|
92758
|
+
created_at?: string;
|
|
92759
|
+
error?: string | null;
|
|
92760
|
+
error_code?: string | null;
|
|
92761
|
+
fulfillment_order_id?: string | null;
|
|
92762
|
+
id?: string;
|
|
92763
|
+
locked_until?: string | null;
|
|
92764
|
+
next_attempt_at?: string | null;
|
|
92765
|
+
order_id?: string | null;
|
|
92766
|
+
order_number?: string | null;
|
|
92767
|
+
print_job_id?: string | null;
|
|
92768
|
+
printer_id?: string | null;
|
|
92769
|
+
retry_class?: string | null;
|
|
92770
|
+
slip_job_id?: string;
|
|
92771
|
+
status?: string;
|
|
92772
|
+
updated_at?: string;
|
|
92773
|
+
};
|
|
92774
|
+
Relationships: [];
|
|
92775
|
+
};
|
|
90073
92776
|
logistics_staff_planning: {
|
|
90074
92777
|
Row: {
|
|
90075
92778
|
created_at: string;
|
|
@@ -90421,6 +93124,111 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
90421
93124
|
};
|
|
90422
93125
|
Relationships: [];
|
|
90423
93126
|
};
|
|
93127
|
+
logistics_trace_events: {
|
|
93128
|
+
Row: {
|
|
93129
|
+
actor: string | null;
|
|
93130
|
+
attempts: number;
|
|
93131
|
+
cart_ref: string | null;
|
|
93132
|
+
created_at: string;
|
|
93133
|
+
db_action: string | null;
|
|
93134
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
93135
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
93136
|
+
db_record: string | null;
|
|
93137
|
+
db_table: string | null;
|
|
93138
|
+
decision: string | null;
|
|
93139
|
+
duration_ms: number | null;
|
|
93140
|
+
error: string | null;
|
|
93141
|
+
external_action: string | null;
|
|
93142
|
+
external_ref: string | null;
|
|
93143
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
93144
|
+
external_status: string | null;
|
|
93145
|
+
external_system: string | null;
|
|
93146
|
+
id: string;
|
|
93147
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
93148
|
+
next_attempt_at: string | null;
|
|
93149
|
+
order_ref: string | null;
|
|
93150
|
+
order_source: string | null;
|
|
93151
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
93152
|
+
phase: string;
|
|
93153
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
93154
|
+
reason: string | null;
|
|
93155
|
+
rule: string | null;
|
|
93156
|
+
slip_ref: string | null;
|
|
93157
|
+
status: string;
|
|
93158
|
+
step: string;
|
|
93159
|
+
trace_id: string;
|
|
93160
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
93161
|
+
};
|
|
93162
|
+
Insert: {
|
|
93163
|
+
actor?: string | null;
|
|
93164
|
+
attempts?: number;
|
|
93165
|
+
cart_ref?: string | null;
|
|
93166
|
+
created_at?: string;
|
|
93167
|
+
db_action?: string | null;
|
|
93168
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93169
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93170
|
+
db_record?: string | null;
|
|
93171
|
+
db_table?: string | null;
|
|
93172
|
+
decision?: string | null;
|
|
93173
|
+
duration_ms?: number | null;
|
|
93174
|
+
error?: string | null;
|
|
93175
|
+
external_action?: string | null;
|
|
93176
|
+
external_ref?: string | null;
|
|
93177
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93178
|
+
external_status?: string | null;
|
|
93179
|
+
external_system?: string | null;
|
|
93180
|
+
id?: string;
|
|
93181
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93182
|
+
next_attempt_at?: string | null;
|
|
93183
|
+
order_ref?: string | null;
|
|
93184
|
+
order_source?: string | null;
|
|
93185
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93186
|
+
phase: string;
|
|
93187
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93188
|
+
reason?: string | null;
|
|
93189
|
+
rule?: string | null;
|
|
93190
|
+
slip_ref?: string | null;
|
|
93191
|
+
status: string;
|
|
93192
|
+
step: string;
|
|
93193
|
+
trace_id?: string;
|
|
93194
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93195
|
+
};
|
|
93196
|
+
Update: {
|
|
93197
|
+
actor?: string | null;
|
|
93198
|
+
attempts?: number;
|
|
93199
|
+
cart_ref?: string | null;
|
|
93200
|
+
created_at?: string;
|
|
93201
|
+
db_action?: string | null;
|
|
93202
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93203
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93204
|
+
db_record?: string | null;
|
|
93205
|
+
db_table?: string | null;
|
|
93206
|
+
decision?: string | null;
|
|
93207
|
+
duration_ms?: number | null;
|
|
93208
|
+
error?: string | null;
|
|
93209
|
+
external_action?: string | null;
|
|
93210
|
+
external_ref?: string | null;
|
|
93211
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93212
|
+
external_status?: string | null;
|
|
93213
|
+
external_system?: string | null;
|
|
93214
|
+
id?: string;
|
|
93215
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93216
|
+
next_attempt_at?: string | null;
|
|
93217
|
+
order_ref?: string | null;
|
|
93218
|
+
order_source?: string | null;
|
|
93219
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93220
|
+
phase?: string;
|
|
93221
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93222
|
+
reason?: string | null;
|
|
93223
|
+
rule?: string | null;
|
|
93224
|
+
slip_ref?: string | null;
|
|
93225
|
+
status?: string;
|
|
93226
|
+
step?: string;
|
|
93227
|
+
trace_id?: string;
|
|
93228
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93229
|
+
};
|
|
93230
|
+
Relationships: [];
|
|
93231
|
+
};
|
|
90424
93232
|
logistics_variables: {
|
|
90425
93233
|
Row: {
|
|
90426
93234
|
created_at: string;
|
|
@@ -100993,6 +103801,15 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
100993
103801
|
Args: never;
|
|
100994
103802
|
Returns: boolean;
|
|
100995
103803
|
};
|
|
103804
|
+
cancel_open_print_jobs: {
|
|
103805
|
+
Args: {
|
|
103806
|
+
_cutoff: string;
|
|
103807
|
+
};
|
|
103808
|
+
Returns: {
|
|
103809
|
+
extern_job_id: string;
|
|
103810
|
+
id: string;
|
|
103811
|
+
}[];
|
|
103812
|
+
};
|
|
100996
103813
|
check_offer_product_available_stock: {
|
|
100997
103814
|
Args: {
|
|
100998
103815
|
p_campaign_product_id: string;
|
|
@@ -102531,6 +105348,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102531
105348
|
};
|
|
102532
105349
|
Returns: string;
|
|
102533
105350
|
};
|
|
105351
|
+
logistics_cart_checkin_at: {
|
|
105352
|
+
Args: {
|
|
105353
|
+
p_cart_id: string;
|
|
105354
|
+
};
|
|
105355
|
+
Returns: string;
|
|
105356
|
+
};
|
|
102534
105357
|
logistics_cart_handled: {
|
|
102535
105358
|
Args: {
|
|
102536
105359
|
p_cart_index: number;
|
|
@@ -102564,10 +105387,22 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102564
105387
|
task_status: string;
|
|
102565
105388
|
}[];
|
|
102566
105389
|
};
|
|
105390
|
+
logistics_cart_is_full: {
|
|
105391
|
+
Args: {
|
|
105392
|
+
p_cart_id: string;
|
|
105393
|
+
};
|
|
105394
|
+
Returns: boolean;
|
|
105395
|
+
};
|
|
102567
105396
|
logistics_cart_layout_method: {
|
|
102568
105397
|
Args: never;
|
|
102569
105398
|
Returns: import("../integrations/supabase/types").Json;
|
|
102570
105399
|
};
|
|
105400
|
+
logistics_cart_order_refs: {
|
|
105401
|
+
Args: {
|
|
105402
|
+
p_cart_id: string;
|
|
105403
|
+
};
|
|
105404
|
+
Returns: string[];
|
|
105405
|
+
};
|
|
102571
105406
|
logistics_cart_plan_overview: {
|
|
102572
105407
|
Args: {
|
|
102573
105408
|
p_days?: number;
|
|
@@ -102587,6 +105422,24 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102587
105422
|
};
|
|
102588
105423
|
Returns: import("../integrations/supabase/types").Json;
|
|
102589
105424
|
};
|
|
105425
|
+
logistics_cart_plan_status_core: {
|
|
105426
|
+
Args: {
|
|
105427
|
+
p_ref: string;
|
|
105428
|
+
};
|
|
105429
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105430
|
+
};
|
|
105431
|
+
logistics_cart_release_reason: {
|
|
105432
|
+
Args: {
|
|
105433
|
+
p_cart_id: string;
|
|
105434
|
+
};
|
|
105435
|
+
Returns: string;
|
|
105436
|
+
};
|
|
105437
|
+
logistics_cart_released: {
|
|
105438
|
+
Args: {
|
|
105439
|
+
p_cart_id: string;
|
|
105440
|
+
};
|
|
105441
|
+
Returns: boolean;
|
|
105442
|
+
};
|
|
102590
105443
|
logistics_cart_seq: {
|
|
102591
105444
|
Args: {
|
|
102592
105445
|
p_order_uuid?: string;
|
|
@@ -102637,6 +105490,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102637
105490
|
unit_ref: string;
|
|
102638
105491
|
}[];
|
|
102639
105492
|
};
|
|
105493
|
+
logistics_carts_per_print: {
|
|
105494
|
+
Args: never;
|
|
105495
|
+
Returns: number;
|
|
105496
|
+
};
|
|
102640
105497
|
logistics_check_order_allowed: {
|
|
102641
105498
|
Args: {
|
|
102642
105499
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -102740,6 +105597,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102740
105597
|
isSetofReturn: false;
|
|
102741
105598
|
};
|
|
102742
105599
|
};
|
|
105600
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
105601
|
+
Args: never;
|
|
105602
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105603
|
+
};
|
|
102743
105604
|
logistics_complete_task: {
|
|
102744
105605
|
Args: {
|
|
102745
105606
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -102991,6 +105852,20 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
102991
105852
|
};
|
|
102992
105853
|
Returns: string;
|
|
102993
105854
|
};
|
|
105855
|
+
logistics_ensure_pick_data: {
|
|
105856
|
+
Args: {
|
|
105857
|
+
p_event_id?: string;
|
|
105858
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
105859
|
+
p_ref: string;
|
|
105860
|
+
};
|
|
105861
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105862
|
+
};
|
|
105863
|
+
logistics_ensure_shipping_notes: {
|
|
105864
|
+
Args: {
|
|
105865
|
+
p_limit?: number;
|
|
105866
|
+
};
|
|
105867
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105868
|
+
};
|
|
102994
105869
|
logistics_fail_task: {
|
|
102995
105870
|
Args: {
|
|
102996
105871
|
p_error: string;
|
|
@@ -103036,6 +105911,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103036
105911
|
isSetofReturn: false;
|
|
103037
105912
|
};
|
|
103038
105913
|
};
|
|
105914
|
+
logistics_fix_wrong_shipping_notes: {
|
|
105915
|
+
Args: never;
|
|
105916
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105917
|
+
};
|
|
103039
105918
|
logistics_floriday_cart_plan: {
|
|
103040
105919
|
Args: {
|
|
103041
105920
|
p_order_id: string;
|
|
@@ -103063,6 +105942,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103063
105942
|
revision: number;
|
|
103064
105943
|
}[];
|
|
103065
105944
|
};
|
|
105945
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
105946
|
+
Args: never;
|
|
105947
|
+
Returns: boolean;
|
|
105948
|
+
};
|
|
103066
105949
|
logistics_floriday_finish_push: {
|
|
103067
105950
|
Args: {
|
|
103068
105951
|
_error?: string;
|
|
@@ -103214,6 +106097,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103214
106097
|
};
|
|
103215
106098
|
Returns: number;
|
|
103216
106099
|
};
|
|
106100
|
+
logistics_merge_partial_carts: {
|
|
106101
|
+
Args: {
|
|
106102
|
+
p_limit?: number;
|
|
106103
|
+
};
|
|
106104
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106105
|
+
};
|
|
103217
106106
|
logistics_next_workday_date: {
|
|
103218
106107
|
Args: {
|
|
103219
106108
|
p_date: string;
|
|
@@ -103300,6 +106189,12 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103300
106189
|
};
|
|
103301
106190
|
Returns: string;
|
|
103302
106191
|
};
|
|
106192
|
+
logistics_payload_is_floriday: {
|
|
106193
|
+
Args: {
|
|
106194
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
106195
|
+
};
|
|
106196
|
+
Returns: boolean;
|
|
106197
|
+
};
|
|
103303
106198
|
logistics_pick_agenda: {
|
|
103304
106199
|
Args: {
|
|
103305
106200
|
p_from?: string;
|
|
@@ -103328,6 +106223,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103328
106223
|
Args: never;
|
|
103329
106224
|
Returns: import("../integrations/supabase/types").Json;
|
|
103330
106225
|
};
|
|
106226
|
+
logistics_pick_partial_mode: {
|
|
106227
|
+
Args: never;
|
|
106228
|
+
Returns: string;
|
|
106229
|
+
};
|
|
103331
106230
|
logistics_pick_start_estimate: {
|
|
103332
106231
|
Args: {
|
|
103333
106232
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -103418,6 +106317,20 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103418
106317
|
Args: never;
|
|
103419
106318
|
Returns: undefined;
|
|
103420
106319
|
};
|
|
106320
|
+
logistics_plan_progress: {
|
|
106321
|
+
Args: {
|
|
106322
|
+
p_refs: string[];
|
|
106323
|
+
};
|
|
106324
|
+
Returns: {
|
|
106325
|
+
cart_plan_ready: boolean;
|
|
106326
|
+
cart_plan_reason: string;
|
|
106327
|
+
cart_plan_released: boolean;
|
|
106328
|
+
plan_progress: number;
|
|
106329
|
+
plan_state: string;
|
|
106330
|
+
plan_state_since: string;
|
|
106331
|
+
unit_ref: string;
|
|
106332
|
+
}[];
|
|
106333
|
+
};
|
|
103421
106334
|
logistics_plan_prune: {
|
|
103422
106335
|
Args: never;
|
|
103423
106336
|
Returns: number;
|
|
@@ -103439,6 +106352,18 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103439
106352
|
};
|
|
103440
106353
|
Returns: number;
|
|
103441
106354
|
};
|
|
106355
|
+
logistics_plan_state_for: {
|
|
106356
|
+
Args: {
|
|
106357
|
+
p_ref: string;
|
|
106358
|
+
};
|
|
106359
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106360
|
+
};
|
|
106361
|
+
logistics_prepare_pick_documents: {
|
|
106362
|
+
Args: {
|
|
106363
|
+
p_limit?: number;
|
|
106364
|
+
};
|
|
106365
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106366
|
+
};
|
|
103442
106367
|
logistics_prune_buffer_member_queue: {
|
|
103443
106368
|
Args: never;
|
|
103444
106369
|
Returns: number;
|
|
@@ -103479,18 +106404,36 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103479
106404
|
Args: never;
|
|
103480
106405
|
Returns: import("../integrations/supabase/types").Json;
|
|
103481
106406
|
};
|
|
106407
|
+
logistics_refresh_pick_queue_status: {
|
|
106408
|
+
Args: {
|
|
106409
|
+
p_ref: string;
|
|
106410
|
+
};
|
|
106411
|
+
Returns: number;
|
|
106412
|
+
};
|
|
103482
106413
|
logistics_refresh_pickup_moments: {
|
|
103483
106414
|
Args: {
|
|
103484
106415
|
p_weeks?: number;
|
|
103485
106416
|
};
|
|
103486
106417
|
Returns: import("../integrations/supabase/types").Json;
|
|
103487
106418
|
};
|
|
106419
|
+
logistics_refresh_plan_state: {
|
|
106420
|
+
Args: {
|
|
106421
|
+
p_limit?: number;
|
|
106422
|
+
};
|
|
106423
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106424
|
+
};
|
|
103488
106425
|
logistics_replan_all: {
|
|
103489
106426
|
Args: {
|
|
103490
106427
|
p_reason?: string;
|
|
103491
106428
|
};
|
|
103492
106429
|
Returns: import("../integrations/supabase/types").Json;
|
|
103493
106430
|
};
|
|
106431
|
+
logistics_replan_all_force: {
|
|
106432
|
+
Args: {
|
|
106433
|
+
p_reason?: string;
|
|
106434
|
+
};
|
|
106435
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106436
|
+
};
|
|
103494
106437
|
logistics_report_delay: {
|
|
103495
106438
|
Args: {
|
|
103496
106439
|
p_expected_date?: string;
|
|
@@ -103647,6 +106590,74 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103647
106590
|
};
|
|
103648
106591
|
Returns: import("../integrations/supabase/types").Json;
|
|
103649
106592
|
};
|
|
106593
|
+
logistics_shipping_note_job_for_slip: {
|
|
106594
|
+
Args: {
|
|
106595
|
+
_slip_job_id: string;
|
|
106596
|
+
};
|
|
106597
|
+
Returns: string;
|
|
106598
|
+
};
|
|
106599
|
+
logistics_shipping_notes_wake_all: {
|
|
106600
|
+
Args: never;
|
|
106601
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106602
|
+
};
|
|
106603
|
+
logistics_slip_is_floriday: {
|
|
106604
|
+
Args: {
|
|
106605
|
+
_slip_job_id: string;
|
|
106606
|
+
};
|
|
106607
|
+
Returns: boolean;
|
|
106608
|
+
};
|
|
106609
|
+
logistics_slip_note_claim: {
|
|
106610
|
+
Args: {
|
|
106611
|
+
_lease_seconds?: number;
|
|
106612
|
+
_limit?: number;
|
|
106613
|
+
};
|
|
106614
|
+
Returns: {
|
|
106615
|
+
attempts: number;
|
|
106616
|
+
batch_key: string | null;
|
|
106617
|
+
cart_id: string | null;
|
|
106618
|
+
created_at: string;
|
|
106619
|
+
error: string | null;
|
|
106620
|
+
error_code: string | null;
|
|
106621
|
+
fulfillment_order_id: string | null;
|
|
106622
|
+
id: string;
|
|
106623
|
+
locked_until: string | null;
|
|
106624
|
+
next_attempt_at: string | null;
|
|
106625
|
+
order_id: string | null;
|
|
106626
|
+
order_number: string | null;
|
|
106627
|
+
print_job_id: string | null;
|
|
106628
|
+
printer_id: string | null;
|
|
106629
|
+
retry_class: string | null;
|
|
106630
|
+
slip_job_id: string;
|
|
106631
|
+
status: string;
|
|
106632
|
+
updated_at: string;
|
|
106633
|
+
}[];
|
|
106634
|
+
SetofOptions: {
|
|
106635
|
+
from: "*";
|
|
106636
|
+
to: "logistics_slip_shipping_note";
|
|
106637
|
+
isOneToOne: false;
|
|
106638
|
+
isSetofReturn: true;
|
|
106639
|
+
};
|
|
106640
|
+
};
|
|
106641
|
+
logistics_slip_note_finish: {
|
|
106642
|
+
Args: {
|
|
106643
|
+
_error?: string;
|
|
106644
|
+
_error_code?: string;
|
|
106645
|
+
_fulfillment_order_id?: string;
|
|
106646
|
+
_id: string;
|
|
106647
|
+
_ok: boolean;
|
|
106648
|
+
_print_job_id?: string;
|
|
106649
|
+
_status?: string;
|
|
106650
|
+
};
|
|
106651
|
+
Returns: undefined;
|
|
106652
|
+
};
|
|
106653
|
+
logistics_slip_note_keep_waiting: {
|
|
106654
|
+
Args: {
|
|
106655
|
+
_class?: string;
|
|
106656
|
+
_id: string;
|
|
106657
|
+
_reason: string;
|
|
106658
|
+
};
|
|
106659
|
+
Returns: undefined;
|
|
106660
|
+
};
|
|
103650
106661
|
logistics_sticker_follows_slip: {
|
|
103651
106662
|
Args: never;
|
|
103652
106663
|
Returns: boolean;
|
|
@@ -103701,6 +106712,40 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
103701
106712
|
name: string;
|
|
103702
106713
|
}[];
|
|
103703
106714
|
};
|
|
106715
|
+
logistics_trace: {
|
|
106716
|
+
Args: {
|
|
106717
|
+
p: import("../integrations/supabase/types").Json;
|
|
106718
|
+
};
|
|
106719
|
+
Returns: string;
|
|
106720
|
+
};
|
|
106721
|
+
logistics_trace_batch: {
|
|
106722
|
+
Args: {
|
|
106723
|
+
p: import("../integrations/supabase/types").Json;
|
|
106724
|
+
};
|
|
106725
|
+
Returns: number;
|
|
106726
|
+
};
|
|
106727
|
+
logistics_trace_orders: {
|
|
106728
|
+
Args: {
|
|
106729
|
+
p_limit?: number;
|
|
106730
|
+
p_search?: string;
|
|
106731
|
+
p_since?: string;
|
|
106732
|
+
p_status?: string;
|
|
106733
|
+
};
|
|
106734
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106735
|
+
};
|
|
106736
|
+
logistics_trace_redact: {
|
|
106737
|
+
Args: {
|
|
106738
|
+
p: import("../integrations/supabase/types").Json;
|
|
106739
|
+
};
|
|
106740
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106741
|
+
};
|
|
106742
|
+
logistics_trace_timeline: {
|
|
106743
|
+
Args: {
|
|
106744
|
+
p_limit?: number;
|
|
106745
|
+
p_order_ref: string;
|
|
106746
|
+
};
|
|
106747
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106748
|
+
};
|
|
103704
106749
|
logistics_upsert_task: {
|
|
103705
106750
|
Args: {
|
|
103706
106751
|
p_buffer_ref: string;
|
|
@@ -104742,6 +107787,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
104742
107787
|
};
|
|
104743
107788
|
Returns: undefined;
|
|
104744
107789
|
};
|
|
107790
|
+
prune_floriday_api_log: {
|
|
107791
|
+
Args: never;
|
|
107792
|
+
Returns: number;
|
|
107793
|
+
};
|
|
104745
107794
|
quote_create_from_source: {
|
|
104746
107795
|
Args: {
|
|
104747
107796
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -105175,6 +108224,13 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
105175
108224
|
};
|
|
105176
108225
|
Returns: number;
|
|
105177
108226
|
};
|
|
108227
|
+
schedule_floriday_catalog_prices_sync: {
|
|
108228
|
+
Args: {
|
|
108229
|
+
p_apikey: string;
|
|
108230
|
+
p_url: string;
|
|
108231
|
+
};
|
|
108232
|
+
Returns: number;
|
|
108233
|
+
};
|
|
105178
108234
|
schedule_floriday_clock_presales_sync: {
|
|
105179
108235
|
Args: {
|
|
105180
108236
|
p_apikey: string;
|
|
@@ -105475,6 +108531,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
105475
108531
|
};
|
|
105476
108532
|
Returns: undefined;
|
|
105477
108533
|
};
|
|
108534
|
+
sync_floriday_prices_into_price_groups: {
|
|
108535
|
+
Args: never;
|
|
108536
|
+
Returns: number;
|
|
108537
|
+
};
|
|
105478
108538
|
sync_layer_stock: {
|
|
105479
108539
|
Args: {
|
|
105480
108540
|
p_product_id: string;
|
|
@@ -105607,6 +108667,10 @@ export declare const getOrderInvoiceMoment: import("@tanstack/start-client-core"
|
|
|
105607
108667
|
Args: never;
|
|
105608
108668
|
Returns: string;
|
|
105609
108669
|
};
|
|
108670
|
+
voorraad_cleanup_old_rows: {
|
|
108671
|
+
Args: never;
|
|
108672
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
108673
|
+
};
|
|
105610
108674
|
wake_print_queue: {
|
|
105611
108675
|
Args: {
|
|
105612
108676
|
_min_interval_ms?: number;
|