@flowselections/floriday-afhandeling-module 1.0.43 → 1.0.45
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/afhandeling/ControlePage.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/ControlePage.js +92 -54
- package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
- package/dist-lib/components/afhandeling/WeekAgendaView.js +24 -1
- package/dist-lib/hooks/useCartIndex.d.ts.map +1 -1
- package/dist-lib/hooks/useCartIndex.js +16 -7
- package/dist-lib/hooks/useEngineBufferEvents.d.ts +12 -0
- package/dist-lib/hooks/useEngineBufferEvents.d.ts.map +1 -0
- package/dist-lib/hooks/useEngineBufferEvents.js +52 -0
- package/dist-lib/hooks/useEngineTasks.d.ts.map +1 -1
- package/dist-lib/hooks/useEngineTasks.js +8 -18
- package/dist-lib/hooks/useKnownOrders.d.ts +1 -0
- package/dist-lib/hooks/useKnownOrders.d.ts.map +1 -1
- package/dist-lib/hooks/useKnownOrders.js +28 -2
- package/dist-lib/hooks/useOrderPickDates.d.ts +1 -1
- package/dist-lib/hooks/useOrderPickDates.d.ts.map +1 -1
- package/dist-lib/hooks/useOrderPickDates.js +5 -3
- package/dist-lib/hooks/usePickAgenda.d.ts +4 -0
- package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
- package/dist-lib/hooks/usePickAgenda.js +23 -16
- package/dist-lib/hooks/usePickMode.d.ts +8 -2
- package/dist-lib/hooks/usePickMode.d.ts.map +1 -1
- package/dist-lib/hooks/usePickMode.js +17 -9
- package/dist-lib/index.d.ts +1 -2
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -33
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +3256 -191
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +3256 -191
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +3257 -190
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +3354 -261
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +6144 -14
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +15375 -40
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +15360 -35
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +33902 -104
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.js +389 -259
- package/dist-lib/lib/deliveryNote.functions.d.ts +3256 -191
- package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
- package/dist-lib/lib/engineLayouts.functions.d.ts +3256 -191
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +6146 -14
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +1 -0
- package/dist-lib/lib/orderFulfilment.functions.d.ts +3256 -191
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +3260 -190
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.js +30 -3
- package/dist-lib/lib/pickMode.d.ts +20 -2
- package/dist-lib/lib/pickMode.d.ts.map +1 -1
- package/dist-lib/lib/pickMode.js +65 -16
- package/dist-lib/lib/realtimeBus.d.ts +20 -0
- package/dist-lib/lib/realtimeBus.d.ts.map +1 -0
- package/dist-lib/lib/realtimeBus.js +56 -0
- package/dist-lib/lib/serverFnError.d.ts +12 -0
- package/dist-lib/lib/serverFnError.d.ts.map +1 -1
- package/dist-lib/lib/serverFnError.js +48 -1
- package/dist-lib/moduleDefinition.d.ts +3 -0
- package/dist-lib/moduleDefinition.d.ts.map +1 -0
- package/dist-lib/moduleDefinition.js +36 -0
- package/package.json +2 -2
|
@@ -15,6 +15,11 @@ export interface OrderPickDate {
|
|
|
15
15
|
/** Vroegst geplande dag van deze order volgens de Engine (YYYY-MM-DD). */
|
|
16
16
|
firstPlannedDate: string | null;
|
|
17
17
|
}
|
|
18
|
+
/** Zichtbaar venster; zonder venster valt de correctie terug op een klein bereik. */
|
|
19
|
+
export interface ListOrderPickDatesInput {
|
|
20
|
+
from?: string;
|
|
21
|
+
to?: string;
|
|
22
|
+
}
|
|
18
23
|
export declare const listOrderPickDates: import("@tanstack/start-client-core").OptionalFetcher<readonly [import("@tanstack/start-client-core").FunctionMiddlewareAfterServer<{}, unknown, undefined, {
|
|
19
24
|
supabase: SupabaseClient<import("../integrations/supabase/types").Database, "public", "public", {
|
|
20
25
|
Tables: {
|
|
@@ -22,6 +27,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22
27
|
Row: {
|
|
23
28
|
auto_print_delivery_note: boolean;
|
|
24
29
|
auto_process_paused: boolean;
|
|
30
|
+
control_bulk_max_carts: number;
|
|
25
31
|
created_at: string;
|
|
26
32
|
extra_pick_days_with_stickers: number;
|
|
27
33
|
id: string;
|
|
@@ -39,6 +45,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
39
45
|
Insert: {
|
|
40
46
|
auto_print_delivery_note?: boolean;
|
|
41
47
|
auto_process_paused?: boolean;
|
|
48
|
+
control_bulk_max_carts?: number;
|
|
42
49
|
created_at?: string;
|
|
43
50
|
extra_pick_days_with_stickers?: number;
|
|
44
51
|
id?: string;
|
|
@@ -56,6 +63,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
56
63
|
Update: {
|
|
57
64
|
auto_print_delivery_note?: boolean;
|
|
58
65
|
auto_process_paused?: boolean;
|
|
66
|
+
control_bulk_max_carts?: number;
|
|
59
67
|
created_at?: string;
|
|
60
68
|
extra_pick_days_with_stickers?: number;
|
|
61
69
|
id?: string;
|
|
@@ -1398,6 +1406,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1398
1406
|
id: string;
|
|
1399
1407
|
notes: string | null;
|
|
1400
1408
|
performed_at: string;
|
|
1409
|
+
request_key: string | null;
|
|
1401
1410
|
rescheduled_count: number;
|
|
1402
1411
|
stock_consumed_at: string | null;
|
|
1403
1412
|
total_carts: number;
|
|
@@ -1412,6 +1421,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1412
1421
|
id?: string;
|
|
1413
1422
|
notes?: string | null;
|
|
1414
1423
|
performed_at?: string;
|
|
1424
|
+
request_key?: string | null;
|
|
1415
1425
|
rescheduled_count?: number;
|
|
1416
1426
|
stock_consumed_at?: string | null;
|
|
1417
1427
|
total_carts?: number;
|
|
@@ -1426,6 +1436,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1426
1436
|
id?: string;
|
|
1427
1437
|
notes?: string | null;
|
|
1428
1438
|
performed_at?: string;
|
|
1439
|
+
request_key?: string | null;
|
|
1429
1440
|
rescheduled_count?: number;
|
|
1430
1441
|
stock_consumed_at?: string | null;
|
|
1431
1442
|
total_carts?: number;
|
|
@@ -1438,9 +1449,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1438
1449
|
Row: {
|
|
1439
1450
|
assigned_at: string;
|
|
1440
1451
|
cart_index: number;
|
|
1441
|
-
cart_number: string
|
|
1452
|
+
cart_number: string;
|
|
1442
1453
|
day_seq: number | null;
|
|
1443
1454
|
delivered_at: string | null;
|
|
1455
|
+
engine_cart_label: string | null;
|
|
1444
1456
|
id: string;
|
|
1445
1457
|
order_id: string;
|
|
1446
1458
|
order_source: string;
|
|
@@ -1450,9 +1462,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1450
1462
|
Insert: {
|
|
1451
1463
|
assigned_at?: string;
|
|
1452
1464
|
cart_index: number;
|
|
1453
|
-
cart_number
|
|
1465
|
+
cart_number: string;
|
|
1454
1466
|
day_seq?: number | null;
|
|
1455
1467
|
delivered_at?: string | null;
|
|
1468
|
+
engine_cart_label?: string | null;
|
|
1456
1469
|
id?: string;
|
|
1457
1470
|
order_id: string;
|
|
1458
1471
|
order_source: string;
|
|
@@ -1462,9 +1475,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1462
1475
|
Update: {
|
|
1463
1476
|
assigned_at?: string;
|
|
1464
1477
|
cart_index?: number;
|
|
1465
|
-
cart_number?: string
|
|
1478
|
+
cart_number?: string;
|
|
1466
1479
|
day_seq?: number | null;
|
|
1467
1480
|
delivered_at?: string | null;
|
|
1481
|
+
engine_cart_label?: string | null;
|
|
1468
1482
|
id?: string;
|
|
1469
1483
|
order_id?: string;
|
|
1470
1484
|
order_source?: string;
|
|
@@ -1839,6 +1853,42 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
1839
1853
|
};
|
|
1840
1854
|
Relationships: [];
|
|
1841
1855
|
};
|
|
1856
|
+
customer_assortment_items: {
|
|
1857
|
+
Row: {
|
|
1858
|
+
created_at: string;
|
|
1859
|
+
customer_key: string;
|
|
1860
|
+
id: string;
|
|
1861
|
+
in_assortment: boolean;
|
|
1862
|
+
manual_override: boolean;
|
|
1863
|
+
source: string;
|
|
1864
|
+
synced_at: string | null;
|
|
1865
|
+
trade_item_key: string;
|
|
1866
|
+
updated_at: string;
|
|
1867
|
+
};
|
|
1868
|
+
Insert: {
|
|
1869
|
+
created_at?: string;
|
|
1870
|
+
customer_key: string;
|
|
1871
|
+
id?: string;
|
|
1872
|
+
in_assortment?: boolean;
|
|
1873
|
+
manual_override?: boolean;
|
|
1874
|
+
source?: string;
|
|
1875
|
+
synced_at?: string | null;
|
|
1876
|
+
trade_item_key: string;
|
|
1877
|
+
updated_at?: string;
|
|
1878
|
+
};
|
|
1879
|
+
Update: {
|
|
1880
|
+
created_at?: string;
|
|
1881
|
+
customer_key?: string;
|
|
1882
|
+
id?: string;
|
|
1883
|
+
in_assortment?: boolean;
|
|
1884
|
+
manual_override?: boolean;
|
|
1885
|
+
source?: string;
|
|
1886
|
+
synced_at?: string | null;
|
|
1887
|
+
trade_item_key?: string;
|
|
1888
|
+
updated_at?: string;
|
|
1889
|
+
};
|
|
1890
|
+
Relationships: [];
|
|
1891
|
+
};
|
|
1842
1892
|
customer_audit_log: {
|
|
1843
1893
|
Row: {
|
|
1844
1894
|
action: string;
|
|
@@ -2171,6 +2221,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2171
2221
|
created_at: string;
|
|
2172
2222
|
currency: string;
|
|
2173
2223
|
distribute_over: string | null;
|
|
2224
|
+
external_id: string | null;
|
|
2225
|
+
external_synced_at: string | null;
|
|
2174
2226
|
group_type: string;
|
|
2175
2227
|
handling_fee: number | null;
|
|
2176
2228
|
id: string;
|
|
@@ -2183,6 +2235,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2183
2235
|
rounding: string;
|
|
2184
2236
|
rounding_step: number;
|
|
2185
2237
|
sort_order: number;
|
|
2238
|
+
source: string;
|
|
2186
2239
|
unit: string;
|
|
2187
2240
|
updated_at: string;
|
|
2188
2241
|
};
|
|
@@ -2193,6 +2246,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2193
2246
|
created_at?: string;
|
|
2194
2247
|
currency?: string;
|
|
2195
2248
|
distribute_over?: string | null;
|
|
2249
|
+
external_id?: string | null;
|
|
2250
|
+
external_synced_at?: string | null;
|
|
2196
2251
|
group_type?: string;
|
|
2197
2252
|
handling_fee?: number | null;
|
|
2198
2253
|
id?: string;
|
|
@@ -2205,6 +2260,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2205
2260
|
rounding?: string;
|
|
2206
2261
|
rounding_step?: number;
|
|
2207
2262
|
sort_order?: number;
|
|
2263
|
+
source?: string;
|
|
2208
2264
|
unit?: string;
|
|
2209
2265
|
updated_at?: string;
|
|
2210
2266
|
};
|
|
@@ -2215,6 +2271,8 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2215
2271
|
created_at?: string;
|
|
2216
2272
|
currency?: string;
|
|
2217
2273
|
distribute_over?: string | null;
|
|
2274
|
+
external_id?: string | null;
|
|
2275
|
+
external_synced_at?: string | null;
|
|
2218
2276
|
group_type?: string;
|
|
2219
2277
|
handling_fee?: number | null;
|
|
2220
2278
|
id?: string;
|
|
@@ -2227,11 +2285,69 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2227
2285
|
rounding?: string;
|
|
2228
2286
|
rounding_step?: number;
|
|
2229
2287
|
sort_order?: number;
|
|
2288
|
+
source?: string;
|
|
2230
2289
|
unit?: string;
|
|
2231
2290
|
updated_at?: string;
|
|
2232
2291
|
};
|
|
2233
2292
|
Relationships: [];
|
|
2234
2293
|
};
|
|
2294
|
+
customer_product_stickers: {
|
|
2295
|
+
Row: {
|
|
2296
|
+
content_hash: string | null;
|
|
2297
|
+
created_at: string;
|
|
2298
|
+
customer_key: string;
|
|
2299
|
+
file_name: string;
|
|
2300
|
+
file_path: string;
|
|
2301
|
+
file_size: number | null;
|
|
2302
|
+
floriday_sticker_id: string | null;
|
|
2303
|
+
floriday_synced_at: string | null;
|
|
2304
|
+
height_mm: number | null;
|
|
2305
|
+
id: string;
|
|
2306
|
+
mime_type: string | null;
|
|
2307
|
+
source: string;
|
|
2308
|
+
trade_item_key: string;
|
|
2309
|
+
updated_at: string;
|
|
2310
|
+
uploaded_by: string | null;
|
|
2311
|
+
width_mm: number | null;
|
|
2312
|
+
};
|
|
2313
|
+
Insert: {
|
|
2314
|
+
content_hash?: string | null;
|
|
2315
|
+
created_at?: string;
|
|
2316
|
+
customer_key: string;
|
|
2317
|
+
file_name: string;
|
|
2318
|
+
file_path: string;
|
|
2319
|
+
file_size?: number | null;
|
|
2320
|
+
floriday_sticker_id?: string | null;
|
|
2321
|
+
floriday_synced_at?: string | null;
|
|
2322
|
+
height_mm?: number | null;
|
|
2323
|
+
id?: string;
|
|
2324
|
+
mime_type?: string | null;
|
|
2325
|
+
source?: string;
|
|
2326
|
+
trade_item_key: string;
|
|
2327
|
+
updated_at?: string;
|
|
2328
|
+
uploaded_by?: string | null;
|
|
2329
|
+
width_mm?: number | null;
|
|
2330
|
+
};
|
|
2331
|
+
Update: {
|
|
2332
|
+
content_hash?: string | null;
|
|
2333
|
+
created_at?: string;
|
|
2334
|
+
customer_key?: string;
|
|
2335
|
+
file_name?: string;
|
|
2336
|
+
file_path?: string;
|
|
2337
|
+
file_size?: number | null;
|
|
2338
|
+
floriday_sticker_id?: string | null;
|
|
2339
|
+
floriday_synced_at?: string | null;
|
|
2340
|
+
height_mm?: number | null;
|
|
2341
|
+
id?: string;
|
|
2342
|
+
mime_type?: string | null;
|
|
2343
|
+
source?: string;
|
|
2344
|
+
trade_item_key?: string;
|
|
2345
|
+
updated_at?: string;
|
|
2346
|
+
uploaded_by?: string | null;
|
|
2347
|
+
width_mm?: number | null;
|
|
2348
|
+
};
|
|
2349
|
+
Relationships: [];
|
|
2350
|
+
};
|
|
2235
2351
|
customer_selected_assortment: {
|
|
2236
2352
|
Row: {
|
|
2237
2353
|
article_number: string | null;
|
|
@@ -2280,6 +2396,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
2280
2396
|
referencedColumns: ["id"];
|
|
2281
2397
|
}];
|
|
2282
2398
|
};
|
|
2399
|
+
customer_sticker_settings: {
|
|
2400
|
+
Row: {
|
|
2401
|
+
created_at: string;
|
|
2402
|
+
customer_key: string;
|
|
2403
|
+
height_mm: number;
|
|
2404
|
+
updated_at: string;
|
|
2405
|
+
width_mm: number;
|
|
2406
|
+
};
|
|
2407
|
+
Insert: {
|
|
2408
|
+
created_at?: string;
|
|
2409
|
+
customer_key: string;
|
|
2410
|
+
height_mm?: number;
|
|
2411
|
+
updated_at?: string;
|
|
2412
|
+
width_mm?: number;
|
|
2413
|
+
};
|
|
2414
|
+
Update: {
|
|
2415
|
+
created_at?: string;
|
|
2416
|
+
customer_key?: string;
|
|
2417
|
+
height_mm?: number;
|
|
2418
|
+
updated_at?: string;
|
|
2419
|
+
width_mm?: number;
|
|
2420
|
+
};
|
|
2421
|
+
Relationships: [];
|
|
2422
|
+
};
|
|
2283
2423
|
customer_trade_settings: {
|
|
2284
2424
|
Row: {
|
|
2285
2425
|
category: string;
|
|
@@ -3605,6 +3745,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
3605
3745
|
};
|
|
3606
3746
|
email_auth_outbox: {
|
|
3607
3747
|
Row: {
|
|
3748
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
3608
3749
|
attempts: number;
|
|
3609
3750
|
bcc_addresses: string[];
|
|
3610
3751
|
cc_addresses: string[];
|
|
@@ -3627,6 +3768,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
3627
3768
|
updated_at: string;
|
|
3628
3769
|
};
|
|
3629
3770
|
Insert: {
|
|
3771
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
3630
3772
|
attempts?: number;
|
|
3631
3773
|
bcc_addresses?: string[];
|
|
3632
3774
|
cc_addresses?: string[];
|
|
@@ -3649,6 +3791,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
3649
3791
|
updated_at?: string;
|
|
3650
3792
|
};
|
|
3651
3793
|
Update: {
|
|
3794
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
3652
3795
|
attempts?: number;
|
|
3653
3796
|
bcc_addresses?: string[];
|
|
3654
3797
|
cc_addresses?: string[];
|
|
@@ -5610,6 +5753,102 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
5610
5753
|
referencedColumns: ["id"];
|
|
5611
5754
|
}];
|
|
5612
5755
|
};
|
|
5756
|
+
floriday_api_log: {
|
|
5757
|
+
Row: {
|
|
5758
|
+
action: string | null;
|
|
5759
|
+
caller: string | null;
|
|
5760
|
+
connection_id: string | null;
|
|
5761
|
+
created_at: string;
|
|
5762
|
+
cursor_from: number | null;
|
|
5763
|
+
direction: string;
|
|
5764
|
+
duration_ms: number | null;
|
|
5765
|
+
environment: string | null;
|
|
5766
|
+
error: string | null;
|
|
5767
|
+
floriday_id: string | null;
|
|
5768
|
+
floriday_reference: string | null;
|
|
5769
|
+
http_status: number;
|
|
5770
|
+
id: string;
|
|
5771
|
+
item_count: number | null;
|
|
5772
|
+
kind: string | null;
|
|
5773
|
+
local_id: string | null;
|
|
5774
|
+
local_reference: string | null;
|
|
5775
|
+
method: string;
|
|
5776
|
+
module: string | null;
|
|
5777
|
+
ok: boolean;
|
|
5778
|
+
path: string;
|
|
5779
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5780
|
+
resource_type: string | null;
|
|
5781
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5782
|
+
write_log_id: string | null;
|
|
5783
|
+
};
|
|
5784
|
+
Insert: {
|
|
5785
|
+
action?: string | null;
|
|
5786
|
+
caller?: string | null;
|
|
5787
|
+
connection_id?: string | null;
|
|
5788
|
+
created_at?: string;
|
|
5789
|
+
cursor_from?: number | null;
|
|
5790
|
+
direction: string;
|
|
5791
|
+
duration_ms?: number | null;
|
|
5792
|
+
environment?: string | null;
|
|
5793
|
+
error?: string | null;
|
|
5794
|
+
floriday_id?: string | null;
|
|
5795
|
+
floriday_reference?: string | null;
|
|
5796
|
+
http_status?: number;
|
|
5797
|
+
id?: string;
|
|
5798
|
+
item_count?: number | null;
|
|
5799
|
+
kind?: string | null;
|
|
5800
|
+
local_id?: string | null;
|
|
5801
|
+
local_reference?: string | null;
|
|
5802
|
+
method: string;
|
|
5803
|
+
module?: string | null;
|
|
5804
|
+
ok?: boolean;
|
|
5805
|
+
path: string;
|
|
5806
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5807
|
+
resource_type?: string | null;
|
|
5808
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5809
|
+
write_log_id?: string | null;
|
|
5810
|
+
};
|
|
5811
|
+
Update: {
|
|
5812
|
+
action?: string | null;
|
|
5813
|
+
caller?: string | null;
|
|
5814
|
+
connection_id?: string | null;
|
|
5815
|
+
created_at?: string;
|
|
5816
|
+
cursor_from?: number | null;
|
|
5817
|
+
direction?: string;
|
|
5818
|
+
duration_ms?: number | null;
|
|
5819
|
+
environment?: string | null;
|
|
5820
|
+
error?: string | null;
|
|
5821
|
+
floriday_id?: string | null;
|
|
5822
|
+
floriday_reference?: string | null;
|
|
5823
|
+
http_status?: number;
|
|
5824
|
+
id?: string;
|
|
5825
|
+
item_count?: number | null;
|
|
5826
|
+
kind?: string | null;
|
|
5827
|
+
local_id?: string | null;
|
|
5828
|
+
local_reference?: string | null;
|
|
5829
|
+
method?: string;
|
|
5830
|
+
module?: string | null;
|
|
5831
|
+
ok?: boolean;
|
|
5832
|
+
path?: string;
|
|
5833
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5834
|
+
resource_type?: string | null;
|
|
5835
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5836
|
+
write_log_id?: string | null;
|
|
5837
|
+
};
|
|
5838
|
+
Relationships: [{
|
|
5839
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5840
|
+
columns: ["connection_id"];
|
|
5841
|
+
isOneToOne: false;
|
|
5842
|
+
referencedRelation: "floriday_connections";
|
|
5843
|
+
referencedColumns: ["id"];
|
|
5844
|
+
}, {
|
|
5845
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5846
|
+
columns: ["write_log_id"];
|
|
5847
|
+
isOneToOne: false;
|
|
5848
|
+
referencedRelation: "floriday_write_log";
|
|
5849
|
+
referencedColumns: ["id"];
|
|
5850
|
+
}];
|
|
5851
|
+
};
|
|
5613
5852
|
floriday_auction_letters_cache: {
|
|
5614
5853
|
Row: {
|
|
5615
5854
|
auction_letter_code: string;
|
|
@@ -5817,6 +6056,84 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
5817
6056
|
referencedColumns: ["id"];
|
|
5818
6057
|
}];
|
|
5819
6058
|
};
|
|
6059
|
+
floriday_catalog_prices_cache: {
|
|
6060
|
+
Row: {
|
|
6061
|
+
connection_id: string;
|
|
6062
|
+
created_at: string;
|
|
6063
|
+
currency: string;
|
|
6064
|
+
id: string;
|
|
6065
|
+
is_deleted: boolean;
|
|
6066
|
+
price: number | null;
|
|
6067
|
+
price_group_id: string | null;
|
|
6068
|
+
price_group_name: string | null;
|
|
6069
|
+
price_type: string;
|
|
6070
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6071
|
+
sales_unit: string | null;
|
|
6072
|
+
sequence_number: number;
|
|
6073
|
+
supplier_article_code: string | null;
|
|
6074
|
+
supply_line_id: string;
|
|
6075
|
+
synced_at: string;
|
|
6076
|
+
trade_item_id: string | null;
|
|
6077
|
+
updated_at: string;
|
|
6078
|
+
valid_from: string | null;
|
|
6079
|
+
valid_to: string | null;
|
|
6080
|
+
week: number | null;
|
|
6081
|
+
year: number | null;
|
|
6082
|
+
};
|
|
6083
|
+
Insert: {
|
|
6084
|
+
connection_id: string;
|
|
6085
|
+
created_at?: string;
|
|
6086
|
+
currency?: string;
|
|
6087
|
+
id?: string;
|
|
6088
|
+
is_deleted?: boolean;
|
|
6089
|
+
price?: number | null;
|
|
6090
|
+
price_group_id?: string | null;
|
|
6091
|
+
price_group_name?: string | null;
|
|
6092
|
+
price_type?: string;
|
|
6093
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6094
|
+
sales_unit?: string | null;
|
|
6095
|
+
sequence_number?: number;
|
|
6096
|
+
supplier_article_code?: string | null;
|
|
6097
|
+
supply_line_id: string;
|
|
6098
|
+
synced_at?: string;
|
|
6099
|
+
trade_item_id?: string | null;
|
|
6100
|
+
updated_at?: string;
|
|
6101
|
+
valid_from?: string | null;
|
|
6102
|
+
valid_to?: string | null;
|
|
6103
|
+
week?: number | null;
|
|
6104
|
+
year?: number | null;
|
|
6105
|
+
};
|
|
6106
|
+
Update: {
|
|
6107
|
+
connection_id?: string;
|
|
6108
|
+
created_at?: string;
|
|
6109
|
+
currency?: string;
|
|
6110
|
+
id?: string;
|
|
6111
|
+
is_deleted?: boolean;
|
|
6112
|
+
price?: number | null;
|
|
6113
|
+
price_group_id?: string | null;
|
|
6114
|
+
price_group_name?: string | null;
|
|
6115
|
+
price_type?: string;
|
|
6116
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6117
|
+
sales_unit?: string | null;
|
|
6118
|
+
sequence_number?: number;
|
|
6119
|
+
supplier_article_code?: string | null;
|
|
6120
|
+
supply_line_id?: string;
|
|
6121
|
+
synced_at?: string;
|
|
6122
|
+
trade_item_id?: string | null;
|
|
6123
|
+
updated_at?: string;
|
|
6124
|
+
valid_from?: string | null;
|
|
6125
|
+
valid_to?: string | null;
|
|
6126
|
+
week?: number | null;
|
|
6127
|
+
year?: number | null;
|
|
6128
|
+
};
|
|
6129
|
+
Relationships: [{
|
|
6130
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6131
|
+
columns: ["connection_id"];
|
|
6132
|
+
isOneToOne: false;
|
|
6133
|
+
referencedRelation: "floriday_connections";
|
|
6134
|
+
referencedColumns: ["id"];
|
|
6135
|
+
}];
|
|
6136
|
+
};
|
|
5820
6137
|
floriday_clock_presales_cache: {
|
|
5821
6138
|
Row: {
|
|
5822
6139
|
buyer_organization_id: string | null;
|
|
@@ -6732,6 +7049,69 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
6732
7049
|
referencedColumns: ["id"];
|
|
6733
7050
|
}];
|
|
6734
7051
|
};
|
|
7052
|
+
floriday_link_templates: {
|
|
7053
|
+
Row: {
|
|
7054
|
+
created_at: string;
|
|
7055
|
+
floriday_url_template: string | null;
|
|
7056
|
+
is_active: boolean;
|
|
7057
|
+
label: string;
|
|
7058
|
+
local_url_template: string | null;
|
|
7059
|
+
resource_type: string;
|
|
7060
|
+
updated_at: string;
|
|
7061
|
+
};
|
|
7062
|
+
Insert: {
|
|
7063
|
+
created_at?: string;
|
|
7064
|
+
floriday_url_template?: string | null;
|
|
7065
|
+
is_active?: boolean;
|
|
7066
|
+
label: string;
|
|
7067
|
+
local_url_template?: string | null;
|
|
7068
|
+
resource_type: string;
|
|
7069
|
+
updated_at?: string;
|
|
7070
|
+
};
|
|
7071
|
+
Update: {
|
|
7072
|
+
created_at?: string;
|
|
7073
|
+
floriday_url_template?: string | null;
|
|
7074
|
+
is_active?: boolean;
|
|
7075
|
+
label?: string;
|
|
7076
|
+
local_url_template?: string | null;
|
|
7077
|
+
resource_type?: string;
|
|
7078
|
+
updated_at?: string;
|
|
7079
|
+
};
|
|
7080
|
+
Relationships: [];
|
|
7081
|
+
};
|
|
7082
|
+
floriday_log_retention: {
|
|
7083
|
+
Row: {
|
|
7084
|
+
created_at: string;
|
|
7085
|
+
direction: string | null;
|
|
7086
|
+
id: string;
|
|
7087
|
+
keep_failed_days: number | null;
|
|
7088
|
+
keep_ok_days: number | null;
|
|
7089
|
+
note: string | null;
|
|
7090
|
+
resource_type: string | null;
|
|
7091
|
+
updated_at: string;
|
|
7092
|
+
};
|
|
7093
|
+
Insert: {
|
|
7094
|
+
created_at?: string;
|
|
7095
|
+
direction?: string | null;
|
|
7096
|
+
id?: string;
|
|
7097
|
+
keep_failed_days?: number | null;
|
|
7098
|
+
keep_ok_days?: number | null;
|
|
7099
|
+
note?: string | null;
|
|
7100
|
+
resource_type?: string | null;
|
|
7101
|
+
updated_at?: string;
|
|
7102
|
+
};
|
|
7103
|
+
Update: {
|
|
7104
|
+
created_at?: string;
|
|
7105
|
+
direction?: string | null;
|
|
7106
|
+
id?: string;
|
|
7107
|
+
keep_failed_days?: number | null;
|
|
7108
|
+
keep_ok_days?: number | null;
|
|
7109
|
+
note?: string | null;
|
|
7110
|
+
resource_type?: string | null;
|
|
7111
|
+
updated_at?: string;
|
|
7112
|
+
};
|
|
7113
|
+
Relationships: [];
|
|
7114
|
+
};
|
|
6735
7115
|
floriday_logistic_labels_cache: {
|
|
6736
7116
|
Row: {
|
|
6737
7117
|
byte_size: number | null;
|
|
@@ -8448,8 +8828,48 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8448
8828
|
};
|
|
8449
8829
|
Relationships: [];
|
|
8450
8830
|
};
|
|
8831
|
+
itk_handover_afspraken: {
|
|
8832
|
+
Row: {
|
|
8833
|
+
afgesproken_door: string | null;
|
|
8834
|
+
afgesproken_op: string;
|
|
8835
|
+
besluit: string;
|
|
8836
|
+
created_at: string;
|
|
8837
|
+
item: string;
|
|
8838
|
+
modules: string[];
|
|
8839
|
+
sleutel: string;
|
|
8840
|
+
soort: string;
|
|
8841
|
+
updated_at: string;
|
|
8842
|
+
versie_vingerafdruk: string;
|
|
8843
|
+
};
|
|
8844
|
+
Insert: {
|
|
8845
|
+
afgesproken_door?: string | null;
|
|
8846
|
+
afgesproken_op?: string;
|
|
8847
|
+
besluit?: string;
|
|
8848
|
+
created_at?: string;
|
|
8849
|
+
item?: string;
|
|
8850
|
+
modules?: string[];
|
|
8851
|
+
sleutel: string;
|
|
8852
|
+
soort?: string;
|
|
8853
|
+
updated_at?: string;
|
|
8854
|
+
versie_vingerafdruk?: string;
|
|
8855
|
+
};
|
|
8856
|
+
Update: {
|
|
8857
|
+
afgesproken_door?: string | null;
|
|
8858
|
+
afgesproken_op?: string;
|
|
8859
|
+
besluit?: string;
|
|
8860
|
+
created_at?: string;
|
|
8861
|
+
item?: string;
|
|
8862
|
+
modules?: string[];
|
|
8863
|
+
sleutel?: string;
|
|
8864
|
+
soort?: string;
|
|
8865
|
+
updated_at?: string;
|
|
8866
|
+
versie_vingerafdruk?: string;
|
|
8867
|
+
};
|
|
8868
|
+
Relationships: [];
|
|
8869
|
+
};
|
|
8451
8870
|
itk_handover_github_scan: {
|
|
8452
8871
|
Row: {
|
|
8872
|
+
genegeerd_op: string | null;
|
|
8453
8873
|
gescand_op: string;
|
|
8454
8874
|
gevonden: boolean;
|
|
8455
8875
|
melding: string | null;
|
|
@@ -8457,6 +8877,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8457
8877
|
repo: string;
|
|
8458
8878
|
};
|
|
8459
8879
|
Insert: {
|
|
8880
|
+
genegeerd_op?: string | null;
|
|
8460
8881
|
gescand_op?: string;
|
|
8461
8882
|
gevonden?: boolean;
|
|
8462
8883
|
melding?: string | null;
|
|
@@ -8464,6 +8885,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8464
8885
|
repo: string;
|
|
8465
8886
|
};
|
|
8466
8887
|
Update: {
|
|
8888
|
+
genegeerd_op?: string | null;
|
|
8467
8889
|
gescand_op?: string;
|
|
8468
8890
|
gevonden?: boolean;
|
|
8469
8891
|
melding?: string | null;
|
|
@@ -8472,13 +8894,45 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8472
8894
|
};
|
|
8473
8895
|
Relationships: [];
|
|
8474
8896
|
};
|
|
8897
|
+
itk_handover_github_voortgang: {
|
|
8898
|
+
Row: {
|
|
8899
|
+
bijgewerkt_op: string;
|
|
8900
|
+
huidige_repo: string | null;
|
|
8901
|
+
id: boolean;
|
|
8902
|
+
klaar: number;
|
|
8903
|
+
loopt: boolean;
|
|
8904
|
+
totaal: number;
|
|
8905
|
+
};
|
|
8906
|
+
Insert: {
|
|
8907
|
+
bijgewerkt_op?: string;
|
|
8908
|
+
huidige_repo?: string | null;
|
|
8909
|
+
id?: boolean;
|
|
8910
|
+
klaar?: number;
|
|
8911
|
+
loopt?: boolean;
|
|
8912
|
+
totaal?: number;
|
|
8913
|
+
};
|
|
8914
|
+
Update: {
|
|
8915
|
+
bijgewerkt_op?: string;
|
|
8916
|
+
huidige_repo?: string | null;
|
|
8917
|
+
id?: boolean;
|
|
8918
|
+
klaar?: number;
|
|
8919
|
+
loopt?: boolean;
|
|
8920
|
+
totaal?: number;
|
|
8921
|
+
};
|
|
8922
|
+
Relationships: [];
|
|
8923
|
+
};
|
|
8475
8924
|
itk_handover_module_meta: {
|
|
8476
8925
|
Row: {
|
|
8477
8926
|
check_aangevraagd_op: string | null;
|
|
8478
8927
|
check_nodig: boolean;
|
|
8479
8928
|
check_reden: string | null;
|
|
8480
8929
|
created_at: string;
|
|
8930
|
+
md_bron: boolean;
|
|
8931
|
+
md_bron_op: string | null;
|
|
8932
|
+
md_bron_pad: string | null;
|
|
8481
8933
|
module_id: string;
|
|
8934
|
+
nieuw_gezien: boolean;
|
|
8935
|
+
nieuw_gezien_op: string | null;
|
|
8482
8936
|
project_url: string | null;
|
|
8483
8937
|
publicatie_url: string | null;
|
|
8484
8938
|
updated_at: string;
|
|
@@ -8488,7 +8942,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8488
8942
|
check_nodig?: boolean;
|
|
8489
8943
|
check_reden?: string | null;
|
|
8490
8944
|
created_at?: string;
|
|
8945
|
+
md_bron?: boolean;
|
|
8946
|
+
md_bron_op?: string | null;
|
|
8947
|
+
md_bron_pad?: string | null;
|
|
8491
8948
|
module_id: string;
|
|
8949
|
+
nieuw_gezien?: boolean;
|
|
8950
|
+
nieuw_gezien_op?: string | null;
|
|
8492
8951
|
project_url?: string | null;
|
|
8493
8952
|
publicatie_url?: string | null;
|
|
8494
8953
|
updated_at?: string;
|
|
@@ -8498,13 +8957,45 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8498
8957
|
check_nodig?: boolean;
|
|
8499
8958
|
check_reden?: string | null;
|
|
8500
8959
|
created_at?: string;
|
|
8960
|
+
md_bron?: boolean;
|
|
8961
|
+
md_bron_op?: string | null;
|
|
8962
|
+
md_bron_pad?: string | null;
|
|
8501
8963
|
module_id?: string;
|
|
8964
|
+
nieuw_gezien?: boolean;
|
|
8965
|
+
nieuw_gezien_op?: string | null;
|
|
8502
8966
|
project_url?: string | null;
|
|
8503
8967
|
publicatie_url?: string | null;
|
|
8504
8968
|
updated_at?: string;
|
|
8505
8969
|
};
|
|
8506
8970
|
Relationships: [];
|
|
8507
8971
|
};
|
|
8972
|
+
itk_handover_module_naam: {
|
|
8973
|
+
Row: {
|
|
8974
|
+
bron_repo: string;
|
|
8975
|
+
created_at: string;
|
|
8976
|
+
module_id: string;
|
|
8977
|
+
standaardnaam: string | null;
|
|
8978
|
+
updated_at: string;
|
|
8979
|
+
weergavenaam: string;
|
|
8980
|
+
};
|
|
8981
|
+
Insert: {
|
|
8982
|
+
bron_repo?: string;
|
|
8983
|
+
created_at?: string;
|
|
8984
|
+
module_id: string;
|
|
8985
|
+
standaardnaam?: string | null;
|
|
8986
|
+
updated_at?: string;
|
|
8987
|
+
weergavenaam: string;
|
|
8988
|
+
};
|
|
8989
|
+
Update: {
|
|
8990
|
+
bron_repo?: string;
|
|
8991
|
+
created_at?: string;
|
|
8992
|
+
module_id?: string;
|
|
8993
|
+
standaardnaam?: string | null;
|
|
8994
|
+
updated_at?: string;
|
|
8995
|
+
weergavenaam?: string;
|
|
8996
|
+
};
|
|
8997
|
+
Relationships: [];
|
|
8998
|
+
};
|
|
8508
8999
|
itk_handover_project_modules: {
|
|
8509
9000
|
Row: {
|
|
8510
9001
|
created_at: string;
|
|
@@ -8618,6 +9109,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8618
9109
|
};
|
|
8619
9110
|
itk_module_handovers: {
|
|
8620
9111
|
Row: {
|
|
9112
|
+
bekende_risicos: string[];
|
|
8621
9113
|
bevindingen: string | null;
|
|
8622
9114
|
bezit_tabellen: string[];
|
|
8623
9115
|
bron_commit: string | null;
|
|
@@ -8636,6 +9128,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8636
9128
|
inhoud_md: string;
|
|
8637
9129
|
is_actueel: boolean;
|
|
8638
9130
|
is_gearchiveerd: boolean;
|
|
9131
|
+
laatst_bevestigd_op: string | null;
|
|
8639
9132
|
laatst_gecontroleerd_op: string | null;
|
|
8640
9133
|
module_id: string;
|
|
8641
9134
|
module_titel: string;
|
|
@@ -8645,6 +9138,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8645
9138
|
versie: number;
|
|
8646
9139
|
};
|
|
8647
9140
|
Insert: {
|
|
9141
|
+
bekende_risicos?: string[];
|
|
8648
9142
|
bevindingen?: string | null;
|
|
8649
9143
|
bezit_tabellen?: string[];
|
|
8650
9144
|
bron_commit?: string | null;
|
|
@@ -8663,6 +9157,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8663
9157
|
inhoud_md: string;
|
|
8664
9158
|
is_actueel?: boolean;
|
|
8665
9159
|
is_gearchiveerd?: boolean;
|
|
9160
|
+
laatst_bevestigd_op?: string | null;
|
|
8666
9161
|
laatst_gecontroleerd_op?: string | null;
|
|
8667
9162
|
module_id: string;
|
|
8668
9163
|
module_titel: string;
|
|
@@ -8672,6 +9167,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8672
9167
|
versie?: number;
|
|
8673
9168
|
};
|
|
8674
9169
|
Update: {
|
|
9170
|
+
bekende_risicos?: string[];
|
|
8675
9171
|
bevindingen?: string | null;
|
|
8676
9172
|
bezit_tabellen?: string[];
|
|
8677
9173
|
bron_commit?: string | null;
|
|
@@ -8690,6 +9186,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8690
9186
|
inhoud_md?: string;
|
|
8691
9187
|
is_actueel?: boolean;
|
|
8692
9188
|
is_gearchiveerd?: boolean;
|
|
9189
|
+
laatst_bevestigd_op?: string | null;
|
|
8693
9190
|
laatst_gecontroleerd_op?: string | null;
|
|
8694
9191
|
module_id?: string;
|
|
8695
9192
|
module_titel?: string;
|
|
@@ -8898,6 +9395,54 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
8898
9395
|
};
|
|
8899
9396
|
Relationships: [];
|
|
8900
9397
|
};
|
|
9398
|
+
itk_offerte_werkbon_queue: {
|
|
9399
|
+
Row: {
|
|
9400
|
+
bron_werkbon_id: string | null;
|
|
9401
|
+
created_at: string;
|
|
9402
|
+
foutmelding: string | null;
|
|
9403
|
+
id: string;
|
|
9404
|
+
offerte_id: string;
|
|
9405
|
+
payload: import("../integrations/supabase/types").Json;
|
|
9406
|
+
status: string;
|
|
9407
|
+
updated_at: string;
|
|
9408
|
+
verwerkt_op: string | null;
|
|
9409
|
+
werkbon_id: string | null;
|
|
9410
|
+
werkbon_nummer: string | null;
|
|
9411
|
+
};
|
|
9412
|
+
Insert: {
|
|
9413
|
+
bron_werkbon_id?: string | null;
|
|
9414
|
+
created_at?: string;
|
|
9415
|
+
foutmelding?: string | null;
|
|
9416
|
+
id?: string;
|
|
9417
|
+
offerte_id: string;
|
|
9418
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
9419
|
+
status?: string;
|
|
9420
|
+
updated_at?: string;
|
|
9421
|
+
verwerkt_op?: string | null;
|
|
9422
|
+
werkbon_id?: string | null;
|
|
9423
|
+
werkbon_nummer?: string | null;
|
|
9424
|
+
};
|
|
9425
|
+
Update: {
|
|
9426
|
+
bron_werkbon_id?: string | null;
|
|
9427
|
+
created_at?: string;
|
|
9428
|
+
foutmelding?: string | null;
|
|
9429
|
+
id?: string;
|
|
9430
|
+
offerte_id?: string;
|
|
9431
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
9432
|
+
status?: string;
|
|
9433
|
+
updated_at?: string;
|
|
9434
|
+
verwerkt_op?: string | null;
|
|
9435
|
+
werkbon_id?: string | null;
|
|
9436
|
+
werkbon_nummer?: string | null;
|
|
9437
|
+
};
|
|
9438
|
+
Relationships: [{
|
|
9439
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9440
|
+
columns: ["offerte_id"];
|
|
9441
|
+
isOneToOne: false;
|
|
9442
|
+
referencedRelation: "itk_offertes";
|
|
9443
|
+
referencedColumns: ["id"];
|
|
9444
|
+
}];
|
|
9445
|
+
};
|
|
8901
9446
|
itk_offertes: {
|
|
8902
9447
|
Row: {
|
|
8903
9448
|
ai_generated: boolean;
|
|
@@ -9090,6 +9635,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
9090
9635
|
referencedColumns: ["id"];
|
|
9091
9636
|
}];
|
|
9092
9637
|
};
|
|
9638
|
+
job_locks: {
|
|
9639
|
+
Row: {
|
|
9640
|
+
created_at: string;
|
|
9641
|
+
lock_key: string;
|
|
9642
|
+
locked_until: string;
|
|
9643
|
+
owner: string | null;
|
|
9644
|
+
updated_at: string;
|
|
9645
|
+
};
|
|
9646
|
+
Insert: {
|
|
9647
|
+
created_at?: string;
|
|
9648
|
+
lock_key: string;
|
|
9649
|
+
locked_until: string;
|
|
9650
|
+
owner?: string | null;
|
|
9651
|
+
updated_at?: string;
|
|
9652
|
+
};
|
|
9653
|
+
Update: {
|
|
9654
|
+
created_at?: string;
|
|
9655
|
+
lock_key?: string;
|
|
9656
|
+
locked_until?: string;
|
|
9657
|
+
owner?: string | null;
|
|
9658
|
+
updated_at?: string;
|
|
9659
|
+
};
|
|
9660
|
+
Relationships: [];
|
|
9661
|
+
};
|
|
9093
9662
|
layout_logos: {
|
|
9094
9663
|
Row: {
|
|
9095
9664
|
bestand_url: string;
|
|
@@ -10059,6 +10628,36 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10059
10628
|
};
|
|
10060
10629
|
Relationships: [];
|
|
10061
10630
|
};
|
|
10631
|
+
logistics_floriday_push_refusals: {
|
|
10632
|
+
Row: {
|
|
10633
|
+
action: string | null;
|
|
10634
|
+
created_at: string;
|
|
10635
|
+
id: string;
|
|
10636
|
+
order_ref: string;
|
|
10637
|
+
reason: string;
|
|
10638
|
+
source_module: string | null;
|
|
10639
|
+
source_shell: string | null;
|
|
10640
|
+
};
|
|
10641
|
+
Insert: {
|
|
10642
|
+
action?: string | null;
|
|
10643
|
+
created_at?: string;
|
|
10644
|
+
id?: string;
|
|
10645
|
+
order_ref: string;
|
|
10646
|
+
reason: string;
|
|
10647
|
+
source_module?: string | null;
|
|
10648
|
+
source_shell?: string | null;
|
|
10649
|
+
};
|
|
10650
|
+
Update: {
|
|
10651
|
+
action?: string | null;
|
|
10652
|
+
created_at?: string;
|
|
10653
|
+
id?: string;
|
|
10654
|
+
order_ref?: string;
|
|
10655
|
+
reason?: string;
|
|
10656
|
+
source_module?: string | null;
|
|
10657
|
+
source_shell?: string | null;
|
|
10658
|
+
};
|
|
10659
|
+
Relationships: [];
|
|
10660
|
+
};
|
|
10062
10661
|
logistics_floriday_pushes: {
|
|
10063
10662
|
Row: {
|
|
10064
10663
|
attempts: number;
|
|
@@ -10134,6 +10733,42 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10134
10733
|
};
|
|
10135
10734
|
Relationships: [];
|
|
10136
10735
|
};
|
|
10736
|
+
logistics_floriday_status_sends: {
|
|
10737
|
+
Row: {
|
|
10738
|
+
action: string;
|
|
10739
|
+
created_at: string;
|
|
10740
|
+
detail: string | null;
|
|
10741
|
+
http_status: number | null;
|
|
10742
|
+
id: string;
|
|
10743
|
+
ok: boolean;
|
|
10744
|
+
order_ref: string;
|
|
10745
|
+
source_module: string | null;
|
|
10746
|
+
source_shell: string | null;
|
|
10747
|
+
};
|
|
10748
|
+
Insert: {
|
|
10749
|
+
action: string;
|
|
10750
|
+
created_at?: string;
|
|
10751
|
+
detail?: string | null;
|
|
10752
|
+
http_status?: number | null;
|
|
10753
|
+
id?: string;
|
|
10754
|
+
ok?: boolean;
|
|
10755
|
+
order_ref: string;
|
|
10756
|
+
source_module?: string | null;
|
|
10757
|
+
source_shell?: string | null;
|
|
10758
|
+
};
|
|
10759
|
+
Update: {
|
|
10760
|
+
action?: string;
|
|
10761
|
+
created_at?: string;
|
|
10762
|
+
detail?: string | null;
|
|
10763
|
+
http_status?: number | null;
|
|
10764
|
+
id?: string;
|
|
10765
|
+
ok?: boolean;
|
|
10766
|
+
order_ref?: string;
|
|
10767
|
+
source_module?: string | null;
|
|
10768
|
+
source_shell?: string | null;
|
|
10769
|
+
};
|
|
10770
|
+
Relationships: [];
|
|
10771
|
+
};
|
|
10137
10772
|
logistics_formulas: {
|
|
10138
10773
|
Row: {
|
|
10139
10774
|
created_at: string;
|
|
@@ -10206,6 +10841,144 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10206
10841
|
};
|
|
10207
10842
|
Relationships: [];
|
|
10208
10843
|
};
|
|
10844
|
+
logistics_opening_exceptions: {
|
|
10845
|
+
Row: {
|
|
10846
|
+
closes: string | null;
|
|
10847
|
+
created_at: string;
|
|
10848
|
+
day: string;
|
|
10849
|
+
id: string;
|
|
10850
|
+
is_closed: boolean;
|
|
10851
|
+
note: string | null;
|
|
10852
|
+
opens: string | null;
|
|
10853
|
+
};
|
|
10854
|
+
Insert: {
|
|
10855
|
+
closes?: string | null;
|
|
10856
|
+
created_at?: string;
|
|
10857
|
+
day: string;
|
|
10858
|
+
id?: string;
|
|
10859
|
+
is_closed?: boolean;
|
|
10860
|
+
note?: string | null;
|
|
10861
|
+
opens?: string | null;
|
|
10862
|
+
};
|
|
10863
|
+
Update: {
|
|
10864
|
+
closes?: string | null;
|
|
10865
|
+
created_at?: string;
|
|
10866
|
+
day?: string;
|
|
10867
|
+
id?: string;
|
|
10868
|
+
is_closed?: boolean;
|
|
10869
|
+
note?: string | null;
|
|
10870
|
+
opens?: string | null;
|
|
10871
|
+
};
|
|
10872
|
+
Relationships: [];
|
|
10873
|
+
};
|
|
10874
|
+
logistics_opening_hours: {
|
|
10875
|
+
Row: {
|
|
10876
|
+
closes: string;
|
|
10877
|
+
created_at: string;
|
|
10878
|
+
id: string;
|
|
10879
|
+
is_active: boolean;
|
|
10880
|
+
note: string | null;
|
|
10881
|
+
opens: string;
|
|
10882
|
+
weekday: number;
|
|
10883
|
+
};
|
|
10884
|
+
Insert: {
|
|
10885
|
+
closes: string;
|
|
10886
|
+
created_at?: string;
|
|
10887
|
+
id?: string;
|
|
10888
|
+
is_active?: boolean;
|
|
10889
|
+
note?: string | null;
|
|
10890
|
+
opens: string;
|
|
10891
|
+
weekday: number;
|
|
10892
|
+
};
|
|
10893
|
+
Update: {
|
|
10894
|
+
closes?: string;
|
|
10895
|
+
created_at?: string;
|
|
10896
|
+
id?: string;
|
|
10897
|
+
is_active?: boolean;
|
|
10898
|
+
note?: string | null;
|
|
10899
|
+
opens?: string;
|
|
10900
|
+
weekday?: number;
|
|
10901
|
+
};
|
|
10902
|
+
Relationships: [];
|
|
10903
|
+
};
|
|
10904
|
+
logistics_order_merges: {
|
|
10905
|
+
Row: {
|
|
10906
|
+
group_key: string;
|
|
10907
|
+
id: string;
|
|
10908
|
+
items_moved: number;
|
|
10909
|
+
kept_order_id: string;
|
|
10910
|
+
kept_order_number: string | null;
|
|
10911
|
+
merged_at: string;
|
|
10912
|
+
merged_order_id: string;
|
|
10913
|
+
merged_order_number: string | null;
|
|
10914
|
+
sales_order_id: string | null;
|
|
10915
|
+
};
|
|
10916
|
+
Insert: {
|
|
10917
|
+
group_key: string;
|
|
10918
|
+
id?: string;
|
|
10919
|
+
items_moved?: number;
|
|
10920
|
+
kept_order_id: string;
|
|
10921
|
+
kept_order_number?: string | null;
|
|
10922
|
+
merged_at?: string;
|
|
10923
|
+
merged_order_id: string;
|
|
10924
|
+
merged_order_number?: string | null;
|
|
10925
|
+
sales_order_id?: string | null;
|
|
10926
|
+
};
|
|
10927
|
+
Update: {
|
|
10928
|
+
group_key?: string;
|
|
10929
|
+
id?: string;
|
|
10930
|
+
items_moved?: number;
|
|
10931
|
+
kept_order_id?: string;
|
|
10932
|
+
kept_order_number?: string | null;
|
|
10933
|
+
merged_at?: string;
|
|
10934
|
+
merged_order_id?: string;
|
|
10935
|
+
merged_order_number?: string | null;
|
|
10936
|
+
sales_order_id?: string | null;
|
|
10937
|
+
};
|
|
10938
|
+
Relationships: [];
|
|
10939
|
+
};
|
|
10940
|
+
logistics_pick_data_requests: {
|
|
10941
|
+
Row: {
|
|
10942
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10943
|
+
created_at: string;
|
|
10944
|
+
event_id: string | null;
|
|
10945
|
+
finished_at: string | null;
|
|
10946
|
+
id: string;
|
|
10947
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10948
|
+
order_ref: string;
|
|
10949
|
+
reason: string | null;
|
|
10950
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10951
|
+
status: string;
|
|
10952
|
+
unit_ref: string | null;
|
|
10953
|
+
};
|
|
10954
|
+
Insert: {
|
|
10955
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10956
|
+
created_at?: string;
|
|
10957
|
+
event_id?: string | null;
|
|
10958
|
+
finished_at?: string | null;
|
|
10959
|
+
id?: string;
|
|
10960
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10961
|
+
order_ref: string;
|
|
10962
|
+
reason?: string | null;
|
|
10963
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10964
|
+
status?: string;
|
|
10965
|
+
unit_ref?: string | null;
|
|
10966
|
+
};
|
|
10967
|
+
Update: {
|
|
10968
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10969
|
+
created_at?: string;
|
|
10970
|
+
event_id?: string | null;
|
|
10971
|
+
finished_at?: string | null;
|
|
10972
|
+
id?: string;
|
|
10973
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10974
|
+
order_ref?: string;
|
|
10975
|
+
reason?: string | null;
|
|
10976
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10977
|
+
status?: string;
|
|
10978
|
+
unit_ref?: string | null;
|
|
10979
|
+
};
|
|
10980
|
+
Relationships: [];
|
|
10981
|
+
};
|
|
10209
10982
|
logistics_pickup_moments: {
|
|
10210
10983
|
Row: {
|
|
10211
10984
|
carrier_ref: string | null;
|
|
@@ -10242,21 +11015,46 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10242
11015
|
};
|
|
10243
11016
|
Relationships: [];
|
|
10244
11017
|
};
|
|
10245
|
-
|
|
11018
|
+
logistics_plan_locks: {
|
|
10246
11019
|
Row: {
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
id: string;
|
|
10252
|
-
next_attempt_at: string;
|
|
10253
|
-
order_id: string;
|
|
10254
|
-
reason: string;
|
|
10255
|
-
status: string;
|
|
11020
|
+
created_at: string;
|
|
11021
|
+
lock_key: string;
|
|
11022
|
+
locked_until: string;
|
|
11023
|
+
owner: string | null;
|
|
10256
11024
|
updated_at: string;
|
|
10257
11025
|
};
|
|
10258
11026
|
Insert: {
|
|
10259
|
-
|
|
11027
|
+
created_at?: string;
|
|
11028
|
+
lock_key: string;
|
|
11029
|
+
locked_until: string;
|
|
11030
|
+
owner?: string | null;
|
|
11031
|
+
updated_at?: string;
|
|
11032
|
+
};
|
|
11033
|
+
Update: {
|
|
11034
|
+
created_at?: string;
|
|
11035
|
+
lock_key?: string;
|
|
11036
|
+
locked_until?: string;
|
|
11037
|
+
owner?: string | null;
|
|
11038
|
+
updated_at?: string;
|
|
11039
|
+
};
|
|
11040
|
+
Relationships: [];
|
|
11041
|
+
};
|
|
11042
|
+
logistics_plan_queue: {
|
|
11043
|
+
Row: {
|
|
11044
|
+
attempts: number;
|
|
11045
|
+
claimed_at: string | null;
|
|
11046
|
+
enqueued_at: string;
|
|
11047
|
+
error: string | null;
|
|
11048
|
+
id: string;
|
|
11049
|
+
next_attempt_at: string;
|
|
11050
|
+
order_id: string;
|
|
11051
|
+
reason: string;
|
|
11052
|
+
reason_code: string | null;
|
|
11053
|
+
status: string;
|
|
11054
|
+
updated_at: string;
|
|
11055
|
+
};
|
|
11056
|
+
Insert: {
|
|
11057
|
+
attempts?: number;
|
|
10260
11058
|
claimed_at?: string | null;
|
|
10261
11059
|
enqueued_at?: string;
|
|
10262
11060
|
error?: string | null;
|
|
@@ -10264,6 +11062,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10264
11062
|
next_attempt_at?: string;
|
|
10265
11063
|
order_id: string;
|
|
10266
11064
|
reason?: string;
|
|
11065
|
+
reason_code?: string | null;
|
|
10267
11066
|
status?: string;
|
|
10268
11067
|
updated_at?: string;
|
|
10269
11068
|
};
|
|
@@ -10276,6 +11075,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10276
11075
|
next_attempt_at?: string;
|
|
10277
11076
|
order_id?: string;
|
|
10278
11077
|
reason?: string;
|
|
11078
|
+
reason_code?: string | null;
|
|
10279
11079
|
status?: string;
|
|
10280
11080
|
updated_at?: string;
|
|
10281
11081
|
};
|
|
@@ -10662,6 +11462,69 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10662
11462
|
};
|
|
10663
11463
|
Relationships: [];
|
|
10664
11464
|
};
|
|
11465
|
+
logistics_slip_shipping_note: {
|
|
11466
|
+
Row: {
|
|
11467
|
+
attempts: number;
|
|
11468
|
+
batch_key: string | null;
|
|
11469
|
+
cart_id: string | null;
|
|
11470
|
+
created_at: string;
|
|
11471
|
+
error: string | null;
|
|
11472
|
+
error_code: string | null;
|
|
11473
|
+
fulfillment_order_id: string | null;
|
|
11474
|
+
id: string;
|
|
11475
|
+
locked_until: string | null;
|
|
11476
|
+
next_attempt_at: string | null;
|
|
11477
|
+
order_id: string | null;
|
|
11478
|
+
order_number: string | null;
|
|
11479
|
+
print_job_id: string | null;
|
|
11480
|
+
printer_id: string | null;
|
|
11481
|
+
retry_class: string | null;
|
|
11482
|
+
slip_job_id: string;
|
|
11483
|
+
status: string;
|
|
11484
|
+
updated_at: string;
|
|
11485
|
+
};
|
|
11486
|
+
Insert: {
|
|
11487
|
+
attempts?: number;
|
|
11488
|
+
batch_key?: string | null;
|
|
11489
|
+
cart_id?: string | null;
|
|
11490
|
+
created_at?: string;
|
|
11491
|
+
error?: string | null;
|
|
11492
|
+
error_code?: string | null;
|
|
11493
|
+
fulfillment_order_id?: string | null;
|
|
11494
|
+
id?: string;
|
|
11495
|
+
locked_until?: string | null;
|
|
11496
|
+
next_attempt_at?: string | null;
|
|
11497
|
+
order_id?: string | null;
|
|
11498
|
+
order_number?: string | null;
|
|
11499
|
+
print_job_id?: string | null;
|
|
11500
|
+
printer_id?: string | null;
|
|
11501
|
+
retry_class?: string | null;
|
|
11502
|
+
slip_job_id: string;
|
|
11503
|
+
status?: string;
|
|
11504
|
+
updated_at?: string;
|
|
11505
|
+
};
|
|
11506
|
+
Update: {
|
|
11507
|
+
attempts?: number;
|
|
11508
|
+
batch_key?: string | null;
|
|
11509
|
+
cart_id?: string | null;
|
|
11510
|
+
created_at?: string;
|
|
11511
|
+
error?: string | null;
|
|
11512
|
+
error_code?: string | null;
|
|
11513
|
+
fulfillment_order_id?: string | null;
|
|
11514
|
+
id?: string;
|
|
11515
|
+
locked_until?: string | null;
|
|
11516
|
+
next_attempt_at?: string | null;
|
|
11517
|
+
order_id?: string | null;
|
|
11518
|
+
order_number?: string | null;
|
|
11519
|
+
print_job_id?: string | null;
|
|
11520
|
+
printer_id?: string | null;
|
|
11521
|
+
retry_class?: string | null;
|
|
11522
|
+
slip_job_id?: string;
|
|
11523
|
+
status?: string;
|
|
11524
|
+
updated_at?: string;
|
|
11525
|
+
};
|
|
11526
|
+
Relationships: [];
|
|
11527
|
+
};
|
|
10665
11528
|
logistics_staff_planning: {
|
|
10666
11529
|
Row: {
|
|
10667
11530
|
created_at: string;
|
|
@@ -10980,6 +11843,279 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
10980
11843
|
referencedColumns: ["id"];
|
|
10981
11844
|
}];
|
|
10982
11845
|
};
|
|
11846
|
+
logistics_tick_heartbeat: {
|
|
11847
|
+
Row: {
|
|
11848
|
+
id: boolean;
|
|
11849
|
+
last_tick_at: string;
|
|
11850
|
+
};
|
|
11851
|
+
Insert: {
|
|
11852
|
+
id?: boolean;
|
|
11853
|
+
last_tick_at?: string;
|
|
11854
|
+
};
|
|
11855
|
+
Update: {
|
|
11856
|
+
id?: boolean;
|
|
11857
|
+
last_tick_at?: string;
|
|
11858
|
+
};
|
|
11859
|
+
Relationships: [];
|
|
11860
|
+
};
|
|
11861
|
+
logistics_time_settings: {
|
|
11862
|
+
Row: {
|
|
11863
|
+
id: boolean;
|
|
11864
|
+
timezone: string;
|
|
11865
|
+
updated_at: string;
|
|
11866
|
+
};
|
|
11867
|
+
Insert: {
|
|
11868
|
+
id?: boolean;
|
|
11869
|
+
timezone: string;
|
|
11870
|
+
updated_at?: string;
|
|
11871
|
+
};
|
|
11872
|
+
Update: {
|
|
11873
|
+
id?: boolean;
|
|
11874
|
+
timezone?: string;
|
|
11875
|
+
updated_at?: string;
|
|
11876
|
+
};
|
|
11877
|
+
Relationships: [];
|
|
11878
|
+
};
|
|
11879
|
+
logistics_trace_events: {
|
|
11880
|
+
Row: {
|
|
11881
|
+
actor: string | null;
|
|
11882
|
+
attempts: number;
|
|
11883
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11884
|
+
cart_ref: string | null;
|
|
11885
|
+
created_at: string;
|
|
11886
|
+
db_action: string | null;
|
|
11887
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11888
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11889
|
+
db_record: string | null;
|
|
11890
|
+
db_table: string | null;
|
|
11891
|
+
decision: string | null;
|
|
11892
|
+
duration_ms: number | null;
|
|
11893
|
+
error: string | null;
|
|
11894
|
+
error_class: string | null;
|
|
11895
|
+
external_action: string | null;
|
|
11896
|
+
external_ref: string | null;
|
|
11897
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11898
|
+
external_status: string | null;
|
|
11899
|
+
external_system: string | null;
|
|
11900
|
+
id: string;
|
|
11901
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11902
|
+
next_attempt_at: string | null;
|
|
11903
|
+
next_step: string | null;
|
|
11904
|
+
node_id: string | null;
|
|
11905
|
+
order_ref: string | null;
|
|
11906
|
+
order_source: string | null;
|
|
11907
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11908
|
+
phase: string;
|
|
11909
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11910
|
+
reason: string | null;
|
|
11911
|
+
rule: string | null;
|
|
11912
|
+
slip_ref: string | null;
|
|
11913
|
+
status: string;
|
|
11914
|
+
step: string;
|
|
11915
|
+
trace_id: string;
|
|
11916
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11917
|
+
};
|
|
11918
|
+
Insert: {
|
|
11919
|
+
actor?: string | null;
|
|
11920
|
+
attempts?: number;
|
|
11921
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11922
|
+
cart_ref?: string | null;
|
|
11923
|
+
created_at?: string;
|
|
11924
|
+
db_action?: string | null;
|
|
11925
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11926
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11927
|
+
db_record?: string | null;
|
|
11928
|
+
db_table?: string | null;
|
|
11929
|
+
decision?: string | null;
|
|
11930
|
+
duration_ms?: number | null;
|
|
11931
|
+
error?: string | null;
|
|
11932
|
+
error_class?: string | null;
|
|
11933
|
+
external_action?: string | null;
|
|
11934
|
+
external_ref?: string | null;
|
|
11935
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11936
|
+
external_status?: string | null;
|
|
11937
|
+
external_system?: string | null;
|
|
11938
|
+
id?: string;
|
|
11939
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11940
|
+
next_attempt_at?: string | null;
|
|
11941
|
+
next_step?: string | null;
|
|
11942
|
+
node_id?: string | null;
|
|
11943
|
+
order_ref?: string | null;
|
|
11944
|
+
order_source?: string | null;
|
|
11945
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11946
|
+
phase: string;
|
|
11947
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11948
|
+
reason?: string | null;
|
|
11949
|
+
rule?: string | null;
|
|
11950
|
+
slip_ref?: string | null;
|
|
11951
|
+
status: string;
|
|
11952
|
+
step: string;
|
|
11953
|
+
trace_id?: string;
|
|
11954
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11955
|
+
};
|
|
11956
|
+
Update: {
|
|
11957
|
+
actor?: string | null;
|
|
11958
|
+
attempts?: number;
|
|
11959
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11960
|
+
cart_ref?: string | null;
|
|
11961
|
+
created_at?: string;
|
|
11962
|
+
db_action?: string | null;
|
|
11963
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11964
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11965
|
+
db_record?: string | null;
|
|
11966
|
+
db_table?: string | null;
|
|
11967
|
+
decision?: string | null;
|
|
11968
|
+
duration_ms?: number | null;
|
|
11969
|
+
error?: string | null;
|
|
11970
|
+
error_class?: string | null;
|
|
11971
|
+
external_action?: string | null;
|
|
11972
|
+
external_ref?: string | null;
|
|
11973
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11974
|
+
external_status?: string | null;
|
|
11975
|
+
external_system?: string | null;
|
|
11976
|
+
id?: string;
|
|
11977
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11978
|
+
next_attempt_at?: string | null;
|
|
11979
|
+
next_step?: string | null;
|
|
11980
|
+
node_id?: string | null;
|
|
11981
|
+
order_ref?: string | null;
|
|
11982
|
+
order_source?: string | null;
|
|
11983
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11984
|
+
phase?: string;
|
|
11985
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11986
|
+
reason?: string | null;
|
|
11987
|
+
rule?: string | null;
|
|
11988
|
+
slip_ref?: string | null;
|
|
11989
|
+
status?: string;
|
|
11990
|
+
step?: string;
|
|
11991
|
+
trace_id?: string;
|
|
11992
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11993
|
+
};
|
|
11994
|
+
Relationships: [];
|
|
11995
|
+
};
|
|
11996
|
+
logistics_trace_events_archive: {
|
|
11997
|
+
Row: {
|
|
11998
|
+
actor: string | null;
|
|
11999
|
+
attempts: number;
|
|
12000
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
12001
|
+
cart_ref: string | null;
|
|
12002
|
+
created_at: string;
|
|
12003
|
+
db_action: string | null;
|
|
12004
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
12005
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
12006
|
+
db_record: string | null;
|
|
12007
|
+
db_table: string | null;
|
|
12008
|
+
decision: string | null;
|
|
12009
|
+
duration_ms: number | null;
|
|
12010
|
+
error: string | null;
|
|
12011
|
+
error_class: string | null;
|
|
12012
|
+
external_action: string | null;
|
|
12013
|
+
external_ref: string | null;
|
|
12014
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
12015
|
+
external_status: string | null;
|
|
12016
|
+
external_system: string | null;
|
|
12017
|
+
id: string;
|
|
12018
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
12019
|
+
next_attempt_at: string | null;
|
|
12020
|
+
next_step: string | null;
|
|
12021
|
+
node_id: string | null;
|
|
12022
|
+
order_ref: string | null;
|
|
12023
|
+
order_source: string | null;
|
|
12024
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
12025
|
+
phase: string;
|
|
12026
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
12027
|
+
reason: string | null;
|
|
12028
|
+
rule: string | null;
|
|
12029
|
+
slip_ref: string | null;
|
|
12030
|
+
status: string;
|
|
12031
|
+
step: string;
|
|
12032
|
+
superseded_at: string;
|
|
12033
|
+
superseded_reason: string | null;
|
|
12034
|
+
trace_id: string;
|
|
12035
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
12036
|
+
};
|
|
12037
|
+
Insert: {
|
|
12038
|
+
actor?: string | null;
|
|
12039
|
+
attempts?: number;
|
|
12040
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
12041
|
+
cart_ref?: string | null;
|
|
12042
|
+
created_at?: string;
|
|
12043
|
+
db_action?: string | null;
|
|
12044
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
12045
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
12046
|
+
db_record?: string | null;
|
|
12047
|
+
db_table?: string | null;
|
|
12048
|
+
decision?: string | null;
|
|
12049
|
+
duration_ms?: number | null;
|
|
12050
|
+
error?: string | null;
|
|
12051
|
+
error_class?: string | null;
|
|
12052
|
+
external_action?: string | null;
|
|
12053
|
+
external_ref?: string | null;
|
|
12054
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
12055
|
+
external_status?: string | null;
|
|
12056
|
+
external_system?: string | null;
|
|
12057
|
+
id?: string;
|
|
12058
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
12059
|
+
next_attempt_at?: string | null;
|
|
12060
|
+
next_step?: string | null;
|
|
12061
|
+
node_id?: string | null;
|
|
12062
|
+
order_ref?: string | null;
|
|
12063
|
+
order_source?: string | null;
|
|
12064
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
12065
|
+
phase: string;
|
|
12066
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
12067
|
+
reason?: string | null;
|
|
12068
|
+
rule?: string | null;
|
|
12069
|
+
slip_ref?: string | null;
|
|
12070
|
+
status: string;
|
|
12071
|
+
step: string;
|
|
12072
|
+
superseded_at?: string;
|
|
12073
|
+
superseded_reason?: string | null;
|
|
12074
|
+
trace_id?: string;
|
|
12075
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
12076
|
+
};
|
|
12077
|
+
Update: {
|
|
12078
|
+
actor?: string | null;
|
|
12079
|
+
attempts?: number;
|
|
12080
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
12081
|
+
cart_ref?: string | null;
|
|
12082
|
+
created_at?: string;
|
|
12083
|
+
db_action?: string | null;
|
|
12084
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
12085
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
12086
|
+
db_record?: string | null;
|
|
12087
|
+
db_table?: string | null;
|
|
12088
|
+
decision?: string | null;
|
|
12089
|
+
duration_ms?: number | null;
|
|
12090
|
+
error?: string | null;
|
|
12091
|
+
error_class?: string | null;
|
|
12092
|
+
external_action?: string | null;
|
|
12093
|
+
external_ref?: string | null;
|
|
12094
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
12095
|
+
external_status?: string | null;
|
|
12096
|
+
external_system?: string | null;
|
|
12097
|
+
id?: string;
|
|
12098
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
12099
|
+
next_attempt_at?: string | null;
|
|
12100
|
+
next_step?: string | null;
|
|
12101
|
+
node_id?: string | null;
|
|
12102
|
+
order_ref?: string | null;
|
|
12103
|
+
order_source?: string | null;
|
|
12104
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
12105
|
+
phase?: string;
|
|
12106
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
12107
|
+
reason?: string | null;
|
|
12108
|
+
rule?: string | null;
|
|
12109
|
+
slip_ref?: string | null;
|
|
12110
|
+
status?: string;
|
|
12111
|
+
step?: string;
|
|
12112
|
+
superseded_at?: string;
|
|
12113
|
+
superseded_reason?: string | null;
|
|
12114
|
+
trace_id?: string;
|
|
12115
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
12116
|
+
};
|
|
12117
|
+
Relationships: [];
|
|
12118
|
+
};
|
|
10983
12119
|
logistics_variables: {
|
|
10984
12120
|
Row: {
|
|
10985
12121
|
created_at: string;
|
|
@@ -11127,6 +12263,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11127
12263
|
has_attachments: boolean;
|
|
11128
12264
|
id: string;
|
|
11129
12265
|
message_id: string | null;
|
|
12266
|
+
preview: string | null;
|
|
11130
12267
|
profile_id: string | null;
|
|
11131
12268
|
raw_size: number | null;
|
|
11132
12269
|
received_at: string | null;
|
|
@@ -11150,6 +12287,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11150
12287
|
has_attachments?: boolean;
|
|
11151
12288
|
id?: string;
|
|
11152
12289
|
message_id?: string | null;
|
|
12290
|
+
preview?: string | null;
|
|
11153
12291
|
profile_id?: string | null;
|
|
11154
12292
|
raw_size?: number | null;
|
|
11155
12293
|
received_at?: string | null;
|
|
@@ -11173,6 +12311,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11173
12311
|
has_attachments?: boolean;
|
|
11174
12312
|
id?: string;
|
|
11175
12313
|
message_id?: string | null;
|
|
12314
|
+
preview?: string | null;
|
|
11176
12315
|
profile_id?: string | null;
|
|
11177
12316
|
raw_size?: number | null;
|
|
11178
12317
|
received_at?: string | null;
|
|
@@ -11204,6 +12343,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11204
12343
|
};
|
|
11205
12344
|
mailbox_order_proposals: {
|
|
11206
12345
|
Row: {
|
|
12346
|
+
ai_ok: boolean | null;
|
|
11207
12347
|
ai_validation: import("../integrations/supabase/types").Json | null;
|
|
11208
12348
|
confidence: number | null;
|
|
11209
12349
|
created_at: string;
|
|
@@ -11221,6 +12361,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11221
12361
|
updated_at: string;
|
|
11222
12362
|
};
|
|
11223
12363
|
Insert: {
|
|
12364
|
+
ai_ok?: boolean | null;
|
|
11224
12365
|
ai_validation?: import("../integrations/supabase/types").Json | null;
|
|
11225
12366
|
confidence?: number | null;
|
|
11226
12367
|
created_at?: string;
|
|
@@ -11238,6 +12379,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
11238
12379
|
updated_at?: string;
|
|
11239
12380
|
};
|
|
11240
12381
|
Update: {
|
|
12382
|
+
ai_ok?: boolean | null;
|
|
11241
12383
|
ai_validation?: import("../integrations/supabase/types").Json | null;
|
|
11242
12384
|
confidence?: number | null;
|
|
11243
12385
|
created_at?: string;
|
|
@@ -13370,6 +14512,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13370
14512
|
customer_name: string;
|
|
13371
14513
|
deleted_at: string | null;
|
|
13372
14514
|
delivery_date: string | null;
|
|
14515
|
+
floriday_order_group_key: string | null;
|
|
13373
14516
|
floriday_sales_order_id: string | null;
|
|
13374
14517
|
id: string;
|
|
13375
14518
|
invoice_due_at: string | null;
|
|
@@ -13397,6 +14540,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13397
14540
|
customer_name?: string;
|
|
13398
14541
|
deleted_at?: string | null;
|
|
13399
14542
|
delivery_date?: string | null;
|
|
14543
|
+
floriday_order_group_key?: string | null;
|
|
13400
14544
|
floriday_sales_order_id?: string | null;
|
|
13401
14545
|
id?: string;
|
|
13402
14546
|
invoice_due_at?: string | null;
|
|
@@ -13424,6 +14568,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13424
14568
|
customer_name?: string;
|
|
13425
14569
|
deleted_at?: string | null;
|
|
13426
14570
|
delivery_date?: string | null;
|
|
14571
|
+
floriday_order_group_key?: string | null;
|
|
13427
14572
|
floriday_sales_order_id?: string | null;
|
|
13428
14573
|
id?: string;
|
|
13429
14574
|
invoice_due_at?: string | null;
|
|
@@ -13617,6 +14762,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
13617
14762
|
};
|
|
13618
14763
|
Relationships: [];
|
|
13619
14764
|
};
|
|
14765
|
+
pick_buffer_event_cursor: {
|
|
14766
|
+
Row: {
|
|
14767
|
+
created_at: string;
|
|
14768
|
+
id: boolean;
|
|
14769
|
+
last_event_at: string;
|
|
14770
|
+
updated_at: string;
|
|
14771
|
+
};
|
|
14772
|
+
Insert: {
|
|
14773
|
+
created_at?: string;
|
|
14774
|
+
id?: boolean;
|
|
14775
|
+
last_event_at?: string;
|
|
14776
|
+
updated_at?: string;
|
|
14777
|
+
};
|
|
14778
|
+
Update: {
|
|
14779
|
+
created_at?: string;
|
|
14780
|
+
id?: boolean;
|
|
14781
|
+
last_event_at?: string;
|
|
14782
|
+
updated_at?: string;
|
|
14783
|
+
};
|
|
14784
|
+
Relationships: [];
|
|
14785
|
+
};
|
|
13620
14786
|
pick_countries: {
|
|
13621
14787
|
Row: {
|
|
13622
14788
|
active: boolean;
|
|
@@ -14703,70 +15869,187 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
14703
15869
|
referencedColumns: ["id"];
|
|
14704
15870
|
}];
|
|
14705
15871
|
};
|
|
14706
|
-
|
|
15872
|
+
price_list_rows: {
|
|
14707
15873
|
Row: {
|
|
14708
|
-
|
|
15874
|
+
action: string;
|
|
14709
15875
|
created_at: string;
|
|
14710
|
-
gemelde_printers: import("../integrations/supabase/types").Json;
|
|
14711
15876
|
id: string;
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
|
|
14718
|
-
token_hash: string;
|
|
14719
|
-
updated_at: string;
|
|
14720
|
-
versie: string;
|
|
15877
|
+
message: string | null;
|
|
15878
|
+
parsed: import("../integrations/supabase/types").Json;
|
|
15879
|
+
price_list_id: string;
|
|
15880
|
+
raw: import("../integrations/supabase/types").Json;
|
|
15881
|
+
row_number: number;
|
|
15882
|
+
supplier_product_id: string | null;
|
|
14721
15883
|
};
|
|
14722
15884
|
Insert: {
|
|
14723
|
-
|
|
15885
|
+
action?: string;
|
|
14724
15886
|
created_at?: string;
|
|
14725
|
-
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
14726
15887
|
id?: string;
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
|
|
14733
|
-
token_hash: string;
|
|
14734
|
-
updated_at?: string;
|
|
14735
|
-
versie?: string;
|
|
15888
|
+
message?: string | null;
|
|
15889
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
15890
|
+
price_list_id: string;
|
|
15891
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
15892
|
+
row_number: number;
|
|
15893
|
+
supplier_product_id?: string | null;
|
|
14736
15894
|
};
|
|
14737
15895
|
Update: {
|
|
14738
|
-
|
|
15896
|
+
action?: string;
|
|
14739
15897
|
created_at?: string;
|
|
14740
|
-
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
14741
15898
|
id?: string;
|
|
14742
|
-
|
|
14743
|
-
|
|
14744
|
-
|
|
14745
|
-
|
|
14746
|
-
|
|
14747
|
-
|
|
14748
|
-
token_hash?: string;
|
|
14749
|
-
updated_at?: string;
|
|
14750
|
-
versie?: string;
|
|
15899
|
+
message?: string | null;
|
|
15900
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
15901
|
+
price_list_id?: string;
|
|
15902
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
15903
|
+
row_number?: number;
|
|
15904
|
+
supplier_product_id?: string | null;
|
|
14751
15905
|
};
|
|
14752
|
-
Relationships: [
|
|
15906
|
+
Relationships: [{
|
|
15907
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
15908
|
+
columns: ["price_list_id"];
|
|
15909
|
+
isOneToOne: false;
|
|
15910
|
+
referencedRelation: "price_lists";
|
|
15911
|
+
referencedColumns: ["id"];
|
|
15912
|
+
}, {
|
|
15913
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
15914
|
+
columns: ["supplier_product_id"];
|
|
15915
|
+
isOneToOne: false;
|
|
15916
|
+
referencedRelation: "supplier_products";
|
|
15917
|
+
referencedColumns: ["id"];
|
|
15918
|
+
}];
|
|
14753
15919
|
};
|
|
14754
|
-
|
|
15920
|
+
price_lists: {
|
|
14755
15921
|
Row: {
|
|
14756
|
-
bestaande_job_id: string | null;
|
|
14757
15922
|
created_at: string;
|
|
14758
|
-
|
|
14759
|
-
|
|
14760
|
-
|
|
15923
|
+
created_by: string | null;
|
|
15924
|
+
file_hash: string | null;
|
|
15925
|
+
file_name: string;
|
|
15926
|
+
file_path: string | null;
|
|
15927
|
+
headers: string[];
|
|
14761
15928
|
id: string;
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
|
-
|
|
14765
|
-
|
|
14766
|
-
|
|
14767
|
-
|
|
14768
|
-
|
|
14769
|
-
|
|
15929
|
+
preview: import("../integrations/supabase/types").Json;
|
|
15930
|
+
processed_at: string | null;
|
|
15931
|
+
reason: string | null;
|
|
15932
|
+
row_count: number;
|
|
15933
|
+
sheet_name: string | null;
|
|
15934
|
+
source: string;
|
|
15935
|
+
stats: import("../integrations/supabase/types").Json;
|
|
15936
|
+
status: string;
|
|
15937
|
+
supplier_guess: string | null;
|
|
15938
|
+
supplier_id: string | null;
|
|
15939
|
+
updated_at: string;
|
|
15940
|
+
};
|
|
15941
|
+
Insert: {
|
|
15942
|
+
created_at?: string;
|
|
15943
|
+
created_by?: string | null;
|
|
15944
|
+
file_hash?: string | null;
|
|
15945
|
+
file_name: string;
|
|
15946
|
+
file_path?: string | null;
|
|
15947
|
+
headers?: string[];
|
|
15948
|
+
id?: string;
|
|
15949
|
+
preview?: import("../integrations/supabase/types").Json;
|
|
15950
|
+
processed_at?: string | null;
|
|
15951
|
+
reason?: string | null;
|
|
15952
|
+
row_count?: number;
|
|
15953
|
+
sheet_name?: string | null;
|
|
15954
|
+
source?: string;
|
|
15955
|
+
stats?: import("../integrations/supabase/types").Json;
|
|
15956
|
+
status?: string;
|
|
15957
|
+
supplier_guess?: string | null;
|
|
15958
|
+
supplier_id?: string | null;
|
|
15959
|
+
updated_at?: string;
|
|
15960
|
+
};
|
|
15961
|
+
Update: {
|
|
15962
|
+
created_at?: string;
|
|
15963
|
+
created_by?: string | null;
|
|
15964
|
+
file_hash?: string | null;
|
|
15965
|
+
file_name?: string;
|
|
15966
|
+
file_path?: string | null;
|
|
15967
|
+
headers?: string[];
|
|
15968
|
+
id?: string;
|
|
15969
|
+
preview?: import("../integrations/supabase/types").Json;
|
|
15970
|
+
processed_at?: string | null;
|
|
15971
|
+
reason?: string | null;
|
|
15972
|
+
row_count?: number;
|
|
15973
|
+
sheet_name?: string | null;
|
|
15974
|
+
source?: string;
|
|
15975
|
+
stats?: import("../integrations/supabase/types").Json;
|
|
15976
|
+
status?: string;
|
|
15977
|
+
supplier_guess?: string | null;
|
|
15978
|
+
supplier_id?: string | null;
|
|
15979
|
+
updated_at?: string;
|
|
15980
|
+
};
|
|
15981
|
+
Relationships: [{
|
|
15982
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
15983
|
+
columns: ["supplier_id"];
|
|
15984
|
+
isOneToOne: false;
|
|
15985
|
+
referencedRelation: "suppliers";
|
|
15986
|
+
referencedColumns: ["id"];
|
|
15987
|
+
}];
|
|
15988
|
+
};
|
|
15989
|
+
print_agents: {
|
|
15990
|
+
Row: {
|
|
15991
|
+
actief: boolean;
|
|
15992
|
+
created_at: string;
|
|
15993
|
+
gemelde_printers: import("../integrations/supabase/types").Json;
|
|
15994
|
+
id: string;
|
|
15995
|
+
laatst_gezien: string | null;
|
|
15996
|
+
locatie: string;
|
|
15997
|
+
naam: string;
|
|
15998
|
+
pairing_code_hash: string | null;
|
|
15999
|
+
pairing_expires_at: string | null;
|
|
16000
|
+
pairing_used_at: string | null;
|
|
16001
|
+
token_hash: string;
|
|
16002
|
+
updated_at: string;
|
|
16003
|
+
versie: string;
|
|
16004
|
+
};
|
|
16005
|
+
Insert: {
|
|
16006
|
+
actief?: boolean;
|
|
16007
|
+
created_at?: string;
|
|
16008
|
+
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
16009
|
+
id?: string;
|
|
16010
|
+
laatst_gezien?: string | null;
|
|
16011
|
+
locatie?: string;
|
|
16012
|
+
naam: string;
|
|
16013
|
+
pairing_code_hash?: string | null;
|
|
16014
|
+
pairing_expires_at?: string | null;
|
|
16015
|
+
pairing_used_at?: string | null;
|
|
16016
|
+
token_hash: string;
|
|
16017
|
+
updated_at?: string;
|
|
16018
|
+
versie?: string;
|
|
16019
|
+
};
|
|
16020
|
+
Update: {
|
|
16021
|
+
actief?: boolean;
|
|
16022
|
+
created_at?: string;
|
|
16023
|
+
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
16024
|
+
id?: string;
|
|
16025
|
+
laatst_gezien?: string | null;
|
|
16026
|
+
locatie?: string;
|
|
16027
|
+
naam?: string;
|
|
16028
|
+
pairing_code_hash?: string | null;
|
|
16029
|
+
pairing_expires_at?: string | null;
|
|
16030
|
+
pairing_used_at?: string | null;
|
|
16031
|
+
token_hash?: string;
|
|
16032
|
+
updated_at?: string;
|
|
16033
|
+
versie?: string;
|
|
16034
|
+
};
|
|
16035
|
+
Relationships: [];
|
|
16036
|
+
};
|
|
16037
|
+
print_dedupe_events: {
|
|
16038
|
+
Row: {
|
|
16039
|
+
bestaande_job_id: string | null;
|
|
16040
|
+
created_at: string;
|
|
16041
|
+
detail: string | null;
|
|
16042
|
+
documentnaam: string | null;
|
|
16043
|
+
documenttype: string | null;
|
|
16044
|
+
id: string;
|
|
16045
|
+
idempotentie_sleutel: string;
|
|
16046
|
+
reden: string;
|
|
16047
|
+
};
|
|
16048
|
+
Insert: {
|
|
16049
|
+
bestaande_job_id?: string | null;
|
|
16050
|
+
created_at?: string;
|
|
16051
|
+
detail?: string | null;
|
|
16052
|
+
documentnaam?: string | null;
|
|
14770
16053
|
documenttype?: string | null;
|
|
14771
16054
|
id?: string;
|
|
14772
16055
|
idempotentie_sleutel: string;
|
|
@@ -16260,30 +17543,108 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
16260
17543
|
referencedColumns: ["id"];
|
|
16261
17544
|
}];
|
|
16262
17545
|
};
|
|
17546
|
+
purchase_order_dispatches: {
|
|
17547
|
+
Row: {
|
|
17548
|
+
created_at: string;
|
|
17549
|
+
id: string;
|
|
17550
|
+
last_error: string | null;
|
|
17551
|
+
outbox_id: string | null;
|
|
17552
|
+
purchase_order_id: string;
|
|
17553
|
+
status: string;
|
|
17554
|
+
supplier_id: string | null;
|
|
17555
|
+
supplier_name: string;
|
|
17556
|
+
to_address: string;
|
|
17557
|
+
updated_at: string;
|
|
17558
|
+
};
|
|
17559
|
+
Insert: {
|
|
17560
|
+
created_at?: string;
|
|
17561
|
+
id?: string;
|
|
17562
|
+
last_error?: string | null;
|
|
17563
|
+
outbox_id?: string | null;
|
|
17564
|
+
purchase_order_id: string;
|
|
17565
|
+
status?: string;
|
|
17566
|
+
supplier_id?: string | null;
|
|
17567
|
+
supplier_name?: string;
|
|
17568
|
+
to_address: string;
|
|
17569
|
+
updated_at?: string;
|
|
17570
|
+
};
|
|
17571
|
+
Update: {
|
|
17572
|
+
created_at?: string;
|
|
17573
|
+
id?: string;
|
|
17574
|
+
last_error?: string | null;
|
|
17575
|
+
outbox_id?: string | null;
|
|
17576
|
+
purchase_order_id?: string;
|
|
17577
|
+
status?: string;
|
|
17578
|
+
supplier_id?: string | null;
|
|
17579
|
+
supplier_name?: string;
|
|
17580
|
+
to_address?: string;
|
|
17581
|
+
updated_at?: string;
|
|
17582
|
+
};
|
|
17583
|
+
Relationships: [{
|
|
17584
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
17585
|
+
columns: ["purchase_order_id"];
|
|
17586
|
+
isOneToOne: false;
|
|
17587
|
+
referencedRelation: "purchase_orders";
|
|
17588
|
+
referencedColumns: ["id"];
|
|
17589
|
+
}, {
|
|
17590
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
17591
|
+
columns: ["supplier_id"];
|
|
17592
|
+
isOneToOne: false;
|
|
17593
|
+
referencedRelation: "suppliers";
|
|
17594
|
+
referencedColumns: ["id"];
|
|
17595
|
+
}];
|
|
17596
|
+
};
|
|
16263
17597
|
purchase_order_items: {
|
|
16264
17598
|
Row: {
|
|
17599
|
+
article_number: string | null;
|
|
16265
17600
|
created_at: string;
|
|
17601
|
+
delivery_date: string | null;
|
|
16266
17602
|
id: string;
|
|
17603
|
+
name: string;
|
|
17604
|
+
note: string | null;
|
|
17605
|
+
pot_size: string | null;
|
|
16267
17606
|
product_id: string | null;
|
|
16268
17607
|
product_type: string;
|
|
16269
17608
|
purchase_order_id: string;
|
|
16270
17609
|
quantity: number;
|
|
17610
|
+
supplier_id: string | null;
|
|
17611
|
+
supplier_product_id: string | null;
|
|
17612
|
+
unit_price_cents: number;
|
|
17613
|
+
updated_at: string;
|
|
16271
17614
|
};
|
|
16272
17615
|
Insert: {
|
|
17616
|
+
article_number?: string | null;
|
|
16273
17617
|
created_at?: string;
|
|
17618
|
+
delivery_date?: string | null;
|
|
16274
17619
|
id?: string;
|
|
17620
|
+
name?: string;
|
|
17621
|
+
note?: string | null;
|
|
17622
|
+
pot_size?: string | null;
|
|
16275
17623
|
product_id?: string | null;
|
|
16276
17624
|
product_type?: string;
|
|
16277
17625
|
purchase_order_id: string;
|
|
16278
17626
|
quantity?: number;
|
|
17627
|
+
supplier_id?: string | null;
|
|
17628
|
+
supplier_product_id?: string | null;
|
|
17629
|
+
unit_price_cents?: number;
|
|
17630
|
+
updated_at?: string;
|
|
16279
17631
|
};
|
|
16280
17632
|
Update: {
|
|
17633
|
+
article_number?: string | null;
|
|
16281
17634
|
created_at?: string;
|
|
17635
|
+
delivery_date?: string | null;
|
|
16282
17636
|
id?: string;
|
|
17637
|
+
name?: string;
|
|
17638
|
+
note?: string | null;
|
|
17639
|
+
pot_size?: string | null;
|
|
16283
17640
|
product_id?: string | null;
|
|
16284
17641
|
product_type?: string;
|
|
16285
17642
|
purchase_order_id?: string;
|
|
16286
17643
|
quantity?: number;
|
|
17644
|
+
supplier_id?: string | null;
|
|
17645
|
+
supplier_product_id?: string | null;
|
|
17646
|
+
unit_price_cents?: number;
|
|
17647
|
+
updated_at?: string;
|
|
16287
17648
|
};
|
|
16288
17649
|
Relationships: [{
|
|
16289
17650
|
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
@@ -16303,43 +17664,70 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
16303
17664
|
isOneToOne: false;
|
|
16304
17665
|
referencedRelation: "purchase_orders";
|
|
16305
17666
|
referencedColumns: ["id"];
|
|
17667
|
+
}, {
|
|
17668
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
17669
|
+
columns: ["supplier_id"];
|
|
17670
|
+
isOneToOne: false;
|
|
17671
|
+
referencedRelation: "suppliers";
|
|
17672
|
+
referencedColumns: ["id"];
|
|
17673
|
+
}, {
|
|
17674
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
17675
|
+
columns: ["supplier_product_id"];
|
|
17676
|
+
isOneToOne: false;
|
|
17677
|
+
referencedRelation: "supplier_products";
|
|
17678
|
+
referencedColumns: ["id"];
|
|
16306
17679
|
}];
|
|
16307
17680
|
};
|
|
16308
17681
|
purchase_orders: {
|
|
16309
17682
|
Row: {
|
|
17683
|
+
contact_person: string | null;
|
|
16310
17684
|
created_at: string;
|
|
17685
|
+
created_by: string | null;
|
|
16311
17686
|
expected_delivery_date: string;
|
|
16312
17687
|
id: string;
|
|
16313
17688
|
location_id: string | null;
|
|
16314
17689
|
notes: string | null;
|
|
16315
17690
|
order_number: string;
|
|
17691
|
+
reference: string | null;
|
|
17692
|
+
sent_at: string | null;
|
|
16316
17693
|
status: string;
|
|
16317
17694
|
supplier_id: string | null;
|
|
16318
17695
|
supplier_name: string;
|
|
17696
|
+
total_cents: number;
|
|
16319
17697
|
updated_at: string;
|
|
16320
17698
|
};
|
|
16321
17699
|
Insert: {
|
|
17700
|
+
contact_person?: string | null;
|
|
16322
17701
|
created_at?: string;
|
|
16323
|
-
|
|
17702
|
+
created_by?: string | null;
|
|
17703
|
+
expected_delivery_date?: string;
|
|
16324
17704
|
id?: string;
|
|
16325
17705
|
location_id?: string | null;
|
|
16326
17706
|
notes?: string | null;
|
|
16327
|
-
order_number
|
|
17707
|
+
order_number?: string;
|
|
17708
|
+
reference?: string | null;
|
|
17709
|
+
sent_at?: string | null;
|
|
16328
17710
|
status?: string;
|
|
16329
17711
|
supplier_id?: string | null;
|
|
16330
17712
|
supplier_name?: string;
|
|
17713
|
+
total_cents?: number;
|
|
16331
17714
|
updated_at?: string;
|
|
16332
17715
|
};
|
|
16333
17716
|
Update: {
|
|
17717
|
+
contact_person?: string | null;
|
|
16334
17718
|
created_at?: string;
|
|
17719
|
+
created_by?: string | null;
|
|
16335
17720
|
expected_delivery_date?: string;
|
|
16336
17721
|
id?: string;
|
|
16337
17722
|
location_id?: string | null;
|
|
16338
17723
|
notes?: string | null;
|
|
16339
17724
|
order_number?: string;
|
|
17725
|
+
reference?: string | null;
|
|
17726
|
+
sent_at?: string | null;
|
|
16340
17727
|
status?: string;
|
|
16341
17728
|
supplier_id?: string | null;
|
|
16342
17729
|
supplier_name?: string;
|
|
17730
|
+
total_cents?: number;
|
|
16343
17731
|
updated_at?: string;
|
|
16344
17732
|
};
|
|
16345
17733
|
Relationships: [{
|
|
@@ -17226,96 +18614,288 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
17226
18614
|
};
|
|
17227
18615
|
Relationships: [];
|
|
17228
18616
|
};
|
|
17229
|
-
|
|
18617
|
+
supplier_contacts: {
|
|
17230
18618
|
Row: {
|
|
17231
|
-
article_number: string | null;
|
|
17232
18619
|
created_at: string;
|
|
18620
|
+
email: string | null;
|
|
17233
18621
|
id: string;
|
|
18622
|
+
is_primary: boolean;
|
|
17234
18623
|
name: string;
|
|
17235
|
-
|
|
17236
|
-
|
|
17237
|
-
price: number | null;
|
|
17238
|
-
quantity: number | null;
|
|
18624
|
+
phone: string | null;
|
|
18625
|
+
role: string | null;
|
|
17239
18626
|
supplier_id: string;
|
|
17240
|
-
unit: string;
|
|
17241
18627
|
updated_at: string;
|
|
17242
18628
|
};
|
|
17243
18629
|
Insert: {
|
|
17244
|
-
article_number?: string | null;
|
|
17245
18630
|
created_at?: string;
|
|
18631
|
+
email?: string | null;
|
|
17246
18632
|
id?: string;
|
|
18633
|
+
is_primary?: boolean;
|
|
17247
18634
|
name: string;
|
|
17248
|
-
|
|
17249
|
-
|
|
17250
|
-
price?: number | null;
|
|
17251
|
-
quantity?: number | null;
|
|
18635
|
+
phone?: string | null;
|
|
18636
|
+
role?: string | null;
|
|
17252
18637
|
supplier_id: string;
|
|
17253
|
-
unit?: string;
|
|
17254
18638
|
updated_at?: string;
|
|
17255
18639
|
};
|
|
17256
18640
|
Update: {
|
|
17257
|
-
article_number?: string | null;
|
|
17258
18641
|
created_at?: string;
|
|
18642
|
+
email?: string | null;
|
|
17259
18643
|
id?: string;
|
|
18644
|
+
is_primary?: boolean;
|
|
17260
18645
|
name?: string;
|
|
17261
|
-
|
|
17262
|
-
|
|
17263
|
-
price?: number | null;
|
|
17264
|
-
quantity?: number | null;
|
|
18646
|
+
phone?: string | null;
|
|
18647
|
+
role?: string | null;
|
|
17265
18648
|
supplier_id?: string;
|
|
17266
|
-
unit?: string;
|
|
17267
18649
|
updated_at?: string;
|
|
17268
18650
|
};
|
|
17269
18651
|
Relationships: [{
|
|
17270
|
-
foreignKeyName: "
|
|
18652
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
17271
18653
|
columns: ["supplier_id"];
|
|
17272
18654
|
isOneToOne: false;
|
|
17273
18655
|
referencedRelation: "suppliers";
|
|
17274
18656
|
referencedColumns: ["id"];
|
|
17275
18657
|
}];
|
|
17276
18658
|
};
|
|
17277
|
-
|
|
18659
|
+
supplier_price_history: {
|
|
17278
18660
|
Row: {
|
|
17279
|
-
address: string | null;
|
|
17280
|
-
column_mappings: import("../integrations/supabase/types").Json | null;
|
|
17281
|
-
contact_person: string | null;
|
|
17282
18661
|
created_at: string;
|
|
17283
|
-
default_product_type: string;
|
|
17284
|
-
email: string | null;
|
|
17285
18662
|
id: string;
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
17289
|
-
|
|
17290
|
-
|
|
18663
|
+
new_price_cents: number;
|
|
18664
|
+
old_price_cents: number | null;
|
|
18665
|
+
price_list_id: string | null;
|
|
18666
|
+
supplier_id: string | null;
|
|
18667
|
+
supplier_product_id: string;
|
|
17291
18668
|
};
|
|
17292
18669
|
Insert: {
|
|
17293
|
-
address?: string | null;
|
|
17294
|
-
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
17295
|
-
contact_person?: string | null;
|
|
17296
18670
|
created_at?: string;
|
|
17297
|
-
default_product_type?: string;
|
|
17298
|
-
email?: string | null;
|
|
17299
18671
|
id?: string;
|
|
17300
|
-
|
|
17301
|
-
|
|
17302
|
-
|
|
17303
|
-
|
|
17304
|
-
|
|
18672
|
+
new_price_cents: number;
|
|
18673
|
+
old_price_cents?: number | null;
|
|
18674
|
+
price_list_id?: string | null;
|
|
18675
|
+
supplier_id?: string | null;
|
|
18676
|
+
supplier_product_id: string;
|
|
17305
18677
|
};
|
|
17306
18678
|
Update: {
|
|
17307
|
-
|
|
17308
|
-
|
|
18679
|
+
created_at?: string;
|
|
18680
|
+
id?: string;
|
|
18681
|
+
new_price_cents?: number;
|
|
18682
|
+
old_price_cents?: number | null;
|
|
18683
|
+
price_list_id?: string | null;
|
|
18684
|
+
supplier_id?: string | null;
|
|
18685
|
+
supplier_product_id?: string;
|
|
18686
|
+
};
|
|
18687
|
+
Relationships: [{
|
|
18688
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
18689
|
+
columns: ["price_list_id"];
|
|
18690
|
+
isOneToOne: false;
|
|
18691
|
+
referencedRelation: "price_lists";
|
|
18692
|
+
referencedColumns: ["id"];
|
|
18693
|
+
}, {
|
|
18694
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
18695
|
+
columns: ["supplier_product_id"];
|
|
18696
|
+
isOneToOne: false;
|
|
18697
|
+
referencedRelation: "supplier_products";
|
|
18698
|
+
referencedColumns: ["id"];
|
|
18699
|
+
}];
|
|
18700
|
+
};
|
|
18701
|
+
supplier_price_list_mappings: {
|
|
18702
|
+
Row: {
|
|
18703
|
+
column_map: import("../integrations/supabase/types").Json;
|
|
18704
|
+
created_at: string;
|
|
18705
|
+
deactivate_missing: boolean;
|
|
18706
|
+
decimal_separator: string;
|
|
18707
|
+
expected_headers: string[];
|
|
18708
|
+
extract_pot_from_name: boolean;
|
|
18709
|
+
header_row: number;
|
|
18710
|
+
id: string;
|
|
18711
|
+
max_error_ratio: number;
|
|
18712
|
+
price_is_cents: boolean;
|
|
18713
|
+
sheet_name: string | null;
|
|
18714
|
+
supplier_id: string;
|
|
18715
|
+
updated_at: string;
|
|
18716
|
+
};
|
|
18717
|
+
Insert: {
|
|
18718
|
+
column_map?: import("../integrations/supabase/types").Json;
|
|
18719
|
+
created_at?: string;
|
|
18720
|
+
deactivate_missing?: boolean;
|
|
18721
|
+
decimal_separator?: string;
|
|
18722
|
+
expected_headers?: string[];
|
|
18723
|
+
extract_pot_from_name?: boolean;
|
|
18724
|
+
header_row?: number;
|
|
18725
|
+
id?: string;
|
|
18726
|
+
max_error_ratio?: number;
|
|
18727
|
+
price_is_cents?: boolean;
|
|
18728
|
+
sheet_name?: string | null;
|
|
18729
|
+
supplier_id: string;
|
|
18730
|
+
updated_at?: string;
|
|
18731
|
+
};
|
|
18732
|
+
Update: {
|
|
18733
|
+
column_map?: import("../integrations/supabase/types").Json;
|
|
18734
|
+
created_at?: string;
|
|
18735
|
+
deactivate_missing?: boolean;
|
|
18736
|
+
decimal_separator?: string;
|
|
18737
|
+
expected_headers?: string[];
|
|
18738
|
+
extract_pot_from_name?: boolean;
|
|
18739
|
+
header_row?: number;
|
|
18740
|
+
id?: string;
|
|
18741
|
+
max_error_ratio?: number;
|
|
18742
|
+
price_is_cents?: boolean;
|
|
18743
|
+
sheet_name?: string | null;
|
|
18744
|
+
supplier_id?: string;
|
|
18745
|
+
updated_at?: string;
|
|
18746
|
+
};
|
|
18747
|
+
Relationships: [{
|
|
18748
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
18749
|
+
columns: ["supplier_id"];
|
|
18750
|
+
isOneToOne: true;
|
|
18751
|
+
referencedRelation: "suppliers";
|
|
18752
|
+
referencedColumns: ["id"];
|
|
18753
|
+
}];
|
|
18754
|
+
};
|
|
18755
|
+
supplier_products: {
|
|
18756
|
+
Row: {
|
|
18757
|
+
article_number: string | null;
|
|
18758
|
+
available_quantity: number;
|
|
18759
|
+
created_at: string;
|
|
18760
|
+
height: string | null;
|
|
18761
|
+
id: string;
|
|
18762
|
+
is_active: boolean;
|
|
18763
|
+
min_order: number;
|
|
18764
|
+
name: string;
|
|
18765
|
+
notes: string | null;
|
|
18766
|
+
order_unit: number;
|
|
18767
|
+
pot_size: string | null;
|
|
18768
|
+
price: number | null;
|
|
18769
|
+
price_cents: number;
|
|
18770
|
+
quality: string | null;
|
|
18771
|
+
quantity: number | null;
|
|
18772
|
+
supplier_id: string;
|
|
18773
|
+
unit: string;
|
|
18774
|
+
updated_at: string;
|
|
18775
|
+
};
|
|
18776
|
+
Insert: {
|
|
18777
|
+
article_number?: string | null;
|
|
18778
|
+
available_quantity?: number;
|
|
18779
|
+
created_at?: string;
|
|
18780
|
+
height?: string | null;
|
|
18781
|
+
id?: string;
|
|
18782
|
+
is_active?: boolean;
|
|
18783
|
+
min_order?: number;
|
|
18784
|
+
name: string;
|
|
18785
|
+
notes?: string | null;
|
|
18786
|
+
order_unit?: number;
|
|
18787
|
+
pot_size?: string | null;
|
|
18788
|
+
price?: number | null;
|
|
18789
|
+
price_cents?: number;
|
|
18790
|
+
quality?: string | null;
|
|
18791
|
+
quantity?: number | null;
|
|
18792
|
+
supplier_id: string;
|
|
18793
|
+
unit?: string;
|
|
18794
|
+
updated_at?: string;
|
|
18795
|
+
};
|
|
18796
|
+
Update: {
|
|
18797
|
+
article_number?: string | null;
|
|
18798
|
+
available_quantity?: number;
|
|
18799
|
+
created_at?: string;
|
|
18800
|
+
height?: string | null;
|
|
18801
|
+
id?: string;
|
|
18802
|
+
is_active?: boolean;
|
|
18803
|
+
min_order?: number;
|
|
18804
|
+
name?: string;
|
|
18805
|
+
notes?: string | null;
|
|
18806
|
+
order_unit?: number;
|
|
18807
|
+
pot_size?: string | null;
|
|
18808
|
+
price?: number | null;
|
|
18809
|
+
price_cents?: number;
|
|
18810
|
+
quality?: string | null;
|
|
18811
|
+
quantity?: number | null;
|
|
18812
|
+
supplier_id?: string;
|
|
18813
|
+
unit?: string;
|
|
18814
|
+
updated_at?: string;
|
|
18815
|
+
};
|
|
18816
|
+
Relationships: [{
|
|
18817
|
+
foreignKeyName: "supplier_products_supplier_id_fkey";
|
|
18818
|
+
columns: ["supplier_id"];
|
|
18819
|
+
isOneToOne: false;
|
|
18820
|
+
referencedRelation: "suppliers";
|
|
18821
|
+
referencedColumns: ["id"];
|
|
18822
|
+
}];
|
|
18823
|
+
};
|
|
18824
|
+
suppliers: {
|
|
18825
|
+
Row: {
|
|
18826
|
+
address: string | null;
|
|
18827
|
+
category: string | null;
|
|
18828
|
+
column_mappings: import("../integrations/supabase/types").Json | null;
|
|
18829
|
+
contact_person: string | null;
|
|
18830
|
+
created_at: string;
|
|
18831
|
+
default_product_type: string;
|
|
18832
|
+
email: string | null;
|
|
18833
|
+
id: string;
|
|
18834
|
+
imported_file_name: string | null;
|
|
18835
|
+
is_preferred: boolean;
|
|
18836
|
+
kvk_number: string | null;
|
|
18837
|
+
lead_time_days: number | null;
|
|
18838
|
+
min_order_amount_cents: number;
|
|
18839
|
+
name: string;
|
|
18840
|
+
notes: string | null;
|
|
18841
|
+
order_days: string[];
|
|
18842
|
+
order_email: string | null;
|
|
18843
|
+
payment_terms_days: number | null;
|
|
18844
|
+
phone: string | null;
|
|
18845
|
+
status: string;
|
|
18846
|
+
updated_at: string;
|
|
18847
|
+
vat_number: string | null;
|
|
18848
|
+
website: string | null;
|
|
18849
|
+
};
|
|
18850
|
+
Insert: {
|
|
18851
|
+
address?: string | null;
|
|
18852
|
+
category?: string | null;
|
|
18853
|
+
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
18854
|
+
contact_person?: string | null;
|
|
18855
|
+
created_at?: string;
|
|
18856
|
+
default_product_type?: string;
|
|
18857
|
+
email?: string | null;
|
|
18858
|
+
id?: string;
|
|
18859
|
+
imported_file_name?: string | null;
|
|
18860
|
+
is_preferred?: boolean;
|
|
18861
|
+
kvk_number?: string | null;
|
|
18862
|
+
lead_time_days?: number | null;
|
|
18863
|
+
min_order_amount_cents?: number;
|
|
18864
|
+
name: string;
|
|
18865
|
+
notes?: string | null;
|
|
18866
|
+
order_days?: string[];
|
|
18867
|
+
order_email?: string | null;
|
|
18868
|
+
payment_terms_days?: number | null;
|
|
18869
|
+
phone?: string | null;
|
|
18870
|
+
status?: string;
|
|
18871
|
+
updated_at?: string;
|
|
18872
|
+
vat_number?: string | null;
|
|
18873
|
+
website?: string | null;
|
|
18874
|
+
};
|
|
18875
|
+
Update: {
|
|
18876
|
+
address?: string | null;
|
|
18877
|
+
category?: string | null;
|
|
18878
|
+
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
17309
18879
|
contact_person?: string | null;
|
|
17310
18880
|
created_at?: string;
|
|
17311
18881
|
default_product_type?: string;
|
|
17312
18882
|
email?: string | null;
|
|
17313
18883
|
id?: string;
|
|
17314
18884
|
imported_file_name?: string | null;
|
|
18885
|
+
is_preferred?: boolean;
|
|
18886
|
+
kvk_number?: string | null;
|
|
18887
|
+
lead_time_days?: number | null;
|
|
18888
|
+
min_order_amount_cents?: number;
|
|
17315
18889
|
name?: string;
|
|
17316
18890
|
notes?: string | null;
|
|
18891
|
+
order_days?: string[];
|
|
18892
|
+
order_email?: string | null;
|
|
18893
|
+
payment_terms_days?: number | null;
|
|
17317
18894
|
phone?: string | null;
|
|
18895
|
+
status?: string;
|
|
17318
18896
|
updated_at?: string;
|
|
18897
|
+
vat_number?: string | null;
|
|
18898
|
+
website?: string | null;
|
|
17319
18899
|
};
|
|
17320
18900
|
Relationships: [];
|
|
17321
18901
|
};
|
|
@@ -18317,11 +19897,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
18317
19897
|
auto_invoice_trigger_statuses: string[];
|
|
18318
19898
|
created_at: string;
|
|
18319
19899
|
debtor_gl_account: string;
|
|
19900
|
+
default_article_code: string | null;
|
|
18320
19901
|
default_credit_invoice_type: string | null;
|
|
18321
19902
|
default_gl_account: string;
|
|
18322
19903
|
default_invoice_type: string;
|
|
18323
19904
|
default_payment_term_days: number;
|
|
18324
19905
|
default_vat_code: string;
|
|
19906
|
+
email_purpose: string | null;
|
|
18325
19907
|
home_country_code: string;
|
|
18326
19908
|
invoice_enabled_ao: boolean;
|
|
18327
19909
|
invoice_enabled_fo: boolean;
|
|
@@ -18343,11 +19925,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
18343
19925
|
auto_invoice_trigger_statuses?: string[];
|
|
18344
19926
|
created_at?: string;
|
|
18345
19927
|
debtor_gl_account?: string;
|
|
19928
|
+
default_article_code?: string | null;
|
|
18346
19929
|
default_credit_invoice_type?: string | null;
|
|
18347
19930
|
default_gl_account?: string;
|
|
18348
19931
|
default_invoice_type?: string;
|
|
18349
19932
|
default_payment_term_days?: number;
|
|
18350
19933
|
default_vat_code?: string;
|
|
19934
|
+
email_purpose?: string | null;
|
|
18351
19935
|
home_country_code?: string;
|
|
18352
19936
|
invoice_enabled_ao?: boolean;
|
|
18353
19937
|
invoice_enabled_fo?: boolean;
|
|
@@ -18369,11 +19953,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
18369
19953
|
auto_invoice_trigger_statuses?: string[];
|
|
18370
19954
|
created_at?: string;
|
|
18371
19955
|
debtor_gl_account?: string;
|
|
19956
|
+
default_article_code?: string | null;
|
|
18372
19957
|
default_credit_invoice_type?: string | null;
|
|
18373
19958
|
default_gl_account?: string;
|
|
18374
19959
|
default_invoice_type?: string;
|
|
18375
19960
|
default_payment_term_days?: number;
|
|
18376
19961
|
default_vat_code?: string;
|
|
19962
|
+
email_purpose?: string | null;
|
|
18377
19963
|
home_country_code?: string;
|
|
18378
19964
|
invoice_enabled_ao?: boolean;
|
|
18379
19965
|
invoice_enabled_fo?: boolean;
|
|
@@ -19266,6 +20852,36 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19266
20852
|
referencedColumns: ["id"];
|
|
19267
20853
|
}];
|
|
19268
20854
|
};
|
|
20855
|
+
voorraad_buffer_state: {
|
|
20856
|
+
Row: {
|
|
20857
|
+
buffer_id: string;
|
|
20858
|
+
buffer_key: string | null;
|
|
20859
|
+
closed_at: string | null;
|
|
20860
|
+
created_at: string;
|
|
20861
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
20862
|
+
reason: string | null;
|
|
20863
|
+
updated_at: string;
|
|
20864
|
+
};
|
|
20865
|
+
Insert: {
|
|
20866
|
+
buffer_id: string;
|
|
20867
|
+
buffer_key?: string | null;
|
|
20868
|
+
closed_at?: string | null;
|
|
20869
|
+
created_at?: string;
|
|
20870
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
20871
|
+
reason?: string | null;
|
|
20872
|
+
updated_at?: string;
|
|
20873
|
+
};
|
|
20874
|
+
Update: {
|
|
20875
|
+
buffer_id?: string;
|
|
20876
|
+
buffer_key?: string | null;
|
|
20877
|
+
closed_at?: string | null;
|
|
20878
|
+
created_at?: string;
|
|
20879
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
20880
|
+
reason?: string | null;
|
|
20881
|
+
updated_at?: string;
|
|
20882
|
+
};
|
|
20883
|
+
Relationships: [];
|
|
20884
|
+
};
|
|
19269
20885
|
voorraad_custom_fields: {
|
|
19270
20886
|
Row: {
|
|
19271
20887
|
created_at: string;
|
|
@@ -19308,6 +20924,36 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19308
20924
|
};
|
|
19309
20925
|
Relationships: [];
|
|
19310
20926
|
};
|
|
20927
|
+
voorraad_logistics_event_log: {
|
|
20928
|
+
Row: {
|
|
20929
|
+
created_at: string;
|
|
20930
|
+
event_id: string;
|
|
20931
|
+
event_type: string;
|
|
20932
|
+
order_ref: string | null;
|
|
20933
|
+
processed_at: string;
|
|
20934
|
+
result: import("../integrations/supabase/types").Json;
|
|
20935
|
+
updated_at: string;
|
|
20936
|
+
};
|
|
20937
|
+
Insert: {
|
|
20938
|
+
created_at?: string;
|
|
20939
|
+
event_id: string;
|
|
20940
|
+
event_type: string;
|
|
20941
|
+
order_ref?: string | null;
|
|
20942
|
+
processed_at?: string;
|
|
20943
|
+
result?: import("../integrations/supabase/types").Json;
|
|
20944
|
+
updated_at?: string;
|
|
20945
|
+
};
|
|
20946
|
+
Update: {
|
|
20947
|
+
created_at?: string;
|
|
20948
|
+
event_id?: string;
|
|
20949
|
+
event_type?: string;
|
|
20950
|
+
order_ref?: string | null;
|
|
20951
|
+
processed_at?: string;
|
|
20952
|
+
result?: import("../integrations/supabase/types").Json;
|
|
20953
|
+
updated_at?: string;
|
|
20954
|
+
};
|
|
20955
|
+
Relationships: [];
|
|
20956
|
+
};
|
|
19311
20957
|
voorraad_media_upload_failures: {
|
|
19312
20958
|
Row: {
|
|
19313
20959
|
action: string;
|
|
@@ -19575,6 +21221,42 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19575
21221
|
referencedColumns: ["id"];
|
|
19576
21222
|
}];
|
|
19577
21223
|
};
|
|
21224
|
+
werkbon_email_state: {
|
|
21225
|
+
Row: {
|
|
21226
|
+
created_at: string;
|
|
21227
|
+
event_id: string;
|
|
21228
|
+
id: string;
|
|
21229
|
+
is_archived: boolean;
|
|
21230
|
+
is_read: boolean;
|
|
21231
|
+
updated_at: string;
|
|
21232
|
+
werkbon_id: string | null;
|
|
21233
|
+
};
|
|
21234
|
+
Insert: {
|
|
21235
|
+
created_at?: string;
|
|
21236
|
+
event_id: string;
|
|
21237
|
+
id?: string;
|
|
21238
|
+
is_archived?: boolean;
|
|
21239
|
+
is_read?: boolean;
|
|
21240
|
+
updated_at?: string;
|
|
21241
|
+
werkbon_id?: string | null;
|
|
21242
|
+
};
|
|
21243
|
+
Update: {
|
|
21244
|
+
created_at?: string;
|
|
21245
|
+
event_id?: string;
|
|
21246
|
+
id?: string;
|
|
21247
|
+
is_archived?: boolean;
|
|
21248
|
+
is_read?: boolean;
|
|
21249
|
+
updated_at?: string;
|
|
21250
|
+
werkbon_id?: string | null;
|
|
21251
|
+
};
|
|
21252
|
+
Relationships: [{
|
|
21253
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
21254
|
+
columns: ["event_id"];
|
|
21255
|
+
isOneToOne: true;
|
|
21256
|
+
referencedRelation: "email_auth_events";
|
|
21257
|
+
referencedColumns: ["id"];
|
|
21258
|
+
}];
|
|
21259
|
+
};
|
|
19578
21260
|
werkbon_export_runs: {
|
|
19579
21261
|
Row: {
|
|
19580
21262
|
created_at: string;
|
|
@@ -19728,47 +21410,188 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
19728
21410
|
};
|
|
19729
21411
|
Relationships: [];
|
|
19730
21412
|
};
|
|
19731
|
-
|
|
21413
|
+
werkbon_mail_ai_settings: {
|
|
19732
21414
|
Row: {
|
|
19733
|
-
article_number: string | null;
|
|
19734
21415
|
created_at: string;
|
|
19735
|
-
|
|
19736
|
-
|
|
19737
|
-
|
|
19738
|
-
quantity: number;
|
|
19739
|
-
source: string;
|
|
19740
|
-
unit: string;
|
|
19741
|
-
unit_price_cents: number;
|
|
21416
|
+
id: boolean;
|
|
21417
|
+
required_fields: string[];
|
|
21418
|
+
system_prompt: string;
|
|
19742
21419
|
updated_at: string;
|
|
19743
|
-
|
|
21420
|
+
updated_by: string | null;
|
|
19744
21421
|
};
|
|
19745
21422
|
Insert: {
|
|
19746
|
-
article_number?: string | null;
|
|
19747
21423
|
created_at?: string;
|
|
19748
|
-
|
|
19749
|
-
|
|
19750
|
-
|
|
19751
|
-
quantity?: number;
|
|
19752
|
-
source?: string;
|
|
19753
|
-
unit?: string;
|
|
19754
|
-
unit_price_cents?: number;
|
|
21424
|
+
id?: boolean;
|
|
21425
|
+
required_fields?: string[];
|
|
21426
|
+
system_prompt?: string;
|
|
19755
21427
|
updated_at?: string;
|
|
19756
|
-
|
|
21428
|
+
updated_by?: string | null;
|
|
19757
21429
|
};
|
|
19758
21430
|
Update: {
|
|
19759
|
-
article_number?: string | null;
|
|
19760
21431
|
created_at?: string;
|
|
19761
|
-
|
|
19762
|
-
|
|
19763
|
-
|
|
19764
|
-
quantity?: number;
|
|
19765
|
-
source?: string;
|
|
19766
|
-
unit?: string;
|
|
19767
|
-
unit_price_cents?: number;
|
|
21432
|
+
id?: boolean;
|
|
21433
|
+
required_fields?: string[];
|
|
21434
|
+
system_prompt?: string;
|
|
19768
21435
|
updated_at?: string;
|
|
19769
|
-
|
|
21436
|
+
updated_by?: string | null;
|
|
19770
21437
|
};
|
|
19771
|
-
Relationships: [
|
|
21438
|
+
Relationships: [];
|
|
21439
|
+
};
|
|
21440
|
+
werkbon_mail_bodies: {
|
|
21441
|
+
Row: {
|
|
21442
|
+
created_at: string;
|
|
21443
|
+
event_id: string;
|
|
21444
|
+
fetch_error: string | null;
|
|
21445
|
+
fetched_at: string | null;
|
|
21446
|
+
html: string | null;
|
|
21447
|
+
updated_at: string;
|
|
21448
|
+
};
|
|
21449
|
+
Insert: {
|
|
21450
|
+
created_at?: string;
|
|
21451
|
+
event_id: string;
|
|
21452
|
+
fetch_error?: string | null;
|
|
21453
|
+
fetched_at?: string | null;
|
|
21454
|
+
html?: string | null;
|
|
21455
|
+
updated_at?: string;
|
|
21456
|
+
};
|
|
21457
|
+
Update: {
|
|
21458
|
+
created_at?: string;
|
|
21459
|
+
event_id?: string;
|
|
21460
|
+
fetch_error?: string | null;
|
|
21461
|
+
fetched_at?: string | null;
|
|
21462
|
+
html?: string | null;
|
|
21463
|
+
updated_at?: string;
|
|
21464
|
+
};
|
|
21465
|
+
Relationships: [];
|
|
21466
|
+
};
|
|
21467
|
+
werkbon_mail_inline_assets: {
|
|
21468
|
+
Row: {
|
|
21469
|
+
content_id: string | null;
|
|
21470
|
+
created_at: string;
|
|
21471
|
+
event_id: string;
|
|
21472
|
+
filename: string | null;
|
|
21473
|
+
id: string;
|
|
21474
|
+
is_inline: boolean;
|
|
21475
|
+
mime_type: string | null;
|
|
21476
|
+
size_bytes: number | null;
|
|
21477
|
+
storage_path: string;
|
|
21478
|
+
};
|
|
21479
|
+
Insert: {
|
|
21480
|
+
content_id?: string | null;
|
|
21481
|
+
created_at?: string;
|
|
21482
|
+
event_id: string;
|
|
21483
|
+
filename?: string | null;
|
|
21484
|
+
id?: string;
|
|
21485
|
+
is_inline?: boolean;
|
|
21486
|
+
mime_type?: string | null;
|
|
21487
|
+
size_bytes?: number | null;
|
|
21488
|
+
storage_path: string;
|
|
21489
|
+
};
|
|
21490
|
+
Update: {
|
|
21491
|
+
content_id?: string | null;
|
|
21492
|
+
created_at?: string;
|
|
21493
|
+
event_id?: string;
|
|
21494
|
+
filename?: string | null;
|
|
21495
|
+
id?: string;
|
|
21496
|
+
is_inline?: boolean;
|
|
21497
|
+
mime_type?: string | null;
|
|
21498
|
+
size_bytes?: number | null;
|
|
21499
|
+
storage_path?: string;
|
|
21500
|
+
};
|
|
21501
|
+
Relationships: [];
|
|
21502
|
+
};
|
|
21503
|
+
werkbon_mail_settings: {
|
|
21504
|
+
Row: {
|
|
21505
|
+
connection_id: string | null;
|
|
21506
|
+
connection_ids: string[];
|
|
21507
|
+
created_at: string;
|
|
21508
|
+
id: boolean;
|
|
21509
|
+
purposes: string[];
|
|
21510
|
+
source: string;
|
|
21511
|
+
updated_at: string;
|
|
21512
|
+
};
|
|
21513
|
+
Insert: {
|
|
21514
|
+
connection_id?: string | null;
|
|
21515
|
+
connection_ids?: string[];
|
|
21516
|
+
created_at?: string;
|
|
21517
|
+
id?: boolean;
|
|
21518
|
+
purposes?: string[];
|
|
21519
|
+
source?: string;
|
|
21520
|
+
updated_at?: string;
|
|
21521
|
+
};
|
|
21522
|
+
Update: {
|
|
21523
|
+
connection_id?: string | null;
|
|
21524
|
+
connection_ids?: string[];
|
|
21525
|
+
created_at?: string;
|
|
21526
|
+
id?: boolean;
|
|
21527
|
+
purposes?: string[];
|
|
21528
|
+
source?: string;
|
|
21529
|
+
updated_at?: string;
|
|
21530
|
+
};
|
|
21531
|
+
Relationships: [];
|
|
21532
|
+
};
|
|
21533
|
+
werkbon_mail_user_settings: {
|
|
21534
|
+
Row: {
|
|
21535
|
+
created_at: string;
|
|
21536
|
+
email_purpose: string | null;
|
|
21537
|
+
updated_at: string;
|
|
21538
|
+
user_id: string;
|
|
21539
|
+
};
|
|
21540
|
+
Insert: {
|
|
21541
|
+
created_at?: string;
|
|
21542
|
+
email_purpose?: string | null;
|
|
21543
|
+
updated_at?: string;
|
|
21544
|
+
user_id: string;
|
|
21545
|
+
};
|
|
21546
|
+
Update: {
|
|
21547
|
+
created_at?: string;
|
|
21548
|
+
email_purpose?: string | null;
|
|
21549
|
+
updated_at?: string;
|
|
21550
|
+
user_id?: string;
|
|
21551
|
+
};
|
|
21552
|
+
Relationships: [];
|
|
21553
|
+
};
|
|
21554
|
+
werkbon_materials: {
|
|
21555
|
+
Row: {
|
|
21556
|
+
article_number: string | null;
|
|
21557
|
+
created_at: string;
|
|
21558
|
+
created_by: string | null;
|
|
21559
|
+
description: string;
|
|
21560
|
+
id: string;
|
|
21561
|
+
quantity: number;
|
|
21562
|
+
source: string;
|
|
21563
|
+
unit: string;
|
|
21564
|
+
unit_price_cents: number;
|
|
21565
|
+
updated_at: string;
|
|
21566
|
+
werkbon_id: string;
|
|
21567
|
+
};
|
|
21568
|
+
Insert: {
|
|
21569
|
+
article_number?: string | null;
|
|
21570
|
+
created_at?: string;
|
|
21571
|
+
created_by?: string | null;
|
|
21572
|
+
description: string;
|
|
21573
|
+
id?: string;
|
|
21574
|
+
quantity?: number;
|
|
21575
|
+
source?: string;
|
|
21576
|
+
unit?: string;
|
|
21577
|
+
unit_price_cents?: number;
|
|
21578
|
+
updated_at?: string;
|
|
21579
|
+
werkbon_id: string;
|
|
21580
|
+
};
|
|
21581
|
+
Update: {
|
|
21582
|
+
article_number?: string | null;
|
|
21583
|
+
created_at?: string;
|
|
21584
|
+
created_by?: string | null;
|
|
21585
|
+
description?: string;
|
|
21586
|
+
id?: string;
|
|
21587
|
+
quantity?: number;
|
|
21588
|
+
source?: string;
|
|
21589
|
+
unit?: string;
|
|
21590
|
+
unit_price_cents?: number;
|
|
21591
|
+
updated_at?: string;
|
|
21592
|
+
werkbon_id?: string;
|
|
21593
|
+
};
|
|
21594
|
+
Relationships: [{
|
|
19772
21595
|
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
19773
21596
|
columns: ["werkbon_id"];
|
|
19774
21597
|
isOneToOne: false;
|
|
@@ -20067,6 +21890,156 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20067
21890
|
referencedColumns: ["id"];
|
|
20068
21891
|
}];
|
|
20069
21892
|
};
|
|
21893
|
+
werkbon_proposal_lines: {
|
|
21894
|
+
Row: {
|
|
21895
|
+
article_number: string | null;
|
|
21896
|
+
created_at: string;
|
|
21897
|
+
description: string | null;
|
|
21898
|
+
id: string;
|
|
21899
|
+
line_type: string;
|
|
21900
|
+
note: string | null;
|
|
21901
|
+
package_id: string | null;
|
|
21902
|
+
proposal_id: string;
|
|
21903
|
+
quantity: number | null;
|
|
21904
|
+
sort_order: number;
|
|
21905
|
+
unit: string | null;
|
|
21906
|
+
updated_at: string;
|
|
21907
|
+
};
|
|
21908
|
+
Insert: {
|
|
21909
|
+
article_number?: string | null;
|
|
21910
|
+
created_at?: string;
|
|
21911
|
+
description?: string | null;
|
|
21912
|
+
id?: string;
|
|
21913
|
+
line_type?: string;
|
|
21914
|
+
note?: string | null;
|
|
21915
|
+
package_id?: string | null;
|
|
21916
|
+
proposal_id: string;
|
|
21917
|
+
quantity?: number | null;
|
|
21918
|
+
sort_order?: number;
|
|
21919
|
+
unit?: string | null;
|
|
21920
|
+
updated_at?: string;
|
|
21921
|
+
};
|
|
21922
|
+
Update: {
|
|
21923
|
+
article_number?: string | null;
|
|
21924
|
+
created_at?: string;
|
|
21925
|
+
description?: string | null;
|
|
21926
|
+
id?: string;
|
|
21927
|
+
line_type?: string;
|
|
21928
|
+
note?: string | null;
|
|
21929
|
+
package_id?: string | null;
|
|
21930
|
+
proposal_id?: string;
|
|
21931
|
+
quantity?: number | null;
|
|
21932
|
+
sort_order?: number;
|
|
21933
|
+
unit?: string | null;
|
|
21934
|
+
updated_at?: string;
|
|
21935
|
+
};
|
|
21936
|
+
Relationships: [{
|
|
21937
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
21938
|
+
columns: ["proposal_id"];
|
|
21939
|
+
isOneToOne: false;
|
|
21940
|
+
referencedRelation: "werkbon_proposals";
|
|
21941
|
+
referencedColumns: ["id"];
|
|
21942
|
+
}];
|
|
21943
|
+
};
|
|
21944
|
+
werkbon_proposals: {
|
|
21945
|
+
Row: {
|
|
21946
|
+
analysed: boolean;
|
|
21947
|
+
budget_mandate_cents: number;
|
|
21948
|
+
complaint_description: string | null;
|
|
21949
|
+
contact_id: string | null;
|
|
21950
|
+
created_at: string;
|
|
21951
|
+
created_werkbon_id: string | null;
|
|
21952
|
+
customer_id: string | null;
|
|
21953
|
+
deadline_date: string | null;
|
|
21954
|
+
estimated_days: number | null;
|
|
21955
|
+
estimated_duration_minutes: number | null;
|
|
21956
|
+
event_id: string;
|
|
21957
|
+
external_id: string | null;
|
|
21958
|
+
externe_referentie: string | null;
|
|
21959
|
+
from_email: string | null;
|
|
21960
|
+
from_name: string | null;
|
|
21961
|
+
id: string;
|
|
21962
|
+
internal_notes: string | null;
|
|
21963
|
+
parsed_payload: import("../integrations/supabase/types").Json;
|
|
21964
|
+
received_at: string | null;
|
|
21965
|
+
reviewed_at: string | null;
|
|
21966
|
+
reviewed_by: string | null;
|
|
21967
|
+
room_number: string | null;
|
|
21968
|
+
scheduled_end_time: string | null;
|
|
21969
|
+
scheduled_start_time: string | null;
|
|
21970
|
+
status: string;
|
|
21971
|
+
subject: string | null;
|
|
21972
|
+
technician_id: string | null;
|
|
21973
|
+
technician_task_description: string | null;
|
|
21974
|
+
updated_at: string;
|
|
21975
|
+
work_address: string | null;
|
|
21976
|
+
};
|
|
21977
|
+
Insert: {
|
|
21978
|
+
analysed?: boolean;
|
|
21979
|
+
budget_mandate_cents?: number;
|
|
21980
|
+
complaint_description?: string | null;
|
|
21981
|
+
contact_id?: string | null;
|
|
21982
|
+
created_at?: string;
|
|
21983
|
+
created_werkbon_id?: string | null;
|
|
21984
|
+
customer_id?: string | null;
|
|
21985
|
+
deadline_date?: string | null;
|
|
21986
|
+
estimated_days?: number | null;
|
|
21987
|
+
estimated_duration_minutes?: number | null;
|
|
21988
|
+
event_id: string;
|
|
21989
|
+
external_id?: string | null;
|
|
21990
|
+
externe_referentie?: string | null;
|
|
21991
|
+
from_email?: string | null;
|
|
21992
|
+
from_name?: string | null;
|
|
21993
|
+
id?: string;
|
|
21994
|
+
internal_notes?: string | null;
|
|
21995
|
+
parsed_payload?: import("../integrations/supabase/types").Json;
|
|
21996
|
+
received_at?: string | null;
|
|
21997
|
+
reviewed_at?: string | null;
|
|
21998
|
+
reviewed_by?: string | null;
|
|
21999
|
+
room_number?: string | null;
|
|
22000
|
+
scheduled_end_time?: string | null;
|
|
22001
|
+
scheduled_start_time?: string | null;
|
|
22002
|
+
status?: string;
|
|
22003
|
+
subject?: string | null;
|
|
22004
|
+
technician_id?: string | null;
|
|
22005
|
+
technician_task_description?: string | null;
|
|
22006
|
+
updated_at?: string;
|
|
22007
|
+
work_address?: string | null;
|
|
22008
|
+
};
|
|
22009
|
+
Update: {
|
|
22010
|
+
analysed?: boolean;
|
|
22011
|
+
budget_mandate_cents?: number;
|
|
22012
|
+
complaint_description?: string | null;
|
|
22013
|
+
contact_id?: string | null;
|
|
22014
|
+
created_at?: string;
|
|
22015
|
+
created_werkbon_id?: string | null;
|
|
22016
|
+
customer_id?: string | null;
|
|
22017
|
+
deadline_date?: string | null;
|
|
22018
|
+
estimated_days?: number | null;
|
|
22019
|
+
estimated_duration_minutes?: number | null;
|
|
22020
|
+
event_id?: string;
|
|
22021
|
+
external_id?: string | null;
|
|
22022
|
+
externe_referentie?: string | null;
|
|
22023
|
+
from_email?: string | null;
|
|
22024
|
+
from_name?: string | null;
|
|
22025
|
+
id?: string;
|
|
22026
|
+
internal_notes?: string | null;
|
|
22027
|
+
parsed_payload?: import("../integrations/supabase/types").Json;
|
|
22028
|
+
received_at?: string | null;
|
|
22029
|
+
reviewed_at?: string | null;
|
|
22030
|
+
reviewed_by?: string | null;
|
|
22031
|
+
room_number?: string | null;
|
|
22032
|
+
scheduled_end_time?: string | null;
|
|
22033
|
+
scheduled_start_time?: string | null;
|
|
22034
|
+
status?: string;
|
|
22035
|
+
subject?: string | null;
|
|
22036
|
+
technician_id?: string | null;
|
|
22037
|
+
technician_task_description?: string | null;
|
|
22038
|
+
updated_at?: string;
|
|
22039
|
+
work_address?: string | null;
|
|
22040
|
+
};
|
|
22041
|
+
Relationships: [];
|
|
22042
|
+
};
|
|
20070
22043
|
werkbon_time_logs: {
|
|
20071
22044
|
Row: {
|
|
20072
22045
|
activity: string;
|
|
@@ -20120,6 +22093,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20120
22093
|
created_at: string;
|
|
20121
22094
|
created_by: string | null;
|
|
20122
22095
|
customer_id: string | null;
|
|
22096
|
+
deadline_date: string | null;
|
|
22097
|
+
estimated_days: number | null;
|
|
22098
|
+
estimated_duration_minutes: number | null;
|
|
20123
22099
|
externe_referentie: string | null;
|
|
20124
22100
|
extra_costs_cents: number;
|
|
20125
22101
|
first_time_fix: boolean | null;
|
|
@@ -20150,6 +22126,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20150
22126
|
updated_at: string;
|
|
20151
22127
|
version: number;
|
|
20152
22128
|
work_address: string | null;
|
|
22129
|
+
workday_hours: number | null;
|
|
20153
22130
|
};
|
|
20154
22131
|
Insert: {
|
|
20155
22132
|
assigned_user_id?: string | null;
|
|
@@ -20158,6 +22135,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20158
22135
|
created_at?: string;
|
|
20159
22136
|
created_by?: string | null;
|
|
20160
22137
|
customer_id?: string | null;
|
|
22138
|
+
deadline_date?: string | null;
|
|
22139
|
+
estimated_days?: number | null;
|
|
22140
|
+
estimated_duration_minutes?: number | null;
|
|
20161
22141
|
externe_referentie?: string | null;
|
|
20162
22142
|
extra_costs_cents?: number;
|
|
20163
22143
|
first_time_fix?: boolean | null;
|
|
@@ -20188,6 +22168,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20188
22168
|
updated_at?: string;
|
|
20189
22169
|
version?: number;
|
|
20190
22170
|
work_address?: string | null;
|
|
22171
|
+
workday_hours?: number | null;
|
|
20191
22172
|
};
|
|
20192
22173
|
Update: {
|
|
20193
22174
|
assigned_user_id?: string | null;
|
|
@@ -20196,6 +22177,9 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20196
22177
|
created_at?: string;
|
|
20197
22178
|
created_by?: string | null;
|
|
20198
22179
|
customer_id?: string | null;
|
|
22180
|
+
deadline_date?: string | null;
|
|
22181
|
+
estimated_days?: number | null;
|
|
22182
|
+
estimated_duration_minutes?: number | null;
|
|
20199
22183
|
externe_referentie?: string | null;
|
|
20200
22184
|
extra_costs_cents?: number;
|
|
20201
22185
|
first_time_fix?: boolean | null;
|
|
@@ -20226,6 +22210,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
20226
22210
|
updated_at?: string;
|
|
20227
22211
|
version?: number;
|
|
20228
22212
|
work_address?: string | null;
|
|
22213
|
+
workday_hours?: number | null;
|
|
20229
22214
|
};
|
|
20230
22215
|
Relationships: [{
|
|
20231
22216
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
@@ -21430,6 +23415,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21430
23415
|
};
|
|
21431
23416
|
Returns: string;
|
|
21432
23417
|
};
|
|
23418
|
+
backfill_cart_numbers_day_seq: {
|
|
23419
|
+
Args: never;
|
|
23420
|
+
Returns: number;
|
|
23421
|
+
};
|
|
21433
23422
|
backfill_open_order_reservations: {
|
|
21434
23423
|
Args: never;
|
|
21435
23424
|
Returns: {
|
|
@@ -21468,6 +23457,15 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21468
23457
|
Args: never;
|
|
21469
23458
|
Returns: boolean;
|
|
21470
23459
|
};
|
|
23460
|
+
cancel_open_print_jobs: {
|
|
23461
|
+
Args: {
|
|
23462
|
+
_cutoff: string;
|
|
23463
|
+
};
|
|
23464
|
+
Returns: {
|
|
23465
|
+
extern_job_id: string;
|
|
23466
|
+
id: string;
|
|
23467
|
+
}[];
|
|
23468
|
+
};
|
|
21471
23469
|
check_offer_product_available_stock: {
|
|
21472
23470
|
Args: {
|
|
21473
23471
|
p_campaign_product_id: string;
|
|
@@ -21907,8 +23905,6 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
21907
23905
|
cart_index: number;
|
|
21908
23906
|
cart_number: string;
|
|
21909
23907
|
cart_number_id: string;
|
|
21910
|
-
cart_seq: number;
|
|
21911
|
-
cart_total: number;
|
|
21912
23908
|
order_id: string;
|
|
21913
23909
|
order_number: string;
|
|
21914
23910
|
order_source: string;
|
|
@@ -22133,6 +24129,17 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22133
24129
|
};
|
|
22134
24130
|
Returns: boolean;
|
|
22135
24131
|
};
|
|
24132
|
+
floriday_adopt_connection: {
|
|
24133
|
+
Args: {
|
|
24134
|
+
p_new: string;
|
|
24135
|
+
p_old: string;
|
|
24136
|
+
};
|
|
24137
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24138
|
+
};
|
|
24139
|
+
floriday_autoheal_connections: {
|
|
24140
|
+
Args: never;
|
|
24141
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24142
|
+
};
|
|
22136
24143
|
floriday_capture_stock_snapshot: {
|
|
22137
24144
|
Args: never;
|
|
22138
24145
|
Returns: number;
|
|
@@ -22190,6 +24197,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22190
24197
|
};
|
|
22191
24198
|
Returns: undefined;
|
|
22192
24199
|
};
|
|
24200
|
+
floriday_relink_products: {
|
|
24201
|
+
Args: {
|
|
24202
|
+
p_connection_id?: string;
|
|
24203
|
+
};
|
|
24204
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24205
|
+
};
|
|
22193
24206
|
floriday_requeue_dead_letters: {
|
|
22194
24207
|
Args: {
|
|
22195
24208
|
p_connection_id?: string;
|
|
@@ -22412,6 +24425,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22412
24425
|
Args: never;
|
|
22413
24426
|
Returns: string;
|
|
22414
24427
|
};
|
|
24428
|
+
handover_afspraak_intrekken: {
|
|
24429
|
+
Args: {
|
|
24430
|
+
_sleutel: string;
|
|
24431
|
+
};
|
|
24432
|
+
Returns: boolean;
|
|
24433
|
+
};
|
|
24434
|
+
handover_afspraak_zetten: {
|
|
24435
|
+
Args: {
|
|
24436
|
+
_besluit: string;
|
|
24437
|
+
_item: string;
|
|
24438
|
+
_modules: string[];
|
|
24439
|
+
_sleutel: string;
|
|
24440
|
+
_soort: string;
|
|
24441
|
+
_versie_vingerafdruk: string;
|
|
24442
|
+
};
|
|
24443
|
+
Returns: boolean;
|
|
24444
|
+
};
|
|
24445
|
+
handover_afspraken: {
|
|
24446
|
+
Args: never;
|
|
24447
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24448
|
+
};
|
|
22415
24449
|
handover_archief_lijst: {
|
|
22416
24450
|
Args: never;
|
|
22417
24451
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -22429,6 +24463,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22429
24463
|
};
|
|
22430
24464
|
Returns: boolean;
|
|
22431
24465
|
};
|
|
24466
|
+
handover_check_afronden_na_scan: {
|
|
24467
|
+
Args: {
|
|
24468
|
+
_module_ids: string[];
|
|
24469
|
+
};
|
|
24470
|
+
Returns: number;
|
|
24471
|
+
};
|
|
22432
24472
|
handover_check_markeren: {
|
|
22433
24473
|
Args: {
|
|
22434
24474
|
_module_ids: string[];
|
|
@@ -22472,6 +24512,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22472
24512
|
};
|
|
22473
24513
|
Returns: boolean;
|
|
22474
24514
|
};
|
|
24515
|
+
handover_md_bron_zetten: {
|
|
24516
|
+
Args: {
|
|
24517
|
+
_md: boolean;
|
|
24518
|
+
_module_id: string;
|
|
24519
|
+
_pad?: string;
|
|
24520
|
+
};
|
|
24521
|
+
Returns: boolean;
|
|
24522
|
+
};
|
|
22475
24523
|
handover_module_meta_zetten: {
|
|
22476
24524
|
Args: {
|
|
22477
24525
|
_module_id: string;
|
|
@@ -22480,6 +24528,24 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22480
24528
|
};
|
|
22481
24529
|
Returns: boolean;
|
|
22482
24530
|
};
|
|
24531
|
+
handover_naam_zetten: {
|
|
24532
|
+
Args: {
|
|
24533
|
+
_bron_repo?: string;
|
|
24534
|
+
_module_id: string;
|
|
24535
|
+
_weergavenaam?: string;
|
|
24536
|
+
};
|
|
24537
|
+
Returns: boolean;
|
|
24538
|
+
};
|
|
24539
|
+
handover_namen: {
|
|
24540
|
+
Args: never;
|
|
24541
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24542
|
+
};
|
|
24543
|
+
handover_nieuw_gezien: {
|
|
24544
|
+
Args: {
|
|
24545
|
+
_module_id: string;
|
|
24546
|
+
};
|
|
24547
|
+
Returns: boolean;
|
|
24548
|
+
};
|
|
22483
24549
|
handover_norm_naam: {
|
|
22484
24550
|
Args: {
|
|
22485
24551
|
_naam: string;
|
|
@@ -22516,6 +24582,24 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22516
24582
|
_versie_label?: string;
|
|
22517
24583
|
};
|
|
22518
24584
|
Returns: import("../integrations/supabase/types").Json;
|
|
24585
|
+
} | {
|
|
24586
|
+
Args: {
|
|
24587
|
+
_bekende_risicos?: string[];
|
|
24588
|
+
_bezit_tabellen?: string[];
|
|
24589
|
+
_bron_soort?: string;
|
|
24590
|
+
_commit?: string;
|
|
24591
|
+
_contractfuncties?: string[];
|
|
24592
|
+
_inhoud_md: string;
|
|
24593
|
+
_laatst_bevestigd_op?: string;
|
|
24594
|
+
_module_id: string;
|
|
24595
|
+
_module_titel: string;
|
|
24596
|
+
_ontbrekende_contracten?: string[];
|
|
24597
|
+
_pad?: string;
|
|
24598
|
+
_repo?: string;
|
|
24599
|
+
_samenvatting?: string;
|
|
24600
|
+
_versie_label?: string;
|
|
24601
|
+
};
|
|
24602
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22519
24603
|
};
|
|
22520
24604
|
handover_publish_via_token: {
|
|
22521
24605
|
Args: {
|
|
@@ -22613,6 +24697,27 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22613
24697
|
Args: never;
|
|
22614
24698
|
Returns: boolean;
|
|
22615
24699
|
};
|
|
24700
|
+
inkoop_apply_price_list: {
|
|
24701
|
+
Args: {
|
|
24702
|
+
_price_list_id: string;
|
|
24703
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
24704
|
+
};
|
|
24705
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24706
|
+
};
|
|
24707
|
+
inkoop_next_order_number: {
|
|
24708
|
+
Args: never;
|
|
24709
|
+
Returns: string;
|
|
24710
|
+
};
|
|
24711
|
+
inkoop_send_order: {
|
|
24712
|
+
Args: {
|
|
24713
|
+
_order_id: string;
|
|
24714
|
+
};
|
|
24715
|
+
Returns: {
|
|
24716
|
+
outbox_id: string;
|
|
24717
|
+
supplier_name: string;
|
|
24718
|
+
to_address: string;
|
|
24719
|
+
}[];
|
|
24720
|
+
};
|
|
22616
24721
|
instructie_get: {
|
|
22617
24722
|
Args: {
|
|
22618
24723
|
_sleutel: string;
|
|
@@ -22672,6 +24777,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22672
24777
|
};
|
|
22673
24778
|
Returns: import("../integrations/supabase/types").Json;
|
|
22674
24779
|
};
|
|
24780
|
+
invoice_source_lines: {
|
|
24781
|
+
Args: {
|
|
24782
|
+
_source_id: string;
|
|
24783
|
+
_source_type: string;
|
|
24784
|
+
};
|
|
24785
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24786
|
+
};
|
|
22675
24787
|
is_authenticated: {
|
|
22676
24788
|
Args: never;
|
|
22677
24789
|
Returns: boolean;
|
|
@@ -22811,6 +24923,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22811
24923
|
};
|
|
22812
24924
|
Returns: string;
|
|
22813
24925
|
};
|
|
24926
|
+
logistics_active_layout_method: {
|
|
24927
|
+
Args: never;
|
|
24928
|
+
Returns: string;
|
|
24929
|
+
};
|
|
22814
24930
|
logistics_active_pick_workdays: {
|
|
22815
24931
|
Args: never;
|
|
22816
24932
|
Returns: string[];
|
|
@@ -22862,6 +24978,30 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22862
24978
|
};
|
|
22863
24979
|
Returns: import("../integrations/supabase/types").Json;
|
|
22864
24980
|
};
|
|
24981
|
+
logistics_block_reason_code: {
|
|
24982
|
+
Args: {
|
|
24983
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
24984
|
+
p_reason: string;
|
|
24985
|
+
};
|
|
24986
|
+
Returns: string;
|
|
24987
|
+
};
|
|
24988
|
+
logistics_blocked_orders: {
|
|
24989
|
+
Args: never;
|
|
24990
|
+
Returns: {
|
|
24991
|
+
attempts: number;
|
|
24992
|
+
blocked_since: string;
|
|
24993
|
+
delivery_date: string;
|
|
24994
|
+
order_id: string;
|
|
24995
|
+
order_ref: string;
|
|
24996
|
+
queue_id: string;
|
|
24997
|
+
reason: string;
|
|
24998
|
+
reason_code: string;
|
|
24999
|
+
}[];
|
|
25000
|
+
};
|
|
25001
|
+
logistics_blocked_overview: {
|
|
25002
|
+
Args: never;
|
|
25003
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25004
|
+
};
|
|
22865
25005
|
logistics_buffer_criteria: {
|
|
22866
25006
|
Args: {
|
|
22867
25007
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -22876,6 +25016,39 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22876
25016
|
};
|
|
22877
25017
|
Returns: import("../integrations/supabase/types").Json;
|
|
22878
25018
|
};
|
|
25019
|
+
logistics_buffer_detach_late_orders: {
|
|
25020
|
+
Args: {
|
|
25021
|
+
p_buffer?: string;
|
|
25022
|
+
};
|
|
25023
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25024
|
+
};
|
|
25025
|
+
logistics_buffer_frozen_order: {
|
|
25026
|
+
Args: {
|
|
25027
|
+
p_order_id: string;
|
|
25028
|
+
};
|
|
25029
|
+
Returns: boolean;
|
|
25030
|
+
};
|
|
25031
|
+
logistics_buffer_handled: {
|
|
25032
|
+
Args: {
|
|
25033
|
+
p_buffer: string;
|
|
25034
|
+
};
|
|
25035
|
+
Returns: boolean;
|
|
25036
|
+
};
|
|
25037
|
+
logistics_buffer_notify: {
|
|
25038
|
+
Args: {
|
|
25039
|
+
p_event_type: string;
|
|
25040
|
+
p_idempotency_key: string;
|
|
25041
|
+
p_order_ref: string;
|
|
25042
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
25043
|
+
};
|
|
25044
|
+
Returns: string;
|
|
25045
|
+
};
|
|
25046
|
+
logistics_buffer_open_key: {
|
|
25047
|
+
Args: {
|
|
25048
|
+
p_base_key: string;
|
|
25049
|
+
};
|
|
25050
|
+
Returns: string;
|
|
25051
|
+
};
|
|
22879
25052
|
logistics_buffer_simulate: {
|
|
22880
25053
|
Args: {
|
|
22881
25054
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -22928,6 +25101,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22928
25101
|
};
|
|
22929
25102
|
Returns: string;
|
|
22930
25103
|
};
|
|
25104
|
+
logistics_cart_checkin_at: {
|
|
25105
|
+
Args: {
|
|
25106
|
+
p_cart_id: string;
|
|
25107
|
+
};
|
|
25108
|
+
Returns: string;
|
|
25109
|
+
};
|
|
22931
25110
|
logistics_cart_handled: {
|
|
22932
25111
|
Args: {
|
|
22933
25112
|
p_cart_index: number;
|
|
@@ -22961,10 +25140,59 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
22961
25140
|
task_status: string;
|
|
22962
25141
|
}[];
|
|
22963
25142
|
};
|
|
25143
|
+
logistics_cart_is_full: {
|
|
25144
|
+
Args: {
|
|
25145
|
+
p_cart_id: string;
|
|
25146
|
+
};
|
|
25147
|
+
Returns: boolean;
|
|
25148
|
+
};
|
|
22964
25149
|
logistics_cart_layout_method: {
|
|
22965
25150
|
Args: never;
|
|
22966
25151
|
Returns: import("../integrations/supabase/types").Json;
|
|
22967
25152
|
};
|
|
25153
|
+
logistics_cart_order_refs: {
|
|
25154
|
+
Args: {
|
|
25155
|
+
p_cart_id: string;
|
|
25156
|
+
};
|
|
25157
|
+
Returns: string[];
|
|
25158
|
+
};
|
|
25159
|
+
logistics_cart_plan_overview: {
|
|
25160
|
+
Args: {
|
|
25161
|
+
p_days?: number;
|
|
25162
|
+
};
|
|
25163
|
+
Returns: {
|
|
25164
|
+
cart_total: number;
|
|
25165
|
+
delivery_date: string;
|
|
25166
|
+
order_ref: string;
|
|
25167
|
+
plan_ready: boolean;
|
|
25168
|
+
reason: string;
|
|
25169
|
+
released: boolean;
|
|
25170
|
+
}[];
|
|
25171
|
+
};
|
|
25172
|
+
logistics_cart_plan_status: {
|
|
25173
|
+
Args: {
|
|
25174
|
+
p_ref: string;
|
|
25175
|
+
};
|
|
25176
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25177
|
+
};
|
|
25178
|
+
logistics_cart_plan_status_core: {
|
|
25179
|
+
Args: {
|
|
25180
|
+
p_ref: string;
|
|
25181
|
+
};
|
|
25182
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25183
|
+
};
|
|
25184
|
+
logistics_cart_release_reason: {
|
|
25185
|
+
Args: {
|
|
25186
|
+
p_cart_id: string;
|
|
25187
|
+
};
|
|
25188
|
+
Returns: string;
|
|
25189
|
+
};
|
|
25190
|
+
logistics_cart_released: {
|
|
25191
|
+
Args: {
|
|
25192
|
+
p_cart_id: string;
|
|
25193
|
+
};
|
|
25194
|
+
Returns: boolean;
|
|
25195
|
+
};
|
|
22968
25196
|
logistics_cart_seq: {
|
|
22969
25197
|
Args: {
|
|
22970
25198
|
p_order_uuid?: string;
|
|
@@ -23015,6 +25243,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23015
25243
|
unit_ref: string;
|
|
23016
25244
|
}[];
|
|
23017
25245
|
};
|
|
25246
|
+
logistics_carts_per_print: {
|
|
25247
|
+
Args: never;
|
|
25248
|
+
Returns: number;
|
|
25249
|
+
};
|
|
23018
25250
|
logistics_check_order_allowed: {
|
|
23019
25251
|
Args: {
|
|
23020
25252
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23118,6 +25350,16 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23118
25350
|
isSetofReturn: false;
|
|
23119
25351
|
};
|
|
23120
25352
|
};
|
|
25353
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
25354
|
+
Args: never;
|
|
25355
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25356
|
+
};
|
|
25357
|
+
logistics_cleanup_tasks: {
|
|
25358
|
+
Args: {
|
|
25359
|
+
p_limit?: number;
|
|
25360
|
+
};
|
|
25361
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25362
|
+
};
|
|
23121
25363
|
logistics_complete_task: {
|
|
23122
25364
|
Args: {
|
|
23123
25365
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23180,6 +25422,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23180
25422
|
station_carts: number;
|
|
23181
25423
|
}[];
|
|
23182
25424
|
};
|
|
25425
|
+
logistics_control_complete_cart: {
|
|
25426
|
+
Args: {
|
|
25427
|
+
p_cart_id: string;
|
|
25428
|
+
};
|
|
25429
|
+
Returns: number;
|
|
25430
|
+
};
|
|
23183
25431
|
logistics_control_scan_approve: {
|
|
23184
25432
|
Args: {
|
|
23185
25433
|
p_allow_reprint?: boolean;
|
|
@@ -23259,6 +25507,15 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23259
25507
|
Args: never;
|
|
23260
25508
|
Returns: import("../integrations/supabase/types").Json;
|
|
23261
25509
|
};
|
|
25510
|
+
logistics_day_windows: {
|
|
25511
|
+
Args: {
|
|
25512
|
+
p_day: string;
|
|
25513
|
+
};
|
|
25514
|
+
Returns: {
|
|
25515
|
+
win_end: string;
|
|
25516
|
+
win_start: string;
|
|
25517
|
+
}[];
|
|
25518
|
+
};
|
|
23262
25519
|
logistics_delay_customer_email: {
|
|
23263
25520
|
Args: {
|
|
23264
25521
|
p_customer: string;
|
|
@@ -23326,6 +25583,17 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23326
25583
|
};
|
|
23327
25584
|
Returns: import("../integrations/supabase/types").Json;
|
|
23328
25585
|
};
|
|
25586
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
25587
|
+
Args: {
|
|
25588
|
+
_cart_id: string;
|
|
25589
|
+
_is_herprint: boolean;
|
|
25590
|
+
_printer_id: string;
|
|
25591
|
+
_queue_item_id: string;
|
|
25592
|
+
_session_id: string;
|
|
25593
|
+
_slip_job_id: string;
|
|
25594
|
+
};
|
|
25595
|
+
Returns: string;
|
|
25596
|
+
};
|
|
23329
25597
|
logistics_enqueue_sticker_with_slip: {
|
|
23330
25598
|
Args: {
|
|
23331
25599
|
_cart_id: string;
|
|
@@ -23343,6 +25611,20 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23343
25611
|
};
|
|
23344
25612
|
Returns: string;
|
|
23345
25613
|
};
|
|
25614
|
+
logistics_ensure_pick_data: {
|
|
25615
|
+
Args: {
|
|
25616
|
+
p_event_id?: string;
|
|
25617
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
25618
|
+
p_ref: string;
|
|
25619
|
+
};
|
|
25620
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25621
|
+
};
|
|
25622
|
+
logistics_ensure_shipping_notes: {
|
|
25623
|
+
Args: {
|
|
25624
|
+
p_limit?: number;
|
|
25625
|
+
};
|
|
25626
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25627
|
+
};
|
|
23346
25628
|
logistics_fail_task: {
|
|
23347
25629
|
Args: {
|
|
23348
25630
|
p_error: string;
|
|
@@ -23388,6 +25670,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23388
25670
|
isSetofReturn: false;
|
|
23389
25671
|
};
|
|
23390
25672
|
};
|
|
25673
|
+
logistics_fix_wrong_shipping_notes: {
|
|
25674
|
+
Args: never;
|
|
25675
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25676
|
+
};
|
|
23391
25677
|
logistics_floriday_cart_plan: {
|
|
23392
25678
|
Args: {
|
|
23393
25679
|
p_order_id: string;
|
|
@@ -23415,6 +25701,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23415
25701
|
revision: number;
|
|
23416
25702
|
}[];
|
|
23417
25703
|
};
|
|
25704
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
25705
|
+
Args: never;
|
|
25706
|
+
Returns: boolean;
|
|
25707
|
+
};
|
|
23418
25708
|
logistics_floriday_finish_push: {
|
|
23419
25709
|
Args: {
|
|
23420
25710
|
_error?: string;
|
|
@@ -23464,6 +25754,38 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23464
25754
|
};
|
|
23465
25755
|
Returns: string;
|
|
23466
25756
|
};
|
|
25757
|
+
logistics_floriday_gate_status: {
|
|
25758
|
+
Args: never;
|
|
25759
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25760
|
+
};
|
|
25761
|
+
logistics_floriday_log_refusal: {
|
|
25762
|
+
Args: {
|
|
25763
|
+
_action?: string;
|
|
25764
|
+
_module?: string;
|
|
25765
|
+
_order_ref: string;
|
|
25766
|
+
_reason: string;
|
|
25767
|
+
_shell?: string;
|
|
25768
|
+
};
|
|
25769
|
+
Returns: undefined;
|
|
25770
|
+
};
|
|
25771
|
+
logistics_floriday_log_send: {
|
|
25772
|
+
Args: {
|
|
25773
|
+
_action: string;
|
|
25774
|
+
_detail?: string;
|
|
25775
|
+
_http_status?: number;
|
|
25776
|
+
_module?: string;
|
|
25777
|
+
_ok: boolean;
|
|
25778
|
+
_order_ref: string;
|
|
25779
|
+
_shell?: string;
|
|
25780
|
+
};
|
|
25781
|
+
Returns: undefined;
|
|
25782
|
+
};
|
|
25783
|
+
logistics_floriday_order_approved: {
|
|
25784
|
+
Args: {
|
|
25785
|
+
_order_ref: string;
|
|
25786
|
+
};
|
|
25787
|
+
Returns: boolean;
|
|
25788
|
+
};
|
|
23467
25789
|
logistics_floriday_prune_pushes: {
|
|
23468
25790
|
Args: {
|
|
23469
25791
|
_days?: number;
|
|
@@ -23478,6 +25800,20 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23478
25800
|
};
|
|
23479
25801
|
Returns: string;
|
|
23480
25802
|
};
|
|
25803
|
+
logistics_floriday_status_updates_enabled: {
|
|
25804
|
+
Args: never;
|
|
25805
|
+
Returns: boolean;
|
|
25806
|
+
};
|
|
25807
|
+
logistics_floriday_stock_updates_enabled: {
|
|
25808
|
+
Args: never;
|
|
25809
|
+
Returns: boolean;
|
|
25810
|
+
};
|
|
25811
|
+
logistics_floriday_write_allowed: {
|
|
25812
|
+
Args: {
|
|
25813
|
+
_action: string;
|
|
25814
|
+
};
|
|
25815
|
+
Returns: boolean;
|
|
25816
|
+
};
|
|
23481
25817
|
logistics_fulfill_barcode_requests: {
|
|
23482
25818
|
Args: {
|
|
23483
25819
|
p_limit?: number;
|
|
@@ -23498,18 +25834,44 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23498
25834
|
};
|
|
23499
25835
|
Returns: boolean;
|
|
23500
25836
|
};
|
|
23501
|
-
|
|
25837
|
+
logistics_layout_method_status: {
|
|
25838
|
+
Args: never;
|
|
25839
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25840
|
+
};
|
|
25841
|
+
logistics_link_order_items: {
|
|
23502
25842
|
Args: {
|
|
23503
|
-
|
|
25843
|
+
p_order?: string;
|
|
23504
25844
|
};
|
|
23505
25845
|
Returns: import("../integrations/supabase/types").Json;
|
|
23506
25846
|
};
|
|
23507
|
-
|
|
25847
|
+
logistics_live_carriers: {
|
|
25848
|
+
Args: {
|
|
25849
|
+
p_order_ref: string;
|
|
25850
|
+
};
|
|
25851
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25852
|
+
};
|
|
25853
|
+
logistics_live_cart_count: {
|
|
23508
25854
|
Args: {
|
|
23509
25855
|
p_order_ref: string;
|
|
23510
25856
|
};
|
|
23511
25857
|
Returns: number;
|
|
23512
25858
|
};
|
|
25859
|
+
logistics_merge_floriday_lines: {
|
|
25860
|
+
Args: {
|
|
25861
|
+
p_order_id: string;
|
|
25862
|
+
};
|
|
25863
|
+
Returns: string;
|
|
25864
|
+
};
|
|
25865
|
+
logistics_merge_lines_enabled: {
|
|
25866
|
+
Args: never;
|
|
25867
|
+
Returns: boolean;
|
|
25868
|
+
};
|
|
25869
|
+
logistics_merge_partial_carts: {
|
|
25870
|
+
Args: {
|
|
25871
|
+
p_limit?: number;
|
|
25872
|
+
};
|
|
25873
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25874
|
+
};
|
|
23513
25875
|
logistics_next_workday_date: {
|
|
23514
25876
|
Args: {
|
|
23515
25877
|
p_date: string;
|
|
@@ -23524,18 +25886,62 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23524
25886
|
};
|
|
23525
25887
|
Returns: string;
|
|
23526
25888
|
};
|
|
25889
|
+
logistics_normalize_product_label: {
|
|
25890
|
+
Args: {
|
|
25891
|
+
p_label: string;
|
|
25892
|
+
};
|
|
25893
|
+
Returns: string;
|
|
25894
|
+
};
|
|
23527
25895
|
logistics_not_past: {
|
|
23528
25896
|
Args: {
|
|
23529
25897
|
p_ts: string;
|
|
23530
25898
|
};
|
|
23531
25899
|
Returns: string;
|
|
23532
25900
|
};
|
|
25901
|
+
logistics_opening_timezone: {
|
|
25902
|
+
Args: never;
|
|
25903
|
+
Returns: string;
|
|
25904
|
+
};
|
|
25905
|
+
logistics_order_cart_approval: {
|
|
25906
|
+
Args: {
|
|
25907
|
+
_order_ref: string;
|
|
25908
|
+
};
|
|
25909
|
+
Returns: {
|
|
25910
|
+
approved: number;
|
|
25911
|
+
total: number;
|
|
25912
|
+
}[];
|
|
25913
|
+
};
|
|
23533
25914
|
logistics_order_cart_count: {
|
|
23534
25915
|
Args: {
|
|
23535
25916
|
p_order_ref: string;
|
|
23536
25917
|
};
|
|
23537
25918
|
Returns: number;
|
|
23538
25919
|
};
|
|
25920
|
+
logistics_order_changed: {
|
|
25921
|
+
Args: {
|
|
25922
|
+
p_order_id: string;
|
|
25923
|
+
p_reason?: string;
|
|
25924
|
+
};
|
|
25925
|
+
Returns: undefined;
|
|
25926
|
+
};
|
|
25927
|
+
logistics_order_documents_ready: {
|
|
25928
|
+
Args: {
|
|
25929
|
+
p_order_ref: string;
|
|
25930
|
+
};
|
|
25931
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25932
|
+
};
|
|
25933
|
+
logistics_order_documents_ready_bool: {
|
|
25934
|
+
Args: {
|
|
25935
|
+
p_order_ref: string;
|
|
25936
|
+
};
|
|
25937
|
+
Returns: boolean;
|
|
25938
|
+
};
|
|
25939
|
+
logistics_order_frozen: {
|
|
25940
|
+
Args: {
|
|
25941
|
+
p_order_id: string;
|
|
25942
|
+
};
|
|
25943
|
+
Returns: boolean;
|
|
25944
|
+
};
|
|
23539
25945
|
logistics_order_handled: {
|
|
23540
25946
|
Args: {
|
|
23541
25947
|
p_order_uuid: string;
|
|
@@ -23549,6 +25955,18 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23549
25955
|
};
|
|
23550
25956
|
Returns: boolean;
|
|
23551
25957
|
};
|
|
25958
|
+
logistics_order_merge_key: {
|
|
25959
|
+
Args: {
|
|
25960
|
+
p_group_key: string;
|
|
25961
|
+
};
|
|
25962
|
+
Returns: string;
|
|
25963
|
+
};
|
|
25964
|
+
logistics_order_mergeable: {
|
|
25965
|
+
Args: {
|
|
25966
|
+
p_order_id: string;
|
|
25967
|
+
};
|
|
25968
|
+
Returns: boolean;
|
|
25969
|
+
};
|
|
23552
25970
|
logistics_order_overview: {
|
|
23553
25971
|
Args: {
|
|
23554
25972
|
p_from?: string;
|
|
@@ -23586,6 +26004,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23586
26004
|
};
|
|
23587
26005
|
Returns: string;
|
|
23588
26006
|
};
|
|
26007
|
+
logistics_payload_is_floriday: {
|
|
26008
|
+
Args: {
|
|
26009
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26010
|
+
};
|
|
26011
|
+
Returns: boolean;
|
|
26012
|
+
};
|
|
23589
26013
|
logistics_pick_agenda: {
|
|
23590
26014
|
Args: {
|
|
23591
26015
|
p_from?: string;
|
|
@@ -23614,6 +26038,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23614
26038
|
Args: never;
|
|
23615
26039
|
Returns: import("../integrations/supabase/types").Json;
|
|
23616
26040
|
};
|
|
26041
|
+
logistics_pick_partial_mode: {
|
|
26042
|
+
Args: never;
|
|
26043
|
+
Returns: string;
|
|
26044
|
+
};
|
|
23617
26045
|
logistics_pick_start_estimate: {
|
|
23618
26046
|
Args: {
|
|
23619
26047
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -23663,6 +26091,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23663
26091
|
order_id: string;
|
|
23664
26092
|
}[];
|
|
23665
26093
|
};
|
|
26094
|
+
logistics_plan_defer: {
|
|
26095
|
+
Args: {
|
|
26096
|
+
p_id: string;
|
|
26097
|
+
};
|
|
26098
|
+
Returns: undefined;
|
|
26099
|
+
};
|
|
23666
26100
|
logistics_plan_enqueue: {
|
|
23667
26101
|
Args: {
|
|
23668
26102
|
p_order_id: string;
|
|
@@ -23676,6 +26110,18 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23676
26110
|
};
|
|
23677
26111
|
Returns: boolean;
|
|
23678
26112
|
};
|
|
26113
|
+
logistics_plan_error_class: {
|
|
26114
|
+
Args: {
|
|
26115
|
+
p_error: string;
|
|
26116
|
+
};
|
|
26117
|
+
Returns: string;
|
|
26118
|
+
};
|
|
26119
|
+
logistics_plan_error_text: {
|
|
26120
|
+
Args: {
|
|
26121
|
+
p_error: string;
|
|
26122
|
+
};
|
|
26123
|
+
Returns: string;
|
|
26124
|
+
};
|
|
23679
26125
|
logistics_plan_finish: {
|
|
23680
26126
|
Args: {
|
|
23681
26127
|
p_error?: string;
|
|
@@ -23704,14 +26150,86 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23704
26150
|
Args: never;
|
|
23705
26151
|
Returns: undefined;
|
|
23706
26152
|
};
|
|
26153
|
+
logistics_plan_lock_acquire: {
|
|
26154
|
+
Args: {
|
|
26155
|
+
_key: string;
|
|
26156
|
+
_owner?: string;
|
|
26157
|
+
_ttl_seconds?: number;
|
|
26158
|
+
};
|
|
26159
|
+
Returns: boolean;
|
|
26160
|
+
};
|
|
26161
|
+
logistics_plan_lock_release: {
|
|
26162
|
+
Args: {
|
|
26163
|
+
_key: string;
|
|
26164
|
+
_owner?: string;
|
|
26165
|
+
};
|
|
26166
|
+
Returns: undefined;
|
|
26167
|
+
};
|
|
26168
|
+
logistics_plan_progress: {
|
|
26169
|
+
Args: {
|
|
26170
|
+
p_refs: string[];
|
|
26171
|
+
};
|
|
26172
|
+
Returns: {
|
|
26173
|
+
cart_plan_ready: boolean;
|
|
26174
|
+
cart_plan_reason: string;
|
|
26175
|
+
cart_plan_released: boolean;
|
|
26176
|
+
plan_progress: number;
|
|
26177
|
+
plan_state: string;
|
|
26178
|
+
plan_state_since: string;
|
|
26179
|
+
unit_ref: string;
|
|
26180
|
+
}[];
|
|
26181
|
+
};
|
|
26182
|
+
logistics_plan_progress_pct: {
|
|
26183
|
+
Args: {
|
|
26184
|
+
p_order_id: string;
|
|
26185
|
+
};
|
|
26186
|
+
Returns: number;
|
|
26187
|
+
};
|
|
23707
26188
|
logistics_plan_prune: {
|
|
23708
26189
|
Args: never;
|
|
23709
26190
|
Returns: number;
|
|
23710
26191
|
};
|
|
26192
|
+
logistics_plan_queue_list: {
|
|
26193
|
+
Args: {
|
|
26194
|
+
p_limit?: number;
|
|
26195
|
+
};
|
|
26196
|
+
Returns: {
|
|
26197
|
+
attempts: number;
|
|
26198
|
+
claimed_at: string;
|
|
26199
|
+
customer_name: string;
|
|
26200
|
+
enqueued_at: string;
|
|
26201
|
+
error_class: string;
|
|
26202
|
+
error_raw: string;
|
|
26203
|
+
error_text: string;
|
|
26204
|
+
id: string;
|
|
26205
|
+
max_attempts: number;
|
|
26206
|
+
next_attempt_at: string;
|
|
26207
|
+
order_created_at: string;
|
|
26208
|
+
order_id: string;
|
|
26209
|
+
order_number: string;
|
|
26210
|
+
progress_pct: number;
|
|
26211
|
+
reason: string;
|
|
26212
|
+
stand: string;
|
|
26213
|
+
status: string;
|
|
26214
|
+
updated_at: string;
|
|
26215
|
+
}[];
|
|
26216
|
+
};
|
|
23711
26217
|
logistics_plan_release_stale: {
|
|
23712
26218
|
Args: never;
|
|
23713
26219
|
Returns: number;
|
|
23714
26220
|
};
|
|
26221
|
+
logistics_plan_reset_queue: {
|
|
26222
|
+
Args: {
|
|
26223
|
+
p_scope?: string;
|
|
26224
|
+
};
|
|
26225
|
+
Returns: number;
|
|
26226
|
+
};
|
|
26227
|
+
logistics_plan_retry: {
|
|
26228
|
+
Args: {
|
|
26229
|
+
p_order_ids: string[];
|
|
26230
|
+
};
|
|
26231
|
+
Returns: number;
|
|
26232
|
+
};
|
|
23715
26233
|
logistics_plan_setting: {
|
|
23716
26234
|
Args: {
|
|
23717
26235
|
p_default: number;
|
|
@@ -23719,6 +26237,22 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23719
26237
|
};
|
|
23720
26238
|
Returns: number;
|
|
23721
26239
|
};
|
|
26240
|
+
logistics_plan_state_for: {
|
|
26241
|
+
Args: {
|
|
26242
|
+
p_ref: string;
|
|
26243
|
+
};
|
|
26244
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26245
|
+
};
|
|
26246
|
+
logistics_plan_timeout_running: {
|
|
26247
|
+
Args: never;
|
|
26248
|
+
Returns: number;
|
|
26249
|
+
};
|
|
26250
|
+
logistics_prepare_pick_documents: {
|
|
26251
|
+
Args: {
|
|
26252
|
+
p_limit?: number;
|
|
26253
|
+
};
|
|
26254
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26255
|
+
};
|
|
23722
26256
|
logistics_prune_buffer_member_queue: {
|
|
23723
26257
|
Args: never;
|
|
23724
26258
|
Returns: number;
|
|
@@ -23759,12 +26293,42 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23759
26293
|
Args: never;
|
|
23760
26294
|
Returns: import("../integrations/supabase/types").Json;
|
|
23761
26295
|
};
|
|
26296
|
+
logistics_refresh_pick_queue_status: {
|
|
26297
|
+
Args: {
|
|
26298
|
+
p_ref: string;
|
|
26299
|
+
};
|
|
26300
|
+
Returns: number;
|
|
26301
|
+
};
|
|
23762
26302
|
logistics_refresh_pickup_moments: {
|
|
23763
26303
|
Args: {
|
|
23764
26304
|
p_weeks?: number;
|
|
23765
26305
|
};
|
|
23766
26306
|
Returns: import("../integrations/supabase/types").Json;
|
|
23767
26307
|
};
|
|
26308
|
+
logistics_refresh_plan_state: {
|
|
26309
|
+
Args: {
|
|
26310
|
+
p_limit?: number;
|
|
26311
|
+
};
|
|
26312
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26313
|
+
};
|
|
26314
|
+
logistics_replan_all: {
|
|
26315
|
+
Args: {
|
|
26316
|
+
p_reason?: string;
|
|
26317
|
+
};
|
|
26318
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26319
|
+
};
|
|
26320
|
+
logistics_replan_all_force: {
|
|
26321
|
+
Args: {
|
|
26322
|
+
p_reason?: string;
|
|
26323
|
+
};
|
|
26324
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26325
|
+
};
|
|
26326
|
+
logistics_replan_order_journey: {
|
|
26327
|
+
Args: {
|
|
26328
|
+
p_order_ref: string;
|
|
26329
|
+
};
|
|
26330
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26331
|
+
};
|
|
23768
26332
|
logistics_report_delay: {
|
|
23769
26333
|
Args: {
|
|
23770
26334
|
p_expected_date?: string;
|
|
@@ -23818,6 +26382,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23818
26382
|
};
|
|
23819
26383
|
Returns: import("../integrations/supabase/types").Json;
|
|
23820
26384
|
};
|
|
26385
|
+
logistics_resolve_product_id: {
|
|
26386
|
+
Args: {
|
|
26387
|
+
p_label: string;
|
|
26388
|
+
};
|
|
26389
|
+
Returns: string;
|
|
26390
|
+
};
|
|
23821
26391
|
logistics_resolve_settings: {
|
|
23822
26392
|
Args: {
|
|
23823
26393
|
p_config_id: string;
|
|
@@ -23865,87 +26435,357 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23865
26435
|
Args: never;
|
|
23866
26436
|
Returns: number;
|
|
23867
26437
|
};
|
|
23868
|
-
logistics_scan_order_stock: {
|
|
26438
|
+
logistics_scan_order_stock: {
|
|
26439
|
+
Args: {
|
|
26440
|
+
p_order_id: string;
|
|
26441
|
+
};
|
|
26442
|
+
Returns: string;
|
|
26443
|
+
};
|
|
26444
|
+
logistics_scan_resolve: {
|
|
26445
|
+
Args: {
|
|
26446
|
+
p_code: string;
|
|
26447
|
+
};
|
|
26448
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26449
|
+
};
|
|
26450
|
+
logistics_schedule_tasks: {
|
|
26451
|
+
Args: never;
|
|
26452
|
+
Returns: number;
|
|
26453
|
+
} | {
|
|
26454
|
+
Args: {
|
|
26455
|
+
p_order_ref?: string;
|
|
26456
|
+
};
|
|
26457
|
+
Returns: number;
|
|
26458
|
+
};
|
|
26459
|
+
logistics_set_order_priority: {
|
|
26460
|
+
Args: {
|
|
26461
|
+
p_order_ref: string;
|
|
26462
|
+
p_priority: number;
|
|
26463
|
+
p_user_id?: string;
|
|
26464
|
+
};
|
|
26465
|
+
Returns: number;
|
|
26466
|
+
};
|
|
26467
|
+
logistics_set_pick_day: {
|
|
26468
|
+
Args: {
|
|
26469
|
+
p_order_ref: string;
|
|
26470
|
+
p_pick_day: string;
|
|
26471
|
+
};
|
|
26472
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26473
|
+
};
|
|
26474
|
+
logistics_shift_to_workday: {
|
|
26475
|
+
Args: {
|
|
26476
|
+
p_days: string[];
|
|
26477
|
+
p_ts: string;
|
|
26478
|
+
};
|
|
26479
|
+
Returns: string;
|
|
26480
|
+
};
|
|
26481
|
+
logistics_shipping_note_diagnose: {
|
|
26482
|
+
Args: {
|
|
26483
|
+
p_order_number: string;
|
|
26484
|
+
};
|
|
26485
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26486
|
+
};
|
|
26487
|
+
logistics_shipping_note_follows_slip: {
|
|
26488
|
+
Args: never;
|
|
26489
|
+
Returns: boolean;
|
|
26490
|
+
};
|
|
26491
|
+
logistics_shipping_note_from_barcode: {
|
|
26492
|
+
Args: {
|
|
26493
|
+
p_allow_reprint?: boolean;
|
|
26494
|
+
p_barcode: string;
|
|
26495
|
+
p_station_id?: string;
|
|
26496
|
+
};
|
|
26497
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26498
|
+
};
|
|
26499
|
+
logistics_shipping_note_job_for_slip: {
|
|
26500
|
+
Args: {
|
|
26501
|
+
_slip_job_id: string;
|
|
26502
|
+
};
|
|
26503
|
+
Returns: string;
|
|
26504
|
+
};
|
|
26505
|
+
logistics_shipping_notes_wake_all: {
|
|
26506
|
+
Args: never;
|
|
26507
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26508
|
+
};
|
|
26509
|
+
logistics_slip_is_floriday: {
|
|
26510
|
+
Args: {
|
|
26511
|
+
_slip_job_id: string;
|
|
26512
|
+
};
|
|
26513
|
+
Returns: boolean;
|
|
26514
|
+
};
|
|
26515
|
+
logistics_slip_note_claim: {
|
|
26516
|
+
Args: {
|
|
26517
|
+
_lease_seconds?: number;
|
|
26518
|
+
_limit?: number;
|
|
26519
|
+
};
|
|
26520
|
+
Returns: {
|
|
26521
|
+
attempts: number;
|
|
26522
|
+
batch_key: string | null;
|
|
26523
|
+
cart_id: string | null;
|
|
26524
|
+
created_at: string;
|
|
26525
|
+
error: string | null;
|
|
26526
|
+
error_code: string | null;
|
|
26527
|
+
fulfillment_order_id: string | null;
|
|
26528
|
+
id: string;
|
|
26529
|
+
locked_until: string | null;
|
|
26530
|
+
next_attempt_at: string | null;
|
|
26531
|
+
order_id: string | null;
|
|
26532
|
+
order_number: string | null;
|
|
26533
|
+
print_job_id: string | null;
|
|
26534
|
+
printer_id: string | null;
|
|
26535
|
+
retry_class: string | null;
|
|
26536
|
+
slip_job_id: string;
|
|
26537
|
+
status: string;
|
|
26538
|
+
updated_at: string;
|
|
26539
|
+
}[];
|
|
26540
|
+
SetofOptions: {
|
|
26541
|
+
from: "*";
|
|
26542
|
+
to: "logistics_slip_shipping_note";
|
|
26543
|
+
isOneToOne: false;
|
|
26544
|
+
isSetofReturn: true;
|
|
26545
|
+
};
|
|
26546
|
+
};
|
|
26547
|
+
logistics_slip_note_finish: {
|
|
26548
|
+
Args: {
|
|
26549
|
+
_error?: string;
|
|
26550
|
+
_error_code?: string;
|
|
26551
|
+
_fulfillment_order_id?: string;
|
|
26552
|
+
_id: string;
|
|
26553
|
+
_ok: boolean;
|
|
26554
|
+
_print_job_id?: string;
|
|
26555
|
+
_status?: string;
|
|
26556
|
+
};
|
|
26557
|
+
Returns: undefined;
|
|
26558
|
+
};
|
|
26559
|
+
logistics_slip_note_keep_waiting: {
|
|
26560
|
+
Args: {
|
|
26561
|
+
_class?: string;
|
|
26562
|
+
_id: string;
|
|
26563
|
+
_reason: string;
|
|
26564
|
+
};
|
|
26565
|
+
Returns: undefined;
|
|
26566
|
+
};
|
|
26567
|
+
logistics_sticker_follows_slip: {
|
|
26568
|
+
Args: never;
|
|
26569
|
+
Returns: boolean;
|
|
26570
|
+
};
|
|
26571
|
+
logistics_subtract_working_minutes: {
|
|
26572
|
+
Args: {
|
|
26573
|
+
p_deadline: string;
|
|
26574
|
+
p_max_workdays?: number;
|
|
26575
|
+
p_minutes: number;
|
|
26576
|
+
};
|
|
26577
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26578
|
+
};
|
|
26579
|
+
logistics_supersede_stale_tasks: {
|
|
26580
|
+
Args: {
|
|
26581
|
+
p_keep: string[];
|
|
26582
|
+
p_order_ref: string;
|
|
26583
|
+
p_run_id: string;
|
|
26584
|
+
p_user_id: string;
|
|
26585
|
+
};
|
|
26586
|
+
Returns: number;
|
|
26587
|
+
};
|
|
26588
|
+
logistics_sync_pick_queue: {
|
|
26589
|
+
Args: never;
|
|
26590
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26591
|
+
};
|
|
26592
|
+
logistics_sync_task_carriers: {
|
|
26593
|
+
Args: {
|
|
26594
|
+
p_order_ref?: string;
|
|
26595
|
+
};
|
|
26596
|
+
Returns: number;
|
|
26597
|
+
};
|
|
26598
|
+
logistics_task_owner: {
|
|
26599
|
+
Args: {
|
|
26600
|
+
p_task_type: string;
|
|
26601
|
+
};
|
|
26602
|
+
Returns: string;
|
|
26603
|
+
};
|
|
26604
|
+
logistics_task_pick_minutes: {
|
|
26605
|
+
Args: {
|
|
26606
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
26607
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
26608
|
+
};
|
|
26609
|
+
Returns: number;
|
|
26610
|
+
};
|
|
26611
|
+
logistics_task_retention_days: {
|
|
26612
|
+
Args: never;
|
|
26613
|
+
Returns: number;
|
|
26614
|
+
};
|
|
26615
|
+
logistics_tick_ping: {
|
|
26616
|
+
Args: never;
|
|
26617
|
+
Returns: string;
|
|
26618
|
+
};
|
|
26619
|
+
logistics_timezone_options: {
|
|
26620
|
+
Args: never;
|
|
26621
|
+
Returns: {
|
|
26622
|
+
name: string;
|
|
26623
|
+
}[];
|
|
26624
|
+
};
|
|
26625
|
+
logistics_trace: {
|
|
26626
|
+
Args: {
|
|
26627
|
+
p: import("../integrations/supabase/types").Json;
|
|
26628
|
+
};
|
|
26629
|
+
Returns: string;
|
|
26630
|
+
};
|
|
26631
|
+
logistics_trace_all_orders: {
|
|
26632
|
+
Args: {
|
|
26633
|
+
p_limit?: number;
|
|
26634
|
+
p_search?: string;
|
|
26635
|
+
};
|
|
26636
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26637
|
+
};
|
|
26638
|
+
logistics_trace_archive_order: {
|
|
26639
|
+
Args: {
|
|
26640
|
+
p_order_ref: string;
|
|
26641
|
+
p_reason: string;
|
|
26642
|
+
};
|
|
26643
|
+
Returns: number;
|
|
26644
|
+
};
|
|
26645
|
+
logistics_trace_batch: {
|
|
26646
|
+
Args: {
|
|
26647
|
+
p: import("../integrations/supabase/types").Json;
|
|
26648
|
+
};
|
|
26649
|
+
Returns: number;
|
|
26650
|
+
};
|
|
26651
|
+
logistics_trace_derive: {
|
|
26652
|
+
Args: {
|
|
26653
|
+
p: import("../integrations/supabase/types").Json;
|
|
26654
|
+
};
|
|
26655
|
+
Returns: number;
|
|
26656
|
+
};
|
|
26657
|
+
logistics_trace_node: {
|
|
26658
|
+
Args: {
|
|
26659
|
+
p_op?: string;
|
|
26660
|
+
p_status?: string;
|
|
26661
|
+
p_table: string;
|
|
26662
|
+
};
|
|
26663
|
+
Returns: string;
|
|
26664
|
+
};
|
|
26665
|
+
logistics_trace_order_journey_start: {
|
|
26666
|
+
Args: {
|
|
26667
|
+
p_order_id: string;
|
|
26668
|
+
p_reason?: string;
|
|
26669
|
+
};
|
|
26670
|
+
Returns: string;
|
|
26671
|
+
};
|
|
26672
|
+
logistics_trace_order_origin: {
|
|
26673
|
+
Args: {
|
|
26674
|
+
p_order_id: string;
|
|
26675
|
+
};
|
|
26676
|
+
Returns: undefined;
|
|
26677
|
+
};
|
|
26678
|
+
logistics_trace_order_overview: {
|
|
26679
|
+
Args: {
|
|
26680
|
+
p_error_class?: string;
|
|
26681
|
+
p_limit?: number;
|
|
26682
|
+
p_search?: string;
|
|
26683
|
+
p_since?: string;
|
|
26684
|
+
p_source?: string;
|
|
26685
|
+
p_state?: string;
|
|
26686
|
+
p_step?: string;
|
|
26687
|
+
};
|
|
26688
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26689
|
+
};
|
|
26690
|
+
logistics_trace_order_state: {
|
|
26691
|
+
Args: {
|
|
26692
|
+
p_order_ref: string;
|
|
26693
|
+
};
|
|
26694
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26695
|
+
};
|
|
26696
|
+
logistics_trace_order_step: {
|
|
26697
|
+
Args: {
|
|
26698
|
+
p_class?: string;
|
|
26699
|
+
p_decision?: string;
|
|
26700
|
+
p_error?: string;
|
|
26701
|
+
p_next_step?: string;
|
|
26702
|
+
p_node: string;
|
|
26703
|
+
p_order_id: string;
|
|
26704
|
+
p_reason?: string;
|
|
26705
|
+
p_status: string;
|
|
26706
|
+
p_step: string;
|
|
26707
|
+
};
|
|
26708
|
+
Returns: undefined;
|
|
26709
|
+
};
|
|
26710
|
+
logistics_trace_orders: {
|
|
26711
|
+
Args: {
|
|
26712
|
+
p_limit?: number;
|
|
26713
|
+
p_search?: string;
|
|
26714
|
+
p_since?: string;
|
|
26715
|
+
p_status?: string;
|
|
26716
|
+
};
|
|
26717
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26718
|
+
};
|
|
26719
|
+
logistics_trace_pick_state: {
|
|
23869
26720
|
Args: {
|
|
23870
|
-
|
|
26721
|
+
p_order_number: string;
|
|
23871
26722
|
};
|
|
23872
|
-
Returns:
|
|
26723
|
+
Returns: undefined;
|
|
23873
26724
|
};
|
|
23874
|
-
|
|
26725
|
+
logistics_trace_progress: {
|
|
23875
26726
|
Args: {
|
|
23876
|
-
|
|
26727
|
+
p_limit?: number;
|
|
23877
26728
|
};
|
|
23878
26729
|
Returns: import("../integrations/supabase/types").Json;
|
|
23879
26730
|
};
|
|
23880
|
-
|
|
23881
|
-
Args: never;
|
|
23882
|
-
Returns: number;
|
|
23883
|
-
};
|
|
23884
|
-
logistics_set_order_priority: {
|
|
26731
|
+
logistics_trace_progress_order: {
|
|
23885
26732
|
Args: {
|
|
23886
26733
|
p_order_ref: string;
|
|
23887
|
-
p_priority: number;
|
|
23888
|
-
p_user_id?: string;
|
|
23889
26734
|
};
|
|
23890
|
-
Returns:
|
|
26735
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23891
26736
|
};
|
|
23892
|
-
|
|
26737
|
+
logistics_trace_redact: {
|
|
23893
26738
|
Args: {
|
|
23894
|
-
|
|
23895
|
-
p_pick_day: string;
|
|
26739
|
+
p: import("../integrations/supabase/types").Json;
|
|
23896
26740
|
};
|
|
23897
26741
|
Returns: import("../integrations/supabase/types").Json;
|
|
23898
26742
|
};
|
|
23899
|
-
|
|
26743
|
+
logistics_trace_source_node: {
|
|
23900
26744
|
Args: {
|
|
23901
|
-
|
|
23902
|
-
p_ts: string;
|
|
26745
|
+
p_source: string;
|
|
23903
26746
|
};
|
|
23904
26747
|
Returns: string;
|
|
23905
26748
|
};
|
|
23906
|
-
|
|
26749
|
+
logistics_trace_step_once: {
|
|
23907
26750
|
Args: {
|
|
23908
|
-
|
|
23909
|
-
|
|
23910
|
-
|
|
26751
|
+
p_decision: string;
|
|
26752
|
+
p_next_step?: string;
|
|
26753
|
+
p_node: string;
|
|
26754
|
+
p_order_id: string;
|
|
26755
|
+
p_reason: string;
|
|
26756
|
+
p_status: string;
|
|
26757
|
+
p_step: string;
|
|
23911
26758
|
};
|
|
23912
|
-
Returns:
|
|
23913
|
-
};
|
|
23914
|
-
logistics_sticker_follows_slip: {
|
|
23915
|
-
Args: never;
|
|
23916
|
-
Returns: boolean;
|
|
26759
|
+
Returns: undefined;
|
|
23917
26760
|
};
|
|
23918
|
-
|
|
26761
|
+
logistics_trace_stock_check: {
|
|
23919
26762
|
Args: {
|
|
23920
|
-
|
|
23921
|
-
p_order_ref: string;
|
|
23922
|
-
p_run_id: string;
|
|
23923
|
-
p_user_id: string;
|
|
26763
|
+
p_order_id: string;
|
|
23924
26764
|
};
|
|
23925
|
-
Returns:
|
|
23926
|
-
};
|
|
23927
|
-
logistics_sync_pick_queue: {
|
|
23928
|
-
Args: never;
|
|
23929
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
26765
|
+
Returns: undefined;
|
|
23930
26766
|
};
|
|
23931
|
-
|
|
26767
|
+
logistics_trace_timeline: {
|
|
23932
26768
|
Args: {
|
|
23933
|
-
|
|
26769
|
+
p_limit?: number;
|
|
26770
|
+
p_order_ref: string;
|
|
23934
26771
|
};
|
|
23935
|
-
Returns:
|
|
26772
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23936
26773
|
};
|
|
23937
|
-
|
|
26774
|
+
logistics_trace_version_events: {
|
|
23938
26775
|
Args: {
|
|
23939
|
-
|
|
26776
|
+
p_from?: string;
|
|
26777
|
+
p_limit?: number;
|
|
26778
|
+
p_order_ref: string;
|
|
26779
|
+
p_to?: string;
|
|
26780
|
+
p_version_id: string;
|
|
23940
26781
|
};
|
|
23941
|
-
Returns:
|
|
26782
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23942
26783
|
};
|
|
23943
|
-
|
|
26784
|
+
logistics_trace_versions: {
|
|
23944
26785
|
Args: {
|
|
23945
|
-
|
|
23946
|
-
p_settings: import("../integrations/supabase/types").Json;
|
|
26786
|
+
p_order_ref: string;
|
|
23947
26787
|
};
|
|
23948
|
-
Returns:
|
|
26788
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23949
26789
|
};
|
|
23950
26790
|
logistics_upsert_task: {
|
|
23951
26791
|
Args: {
|
|
@@ -23966,6 +26806,16 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
23966
26806
|
};
|
|
23967
26807
|
Returns: string;
|
|
23968
26808
|
};
|
|
26809
|
+
logistics_valid_timezone: {
|
|
26810
|
+
Args: {
|
|
26811
|
+
_tz: string;
|
|
26812
|
+
};
|
|
26813
|
+
Returns: boolean;
|
|
26814
|
+
};
|
|
26815
|
+
logistics_working_hours_status: {
|
|
26816
|
+
Args: never;
|
|
26817
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26818
|
+
};
|
|
23969
26819
|
logistics_write_buffer_layer_positions: {
|
|
23970
26820
|
Args: {
|
|
23971
26821
|
p_buffer_id: string;
|
|
@@ -24027,6 +26877,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24027
26877
|
permission: string;
|
|
24028
26878
|
}[];
|
|
24029
26879
|
};
|
|
26880
|
+
next_cart_day_seq: {
|
|
26881
|
+
Args: {
|
|
26882
|
+
p_date: string;
|
|
26883
|
+
};
|
|
26884
|
+
Returns: number;
|
|
26885
|
+
};
|
|
24030
26886
|
next_manufacture_partij: {
|
|
24031
26887
|
Args: {
|
|
24032
26888
|
_tenant_id: string;
|
|
@@ -24131,6 +26987,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24131
26987
|
online: boolean;
|
|
24132
26988
|
}[];
|
|
24133
26989
|
};
|
|
26990
|
+
pick_apply_buffer_events: {
|
|
26991
|
+
Args: never;
|
|
26992
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26993
|
+
};
|
|
24134
26994
|
pick_available_pick_days: {
|
|
24135
26995
|
Args: {
|
|
24136
26996
|
_max_days?: number;
|
|
@@ -24514,6 +27374,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24514
27374
|
};
|
|
24515
27375
|
Returns: undefined;
|
|
24516
27376
|
};
|
|
27377
|
+
pick_report_missing_cart_plan: {
|
|
27378
|
+
Args: never;
|
|
27379
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27380
|
+
};
|
|
24517
27381
|
pick_reprint_cart: {
|
|
24518
27382
|
Args: {
|
|
24519
27383
|
_cart_id: string;
|
|
@@ -24970,6 +27834,18 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24970
27834
|
};
|
|
24971
27835
|
Returns: undefined;
|
|
24972
27836
|
};
|
|
27837
|
+
prune_floriday_api_log: {
|
|
27838
|
+
Args: never;
|
|
27839
|
+
Returns: number;
|
|
27840
|
+
};
|
|
27841
|
+
quote_ack_work_order: {
|
|
27842
|
+
Args: {
|
|
27843
|
+
_queue_id: string;
|
|
27844
|
+
_werkbon_id: string;
|
|
27845
|
+
_werkbon_nummer?: string;
|
|
27846
|
+
};
|
|
27847
|
+
Returns: boolean;
|
|
27848
|
+
};
|
|
24973
27849
|
quote_create_from_source: {
|
|
24974
27850
|
Args: {
|
|
24975
27851
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -24978,6 +27854,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24978
27854
|
};
|
|
24979
27855
|
Returns: string;
|
|
24980
27856
|
};
|
|
27857
|
+
quote_fail_work_order: {
|
|
27858
|
+
Args: {
|
|
27859
|
+
_foutmelding: string;
|
|
27860
|
+
_queue_id: string;
|
|
27861
|
+
};
|
|
27862
|
+
Returns: boolean;
|
|
27863
|
+
};
|
|
24981
27864
|
quote_get_billable_lines: {
|
|
24982
27865
|
Args: {
|
|
24983
27866
|
_quotation_id: string;
|
|
@@ -24994,6 +27877,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
24994
27877
|
Args: never;
|
|
24995
27878
|
Returns: import("../integrations/supabase/types").Json;
|
|
24996
27879
|
};
|
|
27880
|
+
quote_list_pending_work_orders: {
|
|
27881
|
+
Args: {
|
|
27882
|
+
_limit?: number;
|
|
27883
|
+
};
|
|
27884
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27885
|
+
};
|
|
24997
27886
|
quote_list_sources: {
|
|
24998
27887
|
Args: {
|
|
24999
27888
|
_limit?: number;
|
|
@@ -25001,6 +27890,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25001
27890
|
};
|
|
25002
27891
|
Returns: import("../integrations/supabase/types").Json;
|
|
25003
27892
|
};
|
|
27893
|
+
quote_queue_follow_up: {
|
|
27894
|
+
Args: {
|
|
27895
|
+
_offerte_id: string;
|
|
27896
|
+
};
|
|
27897
|
+
Returns: string;
|
|
27898
|
+
};
|
|
25004
27899
|
recompute_all_reserved_stock: {
|
|
25005
27900
|
Args: never;
|
|
25006
27901
|
Returns: undefined;
|
|
@@ -25054,6 +27949,12 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25054
27949
|
};
|
|
25055
27950
|
Returns: boolean;
|
|
25056
27951
|
};
|
|
27952
|
+
release_job_lock: {
|
|
27953
|
+
Args: {
|
|
27954
|
+
_key: string;
|
|
27955
|
+
};
|
|
27956
|
+
Returns: undefined;
|
|
27957
|
+
};
|
|
25057
27958
|
release_local_pdf_job: {
|
|
25058
27959
|
Args: {
|
|
25059
27960
|
_job_id: string;
|
|
@@ -25397,6 +28298,13 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25397
28298
|
};
|
|
25398
28299
|
Returns: number;
|
|
25399
28300
|
};
|
|
28301
|
+
schedule_floriday_catalog_prices_sync: {
|
|
28302
|
+
Args: {
|
|
28303
|
+
p_apikey: string;
|
|
28304
|
+
p_url: string;
|
|
28305
|
+
};
|
|
28306
|
+
Returns: number;
|
|
28307
|
+
};
|
|
25400
28308
|
schedule_floriday_clock_presales_sync: {
|
|
25401
28309
|
Args: {
|
|
25402
28310
|
p_apikey: string;
|
|
@@ -25669,6 +28577,52 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25669
28577
|
p_end_time: string;
|
|
25670
28578
|
};
|
|
25671
28579
|
Returns: import("../integrations/supabase/types").Json;
|
|
28580
|
+
} | {
|
|
28581
|
+
Args: {
|
|
28582
|
+
p_end_lat?: number;
|
|
28583
|
+
p_end_lng?: number;
|
|
28584
|
+
p_log_id: string;
|
|
28585
|
+
};
|
|
28586
|
+
Returns: {
|
|
28587
|
+
auto_stop_reason: string | null;
|
|
28588
|
+
auto_stopped: boolean;
|
|
28589
|
+
created_at: string;
|
|
28590
|
+
current_latitude: number | null;
|
|
28591
|
+
current_longitude: number | null;
|
|
28592
|
+
current_position_updated_at: string | null;
|
|
28593
|
+
employee_id: string;
|
|
28594
|
+
end_latitude: number | null;
|
|
28595
|
+
end_longitude: number | null;
|
|
28596
|
+
end_time: string | null;
|
|
28597
|
+
eta_distance_km: number | null;
|
|
28598
|
+
eta_minutes: number | null;
|
|
28599
|
+
eta_updated_at: string | null;
|
|
28600
|
+
hour_category: string | null;
|
|
28601
|
+
id: string;
|
|
28602
|
+
last_reminder_at: string | null;
|
|
28603
|
+
notes: string | null;
|
|
28604
|
+
overtime_hours: number;
|
|
28605
|
+
overtime_type: string | null;
|
|
28606
|
+
regular_hours: number;
|
|
28607
|
+
reminder_count: number;
|
|
28608
|
+
requires_review: boolean;
|
|
28609
|
+
start_latitude: number | null;
|
|
28610
|
+
start_longitude: number | null;
|
|
28611
|
+
start_time: string;
|
|
28612
|
+
travel_cost: number | null;
|
|
28613
|
+
travel_distance_km: number | null;
|
|
28614
|
+
travel_duration_min: number | null;
|
|
28615
|
+
travel_time_minutes: number | null;
|
|
28616
|
+
type: string;
|
|
28617
|
+
updated_at: string;
|
|
28618
|
+
work_order_id: string | null;
|
|
28619
|
+
};
|
|
28620
|
+
SetofOptions: {
|
|
28621
|
+
from: "*";
|
|
28622
|
+
to: "time_logs";
|
|
28623
|
+
isOneToOne: true;
|
|
28624
|
+
isSetofReturn: false;
|
|
28625
|
+
};
|
|
25672
28626
|
};
|
|
25673
28627
|
swap_cart_layer_positions: {
|
|
25674
28628
|
Args: {
|
|
@@ -25697,6 +28651,10 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25697
28651
|
};
|
|
25698
28652
|
Returns: undefined;
|
|
25699
28653
|
};
|
|
28654
|
+
sync_floriday_prices_into_price_groups: {
|
|
28655
|
+
Args: never;
|
|
28656
|
+
Returns: number;
|
|
28657
|
+
};
|
|
25700
28658
|
sync_layer_stock: {
|
|
25701
28659
|
Args: {
|
|
25702
28660
|
p_product_id: string;
|
|
@@ -25742,6 +28700,14 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25742
28700
|
row_count: number;
|
|
25743
28701
|
}[];
|
|
25744
28702
|
};
|
|
28703
|
+
try_acquire_job_lock: {
|
|
28704
|
+
Args: {
|
|
28705
|
+
_key: string;
|
|
28706
|
+
_owner?: string;
|
|
28707
|
+
_seconds?: number;
|
|
28708
|
+
};
|
|
28709
|
+
Returns: boolean;
|
|
28710
|
+
};
|
|
25745
28711
|
try_debtor_lock: {
|
|
25746
28712
|
Args: {
|
|
25747
28713
|
_group_key: string;
|
|
@@ -25813,14 +28779,99 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25813
28779
|
};
|
|
25814
28780
|
Returns: undefined;
|
|
25815
28781
|
};
|
|
28782
|
+
uren_employee_day_hours: {
|
|
28783
|
+
Args: {
|
|
28784
|
+
_day: string;
|
|
28785
|
+
_employee_id: string;
|
|
28786
|
+
};
|
|
28787
|
+
Returns: number;
|
|
28788
|
+
};
|
|
25816
28789
|
uren_is_beheerder: {
|
|
25817
28790
|
Args: never;
|
|
25818
28791
|
Returns: boolean;
|
|
25819
28792
|
};
|
|
28793
|
+
uren_list_medewerkers: {
|
|
28794
|
+
Args: never;
|
|
28795
|
+
Returns: {
|
|
28796
|
+
avatar_url: string;
|
|
28797
|
+
color: string;
|
|
28798
|
+
display_name: string;
|
|
28799
|
+
email: string;
|
|
28800
|
+
hours_fri: number;
|
|
28801
|
+
hours_mon: number;
|
|
28802
|
+
hours_thu: number;
|
|
28803
|
+
hours_tue: number;
|
|
28804
|
+
hours_wed: number;
|
|
28805
|
+
id: string;
|
|
28806
|
+
is_active: boolean;
|
|
28807
|
+
leave_balance_hours: number;
|
|
28808
|
+
persnr: string;
|
|
28809
|
+
phone: string;
|
|
28810
|
+
roles: string[];
|
|
28811
|
+
}[];
|
|
28812
|
+
};
|
|
25820
28813
|
uren_my_monteur_id: {
|
|
25821
28814
|
Args: never;
|
|
25822
28815
|
Returns: string;
|
|
25823
28816
|
};
|
|
28817
|
+
uren_planning_dagagenda: {
|
|
28818
|
+
Args: {
|
|
28819
|
+
_tot: string;
|
|
28820
|
+
_van: string;
|
|
28821
|
+
};
|
|
28822
|
+
Returns: {
|
|
28823
|
+
end_at: string;
|
|
28824
|
+
id: string;
|
|
28825
|
+
is_tweede_man: boolean;
|
|
28826
|
+
notes: string;
|
|
28827
|
+
start_at: string;
|
|
28828
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
28829
|
+
werkbon_id: string;
|
|
28830
|
+
}[];
|
|
28831
|
+
};
|
|
28832
|
+
uren_set_planning_item_status: {
|
|
28833
|
+
Args: {
|
|
28834
|
+
_id: string;
|
|
28835
|
+
_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
28836
|
+
};
|
|
28837
|
+
Returns: undefined;
|
|
28838
|
+
};
|
|
28839
|
+
uren_set_planning_status: {
|
|
28840
|
+
Args: {
|
|
28841
|
+
p_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
28842
|
+
p_werkbon_id: string;
|
|
28843
|
+
};
|
|
28844
|
+
Returns: number;
|
|
28845
|
+
};
|
|
28846
|
+
uren_stop_time_log: {
|
|
28847
|
+
Args: {
|
|
28848
|
+
p_employee_id: string;
|
|
28849
|
+
p_end_lat?: number;
|
|
28850
|
+
p_end_lng?: number;
|
|
28851
|
+
p_end_time: string;
|
|
28852
|
+
};
|
|
28853
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28854
|
+
};
|
|
28855
|
+
uren_switch_time_log: {
|
|
28856
|
+
Args: {
|
|
28857
|
+
p_employee_id: string;
|
|
28858
|
+
p_start_lat?: number;
|
|
28859
|
+
p_start_lng?: number;
|
|
28860
|
+
p_type: string;
|
|
28861
|
+
p_work_order_id?: string;
|
|
28862
|
+
};
|
|
28863
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28864
|
+
};
|
|
28865
|
+
uren_sync_sick_time_off: {
|
|
28866
|
+
Args: {
|
|
28867
|
+
_period_id: string;
|
|
28868
|
+
};
|
|
28869
|
+
Returns: number;
|
|
28870
|
+
};
|
|
28871
|
+
voorraad_cleanup_old_rows: {
|
|
28872
|
+
Args: never;
|
|
28873
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28874
|
+
};
|
|
25824
28875
|
wake_print_queue: {
|
|
25825
28876
|
Args: {
|
|
25826
28877
|
_min_interval_ms?: number;
|
|
@@ -25859,6 +28910,25 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25859
28910
|
};
|
|
25860
28911
|
Returns: import("../integrations/supabase/types").Json;
|
|
25861
28912
|
};
|
|
28913
|
+
wo_list_offerte_requests: {
|
|
28914
|
+
Args: {
|
|
28915
|
+
_status?: string;
|
|
28916
|
+
};
|
|
28917
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28918
|
+
};
|
|
28919
|
+
wo_process_offerte_request: {
|
|
28920
|
+
Args: {
|
|
28921
|
+
_queue_id: string;
|
|
28922
|
+
};
|
|
28923
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28924
|
+
};
|
|
28925
|
+
wo_reject_offerte_request: {
|
|
28926
|
+
Args: {
|
|
28927
|
+
_queue_id: string;
|
|
28928
|
+
_reden?: string;
|
|
28929
|
+
};
|
|
28930
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28931
|
+
};
|
|
25862
28932
|
wo_set_status: {
|
|
25863
28933
|
Args: {
|
|
25864
28934
|
_reason?: string;
|
|
@@ -25889,7 +28959,7 @@ export declare const listOrderPickDates: import("@tanstack/start-client-core").O
|
|
|
25889
28959
|
}>;
|
|
25890
28960
|
userId: string;
|
|
25891
28961
|
claims: import("@supabase/auth-js").JwtPayload;
|
|
25892
|
-
}, undefined, undefined, undefined>], undefined, Promise<{
|
|
28962
|
+
}, undefined, undefined, undefined>], (input: ListOrderPickDatesInput | undefined) => ListOrderPickDatesInput, Promise<{
|
|
25893
28963
|
items: OrderPickDate[];
|
|
25894
28964
|
error?: string;
|
|
25895
28965
|
}>>;
|