@flowselections/floriday-voorraad 1.0.41 → 1.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +15 -11
- package/dist-lib/components/voorraad/OrderHistoryCard.js +2 -2
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +7 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/StockMutationHistoryCard.js +134 -0
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.js +90 -12
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.js +1 -1
- package/dist-lib/hooks/useFloriday.d.ts.map +1 -1
- package/dist-lib/hooks/useFloriday.js +5 -2
- package/dist-lib/hooks/useStockPushJobs.d.ts +2 -0
- package/dist-lib/hooks/useStockPushJobs.d.ts.map +1 -1
- package/dist-lib/hooks/useStockPushJobs.js +18 -5
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1001 -15
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1001 -15
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1001 -15
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1001 -10
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +1001 -15
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts +1 -1
- package/dist-lib/lib/floriday-2026v1.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-2026v1.server.js +10 -0
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +1001 -15
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +1972 -0
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +5916 -0
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts +7 -1
- package/dist-lib/lib/floriday-gateway.server.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.server.js +50 -3
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +1972 -0
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +2958 -0
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-write-gate.server.d.ts +60 -0
- package/dist-lib/lib/floriday-write-gate.server.d.ts.map +1 -0
- package/dist-lib/lib/floriday-write-gate.server.js +196 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts +1972 -0
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +1972 -0
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/module-health.functions.d.ts +1092 -0
- package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.d.ts +1972 -0
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2238,6 +2238,45 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
2238
2238
|
};
|
|
2239
2239
|
Relationships: [];
|
|
2240
2240
|
};
|
|
2241
|
+
customer_product_stickers: {
|
|
2242
|
+
Row: {
|
|
2243
|
+
created_at: string;
|
|
2244
|
+
customer_key: string;
|
|
2245
|
+
file_name: string;
|
|
2246
|
+
file_path: string;
|
|
2247
|
+
file_size: number | null;
|
|
2248
|
+
id: string;
|
|
2249
|
+
mime_type: string | null;
|
|
2250
|
+
trade_item_key: string;
|
|
2251
|
+
updated_at: string;
|
|
2252
|
+
uploaded_by: string | null;
|
|
2253
|
+
};
|
|
2254
|
+
Insert: {
|
|
2255
|
+
created_at?: string;
|
|
2256
|
+
customer_key: string;
|
|
2257
|
+
file_name: string;
|
|
2258
|
+
file_path: string;
|
|
2259
|
+
file_size?: number | null;
|
|
2260
|
+
id?: string;
|
|
2261
|
+
mime_type?: string | null;
|
|
2262
|
+
trade_item_key: string;
|
|
2263
|
+
updated_at?: string;
|
|
2264
|
+
uploaded_by?: string | null;
|
|
2265
|
+
};
|
|
2266
|
+
Update: {
|
|
2267
|
+
created_at?: string;
|
|
2268
|
+
customer_key?: string;
|
|
2269
|
+
file_name?: string;
|
|
2270
|
+
file_path?: string;
|
|
2271
|
+
file_size?: number | null;
|
|
2272
|
+
id?: string;
|
|
2273
|
+
mime_type?: string | null;
|
|
2274
|
+
trade_item_key?: string;
|
|
2275
|
+
updated_at?: string;
|
|
2276
|
+
uploaded_by?: string | null;
|
|
2277
|
+
};
|
|
2278
|
+
Relationships: [];
|
|
2279
|
+
};
|
|
2241
2280
|
customer_selected_assortment: {
|
|
2242
2281
|
Row: {
|
|
2243
2282
|
article_number: string | null;
|
|
@@ -2286,6 +2325,30 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
2286
2325
|
referencedColumns: ["id"];
|
|
2287
2326
|
}];
|
|
2288
2327
|
};
|
|
2328
|
+
customer_sticker_settings: {
|
|
2329
|
+
Row: {
|
|
2330
|
+
created_at: string;
|
|
2331
|
+
customer_key: string;
|
|
2332
|
+
height_mm: number;
|
|
2333
|
+
updated_at: string;
|
|
2334
|
+
width_mm: number;
|
|
2335
|
+
};
|
|
2336
|
+
Insert: {
|
|
2337
|
+
created_at?: string;
|
|
2338
|
+
customer_key: string;
|
|
2339
|
+
height_mm?: number;
|
|
2340
|
+
updated_at?: string;
|
|
2341
|
+
width_mm?: number;
|
|
2342
|
+
};
|
|
2343
|
+
Update: {
|
|
2344
|
+
created_at?: string;
|
|
2345
|
+
customer_key?: string;
|
|
2346
|
+
height_mm?: number;
|
|
2347
|
+
updated_at?: string;
|
|
2348
|
+
width_mm?: number;
|
|
2349
|
+
};
|
|
2350
|
+
Relationships: [];
|
|
2351
|
+
};
|
|
2289
2352
|
customer_trade_settings: {
|
|
2290
2353
|
Row: {
|
|
2291
2354
|
category: string;
|
|
@@ -5616,6 +5679,102 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
5616
5679
|
referencedColumns: ["id"];
|
|
5617
5680
|
}];
|
|
5618
5681
|
};
|
|
5682
|
+
floriday_api_log: {
|
|
5683
|
+
Row: {
|
|
5684
|
+
action: string | null;
|
|
5685
|
+
caller: string | null;
|
|
5686
|
+
connection_id: string | null;
|
|
5687
|
+
created_at: string;
|
|
5688
|
+
cursor_from: number | null;
|
|
5689
|
+
direction: string;
|
|
5690
|
+
duration_ms: number | null;
|
|
5691
|
+
environment: string | null;
|
|
5692
|
+
error: string | null;
|
|
5693
|
+
floriday_id: string | null;
|
|
5694
|
+
floriday_reference: string | null;
|
|
5695
|
+
http_status: number;
|
|
5696
|
+
id: string;
|
|
5697
|
+
item_count: number | null;
|
|
5698
|
+
kind: string | null;
|
|
5699
|
+
local_id: string | null;
|
|
5700
|
+
local_reference: string | null;
|
|
5701
|
+
method: string;
|
|
5702
|
+
module: string | null;
|
|
5703
|
+
ok: boolean;
|
|
5704
|
+
path: string;
|
|
5705
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5706
|
+
resource_type: string | null;
|
|
5707
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5708
|
+
write_log_id: string | null;
|
|
5709
|
+
};
|
|
5710
|
+
Insert: {
|
|
5711
|
+
action?: string | null;
|
|
5712
|
+
caller?: string | null;
|
|
5713
|
+
connection_id?: string | null;
|
|
5714
|
+
created_at?: string;
|
|
5715
|
+
cursor_from?: number | null;
|
|
5716
|
+
direction: string;
|
|
5717
|
+
duration_ms?: number | null;
|
|
5718
|
+
environment?: string | null;
|
|
5719
|
+
error?: string | null;
|
|
5720
|
+
floriday_id?: string | null;
|
|
5721
|
+
floriday_reference?: string | null;
|
|
5722
|
+
http_status?: number;
|
|
5723
|
+
id?: string;
|
|
5724
|
+
item_count?: number | null;
|
|
5725
|
+
kind?: string | null;
|
|
5726
|
+
local_id?: string | null;
|
|
5727
|
+
local_reference?: string | null;
|
|
5728
|
+
method: string;
|
|
5729
|
+
module?: string | null;
|
|
5730
|
+
ok?: boolean;
|
|
5731
|
+
path: string;
|
|
5732
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5733
|
+
resource_type?: string | null;
|
|
5734
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5735
|
+
write_log_id?: string | null;
|
|
5736
|
+
};
|
|
5737
|
+
Update: {
|
|
5738
|
+
action?: string | null;
|
|
5739
|
+
caller?: string | null;
|
|
5740
|
+
connection_id?: string | null;
|
|
5741
|
+
created_at?: string;
|
|
5742
|
+
cursor_from?: number | null;
|
|
5743
|
+
direction?: string;
|
|
5744
|
+
duration_ms?: number | null;
|
|
5745
|
+
environment?: string | null;
|
|
5746
|
+
error?: string | null;
|
|
5747
|
+
floriday_id?: string | null;
|
|
5748
|
+
floriday_reference?: string | null;
|
|
5749
|
+
http_status?: number;
|
|
5750
|
+
id?: string;
|
|
5751
|
+
item_count?: number | null;
|
|
5752
|
+
kind?: string | null;
|
|
5753
|
+
local_id?: string | null;
|
|
5754
|
+
local_reference?: string | null;
|
|
5755
|
+
method?: string;
|
|
5756
|
+
module?: string | null;
|
|
5757
|
+
ok?: boolean;
|
|
5758
|
+
path?: string;
|
|
5759
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5760
|
+
resource_type?: string | null;
|
|
5761
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5762
|
+
write_log_id?: string | null;
|
|
5763
|
+
};
|
|
5764
|
+
Relationships: [{
|
|
5765
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5766
|
+
columns: ["connection_id"];
|
|
5767
|
+
isOneToOne: false;
|
|
5768
|
+
referencedRelation: "floriday_connections";
|
|
5769
|
+
referencedColumns: ["id"];
|
|
5770
|
+
}, {
|
|
5771
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5772
|
+
columns: ["write_log_id"];
|
|
5773
|
+
isOneToOne: false;
|
|
5774
|
+
referencedRelation: "floriday_write_log";
|
|
5775
|
+
referencedColumns: ["id"];
|
|
5776
|
+
}];
|
|
5777
|
+
};
|
|
5619
5778
|
floriday_auction_letters_cache: {
|
|
5620
5779
|
Row: {
|
|
5621
5780
|
auction_letter_code: string;
|
|
@@ -5823,6 +5982,84 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
5823
5982
|
referencedColumns: ["id"];
|
|
5824
5983
|
}];
|
|
5825
5984
|
};
|
|
5985
|
+
floriday_catalog_prices_cache: {
|
|
5986
|
+
Row: {
|
|
5987
|
+
connection_id: string;
|
|
5988
|
+
created_at: string;
|
|
5989
|
+
currency: string;
|
|
5990
|
+
id: string;
|
|
5991
|
+
is_deleted: boolean;
|
|
5992
|
+
price: number | null;
|
|
5993
|
+
price_group_id: string | null;
|
|
5994
|
+
price_group_name: string | null;
|
|
5995
|
+
price_type: string;
|
|
5996
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
5997
|
+
sales_unit: string | null;
|
|
5998
|
+
sequence_number: number;
|
|
5999
|
+
supplier_article_code: string | null;
|
|
6000
|
+
supply_line_id: string;
|
|
6001
|
+
synced_at: string;
|
|
6002
|
+
trade_item_id: string | null;
|
|
6003
|
+
updated_at: string;
|
|
6004
|
+
valid_from: string | null;
|
|
6005
|
+
valid_to: string | null;
|
|
6006
|
+
week: number | null;
|
|
6007
|
+
year: number | null;
|
|
6008
|
+
};
|
|
6009
|
+
Insert: {
|
|
6010
|
+
connection_id: string;
|
|
6011
|
+
created_at?: string;
|
|
6012
|
+
currency?: string;
|
|
6013
|
+
id?: string;
|
|
6014
|
+
is_deleted?: boolean;
|
|
6015
|
+
price?: number | null;
|
|
6016
|
+
price_group_id?: string | null;
|
|
6017
|
+
price_group_name?: string | null;
|
|
6018
|
+
price_type?: string;
|
|
6019
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6020
|
+
sales_unit?: string | null;
|
|
6021
|
+
sequence_number?: number;
|
|
6022
|
+
supplier_article_code?: string | null;
|
|
6023
|
+
supply_line_id: string;
|
|
6024
|
+
synced_at?: string;
|
|
6025
|
+
trade_item_id?: string | null;
|
|
6026
|
+
updated_at?: string;
|
|
6027
|
+
valid_from?: string | null;
|
|
6028
|
+
valid_to?: string | null;
|
|
6029
|
+
week?: number | null;
|
|
6030
|
+
year?: number | null;
|
|
6031
|
+
};
|
|
6032
|
+
Update: {
|
|
6033
|
+
connection_id?: string;
|
|
6034
|
+
created_at?: string;
|
|
6035
|
+
currency?: string;
|
|
6036
|
+
id?: string;
|
|
6037
|
+
is_deleted?: boolean;
|
|
6038
|
+
price?: number | null;
|
|
6039
|
+
price_group_id?: string | null;
|
|
6040
|
+
price_group_name?: string | null;
|
|
6041
|
+
price_type?: string;
|
|
6042
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6043
|
+
sales_unit?: string | null;
|
|
6044
|
+
sequence_number?: number;
|
|
6045
|
+
supplier_article_code?: string | null;
|
|
6046
|
+
supply_line_id?: string;
|
|
6047
|
+
synced_at?: string;
|
|
6048
|
+
trade_item_id?: string | null;
|
|
6049
|
+
updated_at?: string;
|
|
6050
|
+
valid_from?: string | null;
|
|
6051
|
+
valid_to?: string | null;
|
|
6052
|
+
week?: number | null;
|
|
6053
|
+
year?: number | null;
|
|
6054
|
+
};
|
|
6055
|
+
Relationships: [{
|
|
6056
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6057
|
+
columns: ["connection_id"];
|
|
6058
|
+
isOneToOne: false;
|
|
6059
|
+
referencedRelation: "floriday_connections";
|
|
6060
|
+
referencedColumns: ["id"];
|
|
6061
|
+
}];
|
|
6062
|
+
};
|
|
5826
6063
|
floriday_clock_presales_cache: {
|
|
5827
6064
|
Row: {
|
|
5828
6065
|
buyer_organization_id: string | null;
|
|
@@ -6738,6 +6975,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
6738
6975
|
referencedColumns: ["id"];
|
|
6739
6976
|
}];
|
|
6740
6977
|
};
|
|
6978
|
+
floriday_link_templates: {
|
|
6979
|
+
Row: {
|
|
6980
|
+
created_at: string;
|
|
6981
|
+
floriday_url_template: string | null;
|
|
6982
|
+
is_active: boolean;
|
|
6983
|
+
label: string;
|
|
6984
|
+
local_url_template: string | null;
|
|
6985
|
+
resource_type: string;
|
|
6986
|
+
updated_at: string;
|
|
6987
|
+
};
|
|
6988
|
+
Insert: {
|
|
6989
|
+
created_at?: string;
|
|
6990
|
+
floriday_url_template?: string | null;
|
|
6991
|
+
is_active?: boolean;
|
|
6992
|
+
label: string;
|
|
6993
|
+
local_url_template?: string | null;
|
|
6994
|
+
resource_type: string;
|
|
6995
|
+
updated_at?: string;
|
|
6996
|
+
};
|
|
6997
|
+
Update: {
|
|
6998
|
+
created_at?: string;
|
|
6999
|
+
floriday_url_template?: string | null;
|
|
7000
|
+
is_active?: boolean;
|
|
7001
|
+
label?: string;
|
|
7002
|
+
local_url_template?: string | null;
|
|
7003
|
+
resource_type?: string;
|
|
7004
|
+
updated_at?: string;
|
|
7005
|
+
};
|
|
7006
|
+
Relationships: [];
|
|
7007
|
+
};
|
|
7008
|
+
floriday_log_retention: {
|
|
7009
|
+
Row: {
|
|
7010
|
+
created_at: string;
|
|
7011
|
+
direction: string | null;
|
|
7012
|
+
id: string;
|
|
7013
|
+
keep_failed_days: number | null;
|
|
7014
|
+
keep_ok_days: number | null;
|
|
7015
|
+
note: string | null;
|
|
7016
|
+
resource_type: string | null;
|
|
7017
|
+
updated_at: string;
|
|
7018
|
+
};
|
|
7019
|
+
Insert: {
|
|
7020
|
+
created_at?: string;
|
|
7021
|
+
direction?: string | null;
|
|
7022
|
+
id?: string;
|
|
7023
|
+
keep_failed_days?: number | null;
|
|
7024
|
+
keep_ok_days?: number | null;
|
|
7025
|
+
note?: string | null;
|
|
7026
|
+
resource_type?: string | null;
|
|
7027
|
+
updated_at?: string;
|
|
7028
|
+
};
|
|
7029
|
+
Update: {
|
|
7030
|
+
created_at?: string;
|
|
7031
|
+
direction?: string | null;
|
|
7032
|
+
id?: string;
|
|
7033
|
+
keep_failed_days?: number | null;
|
|
7034
|
+
keep_ok_days?: number | null;
|
|
7035
|
+
note?: string | null;
|
|
7036
|
+
resource_type?: string | null;
|
|
7037
|
+
updated_at?: string;
|
|
7038
|
+
};
|
|
7039
|
+
Relationships: [];
|
|
7040
|
+
};
|
|
6741
7041
|
floriday_logistic_labels_cache: {
|
|
6742
7042
|
Row: {
|
|
6743
7043
|
byte_size: number | null;
|
|
@@ -10091,22 +10391,31 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
10091
10391
|
};
|
|
10092
10392
|
logistics_floriday_push_refusals: {
|
|
10093
10393
|
Row: {
|
|
10394
|
+
action: string | null;
|
|
10094
10395
|
created_at: string;
|
|
10095
10396
|
id: string;
|
|
10096
10397
|
order_ref: string;
|
|
10097
10398
|
reason: string;
|
|
10399
|
+
source_module: string | null;
|
|
10400
|
+
source_shell: string | null;
|
|
10098
10401
|
};
|
|
10099
10402
|
Insert: {
|
|
10403
|
+
action?: string | null;
|
|
10100
10404
|
created_at?: string;
|
|
10101
10405
|
id?: string;
|
|
10102
10406
|
order_ref: string;
|
|
10103
10407
|
reason: string;
|
|
10408
|
+
source_module?: string | null;
|
|
10409
|
+
source_shell?: string | null;
|
|
10104
10410
|
};
|
|
10105
10411
|
Update: {
|
|
10412
|
+
action?: string | null;
|
|
10106
10413
|
created_at?: string;
|
|
10107
10414
|
id?: string;
|
|
10108
10415
|
order_ref?: string;
|
|
10109
10416
|
reason?: string;
|
|
10417
|
+
source_module?: string | null;
|
|
10418
|
+
source_shell?: string | null;
|
|
10110
10419
|
};
|
|
10111
10420
|
Relationships: [];
|
|
10112
10421
|
};
|
|
@@ -10185,6 +10494,42 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
10185
10494
|
};
|
|
10186
10495
|
Relationships: [];
|
|
10187
10496
|
};
|
|
10497
|
+
logistics_floriday_status_sends: {
|
|
10498
|
+
Row: {
|
|
10499
|
+
action: string;
|
|
10500
|
+
created_at: string;
|
|
10501
|
+
detail: string | null;
|
|
10502
|
+
http_status: number | null;
|
|
10503
|
+
id: string;
|
|
10504
|
+
ok: boolean;
|
|
10505
|
+
order_ref: string;
|
|
10506
|
+
source_module: string | null;
|
|
10507
|
+
source_shell: string | null;
|
|
10508
|
+
};
|
|
10509
|
+
Insert: {
|
|
10510
|
+
action: string;
|
|
10511
|
+
created_at?: string;
|
|
10512
|
+
detail?: string | null;
|
|
10513
|
+
http_status?: number | null;
|
|
10514
|
+
id?: string;
|
|
10515
|
+
ok?: boolean;
|
|
10516
|
+
order_ref: string;
|
|
10517
|
+
source_module?: string | null;
|
|
10518
|
+
source_shell?: string | null;
|
|
10519
|
+
};
|
|
10520
|
+
Update: {
|
|
10521
|
+
action?: string;
|
|
10522
|
+
created_at?: string;
|
|
10523
|
+
detail?: string | null;
|
|
10524
|
+
http_status?: number | null;
|
|
10525
|
+
id?: string;
|
|
10526
|
+
ok?: boolean;
|
|
10527
|
+
order_ref?: string;
|
|
10528
|
+
source_module?: string | null;
|
|
10529
|
+
source_shell?: string | null;
|
|
10530
|
+
};
|
|
10531
|
+
Relationships: [];
|
|
10532
|
+
};
|
|
10188
10533
|
logistics_formulas: {
|
|
10189
10534
|
Row: {
|
|
10190
10535
|
created_at: string;
|
|
@@ -10257,6 +10602,108 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
10257
10602
|
};
|
|
10258
10603
|
Relationships: [];
|
|
10259
10604
|
};
|
|
10605
|
+
logistics_opening_exceptions: {
|
|
10606
|
+
Row: {
|
|
10607
|
+
closes: string | null;
|
|
10608
|
+
created_at: string;
|
|
10609
|
+
day: string;
|
|
10610
|
+
id: string;
|
|
10611
|
+
is_closed: boolean;
|
|
10612
|
+
note: string | null;
|
|
10613
|
+
opens: string | null;
|
|
10614
|
+
};
|
|
10615
|
+
Insert: {
|
|
10616
|
+
closes?: string | null;
|
|
10617
|
+
created_at?: string;
|
|
10618
|
+
day: string;
|
|
10619
|
+
id?: string;
|
|
10620
|
+
is_closed?: boolean;
|
|
10621
|
+
note?: string | null;
|
|
10622
|
+
opens?: string | null;
|
|
10623
|
+
};
|
|
10624
|
+
Update: {
|
|
10625
|
+
closes?: string | null;
|
|
10626
|
+
created_at?: string;
|
|
10627
|
+
day?: string;
|
|
10628
|
+
id?: string;
|
|
10629
|
+
is_closed?: boolean;
|
|
10630
|
+
note?: string | null;
|
|
10631
|
+
opens?: string | null;
|
|
10632
|
+
};
|
|
10633
|
+
Relationships: [];
|
|
10634
|
+
};
|
|
10635
|
+
logistics_opening_hours: {
|
|
10636
|
+
Row: {
|
|
10637
|
+
closes: string;
|
|
10638
|
+
created_at: string;
|
|
10639
|
+
id: string;
|
|
10640
|
+
is_active: boolean;
|
|
10641
|
+
note: string | null;
|
|
10642
|
+
opens: string;
|
|
10643
|
+
weekday: number;
|
|
10644
|
+
};
|
|
10645
|
+
Insert: {
|
|
10646
|
+
closes: string;
|
|
10647
|
+
created_at?: string;
|
|
10648
|
+
id?: string;
|
|
10649
|
+
is_active?: boolean;
|
|
10650
|
+
note?: string | null;
|
|
10651
|
+
opens: string;
|
|
10652
|
+
weekday: number;
|
|
10653
|
+
};
|
|
10654
|
+
Update: {
|
|
10655
|
+
closes?: string;
|
|
10656
|
+
created_at?: string;
|
|
10657
|
+
id?: string;
|
|
10658
|
+
is_active?: boolean;
|
|
10659
|
+
note?: string | null;
|
|
10660
|
+
opens?: string;
|
|
10661
|
+
weekday?: number;
|
|
10662
|
+
};
|
|
10663
|
+
Relationships: [];
|
|
10664
|
+
};
|
|
10665
|
+
logistics_pick_data_requests: {
|
|
10666
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
10693
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10694
|
+
created_at?: string;
|
|
10695
|
+
event_id?: string | null;
|
|
10696
|
+
finished_at?: string | null;
|
|
10697
|
+
id?: string;
|
|
10698
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10699
|
+
order_ref?: string;
|
|
10700
|
+
reason?: string | null;
|
|
10701
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10702
|
+
status?: string;
|
|
10703
|
+
unit_ref?: string | null;
|
|
10704
|
+
};
|
|
10705
|
+
Relationships: [];
|
|
10706
|
+
};
|
|
10260
10707
|
logistics_pickup_moments: {
|
|
10261
10708
|
Row: {
|
|
10262
10709
|
carrier_ref: string | null;
|
|
@@ -10716,6 +11163,69 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
10716
11163
|
};
|
|
10717
11164
|
Relationships: [];
|
|
10718
11165
|
};
|
|
11166
|
+
logistics_slip_shipping_note: {
|
|
11167
|
+
Row: {
|
|
11168
|
+
attempts: number;
|
|
11169
|
+
batch_key: string | null;
|
|
11170
|
+
cart_id: string | null;
|
|
11171
|
+
created_at: string;
|
|
11172
|
+
error: string | null;
|
|
11173
|
+
error_code: string | null;
|
|
11174
|
+
fulfillment_order_id: string | null;
|
|
11175
|
+
id: string;
|
|
11176
|
+
locked_until: string | null;
|
|
11177
|
+
next_attempt_at: string | null;
|
|
11178
|
+
order_id: string | null;
|
|
11179
|
+
order_number: string | null;
|
|
11180
|
+
print_job_id: string | null;
|
|
11181
|
+
printer_id: string | null;
|
|
11182
|
+
retry_class: string | null;
|
|
11183
|
+
slip_job_id: string;
|
|
11184
|
+
status: string;
|
|
11185
|
+
updated_at: string;
|
|
11186
|
+
};
|
|
11187
|
+
Insert: {
|
|
11188
|
+
attempts?: number;
|
|
11189
|
+
batch_key?: string | null;
|
|
11190
|
+
cart_id?: string | null;
|
|
11191
|
+
created_at?: string;
|
|
11192
|
+
error?: string | null;
|
|
11193
|
+
error_code?: string | null;
|
|
11194
|
+
fulfillment_order_id?: string | null;
|
|
11195
|
+
id?: string;
|
|
11196
|
+
locked_until?: string | null;
|
|
11197
|
+
next_attempt_at?: string | null;
|
|
11198
|
+
order_id?: string | null;
|
|
11199
|
+
order_number?: string | null;
|
|
11200
|
+
print_job_id?: string | null;
|
|
11201
|
+
printer_id?: string | null;
|
|
11202
|
+
retry_class?: string | null;
|
|
11203
|
+
slip_job_id: string;
|
|
11204
|
+
status?: string;
|
|
11205
|
+
updated_at?: string;
|
|
11206
|
+
};
|
|
11207
|
+
Update: {
|
|
11208
|
+
attempts?: number;
|
|
11209
|
+
batch_key?: string | null;
|
|
11210
|
+
cart_id?: string | null;
|
|
11211
|
+
created_at?: string;
|
|
11212
|
+
error?: string | null;
|
|
11213
|
+
error_code?: string | null;
|
|
11214
|
+
fulfillment_order_id?: string | null;
|
|
11215
|
+
id?: string;
|
|
11216
|
+
locked_until?: string | null;
|
|
11217
|
+
next_attempt_at?: string | null;
|
|
11218
|
+
order_id?: string | null;
|
|
11219
|
+
order_number?: string | null;
|
|
11220
|
+
print_job_id?: string | null;
|
|
11221
|
+
printer_id?: string | null;
|
|
11222
|
+
retry_class?: string | null;
|
|
11223
|
+
slip_job_id?: string;
|
|
11224
|
+
status?: string;
|
|
11225
|
+
updated_at?: string;
|
|
11226
|
+
};
|
|
11227
|
+
Relationships: [];
|
|
11228
|
+
};
|
|
10719
11229
|
logistics_staff_planning: {
|
|
10720
11230
|
Row: {
|
|
10721
11231
|
created_at: string;
|
|
@@ -11049,6 +11559,129 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
11049
11559
|
};
|
|
11050
11560
|
Relationships: [];
|
|
11051
11561
|
};
|
|
11562
|
+
logistics_time_settings: {
|
|
11563
|
+
Row: {
|
|
11564
|
+
id: boolean;
|
|
11565
|
+
timezone: string;
|
|
11566
|
+
updated_at: string;
|
|
11567
|
+
};
|
|
11568
|
+
Insert: {
|
|
11569
|
+
id?: boolean;
|
|
11570
|
+
timezone: string;
|
|
11571
|
+
updated_at?: string;
|
|
11572
|
+
};
|
|
11573
|
+
Update: {
|
|
11574
|
+
id?: boolean;
|
|
11575
|
+
timezone?: string;
|
|
11576
|
+
updated_at?: string;
|
|
11577
|
+
};
|
|
11578
|
+
Relationships: [];
|
|
11579
|
+
};
|
|
11580
|
+
logistics_trace_events: {
|
|
11581
|
+
Row: {
|
|
11582
|
+
actor: string | null;
|
|
11583
|
+
attempts: number;
|
|
11584
|
+
cart_ref: string | null;
|
|
11585
|
+
created_at: string;
|
|
11586
|
+
db_action: string | null;
|
|
11587
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11588
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11589
|
+
db_record: string | null;
|
|
11590
|
+
db_table: string | null;
|
|
11591
|
+
decision: string | null;
|
|
11592
|
+
duration_ms: number | null;
|
|
11593
|
+
error: string | null;
|
|
11594
|
+
external_action: string | null;
|
|
11595
|
+
external_ref: string | null;
|
|
11596
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11597
|
+
external_status: string | null;
|
|
11598
|
+
external_system: string | null;
|
|
11599
|
+
id: string;
|
|
11600
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11601
|
+
next_attempt_at: string | null;
|
|
11602
|
+
order_ref: string | null;
|
|
11603
|
+
order_source: string | null;
|
|
11604
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11605
|
+
phase: string;
|
|
11606
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11607
|
+
reason: string | null;
|
|
11608
|
+
rule: string | null;
|
|
11609
|
+
slip_ref: string | null;
|
|
11610
|
+
status: string;
|
|
11611
|
+
step: string;
|
|
11612
|
+
trace_id: string;
|
|
11613
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11614
|
+
};
|
|
11615
|
+
Insert: {
|
|
11616
|
+
actor?: string | null;
|
|
11617
|
+
attempts?: number;
|
|
11618
|
+
cart_ref?: string | null;
|
|
11619
|
+
created_at?: string;
|
|
11620
|
+
db_action?: string | null;
|
|
11621
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11622
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11623
|
+
db_record?: string | null;
|
|
11624
|
+
db_table?: string | null;
|
|
11625
|
+
decision?: string | null;
|
|
11626
|
+
duration_ms?: number | null;
|
|
11627
|
+
error?: string | null;
|
|
11628
|
+
external_action?: string | null;
|
|
11629
|
+
external_ref?: string | null;
|
|
11630
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11631
|
+
external_status?: string | null;
|
|
11632
|
+
external_system?: string | null;
|
|
11633
|
+
id?: string;
|
|
11634
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11635
|
+
next_attempt_at?: string | null;
|
|
11636
|
+
order_ref?: string | null;
|
|
11637
|
+
order_source?: string | null;
|
|
11638
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11639
|
+
phase: string;
|
|
11640
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11641
|
+
reason?: string | null;
|
|
11642
|
+
rule?: string | null;
|
|
11643
|
+
slip_ref?: string | null;
|
|
11644
|
+
status: string;
|
|
11645
|
+
step: string;
|
|
11646
|
+
trace_id?: string;
|
|
11647
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11648
|
+
};
|
|
11649
|
+
Update: {
|
|
11650
|
+
actor?: string | null;
|
|
11651
|
+
attempts?: number;
|
|
11652
|
+
cart_ref?: string | null;
|
|
11653
|
+
created_at?: string;
|
|
11654
|
+
db_action?: string | null;
|
|
11655
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11656
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11657
|
+
db_record?: string | null;
|
|
11658
|
+
db_table?: string | null;
|
|
11659
|
+
decision?: string | null;
|
|
11660
|
+
duration_ms?: number | null;
|
|
11661
|
+
error?: string | null;
|
|
11662
|
+
external_action?: string | null;
|
|
11663
|
+
external_ref?: string | null;
|
|
11664
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11665
|
+
external_status?: string | null;
|
|
11666
|
+
external_system?: string | null;
|
|
11667
|
+
id?: string;
|
|
11668
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11669
|
+
next_attempt_at?: string | null;
|
|
11670
|
+
order_ref?: string | null;
|
|
11671
|
+
order_source?: string | null;
|
|
11672
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11673
|
+
phase?: string;
|
|
11674
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11675
|
+
reason?: string | null;
|
|
11676
|
+
rule?: string | null;
|
|
11677
|
+
slip_ref?: string | null;
|
|
11678
|
+
status?: string;
|
|
11679
|
+
step?: string;
|
|
11680
|
+
trace_id?: string;
|
|
11681
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11682
|
+
};
|
|
11683
|
+
Relationships: [];
|
|
11684
|
+
};
|
|
11052
11685
|
logistics_variables: {
|
|
11053
11686
|
Row: {
|
|
11054
11687
|
created_at: string;
|
|
@@ -13439,6 +14072,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
13439
14072
|
customer_name: string;
|
|
13440
14073
|
deleted_at: string | null;
|
|
13441
14074
|
delivery_date: string | null;
|
|
14075
|
+
floriday_order_group_key: string | null;
|
|
13442
14076
|
floriday_sales_order_id: string | null;
|
|
13443
14077
|
id: string;
|
|
13444
14078
|
invoice_due_at: string | null;
|
|
@@ -13466,6 +14100,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
13466
14100
|
customer_name?: string;
|
|
13467
14101
|
deleted_at?: string | null;
|
|
13468
14102
|
delivery_date?: string | null;
|
|
14103
|
+
floriday_order_group_key?: string | null;
|
|
13469
14104
|
floriday_sales_order_id?: string | null;
|
|
13470
14105
|
id?: string;
|
|
13471
14106
|
invoice_due_at?: string | null;
|
|
@@ -13493,6 +14128,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
13493
14128
|
customer_name?: string;
|
|
13494
14129
|
deleted_at?: string | null;
|
|
13495
14130
|
delivery_date?: string | null;
|
|
14131
|
+
floriday_order_group_key?: string | null;
|
|
13496
14132
|
floriday_sales_order_id?: string | null;
|
|
13497
14133
|
id?: string;
|
|
13498
14134
|
invoice_due_at?: string | null;
|
|
@@ -21618,6 +22254,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
21618
22254
|
Args: never;
|
|
21619
22255
|
Returns: boolean;
|
|
21620
22256
|
};
|
|
22257
|
+
cancel_open_print_jobs: {
|
|
22258
|
+
Args: {
|
|
22259
|
+
_cutoff: string;
|
|
22260
|
+
};
|
|
22261
|
+
Returns: {
|
|
22262
|
+
extern_job_id: string;
|
|
22263
|
+
id: string;
|
|
22264
|
+
}[];
|
|
22265
|
+
};
|
|
21621
22266
|
check_offer_product_available_stock: {
|
|
21622
22267
|
Args: {
|
|
21623
22268
|
p_campaign_product_id: string;
|
|
@@ -23156,6 +23801,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23156
23801
|
};
|
|
23157
23802
|
Returns: string;
|
|
23158
23803
|
};
|
|
23804
|
+
logistics_cart_checkin_at: {
|
|
23805
|
+
Args: {
|
|
23806
|
+
p_cart_id: string;
|
|
23807
|
+
};
|
|
23808
|
+
Returns: string;
|
|
23809
|
+
};
|
|
23159
23810
|
logistics_cart_handled: {
|
|
23160
23811
|
Args: {
|
|
23161
23812
|
p_cart_index: number;
|
|
@@ -23189,10 +23840,22 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23189
23840
|
task_status: string;
|
|
23190
23841
|
}[];
|
|
23191
23842
|
};
|
|
23843
|
+
logistics_cart_is_full: {
|
|
23844
|
+
Args: {
|
|
23845
|
+
p_cart_id: string;
|
|
23846
|
+
};
|
|
23847
|
+
Returns: boolean;
|
|
23848
|
+
};
|
|
23192
23849
|
logistics_cart_layout_method: {
|
|
23193
23850
|
Args: never;
|
|
23194
23851
|
Returns: import("../integrations/supabase/types").Json;
|
|
23195
23852
|
};
|
|
23853
|
+
logistics_cart_order_refs: {
|
|
23854
|
+
Args: {
|
|
23855
|
+
p_cart_id: string;
|
|
23856
|
+
};
|
|
23857
|
+
Returns: string[];
|
|
23858
|
+
};
|
|
23196
23859
|
logistics_cart_plan_overview: {
|
|
23197
23860
|
Args: {
|
|
23198
23861
|
p_days?: number;
|
|
@@ -23212,6 +23875,24 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23212
23875
|
};
|
|
23213
23876
|
Returns: import("../integrations/supabase/types").Json;
|
|
23214
23877
|
};
|
|
23878
|
+
logistics_cart_plan_status_core: {
|
|
23879
|
+
Args: {
|
|
23880
|
+
p_ref: string;
|
|
23881
|
+
};
|
|
23882
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23883
|
+
};
|
|
23884
|
+
logistics_cart_release_reason: {
|
|
23885
|
+
Args: {
|
|
23886
|
+
p_cart_id: string;
|
|
23887
|
+
};
|
|
23888
|
+
Returns: string;
|
|
23889
|
+
};
|
|
23890
|
+
logistics_cart_released: {
|
|
23891
|
+
Args: {
|
|
23892
|
+
p_cart_id: string;
|
|
23893
|
+
};
|
|
23894
|
+
Returns: boolean;
|
|
23895
|
+
};
|
|
23215
23896
|
logistics_cart_seq: {
|
|
23216
23897
|
Args: {
|
|
23217
23898
|
p_order_uuid?: string;
|
|
@@ -23262,6 +23943,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23262
23943
|
unit_ref: string;
|
|
23263
23944
|
}[];
|
|
23264
23945
|
};
|
|
23946
|
+
logistics_carts_per_print: {
|
|
23947
|
+
Args: never;
|
|
23948
|
+
Returns: number;
|
|
23949
|
+
};
|
|
23265
23950
|
logistics_check_order_allowed: {
|
|
23266
23951
|
Args: {
|
|
23267
23952
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23365,6 +24050,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23365
24050
|
isSetofReturn: false;
|
|
23366
24051
|
};
|
|
23367
24052
|
};
|
|
24053
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24054
|
+
Args: never;
|
|
24055
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24056
|
+
};
|
|
23368
24057
|
logistics_complete_task: {
|
|
23369
24058
|
Args: {
|
|
23370
24059
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23427,6 +24116,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23427
24116
|
station_carts: number;
|
|
23428
24117
|
}[];
|
|
23429
24118
|
};
|
|
24119
|
+
logistics_control_complete_cart: {
|
|
24120
|
+
Args: {
|
|
24121
|
+
p_cart_id: string;
|
|
24122
|
+
};
|
|
24123
|
+
Returns: number;
|
|
24124
|
+
};
|
|
23430
24125
|
logistics_control_scan_approve: {
|
|
23431
24126
|
Args: {
|
|
23432
24127
|
p_allow_reprint?: boolean;
|
|
@@ -23506,6 +24201,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23506
24201
|
Args: never;
|
|
23507
24202
|
Returns: import("../integrations/supabase/types").Json;
|
|
23508
24203
|
};
|
|
24204
|
+
logistics_day_windows: {
|
|
24205
|
+
Args: {
|
|
24206
|
+
p_day: string;
|
|
24207
|
+
};
|
|
24208
|
+
Returns: {
|
|
24209
|
+
win_end: string;
|
|
24210
|
+
win_start: string;
|
|
24211
|
+
}[];
|
|
24212
|
+
};
|
|
23509
24213
|
logistics_delay_customer_email: {
|
|
23510
24214
|
Args: {
|
|
23511
24215
|
p_customer: string;
|
|
@@ -23573,6 +24277,17 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23573
24277
|
};
|
|
23574
24278
|
Returns: import("../integrations/supabase/types").Json;
|
|
23575
24279
|
};
|
|
24280
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
24281
|
+
Args: {
|
|
24282
|
+
_cart_id: string;
|
|
24283
|
+
_is_herprint: boolean;
|
|
24284
|
+
_printer_id: string;
|
|
24285
|
+
_queue_item_id: string;
|
|
24286
|
+
_session_id: string;
|
|
24287
|
+
_slip_job_id: string;
|
|
24288
|
+
};
|
|
24289
|
+
Returns: string;
|
|
24290
|
+
};
|
|
23576
24291
|
logistics_enqueue_sticker_with_slip: {
|
|
23577
24292
|
Args: {
|
|
23578
24293
|
_cart_id: string;
|
|
@@ -23590,6 +24305,20 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23590
24305
|
};
|
|
23591
24306
|
Returns: string;
|
|
23592
24307
|
};
|
|
24308
|
+
logistics_ensure_pick_data: {
|
|
24309
|
+
Args: {
|
|
24310
|
+
p_event_id?: string;
|
|
24311
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24312
|
+
p_ref: string;
|
|
24313
|
+
};
|
|
24314
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24315
|
+
};
|
|
24316
|
+
logistics_ensure_shipping_notes: {
|
|
24317
|
+
Args: {
|
|
24318
|
+
p_limit?: number;
|
|
24319
|
+
};
|
|
24320
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24321
|
+
};
|
|
23593
24322
|
logistics_fail_task: {
|
|
23594
24323
|
Args: {
|
|
23595
24324
|
p_error: string;
|
|
@@ -23635,6 +24364,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23635
24364
|
isSetofReturn: false;
|
|
23636
24365
|
};
|
|
23637
24366
|
};
|
|
24367
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24368
|
+
Args: never;
|
|
24369
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24370
|
+
};
|
|
23638
24371
|
logistics_floriday_cart_plan: {
|
|
23639
24372
|
Args: {
|
|
23640
24373
|
p_order_id: string;
|
|
@@ -23662,6 +24395,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23662
24395
|
revision: number;
|
|
23663
24396
|
}[];
|
|
23664
24397
|
};
|
|
24398
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24399
|
+
Args: never;
|
|
24400
|
+
Returns: boolean;
|
|
24401
|
+
};
|
|
23665
24402
|
logistics_floriday_finish_push: {
|
|
23666
24403
|
Args: {
|
|
23667
24404
|
_error?: string;
|
|
@@ -23711,6 +24448,32 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23711
24448
|
};
|
|
23712
24449
|
Returns: string;
|
|
23713
24450
|
};
|
|
24451
|
+
logistics_floriday_gate_status: {
|
|
24452
|
+
Args: never;
|
|
24453
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24454
|
+
};
|
|
24455
|
+
logistics_floriday_log_refusal: {
|
|
24456
|
+
Args: {
|
|
24457
|
+
_action?: string;
|
|
24458
|
+
_module?: string;
|
|
24459
|
+
_order_ref: string;
|
|
24460
|
+
_reason: string;
|
|
24461
|
+
_shell?: string;
|
|
24462
|
+
};
|
|
24463
|
+
Returns: undefined;
|
|
24464
|
+
};
|
|
24465
|
+
logistics_floriday_log_send: {
|
|
24466
|
+
Args: {
|
|
24467
|
+
_action: string;
|
|
24468
|
+
_detail?: string;
|
|
24469
|
+
_http_status?: number;
|
|
24470
|
+
_module?: string;
|
|
24471
|
+
_ok: boolean;
|
|
24472
|
+
_order_ref: string;
|
|
24473
|
+
_shell?: string;
|
|
24474
|
+
};
|
|
24475
|
+
Returns: undefined;
|
|
24476
|
+
};
|
|
23714
24477
|
logistics_floriday_order_approved: {
|
|
23715
24478
|
Args: {
|
|
23716
24479
|
_order_ref: string;
|
|
@@ -23735,6 +24498,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23735
24498
|
Args: never;
|
|
23736
24499
|
Returns: boolean;
|
|
23737
24500
|
};
|
|
24501
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24502
|
+
Args: never;
|
|
24503
|
+
Returns: boolean;
|
|
24504
|
+
};
|
|
24505
|
+
logistics_floriday_write_allowed: {
|
|
24506
|
+
Args: {
|
|
24507
|
+
_action: string;
|
|
24508
|
+
};
|
|
24509
|
+
Returns: boolean;
|
|
24510
|
+
};
|
|
23738
24511
|
logistics_fulfill_barcode_requests: {
|
|
23739
24512
|
Args: {
|
|
23740
24513
|
p_limit?: number;
|
|
@@ -23777,6 +24550,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23777
24550
|
};
|
|
23778
24551
|
Returns: number;
|
|
23779
24552
|
};
|
|
24553
|
+
logistics_merge_partial_carts: {
|
|
24554
|
+
Args: {
|
|
24555
|
+
p_limit?: number;
|
|
24556
|
+
};
|
|
24557
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24558
|
+
};
|
|
23780
24559
|
logistics_next_workday_date: {
|
|
23781
24560
|
Args: {
|
|
23782
24561
|
p_date: string;
|
|
@@ -23803,6 +24582,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23803
24582
|
};
|
|
23804
24583
|
Returns: string;
|
|
23805
24584
|
};
|
|
24585
|
+
logistics_opening_timezone: {
|
|
24586
|
+
Args: never;
|
|
24587
|
+
Returns: string;
|
|
24588
|
+
};
|
|
23806
24589
|
logistics_order_cart_count: {
|
|
23807
24590
|
Args: {
|
|
23808
24591
|
p_order_ref: string;
|
|
@@ -23859,6 +24642,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23859
24642
|
};
|
|
23860
24643
|
Returns: string;
|
|
23861
24644
|
};
|
|
24645
|
+
logistics_payload_is_floriday: {
|
|
24646
|
+
Args: {
|
|
24647
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24648
|
+
};
|
|
24649
|
+
Returns: boolean;
|
|
24650
|
+
};
|
|
23862
24651
|
logistics_pick_agenda: {
|
|
23863
24652
|
Args: {
|
|
23864
24653
|
p_from?: string;
|
|
@@ -23887,6 +24676,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23887
24676
|
Args: never;
|
|
23888
24677
|
Returns: import("../integrations/supabase/types").Json;
|
|
23889
24678
|
};
|
|
24679
|
+
logistics_pick_partial_mode: {
|
|
24680
|
+
Args: never;
|
|
24681
|
+
Returns: string;
|
|
24682
|
+
};
|
|
23890
24683
|
logistics_pick_start_estimate: {
|
|
23891
24684
|
Args: {
|
|
23892
24685
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -23977,6 +24770,20 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23977
24770
|
Args: never;
|
|
23978
24771
|
Returns: undefined;
|
|
23979
24772
|
};
|
|
24773
|
+
logistics_plan_progress: {
|
|
24774
|
+
Args: {
|
|
24775
|
+
p_refs: string[];
|
|
24776
|
+
};
|
|
24777
|
+
Returns: {
|
|
24778
|
+
cart_plan_ready: boolean;
|
|
24779
|
+
cart_plan_reason: string;
|
|
24780
|
+
cart_plan_released: boolean;
|
|
24781
|
+
plan_progress: number;
|
|
24782
|
+
plan_state: string;
|
|
24783
|
+
plan_state_since: string;
|
|
24784
|
+
unit_ref: string;
|
|
24785
|
+
}[];
|
|
24786
|
+
};
|
|
23980
24787
|
logistics_plan_prune: {
|
|
23981
24788
|
Args: never;
|
|
23982
24789
|
Returns: number;
|
|
@@ -23998,6 +24805,18 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
23998
24805
|
};
|
|
23999
24806
|
Returns: number;
|
|
24000
24807
|
};
|
|
24808
|
+
logistics_plan_state_for: {
|
|
24809
|
+
Args: {
|
|
24810
|
+
p_ref: string;
|
|
24811
|
+
};
|
|
24812
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24813
|
+
};
|
|
24814
|
+
logistics_prepare_pick_documents: {
|
|
24815
|
+
Args: {
|
|
24816
|
+
p_limit?: number;
|
|
24817
|
+
};
|
|
24818
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24819
|
+
};
|
|
24001
24820
|
logistics_prune_buffer_member_queue: {
|
|
24002
24821
|
Args: never;
|
|
24003
24822
|
Returns: number;
|
|
@@ -24038,18 +24857,36 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24038
24857
|
Args: never;
|
|
24039
24858
|
Returns: import("../integrations/supabase/types").Json;
|
|
24040
24859
|
};
|
|
24860
|
+
logistics_refresh_pick_queue_status: {
|
|
24861
|
+
Args: {
|
|
24862
|
+
p_ref: string;
|
|
24863
|
+
};
|
|
24864
|
+
Returns: number;
|
|
24865
|
+
};
|
|
24041
24866
|
logistics_refresh_pickup_moments: {
|
|
24042
24867
|
Args: {
|
|
24043
24868
|
p_weeks?: number;
|
|
24044
24869
|
};
|
|
24045
24870
|
Returns: import("../integrations/supabase/types").Json;
|
|
24046
24871
|
};
|
|
24872
|
+
logistics_refresh_plan_state: {
|
|
24873
|
+
Args: {
|
|
24874
|
+
p_limit?: number;
|
|
24875
|
+
};
|
|
24876
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24877
|
+
};
|
|
24047
24878
|
logistics_replan_all: {
|
|
24048
24879
|
Args: {
|
|
24049
24880
|
p_reason?: string;
|
|
24050
24881
|
};
|
|
24051
24882
|
Returns: import("../integrations/supabase/types").Json;
|
|
24052
24883
|
};
|
|
24884
|
+
logistics_replan_all_force: {
|
|
24885
|
+
Args: {
|
|
24886
|
+
p_reason?: string;
|
|
24887
|
+
};
|
|
24888
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24889
|
+
};
|
|
24053
24890
|
logistics_report_delay: {
|
|
24054
24891
|
Args: {
|
|
24055
24892
|
p_expected_date?: string;
|
|
@@ -24194,6 +25031,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24194
25031
|
};
|
|
24195
25032
|
Returns: string;
|
|
24196
25033
|
};
|
|
25034
|
+
logistics_shipping_note_follows_slip: {
|
|
25035
|
+
Args: never;
|
|
25036
|
+
Returns: boolean;
|
|
25037
|
+
};
|
|
24197
25038
|
logistics_shipping_note_from_barcode: {
|
|
24198
25039
|
Args: {
|
|
24199
25040
|
p_allow_reprint?: boolean;
|
|
@@ -24202,10 +25043,86 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24202
25043
|
};
|
|
24203
25044
|
Returns: import("../integrations/supabase/types").Json;
|
|
24204
25045
|
};
|
|
25046
|
+
logistics_shipping_note_job_for_slip: {
|
|
25047
|
+
Args: {
|
|
25048
|
+
_slip_job_id: string;
|
|
25049
|
+
};
|
|
25050
|
+
Returns: string;
|
|
25051
|
+
};
|
|
25052
|
+
logistics_shipping_notes_wake_all: {
|
|
25053
|
+
Args: never;
|
|
25054
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25055
|
+
};
|
|
25056
|
+
logistics_slip_is_floriday: {
|
|
25057
|
+
Args: {
|
|
25058
|
+
_slip_job_id: string;
|
|
25059
|
+
};
|
|
25060
|
+
Returns: boolean;
|
|
25061
|
+
};
|
|
25062
|
+
logistics_slip_note_claim: {
|
|
25063
|
+
Args: {
|
|
25064
|
+
_lease_seconds?: number;
|
|
25065
|
+
_limit?: number;
|
|
25066
|
+
};
|
|
25067
|
+
Returns: {
|
|
25068
|
+
attempts: number;
|
|
25069
|
+
batch_key: string | null;
|
|
25070
|
+
cart_id: string | null;
|
|
25071
|
+
created_at: string;
|
|
25072
|
+
error: string | null;
|
|
25073
|
+
error_code: string | null;
|
|
25074
|
+
fulfillment_order_id: string | null;
|
|
25075
|
+
id: string;
|
|
25076
|
+
locked_until: string | null;
|
|
25077
|
+
next_attempt_at: string | null;
|
|
25078
|
+
order_id: string | null;
|
|
25079
|
+
order_number: string | null;
|
|
25080
|
+
print_job_id: string | null;
|
|
25081
|
+
printer_id: string | null;
|
|
25082
|
+
retry_class: string | null;
|
|
25083
|
+
slip_job_id: string;
|
|
25084
|
+
status: string;
|
|
25085
|
+
updated_at: string;
|
|
25086
|
+
}[];
|
|
25087
|
+
SetofOptions: {
|
|
25088
|
+
from: "*";
|
|
25089
|
+
to: "logistics_slip_shipping_note";
|
|
25090
|
+
isOneToOne: false;
|
|
25091
|
+
isSetofReturn: true;
|
|
25092
|
+
};
|
|
25093
|
+
};
|
|
25094
|
+
logistics_slip_note_finish: {
|
|
25095
|
+
Args: {
|
|
25096
|
+
_error?: string;
|
|
25097
|
+
_error_code?: string;
|
|
25098
|
+
_fulfillment_order_id?: string;
|
|
25099
|
+
_id: string;
|
|
25100
|
+
_ok: boolean;
|
|
25101
|
+
_print_job_id?: string;
|
|
25102
|
+
_status?: string;
|
|
25103
|
+
};
|
|
25104
|
+
Returns: undefined;
|
|
25105
|
+
};
|
|
25106
|
+
logistics_slip_note_keep_waiting: {
|
|
25107
|
+
Args: {
|
|
25108
|
+
_class?: string;
|
|
25109
|
+
_id: string;
|
|
25110
|
+
_reason: string;
|
|
25111
|
+
};
|
|
25112
|
+
Returns: undefined;
|
|
25113
|
+
};
|
|
24205
25114
|
logistics_sticker_follows_slip: {
|
|
24206
25115
|
Args: never;
|
|
24207
25116
|
Returns: boolean;
|
|
24208
25117
|
};
|
|
25118
|
+
logistics_subtract_working_minutes: {
|
|
25119
|
+
Args: {
|
|
25120
|
+
p_deadline: string;
|
|
25121
|
+
p_max_workdays?: number;
|
|
25122
|
+
p_minutes: number;
|
|
25123
|
+
};
|
|
25124
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25125
|
+
};
|
|
24209
25126
|
logistics_supersede_stale_tasks: {
|
|
24210
25127
|
Args: {
|
|
24211
25128
|
p_keep: string[];
|
|
@@ -24242,6 +25159,46 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24242
25159
|
Args: never;
|
|
24243
25160
|
Returns: string;
|
|
24244
25161
|
};
|
|
25162
|
+
logistics_timezone_options: {
|
|
25163
|
+
Args: never;
|
|
25164
|
+
Returns: {
|
|
25165
|
+
name: string;
|
|
25166
|
+
}[];
|
|
25167
|
+
};
|
|
25168
|
+
logistics_trace: {
|
|
25169
|
+
Args: {
|
|
25170
|
+
p: import("../integrations/supabase/types").Json;
|
|
25171
|
+
};
|
|
25172
|
+
Returns: string;
|
|
25173
|
+
};
|
|
25174
|
+
logistics_trace_batch: {
|
|
25175
|
+
Args: {
|
|
25176
|
+
p: import("../integrations/supabase/types").Json;
|
|
25177
|
+
};
|
|
25178
|
+
Returns: number;
|
|
25179
|
+
};
|
|
25180
|
+
logistics_trace_orders: {
|
|
25181
|
+
Args: {
|
|
25182
|
+
p_limit?: number;
|
|
25183
|
+
p_search?: string;
|
|
25184
|
+
p_since?: string;
|
|
25185
|
+
p_status?: string;
|
|
25186
|
+
};
|
|
25187
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25188
|
+
};
|
|
25189
|
+
logistics_trace_redact: {
|
|
25190
|
+
Args: {
|
|
25191
|
+
p: import("../integrations/supabase/types").Json;
|
|
25192
|
+
};
|
|
25193
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25194
|
+
};
|
|
25195
|
+
logistics_trace_timeline: {
|
|
25196
|
+
Args: {
|
|
25197
|
+
p_limit?: number;
|
|
25198
|
+
p_order_ref: string;
|
|
25199
|
+
};
|
|
25200
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25201
|
+
};
|
|
24245
25202
|
logistics_upsert_task: {
|
|
24246
25203
|
Args: {
|
|
24247
25204
|
p_buffer_ref: string;
|
|
@@ -24261,6 +25218,16 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
24261
25218
|
};
|
|
24262
25219
|
Returns: string;
|
|
24263
25220
|
};
|
|
25221
|
+
logistics_valid_timezone: {
|
|
25222
|
+
Args: {
|
|
25223
|
+
_tz: string;
|
|
25224
|
+
};
|
|
25225
|
+
Returns: boolean;
|
|
25226
|
+
};
|
|
25227
|
+
logistics_working_hours_status: {
|
|
25228
|
+
Args: never;
|
|
25229
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25230
|
+
};
|
|
24264
25231
|
logistics_write_buffer_layer_positions: {
|
|
24265
25232
|
Args: {
|
|
24266
25233
|
p_buffer_id: string;
|
|
@@ -25273,6 +26240,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25273
26240
|
};
|
|
25274
26241
|
Returns: undefined;
|
|
25275
26242
|
};
|
|
26243
|
+
prune_floriday_api_log: {
|
|
26244
|
+
Args: never;
|
|
26245
|
+
Returns: number;
|
|
26246
|
+
};
|
|
25276
26247
|
quote_create_from_source: {
|
|
25277
26248
|
Args: {
|
|
25278
26249
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25706,6 +26677,13 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
25706
26677
|
};
|
|
25707
26678
|
Returns: number;
|
|
25708
26679
|
};
|
|
26680
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26681
|
+
Args: {
|
|
26682
|
+
p_apikey: string;
|
|
26683
|
+
p_url: string;
|
|
26684
|
+
};
|
|
26685
|
+
Returns: number;
|
|
26686
|
+
};
|
|
25709
26687
|
schedule_floriday_clock_presales_sync: {
|
|
25710
26688
|
Args: {
|
|
25711
26689
|
p_apikey: string;
|
|
@@ -26006,6 +26984,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
26006
26984
|
};
|
|
26007
26985
|
Returns: undefined;
|
|
26008
26986
|
};
|
|
26987
|
+
sync_floriday_prices_into_price_groups: {
|
|
26988
|
+
Args: never;
|
|
26989
|
+
Returns: number;
|
|
26990
|
+
};
|
|
26009
26991
|
sync_layer_stock: {
|
|
26010
26992
|
Args: {
|
|
26011
26993
|
p_product_id: string;
|
|
@@ -26138,6 +27120,10 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
26138
27120
|
Args: never;
|
|
26139
27121
|
Returns: string;
|
|
26140
27122
|
};
|
|
27123
|
+
voorraad_cleanup_old_rows: {
|
|
27124
|
+
Args: never;
|
|
27125
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27126
|
+
};
|
|
26141
27127
|
wake_print_queue: {
|
|
26142
27128
|
Args: {
|
|
26143
27129
|
_min_interval_ms?: number;
|
|
@@ -28438,6 +29424,45 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
28438
29424
|
};
|
|
28439
29425
|
Relationships: [];
|
|
28440
29426
|
};
|
|
29427
|
+
customer_product_stickers: {
|
|
29428
|
+
Row: {
|
|
29429
|
+
created_at: string;
|
|
29430
|
+
customer_key: string;
|
|
29431
|
+
file_name: string;
|
|
29432
|
+
file_path: string;
|
|
29433
|
+
file_size: number | null;
|
|
29434
|
+
id: string;
|
|
29435
|
+
mime_type: string | null;
|
|
29436
|
+
trade_item_key: string;
|
|
29437
|
+
updated_at: string;
|
|
29438
|
+
uploaded_by: string | null;
|
|
29439
|
+
};
|
|
29440
|
+
Insert: {
|
|
29441
|
+
created_at?: string;
|
|
29442
|
+
customer_key: string;
|
|
29443
|
+
file_name: string;
|
|
29444
|
+
file_path: string;
|
|
29445
|
+
file_size?: number | null;
|
|
29446
|
+
id?: string;
|
|
29447
|
+
mime_type?: string | null;
|
|
29448
|
+
trade_item_key: string;
|
|
29449
|
+
updated_at?: string;
|
|
29450
|
+
uploaded_by?: string | null;
|
|
29451
|
+
};
|
|
29452
|
+
Update: {
|
|
29453
|
+
created_at?: string;
|
|
29454
|
+
customer_key?: string;
|
|
29455
|
+
file_name?: string;
|
|
29456
|
+
file_path?: string;
|
|
29457
|
+
file_size?: number | null;
|
|
29458
|
+
id?: string;
|
|
29459
|
+
mime_type?: string | null;
|
|
29460
|
+
trade_item_key?: string;
|
|
29461
|
+
updated_at?: string;
|
|
29462
|
+
uploaded_by?: string | null;
|
|
29463
|
+
};
|
|
29464
|
+
Relationships: [];
|
|
29465
|
+
};
|
|
28441
29466
|
customer_selected_assortment: {
|
|
28442
29467
|
Row: {
|
|
28443
29468
|
article_number: string | null;
|
|
@@ -28486,6 +29511,30 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
28486
29511
|
referencedColumns: ["id"];
|
|
28487
29512
|
}];
|
|
28488
29513
|
};
|
|
29514
|
+
customer_sticker_settings: {
|
|
29515
|
+
Row: {
|
|
29516
|
+
created_at: string;
|
|
29517
|
+
customer_key: string;
|
|
29518
|
+
height_mm: number;
|
|
29519
|
+
updated_at: string;
|
|
29520
|
+
width_mm: number;
|
|
29521
|
+
};
|
|
29522
|
+
Insert: {
|
|
29523
|
+
created_at?: string;
|
|
29524
|
+
customer_key: string;
|
|
29525
|
+
height_mm?: number;
|
|
29526
|
+
updated_at?: string;
|
|
29527
|
+
width_mm?: number;
|
|
29528
|
+
};
|
|
29529
|
+
Update: {
|
|
29530
|
+
created_at?: string;
|
|
29531
|
+
customer_key?: string;
|
|
29532
|
+
height_mm?: number;
|
|
29533
|
+
updated_at?: string;
|
|
29534
|
+
width_mm?: number;
|
|
29535
|
+
};
|
|
29536
|
+
Relationships: [];
|
|
29537
|
+
};
|
|
28489
29538
|
customer_trade_settings: {
|
|
28490
29539
|
Row: {
|
|
28491
29540
|
category: string;
|
|
@@ -31816,6 +32865,102 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
31816
32865
|
referencedColumns: ["id"];
|
|
31817
32866
|
}];
|
|
31818
32867
|
};
|
|
32868
|
+
floriday_api_log: {
|
|
32869
|
+
Row: {
|
|
32870
|
+
action: string | null;
|
|
32871
|
+
caller: string | null;
|
|
32872
|
+
connection_id: string | null;
|
|
32873
|
+
created_at: string;
|
|
32874
|
+
cursor_from: number | null;
|
|
32875
|
+
direction: string;
|
|
32876
|
+
duration_ms: number | null;
|
|
32877
|
+
environment: string | null;
|
|
32878
|
+
error: string | null;
|
|
32879
|
+
floriday_id: string | null;
|
|
32880
|
+
floriday_reference: string | null;
|
|
32881
|
+
http_status: number;
|
|
32882
|
+
id: string;
|
|
32883
|
+
item_count: number | null;
|
|
32884
|
+
kind: string | null;
|
|
32885
|
+
local_id: string | null;
|
|
32886
|
+
local_reference: string | null;
|
|
32887
|
+
method: string;
|
|
32888
|
+
module: string | null;
|
|
32889
|
+
ok: boolean;
|
|
32890
|
+
path: string;
|
|
32891
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32892
|
+
resource_type: string | null;
|
|
32893
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32894
|
+
write_log_id: string | null;
|
|
32895
|
+
};
|
|
32896
|
+
Insert: {
|
|
32897
|
+
action?: string | null;
|
|
32898
|
+
caller?: string | null;
|
|
32899
|
+
connection_id?: string | null;
|
|
32900
|
+
created_at?: string;
|
|
32901
|
+
cursor_from?: number | null;
|
|
32902
|
+
direction: string;
|
|
32903
|
+
duration_ms?: number | null;
|
|
32904
|
+
environment?: string | null;
|
|
32905
|
+
error?: string | null;
|
|
32906
|
+
floriday_id?: string | null;
|
|
32907
|
+
floriday_reference?: string | null;
|
|
32908
|
+
http_status?: number;
|
|
32909
|
+
id?: string;
|
|
32910
|
+
item_count?: number | null;
|
|
32911
|
+
kind?: string | null;
|
|
32912
|
+
local_id?: string | null;
|
|
32913
|
+
local_reference?: string | null;
|
|
32914
|
+
method: string;
|
|
32915
|
+
module?: string | null;
|
|
32916
|
+
ok?: boolean;
|
|
32917
|
+
path: string;
|
|
32918
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32919
|
+
resource_type?: string | null;
|
|
32920
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32921
|
+
write_log_id?: string | null;
|
|
32922
|
+
};
|
|
32923
|
+
Update: {
|
|
32924
|
+
action?: string | null;
|
|
32925
|
+
caller?: string | null;
|
|
32926
|
+
connection_id?: string | null;
|
|
32927
|
+
created_at?: string;
|
|
32928
|
+
cursor_from?: number | null;
|
|
32929
|
+
direction?: string;
|
|
32930
|
+
duration_ms?: number | null;
|
|
32931
|
+
environment?: string | null;
|
|
32932
|
+
error?: string | null;
|
|
32933
|
+
floriday_id?: string | null;
|
|
32934
|
+
floriday_reference?: string | null;
|
|
32935
|
+
http_status?: number;
|
|
32936
|
+
id?: string;
|
|
32937
|
+
item_count?: number | null;
|
|
32938
|
+
kind?: string | null;
|
|
32939
|
+
local_id?: string | null;
|
|
32940
|
+
local_reference?: string | null;
|
|
32941
|
+
method?: string;
|
|
32942
|
+
module?: string | null;
|
|
32943
|
+
ok?: boolean;
|
|
32944
|
+
path?: string;
|
|
32945
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32946
|
+
resource_type?: string | null;
|
|
32947
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32948
|
+
write_log_id?: string | null;
|
|
32949
|
+
};
|
|
32950
|
+
Relationships: [{
|
|
32951
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32952
|
+
columns: ["connection_id"];
|
|
32953
|
+
isOneToOne: false;
|
|
32954
|
+
referencedRelation: "floriday_connections";
|
|
32955
|
+
referencedColumns: ["id"];
|
|
32956
|
+
}, {
|
|
32957
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32958
|
+
columns: ["write_log_id"];
|
|
32959
|
+
isOneToOne: false;
|
|
32960
|
+
referencedRelation: "floriday_write_log";
|
|
32961
|
+
referencedColumns: ["id"];
|
|
32962
|
+
}];
|
|
32963
|
+
};
|
|
31819
32964
|
floriday_auction_letters_cache: {
|
|
31820
32965
|
Row: {
|
|
31821
32966
|
auction_letter_code: string;
|
|
@@ -32023,6 +33168,84 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
32023
33168
|
referencedColumns: ["id"];
|
|
32024
33169
|
}];
|
|
32025
33170
|
};
|
|
33171
|
+
floriday_catalog_prices_cache: {
|
|
33172
|
+
Row: {
|
|
33173
|
+
connection_id: string;
|
|
33174
|
+
created_at: string;
|
|
33175
|
+
currency: string;
|
|
33176
|
+
id: string;
|
|
33177
|
+
is_deleted: boolean;
|
|
33178
|
+
price: number | null;
|
|
33179
|
+
price_group_id: string | null;
|
|
33180
|
+
price_group_name: string | null;
|
|
33181
|
+
price_type: string;
|
|
33182
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
33183
|
+
sales_unit: string | null;
|
|
33184
|
+
sequence_number: number;
|
|
33185
|
+
supplier_article_code: string | null;
|
|
33186
|
+
supply_line_id: string;
|
|
33187
|
+
synced_at: string;
|
|
33188
|
+
trade_item_id: string | null;
|
|
33189
|
+
updated_at: string;
|
|
33190
|
+
valid_from: string | null;
|
|
33191
|
+
valid_to: string | null;
|
|
33192
|
+
week: number | null;
|
|
33193
|
+
year: number | null;
|
|
33194
|
+
};
|
|
33195
|
+
Insert: {
|
|
33196
|
+
connection_id: string;
|
|
33197
|
+
created_at?: string;
|
|
33198
|
+
currency?: string;
|
|
33199
|
+
id?: string;
|
|
33200
|
+
is_deleted?: boolean;
|
|
33201
|
+
price?: number | null;
|
|
33202
|
+
price_group_id?: string | null;
|
|
33203
|
+
price_group_name?: string | null;
|
|
33204
|
+
price_type?: string;
|
|
33205
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33206
|
+
sales_unit?: string | null;
|
|
33207
|
+
sequence_number?: number;
|
|
33208
|
+
supplier_article_code?: string | null;
|
|
33209
|
+
supply_line_id: string;
|
|
33210
|
+
synced_at?: string;
|
|
33211
|
+
trade_item_id?: string | null;
|
|
33212
|
+
updated_at?: string;
|
|
33213
|
+
valid_from?: string | null;
|
|
33214
|
+
valid_to?: string | null;
|
|
33215
|
+
week?: number | null;
|
|
33216
|
+
year?: number | null;
|
|
33217
|
+
};
|
|
33218
|
+
Update: {
|
|
33219
|
+
connection_id?: string;
|
|
33220
|
+
created_at?: string;
|
|
33221
|
+
currency?: string;
|
|
33222
|
+
id?: string;
|
|
33223
|
+
is_deleted?: boolean;
|
|
33224
|
+
price?: number | null;
|
|
33225
|
+
price_group_id?: string | null;
|
|
33226
|
+
price_group_name?: string | null;
|
|
33227
|
+
price_type?: string;
|
|
33228
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33229
|
+
sales_unit?: string | null;
|
|
33230
|
+
sequence_number?: number;
|
|
33231
|
+
supplier_article_code?: string | null;
|
|
33232
|
+
supply_line_id?: string;
|
|
33233
|
+
synced_at?: string;
|
|
33234
|
+
trade_item_id?: string | null;
|
|
33235
|
+
updated_at?: string;
|
|
33236
|
+
valid_from?: string | null;
|
|
33237
|
+
valid_to?: string | null;
|
|
33238
|
+
week?: number | null;
|
|
33239
|
+
year?: number | null;
|
|
33240
|
+
};
|
|
33241
|
+
Relationships: [{
|
|
33242
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
33243
|
+
columns: ["connection_id"];
|
|
33244
|
+
isOneToOne: false;
|
|
33245
|
+
referencedRelation: "floriday_connections";
|
|
33246
|
+
referencedColumns: ["id"];
|
|
33247
|
+
}];
|
|
33248
|
+
};
|
|
32026
33249
|
floriday_clock_presales_cache: {
|
|
32027
33250
|
Row: {
|
|
32028
33251
|
buyer_organization_id: string | null;
|
|
@@ -32938,6 +34161,69 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
32938
34161
|
referencedColumns: ["id"];
|
|
32939
34162
|
}];
|
|
32940
34163
|
};
|
|
34164
|
+
floriday_link_templates: {
|
|
34165
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
34175
|
+
created_at?: string;
|
|
34176
|
+
floriday_url_template?: string | null;
|
|
34177
|
+
is_active?: boolean;
|
|
34178
|
+
label: string;
|
|
34179
|
+
local_url_template?: string | null;
|
|
34180
|
+
resource_type: string;
|
|
34181
|
+
updated_at?: string;
|
|
34182
|
+
};
|
|
34183
|
+
Update: {
|
|
34184
|
+
created_at?: string;
|
|
34185
|
+
floriday_url_template?: string | null;
|
|
34186
|
+
is_active?: boolean;
|
|
34187
|
+
label?: string;
|
|
34188
|
+
local_url_template?: string | null;
|
|
34189
|
+
resource_type?: string;
|
|
34190
|
+
updated_at?: string;
|
|
34191
|
+
};
|
|
34192
|
+
Relationships: [];
|
|
34193
|
+
};
|
|
34194
|
+
floriday_log_retention: {
|
|
34195
|
+
Row: {
|
|
34196
|
+
created_at: string;
|
|
34197
|
+
direction: string | null;
|
|
34198
|
+
id: string;
|
|
34199
|
+
keep_failed_days: number | null;
|
|
34200
|
+
keep_ok_days: number | null;
|
|
34201
|
+
note: string | null;
|
|
34202
|
+
resource_type: string | null;
|
|
34203
|
+
updated_at: string;
|
|
34204
|
+
};
|
|
34205
|
+
Insert: {
|
|
34206
|
+
created_at?: string;
|
|
34207
|
+
direction?: string | null;
|
|
34208
|
+
id?: string;
|
|
34209
|
+
keep_failed_days?: number | null;
|
|
34210
|
+
keep_ok_days?: number | null;
|
|
34211
|
+
note?: string | null;
|
|
34212
|
+
resource_type?: string | null;
|
|
34213
|
+
updated_at?: string;
|
|
34214
|
+
};
|
|
34215
|
+
Update: {
|
|
34216
|
+
created_at?: string;
|
|
34217
|
+
direction?: string | null;
|
|
34218
|
+
id?: string;
|
|
34219
|
+
keep_failed_days?: number | null;
|
|
34220
|
+
keep_ok_days?: number | null;
|
|
34221
|
+
note?: string | null;
|
|
34222
|
+
resource_type?: string | null;
|
|
34223
|
+
updated_at?: string;
|
|
34224
|
+
};
|
|
34225
|
+
Relationships: [];
|
|
34226
|
+
};
|
|
32941
34227
|
floriday_logistic_labels_cache: {
|
|
32942
34228
|
Row: {
|
|
32943
34229
|
byte_size: number | null;
|
|
@@ -36291,22 +37577,31 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
36291
37577
|
};
|
|
36292
37578
|
logistics_floriday_push_refusals: {
|
|
36293
37579
|
Row: {
|
|
37580
|
+
action: string | null;
|
|
36294
37581
|
created_at: string;
|
|
36295
37582
|
id: string;
|
|
36296
37583
|
order_ref: string;
|
|
36297
37584
|
reason: string;
|
|
37585
|
+
source_module: string | null;
|
|
37586
|
+
source_shell: string | null;
|
|
36298
37587
|
};
|
|
36299
37588
|
Insert: {
|
|
37589
|
+
action?: string | null;
|
|
36300
37590
|
created_at?: string;
|
|
36301
37591
|
id?: string;
|
|
36302
37592
|
order_ref: string;
|
|
36303
37593
|
reason: string;
|
|
37594
|
+
source_module?: string | null;
|
|
37595
|
+
source_shell?: string | null;
|
|
36304
37596
|
};
|
|
36305
37597
|
Update: {
|
|
37598
|
+
action?: string | null;
|
|
36306
37599
|
created_at?: string;
|
|
36307
37600
|
id?: string;
|
|
36308
37601
|
order_ref?: string;
|
|
36309
37602
|
reason?: string;
|
|
37603
|
+
source_module?: string | null;
|
|
37604
|
+
source_shell?: string | null;
|
|
36310
37605
|
};
|
|
36311
37606
|
Relationships: [];
|
|
36312
37607
|
};
|
|
@@ -36385,6 +37680,42 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
36385
37680
|
};
|
|
36386
37681
|
Relationships: [];
|
|
36387
37682
|
};
|
|
37683
|
+
logistics_floriday_status_sends: {
|
|
37684
|
+
Row: {
|
|
37685
|
+
action: string;
|
|
37686
|
+
created_at: string;
|
|
37687
|
+
detail: string | null;
|
|
37688
|
+
http_status: number | null;
|
|
37689
|
+
id: string;
|
|
37690
|
+
ok: boolean;
|
|
37691
|
+
order_ref: string;
|
|
37692
|
+
source_module: string | null;
|
|
37693
|
+
source_shell: string | null;
|
|
37694
|
+
};
|
|
37695
|
+
Insert: {
|
|
37696
|
+
action: string;
|
|
37697
|
+
created_at?: string;
|
|
37698
|
+
detail?: string | null;
|
|
37699
|
+
http_status?: number | null;
|
|
37700
|
+
id?: string;
|
|
37701
|
+
ok?: boolean;
|
|
37702
|
+
order_ref: string;
|
|
37703
|
+
source_module?: string | null;
|
|
37704
|
+
source_shell?: string | null;
|
|
37705
|
+
};
|
|
37706
|
+
Update: {
|
|
37707
|
+
action?: string;
|
|
37708
|
+
created_at?: string;
|
|
37709
|
+
detail?: string | null;
|
|
37710
|
+
http_status?: number | null;
|
|
37711
|
+
id?: string;
|
|
37712
|
+
ok?: boolean;
|
|
37713
|
+
order_ref?: string;
|
|
37714
|
+
source_module?: string | null;
|
|
37715
|
+
source_shell?: string | null;
|
|
37716
|
+
};
|
|
37717
|
+
Relationships: [];
|
|
37718
|
+
};
|
|
36388
37719
|
logistics_formulas: {
|
|
36389
37720
|
Row: {
|
|
36390
37721
|
created_at: string;
|
|
@@ -36457,6 +37788,108 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
36457
37788
|
};
|
|
36458
37789
|
Relationships: [];
|
|
36459
37790
|
};
|
|
37791
|
+
logistics_opening_exceptions: {
|
|
37792
|
+
Row: {
|
|
37793
|
+
closes: string | null;
|
|
37794
|
+
created_at: string;
|
|
37795
|
+
day: string;
|
|
37796
|
+
id: string;
|
|
37797
|
+
is_closed: boolean;
|
|
37798
|
+
note: string | null;
|
|
37799
|
+
opens: string | null;
|
|
37800
|
+
};
|
|
37801
|
+
Insert: {
|
|
37802
|
+
closes?: string | null;
|
|
37803
|
+
created_at?: string;
|
|
37804
|
+
day: string;
|
|
37805
|
+
id?: string;
|
|
37806
|
+
is_closed?: boolean;
|
|
37807
|
+
note?: string | null;
|
|
37808
|
+
opens?: string | null;
|
|
37809
|
+
};
|
|
37810
|
+
Update: {
|
|
37811
|
+
closes?: string | null;
|
|
37812
|
+
created_at?: string;
|
|
37813
|
+
day?: string;
|
|
37814
|
+
id?: string;
|
|
37815
|
+
is_closed?: boolean;
|
|
37816
|
+
note?: string | null;
|
|
37817
|
+
opens?: string | null;
|
|
37818
|
+
};
|
|
37819
|
+
Relationships: [];
|
|
37820
|
+
};
|
|
37821
|
+
logistics_opening_hours: {
|
|
37822
|
+
Row: {
|
|
37823
|
+
closes: string;
|
|
37824
|
+
created_at: string;
|
|
37825
|
+
id: string;
|
|
37826
|
+
is_active: boolean;
|
|
37827
|
+
note: string | null;
|
|
37828
|
+
opens: string;
|
|
37829
|
+
weekday: number;
|
|
37830
|
+
};
|
|
37831
|
+
Insert: {
|
|
37832
|
+
closes: string;
|
|
37833
|
+
created_at?: string;
|
|
37834
|
+
id?: string;
|
|
37835
|
+
is_active?: boolean;
|
|
37836
|
+
note?: string | null;
|
|
37837
|
+
opens: string;
|
|
37838
|
+
weekday: number;
|
|
37839
|
+
};
|
|
37840
|
+
Update: {
|
|
37841
|
+
closes?: string;
|
|
37842
|
+
created_at?: string;
|
|
37843
|
+
id?: string;
|
|
37844
|
+
is_active?: boolean;
|
|
37845
|
+
note?: string | null;
|
|
37846
|
+
opens?: string;
|
|
37847
|
+
weekday?: number;
|
|
37848
|
+
};
|
|
37849
|
+
Relationships: [];
|
|
37850
|
+
};
|
|
37851
|
+
logistics_pick_data_requests: {
|
|
37852
|
+
Row: {
|
|
37853
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37854
|
+
created_at: string;
|
|
37855
|
+
event_id: string | null;
|
|
37856
|
+
finished_at: string | null;
|
|
37857
|
+
id: string;
|
|
37858
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37859
|
+
order_ref: string;
|
|
37860
|
+
reason: string | null;
|
|
37861
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37862
|
+
status: string;
|
|
37863
|
+
unit_ref: string | null;
|
|
37864
|
+
};
|
|
37865
|
+
Insert: {
|
|
37866
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37867
|
+
created_at?: string;
|
|
37868
|
+
event_id?: string | null;
|
|
37869
|
+
finished_at?: string | null;
|
|
37870
|
+
id?: string;
|
|
37871
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37872
|
+
order_ref: string;
|
|
37873
|
+
reason?: string | null;
|
|
37874
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37875
|
+
status?: string;
|
|
37876
|
+
unit_ref?: string | null;
|
|
37877
|
+
};
|
|
37878
|
+
Update: {
|
|
37879
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37880
|
+
created_at?: string;
|
|
37881
|
+
event_id?: string | null;
|
|
37882
|
+
finished_at?: string | null;
|
|
37883
|
+
id?: string;
|
|
37884
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37885
|
+
order_ref?: string;
|
|
37886
|
+
reason?: string | null;
|
|
37887
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37888
|
+
status?: string;
|
|
37889
|
+
unit_ref?: string | null;
|
|
37890
|
+
};
|
|
37891
|
+
Relationships: [];
|
|
37892
|
+
};
|
|
36460
37893
|
logistics_pickup_moments: {
|
|
36461
37894
|
Row: {
|
|
36462
37895
|
carrier_ref: string | null;
|
|
@@ -36916,6 +38349,69 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
36916
38349
|
};
|
|
36917
38350
|
Relationships: [];
|
|
36918
38351
|
};
|
|
38352
|
+
logistics_slip_shipping_note: {
|
|
38353
|
+
Row: {
|
|
38354
|
+
attempts: number;
|
|
38355
|
+
batch_key: string | null;
|
|
38356
|
+
cart_id: string | null;
|
|
38357
|
+
created_at: string;
|
|
38358
|
+
error: string | null;
|
|
38359
|
+
error_code: string | null;
|
|
38360
|
+
fulfillment_order_id: string | null;
|
|
38361
|
+
id: string;
|
|
38362
|
+
locked_until: string | null;
|
|
38363
|
+
next_attempt_at: string | null;
|
|
38364
|
+
order_id: string | null;
|
|
38365
|
+
order_number: string | null;
|
|
38366
|
+
print_job_id: string | null;
|
|
38367
|
+
printer_id: string | null;
|
|
38368
|
+
retry_class: string | null;
|
|
38369
|
+
slip_job_id: string;
|
|
38370
|
+
status: string;
|
|
38371
|
+
updated_at: string;
|
|
38372
|
+
};
|
|
38373
|
+
Insert: {
|
|
38374
|
+
attempts?: number;
|
|
38375
|
+
batch_key?: string | null;
|
|
38376
|
+
cart_id?: string | null;
|
|
38377
|
+
created_at?: string;
|
|
38378
|
+
error?: string | null;
|
|
38379
|
+
error_code?: string | null;
|
|
38380
|
+
fulfillment_order_id?: string | null;
|
|
38381
|
+
id?: string;
|
|
38382
|
+
locked_until?: string | null;
|
|
38383
|
+
next_attempt_at?: string | null;
|
|
38384
|
+
order_id?: string | null;
|
|
38385
|
+
order_number?: string | null;
|
|
38386
|
+
print_job_id?: string | null;
|
|
38387
|
+
printer_id?: string | null;
|
|
38388
|
+
retry_class?: string | null;
|
|
38389
|
+
slip_job_id: string;
|
|
38390
|
+
status?: string;
|
|
38391
|
+
updated_at?: string;
|
|
38392
|
+
};
|
|
38393
|
+
Update: {
|
|
38394
|
+
attempts?: number;
|
|
38395
|
+
batch_key?: string | null;
|
|
38396
|
+
cart_id?: string | null;
|
|
38397
|
+
created_at?: string;
|
|
38398
|
+
error?: string | null;
|
|
38399
|
+
error_code?: string | null;
|
|
38400
|
+
fulfillment_order_id?: string | null;
|
|
38401
|
+
id?: string;
|
|
38402
|
+
locked_until?: string | null;
|
|
38403
|
+
next_attempt_at?: string | null;
|
|
38404
|
+
order_id?: string | null;
|
|
38405
|
+
order_number?: string | null;
|
|
38406
|
+
print_job_id?: string | null;
|
|
38407
|
+
printer_id?: string | null;
|
|
38408
|
+
retry_class?: string | null;
|
|
38409
|
+
slip_job_id?: string;
|
|
38410
|
+
status?: string;
|
|
38411
|
+
updated_at?: string;
|
|
38412
|
+
};
|
|
38413
|
+
Relationships: [];
|
|
38414
|
+
};
|
|
36919
38415
|
logistics_staff_planning: {
|
|
36920
38416
|
Row: {
|
|
36921
38417
|
created_at: string;
|
|
@@ -37249,6 +38745,129 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
37249
38745
|
};
|
|
37250
38746
|
Relationships: [];
|
|
37251
38747
|
};
|
|
38748
|
+
logistics_time_settings: {
|
|
38749
|
+
Row: {
|
|
38750
|
+
id: boolean;
|
|
38751
|
+
timezone: string;
|
|
38752
|
+
updated_at: string;
|
|
38753
|
+
};
|
|
38754
|
+
Insert: {
|
|
38755
|
+
id?: boolean;
|
|
38756
|
+
timezone: string;
|
|
38757
|
+
updated_at?: string;
|
|
38758
|
+
};
|
|
38759
|
+
Update: {
|
|
38760
|
+
id?: boolean;
|
|
38761
|
+
timezone?: string;
|
|
38762
|
+
updated_at?: string;
|
|
38763
|
+
};
|
|
38764
|
+
Relationships: [];
|
|
38765
|
+
};
|
|
38766
|
+
logistics_trace_events: {
|
|
38767
|
+
Row: {
|
|
38768
|
+
actor: string | null;
|
|
38769
|
+
attempts: number;
|
|
38770
|
+
cart_ref: string | null;
|
|
38771
|
+
created_at: string;
|
|
38772
|
+
db_action: string | null;
|
|
38773
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38774
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38775
|
+
db_record: string | null;
|
|
38776
|
+
db_table: string | null;
|
|
38777
|
+
decision: string | null;
|
|
38778
|
+
duration_ms: number | null;
|
|
38779
|
+
error: string | null;
|
|
38780
|
+
external_action: string | null;
|
|
38781
|
+
external_ref: string | null;
|
|
38782
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38783
|
+
external_status: string | null;
|
|
38784
|
+
external_system: string | null;
|
|
38785
|
+
id: string;
|
|
38786
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38787
|
+
next_attempt_at: string | null;
|
|
38788
|
+
order_ref: string | null;
|
|
38789
|
+
order_source: string | null;
|
|
38790
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38791
|
+
phase: string;
|
|
38792
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38793
|
+
reason: string | null;
|
|
38794
|
+
rule: string | null;
|
|
38795
|
+
slip_ref: string | null;
|
|
38796
|
+
status: string;
|
|
38797
|
+
step: string;
|
|
38798
|
+
trace_id: string;
|
|
38799
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38800
|
+
};
|
|
38801
|
+
Insert: {
|
|
38802
|
+
actor?: string | null;
|
|
38803
|
+
attempts?: number;
|
|
38804
|
+
cart_ref?: string | null;
|
|
38805
|
+
created_at?: string;
|
|
38806
|
+
db_action?: string | null;
|
|
38807
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38808
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38809
|
+
db_record?: string | null;
|
|
38810
|
+
db_table?: string | null;
|
|
38811
|
+
decision?: string | null;
|
|
38812
|
+
duration_ms?: number | null;
|
|
38813
|
+
error?: string | null;
|
|
38814
|
+
external_action?: string | null;
|
|
38815
|
+
external_ref?: string | null;
|
|
38816
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38817
|
+
external_status?: string | null;
|
|
38818
|
+
external_system?: string | null;
|
|
38819
|
+
id?: string;
|
|
38820
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38821
|
+
next_attempt_at?: string | null;
|
|
38822
|
+
order_ref?: string | null;
|
|
38823
|
+
order_source?: string | null;
|
|
38824
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38825
|
+
phase: string;
|
|
38826
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38827
|
+
reason?: string | null;
|
|
38828
|
+
rule?: string | null;
|
|
38829
|
+
slip_ref?: string | null;
|
|
38830
|
+
status: string;
|
|
38831
|
+
step: string;
|
|
38832
|
+
trace_id?: string;
|
|
38833
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38834
|
+
};
|
|
38835
|
+
Update: {
|
|
38836
|
+
actor?: string | null;
|
|
38837
|
+
attempts?: number;
|
|
38838
|
+
cart_ref?: string | null;
|
|
38839
|
+
created_at?: string;
|
|
38840
|
+
db_action?: string | null;
|
|
38841
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38842
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38843
|
+
db_record?: string | null;
|
|
38844
|
+
db_table?: string | null;
|
|
38845
|
+
decision?: string | null;
|
|
38846
|
+
duration_ms?: number | null;
|
|
38847
|
+
error?: string | null;
|
|
38848
|
+
external_action?: string | null;
|
|
38849
|
+
external_ref?: string | null;
|
|
38850
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38851
|
+
external_status?: string | null;
|
|
38852
|
+
external_system?: string | null;
|
|
38853
|
+
id?: string;
|
|
38854
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38855
|
+
next_attempt_at?: string | null;
|
|
38856
|
+
order_ref?: string | null;
|
|
38857
|
+
order_source?: string | null;
|
|
38858
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38859
|
+
phase?: string;
|
|
38860
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38861
|
+
reason?: string | null;
|
|
38862
|
+
rule?: string | null;
|
|
38863
|
+
slip_ref?: string | null;
|
|
38864
|
+
status?: string;
|
|
38865
|
+
step?: string;
|
|
38866
|
+
trace_id?: string;
|
|
38867
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38868
|
+
};
|
|
38869
|
+
Relationships: [];
|
|
38870
|
+
};
|
|
37252
38871
|
logistics_variables: {
|
|
37253
38872
|
Row: {
|
|
37254
38873
|
created_at: string;
|
|
@@ -39639,6 +41258,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39639
41258
|
customer_name: string;
|
|
39640
41259
|
deleted_at: string | null;
|
|
39641
41260
|
delivery_date: string | null;
|
|
41261
|
+
floriday_order_group_key: string | null;
|
|
39642
41262
|
floriday_sales_order_id: string | null;
|
|
39643
41263
|
id: string;
|
|
39644
41264
|
invoice_due_at: string | null;
|
|
@@ -39666,6 +41286,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39666
41286
|
customer_name?: string;
|
|
39667
41287
|
deleted_at?: string | null;
|
|
39668
41288
|
delivery_date?: string | null;
|
|
41289
|
+
floriday_order_group_key?: string | null;
|
|
39669
41290
|
floriday_sales_order_id?: string | null;
|
|
39670
41291
|
id?: string;
|
|
39671
41292
|
invoice_due_at?: string | null;
|
|
@@ -39693,6 +41314,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
39693
41314
|
customer_name?: string;
|
|
39694
41315
|
deleted_at?: string | null;
|
|
39695
41316
|
delivery_date?: string | null;
|
|
41317
|
+
floriday_order_group_key?: string | null;
|
|
39696
41318
|
floriday_sales_order_id?: string | null;
|
|
39697
41319
|
id?: string;
|
|
39698
41320
|
invoice_due_at?: string | null;
|
|
@@ -47818,6 +49440,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
47818
49440
|
Args: never;
|
|
47819
49441
|
Returns: boolean;
|
|
47820
49442
|
};
|
|
49443
|
+
cancel_open_print_jobs: {
|
|
49444
|
+
Args: {
|
|
49445
|
+
_cutoff: string;
|
|
49446
|
+
};
|
|
49447
|
+
Returns: {
|
|
49448
|
+
extern_job_id: string;
|
|
49449
|
+
id: string;
|
|
49450
|
+
}[];
|
|
49451
|
+
};
|
|
47821
49452
|
check_offer_product_available_stock: {
|
|
47822
49453
|
Args: {
|
|
47823
49454
|
p_campaign_product_id: string;
|
|
@@ -49356,6 +50987,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49356
50987
|
};
|
|
49357
50988
|
Returns: string;
|
|
49358
50989
|
};
|
|
50990
|
+
logistics_cart_checkin_at: {
|
|
50991
|
+
Args: {
|
|
50992
|
+
p_cart_id: string;
|
|
50993
|
+
};
|
|
50994
|
+
Returns: string;
|
|
50995
|
+
};
|
|
49359
50996
|
logistics_cart_handled: {
|
|
49360
50997
|
Args: {
|
|
49361
50998
|
p_cart_index: number;
|
|
@@ -49389,10 +51026,22 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49389
51026
|
task_status: string;
|
|
49390
51027
|
}[];
|
|
49391
51028
|
};
|
|
51029
|
+
logistics_cart_is_full: {
|
|
51030
|
+
Args: {
|
|
51031
|
+
p_cart_id: string;
|
|
51032
|
+
};
|
|
51033
|
+
Returns: boolean;
|
|
51034
|
+
};
|
|
49392
51035
|
logistics_cart_layout_method: {
|
|
49393
51036
|
Args: never;
|
|
49394
51037
|
Returns: import("../integrations/supabase/types").Json;
|
|
49395
51038
|
};
|
|
51039
|
+
logistics_cart_order_refs: {
|
|
51040
|
+
Args: {
|
|
51041
|
+
p_cart_id: string;
|
|
51042
|
+
};
|
|
51043
|
+
Returns: string[];
|
|
51044
|
+
};
|
|
49396
51045
|
logistics_cart_plan_overview: {
|
|
49397
51046
|
Args: {
|
|
49398
51047
|
p_days?: number;
|
|
@@ -49412,6 +51061,24 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49412
51061
|
};
|
|
49413
51062
|
Returns: import("../integrations/supabase/types").Json;
|
|
49414
51063
|
};
|
|
51064
|
+
logistics_cart_plan_status_core: {
|
|
51065
|
+
Args: {
|
|
51066
|
+
p_ref: string;
|
|
51067
|
+
};
|
|
51068
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51069
|
+
};
|
|
51070
|
+
logistics_cart_release_reason: {
|
|
51071
|
+
Args: {
|
|
51072
|
+
p_cart_id: string;
|
|
51073
|
+
};
|
|
51074
|
+
Returns: string;
|
|
51075
|
+
};
|
|
51076
|
+
logistics_cart_released: {
|
|
51077
|
+
Args: {
|
|
51078
|
+
p_cart_id: string;
|
|
51079
|
+
};
|
|
51080
|
+
Returns: boolean;
|
|
51081
|
+
};
|
|
49415
51082
|
logistics_cart_seq: {
|
|
49416
51083
|
Args: {
|
|
49417
51084
|
p_order_uuid?: string;
|
|
@@ -49462,6 +51129,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49462
51129
|
unit_ref: string;
|
|
49463
51130
|
}[];
|
|
49464
51131
|
};
|
|
51132
|
+
logistics_carts_per_print: {
|
|
51133
|
+
Args: never;
|
|
51134
|
+
Returns: number;
|
|
51135
|
+
};
|
|
49465
51136
|
logistics_check_order_allowed: {
|
|
49466
51137
|
Args: {
|
|
49467
51138
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49565,6 +51236,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49565
51236
|
isSetofReturn: false;
|
|
49566
51237
|
};
|
|
49567
51238
|
};
|
|
51239
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
51240
|
+
Args: never;
|
|
51241
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51242
|
+
};
|
|
49568
51243
|
logistics_complete_task: {
|
|
49569
51244
|
Args: {
|
|
49570
51245
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -49627,6 +51302,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49627
51302
|
station_carts: number;
|
|
49628
51303
|
}[];
|
|
49629
51304
|
};
|
|
51305
|
+
logistics_control_complete_cart: {
|
|
51306
|
+
Args: {
|
|
51307
|
+
p_cart_id: string;
|
|
51308
|
+
};
|
|
51309
|
+
Returns: number;
|
|
51310
|
+
};
|
|
49630
51311
|
logistics_control_scan_approve: {
|
|
49631
51312
|
Args: {
|
|
49632
51313
|
p_allow_reprint?: boolean;
|
|
@@ -49706,6 +51387,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49706
51387
|
Args: never;
|
|
49707
51388
|
Returns: import("../integrations/supabase/types").Json;
|
|
49708
51389
|
};
|
|
51390
|
+
logistics_day_windows: {
|
|
51391
|
+
Args: {
|
|
51392
|
+
p_day: string;
|
|
51393
|
+
};
|
|
51394
|
+
Returns: {
|
|
51395
|
+
win_end: string;
|
|
51396
|
+
win_start: string;
|
|
51397
|
+
}[];
|
|
51398
|
+
};
|
|
49709
51399
|
logistics_delay_customer_email: {
|
|
49710
51400
|
Args: {
|
|
49711
51401
|
p_customer: string;
|
|
@@ -49773,6 +51463,17 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49773
51463
|
};
|
|
49774
51464
|
Returns: import("../integrations/supabase/types").Json;
|
|
49775
51465
|
};
|
|
51466
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
51467
|
+
Args: {
|
|
51468
|
+
_cart_id: string;
|
|
51469
|
+
_is_herprint: boolean;
|
|
51470
|
+
_printer_id: string;
|
|
51471
|
+
_queue_item_id: string;
|
|
51472
|
+
_session_id: string;
|
|
51473
|
+
_slip_job_id: string;
|
|
51474
|
+
};
|
|
51475
|
+
Returns: string;
|
|
51476
|
+
};
|
|
49776
51477
|
logistics_enqueue_sticker_with_slip: {
|
|
49777
51478
|
Args: {
|
|
49778
51479
|
_cart_id: string;
|
|
@@ -49790,6 +51491,20 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49790
51491
|
};
|
|
49791
51492
|
Returns: string;
|
|
49792
51493
|
};
|
|
51494
|
+
logistics_ensure_pick_data: {
|
|
51495
|
+
Args: {
|
|
51496
|
+
p_event_id?: string;
|
|
51497
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
51498
|
+
p_ref: string;
|
|
51499
|
+
};
|
|
51500
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51501
|
+
};
|
|
51502
|
+
logistics_ensure_shipping_notes: {
|
|
51503
|
+
Args: {
|
|
51504
|
+
p_limit?: number;
|
|
51505
|
+
};
|
|
51506
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51507
|
+
};
|
|
49793
51508
|
logistics_fail_task: {
|
|
49794
51509
|
Args: {
|
|
49795
51510
|
p_error: string;
|
|
@@ -49835,6 +51550,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49835
51550
|
isSetofReturn: false;
|
|
49836
51551
|
};
|
|
49837
51552
|
};
|
|
51553
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51554
|
+
Args: never;
|
|
51555
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51556
|
+
};
|
|
49838
51557
|
logistics_floriday_cart_plan: {
|
|
49839
51558
|
Args: {
|
|
49840
51559
|
p_order_id: string;
|
|
@@ -49862,6 +51581,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49862
51581
|
revision: number;
|
|
49863
51582
|
}[];
|
|
49864
51583
|
};
|
|
51584
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51585
|
+
Args: never;
|
|
51586
|
+
Returns: boolean;
|
|
51587
|
+
};
|
|
49865
51588
|
logistics_floriday_finish_push: {
|
|
49866
51589
|
Args: {
|
|
49867
51590
|
_error?: string;
|
|
@@ -49911,6 +51634,32 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49911
51634
|
};
|
|
49912
51635
|
Returns: string;
|
|
49913
51636
|
};
|
|
51637
|
+
logistics_floriday_gate_status: {
|
|
51638
|
+
Args: never;
|
|
51639
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51640
|
+
};
|
|
51641
|
+
logistics_floriday_log_refusal: {
|
|
51642
|
+
Args: {
|
|
51643
|
+
_action?: string;
|
|
51644
|
+
_module?: string;
|
|
51645
|
+
_order_ref: string;
|
|
51646
|
+
_reason: string;
|
|
51647
|
+
_shell?: string;
|
|
51648
|
+
};
|
|
51649
|
+
Returns: undefined;
|
|
51650
|
+
};
|
|
51651
|
+
logistics_floriday_log_send: {
|
|
51652
|
+
Args: {
|
|
51653
|
+
_action: string;
|
|
51654
|
+
_detail?: string;
|
|
51655
|
+
_http_status?: number;
|
|
51656
|
+
_module?: string;
|
|
51657
|
+
_ok: boolean;
|
|
51658
|
+
_order_ref: string;
|
|
51659
|
+
_shell?: string;
|
|
51660
|
+
};
|
|
51661
|
+
Returns: undefined;
|
|
51662
|
+
};
|
|
49914
51663
|
logistics_floriday_order_approved: {
|
|
49915
51664
|
Args: {
|
|
49916
51665
|
_order_ref: string;
|
|
@@ -49935,6 +51684,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49935
51684
|
Args: never;
|
|
49936
51685
|
Returns: boolean;
|
|
49937
51686
|
};
|
|
51687
|
+
logistics_floriday_stock_updates_enabled: {
|
|
51688
|
+
Args: never;
|
|
51689
|
+
Returns: boolean;
|
|
51690
|
+
};
|
|
51691
|
+
logistics_floriday_write_allowed: {
|
|
51692
|
+
Args: {
|
|
51693
|
+
_action: string;
|
|
51694
|
+
};
|
|
51695
|
+
Returns: boolean;
|
|
51696
|
+
};
|
|
49938
51697
|
logistics_fulfill_barcode_requests: {
|
|
49939
51698
|
Args: {
|
|
49940
51699
|
p_limit?: number;
|
|
@@ -49977,6 +51736,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
49977
51736
|
};
|
|
49978
51737
|
Returns: number;
|
|
49979
51738
|
};
|
|
51739
|
+
logistics_merge_partial_carts: {
|
|
51740
|
+
Args: {
|
|
51741
|
+
p_limit?: number;
|
|
51742
|
+
};
|
|
51743
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51744
|
+
};
|
|
49980
51745
|
logistics_next_workday_date: {
|
|
49981
51746
|
Args: {
|
|
49982
51747
|
p_date: string;
|
|
@@ -50003,6 +51768,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50003
51768
|
};
|
|
50004
51769
|
Returns: string;
|
|
50005
51770
|
};
|
|
51771
|
+
logistics_opening_timezone: {
|
|
51772
|
+
Args: never;
|
|
51773
|
+
Returns: string;
|
|
51774
|
+
};
|
|
50006
51775
|
logistics_order_cart_count: {
|
|
50007
51776
|
Args: {
|
|
50008
51777
|
p_order_ref: string;
|
|
@@ -50059,6 +51828,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50059
51828
|
};
|
|
50060
51829
|
Returns: string;
|
|
50061
51830
|
};
|
|
51831
|
+
logistics_payload_is_floriday: {
|
|
51832
|
+
Args: {
|
|
51833
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51834
|
+
};
|
|
51835
|
+
Returns: boolean;
|
|
51836
|
+
};
|
|
50062
51837
|
logistics_pick_agenda: {
|
|
50063
51838
|
Args: {
|
|
50064
51839
|
p_from?: string;
|
|
@@ -50087,6 +51862,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50087
51862
|
Args: never;
|
|
50088
51863
|
Returns: import("../integrations/supabase/types").Json;
|
|
50089
51864
|
};
|
|
51865
|
+
logistics_pick_partial_mode: {
|
|
51866
|
+
Args: never;
|
|
51867
|
+
Returns: string;
|
|
51868
|
+
};
|
|
50090
51869
|
logistics_pick_start_estimate: {
|
|
50091
51870
|
Args: {
|
|
50092
51871
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50177,6 +51956,20 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50177
51956
|
Args: never;
|
|
50178
51957
|
Returns: undefined;
|
|
50179
51958
|
};
|
|
51959
|
+
logistics_plan_progress: {
|
|
51960
|
+
Args: {
|
|
51961
|
+
p_refs: string[];
|
|
51962
|
+
};
|
|
51963
|
+
Returns: {
|
|
51964
|
+
cart_plan_ready: boolean;
|
|
51965
|
+
cart_plan_reason: string;
|
|
51966
|
+
cart_plan_released: boolean;
|
|
51967
|
+
plan_progress: number;
|
|
51968
|
+
plan_state: string;
|
|
51969
|
+
plan_state_since: string;
|
|
51970
|
+
unit_ref: string;
|
|
51971
|
+
}[];
|
|
51972
|
+
};
|
|
50180
51973
|
logistics_plan_prune: {
|
|
50181
51974
|
Args: never;
|
|
50182
51975
|
Returns: number;
|
|
@@ -50198,6 +51991,18 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50198
51991
|
};
|
|
50199
51992
|
Returns: number;
|
|
50200
51993
|
};
|
|
51994
|
+
logistics_plan_state_for: {
|
|
51995
|
+
Args: {
|
|
51996
|
+
p_ref: string;
|
|
51997
|
+
};
|
|
51998
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51999
|
+
};
|
|
52000
|
+
logistics_prepare_pick_documents: {
|
|
52001
|
+
Args: {
|
|
52002
|
+
p_limit?: number;
|
|
52003
|
+
};
|
|
52004
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52005
|
+
};
|
|
50201
52006
|
logistics_prune_buffer_member_queue: {
|
|
50202
52007
|
Args: never;
|
|
50203
52008
|
Returns: number;
|
|
@@ -50238,18 +52043,36 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50238
52043
|
Args: never;
|
|
50239
52044
|
Returns: import("../integrations/supabase/types").Json;
|
|
50240
52045
|
};
|
|
52046
|
+
logistics_refresh_pick_queue_status: {
|
|
52047
|
+
Args: {
|
|
52048
|
+
p_ref: string;
|
|
52049
|
+
};
|
|
52050
|
+
Returns: number;
|
|
52051
|
+
};
|
|
50241
52052
|
logistics_refresh_pickup_moments: {
|
|
50242
52053
|
Args: {
|
|
50243
52054
|
p_weeks?: number;
|
|
50244
52055
|
};
|
|
50245
52056
|
Returns: import("../integrations/supabase/types").Json;
|
|
50246
52057
|
};
|
|
52058
|
+
logistics_refresh_plan_state: {
|
|
52059
|
+
Args: {
|
|
52060
|
+
p_limit?: number;
|
|
52061
|
+
};
|
|
52062
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52063
|
+
};
|
|
50247
52064
|
logistics_replan_all: {
|
|
50248
52065
|
Args: {
|
|
50249
52066
|
p_reason?: string;
|
|
50250
52067
|
};
|
|
50251
52068
|
Returns: import("../integrations/supabase/types").Json;
|
|
50252
52069
|
};
|
|
52070
|
+
logistics_replan_all_force: {
|
|
52071
|
+
Args: {
|
|
52072
|
+
p_reason?: string;
|
|
52073
|
+
};
|
|
52074
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52075
|
+
};
|
|
50253
52076
|
logistics_report_delay: {
|
|
50254
52077
|
Args: {
|
|
50255
52078
|
p_expected_date?: string;
|
|
@@ -50394,6 +52217,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50394
52217
|
};
|
|
50395
52218
|
Returns: string;
|
|
50396
52219
|
};
|
|
52220
|
+
logistics_shipping_note_follows_slip: {
|
|
52221
|
+
Args: never;
|
|
52222
|
+
Returns: boolean;
|
|
52223
|
+
};
|
|
50397
52224
|
logistics_shipping_note_from_barcode: {
|
|
50398
52225
|
Args: {
|
|
50399
52226
|
p_allow_reprint?: boolean;
|
|
@@ -50402,10 +52229,86 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50402
52229
|
};
|
|
50403
52230
|
Returns: import("../integrations/supabase/types").Json;
|
|
50404
52231
|
};
|
|
52232
|
+
logistics_shipping_note_job_for_slip: {
|
|
52233
|
+
Args: {
|
|
52234
|
+
_slip_job_id: string;
|
|
52235
|
+
};
|
|
52236
|
+
Returns: string;
|
|
52237
|
+
};
|
|
52238
|
+
logistics_shipping_notes_wake_all: {
|
|
52239
|
+
Args: never;
|
|
52240
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52241
|
+
};
|
|
52242
|
+
logistics_slip_is_floriday: {
|
|
52243
|
+
Args: {
|
|
52244
|
+
_slip_job_id: string;
|
|
52245
|
+
};
|
|
52246
|
+
Returns: boolean;
|
|
52247
|
+
};
|
|
52248
|
+
logistics_slip_note_claim: {
|
|
52249
|
+
Args: {
|
|
52250
|
+
_lease_seconds?: number;
|
|
52251
|
+
_limit?: number;
|
|
52252
|
+
};
|
|
52253
|
+
Returns: {
|
|
52254
|
+
attempts: number;
|
|
52255
|
+
batch_key: string | null;
|
|
52256
|
+
cart_id: string | null;
|
|
52257
|
+
created_at: string;
|
|
52258
|
+
error: string | null;
|
|
52259
|
+
error_code: string | null;
|
|
52260
|
+
fulfillment_order_id: string | null;
|
|
52261
|
+
id: string;
|
|
52262
|
+
locked_until: string | null;
|
|
52263
|
+
next_attempt_at: string | null;
|
|
52264
|
+
order_id: string | null;
|
|
52265
|
+
order_number: string | null;
|
|
52266
|
+
print_job_id: string | null;
|
|
52267
|
+
printer_id: string | null;
|
|
52268
|
+
retry_class: string | null;
|
|
52269
|
+
slip_job_id: string;
|
|
52270
|
+
status: string;
|
|
52271
|
+
updated_at: string;
|
|
52272
|
+
}[];
|
|
52273
|
+
SetofOptions: {
|
|
52274
|
+
from: "*";
|
|
52275
|
+
to: "logistics_slip_shipping_note";
|
|
52276
|
+
isOneToOne: false;
|
|
52277
|
+
isSetofReturn: true;
|
|
52278
|
+
};
|
|
52279
|
+
};
|
|
52280
|
+
logistics_slip_note_finish: {
|
|
52281
|
+
Args: {
|
|
52282
|
+
_error?: string;
|
|
52283
|
+
_error_code?: string;
|
|
52284
|
+
_fulfillment_order_id?: string;
|
|
52285
|
+
_id: string;
|
|
52286
|
+
_ok: boolean;
|
|
52287
|
+
_print_job_id?: string;
|
|
52288
|
+
_status?: string;
|
|
52289
|
+
};
|
|
52290
|
+
Returns: undefined;
|
|
52291
|
+
};
|
|
52292
|
+
logistics_slip_note_keep_waiting: {
|
|
52293
|
+
Args: {
|
|
52294
|
+
_class?: string;
|
|
52295
|
+
_id: string;
|
|
52296
|
+
_reason: string;
|
|
52297
|
+
};
|
|
52298
|
+
Returns: undefined;
|
|
52299
|
+
};
|
|
50405
52300
|
logistics_sticker_follows_slip: {
|
|
50406
52301
|
Args: never;
|
|
50407
52302
|
Returns: boolean;
|
|
50408
52303
|
};
|
|
52304
|
+
logistics_subtract_working_minutes: {
|
|
52305
|
+
Args: {
|
|
52306
|
+
p_deadline: string;
|
|
52307
|
+
p_max_workdays?: number;
|
|
52308
|
+
p_minutes: number;
|
|
52309
|
+
};
|
|
52310
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52311
|
+
};
|
|
50409
52312
|
logistics_supersede_stale_tasks: {
|
|
50410
52313
|
Args: {
|
|
50411
52314
|
p_keep: string[];
|
|
@@ -50442,6 +52345,46 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50442
52345
|
Args: never;
|
|
50443
52346
|
Returns: string;
|
|
50444
52347
|
};
|
|
52348
|
+
logistics_timezone_options: {
|
|
52349
|
+
Args: never;
|
|
52350
|
+
Returns: {
|
|
52351
|
+
name: string;
|
|
52352
|
+
}[];
|
|
52353
|
+
};
|
|
52354
|
+
logistics_trace: {
|
|
52355
|
+
Args: {
|
|
52356
|
+
p: import("../integrations/supabase/types").Json;
|
|
52357
|
+
};
|
|
52358
|
+
Returns: string;
|
|
52359
|
+
};
|
|
52360
|
+
logistics_trace_batch: {
|
|
52361
|
+
Args: {
|
|
52362
|
+
p: import("../integrations/supabase/types").Json;
|
|
52363
|
+
};
|
|
52364
|
+
Returns: number;
|
|
52365
|
+
};
|
|
52366
|
+
logistics_trace_orders: {
|
|
52367
|
+
Args: {
|
|
52368
|
+
p_limit?: number;
|
|
52369
|
+
p_search?: string;
|
|
52370
|
+
p_since?: string;
|
|
52371
|
+
p_status?: string;
|
|
52372
|
+
};
|
|
52373
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52374
|
+
};
|
|
52375
|
+
logistics_trace_redact: {
|
|
52376
|
+
Args: {
|
|
52377
|
+
p: import("../integrations/supabase/types").Json;
|
|
52378
|
+
};
|
|
52379
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52380
|
+
};
|
|
52381
|
+
logistics_trace_timeline: {
|
|
52382
|
+
Args: {
|
|
52383
|
+
p_limit?: number;
|
|
52384
|
+
p_order_ref: string;
|
|
52385
|
+
};
|
|
52386
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52387
|
+
};
|
|
50445
52388
|
logistics_upsert_task: {
|
|
50446
52389
|
Args: {
|
|
50447
52390
|
p_buffer_ref: string;
|
|
@@ -50461,6 +52404,16 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
50461
52404
|
};
|
|
50462
52405
|
Returns: string;
|
|
50463
52406
|
};
|
|
52407
|
+
logistics_valid_timezone: {
|
|
52408
|
+
Args: {
|
|
52409
|
+
_tz: string;
|
|
52410
|
+
};
|
|
52411
|
+
Returns: boolean;
|
|
52412
|
+
};
|
|
52413
|
+
logistics_working_hours_status: {
|
|
52414
|
+
Args: never;
|
|
52415
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52416
|
+
};
|
|
50464
52417
|
logistics_write_buffer_layer_positions: {
|
|
50465
52418
|
Args: {
|
|
50466
52419
|
p_buffer_id: string;
|
|
@@ -51473,6 +53426,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51473
53426
|
};
|
|
51474
53427
|
Returns: undefined;
|
|
51475
53428
|
};
|
|
53429
|
+
prune_floriday_api_log: {
|
|
53430
|
+
Args: never;
|
|
53431
|
+
Returns: number;
|
|
53432
|
+
};
|
|
51476
53433
|
quote_create_from_source: {
|
|
51477
53434
|
Args: {
|
|
51478
53435
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -51906,6 +53863,13 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
51906
53863
|
};
|
|
51907
53864
|
Returns: number;
|
|
51908
53865
|
};
|
|
53866
|
+
schedule_floriday_catalog_prices_sync: {
|
|
53867
|
+
Args: {
|
|
53868
|
+
p_apikey: string;
|
|
53869
|
+
p_url: string;
|
|
53870
|
+
};
|
|
53871
|
+
Returns: number;
|
|
53872
|
+
};
|
|
51909
53873
|
schedule_floriday_clock_presales_sync: {
|
|
51910
53874
|
Args: {
|
|
51911
53875
|
p_apikey: string;
|
|
@@ -52206,6 +54170,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52206
54170
|
};
|
|
52207
54171
|
Returns: undefined;
|
|
52208
54172
|
};
|
|
54173
|
+
sync_floriday_prices_into_price_groups: {
|
|
54174
|
+
Args: never;
|
|
54175
|
+
Returns: number;
|
|
54176
|
+
};
|
|
52209
54177
|
sync_layer_stock: {
|
|
52210
54178
|
Args: {
|
|
52211
54179
|
p_product_id: string;
|
|
@@ -52338,6 +54306,10 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
52338
54306
|
Args: never;
|
|
52339
54307
|
Returns: string;
|
|
52340
54308
|
};
|
|
54309
|
+
voorraad_cleanup_old_rows: {
|
|
54310
|
+
Args: never;
|
|
54311
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54312
|
+
};
|
|
52341
54313
|
wake_print_queue: {
|
|
52342
54314
|
Args: {
|
|
52343
54315
|
_min_interval_ms?: number;
|
|
@@ -54633,6 +56605,45 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
54633
56605
|
};
|
|
54634
56606
|
Relationships: [];
|
|
54635
56607
|
};
|
|
56608
|
+
customer_product_stickers: {
|
|
56609
|
+
Row: {
|
|
56610
|
+
created_at: string;
|
|
56611
|
+
customer_key: string;
|
|
56612
|
+
file_name: string;
|
|
56613
|
+
file_path: string;
|
|
56614
|
+
file_size: number | null;
|
|
56615
|
+
id: string;
|
|
56616
|
+
mime_type: string | null;
|
|
56617
|
+
trade_item_key: string;
|
|
56618
|
+
updated_at: string;
|
|
56619
|
+
uploaded_by: string | null;
|
|
56620
|
+
};
|
|
56621
|
+
Insert: {
|
|
56622
|
+
created_at?: string;
|
|
56623
|
+
customer_key: string;
|
|
56624
|
+
file_name: string;
|
|
56625
|
+
file_path: string;
|
|
56626
|
+
file_size?: number | null;
|
|
56627
|
+
id?: string;
|
|
56628
|
+
mime_type?: string | null;
|
|
56629
|
+
trade_item_key: string;
|
|
56630
|
+
updated_at?: string;
|
|
56631
|
+
uploaded_by?: string | null;
|
|
56632
|
+
};
|
|
56633
|
+
Update: {
|
|
56634
|
+
created_at?: string;
|
|
56635
|
+
customer_key?: string;
|
|
56636
|
+
file_name?: string;
|
|
56637
|
+
file_path?: string;
|
|
56638
|
+
file_size?: number | null;
|
|
56639
|
+
id?: string;
|
|
56640
|
+
mime_type?: string | null;
|
|
56641
|
+
trade_item_key?: string;
|
|
56642
|
+
updated_at?: string;
|
|
56643
|
+
uploaded_by?: string | null;
|
|
56644
|
+
};
|
|
56645
|
+
Relationships: [];
|
|
56646
|
+
};
|
|
54636
56647
|
customer_selected_assortment: {
|
|
54637
56648
|
Row: {
|
|
54638
56649
|
article_number: string | null;
|
|
@@ -54681,6 +56692,30 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
54681
56692
|
referencedColumns: ["id"];
|
|
54682
56693
|
}];
|
|
54683
56694
|
};
|
|
56695
|
+
customer_sticker_settings: {
|
|
56696
|
+
Row: {
|
|
56697
|
+
created_at: string;
|
|
56698
|
+
customer_key: string;
|
|
56699
|
+
height_mm: number;
|
|
56700
|
+
updated_at: string;
|
|
56701
|
+
width_mm: number;
|
|
56702
|
+
};
|
|
56703
|
+
Insert: {
|
|
56704
|
+
created_at?: string;
|
|
56705
|
+
customer_key: string;
|
|
56706
|
+
height_mm?: number;
|
|
56707
|
+
updated_at?: string;
|
|
56708
|
+
width_mm?: number;
|
|
56709
|
+
};
|
|
56710
|
+
Update: {
|
|
56711
|
+
created_at?: string;
|
|
56712
|
+
customer_key?: string;
|
|
56713
|
+
height_mm?: number;
|
|
56714
|
+
updated_at?: string;
|
|
56715
|
+
width_mm?: number;
|
|
56716
|
+
};
|
|
56717
|
+
Relationships: [];
|
|
56718
|
+
};
|
|
54684
56719
|
customer_trade_settings: {
|
|
54685
56720
|
Row: {
|
|
54686
56721
|
category: string;
|
|
@@ -58011,6 +60046,102 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
58011
60046
|
referencedColumns: ["id"];
|
|
58012
60047
|
}];
|
|
58013
60048
|
};
|
|
60049
|
+
floriday_api_log: {
|
|
60050
|
+
Row: {
|
|
60051
|
+
action: string | null;
|
|
60052
|
+
caller: string | null;
|
|
60053
|
+
connection_id: string | null;
|
|
60054
|
+
created_at: string;
|
|
60055
|
+
cursor_from: number | null;
|
|
60056
|
+
direction: string;
|
|
60057
|
+
duration_ms: number | null;
|
|
60058
|
+
environment: string | null;
|
|
60059
|
+
error: string | null;
|
|
60060
|
+
floriday_id: string | null;
|
|
60061
|
+
floriday_reference: string | null;
|
|
60062
|
+
http_status: number;
|
|
60063
|
+
id: string;
|
|
60064
|
+
item_count: number | null;
|
|
60065
|
+
kind: string | null;
|
|
60066
|
+
local_id: string | null;
|
|
60067
|
+
local_reference: string | null;
|
|
60068
|
+
method: string;
|
|
60069
|
+
module: string | null;
|
|
60070
|
+
ok: boolean;
|
|
60071
|
+
path: string;
|
|
60072
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60073
|
+
resource_type: string | null;
|
|
60074
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60075
|
+
write_log_id: string | null;
|
|
60076
|
+
};
|
|
60077
|
+
Insert: {
|
|
60078
|
+
action?: string | null;
|
|
60079
|
+
caller?: string | null;
|
|
60080
|
+
connection_id?: string | null;
|
|
60081
|
+
created_at?: string;
|
|
60082
|
+
cursor_from?: number | null;
|
|
60083
|
+
direction: string;
|
|
60084
|
+
duration_ms?: number | null;
|
|
60085
|
+
environment?: string | null;
|
|
60086
|
+
error?: string | null;
|
|
60087
|
+
floriday_id?: string | null;
|
|
60088
|
+
floriday_reference?: string | null;
|
|
60089
|
+
http_status?: number;
|
|
60090
|
+
id?: string;
|
|
60091
|
+
item_count?: number | null;
|
|
60092
|
+
kind?: string | null;
|
|
60093
|
+
local_id?: string | null;
|
|
60094
|
+
local_reference?: string | null;
|
|
60095
|
+
method: string;
|
|
60096
|
+
module?: string | null;
|
|
60097
|
+
ok?: boolean;
|
|
60098
|
+
path: string;
|
|
60099
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60100
|
+
resource_type?: string | null;
|
|
60101
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60102
|
+
write_log_id?: string | null;
|
|
60103
|
+
};
|
|
60104
|
+
Update: {
|
|
60105
|
+
action?: string | null;
|
|
60106
|
+
caller?: string | null;
|
|
60107
|
+
connection_id?: string | null;
|
|
60108
|
+
created_at?: string;
|
|
60109
|
+
cursor_from?: number | null;
|
|
60110
|
+
direction?: string;
|
|
60111
|
+
duration_ms?: number | null;
|
|
60112
|
+
environment?: string | null;
|
|
60113
|
+
error?: string | null;
|
|
60114
|
+
floriday_id?: string | null;
|
|
60115
|
+
floriday_reference?: string | null;
|
|
60116
|
+
http_status?: number;
|
|
60117
|
+
id?: string;
|
|
60118
|
+
item_count?: number | null;
|
|
60119
|
+
kind?: string | null;
|
|
60120
|
+
local_id?: string | null;
|
|
60121
|
+
local_reference?: string | null;
|
|
60122
|
+
method?: string;
|
|
60123
|
+
module?: string | null;
|
|
60124
|
+
ok?: boolean;
|
|
60125
|
+
path?: string;
|
|
60126
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60127
|
+
resource_type?: string | null;
|
|
60128
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60129
|
+
write_log_id?: string | null;
|
|
60130
|
+
};
|
|
60131
|
+
Relationships: [{
|
|
60132
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60133
|
+
columns: ["connection_id"];
|
|
60134
|
+
isOneToOne: false;
|
|
60135
|
+
referencedRelation: "floriday_connections";
|
|
60136
|
+
referencedColumns: ["id"];
|
|
60137
|
+
}, {
|
|
60138
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60139
|
+
columns: ["write_log_id"];
|
|
60140
|
+
isOneToOne: false;
|
|
60141
|
+
referencedRelation: "floriday_write_log";
|
|
60142
|
+
referencedColumns: ["id"];
|
|
60143
|
+
}];
|
|
60144
|
+
};
|
|
58014
60145
|
floriday_auction_letters_cache: {
|
|
58015
60146
|
Row: {
|
|
58016
60147
|
auction_letter_code: string;
|
|
@@ -58218,6 +60349,84 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
58218
60349
|
referencedColumns: ["id"];
|
|
58219
60350
|
}];
|
|
58220
60351
|
};
|
|
60352
|
+
floriday_catalog_prices_cache: {
|
|
60353
|
+
Row: {
|
|
60354
|
+
connection_id: string;
|
|
60355
|
+
created_at: string;
|
|
60356
|
+
currency: string;
|
|
60357
|
+
id: string;
|
|
60358
|
+
is_deleted: boolean;
|
|
60359
|
+
price: number | null;
|
|
60360
|
+
price_group_id: string | null;
|
|
60361
|
+
price_group_name: string | null;
|
|
60362
|
+
price_type: string;
|
|
60363
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
60364
|
+
sales_unit: string | null;
|
|
60365
|
+
sequence_number: number;
|
|
60366
|
+
supplier_article_code: string | null;
|
|
60367
|
+
supply_line_id: string;
|
|
60368
|
+
synced_at: string;
|
|
60369
|
+
trade_item_id: string | null;
|
|
60370
|
+
updated_at: string;
|
|
60371
|
+
valid_from: string | null;
|
|
60372
|
+
valid_to: string | null;
|
|
60373
|
+
week: number | null;
|
|
60374
|
+
year: number | null;
|
|
60375
|
+
};
|
|
60376
|
+
Insert: {
|
|
60377
|
+
connection_id: string;
|
|
60378
|
+
created_at?: string;
|
|
60379
|
+
currency?: string;
|
|
60380
|
+
id?: string;
|
|
60381
|
+
is_deleted?: boolean;
|
|
60382
|
+
price?: number | null;
|
|
60383
|
+
price_group_id?: string | null;
|
|
60384
|
+
price_group_name?: string | null;
|
|
60385
|
+
price_type?: string;
|
|
60386
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60387
|
+
sales_unit?: string | null;
|
|
60388
|
+
sequence_number?: number;
|
|
60389
|
+
supplier_article_code?: string | null;
|
|
60390
|
+
supply_line_id: string;
|
|
60391
|
+
synced_at?: string;
|
|
60392
|
+
trade_item_id?: string | null;
|
|
60393
|
+
updated_at?: string;
|
|
60394
|
+
valid_from?: string | null;
|
|
60395
|
+
valid_to?: string | null;
|
|
60396
|
+
week?: number | null;
|
|
60397
|
+
year?: number | null;
|
|
60398
|
+
};
|
|
60399
|
+
Update: {
|
|
60400
|
+
connection_id?: string;
|
|
60401
|
+
created_at?: string;
|
|
60402
|
+
currency?: string;
|
|
60403
|
+
id?: string;
|
|
60404
|
+
is_deleted?: boolean;
|
|
60405
|
+
price?: number | null;
|
|
60406
|
+
price_group_id?: string | null;
|
|
60407
|
+
price_group_name?: string | null;
|
|
60408
|
+
price_type?: string;
|
|
60409
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
60410
|
+
sales_unit?: string | null;
|
|
60411
|
+
sequence_number?: number;
|
|
60412
|
+
supplier_article_code?: string | null;
|
|
60413
|
+
supply_line_id?: string;
|
|
60414
|
+
synced_at?: string;
|
|
60415
|
+
trade_item_id?: string | null;
|
|
60416
|
+
updated_at?: string;
|
|
60417
|
+
valid_from?: string | null;
|
|
60418
|
+
valid_to?: string | null;
|
|
60419
|
+
week?: number | null;
|
|
60420
|
+
year?: number | null;
|
|
60421
|
+
};
|
|
60422
|
+
Relationships: [{
|
|
60423
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
60424
|
+
columns: ["connection_id"];
|
|
60425
|
+
isOneToOne: false;
|
|
60426
|
+
referencedRelation: "floriday_connections";
|
|
60427
|
+
referencedColumns: ["id"];
|
|
60428
|
+
}];
|
|
60429
|
+
};
|
|
58221
60430
|
floriday_clock_presales_cache: {
|
|
58222
60431
|
Row: {
|
|
58223
60432
|
buyer_organization_id: string | null;
|
|
@@ -59133,6 +61342,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
59133
61342
|
referencedColumns: ["id"];
|
|
59134
61343
|
}];
|
|
59135
61344
|
};
|
|
61345
|
+
floriday_link_templates: {
|
|
61346
|
+
Row: {
|
|
61347
|
+
created_at: string;
|
|
61348
|
+
floriday_url_template: string | null;
|
|
61349
|
+
is_active: boolean;
|
|
61350
|
+
label: string;
|
|
61351
|
+
local_url_template: string | null;
|
|
61352
|
+
resource_type: string;
|
|
61353
|
+
updated_at: string;
|
|
61354
|
+
};
|
|
61355
|
+
Insert: {
|
|
61356
|
+
created_at?: string;
|
|
61357
|
+
floriday_url_template?: string | null;
|
|
61358
|
+
is_active?: boolean;
|
|
61359
|
+
label: string;
|
|
61360
|
+
local_url_template?: string | null;
|
|
61361
|
+
resource_type: string;
|
|
61362
|
+
updated_at?: string;
|
|
61363
|
+
};
|
|
61364
|
+
Update: {
|
|
61365
|
+
created_at?: string;
|
|
61366
|
+
floriday_url_template?: string | null;
|
|
61367
|
+
is_active?: boolean;
|
|
61368
|
+
label?: string;
|
|
61369
|
+
local_url_template?: string | null;
|
|
61370
|
+
resource_type?: string;
|
|
61371
|
+
updated_at?: string;
|
|
61372
|
+
};
|
|
61373
|
+
Relationships: [];
|
|
61374
|
+
};
|
|
61375
|
+
floriday_log_retention: {
|
|
61376
|
+
Row: {
|
|
61377
|
+
created_at: string;
|
|
61378
|
+
direction: string | null;
|
|
61379
|
+
id: string;
|
|
61380
|
+
keep_failed_days: number | null;
|
|
61381
|
+
keep_ok_days: number | null;
|
|
61382
|
+
note: string | null;
|
|
61383
|
+
resource_type: string | null;
|
|
61384
|
+
updated_at: string;
|
|
61385
|
+
};
|
|
61386
|
+
Insert: {
|
|
61387
|
+
created_at?: string;
|
|
61388
|
+
direction?: string | null;
|
|
61389
|
+
id?: string;
|
|
61390
|
+
keep_failed_days?: number | null;
|
|
61391
|
+
keep_ok_days?: number | null;
|
|
61392
|
+
note?: string | null;
|
|
61393
|
+
resource_type?: string | null;
|
|
61394
|
+
updated_at?: string;
|
|
61395
|
+
};
|
|
61396
|
+
Update: {
|
|
61397
|
+
created_at?: string;
|
|
61398
|
+
direction?: string | null;
|
|
61399
|
+
id?: string;
|
|
61400
|
+
keep_failed_days?: number | null;
|
|
61401
|
+
keep_ok_days?: number | null;
|
|
61402
|
+
note?: string | null;
|
|
61403
|
+
resource_type?: string | null;
|
|
61404
|
+
updated_at?: string;
|
|
61405
|
+
};
|
|
61406
|
+
Relationships: [];
|
|
61407
|
+
};
|
|
59136
61408
|
floriday_logistic_labels_cache: {
|
|
59137
61409
|
Row: {
|
|
59138
61410
|
byte_size: number | null;
|
|
@@ -62486,22 +64758,31 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
62486
64758
|
};
|
|
62487
64759
|
logistics_floriday_push_refusals: {
|
|
62488
64760
|
Row: {
|
|
64761
|
+
action: string | null;
|
|
62489
64762
|
created_at: string;
|
|
62490
64763
|
id: string;
|
|
62491
64764
|
order_ref: string;
|
|
62492
64765
|
reason: string;
|
|
64766
|
+
source_module: string | null;
|
|
64767
|
+
source_shell: string | null;
|
|
62493
64768
|
};
|
|
62494
64769
|
Insert: {
|
|
64770
|
+
action?: string | null;
|
|
62495
64771
|
created_at?: string;
|
|
62496
64772
|
id?: string;
|
|
62497
64773
|
order_ref: string;
|
|
62498
64774
|
reason: string;
|
|
64775
|
+
source_module?: string | null;
|
|
64776
|
+
source_shell?: string | null;
|
|
62499
64777
|
};
|
|
62500
64778
|
Update: {
|
|
64779
|
+
action?: string | null;
|
|
62501
64780
|
created_at?: string;
|
|
62502
64781
|
id?: string;
|
|
62503
64782
|
order_ref?: string;
|
|
62504
64783
|
reason?: string;
|
|
64784
|
+
source_module?: string | null;
|
|
64785
|
+
source_shell?: string | null;
|
|
62505
64786
|
};
|
|
62506
64787
|
Relationships: [];
|
|
62507
64788
|
};
|
|
@@ -62580,6 +64861,42 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
62580
64861
|
};
|
|
62581
64862
|
Relationships: [];
|
|
62582
64863
|
};
|
|
64864
|
+
logistics_floriday_status_sends: {
|
|
64865
|
+
Row: {
|
|
64866
|
+
action: string;
|
|
64867
|
+
created_at: string;
|
|
64868
|
+
detail: string | null;
|
|
64869
|
+
http_status: number | null;
|
|
64870
|
+
id: string;
|
|
64871
|
+
ok: boolean;
|
|
64872
|
+
order_ref: string;
|
|
64873
|
+
source_module: string | null;
|
|
64874
|
+
source_shell: string | null;
|
|
64875
|
+
};
|
|
64876
|
+
Insert: {
|
|
64877
|
+
action: string;
|
|
64878
|
+
created_at?: string;
|
|
64879
|
+
detail?: string | null;
|
|
64880
|
+
http_status?: number | null;
|
|
64881
|
+
id?: string;
|
|
64882
|
+
ok?: boolean;
|
|
64883
|
+
order_ref: string;
|
|
64884
|
+
source_module?: string | null;
|
|
64885
|
+
source_shell?: string | null;
|
|
64886
|
+
};
|
|
64887
|
+
Update: {
|
|
64888
|
+
action?: string;
|
|
64889
|
+
created_at?: string;
|
|
64890
|
+
detail?: string | null;
|
|
64891
|
+
http_status?: number | null;
|
|
64892
|
+
id?: string;
|
|
64893
|
+
ok?: boolean;
|
|
64894
|
+
order_ref?: string;
|
|
64895
|
+
source_module?: string | null;
|
|
64896
|
+
source_shell?: string | null;
|
|
64897
|
+
};
|
|
64898
|
+
Relationships: [];
|
|
64899
|
+
};
|
|
62583
64900
|
logistics_formulas: {
|
|
62584
64901
|
Row: {
|
|
62585
64902
|
created_at: string;
|
|
@@ -62652,6 +64969,108 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
62652
64969
|
};
|
|
62653
64970
|
Relationships: [];
|
|
62654
64971
|
};
|
|
64972
|
+
logistics_opening_exceptions: {
|
|
64973
|
+
Row: {
|
|
64974
|
+
closes: string | null;
|
|
64975
|
+
created_at: string;
|
|
64976
|
+
day: string;
|
|
64977
|
+
id: string;
|
|
64978
|
+
is_closed: boolean;
|
|
64979
|
+
note: string | null;
|
|
64980
|
+
opens: string | null;
|
|
64981
|
+
};
|
|
64982
|
+
Insert: {
|
|
64983
|
+
closes?: string | null;
|
|
64984
|
+
created_at?: string;
|
|
64985
|
+
day: string;
|
|
64986
|
+
id?: string;
|
|
64987
|
+
is_closed?: boolean;
|
|
64988
|
+
note?: string | null;
|
|
64989
|
+
opens?: string | null;
|
|
64990
|
+
};
|
|
64991
|
+
Update: {
|
|
64992
|
+
closes?: string | null;
|
|
64993
|
+
created_at?: string;
|
|
64994
|
+
day?: string;
|
|
64995
|
+
id?: string;
|
|
64996
|
+
is_closed?: boolean;
|
|
64997
|
+
note?: string | null;
|
|
64998
|
+
opens?: string | null;
|
|
64999
|
+
};
|
|
65000
|
+
Relationships: [];
|
|
65001
|
+
};
|
|
65002
|
+
logistics_opening_hours: {
|
|
65003
|
+
Row: {
|
|
65004
|
+
closes: string;
|
|
65005
|
+
created_at: string;
|
|
65006
|
+
id: string;
|
|
65007
|
+
is_active: boolean;
|
|
65008
|
+
note: string | null;
|
|
65009
|
+
opens: string;
|
|
65010
|
+
weekday: number;
|
|
65011
|
+
};
|
|
65012
|
+
Insert: {
|
|
65013
|
+
closes: string;
|
|
65014
|
+
created_at?: string;
|
|
65015
|
+
id?: string;
|
|
65016
|
+
is_active?: boolean;
|
|
65017
|
+
note?: string | null;
|
|
65018
|
+
opens: string;
|
|
65019
|
+
weekday: number;
|
|
65020
|
+
};
|
|
65021
|
+
Update: {
|
|
65022
|
+
closes?: string;
|
|
65023
|
+
created_at?: string;
|
|
65024
|
+
id?: string;
|
|
65025
|
+
is_active?: boolean;
|
|
65026
|
+
note?: string | null;
|
|
65027
|
+
opens?: string;
|
|
65028
|
+
weekday?: number;
|
|
65029
|
+
};
|
|
65030
|
+
Relationships: [];
|
|
65031
|
+
};
|
|
65032
|
+
logistics_pick_data_requests: {
|
|
65033
|
+
Row: {
|
|
65034
|
+
actions: import("../integrations/supabase/types").Json;
|
|
65035
|
+
created_at: string;
|
|
65036
|
+
event_id: string | null;
|
|
65037
|
+
finished_at: string | null;
|
|
65038
|
+
id: string;
|
|
65039
|
+
missing: import("../integrations/supabase/types").Json;
|
|
65040
|
+
order_ref: string;
|
|
65041
|
+
reason: string | null;
|
|
65042
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
65043
|
+
status: string;
|
|
65044
|
+
unit_ref: string | null;
|
|
65045
|
+
};
|
|
65046
|
+
Insert: {
|
|
65047
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65048
|
+
created_at?: string;
|
|
65049
|
+
event_id?: string | null;
|
|
65050
|
+
finished_at?: string | null;
|
|
65051
|
+
id?: string;
|
|
65052
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65053
|
+
order_ref: string;
|
|
65054
|
+
reason?: string | null;
|
|
65055
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65056
|
+
status?: string;
|
|
65057
|
+
unit_ref?: string | null;
|
|
65058
|
+
};
|
|
65059
|
+
Update: {
|
|
65060
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
65061
|
+
created_at?: string;
|
|
65062
|
+
event_id?: string | null;
|
|
65063
|
+
finished_at?: string | null;
|
|
65064
|
+
id?: string;
|
|
65065
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
65066
|
+
order_ref?: string;
|
|
65067
|
+
reason?: string | null;
|
|
65068
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
65069
|
+
status?: string;
|
|
65070
|
+
unit_ref?: string | null;
|
|
65071
|
+
};
|
|
65072
|
+
Relationships: [];
|
|
65073
|
+
};
|
|
62655
65074
|
logistics_pickup_moments: {
|
|
62656
65075
|
Row: {
|
|
62657
65076
|
carrier_ref: string | null;
|
|
@@ -63111,6 +65530,69 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
63111
65530
|
};
|
|
63112
65531
|
Relationships: [];
|
|
63113
65532
|
};
|
|
65533
|
+
logistics_slip_shipping_note: {
|
|
65534
|
+
Row: {
|
|
65535
|
+
attempts: number;
|
|
65536
|
+
batch_key: string | null;
|
|
65537
|
+
cart_id: string | null;
|
|
65538
|
+
created_at: string;
|
|
65539
|
+
error: string | null;
|
|
65540
|
+
error_code: string | null;
|
|
65541
|
+
fulfillment_order_id: string | null;
|
|
65542
|
+
id: string;
|
|
65543
|
+
locked_until: string | null;
|
|
65544
|
+
next_attempt_at: string | null;
|
|
65545
|
+
order_id: string | null;
|
|
65546
|
+
order_number: string | null;
|
|
65547
|
+
print_job_id: string | null;
|
|
65548
|
+
printer_id: string | null;
|
|
65549
|
+
retry_class: string | null;
|
|
65550
|
+
slip_job_id: string;
|
|
65551
|
+
status: string;
|
|
65552
|
+
updated_at: string;
|
|
65553
|
+
};
|
|
65554
|
+
Insert: {
|
|
65555
|
+
attempts?: number;
|
|
65556
|
+
batch_key?: string | null;
|
|
65557
|
+
cart_id?: string | null;
|
|
65558
|
+
created_at?: string;
|
|
65559
|
+
error?: string | null;
|
|
65560
|
+
error_code?: string | null;
|
|
65561
|
+
fulfillment_order_id?: string | null;
|
|
65562
|
+
id?: string;
|
|
65563
|
+
locked_until?: string | null;
|
|
65564
|
+
next_attempt_at?: string | null;
|
|
65565
|
+
order_id?: string | null;
|
|
65566
|
+
order_number?: string | null;
|
|
65567
|
+
print_job_id?: string | null;
|
|
65568
|
+
printer_id?: string | null;
|
|
65569
|
+
retry_class?: string | null;
|
|
65570
|
+
slip_job_id: string;
|
|
65571
|
+
status?: string;
|
|
65572
|
+
updated_at?: string;
|
|
65573
|
+
};
|
|
65574
|
+
Update: {
|
|
65575
|
+
attempts?: number;
|
|
65576
|
+
batch_key?: string | null;
|
|
65577
|
+
cart_id?: string | null;
|
|
65578
|
+
created_at?: string;
|
|
65579
|
+
error?: string | null;
|
|
65580
|
+
error_code?: string | null;
|
|
65581
|
+
fulfillment_order_id?: string | null;
|
|
65582
|
+
id?: string;
|
|
65583
|
+
locked_until?: string | null;
|
|
65584
|
+
next_attempt_at?: string | null;
|
|
65585
|
+
order_id?: string | null;
|
|
65586
|
+
order_number?: string | null;
|
|
65587
|
+
print_job_id?: string | null;
|
|
65588
|
+
printer_id?: string | null;
|
|
65589
|
+
retry_class?: string | null;
|
|
65590
|
+
slip_job_id?: string;
|
|
65591
|
+
status?: string;
|
|
65592
|
+
updated_at?: string;
|
|
65593
|
+
};
|
|
65594
|
+
Relationships: [];
|
|
65595
|
+
};
|
|
63114
65596
|
logistics_staff_planning: {
|
|
63115
65597
|
Row: {
|
|
63116
65598
|
created_at: string;
|
|
@@ -63444,6 +65926,129 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
63444
65926
|
};
|
|
63445
65927
|
Relationships: [];
|
|
63446
65928
|
};
|
|
65929
|
+
logistics_time_settings: {
|
|
65930
|
+
Row: {
|
|
65931
|
+
id: boolean;
|
|
65932
|
+
timezone: string;
|
|
65933
|
+
updated_at: string;
|
|
65934
|
+
};
|
|
65935
|
+
Insert: {
|
|
65936
|
+
id?: boolean;
|
|
65937
|
+
timezone: string;
|
|
65938
|
+
updated_at?: string;
|
|
65939
|
+
};
|
|
65940
|
+
Update: {
|
|
65941
|
+
id?: boolean;
|
|
65942
|
+
timezone?: string;
|
|
65943
|
+
updated_at?: string;
|
|
65944
|
+
};
|
|
65945
|
+
Relationships: [];
|
|
65946
|
+
};
|
|
65947
|
+
logistics_trace_events: {
|
|
65948
|
+
Row: {
|
|
65949
|
+
actor: string | null;
|
|
65950
|
+
attempts: number;
|
|
65951
|
+
cart_ref: string | null;
|
|
65952
|
+
created_at: string;
|
|
65953
|
+
db_action: string | null;
|
|
65954
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
65955
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
65956
|
+
db_record: string | null;
|
|
65957
|
+
db_table: string | null;
|
|
65958
|
+
decision: string | null;
|
|
65959
|
+
duration_ms: number | null;
|
|
65960
|
+
error: string | null;
|
|
65961
|
+
external_action: string | null;
|
|
65962
|
+
external_ref: string | null;
|
|
65963
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
65964
|
+
external_status: string | null;
|
|
65965
|
+
external_system: string | null;
|
|
65966
|
+
id: string;
|
|
65967
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
65968
|
+
next_attempt_at: string | null;
|
|
65969
|
+
order_ref: string | null;
|
|
65970
|
+
order_source: string | null;
|
|
65971
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
65972
|
+
phase: string;
|
|
65973
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
65974
|
+
reason: string | null;
|
|
65975
|
+
rule: string | null;
|
|
65976
|
+
slip_ref: string | null;
|
|
65977
|
+
status: string;
|
|
65978
|
+
step: string;
|
|
65979
|
+
trace_id: string;
|
|
65980
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
65981
|
+
};
|
|
65982
|
+
Insert: {
|
|
65983
|
+
actor?: string | null;
|
|
65984
|
+
attempts?: number;
|
|
65985
|
+
cart_ref?: string | null;
|
|
65986
|
+
created_at?: string;
|
|
65987
|
+
db_action?: string | null;
|
|
65988
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
65989
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
65990
|
+
db_record?: string | null;
|
|
65991
|
+
db_table?: string | null;
|
|
65992
|
+
decision?: string | null;
|
|
65993
|
+
duration_ms?: number | null;
|
|
65994
|
+
error?: string | null;
|
|
65995
|
+
external_action?: string | null;
|
|
65996
|
+
external_ref?: string | null;
|
|
65997
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
65998
|
+
external_status?: string | null;
|
|
65999
|
+
external_system?: string | null;
|
|
66000
|
+
id?: string;
|
|
66001
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66002
|
+
next_attempt_at?: string | null;
|
|
66003
|
+
order_ref?: string | null;
|
|
66004
|
+
order_source?: string | null;
|
|
66005
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66006
|
+
phase: string;
|
|
66007
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66008
|
+
reason?: string | null;
|
|
66009
|
+
rule?: string | null;
|
|
66010
|
+
slip_ref?: string | null;
|
|
66011
|
+
status: string;
|
|
66012
|
+
step: string;
|
|
66013
|
+
trace_id?: string;
|
|
66014
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66015
|
+
};
|
|
66016
|
+
Update: {
|
|
66017
|
+
actor?: string | null;
|
|
66018
|
+
attempts?: number;
|
|
66019
|
+
cart_ref?: string | null;
|
|
66020
|
+
created_at?: string;
|
|
66021
|
+
db_action?: string | null;
|
|
66022
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66023
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66024
|
+
db_record?: string | null;
|
|
66025
|
+
db_table?: string | null;
|
|
66026
|
+
decision?: string | null;
|
|
66027
|
+
duration_ms?: number | null;
|
|
66028
|
+
error?: string | null;
|
|
66029
|
+
external_action?: string | null;
|
|
66030
|
+
external_ref?: string | null;
|
|
66031
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66032
|
+
external_status?: string | null;
|
|
66033
|
+
external_system?: string | null;
|
|
66034
|
+
id?: string;
|
|
66035
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66036
|
+
next_attempt_at?: string | null;
|
|
66037
|
+
order_ref?: string | null;
|
|
66038
|
+
order_source?: string | null;
|
|
66039
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66040
|
+
phase?: string;
|
|
66041
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66042
|
+
reason?: string | null;
|
|
66043
|
+
rule?: string | null;
|
|
66044
|
+
slip_ref?: string | null;
|
|
66045
|
+
status?: string;
|
|
66046
|
+
step?: string;
|
|
66047
|
+
trace_id?: string;
|
|
66048
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66049
|
+
};
|
|
66050
|
+
Relationships: [];
|
|
66051
|
+
};
|
|
63447
66052
|
logistics_variables: {
|
|
63448
66053
|
Row: {
|
|
63449
66054
|
created_at: string;
|
|
@@ -65834,6 +68439,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
65834
68439
|
customer_name: string;
|
|
65835
68440
|
deleted_at: string | null;
|
|
65836
68441
|
delivery_date: string | null;
|
|
68442
|
+
floriday_order_group_key: string | null;
|
|
65837
68443
|
floriday_sales_order_id: string | null;
|
|
65838
68444
|
id: string;
|
|
65839
68445
|
invoice_due_at: string | null;
|
|
@@ -65861,6 +68467,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
65861
68467
|
customer_name?: string;
|
|
65862
68468
|
deleted_at?: string | null;
|
|
65863
68469
|
delivery_date?: string | null;
|
|
68470
|
+
floriday_order_group_key?: string | null;
|
|
65864
68471
|
floriday_sales_order_id?: string | null;
|
|
65865
68472
|
id?: string;
|
|
65866
68473
|
invoice_due_at?: string | null;
|
|
@@ -65888,6 +68495,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
65888
68495
|
customer_name?: string;
|
|
65889
68496
|
deleted_at?: string | null;
|
|
65890
68497
|
delivery_date?: string | null;
|
|
68498
|
+
floriday_order_group_key?: string | null;
|
|
65891
68499
|
floriday_sales_order_id?: string | null;
|
|
65892
68500
|
id?: string;
|
|
65893
68501
|
invoice_due_at?: string | null;
|
|
@@ -74013,6 +76621,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
74013
76621
|
Args: never;
|
|
74014
76622
|
Returns: boolean;
|
|
74015
76623
|
};
|
|
76624
|
+
cancel_open_print_jobs: {
|
|
76625
|
+
Args: {
|
|
76626
|
+
_cutoff: string;
|
|
76627
|
+
};
|
|
76628
|
+
Returns: {
|
|
76629
|
+
extern_job_id: string;
|
|
76630
|
+
id: string;
|
|
76631
|
+
}[];
|
|
76632
|
+
};
|
|
74016
76633
|
check_offer_product_available_stock: {
|
|
74017
76634
|
Args: {
|
|
74018
76635
|
p_campaign_product_id: string;
|
|
@@ -75551,6 +78168,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75551
78168
|
};
|
|
75552
78169
|
Returns: string;
|
|
75553
78170
|
};
|
|
78171
|
+
logistics_cart_checkin_at: {
|
|
78172
|
+
Args: {
|
|
78173
|
+
p_cart_id: string;
|
|
78174
|
+
};
|
|
78175
|
+
Returns: string;
|
|
78176
|
+
};
|
|
75554
78177
|
logistics_cart_handled: {
|
|
75555
78178
|
Args: {
|
|
75556
78179
|
p_cart_index: number;
|
|
@@ -75584,10 +78207,22 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75584
78207
|
task_status: string;
|
|
75585
78208
|
}[];
|
|
75586
78209
|
};
|
|
78210
|
+
logistics_cart_is_full: {
|
|
78211
|
+
Args: {
|
|
78212
|
+
p_cart_id: string;
|
|
78213
|
+
};
|
|
78214
|
+
Returns: boolean;
|
|
78215
|
+
};
|
|
75587
78216
|
logistics_cart_layout_method: {
|
|
75588
78217
|
Args: never;
|
|
75589
78218
|
Returns: import("../integrations/supabase/types").Json;
|
|
75590
78219
|
};
|
|
78220
|
+
logistics_cart_order_refs: {
|
|
78221
|
+
Args: {
|
|
78222
|
+
p_cart_id: string;
|
|
78223
|
+
};
|
|
78224
|
+
Returns: string[];
|
|
78225
|
+
};
|
|
75591
78226
|
logistics_cart_plan_overview: {
|
|
75592
78227
|
Args: {
|
|
75593
78228
|
p_days?: number;
|
|
@@ -75607,6 +78242,24 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75607
78242
|
};
|
|
75608
78243
|
Returns: import("../integrations/supabase/types").Json;
|
|
75609
78244
|
};
|
|
78245
|
+
logistics_cart_plan_status_core: {
|
|
78246
|
+
Args: {
|
|
78247
|
+
p_ref: string;
|
|
78248
|
+
};
|
|
78249
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78250
|
+
};
|
|
78251
|
+
logistics_cart_release_reason: {
|
|
78252
|
+
Args: {
|
|
78253
|
+
p_cart_id: string;
|
|
78254
|
+
};
|
|
78255
|
+
Returns: string;
|
|
78256
|
+
};
|
|
78257
|
+
logistics_cart_released: {
|
|
78258
|
+
Args: {
|
|
78259
|
+
p_cart_id: string;
|
|
78260
|
+
};
|
|
78261
|
+
Returns: boolean;
|
|
78262
|
+
};
|
|
75610
78263
|
logistics_cart_seq: {
|
|
75611
78264
|
Args: {
|
|
75612
78265
|
p_order_uuid?: string;
|
|
@@ -75657,6 +78310,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75657
78310
|
unit_ref: string;
|
|
75658
78311
|
}[];
|
|
75659
78312
|
};
|
|
78313
|
+
logistics_carts_per_print: {
|
|
78314
|
+
Args: never;
|
|
78315
|
+
Returns: number;
|
|
78316
|
+
};
|
|
75660
78317
|
logistics_check_order_allowed: {
|
|
75661
78318
|
Args: {
|
|
75662
78319
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -75760,6 +78417,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75760
78417
|
isSetofReturn: false;
|
|
75761
78418
|
};
|
|
75762
78419
|
};
|
|
78420
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
78421
|
+
Args: never;
|
|
78422
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78423
|
+
};
|
|
75763
78424
|
logistics_complete_task: {
|
|
75764
78425
|
Args: {
|
|
75765
78426
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -75822,6 +78483,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75822
78483
|
station_carts: number;
|
|
75823
78484
|
}[];
|
|
75824
78485
|
};
|
|
78486
|
+
logistics_control_complete_cart: {
|
|
78487
|
+
Args: {
|
|
78488
|
+
p_cart_id: string;
|
|
78489
|
+
};
|
|
78490
|
+
Returns: number;
|
|
78491
|
+
};
|
|
75825
78492
|
logistics_control_scan_approve: {
|
|
75826
78493
|
Args: {
|
|
75827
78494
|
p_allow_reprint?: boolean;
|
|
@@ -75901,6 +78568,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75901
78568
|
Args: never;
|
|
75902
78569
|
Returns: import("../integrations/supabase/types").Json;
|
|
75903
78570
|
};
|
|
78571
|
+
logistics_day_windows: {
|
|
78572
|
+
Args: {
|
|
78573
|
+
p_day: string;
|
|
78574
|
+
};
|
|
78575
|
+
Returns: {
|
|
78576
|
+
win_end: string;
|
|
78577
|
+
win_start: string;
|
|
78578
|
+
}[];
|
|
78579
|
+
};
|
|
75904
78580
|
logistics_delay_customer_email: {
|
|
75905
78581
|
Args: {
|
|
75906
78582
|
p_customer: string;
|
|
@@ -75968,6 +78644,17 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75968
78644
|
};
|
|
75969
78645
|
Returns: import("../integrations/supabase/types").Json;
|
|
75970
78646
|
};
|
|
78647
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
78648
|
+
Args: {
|
|
78649
|
+
_cart_id: string;
|
|
78650
|
+
_is_herprint: boolean;
|
|
78651
|
+
_printer_id: string;
|
|
78652
|
+
_queue_item_id: string;
|
|
78653
|
+
_session_id: string;
|
|
78654
|
+
_slip_job_id: string;
|
|
78655
|
+
};
|
|
78656
|
+
Returns: string;
|
|
78657
|
+
};
|
|
75971
78658
|
logistics_enqueue_sticker_with_slip: {
|
|
75972
78659
|
Args: {
|
|
75973
78660
|
_cart_id: string;
|
|
@@ -75985,6 +78672,20 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
75985
78672
|
};
|
|
75986
78673
|
Returns: string;
|
|
75987
78674
|
};
|
|
78675
|
+
logistics_ensure_pick_data: {
|
|
78676
|
+
Args: {
|
|
78677
|
+
p_event_id?: string;
|
|
78678
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
78679
|
+
p_ref: string;
|
|
78680
|
+
};
|
|
78681
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78682
|
+
};
|
|
78683
|
+
logistics_ensure_shipping_notes: {
|
|
78684
|
+
Args: {
|
|
78685
|
+
p_limit?: number;
|
|
78686
|
+
};
|
|
78687
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78688
|
+
};
|
|
75988
78689
|
logistics_fail_task: {
|
|
75989
78690
|
Args: {
|
|
75990
78691
|
p_error: string;
|
|
@@ -76030,6 +78731,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76030
78731
|
isSetofReturn: false;
|
|
76031
78732
|
};
|
|
76032
78733
|
};
|
|
78734
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78735
|
+
Args: never;
|
|
78736
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78737
|
+
};
|
|
76033
78738
|
logistics_floriday_cart_plan: {
|
|
76034
78739
|
Args: {
|
|
76035
78740
|
p_order_id: string;
|
|
@@ -76057,6 +78762,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76057
78762
|
revision: number;
|
|
76058
78763
|
}[];
|
|
76059
78764
|
};
|
|
78765
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78766
|
+
Args: never;
|
|
78767
|
+
Returns: boolean;
|
|
78768
|
+
};
|
|
76060
78769
|
logistics_floriday_finish_push: {
|
|
76061
78770
|
Args: {
|
|
76062
78771
|
_error?: string;
|
|
@@ -76106,6 +78815,32 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76106
78815
|
};
|
|
76107
78816
|
Returns: string;
|
|
76108
78817
|
};
|
|
78818
|
+
logistics_floriday_gate_status: {
|
|
78819
|
+
Args: never;
|
|
78820
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78821
|
+
};
|
|
78822
|
+
logistics_floriday_log_refusal: {
|
|
78823
|
+
Args: {
|
|
78824
|
+
_action?: string;
|
|
78825
|
+
_module?: string;
|
|
78826
|
+
_order_ref: string;
|
|
78827
|
+
_reason: string;
|
|
78828
|
+
_shell?: string;
|
|
78829
|
+
};
|
|
78830
|
+
Returns: undefined;
|
|
78831
|
+
};
|
|
78832
|
+
logistics_floriday_log_send: {
|
|
78833
|
+
Args: {
|
|
78834
|
+
_action: string;
|
|
78835
|
+
_detail?: string;
|
|
78836
|
+
_http_status?: number;
|
|
78837
|
+
_module?: string;
|
|
78838
|
+
_ok: boolean;
|
|
78839
|
+
_order_ref: string;
|
|
78840
|
+
_shell?: string;
|
|
78841
|
+
};
|
|
78842
|
+
Returns: undefined;
|
|
78843
|
+
};
|
|
76109
78844
|
logistics_floriday_order_approved: {
|
|
76110
78845
|
Args: {
|
|
76111
78846
|
_order_ref: string;
|
|
@@ -76130,6 +78865,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76130
78865
|
Args: never;
|
|
76131
78866
|
Returns: boolean;
|
|
76132
78867
|
};
|
|
78868
|
+
logistics_floriday_stock_updates_enabled: {
|
|
78869
|
+
Args: never;
|
|
78870
|
+
Returns: boolean;
|
|
78871
|
+
};
|
|
78872
|
+
logistics_floriday_write_allowed: {
|
|
78873
|
+
Args: {
|
|
78874
|
+
_action: string;
|
|
78875
|
+
};
|
|
78876
|
+
Returns: boolean;
|
|
78877
|
+
};
|
|
76133
78878
|
logistics_fulfill_barcode_requests: {
|
|
76134
78879
|
Args: {
|
|
76135
78880
|
p_limit?: number;
|
|
@@ -76172,6 +78917,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76172
78917
|
};
|
|
76173
78918
|
Returns: number;
|
|
76174
78919
|
};
|
|
78920
|
+
logistics_merge_partial_carts: {
|
|
78921
|
+
Args: {
|
|
78922
|
+
p_limit?: number;
|
|
78923
|
+
};
|
|
78924
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78925
|
+
};
|
|
76175
78926
|
logistics_next_workday_date: {
|
|
76176
78927
|
Args: {
|
|
76177
78928
|
p_date: string;
|
|
@@ -76198,6 +78949,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76198
78949
|
};
|
|
76199
78950
|
Returns: string;
|
|
76200
78951
|
};
|
|
78952
|
+
logistics_opening_timezone: {
|
|
78953
|
+
Args: never;
|
|
78954
|
+
Returns: string;
|
|
78955
|
+
};
|
|
76201
78956
|
logistics_order_cart_count: {
|
|
76202
78957
|
Args: {
|
|
76203
78958
|
p_order_ref: string;
|
|
@@ -76254,6 +79009,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76254
79009
|
};
|
|
76255
79010
|
Returns: string;
|
|
76256
79011
|
};
|
|
79012
|
+
logistics_payload_is_floriday: {
|
|
79013
|
+
Args: {
|
|
79014
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79015
|
+
};
|
|
79016
|
+
Returns: boolean;
|
|
79017
|
+
};
|
|
76257
79018
|
logistics_pick_agenda: {
|
|
76258
79019
|
Args: {
|
|
76259
79020
|
p_from?: string;
|
|
@@ -76282,6 +79043,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76282
79043
|
Args: never;
|
|
76283
79044
|
Returns: import("../integrations/supabase/types").Json;
|
|
76284
79045
|
};
|
|
79046
|
+
logistics_pick_partial_mode: {
|
|
79047
|
+
Args: never;
|
|
79048
|
+
Returns: string;
|
|
79049
|
+
};
|
|
76285
79050
|
logistics_pick_start_estimate: {
|
|
76286
79051
|
Args: {
|
|
76287
79052
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -76372,6 +79137,20 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76372
79137
|
Args: never;
|
|
76373
79138
|
Returns: undefined;
|
|
76374
79139
|
};
|
|
79140
|
+
logistics_plan_progress: {
|
|
79141
|
+
Args: {
|
|
79142
|
+
p_refs: string[];
|
|
79143
|
+
};
|
|
79144
|
+
Returns: {
|
|
79145
|
+
cart_plan_ready: boolean;
|
|
79146
|
+
cart_plan_reason: string;
|
|
79147
|
+
cart_plan_released: boolean;
|
|
79148
|
+
plan_progress: number;
|
|
79149
|
+
plan_state: string;
|
|
79150
|
+
plan_state_since: string;
|
|
79151
|
+
unit_ref: string;
|
|
79152
|
+
}[];
|
|
79153
|
+
};
|
|
76375
79154
|
logistics_plan_prune: {
|
|
76376
79155
|
Args: never;
|
|
76377
79156
|
Returns: number;
|
|
@@ -76393,6 +79172,18 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76393
79172
|
};
|
|
76394
79173
|
Returns: number;
|
|
76395
79174
|
};
|
|
79175
|
+
logistics_plan_state_for: {
|
|
79176
|
+
Args: {
|
|
79177
|
+
p_ref: string;
|
|
79178
|
+
};
|
|
79179
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79180
|
+
};
|
|
79181
|
+
logistics_prepare_pick_documents: {
|
|
79182
|
+
Args: {
|
|
79183
|
+
p_limit?: number;
|
|
79184
|
+
};
|
|
79185
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79186
|
+
};
|
|
76396
79187
|
logistics_prune_buffer_member_queue: {
|
|
76397
79188
|
Args: never;
|
|
76398
79189
|
Returns: number;
|
|
@@ -76433,18 +79224,36 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76433
79224
|
Args: never;
|
|
76434
79225
|
Returns: import("../integrations/supabase/types").Json;
|
|
76435
79226
|
};
|
|
79227
|
+
logistics_refresh_pick_queue_status: {
|
|
79228
|
+
Args: {
|
|
79229
|
+
p_ref: string;
|
|
79230
|
+
};
|
|
79231
|
+
Returns: number;
|
|
79232
|
+
};
|
|
76436
79233
|
logistics_refresh_pickup_moments: {
|
|
76437
79234
|
Args: {
|
|
76438
79235
|
p_weeks?: number;
|
|
76439
79236
|
};
|
|
76440
79237
|
Returns: import("../integrations/supabase/types").Json;
|
|
76441
79238
|
};
|
|
79239
|
+
logistics_refresh_plan_state: {
|
|
79240
|
+
Args: {
|
|
79241
|
+
p_limit?: number;
|
|
79242
|
+
};
|
|
79243
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79244
|
+
};
|
|
76442
79245
|
logistics_replan_all: {
|
|
76443
79246
|
Args: {
|
|
76444
79247
|
p_reason?: string;
|
|
76445
79248
|
};
|
|
76446
79249
|
Returns: import("../integrations/supabase/types").Json;
|
|
76447
79250
|
};
|
|
79251
|
+
logistics_replan_all_force: {
|
|
79252
|
+
Args: {
|
|
79253
|
+
p_reason?: string;
|
|
79254
|
+
};
|
|
79255
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79256
|
+
};
|
|
76448
79257
|
logistics_report_delay: {
|
|
76449
79258
|
Args: {
|
|
76450
79259
|
p_expected_date?: string;
|
|
@@ -76589,6 +79398,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76589
79398
|
};
|
|
76590
79399
|
Returns: string;
|
|
76591
79400
|
};
|
|
79401
|
+
logistics_shipping_note_follows_slip: {
|
|
79402
|
+
Args: never;
|
|
79403
|
+
Returns: boolean;
|
|
79404
|
+
};
|
|
76592
79405
|
logistics_shipping_note_from_barcode: {
|
|
76593
79406
|
Args: {
|
|
76594
79407
|
p_allow_reprint?: boolean;
|
|
@@ -76597,10 +79410,86 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76597
79410
|
};
|
|
76598
79411
|
Returns: import("../integrations/supabase/types").Json;
|
|
76599
79412
|
};
|
|
79413
|
+
logistics_shipping_note_job_for_slip: {
|
|
79414
|
+
Args: {
|
|
79415
|
+
_slip_job_id: string;
|
|
79416
|
+
};
|
|
79417
|
+
Returns: string;
|
|
79418
|
+
};
|
|
79419
|
+
logistics_shipping_notes_wake_all: {
|
|
79420
|
+
Args: never;
|
|
79421
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79422
|
+
};
|
|
79423
|
+
logistics_slip_is_floriday: {
|
|
79424
|
+
Args: {
|
|
79425
|
+
_slip_job_id: string;
|
|
79426
|
+
};
|
|
79427
|
+
Returns: boolean;
|
|
79428
|
+
};
|
|
79429
|
+
logistics_slip_note_claim: {
|
|
79430
|
+
Args: {
|
|
79431
|
+
_lease_seconds?: number;
|
|
79432
|
+
_limit?: number;
|
|
79433
|
+
};
|
|
79434
|
+
Returns: {
|
|
79435
|
+
attempts: number;
|
|
79436
|
+
batch_key: string | null;
|
|
79437
|
+
cart_id: string | null;
|
|
79438
|
+
created_at: string;
|
|
79439
|
+
error: string | null;
|
|
79440
|
+
error_code: string | null;
|
|
79441
|
+
fulfillment_order_id: string | null;
|
|
79442
|
+
id: string;
|
|
79443
|
+
locked_until: string | null;
|
|
79444
|
+
next_attempt_at: string | null;
|
|
79445
|
+
order_id: string | null;
|
|
79446
|
+
order_number: string | null;
|
|
79447
|
+
print_job_id: string | null;
|
|
79448
|
+
printer_id: string | null;
|
|
79449
|
+
retry_class: string | null;
|
|
79450
|
+
slip_job_id: string;
|
|
79451
|
+
status: string;
|
|
79452
|
+
updated_at: string;
|
|
79453
|
+
}[];
|
|
79454
|
+
SetofOptions: {
|
|
79455
|
+
from: "*";
|
|
79456
|
+
to: "logistics_slip_shipping_note";
|
|
79457
|
+
isOneToOne: false;
|
|
79458
|
+
isSetofReturn: true;
|
|
79459
|
+
};
|
|
79460
|
+
};
|
|
79461
|
+
logistics_slip_note_finish: {
|
|
79462
|
+
Args: {
|
|
79463
|
+
_error?: string;
|
|
79464
|
+
_error_code?: string;
|
|
79465
|
+
_fulfillment_order_id?: string;
|
|
79466
|
+
_id: string;
|
|
79467
|
+
_ok: boolean;
|
|
79468
|
+
_print_job_id?: string;
|
|
79469
|
+
_status?: string;
|
|
79470
|
+
};
|
|
79471
|
+
Returns: undefined;
|
|
79472
|
+
};
|
|
79473
|
+
logistics_slip_note_keep_waiting: {
|
|
79474
|
+
Args: {
|
|
79475
|
+
_class?: string;
|
|
79476
|
+
_id: string;
|
|
79477
|
+
_reason: string;
|
|
79478
|
+
};
|
|
79479
|
+
Returns: undefined;
|
|
79480
|
+
};
|
|
76600
79481
|
logistics_sticker_follows_slip: {
|
|
76601
79482
|
Args: never;
|
|
76602
79483
|
Returns: boolean;
|
|
76603
79484
|
};
|
|
79485
|
+
logistics_subtract_working_minutes: {
|
|
79486
|
+
Args: {
|
|
79487
|
+
p_deadline: string;
|
|
79488
|
+
p_max_workdays?: number;
|
|
79489
|
+
p_minutes: number;
|
|
79490
|
+
};
|
|
79491
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79492
|
+
};
|
|
76604
79493
|
logistics_supersede_stale_tasks: {
|
|
76605
79494
|
Args: {
|
|
76606
79495
|
p_keep: string[];
|
|
@@ -76637,6 +79526,46 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76637
79526
|
Args: never;
|
|
76638
79527
|
Returns: string;
|
|
76639
79528
|
};
|
|
79529
|
+
logistics_timezone_options: {
|
|
79530
|
+
Args: never;
|
|
79531
|
+
Returns: {
|
|
79532
|
+
name: string;
|
|
79533
|
+
}[];
|
|
79534
|
+
};
|
|
79535
|
+
logistics_trace: {
|
|
79536
|
+
Args: {
|
|
79537
|
+
p: import("../integrations/supabase/types").Json;
|
|
79538
|
+
};
|
|
79539
|
+
Returns: string;
|
|
79540
|
+
};
|
|
79541
|
+
logistics_trace_batch: {
|
|
79542
|
+
Args: {
|
|
79543
|
+
p: import("../integrations/supabase/types").Json;
|
|
79544
|
+
};
|
|
79545
|
+
Returns: number;
|
|
79546
|
+
};
|
|
79547
|
+
logistics_trace_orders: {
|
|
79548
|
+
Args: {
|
|
79549
|
+
p_limit?: number;
|
|
79550
|
+
p_search?: string;
|
|
79551
|
+
p_since?: string;
|
|
79552
|
+
p_status?: string;
|
|
79553
|
+
};
|
|
79554
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79555
|
+
};
|
|
79556
|
+
logistics_trace_redact: {
|
|
79557
|
+
Args: {
|
|
79558
|
+
p: import("../integrations/supabase/types").Json;
|
|
79559
|
+
};
|
|
79560
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79561
|
+
};
|
|
79562
|
+
logistics_trace_timeline: {
|
|
79563
|
+
Args: {
|
|
79564
|
+
p_limit?: number;
|
|
79565
|
+
p_order_ref: string;
|
|
79566
|
+
};
|
|
79567
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79568
|
+
};
|
|
76640
79569
|
logistics_upsert_task: {
|
|
76641
79570
|
Args: {
|
|
76642
79571
|
p_buffer_ref: string;
|
|
@@ -76656,6 +79585,16 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
76656
79585
|
};
|
|
76657
79586
|
Returns: string;
|
|
76658
79587
|
};
|
|
79588
|
+
logistics_valid_timezone: {
|
|
79589
|
+
Args: {
|
|
79590
|
+
_tz: string;
|
|
79591
|
+
};
|
|
79592
|
+
Returns: boolean;
|
|
79593
|
+
};
|
|
79594
|
+
logistics_working_hours_status: {
|
|
79595
|
+
Args: never;
|
|
79596
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79597
|
+
};
|
|
76659
79598
|
logistics_write_buffer_layer_positions: {
|
|
76660
79599
|
Args: {
|
|
76661
79600
|
p_buffer_id: string;
|
|
@@ -77668,6 +80607,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
77668
80607
|
};
|
|
77669
80608
|
Returns: undefined;
|
|
77670
80609
|
};
|
|
80610
|
+
prune_floriday_api_log: {
|
|
80611
|
+
Args: never;
|
|
80612
|
+
Returns: number;
|
|
80613
|
+
};
|
|
77671
80614
|
quote_create_from_source: {
|
|
77672
80615
|
Args: {
|
|
77673
80616
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -78101,6 +81044,13 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78101
81044
|
};
|
|
78102
81045
|
Returns: number;
|
|
78103
81046
|
};
|
|
81047
|
+
schedule_floriday_catalog_prices_sync: {
|
|
81048
|
+
Args: {
|
|
81049
|
+
p_apikey: string;
|
|
81050
|
+
p_url: string;
|
|
81051
|
+
};
|
|
81052
|
+
Returns: number;
|
|
81053
|
+
};
|
|
78104
81054
|
schedule_floriday_clock_presales_sync: {
|
|
78105
81055
|
Args: {
|
|
78106
81056
|
p_apikey: string;
|
|
@@ -78401,6 +81351,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78401
81351
|
};
|
|
78402
81352
|
Returns: undefined;
|
|
78403
81353
|
};
|
|
81354
|
+
sync_floriday_prices_into_price_groups: {
|
|
81355
|
+
Args: never;
|
|
81356
|
+
Returns: number;
|
|
81357
|
+
};
|
|
78404
81358
|
sync_layer_stock: {
|
|
78405
81359
|
Args: {
|
|
78406
81360
|
p_product_id: string;
|
|
@@ -78533,6 +81487,10 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
78533
81487
|
Args: never;
|
|
78534
81488
|
Returns: string;
|
|
78535
81489
|
};
|
|
81490
|
+
voorraad_cleanup_old_rows: {
|
|
81491
|
+
Args: never;
|
|
81492
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81493
|
+
};
|
|
78536
81494
|
wake_print_queue: {
|
|
78537
81495
|
Args: {
|
|
78538
81496
|
_min_interval_ms?: number;
|