@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
|
@@ -18,6 +18,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
18
18
|
Row: {
|
|
19
19
|
auto_print_delivery_note: boolean;
|
|
20
20
|
auto_process_paused: boolean;
|
|
21
|
+
control_bulk_max_carts: number;
|
|
21
22
|
created_at: string;
|
|
22
23
|
extra_pick_days_with_stickers: number;
|
|
23
24
|
id: string;
|
|
@@ -35,6 +36,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
35
36
|
Insert: {
|
|
36
37
|
auto_print_delivery_note?: boolean;
|
|
37
38
|
auto_process_paused?: boolean;
|
|
39
|
+
control_bulk_max_carts?: number;
|
|
38
40
|
created_at?: string;
|
|
39
41
|
extra_pick_days_with_stickers?: number;
|
|
40
42
|
id?: string;
|
|
@@ -52,6 +54,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
52
54
|
Update: {
|
|
53
55
|
auto_print_delivery_note?: boolean;
|
|
54
56
|
auto_process_paused?: boolean;
|
|
57
|
+
control_bulk_max_carts?: number;
|
|
55
58
|
created_at?: string;
|
|
56
59
|
extra_pick_days_with_stickers?: number;
|
|
57
60
|
id?: string;
|
|
@@ -1394,6 +1397,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1394
1397
|
id: string;
|
|
1395
1398
|
notes: string | null;
|
|
1396
1399
|
performed_at: string;
|
|
1400
|
+
request_key: string | null;
|
|
1397
1401
|
rescheduled_count: number;
|
|
1398
1402
|
stock_consumed_at: string | null;
|
|
1399
1403
|
total_carts: number;
|
|
@@ -1408,6 +1412,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1408
1412
|
id?: string;
|
|
1409
1413
|
notes?: string | null;
|
|
1410
1414
|
performed_at?: string;
|
|
1415
|
+
request_key?: string | null;
|
|
1411
1416
|
rescheduled_count?: number;
|
|
1412
1417
|
stock_consumed_at?: string | null;
|
|
1413
1418
|
total_carts?: number;
|
|
@@ -1422,6 +1427,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1422
1427
|
id?: string;
|
|
1423
1428
|
notes?: string | null;
|
|
1424
1429
|
performed_at?: string;
|
|
1430
|
+
request_key?: string | null;
|
|
1425
1431
|
rescheduled_count?: number;
|
|
1426
1432
|
stock_consumed_at?: string | null;
|
|
1427
1433
|
total_carts?: number;
|
|
@@ -1434,9 +1440,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1434
1440
|
Row: {
|
|
1435
1441
|
assigned_at: string;
|
|
1436
1442
|
cart_index: number;
|
|
1437
|
-
cart_number: string
|
|
1443
|
+
cart_number: string;
|
|
1438
1444
|
day_seq: number | null;
|
|
1439
1445
|
delivered_at: string | null;
|
|
1446
|
+
engine_cart_label: string | null;
|
|
1440
1447
|
id: string;
|
|
1441
1448
|
order_id: string;
|
|
1442
1449
|
order_source: string;
|
|
@@ -1446,9 +1453,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1446
1453
|
Insert: {
|
|
1447
1454
|
assigned_at?: string;
|
|
1448
1455
|
cart_index: number;
|
|
1449
|
-
cart_number
|
|
1456
|
+
cart_number: string;
|
|
1450
1457
|
day_seq?: number | null;
|
|
1451
1458
|
delivered_at?: string | null;
|
|
1459
|
+
engine_cart_label?: string | null;
|
|
1452
1460
|
id?: string;
|
|
1453
1461
|
order_id: string;
|
|
1454
1462
|
order_source: string;
|
|
@@ -1458,9 +1466,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1458
1466
|
Update: {
|
|
1459
1467
|
assigned_at?: string;
|
|
1460
1468
|
cart_index?: number;
|
|
1461
|
-
cart_number?: string
|
|
1469
|
+
cart_number?: string;
|
|
1462
1470
|
day_seq?: number | null;
|
|
1463
1471
|
delivered_at?: string | null;
|
|
1472
|
+
engine_cart_label?: string | null;
|
|
1464
1473
|
id?: string;
|
|
1465
1474
|
order_id?: string;
|
|
1466
1475
|
order_source?: string;
|
|
@@ -1835,6 +1844,42 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
1835
1844
|
};
|
|
1836
1845
|
Relationships: [];
|
|
1837
1846
|
};
|
|
1847
|
+
customer_assortment_items: {
|
|
1848
|
+
Row: {
|
|
1849
|
+
created_at: string;
|
|
1850
|
+
customer_key: string;
|
|
1851
|
+
id: string;
|
|
1852
|
+
in_assortment: boolean;
|
|
1853
|
+
manual_override: boolean;
|
|
1854
|
+
source: string;
|
|
1855
|
+
synced_at: string | null;
|
|
1856
|
+
trade_item_key: string;
|
|
1857
|
+
updated_at: string;
|
|
1858
|
+
};
|
|
1859
|
+
Insert: {
|
|
1860
|
+
created_at?: string;
|
|
1861
|
+
customer_key: string;
|
|
1862
|
+
id?: string;
|
|
1863
|
+
in_assortment?: boolean;
|
|
1864
|
+
manual_override?: boolean;
|
|
1865
|
+
source?: string;
|
|
1866
|
+
synced_at?: string | null;
|
|
1867
|
+
trade_item_key: string;
|
|
1868
|
+
updated_at?: string;
|
|
1869
|
+
};
|
|
1870
|
+
Update: {
|
|
1871
|
+
created_at?: string;
|
|
1872
|
+
customer_key?: string;
|
|
1873
|
+
id?: string;
|
|
1874
|
+
in_assortment?: boolean;
|
|
1875
|
+
manual_override?: boolean;
|
|
1876
|
+
source?: string;
|
|
1877
|
+
synced_at?: string | null;
|
|
1878
|
+
trade_item_key?: string;
|
|
1879
|
+
updated_at?: string;
|
|
1880
|
+
};
|
|
1881
|
+
Relationships: [];
|
|
1882
|
+
};
|
|
1838
1883
|
customer_audit_log: {
|
|
1839
1884
|
Row: {
|
|
1840
1885
|
action: string;
|
|
@@ -2167,6 +2212,8 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2167
2212
|
created_at: string;
|
|
2168
2213
|
currency: string;
|
|
2169
2214
|
distribute_over: string | null;
|
|
2215
|
+
external_id: string | null;
|
|
2216
|
+
external_synced_at: string | null;
|
|
2170
2217
|
group_type: string;
|
|
2171
2218
|
handling_fee: number | null;
|
|
2172
2219
|
id: string;
|
|
@@ -2179,6 +2226,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2179
2226
|
rounding: string;
|
|
2180
2227
|
rounding_step: number;
|
|
2181
2228
|
sort_order: number;
|
|
2229
|
+
source: string;
|
|
2182
2230
|
unit: string;
|
|
2183
2231
|
updated_at: string;
|
|
2184
2232
|
};
|
|
@@ -2189,6 +2237,8 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2189
2237
|
created_at?: string;
|
|
2190
2238
|
currency?: string;
|
|
2191
2239
|
distribute_over?: string | null;
|
|
2240
|
+
external_id?: string | null;
|
|
2241
|
+
external_synced_at?: string | null;
|
|
2192
2242
|
group_type?: string;
|
|
2193
2243
|
handling_fee?: number | null;
|
|
2194
2244
|
id?: string;
|
|
@@ -2201,6 +2251,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2201
2251
|
rounding?: string;
|
|
2202
2252
|
rounding_step?: number;
|
|
2203
2253
|
sort_order?: number;
|
|
2254
|
+
source?: string;
|
|
2204
2255
|
unit?: string;
|
|
2205
2256
|
updated_at?: string;
|
|
2206
2257
|
};
|
|
@@ -2211,6 +2262,8 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2211
2262
|
created_at?: string;
|
|
2212
2263
|
currency?: string;
|
|
2213
2264
|
distribute_over?: string | null;
|
|
2265
|
+
external_id?: string | null;
|
|
2266
|
+
external_synced_at?: string | null;
|
|
2214
2267
|
group_type?: string;
|
|
2215
2268
|
handling_fee?: number | null;
|
|
2216
2269
|
id?: string;
|
|
@@ -2223,11 +2276,69 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2223
2276
|
rounding?: string;
|
|
2224
2277
|
rounding_step?: number;
|
|
2225
2278
|
sort_order?: number;
|
|
2279
|
+
source?: string;
|
|
2226
2280
|
unit?: string;
|
|
2227
2281
|
updated_at?: string;
|
|
2228
2282
|
};
|
|
2229
2283
|
Relationships: [];
|
|
2230
2284
|
};
|
|
2285
|
+
customer_product_stickers: {
|
|
2286
|
+
Row: {
|
|
2287
|
+
content_hash: string | null;
|
|
2288
|
+
created_at: string;
|
|
2289
|
+
customer_key: string;
|
|
2290
|
+
file_name: string;
|
|
2291
|
+
file_path: string;
|
|
2292
|
+
file_size: number | null;
|
|
2293
|
+
floriday_sticker_id: string | null;
|
|
2294
|
+
floriday_synced_at: string | null;
|
|
2295
|
+
height_mm: number | null;
|
|
2296
|
+
id: string;
|
|
2297
|
+
mime_type: string | null;
|
|
2298
|
+
source: string;
|
|
2299
|
+
trade_item_key: string;
|
|
2300
|
+
updated_at: string;
|
|
2301
|
+
uploaded_by: string | null;
|
|
2302
|
+
width_mm: number | null;
|
|
2303
|
+
};
|
|
2304
|
+
Insert: {
|
|
2305
|
+
content_hash?: string | null;
|
|
2306
|
+
created_at?: string;
|
|
2307
|
+
customer_key: string;
|
|
2308
|
+
file_name: string;
|
|
2309
|
+
file_path: string;
|
|
2310
|
+
file_size?: number | null;
|
|
2311
|
+
floriday_sticker_id?: string | null;
|
|
2312
|
+
floriday_synced_at?: string | null;
|
|
2313
|
+
height_mm?: number | null;
|
|
2314
|
+
id?: string;
|
|
2315
|
+
mime_type?: string | null;
|
|
2316
|
+
source?: string;
|
|
2317
|
+
trade_item_key: string;
|
|
2318
|
+
updated_at?: string;
|
|
2319
|
+
uploaded_by?: string | null;
|
|
2320
|
+
width_mm?: number | null;
|
|
2321
|
+
};
|
|
2322
|
+
Update: {
|
|
2323
|
+
content_hash?: string | null;
|
|
2324
|
+
created_at?: string;
|
|
2325
|
+
customer_key?: string;
|
|
2326
|
+
file_name?: string;
|
|
2327
|
+
file_path?: string;
|
|
2328
|
+
file_size?: number | null;
|
|
2329
|
+
floriday_sticker_id?: string | null;
|
|
2330
|
+
floriday_synced_at?: string | null;
|
|
2331
|
+
height_mm?: number | null;
|
|
2332
|
+
id?: string;
|
|
2333
|
+
mime_type?: string | null;
|
|
2334
|
+
source?: string;
|
|
2335
|
+
trade_item_key?: string;
|
|
2336
|
+
updated_at?: string;
|
|
2337
|
+
uploaded_by?: string | null;
|
|
2338
|
+
width_mm?: number | null;
|
|
2339
|
+
};
|
|
2340
|
+
Relationships: [];
|
|
2341
|
+
};
|
|
2231
2342
|
customer_selected_assortment: {
|
|
2232
2343
|
Row: {
|
|
2233
2344
|
article_number: string | null;
|
|
@@ -2276,6 +2387,30 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
2276
2387
|
referencedColumns: ["id"];
|
|
2277
2388
|
}];
|
|
2278
2389
|
};
|
|
2390
|
+
customer_sticker_settings: {
|
|
2391
|
+
Row: {
|
|
2392
|
+
created_at: string;
|
|
2393
|
+
customer_key: string;
|
|
2394
|
+
height_mm: number;
|
|
2395
|
+
updated_at: string;
|
|
2396
|
+
width_mm: number;
|
|
2397
|
+
};
|
|
2398
|
+
Insert: {
|
|
2399
|
+
created_at?: string;
|
|
2400
|
+
customer_key: string;
|
|
2401
|
+
height_mm?: number;
|
|
2402
|
+
updated_at?: string;
|
|
2403
|
+
width_mm?: number;
|
|
2404
|
+
};
|
|
2405
|
+
Update: {
|
|
2406
|
+
created_at?: string;
|
|
2407
|
+
customer_key?: string;
|
|
2408
|
+
height_mm?: number;
|
|
2409
|
+
updated_at?: string;
|
|
2410
|
+
width_mm?: number;
|
|
2411
|
+
};
|
|
2412
|
+
Relationships: [];
|
|
2413
|
+
};
|
|
2279
2414
|
customer_trade_settings: {
|
|
2280
2415
|
Row: {
|
|
2281
2416
|
category: string;
|
|
@@ -3601,6 +3736,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
3601
3736
|
};
|
|
3602
3737
|
email_auth_outbox: {
|
|
3603
3738
|
Row: {
|
|
3739
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
3604
3740
|
attempts: number;
|
|
3605
3741
|
bcc_addresses: string[];
|
|
3606
3742
|
cc_addresses: string[];
|
|
@@ -3623,6 +3759,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
3623
3759
|
updated_at: string;
|
|
3624
3760
|
};
|
|
3625
3761
|
Insert: {
|
|
3762
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
3626
3763
|
attempts?: number;
|
|
3627
3764
|
bcc_addresses?: string[];
|
|
3628
3765
|
cc_addresses?: string[];
|
|
@@ -3645,6 +3782,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
3645
3782
|
updated_at?: string;
|
|
3646
3783
|
};
|
|
3647
3784
|
Update: {
|
|
3785
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
3648
3786
|
attempts?: number;
|
|
3649
3787
|
bcc_addresses?: string[];
|
|
3650
3788
|
cc_addresses?: string[];
|
|
@@ -5606,6 +5744,102 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
5606
5744
|
referencedColumns: ["id"];
|
|
5607
5745
|
}];
|
|
5608
5746
|
};
|
|
5747
|
+
floriday_api_log: {
|
|
5748
|
+
Row: {
|
|
5749
|
+
action: string | null;
|
|
5750
|
+
caller: string | null;
|
|
5751
|
+
connection_id: string | null;
|
|
5752
|
+
created_at: string;
|
|
5753
|
+
cursor_from: number | null;
|
|
5754
|
+
direction: string;
|
|
5755
|
+
duration_ms: number | null;
|
|
5756
|
+
environment: string | null;
|
|
5757
|
+
error: string | null;
|
|
5758
|
+
floriday_id: string | null;
|
|
5759
|
+
floriday_reference: string | null;
|
|
5760
|
+
http_status: number;
|
|
5761
|
+
id: string;
|
|
5762
|
+
item_count: number | null;
|
|
5763
|
+
kind: string | null;
|
|
5764
|
+
local_id: string | null;
|
|
5765
|
+
local_reference: string | null;
|
|
5766
|
+
method: string;
|
|
5767
|
+
module: string | null;
|
|
5768
|
+
ok: boolean;
|
|
5769
|
+
path: string;
|
|
5770
|
+
request: import("../integrations/supabase/types").Json | null;
|
|
5771
|
+
resource_type: string | null;
|
|
5772
|
+
response: import("../integrations/supabase/types").Json | null;
|
|
5773
|
+
write_log_id: string | null;
|
|
5774
|
+
};
|
|
5775
|
+
Insert: {
|
|
5776
|
+
action?: string | null;
|
|
5777
|
+
caller?: string | null;
|
|
5778
|
+
connection_id?: string | null;
|
|
5779
|
+
created_at?: string;
|
|
5780
|
+
cursor_from?: number | null;
|
|
5781
|
+
direction: string;
|
|
5782
|
+
duration_ms?: number | null;
|
|
5783
|
+
environment?: string | null;
|
|
5784
|
+
error?: string | null;
|
|
5785
|
+
floriday_id?: string | null;
|
|
5786
|
+
floriday_reference?: string | null;
|
|
5787
|
+
http_status?: number;
|
|
5788
|
+
id?: string;
|
|
5789
|
+
item_count?: number | null;
|
|
5790
|
+
kind?: string | null;
|
|
5791
|
+
local_id?: string | null;
|
|
5792
|
+
local_reference?: string | null;
|
|
5793
|
+
method: string;
|
|
5794
|
+
module?: string | null;
|
|
5795
|
+
ok?: boolean;
|
|
5796
|
+
path: string;
|
|
5797
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5798
|
+
resource_type?: string | null;
|
|
5799
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5800
|
+
write_log_id?: string | null;
|
|
5801
|
+
};
|
|
5802
|
+
Update: {
|
|
5803
|
+
action?: string | null;
|
|
5804
|
+
caller?: string | null;
|
|
5805
|
+
connection_id?: string | null;
|
|
5806
|
+
created_at?: string;
|
|
5807
|
+
cursor_from?: number | null;
|
|
5808
|
+
direction?: string;
|
|
5809
|
+
duration_ms?: number | null;
|
|
5810
|
+
environment?: string | null;
|
|
5811
|
+
error?: string | null;
|
|
5812
|
+
floriday_id?: string | null;
|
|
5813
|
+
floriday_reference?: string | null;
|
|
5814
|
+
http_status?: number;
|
|
5815
|
+
id?: string;
|
|
5816
|
+
item_count?: number | null;
|
|
5817
|
+
kind?: string | null;
|
|
5818
|
+
local_id?: string | null;
|
|
5819
|
+
local_reference?: string | null;
|
|
5820
|
+
method?: string;
|
|
5821
|
+
module?: string | null;
|
|
5822
|
+
ok?: boolean;
|
|
5823
|
+
path?: string;
|
|
5824
|
+
request?: import("../integrations/supabase/types").Json | null;
|
|
5825
|
+
resource_type?: string | null;
|
|
5826
|
+
response?: import("../integrations/supabase/types").Json | null;
|
|
5827
|
+
write_log_id?: string | null;
|
|
5828
|
+
};
|
|
5829
|
+
Relationships: [{
|
|
5830
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5831
|
+
columns: ["connection_id"];
|
|
5832
|
+
isOneToOne: false;
|
|
5833
|
+
referencedRelation: "floriday_connections";
|
|
5834
|
+
referencedColumns: ["id"];
|
|
5835
|
+
}, {
|
|
5836
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5837
|
+
columns: ["write_log_id"];
|
|
5838
|
+
isOneToOne: false;
|
|
5839
|
+
referencedRelation: "floriday_write_log";
|
|
5840
|
+
referencedColumns: ["id"];
|
|
5841
|
+
}];
|
|
5842
|
+
};
|
|
5609
5843
|
floriday_auction_letters_cache: {
|
|
5610
5844
|
Row: {
|
|
5611
5845
|
auction_letter_code: string;
|
|
@@ -5813,6 +6047,84 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
5813
6047
|
referencedColumns: ["id"];
|
|
5814
6048
|
}];
|
|
5815
6049
|
};
|
|
6050
|
+
floriday_catalog_prices_cache: {
|
|
6051
|
+
Row: {
|
|
6052
|
+
connection_id: string;
|
|
6053
|
+
created_at: string;
|
|
6054
|
+
currency: string;
|
|
6055
|
+
id: string;
|
|
6056
|
+
is_deleted: boolean;
|
|
6057
|
+
price: number | null;
|
|
6058
|
+
price_group_id: string | null;
|
|
6059
|
+
price_group_name: string | null;
|
|
6060
|
+
price_type: string;
|
|
6061
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
6062
|
+
sales_unit: string | null;
|
|
6063
|
+
sequence_number: number;
|
|
6064
|
+
supplier_article_code: string | null;
|
|
6065
|
+
supply_line_id: string;
|
|
6066
|
+
synced_at: string;
|
|
6067
|
+
trade_item_id: string | null;
|
|
6068
|
+
updated_at: string;
|
|
6069
|
+
valid_from: string | null;
|
|
6070
|
+
valid_to: string | null;
|
|
6071
|
+
week: number | null;
|
|
6072
|
+
year: number | null;
|
|
6073
|
+
};
|
|
6074
|
+
Insert: {
|
|
6075
|
+
connection_id: string;
|
|
6076
|
+
created_at?: string;
|
|
6077
|
+
currency?: string;
|
|
6078
|
+
id?: string;
|
|
6079
|
+
is_deleted?: boolean;
|
|
6080
|
+
price?: number | null;
|
|
6081
|
+
price_group_id?: string | null;
|
|
6082
|
+
price_group_name?: string | null;
|
|
6083
|
+
price_type?: string;
|
|
6084
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6085
|
+
sales_unit?: string | null;
|
|
6086
|
+
sequence_number?: number;
|
|
6087
|
+
supplier_article_code?: string | null;
|
|
6088
|
+
supply_line_id: string;
|
|
6089
|
+
synced_at?: string;
|
|
6090
|
+
trade_item_id?: string | null;
|
|
6091
|
+
updated_at?: string;
|
|
6092
|
+
valid_from?: string | null;
|
|
6093
|
+
valid_to?: string | null;
|
|
6094
|
+
week?: number | null;
|
|
6095
|
+
year?: number | null;
|
|
6096
|
+
};
|
|
6097
|
+
Update: {
|
|
6098
|
+
connection_id?: string;
|
|
6099
|
+
created_at?: string;
|
|
6100
|
+
currency?: string;
|
|
6101
|
+
id?: string;
|
|
6102
|
+
is_deleted?: boolean;
|
|
6103
|
+
price?: number | null;
|
|
6104
|
+
price_group_id?: string | null;
|
|
6105
|
+
price_group_name?: string | null;
|
|
6106
|
+
price_type?: string;
|
|
6107
|
+
raw?: import("../integrations/supabase/types").Json | null;
|
|
6108
|
+
sales_unit?: string | null;
|
|
6109
|
+
sequence_number?: number;
|
|
6110
|
+
supplier_article_code?: string | null;
|
|
6111
|
+
supply_line_id?: string;
|
|
6112
|
+
synced_at?: string;
|
|
6113
|
+
trade_item_id?: string | null;
|
|
6114
|
+
updated_at?: string;
|
|
6115
|
+
valid_from?: string | null;
|
|
6116
|
+
valid_to?: string | null;
|
|
6117
|
+
week?: number | null;
|
|
6118
|
+
year?: number | null;
|
|
6119
|
+
};
|
|
6120
|
+
Relationships: [{
|
|
6121
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6122
|
+
columns: ["connection_id"];
|
|
6123
|
+
isOneToOne: false;
|
|
6124
|
+
referencedRelation: "floriday_connections";
|
|
6125
|
+
referencedColumns: ["id"];
|
|
6126
|
+
}];
|
|
6127
|
+
};
|
|
5816
6128
|
floriday_clock_presales_cache: {
|
|
5817
6129
|
Row: {
|
|
5818
6130
|
buyer_organization_id: string | null;
|
|
@@ -6728,6 +7040,69 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
6728
7040
|
referencedColumns: ["id"];
|
|
6729
7041
|
}];
|
|
6730
7042
|
};
|
|
7043
|
+
floriday_link_templates: {
|
|
7044
|
+
Row: {
|
|
7045
|
+
created_at: string;
|
|
7046
|
+
floriday_url_template: string | null;
|
|
7047
|
+
is_active: boolean;
|
|
7048
|
+
label: string;
|
|
7049
|
+
local_url_template: string | null;
|
|
7050
|
+
resource_type: string;
|
|
7051
|
+
updated_at: string;
|
|
7052
|
+
};
|
|
7053
|
+
Insert: {
|
|
7054
|
+
created_at?: string;
|
|
7055
|
+
floriday_url_template?: string | null;
|
|
7056
|
+
is_active?: boolean;
|
|
7057
|
+
label: string;
|
|
7058
|
+
local_url_template?: string | null;
|
|
7059
|
+
resource_type: string;
|
|
7060
|
+
updated_at?: string;
|
|
7061
|
+
};
|
|
7062
|
+
Update: {
|
|
7063
|
+
created_at?: string;
|
|
7064
|
+
floriday_url_template?: string | null;
|
|
7065
|
+
is_active?: boolean;
|
|
7066
|
+
label?: string;
|
|
7067
|
+
local_url_template?: string | null;
|
|
7068
|
+
resource_type?: string;
|
|
7069
|
+
updated_at?: string;
|
|
7070
|
+
};
|
|
7071
|
+
Relationships: [];
|
|
7072
|
+
};
|
|
7073
|
+
floriday_log_retention: {
|
|
7074
|
+
Row: {
|
|
7075
|
+
created_at: string;
|
|
7076
|
+
direction: string | null;
|
|
7077
|
+
id: string;
|
|
7078
|
+
keep_failed_days: number | null;
|
|
7079
|
+
keep_ok_days: number | null;
|
|
7080
|
+
note: string | null;
|
|
7081
|
+
resource_type: string | null;
|
|
7082
|
+
updated_at: string;
|
|
7083
|
+
};
|
|
7084
|
+
Insert: {
|
|
7085
|
+
created_at?: string;
|
|
7086
|
+
direction?: string | null;
|
|
7087
|
+
id?: string;
|
|
7088
|
+
keep_failed_days?: number | null;
|
|
7089
|
+
keep_ok_days?: number | null;
|
|
7090
|
+
note?: string | null;
|
|
7091
|
+
resource_type?: string | null;
|
|
7092
|
+
updated_at?: string;
|
|
7093
|
+
};
|
|
7094
|
+
Update: {
|
|
7095
|
+
created_at?: string;
|
|
7096
|
+
direction?: string | null;
|
|
7097
|
+
id?: string;
|
|
7098
|
+
keep_failed_days?: number | null;
|
|
7099
|
+
keep_ok_days?: number | null;
|
|
7100
|
+
note?: string | null;
|
|
7101
|
+
resource_type?: string | null;
|
|
7102
|
+
updated_at?: string;
|
|
7103
|
+
};
|
|
7104
|
+
Relationships: [];
|
|
7105
|
+
};
|
|
6731
7106
|
floriday_logistic_labels_cache: {
|
|
6732
7107
|
Row: {
|
|
6733
7108
|
byte_size: number | null;
|
|
@@ -8444,8 +8819,48 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8444
8819
|
};
|
|
8445
8820
|
Relationships: [];
|
|
8446
8821
|
};
|
|
8447
|
-
|
|
8822
|
+
itk_handover_afspraken: {
|
|
8448
8823
|
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
8848
|
+
afgesproken_door?: string | null;
|
|
8849
|
+
afgesproken_op?: string;
|
|
8850
|
+
besluit?: string;
|
|
8851
|
+
created_at?: string;
|
|
8852
|
+
item?: string;
|
|
8853
|
+
modules?: string[];
|
|
8854
|
+
sleutel?: string;
|
|
8855
|
+
soort?: string;
|
|
8856
|
+
updated_at?: string;
|
|
8857
|
+
versie_vingerafdruk?: string;
|
|
8858
|
+
};
|
|
8859
|
+
Relationships: [];
|
|
8860
|
+
};
|
|
8861
|
+
itk_handover_github_scan: {
|
|
8862
|
+
Row: {
|
|
8863
|
+
genegeerd_op: string | null;
|
|
8449
8864
|
gescand_op: string;
|
|
8450
8865
|
gevonden: boolean;
|
|
8451
8866
|
melding: string | null;
|
|
@@ -8453,6 +8868,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8453
8868
|
repo: string;
|
|
8454
8869
|
};
|
|
8455
8870
|
Insert: {
|
|
8871
|
+
genegeerd_op?: string | null;
|
|
8456
8872
|
gescand_op?: string;
|
|
8457
8873
|
gevonden?: boolean;
|
|
8458
8874
|
melding?: string | null;
|
|
@@ -8460,6 +8876,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8460
8876
|
repo: string;
|
|
8461
8877
|
};
|
|
8462
8878
|
Update: {
|
|
8879
|
+
genegeerd_op?: string | null;
|
|
8463
8880
|
gescand_op?: string;
|
|
8464
8881
|
gevonden?: boolean;
|
|
8465
8882
|
melding?: string | null;
|
|
@@ -8468,13 +8885,45 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8468
8885
|
};
|
|
8469
8886
|
Relationships: [];
|
|
8470
8887
|
};
|
|
8888
|
+
itk_handover_github_voortgang: {
|
|
8889
|
+
Row: {
|
|
8890
|
+
bijgewerkt_op: string;
|
|
8891
|
+
huidige_repo: string | null;
|
|
8892
|
+
id: boolean;
|
|
8893
|
+
klaar: number;
|
|
8894
|
+
loopt: boolean;
|
|
8895
|
+
totaal: number;
|
|
8896
|
+
};
|
|
8897
|
+
Insert: {
|
|
8898
|
+
bijgewerkt_op?: string;
|
|
8899
|
+
huidige_repo?: string | null;
|
|
8900
|
+
id?: boolean;
|
|
8901
|
+
klaar?: number;
|
|
8902
|
+
loopt?: boolean;
|
|
8903
|
+
totaal?: number;
|
|
8904
|
+
};
|
|
8905
|
+
Update: {
|
|
8906
|
+
bijgewerkt_op?: string;
|
|
8907
|
+
huidige_repo?: string | null;
|
|
8908
|
+
id?: boolean;
|
|
8909
|
+
klaar?: number;
|
|
8910
|
+
loopt?: boolean;
|
|
8911
|
+
totaal?: number;
|
|
8912
|
+
};
|
|
8913
|
+
Relationships: [];
|
|
8914
|
+
};
|
|
8471
8915
|
itk_handover_module_meta: {
|
|
8472
8916
|
Row: {
|
|
8473
8917
|
check_aangevraagd_op: string | null;
|
|
8474
8918
|
check_nodig: boolean;
|
|
8475
8919
|
check_reden: string | null;
|
|
8476
8920
|
created_at: string;
|
|
8921
|
+
md_bron: boolean;
|
|
8922
|
+
md_bron_op: string | null;
|
|
8923
|
+
md_bron_pad: string | null;
|
|
8477
8924
|
module_id: string;
|
|
8925
|
+
nieuw_gezien: boolean;
|
|
8926
|
+
nieuw_gezien_op: string | null;
|
|
8478
8927
|
project_url: string | null;
|
|
8479
8928
|
publicatie_url: string | null;
|
|
8480
8929
|
updated_at: string;
|
|
@@ -8484,7 +8933,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8484
8933
|
check_nodig?: boolean;
|
|
8485
8934
|
check_reden?: string | null;
|
|
8486
8935
|
created_at?: string;
|
|
8936
|
+
md_bron?: boolean;
|
|
8937
|
+
md_bron_op?: string | null;
|
|
8938
|
+
md_bron_pad?: string | null;
|
|
8487
8939
|
module_id: string;
|
|
8940
|
+
nieuw_gezien?: boolean;
|
|
8941
|
+
nieuw_gezien_op?: string | null;
|
|
8488
8942
|
project_url?: string | null;
|
|
8489
8943
|
publicatie_url?: string | null;
|
|
8490
8944
|
updated_at?: string;
|
|
@@ -8494,13 +8948,45 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8494
8948
|
check_nodig?: boolean;
|
|
8495
8949
|
check_reden?: string | null;
|
|
8496
8950
|
created_at?: string;
|
|
8951
|
+
md_bron?: boolean;
|
|
8952
|
+
md_bron_op?: string | null;
|
|
8953
|
+
md_bron_pad?: string | null;
|
|
8497
8954
|
module_id?: string;
|
|
8955
|
+
nieuw_gezien?: boolean;
|
|
8956
|
+
nieuw_gezien_op?: string | null;
|
|
8498
8957
|
project_url?: string | null;
|
|
8499
8958
|
publicatie_url?: string | null;
|
|
8500
8959
|
updated_at?: string;
|
|
8501
8960
|
};
|
|
8502
8961
|
Relationships: [];
|
|
8503
8962
|
};
|
|
8963
|
+
itk_handover_module_naam: {
|
|
8964
|
+
Row: {
|
|
8965
|
+
bron_repo: string;
|
|
8966
|
+
created_at: string;
|
|
8967
|
+
module_id: string;
|
|
8968
|
+
standaardnaam: string | null;
|
|
8969
|
+
updated_at: string;
|
|
8970
|
+
weergavenaam: string;
|
|
8971
|
+
};
|
|
8972
|
+
Insert: {
|
|
8973
|
+
bron_repo?: string;
|
|
8974
|
+
created_at?: string;
|
|
8975
|
+
module_id: string;
|
|
8976
|
+
standaardnaam?: string | null;
|
|
8977
|
+
updated_at?: string;
|
|
8978
|
+
weergavenaam: string;
|
|
8979
|
+
};
|
|
8980
|
+
Update: {
|
|
8981
|
+
bron_repo?: string;
|
|
8982
|
+
created_at?: string;
|
|
8983
|
+
module_id?: string;
|
|
8984
|
+
standaardnaam?: string | null;
|
|
8985
|
+
updated_at?: string;
|
|
8986
|
+
weergavenaam?: string;
|
|
8987
|
+
};
|
|
8988
|
+
Relationships: [];
|
|
8989
|
+
};
|
|
8504
8990
|
itk_handover_project_modules: {
|
|
8505
8991
|
Row: {
|
|
8506
8992
|
created_at: string;
|
|
@@ -8614,6 +9100,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8614
9100
|
};
|
|
8615
9101
|
itk_module_handovers: {
|
|
8616
9102
|
Row: {
|
|
9103
|
+
bekende_risicos: string[];
|
|
8617
9104
|
bevindingen: string | null;
|
|
8618
9105
|
bezit_tabellen: string[];
|
|
8619
9106
|
bron_commit: string | null;
|
|
@@ -8632,6 +9119,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8632
9119
|
inhoud_md: string;
|
|
8633
9120
|
is_actueel: boolean;
|
|
8634
9121
|
is_gearchiveerd: boolean;
|
|
9122
|
+
laatst_bevestigd_op: string | null;
|
|
8635
9123
|
laatst_gecontroleerd_op: string | null;
|
|
8636
9124
|
module_id: string;
|
|
8637
9125
|
module_titel: string;
|
|
@@ -8641,6 +9129,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8641
9129
|
versie: number;
|
|
8642
9130
|
};
|
|
8643
9131
|
Insert: {
|
|
9132
|
+
bekende_risicos?: string[];
|
|
8644
9133
|
bevindingen?: string | null;
|
|
8645
9134
|
bezit_tabellen?: string[];
|
|
8646
9135
|
bron_commit?: string | null;
|
|
@@ -8659,6 +9148,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8659
9148
|
inhoud_md: string;
|
|
8660
9149
|
is_actueel?: boolean;
|
|
8661
9150
|
is_gearchiveerd?: boolean;
|
|
9151
|
+
laatst_bevestigd_op?: string | null;
|
|
8662
9152
|
laatst_gecontroleerd_op?: string | null;
|
|
8663
9153
|
module_id: string;
|
|
8664
9154
|
module_titel: string;
|
|
@@ -8668,6 +9158,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8668
9158
|
versie?: number;
|
|
8669
9159
|
};
|
|
8670
9160
|
Update: {
|
|
9161
|
+
bekende_risicos?: string[];
|
|
8671
9162
|
bevindingen?: string | null;
|
|
8672
9163
|
bezit_tabellen?: string[];
|
|
8673
9164
|
bron_commit?: string | null;
|
|
@@ -8686,6 +9177,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8686
9177
|
inhoud_md?: string;
|
|
8687
9178
|
is_actueel?: boolean;
|
|
8688
9179
|
is_gearchiveerd?: boolean;
|
|
9180
|
+
laatst_bevestigd_op?: string | null;
|
|
8689
9181
|
laatst_gecontroleerd_op?: string | null;
|
|
8690
9182
|
module_id?: string;
|
|
8691
9183
|
module_titel?: string;
|
|
@@ -8894,6 +9386,54 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
8894
9386
|
};
|
|
8895
9387
|
Relationships: [];
|
|
8896
9388
|
};
|
|
9389
|
+
itk_offerte_werkbon_queue: {
|
|
9390
|
+
Row: {
|
|
9391
|
+
bron_werkbon_id: string | null;
|
|
9392
|
+
created_at: string;
|
|
9393
|
+
foutmelding: string | null;
|
|
9394
|
+
id: string;
|
|
9395
|
+
offerte_id: string;
|
|
9396
|
+
payload: import("../integrations/supabase/types").Json;
|
|
9397
|
+
status: string;
|
|
9398
|
+
updated_at: string;
|
|
9399
|
+
verwerkt_op: string | null;
|
|
9400
|
+
werkbon_id: string | null;
|
|
9401
|
+
werkbon_nummer: string | null;
|
|
9402
|
+
};
|
|
9403
|
+
Insert: {
|
|
9404
|
+
bron_werkbon_id?: string | null;
|
|
9405
|
+
created_at?: string;
|
|
9406
|
+
foutmelding?: string | null;
|
|
9407
|
+
id?: string;
|
|
9408
|
+
offerte_id: string;
|
|
9409
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
9410
|
+
status?: string;
|
|
9411
|
+
updated_at?: string;
|
|
9412
|
+
verwerkt_op?: string | null;
|
|
9413
|
+
werkbon_id?: string | null;
|
|
9414
|
+
werkbon_nummer?: string | null;
|
|
9415
|
+
};
|
|
9416
|
+
Update: {
|
|
9417
|
+
bron_werkbon_id?: string | null;
|
|
9418
|
+
created_at?: string;
|
|
9419
|
+
foutmelding?: string | null;
|
|
9420
|
+
id?: string;
|
|
9421
|
+
offerte_id?: string;
|
|
9422
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
9423
|
+
status?: string;
|
|
9424
|
+
updated_at?: string;
|
|
9425
|
+
verwerkt_op?: string | null;
|
|
9426
|
+
werkbon_id?: string | null;
|
|
9427
|
+
werkbon_nummer?: string | null;
|
|
9428
|
+
};
|
|
9429
|
+
Relationships: [{
|
|
9430
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9431
|
+
columns: ["offerte_id"];
|
|
9432
|
+
isOneToOne: false;
|
|
9433
|
+
referencedRelation: "itk_offertes";
|
|
9434
|
+
referencedColumns: ["id"];
|
|
9435
|
+
}];
|
|
9436
|
+
};
|
|
8897
9437
|
itk_offertes: {
|
|
8898
9438
|
Row: {
|
|
8899
9439
|
ai_generated: boolean;
|
|
@@ -9086,6 +9626,30 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
9086
9626
|
referencedColumns: ["id"];
|
|
9087
9627
|
}];
|
|
9088
9628
|
};
|
|
9629
|
+
job_locks: {
|
|
9630
|
+
Row: {
|
|
9631
|
+
created_at: string;
|
|
9632
|
+
lock_key: string;
|
|
9633
|
+
locked_until: string;
|
|
9634
|
+
owner: string | null;
|
|
9635
|
+
updated_at: string;
|
|
9636
|
+
};
|
|
9637
|
+
Insert: {
|
|
9638
|
+
created_at?: string;
|
|
9639
|
+
lock_key: string;
|
|
9640
|
+
locked_until: string;
|
|
9641
|
+
owner?: string | null;
|
|
9642
|
+
updated_at?: string;
|
|
9643
|
+
};
|
|
9644
|
+
Update: {
|
|
9645
|
+
created_at?: string;
|
|
9646
|
+
lock_key?: string;
|
|
9647
|
+
locked_until?: string;
|
|
9648
|
+
owner?: string | null;
|
|
9649
|
+
updated_at?: string;
|
|
9650
|
+
};
|
|
9651
|
+
Relationships: [];
|
|
9652
|
+
};
|
|
9089
9653
|
layout_logos: {
|
|
9090
9654
|
Row: {
|
|
9091
9655
|
bestand_url: string;
|
|
@@ -10055,6 +10619,36 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10055
10619
|
};
|
|
10056
10620
|
Relationships: [];
|
|
10057
10621
|
};
|
|
10622
|
+
logistics_floriday_push_refusals: {
|
|
10623
|
+
Row: {
|
|
10624
|
+
action: string | null;
|
|
10625
|
+
created_at: string;
|
|
10626
|
+
id: string;
|
|
10627
|
+
order_ref: string;
|
|
10628
|
+
reason: string;
|
|
10629
|
+
source_module: string | null;
|
|
10630
|
+
source_shell: string | null;
|
|
10631
|
+
};
|
|
10632
|
+
Insert: {
|
|
10633
|
+
action?: string | null;
|
|
10634
|
+
created_at?: string;
|
|
10635
|
+
id?: string;
|
|
10636
|
+
order_ref: string;
|
|
10637
|
+
reason: string;
|
|
10638
|
+
source_module?: string | null;
|
|
10639
|
+
source_shell?: string | null;
|
|
10640
|
+
};
|
|
10641
|
+
Update: {
|
|
10642
|
+
action?: string | null;
|
|
10643
|
+
created_at?: string;
|
|
10644
|
+
id?: string;
|
|
10645
|
+
order_ref?: string;
|
|
10646
|
+
reason?: string;
|
|
10647
|
+
source_module?: string | null;
|
|
10648
|
+
source_shell?: string | null;
|
|
10649
|
+
};
|
|
10650
|
+
Relationships: [];
|
|
10651
|
+
};
|
|
10058
10652
|
logistics_floriday_pushes: {
|
|
10059
10653
|
Row: {
|
|
10060
10654
|
attempts: number;
|
|
@@ -10130,6 +10724,42 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10130
10724
|
};
|
|
10131
10725
|
Relationships: [];
|
|
10132
10726
|
};
|
|
10727
|
+
logistics_floriday_status_sends: {
|
|
10728
|
+
Row: {
|
|
10729
|
+
action: string;
|
|
10730
|
+
created_at: string;
|
|
10731
|
+
detail: string | null;
|
|
10732
|
+
http_status: number | null;
|
|
10733
|
+
id: string;
|
|
10734
|
+
ok: boolean;
|
|
10735
|
+
order_ref: string;
|
|
10736
|
+
source_module: string | null;
|
|
10737
|
+
source_shell: string | null;
|
|
10738
|
+
};
|
|
10739
|
+
Insert: {
|
|
10740
|
+
action: string;
|
|
10741
|
+
created_at?: string;
|
|
10742
|
+
detail?: string | null;
|
|
10743
|
+
http_status?: number | null;
|
|
10744
|
+
id?: string;
|
|
10745
|
+
ok?: boolean;
|
|
10746
|
+
order_ref: string;
|
|
10747
|
+
source_module?: string | null;
|
|
10748
|
+
source_shell?: string | null;
|
|
10749
|
+
};
|
|
10750
|
+
Update: {
|
|
10751
|
+
action?: string;
|
|
10752
|
+
created_at?: string;
|
|
10753
|
+
detail?: string | null;
|
|
10754
|
+
http_status?: number | null;
|
|
10755
|
+
id?: string;
|
|
10756
|
+
ok?: boolean;
|
|
10757
|
+
order_ref?: string;
|
|
10758
|
+
source_module?: string | null;
|
|
10759
|
+
source_shell?: string | null;
|
|
10760
|
+
};
|
|
10761
|
+
Relationships: [];
|
|
10762
|
+
};
|
|
10133
10763
|
logistics_formulas: {
|
|
10134
10764
|
Row: {
|
|
10135
10765
|
created_at: string;
|
|
@@ -10202,6 +10832,144 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10202
10832
|
};
|
|
10203
10833
|
Relationships: [];
|
|
10204
10834
|
};
|
|
10835
|
+
logistics_opening_exceptions: {
|
|
10836
|
+
Row: {
|
|
10837
|
+
closes: string | null;
|
|
10838
|
+
created_at: string;
|
|
10839
|
+
day: string;
|
|
10840
|
+
id: string;
|
|
10841
|
+
is_closed: boolean;
|
|
10842
|
+
note: string | null;
|
|
10843
|
+
opens: string | null;
|
|
10844
|
+
};
|
|
10845
|
+
Insert: {
|
|
10846
|
+
closes?: string | null;
|
|
10847
|
+
created_at?: string;
|
|
10848
|
+
day: string;
|
|
10849
|
+
id?: string;
|
|
10850
|
+
is_closed?: boolean;
|
|
10851
|
+
note?: string | null;
|
|
10852
|
+
opens?: string | null;
|
|
10853
|
+
};
|
|
10854
|
+
Update: {
|
|
10855
|
+
closes?: string | null;
|
|
10856
|
+
created_at?: string;
|
|
10857
|
+
day?: string;
|
|
10858
|
+
id?: string;
|
|
10859
|
+
is_closed?: boolean;
|
|
10860
|
+
note?: string | null;
|
|
10861
|
+
opens?: string | null;
|
|
10862
|
+
};
|
|
10863
|
+
Relationships: [];
|
|
10864
|
+
};
|
|
10865
|
+
logistics_opening_hours: {
|
|
10866
|
+
Row: {
|
|
10867
|
+
closes: string;
|
|
10868
|
+
created_at: string;
|
|
10869
|
+
id: string;
|
|
10870
|
+
is_active: boolean;
|
|
10871
|
+
note: string | null;
|
|
10872
|
+
opens: string;
|
|
10873
|
+
weekday: number;
|
|
10874
|
+
};
|
|
10875
|
+
Insert: {
|
|
10876
|
+
closes: string;
|
|
10877
|
+
created_at?: string;
|
|
10878
|
+
id?: string;
|
|
10879
|
+
is_active?: boolean;
|
|
10880
|
+
note?: string | null;
|
|
10881
|
+
opens: string;
|
|
10882
|
+
weekday: number;
|
|
10883
|
+
};
|
|
10884
|
+
Update: {
|
|
10885
|
+
closes?: string;
|
|
10886
|
+
created_at?: string;
|
|
10887
|
+
id?: string;
|
|
10888
|
+
is_active?: boolean;
|
|
10889
|
+
note?: string | null;
|
|
10890
|
+
opens?: string;
|
|
10891
|
+
weekday?: number;
|
|
10892
|
+
};
|
|
10893
|
+
Relationships: [];
|
|
10894
|
+
};
|
|
10895
|
+
logistics_order_merges: {
|
|
10896
|
+
Row: {
|
|
10897
|
+
group_key: string;
|
|
10898
|
+
id: string;
|
|
10899
|
+
items_moved: number;
|
|
10900
|
+
kept_order_id: string;
|
|
10901
|
+
kept_order_number: string | null;
|
|
10902
|
+
merged_at: string;
|
|
10903
|
+
merged_order_id: string;
|
|
10904
|
+
merged_order_number: string | null;
|
|
10905
|
+
sales_order_id: string | null;
|
|
10906
|
+
};
|
|
10907
|
+
Insert: {
|
|
10908
|
+
group_key: string;
|
|
10909
|
+
id?: string;
|
|
10910
|
+
items_moved?: number;
|
|
10911
|
+
kept_order_id: string;
|
|
10912
|
+
kept_order_number?: string | null;
|
|
10913
|
+
merged_at?: string;
|
|
10914
|
+
merged_order_id: string;
|
|
10915
|
+
merged_order_number?: string | null;
|
|
10916
|
+
sales_order_id?: string | null;
|
|
10917
|
+
};
|
|
10918
|
+
Update: {
|
|
10919
|
+
group_key?: string;
|
|
10920
|
+
id?: string;
|
|
10921
|
+
items_moved?: number;
|
|
10922
|
+
kept_order_id?: string;
|
|
10923
|
+
kept_order_number?: string | null;
|
|
10924
|
+
merged_at?: string;
|
|
10925
|
+
merged_order_id?: string;
|
|
10926
|
+
merged_order_number?: string | null;
|
|
10927
|
+
sales_order_id?: string | null;
|
|
10928
|
+
};
|
|
10929
|
+
Relationships: [];
|
|
10930
|
+
};
|
|
10931
|
+
logistics_pick_data_requests: {
|
|
10932
|
+
Row: {
|
|
10933
|
+
actions: import("../integrations/supabase/types").Json;
|
|
10934
|
+
created_at: string;
|
|
10935
|
+
event_id: string | null;
|
|
10936
|
+
finished_at: string | null;
|
|
10937
|
+
id: string;
|
|
10938
|
+
missing: import("../integrations/supabase/types").Json;
|
|
10939
|
+
order_ref: string;
|
|
10940
|
+
reason: string | null;
|
|
10941
|
+
result: import("../integrations/supabase/types").Json | null;
|
|
10942
|
+
status: string;
|
|
10943
|
+
unit_ref: string | null;
|
|
10944
|
+
};
|
|
10945
|
+
Insert: {
|
|
10946
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10947
|
+
created_at?: string;
|
|
10948
|
+
event_id?: string | null;
|
|
10949
|
+
finished_at?: string | null;
|
|
10950
|
+
id?: string;
|
|
10951
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10952
|
+
order_ref: string;
|
|
10953
|
+
reason?: string | null;
|
|
10954
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10955
|
+
status?: string;
|
|
10956
|
+
unit_ref?: string | null;
|
|
10957
|
+
};
|
|
10958
|
+
Update: {
|
|
10959
|
+
actions?: import("../integrations/supabase/types").Json;
|
|
10960
|
+
created_at?: string;
|
|
10961
|
+
event_id?: string | null;
|
|
10962
|
+
finished_at?: string | null;
|
|
10963
|
+
id?: string;
|
|
10964
|
+
missing?: import("../integrations/supabase/types").Json;
|
|
10965
|
+
order_ref?: string;
|
|
10966
|
+
reason?: string | null;
|
|
10967
|
+
result?: import("../integrations/supabase/types").Json | null;
|
|
10968
|
+
status?: string;
|
|
10969
|
+
unit_ref?: string | null;
|
|
10970
|
+
};
|
|
10971
|
+
Relationships: [];
|
|
10972
|
+
};
|
|
10205
10973
|
logistics_pickup_moments: {
|
|
10206
10974
|
Row: {
|
|
10207
10975
|
carrier_ref: string | null;
|
|
@@ -10238,17 +11006,42 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10238
11006
|
};
|
|
10239
11007
|
Relationships: [];
|
|
10240
11008
|
};
|
|
10241
|
-
|
|
11009
|
+
logistics_plan_locks: {
|
|
10242
11010
|
Row: {
|
|
10243
|
-
|
|
10244
|
-
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
11011
|
+
created_at: string;
|
|
11012
|
+
lock_key: string;
|
|
11013
|
+
locked_until: string;
|
|
11014
|
+
owner: string | null;
|
|
11015
|
+
updated_at: string;
|
|
11016
|
+
};
|
|
11017
|
+
Insert: {
|
|
11018
|
+
created_at?: string;
|
|
11019
|
+
lock_key: string;
|
|
11020
|
+
locked_until: string;
|
|
11021
|
+
owner?: string | null;
|
|
11022
|
+
updated_at?: string;
|
|
11023
|
+
};
|
|
11024
|
+
Update: {
|
|
11025
|
+
created_at?: string;
|
|
11026
|
+
lock_key?: string;
|
|
11027
|
+
locked_until?: string;
|
|
11028
|
+
owner?: string | null;
|
|
11029
|
+
updated_at?: string;
|
|
11030
|
+
};
|
|
11031
|
+
Relationships: [];
|
|
11032
|
+
};
|
|
11033
|
+
logistics_plan_queue: {
|
|
11034
|
+
Row: {
|
|
11035
|
+
attempts: number;
|
|
11036
|
+
claimed_at: string | null;
|
|
11037
|
+
enqueued_at: string;
|
|
11038
|
+
error: string | null;
|
|
11039
|
+
id: string;
|
|
11040
|
+
next_attempt_at: string;
|
|
11041
|
+
order_id: string;
|
|
11042
|
+
reason: string;
|
|
11043
|
+
reason_code: string | null;
|
|
11044
|
+
status: string;
|
|
10252
11045
|
updated_at: string;
|
|
10253
11046
|
};
|
|
10254
11047
|
Insert: {
|
|
@@ -10260,6 +11053,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10260
11053
|
next_attempt_at?: string;
|
|
10261
11054
|
order_id: string;
|
|
10262
11055
|
reason?: string;
|
|
11056
|
+
reason_code?: string | null;
|
|
10263
11057
|
status?: string;
|
|
10264
11058
|
updated_at?: string;
|
|
10265
11059
|
};
|
|
@@ -10272,6 +11066,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10272
11066
|
next_attempt_at?: string;
|
|
10273
11067
|
order_id?: string;
|
|
10274
11068
|
reason?: string;
|
|
11069
|
+
reason_code?: string | null;
|
|
10275
11070
|
status?: string;
|
|
10276
11071
|
updated_at?: string;
|
|
10277
11072
|
};
|
|
@@ -10658,6 +11453,69 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10658
11453
|
};
|
|
10659
11454
|
Relationships: [];
|
|
10660
11455
|
};
|
|
11456
|
+
logistics_slip_shipping_note: {
|
|
11457
|
+
Row: {
|
|
11458
|
+
attempts: number;
|
|
11459
|
+
batch_key: string | null;
|
|
11460
|
+
cart_id: string | null;
|
|
11461
|
+
created_at: string;
|
|
11462
|
+
error: string | null;
|
|
11463
|
+
error_code: string | null;
|
|
11464
|
+
fulfillment_order_id: string | null;
|
|
11465
|
+
id: string;
|
|
11466
|
+
locked_until: string | null;
|
|
11467
|
+
next_attempt_at: string | null;
|
|
11468
|
+
order_id: string | null;
|
|
11469
|
+
order_number: string | null;
|
|
11470
|
+
print_job_id: string | null;
|
|
11471
|
+
printer_id: string | null;
|
|
11472
|
+
retry_class: string | null;
|
|
11473
|
+
slip_job_id: string;
|
|
11474
|
+
status: string;
|
|
11475
|
+
updated_at: string;
|
|
11476
|
+
};
|
|
11477
|
+
Insert: {
|
|
11478
|
+
attempts?: number;
|
|
11479
|
+
batch_key?: string | null;
|
|
11480
|
+
cart_id?: string | null;
|
|
11481
|
+
created_at?: string;
|
|
11482
|
+
error?: string | null;
|
|
11483
|
+
error_code?: string | null;
|
|
11484
|
+
fulfillment_order_id?: string | null;
|
|
11485
|
+
id?: string;
|
|
11486
|
+
locked_until?: string | null;
|
|
11487
|
+
next_attempt_at?: string | null;
|
|
11488
|
+
order_id?: string | null;
|
|
11489
|
+
order_number?: string | null;
|
|
11490
|
+
print_job_id?: string | null;
|
|
11491
|
+
printer_id?: string | null;
|
|
11492
|
+
retry_class?: string | null;
|
|
11493
|
+
slip_job_id: string;
|
|
11494
|
+
status?: string;
|
|
11495
|
+
updated_at?: string;
|
|
11496
|
+
};
|
|
11497
|
+
Update: {
|
|
11498
|
+
attempts?: number;
|
|
11499
|
+
batch_key?: string | null;
|
|
11500
|
+
cart_id?: string | null;
|
|
11501
|
+
created_at?: string;
|
|
11502
|
+
error?: string | null;
|
|
11503
|
+
error_code?: string | null;
|
|
11504
|
+
fulfillment_order_id?: string | null;
|
|
11505
|
+
id?: string;
|
|
11506
|
+
locked_until?: string | null;
|
|
11507
|
+
next_attempt_at?: string | null;
|
|
11508
|
+
order_id?: string | null;
|
|
11509
|
+
order_number?: string | null;
|
|
11510
|
+
print_job_id?: string | null;
|
|
11511
|
+
printer_id?: string | null;
|
|
11512
|
+
retry_class?: string | null;
|
|
11513
|
+
slip_job_id?: string;
|
|
11514
|
+
status?: string;
|
|
11515
|
+
updated_at?: string;
|
|
11516
|
+
};
|
|
11517
|
+
Relationships: [];
|
|
11518
|
+
};
|
|
10661
11519
|
logistics_staff_planning: {
|
|
10662
11520
|
Row: {
|
|
10663
11521
|
created_at: string;
|
|
@@ -10976,6 +11834,279 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
10976
11834
|
referencedColumns: ["id"];
|
|
10977
11835
|
}];
|
|
10978
11836
|
};
|
|
11837
|
+
logistics_tick_heartbeat: {
|
|
11838
|
+
Row: {
|
|
11839
|
+
id: boolean;
|
|
11840
|
+
last_tick_at: string;
|
|
11841
|
+
};
|
|
11842
|
+
Insert: {
|
|
11843
|
+
id?: boolean;
|
|
11844
|
+
last_tick_at?: string;
|
|
11845
|
+
};
|
|
11846
|
+
Update: {
|
|
11847
|
+
id?: boolean;
|
|
11848
|
+
last_tick_at?: string;
|
|
11849
|
+
};
|
|
11850
|
+
Relationships: [];
|
|
11851
|
+
};
|
|
11852
|
+
logistics_time_settings: {
|
|
11853
|
+
Row: {
|
|
11854
|
+
id: boolean;
|
|
11855
|
+
timezone: string;
|
|
11856
|
+
updated_at: string;
|
|
11857
|
+
};
|
|
11858
|
+
Insert: {
|
|
11859
|
+
id?: boolean;
|
|
11860
|
+
timezone: string;
|
|
11861
|
+
updated_at?: string;
|
|
11862
|
+
};
|
|
11863
|
+
Update: {
|
|
11864
|
+
id?: boolean;
|
|
11865
|
+
timezone?: string;
|
|
11866
|
+
updated_at?: string;
|
|
11867
|
+
};
|
|
11868
|
+
Relationships: [];
|
|
11869
|
+
};
|
|
11870
|
+
logistics_trace_events: {
|
|
11871
|
+
Row: {
|
|
11872
|
+
actor: string | null;
|
|
11873
|
+
attempts: number;
|
|
11874
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11875
|
+
cart_ref: string | null;
|
|
11876
|
+
created_at: string;
|
|
11877
|
+
db_action: string | null;
|
|
11878
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11879
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11880
|
+
db_record: string | null;
|
|
11881
|
+
db_table: string | null;
|
|
11882
|
+
decision: string | null;
|
|
11883
|
+
duration_ms: number | null;
|
|
11884
|
+
error: string | null;
|
|
11885
|
+
error_class: string | null;
|
|
11886
|
+
external_action: string | null;
|
|
11887
|
+
external_ref: string | null;
|
|
11888
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
11889
|
+
external_status: string | null;
|
|
11890
|
+
external_system: string | null;
|
|
11891
|
+
id: string;
|
|
11892
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
11893
|
+
next_attempt_at: string | null;
|
|
11894
|
+
next_step: string | null;
|
|
11895
|
+
node_id: string | null;
|
|
11896
|
+
order_ref: string | null;
|
|
11897
|
+
order_source: string | null;
|
|
11898
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
11899
|
+
phase: string;
|
|
11900
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
11901
|
+
reason: string | null;
|
|
11902
|
+
rule: string | null;
|
|
11903
|
+
slip_ref: string | null;
|
|
11904
|
+
status: string;
|
|
11905
|
+
step: string;
|
|
11906
|
+
trace_id: string;
|
|
11907
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
11908
|
+
};
|
|
11909
|
+
Insert: {
|
|
11910
|
+
actor?: string | null;
|
|
11911
|
+
attempts?: number;
|
|
11912
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11913
|
+
cart_ref?: string | null;
|
|
11914
|
+
created_at?: string;
|
|
11915
|
+
db_action?: string | null;
|
|
11916
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11917
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11918
|
+
db_record?: string | null;
|
|
11919
|
+
db_table?: string | null;
|
|
11920
|
+
decision?: string | null;
|
|
11921
|
+
duration_ms?: number | null;
|
|
11922
|
+
error?: string | null;
|
|
11923
|
+
error_class?: string | null;
|
|
11924
|
+
external_action?: string | null;
|
|
11925
|
+
external_ref?: string | null;
|
|
11926
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11927
|
+
external_status?: string | null;
|
|
11928
|
+
external_system?: string | null;
|
|
11929
|
+
id?: string;
|
|
11930
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11931
|
+
next_attempt_at?: string | null;
|
|
11932
|
+
next_step?: string | null;
|
|
11933
|
+
node_id?: string | null;
|
|
11934
|
+
order_ref?: string | null;
|
|
11935
|
+
order_source?: string | null;
|
|
11936
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11937
|
+
phase: string;
|
|
11938
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11939
|
+
reason?: string | null;
|
|
11940
|
+
rule?: string | null;
|
|
11941
|
+
slip_ref?: string | null;
|
|
11942
|
+
status: string;
|
|
11943
|
+
step: string;
|
|
11944
|
+
trace_id?: string;
|
|
11945
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11946
|
+
};
|
|
11947
|
+
Update: {
|
|
11948
|
+
actor?: string | null;
|
|
11949
|
+
attempts?: number;
|
|
11950
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
11951
|
+
cart_ref?: string | null;
|
|
11952
|
+
created_at?: string;
|
|
11953
|
+
db_action?: string | null;
|
|
11954
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
11955
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
11956
|
+
db_record?: string | null;
|
|
11957
|
+
db_table?: string | null;
|
|
11958
|
+
decision?: string | null;
|
|
11959
|
+
duration_ms?: number | null;
|
|
11960
|
+
error?: string | null;
|
|
11961
|
+
error_class?: string | null;
|
|
11962
|
+
external_action?: string | null;
|
|
11963
|
+
external_ref?: string | null;
|
|
11964
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
11965
|
+
external_status?: string | null;
|
|
11966
|
+
external_system?: string | null;
|
|
11967
|
+
id?: string;
|
|
11968
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
11969
|
+
next_attempt_at?: string | null;
|
|
11970
|
+
next_step?: string | null;
|
|
11971
|
+
node_id?: string | null;
|
|
11972
|
+
order_ref?: string | null;
|
|
11973
|
+
order_source?: string | null;
|
|
11974
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
11975
|
+
phase?: string;
|
|
11976
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
11977
|
+
reason?: string | null;
|
|
11978
|
+
rule?: string | null;
|
|
11979
|
+
slip_ref?: string | null;
|
|
11980
|
+
status?: string;
|
|
11981
|
+
step?: string;
|
|
11982
|
+
trace_id?: string;
|
|
11983
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
11984
|
+
};
|
|
11985
|
+
Relationships: [];
|
|
11986
|
+
};
|
|
11987
|
+
logistics_trace_events_archive: {
|
|
11988
|
+
Row: {
|
|
11989
|
+
actor: string | null;
|
|
11990
|
+
attempts: number;
|
|
11991
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
11992
|
+
cart_ref: string | null;
|
|
11993
|
+
created_at: string;
|
|
11994
|
+
db_action: string | null;
|
|
11995
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
11996
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
11997
|
+
db_record: string | null;
|
|
11998
|
+
db_table: string | null;
|
|
11999
|
+
decision: string | null;
|
|
12000
|
+
duration_ms: number | null;
|
|
12001
|
+
error: string | null;
|
|
12002
|
+
error_class: string | null;
|
|
12003
|
+
external_action: string | null;
|
|
12004
|
+
external_ref: string | null;
|
|
12005
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
12006
|
+
external_status: string | null;
|
|
12007
|
+
external_system: string | null;
|
|
12008
|
+
id: string;
|
|
12009
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
12010
|
+
next_attempt_at: string | null;
|
|
12011
|
+
next_step: string | null;
|
|
12012
|
+
node_id: string | null;
|
|
12013
|
+
order_ref: string | null;
|
|
12014
|
+
order_source: string | null;
|
|
12015
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
12016
|
+
phase: string;
|
|
12017
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
12018
|
+
reason: string | null;
|
|
12019
|
+
rule: string | null;
|
|
12020
|
+
slip_ref: string | null;
|
|
12021
|
+
status: string;
|
|
12022
|
+
step: string;
|
|
12023
|
+
superseded_at: string;
|
|
12024
|
+
superseded_reason: string | null;
|
|
12025
|
+
trace_id: string;
|
|
12026
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
12027
|
+
};
|
|
12028
|
+
Insert: {
|
|
12029
|
+
actor?: string | null;
|
|
12030
|
+
attempts?: number;
|
|
12031
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
12032
|
+
cart_ref?: string | null;
|
|
12033
|
+
created_at?: string;
|
|
12034
|
+
db_action?: string | null;
|
|
12035
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
12036
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
12037
|
+
db_record?: string | null;
|
|
12038
|
+
db_table?: string | null;
|
|
12039
|
+
decision?: string | null;
|
|
12040
|
+
duration_ms?: number | null;
|
|
12041
|
+
error?: string | null;
|
|
12042
|
+
error_class?: string | null;
|
|
12043
|
+
external_action?: string | null;
|
|
12044
|
+
external_ref?: string | null;
|
|
12045
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
12046
|
+
external_status?: string | null;
|
|
12047
|
+
external_system?: string | null;
|
|
12048
|
+
id?: string;
|
|
12049
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
12050
|
+
next_attempt_at?: string | null;
|
|
12051
|
+
next_step?: string | null;
|
|
12052
|
+
node_id?: string | null;
|
|
12053
|
+
order_ref?: string | null;
|
|
12054
|
+
order_source?: string | null;
|
|
12055
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
12056
|
+
phase: string;
|
|
12057
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
12058
|
+
reason?: string | null;
|
|
12059
|
+
rule?: string | null;
|
|
12060
|
+
slip_ref?: string | null;
|
|
12061
|
+
status: string;
|
|
12062
|
+
step: string;
|
|
12063
|
+
superseded_at?: string;
|
|
12064
|
+
superseded_reason?: string | null;
|
|
12065
|
+
trace_id?: string;
|
|
12066
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
12067
|
+
};
|
|
12068
|
+
Update: {
|
|
12069
|
+
actor?: string | null;
|
|
12070
|
+
attempts?: number;
|
|
12071
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
12072
|
+
cart_ref?: string | null;
|
|
12073
|
+
created_at?: string;
|
|
12074
|
+
db_action?: string | null;
|
|
12075
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
12076
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
12077
|
+
db_record?: string | null;
|
|
12078
|
+
db_table?: string | null;
|
|
12079
|
+
decision?: string | null;
|
|
12080
|
+
duration_ms?: number | null;
|
|
12081
|
+
error?: string | null;
|
|
12082
|
+
error_class?: string | null;
|
|
12083
|
+
external_action?: string | null;
|
|
12084
|
+
external_ref?: string | null;
|
|
12085
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
12086
|
+
external_status?: string | null;
|
|
12087
|
+
external_system?: string | null;
|
|
12088
|
+
id?: string;
|
|
12089
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
12090
|
+
next_attempt_at?: string | null;
|
|
12091
|
+
next_step?: string | null;
|
|
12092
|
+
node_id?: string | null;
|
|
12093
|
+
order_ref?: string | null;
|
|
12094
|
+
order_source?: string | null;
|
|
12095
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
12096
|
+
phase?: string;
|
|
12097
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
12098
|
+
reason?: string | null;
|
|
12099
|
+
rule?: string | null;
|
|
12100
|
+
slip_ref?: string | null;
|
|
12101
|
+
status?: string;
|
|
12102
|
+
step?: string;
|
|
12103
|
+
superseded_at?: string;
|
|
12104
|
+
superseded_reason?: string | null;
|
|
12105
|
+
trace_id?: string;
|
|
12106
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
12107
|
+
};
|
|
12108
|
+
Relationships: [];
|
|
12109
|
+
};
|
|
10979
12110
|
logistics_variables: {
|
|
10980
12111
|
Row: {
|
|
10981
12112
|
created_at: string;
|
|
@@ -11123,6 +12254,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
11123
12254
|
has_attachments: boolean;
|
|
11124
12255
|
id: string;
|
|
11125
12256
|
message_id: string | null;
|
|
12257
|
+
preview: string | null;
|
|
11126
12258
|
profile_id: string | null;
|
|
11127
12259
|
raw_size: number | null;
|
|
11128
12260
|
received_at: string | null;
|
|
@@ -11146,6 +12278,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
11146
12278
|
has_attachments?: boolean;
|
|
11147
12279
|
id?: string;
|
|
11148
12280
|
message_id?: string | null;
|
|
12281
|
+
preview?: string | null;
|
|
11149
12282
|
profile_id?: string | null;
|
|
11150
12283
|
raw_size?: number | null;
|
|
11151
12284
|
received_at?: string | null;
|
|
@@ -11169,6 +12302,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
11169
12302
|
has_attachments?: boolean;
|
|
11170
12303
|
id?: string;
|
|
11171
12304
|
message_id?: string | null;
|
|
12305
|
+
preview?: string | null;
|
|
11172
12306
|
profile_id?: string | null;
|
|
11173
12307
|
raw_size?: number | null;
|
|
11174
12308
|
received_at?: string | null;
|
|
@@ -11200,6 +12334,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
11200
12334
|
};
|
|
11201
12335
|
mailbox_order_proposals: {
|
|
11202
12336
|
Row: {
|
|
12337
|
+
ai_ok: boolean | null;
|
|
11203
12338
|
ai_validation: import("../integrations/supabase/types").Json | null;
|
|
11204
12339
|
confidence: number | null;
|
|
11205
12340
|
created_at: string;
|
|
@@ -11217,6 +12352,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
11217
12352
|
updated_at: string;
|
|
11218
12353
|
};
|
|
11219
12354
|
Insert: {
|
|
12355
|
+
ai_ok?: boolean | null;
|
|
11220
12356
|
ai_validation?: import("../integrations/supabase/types").Json | null;
|
|
11221
12357
|
confidence?: number | null;
|
|
11222
12358
|
created_at?: string;
|
|
@@ -11234,6 +12370,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
11234
12370
|
updated_at?: string;
|
|
11235
12371
|
};
|
|
11236
12372
|
Update: {
|
|
12373
|
+
ai_ok?: boolean | null;
|
|
11237
12374
|
ai_validation?: import("../integrations/supabase/types").Json | null;
|
|
11238
12375
|
confidence?: number | null;
|
|
11239
12376
|
created_at?: string;
|
|
@@ -13366,6 +14503,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
13366
14503
|
customer_name: string;
|
|
13367
14504
|
deleted_at: string | null;
|
|
13368
14505
|
delivery_date: string | null;
|
|
14506
|
+
floriday_order_group_key: string | null;
|
|
13369
14507
|
floriday_sales_order_id: string | null;
|
|
13370
14508
|
id: string;
|
|
13371
14509
|
invoice_due_at: string | null;
|
|
@@ -13393,6 +14531,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
13393
14531
|
customer_name?: string;
|
|
13394
14532
|
deleted_at?: string | null;
|
|
13395
14533
|
delivery_date?: string | null;
|
|
14534
|
+
floriday_order_group_key?: string | null;
|
|
13396
14535
|
floriday_sales_order_id?: string | null;
|
|
13397
14536
|
id?: string;
|
|
13398
14537
|
invoice_due_at?: string | null;
|
|
@@ -13420,6 +14559,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
13420
14559
|
customer_name?: string;
|
|
13421
14560
|
deleted_at?: string | null;
|
|
13422
14561
|
delivery_date?: string | null;
|
|
14562
|
+
floriday_order_group_key?: string | null;
|
|
13423
14563
|
floriday_sales_order_id?: string | null;
|
|
13424
14564
|
id?: string;
|
|
13425
14565
|
invoice_due_at?: string | null;
|
|
@@ -13613,6 +14753,27 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
13613
14753
|
};
|
|
13614
14754
|
Relationships: [];
|
|
13615
14755
|
};
|
|
14756
|
+
pick_buffer_event_cursor: {
|
|
14757
|
+
Row: {
|
|
14758
|
+
created_at: string;
|
|
14759
|
+
id: boolean;
|
|
14760
|
+
last_event_at: string;
|
|
14761
|
+
updated_at: string;
|
|
14762
|
+
};
|
|
14763
|
+
Insert: {
|
|
14764
|
+
created_at?: string;
|
|
14765
|
+
id?: boolean;
|
|
14766
|
+
last_event_at?: string;
|
|
14767
|
+
updated_at?: string;
|
|
14768
|
+
};
|
|
14769
|
+
Update: {
|
|
14770
|
+
created_at?: string;
|
|
14771
|
+
id?: boolean;
|
|
14772
|
+
last_event_at?: string;
|
|
14773
|
+
updated_at?: string;
|
|
14774
|
+
};
|
|
14775
|
+
Relationships: [];
|
|
14776
|
+
};
|
|
13616
14777
|
pick_countries: {
|
|
13617
14778
|
Row: {
|
|
13618
14779
|
active: boolean;
|
|
@@ -14699,64 +15860,181 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
14699
15860
|
referencedColumns: ["id"];
|
|
14700
15861
|
}];
|
|
14701
15862
|
};
|
|
14702
|
-
|
|
15863
|
+
price_list_rows: {
|
|
14703
15864
|
Row: {
|
|
14704
|
-
|
|
15865
|
+
action: string;
|
|
14705
15866
|
created_at: string;
|
|
14706
|
-
gemelde_printers: import("../integrations/supabase/types").Json;
|
|
14707
15867
|
id: string;
|
|
14708
|
-
|
|
14709
|
-
|
|
14710
|
-
|
|
14711
|
-
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
token_hash: string;
|
|
14715
|
-
updated_at: string;
|
|
14716
|
-
versie: string;
|
|
15868
|
+
message: string | null;
|
|
15869
|
+
parsed: import("../integrations/supabase/types").Json;
|
|
15870
|
+
price_list_id: string;
|
|
15871
|
+
raw: import("../integrations/supabase/types").Json;
|
|
15872
|
+
row_number: number;
|
|
15873
|
+
supplier_product_id: string | null;
|
|
14717
15874
|
};
|
|
14718
15875
|
Insert: {
|
|
14719
|
-
|
|
15876
|
+
action?: string;
|
|
14720
15877
|
created_at?: string;
|
|
14721
|
-
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
14722
15878
|
id?: string;
|
|
14723
|
-
|
|
14724
|
-
|
|
14725
|
-
|
|
14726
|
-
|
|
14727
|
-
|
|
14728
|
-
|
|
14729
|
-
token_hash: string;
|
|
14730
|
-
updated_at?: string;
|
|
14731
|
-
versie?: string;
|
|
15879
|
+
message?: string | null;
|
|
15880
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
15881
|
+
price_list_id: string;
|
|
15882
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
15883
|
+
row_number: number;
|
|
15884
|
+
supplier_product_id?: string | null;
|
|
14732
15885
|
};
|
|
14733
15886
|
Update: {
|
|
14734
|
-
|
|
15887
|
+
action?: string;
|
|
14735
15888
|
created_at?: string;
|
|
14736
|
-
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
14737
15889
|
id?: string;
|
|
14738
|
-
|
|
14739
|
-
|
|
14740
|
-
|
|
14741
|
-
|
|
14742
|
-
|
|
14743
|
-
|
|
14744
|
-
token_hash?: string;
|
|
14745
|
-
updated_at?: string;
|
|
14746
|
-
versie?: string;
|
|
15890
|
+
message?: string | null;
|
|
15891
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
15892
|
+
price_list_id?: string;
|
|
15893
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
15894
|
+
row_number?: number;
|
|
15895
|
+
supplier_product_id?: string | null;
|
|
14747
15896
|
};
|
|
14748
|
-
Relationships: [
|
|
15897
|
+
Relationships: [{
|
|
15898
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
15899
|
+
columns: ["price_list_id"];
|
|
15900
|
+
isOneToOne: false;
|
|
15901
|
+
referencedRelation: "price_lists";
|
|
15902
|
+
referencedColumns: ["id"];
|
|
15903
|
+
}, {
|
|
15904
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
15905
|
+
columns: ["supplier_product_id"];
|
|
15906
|
+
isOneToOne: false;
|
|
15907
|
+
referencedRelation: "supplier_products";
|
|
15908
|
+
referencedColumns: ["id"];
|
|
15909
|
+
}];
|
|
14749
15910
|
};
|
|
14750
|
-
|
|
15911
|
+
price_lists: {
|
|
14751
15912
|
Row: {
|
|
14752
|
-
bestaande_job_id: string | null;
|
|
14753
15913
|
created_at: string;
|
|
14754
|
-
|
|
14755
|
-
|
|
14756
|
-
|
|
15914
|
+
created_by: string | null;
|
|
15915
|
+
file_hash: string | null;
|
|
15916
|
+
file_name: string;
|
|
15917
|
+
file_path: string | null;
|
|
15918
|
+
headers: string[];
|
|
14757
15919
|
id: string;
|
|
14758
|
-
|
|
14759
|
-
|
|
15920
|
+
preview: import("../integrations/supabase/types").Json;
|
|
15921
|
+
processed_at: string | null;
|
|
15922
|
+
reason: string | null;
|
|
15923
|
+
row_count: number;
|
|
15924
|
+
sheet_name: string | null;
|
|
15925
|
+
source: string;
|
|
15926
|
+
stats: import("../integrations/supabase/types").Json;
|
|
15927
|
+
status: string;
|
|
15928
|
+
supplier_guess: string | null;
|
|
15929
|
+
supplier_id: string | null;
|
|
15930
|
+
updated_at: string;
|
|
15931
|
+
};
|
|
15932
|
+
Insert: {
|
|
15933
|
+
created_at?: string;
|
|
15934
|
+
created_by?: string | null;
|
|
15935
|
+
file_hash?: string | null;
|
|
15936
|
+
file_name: string;
|
|
15937
|
+
file_path?: string | null;
|
|
15938
|
+
headers?: string[];
|
|
15939
|
+
id?: string;
|
|
15940
|
+
preview?: import("../integrations/supabase/types").Json;
|
|
15941
|
+
processed_at?: string | null;
|
|
15942
|
+
reason?: string | null;
|
|
15943
|
+
row_count?: number;
|
|
15944
|
+
sheet_name?: string | null;
|
|
15945
|
+
source?: string;
|
|
15946
|
+
stats?: import("../integrations/supabase/types").Json;
|
|
15947
|
+
status?: string;
|
|
15948
|
+
supplier_guess?: string | null;
|
|
15949
|
+
supplier_id?: string | null;
|
|
15950
|
+
updated_at?: string;
|
|
15951
|
+
};
|
|
15952
|
+
Update: {
|
|
15953
|
+
created_at?: string;
|
|
15954
|
+
created_by?: string | null;
|
|
15955
|
+
file_hash?: string | null;
|
|
15956
|
+
file_name?: string;
|
|
15957
|
+
file_path?: string | null;
|
|
15958
|
+
headers?: string[];
|
|
15959
|
+
id?: string;
|
|
15960
|
+
preview?: import("../integrations/supabase/types").Json;
|
|
15961
|
+
processed_at?: string | null;
|
|
15962
|
+
reason?: string | null;
|
|
15963
|
+
row_count?: number;
|
|
15964
|
+
sheet_name?: string | null;
|
|
15965
|
+
source?: string;
|
|
15966
|
+
stats?: import("../integrations/supabase/types").Json;
|
|
15967
|
+
status?: string;
|
|
15968
|
+
supplier_guess?: string | null;
|
|
15969
|
+
supplier_id?: string | null;
|
|
15970
|
+
updated_at?: string;
|
|
15971
|
+
};
|
|
15972
|
+
Relationships: [{
|
|
15973
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
15974
|
+
columns: ["supplier_id"];
|
|
15975
|
+
isOneToOne: false;
|
|
15976
|
+
referencedRelation: "suppliers";
|
|
15977
|
+
referencedColumns: ["id"];
|
|
15978
|
+
}];
|
|
15979
|
+
};
|
|
15980
|
+
print_agents: {
|
|
15981
|
+
Row: {
|
|
15982
|
+
actief: boolean;
|
|
15983
|
+
created_at: string;
|
|
15984
|
+
gemelde_printers: import("../integrations/supabase/types").Json;
|
|
15985
|
+
id: string;
|
|
15986
|
+
laatst_gezien: string | null;
|
|
15987
|
+
locatie: string;
|
|
15988
|
+
naam: string;
|
|
15989
|
+
pairing_code_hash: string | null;
|
|
15990
|
+
pairing_expires_at: string | null;
|
|
15991
|
+
pairing_used_at: string | null;
|
|
15992
|
+
token_hash: string;
|
|
15993
|
+
updated_at: string;
|
|
15994
|
+
versie: string;
|
|
15995
|
+
};
|
|
15996
|
+
Insert: {
|
|
15997
|
+
actief?: boolean;
|
|
15998
|
+
created_at?: string;
|
|
15999
|
+
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
16000
|
+
id?: string;
|
|
16001
|
+
laatst_gezien?: string | null;
|
|
16002
|
+
locatie?: string;
|
|
16003
|
+
naam: string;
|
|
16004
|
+
pairing_code_hash?: string | null;
|
|
16005
|
+
pairing_expires_at?: string | null;
|
|
16006
|
+
pairing_used_at?: string | null;
|
|
16007
|
+
token_hash: string;
|
|
16008
|
+
updated_at?: string;
|
|
16009
|
+
versie?: string;
|
|
16010
|
+
};
|
|
16011
|
+
Update: {
|
|
16012
|
+
actief?: boolean;
|
|
16013
|
+
created_at?: string;
|
|
16014
|
+
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
16015
|
+
id?: string;
|
|
16016
|
+
laatst_gezien?: string | null;
|
|
16017
|
+
locatie?: string;
|
|
16018
|
+
naam?: string;
|
|
16019
|
+
pairing_code_hash?: string | null;
|
|
16020
|
+
pairing_expires_at?: string | null;
|
|
16021
|
+
pairing_used_at?: string | null;
|
|
16022
|
+
token_hash?: string;
|
|
16023
|
+
updated_at?: string;
|
|
16024
|
+
versie?: string;
|
|
16025
|
+
};
|
|
16026
|
+
Relationships: [];
|
|
16027
|
+
};
|
|
16028
|
+
print_dedupe_events: {
|
|
16029
|
+
Row: {
|
|
16030
|
+
bestaande_job_id: string | null;
|
|
16031
|
+
created_at: string;
|
|
16032
|
+
detail: string | null;
|
|
16033
|
+
documentnaam: string | null;
|
|
16034
|
+
documenttype: string | null;
|
|
16035
|
+
id: string;
|
|
16036
|
+
idempotentie_sleutel: string;
|
|
16037
|
+
reden: string;
|
|
14760
16038
|
};
|
|
14761
16039
|
Insert: {
|
|
14762
16040
|
bestaande_job_id?: string | null;
|
|
@@ -16256,30 +17534,108 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
16256
17534
|
referencedColumns: ["id"];
|
|
16257
17535
|
}];
|
|
16258
17536
|
};
|
|
17537
|
+
purchase_order_dispatches: {
|
|
17538
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
17563
|
+
created_at?: string;
|
|
17564
|
+
id?: string;
|
|
17565
|
+
last_error?: string | null;
|
|
17566
|
+
outbox_id?: string | null;
|
|
17567
|
+
purchase_order_id?: string;
|
|
17568
|
+
status?: string;
|
|
17569
|
+
supplier_id?: string | null;
|
|
17570
|
+
supplier_name?: string;
|
|
17571
|
+
to_address?: string;
|
|
17572
|
+
updated_at?: string;
|
|
17573
|
+
};
|
|
17574
|
+
Relationships: [{
|
|
17575
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
17576
|
+
columns: ["purchase_order_id"];
|
|
17577
|
+
isOneToOne: false;
|
|
17578
|
+
referencedRelation: "purchase_orders";
|
|
17579
|
+
referencedColumns: ["id"];
|
|
17580
|
+
}, {
|
|
17581
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
17582
|
+
columns: ["supplier_id"];
|
|
17583
|
+
isOneToOne: false;
|
|
17584
|
+
referencedRelation: "suppliers";
|
|
17585
|
+
referencedColumns: ["id"];
|
|
17586
|
+
}];
|
|
17587
|
+
};
|
|
16259
17588
|
purchase_order_items: {
|
|
16260
17589
|
Row: {
|
|
17590
|
+
article_number: string | null;
|
|
16261
17591
|
created_at: string;
|
|
17592
|
+
delivery_date: string | null;
|
|
16262
17593
|
id: string;
|
|
17594
|
+
name: string;
|
|
17595
|
+
note: string | null;
|
|
17596
|
+
pot_size: string | null;
|
|
16263
17597
|
product_id: string | null;
|
|
16264
17598
|
product_type: string;
|
|
16265
17599
|
purchase_order_id: string;
|
|
16266
17600
|
quantity: number;
|
|
17601
|
+
supplier_id: string | null;
|
|
17602
|
+
supplier_product_id: string | null;
|
|
17603
|
+
unit_price_cents: number;
|
|
17604
|
+
updated_at: string;
|
|
16267
17605
|
};
|
|
16268
17606
|
Insert: {
|
|
17607
|
+
article_number?: string | null;
|
|
16269
17608
|
created_at?: string;
|
|
17609
|
+
delivery_date?: string | null;
|
|
16270
17610
|
id?: string;
|
|
17611
|
+
name?: string;
|
|
17612
|
+
note?: string | null;
|
|
17613
|
+
pot_size?: string | null;
|
|
16271
17614
|
product_id?: string | null;
|
|
16272
17615
|
product_type?: string;
|
|
16273
17616
|
purchase_order_id: string;
|
|
16274
17617
|
quantity?: number;
|
|
17618
|
+
supplier_id?: string | null;
|
|
17619
|
+
supplier_product_id?: string | null;
|
|
17620
|
+
unit_price_cents?: number;
|
|
17621
|
+
updated_at?: string;
|
|
16275
17622
|
};
|
|
16276
17623
|
Update: {
|
|
17624
|
+
article_number?: string | null;
|
|
16277
17625
|
created_at?: string;
|
|
17626
|
+
delivery_date?: string | null;
|
|
16278
17627
|
id?: string;
|
|
17628
|
+
name?: string;
|
|
17629
|
+
note?: string | null;
|
|
17630
|
+
pot_size?: string | null;
|
|
16279
17631
|
product_id?: string | null;
|
|
16280
17632
|
product_type?: string;
|
|
16281
17633
|
purchase_order_id?: string;
|
|
16282
17634
|
quantity?: number;
|
|
17635
|
+
supplier_id?: string | null;
|
|
17636
|
+
supplier_product_id?: string | null;
|
|
17637
|
+
unit_price_cents?: number;
|
|
17638
|
+
updated_at?: string;
|
|
16283
17639
|
};
|
|
16284
17640
|
Relationships: [{
|
|
16285
17641
|
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
@@ -16299,43 +17655,70 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
16299
17655
|
isOneToOne: false;
|
|
16300
17656
|
referencedRelation: "purchase_orders";
|
|
16301
17657
|
referencedColumns: ["id"];
|
|
17658
|
+
}, {
|
|
17659
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
17660
|
+
columns: ["supplier_id"];
|
|
17661
|
+
isOneToOne: false;
|
|
17662
|
+
referencedRelation: "suppliers";
|
|
17663
|
+
referencedColumns: ["id"];
|
|
17664
|
+
}, {
|
|
17665
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
17666
|
+
columns: ["supplier_product_id"];
|
|
17667
|
+
isOneToOne: false;
|
|
17668
|
+
referencedRelation: "supplier_products";
|
|
17669
|
+
referencedColumns: ["id"];
|
|
16302
17670
|
}];
|
|
16303
17671
|
};
|
|
16304
17672
|
purchase_orders: {
|
|
16305
17673
|
Row: {
|
|
17674
|
+
contact_person: string | null;
|
|
16306
17675
|
created_at: string;
|
|
17676
|
+
created_by: string | null;
|
|
16307
17677
|
expected_delivery_date: string;
|
|
16308
17678
|
id: string;
|
|
16309
17679
|
location_id: string | null;
|
|
16310
17680
|
notes: string | null;
|
|
16311
17681
|
order_number: string;
|
|
17682
|
+
reference: string | null;
|
|
17683
|
+
sent_at: string | null;
|
|
16312
17684
|
status: string;
|
|
16313
17685
|
supplier_id: string | null;
|
|
16314
17686
|
supplier_name: string;
|
|
17687
|
+
total_cents: number;
|
|
16315
17688
|
updated_at: string;
|
|
16316
17689
|
};
|
|
16317
17690
|
Insert: {
|
|
17691
|
+
contact_person?: string | null;
|
|
16318
17692
|
created_at?: string;
|
|
16319
|
-
|
|
17693
|
+
created_by?: string | null;
|
|
17694
|
+
expected_delivery_date?: string;
|
|
16320
17695
|
id?: string;
|
|
16321
17696
|
location_id?: string | null;
|
|
16322
17697
|
notes?: string | null;
|
|
16323
|
-
order_number
|
|
17698
|
+
order_number?: string;
|
|
17699
|
+
reference?: string | null;
|
|
17700
|
+
sent_at?: string | null;
|
|
16324
17701
|
status?: string;
|
|
16325
17702
|
supplier_id?: string | null;
|
|
16326
17703
|
supplier_name?: string;
|
|
17704
|
+
total_cents?: number;
|
|
16327
17705
|
updated_at?: string;
|
|
16328
17706
|
};
|
|
16329
17707
|
Update: {
|
|
17708
|
+
contact_person?: string | null;
|
|
16330
17709
|
created_at?: string;
|
|
17710
|
+
created_by?: string | null;
|
|
16331
17711
|
expected_delivery_date?: string;
|
|
16332
17712
|
id?: string;
|
|
16333
17713
|
location_id?: string | null;
|
|
16334
17714
|
notes?: string | null;
|
|
16335
17715
|
order_number?: string;
|
|
17716
|
+
reference?: string | null;
|
|
17717
|
+
sent_at?: string | null;
|
|
16336
17718
|
status?: string;
|
|
16337
17719
|
supplier_id?: string | null;
|
|
16338
17720
|
supplier_name?: string;
|
|
17721
|
+
total_cents?: number;
|
|
16339
17722
|
updated_at?: string;
|
|
16340
17723
|
};
|
|
16341
17724
|
Relationships: [{
|
|
@@ -17222,101 +18605,293 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
17222
18605
|
};
|
|
17223
18606
|
Relationships: [];
|
|
17224
18607
|
};
|
|
17225
|
-
|
|
18608
|
+
supplier_contacts: {
|
|
17226
18609
|
Row: {
|
|
17227
|
-
article_number: string | null;
|
|
17228
18610
|
created_at: string;
|
|
18611
|
+
email: string | null;
|
|
17229
18612
|
id: string;
|
|
18613
|
+
is_primary: boolean;
|
|
17230
18614
|
name: string;
|
|
17231
|
-
|
|
17232
|
-
|
|
17233
|
-
price: number | null;
|
|
17234
|
-
quantity: number | null;
|
|
18615
|
+
phone: string | null;
|
|
18616
|
+
role: string | null;
|
|
17235
18617
|
supplier_id: string;
|
|
17236
|
-
unit: string;
|
|
17237
18618
|
updated_at: string;
|
|
17238
18619
|
};
|
|
17239
18620
|
Insert: {
|
|
17240
|
-
article_number?: string | null;
|
|
17241
18621
|
created_at?: string;
|
|
18622
|
+
email?: string | null;
|
|
17242
18623
|
id?: string;
|
|
18624
|
+
is_primary?: boolean;
|
|
17243
18625
|
name: string;
|
|
17244
|
-
|
|
17245
|
-
|
|
17246
|
-
price?: number | null;
|
|
17247
|
-
quantity?: number | null;
|
|
18626
|
+
phone?: string | null;
|
|
18627
|
+
role?: string | null;
|
|
17248
18628
|
supplier_id: string;
|
|
17249
|
-
unit?: string;
|
|
17250
18629
|
updated_at?: string;
|
|
17251
18630
|
};
|
|
17252
18631
|
Update: {
|
|
17253
|
-
article_number?: string | null;
|
|
17254
18632
|
created_at?: string;
|
|
18633
|
+
email?: string | null;
|
|
17255
18634
|
id?: string;
|
|
18635
|
+
is_primary?: boolean;
|
|
17256
18636
|
name?: string;
|
|
17257
|
-
|
|
17258
|
-
|
|
17259
|
-
price?: number | null;
|
|
17260
|
-
quantity?: number | null;
|
|
18637
|
+
phone?: string | null;
|
|
18638
|
+
role?: string | null;
|
|
17261
18639
|
supplier_id?: string;
|
|
17262
|
-
unit?: string;
|
|
17263
18640
|
updated_at?: string;
|
|
17264
18641
|
};
|
|
17265
18642
|
Relationships: [{
|
|
17266
|
-
foreignKeyName: "
|
|
18643
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
17267
18644
|
columns: ["supplier_id"];
|
|
17268
18645
|
isOneToOne: false;
|
|
17269
18646
|
referencedRelation: "suppliers";
|
|
17270
18647
|
referencedColumns: ["id"];
|
|
17271
18648
|
}];
|
|
17272
18649
|
};
|
|
17273
|
-
|
|
18650
|
+
supplier_price_history: {
|
|
17274
18651
|
Row: {
|
|
17275
|
-
address: string | null;
|
|
17276
|
-
column_mappings: import("../integrations/supabase/types").Json | null;
|
|
17277
|
-
contact_person: string | null;
|
|
17278
18652
|
created_at: string;
|
|
17279
|
-
default_product_type: string;
|
|
17280
|
-
email: string | null;
|
|
17281
18653
|
id: string;
|
|
17282
|
-
|
|
17283
|
-
|
|
17284
|
-
|
|
17285
|
-
|
|
17286
|
-
|
|
18654
|
+
new_price_cents: number;
|
|
18655
|
+
old_price_cents: number | null;
|
|
18656
|
+
price_list_id: string | null;
|
|
18657
|
+
supplier_id: string | null;
|
|
18658
|
+
supplier_product_id: string;
|
|
17287
18659
|
};
|
|
17288
18660
|
Insert: {
|
|
17289
|
-
address?: string | null;
|
|
17290
|
-
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
17291
|
-
contact_person?: string | null;
|
|
17292
18661
|
created_at?: string;
|
|
17293
|
-
default_product_type?: string;
|
|
17294
|
-
email?: string | null;
|
|
17295
18662
|
id?: string;
|
|
17296
|
-
|
|
17297
|
-
|
|
17298
|
-
|
|
17299
|
-
|
|
17300
|
-
|
|
18663
|
+
new_price_cents: number;
|
|
18664
|
+
old_price_cents?: number | null;
|
|
18665
|
+
price_list_id?: string | null;
|
|
18666
|
+
supplier_id?: string | null;
|
|
18667
|
+
supplier_product_id: string;
|
|
17301
18668
|
};
|
|
17302
18669
|
Update: {
|
|
17303
|
-
address?: string | null;
|
|
17304
|
-
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
17305
|
-
contact_person?: string | null;
|
|
17306
18670
|
created_at?: string;
|
|
17307
|
-
default_product_type?: string;
|
|
17308
|
-
email?: string | null;
|
|
17309
18671
|
id?: string;
|
|
17310
|
-
|
|
17311
|
-
|
|
17312
|
-
|
|
17313
|
-
|
|
17314
|
-
|
|
18672
|
+
new_price_cents?: number;
|
|
18673
|
+
old_price_cents?: number | null;
|
|
18674
|
+
price_list_id?: string | null;
|
|
18675
|
+
supplier_id?: string | null;
|
|
18676
|
+
supplier_product_id?: string;
|
|
17315
18677
|
};
|
|
17316
|
-
Relationships: [
|
|
17317
|
-
|
|
17318
|
-
|
|
17319
|
-
|
|
18678
|
+
Relationships: [{
|
|
18679
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
18680
|
+
columns: ["price_list_id"];
|
|
18681
|
+
isOneToOne: false;
|
|
18682
|
+
referencedRelation: "price_lists";
|
|
18683
|
+
referencedColumns: ["id"];
|
|
18684
|
+
}, {
|
|
18685
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
18686
|
+
columns: ["supplier_product_id"];
|
|
18687
|
+
isOneToOne: false;
|
|
18688
|
+
referencedRelation: "supplier_products";
|
|
18689
|
+
referencedColumns: ["id"];
|
|
18690
|
+
}];
|
|
18691
|
+
};
|
|
18692
|
+
supplier_price_list_mappings: {
|
|
18693
|
+
Row: {
|
|
18694
|
+
column_map: import("../integrations/supabase/types").Json;
|
|
18695
|
+
created_at: string;
|
|
18696
|
+
deactivate_missing: boolean;
|
|
18697
|
+
decimal_separator: string;
|
|
18698
|
+
expected_headers: string[];
|
|
18699
|
+
extract_pot_from_name: boolean;
|
|
18700
|
+
header_row: number;
|
|
18701
|
+
id: string;
|
|
18702
|
+
max_error_ratio: number;
|
|
18703
|
+
price_is_cents: boolean;
|
|
18704
|
+
sheet_name: string | null;
|
|
18705
|
+
supplier_id: string;
|
|
18706
|
+
updated_at: string;
|
|
18707
|
+
};
|
|
18708
|
+
Insert: {
|
|
18709
|
+
column_map?: import("../integrations/supabase/types").Json;
|
|
18710
|
+
created_at?: string;
|
|
18711
|
+
deactivate_missing?: boolean;
|
|
18712
|
+
decimal_separator?: string;
|
|
18713
|
+
expected_headers?: string[];
|
|
18714
|
+
extract_pot_from_name?: boolean;
|
|
18715
|
+
header_row?: number;
|
|
18716
|
+
id?: string;
|
|
18717
|
+
max_error_ratio?: number;
|
|
18718
|
+
price_is_cents?: boolean;
|
|
18719
|
+
sheet_name?: string | null;
|
|
18720
|
+
supplier_id: string;
|
|
18721
|
+
updated_at?: string;
|
|
18722
|
+
};
|
|
18723
|
+
Update: {
|
|
18724
|
+
column_map?: import("../integrations/supabase/types").Json;
|
|
18725
|
+
created_at?: string;
|
|
18726
|
+
deactivate_missing?: boolean;
|
|
18727
|
+
decimal_separator?: string;
|
|
18728
|
+
expected_headers?: string[];
|
|
18729
|
+
extract_pot_from_name?: boolean;
|
|
18730
|
+
header_row?: number;
|
|
18731
|
+
id?: string;
|
|
18732
|
+
max_error_ratio?: number;
|
|
18733
|
+
price_is_cents?: boolean;
|
|
18734
|
+
sheet_name?: string | null;
|
|
18735
|
+
supplier_id?: string;
|
|
18736
|
+
updated_at?: string;
|
|
18737
|
+
};
|
|
18738
|
+
Relationships: [{
|
|
18739
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
18740
|
+
columns: ["supplier_id"];
|
|
18741
|
+
isOneToOne: true;
|
|
18742
|
+
referencedRelation: "suppliers";
|
|
18743
|
+
referencedColumns: ["id"];
|
|
18744
|
+
}];
|
|
18745
|
+
};
|
|
18746
|
+
supplier_products: {
|
|
18747
|
+
Row: {
|
|
18748
|
+
article_number: string | null;
|
|
18749
|
+
available_quantity: number;
|
|
18750
|
+
created_at: string;
|
|
18751
|
+
height: string | null;
|
|
18752
|
+
id: string;
|
|
18753
|
+
is_active: boolean;
|
|
18754
|
+
min_order: number;
|
|
18755
|
+
name: string;
|
|
18756
|
+
notes: string | null;
|
|
18757
|
+
order_unit: number;
|
|
18758
|
+
pot_size: string | null;
|
|
18759
|
+
price: number | null;
|
|
18760
|
+
price_cents: number;
|
|
18761
|
+
quality: string | null;
|
|
18762
|
+
quantity: number | null;
|
|
18763
|
+
supplier_id: string;
|
|
18764
|
+
unit: string;
|
|
18765
|
+
updated_at: string;
|
|
18766
|
+
};
|
|
18767
|
+
Insert: {
|
|
18768
|
+
article_number?: string | null;
|
|
18769
|
+
available_quantity?: number;
|
|
18770
|
+
created_at?: string;
|
|
18771
|
+
height?: string | null;
|
|
18772
|
+
id?: string;
|
|
18773
|
+
is_active?: boolean;
|
|
18774
|
+
min_order?: number;
|
|
18775
|
+
name: string;
|
|
18776
|
+
notes?: string | null;
|
|
18777
|
+
order_unit?: number;
|
|
18778
|
+
pot_size?: string | null;
|
|
18779
|
+
price?: number | null;
|
|
18780
|
+
price_cents?: number;
|
|
18781
|
+
quality?: string | null;
|
|
18782
|
+
quantity?: number | null;
|
|
18783
|
+
supplier_id: string;
|
|
18784
|
+
unit?: string;
|
|
18785
|
+
updated_at?: string;
|
|
18786
|
+
};
|
|
18787
|
+
Update: {
|
|
18788
|
+
article_number?: string | null;
|
|
18789
|
+
available_quantity?: number;
|
|
18790
|
+
created_at?: string;
|
|
18791
|
+
height?: string | null;
|
|
18792
|
+
id?: string;
|
|
18793
|
+
is_active?: boolean;
|
|
18794
|
+
min_order?: number;
|
|
18795
|
+
name?: string;
|
|
18796
|
+
notes?: string | null;
|
|
18797
|
+
order_unit?: number;
|
|
18798
|
+
pot_size?: string | null;
|
|
18799
|
+
price?: number | null;
|
|
18800
|
+
price_cents?: number;
|
|
18801
|
+
quality?: string | null;
|
|
18802
|
+
quantity?: number | null;
|
|
18803
|
+
supplier_id?: string;
|
|
18804
|
+
unit?: string;
|
|
18805
|
+
updated_at?: string;
|
|
18806
|
+
};
|
|
18807
|
+
Relationships: [{
|
|
18808
|
+
foreignKeyName: "supplier_products_supplier_id_fkey";
|
|
18809
|
+
columns: ["supplier_id"];
|
|
18810
|
+
isOneToOne: false;
|
|
18811
|
+
referencedRelation: "suppliers";
|
|
18812
|
+
referencedColumns: ["id"];
|
|
18813
|
+
}];
|
|
18814
|
+
};
|
|
18815
|
+
suppliers: {
|
|
18816
|
+
Row: {
|
|
18817
|
+
address: string | null;
|
|
18818
|
+
category: string | null;
|
|
18819
|
+
column_mappings: import("../integrations/supabase/types").Json | null;
|
|
18820
|
+
contact_person: string | null;
|
|
18821
|
+
created_at: string;
|
|
18822
|
+
default_product_type: string;
|
|
18823
|
+
email: string | null;
|
|
18824
|
+
id: string;
|
|
18825
|
+
imported_file_name: string | null;
|
|
18826
|
+
is_preferred: boolean;
|
|
18827
|
+
kvk_number: string | null;
|
|
18828
|
+
lead_time_days: number | null;
|
|
18829
|
+
min_order_amount_cents: number;
|
|
18830
|
+
name: string;
|
|
18831
|
+
notes: string | null;
|
|
18832
|
+
order_days: string[];
|
|
18833
|
+
order_email: string | null;
|
|
18834
|
+
payment_terms_days: number | null;
|
|
18835
|
+
phone: string | null;
|
|
18836
|
+
status: string;
|
|
18837
|
+
updated_at: string;
|
|
18838
|
+
vat_number: string | null;
|
|
18839
|
+
website: string | null;
|
|
18840
|
+
};
|
|
18841
|
+
Insert: {
|
|
18842
|
+
address?: string | null;
|
|
18843
|
+
category?: string | null;
|
|
18844
|
+
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
18845
|
+
contact_person?: string | null;
|
|
18846
|
+
created_at?: string;
|
|
18847
|
+
default_product_type?: string;
|
|
18848
|
+
email?: string | null;
|
|
18849
|
+
id?: string;
|
|
18850
|
+
imported_file_name?: string | null;
|
|
18851
|
+
is_preferred?: boolean;
|
|
18852
|
+
kvk_number?: string | null;
|
|
18853
|
+
lead_time_days?: number | null;
|
|
18854
|
+
min_order_amount_cents?: number;
|
|
18855
|
+
name: string;
|
|
18856
|
+
notes?: string | null;
|
|
18857
|
+
order_days?: string[];
|
|
18858
|
+
order_email?: string | null;
|
|
18859
|
+
payment_terms_days?: number | null;
|
|
18860
|
+
phone?: string | null;
|
|
18861
|
+
status?: string;
|
|
18862
|
+
updated_at?: string;
|
|
18863
|
+
vat_number?: string | null;
|
|
18864
|
+
website?: string | null;
|
|
18865
|
+
};
|
|
18866
|
+
Update: {
|
|
18867
|
+
address?: string | null;
|
|
18868
|
+
category?: string | null;
|
|
18869
|
+
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
18870
|
+
contact_person?: string | null;
|
|
18871
|
+
created_at?: string;
|
|
18872
|
+
default_product_type?: string;
|
|
18873
|
+
email?: string | null;
|
|
18874
|
+
id?: string;
|
|
18875
|
+
imported_file_name?: string | null;
|
|
18876
|
+
is_preferred?: boolean;
|
|
18877
|
+
kvk_number?: string | null;
|
|
18878
|
+
lead_time_days?: number | null;
|
|
18879
|
+
min_order_amount_cents?: number;
|
|
18880
|
+
name?: string;
|
|
18881
|
+
notes?: string | null;
|
|
18882
|
+
order_days?: string[];
|
|
18883
|
+
order_email?: string | null;
|
|
18884
|
+
payment_terms_days?: number | null;
|
|
18885
|
+
phone?: string | null;
|
|
18886
|
+
status?: string;
|
|
18887
|
+
updated_at?: string;
|
|
18888
|
+
vat_number?: string | null;
|
|
18889
|
+
website?: string | null;
|
|
18890
|
+
};
|
|
18891
|
+
Relationships: [];
|
|
18892
|
+
};
|
|
18893
|
+
tba_article_cache: {
|
|
18894
|
+
Row: {
|
|
17320
18895
|
article_number: string;
|
|
17321
18896
|
created_at: string;
|
|
17322
18897
|
fetched_at: string;
|
|
@@ -18313,11 +19888,13 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
18313
19888
|
auto_invoice_trigger_statuses: string[];
|
|
18314
19889
|
created_at: string;
|
|
18315
19890
|
debtor_gl_account: string;
|
|
19891
|
+
default_article_code: string | null;
|
|
18316
19892
|
default_credit_invoice_type: string | null;
|
|
18317
19893
|
default_gl_account: string;
|
|
18318
19894
|
default_invoice_type: string;
|
|
18319
19895
|
default_payment_term_days: number;
|
|
18320
19896
|
default_vat_code: string;
|
|
19897
|
+
email_purpose: string | null;
|
|
18321
19898
|
home_country_code: string;
|
|
18322
19899
|
invoice_enabled_ao: boolean;
|
|
18323
19900
|
invoice_enabled_fo: boolean;
|
|
@@ -18339,11 +19916,13 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
18339
19916
|
auto_invoice_trigger_statuses?: string[];
|
|
18340
19917
|
created_at?: string;
|
|
18341
19918
|
debtor_gl_account?: string;
|
|
19919
|
+
default_article_code?: string | null;
|
|
18342
19920
|
default_credit_invoice_type?: string | null;
|
|
18343
19921
|
default_gl_account?: string;
|
|
18344
19922
|
default_invoice_type?: string;
|
|
18345
19923
|
default_payment_term_days?: number;
|
|
18346
19924
|
default_vat_code?: string;
|
|
19925
|
+
email_purpose?: string | null;
|
|
18347
19926
|
home_country_code?: string;
|
|
18348
19927
|
invoice_enabled_ao?: boolean;
|
|
18349
19928
|
invoice_enabled_fo?: boolean;
|
|
@@ -18365,11 +19944,13 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
18365
19944
|
auto_invoice_trigger_statuses?: string[];
|
|
18366
19945
|
created_at?: string;
|
|
18367
19946
|
debtor_gl_account?: string;
|
|
19947
|
+
default_article_code?: string | null;
|
|
18368
19948
|
default_credit_invoice_type?: string | null;
|
|
18369
19949
|
default_gl_account?: string;
|
|
18370
19950
|
default_invoice_type?: string;
|
|
18371
19951
|
default_payment_term_days?: number;
|
|
18372
19952
|
default_vat_code?: string;
|
|
19953
|
+
email_purpose?: string | null;
|
|
18373
19954
|
home_country_code?: string;
|
|
18374
19955
|
invoice_enabled_ao?: boolean;
|
|
18375
19956
|
invoice_enabled_fo?: boolean;
|
|
@@ -19262,6 +20843,36 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
19262
20843
|
referencedColumns: ["id"];
|
|
19263
20844
|
}];
|
|
19264
20845
|
};
|
|
20846
|
+
voorraad_buffer_state: {
|
|
20847
|
+
Row: {
|
|
20848
|
+
buffer_id: string;
|
|
20849
|
+
buffer_key: string | null;
|
|
20850
|
+
closed_at: string | null;
|
|
20851
|
+
created_at: string;
|
|
20852
|
+
detached_orders: import("../integrations/supabase/types").Json;
|
|
20853
|
+
reason: string | null;
|
|
20854
|
+
updated_at: string;
|
|
20855
|
+
};
|
|
20856
|
+
Insert: {
|
|
20857
|
+
buffer_id: string;
|
|
20858
|
+
buffer_key?: string | null;
|
|
20859
|
+
closed_at?: string | null;
|
|
20860
|
+
created_at?: string;
|
|
20861
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
20862
|
+
reason?: string | null;
|
|
20863
|
+
updated_at?: string;
|
|
20864
|
+
};
|
|
20865
|
+
Update: {
|
|
20866
|
+
buffer_id?: string;
|
|
20867
|
+
buffer_key?: string | null;
|
|
20868
|
+
closed_at?: string | null;
|
|
20869
|
+
created_at?: string;
|
|
20870
|
+
detached_orders?: import("../integrations/supabase/types").Json;
|
|
20871
|
+
reason?: string | null;
|
|
20872
|
+
updated_at?: string;
|
|
20873
|
+
};
|
|
20874
|
+
Relationships: [];
|
|
20875
|
+
};
|
|
19265
20876
|
voorraad_custom_fields: {
|
|
19266
20877
|
Row: {
|
|
19267
20878
|
created_at: string;
|
|
@@ -19304,6 +20915,36 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
19304
20915
|
};
|
|
19305
20916
|
Relationships: [];
|
|
19306
20917
|
};
|
|
20918
|
+
voorraad_logistics_event_log: {
|
|
20919
|
+
Row: {
|
|
20920
|
+
created_at: string;
|
|
20921
|
+
event_id: string;
|
|
20922
|
+
event_type: string;
|
|
20923
|
+
order_ref: string | null;
|
|
20924
|
+
processed_at: string;
|
|
20925
|
+
result: import("../integrations/supabase/types").Json;
|
|
20926
|
+
updated_at: string;
|
|
20927
|
+
};
|
|
20928
|
+
Insert: {
|
|
20929
|
+
created_at?: string;
|
|
20930
|
+
event_id: string;
|
|
20931
|
+
event_type: string;
|
|
20932
|
+
order_ref?: string | null;
|
|
20933
|
+
processed_at?: string;
|
|
20934
|
+
result?: import("../integrations/supabase/types").Json;
|
|
20935
|
+
updated_at?: string;
|
|
20936
|
+
};
|
|
20937
|
+
Update: {
|
|
20938
|
+
created_at?: string;
|
|
20939
|
+
event_id?: string;
|
|
20940
|
+
event_type?: string;
|
|
20941
|
+
order_ref?: string | null;
|
|
20942
|
+
processed_at?: string;
|
|
20943
|
+
result?: import("../integrations/supabase/types").Json;
|
|
20944
|
+
updated_at?: string;
|
|
20945
|
+
};
|
|
20946
|
+
Relationships: [];
|
|
20947
|
+
};
|
|
19307
20948
|
voorraad_media_upload_failures: {
|
|
19308
20949
|
Row: {
|
|
19309
20950
|
action: string;
|
|
@@ -19571,6 +21212,42 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
19571
21212
|
referencedColumns: ["id"];
|
|
19572
21213
|
}];
|
|
19573
21214
|
};
|
|
21215
|
+
werkbon_email_state: {
|
|
21216
|
+
Row: {
|
|
21217
|
+
created_at: string;
|
|
21218
|
+
event_id: string;
|
|
21219
|
+
id: string;
|
|
21220
|
+
is_archived: boolean;
|
|
21221
|
+
is_read: boolean;
|
|
21222
|
+
updated_at: string;
|
|
21223
|
+
werkbon_id: string | null;
|
|
21224
|
+
};
|
|
21225
|
+
Insert: {
|
|
21226
|
+
created_at?: string;
|
|
21227
|
+
event_id: string;
|
|
21228
|
+
id?: string;
|
|
21229
|
+
is_archived?: boolean;
|
|
21230
|
+
is_read?: boolean;
|
|
21231
|
+
updated_at?: string;
|
|
21232
|
+
werkbon_id?: string | null;
|
|
21233
|
+
};
|
|
21234
|
+
Update: {
|
|
21235
|
+
created_at?: string;
|
|
21236
|
+
event_id?: string;
|
|
21237
|
+
id?: string;
|
|
21238
|
+
is_archived?: boolean;
|
|
21239
|
+
is_read?: boolean;
|
|
21240
|
+
updated_at?: string;
|
|
21241
|
+
werkbon_id?: string | null;
|
|
21242
|
+
};
|
|
21243
|
+
Relationships: [{
|
|
21244
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
21245
|
+
columns: ["event_id"];
|
|
21246
|
+
isOneToOne: true;
|
|
21247
|
+
referencedRelation: "email_auth_events";
|
|
21248
|
+
referencedColumns: ["id"];
|
|
21249
|
+
}];
|
|
21250
|
+
};
|
|
19574
21251
|
werkbon_export_runs: {
|
|
19575
21252
|
Row: {
|
|
19576
21253
|
created_at: string;
|
|
@@ -19724,38 +21401,179 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
19724
21401
|
};
|
|
19725
21402
|
Relationships: [];
|
|
19726
21403
|
};
|
|
19727
|
-
|
|
21404
|
+
werkbon_mail_ai_settings: {
|
|
19728
21405
|
Row: {
|
|
19729
|
-
article_number: string | null;
|
|
19730
21406
|
created_at: string;
|
|
19731
|
-
|
|
19732
|
-
|
|
19733
|
-
|
|
19734
|
-
quantity: number;
|
|
19735
|
-
source: string;
|
|
19736
|
-
unit: string;
|
|
19737
|
-
unit_price_cents: number;
|
|
21407
|
+
id: boolean;
|
|
21408
|
+
required_fields: string[];
|
|
21409
|
+
system_prompt: string;
|
|
19738
21410
|
updated_at: string;
|
|
19739
|
-
|
|
21411
|
+
updated_by: string | null;
|
|
19740
21412
|
};
|
|
19741
21413
|
Insert: {
|
|
19742
|
-
article_number?: string | null;
|
|
19743
21414
|
created_at?: string;
|
|
19744
|
-
|
|
19745
|
-
|
|
19746
|
-
|
|
19747
|
-
quantity?: number;
|
|
19748
|
-
source?: string;
|
|
19749
|
-
unit?: string;
|
|
19750
|
-
unit_price_cents?: number;
|
|
21415
|
+
id?: boolean;
|
|
21416
|
+
required_fields?: string[];
|
|
21417
|
+
system_prompt?: string;
|
|
19751
21418
|
updated_at?: string;
|
|
19752
|
-
|
|
21419
|
+
updated_by?: string | null;
|
|
19753
21420
|
};
|
|
19754
21421
|
Update: {
|
|
19755
|
-
article_number?: string | null;
|
|
19756
21422
|
created_at?: string;
|
|
19757
|
-
|
|
19758
|
-
|
|
21423
|
+
id?: boolean;
|
|
21424
|
+
required_fields?: string[];
|
|
21425
|
+
system_prompt?: string;
|
|
21426
|
+
updated_at?: string;
|
|
21427
|
+
updated_by?: string | null;
|
|
21428
|
+
};
|
|
21429
|
+
Relationships: [];
|
|
21430
|
+
};
|
|
21431
|
+
werkbon_mail_bodies: {
|
|
21432
|
+
Row: {
|
|
21433
|
+
created_at: string;
|
|
21434
|
+
event_id: string;
|
|
21435
|
+
fetch_error: string | null;
|
|
21436
|
+
fetched_at: string | null;
|
|
21437
|
+
html: string | null;
|
|
21438
|
+
updated_at: string;
|
|
21439
|
+
};
|
|
21440
|
+
Insert: {
|
|
21441
|
+
created_at?: string;
|
|
21442
|
+
event_id: string;
|
|
21443
|
+
fetch_error?: string | null;
|
|
21444
|
+
fetched_at?: string | null;
|
|
21445
|
+
html?: string | null;
|
|
21446
|
+
updated_at?: string;
|
|
21447
|
+
};
|
|
21448
|
+
Update: {
|
|
21449
|
+
created_at?: string;
|
|
21450
|
+
event_id?: string;
|
|
21451
|
+
fetch_error?: string | null;
|
|
21452
|
+
fetched_at?: string | null;
|
|
21453
|
+
html?: string | null;
|
|
21454
|
+
updated_at?: string;
|
|
21455
|
+
};
|
|
21456
|
+
Relationships: [];
|
|
21457
|
+
};
|
|
21458
|
+
werkbon_mail_inline_assets: {
|
|
21459
|
+
Row: {
|
|
21460
|
+
content_id: string | null;
|
|
21461
|
+
created_at: string;
|
|
21462
|
+
event_id: string;
|
|
21463
|
+
filename: string | null;
|
|
21464
|
+
id: string;
|
|
21465
|
+
is_inline: boolean;
|
|
21466
|
+
mime_type: string | null;
|
|
21467
|
+
size_bytes: number | null;
|
|
21468
|
+
storage_path: string;
|
|
21469
|
+
};
|
|
21470
|
+
Insert: {
|
|
21471
|
+
content_id?: string | null;
|
|
21472
|
+
created_at?: string;
|
|
21473
|
+
event_id: string;
|
|
21474
|
+
filename?: string | null;
|
|
21475
|
+
id?: string;
|
|
21476
|
+
is_inline?: boolean;
|
|
21477
|
+
mime_type?: string | null;
|
|
21478
|
+
size_bytes?: number | null;
|
|
21479
|
+
storage_path: string;
|
|
21480
|
+
};
|
|
21481
|
+
Update: {
|
|
21482
|
+
content_id?: string | null;
|
|
21483
|
+
created_at?: string;
|
|
21484
|
+
event_id?: string;
|
|
21485
|
+
filename?: string | null;
|
|
21486
|
+
id?: string;
|
|
21487
|
+
is_inline?: boolean;
|
|
21488
|
+
mime_type?: string | null;
|
|
21489
|
+
size_bytes?: number | null;
|
|
21490
|
+
storage_path?: string;
|
|
21491
|
+
};
|
|
21492
|
+
Relationships: [];
|
|
21493
|
+
};
|
|
21494
|
+
werkbon_mail_settings: {
|
|
21495
|
+
Row: {
|
|
21496
|
+
connection_id: string | null;
|
|
21497
|
+
connection_ids: string[];
|
|
21498
|
+
created_at: string;
|
|
21499
|
+
id: boolean;
|
|
21500
|
+
purposes: string[];
|
|
21501
|
+
source: string;
|
|
21502
|
+
updated_at: string;
|
|
21503
|
+
};
|
|
21504
|
+
Insert: {
|
|
21505
|
+
connection_id?: string | null;
|
|
21506
|
+
connection_ids?: string[];
|
|
21507
|
+
created_at?: string;
|
|
21508
|
+
id?: boolean;
|
|
21509
|
+
purposes?: string[];
|
|
21510
|
+
source?: string;
|
|
21511
|
+
updated_at?: string;
|
|
21512
|
+
};
|
|
21513
|
+
Update: {
|
|
21514
|
+
connection_id?: string | null;
|
|
21515
|
+
connection_ids?: string[];
|
|
21516
|
+
created_at?: string;
|
|
21517
|
+
id?: boolean;
|
|
21518
|
+
purposes?: string[];
|
|
21519
|
+
source?: string;
|
|
21520
|
+
updated_at?: string;
|
|
21521
|
+
};
|
|
21522
|
+
Relationships: [];
|
|
21523
|
+
};
|
|
21524
|
+
werkbon_mail_user_settings: {
|
|
21525
|
+
Row: {
|
|
21526
|
+
created_at: string;
|
|
21527
|
+
email_purpose: string | null;
|
|
21528
|
+
updated_at: string;
|
|
21529
|
+
user_id: string;
|
|
21530
|
+
};
|
|
21531
|
+
Insert: {
|
|
21532
|
+
created_at?: string;
|
|
21533
|
+
email_purpose?: string | null;
|
|
21534
|
+
updated_at?: string;
|
|
21535
|
+
user_id: string;
|
|
21536
|
+
};
|
|
21537
|
+
Update: {
|
|
21538
|
+
created_at?: string;
|
|
21539
|
+
email_purpose?: string | null;
|
|
21540
|
+
updated_at?: string;
|
|
21541
|
+
user_id?: string;
|
|
21542
|
+
};
|
|
21543
|
+
Relationships: [];
|
|
21544
|
+
};
|
|
21545
|
+
werkbon_materials: {
|
|
21546
|
+
Row: {
|
|
21547
|
+
article_number: string | null;
|
|
21548
|
+
created_at: string;
|
|
21549
|
+
created_by: string | null;
|
|
21550
|
+
description: string;
|
|
21551
|
+
id: string;
|
|
21552
|
+
quantity: number;
|
|
21553
|
+
source: string;
|
|
21554
|
+
unit: string;
|
|
21555
|
+
unit_price_cents: number;
|
|
21556
|
+
updated_at: string;
|
|
21557
|
+
werkbon_id: string;
|
|
21558
|
+
};
|
|
21559
|
+
Insert: {
|
|
21560
|
+
article_number?: string | null;
|
|
21561
|
+
created_at?: string;
|
|
21562
|
+
created_by?: string | null;
|
|
21563
|
+
description: string;
|
|
21564
|
+
id?: string;
|
|
21565
|
+
quantity?: number;
|
|
21566
|
+
source?: string;
|
|
21567
|
+
unit?: string;
|
|
21568
|
+
unit_price_cents?: number;
|
|
21569
|
+
updated_at?: string;
|
|
21570
|
+
werkbon_id: string;
|
|
21571
|
+
};
|
|
21572
|
+
Update: {
|
|
21573
|
+
article_number?: string | null;
|
|
21574
|
+
created_at?: string;
|
|
21575
|
+
created_by?: string | null;
|
|
21576
|
+
description?: string;
|
|
19759
21577
|
id?: string;
|
|
19760
21578
|
quantity?: number;
|
|
19761
21579
|
source?: string;
|
|
@@ -20063,6 +21881,156 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20063
21881
|
referencedColumns: ["id"];
|
|
20064
21882
|
}];
|
|
20065
21883
|
};
|
|
21884
|
+
werkbon_proposal_lines: {
|
|
21885
|
+
Row: {
|
|
21886
|
+
article_number: string | null;
|
|
21887
|
+
created_at: string;
|
|
21888
|
+
description: string | null;
|
|
21889
|
+
id: string;
|
|
21890
|
+
line_type: string;
|
|
21891
|
+
note: string | null;
|
|
21892
|
+
package_id: string | null;
|
|
21893
|
+
proposal_id: string;
|
|
21894
|
+
quantity: number | null;
|
|
21895
|
+
sort_order: number;
|
|
21896
|
+
unit: string | null;
|
|
21897
|
+
updated_at: string;
|
|
21898
|
+
};
|
|
21899
|
+
Insert: {
|
|
21900
|
+
article_number?: string | null;
|
|
21901
|
+
created_at?: string;
|
|
21902
|
+
description?: string | null;
|
|
21903
|
+
id?: string;
|
|
21904
|
+
line_type?: string;
|
|
21905
|
+
note?: string | null;
|
|
21906
|
+
package_id?: string | null;
|
|
21907
|
+
proposal_id: string;
|
|
21908
|
+
quantity?: number | null;
|
|
21909
|
+
sort_order?: number;
|
|
21910
|
+
unit?: string | null;
|
|
21911
|
+
updated_at?: string;
|
|
21912
|
+
};
|
|
21913
|
+
Update: {
|
|
21914
|
+
article_number?: string | null;
|
|
21915
|
+
created_at?: string;
|
|
21916
|
+
description?: string | null;
|
|
21917
|
+
id?: string;
|
|
21918
|
+
line_type?: string;
|
|
21919
|
+
note?: string | null;
|
|
21920
|
+
package_id?: string | null;
|
|
21921
|
+
proposal_id?: string;
|
|
21922
|
+
quantity?: number | null;
|
|
21923
|
+
sort_order?: number;
|
|
21924
|
+
unit?: string | null;
|
|
21925
|
+
updated_at?: string;
|
|
21926
|
+
};
|
|
21927
|
+
Relationships: [{
|
|
21928
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
21929
|
+
columns: ["proposal_id"];
|
|
21930
|
+
isOneToOne: false;
|
|
21931
|
+
referencedRelation: "werkbon_proposals";
|
|
21932
|
+
referencedColumns: ["id"];
|
|
21933
|
+
}];
|
|
21934
|
+
};
|
|
21935
|
+
werkbon_proposals: {
|
|
21936
|
+
Row: {
|
|
21937
|
+
analysed: boolean;
|
|
21938
|
+
budget_mandate_cents: number;
|
|
21939
|
+
complaint_description: string | null;
|
|
21940
|
+
contact_id: string | null;
|
|
21941
|
+
created_at: string;
|
|
21942
|
+
created_werkbon_id: string | null;
|
|
21943
|
+
customer_id: string | null;
|
|
21944
|
+
deadline_date: string | null;
|
|
21945
|
+
estimated_days: number | null;
|
|
21946
|
+
estimated_duration_minutes: number | null;
|
|
21947
|
+
event_id: string;
|
|
21948
|
+
external_id: string | null;
|
|
21949
|
+
externe_referentie: string | null;
|
|
21950
|
+
from_email: string | null;
|
|
21951
|
+
from_name: string | null;
|
|
21952
|
+
id: string;
|
|
21953
|
+
internal_notes: string | null;
|
|
21954
|
+
parsed_payload: import("../integrations/supabase/types").Json;
|
|
21955
|
+
received_at: string | null;
|
|
21956
|
+
reviewed_at: string | null;
|
|
21957
|
+
reviewed_by: string | null;
|
|
21958
|
+
room_number: string | null;
|
|
21959
|
+
scheduled_end_time: string | null;
|
|
21960
|
+
scheduled_start_time: string | null;
|
|
21961
|
+
status: string;
|
|
21962
|
+
subject: string | null;
|
|
21963
|
+
technician_id: string | null;
|
|
21964
|
+
technician_task_description: string | null;
|
|
21965
|
+
updated_at: string;
|
|
21966
|
+
work_address: string | null;
|
|
21967
|
+
};
|
|
21968
|
+
Insert: {
|
|
21969
|
+
analysed?: boolean;
|
|
21970
|
+
budget_mandate_cents?: number;
|
|
21971
|
+
complaint_description?: string | null;
|
|
21972
|
+
contact_id?: string | null;
|
|
21973
|
+
created_at?: string;
|
|
21974
|
+
created_werkbon_id?: string | null;
|
|
21975
|
+
customer_id?: string | null;
|
|
21976
|
+
deadline_date?: string | null;
|
|
21977
|
+
estimated_days?: number | null;
|
|
21978
|
+
estimated_duration_minutes?: number | null;
|
|
21979
|
+
event_id: string;
|
|
21980
|
+
external_id?: string | null;
|
|
21981
|
+
externe_referentie?: string | null;
|
|
21982
|
+
from_email?: string | null;
|
|
21983
|
+
from_name?: string | null;
|
|
21984
|
+
id?: string;
|
|
21985
|
+
internal_notes?: string | null;
|
|
21986
|
+
parsed_payload?: import("../integrations/supabase/types").Json;
|
|
21987
|
+
received_at?: string | null;
|
|
21988
|
+
reviewed_at?: string | null;
|
|
21989
|
+
reviewed_by?: string | null;
|
|
21990
|
+
room_number?: string | null;
|
|
21991
|
+
scheduled_end_time?: string | null;
|
|
21992
|
+
scheduled_start_time?: string | null;
|
|
21993
|
+
status?: string;
|
|
21994
|
+
subject?: string | null;
|
|
21995
|
+
technician_id?: string | null;
|
|
21996
|
+
technician_task_description?: string | null;
|
|
21997
|
+
updated_at?: string;
|
|
21998
|
+
work_address?: string | null;
|
|
21999
|
+
};
|
|
22000
|
+
Update: {
|
|
22001
|
+
analysed?: boolean;
|
|
22002
|
+
budget_mandate_cents?: number;
|
|
22003
|
+
complaint_description?: string | null;
|
|
22004
|
+
contact_id?: string | null;
|
|
22005
|
+
created_at?: string;
|
|
22006
|
+
created_werkbon_id?: string | null;
|
|
22007
|
+
customer_id?: string | null;
|
|
22008
|
+
deadline_date?: string | null;
|
|
22009
|
+
estimated_days?: number | null;
|
|
22010
|
+
estimated_duration_minutes?: number | null;
|
|
22011
|
+
event_id?: string;
|
|
22012
|
+
external_id?: string | null;
|
|
22013
|
+
externe_referentie?: string | null;
|
|
22014
|
+
from_email?: string | null;
|
|
22015
|
+
from_name?: string | null;
|
|
22016
|
+
id?: string;
|
|
22017
|
+
internal_notes?: string | null;
|
|
22018
|
+
parsed_payload?: import("../integrations/supabase/types").Json;
|
|
22019
|
+
received_at?: string | null;
|
|
22020
|
+
reviewed_at?: string | null;
|
|
22021
|
+
reviewed_by?: string | null;
|
|
22022
|
+
room_number?: string | null;
|
|
22023
|
+
scheduled_end_time?: string | null;
|
|
22024
|
+
scheduled_start_time?: string | null;
|
|
22025
|
+
status?: string;
|
|
22026
|
+
subject?: string | null;
|
|
22027
|
+
technician_id?: string | null;
|
|
22028
|
+
technician_task_description?: string | null;
|
|
22029
|
+
updated_at?: string;
|
|
22030
|
+
work_address?: string | null;
|
|
22031
|
+
};
|
|
22032
|
+
Relationships: [];
|
|
22033
|
+
};
|
|
20066
22034
|
werkbon_time_logs: {
|
|
20067
22035
|
Row: {
|
|
20068
22036
|
activity: string;
|
|
@@ -20116,6 +22084,9 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20116
22084
|
created_at: string;
|
|
20117
22085
|
created_by: string | null;
|
|
20118
22086
|
customer_id: string | null;
|
|
22087
|
+
deadline_date: string | null;
|
|
22088
|
+
estimated_days: number | null;
|
|
22089
|
+
estimated_duration_minutes: number | null;
|
|
20119
22090
|
externe_referentie: string | null;
|
|
20120
22091
|
extra_costs_cents: number;
|
|
20121
22092
|
first_time_fix: boolean | null;
|
|
@@ -20146,6 +22117,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20146
22117
|
updated_at: string;
|
|
20147
22118
|
version: number;
|
|
20148
22119
|
work_address: string | null;
|
|
22120
|
+
workday_hours: number | null;
|
|
20149
22121
|
};
|
|
20150
22122
|
Insert: {
|
|
20151
22123
|
assigned_user_id?: string | null;
|
|
@@ -20154,6 +22126,9 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20154
22126
|
created_at?: string;
|
|
20155
22127
|
created_by?: string | null;
|
|
20156
22128
|
customer_id?: string | null;
|
|
22129
|
+
deadline_date?: string | null;
|
|
22130
|
+
estimated_days?: number | null;
|
|
22131
|
+
estimated_duration_minutes?: number | null;
|
|
20157
22132
|
externe_referentie?: string | null;
|
|
20158
22133
|
extra_costs_cents?: number;
|
|
20159
22134
|
first_time_fix?: boolean | null;
|
|
@@ -20184,6 +22159,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20184
22159
|
updated_at?: string;
|
|
20185
22160
|
version?: number;
|
|
20186
22161
|
work_address?: string | null;
|
|
22162
|
+
workday_hours?: number | null;
|
|
20187
22163
|
};
|
|
20188
22164
|
Update: {
|
|
20189
22165
|
assigned_user_id?: string | null;
|
|
@@ -20192,6 +22168,9 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20192
22168
|
created_at?: string;
|
|
20193
22169
|
created_by?: string | null;
|
|
20194
22170
|
customer_id?: string | null;
|
|
22171
|
+
deadline_date?: string | null;
|
|
22172
|
+
estimated_days?: number | null;
|
|
22173
|
+
estimated_duration_minutes?: number | null;
|
|
20195
22174
|
externe_referentie?: string | null;
|
|
20196
22175
|
extra_costs_cents?: number;
|
|
20197
22176
|
first_time_fix?: boolean | null;
|
|
@@ -20222,6 +22201,7 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
20222
22201
|
updated_at?: string;
|
|
20223
22202
|
version?: number;
|
|
20224
22203
|
work_address?: string | null;
|
|
22204
|
+
workday_hours?: number | null;
|
|
20225
22205
|
};
|
|
20226
22206
|
Relationships: [{
|
|
20227
22207
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
@@ -21426,6 +23406,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
21426
23406
|
};
|
|
21427
23407
|
Returns: string;
|
|
21428
23408
|
};
|
|
23409
|
+
backfill_cart_numbers_day_seq: {
|
|
23410
|
+
Args: never;
|
|
23411
|
+
Returns: number;
|
|
23412
|
+
};
|
|
21429
23413
|
backfill_open_order_reservations: {
|
|
21430
23414
|
Args: never;
|
|
21431
23415
|
Returns: {
|
|
@@ -21464,6 +23448,15 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
21464
23448
|
Args: never;
|
|
21465
23449
|
Returns: boolean;
|
|
21466
23450
|
};
|
|
23451
|
+
cancel_open_print_jobs: {
|
|
23452
|
+
Args: {
|
|
23453
|
+
_cutoff: string;
|
|
23454
|
+
};
|
|
23455
|
+
Returns: {
|
|
23456
|
+
extern_job_id: string;
|
|
23457
|
+
id: string;
|
|
23458
|
+
}[];
|
|
23459
|
+
};
|
|
21467
23460
|
check_offer_product_available_stock: {
|
|
21468
23461
|
Args: {
|
|
21469
23462
|
p_campaign_product_id: string;
|
|
@@ -21903,8 +23896,6 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
21903
23896
|
cart_index: number;
|
|
21904
23897
|
cart_number: string;
|
|
21905
23898
|
cart_number_id: string;
|
|
21906
|
-
cart_seq: number;
|
|
21907
|
-
cart_total: number;
|
|
21908
23899
|
order_id: string;
|
|
21909
23900
|
order_number: string;
|
|
21910
23901
|
order_source: string;
|
|
@@ -22129,9 +24120,20 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22129
24120
|
};
|
|
22130
24121
|
Returns: boolean;
|
|
22131
24122
|
};
|
|
22132
|
-
|
|
22133
|
-
Args:
|
|
22134
|
-
|
|
24123
|
+
floriday_adopt_connection: {
|
|
24124
|
+
Args: {
|
|
24125
|
+
p_new: string;
|
|
24126
|
+
p_old: string;
|
|
24127
|
+
};
|
|
24128
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24129
|
+
};
|
|
24130
|
+
floriday_autoheal_connections: {
|
|
24131
|
+
Args: never;
|
|
24132
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24133
|
+
};
|
|
24134
|
+
floriday_capture_stock_snapshot: {
|
|
24135
|
+
Args: never;
|
|
24136
|
+
Returns: number;
|
|
22135
24137
|
};
|
|
22136
24138
|
floriday_cleanup_stock_queue_v2: {
|
|
22137
24139
|
Args: never;
|
|
@@ -22186,6 +24188,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22186
24188
|
};
|
|
22187
24189
|
Returns: undefined;
|
|
22188
24190
|
};
|
|
24191
|
+
floriday_relink_products: {
|
|
24192
|
+
Args: {
|
|
24193
|
+
p_connection_id?: string;
|
|
24194
|
+
};
|
|
24195
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24196
|
+
};
|
|
22189
24197
|
floriday_requeue_dead_letters: {
|
|
22190
24198
|
Args: {
|
|
22191
24199
|
p_connection_id?: string;
|
|
@@ -22408,6 +24416,27 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22408
24416
|
Args: never;
|
|
22409
24417
|
Returns: string;
|
|
22410
24418
|
};
|
|
24419
|
+
handover_afspraak_intrekken: {
|
|
24420
|
+
Args: {
|
|
24421
|
+
_sleutel: string;
|
|
24422
|
+
};
|
|
24423
|
+
Returns: boolean;
|
|
24424
|
+
};
|
|
24425
|
+
handover_afspraak_zetten: {
|
|
24426
|
+
Args: {
|
|
24427
|
+
_besluit: string;
|
|
24428
|
+
_item: string;
|
|
24429
|
+
_modules: string[];
|
|
24430
|
+
_sleutel: string;
|
|
24431
|
+
_soort: string;
|
|
24432
|
+
_versie_vingerafdruk: string;
|
|
24433
|
+
};
|
|
24434
|
+
Returns: boolean;
|
|
24435
|
+
};
|
|
24436
|
+
handover_afspraken: {
|
|
24437
|
+
Args: never;
|
|
24438
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24439
|
+
};
|
|
22411
24440
|
handover_archief_lijst: {
|
|
22412
24441
|
Args: never;
|
|
22413
24442
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -22425,6 +24454,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22425
24454
|
};
|
|
22426
24455
|
Returns: boolean;
|
|
22427
24456
|
};
|
|
24457
|
+
handover_check_afronden_na_scan: {
|
|
24458
|
+
Args: {
|
|
24459
|
+
_module_ids: string[];
|
|
24460
|
+
};
|
|
24461
|
+
Returns: number;
|
|
24462
|
+
};
|
|
22428
24463
|
handover_check_markeren: {
|
|
22429
24464
|
Args: {
|
|
22430
24465
|
_module_ids: string[];
|
|
@@ -22468,6 +24503,14 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22468
24503
|
};
|
|
22469
24504
|
Returns: boolean;
|
|
22470
24505
|
};
|
|
24506
|
+
handover_md_bron_zetten: {
|
|
24507
|
+
Args: {
|
|
24508
|
+
_md: boolean;
|
|
24509
|
+
_module_id: string;
|
|
24510
|
+
_pad?: string;
|
|
24511
|
+
};
|
|
24512
|
+
Returns: boolean;
|
|
24513
|
+
};
|
|
22471
24514
|
handover_module_meta_zetten: {
|
|
22472
24515
|
Args: {
|
|
22473
24516
|
_module_id: string;
|
|
@@ -22476,6 +24519,24 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22476
24519
|
};
|
|
22477
24520
|
Returns: boolean;
|
|
22478
24521
|
};
|
|
24522
|
+
handover_naam_zetten: {
|
|
24523
|
+
Args: {
|
|
24524
|
+
_bron_repo?: string;
|
|
24525
|
+
_module_id: string;
|
|
24526
|
+
_weergavenaam?: string;
|
|
24527
|
+
};
|
|
24528
|
+
Returns: boolean;
|
|
24529
|
+
};
|
|
24530
|
+
handover_namen: {
|
|
24531
|
+
Args: never;
|
|
24532
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24533
|
+
};
|
|
24534
|
+
handover_nieuw_gezien: {
|
|
24535
|
+
Args: {
|
|
24536
|
+
_module_id: string;
|
|
24537
|
+
};
|
|
24538
|
+
Returns: boolean;
|
|
24539
|
+
};
|
|
22479
24540
|
handover_norm_naam: {
|
|
22480
24541
|
Args: {
|
|
22481
24542
|
_naam: string;
|
|
@@ -22512,6 +24573,24 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22512
24573
|
_versie_label?: string;
|
|
22513
24574
|
};
|
|
22514
24575
|
Returns: import("../integrations/supabase/types").Json;
|
|
24576
|
+
} | {
|
|
24577
|
+
Args: {
|
|
24578
|
+
_bekende_risicos?: string[];
|
|
24579
|
+
_bezit_tabellen?: string[];
|
|
24580
|
+
_bron_soort?: string;
|
|
24581
|
+
_commit?: string;
|
|
24582
|
+
_contractfuncties?: string[];
|
|
24583
|
+
_inhoud_md: string;
|
|
24584
|
+
_laatst_bevestigd_op?: string;
|
|
24585
|
+
_module_id: string;
|
|
24586
|
+
_module_titel: string;
|
|
24587
|
+
_ontbrekende_contracten?: string[];
|
|
24588
|
+
_pad?: string;
|
|
24589
|
+
_repo?: string;
|
|
24590
|
+
_samenvatting?: string;
|
|
24591
|
+
_versie_label?: string;
|
|
24592
|
+
};
|
|
24593
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
22515
24594
|
};
|
|
22516
24595
|
handover_publish_via_token: {
|
|
22517
24596
|
Args: {
|
|
@@ -22609,6 +24688,27 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22609
24688
|
Args: never;
|
|
22610
24689
|
Returns: boolean;
|
|
22611
24690
|
};
|
|
24691
|
+
inkoop_apply_price_list: {
|
|
24692
|
+
Args: {
|
|
24693
|
+
_price_list_id: string;
|
|
24694
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
24695
|
+
};
|
|
24696
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24697
|
+
};
|
|
24698
|
+
inkoop_next_order_number: {
|
|
24699
|
+
Args: never;
|
|
24700
|
+
Returns: string;
|
|
24701
|
+
};
|
|
24702
|
+
inkoop_send_order: {
|
|
24703
|
+
Args: {
|
|
24704
|
+
_order_id: string;
|
|
24705
|
+
};
|
|
24706
|
+
Returns: {
|
|
24707
|
+
outbox_id: string;
|
|
24708
|
+
supplier_name: string;
|
|
24709
|
+
to_address: string;
|
|
24710
|
+
}[];
|
|
24711
|
+
};
|
|
22612
24712
|
instructie_get: {
|
|
22613
24713
|
Args: {
|
|
22614
24714
|
_sleutel: string;
|
|
@@ -22668,6 +24768,13 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22668
24768
|
};
|
|
22669
24769
|
Returns: import("../integrations/supabase/types").Json;
|
|
22670
24770
|
};
|
|
24771
|
+
invoice_source_lines: {
|
|
24772
|
+
Args: {
|
|
24773
|
+
_source_id: string;
|
|
24774
|
+
_source_type: string;
|
|
24775
|
+
};
|
|
24776
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24777
|
+
};
|
|
22671
24778
|
is_authenticated: {
|
|
22672
24779
|
Args: never;
|
|
22673
24780
|
Returns: boolean;
|
|
@@ -22807,6 +24914,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22807
24914
|
};
|
|
22808
24915
|
Returns: string;
|
|
22809
24916
|
};
|
|
24917
|
+
logistics_active_layout_method: {
|
|
24918
|
+
Args: never;
|
|
24919
|
+
Returns: string;
|
|
24920
|
+
};
|
|
22810
24921
|
logistics_active_pick_workdays: {
|
|
22811
24922
|
Args: never;
|
|
22812
24923
|
Returns: string[];
|
|
@@ -22858,6 +24969,30 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22858
24969
|
};
|
|
22859
24970
|
Returns: import("../integrations/supabase/types").Json;
|
|
22860
24971
|
};
|
|
24972
|
+
logistics_block_reason_code: {
|
|
24973
|
+
Args: {
|
|
24974
|
+
p_details?: import("../integrations/supabase/types").Json;
|
|
24975
|
+
p_reason: string;
|
|
24976
|
+
};
|
|
24977
|
+
Returns: string;
|
|
24978
|
+
};
|
|
24979
|
+
logistics_blocked_orders: {
|
|
24980
|
+
Args: never;
|
|
24981
|
+
Returns: {
|
|
24982
|
+
attempts: number;
|
|
24983
|
+
blocked_since: string;
|
|
24984
|
+
delivery_date: string;
|
|
24985
|
+
order_id: string;
|
|
24986
|
+
order_ref: string;
|
|
24987
|
+
queue_id: string;
|
|
24988
|
+
reason: string;
|
|
24989
|
+
reason_code: string;
|
|
24990
|
+
}[];
|
|
24991
|
+
};
|
|
24992
|
+
logistics_blocked_overview: {
|
|
24993
|
+
Args: never;
|
|
24994
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24995
|
+
};
|
|
22861
24996
|
logistics_buffer_criteria: {
|
|
22862
24997
|
Args: {
|
|
22863
24998
|
p_settings: import("../integrations/supabase/types").Json;
|
|
@@ -22872,6 +25007,39 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22872
25007
|
};
|
|
22873
25008
|
Returns: import("../integrations/supabase/types").Json;
|
|
22874
25009
|
};
|
|
25010
|
+
logistics_buffer_detach_late_orders: {
|
|
25011
|
+
Args: {
|
|
25012
|
+
p_buffer?: string;
|
|
25013
|
+
};
|
|
25014
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25015
|
+
};
|
|
25016
|
+
logistics_buffer_frozen_order: {
|
|
25017
|
+
Args: {
|
|
25018
|
+
p_order_id: string;
|
|
25019
|
+
};
|
|
25020
|
+
Returns: boolean;
|
|
25021
|
+
};
|
|
25022
|
+
logistics_buffer_handled: {
|
|
25023
|
+
Args: {
|
|
25024
|
+
p_buffer: string;
|
|
25025
|
+
};
|
|
25026
|
+
Returns: boolean;
|
|
25027
|
+
};
|
|
25028
|
+
logistics_buffer_notify: {
|
|
25029
|
+
Args: {
|
|
25030
|
+
p_event_type: string;
|
|
25031
|
+
p_idempotency_key: string;
|
|
25032
|
+
p_order_ref: string;
|
|
25033
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
25034
|
+
};
|
|
25035
|
+
Returns: string;
|
|
25036
|
+
};
|
|
25037
|
+
logistics_buffer_open_key: {
|
|
25038
|
+
Args: {
|
|
25039
|
+
p_base_key: string;
|
|
25040
|
+
};
|
|
25041
|
+
Returns: string;
|
|
25042
|
+
};
|
|
22875
25043
|
logistics_buffer_simulate: {
|
|
22876
25044
|
Args: {
|
|
22877
25045
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -22924,6 +25092,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22924
25092
|
};
|
|
22925
25093
|
Returns: string;
|
|
22926
25094
|
};
|
|
25095
|
+
logistics_cart_checkin_at: {
|
|
25096
|
+
Args: {
|
|
25097
|
+
p_cart_id: string;
|
|
25098
|
+
};
|
|
25099
|
+
Returns: string;
|
|
25100
|
+
};
|
|
22927
25101
|
logistics_cart_handled: {
|
|
22928
25102
|
Args: {
|
|
22929
25103
|
p_cart_index: number;
|
|
@@ -22957,10 +25131,59 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
22957
25131
|
task_status: string;
|
|
22958
25132
|
}[];
|
|
22959
25133
|
};
|
|
25134
|
+
logistics_cart_is_full: {
|
|
25135
|
+
Args: {
|
|
25136
|
+
p_cart_id: string;
|
|
25137
|
+
};
|
|
25138
|
+
Returns: boolean;
|
|
25139
|
+
};
|
|
22960
25140
|
logistics_cart_layout_method: {
|
|
22961
25141
|
Args: never;
|
|
22962
25142
|
Returns: import("../integrations/supabase/types").Json;
|
|
22963
25143
|
};
|
|
25144
|
+
logistics_cart_order_refs: {
|
|
25145
|
+
Args: {
|
|
25146
|
+
p_cart_id: string;
|
|
25147
|
+
};
|
|
25148
|
+
Returns: string[];
|
|
25149
|
+
};
|
|
25150
|
+
logistics_cart_plan_overview: {
|
|
25151
|
+
Args: {
|
|
25152
|
+
p_days?: number;
|
|
25153
|
+
};
|
|
25154
|
+
Returns: {
|
|
25155
|
+
cart_total: number;
|
|
25156
|
+
delivery_date: string;
|
|
25157
|
+
order_ref: string;
|
|
25158
|
+
plan_ready: boolean;
|
|
25159
|
+
reason: string;
|
|
25160
|
+
released: boolean;
|
|
25161
|
+
}[];
|
|
25162
|
+
};
|
|
25163
|
+
logistics_cart_plan_status: {
|
|
25164
|
+
Args: {
|
|
25165
|
+
p_ref: string;
|
|
25166
|
+
};
|
|
25167
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25168
|
+
};
|
|
25169
|
+
logistics_cart_plan_status_core: {
|
|
25170
|
+
Args: {
|
|
25171
|
+
p_ref: string;
|
|
25172
|
+
};
|
|
25173
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25174
|
+
};
|
|
25175
|
+
logistics_cart_release_reason: {
|
|
25176
|
+
Args: {
|
|
25177
|
+
p_cart_id: string;
|
|
25178
|
+
};
|
|
25179
|
+
Returns: string;
|
|
25180
|
+
};
|
|
25181
|
+
logistics_cart_released: {
|
|
25182
|
+
Args: {
|
|
25183
|
+
p_cart_id: string;
|
|
25184
|
+
};
|
|
25185
|
+
Returns: boolean;
|
|
25186
|
+
};
|
|
22964
25187
|
logistics_cart_seq: {
|
|
22965
25188
|
Args: {
|
|
22966
25189
|
p_order_uuid?: string;
|
|
@@ -23011,6 +25234,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23011
25234
|
unit_ref: string;
|
|
23012
25235
|
}[];
|
|
23013
25236
|
};
|
|
25237
|
+
logistics_carts_per_print: {
|
|
25238
|
+
Args: never;
|
|
25239
|
+
Returns: number;
|
|
25240
|
+
};
|
|
23014
25241
|
logistics_check_order_allowed: {
|
|
23015
25242
|
Args: {
|
|
23016
25243
|
p_lines: import("../integrations/supabase/types").Json;
|
|
@@ -23114,6 +25341,16 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23114
25341
|
isSetofReturn: false;
|
|
23115
25342
|
};
|
|
23116
25343
|
};
|
|
25344
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
25345
|
+
Args: never;
|
|
25346
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25347
|
+
};
|
|
25348
|
+
logistics_cleanup_tasks: {
|
|
25349
|
+
Args: {
|
|
25350
|
+
p_limit?: number;
|
|
25351
|
+
};
|
|
25352
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25353
|
+
};
|
|
23117
25354
|
logistics_complete_task: {
|
|
23118
25355
|
Args: {
|
|
23119
25356
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -23176,6 +25413,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23176
25413
|
station_carts: number;
|
|
23177
25414
|
}[];
|
|
23178
25415
|
};
|
|
25416
|
+
logistics_control_complete_cart: {
|
|
25417
|
+
Args: {
|
|
25418
|
+
p_cart_id: string;
|
|
25419
|
+
};
|
|
25420
|
+
Returns: number;
|
|
25421
|
+
};
|
|
23179
25422
|
logistics_control_scan_approve: {
|
|
23180
25423
|
Args: {
|
|
23181
25424
|
p_allow_reprint?: boolean;
|
|
@@ -23255,6 +25498,15 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23255
25498
|
Args: never;
|
|
23256
25499
|
Returns: import("../integrations/supabase/types").Json;
|
|
23257
25500
|
};
|
|
25501
|
+
logistics_day_windows: {
|
|
25502
|
+
Args: {
|
|
25503
|
+
p_day: string;
|
|
25504
|
+
};
|
|
25505
|
+
Returns: {
|
|
25506
|
+
win_end: string;
|
|
25507
|
+
win_start: string;
|
|
25508
|
+
}[];
|
|
25509
|
+
};
|
|
23258
25510
|
logistics_delay_customer_email: {
|
|
23259
25511
|
Args: {
|
|
23260
25512
|
p_customer: string;
|
|
@@ -23322,6 +25574,17 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23322
25574
|
};
|
|
23323
25575
|
Returns: import("../integrations/supabase/types").Json;
|
|
23324
25576
|
};
|
|
25577
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
25578
|
+
Args: {
|
|
25579
|
+
_cart_id: string;
|
|
25580
|
+
_is_herprint: boolean;
|
|
25581
|
+
_printer_id: string;
|
|
25582
|
+
_queue_item_id: string;
|
|
25583
|
+
_session_id: string;
|
|
25584
|
+
_slip_job_id: string;
|
|
25585
|
+
};
|
|
25586
|
+
Returns: string;
|
|
25587
|
+
};
|
|
23325
25588
|
logistics_enqueue_sticker_with_slip: {
|
|
23326
25589
|
Args: {
|
|
23327
25590
|
_cart_id: string;
|
|
@@ -23339,6 +25602,20 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23339
25602
|
};
|
|
23340
25603
|
Returns: string;
|
|
23341
25604
|
};
|
|
25605
|
+
logistics_ensure_pick_data: {
|
|
25606
|
+
Args: {
|
|
25607
|
+
p_event_id?: string;
|
|
25608
|
+
p_missing?: import("../integrations/supabase/types").Json;
|
|
25609
|
+
p_ref: string;
|
|
25610
|
+
};
|
|
25611
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25612
|
+
};
|
|
25613
|
+
logistics_ensure_shipping_notes: {
|
|
25614
|
+
Args: {
|
|
25615
|
+
p_limit?: number;
|
|
25616
|
+
};
|
|
25617
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25618
|
+
};
|
|
23342
25619
|
logistics_fail_task: {
|
|
23343
25620
|
Args: {
|
|
23344
25621
|
p_error: string;
|
|
@@ -23384,6 +25661,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23384
25661
|
isSetofReturn: false;
|
|
23385
25662
|
};
|
|
23386
25663
|
};
|
|
25664
|
+
logistics_fix_wrong_shipping_notes: {
|
|
25665
|
+
Args: never;
|
|
25666
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25667
|
+
};
|
|
23387
25668
|
logistics_floriday_cart_plan: {
|
|
23388
25669
|
Args: {
|
|
23389
25670
|
p_order_id: string;
|
|
@@ -23411,6 +25692,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23411
25692
|
revision: number;
|
|
23412
25693
|
}[];
|
|
23413
25694
|
};
|
|
25695
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
25696
|
+
Args: never;
|
|
25697
|
+
Returns: boolean;
|
|
25698
|
+
};
|
|
23414
25699
|
logistics_floriday_finish_push: {
|
|
23415
25700
|
Args: {
|
|
23416
25701
|
_error?: string;
|
|
@@ -23460,6 +25745,38 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23460
25745
|
};
|
|
23461
25746
|
Returns: string;
|
|
23462
25747
|
};
|
|
25748
|
+
logistics_floriday_gate_status: {
|
|
25749
|
+
Args: never;
|
|
25750
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25751
|
+
};
|
|
25752
|
+
logistics_floriday_log_refusal: {
|
|
25753
|
+
Args: {
|
|
25754
|
+
_action?: string;
|
|
25755
|
+
_module?: string;
|
|
25756
|
+
_order_ref: string;
|
|
25757
|
+
_reason: string;
|
|
25758
|
+
_shell?: string;
|
|
25759
|
+
};
|
|
25760
|
+
Returns: undefined;
|
|
25761
|
+
};
|
|
25762
|
+
logistics_floriday_log_send: {
|
|
25763
|
+
Args: {
|
|
25764
|
+
_action: string;
|
|
25765
|
+
_detail?: string;
|
|
25766
|
+
_http_status?: number;
|
|
25767
|
+
_module?: string;
|
|
25768
|
+
_ok: boolean;
|
|
25769
|
+
_order_ref: string;
|
|
25770
|
+
_shell?: string;
|
|
25771
|
+
};
|
|
25772
|
+
Returns: undefined;
|
|
25773
|
+
};
|
|
25774
|
+
logistics_floriday_order_approved: {
|
|
25775
|
+
Args: {
|
|
25776
|
+
_order_ref: string;
|
|
25777
|
+
};
|
|
25778
|
+
Returns: boolean;
|
|
25779
|
+
};
|
|
23463
25780
|
logistics_floriday_prune_pushes: {
|
|
23464
25781
|
Args: {
|
|
23465
25782
|
_days?: number;
|
|
@@ -23474,6 +25791,20 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23474
25791
|
};
|
|
23475
25792
|
Returns: string;
|
|
23476
25793
|
};
|
|
25794
|
+
logistics_floriday_status_updates_enabled: {
|
|
25795
|
+
Args: never;
|
|
25796
|
+
Returns: boolean;
|
|
25797
|
+
};
|
|
25798
|
+
logistics_floriday_stock_updates_enabled: {
|
|
25799
|
+
Args: never;
|
|
25800
|
+
Returns: boolean;
|
|
25801
|
+
};
|
|
25802
|
+
logistics_floriday_write_allowed: {
|
|
25803
|
+
Args: {
|
|
25804
|
+
_action: string;
|
|
25805
|
+
};
|
|
25806
|
+
Returns: boolean;
|
|
25807
|
+
};
|
|
23477
25808
|
logistics_fulfill_barcode_requests: {
|
|
23478
25809
|
Args: {
|
|
23479
25810
|
p_limit?: number;
|
|
@@ -23494,9 +25825,19 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23494
25825
|
};
|
|
23495
25826
|
Returns: boolean;
|
|
23496
25827
|
};
|
|
23497
|
-
|
|
23498
|
-
Args:
|
|
23499
|
-
|
|
25828
|
+
logistics_layout_method_status: {
|
|
25829
|
+
Args: never;
|
|
25830
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25831
|
+
};
|
|
25832
|
+
logistics_link_order_items: {
|
|
25833
|
+
Args: {
|
|
25834
|
+
p_order?: string;
|
|
25835
|
+
};
|
|
25836
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25837
|
+
};
|
|
25838
|
+
logistics_live_carriers: {
|
|
25839
|
+
Args: {
|
|
25840
|
+
p_order_ref: string;
|
|
23500
25841
|
};
|
|
23501
25842
|
Returns: import("../integrations/supabase/types").Json;
|
|
23502
25843
|
};
|
|
@@ -23506,6 +25847,22 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23506
25847
|
};
|
|
23507
25848
|
Returns: number;
|
|
23508
25849
|
};
|
|
25850
|
+
logistics_merge_floriday_lines: {
|
|
25851
|
+
Args: {
|
|
25852
|
+
p_order_id: string;
|
|
25853
|
+
};
|
|
25854
|
+
Returns: string;
|
|
25855
|
+
};
|
|
25856
|
+
logistics_merge_lines_enabled: {
|
|
25857
|
+
Args: never;
|
|
25858
|
+
Returns: boolean;
|
|
25859
|
+
};
|
|
25860
|
+
logistics_merge_partial_carts: {
|
|
25861
|
+
Args: {
|
|
25862
|
+
p_limit?: number;
|
|
25863
|
+
};
|
|
25864
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25865
|
+
};
|
|
23509
25866
|
logistics_next_workday_date: {
|
|
23510
25867
|
Args: {
|
|
23511
25868
|
p_date: string;
|
|
@@ -23520,18 +25877,62 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23520
25877
|
};
|
|
23521
25878
|
Returns: string;
|
|
23522
25879
|
};
|
|
25880
|
+
logistics_normalize_product_label: {
|
|
25881
|
+
Args: {
|
|
25882
|
+
p_label: string;
|
|
25883
|
+
};
|
|
25884
|
+
Returns: string;
|
|
25885
|
+
};
|
|
23523
25886
|
logistics_not_past: {
|
|
23524
25887
|
Args: {
|
|
23525
25888
|
p_ts: string;
|
|
23526
25889
|
};
|
|
23527
25890
|
Returns: string;
|
|
23528
25891
|
};
|
|
25892
|
+
logistics_opening_timezone: {
|
|
25893
|
+
Args: never;
|
|
25894
|
+
Returns: string;
|
|
25895
|
+
};
|
|
25896
|
+
logistics_order_cart_approval: {
|
|
25897
|
+
Args: {
|
|
25898
|
+
_order_ref: string;
|
|
25899
|
+
};
|
|
25900
|
+
Returns: {
|
|
25901
|
+
approved: number;
|
|
25902
|
+
total: number;
|
|
25903
|
+
}[];
|
|
25904
|
+
};
|
|
23529
25905
|
logistics_order_cart_count: {
|
|
23530
25906
|
Args: {
|
|
23531
25907
|
p_order_ref: string;
|
|
23532
25908
|
};
|
|
23533
25909
|
Returns: number;
|
|
23534
25910
|
};
|
|
25911
|
+
logistics_order_changed: {
|
|
25912
|
+
Args: {
|
|
25913
|
+
p_order_id: string;
|
|
25914
|
+
p_reason?: string;
|
|
25915
|
+
};
|
|
25916
|
+
Returns: undefined;
|
|
25917
|
+
};
|
|
25918
|
+
logistics_order_documents_ready: {
|
|
25919
|
+
Args: {
|
|
25920
|
+
p_order_ref: string;
|
|
25921
|
+
};
|
|
25922
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25923
|
+
};
|
|
25924
|
+
logistics_order_documents_ready_bool: {
|
|
25925
|
+
Args: {
|
|
25926
|
+
p_order_ref: string;
|
|
25927
|
+
};
|
|
25928
|
+
Returns: boolean;
|
|
25929
|
+
};
|
|
25930
|
+
logistics_order_frozen: {
|
|
25931
|
+
Args: {
|
|
25932
|
+
p_order_id: string;
|
|
25933
|
+
};
|
|
25934
|
+
Returns: boolean;
|
|
25935
|
+
};
|
|
23535
25936
|
logistics_order_handled: {
|
|
23536
25937
|
Args: {
|
|
23537
25938
|
p_order_uuid: string;
|
|
@@ -23545,6 +25946,18 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23545
25946
|
};
|
|
23546
25947
|
Returns: boolean;
|
|
23547
25948
|
};
|
|
25949
|
+
logistics_order_merge_key: {
|
|
25950
|
+
Args: {
|
|
25951
|
+
p_group_key: string;
|
|
25952
|
+
};
|
|
25953
|
+
Returns: string;
|
|
25954
|
+
};
|
|
25955
|
+
logistics_order_mergeable: {
|
|
25956
|
+
Args: {
|
|
25957
|
+
p_order_id: string;
|
|
25958
|
+
};
|
|
25959
|
+
Returns: boolean;
|
|
25960
|
+
};
|
|
23548
25961
|
logistics_order_overview: {
|
|
23549
25962
|
Args: {
|
|
23550
25963
|
p_from?: string;
|
|
@@ -23582,6 +25995,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23582
25995
|
};
|
|
23583
25996
|
Returns: string;
|
|
23584
25997
|
};
|
|
25998
|
+
logistics_payload_is_floriday: {
|
|
25999
|
+
Args: {
|
|
26000
|
+
_payload: import("../integrations/supabase/types").Json;
|
|
26001
|
+
};
|
|
26002
|
+
Returns: boolean;
|
|
26003
|
+
};
|
|
23585
26004
|
logistics_pick_agenda: {
|
|
23586
26005
|
Args: {
|
|
23587
26006
|
p_from?: string;
|
|
@@ -23610,6 +26029,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23610
26029
|
Args: never;
|
|
23611
26030
|
Returns: import("../integrations/supabase/types").Json;
|
|
23612
26031
|
};
|
|
26032
|
+
logistics_pick_partial_mode: {
|
|
26033
|
+
Args: never;
|
|
26034
|
+
Returns: string;
|
|
26035
|
+
};
|
|
23613
26036
|
logistics_pick_start_estimate: {
|
|
23614
26037
|
Args: {
|
|
23615
26038
|
p_order: import("../integrations/supabase/types").Json;
|
|
@@ -23659,6 +26082,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23659
26082
|
order_id: string;
|
|
23660
26083
|
}[];
|
|
23661
26084
|
};
|
|
26085
|
+
logistics_plan_defer: {
|
|
26086
|
+
Args: {
|
|
26087
|
+
p_id: string;
|
|
26088
|
+
};
|
|
26089
|
+
Returns: undefined;
|
|
26090
|
+
};
|
|
23662
26091
|
logistics_plan_enqueue: {
|
|
23663
26092
|
Args: {
|
|
23664
26093
|
p_order_id: string;
|
|
@@ -23672,6 +26101,18 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23672
26101
|
};
|
|
23673
26102
|
Returns: boolean;
|
|
23674
26103
|
};
|
|
26104
|
+
logistics_plan_error_class: {
|
|
26105
|
+
Args: {
|
|
26106
|
+
p_error: string;
|
|
26107
|
+
};
|
|
26108
|
+
Returns: string;
|
|
26109
|
+
};
|
|
26110
|
+
logistics_plan_error_text: {
|
|
26111
|
+
Args: {
|
|
26112
|
+
p_error: string;
|
|
26113
|
+
};
|
|
26114
|
+
Returns: string;
|
|
26115
|
+
};
|
|
23675
26116
|
logistics_plan_finish: {
|
|
23676
26117
|
Args: {
|
|
23677
26118
|
p_error?: string;
|
|
@@ -23700,14 +26141,86 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23700
26141
|
Args: never;
|
|
23701
26142
|
Returns: undefined;
|
|
23702
26143
|
};
|
|
26144
|
+
logistics_plan_lock_acquire: {
|
|
26145
|
+
Args: {
|
|
26146
|
+
_key: string;
|
|
26147
|
+
_owner?: string;
|
|
26148
|
+
_ttl_seconds?: number;
|
|
26149
|
+
};
|
|
26150
|
+
Returns: boolean;
|
|
26151
|
+
};
|
|
26152
|
+
logistics_plan_lock_release: {
|
|
26153
|
+
Args: {
|
|
26154
|
+
_key: string;
|
|
26155
|
+
_owner?: string;
|
|
26156
|
+
};
|
|
26157
|
+
Returns: undefined;
|
|
26158
|
+
};
|
|
26159
|
+
logistics_plan_progress: {
|
|
26160
|
+
Args: {
|
|
26161
|
+
p_refs: string[];
|
|
26162
|
+
};
|
|
26163
|
+
Returns: {
|
|
26164
|
+
cart_plan_ready: boolean;
|
|
26165
|
+
cart_plan_reason: string;
|
|
26166
|
+
cart_plan_released: boolean;
|
|
26167
|
+
plan_progress: number;
|
|
26168
|
+
plan_state: string;
|
|
26169
|
+
plan_state_since: string;
|
|
26170
|
+
unit_ref: string;
|
|
26171
|
+
}[];
|
|
26172
|
+
};
|
|
26173
|
+
logistics_plan_progress_pct: {
|
|
26174
|
+
Args: {
|
|
26175
|
+
p_order_id: string;
|
|
26176
|
+
};
|
|
26177
|
+
Returns: number;
|
|
26178
|
+
};
|
|
23703
26179
|
logistics_plan_prune: {
|
|
23704
26180
|
Args: never;
|
|
23705
26181
|
Returns: number;
|
|
23706
26182
|
};
|
|
26183
|
+
logistics_plan_queue_list: {
|
|
26184
|
+
Args: {
|
|
26185
|
+
p_limit?: number;
|
|
26186
|
+
};
|
|
26187
|
+
Returns: {
|
|
26188
|
+
attempts: number;
|
|
26189
|
+
claimed_at: string;
|
|
26190
|
+
customer_name: string;
|
|
26191
|
+
enqueued_at: string;
|
|
26192
|
+
error_class: string;
|
|
26193
|
+
error_raw: string;
|
|
26194
|
+
error_text: string;
|
|
26195
|
+
id: string;
|
|
26196
|
+
max_attempts: number;
|
|
26197
|
+
next_attempt_at: string;
|
|
26198
|
+
order_created_at: string;
|
|
26199
|
+
order_id: string;
|
|
26200
|
+
order_number: string;
|
|
26201
|
+
progress_pct: number;
|
|
26202
|
+
reason: string;
|
|
26203
|
+
stand: string;
|
|
26204
|
+
status: string;
|
|
26205
|
+
updated_at: string;
|
|
26206
|
+
}[];
|
|
26207
|
+
};
|
|
23707
26208
|
logistics_plan_release_stale: {
|
|
23708
26209
|
Args: never;
|
|
23709
26210
|
Returns: number;
|
|
23710
26211
|
};
|
|
26212
|
+
logistics_plan_reset_queue: {
|
|
26213
|
+
Args: {
|
|
26214
|
+
p_scope?: string;
|
|
26215
|
+
};
|
|
26216
|
+
Returns: number;
|
|
26217
|
+
};
|
|
26218
|
+
logistics_plan_retry: {
|
|
26219
|
+
Args: {
|
|
26220
|
+
p_order_ids: string[];
|
|
26221
|
+
};
|
|
26222
|
+
Returns: number;
|
|
26223
|
+
};
|
|
23711
26224
|
logistics_plan_setting: {
|
|
23712
26225
|
Args: {
|
|
23713
26226
|
p_default: number;
|
|
@@ -23715,6 +26228,22 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23715
26228
|
};
|
|
23716
26229
|
Returns: number;
|
|
23717
26230
|
};
|
|
26231
|
+
logistics_plan_state_for: {
|
|
26232
|
+
Args: {
|
|
26233
|
+
p_ref: string;
|
|
26234
|
+
};
|
|
26235
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26236
|
+
};
|
|
26237
|
+
logistics_plan_timeout_running: {
|
|
26238
|
+
Args: never;
|
|
26239
|
+
Returns: number;
|
|
26240
|
+
};
|
|
26241
|
+
logistics_prepare_pick_documents: {
|
|
26242
|
+
Args: {
|
|
26243
|
+
p_limit?: number;
|
|
26244
|
+
};
|
|
26245
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26246
|
+
};
|
|
23718
26247
|
logistics_prune_buffer_member_queue: {
|
|
23719
26248
|
Args: never;
|
|
23720
26249
|
Returns: number;
|
|
@@ -23755,12 +26284,42 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23755
26284
|
Args: never;
|
|
23756
26285
|
Returns: import("../integrations/supabase/types").Json;
|
|
23757
26286
|
};
|
|
26287
|
+
logistics_refresh_pick_queue_status: {
|
|
26288
|
+
Args: {
|
|
26289
|
+
p_ref: string;
|
|
26290
|
+
};
|
|
26291
|
+
Returns: number;
|
|
26292
|
+
};
|
|
23758
26293
|
logistics_refresh_pickup_moments: {
|
|
23759
26294
|
Args: {
|
|
23760
26295
|
p_weeks?: number;
|
|
23761
26296
|
};
|
|
23762
26297
|
Returns: import("../integrations/supabase/types").Json;
|
|
23763
26298
|
};
|
|
26299
|
+
logistics_refresh_plan_state: {
|
|
26300
|
+
Args: {
|
|
26301
|
+
p_limit?: number;
|
|
26302
|
+
};
|
|
26303
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26304
|
+
};
|
|
26305
|
+
logistics_replan_all: {
|
|
26306
|
+
Args: {
|
|
26307
|
+
p_reason?: string;
|
|
26308
|
+
};
|
|
26309
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26310
|
+
};
|
|
26311
|
+
logistics_replan_all_force: {
|
|
26312
|
+
Args: {
|
|
26313
|
+
p_reason?: string;
|
|
26314
|
+
};
|
|
26315
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26316
|
+
};
|
|
26317
|
+
logistics_replan_order_journey: {
|
|
26318
|
+
Args: {
|
|
26319
|
+
p_order_ref: string;
|
|
26320
|
+
};
|
|
26321
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26322
|
+
};
|
|
23764
26323
|
logistics_report_delay: {
|
|
23765
26324
|
Args: {
|
|
23766
26325
|
p_expected_date?: string;
|
|
@@ -23814,6 +26373,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23814
26373
|
};
|
|
23815
26374
|
Returns: import("../integrations/supabase/types").Json;
|
|
23816
26375
|
};
|
|
26376
|
+
logistics_resolve_product_id: {
|
|
26377
|
+
Args: {
|
|
26378
|
+
p_label: string;
|
|
26379
|
+
};
|
|
26380
|
+
Returns: string;
|
|
26381
|
+
};
|
|
23817
26382
|
logistics_resolve_settings: {
|
|
23818
26383
|
Args: {
|
|
23819
26384
|
p_config_id: string;
|
|
@@ -23861,87 +26426,357 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23861
26426
|
Args: never;
|
|
23862
26427
|
Returns: number;
|
|
23863
26428
|
};
|
|
23864
|
-
logistics_scan_order_stock: {
|
|
26429
|
+
logistics_scan_order_stock: {
|
|
26430
|
+
Args: {
|
|
26431
|
+
p_order_id: string;
|
|
26432
|
+
};
|
|
26433
|
+
Returns: string;
|
|
26434
|
+
};
|
|
26435
|
+
logistics_scan_resolve: {
|
|
26436
|
+
Args: {
|
|
26437
|
+
p_code: string;
|
|
26438
|
+
};
|
|
26439
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26440
|
+
};
|
|
26441
|
+
logistics_schedule_tasks: {
|
|
26442
|
+
Args: never;
|
|
26443
|
+
Returns: number;
|
|
26444
|
+
} | {
|
|
26445
|
+
Args: {
|
|
26446
|
+
p_order_ref?: string;
|
|
26447
|
+
};
|
|
26448
|
+
Returns: number;
|
|
26449
|
+
};
|
|
26450
|
+
logistics_set_order_priority: {
|
|
26451
|
+
Args: {
|
|
26452
|
+
p_order_ref: string;
|
|
26453
|
+
p_priority: number;
|
|
26454
|
+
p_user_id?: string;
|
|
26455
|
+
};
|
|
26456
|
+
Returns: number;
|
|
26457
|
+
};
|
|
26458
|
+
logistics_set_pick_day: {
|
|
26459
|
+
Args: {
|
|
26460
|
+
p_order_ref: string;
|
|
26461
|
+
p_pick_day: string;
|
|
26462
|
+
};
|
|
26463
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26464
|
+
};
|
|
26465
|
+
logistics_shift_to_workday: {
|
|
26466
|
+
Args: {
|
|
26467
|
+
p_days: string[];
|
|
26468
|
+
p_ts: string;
|
|
26469
|
+
};
|
|
26470
|
+
Returns: string;
|
|
26471
|
+
};
|
|
26472
|
+
logistics_shipping_note_diagnose: {
|
|
26473
|
+
Args: {
|
|
26474
|
+
p_order_number: string;
|
|
26475
|
+
};
|
|
26476
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26477
|
+
};
|
|
26478
|
+
logistics_shipping_note_follows_slip: {
|
|
26479
|
+
Args: never;
|
|
26480
|
+
Returns: boolean;
|
|
26481
|
+
};
|
|
26482
|
+
logistics_shipping_note_from_barcode: {
|
|
26483
|
+
Args: {
|
|
26484
|
+
p_allow_reprint?: boolean;
|
|
26485
|
+
p_barcode: string;
|
|
26486
|
+
p_station_id?: string;
|
|
26487
|
+
};
|
|
26488
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26489
|
+
};
|
|
26490
|
+
logistics_shipping_note_job_for_slip: {
|
|
26491
|
+
Args: {
|
|
26492
|
+
_slip_job_id: string;
|
|
26493
|
+
};
|
|
26494
|
+
Returns: string;
|
|
26495
|
+
};
|
|
26496
|
+
logistics_shipping_notes_wake_all: {
|
|
26497
|
+
Args: never;
|
|
26498
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26499
|
+
};
|
|
26500
|
+
logistics_slip_is_floriday: {
|
|
26501
|
+
Args: {
|
|
26502
|
+
_slip_job_id: string;
|
|
26503
|
+
};
|
|
26504
|
+
Returns: boolean;
|
|
26505
|
+
};
|
|
26506
|
+
logistics_slip_note_claim: {
|
|
26507
|
+
Args: {
|
|
26508
|
+
_lease_seconds?: number;
|
|
26509
|
+
_limit?: number;
|
|
26510
|
+
};
|
|
26511
|
+
Returns: {
|
|
26512
|
+
attempts: number;
|
|
26513
|
+
batch_key: string | null;
|
|
26514
|
+
cart_id: string | null;
|
|
26515
|
+
created_at: string;
|
|
26516
|
+
error: string | null;
|
|
26517
|
+
error_code: string | null;
|
|
26518
|
+
fulfillment_order_id: string | null;
|
|
26519
|
+
id: string;
|
|
26520
|
+
locked_until: string | null;
|
|
26521
|
+
next_attempt_at: string | null;
|
|
26522
|
+
order_id: string | null;
|
|
26523
|
+
order_number: string | null;
|
|
26524
|
+
print_job_id: string | null;
|
|
26525
|
+
printer_id: string | null;
|
|
26526
|
+
retry_class: string | null;
|
|
26527
|
+
slip_job_id: string;
|
|
26528
|
+
status: string;
|
|
26529
|
+
updated_at: string;
|
|
26530
|
+
}[];
|
|
26531
|
+
SetofOptions: {
|
|
26532
|
+
from: "*";
|
|
26533
|
+
to: "logistics_slip_shipping_note";
|
|
26534
|
+
isOneToOne: false;
|
|
26535
|
+
isSetofReturn: true;
|
|
26536
|
+
};
|
|
26537
|
+
};
|
|
26538
|
+
logistics_slip_note_finish: {
|
|
26539
|
+
Args: {
|
|
26540
|
+
_error?: string;
|
|
26541
|
+
_error_code?: string;
|
|
26542
|
+
_fulfillment_order_id?: string;
|
|
26543
|
+
_id: string;
|
|
26544
|
+
_ok: boolean;
|
|
26545
|
+
_print_job_id?: string;
|
|
26546
|
+
_status?: string;
|
|
26547
|
+
};
|
|
26548
|
+
Returns: undefined;
|
|
26549
|
+
};
|
|
26550
|
+
logistics_slip_note_keep_waiting: {
|
|
26551
|
+
Args: {
|
|
26552
|
+
_class?: string;
|
|
26553
|
+
_id: string;
|
|
26554
|
+
_reason: string;
|
|
26555
|
+
};
|
|
26556
|
+
Returns: undefined;
|
|
26557
|
+
};
|
|
26558
|
+
logistics_sticker_follows_slip: {
|
|
26559
|
+
Args: never;
|
|
26560
|
+
Returns: boolean;
|
|
26561
|
+
};
|
|
26562
|
+
logistics_subtract_working_minutes: {
|
|
26563
|
+
Args: {
|
|
26564
|
+
p_deadline: string;
|
|
26565
|
+
p_max_workdays?: number;
|
|
26566
|
+
p_minutes: number;
|
|
26567
|
+
};
|
|
26568
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26569
|
+
};
|
|
26570
|
+
logistics_supersede_stale_tasks: {
|
|
26571
|
+
Args: {
|
|
26572
|
+
p_keep: string[];
|
|
26573
|
+
p_order_ref: string;
|
|
26574
|
+
p_run_id: string;
|
|
26575
|
+
p_user_id: string;
|
|
26576
|
+
};
|
|
26577
|
+
Returns: number;
|
|
26578
|
+
};
|
|
26579
|
+
logistics_sync_pick_queue: {
|
|
26580
|
+
Args: never;
|
|
26581
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26582
|
+
};
|
|
26583
|
+
logistics_sync_task_carriers: {
|
|
26584
|
+
Args: {
|
|
26585
|
+
p_order_ref?: string;
|
|
26586
|
+
};
|
|
26587
|
+
Returns: number;
|
|
26588
|
+
};
|
|
26589
|
+
logistics_task_owner: {
|
|
26590
|
+
Args: {
|
|
26591
|
+
p_task_type: string;
|
|
26592
|
+
};
|
|
26593
|
+
Returns: string;
|
|
26594
|
+
};
|
|
26595
|
+
logistics_task_pick_minutes: {
|
|
26596
|
+
Args: {
|
|
26597
|
+
p_payload: import("../integrations/supabase/types").Json;
|
|
26598
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
26599
|
+
};
|
|
26600
|
+
Returns: number;
|
|
26601
|
+
};
|
|
26602
|
+
logistics_task_retention_days: {
|
|
26603
|
+
Args: never;
|
|
26604
|
+
Returns: number;
|
|
26605
|
+
};
|
|
26606
|
+
logistics_tick_ping: {
|
|
26607
|
+
Args: never;
|
|
26608
|
+
Returns: string;
|
|
26609
|
+
};
|
|
26610
|
+
logistics_timezone_options: {
|
|
26611
|
+
Args: never;
|
|
26612
|
+
Returns: {
|
|
26613
|
+
name: string;
|
|
26614
|
+
}[];
|
|
26615
|
+
};
|
|
26616
|
+
logistics_trace: {
|
|
26617
|
+
Args: {
|
|
26618
|
+
p: import("../integrations/supabase/types").Json;
|
|
26619
|
+
};
|
|
26620
|
+
Returns: string;
|
|
26621
|
+
};
|
|
26622
|
+
logistics_trace_all_orders: {
|
|
26623
|
+
Args: {
|
|
26624
|
+
p_limit?: number;
|
|
26625
|
+
p_search?: string;
|
|
26626
|
+
};
|
|
26627
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26628
|
+
};
|
|
26629
|
+
logistics_trace_archive_order: {
|
|
26630
|
+
Args: {
|
|
26631
|
+
p_order_ref: string;
|
|
26632
|
+
p_reason: string;
|
|
26633
|
+
};
|
|
26634
|
+
Returns: number;
|
|
26635
|
+
};
|
|
26636
|
+
logistics_trace_batch: {
|
|
26637
|
+
Args: {
|
|
26638
|
+
p: import("../integrations/supabase/types").Json;
|
|
26639
|
+
};
|
|
26640
|
+
Returns: number;
|
|
26641
|
+
};
|
|
26642
|
+
logistics_trace_derive: {
|
|
26643
|
+
Args: {
|
|
26644
|
+
p: import("../integrations/supabase/types").Json;
|
|
26645
|
+
};
|
|
26646
|
+
Returns: number;
|
|
26647
|
+
};
|
|
26648
|
+
logistics_trace_node: {
|
|
26649
|
+
Args: {
|
|
26650
|
+
p_op?: string;
|
|
26651
|
+
p_status?: string;
|
|
26652
|
+
p_table: string;
|
|
26653
|
+
};
|
|
26654
|
+
Returns: string;
|
|
26655
|
+
};
|
|
26656
|
+
logistics_trace_order_journey_start: {
|
|
26657
|
+
Args: {
|
|
26658
|
+
p_order_id: string;
|
|
26659
|
+
p_reason?: string;
|
|
26660
|
+
};
|
|
26661
|
+
Returns: string;
|
|
26662
|
+
};
|
|
26663
|
+
logistics_trace_order_origin: {
|
|
26664
|
+
Args: {
|
|
26665
|
+
p_order_id: string;
|
|
26666
|
+
};
|
|
26667
|
+
Returns: undefined;
|
|
26668
|
+
};
|
|
26669
|
+
logistics_trace_order_overview: {
|
|
26670
|
+
Args: {
|
|
26671
|
+
p_error_class?: string;
|
|
26672
|
+
p_limit?: number;
|
|
26673
|
+
p_search?: string;
|
|
26674
|
+
p_since?: string;
|
|
26675
|
+
p_source?: string;
|
|
26676
|
+
p_state?: string;
|
|
26677
|
+
p_step?: string;
|
|
26678
|
+
};
|
|
26679
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26680
|
+
};
|
|
26681
|
+
logistics_trace_order_state: {
|
|
26682
|
+
Args: {
|
|
26683
|
+
p_order_ref: string;
|
|
26684
|
+
};
|
|
26685
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26686
|
+
};
|
|
26687
|
+
logistics_trace_order_step: {
|
|
26688
|
+
Args: {
|
|
26689
|
+
p_class?: string;
|
|
26690
|
+
p_decision?: string;
|
|
26691
|
+
p_error?: string;
|
|
26692
|
+
p_next_step?: string;
|
|
26693
|
+
p_node: string;
|
|
26694
|
+
p_order_id: string;
|
|
26695
|
+
p_reason?: string;
|
|
26696
|
+
p_status: string;
|
|
26697
|
+
p_step: string;
|
|
26698
|
+
};
|
|
26699
|
+
Returns: undefined;
|
|
26700
|
+
};
|
|
26701
|
+
logistics_trace_orders: {
|
|
26702
|
+
Args: {
|
|
26703
|
+
p_limit?: number;
|
|
26704
|
+
p_search?: string;
|
|
26705
|
+
p_since?: string;
|
|
26706
|
+
p_status?: string;
|
|
26707
|
+
};
|
|
26708
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26709
|
+
};
|
|
26710
|
+
logistics_trace_pick_state: {
|
|
23865
26711
|
Args: {
|
|
23866
|
-
|
|
26712
|
+
p_order_number: string;
|
|
23867
26713
|
};
|
|
23868
|
-
Returns:
|
|
26714
|
+
Returns: undefined;
|
|
23869
26715
|
};
|
|
23870
|
-
|
|
26716
|
+
logistics_trace_progress: {
|
|
23871
26717
|
Args: {
|
|
23872
|
-
|
|
26718
|
+
p_limit?: number;
|
|
23873
26719
|
};
|
|
23874
26720
|
Returns: import("../integrations/supabase/types").Json;
|
|
23875
26721
|
};
|
|
23876
|
-
|
|
23877
|
-
Args: never;
|
|
23878
|
-
Returns: number;
|
|
23879
|
-
};
|
|
23880
|
-
logistics_set_order_priority: {
|
|
26722
|
+
logistics_trace_progress_order: {
|
|
23881
26723
|
Args: {
|
|
23882
26724
|
p_order_ref: string;
|
|
23883
|
-
p_priority: number;
|
|
23884
|
-
p_user_id?: string;
|
|
23885
26725
|
};
|
|
23886
|
-
Returns:
|
|
26726
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23887
26727
|
};
|
|
23888
|
-
|
|
26728
|
+
logistics_trace_redact: {
|
|
23889
26729
|
Args: {
|
|
23890
|
-
|
|
23891
|
-
p_pick_day: string;
|
|
26730
|
+
p: import("../integrations/supabase/types").Json;
|
|
23892
26731
|
};
|
|
23893
26732
|
Returns: import("../integrations/supabase/types").Json;
|
|
23894
26733
|
};
|
|
23895
|
-
|
|
26734
|
+
logistics_trace_source_node: {
|
|
23896
26735
|
Args: {
|
|
23897
|
-
|
|
23898
|
-
p_ts: string;
|
|
26736
|
+
p_source: string;
|
|
23899
26737
|
};
|
|
23900
26738
|
Returns: string;
|
|
23901
26739
|
};
|
|
23902
|
-
|
|
26740
|
+
logistics_trace_step_once: {
|
|
23903
26741
|
Args: {
|
|
23904
|
-
|
|
23905
|
-
|
|
23906
|
-
|
|
26742
|
+
p_decision: string;
|
|
26743
|
+
p_next_step?: string;
|
|
26744
|
+
p_node: string;
|
|
26745
|
+
p_order_id: string;
|
|
26746
|
+
p_reason: string;
|
|
26747
|
+
p_status: string;
|
|
26748
|
+
p_step: string;
|
|
23907
26749
|
};
|
|
23908
|
-
Returns:
|
|
23909
|
-
};
|
|
23910
|
-
logistics_sticker_follows_slip: {
|
|
23911
|
-
Args: never;
|
|
23912
|
-
Returns: boolean;
|
|
26750
|
+
Returns: undefined;
|
|
23913
26751
|
};
|
|
23914
|
-
|
|
26752
|
+
logistics_trace_stock_check: {
|
|
23915
26753
|
Args: {
|
|
23916
|
-
|
|
23917
|
-
p_order_ref: string;
|
|
23918
|
-
p_run_id: string;
|
|
23919
|
-
p_user_id: string;
|
|
26754
|
+
p_order_id: string;
|
|
23920
26755
|
};
|
|
23921
|
-
Returns:
|
|
23922
|
-
};
|
|
23923
|
-
logistics_sync_pick_queue: {
|
|
23924
|
-
Args: never;
|
|
23925
|
-
Returns: import("../integrations/supabase/types").Json;
|
|
26756
|
+
Returns: undefined;
|
|
23926
26757
|
};
|
|
23927
|
-
|
|
26758
|
+
logistics_trace_timeline: {
|
|
23928
26759
|
Args: {
|
|
23929
|
-
|
|
26760
|
+
p_limit?: number;
|
|
26761
|
+
p_order_ref: string;
|
|
23930
26762
|
};
|
|
23931
|
-
Returns:
|
|
26763
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23932
26764
|
};
|
|
23933
|
-
|
|
26765
|
+
logistics_trace_version_events: {
|
|
23934
26766
|
Args: {
|
|
23935
|
-
|
|
26767
|
+
p_from?: string;
|
|
26768
|
+
p_limit?: number;
|
|
26769
|
+
p_order_ref: string;
|
|
26770
|
+
p_to?: string;
|
|
26771
|
+
p_version_id: string;
|
|
23936
26772
|
};
|
|
23937
|
-
Returns:
|
|
26773
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23938
26774
|
};
|
|
23939
|
-
|
|
26775
|
+
logistics_trace_versions: {
|
|
23940
26776
|
Args: {
|
|
23941
|
-
|
|
23942
|
-
p_settings: import("../integrations/supabase/types").Json;
|
|
26777
|
+
p_order_ref: string;
|
|
23943
26778
|
};
|
|
23944
|
-
Returns:
|
|
26779
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23945
26780
|
};
|
|
23946
26781
|
logistics_upsert_task: {
|
|
23947
26782
|
Args: {
|
|
@@ -23962,6 +26797,16 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
23962
26797
|
};
|
|
23963
26798
|
Returns: string;
|
|
23964
26799
|
};
|
|
26800
|
+
logistics_valid_timezone: {
|
|
26801
|
+
Args: {
|
|
26802
|
+
_tz: string;
|
|
26803
|
+
};
|
|
26804
|
+
Returns: boolean;
|
|
26805
|
+
};
|
|
26806
|
+
logistics_working_hours_status: {
|
|
26807
|
+
Args: never;
|
|
26808
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26809
|
+
};
|
|
23965
26810
|
logistics_write_buffer_layer_positions: {
|
|
23966
26811
|
Args: {
|
|
23967
26812
|
p_buffer_id: string;
|
|
@@ -24023,6 +26868,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24023
26868
|
permission: string;
|
|
24024
26869
|
}[];
|
|
24025
26870
|
};
|
|
26871
|
+
next_cart_day_seq: {
|
|
26872
|
+
Args: {
|
|
26873
|
+
p_date: string;
|
|
26874
|
+
};
|
|
26875
|
+
Returns: number;
|
|
26876
|
+
};
|
|
24026
26877
|
next_manufacture_partij: {
|
|
24027
26878
|
Args: {
|
|
24028
26879
|
_tenant_id: string;
|
|
@@ -24127,6 +26978,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24127
26978
|
online: boolean;
|
|
24128
26979
|
}[];
|
|
24129
26980
|
};
|
|
26981
|
+
pick_apply_buffer_events: {
|
|
26982
|
+
Args: never;
|
|
26983
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26984
|
+
};
|
|
24130
26985
|
pick_available_pick_days: {
|
|
24131
26986
|
Args: {
|
|
24132
26987
|
_max_days?: number;
|
|
@@ -24510,6 +27365,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24510
27365
|
};
|
|
24511
27366
|
Returns: undefined;
|
|
24512
27367
|
};
|
|
27368
|
+
pick_report_missing_cart_plan: {
|
|
27369
|
+
Args: never;
|
|
27370
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27371
|
+
};
|
|
24513
27372
|
pick_reprint_cart: {
|
|
24514
27373
|
Args: {
|
|
24515
27374
|
_cart_id: string;
|
|
@@ -24966,6 +27825,18 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24966
27825
|
};
|
|
24967
27826
|
Returns: undefined;
|
|
24968
27827
|
};
|
|
27828
|
+
prune_floriday_api_log: {
|
|
27829
|
+
Args: never;
|
|
27830
|
+
Returns: number;
|
|
27831
|
+
};
|
|
27832
|
+
quote_ack_work_order: {
|
|
27833
|
+
Args: {
|
|
27834
|
+
_queue_id: string;
|
|
27835
|
+
_werkbon_id: string;
|
|
27836
|
+
_werkbon_nummer?: string;
|
|
27837
|
+
};
|
|
27838
|
+
Returns: boolean;
|
|
27839
|
+
};
|
|
24969
27840
|
quote_create_from_source: {
|
|
24970
27841
|
Args: {
|
|
24971
27842
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -24974,6 +27845,13 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24974
27845
|
};
|
|
24975
27846
|
Returns: string;
|
|
24976
27847
|
};
|
|
27848
|
+
quote_fail_work_order: {
|
|
27849
|
+
Args: {
|
|
27850
|
+
_foutmelding: string;
|
|
27851
|
+
_queue_id: string;
|
|
27852
|
+
};
|
|
27853
|
+
Returns: boolean;
|
|
27854
|
+
};
|
|
24977
27855
|
quote_get_billable_lines: {
|
|
24978
27856
|
Args: {
|
|
24979
27857
|
_quotation_id: string;
|
|
@@ -24990,6 +27868,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24990
27868
|
Args: never;
|
|
24991
27869
|
Returns: import("../integrations/supabase/types").Json;
|
|
24992
27870
|
};
|
|
27871
|
+
quote_list_pending_work_orders: {
|
|
27872
|
+
Args: {
|
|
27873
|
+
_limit?: number;
|
|
27874
|
+
};
|
|
27875
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27876
|
+
};
|
|
24993
27877
|
quote_list_sources: {
|
|
24994
27878
|
Args: {
|
|
24995
27879
|
_limit?: number;
|
|
@@ -24997,6 +27881,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
24997
27881
|
};
|
|
24998
27882
|
Returns: import("../integrations/supabase/types").Json;
|
|
24999
27883
|
};
|
|
27884
|
+
quote_queue_follow_up: {
|
|
27885
|
+
Args: {
|
|
27886
|
+
_offerte_id: string;
|
|
27887
|
+
};
|
|
27888
|
+
Returns: string;
|
|
27889
|
+
};
|
|
25000
27890
|
recompute_all_reserved_stock: {
|
|
25001
27891
|
Args: never;
|
|
25002
27892
|
Returns: undefined;
|
|
@@ -25050,6 +27940,12 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25050
27940
|
};
|
|
25051
27941
|
Returns: boolean;
|
|
25052
27942
|
};
|
|
27943
|
+
release_job_lock: {
|
|
27944
|
+
Args: {
|
|
27945
|
+
_key: string;
|
|
27946
|
+
};
|
|
27947
|
+
Returns: undefined;
|
|
27948
|
+
};
|
|
25053
27949
|
release_local_pdf_job: {
|
|
25054
27950
|
Args: {
|
|
25055
27951
|
_job_id: string;
|
|
@@ -25393,6 +28289,13 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25393
28289
|
};
|
|
25394
28290
|
Returns: number;
|
|
25395
28291
|
};
|
|
28292
|
+
schedule_floriday_catalog_prices_sync: {
|
|
28293
|
+
Args: {
|
|
28294
|
+
p_apikey: string;
|
|
28295
|
+
p_url: string;
|
|
28296
|
+
};
|
|
28297
|
+
Returns: number;
|
|
28298
|
+
};
|
|
25396
28299
|
schedule_floriday_clock_presales_sync: {
|
|
25397
28300
|
Args: {
|
|
25398
28301
|
p_apikey: string;
|
|
@@ -25665,6 +28568,52 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25665
28568
|
p_end_time: string;
|
|
25666
28569
|
};
|
|
25667
28570
|
Returns: import("../integrations/supabase/types").Json;
|
|
28571
|
+
} | {
|
|
28572
|
+
Args: {
|
|
28573
|
+
p_end_lat?: number;
|
|
28574
|
+
p_end_lng?: number;
|
|
28575
|
+
p_log_id: string;
|
|
28576
|
+
};
|
|
28577
|
+
Returns: {
|
|
28578
|
+
auto_stop_reason: string | null;
|
|
28579
|
+
auto_stopped: boolean;
|
|
28580
|
+
created_at: string;
|
|
28581
|
+
current_latitude: number | null;
|
|
28582
|
+
current_longitude: number | null;
|
|
28583
|
+
current_position_updated_at: string | null;
|
|
28584
|
+
employee_id: string;
|
|
28585
|
+
end_latitude: number | null;
|
|
28586
|
+
end_longitude: number | null;
|
|
28587
|
+
end_time: string | null;
|
|
28588
|
+
eta_distance_km: number | null;
|
|
28589
|
+
eta_minutes: number | null;
|
|
28590
|
+
eta_updated_at: string | null;
|
|
28591
|
+
hour_category: string | null;
|
|
28592
|
+
id: string;
|
|
28593
|
+
last_reminder_at: string | null;
|
|
28594
|
+
notes: string | null;
|
|
28595
|
+
overtime_hours: number;
|
|
28596
|
+
overtime_type: string | null;
|
|
28597
|
+
regular_hours: number;
|
|
28598
|
+
reminder_count: number;
|
|
28599
|
+
requires_review: boolean;
|
|
28600
|
+
start_latitude: number | null;
|
|
28601
|
+
start_longitude: number | null;
|
|
28602
|
+
start_time: string;
|
|
28603
|
+
travel_cost: number | null;
|
|
28604
|
+
travel_distance_km: number | null;
|
|
28605
|
+
travel_duration_min: number | null;
|
|
28606
|
+
travel_time_minutes: number | null;
|
|
28607
|
+
type: string;
|
|
28608
|
+
updated_at: string;
|
|
28609
|
+
work_order_id: string | null;
|
|
28610
|
+
};
|
|
28611
|
+
SetofOptions: {
|
|
28612
|
+
from: "*";
|
|
28613
|
+
to: "time_logs";
|
|
28614
|
+
isOneToOne: true;
|
|
28615
|
+
isSetofReturn: false;
|
|
28616
|
+
};
|
|
25668
28617
|
};
|
|
25669
28618
|
swap_cart_layer_positions: {
|
|
25670
28619
|
Args: {
|
|
@@ -25693,6 +28642,10 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25693
28642
|
};
|
|
25694
28643
|
Returns: undefined;
|
|
25695
28644
|
};
|
|
28645
|
+
sync_floriday_prices_into_price_groups: {
|
|
28646
|
+
Args: never;
|
|
28647
|
+
Returns: number;
|
|
28648
|
+
};
|
|
25696
28649
|
sync_layer_stock: {
|
|
25697
28650
|
Args: {
|
|
25698
28651
|
p_product_id: string;
|
|
@@ -25738,6 +28691,14 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25738
28691
|
row_count: number;
|
|
25739
28692
|
}[];
|
|
25740
28693
|
};
|
|
28694
|
+
try_acquire_job_lock: {
|
|
28695
|
+
Args: {
|
|
28696
|
+
_key: string;
|
|
28697
|
+
_owner?: string;
|
|
28698
|
+
_seconds?: number;
|
|
28699
|
+
};
|
|
28700
|
+
Returns: boolean;
|
|
28701
|
+
};
|
|
25741
28702
|
try_debtor_lock: {
|
|
25742
28703
|
Args: {
|
|
25743
28704
|
_group_key: string;
|
|
@@ -25809,14 +28770,99 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25809
28770
|
};
|
|
25810
28771
|
Returns: undefined;
|
|
25811
28772
|
};
|
|
28773
|
+
uren_employee_day_hours: {
|
|
28774
|
+
Args: {
|
|
28775
|
+
_day: string;
|
|
28776
|
+
_employee_id: string;
|
|
28777
|
+
};
|
|
28778
|
+
Returns: number;
|
|
28779
|
+
};
|
|
25812
28780
|
uren_is_beheerder: {
|
|
25813
28781
|
Args: never;
|
|
25814
28782
|
Returns: boolean;
|
|
25815
28783
|
};
|
|
28784
|
+
uren_list_medewerkers: {
|
|
28785
|
+
Args: never;
|
|
28786
|
+
Returns: {
|
|
28787
|
+
avatar_url: string;
|
|
28788
|
+
color: string;
|
|
28789
|
+
display_name: string;
|
|
28790
|
+
email: string;
|
|
28791
|
+
hours_fri: number;
|
|
28792
|
+
hours_mon: number;
|
|
28793
|
+
hours_thu: number;
|
|
28794
|
+
hours_tue: number;
|
|
28795
|
+
hours_wed: number;
|
|
28796
|
+
id: string;
|
|
28797
|
+
is_active: boolean;
|
|
28798
|
+
leave_balance_hours: number;
|
|
28799
|
+
persnr: string;
|
|
28800
|
+
phone: string;
|
|
28801
|
+
roles: string[];
|
|
28802
|
+
}[];
|
|
28803
|
+
};
|
|
25816
28804
|
uren_my_monteur_id: {
|
|
25817
28805
|
Args: never;
|
|
25818
28806
|
Returns: string;
|
|
25819
28807
|
};
|
|
28808
|
+
uren_planning_dagagenda: {
|
|
28809
|
+
Args: {
|
|
28810
|
+
_tot: string;
|
|
28811
|
+
_van: string;
|
|
28812
|
+
};
|
|
28813
|
+
Returns: {
|
|
28814
|
+
end_at: string;
|
|
28815
|
+
id: string;
|
|
28816
|
+
is_tweede_man: boolean;
|
|
28817
|
+
notes: string;
|
|
28818
|
+
start_at: string;
|
|
28819
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
28820
|
+
werkbon_id: string;
|
|
28821
|
+
}[];
|
|
28822
|
+
};
|
|
28823
|
+
uren_set_planning_item_status: {
|
|
28824
|
+
Args: {
|
|
28825
|
+
_id: string;
|
|
28826
|
+
_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
28827
|
+
};
|
|
28828
|
+
Returns: undefined;
|
|
28829
|
+
};
|
|
28830
|
+
uren_set_planning_status: {
|
|
28831
|
+
Args: {
|
|
28832
|
+
p_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
28833
|
+
p_werkbon_id: string;
|
|
28834
|
+
};
|
|
28835
|
+
Returns: number;
|
|
28836
|
+
};
|
|
28837
|
+
uren_stop_time_log: {
|
|
28838
|
+
Args: {
|
|
28839
|
+
p_employee_id: string;
|
|
28840
|
+
p_end_lat?: number;
|
|
28841
|
+
p_end_lng?: number;
|
|
28842
|
+
p_end_time: string;
|
|
28843
|
+
};
|
|
28844
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28845
|
+
};
|
|
28846
|
+
uren_switch_time_log: {
|
|
28847
|
+
Args: {
|
|
28848
|
+
p_employee_id: string;
|
|
28849
|
+
p_start_lat?: number;
|
|
28850
|
+
p_start_lng?: number;
|
|
28851
|
+
p_type: string;
|
|
28852
|
+
p_work_order_id?: string;
|
|
28853
|
+
};
|
|
28854
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28855
|
+
};
|
|
28856
|
+
uren_sync_sick_time_off: {
|
|
28857
|
+
Args: {
|
|
28858
|
+
_period_id: string;
|
|
28859
|
+
};
|
|
28860
|
+
Returns: number;
|
|
28861
|
+
};
|
|
28862
|
+
voorraad_cleanup_old_rows: {
|
|
28863
|
+
Args: never;
|
|
28864
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28865
|
+
};
|
|
25820
28866
|
wake_print_queue: {
|
|
25821
28867
|
Args: {
|
|
25822
28868
|
_min_interval_ms?: number;
|
|
@@ -25855,6 +28901,25 @@ export declare const getShippingNoteLayout: import("@tanstack/start-client-core"
|
|
|
25855
28901
|
};
|
|
25856
28902
|
Returns: import("../integrations/supabase/types").Json;
|
|
25857
28903
|
};
|
|
28904
|
+
wo_list_offerte_requests: {
|
|
28905
|
+
Args: {
|
|
28906
|
+
_status?: string;
|
|
28907
|
+
};
|
|
28908
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28909
|
+
};
|
|
28910
|
+
wo_process_offerte_request: {
|
|
28911
|
+
Args: {
|
|
28912
|
+
_queue_id: string;
|
|
28913
|
+
};
|
|
28914
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28915
|
+
};
|
|
28916
|
+
wo_reject_offerte_request: {
|
|
28917
|
+
Args: {
|
|
28918
|
+
_queue_id: string;
|
|
28919
|
+
_reden?: string;
|
|
28920
|
+
};
|
|
28921
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
28922
|
+
};
|
|
25858
28923
|
wo_set_status: {
|
|
25859
28924
|
Args: {
|
|
25860
28925
|
_reason?: string;
|