@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
|
@@ -11,6 +11,7 @@ export type Database = {
|
|
|
11
11
|
Row: {
|
|
12
12
|
auto_print_delivery_note: boolean;
|
|
13
13
|
auto_process_paused: boolean;
|
|
14
|
+
control_bulk_max_carts: number;
|
|
14
15
|
created_at: string;
|
|
15
16
|
extra_pick_days_with_stickers: number;
|
|
16
17
|
id: string;
|
|
@@ -28,6 +29,7 @@ export type Database = {
|
|
|
28
29
|
Insert: {
|
|
29
30
|
auto_print_delivery_note?: boolean;
|
|
30
31
|
auto_process_paused?: boolean;
|
|
32
|
+
control_bulk_max_carts?: number;
|
|
31
33
|
created_at?: string;
|
|
32
34
|
extra_pick_days_with_stickers?: number;
|
|
33
35
|
id?: string;
|
|
@@ -45,6 +47,7 @@ export type Database = {
|
|
|
45
47
|
Update: {
|
|
46
48
|
auto_print_delivery_note?: boolean;
|
|
47
49
|
auto_process_paused?: boolean;
|
|
50
|
+
control_bulk_max_carts?: number;
|
|
48
51
|
created_at?: string;
|
|
49
52
|
extra_pick_days_with_stickers?: number;
|
|
50
53
|
id?: string;
|
|
@@ -1411,6 +1414,7 @@ export type Database = {
|
|
|
1411
1414
|
id: string;
|
|
1412
1415
|
notes: string | null;
|
|
1413
1416
|
performed_at: string;
|
|
1417
|
+
request_key: string | null;
|
|
1414
1418
|
rescheduled_count: number;
|
|
1415
1419
|
stock_consumed_at: string | null;
|
|
1416
1420
|
total_carts: number;
|
|
@@ -1425,6 +1429,7 @@ export type Database = {
|
|
|
1425
1429
|
id?: string;
|
|
1426
1430
|
notes?: string | null;
|
|
1427
1431
|
performed_at?: string;
|
|
1432
|
+
request_key?: string | null;
|
|
1428
1433
|
rescheduled_count?: number;
|
|
1429
1434
|
stock_consumed_at?: string | null;
|
|
1430
1435
|
total_carts?: number;
|
|
@@ -1439,6 +1444,7 @@ export type Database = {
|
|
|
1439
1444
|
id?: string;
|
|
1440
1445
|
notes?: string | null;
|
|
1441
1446
|
performed_at?: string;
|
|
1447
|
+
request_key?: string | null;
|
|
1442
1448
|
rescheduled_count?: number;
|
|
1443
1449
|
stock_consumed_at?: string | null;
|
|
1444
1450
|
total_carts?: number;
|
|
@@ -1451,9 +1457,10 @@ export type Database = {
|
|
|
1451
1457
|
Row: {
|
|
1452
1458
|
assigned_at: string;
|
|
1453
1459
|
cart_index: number;
|
|
1454
|
-
cart_number: string
|
|
1460
|
+
cart_number: string;
|
|
1455
1461
|
day_seq: number | null;
|
|
1456
1462
|
delivered_at: string | null;
|
|
1463
|
+
engine_cart_label: string | null;
|
|
1457
1464
|
id: string;
|
|
1458
1465
|
order_id: string;
|
|
1459
1466
|
order_source: string;
|
|
@@ -1463,9 +1470,10 @@ export type Database = {
|
|
|
1463
1470
|
Insert: {
|
|
1464
1471
|
assigned_at?: string;
|
|
1465
1472
|
cart_index: number;
|
|
1466
|
-
cart_number
|
|
1473
|
+
cart_number: string;
|
|
1467
1474
|
day_seq?: number | null;
|
|
1468
1475
|
delivered_at?: string | null;
|
|
1476
|
+
engine_cart_label?: string | null;
|
|
1469
1477
|
id?: string;
|
|
1470
1478
|
order_id: string;
|
|
1471
1479
|
order_source: string;
|
|
@@ -1475,9 +1483,10 @@ export type Database = {
|
|
|
1475
1483
|
Update: {
|
|
1476
1484
|
assigned_at?: string;
|
|
1477
1485
|
cart_index?: number;
|
|
1478
|
-
cart_number?: string
|
|
1486
|
+
cart_number?: string;
|
|
1479
1487
|
day_seq?: number | null;
|
|
1480
1488
|
delivered_at?: string | null;
|
|
1489
|
+
engine_cart_label?: string | null;
|
|
1481
1490
|
id?: string;
|
|
1482
1491
|
order_id?: string;
|
|
1483
1492
|
order_source?: string;
|
|
@@ -1857,6 +1866,42 @@ export type Database = {
|
|
|
1857
1866
|
};
|
|
1858
1867
|
Relationships: [];
|
|
1859
1868
|
};
|
|
1869
|
+
customer_assortment_items: {
|
|
1870
|
+
Row: {
|
|
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
|
+
Insert: {
|
|
1882
|
+
created_at?: string;
|
|
1883
|
+
customer_key: string;
|
|
1884
|
+
id?: string;
|
|
1885
|
+
in_assortment?: boolean;
|
|
1886
|
+
manual_override?: boolean;
|
|
1887
|
+
source?: string;
|
|
1888
|
+
synced_at?: string | null;
|
|
1889
|
+
trade_item_key: string;
|
|
1890
|
+
updated_at?: string;
|
|
1891
|
+
};
|
|
1892
|
+
Update: {
|
|
1893
|
+
created_at?: string;
|
|
1894
|
+
customer_key?: string;
|
|
1895
|
+
id?: string;
|
|
1896
|
+
in_assortment?: boolean;
|
|
1897
|
+
manual_override?: boolean;
|
|
1898
|
+
source?: string;
|
|
1899
|
+
synced_at?: string | null;
|
|
1900
|
+
trade_item_key?: string;
|
|
1901
|
+
updated_at?: string;
|
|
1902
|
+
};
|
|
1903
|
+
Relationships: [];
|
|
1904
|
+
};
|
|
1860
1905
|
customer_audit_log: {
|
|
1861
1906
|
Row: {
|
|
1862
1907
|
action: string;
|
|
@@ -2202,6 +2247,8 @@ export type Database = {
|
|
|
2202
2247
|
created_at: string;
|
|
2203
2248
|
currency: string;
|
|
2204
2249
|
distribute_over: string | null;
|
|
2250
|
+
external_id: string | null;
|
|
2251
|
+
external_synced_at: string | null;
|
|
2205
2252
|
group_type: string;
|
|
2206
2253
|
handling_fee: number | null;
|
|
2207
2254
|
id: string;
|
|
@@ -2214,6 +2261,7 @@ export type Database = {
|
|
|
2214
2261
|
rounding: string;
|
|
2215
2262
|
rounding_step: number;
|
|
2216
2263
|
sort_order: number;
|
|
2264
|
+
source: string;
|
|
2217
2265
|
unit: string;
|
|
2218
2266
|
updated_at: string;
|
|
2219
2267
|
};
|
|
@@ -2224,6 +2272,8 @@ export type Database = {
|
|
|
2224
2272
|
created_at?: string;
|
|
2225
2273
|
currency?: string;
|
|
2226
2274
|
distribute_over?: string | null;
|
|
2275
|
+
external_id?: string | null;
|
|
2276
|
+
external_synced_at?: string | null;
|
|
2227
2277
|
group_type?: string;
|
|
2228
2278
|
handling_fee?: number | null;
|
|
2229
2279
|
id?: string;
|
|
@@ -2236,6 +2286,7 @@ export type Database = {
|
|
|
2236
2286
|
rounding?: string;
|
|
2237
2287
|
rounding_step?: number;
|
|
2238
2288
|
sort_order?: number;
|
|
2289
|
+
source?: string;
|
|
2239
2290
|
unit?: string;
|
|
2240
2291
|
updated_at?: string;
|
|
2241
2292
|
};
|
|
@@ -2246,6 +2297,8 @@ export type Database = {
|
|
|
2246
2297
|
created_at?: string;
|
|
2247
2298
|
currency?: string;
|
|
2248
2299
|
distribute_over?: string | null;
|
|
2300
|
+
external_id?: string | null;
|
|
2301
|
+
external_synced_at?: string | null;
|
|
2249
2302
|
group_type?: string;
|
|
2250
2303
|
handling_fee?: number | null;
|
|
2251
2304
|
id?: string;
|
|
@@ -2258,11 +2311,69 @@ export type Database = {
|
|
|
2258
2311
|
rounding?: string;
|
|
2259
2312
|
rounding_step?: number;
|
|
2260
2313
|
sort_order?: number;
|
|
2314
|
+
source?: string;
|
|
2261
2315
|
unit?: string;
|
|
2262
2316
|
updated_at?: string;
|
|
2263
2317
|
};
|
|
2264
2318
|
Relationships: [];
|
|
2265
2319
|
};
|
|
2320
|
+
customer_product_stickers: {
|
|
2321
|
+
Row: {
|
|
2322
|
+
content_hash: string | null;
|
|
2323
|
+
created_at: string;
|
|
2324
|
+
customer_key: string;
|
|
2325
|
+
file_name: string;
|
|
2326
|
+
file_path: string;
|
|
2327
|
+
file_size: number | null;
|
|
2328
|
+
floriday_sticker_id: string | null;
|
|
2329
|
+
floriday_synced_at: string | null;
|
|
2330
|
+
height_mm: number | null;
|
|
2331
|
+
id: string;
|
|
2332
|
+
mime_type: string | null;
|
|
2333
|
+
source: string;
|
|
2334
|
+
trade_item_key: string;
|
|
2335
|
+
updated_at: string;
|
|
2336
|
+
uploaded_by: string | null;
|
|
2337
|
+
width_mm: number | null;
|
|
2338
|
+
};
|
|
2339
|
+
Insert: {
|
|
2340
|
+
content_hash?: string | null;
|
|
2341
|
+
created_at?: string;
|
|
2342
|
+
customer_key: string;
|
|
2343
|
+
file_name: string;
|
|
2344
|
+
file_path: string;
|
|
2345
|
+
file_size?: number | null;
|
|
2346
|
+
floriday_sticker_id?: string | null;
|
|
2347
|
+
floriday_synced_at?: string | null;
|
|
2348
|
+
height_mm?: number | null;
|
|
2349
|
+
id?: string;
|
|
2350
|
+
mime_type?: string | null;
|
|
2351
|
+
source?: string;
|
|
2352
|
+
trade_item_key: string;
|
|
2353
|
+
updated_at?: string;
|
|
2354
|
+
uploaded_by?: string | null;
|
|
2355
|
+
width_mm?: number | null;
|
|
2356
|
+
};
|
|
2357
|
+
Update: {
|
|
2358
|
+
content_hash?: string | null;
|
|
2359
|
+
created_at?: string;
|
|
2360
|
+
customer_key?: string;
|
|
2361
|
+
file_name?: string;
|
|
2362
|
+
file_path?: string;
|
|
2363
|
+
file_size?: number | null;
|
|
2364
|
+
floriday_sticker_id?: string | null;
|
|
2365
|
+
floriday_synced_at?: string | null;
|
|
2366
|
+
height_mm?: number | null;
|
|
2367
|
+
id?: string;
|
|
2368
|
+
mime_type?: string | null;
|
|
2369
|
+
source?: string;
|
|
2370
|
+
trade_item_key?: string;
|
|
2371
|
+
updated_at?: string;
|
|
2372
|
+
uploaded_by?: string | null;
|
|
2373
|
+
width_mm?: number | null;
|
|
2374
|
+
};
|
|
2375
|
+
Relationships: [];
|
|
2376
|
+
};
|
|
2266
2377
|
customer_selected_assortment: {
|
|
2267
2378
|
Row: {
|
|
2268
2379
|
article_number: string | null;
|
|
@@ -2313,6 +2424,30 @@ export type Database = {
|
|
|
2313
2424
|
}
|
|
2314
2425
|
];
|
|
2315
2426
|
};
|
|
2427
|
+
customer_sticker_settings: {
|
|
2428
|
+
Row: {
|
|
2429
|
+
created_at: string;
|
|
2430
|
+
customer_key: string;
|
|
2431
|
+
height_mm: number;
|
|
2432
|
+
updated_at: string;
|
|
2433
|
+
width_mm: number;
|
|
2434
|
+
};
|
|
2435
|
+
Insert: {
|
|
2436
|
+
created_at?: string;
|
|
2437
|
+
customer_key: string;
|
|
2438
|
+
height_mm?: number;
|
|
2439
|
+
updated_at?: string;
|
|
2440
|
+
width_mm?: number;
|
|
2441
|
+
};
|
|
2442
|
+
Update: {
|
|
2443
|
+
created_at?: string;
|
|
2444
|
+
customer_key?: string;
|
|
2445
|
+
height_mm?: number;
|
|
2446
|
+
updated_at?: string;
|
|
2447
|
+
width_mm?: number;
|
|
2448
|
+
};
|
|
2449
|
+
Relationships: [];
|
|
2450
|
+
};
|
|
2316
2451
|
customer_trade_settings: {
|
|
2317
2452
|
Row: {
|
|
2318
2453
|
category: string;
|
|
@@ -3674,6 +3809,7 @@ export type Database = {
|
|
|
3674
3809
|
};
|
|
3675
3810
|
email_auth_outbox: {
|
|
3676
3811
|
Row: {
|
|
3812
|
+
attachments: Json;
|
|
3677
3813
|
attempts: number;
|
|
3678
3814
|
bcc_addresses: string[];
|
|
3679
3815
|
cc_addresses: string[];
|
|
@@ -3696,6 +3832,7 @@ export type Database = {
|
|
|
3696
3832
|
updated_at: string;
|
|
3697
3833
|
};
|
|
3698
3834
|
Insert: {
|
|
3835
|
+
attachments?: Json;
|
|
3699
3836
|
attempts?: number;
|
|
3700
3837
|
bcc_addresses?: string[];
|
|
3701
3838
|
cc_addresses?: string[];
|
|
@@ -3718,6 +3855,7 @@ export type Database = {
|
|
|
3718
3855
|
updated_at?: string;
|
|
3719
3856
|
};
|
|
3720
3857
|
Update: {
|
|
3858
|
+
attachments?: Json;
|
|
3721
3859
|
attempts?: number;
|
|
3722
3860
|
bcc_addresses?: string[];
|
|
3723
3861
|
cc_addresses?: string[];
|
|
@@ -5722,6 +5860,105 @@ export type Database = {
|
|
|
5722
5860
|
}
|
|
5723
5861
|
];
|
|
5724
5862
|
};
|
|
5863
|
+
floriday_api_log: {
|
|
5864
|
+
Row: {
|
|
5865
|
+
action: string | null;
|
|
5866
|
+
caller: string | null;
|
|
5867
|
+
connection_id: string | null;
|
|
5868
|
+
created_at: string;
|
|
5869
|
+
cursor_from: number | null;
|
|
5870
|
+
direction: string;
|
|
5871
|
+
duration_ms: number | null;
|
|
5872
|
+
environment: string | null;
|
|
5873
|
+
error: string | null;
|
|
5874
|
+
floriday_id: string | null;
|
|
5875
|
+
floriday_reference: string | null;
|
|
5876
|
+
http_status: number;
|
|
5877
|
+
id: string;
|
|
5878
|
+
item_count: number | null;
|
|
5879
|
+
kind: string | null;
|
|
5880
|
+
local_id: string | null;
|
|
5881
|
+
local_reference: string | null;
|
|
5882
|
+
method: string;
|
|
5883
|
+
module: string | null;
|
|
5884
|
+
ok: boolean;
|
|
5885
|
+
path: string;
|
|
5886
|
+
request: Json | null;
|
|
5887
|
+
resource_type: string | null;
|
|
5888
|
+
response: Json | null;
|
|
5889
|
+
write_log_id: string | null;
|
|
5890
|
+
};
|
|
5891
|
+
Insert: {
|
|
5892
|
+
action?: string | null;
|
|
5893
|
+
caller?: string | null;
|
|
5894
|
+
connection_id?: string | null;
|
|
5895
|
+
created_at?: string;
|
|
5896
|
+
cursor_from?: number | null;
|
|
5897
|
+
direction: string;
|
|
5898
|
+
duration_ms?: number | null;
|
|
5899
|
+
environment?: string | null;
|
|
5900
|
+
error?: string | null;
|
|
5901
|
+
floriday_id?: string | null;
|
|
5902
|
+
floriday_reference?: string | null;
|
|
5903
|
+
http_status?: number;
|
|
5904
|
+
id?: string;
|
|
5905
|
+
item_count?: number | null;
|
|
5906
|
+
kind?: string | null;
|
|
5907
|
+
local_id?: string | null;
|
|
5908
|
+
local_reference?: string | null;
|
|
5909
|
+
method: string;
|
|
5910
|
+
module?: string | null;
|
|
5911
|
+
ok?: boolean;
|
|
5912
|
+
path: string;
|
|
5913
|
+
request?: Json | null;
|
|
5914
|
+
resource_type?: string | null;
|
|
5915
|
+
response?: Json | null;
|
|
5916
|
+
write_log_id?: string | null;
|
|
5917
|
+
};
|
|
5918
|
+
Update: {
|
|
5919
|
+
action?: string | null;
|
|
5920
|
+
caller?: string | null;
|
|
5921
|
+
connection_id?: string | null;
|
|
5922
|
+
created_at?: string;
|
|
5923
|
+
cursor_from?: number | null;
|
|
5924
|
+
direction?: string;
|
|
5925
|
+
duration_ms?: number | null;
|
|
5926
|
+
environment?: string | null;
|
|
5927
|
+
error?: string | null;
|
|
5928
|
+
floriday_id?: string | null;
|
|
5929
|
+
floriday_reference?: string | null;
|
|
5930
|
+
http_status?: number;
|
|
5931
|
+
id?: string;
|
|
5932
|
+
item_count?: number | null;
|
|
5933
|
+
kind?: string | null;
|
|
5934
|
+
local_id?: string | null;
|
|
5935
|
+
local_reference?: string | null;
|
|
5936
|
+
method?: string;
|
|
5937
|
+
module?: string | null;
|
|
5938
|
+
ok?: boolean;
|
|
5939
|
+
path?: string;
|
|
5940
|
+
request?: Json | null;
|
|
5941
|
+
resource_type?: string | null;
|
|
5942
|
+
response?: Json | null;
|
|
5943
|
+
write_log_id?: string | null;
|
|
5944
|
+
};
|
|
5945
|
+
Relationships: [
|
|
5946
|
+
{
|
|
5947
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5948
|
+
columns: ["connection_id"];
|
|
5949
|
+
isOneToOne: false;
|
|
5950
|
+
referencedRelation: "floriday_connections";
|
|
5951
|
+
referencedColumns: ["id"];
|
|
5952
|
+
},
|
|
5953
|
+
{
|
|
5954
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5955
|
+
columns: ["write_log_id"];
|
|
5956
|
+
isOneToOne: false;
|
|
5957
|
+
referencedRelation: "floriday_write_log";
|
|
5958
|
+
referencedColumns: ["id"];
|
|
5959
|
+
}
|
|
5960
|
+
];
|
|
5961
|
+
};
|
|
5725
5962
|
floriday_auction_letters_cache: {
|
|
5726
5963
|
Row: {
|
|
5727
5964
|
auction_letter_code: string;
|
|
@@ -5939,6 +6176,86 @@ export type Database = {
|
|
|
5939
6176
|
}
|
|
5940
6177
|
];
|
|
5941
6178
|
};
|
|
6179
|
+
floriday_catalog_prices_cache: {
|
|
6180
|
+
Row: {
|
|
6181
|
+
connection_id: string;
|
|
6182
|
+
created_at: string;
|
|
6183
|
+
currency: string;
|
|
6184
|
+
id: string;
|
|
6185
|
+
is_deleted: boolean;
|
|
6186
|
+
price: number | null;
|
|
6187
|
+
price_group_id: string | null;
|
|
6188
|
+
price_group_name: string | null;
|
|
6189
|
+
price_type: string;
|
|
6190
|
+
raw: Json | null;
|
|
6191
|
+
sales_unit: string | null;
|
|
6192
|
+
sequence_number: number;
|
|
6193
|
+
supplier_article_code: string | null;
|
|
6194
|
+
supply_line_id: string;
|
|
6195
|
+
synced_at: string;
|
|
6196
|
+
trade_item_id: string | null;
|
|
6197
|
+
updated_at: string;
|
|
6198
|
+
valid_from: string | null;
|
|
6199
|
+
valid_to: string | null;
|
|
6200
|
+
week: number | null;
|
|
6201
|
+
year: number | null;
|
|
6202
|
+
};
|
|
6203
|
+
Insert: {
|
|
6204
|
+
connection_id: string;
|
|
6205
|
+
created_at?: string;
|
|
6206
|
+
currency?: string;
|
|
6207
|
+
id?: string;
|
|
6208
|
+
is_deleted?: boolean;
|
|
6209
|
+
price?: number | null;
|
|
6210
|
+
price_group_id?: string | null;
|
|
6211
|
+
price_group_name?: string | null;
|
|
6212
|
+
price_type?: string;
|
|
6213
|
+
raw?: Json | null;
|
|
6214
|
+
sales_unit?: string | null;
|
|
6215
|
+
sequence_number?: number;
|
|
6216
|
+
supplier_article_code?: string | null;
|
|
6217
|
+
supply_line_id: string;
|
|
6218
|
+
synced_at?: string;
|
|
6219
|
+
trade_item_id?: string | null;
|
|
6220
|
+
updated_at?: string;
|
|
6221
|
+
valid_from?: string | null;
|
|
6222
|
+
valid_to?: string | null;
|
|
6223
|
+
week?: number | null;
|
|
6224
|
+
year?: number | null;
|
|
6225
|
+
};
|
|
6226
|
+
Update: {
|
|
6227
|
+
connection_id?: string;
|
|
6228
|
+
created_at?: string;
|
|
6229
|
+
currency?: string;
|
|
6230
|
+
id?: string;
|
|
6231
|
+
is_deleted?: boolean;
|
|
6232
|
+
price?: number | null;
|
|
6233
|
+
price_group_id?: string | null;
|
|
6234
|
+
price_group_name?: string | null;
|
|
6235
|
+
price_type?: string;
|
|
6236
|
+
raw?: Json | null;
|
|
6237
|
+
sales_unit?: string | null;
|
|
6238
|
+
sequence_number?: number;
|
|
6239
|
+
supplier_article_code?: string | null;
|
|
6240
|
+
supply_line_id?: string;
|
|
6241
|
+
synced_at?: string;
|
|
6242
|
+
trade_item_id?: string | null;
|
|
6243
|
+
updated_at?: string;
|
|
6244
|
+
valid_from?: string | null;
|
|
6245
|
+
valid_to?: string | null;
|
|
6246
|
+
week?: number | null;
|
|
6247
|
+
year?: number | null;
|
|
6248
|
+
};
|
|
6249
|
+
Relationships: [
|
|
6250
|
+
{
|
|
6251
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6252
|
+
columns: ["connection_id"];
|
|
6253
|
+
isOneToOne: false;
|
|
6254
|
+
referencedRelation: "floriday_connections";
|
|
6255
|
+
referencedColumns: ["id"];
|
|
6256
|
+
}
|
|
6257
|
+
];
|
|
6258
|
+
};
|
|
5942
6259
|
floriday_clock_presales_cache: {
|
|
5943
6260
|
Row: {
|
|
5944
6261
|
buyer_organization_id: string | null;
|
|
@@ -6884,40 +7201,103 @@ export type Database = {
|
|
|
6884
7201
|
}
|
|
6885
7202
|
];
|
|
6886
7203
|
};
|
|
6887
|
-
|
|
7204
|
+
floriday_link_templates: {
|
|
6888
7205
|
Row: {
|
|
6889
|
-
|
|
6890
|
-
|
|
6891
|
-
|
|
6892
|
-
|
|
6893
|
-
|
|
6894
|
-
|
|
6895
|
-
|
|
6896
|
-
storage_path: string;
|
|
7206
|
+
created_at: string;
|
|
7207
|
+
floriday_url_template: string | null;
|
|
7208
|
+
is_active: boolean;
|
|
7209
|
+
label: string;
|
|
7210
|
+
local_url_template: string | null;
|
|
7211
|
+
resource_type: string;
|
|
7212
|
+
updated_at: string;
|
|
6897
7213
|
};
|
|
6898
7214
|
Insert: {
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6902
|
-
|
|
6903
|
-
|
|
6904
|
-
|
|
6905
|
-
|
|
6906
|
-
storage_path: string;
|
|
7215
|
+
created_at?: string;
|
|
7216
|
+
floriday_url_template?: string | null;
|
|
7217
|
+
is_active?: boolean;
|
|
7218
|
+
label: string;
|
|
7219
|
+
local_url_template?: string | null;
|
|
7220
|
+
resource_type: string;
|
|
7221
|
+
updated_at?: string;
|
|
6907
7222
|
};
|
|
6908
7223
|
Update: {
|
|
6909
|
-
|
|
6910
|
-
|
|
6911
|
-
|
|
6912
|
-
|
|
6913
|
-
|
|
6914
|
-
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6918
|
-
|
|
6919
|
-
|
|
6920
|
-
|
|
7224
|
+
created_at?: string;
|
|
7225
|
+
floriday_url_template?: string | null;
|
|
7226
|
+
is_active?: boolean;
|
|
7227
|
+
label?: string;
|
|
7228
|
+
local_url_template?: string | null;
|
|
7229
|
+
resource_type?: string;
|
|
7230
|
+
updated_at?: string;
|
|
7231
|
+
};
|
|
7232
|
+
Relationships: [];
|
|
7233
|
+
};
|
|
7234
|
+
floriday_log_retention: {
|
|
7235
|
+
Row: {
|
|
7236
|
+
created_at: string;
|
|
7237
|
+
direction: string | null;
|
|
7238
|
+
id: string;
|
|
7239
|
+
keep_failed_days: number | null;
|
|
7240
|
+
keep_ok_days: number | null;
|
|
7241
|
+
note: string | null;
|
|
7242
|
+
resource_type: string | null;
|
|
7243
|
+
updated_at: string;
|
|
7244
|
+
};
|
|
7245
|
+
Insert: {
|
|
7246
|
+
created_at?: string;
|
|
7247
|
+
direction?: string | null;
|
|
7248
|
+
id?: string;
|
|
7249
|
+
keep_failed_days?: number | null;
|
|
7250
|
+
keep_ok_days?: number | null;
|
|
7251
|
+
note?: string | null;
|
|
7252
|
+
resource_type?: string | null;
|
|
7253
|
+
updated_at?: string;
|
|
7254
|
+
};
|
|
7255
|
+
Update: {
|
|
7256
|
+
created_at?: string;
|
|
7257
|
+
direction?: string | null;
|
|
7258
|
+
id?: string;
|
|
7259
|
+
keep_failed_days?: number | null;
|
|
7260
|
+
keep_ok_days?: number | null;
|
|
7261
|
+
note?: string | null;
|
|
7262
|
+
resource_type?: string | null;
|
|
7263
|
+
updated_at?: string;
|
|
7264
|
+
};
|
|
7265
|
+
Relationships: [];
|
|
7266
|
+
};
|
|
7267
|
+
floriday_logistic_labels_cache: {
|
|
7268
|
+
Row: {
|
|
7269
|
+
byte_size: number | null;
|
|
7270
|
+
connection_id: string;
|
|
7271
|
+
content_type: string;
|
|
7272
|
+
fetched_at: string;
|
|
7273
|
+
fulfillment_order_id: string;
|
|
7274
|
+
id: string;
|
|
7275
|
+
logistic_label_code: string;
|
|
7276
|
+
storage_path: string;
|
|
7277
|
+
};
|
|
7278
|
+
Insert: {
|
|
7279
|
+
byte_size?: number | null;
|
|
7280
|
+
connection_id: string;
|
|
7281
|
+
content_type?: string;
|
|
7282
|
+
fetched_at?: string;
|
|
7283
|
+
fulfillment_order_id: string;
|
|
7284
|
+
id?: string;
|
|
7285
|
+
logistic_label_code: string;
|
|
7286
|
+
storage_path: string;
|
|
7287
|
+
};
|
|
7288
|
+
Update: {
|
|
7289
|
+
byte_size?: number | null;
|
|
7290
|
+
connection_id?: string;
|
|
7291
|
+
content_type?: string;
|
|
7292
|
+
fetched_at?: string;
|
|
7293
|
+
fulfillment_order_id?: string;
|
|
7294
|
+
id?: string;
|
|
7295
|
+
logistic_label_code?: string;
|
|
7296
|
+
storage_path?: string;
|
|
7297
|
+
};
|
|
7298
|
+
Relationships: [
|
|
7299
|
+
{
|
|
7300
|
+
foreignKeyName: "floriday_logistic_labels_cache_connection_id_fkey";
|
|
6921
7301
|
columns: ["connection_id"];
|
|
6922
7302
|
isOneToOne: false;
|
|
6923
7303
|
referencedRelation: "floriday_connections";
|
|
@@ -8654,8 +9034,48 @@ export type Database = {
|
|
|
8654
9034
|
};
|
|
8655
9035
|
Relationships: [];
|
|
8656
9036
|
};
|
|
9037
|
+
itk_handover_afspraken: {
|
|
9038
|
+
Row: {
|
|
9039
|
+
afgesproken_door: string | null;
|
|
9040
|
+
afgesproken_op: string;
|
|
9041
|
+
besluit: string;
|
|
9042
|
+
created_at: string;
|
|
9043
|
+
item: string;
|
|
9044
|
+
modules: string[];
|
|
9045
|
+
sleutel: string;
|
|
9046
|
+
soort: string;
|
|
9047
|
+
updated_at: string;
|
|
9048
|
+
versie_vingerafdruk: string;
|
|
9049
|
+
};
|
|
9050
|
+
Insert: {
|
|
9051
|
+
afgesproken_door?: string | null;
|
|
9052
|
+
afgesproken_op?: string;
|
|
9053
|
+
besluit?: string;
|
|
9054
|
+
created_at?: string;
|
|
9055
|
+
item?: string;
|
|
9056
|
+
modules?: string[];
|
|
9057
|
+
sleutel: string;
|
|
9058
|
+
soort?: string;
|
|
9059
|
+
updated_at?: string;
|
|
9060
|
+
versie_vingerafdruk?: string;
|
|
9061
|
+
};
|
|
9062
|
+
Update: {
|
|
9063
|
+
afgesproken_door?: string | null;
|
|
9064
|
+
afgesproken_op?: string;
|
|
9065
|
+
besluit?: string;
|
|
9066
|
+
created_at?: string;
|
|
9067
|
+
item?: string;
|
|
9068
|
+
modules?: string[];
|
|
9069
|
+
sleutel?: string;
|
|
9070
|
+
soort?: string;
|
|
9071
|
+
updated_at?: string;
|
|
9072
|
+
versie_vingerafdruk?: string;
|
|
9073
|
+
};
|
|
9074
|
+
Relationships: [];
|
|
9075
|
+
};
|
|
8657
9076
|
itk_handover_github_scan: {
|
|
8658
9077
|
Row: {
|
|
9078
|
+
genegeerd_op: string | null;
|
|
8659
9079
|
gescand_op: string;
|
|
8660
9080
|
gevonden: boolean;
|
|
8661
9081
|
melding: string | null;
|
|
@@ -8663,6 +9083,7 @@ export type Database = {
|
|
|
8663
9083
|
repo: string;
|
|
8664
9084
|
};
|
|
8665
9085
|
Insert: {
|
|
9086
|
+
genegeerd_op?: string | null;
|
|
8666
9087
|
gescand_op?: string;
|
|
8667
9088
|
gevonden?: boolean;
|
|
8668
9089
|
melding?: string | null;
|
|
@@ -8670,6 +9091,7 @@ export type Database = {
|
|
|
8670
9091
|
repo: string;
|
|
8671
9092
|
};
|
|
8672
9093
|
Update: {
|
|
9094
|
+
genegeerd_op?: string | null;
|
|
8673
9095
|
gescand_op?: string;
|
|
8674
9096
|
gevonden?: boolean;
|
|
8675
9097
|
melding?: string | null;
|
|
@@ -8678,13 +9100,45 @@ export type Database = {
|
|
|
8678
9100
|
};
|
|
8679
9101
|
Relationships: [];
|
|
8680
9102
|
};
|
|
9103
|
+
itk_handover_github_voortgang: {
|
|
9104
|
+
Row: {
|
|
9105
|
+
bijgewerkt_op: string;
|
|
9106
|
+
huidige_repo: string | null;
|
|
9107
|
+
id: boolean;
|
|
9108
|
+
klaar: number;
|
|
9109
|
+
loopt: boolean;
|
|
9110
|
+
totaal: number;
|
|
9111
|
+
};
|
|
9112
|
+
Insert: {
|
|
9113
|
+
bijgewerkt_op?: string;
|
|
9114
|
+
huidige_repo?: string | null;
|
|
9115
|
+
id?: boolean;
|
|
9116
|
+
klaar?: number;
|
|
9117
|
+
loopt?: boolean;
|
|
9118
|
+
totaal?: number;
|
|
9119
|
+
};
|
|
9120
|
+
Update: {
|
|
9121
|
+
bijgewerkt_op?: string;
|
|
9122
|
+
huidige_repo?: string | null;
|
|
9123
|
+
id?: boolean;
|
|
9124
|
+
klaar?: number;
|
|
9125
|
+
loopt?: boolean;
|
|
9126
|
+
totaal?: number;
|
|
9127
|
+
};
|
|
9128
|
+
Relationships: [];
|
|
9129
|
+
};
|
|
8681
9130
|
itk_handover_module_meta: {
|
|
8682
9131
|
Row: {
|
|
8683
9132
|
check_aangevraagd_op: string | null;
|
|
8684
9133
|
check_nodig: boolean;
|
|
8685
9134
|
check_reden: string | null;
|
|
8686
9135
|
created_at: string;
|
|
9136
|
+
md_bron: boolean;
|
|
9137
|
+
md_bron_op: string | null;
|
|
9138
|
+
md_bron_pad: string | null;
|
|
8687
9139
|
module_id: string;
|
|
9140
|
+
nieuw_gezien: boolean;
|
|
9141
|
+
nieuw_gezien_op: string | null;
|
|
8688
9142
|
project_url: string | null;
|
|
8689
9143
|
publicatie_url: string | null;
|
|
8690
9144
|
updated_at: string;
|
|
@@ -8694,7 +9148,12 @@ export type Database = {
|
|
|
8694
9148
|
check_nodig?: boolean;
|
|
8695
9149
|
check_reden?: string | null;
|
|
8696
9150
|
created_at?: string;
|
|
9151
|
+
md_bron?: boolean;
|
|
9152
|
+
md_bron_op?: string | null;
|
|
9153
|
+
md_bron_pad?: string | null;
|
|
8697
9154
|
module_id: string;
|
|
9155
|
+
nieuw_gezien?: boolean;
|
|
9156
|
+
nieuw_gezien_op?: string | null;
|
|
8698
9157
|
project_url?: string | null;
|
|
8699
9158
|
publicatie_url?: string | null;
|
|
8700
9159
|
updated_at?: string;
|
|
@@ -8704,13 +9163,45 @@ export type Database = {
|
|
|
8704
9163
|
check_nodig?: boolean;
|
|
8705
9164
|
check_reden?: string | null;
|
|
8706
9165
|
created_at?: string;
|
|
9166
|
+
md_bron?: boolean;
|
|
9167
|
+
md_bron_op?: string | null;
|
|
9168
|
+
md_bron_pad?: string | null;
|
|
8707
9169
|
module_id?: string;
|
|
9170
|
+
nieuw_gezien?: boolean;
|
|
9171
|
+
nieuw_gezien_op?: string | null;
|
|
8708
9172
|
project_url?: string | null;
|
|
8709
9173
|
publicatie_url?: string | null;
|
|
8710
9174
|
updated_at?: string;
|
|
8711
9175
|
};
|
|
8712
9176
|
Relationships: [];
|
|
8713
9177
|
};
|
|
9178
|
+
itk_handover_module_naam: {
|
|
9179
|
+
Row: {
|
|
9180
|
+
bron_repo: string;
|
|
9181
|
+
created_at: string;
|
|
9182
|
+
module_id: string;
|
|
9183
|
+
standaardnaam: string | null;
|
|
9184
|
+
updated_at: string;
|
|
9185
|
+
weergavenaam: string;
|
|
9186
|
+
};
|
|
9187
|
+
Insert: {
|
|
9188
|
+
bron_repo?: string;
|
|
9189
|
+
created_at?: string;
|
|
9190
|
+
module_id: string;
|
|
9191
|
+
standaardnaam?: string | null;
|
|
9192
|
+
updated_at?: string;
|
|
9193
|
+
weergavenaam: string;
|
|
9194
|
+
};
|
|
9195
|
+
Update: {
|
|
9196
|
+
bron_repo?: string;
|
|
9197
|
+
created_at?: string;
|
|
9198
|
+
module_id?: string;
|
|
9199
|
+
standaardnaam?: string | null;
|
|
9200
|
+
updated_at?: string;
|
|
9201
|
+
weergavenaam?: string;
|
|
9202
|
+
};
|
|
9203
|
+
Relationships: [];
|
|
9204
|
+
};
|
|
8714
9205
|
itk_handover_project_modules: {
|
|
8715
9206
|
Row: {
|
|
8716
9207
|
created_at: string;
|
|
@@ -8826,6 +9317,7 @@ export type Database = {
|
|
|
8826
9317
|
};
|
|
8827
9318
|
itk_module_handovers: {
|
|
8828
9319
|
Row: {
|
|
9320
|
+
bekende_risicos: string[];
|
|
8829
9321
|
bevindingen: string | null;
|
|
8830
9322
|
bezit_tabellen: string[];
|
|
8831
9323
|
bron_commit: string | null;
|
|
@@ -8844,6 +9336,7 @@ export type Database = {
|
|
|
8844
9336
|
inhoud_md: string;
|
|
8845
9337
|
is_actueel: boolean;
|
|
8846
9338
|
is_gearchiveerd: boolean;
|
|
9339
|
+
laatst_bevestigd_op: string | null;
|
|
8847
9340
|
laatst_gecontroleerd_op: string | null;
|
|
8848
9341
|
module_id: string;
|
|
8849
9342
|
module_titel: string;
|
|
@@ -8853,6 +9346,7 @@ export type Database = {
|
|
|
8853
9346
|
versie: number;
|
|
8854
9347
|
};
|
|
8855
9348
|
Insert: {
|
|
9349
|
+
bekende_risicos?: string[];
|
|
8856
9350
|
bevindingen?: string | null;
|
|
8857
9351
|
bezit_tabellen?: string[];
|
|
8858
9352
|
bron_commit?: string | null;
|
|
@@ -8871,6 +9365,7 @@ export type Database = {
|
|
|
8871
9365
|
inhoud_md: string;
|
|
8872
9366
|
is_actueel?: boolean;
|
|
8873
9367
|
is_gearchiveerd?: boolean;
|
|
9368
|
+
laatst_bevestigd_op?: string | null;
|
|
8874
9369
|
laatst_gecontroleerd_op?: string | null;
|
|
8875
9370
|
module_id: string;
|
|
8876
9371
|
module_titel: string;
|
|
@@ -8880,6 +9375,7 @@ export type Database = {
|
|
|
8880
9375
|
versie?: number;
|
|
8881
9376
|
};
|
|
8882
9377
|
Update: {
|
|
9378
|
+
bekende_risicos?: string[];
|
|
8883
9379
|
bevindingen?: string | null;
|
|
8884
9380
|
bezit_tabellen?: string[];
|
|
8885
9381
|
bron_commit?: string | null;
|
|
@@ -8898,6 +9394,7 @@ export type Database = {
|
|
|
8898
9394
|
inhoud_md?: string;
|
|
8899
9395
|
is_actueel?: boolean;
|
|
8900
9396
|
is_gearchiveerd?: boolean;
|
|
9397
|
+
laatst_bevestigd_op?: string | null;
|
|
8901
9398
|
laatst_gecontroleerd_op?: string | null;
|
|
8902
9399
|
module_id?: string;
|
|
8903
9400
|
module_titel?: string;
|
|
@@ -9111,6 +9608,56 @@ export type Database = {
|
|
|
9111
9608
|
};
|
|
9112
9609
|
Relationships: [];
|
|
9113
9610
|
};
|
|
9611
|
+
itk_offerte_werkbon_queue: {
|
|
9612
|
+
Row: {
|
|
9613
|
+
bron_werkbon_id: string | null;
|
|
9614
|
+
created_at: string;
|
|
9615
|
+
foutmelding: string | null;
|
|
9616
|
+
id: string;
|
|
9617
|
+
offerte_id: string;
|
|
9618
|
+
payload: Json;
|
|
9619
|
+
status: string;
|
|
9620
|
+
updated_at: string;
|
|
9621
|
+
verwerkt_op: string | null;
|
|
9622
|
+
werkbon_id: string | null;
|
|
9623
|
+
werkbon_nummer: string | null;
|
|
9624
|
+
};
|
|
9625
|
+
Insert: {
|
|
9626
|
+
bron_werkbon_id?: string | null;
|
|
9627
|
+
created_at?: string;
|
|
9628
|
+
foutmelding?: string | null;
|
|
9629
|
+
id?: string;
|
|
9630
|
+
offerte_id: string;
|
|
9631
|
+
payload?: Json;
|
|
9632
|
+
status?: string;
|
|
9633
|
+
updated_at?: string;
|
|
9634
|
+
verwerkt_op?: string | null;
|
|
9635
|
+
werkbon_id?: string | null;
|
|
9636
|
+
werkbon_nummer?: string | null;
|
|
9637
|
+
};
|
|
9638
|
+
Update: {
|
|
9639
|
+
bron_werkbon_id?: string | null;
|
|
9640
|
+
created_at?: string;
|
|
9641
|
+
foutmelding?: string | null;
|
|
9642
|
+
id?: string;
|
|
9643
|
+
offerte_id?: string;
|
|
9644
|
+
payload?: Json;
|
|
9645
|
+
status?: string;
|
|
9646
|
+
updated_at?: string;
|
|
9647
|
+
verwerkt_op?: string | null;
|
|
9648
|
+
werkbon_id?: string | null;
|
|
9649
|
+
werkbon_nummer?: string | null;
|
|
9650
|
+
};
|
|
9651
|
+
Relationships: [
|
|
9652
|
+
{
|
|
9653
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9654
|
+
columns: ["offerte_id"];
|
|
9655
|
+
isOneToOne: false;
|
|
9656
|
+
referencedRelation: "itk_offertes";
|
|
9657
|
+
referencedColumns: ["id"];
|
|
9658
|
+
}
|
|
9659
|
+
];
|
|
9660
|
+
};
|
|
9114
9661
|
itk_offertes: {
|
|
9115
9662
|
Row: {
|
|
9116
9663
|
ai_generated: boolean;
|
|
@@ -9313,6 +9860,30 @@ export type Database = {
|
|
|
9313
9860
|
}
|
|
9314
9861
|
];
|
|
9315
9862
|
};
|
|
9863
|
+
job_locks: {
|
|
9864
|
+
Row: {
|
|
9865
|
+
created_at: string;
|
|
9866
|
+
lock_key: string;
|
|
9867
|
+
locked_until: string;
|
|
9868
|
+
owner: string | null;
|
|
9869
|
+
updated_at: string;
|
|
9870
|
+
};
|
|
9871
|
+
Insert: {
|
|
9872
|
+
created_at?: string;
|
|
9873
|
+
lock_key: string;
|
|
9874
|
+
locked_until: string;
|
|
9875
|
+
owner?: string | null;
|
|
9876
|
+
updated_at?: string;
|
|
9877
|
+
};
|
|
9878
|
+
Update: {
|
|
9879
|
+
created_at?: string;
|
|
9880
|
+
lock_key?: string;
|
|
9881
|
+
locked_until?: string;
|
|
9882
|
+
owner?: string | null;
|
|
9883
|
+
updated_at?: string;
|
|
9884
|
+
};
|
|
9885
|
+
Relationships: [];
|
|
9886
|
+
};
|
|
9316
9887
|
layout_logos: {
|
|
9317
9888
|
Row: {
|
|
9318
9889
|
bestand_url: string;
|
|
@@ -10308,6 +10879,36 @@ export type Database = {
|
|
|
10308
10879
|
};
|
|
10309
10880
|
Relationships: [];
|
|
10310
10881
|
};
|
|
10882
|
+
logistics_floriday_push_refusals: {
|
|
10883
|
+
Row: {
|
|
10884
|
+
action: string | null;
|
|
10885
|
+
created_at: string;
|
|
10886
|
+
id: string;
|
|
10887
|
+
order_ref: string;
|
|
10888
|
+
reason: string;
|
|
10889
|
+
source_module: string | null;
|
|
10890
|
+
source_shell: string | null;
|
|
10891
|
+
};
|
|
10892
|
+
Insert: {
|
|
10893
|
+
action?: string | null;
|
|
10894
|
+
created_at?: string;
|
|
10895
|
+
id?: string;
|
|
10896
|
+
order_ref: string;
|
|
10897
|
+
reason: string;
|
|
10898
|
+
source_module?: string | null;
|
|
10899
|
+
source_shell?: string | null;
|
|
10900
|
+
};
|
|
10901
|
+
Update: {
|
|
10902
|
+
action?: string | null;
|
|
10903
|
+
created_at?: string;
|
|
10904
|
+
id?: string;
|
|
10905
|
+
order_ref?: string;
|
|
10906
|
+
reason?: string;
|
|
10907
|
+
source_module?: string | null;
|
|
10908
|
+
source_shell?: string | null;
|
|
10909
|
+
};
|
|
10910
|
+
Relationships: [];
|
|
10911
|
+
};
|
|
10311
10912
|
logistics_floriday_pushes: {
|
|
10312
10913
|
Row: {
|
|
10313
10914
|
attempts: number;
|
|
@@ -10383,6 +10984,42 @@ export type Database = {
|
|
|
10383
10984
|
};
|
|
10384
10985
|
Relationships: [];
|
|
10385
10986
|
};
|
|
10987
|
+
logistics_floriday_status_sends: {
|
|
10988
|
+
Row: {
|
|
10989
|
+
action: string;
|
|
10990
|
+
created_at: string;
|
|
10991
|
+
detail: string | null;
|
|
10992
|
+
http_status: number | null;
|
|
10993
|
+
id: string;
|
|
10994
|
+
ok: boolean;
|
|
10995
|
+
order_ref: string;
|
|
10996
|
+
source_module: string | null;
|
|
10997
|
+
source_shell: string | null;
|
|
10998
|
+
};
|
|
10999
|
+
Insert: {
|
|
11000
|
+
action: string;
|
|
11001
|
+
created_at?: string;
|
|
11002
|
+
detail?: string | null;
|
|
11003
|
+
http_status?: number | null;
|
|
11004
|
+
id?: string;
|
|
11005
|
+
ok?: boolean;
|
|
11006
|
+
order_ref: string;
|
|
11007
|
+
source_module?: string | null;
|
|
11008
|
+
source_shell?: string | null;
|
|
11009
|
+
};
|
|
11010
|
+
Update: {
|
|
11011
|
+
action?: string;
|
|
11012
|
+
created_at?: string;
|
|
11013
|
+
detail?: string | null;
|
|
11014
|
+
http_status?: number | null;
|
|
11015
|
+
id?: string;
|
|
11016
|
+
ok?: boolean;
|
|
11017
|
+
order_ref?: string;
|
|
11018
|
+
source_module?: string | null;
|
|
11019
|
+
source_shell?: string | null;
|
|
11020
|
+
};
|
|
11021
|
+
Relationships: [];
|
|
11022
|
+
};
|
|
10386
11023
|
logistics_formulas: {
|
|
10387
11024
|
Row: {
|
|
10388
11025
|
created_at: string;
|
|
@@ -10457,52 +11094,215 @@ export type Database = {
|
|
|
10457
11094
|
};
|
|
10458
11095
|
Relationships: [];
|
|
10459
11096
|
};
|
|
10460
|
-
|
|
11097
|
+
logistics_opening_exceptions: {
|
|
10461
11098
|
Row: {
|
|
10462
|
-
|
|
11099
|
+
closes: string | null;
|
|
10463
11100
|
created_at: string;
|
|
11101
|
+
day: string;
|
|
10464
11102
|
id: string;
|
|
10465
|
-
|
|
10466
|
-
|
|
10467
|
-
|
|
10468
|
-
sequence: number;
|
|
10469
|
-
updated_at: string;
|
|
10470
|
-
user_id: string;
|
|
11103
|
+
is_closed: boolean;
|
|
11104
|
+
note: string | null;
|
|
11105
|
+
opens: string | null;
|
|
10471
11106
|
};
|
|
10472
11107
|
Insert: {
|
|
10473
|
-
|
|
11108
|
+
closes?: string | null;
|
|
10474
11109
|
created_at?: string;
|
|
11110
|
+
day: string;
|
|
10475
11111
|
id?: string;
|
|
10476
|
-
|
|
10477
|
-
|
|
10478
|
-
|
|
10479
|
-
sequence?: number;
|
|
10480
|
-
updated_at?: string;
|
|
10481
|
-
user_id?: string;
|
|
11112
|
+
is_closed?: boolean;
|
|
11113
|
+
note?: string | null;
|
|
11114
|
+
opens?: string | null;
|
|
10482
11115
|
};
|
|
10483
11116
|
Update: {
|
|
10484
|
-
|
|
11117
|
+
closes?: string | null;
|
|
10485
11118
|
created_at?: string;
|
|
11119
|
+
day?: string;
|
|
10486
11120
|
id?: string;
|
|
10487
|
-
|
|
10488
|
-
|
|
10489
|
-
|
|
10490
|
-
sequence?: number;
|
|
10491
|
-
updated_at?: string;
|
|
10492
|
-
user_id?: string;
|
|
11121
|
+
is_closed?: boolean;
|
|
11122
|
+
note?: string | null;
|
|
11123
|
+
opens?: string | null;
|
|
10493
11124
|
};
|
|
10494
11125
|
Relationships: [];
|
|
10495
11126
|
};
|
|
10496
|
-
|
|
11127
|
+
logistics_opening_hours: {
|
|
10497
11128
|
Row: {
|
|
10498
|
-
|
|
10499
|
-
|
|
10500
|
-
enqueued_at: string;
|
|
10501
|
-
error: string | null;
|
|
11129
|
+
closes: string;
|
|
11130
|
+
created_at: string;
|
|
10502
11131
|
id: string;
|
|
10503
|
-
|
|
11132
|
+
is_active: boolean;
|
|
11133
|
+
note: string | null;
|
|
11134
|
+
opens: string;
|
|
11135
|
+
weekday: number;
|
|
11136
|
+
};
|
|
11137
|
+
Insert: {
|
|
11138
|
+
closes: string;
|
|
11139
|
+
created_at?: string;
|
|
11140
|
+
id?: string;
|
|
11141
|
+
is_active?: boolean;
|
|
11142
|
+
note?: string | null;
|
|
11143
|
+
opens: string;
|
|
11144
|
+
weekday: number;
|
|
11145
|
+
};
|
|
11146
|
+
Update: {
|
|
11147
|
+
closes?: string;
|
|
11148
|
+
created_at?: string;
|
|
11149
|
+
id?: string;
|
|
11150
|
+
is_active?: boolean;
|
|
11151
|
+
note?: string | null;
|
|
11152
|
+
opens?: string;
|
|
11153
|
+
weekday?: number;
|
|
11154
|
+
};
|
|
11155
|
+
Relationships: [];
|
|
11156
|
+
};
|
|
11157
|
+
logistics_order_merges: {
|
|
11158
|
+
Row: {
|
|
11159
|
+
group_key: string;
|
|
11160
|
+
id: string;
|
|
11161
|
+
items_moved: number;
|
|
11162
|
+
kept_order_id: string;
|
|
11163
|
+
kept_order_number: string | null;
|
|
11164
|
+
merged_at: string;
|
|
11165
|
+
merged_order_id: string;
|
|
11166
|
+
merged_order_number: string | null;
|
|
11167
|
+
sales_order_id: string | null;
|
|
11168
|
+
};
|
|
11169
|
+
Insert: {
|
|
11170
|
+
group_key: string;
|
|
11171
|
+
id?: string;
|
|
11172
|
+
items_moved?: number;
|
|
11173
|
+
kept_order_id: string;
|
|
11174
|
+
kept_order_number?: string | null;
|
|
11175
|
+
merged_at?: string;
|
|
11176
|
+
merged_order_id: string;
|
|
11177
|
+
merged_order_number?: string | null;
|
|
11178
|
+
sales_order_id?: string | null;
|
|
11179
|
+
};
|
|
11180
|
+
Update: {
|
|
11181
|
+
group_key?: string;
|
|
11182
|
+
id?: string;
|
|
11183
|
+
items_moved?: number;
|
|
11184
|
+
kept_order_id?: string;
|
|
11185
|
+
kept_order_number?: string | null;
|
|
11186
|
+
merged_at?: string;
|
|
11187
|
+
merged_order_id?: string;
|
|
11188
|
+
merged_order_number?: string | null;
|
|
11189
|
+
sales_order_id?: string | null;
|
|
11190
|
+
};
|
|
11191
|
+
Relationships: [];
|
|
11192
|
+
};
|
|
11193
|
+
logistics_pick_data_requests: {
|
|
11194
|
+
Row: {
|
|
11195
|
+
actions: Json;
|
|
11196
|
+
created_at: string;
|
|
11197
|
+
event_id: string | null;
|
|
11198
|
+
finished_at: string | null;
|
|
11199
|
+
id: string;
|
|
11200
|
+
missing: Json;
|
|
11201
|
+
order_ref: string;
|
|
11202
|
+
reason: string | null;
|
|
11203
|
+
result: Json | null;
|
|
11204
|
+
status: string;
|
|
11205
|
+
unit_ref: string | null;
|
|
11206
|
+
};
|
|
11207
|
+
Insert: {
|
|
11208
|
+
actions?: Json;
|
|
11209
|
+
created_at?: string;
|
|
11210
|
+
event_id?: string | null;
|
|
11211
|
+
finished_at?: string | null;
|
|
11212
|
+
id?: string;
|
|
11213
|
+
missing?: Json;
|
|
11214
|
+
order_ref: string;
|
|
11215
|
+
reason?: string | null;
|
|
11216
|
+
result?: Json | null;
|
|
11217
|
+
status?: string;
|
|
11218
|
+
unit_ref?: string | null;
|
|
11219
|
+
};
|
|
11220
|
+
Update: {
|
|
11221
|
+
actions?: Json;
|
|
11222
|
+
created_at?: string;
|
|
11223
|
+
event_id?: string | null;
|
|
11224
|
+
finished_at?: string | null;
|
|
11225
|
+
id?: string;
|
|
11226
|
+
missing?: Json;
|
|
11227
|
+
order_ref?: string;
|
|
11228
|
+
reason?: string | null;
|
|
11229
|
+
result?: Json | null;
|
|
11230
|
+
status?: string;
|
|
11231
|
+
unit_ref?: string | null;
|
|
11232
|
+
};
|
|
11233
|
+
Relationships: [];
|
|
11234
|
+
};
|
|
11235
|
+
logistics_pickup_moments: {
|
|
11236
|
+
Row: {
|
|
11237
|
+
carrier_ref: string | null;
|
|
11238
|
+
created_at: string;
|
|
11239
|
+
id: string;
|
|
11240
|
+
label: string | null;
|
|
11241
|
+
moment_date: string;
|
|
11242
|
+
pickup_time: string;
|
|
11243
|
+
sequence: number;
|
|
11244
|
+
updated_at: string;
|
|
11245
|
+
user_id: string;
|
|
11246
|
+
};
|
|
11247
|
+
Insert: {
|
|
11248
|
+
carrier_ref?: string | null;
|
|
11249
|
+
created_at?: string;
|
|
11250
|
+
id?: string;
|
|
11251
|
+
label?: string | null;
|
|
11252
|
+
moment_date: string;
|
|
11253
|
+
pickup_time: string;
|
|
11254
|
+
sequence?: number;
|
|
11255
|
+
updated_at?: string;
|
|
11256
|
+
user_id?: string;
|
|
11257
|
+
};
|
|
11258
|
+
Update: {
|
|
11259
|
+
carrier_ref?: string | null;
|
|
11260
|
+
created_at?: string;
|
|
11261
|
+
id?: string;
|
|
11262
|
+
label?: string | null;
|
|
11263
|
+
moment_date?: string;
|
|
11264
|
+
pickup_time?: string;
|
|
11265
|
+
sequence?: number;
|
|
11266
|
+
updated_at?: string;
|
|
11267
|
+
user_id?: string;
|
|
11268
|
+
};
|
|
11269
|
+
Relationships: [];
|
|
11270
|
+
};
|
|
11271
|
+
logistics_plan_locks: {
|
|
11272
|
+
Row: {
|
|
11273
|
+
created_at: string;
|
|
11274
|
+
lock_key: string;
|
|
11275
|
+
locked_until: string;
|
|
11276
|
+
owner: string | null;
|
|
11277
|
+
updated_at: string;
|
|
11278
|
+
};
|
|
11279
|
+
Insert: {
|
|
11280
|
+
created_at?: string;
|
|
11281
|
+
lock_key: string;
|
|
11282
|
+
locked_until: string;
|
|
11283
|
+
owner?: string | null;
|
|
11284
|
+
updated_at?: string;
|
|
11285
|
+
};
|
|
11286
|
+
Update: {
|
|
11287
|
+
created_at?: string;
|
|
11288
|
+
lock_key?: string;
|
|
11289
|
+
locked_until?: string;
|
|
11290
|
+
owner?: string | null;
|
|
11291
|
+
updated_at?: string;
|
|
11292
|
+
};
|
|
11293
|
+
Relationships: [];
|
|
11294
|
+
};
|
|
11295
|
+
logistics_plan_queue: {
|
|
11296
|
+
Row: {
|
|
11297
|
+
attempts: number;
|
|
11298
|
+
claimed_at: string | null;
|
|
11299
|
+
enqueued_at: string;
|
|
11300
|
+
error: string | null;
|
|
11301
|
+
id: string;
|
|
11302
|
+
next_attempt_at: string;
|
|
10504
11303
|
order_id: string;
|
|
10505
11304
|
reason: string;
|
|
11305
|
+
reason_code: string | null;
|
|
10506
11306
|
status: string;
|
|
10507
11307
|
updated_at: string;
|
|
10508
11308
|
};
|
|
@@ -10515,6 +11315,7 @@ export type Database = {
|
|
|
10515
11315
|
next_attempt_at?: string;
|
|
10516
11316
|
order_id: string;
|
|
10517
11317
|
reason?: string;
|
|
11318
|
+
reason_code?: string | null;
|
|
10518
11319
|
status?: string;
|
|
10519
11320
|
updated_at?: string;
|
|
10520
11321
|
};
|
|
@@ -10527,6 +11328,7 @@ export type Database = {
|
|
|
10527
11328
|
next_attempt_at?: string;
|
|
10528
11329
|
order_id?: string;
|
|
10529
11330
|
reason?: string;
|
|
11331
|
+
reason_code?: string | null;
|
|
10530
11332
|
status?: string;
|
|
10531
11333
|
updated_at?: string;
|
|
10532
11334
|
};
|
|
@@ -10920,6 +11722,69 @@ export type Database = {
|
|
|
10920
11722
|
};
|
|
10921
11723
|
Relationships: [];
|
|
10922
11724
|
};
|
|
11725
|
+
logistics_slip_shipping_note: {
|
|
11726
|
+
Row: {
|
|
11727
|
+
attempts: number;
|
|
11728
|
+
batch_key: string | null;
|
|
11729
|
+
cart_id: string | null;
|
|
11730
|
+
created_at: string;
|
|
11731
|
+
error: string | null;
|
|
11732
|
+
error_code: string | null;
|
|
11733
|
+
fulfillment_order_id: string | null;
|
|
11734
|
+
id: string;
|
|
11735
|
+
locked_until: string | null;
|
|
11736
|
+
next_attempt_at: string | null;
|
|
11737
|
+
order_id: string | null;
|
|
11738
|
+
order_number: string | null;
|
|
11739
|
+
print_job_id: string | null;
|
|
11740
|
+
printer_id: string | null;
|
|
11741
|
+
retry_class: string | null;
|
|
11742
|
+
slip_job_id: string;
|
|
11743
|
+
status: string;
|
|
11744
|
+
updated_at: string;
|
|
11745
|
+
};
|
|
11746
|
+
Insert: {
|
|
11747
|
+
attempts?: number;
|
|
11748
|
+
batch_key?: string | null;
|
|
11749
|
+
cart_id?: string | null;
|
|
11750
|
+
created_at?: string;
|
|
11751
|
+
error?: string | null;
|
|
11752
|
+
error_code?: string | null;
|
|
11753
|
+
fulfillment_order_id?: string | null;
|
|
11754
|
+
id?: string;
|
|
11755
|
+
locked_until?: string | null;
|
|
11756
|
+
next_attempt_at?: string | null;
|
|
11757
|
+
order_id?: string | null;
|
|
11758
|
+
order_number?: string | null;
|
|
11759
|
+
print_job_id?: string | null;
|
|
11760
|
+
printer_id?: string | null;
|
|
11761
|
+
retry_class?: string | null;
|
|
11762
|
+
slip_job_id: string;
|
|
11763
|
+
status?: string;
|
|
11764
|
+
updated_at?: string;
|
|
11765
|
+
};
|
|
11766
|
+
Update: {
|
|
11767
|
+
attempts?: number;
|
|
11768
|
+
batch_key?: string | null;
|
|
11769
|
+
cart_id?: string | null;
|
|
11770
|
+
created_at?: string;
|
|
11771
|
+
error?: string | null;
|
|
11772
|
+
error_code?: string | null;
|
|
11773
|
+
fulfillment_order_id?: string | null;
|
|
11774
|
+
id?: string;
|
|
11775
|
+
locked_until?: string | null;
|
|
11776
|
+
next_attempt_at?: string | null;
|
|
11777
|
+
order_id?: string | null;
|
|
11778
|
+
order_number?: string | null;
|
|
11779
|
+
print_job_id?: string | null;
|
|
11780
|
+
printer_id?: string | null;
|
|
11781
|
+
retry_class?: string | null;
|
|
11782
|
+
slip_job_id?: string;
|
|
11783
|
+
status?: string;
|
|
11784
|
+
updated_at?: string;
|
|
11785
|
+
};
|
|
11786
|
+
Relationships: [];
|
|
11787
|
+
};
|
|
10923
11788
|
logistics_staff_planning: {
|
|
10924
11789
|
Row: {
|
|
10925
11790
|
created_at: string;
|
|
@@ -11244,92 +12109,365 @@ export type Database = {
|
|
|
11244
12109
|
}
|
|
11245
12110
|
];
|
|
11246
12111
|
};
|
|
11247
|
-
|
|
12112
|
+
logistics_tick_heartbeat: {
|
|
11248
12113
|
Row: {
|
|
11249
|
-
|
|
11250
|
-
|
|
11251
|
-
description: string | null;
|
|
11252
|
-
id: string;
|
|
11253
|
-
is_builtin: boolean;
|
|
11254
|
-
key: string;
|
|
11255
|
-
label: string;
|
|
11256
|
-
updated_at: string;
|
|
11257
|
-
user_id: string;
|
|
11258
|
-
value_type: string;
|
|
12114
|
+
id: boolean;
|
|
12115
|
+
last_tick_at: string;
|
|
11259
12116
|
};
|
|
11260
12117
|
Insert: {
|
|
11261
|
-
|
|
11262
|
-
|
|
11263
|
-
description?: string | null;
|
|
11264
|
-
id?: string;
|
|
11265
|
-
is_builtin?: boolean;
|
|
11266
|
-
key: string;
|
|
11267
|
-
label: string;
|
|
11268
|
-
updated_at?: string;
|
|
11269
|
-
user_id: string;
|
|
11270
|
-
value_type: string;
|
|
12118
|
+
id?: boolean;
|
|
12119
|
+
last_tick_at?: string;
|
|
11271
12120
|
};
|
|
11272
12121
|
Update: {
|
|
11273
|
-
|
|
11274
|
-
|
|
11275
|
-
description?: string | null;
|
|
11276
|
-
id?: string;
|
|
11277
|
-
is_builtin?: boolean;
|
|
11278
|
-
key?: string;
|
|
11279
|
-
label?: string;
|
|
11280
|
-
updated_at?: string;
|
|
11281
|
-
user_id?: string;
|
|
11282
|
-
value_type?: string;
|
|
12122
|
+
id?: boolean;
|
|
12123
|
+
last_tick_at?: string;
|
|
11283
12124
|
};
|
|
11284
12125
|
Relationships: [];
|
|
11285
12126
|
};
|
|
11286
|
-
|
|
12127
|
+
logistics_time_settings: {
|
|
11287
12128
|
Row: {
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
id: string;
|
|
11291
|
-
system_prompt: string;
|
|
12129
|
+
id: boolean;
|
|
12130
|
+
timezone: string;
|
|
11292
12131
|
updated_at: string;
|
|
11293
12132
|
};
|
|
11294
12133
|
Insert: {
|
|
11295
|
-
|
|
11296
|
-
|
|
11297
|
-
id?: string;
|
|
11298
|
-
system_prompt?: string;
|
|
12134
|
+
id?: boolean;
|
|
12135
|
+
timezone: string;
|
|
11299
12136
|
updated_at?: string;
|
|
11300
12137
|
};
|
|
11301
12138
|
Update: {
|
|
11302
|
-
|
|
11303
|
-
|
|
11304
|
-
id?: string;
|
|
11305
|
-
system_prompt?: string;
|
|
12139
|
+
id?: boolean;
|
|
12140
|
+
timezone?: string;
|
|
11306
12141
|
updated_at?: string;
|
|
11307
12142
|
};
|
|
11308
12143
|
Relationships: [];
|
|
11309
12144
|
};
|
|
11310
|
-
|
|
12145
|
+
logistics_trace_events: {
|
|
11311
12146
|
Row: {
|
|
11312
|
-
|
|
11313
|
-
|
|
11314
|
-
|
|
11315
|
-
|
|
11316
|
-
|
|
11317
|
-
|
|
11318
|
-
|
|
11319
|
-
|
|
12147
|
+
actor: string | null;
|
|
12148
|
+
attempts: number;
|
|
12149
|
+
calc: Json | null;
|
|
12150
|
+
cart_ref: string | null;
|
|
12151
|
+
created_at: string;
|
|
12152
|
+
db_action: string | null;
|
|
12153
|
+
db_new: Json | null;
|
|
12154
|
+
db_old: Json | null;
|
|
12155
|
+
db_record: string | null;
|
|
12156
|
+
db_table: string | null;
|
|
12157
|
+
decision: string | null;
|
|
12158
|
+
duration_ms: number | null;
|
|
12159
|
+
error: string | null;
|
|
12160
|
+
error_class: string | null;
|
|
12161
|
+
external_action: string | null;
|
|
12162
|
+
external_ref: string | null;
|
|
12163
|
+
external_response: Json | null;
|
|
12164
|
+
external_status: string | null;
|
|
12165
|
+
external_system: string | null;
|
|
12166
|
+
id: string;
|
|
12167
|
+
input: Json | null;
|
|
12168
|
+
next_attempt_at: string | null;
|
|
12169
|
+
next_step: string | null;
|
|
12170
|
+
node_id: string | null;
|
|
12171
|
+
order_ref: string | null;
|
|
12172
|
+
order_source: string | null;
|
|
12173
|
+
output: Json | null;
|
|
12174
|
+
phase: string;
|
|
12175
|
+
reads: Json | null;
|
|
12176
|
+
reason: string | null;
|
|
12177
|
+
rule: string | null;
|
|
12178
|
+
slip_ref: string | null;
|
|
12179
|
+
status: string;
|
|
12180
|
+
step: string;
|
|
12181
|
+
trace_id: string;
|
|
12182
|
+
values_used: Json | null;
|
|
11320
12183
|
};
|
|
11321
12184
|
Insert: {
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
|
-
|
|
11325
|
-
|
|
11326
|
-
|
|
11327
|
-
|
|
11328
|
-
|
|
11329
|
-
|
|
11330
|
-
|
|
11331
|
-
|
|
11332
|
-
|
|
12185
|
+
actor?: string | null;
|
|
12186
|
+
attempts?: number;
|
|
12187
|
+
calc?: Json | null;
|
|
12188
|
+
cart_ref?: string | null;
|
|
12189
|
+
created_at?: string;
|
|
12190
|
+
db_action?: string | null;
|
|
12191
|
+
db_new?: Json | null;
|
|
12192
|
+
db_old?: Json | null;
|
|
12193
|
+
db_record?: string | null;
|
|
12194
|
+
db_table?: string | null;
|
|
12195
|
+
decision?: string | null;
|
|
12196
|
+
duration_ms?: number | null;
|
|
12197
|
+
error?: string | null;
|
|
12198
|
+
error_class?: string | null;
|
|
12199
|
+
external_action?: string | null;
|
|
12200
|
+
external_ref?: string | null;
|
|
12201
|
+
external_response?: Json | null;
|
|
12202
|
+
external_status?: string | null;
|
|
12203
|
+
external_system?: string | null;
|
|
12204
|
+
id?: string;
|
|
12205
|
+
input?: Json | null;
|
|
12206
|
+
next_attempt_at?: string | null;
|
|
12207
|
+
next_step?: string | null;
|
|
12208
|
+
node_id?: string | null;
|
|
12209
|
+
order_ref?: string | null;
|
|
12210
|
+
order_source?: string | null;
|
|
12211
|
+
output?: Json | null;
|
|
12212
|
+
phase: string;
|
|
12213
|
+
reads?: Json | null;
|
|
12214
|
+
reason?: string | null;
|
|
12215
|
+
rule?: string | null;
|
|
12216
|
+
slip_ref?: string | null;
|
|
12217
|
+
status: string;
|
|
12218
|
+
step: string;
|
|
12219
|
+
trace_id?: string;
|
|
12220
|
+
values_used?: Json | null;
|
|
12221
|
+
};
|
|
12222
|
+
Update: {
|
|
12223
|
+
actor?: string | null;
|
|
12224
|
+
attempts?: number;
|
|
12225
|
+
calc?: Json | null;
|
|
12226
|
+
cart_ref?: string | null;
|
|
12227
|
+
created_at?: string;
|
|
12228
|
+
db_action?: string | null;
|
|
12229
|
+
db_new?: Json | null;
|
|
12230
|
+
db_old?: Json | null;
|
|
12231
|
+
db_record?: string | null;
|
|
12232
|
+
db_table?: string | null;
|
|
12233
|
+
decision?: string | null;
|
|
12234
|
+
duration_ms?: number | null;
|
|
12235
|
+
error?: string | null;
|
|
12236
|
+
error_class?: string | null;
|
|
12237
|
+
external_action?: string | null;
|
|
12238
|
+
external_ref?: string | null;
|
|
12239
|
+
external_response?: Json | null;
|
|
12240
|
+
external_status?: string | null;
|
|
12241
|
+
external_system?: string | null;
|
|
12242
|
+
id?: string;
|
|
12243
|
+
input?: Json | null;
|
|
12244
|
+
next_attempt_at?: string | null;
|
|
12245
|
+
next_step?: string | null;
|
|
12246
|
+
node_id?: string | null;
|
|
12247
|
+
order_ref?: string | null;
|
|
12248
|
+
order_source?: string | null;
|
|
12249
|
+
output?: Json | null;
|
|
12250
|
+
phase?: string;
|
|
12251
|
+
reads?: Json | null;
|
|
12252
|
+
reason?: string | null;
|
|
12253
|
+
rule?: string | null;
|
|
12254
|
+
slip_ref?: string | null;
|
|
12255
|
+
status?: string;
|
|
12256
|
+
step?: string;
|
|
12257
|
+
trace_id?: string;
|
|
12258
|
+
values_used?: Json | null;
|
|
12259
|
+
};
|
|
12260
|
+
Relationships: [];
|
|
12261
|
+
};
|
|
12262
|
+
logistics_trace_events_archive: {
|
|
12263
|
+
Row: {
|
|
12264
|
+
actor: string | null;
|
|
12265
|
+
attempts: number;
|
|
12266
|
+
calc: Json | null;
|
|
12267
|
+
cart_ref: string | null;
|
|
12268
|
+
created_at: string;
|
|
12269
|
+
db_action: string | null;
|
|
12270
|
+
db_new: Json | null;
|
|
12271
|
+
db_old: Json | null;
|
|
12272
|
+
db_record: string | null;
|
|
12273
|
+
db_table: string | null;
|
|
12274
|
+
decision: string | null;
|
|
12275
|
+
duration_ms: number | null;
|
|
12276
|
+
error: string | null;
|
|
12277
|
+
error_class: string | null;
|
|
12278
|
+
external_action: string | null;
|
|
12279
|
+
external_ref: string | null;
|
|
12280
|
+
external_response: Json | null;
|
|
12281
|
+
external_status: string | null;
|
|
12282
|
+
external_system: string | null;
|
|
12283
|
+
id: string;
|
|
12284
|
+
input: Json | null;
|
|
12285
|
+
next_attempt_at: string | null;
|
|
12286
|
+
next_step: string | null;
|
|
12287
|
+
node_id: string | null;
|
|
12288
|
+
order_ref: string | null;
|
|
12289
|
+
order_source: string | null;
|
|
12290
|
+
output: Json | null;
|
|
12291
|
+
phase: string;
|
|
12292
|
+
reads: Json | null;
|
|
12293
|
+
reason: string | null;
|
|
12294
|
+
rule: string | null;
|
|
12295
|
+
slip_ref: string | null;
|
|
12296
|
+
status: string;
|
|
12297
|
+
step: string;
|
|
12298
|
+
superseded_at: string;
|
|
12299
|
+
superseded_reason: string | null;
|
|
12300
|
+
trace_id: string;
|
|
12301
|
+
values_used: Json | null;
|
|
12302
|
+
};
|
|
12303
|
+
Insert: {
|
|
12304
|
+
actor?: string | null;
|
|
12305
|
+
attempts?: number;
|
|
12306
|
+
calc?: Json | null;
|
|
12307
|
+
cart_ref?: string | null;
|
|
12308
|
+
created_at?: string;
|
|
12309
|
+
db_action?: string | null;
|
|
12310
|
+
db_new?: Json | null;
|
|
12311
|
+
db_old?: Json | null;
|
|
12312
|
+
db_record?: string | null;
|
|
12313
|
+
db_table?: string | null;
|
|
12314
|
+
decision?: string | null;
|
|
12315
|
+
duration_ms?: number | null;
|
|
12316
|
+
error?: string | null;
|
|
12317
|
+
error_class?: string | null;
|
|
12318
|
+
external_action?: string | null;
|
|
12319
|
+
external_ref?: string | null;
|
|
12320
|
+
external_response?: Json | null;
|
|
12321
|
+
external_status?: string | null;
|
|
12322
|
+
external_system?: string | null;
|
|
12323
|
+
id?: string;
|
|
12324
|
+
input?: Json | null;
|
|
12325
|
+
next_attempt_at?: string | null;
|
|
12326
|
+
next_step?: string | null;
|
|
12327
|
+
node_id?: string | null;
|
|
12328
|
+
order_ref?: string | null;
|
|
12329
|
+
order_source?: string | null;
|
|
12330
|
+
output?: Json | null;
|
|
12331
|
+
phase: string;
|
|
12332
|
+
reads?: Json | null;
|
|
12333
|
+
reason?: string | null;
|
|
12334
|
+
rule?: string | null;
|
|
12335
|
+
slip_ref?: string | null;
|
|
12336
|
+
status: string;
|
|
12337
|
+
step: string;
|
|
12338
|
+
superseded_at?: string;
|
|
12339
|
+
superseded_reason?: string | null;
|
|
12340
|
+
trace_id?: string;
|
|
12341
|
+
values_used?: Json | null;
|
|
12342
|
+
};
|
|
12343
|
+
Update: {
|
|
12344
|
+
actor?: string | null;
|
|
12345
|
+
attempts?: number;
|
|
12346
|
+
calc?: Json | null;
|
|
12347
|
+
cart_ref?: string | null;
|
|
12348
|
+
created_at?: string;
|
|
12349
|
+
db_action?: string | null;
|
|
12350
|
+
db_new?: Json | null;
|
|
12351
|
+
db_old?: Json | null;
|
|
12352
|
+
db_record?: string | null;
|
|
12353
|
+
db_table?: string | null;
|
|
12354
|
+
decision?: string | null;
|
|
12355
|
+
duration_ms?: number | null;
|
|
12356
|
+
error?: string | null;
|
|
12357
|
+
error_class?: string | null;
|
|
12358
|
+
external_action?: string | null;
|
|
12359
|
+
external_ref?: string | null;
|
|
12360
|
+
external_response?: Json | null;
|
|
12361
|
+
external_status?: string | null;
|
|
12362
|
+
external_system?: string | null;
|
|
12363
|
+
id?: string;
|
|
12364
|
+
input?: Json | null;
|
|
12365
|
+
next_attempt_at?: string | null;
|
|
12366
|
+
next_step?: string | null;
|
|
12367
|
+
node_id?: string | null;
|
|
12368
|
+
order_ref?: string | null;
|
|
12369
|
+
order_source?: string | null;
|
|
12370
|
+
output?: Json | null;
|
|
12371
|
+
phase?: string;
|
|
12372
|
+
reads?: Json | null;
|
|
12373
|
+
reason?: string | null;
|
|
12374
|
+
rule?: string | null;
|
|
12375
|
+
slip_ref?: string | null;
|
|
12376
|
+
status?: string;
|
|
12377
|
+
step?: string;
|
|
12378
|
+
superseded_at?: string;
|
|
12379
|
+
superseded_reason?: string | null;
|
|
12380
|
+
trace_id?: string;
|
|
12381
|
+
values_used?: Json | null;
|
|
12382
|
+
};
|
|
12383
|
+
Relationships: [];
|
|
12384
|
+
};
|
|
12385
|
+
logistics_variables: {
|
|
12386
|
+
Row: {
|
|
12387
|
+
created_at: string;
|
|
12388
|
+
default_value: string | null;
|
|
12389
|
+
description: string | null;
|
|
12390
|
+
id: string;
|
|
12391
|
+
is_builtin: boolean;
|
|
12392
|
+
key: string;
|
|
12393
|
+
label: string;
|
|
12394
|
+
updated_at: string;
|
|
12395
|
+
user_id: string;
|
|
12396
|
+
value_type: string;
|
|
12397
|
+
};
|
|
12398
|
+
Insert: {
|
|
12399
|
+
created_at?: string;
|
|
12400
|
+
default_value?: string | null;
|
|
12401
|
+
description?: string | null;
|
|
12402
|
+
id?: string;
|
|
12403
|
+
is_builtin?: boolean;
|
|
12404
|
+
key: string;
|
|
12405
|
+
label: string;
|
|
12406
|
+
updated_at?: string;
|
|
12407
|
+
user_id: string;
|
|
12408
|
+
value_type: string;
|
|
12409
|
+
};
|
|
12410
|
+
Update: {
|
|
12411
|
+
created_at?: string;
|
|
12412
|
+
default_value?: string | null;
|
|
12413
|
+
description?: string | null;
|
|
12414
|
+
id?: string;
|
|
12415
|
+
is_builtin?: boolean;
|
|
12416
|
+
key?: string;
|
|
12417
|
+
label?: string;
|
|
12418
|
+
updated_at?: string;
|
|
12419
|
+
user_id?: string;
|
|
12420
|
+
value_type?: string;
|
|
12421
|
+
};
|
|
12422
|
+
Relationships: [];
|
|
12423
|
+
};
|
|
12424
|
+
mailbox_ai_goal_prompts: {
|
|
12425
|
+
Row: {
|
|
12426
|
+
created_at: string;
|
|
12427
|
+
goal_key: string;
|
|
12428
|
+
id: string;
|
|
12429
|
+
system_prompt: string;
|
|
12430
|
+
updated_at: string;
|
|
12431
|
+
};
|
|
12432
|
+
Insert: {
|
|
12433
|
+
created_at?: string;
|
|
12434
|
+
goal_key: string;
|
|
12435
|
+
id?: string;
|
|
12436
|
+
system_prompt?: string;
|
|
12437
|
+
updated_at?: string;
|
|
12438
|
+
};
|
|
12439
|
+
Update: {
|
|
12440
|
+
created_at?: string;
|
|
12441
|
+
goal_key?: string;
|
|
12442
|
+
id?: string;
|
|
12443
|
+
system_prompt?: string;
|
|
12444
|
+
updated_at?: string;
|
|
12445
|
+
};
|
|
12446
|
+
Relationships: [];
|
|
12447
|
+
};
|
|
12448
|
+
mailbox_ai_settings: {
|
|
12449
|
+
Row: {
|
|
12450
|
+
active_goal_key: string | null;
|
|
12451
|
+
created_at: string;
|
|
12452
|
+
enabled: boolean;
|
|
12453
|
+
id: string;
|
|
12454
|
+
required_fields: string[];
|
|
12455
|
+
singleton: boolean;
|
|
12456
|
+
system_prompt: string | null;
|
|
12457
|
+
updated_at: string;
|
|
12458
|
+
};
|
|
12459
|
+
Insert: {
|
|
12460
|
+
active_goal_key?: string | null;
|
|
12461
|
+
created_at?: string;
|
|
12462
|
+
enabled?: boolean;
|
|
12463
|
+
id?: string;
|
|
12464
|
+
required_fields?: string[];
|
|
12465
|
+
singleton?: boolean;
|
|
12466
|
+
system_prompt?: string | null;
|
|
12467
|
+
updated_at?: string;
|
|
12468
|
+
};
|
|
12469
|
+
Update: {
|
|
12470
|
+
active_goal_key?: string | null;
|
|
11333
12471
|
created_at?: string;
|
|
11334
12472
|
enabled?: boolean;
|
|
11335
12473
|
id?: string;
|
|
@@ -11391,6 +12529,7 @@ export type Database = {
|
|
|
11391
12529
|
has_attachments: boolean;
|
|
11392
12530
|
id: string;
|
|
11393
12531
|
message_id: string | null;
|
|
12532
|
+
preview: string | null;
|
|
11394
12533
|
profile_id: string | null;
|
|
11395
12534
|
raw_size: number | null;
|
|
11396
12535
|
received_at: string | null;
|
|
@@ -11414,6 +12553,7 @@ export type Database = {
|
|
|
11414
12553
|
has_attachments?: boolean;
|
|
11415
12554
|
id?: string;
|
|
11416
12555
|
message_id?: string | null;
|
|
12556
|
+
preview?: string | null;
|
|
11417
12557
|
profile_id?: string | null;
|
|
11418
12558
|
raw_size?: number | null;
|
|
11419
12559
|
received_at?: string | null;
|
|
@@ -11437,6 +12577,7 @@ export type Database = {
|
|
|
11437
12577
|
has_attachments?: boolean;
|
|
11438
12578
|
id?: string;
|
|
11439
12579
|
message_id?: string | null;
|
|
12580
|
+
preview?: string | null;
|
|
11440
12581
|
profile_id?: string | null;
|
|
11441
12582
|
raw_size?: number | null;
|
|
11442
12583
|
received_at?: string | null;
|
|
@@ -11472,6 +12613,7 @@ export type Database = {
|
|
|
11472
12613
|
};
|
|
11473
12614
|
mailbox_order_proposals: {
|
|
11474
12615
|
Row: {
|
|
12616
|
+
ai_ok: boolean | null;
|
|
11475
12617
|
ai_validation: Json | null;
|
|
11476
12618
|
confidence: number | null;
|
|
11477
12619
|
created_at: string;
|
|
@@ -11489,6 +12631,7 @@ export type Database = {
|
|
|
11489
12631
|
updated_at: string;
|
|
11490
12632
|
};
|
|
11491
12633
|
Insert: {
|
|
12634
|
+
ai_ok?: boolean | null;
|
|
11492
12635
|
ai_validation?: Json | null;
|
|
11493
12636
|
confidence?: number | null;
|
|
11494
12637
|
created_at?: string;
|
|
@@ -11506,6 +12649,7 @@ export type Database = {
|
|
|
11506
12649
|
updated_at?: string;
|
|
11507
12650
|
};
|
|
11508
12651
|
Update: {
|
|
12652
|
+
ai_ok?: boolean | null;
|
|
11509
12653
|
ai_validation?: Json | null;
|
|
11510
12654
|
confidence?: number | null;
|
|
11511
12655
|
created_at?: string;
|
|
@@ -13708,6 +14852,7 @@ export type Database = {
|
|
|
13708
14852
|
customer_name: string;
|
|
13709
14853
|
deleted_at: string | null;
|
|
13710
14854
|
delivery_date: string | null;
|
|
14855
|
+
floriday_order_group_key: string | null;
|
|
13711
14856
|
floriday_sales_order_id: string | null;
|
|
13712
14857
|
id: string;
|
|
13713
14858
|
invoice_due_at: string | null;
|
|
@@ -13735,6 +14880,7 @@ export type Database = {
|
|
|
13735
14880
|
customer_name?: string;
|
|
13736
14881
|
deleted_at?: string | null;
|
|
13737
14882
|
delivery_date?: string | null;
|
|
14883
|
+
floriday_order_group_key?: string | null;
|
|
13738
14884
|
floriday_sales_order_id?: string | null;
|
|
13739
14885
|
id?: string;
|
|
13740
14886
|
invoice_due_at?: string | null;
|
|
@@ -13762,6 +14908,7 @@ export type Database = {
|
|
|
13762
14908
|
customer_name?: string;
|
|
13763
14909
|
deleted_at?: string | null;
|
|
13764
14910
|
delivery_date?: string | null;
|
|
14911
|
+
floriday_order_group_key?: string | null;
|
|
13765
14912
|
floriday_sales_order_id?: string | null;
|
|
13766
14913
|
id?: string;
|
|
13767
14914
|
invoice_due_at?: string | null;
|
|
@@ -13958,6 +15105,27 @@ export type Database = {
|
|
|
13958
15105
|
};
|
|
13959
15106
|
Relationships: [];
|
|
13960
15107
|
};
|
|
15108
|
+
pick_buffer_event_cursor: {
|
|
15109
|
+
Row: {
|
|
15110
|
+
created_at: string;
|
|
15111
|
+
id: boolean;
|
|
15112
|
+
last_event_at: string;
|
|
15113
|
+
updated_at: string;
|
|
15114
|
+
};
|
|
15115
|
+
Insert: {
|
|
15116
|
+
created_at?: string;
|
|
15117
|
+
id?: boolean;
|
|
15118
|
+
last_event_at?: string;
|
|
15119
|
+
updated_at?: string;
|
|
15120
|
+
};
|
|
15121
|
+
Update: {
|
|
15122
|
+
created_at?: string;
|
|
15123
|
+
id?: boolean;
|
|
15124
|
+
last_event_at?: string;
|
|
15125
|
+
updated_at?: string;
|
|
15126
|
+
};
|
|
15127
|
+
Relationships: [];
|
|
15128
|
+
};
|
|
13961
15129
|
pick_countries: {
|
|
13962
15130
|
Row: {
|
|
13963
15131
|
active: boolean;
|
|
@@ -15085,6 +16253,128 @@ export type Database = {
|
|
|
15085
16253
|
}
|
|
15086
16254
|
];
|
|
15087
16255
|
};
|
|
16256
|
+
price_list_rows: {
|
|
16257
|
+
Row: {
|
|
16258
|
+
action: string;
|
|
16259
|
+
created_at: string;
|
|
16260
|
+
id: string;
|
|
16261
|
+
message: string | null;
|
|
16262
|
+
parsed: Json;
|
|
16263
|
+
price_list_id: string;
|
|
16264
|
+
raw: Json;
|
|
16265
|
+
row_number: number;
|
|
16266
|
+
supplier_product_id: string | null;
|
|
16267
|
+
};
|
|
16268
|
+
Insert: {
|
|
16269
|
+
action?: string;
|
|
16270
|
+
created_at?: string;
|
|
16271
|
+
id?: string;
|
|
16272
|
+
message?: string | null;
|
|
16273
|
+
parsed?: Json;
|
|
16274
|
+
price_list_id: string;
|
|
16275
|
+
raw?: Json;
|
|
16276
|
+
row_number: number;
|
|
16277
|
+
supplier_product_id?: string | null;
|
|
16278
|
+
};
|
|
16279
|
+
Update: {
|
|
16280
|
+
action?: string;
|
|
16281
|
+
created_at?: string;
|
|
16282
|
+
id?: string;
|
|
16283
|
+
message?: string | null;
|
|
16284
|
+
parsed?: Json;
|
|
16285
|
+
price_list_id?: string;
|
|
16286
|
+
raw?: Json;
|
|
16287
|
+
row_number?: number;
|
|
16288
|
+
supplier_product_id?: string | null;
|
|
16289
|
+
};
|
|
16290
|
+
Relationships: [
|
|
16291
|
+
{
|
|
16292
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
16293
|
+
columns: ["price_list_id"];
|
|
16294
|
+
isOneToOne: false;
|
|
16295
|
+
referencedRelation: "price_lists";
|
|
16296
|
+
referencedColumns: ["id"];
|
|
16297
|
+
},
|
|
16298
|
+
{
|
|
16299
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
16300
|
+
columns: ["supplier_product_id"];
|
|
16301
|
+
isOneToOne: false;
|
|
16302
|
+
referencedRelation: "supplier_products";
|
|
16303
|
+
referencedColumns: ["id"];
|
|
16304
|
+
}
|
|
16305
|
+
];
|
|
16306
|
+
};
|
|
16307
|
+
price_lists: {
|
|
16308
|
+
Row: {
|
|
16309
|
+
created_at: string;
|
|
16310
|
+
created_by: string | null;
|
|
16311
|
+
file_hash: string | null;
|
|
16312
|
+
file_name: string;
|
|
16313
|
+
file_path: string | null;
|
|
16314
|
+
headers: string[];
|
|
16315
|
+
id: string;
|
|
16316
|
+
preview: Json;
|
|
16317
|
+
processed_at: string | null;
|
|
16318
|
+
reason: string | null;
|
|
16319
|
+
row_count: number;
|
|
16320
|
+
sheet_name: string | null;
|
|
16321
|
+
source: string;
|
|
16322
|
+
stats: Json;
|
|
16323
|
+
status: string;
|
|
16324
|
+
supplier_guess: string | null;
|
|
16325
|
+
supplier_id: string | null;
|
|
16326
|
+
updated_at: string;
|
|
16327
|
+
};
|
|
16328
|
+
Insert: {
|
|
16329
|
+
created_at?: string;
|
|
16330
|
+
created_by?: string | null;
|
|
16331
|
+
file_hash?: string | null;
|
|
16332
|
+
file_name: string;
|
|
16333
|
+
file_path?: string | null;
|
|
16334
|
+
headers?: string[];
|
|
16335
|
+
id?: string;
|
|
16336
|
+
preview?: Json;
|
|
16337
|
+
processed_at?: string | null;
|
|
16338
|
+
reason?: string | null;
|
|
16339
|
+
row_count?: number;
|
|
16340
|
+
sheet_name?: string | null;
|
|
16341
|
+
source?: string;
|
|
16342
|
+
stats?: Json;
|
|
16343
|
+
status?: string;
|
|
16344
|
+
supplier_guess?: string | null;
|
|
16345
|
+
supplier_id?: string | null;
|
|
16346
|
+
updated_at?: string;
|
|
16347
|
+
};
|
|
16348
|
+
Update: {
|
|
16349
|
+
created_at?: string;
|
|
16350
|
+
created_by?: string | null;
|
|
16351
|
+
file_hash?: string | null;
|
|
16352
|
+
file_name?: string;
|
|
16353
|
+
file_path?: string | null;
|
|
16354
|
+
headers?: string[];
|
|
16355
|
+
id?: string;
|
|
16356
|
+
preview?: Json;
|
|
16357
|
+
processed_at?: string | null;
|
|
16358
|
+
reason?: string | null;
|
|
16359
|
+
row_count?: number;
|
|
16360
|
+
sheet_name?: string | null;
|
|
16361
|
+
source?: string;
|
|
16362
|
+
stats?: Json;
|
|
16363
|
+
status?: string;
|
|
16364
|
+
supplier_guess?: string | null;
|
|
16365
|
+
supplier_id?: string | null;
|
|
16366
|
+
updated_at?: string;
|
|
16367
|
+
};
|
|
16368
|
+
Relationships: [
|
|
16369
|
+
{
|
|
16370
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
16371
|
+
columns: ["supplier_id"];
|
|
16372
|
+
isOneToOne: false;
|
|
16373
|
+
referencedRelation: "suppliers";
|
|
16374
|
+
referencedColumns: ["id"];
|
|
16375
|
+
}
|
|
16376
|
+
];
|
|
16377
|
+
};
|
|
15088
16378
|
print_agents: {
|
|
15089
16379
|
Row: {
|
|
15090
16380
|
actief: boolean;
|
|
@@ -16699,30 +17989,111 @@ export type Database = {
|
|
|
16699
17989
|
}
|
|
16700
17990
|
];
|
|
16701
17991
|
};
|
|
16702
|
-
|
|
17992
|
+
purchase_order_dispatches: {
|
|
16703
17993
|
Row: {
|
|
16704
17994
|
created_at: string;
|
|
16705
17995
|
id: string;
|
|
16706
|
-
|
|
16707
|
-
|
|
17996
|
+
last_error: string | null;
|
|
17997
|
+
outbox_id: string | null;
|
|
16708
17998
|
purchase_order_id: string;
|
|
16709
|
-
|
|
17999
|
+
status: string;
|
|
18000
|
+
supplier_id: string | null;
|
|
18001
|
+
supplier_name: string;
|
|
18002
|
+
to_address: string;
|
|
18003
|
+
updated_at: string;
|
|
16710
18004
|
};
|
|
16711
18005
|
Insert: {
|
|
16712
18006
|
created_at?: string;
|
|
16713
18007
|
id?: string;
|
|
16714
|
-
|
|
16715
|
-
|
|
18008
|
+
last_error?: string | null;
|
|
18009
|
+
outbox_id?: string | null;
|
|
16716
18010
|
purchase_order_id: string;
|
|
16717
|
-
|
|
16718
|
-
|
|
16719
|
-
|
|
16720
|
-
|
|
18011
|
+
status?: string;
|
|
18012
|
+
supplier_id?: string | null;
|
|
18013
|
+
supplier_name?: string;
|
|
18014
|
+
to_address: string;
|
|
18015
|
+
updated_at?: string;
|
|
18016
|
+
};
|
|
18017
|
+
Update: {
|
|
18018
|
+
created_at?: string;
|
|
18019
|
+
id?: string;
|
|
18020
|
+
last_error?: string | null;
|
|
18021
|
+
outbox_id?: string | null;
|
|
18022
|
+
purchase_order_id?: string;
|
|
18023
|
+
status?: string;
|
|
18024
|
+
supplier_id?: string | null;
|
|
18025
|
+
supplier_name?: string;
|
|
18026
|
+
to_address?: string;
|
|
18027
|
+
updated_at?: string;
|
|
18028
|
+
};
|
|
18029
|
+
Relationships: [
|
|
18030
|
+
{
|
|
18031
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
18032
|
+
columns: ["purchase_order_id"];
|
|
18033
|
+
isOneToOne: false;
|
|
18034
|
+
referencedRelation: "purchase_orders";
|
|
18035
|
+
referencedColumns: ["id"];
|
|
18036
|
+
},
|
|
18037
|
+
{
|
|
18038
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
18039
|
+
columns: ["supplier_id"];
|
|
18040
|
+
isOneToOne: false;
|
|
18041
|
+
referencedRelation: "suppliers";
|
|
18042
|
+
referencedColumns: ["id"];
|
|
18043
|
+
}
|
|
18044
|
+
];
|
|
18045
|
+
};
|
|
18046
|
+
purchase_order_items: {
|
|
18047
|
+
Row: {
|
|
18048
|
+
article_number: string | null;
|
|
18049
|
+
created_at: string;
|
|
18050
|
+
delivery_date: string | null;
|
|
18051
|
+
id: string;
|
|
18052
|
+
name: string;
|
|
18053
|
+
note: string | null;
|
|
18054
|
+
pot_size: string | null;
|
|
18055
|
+
product_id: string | null;
|
|
18056
|
+
product_type: string;
|
|
18057
|
+
purchase_order_id: string;
|
|
18058
|
+
quantity: number;
|
|
18059
|
+
supplier_id: string | null;
|
|
18060
|
+
supplier_product_id: string | null;
|
|
18061
|
+
unit_price_cents: number;
|
|
18062
|
+
updated_at: string;
|
|
18063
|
+
};
|
|
18064
|
+
Insert: {
|
|
18065
|
+
article_number?: string | null;
|
|
18066
|
+
created_at?: string;
|
|
18067
|
+
delivery_date?: string | null;
|
|
18068
|
+
id?: string;
|
|
18069
|
+
name?: string;
|
|
18070
|
+
note?: string | null;
|
|
18071
|
+
pot_size?: string | null;
|
|
18072
|
+
product_id?: string | null;
|
|
18073
|
+
product_type?: string;
|
|
18074
|
+
purchase_order_id: string;
|
|
18075
|
+
quantity?: number;
|
|
18076
|
+
supplier_id?: string | null;
|
|
18077
|
+
supplier_product_id?: string | null;
|
|
18078
|
+
unit_price_cents?: number;
|
|
18079
|
+
updated_at?: string;
|
|
18080
|
+
};
|
|
18081
|
+
Update: {
|
|
18082
|
+
article_number?: string | null;
|
|
18083
|
+
created_at?: string;
|
|
18084
|
+
delivery_date?: string | null;
|
|
16721
18085
|
id?: string;
|
|
18086
|
+
name?: string;
|
|
18087
|
+
note?: string | null;
|
|
18088
|
+
pot_size?: string | null;
|
|
16722
18089
|
product_id?: string | null;
|
|
16723
18090
|
product_type?: string;
|
|
16724
18091
|
purchase_order_id?: string;
|
|
16725
18092
|
quantity?: number;
|
|
18093
|
+
supplier_id?: string | null;
|
|
18094
|
+
supplier_product_id?: string | null;
|
|
18095
|
+
unit_price_cents?: number;
|
|
18096
|
+
updated_at?: string;
|
|
16726
18097
|
};
|
|
16727
18098
|
Relationships: [
|
|
16728
18099
|
{
|
|
@@ -16745,44 +18116,73 @@ export type Database = {
|
|
|
16745
18116
|
isOneToOne: false;
|
|
16746
18117
|
referencedRelation: "purchase_orders";
|
|
16747
18118
|
referencedColumns: ["id"];
|
|
18119
|
+
},
|
|
18120
|
+
{
|
|
18121
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
18122
|
+
columns: ["supplier_id"];
|
|
18123
|
+
isOneToOne: false;
|
|
18124
|
+
referencedRelation: "suppliers";
|
|
18125
|
+
referencedColumns: ["id"];
|
|
18126
|
+
},
|
|
18127
|
+
{
|
|
18128
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
18129
|
+
columns: ["supplier_product_id"];
|
|
18130
|
+
isOneToOne: false;
|
|
18131
|
+
referencedRelation: "supplier_products";
|
|
18132
|
+
referencedColumns: ["id"];
|
|
16748
18133
|
}
|
|
16749
18134
|
];
|
|
16750
18135
|
};
|
|
16751
18136
|
purchase_orders: {
|
|
16752
18137
|
Row: {
|
|
18138
|
+
contact_person: string | null;
|
|
16753
18139
|
created_at: string;
|
|
18140
|
+
created_by: string | null;
|
|
16754
18141
|
expected_delivery_date: string;
|
|
16755
18142
|
id: string;
|
|
16756
18143
|
location_id: string | null;
|
|
16757
18144
|
notes: string | null;
|
|
16758
18145
|
order_number: string;
|
|
18146
|
+
reference: string | null;
|
|
18147
|
+
sent_at: string | null;
|
|
16759
18148
|
status: string;
|
|
16760
18149
|
supplier_id: string | null;
|
|
16761
18150
|
supplier_name: string;
|
|
18151
|
+
total_cents: number;
|
|
16762
18152
|
updated_at: string;
|
|
16763
18153
|
};
|
|
16764
18154
|
Insert: {
|
|
18155
|
+
contact_person?: string | null;
|
|
16765
18156
|
created_at?: string;
|
|
16766
|
-
|
|
18157
|
+
created_by?: string | null;
|
|
18158
|
+
expected_delivery_date?: string;
|
|
16767
18159
|
id?: string;
|
|
16768
18160
|
location_id?: string | null;
|
|
16769
18161
|
notes?: string | null;
|
|
16770
|
-
order_number
|
|
18162
|
+
order_number?: string;
|
|
18163
|
+
reference?: string | null;
|
|
18164
|
+
sent_at?: string | null;
|
|
16771
18165
|
status?: string;
|
|
16772
18166
|
supplier_id?: string | null;
|
|
16773
18167
|
supplier_name?: string;
|
|
18168
|
+
total_cents?: number;
|
|
16774
18169
|
updated_at?: string;
|
|
16775
18170
|
};
|
|
16776
18171
|
Update: {
|
|
18172
|
+
contact_person?: string | null;
|
|
16777
18173
|
created_at?: string;
|
|
18174
|
+
created_by?: string | null;
|
|
16778
18175
|
expected_delivery_date?: string;
|
|
16779
18176
|
id?: string;
|
|
16780
18177
|
location_id?: string | null;
|
|
16781
18178
|
notes?: string | null;
|
|
16782
18179
|
order_number?: string;
|
|
18180
|
+
reference?: string | null;
|
|
18181
|
+
sent_at?: string | null;
|
|
16783
18182
|
status?: string;
|
|
16784
18183
|
supplier_id?: string | null;
|
|
16785
18184
|
supplier_name?: string;
|
|
18185
|
+
total_cents?: number;
|
|
16786
18186
|
updated_at?: string;
|
|
16787
18187
|
};
|
|
16788
18188
|
Relationships: [
|
|
@@ -17693,15 +19093,167 @@ export type Database = {
|
|
|
17693
19093
|
};
|
|
17694
19094
|
Relationships: [];
|
|
17695
19095
|
};
|
|
19096
|
+
supplier_contacts: {
|
|
19097
|
+
Row: {
|
|
19098
|
+
created_at: string;
|
|
19099
|
+
email: string | null;
|
|
19100
|
+
id: string;
|
|
19101
|
+
is_primary: boolean;
|
|
19102
|
+
name: string;
|
|
19103
|
+
phone: string | null;
|
|
19104
|
+
role: string | null;
|
|
19105
|
+
supplier_id: string;
|
|
19106
|
+
updated_at: string;
|
|
19107
|
+
};
|
|
19108
|
+
Insert: {
|
|
19109
|
+
created_at?: string;
|
|
19110
|
+
email?: string | null;
|
|
19111
|
+
id?: string;
|
|
19112
|
+
is_primary?: boolean;
|
|
19113
|
+
name: string;
|
|
19114
|
+
phone?: string | null;
|
|
19115
|
+
role?: string | null;
|
|
19116
|
+
supplier_id: string;
|
|
19117
|
+
updated_at?: string;
|
|
19118
|
+
};
|
|
19119
|
+
Update: {
|
|
19120
|
+
created_at?: string;
|
|
19121
|
+
email?: string | null;
|
|
19122
|
+
id?: string;
|
|
19123
|
+
is_primary?: boolean;
|
|
19124
|
+
name?: string;
|
|
19125
|
+
phone?: string | null;
|
|
19126
|
+
role?: string | null;
|
|
19127
|
+
supplier_id?: string;
|
|
19128
|
+
updated_at?: string;
|
|
19129
|
+
};
|
|
19130
|
+
Relationships: [
|
|
19131
|
+
{
|
|
19132
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
19133
|
+
columns: ["supplier_id"];
|
|
19134
|
+
isOneToOne: false;
|
|
19135
|
+
referencedRelation: "suppliers";
|
|
19136
|
+
referencedColumns: ["id"];
|
|
19137
|
+
}
|
|
19138
|
+
];
|
|
19139
|
+
};
|
|
19140
|
+
supplier_price_history: {
|
|
19141
|
+
Row: {
|
|
19142
|
+
created_at: string;
|
|
19143
|
+
id: string;
|
|
19144
|
+
new_price_cents: number;
|
|
19145
|
+
old_price_cents: number | null;
|
|
19146
|
+
price_list_id: string | null;
|
|
19147
|
+
supplier_id: string | null;
|
|
19148
|
+
supplier_product_id: string;
|
|
19149
|
+
};
|
|
19150
|
+
Insert: {
|
|
19151
|
+
created_at?: string;
|
|
19152
|
+
id?: string;
|
|
19153
|
+
new_price_cents: number;
|
|
19154
|
+
old_price_cents?: number | null;
|
|
19155
|
+
price_list_id?: string | null;
|
|
19156
|
+
supplier_id?: string | null;
|
|
19157
|
+
supplier_product_id: string;
|
|
19158
|
+
};
|
|
19159
|
+
Update: {
|
|
19160
|
+
created_at?: string;
|
|
19161
|
+
id?: string;
|
|
19162
|
+
new_price_cents?: number;
|
|
19163
|
+
old_price_cents?: number | null;
|
|
19164
|
+
price_list_id?: string | null;
|
|
19165
|
+
supplier_id?: string | null;
|
|
19166
|
+
supplier_product_id?: string;
|
|
19167
|
+
};
|
|
19168
|
+
Relationships: [
|
|
19169
|
+
{
|
|
19170
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
19171
|
+
columns: ["price_list_id"];
|
|
19172
|
+
isOneToOne: false;
|
|
19173
|
+
referencedRelation: "price_lists";
|
|
19174
|
+
referencedColumns: ["id"];
|
|
19175
|
+
},
|
|
19176
|
+
{
|
|
19177
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
19178
|
+
columns: ["supplier_product_id"];
|
|
19179
|
+
isOneToOne: false;
|
|
19180
|
+
referencedRelation: "supplier_products";
|
|
19181
|
+
referencedColumns: ["id"];
|
|
19182
|
+
}
|
|
19183
|
+
];
|
|
19184
|
+
};
|
|
19185
|
+
supplier_price_list_mappings: {
|
|
19186
|
+
Row: {
|
|
19187
|
+
column_map: Json;
|
|
19188
|
+
created_at: string;
|
|
19189
|
+
deactivate_missing: boolean;
|
|
19190
|
+
decimal_separator: string;
|
|
19191
|
+
expected_headers: string[];
|
|
19192
|
+
extract_pot_from_name: boolean;
|
|
19193
|
+
header_row: number;
|
|
19194
|
+
id: string;
|
|
19195
|
+
max_error_ratio: number;
|
|
19196
|
+
price_is_cents: boolean;
|
|
19197
|
+
sheet_name: string | null;
|
|
19198
|
+
supplier_id: string;
|
|
19199
|
+
updated_at: string;
|
|
19200
|
+
};
|
|
19201
|
+
Insert: {
|
|
19202
|
+
column_map?: Json;
|
|
19203
|
+
created_at?: string;
|
|
19204
|
+
deactivate_missing?: boolean;
|
|
19205
|
+
decimal_separator?: string;
|
|
19206
|
+
expected_headers?: string[];
|
|
19207
|
+
extract_pot_from_name?: boolean;
|
|
19208
|
+
header_row?: number;
|
|
19209
|
+
id?: string;
|
|
19210
|
+
max_error_ratio?: number;
|
|
19211
|
+
price_is_cents?: boolean;
|
|
19212
|
+
sheet_name?: string | null;
|
|
19213
|
+
supplier_id: string;
|
|
19214
|
+
updated_at?: string;
|
|
19215
|
+
};
|
|
19216
|
+
Update: {
|
|
19217
|
+
column_map?: Json;
|
|
19218
|
+
created_at?: string;
|
|
19219
|
+
deactivate_missing?: boolean;
|
|
19220
|
+
decimal_separator?: string;
|
|
19221
|
+
expected_headers?: string[];
|
|
19222
|
+
extract_pot_from_name?: boolean;
|
|
19223
|
+
header_row?: number;
|
|
19224
|
+
id?: string;
|
|
19225
|
+
max_error_ratio?: number;
|
|
19226
|
+
price_is_cents?: boolean;
|
|
19227
|
+
sheet_name?: string | null;
|
|
19228
|
+
supplier_id?: string;
|
|
19229
|
+
updated_at?: string;
|
|
19230
|
+
};
|
|
19231
|
+
Relationships: [
|
|
19232
|
+
{
|
|
19233
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
19234
|
+
columns: ["supplier_id"];
|
|
19235
|
+
isOneToOne: true;
|
|
19236
|
+
referencedRelation: "suppliers";
|
|
19237
|
+
referencedColumns: ["id"];
|
|
19238
|
+
}
|
|
19239
|
+
];
|
|
19240
|
+
};
|
|
17696
19241
|
supplier_products: {
|
|
17697
19242
|
Row: {
|
|
17698
19243
|
article_number: string | null;
|
|
19244
|
+
available_quantity: number;
|
|
17699
19245
|
created_at: string;
|
|
19246
|
+
height: string | null;
|
|
17700
19247
|
id: string;
|
|
19248
|
+
is_active: boolean;
|
|
19249
|
+
min_order: number;
|
|
17701
19250
|
name: string;
|
|
17702
19251
|
notes: string | null;
|
|
19252
|
+
order_unit: number;
|
|
17703
19253
|
pot_size: string | null;
|
|
17704
19254
|
price: number | null;
|
|
19255
|
+
price_cents: number;
|
|
19256
|
+
quality: string | null;
|
|
17705
19257
|
quantity: number | null;
|
|
17706
19258
|
supplier_id: string;
|
|
17707
19259
|
unit: string;
|
|
@@ -17709,12 +19261,19 @@ export type Database = {
|
|
|
17709
19261
|
};
|
|
17710
19262
|
Insert: {
|
|
17711
19263
|
article_number?: string | null;
|
|
19264
|
+
available_quantity?: number;
|
|
17712
19265
|
created_at?: string;
|
|
19266
|
+
height?: string | null;
|
|
17713
19267
|
id?: string;
|
|
19268
|
+
is_active?: boolean;
|
|
19269
|
+
min_order?: number;
|
|
17714
19270
|
name: string;
|
|
17715
19271
|
notes?: string | null;
|
|
19272
|
+
order_unit?: number;
|
|
17716
19273
|
pot_size?: string | null;
|
|
17717
19274
|
price?: number | null;
|
|
19275
|
+
price_cents?: number;
|
|
19276
|
+
quality?: string | null;
|
|
17718
19277
|
quantity?: number | null;
|
|
17719
19278
|
supplier_id: string;
|
|
17720
19279
|
unit?: string;
|
|
@@ -17722,12 +19281,19 @@ export type Database = {
|
|
|
17722
19281
|
};
|
|
17723
19282
|
Update: {
|
|
17724
19283
|
article_number?: string | null;
|
|
19284
|
+
available_quantity?: number;
|
|
17725
19285
|
created_at?: string;
|
|
19286
|
+
height?: string | null;
|
|
17726
19287
|
id?: string;
|
|
19288
|
+
is_active?: boolean;
|
|
19289
|
+
min_order?: number;
|
|
17727
19290
|
name?: string;
|
|
17728
19291
|
notes?: string | null;
|
|
19292
|
+
order_unit?: number;
|
|
17729
19293
|
pot_size?: string | null;
|
|
17730
19294
|
price?: number | null;
|
|
19295
|
+
price_cents?: number;
|
|
19296
|
+
quality?: string | null;
|
|
17731
19297
|
quantity?: number | null;
|
|
17732
19298
|
supplier_id?: string;
|
|
17733
19299
|
unit?: string;
|
|
@@ -17746,6 +19312,7 @@ export type Database = {
|
|
|
17746
19312
|
suppliers: {
|
|
17747
19313
|
Row: {
|
|
17748
19314
|
address: string | null;
|
|
19315
|
+
category: string | null;
|
|
17749
19316
|
column_mappings: Json | null;
|
|
17750
19317
|
contact_person: string | null;
|
|
17751
19318
|
created_at: string;
|
|
@@ -17753,13 +19320,24 @@ export type Database = {
|
|
|
17753
19320
|
email: string | null;
|
|
17754
19321
|
id: string;
|
|
17755
19322
|
imported_file_name: string | null;
|
|
19323
|
+
is_preferred: boolean;
|
|
19324
|
+
kvk_number: string | null;
|
|
19325
|
+
lead_time_days: number | null;
|
|
19326
|
+
min_order_amount_cents: number;
|
|
17756
19327
|
name: string;
|
|
17757
19328
|
notes: string | null;
|
|
19329
|
+
order_days: string[];
|
|
19330
|
+
order_email: string | null;
|
|
19331
|
+
payment_terms_days: number | null;
|
|
17758
19332
|
phone: string | null;
|
|
19333
|
+
status: string;
|
|
17759
19334
|
updated_at: string;
|
|
19335
|
+
vat_number: string | null;
|
|
19336
|
+
website: string | null;
|
|
17760
19337
|
};
|
|
17761
19338
|
Insert: {
|
|
17762
19339
|
address?: string | null;
|
|
19340
|
+
category?: string | null;
|
|
17763
19341
|
column_mappings?: Json | null;
|
|
17764
19342
|
contact_person?: string | null;
|
|
17765
19343
|
created_at?: string;
|
|
@@ -17767,13 +19345,24 @@ export type Database = {
|
|
|
17767
19345
|
email?: string | null;
|
|
17768
19346
|
id?: string;
|
|
17769
19347
|
imported_file_name?: string | null;
|
|
19348
|
+
is_preferred?: boolean;
|
|
19349
|
+
kvk_number?: string | null;
|
|
19350
|
+
lead_time_days?: number | null;
|
|
19351
|
+
min_order_amount_cents?: number;
|
|
17770
19352
|
name: string;
|
|
17771
19353
|
notes?: string | null;
|
|
19354
|
+
order_days?: string[];
|
|
19355
|
+
order_email?: string | null;
|
|
19356
|
+
payment_terms_days?: number | null;
|
|
17772
19357
|
phone?: string | null;
|
|
19358
|
+
status?: string;
|
|
17773
19359
|
updated_at?: string;
|
|
19360
|
+
vat_number?: string | null;
|
|
19361
|
+
website?: string | null;
|
|
17774
19362
|
};
|
|
17775
19363
|
Update: {
|
|
17776
19364
|
address?: string | null;
|
|
19365
|
+
category?: string | null;
|
|
17777
19366
|
column_mappings?: Json | null;
|
|
17778
19367
|
contact_person?: string | null;
|
|
17779
19368
|
created_at?: string;
|
|
@@ -17781,10 +19370,20 @@ export type Database = {
|
|
|
17781
19370
|
email?: string | null;
|
|
17782
19371
|
id?: string;
|
|
17783
19372
|
imported_file_name?: string | null;
|
|
19373
|
+
is_preferred?: boolean;
|
|
19374
|
+
kvk_number?: string | null;
|
|
19375
|
+
lead_time_days?: number | null;
|
|
19376
|
+
min_order_amount_cents?: number;
|
|
17784
19377
|
name?: string;
|
|
17785
19378
|
notes?: string | null;
|
|
19379
|
+
order_days?: string[];
|
|
19380
|
+
order_email?: string | null;
|
|
19381
|
+
payment_terms_days?: number | null;
|
|
17786
19382
|
phone?: string | null;
|
|
19383
|
+
status?: string;
|
|
17787
19384
|
updated_at?: string;
|
|
19385
|
+
vat_number?: string | null;
|
|
19386
|
+
website?: string | null;
|
|
17788
19387
|
};
|
|
17789
19388
|
Relationships: [];
|
|
17790
19389
|
};
|
|
@@ -18806,11 +20405,13 @@ export type Database = {
|
|
|
18806
20405
|
auto_invoice_trigger_statuses: string[];
|
|
18807
20406
|
created_at: string;
|
|
18808
20407
|
debtor_gl_account: string;
|
|
20408
|
+
default_article_code: string | null;
|
|
18809
20409
|
default_credit_invoice_type: string | null;
|
|
18810
20410
|
default_gl_account: string;
|
|
18811
20411
|
default_invoice_type: string;
|
|
18812
20412
|
default_payment_term_days: number;
|
|
18813
20413
|
default_vat_code: string;
|
|
20414
|
+
email_purpose: string | null;
|
|
18814
20415
|
home_country_code: string;
|
|
18815
20416
|
invoice_enabled_ao: boolean;
|
|
18816
20417
|
invoice_enabled_fo: boolean;
|
|
@@ -18832,11 +20433,13 @@ export type Database = {
|
|
|
18832
20433
|
auto_invoice_trigger_statuses?: string[];
|
|
18833
20434
|
created_at?: string;
|
|
18834
20435
|
debtor_gl_account?: string;
|
|
20436
|
+
default_article_code?: string | null;
|
|
18835
20437
|
default_credit_invoice_type?: string | null;
|
|
18836
20438
|
default_gl_account?: string;
|
|
18837
20439
|
default_invoice_type?: string;
|
|
18838
20440
|
default_payment_term_days?: number;
|
|
18839
20441
|
default_vat_code?: string;
|
|
20442
|
+
email_purpose?: string | null;
|
|
18840
20443
|
home_country_code?: string;
|
|
18841
20444
|
invoice_enabled_ao?: boolean;
|
|
18842
20445
|
invoice_enabled_fo?: boolean;
|
|
@@ -18858,11 +20461,13 @@ export type Database = {
|
|
|
18858
20461
|
auto_invoice_trigger_statuses?: string[];
|
|
18859
20462
|
created_at?: string;
|
|
18860
20463
|
debtor_gl_account?: string;
|
|
20464
|
+
default_article_code?: string | null;
|
|
18861
20465
|
default_credit_invoice_type?: string | null;
|
|
18862
20466
|
default_gl_account?: string;
|
|
18863
20467
|
default_invoice_type?: string;
|
|
18864
20468
|
default_payment_term_days?: number;
|
|
18865
20469
|
default_vat_code?: string;
|
|
20470
|
+
email_purpose?: string | null;
|
|
18866
20471
|
home_country_code?: string;
|
|
18867
20472
|
invoice_enabled_ao?: boolean;
|
|
18868
20473
|
invoice_enabled_fo?: boolean;
|
|
@@ -19771,6 +21376,36 @@ export type Database = {
|
|
|
19771
21376
|
}
|
|
19772
21377
|
];
|
|
19773
21378
|
};
|
|
21379
|
+
voorraad_buffer_state: {
|
|
21380
|
+
Row: {
|
|
21381
|
+
buffer_id: string;
|
|
21382
|
+
buffer_key: string | null;
|
|
21383
|
+
closed_at: string | null;
|
|
21384
|
+
created_at: string;
|
|
21385
|
+
detached_orders: Json;
|
|
21386
|
+
reason: string | null;
|
|
21387
|
+
updated_at: string;
|
|
21388
|
+
};
|
|
21389
|
+
Insert: {
|
|
21390
|
+
buffer_id: string;
|
|
21391
|
+
buffer_key?: string | null;
|
|
21392
|
+
closed_at?: string | null;
|
|
21393
|
+
created_at?: string;
|
|
21394
|
+
detached_orders?: Json;
|
|
21395
|
+
reason?: string | null;
|
|
21396
|
+
updated_at?: string;
|
|
21397
|
+
};
|
|
21398
|
+
Update: {
|
|
21399
|
+
buffer_id?: string;
|
|
21400
|
+
buffer_key?: string | null;
|
|
21401
|
+
closed_at?: string | null;
|
|
21402
|
+
created_at?: string;
|
|
21403
|
+
detached_orders?: Json;
|
|
21404
|
+
reason?: string | null;
|
|
21405
|
+
updated_at?: string;
|
|
21406
|
+
};
|
|
21407
|
+
Relationships: [];
|
|
21408
|
+
};
|
|
19774
21409
|
voorraad_custom_fields: {
|
|
19775
21410
|
Row: {
|
|
19776
21411
|
created_at: string;
|
|
@@ -19813,20 +21448,50 @@ export type Database = {
|
|
|
19813
21448
|
};
|
|
19814
21449
|
Relationships: [];
|
|
19815
21450
|
};
|
|
19816
|
-
|
|
21451
|
+
voorraad_logistics_event_log: {
|
|
19817
21452
|
Row: {
|
|
19818
|
-
action: string;
|
|
19819
|
-
attempt_number: number;
|
|
19820
|
-
caller: string;
|
|
19821
|
-
client_user_id: string | null;
|
|
19822
|
-
content_type: string | null;
|
|
19823
21453
|
created_at: string;
|
|
19824
|
-
|
|
19825
|
-
|
|
19826
|
-
|
|
19827
|
-
|
|
19828
|
-
|
|
19829
|
-
|
|
21454
|
+
event_id: string;
|
|
21455
|
+
event_type: string;
|
|
21456
|
+
order_ref: string | null;
|
|
21457
|
+
processed_at: string;
|
|
21458
|
+
result: Json;
|
|
21459
|
+
updated_at: string;
|
|
21460
|
+
};
|
|
21461
|
+
Insert: {
|
|
21462
|
+
created_at?: string;
|
|
21463
|
+
event_id: string;
|
|
21464
|
+
event_type: string;
|
|
21465
|
+
order_ref?: string | null;
|
|
21466
|
+
processed_at?: string;
|
|
21467
|
+
result?: Json;
|
|
21468
|
+
updated_at?: string;
|
|
21469
|
+
};
|
|
21470
|
+
Update: {
|
|
21471
|
+
created_at?: string;
|
|
21472
|
+
event_id?: string;
|
|
21473
|
+
event_type?: string;
|
|
21474
|
+
order_ref?: string | null;
|
|
21475
|
+
processed_at?: string;
|
|
21476
|
+
result?: Json;
|
|
21477
|
+
updated_at?: string;
|
|
21478
|
+
};
|
|
21479
|
+
Relationships: [];
|
|
21480
|
+
};
|
|
21481
|
+
voorraad_media_upload_failures: {
|
|
21482
|
+
Row: {
|
|
21483
|
+
action: string;
|
|
21484
|
+
attempt_number: number;
|
|
21485
|
+
caller: string;
|
|
21486
|
+
client_user_id: string | null;
|
|
21487
|
+
content_type: string | null;
|
|
21488
|
+
created_at: string;
|
|
21489
|
+
environment: string;
|
|
21490
|
+
error_message: string | null;
|
|
21491
|
+
filename: string | null;
|
|
21492
|
+
id: string;
|
|
21493
|
+
idempotency_key: string | null;
|
|
21494
|
+
module: string;
|
|
19830
21495
|
path: string;
|
|
19831
21496
|
reference_id: string | null;
|
|
19832
21497
|
request_body_hash: string | null;
|
|
@@ -20082,6 +21747,44 @@ export type Database = {
|
|
|
20082
21747
|
}
|
|
20083
21748
|
];
|
|
20084
21749
|
};
|
|
21750
|
+
werkbon_email_state: {
|
|
21751
|
+
Row: {
|
|
21752
|
+
created_at: string;
|
|
21753
|
+
event_id: string;
|
|
21754
|
+
id: string;
|
|
21755
|
+
is_archived: boolean;
|
|
21756
|
+
is_read: boolean;
|
|
21757
|
+
updated_at: string;
|
|
21758
|
+
werkbon_id: string | null;
|
|
21759
|
+
};
|
|
21760
|
+
Insert: {
|
|
21761
|
+
created_at?: string;
|
|
21762
|
+
event_id: string;
|
|
21763
|
+
id?: string;
|
|
21764
|
+
is_archived?: boolean;
|
|
21765
|
+
is_read?: boolean;
|
|
21766
|
+
updated_at?: string;
|
|
21767
|
+
werkbon_id?: string | null;
|
|
21768
|
+
};
|
|
21769
|
+
Update: {
|
|
21770
|
+
created_at?: string;
|
|
21771
|
+
event_id?: string;
|
|
21772
|
+
id?: string;
|
|
21773
|
+
is_archived?: boolean;
|
|
21774
|
+
is_read?: boolean;
|
|
21775
|
+
updated_at?: string;
|
|
21776
|
+
werkbon_id?: string | null;
|
|
21777
|
+
};
|
|
21778
|
+
Relationships: [
|
|
21779
|
+
{
|
|
21780
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
21781
|
+
columns: ["event_id"];
|
|
21782
|
+
isOneToOne: true;
|
|
21783
|
+
referencedRelation: "email_auth_events";
|
|
21784
|
+
referencedColumns: ["id"];
|
|
21785
|
+
}
|
|
21786
|
+
];
|
|
21787
|
+
};
|
|
20085
21788
|
werkbon_export_runs: {
|
|
20086
21789
|
Row: {
|
|
20087
21790
|
created_at: string;
|
|
@@ -20238,6 +21941,147 @@ export type Database = {
|
|
|
20238
21941
|
};
|
|
20239
21942
|
Relationships: [];
|
|
20240
21943
|
};
|
|
21944
|
+
werkbon_mail_ai_settings: {
|
|
21945
|
+
Row: {
|
|
21946
|
+
created_at: string;
|
|
21947
|
+
id: boolean;
|
|
21948
|
+
required_fields: string[];
|
|
21949
|
+
system_prompt: string;
|
|
21950
|
+
updated_at: string;
|
|
21951
|
+
updated_by: string | null;
|
|
21952
|
+
};
|
|
21953
|
+
Insert: {
|
|
21954
|
+
created_at?: string;
|
|
21955
|
+
id?: boolean;
|
|
21956
|
+
required_fields?: string[];
|
|
21957
|
+
system_prompt?: string;
|
|
21958
|
+
updated_at?: string;
|
|
21959
|
+
updated_by?: string | null;
|
|
21960
|
+
};
|
|
21961
|
+
Update: {
|
|
21962
|
+
created_at?: string;
|
|
21963
|
+
id?: boolean;
|
|
21964
|
+
required_fields?: string[];
|
|
21965
|
+
system_prompt?: string;
|
|
21966
|
+
updated_at?: string;
|
|
21967
|
+
updated_by?: string | null;
|
|
21968
|
+
};
|
|
21969
|
+
Relationships: [];
|
|
21970
|
+
};
|
|
21971
|
+
werkbon_mail_bodies: {
|
|
21972
|
+
Row: {
|
|
21973
|
+
created_at: string;
|
|
21974
|
+
event_id: string;
|
|
21975
|
+
fetch_error: string | null;
|
|
21976
|
+
fetched_at: string | null;
|
|
21977
|
+
html: string | null;
|
|
21978
|
+
updated_at: string;
|
|
21979
|
+
};
|
|
21980
|
+
Insert: {
|
|
21981
|
+
created_at?: string;
|
|
21982
|
+
event_id: string;
|
|
21983
|
+
fetch_error?: string | null;
|
|
21984
|
+
fetched_at?: string | null;
|
|
21985
|
+
html?: string | null;
|
|
21986
|
+
updated_at?: string;
|
|
21987
|
+
};
|
|
21988
|
+
Update: {
|
|
21989
|
+
created_at?: string;
|
|
21990
|
+
event_id?: string;
|
|
21991
|
+
fetch_error?: string | null;
|
|
21992
|
+
fetched_at?: string | null;
|
|
21993
|
+
html?: string | null;
|
|
21994
|
+
updated_at?: string;
|
|
21995
|
+
};
|
|
21996
|
+
Relationships: [];
|
|
21997
|
+
};
|
|
21998
|
+
werkbon_mail_inline_assets: {
|
|
21999
|
+
Row: {
|
|
22000
|
+
content_id: string | null;
|
|
22001
|
+
created_at: string;
|
|
22002
|
+
event_id: string;
|
|
22003
|
+
filename: string | null;
|
|
22004
|
+
id: string;
|
|
22005
|
+
is_inline: boolean;
|
|
22006
|
+
mime_type: string | null;
|
|
22007
|
+
size_bytes: number | null;
|
|
22008
|
+
storage_path: string;
|
|
22009
|
+
};
|
|
22010
|
+
Insert: {
|
|
22011
|
+
content_id?: string | null;
|
|
22012
|
+
created_at?: string;
|
|
22013
|
+
event_id: string;
|
|
22014
|
+
filename?: string | null;
|
|
22015
|
+
id?: string;
|
|
22016
|
+
is_inline?: boolean;
|
|
22017
|
+
mime_type?: string | null;
|
|
22018
|
+
size_bytes?: number | null;
|
|
22019
|
+
storage_path: string;
|
|
22020
|
+
};
|
|
22021
|
+
Update: {
|
|
22022
|
+
content_id?: string | null;
|
|
22023
|
+
created_at?: string;
|
|
22024
|
+
event_id?: string;
|
|
22025
|
+
filename?: string | null;
|
|
22026
|
+
id?: string;
|
|
22027
|
+
is_inline?: boolean;
|
|
22028
|
+
mime_type?: string | null;
|
|
22029
|
+
size_bytes?: number | null;
|
|
22030
|
+
storage_path?: string;
|
|
22031
|
+
};
|
|
22032
|
+
Relationships: [];
|
|
22033
|
+
};
|
|
22034
|
+
werkbon_mail_settings: {
|
|
22035
|
+
Row: {
|
|
22036
|
+
connection_id: string | null;
|
|
22037
|
+
connection_ids: string[];
|
|
22038
|
+
created_at: string;
|
|
22039
|
+
id: boolean;
|
|
22040
|
+
purposes: string[];
|
|
22041
|
+
source: string;
|
|
22042
|
+
updated_at: string;
|
|
22043
|
+
};
|
|
22044
|
+
Insert: {
|
|
22045
|
+
connection_id?: string | null;
|
|
22046
|
+
connection_ids?: string[];
|
|
22047
|
+
created_at?: string;
|
|
22048
|
+
id?: boolean;
|
|
22049
|
+
purposes?: string[];
|
|
22050
|
+
source?: string;
|
|
22051
|
+
updated_at?: string;
|
|
22052
|
+
};
|
|
22053
|
+
Update: {
|
|
22054
|
+
connection_id?: string | null;
|
|
22055
|
+
connection_ids?: string[];
|
|
22056
|
+
created_at?: string;
|
|
22057
|
+
id?: boolean;
|
|
22058
|
+
purposes?: string[];
|
|
22059
|
+
source?: string;
|
|
22060
|
+
updated_at?: string;
|
|
22061
|
+
};
|
|
22062
|
+
Relationships: [];
|
|
22063
|
+
};
|
|
22064
|
+
werkbon_mail_user_settings: {
|
|
22065
|
+
Row: {
|
|
22066
|
+
created_at: string;
|
|
22067
|
+
email_purpose: string | null;
|
|
22068
|
+
updated_at: string;
|
|
22069
|
+
user_id: string;
|
|
22070
|
+
};
|
|
22071
|
+
Insert: {
|
|
22072
|
+
created_at?: string;
|
|
22073
|
+
email_purpose?: string | null;
|
|
22074
|
+
updated_at?: string;
|
|
22075
|
+
user_id: string;
|
|
22076
|
+
};
|
|
22077
|
+
Update: {
|
|
22078
|
+
created_at?: string;
|
|
22079
|
+
email_purpose?: string | null;
|
|
22080
|
+
updated_at?: string;
|
|
22081
|
+
user_id?: string;
|
|
22082
|
+
};
|
|
22083
|
+
Relationships: [];
|
|
22084
|
+
};
|
|
20241
22085
|
werkbon_materials: {
|
|
20242
22086
|
Row: {
|
|
20243
22087
|
article_number: string | null;
|
|
@@ -20594,100 +22438,259 @@ export type Database = {
|
|
|
20594
22438
|
}
|
|
20595
22439
|
];
|
|
20596
22440
|
};
|
|
20597
|
-
|
|
22441
|
+
werkbon_proposal_lines: {
|
|
20598
22442
|
Row: {
|
|
20599
|
-
|
|
22443
|
+
article_number: string | null;
|
|
20600
22444
|
created_at: string;
|
|
20601
|
-
|
|
22445
|
+
description: string | null;
|
|
20602
22446
|
id: string;
|
|
22447
|
+
line_type: string;
|
|
20603
22448
|
note: string | null;
|
|
20604
|
-
|
|
20605
|
-
|
|
20606
|
-
|
|
22449
|
+
package_id: string | null;
|
|
22450
|
+
proposal_id: string;
|
|
22451
|
+
quantity: number | null;
|
|
22452
|
+
sort_order: number;
|
|
22453
|
+
unit: string | null;
|
|
22454
|
+
updated_at: string;
|
|
20607
22455
|
};
|
|
20608
22456
|
Insert: {
|
|
20609
|
-
|
|
22457
|
+
article_number?: string | null;
|
|
20610
22458
|
created_at?: string;
|
|
20611
|
-
|
|
22459
|
+
description?: string | null;
|
|
20612
22460
|
id?: string;
|
|
22461
|
+
line_type?: string;
|
|
20613
22462
|
note?: string | null;
|
|
20614
|
-
|
|
20615
|
-
|
|
20616
|
-
|
|
22463
|
+
package_id?: string | null;
|
|
22464
|
+
proposal_id: string;
|
|
22465
|
+
quantity?: number | null;
|
|
22466
|
+
sort_order?: number;
|
|
22467
|
+
unit?: string | null;
|
|
22468
|
+
updated_at?: string;
|
|
20617
22469
|
};
|
|
20618
22470
|
Update: {
|
|
20619
|
-
|
|
22471
|
+
article_number?: string | null;
|
|
20620
22472
|
created_at?: string;
|
|
20621
|
-
|
|
22473
|
+
description?: string | null;
|
|
20622
22474
|
id?: string;
|
|
22475
|
+
line_type?: string;
|
|
20623
22476
|
note?: string | null;
|
|
20624
|
-
|
|
20625
|
-
|
|
20626
|
-
|
|
22477
|
+
package_id?: string | null;
|
|
22478
|
+
proposal_id?: string;
|
|
22479
|
+
quantity?: number | null;
|
|
22480
|
+
sort_order?: number;
|
|
22481
|
+
unit?: string | null;
|
|
22482
|
+
updated_at?: string;
|
|
20627
22483
|
};
|
|
20628
22484
|
Relationships: [
|
|
20629
22485
|
{
|
|
20630
|
-
foreignKeyName: "
|
|
20631
|
-
columns: ["
|
|
20632
|
-
isOneToOne: false;
|
|
20633
|
-
referencedRelation: "werkbonnen";
|
|
20634
|
-
referencedColumns: ["id"];
|
|
20635
|
-
},
|
|
20636
|
-
{
|
|
20637
|
-
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
20638
|
-
columns: ["werkbon_id"];
|
|
22486
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
22487
|
+
columns: ["proposal_id"];
|
|
20639
22488
|
isOneToOne: false;
|
|
20640
|
-
referencedRelation: "
|
|
22489
|
+
referencedRelation: "werkbon_proposals";
|
|
20641
22490
|
referencedColumns: ["id"];
|
|
20642
22491
|
}
|
|
20643
22492
|
];
|
|
20644
22493
|
};
|
|
20645
|
-
|
|
22494
|
+
werkbon_proposals: {
|
|
20646
22495
|
Row: {
|
|
20647
|
-
|
|
22496
|
+
analysed: boolean;
|
|
20648
22497
|
budget_mandate_cents: number;
|
|
20649
22498
|
complaint_description: string | null;
|
|
22499
|
+
contact_id: string | null;
|
|
20650
22500
|
created_at: string;
|
|
20651
|
-
|
|
22501
|
+
created_werkbon_id: string | null;
|
|
20652
22502
|
customer_id: string | null;
|
|
22503
|
+
deadline_date: string | null;
|
|
22504
|
+
estimated_days: number | null;
|
|
22505
|
+
estimated_duration_minutes: number | null;
|
|
22506
|
+
event_id: string;
|
|
22507
|
+
external_id: string | null;
|
|
20653
22508
|
externe_referentie: string | null;
|
|
20654
|
-
|
|
20655
|
-
|
|
22509
|
+
from_email: string | null;
|
|
22510
|
+
from_name: string | null;
|
|
20656
22511
|
id: string;
|
|
20657
22512
|
internal_notes: string | null;
|
|
20658
|
-
|
|
20659
|
-
|
|
20660
|
-
|
|
20661
|
-
|
|
20662
|
-
project_number: string | null;
|
|
20663
|
-
review_reasons: string[];
|
|
22513
|
+
parsed_payload: Json;
|
|
22514
|
+
received_at: string | null;
|
|
22515
|
+
reviewed_at: string | null;
|
|
22516
|
+
reviewed_by: string | null;
|
|
20664
22517
|
room_number: string | null;
|
|
20665
22518
|
scheduled_end_time: string | null;
|
|
20666
22519
|
scheduled_start_time: string | null;
|
|
20667
|
-
sequence_number: number;
|
|
20668
|
-
signature_accepted_at: string | null;
|
|
20669
|
-
signature_by_user_id: string | null;
|
|
20670
|
-
signature_name: string | null;
|
|
20671
|
-
source_email_meta: Json | null;
|
|
20672
|
-
source_mailbox_message_id: string | null;
|
|
20673
|
-
source_pdf_path: string | null;
|
|
20674
|
-
source_type: string;
|
|
20675
22520
|
status: string;
|
|
22521
|
+
subject: string | null;
|
|
20676
22522
|
technician_id: string | null;
|
|
20677
|
-
technician_notes: string | null;
|
|
20678
|
-
technician_notes_raw: string | null;
|
|
20679
22523
|
technician_task_description: string | null;
|
|
20680
22524
|
updated_at: string;
|
|
20681
|
-
version: number;
|
|
20682
22525
|
work_address: string | null;
|
|
20683
22526
|
};
|
|
20684
22527
|
Insert: {
|
|
20685
|
-
|
|
22528
|
+
analysed?: boolean;
|
|
20686
22529
|
budget_mandate_cents?: number;
|
|
20687
22530
|
complaint_description?: string | null;
|
|
22531
|
+
contact_id?: string | null;
|
|
20688
22532
|
created_at?: string;
|
|
20689
|
-
|
|
22533
|
+
created_werkbon_id?: string | null;
|
|
20690
22534
|
customer_id?: string | null;
|
|
22535
|
+
deadline_date?: string | null;
|
|
22536
|
+
estimated_days?: number | null;
|
|
22537
|
+
estimated_duration_minutes?: number | null;
|
|
22538
|
+
event_id: string;
|
|
22539
|
+
external_id?: string | null;
|
|
22540
|
+
externe_referentie?: string | null;
|
|
22541
|
+
from_email?: string | null;
|
|
22542
|
+
from_name?: string | null;
|
|
22543
|
+
id?: string;
|
|
22544
|
+
internal_notes?: string | null;
|
|
22545
|
+
parsed_payload?: Json;
|
|
22546
|
+
received_at?: string | null;
|
|
22547
|
+
reviewed_at?: string | null;
|
|
22548
|
+
reviewed_by?: string | null;
|
|
22549
|
+
room_number?: string | null;
|
|
22550
|
+
scheduled_end_time?: string | null;
|
|
22551
|
+
scheduled_start_time?: string | null;
|
|
22552
|
+
status?: string;
|
|
22553
|
+
subject?: string | null;
|
|
22554
|
+
technician_id?: string | null;
|
|
22555
|
+
technician_task_description?: string | null;
|
|
22556
|
+
updated_at?: string;
|
|
22557
|
+
work_address?: string | null;
|
|
22558
|
+
};
|
|
22559
|
+
Update: {
|
|
22560
|
+
analysed?: boolean;
|
|
22561
|
+
budget_mandate_cents?: number;
|
|
22562
|
+
complaint_description?: string | null;
|
|
22563
|
+
contact_id?: string | null;
|
|
22564
|
+
created_at?: string;
|
|
22565
|
+
created_werkbon_id?: string | null;
|
|
22566
|
+
customer_id?: string | null;
|
|
22567
|
+
deadline_date?: string | null;
|
|
22568
|
+
estimated_days?: number | null;
|
|
22569
|
+
estimated_duration_minutes?: number | null;
|
|
22570
|
+
event_id?: string;
|
|
22571
|
+
external_id?: string | null;
|
|
22572
|
+
externe_referentie?: string | null;
|
|
22573
|
+
from_email?: string | null;
|
|
22574
|
+
from_name?: string | null;
|
|
22575
|
+
id?: string;
|
|
22576
|
+
internal_notes?: string | null;
|
|
22577
|
+
parsed_payload?: Json;
|
|
22578
|
+
received_at?: string | null;
|
|
22579
|
+
reviewed_at?: string | null;
|
|
22580
|
+
reviewed_by?: string | null;
|
|
22581
|
+
room_number?: string | null;
|
|
22582
|
+
scheduled_end_time?: string | null;
|
|
22583
|
+
scheduled_start_time?: string | null;
|
|
22584
|
+
status?: string;
|
|
22585
|
+
subject?: string | null;
|
|
22586
|
+
technician_id?: string | null;
|
|
22587
|
+
technician_task_description?: string | null;
|
|
22588
|
+
updated_at?: string;
|
|
22589
|
+
work_address?: string | null;
|
|
22590
|
+
};
|
|
22591
|
+
Relationships: [];
|
|
22592
|
+
};
|
|
22593
|
+
werkbon_time_logs: {
|
|
22594
|
+
Row: {
|
|
22595
|
+
activity: string;
|
|
22596
|
+
created_at: string;
|
|
22597
|
+
ended_at: string | null;
|
|
22598
|
+
id: string;
|
|
22599
|
+
note: string | null;
|
|
22600
|
+
started_at: string;
|
|
22601
|
+
user_id: string;
|
|
22602
|
+
werkbon_id: string;
|
|
22603
|
+
};
|
|
22604
|
+
Insert: {
|
|
22605
|
+
activity: string;
|
|
22606
|
+
created_at?: string;
|
|
22607
|
+
ended_at?: string | null;
|
|
22608
|
+
id?: string;
|
|
22609
|
+
note?: string | null;
|
|
22610
|
+
started_at?: string;
|
|
22611
|
+
user_id: string;
|
|
22612
|
+
werkbon_id: string;
|
|
22613
|
+
};
|
|
22614
|
+
Update: {
|
|
22615
|
+
activity?: string;
|
|
22616
|
+
created_at?: string;
|
|
22617
|
+
ended_at?: string | null;
|
|
22618
|
+
id?: string;
|
|
22619
|
+
note?: string | null;
|
|
22620
|
+
started_at?: string;
|
|
22621
|
+
user_id?: string;
|
|
22622
|
+
werkbon_id?: string;
|
|
22623
|
+
};
|
|
22624
|
+
Relationships: [
|
|
22625
|
+
{
|
|
22626
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22627
|
+
columns: ["werkbon_id"];
|
|
22628
|
+
isOneToOne: false;
|
|
22629
|
+
referencedRelation: "werkbonnen";
|
|
22630
|
+
referencedColumns: ["id"];
|
|
22631
|
+
},
|
|
22632
|
+
{
|
|
22633
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22634
|
+
columns: ["werkbon_id"];
|
|
22635
|
+
isOneToOne: false;
|
|
22636
|
+
referencedRelation: "wo_overview";
|
|
22637
|
+
referencedColumns: ["id"];
|
|
22638
|
+
}
|
|
22639
|
+
];
|
|
22640
|
+
};
|
|
22641
|
+
werkbonnen: {
|
|
22642
|
+
Row: {
|
|
22643
|
+
assigned_user_id: string | null;
|
|
22644
|
+
budget_mandate_cents: number;
|
|
22645
|
+
complaint_description: string | null;
|
|
22646
|
+
created_at: string;
|
|
22647
|
+
created_by: string | null;
|
|
22648
|
+
customer_id: string | null;
|
|
22649
|
+
deadline_date: string | null;
|
|
22650
|
+
estimated_days: number | null;
|
|
22651
|
+
estimated_duration_minutes: number | null;
|
|
22652
|
+
externe_referentie: string | null;
|
|
22653
|
+
extra_costs_cents: number;
|
|
22654
|
+
first_time_fix: boolean | null;
|
|
22655
|
+
id: string;
|
|
22656
|
+
internal_notes: string | null;
|
|
22657
|
+
needs_detail_review: boolean;
|
|
22658
|
+
parent_werkbon_id: string | null;
|
|
22659
|
+
parsed_payload: Json | null;
|
|
22660
|
+
planning_status: string;
|
|
22661
|
+
project_number: string | null;
|
|
22662
|
+
review_reasons: string[];
|
|
22663
|
+
room_number: string | null;
|
|
22664
|
+
scheduled_end_time: string | null;
|
|
22665
|
+
scheduled_start_time: string | null;
|
|
22666
|
+
sequence_number: number;
|
|
22667
|
+
signature_accepted_at: string | null;
|
|
22668
|
+
signature_by_user_id: string | null;
|
|
22669
|
+
signature_name: string | null;
|
|
22670
|
+
source_email_meta: Json | null;
|
|
22671
|
+
source_mailbox_message_id: string | null;
|
|
22672
|
+
source_pdf_path: string | null;
|
|
22673
|
+
source_type: string;
|
|
22674
|
+
status: string;
|
|
22675
|
+
technician_id: string | null;
|
|
22676
|
+
technician_notes: string | null;
|
|
22677
|
+
technician_notes_raw: string | null;
|
|
22678
|
+
technician_task_description: string | null;
|
|
22679
|
+
updated_at: string;
|
|
22680
|
+
version: number;
|
|
22681
|
+
work_address: string | null;
|
|
22682
|
+
workday_hours: number | null;
|
|
22683
|
+
};
|
|
22684
|
+
Insert: {
|
|
22685
|
+
assigned_user_id?: string | null;
|
|
22686
|
+
budget_mandate_cents?: number;
|
|
22687
|
+
complaint_description?: string | null;
|
|
22688
|
+
created_at?: string;
|
|
22689
|
+
created_by?: string | null;
|
|
22690
|
+
customer_id?: string | null;
|
|
22691
|
+
deadline_date?: string | null;
|
|
22692
|
+
estimated_days?: number | null;
|
|
22693
|
+
estimated_duration_minutes?: number | null;
|
|
20691
22694
|
externe_referentie?: string | null;
|
|
20692
22695
|
extra_costs_cents?: number;
|
|
20693
22696
|
first_time_fix?: boolean | null;
|
|
@@ -20718,6 +22721,7 @@ export type Database = {
|
|
|
20718
22721
|
updated_at?: string;
|
|
20719
22722
|
version?: number;
|
|
20720
22723
|
work_address?: string | null;
|
|
22724
|
+
workday_hours?: number | null;
|
|
20721
22725
|
};
|
|
20722
22726
|
Update: {
|
|
20723
22727
|
assigned_user_id?: string | null;
|
|
@@ -20726,6 +22730,9 @@ export type Database = {
|
|
|
20726
22730
|
created_at?: string;
|
|
20727
22731
|
created_by?: string | null;
|
|
20728
22732
|
customer_id?: string | null;
|
|
22733
|
+
deadline_date?: string | null;
|
|
22734
|
+
estimated_days?: number | null;
|
|
22735
|
+
estimated_duration_minutes?: number | null;
|
|
20729
22736
|
externe_referentie?: string | null;
|
|
20730
22737
|
extra_costs_cents?: number;
|
|
20731
22738
|
first_time_fix?: boolean | null;
|
|
@@ -20756,6 +22763,7 @@ export type Database = {
|
|
|
20756
22763
|
updated_at?: string;
|
|
20757
22764
|
version?: number;
|
|
20758
22765
|
work_address?: string | null;
|
|
22766
|
+
workday_hours?: number | null;
|
|
20759
22767
|
};
|
|
20760
22768
|
Relationships: [
|
|
20761
22769
|
{
|
|
@@ -21998,6 +24006,10 @@ export type Database = {
|
|
|
21998
24006
|
};
|
|
21999
24007
|
Returns: string;
|
|
22000
24008
|
};
|
|
24009
|
+
backfill_cart_numbers_day_seq: {
|
|
24010
|
+
Args: never;
|
|
24011
|
+
Returns: number;
|
|
24012
|
+
};
|
|
22001
24013
|
backfill_open_order_reservations: {
|
|
22002
24014
|
Args: never;
|
|
22003
24015
|
Returns: {
|
|
@@ -22036,6 +24048,15 @@ export type Database = {
|
|
|
22036
24048
|
Args: never;
|
|
22037
24049
|
Returns: boolean;
|
|
22038
24050
|
};
|
|
24051
|
+
cancel_open_print_jobs: {
|
|
24052
|
+
Args: {
|
|
24053
|
+
_cutoff: string;
|
|
24054
|
+
};
|
|
24055
|
+
Returns: {
|
|
24056
|
+
extern_job_id: string;
|
|
24057
|
+
id: string;
|
|
24058
|
+
}[];
|
|
24059
|
+
};
|
|
22039
24060
|
check_offer_product_available_stock: {
|
|
22040
24061
|
Args: {
|
|
22041
24062
|
p_campaign_product_id: string;
|
|
@@ -22475,8 +24496,6 @@ export type Database = {
|
|
|
22475
24496
|
cart_index: number;
|
|
22476
24497
|
cart_number: string;
|
|
22477
24498
|
cart_number_id: string;
|
|
22478
|
-
cart_seq: number;
|
|
22479
|
-
cart_total: number;
|
|
22480
24499
|
order_id: string;
|
|
22481
24500
|
order_number: string;
|
|
22482
24501
|
order_source: string;
|
|
@@ -22701,6 +24720,17 @@ export type Database = {
|
|
|
22701
24720
|
};
|
|
22702
24721
|
Returns: boolean;
|
|
22703
24722
|
};
|
|
24723
|
+
floriday_adopt_connection: {
|
|
24724
|
+
Args: {
|
|
24725
|
+
p_new: string;
|
|
24726
|
+
p_old: string;
|
|
24727
|
+
};
|
|
24728
|
+
Returns: Json;
|
|
24729
|
+
};
|
|
24730
|
+
floriday_autoheal_connections: {
|
|
24731
|
+
Args: never;
|
|
24732
|
+
Returns: Json;
|
|
24733
|
+
};
|
|
22704
24734
|
floriday_capture_stock_snapshot: {
|
|
22705
24735
|
Args: never;
|
|
22706
24736
|
Returns: number;
|
|
@@ -22758,6 +24788,12 @@ export type Database = {
|
|
|
22758
24788
|
};
|
|
22759
24789
|
Returns: undefined;
|
|
22760
24790
|
};
|
|
24791
|
+
floriday_relink_products: {
|
|
24792
|
+
Args: {
|
|
24793
|
+
p_connection_id?: string;
|
|
24794
|
+
};
|
|
24795
|
+
Returns: Json;
|
|
24796
|
+
};
|
|
22761
24797
|
floriday_requeue_dead_letters: {
|
|
22762
24798
|
Args: {
|
|
22763
24799
|
p_connection_id?: string;
|
|
@@ -22980,6 +25016,27 @@ export type Database = {
|
|
|
22980
25016
|
Args: never;
|
|
22981
25017
|
Returns: string;
|
|
22982
25018
|
};
|
|
25019
|
+
handover_afspraak_intrekken: {
|
|
25020
|
+
Args: {
|
|
25021
|
+
_sleutel: string;
|
|
25022
|
+
};
|
|
25023
|
+
Returns: boolean;
|
|
25024
|
+
};
|
|
25025
|
+
handover_afspraak_zetten: {
|
|
25026
|
+
Args: {
|
|
25027
|
+
_besluit: string;
|
|
25028
|
+
_item: string;
|
|
25029
|
+
_modules: string[];
|
|
25030
|
+
_sleutel: string;
|
|
25031
|
+
_soort: string;
|
|
25032
|
+
_versie_vingerafdruk: string;
|
|
25033
|
+
};
|
|
25034
|
+
Returns: boolean;
|
|
25035
|
+
};
|
|
25036
|
+
handover_afspraken: {
|
|
25037
|
+
Args: never;
|
|
25038
|
+
Returns: Json;
|
|
25039
|
+
};
|
|
22983
25040
|
handover_archief_lijst: {
|
|
22984
25041
|
Args: never;
|
|
22985
25042
|
Returns: Json;
|
|
@@ -22997,6 +25054,12 @@ export type Database = {
|
|
|
22997
25054
|
};
|
|
22998
25055
|
Returns: boolean;
|
|
22999
25056
|
};
|
|
25057
|
+
handover_check_afronden_na_scan: {
|
|
25058
|
+
Args: {
|
|
25059
|
+
_module_ids: string[];
|
|
25060
|
+
};
|
|
25061
|
+
Returns: number;
|
|
25062
|
+
};
|
|
23000
25063
|
handover_check_markeren: {
|
|
23001
25064
|
Args: {
|
|
23002
25065
|
_module_ids: string[];
|
|
@@ -23040,6 +25103,14 @@ export type Database = {
|
|
|
23040
25103
|
};
|
|
23041
25104
|
Returns: boolean;
|
|
23042
25105
|
};
|
|
25106
|
+
handover_md_bron_zetten: {
|
|
25107
|
+
Args: {
|
|
25108
|
+
_md: boolean;
|
|
25109
|
+
_module_id: string;
|
|
25110
|
+
_pad?: string;
|
|
25111
|
+
};
|
|
25112
|
+
Returns: boolean;
|
|
25113
|
+
};
|
|
23043
25114
|
handover_module_meta_zetten: {
|
|
23044
25115
|
Args: {
|
|
23045
25116
|
_module_id: string;
|
|
@@ -23048,6 +25119,24 @@ export type Database = {
|
|
|
23048
25119
|
};
|
|
23049
25120
|
Returns: boolean;
|
|
23050
25121
|
};
|
|
25122
|
+
handover_naam_zetten: {
|
|
25123
|
+
Args: {
|
|
25124
|
+
_bron_repo?: string;
|
|
25125
|
+
_module_id: string;
|
|
25126
|
+
_weergavenaam?: string;
|
|
25127
|
+
};
|
|
25128
|
+
Returns: boolean;
|
|
25129
|
+
};
|
|
25130
|
+
handover_namen: {
|
|
25131
|
+
Args: never;
|
|
25132
|
+
Returns: Json;
|
|
25133
|
+
};
|
|
25134
|
+
handover_nieuw_gezien: {
|
|
25135
|
+
Args: {
|
|
25136
|
+
_module_id: string;
|
|
25137
|
+
};
|
|
25138
|
+
Returns: boolean;
|
|
25139
|
+
};
|
|
23051
25140
|
handover_norm_naam: {
|
|
23052
25141
|
Args: {
|
|
23053
25142
|
_naam: string;
|
|
@@ -23084,6 +25173,24 @@ export type Database = {
|
|
|
23084
25173
|
_versie_label?: string;
|
|
23085
25174
|
};
|
|
23086
25175
|
Returns: Json;
|
|
25176
|
+
} | {
|
|
25177
|
+
Args: {
|
|
25178
|
+
_bekende_risicos?: string[];
|
|
25179
|
+
_bezit_tabellen?: string[];
|
|
25180
|
+
_bron_soort?: string;
|
|
25181
|
+
_commit?: string;
|
|
25182
|
+
_contractfuncties?: string[];
|
|
25183
|
+
_inhoud_md: string;
|
|
25184
|
+
_laatst_bevestigd_op?: string;
|
|
25185
|
+
_module_id: string;
|
|
25186
|
+
_module_titel: string;
|
|
25187
|
+
_ontbrekende_contracten?: string[];
|
|
25188
|
+
_pad?: string;
|
|
25189
|
+
_repo?: string;
|
|
25190
|
+
_samenvatting?: string;
|
|
25191
|
+
_versie_label?: string;
|
|
25192
|
+
};
|
|
25193
|
+
Returns: Json;
|
|
23087
25194
|
};
|
|
23088
25195
|
handover_publish_via_token: {
|
|
23089
25196
|
Args: {
|
|
@@ -23181,6 +25288,27 @@ export type Database = {
|
|
|
23181
25288
|
Args: never;
|
|
23182
25289
|
Returns: boolean;
|
|
23183
25290
|
};
|
|
25291
|
+
inkoop_apply_price_list: {
|
|
25292
|
+
Args: {
|
|
25293
|
+
_price_list_id: string;
|
|
25294
|
+
_rows: Json;
|
|
25295
|
+
};
|
|
25296
|
+
Returns: Json;
|
|
25297
|
+
};
|
|
25298
|
+
inkoop_next_order_number: {
|
|
25299
|
+
Args: never;
|
|
25300
|
+
Returns: string;
|
|
25301
|
+
};
|
|
25302
|
+
inkoop_send_order: {
|
|
25303
|
+
Args: {
|
|
25304
|
+
_order_id: string;
|
|
25305
|
+
};
|
|
25306
|
+
Returns: {
|
|
25307
|
+
outbox_id: string;
|
|
25308
|
+
supplier_name: string;
|
|
25309
|
+
to_address: string;
|
|
25310
|
+
}[];
|
|
25311
|
+
};
|
|
23184
25312
|
instructie_get: {
|
|
23185
25313
|
Args: {
|
|
23186
25314
|
_sleutel: string;
|
|
@@ -23240,6 +25368,13 @@ export type Database = {
|
|
|
23240
25368
|
};
|
|
23241
25369
|
Returns: Json;
|
|
23242
25370
|
};
|
|
25371
|
+
invoice_source_lines: {
|
|
25372
|
+
Args: {
|
|
25373
|
+
_source_id: string;
|
|
25374
|
+
_source_type: string;
|
|
25375
|
+
};
|
|
25376
|
+
Returns: Json;
|
|
25377
|
+
};
|
|
23243
25378
|
is_authenticated: {
|
|
23244
25379
|
Args: never;
|
|
23245
25380
|
Returns: boolean;
|
|
@@ -23379,6 +25514,10 @@ export type Database = {
|
|
|
23379
25514
|
};
|
|
23380
25515
|
Returns: string;
|
|
23381
25516
|
};
|
|
25517
|
+
logistics_active_layout_method: {
|
|
25518
|
+
Args: never;
|
|
25519
|
+
Returns: string;
|
|
25520
|
+
};
|
|
23382
25521
|
logistics_active_pick_workdays: {
|
|
23383
25522
|
Args: never;
|
|
23384
25523
|
Returns: string[];
|
|
@@ -23430,21 +25569,78 @@ export type Database = {
|
|
|
23430
25569
|
};
|
|
23431
25570
|
Returns: Json;
|
|
23432
25571
|
};
|
|
23433
|
-
|
|
23434
|
-
Args: {
|
|
23435
|
-
p_settings: Json;
|
|
23436
|
-
};
|
|
23437
|
-
Returns: string[];
|
|
23438
|
-
};
|
|
23439
|
-
logistics_buffer_decision: {
|
|
25572
|
+
logistics_block_reason_code: {
|
|
23440
25573
|
Args: {
|
|
23441
|
-
|
|
23442
|
-
|
|
23443
|
-
p_user_id?: string;
|
|
25574
|
+
p_details?: Json;
|
|
25575
|
+
p_reason: string;
|
|
23444
25576
|
};
|
|
23445
|
-
Returns:
|
|
25577
|
+
Returns: string;
|
|
23446
25578
|
};
|
|
23447
|
-
|
|
25579
|
+
logistics_blocked_orders: {
|
|
25580
|
+
Args: never;
|
|
25581
|
+
Returns: {
|
|
25582
|
+
attempts: number;
|
|
25583
|
+
blocked_since: string;
|
|
25584
|
+
delivery_date: string;
|
|
25585
|
+
order_id: string;
|
|
25586
|
+
order_ref: string;
|
|
25587
|
+
queue_id: string;
|
|
25588
|
+
reason: string;
|
|
25589
|
+
reason_code: string;
|
|
25590
|
+
}[];
|
|
25591
|
+
};
|
|
25592
|
+
logistics_blocked_overview: {
|
|
25593
|
+
Args: never;
|
|
25594
|
+
Returns: Json;
|
|
25595
|
+
};
|
|
25596
|
+
logistics_buffer_criteria: {
|
|
25597
|
+
Args: {
|
|
25598
|
+
p_settings: Json;
|
|
25599
|
+
};
|
|
25600
|
+
Returns: string[];
|
|
25601
|
+
};
|
|
25602
|
+
logistics_buffer_decision: {
|
|
25603
|
+
Args: {
|
|
25604
|
+
p_order?: Json;
|
|
25605
|
+
p_strategy_id?: string;
|
|
25606
|
+
p_user_id?: string;
|
|
25607
|
+
};
|
|
25608
|
+
Returns: Json;
|
|
25609
|
+
};
|
|
25610
|
+
logistics_buffer_detach_late_orders: {
|
|
25611
|
+
Args: {
|
|
25612
|
+
p_buffer?: string;
|
|
25613
|
+
};
|
|
25614
|
+
Returns: Json;
|
|
25615
|
+
};
|
|
25616
|
+
logistics_buffer_frozen_order: {
|
|
25617
|
+
Args: {
|
|
25618
|
+
p_order_id: string;
|
|
25619
|
+
};
|
|
25620
|
+
Returns: boolean;
|
|
25621
|
+
};
|
|
25622
|
+
logistics_buffer_handled: {
|
|
25623
|
+
Args: {
|
|
25624
|
+
p_buffer: string;
|
|
25625
|
+
};
|
|
25626
|
+
Returns: boolean;
|
|
25627
|
+
};
|
|
25628
|
+
logistics_buffer_notify: {
|
|
25629
|
+
Args: {
|
|
25630
|
+
p_event_type: string;
|
|
25631
|
+
p_idempotency_key: string;
|
|
25632
|
+
p_order_ref: string;
|
|
25633
|
+
p_payload: Json;
|
|
25634
|
+
};
|
|
25635
|
+
Returns: string;
|
|
25636
|
+
};
|
|
25637
|
+
logistics_buffer_open_key: {
|
|
25638
|
+
Args: {
|
|
25639
|
+
p_base_key: string;
|
|
25640
|
+
};
|
|
25641
|
+
Returns: string;
|
|
25642
|
+
};
|
|
25643
|
+
logistics_buffer_simulate: {
|
|
23448
25644
|
Args: {
|
|
23449
25645
|
p_orders?: Json;
|
|
23450
25646
|
p_strategy_id?: string;
|
|
@@ -23496,6 +25692,12 @@ export type Database = {
|
|
|
23496
25692
|
};
|
|
23497
25693
|
Returns: string;
|
|
23498
25694
|
};
|
|
25695
|
+
logistics_cart_checkin_at: {
|
|
25696
|
+
Args: {
|
|
25697
|
+
p_cart_id: string;
|
|
25698
|
+
};
|
|
25699
|
+
Returns: string;
|
|
25700
|
+
};
|
|
23499
25701
|
logistics_cart_handled: {
|
|
23500
25702
|
Args: {
|
|
23501
25703
|
p_cart_index: number;
|
|
@@ -23529,10 +25731,59 @@ export type Database = {
|
|
|
23529
25731
|
task_status: string;
|
|
23530
25732
|
}[];
|
|
23531
25733
|
};
|
|
25734
|
+
logistics_cart_is_full: {
|
|
25735
|
+
Args: {
|
|
25736
|
+
p_cart_id: string;
|
|
25737
|
+
};
|
|
25738
|
+
Returns: boolean;
|
|
25739
|
+
};
|
|
23532
25740
|
logistics_cart_layout_method: {
|
|
23533
25741
|
Args: never;
|
|
23534
25742
|
Returns: Json;
|
|
23535
25743
|
};
|
|
25744
|
+
logistics_cart_order_refs: {
|
|
25745
|
+
Args: {
|
|
25746
|
+
p_cart_id: string;
|
|
25747
|
+
};
|
|
25748
|
+
Returns: string[];
|
|
25749
|
+
};
|
|
25750
|
+
logistics_cart_plan_overview: {
|
|
25751
|
+
Args: {
|
|
25752
|
+
p_days?: number;
|
|
25753
|
+
};
|
|
25754
|
+
Returns: {
|
|
25755
|
+
cart_total: number;
|
|
25756
|
+
delivery_date: string;
|
|
25757
|
+
order_ref: string;
|
|
25758
|
+
plan_ready: boolean;
|
|
25759
|
+
reason: string;
|
|
25760
|
+
released: boolean;
|
|
25761
|
+
}[];
|
|
25762
|
+
};
|
|
25763
|
+
logistics_cart_plan_status: {
|
|
25764
|
+
Args: {
|
|
25765
|
+
p_ref: string;
|
|
25766
|
+
};
|
|
25767
|
+
Returns: Json;
|
|
25768
|
+
};
|
|
25769
|
+
logistics_cart_plan_status_core: {
|
|
25770
|
+
Args: {
|
|
25771
|
+
p_ref: string;
|
|
25772
|
+
};
|
|
25773
|
+
Returns: Json;
|
|
25774
|
+
};
|
|
25775
|
+
logistics_cart_release_reason: {
|
|
25776
|
+
Args: {
|
|
25777
|
+
p_cart_id: string;
|
|
25778
|
+
};
|
|
25779
|
+
Returns: string;
|
|
25780
|
+
};
|
|
25781
|
+
logistics_cart_released: {
|
|
25782
|
+
Args: {
|
|
25783
|
+
p_cart_id: string;
|
|
25784
|
+
};
|
|
25785
|
+
Returns: boolean;
|
|
25786
|
+
};
|
|
23536
25787
|
logistics_cart_seq: {
|
|
23537
25788
|
Args: {
|
|
23538
25789
|
p_order_uuid?: string;
|
|
@@ -23583,6 +25834,10 @@ export type Database = {
|
|
|
23583
25834
|
unit_ref: string;
|
|
23584
25835
|
}[];
|
|
23585
25836
|
};
|
|
25837
|
+
logistics_carts_per_print: {
|
|
25838
|
+
Args: never;
|
|
25839
|
+
Returns: number;
|
|
25840
|
+
};
|
|
23586
25841
|
logistics_check_order_allowed: {
|
|
23587
25842
|
Args: {
|
|
23588
25843
|
p_lines: Json;
|
|
@@ -23686,6 +25941,16 @@ export type Database = {
|
|
|
23686
25941
|
isSetofReturn: false;
|
|
23687
25942
|
};
|
|
23688
25943
|
};
|
|
25944
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
25945
|
+
Args: never;
|
|
25946
|
+
Returns: Json;
|
|
25947
|
+
};
|
|
25948
|
+
logistics_cleanup_tasks: {
|
|
25949
|
+
Args: {
|
|
25950
|
+
p_limit?: number;
|
|
25951
|
+
};
|
|
25952
|
+
Returns: Json;
|
|
25953
|
+
};
|
|
23689
25954
|
logistics_complete_task: {
|
|
23690
25955
|
Args: {
|
|
23691
25956
|
p_result?: Json;
|
|
@@ -23748,6 +26013,12 @@ export type Database = {
|
|
|
23748
26013
|
station_carts: number;
|
|
23749
26014
|
}[];
|
|
23750
26015
|
};
|
|
26016
|
+
logistics_control_complete_cart: {
|
|
26017
|
+
Args: {
|
|
26018
|
+
p_cart_id: string;
|
|
26019
|
+
};
|
|
26020
|
+
Returns: number;
|
|
26021
|
+
};
|
|
23751
26022
|
logistics_control_scan_approve: {
|
|
23752
26023
|
Args: {
|
|
23753
26024
|
p_allow_reprint?: boolean;
|
|
@@ -23827,6 +26098,15 @@ export type Database = {
|
|
|
23827
26098
|
Args: never;
|
|
23828
26099
|
Returns: Json;
|
|
23829
26100
|
};
|
|
26101
|
+
logistics_day_windows: {
|
|
26102
|
+
Args: {
|
|
26103
|
+
p_day: string;
|
|
26104
|
+
};
|
|
26105
|
+
Returns: {
|
|
26106
|
+
win_end: string;
|
|
26107
|
+
win_start: string;
|
|
26108
|
+
}[];
|
|
26109
|
+
};
|
|
23830
26110
|
logistics_delay_customer_email: {
|
|
23831
26111
|
Args: {
|
|
23832
26112
|
p_customer: string;
|
|
@@ -23894,6 +26174,17 @@ export type Database = {
|
|
|
23894
26174
|
};
|
|
23895
26175
|
Returns: Json;
|
|
23896
26176
|
};
|
|
26177
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
26178
|
+
Args: {
|
|
26179
|
+
_cart_id: string;
|
|
26180
|
+
_is_herprint: boolean;
|
|
26181
|
+
_printer_id: string;
|
|
26182
|
+
_queue_item_id: string;
|
|
26183
|
+
_session_id: string;
|
|
26184
|
+
_slip_job_id: string;
|
|
26185
|
+
};
|
|
26186
|
+
Returns: string;
|
|
26187
|
+
};
|
|
23897
26188
|
logistics_enqueue_sticker_with_slip: {
|
|
23898
26189
|
Args: {
|
|
23899
26190
|
_cart_id: string;
|
|
@@ -23911,6 +26202,20 @@ export type Database = {
|
|
|
23911
26202
|
};
|
|
23912
26203
|
Returns: string;
|
|
23913
26204
|
};
|
|
26205
|
+
logistics_ensure_pick_data: {
|
|
26206
|
+
Args: {
|
|
26207
|
+
p_event_id?: string;
|
|
26208
|
+
p_missing?: Json;
|
|
26209
|
+
p_ref: string;
|
|
26210
|
+
};
|
|
26211
|
+
Returns: Json;
|
|
26212
|
+
};
|
|
26213
|
+
logistics_ensure_shipping_notes: {
|
|
26214
|
+
Args: {
|
|
26215
|
+
p_limit?: number;
|
|
26216
|
+
};
|
|
26217
|
+
Returns: Json;
|
|
26218
|
+
};
|
|
23914
26219
|
logistics_fail_task: {
|
|
23915
26220
|
Args: {
|
|
23916
26221
|
p_error: string;
|
|
@@ -23956,6 +26261,10 @@ export type Database = {
|
|
|
23956
26261
|
isSetofReturn: false;
|
|
23957
26262
|
};
|
|
23958
26263
|
};
|
|
26264
|
+
logistics_fix_wrong_shipping_notes: {
|
|
26265
|
+
Args: never;
|
|
26266
|
+
Returns: Json;
|
|
26267
|
+
};
|
|
23959
26268
|
logistics_floriday_cart_plan: {
|
|
23960
26269
|
Args: {
|
|
23961
26270
|
p_order_id: string;
|
|
@@ -23983,6 +26292,10 @@ export type Database = {
|
|
|
23983
26292
|
revision: number;
|
|
23984
26293
|
}[];
|
|
23985
26294
|
};
|
|
26295
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
26296
|
+
Args: never;
|
|
26297
|
+
Returns: boolean;
|
|
26298
|
+
};
|
|
23986
26299
|
logistics_floriday_finish_push: {
|
|
23987
26300
|
Args: {
|
|
23988
26301
|
_error?: string;
|
|
@@ -24032,6 +26345,38 @@ export type Database = {
|
|
|
24032
26345
|
};
|
|
24033
26346
|
Returns: string;
|
|
24034
26347
|
};
|
|
26348
|
+
logistics_floriday_gate_status: {
|
|
26349
|
+
Args: never;
|
|
26350
|
+
Returns: Json;
|
|
26351
|
+
};
|
|
26352
|
+
logistics_floriday_log_refusal: {
|
|
26353
|
+
Args: {
|
|
26354
|
+
_action?: string;
|
|
26355
|
+
_module?: string;
|
|
26356
|
+
_order_ref: string;
|
|
26357
|
+
_reason: string;
|
|
26358
|
+
_shell?: string;
|
|
26359
|
+
};
|
|
26360
|
+
Returns: undefined;
|
|
26361
|
+
};
|
|
26362
|
+
logistics_floriday_log_send: {
|
|
26363
|
+
Args: {
|
|
26364
|
+
_action: string;
|
|
26365
|
+
_detail?: string;
|
|
26366
|
+
_http_status?: number;
|
|
26367
|
+
_module?: string;
|
|
26368
|
+
_ok: boolean;
|
|
26369
|
+
_order_ref: string;
|
|
26370
|
+
_shell?: string;
|
|
26371
|
+
};
|
|
26372
|
+
Returns: undefined;
|
|
26373
|
+
};
|
|
26374
|
+
logistics_floriday_order_approved: {
|
|
26375
|
+
Args: {
|
|
26376
|
+
_order_ref: string;
|
|
26377
|
+
};
|
|
26378
|
+
Returns: boolean;
|
|
26379
|
+
};
|
|
24035
26380
|
logistics_floriday_prune_pushes: {
|
|
24036
26381
|
Args: {
|
|
24037
26382
|
_days?: number;
|
|
@@ -24046,6 +26391,20 @@ export type Database = {
|
|
|
24046
26391
|
};
|
|
24047
26392
|
Returns: string;
|
|
24048
26393
|
};
|
|
26394
|
+
logistics_floriday_status_updates_enabled: {
|
|
26395
|
+
Args: never;
|
|
26396
|
+
Returns: boolean;
|
|
26397
|
+
};
|
|
26398
|
+
logistics_floriday_stock_updates_enabled: {
|
|
26399
|
+
Args: never;
|
|
26400
|
+
Returns: boolean;
|
|
26401
|
+
};
|
|
26402
|
+
logistics_floriday_write_allowed: {
|
|
26403
|
+
Args: {
|
|
26404
|
+
_action: string;
|
|
26405
|
+
};
|
|
26406
|
+
Returns: boolean;
|
|
26407
|
+
};
|
|
24049
26408
|
logistics_fulfill_barcode_requests: {
|
|
24050
26409
|
Args: {
|
|
24051
26410
|
p_limit?: number;
|
|
@@ -24066,6 +26425,16 @@ export type Database = {
|
|
|
24066
26425
|
};
|
|
24067
26426
|
Returns: boolean;
|
|
24068
26427
|
};
|
|
26428
|
+
logistics_layout_method_status: {
|
|
26429
|
+
Args: never;
|
|
26430
|
+
Returns: Json;
|
|
26431
|
+
};
|
|
26432
|
+
logistics_link_order_items: {
|
|
26433
|
+
Args: {
|
|
26434
|
+
p_order?: string;
|
|
26435
|
+
};
|
|
26436
|
+
Returns: Json;
|
|
26437
|
+
};
|
|
24069
26438
|
logistics_live_carriers: {
|
|
24070
26439
|
Args: {
|
|
24071
26440
|
p_order_ref: string;
|
|
@@ -24078,6 +26447,22 @@ export type Database = {
|
|
|
24078
26447
|
};
|
|
24079
26448
|
Returns: number;
|
|
24080
26449
|
};
|
|
26450
|
+
logistics_merge_floriday_lines: {
|
|
26451
|
+
Args: {
|
|
26452
|
+
p_order_id: string;
|
|
26453
|
+
};
|
|
26454
|
+
Returns: string;
|
|
26455
|
+
};
|
|
26456
|
+
logistics_merge_lines_enabled: {
|
|
26457
|
+
Args: never;
|
|
26458
|
+
Returns: boolean;
|
|
26459
|
+
};
|
|
26460
|
+
logistics_merge_partial_carts: {
|
|
26461
|
+
Args: {
|
|
26462
|
+
p_limit?: number;
|
|
26463
|
+
};
|
|
26464
|
+
Returns: Json;
|
|
26465
|
+
};
|
|
24081
26466
|
logistics_next_workday_date: {
|
|
24082
26467
|
Args: {
|
|
24083
26468
|
p_date: string;
|
|
@@ -24092,18 +26477,62 @@ export type Database = {
|
|
|
24092
26477
|
};
|
|
24093
26478
|
Returns: string;
|
|
24094
26479
|
};
|
|
26480
|
+
logistics_normalize_product_label: {
|
|
26481
|
+
Args: {
|
|
26482
|
+
p_label: string;
|
|
26483
|
+
};
|
|
26484
|
+
Returns: string;
|
|
26485
|
+
};
|
|
24095
26486
|
logistics_not_past: {
|
|
24096
26487
|
Args: {
|
|
24097
26488
|
p_ts: string;
|
|
24098
26489
|
};
|
|
24099
26490
|
Returns: string;
|
|
24100
26491
|
};
|
|
26492
|
+
logistics_opening_timezone: {
|
|
26493
|
+
Args: never;
|
|
26494
|
+
Returns: string;
|
|
26495
|
+
};
|
|
26496
|
+
logistics_order_cart_approval: {
|
|
26497
|
+
Args: {
|
|
26498
|
+
_order_ref: string;
|
|
26499
|
+
};
|
|
26500
|
+
Returns: {
|
|
26501
|
+
approved: number;
|
|
26502
|
+
total: number;
|
|
26503
|
+
}[];
|
|
26504
|
+
};
|
|
24101
26505
|
logistics_order_cart_count: {
|
|
24102
26506
|
Args: {
|
|
24103
26507
|
p_order_ref: string;
|
|
24104
26508
|
};
|
|
24105
26509
|
Returns: number;
|
|
24106
26510
|
};
|
|
26511
|
+
logistics_order_changed: {
|
|
26512
|
+
Args: {
|
|
26513
|
+
p_order_id: string;
|
|
26514
|
+
p_reason?: string;
|
|
26515
|
+
};
|
|
26516
|
+
Returns: undefined;
|
|
26517
|
+
};
|
|
26518
|
+
logistics_order_documents_ready: {
|
|
26519
|
+
Args: {
|
|
26520
|
+
p_order_ref: string;
|
|
26521
|
+
};
|
|
26522
|
+
Returns: Json;
|
|
26523
|
+
};
|
|
26524
|
+
logistics_order_documents_ready_bool: {
|
|
26525
|
+
Args: {
|
|
26526
|
+
p_order_ref: string;
|
|
26527
|
+
};
|
|
26528
|
+
Returns: boolean;
|
|
26529
|
+
};
|
|
26530
|
+
logistics_order_frozen: {
|
|
26531
|
+
Args: {
|
|
26532
|
+
p_order_id: string;
|
|
26533
|
+
};
|
|
26534
|
+
Returns: boolean;
|
|
26535
|
+
};
|
|
24107
26536
|
logistics_order_handled: {
|
|
24108
26537
|
Args: {
|
|
24109
26538
|
p_order_uuid: string;
|
|
@@ -24117,6 +26546,18 @@ export type Database = {
|
|
|
24117
26546
|
};
|
|
24118
26547
|
Returns: boolean;
|
|
24119
26548
|
};
|
|
26549
|
+
logistics_order_merge_key: {
|
|
26550
|
+
Args: {
|
|
26551
|
+
p_group_key: string;
|
|
26552
|
+
};
|
|
26553
|
+
Returns: string;
|
|
26554
|
+
};
|
|
26555
|
+
logistics_order_mergeable: {
|
|
26556
|
+
Args: {
|
|
26557
|
+
p_order_id: string;
|
|
26558
|
+
};
|
|
26559
|
+
Returns: boolean;
|
|
26560
|
+
};
|
|
24120
26561
|
logistics_order_overview: {
|
|
24121
26562
|
Args: {
|
|
24122
26563
|
p_from?: string;
|
|
@@ -24154,6 +26595,12 @@ export type Database = {
|
|
|
24154
26595
|
};
|
|
24155
26596
|
Returns: string;
|
|
24156
26597
|
};
|
|
26598
|
+
logistics_payload_is_floriday: {
|
|
26599
|
+
Args: {
|
|
26600
|
+
_payload: Json;
|
|
26601
|
+
};
|
|
26602
|
+
Returns: boolean;
|
|
26603
|
+
};
|
|
24157
26604
|
logistics_pick_agenda: {
|
|
24158
26605
|
Args: {
|
|
24159
26606
|
p_from?: string;
|
|
@@ -24182,6 +26629,10 @@ export type Database = {
|
|
|
24182
26629
|
Args: never;
|
|
24183
26630
|
Returns: Json;
|
|
24184
26631
|
};
|
|
26632
|
+
logistics_pick_partial_mode: {
|
|
26633
|
+
Args: never;
|
|
26634
|
+
Returns: string;
|
|
26635
|
+
};
|
|
24185
26636
|
logistics_pick_start_estimate: {
|
|
24186
26637
|
Args: {
|
|
24187
26638
|
p_order: Json;
|
|
@@ -24231,6 +26682,12 @@ export type Database = {
|
|
|
24231
26682
|
order_id: string;
|
|
24232
26683
|
}[];
|
|
24233
26684
|
};
|
|
26685
|
+
logistics_plan_defer: {
|
|
26686
|
+
Args: {
|
|
26687
|
+
p_id: string;
|
|
26688
|
+
};
|
|
26689
|
+
Returns: undefined;
|
|
26690
|
+
};
|
|
24234
26691
|
logistics_plan_enqueue: {
|
|
24235
26692
|
Args: {
|
|
24236
26693
|
p_order_id: string;
|
|
@@ -24244,6 +26701,18 @@ export type Database = {
|
|
|
24244
26701
|
};
|
|
24245
26702
|
Returns: boolean;
|
|
24246
26703
|
};
|
|
26704
|
+
logistics_plan_error_class: {
|
|
26705
|
+
Args: {
|
|
26706
|
+
p_error: string;
|
|
26707
|
+
};
|
|
26708
|
+
Returns: string;
|
|
26709
|
+
};
|
|
26710
|
+
logistics_plan_error_text: {
|
|
26711
|
+
Args: {
|
|
26712
|
+
p_error: string;
|
|
26713
|
+
};
|
|
26714
|
+
Returns: string;
|
|
26715
|
+
};
|
|
24247
26716
|
logistics_plan_finish: {
|
|
24248
26717
|
Args: {
|
|
24249
26718
|
p_error?: string;
|
|
@@ -24272,14 +26741,86 @@ export type Database = {
|
|
|
24272
26741
|
Args: never;
|
|
24273
26742
|
Returns: undefined;
|
|
24274
26743
|
};
|
|
24275
|
-
|
|
26744
|
+
logistics_plan_lock_acquire: {
|
|
26745
|
+
Args: {
|
|
26746
|
+
_key: string;
|
|
26747
|
+
_owner?: string;
|
|
26748
|
+
_ttl_seconds?: number;
|
|
26749
|
+
};
|
|
26750
|
+
Returns: boolean;
|
|
26751
|
+
};
|
|
26752
|
+
logistics_plan_lock_release: {
|
|
26753
|
+
Args: {
|
|
26754
|
+
_key: string;
|
|
26755
|
+
_owner?: string;
|
|
26756
|
+
};
|
|
26757
|
+
Returns: undefined;
|
|
26758
|
+
};
|
|
26759
|
+
logistics_plan_progress: {
|
|
26760
|
+
Args: {
|
|
26761
|
+
p_refs: string[];
|
|
26762
|
+
};
|
|
26763
|
+
Returns: {
|
|
26764
|
+
cart_plan_ready: boolean;
|
|
26765
|
+
cart_plan_reason: string;
|
|
26766
|
+
cart_plan_released: boolean;
|
|
26767
|
+
plan_progress: number;
|
|
26768
|
+
plan_state: string;
|
|
26769
|
+
plan_state_since: string;
|
|
26770
|
+
unit_ref: string;
|
|
26771
|
+
}[];
|
|
26772
|
+
};
|
|
26773
|
+
logistics_plan_progress_pct: {
|
|
26774
|
+
Args: {
|
|
26775
|
+
p_order_id: string;
|
|
26776
|
+
};
|
|
26777
|
+
Returns: number;
|
|
26778
|
+
};
|
|
26779
|
+
logistics_plan_prune: {
|
|
24276
26780
|
Args: never;
|
|
24277
26781
|
Returns: number;
|
|
24278
26782
|
};
|
|
26783
|
+
logistics_plan_queue_list: {
|
|
26784
|
+
Args: {
|
|
26785
|
+
p_limit?: number;
|
|
26786
|
+
};
|
|
26787
|
+
Returns: {
|
|
26788
|
+
attempts: number;
|
|
26789
|
+
claimed_at: string;
|
|
26790
|
+
customer_name: string;
|
|
26791
|
+
enqueued_at: string;
|
|
26792
|
+
error_class: string;
|
|
26793
|
+
error_raw: string;
|
|
26794
|
+
error_text: string;
|
|
26795
|
+
id: string;
|
|
26796
|
+
max_attempts: number;
|
|
26797
|
+
next_attempt_at: string;
|
|
26798
|
+
order_created_at: string;
|
|
26799
|
+
order_id: string;
|
|
26800
|
+
order_number: string;
|
|
26801
|
+
progress_pct: number;
|
|
26802
|
+
reason: string;
|
|
26803
|
+
stand: string;
|
|
26804
|
+
status: string;
|
|
26805
|
+
updated_at: string;
|
|
26806
|
+
}[];
|
|
26807
|
+
};
|
|
24279
26808
|
logistics_plan_release_stale: {
|
|
24280
26809
|
Args: never;
|
|
24281
26810
|
Returns: number;
|
|
24282
26811
|
};
|
|
26812
|
+
logistics_plan_reset_queue: {
|
|
26813
|
+
Args: {
|
|
26814
|
+
p_scope?: string;
|
|
26815
|
+
};
|
|
26816
|
+
Returns: number;
|
|
26817
|
+
};
|
|
26818
|
+
logistics_plan_retry: {
|
|
26819
|
+
Args: {
|
|
26820
|
+
p_order_ids: string[];
|
|
26821
|
+
};
|
|
26822
|
+
Returns: number;
|
|
26823
|
+
};
|
|
24283
26824
|
logistics_plan_setting: {
|
|
24284
26825
|
Args: {
|
|
24285
26826
|
p_default: number;
|
|
@@ -24287,6 +26828,22 @@ export type Database = {
|
|
|
24287
26828
|
};
|
|
24288
26829
|
Returns: number;
|
|
24289
26830
|
};
|
|
26831
|
+
logistics_plan_state_for: {
|
|
26832
|
+
Args: {
|
|
26833
|
+
p_ref: string;
|
|
26834
|
+
};
|
|
26835
|
+
Returns: Json;
|
|
26836
|
+
};
|
|
26837
|
+
logistics_plan_timeout_running: {
|
|
26838
|
+
Args: never;
|
|
26839
|
+
Returns: number;
|
|
26840
|
+
};
|
|
26841
|
+
logistics_prepare_pick_documents: {
|
|
26842
|
+
Args: {
|
|
26843
|
+
p_limit?: number;
|
|
26844
|
+
};
|
|
26845
|
+
Returns: Json;
|
|
26846
|
+
};
|
|
24290
26847
|
logistics_prune_buffer_member_queue: {
|
|
24291
26848
|
Args: never;
|
|
24292
26849
|
Returns: number;
|
|
@@ -24327,12 +26884,42 @@ export type Database = {
|
|
|
24327
26884
|
Args: never;
|
|
24328
26885
|
Returns: Json;
|
|
24329
26886
|
};
|
|
26887
|
+
logistics_refresh_pick_queue_status: {
|
|
26888
|
+
Args: {
|
|
26889
|
+
p_ref: string;
|
|
26890
|
+
};
|
|
26891
|
+
Returns: number;
|
|
26892
|
+
};
|
|
24330
26893
|
logistics_refresh_pickup_moments: {
|
|
24331
26894
|
Args: {
|
|
24332
26895
|
p_weeks?: number;
|
|
24333
26896
|
};
|
|
24334
26897
|
Returns: Json;
|
|
24335
26898
|
};
|
|
26899
|
+
logistics_refresh_plan_state: {
|
|
26900
|
+
Args: {
|
|
26901
|
+
p_limit?: number;
|
|
26902
|
+
};
|
|
26903
|
+
Returns: Json;
|
|
26904
|
+
};
|
|
26905
|
+
logistics_replan_all: {
|
|
26906
|
+
Args: {
|
|
26907
|
+
p_reason?: string;
|
|
26908
|
+
};
|
|
26909
|
+
Returns: Json;
|
|
26910
|
+
};
|
|
26911
|
+
logistics_replan_all_force: {
|
|
26912
|
+
Args: {
|
|
26913
|
+
p_reason?: string;
|
|
26914
|
+
};
|
|
26915
|
+
Returns: Json;
|
|
26916
|
+
};
|
|
26917
|
+
logistics_replan_order_journey: {
|
|
26918
|
+
Args: {
|
|
26919
|
+
p_order_ref: string;
|
|
26920
|
+
};
|
|
26921
|
+
Returns: Json;
|
|
26922
|
+
};
|
|
24336
26923
|
logistics_report_delay: {
|
|
24337
26924
|
Args: {
|
|
24338
26925
|
p_expected_date?: string;
|
|
@@ -24386,6 +26973,12 @@ export type Database = {
|
|
|
24386
26973
|
};
|
|
24387
26974
|
Returns: Json;
|
|
24388
26975
|
};
|
|
26976
|
+
logistics_resolve_product_id: {
|
|
26977
|
+
Args: {
|
|
26978
|
+
p_label: string;
|
|
26979
|
+
};
|
|
26980
|
+
Returns: string;
|
|
26981
|
+
};
|
|
24389
26982
|
logistics_resolve_settings: {
|
|
24390
26983
|
Args: {
|
|
24391
26984
|
p_config_id: string;
|
|
@@ -24433,87 +27026,357 @@ export type Database = {
|
|
|
24433
27026
|
Args: never;
|
|
24434
27027
|
Returns: number;
|
|
24435
27028
|
};
|
|
24436
|
-
logistics_scan_order_stock: {
|
|
27029
|
+
logistics_scan_order_stock: {
|
|
27030
|
+
Args: {
|
|
27031
|
+
p_order_id: string;
|
|
27032
|
+
};
|
|
27033
|
+
Returns: string;
|
|
27034
|
+
};
|
|
27035
|
+
logistics_scan_resolve: {
|
|
27036
|
+
Args: {
|
|
27037
|
+
p_code: string;
|
|
27038
|
+
};
|
|
27039
|
+
Returns: Json;
|
|
27040
|
+
};
|
|
27041
|
+
logistics_schedule_tasks: {
|
|
27042
|
+
Args: never;
|
|
27043
|
+
Returns: number;
|
|
27044
|
+
} | {
|
|
27045
|
+
Args: {
|
|
27046
|
+
p_order_ref?: string;
|
|
27047
|
+
};
|
|
27048
|
+
Returns: number;
|
|
27049
|
+
};
|
|
27050
|
+
logistics_set_order_priority: {
|
|
27051
|
+
Args: {
|
|
27052
|
+
p_order_ref: string;
|
|
27053
|
+
p_priority: number;
|
|
27054
|
+
p_user_id?: string;
|
|
27055
|
+
};
|
|
27056
|
+
Returns: number;
|
|
27057
|
+
};
|
|
27058
|
+
logistics_set_pick_day: {
|
|
27059
|
+
Args: {
|
|
27060
|
+
p_order_ref: string;
|
|
27061
|
+
p_pick_day: string;
|
|
27062
|
+
};
|
|
27063
|
+
Returns: Json;
|
|
27064
|
+
};
|
|
27065
|
+
logistics_shift_to_workday: {
|
|
27066
|
+
Args: {
|
|
27067
|
+
p_days: string[];
|
|
27068
|
+
p_ts: string;
|
|
27069
|
+
};
|
|
27070
|
+
Returns: string;
|
|
27071
|
+
};
|
|
27072
|
+
logistics_shipping_note_diagnose: {
|
|
27073
|
+
Args: {
|
|
27074
|
+
p_order_number: string;
|
|
27075
|
+
};
|
|
27076
|
+
Returns: Json;
|
|
27077
|
+
};
|
|
27078
|
+
logistics_shipping_note_follows_slip: {
|
|
27079
|
+
Args: never;
|
|
27080
|
+
Returns: boolean;
|
|
27081
|
+
};
|
|
27082
|
+
logistics_shipping_note_from_barcode: {
|
|
27083
|
+
Args: {
|
|
27084
|
+
p_allow_reprint?: boolean;
|
|
27085
|
+
p_barcode: string;
|
|
27086
|
+
p_station_id?: string;
|
|
27087
|
+
};
|
|
27088
|
+
Returns: Json;
|
|
27089
|
+
};
|
|
27090
|
+
logistics_shipping_note_job_for_slip: {
|
|
27091
|
+
Args: {
|
|
27092
|
+
_slip_job_id: string;
|
|
27093
|
+
};
|
|
27094
|
+
Returns: string;
|
|
27095
|
+
};
|
|
27096
|
+
logistics_shipping_notes_wake_all: {
|
|
27097
|
+
Args: never;
|
|
27098
|
+
Returns: Json;
|
|
27099
|
+
};
|
|
27100
|
+
logistics_slip_is_floriday: {
|
|
27101
|
+
Args: {
|
|
27102
|
+
_slip_job_id: string;
|
|
27103
|
+
};
|
|
27104
|
+
Returns: boolean;
|
|
27105
|
+
};
|
|
27106
|
+
logistics_slip_note_claim: {
|
|
27107
|
+
Args: {
|
|
27108
|
+
_lease_seconds?: number;
|
|
27109
|
+
_limit?: number;
|
|
27110
|
+
};
|
|
27111
|
+
Returns: {
|
|
27112
|
+
attempts: number;
|
|
27113
|
+
batch_key: string | null;
|
|
27114
|
+
cart_id: string | null;
|
|
27115
|
+
created_at: string;
|
|
27116
|
+
error: string | null;
|
|
27117
|
+
error_code: string | null;
|
|
27118
|
+
fulfillment_order_id: string | null;
|
|
27119
|
+
id: string;
|
|
27120
|
+
locked_until: string | null;
|
|
27121
|
+
next_attempt_at: string | null;
|
|
27122
|
+
order_id: string | null;
|
|
27123
|
+
order_number: string | null;
|
|
27124
|
+
print_job_id: string | null;
|
|
27125
|
+
printer_id: string | null;
|
|
27126
|
+
retry_class: string | null;
|
|
27127
|
+
slip_job_id: string;
|
|
27128
|
+
status: string;
|
|
27129
|
+
updated_at: string;
|
|
27130
|
+
}[];
|
|
27131
|
+
SetofOptions: {
|
|
27132
|
+
from: "*";
|
|
27133
|
+
to: "logistics_slip_shipping_note";
|
|
27134
|
+
isOneToOne: false;
|
|
27135
|
+
isSetofReturn: true;
|
|
27136
|
+
};
|
|
27137
|
+
};
|
|
27138
|
+
logistics_slip_note_finish: {
|
|
27139
|
+
Args: {
|
|
27140
|
+
_error?: string;
|
|
27141
|
+
_error_code?: string;
|
|
27142
|
+
_fulfillment_order_id?: string;
|
|
27143
|
+
_id: string;
|
|
27144
|
+
_ok: boolean;
|
|
27145
|
+
_print_job_id?: string;
|
|
27146
|
+
_status?: string;
|
|
27147
|
+
};
|
|
27148
|
+
Returns: undefined;
|
|
27149
|
+
};
|
|
27150
|
+
logistics_slip_note_keep_waiting: {
|
|
27151
|
+
Args: {
|
|
27152
|
+
_class?: string;
|
|
27153
|
+
_id: string;
|
|
27154
|
+
_reason: string;
|
|
27155
|
+
};
|
|
27156
|
+
Returns: undefined;
|
|
27157
|
+
};
|
|
27158
|
+
logistics_sticker_follows_slip: {
|
|
27159
|
+
Args: never;
|
|
27160
|
+
Returns: boolean;
|
|
27161
|
+
};
|
|
27162
|
+
logistics_subtract_working_minutes: {
|
|
27163
|
+
Args: {
|
|
27164
|
+
p_deadline: string;
|
|
27165
|
+
p_max_workdays?: number;
|
|
27166
|
+
p_minutes: number;
|
|
27167
|
+
};
|
|
27168
|
+
Returns: Json;
|
|
27169
|
+
};
|
|
27170
|
+
logistics_supersede_stale_tasks: {
|
|
27171
|
+
Args: {
|
|
27172
|
+
p_keep: string[];
|
|
27173
|
+
p_order_ref: string;
|
|
27174
|
+
p_run_id: string;
|
|
27175
|
+
p_user_id: string;
|
|
27176
|
+
};
|
|
27177
|
+
Returns: number;
|
|
27178
|
+
};
|
|
27179
|
+
logistics_sync_pick_queue: {
|
|
27180
|
+
Args: never;
|
|
27181
|
+
Returns: Json;
|
|
27182
|
+
};
|
|
27183
|
+
logistics_sync_task_carriers: {
|
|
27184
|
+
Args: {
|
|
27185
|
+
p_order_ref?: string;
|
|
27186
|
+
};
|
|
27187
|
+
Returns: number;
|
|
27188
|
+
};
|
|
27189
|
+
logistics_task_owner: {
|
|
27190
|
+
Args: {
|
|
27191
|
+
p_task_type: string;
|
|
27192
|
+
};
|
|
27193
|
+
Returns: string;
|
|
27194
|
+
};
|
|
27195
|
+
logistics_task_pick_minutes: {
|
|
27196
|
+
Args: {
|
|
27197
|
+
p_payload: Json;
|
|
27198
|
+
p_settings: Json;
|
|
27199
|
+
};
|
|
27200
|
+
Returns: number;
|
|
27201
|
+
};
|
|
27202
|
+
logistics_task_retention_days: {
|
|
27203
|
+
Args: never;
|
|
27204
|
+
Returns: number;
|
|
27205
|
+
};
|
|
27206
|
+
logistics_tick_ping: {
|
|
27207
|
+
Args: never;
|
|
27208
|
+
Returns: string;
|
|
27209
|
+
};
|
|
27210
|
+
logistics_timezone_options: {
|
|
27211
|
+
Args: never;
|
|
27212
|
+
Returns: {
|
|
27213
|
+
name: string;
|
|
27214
|
+
}[];
|
|
27215
|
+
};
|
|
27216
|
+
logistics_trace: {
|
|
27217
|
+
Args: {
|
|
27218
|
+
p: Json;
|
|
27219
|
+
};
|
|
27220
|
+
Returns: string;
|
|
27221
|
+
};
|
|
27222
|
+
logistics_trace_all_orders: {
|
|
27223
|
+
Args: {
|
|
27224
|
+
p_limit?: number;
|
|
27225
|
+
p_search?: string;
|
|
27226
|
+
};
|
|
27227
|
+
Returns: Json;
|
|
27228
|
+
};
|
|
27229
|
+
logistics_trace_archive_order: {
|
|
27230
|
+
Args: {
|
|
27231
|
+
p_order_ref: string;
|
|
27232
|
+
p_reason: string;
|
|
27233
|
+
};
|
|
27234
|
+
Returns: number;
|
|
27235
|
+
};
|
|
27236
|
+
logistics_trace_batch: {
|
|
27237
|
+
Args: {
|
|
27238
|
+
p: Json;
|
|
27239
|
+
};
|
|
27240
|
+
Returns: number;
|
|
27241
|
+
};
|
|
27242
|
+
logistics_trace_derive: {
|
|
27243
|
+
Args: {
|
|
27244
|
+
p: Json;
|
|
27245
|
+
};
|
|
27246
|
+
Returns: number;
|
|
27247
|
+
};
|
|
27248
|
+
logistics_trace_node: {
|
|
27249
|
+
Args: {
|
|
27250
|
+
p_op?: string;
|
|
27251
|
+
p_status?: string;
|
|
27252
|
+
p_table: string;
|
|
27253
|
+
};
|
|
27254
|
+
Returns: string;
|
|
27255
|
+
};
|
|
27256
|
+
logistics_trace_order_journey_start: {
|
|
27257
|
+
Args: {
|
|
27258
|
+
p_order_id: string;
|
|
27259
|
+
p_reason?: string;
|
|
27260
|
+
};
|
|
27261
|
+
Returns: string;
|
|
27262
|
+
};
|
|
27263
|
+
logistics_trace_order_origin: {
|
|
27264
|
+
Args: {
|
|
27265
|
+
p_order_id: string;
|
|
27266
|
+
};
|
|
27267
|
+
Returns: undefined;
|
|
27268
|
+
};
|
|
27269
|
+
logistics_trace_order_overview: {
|
|
27270
|
+
Args: {
|
|
27271
|
+
p_error_class?: string;
|
|
27272
|
+
p_limit?: number;
|
|
27273
|
+
p_search?: string;
|
|
27274
|
+
p_since?: string;
|
|
27275
|
+
p_source?: string;
|
|
27276
|
+
p_state?: string;
|
|
27277
|
+
p_step?: string;
|
|
27278
|
+
};
|
|
27279
|
+
Returns: Json;
|
|
27280
|
+
};
|
|
27281
|
+
logistics_trace_order_state: {
|
|
27282
|
+
Args: {
|
|
27283
|
+
p_order_ref: string;
|
|
27284
|
+
};
|
|
27285
|
+
Returns: Json;
|
|
27286
|
+
};
|
|
27287
|
+
logistics_trace_order_step: {
|
|
27288
|
+
Args: {
|
|
27289
|
+
p_class?: string;
|
|
27290
|
+
p_decision?: string;
|
|
27291
|
+
p_error?: string;
|
|
27292
|
+
p_next_step?: string;
|
|
27293
|
+
p_node: string;
|
|
27294
|
+
p_order_id: string;
|
|
27295
|
+
p_reason?: string;
|
|
27296
|
+
p_status: string;
|
|
27297
|
+
p_step: string;
|
|
27298
|
+
};
|
|
27299
|
+
Returns: undefined;
|
|
27300
|
+
};
|
|
27301
|
+
logistics_trace_orders: {
|
|
27302
|
+
Args: {
|
|
27303
|
+
p_limit?: number;
|
|
27304
|
+
p_search?: string;
|
|
27305
|
+
p_since?: string;
|
|
27306
|
+
p_status?: string;
|
|
27307
|
+
};
|
|
27308
|
+
Returns: Json;
|
|
27309
|
+
};
|
|
27310
|
+
logistics_trace_pick_state: {
|
|
24437
27311
|
Args: {
|
|
24438
|
-
|
|
27312
|
+
p_order_number: string;
|
|
24439
27313
|
};
|
|
24440
|
-
Returns:
|
|
27314
|
+
Returns: undefined;
|
|
24441
27315
|
};
|
|
24442
|
-
|
|
27316
|
+
logistics_trace_progress: {
|
|
24443
27317
|
Args: {
|
|
24444
|
-
|
|
27318
|
+
p_limit?: number;
|
|
24445
27319
|
};
|
|
24446
27320
|
Returns: Json;
|
|
24447
27321
|
};
|
|
24448
|
-
|
|
24449
|
-
Args: never;
|
|
24450
|
-
Returns: number;
|
|
24451
|
-
};
|
|
24452
|
-
logistics_set_order_priority: {
|
|
27322
|
+
logistics_trace_progress_order: {
|
|
24453
27323
|
Args: {
|
|
24454
27324
|
p_order_ref: string;
|
|
24455
|
-
p_priority: number;
|
|
24456
|
-
p_user_id?: string;
|
|
24457
27325
|
};
|
|
24458
|
-
Returns:
|
|
27326
|
+
Returns: Json;
|
|
24459
27327
|
};
|
|
24460
|
-
|
|
27328
|
+
logistics_trace_redact: {
|
|
24461
27329
|
Args: {
|
|
24462
|
-
|
|
24463
|
-
p_pick_day: string;
|
|
27330
|
+
p: Json;
|
|
24464
27331
|
};
|
|
24465
27332
|
Returns: Json;
|
|
24466
27333
|
};
|
|
24467
|
-
|
|
27334
|
+
logistics_trace_source_node: {
|
|
24468
27335
|
Args: {
|
|
24469
|
-
|
|
24470
|
-
p_ts: string;
|
|
27336
|
+
p_source: string;
|
|
24471
27337
|
};
|
|
24472
27338
|
Returns: string;
|
|
24473
27339
|
};
|
|
24474
|
-
|
|
27340
|
+
logistics_trace_step_once: {
|
|
24475
27341
|
Args: {
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
27342
|
+
p_decision: string;
|
|
27343
|
+
p_next_step?: string;
|
|
27344
|
+
p_node: string;
|
|
27345
|
+
p_order_id: string;
|
|
27346
|
+
p_reason: string;
|
|
27347
|
+
p_status: string;
|
|
27348
|
+
p_step: string;
|
|
24479
27349
|
};
|
|
24480
|
-
Returns:
|
|
24481
|
-
};
|
|
24482
|
-
logistics_sticker_follows_slip: {
|
|
24483
|
-
Args: never;
|
|
24484
|
-
Returns: boolean;
|
|
27350
|
+
Returns: undefined;
|
|
24485
27351
|
};
|
|
24486
|
-
|
|
27352
|
+
logistics_trace_stock_check: {
|
|
24487
27353
|
Args: {
|
|
24488
|
-
|
|
24489
|
-
p_order_ref: string;
|
|
24490
|
-
p_run_id: string;
|
|
24491
|
-
p_user_id: string;
|
|
27354
|
+
p_order_id: string;
|
|
24492
27355
|
};
|
|
24493
|
-
Returns:
|
|
24494
|
-
};
|
|
24495
|
-
logistics_sync_pick_queue: {
|
|
24496
|
-
Args: never;
|
|
24497
|
-
Returns: Json;
|
|
27356
|
+
Returns: undefined;
|
|
24498
27357
|
};
|
|
24499
|
-
|
|
27358
|
+
logistics_trace_timeline: {
|
|
24500
27359
|
Args: {
|
|
24501
|
-
|
|
27360
|
+
p_limit?: number;
|
|
27361
|
+
p_order_ref: string;
|
|
24502
27362
|
};
|
|
24503
|
-
Returns:
|
|
27363
|
+
Returns: Json;
|
|
24504
27364
|
};
|
|
24505
|
-
|
|
27365
|
+
logistics_trace_version_events: {
|
|
24506
27366
|
Args: {
|
|
24507
|
-
|
|
27367
|
+
p_from?: string;
|
|
27368
|
+
p_limit?: number;
|
|
27369
|
+
p_order_ref: string;
|
|
27370
|
+
p_to?: string;
|
|
27371
|
+
p_version_id: string;
|
|
24508
27372
|
};
|
|
24509
|
-
Returns:
|
|
27373
|
+
Returns: Json;
|
|
24510
27374
|
};
|
|
24511
|
-
|
|
27375
|
+
logistics_trace_versions: {
|
|
24512
27376
|
Args: {
|
|
24513
|
-
|
|
24514
|
-
p_settings: Json;
|
|
27377
|
+
p_order_ref: string;
|
|
24515
27378
|
};
|
|
24516
|
-
Returns:
|
|
27379
|
+
Returns: Json;
|
|
24517
27380
|
};
|
|
24518
27381
|
logistics_upsert_task: {
|
|
24519
27382
|
Args: {
|
|
@@ -24534,6 +27397,16 @@ export type Database = {
|
|
|
24534
27397
|
};
|
|
24535
27398
|
Returns: string;
|
|
24536
27399
|
};
|
|
27400
|
+
logistics_valid_timezone: {
|
|
27401
|
+
Args: {
|
|
27402
|
+
_tz: string;
|
|
27403
|
+
};
|
|
27404
|
+
Returns: boolean;
|
|
27405
|
+
};
|
|
27406
|
+
logistics_working_hours_status: {
|
|
27407
|
+
Args: never;
|
|
27408
|
+
Returns: Json;
|
|
27409
|
+
};
|
|
24537
27410
|
logistics_write_buffer_layer_positions: {
|
|
24538
27411
|
Args: {
|
|
24539
27412
|
p_buffer_id: string;
|
|
@@ -24595,6 +27468,12 @@ export type Database = {
|
|
|
24595
27468
|
permission: string;
|
|
24596
27469
|
}[];
|
|
24597
27470
|
};
|
|
27471
|
+
next_cart_day_seq: {
|
|
27472
|
+
Args: {
|
|
27473
|
+
p_date: string;
|
|
27474
|
+
};
|
|
27475
|
+
Returns: number;
|
|
27476
|
+
};
|
|
24598
27477
|
next_manufacture_partij: {
|
|
24599
27478
|
Args: {
|
|
24600
27479
|
_tenant_id: string;
|
|
@@ -24699,6 +27578,10 @@ export type Database = {
|
|
|
24699
27578
|
online: boolean;
|
|
24700
27579
|
}[];
|
|
24701
27580
|
};
|
|
27581
|
+
pick_apply_buffer_events: {
|
|
27582
|
+
Args: never;
|
|
27583
|
+
Returns: Json;
|
|
27584
|
+
};
|
|
24702
27585
|
pick_available_pick_days: {
|
|
24703
27586
|
Args: {
|
|
24704
27587
|
_max_days?: number;
|
|
@@ -25082,6 +27965,10 @@ export type Database = {
|
|
|
25082
27965
|
};
|
|
25083
27966
|
Returns: undefined;
|
|
25084
27967
|
};
|
|
27968
|
+
pick_report_missing_cart_plan: {
|
|
27969
|
+
Args: never;
|
|
27970
|
+
Returns: Json;
|
|
27971
|
+
};
|
|
25085
27972
|
pick_reprint_cart: {
|
|
25086
27973
|
Args: {
|
|
25087
27974
|
_cart_id: string;
|
|
@@ -25538,6 +28425,18 @@ export type Database = {
|
|
|
25538
28425
|
};
|
|
25539
28426
|
Returns: undefined;
|
|
25540
28427
|
};
|
|
28428
|
+
prune_floriday_api_log: {
|
|
28429
|
+
Args: never;
|
|
28430
|
+
Returns: number;
|
|
28431
|
+
};
|
|
28432
|
+
quote_ack_work_order: {
|
|
28433
|
+
Args: {
|
|
28434
|
+
_queue_id: string;
|
|
28435
|
+
_werkbon_id: string;
|
|
28436
|
+
_werkbon_nummer?: string;
|
|
28437
|
+
};
|
|
28438
|
+
Returns: boolean;
|
|
28439
|
+
};
|
|
25541
28440
|
quote_create_from_source: {
|
|
25542
28441
|
Args: {
|
|
25543
28442
|
_payload?: Json;
|
|
@@ -25546,6 +28445,13 @@ export type Database = {
|
|
|
25546
28445
|
};
|
|
25547
28446
|
Returns: string;
|
|
25548
28447
|
};
|
|
28448
|
+
quote_fail_work_order: {
|
|
28449
|
+
Args: {
|
|
28450
|
+
_foutmelding: string;
|
|
28451
|
+
_queue_id: string;
|
|
28452
|
+
};
|
|
28453
|
+
Returns: boolean;
|
|
28454
|
+
};
|
|
25549
28455
|
quote_get_billable_lines: {
|
|
25550
28456
|
Args: {
|
|
25551
28457
|
_quotation_id: string;
|
|
@@ -25562,6 +28468,12 @@ export type Database = {
|
|
|
25562
28468
|
Args: never;
|
|
25563
28469
|
Returns: Json;
|
|
25564
28470
|
};
|
|
28471
|
+
quote_list_pending_work_orders: {
|
|
28472
|
+
Args: {
|
|
28473
|
+
_limit?: number;
|
|
28474
|
+
};
|
|
28475
|
+
Returns: Json;
|
|
28476
|
+
};
|
|
25565
28477
|
quote_list_sources: {
|
|
25566
28478
|
Args: {
|
|
25567
28479
|
_limit?: number;
|
|
@@ -25569,6 +28481,12 @@ export type Database = {
|
|
|
25569
28481
|
};
|
|
25570
28482
|
Returns: Json;
|
|
25571
28483
|
};
|
|
28484
|
+
quote_queue_follow_up: {
|
|
28485
|
+
Args: {
|
|
28486
|
+
_offerte_id: string;
|
|
28487
|
+
};
|
|
28488
|
+
Returns: string;
|
|
28489
|
+
};
|
|
25572
28490
|
recompute_all_reserved_stock: {
|
|
25573
28491
|
Args: never;
|
|
25574
28492
|
Returns: undefined;
|
|
@@ -25622,6 +28540,12 @@ export type Database = {
|
|
|
25622
28540
|
};
|
|
25623
28541
|
Returns: boolean;
|
|
25624
28542
|
};
|
|
28543
|
+
release_job_lock: {
|
|
28544
|
+
Args: {
|
|
28545
|
+
_key: string;
|
|
28546
|
+
};
|
|
28547
|
+
Returns: undefined;
|
|
28548
|
+
};
|
|
25625
28549
|
release_local_pdf_job: {
|
|
25626
28550
|
Args: {
|
|
25627
28551
|
_job_id: string;
|
|
@@ -25965,6 +28889,13 @@ export type Database = {
|
|
|
25965
28889
|
};
|
|
25966
28890
|
Returns: number;
|
|
25967
28891
|
};
|
|
28892
|
+
schedule_floriday_catalog_prices_sync: {
|
|
28893
|
+
Args: {
|
|
28894
|
+
p_apikey: string;
|
|
28895
|
+
p_url: string;
|
|
28896
|
+
};
|
|
28897
|
+
Returns: number;
|
|
28898
|
+
};
|
|
25968
28899
|
schedule_floriday_clock_presales_sync: {
|
|
25969
28900
|
Args: {
|
|
25970
28901
|
p_apikey: string;
|
|
@@ -26237,6 +29168,52 @@ export type Database = {
|
|
|
26237
29168
|
p_end_time: string;
|
|
26238
29169
|
};
|
|
26239
29170
|
Returns: Json;
|
|
29171
|
+
} | {
|
|
29172
|
+
Args: {
|
|
29173
|
+
p_end_lat?: number;
|
|
29174
|
+
p_end_lng?: number;
|
|
29175
|
+
p_log_id: string;
|
|
29176
|
+
};
|
|
29177
|
+
Returns: {
|
|
29178
|
+
auto_stop_reason: string | null;
|
|
29179
|
+
auto_stopped: boolean;
|
|
29180
|
+
created_at: string;
|
|
29181
|
+
current_latitude: number | null;
|
|
29182
|
+
current_longitude: number | null;
|
|
29183
|
+
current_position_updated_at: string | null;
|
|
29184
|
+
employee_id: string;
|
|
29185
|
+
end_latitude: number | null;
|
|
29186
|
+
end_longitude: number | null;
|
|
29187
|
+
end_time: string | null;
|
|
29188
|
+
eta_distance_km: number | null;
|
|
29189
|
+
eta_minutes: number | null;
|
|
29190
|
+
eta_updated_at: string | null;
|
|
29191
|
+
hour_category: string | null;
|
|
29192
|
+
id: string;
|
|
29193
|
+
last_reminder_at: string | null;
|
|
29194
|
+
notes: string | null;
|
|
29195
|
+
overtime_hours: number;
|
|
29196
|
+
overtime_type: string | null;
|
|
29197
|
+
regular_hours: number;
|
|
29198
|
+
reminder_count: number;
|
|
29199
|
+
requires_review: boolean;
|
|
29200
|
+
start_latitude: number | null;
|
|
29201
|
+
start_longitude: number | null;
|
|
29202
|
+
start_time: string;
|
|
29203
|
+
travel_cost: number | null;
|
|
29204
|
+
travel_distance_km: number | null;
|
|
29205
|
+
travel_duration_min: number | null;
|
|
29206
|
+
travel_time_minutes: number | null;
|
|
29207
|
+
type: string;
|
|
29208
|
+
updated_at: string;
|
|
29209
|
+
work_order_id: string | null;
|
|
29210
|
+
};
|
|
29211
|
+
SetofOptions: {
|
|
29212
|
+
from: "*";
|
|
29213
|
+
to: "time_logs";
|
|
29214
|
+
isOneToOne: true;
|
|
29215
|
+
isSetofReturn: false;
|
|
29216
|
+
};
|
|
26240
29217
|
};
|
|
26241
29218
|
swap_cart_layer_positions: {
|
|
26242
29219
|
Args: {
|
|
@@ -26265,6 +29242,10 @@ export type Database = {
|
|
|
26265
29242
|
};
|
|
26266
29243
|
Returns: undefined;
|
|
26267
29244
|
};
|
|
29245
|
+
sync_floriday_prices_into_price_groups: {
|
|
29246
|
+
Args: never;
|
|
29247
|
+
Returns: number;
|
|
29248
|
+
};
|
|
26268
29249
|
sync_layer_stock: {
|
|
26269
29250
|
Args: {
|
|
26270
29251
|
p_product_id: string;
|
|
@@ -26310,6 +29291,14 @@ export type Database = {
|
|
|
26310
29291
|
row_count: number;
|
|
26311
29292
|
}[];
|
|
26312
29293
|
};
|
|
29294
|
+
try_acquire_job_lock: {
|
|
29295
|
+
Args: {
|
|
29296
|
+
_key: string;
|
|
29297
|
+
_owner?: string;
|
|
29298
|
+
_seconds?: number;
|
|
29299
|
+
};
|
|
29300
|
+
Returns: boolean;
|
|
29301
|
+
};
|
|
26313
29302
|
try_debtor_lock: {
|
|
26314
29303
|
Args: {
|
|
26315
29304
|
_group_key: string;
|
|
@@ -26381,14 +29370,99 @@ export type Database = {
|
|
|
26381
29370
|
};
|
|
26382
29371
|
Returns: undefined;
|
|
26383
29372
|
};
|
|
29373
|
+
uren_employee_day_hours: {
|
|
29374
|
+
Args: {
|
|
29375
|
+
_day: string;
|
|
29376
|
+
_employee_id: string;
|
|
29377
|
+
};
|
|
29378
|
+
Returns: number;
|
|
29379
|
+
};
|
|
26384
29380
|
uren_is_beheerder: {
|
|
26385
29381
|
Args: never;
|
|
26386
29382
|
Returns: boolean;
|
|
26387
29383
|
};
|
|
29384
|
+
uren_list_medewerkers: {
|
|
29385
|
+
Args: never;
|
|
29386
|
+
Returns: {
|
|
29387
|
+
avatar_url: string;
|
|
29388
|
+
color: string;
|
|
29389
|
+
display_name: string;
|
|
29390
|
+
email: string;
|
|
29391
|
+
hours_fri: number;
|
|
29392
|
+
hours_mon: number;
|
|
29393
|
+
hours_thu: number;
|
|
29394
|
+
hours_tue: number;
|
|
29395
|
+
hours_wed: number;
|
|
29396
|
+
id: string;
|
|
29397
|
+
is_active: boolean;
|
|
29398
|
+
leave_balance_hours: number;
|
|
29399
|
+
persnr: string;
|
|
29400
|
+
phone: string;
|
|
29401
|
+
roles: string[];
|
|
29402
|
+
}[];
|
|
29403
|
+
};
|
|
26388
29404
|
uren_my_monteur_id: {
|
|
26389
29405
|
Args: never;
|
|
26390
29406
|
Returns: string;
|
|
26391
29407
|
};
|
|
29408
|
+
uren_planning_dagagenda: {
|
|
29409
|
+
Args: {
|
|
29410
|
+
_tot: string;
|
|
29411
|
+
_van: string;
|
|
29412
|
+
};
|
|
29413
|
+
Returns: {
|
|
29414
|
+
end_at: string;
|
|
29415
|
+
id: string;
|
|
29416
|
+
is_tweede_man: boolean;
|
|
29417
|
+
notes: string;
|
|
29418
|
+
start_at: string;
|
|
29419
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
29420
|
+
werkbon_id: string;
|
|
29421
|
+
}[];
|
|
29422
|
+
};
|
|
29423
|
+
uren_set_planning_item_status: {
|
|
29424
|
+
Args: {
|
|
29425
|
+
_id: string;
|
|
29426
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
29427
|
+
};
|
|
29428
|
+
Returns: undefined;
|
|
29429
|
+
};
|
|
29430
|
+
uren_set_planning_status: {
|
|
29431
|
+
Args: {
|
|
29432
|
+
p_status: Database["public"]["Enums"]["planning_item_status"];
|
|
29433
|
+
p_werkbon_id: string;
|
|
29434
|
+
};
|
|
29435
|
+
Returns: number;
|
|
29436
|
+
};
|
|
29437
|
+
uren_stop_time_log: {
|
|
29438
|
+
Args: {
|
|
29439
|
+
p_employee_id: string;
|
|
29440
|
+
p_end_lat?: number;
|
|
29441
|
+
p_end_lng?: number;
|
|
29442
|
+
p_end_time: string;
|
|
29443
|
+
};
|
|
29444
|
+
Returns: Json;
|
|
29445
|
+
};
|
|
29446
|
+
uren_switch_time_log: {
|
|
29447
|
+
Args: {
|
|
29448
|
+
p_employee_id: string;
|
|
29449
|
+
p_start_lat?: number;
|
|
29450
|
+
p_start_lng?: number;
|
|
29451
|
+
p_type: string;
|
|
29452
|
+
p_work_order_id?: string;
|
|
29453
|
+
};
|
|
29454
|
+
Returns: Json;
|
|
29455
|
+
};
|
|
29456
|
+
uren_sync_sick_time_off: {
|
|
29457
|
+
Args: {
|
|
29458
|
+
_period_id: string;
|
|
29459
|
+
};
|
|
29460
|
+
Returns: number;
|
|
29461
|
+
};
|
|
29462
|
+
voorraad_cleanup_old_rows: {
|
|
29463
|
+
Args: never;
|
|
29464
|
+
Returns: Json;
|
|
29465
|
+
};
|
|
26392
29466
|
wake_print_queue: {
|
|
26393
29467
|
Args: {
|
|
26394
29468
|
_min_interval_ms?: number;
|
|
@@ -26427,6 +29501,25 @@ export type Database = {
|
|
|
26427
29501
|
};
|
|
26428
29502
|
Returns: Json;
|
|
26429
29503
|
};
|
|
29504
|
+
wo_list_offerte_requests: {
|
|
29505
|
+
Args: {
|
|
29506
|
+
_status?: string;
|
|
29507
|
+
};
|
|
29508
|
+
Returns: Json;
|
|
29509
|
+
};
|
|
29510
|
+
wo_process_offerte_request: {
|
|
29511
|
+
Args: {
|
|
29512
|
+
_queue_id: string;
|
|
29513
|
+
};
|
|
29514
|
+
Returns: Json;
|
|
29515
|
+
};
|
|
29516
|
+
wo_reject_offerte_request: {
|
|
29517
|
+
Args: {
|
|
29518
|
+
_queue_id: string;
|
|
29519
|
+
_reden?: string;
|
|
29520
|
+
};
|
|
29521
|
+
Returns: Json;
|
|
29522
|
+
};
|
|
26430
29523
|
wo_set_status: {
|
|
26431
29524
|
Args: {
|
|
26432
29525
|
_reason?: string;
|