@flowselections/floriday-klanten-module 1.0.35 → 1.0.36
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/klanten/BewerkKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/BewerkKlant.js +21 -1
- package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts +14 -0
- package/dist-lib/components/klanten/BulkStickerUploadDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/BulkStickerUploadDialog.js +231 -0
- package/dist-lib/components/klanten/CustomerAssortmentTab.d.ts.map +1 -1
- package/dist-lib/components/klanten/CustomerAssortmentTab.js +37 -5
- package/dist-lib/components/klanten/CustomerStickerCell.d.ts +7 -0
- package/dist-lib/components/klanten/CustomerStickerCell.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerStickerCell.js +90 -0
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts +7 -0
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.d.ts.map +1 -0
- package/dist-lib/components/klanten/CustomerStickerFormatDialog.js +36 -0
- package/dist-lib/index.d.ts +4 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +4 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +565 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +565 -0
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +565 -0
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +568 -0
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts +1695 -0
- package/dist-lib/lib/accounting/twinfield/worker.functions.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +1695 -0
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/ai-module.server.d.ts +20 -0
- package/dist-lib/lib/ai-module.server.d.ts.map +1 -0
- package/dist-lib/lib/ai-module.server.js +86 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts +565 -0
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-assortment.functions.d.ts +565 -0
- package/dist-lib/lib/customer-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-notes.functions.d.ts +1130 -0
- package/dist-lib/lib/customer-notes.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-revenue.functions.d.ts +565 -0
- package/dist-lib/lib/customer-revenue.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-stickers.functions.d.ts +244731 -0
- package/dist-lib/lib/customer-stickers.functions.d.ts.map +1 -0
- package/dist-lib/lib/customer-stickers.functions.js +467 -0
- package/dist-lib/lib/customers.functions.d.ts +5085 -0
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/delivery-locations.functions.d.ts +2825 -0
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +2260 -0
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-assortment.functions.d.ts +565 -0
- package/dist-lib/lib/floriday-assortment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +1130 -0
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-price-import.functions.d.ts +1130 -0
- package/dist-lib/lib/floriday-price-import.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-trade-items.functions.d.ts +565 -0
- package/dist-lib/lib/floriday-trade-items.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +3956 -1
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-events.functions.d.ts +565 -0
- package/dist-lib/lib/logistics-events.functions.d.ts.map +1 -1
- package/dist-lib/lib/logistics-strategy.functions.d.ts +2260 -0
- package/dist-lib/lib/logistics-strategy.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +565 -0
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups-local.functions.d.ts +7348 -3
- package/dist-lib/lib/price-groups-local.functions.d.ts.map +1 -1
- package/dist-lib/lib/price-groups.functions.d.ts +565 -0
- package/dist-lib/lib/price-groups.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-adopt.functions.d.ts +1130 -0
- package/dist-lib/lib/twinfield-adopt.functions.d.ts.map +1 -1
- package/dist-lib/lib/twinfield-ledger.functions.d.ts +565 -0
- package/dist-lib/lib/twinfield-ledger.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -2249,6 +2249,45 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
2249
2249
|
};
|
|
2250
2250
|
Relationships: [];
|
|
2251
2251
|
};
|
|
2252
|
+
customer_product_stickers: {
|
|
2253
|
+
Row: {
|
|
2254
|
+
created_at: string;
|
|
2255
|
+
customer_key: string;
|
|
2256
|
+
file_name: string;
|
|
2257
|
+
file_path: string;
|
|
2258
|
+
file_size: number | null;
|
|
2259
|
+
id: string;
|
|
2260
|
+
mime_type: string | null;
|
|
2261
|
+
trade_item_key: string;
|
|
2262
|
+
updated_at: string;
|
|
2263
|
+
uploaded_by: string | null;
|
|
2264
|
+
};
|
|
2265
|
+
Insert: {
|
|
2266
|
+
created_at?: string;
|
|
2267
|
+
customer_key: string;
|
|
2268
|
+
file_name: string;
|
|
2269
|
+
file_path: string;
|
|
2270
|
+
file_size?: number | null;
|
|
2271
|
+
id?: string;
|
|
2272
|
+
mime_type?: string | null;
|
|
2273
|
+
trade_item_key: string;
|
|
2274
|
+
updated_at?: string;
|
|
2275
|
+
uploaded_by?: string | null;
|
|
2276
|
+
};
|
|
2277
|
+
Update: {
|
|
2278
|
+
created_at?: string;
|
|
2279
|
+
customer_key?: string;
|
|
2280
|
+
file_name?: string;
|
|
2281
|
+
file_path?: string;
|
|
2282
|
+
file_size?: number | null;
|
|
2283
|
+
id?: string;
|
|
2284
|
+
mime_type?: string | null;
|
|
2285
|
+
trade_item_key?: string;
|
|
2286
|
+
updated_at?: string;
|
|
2287
|
+
uploaded_by?: string | null;
|
|
2288
|
+
};
|
|
2289
|
+
Relationships: [];
|
|
2290
|
+
};
|
|
2252
2291
|
customer_selected_assortment: {
|
|
2253
2292
|
Row: {
|
|
2254
2293
|
article_number: string | null;
|
|
@@ -2297,6 +2336,30 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
2297
2336
|
referencedColumns: ["id"];
|
|
2298
2337
|
}];
|
|
2299
2338
|
};
|
|
2339
|
+
customer_sticker_settings: {
|
|
2340
|
+
Row: {
|
|
2341
|
+
created_at: string;
|
|
2342
|
+
customer_key: string;
|
|
2343
|
+
height_mm: number;
|
|
2344
|
+
updated_at: string;
|
|
2345
|
+
width_mm: number;
|
|
2346
|
+
};
|
|
2347
|
+
Insert: {
|
|
2348
|
+
created_at?: string;
|
|
2349
|
+
customer_key: string;
|
|
2350
|
+
height_mm?: number;
|
|
2351
|
+
updated_at?: string;
|
|
2352
|
+
width_mm?: number;
|
|
2353
|
+
};
|
|
2354
|
+
Update: {
|
|
2355
|
+
created_at?: string;
|
|
2356
|
+
customer_key?: string;
|
|
2357
|
+
height_mm?: number;
|
|
2358
|
+
updated_at?: string;
|
|
2359
|
+
width_mm?: number;
|
|
2360
|
+
};
|
|
2361
|
+
Relationships: [];
|
|
2362
|
+
};
|
|
2300
2363
|
customer_trade_settings: {
|
|
2301
2364
|
Row: {
|
|
2302
2365
|
category: string;
|
|
@@ -5627,6 +5690,102 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
5627
5690
|
referencedColumns: ["id"];
|
|
5628
5691
|
}];
|
|
5629
5692
|
};
|
|
5693
|
+
floriday_api_log: {
|
|
5694
|
+
Row: {
|
|
5695
|
+
action: string | null;
|
|
5696
|
+
caller: string | null;
|
|
5697
|
+
connection_id: string | null;
|
|
5698
|
+
created_at: string;
|
|
5699
|
+
cursor_from: number | null;
|
|
5700
|
+
direction: string;
|
|
5701
|
+
duration_ms: number | null;
|
|
5702
|
+
environment: string | null;
|
|
5703
|
+
error: string | null;
|
|
5704
|
+
floriday_id: string | null;
|
|
5705
|
+
floriday_reference: string | null;
|
|
5706
|
+
http_status: number;
|
|
5707
|
+
id: string;
|
|
5708
|
+
item_count: number | null;
|
|
5709
|
+
kind: string | null;
|
|
5710
|
+
local_id: string | null;
|
|
5711
|
+
local_reference: string | null;
|
|
5712
|
+
method: string;
|
|
5713
|
+
module: string | null;
|
|
5714
|
+
ok: boolean;
|
|
5715
|
+
path: string;
|
|
5716
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5717
|
+
resource_type: string | null;
|
|
5718
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5719
|
+
write_log_id: string | null;
|
|
5720
|
+
};
|
|
5721
|
+
Insert: {
|
|
5722
|
+
action?: string | null;
|
|
5723
|
+
caller?: string | null;
|
|
5724
|
+
connection_id?: string | null;
|
|
5725
|
+
created_at?: string;
|
|
5726
|
+
cursor_from?: number | null;
|
|
5727
|
+
direction: string;
|
|
5728
|
+
duration_ms?: number | null;
|
|
5729
|
+
environment?: string | null;
|
|
5730
|
+
error?: string | null;
|
|
5731
|
+
floriday_id?: string | null;
|
|
5732
|
+
floriday_reference?: string | null;
|
|
5733
|
+
http_status?: number;
|
|
5734
|
+
id?: string;
|
|
5735
|
+
item_count?: number | null;
|
|
5736
|
+
kind?: string | null;
|
|
5737
|
+
local_id?: string | null;
|
|
5738
|
+
local_reference?: string | null;
|
|
5739
|
+
method: string;
|
|
5740
|
+
module?: string | null;
|
|
5741
|
+
ok?: boolean;
|
|
5742
|
+
path: string;
|
|
5743
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5744
|
+
resource_type?: string | null;
|
|
5745
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5746
|
+
write_log_id?: string | null;
|
|
5747
|
+
};
|
|
5748
|
+
Update: {
|
|
5749
|
+
action?: string | null;
|
|
5750
|
+
caller?: string | null;
|
|
5751
|
+
connection_id?: string | null;
|
|
5752
|
+
created_at?: string;
|
|
5753
|
+
cursor_from?: number | null;
|
|
5754
|
+
direction?: string;
|
|
5755
|
+
duration_ms?: number | null;
|
|
5756
|
+
environment?: string | null;
|
|
5757
|
+
error?: string | null;
|
|
5758
|
+
floriday_id?: string | null;
|
|
5759
|
+
floriday_reference?: string | null;
|
|
5760
|
+
http_status?: number;
|
|
5761
|
+
id?: string;
|
|
5762
|
+
item_count?: number | null;
|
|
5763
|
+
kind?: string | null;
|
|
5764
|
+
local_id?: string | null;
|
|
5765
|
+
local_reference?: string | null;
|
|
5766
|
+
method?: string;
|
|
5767
|
+
module?: string | null;
|
|
5768
|
+
ok?: boolean;
|
|
5769
|
+
path?: string;
|
|
5770
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5771
|
+
resource_type?: string | null;
|
|
5772
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5773
|
+
write_log_id?: string | null;
|
|
5774
|
+
};
|
|
5775
|
+
Relationships: [{
|
|
5776
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5777
|
+
columns: ["connection_id"];
|
|
5778
|
+
isOneToOne: false;
|
|
5779
|
+
referencedRelation: "floriday_connections";
|
|
5780
|
+
referencedColumns: ["id"];
|
|
5781
|
+
}, {
|
|
5782
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5783
|
+
columns: ["write_log_id"];
|
|
5784
|
+
isOneToOne: false;
|
|
5785
|
+
referencedRelation: "floriday_write_log";
|
|
5786
|
+
referencedColumns: ["id"];
|
|
5787
|
+
}];
|
|
5788
|
+
};
|
|
5630
5789
|
floriday_auction_letters_cache: {
|
|
5631
5790
|
Row: {
|
|
5632
5791
|
auction_letter_code: string;
|
|
@@ -6827,6 +6986,69 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
6827
6986
|
referencedColumns: ["id"];
|
|
6828
6987
|
}];
|
|
6829
6988
|
};
|
|
6989
|
+
floriday_link_templates: {
|
|
6990
|
+
Row: {
|
|
6991
|
+
created_at: string;
|
|
6992
|
+
floriday_url_template: string | null;
|
|
6993
|
+
is_active: boolean;
|
|
6994
|
+
label: string;
|
|
6995
|
+
local_url_template: string | null;
|
|
6996
|
+
resource_type: string;
|
|
6997
|
+
updated_at: string;
|
|
6998
|
+
};
|
|
6999
|
+
Insert: {
|
|
7000
|
+
created_at?: string;
|
|
7001
|
+
floriday_url_template?: string | null;
|
|
7002
|
+
is_active?: boolean;
|
|
7003
|
+
label: string;
|
|
7004
|
+
local_url_template?: string | null;
|
|
7005
|
+
resource_type: string;
|
|
7006
|
+
updated_at?: string;
|
|
7007
|
+
};
|
|
7008
|
+
Update: {
|
|
7009
|
+
created_at?: string;
|
|
7010
|
+
floriday_url_template?: string | null;
|
|
7011
|
+
is_active?: boolean;
|
|
7012
|
+
label?: string;
|
|
7013
|
+
local_url_template?: string | null;
|
|
7014
|
+
resource_type?: string;
|
|
7015
|
+
updated_at?: string;
|
|
7016
|
+
};
|
|
7017
|
+
Relationships: [];
|
|
7018
|
+
};
|
|
7019
|
+
floriday_log_retention: {
|
|
7020
|
+
Row: {
|
|
7021
|
+
created_at: string;
|
|
7022
|
+
direction: string | null;
|
|
7023
|
+
id: string;
|
|
7024
|
+
keep_failed_days: number | null;
|
|
7025
|
+
keep_ok_days: number | null;
|
|
7026
|
+
note: string | null;
|
|
7027
|
+
resource_type: string | null;
|
|
7028
|
+
updated_at: string;
|
|
7029
|
+
};
|
|
7030
|
+
Insert: {
|
|
7031
|
+
created_at?: string;
|
|
7032
|
+
direction?: string | null;
|
|
7033
|
+
id?: string;
|
|
7034
|
+
keep_failed_days?: number | null;
|
|
7035
|
+
keep_ok_days?: number | null;
|
|
7036
|
+
note?: string | null;
|
|
7037
|
+
resource_type?: string | null;
|
|
7038
|
+
updated_at?: string;
|
|
7039
|
+
};
|
|
7040
|
+
Update: {
|
|
7041
|
+
created_at?: string;
|
|
7042
|
+
direction?: string | null;
|
|
7043
|
+
id?: string;
|
|
7044
|
+
keep_failed_days?: number | null;
|
|
7045
|
+
keep_ok_days?: number | null;
|
|
7046
|
+
note?: string | null;
|
|
7047
|
+
resource_type?: string | null;
|
|
7048
|
+
updated_at?: string;
|
|
7049
|
+
};
|
|
7050
|
+
Relationships: [];
|
|
7051
|
+
};
|
|
6830
7052
|
floriday_logistic_labels_cache: {
|
|
6831
7053
|
Row: {
|
|
6832
7054
|
byte_size: number | null;
|
|
@@ -10952,6 +11174,69 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
10952
11174
|
};
|
|
10953
11175
|
Relationships: [];
|
|
10954
11176
|
};
|
|
11177
|
+
logistics_slip_shipping_note: {
|
|
11178
|
+
Row: {
|
|
11179
|
+
attempts: number;
|
|
11180
|
+
batch_key: string | null;
|
|
11181
|
+
cart_id: string | null;
|
|
11182
|
+
created_at: string;
|
|
11183
|
+
error: string | null;
|
|
11184
|
+
error_code: string | null;
|
|
11185
|
+
fulfillment_order_id: string | null;
|
|
11186
|
+
id: string;
|
|
11187
|
+
locked_until: string | null;
|
|
11188
|
+
next_attempt_at: string | null;
|
|
11189
|
+
order_id: string | null;
|
|
11190
|
+
order_number: string | null;
|
|
11191
|
+
print_job_id: string | null;
|
|
11192
|
+
printer_id: string | null;
|
|
11193
|
+
retry_class: string | null;
|
|
11194
|
+
slip_job_id: string;
|
|
11195
|
+
status: string;
|
|
11196
|
+
updated_at: string;
|
|
11197
|
+
};
|
|
11198
|
+
Insert: {
|
|
11199
|
+
attempts?: number;
|
|
11200
|
+
batch_key?: string | null;
|
|
11201
|
+
cart_id?: string | null;
|
|
11202
|
+
created_at?: string;
|
|
11203
|
+
error?: string | null;
|
|
11204
|
+
error_code?: string | null;
|
|
11205
|
+
fulfillment_order_id?: string | null;
|
|
11206
|
+
id?: string;
|
|
11207
|
+
locked_until?: string | null;
|
|
11208
|
+
next_attempt_at?: string | null;
|
|
11209
|
+
order_id?: string | null;
|
|
11210
|
+
order_number?: string | null;
|
|
11211
|
+
print_job_id?: string | null;
|
|
11212
|
+
printer_id?: string | null;
|
|
11213
|
+
retry_class?: string | null;
|
|
11214
|
+
slip_job_id: string;
|
|
11215
|
+
status?: string;
|
|
11216
|
+
updated_at?: string;
|
|
11217
|
+
};
|
|
11218
|
+
Update: {
|
|
11219
|
+
attempts?: number;
|
|
11220
|
+
batch_key?: string | null;
|
|
11221
|
+
cart_id?: string | null;
|
|
11222
|
+
created_at?: string;
|
|
11223
|
+
error?: string | null;
|
|
11224
|
+
error_code?: string | null;
|
|
11225
|
+
fulfillment_order_id?: string | null;
|
|
11226
|
+
id?: string;
|
|
11227
|
+
locked_until?: string | null;
|
|
11228
|
+
next_attempt_at?: string | null;
|
|
11229
|
+
order_id?: string | null;
|
|
11230
|
+
order_number?: string | null;
|
|
11231
|
+
print_job_id?: string | null;
|
|
11232
|
+
printer_id?: string | null;
|
|
11233
|
+
retry_class?: string | null;
|
|
11234
|
+
slip_job_id?: string;
|
|
11235
|
+
status?: string;
|
|
11236
|
+
updated_at?: string;
|
|
11237
|
+
};
|
|
11238
|
+
Relationships: [];
|
|
11239
|
+
};
|
|
10955
11240
|
logistics_staff_planning: {
|
|
10956
11241
|
Row: {
|
|
10957
11242
|
created_at: string;
|
|
@@ -11303,6 +11588,111 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
11303
11588
|
};
|
|
11304
11589
|
Relationships: [];
|
|
11305
11590
|
};
|
|
11591
|
+
logistics_trace_events: {
|
|
11592
|
+
Row: {
|
|
11593
|
+
actor: string | null;
|
|
11594
|
+
attempts: number;
|
|
11595
|
+
cart_ref: string | null;
|
|
11596
|
+
created_at: string;
|
|
11597
|
+
db_action: string | null;
|
|
11598
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11599
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11600
|
+
db_record: string | null;
|
|
11601
|
+
db_table: string | null;
|
|
11602
|
+
decision: string | null;
|
|
11603
|
+
duration_ms: number | null;
|
|
11604
|
+
error: string | null;
|
|
11605
|
+
external_action: string | null;
|
|
11606
|
+
external_ref: string | null;
|
|
11607
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11608
|
+
external_status: string | null;
|
|
11609
|
+
external_system: string | null;
|
|
11610
|
+
id: string;
|
|
11611
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11612
|
+
next_attempt_at: string | null;
|
|
11613
|
+
order_ref: string | null;
|
|
11614
|
+
order_source: string | null;
|
|
11615
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11616
|
+
phase: string;
|
|
11617
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11618
|
+
reason: string | null;
|
|
11619
|
+
rule: string | null;
|
|
11620
|
+
slip_ref: string | null;
|
|
11621
|
+
status: string;
|
|
11622
|
+
step: string;
|
|
11623
|
+
trace_id: string;
|
|
11624
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11625
|
+
};
|
|
11626
|
+
Insert: {
|
|
11627
|
+
actor?: string | null;
|
|
11628
|
+
attempts?: number;
|
|
11629
|
+
cart_ref?: string | null;
|
|
11630
|
+
created_at?: string;
|
|
11631
|
+
db_action?: string | null;
|
|
11632
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11633
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11634
|
+
db_record?: string | null;
|
|
11635
|
+
db_table?: string | null;
|
|
11636
|
+
decision?: string | null;
|
|
11637
|
+
duration_ms?: number | null;
|
|
11638
|
+
error?: string | null;
|
|
11639
|
+
external_action?: string | null;
|
|
11640
|
+
external_ref?: string | null;
|
|
11641
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11642
|
+
external_status?: string | null;
|
|
11643
|
+
external_system?: string | null;
|
|
11644
|
+
id?: string;
|
|
11645
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11646
|
+
next_attempt_at?: string | null;
|
|
11647
|
+
order_ref?: string | null;
|
|
11648
|
+
order_source?: string | null;
|
|
11649
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11650
|
+
phase: string;
|
|
11651
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11652
|
+
reason?: string | null;
|
|
11653
|
+
rule?: string | null;
|
|
11654
|
+
slip_ref?: string | null;
|
|
11655
|
+
status: string;
|
|
11656
|
+
step: string;
|
|
11657
|
+
trace_id?: string;
|
|
11658
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11659
|
+
};
|
|
11660
|
+
Update: {
|
|
11661
|
+
actor?: string | null;
|
|
11662
|
+
attempts?: number;
|
|
11663
|
+
cart_ref?: string | null;
|
|
11664
|
+
created_at?: string;
|
|
11665
|
+
db_action?: string | null;
|
|
11666
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11667
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11668
|
+
db_record?: string | null;
|
|
11669
|
+
db_table?: string | null;
|
|
11670
|
+
decision?: string | null;
|
|
11671
|
+
duration_ms?: number | null;
|
|
11672
|
+
error?: string | null;
|
|
11673
|
+
external_action?: string | null;
|
|
11674
|
+
external_ref?: string | null;
|
|
11675
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11676
|
+
external_status?: string | null;
|
|
11677
|
+
external_system?: string | null;
|
|
11678
|
+
id?: string;
|
|
11679
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11680
|
+
next_attempt_at?: string | null;
|
|
11681
|
+
order_ref?: string | null;
|
|
11682
|
+
order_source?: string | null;
|
|
11683
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11684
|
+
phase?: string;
|
|
11685
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11686
|
+
reason?: string | null;
|
|
11687
|
+
rule?: string | null;
|
|
11688
|
+
slip_ref?: string | null;
|
|
11689
|
+
status?: string;
|
|
11690
|
+
step?: string;
|
|
11691
|
+
trace_id?: string;
|
|
11692
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11693
|
+
};
|
|
11694
|
+
Relationships: [];
|
|
11695
|
+
};
|
|
11306
11696
|
logistics_variables: {
|
|
11307
11697
|
Row: {
|
|
11308
11698
|
created_at: string;
|
|
@@ -21875,6 +22265,15 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
21875
22265
|
Args: never;
|
|
21876
22266
|
Returns: boolean;
|
|
21877
22267
|
};
|
|
22268
|
+
cancel_open_print_jobs: {
|
|
22269
|
+
Args: {
|
|
22270
|
+
_cutoff: string;
|
|
22271
|
+
};
|
|
22272
|
+
Returns: {
|
|
22273
|
+
extern_job_id: string;
|
|
22274
|
+
id: string;
|
|
22275
|
+
}[];
|
|
22276
|
+
};
|
|
21878
22277
|
check_offer_product_available_stock: {
|
|
21879
22278
|
Args: {
|
|
21880
22279
|
p_campaign_product_id: string;
|
|
@@ -23487,6 +23886,12 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
23487
23886
|
};
|
|
23488
23887
|
Returns: import("../integrations/supabase/types").Json;
|
|
23489
23888
|
};
|
|
23889
|
+
logistics_cart_plan_status_core: {
|
|
23890
|
+
Args: {
|
|
23891
|
+
p_ref: string;
|
|
23892
|
+
};
|
|
23893
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23894
|
+
};
|
|
23490
23895
|
logistics_cart_release_reason: {
|
|
23491
23896
|
Args: {
|
|
23492
23897
|
p_cart_id: string;
|
|
@@ -23549,6 +23954,10 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
23549
23954
|
unit_ref: string;
|
|
23550
23955
|
}[];
|
|
23551
23956
|
};
|
|
23957
|
+
logistics_carts_per_print: {
|
|
23958
|
+
Args: never;
|
|
23959
|
+
Returns: number;
|
|
23960
|
+
};
|
|
23552
23961
|
logistics_check_order_allowed: {
|
|
23553
23962
|
Args: {
|
|
23554
23963
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23915,6 +24324,12 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
23915
24324
|
};
|
|
23916
24325
|
Returns: import("../integrations/supabase/types").Json;
|
|
23917
24326
|
};
|
|
24327
|
+
logistics_ensure_shipping_notes: {
|
|
24328
|
+
Args: {
|
|
24329
|
+
p_limit?: number;
|
|
24330
|
+
};
|
|
24331
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24332
|
+
};
|
|
23918
24333
|
logistics_fail_task: {
|
|
23919
24334
|
Args: {
|
|
23920
24335
|
p_error: string;
|
|
@@ -23960,6 +24375,10 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
23960
24375
|
isSetofReturn: false;
|
|
23961
24376
|
};
|
|
23962
24377
|
};
|
|
24378
|
+
logistics_fix_wrong_shipping_notes: {
|
|
24379
|
+
Args: never;
|
|
24380
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24381
|
+
};
|
|
23963
24382
|
logistics_floriday_cart_plan: {
|
|
23964
24383
|
Args: {
|
|
23965
24384
|
p_order_id: string;
|
|
@@ -23987,6 +24406,10 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
23987
24406
|
revision: number;
|
|
23988
24407
|
}[];
|
|
23989
24408
|
};
|
|
24409
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
24410
|
+
Args: never;
|
|
24411
|
+
Returns: boolean;
|
|
24412
|
+
};
|
|
23990
24413
|
logistics_floriday_finish_push: {
|
|
23991
24414
|
Args: {
|
|
23992
24415
|
_error?: string;
|
|
@@ -24230,6 +24653,12 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
24230
24653
|
};
|
|
24231
24654
|
Returns: string;
|
|
24232
24655
|
};
|
|
24656
|
+
logistics_payload_is_floriday: {
|
|
24657
|
+
Args: {
|
|
24658
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
24659
|
+
};
|
|
24660
|
+
Returns: boolean;
|
|
24661
|
+
};
|
|
24233
24662
|
logistics_pick_agenda: {
|
|
24234
24663
|
Args: {
|
|
24235
24664
|
p_from?: string;
|
|
@@ -24352,6 +24781,20 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
24352
24781
|
Args: never;
|
|
24353
24782
|
Returns: undefined;
|
|
24354
24783
|
};
|
|
24784
|
+
logistics_plan_progress: {
|
|
24785
|
+
Args: {
|
|
24786
|
+
p_refs: string[];
|
|
24787
|
+
};
|
|
24788
|
+
Returns: {
|
|
24789
|
+
cart_plan_ready: boolean;
|
|
24790
|
+
cart_plan_reason: string;
|
|
24791
|
+
cart_plan_released: boolean;
|
|
24792
|
+
plan_progress: number;
|
|
24793
|
+
plan_state: string;
|
|
24794
|
+
plan_state_since: string;
|
|
24795
|
+
unit_ref: string;
|
|
24796
|
+
}[];
|
|
24797
|
+
};
|
|
24355
24798
|
logistics_plan_prune: {
|
|
24356
24799
|
Args: never;
|
|
24357
24800
|
Returns: number;
|
|
@@ -24373,6 +24816,12 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
24373
24816
|
};
|
|
24374
24817
|
Returns: number;
|
|
24375
24818
|
};
|
|
24819
|
+
logistics_plan_state_for: {
|
|
24820
|
+
Args: {
|
|
24821
|
+
p_ref: string;
|
|
24822
|
+
};
|
|
24823
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24824
|
+
};
|
|
24376
24825
|
logistics_prepare_pick_documents: {
|
|
24377
24826
|
Args: {
|
|
24378
24827
|
p_limit?: number;
|
|
@@ -24431,6 +24880,12 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
24431
24880
|
};
|
|
24432
24881
|
Returns: import("../integrations/supabase/types").Json;
|
|
24433
24882
|
};
|
|
24883
|
+
logistics_refresh_plan_state: {
|
|
24884
|
+
Args: {
|
|
24885
|
+
p_limit?: number;
|
|
24886
|
+
};
|
|
24887
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24888
|
+
};
|
|
24434
24889
|
logistics_replan_all: {
|
|
24435
24890
|
Args: {
|
|
24436
24891
|
p_reason?: string;
|
|
@@ -24599,6 +25054,74 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
24599
25054
|
};
|
|
24600
25055
|
Returns: import("../integrations/supabase/types").Json;
|
|
24601
25056
|
};
|
|
25057
|
+
logistics_shipping_note_job_for_slip: {
|
|
25058
|
+
Args: {
|
|
25059
|
+
_slip_job_id: string;
|
|
25060
|
+
};
|
|
25061
|
+
Returns: string;
|
|
25062
|
+
};
|
|
25063
|
+
logistics_shipping_notes_wake_all: {
|
|
25064
|
+
Args: never;
|
|
25065
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25066
|
+
};
|
|
25067
|
+
logistics_slip_is_floriday: {
|
|
25068
|
+
Args: {
|
|
25069
|
+
_slip_job_id: string;
|
|
25070
|
+
};
|
|
25071
|
+
Returns: boolean;
|
|
25072
|
+
};
|
|
25073
|
+
logistics_slip_note_claim: {
|
|
25074
|
+
Args: {
|
|
25075
|
+
_lease_seconds?: number;
|
|
25076
|
+
_limit?: number;
|
|
25077
|
+
};
|
|
25078
|
+
Returns: {
|
|
25079
|
+
attempts: number;
|
|
25080
|
+
batch_key: string | null;
|
|
25081
|
+
cart_id: string | null;
|
|
25082
|
+
created_at: string;
|
|
25083
|
+
error: string | null;
|
|
25084
|
+
error_code: string | null;
|
|
25085
|
+
fulfillment_order_id: string | null;
|
|
25086
|
+
id: string;
|
|
25087
|
+
locked_until: string | null;
|
|
25088
|
+
next_attempt_at: string | null;
|
|
25089
|
+
order_id: string | null;
|
|
25090
|
+
order_number: string | null;
|
|
25091
|
+
print_job_id: string | null;
|
|
25092
|
+
printer_id: string | null;
|
|
25093
|
+
retry_class: string | null;
|
|
25094
|
+
slip_job_id: string;
|
|
25095
|
+
status: string;
|
|
25096
|
+
updated_at: string;
|
|
25097
|
+
}[];
|
|
25098
|
+
SetofOptions: {
|
|
25099
|
+
from: "*";
|
|
25100
|
+
to: "logistics_slip_shipping_note";
|
|
25101
|
+
isOneToOne: false;
|
|
25102
|
+
isSetofReturn: true;
|
|
25103
|
+
};
|
|
25104
|
+
};
|
|
25105
|
+
logistics_slip_note_finish: {
|
|
25106
|
+
Args: {
|
|
25107
|
+
_error?: string;
|
|
25108
|
+
_error_code?: string;
|
|
25109
|
+
_fulfillment_order_id?: string;
|
|
25110
|
+
_id: string;
|
|
25111
|
+
_ok: boolean;
|
|
25112
|
+
_print_job_id?: string;
|
|
25113
|
+
_status?: string;
|
|
25114
|
+
};
|
|
25115
|
+
Returns: undefined;
|
|
25116
|
+
};
|
|
25117
|
+
logistics_slip_note_keep_waiting: {
|
|
25118
|
+
Args: {
|
|
25119
|
+
_class?: string;
|
|
25120
|
+
_id: string;
|
|
25121
|
+
_reason: string;
|
|
25122
|
+
};
|
|
25123
|
+
Returns: undefined;
|
|
25124
|
+
};
|
|
24602
25125
|
logistics_sticker_follows_slip: {
|
|
24603
25126
|
Args: never;
|
|
24604
25127
|
Returns: boolean;
|
|
@@ -24653,6 +25176,40 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
24653
25176
|
name: string;
|
|
24654
25177
|
}[];
|
|
24655
25178
|
};
|
|
25179
|
+
logistics_trace: {
|
|
25180
|
+
Args: {
|
|
25181
|
+
p: import("../integrations/supabase/types").Json;
|
|
25182
|
+
};
|
|
25183
|
+
Returns: string;
|
|
25184
|
+
};
|
|
25185
|
+
logistics_trace_batch: {
|
|
25186
|
+
Args: {
|
|
25187
|
+
p: import("../integrations/supabase/types").Json;
|
|
25188
|
+
};
|
|
25189
|
+
Returns: number;
|
|
25190
|
+
};
|
|
25191
|
+
logistics_trace_orders: {
|
|
25192
|
+
Args: {
|
|
25193
|
+
p_limit?: number;
|
|
25194
|
+
p_search?: string;
|
|
25195
|
+
p_since?: string;
|
|
25196
|
+
p_status?: string;
|
|
25197
|
+
};
|
|
25198
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25199
|
+
};
|
|
25200
|
+
logistics_trace_redact: {
|
|
25201
|
+
Args: {
|
|
25202
|
+
p: import("../integrations/supabase/types").Json;
|
|
25203
|
+
};
|
|
25204
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25205
|
+
};
|
|
25206
|
+
logistics_trace_timeline: {
|
|
25207
|
+
Args: {
|
|
25208
|
+
p_limit?: number;
|
|
25209
|
+
p_order_ref: string;
|
|
25210
|
+
};
|
|
25211
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25212
|
+
};
|
|
24656
25213
|
logistics_upsert_task: {
|
|
24657
25214
|
Args: {
|
|
24658
25215
|
p_buffer_ref: string;
|
|
@@ -25694,6 +26251,10 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
25694
26251
|
};
|
|
25695
26252
|
Returns: undefined;
|
|
25696
26253
|
};
|
|
26254
|
+
prune_floriday_api_log: {
|
|
26255
|
+
Args: never;
|
|
26256
|
+
Returns: number;
|
|
26257
|
+
};
|
|
25697
26258
|
quote_create_from_source: {
|
|
25698
26259
|
Args: {
|
|
25699
26260
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26570,6 +27131,10 @@ export declare const listLocalCustomerDiscounts: import("@tanstack/start-client-
|
|
|
26570
27131
|
Args: never;
|
|
26571
27132
|
Returns: string;
|
|
26572
27133
|
};
|
|
27134
|
+
voorraad_cleanup_old_rows: {
|
|
27135
|
+
Args: never;
|
|
27136
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27137
|
+
};
|
|
26573
27138
|
wake_print_queue: {
|
|
26574
27139
|
Args: {
|
|
26575
27140
|
_min_interval_ms?: number;
|
|
@@ -28867,6 +29432,45 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
28867
29432
|
};
|
|
28868
29433
|
Relationships: [];
|
|
28869
29434
|
};
|
|
29435
|
+
customer_product_stickers: {
|
|
29436
|
+
Row: {
|
|
29437
|
+
created_at: string;
|
|
29438
|
+
customer_key: string;
|
|
29439
|
+
file_name: string;
|
|
29440
|
+
file_path: string;
|
|
29441
|
+
file_size: number | null;
|
|
29442
|
+
id: string;
|
|
29443
|
+
mime_type: string | null;
|
|
29444
|
+
trade_item_key: string;
|
|
29445
|
+
updated_at: string;
|
|
29446
|
+
uploaded_by: string | null;
|
|
29447
|
+
};
|
|
29448
|
+
Insert: {
|
|
29449
|
+
created_at?: string;
|
|
29450
|
+
customer_key: string;
|
|
29451
|
+
file_name: string;
|
|
29452
|
+
file_path: string;
|
|
29453
|
+
file_size?: number | null;
|
|
29454
|
+
id?: string;
|
|
29455
|
+
mime_type?: string | null;
|
|
29456
|
+
trade_item_key: string;
|
|
29457
|
+
updated_at?: string;
|
|
29458
|
+
uploaded_by?: string | null;
|
|
29459
|
+
};
|
|
29460
|
+
Update: {
|
|
29461
|
+
created_at?: string;
|
|
29462
|
+
customer_key?: string;
|
|
29463
|
+
file_name?: string;
|
|
29464
|
+
file_path?: string;
|
|
29465
|
+
file_size?: number | null;
|
|
29466
|
+
id?: string;
|
|
29467
|
+
mime_type?: string | null;
|
|
29468
|
+
trade_item_key?: string;
|
|
29469
|
+
updated_at?: string;
|
|
29470
|
+
uploaded_by?: string | null;
|
|
29471
|
+
};
|
|
29472
|
+
Relationships: [];
|
|
29473
|
+
};
|
|
28870
29474
|
customer_selected_assortment: {
|
|
28871
29475
|
Row: {
|
|
28872
29476
|
article_number: string | null;
|
|
@@ -28915,6 +29519,30 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
28915
29519
|
referencedColumns: ["id"];
|
|
28916
29520
|
}];
|
|
28917
29521
|
};
|
|
29522
|
+
customer_sticker_settings: {
|
|
29523
|
+
Row: {
|
|
29524
|
+
created_at: string;
|
|
29525
|
+
customer_key: string;
|
|
29526
|
+
height_mm: number;
|
|
29527
|
+
updated_at: string;
|
|
29528
|
+
width_mm: number;
|
|
29529
|
+
};
|
|
29530
|
+
Insert: {
|
|
29531
|
+
created_at?: string;
|
|
29532
|
+
customer_key: string;
|
|
29533
|
+
height_mm?: number;
|
|
29534
|
+
updated_at?: string;
|
|
29535
|
+
width_mm?: number;
|
|
29536
|
+
};
|
|
29537
|
+
Update: {
|
|
29538
|
+
created_at?: string;
|
|
29539
|
+
customer_key?: string;
|
|
29540
|
+
height_mm?: number;
|
|
29541
|
+
updated_at?: string;
|
|
29542
|
+
width_mm?: number;
|
|
29543
|
+
};
|
|
29544
|
+
Relationships: [];
|
|
29545
|
+
};
|
|
28918
29546
|
customer_trade_settings: {
|
|
28919
29547
|
Row: {
|
|
28920
29548
|
category: string;
|
|
@@ -32245,6 +32873,102 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
32245
32873
|
referencedColumns: ["id"];
|
|
32246
32874
|
}];
|
|
32247
32875
|
};
|
|
32876
|
+
floriday_api_log: {
|
|
32877
|
+
Row: {
|
|
32878
|
+
action: string | null;
|
|
32879
|
+
caller: string | null;
|
|
32880
|
+
connection_id: string | null;
|
|
32881
|
+
created_at: string;
|
|
32882
|
+
cursor_from: number | null;
|
|
32883
|
+
direction: string;
|
|
32884
|
+
duration_ms: number | null;
|
|
32885
|
+
environment: string | null;
|
|
32886
|
+
error: string | null;
|
|
32887
|
+
floriday_id: string | null;
|
|
32888
|
+
floriday_reference: string | null;
|
|
32889
|
+
http_status: number;
|
|
32890
|
+
id: string;
|
|
32891
|
+
item_count: number | null;
|
|
32892
|
+
kind: string | null;
|
|
32893
|
+
local_id: string | null;
|
|
32894
|
+
local_reference: string | null;
|
|
32895
|
+
method: string;
|
|
32896
|
+
module: string | null;
|
|
32897
|
+
ok: boolean;
|
|
32898
|
+
path: string;
|
|
32899
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
32900
|
+
resource_type: string | null;
|
|
32901
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
32902
|
+
write_log_id: string | null;
|
|
32903
|
+
};
|
|
32904
|
+
Insert: {
|
|
32905
|
+
action?: string | null;
|
|
32906
|
+
caller?: string | null;
|
|
32907
|
+
connection_id?: string | null;
|
|
32908
|
+
created_at?: string;
|
|
32909
|
+
cursor_from?: number | null;
|
|
32910
|
+
direction: string;
|
|
32911
|
+
duration_ms?: number | null;
|
|
32912
|
+
environment?: string | null;
|
|
32913
|
+
error?: string | null;
|
|
32914
|
+
floriday_id?: string | null;
|
|
32915
|
+
floriday_reference?: string | null;
|
|
32916
|
+
http_status?: number;
|
|
32917
|
+
id?: string;
|
|
32918
|
+
item_count?: number | null;
|
|
32919
|
+
kind?: string | null;
|
|
32920
|
+
local_id?: string | null;
|
|
32921
|
+
local_reference?: string | null;
|
|
32922
|
+
method: string;
|
|
32923
|
+
module?: string | null;
|
|
32924
|
+
ok?: boolean;
|
|
32925
|
+
path: string;
|
|
32926
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32927
|
+
resource_type?: string | null;
|
|
32928
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32929
|
+
write_log_id?: string | null;
|
|
32930
|
+
};
|
|
32931
|
+
Update: {
|
|
32932
|
+
action?: string | null;
|
|
32933
|
+
caller?: string | null;
|
|
32934
|
+
connection_id?: string | null;
|
|
32935
|
+
created_at?: string;
|
|
32936
|
+
cursor_from?: number | null;
|
|
32937
|
+
direction?: string;
|
|
32938
|
+
duration_ms?: number | null;
|
|
32939
|
+
environment?: string | null;
|
|
32940
|
+
error?: string | null;
|
|
32941
|
+
floriday_id?: string | null;
|
|
32942
|
+
floriday_reference?: string | null;
|
|
32943
|
+
http_status?: number;
|
|
32944
|
+
id?: string;
|
|
32945
|
+
item_count?: number | null;
|
|
32946
|
+
kind?: string | null;
|
|
32947
|
+
local_id?: string | null;
|
|
32948
|
+
local_reference?: string | null;
|
|
32949
|
+
method?: string;
|
|
32950
|
+
module?: string | null;
|
|
32951
|
+
ok?: boolean;
|
|
32952
|
+
path?: string;
|
|
32953
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
32954
|
+
resource_type?: string | null;
|
|
32955
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
32956
|
+
write_log_id?: string | null;
|
|
32957
|
+
};
|
|
32958
|
+
Relationships: [{
|
|
32959
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
32960
|
+
columns: ["connection_id"];
|
|
32961
|
+
isOneToOne: false;
|
|
32962
|
+
referencedRelation: "floriday_connections";
|
|
32963
|
+
referencedColumns: ["id"];
|
|
32964
|
+
}, {
|
|
32965
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
32966
|
+
columns: ["write_log_id"];
|
|
32967
|
+
isOneToOne: false;
|
|
32968
|
+
referencedRelation: "floriday_write_log";
|
|
32969
|
+
referencedColumns: ["id"];
|
|
32970
|
+
}];
|
|
32971
|
+
};
|
|
32248
32972
|
floriday_auction_letters_cache: {
|
|
32249
32973
|
Row: {
|
|
32250
32974
|
auction_letter_code: string;
|
|
@@ -33445,6 +34169,69 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
33445
34169
|
referencedColumns: ["id"];
|
|
33446
34170
|
}];
|
|
33447
34171
|
};
|
|
34172
|
+
floriday_link_templates: {
|
|
34173
|
+
Row: {
|
|
34174
|
+
created_at: string;
|
|
34175
|
+
floriday_url_template: string | null;
|
|
34176
|
+
is_active: boolean;
|
|
34177
|
+
label: string;
|
|
34178
|
+
local_url_template: string | null;
|
|
34179
|
+
resource_type: string;
|
|
34180
|
+
updated_at: string;
|
|
34181
|
+
};
|
|
34182
|
+
Insert: {
|
|
34183
|
+
created_at?: string;
|
|
34184
|
+
floriday_url_template?: string | null;
|
|
34185
|
+
is_active?: boolean;
|
|
34186
|
+
label: string;
|
|
34187
|
+
local_url_template?: string | null;
|
|
34188
|
+
resource_type: string;
|
|
34189
|
+
updated_at?: string;
|
|
34190
|
+
};
|
|
34191
|
+
Update: {
|
|
34192
|
+
created_at?: string;
|
|
34193
|
+
floriday_url_template?: string | null;
|
|
34194
|
+
is_active?: boolean;
|
|
34195
|
+
label?: string;
|
|
34196
|
+
local_url_template?: string | null;
|
|
34197
|
+
resource_type?: string;
|
|
34198
|
+
updated_at?: string;
|
|
34199
|
+
};
|
|
34200
|
+
Relationships: [];
|
|
34201
|
+
};
|
|
34202
|
+
floriday_log_retention: {
|
|
34203
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
34214
|
+
created_at?: string;
|
|
34215
|
+
direction?: string | null;
|
|
34216
|
+
id?: string;
|
|
34217
|
+
keep_failed_days?: number | null;
|
|
34218
|
+
keep_ok_days?: number | null;
|
|
34219
|
+
note?: string | null;
|
|
34220
|
+
resource_type?: string | null;
|
|
34221
|
+
updated_at?: string;
|
|
34222
|
+
};
|
|
34223
|
+
Update: {
|
|
34224
|
+
created_at?: string;
|
|
34225
|
+
direction?: string | null;
|
|
34226
|
+
id?: string;
|
|
34227
|
+
keep_failed_days?: number | null;
|
|
34228
|
+
keep_ok_days?: number | null;
|
|
34229
|
+
note?: string | null;
|
|
34230
|
+
resource_type?: string | null;
|
|
34231
|
+
updated_at?: string;
|
|
34232
|
+
};
|
|
34233
|
+
Relationships: [];
|
|
34234
|
+
};
|
|
33448
34235
|
floriday_logistic_labels_cache: {
|
|
33449
34236
|
Row: {
|
|
33450
34237
|
byte_size: number | null;
|
|
@@ -37570,6 +38357,69 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
37570
38357
|
};
|
|
37571
38358
|
Relationships: [];
|
|
37572
38359
|
};
|
|
38360
|
+
logistics_slip_shipping_note: {
|
|
38361
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
38402
|
+
attempts?: number;
|
|
38403
|
+
batch_key?: string | null;
|
|
38404
|
+
cart_id?: string | null;
|
|
38405
|
+
created_at?: string;
|
|
38406
|
+
error?: string | null;
|
|
38407
|
+
error_code?: string | null;
|
|
38408
|
+
fulfillment_order_id?: string | null;
|
|
38409
|
+
id?: string;
|
|
38410
|
+
locked_until?: string | null;
|
|
38411
|
+
next_attempt_at?: string | null;
|
|
38412
|
+
order_id?: string | null;
|
|
38413
|
+
order_number?: string | null;
|
|
38414
|
+
print_job_id?: string | null;
|
|
38415
|
+
printer_id?: string | null;
|
|
38416
|
+
retry_class?: string | null;
|
|
38417
|
+
slip_job_id?: string;
|
|
38418
|
+
status?: string;
|
|
38419
|
+
updated_at?: string;
|
|
38420
|
+
};
|
|
38421
|
+
Relationships: [];
|
|
38422
|
+
};
|
|
37573
38423
|
logistics_staff_planning: {
|
|
37574
38424
|
Row: {
|
|
37575
38425
|
created_at: string;
|
|
@@ -37921,6 +38771,111 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
37921
38771
|
};
|
|
37922
38772
|
Relationships: [];
|
|
37923
38773
|
};
|
|
38774
|
+
logistics_trace_events: {
|
|
38775
|
+
Row: {
|
|
38776
|
+
actor: string | null;
|
|
38777
|
+
attempts: number;
|
|
38778
|
+
cart_ref: string | null;
|
|
38779
|
+
created_at: string;
|
|
38780
|
+
db_action: string | null;
|
|
38781
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
38782
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
38783
|
+
db_record: string | null;
|
|
38784
|
+
db_table: string | null;
|
|
38785
|
+
decision: string | null;
|
|
38786
|
+
duration_ms: number | null;
|
|
38787
|
+
error: string | null;
|
|
38788
|
+
external_action: string | null;
|
|
38789
|
+
external_ref: string | null;
|
|
38790
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
38791
|
+
external_status: string | null;
|
|
38792
|
+
external_system: string | null;
|
|
38793
|
+
id: string;
|
|
38794
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
38795
|
+
next_attempt_at: string | null;
|
|
38796
|
+
order_ref: string | null;
|
|
38797
|
+
order_source: string | null;
|
|
38798
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
38799
|
+
phase: string;
|
|
38800
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
38801
|
+
reason: string | null;
|
|
38802
|
+
rule: string | null;
|
|
38803
|
+
slip_ref: string | null;
|
|
38804
|
+
status: string;
|
|
38805
|
+
step: string;
|
|
38806
|
+
trace_id: string;
|
|
38807
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
38808
|
+
};
|
|
38809
|
+
Insert: {
|
|
38810
|
+
actor?: string | null;
|
|
38811
|
+
attempts?: number;
|
|
38812
|
+
cart_ref?: string | null;
|
|
38813
|
+
created_at?: string;
|
|
38814
|
+
db_action?: string | null;
|
|
38815
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38816
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38817
|
+
db_record?: string | null;
|
|
38818
|
+
db_table?: string | null;
|
|
38819
|
+
decision?: string | null;
|
|
38820
|
+
duration_ms?: number | null;
|
|
38821
|
+
error?: string | null;
|
|
38822
|
+
external_action?: string | null;
|
|
38823
|
+
external_ref?: string | null;
|
|
38824
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38825
|
+
external_status?: string | null;
|
|
38826
|
+
external_system?: string | null;
|
|
38827
|
+
id?: string;
|
|
38828
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38829
|
+
next_attempt_at?: string | null;
|
|
38830
|
+
order_ref?: string | null;
|
|
38831
|
+
order_source?: string | null;
|
|
38832
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38833
|
+
phase: string;
|
|
38834
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38835
|
+
reason?: string | null;
|
|
38836
|
+
rule?: string | null;
|
|
38837
|
+
slip_ref?: string | null;
|
|
38838
|
+
status: string;
|
|
38839
|
+
step: string;
|
|
38840
|
+
trace_id?: string;
|
|
38841
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38842
|
+
};
|
|
38843
|
+
Update: {
|
|
38844
|
+
actor?: string | null;
|
|
38845
|
+
attempts?: number;
|
|
38846
|
+
cart_ref?: string | null;
|
|
38847
|
+
created_at?: string;
|
|
38848
|
+
db_action?: string | null;
|
|
38849
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
38850
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
38851
|
+
db_record?: string | null;
|
|
38852
|
+
db_table?: string | null;
|
|
38853
|
+
decision?: string | null;
|
|
38854
|
+
duration_ms?: number | null;
|
|
38855
|
+
error?: string | null;
|
|
38856
|
+
external_action?: string | null;
|
|
38857
|
+
external_ref?: string | null;
|
|
38858
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
38859
|
+
external_status?: string | null;
|
|
38860
|
+
external_system?: string | null;
|
|
38861
|
+
id?: string;
|
|
38862
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
38863
|
+
next_attempt_at?: string | null;
|
|
38864
|
+
order_ref?: string | null;
|
|
38865
|
+
order_source?: string | null;
|
|
38866
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
38867
|
+
phase?: string;
|
|
38868
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
38869
|
+
reason?: string | null;
|
|
38870
|
+
rule?: string | null;
|
|
38871
|
+
slip_ref?: string | null;
|
|
38872
|
+
status?: string;
|
|
38873
|
+
step?: string;
|
|
38874
|
+
trace_id?: string;
|
|
38875
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
38876
|
+
};
|
|
38877
|
+
Relationships: [];
|
|
38878
|
+
};
|
|
37924
38879
|
logistics_variables: {
|
|
37925
38880
|
Row: {
|
|
37926
38881
|
created_at: string;
|
|
@@ -48493,6 +49448,15 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
48493
49448
|
Args: never;
|
|
48494
49449
|
Returns: boolean;
|
|
48495
49450
|
};
|
|
49451
|
+
cancel_open_print_jobs: {
|
|
49452
|
+
Args: {
|
|
49453
|
+
_cutoff: string;
|
|
49454
|
+
};
|
|
49455
|
+
Returns: {
|
|
49456
|
+
extern_job_id: string;
|
|
49457
|
+
id: string;
|
|
49458
|
+
}[];
|
|
49459
|
+
};
|
|
48496
49460
|
check_offer_product_available_stock: {
|
|
48497
49461
|
Args: {
|
|
48498
49462
|
p_campaign_product_id: string;
|
|
@@ -50105,6 +51069,12 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50105
51069
|
};
|
|
50106
51070
|
Returns: import("../integrations/supabase/types").Json;
|
|
50107
51071
|
};
|
|
51072
|
+
logistics_cart_plan_status_core: {
|
|
51073
|
+
Args: {
|
|
51074
|
+
p_ref: string;
|
|
51075
|
+
};
|
|
51076
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51077
|
+
};
|
|
50108
51078
|
logistics_cart_release_reason: {
|
|
50109
51079
|
Args: {
|
|
50110
51080
|
p_cart_id: string;
|
|
@@ -50167,6 +51137,10 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50167
51137
|
unit_ref: string;
|
|
50168
51138
|
}[];
|
|
50169
51139
|
};
|
|
51140
|
+
logistics_carts_per_print: {
|
|
51141
|
+
Args: never;
|
|
51142
|
+
Returns: number;
|
|
51143
|
+
};
|
|
50170
51144
|
logistics_check_order_allowed: {
|
|
50171
51145
|
Args: {
|
|
50172
51146
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -50533,6 +51507,12 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50533
51507
|
};
|
|
50534
51508
|
Returns: import("../integrations/supabase/types").Json;
|
|
50535
51509
|
};
|
|
51510
|
+
logistics_ensure_shipping_notes: {
|
|
51511
|
+
Args: {
|
|
51512
|
+
p_limit?: number;
|
|
51513
|
+
};
|
|
51514
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51515
|
+
};
|
|
50536
51516
|
logistics_fail_task: {
|
|
50537
51517
|
Args: {
|
|
50538
51518
|
p_error: string;
|
|
@@ -50578,6 +51558,10 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50578
51558
|
isSetofReturn: false;
|
|
50579
51559
|
};
|
|
50580
51560
|
};
|
|
51561
|
+
logistics_fix_wrong_shipping_notes: {
|
|
51562
|
+
Args: never;
|
|
51563
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
51564
|
+
};
|
|
50581
51565
|
logistics_floriday_cart_plan: {
|
|
50582
51566
|
Args: {
|
|
50583
51567
|
p_order_id: string;
|
|
@@ -50605,6 +51589,10 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50605
51589
|
revision: number;
|
|
50606
51590
|
}[];
|
|
50607
51591
|
};
|
|
51592
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
51593
|
+
Args: never;
|
|
51594
|
+
Returns: boolean;
|
|
51595
|
+
};
|
|
50608
51596
|
logistics_floriday_finish_push: {
|
|
50609
51597
|
Args: {
|
|
50610
51598
|
_error?: string;
|
|
@@ -50848,6 +51836,12 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50848
51836
|
};
|
|
50849
51837
|
Returns: string;
|
|
50850
51838
|
};
|
|
51839
|
+
logistics_payload_is_floriday: {
|
|
51840
|
+
Args: {
|
|
51841
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
51842
|
+
};
|
|
51843
|
+
Returns: boolean;
|
|
51844
|
+
};
|
|
50851
51845
|
logistics_pick_agenda: {
|
|
50852
51846
|
Args: {
|
|
50853
51847
|
p_from?: string;
|
|
@@ -50970,6 +51964,20 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50970
51964
|
Args: never;
|
|
50971
51965
|
Returns: undefined;
|
|
50972
51966
|
};
|
|
51967
|
+
logistics_plan_progress: {
|
|
51968
|
+
Args: {
|
|
51969
|
+
p_refs: string[];
|
|
51970
|
+
};
|
|
51971
|
+
Returns: {
|
|
51972
|
+
cart_plan_ready: boolean;
|
|
51973
|
+
cart_plan_reason: string;
|
|
51974
|
+
cart_plan_released: boolean;
|
|
51975
|
+
plan_progress: number;
|
|
51976
|
+
plan_state: string;
|
|
51977
|
+
plan_state_since: string;
|
|
51978
|
+
unit_ref: string;
|
|
51979
|
+
}[];
|
|
51980
|
+
};
|
|
50973
51981
|
logistics_plan_prune: {
|
|
50974
51982
|
Args: never;
|
|
50975
51983
|
Returns: number;
|
|
@@ -50991,6 +51999,12 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
50991
51999
|
};
|
|
50992
52000
|
Returns: number;
|
|
50993
52001
|
};
|
|
52002
|
+
logistics_plan_state_for: {
|
|
52003
|
+
Args: {
|
|
52004
|
+
p_ref: string;
|
|
52005
|
+
};
|
|
52006
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52007
|
+
};
|
|
50994
52008
|
logistics_prepare_pick_documents: {
|
|
50995
52009
|
Args: {
|
|
50996
52010
|
p_limit?: number;
|
|
@@ -51049,6 +52063,12 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
51049
52063
|
};
|
|
51050
52064
|
Returns: import("../integrations/supabase/types").Json;
|
|
51051
52065
|
};
|
|
52066
|
+
logistics_refresh_plan_state: {
|
|
52067
|
+
Args: {
|
|
52068
|
+
p_limit?: number;
|
|
52069
|
+
};
|
|
52070
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52071
|
+
};
|
|
51052
52072
|
logistics_replan_all: {
|
|
51053
52073
|
Args: {
|
|
51054
52074
|
p_reason?: string;
|
|
@@ -51217,6 +52237,74 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
51217
52237
|
};
|
|
51218
52238
|
Returns: import("../integrations/supabase/types").Json;
|
|
51219
52239
|
};
|
|
52240
|
+
logistics_shipping_note_job_for_slip: {
|
|
52241
|
+
Args: {
|
|
52242
|
+
_slip_job_id: string;
|
|
52243
|
+
};
|
|
52244
|
+
Returns: string;
|
|
52245
|
+
};
|
|
52246
|
+
logistics_shipping_notes_wake_all: {
|
|
52247
|
+
Args: never;
|
|
52248
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52249
|
+
};
|
|
52250
|
+
logistics_slip_is_floriday: {
|
|
52251
|
+
Args: {
|
|
52252
|
+
_slip_job_id: string;
|
|
52253
|
+
};
|
|
52254
|
+
Returns: boolean;
|
|
52255
|
+
};
|
|
52256
|
+
logistics_slip_note_claim: {
|
|
52257
|
+
Args: {
|
|
52258
|
+
_lease_seconds?: number;
|
|
52259
|
+
_limit?: number;
|
|
52260
|
+
};
|
|
52261
|
+
Returns: {
|
|
52262
|
+
attempts: number;
|
|
52263
|
+
batch_key: string | null;
|
|
52264
|
+
cart_id: string | null;
|
|
52265
|
+
created_at: string;
|
|
52266
|
+
error: string | null;
|
|
52267
|
+
error_code: string | null;
|
|
52268
|
+
fulfillment_order_id: string | null;
|
|
52269
|
+
id: string;
|
|
52270
|
+
locked_until: string | null;
|
|
52271
|
+
next_attempt_at: string | null;
|
|
52272
|
+
order_id: string | null;
|
|
52273
|
+
order_number: string | null;
|
|
52274
|
+
print_job_id: string | null;
|
|
52275
|
+
printer_id: string | null;
|
|
52276
|
+
retry_class: string | null;
|
|
52277
|
+
slip_job_id: string;
|
|
52278
|
+
status: string;
|
|
52279
|
+
updated_at: string;
|
|
52280
|
+
}[];
|
|
52281
|
+
SetofOptions: {
|
|
52282
|
+
from: "*";
|
|
52283
|
+
to: "logistics_slip_shipping_note";
|
|
52284
|
+
isOneToOne: false;
|
|
52285
|
+
isSetofReturn: true;
|
|
52286
|
+
};
|
|
52287
|
+
};
|
|
52288
|
+
logistics_slip_note_finish: {
|
|
52289
|
+
Args: {
|
|
52290
|
+
_error?: string;
|
|
52291
|
+
_error_code?: string;
|
|
52292
|
+
_fulfillment_order_id?: string;
|
|
52293
|
+
_id: string;
|
|
52294
|
+
_ok: boolean;
|
|
52295
|
+
_print_job_id?: string;
|
|
52296
|
+
_status?: string;
|
|
52297
|
+
};
|
|
52298
|
+
Returns: undefined;
|
|
52299
|
+
};
|
|
52300
|
+
logistics_slip_note_keep_waiting: {
|
|
52301
|
+
Args: {
|
|
52302
|
+
_class?: string;
|
|
52303
|
+
_id: string;
|
|
52304
|
+
_reason: string;
|
|
52305
|
+
};
|
|
52306
|
+
Returns: undefined;
|
|
52307
|
+
};
|
|
51220
52308
|
logistics_sticker_follows_slip: {
|
|
51221
52309
|
Args: never;
|
|
51222
52310
|
Returns: boolean;
|
|
@@ -51271,6 +52359,40 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
51271
52359
|
name: string;
|
|
51272
52360
|
}[];
|
|
51273
52361
|
};
|
|
52362
|
+
logistics_trace: {
|
|
52363
|
+
Args: {
|
|
52364
|
+
p: import("../integrations/supabase/types").Json;
|
|
52365
|
+
};
|
|
52366
|
+
Returns: string;
|
|
52367
|
+
};
|
|
52368
|
+
logistics_trace_batch: {
|
|
52369
|
+
Args: {
|
|
52370
|
+
p: import("../integrations/supabase/types").Json;
|
|
52371
|
+
};
|
|
52372
|
+
Returns: number;
|
|
52373
|
+
};
|
|
52374
|
+
logistics_trace_orders: {
|
|
52375
|
+
Args: {
|
|
52376
|
+
p_limit?: number;
|
|
52377
|
+
p_search?: string;
|
|
52378
|
+
p_since?: string;
|
|
52379
|
+
p_status?: string;
|
|
52380
|
+
};
|
|
52381
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52382
|
+
};
|
|
52383
|
+
logistics_trace_redact: {
|
|
52384
|
+
Args: {
|
|
52385
|
+
p: import("../integrations/supabase/types").Json;
|
|
52386
|
+
};
|
|
52387
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52388
|
+
};
|
|
52389
|
+
logistics_trace_timeline: {
|
|
52390
|
+
Args: {
|
|
52391
|
+
p_limit?: number;
|
|
52392
|
+
p_order_ref: string;
|
|
52393
|
+
};
|
|
52394
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
52395
|
+
};
|
|
51274
52396
|
logistics_upsert_task: {
|
|
51275
52397
|
Args: {
|
|
51276
52398
|
p_buffer_ref: string;
|
|
@@ -52312,6 +53434,10 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
52312
53434
|
};
|
|
52313
53435
|
Returns: undefined;
|
|
52314
53436
|
};
|
|
53437
|
+
prune_floriday_api_log: {
|
|
53438
|
+
Args: never;
|
|
53439
|
+
Returns: number;
|
|
53440
|
+
};
|
|
52315
53441
|
quote_create_from_source: {
|
|
52316
53442
|
Args: {
|
|
52317
53443
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -53188,6 +54314,10 @@ export declare const getLocalEffectivePrice: import("@tanstack/start-client-core
|
|
|
53188
54314
|
Args: never;
|
|
53189
54315
|
Returns: string;
|
|
53190
54316
|
};
|
|
54317
|
+
voorraad_cleanup_old_rows: {
|
|
54318
|
+
Args: never;
|
|
54319
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
54320
|
+
};
|
|
53191
54321
|
wake_print_queue: {
|
|
53192
54322
|
Args: {
|
|
53193
54323
|
_min_interval_ms?: number;
|
|
@@ -55495,6 +56625,45 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
55495
56625
|
};
|
|
55496
56626
|
Relationships: [];
|
|
55497
56627
|
};
|
|
56628
|
+
customer_product_stickers: {
|
|
56629
|
+
Row: {
|
|
56630
|
+
created_at: string;
|
|
56631
|
+
customer_key: string;
|
|
56632
|
+
file_name: string;
|
|
56633
|
+
file_path: string;
|
|
56634
|
+
file_size: number | null;
|
|
56635
|
+
id: string;
|
|
56636
|
+
mime_type: string | null;
|
|
56637
|
+
trade_item_key: string;
|
|
56638
|
+
updated_at: string;
|
|
56639
|
+
uploaded_by: string | null;
|
|
56640
|
+
};
|
|
56641
|
+
Insert: {
|
|
56642
|
+
created_at?: string;
|
|
56643
|
+
customer_key: string;
|
|
56644
|
+
file_name: string;
|
|
56645
|
+
file_path: string;
|
|
56646
|
+
file_size?: number | null;
|
|
56647
|
+
id?: string;
|
|
56648
|
+
mime_type?: string | null;
|
|
56649
|
+
trade_item_key: string;
|
|
56650
|
+
updated_at?: string;
|
|
56651
|
+
uploaded_by?: string | null;
|
|
56652
|
+
};
|
|
56653
|
+
Update: {
|
|
56654
|
+
created_at?: string;
|
|
56655
|
+
customer_key?: string;
|
|
56656
|
+
file_name?: string;
|
|
56657
|
+
file_path?: string;
|
|
56658
|
+
file_size?: number | null;
|
|
56659
|
+
id?: string;
|
|
56660
|
+
mime_type?: string | null;
|
|
56661
|
+
trade_item_key?: string;
|
|
56662
|
+
updated_at?: string;
|
|
56663
|
+
uploaded_by?: string | null;
|
|
56664
|
+
};
|
|
56665
|
+
Relationships: [];
|
|
56666
|
+
};
|
|
55498
56667
|
customer_selected_assortment: {
|
|
55499
56668
|
Row: {
|
|
55500
56669
|
article_number: string | null;
|
|
@@ -55543,6 +56712,30 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
55543
56712
|
referencedColumns: ["id"];
|
|
55544
56713
|
}];
|
|
55545
56714
|
};
|
|
56715
|
+
customer_sticker_settings: {
|
|
56716
|
+
Row: {
|
|
56717
|
+
created_at: string;
|
|
56718
|
+
customer_key: string;
|
|
56719
|
+
height_mm: number;
|
|
56720
|
+
updated_at: string;
|
|
56721
|
+
width_mm: number;
|
|
56722
|
+
};
|
|
56723
|
+
Insert: {
|
|
56724
|
+
created_at?: string;
|
|
56725
|
+
customer_key: string;
|
|
56726
|
+
height_mm?: number;
|
|
56727
|
+
updated_at?: string;
|
|
56728
|
+
width_mm?: number;
|
|
56729
|
+
};
|
|
56730
|
+
Update: {
|
|
56731
|
+
created_at?: string;
|
|
56732
|
+
customer_key?: string;
|
|
56733
|
+
height_mm?: number;
|
|
56734
|
+
updated_at?: string;
|
|
56735
|
+
width_mm?: number;
|
|
56736
|
+
};
|
|
56737
|
+
Relationships: [];
|
|
56738
|
+
};
|
|
55546
56739
|
customer_trade_settings: {
|
|
55547
56740
|
Row: {
|
|
55548
56741
|
category: string;
|
|
@@ -58873,6 +60066,102 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
58873
60066
|
referencedColumns: ["id"];
|
|
58874
60067
|
}];
|
|
58875
60068
|
};
|
|
60069
|
+
floriday_api_log: {
|
|
60070
|
+
Row: {
|
|
60071
|
+
action: string | null;
|
|
60072
|
+
caller: string | null;
|
|
60073
|
+
connection_id: string | null;
|
|
60074
|
+
created_at: string;
|
|
60075
|
+
cursor_from: number | null;
|
|
60076
|
+
direction: string;
|
|
60077
|
+
duration_ms: number | null;
|
|
60078
|
+
environment: string | null;
|
|
60079
|
+
error: string | null;
|
|
60080
|
+
floriday_id: string | null;
|
|
60081
|
+
floriday_reference: string | null;
|
|
60082
|
+
http_status: number;
|
|
60083
|
+
id: string;
|
|
60084
|
+
item_count: number | null;
|
|
60085
|
+
kind: string | null;
|
|
60086
|
+
local_id: string | null;
|
|
60087
|
+
local_reference: string | null;
|
|
60088
|
+
method: string;
|
|
60089
|
+
module: string | null;
|
|
60090
|
+
ok: boolean;
|
|
60091
|
+
path: string;
|
|
60092
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
60093
|
+
resource_type: string | null;
|
|
60094
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
60095
|
+
write_log_id: string | null;
|
|
60096
|
+
};
|
|
60097
|
+
Insert: {
|
|
60098
|
+
action?: string | null;
|
|
60099
|
+
caller?: string | null;
|
|
60100
|
+
connection_id?: string | null;
|
|
60101
|
+
created_at?: string;
|
|
60102
|
+
cursor_from?: number | null;
|
|
60103
|
+
direction: string;
|
|
60104
|
+
duration_ms?: number | null;
|
|
60105
|
+
environment?: string | null;
|
|
60106
|
+
error?: string | null;
|
|
60107
|
+
floriday_id?: string | null;
|
|
60108
|
+
floriday_reference?: string | null;
|
|
60109
|
+
http_status?: number;
|
|
60110
|
+
id?: string;
|
|
60111
|
+
item_count?: number | null;
|
|
60112
|
+
kind?: string | null;
|
|
60113
|
+
local_id?: string | null;
|
|
60114
|
+
local_reference?: string | null;
|
|
60115
|
+
method: string;
|
|
60116
|
+
module?: string | null;
|
|
60117
|
+
ok?: boolean;
|
|
60118
|
+
path: string;
|
|
60119
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60120
|
+
resource_type?: string | null;
|
|
60121
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60122
|
+
write_log_id?: string | null;
|
|
60123
|
+
};
|
|
60124
|
+
Update: {
|
|
60125
|
+
action?: string | null;
|
|
60126
|
+
caller?: string | null;
|
|
60127
|
+
connection_id?: string | null;
|
|
60128
|
+
created_at?: string;
|
|
60129
|
+
cursor_from?: number | null;
|
|
60130
|
+
direction?: string;
|
|
60131
|
+
duration_ms?: number | null;
|
|
60132
|
+
environment?: string | null;
|
|
60133
|
+
error?: string | null;
|
|
60134
|
+
floriday_id?: string | null;
|
|
60135
|
+
floriday_reference?: string | null;
|
|
60136
|
+
http_status?: number;
|
|
60137
|
+
id?: string;
|
|
60138
|
+
item_count?: number | null;
|
|
60139
|
+
kind?: string | null;
|
|
60140
|
+
local_id?: string | null;
|
|
60141
|
+
local_reference?: string | null;
|
|
60142
|
+
method?: string;
|
|
60143
|
+
module?: string | null;
|
|
60144
|
+
ok?: boolean;
|
|
60145
|
+
path?: string;
|
|
60146
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
60147
|
+
resource_type?: string | null;
|
|
60148
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
60149
|
+
write_log_id?: string | null;
|
|
60150
|
+
};
|
|
60151
|
+
Relationships: [{
|
|
60152
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
60153
|
+
columns: ["connection_id"];
|
|
60154
|
+
isOneToOne: false;
|
|
60155
|
+
referencedRelation: "floriday_connections";
|
|
60156
|
+
referencedColumns: ["id"];
|
|
60157
|
+
}, {
|
|
60158
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
60159
|
+
columns: ["write_log_id"];
|
|
60160
|
+
isOneToOne: false;
|
|
60161
|
+
referencedRelation: "floriday_write_log";
|
|
60162
|
+
referencedColumns: ["id"];
|
|
60163
|
+
}];
|
|
60164
|
+
};
|
|
58876
60165
|
floriday_auction_letters_cache: {
|
|
58877
60166
|
Row: {
|
|
58878
60167
|
auction_letter_code: string;
|
|
@@ -60073,6 +61362,69 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
60073
61362
|
referencedColumns: ["id"];
|
|
60074
61363
|
}];
|
|
60075
61364
|
};
|
|
61365
|
+
floriday_link_templates: {
|
|
61366
|
+
Row: {
|
|
61367
|
+
created_at: string;
|
|
61368
|
+
floriday_url_template: string | null;
|
|
61369
|
+
is_active: boolean;
|
|
61370
|
+
label: string;
|
|
61371
|
+
local_url_template: string | null;
|
|
61372
|
+
resource_type: string;
|
|
61373
|
+
updated_at: string;
|
|
61374
|
+
};
|
|
61375
|
+
Insert: {
|
|
61376
|
+
created_at?: string;
|
|
61377
|
+
floriday_url_template?: string | null;
|
|
61378
|
+
is_active?: boolean;
|
|
61379
|
+
label: string;
|
|
61380
|
+
local_url_template?: string | null;
|
|
61381
|
+
resource_type: string;
|
|
61382
|
+
updated_at?: string;
|
|
61383
|
+
};
|
|
61384
|
+
Update: {
|
|
61385
|
+
created_at?: string;
|
|
61386
|
+
floriday_url_template?: string | null;
|
|
61387
|
+
is_active?: boolean;
|
|
61388
|
+
label?: string;
|
|
61389
|
+
local_url_template?: string | null;
|
|
61390
|
+
resource_type?: string;
|
|
61391
|
+
updated_at?: string;
|
|
61392
|
+
};
|
|
61393
|
+
Relationships: [];
|
|
61394
|
+
};
|
|
61395
|
+
floriday_log_retention: {
|
|
61396
|
+
Row: {
|
|
61397
|
+
created_at: string;
|
|
61398
|
+
direction: string | null;
|
|
61399
|
+
id: string;
|
|
61400
|
+
keep_failed_days: number | null;
|
|
61401
|
+
keep_ok_days: number | null;
|
|
61402
|
+
note: string | null;
|
|
61403
|
+
resource_type: string | null;
|
|
61404
|
+
updated_at: string;
|
|
61405
|
+
};
|
|
61406
|
+
Insert: {
|
|
61407
|
+
created_at?: string;
|
|
61408
|
+
direction?: string | null;
|
|
61409
|
+
id?: string;
|
|
61410
|
+
keep_failed_days?: number | null;
|
|
61411
|
+
keep_ok_days?: number | null;
|
|
61412
|
+
note?: string | null;
|
|
61413
|
+
resource_type?: string | null;
|
|
61414
|
+
updated_at?: string;
|
|
61415
|
+
};
|
|
61416
|
+
Update: {
|
|
61417
|
+
created_at?: string;
|
|
61418
|
+
direction?: string | null;
|
|
61419
|
+
id?: string;
|
|
61420
|
+
keep_failed_days?: number | null;
|
|
61421
|
+
keep_ok_days?: number | null;
|
|
61422
|
+
note?: string | null;
|
|
61423
|
+
resource_type?: string | null;
|
|
61424
|
+
updated_at?: string;
|
|
61425
|
+
};
|
|
61426
|
+
Relationships: [];
|
|
61427
|
+
};
|
|
60076
61428
|
floriday_logistic_labels_cache: {
|
|
60077
61429
|
Row: {
|
|
60078
61430
|
byte_size: number | null;
|
|
@@ -64198,6 +65550,69 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
64198
65550
|
};
|
|
64199
65551
|
Relationships: [];
|
|
64200
65552
|
};
|
|
65553
|
+
logistics_slip_shipping_note: {
|
|
65554
|
+
Row: {
|
|
65555
|
+
attempts: number;
|
|
65556
|
+
batch_key: string | null;
|
|
65557
|
+
cart_id: string | null;
|
|
65558
|
+
created_at: string;
|
|
65559
|
+
error: string | null;
|
|
65560
|
+
error_code: string | null;
|
|
65561
|
+
fulfillment_order_id: string | null;
|
|
65562
|
+
id: string;
|
|
65563
|
+
locked_until: string | null;
|
|
65564
|
+
next_attempt_at: string | null;
|
|
65565
|
+
order_id: string | null;
|
|
65566
|
+
order_number: string | null;
|
|
65567
|
+
print_job_id: string | null;
|
|
65568
|
+
printer_id: string | null;
|
|
65569
|
+
retry_class: string | null;
|
|
65570
|
+
slip_job_id: string;
|
|
65571
|
+
status: string;
|
|
65572
|
+
updated_at: string;
|
|
65573
|
+
};
|
|
65574
|
+
Insert: {
|
|
65575
|
+
attempts?: number;
|
|
65576
|
+
batch_key?: string | null;
|
|
65577
|
+
cart_id?: string | null;
|
|
65578
|
+
created_at?: string;
|
|
65579
|
+
error?: string | null;
|
|
65580
|
+
error_code?: string | null;
|
|
65581
|
+
fulfillment_order_id?: string | null;
|
|
65582
|
+
id?: string;
|
|
65583
|
+
locked_until?: string | null;
|
|
65584
|
+
next_attempt_at?: string | null;
|
|
65585
|
+
order_id?: string | null;
|
|
65586
|
+
order_number?: string | null;
|
|
65587
|
+
print_job_id?: string | null;
|
|
65588
|
+
printer_id?: string | null;
|
|
65589
|
+
retry_class?: string | null;
|
|
65590
|
+
slip_job_id: string;
|
|
65591
|
+
status?: string;
|
|
65592
|
+
updated_at?: string;
|
|
65593
|
+
};
|
|
65594
|
+
Update: {
|
|
65595
|
+
attempts?: number;
|
|
65596
|
+
batch_key?: string | null;
|
|
65597
|
+
cart_id?: string | null;
|
|
65598
|
+
created_at?: string;
|
|
65599
|
+
error?: string | null;
|
|
65600
|
+
error_code?: string | null;
|
|
65601
|
+
fulfillment_order_id?: string | null;
|
|
65602
|
+
id?: string;
|
|
65603
|
+
locked_until?: string | null;
|
|
65604
|
+
next_attempt_at?: string | null;
|
|
65605
|
+
order_id?: string | null;
|
|
65606
|
+
order_number?: string | null;
|
|
65607
|
+
print_job_id?: string | null;
|
|
65608
|
+
printer_id?: string | null;
|
|
65609
|
+
retry_class?: string | null;
|
|
65610
|
+
slip_job_id?: string;
|
|
65611
|
+
status?: string;
|
|
65612
|
+
updated_at?: string;
|
|
65613
|
+
};
|
|
65614
|
+
Relationships: [];
|
|
65615
|
+
};
|
|
64201
65616
|
logistics_staff_planning: {
|
|
64202
65617
|
Row: {
|
|
64203
65618
|
created_at: string;
|
|
@@ -64549,6 +65964,111 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
64549
65964
|
};
|
|
64550
65965
|
Relationships: [];
|
|
64551
65966
|
};
|
|
65967
|
+
logistics_trace_events: {
|
|
65968
|
+
Row: {
|
|
65969
|
+
actor: string | null;
|
|
65970
|
+
attempts: number;
|
|
65971
|
+
cart_ref: string | null;
|
|
65972
|
+
created_at: string;
|
|
65973
|
+
db_action: string | null;
|
|
65974
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
65975
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
65976
|
+
db_record: string | null;
|
|
65977
|
+
db_table: string | null;
|
|
65978
|
+
decision: string | null;
|
|
65979
|
+
duration_ms: number | null;
|
|
65980
|
+
error: string | null;
|
|
65981
|
+
external_action: string | null;
|
|
65982
|
+
external_ref: string | null;
|
|
65983
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
65984
|
+
external_status: string | null;
|
|
65985
|
+
external_system: string | null;
|
|
65986
|
+
id: string;
|
|
65987
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
65988
|
+
next_attempt_at: string | null;
|
|
65989
|
+
order_ref: string | null;
|
|
65990
|
+
order_source: string | null;
|
|
65991
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
65992
|
+
phase: string;
|
|
65993
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
65994
|
+
reason: string | null;
|
|
65995
|
+
rule: string | null;
|
|
65996
|
+
slip_ref: string | null;
|
|
65997
|
+
status: string;
|
|
65998
|
+
step: string;
|
|
65999
|
+
trace_id: string;
|
|
66000
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
66001
|
+
};
|
|
66002
|
+
Insert: {
|
|
66003
|
+
actor?: string | null;
|
|
66004
|
+
attempts?: number;
|
|
66005
|
+
cart_ref?: string | null;
|
|
66006
|
+
created_at?: string;
|
|
66007
|
+
db_action?: string | null;
|
|
66008
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66009
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66010
|
+
db_record?: string | null;
|
|
66011
|
+
db_table?: string | null;
|
|
66012
|
+
decision?: string | null;
|
|
66013
|
+
duration_ms?: number | null;
|
|
66014
|
+
error?: string | null;
|
|
66015
|
+
external_action?: string | null;
|
|
66016
|
+
external_ref?: string | null;
|
|
66017
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66018
|
+
external_status?: string | null;
|
|
66019
|
+
external_system?: string | null;
|
|
66020
|
+
id?: string;
|
|
66021
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66022
|
+
next_attempt_at?: string | null;
|
|
66023
|
+
order_ref?: string | null;
|
|
66024
|
+
order_source?: string | null;
|
|
66025
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66026
|
+
phase: string;
|
|
66027
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66028
|
+
reason?: string | null;
|
|
66029
|
+
rule?: string | null;
|
|
66030
|
+
slip_ref?: string | null;
|
|
66031
|
+
status: string;
|
|
66032
|
+
step: string;
|
|
66033
|
+
trace_id?: string;
|
|
66034
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66035
|
+
};
|
|
66036
|
+
Update: {
|
|
66037
|
+
actor?: string | null;
|
|
66038
|
+
attempts?: number;
|
|
66039
|
+
cart_ref?: string | null;
|
|
66040
|
+
created_at?: string;
|
|
66041
|
+
db_action?: string | null;
|
|
66042
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
66043
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
66044
|
+
db_record?: string | null;
|
|
66045
|
+
db_table?: string | null;
|
|
66046
|
+
decision?: string | null;
|
|
66047
|
+
duration_ms?: number | null;
|
|
66048
|
+
error?: string | null;
|
|
66049
|
+
external_action?: string | null;
|
|
66050
|
+
external_ref?: string | null;
|
|
66051
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
66052
|
+
external_status?: string | null;
|
|
66053
|
+
external_system?: string | null;
|
|
66054
|
+
id?: string;
|
|
66055
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
66056
|
+
next_attempt_at?: string | null;
|
|
66057
|
+
order_ref?: string | null;
|
|
66058
|
+
order_source?: string | null;
|
|
66059
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
66060
|
+
phase?: string;
|
|
66061
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
66062
|
+
reason?: string | null;
|
|
66063
|
+
rule?: string | null;
|
|
66064
|
+
slip_ref?: string | null;
|
|
66065
|
+
status?: string;
|
|
66066
|
+
step?: string;
|
|
66067
|
+
trace_id?: string;
|
|
66068
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
66069
|
+
};
|
|
66070
|
+
Relationships: [];
|
|
66071
|
+
};
|
|
64552
66072
|
logistics_variables: {
|
|
64553
66073
|
Row: {
|
|
64554
66074
|
created_at: string;
|
|
@@ -75121,6 +76641,15 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
75121
76641
|
Args: never;
|
|
75122
76642
|
Returns: boolean;
|
|
75123
76643
|
};
|
|
76644
|
+
cancel_open_print_jobs: {
|
|
76645
|
+
Args: {
|
|
76646
|
+
_cutoff: string;
|
|
76647
|
+
};
|
|
76648
|
+
Returns: {
|
|
76649
|
+
extern_job_id: string;
|
|
76650
|
+
id: string;
|
|
76651
|
+
}[];
|
|
76652
|
+
};
|
|
75124
76653
|
check_offer_product_available_stock: {
|
|
75125
76654
|
Args: {
|
|
75126
76655
|
p_campaign_product_id: string;
|
|
@@ -76733,6 +78262,12 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
76733
78262
|
};
|
|
76734
78263
|
Returns: import("../integrations/supabase/types").Json;
|
|
76735
78264
|
};
|
|
78265
|
+
logistics_cart_plan_status_core: {
|
|
78266
|
+
Args: {
|
|
78267
|
+
p_ref: string;
|
|
78268
|
+
};
|
|
78269
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78270
|
+
};
|
|
76736
78271
|
logistics_cart_release_reason: {
|
|
76737
78272
|
Args: {
|
|
76738
78273
|
p_cart_id: string;
|
|
@@ -76795,6 +78330,10 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
76795
78330
|
unit_ref: string;
|
|
76796
78331
|
}[];
|
|
76797
78332
|
};
|
|
78333
|
+
logistics_carts_per_print: {
|
|
78334
|
+
Args: never;
|
|
78335
|
+
Returns: number;
|
|
78336
|
+
};
|
|
76798
78337
|
logistics_check_order_allowed: {
|
|
76799
78338
|
Args: {
|
|
76800
78339
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -77161,6 +78700,12 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77161
78700
|
};
|
|
77162
78701
|
Returns: import("../integrations/supabase/types").Json;
|
|
77163
78702
|
};
|
|
78703
|
+
logistics_ensure_shipping_notes: {
|
|
78704
|
+
Args: {
|
|
78705
|
+
p_limit?: number;
|
|
78706
|
+
};
|
|
78707
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78708
|
+
};
|
|
77164
78709
|
logistics_fail_task: {
|
|
77165
78710
|
Args: {
|
|
77166
78711
|
p_error: string;
|
|
@@ -77206,6 +78751,10 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77206
78751
|
isSetofReturn: false;
|
|
77207
78752
|
};
|
|
77208
78753
|
};
|
|
78754
|
+
logistics_fix_wrong_shipping_notes: {
|
|
78755
|
+
Args: never;
|
|
78756
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
78757
|
+
};
|
|
77209
78758
|
logistics_floriday_cart_plan: {
|
|
77210
78759
|
Args: {
|
|
77211
78760
|
p_order_id: string;
|
|
@@ -77233,6 +78782,10 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77233
78782
|
revision: number;
|
|
77234
78783
|
}[];
|
|
77235
78784
|
};
|
|
78785
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
78786
|
+
Args: never;
|
|
78787
|
+
Returns: boolean;
|
|
78788
|
+
};
|
|
77236
78789
|
logistics_floriday_finish_push: {
|
|
77237
78790
|
Args: {
|
|
77238
78791
|
_error?: string;
|
|
@@ -77476,6 +79029,12 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77476
79029
|
};
|
|
77477
79030
|
Returns: string;
|
|
77478
79031
|
};
|
|
79032
|
+
logistics_payload_is_floriday: {
|
|
79033
|
+
Args: {
|
|
79034
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
79035
|
+
};
|
|
79036
|
+
Returns: boolean;
|
|
79037
|
+
};
|
|
77479
79038
|
logistics_pick_agenda: {
|
|
77480
79039
|
Args: {
|
|
77481
79040
|
p_from?: string;
|
|
@@ -77598,6 +79157,20 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77598
79157
|
Args: never;
|
|
77599
79158
|
Returns: undefined;
|
|
77600
79159
|
};
|
|
79160
|
+
logistics_plan_progress: {
|
|
79161
|
+
Args: {
|
|
79162
|
+
p_refs: string[];
|
|
79163
|
+
};
|
|
79164
|
+
Returns: {
|
|
79165
|
+
cart_plan_ready: boolean;
|
|
79166
|
+
cart_plan_reason: string;
|
|
79167
|
+
cart_plan_released: boolean;
|
|
79168
|
+
plan_progress: number;
|
|
79169
|
+
plan_state: string;
|
|
79170
|
+
plan_state_since: string;
|
|
79171
|
+
unit_ref: string;
|
|
79172
|
+
}[];
|
|
79173
|
+
};
|
|
77601
79174
|
logistics_plan_prune: {
|
|
77602
79175
|
Args: never;
|
|
77603
79176
|
Returns: number;
|
|
@@ -77619,6 +79192,12 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77619
79192
|
};
|
|
77620
79193
|
Returns: number;
|
|
77621
79194
|
};
|
|
79195
|
+
logistics_plan_state_for: {
|
|
79196
|
+
Args: {
|
|
79197
|
+
p_ref: string;
|
|
79198
|
+
};
|
|
79199
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79200
|
+
};
|
|
77622
79201
|
logistics_prepare_pick_documents: {
|
|
77623
79202
|
Args: {
|
|
77624
79203
|
p_limit?: number;
|
|
@@ -77677,6 +79256,12 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77677
79256
|
};
|
|
77678
79257
|
Returns: import("../integrations/supabase/types").Json;
|
|
77679
79258
|
};
|
|
79259
|
+
logistics_refresh_plan_state: {
|
|
79260
|
+
Args: {
|
|
79261
|
+
p_limit?: number;
|
|
79262
|
+
};
|
|
79263
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79264
|
+
};
|
|
77680
79265
|
logistics_replan_all: {
|
|
77681
79266
|
Args: {
|
|
77682
79267
|
p_reason?: string;
|
|
@@ -77845,6 +79430,74 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77845
79430
|
};
|
|
77846
79431
|
Returns: import("../integrations/supabase/types").Json;
|
|
77847
79432
|
};
|
|
79433
|
+
logistics_shipping_note_job_for_slip: {
|
|
79434
|
+
Args: {
|
|
79435
|
+
_slip_job_id: string;
|
|
79436
|
+
};
|
|
79437
|
+
Returns: string;
|
|
79438
|
+
};
|
|
79439
|
+
logistics_shipping_notes_wake_all: {
|
|
79440
|
+
Args: never;
|
|
79441
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79442
|
+
};
|
|
79443
|
+
logistics_slip_is_floriday: {
|
|
79444
|
+
Args: {
|
|
79445
|
+
_slip_job_id: string;
|
|
79446
|
+
};
|
|
79447
|
+
Returns: boolean;
|
|
79448
|
+
};
|
|
79449
|
+
logistics_slip_note_claim: {
|
|
79450
|
+
Args: {
|
|
79451
|
+
_lease_seconds?: number;
|
|
79452
|
+
_limit?: number;
|
|
79453
|
+
};
|
|
79454
|
+
Returns: {
|
|
79455
|
+
attempts: number;
|
|
79456
|
+
batch_key: string | null;
|
|
79457
|
+
cart_id: string | null;
|
|
79458
|
+
created_at: string;
|
|
79459
|
+
error: string | null;
|
|
79460
|
+
error_code: string | null;
|
|
79461
|
+
fulfillment_order_id: string | null;
|
|
79462
|
+
id: string;
|
|
79463
|
+
locked_until: string | null;
|
|
79464
|
+
next_attempt_at: string | null;
|
|
79465
|
+
order_id: string | null;
|
|
79466
|
+
order_number: string | null;
|
|
79467
|
+
print_job_id: string | null;
|
|
79468
|
+
printer_id: string | null;
|
|
79469
|
+
retry_class: string | null;
|
|
79470
|
+
slip_job_id: string;
|
|
79471
|
+
status: string;
|
|
79472
|
+
updated_at: string;
|
|
79473
|
+
}[];
|
|
79474
|
+
SetofOptions: {
|
|
79475
|
+
from: "*";
|
|
79476
|
+
to: "logistics_slip_shipping_note";
|
|
79477
|
+
isOneToOne: false;
|
|
79478
|
+
isSetofReturn: true;
|
|
79479
|
+
};
|
|
79480
|
+
};
|
|
79481
|
+
logistics_slip_note_finish: {
|
|
79482
|
+
Args: {
|
|
79483
|
+
_error?: string;
|
|
79484
|
+
_error_code?: string;
|
|
79485
|
+
_fulfillment_order_id?: string;
|
|
79486
|
+
_id: string;
|
|
79487
|
+
_ok: boolean;
|
|
79488
|
+
_print_job_id?: string;
|
|
79489
|
+
_status?: string;
|
|
79490
|
+
};
|
|
79491
|
+
Returns: undefined;
|
|
79492
|
+
};
|
|
79493
|
+
logistics_slip_note_keep_waiting: {
|
|
79494
|
+
Args: {
|
|
79495
|
+
_class?: string;
|
|
79496
|
+
_id: string;
|
|
79497
|
+
_reason: string;
|
|
79498
|
+
};
|
|
79499
|
+
Returns: undefined;
|
|
79500
|
+
};
|
|
77848
79501
|
logistics_sticker_follows_slip: {
|
|
77849
79502
|
Args: never;
|
|
77850
79503
|
Returns: boolean;
|
|
@@ -77899,6 +79552,40 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
77899
79552
|
name: string;
|
|
77900
79553
|
}[];
|
|
77901
79554
|
};
|
|
79555
|
+
logistics_trace: {
|
|
79556
|
+
Args: {
|
|
79557
|
+
p: import("../integrations/supabase/types").Json;
|
|
79558
|
+
};
|
|
79559
|
+
Returns: string;
|
|
79560
|
+
};
|
|
79561
|
+
logistics_trace_batch: {
|
|
79562
|
+
Args: {
|
|
79563
|
+
p: import("../integrations/supabase/types").Json;
|
|
79564
|
+
};
|
|
79565
|
+
Returns: number;
|
|
79566
|
+
};
|
|
79567
|
+
logistics_trace_orders: {
|
|
79568
|
+
Args: {
|
|
79569
|
+
p_limit?: number;
|
|
79570
|
+
p_search?: string;
|
|
79571
|
+
p_since?: string;
|
|
79572
|
+
p_status?: string;
|
|
79573
|
+
};
|
|
79574
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79575
|
+
};
|
|
79576
|
+
logistics_trace_redact: {
|
|
79577
|
+
Args: {
|
|
79578
|
+
p: import("../integrations/supabase/types").Json;
|
|
79579
|
+
};
|
|
79580
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79581
|
+
};
|
|
79582
|
+
logistics_trace_timeline: {
|
|
79583
|
+
Args: {
|
|
79584
|
+
p_limit?: number;
|
|
79585
|
+
p_order_ref: string;
|
|
79586
|
+
};
|
|
79587
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
79588
|
+
};
|
|
77902
79589
|
logistics_upsert_task: {
|
|
77903
79590
|
Args: {
|
|
77904
79591
|
p_buffer_ref: string;
|
|
@@ -78940,6 +80627,10 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
78940
80627
|
};
|
|
78941
80628
|
Returns: undefined;
|
|
78942
80629
|
};
|
|
80630
|
+
prune_floriday_api_log: {
|
|
80631
|
+
Args: never;
|
|
80632
|
+
Returns: number;
|
|
80633
|
+
};
|
|
78943
80634
|
quote_create_from_source: {
|
|
78944
80635
|
Args: {
|
|
78945
80636
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -79816,6 +81507,10 @@ export declare const upsertLocalAgreement: import("@tanstack/start-client-core")
|
|
|
79816
81507
|
Args: never;
|
|
79817
81508
|
Returns: string;
|
|
79818
81509
|
};
|
|
81510
|
+
voorraad_cleanup_old_rows: {
|
|
81511
|
+
Args: never;
|
|
81512
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
81513
|
+
};
|
|
79819
81514
|
wake_print_queue: {
|
|
79820
81515
|
Args: {
|
|
79821
81516
|
_min_interval_ms?: number;
|
|
@@ -82139,6 +83834,45 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
82139
83834
|
};
|
|
82140
83835
|
Relationships: [];
|
|
82141
83836
|
};
|
|
83837
|
+
customer_product_stickers: {
|
|
83838
|
+
Row: {
|
|
83839
|
+
created_at: string;
|
|
83840
|
+
customer_key: string;
|
|
83841
|
+
file_name: string;
|
|
83842
|
+
file_path: string;
|
|
83843
|
+
file_size: number | null;
|
|
83844
|
+
id: string;
|
|
83845
|
+
mime_type: string | null;
|
|
83846
|
+
trade_item_key: string;
|
|
83847
|
+
updated_at: string;
|
|
83848
|
+
uploaded_by: string | null;
|
|
83849
|
+
};
|
|
83850
|
+
Insert: {
|
|
83851
|
+
created_at?: string;
|
|
83852
|
+
customer_key: string;
|
|
83853
|
+
file_name: string;
|
|
83854
|
+
file_path: string;
|
|
83855
|
+
file_size?: number | null;
|
|
83856
|
+
id?: string;
|
|
83857
|
+
mime_type?: string | null;
|
|
83858
|
+
trade_item_key: string;
|
|
83859
|
+
updated_at?: string;
|
|
83860
|
+
uploaded_by?: string | null;
|
|
83861
|
+
};
|
|
83862
|
+
Update: {
|
|
83863
|
+
created_at?: string;
|
|
83864
|
+
customer_key?: string;
|
|
83865
|
+
file_name?: string;
|
|
83866
|
+
file_path?: string;
|
|
83867
|
+
file_size?: number | null;
|
|
83868
|
+
id?: string;
|
|
83869
|
+
mime_type?: string | null;
|
|
83870
|
+
trade_item_key?: string;
|
|
83871
|
+
updated_at?: string;
|
|
83872
|
+
uploaded_by?: string | null;
|
|
83873
|
+
};
|
|
83874
|
+
Relationships: [];
|
|
83875
|
+
};
|
|
82142
83876
|
customer_selected_assortment: {
|
|
82143
83877
|
Row: {
|
|
82144
83878
|
article_number: string | null;
|
|
@@ -82187,6 +83921,30 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
82187
83921
|
referencedColumns: ["id"];
|
|
82188
83922
|
}];
|
|
82189
83923
|
};
|
|
83924
|
+
customer_sticker_settings: {
|
|
83925
|
+
Row: {
|
|
83926
|
+
created_at: string;
|
|
83927
|
+
customer_key: string;
|
|
83928
|
+
height_mm: number;
|
|
83929
|
+
updated_at: string;
|
|
83930
|
+
width_mm: number;
|
|
83931
|
+
};
|
|
83932
|
+
Insert: {
|
|
83933
|
+
created_at?: string;
|
|
83934
|
+
customer_key: string;
|
|
83935
|
+
height_mm?: number;
|
|
83936
|
+
updated_at?: string;
|
|
83937
|
+
width_mm?: number;
|
|
83938
|
+
};
|
|
83939
|
+
Update: {
|
|
83940
|
+
created_at?: string;
|
|
83941
|
+
customer_key?: string;
|
|
83942
|
+
height_mm?: number;
|
|
83943
|
+
updated_at?: string;
|
|
83944
|
+
width_mm?: number;
|
|
83945
|
+
};
|
|
83946
|
+
Relationships: [];
|
|
83947
|
+
};
|
|
82190
83948
|
customer_trade_settings: {
|
|
82191
83949
|
Row: {
|
|
82192
83950
|
category: string;
|
|
@@ -85517,6 +87275,102 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
85517
87275
|
referencedColumns: ["id"];
|
|
85518
87276
|
}];
|
|
85519
87277
|
};
|
|
87278
|
+
floriday_api_log: {
|
|
87279
|
+
Row: {
|
|
87280
|
+
action: string | null;
|
|
87281
|
+
caller: string | null;
|
|
87282
|
+
connection_id: string | null;
|
|
87283
|
+
created_at: string;
|
|
87284
|
+
cursor_from: number | null;
|
|
87285
|
+
direction: string;
|
|
87286
|
+
duration_ms: number | null;
|
|
87287
|
+
environment: string | null;
|
|
87288
|
+
error: string | null;
|
|
87289
|
+
floriday_id: string | null;
|
|
87290
|
+
floriday_reference: string | null;
|
|
87291
|
+
http_status: number;
|
|
87292
|
+
id: string;
|
|
87293
|
+
item_count: number | null;
|
|
87294
|
+
kind: string | null;
|
|
87295
|
+
local_id: string | null;
|
|
87296
|
+
local_reference: string | null;
|
|
87297
|
+
method: string;
|
|
87298
|
+
module: string | null;
|
|
87299
|
+
ok: boolean;
|
|
87300
|
+
path: string;
|
|
87301
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
87302
|
+
resource_type: string | null;
|
|
87303
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
87304
|
+
write_log_id: string | null;
|
|
87305
|
+
};
|
|
87306
|
+
Insert: {
|
|
87307
|
+
action?: string | null;
|
|
87308
|
+
caller?: string | null;
|
|
87309
|
+
connection_id?: string | null;
|
|
87310
|
+
created_at?: string;
|
|
87311
|
+
cursor_from?: number | null;
|
|
87312
|
+
direction: string;
|
|
87313
|
+
duration_ms?: number | null;
|
|
87314
|
+
environment?: string | null;
|
|
87315
|
+
error?: string | null;
|
|
87316
|
+
floriday_id?: string | null;
|
|
87317
|
+
floriday_reference?: string | null;
|
|
87318
|
+
http_status?: number;
|
|
87319
|
+
id?: string;
|
|
87320
|
+
item_count?: number | null;
|
|
87321
|
+
kind?: string | null;
|
|
87322
|
+
local_id?: string | null;
|
|
87323
|
+
local_reference?: string | null;
|
|
87324
|
+
method: string;
|
|
87325
|
+
module?: string | null;
|
|
87326
|
+
ok?: boolean;
|
|
87327
|
+
path: string;
|
|
87328
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87329
|
+
resource_type?: string | null;
|
|
87330
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87331
|
+
write_log_id?: string | null;
|
|
87332
|
+
};
|
|
87333
|
+
Update: {
|
|
87334
|
+
action?: string | null;
|
|
87335
|
+
caller?: string | null;
|
|
87336
|
+
connection_id?: string | null;
|
|
87337
|
+
created_at?: string;
|
|
87338
|
+
cursor_from?: number | null;
|
|
87339
|
+
direction?: string;
|
|
87340
|
+
duration_ms?: number | null;
|
|
87341
|
+
environment?: string | null;
|
|
87342
|
+
error?: string | null;
|
|
87343
|
+
floriday_id?: string | null;
|
|
87344
|
+
floriday_reference?: string | null;
|
|
87345
|
+
http_status?: number;
|
|
87346
|
+
id?: string;
|
|
87347
|
+
item_count?: number | null;
|
|
87348
|
+
kind?: string | null;
|
|
87349
|
+
local_id?: string | null;
|
|
87350
|
+
local_reference?: string | null;
|
|
87351
|
+
method?: string;
|
|
87352
|
+
module?: string | null;
|
|
87353
|
+
ok?: boolean;
|
|
87354
|
+
path?: string;
|
|
87355
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
87356
|
+
resource_type?: string | null;
|
|
87357
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
87358
|
+
write_log_id?: string | null;
|
|
87359
|
+
};
|
|
87360
|
+
Relationships: [{
|
|
87361
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
87362
|
+
columns: ["connection_id"];
|
|
87363
|
+
isOneToOne: false;
|
|
87364
|
+
referencedRelation: "floriday_connections";
|
|
87365
|
+
referencedColumns: ["id"];
|
|
87366
|
+
}, {
|
|
87367
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
87368
|
+
columns: ["write_log_id"];
|
|
87369
|
+
isOneToOne: false;
|
|
87370
|
+
referencedRelation: "floriday_write_log";
|
|
87371
|
+
referencedColumns: ["id"];
|
|
87372
|
+
}];
|
|
87373
|
+
};
|
|
85520
87374
|
floriday_auction_letters_cache: {
|
|
85521
87375
|
Row: {
|
|
85522
87376
|
auction_letter_code: string;
|
|
@@ -86717,6 +88571,69 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
86717
88571
|
referencedColumns: ["id"];
|
|
86718
88572
|
}];
|
|
86719
88573
|
};
|
|
88574
|
+
floriday_link_templates: {
|
|
88575
|
+
Row: {
|
|
88576
|
+
created_at: string;
|
|
88577
|
+
floriday_url_template: string | null;
|
|
88578
|
+
is_active: boolean;
|
|
88579
|
+
label: string;
|
|
88580
|
+
local_url_template: string | null;
|
|
88581
|
+
resource_type: string;
|
|
88582
|
+
updated_at: string;
|
|
88583
|
+
};
|
|
88584
|
+
Insert: {
|
|
88585
|
+
created_at?: string;
|
|
88586
|
+
floriday_url_template?: string | null;
|
|
88587
|
+
is_active?: boolean;
|
|
88588
|
+
label: string;
|
|
88589
|
+
local_url_template?: string | null;
|
|
88590
|
+
resource_type: string;
|
|
88591
|
+
updated_at?: string;
|
|
88592
|
+
};
|
|
88593
|
+
Update: {
|
|
88594
|
+
created_at?: string;
|
|
88595
|
+
floriday_url_template?: string | null;
|
|
88596
|
+
is_active?: boolean;
|
|
88597
|
+
label?: string;
|
|
88598
|
+
local_url_template?: string | null;
|
|
88599
|
+
resource_type?: string;
|
|
88600
|
+
updated_at?: string;
|
|
88601
|
+
};
|
|
88602
|
+
Relationships: [];
|
|
88603
|
+
};
|
|
88604
|
+
floriday_log_retention: {
|
|
88605
|
+
Row: {
|
|
88606
|
+
created_at: string;
|
|
88607
|
+
direction: string | null;
|
|
88608
|
+
id: string;
|
|
88609
|
+
keep_failed_days: number | null;
|
|
88610
|
+
keep_ok_days: number | null;
|
|
88611
|
+
note: string | null;
|
|
88612
|
+
resource_type: string | null;
|
|
88613
|
+
updated_at: string;
|
|
88614
|
+
};
|
|
88615
|
+
Insert: {
|
|
88616
|
+
created_at?: string;
|
|
88617
|
+
direction?: string | null;
|
|
88618
|
+
id?: string;
|
|
88619
|
+
keep_failed_days?: number | null;
|
|
88620
|
+
keep_ok_days?: number | null;
|
|
88621
|
+
note?: string | null;
|
|
88622
|
+
resource_type?: string | null;
|
|
88623
|
+
updated_at?: string;
|
|
88624
|
+
};
|
|
88625
|
+
Update: {
|
|
88626
|
+
created_at?: string;
|
|
88627
|
+
direction?: string | null;
|
|
88628
|
+
id?: string;
|
|
88629
|
+
keep_failed_days?: number | null;
|
|
88630
|
+
keep_ok_days?: number | null;
|
|
88631
|
+
note?: string | null;
|
|
88632
|
+
resource_type?: string | null;
|
|
88633
|
+
updated_at?: string;
|
|
88634
|
+
};
|
|
88635
|
+
Relationships: [];
|
|
88636
|
+
};
|
|
86720
88637
|
floriday_logistic_labels_cache: {
|
|
86721
88638
|
Row: {
|
|
86722
88639
|
byte_size: number | null;
|
|
@@ -90842,6 +92759,69 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
90842
92759
|
};
|
|
90843
92760
|
Relationships: [];
|
|
90844
92761
|
};
|
|
92762
|
+
logistics_slip_shipping_note: {
|
|
92763
|
+
Row: {
|
|
92764
|
+
attempts: number;
|
|
92765
|
+
batch_key: string | null;
|
|
92766
|
+
cart_id: string | null;
|
|
92767
|
+
created_at: string;
|
|
92768
|
+
error: string | null;
|
|
92769
|
+
error_code: string | null;
|
|
92770
|
+
fulfillment_order_id: string | null;
|
|
92771
|
+
id: string;
|
|
92772
|
+
locked_until: string | null;
|
|
92773
|
+
next_attempt_at: string | null;
|
|
92774
|
+
order_id: string | null;
|
|
92775
|
+
order_number: string | null;
|
|
92776
|
+
print_job_id: string | null;
|
|
92777
|
+
printer_id: string | null;
|
|
92778
|
+
retry_class: string | null;
|
|
92779
|
+
slip_job_id: string;
|
|
92780
|
+
status: string;
|
|
92781
|
+
updated_at: string;
|
|
92782
|
+
};
|
|
92783
|
+
Insert: {
|
|
92784
|
+
attempts?: number;
|
|
92785
|
+
batch_key?: string | null;
|
|
92786
|
+
cart_id?: string | null;
|
|
92787
|
+
created_at?: string;
|
|
92788
|
+
error?: string | null;
|
|
92789
|
+
error_code?: string | null;
|
|
92790
|
+
fulfillment_order_id?: string | null;
|
|
92791
|
+
id?: string;
|
|
92792
|
+
locked_until?: string | null;
|
|
92793
|
+
next_attempt_at?: string | null;
|
|
92794
|
+
order_id?: string | null;
|
|
92795
|
+
order_number?: string | null;
|
|
92796
|
+
print_job_id?: string | null;
|
|
92797
|
+
printer_id?: string | null;
|
|
92798
|
+
retry_class?: string | null;
|
|
92799
|
+
slip_job_id: string;
|
|
92800
|
+
status?: string;
|
|
92801
|
+
updated_at?: string;
|
|
92802
|
+
};
|
|
92803
|
+
Update: {
|
|
92804
|
+
attempts?: number;
|
|
92805
|
+
batch_key?: string | null;
|
|
92806
|
+
cart_id?: string | null;
|
|
92807
|
+
created_at?: string;
|
|
92808
|
+
error?: string | null;
|
|
92809
|
+
error_code?: string | null;
|
|
92810
|
+
fulfillment_order_id?: string | null;
|
|
92811
|
+
id?: string;
|
|
92812
|
+
locked_until?: string | null;
|
|
92813
|
+
next_attempt_at?: string | null;
|
|
92814
|
+
order_id?: string | null;
|
|
92815
|
+
order_number?: string | null;
|
|
92816
|
+
print_job_id?: string | null;
|
|
92817
|
+
printer_id?: string | null;
|
|
92818
|
+
retry_class?: string | null;
|
|
92819
|
+
slip_job_id?: string;
|
|
92820
|
+
status?: string;
|
|
92821
|
+
updated_at?: string;
|
|
92822
|
+
};
|
|
92823
|
+
Relationships: [];
|
|
92824
|
+
};
|
|
90845
92825
|
logistics_staff_planning: {
|
|
90846
92826
|
Row: {
|
|
90847
92827
|
created_at: string;
|
|
@@ -91193,6 +93173,111 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
91193
93173
|
};
|
|
91194
93174
|
Relationships: [];
|
|
91195
93175
|
};
|
|
93176
|
+
logistics_trace_events: {
|
|
93177
|
+
Row: {
|
|
93178
|
+
actor: string | null;
|
|
93179
|
+
attempts: number;
|
|
93180
|
+
cart_ref: string | null;
|
|
93181
|
+
created_at: string;
|
|
93182
|
+
db_action: string | null;
|
|
93183
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
93184
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
93185
|
+
db_record: string | null;
|
|
93186
|
+
db_table: string | null;
|
|
93187
|
+
decision: string | null;
|
|
93188
|
+
duration_ms: number | null;
|
|
93189
|
+
error: string | null;
|
|
93190
|
+
external_action: string | null;
|
|
93191
|
+
external_ref: string | null;
|
|
93192
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
93193
|
+
external_status: string | null;
|
|
93194
|
+
external_system: string | null;
|
|
93195
|
+
id: string;
|
|
93196
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
93197
|
+
next_attempt_at: string | null;
|
|
93198
|
+
order_ref: string | null;
|
|
93199
|
+
order_source: string | null;
|
|
93200
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
93201
|
+
phase: string;
|
|
93202
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
93203
|
+
reason: string | null;
|
|
93204
|
+
rule: string | null;
|
|
93205
|
+
slip_ref: string | null;
|
|
93206
|
+
status: string;
|
|
93207
|
+
step: string;
|
|
93208
|
+
trace_id: string;
|
|
93209
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
93210
|
+
};
|
|
93211
|
+
Insert: {
|
|
93212
|
+
actor?: string | null;
|
|
93213
|
+
attempts?: number;
|
|
93214
|
+
cart_ref?: string | null;
|
|
93215
|
+
created_at?: string;
|
|
93216
|
+
db_action?: string | null;
|
|
93217
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93218
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93219
|
+
db_record?: string | null;
|
|
93220
|
+
db_table?: string | null;
|
|
93221
|
+
decision?: string | null;
|
|
93222
|
+
duration_ms?: number | null;
|
|
93223
|
+
error?: string | null;
|
|
93224
|
+
external_action?: string | null;
|
|
93225
|
+
external_ref?: string | null;
|
|
93226
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93227
|
+
external_status?: string | null;
|
|
93228
|
+
external_system?: string | null;
|
|
93229
|
+
id?: string;
|
|
93230
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93231
|
+
next_attempt_at?: string | null;
|
|
93232
|
+
order_ref?: string | null;
|
|
93233
|
+
order_source?: string | null;
|
|
93234
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93235
|
+
phase: string;
|
|
93236
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93237
|
+
reason?: string | null;
|
|
93238
|
+
rule?: string | null;
|
|
93239
|
+
slip_ref?: string | null;
|
|
93240
|
+
status: string;
|
|
93241
|
+
step: string;
|
|
93242
|
+
trace_id?: string;
|
|
93243
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93244
|
+
};
|
|
93245
|
+
Update: {
|
|
93246
|
+
actor?: string | null;
|
|
93247
|
+
attempts?: number;
|
|
93248
|
+
cart_ref?: string | null;
|
|
93249
|
+
created_at?: string;
|
|
93250
|
+
db_action?: string | null;
|
|
93251
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
93252
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
93253
|
+
db_record?: string | null;
|
|
93254
|
+
db_table?: string | null;
|
|
93255
|
+
decision?: string | null;
|
|
93256
|
+
duration_ms?: number | null;
|
|
93257
|
+
error?: string | null;
|
|
93258
|
+
external_action?: string | null;
|
|
93259
|
+
external_ref?: string | null;
|
|
93260
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
93261
|
+
external_status?: string | null;
|
|
93262
|
+
external_system?: string | null;
|
|
93263
|
+
id?: string;
|
|
93264
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
93265
|
+
next_attempt_at?: string | null;
|
|
93266
|
+
order_ref?: string | null;
|
|
93267
|
+
order_source?: string | null;
|
|
93268
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
93269
|
+
phase?: string;
|
|
93270
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
93271
|
+
reason?: string | null;
|
|
93272
|
+
rule?: string | null;
|
|
93273
|
+
slip_ref?: string | null;
|
|
93274
|
+
status?: string;
|
|
93275
|
+
step?: string;
|
|
93276
|
+
trace_id?: string;
|
|
93277
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
93278
|
+
};
|
|
93279
|
+
Relationships: [];
|
|
93280
|
+
};
|
|
91196
93281
|
logistics_variables: {
|
|
91197
93282
|
Row: {
|
|
91198
93283
|
created_at: string;
|
|
@@ -101765,6 +103850,15 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
101765
103850
|
Args: never;
|
|
101766
103851
|
Returns: boolean;
|
|
101767
103852
|
};
|
|
103853
|
+
cancel_open_print_jobs: {
|
|
103854
|
+
Args: {
|
|
103855
|
+
_cutoff: string;
|
|
103856
|
+
};
|
|
103857
|
+
Returns: {
|
|
103858
|
+
extern_job_id: string;
|
|
103859
|
+
id: string;
|
|
103860
|
+
}[];
|
|
103861
|
+
};
|
|
101768
103862
|
check_offer_product_available_stock: {
|
|
101769
103863
|
Args: {
|
|
101770
103864
|
p_campaign_product_id: string;
|
|
@@ -103377,6 +105471,12 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
103377
105471
|
};
|
|
103378
105472
|
Returns: import("../integrations/supabase/types").Json;
|
|
103379
105473
|
};
|
|
105474
|
+
logistics_cart_plan_status_core: {
|
|
105475
|
+
Args: {
|
|
105476
|
+
p_ref: string;
|
|
105477
|
+
};
|
|
105478
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105479
|
+
};
|
|
103380
105480
|
logistics_cart_release_reason: {
|
|
103381
105481
|
Args: {
|
|
103382
105482
|
p_cart_id: string;
|
|
@@ -103439,6 +105539,10 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
103439
105539
|
unit_ref: string;
|
|
103440
105540
|
}[];
|
|
103441
105541
|
};
|
|
105542
|
+
logistics_carts_per_print: {
|
|
105543
|
+
Args: never;
|
|
105544
|
+
Returns: number;
|
|
105545
|
+
};
|
|
103442
105546
|
logistics_check_order_allowed: {
|
|
103443
105547
|
Args: {
|
|
103444
105548
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -103805,6 +105909,12 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
103805
105909
|
};
|
|
103806
105910
|
Returns: import("../integrations/supabase/types").Json;
|
|
103807
105911
|
};
|
|
105912
|
+
logistics_ensure_shipping_notes: {
|
|
105913
|
+
Args: {
|
|
105914
|
+
p_limit?: number;
|
|
105915
|
+
};
|
|
105916
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105917
|
+
};
|
|
103808
105918
|
logistics_fail_task: {
|
|
103809
105919
|
Args: {
|
|
103810
105920
|
p_error: string;
|
|
@@ -103850,6 +105960,10 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
103850
105960
|
isSetofReturn: false;
|
|
103851
105961
|
};
|
|
103852
105962
|
};
|
|
105963
|
+
logistics_fix_wrong_shipping_notes: {
|
|
105964
|
+
Args: never;
|
|
105965
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
105966
|
+
};
|
|
103853
105967
|
logistics_floriday_cart_plan: {
|
|
103854
105968
|
Args: {
|
|
103855
105969
|
p_order_id: string;
|
|
@@ -103877,6 +105991,10 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
103877
105991
|
revision: number;
|
|
103878
105992
|
}[];
|
|
103879
105993
|
};
|
|
105994
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
105995
|
+
Args: never;
|
|
105996
|
+
Returns: boolean;
|
|
105997
|
+
};
|
|
103880
105998
|
logistics_floriday_finish_push: {
|
|
103881
105999
|
Args: {
|
|
103882
106000
|
_error?: string;
|
|
@@ -104120,6 +106238,12 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
104120
106238
|
};
|
|
104121
106239
|
Returns: string;
|
|
104122
106240
|
};
|
|
106241
|
+
logistics_payload_is_floriday: {
|
|
106242
|
+
Args: {
|
|
106243
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
106244
|
+
};
|
|
106245
|
+
Returns: boolean;
|
|
106246
|
+
};
|
|
104123
106247
|
logistics_pick_agenda: {
|
|
104124
106248
|
Args: {
|
|
104125
106249
|
p_from?: string;
|
|
@@ -104242,6 +106366,20 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
104242
106366
|
Args: never;
|
|
104243
106367
|
Returns: undefined;
|
|
104244
106368
|
};
|
|
106369
|
+
logistics_plan_progress: {
|
|
106370
|
+
Args: {
|
|
106371
|
+
p_refs: string[];
|
|
106372
|
+
};
|
|
106373
|
+
Returns: {
|
|
106374
|
+
cart_plan_ready: boolean;
|
|
106375
|
+
cart_plan_reason: string;
|
|
106376
|
+
cart_plan_released: boolean;
|
|
106377
|
+
plan_progress: number;
|
|
106378
|
+
plan_state: string;
|
|
106379
|
+
plan_state_since: string;
|
|
106380
|
+
unit_ref: string;
|
|
106381
|
+
}[];
|
|
106382
|
+
};
|
|
104245
106383
|
logistics_plan_prune: {
|
|
104246
106384
|
Args: never;
|
|
104247
106385
|
Returns: number;
|
|
@@ -104263,6 +106401,12 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
104263
106401
|
};
|
|
104264
106402
|
Returns: number;
|
|
104265
106403
|
};
|
|
106404
|
+
logistics_plan_state_for: {
|
|
106405
|
+
Args: {
|
|
106406
|
+
p_ref: string;
|
|
106407
|
+
};
|
|
106408
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106409
|
+
};
|
|
104266
106410
|
logistics_prepare_pick_documents: {
|
|
104267
106411
|
Args: {
|
|
104268
106412
|
p_limit?: number;
|
|
@@ -104321,6 +106465,12 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
104321
106465
|
};
|
|
104322
106466
|
Returns: import("../integrations/supabase/types").Json;
|
|
104323
106467
|
};
|
|
106468
|
+
logistics_refresh_plan_state: {
|
|
106469
|
+
Args: {
|
|
106470
|
+
p_limit?: number;
|
|
106471
|
+
};
|
|
106472
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106473
|
+
};
|
|
104324
106474
|
logistics_replan_all: {
|
|
104325
106475
|
Args: {
|
|
104326
106476
|
p_reason?: string;
|
|
@@ -104489,6 +106639,74 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
104489
106639
|
};
|
|
104490
106640
|
Returns: import("../integrations/supabase/types").Json;
|
|
104491
106641
|
};
|
|
106642
|
+
logistics_shipping_note_job_for_slip: {
|
|
106643
|
+
Args: {
|
|
106644
|
+
_slip_job_id: string;
|
|
106645
|
+
};
|
|
106646
|
+
Returns: string;
|
|
106647
|
+
};
|
|
106648
|
+
logistics_shipping_notes_wake_all: {
|
|
106649
|
+
Args: never;
|
|
106650
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106651
|
+
};
|
|
106652
|
+
logistics_slip_is_floriday: {
|
|
106653
|
+
Args: {
|
|
106654
|
+
_slip_job_id: string;
|
|
106655
|
+
};
|
|
106656
|
+
Returns: boolean;
|
|
106657
|
+
};
|
|
106658
|
+
logistics_slip_note_claim: {
|
|
106659
|
+
Args: {
|
|
106660
|
+
_lease_seconds?: number;
|
|
106661
|
+
_limit?: number;
|
|
106662
|
+
};
|
|
106663
|
+
Returns: {
|
|
106664
|
+
attempts: number;
|
|
106665
|
+
batch_key: string | null;
|
|
106666
|
+
cart_id: string | null;
|
|
106667
|
+
created_at: string;
|
|
106668
|
+
error: string | null;
|
|
106669
|
+
error_code: string | null;
|
|
106670
|
+
fulfillment_order_id: string | null;
|
|
106671
|
+
id: string;
|
|
106672
|
+
locked_until: string | null;
|
|
106673
|
+
next_attempt_at: string | null;
|
|
106674
|
+
order_id: string | null;
|
|
106675
|
+
order_number: string | null;
|
|
106676
|
+
print_job_id: string | null;
|
|
106677
|
+
printer_id: string | null;
|
|
106678
|
+
retry_class: string | null;
|
|
106679
|
+
slip_job_id: string;
|
|
106680
|
+
status: string;
|
|
106681
|
+
updated_at: string;
|
|
106682
|
+
}[];
|
|
106683
|
+
SetofOptions: {
|
|
106684
|
+
from: "*";
|
|
106685
|
+
to: "logistics_slip_shipping_note";
|
|
106686
|
+
isOneToOne: false;
|
|
106687
|
+
isSetofReturn: true;
|
|
106688
|
+
};
|
|
106689
|
+
};
|
|
106690
|
+
logistics_slip_note_finish: {
|
|
106691
|
+
Args: {
|
|
106692
|
+
_error?: string;
|
|
106693
|
+
_error_code?: string;
|
|
106694
|
+
_fulfillment_order_id?: string;
|
|
106695
|
+
_id: string;
|
|
106696
|
+
_ok: boolean;
|
|
106697
|
+
_print_job_id?: string;
|
|
106698
|
+
_status?: string;
|
|
106699
|
+
};
|
|
106700
|
+
Returns: undefined;
|
|
106701
|
+
};
|
|
106702
|
+
logistics_slip_note_keep_waiting: {
|
|
106703
|
+
Args: {
|
|
106704
|
+
_class?: string;
|
|
106705
|
+
_id: string;
|
|
106706
|
+
_reason: string;
|
|
106707
|
+
};
|
|
106708
|
+
Returns: undefined;
|
|
106709
|
+
};
|
|
104492
106710
|
logistics_sticker_follows_slip: {
|
|
104493
106711
|
Args: never;
|
|
104494
106712
|
Returns: boolean;
|
|
@@ -104543,6 +106761,40 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
104543
106761
|
name: string;
|
|
104544
106762
|
}[];
|
|
104545
106763
|
};
|
|
106764
|
+
logistics_trace: {
|
|
106765
|
+
Args: {
|
|
106766
|
+
p: import("../integrations/supabase/types").Json;
|
|
106767
|
+
};
|
|
106768
|
+
Returns: string;
|
|
106769
|
+
};
|
|
106770
|
+
logistics_trace_batch: {
|
|
106771
|
+
Args: {
|
|
106772
|
+
p: import("../integrations/supabase/types").Json;
|
|
106773
|
+
};
|
|
106774
|
+
Returns: number;
|
|
106775
|
+
};
|
|
106776
|
+
logistics_trace_orders: {
|
|
106777
|
+
Args: {
|
|
106778
|
+
p_limit?: number;
|
|
106779
|
+
p_search?: string;
|
|
106780
|
+
p_since?: string;
|
|
106781
|
+
p_status?: string;
|
|
106782
|
+
};
|
|
106783
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106784
|
+
};
|
|
106785
|
+
logistics_trace_redact: {
|
|
106786
|
+
Args: {
|
|
106787
|
+
p: import("../integrations/supabase/types").Json;
|
|
106788
|
+
};
|
|
106789
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106790
|
+
};
|
|
106791
|
+
logistics_trace_timeline: {
|
|
106792
|
+
Args: {
|
|
106793
|
+
p_limit?: number;
|
|
106794
|
+
p_order_ref: string;
|
|
106795
|
+
};
|
|
106796
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
106797
|
+
};
|
|
104546
106798
|
logistics_upsert_task: {
|
|
104547
106799
|
Args: {
|
|
104548
106800
|
p_buffer_ref: string;
|
|
@@ -105584,6 +107836,10 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
105584
107836
|
};
|
|
105585
107837
|
Returns: undefined;
|
|
105586
107838
|
};
|
|
107839
|
+
prune_floriday_api_log: {
|
|
107840
|
+
Args: never;
|
|
107841
|
+
Returns: number;
|
|
107842
|
+
};
|
|
105587
107843
|
quote_create_from_source: {
|
|
105588
107844
|
Args: {
|
|
105589
107845
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -106460,6 +108716,10 @@ export declare const upsertLocalSalesStrategy: import("@tanstack/start-client-co
|
|
|
106460
108716
|
Args: never;
|
|
106461
108717
|
Returns: string;
|
|
106462
108718
|
};
|
|
108719
|
+
voorraad_cleanup_old_rows: {
|
|
108720
|
+
Args: never;
|
|
108721
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
108722
|
+
};
|
|
106463
108723
|
wake_print_queue: {
|
|
106464
108724
|
Args: {
|
|
106465
108725
|
_min_interval_ms?: number;
|
|
@@ -108783,6 +111043,45 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
108783
111043
|
};
|
|
108784
111044
|
Relationships: [];
|
|
108785
111045
|
};
|
|
111046
|
+
customer_product_stickers: {
|
|
111047
|
+
Row: {
|
|
111048
|
+
created_at: string;
|
|
111049
|
+
customer_key: string;
|
|
111050
|
+
file_name: string;
|
|
111051
|
+
file_path: string;
|
|
111052
|
+
file_size: number | null;
|
|
111053
|
+
id: string;
|
|
111054
|
+
mime_type: string | null;
|
|
111055
|
+
trade_item_key: string;
|
|
111056
|
+
updated_at: string;
|
|
111057
|
+
uploaded_by: string | null;
|
|
111058
|
+
};
|
|
111059
|
+
Insert: {
|
|
111060
|
+
created_at?: string;
|
|
111061
|
+
customer_key: string;
|
|
111062
|
+
file_name: string;
|
|
111063
|
+
file_path: string;
|
|
111064
|
+
file_size?: number | null;
|
|
111065
|
+
id?: string;
|
|
111066
|
+
mime_type?: string | null;
|
|
111067
|
+
trade_item_key: string;
|
|
111068
|
+
updated_at?: string;
|
|
111069
|
+
uploaded_by?: string | null;
|
|
111070
|
+
};
|
|
111071
|
+
Update: {
|
|
111072
|
+
created_at?: string;
|
|
111073
|
+
customer_key?: string;
|
|
111074
|
+
file_name?: string;
|
|
111075
|
+
file_path?: string;
|
|
111076
|
+
file_size?: number | null;
|
|
111077
|
+
id?: string;
|
|
111078
|
+
mime_type?: string | null;
|
|
111079
|
+
trade_item_key?: string;
|
|
111080
|
+
updated_at?: string;
|
|
111081
|
+
uploaded_by?: string | null;
|
|
111082
|
+
};
|
|
111083
|
+
Relationships: [];
|
|
111084
|
+
};
|
|
108786
111085
|
customer_selected_assortment: {
|
|
108787
111086
|
Row: {
|
|
108788
111087
|
article_number: string | null;
|
|
@@ -108831,6 +111130,30 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
108831
111130
|
referencedColumns: ["id"];
|
|
108832
111131
|
}];
|
|
108833
111132
|
};
|
|
111133
|
+
customer_sticker_settings: {
|
|
111134
|
+
Row: {
|
|
111135
|
+
created_at: string;
|
|
111136
|
+
customer_key: string;
|
|
111137
|
+
height_mm: number;
|
|
111138
|
+
updated_at: string;
|
|
111139
|
+
width_mm: number;
|
|
111140
|
+
};
|
|
111141
|
+
Insert: {
|
|
111142
|
+
created_at?: string;
|
|
111143
|
+
customer_key: string;
|
|
111144
|
+
height_mm?: number;
|
|
111145
|
+
updated_at?: string;
|
|
111146
|
+
width_mm?: number;
|
|
111147
|
+
};
|
|
111148
|
+
Update: {
|
|
111149
|
+
created_at?: string;
|
|
111150
|
+
customer_key?: string;
|
|
111151
|
+
height_mm?: number;
|
|
111152
|
+
updated_at?: string;
|
|
111153
|
+
width_mm?: number;
|
|
111154
|
+
};
|
|
111155
|
+
Relationships: [];
|
|
111156
|
+
};
|
|
108834
111157
|
customer_trade_settings: {
|
|
108835
111158
|
Row: {
|
|
108836
111159
|
category: string;
|
|
@@ -112161,6 +114484,102 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
112161
114484
|
referencedColumns: ["id"];
|
|
112162
114485
|
}];
|
|
112163
114486
|
};
|
|
114487
|
+
floriday_api_log: {
|
|
114488
|
+
Row: {
|
|
114489
|
+
action: string | null;
|
|
114490
|
+
caller: string | null;
|
|
114491
|
+
connection_id: string | null;
|
|
114492
|
+
created_at: string;
|
|
114493
|
+
cursor_from: number | null;
|
|
114494
|
+
direction: string;
|
|
114495
|
+
duration_ms: number | null;
|
|
114496
|
+
environment: string | null;
|
|
114497
|
+
error: string | null;
|
|
114498
|
+
floriday_id: string | null;
|
|
114499
|
+
floriday_reference: string | null;
|
|
114500
|
+
http_status: number;
|
|
114501
|
+
id: string;
|
|
114502
|
+
item_count: number | null;
|
|
114503
|
+
kind: string | null;
|
|
114504
|
+
local_id: string | null;
|
|
114505
|
+
local_reference: string | null;
|
|
114506
|
+
method: string;
|
|
114507
|
+
module: string | null;
|
|
114508
|
+
ok: boolean;
|
|
114509
|
+
path: string;
|
|
114510
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
114511
|
+
resource_type: string | null;
|
|
114512
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
114513
|
+
write_log_id: string | null;
|
|
114514
|
+
};
|
|
114515
|
+
Insert: {
|
|
114516
|
+
action?: string | null;
|
|
114517
|
+
caller?: string | null;
|
|
114518
|
+
connection_id?: string | null;
|
|
114519
|
+
created_at?: string;
|
|
114520
|
+
cursor_from?: number | null;
|
|
114521
|
+
direction: string;
|
|
114522
|
+
duration_ms?: number | null;
|
|
114523
|
+
environment?: string | null;
|
|
114524
|
+
error?: string | null;
|
|
114525
|
+
floriday_id?: string | null;
|
|
114526
|
+
floriday_reference?: string | null;
|
|
114527
|
+
http_status?: number;
|
|
114528
|
+
id?: string;
|
|
114529
|
+
item_count?: number | null;
|
|
114530
|
+
kind?: string | null;
|
|
114531
|
+
local_id?: string | null;
|
|
114532
|
+
local_reference?: string | null;
|
|
114533
|
+
method: string;
|
|
114534
|
+
module?: string | null;
|
|
114535
|
+
ok?: boolean;
|
|
114536
|
+
path: string;
|
|
114537
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
114538
|
+
resource_type?: string | null;
|
|
114539
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
114540
|
+
write_log_id?: string | null;
|
|
114541
|
+
};
|
|
114542
|
+
Update: {
|
|
114543
|
+
action?: string | null;
|
|
114544
|
+
caller?: string | null;
|
|
114545
|
+
connection_id?: string | null;
|
|
114546
|
+
created_at?: string;
|
|
114547
|
+
cursor_from?: number | null;
|
|
114548
|
+
direction?: string;
|
|
114549
|
+
duration_ms?: number | null;
|
|
114550
|
+
environment?: string | null;
|
|
114551
|
+
error?: string | null;
|
|
114552
|
+
floriday_id?: string | null;
|
|
114553
|
+
floriday_reference?: string | null;
|
|
114554
|
+
http_status?: number;
|
|
114555
|
+
id?: string;
|
|
114556
|
+
item_count?: number | null;
|
|
114557
|
+
kind?: string | null;
|
|
114558
|
+
local_id?: string | null;
|
|
114559
|
+
local_reference?: string | null;
|
|
114560
|
+
method?: string;
|
|
114561
|
+
module?: string | null;
|
|
114562
|
+
ok?: boolean;
|
|
114563
|
+
path?: string;
|
|
114564
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
114565
|
+
resource_type?: string | null;
|
|
114566
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
114567
|
+
write_log_id?: string | null;
|
|
114568
|
+
};
|
|
114569
|
+
Relationships: [{
|
|
114570
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
114571
|
+
columns: ["connection_id"];
|
|
114572
|
+
isOneToOne: false;
|
|
114573
|
+
referencedRelation: "floriday_connections";
|
|
114574
|
+
referencedColumns: ["id"];
|
|
114575
|
+
}, {
|
|
114576
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
114577
|
+
columns: ["write_log_id"];
|
|
114578
|
+
isOneToOne: false;
|
|
114579
|
+
referencedRelation: "floriday_write_log";
|
|
114580
|
+
referencedColumns: ["id"];
|
|
114581
|
+
}];
|
|
114582
|
+
};
|
|
112164
114583
|
floriday_auction_letters_cache: {
|
|
112165
114584
|
Row: {
|
|
112166
114585
|
auction_letter_code: string;
|
|
@@ -113361,6 +115780,69 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
113361
115780
|
referencedColumns: ["id"];
|
|
113362
115781
|
}];
|
|
113363
115782
|
};
|
|
115783
|
+
floriday_link_templates: {
|
|
115784
|
+
Row: {
|
|
115785
|
+
created_at: string;
|
|
115786
|
+
floriday_url_template: string | null;
|
|
115787
|
+
is_active: boolean;
|
|
115788
|
+
label: string;
|
|
115789
|
+
local_url_template: string | null;
|
|
115790
|
+
resource_type: string;
|
|
115791
|
+
updated_at: string;
|
|
115792
|
+
};
|
|
115793
|
+
Insert: {
|
|
115794
|
+
created_at?: string;
|
|
115795
|
+
floriday_url_template?: string | null;
|
|
115796
|
+
is_active?: boolean;
|
|
115797
|
+
label: string;
|
|
115798
|
+
local_url_template?: string | null;
|
|
115799
|
+
resource_type: string;
|
|
115800
|
+
updated_at?: string;
|
|
115801
|
+
};
|
|
115802
|
+
Update: {
|
|
115803
|
+
created_at?: string;
|
|
115804
|
+
floriday_url_template?: string | null;
|
|
115805
|
+
is_active?: boolean;
|
|
115806
|
+
label?: string;
|
|
115807
|
+
local_url_template?: string | null;
|
|
115808
|
+
resource_type?: string;
|
|
115809
|
+
updated_at?: string;
|
|
115810
|
+
};
|
|
115811
|
+
Relationships: [];
|
|
115812
|
+
};
|
|
115813
|
+
floriday_log_retention: {
|
|
115814
|
+
Row: {
|
|
115815
|
+
created_at: string;
|
|
115816
|
+
direction: string | null;
|
|
115817
|
+
id: string;
|
|
115818
|
+
keep_failed_days: number | null;
|
|
115819
|
+
keep_ok_days: number | null;
|
|
115820
|
+
note: string | null;
|
|
115821
|
+
resource_type: string | null;
|
|
115822
|
+
updated_at: string;
|
|
115823
|
+
};
|
|
115824
|
+
Insert: {
|
|
115825
|
+
created_at?: string;
|
|
115826
|
+
direction?: string | null;
|
|
115827
|
+
id?: string;
|
|
115828
|
+
keep_failed_days?: number | null;
|
|
115829
|
+
keep_ok_days?: number | null;
|
|
115830
|
+
note?: string | null;
|
|
115831
|
+
resource_type?: string | null;
|
|
115832
|
+
updated_at?: string;
|
|
115833
|
+
};
|
|
115834
|
+
Update: {
|
|
115835
|
+
created_at?: string;
|
|
115836
|
+
direction?: string | null;
|
|
115837
|
+
id?: string;
|
|
115838
|
+
keep_failed_days?: number | null;
|
|
115839
|
+
keep_ok_days?: number | null;
|
|
115840
|
+
note?: string | null;
|
|
115841
|
+
resource_type?: string | null;
|
|
115842
|
+
updated_at?: string;
|
|
115843
|
+
};
|
|
115844
|
+
Relationships: [];
|
|
115845
|
+
};
|
|
113364
115846
|
floriday_logistic_labels_cache: {
|
|
113365
115847
|
Row: {
|
|
113366
115848
|
byte_size: number | null;
|
|
@@ -117486,6 +119968,69 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
117486
119968
|
};
|
|
117487
119969
|
Relationships: [];
|
|
117488
119970
|
};
|
|
119971
|
+
logistics_slip_shipping_note: {
|
|
119972
|
+
Row: {
|
|
119973
|
+
attempts: number;
|
|
119974
|
+
batch_key: string | null;
|
|
119975
|
+
cart_id: string | null;
|
|
119976
|
+
created_at: string;
|
|
119977
|
+
error: string | null;
|
|
119978
|
+
error_code: string | null;
|
|
119979
|
+
fulfillment_order_id: string | null;
|
|
119980
|
+
id: string;
|
|
119981
|
+
locked_until: string | null;
|
|
119982
|
+
next_attempt_at: string | null;
|
|
119983
|
+
order_id: string | null;
|
|
119984
|
+
order_number: string | null;
|
|
119985
|
+
print_job_id: string | null;
|
|
119986
|
+
printer_id: string | null;
|
|
119987
|
+
retry_class: string | null;
|
|
119988
|
+
slip_job_id: string;
|
|
119989
|
+
status: string;
|
|
119990
|
+
updated_at: string;
|
|
119991
|
+
};
|
|
119992
|
+
Insert: {
|
|
119993
|
+
attempts?: number;
|
|
119994
|
+
batch_key?: string | null;
|
|
119995
|
+
cart_id?: string | null;
|
|
119996
|
+
created_at?: string;
|
|
119997
|
+
error?: string | null;
|
|
119998
|
+
error_code?: string | null;
|
|
119999
|
+
fulfillment_order_id?: string | null;
|
|
120000
|
+
id?: string;
|
|
120001
|
+
locked_until?: string | null;
|
|
120002
|
+
next_attempt_at?: string | null;
|
|
120003
|
+
order_id?: string | null;
|
|
120004
|
+
order_number?: string | null;
|
|
120005
|
+
print_job_id?: string | null;
|
|
120006
|
+
printer_id?: string | null;
|
|
120007
|
+
retry_class?: string | null;
|
|
120008
|
+
slip_job_id: string;
|
|
120009
|
+
status?: string;
|
|
120010
|
+
updated_at?: string;
|
|
120011
|
+
};
|
|
120012
|
+
Update: {
|
|
120013
|
+
attempts?: number;
|
|
120014
|
+
batch_key?: string | null;
|
|
120015
|
+
cart_id?: string | null;
|
|
120016
|
+
created_at?: string;
|
|
120017
|
+
error?: string | null;
|
|
120018
|
+
error_code?: string | null;
|
|
120019
|
+
fulfillment_order_id?: string | null;
|
|
120020
|
+
id?: string;
|
|
120021
|
+
locked_until?: string | null;
|
|
120022
|
+
next_attempt_at?: string | null;
|
|
120023
|
+
order_id?: string | null;
|
|
120024
|
+
order_number?: string | null;
|
|
120025
|
+
print_job_id?: string | null;
|
|
120026
|
+
printer_id?: string | null;
|
|
120027
|
+
retry_class?: string | null;
|
|
120028
|
+
slip_job_id?: string;
|
|
120029
|
+
status?: string;
|
|
120030
|
+
updated_at?: string;
|
|
120031
|
+
};
|
|
120032
|
+
Relationships: [];
|
|
120033
|
+
};
|
|
117489
120034
|
logistics_staff_planning: {
|
|
117490
120035
|
Row: {
|
|
117491
120036
|
created_at: string;
|
|
@@ -117837,6 +120382,111 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
117837
120382
|
};
|
|
117838
120383
|
Relationships: [];
|
|
117839
120384
|
};
|
|
120385
|
+
logistics_trace_events: {
|
|
120386
|
+
Row: {
|
|
120387
|
+
actor: string | null;
|
|
120388
|
+
attempts: number;
|
|
120389
|
+
cart_ref: string | null;
|
|
120390
|
+
created_at: string;
|
|
120391
|
+
db_action: string | null;
|
|
120392
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
120393
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
120394
|
+
db_record: string | null;
|
|
120395
|
+
db_table: string | null;
|
|
120396
|
+
decision: string | null;
|
|
120397
|
+
duration_ms: number | null;
|
|
120398
|
+
error: string | null;
|
|
120399
|
+
external_action: string | null;
|
|
120400
|
+
external_ref: string | null;
|
|
120401
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
120402
|
+
external_status: string | null;
|
|
120403
|
+
external_system: string | null;
|
|
120404
|
+
id: string;
|
|
120405
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
120406
|
+
next_attempt_at: string | null;
|
|
120407
|
+
order_ref: string | null;
|
|
120408
|
+
order_source: string | null;
|
|
120409
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
120410
|
+
phase: string;
|
|
120411
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
120412
|
+
reason: string | null;
|
|
120413
|
+
rule: string | null;
|
|
120414
|
+
slip_ref: string | null;
|
|
120415
|
+
status: string;
|
|
120416
|
+
step: string;
|
|
120417
|
+
trace_id: string;
|
|
120418
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
120419
|
+
};
|
|
120420
|
+
Insert: {
|
|
120421
|
+
actor?: string | null;
|
|
120422
|
+
attempts?: number;
|
|
120423
|
+
cart_ref?: string | null;
|
|
120424
|
+
created_at?: string;
|
|
120425
|
+
db_action?: string | null;
|
|
120426
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
120427
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
120428
|
+
db_record?: string | null;
|
|
120429
|
+
db_table?: string | null;
|
|
120430
|
+
decision?: string | null;
|
|
120431
|
+
duration_ms?: number | null;
|
|
120432
|
+
error?: string | null;
|
|
120433
|
+
external_action?: string | null;
|
|
120434
|
+
external_ref?: string | null;
|
|
120435
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
120436
|
+
external_status?: string | null;
|
|
120437
|
+
external_system?: string | null;
|
|
120438
|
+
id?: string;
|
|
120439
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
120440
|
+
next_attempt_at?: string | null;
|
|
120441
|
+
order_ref?: string | null;
|
|
120442
|
+
order_source?: string | null;
|
|
120443
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
120444
|
+
phase: string;
|
|
120445
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
120446
|
+
reason?: string | null;
|
|
120447
|
+
rule?: string | null;
|
|
120448
|
+
slip_ref?: string | null;
|
|
120449
|
+
status: string;
|
|
120450
|
+
step: string;
|
|
120451
|
+
trace_id?: string;
|
|
120452
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
120453
|
+
};
|
|
120454
|
+
Update: {
|
|
120455
|
+
actor?: string | null;
|
|
120456
|
+
attempts?: number;
|
|
120457
|
+
cart_ref?: string | null;
|
|
120458
|
+
created_at?: string;
|
|
120459
|
+
db_action?: string | null;
|
|
120460
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
120461
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
120462
|
+
db_record?: string | null;
|
|
120463
|
+
db_table?: string | null;
|
|
120464
|
+
decision?: string | null;
|
|
120465
|
+
duration_ms?: number | null;
|
|
120466
|
+
error?: string | null;
|
|
120467
|
+
external_action?: string | null;
|
|
120468
|
+
external_ref?: string | null;
|
|
120469
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
120470
|
+
external_status?: string | null;
|
|
120471
|
+
external_system?: string | null;
|
|
120472
|
+
id?: string;
|
|
120473
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
120474
|
+
next_attempt_at?: string | null;
|
|
120475
|
+
order_ref?: string | null;
|
|
120476
|
+
order_source?: string | null;
|
|
120477
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
120478
|
+
phase?: string;
|
|
120479
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
120480
|
+
reason?: string | null;
|
|
120481
|
+
rule?: string | null;
|
|
120482
|
+
slip_ref?: string | null;
|
|
120483
|
+
status?: string;
|
|
120484
|
+
step?: string;
|
|
120485
|
+
trace_id?: string;
|
|
120486
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
120487
|
+
};
|
|
120488
|
+
Relationships: [];
|
|
120489
|
+
};
|
|
117840
120490
|
logistics_variables: {
|
|
117841
120491
|
Row: {
|
|
117842
120492
|
created_at: string;
|
|
@@ -128409,6 +131059,15 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
128409
131059
|
Args: never;
|
|
128410
131060
|
Returns: boolean;
|
|
128411
131061
|
};
|
|
131062
|
+
cancel_open_print_jobs: {
|
|
131063
|
+
Args: {
|
|
131064
|
+
_cutoff: string;
|
|
131065
|
+
};
|
|
131066
|
+
Returns: {
|
|
131067
|
+
extern_job_id: string;
|
|
131068
|
+
id: string;
|
|
131069
|
+
}[];
|
|
131070
|
+
};
|
|
128412
131071
|
check_offer_product_available_stock: {
|
|
128413
131072
|
Args: {
|
|
128414
131073
|
p_campaign_product_id: string;
|
|
@@ -130021,6 +132680,12 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130021
132680
|
};
|
|
130022
132681
|
Returns: import("../integrations/supabase/types").Json;
|
|
130023
132682
|
};
|
|
132683
|
+
logistics_cart_plan_status_core: {
|
|
132684
|
+
Args: {
|
|
132685
|
+
p_ref: string;
|
|
132686
|
+
};
|
|
132687
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
132688
|
+
};
|
|
130024
132689
|
logistics_cart_release_reason: {
|
|
130025
132690
|
Args: {
|
|
130026
132691
|
p_cart_id: string;
|
|
@@ -130083,6 +132748,10 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130083
132748
|
unit_ref: string;
|
|
130084
132749
|
}[];
|
|
130085
132750
|
};
|
|
132751
|
+
logistics_carts_per_print: {
|
|
132752
|
+
Args: never;
|
|
132753
|
+
Returns: number;
|
|
132754
|
+
};
|
|
130086
132755
|
logistics_check_order_allowed: {
|
|
130087
132756
|
Args: {
|
|
130088
132757
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -130449,6 +133118,12 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130449
133118
|
};
|
|
130450
133119
|
Returns: import("../integrations/supabase/types").Json;
|
|
130451
133120
|
};
|
|
133121
|
+
logistics_ensure_shipping_notes: {
|
|
133122
|
+
Args: {
|
|
133123
|
+
p_limit?: number;
|
|
133124
|
+
};
|
|
133125
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133126
|
+
};
|
|
130452
133127
|
logistics_fail_task: {
|
|
130453
133128
|
Args: {
|
|
130454
133129
|
p_error: string;
|
|
@@ -130494,6 +133169,10 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130494
133169
|
isSetofReturn: false;
|
|
130495
133170
|
};
|
|
130496
133171
|
};
|
|
133172
|
+
logistics_fix_wrong_shipping_notes: {
|
|
133173
|
+
Args: never;
|
|
133174
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133175
|
+
};
|
|
130497
133176
|
logistics_floriday_cart_plan: {
|
|
130498
133177
|
Args: {
|
|
130499
133178
|
p_order_id: string;
|
|
@@ -130521,6 +133200,10 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130521
133200
|
revision: number;
|
|
130522
133201
|
}[];
|
|
130523
133202
|
};
|
|
133203
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
133204
|
+
Args: never;
|
|
133205
|
+
Returns: boolean;
|
|
133206
|
+
};
|
|
130524
133207
|
logistics_floriday_finish_push: {
|
|
130525
133208
|
Args: {
|
|
130526
133209
|
_error?: string;
|
|
@@ -130764,6 +133447,12 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130764
133447
|
};
|
|
130765
133448
|
Returns: string;
|
|
130766
133449
|
};
|
|
133450
|
+
logistics_payload_is_floriday: {
|
|
133451
|
+
Args: {
|
|
133452
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
133453
|
+
};
|
|
133454
|
+
Returns: boolean;
|
|
133455
|
+
};
|
|
130767
133456
|
logistics_pick_agenda: {
|
|
130768
133457
|
Args: {
|
|
130769
133458
|
p_from?: string;
|
|
@@ -130886,6 +133575,20 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130886
133575
|
Args: never;
|
|
130887
133576
|
Returns: undefined;
|
|
130888
133577
|
};
|
|
133578
|
+
logistics_plan_progress: {
|
|
133579
|
+
Args: {
|
|
133580
|
+
p_refs: string[];
|
|
133581
|
+
};
|
|
133582
|
+
Returns: {
|
|
133583
|
+
cart_plan_ready: boolean;
|
|
133584
|
+
cart_plan_reason: string;
|
|
133585
|
+
cart_plan_released: boolean;
|
|
133586
|
+
plan_progress: number;
|
|
133587
|
+
plan_state: string;
|
|
133588
|
+
plan_state_since: string;
|
|
133589
|
+
unit_ref: string;
|
|
133590
|
+
}[];
|
|
133591
|
+
};
|
|
130889
133592
|
logistics_plan_prune: {
|
|
130890
133593
|
Args: never;
|
|
130891
133594
|
Returns: number;
|
|
@@ -130907,6 +133610,12 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130907
133610
|
};
|
|
130908
133611
|
Returns: number;
|
|
130909
133612
|
};
|
|
133613
|
+
logistics_plan_state_for: {
|
|
133614
|
+
Args: {
|
|
133615
|
+
p_ref: string;
|
|
133616
|
+
};
|
|
133617
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133618
|
+
};
|
|
130910
133619
|
logistics_prepare_pick_documents: {
|
|
130911
133620
|
Args: {
|
|
130912
133621
|
p_limit?: number;
|
|
@@ -130965,6 +133674,12 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
130965
133674
|
};
|
|
130966
133675
|
Returns: import("../integrations/supabase/types").Json;
|
|
130967
133676
|
};
|
|
133677
|
+
logistics_refresh_plan_state: {
|
|
133678
|
+
Args: {
|
|
133679
|
+
p_limit?: number;
|
|
133680
|
+
};
|
|
133681
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133682
|
+
};
|
|
130968
133683
|
logistics_replan_all: {
|
|
130969
133684
|
Args: {
|
|
130970
133685
|
p_reason?: string;
|
|
@@ -131133,6 +133848,74 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
131133
133848
|
};
|
|
131134
133849
|
Returns: import("../integrations/supabase/types").Json;
|
|
131135
133850
|
};
|
|
133851
|
+
logistics_shipping_note_job_for_slip: {
|
|
133852
|
+
Args: {
|
|
133853
|
+
_slip_job_id: string;
|
|
133854
|
+
};
|
|
133855
|
+
Returns: string;
|
|
133856
|
+
};
|
|
133857
|
+
logistics_shipping_notes_wake_all: {
|
|
133858
|
+
Args: never;
|
|
133859
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133860
|
+
};
|
|
133861
|
+
logistics_slip_is_floriday: {
|
|
133862
|
+
Args: {
|
|
133863
|
+
_slip_job_id: string;
|
|
133864
|
+
};
|
|
133865
|
+
Returns: boolean;
|
|
133866
|
+
};
|
|
133867
|
+
logistics_slip_note_claim: {
|
|
133868
|
+
Args: {
|
|
133869
|
+
_lease_seconds?: number;
|
|
133870
|
+
_limit?: number;
|
|
133871
|
+
};
|
|
133872
|
+
Returns: {
|
|
133873
|
+
attempts: number;
|
|
133874
|
+
batch_key: string | null;
|
|
133875
|
+
cart_id: string | null;
|
|
133876
|
+
created_at: string;
|
|
133877
|
+
error: string | null;
|
|
133878
|
+
error_code: string | null;
|
|
133879
|
+
fulfillment_order_id: string | null;
|
|
133880
|
+
id: string;
|
|
133881
|
+
locked_until: string | null;
|
|
133882
|
+
next_attempt_at: string | null;
|
|
133883
|
+
order_id: string | null;
|
|
133884
|
+
order_number: string | null;
|
|
133885
|
+
print_job_id: string | null;
|
|
133886
|
+
printer_id: string | null;
|
|
133887
|
+
retry_class: string | null;
|
|
133888
|
+
slip_job_id: string;
|
|
133889
|
+
status: string;
|
|
133890
|
+
updated_at: string;
|
|
133891
|
+
}[];
|
|
133892
|
+
SetofOptions: {
|
|
133893
|
+
from: "*";
|
|
133894
|
+
to: "logistics_slip_shipping_note";
|
|
133895
|
+
isOneToOne: false;
|
|
133896
|
+
isSetofReturn: true;
|
|
133897
|
+
};
|
|
133898
|
+
};
|
|
133899
|
+
logistics_slip_note_finish: {
|
|
133900
|
+
Args: {
|
|
133901
|
+
_error?: string;
|
|
133902
|
+
_error_code?: string;
|
|
133903
|
+
_fulfillment_order_id?: string;
|
|
133904
|
+
_id: string;
|
|
133905
|
+
_ok: boolean;
|
|
133906
|
+
_print_job_id?: string;
|
|
133907
|
+
_status?: string;
|
|
133908
|
+
};
|
|
133909
|
+
Returns: undefined;
|
|
133910
|
+
};
|
|
133911
|
+
logistics_slip_note_keep_waiting: {
|
|
133912
|
+
Args: {
|
|
133913
|
+
_class?: string;
|
|
133914
|
+
_id: string;
|
|
133915
|
+
_reason: string;
|
|
133916
|
+
};
|
|
133917
|
+
Returns: undefined;
|
|
133918
|
+
};
|
|
131136
133919
|
logistics_sticker_follows_slip: {
|
|
131137
133920
|
Args: never;
|
|
131138
133921
|
Returns: boolean;
|
|
@@ -131187,6 +133970,40 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
131187
133970
|
name: string;
|
|
131188
133971
|
}[];
|
|
131189
133972
|
};
|
|
133973
|
+
logistics_trace: {
|
|
133974
|
+
Args: {
|
|
133975
|
+
p: import("../integrations/supabase/types").Json;
|
|
133976
|
+
};
|
|
133977
|
+
Returns: string;
|
|
133978
|
+
};
|
|
133979
|
+
logistics_trace_batch: {
|
|
133980
|
+
Args: {
|
|
133981
|
+
p: import("../integrations/supabase/types").Json;
|
|
133982
|
+
};
|
|
133983
|
+
Returns: number;
|
|
133984
|
+
};
|
|
133985
|
+
logistics_trace_orders: {
|
|
133986
|
+
Args: {
|
|
133987
|
+
p_limit?: number;
|
|
133988
|
+
p_search?: string;
|
|
133989
|
+
p_since?: string;
|
|
133990
|
+
p_status?: string;
|
|
133991
|
+
};
|
|
133992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133993
|
+
};
|
|
133994
|
+
logistics_trace_redact: {
|
|
133995
|
+
Args: {
|
|
133996
|
+
p: import("../integrations/supabase/types").Json;
|
|
133997
|
+
};
|
|
133998
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
133999
|
+
};
|
|
134000
|
+
logistics_trace_timeline: {
|
|
134001
|
+
Args: {
|
|
134002
|
+
p_limit?: number;
|
|
134003
|
+
p_order_ref: string;
|
|
134004
|
+
};
|
|
134005
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
134006
|
+
};
|
|
131190
134007
|
logistics_upsert_task: {
|
|
131191
134008
|
Args: {
|
|
131192
134009
|
p_buffer_ref: string;
|
|
@@ -132228,6 +135045,10 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
132228
135045
|
};
|
|
132229
135046
|
Returns: undefined;
|
|
132230
135047
|
};
|
|
135048
|
+
prune_floriday_api_log: {
|
|
135049
|
+
Args: never;
|
|
135050
|
+
Returns: number;
|
|
135051
|
+
};
|
|
132231
135052
|
quote_create_from_source: {
|
|
132232
135053
|
Args: {
|
|
132233
135054
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -133104,6 +135925,10 @@ export declare const upsertLocalPriceGroup: import("@tanstack/start-client-core"
|
|
|
133104
135925
|
Args: never;
|
|
133105
135926
|
Returns: string;
|
|
133106
135927
|
};
|
|
135928
|
+
voorraad_cleanup_old_rows: {
|
|
135929
|
+
Args: never;
|
|
135930
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
135931
|
+
};
|
|
133107
135932
|
wake_print_queue: {
|
|
133108
135933
|
Args: {
|
|
133109
135934
|
_min_interval_ms?: number;
|
|
@@ -135427,6 +138252,45 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
135427
138252
|
};
|
|
135428
138253
|
Relationships: [];
|
|
135429
138254
|
};
|
|
138255
|
+
customer_product_stickers: {
|
|
138256
|
+
Row: {
|
|
138257
|
+
created_at: string;
|
|
138258
|
+
customer_key: string;
|
|
138259
|
+
file_name: string;
|
|
138260
|
+
file_path: string;
|
|
138261
|
+
file_size: number | null;
|
|
138262
|
+
id: string;
|
|
138263
|
+
mime_type: string | null;
|
|
138264
|
+
trade_item_key: string;
|
|
138265
|
+
updated_at: string;
|
|
138266
|
+
uploaded_by: string | null;
|
|
138267
|
+
};
|
|
138268
|
+
Insert: {
|
|
138269
|
+
created_at?: string;
|
|
138270
|
+
customer_key: string;
|
|
138271
|
+
file_name: string;
|
|
138272
|
+
file_path: string;
|
|
138273
|
+
file_size?: number | null;
|
|
138274
|
+
id?: string;
|
|
138275
|
+
mime_type?: string | null;
|
|
138276
|
+
trade_item_key: string;
|
|
138277
|
+
updated_at?: string;
|
|
138278
|
+
uploaded_by?: string | null;
|
|
138279
|
+
};
|
|
138280
|
+
Update: {
|
|
138281
|
+
created_at?: string;
|
|
138282
|
+
customer_key?: string;
|
|
138283
|
+
file_name?: string;
|
|
138284
|
+
file_path?: string;
|
|
138285
|
+
file_size?: number | null;
|
|
138286
|
+
id?: string;
|
|
138287
|
+
mime_type?: string | null;
|
|
138288
|
+
trade_item_key?: string;
|
|
138289
|
+
updated_at?: string;
|
|
138290
|
+
uploaded_by?: string | null;
|
|
138291
|
+
};
|
|
138292
|
+
Relationships: [];
|
|
138293
|
+
};
|
|
135430
138294
|
customer_selected_assortment: {
|
|
135431
138295
|
Row: {
|
|
135432
138296
|
article_number: string | null;
|
|
@@ -135475,6 +138339,30 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
135475
138339
|
referencedColumns: ["id"];
|
|
135476
138340
|
}];
|
|
135477
138341
|
};
|
|
138342
|
+
customer_sticker_settings: {
|
|
138343
|
+
Row: {
|
|
138344
|
+
created_at: string;
|
|
138345
|
+
customer_key: string;
|
|
138346
|
+
height_mm: number;
|
|
138347
|
+
updated_at: string;
|
|
138348
|
+
width_mm: number;
|
|
138349
|
+
};
|
|
138350
|
+
Insert: {
|
|
138351
|
+
created_at?: string;
|
|
138352
|
+
customer_key: string;
|
|
138353
|
+
height_mm?: number;
|
|
138354
|
+
updated_at?: string;
|
|
138355
|
+
width_mm?: number;
|
|
138356
|
+
};
|
|
138357
|
+
Update: {
|
|
138358
|
+
created_at?: string;
|
|
138359
|
+
customer_key?: string;
|
|
138360
|
+
height_mm?: number;
|
|
138361
|
+
updated_at?: string;
|
|
138362
|
+
width_mm?: number;
|
|
138363
|
+
};
|
|
138364
|
+
Relationships: [];
|
|
138365
|
+
};
|
|
135478
138366
|
customer_trade_settings: {
|
|
135479
138367
|
Row: {
|
|
135480
138368
|
category: string;
|
|
@@ -138805,6 +141693,102 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
138805
141693
|
referencedColumns: ["id"];
|
|
138806
141694
|
}];
|
|
138807
141695
|
};
|
|
141696
|
+
floriday_api_log: {
|
|
141697
|
+
Row: {
|
|
141698
|
+
action: string | null;
|
|
141699
|
+
caller: string | null;
|
|
141700
|
+
connection_id: string | null;
|
|
141701
|
+
created_at: string;
|
|
141702
|
+
cursor_from: number | null;
|
|
141703
|
+
direction: string;
|
|
141704
|
+
duration_ms: number | null;
|
|
141705
|
+
environment: string | null;
|
|
141706
|
+
error: string | null;
|
|
141707
|
+
floriday_id: string | null;
|
|
141708
|
+
floriday_reference: string | null;
|
|
141709
|
+
http_status: number;
|
|
141710
|
+
id: string;
|
|
141711
|
+
item_count: number | null;
|
|
141712
|
+
kind: string | null;
|
|
141713
|
+
local_id: string | null;
|
|
141714
|
+
local_reference: string | null;
|
|
141715
|
+
method: string;
|
|
141716
|
+
module: string | null;
|
|
141717
|
+
ok: boolean;
|
|
141718
|
+
path: string;
|
|
141719
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
141720
|
+
resource_type: string | null;
|
|
141721
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
141722
|
+
write_log_id: string | null;
|
|
141723
|
+
};
|
|
141724
|
+
Insert: {
|
|
141725
|
+
action?: string | null;
|
|
141726
|
+
caller?: string | null;
|
|
141727
|
+
connection_id?: string | null;
|
|
141728
|
+
created_at?: string;
|
|
141729
|
+
cursor_from?: number | null;
|
|
141730
|
+
direction: string;
|
|
141731
|
+
duration_ms?: number | null;
|
|
141732
|
+
environment?: string | null;
|
|
141733
|
+
error?: string | null;
|
|
141734
|
+
floriday_id?: string | null;
|
|
141735
|
+
floriday_reference?: string | null;
|
|
141736
|
+
http_status?: number;
|
|
141737
|
+
id?: string;
|
|
141738
|
+
item_count?: number | null;
|
|
141739
|
+
kind?: string | null;
|
|
141740
|
+
local_id?: string | null;
|
|
141741
|
+
local_reference?: string | null;
|
|
141742
|
+
method: string;
|
|
141743
|
+
module?: string | null;
|
|
141744
|
+
ok?: boolean;
|
|
141745
|
+
path: string;
|
|
141746
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
141747
|
+
resource_type?: string | null;
|
|
141748
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
141749
|
+
write_log_id?: string | null;
|
|
141750
|
+
};
|
|
141751
|
+
Update: {
|
|
141752
|
+
action?: string | null;
|
|
141753
|
+
caller?: string | null;
|
|
141754
|
+
connection_id?: string | null;
|
|
141755
|
+
created_at?: string;
|
|
141756
|
+
cursor_from?: number | null;
|
|
141757
|
+
direction?: string;
|
|
141758
|
+
duration_ms?: number | null;
|
|
141759
|
+
environment?: string | null;
|
|
141760
|
+
error?: string | null;
|
|
141761
|
+
floriday_id?: string | null;
|
|
141762
|
+
floriday_reference?: string | null;
|
|
141763
|
+
http_status?: number;
|
|
141764
|
+
id?: string;
|
|
141765
|
+
item_count?: number | null;
|
|
141766
|
+
kind?: string | null;
|
|
141767
|
+
local_id?: string | null;
|
|
141768
|
+
local_reference?: string | null;
|
|
141769
|
+
method?: string;
|
|
141770
|
+
module?: string | null;
|
|
141771
|
+
ok?: boolean;
|
|
141772
|
+
path?: string;
|
|
141773
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
141774
|
+
resource_type?: string | null;
|
|
141775
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
141776
|
+
write_log_id?: string | null;
|
|
141777
|
+
};
|
|
141778
|
+
Relationships: [{
|
|
141779
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
141780
|
+
columns: ["connection_id"];
|
|
141781
|
+
isOneToOne: false;
|
|
141782
|
+
referencedRelation: "floriday_connections";
|
|
141783
|
+
referencedColumns: ["id"];
|
|
141784
|
+
}, {
|
|
141785
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
141786
|
+
columns: ["write_log_id"];
|
|
141787
|
+
isOneToOne: false;
|
|
141788
|
+
referencedRelation: "floriday_write_log";
|
|
141789
|
+
referencedColumns: ["id"];
|
|
141790
|
+
}];
|
|
141791
|
+
};
|
|
138808
141792
|
floriday_auction_letters_cache: {
|
|
138809
141793
|
Row: {
|
|
138810
141794
|
auction_letter_code: string;
|
|
@@ -140005,6 +142989,69 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
140005
142989
|
referencedColumns: ["id"];
|
|
140006
142990
|
}];
|
|
140007
142991
|
};
|
|
142992
|
+
floriday_link_templates: {
|
|
142993
|
+
Row: {
|
|
142994
|
+
created_at: string;
|
|
142995
|
+
floriday_url_template: string | null;
|
|
142996
|
+
is_active: boolean;
|
|
142997
|
+
label: string;
|
|
142998
|
+
local_url_template: string | null;
|
|
142999
|
+
resource_type: string;
|
|
143000
|
+
updated_at: string;
|
|
143001
|
+
};
|
|
143002
|
+
Insert: {
|
|
143003
|
+
created_at?: string;
|
|
143004
|
+
floriday_url_template?: string | null;
|
|
143005
|
+
is_active?: boolean;
|
|
143006
|
+
label: string;
|
|
143007
|
+
local_url_template?: string | null;
|
|
143008
|
+
resource_type: string;
|
|
143009
|
+
updated_at?: string;
|
|
143010
|
+
};
|
|
143011
|
+
Update: {
|
|
143012
|
+
created_at?: string;
|
|
143013
|
+
floriday_url_template?: string | null;
|
|
143014
|
+
is_active?: boolean;
|
|
143015
|
+
label?: string;
|
|
143016
|
+
local_url_template?: string | null;
|
|
143017
|
+
resource_type?: string;
|
|
143018
|
+
updated_at?: string;
|
|
143019
|
+
};
|
|
143020
|
+
Relationships: [];
|
|
143021
|
+
};
|
|
143022
|
+
floriday_log_retention: {
|
|
143023
|
+
Row: {
|
|
143024
|
+
created_at: string;
|
|
143025
|
+
direction: string | null;
|
|
143026
|
+
id: string;
|
|
143027
|
+
keep_failed_days: number | null;
|
|
143028
|
+
keep_ok_days: number | null;
|
|
143029
|
+
note: string | null;
|
|
143030
|
+
resource_type: string | null;
|
|
143031
|
+
updated_at: string;
|
|
143032
|
+
};
|
|
143033
|
+
Insert: {
|
|
143034
|
+
created_at?: string;
|
|
143035
|
+
direction?: string | null;
|
|
143036
|
+
id?: string;
|
|
143037
|
+
keep_failed_days?: number | null;
|
|
143038
|
+
keep_ok_days?: number | null;
|
|
143039
|
+
note?: string | null;
|
|
143040
|
+
resource_type?: string | null;
|
|
143041
|
+
updated_at?: string;
|
|
143042
|
+
};
|
|
143043
|
+
Update: {
|
|
143044
|
+
created_at?: string;
|
|
143045
|
+
direction?: string | null;
|
|
143046
|
+
id?: string;
|
|
143047
|
+
keep_failed_days?: number | null;
|
|
143048
|
+
keep_ok_days?: number | null;
|
|
143049
|
+
note?: string | null;
|
|
143050
|
+
resource_type?: string | null;
|
|
143051
|
+
updated_at?: string;
|
|
143052
|
+
};
|
|
143053
|
+
Relationships: [];
|
|
143054
|
+
};
|
|
140008
143055
|
floriday_logistic_labels_cache: {
|
|
140009
143056
|
Row: {
|
|
140010
143057
|
byte_size: number | null;
|
|
@@ -144130,6 +147177,69 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
144130
147177
|
};
|
|
144131
147178
|
Relationships: [];
|
|
144132
147179
|
};
|
|
147180
|
+
logistics_slip_shipping_note: {
|
|
147181
|
+
Row: {
|
|
147182
|
+
attempts: number;
|
|
147183
|
+
batch_key: string | null;
|
|
147184
|
+
cart_id: string | null;
|
|
147185
|
+
created_at: string;
|
|
147186
|
+
error: string | null;
|
|
147187
|
+
error_code: string | null;
|
|
147188
|
+
fulfillment_order_id: string | null;
|
|
147189
|
+
id: string;
|
|
147190
|
+
locked_until: string | null;
|
|
147191
|
+
next_attempt_at: string | null;
|
|
147192
|
+
order_id: string | null;
|
|
147193
|
+
order_number: string | null;
|
|
147194
|
+
print_job_id: string | null;
|
|
147195
|
+
printer_id: string | null;
|
|
147196
|
+
retry_class: string | null;
|
|
147197
|
+
slip_job_id: string;
|
|
147198
|
+
status: string;
|
|
147199
|
+
updated_at: string;
|
|
147200
|
+
};
|
|
147201
|
+
Insert: {
|
|
147202
|
+
attempts?: number;
|
|
147203
|
+
batch_key?: string | null;
|
|
147204
|
+
cart_id?: string | null;
|
|
147205
|
+
created_at?: string;
|
|
147206
|
+
error?: string | null;
|
|
147207
|
+
error_code?: string | null;
|
|
147208
|
+
fulfillment_order_id?: string | null;
|
|
147209
|
+
id?: string;
|
|
147210
|
+
locked_until?: string | null;
|
|
147211
|
+
next_attempt_at?: string | null;
|
|
147212
|
+
order_id?: string | null;
|
|
147213
|
+
order_number?: string | null;
|
|
147214
|
+
print_job_id?: string | null;
|
|
147215
|
+
printer_id?: string | null;
|
|
147216
|
+
retry_class?: string | null;
|
|
147217
|
+
slip_job_id: string;
|
|
147218
|
+
status?: string;
|
|
147219
|
+
updated_at?: string;
|
|
147220
|
+
};
|
|
147221
|
+
Update: {
|
|
147222
|
+
attempts?: number;
|
|
147223
|
+
batch_key?: string | null;
|
|
147224
|
+
cart_id?: string | null;
|
|
147225
|
+
created_at?: string;
|
|
147226
|
+
error?: string | null;
|
|
147227
|
+
error_code?: string | null;
|
|
147228
|
+
fulfillment_order_id?: string | null;
|
|
147229
|
+
id?: string;
|
|
147230
|
+
locked_until?: string | null;
|
|
147231
|
+
next_attempt_at?: string | null;
|
|
147232
|
+
order_id?: string | null;
|
|
147233
|
+
order_number?: string | null;
|
|
147234
|
+
print_job_id?: string | null;
|
|
147235
|
+
printer_id?: string | null;
|
|
147236
|
+
retry_class?: string | null;
|
|
147237
|
+
slip_job_id?: string;
|
|
147238
|
+
status?: string;
|
|
147239
|
+
updated_at?: string;
|
|
147240
|
+
};
|
|
147241
|
+
Relationships: [];
|
|
147242
|
+
};
|
|
144133
147243
|
logistics_staff_planning: {
|
|
144134
147244
|
Row: {
|
|
144135
147245
|
created_at: string;
|
|
@@ -144481,6 +147591,111 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
144481
147591
|
};
|
|
144482
147592
|
Relationships: [];
|
|
144483
147593
|
};
|
|
147594
|
+
logistics_trace_events: {
|
|
147595
|
+
Row: {
|
|
147596
|
+
actor: string | null;
|
|
147597
|
+
attempts: number;
|
|
147598
|
+
cart_ref: string | null;
|
|
147599
|
+
created_at: string;
|
|
147600
|
+
db_action: string | null;
|
|
147601
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
147602
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
147603
|
+
db_record: string | null;
|
|
147604
|
+
db_table: string | null;
|
|
147605
|
+
decision: string | null;
|
|
147606
|
+
duration_ms: number | null;
|
|
147607
|
+
error: string | null;
|
|
147608
|
+
external_action: string | null;
|
|
147609
|
+
external_ref: string | null;
|
|
147610
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
147611
|
+
external_status: string | null;
|
|
147612
|
+
external_system: string | null;
|
|
147613
|
+
id: string;
|
|
147614
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
147615
|
+
next_attempt_at: string | null;
|
|
147616
|
+
order_ref: string | null;
|
|
147617
|
+
order_source: string | null;
|
|
147618
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
147619
|
+
phase: string;
|
|
147620
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
147621
|
+
reason: string | null;
|
|
147622
|
+
rule: string | null;
|
|
147623
|
+
slip_ref: string | null;
|
|
147624
|
+
status: string;
|
|
147625
|
+
step: string;
|
|
147626
|
+
trace_id: string;
|
|
147627
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
147628
|
+
};
|
|
147629
|
+
Insert: {
|
|
147630
|
+
actor?: string | null;
|
|
147631
|
+
attempts?: number;
|
|
147632
|
+
cart_ref?: string | null;
|
|
147633
|
+
created_at?: string;
|
|
147634
|
+
db_action?: string | null;
|
|
147635
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
147636
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
147637
|
+
db_record?: string | null;
|
|
147638
|
+
db_table?: string | null;
|
|
147639
|
+
decision?: string | null;
|
|
147640
|
+
duration_ms?: number | null;
|
|
147641
|
+
error?: string | null;
|
|
147642
|
+
external_action?: string | null;
|
|
147643
|
+
external_ref?: string | null;
|
|
147644
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
147645
|
+
external_status?: string | null;
|
|
147646
|
+
external_system?: string | null;
|
|
147647
|
+
id?: string;
|
|
147648
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
147649
|
+
next_attempt_at?: string | null;
|
|
147650
|
+
order_ref?: string | null;
|
|
147651
|
+
order_source?: string | null;
|
|
147652
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
147653
|
+
phase: string;
|
|
147654
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
147655
|
+
reason?: string | null;
|
|
147656
|
+
rule?: string | null;
|
|
147657
|
+
slip_ref?: string | null;
|
|
147658
|
+
status: string;
|
|
147659
|
+
step: string;
|
|
147660
|
+
trace_id?: string;
|
|
147661
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
147662
|
+
};
|
|
147663
|
+
Update: {
|
|
147664
|
+
actor?: string | null;
|
|
147665
|
+
attempts?: number;
|
|
147666
|
+
cart_ref?: string | null;
|
|
147667
|
+
created_at?: string;
|
|
147668
|
+
db_action?: string | null;
|
|
147669
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
147670
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
147671
|
+
db_record?: string | null;
|
|
147672
|
+
db_table?: string | null;
|
|
147673
|
+
decision?: string | null;
|
|
147674
|
+
duration_ms?: number | null;
|
|
147675
|
+
error?: string | null;
|
|
147676
|
+
external_action?: string | null;
|
|
147677
|
+
external_ref?: string | null;
|
|
147678
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
147679
|
+
external_status?: string | null;
|
|
147680
|
+
external_system?: string | null;
|
|
147681
|
+
id?: string;
|
|
147682
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
147683
|
+
next_attempt_at?: string | null;
|
|
147684
|
+
order_ref?: string | null;
|
|
147685
|
+
order_source?: string | null;
|
|
147686
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
147687
|
+
phase?: string;
|
|
147688
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
147689
|
+
reason?: string | null;
|
|
147690
|
+
rule?: string | null;
|
|
147691
|
+
slip_ref?: string | null;
|
|
147692
|
+
status?: string;
|
|
147693
|
+
step?: string;
|
|
147694
|
+
trace_id?: string;
|
|
147695
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
147696
|
+
};
|
|
147697
|
+
Relationships: [];
|
|
147698
|
+
};
|
|
144484
147699
|
logistics_variables: {
|
|
144485
147700
|
Row: {
|
|
144486
147701
|
created_at: string;
|
|
@@ -155053,6 +158268,15 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
155053
158268
|
Args: never;
|
|
155054
158269
|
Returns: boolean;
|
|
155055
158270
|
};
|
|
158271
|
+
cancel_open_print_jobs: {
|
|
158272
|
+
Args: {
|
|
158273
|
+
_cutoff: string;
|
|
158274
|
+
};
|
|
158275
|
+
Returns: {
|
|
158276
|
+
extern_job_id: string;
|
|
158277
|
+
id: string;
|
|
158278
|
+
}[];
|
|
158279
|
+
};
|
|
155056
158280
|
check_offer_product_available_stock: {
|
|
155057
158281
|
Args: {
|
|
155058
158282
|
p_campaign_product_id: string;
|
|
@@ -156665,6 +159889,12 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
156665
159889
|
};
|
|
156666
159890
|
Returns: import("../integrations/supabase/types").Json;
|
|
156667
159891
|
};
|
|
159892
|
+
logistics_cart_plan_status_core: {
|
|
159893
|
+
Args: {
|
|
159894
|
+
p_ref: string;
|
|
159895
|
+
};
|
|
159896
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
159897
|
+
};
|
|
156668
159898
|
logistics_cart_release_reason: {
|
|
156669
159899
|
Args: {
|
|
156670
159900
|
p_cart_id: string;
|
|
@@ -156727,6 +159957,10 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
156727
159957
|
unit_ref: string;
|
|
156728
159958
|
}[];
|
|
156729
159959
|
};
|
|
159960
|
+
logistics_carts_per_print: {
|
|
159961
|
+
Args: never;
|
|
159962
|
+
Returns: number;
|
|
159963
|
+
};
|
|
156730
159964
|
logistics_check_order_allowed: {
|
|
156731
159965
|
Args: {
|
|
156732
159966
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -157093,6 +160327,12 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157093
160327
|
};
|
|
157094
160328
|
Returns: import("../integrations/supabase/types").Json;
|
|
157095
160329
|
};
|
|
160330
|
+
logistics_ensure_shipping_notes: {
|
|
160331
|
+
Args: {
|
|
160332
|
+
p_limit?: number;
|
|
160333
|
+
};
|
|
160334
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160335
|
+
};
|
|
157096
160336
|
logistics_fail_task: {
|
|
157097
160337
|
Args: {
|
|
157098
160338
|
p_error: string;
|
|
@@ -157138,6 +160378,10 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157138
160378
|
isSetofReturn: false;
|
|
157139
160379
|
};
|
|
157140
160380
|
};
|
|
160381
|
+
logistics_fix_wrong_shipping_notes: {
|
|
160382
|
+
Args: never;
|
|
160383
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160384
|
+
};
|
|
157141
160385
|
logistics_floriday_cart_plan: {
|
|
157142
160386
|
Args: {
|
|
157143
160387
|
p_order_id: string;
|
|
@@ -157165,6 +160409,10 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157165
160409
|
revision: number;
|
|
157166
160410
|
}[];
|
|
157167
160411
|
};
|
|
160412
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
160413
|
+
Args: never;
|
|
160414
|
+
Returns: boolean;
|
|
160415
|
+
};
|
|
157168
160416
|
logistics_floriday_finish_push: {
|
|
157169
160417
|
Args: {
|
|
157170
160418
|
_error?: string;
|
|
@@ -157408,6 +160656,12 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157408
160656
|
};
|
|
157409
160657
|
Returns: string;
|
|
157410
160658
|
};
|
|
160659
|
+
logistics_payload_is_floriday: {
|
|
160660
|
+
Args: {
|
|
160661
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
160662
|
+
};
|
|
160663
|
+
Returns: boolean;
|
|
160664
|
+
};
|
|
157411
160665
|
logistics_pick_agenda: {
|
|
157412
160666
|
Args: {
|
|
157413
160667
|
p_from?: string;
|
|
@@ -157530,6 +160784,20 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157530
160784
|
Args: never;
|
|
157531
160785
|
Returns: undefined;
|
|
157532
160786
|
};
|
|
160787
|
+
logistics_plan_progress: {
|
|
160788
|
+
Args: {
|
|
160789
|
+
p_refs: string[];
|
|
160790
|
+
};
|
|
160791
|
+
Returns: {
|
|
160792
|
+
cart_plan_ready: boolean;
|
|
160793
|
+
cart_plan_reason: string;
|
|
160794
|
+
cart_plan_released: boolean;
|
|
160795
|
+
plan_progress: number;
|
|
160796
|
+
plan_state: string;
|
|
160797
|
+
plan_state_since: string;
|
|
160798
|
+
unit_ref: string;
|
|
160799
|
+
}[];
|
|
160800
|
+
};
|
|
157533
160801
|
logistics_plan_prune: {
|
|
157534
160802
|
Args: never;
|
|
157535
160803
|
Returns: number;
|
|
@@ -157551,6 +160819,12 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157551
160819
|
};
|
|
157552
160820
|
Returns: number;
|
|
157553
160821
|
};
|
|
160822
|
+
logistics_plan_state_for: {
|
|
160823
|
+
Args: {
|
|
160824
|
+
p_ref: string;
|
|
160825
|
+
};
|
|
160826
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160827
|
+
};
|
|
157554
160828
|
logistics_prepare_pick_documents: {
|
|
157555
160829
|
Args: {
|
|
157556
160830
|
p_limit?: number;
|
|
@@ -157609,6 +160883,12 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157609
160883
|
};
|
|
157610
160884
|
Returns: import("../integrations/supabase/types").Json;
|
|
157611
160885
|
};
|
|
160886
|
+
logistics_refresh_plan_state: {
|
|
160887
|
+
Args: {
|
|
160888
|
+
p_limit?: number;
|
|
160889
|
+
};
|
|
160890
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
160891
|
+
};
|
|
157612
160892
|
logistics_replan_all: {
|
|
157613
160893
|
Args: {
|
|
157614
160894
|
p_reason?: string;
|
|
@@ -157777,6 +161057,74 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157777
161057
|
};
|
|
157778
161058
|
Returns: import("../integrations/supabase/types").Json;
|
|
157779
161059
|
};
|
|
161060
|
+
logistics_shipping_note_job_for_slip: {
|
|
161061
|
+
Args: {
|
|
161062
|
+
_slip_job_id: string;
|
|
161063
|
+
};
|
|
161064
|
+
Returns: string;
|
|
161065
|
+
};
|
|
161066
|
+
logistics_shipping_notes_wake_all: {
|
|
161067
|
+
Args: never;
|
|
161068
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161069
|
+
};
|
|
161070
|
+
logistics_slip_is_floriday: {
|
|
161071
|
+
Args: {
|
|
161072
|
+
_slip_job_id: string;
|
|
161073
|
+
};
|
|
161074
|
+
Returns: boolean;
|
|
161075
|
+
};
|
|
161076
|
+
logistics_slip_note_claim: {
|
|
161077
|
+
Args: {
|
|
161078
|
+
_lease_seconds?: number;
|
|
161079
|
+
_limit?: number;
|
|
161080
|
+
};
|
|
161081
|
+
Returns: {
|
|
161082
|
+
attempts: number;
|
|
161083
|
+
batch_key: string | null;
|
|
161084
|
+
cart_id: string | null;
|
|
161085
|
+
created_at: string;
|
|
161086
|
+
error: string | null;
|
|
161087
|
+
error_code: string | null;
|
|
161088
|
+
fulfillment_order_id: string | null;
|
|
161089
|
+
id: string;
|
|
161090
|
+
locked_until: string | null;
|
|
161091
|
+
next_attempt_at: string | null;
|
|
161092
|
+
order_id: string | null;
|
|
161093
|
+
order_number: string | null;
|
|
161094
|
+
print_job_id: string | null;
|
|
161095
|
+
printer_id: string | null;
|
|
161096
|
+
retry_class: string | null;
|
|
161097
|
+
slip_job_id: string;
|
|
161098
|
+
status: string;
|
|
161099
|
+
updated_at: string;
|
|
161100
|
+
}[];
|
|
161101
|
+
SetofOptions: {
|
|
161102
|
+
from: "*";
|
|
161103
|
+
to: "logistics_slip_shipping_note";
|
|
161104
|
+
isOneToOne: false;
|
|
161105
|
+
isSetofReturn: true;
|
|
161106
|
+
};
|
|
161107
|
+
};
|
|
161108
|
+
logistics_slip_note_finish: {
|
|
161109
|
+
Args: {
|
|
161110
|
+
_error?: string;
|
|
161111
|
+
_error_code?: string;
|
|
161112
|
+
_fulfillment_order_id?: string;
|
|
161113
|
+
_id: string;
|
|
161114
|
+
_ok: boolean;
|
|
161115
|
+
_print_job_id?: string;
|
|
161116
|
+
_status?: string;
|
|
161117
|
+
};
|
|
161118
|
+
Returns: undefined;
|
|
161119
|
+
};
|
|
161120
|
+
logistics_slip_note_keep_waiting: {
|
|
161121
|
+
Args: {
|
|
161122
|
+
_class?: string;
|
|
161123
|
+
_id: string;
|
|
161124
|
+
_reason: string;
|
|
161125
|
+
};
|
|
161126
|
+
Returns: undefined;
|
|
161127
|
+
};
|
|
157780
161128
|
logistics_sticker_follows_slip: {
|
|
157781
161129
|
Args: never;
|
|
157782
161130
|
Returns: boolean;
|
|
@@ -157831,6 +161179,40 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
157831
161179
|
name: string;
|
|
157832
161180
|
}[];
|
|
157833
161181
|
};
|
|
161182
|
+
logistics_trace: {
|
|
161183
|
+
Args: {
|
|
161184
|
+
p: import("../integrations/supabase/types").Json;
|
|
161185
|
+
};
|
|
161186
|
+
Returns: string;
|
|
161187
|
+
};
|
|
161188
|
+
logistics_trace_batch: {
|
|
161189
|
+
Args: {
|
|
161190
|
+
p: import("../integrations/supabase/types").Json;
|
|
161191
|
+
};
|
|
161192
|
+
Returns: number;
|
|
161193
|
+
};
|
|
161194
|
+
logistics_trace_orders: {
|
|
161195
|
+
Args: {
|
|
161196
|
+
p_limit?: number;
|
|
161197
|
+
p_search?: string;
|
|
161198
|
+
p_since?: string;
|
|
161199
|
+
p_status?: string;
|
|
161200
|
+
};
|
|
161201
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161202
|
+
};
|
|
161203
|
+
logistics_trace_redact: {
|
|
161204
|
+
Args: {
|
|
161205
|
+
p: import("../integrations/supabase/types").Json;
|
|
161206
|
+
};
|
|
161207
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161208
|
+
};
|
|
161209
|
+
logistics_trace_timeline: {
|
|
161210
|
+
Args: {
|
|
161211
|
+
p_limit?: number;
|
|
161212
|
+
p_order_ref: string;
|
|
161213
|
+
};
|
|
161214
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
161215
|
+
};
|
|
157834
161216
|
logistics_upsert_task: {
|
|
157835
161217
|
Args: {
|
|
157836
161218
|
p_buffer_ref: string;
|
|
@@ -158872,6 +162254,10 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
158872
162254
|
};
|
|
158873
162255
|
Returns: undefined;
|
|
158874
162256
|
};
|
|
162257
|
+
prune_floriday_api_log: {
|
|
162258
|
+
Args: never;
|
|
162259
|
+
Returns: number;
|
|
162260
|
+
};
|
|
158875
162261
|
quote_create_from_source: {
|
|
158876
162262
|
Args: {
|
|
158877
162263
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -159748,6 +163134,10 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
159748
163134
|
Args: never;
|
|
159749
163135
|
Returns: string;
|
|
159750
163136
|
};
|
|
163137
|
+
voorraad_cleanup_old_rows: {
|
|
163138
|
+
Args: never;
|
|
163139
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
163140
|
+
};
|
|
159751
163141
|
wake_print_queue: {
|
|
159752
163142
|
Args: {
|
|
159753
163143
|
_min_interval_ms?: number;
|
|
@@ -159817,7 +163207,7 @@ export declare const deleteLocalDiscount: import("@tanstack/start-client-core").
|
|
|
159817
163207
|
userId: string;
|
|
159818
163208
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
159819
163209
|
}, undefined, undefined, undefined>], (input: unknown) => {
|
|
159820
|
-
source: "
|
|
163210
|
+
source: "price_group" | "agreement" | "sales_strategy";
|
|
159821
163211
|
id: string;
|
|
159822
163212
|
}, Promise<{
|
|
159823
163213
|
ok: true;
|
|
@@ -162048,6 +165438,45 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
162048
165438
|
};
|
|
162049
165439
|
Relationships: [];
|
|
162050
165440
|
};
|
|
165441
|
+
customer_product_stickers: {
|
|
165442
|
+
Row: {
|
|
165443
|
+
created_at: string;
|
|
165444
|
+
customer_key: string;
|
|
165445
|
+
file_name: string;
|
|
165446
|
+
file_path: string;
|
|
165447
|
+
file_size: number | null;
|
|
165448
|
+
id: string;
|
|
165449
|
+
mime_type: string | null;
|
|
165450
|
+
trade_item_key: string;
|
|
165451
|
+
updated_at: string;
|
|
165452
|
+
uploaded_by: string | null;
|
|
165453
|
+
};
|
|
165454
|
+
Insert: {
|
|
165455
|
+
created_at?: string;
|
|
165456
|
+
customer_key: string;
|
|
165457
|
+
file_name: string;
|
|
165458
|
+
file_path: string;
|
|
165459
|
+
file_size?: number | null;
|
|
165460
|
+
id?: string;
|
|
165461
|
+
mime_type?: string | null;
|
|
165462
|
+
trade_item_key: string;
|
|
165463
|
+
updated_at?: string;
|
|
165464
|
+
uploaded_by?: string | null;
|
|
165465
|
+
};
|
|
165466
|
+
Update: {
|
|
165467
|
+
created_at?: string;
|
|
165468
|
+
customer_key?: string;
|
|
165469
|
+
file_name?: string;
|
|
165470
|
+
file_path?: string;
|
|
165471
|
+
file_size?: number | null;
|
|
165472
|
+
id?: string;
|
|
165473
|
+
mime_type?: string | null;
|
|
165474
|
+
trade_item_key?: string;
|
|
165475
|
+
updated_at?: string;
|
|
165476
|
+
uploaded_by?: string | null;
|
|
165477
|
+
};
|
|
165478
|
+
Relationships: [];
|
|
165479
|
+
};
|
|
162051
165480
|
customer_selected_assortment: {
|
|
162052
165481
|
Row: {
|
|
162053
165482
|
article_number: string | null;
|
|
@@ -162096,6 +165525,30 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
162096
165525
|
referencedColumns: ["id"];
|
|
162097
165526
|
}];
|
|
162098
165527
|
};
|
|
165528
|
+
customer_sticker_settings: {
|
|
165529
|
+
Row: {
|
|
165530
|
+
created_at: string;
|
|
165531
|
+
customer_key: string;
|
|
165532
|
+
height_mm: number;
|
|
165533
|
+
updated_at: string;
|
|
165534
|
+
width_mm: number;
|
|
165535
|
+
};
|
|
165536
|
+
Insert: {
|
|
165537
|
+
created_at?: string;
|
|
165538
|
+
customer_key: string;
|
|
165539
|
+
height_mm?: number;
|
|
165540
|
+
updated_at?: string;
|
|
165541
|
+
width_mm?: number;
|
|
165542
|
+
};
|
|
165543
|
+
Update: {
|
|
165544
|
+
created_at?: string;
|
|
165545
|
+
customer_key?: string;
|
|
165546
|
+
height_mm?: number;
|
|
165547
|
+
updated_at?: string;
|
|
165548
|
+
width_mm?: number;
|
|
165549
|
+
};
|
|
165550
|
+
Relationships: [];
|
|
165551
|
+
};
|
|
162099
165552
|
customer_trade_settings: {
|
|
162100
165553
|
Row: {
|
|
162101
165554
|
category: string;
|
|
@@ -165426,6 +168879,102 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
165426
168879
|
referencedColumns: ["id"];
|
|
165427
168880
|
}];
|
|
165428
168881
|
};
|
|
168882
|
+
floriday_api_log: {
|
|
168883
|
+
Row: {
|
|
168884
|
+
action: string | null;
|
|
168885
|
+
caller: string | null;
|
|
168886
|
+
connection_id: string | null;
|
|
168887
|
+
created_at: string;
|
|
168888
|
+
cursor_from: number | null;
|
|
168889
|
+
direction: string;
|
|
168890
|
+
duration_ms: number | null;
|
|
168891
|
+
environment: string | null;
|
|
168892
|
+
error: string | null;
|
|
168893
|
+
floriday_id: string | null;
|
|
168894
|
+
floriday_reference: string | null;
|
|
168895
|
+
http_status: number;
|
|
168896
|
+
id: string;
|
|
168897
|
+
item_count: number | null;
|
|
168898
|
+
kind: string | null;
|
|
168899
|
+
local_id: string | null;
|
|
168900
|
+
local_reference: string | null;
|
|
168901
|
+
method: string;
|
|
168902
|
+
module: string | null;
|
|
168903
|
+
ok: boolean;
|
|
168904
|
+
path: string;
|
|
168905
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
168906
|
+
resource_type: string | null;
|
|
168907
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
168908
|
+
write_log_id: string | null;
|
|
168909
|
+
};
|
|
168910
|
+
Insert: {
|
|
168911
|
+
action?: string | null;
|
|
168912
|
+
caller?: string | null;
|
|
168913
|
+
connection_id?: string | null;
|
|
168914
|
+
created_at?: string;
|
|
168915
|
+
cursor_from?: number | null;
|
|
168916
|
+
direction: string;
|
|
168917
|
+
duration_ms?: number | null;
|
|
168918
|
+
environment?: string | null;
|
|
168919
|
+
error?: string | null;
|
|
168920
|
+
floriday_id?: string | null;
|
|
168921
|
+
floriday_reference?: string | null;
|
|
168922
|
+
http_status?: number;
|
|
168923
|
+
id?: string;
|
|
168924
|
+
item_count?: number | null;
|
|
168925
|
+
kind?: string | null;
|
|
168926
|
+
local_id?: string | null;
|
|
168927
|
+
local_reference?: string | null;
|
|
168928
|
+
method: string;
|
|
168929
|
+
module?: string | null;
|
|
168930
|
+
ok?: boolean;
|
|
168931
|
+
path: string;
|
|
168932
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
168933
|
+
resource_type?: string | null;
|
|
168934
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
168935
|
+
write_log_id?: string | null;
|
|
168936
|
+
};
|
|
168937
|
+
Update: {
|
|
168938
|
+
action?: string | null;
|
|
168939
|
+
caller?: string | null;
|
|
168940
|
+
connection_id?: string | null;
|
|
168941
|
+
created_at?: string;
|
|
168942
|
+
cursor_from?: number | null;
|
|
168943
|
+
direction?: string;
|
|
168944
|
+
duration_ms?: number | null;
|
|
168945
|
+
environment?: string | null;
|
|
168946
|
+
error?: string | null;
|
|
168947
|
+
floriday_id?: string | null;
|
|
168948
|
+
floriday_reference?: string | null;
|
|
168949
|
+
http_status?: number;
|
|
168950
|
+
id?: string;
|
|
168951
|
+
item_count?: number | null;
|
|
168952
|
+
kind?: string | null;
|
|
168953
|
+
local_id?: string | null;
|
|
168954
|
+
local_reference?: string | null;
|
|
168955
|
+
method?: string;
|
|
168956
|
+
module?: string | null;
|
|
168957
|
+
ok?: boolean;
|
|
168958
|
+
path?: string;
|
|
168959
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
168960
|
+
resource_type?: string | null;
|
|
168961
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
168962
|
+
write_log_id?: string | null;
|
|
168963
|
+
};
|
|
168964
|
+
Relationships: [{
|
|
168965
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
168966
|
+
columns: ["connection_id"];
|
|
168967
|
+
isOneToOne: false;
|
|
168968
|
+
referencedRelation: "floriday_connections";
|
|
168969
|
+
referencedColumns: ["id"];
|
|
168970
|
+
}, {
|
|
168971
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
168972
|
+
columns: ["write_log_id"];
|
|
168973
|
+
isOneToOne: false;
|
|
168974
|
+
referencedRelation: "floriday_write_log";
|
|
168975
|
+
referencedColumns: ["id"];
|
|
168976
|
+
}];
|
|
168977
|
+
};
|
|
165429
168978
|
floriday_auction_letters_cache: {
|
|
165430
168979
|
Row: {
|
|
165431
168980
|
auction_letter_code: string;
|
|
@@ -166626,6 +170175,69 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
166626
170175
|
referencedColumns: ["id"];
|
|
166627
170176
|
}];
|
|
166628
170177
|
};
|
|
170178
|
+
floriday_link_templates: {
|
|
170179
|
+
Row: {
|
|
170180
|
+
created_at: string;
|
|
170181
|
+
floriday_url_template: string | null;
|
|
170182
|
+
is_active: boolean;
|
|
170183
|
+
label: string;
|
|
170184
|
+
local_url_template: string | null;
|
|
170185
|
+
resource_type: string;
|
|
170186
|
+
updated_at: string;
|
|
170187
|
+
};
|
|
170188
|
+
Insert: {
|
|
170189
|
+
created_at?: string;
|
|
170190
|
+
floriday_url_template?: string | null;
|
|
170191
|
+
is_active?: boolean;
|
|
170192
|
+
label: string;
|
|
170193
|
+
local_url_template?: string | null;
|
|
170194
|
+
resource_type: string;
|
|
170195
|
+
updated_at?: string;
|
|
170196
|
+
};
|
|
170197
|
+
Update: {
|
|
170198
|
+
created_at?: string;
|
|
170199
|
+
floriday_url_template?: string | null;
|
|
170200
|
+
is_active?: boolean;
|
|
170201
|
+
label?: string;
|
|
170202
|
+
local_url_template?: string | null;
|
|
170203
|
+
resource_type?: string;
|
|
170204
|
+
updated_at?: string;
|
|
170205
|
+
};
|
|
170206
|
+
Relationships: [];
|
|
170207
|
+
};
|
|
170208
|
+
floriday_log_retention: {
|
|
170209
|
+
Row: {
|
|
170210
|
+
created_at: string;
|
|
170211
|
+
direction: string | null;
|
|
170212
|
+
id: string;
|
|
170213
|
+
keep_failed_days: number | null;
|
|
170214
|
+
keep_ok_days: number | null;
|
|
170215
|
+
note: string | null;
|
|
170216
|
+
resource_type: string | null;
|
|
170217
|
+
updated_at: string;
|
|
170218
|
+
};
|
|
170219
|
+
Insert: {
|
|
170220
|
+
created_at?: string;
|
|
170221
|
+
direction?: string | null;
|
|
170222
|
+
id?: string;
|
|
170223
|
+
keep_failed_days?: number | null;
|
|
170224
|
+
keep_ok_days?: number | null;
|
|
170225
|
+
note?: string | null;
|
|
170226
|
+
resource_type?: string | null;
|
|
170227
|
+
updated_at?: string;
|
|
170228
|
+
};
|
|
170229
|
+
Update: {
|
|
170230
|
+
created_at?: string;
|
|
170231
|
+
direction?: string | null;
|
|
170232
|
+
id?: string;
|
|
170233
|
+
keep_failed_days?: number | null;
|
|
170234
|
+
keep_ok_days?: number | null;
|
|
170235
|
+
note?: string | null;
|
|
170236
|
+
resource_type?: string | null;
|
|
170237
|
+
updated_at?: string;
|
|
170238
|
+
};
|
|
170239
|
+
Relationships: [];
|
|
170240
|
+
};
|
|
166629
170241
|
floriday_logistic_labels_cache: {
|
|
166630
170242
|
Row: {
|
|
166631
170243
|
byte_size: number | null;
|
|
@@ -170751,6 +174363,69 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
170751
174363
|
};
|
|
170752
174364
|
Relationships: [];
|
|
170753
174365
|
};
|
|
174366
|
+
logistics_slip_shipping_note: {
|
|
174367
|
+
Row: {
|
|
174368
|
+
attempts: number;
|
|
174369
|
+
batch_key: string | null;
|
|
174370
|
+
cart_id: string | null;
|
|
174371
|
+
created_at: string;
|
|
174372
|
+
error: string | null;
|
|
174373
|
+
error_code: string | null;
|
|
174374
|
+
fulfillment_order_id: string | null;
|
|
174375
|
+
id: string;
|
|
174376
|
+
locked_until: string | null;
|
|
174377
|
+
next_attempt_at: string | null;
|
|
174378
|
+
order_id: string | null;
|
|
174379
|
+
order_number: string | null;
|
|
174380
|
+
print_job_id: string | null;
|
|
174381
|
+
printer_id: string | null;
|
|
174382
|
+
retry_class: string | null;
|
|
174383
|
+
slip_job_id: string;
|
|
174384
|
+
status: string;
|
|
174385
|
+
updated_at: string;
|
|
174386
|
+
};
|
|
174387
|
+
Insert: {
|
|
174388
|
+
attempts?: number;
|
|
174389
|
+
batch_key?: string | null;
|
|
174390
|
+
cart_id?: string | null;
|
|
174391
|
+
created_at?: string;
|
|
174392
|
+
error?: string | null;
|
|
174393
|
+
error_code?: string | null;
|
|
174394
|
+
fulfillment_order_id?: string | null;
|
|
174395
|
+
id?: string;
|
|
174396
|
+
locked_until?: string | null;
|
|
174397
|
+
next_attempt_at?: string | null;
|
|
174398
|
+
order_id?: string | null;
|
|
174399
|
+
order_number?: string | null;
|
|
174400
|
+
print_job_id?: string | null;
|
|
174401
|
+
printer_id?: string | null;
|
|
174402
|
+
retry_class?: string | null;
|
|
174403
|
+
slip_job_id: string;
|
|
174404
|
+
status?: string;
|
|
174405
|
+
updated_at?: string;
|
|
174406
|
+
};
|
|
174407
|
+
Update: {
|
|
174408
|
+
attempts?: number;
|
|
174409
|
+
batch_key?: string | null;
|
|
174410
|
+
cart_id?: string | null;
|
|
174411
|
+
created_at?: string;
|
|
174412
|
+
error?: string | null;
|
|
174413
|
+
error_code?: string | null;
|
|
174414
|
+
fulfillment_order_id?: string | null;
|
|
174415
|
+
id?: string;
|
|
174416
|
+
locked_until?: string | null;
|
|
174417
|
+
next_attempt_at?: string | null;
|
|
174418
|
+
order_id?: string | null;
|
|
174419
|
+
order_number?: string | null;
|
|
174420
|
+
print_job_id?: string | null;
|
|
174421
|
+
printer_id?: string | null;
|
|
174422
|
+
retry_class?: string | null;
|
|
174423
|
+
slip_job_id?: string;
|
|
174424
|
+
status?: string;
|
|
174425
|
+
updated_at?: string;
|
|
174426
|
+
};
|
|
174427
|
+
Relationships: [];
|
|
174428
|
+
};
|
|
170754
174429
|
logistics_staff_planning: {
|
|
170755
174430
|
Row: {
|
|
170756
174431
|
created_at: string;
|
|
@@ -171102,6 +174777,111 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
171102
174777
|
};
|
|
171103
174778
|
Relationships: [];
|
|
171104
174779
|
};
|
|
174780
|
+
logistics_trace_events: {
|
|
174781
|
+
Row: {
|
|
174782
|
+
actor: string | null;
|
|
174783
|
+
attempts: number;
|
|
174784
|
+
cart_ref: string | null;
|
|
174785
|
+
created_at: string;
|
|
174786
|
+
db_action: string | null;
|
|
174787
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
174788
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
174789
|
+
db_record: string | null;
|
|
174790
|
+
db_table: string | null;
|
|
174791
|
+
decision: string | null;
|
|
174792
|
+
duration_ms: number | null;
|
|
174793
|
+
error: string | null;
|
|
174794
|
+
external_action: string | null;
|
|
174795
|
+
external_ref: string | null;
|
|
174796
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
174797
|
+
external_status: string | null;
|
|
174798
|
+
external_system: string | null;
|
|
174799
|
+
id: string;
|
|
174800
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
174801
|
+
next_attempt_at: string | null;
|
|
174802
|
+
order_ref: string | null;
|
|
174803
|
+
order_source: string | null;
|
|
174804
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
174805
|
+
phase: string;
|
|
174806
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
174807
|
+
reason: string | null;
|
|
174808
|
+
rule: string | null;
|
|
174809
|
+
slip_ref: string | null;
|
|
174810
|
+
status: string;
|
|
174811
|
+
step: string;
|
|
174812
|
+
trace_id: string;
|
|
174813
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
174814
|
+
};
|
|
174815
|
+
Insert: {
|
|
174816
|
+
actor?: string | null;
|
|
174817
|
+
attempts?: number;
|
|
174818
|
+
cart_ref?: string | null;
|
|
174819
|
+
created_at?: string;
|
|
174820
|
+
db_action?: string | null;
|
|
174821
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
174822
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
174823
|
+
db_record?: string | null;
|
|
174824
|
+
db_table?: string | null;
|
|
174825
|
+
decision?: string | null;
|
|
174826
|
+
duration_ms?: number | null;
|
|
174827
|
+
error?: string | null;
|
|
174828
|
+
external_action?: string | null;
|
|
174829
|
+
external_ref?: string | null;
|
|
174830
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
174831
|
+
external_status?: string | null;
|
|
174832
|
+
external_system?: string | null;
|
|
174833
|
+
id?: string;
|
|
174834
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
174835
|
+
next_attempt_at?: string | null;
|
|
174836
|
+
order_ref?: string | null;
|
|
174837
|
+
order_source?: string | null;
|
|
174838
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
174839
|
+
phase: string;
|
|
174840
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
174841
|
+
reason?: string | null;
|
|
174842
|
+
rule?: string | null;
|
|
174843
|
+
slip_ref?: string | null;
|
|
174844
|
+
status: string;
|
|
174845
|
+
step: string;
|
|
174846
|
+
trace_id?: string;
|
|
174847
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
174848
|
+
};
|
|
174849
|
+
Update: {
|
|
174850
|
+
actor?: string | null;
|
|
174851
|
+
attempts?: number;
|
|
174852
|
+
cart_ref?: string | null;
|
|
174853
|
+
created_at?: string;
|
|
174854
|
+
db_action?: string | null;
|
|
174855
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
174856
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
174857
|
+
db_record?: string | null;
|
|
174858
|
+
db_table?: string | null;
|
|
174859
|
+
decision?: string | null;
|
|
174860
|
+
duration_ms?: number | null;
|
|
174861
|
+
error?: string | null;
|
|
174862
|
+
external_action?: string | null;
|
|
174863
|
+
external_ref?: string | null;
|
|
174864
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
174865
|
+
external_status?: string | null;
|
|
174866
|
+
external_system?: string | null;
|
|
174867
|
+
id?: string;
|
|
174868
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
174869
|
+
next_attempt_at?: string | null;
|
|
174870
|
+
order_ref?: string | null;
|
|
174871
|
+
order_source?: string | null;
|
|
174872
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
174873
|
+
phase?: string;
|
|
174874
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
174875
|
+
reason?: string | null;
|
|
174876
|
+
rule?: string | null;
|
|
174877
|
+
slip_ref?: string | null;
|
|
174878
|
+
status?: string;
|
|
174879
|
+
step?: string;
|
|
174880
|
+
trace_id?: string;
|
|
174881
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
174882
|
+
};
|
|
174883
|
+
Relationships: [];
|
|
174884
|
+
};
|
|
171105
174885
|
logistics_variables: {
|
|
171106
174886
|
Row: {
|
|
171107
174887
|
created_at: string;
|
|
@@ -181674,6 +185454,15 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
181674
185454
|
Args: never;
|
|
181675
185455
|
Returns: boolean;
|
|
181676
185456
|
};
|
|
185457
|
+
cancel_open_print_jobs: {
|
|
185458
|
+
Args: {
|
|
185459
|
+
_cutoff: string;
|
|
185460
|
+
};
|
|
185461
|
+
Returns: {
|
|
185462
|
+
extern_job_id: string;
|
|
185463
|
+
id: string;
|
|
185464
|
+
}[];
|
|
185465
|
+
};
|
|
181677
185466
|
check_offer_product_available_stock: {
|
|
181678
185467
|
Args: {
|
|
181679
185468
|
p_campaign_product_id: string;
|
|
@@ -183286,6 +187075,12 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
183286
187075
|
};
|
|
183287
187076
|
Returns: import("../integrations/supabase/types").Json;
|
|
183288
187077
|
};
|
|
187078
|
+
logistics_cart_plan_status_core: {
|
|
187079
|
+
Args: {
|
|
187080
|
+
p_ref: string;
|
|
187081
|
+
};
|
|
187082
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
187083
|
+
};
|
|
183289
187084
|
logistics_cart_release_reason: {
|
|
183290
187085
|
Args: {
|
|
183291
187086
|
p_cart_id: string;
|
|
@@ -183348,6 +187143,10 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
183348
187143
|
unit_ref: string;
|
|
183349
187144
|
}[];
|
|
183350
187145
|
};
|
|
187146
|
+
logistics_carts_per_print: {
|
|
187147
|
+
Args: never;
|
|
187148
|
+
Returns: number;
|
|
187149
|
+
};
|
|
183351
187150
|
logistics_check_order_allowed: {
|
|
183352
187151
|
Args: {
|
|
183353
187152
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -183714,6 +187513,12 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
183714
187513
|
};
|
|
183715
187514
|
Returns: import("../integrations/supabase/types").Json;
|
|
183716
187515
|
};
|
|
187516
|
+
logistics_ensure_shipping_notes: {
|
|
187517
|
+
Args: {
|
|
187518
|
+
p_limit?: number;
|
|
187519
|
+
};
|
|
187520
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
187521
|
+
};
|
|
183717
187522
|
logistics_fail_task: {
|
|
183718
187523
|
Args: {
|
|
183719
187524
|
p_error: string;
|
|
@@ -183759,6 +187564,10 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
183759
187564
|
isSetofReturn: false;
|
|
183760
187565
|
};
|
|
183761
187566
|
};
|
|
187567
|
+
logistics_fix_wrong_shipping_notes: {
|
|
187568
|
+
Args: never;
|
|
187569
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
187570
|
+
};
|
|
183762
187571
|
logistics_floriday_cart_plan: {
|
|
183763
187572
|
Args: {
|
|
183764
187573
|
p_order_id: string;
|
|
@@ -183786,6 +187595,10 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
183786
187595
|
revision: number;
|
|
183787
187596
|
}[];
|
|
183788
187597
|
};
|
|
187598
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
187599
|
+
Args: never;
|
|
187600
|
+
Returns: boolean;
|
|
187601
|
+
};
|
|
183789
187602
|
logistics_floriday_finish_push: {
|
|
183790
187603
|
Args: {
|
|
183791
187604
|
_error?: string;
|
|
@@ -184029,6 +187842,12 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
184029
187842
|
};
|
|
184030
187843
|
Returns: string;
|
|
184031
187844
|
};
|
|
187845
|
+
logistics_payload_is_floriday: {
|
|
187846
|
+
Args: {
|
|
187847
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
187848
|
+
};
|
|
187849
|
+
Returns: boolean;
|
|
187850
|
+
};
|
|
184032
187851
|
logistics_pick_agenda: {
|
|
184033
187852
|
Args: {
|
|
184034
187853
|
p_from?: string;
|
|
@@ -184151,6 +187970,20 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
184151
187970
|
Args: never;
|
|
184152
187971
|
Returns: undefined;
|
|
184153
187972
|
};
|
|
187973
|
+
logistics_plan_progress: {
|
|
187974
|
+
Args: {
|
|
187975
|
+
p_refs: string[];
|
|
187976
|
+
};
|
|
187977
|
+
Returns: {
|
|
187978
|
+
cart_plan_ready: boolean;
|
|
187979
|
+
cart_plan_reason: string;
|
|
187980
|
+
cart_plan_released: boolean;
|
|
187981
|
+
plan_progress: number;
|
|
187982
|
+
plan_state: string;
|
|
187983
|
+
plan_state_since: string;
|
|
187984
|
+
unit_ref: string;
|
|
187985
|
+
}[];
|
|
187986
|
+
};
|
|
184154
187987
|
logistics_plan_prune: {
|
|
184155
187988
|
Args: never;
|
|
184156
187989
|
Returns: number;
|
|
@@ -184172,6 +188005,12 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
184172
188005
|
};
|
|
184173
188006
|
Returns: number;
|
|
184174
188007
|
};
|
|
188008
|
+
logistics_plan_state_for: {
|
|
188009
|
+
Args: {
|
|
188010
|
+
p_ref: string;
|
|
188011
|
+
};
|
|
188012
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
188013
|
+
};
|
|
184175
188014
|
logistics_prepare_pick_documents: {
|
|
184176
188015
|
Args: {
|
|
184177
188016
|
p_limit?: number;
|
|
@@ -184230,6 +188069,12 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
184230
188069
|
};
|
|
184231
188070
|
Returns: import("../integrations/supabase/types").Json;
|
|
184232
188071
|
};
|
|
188072
|
+
logistics_refresh_plan_state: {
|
|
188073
|
+
Args: {
|
|
188074
|
+
p_limit?: number;
|
|
188075
|
+
};
|
|
188076
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
188077
|
+
};
|
|
184233
188078
|
logistics_replan_all: {
|
|
184234
188079
|
Args: {
|
|
184235
188080
|
p_reason?: string;
|
|
@@ -184398,6 +188243,74 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
184398
188243
|
};
|
|
184399
188244
|
Returns: import("../integrations/supabase/types").Json;
|
|
184400
188245
|
};
|
|
188246
|
+
logistics_shipping_note_job_for_slip: {
|
|
188247
|
+
Args: {
|
|
188248
|
+
_slip_job_id: string;
|
|
188249
|
+
};
|
|
188250
|
+
Returns: string;
|
|
188251
|
+
};
|
|
188252
|
+
logistics_shipping_notes_wake_all: {
|
|
188253
|
+
Args: never;
|
|
188254
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
188255
|
+
};
|
|
188256
|
+
logistics_slip_is_floriday: {
|
|
188257
|
+
Args: {
|
|
188258
|
+
_slip_job_id: string;
|
|
188259
|
+
};
|
|
188260
|
+
Returns: boolean;
|
|
188261
|
+
};
|
|
188262
|
+
logistics_slip_note_claim: {
|
|
188263
|
+
Args: {
|
|
188264
|
+
_lease_seconds?: number;
|
|
188265
|
+
_limit?: number;
|
|
188266
|
+
};
|
|
188267
|
+
Returns: {
|
|
188268
|
+
attempts: number;
|
|
188269
|
+
batch_key: string | null;
|
|
188270
|
+
cart_id: string | null;
|
|
188271
|
+
created_at: string;
|
|
188272
|
+
error: string | null;
|
|
188273
|
+
error_code: string | null;
|
|
188274
|
+
fulfillment_order_id: string | null;
|
|
188275
|
+
id: string;
|
|
188276
|
+
locked_until: string | null;
|
|
188277
|
+
next_attempt_at: string | null;
|
|
188278
|
+
order_id: string | null;
|
|
188279
|
+
order_number: string | null;
|
|
188280
|
+
print_job_id: string | null;
|
|
188281
|
+
printer_id: string | null;
|
|
188282
|
+
retry_class: string | null;
|
|
188283
|
+
slip_job_id: string;
|
|
188284
|
+
status: string;
|
|
188285
|
+
updated_at: string;
|
|
188286
|
+
}[];
|
|
188287
|
+
SetofOptions: {
|
|
188288
|
+
from: "*";
|
|
188289
|
+
to: "logistics_slip_shipping_note";
|
|
188290
|
+
isOneToOne: false;
|
|
188291
|
+
isSetofReturn: true;
|
|
188292
|
+
};
|
|
188293
|
+
};
|
|
188294
|
+
logistics_slip_note_finish: {
|
|
188295
|
+
Args: {
|
|
188296
|
+
_error?: string;
|
|
188297
|
+
_error_code?: string;
|
|
188298
|
+
_fulfillment_order_id?: string;
|
|
188299
|
+
_id: string;
|
|
188300
|
+
_ok: boolean;
|
|
188301
|
+
_print_job_id?: string;
|
|
188302
|
+
_status?: string;
|
|
188303
|
+
};
|
|
188304
|
+
Returns: undefined;
|
|
188305
|
+
};
|
|
188306
|
+
logistics_slip_note_keep_waiting: {
|
|
188307
|
+
Args: {
|
|
188308
|
+
_class?: string;
|
|
188309
|
+
_id: string;
|
|
188310
|
+
_reason: string;
|
|
188311
|
+
};
|
|
188312
|
+
Returns: undefined;
|
|
188313
|
+
};
|
|
184401
188314
|
logistics_sticker_follows_slip: {
|
|
184402
188315
|
Args: never;
|
|
184403
188316
|
Returns: boolean;
|
|
@@ -184452,6 +188365,40 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
184452
188365
|
name: string;
|
|
184453
188366
|
}[];
|
|
184454
188367
|
};
|
|
188368
|
+
logistics_trace: {
|
|
188369
|
+
Args: {
|
|
188370
|
+
p: import("../integrations/supabase/types").Json;
|
|
188371
|
+
};
|
|
188372
|
+
Returns: string;
|
|
188373
|
+
};
|
|
188374
|
+
logistics_trace_batch: {
|
|
188375
|
+
Args: {
|
|
188376
|
+
p: import("../integrations/supabase/types").Json;
|
|
188377
|
+
};
|
|
188378
|
+
Returns: number;
|
|
188379
|
+
};
|
|
188380
|
+
logistics_trace_orders: {
|
|
188381
|
+
Args: {
|
|
188382
|
+
p_limit?: number;
|
|
188383
|
+
p_search?: string;
|
|
188384
|
+
p_since?: string;
|
|
188385
|
+
p_status?: string;
|
|
188386
|
+
};
|
|
188387
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
188388
|
+
};
|
|
188389
|
+
logistics_trace_redact: {
|
|
188390
|
+
Args: {
|
|
188391
|
+
p: import("../integrations/supabase/types").Json;
|
|
188392
|
+
};
|
|
188393
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
188394
|
+
};
|
|
188395
|
+
logistics_trace_timeline: {
|
|
188396
|
+
Args: {
|
|
188397
|
+
p_limit?: number;
|
|
188398
|
+
p_order_ref: string;
|
|
188399
|
+
};
|
|
188400
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
188401
|
+
};
|
|
184455
188402
|
logistics_upsert_task: {
|
|
184456
188403
|
Args: {
|
|
184457
188404
|
p_buffer_ref: string;
|
|
@@ -185493,6 +189440,10 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
185493
189440
|
};
|
|
185494
189441
|
Returns: undefined;
|
|
185495
189442
|
};
|
|
189443
|
+
prune_floriday_api_log: {
|
|
189444
|
+
Args: never;
|
|
189445
|
+
Returns: number;
|
|
189446
|
+
};
|
|
185496
189447
|
quote_create_from_source: {
|
|
185497
189448
|
Args: {
|
|
185498
189449
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -186369,6 +190320,10 @@ export declare const listLocalProducts: import("@tanstack/start-client-core").Op
|
|
|
186369
190320
|
Args: never;
|
|
186370
190321
|
Returns: string;
|
|
186371
190322
|
};
|
|
190323
|
+
voorraad_cleanup_old_rows: {
|
|
190324
|
+
Args: never;
|
|
190325
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
190326
|
+
};
|
|
186372
190327
|
wake_print_queue: {
|
|
186373
190328
|
Args: {
|
|
186374
190329
|
_min_interval_ms?: number;
|