@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
|
@@ -2224,6 +2224,45 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
2224
2224
|
};
|
|
2225
2225
|
Relationships: [];
|
|
2226
2226
|
};
|
|
2227
|
+
customer_product_stickers: {
|
|
2228
|
+
Row: {
|
|
2229
|
+
created_at: string;
|
|
2230
|
+
customer_key: string;
|
|
2231
|
+
file_name: string;
|
|
2232
|
+
file_path: string;
|
|
2233
|
+
file_size: number | null;
|
|
2234
|
+
id: string;
|
|
2235
|
+
mime_type: string | null;
|
|
2236
|
+
trade_item_key: string;
|
|
2237
|
+
updated_at: string;
|
|
2238
|
+
uploaded_by: string | null;
|
|
2239
|
+
};
|
|
2240
|
+
Insert: {
|
|
2241
|
+
created_at?: string;
|
|
2242
|
+
customer_key: string;
|
|
2243
|
+
file_name: string;
|
|
2244
|
+
file_path: string;
|
|
2245
|
+
file_size?: number | null;
|
|
2246
|
+
id?: string;
|
|
2247
|
+
mime_type?: string | null;
|
|
2248
|
+
trade_item_key: string;
|
|
2249
|
+
updated_at?: string;
|
|
2250
|
+
uploaded_by?: string | null;
|
|
2251
|
+
};
|
|
2252
|
+
Update: {
|
|
2253
|
+
created_at?: string;
|
|
2254
|
+
customer_key?: string;
|
|
2255
|
+
file_name?: string;
|
|
2256
|
+
file_path?: string;
|
|
2257
|
+
file_size?: number | null;
|
|
2258
|
+
id?: string;
|
|
2259
|
+
mime_type?: string | null;
|
|
2260
|
+
trade_item_key?: string;
|
|
2261
|
+
updated_at?: string;
|
|
2262
|
+
uploaded_by?: string | null;
|
|
2263
|
+
};
|
|
2264
|
+
Relationships: [];
|
|
2265
|
+
};
|
|
2227
2266
|
customer_selected_assortment: {
|
|
2228
2267
|
Row: {
|
|
2229
2268
|
article_number: string | null;
|
|
@@ -2272,6 +2311,30 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
2272
2311
|
referencedColumns: ["id"];
|
|
2273
2312
|
}];
|
|
2274
2313
|
};
|
|
2314
|
+
customer_sticker_settings: {
|
|
2315
|
+
Row: {
|
|
2316
|
+
created_at: string;
|
|
2317
|
+
customer_key: string;
|
|
2318
|
+
height_mm: number;
|
|
2319
|
+
updated_at: string;
|
|
2320
|
+
width_mm: number;
|
|
2321
|
+
};
|
|
2322
|
+
Insert: {
|
|
2323
|
+
created_at?: string;
|
|
2324
|
+
customer_key: string;
|
|
2325
|
+
height_mm?: number;
|
|
2326
|
+
updated_at?: string;
|
|
2327
|
+
width_mm?: number;
|
|
2328
|
+
};
|
|
2329
|
+
Update: {
|
|
2330
|
+
created_at?: string;
|
|
2331
|
+
customer_key?: string;
|
|
2332
|
+
height_mm?: number;
|
|
2333
|
+
updated_at?: string;
|
|
2334
|
+
width_mm?: number;
|
|
2335
|
+
};
|
|
2336
|
+
Relationships: [];
|
|
2337
|
+
};
|
|
2275
2338
|
customer_trade_settings: {
|
|
2276
2339
|
Row: {
|
|
2277
2340
|
category: string;
|
|
@@ -5602,6 +5665,102 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
5602
5665
|
referencedColumns: ["id"];
|
|
5603
5666
|
}];
|
|
5604
5667
|
};
|
|
5668
|
+
floriday_api_log: {
|
|
5669
|
+
Row: {
|
|
5670
|
+
action: string | null;
|
|
5671
|
+
caller: string | null;
|
|
5672
|
+
connection_id: string | null;
|
|
5673
|
+
created_at: string;
|
|
5674
|
+
cursor_from: number | null;
|
|
5675
|
+
direction: string;
|
|
5676
|
+
duration_ms: number | null;
|
|
5677
|
+
environment: string | null;
|
|
5678
|
+
error: string | null;
|
|
5679
|
+
floriday_id: string | null;
|
|
5680
|
+
floriday_reference: string | null;
|
|
5681
|
+
http_status: number;
|
|
5682
|
+
id: string;
|
|
5683
|
+
item_count: number | null;
|
|
5684
|
+
kind: string | null;
|
|
5685
|
+
local_id: string | null;
|
|
5686
|
+
local_reference: string | null;
|
|
5687
|
+
method: string;
|
|
5688
|
+
module: string | null;
|
|
5689
|
+
ok: boolean;
|
|
5690
|
+
path: string;
|
|
5691
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5692
|
+
resource_type: string | null;
|
|
5693
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5694
|
+
write_log_id: string | null;
|
|
5695
|
+
};
|
|
5696
|
+
Insert: {
|
|
5697
|
+
action?: string | null;
|
|
5698
|
+
caller?: string | null;
|
|
5699
|
+
connection_id?: string | null;
|
|
5700
|
+
created_at?: string;
|
|
5701
|
+
cursor_from?: number | null;
|
|
5702
|
+
direction: string;
|
|
5703
|
+
duration_ms?: number | null;
|
|
5704
|
+
environment?: string | null;
|
|
5705
|
+
error?: string | null;
|
|
5706
|
+
floriday_id?: string | null;
|
|
5707
|
+
floriday_reference?: string | null;
|
|
5708
|
+
http_status?: number;
|
|
5709
|
+
id?: string;
|
|
5710
|
+
item_count?: number | null;
|
|
5711
|
+
kind?: string | null;
|
|
5712
|
+
local_id?: string | null;
|
|
5713
|
+
local_reference?: string | null;
|
|
5714
|
+
method: string;
|
|
5715
|
+
module?: string | null;
|
|
5716
|
+
ok?: boolean;
|
|
5717
|
+
path: string;
|
|
5718
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5719
|
+
resource_type?: string | null;
|
|
5720
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5721
|
+
write_log_id?: string | null;
|
|
5722
|
+
};
|
|
5723
|
+
Update: {
|
|
5724
|
+
action?: string | null;
|
|
5725
|
+
caller?: string | null;
|
|
5726
|
+
connection_id?: string | null;
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
cursor_from?: number | null;
|
|
5729
|
+
direction?: string;
|
|
5730
|
+
duration_ms?: number | null;
|
|
5731
|
+
environment?: string | null;
|
|
5732
|
+
error?: string | null;
|
|
5733
|
+
floriday_id?: string | null;
|
|
5734
|
+
floriday_reference?: string | null;
|
|
5735
|
+
http_status?: number;
|
|
5736
|
+
id?: string;
|
|
5737
|
+
item_count?: number | null;
|
|
5738
|
+
kind?: string | null;
|
|
5739
|
+
local_id?: string | null;
|
|
5740
|
+
local_reference?: string | null;
|
|
5741
|
+
method?: string;
|
|
5742
|
+
module?: string | null;
|
|
5743
|
+
ok?: boolean;
|
|
5744
|
+
path?: string;
|
|
5745
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5746
|
+
resource_type?: string | null;
|
|
5747
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5748
|
+
write_log_id?: string | null;
|
|
5749
|
+
};
|
|
5750
|
+
Relationships: [{
|
|
5751
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5752
|
+
columns: ["connection_id"];
|
|
5753
|
+
isOneToOne: false;
|
|
5754
|
+
referencedRelation: "floriday_connections";
|
|
5755
|
+
referencedColumns: ["id"];
|
|
5756
|
+
}, {
|
|
5757
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5758
|
+
columns: ["write_log_id"];
|
|
5759
|
+
isOneToOne: false;
|
|
5760
|
+
referencedRelation: "floriday_write_log";
|
|
5761
|
+
referencedColumns: ["id"];
|
|
5762
|
+
}];
|
|
5763
|
+
};
|
|
5605
5764
|
floriday_auction_letters_cache: {
|
|
5606
5765
|
Row: {
|
|
5607
5766
|
auction_letter_code: string;
|
|
@@ -5809,6 +5968,84 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
5809
5968
|
referencedColumns: ["id"];
|
|
5810
5969
|
}];
|
|
5811
5970
|
};
|
|
5971
|
+
floriday_catalog_prices_cache: {
|
|
5972
|
+
Row: {
|
|
5973
|
+
connection_id: string;
|
|
5974
|
+
created_at: string;
|
|
5975
|
+
currency: string;
|
|
5976
|
+
id: string;
|
|
5977
|
+
is_deleted: boolean;
|
|
5978
|
+
price: number | null;
|
|
5979
|
+
price_group_id: string | null;
|
|
5980
|
+
price_group_name: string | null;
|
|
5981
|
+
price_type: string;
|
|
5982
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
5983
|
+
sales_unit: string | null;
|
|
5984
|
+
sequence_number: number;
|
|
5985
|
+
supplier_article_code: string | null;
|
|
5986
|
+
supply_line_id: string;
|
|
5987
|
+
synced_at: string;
|
|
5988
|
+
trade_item_id: string | null;
|
|
5989
|
+
updated_at: string;
|
|
5990
|
+
valid_from: string | null;
|
|
5991
|
+
valid_to: string | null;
|
|
5992
|
+
week: number | null;
|
|
5993
|
+
year: number | null;
|
|
5994
|
+
};
|
|
5995
|
+
Insert: {
|
|
5996
|
+
connection_id: string;
|
|
5997
|
+
created_at?: string;
|
|
5998
|
+
currency?: string;
|
|
5999
|
+
id?: string;
|
|
6000
|
+
is_deleted?: boolean;
|
|
6001
|
+
price?: number | null;
|
|
6002
|
+
price_group_id?: string | null;
|
|
6003
|
+
price_group_name?: string | null;
|
|
6004
|
+
price_type?: string;
|
|
6005
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6006
|
+
sales_unit?: string | null;
|
|
6007
|
+
sequence_number?: number;
|
|
6008
|
+
supplier_article_code?: string | null;
|
|
6009
|
+
supply_line_id: string;
|
|
6010
|
+
synced_at?: string;
|
|
6011
|
+
trade_item_id?: string | null;
|
|
6012
|
+
updated_at?: string;
|
|
6013
|
+
valid_from?: string | null;
|
|
6014
|
+
valid_to?: string | null;
|
|
6015
|
+
week?: number | null;
|
|
6016
|
+
year?: number | null;
|
|
6017
|
+
};
|
|
6018
|
+
Update: {
|
|
6019
|
+
connection_id?: string;
|
|
6020
|
+
created_at?: string;
|
|
6021
|
+
currency?: string;
|
|
6022
|
+
id?: string;
|
|
6023
|
+
is_deleted?: boolean;
|
|
6024
|
+
price?: number | null;
|
|
6025
|
+
price_group_id?: string | null;
|
|
6026
|
+
price_group_name?: string | null;
|
|
6027
|
+
price_type?: string;
|
|
6028
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6029
|
+
sales_unit?: string | null;
|
|
6030
|
+
sequence_number?: number;
|
|
6031
|
+
supplier_article_code?: string | null;
|
|
6032
|
+
supply_line_id?: string;
|
|
6033
|
+
synced_at?: string;
|
|
6034
|
+
trade_item_id?: string | null;
|
|
6035
|
+
updated_at?: string;
|
|
6036
|
+
valid_from?: string | null;
|
|
6037
|
+
valid_to?: string | null;
|
|
6038
|
+
week?: number | null;
|
|
6039
|
+
year?: number | null;
|
|
6040
|
+
};
|
|
6041
|
+
Relationships: [{
|
|
6042
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6043
|
+
columns: ["connection_id"];
|
|
6044
|
+
isOneToOne: false;
|
|
6045
|
+
referencedRelation: "floriday_connections";
|
|
6046
|
+
referencedColumns: ["id"];
|
|
6047
|
+
}];
|
|
6048
|
+
};
|
|
5812
6049
|
floriday_clock_presales_cache: {
|
|
5813
6050
|
Row: {
|
|
5814
6051
|
buyer_organization_id: string | null;
|
|
@@ -6724,6 +6961,69 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
6724
6961
|
referencedColumns: ["id"];
|
|
6725
6962
|
}];
|
|
6726
6963
|
};
|
|
6964
|
+
floriday_link_templates: {
|
|
6965
|
+
Row: {
|
|
6966
|
+
created_at: string;
|
|
6967
|
+
floriday_url_template: string | null;
|
|
6968
|
+
is_active: boolean;
|
|
6969
|
+
label: string;
|
|
6970
|
+
local_url_template: string | null;
|
|
6971
|
+
resource_type: string;
|
|
6972
|
+
updated_at: string;
|
|
6973
|
+
};
|
|
6974
|
+
Insert: {
|
|
6975
|
+
created_at?: string;
|
|
6976
|
+
floriday_url_template?: string | null;
|
|
6977
|
+
is_active?: boolean;
|
|
6978
|
+
label: string;
|
|
6979
|
+
local_url_template?: string | null;
|
|
6980
|
+
resource_type: string;
|
|
6981
|
+
updated_at?: string;
|
|
6982
|
+
};
|
|
6983
|
+
Update: {
|
|
6984
|
+
created_at?: string;
|
|
6985
|
+
floriday_url_template?: string | null;
|
|
6986
|
+
is_active?: boolean;
|
|
6987
|
+
label?: string;
|
|
6988
|
+
local_url_template?: string | null;
|
|
6989
|
+
resource_type?: string;
|
|
6990
|
+
updated_at?: string;
|
|
6991
|
+
};
|
|
6992
|
+
Relationships: [];
|
|
6993
|
+
};
|
|
6994
|
+
floriday_log_retention: {
|
|
6995
|
+
Row: {
|
|
6996
|
+
created_at: string;
|
|
6997
|
+
direction: string | null;
|
|
6998
|
+
id: string;
|
|
6999
|
+
keep_failed_days: number | null;
|
|
7000
|
+
keep_ok_days: number | null;
|
|
7001
|
+
note: string | null;
|
|
7002
|
+
resource_type: string | null;
|
|
7003
|
+
updated_at: string;
|
|
7004
|
+
};
|
|
7005
|
+
Insert: {
|
|
7006
|
+
created_at?: string;
|
|
7007
|
+
direction?: string | null;
|
|
7008
|
+
id?: string;
|
|
7009
|
+
keep_failed_days?: number | null;
|
|
7010
|
+
keep_ok_days?: number | null;
|
|
7011
|
+
note?: string | null;
|
|
7012
|
+
resource_type?: string | null;
|
|
7013
|
+
updated_at?: string;
|
|
7014
|
+
};
|
|
7015
|
+
Update: {
|
|
7016
|
+
created_at?: string;
|
|
7017
|
+
direction?: string | null;
|
|
7018
|
+
id?: string;
|
|
7019
|
+
keep_failed_days?: number | null;
|
|
7020
|
+
keep_ok_days?: number | null;
|
|
7021
|
+
note?: string | null;
|
|
7022
|
+
resource_type?: string | null;
|
|
7023
|
+
updated_at?: string;
|
|
7024
|
+
};
|
|
7025
|
+
Relationships: [];
|
|
7026
|
+
};
|
|
6727
7027
|
floriday_logistic_labels_cache: {
|
|
6728
7028
|
Row: {
|
|
6729
7029
|
byte_size: number | null;
|
|
@@ -10077,22 +10377,31 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
10077
10377
|
};
|
|
10078
10378
|
logistics_floriday_push_refusals: {
|
|
10079
10379
|
Row: {
|
|
10380
|
+
action: string | null;
|
|
10080
10381
|
created_at: string;
|
|
10081
10382
|
id: string;
|
|
10082
10383
|
order_ref: string;
|
|
10083
10384
|
reason: string;
|
|
10385
|
+
source_module: string | null;
|
|
10386
|
+
source_shell: string | null;
|
|
10084
10387
|
};
|
|
10085
10388
|
Insert: {
|
|
10389
|
+
action?: string | null;
|
|
10086
10390
|
created_at?: string;
|
|
10087
10391
|
id?: string;
|
|
10088
10392
|
order_ref: string;
|
|
10089
10393
|
reason: string;
|
|
10394
|
+
source_module?: string | null;
|
|
10395
|
+
source_shell?: string | null;
|
|
10090
10396
|
};
|
|
10091
10397
|
Update: {
|
|
10398
|
+
action?: string | null;
|
|
10092
10399
|
created_at?: string;
|
|
10093
10400
|
id?: string;
|
|
10094
10401
|
order_ref?: string;
|
|
10095
10402
|
reason?: string;
|
|
10403
|
+
source_module?: string | null;
|
|
10404
|
+
source_shell?: string | null;
|
|
10096
10405
|
};
|
|
10097
10406
|
Relationships: [];
|
|
10098
10407
|
};
|
|
@@ -10171,6 +10480,42 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
10171
10480
|
};
|
|
10172
10481
|
Relationships: [];
|
|
10173
10482
|
};
|
|
10483
|
+
logistics_floriday_status_sends: {
|
|
10484
|
+
Row: {
|
|
10485
|
+
action: string;
|
|
10486
|
+
created_at: string;
|
|
10487
|
+
detail: string | null;
|
|
10488
|
+
http_status: number | null;
|
|
10489
|
+
id: string;
|
|
10490
|
+
ok: boolean;
|
|
10491
|
+
order_ref: string;
|
|
10492
|
+
source_module: string | null;
|
|
10493
|
+
source_shell: string | null;
|
|
10494
|
+
};
|
|
10495
|
+
Insert: {
|
|
10496
|
+
action: string;
|
|
10497
|
+
created_at?: string;
|
|
10498
|
+
detail?: string | null;
|
|
10499
|
+
http_status?: number | null;
|
|
10500
|
+
id?: string;
|
|
10501
|
+
ok?: boolean;
|
|
10502
|
+
order_ref: string;
|
|
10503
|
+
source_module?: string | null;
|
|
10504
|
+
source_shell?: string | null;
|
|
10505
|
+
};
|
|
10506
|
+
Update: {
|
|
10507
|
+
action?: string;
|
|
10508
|
+
created_at?: string;
|
|
10509
|
+
detail?: string | null;
|
|
10510
|
+
http_status?: number | null;
|
|
10511
|
+
id?: string;
|
|
10512
|
+
ok?: boolean;
|
|
10513
|
+
order_ref?: string;
|
|
10514
|
+
source_module?: string | null;
|
|
10515
|
+
source_shell?: string | null;
|
|
10516
|
+
};
|
|
10517
|
+
Relationships: [];
|
|
10518
|
+
};
|
|
10174
10519
|
logistics_formulas: {
|
|
10175
10520
|
Row: {
|
|
10176
10521
|
created_at: string;
|
|
@@ -10243,6 +10588,108 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
10243
10588
|
};
|
|
10244
10589
|
Relationships: [];
|
|
10245
10590
|
};
|
|
10591
|
+
logistics_opening_exceptions: {
|
|
10592
|
+
Row: {
|
|
10593
|
+
closes: string | null;
|
|
10594
|
+
created_at: string;
|
|
10595
|
+
day: string;
|
|
10596
|
+
id: string;
|
|
10597
|
+
is_closed: boolean;
|
|
10598
|
+
note: string | null;
|
|
10599
|
+
opens: string | null;
|
|
10600
|
+
};
|
|
10601
|
+
Insert: {
|
|
10602
|
+
closes?: string | null;
|
|
10603
|
+
created_at?: string;
|
|
10604
|
+
day: string;
|
|
10605
|
+
id?: string;
|
|
10606
|
+
is_closed?: boolean;
|
|
10607
|
+
note?: string | null;
|
|
10608
|
+
opens?: string | null;
|
|
10609
|
+
};
|
|
10610
|
+
Update: {
|
|
10611
|
+
closes?: string | null;
|
|
10612
|
+
created_at?: string;
|
|
10613
|
+
day?: string;
|
|
10614
|
+
id?: string;
|
|
10615
|
+
is_closed?: boolean;
|
|
10616
|
+
note?: string | null;
|
|
10617
|
+
opens?: string | null;
|
|
10618
|
+
};
|
|
10619
|
+
Relationships: [];
|
|
10620
|
+
};
|
|
10621
|
+
logistics_opening_hours: {
|
|
10622
|
+
Row: {
|
|
10623
|
+
closes: string;
|
|
10624
|
+
created_at: string;
|
|
10625
|
+
id: string;
|
|
10626
|
+
is_active: boolean;
|
|
10627
|
+
note: string | null;
|
|
10628
|
+
opens: string;
|
|
10629
|
+
weekday: number;
|
|
10630
|
+
};
|
|
10631
|
+
Insert: {
|
|
10632
|
+
closes: string;
|
|
10633
|
+
created_at?: string;
|
|
10634
|
+
id?: string;
|
|
10635
|
+
is_active?: boolean;
|
|
10636
|
+
note?: string | null;
|
|
10637
|
+
opens: string;
|
|
10638
|
+
weekday: number;
|
|
10639
|
+
};
|
|
10640
|
+
Update: {
|
|
10641
|
+
closes?: string;
|
|
10642
|
+
created_at?: string;
|
|
10643
|
+
id?: string;
|
|
10644
|
+
is_active?: boolean;
|
|
10645
|
+
note?: string | null;
|
|
10646
|
+
opens?: string;
|
|
10647
|
+
weekday?: number;
|
|
10648
|
+
};
|
|
10649
|
+
Relationships: [];
|
|
10650
|
+
};
|
|
10651
|
+
logistics_pick_data_requests: {
|
|
10652
|
+
Row: {
|
|
10653
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10654
|
+
created_at: string;
|
|
10655
|
+
event_id: string | null;
|
|
10656
|
+
finished_at: string | null;
|
|
10657
|
+
id: string;
|
|
10658
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10659
|
+
order_ref: string;
|
|
10660
|
+
reason: string | null;
|
|
10661
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10662
|
+
status: string;
|
|
10663
|
+
unit_ref: string | null;
|
|
10664
|
+
};
|
|
10665
|
+
Insert: {
|
|
10666
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10667
|
+
created_at?: string;
|
|
10668
|
+
event_id?: string | null;
|
|
10669
|
+
finished_at?: string | null;
|
|
10670
|
+
id?: string;
|
|
10671
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10672
|
+
order_ref: string;
|
|
10673
|
+
reason?: string | null;
|
|
10674
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10675
|
+
status?: string;
|
|
10676
|
+
unit_ref?: string | null;
|
|
10677
|
+
};
|
|
10678
|
+
Update: {
|
|
10679
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10680
|
+
created_at?: string;
|
|
10681
|
+
event_id?: string | null;
|
|
10682
|
+
finished_at?: string | null;
|
|
10683
|
+
id?: string;
|
|
10684
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10685
|
+
order_ref?: string;
|
|
10686
|
+
reason?: string | null;
|
|
10687
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10688
|
+
status?: string;
|
|
10689
|
+
unit_ref?: string | null;
|
|
10690
|
+
};
|
|
10691
|
+
Relationships: [];
|
|
10692
|
+
};
|
|
10246
10693
|
logistics_pickup_moments: {
|
|
10247
10694
|
Row: {
|
|
10248
10695
|
carrier_ref: string | null;
|
|
@@ -10702,6 +11149,69 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
10702
11149
|
};
|
|
10703
11150
|
Relationships: [];
|
|
10704
11151
|
};
|
|
11152
|
+
logistics_slip_shipping_note: {
|
|
11153
|
+
Row: {
|
|
11154
|
+
attempts: number;
|
|
11155
|
+
batch_key: string | null;
|
|
11156
|
+
cart_id: string | null;
|
|
11157
|
+
created_at: string;
|
|
11158
|
+
error: string | null;
|
|
11159
|
+
error_code: string | null;
|
|
11160
|
+
fulfillment_order_id: string | null;
|
|
11161
|
+
id: string;
|
|
11162
|
+
locked_until: string | null;
|
|
11163
|
+
next_attempt_at: string | null;
|
|
11164
|
+
order_id: string | null;
|
|
11165
|
+
order_number: string | null;
|
|
11166
|
+
print_job_id: string | null;
|
|
11167
|
+
printer_id: string | null;
|
|
11168
|
+
retry_class: string | null;
|
|
11169
|
+
slip_job_id: string;
|
|
11170
|
+
status: string;
|
|
11171
|
+
updated_at: string;
|
|
11172
|
+
};
|
|
11173
|
+
Insert: {
|
|
11174
|
+
attempts?: number;
|
|
11175
|
+
batch_key?: string | null;
|
|
11176
|
+
cart_id?: string | null;
|
|
11177
|
+
created_at?: string;
|
|
11178
|
+
error?: string | null;
|
|
11179
|
+
error_code?: string | null;
|
|
11180
|
+
fulfillment_order_id?: string | null;
|
|
11181
|
+
id?: string;
|
|
11182
|
+
locked_until?: string | null;
|
|
11183
|
+
next_attempt_at?: string | null;
|
|
11184
|
+
order_id?: string | null;
|
|
11185
|
+
order_number?: string | null;
|
|
11186
|
+
print_job_id?: string | null;
|
|
11187
|
+
printer_id?: string | null;
|
|
11188
|
+
retry_class?: string | null;
|
|
11189
|
+
slip_job_id: string;
|
|
11190
|
+
status?: string;
|
|
11191
|
+
updated_at?: string;
|
|
11192
|
+
};
|
|
11193
|
+
Update: {
|
|
11194
|
+
attempts?: number;
|
|
11195
|
+
batch_key?: string | null;
|
|
11196
|
+
cart_id?: string | null;
|
|
11197
|
+
created_at?: string;
|
|
11198
|
+
error?: string | null;
|
|
11199
|
+
error_code?: string | null;
|
|
11200
|
+
fulfillment_order_id?: string | null;
|
|
11201
|
+
id?: string;
|
|
11202
|
+
locked_until?: string | null;
|
|
11203
|
+
next_attempt_at?: string | null;
|
|
11204
|
+
order_id?: string | null;
|
|
11205
|
+
order_number?: string | null;
|
|
11206
|
+
print_job_id?: string | null;
|
|
11207
|
+
printer_id?: string | null;
|
|
11208
|
+
retry_class?: string | null;
|
|
11209
|
+
slip_job_id?: string;
|
|
11210
|
+
status?: string;
|
|
11211
|
+
updated_at?: string;
|
|
11212
|
+
};
|
|
11213
|
+
Relationships: [];
|
|
11214
|
+
};
|
|
10705
11215
|
logistics_staff_planning: {
|
|
10706
11216
|
Row: {
|
|
10707
11217
|
created_at: string;
|
|
@@ -11035,6 +11545,129 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
11035
11545
|
};
|
|
11036
11546
|
Relationships: [];
|
|
11037
11547
|
};
|
|
11548
|
+
logistics_time_settings: {
|
|
11549
|
+
Row: {
|
|
11550
|
+
id: boolean;
|
|
11551
|
+
timezone: string;
|
|
11552
|
+
updated_at: string;
|
|
11553
|
+
};
|
|
11554
|
+
Insert: {
|
|
11555
|
+
id?: boolean;
|
|
11556
|
+
timezone: string;
|
|
11557
|
+
updated_at?: string;
|
|
11558
|
+
};
|
|
11559
|
+
Update: {
|
|
11560
|
+
id?: boolean;
|
|
11561
|
+
timezone?: string;
|
|
11562
|
+
updated_at?: string;
|
|
11563
|
+
};
|
|
11564
|
+
Relationships: [];
|
|
11565
|
+
};
|
|
11566
|
+
logistics_trace_events: {
|
|
11567
|
+
Row: {
|
|
11568
|
+
actor: string | null;
|
|
11569
|
+
attempts: number;
|
|
11570
|
+
cart_ref: string | null;
|
|
11571
|
+
created_at: string;
|
|
11572
|
+
db_action: string | null;
|
|
11573
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11574
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11575
|
+
db_record: string | null;
|
|
11576
|
+
db_table: string | null;
|
|
11577
|
+
decision: string | null;
|
|
11578
|
+
duration_ms: number | null;
|
|
11579
|
+
error: string | null;
|
|
11580
|
+
external_action: string | null;
|
|
11581
|
+
external_ref: string | null;
|
|
11582
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11583
|
+
external_status: string | null;
|
|
11584
|
+
external_system: string | null;
|
|
11585
|
+
id: string;
|
|
11586
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11587
|
+
next_attempt_at: string | null;
|
|
11588
|
+
order_ref: string | null;
|
|
11589
|
+
order_source: string | null;
|
|
11590
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11591
|
+
phase: string;
|
|
11592
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11593
|
+
reason: string | null;
|
|
11594
|
+
rule: string | null;
|
|
11595
|
+
slip_ref: string | null;
|
|
11596
|
+
status: string;
|
|
11597
|
+
step: string;
|
|
11598
|
+
trace_id: string;
|
|
11599
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11600
|
+
};
|
|
11601
|
+
Insert: {
|
|
11602
|
+
actor?: string | null;
|
|
11603
|
+
attempts?: number;
|
|
11604
|
+
cart_ref?: string | null;
|
|
11605
|
+
created_at?: string;
|
|
11606
|
+
db_action?: string | null;
|
|
11607
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11608
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11609
|
+
db_record?: string | null;
|
|
11610
|
+
db_table?: string | null;
|
|
11611
|
+
decision?: string | null;
|
|
11612
|
+
duration_ms?: number | null;
|
|
11613
|
+
error?: string | null;
|
|
11614
|
+
external_action?: string | null;
|
|
11615
|
+
external_ref?: string | null;
|
|
11616
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11617
|
+
external_status?: string | null;
|
|
11618
|
+
external_system?: string | null;
|
|
11619
|
+
id?: string;
|
|
11620
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11621
|
+
next_attempt_at?: string | null;
|
|
11622
|
+
order_ref?: string | null;
|
|
11623
|
+
order_source?: string | null;
|
|
11624
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
phase: string;
|
|
11626
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11627
|
+
reason?: string | null;
|
|
11628
|
+
rule?: string | null;
|
|
11629
|
+
slip_ref?: string | null;
|
|
11630
|
+
status: string;
|
|
11631
|
+
step: string;
|
|
11632
|
+
trace_id?: string;
|
|
11633
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11634
|
+
};
|
|
11635
|
+
Update: {
|
|
11636
|
+
actor?: string | null;
|
|
11637
|
+
attempts?: number;
|
|
11638
|
+
cart_ref?: string | null;
|
|
11639
|
+
created_at?: string;
|
|
11640
|
+
db_action?: string | null;
|
|
11641
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11642
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11643
|
+
db_record?: string | null;
|
|
11644
|
+
db_table?: string | null;
|
|
11645
|
+
decision?: string | null;
|
|
11646
|
+
duration_ms?: number | null;
|
|
11647
|
+
error?: string | null;
|
|
11648
|
+
external_action?: string | null;
|
|
11649
|
+
external_ref?: string | null;
|
|
11650
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11651
|
+
external_status?: string | null;
|
|
11652
|
+
external_system?: string | null;
|
|
11653
|
+
id?: string;
|
|
11654
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11655
|
+
next_attempt_at?: string | null;
|
|
11656
|
+
order_ref?: string | null;
|
|
11657
|
+
order_source?: string | null;
|
|
11658
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
phase?: string;
|
|
11660
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11661
|
+
reason?: string | null;
|
|
11662
|
+
rule?: string | null;
|
|
11663
|
+
slip_ref?: string | null;
|
|
11664
|
+
status?: string;
|
|
11665
|
+
step?: string;
|
|
11666
|
+
trace_id?: string;
|
|
11667
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11668
|
+
};
|
|
11669
|
+
Relationships: [];
|
|
11670
|
+
};
|
|
11038
11671
|
logistics_variables: {
|
|
11039
11672
|
Row: {
|
|
11040
11673
|
created_at: string;
|
|
@@ -13425,6 +14058,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
13425
14058
|
customer_name: string;
|
|
13426
14059
|
deleted_at: string | null;
|
|
13427
14060
|
delivery_date: string | null;
|
|
14061
|
+
floriday_order_group_key: string | null;
|
|
13428
14062
|
floriday_sales_order_id: string | null;
|
|
13429
14063
|
id: string;
|
|
13430
14064
|
invoice_due_at: string | null;
|
|
@@ -13452,6 +14086,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
13452
14086
|
customer_name?: string;
|
|
13453
14087
|
deleted_at?: string | null;
|
|
13454
14088
|
delivery_date?: string | null;
|
|
14089
|
+
floriday_order_group_key?: string | null;
|
|
13455
14090
|
floriday_sales_order_id?: string | null;
|
|
13456
14091
|
id?: string;
|
|
13457
14092
|
invoice_due_at?: string | null;
|
|
@@ -13479,6 +14114,7 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
13479
14114
|
customer_name?: string;
|
|
13480
14115
|
deleted_at?: string | null;
|
|
13481
14116
|
delivery_date?: string | null;
|
|
14117
|
+
floriday_order_group_key?: string | null;
|
|
13482
14118
|
floriday_sales_order_id?: string | null;
|
|
13483
14119
|
id?: string;
|
|
13484
14120
|
invoice_due_at?: string | null;
|
|
@@ -21604,6 +22240,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
21604
22240
|
Args: never;
|
|
21605
22241
|
Returns: boolean;
|
|
21606
22242
|
};
|
|
22243
|
+
cancel_open_print_jobs: {
|
|
22244
|
+
Args: {
|
|
22245
|
+
_cutoff: string;
|
|
22246
|
+
};
|
|
22247
|
+
Returns: {
|
|
22248
|
+
extern_job_id: string;
|
|
22249
|
+
id: string;
|
|
22250
|
+
}[];
|
|
22251
|
+
};
|
|
21607
22252
|
check_offer_product_available_stock: {
|
|
21608
22253
|
Args: {
|
|
21609
22254
|
p_campaign_product_id: string;
|
|
@@ -23142,6 +23787,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23142
23787
|
};
|
|
23143
23788
|
Returns: string;
|
|
23144
23789
|
};
|
|
23790
|
+
logistics_cart_checkin_at: {
|
|
23791
|
+
Args: {
|
|
23792
|
+
p_cart_id: string;
|
|
23793
|
+
};
|
|
23794
|
+
Returns: string;
|
|
23795
|
+
};
|
|
23145
23796
|
logistics_cart_handled: {
|
|
23146
23797
|
Args: {
|
|
23147
23798
|
p_cart_index: number;
|
|
@@ -23175,10 +23826,22 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23175
23826
|
task_status: string;
|
|
23176
23827
|
}[];
|
|
23177
23828
|
};
|
|
23829
|
+
logistics_cart_is_full: {
|
|
23830
|
+
Args: {
|
|
23831
|
+
p_cart_id: string;
|
|
23832
|
+
};
|
|
23833
|
+
Returns: boolean;
|
|
23834
|
+
};
|
|
23178
23835
|
logistics_cart_layout_method: {
|
|
23179
23836
|
Args: never;
|
|
23180
23837
|
Returns: import("../integrations/supabase/types").Json;
|
|
23181
23838
|
};
|
|
23839
|
+
logistics_cart_order_refs: {
|
|
23840
|
+
Args: {
|
|
23841
|
+
p_cart_id: string;
|
|
23842
|
+
};
|
|
23843
|
+
Returns: string[];
|
|
23844
|
+
};
|
|
23182
23845
|
logistics_cart_plan_overview: {
|
|
23183
23846
|
Args: {
|
|
23184
23847
|
p_days?: number;
|
|
@@ -23198,6 +23861,24 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23198
23861
|
};
|
|
23199
23862
|
Returns: import("../integrations/supabase/types").Json;
|
|
23200
23863
|
};
|
|
23864
|
+
logistics_cart_plan_status_core: {
|
|
23865
|
+
Args: {
|
|
23866
|
+
p_ref: string;
|
|
23867
|
+
};
|
|
23868
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23869
|
+
};
|
|
23870
|
+
logistics_cart_release_reason: {
|
|
23871
|
+
Args: {
|
|
23872
|
+
p_cart_id: string;
|
|
23873
|
+
};
|
|
23874
|
+
Returns: string;
|
|
23875
|
+
};
|
|
23876
|
+
logistics_cart_released: {
|
|
23877
|
+
Args: {
|
|
23878
|
+
p_cart_id: string;
|
|
23879
|
+
};
|
|
23880
|
+
Returns: boolean;
|
|
23881
|
+
};
|
|
23201
23882
|
logistics_cart_seq: {
|
|
23202
23883
|
Args: {
|
|
23203
23884
|
p_order_uuid?: string;
|
|
@@ -23248,6 +23929,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23248
23929
|
unit_ref: string;
|
|
23249
23930
|
}[];
|
|
23250
23931
|
};
|
|
23932
|
+
logistics_carts_per_print: {
|
|
23933
|
+
Args: never;
|
|
23934
|
+
Returns: number;
|
|
23935
|
+
};
|
|
23251
23936
|
logistics_check_order_allowed: {
|
|
23252
23937
|
Args: {
|
|
23253
23938
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23351,6 +24036,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23351
24036
|
isSetofReturn: false;
|
|
23352
24037
|
};
|
|
23353
24038
|
};
|
|
24039
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24040
|
+
Args: never;
|
|
24041
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24042
|
+
};
|
|
23354
24043
|
logistics_complete_task: {
|
|
23355
24044
|
Args: {
|
|
23356
24045
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23413,6 +24102,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23413
24102
|
station_carts: number;
|
|
23414
24103
|
}[];
|
|
23415
24104
|
};
|
|
24105
|
+
logistics_control_complete_cart: {
|
|
24106
|
+
Args: {
|
|
24107
|
+
p_cart_id: string;
|
|
24108
|
+
};
|
|
24109
|
+
Returns: number;
|
|
24110
|
+
};
|
|
23416
24111
|
logistics_control_scan_approve: {
|
|
23417
24112
|
Args: {
|
|
23418
24113
|
p_allow_reprint?: boolean;
|
|
@@ -23492,6 +24187,15 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23492
24187
|
Args: never;
|
|
23493
24188
|
Returns: import("../integrations/supabase/types").Json;
|
|
23494
24189
|
};
|
|
24190
|
+
logistics_day_windows: {
|
|
24191
|
+
Args: {
|
|
24192
|
+
p_day: string;
|
|
24193
|
+
};
|
|
24194
|
+
Returns: {
|
|
24195
|
+
win_end: string;
|
|
24196
|
+
win_start: string;
|
|
24197
|
+
}[];
|
|
24198
|
+
};
|
|
23495
24199
|
logistics_delay_customer_email: {
|
|
23496
24200
|
Args: {
|
|
23497
24201
|
p_customer: string;
|
|
@@ -23559,6 +24263,17 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23559
24263
|
};
|
|
23560
24264
|
Returns: import("../integrations/supabase/types").Json;
|
|
23561
24265
|
};
|
|
24266
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
24267
|
+
Args: {
|
|
24268
|
+
_cart_id: string;
|
|
24269
|
+
_is_herprint: boolean;
|
|
24270
|
+
_printer_id: string;
|
|
24271
|
+
_queue_item_id: string;
|
|
24272
|
+
_session_id: string;
|
|
24273
|
+
_slip_job_id: string;
|
|
24274
|
+
};
|
|
24275
|
+
Returns: string;
|
|
24276
|
+
};
|
|
23562
24277
|
logistics_enqueue_sticker_with_slip: {
|
|
23563
24278
|
Args: {
|
|
23564
24279
|
_cart_id: string;
|
|
@@ -23576,6 +24291,20 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23576
24291
|
};
|
|
23577
24292
|
Returns: string;
|
|
23578
24293
|
};
|
|
24294
|
+
logistics_ensure_pick_data: {
|
|
24295
|
+
Args: {
|
|
24296
|
+
p_event_id?: string;
|
|
24297
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24298
|
+
p_ref: string;
|
|
24299
|
+
};
|
|
24300
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24301
|
+
};
|
|
24302
|
+
logistics_ensure_shipping_notes: {
|
|
24303
|
+
Args: {
|
|
24304
|
+
p_limit?: number;
|
|
24305
|
+
};
|
|
24306
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24307
|
+
};
|
|
23579
24308
|
logistics_fail_task: {
|
|
23580
24309
|
Args: {
|
|
23581
24310
|
p_error: string;
|
|
@@ -23621,6 +24350,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23621
24350
|
isSetofReturn: false;
|
|
23622
24351
|
};
|
|
23623
24352
|
};
|
|
24353
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24354
|
+
Args: never;
|
|
24355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24356
|
+
};
|
|
23624
24357
|
logistics_floriday_cart_plan: {
|
|
23625
24358
|
Args: {
|
|
23626
24359
|
p_order_id: string;
|
|
@@ -23648,6 +24381,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23648
24381
|
revision: number;
|
|
23649
24382
|
}[];
|
|
23650
24383
|
};
|
|
24384
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24385
|
+
Args: never;
|
|
24386
|
+
Returns: boolean;
|
|
24387
|
+
};
|
|
23651
24388
|
logistics_floriday_finish_push: {
|
|
23652
24389
|
Args: {
|
|
23653
24390
|
_error?: string;
|
|
@@ -23697,6 +24434,32 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23697
24434
|
};
|
|
23698
24435
|
Returns: string;
|
|
23699
24436
|
};
|
|
24437
|
+
logistics_floriday_gate_status: {
|
|
24438
|
+
Args: never;
|
|
24439
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24440
|
+
};
|
|
24441
|
+
logistics_floriday_log_refusal: {
|
|
24442
|
+
Args: {
|
|
24443
|
+
_action?: string;
|
|
24444
|
+
_module?: string;
|
|
24445
|
+
_order_ref: string;
|
|
24446
|
+
_reason: string;
|
|
24447
|
+
_shell?: string;
|
|
24448
|
+
};
|
|
24449
|
+
Returns: undefined;
|
|
24450
|
+
};
|
|
24451
|
+
logistics_floriday_log_send: {
|
|
24452
|
+
Args: {
|
|
24453
|
+
_action: string;
|
|
24454
|
+
_detail?: string;
|
|
24455
|
+
_http_status?: number;
|
|
24456
|
+
_module?: string;
|
|
24457
|
+
_ok: boolean;
|
|
24458
|
+
_order_ref: string;
|
|
24459
|
+
_shell?: string;
|
|
24460
|
+
};
|
|
24461
|
+
Returns: undefined;
|
|
24462
|
+
};
|
|
23700
24463
|
logistics_floriday_order_approved: {
|
|
23701
24464
|
Args: {
|
|
23702
24465
|
_order_ref: string;
|
|
@@ -23721,6 +24484,16 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23721
24484
|
Args: never;
|
|
23722
24485
|
Returns: boolean;
|
|
23723
24486
|
};
|
|
24487
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24488
|
+
Args: never;
|
|
24489
|
+
Returns: boolean;
|
|
24490
|
+
};
|
|
24491
|
+
logistics_floriday_write_allowed: {
|
|
24492
|
+
Args: {
|
|
24493
|
+
_action: string;
|
|
24494
|
+
};
|
|
24495
|
+
Returns: boolean;
|
|
24496
|
+
};
|
|
23724
24497
|
logistics_fulfill_barcode_requests: {
|
|
23725
24498
|
Args: {
|
|
23726
24499
|
p_limit?: number;
|
|
@@ -23763,6 +24536,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23763
24536
|
};
|
|
23764
24537
|
Returns: number;
|
|
23765
24538
|
};
|
|
24539
|
+
logistics_merge_partial_carts: {
|
|
24540
|
+
Args: {
|
|
24541
|
+
p_limit?: number;
|
|
24542
|
+
};
|
|
24543
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24544
|
+
};
|
|
23766
24545
|
logistics_next_workday_date: {
|
|
23767
24546
|
Args: {
|
|
23768
24547
|
p_date: string;
|
|
@@ -23789,6 +24568,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23789
24568
|
};
|
|
23790
24569
|
Returns: string;
|
|
23791
24570
|
};
|
|
24571
|
+
logistics_opening_timezone: {
|
|
24572
|
+
Args: never;
|
|
24573
|
+
Returns: string;
|
|
24574
|
+
};
|
|
23792
24575
|
logistics_order_cart_count: {
|
|
23793
24576
|
Args: {
|
|
23794
24577
|
p_order_ref: string;
|
|
@@ -23845,6 +24628,12 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23845
24628
|
};
|
|
23846
24629
|
Returns: string;
|
|
23847
24630
|
};
|
|
24631
|
+
logistics_payload_is_floriday: {
|
|
24632
|
+
Args: {
|
|
24633
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24634
|
+
};
|
|
24635
|
+
Returns: boolean;
|
|
24636
|
+
};
|
|
23848
24637
|
logistics_pick_agenda: {
|
|
23849
24638
|
Args: {
|
|
23850
24639
|
p_from?: string;
|
|
@@ -23873,6 +24662,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23873
24662
|
Args: never;
|
|
23874
24663
|
Returns: import("../integrations/supabase/types").Json;
|
|
23875
24664
|
};
|
|
24665
|
+
logistics_pick_partial_mode: {
|
|
24666
|
+
Args: never;
|
|
24667
|
+
Returns: string;
|
|
24668
|
+
};
|
|
23876
24669
|
logistics_pick_start_estimate: {
|
|
23877
24670
|
Args: {
|
|
23878
24671
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -23963,6 +24756,20 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23963
24756
|
Args: never;
|
|
23964
24757
|
Returns: undefined;
|
|
23965
24758
|
};
|
|
24759
|
+
logistics_plan_progress: {
|
|
24760
|
+
Args: {
|
|
24761
|
+
p_refs: string[];
|
|
24762
|
+
};
|
|
24763
|
+
Returns: {
|
|
24764
|
+
cart_plan_ready: boolean;
|
|
24765
|
+
cart_plan_reason: string;
|
|
24766
|
+
cart_plan_released: boolean;
|
|
24767
|
+
plan_progress: number;
|
|
24768
|
+
plan_state: string;
|
|
24769
|
+
plan_state_since: string;
|
|
24770
|
+
unit_ref: string;
|
|
24771
|
+
}[];
|
|
24772
|
+
};
|
|
23966
24773
|
logistics_plan_prune: {
|
|
23967
24774
|
Args: never;
|
|
23968
24775
|
Returns: number;
|
|
@@ -23984,6 +24791,18 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
23984
24791
|
};
|
|
23985
24792
|
Returns: number;
|
|
23986
24793
|
};
|
|
24794
|
+
logistics_plan_state_for: {
|
|
24795
|
+
Args: {
|
|
24796
|
+
p_ref: string;
|
|
24797
|
+
};
|
|
24798
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24799
|
+
};
|
|
24800
|
+
logistics_prepare_pick_documents: {
|
|
24801
|
+
Args: {
|
|
24802
|
+
p_limit?: number;
|
|
24803
|
+
};
|
|
24804
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24805
|
+
};
|
|
23987
24806
|
logistics_prune_buffer_member_queue: {
|
|
23988
24807
|
Args: never;
|
|
23989
24808
|
Returns: number;
|
|
@@ -24024,18 +24843,36 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
24024
24843
|
Args: never;
|
|
24025
24844
|
Returns: import("../integrations/supabase/types").Json;
|
|
24026
24845
|
};
|
|
24846
|
+
logistics_refresh_pick_queue_status: {
|
|
24847
|
+
Args: {
|
|
24848
|
+
p_ref: string;
|
|
24849
|
+
};
|
|
24850
|
+
Returns: number;
|
|
24851
|
+
};
|
|
24027
24852
|
logistics_refresh_pickup_moments: {
|
|
24028
24853
|
Args: {
|
|
24029
24854
|
p_weeks?: number;
|
|
24030
24855
|
};
|
|
24031
24856
|
Returns: import("../integrations/supabase/types").Json;
|
|
24032
24857
|
};
|
|
24858
|
+
logistics_refresh_plan_state: {
|
|
24859
|
+
Args: {
|
|
24860
|
+
p_limit?: number;
|
|
24861
|
+
};
|
|
24862
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24863
|
+
};
|
|
24033
24864
|
logistics_replan_all: {
|
|
24034
24865
|
Args: {
|
|
24035
24866
|
p_reason?: string;
|
|
24036
24867
|
};
|
|
24037
24868
|
Returns: import("../integrations/supabase/types").Json;
|
|
24038
24869
|
};
|
|
24870
|
+
logistics_replan_all_force: {
|
|
24871
|
+
Args: {
|
|
24872
|
+
p_reason?: string;
|
|
24873
|
+
};
|
|
24874
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24875
|
+
};
|
|
24039
24876
|
logistics_report_delay: {
|
|
24040
24877
|
Args: {
|
|
24041
24878
|
p_expected_date?: string;
|
|
@@ -24180,6 +25017,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
24180
25017
|
};
|
|
24181
25018
|
Returns: string;
|
|
24182
25019
|
};
|
|
25020
|
+
logistics_shipping_note_follows_slip: {
|
|
25021
|
+
Args: never;
|
|
25022
|
+
Returns: boolean;
|
|
25023
|
+
};
|
|
24183
25024
|
logistics_shipping_note_from_barcode: {
|
|
24184
25025
|
Args: {
|
|
24185
25026
|
p_allow_reprint?: boolean;
|
|
@@ -24188,10 +25029,86 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
24188
25029
|
};
|
|
24189
25030
|
Returns: import("../integrations/supabase/types").Json;
|
|
24190
25031
|
};
|
|
25032
|
+
logistics_shipping_note_job_for_slip: {
|
|
25033
|
+
Args: {
|
|
25034
|
+
_slip_job_id: string;
|
|
25035
|
+
};
|
|
25036
|
+
Returns: string;
|
|
25037
|
+
};
|
|
25038
|
+
logistics_shipping_notes_wake_all: {
|
|
25039
|
+
Args: never;
|
|
25040
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25041
|
+
};
|
|
25042
|
+
logistics_slip_is_floriday: {
|
|
25043
|
+
Args: {
|
|
25044
|
+
_slip_job_id: string;
|
|
25045
|
+
};
|
|
25046
|
+
Returns: boolean;
|
|
25047
|
+
};
|
|
25048
|
+
logistics_slip_note_claim: {
|
|
25049
|
+
Args: {
|
|
25050
|
+
_lease_seconds?: number;
|
|
25051
|
+
_limit?: number;
|
|
25052
|
+
};
|
|
25053
|
+
Returns: {
|
|
25054
|
+
attempts: number;
|
|
25055
|
+
batch_key: string | null;
|
|
25056
|
+
cart_id: string | null;
|
|
25057
|
+
created_at: string;
|
|
25058
|
+
error: string | null;
|
|
25059
|
+
error_code: string | null;
|
|
25060
|
+
fulfillment_order_id: string | null;
|
|
25061
|
+
id: string;
|
|
25062
|
+
locked_until: string | null;
|
|
25063
|
+
next_attempt_at: string | null;
|
|
25064
|
+
order_id: string | null;
|
|
25065
|
+
order_number: string | null;
|
|
25066
|
+
print_job_id: string | null;
|
|
25067
|
+
printer_id: string | null;
|
|
25068
|
+
retry_class: string | null;
|
|
25069
|
+
slip_job_id: string;
|
|
25070
|
+
status: string;
|
|
25071
|
+
updated_at: string;
|
|
25072
|
+
}[];
|
|
25073
|
+
SetofOptions: {
|
|
25074
|
+
from: "*";
|
|
25075
|
+
to: "logistics_slip_shipping_note";
|
|
25076
|
+
isOneToOne: false;
|
|
25077
|
+
isSetofReturn: true;
|
|
25078
|
+
};
|
|
25079
|
+
};
|
|
25080
|
+
logistics_slip_note_finish: {
|
|
25081
|
+
Args: {
|
|
25082
|
+
_error?: string;
|
|
25083
|
+
_error_code?: string;
|
|
25084
|
+
_fulfillment_order_id?: string;
|
|
25085
|
+
_id: string;
|
|
25086
|
+
_ok: boolean;
|
|
25087
|
+
_print_job_id?: string;
|
|
25088
|
+
_status?: string;
|
|
25089
|
+
};
|
|
25090
|
+
Returns: undefined;
|
|
25091
|
+
};
|
|
25092
|
+
logistics_slip_note_keep_waiting: {
|
|
25093
|
+
Args: {
|
|
25094
|
+
_class?: string;
|
|
25095
|
+
_id: string;
|
|
25096
|
+
_reason: string;
|
|
25097
|
+
};
|
|
25098
|
+
Returns: undefined;
|
|
25099
|
+
};
|
|
24191
25100
|
logistics_sticker_follows_slip: {
|
|
24192
25101
|
Args: never;
|
|
24193
25102
|
Returns: boolean;
|
|
24194
25103
|
};
|
|
25104
|
+
logistics_subtract_working_minutes: {
|
|
25105
|
+
Args: {
|
|
25106
|
+
p_deadline: string;
|
|
25107
|
+
p_max_workdays?: number;
|
|
25108
|
+
p_minutes: number;
|
|
25109
|
+
};
|
|
25110
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25111
|
+
};
|
|
24195
25112
|
logistics_supersede_stale_tasks: {
|
|
24196
25113
|
Args: {
|
|
24197
25114
|
p_keep: string[];
|
|
@@ -24228,6 +25145,46 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
24228
25145
|
Args: never;
|
|
24229
25146
|
Returns: string;
|
|
24230
25147
|
};
|
|
25148
|
+
logistics_timezone_options: {
|
|
25149
|
+
Args: never;
|
|
25150
|
+
Returns: {
|
|
25151
|
+
name: string;
|
|
25152
|
+
}[];
|
|
25153
|
+
};
|
|
25154
|
+
logistics_trace: {
|
|
25155
|
+
Args: {
|
|
25156
|
+
p: import("../integrations/supabase/types").Json;
|
|
25157
|
+
};
|
|
25158
|
+
Returns: string;
|
|
25159
|
+
};
|
|
25160
|
+
logistics_trace_batch: {
|
|
25161
|
+
Args: {
|
|
25162
|
+
p: import("../integrations/supabase/types").Json;
|
|
25163
|
+
};
|
|
25164
|
+
Returns: number;
|
|
25165
|
+
};
|
|
25166
|
+
logistics_trace_orders: {
|
|
25167
|
+
Args: {
|
|
25168
|
+
p_limit?: number;
|
|
25169
|
+
p_search?: string;
|
|
25170
|
+
p_since?: string;
|
|
25171
|
+
p_status?: string;
|
|
25172
|
+
};
|
|
25173
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25174
|
+
};
|
|
25175
|
+
logistics_trace_redact: {
|
|
25176
|
+
Args: {
|
|
25177
|
+
p: import("../integrations/supabase/types").Json;
|
|
25178
|
+
};
|
|
25179
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25180
|
+
};
|
|
25181
|
+
logistics_trace_timeline: {
|
|
25182
|
+
Args: {
|
|
25183
|
+
p_limit?: number;
|
|
25184
|
+
p_order_ref: string;
|
|
25185
|
+
};
|
|
25186
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25187
|
+
};
|
|
24231
25188
|
logistics_upsert_task: {
|
|
24232
25189
|
Args: {
|
|
24233
25190
|
p_buffer_ref: string;
|
|
@@ -24247,6 +25204,16 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
24247
25204
|
};
|
|
24248
25205
|
Returns: string;
|
|
24249
25206
|
};
|
|
25207
|
+
logistics_valid_timezone: {
|
|
25208
|
+
Args: {
|
|
25209
|
+
_tz: string;
|
|
25210
|
+
};
|
|
25211
|
+
Returns: boolean;
|
|
25212
|
+
};
|
|
25213
|
+
logistics_working_hours_status: {
|
|
25214
|
+
Args: never;
|
|
25215
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25216
|
+
};
|
|
24250
25217
|
logistics_write_buffer_layer_positions: {
|
|
24251
25218
|
Args: {
|
|
24252
25219
|
p_buffer_id: string;
|
|
@@ -25259,6 +26226,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25259
26226
|
};
|
|
25260
26227
|
Returns: undefined;
|
|
25261
26228
|
};
|
|
26229
|
+
prune_floriday_api_log: {
|
|
26230
|
+
Args: never;
|
|
26231
|
+
Returns: number;
|
|
26232
|
+
};
|
|
25262
26233
|
quote_create_from_source: {
|
|
25263
26234
|
Args: {
|
|
25264
26235
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25692,6 +26663,13 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25692
26663
|
};
|
|
25693
26664
|
Returns: number;
|
|
25694
26665
|
};
|
|
26666
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26667
|
+
Args: {
|
|
26668
|
+
p_apikey: string;
|
|
26669
|
+
p_url: string;
|
|
26670
|
+
};
|
|
26671
|
+
Returns: number;
|
|
26672
|
+
};
|
|
25695
26673
|
schedule_floriday_clock_presales_sync: {
|
|
25696
26674
|
Args: {
|
|
25697
26675
|
p_apikey: string;
|
|
@@ -25992,6 +26970,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
25992
26970
|
};
|
|
25993
26971
|
Returns: undefined;
|
|
25994
26972
|
};
|
|
26973
|
+
sync_floriday_prices_into_price_groups: {
|
|
26974
|
+
Args: never;
|
|
26975
|
+
Returns: number;
|
|
26976
|
+
};
|
|
25995
26977
|
sync_layer_stock: {
|
|
25996
26978
|
Args: {
|
|
25997
26979
|
p_product_id: string;
|
|
@@ -26124,6 +27106,10 @@ export declare const retryFailedStockSync: import("@tanstack/start-client-core")
|
|
|
26124
27106
|
Args: never;
|
|
26125
27107
|
Returns: string;
|
|
26126
27108
|
};
|
|
27109
|
+
voorraad_cleanup_old_rows: {
|
|
27110
|
+
Args: never;
|
|
27111
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27112
|
+
};
|
|
26127
27113
|
wake_print_queue: {
|
|
26128
27114
|
Args: {
|
|
26129
27115
|
_min_interval_ms?: number;
|
|
@@ -28426,6 +29412,45 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
28426
29412
|
};
|
|
28427
29413
|
Relationships: [];
|
|
28428
29414
|
};
|
|
29415
|
+
customer_product_stickers: {
|
|
29416
|
+
Row: {
|
|
29417
|
+
created_at: string;
|
|
29418
|
+
customer_key: string;
|
|
29419
|
+
file_name: string;
|
|
29420
|
+
file_path: string;
|
|
29421
|
+
file_size: number | null;
|
|
29422
|
+
id: string;
|
|
29423
|
+
mime_type: string | null;
|
|
29424
|
+
trade_item_key: string;
|
|
29425
|
+
updated_at: string;
|
|
29426
|
+
uploaded_by: string | null;
|
|
29427
|
+
};
|
|
29428
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
29453
|
+
};
|
|
28429
29454
|
customer_selected_assortment: {
|
|
28430
29455
|
Row: {
|
|
28431
29456
|
article_number: string | null;
|
|
@@ -28474,6 +29499,30 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
28474
29499
|
referencedColumns: ["id"];
|
|
28475
29500
|
}];
|
|
28476
29501
|
};
|
|
29502
|
+
customer_sticker_settings: {
|
|
29503
|
+
Row: {
|
|
29504
|
+
created_at: string;
|
|
29505
|
+
customer_key: string;
|
|
29506
|
+
height_mm: number;
|
|
29507
|
+
updated_at: string;
|
|
29508
|
+
width_mm: number;
|
|
29509
|
+
};
|
|
29510
|
+
Insert: {
|
|
29511
|
+
created_at?: string;
|
|
29512
|
+
customer_key: string;
|
|
29513
|
+
height_mm?: number;
|
|
29514
|
+
updated_at?: string;
|
|
29515
|
+
width_mm?: number;
|
|
29516
|
+
};
|
|
29517
|
+
Update: {
|
|
29518
|
+
created_at?: string;
|
|
29519
|
+
customer_key?: string;
|
|
29520
|
+
height_mm?: number;
|
|
29521
|
+
updated_at?: string;
|
|
29522
|
+
width_mm?: number;
|
|
29523
|
+
};
|
|
29524
|
+
Relationships: [];
|
|
29525
|
+
};
|
|
28477
29526
|
customer_trade_settings: {
|
|
28478
29527
|
Row: {
|
|
28479
29528
|
category: string;
|
|
@@ -31804,6 +32853,102 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
31804
32853
|
referencedColumns: ["id"];
|
|
31805
32854
|
}];
|
|
31806
32855
|
};
|
|
32856
|
+
floriday_api_log: {
|
|
32857
|
+
Row: {
|
|
32858
|
+
action: string | null;
|
|
32859
|
+
caller: string | null;
|
|
32860
|
+
connection_id: string | null;
|
|
32861
|
+
created_at: string;
|
|
32862
|
+
cursor_from: number | null;
|
|
32863
|
+
direction: string;
|
|
32864
|
+
duration_ms: number | null;
|
|
32865
|
+
environment: string | null;
|
|
32866
|
+
error: string | null;
|
|
32867
|
+
floriday_id: string | null;
|
|
32868
|
+
floriday_reference: string | null;
|
|
32869
|
+
http_status: number;
|
|
32870
|
+
id: string;
|
|
32871
|
+
item_count: number | null;
|
|
32872
|
+
kind: string | null;
|
|
32873
|
+
local_id: string | null;
|
|
32874
|
+
local_reference: string | null;
|
|
32875
|
+
method: string;
|
|
32876
|
+
module: string | null;
|
|
32877
|
+
ok: boolean;
|
|
32878
|
+
path: string;
|
|
32879
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32880
|
+
resource_type: string | null;
|
|
32881
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32882
|
+
write_log_id: string | null;
|
|
32883
|
+
};
|
|
32884
|
+
Insert: {
|
|
32885
|
+
action?: string | null;
|
|
32886
|
+
caller?: string | null;
|
|
32887
|
+
connection_id?: string | null;
|
|
32888
|
+
created_at?: string;
|
|
32889
|
+
cursor_from?: number | null;
|
|
32890
|
+
direction: string;
|
|
32891
|
+
duration_ms?: number | null;
|
|
32892
|
+
environment?: string | null;
|
|
32893
|
+
error?: string | null;
|
|
32894
|
+
floriday_id?: string | null;
|
|
32895
|
+
floriday_reference?: string | null;
|
|
32896
|
+
http_status?: number;
|
|
32897
|
+
id?: string;
|
|
32898
|
+
item_count?: number | null;
|
|
32899
|
+
kind?: string | null;
|
|
32900
|
+
local_id?: string | null;
|
|
32901
|
+
local_reference?: string | null;
|
|
32902
|
+
method: string;
|
|
32903
|
+
module?: string | null;
|
|
32904
|
+
ok?: boolean;
|
|
32905
|
+
path: string;
|
|
32906
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32907
|
+
resource_type?: string | null;
|
|
32908
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32909
|
+
write_log_id?: string | null;
|
|
32910
|
+
};
|
|
32911
|
+
Update: {
|
|
32912
|
+
action?: string | null;
|
|
32913
|
+
caller?: string | null;
|
|
32914
|
+
connection_id?: string | null;
|
|
32915
|
+
created_at?: string;
|
|
32916
|
+
cursor_from?: number | null;
|
|
32917
|
+
direction?: string;
|
|
32918
|
+
duration_ms?: number | null;
|
|
32919
|
+
environment?: string | null;
|
|
32920
|
+
error?: string | null;
|
|
32921
|
+
floriday_id?: string | null;
|
|
32922
|
+
floriday_reference?: string | null;
|
|
32923
|
+
http_status?: number;
|
|
32924
|
+
id?: string;
|
|
32925
|
+
item_count?: number | null;
|
|
32926
|
+
kind?: string | null;
|
|
32927
|
+
local_id?: string | null;
|
|
32928
|
+
local_reference?: string | null;
|
|
32929
|
+
method?: string;
|
|
32930
|
+
module?: string | null;
|
|
32931
|
+
ok?: boolean;
|
|
32932
|
+
path?: string;
|
|
32933
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32934
|
+
resource_type?: string | null;
|
|
32935
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32936
|
+
write_log_id?: string | null;
|
|
32937
|
+
};
|
|
32938
|
+
Relationships: [{
|
|
32939
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32940
|
+
columns: ["connection_id"];
|
|
32941
|
+
isOneToOne: false;
|
|
32942
|
+
referencedRelation: "floriday_connections";
|
|
32943
|
+
referencedColumns: ["id"];
|
|
32944
|
+
}, {
|
|
32945
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32946
|
+
columns: ["write_log_id"];
|
|
32947
|
+
isOneToOne: false;
|
|
32948
|
+
referencedRelation: "floriday_write_log";
|
|
32949
|
+
referencedColumns: ["id"];
|
|
32950
|
+
}];
|
|
32951
|
+
};
|
|
31807
32952
|
floriday_auction_letters_cache: {
|
|
31808
32953
|
Row: {
|
|
31809
32954
|
auction_letter_code: string;
|
|
@@ -32011,6 +33156,84 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
32011
33156
|
referencedColumns: ["id"];
|
|
32012
33157
|
}];
|
|
32013
33158
|
};
|
|
33159
|
+
floriday_catalog_prices_cache: {
|
|
33160
|
+
Row: {
|
|
33161
|
+
connection_id: string;
|
|
33162
|
+
created_at: string;
|
|
33163
|
+
currency: string;
|
|
33164
|
+
id: string;
|
|
33165
|
+
is_deleted: boolean;
|
|
33166
|
+
price: number | null;
|
|
33167
|
+
price_group_id: string | null;
|
|
33168
|
+
price_group_name: string | null;
|
|
33169
|
+
price_type: string;
|
|
33170
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
33171
|
+
sales_unit: string | null;
|
|
33172
|
+
sequence_number: number;
|
|
33173
|
+
supplier_article_code: string | null;
|
|
33174
|
+
supply_line_id: string;
|
|
33175
|
+
synced_at: string;
|
|
33176
|
+
trade_item_id: string | null;
|
|
33177
|
+
updated_at: string;
|
|
33178
|
+
valid_from: string | null;
|
|
33179
|
+
valid_to: string | null;
|
|
33180
|
+
week: number | null;
|
|
33181
|
+
year: number | null;
|
|
33182
|
+
};
|
|
33183
|
+
Insert: {
|
|
33184
|
+
connection_id: string;
|
|
33185
|
+
created_at?: string;
|
|
33186
|
+
currency?: string;
|
|
33187
|
+
id?: string;
|
|
33188
|
+
is_deleted?: boolean;
|
|
33189
|
+
price?: number | null;
|
|
33190
|
+
price_group_id?: string | null;
|
|
33191
|
+
price_group_name?: string | null;
|
|
33192
|
+
price_type?: string;
|
|
33193
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33194
|
+
sales_unit?: string | null;
|
|
33195
|
+
sequence_number?: number;
|
|
33196
|
+
supplier_article_code?: string | null;
|
|
33197
|
+
supply_line_id: string;
|
|
33198
|
+
synced_at?: string;
|
|
33199
|
+
trade_item_id?: string | null;
|
|
33200
|
+
updated_at?: string;
|
|
33201
|
+
valid_from?: string | null;
|
|
33202
|
+
valid_to?: string | null;
|
|
33203
|
+
week?: number | null;
|
|
33204
|
+
year?: number | null;
|
|
33205
|
+
};
|
|
33206
|
+
Update: {
|
|
33207
|
+
connection_id?: string;
|
|
33208
|
+
created_at?: string;
|
|
33209
|
+
currency?: string;
|
|
33210
|
+
id?: string;
|
|
33211
|
+
is_deleted?: boolean;
|
|
33212
|
+
price?: number | null;
|
|
33213
|
+
price_group_id?: string | null;
|
|
33214
|
+
price_group_name?: string | null;
|
|
33215
|
+
price_type?: string;
|
|
33216
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
33217
|
+
sales_unit?: string | null;
|
|
33218
|
+
sequence_number?: number;
|
|
33219
|
+
supplier_article_code?: string | null;
|
|
33220
|
+
supply_line_id?: string;
|
|
33221
|
+
synced_at?: string;
|
|
33222
|
+
trade_item_id?: string | null;
|
|
33223
|
+
updated_at?: string;
|
|
33224
|
+
valid_from?: string | null;
|
|
33225
|
+
valid_to?: string | null;
|
|
33226
|
+
week?: number | null;
|
|
33227
|
+
year?: number | null;
|
|
33228
|
+
};
|
|
33229
|
+
Relationships: [{
|
|
33230
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
33231
|
+
columns: ["connection_id"];
|
|
33232
|
+
isOneToOne: false;
|
|
33233
|
+
referencedRelation: "floriday_connections";
|
|
33234
|
+
referencedColumns: ["id"];
|
|
33235
|
+
}];
|
|
33236
|
+
};
|
|
32014
33237
|
floriday_clock_presales_cache: {
|
|
32015
33238
|
Row: {
|
|
32016
33239
|
buyer_organization_id: string | null;
|
|
@@ -32926,6 +34149,69 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
32926
34149
|
referencedColumns: ["id"];
|
|
32927
34150
|
}];
|
|
32928
34151
|
};
|
|
34152
|
+
floriday_link_templates: {
|
|
34153
|
+
Row: {
|
|
34154
|
+
created_at: string;
|
|
34155
|
+
floriday_url_template: string | null;
|
|
34156
|
+
is_active: boolean;
|
|
34157
|
+
label: string;
|
|
34158
|
+
local_url_template: string | null;
|
|
34159
|
+
resource_type: string;
|
|
34160
|
+
updated_at: string;
|
|
34161
|
+
};
|
|
34162
|
+
Insert: {
|
|
34163
|
+
created_at?: string;
|
|
34164
|
+
floriday_url_template?: string | null;
|
|
34165
|
+
is_active?: boolean;
|
|
34166
|
+
label: string;
|
|
34167
|
+
local_url_template?: string | null;
|
|
34168
|
+
resource_type: string;
|
|
34169
|
+
updated_at?: string;
|
|
34170
|
+
};
|
|
34171
|
+
Update: {
|
|
34172
|
+
created_at?: string;
|
|
34173
|
+
floriday_url_template?: string | null;
|
|
34174
|
+
is_active?: boolean;
|
|
34175
|
+
label?: string;
|
|
34176
|
+
local_url_template?: string | null;
|
|
34177
|
+
resource_type?: string;
|
|
34178
|
+
updated_at?: string;
|
|
34179
|
+
};
|
|
34180
|
+
Relationships: [];
|
|
34181
|
+
};
|
|
34182
|
+
floriday_log_retention: {
|
|
34183
|
+
Row: {
|
|
34184
|
+
created_at: string;
|
|
34185
|
+
direction: string | null;
|
|
34186
|
+
id: string;
|
|
34187
|
+
keep_failed_days: number | null;
|
|
34188
|
+
keep_ok_days: number | null;
|
|
34189
|
+
note: string | null;
|
|
34190
|
+
resource_type: string | null;
|
|
34191
|
+
updated_at: string;
|
|
34192
|
+
};
|
|
34193
|
+
Insert: {
|
|
34194
|
+
created_at?: string;
|
|
34195
|
+
direction?: string | null;
|
|
34196
|
+
id?: string;
|
|
34197
|
+
keep_failed_days?: number | null;
|
|
34198
|
+
keep_ok_days?: number | null;
|
|
34199
|
+
note?: string | null;
|
|
34200
|
+
resource_type?: string | null;
|
|
34201
|
+
updated_at?: string;
|
|
34202
|
+
};
|
|
34203
|
+
Update: {
|
|
34204
|
+
created_at?: string;
|
|
34205
|
+
direction?: string | null;
|
|
34206
|
+
id?: string;
|
|
34207
|
+
keep_failed_days?: number | null;
|
|
34208
|
+
keep_ok_days?: number | null;
|
|
34209
|
+
note?: string | null;
|
|
34210
|
+
resource_type?: string | null;
|
|
34211
|
+
updated_at?: string;
|
|
34212
|
+
};
|
|
34213
|
+
Relationships: [];
|
|
34214
|
+
};
|
|
32929
34215
|
floriday_logistic_labels_cache: {
|
|
32930
34216
|
Row: {
|
|
32931
34217
|
byte_size: number | null;
|
|
@@ -36279,22 +37565,31 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
36279
37565
|
};
|
|
36280
37566
|
logistics_floriday_push_refusals: {
|
|
36281
37567
|
Row: {
|
|
37568
|
+
action: string | null;
|
|
36282
37569
|
created_at: string;
|
|
36283
37570
|
id: string;
|
|
36284
37571
|
order_ref: string;
|
|
36285
37572
|
reason: string;
|
|
37573
|
+
source_module: string | null;
|
|
37574
|
+
source_shell: string | null;
|
|
36286
37575
|
};
|
|
36287
37576
|
Insert: {
|
|
37577
|
+
action?: string | null;
|
|
36288
37578
|
created_at?: string;
|
|
36289
37579
|
id?: string;
|
|
36290
37580
|
order_ref: string;
|
|
36291
37581
|
reason: string;
|
|
37582
|
+
source_module?: string | null;
|
|
37583
|
+
source_shell?: string | null;
|
|
36292
37584
|
};
|
|
36293
37585
|
Update: {
|
|
37586
|
+
action?: string | null;
|
|
36294
37587
|
created_at?: string;
|
|
36295
37588
|
id?: string;
|
|
36296
37589
|
order_ref?: string;
|
|
36297
37590
|
reason?: string;
|
|
37591
|
+
source_module?: string | null;
|
|
37592
|
+
source_shell?: string | null;
|
|
36298
37593
|
};
|
|
36299
37594
|
Relationships: [];
|
|
36300
37595
|
};
|
|
@@ -36373,6 +37668,42 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
36373
37668
|
};
|
|
36374
37669
|
Relationships: [];
|
|
36375
37670
|
};
|
|
37671
|
+
logistics_floriday_status_sends: {
|
|
37672
|
+
Row: {
|
|
37673
|
+
action: string;
|
|
37674
|
+
created_at: string;
|
|
37675
|
+
detail: string | null;
|
|
37676
|
+
http_status: number | null;
|
|
37677
|
+
id: string;
|
|
37678
|
+
ok: boolean;
|
|
37679
|
+
order_ref: string;
|
|
37680
|
+
source_module: string | null;
|
|
37681
|
+
source_shell: string | null;
|
|
37682
|
+
};
|
|
37683
|
+
Insert: {
|
|
37684
|
+
action: string;
|
|
37685
|
+
created_at?: string;
|
|
37686
|
+
detail?: string | null;
|
|
37687
|
+
http_status?: number | null;
|
|
37688
|
+
id?: string;
|
|
37689
|
+
ok?: boolean;
|
|
37690
|
+
order_ref: string;
|
|
37691
|
+
source_module?: string | null;
|
|
37692
|
+
source_shell?: string | null;
|
|
37693
|
+
};
|
|
37694
|
+
Update: {
|
|
37695
|
+
action?: string;
|
|
37696
|
+
created_at?: string;
|
|
37697
|
+
detail?: string | null;
|
|
37698
|
+
http_status?: number | null;
|
|
37699
|
+
id?: string;
|
|
37700
|
+
ok?: boolean;
|
|
37701
|
+
order_ref?: string;
|
|
37702
|
+
source_module?: string | null;
|
|
37703
|
+
source_shell?: string | null;
|
|
37704
|
+
};
|
|
37705
|
+
Relationships: [];
|
|
37706
|
+
};
|
|
36376
37707
|
logistics_formulas: {
|
|
36377
37708
|
Row: {
|
|
36378
37709
|
created_at: string;
|
|
@@ -36445,6 +37776,108 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
36445
37776
|
};
|
|
36446
37777
|
Relationships: [];
|
|
36447
37778
|
};
|
|
37779
|
+
logistics_opening_exceptions: {
|
|
37780
|
+
Row: {
|
|
37781
|
+
closes: string | null;
|
|
37782
|
+
created_at: string;
|
|
37783
|
+
day: string;
|
|
37784
|
+
id: string;
|
|
37785
|
+
is_closed: boolean;
|
|
37786
|
+
note: string | null;
|
|
37787
|
+
opens: string | null;
|
|
37788
|
+
};
|
|
37789
|
+
Insert: {
|
|
37790
|
+
closes?: string | null;
|
|
37791
|
+
created_at?: string;
|
|
37792
|
+
day: string;
|
|
37793
|
+
id?: string;
|
|
37794
|
+
is_closed?: boolean;
|
|
37795
|
+
note?: string | null;
|
|
37796
|
+
opens?: string | null;
|
|
37797
|
+
};
|
|
37798
|
+
Update: {
|
|
37799
|
+
closes?: string | null;
|
|
37800
|
+
created_at?: string;
|
|
37801
|
+
day?: string;
|
|
37802
|
+
id?: string;
|
|
37803
|
+
is_closed?: boolean;
|
|
37804
|
+
note?: string | null;
|
|
37805
|
+
opens?: string | null;
|
|
37806
|
+
};
|
|
37807
|
+
Relationships: [];
|
|
37808
|
+
};
|
|
37809
|
+
logistics_opening_hours: {
|
|
37810
|
+
Row: {
|
|
37811
|
+
closes: string;
|
|
37812
|
+
created_at: string;
|
|
37813
|
+
id: string;
|
|
37814
|
+
is_active: boolean;
|
|
37815
|
+
note: string | null;
|
|
37816
|
+
opens: string;
|
|
37817
|
+
weekday: number;
|
|
37818
|
+
};
|
|
37819
|
+
Insert: {
|
|
37820
|
+
closes: string;
|
|
37821
|
+
created_at?: string;
|
|
37822
|
+
id?: string;
|
|
37823
|
+
is_active?: boolean;
|
|
37824
|
+
note?: string | null;
|
|
37825
|
+
opens: string;
|
|
37826
|
+
weekday: number;
|
|
37827
|
+
};
|
|
37828
|
+
Update: {
|
|
37829
|
+
closes?: string;
|
|
37830
|
+
created_at?: string;
|
|
37831
|
+
id?: string;
|
|
37832
|
+
is_active?: boolean;
|
|
37833
|
+
note?: string | null;
|
|
37834
|
+
opens?: string;
|
|
37835
|
+
weekday?: number;
|
|
37836
|
+
};
|
|
37837
|
+
Relationships: [];
|
|
37838
|
+
};
|
|
37839
|
+
logistics_pick_data_requests: {
|
|
37840
|
+
Row: {
|
|
37841
|
+
actions: import("../integrations/supabase/types").Json;
|
|
37842
|
+
created_at: string;
|
|
37843
|
+
event_id: string | null;
|
|
37844
|
+
finished_at: string | null;
|
|
37845
|
+
id: string;
|
|
37846
|
+
missing: import("../integrations/supabase/types").Json;
|
|
37847
|
+
order_ref: string;
|
|
37848
|
+
reason: string | null;
|
|
37849
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
37850
|
+
status: string;
|
|
37851
|
+
unit_ref: string | null;
|
|
37852
|
+
};
|
|
37853
|
+
Insert: {
|
|
37854
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37855
|
+
created_at?: string;
|
|
37856
|
+
event_id?: string | null;
|
|
37857
|
+
finished_at?: string | null;
|
|
37858
|
+
id?: string;
|
|
37859
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37860
|
+
order_ref: string;
|
|
37861
|
+
reason?: string | null;
|
|
37862
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37863
|
+
status?: string;
|
|
37864
|
+
unit_ref?: string | null;
|
|
37865
|
+
};
|
|
37866
|
+
Update: {
|
|
37867
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
37868
|
+
created_at?: string;
|
|
37869
|
+
event_id?: string | null;
|
|
37870
|
+
finished_at?: string | null;
|
|
37871
|
+
id?: string;
|
|
37872
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
37873
|
+
order_ref?: string;
|
|
37874
|
+
reason?: string | null;
|
|
37875
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
37876
|
+
status?: string;
|
|
37877
|
+
unit_ref?: string | null;
|
|
37878
|
+
};
|
|
37879
|
+
Relationships: [];
|
|
37880
|
+
};
|
|
36448
37881
|
logistics_pickup_moments: {
|
|
36449
37882
|
Row: {
|
|
36450
37883
|
carrier_ref: string | null;
|
|
@@ -36904,6 +38337,69 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
36904
38337
|
};
|
|
36905
38338
|
Relationships: [];
|
|
36906
38339
|
};
|
|
38340
|
+
logistics_slip_shipping_note: {
|
|
38341
|
+
Row: {
|
|
38342
|
+
attempts: number;
|
|
38343
|
+
batch_key: string | null;
|
|
38344
|
+
cart_id: string | null;
|
|
38345
|
+
created_at: string;
|
|
38346
|
+
error: string | null;
|
|
38347
|
+
error_code: string | null;
|
|
38348
|
+
fulfillment_order_id: string | null;
|
|
38349
|
+
id: string;
|
|
38350
|
+
locked_until: string | null;
|
|
38351
|
+
next_attempt_at: string | null;
|
|
38352
|
+
order_id: string | null;
|
|
38353
|
+
order_number: string | null;
|
|
38354
|
+
print_job_id: string | null;
|
|
38355
|
+
printer_id: string | null;
|
|
38356
|
+
retry_class: string | null;
|
|
38357
|
+
slip_job_id: string;
|
|
38358
|
+
status: string;
|
|
38359
|
+
updated_at: string;
|
|
38360
|
+
};
|
|
38361
|
+
Insert: {
|
|
38362
|
+
attempts?: number;
|
|
38363
|
+
batch_key?: string | null;
|
|
38364
|
+
cart_id?: string | null;
|
|
38365
|
+
created_at?: string;
|
|
38366
|
+
error?: string | null;
|
|
38367
|
+
error_code?: string | null;
|
|
38368
|
+
fulfillment_order_id?: string | null;
|
|
38369
|
+
id?: string;
|
|
38370
|
+
locked_until?: string | null;
|
|
38371
|
+
next_attempt_at?: string | null;
|
|
38372
|
+
order_id?: string | null;
|
|
38373
|
+
order_number?: string | null;
|
|
38374
|
+
print_job_id?: string | null;
|
|
38375
|
+
printer_id?: string | null;
|
|
38376
|
+
retry_class?: string | null;
|
|
38377
|
+
slip_job_id: string;
|
|
38378
|
+
status?: string;
|
|
38379
|
+
updated_at?: string;
|
|
38380
|
+
};
|
|
38381
|
+
Update: {
|
|
38382
|
+
attempts?: number;
|
|
38383
|
+
batch_key?: string | null;
|
|
38384
|
+
cart_id?: string | null;
|
|
38385
|
+
created_at?: string;
|
|
38386
|
+
error?: string | null;
|
|
38387
|
+
error_code?: string | null;
|
|
38388
|
+
fulfillment_order_id?: string | null;
|
|
38389
|
+
id?: string;
|
|
38390
|
+
locked_until?: string | null;
|
|
38391
|
+
next_attempt_at?: string | null;
|
|
38392
|
+
order_id?: string | null;
|
|
38393
|
+
order_number?: string | null;
|
|
38394
|
+
print_job_id?: string | null;
|
|
38395
|
+
printer_id?: string | null;
|
|
38396
|
+
retry_class?: string | null;
|
|
38397
|
+
slip_job_id?: string;
|
|
38398
|
+
status?: string;
|
|
38399
|
+
updated_at?: string;
|
|
38400
|
+
};
|
|
38401
|
+
Relationships: [];
|
|
38402
|
+
};
|
|
36907
38403
|
logistics_staff_planning: {
|
|
36908
38404
|
Row: {
|
|
36909
38405
|
created_at: string;
|
|
@@ -37237,6 +38733,129 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
37237
38733
|
};
|
|
37238
38734
|
Relationships: [];
|
|
37239
38735
|
};
|
|
38736
|
+
logistics_time_settings: {
|
|
38737
|
+
Row: {
|
|
38738
|
+
id: boolean;
|
|
38739
|
+
timezone: string;
|
|
38740
|
+
updated_at: string;
|
|
38741
|
+
};
|
|
38742
|
+
Insert: {
|
|
38743
|
+
id?: boolean;
|
|
38744
|
+
timezone: string;
|
|
38745
|
+
updated_at?: string;
|
|
38746
|
+
};
|
|
38747
|
+
Update: {
|
|
38748
|
+
id?: boolean;
|
|
38749
|
+
timezone?: string;
|
|
38750
|
+
updated_at?: string;
|
|
38751
|
+
};
|
|
38752
|
+
Relationships: [];
|
|
38753
|
+
};
|
|
38754
|
+
logistics_trace_events: {
|
|
38755
|
+
Row: {
|
|
38756
|
+
actor: string | null;
|
|
38757
|
+
attempts: number;
|
|
38758
|
+
cart_ref: string | null;
|
|
38759
|
+
created_at: string;
|
|
38760
|
+
db_action: string | null;
|
|
38761
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38762
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38763
|
+
db_record: string | null;
|
|
38764
|
+
db_table: string | null;
|
|
38765
|
+
decision: string | null;
|
|
38766
|
+
duration_ms: number | null;
|
|
38767
|
+
error: string | null;
|
|
38768
|
+
external_action: string | null;
|
|
38769
|
+
external_ref: string | null;
|
|
38770
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38771
|
+
external_status: string | null;
|
|
38772
|
+
external_system: string | null;
|
|
38773
|
+
id: string;
|
|
38774
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38775
|
+
next_attempt_at: string | null;
|
|
38776
|
+
order_ref: string | null;
|
|
38777
|
+
order_source: string | null;
|
|
38778
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38779
|
+
phase: string;
|
|
38780
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38781
|
+
reason: string | null;
|
|
38782
|
+
rule: string | null;
|
|
38783
|
+
slip_ref: string | null;
|
|
38784
|
+
status: string;
|
|
38785
|
+
step: string;
|
|
38786
|
+
trace_id: string;
|
|
38787
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38788
|
+
};
|
|
38789
|
+
Insert: {
|
|
38790
|
+
actor?: string | null;
|
|
38791
|
+
attempts?: number;
|
|
38792
|
+
cart_ref?: string | null;
|
|
38793
|
+
created_at?: string;
|
|
38794
|
+
db_action?: string | null;
|
|
38795
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38796
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38797
|
+
db_record?: string | null;
|
|
38798
|
+
db_table?: string | null;
|
|
38799
|
+
decision?: string | null;
|
|
38800
|
+
duration_ms?: number | null;
|
|
38801
|
+
error?: string | null;
|
|
38802
|
+
external_action?: string | null;
|
|
38803
|
+
external_ref?: string | null;
|
|
38804
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38805
|
+
external_status?: string | null;
|
|
38806
|
+
external_system?: string | null;
|
|
38807
|
+
id?: string;
|
|
38808
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38809
|
+
next_attempt_at?: string | null;
|
|
38810
|
+
order_ref?: string | null;
|
|
38811
|
+
order_source?: string | null;
|
|
38812
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38813
|
+
phase: string;
|
|
38814
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38815
|
+
reason?: string | null;
|
|
38816
|
+
rule?: string | null;
|
|
38817
|
+
slip_ref?: string | null;
|
|
38818
|
+
status: string;
|
|
38819
|
+
step: string;
|
|
38820
|
+
trace_id?: string;
|
|
38821
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38822
|
+
};
|
|
38823
|
+
Update: {
|
|
38824
|
+
actor?: string | null;
|
|
38825
|
+
attempts?: number;
|
|
38826
|
+
cart_ref?: string | null;
|
|
38827
|
+
created_at?: string;
|
|
38828
|
+
db_action?: string | null;
|
|
38829
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38830
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38831
|
+
db_record?: string | null;
|
|
38832
|
+
db_table?: string | null;
|
|
38833
|
+
decision?: string | null;
|
|
38834
|
+
duration_ms?: number | null;
|
|
38835
|
+
error?: string | null;
|
|
38836
|
+
external_action?: string | null;
|
|
38837
|
+
external_ref?: string | null;
|
|
38838
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38839
|
+
external_status?: string | null;
|
|
38840
|
+
external_system?: string | null;
|
|
38841
|
+
id?: string;
|
|
38842
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38843
|
+
next_attempt_at?: string | null;
|
|
38844
|
+
order_ref?: string | null;
|
|
38845
|
+
order_source?: string | null;
|
|
38846
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38847
|
+
phase?: string;
|
|
38848
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38849
|
+
reason?: string | null;
|
|
38850
|
+
rule?: string | null;
|
|
38851
|
+
slip_ref?: string | null;
|
|
38852
|
+
status?: string;
|
|
38853
|
+
step?: string;
|
|
38854
|
+
trace_id?: string;
|
|
38855
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38856
|
+
};
|
|
38857
|
+
Relationships: [];
|
|
38858
|
+
};
|
|
37240
38859
|
logistics_variables: {
|
|
37241
38860
|
Row: {
|
|
37242
38861
|
created_at: string;
|
|
@@ -39627,6 +41246,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39627
41246
|
customer_name: string;
|
|
39628
41247
|
deleted_at: string | null;
|
|
39629
41248
|
delivery_date: string | null;
|
|
41249
|
+
floriday_order_group_key: string | null;
|
|
39630
41250
|
floriday_sales_order_id: string | null;
|
|
39631
41251
|
id: string;
|
|
39632
41252
|
invoice_due_at: string | null;
|
|
@@ -39654,6 +41274,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39654
41274
|
customer_name?: string;
|
|
39655
41275
|
deleted_at?: string | null;
|
|
39656
41276
|
delivery_date?: string | null;
|
|
41277
|
+
floriday_order_group_key?: string | null;
|
|
39657
41278
|
floriday_sales_order_id?: string | null;
|
|
39658
41279
|
id?: string;
|
|
39659
41280
|
invoice_due_at?: string | null;
|
|
@@ -39681,6 +41302,7 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
39681
41302
|
customer_name?: string;
|
|
39682
41303
|
deleted_at?: string | null;
|
|
39683
41304
|
delivery_date?: string | null;
|
|
41305
|
+
floriday_order_group_key?: string | null;
|
|
39684
41306
|
floriday_sales_order_id?: string | null;
|
|
39685
41307
|
id?: string;
|
|
39686
41308
|
invoice_due_at?: string | null;
|
|
@@ -47806,6 +49428,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
47806
49428
|
Args: never;
|
|
47807
49429
|
Returns: boolean;
|
|
47808
49430
|
};
|
|
49431
|
+
cancel_open_print_jobs: {
|
|
49432
|
+
Args: {
|
|
49433
|
+
_cutoff: string;
|
|
49434
|
+
};
|
|
49435
|
+
Returns: {
|
|
49436
|
+
extern_job_id: string;
|
|
49437
|
+
id: string;
|
|
49438
|
+
}[];
|
|
49439
|
+
};
|
|
47809
49440
|
check_offer_product_available_stock: {
|
|
47810
49441
|
Args: {
|
|
47811
49442
|
p_campaign_product_id: string;
|
|
@@ -49344,6 +50975,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49344
50975
|
};
|
|
49345
50976
|
Returns: string;
|
|
49346
50977
|
};
|
|
50978
|
+
logistics_cart_checkin_at: {
|
|
50979
|
+
Args: {
|
|
50980
|
+
p_cart_id: string;
|
|
50981
|
+
};
|
|
50982
|
+
Returns: string;
|
|
50983
|
+
};
|
|
49347
50984
|
logistics_cart_handled: {
|
|
49348
50985
|
Args: {
|
|
49349
50986
|
p_cart_index: number;
|
|
@@ -49377,10 +51014,22 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49377
51014
|
task_status: string;
|
|
49378
51015
|
}[];
|
|
49379
51016
|
};
|
|
51017
|
+
logistics_cart_is_full: {
|
|
51018
|
+
Args: {
|
|
51019
|
+
p_cart_id: string;
|
|
51020
|
+
};
|
|
51021
|
+
Returns: boolean;
|
|
51022
|
+
};
|
|
49380
51023
|
logistics_cart_layout_method: {
|
|
49381
51024
|
Args: never;
|
|
49382
51025
|
Returns: import("../integrations/supabase/types").Json;
|
|
49383
51026
|
};
|
|
51027
|
+
logistics_cart_order_refs: {
|
|
51028
|
+
Args: {
|
|
51029
|
+
p_cart_id: string;
|
|
51030
|
+
};
|
|
51031
|
+
Returns: string[];
|
|
51032
|
+
};
|
|
49384
51033
|
logistics_cart_plan_overview: {
|
|
49385
51034
|
Args: {
|
|
49386
51035
|
p_days?: number;
|
|
@@ -49400,6 +51049,24 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49400
51049
|
};
|
|
49401
51050
|
Returns: import("../integrations/supabase/types").Json;
|
|
49402
51051
|
};
|
|
51052
|
+
logistics_cart_plan_status_core: {
|
|
51053
|
+
Args: {
|
|
51054
|
+
p_ref: string;
|
|
51055
|
+
};
|
|
51056
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51057
|
+
};
|
|
51058
|
+
logistics_cart_release_reason: {
|
|
51059
|
+
Args: {
|
|
51060
|
+
p_cart_id: string;
|
|
51061
|
+
};
|
|
51062
|
+
Returns: string;
|
|
51063
|
+
};
|
|
51064
|
+
logistics_cart_released: {
|
|
51065
|
+
Args: {
|
|
51066
|
+
p_cart_id: string;
|
|
51067
|
+
};
|
|
51068
|
+
Returns: boolean;
|
|
51069
|
+
};
|
|
49403
51070
|
logistics_cart_seq: {
|
|
49404
51071
|
Args: {
|
|
49405
51072
|
p_order_uuid?: string;
|
|
@@ -49450,6 +51117,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49450
51117
|
unit_ref: string;
|
|
49451
51118
|
}[];
|
|
49452
51119
|
};
|
|
51120
|
+
logistics_carts_per_print: {
|
|
51121
|
+
Args: never;
|
|
51122
|
+
Returns: number;
|
|
51123
|
+
};
|
|
49453
51124
|
logistics_check_order_allowed: {
|
|
49454
51125
|
Args: {
|
|
49455
51126
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -49553,6 +51224,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49553
51224
|
isSetofReturn: false;
|
|
49554
51225
|
};
|
|
49555
51226
|
};
|
|
51227
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
51228
|
+
Args: never;
|
|
51229
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51230
|
+
};
|
|
49556
51231
|
logistics_complete_task: {
|
|
49557
51232
|
Args: {
|
|
49558
51233
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -49615,6 +51290,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49615
51290
|
station_carts: number;
|
|
49616
51291
|
}[];
|
|
49617
51292
|
};
|
|
51293
|
+
logistics_control_complete_cart: {
|
|
51294
|
+
Args: {
|
|
51295
|
+
p_cart_id: string;
|
|
51296
|
+
};
|
|
51297
|
+
Returns: number;
|
|
51298
|
+
};
|
|
49618
51299
|
logistics_control_scan_approve: {
|
|
49619
51300
|
Args: {
|
|
49620
51301
|
p_allow_reprint?: boolean;
|
|
@@ -49694,6 +51375,15 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49694
51375
|
Args: never;
|
|
49695
51376
|
Returns: import("../integrations/supabase/types").Json;
|
|
49696
51377
|
};
|
|
51378
|
+
logistics_day_windows: {
|
|
51379
|
+
Args: {
|
|
51380
|
+
p_day: string;
|
|
51381
|
+
};
|
|
51382
|
+
Returns: {
|
|
51383
|
+
win_end: string;
|
|
51384
|
+
win_start: string;
|
|
51385
|
+
}[];
|
|
51386
|
+
};
|
|
49697
51387
|
logistics_delay_customer_email: {
|
|
49698
51388
|
Args: {
|
|
49699
51389
|
p_customer: string;
|
|
@@ -49761,6 +51451,17 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49761
51451
|
};
|
|
49762
51452
|
Returns: import("../integrations/supabase/types").Json;
|
|
49763
51453
|
};
|
|
51454
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
51455
|
+
Args: {
|
|
51456
|
+
_cart_id: string;
|
|
51457
|
+
_is_herprint: boolean;
|
|
51458
|
+
_printer_id: string;
|
|
51459
|
+
_queue_item_id: string;
|
|
51460
|
+
_session_id: string;
|
|
51461
|
+
_slip_job_id: string;
|
|
51462
|
+
};
|
|
51463
|
+
Returns: string;
|
|
51464
|
+
};
|
|
49764
51465
|
logistics_enqueue_sticker_with_slip: {
|
|
49765
51466
|
Args: {
|
|
49766
51467
|
_cart_id: string;
|
|
@@ -49778,6 +51479,20 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49778
51479
|
};
|
|
49779
51480
|
Returns: string;
|
|
49780
51481
|
};
|
|
51482
|
+
logistics_ensure_pick_data: {
|
|
51483
|
+
Args: {
|
|
51484
|
+
p_event_id?: string;
|
|
51485
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
51486
|
+
p_ref: string;
|
|
51487
|
+
};
|
|
51488
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51489
|
+
};
|
|
51490
|
+
logistics_ensure_shipping_notes: {
|
|
51491
|
+
Args: {
|
|
51492
|
+
p_limit?: number;
|
|
51493
|
+
};
|
|
51494
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51495
|
+
};
|
|
49781
51496
|
logistics_fail_task: {
|
|
49782
51497
|
Args: {
|
|
49783
51498
|
p_error: string;
|
|
@@ -49823,6 +51538,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49823
51538
|
isSetofReturn: false;
|
|
49824
51539
|
};
|
|
49825
51540
|
};
|
|
51541
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51542
|
+
Args: never;
|
|
51543
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51544
|
+
};
|
|
49826
51545
|
logistics_floriday_cart_plan: {
|
|
49827
51546
|
Args: {
|
|
49828
51547
|
p_order_id: string;
|
|
@@ -49850,6 +51569,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49850
51569
|
revision: number;
|
|
49851
51570
|
}[];
|
|
49852
51571
|
};
|
|
51572
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51573
|
+
Args: never;
|
|
51574
|
+
Returns: boolean;
|
|
51575
|
+
};
|
|
49853
51576
|
logistics_floriday_finish_push: {
|
|
49854
51577
|
Args: {
|
|
49855
51578
|
_error?: string;
|
|
@@ -49899,6 +51622,32 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49899
51622
|
};
|
|
49900
51623
|
Returns: string;
|
|
49901
51624
|
};
|
|
51625
|
+
logistics_floriday_gate_status: {
|
|
51626
|
+
Args: never;
|
|
51627
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51628
|
+
};
|
|
51629
|
+
logistics_floriday_log_refusal: {
|
|
51630
|
+
Args: {
|
|
51631
|
+
_action?: string;
|
|
51632
|
+
_module?: string;
|
|
51633
|
+
_order_ref: string;
|
|
51634
|
+
_reason: string;
|
|
51635
|
+
_shell?: string;
|
|
51636
|
+
};
|
|
51637
|
+
Returns: undefined;
|
|
51638
|
+
};
|
|
51639
|
+
logistics_floriday_log_send: {
|
|
51640
|
+
Args: {
|
|
51641
|
+
_action: string;
|
|
51642
|
+
_detail?: string;
|
|
51643
|
+
_http_status?: number;
|
|
51644
|
+
_module?: string;
|
|
51645
|
+
_ok: boolean;
|
|
51646
|
+
_order_ref: string;
|
|
51647
|
+
_shell?: string;
|
|
51648
|
+
};
|
|
51649
|
+
Returns: undefined;
|
|
51650
|
+
};
|
|
49902
51651
|
logistics_floriday_order_approved: {
|
|
49903
51652
|
Args: {
|
|
49904
51653
|
_order_ref: string;
|
|
@@ -49923,6 +51672,16 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49923
51672
|
Args: never;
|
|
49924
51673
|
Returns: boolean;
|
|
49925
51674
|
};
|
|
51675
|
+
logistics_floriday_stock_updates_enabled: {
|
|
51676
|
+
Args: never;
|
|
51677
|
+
Returns: boolean;
|
|
51678
|
+
};
|
|
51679
|
+
logistics_floriday_write_allowed: {
|
|
51680
|
+
Args: {
|
|
51681
|
+
_action: string;
|
|
51682
|
+
};
|
|
51683
|
+
Returns: boolean;
|
|
51684
|
+
};
|
|
49926
51685
|
logistics_fulfill_barcode_requests: {
|
|
49927
51686
|
Args: {
|
|
49928
51687
|
p_limit?: number;
|
|
@@ -49965,6 +51724,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49965
51724
|
};
|
|
49966
51725
|
Returns: number;
|
|
49967
51726
|
};
|
|
51727
|
+
logistics_merge_partial_carts: {
|
|
51728
|
+
Args: {
|
|
51729
|
+
p_limit?: number;
|
|
51730
|
+
};
|
|
51731
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51732
|
+
};
|
|
49968
51733
|
logistics_next_workday_date: {
|
|
49969
51734
|
Args: {
|
|
49970
51735
|
p_date: string;
|
|
@@ -49991,6 +51756,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
49991
51756
|
};
|
|
49992
51757
|
Returns: string;
|
|
49993
51758
|
};
|
|
51759
|
+
logistics_opening_timezone: {
|
|
51760
|
+
Args: never;
|
|
51761
|
+
Returns: string;
|
|
51762
|
+
};
|
|
49994
51763
|
logistics_order_cart_count: {
|
|
49995
51764
|
Args: {
|
|
49996
51765
|
p_order_ref: string;
|
|
@@ -50047,6 +51816,12 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50047
51816
|
};
|
|
50048
51817
|
Returns: string;
|
|
50049
51818
|
};
|
|
51819
|
+
logistics_payload_is_floriday: {
|
|
51820
|
+
Args: {
|
|
51821
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51822
|
+
};
|
|
51823
|
+
Returns: boolean;
|
|
51824
|
+
};
|
|
50050
51825
|
logistics_pick_agenda: {
|
|
50051
51826
|
Args: {
|
|
50052
51827
|
p_from?: string;
|
|
@@ -50075,6 +51850,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50075
51850
|
Args: never;
|
|
50076
51851
|
Returns: import("../integrations/supabase/types").Json;
|
|
50077
51852
|
};
|
|
51853
|
+
logistics_pick_partial_mode: {
|
|
51854
|
+
Args: never;
|
|
51855
|
+
Returns: string;
|
|
51856
|
+
};
|
|
50078
51857
|
logistics_pick_start_estimate: {
|
|
50079
51858
|
Args: {
|
|
50080
51859
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -50165,6 +51944,20 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50165
51944
|
Args: never;
|
|
50166
51945
|
Returns: undefined;
|
|
50167
51946
|
};
|
|
51947
|
+
logistics_plan_progress: {
|
|
51948
|
+
Args: {
|
|
51949
|
+
p_refs: string[];
|
|
51950
|
+
};
|
|
51951
|
+
Returns: {
|
|
51952
|
+
cart_plan_ready: boolean;
|
|
51953
|
+
cart_plan_reason: string;
|
|
51954
|
+
cart_plan_released: boolean;
|
|
51955
|
+
plan_progress: number;
|
|
51956
|
+
plan_state: string;
|
|
51957
|
+
plan_state_since: string;
|
|
51958
|
+
unit_ref: string;
|
|
51959
|
+
}[];
|
|
51960
|
+
};
|
|
50168
51961
|
logistics_plan_prune: {
|
|
50169
51962
|
Args: never;
|
|
50170
51963
|
Returns: number;
|
|
@@ -50186,6 +51979,18 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50186
51979
|
};
|
|
50187
51980
|
Returns: number;
|
|
50188
51981
|
};
|
|
51982
|
+
logistics_plan_state_for: {
|
|
51983
|
+
Args: {
|
|
51984
|
+
p_ref: string;
|
|
51985
|
+
};
|
|
51986
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51987
|
+
};
|
|
51988
|
+
logistics_prepare_pick_documents: {
|
|
51989
|
+
Args: {
|
|
51990
|
+
p_limit?: number;
|
|
51991
|
+
};
|
|
51992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51993
|
+
};
|
|
50189
51994
|
logistics_prune_buffer_member_queue: {
|
|
50190
51995
|
Args: never;
|
|
50191
51996
|
Returns: number;
|
|
@@ -50226,18 +52031,36 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50226
52031
|
Args: never;
|
|
50227
52032
|
Returns: import("../integrations/supabase/types").Json;
|
|
50228
52033
|
};
|
|
52034
|
+
logistics_refresh_pick_queue_status: {
|
|
52035
|
+
Args: {
|
|
52036
|
+
p_ref: string;
|
|
52037
|
+
};
|
|
52038
|
+
Returns: number;
|
|
52039
|
+
};
|
|
50229
52040
|
logistics_refresh_pickup_moments: {
|
|
50230
52041
|
Args: {
|
|
50231
52042
|
p_weeks?: number;
|
|
50232
52043
|
};
|
|
50233
52044
|
Returns: import("../integrations/supabase/types").Json;
|
|
50234
52045
|
};
|
|
52046
|
+
logistics_refresh_plan_state: {
|
|
52047
|
+
Args: {
|
|
52048
|
+
p_limit?: number;
|
|
52049
|
+
};
|
|
52050
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52051
|
+
};
|
|
50235
52052
|
logistics_replan_all: {
|
|
50236
52053
|
Args: {
|
|
50237
52054
|
p_reason?: string;
|
|
50238
52055
|
};
|
|
50239
52056
|
Returns: import("../integrations/supabase/types").Json;
|
|
50240
52057
|
};
|
|
52058
|
+
logistics_replan_all_force: {
|
|
52059
|
+
Args: {
|
|
52060
|
+
p_reason?: string;
|
|
52061
|
+
};
|
|
52062
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52063
|
+
};
|
|
50241
52064
|
logistics_report_delay: {
|
|
50242
52065
|
Args: {
|
|
50243
52066
|
p_expected_date?: string;
|
|
@@ -50382,6 +52205,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50382
52205
|
};
|
|
50383
52206
|
Returns: string;
|
|
50384
52207
|
};
|
|
52208
|
+
logistics_shipping_note_follows_slip: {
|
|
52209
|
+
Args: never;
|
|
52210
|
+
Returns: boolean;
|
|
52211
|
+
};
|
|
50385
52212
|
logistics_shipping_note_from_barcode: {
|
|
50386
52213
|
Args: {
|
|
50387
52214
|
p_allow_reprint?: boolean;
|
|
@@ -50390,10 +52217,86 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50390
52217
|
};
|
|
50391
52218
|
Returns: import("../integrations/supabase/types").Json;
|
|
50392
52219
|
};
|
|
52220
|
+
logistics_shipping_note_job_for_slip: {
|
|
52221
|
+
Args: {
|
|
52222
|
+
_slip_job_id: string;
|
|
52223
|
+
};
|
|
52224
|
+
Returns: string;
|
|
52225
|
+
};
|
|
52226
|
+
logistics_shipping_notes_wake_all: {
|
|
52227
|
+
Args: never;
|
|
52228
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52229
|
+
};
|
|
52230
|
+
logistics_slip_is_floriday: {
|
|
52231
|
+
Args: {
|
|
52232
|
+
_slip_job_id: string;
|
|
52233
|
+
};
|
|
52234
|
+
Returns: boolean;
|
|
52235
|
+
};
|
|
52236
|
+
logistics_slip_note_claim: {
|
|
52237
|
+
Args: {
|
|
52238
|
+
_lease_seconds?: number;
|
|
52239
|
+
_limit?: number;
|
|
52240
|
+
};
|
|
52241
|
+
Returns: {
|
|
52242
|
+
attempts: number;
|
|
52243
|
+
batch_key: string | null;
|
|
52244
|
+
cart_id: string | null;
|
|
52245
|
+
created_at: string;
|
|
52246
|
+
error: string | null;
|
|
52247
|
+
error_code: string | null;
|
|
52248
|
+
fulfillment_order_id: string | null;
|
|
52249
|
+
id: string;
|
|
52250
|
+
locked_until: string | null;
|
|
52251
|
+
next_attempt_at: string | null;
|
|
52252
|
+
order_id: string | null;
|
|
52253
|
+
order_number: string | null;
|
|
52254
|
+
print_job_id: string | null;
|
|
52255
|
+
printer_id: string | null;
|
|
52256
|
+
retry_class: string | null;
|
|
52257
|
+
slip_job_id: string;
|
|
52258
|
+
status: string;
|
|
52259
|
+
updated_at: string;
|
|
52260
|
+
}[];
|
|
52261
|
+
SetofOptions: {
|
|
52262
|
+
from: "*";
|
|
52263
|
+
to: "logistics_slip_shipping_note";
|
|
52264
|
+
isOneToOne: false;
|
|
52265
|
+
isSetofReturn: true;
|
|
52266
|
+
};
|
|
52267
|
+
};
|
|
52268
|
+
logistics_slip_note_finish: {
|
|
52269
|
+
Args: {
|
|
52270
|
+
_error?: string;
|
|
52271
|
+
_error_code?: string;
|
|
52272
|
+
_fulfillment_order_id?: string;
|
|
52273
|
+
_id: string;
|
|
52274
|
+
_ok: boolean;
|
|
52275
|
+
_print_job_id?: string;
|
|
52276
|
+
_status?: string;
|
|
52277
|
+
};
|
|
52278
|
+
Returns: undefined;
|
|
52279
|
+
};
|
|
52280
|
+
logistics_slip_note_keep_waiting: {
|
|
52281
|
+
Args: {
|
|
52282
|
+
_class?: string;
|
|
52283
|
+
_id: string;
|
|
52284
|
+
_reason: string;
|
|
52285
|
+
};
|
|
52286
|
+
Returns: undefined;
|
|
52287
|
+
};
|
|
50393
52288
|
logistics_sticker_follows_slip: {
|
|
50394
52289
|
Args: never;
|
|
50395
52290
|
Returns: boolean;
|
|
50396
52291
|
};
|
|
52292
|
+
logistics_subtract_working_minutes: {
|
|
52293
|
+
Args: {
|
|
52294
|
+
p_deadline: string;
|
|
52295
|
+
p_max_workdays?: number;
|
|
52296
|
+
p_minutes: number;
|
|
52297
|
+
};
|
|
52298
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52299
|
+
};
|
|
50397
52300
|
logistics_supersede_stale_tasks: {
|
|
50398
52301
|
Args: {
|
|
50399
52302
|
p_keep: string[];
|
|
@@ -50430,6 +52333,46 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50430
52333
|
Args: never;
|
|
50431
52334
|
Returns: string;
|
|
50432
52335
|
};
|
|
52336
|
+
logistics_timezone_options: {
|
|
52337
|
+
Args: never;
|
|
52338
|
+
Returns: {
|
|
52339
|
+
name: string;
|
|
52340
|
+
}[];
|
|
52341
|
+
};
|
|
52342
|
+
logistics_trace: {
|
|
52343
|
+
Args: {
|
|
52344
|
+
p: import("../integrations/supabase/types").Json;
|
|
52345
|
+
};
|
|
52346
|
+
Returns: string;
|
|
52347
|
+
};
|
|
52348
|
+
logistics_trace_batch: {
|
|
52349
|
+
Args: {
|
|
52350
|
+
p: import("../integrations/supabase/types").Json;
|
|
52351
|
+
};
|
|
52352
|
+
Returns: number;
|
|
52353
|
+
};
|
|
52354
|
+
logistics_trace_orders: {
|
|
52355
|
+
Args: {
|
|
52356
|
+
p_limit?: number;
|
|
52357
|
+
p_search?: string;
|
|
52358
|
+
p_since?: string;
|
|
52359
|
+
p_status?: string;
|
|
52360
|
+
};
|
|
52361
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52362
|
+
};
|
|
52363
|
+
logistics_trace_redact: {
|
|
52364
|
+
Args: {
|
|
52365
|
+
p: import("../integrations/supabase/types").Json;
|
|
52366
|
+
};
|
|
52367
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52368
|
+
};
|
|
52369
|
+
logistics_trace_timeline: {
|
|
52370
|
+
Args: {
|
|
52371
|
+
p_limit?: number;
|
|
52372
|
+
p_order_ref: string;
|
|
52373
|
+
};
|
|
52374
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52375
|
+
};
|
|
50433
52376
|
logistics_upsert_task: {
|
|
50434
52377
|
Args: {
|
|
50435
52378
|
p_buffer_ref: string;
|
|
@@ -50449,6 +52392,16 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
50449
52392
|
};
|
|
50450
52393
|
Returns: string;
|
|
50451
52394
|
};
|
|
52395
|
+
logistics_valid_timezone: {
|
|
52396
|
+
Args: {
|
|
52397
|
+
_tz: string;
|
|
52398
|
+
};
|
|
52399
|
+
Returns: boolean;
|
|
52400
|
+
};
|
|
52401
|
+
logistics_working_hours_status: {
|
|
52402
|
+
Args: never;
|
|
52403
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52404
|
+
};
|
|
50452
52405
|
logistics_write_buffer_layer_positions: {
|
|
50453
52406
|
Args: {
|
|
50454
52407
|
p_buffer_id: string;
|
|
@@ -51461,6 +53414,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
51461
53414
|
};
|
|
51462
53415
|
Returns: undefined;
|
|
51463
53416
|
};
|
|
53417
|
+
prune_floriday_api_log: {
|
|
53418
|
+
Args: never;
|
|
53419
|
+
Returns: number;
|
|
53420
|
+
};
|
|
51464
53421
|
quote_create_from_source: {
|
|
51465
53422
|
Args: {
|
|
51466
53423
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -51894,6 +53851,13 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
51894
53851
|
};
|
|
51895
53852
|
Returns: number;
|
|
51896
53853
|
};
|
|
53854
|
+
schedule_floriday_catalog_prices_sync: {
|
|
53855
|
+
Args: {
|
|
53856
|
+
p_apikey: string;
|
|
53857
|
+
p_url: string;
|
|
53858
|
+
};
|
|
53859
|
+
Returns: number;
|
|
53860
|
+
};
|
|
51897
53861
|
schedule_floriday_clock_presales_sync: {
|
|
51898
53862
|
Args: {
|
|
51899
53863
|
p_apikey: string;
|
|
@@ -52194,6 +54158,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
52194
54158
|
};
|
|
52195
54159
|
Returns: undefined;
|
|
52196
54160
|
};
|
|
54161
|
+
sync_floriday_prices_into_price_groups: {
|
|
54162
|
+
Args: never;
|
|
54163
|
+
Returns: number;
|
|
54164
|
+
};
|
|
52197
54165
|
sync_layer_stock: {
|
|
52198
54166
|
Args: {
|
|
52199
54167
|
p_product_id: string;
|
|
@@ -52326,6 +54294,10 @@ export declare const enqueueTestStockPush: import("@tanstack/start-client-core")
|
|
|
52326
54294
|
Args: never;
|
|
52327
54295
|
Returns: string;
|
|
52328
54296
|
};
|
|
54297
|
+
voorraad_cleanup_old_rows: {
|
|
54298
|
+
Args: never;
|
|
54299
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54300
|
+
};
|
|
52329
54301
|
wake_print_queue: {
|
|
52330
54302
|
Args: {
|
|
52331
54303
|
_min_interval_ms?: number;
|