@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
|
@@ -6,6 +6,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6
6
|
Row: {
|
|
7
7
|
auto_print_delivery_note: boolean;
|
|
8
8
|
auto_process_paused: boolean;
|
|
9
|
+
control_bulk_max_carts: number;
|
|
9
10
|
created_at: string;
|
|
10
11
|
extra_pick_days_with_stickers: number;
|
|
11
12
|
id: string;
|
|
@@ -23,6 +24,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23
24
|
Insert: {
|
|
24
25
|
auto_print_delivery_note?: boolean;
|
|
25
26
|
auto_process_paused?: boolean;
|
|
27
|
+
control_bulk_max_carts?: number;
|
|
26
28
|
created_at?: string;
|
|
27
29
|
extra_pick_days_with_stickers?: number;
|
|
28
30
|
id?: string;
|
|
@@ -40,6 +42,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
40
42
|
Update: {
|
|
41
43
|
auto_print_delivery_note?: boolean;
|
|
42
44
|
auto_process_paused?: boolean;
|
|
45
|
+
control_bulk_max_carts?: number;
|
|
43
46
|
created_at?: string;
|
|
44
47
|
extra_pick_days_with_stickers?: number;
|
|
45
48
|
id?: string;
|
|
@@ -1382,6 +1385,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1382
1385
|
id: string;
|
|
1383
1386
|
notes: string | null;
|
|
1384
1387
|
performed_at: string;
|
|
1388
|
+
request_key: string | null;
|
|
1385
1389
|
rescheduled_count: number;
|
|
1386
1390
|
stock_consumed_at: string | null;
|
|
1387
1391
|
total_carts: number;
|
|
@@ -1396,6 +1400,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1396
1400
|
id?: string;
|
|
1397
1401
|
notes?: string | null;
|
|
1398
1402
|
performed_at?: string;
|
|
1403
|
+
request_key?: string | null;
|
|
1399
1404
|
rescheduled_count?: number;
|
|
1400
1405
|
stock_consumed_at?: string | null;
|
|
1401
1406
|
total_carts?: number;
|
|
@@ -1410,6 +1415,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1410
1415
|
id?: string;
|
|
1411
1416
|
notes?: string | null;
|
|
1412
1417
|
performed_at?: string;
|
|
1418
|
+
request_key?: string | null;
|
|
1413
1419
|
rescheduled_count?: number;
|
|
1414
1420
|
stock_consumed_at?: string | null;
|
|
1415
1421
|
total_carts?: number;
|
|
@@ -1422,9 +1428,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1422
1428
|
Row: {
|
|
1423
1429
|
assigned_at: string;
|
|
1424
1430
|
cart_index: number;
|
|
1425
|
-
cart_number: string
|
|
1431
|
+
cart_number: string;
|
|
1426
1432
|
day_seq: number | null;
|
|
1427
1433
|
delivered_at: string | null;
|
|
1434
|
+
engine_cart_label: string | null;
|
|
1428
1435
|
id: string;
|
|
1429
1436
|
order_id: string;
|
|
1430
1437
|
order_source: string;
|
|
@@ -1434,9 +1441,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1434
1441
|
Insert: {
|
|
1435
1442
|
assigned_at?: string;
|
|
1436
1443
|
cart_index: number;
|
|
1437
|
-
cart_number
|
|
1444
|
+
cart_number: string;
|
|
1438
1445
|
day_seq?: number | null;
|
|
1439
1446
|
delivered_at?: string | null;
|
|
1447
|
+
engine_cart_label?: string | null;
|
|
1440
1448
|
id?: string;
|
|
1441
1449
|
order_id: string;
|
|
1442
1450
|
order_source: string;
|
|
@@ -1446,9 +1454,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1446
1454
|
Update: {
|
|
1447
1455
|
assigned_at?: string;
|
|
1448
1456
|
cart_index?: number;
|
|
1449
|
-
cart_number?: string
|
|
1457
|
+
cart_number?: string;
|
|
1450
1458
|
day_seq?: number | null;
|
|
1451
1459
|
delivered_at?: string | null;
|
|
1460
|
+
engine_cart_label?: string | null;
|
|
1452
1461
|
id?: string;
|
|
1453
1462
|
order_id?: string;
|
|
1454
1463
|
order_source?: string;
|
|
@@ -1823,6 +1832,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1823
1832
|
};
|
|
1824
1833
|
Relationships: [];
|
|
1825
1834
|
};
|
|
1835
|
+
customer_assortment_items: {
|
|
1836
|
+
Row: {
|
|
1837
|
+
created_at: string;
|
|
1838
|
+
customer_key: string;
|
|
1839
|
+
id: string;
|
|
1840
|
+
in_assortment: boolean;
|
|
1841
|
+
manual_override: boolean;
|
|
1842
|
+
source: string;
|
|
1843
|
+
synced_at: string | null;
|
|
1844
|
+
trade_item_key: string;
|
|
1845
|
+
updated_at: string;
|
|
1846
|
+
};
|
|
1847
|
+
Insert: {
|
|
1848
|
+
created_at?: string;
|
|
1849
|
+
customer_key: string;
|
|
1850
|
+
id?: string;
|
|
1851
|
+
in_assortment?: boolean;
|
|
1852
|
+
manual_override?: boolean;
|
|
1853
|
+
source?: string;
|
|
1854
|
+
synced_at?: string | null;
|
|
1855
|
+
trade_item_key: string;
|
|
1856
|
+
updated_at?: string;
|
|
1857
|
+
};
|
|
1858
|
+
Update: {
|
|
1859
|
+
created_at?: string;
|
|
1860
|
+
customer_key?: string;
|
|
1861
|
+
id?: string;
|
|
1862
|
+
in_assortment?: boolean;
|
|
1863
|
+
manual_override?: boolean;
|
|
1864
|
+
source?: string;
|
|
1865
|
+
synced_at?: string | null;
|
|
1866
|
+
trade_item_key?: string;
|
|
1867
|
+
updated_at?: string;
|
|
1868
|
+
};
|
|
1869
|
+
Relationships: [];
|
|
1870
|
+
};
|
|
1826
1871
|
customer_audit_log: {
|
|
1827
1872
|
Row: {
|
|
1828
1873
|
action: string;
|
|
@@ -2155,6 +2200,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2155
2200
|
created_at: string;
|
|
2156
2201
|
currency: string;
|
|
2157
2202
|
distribute_over: string | null;
|
|
2203
|
+
external_id: string | null;
|
|
2204
|
+
external_synced_at: string | null;
|
|
2158
2205
|
group_type: string;
|
|
2159
2206
|
handling_fee: number | null;
|
|
2160
2207
|
id: string;
|
|
@@ -2167,6 +2214,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2167
2214
|
rounding: string;
|
|
2168
2215
|
rounding_step: number;
|
|
2169
2216
|
sort_order: number;
|
|
2217
|
+
source: string;
|
|
2170
2218
|
unit: string;
|
|
2171
2219
|
updated_at: string;
|
|
2172
2220
|
};
|
|
@@ -2177,6 +2225,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2177
2225
|
created_at?: string;
|
|
2178
2226
|
currency?: string;
|
|
2179
2227
|
distribute_over?: string | null;
|
|
2228
|
+
external_id?: string | null;
|
|
2229
|
+
external_synced_at?: string | null;
|
|
2180
2230
|
group_type?: string;
|
|
2181
2231
|
handling_fee?: number | null;
|
|
2182
2232
|
id?: string;
|
|
@@ -2189,6 +2239,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2189
2239
|
rounding?: string;
|
|
2190
2240
|
rounding_step?: number;
|
|
2191
2241
|
sort_order?: number;
|
|
2242
|
+
source?: string;
|
|
2192
2243
|
unit?: string;
|
|
2193
2244
|
updated_at?: string;
|
|
2194
2245
|
};
|
|
@@ -2199,6 +2250,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2199
2250
|
created_at?: string;
|
|
2200
2251
|
currency?: string;
|
|
2201
2252
|
distribute_over?: string | null;
|
|
2253
|
+
external_id?: string | null;
|
|
2254
|
+
external_synced_at?: string | null;
|
|
2202
2255
|
group_type?: string;
|
|
2203
2256
|
handling_fee?: number | null;
|
|
2204
2257
|
id?: string;
|
|
@@ -2211,11 +2264,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2211
2264
|
rounding?: string;
|
|
2212
2265
|
rounding_step?: number;
|
|
2213
2266
|
sort_order?: number;
|
|
2267
|
+
source?: string;
|
|
2214
2268
|
unit?: string;
|
|
2215
2269
|
updated_at?: string;
|
|
2216
2270
|
};
|
|
2217
2271
|
Relationships: [];
|
|
2218
2272
|
};
|
|
2273
|
+
customer_product_stickers: {
|
|
2274
|
+
Row: {
|
|
2275
|
+
content_hash: string | null;
|
|
2276
|
+
created_at: string;
|
|
2277
|
+
customer_key: string;
|
|
2278
|
+
file_name: string;
|
|
2279
|
+
file_path: string;
|
|
2280
|
+
file_size: number | null;
|
|
2281
|
+
floriday_sticker_id: string | null;
|
|
2282
|
+
floriday_synced_at: string | null;
|
|
2283
|
+
height_mm: number | null;
|
|
2284
|
+
id: string;
|
|
2285
|
+
mime_type: string | null;
|
|
2286
|
+
source: string;
|
|
2287
|
+
trade_item_key: string;
|
|
2288
|
+
updated_at: string;
|
|
2289
|
+
uploaded_by: string | null;
|
|
2290
|
+
width_mm: number | null;
|
|
2291
|
+
};
|
|
2292
|
+
Insert: {
|
|
2293
|
+
content_hash?: string | null;
|
|
2294
|
+
created_at?: string;
|
|
2295
|
+
customer_key: string;
|
|
2296
|
+
file_name: string;
|
|
2297
|
+
file_path: string;
|
|
2298
|
+
file_size?: number | null;
|
|
2299
|
+
floriday_sticker_id?: string | null;
|
|
2300
|
+
floriday_synced_at?: string | null;
|
|
2301
|
+
height_mm?: number | null;
|
|
2302
|
+
id?: string;
|
|
2303
|
+
mime_type?: string | null;
|
|
2304
|
+
source?: string;
|
|
2305
|
+
trade_item_key: string;
|
|
2306
|
+
updated_at?: string;
|
|
2307
|
+
uploaded_by?: string | null;
|
|
2308
|
+
width_mm?: number | null;
|
|
2309
|
+
};
|
|
2310
|
+
Update: {
|
|
2311
|
+
content_hash?: string | null;
|
|
2312
|
+
created_at?: string;
|
|
2313
|
+
customer_key?: string;
|
|
2314
|
+
file_name?: string;
|
|
2315
|
+
file_path?: string;
|
|
2316
|
+
file_size?: number | null;
|
|
2317
|
+
floriday_sticker_id?: string | null;
|
|
2318
|
+
floriday_synced_at?: string | null;
|
|
2319
|
+
height_mm?: number | null;
|
|
2320
|
+
id?: string;
|
|
2321
|
+
mime_type?: string | null;
|
|
2322
|
+
source?: string;
|
|
2323
|
+
trade_item_key?: string;
|
|
2324
|
+
updated_at?: string;
|
|
2325
|
+
uploaded_by?: string | null;
|
|
2326
|
+
width_mm?: number | null;
|
|
2327
|
+
};
|
|
2328
|
+
Relationships: [];
|
|
2329
|
+
};
|
|
2219
2330
|
customer_selected_assortment: {
|
|
2220
2331
|
Row: {
|
|
2221
2332
|
article_number: string | null;
|
|
@@ -2264,6 +2375,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2264
2375
|
referencedColumns: ["id"];
|
|
2265
2376
|
}];
|
|
2266
2377
|
};
|
|
2378
|
+
customer_sticker_settings: {
|
|
2379
|
+
Row: {
|
|
2380
|
+
created_at: string;
|
|
2381
|
+
customer_key: string;
|
|
2382
|
+
height_mm: number;
|
|
2383
|
+
updated_at: string;
|
|
2384
|
+
width_mm: number;
|
|
2385
|
+
};
|
|
2386
|
+
Insert: {
|
|
2387
|
+
created_at?: string;
|
|
2388
|
+
customer_key: string;
|
|
2389
|
+
height_mm?: number;
|
|
2390
|
+
updated_at?: string;
|
|
2391
|
+
width_mm?: number;
|
|
2392
|
+
};
|
|
2393
|
+
Update: {
|
|
2394
|
+
created_at?: string;
|
|
2395
|
+
customer_key?: string;
|
|
2396
|
+
height_mm?: number;
|
|
2397
|
+
updated_at?: string;
|
|
2398
|
+
width_mm?: number;
|
|
2399
|
+
};
|
|
2400
|
+
Relationships: [];
|
|
2401
|
+
};
|
|
2267
2402
|
customer_trade_settings: {
|
|
2268
2403
|
Row: {
|
|
2269
2404
|
category: string;
|
|
@@ -3589,6 +3724,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3589
3724
|
};
|
|
3590
3725
|
email_auth_outbox: {
|
|
3591
3726
|
Row: {
|
|
3727
|
+
attachments: import("./types").Json;
|
|
3592
3728
|
attempts: number;
|
|
3593
3729
|
bcc_addresses: string[];
|
|
3594
3730
|
cc_addresses: string[];
|
|
@@ -3611,6 +3747,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3611
3747
|
updated_at: string;
|
|
3612
3748
|
};
|
|
3613
3749
|
Insert: {
|
|
3750
|
+
attachments?: import("./types").Json;
|
|
3614
3751
|
attempts?: number;
|
|
3615
3752
|
bcc_addresses?: string[];
|
|
3616
3753
|
cc_addresses?: string[];
|
|
@@ -3633,6 +3770,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3633
3770
|
updated_at?: string;
|
|
3634
3771
|
};
|
|
3635
3772
|
Update: {
|
|
3773
|
+
attachments?: import("./types").Json;
|
|
3636
3774
|
attempts?: number;
|
|
3637
3775
|
bcc_addresses?: string[];
|
|
3638
3776
|
cc_addresses?: string[];
|
|
@@ -5594,6 +5732,102 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5594
5732
|
referencedColumns: ["id"];
|
|
5595
5733
|
}];
|
|
5596
5734
|
};
|
|
5735
|
+
floriday_api_log: {
|
|
5736
|
+
Row: {
|
|
5737
|
+
action: string | null;
|
|
5738
|
+
caller: string | null;
|
|
5739
|
+
connection_id: string | null;
|
|
5740
|
+
created_at: string;
|
|
5741
|
+
cursor_from: number | null;
|
|
5742
|
+
direction: string;
|
|
5743
|
+
duration_ms: number | null;
|
|
5744
|
+
environment: string | null;
|
|
5745
|
+
error: string | null;
|
|
5746
|
+
floriday_id: string | null;
|
|
5747
|
+
floriday_reference: string | null;
|
|
5748
|
+
http_status: number;
|
|
5749
|
+
id: string;
|
|
5750
|
+
item_count: number | null;
|
|
5751
|
+
kind: string | null;
|
|
5752
|
+
local_id: string | null;
|
|
5753
|
+
local_reference: string | null;
|
|
5754
|
+
method: string;
|
|
5755
|
+
module: string | null;
|
|
5756
|
+
ok: boolean;
|
|
5757
|
+
path: string;
|
|
5758
|
+
request: import("./types").Json | null;
|
|
5759
|
+
resource_type: string | null;
|
|
5760
|
+
response: import("./types").Json | null;
|
|
5761
|
+
write_log_id: string | null;
|
|
5762
|
+
};
|
|
5763
|
+
Insert: {
|
|
5764
|
+
action?: string | null;
|
|
5765
|
+
caller?: string | null;
|
|
5766
|
+
connection_id?: string | null;
|
|
5767
|
+
created_at?: string;
|
|
5768
|
+
cursor_from?: number | null;
|
|
5769
|
+
direction: string;
|
|
5770
|
+
duration_ms?: number | null;
|
|
5771
|
+
environment?: string | null;
|
|
5772
|
+
error?: string | null;
|
|
5773
|
+
floriday_id?: string | null;
|
|
5774
|
+
floriday_reference?: string | null;
|
|
5775
|
+
http_status?: number;
|
|
5776
|
+
id?: string;
|
|
5777
|
+
item_count?: number | null;
|
|
5778
|
+
kind?: string | null;
|
|
5779
|
+
local_id?: string | null;
|
|
5780
|
+
local_reference?: string | null;
|
|
5781
|
+
method: string;
|
|
5782
|
+
module?: string | null;
|
|
5783
|
+
ok?: boolean;
|
|
5784
|
+
path: string;
|
|
5785
|
+
request?: import("./types").Json | null;
|
|
5786
|
+
resource_type?: string | null;
|
|
5787
|
+
response?: import("./types").Json | null;
|
|
5788
|
+
write_log_id?: string | null;
|
|
5789
|
+
};
|
|
5790
|
+
Update: {
|
|
5791
|
+
action?: string | null;
|
|
5792
|
+
caller?: string | null;
|
|
5793
|
+
connection_id?: string | null;
|
|
5794
|
+
created_at?: string;
|
|
5795
|
+
cursor_from?: number | null;
|
|
5796
|
+
direction?: string;
|
|
5797
|
+
duration_ms?: number | null;
|
|
5798
|
+
environment?: string | null;
|
|
5799
|
+
error?: string | null;
|
|
5800
|
+
floriday_id?: string | null;
|
|
5801
|
+
floriday_reference?: string | null;
|
|
5802
|
+
http_status?: number;
|
|
5803
|
+
id?: string;
|
|
5804
|
+
item_count?: number | null;
|
|
5805
|
+
kind?: string | null;
|
|
5806
|
+
local_id?: string | null;
|
|
5807
|
+
local_reference?: string | null;
|
|
5808
|
+
method?: string;
|
|
5809
|
+
module?: string | null;
|
|
5810
|
+
ok?: boolean;
|
|
5811
|
+
path?: string;
|
|
5812
|
+
request?: import("./types").Json | null;
|
|
5813
|
+
resource_type?: string | null;
|
|
5814
|
+
response?: import("./types").Json | null;
|
|
5815
|
+
write_log_id?: string | null;
|
|
5816
|
+
};
|
|
5817
|
+
Relationships: [{
|
|
5818
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5819
|
+
columns: ["connection_id"];
|
|
5820
|
+
isOneToOne: false;
|
|
5821
|
+
referencedRelation: "floriday_connections";
|
|
5822
|
+
referencedColumns: ["id"];
|
|
5823
|
+
}, {
|
|
5824
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5825
|
+
columns: ["write_log_id"];
|
|
5826
|
+
isOneToOne: false;
|
|
5827
|
+
referencedRelation: "floriday_write_log";
|
|
5828
|
+
referencedColumns: ["id"];
|
|
5829
|
+
}];
|
|
5830
|
+
};
|
|
5597
5831
|
floriday_auction_letters_cache: {
|
|
5598
5832
|
Row: {
|
|
5599
5833
|
auction_letter_code: string;
|
|
@@ -5801,6 +6035,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5801
6035
|
referencedColumns: ["id"];
|
|
5802
6036
|
}];
|
|
5803
6037
|
};
|
|
6038
|
+
floriday_catalog_prices_cache: {
|
|
6039
|
+
Row: {
|
|
6040
|
+
connection_id: string;
|
|
6041
|
+
created_at: string;
|
|
6042
|
+
currency: string;
|
|
6043
|
+
id: string;
|
|
6044
|
+
is_deleted: boolean;
|
|
6045
|
+
price: number | null;
|
|
6046
|
+
price_group_id: string | null;
|
|
6047
|
+
price_group_name: string | null;
|
|
6048
|
+
price_type: string;
|
|
6049
|
+
raw: import("./types").Json | null;
|
|
6050
|
+
sales_unit: string | null;
|
|
6051
|
+
sequence_number: number;
|
|
6052
|
+
supplier_article_code: string | null;
|
|
6053
|
+
supply_line_id: string;
|
|
6054
|
+
synced_at: string;
|
|
6055
|
+
trade_item_id: string | null;
|
|
6056
|
+
updated_at: string;
|
|
6057
|
+
valid_from: string | null;
|
|
6058
|
+
valid_to: string | null;
|
|
6059
|
+
week: number | null;
|
|
6060
|
+
year: number | null;
|
|
6061
|
+
};
|
|
6062
|
+
Insert: {
|
|
6063
|
+
connection_id: string;
|
|
6064
|
+
created_at?: string;
|
|
6065
|
+
currency?: string;
|
|
6066
|
+
id?: string;
|
|
6067
|
+
is_deleted?: boolean;
|
|
6068
|
+
price?: number | null;
|
|
6069
|
+
price_group_id?: string | null;
|
|
6070
|
+
price_group_name?: string | null;
|
|
6071
|
+
price_type?: string;
|
|
6072
|
+
raw?: import("./types").Json | null;
|
|
6073
|
+
sales_unit?: string | null;
|
|
6074
|
+
sequence_number?: number;
|
|
6075
|
+
supplier_article_code?: string | null;
|
|
6076
|
+
supply_line_id: string;
|
|
6077
|
+
synced_at?: string;
|
|
6078
|
+
trade_item_id?: string | null;
|
|
6079
|
+
updated_at?: string;
|
|
6080
|
+
valid_from?: string | null;
|
|
6081
|
+
valid_to?: string | null;
|
|
6082
|
+
week?: number | null;
|
|
6083
|
+
year?: number | null;
|
|
6084
|
+
};
|
|
6085
|
+
Update: {
|
|
6086
|
+
connection_id?: string;
|
|
6087
|
+
created_at?: string;
|
|
6088
|
+
currency?: string;
|
|
6089
|
+
id?: string;
|
|
6090
|
+
is_deleted?: boolean;
|
|
6091
|
+
price?: number | null;
|
|
6092
|
+
price_group_id?: string | null;
|
|
6093
|
+
price_group_name?: string | null;
|
|
6094
|
+
price_type?: string;
|
|
6095
|
+
raw?: import("./types").Json | null;
|
|
6096
|
+
sales_unit?: string | null;
|
|
6097
|
+
sequence_number?: number;
|
|
6098
|
+
supplier_article_code?: string | null;
|
|
6099
|
+
supply_line_id?: string;
|
|
6100
|
+
synced_at?: string;
|
|
6101
|
+
trade_item_id?: string | null;
|
|
6102
|
+
updated_at?: string;
|
|
6103
|
+
valid_from?: string | null;
|
|
6104
|
+
valid_to?: string | null;
|
|
6105
|
+
week?: number | null;
|
|
6106
|
+
year?: number | null;
|
|
6107
|
+
};
|
|
6108
|
+
Relationships: [{
|
|
6109
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6110
|
+
columns: ["connection_id"];
|
|
6111
|
+
isOneToOne: false;
|
|
6112
|
+
referencedRelation: "floriday_connections";
|
|
6113
|
+
referencedColumns: ["id"];
|
|
6114
|
+
}];
|
|
6115
|
+
};
|
|
5804
6116
|
floriday_clock_presales_cache: {
|
|
5805
6117
|
Row: {
|
|
5806
6118
|
buyer_organization_id: string | null;
|
|
@@ -6716,6 +7028,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6716
7028
|
referencedColumns: ["id"];
|
|
6717
7029
|
}];
|
|
6718
7030
|
};
|
|
7031
|
+
floriday_link_templates: {
|
|
7032
|
+
Row: {
|
|
7033
|
+
created_at: string;
|
|
7034
|
+
floriday_url_template: string | null;
|
|
7035
|
+
is_active: boolean;
|
|
7036
|
+
label: string;
|
|
7037
|
+
local_url_template: string | null;
|
|
7038
|
+
resource_type: string;
|
|
7039
|
+
updated_at: string;
|
|
7040
|
+
};
|
|
7041
|
+
Insert: {
|
|
7042
|
+
created_at?: string;
|
|
7043
|
+
floriday_url_template?: string | null;
|
|
7044
|
+
is_active?: boolean;
|
|
7045
|
+
label: string;
|
|
7046
|
+
local_url_template?: string | null;
|
|
7047
|
+
resource_type: string;
|
|
7048
|
+
updated_at?: string;
|
|
7049
|
+
};
|
|
7050
|
+
Update: {
|
|
7051
|
+
created_at?: string;
|
|
7052
|
+
floriday_url_template?: string | null;
|
|
7053
|
+
is_active?: boolean;
|
|
7054
|
+
label?: string;
|
|
7055
|
+
local_url_template?: string | null;
|
|
7056
|
+
resource_type?: string;
|
|
7057
|
+
updated_at?: string;
|
|
7058
|
+
};
|
|
7059
|
+
Relationships: [];
|
|
7060
|
+
};
|
|
7061
|
+
floriday_log_retention: {
|
|
7062
|
+
Row: {
|
|
7063
|
+
created_at: string;
|
|
7064
|
+
direction: string | null;
|
|
7065
|
+
id: string;
|
|
7066
|
+
keep_failed_days: number | null;
|
|
7067
|
+
keep_ok_days: number | null;
|
|
7068
|
+
note: string | null;
|
|
7069
|
+
resource_type: string | null;
|
|
7070
|
+
updated_at: string;
|
|
7071
|
+
};
|
|
7072
|
+
Insert: {
|
|
7073
|
+
created_at?: string;
|
|
7074
|
+
direction?: string | null;
|
|
7075
|
+
id?: string;
|
|
7076
|
+
keep_failed_days?: number | null;
|
|
7077
|
+
keep_ok_days?: number | null;
|
|
7078
|
+
note?: string | null;
|
|
7079
|
+
resource_type?: string | null;
|
|
7080
|
+
updated_at?: string;
|
|
7081
|
+
};
|
|
7082
|
+
Update: {
|
|
7083
|
+
created_at?: string;
|
|
7084
|
+
direction?: string | null;
|
|
7085
|
+
id?: string;
|
|
7086
|
+
keep_failed_days?: number | null;
|
|
7087
|
+
keep_ok_days?: number | null;
|
|
7088
|
+
note?: string | null;
|
|
7089
|
+
resource_type?: string | null;
|
|
7090
|
+
updated_at?: string;
|
|
7091
|
+
};
|
|
7092
|
+
Relationships: [];
|
|
7093
|
+
};
|
|
6719
7094
|
floriday_logistic_labels_cache: {
|
|
6720
7095
|
Row: {
|
|
6721
7096
|
byte_size: number | null;
|
|
@@ -8432,8 +8807,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8432
8807
|
};
|
|
8433
8808
|
Relationships: [];
|
|
8434
8809
|
};
|
|
8435
|
-
|
|
8810
|
+
itk_handover_afspraken: {
|
|
8436
8811
|
Row: {
|
|
8812
|
+
afgesproken_door: string | null;
|
|
8813
|
+
afgesproken_op: string;
|
|
8814
|
+
besluit: string;
|
|
8815
|
+
created_at: string;
|
|
8816
|
+
item: string;
|
|
8817
|
+
modules: string[];
|
|
8818
|
+
sleutel: string;
|
|
8819
|
+
soort: string;
|
|
8820
|
+
updated_at: string;
|
|
8821
|
+
versie_vingerafdruk: string;
|
|
8822
|
+
};
|
|
8823
|
+
Insert: {
|
|
8824
|
+
afgesproken_door?: string | null;
|
|
8825
|
+
afgesproken_op?: string;
|
|
8826
|
+
besluit?: string;
|
|
8827
|
+
created_at?: string;
|
|
8828
|
+
item?: string;
|
|
8829
|
+
modules?: string[];
|
|
8830
|
+
sleutel: string;
|
|
8831
|
+
soort?: string;
|
|
8832
|
+
updated_at?: string;
|
|
8833
|
+
versie_vingerafdruk?: string;
|
|
8834
|
+
};
|
|
8835
|
+
Update: {
|
|
8836
|
+
afgesproken_door?: string | null;
|
|
8837
|
+
afgesproken_op?: string;
|
|
8838
|
+
besluit?: string;
|
|
8839
|
+
created_at?: string;
|
|
8840
|
+
item?: string;
|
|
8841
|
+
modules?: string[];
|
|
8842
|
+
sleutel?: string;
|
|
8843
|
+
soort?: string;
|
|
8844
|
+
updated_at?: string;
|
|
8845
|
+
versie_vingerafdruk?: string;
|
|
8846
|
+
};
|
|
8847
|
+
Relationships: [];
|
|
8848
|
+
};
|
|
8849
|
+
itk_handover_github_scan: {
|
|
8850
|
+
Row: {
|
|
8851
|
+
genegeerd_op: string | null;
|
|
8437
8852
|
gescand_op: string;
|
|
8438
8853
|
gevonden: boolean;
|
|
8439
8854
|
melding: string | null;
|
|
@@ -8441,6 +8856,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8441
8856
|
repo: string;
|
|
8442
8857
|
};
|
|
8443
8858
|
Insert: {
|
|
8859
|
+
genegeerd_op?: string | null;
|
|
8444
8860
|
gescand_op?: string;
|
|
8445
8861
|
gevonden?: boolean;
|
|
8446
8862
|
melding?: string | null;
|
|
@@ -8448,6 +8864,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8448
8864
|
repo: string;
|
|
8449
8865
|
};
|
|
8450
8866
|
Update: {
|
|
8867
|
+
genegeerd_op?: string | null;
|
|
8451
8868
|
gescand_op?: string;
|
|
8452
8869
|
gevonden?: boolean;
|
|
8453
8870
|
melding?: string | null;
|
|
@@ -8456,13 +8873,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8456
8873
|
};
|
|
8457
8874
|
Relationships: [];
|
|
8458
8875
|
};
|
|
8876
|
+
itk_handover_github_voortgang: {
|
|
8877
|
+
Row: {
|
|
8878
|
+
bijgewerkt_op: string;
|
|
8879
|
+
huidige_repo: string | null;
|
|
8880
|
+
id: boolean;
|
|
8881
|
+
klaar: number;
|
|
8882
|
+
loopt: boolean;
|
|
8883
|
+
totaal: number;
|
|
8884
|
+
};
|
|
8885
|
+
Insert: {
|
|
8886
|
+
bijgewerkt_op?: string;
|
|
8887
|
+
huidige_repo?: string | null;
|
|
8888
|
+
id?: boolean;
|
|
8889
|
+
klaar?: number;
|
|
8890
|
+
loopt?: boolean;
|
|
8891
|
+
totaal?: number;
|
|
8892
|
+
};
|
|
8893
|
+
Update: {
|
|
8894
|
+
bijgewerkt_op?: string;
|
|
8895
|
+
huidige_repo?: string | null;
|
|
8896
|
+
id?: boolean;
|
|
8897
|
+
klaar?: number;
|
|
8898
|
+
loopt?: boolean;
|
|
8899
|
+
totaal?: number;
|
|
8900
|
+
};
|
|
8901
|
+
Relationships: [];
|
|
8902
|
+
};
|
|
8459
8903
|
itk_handover_module_meta: {
|
|
8460
8904
|
Row: {
|
|
8461
8905
|
check_aangevraagd_op: string | null;
|
|
8462
8906
|
check_nodig: boolean;
|
|
8463
8907
|
check_reden: string | null;
|
|
8464
8908
|
created_at: string;
|
|
8909
|
+
md_bron: boolean;
|
|
8910
|
+
md_bron_op: string | null;
|
|
8911
|
+
md_bron_pad: string | null;
|
|
8465
8912
|
module_id: string;
|
|
8913
|
+
nieuw_gezien: boolean;
|
|
8914
|
+
nieuw_gezien_op: string | null;
|
|
8466
8915
|
project_url: string | null;
|
|
8467
8916
|
publicatie_url: string | null;
|
|
8468
8917
|
updated_at: string;
|
|
@@ -8472,7 +8921,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8472
8921
|
check_nodig?: boolean;
|
|
8473
8922
|
check_reden?: string | null;
|
|
8474
8923
|
created_at?: string;
|
|
8924
|
+
md_bron?: boolean;
|
|
8925
|
+
md_bron_op?: string | null;
|
|
8926
|
+
md_bron_pad?: string | null;
|
|
8475
8927
|
module_id: string;
|
|
8928
|
+
nieuw_gezien?: boolean;
|
|
8929
|
+
nieuw_gezien_op?: string | null;
|
|
8476
8930
|
project_url?: string | null;
|
|
8477
8931
|
publicatie_url?: string | null;
|
|
8478
8932
|
updated_at?: string;
|
|
@@ -8482,13 +8936,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8482
8936
|
check_nodig?: boolean;
|
|
8483
8937
|
check_reden?: string | null;
|
|
8484
8938
|
created_at?: string;
|
|
8939
|
+
md_bron?: boolean;
|
|
8940
|
+
md_bron_op?: string | null;
|
|
8941
|
+
md_bron_pad?: string | null;
|
|
8485
8942
|
module_id?: string;
|
|
8943
|
+
nieuw_gezien?: boolean;
|
|
8944
|
+
nieuw_gezien_op?: string | null;
|
|
8486
8945
|
project_url?: string | null;
|
|
8487
8946
|
publicatie_url?: string | null;
|
|
8488
8947
|
updated_at?: string;
|
|
8489
8948
|
};
|
|
8490
8949
|
Relationships: [];
|
|
8491
8950
|
};
|
|
8951
|
+
itk_handover_module_naam: {
|
|
8952
|
+
Row: {
|
|
8953
|
+
bron_repo: string;
|
|
8954
|
+
created_at: string;
|
|
8955
|
+
module_id: string;
|
|
8956
|
+
standaardnaam: string | null;
|
|
8957
|
+
updated_at: string;
|
|
8958
|
+
weergavenaam: string;
|
|
8959
|
+
};
|
|
8960
|
+
Insert: {
|
|
8961
|
+
bron_repo?: string;
|
|
8962
|
+
created_at?: string;
|
|
8963
|
+
module_id: string;
|
|
8964
|
+
standaardnaam?: string | null;
|
|
8965
|
+
updated_at?: string;
|
|
8966
|
+
weergavenaam: string;
|
|
8967
|
+
};
|
|
8968
|
+
Update: {
|
|
8969
|
+
bron_repo?: string;
|
|
8970
|
+
created_at?: string;
|
|
8971
|
+
module_id?: string;
|
|
8972
|
+
standaardnaam?: string | null;
|
|
8973
|
+
updated_at?: string;
|
|
8974
|
+
weergavenaam?: string;
|
|
8975
|
+
};
|
|
8976
|
+
Relationships: [];
|
|
8977
|
+
};
|
|
8492
8978
|
itk_handover_project_modules: {
|
|
8493
8979
|
Row: {
|
|
8494
8980
|
created_at: string;
|
|
@@ -8602,6 +9088,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8602
9088
|
};
|
|
8603
9089
|
itk_module_handovers: {
|
|
8604
9090
|
Row: {
|
|
9091
|
+
bekende_risicos: string[];
|
|
8605
9092
|
bevindingen: string | null;
|
|
8606
9093
|
bezit_tabellen: string[];
|
|
8607
9094
|
bron_commit: string | null;
|
|
@@ -8620,6 +9107,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8620
9107
|
inhoud_md: string;
|
|
8621
9108
|
is_actueel: boolean;
|
|
8622
9109
|
is_gearchiveerd: boolean;
|
|
9110
|
+
laatst_bevestigd_op: string | null;
|
|
8623
9111
|
laatst_gecontroleerd_op: string | null;
|
|
8624
9112
|
module_id: string;
|
|
8625
9113
|
module_titel: string;
|
|
@@ -8629,6 +9117,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8629
9117
|
versie: number;
|
|
8630
9118
|
};
|
|
8631
9119
|
Insert: {
|
|
9120
|
+
bekende_risicos?: string[];
|
|
8632
9121
|
bevindingen?: string | null;
|
|
8633
9122
|
bezit_tabellen?: string[];
|
|
8634
9123
|
bron_commit?: string | null;
|
|
@@ -8647,6 +9136,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8647
9136
|
inhoud_md: string;
|
|
8648
9137
|
is_actueel?: boolean;
|
|
8649
9138
|
is_gearchiveerd?: boolean;
|
|
9139
|
+
laatst_bevestigd_op?: string | null;
|
|
8650
9140
|
laatst_gecontroleerd_op?: string | null;
|
|
8651
9141
|
module_id: string;
|
|
8652
9142
|
module_titel: string;
|
|
@@ -8656,6 +9146,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8656
9146
|
versie?: number;
|
|
8657
9147
|
};
|
|
8658
9148
|
Update: {
|
|
9149
|
+
bekende_risicos?: string[];
|
|
8659
9150
|
bevindingen?: string | null;
|
|
8660
9151
|
bezit_tabellen?: string[];
|
|
8661
9152
|
bron_commit?: string | null;
|
|
@@ -8674,6 +9165,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8674
9165
|
inhoud_md?: string;
|
|
8675
9166
|
is_actueel?: boolean;
|
|
8676
9167
|
is_gearchiveerd?: boolean;
|
|
9168
|
+
laatst_bevestigd_op?: string | null;
|
|
8677
9169
|
laatst_gecontroleerd_op?: string | null;
|
|
8678
9170
|
module_id?: string;
|
|
8679
9171
|
module_titel?: string;
|
|
@@ -8882,6 +9374,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8882
9374
|
};
|
|
8883
9375
|
Relationships: [];
|
|
8884
9376
|
};
|
|
9377
|
+
itk_offerte_werkbon_queue: {
|
|
9378
|
+
Row: {
|
|
9379
|
+
bron_werkbon_id: string | null;
|
|
9380
|
+
created_at: string;
|
|
9381
|
+
foutmelding: string | null;
|
|
9382
|
+
id: string;
|
|
9383
|
+
offerte_id: string;
|
|
9384
|
+
payload: import("./types").Json;
|
|
9385
|
+
status: string;
|
|
9386
|
+
updated_at: string;
|
|
9387
|
+
verwerkt_op: string | null;
|
|
9388
|
+
werkbon_id: string | null;
|
|
9389
|
+
werkbon_nummer: string | null;
|
|
9390
|
+
};
|
|
9391
|
+
Insert: {
|
|
9392
|
+
bron_werkbon_id?: string | null;
|
|
9393
|
+
created_at?: string;
|
|
9394
|
+
foutmelding?: string | null;
|
|
9395
|
+
id?: string;
|
|
9396
|
+
offerte_id: string;
|
|
9397
|
+
payload?: import("./types").Json;
|
|
9398
|
+
status?: string;
|
|
9399
|
+
updated_at?: string;
|
|
9400
|
+
verwerkt_op?: string | null;
|
|
9401
|
+
werkbon_id?: string | null;
|
|
9402
|
+
werkbon_nummer?: string | null;
|
|
9403
|
+
};
|
|
9404
|
+
Update: {
|
|
9405
|
+
bron_werkbon_id?: string | null;
|
|
9406
|
+
created_at?: string;
|
|
9407
|
+
foutmelding?: string | null;
|
|
9408
|
+
id?: string;
|
|
9409
|
+
offerte_id?: string;
|
|
9410
|
+
payload?: import("./types").Json;
|
|
9411
|
+
status?: string;
|
|
9412
|
+
updated_at?: string;
|
|
9413
|
+
verwerkt_op?: string | null;
|
|
9414
|
+
werkbon_id?: string | null;
|
|
9415
|
+
werkbon_nummer?: string | null;
|
|
9416
|
+
};
|
|
9417
|
+
Relationships: [{
|
|
9418
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9419
|
+
columns: ["offerte_id"];
|
|
9420
|
+
isOneToOne: false;
|
|
9421
|
+
referencedRelation: "itk_offertes";
|
|
9422
|
+
referencedColumns: ["id"];
|
|
9423
|
+
}];
|
|
9424
|
+
};
|
|
8885
9425
|
itk_offertes: {
|
|
8886
9426
|
Row: {
|
|
8887
9427
|
ai_generated: boolean;
|
|
@@ -9074,6 +9614,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9074
9614
|
referencedColumns: ["id"];
|
|
9075
9615
|
}];
|
|
9076
9616
|
};
|
|
9617
|
+
job_locks: {
|
|
9618
|
+
Row: {
|
|
9619
|
+
created_at: string;
|
|
9620
|
+
lock_key: string;
|
|
9621
|
+
locked_until: string;
|
|
9622
|
+
owner: string | null;
|
|
9623
|
+
updated_at: string;
|
|
9624
|
+
};
|
|
9625
|
+
Insert: {
|
|
9626
|
+
created_at?: string;
|
|
9627
|
+
lock_key: string;
|
|
9628
|
+
locked_until: string;
|
|
9629
|
+
owner?: string | null;
|
|
9630
|
+
updated_at?: string;
|
|
9631
|
+
};
|
|
9632
|
+
Update: {
|
|
9633
|
+
created_at?: string;
|
|
9634
|
+
lock_key?: string;
|
|
9635
|
+
locked_until?: string;
|
|
9636
|
+
owner?: string | null;
|
|
9637
|
+
updated_at?: string;
|
|
9638
|
+
};
|
|
9639
|
+
Relationships: [];
|
|
9640
|
+
};
|
|
9077
9641
|
layout_logos: {
|
|
9078
9642
|
Row: {
|
|
9079
9643
|
bestand_url: string;
|
|
@@ -10043,6 +10607,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10043
10607
|
};
|
|
10044
10608
|
Relationships: [];
|
|
10045
10609
|
};
|
|
10610
|
+
logistics_floriday_push_refusals: {
|
|
10611
|
+
Row: {
|
|
10612
|
+
action: string | null;
|
|
10613
|
+
created_at: string;
|
|
10614
|
+
id: string;
|
|
10615
|
+
order_ref: string;
|
|
10616
|
+
reason: string;
|
|
10617
|
+
source_module: string | null;
|
|
10618
|
+
source_shell: string | null;
|
|
10619
|
+
};
|
|
10620
|
+
Insert: {
|
|
10621
|
+
action?: string | null;
|
|
10622
|
+
created_at?: string;
|
|
10623
|
+
id?: string;
|
|
10624
|
+
order_ref: string;
|
|
10625
|
+
reason: string;
|
|
10626
|
+
source_module?: string | null;
|
|
10627
|
+
source_shell?: string | null;
|
|
10628
|
+
};
|
|
10629
|
+
Update: {
|
|
10630
|
+
action?: string | null;
|
|
10631
|
+
created_at?: string;
|
|
10632
|
+
id?: string;
|
|
10633
|
+
order_ref?: string;
|
|
10634
|
+
reason?: string;
|
|
10635
|
+
source_module?: string | null;
|
|
10636
|
+
source_shell?: string | null;
|
|
10637
|
+
};
|
|
10638
|
+
Relationships: [];
|
|
10639
|
+
};
|
|
10046
10640
|
logistics_floriday_pushes: {
|
|
10047
10641
|
Row: {
|
|
10048
10642
|
attempts: number;
|
|
@@ -10118,6 +10712,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10118
10712
|
};
|
|
10119
10713
|
Relationships: [];
|
|
10120
10714
|
};
|
|
10715
|
+
logistics_floriday_status_sends: {
|
|
10716
|
+
Row: {
|
|
10717
|
+
action: string;
|
|
10718
|
+
created_at: string;
|
|
10719
|
+
detail: string | null;
|
|
10720
|
+
http_status: number | null;
|
|
10721
|
+
id: string;
|
|
10722
|
+
ok: boolean;
|
|
10723
|
+
order_ref: string;
|
|
10724
|
+
source_module: string | null;
|
|
10725
|
+
source_shell: string | null;
|
|
10726
|
+
};
|
|
10727
|
+
Insert: {
|
|
10728
|
+
action: string;
|
|
10729
|
+
created_at?: string;
|
|
10730
|
+
detail?: string | null;
|
|
10731
|
+
http_status?: number | null;
|
|
10732
|
+
id?: string;
|
|
10733
|
+
ok?: boolean;
|
|
10734
|
+
order_ref: string;
|
|
10735
|
+
source_module?: string | null;
|
|
10736
|
+
source_shell?: string | null;
|
|
10737
|
+
};
|
|
10738
|
+
Update: {
|
|
10739
|
+
action?: string;
|
|
10740
|
+
created_at?: string;
|
|
10741
|
+
detail?: string | null;
|
|
10742
|
+
http_status?: number | null;
|
|
10743
|
+
id?: string;
|
|
10744
|
+
ok?: boolean;
|
|
10745
|
+
order_ref?: string;
|
|
10746
|
+
source_module?: string | null;
|
|
10747
|
+
source_shell?: string | null;
|
|
10748
|
+
};
|
|
10749
|
+
Relationships: [];
|
|
10750
|
+
};
|
|
10121
10751
|
logistics_formulas: {
|
|
10122
10752
|
Row: {
|
|
10123
10753
|
created_at: string;
|
|
@@ -10190,6 +10820,144 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10190
10820
|
};
|
|
10191
10821
|
Relationships: [];
|
|
10192
10822
|
};
|
|
10823
|
+
logistics_opening_exceptions: {
|
|
10824
|
+
Row: {
|
|
10825
|
+
closes: string | null;
|
|
10826
|
+
created_at: string;
|
|
10827
|
+
day: string;
|
|
10828
|
+
id: string;
|
|
10829
|
+
is_closed: boolean;
|
|
10830
|
+
note: string | null;
|
|
10831
|
+
opens: string | null;
|
|
10832
|
+
};
|
|
10833
|
+
Insert: {
|
|
10834
|
+
closes?: string | null;
|
|
10835
|
+
created_at?: string;
|
|
10836
|
+
day: string;
|
|
10837
|
+
id?: string;
|
|
10838
|
+
is_closed?: boolean;
|
|
10839
|
+
note?: string | null;
|
|
10840
|
+
opens?: string | null;
|
|
10841
|
+
};
|
|
10842
|
+
Update: {
|
|
10843
|
+
closes?: string | null;
|
|
10844
|
+
created_at?: string;
|
|
10845
|
+
day?: string;
|
|
10846
|
+
id?: string;
|
|
10847
|
+
is_closed?: boolean;
|
|
10848
|
+
note?: string | null;
|
|
10849
|
+
opens?: string | null;
|
|
10850
|
+
};
|
|
10851
|
+
Relationships: [];
|
|
10852
|
+
};
|
|
10853
|
+
logistics_opening_hours: {
|
|
10854
|
+
Row: {
|
|
10855
|
+
closes: string;
|
|
10856
|
+
created_at: string;
|
|
10857
|
+
id: string;
|
|
10858
|
+
is_active: boolean;
|
|
10859
|
+
note: string | null;
|
|
10860
|
+
opens: string;
|
|
10861
|
+
weekday: number;
|
|
10862
|
+
};
|
|
10863
|
+
Insert: {
|
|
10864
|
+
closes: string;
|
|
10865
|
+
created_at?: string;
|
|
10866
|
+
id?: string;
|
|
10867
|
+
is_active?: boolean;
|
|
10868
|
+
note?: string | null;
|
|
10869
|
+
opens: string;
|
|
10870
|
+
weekday: number;
|
|
10871
|
+
};
|
|
10872
|
+
Update: {
|
|
10873
|
+
closes?: string;
|
|
10874
|
+
created_at?: string;
|
|
10875
|
+
id?: string;
|
|
10876
|
+
is_active?: boolean;
|
|
10877
|
+
note?: string | null;
|
|
10878
|
+
opens?: string;
|
|
10879
|
+
weekday?: number;
|
|
10880
|
+
};
|
|
10881
|
+
Relationships: [];
|
|
10882
|
+
};
|
|
10883
|
+
logistics_order_merges: {
|
|
10884
|
+
Row: {
|
|
10885
|
+
group_key: string;
|
|
10886
|
+
id: string;
|
|
10887
|
+
items_moved: number;
|
|
10888
|
+
kept_order_id: string;
|
|
10889
|
+
kept_order_number: string | null;
|
|
10890
|
+
merged_at: string;
|
|
10891
|
+
merged_order_id: string;
|
|
10892
|
+
merged_order_number: string | null;
|
|
10893
|
+
sales_order_id: string | null;
|
|
10894
|
+
};
|
|
10895
|
+
Insert: {
|
|
10896
|
+
group_key: string;
|
|
10897
|
+
id?: string;
|
|
10898
|
+
items_moved?: number;
|
|
10899
|
+
kept_order_id: string;
|
|
10900
|
+
kept_order_number?: string | null;
|
|
10901
|
+
merged_at?: string;
|
|
10902
|
+
merged_order_id: string;
|
|
10903
|
+
merged_order_number?: string | null;
|
|
10904
|
+
sales_order_id?: string | null;
|
|
10905
|
+
};
|
|
10906
|
+
Update: {
|
|
10907
|
+
group_key?: string;
|
|
10908
|
+
id?: string;
|
|
10909
|
+
items_moved?: number;
|
|
10910
|
+
kept_order_id?: string;
|
|
10911
|
+
kept_order_number?: string | null;
|
|
10912
|
+
merged_at?: string;
|
|
10913
|
+
merged_order_id?: string;
|
|
10914
|
+
merged_order_number?: string | null;
|
|
10915
|
+
sales_order_id?: string | null;
|
|
10916
|
+
};
|
|
10917
|
+
Relationships: [];
|
|
10918
|
+
};
|
|
10919
|
+
logistics_pick_data_requests: {
|
|
10920
|
+
Row: {
|
|
10921
|
+
actions: import("./types").Json;
|
|
10922
|
+
created_at: string;
|
|
10923
|
+
event_id: string | null;
|
|
10924
|
+
finished_at: string | null;
|
|
10925
|
+
id: string;
|
|
10926
|
+
missing: import("./types").Json;
|
|
10927
|
+
order_ref: string;
|
|
10928
|
+
reason: string | null;
|
|
10929
|
+
result: import("./types").Json | null;
|
|
10930
|
+
status: string;
|
|
10931
|
+
unit_ref: string | null;
|
|
10932
|
+
};
|
|
10933
|
+
Insert: {
|
|
10934
|
+
actions?: import("./types").Json;
|
|
10935
|
+
created_at?: string;
|
|
10936
|
+
event_id?: string | null;
|
|
10937
|
+
finished_at?: string | null;
|
|
10938
|
+
id?: string;
|
|
10939
|
+
missing?: import("./types").Json;
|
|
10940
|
+
order_ref: string;
|
|
10941
|
+
reason?: string | null;
|
|
10942
|
+
result?: import("./types").Json | null;
|
|
10943
|
+
status?: string;
|
|
10944
|
+
unit_ref?: string | null;
|
|
10945
|
+
};
|
|
10946
|
+
Update: {
|
|
10947
|
+
actions?: import("./types").Json;
|
|
10948
|
+
created_at?: string;
|
|
10949
|
+
event_id?: string | null;
|
|
10950
|
+
finished_at?: string | null;
|
|
10951
|
+
id?: string;
|
|
10952
|
+
missing?: import("./types").Json;
|
|
10953
|
+
order_ref?: string;
|
|
10954
|
+
reason?: string | null;
|
|
10955
|
+
result?: import("./types").Json | null;
|
|
10956
|
+
status?: string;
|
|
10957
|
+
unit_ref?: string | null;
|
|
10958
|
+
};
|
|
10959
|
+
Relationships: [];
|
|
10960
|
+
};
|
|
10193
10961
|
logistics_pickup_moments: {
|
|
10194
10962
|
Row: {
|
|
10195
10963
|
carrier_ref: string | null;
|
|
@@ -10226,17 +10994,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10226
10994
|
};
|
|
10227
10995
|
Relationships: [];
|
|
10228
10996
|
};
|
|
10229
|
-
|
|
10997
|
+
logistics_plan_locks: {
|
|
10230
10998
|
Row: {
|
|
10231
|
-
|
|
10232
|
-
|
|
10233
|
-
|
|
10234
|
-
|
|
10235
|
-
|
|
10236
|
-
|
|
10237
|
-
|
|
10238
|
-
|
|
10239
|
-
|
|
10999
|
+
created_at: string;
|
|
11000
|
+
lock_key: string;
|
|
11001
|
+
locked_until: string;
|
|
11002
|
+
owner: string | null;
|
|
11003
|
+
updated_at: string;
|
|
11004
|
+
};
|
|
11005
|
+
Insert: {
|
|
11006
|
+
created_at?: string;
|
|
11007
|
+
lock_key: string;
|
|
11008
|
+
locked_until: string;
|
|
11009
|
+
owner?: string | null;
|
|
11010
|
+
updated_at?: string;
|
|
11011
|
+
};
|
|
11012
|
+
Update: {
|
|
11013
|
+
created_at?: string;
|
|
11014
|
+
lock_key?: string;
|
|
11015
|
+
locked_until?: string;
|
|
11016
|
+
owner?: string | null;
|
|
11017
|
+
updated_at?: string;
|
|
11018
|
+
};
|
|
11019
|
+
Relationships: [];
|
|
11020
|
+
};
|
|
11021
|
+
logistics_plan_queue: {
|
|
11022
|
+
Row: {
|
|
11023
|
+
attempts: number;
|
|
11024
|
+
claimed_at: string | null;
|
|
11025
|
+
enqueued_at: string;
|
|
11026
|
+
error: string | null;
|
|
11027
|
+
id: string;
|
|
11028
|
+
next_attempt_at: string;
|
|
11029
|
+
order_id: string;
|
|
11030
|
+
reason: string;
|
|
11031
|
+
reason_code: string | null;
|
|
11032
|
+
status: string;
|
|
10240
11033
|
updated_at: string;
|
|
10241
11034
|
};
|
|
10242
11035
|
Insert: {
|
|
@@ -10248,6 +11041,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10248
11041
|
next_attempt_at?: string;
|
|
10249
11042
|
order_id: string;
|
|
10250
11043
|
reason?: string;
|
|
11044
|
+
reason_code?: string | null;
|
|
10251
11045
|
status?: string;
|
|
10252
11046
|
updated_at?: string;
|
|
10253
11047
|
};
|
|
@@ -10260,6 +11054,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10260
11054
|
next_attempt_at?: string;
|
|
10261
11055
|
order_id?: string;
|
|
10262
11056
|
reason?: string;
|
|
11057
|
+
reason_code?: string | null;
|
|
10263
11058
|
status?: string;
|
|
10264
11059
|
updated_at?: string;
|
|
10265
11060
|
};
|
|
@@ -10646,6 +11441,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10646
11441
|
};
|
|
10647
11442
|
Relationships: [];
|
|
10648
11443
|
};
|
|
11444
|
+
logistics_slip_shipping_note: {
|
|
11445
|
+
Row: {
|
|
11446
|
+
attempts: number;
|
|
11447
|
+
batch_key: string | null;
|
|
11448
|
+
cart_id: string | null;
|
|
11449
|
+
created_at: string;
|
|
11450
|
+
error: string | null;
|
|
11451
|
+
error_code: string | null;
|
|
11452
|
+
fulfillment_order_id: string | null;
|
|
11453
|
+
id: string;
|
|
11454
|
+
locked_until: string | null;
|
|
11455
|
+
next_attempt_at: string | null;
|
|
11456
|
+
order_id: string | null;
|
|
11457
|
+
order_number: string | null;
|
|
11458
|
+
print_job_id: string | null;
|
|
11459
|
+
printer_id: string | null;
|
|
11460
|
+
retry_class: string | null;
|
|
11461
|
+
slip_job_id: string;
|
|
11462
|
+
status: string;
|
|
11463
|
+
updated_at: string;
|
|
11464
|
+
};
|
|
11465
|
+
Insert: {
|
|
11466
|
+
attempts?: number;
|
|
11467
|
+
batch_key?: string | null;
|
|
11468
|
+
cart_id?: string | null;
|
|
11469
|
+
created_at?: string;
|
|
11470
|
+
error?: string | null;
|
|
11471
|
+
error_code?: string | null;
|
|
11472
|
+
fulfillment_order_id?: string | null;
|
|
11473
|
+
id?: string;
|
|
11474
|
+
locked_until?: string | null;
|
|
11475
|
+
next_attempt_at?: string | null;
|
|
11476
|
+
order_id?: string | null;
|
|
11477
|
+
order_number?: string | null;
|
|
11478
|
+
print_job_id?: string | null;
|
|
11479
|
+
printer_id?: string | null;
|
|
11480
|
+
retry_class?: string | null;
|
|
11481
|
+
slip_job_id: string;
|
|
11482
|
+
status?: string;
|
|
11483
|
+
updated_at?: string;
|
|
11484
|
+
};
|
|
11485
|
+
Update: {
|
|
11486
|
+
attempts?: number;
|
|
11487
|
+
batch_key?: string | null;
|
|
11488
|
+
cart_id?: string | null;
|
|
11489
|
+
created_at?: string;
|
|
11490
|
+
error?: string | null;
|
|
11491
|
+
error_code?: string | null;
|
|
11492
|
+
fulfillment_order_id?: string | null;
|
|
11493
|
+
id?: string;
|
|
11494
|
+
locked_until?: string | null;
|
|
11495
|
+
next_attempt_at?: string | null;
|
|
11496
|
+
order_id?: string | null;
|
|
11497
|
+
order_number?: string | null;
|
|
11498
|
+
print_job_id?: string | null;
|
|
11499
|
+
printer_id?: string | null;
|
|
11500
|
+
retry_class?: string | null;
|
|
11501
|
+
slip_job_id?: string;
|
|
11502
|
+
status?: string;
|
|
11503
|
+
updated_at?: string;
|
|
11504
|
+
};
|
|
11505
|
+
Relationships: [];
|
|
11506
|
+
};
|
|
10649
11507
|
logistics_staff_planning: {
|
|
10650
11508
|
Row: {
|
|
10651
11509
|
created_at: string;
|
|
@@ -10964,6 +11822,279 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10964
11822
|
referencedColumns: ["id"];
|
|
10965
11823
|
}];
|
|
10966
11824
|
};
|
|
11825
|
+
logistics_tick_heartbeat: {
|
|
11826
|
+
Row: {
|
|
11827
|
+
id: boolean;
|
|
11828
|
+
last_tick_at: string;
|
|
11829
|
+
};
|
|
11830
|
+
Insert: {
|
|
11831
|
+
id?: boolean;
|
|
11832
|
+
last_tick_at?: string;
|
|
11833
|
+
};
|
|
11834
|
+
Update: {
|
|
11835
|
+
id?: boolean;
|
|
11836
|
+
last_tick_at?: string;
|
|
11837
|
+
};
|
|
11838
|
+
Relationships: [];
|
|
11839
|
+
};
|
|
11840
|
+
logistics_time_settings: {
|
|
11841
|
+
Row: {
|
|
11842
|
+
id: boolean;
|
|
11843
|
+
timezone: string;
|
|
11844
|
+
updated_at: string;
|
|
11845
|
+
};
|
|
11846
|
+
Insert: {
|
|
11847
|
+
id?: boolean;
|
|
11848
|
+
timezone: string;
|
|
11849
|
+
updated_at?: string;
|
|
11850
|
+
};
|
|
11851
|
+
Update: {
|
|
11852
|
+
id?: boolean;
|
|
11853
|
+
timezone?: string;
|
|
11854
|
+
updated_at?: string;
|
|
11855
|
+
};
|
|
11856
|
+
Relationships: [];
|
|
11857
|
+
};
|
|
11858
|
+
logistics_trace_events: {
|
|
11859
|
+
Row: {
|
|
11860
|
+
actor: string | null;
|
|
11861
|
+
attempts: number;
|
|
11862
|
+
calc: import("./types").Json | null;
|
|
11863
|
+
cart_ref: string | null;
|
|
11864
|
+
created_at: string;
|
|
11865
|
+
db_action: string | null;
|
|
11866
|
+
db_new: import("./types").Json | null;
|
|
11867
|
+
db_old: import("./types").Json | null;
|
|
11868
|
+
db_record: string | null;
|
|
11869
|
+
db_table: string | null;
|
|
11870
|
+
decision: string | null;
|
|
11871
|
+
duration_ms: number | null;
|
|
11872
|
+
error: string | null;
|
|
11873
|
+
error_class: string | null;
|
|
11874
|
+
external_action: string | null;
|
|
11875
|
+
external_ref: string | null;
|
|
11876
|
+
external_response: import("./types").Json | null;
|
|
11877
|
+
external_status: string | null;
|
|
11878
|
+
external_system: string | null;
|
|
11879
|
+
id: string;
|
|
11880
|
+
input: import("./types").Json | null;
|
|
11881
|
+
next_attempt_at: string | null;
|
|
11882
|
+
next_step: string | null;
|
|
11883
|
+
node_id: string | null;
|
|
11884
|
+
order_ref: string | null;
|
|
11885
|
+
order_source: string | null;
|
|
11886
|
+
output: import("./types").Json | null;
|
|
11887
|
+
phase: string;
|
|
11888
|
+
reads: import("./types").Json | null;
|
|
11889
|
+
reason: string | null;
|
|
11890
|
+
rule: string | null;
|
|
11891
|
+
slip_ref: string | null;
|
|
11892
|
+
status: string;
|
|
11893
|
+
step: string;
|
|
11894
|
+
trace_id: string;
|
|
11895
|
+
values_used: import("./types").Json | null;
|
|
11896
|
+
};
|
|
11897
|
+
Insert: {
|
|
11898
|
+
actor?: string | null;
|
|
11899
|
+
attempts?: number;
|
|
11900
|
+
calc?: import("./types").Json | null;
|
|
11901
|
+
cart_ref?: string | null;
|
|
11902
|
+
created_at?: string;
|
|
11903
|
+
db_action?: string | null;
|
|
11904
|
+
db_new?: import("./types").Json | null;
|
|
11905
|
+
db_old?: import("./types").Json | null;
|
|
11906
|
+
db_record?: string | null;
|
|
11907
|
+
db_table?: string | null;
|
|
11908
|
+
decision?: string | null;
|
|
11909
|
+
duration_ms?: number | null;
|
|
11910
|
+
error?: string | null;
|
|
11911
|
+
error_class?: string | null;
|
|
11912
|
+
external_action?: string | null;
|
|
11913
|
+
external_ref?: string | null;
|
|
11914
|
+
external_response?: import("./types").Json | null;
|
|
11915
|
+
external_status?: string | null;
|
|
11916
|
+
external_system?: string | null;
|
|
11917
|
+
id?: string;
|
|
11918
|
+
input?: import("./types").Json | null;
|
|
11919
|
+
next_attempt_at?: string | null;
|
|
11920
|
+
next_step?: string | null;
|
|
11921
|
+
node_id?: string | null;
|
|
11922
|
+
order_ref?: string | null;
|
|
11923
|
+
order_source?: string | null;
|
|
11924
|
+
output?: import("./types").Json | null;
|
|
11925
|
+
phase: string;
|
|
11926
|
+
reads?: import("./types").Json | null;
|
|
11927
|
+
reason?: string | null;
|
|
11928
|
+
rule?: string | null;
|
|
11929
|
+
slip_ref?: string | null;
|
|
11930
|
+
status: string;
|
|
11931
|
+
step: string;
|
|
11932
|
+
trace_id?: string;
|
|
11933
|
+
values_used?: import("./types").Json | null;
|
|
11934
|
+
};
|
|
11935
|
+
Update: {
|
|
11936
|
+
actor?: string | null;
|
|
11937
|
+
attempts?: number;
|
|
11938
|
+
calc?: import("./types").Json | null;
|
|
11939
|
+
cart_ref?: string | null;
|
|
11940
|
+
created_at?: string;
|
|
11941
|
+
db_action?: string | null;
|
|
11942
|
+
db_new?: import("./types").Json | null;
|
|
11943
|
+
db_old?: import("./types").Json | null;
|
|
11944
|
+
db_record?: string | null;
|
|
11945
|
+
db_table?: string | null;
|
|
11946
|
+
decision?: string | null;
|
|
11947
|
+
duration_ms?: number | null;
|
|
11948
|
+
error?: string | null;
|
|
11949
|
+
error_class?: string | null;
|
|
11950
|
+
external_action?: string | null;
|
|
11951
|
+
external_ref?: string | null;
|
|
11952
|
+
external_response?: import("./types").Json | null;
|
|
11953
|
+
external_status?: string | null;
|
|
11954
|
+
external_system?: string | null;
|
|
11955
|
+
id?: string;
|
|
11956
|
+
input?: import("./types").Json | null;
|
|
11957
|
+
next_attempt_at?: string | null;
|
|
11958
|
+
next_step?: string | null;
|
|
11959
|
+
node_id?: string | null;
|
|
11960
|
+
order_ref?: string | null;
|
|
11961
|
+
order_source?: string | null;
|
|
11962
|
+
output?: import("./types").Json | null;
|
|
11963
|
+
phase?: string;
|
|
11964
|
+
reads?: import("./types").Json | null;
|
|
11965
|
+
reason?: string | null;
|
|
11966
|
+
rule?: string | null;
|
|
11967
|
+
slip_ref?: string | null;
|
|
11968
|
+
status?: string;
|
|
11969
|
+
step?: string;
|
|
11970
|
+
trace_id?: string;
|
|
11971
|
+
values_used?: import("./types").Json | null;
|
|
11972
|
+
};
|
|
11973
|
+
Relationships: [];
|
|
11974
|
+
};
|
|
11975
|
+
logistics_trace_events_archive: {
|
|
11976
|
+
Row: {
|
|
11977
|
+
actor: string | null;
|
|
11978
|
+
attempts: number;
|
|
11979
|
+
calc: import("./types").Json | null;
|
|
11980
|
+
cart_ref: string | null;
|
|
11981
|
+
created_at: string;
|
|
11982
|
+
db_action: string | null;
|
|
11983
|
+
db_new: import("./types").Json | null;
|
|
11984
|
+
db_old: import("./types").Json | null;
|
|
11985
|
+
db_record: string | null;
|
|
11986
|
+
db_table: string | null;
|
|
11987
|
+
decision: string | null;
|
|
11988
|
+
duration_ms: number | null;
|
|
11989
|
+
error: string | null;
|
|
11990
|
+
error_class: string | null;
|
|
11991
|
+
external_action: string | null;
|
|
11992
|
+
external_ref: string | null;
|
|
11993
|
+
external_response: import("./types").Json | null;
|
|
11994
|
+
external_status: string | null;
|
|
11995
|
+
external_system: string | null;
|
|
11996
|
+
id: string;
|
|
11997
|
+
input: import("./types").Json | null;
|
|
11998
|
+
next_attempt_at: string | null;
|
|
11999
|
+
next_step: string | null;
|
|
12000
|
+
node_id: string | null;
|
|
12001
|
+
order_ref: string | null;
|
|
12002
|
+
order_source: string | null;
|
|
12003
|
+
output: import("./types").Json | null;
|
|
12004
|
+
phase: string;
|
|
12005
|
+
reads: import("./types").Json | null;
|
|
12006
|
+
reason: string | null;
|
|
12007
|
+
rule: string | null;
|
|
12008
|
+
slip_ref: string | null;
|
|
12009
|
+
status: string;
|
|
12010
|
+
step: string;
|
|
12011
|
+
superseded_at: string;
|
|
12012
|
+
superseded_reason: string | null;
|
|
12013
|
+
trace_id: string;
|
|
12014
|
+
values_used: import("./types").Json | null;
|
|
12015
|
+
};
|
|
12016
|
+
Insert: {
|
|
12017
|
+
actor?: string | null;
|
|
12018
|
+
attempts?: number;
|
|
12019
|
+
calc?: import("./types").Json | null;
|
|
12020
|
+
cart_ref?: string | null;
|
|
12021
|
+
created_at?: string;
|
|
12022
|
+
db_action?: string | null;
|
|
12023
|
+
db_new?: import("./types").Json | null;
|
|
12024
|
+
db_old?: import("./types").Json | null;
|
|
12025
|
+
db_record?: string | null;
|
|
12026
|
+
db_table?: string | null;
|
|
12027
|
+
decision?: string | null;
|
|
12028
|
+
duration_ms?: number | null;
|
|
12029
|
+
error?: string | null;
|
|
12030
|
+
error_class?: string | null;
|
|
12031
|
+
external_action?: string | null;
|
|
12032
|
+
external_ref?: string | null;
|
|
12033
|
+
external_response?: import("./types").Json | null;
|
|
12034
|
+
external_status?: string | null;
|
|
12035
|
+
external_system?: string | null;
|
|
12036
|
+
id?: string;
|
|
12037
|
+
input?: import("./types").Json | null;
|
|
12038
|
+
next_attempt_at?: string | null;
|
|
12039
|
+
next_step?: string | null;
|
|
12040
|
+
node_id?: string | null;
|
|
12041
|
+
order_ref?: string | null;
|
|
12042
|
+
order_source?: string | null;
|
|
12043
|
+
output?: import("./types").Json | null;
|
|
12044
|
+
phase: string;
|
|
12045
|
+
reads?: import("./types").Json | null;
|
|
12046
|
+
reason?: string | null;
|
|
12047
|
+
rule?: string | null;
|
|
12048
|
+
slip_ref?: string | null;
|
|
12049
|
+
status: string;
|
|
12050
|
+
step: string;
|
|
12051
|
+
superseded_at?: string;
|
|
12052
|
+
superseded_reason?: string | null;
|
|
12053
|
+
trace_id?: string;
|
|
12054
|
+
values_used?: import("./types").Json | null;
|
|
12055
|
+
};
|
|
12056
|
+
Update: {
|
|
12057
|
+
actor?: string | null;
|
|
12058
|
+
attempts?: number;
|
|
12059
|
+
calc?: import("./types").Json | null;
|
|
12060
|
+
cart_ref?: string | null;
|
|
12061
|
+
created_at?: string;
|
|
12062
|
+
db_action?: string | null;
|
|
12063
|
+
db_new?: import("./types").Json | null;
|
|
12064
|
+
db_old?: import("./types").Json | null;
|
|
12065
|
+
db_record?: string | null;
|
|
12066
|
+
db_table?: string | null;
|
|
12067
|
+
decision?: string | null;
|
|
12068
|
+
duration_ms?: number | null;
|
|
12069
|
+
error?: string | null;
|
|
12070
|
+
error_class?: string | null;
|
|
12071
|
+
external_action?: string | null;
|
|
12072
|
+
external_ref?: string | null;
|
|
12073
|
+
external_response?: import("./types").Json | null;
|
|
12074
|
+
external_status?: string | null;
|
|
12075
|
+
external_system?: string | null;
|
|
12076
|
+
id?: string;
|
|
12077
|
+
input?: import("./types").Json | null;
|
|
12078
|
+
next_attempt_at?: string | null;
|
|
12079
|
+
next_step?: string | null;
|
|
12080
|
+
node_id?: string | null;
|
|
12081
|
+
order_ref?: string | null;
|
|
12082
|
+
order_source?: string | null;
|
|
12083
|
+
output?: import("./types").Json | null;
|
|
12084
|
+
phase?: string;
|
|
12085
|
+
reads?: import("./types").Json | null;
|
|
12086
|
+
reason?: string | null;
|
|
12087
|
+
rule?: string | null;
|
|
12088
|
+
slip_ref?: string | null;
|
|
12089
|
+
status?: string;
|
|
12090
|
+
step?: string;
|
|
12091
|
+
superseded_at?: string;
|
|
12092
|
+
superseded_reason?: string | null;
|
|
12093
|
+
trace_id?: string;
|
|
12094
|
+
values_used?: import("./types").Json | null;
|
|
12095
|
+
};
|
|
12096
|
+
Relationships: [];
|
|
12097
|
+
};
|
|
10967
12098
|
logistics_variables: {
|
|
10968
12099
|
Row: {
|
|
10969
12100
|
created_at: string;
|
|
@@ -11111,6 +12242,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11111
12242
|
has_attachments: boolean;
|
|
11112
12243
|
id: string;
|
|
11113
12244
|
message_id: string | null;
|
|
12245
|
+
preview: string | null;
|
|
11114
12246
|
profile_id: string | null;
|
|
11115
12247
|
raw_size: number | null;
|
|
11116
12248
|
received_at: string | null;
|
|
@@ -11134,6 +12266,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11134
12266
|
has_attachments?: boolean;
|
|
11135
12267
|
id?: string;
|
|
11136
12268
|
message_id?: string | null;
|
|
12269
|
+
preview?: string | null;
|
|
11137
12270
|
profile_id?: string | null;
|
|
11138
12271
|
raw_size?: number | null;
|
|
11139
12272
|
received_at?: string | null;
|
|
@@ -11157,6 +12290,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11157
12290
|
has_attachments?: boolean;
|
|
11158
12291
|
id?: string;
|
|
11159
12292
|
message_id?: string | null;
|
|
12293
|
+
preview?: string | null;
|
|
11160
12294
|
profile_id?: string | null;
|
|
11161
12295
|
raw_size?: number | null;
|
|
11162
12296
|
received_at?: string | null;
|
|
@@ -11188,6 +12322,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11188
12322
|
};
|
|
11189
12323
|
mailbox_order_proposals: {
|
|
11190
12324
|
Row: {
|
|
12325
|
+
ai_ok: boolean | null;
|
|
11191
12326
|
ai_validation: import("./types").Json | null;
|
|
11192
12327
|
confidence: number | null;
|
|
11193
12328
|
created_at: string;
|
|
@@ -11205,6 +12340,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11205
12340
|
updated_at: string;
|
|
11206
12341
|
};
|
|
11207
12342
|
Insert: {
|
|
12343
|
+
ai_ok?: boolean | null;
|
|
11208
12344
|
ai_validation?: import("./types").Json | null;
|
|
11209
12345
|
confidence?: number | null;
|
|
11210
12346
|
created_at?: string;
|
|
@@ -11222,6 +12358,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11222
12358
|
updated_at?: string;
|
|
11223
12359
|
};
|
|
11224
12360
|
Update: {
|
|
12361
|
+
ai_ok?: boolean | null;
|
|
11225
12362
|
ai_validation?: import("./types").Json | null;
|
|
11226
12363
|
confidence?: number | null;
|
|
11227
12364
|
created_at?: string;
|
|
@@ -13354,6 +14491,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13354
14491
|
customer_name: string;
|
|
13355
14492
|
deleted_at: string | null;
|
|
13356
14493
|
delivery_date: string | null;
|
|
14494
|
+
floriday_order_group_key: string | null;
|
|
13357
14495
|
floriday_sales_order_id: string | null;
|
|
13358
14496
|
id: string;
|
|
13359
14497
|
invoice_due_at: string | null;
|
|
@@ -13381,6 +14519,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13381
14519
|
customer_name?: string;
|
|
13382
14520
|
deleted_at?: string | null;
|
|
13383
14521
|
delivery_date?: string | null;
|
|
14522
|
+
floriday_order_group_key?: string | null;
|
|
13384
14523
|
floriday_sales_order_id?: string | null;
|
|
13385
14524
|
id?: string;
|
|
13386
14525
|
invoice_due_at?: string | null;
|
|
@@ -13408,6 +14547,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13408
14547
|
customer_name?: string;
|
|
13409
14548
|
deleted_at?: string | null;
|
|
13410
14549
|
delivery_date?: string | null;
|
|
14550
|
+
floriday_order_group_key?: string | null;
|
|
13411
14551
|
floriday_sales_order_id?: string | null;
|
|
13412
14552
|
id?: string;
|
|
13413
14553
|
invoice_due_at?: string | null;
|
|
@@ -13601,6 +14741,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13601
14741
|
};
|
|
13602
14742
|
Relationships: [];
|
|
13603
14743
|
};
|
|
14744
|
+
pick_buffer_event_cursor: {
|
|
14745
|
+
Row: {
|
|
14746
|
+
created_at: string;
|
|
14747
|
+
id: boolean;
|
|
14748
|
+
last_event_at: string;
|
|
14749
|
+
updated_at: string;
|
|
14750
|
+
};
|
|
14751
|
+
Insert: {
|
|
14752
|
+
created_at?: string;
|
|
14753
|
+
id?: boolean;
|
|
14754
|
+
last_event_at?: string;
|
|
14755
|
+
updated_at?: string;
|
|
14756
|
+
};
|
|
14757
|
+
Update: {
|
|
14758
|
+
created_at?: string;
|
|
14759
|
+
id?: boolean;
|
|
14760
|
+
last_event_at?: string;
|
|
14761
|
+
updated_at?: string;
|
|
14762
|
+
};
|
|
14763
|
+
Relationships: [];
|
|
14764
|
+
};
|
|
13604
14765
|
pick_countries: {
|
|
13605
14766
|
Row: {
|
|
13606
14767
|
active: boolean;
|
|
@@ -14687,64 +15848,181 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14687
15848
|
referencedColumns: ["id"];
|
|
14688
15849
|
}];
|
|
14689
15850
|
};
|
|
14690
|
-
|
|
15851
|
+
price_list_rows: {
|
|
14691
15852
|
Row: {
|
|
14692
|
-
|
|
15853
|
+
action: string;
|
|
14693
15854
|
created_at: string;
|
|
14694
|
-
gemelde_printers: import("./types").Json;
|
|
14695
15855
|
id: string;
|
|
14696
|
-
|
|
14697
|
-
|
|
14698
|
-
|
|
14699
|
-
|
|
14700
|
-
|
|
14701
|
-
|
|
14702
|
-
token_hash: string;
|
|
14703
|
-
updated_at: string;
|
|
14704
|
-
versie: string;
|
|
15856
|
+
message: string | null;
|
|
15857
|
+
parsed: import("./types").Json;
|
|
15858
|
+
price_list_id: string;
|
|
15859
|
+
raw: import("./types").Json;
|
|
15860
|
+
row_number: number;
|
|
15861
|
+
supplier_product_id: string | null;
|
|
14705
15862
|
};
|
|
14706
15863
|
Insert: {
|
|
14707
|
-
|
|
15864
|
+
action?: string;
|
|
14708
15865
|
created_at?: string;
|
|
14709
|
-
gemelde_printers?: import("./types").Json;
|
|
14710
15866
|
id?: string;
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14717
|
-
token_hash: string;
|
|
14718
|
-
updated_at?: string;
|
|
14719
|
-
versie?: string;
|
|
15867
|
+
message?: string | null;
|
|
15868
|
+
parsed?: import("./types").Json;
|
|
15869
|
+
price_list_id: string;
|
|
15870
|
+
raw?: import("./types").Json;
|
|
15871
|
+
row_number: number;
|
|
15872
|
+
supplier_product_id?: string | null;
|
|
14720
15873
|
};
|
|
14721
15874
|
Update: {
|
|
14722
|
-
|
|
15875
|
+
action?: string;
|
|
14723
15876
|
created_at?: string;
|
|
14724
|
-
gemelde_printers?: import("./types").Json;
|
|
14725
15877
|
id?: string;
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
|
|
14730
|
-
|
|
14731
|
-
|
|
14732
|
-
token_hash?: string;
|
|
14733
|
-
updated_at?: string;
|
|
14734
|
-
versie?: string;
|
|
15878
|
+
message?: string | null;
|
|
15879
|
+
parsed?: import("./types").Json;
|
|
15880
|
+
price_list_id?: string;
|
|
15881
|
+
raw?: import("./types").Json;
|
|
15882
|
+
row_number?: number;
|
|
15883
|
+
supplier_product_id?: string | null;
|
|
14735
15884
|
};
|
|
14736
|
-
Relationships: [
|
|
15885
|
+
Relationships: [{
|
|
15886
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
15887
|
+
columns: ["price_list_id"];
|
|
15888
|
+
isOneToOne: false;
|
|
15889
|
+
referencedRelation: "price_lists";
|
|
15890
|
+
referencedColumns: ["id"];
|
|
15891
|
+
}, {
|
|
15892
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
15893
|
+
columns: ["supplier_product_id"];
|
|
15894
|
+
isOneToOne: false;
|
|
15895
|
+
referencedRelation: "supplier_products";
|
|
15896
|
+
referencedColumns: ["id"];
|
|
15897
|
+
}];
|
|
14737
15898
|
};
|
|
14738
|
-
|
|
15899
|
+
price_lists: {
|
|
14739
15900
|
Row: {
|
|
14740
|
-
bestaande_job_id: string | null;
|
|
14741
15901
|
created_at: string;
|
|
14742
|
-
|
|
14743
|
-
|
|
14744
|
-
|
|
15902
|
+
created_by: string | null;
|
|
15903
|
+
file_hash: string | null;
|
|
15904
|
+
file_name: string;
|
|
15905
|
+
file_path: string | null;
|
|
15906
|
+
headers: string[];
|
|
14745
15907
|
id: string;
|
|
14746
|
-
|
|
14747
|
-
|
|
15908
|
+
preview: import("./types").Json;
|
|
15909
|
+
processed_at: string | null;
|
|
15910
|
+
reason: string | null;
|
|
15911
|
+
row_count: number;
|
|
15912
|
+
sheet_name: string | null;
|
|
15913
|
+
source: string;
|
|
15914
|
+
stats: import("./types").Json;
|
|
15915
|
+
status: string;
|
|
15916
|
+
supplier_guess: string | null;
|
|
15917
|
+
supplier_id: string | null;
|
|
15918
|
+
updated_at: string;
|
|
15919
|
+
};
|
|
15920
|
+
Insert: {
|
|
15921
|
+
created_at?: string;
|
|
15922
|
+
created_by?: string | null;
|
|
15923
|
+
file_hash?: string | null;
|
|
15924
|
+
file_name: string;
|
|
15925
|
+
file_path?: string | null;
|
|
15926
|
+
headers?: string[];
|
|
15927
|
+
id?: string;
|
|
15928
|
+
preview?: import("./types").Json;
|
|
15929
|
+
processed_at?: string | null;
|
|
15930
|
+
reason?: string | null;
|
|
15931
|
+
row_count?: number;
|
|
15932
|
+
sheet_name?: string | null;
|
|
15933
|
+
source?: string;
|
|
15934
|
+
stats?: import("./types").Json;
|
|
15935
|
+
status?: string;
|
|
15936
|
+
supplier_guess?: string | null;
|
|
15937
|
+
supplier_id?: string | null;
|
|
15938
|
+
updated_at?: string;
|
|
15939
|
+
};
|
|
15940
|
+
Update: {
|
|
15941
|
+
created_at?: string;
|
|
15942
|
+
created_by?: string | null;
|
|
15943
|
+
file_hash?: string | null;
|
|
15944
|
+
file_name?: string;
|
|
15945
|
+
file_path?: string | null;
|
|
15946
|
+
headers?: string[];
|
|
15947
|
+
id?: string;
|
|
15948
|
+
preview?: import("./types").Json;
|
|
15949
|
+
processed_at?: string | null;
|
|
15950
|
+
reason?: string | null;
|
|
15951
|
+
row_count?: number;
|
|
15952
|
+
sheet_name?: string | null;
|
|
15953
|
+
source?: string;
|
|
15954
|
+
stats?: import("./types").Json;
|
|
15955
|
+
status?: string;
|
|
15956
|
+
supplier_guess?: string | null;
|
|
15957
|
+
supplier_id?: string | null;
|
|
15958
|
+
updated_at?: string;
|
|
15959
|
+
};
|
|
15960
|
+
Relationships: [{
|
|
15961
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
15962
|
+
columns: ["supplier_id"];
|
|
15963
|
+
isOneToOne: false;
|
|
15964
|
+
referencedRelation: "suppliers";
|
|
15965
|
+
referencedColumns: ["id"];
|
|
15966
|
+
}];
|
|
15967
|
+
};
|
|
15968
|
+
print_agents: {
|
|
15969
|
+
Row: {
|
|
15970
|
+
actief: boolean;
|
|
15971
|
+
created_at: string;
|
|
15972
|
+
gemelde_printers: import("./types").Json;
|
|
15973
|
+
id: string;
|
|
15974
|
+
laatst_gezien: string | null;
|
|
15975
|
+
locatie: string;
|
|
15976
|
+
naam: string;
|
|
15977
|
+
pairing_code_hash: string | null;
|
|
15978
|
+
pairing_expires_at: string | null;
|
|
15979
|
+
pairing_used_at: string | null;
|
|
15980
|
+
token_hash: string;
|
|
15981
|
+
updated_at: string;
|
|
15982
|
+
versie: string;
|
|
15983
|
+
};
|
|
15984
|
+
Insert: {
|
|
15985
|
+
actief?: boolean;
|
|
15986
|
+
created_at?: string;
|
|
15987
|
+
gemelde_printers?: import("./types").Json;
|
|
15988
|
+
id?: string;
|
|
15989
|
+
laatst_gezien?: string | null;
|
|
15990
|
+
locatie?: string;
|
|
15991
|
+
naam: string;
|
|
15992
|
+
pairing_code_hash?: string | null;
|
|
15993
|
+
pairing_expires_at?: string | null;
|
|
15994
|
+
pairing_used_at?: string | null;
|
|
15995
|
+
token_hash: string;
|
|
15996
|
+
updated_at?: string;
|
|
15997
|
+
versie?: string;
|
|
15998
|
+
};
|
|
15999
|
+
Update: {
|
|
16000
|
+
actief?: boolean;
|
|
16001
|
+
created_at?: string;
|
|
16002
|
+
gemelde_printers?: import("./types").Json;
|
|
16003
|
+
id?: string;
|
|
16004
|
+
laatst_gezien?: string | null;
|
|
16005
|
+
locatie?: string;
|
|
16006
|
+
naam?: string;
|
|
16007
|
+
pairing_code_hash?: string | null;
|
|
16008
|
+
pairing_expires_at?: string | null;
|
|
16009
|
+
pairing_used_at?: string | null;
|
|
16010
|
+
token_hash?: string;
|
|
16011
|
+
updated_at?: string;
|
|
16012
|
+
versie?: string;
|
|
16013
|
+
};
|
|
16014
|
+
Relationships: [];
|
|
16015
|
+
};
|
|
16016
|
+
print_dedupe_events: {
|
|
16017
|
+
Row: {
|
|
16018
|
+
bestaande_job_id: string | null;
|
|
16019
|
+
created_at: string;
|
|
16020
|
+
detail: string | null;
|
|
16021
|
+
documentnaam: string | null;
|
|
16022
|
+
documenttype: string | null;
|
|
16023
|
+
id: string;
|
|
16024
|
+
idempotentie_sleutel: string;
|
|
16025
|
+
reden: string;
|
|
14748
16026
|
};
|
|
14749
16027
|
Insert: {
|
|
14750
16028
|
bestaande_job_id?: string | null;
|
|
@@ -16244,30 +17522,108 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16244
17522
|
referencedColumns: ["id"];
|
|
16245
17523
|
}];
|
|
16246
17524
|
};
|
|
17525
|
+
purchase_order_dispatches: {
|
|
17526
|
+
Row: {
|
|
17527
|
+
created_at: string;
|
|
17528
|
+
id: string;
|
|
17529
|
+
last_error: string | null;
|
|
17530
|
+
outbox_id: string | null;
|
|
17531
|
+
purchase_order_id: string;
|
|
17532
|
+
status: string;
|
|
17533
|
+
supplier_id: string | null;
|
|
17534
|
+
supplier_name: string;
|
|
17535
|
+
to_address: string;
|
|
17536
|
+
updated_at: string;
|
|
17537
|
+
};
|
|
17538
|
+
Insert: {
|
|
17539
|
+
created_at?: string;
|
|
17540
|
+
id?: string;
|
|
17541
|
+
last_error?: string | null;
|
|
17542
|
+
outbox_id?: string | null;
|
|
17543
|
+
purchase_order_id: string;
|
|
17544
|
+
status?: string;
|
|
17545
|
+
supplier_id?: string | null;
|
|
17546
|
+
supplier_name?: string;
|
|
17547
|
+
to_address: string;
|
|
17548
|
+
updated_at?: string;
|
|
17549
|
+
};
|
|
17550
|
+
Update: {
|
|
17551
|
+
created_at?: string;
|
|
17552
|
+
id?: string;
|
|
17553
|
+
last_error?: string | null;
|
|
17554
|
+
outbox_id?: string | null;
|
|
17555
|
+
purchase_order_id?: string;
|
|
17556
|
+
status?: string;
|
|
17557
|
+
supplier_id?: string | null;
|
|
17558
|
+
supplier_name?: string;
|
|
17559
|
+
to_address?: string;
|
|
17560
|
+
updated_at?: string;
|
|
17561
|
+
};
|
|
17562
|
+
Relationships: [{
|
|
17563
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
17564
|
+
columns: ["purchase_order_id"];
|
|
17565
|
+
isOneToOne: false;
|
|
17566
|
+
referencedRelation: "purchase_orders";
|
|
17567
|
+
referencedColumns: ["id"];
|
|
17568
|
+
}, {
|
|
17569
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
17570
|
+
columns: ["supplier_id"];
|
|
17571
|
+
isOneToOne: false;
|
|
17572
|
+
referencedRelation: "suppliers";
|
|
17573
|
+
referencedColumns: ["id"];
|
|
17574
|
+
}];
|
|
17575
|
+
};
|
|
16247
17576
|
purchase_order_items: {
|
|
16248
17577
|
Row: {
|
|
17578
|
+
article_number: string | null;
|
|
16249
17579
|
created_at: string;
|
|
17580
|
+
delivery_date: string | null;
|
|
16250
17581
|
id: string;
|
|
17582
|
+
name: string;
|
|
17583
|
+
note: string | null;
|
|
17584
|
+
pot_size: string | null;
|
|
16251
17585
|
product_id: string | null;
|
|
16252
17586
|
product_type: string;
|
|
16253
17587
|
purchase_order_id: string;
|
|
16254
17588
|
quantity: number;
|
|
17589
|
+
supplier_id: string | null;
|
|
17590
|
+
supplier_product_id: string | null;
|
|
17591
|
+
unit_price_cents: number;
|
|
17592
|
+
updated_at: string;
|
|
16255
17593
|
};
|
|
16256
17594
|
Insert: {
|
|
17595
|
+
article_number?: string | null;
|
|
16257
17596
|
created_at?: string;
|
|
17597
|
+
delivery_date?: string | null;
|
|
16258
17598
|
id?: string;
|
|
17599
|
+
name?: string;
|
|
17600
|
+
note?: string | null;
|
|
17601
|
+
pot_size?: string | null;
|
|
16259
17602
|
product_id?: string | null;
|
|
16260
17603
|
product_type?: string;
|
|
16261
17604
|
purchase_order_id: string;
|
|
16262
17605
|
quantity?: number;
|
|
17606
|
+
supplier_id?: string | null;
|
|
17607
|
+
supplier_product_id?: string | null;
|
|
17608
|
+
unit_price_cents?: number;
|
|
17609
|
+
updated_at?: string;
|
|
16263
17610
|
};
|
|
16264
17611
|
Update: {
|
|
17612
|
+
article_number?: string | null;
|
|
16265
17613
|
created_at?: string;
|
|
17614
|
+
delivery_date?: string | null;
|
|
16266
17615
|
id?: string;
|
|
17616
|
+
name?: string;
|
|
17617
|
+
note?: string | null;
|
|
17618
|
+
pot_size?: string | null;
|
|
16267
17619
|
product_id?: string | null;
|
|
16268
17620
|
product_type?: string;
|
|
16269
17621
|
purchase_order_id?: string;
|
|
16270
17622
|
quantity?: number;
|
|
17623
|
+
supplier_id?: string | null;
|
|
17624
|
+
supplier_product_id?: string | null;
|
|
17625
|
+
unit_price_cents?: number;
|
|
17626
|
+
updated_at?: string;
|
|
16271
17627
|
};
|
|
16272
17628
|
Relationships: [{
|
|
16273
17629
|
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
@@ -16287,43 +17643,70 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16287
17643
|
isOneToOne: false;
|
|
16288
17644
|
referencedRelation: "purchase_orders";
|
|
16289
17645
|
referencedColumns: ["id"];
|
|
17646
|
+
}, {
|
|
17647
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
17648
|
+
columns: ["supplier_id"];
|
|
17649
|
+
isOneToOne: false;
|
|
17650
|
+
referencedRelation: "suppliers";
|
|
17651
|
+
referencedColumns: ["id"];
|
|
17652
|
+
}, {
|
|
17653
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
17654
|
+
columns: ["supplier_product_id"];
|
|
17655
|
+
isOneToOne: false;
|
|
17656
|
+
referencedRelation: "supplier_products";
|
|
17657
|
+
referencedColumns: ["id"];
|
|
16290
17658
|
}];
|
|
16291
17659
|
};
|
|
16292
17660
|
purchase_orders: {
|
|
16293
17661
|
Row: {
|
|
17662
|
+
contact_person: string | null;
|
|
16294
17663
|
created_at: string;
|
|
17664
|
+
created_by: string | null;
|
|
16295
17665
|
expected_delivery_date: string;
|
|
16296
17666
|
id: string;
|
|
16297
17667
|
location_id: string | null;
|
|
16298
17668
|
notes: string | null;
|
|
16299
17669
|
order_number: string;
|
|
17670
|
+
reference: string | null;
|
|
17671
|
+
sent_at: string | null;
|
|
16300
17672
|
status: string;
|
|
16301
17673
|
supplier_id: string | null;
|
|
16302
17674
|
supplier_name: string;
|
|
17675
|
+
total_cents: number;
|
|
16303
17676
|
updated_at: string;
|
|
16304
17677
|
};
|
|
16305
17678
|
Insert: {
|
|
17679
|
+
contact_person?: string | null;
|
|
16306
17680
|
created_at?: string;
|
|
16307
|
-
|
|
17681
|
+
created_by?: string | null;
|
|
17682
|
+
expected_delivery_date?: string;
|
|
16308
17683
|
id?: string;
|
|
16309
17684
|
location_id?: string | null;
|
|
16310
17685
|
notes?: string | null;
|
|
16311
|
-
order_number
|
|
17686
|
+
order_number?: string;
|
|
17687
|
+
reference?: string | null;
|
|
17688
|
+
sent_at?: string | null;
|
|
16312
17689
|
status?: string;
|
|
16313
17690
|
supplier_id?: string | null;
|
|
16314
17691
|
supplier_name?: string;
|
|
17692
|
+
total_cents?: number;
|
|
16315
17693
|
updated_at?: string;
|
|
16316
17694
|
};
|
|
16317
17695
|
Update: {
|
|
17696
|
+
contact_person?: string | null;
|
|
16318
17697
|
created_at?: string;
|
|
17698
|
+
created_by?: string | null;
|
|
16319
17699
|
expected_delivery_date?: string;
|
|
16320
17700
|
id?: string;
|
|
16321
17701
|
location_id?: string | null;
|
|
16322
17702
|
notes?: string | null;
|
|
16323
17703
|
order_number?: string;
|
|
17704
|
+
reference?: string | null;
|
|
17705
|
+
sent_at?: string | null;
|
|
16324
17706
|
status?: string;
|
|
16325
17707
|
supplier_id?: string | null;
|
|
16326
17708
|
supplier_name?: string;
|
|
17709
|
+
total_cents?: number;
|
|
16327
17710
|
updated_at?: string;
|
|
16328
17711
|
};
|
|
16329
17712
|
Relationships: [{
|
|
@@ -17210,101 +18593,293 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17210
18593
|
};
|
|
17211
18594
|
Relationships: [];
|
|
17212
18595
|
};
|
|
17213
|
-
|
|
18596
|
+
supplier_contacts: {
|
|
17214
18597
|
Row: {
|
|
17215
|
-
article_number: string | null;
|
|
17216
18598
|
created_at: string;
|
|
18599
|
+
email: string | null;
|
|
17217
18600
|
id: string;
|
|
18601
|
+
is_primary: boolean;
|
|
17218
18602
|
name: string;
|
|
17219
|
-
|
|
17220
|
-
|
|
17221
|
-
price: number | null;
|
|
17222
|
-
quantity: number | null;
|
|
18603
|
+
phone: string | null;
|
|
18604
|
+
role: string | null;
|
|
17223
18605
|
supplier_id: string;
|
|
17224
|
-
unit: string;
|
|
17225
18606
|
updated_at: string;
|
|
17226
18607
|
};
|
|
17227
18608
|
Insert: {
|
|
17228
|
-
article_number?: string | null;
|
|
17229
18609
|
created_at?: string;
|
|
18610
|
+
email?: string | null;
|
|
17230
18611
|
id?: string;
|
|
18612
|
+
is_primary?: boolean;
|
|
17231
18613
|
name: string;
|
|
17232
|
-
|
|
17233
|
-
|
|
17234
|
-
price?: number | null;
|
|
17235
|
-
quantity?: number | null;
|
|
18614
|
+
phone?: string | null;
|
|
18615
|
+
role?: string | null;
|
|
17236
18616
|
supplier_id: string;
|
|
17237
|
-
unit?: string;
|
|
17238
18617
|
updated_at?: string;
|
|
17239
18618
|
};
|
|
17240
18619
|
Update: {
|
|
17241
|
-
article_number?: string | null;
|
|
17242
18620
|
created_at?: string;
|
|
18621
|
+
email?: string | null;
|
|
17243
18622
|
id?: string;
|
|
18623
|
+
is_primary?: boolean;
|
|
17244
18624
|
name?: string;
|
|
17245
|
-
|
|
17246
|
-
|
|
17247
|
-
price?: number | null;
|
|
17248
|
-
quantity?: number | null;
|
|
18625
|
+
phone?: string | null;
|
|
18626
|
+
role?: string | null;
|
|
17249
18627
|
supplier_id?: string;
|
|
17250
|
-
unit?: string;
|
|
17251
18628
|
updated_at?: string;
|
|
17252
18629
|
};
|
|
17253
18630
|
Relationships: [{
|
|
17254
|
-
foreignKeyName: "
|
|
18631
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
17255
18632
|
columns: ["supplier_id"];
|
|
17256
18633
|
isOneToOne: false;
|
|
17257
18634
|
referencedRelation: "suppliers";
|
|
17258
18635
|
referencedColumns: ["id"];
|
|
17259
18636
|
}];
|
|
17260
18637
|
};
|
|
17261
|
-
|
|
18638
|
+
supplier_price_history: {
|
|
17262
18639
|
Row: {
|
|
17263
|
-
address: string | null;
|
|
17264
|
-
column_mappings: import("./types").Json | null;
|
|
17265
|
-
contact_person: string | null;
|
|
17266
18640
|
created_at: string;
|
|
17267
|
-
default_product_type: string;
|
|
17268
|
-
email: string | null;
|
|
17269
18641
|
id: string;
|
|
17270
|
-
|
|
17271
|
-
|
|
17272
|
-
|
|
17273
|
-
|
|
17274
|
-
|
|
18642
|
+
new_price_cents: number;
|
|
18643
|
+
old_price_cents: number | null;
|
|
18644
|
+
price_list_id: string | null;
|
|
18645
|
+
supplier_id: string | null;
|
|
18646
|
+
supplier_product_id: string;
|
|
17275
18647
|
};
|
|
17276
18648
|
Insert: {
|
|
17277
|
-
address?: string | null;
|
|
17278
|
-
column_mappings?: import("./types").Json | null;
|
|
17279
|
-
contact_person?: string | null;
|
|
17280
18649
|
created_at?: string;
|
|
17281
|
-
default_product_type?: string;
|
|
17282
|
-
email?: string | null;
|
|
17283
18650
|
id?: string;
|
|
17284
|
-
|
|
17285
|
-
|
|
17286
|
-
|
|
17287
|
-
|
|
17288
|
-
|
|
18651
|
+
new_price_cents: number;
|
|
18652
|
+
old_price_cents?: number | null;
|
|
18653
|
+
price_list_id?: string | null;
|
|
18654
|
+
supplier_id?: string | null;
|
|
18655
|
+
supplier_product_id: string;
|
|
17289
18656
|
};
|
|
17290
18657
|
Update: {
|
|
17291
|
-
address?: string | null;
|
|
17292
|
-
column_mappings?: import("./types").Json | null;
|
|
17293
|
-
contact_person?: string | null;
|
|
17294
18658
|
created_at?: string;
|
|
17295
|
-
default_product_type?: string;
|
|
17296
|
-
email?: string | null;
|
|
17297
18659
|
id?: string;
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
17301
|
-
|
|
17302
|
-
|
|
18660
|
+
new_price_cents?: number;
|
|
18661
|
+
old_price_cents?: number | null;
|
|
18662
|
+
price_list_id?: string | null;
|
|
18663
|
+
supplier_id?: string | null;
|
|
18664
|
+
supplier_product_id?: string;
|
|
17303
18665
|
};
|
|
17304
|
-
Relationships: [
|
|
17305
|
-
|
|
17306
|
-
|
|
17307
|
-
|
|
18666
|
+
Relationships: [{
|
|
18667
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
18668
|
+
columns: ["price_list_id"];
|
|
18669
|
+
isOneToOne: false;
|
|
18670
|
+
referencedRelation: "price_lists";
|
|
18671
|
+
referencedColumns: ["id"];
|
|
18672
|
+
}, {
|
|
18673
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
18674
|
+
columns: ["supplier_product_id"];
|
|
18675
|
+
isOneToOne: false;
|
|
18676
|
+
referencedRelation: "supplier_products";
|
|
18677
|
+
referencedColumns: ["id"];
|
|
18678
|
+
}];
|
|
18679
|
+
};
|
|
18680
|
+
supplier_price_list_mappings: {
|
|
18681
|
+
Row: {
|
|
18682
|
+
column_map: import("./types").Json;
|
|
18683
|
+
created_at: string;
|
|
18684
|
+
deactivate_missing: boolean;
|
|
18685
|
+
decimal_separator: string;
|
|
18686
|
+
expected_headers: string[];
|
|
18687
|
+
extract_pot_from_name: boolean;
|
|
18688
|
+
header_row: number;
|
|
18689
|
+
id: string;
|
|
18690
|
+
max_error_ratio: number;
|
|
18691
|
+
price_is_cents: boolean;
|
|
18692
|
+
sheet_name: string | null;
|
|
18693
|
+
supplier_id: string;
|
|
18694
|
+
updated_at: string;
|
|
18695
|
+
};
|
|
18696
|
+
Insert: {
|
|
18697
|
+
column_map?: import("./types").Json;
|
|
18698
|
+
created_at?: string;
|
|
18699
|
+
deactivate_missing?: boolean;
|
|
18700
|
+
decimal_separator?: string;
|
|
18701
|
+
expected_headers?: string[];
|
|
18702
|
+
extract_pot_from_name?: boolean;
|
|
18703
|
+
header_row?: number;
|
|
18704
|
+
id?: string;
|
|
18705
|
+
max_error_ratio?: number;
|
|
18706
|
+
price_is_cents?: boolean;
|
|
18707
|
+
sheet_name?: string | null;
|
|
18708
|
+
supplier_id: string;
|
|
18709
|
+
updated_at?: string;
|
|
18710
|
+
};
|
|
18711
|
+
Update: {
|
|
18712
|
+
column_map?: import("./types").Json;
|
|
18713
|
+
created_at?: string;
|
|
18714
|
+
deactivate_missing?: boolean;
|
|
18715
|
+
decimal_separator?: string;
|
|
18716
|
+
expected_headers?: string[];
|
|
18717
|
+
extract_pot_from_name?: boolean;
|
|
18718
|
+
header_row?: number;
|
|
18719
|
+
id?: string;
|
|
18720
|
+
max_error_ratio?: number;
|
|
18721
|
+
price_is_cents?: boolean;
|
|
18722
|
+
sheet_name?: string | null;
|
|
18723
|
+
supplier_id?: string;
|
|
18724
|
+
updated_at?: string;
|
|
18725
|
+
};
|
|
18726
|
+
Relationships: [{
|
|
18727
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
18728
|
+
columns: ["supplier_id"];
|
|
18729
|
+
isOneToOne: true;
|
|
18730
|
+
referencedRelation: "suppliers";
|
|
18731
|
+
referencedColumns: ["id"];
|
|
18732
|
+
}];
|
|
18733
|
+
};
|
|
18734
|
+
supplier_products: {
|
|
18735
|
+
Row: {
|
|
18736
|
+
article_number: string | null;
|
|
18737
|
+
available_quantity: number;
|
|
18738
|
+
created_at: string;
|
|
18739
|
+
height: string | null;
|
|
18740
|
+
id: string;
|
|
18741
|
+
is_active: boolean;
|
|
18742
|
+
min_order: number;
|
|
18743
|
+
name: string;
|
|
18744
|
+
notes: string | null;
|
|
18745
|
+
order_unit: number;
|
|
18746
|
+
pot_size: string | null;
|
|
18747
|
+
price: number | null;
|
|
18748
|
+
price_cents: number;
|
|
18749
|
+
quality: string | null;
|
|
18750
|
+
quantity: number | null;
|
|
18751
|
+
supplier_id: string;
|
|
18752
|
+
unit: string;
|
|
18753
|
+
updated_at: string;
|
|
18754
|
+
};
|
|
18755
|
+
Insert: {
|
|
18756
|
+
article_number?: string | null;
|
|
18757
|
+
available_quantity?: number;
|
|
18758
|
+
created_at?: string;
|
|
18759
|
+
height?: string | null;
|
|
18760
|
+
id?: string;
|
|
18761
|
+
is_active?: boolean;
|
|
18762
|
+
min_order?: number;
|
|
18763
|
+
name: string;
|
|
18764
|
+
notes?: string | null;
|
|
18765
|
+
order_unit?: number;
|
|
18766
|
+
pot_size?: string | null;
|
|
18767
|
+
price?: number | null;
|
|
18768
|
+
price_cents?: number;
|
|
18769
|
+
quality?: string | null;
|
|
18770
|
+
quantity?: number | null;
|
|
18771
|
+
supplier_id: string;
|
|
18772
|
+
unit?: string;
|
|
18773
|
+
updated_at?: string;
|
|
18774
|
+
};
|
|
18775
|
+
Update: {
|
|
18776
|
+
article_number?: string | null;
|
|
18777
|
+
available_quantity?: number;
|
|
18778
|
+
created_at?: string;
|
|
18779
|
+
height?: string | null;
|
|
18780
|
+
id?: string;
|
|
18781
|
+
is_active?: boolean;
|
|
18782
|
+
min_order?: number;
|
|
18783
|
+
name?: string;
|
|
18784
|
+
notes?: string | null;
|
|
18785
|
+
order_unit?: number;
|
|
18786
|
+
pot_size?: string | null;
|
|
18787
|
+
price?: number | null;
|
|
18788
|
+
price_cents?: number;
|
|
18789
|
+
quality?: string | null;
|
|
18790
|
+
quantity?: number | null;
|
|
18791
|
+
supplier_id?: string;
|
|
18792
|
+
unit?: string;
|
|
18793
|
+
updated_at?: string;
|
|
18794
|
+
};
|
|
18795
|
+
Relationships: [{
|
|
18796
|
+
foreignKeyName: "supplier_products_supplier_id_fkey";
|
|
18797
|
+
columns: ["supplier_id"];
|
|
18798
|
+
isOneToOne: false;
|
|
18799
|
+
referencedRelation: "suppliers";
|
|
18800
|
+
referencedColumns: ["id"];
|
|
18801
|
+
}];
|
|
18802
|
+
};
|
|
18803
|
+
suppliers: {
|
|
18804
|
+
Row: {
|
|
18805
|
+
address: string | null;
|
|
18806
|
+
category: string | null;
|
|
18807
|
+
column_mappings: import("./types").Json | null;
|
|
18808
|
+
contact_person: string | null;
|
|
18809
|
+
created_at: string;
|
|
18810
|
+
default_product_type: string;
|
|
18811
|
+
email: string | null;
|
|
18812
|
+
id: string;
|
|
18813
|
+
imported_file_name: string | null;
|
|
18814
|
+
is_preferred: boolean;
|
|
18815
|
+
kvk_number: string | null;
|
|
18816
|
+
lead_time_days: number | null;
|
|
18817
|
+
min_order_amount_cents: number;
|
|
18818
|
+
name: string;
|
|
18819
|
+
notes: string | null;
|
|
18820
|
+
order_days: string[];
|
|
18821
|
+
order_email: string | null;
|
|
18822
|
+
payment_terms_days: number | null;
|
|
18823
|
+
phone: string | null;
|
|
18824
|
+
status: string;
|
|
18825
|
+
updated_at: string;
|
|
18826
|
+
vat_number: string | null;
|
|
18827
|
+
website: string | null;
|
|
18828
|
+
};
|
|
18829
|
+
Insert: {
|
|
18830
|
+
address?: string | null;
|
|
18831
|
+
category?: string | null;
|
|
18832
|
+
column_mappings?: import("./types").Json | null;
|
|
18833
|
+
contact_person?: string | null;
|
|
18834
|
+
created_at?: string;
|
|
18835
|
+
default_product_type?: string;
|
|
18836
|
+
email?: string | null;
|
|
18837
|
+
id?: string;
|
|
18838
|
+
imported_file_name?: string | null;
|
|
18839
|
+
is_preferred?: boolean;
|
|
18840
|
+
kvk_number?: string | null;
|
|
18841
|
+
lead_time_days?: number | null;
|
|
18842
|
+
min_order_amount_cents?: number;
|
|
18843
|
+
name: string;
|
|
18844
|
+
notes?: string | null;
|
|
18845
|
+
order_days?: string[];
|
|
18846
|
+
order_email?: string | null;
|
|
18847
|
+
payment_terms_days?: number | null;
|
|
18848
|
+
phone?: string | null;
|
|
18849
|
+
status?: string;
|
|
18850
|
+
updated_at?: string;
|
|
18851
|
+
vat_number?: string | null;
|
|
18852
|
+
website?: string | null;
|
|
18853
|
+
};
|
|
18854
|
+
Update: {
|
|
18855
|
+
address?: string | null;
|
|
18856
|
+
category?: string | null;
|
|
18857
|
+
column_mappings?: import("./types").Json | null;
|
|
18858
|
+
contact_person?: string | null;
|
|
18859
|
+
created_at?: string;
|
|
18860
|
+
default_product_type?: string;
|
|
18861
|
+
email?: string | null;
|
|
18862
|
+
id?: string;
|
|
18863
|
+
imported_file_name?: string | null;
|
|
18864
|
+
is_preferred?: boolean;
|
|
18865
|
+
kvk_number?: string | null;
|
|
18866
|
+
lead_time_days?: number | null;
|
|
18867
|
+
min_order_amount_cents?: number;
|
|
18868
|
+
name?: string;
|
|
18869
|
+
notes?: string | null;
|
|
18870
|
+
order_days?: string[];
|
|
18871
|
+
order_email?: string | null;
|
|
18872
|
+
payment_terms_days?: number | null;
|
|
18873
|
+
phone?: string | null;
|
|
18874
|
+
status?: string;
|
|
18875
|
+
updated_at?: string;
|
|
18876
|
+
vat_number?: string | null;
|
|
18877
|
+
website?: string | null;
|
|
18878
|
+
};
|
|
18879
|
+
Relationships: [];
|
|
18880
|
+
};
|
|
18881
|
+
tba_article_cache: {
|
|
18882
|
+
Row: {
|
|
17308
18883
|
article_number: string;
|
|
17309
18884
|
created_at: string;
|
|
17310
18885
|
fetched_at: string;
|
|
@@ -18301,11 +19876,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18301
19876
|
auto_invoice_trigger_statuses: string[];
|
|
18302
19877
|
created_at: string;
|
|
18303
19878
|
debtor_gl_account: string;
|
|
19879
|
+
default_article_code: string | null;
|
|
18304
19880
|
default_credit_invoice_type: string | null;
|
|
18305
19881
|
default_gl_account: string;
|
|
18306
19882
|
default_invoice_type: string;
|
|
18307
19883
|
default_payment_term_days: number;
|
|
18308
19884
|
default_vat_code: string;
|
|
19885
|
+
email_purpose: string | null;
|
|
18309
19886
|
home_country_code: string;
|
|
18310
19887
|
invoice_enabled_ao: boolean;
|
|
18311
19888
|
invoice_enabled_fo: boolean;
|
|
@@ -18327,11 +19904,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18327
19904
|
auto_invoice_trigger_statuses?: string[];
|
|
18328
19905
|
created_at?: string;
|
|
18329
19906
|
debtor_gl_account?: string;
|
|
19907
|
+
default_article_code?: string | null;
|
|
18330
19908
|
default_credit_invoice_type?: string | null;
|
|
18331
19909
|
default_gl_account?: string;
|
|
18332
19910
|
default_invoice_type?: string;
|
|
18333
19911
|
default_payment_term_days?: number;
|
|
18334
19912
|
default_vat_code?: string;
|
|
19913
|
+
email_purpose?: string | null;
|
|
18335
19914
|
home_country_code?: string;
|
|
18336
19915
|
invoice_enabled_ao?: boolean;
|
|
18337
19916
|
invoice_enabled_fo?: boolean;
|
|
@@ -18353,11 +19932,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18353
19932
|
auto_invoice_trigger_statuses?: string[];
|
|
18354
19933
|
created_at?: string;
|
|
18355
19934
|
debtor_gl_account?: string;
|
|
19935
|
+
default_article_code?: string | null;
|
|
18356
19936
|
default_credit_invoice_type?: string | null;
|
|
18357
19937
|
default_gl_account?: string;
|
|
18358
19938
|
default_invoice_type?: string;
|
|
18359
19939
|
default_payment_term_days?: number;
|
|
18360
19940
|
default_vat_code?: string;
|
|
19941
|
+
email_purpose?: string | null;
|
|
18361
19942
|
home_country_code?: string;
|
|
18362
19943
|
invoice_enabled_ao?: boolean;
|
|
18363
19944
|
invoice_enabled_fo?: boolean;
|
|
@@ -19250,6 +20831,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19250
20831
|
referencedColumns: ["id"];
|
|
19251
20832
|
}];
|
|
19252
20833
|
};
|
|
20834
|
+
voorraad_buffer_state: {
|
|
20835
|
+
Row: {
|
|
20836
|
+
buffer_id: string;
|
|
20837
|
+
buffer_key: string | null;
|
|
20838
|
+
closed_at: string | null;
|
|
20839
|
+
created_at: string;
|
|
20840
|
+
detached_orders: import("./types").Json;
|
|
20841
|
+
reason: string | null;
|
|
20842
|
+
updated_at: string;
|
|
20843
|
+
};
|
|
20844
|
+
Insert: {
|
|
20845
|
+
buffer_id: string;
|
|
20846
|
+
buffer_key?: string | null;
|
|
20847
|
+
closed_at?: string | null;
|
|
20848
|
+
created_at?: string;
|
|
20849
|
+
detached_orders?: import("./types").Json;
|
|
20850
|
+
reason?: string | null;
|
|
20851
|
+
updated_at?: string;
|
|
20852
|
+
};
|
|
20853
|
+
Update: {
|
|
20854
|
+
buffer_id?: string;
|
|
20855
|
+
buffer_key?: string | null;
|
|
20856
|
+
closed_at?: string | null;
|
|
20857
|
+
created_at?: string;
|
|
20858
|
+
detached_orders?: import("./types").Json;
|
|
20859
|
+
reason?: string | null;
|
|
20860
|
+
updated_at?: string;
|
|
20861
|
+
};
|
|
20862
|
+
Relationships: [];
|
|
20863
|
+
};
|
|
19253
20864
|
voorraad_custom_fields: {
|
|
19254
20865
|
Row: {
|
|
19255
20866
|
created_at: string;
|
|
@@ -19292,6 +20903,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19292
20903
|
};
|
|
19293
20904
|
Relationships: [];
|
|
19294
20905
|
};
|
|
20906
|
+
voorraad_logistics_event_log: {
|
|
20907
|
+
Row: {
|
|
20908
|
+
created_at: string;
|
|
20909
|
+
event_id: string;
|
|
20910
|
+
event_type: string;
|
|
20911
|
+
order_ref: string | null;
|
|
20912
|
+
processed_at: string;
|
|
20913
|
+
result: import("./types").Json;
|
|
20914
|
+
updated_at: string;
|
|
20915
|
+
};
|
|
20916
|
+
Insert: {
|
|
20917
|
+
created_at?: string;
|
|
20918
|
+
event_id: string;
|
|
20919
|
+
event_type: string;
|
|
20920
|
+
order_ref?: string | null;
|
|
20921
|
+
processed_at?: string;
|
|
20922
|
+
result?: import("./types").Json;
|
|
20923
|
+
updated_at?: string;
|
|
20924
|
+
};
|
|
20925
|
+
Update: {
|
|
20926
|
+
created_at?: string;
|
|
20927
|
+
event_id?: string;
|
|
20928
|
+
event_type?: string;
|
|
20929
|
+
order_ref?: string | null;
|
|
20930
|
+
processed_at?: string;
|
|
20931
|
+
result?: import("./types").Json;
|
|
20932
|
+
updated_at?: string;
|
|
20933
|
+
};
|
|
20934
|
+
Relationships: [];
|
|
20935
|
+
};
|
|
19295
20936
|
voorraad_media_upload_failures: {
|
|
19296
20937
|
Row: {
|
|
19297
20938
|
action: string;
|
|
@@ -19559,6 +21200,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19559
21200
|
referencedColumns: ["id"];
|
|
19560
21201
|
}];
|
|
19561
21202
|
};
|
|
21203
|
+
werkbon_email_state: {
|
|
21204
|
+
Row: {
|
|
21205
|
+
created_at: string;
|
|
21206
|
+
event_id: string;
|
|
21207
|
+
id: string;
|
|
21208
|
+
is_archived: boolean;
|
|
21209
|
+
is_read: boolean;
|
|
21210
|
+
updated_at: string;
|
|
21211
|
+
werkbon_id: string | null;
|
|
21212
|
+
};
|
|
21213
|
+
Insert: {
|
|
21214
|
+
created_at?: string;
|
|
21215
|
+
event_id: string;
|
|
21216
|
+
id?: string;
|
|
21217
|
+
is_archived?: boolean;
|
|
21218
|
+
is_read?: boolean;
|
|
21219
|
+
updated_at?: string;
|
|
21220
|
+
werkbon_id?: string | null;
|
|
21221
|
+
};
|
|
21222
|
+
Update: {
|
|
21223
|
+
created_at?: string;
|
|
21224
|
+
event_id?: string;
|
|
21225
|
+
id?: string;
|
|
21226
|
+
is_archived?: boolean;
|
|
21227
|
+
is_read?: boolean;
|
|
21228
|
+
updated_at?: string;
|
|
21229
|
+
werkbon_id?: string | null;
|
|
21230
|
+
};
|
|
21231
|
+
Relationships: [{
|
|
21232
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
21233
|
+
columns: ["event_id"];
|
|
21234
|
+
isOneToOne: true;
|
|
21235
|
+
referencedRelation: "email_auth_events";
|
|
21236
|
+
referencedColumns: ["id"];
|
|
21237
|
+
}];
|
|
21238
|
+
};
|
|
19562
21239
|
werkbon_export_runs: {
|
|
19563
21240
|
Row: {
|
|
19564
21241
|
created_at: string;
|
|
@@ -19712,38 +21389,179 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19712
21389
|
};
|
|
19713
21390
|
Relationships: [];
|
|
19714
21391
|
};
|
|
19715
|
-
|
|
21392
|
+
werkbon_mail_ai_settings: {
|
|
19716
21393
|
Row: {
|
|
19717
|
-
article_number: string | null;
|
|
19718
21394
|
created_at: string;
|
|
19719
|
-
|
|
19720
|
-
|
|
19721
|
-
|
|
19722
|
-
quantity: number;
|
|
19723
|
-
source: string;
|
|
19724
|
-
unit: string;
|
|
19725
|
-
unit_price_cents: number;
|
|
21395
|
+
id: boolean;
|
|
21396
|
+
required_fields: string[];
|
|
21397
|
+
system_prompt: string;
|
|
19726
21398
|
updated_at: string;
|
|
19727
|
-
|
|
21399
|
+
updated_by: string | null;
|
|
19728
21400
|
};
|
|
19729
21401
|
Insert: {
|
|
19730
|
-
article_number?: string | null;
|
|
19731
21402
|
created_at?: string;
|
|
19732
|
-
|
|
19733
|
-
|
|
19734
|
-
|
|
19735
|
-
quantity?: number;
|
|
19736
|
-
source?: string;
|
|
19737
|
-
unit?: string;
|
|
19738
|
-
unit_price_cents?: number;
|
|
21403
|
+
id?: boolean;
|
|
21404
|
+
required_fields?: string[];
|
|
21405
|
+
system_prompt?: string;
|
|
19739
21406
|
updated_at?: string;
|
|
19740
|
-
|
|
21407
|
+
updated_by?: string | null;
|
|
19741
21408
|
};
|
|
19742
21409
|
Update: {
|
|
19743
|
-
article_number?: string | null;
|
|
19744
21410
|
created_at?: string;
|
|
19745
|
-
|
|
19746
|
-
|
|
21411
|
+
id?: boolean;
|
|
21412
|
+
required_fields?: string[];
|
|
21413
|
+
system_prompt?: string;
|
|
21414
|
+
updated_at?: string;
|
|
21415
|
+
updated_by?: string | null;
|
|
21416
|
+
};
|
|
21417
|
+
Relationships: [];
|
|
21418
|
+
};
|
|
21419
|
+
werkbon_mail_bodies: {
|
|
21420
|
+
Row: {
|
|
21421
|
+
created_at: string;
|
|
21422
|
+
event_id: string;
|
|
21423
|
+
fetch_error: string | null;
|
|
21424
|
+
fetched_at: string | null;
|
|
21425
|
+
html: string | null;
|
|
21426
|
+
updated_at: string;
|
|
21427
|
+
};
|
|
21428
|
+
Insert: {
|
|
21429
|
+
created_at?: string;
|
|
21430
|
+
event_id: string;
|
|
21431
|
+
fetch_error?: string | null;
|
|
21432
|
+
fetched_at?: string | null;
|
|
21433
|
+
html?: string | null;
|
|
21434
|
+
updated_at?: string;
|
|
21435
|
+
};
|
|
21436
|
+
Update: {
|
|
21437
|
+
created_at?: string;
|
|
21438
|
+
event_id?: string;
|
|
21439
|
+
fetch_error?: string | null;
|
|
21440
|
+
fetched_at?: string | null;
|
|
21441
|
+
html?: string | null;
|
|
21442
|
+
updated_at?: string;
|
|
21443
|
+
};
|
|
21444
|
+
Relationships: [];
|
|
21445
|
+
};
|
|
21446
|
+
werkbon_mail_inline_assets: {
|
|
21447
|
+
Row: {
|
|
21448
|
+
content_id: string | null;
|
|
21449
|
+
created_at: string;
|
|
21450
|
+
event_id: string;
|
|
21451
|
+
filename: string | null;
|
|
21452
|
+
id: string;
|
|
21453
|
+
is_inline: boolean;
|
|
21454
|
+
mime_type: string | null;
|
|
21455
|
+
size_bytes: number | null;
|
|
21456
|
+
storage_path: string;
|
|
21457
|
+
};
|
|
21458
|
+
Insert: {
|
|
21459
|
+
content_id?: string | null;
|
|
21460
|
+
created_at?: string;
|
|
21461
|
+
event_id: string;
|
|
21462
|
+
filename?: string | null;
|
|
21463
|
+
id?: string;
|
|
21464
|
+
is_inline?: boolean;
|
|
21465
|
+
mime_type?: string | null;
|
|
21466
|
+
size_bytes?: number | null;
|
|
21467
|
+
storage_path: string;
|
|
21468
|
+
};
|
|
21469
|
+
Update: {
|
|
21470
|
+
content_id?: string | null;
|
|
21471
|
+
created_at?: string;
|
|
21472
|
+
event_id?: string;
|
|
21473
|
+
filename?: string | null;
|
|
21474
|
+
id?: string;
|
|
21475
|
+
is_inline?: boolean;
|
|
21476
|
+
mime_type?: string | null;
|
|
21477
|
+
size_bytes?: number | null;
|
|
21478
|
+
storage_path?: string;
|
|
21479
|
+
};
|
|
21480
|
+
Relationships: [];
|
|
21481
|
+
};
|
|
21482
|
+
werkbon_mail_settings: {
|
|
21483
|
+
Row: {
|
|
21484
|
+
connection_id: string | null;
|
|
21485
|
+
connection_ids: string[];
|
|
21486
|
+
created_at: string;
|
|
21487
|
+
id: boolean;
|
|
21488
|
+
purposes: string[];
|
|
21489
|
+
source: string;
|
|
21490
|
+
updated_at: string;
|
|
21491
|
+
};
|
|
21492
|
+
Insert: {
|
|
21493
|
+
connection_id?: string | null;
|
|
21494
|
+
connection_ids?: string[];
|
|
21495
|
+
created_at?: string;
|
|
21496
|
+
id?: boolean;
|
|
21497
|
+
purposes?: string[];
|
|
21498
|
+
source?: string;
|
|
21499
|
+
updated_at?: string;
|
|
21500
|
+
};
|
|
21501
|
+
Update: {
|
|
21502
|
+
connection_id?: string | null;
|
|
21503
|
+
connection_ids?: string[];
|
|
21504
|
+
created_at?: string;
|
|
21505
|
+
id?: boolean;
|
|
21506
|
+
purposes?: string[];
|
|
21507
|
+
source?: string;
|
|
21508
|
+
updated_at?: string;
|
|
21509
|
+
};
|
|
21510
|
+
Relationships: [];
|
|
21511
|
+
};
|
|
21512
|
+
werkbon_mail_user_settings: {
|
|
21513
|
+
Row: {
|
|
21514
|
+
created_at: string;
|
|
21515
|
+
email_purpose: string | null;
|
|
21516
|
+
updated_at: string;
|
|
21517
|
+
user_id: string;
|
|
21518
|
+
};
|
|
21519
|
+
Insert: {
|
|
21520
|
+
created_at?: string;
|
|
21521
|
+
email_purpose?: string | null;
|
|
21522
|
+
updated_at?: string;
|
|
21523
|
+
user_id: string;
|
|
21524
|
+
};
|
|
21525
|
+
Update: {
|
|
21526
|
+
created_at?: string;
|
|
21527
|
+
email_purpose?: string | null;
|
|
21528
|
+
updated_at?: string;
|
|
21529
|
+
user_id?: string;
|
|
21530
|
+
};
|
|
21531
|
+
Relationships: [];
|
|
21532
|
+
};
|
|
21533
|
+
werkbon_materials: {
|
|
21534
|
+
Row: {
|
|
21535
|
+
article_number: string | null;
|
|
21536
|
+
created_at: string;
|
|
21537
|
+
created_by: string | null;
|
|
21538
|
+
description: string;
|
|
21539
|
+
id: string;
|
|
21540
|
+
quantity: number;
|
|
21541
|
+
source: string;
|
|
21542
|
+
unit: string;
|
|
21543
|
+
unit_price_cents: number;
|
|
21544
|
+
updated_at: string;
|
|
21545
|
+
werkbon_id: string;
|
|
21546
|
+
};
|
|
21547
|
+
Insert: {
|
|
21548
|
+
article_number?: string | null;
|
|
21549
|
+
created_at?: string;
|
|
21550
|
+
created_by?: string | null;
|
|
21551
|
+
description: string;
|
|
21552
|
+
id?: string;
|
|
21553
|
+
quantity?: number;
|
|
21554
|
+
source?: string;
|
|
21555
|
+
unit?: string;
|
|
21556
|
+
unit_price_cents?: number;
|
|
21557
|
+
updated_at?: string;
|
|
21558
|
+
werkbon_id: string;
|
|
21559
|
+
};
|
|
21560
|
+
Update: {
|
|
21561
|
+
article_number?: string | null;
|
|
21562
|
+
created_at?: string;
|
|
21563
|
+
created_by?: string | null;
|
|
21564
|
+
description?: string;
|
|
19747
21565
|
id?: string;
|
|
19748
21566
|
quantity?: number;
|
|
19749
21567
|
source?: string;
|
|
@@ -20051,6 +21869,156 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20051
21869
|
referencedColumns: ["id"];
|
|
20052
21870
|
}];
|
|
20053
21871
|
};
|
|
21872
|
+
werkbon_proposal_lines: {
|
|
21873
|
+
Row: {
|
|
21874
|
+
article_number: string | null;
|
|
21875
|
+
created_at: string;
|
|
21876
|
+
description: string | null;
|
|
21877
|
+
id: string;
|
|
21878
|
+
line_type: string;
|
|
21879
|
+
note: string | null;
|
|
21880
|
+
package_id: string | null;
|
|
21881
|
+
proposal_id: string;
|
|
21882
|
+
quantity: number | null;
|
|
21883
|
+
sort_order: number;
|
|
21884
|
+
unit: string | null;
|
|
21885
|
+
updated_at: string;
|
|
21886
|
+
};
|
|
21887
|
+
Insert: {
|
|
21888
|
+
article_number?: string | null;
|
|
21889
|
+
created_at?: string;
|
|
21890
|
+
description?: string | null;
|
|
21891
|
+
id?: string;
|
|
21892
|
+
line_type?: string;
|
|
21893
|
+
note?: string | null;
|
|
21894
|
+
package_id?: string | null;
|
|
21895
|
+
proposal_id: string;
|
|
21896
|
+
quantity?: number | null;
|
|
21897
|
+
sort_order?: number;
|
|
21898
|
+
unit?: string | null;
|
|
21899
|
+
updated_at?: string;
|
|
21900
|
+
};
|
|
21901
|
+
Update: {
|
|
21902
|
+
article_number?: string | null;
|
|
21903
|
+
created_at?: string;
|
|
21904
|
+
description?: string | null;
|
|
21905
|
+
id?: string;
|
|
21906
|
+
line_type?: string;
|
|
21907
|
+
note?: string | null;
|
|
21908
|
+
package_id?: string | null;
|
|
21909
|
+
proposal_id?: string;
|
|
21910
|
+
quantity?: number | null;
|
|
21911
|
+
sort_order?: number;
|
|
21912
|
+
unit?: string | null;
|
|
21913
|
+
updated_at?: string;
|
|
21914
|
+
};
|
|
21915
|
+
Relationships: [{
|
|
21916
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
21917
|
+
columns: ["proposal_id"];
|
|
21918
|
+
isOneToOne: false;
|
|
21919
|
+
referencedRelation: "werkbon_proposals";
|
|
21920
|
+
referencedColumns: ["id"];
|
|
21921
|
+
}];
|
|
21922
|
+
};
|
|
21923
|
+
werkbon_proposals: {
|
|
21924
|
+
Row: {
|
|
21925
|
+
analysed: boolean;
|
|
21926
|
+
budget_mandate_cents: number;
|
|
21927
|
+
complaint_description: string | null;
|
|
21928
|
+
contact_id: string | null;
|
|
21929
|
+
created_at: string;
|
|
21930
|
+
created_werkbon_id: string | null;
|
|
21931
|
+
customer_id: string | null;
|
|
21932
|
+
deadline_date: string | null;
|
|
21933
|
+
estimated_days: number | null;
|
|
21934
|
+
estimated_duration_minutes: number | null;
|
|
21935
|
+
event_id: string;
|
|
21936
|
+
external_id: string | null;
|
|
21937
|
+
externe_referentie: string | null;
|
|
21938
|
+
from_email: string | null;
|
|
21939
|
+
from_name: string | null;
|
|
21940
|
+
id: string;
|
|
21941
|
+
internal_notes: string | null;
|
|
21942
|
+
parsed_payload: import("./types").Json;
|
|
21943
|
+
received_at: string | null;
|
|
21944
|
+
reviewed_at: string | null;
|
|
21945
|
+
reviewed_by: string | null;
|
|
21946
|
+
room_number: string | null;
|
|
21947
|
+
scheduled_end_time: string | null;
|
|
21948
|
+
scheduled_start_time: string | null;
|
|
21949
|
+
status: string;
|
|
21950
|
+
subject: string | null;
|
|
21951
|
+
technician_id: string | null;
|
|
21952
|
+
technician_task_description: string | null;
|
|
21953
|
+
updated_at: string;
|
|
21954
|
+
work_address: string | null;
|
|
21955
|
+
};
|
|
21956
|
+
Insert: {
|
|
21957
|
+
analysed?: boolean;
|
|
21958
|
+
budget_mandate_cents?: number;
|
|
21959
|
+
complaint_description?: string | null;
|
|
21960
|
+
contact_id?: string | null;
|
|
21961
|
+
created_at?: string;
|
|
21962
|
+
created_werkbon_id?: string | null;
|
|
21963
|
+
customer_id?: string | null;
|
|
21964
|
+
deadline_date?: string | null;
|
|
21965
|
+
estimated_days?: number | null;
|
|
21966
|
+
estimated_duration_minutes?: number | null;
|
|
21967
|
+
event_id: string;
|
|
21968
|
+
external_id?: string | null;
|
|
21969
|
+
externe_referentie?: string | null;
|
|
21970
|
+
from_email?: string | null;
|
|
21971
|
+
from_name?: string | null;
|
|
21972
|
+
id?: string;
|
|
21973
|
+
internal_notes?: string | null;
|
|
21974
|
+
parsed_payload?: import("./types").Json;
|
|
21975
|
+
received_at?: string | null;
|
|
21976
|
+
reviewed_at?: string | null;
|
|
21977
|
+
reviewed_by?: string | null;
|
|
21978
|
+
room_number?: string | null;
|
|
21979
|
+
scheduled_end_time?: string | null;
|
|
21980
|
+
scheduled_start_time?: string | null;
|
|
21981
|
+
status?: string;
|
|
21982
|
+
subject?: string | null;
|
|
21983
|
+
technician_id?: string | null;
|
|
21984
|
+
technician_task_description?: string | null;
|
|
21985
|
+
updated_at?: string;
|
|
21986
|
+
work_address?: string | null;
|
|
21987
|
+
};
|
|
21988
|
+
Update: {
|
|
21989
|
+
analysed?: boolean;
|
|
21990
|
+
budget_mandate_cents?: number;
|
|
21991
|
+
complaint_description?: string | null;
|
|
21992
|
+
contact_id?: string | null;
|
|
21993
|
+
created_at?: string;
|
|
21994
|
+
created_werkbon_id?: string | null;
|
|
21995
|
+
customer_id?: string | null;
|
|
21996
|
+
deadline_date?: string | null;
|
|
21997
|
+
estimated_days?: number | null;
|
|
21998
|
+
estimated_duration_minutes?: number | null;
|
|
21999
|
+
event_id?: string;
|
|
22000
|
+
external_id?: string | null;
|
|
22001
|
+
externe_referentie?: string | null;
|
|
22002
|
+
from_email?: string | null;
|
|
22003
|
+
from_name?: string | null;
|
|
22004
|
+
id?: string;
|
|
22005
|
+
internal_notes?: string | null;
|
|
22006
|
+
parsed_payload?: import("./types").Json;
|
|
22007
|
+
received_at?: string | null;
|
|
22008
|
+
reviewed_at?: string | null;
|
|
22009
|
+
reviewed_by?: string | null;
|
|
22010
|
+
room_number?: string | null;
|
|
22011
|
+
scheduled_end_time?: string | null;
|
|
22012
|
+
scheduled_start_time?: string | null;
|
|
22013
|
+
status?: string;
|
|
22014
|
+
subject?: string | null;
|
|
22015
|
+
technician_id?: string | null;
|
|
22016
|
+
technician_task_description?: string | null;
|
|
22017
|
+
updated_at?: string;
|
|
22018
|
+
work_address?: string | null;
|
|
22019
|
+
};
|
|
22020
|
+
Relationships: [];
|
|
22021
|
+
};
|
|
20054
22022
|
werkbon_time_logs: {
|
|
20055
22023
|
Row: {
|
|
20056
22024
|
activity: string;
|
|
@@ -20104,6 +22072,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20104
22072
|
created_at: string;
|
|
20105
22073
|
created_by: string | null;
|
|
20106
22074
|
customer_id: string | null;
|
|
22075
|
+
deadline_date: string | null;
|
|
22076
|
+
estimated_days: number | null;
|
|
22077
|
+
estimated_duration_minutes: number | null;
|
|
20107
22078
|
externe_referentie: string | null;
|
|
20108
22079
|
extra_costs_cents: number;
|
|
20109
22080
|
first_time_fix: boolean | null;
|
|
@@ -20134,6 +22105,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20134
22105
|
updated_at: string;
|
|
20135
22106
|
version: number;
|
|
20136
22107
|
work_address: string | null;
|
|
22108
|
+
workday_hours: number | null;
|
|
20137
22109
|
};
|
|
20138
22110
|
Insert: {
|
|
20139
22111
|
assigned_user_id?: string | null;
|
|
@@ -20142,6 +22114,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20142
22114
|
created_at?: string;
|
|
20143
22115
|
created_by?: string | null;
|
|
20144
22116
|
customer_id?: string | null;
|
|
22117
|
+
deadline_date?: string | null;
|
|
22118
|
+
estimated_days?: number | null;
|
|
22119
|
+
estimated_duration_minutes?: number | null;
|
|
20145
22120
|
externe_referentie?: string | null;
|
|
20146
22121
|
extra_costs_cents?: number;
|
|
20147
22122
|
first_time_fix?: boolean | null;
|
|
@@ -20172,6 +22147,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20172
22147
|
updated_at?: string;
|
|
20173
22148
|
version?: number;
|
|
20174
22149
|
work_address?: string | null;
|
|
22150
|
+
workday_hours?: number | null;
|
|
20175
22151
|
};
|
|
20176
22152
|
Update: {
|
|
20177
22153
|
assigned_user_id?: string | null;
|
|
@@ -20180,6 +22156,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20180
22156
|
created_at?: string;
|
|
20181
22157
|
created_by?: string | null;
|
|
20182
22158
|
customer_id?: string | null;
|
|
22159
|
+
deadline_date?: string | null;
|
|
22160
|
+
estimated_days?: number | null;
|
|
22161
|
+
estimated_duration_minutes?: number | null;
|
|
20183
22162
|
externe_referentie?: string | null;
|
|
20184
22163
|
extra_costs_cents?: number;
|
|
20185
22164
|
first_time_fix?: boolean | null;
|
|
@@ -20210,6 +22189,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20210
22189
|
updated_at?: string;
|
|
20211
22190
|
version?: number;
|
|
20212
22191
|
work_address?: string | null;
|
|
22192
|
+
workday_hours?: number | null;
|
|
20213
22193
|
};
|
|
20214
22194
|
Relationships: [{
|
|
20215
22195
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
@@ -21414,6 +23394,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21414
23394
|
};
|
|
21415
23395
|
Returns: string;
|
|
21416
23396
|
};
|
|
23397
|
+
backfill_cart_numbers_day_seq: {
|
|
23398
|
+
Args: never;
|
|
23399
|
+
Returns: number;
|
|
23400
|
+
};
|
|
21417
23401
|
backfill_open_order_reservations: {
|
|
21418
23402
|
Args: never;
|
|
21419
23403
|
Returns: {
|
|
@@ -21452,6 +23436,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21452
23436
|
Args: never;
|
|
21453
23437
|
Returns: boolean;
|
|
21454
23438
|
};
|
|
23439
|
+
cancel_open_print_jobs: {
|
|
23440
|
+
Args: {
|
|
23441
|
+
_cutoff: string;
|
|
23442
|
+
};
|
|
23443
|
+
Returns: {
|
|
23444
|
+
extern_job_id: string;
|
|
23445
|
+
id: string;
|
|
23446
|
+
}[];
|
|
23447
|
+
};
|
|
21455
23448
|
check_offer_product_available_stock: {
|
|
21456
23449
|
Args: {
|
|
21457
23450
|
p_campaign_product_id: string;
|
|
@@ -21891,8 +23884,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21891
23884
|
cart_index: number;
|
|
21892
23885
|
cart_number: string;
|
|
21893
23886
|
cart_number_id: string;
|
|
21894
|
-
cart_seq: number;
|
|
21895
|
-
cart_total: number;
|
|
21896
23887
|
order_id: string;
|
|
21897
23888
|
order_number: string;
|
|
21898
23889
|
order_source: string;
|
|
@@ -22117,9 +24108,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22117
24108
|
};
|
|
22118
24109
|
Returns: boolean;
|
|
22119
24110
|
};
|
|
22120
|
-
|
|
22121
|
-
Args:
|
|
22122
|
-
|
|
24111
|
+
floriday_adopt_connection: {
|
|
24112
|
+
Args: {
|
|
24113
|
+
p_new: string;
|
|
24114
|
+
p_old: string;
|
|
24115
|
+
};
|
|
24116
|
+
Returns: import("./types").Json;
|
|
24117
|
+
};
|
|
24118
|
+
floriday_autoheal_connections: {
|
|
24119
|
+
Args: never;
|
|
24120
|
+
Returns: import("./types").Json;
|
|
24121
|
+
};
|
|
24122
|
+
floriday_capture_stock_snapshot: {
|
|
24123
|
+
Args: never;
|
|
24124
|
+
Returns: number;
|
|
22123
24125
|
};
|
|
22124
24126
|
floriday_cleanup_stock_queue_v2: {
|
|
22125
24127
|
Args: never;
|
|
@@ -22174,6 +24176,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22174
24176
|
};
|
|
22175
24177
|
Returns: undefined;
|
|
22176
24178
|
};
|
|
24179
|
+
floriday_relink_products: {
|
|
24180
|
+
Args: {
|
|
24181
|
+
p_connection_id?: string;
|
|
24182
|
+
};
|
|
24183
|
+
Returns: import("./types").Json;
|
|
24184
|
+
};
|
|
22177
24185
|
floriday_requeue_dead_letters: {
|
|
22178
24186
|
Args: {
|
|
22179
24187
|
p_connection_id?: string;
|
|
@@ -22396,6 +24404,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22396
24404
|
Args: never;
|
|
22397
24405
|
Returns: string;
|
|
22398
24406
|
};
|
|
24407
|
+
handover_afspraak_intrekken: {
|
|
24408
|
+
Args: {
|
|
24409
|
+
_sleutel: string;
|
|
24410
|
+
};
|
|
24411
|
+
Returns: boolean;
|
|
24412
|
+
};
|
|
24413
|
+
handover_afspraak_zetten: {
|
|
24414
|
+
Args: {
|
|
24415
|
+
_besluit: string;
|
|
24416
|
+
_item: string;
|
|
24417
|
+
_modules: string[];
|
|
24418
|
+
_sleutel: string;
|
|
24419
|
+
_soort: string;
|
|
24420
|
+
_versie_vingerafdruk: string;
|
|
24421
|
+
};
|
|
24422
|
+
Returns: boolean;
|
|
24423
|
+
};
|
|
24424
|
+
handover_afspraken: {
|
|
24425
|
+
Args: never;
|
|
24426
|
+
Returns: import("./types").Json;
|
|
24427
|
+
};
|
|
22399
24428
|
handover_archief_lijst: {
|
|
22400
24429
|
Args: never;
|
|
22401
24430
|
Returns: import("./types").Json;
|
|
@@ -22413,6 +24442,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22413
24442
|
};
|
|
22414
24443
|
Returns: boolean;
|
|
22415
24444
|
};
|
|
24445
|
+
handover_check_afronden_na_scan: {
|
|
24446
|
+
Args: {
|
|
24447
|
+
_module_ids: string[];
|
|
24448
|
+
};
|
|
24449
|
+
Returns: number;
|
|
24450
|
+
};
|
|
22416
24451
|
handover_check_markeren: {
|
|
22417
24452
|
Args: {
|
|
22418
24453
|
_module_ids: string[];
|
|
@@ -22456,6 +24491,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22456
24491
|
};
|
|
22457
24492
|
Returns: boolean;
|
|
22458
24493
|
};
|
|
24494
|
+
handover_md_bron_zetten: {
|
|
24495
|
+
Args: {
|
|
24496
|
+
_md: boolean;
|
|
24497
|
+
_module_id: string;
|
|
24498
|
+
_pad?: string;
|
|
24499
|
+
};
|
|
24500
|
+
Returns: boolean;
|
|
24501
|
+
};
|
|
22459
24502
|
handover_module_meta_zetten: {
|
|
22460
24503
|
Args: {
|
|
22461
24504
|
_module_id: string;
|
|
@@ -22464,6 +24507,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22464
24507
|
};
|
|
22465
24508
|
Returns: boolean;
|
|
22466
24509
|
};
|
|
24510
|
+
handover_naam_zetten: {
|
|
24511
|
+
Args: {
|
|
24512
|
+
_bron_repo?: string;
|
|
24513
|
+
_module_id: string;
|
|
24514
|
+
_weergavenaam?: string;
|
|
24515
|
+
};
|
|
24516
|
+
Returns: boolean;
|
|
24517
|
+
};
|
|
24518
|
+
handover_namen: {
|
|
24519
|
+
Args: never;
|
|
24520
|
+
Returns: import("./types").Json;
|
|
24521
|
+
};
|
|
24522
|
+
handover_nieuw_gezien: {
|
|
24523
|
+
Args: {
|
|
24524
|
+
_module_id: string;
|
|
24525
|
+
};
|
|
24526
|
+
Returns: boolean;
|
|
24527
|
+
};
|
|
22467
24528
|
handover_norm_naam: {
|
|
22468
24529
|
Args: {
|
|
22469
24530
|
_naam: string;
|
|
@@ -22500,6 +24561,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22500
24561
|
_versie_label?: string;
|
|
22501
24562
|
};
|
|
22502
24563
|
Returns: import("./types").Json;
|
|
24564
|
+
} | {
|
|
24565
|
+
Args: {
|
|
24566
|
+
_bekende_risicos?: string[];
|
|
24567
|
+
_bezit_tabellen?: string[];
|
|
24568
|
+
_bron_soort?: string;
|
|
24569
|
+
_commit?: string;
|
|
24570
|
+
_contractfuncties?: string[];
|
|
24571
|
+
_inhoud_md: string;
|
|
24572
|
+
_laatst_bevestigd_op?: string;
|
|
24573
|
+
_module_id: string;
|
|
24574
|
+
_module_titel: string;
|
|
24575
|
+
_ontbrekende_contracten?: string[];
|
|
24576
|
+
_pad?: string;
|
|
24577
|
+
_repo?: string;
|
|
24578
|
+
_samenvatting?: string;
|
|
24579
|
+
_versie_label?: string;
|
|
24580
|
+
};
|
|
24581
|
+
Returns: import("./types").Json;
|
|
22503
24582
|
};
|
|
22504
24583
|
handover_publish_via_token: {
|
|
22505
24584
|
Args: {
|
|
@@ -22597,6 +24676,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22597
24676
|
Args: never;
|
|
22598
24677
|
Returns: boolean;
|
|
22599
24678
|
};
|
|
24679
|
+
inkoop_apply_price_list: {
|
|
24680
|
+
Args: {
|
|
24681
|
+
_price_list_id: string;
|
|
24682
|
+
_rows: import("./types").Json;
|
|
24683
|
+
};
|
|
24684
|
+
Returns: import("./types").Json;
|
|
24685
|
+
};
|
|
24686
|
+
inkoop_next_order_number: {
|
|
24687
|
+
Args: never;
|
|
24688
|
+
Returns: string;
|
|
24689
|
+
};
|
|
24690
|
+
inkoop_send_order: {
|
|
24691
|
+
Args: {
|
|
24692
|
+
_order_id: string;
|
|
24693
|
+
};
|
|
24694
|
+
Returns: {
|
|
24695
|
+
outbox_id: string;
|
|
24696
|
+
supplier_name: string;
|
|
24697
|
+
to_address: string;
|
|
24698
|
+
}[];
|
|
24699
|
+
};
|
|
22600
24700
|
instructie_get: {
|
|
22601
24701
|
Args: {
|
|
22602
24702
|
_sleutel: string;
|
|
@@ -22656,6 +24756,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22656
24756
|
};
|
|
22657
24757
|
Returns: import("./types").Json;
|
|
22658
24758
|
};
|
|
24759
|
+
invoice_source_lines: {
|
|
24760
|
+
Args: {
|
|
24761
|
+
_source_id: string;
|
|
24762
|
+
_source_type: string;
|
|
24763
|
+
};
|
|
24764
|
+
Returns: import("./types").Json;
|
|
24765
|
+
};
|
|
22659
24766
|
is_authenticated: {
|
|
22660
24767
|
Args: never;
|
|
22661
24768
|
Returns: boolean;
|
|
@@ -22795,6 +24902,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22795
24902
|
};
|
|
22796
24903
|
Returns: string;
|
|
22797
24904
|
};
|
|
24905
|
+
logistics_active_layout_method: {
|
|
24906
|
+
Args: never;
|
|
24907
|
+
Returns: string;
|
|
24908
|
+
};
|
|
22798
24909
|
logistics_active_pick_workdays: {
|
|
22799
24910
|
Args: never;
|
|
22800
24911
|
Returns: string[];
|
|
@@ -22846,6 +24957,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22846
24957
|
};
|
|
22847
24958
|
Returns: import("./types").Json;
|
|
22848
24959
|
};
|
|
24960
|
+
logistics_block_reason_code: {
|
|
24961
|
+
Args: {
|
|
24962
|
+
p_details?: import("./types").Json;
|
|
24963
|
+
p_reason: string;
|
|
24964
|
+
};
|
|
24965
|
+
Returns: string;
|
|
24966
|
+
};
|
|
24967
|
+
logistics_blocked_orders: {
|
|
24968
|
+
Args: never;
|
|
24969
|
+
Returns: {
|
|
24970
|
+
attempts: number;
|
|
24971
|
+
blocked_since: string;
|
|
24972
|
+
delivery_date: string;
|
|
24973
|
+
order_id: string;
|
|
24974
|
+
order_ref: string;
|
|
24975
|
+
queue_id: string;
|
|
24976
|
+
reason: string;
|
|
24977
|
+
reason_code: string;
|
|
24978
|
+
}[];
|
|
24979
|
+
};
|
|
24980
|
+
logistics_blocked_overview: {
|
|
24981
|
+
Args: never;
|
|
24982
|
+
Returns: import("./types").Json;
|
|
24983
|
+
};
|
|
22849
24984
|
logistics_buffer_criteria: {
|
|
22850
24985
|
Args: {
|
|
22851
24986
|
p_settings: import("./types").Json;
|
|
@@ -22860,6 +24995,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22860
24995
|
};
|
|
22861
24996
|
Returns: import("./types").Json;
|
|
22862
24997
|
};
|
|
24998
|
+
logistics_buffer_detach_late_orders: {
|
|
24999
|
+
Args: {
|
|
25000
|
+
p_buffer?: string;
|
|
25001
|
+
};
|
|
25002
|
+
Returns: import("./types").Json;
|
|
25003
|
+
};
|
|
25004
|
+
logistics_buffer_frozen_order: {
|
|
25005
|
+
Args: {
|
|
25006
|
+
p_order_id: string;
|
|
25007
|
+
};
|
|
25008
|
+
Returns: boolean;
|
|
25009
|
+
};
|
|
25010
|
+
logistics_buffer_handled: {
|
|
25011
|
+
Args: {
|
|
25012
|
+
p_buffer: string;
|
|
25013
|
+
};
|
|
25014
|
+
Returns: boolean;
|
|
25015
|
+
};
|
|
25016
|
+
logistics_buffer_notify: {
|
|
25017
|
+
Args: {
|
|
25018
|
+
p_event_type: string;
|
|
25019
|
+
p_idempotency_key: string;
|
|
25020
|
+
p_order_ref: string;
|
|
25021
|
+
p_payload: import("./types").Json;
|
|
25022
|
+
};
|
|
25023
|
+
Returns: string;
|
|
25024
|
+
};
|
|
25025
|
+
logistics_buffer_open_key: {
|
|
25026
|
+
Args: {
|
|
25027
|
+
p_base_key: string;
|
|
25028
|
+
};
|
|
25029
|
+
Returns: string;
|
|
25030
|
+
};
|
|
22863
25031
|
logistics_buffer_simulate: {
|
|
22864
25032
|
Args: {
|
|
22865
25033
|
p_orders?: import("./types").Json;
|
|
@@ -22912,6 +25080,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22912
25080
|
};
|
|
22913
25081
|
Returns: string;
|
|
22914
25082
|
};
|
|
25083
|
+
logistics_cart_checkin_at: {
|
|
25084
|
+
Args: {
|
|
25085
|
+
p_cart_id: string;
|
|
25086
|
+
};
|
|
25087
|
+
Returns: string;
|
|
25088
|
+
};
|
|
22915
25089
|
logistics_cart_handled: {
|
|
22916
25090
|
Args: {
|
|
22917
25091
|
p_cart_index: number;
|
|
@@ -22945,10 +25119,59 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22945
25119
|
task_status: string;
|
|
22946
25120
|
}[];
|
|
22947
25121
|
};
|
|
25122
|
+
logistics_cart_is_full: {
|
|
25123
|
+
Args: {
|
|
25124
|
+
p_cart_id: string;
|
|
25125
|
+
};
|
|
25126
|
+
Returns: boolean;
|
|
25127
|
+
};
|
|
22948
25128
|
logistics_cart_layout_method: {
|
|
22949
25129
|
Args: never;
|
|
22950
25130
|
Returns: import("./types").Json;
|
|
22951
25131
|
};
|
|
25132
|
+
logistics_cart_order_refs: {
|
|
25133
|
+
Args: {
|
|
25134
|
+
p_cart_id: string;
|
|
25135
|
+
};
|
|
25136
|
+
Returns: string[];
|
|
25137
|
+
};
|
|
25138
|
+
logistics_cart_plan_overview: {
|
|
25139
|
+
Args: {
|
|
25140
|
+
p_days?: number;
|
|
25141
|
+
};
|
|
25142
|
+
Returns: {
|
|
25143
|
+
cart_total: number;
|
|
25144
|
+
delivery_date: string;
|
|
25145
|
+
order_ref: string;
|
|
25146
|
+
plan_ready: boolean;
|
|
25147
|
+
reason: string;
|
|
25148
|
+
released: boolean;
|
|
25149
|
+
}[];
|
|
25150
|
+
};
|
|
25151
|
+
logistics_cart_plan_status: {
|
|
25152
|
+
Args: {
|
|
25153
|
+
p_ref: string;
|
|
25154
|
+
};
|
|
25155
|
+
Returns: import("./types").Json;
|
|
25156
|
+
};
|
|
25157
|
+
logistics_cart_plan_status_core: {
|
|
25158
|
+
Args: {
|
|
25159
|
+
p_ref: string;
|
|
25160
|
+
};
|
|
25161
|
+
Returns: import("./types").Json;
|
|
25162
|
+
};
|
|
25163
|
+
logistics_cart_release_reason: {
|
|
25164
|
+
Args: {
|
|
25165
|
+
p_cart_id: string;
|
|
25166
|
+
};
|
|
25167
|
+
Returns: string;
|
|
25168
|
+
};
|
|
25169
|
+
logistics_cart_released: {
|
|
25170
|
+
Args: {
|
|
25171
|
+
p_cart_id: string;
|
|
25172
|
+
};
|
|
25173
|
+
Returns: boolean;
|
|
25174
|
+
};
|
|
22952
25175
|
logistics_cart_seq: {
|
|
22953
25176
|
Args: {
|
|
22954
25177
|
p_order_uuid?: string;
|
|
@@ -22999,6 +25222,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22999
25222
|
unit_ref: string;
|
|
23000
25223
|
}[];
|
|
23001
25224
|
};
|
|
25225
|
+
logistics_carts_per_print: {
|
|
25226
|
+
Args: never;
|
|
25227
|
+
Returns: number;
|
|
25228
|
+
};
|
|
23002
25229
|
logistics_check_order_allowed: {
|
|
23003
25230
|
Args: {
|
|
23004
25231
|
p_lines: import("./types").Json;
|
|
@@ -23102,6 +25329,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23102
25329
|
isSetofReturn: false;
|
|
23103
25330
|
};
|
|
23104
25331
|
};
|
|
25332
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
25333
|
+
Args: never;
|
|
25334
|
+
Returns: import("./types").Json;
|
|
25335
|
+
};
|
|
25336
|
+
logistics_cleanup_tasks: {
|
|
25337
|
+
Args: {
|
|
25338
|
+
p_limit?: number;
|
|
25339
|
+
};
|
|
25340
|
+
Returns: import("./types").Json;
|
|
25341
|
+
};
|
|
23105
25342
|
logistics_complete_task: {
|
|
23106
25343
|
Args: {
|
|
23107
25344
|
p_result?: import("./types").Json;
|
|
@@ -23164,6 +25401,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23164
25401
|
station_carts: number;
|
|
23165
25402
|
}[];
|
|
23166
25403
|
};
|
|
25404
|
+
logistics_control_complete_cart: {
|
|
25405
|
+
Args: {
|
|
25406
|
+
p_cart_id: string;
|
|
25407
|
+
};
|
|
25408
|
+
Returns: number;
|
|
25409
|
+
};
|
|
23167
25410
|
logistics_control_scan_approve: {
|
|
23168
25411
|
Args: {
|
|
23169
25412
|
p_allow_reprint?: boolean;
|
|
@@ -23243,6 +25486,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23243
25486
|
Args: never;
|
|
23244
25487
|
Returns: import("./types").Json;
|
|
23245
25488
|
};
|
|
25489
|
+
logistics_day_windows: {
|
|
25490
|
+
Args: {
|
|
25491
|
+
p_day: string;
|
|
25492
|
+
};
|
|
25493
|
+
Returns: {
|
|
25494
|
+
win_end: string;
|
|
25495
|
+
win_start: string;
|
|
25496
|
+
}[];
|
|
25497
|
+
};
|
|
23246
25498
|
logistics_delay_customer_email: {
|
|
23247
25499
|
Args: {
|
|
23248
25500
|
p_customer: string;
|
|
@@ -23310,6 +25562,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23310
25562
|
};
|
|
23311
25563
|
Returns: import("./types").Json;
|
|
23312
25564
|
};
|
|
25565
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
25566
|
+
Args: {
|
|
25567
|
+
_cart_id: string;
|
|
25568
|
+
_is_herprint: boolean;
|
|
25569
|
+
_printer_id: string;
|
|
25570
|
+
_queue_item_id: string;
|
|
25571
|
+
_session_id: string;
|
|
25572
|
+
_slip_job_id: string;
|
|
25573
|
+
};
|
|
25574
|
+
Returns: string;
|
|
25575
|
+
};
|
|
23313
25576
|
logistics_enqueue_sticker_with_slip: {
|
|
23314
25577
|
Args: {
|
|
23315
25578
|
_cart_id: string;
|
|
@@ -23327,6 +25590,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23327
25590
|
};
|
|
23328
25591
|
Returns: string;
|
|
23329
25592
|
};
|
|
25593
|
+
logistics_ensure_pick_data: {
|
|
25594
|
+
Args: {
|
|
25595
|
+
p_event_id?: string;
|
|
25596
|
+
p_missing?: import("./types").Json;
|
|
25597
|
+
p_ref: string;
|
|
25598
|
+
};
|
|
25599
|
+
Returns: import("./types").Json;
|
|
25600
|
+
};
|
|
25601
|
+
logistics_ensure_shipping_notes: {
|
|
25602
|
+
Args: {
|
|
25603
|
+
p_limit?: number;
|
|
25604
|
+
};
|
|
25605
|
+
Returns: import("./types").Json;
|
|
25606
|
+
};
|
|
23330
25607
|
logistics_fail_task: {
|
|
23331
25608
|
Args: {
|
|
23332
25609
|
p_error: string;
|
|
@@ -23372,6 +25649,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23372
25649
|
isSetofReturn: false;
|
|
23373
25650
|
};
|
|
23374
25651
|
};
|
|
25652
|
+
logistics_fix_wrong_shipping_notes: {
|
|
25653
|
+
Args: never;
|
|
25654
|
+
Returns: import("./types").Json;
|
|
25655
|
+
};
|
|
23375
25656
|
logistics_floriday_cart_plan: {
|
|
23376
25657
|
Args: {
|
|
23377
25658
|
p_order_id: string;
|
|
@@ -23399,6 +25680,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23399
25680
|
revision: number;
|
|
23400
25681
|
}[];
|
|
23401
25682
|
};
|
|
25683
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
25684
|
+
Args: never;
|
|
25685
|
+
Returns: boolean;
|
|
25686
|
+
};
|
|
23402
25687
|
logistics_floriday_finish_push: {
|
|
23403
25688
|
Args: {
|
|
23404
25689
|
_error?: string;
|
|
@@ -23448,6 +25733,38 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23448
25733
|
};
|
|
23449
25734
|
Returns: string;
|
|
23450
25735
|
};
|
|
25736
|
+
logistics_floriday_gate_status: {
|
|
25737
|
+
Args: never;
|
|
25738
|
+
Returns: import("./types").Json;
|
|
25739
|
+
};
|
|
25740
|
+
logistics_floriday_log_refusal: {
|
|
25741
|
+
Args: {
|
|
25742
|
+
_action?: string;
|
|
25743
|
+
_module?: string;
|
|
25744
|
+
_order_ref: string;
|
|
25745
|
+
_reason: string;
|
|
25746
|
+
_shell?: string;
|
|
25747
|
+
};
|
|
25748
|
+
Returns: undefined;
|
|
25749
|
+
};
|
|
25750
|
+
logistics_floriday_log_send: {
|
|
25751
|
+
Args: {
|
|
25752
|
+
_action: string;
|
|
25753
|
+
_detail?: string;
|
|
25754
|
+
_http_status?: number;
|
|
25755
|
+
_module?: string;
|
|
25756
|
+
_ok: boolean;
|
|
25757
|
+
_order_ref: string;
|
|
25758
|
+
_shell?: string;
|
|
25759
|
+
};
|
|
25760
|
+
Returns: undefined;
|
|
25761
|
+
};
|
|
25762
|
+
logistics_floriday_order_approved: {
|
|
25763
|
+
Args: {
|
|
25764
|
+
_order_ref: string;
|
|
25765
|
+
};
|
|
25766
|
+
Returns: boolean;
|
|
25767
|
+
};
|
|
23451
25768
|
logistics_floriday_prune_pushes: {
|
|
23452
25769
|
Args: {
|
|
23453
25770
|
_days?: number;
|
|
@@ -23462,6 +25779,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23462
25779
|
};
|
|
23463
25780
|
Returns: string;
|
|
23464
25781
|
};
|
|
25782
|
+
logistics_floriday_status_updates_enabled: {
|
|
25783
|
+
Args: never;
|
|
25784
|
+
Returns: boolean;
|
|
25785
|
+
};
|
|
25786
|
+
logistics_floriday_stock_updates_enabled: {
|
|
25787
|
+
Args: never;
|
|
25788
|
+
Returns: boolean;
|
|
25789
|
+
};
|
|
25790
|
+
logistics_floriday_write_allowed: {
|
|
25791
|
+
Args: {
|
|
25792
|
+
_action: string;
|
|
25793
|
+
};
|
|
25794
|
+
Returns: boolean;
|
|
25795
|
+
};
|
|
23465
25796
|
logistics_fulfill_barcode_requests: {
|
|
23466
25797
|
Args: {
|
|
23467
25798
|
p_limit?: number;
|
|
@@ -23482,9 +25813,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23482
25813
|
};
|
|
23483
25814
|
Returns: boolean;
|
|
23484
25815
|
};
|
|
23485
|
-
|
|
23486
|
-
Args:
|
|
23487
|
-
|
|
25816
|
+
logistics_layout_method_status: {
|
|
25817
|
+
Args: never;
|
|
25818
|
+
Returns: import("./types").Json;
|
|
25819
|
+
};
|
|
25820
|
+
logistics_link_order_items: {
|
|
25821
|
+
Args: {
|
|
25822
|
+
p_order?: string;
|
|
25823
|
+
};
|
|
25824
|
+
Returns: import("./types").Json;
|
|
25825
|
+
};
|
|
25826
|
+
logistics_live_carriers: {
|
|
25827
|
+
Args: {
|
|
25828
|
+
p_order_ref: string;
|
|
23488
25829
|
};
|
|
23489
25830
|
Returns: import("./types").Json;
|
|
23490
25831
|
};
|
|
@@ -23494,6 +25835,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23494
25835
|
};
|
|
23495
25836
|
Returns: number;
|
|
23496
25837
|
};
|
|
25838
|
+
logistics_merge_floriday_lines: {
|
|
25839
|
+
Args: {
|
|
25840
|
+
p_order_id: string;
|
|
25841
|
+
};
|
|
25842
|
+
Returns: string;
|
|
25843
|
+
};
|
|
25844
|
+
logistics_merge_lines_enabled: {
|
|
25845
|
+
Args: never;
|
|
25846
|
+
Returns: boolean;
|
|
25847
|
+
};
|
|
25848
|
+
logistics_merge_partial_carts: {
|
|
25849
|
+
Args: {
|
|
25850
|
+
p_limit?: number;
|
|
25851
|
+
};
|
|
25852
|
+
Returns: import("./types").Json;
|
|
25853
|
+
};
|
|
23497
25854
|
logistics_next_workday_date: {
|
|
23498
25855
|
Args: {
|
|
23499
25856
|
p_date: string;
|
|
@@ -23508,18 +25865,62 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23508
25865
|
};
|
|
23509
25866
|
Returns: string;
|
|
23510
25867
|
};
|
|
25868
|
+
logistics_normalize_product_label: {
|
|
25869
|
+
Args: {
|
|
25870
|
+
p_label: string;
|
|
25871
|
+
};
|
|
25872
|
+
Returns: string;
|
|
25873
|
+
};
|
|
23511
25874
|
logistics_not_past: {
|
|
23512
25875
|
Args: {
|
|
23513
25876
|
p_ts: string;
|
|
23514
25877
|
};
|
|
23515
25878
|
Returns: string;
|
|
23516
25879
|
};
|
|
25880
|
+
logistics_opening_timezone: {
|
|
25881
|
+
Args: never;
|
|
25882
|
+
Returns: string;
|
|
25883
|
+
};
|
|
25884
|
+
logistics_order_cart_approval: {
|
|
25885
|
+
Args: {
|
|
25886
|
+
_order_ref: string;
|
|
25887
|
+
};
|
|
25888
|
+
Returns: {
|
|
25889
|
+
approved: number;
|
|
25890
|
+
total: number;
|
|
25891
|
+
}[];
|
|
25892
|
+
};
|
|
23517
25893
|
logistics_order_cart_count: {
|
|
23518
25894
|
Args: {
|
|
23519
25895
|
p_order_ref: string;
|
|
23520
25896
|
};
|
|
23521
25897
|
Returns: number;
|
|
23522
25898
|
};
|
|
25899
|
+
logistics_order_changed: {
|
|
25900
|
+
Args: {
|
|
25901
|
+
p_order_id: string;
|
|
25902
|
+
p_reason?: string;
|
|
25903
|
+
};
|
|
25904
|
+
Returns: undefined;
|
|
25905
|
+
};
|
|
25906
|
+
logistics_order_documents_ready: {
|
|
25907
|
+
Args: {
|
|
25908
|
+
p_order_ref: string;
|
|
25909
|
+
};
|
|
25910
|
+
Returns: import("./types").Json;
|
|
25911
|
+
};
|
|
25912
|
+
logistics_order_documents_ready_bool: {
|
|
25913
|
+
Args: {
|
|
25914
|
+
p_order_ref: string;
|
|
25915
|
+
};
|
|
25916
|
+
Returns: boolean;
|
|
25917
|
+
};
|
|
25918
|
+
logistics_order_frozen: {
|
|
25919
|
+
Args: {
|
|
25920
|
+
p_order_id: string;
|
|
25921
|
+
};
|
|
25922
|
+
Returns: boolean;
|
|
25923
|
+
};
|
|
23523
25924
|
logistics_order_handled: {
|
|
23524
25925
|
Args: {
|
|
23525
25926
|
p_order_uuid: string;
|
|
@@ -23533,6 +25934,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23533
25934
|
};
|
|
23534
25935
|
Returns: boolean;
|
|
23535
25936
|
};
|
|
25937
|
+
logistics_order_merge_key: {
|
|
25938
|
+
Args: {
|
|
25939
|
+
p_group_key: string;
|
|
25940
|
+
};
|
|
25941
|
+
Returns: string;
|
|
25942
|
+
};
|
|
25943
|
+
logistics_order_mergeable: {
|
|
25944
|
+
Args: {
|
|
25945
|
+
p_order_id: string;
|
|
25946
|
+
};
|
|
25947
|
+
Returns: boolean;
|
|
25948
|
+
};
|
|
23536
25949
|
logistics_order_overview: {
|
|
23537
25950
|
Args: {
|
|
23538
25951
|
p_from?: string;
|
|
@@ -23570,6 +25983,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23570
25983
|
};
|
|
23571
25984
|
Returns: string;
|
|
23572
25985
|
};
|
|
25986
|
+
logistics_payload_is_floriday: {
|
|
25987
|
+
Args: {
|
|
25988
|
+
_payload: import("./types").Json;
|
|
25989
|
+
};
|
|
25990
|
+
Returns: boolean;
|
|
25991
|
+
};
|
|
23573
25992
|
logistics_pick_agenda: {
|
|
23574
25993
|
Args: {
|
|
23575
25994
|
p_from?: string;
|
|
@@ -23598,6 +26017,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23598
26017
|
Args: never;
|
|
23599
26018
|
Returns: import("./types").Json;
|
|
23600
26019
|
};
|
|
26020
|
+
logistics_pick_partial_mode: {
|
|
26021
|
+
Args: never;
|
|
26022
|
+
Returns: string;
|
|
26023
|
+
};
|
|
23601
26024
|
logistics_pick_start_estimate: {
|
|
23602
26025
|
Args: {
|
|
23603
26026
|
p_order: import("./types").Json;
|
|
@@ -23647,6 +26070,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23647
26070
|
order_id: string;
|
|
23648
26071
|
}[];
|
|
23649
26072
|
};
|
|
26073
|
+
logistics_plan_defer: {
|
|
26074
|
+
Args: {
|
|
26075
|
+
p_id: string;
|
|
26076
|
+
};
|
|
26077
|
+
Returns: undefined;
|
|
26078
|
+
};
|
|
23650
26079
|
logistics_plan_enqueue: {
|
|
23651
26080
|
Args: {
|
|
23652
26081
|
p_order_id: string;
|
|
@@ -23660,6 +26089,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23660
26089
|
};
|
|
23661
26090
|
Returns: boolean;
|
|
23662
26091
|
};
|
|
26092
|
+
logistics_plan_error_class: {
|
|
26093
|
+
Args: {
|
|
26094
|
+
p_error: string;
|
|
26095
|
+
};
|
|
26096
|
+
Returns: string;
|
|
26097
|
+
};
|
|
26098
|
+
logistics_plan_error_text: {
|
|
26099
|
+
Args: {
|
|
26100
|
+
p_error: string;
|
|
26101
|
+
};
|
|
26102
|
+
Returns: string;
|
|
26103
|
+
};
|
|
23663
26104
|
logistics_plan_finish: {
|
|
23664
26105
|
Args: {
|
|
23665
26106
|
p_error?: string;
|
|
@@ -23688,14 +26129,86 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23688
26129
|
Args: never;
|
|
23689
26130
|
Returns: undefined;
|
|
23690
26131
|
};
|
|
26132
|
+
logistics_plan_lock_acquire: {
|
|
26133
|
+
Args: {
|
|
26134
|
+
_key: string;
|
|
26135
|
+
_owner?: string;
|
|
26136
|
+
_ttl_seconds?: number;
|
|
26137
|
+
};
|
|
26138
|
+
Returns: boolean;
|
|
26139
|
+
};
|
|
26140
|
+
logistics_plan_lock_release: {
|
|
26141
|
+
Args: {
|
|
26142
|
+
_key: string;
|
|
26143
|
+
_owner?: string;
|
|
26144
|
+
};
|
|
26145
|
+
Returns: undefined;
|
|
26146
|
+
};
|
|
26147
|
+
logistics_plan_progress: {
|
|
26148
|
+
Args: {
|
|
26149
|
+
p_refs: string[];
|
|
26150
|
+
};
|
|
26151
|
+
Returns: {
|
|
26152
|
+
cart_plan_ready: boolean;
|
|
26153
|
+
cart_plan_reason: string;
|
|
26154
|
+
cart_plan_released: boolean;
|
|
26155
|
+
plan_progress: number;
|
|
26156
|
+
plan_state: string;
|
|
26157
|
+
plan_state_since: string;
|
|
26158
|
+
unit_ref: string;
|
|
26159
|
+
}[];
|
|
26160
|
+
};
|
|
26161
|
+
logistics_plan_progress_pct: {
|
|
26162
|
+
Args: {
|
|
26163
|
+
p_order_id: string;
|
|
26164
|
+
};
|
|
26165
|
+
Returns: number;
|
|
26166
|
+
};
|
|
23691
26167
|
logistics_plan_prune: {
|
|
23692
26168
|
Args: never;
|
|
23693
26169
|
Returns: number;
|
|
23694
26170
|
};
|
|
26171
|
+
logistics_plan_queue_list: {
|
|
26172
|
+
Args: {
|
|
26173
|
+
p_limit?: number;
|
|
26174
|
+
};
|
|
26175
|
+
Returns: {
|
|
26176
|
+
attempts: number;
|
|
26177
|
+
claimed_at: string;
|
|
26178
|
+
customer_name: string;
|
|
26179
|
+
enqueued_at: string;
|
|
26180
|
+
error_class: string;
|
|
26181
|
+
error_raw: string;
|
|
26182
|
+
error_text: string;
|
|
26183
|
+
id: string;
|
|
26184
|
+
max_attempts: number;
|
|
26185
|
+
next_attempt_at: string;
|
|
26186
|
+
order_created_at: string;
|
|
26187
|
+
order_id: string;
|
|
26188
|
+
order_number: string;
|
|
26189
|
+
progress_pct: number;
|
|
26190
|
+
reason: string;
|
|
26191
|
+
stand: string;
|
|
26192
|
+
status: string;
|
|
26193
|
+
updated_at: string;
|
|
26194
|
+
}[];
|
|
26195
|
+
};
|
|
23695
26196
|
logistics_plan_release_stale: {
|
|
23696
26197
|
Args: never;
|
|
23697
26198
|
Returns: number;
|
|
23698
26199
|
};
|
|
26200
|
+
logistics_plan_reset_queue: {
|
|
26201
|
+
Args: {
|
|
26202
|
+
p_scope?: string;
|
|
26203
|
+
};
|
|
26204
|
+
Returns: number;
|
|
26205
|
+
};
|
|
26206
|
+
logistics_plan_retry: {
|
|
26207
|
+
Args: {
|
|
26208
|
+
p_order_ids: string[];
|
|
26209
|
+
};
|
|
26210
|
+
Returns: number;
|
|
26211
|
+
};
|
|
23699
26212
|
logistics_plan_setting: {
|
|
23700
26213
|
Args: {
|
|
23701
26214
|
p_default: number;
|
|
@@ -23703,6 +26216,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23703
26216
|
};
|
|
23704
26217
|
Returns: number;
|
|
23705
26218
|
};
|
|
26219
|
+
logistics_plan_state_for: {
|
|
26220
|
+
Args: {
|
|
26221
|
+
p_ref: string;
|
|
26222
|
+
};
|
|
26223
|
+
Returns: import("./types").Json;
|
|
26224
|
+
};
|
|
26225
|
+
logistics_plan_timeout_running: {
|
|
26226
|
+
Args: never;
|
|
26227
|
+
Returns: number;
|
|
26228
|
+
};
|
|
26229
|
+
logistics_prepare_pick_documents: {
|
|
26230
|
+
Args: {
|
|
26231
|
+
p_limit?: number;
|
|
26232
|
+
};
|
|
26233
|
+
Returns: import("./types").Json;
|
|
26234
|
+
};
|
|
23706
26235
|
logistics_prune_buffer_member_queue: {
|
|
23707
26236
|
Args: never;
|
|
23708
26237
|
Returns: number;
|
|
@@ -23743,12 +26272,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23743
26272
|
Args: never;
|
|
23744
26273
|
Returns: import("./types").Json;
|
|
23745
26274
|
};
|
|
26275
|
+
logistics_refresh_pick_queue_status: {
|
|
26276
|
+
Args: {
|
|
26277
|
+
p_ref: string;
|
|
26278
|
+
};
|
|
26279
|
+
Returns: number;
|
|
26280
|
+
};
|
|
23746
26281
|
logistics_refresh_pickup_moments: {
|
|
23747
26282
|
Args: {
|
|
23748
26283
|
p_weeks?: number;
|
|
23749
26284
|
};
|
|
23750
26285
|
Returns: import("./types").Json;
|
|
23751
26286
|
};
|
|
26287
|
+
logistics_refresh_plan_state: {
|
|
26288
|
+
Args: {
|
|
26289
|
+
p_limit?: number;
|
|
26290
|
+
};
|
|
26291
|
+
Returns: import("./types").Json;
|
|
26292
|
+
};
|
|
26293
|
+
logistics_replan_all: {
|
|
26294
|
+
Args: {
|
|
26295
|
+
p_reason?: string;
|
|
26296
|
+
};
|
|
26297
|
+
Returns: import("./types").Json;
|
|
26298
|
+
};
|
|
26299
|
+
logistics_replan_all_force: {
|
|
26300
|
+
Args: {
|
|
26301
|
+
p_reason?: string;
|
|
26302
|
+
};
|
|
26303
|
+
Returns: import("./types").Json;
|
|
26304
|
+
};
|
|
26305
|
+
logistics_replan_order_journey: {
|
|
26306
|
+
Args: {
|
|
26307
|
+
p_order_ref: string;
|
|
26308
|
+
};
|
|
26309
|
+
Returns: import("./types").Json;
|
|
26310
|
+
};
|
|
23752
26311
|
logistics_report_delay: {
|
|
23753
26312
|
Args: {
|
|
23754
26313
|
p_expected_date?: string;
|
|
@@ -23802,6 +26361,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23802
26361
|
};
|
|
23803
26362
|
Returns: import("./types").Json;
|
|
23804
26363
|
};
|
|
26364
|
+
logistics_resolve_product_id: {
|
|
26365
|
+
Args: {
|
|
26366
|
+
p_label: string;
|
|
26367
|
+
};
|
|
26368
|
+
Returns: string;
|
|
26369
|
+
};
|
|
23805
26370
|
logistics_resolve_settings: {
|
|
23806
26371
|
Args: {
|
|
23807
26372
|
p_config_id: string;
|
|
@@ -23849,87 +26414,357 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23849
26414
|
Args: never;
|
|
23850
26415
|
Returns: number;
|
|
23851
26416
|
};
|
|
23852
|
-
logistics_scan_order_stock: {
|
|
26417
|
+
logistics_scan_order_stock: {
|
|
26418
|
+
Args: {
|
|
26419
|
+
p_order_id: string;
|
|
26420
|
+
};
|
|
26421
|
+
Returns: string;
|
|
26422
|
+
};
|
|
26423
|
+
logistics_scan_resolve: {
|
|
26424
|
+
Args: {
|
|
26425
|
+
p_code: string;
|
|
26426
|
+
};
|
|
26427
|
+
Returns: import("./types").Json;
|
|
26428
|
+
};
|
|
26429
|
+
logistics_schedule_tasks: {
|
|
26430
|
+
Args: never;
|
|
26431
|
+
Returns: number;
|
|
26432
|
+
} | {
|
|
26433
|
+
Args: {
|
|
26434
|
+
p_order_ref?: string;
|
|
26435
|
+
};
|
|
26436
|
+
Returns: number;
|
|
26437
|
+
};
|
|
26438
|
+
logistics_set_order_priority: {
|
|
26439
|
+
Args: {
|
|
26440
|
+
p_order_ref: string;
|
|
26441
|
+
p_priority: number;
|
|
26442
|
+
p_user_id?: string;
|
|
26443
|
+
};
|
|
26444
|
+
Returns: number;
|
|
26445
|
+
};
|
|
26446
|
+
logistics_set_pick_day: {
|
|
26447
|
+
Args: {
|
|
26448
|
+
p_order_ref: string;
|
|
26449
|
+
p_pick_day: string;
|
|
26450
|
+
};
|
|
26451
|
+
Returns: import("./types").Json;
|
|
26452
|
+
};
|
|
26453
|
+
logistics_shift_to_workday: {
|
|
26454
|
+
Args: {
|
|
26455
|
+
p_days: string[];
|
|
26456
|
+
p_ts: string;
|
|
26457
|
+
};
|
|
26458
|
+
Returns: string;
|
|
26459
|
+
};
|
|
26460
|
+
logistics_shipping_note_diagnose: {
|
|
26461
|
+
Args: {
|
|
26462
|
+
p_order_number: string;
|
|
26463
|
+
};
|
|
26464
|
+
Returns: import("./types").Json;
|
|
26465
|
+
};
|
|
26466
|
+
logistics_shipping_note_follows_slip: {
|
|
26467
|
+
Args: never;
|
|
26468
|
+
Returns: boolean;
|
|
26469
|
+
};
|
|
26470
|
+
logistics_shipping_note_from_barcode: {
|
|
26471
|
+
Args: {
|
|
26472
|
+
p_allow_reprint?: boolean;
|
|
26473
|
+
p_barcode: string;
|
|
26474
|
+
p_station_id?: string;
|
|
26475
|
+
};
|
|
26476
|
+
Returns: import("./types").Json;
|
|
26477
|
+
};
|
|
26478
|
+
logistics_shipping_note_job_for_slip: {
|
|
26479
|
+
Args: {
|
|
26480
|
+
_slip_job_id: string;
|
|
26481
|
+
};
|
|
26482
|
+
Returns: string;
|
|
26483
|
+
};
|
|
26484
|
+
logistics_shipping_notes_wake_all: {
|
|
26485
|
+
Args: never;
|
|
26486
|
+
Returns: import("./types").Json;
|
|
26487
|
+
};
|
|
26488
|
+
logistics_slip_is_floriday: {
|
|
26489
|
+
Args: {
|
|
26490
|
+
_slip_job_id: string;
|
|
26491
|
+
};
|
|
26492
|
+
Returns: boolean;
|
|
26493
|
+
};
|
|
26494
|
+
logistics_slip_note_claim: {
|
|
26495
|
+
Args: {
|
|
26496
|
+
_lease_seconds?: number;
|
|
26497
|
+
_limit?: number;
|
|
26498
|
+
};
|
|
26499
|
+
Returns: {
|
|
26500
|
+
attempts: number;
|
|
26501
|
+
batch_key: string | null;
|
|
26502
|
+
cart_id: string | null;
|
|
26503
|
+
created_at: string;
|
|
26504
|
+
error: string | null;
|
|
26505
|
+
error_code: string | null;
|
|
26506
|
+
fulfillment_order_id: string | null;
|
|
26507
|
+
id: string;
|
|
26508
|
+
locked_until: string | null;
|
|
26509
|
+
next_attempt_at: string | null;
|
|
26510
|
+
order_id: string | null;
|
|
26511
|
+
order_number: string | null;
|
|
26512
|
+
print_job_id: string | null;
|
|
26513
|
+
printer_id: string | null;
|
|
26514
|
+
retry_class: string | null;
|
|
26515
|
+
slip_job_id: string;
|
|
26516
|
+
status: string;
|
|
26517
|
+
updated_at: string;
|
|
26518
|
+
}[];
|
|
26519
|
+
SetofOptions: {
|
|
26520
|
+
from: "*";
|
|
26521
|
+
to: "logistics_slip_shipping_note";
|
|
26522
|
+
isOneToOne: false;
|
|
26523
|
+
isSetofReturn: true;
|
|
26524
|
+
};
|
|
26525
|
+
};
|
|
26526
|
+
logistics_slip_note_finish: {
|
|
26527
|
+
Args: {
|
|
26528
|
+
_error?: string;
|
|
26529
|
+
_error_code?: string;
|
|
26530
|
+
_fulfillment_order_id?: string;
|
|
26531
|
+
_id: string;
|
|
26532
|
+
_ok: boolean;
|
|
26533
|
+
_print_job_id?: string;
|
|
26534
|
+
_status?: string;
|
|
26535
|
+
};
|
|
26536
|
+
Returns: undefined;
|
|
26537
|
+
};
|
|
26538
|
+
logistics_slip_note_keep_waiting: {
|
|
26539
|
+
Args: {
|
|
26540
|
+
_class?: string;
|
|
26541
|
+
_id: string;
|
|
26542
|
+
_reason: string;
|
|
26543
|
+
};
|
|
26544
|
+
Returns: undefined;
|
|
26545
|
+
};
|
|
26546
|
+
logistics_sticker_follows_slip: {
|
|
26547
|
+
Args: never;
|
|
26548
|
+
Returns: boolean;
|
|
26549
|
+
};
|
|
26550
|
+
logistics_subtract_working_minutes: {
|
|
26551
|
+
Args: {
|
|
26552
|
+
p_deadline: string;
|
|
26553
|
+
p_max_workdays?: number;
|
|
26554
|
+
p_minutes: number;
|
|
26555
|
+
};
|
|
26556
|
+
Returns: import("./types").Json;
|
|
26557
|
+
};
|
|
26558
|
+
logistics_supersede_stale_tasks: {
|
|
26559
|
+
Args: {
|
|
26560
|
+
p_keep: string[];
|
|
26561
|
+
p_order_ref: string;
|
|
26562
|
+
p_run_id: string;
|
|
26563
|
+
p_user_id: string;
|
|
26564
|
+
};
|
|
26565
|
+
Returns: number;
|
|
26566
|
+
};
|
|
26567
|
+
logistics_sync_pick_queue: {
|
|
26568
|
+
Args: never;
|
|
26569
|
+
Returns: import("./types").Json;
|
|
26570
|
+
};
|
|
26571
|
+
logistics_sync_task_carriers: {
|
|
26572
|
+
Args: {
|
|
26573
|
+
p_order_ref?: string;
|
|
26574
|
+
};
|
|
26575
|
+
Returns: number;
|
|
26576
|
+
};
|
|
26577
|
+
logistics_task_owner: {
|
|
26578
|
+
Args: {
|
|
26579
|
+
p_task_type: string;
|
|
26580
|
+
};
|
|
26581
|
+
Returns: string;
|
|
26582
|
+
};
|
|
26583
|
+
logistics_task_pick_minutes: {
|
|
26584
|
+
Args: {
|
|
26585
|
+
p_payload: import("./types").Json;
|
|
26586
|
+
p_settings: import("./types").Json;
|
|
26587
|
+
};
|
|
26588
|
+
Returns: number;
|
|
26589
|
+
};
|
|
26590
|
+
logistics_task_retention_days: {
|
|
26591
|
+
Args: never;
|
|
26592
|
+
Returns: number;
|
|
26593
|
+
};
|
|
26594
|
+
logistics_tick_ping: {
|
|
26595
|
+
Args: never;
|
|
26596
|
+
Returns: string;
|
|
26597
|
+
};
|
|
26598
|
+
logistics_timezone_options: {
|
|
26599
|
+
Args: never;
|
|
26600
|
+
Returns: {
|
|
26601
|
+
name: string;
|
|
26602
|
+
}[];
|
|
26603
|
+
};
|
|
26604
|
+
logistics_trace: {
|
|
26605
|
+
Args: {
|
|
26606
|
+
p: import("./types").Json;
|
|
26607
|
+
};
|
|
26608
|
+
Returns: string;
|
|
26609
|
+
};
|
|
26610
|
+
logistics_trace_all_orders: {
|
|
26611
|
+
Args: {
|
|
26612
|
+
p_limit?: number;
|
|
26613
|
+
p_search?: string;
|
|
26614
|
+
};
|
|
26615
|
+
Returns: import("./types").Json;
|
|
26616
|
+
};
|
|
26617
|
+
logistics_trace_archive_order: {
|
|
26618
|
+
Args: {
|
|
26619
|
+
p_order_ref: string;
|
|
26620
|
+
p_reason: string;
|
|
26621
|
+
};
|
|
26622
|
+
Returns: number;
|
|
26623
|
+
};
|
|
26624
|
+
logistics_trace_batch: {
|
|
26625
|
+
Args: {
|
|
26626
|
+
p: import("./types").Json;
|
|
26627
|
+
};
|
|
26628
|
+
Returns: number;
|
|
26629
|
+
};
|
|
26630
|
+
logistics_trace_derive: {
|
|
26631
|
+
Args: {
|
|
26632
|
+
p: import("./types").Json;
|
|
26633
|
+
};
|
|
26634
|
+
Returns: number;
|
|
26635
|
+
};
|
|
26636
|
+
logistics_trace_node: {
|
|
26637
|
+
Args: {
|
|
26638
|
+
p_op?: string;
|
|
26639
|
+
p_status?: string;
|
|
26640
|
+
p_table: string;
|
|
26641
|
+
};
|
|
26642
|
+
Returns: string;
|
|
26643
|
+
};
|
|
26644
|
+
logistics_trace_order_journey_start: {
|
|
26645
|
+
Args: {
|
|
26646
|
+
p_order_id: string;
|
|
26647
|
+
p_reason?: string;
|
|
26648
|
+
};
|
|
26649
|
+
Returns: string;
|
|
26650
|
+
};
|
|
26651
|
+
logistics_trace_order_origin: {
|
|
26652
|
+
Args: {
|
|
26653
|
+
p_order_id: string;
|
|
26654
|
+
};
|
|
26655
|
+
Returns: undefined;
|
|
26656
|
+
};
|
|
26657
|
+
logistics_trace_order_overview: {
|
|
26658
|
+
Args: {
|
|
26659
|
+
p_error_class?: string;
|
|
26660
|
+
p_limit?: number;
|
|
26661
|
+
p_search?: string;
|
|
26662
|
+
p_since?: string;
|
|
26663
|
+
p_source?: string;
|
|
26664
|
+
p_state?: string;
|
|
26665
|
+
p_step?: string;
|
|
26666
|
+
};
|
|
26667
|
+
Returns: import("./types").Json;
|
|
26668
|
+
};
|
|
26669
|
+
logistics_trace_order_state: {
|
|
26670
|
+
Args: {
|
|
26671
|
+
p_order_ref: string;
|
|
26672
|
+
};
|
|
26673
|
+
Returns: import("./types").Json;
|
|
26674
|
+
};
|
|
26675
|
+
logistics_trace_order_step: {
|
|
26676
|
+
Args: {
|
|
26677
|
+
p_class?: string;
|
|
26678
|
+
p_decision?: string;
|
|
26679
|
+
p_error?: string;
|
|
26680
|
+
p_next_step?: string;
|
|
26681
|
+
p_node: string;
|
|
26682
|
+
p_order_id: string;
|
|
26683
|
+
p_reason?: string;
|
|
26684
|
+
p_status: string;
|
|
26685
|
+
p_step: string;
|
|
26686
|
+
};
|
|
26687
|
+
Returns: undefined;
|
|
26688
|
+
};
|
|
26689
|
+
logistics_trace_orders: {
|
|
26690
|
+
Args: {
|
|
26691
|
+
p_limit?: number;
|
|
26692
|
+
p_search?: string;
|
|
26693
|
+
p_since?: string;
|
|
26694
|
+
p_status?: string;
|
|
26695
|
+
};
|
|
26696
|
+
Returns: import("./types").Json;
|
|
26697
|
+
};
|
|
26698
|
+
logistics_trace_pick_state: {
|
|
23853
26699
|
Args: {
|
|
23854
|
-
|
|
26700
|
+
p_order_number: string;
|
|
23855
26701
|
};
|
|
23856
|
-
Returns:
|
|
26702
|
+
Returns: undefined;
|
|
23857
26703
|
};
|
|
23858
|
-
|
|
26704
|
+
logistics_trace_progress: {
|
|
23859
26705
|
Args: {
|
|
23860
|
-
|
|
26706
|
+
p_limit?: number;
|
|
23861
26707
|
};
|
|
23862
26708
|
Returns: import("./types").Json;
|
|
23863
26709
|
};
|
|
23864
|
-
|
|
23865
|
-
Args: never;
|
|
23866
|
-
Returns: number;
|
|
23867
|
-
};
|
|
23868
|
-
logistics_set_order_priority: {
|
|
26710
|
+
logistics_trace_progress_order: {
|
|
23869
26711
|
Args: {
|
|
23870
26712
|
p_order_ref: string;
|
|
23871
|
-
p_priority: number;
|
|
23872
|
-
p_user_id?: string;
|
|
23873
26713
|
};
|
|
23874
|
-
Returns:
|
|
26714
|
+
Returns: import("./types").Json;
|
|
23875
26715
|
};
|
|
23876
|
-
|
|
26716
|
+
logistics_trace_redact: {
|
|
23877
26717
|
Args: {
|
|
23878
|
-
|
|
23879
|
-
p_pick_day: string;
|
|
26718
|
+
p: import("./types").Json;
|
|
23880
26719
|
};
|
|
23881
26720
|
Returns: import("./types").Json;
|
|
23882
26721
|
};
|
|
23883
|
-
|
|
26722
|
+
logistics_trace_source_node: {
|
|
23884
26723
|
Args: {
|
|
23885
|
-
|
|
23886
|
-
p_ts: string;
|
|
26724
|
+
p_source: string;
|
|
23887
26725
|
};
|
|
23888
26726
|
Returns: string;
|
|
23889
26727
|
};
|
|
23890
|
-
|
|
26728
|
+
logistics_trace_step_once: {
|
|
23891
26729
|
Args: {
|
|
23892
|
-
|
|
23893
|
-
|
|
23894
|
-
|
|
26730
|
+
p_decision: string;
|
|
26731
|
+
p_next_step?: string;
|
|
26732
|
+
p_node: string;
|
|
26733
|
+
p_order_id: string;
|
|
26734
|
+
p_reason: string;
|
|
26735
|
+
p_status: string;
|
|
26736
|
+
p_step: string;
|
|
23895
26737
|
};
|
|
23896
|
-
Returns:
|
|
23897
|
-
};
|
|
23898
|
-
logistics_sticker_follows_slip: {
|
|
23899
|
-
Args: never;
|
|
23900
|
-
Returns: boolean;
|
|
26738
|
+
Returns: undefined;
|
|
23901
26739
|
};
|
|
23902
|
-
|
|
26740
|
+
logistics_trace_stock_check: {
|
|
23903
26741
|
Args: {
|
|
23904
|
-
|
|
23905
|
-
p_order_ref: string;
|
|
23906
|
-
p_run_id: string;
|
|
23907
|
-
p_user_id: string;
|
|
26742
|
+
p_order_id: string;
|
|
23908
26743
|
};
|
|
23909
|
-
Returns:
|
|
23910
|
-
};
|
|
23911
|
-
logistics_sync_pick_queue: {
|
|
23912
|
-
Args: never;
|
|
23913
|
-
Returns: import("./types").Json;
|
|
26744
|
+
Returns: undefined;
|
|
23914
26745
|
};
|
|
23915
|
-
|
|
26746
|
+
logistics_trace_timeline: {
|
|
23916
26747
|
Args: {
|
|
23917
|
-
|
|
26748
|
+
p_limit?: number;
|
|
26749
|
+
p_order_ref: string;
|
|
23918
26750
|
};
|
|
23919
|
-
Returns:
|
|
26751
|
+
Returns: import("./types").Json;
|
|
23920
26752
|
};
|
|
23921
|
-
|
|
26753
|
+
logistics_trace_version_events: {
|
|
23922
26754
|
Args: {
|
|
23923
|
-
|
|
26755
|
+
p_from?: string;
|
|
26756
|
+
p_limit?: number;
|
|
26757
|
+
p_order_ref: string;
|
|
26758
|
+
p_to?: string;
|
|
26759
|
+
p_version_id: string;
|
|
23924
26760
|
};
|
|
23925
|
-
Returns:
|
|
26761
|
+
Returns: import("./types").Json;
|
|
23926
26762
|
};
|
|
23927
|
-
|
|
26763
|
+
logistics_trace_versions: {
|
|
23928
26764
|
Args: {
|
|
23929
|
-
|
|
23930
|
-
p_settings: import("./types").Json;
|
|
26765
|
+
p_order_ref: string;
|
|
23931
26766
|
};
|
|
23932
|
-
Returns:
|
|
26767
|
+
Returns: import("./types").Json;
|
|
23933
26768
|
};
|
|
23934
26769
|
logistics_upsert_task: {
|
|
23935
26770
|
Args: {
|
|
@@ -23950,6 +26785,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23950
26785
|
};
|
|
23951
26786
|
Returns: string;
|
|
23952
26787
|
};
|
|
26788
|
+
logistics_valid_timezone: {
|
|
26789
|
+
Args: {
|
|
26790
|
+
_tz: string;
|
|
26791
|
+
};
|
|
26792
|
+
Returns: boolean;
|
|
26793
|
+
};
|
|
26794
|
+
logistics_working_hours_status: {
|
|
26795
|
+
Args: never;
|
|
26796
|
+
Returns: import("./types").Json;
|
|
26797
|
+
};
|
|
23953
26798
|
logistics_write_buffer_layer_positions: {
|
|
23954
26799
|
Args: {
|
|
23955
26800
|
p_buffer_id: string;
|
|
@@ -24011,6 +26856,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24011
26856
|
permission: string;
|
|
24012
26857
|
}[];
|
|
24013
26858
|
};
|
|
26859
|
+
next_cart_day_seq: {
|
|
26860
|
+
Args: {
|
|
26861
|
+
p_date: string;
|
|
26862
|
+
};
|
|
26863
|
+
Returns: number;
|
|
26864
|
+
};
|
|
24014
26865
|
next_manufacture_partij: {
|
|
24015
26866
|
Args: {
|
|
24016
26867
|
_tenant_id: string;
|
|
@@ -24115,6 +26966,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24115
26966
|
online: boolean;
|
|
24116
26967
|
}[];
|
|
24117
26968
|
};
|
|
26969
|
+
pick_apply_buffer_events: {
|
|
26970
|
+
Args: never;
|
|
26971
|
+
Returns: import("./types").Json;
|
|
26972
|
+
};
|
|
24118
26973
|
pick_available_pick_days: {
|
|
24119
26974
|
Args: {
|
|
24120
26975
|
_max_days?: number;
|
|
@@ -24498,6 +27353,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24498
27353
|
};
|
|
24499
27354
|
Returns: undefined;
|
|
24500
27355
|
};
|
|
27356
|
+
pick_report_missing_cart_plan: {
|
|
27357
|
+
Args: never;
|
|
27358
|
+
Returns: import("./types").Json;
|
|
27359
|
+
};
|
|
24501
27360
|
pick_reprint_cart: {
|
|
24502
27361
|
Args: {
|
|
24503
27362
|
_cart_id: string;
|
|
@@ -24954,6 +27813,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24954
27813
|
};
|
|
24955
27814
|
Returns: undefined;
|
|
24956
27815
|
};
|
|
27816
|
+
prune_floriday_api_log: {
|
|
27817
|
+
Args: never;
|
|
27818
|
+
Returns: number;
|
|
27819
|
+
};
|
|
27820
|
+
quote_ack_work_order: {
|
|
27821
|
+
Args: {
|
|
27822
|
+
_queue_id: string;
|
|
27823
|
+
_werkbon_id: string;
|
|
27824
|
+
_werkbon_nummer?: string;
|
|
27825
|
+
};
|
|
27826
|
+
Returns: boolean;
|
|
27827
|
+
};
|
|
24957
27828
|
quote_create_from_source: {
|
|
24958
27829
|
Args: {
|
|
24959
27830
|
_payload?: import("./types").Json;
|
|
@@ -24962,6 +27833,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24962
27833
|
};
|
|
24963
27834
|
Returns: string;
|
|
24964
27835
|
};
|
|
27836
|
+
quote_fail_work_order: {
|
|
27837
|
+
Args: {
|
|
27838
|
+
_foutmelding: string;
|
|
27839
|
+
_queue_id: string;
|
|
27840
|
+
};
|
|
27841
|
+
Returns: boolean;
|
|
27842
|
+
};
|
|
24965
27843
|
quote_get_billable_lines: {
|
|
24966
27844
|
Args: {
|
|
24967
27845
|
_quotation_id: string;
|
|
@@ -24978,6 +27856,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24978
27856
|
Args: never;
|
|
24979
27857
|
Returns: import("./types").Json;
|
|
24980
27858
|
};
|
|
27859
|
+
quote_list_pending_work_orders: {
|
|
27860
|
+
Args: {
|
|
27861
|
+
_limit?: number;
|
|
27862
|
+
};
|
|
27863
|
+
Returns: import("./types").Json;
|
|
27864
|
+
};
|
|
24981
27865
|
quote_list_sources: {
|
|
24982
27866
|
Args: {
|
|
24983
27867
|
_limit?: number;
|
|
@@ -24985,6 +27869,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24985
27869
|
};
|
|
24986
27870
|
Returns: import("./types").Json;
|
|
24987
27871
|
};
|
|
27872
|
+
quote_queue_follow_up: {
|
|
27873
|
+
Args: {
|
|
27874
|
+
_offerte_id: string;
|
|
27875
|
+
};
|
|
27876
|
+
Returns: string;
|
|
27877
|
+
};
|
|
24988
27878
|
recompute_all_reserved_stock: {
|
|
24989
27879
|
Args: never;
|
|
24990
27880
|
Returns: undefined;
|
|
@@ -25038,6 +27928,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25038
27928
|
};
|
|
25039
27929
|
Returns: boolean;
|
|
25040
27930
|
};
|
|
27931
|
+
release_job_lock: {
|
|
27932
|
+
Args: {
|
|
27933
|
+
_key: string;
|
|
27934
|
+
};
|
|
27935
|
+
Returns: undefined;
|
|
27936
|
+
};
|
|
25041
27937
|
release_local_pdf_job: {
|
|
25042
27938
|
Args: {
|
|
25043
27939
|
_job_id: string;
|
|
@@ -25381,6 +28277,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25381
28277
|
};
|
|
25382
28278
|
Returns: number;
|
|
25383
28279
|
};
|
|
28280
|
+
schedule_floriday_catalog_prices_sync: {
|
|
28281
|
+
Args: {
|
|
28282
|
+
p_apikey: string;
|
|
28283
|
+
p_url: string;
|
|
28284
|
+
};
|
|
28285
|
+
Returns: number;
|
|
28286
|
+
};
|
|
25384
28287
|
schedule_floriday_clock_presales_sync: {
|
|
25385
28288
|
Args: {
|
|
25386
28289
|
p_apikey: string;
|
|
@@ -25653,6 +28556,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25653
28556
|
p_end_time: string;
|
|
25654
28557
|
};
|
|
25655
28558
|
Returns: import("./types").Json;
|
|
28559
|
+
} | {
|
|
28560
|
+
Args: {
|
|
28561
|
+
p_end_lat?: number;
|
|
28562
|
+
p_end_lng?: number;
|
|
28563
|
+
p_log_id: string;
|
|
28564
|
+
};
|
|
28565
|
+
Returns: {
|
|
28566
|
+
auto_stop_reason: string | null;
|
|
28567
|
+
auto_stopped: boolean;
|
|
28568
|
+
created_at: string;
|
|
28569
|
+
current_latitude: number | null;
|
|
28570
|
+
current_longitude: number | null;
|
|
28571
|
+
current_position_updated_at: string | null;
|
|
28572
|
+
employee_id: string;
|
|
28573
|
+
end_latitude: number | null;
|
|
28574
|
+
end_longitude: number | null;
|
|
28575
|
+
end_time: string | null;
|
|
28576
|
+
eta_distance_km: number | null;
|
|
28577
|
+
eta_minutes: number | null;
|
|
28578
|
+
eta_updated_at: string | null;
|
|
28579
|
+
hour_category: string | null;
|
|
28580
|
+
id: string;
|
|
28581
|
+
last_reminder_at: string | null;
|
|
28582
|
+
notes: string | null;
|
|
28583
|
+
overtime_hours: number;
|
|
28584
|
+
overtime_type: string | null;
|
|
28585
|
+
regular_hours: number;
|
|
28586
|
+
reminder_count: number;
|
|
28587
|
+
requires_review: boolean;
|
|
28588
|
+
start_latitude: number | null;
|
|
28589
|
+
start_longitude: number | null;
|
|
28590
|
+
start_time: string;
|
|
28591
|
+
travel_cost: number | null;
|
|
28592
|
+
travel_distance_km: number | null;
|
|
28593
|
+
travel_duration_min: number | null;
|
|
28594
|
+
travel_time_minutes: number | null;
|
|
28595
|
+
type: string;
|
|
28596
|
+
updated_at: string;
|
|
28597
|
+
work_order_id: string | null;
|
|
28598
|
+
};
|
|
28599
|
+
SetofOptions: {
|
|
28600
|
+
from: "*";
|
|
28601
|
+
to: "time_logs";
|
|
28602
|
+
isOneToOne: true;
|
|
28603
|
+
isSetofReturn: false;
|
|
28604
|
+
};
|
|
25656
28605
|
};
|
|
25657
28606
|
swap_cart_layer_positions: {
|
|
25658
28607
|
Args: {
|
|
@@ -25681,6 +28630,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25681
28630
|
};
|
|
25682
28631
|
Returns: undefined;
|
|
25683
28632
|
};
|
|
28633
|
+
sync_floriday_prices_into_price_groups: {
|
|
28634
|
+
Args: never;
|
|
28635
|
+
Returns: number;
|
|
28636
|
+
};
|
|
25684
28637
|
sync_layer_stock: {
|
|
25685
28638
|
Args: {
|
|
25686
28639
|
p_product_id: string;
|
|
@@ -25726,6 +28679,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25726
28679
|
row_count: number;
|
|
25727
28680
|
}[];
|
|
25728
28681
|
};
|
|
28682
|
+
try_acquire_job_lock: {
|
|
28683
|
+
Args: {
|
|
28684
|
+
_key: string;
|
|
28685
|
+
_owner?: string;
|
|
28686
|
+
_seconds?: number;
|
|
28687
|
+
};
|
|
28688
|
+
Returns: boolean;
|
|
28689
|
+
};
|
|
25729
28690
|
try_debtor_lock: {
|
|
25730
28691
|
Args: {
|
|
25731
28692
|
_group_key: string;
|
|
@@ -25797,14 +28758,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25797
28758
|
};
|
|
25798
28759
|
Returns: undefined;
|
|
25799
28760
|
};
|
|
28761
|
+
uren_employee_day_hours: {
|
|
28762
|
+
Args: {
|
|
28763
|
+
_day: string;
|
|
28764
|
+
_employee_id: string;
|
|
28765
|
+
};
|
|
28766
|
+
Returns: number;
|
|
28767
|
+
};
|
|
25800
28768
|
uren_is_beheerder: {
|
|
25801
28769
|
Args: never;
|
|
25802
28770
|
Returns: boolean;
|
|
25803
28771
|
};
|
|
28772
|
+
uren_list_medewerkers: {
|
|
28773
|
+
Args: never;
|
|
28774
|
+
Returns: {
|
|
28775
|
+
avatar_url: string;
|
|
28776
|
+
color: string;
|
|
28777
|
+
display_name: string;
|
|
28778
|
+
email: string;
|
|
28779
|
+
hours_fri: number;
|
|
28780
|
+
hours_mon: number;
|
|
28781
|
+
hours_thu: number;
|
|
28782
|
+
hours_tue: number;
|
|
28783
|
+
hours_wed: number;
|
|
28784
|
+
id: string;
|
|
28785
|
+
is_active: boolean;
|
|
28786
|
+
leave_balance_hours: number;
|
|
28787
|
+
persnr: string;
|
|
28788
|
+
phone: string;
|
|
28789
|
+
roles: string[];
|
|
28790
|
+
}[];
|
|
28791
|
+
};
|
|
25804
28792
|
uren_my_monteur_id: {
|
|
25805
28793
|
Args: never;
|
|
25806
28794
|
Returns: string;
|
|
25807
28795
|
};
|
|
28796
|
+
uren_planning_dagagenda: {
|
|
28797
|
+
Args: {
|
|
28798
|
+
_tot: string;
|
|
28799
|
+
_van: string;
|
|
28800
|
+
};
|
|
28801
|
+
Returns: {
|
|
28802
|
+
end_at: string;
|
|
28803
|
+
id: string;
|
|
28804
|
+
is_tweede_man: boolean;
|
|
28805
|
+
notes: string;
|
|
28806
|
+
start_at: string;
|
|
28807
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
28808
|
+
werkbon_id: string;
|
|
28809
|
+
}[];
|
|
28810
|
+
};
|
|
28811
|
+
uren_set_planning_item_status: {
|
|
28812
|
+
Args: {
|
|
28813
|
+
_id: string;
|
|
28814
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
28815
|
+
};
|
|
28816
|
+
Returns: undefined;
|
|
28817
|
+
};
|
|
28818
|
+
uren_set_planning_status: {
|
|
28819
|
+
Args: {
|
|
28820
|
+
p_status: Database["public"]["Enums"]["planning_item_status"];
|
|
28821
|
+
p_werkbon_id: string;
|
|
28822
|
+
};
|
|
28823
|
+
Returns: number;
|
|
28824
|
+
};
|
|
28825
|
+
uren_stop_time_log: {
|
|
28826
|
+
Args: {
|
|
28827
|
+
p_employee_id: string;
|
|
28828
|
+
p_end_lat?: number;
|
|
28829
|
+
p_end_lng?: number;
|
|
28830
|
+
p_end_time: string;
|
|
28831
|
+
};
|
|
28832
|
+
Returns: import("./types").Json;
|
|
28833
|
+
};
|
|
28834
|
+
uren_switch_time_log: {
|
|
28835
|
+
Args: {
|
|
28836
|
+
p_employee_id: string;
|
|
28837
|
+
p_start_lat?: number;
|
|
28838
|
+
p_start_lng?: number;
|
|
28839
|
+
p_type: string;
|
|
28840
|
+
p_work_order_id?: string;
|
|
28841
|
+
};
|
|
28842
|
+
Returns: import("./types").Json;
|
|
28843
|
+
};
|
|
28844
|
+
uren_sync_sick_time_off: {
|
|
28845
|
+
Args: {
|
|
28846
|
+
_period_id: string;
|
|
28847
|
+
};
|
|
28848
|
+
Returns: number;
|
|
28849
|
+
};
|
|
28850
|
+
voorraad_cleanup_old_rows: {
|
|
28851
|
+
Args: never;
|
|
28852
|
+
Returns: import("./types").Json;
|
|
28853
|
+
};
|
|
25808
28854
|
wake_print_queue: {
|
|
25809
28855
|
Args: {
|
|
25810
28856
|
_min_interval_ms?: number;
|
|
@@ -25843,6 +28889,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25843
28889
|
};
|
|
25844
28890
|
Returns: import("./types").Json;
|
|
25845
28891
|
};
|
|
28892
|
+
wo_list_offerte_requests: {
|
|
28893
|
+
Args: {
|
|
28894
|
+
_status?: string;
|
|
28895
|
+
};
|
|
28896
|
+
Returns: import("./types").Json;
|
|
28897
|
+
};
|
|
28898
|
+
wo_process_offerte_request: {
|
|
28899
|
+
Args: {
|
|
28900
|
+
_queue_id: string;
|
|
28901
|
+
};
|
|
28902
|
+
Returns: import("./types").Json;
|
|
28903
|
+
};
|
|
28904
|
+
wo_reject_offerte_request: {
|
|
28905
|
+
Args: {
|
|
28906
|
+
_queue_id: string;
|
|
28907
|
+
_reden?: string;
|
|
28908
|
+
};
|
|
28909
|
+
Returns: import("./types").Json;
|
|
28910
|
+
};
|
|
25846
28911
|
wo_set_status: {
|
|
25847
28912
|
Args: {
|
|
25848
28913
|
_reason?: string;
|