@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
|
@@ -2253,6 +2253,45 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2253
2253
|
};
|
|
2254
2254
|
Relationships: [];
|
|
2255
2255
|
};
|
|
2256
|
+
customer_product_stickers: {
|
|
2257
|
+
Row: {
|
|
2258
|
+
created_at: string;
|
|
2259
|
+
customer_key: string;
|
|
2260
|
+
file_name: string;
|
|
2261
|
+
file_path: string;
|
|
2262
|
+
file_size: number | null;
|
|
2263
|
+
id: string;
|
|
2264
|
+
mime_type: string | null;
|
|
2265
|
+
trade_item_key: string;
|
|
2266
|
+
updated_at: string;
|
|
2267
|
+
uploaded_by: string | null;
|
|
2268
|
+
};
|
|
2269
|
+
Insert: {
|
|
2270
|
+
created_at?: string;
|
|
2271
|
+
customer_key: string;
|
|
2272
|
+
file_name: string;
|
|
2273
|
+
file_path: string;
|
|
2274
|
+
file_size?: number | null;
|
|
2275
|
+
id?: string;
|
|
2276
|
+
mime_type?: string | null;
|
|
2277
|
+
trade_item_key: string;
|
|
2278
|
+
updated_at?: string;
|
|
2279
|
+
uploaded_by?: string | null;
|
|
2280
|
+
};
|
|
2281
|
+
Update: {
|
|
2282
|
+
created_at?: string;
|
|
2283
|
+
customer_key?: string;
|
|
2284
|
+
file_name?: string;
|
|
2285
|
+
file_path?: string;
|
|
2286
|
+
file_size?: number | null;
|
|
2287
|
+
id?: string;
|
|
2288
|
+
mime_type?: string | null;
|
|
2289
|
+
trade_item_key?: string;
|
|
2290
|
+
updated_at?: string;
|
|
2291
|
+
uploaded_by?: string | null;
|
|
2292
|
+
};
|
|
2293
|
+
Relationships: [];
|
|
2294
|
+
};
|
|
2256
2295
|
customer_selected_assortment: {
|
|
2257
2296
|
Row: {
|
|
2258
2297
|
article_number: string | null;
|
|
@@ -2301,6 +2340,30 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
2301
2340
|
referencedColumns: ["id"];
|
|
2302
2341
|
}];
|
|
2303
2342
|
};
|
|
2343
|
+
customer_sticker_settings: {
|
|
2344
|
+
Row: {
|
|
2345
|
+
created_at: string;
|
|
2346
|
+
customer_key: string;
|
|
2347
|
+
height_mm: number;
|
|
2348
|
+
updated_at: string;
|
|
2349
|
+
width_mm: number;
|
|
2350
|
+
};
|
|
2351
|
+
Insert: {
|
|
2352
|
+
created_at?: string;
|
|
2353
|
+
customer_key: string;
|
|
2354
|
+
height_mm?: number;
|
|
2355
|
+
updated_at?: string;
|
|
2356
|
+
width_mm?: number;
|
|
2357
|
+
};
|
|
2358
|
+
Update: {
|
|
2359
|
+
created_at?: string;
|
|
2360
|
+
customer_key?: string;
|
|
2361
|
+
height_mm?: number;
|
|
2362
|
+
updated_at?: string;
|
|
2363
|
+
width_mm?: number;
|
|
2364
|
+
};
|
|
2365
|
+
Relationships: [];
|
|
2366
|
+
};
|
|
2304
2367
|
customer_trade_settings: {
|
|
2305
2368
|
Row: {
|
|
2306
2369
|
category: string;
|
|
@@ -5631,6 +5694,102 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
5631
5694
|
referencedColumns: ["id"];
|
|
5632
5695
|
}];
|
|
5633
5696
|
};
|
|
5697
|
+
floriday_api_log: {
|
|
5698
|
+
Row: {
|
|
5699
|
+
action: string | null;
|
|
5700
|
+
caller: string | null;
|
|
5701
|
+
connection_id: string | null;
|
|
5702
|
+
created_at: string;
|
|
5703
|
+
cursor_from: number | null;
|
|
5704
|
+
direction: string;
|
|
5705
|
+
duration_ms: number | null;
|
|
5706
|
+
environment: string | null;
|
|
5707
|
+
error: string | null;
|
|
5708
|
+
floriday_id: string | null;
|
|
5709
|
+
floriday_reference: string | null;
|
|
5710
|
+
http_status: number;
|
|
5711
|
+
id: string;
|
|
5712
|
+
item_count: number | null;
|
|
5713
|
+
kind: string | null;
|
|
5714
|
+
local_id: string | null;
|
|
5715
|
+
local_reference: string | null;
|
|
5716
|
+
method: string;
|
|
5717
|
+
module: string | null;
|
|
5718
|
+
ok: boolean;
|
|
5719
|
+
path: string;
|
|
5720
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5721
|
+
resource_type: string | null;
|
|
5722
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5723
|
+
write_log_id: string | null;
|
|
5724
|
+
};
|
|
5725
|
+
Insert: {
|
|
5726
|
+
action?: string | null;
|
|
5727
|
+
caller?: string | null;
|
|
5728
|
+
connection_id?: string | null;
|
|
5729
|
+
created_at?: string;
|
|
5730
|
+
cursor_from?: number | null;
|
|
5731
|
+
direction: string;
|
|
5732
|
+
duration_ms?: number | null;
|
|
5733
|
+
environment?: string | null;
|
|
5734
|
+
error?: string | null;
|
|
5735
|
+
floriday_id?: string | null;
|
|
5736
|
+
floriday_reference?: string | null;
|
|
5737
|
+
http_status?: number;
|
|
5738
|
+
id?: string;
|
|
5739
|
+
item_count?: number | null;
|
|
5740
|
+
kind?: string | null;
|
|
5741
|
+
local_id?: string | null;
|
|
5742
|
+
local_reference?: string | null;
|
|
5743
|
+
method: string;
|
|
5744
|
+
module?: string | null;
|
|
5745
|
+
ok?: boolean;
|
|
5746
|
+
path: string;
|
|
5747
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5748
|
+
resource_type?: string | null;
|
|
5749
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5750
|
+
write_log_id?: string | null;
|
|
5751
|
+
};
|
|
5752
|
+
Update: {
|
|
5753
|
+
action?: string | null;
|
|
5754
|
+
caller?: string | null;
|
|
5755
|
+
connection_id?: string | null;
|
|
5756
|
+
created_at?: string;
|
|
5757
|
+
cursor_from?: number | null;
|
|
5758
|
+
direction?: string;
|
|
5759
|
+
duration_ms?: number | null;
|
|
5760
|
+
environment?: string | null;
|
|
5761
|
+
error?: string | null;
|
|
5762
|
+
floriday_id?: string | null;
|
|
5763
|
+
floriday_reference?: string | null;
|
|
5764
|
+
http_status?: number;
|
|
5765
|
+
id?: string;
|
|
5766
|
+
item_count?: number | null;
|
|
5767
|
+
kind?: string | null;
|
|
5768
|
+
local_id?: string | null;
|
|
5769
|
+
local_reference?: string | null;
|
|
5770
|
+
method?: string;
|
|
5771
|
+
module?: string | null;
|
|
5772
|
+
ok?: boolean;
|
|
5773
|
+
path?: string;
|
|
5774
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5775
|
+
resource_type?: string | null;
|
|
5776
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5777
|
+
write_log_id?: string | null;
|
|
5778
|
+
};
|
|
5779
|
+
Relationships: [{
|
|
5780
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5781
|
+
columns: ["connection_id"];
|
|
5782
|
+
isOneToOne: false;
|
|
5783
|
+
referencedRelation: "floriday_connections";
|
|
5784
|
+
referencedColumns: ["id"];
|
|
5785
|
+
}, {
|
|
5786
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5787
|
+
columns: ["write_log_id"];
|
|
5788
|
+
isOneToOne: false;
|
|
5789
|
+
referencedRelation: "floriday_write_log";
|
|
5790
|
+
referencedColumns: ["id"];
|
|
5791
|
+
}];
|
|
5792
|
+
};
|
|
5634
5793
|
floriday_auction_letters_cache: {
|
|
5635
5794
|
Row: {
|
|
5636
5795
|
auction_letter_code: string;
|
|
@@ -5838,6 +5997,84 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
5838
5997
|
referencedColumns: ["id"];
|
|
5839
5998
|
}];
|
|
5840
5999
|
};
|
|
6000
|
+
floriday_catalog_prices_cache: {
|
|
6001
|
+
Row: {
|
|
6002
|
+
connection_id: string;
|
|
6003
|
+
created_at: string;
|
|
6004
|
+
currency: string;
|
|
6005
|
+
id: string;
|
|
6006
|
+
is_deleted: boolean;
|
|
6007
|
+
price: number | null;
|
|
6008
|
+
price_group_id: string | null;
|
|
6009
|
+
price_group_name: string | null;
|
|
6010
|
+
price_type: string;
|
|
6011
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6012
|
+
sales_unit: string | null;
|
|
6013
|
+
sequence_number: number;
|
|
6014
|
+
supplier_article_code: string | null;
|
|
6015
|
+
supply_line_id: string;
|
|
6016
|
+
synced_at: string;
|
|
6017
|
+
trade_item_id: string | null;
|
|
6018
|
+
updated_at: string;
|
|
6019
|
+
valid_from: string | null;
|
|
6020
|
+
valid_to: string | null;
|
|
6021
|
+
week: number | null;
|
|
6022
|
+
year: number | null;
|
|
6023
|
+
};
|
|
6024
|
+
Insert: {
|
|
6025
|
+
connection_id: string;
|
|
6026
|
+
created_at?: string;
|
|
6027
|
+
currency?: string;
|
|
6028
|
+
id?: string;
|
|
6029
|
+
is_deleted?: boolean;
|
|
6030
|
+
price?: number | null;
|
|
6031
|
+
price_group_id?: string | null;
|
|
6032
|
+
price_group_name?: string | null;
|
|
6033
|
+
price_type?: string;
|
|
6034
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6035
|
+
sales_unit?: string | null;
|
|
6036
|
+
sequence_number?: number;
|
|
6037
|
+
supplier_article_code?: string | null;
|
|
6038
|
+
supply_line_id: string;
|
|
6039
|
+
synced_at?: string;
|
|
6040
|
+
trade_item_id?: string | null;
|
|
6041
|
+
updated_at?: string;
|
|
6042
|
+
valid_from?: string | null;
|
|
6043
|
+
valid_to?: string | null;
|
|
6044
|
+
week?: number | null;
|
|
6045
|
+
year?: number | null;
|
|
6046
|
+
};
|
|
6047
|
+
Update: {
|
|
6048
|
+
connection_id?: string;
|
|
6049
|
+
created_at?: string;
|
|
6050
|
+
currency?: string;
|
|
6051
|
+
id?: string;
|
|
6052
|
+
is_deleted?: boolean;
|
|
6053
|
+
price?: number | null;
|
|
6054
|
+
price_group_id?: string | null;
|
|
6055
|
+
price_group_name?: string | null;
|
|
6056
|
+
price_type?: string;
|
|
6057
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6058
|
+
sales_unit?: string | null;
|
|
6059
|
+
sequence_number?: number;
|
|
6060
|
+
supplier_article_code?: string | null;
|
|
6061
|
+
supply_line_id?: string;
|
|
6062
|
+
synced_at?: string;
|
|
6063
|
+
trade_item_id?: string | null;
|
|
6064
|
+
updated_at?: string;
|
|
6065
|
+
valid_from?: string | null;
|
|
6066
|
+
valid_to?: string | null;
|
|
6067
|
+
week?: number | null;
|
|
6068
|
+
year?: number | null;
|
|
6069
|
+
};
|
|
6070
|
+
Relationships: [{
|
|
6071
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6072
|
+
columns: ["connection_id"];
|
|
6073
|
+
isOneToOne: false;
|
|
6074
|
+
referencedRelation: "floriday_connections";
|
|
6075
|
+
referencedColumns: ["id"];
|
|
6076
|
+
}];
|
|
6077
|
+
};
|
|
5841
6078
|
floriday_clock_presales_cache: {
|
|
5842
6079
|
Row: {
|
|
5843
6080
|
buyer_organization_id: string | null;
|
|
@@ -6753,6 +6990,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
6753
6990
|
referencedColumns: ["id"];
|
|
6754
6991
|
}];
|
|
6755
6992
|
};
|
|
6993
|
+
floriday_link_templates: {
|
|
6994
|
+
Row: {
|
|
6995
|
+
created_at: string;
|
|
6996
|
+
floriday_url_template: string | null;
|
|
6997
|
+
is_active: boolean;
|
|
6998
|
+
label: string;
|
|
6999
|
+
local_url_template: string | null;
|
|
7000
|
+
resource_type: string;
|
|
7001
|
+
updated_at: string;
|
|
7002
|
+
};
|
|
7003
|
+
Insert: {
|
|
7004
|
+
created_at?: string;
|
|
7005
|
+
floriday_url_template?: string | null;
|
|
7006
|
+
is_active?: boolean;
|
|
7007
|
+
label: string;
|
|
7008
|
+
local_url_template?: string | null;
|
|
7009
|
+
resource_type: string;
|
|
7010
|
+
updated_at?: string;
|
|
7011
|
+
};
|
|
7012
|
+
Update: {
|
|
7013
|
+
created_at?: string;
|
|
7014
|
+
floriday_url_template?: string | null;
|
|
7015
|
+
is_active?: boolean;
|
|
7016
|
+
label?: string;
|
|
7017
|
+
local_url_template?: string | null;
|
|
7018
|
+
resource_type?: string;
|
|
7019
|
+
updated_at?: string;
|
|
7020
|
+
};
|
|
7021
|
+
Relationships: [];
|
|
7022
|
+
};
|
|
7023
|
+
floriday_log_retention: {
|
|
7024
|
+
Row: {
|
|
7025
|
+
created_at: string;
|
|
7026
|
+
direction: string | null;
|
|
7027
|
+
id: string;
|
|
7028
|
+
keep_failed_days: number | null;
|
|
7029
|
+
keep_ok_days: number | null;
|
|
7030
|
+
note: string | null;
|
|
7031
|
+
resource_type: string | null;
|
|
7032
|
+
updated_at: string;
|
|
7033
|
+
};
|
|
7034
|
+
Insert: {
|
|
7035
|
+
created_at?: string;
|
|
7036
|
+
direction?: string | null;
|
|
7037
|
+
id?: string;
|
|
7038
|
+
keep_failed_days?: number | null;
|
|
7039
|
+
keep_ok_days?: number | null;
|
|
7040
|
+
note?: string | null;
|
|
7041
|
+
resource_type?: string | null;
|
|
7042
|
+
updated_at?: string;
|
|
7043
|
+
};
|
|
7044
|
+
Update: {
|
|
7045
|
+
created_at?: string;
|
|
7046
|
+
direction?: string | null;
|
|
7047
|
+
id?: string;
|
|
7048
|
+
keep_failed_days?: number | null;
|
|
7049
|
+
keep_ok_days?: number | null;
|
|
7050
|
+
note?: string | null;
|
|
7051
|
+
resource_type?: string | null;
|
|
7052
|
+
updated_at?: string;
|
|
7053
|
+
};
|
|
7054
|
+
Relationships: [];
|
|
7055
|
+
};
|
|
6756
7056
|
floriday_logistic_labels_cache: {
|
|
6757
7057
|
Row: {
|
|
6758
7058
|
byte_size: number | null;
|
|
@@ -10106,22 +10406,31 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10106
10406
|
};
|
|
10107
10407
|
logistics_floriday_push_refusals: {
|
|
10108
10408
|
Row: {
|
|
10409
|
+
action: string | null;
|
|
10109
10410
|
created_at: string;
|
|
10110
10411
|
id: string;
|
|
10111
10412
|
order_ref: string;
|
|
10112
10413
|
reason: string;
|
|
10414
|
+
source_module: string | null;
|
|
10415
|
+
source_shell: string | null;
|
|
10113
10416
|
};
|
|
10114
10417
|
Insert: {
|
|
10418
|
+
action?: string | null;
|
|
10115
10419
|
created_at?: string;
|
|
10116
10420
|
id?: string;
|
|
10117
10421
|
order_ref: string;
|
|
10118
10422
|
reason: string;
|
|
10423
|
+
source_module?: string | null;
|
|
10424
|
+
source_shell?: string | null;
|
|
10119
10425
|
};
|
|
10120
10426
|
Update: {
|
|
10427
|
+
action?: string | null;
|
|
10121
10428
|
created_at?: string;
|
|
10122
10429
|
id?: string;
|
|
10123
10430
|
order_ref?: string;
|
|
10124
10431
|
reason?: string;
|
|
10432
|
+
source_module?: string | null;
|
|
10433
|
+
source_shell?: string | null;
|
|
10125
10434
|
};
|
|
10126
10435
|
Relationships: [];
|
|
10127
10436
|
};
|
|
@@ -10200,6 +10509,42 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10200
10509
|
};
|
|
10201
10510
|
Relationships: [];
|
|
10202
10511
|
};
|
|
10512
|
+
logistics_floriday_status_sends: {
|
|
10513
|
+
Row: {
|
|
10514
|
+
action: string;
|
|
10515
|
+
created_at: string;
|
|
10516
|
+
detail: string | null;
|
|
10517
|
+
http_status: number | null;
|
|
10518
|
+
id: string;
|
|
10519
|
+
ok: boolean;
|
|
10520
|
+
order_ref: string;
|
|
10521
|
+
source_module: string | null;
|
|
10522
|
+
source_shell: string | null;
|
|
10523
|
+
};
|
|
10524
|
+
Insert: {
|
|
10525
|
+
action: string;
|
|
10526
|
+
created_at?: string;
|
|
10527
|
+
detail?: string | null;
|
|
10528
|
+
http_status?: number | null;
|
|
10529
|
+
id?: string;
|
|
10530
|
+
ok?: boolean;
|
|
10531
|
+
order_ref: string;
|
|
10532
|
+
source_module?: string | null;
|
|
10533
|
+
source_shell?: string | null;
|
|
10534
|
+
};
|
|
10535
|
+
Update: {
|
|
10536
|
+
action?: string;
|
|
10537
|
+
created_at?: string;
|
|
10538
|
+
detail?: string | null;
|
|
10539
|
+
http_status?: number | null;
|
|
10540
|
+
id?: string;
|
|
10541
|
+
ok?: boolean;
|
|
10542
|
+
order_ref?: string;
|
|
10543
|
+
source_module?: string | null;
|
|
10544
|
+
source_shell?: string | null;
|
|
10545
|
+
};
|
|
10546
|
+
Relationships: [];
|
|
10547
|
+
};
|
|
10203
10548
|
logistics_formulas: {
|
|
10204
10549
|
Row: {
|
|
10205
10550
|
created_at: string;
|
|
@@ -10272,28 +10617,130 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10272
10617
|
};
|
|
10273
10618
|
Relationships: [];
|
|
10274
10619
|
};
|
|
10275
|
-
|
|
10620
|
+
logistics_opening_exceptions: {
|
|
10276
10621
|
Row: {
|
|
10277
|
-
|
|
10622
|
+
closes: string | null;
|
|
10278
10623
|
created_at: string;
|
|
10624
|
+
day: string;
|
|
10279
10625
|
id: string;
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
sequence: number;
|
|
10284
|
-
updated_at: string;
|
|
10285
|
-
user_id: string;
|
|
10626
|
+
is_closed: boolean;
|
|
10627
|
+
note: string | null;
|
|
10628
|
+
opens: string | null;
|
|
10286
10629
|
};
|
|
10287
10630
|
Insert: {
|
|
10288
|
-
|
|
10631
|
+
closes?: string | null;
|
|
10289
10632
|
created_at?: string;
|
|
10633
|
+
day: string;
|
|
10290
10634
|
id?: string;
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10635
|
+
is_closed?: boolean;
|
|
10636
|
+
note?: string | null;
|
|
10637
|
+
opens?: string | null;
|
|
10638
|
+
};
|
|
10639
|
+
Update: {
|
|
10640
|
+
closes?: string | null;
|
|
10641
|
+
created_at?: string;
|
|
10642
|
+
day?: string;
|
|
10643
|
+
id?: string;
|
|
10644
|
+
is_closed?: boolean;
|
|
10645
|
+
note?: string | null;
|
|
10646
|
+
opens?: string | null;
|
|
10647
|
+
};
|
|
10648
|
+
Relationships: [];
|
|
10649
|
+
};
|
|
10650
|
+
logistics_opening_hours: {
|
|
10651
|
+
Row: {
|
|
10652
|
+
closes: string;
|
|
10653
|
+
created_at: string;
|
|
10654
|
+
id: string;
|
|
10655
|
+
is_active: boolean;
|
|
10656
|
+
note: string | null;
|
|
10657
|
+
opens: string;
|
|
10658
|
+
weekday: number;
|
|
10659
|
+
};
|
|
10660
|
+
Insert: {
|
|
10661
|
+
closes: string;
|
|
10662
|
+
created_at?: string;
|
|
10663
|
+
id?: string;
|
|
10664
|
+
is_active?: boolean;
|
|
10665
|
+
note?: string | null;
|
|
10666
|
+
opens: string;
|
|
10667
|
+
weekday: number;
|
|
10668
|
+
};
|
|
10669
|
+
Update: {
|
|
10670
|
+
closes?: string;
|
|
10671
|
+
created_at?: string;
|
|
10672
|
+
id?: string;
|
|
10673
|
+
is_active?: boolean;
|
|
10674
|
+
note?: string | null;
|
|
10675
|
+
opens?: string;
|
|
10676
|
+
weekday?: number;
|
|
10677
|
+
};
|
|
10678
|
+
Relationships: [];
|
|
10679
|
+
};
|
|
10680
|
+
logistics_pick_data_requests: {
|
|
10681
|
+
Row: {
|
|
10682
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10683
|
+
created_at: string;
|
|
10684
|
+
event_id: string | null;
|
|
10685
|
+
finished_at: string | null;
|
|
10686
|
+
id: string;
|
|
10687
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10688
|
+
order_ref: string;
|
|
10689
|
+
reason: string | null;
|
|
10690
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10691
|
+
status: string;
|
|
10692
|
+
unit_ref: string | null;
|
|
10693
|
+
};
|
|
10694
|
+
Insert: {
|
|
10695
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10696
|
+
created_at?: string;
|
|
10697
|
+
event_id?: string | null;
|
|
10698
|
+
finished_at?: string | null;
|
|
10699
|
+
id?: string;
|
|
10700
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10701
|
+
order_ref: string;
|
|
10702
|
+
reason?: string | null;
|
|
10703
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10704
|
+
status?: string;
|
|
10705
|
+
unit_ref?: string | null;
|
|
10706
|
+
};
|
|
10707
|
+
Update: {
|
|
10708
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10709
|
+
created_at?: string;
|
|
10710
|
+
event_id?: string | null;
|
|
10711
|
+
finished_at?: string | null;
|
|
10712
|
+
id?: string;
|
|
10713
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10714
|
+
order_ref?: string;
|
|
10715
|
+
reason?: string | null;
|
|
10716
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10717
|
+
status?: string;
|
|
10718
|
+
unit_ref?: string | null;
|
|
10719
|
+
};
|
|
10720
|
+
Relationships: [];
|
|
10721
|
+
};
|
|
10722
|
+
logistics_pickup_moments: {
|
|
10723
|
+
Row: {
|
|
10724
|
+
carrier_ref: string | null;
|
|
10725
|
+
created_at: string;
|
|
10726
|
+
id: string;
|
|
10727
|
+
label: string | null;
|
|
10728
|
+
moment_date: string;
|
|
10729
|
+
pickup_time: string;
|
|
10730
|
+
sequence: number;
|
|
10731
|
+
updated_at: string;
|
|
10732
|
+
user_id: string;
|
|
10733
|
+
};
|
|
10734
|
+
Insert: {
|
|
10735
|
+
carrier_ref?: string | null;
|
|
10736
|
+
created_at?: string;
|
|
10737
|
+
id?: string;
|
|
10738
|
+
label?: string | null;
|
|
10739
|
+
moment_date: string;
|
|
10740
|
+
pickup_time: string;
|
|
10741
|
+
sequence?: number;
|
|
10742
|
+
updated_at?: string;
|
|
10743
|
+
user_id?: string;
|
|
10297
10744
|
};
|
|
10298
10745
|
Update: {
|
|
10299
10746
|
carrier_ref?: string | null;
|
|
@@ -10731,6 +11178,69 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
10731
11178
|
};
|
|
10732
11179
|
Relationships: [];
|
|
10733
11180
|
};
|
|
11181
|
+
logistics_slip_shipping_note: {
|
|
11182
|
+
Row: {
|
|
11183
|
+
attempts: number;
|
|
11184
|
+
batch_key: string | null;
|
|
11185
|
+
cart_id: string | null;
|
|
11186
|
+
created_at: string;
|
|
11187
|
+
error: string | null;
|
|
11188
|
+
error_code: string | null;
|
|
11189
|
+
fulfillment_order_id: string | null;
|
|
11190
|
+
id: string;
|
|
11191
|
+
locked_until: string | null;
|
|
11192
|
+
next_attempt_at: string | null;
|
|
11193
|
+
order_id: string | null;
|
|
11194
|
+
order_number: string | null;
|
|
11195
|
+
print_job_id: string | null;
|
|
11196
|
+
printer_id: string | null;
|
|
11197
|
+
retry_class: string | null;
|
|
11198
|
+
slip_job_id: string;
|
|
11199
|
+
status: string;
|
|
11200
|
+
updated_at: string;
|
|
11201
|
+
};
|
|
11202
|
+
Insert: {
|
|
11203
|
+
attempts?: number;
|
|
11204
|
+
batch_key?: string | null;
|
|
11205
|
+
cart_id?: string | null;
|
|
11206
|
+
created_at?: string;
|
|
11207
|
+
error?: string | null;
|
|
11208
|
+
error_code?: string | null;
|
|
11209
|
+
fulfillment_order_id?: string | null;
|
|
11210
|
+
id?: string;
|
|
11211
|
+
locked_until?: string | null;
|
|
11212
|
+
next_attempt_at?: string | null;
|
|
11213
|
+
order_id?: string | null;
|
|
11214
|
+
order_number?: string | null;
|
|
11215
|
+
print_job_id?: string | null;
|
|
11216
|
+
printer_id?: string | null;
|
|
11217
|
+
retry_class?: string | null;
|
|
11218
|
+
slip_job_id: string;
|
|
11219
|
+
status?: string;
|
|
11220
|
+
updated_at?: string;
|
|
11221
|
+
};
|
|
11222
|
+
Update: {
|
|
11223
|
+
attempts?: number;
|
|
11224
|
+
batch_key?: string | null;
|
|
11225
|
+
cart_id?: string | null;
|
|
11226
|
+
created_at?: string;
|
|
11227
|
+
error?: string | null;
|
|
11228
|
+
error_code?: string | null;
|
|
11229
|
+
fulfillment_order_id?: string | null;
|
|
11230
|
+
id?: string;
|
|
11231
|
+
locked_until?: string | null;
|
|
11232
|
+
next_attempt_at?: string | null;
|
|
11233
|
+
order_id?: string | null;
|
|
11234
|
+
order_number?: string | null;
|
|
11235
|
+
print_job_id?: string | null;
|
|
11236
|
+
printer_id?: string | null;
|
|
11237
|
+
retry_class?: string | null;
|
|
11238
|
+
slip_job_id?: string;
|
|
11239
|
+
status?: string;
|
|
11240
|
+
updated_at?: string;
|
|
11241
|
+
};
|
|
11242
|
+
Relationships: [];
|
|
11243
|
+
};
|
|
10734
11244
|
logistics_staff_planning: {
|
|
10735
11245
|
Row: {
|
|
10736
11246
|
created_at: string;
|
|
@@ -11064,6 +11574,129 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
11064
11574
|
};
|
|
11065
11575
|
Relationships: [];
|
|
11066
11576
|
};
|
|
11577
|
+
logistics_time_settings: {
|
|
11578
|
+
Row: {
|
|
11579
|
+
id: boolean;
|
|
11580
|
+
timezone: string;
|
|
11581
|
+
updated_at: string;
|
|
11582
|
+
};
|
|
11583
|
+
Insert: {
|
|
11584
|
+
id?: boolean;
|
|
11585
|
+
timezone: string;
|
|
11586
|
+
updated_at?: string;
|
|
11587
|
+
};
|
|
11588
|
+
Update: {
|
|
11589
|
+
id?: boolean;
|
|
11590
|
+
timezone?: string;
|
|
11591
|
+
updated_at?: string;
|
|
11592
|
+
};
|
|
11593
|
+
Relationships: [];
|
|
11594
|
+
};
|
|
11595
|
+
logistics_trace_events: {
|
|
11596
|
+
Row: {
|
|
11597
|
+
actor: string | null;
|
|
11598
|
+
attempts: number;
|
|
11599
|
+
cart_ref: string | null;
|
|
11600
|
+
created_at: string;
|
|
11601
|
+
db_action: string | null;
|
|
11602
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11603
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11604
|
+
db_record: string | null;
|
|
11605
|
+
db_table: string | null;
|
|
11606
|
+
decision: string | null;
|
|
11607
|
+
duration_ms: number | null;
|
|
11608
|
+
error: string | null;
|
|
11609
|
+
external_action: string | null;
|
|
11610
|
+
external_ref: string | null;
|
|
11611
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11612
|
+
external_status: string | null;
|
|
11613
|
+
external_system: string | null;
|
|
11614
|
+
id: string;
|
|
11615
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11616
|
+
next_attempt_at: string | null;
|
|
11617
|
+
order_ref: string | null;
|
|
11618
|
+
order_source: string | null;
|
|
11619
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11620
|
+
phase: string;
|
|
11621
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11622
|
+
reason: string | null;
|
|
11623
|
+
rule: string | null;
|
|
11624
|
+
slip_ref: string | null;
|
|
11625
|
+
status: string;
|
|
11626
|
+
step: string;
|
|
11627
|
+
trace_id: string;
|
|
11628
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11629
|
+
};
|
|
11630
|
+
Insert: {
|
|
11631
|
+
actor?: string | null;
|
|
11632
|
+
attempts?: number;
|
|
11633
|
+
cart_ref?: string | null;
|
|
11634
|
+
created_at?: string;
|
|
11635
|
+
db_action?: string | null;
|
|
11636
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11637
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11638
|
+
db_record?: string | null;
|
|
11639
|
+
db_table?: string | null;
|
|
11640
|
+
decision?: string | null;
|
|
11641
|
+
duration_ms?: number | null;
|
|
11642
|
+
error?: string | null;
|
|
11643
|
+
external_action?: string | null;
|
|
11644
|
+
external_ref?: string | null;
|
|
11645
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11646
|
+
external_status?: string | null;
|
|
11647
|
+
external_system?: string | null;
|
|
11648
|
+
id?: string;
|
|
11649
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11650
|
+
next_attempt_at?: string | null;
|
|
11651
|
+
order_ref?: string | null;
|
|
11652
|
+
order_source?: string | null;
|
|
11653
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11654
|
+
phase: string;
|
|
11655
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11656
|
+
reason?: string | null;
|
|
11657
|
+
rule?: string | null;
|
|
11658
|
+
slip_ref?: string | null;
|
|
11659
|
+
status: string;
|
|
11660
|
+
step: string;
|
|
11661
|
+
trace_id?: string;
|
|
11662
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11663
|
+
};
|
|
11664
|
+
Update: {
|
|
11665
|
+
actor?: string | null;
|
|
11666
|
+
attempts?: number;
|
|
11667
|
+
cart_ref?: string | null;
|
|
11668
|
+
created_at?: string;
|
|
11669
|
+
db_action?: string | null;
|
|
11670
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11671
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11672
|
+
db_record?: string | null;
|
|
11673
|
+
db_table?: string | null;
|
|
11674
|
+
decision?: string | null;
|
|
11675
|
+
duration_ms?: number | null;
|
|
11676
|
+
error?: string | null;
|
|
11677
|
+
external_action?: string | null;
|
|
11678
|
+
external_ref?: string | null;
|
|
11679
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11680
|
+
external_status?: string | null;
|
|
11681
|
+
external_system?: string | null;
|
|
11682
|
+
id?: string;
|
|
11683
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11684
|
+
next_attempt_at?: string | null;
|
|
11685
|
+
order_ref?: string | null;
|
|
11686
|
+
order_source?: string | null;
|
|
11687
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11688
|
+
phase?: string;
|
|
11689
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11690
|
+
reason?: string | null;
|
|
11691
|
+
rule?: string | null;
|
|
11692
|
+
slip_ref?: string | null;
|
|
11693
|
+
status?: string;
|
|
11694
|
+
step?: string;
|
|
11695
|
+
trace_id?: string;
|
|
11696
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11697
|
+
};
|
|
11698
|
+
Relationships: [];
|
|
11699
|
+
};
|
|
11067
11700
|
logistics_variables: {
|
|
11068
11701
|
Row: {
|
|
11069
11702
|
created_at: string;
|
|
@@ -13454,6 +14087,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13454
14087
|
customer_name: string;
|
|
13455
14088
|
deleted_at: string | null;
|
|
13456
14089
|
delivery_date: string | null;
|
|
14090
|
+
floriday_order_group_key: string | null;
|
|
13457
14091
|
floriday_sales_order_id: string | null;
|
|
13458
14092
|
id: string;
|
|
13459
14093
|
invoice_due_at: string | null;
|
|
@@ -13481,6 +14115,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13481
14115
|
customer_name?: string;
|
|
13482
14116
|
deleted_at?: string | null;
|
|
13483
14117
|
delivery_date?: string | null;
|
|
14118
|
+
floriday_order_group_key?: string | null;
|
|
13484
14119
|
floriday_sales_order_id?: string | null;
|
|
13485
14120
|
id?: string;
|
|
13486
14121
|
invoice_due_at?: string | null;
|
|
@@ -13508,6 +14143,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
13508
14143
|
customer_name?: string;
|
|
13509
14144
|
deleted_at?: string | null;
|
|
13510
14145
|
delivery_date?: string | null;
|
|
14146
|
+
floriday_order_group_key?: string | null;
|
|
13511
14147
|
floriday_sales_order_id?: string | null;
|
|
13512
14148
|
id?: string;
|
|
13513
14149
|
invoice_due_at?: string | null;
|
|
@@ -21633,6 +22269,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
21633
22269
|
Args: never;
|
|
21634
22270
|
Returns: boolean;
|
|
21635
22271
|
};
|
|
22272
|
+
cancel_open_print_jobs: {
|
|
22273
|
+
Args: {
|
|
22274
|
+
_cutoff: string;
|
|
22275
|
+
};
|
|
22276
|
+
Returns: {
|
|
22277
|
+
extern_job_id: string;
|
|
22278
|
+
id: string;
|
|
22279
|
+
}[];
|
|
22280
|
+
};
|
|
21636
22281
|
check_offer_product_available_stock: {
|
|
21637
22282
|
Args: {
|
|
21638
22283
|
p_campaign_product_id: string;
|
|
@@ -23171,6 +23816,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23171
23816
|
};
|
|
23172
23817
|
Returns: string;
|
|
23173
23818
|
};
|
|
23819
|
+
logistics_cart_checkin_at: {
|
|
23820
|
+
Args: {
|
|
23821
|
+
p_cart_id: string;
|
|
23822
|
+
};
|
|
23823
|
+
Returns: string;
|
|
23824
|
+
};
|
|
23174
23825
|
logistics_cart_handled: {
|
|
23175
23826
|
Args: {
|
|
23176
23827
|
p_cart_index: number;
|
|
@@ -23204,10 +23855,22 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23204
23855
|
task_status: string;
|
|
23205
23856
|
}[];
|
|
23206
23857
|
};
|
|
23858
|
+
logistics_cart_is_full: {
|
|
23859
|
+
Args: {
|
|
23860
|
+
p_cart_id: string;
|
|
23861
|
+
};
|
|
23862
|
+
Returns: boolean;
|
|
23863
|
+
};
|
|
23207
23864
|
logistics_cart_layout_method: {
|
|
23208
23865
|
Args: never;
|
|
23209
23866
|
Returns: import("../integrations/supabase/types").Json;
|
|
23210
23867
|
};
|
|
23868
|
+
logistics_cart_order_refs: {
|
|
23869
|
+
Args: {
|
|
23870
|
+
p_cart_id: string;
|
|
23871
|
+
};
|
|
23872
|
+
Returns: string[];
|
|
23873
|
+
};
|
|
23211
23874
|
logistics_cart_plan_overview: {
|
|
23212
23875
|
Args: {
|
|
23213
23876
|
p_days?: number;
|
|
@@ -23227,6 +23890,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23227
23890
|
};
|
|
23228
23891
|
Returns: import("../integrations/supabase/types").Json;
|
|
23229
23892
|
};
|
|
23893
|
+
logistics_cart_plan_status_core: {
|
|
23894
|
+
Args: {
|
|
23895
|
+
p_ref: string;
|
|
23896
|
+
};
|
|
23897
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23898
|
+
};
|
|
23899
|
+
logistics_cart_release_reason: {
|
|
23900
|
+
Args: {
|
|
23901
|
+
p_cart_id: string;
|
|
23902
|
+
};
|
|
23903
|
+
Returns: string;
|
|
23904
|
+
};
|
|
23905
|
+
logistics_cart_released: {
|
|
23906
|
+
Args: {
|
|
23907
|
+
p_cart_id: string;
|
|
23908
|
+
};
|
|
23909
|
+
Returns: boolean;
|
|
23910
|
+
};
|
|
23230
23911
|
logistics_cart_seq: {
|
|
23231
23912
|
Args: {
|
|
23232
23913
|
p_order_uuid?: string;
|
|
@@ -23277,6 +23958,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23277
23958
|
unit_ref: string;
|
|
23278
23959
|
}[];
|
|
23279
23960
|
};
|
|
23961
|
+
logistics_carts_per_print: {
|
|
23962
|
+
Args: never;
|
|
23963
|
+
Returns: number;
|
|
23964
|
+
};
|
|
23280
23965
|
logistics_check_order_allowed: {
|
|
23281
23966
|
Args: {
|
|
23282
23967
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23380,6 +24065,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23380
24065
|
isSetofReturn: false;
|
|
23381
24066
|
};
|
|
23382
24067
|
};
|
|
24068
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
24069
|
+
Args: never;
|
|
24070
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24071
|
+
};
|
|
23383
24072
|
logistics_complete_task: {
|
|
23384
24073
|
Args: {
|
|
23385
24074
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23442,6 +24131,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23442
24131
|
station_carts: number;
|
|
23443
24132
|
}[];
|
|
23444
24133
|
};
|
|
24134
|
+
logistics_control_complete_cart: {
|
|
24135
|
+
Args: {
|
|
24136
|
+
p_cart_id: string;
|
|
24137
|
+
};
|
|
24138
|
+
Returns: number;
|
|
24139
|
+
};
|
|
23445
24140
|
logistics_control_scan_approve: {
|
|
23446
24141
|
Args: {
|
|
23447
24142
|
p_allow_reprint?: boolean;
|
|
@@ -23521,6 +24216,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23521
24216
|
Args: never;
|
|
23522
24217
|
Returns: import("../integrations/supabase/types").Json;
|
|
23523
24218
|
};
|
|
24219
|
+
logistics_day_windows: {
|
|
24220
|
+
Args: {
|
|
24221
|
+
p_day: string;
|
|
24222
|
+
};
|
|
24223
|
+
Returns: {
|
|
24224
|
+
win_end: string;
|
|
24225
|
+
win_start: string;
|
|
24226
|
+
}[];
|
|
24227
|
+
};
|
|
23524
24228
|
logistics_delay_customer_email: {
|
|
23525
24229
|
Args: {
|
|
23526
24230
|
p_customer: string;
|
|
@@ -23588,6 +24292,17 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23588
24292
|
};
|
|
23589
24293
|
Returns: import("../integrations/supabase/types").Json;
|
|
23590
24294
|
};
|
|
24295
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
24296
|
+
Args: {
|
|
24297
|
+
_cart_id: string;
|
|
24298
|
+
_is_herprint: boolean;
|
|
24299
|
+
_printer_id: string;
|
|
24300
|
+
_queue_item_id: string;
|
|
24301
|
+
_session_id: string;
|
|
24302
|
+
_slip_job_id: string;
|
|
24303
|
+
};
|
|
24304
|
+
Returns: string;
|
|
24305
|
+
};
|
|
23591
24306
|
logistics_enqueue_sticker_with_slip: {
|
|
23592
24307
|
Args: {
|
|
23593
24308
|
_cart_id: string;
|
|
@@ -23605,6 +24320,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23605
24320
|
};
|
|
23606
24321
|
Returns: string;
|
|
23607
24322
|
};
|
|
24323
|
+
logistics_ensure_pick_data: {
|
|
24324
|
+
Args: {
|
|
24325
|
+
p_event_id?: string;
|
|
24326
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
24327
|
+
p_ref: string;
|
|
24328
|
+
};
|
|
24329
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24330
|
+
};
|
|
24331
|
+
logistics_ensure_shipping_notes: {
|
|
24332
|
+
Args: {
|
|
24333
|
+
p_limit?: number;
|
|
24334
|
+
};
|
|
24335
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24336
|
+
};
|
|
23608
24337
|
logistics_fail_task: {
|
|
23609
24338
|
Args: {
|
|
23610
24339
|
p_error: string;
|
|
@@ -23650,6 +24379,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23650
24379
|
isSetofReturn: false;
|
|
23651
24380
|
};
|
|
23652
24381
|
};
|
|
24382
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24383
|
+
Args: never;
|
|
24384
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24385
|
+
};
|
|
23653
24386
|
logistics_floriday_cart_plan: {
|
|
23654
24387
|
Args: {
|
|
23655
24388
|
p_order_id: string;
|
|
@@ -23677,6 +24410,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23677
24410
|
revision: number;
|
|
23678
24411
|
}[];
|
|
23679
24412
|
};
|
|
24413
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24414
|
+
Args: never;
|
|
24415
|
+
Returns: boolean;
|
|
24416
|
+
};
|
|
23680
24417
|
logistics_floriday_finish_push: {
|
|
23681
24418
|
Args: {
|
|
23682
24419
|
_error?: string;
|
|
@@ -23726,6 +24463,32 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23726
24463
|
};
|
|
23727
24464
|
Returns: string;
|
|
23728
24465
|
};
|
|
24466
|
+
logistics_floriday_gate_status: {
|
|
24467
|
+
Args: never;
|
|
24468
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24469
|
+
};
|
|
24470
|
+
logistics_floriday_log_refusal: {
|
|
24471
|
+
Args: {
|
|
24472
|
+
_action?: string;
|
|
24473
|
+
_module?: string;
|
|
24474
|
+
_order_ref: string;
|
|
24475
|
+
_reason: string;
|
|
24476
|
+
_shell?: string;
|
|
24477
|
+
};
|
|
24478
|
+
Returns: undefined;
|
|
24479
|
+
};
|
|
24480
|
+
logistics_floriday_log_send: {
|
|
24481
|
+
Args: {
|
|
24482
|
+
_action: string;
|
|
24483
|
+
_detail?: string;
|
|
24484
|
+
_http_status?: number;
|
|
24485
|
+
_module?: string;
|
|
24486
|
+
_ok: boolean;
|
|
24487
|
+
_order_ref: string;
|
|
24488
|
+
_shell?: string;
|
|
24489
|
+
};
|
|
24490
|
+
Returns: undefined;
|
|
24491
|
+
};
|
|
23729
24492
|
logistics_floriday_order_approved: {
|
|
23730
24493
|
Args: {
|
|
23731
24494
|
_order_ref: string;
|
|
@@ -23750,6 +24513,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23750
24513
|
Args: never;
|
|
23751
24514
|
Returns: boolean;
|
|
23752
24515
|
};
|
|
24516
|
+
logistics_floriday_stock_updates_enabled: {
|
|
24517
|
+
Args: never;
|
|
24518
|
+
Returns: boolean;
|
|
24519
|
+
};
|
|
24520
|
+
logistics_floriday_write_allowed: {
|
|
24521
|
+
Args: {
|
|
24522
|
+
_action: string;
|
|
24523
|
+
};
|
|
24524
|
+
Returns: boolean;
|
|
24525
|
+
};
|
|
23753
24526
|
logistics_fulfill_barcode_requests: {
|
|
23754
24527
|
Args: {
|
|
23755
24528
|
p_limit?: number;
|
|
@@ -23792,6 +24565,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23792
24565
|
};
|
|
23793
24566
|
Returns: number;
|
|
23794
24567
|
};
|
|
24568
|
+
logistics_merge_partial_carts: {
|
|
24569
|
+
Args: {
|
|
24570
|
+
p_limit?: number;
|
|
24571
|
+
};
|
|
24572
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24573
|
+
};
|
|
23795
24574
|
logistics_next_workday_date: {
|
|
23796
24575
|
Args: {
|
|
23797
24576
|
p_date: string;
|
|
@@ -23818,6 +24597,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23818
24597
|
};
|
|
23819
24598
|
Returns: string;
|
|
23820
24599
|
};
|
|
24600
|
+
logistics_opening_timezone: {
|
|
24601
|
+
Args: never;
|
|
24602
|
+
Returns: string;
|
|
24603
|
+
};
|
|
23821
24604
|
logistics_order_cart_count: {
|
|
23822
24605
|
Args: {
|
|
23823
24606
|
p_order_ref: string;
|
|
@@ -23874,6 +24657,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23874
24657
|
};
|
|
23875
24658
|
Returns: string;
|
|
23876
24659
|
};
|
|
24660
|
+
logistics_payload_is_floriday: {
|
|
24661
|
+
Args: {
|
|
24662
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24663
|
+
};
|
|
24664
|
+
Returns: boolean;
|
|
24665
|
+
};
|
|
23877
24666
|
logistics_pick_agenda: {
|
|
23878
24667
|
Args: {
|
|
23879
24668
|
p_from?: string;
|
|
@@ -23902,6 +24691,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23902
24691
|
Args: never;
|
|
23903
24692
|
Returns: import("../integrations/supabase/types").Json;
|
|
23904
24693
|
};
|
|
24694
|
+
logistics_pick_partial_mode: {
|
|
24695
|
+
Args: never;
|
|
24696
|
+
Returns: string;
|
|
24697
|
+
};
|
|
23905
24698
|
logistics_pick_start_estimate: {
|
|
23906
24699
|
Args: {
|
|
23907
24700
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -23992,6 +24785,20 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
23992
24785
|
Args: never;
|
|
23993
24786
|
Returns: undefined;
|
|
23994
24787
|
};
|
|
24788
|
+
logistics_plan_progress: {
|
|
24789
|
+
Args: {
|
|
24790
|
+
p_refs: string[];
|
|
24791
|
+
};
|
|
24792
|
+
Returns: {
|
|
24793
|
+
cart_plan_ready: boolean;
|
|
24794
|
+
cart_plan_reason: string;
|
|
24795
|
+
cart_plan_released: boolean;
|
|
24796
|
+
plan_progress: number;
|
|
24797
|
+
plan_state: string;
|
|
24798
|
+
plan_state_since: string;
|
|
24799
|
+
unit_ref: string;
|
|
24800
|
+
}[];
|
|
24801
|
+
};
|
|
23995
24802
|
logistics_plan_prune: {
|
|
23996
24803
|
Args: never;
|
|
23997
24804
|
Returns: number;
|
|
@@ -24013,6 +24820,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
24013
24820
|
};
|
|
24014
24821
|
Returns: number;
|
|
24015
24822
|
};
|
|
24823
|
+
logistics_plan_state_for: {
|
|
24824
|
+
Args: {
|
|
24825
|
+
p_ref: string;
|
|
24826
|
+
};
|
|
24827
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24828
|
+
};
|
|
24829
|
+
logistics_prepare_pick_documents: {
|
|
24830
|
+
Args: {
|
|
24831
|
+
p_limit?: number;
|
|
24832
|
+
};
|
|
24833
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24834
|
+
};
|
|
24016
24835
|
logistics_prune_buffer_member_queue: {
|
|
24017
24836
|
Args: never;
|
|
24018
24837
|
Returns: number;
|
|
@@ -24053,18 +24872,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
24053
24872
|
Args: never;
|
|
24054
24873
|
Returns: import("../integrations/supabase/types").Json;
|
|
24055
24874
|
};
|
|
24875
|
+
logistics_refresh_pick_queue_status: {
|
|
24876
|
+
Args: {
|
|
24877
|
+
p_ref: string;
|
|
24878
|
+
};
|
|
24879
|
+
Returns: number;
|
|
24880
|
+
};
|
|
24056
24881
|
logistics_refresh_pickup_moments: {
|
|
24057
24882
|
Args: {
|
|
24058
24883
|
p_weeks?: number;
|
|
24059
24884
|
};
|
|
24060
24885
|
Returns: import("../integrations/supabase/types").Json;
|
|
24061
24886
|
};
|
|
24887
|
+
logistics_refresh_plan_state: {
|
|
24888
|
+
Args: {
|
|
24889
|
+
p_limit?: number;
|
|
24890
|
+
};
|
|
24891
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24892
|
+
};
|
|
24062
24893
|
logistics_replan_all: {
|
|
24063
24894
|
Args: {
|
|
24064
24895
|
p_reason?: string;
|
|
24065
24896
|
};
|
|
24066
24897
|
Returns: import("../integrations/supabase/types").Json;
|
|
24067
24898
|
};
|
|
24899
|
+
logistics_replan_all_force: {
|
|
24900
|
+
Args: {
|
|
24901
|
+
p_reason?: string;
|
|
24902
|
+
};
|
|
24903
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24904
|
+
};
|
|
24068
24905
|
logistics_report_delay: {
|
|
24069
24906
|
Args: {
|
|
24070
24907
|
p_expected_date?: string;
|
|
@@ -24209,6 +25046,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
24209
25046
|
};
|
|
24210
25047
|
Returns: string;
|
|
24211
25048
|
};
|
|
25049
|
+
logistics_shipping_note_follows_slip: {
|
|
25050
|
+
Args: never;
|
|
25051
|
+
Returns: boolean;
|
|
25052
|
+
};
|
|
24212
25053
|
logistics_shipping_note_from_barcode: {
|
|
24213
25054
|
Args: {
|
|
24214
25055
|
p_allow_reprint?: boolean;
|
|
@@ -24217,10 +25058,86 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
24217
25058
|
};
|
|
24218
25059
|
Returns: import("../integrations/supabase/types").Json;
|
|
24219
25060
|
};
|
|
25061
|
+
logistics_shipping_note_job_for_slip: {
|
|
25062
|
+
Args: {
|
|
25063
|
+
_slip_job_id: string;
|
|
25064
|
+
};
|
|
25065
|
+
Returns: string;
|
|
25066
|
+
};
|
|
25067
|
+
logistics_shipping_notes_wake_all: {
|
|
25068
|
+
Args: never;
|
|
25069
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25070
|
+
};
|
|
25071
|
+
logistics_slip_is_floriday: {
|
|
25072
|
+
Args: {
|
|
25073
|
+
_slip_job_id: string;
|
|
25074
|
+
};
|
|
25075
|
+
Returns: boolean;
|
|
25076
|
+
};
|
|
25077
|
+
logistics_slip_note_claim: {
|
|
25078
|
+
Args: {
|
|
25079
|
+
_lease_seconds?: number;
|
|
25080
|
+
_limit?: number;
|
|
25081
|
+
};
|
|
25082
|
+
Returns: {
|
|
25083
|
+
attempts: number;
|
|
25084
|
+
batch_key: string | null;
|
|
25085
|
+
cart_id: string | null;
|
|
25086
|
+
created_at: string;
|
|
25087
|
+
error: string | null;
|
|
25088
|
+
error_code: string | null;
|
|
25089
|
+
fulfillment_order_id: string | null;
|
|
25090
|
+
id: string;
|
|
25091
|
+
locked_until: string | null;
|
|
25092
|
+
next_attempt_at: string | null;
|
|
25093
|
+
order_id: string | null;
|
|
25094
|
+
order_number: string | null;
|
|
25095
|
+
print_job_id: string | null;
|
|
25096
|
+
printer_id: string | null;
|
|
25097
|
+
retry_class: string | null;
|
|
25098
|
+
slip_job_id: string;
|
|
25099
|
+
status: string;
|
|
25100
|
+
updated_at: string;
|
|
25101
|
+
}[];
|
|
25102
|
+
SetofOptions: {
|
|
25103
|
+
from: "*";
|
|
25104
|
+
to: "logistics_slip_shipping_note";
|
|
25105
|
+
isOneToOne: false;
|
|
25106
|
+
isSetofReturn: true;
|
|
25107
|
+
};
|
|
25108
|
+
};
|
|
25109
|
+
logistics_slip_note_finish: {
|
|
25110
|
+
Args: {
|
|
25111
|
+
_error?: string;
|
|
25112
|
+
_error_code?: string;
|
|
25113
|
+
_fulfillment_order_id?: string;
|
|
25114
|
+
_id: string;
|
|
25115
|
+
_ok: boolean;
|
|
25116
|
+
_print_job_id?: string;
|
|
25117
|
+
_status?: string;
|
|
25118
|
+
};
|
|
25119
|
+
Returns: undefined;
|
|
25120
|
+
};
|
|
25121
|
+
logistics_slip_note_keep_waiting: {
|
|
25122
|
+
Args: {
|
|
25123
|
+
_class?: string;
|
|
25124
|
+
_id: string;
|
|
25125
|
+
_reason: string;
|
|
25126
|
+
};
|
|
25127
|
+
Returns: undefined;
|
|
25128
|
+
};
|
|
24220
25129
|
logistics_sticker_follows_slip: {
|
|
24221
25130
|
Args: never;
|
|
24222
25131
|
Returns: boolean;
|
|
24223
25132
|
};
|
|
25133
|
+
logistics_subtract_working_minutes: {
|
|
25134
|
+
Args: {
|
|
25135
|
+
p_deadline: string;
|
|
25136
|
+
p_max_workdays?: number;
|
|
25137
|
+
p_minutes: number;
|
|
25138
|
+
};
|
|
25139
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25140
|
+
};
|
|
24224
25141
|
logistics_supersede_stale_tasks: {
|
|
24225
25142
|
Args: {
|
|
24226
25143
|
p_keep: string[];
|
|
@@ -24257,6 +25174,46 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
24257
25174
|
Args: never;
|
|
24258
25175
|
Returns: string;
|
|
24259
25176
|
};
|
|
25177
|
+
logistics_timezone_options: {
|
|
25178
|
+
Args: never;
|
|
25179
|
+
Returns: {
|
|
25180
|
+
name: string;
|
|
25181
|
+
}[];
|
|
25182
|
+
};
|
|
25183
|
+
logistics_trace: {
|
|
25184
|
+
Args: {
|
|
25185
|
+
p: import("../integrations/supabase/types").Json;
|
|
25186
|
+
};
|
|
25187
|
+
Returns: string;
|
|
25188
|
+
};
|
|
25189
|
+
logistics_trace_batch: {
|
|
25190
|
+
Args: {
|
|
25191
|
+
p: import("../integrations/supabase/types").Json;
|
|
25192
|
+
};
|
|
25193
|
+
Returns: number;
|
|
25194
|
+
};
|
|
25195
|
+
logistics_trace_orders: {
|
|
25196
|
+
Args: {
|
|
25197
|
+
p_limit?: number;
|
|
25198
|
+
p_search?: string;
|
|
25199
|
+
p_since?: string;
|
|
25200
|
+
p_status?: string;
|
|
25201
|
+
};
|
|
25202
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25203
|
+
};
|
|
25204
|
+
logistics_trace_redact: {
|
|
25205
|
+
Args: {
|
|
25206
|
+
p: import("../integrations/supabase/types").Json;
|
|
25207
|
+
};
|
|
25208
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25209
|
+
};
|
|
25210
|
+
logistics_trace_timeline: {
|
|
25211
|
+
Args: {
|
|
25212
|
+
p_limit?: number;
|
|
25213
|
+
p_order_ref: string;
|
|
25214
|
+
};
|
|
25215
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25216
|
+
};
|
|
24260
25217
|
logistics_upsert_task: {
|
|
24261
25218
|
Args: {
|
|
24262
25219
|
p_buffer_ref: string;
|
|
@@ -24276,6 +25233,16 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
24276
25233
|
};
|
|
24277
25234
|
Returns: string;
|
|
24278
25235
|
};
|
|
25236
|
+
logistics_valid_timezone: {
|
|
25237
|
+
Args: {
|
|
25238
|
+
_tz: string;
|
|
25239
|
+
};
|
|
25240
|
+
Returns: boolean;
|
|
25241
|
+
};
|
|
25242
|
+
logistics_working_hours_status: {
|
|
25243
|
+
Args: never;
|
|
25244
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25245
|
+
};
|
|
24279
25246
|
logistics_write_buffer_layer_positions: {
|
|
24280
25247
|
Args: {
|
|
24281
25248
|
p_buffer_id: string;
|
|
@@ -25288,6 +26255,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
25288
26255
|
};
|
|
25289
26256
|
Returns: undefined;
|
|
25290
26257
|
};
|
|
26258
|
+
prune_floriday_api_log: {
|
|
26259
|
+
Args: never;
|
|
26260
|
+
Returns: number;
|
|
26261
|
+
};
|
|
25291
26262
|
quote_create_from_source: {
|
|
25292
26263
|
Args: {
|
|
25293
26264
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -25721,6 +26692,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
25721
26692
|
};
|
|
25722
26693
|
Returns: number;
|
|
25723
26694
|
};
|
|
26695
|
+
schedule_floriday_catalog_prices_sync: {
|
|
26696
|
+
Args: {
|
|
26697
|
+
p_apikey: string;
|
|
26698
|
+
p_url: string;
|
|
26699
|
+
};
|
|
26700
|
+
Returns: number;
|
|
26701
|
+
};
|
|
25724
26702
|
schedule_floriday_clock_presales_sync: {
|
|
25725
26703
|
Args: {
|
|
25726
26704
|
p_apikey: string;
|
|
@@ -26021,6 +26999,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
26021
26999
|
};
|
|
26022
27000
|
Returns: undefined;
|
|
26023
27001
|
};
|
|
27002
|
+
sync_floriday_prices_into_price_groups: {
|
|
27003
|
+
Args: never;
|
|
27004
|
+
Returns: number;
|
|
27005
|
+
};
|
|
26024
27006
|
sync_layer_stock: {
|
|
26025
27007
|
Args: {
|
|
26026
27008
|
p_product_id: string;
|
|
@@ -26153,6 +27135,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
|
|
|
26153
27135
|
Args: never;
|
|
26154
27136
|
Returns: string;
|
|
26155
27137
|
};
|
|
27138
|
+
voorraad_cleanup_old_rows: {
|
|
27139
|
+
Args: never;
|
|
27140
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27141
|
+
};
|
|
26156
27142
|
wake_print_queue: {
|
|
26157
27143
|
Args: {
|
|
26158
27144
|
_min_interval_ms?: number;
|