@flowselections/floriday-afhandeling-module 1.0.44 → 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/hooks/useCartIndex.d.ts.map +1 -1
- package/dist-lib/hooks/useCartIndex.js +16 -7
- package/dist-lib/hooks/useEngineBufferEvents.d.ts +5 -0
- package/dist-lib/hooks/useEngineBufferEvents.d.ts.map +1 -1
- package/dist-lib/hooks/useEngineBufferEvents.js +18 -13
- 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.map +1 -1
- package/dist-lib/hooks/useKnownOrders.js +2 -1
- 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.map +1 -1
- package/dist-lib/hooks/usePickAgenda.js +17 -13
- 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 +3053 -161
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +3053 -161
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/moduleClient.d.ts +2982 -88
- package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +3063 -143
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +5798 -14
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +14510 -40
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +14495 -35
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +31999 -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 +3053 -161
- package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
- package/dist-lib/lib/engineLayouts.functions.d.ts +3053 -161
- package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +5798 -14
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/orderFulfilment.functions.d.ts +3053 -161
- package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.d.ts +2985 -88
- package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
- package/dist-lib/lib/pickDates.functions.js +30 -3
- package/dist-lib/lib/pickMode.d.ts +20 -2
- package/dist-lib/lib/pickMode.d.ts.map +1 -1
- package/dist-lib/lib/pickMode.js +65 -16
- package/dist-lib/lib/realtimeBus.d.ts +20 -0
- package/dist-lib/lib/realtimeBus.d.ts.map +1 -0
- package/dist-lib/lib/realtimeBus.js +56 -0
- package/dist-lib/lib/serverFnError.d.ts +12 -0
- package/dist-lib/lib/serverFnError.d.ts.map +1 -1
- package/dist-lib/lib/serverFnError.js +48 -1
- package/dist-lib/moduleDefinition.d.ts +3 -0
- package/dist-lib/moduleDefinition.d.ts.map +1 -0
- package/dist-lib/moduleDefinition.js +36 -0
- package/package.json +2 -2
|
@@ -6,6 +6,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6
6
|
Row: {
|
|
7
7
|
auto_print_delivery_note: boolean;
|
|
8
8
|
auto_process_paused: boolean;
|
|
9
|
+
control_bulk_max_carts: number;
|
|
9
10
|
created_at: string;
|
|
10
11
|
extra_pick_days_with_stickers: number;
|
|
11
12
|
id: string;
|
|
@@ -23,6 +24,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23
24
|
Insert: {
|
|
24
25
|
auto_print_delivery_note?: boolean;
|
|
25
26
|
auto_process_paused?: boolean;
|
|
27
|
+
control_bulk_max_carts?: number;
|
|
26
28
|
created_at?: string;
|
|
27
29
|
extra_pick_days_with_stickers?: number;
|
|
28
30
|
id?: string;
|
|
@@ -40,6 +42,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
40
42
|
Update: {
|
|
41
43
|
auto_print_delivery_note?: boolean;
|
|
42
44
|
auto_process_paused?: boolean;
|
|
45
|
+
control_bulk_max_carts?: number;
|
|
43
46
|
created_at?: string;
|
|
44
47
|
extra_pick_days_with_stickers?: number;
|
|
45
48
|
id?: string;
|
|
@@ -1382,6 +1385,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1382
1385
|
id: string;
|
|
1383
1386
|
notes: string | null;
|
|
1384
1387
|
performed_at: string;
|
|
1388
|
+
request_key: string | null;
|
|
1385
1389
|
rescheduled_count: number;
|
|
1386
1390
|
stock_consumed_at: string | null;
|
|
1387
1391
|
total_carts: number;
|
|
@@ -1396,6 +1400,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1396
1400
|
id?: string;
|
|
1397
1401
|
notes?: string | null;
|
|
1398
1402
|
performed_at?: string;
|
|
1403
|
+
request_key?: string | null;
|
|
1399
1404
|
rescheduled_count?: number;
|
|
1400
1405
|
stock_consumed_at?: string | null;
|
|
1401
1406
|
total_carts?: number;
|
|
@@ -1410,6 +1415,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1410
1415
|
id?: string;
|
|
1411
1416
|
notes?: string | null;
|
|
1412
1417
|
performed_at?: string;
|
|
1418
|
+
request_key?: string | null;
|
|
1413
1419
|
rescheduled_count?: number;
|
|
1414
1420
|
stock_consumed_at?: string | null;
|
|
1415
1421
|
total_carts?: number;
|
|
@@ -1422,9 +1428,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1422
1428
|
Row: {
|
|
1423
1429
|
assigned_at: string;
|
|
1424
1430
|
cart_index: number;
|
|
1425
|
-
cart_number: string
|
|
1431
|
+
cart_number: string;
|
|
1426
1432
|
day_seq: number | null;
|
|
1427
1433
|
delivered_at: string | null;
|
|
1434
|
+
engine_cart_label: string | null;
|
|
1428
1435
|
id: string;
|
|
1429
1436
|
order_id: string;
|
|
1430
1437
|
order_source: string;
|
|
@@ -1434,9 +1441,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1434
1441
|
Insert: {
|
|
1435
1442
|
assigned_at?: string;
|
|
1436
1443
|
cart_index: number;
|
|
1437
|
-
cart_number
|
|
1444
|
+
cart_number: string;
|
|
1438
1445
|
day_seq?: number | null;
|
|
1439
1446
|
delivered_at?: string | null;
|
|
1447
|
+
engine_cart_label?: string | null;
|
|
1440
1448
|
id?: string;
|
|
1441
1449
|
order_id: string;
|
|
1442
1450
|
order_source: string;
|
|
@@ -1446,9 +1454,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1446
1454
|
Update: {
|
|
1447
1455
|
assigned_at?: string;
|
|
1448
1456
|
cart_index?: number;
|
|
1449
|
-
cart_number?: string
|
|
1457
|
+
cart_number?: string;
|
|
1450
1458
|
day_seq?: number | null;
|
|
1451
1459
|
delivered_at?: string | null;
|
|
1460
|
+
engine_cart_label?: string | null;
|
|
1452
1461
|
id?: string;
|
|
1453
1462
|
order_id?: string;
|
|
1454
1463
|
order_source?: string;
|
|
@@ -1823,6 +1832,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1823
1832
|
};
|
|
1824
1833
|
Relationships: [];
|
|
1825
1834
|
};
|
|
1835
|
+
customer_assortment_items: {
|
|
1836
|
+
Row: {
|
|
1837
|
+
created_at: string;
|
|
1838
|
+
customer_key: string;
|
|
1839
|
+
id: string;
|
|
1840
|
+
in_assortment: boolean;
|
|
1841
|
+
manual_override: boolean;
|
|
1842
|
+
source: string;
|
|
1843
|
+
synced_at: string | null;
|
|
1844
|
+
trade_item_key: string;
|
|
1845
|
+
updated_at: string;
|
|
1846
|
+
};
|
|
1847
|
+
Insert: {
|
|
1848
|
+
created_at?: string;
|
|
1849
|
+
customer_key: string;
|
|
1850
|
+
id?: string;
|
|
1851
|
+
in_assortment?: boolean;
|
|
1852
|
+
manual_override?: boolean;
|
|
1853
|
+
source?: string;
|
|
1854
|
+
synced_at?: string | null;
|
|
1855
|
+
trade_item_key: string;
|
|
1856
|
+
updated_at?: string;
|
|
1857
|
+
};
|
|
1858
|
+
Update: {
|
|
1859
|
+
created_at?: string;
|
|
1860
|
+
customer_key?: string;
|
|
1861
|
+
id?: string;
|
|
1862
|
+
in_assortment?: boolean;
|
|
1863
|
+
manual_override?: boolean;
|
|
1864
|
+
source?: string;
|
|
1865
|
+
synced_at?: string | null;
|
|
1866
|
+
trade_item_key?: string;
|
|
1867
|
+
updated_at?: string;
|
|
1868
|
+
};
|
|
1869
|
+
Relationships: [];
|
|
1870
|
+
};
|
|
1826
1871
|
customer_audit_log: {
|
|
1827
1872
|
Row: {
|
|
1828
1873
|
action: string;
|
|
@@ -2225,6 +2270,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2225
2270
|
};
|
|
2226
2271
|
Relationships: [];
|
|
2227
2272
|
};
|
|
2273
|
+
customer_product_stickers: {
|
|
2274
|
+
Row: {
|
|
2275
|
+
content_hash: string | null;
|
|
2276
|
+
created_at: string;
|
|
2277
|
+
customer_key: string;
|
|
2278
|
+
file_name: string;
|
|
2279
|
+
file_path: string;
|
|
2280
|
+
file_size: number | null;
|
|
2281
|
+
floriday_sticker_id: string | null;
|
|
2282
|
+
floriday_synced_at: string | null;
|
|
2283
|
+
height_mm: number | null;
|
|
2284
|
+
id: string;
|
|
2285
|
+
mime_type: string | null;
|
|
2286
|
+
source: string;
|
|
2287
|
+
trade_item_key: string;
|
|
2288
|
+
updated_at: string;
|
|
2289
|
+
uploaded_by: string | null;
|
|
2290
|
+
width_mm: number | null;
|
|
2291
|
+
};
|
|
2292
|
+
Insert: {
|
|
2293
|
+
content_hash?: string | null;
|
|
2294
|
+
created_at?: string;
|
|
2295
|
+
customer_key: string;
|
|
2296
|
+
file_name: string;
|
|
2297
|
+
file_path: string;
|
|
2298
|
+
file_size?: number | null;
|
|
2299
|
+
floriday_sticker_id?: string | null;
|
|
2300
|
+
floriday_synced_at?: string | null;
|
|
2301
|
+
height_mm?: number | null;
|
|
2302
|
+
id?: string;
|
|
2303
|
+
mime_type?: string | null;
|
|
2304
|
+
source?: string;
|
|
2305
|
+
trade_item_key: string;
|
|
2306
|
+
updated_at?: string;
|
|
2307
|
+
uploaded_by?: string | null;
|
|
2308
|
+
width_mm?: number | null;
|
|
2309
|
+
};
|
|
2310
|
+
Update: {
|
|
2311
|
+
content_hash?: string | null;
|
|
2312
|
+
created_at?: string;
|
|
2313
|
+
customer_key?: string;
|
|
2314
|
+
file_name?: string;
|
|
2315
|
+
file_path?: string;
|
|
2316
|
+
file_size?: number | null;
|
|
2317
|
+
floriday_sticker_id?: string | null;
|
|
2318
|
+
floriday_synced_at?: string | null;
|
|
2319
|
+
height_mm?: number | null;
|
|
2320
|
+
id?: string;
|
|
2321
|
+
mime_type?: string | null;
|
|
2322
|
+
source?: string;
|
|
2323
|
+
trade_item_key?: string;
|
|
2324
|
+
updated_at?: string;
|
|
2325
|
+
uploaded_by?: string | null;
|
|
2326
|
+
width_mm?: number | null;
|
|
2327
|
+
};
|
|
2328
|
+
Relationships: [];
|
|
2329
|
+
};
|
|
2228
2330
|
customer_selected_assortment: {
|
|
2229
2331
|
Row: {
|
|
2230
2332
|
article_number: string | null;
|
|
@@ -2273,6 +2375,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
2273
2375
|
referencedColumns: ["id"];
|
|
2274
2376
|
}];
|
|
2275
2377
|
};
|
|
2378
|
+
customer_sticker_settings: {
|
|
2379
|
+
Row: {
|
|
2380
|
+
created_at: string;
|
|
2381
|
+
customer_key: string;
|
|
2382
|
+
height_mm: number;
|
|
2383
|
+
updated_at: string;
|
|
2384
|
+
width_mm: number;
|
|
2385
|
+
};
|
|
2386
|
+
Insert: {
|
|
2387
|
+
created_at?: string;
|
|
2388
|
+
customer_key: string;
|
|
2389
|
+
height_mm?: number;
|
|
2390
|
+
updated_at?: string;
|
|
2391
|
+
width_mm?: number;
|
|
2392
|
+
};
|
|
2393
|
+
Update: {
|
|
2394
|
+
created_at?: string;
|
|
2395
|
+
customer_key?: string;
|
|
2396
|
+
height_mm?: number;
|
|
2397
|
+
updated_at?: string;
|
|
2398
|
+
width_mm?: number;
|
|
2399
|
+
};
|
|
2400
|
+
Relationships: [];
|
|
2401
|
+
};
|
|
2276
2402
|
customer_trade_settings: {
|
|
2277
2403
|
Row: {
|
|
2278
2404
|
category: string;
|
|
@@ -3598,6 +3724,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3598
3724
|
};
|
|
3599
3725
|
email_auth_outbox: {
|
|
3600
3726
|
Row: {
|
|
3727
|
+
attachments: import("./types").Json;
|
|
3601
3728
|
attempts: number;
|
|
3602
3729
|
bcc_addresses: string[];
|
|
3603
3730
|
cc_addresses: string[];
|
|
@@ -3620,6 +3747,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3620
3747
|
updated_at: string;
|
|
3621
3748
|
};
|
|
3622
3749
|
Insert: {
|
|
3750
|
+
attachments?: import("./types").Json;
|
|
3623
3751
|
attempts?: number;
|
|
3624
3752
|
bcc_addresses?: string[];
|
|
3625
3753
|
cc_addresses?: string[];
|
|
@@ -3642,6 +3770,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3642
3770
|
updated_at?: string;
|
|
3643
3771
|
};
|
|
3644
3772
|
Update: {
|
|
3773
|
+
attachments?: import("./types").Json;
|
|
3645
3774
|
attempts?: number;
|
|
3646
3775
|
bcc_addresses?: string[];
|
|
3647
3776
|
cc_addresses?: string[];
|
|
@@ -5603,6 +5732,102 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5603
5732
|
referencedColumns: ["id"];
|
|
5604
5733
|
}];
|
|
5605
5734
|
};
|
|
5735
|
+
floriday_api_log: {
|
|
5736
|
+
Row: {
|
|
5737
|
+
action: string | null;
|
|
5738
|
+
caller: string | null;
|
|
5739
|
+
connection_id: string | null;
|
|
5740
|
+
created_at: string;
|
|
5741
|
+
cursor_from: number | null;
|
|
5742
|
+
direction: string;
|
|
5743
|
+
duration_ms: number | null;
|
|
5744
|
+
environment: string | null;
|
|
5745
|
+
error: string | null;
|
|
5746
|
+
floriday_id: string | null;
|
|
5747
|
+
floriday_reference: string | null;
|
|
5748
|
+
http_status: number;
|
|
5749
|
+
id: string;
|
|
5750
|
+
item_count: number | null;
|
|
5751
|
+
kind: string | null;
|
|
5752
|
+
local_id: string | null;
|
|
5753
|
+
local_reference: string | null;
|
|
5754
|
+
method: string;
|
|
5755
|
+
module: string | null;
|
|
5756
|
+
ok: boolean;
|
|
5757
|
+
path: string;
|
|
5758
|
+
request: import("./types").Json | null;
|
|
5759
|
+
resource_type: string | null;
|
|
5760
|
+
response: import("./types").Json | null;
|
|
5761
|
+
write_log_id: string | null;
|
|
5762
|
+
};
|
|
5763
|
+
Insert: {
|
|
5764
|
+
action?: string | null;
|
|
5765
|
+
caller?: string | null;
|
|
5766
|
+
connection_id?: string | null;
|
|
5767
|
+
created_at?: string;
|
|
5768
|
+
cursor_from?: number | null;
|
|
5769
|
+
direction: string;
|
|
5770
|
+
duration_ms?: number | null;
|
|
5771
|
+
environment?: string | null;
|
|
5772
|
+
error?: string | null;
|
|
5773
|
+
floriday_id?: string | null;
|
|
5774
|
+
floriday_reference?: string | null;
|
|
5775
|
+
http_status?: number;
|
|
5776
|
+
id?: string;
|
|
5777
|
+
item_count?: number | null;
|
|
5778
|
+
kind?: string | null;
|
|
5779
|
+
local_id?: string | null;
|
|
5780
|
+
local_reference?: string | null;
|
|
5781
|
+
method: string;
|
|
5782
|
+
module?: string | null;
|
|
5783
|
+
ok?: boolean;
|
|
5784
|
+
path: string;
|
|
5785
|
+
request?: import("./types").Json | null;
|
|
5786
|
+
resource_type?: string | null;
|
|
5787
|
+
response?: import("./types").Json | null;
|
|
5788
|
+
write_log_id?: string | null;
|
|
5789
|
+
};
|
|
5790
|
+
Update: {
|
|
5791
|
+
action?: string | null;
|
|
5792
|
+
caller?: string | null;
|
|
5793
|
+
connection_id?: string | null;
|
|
5794
|
+
created_at?: string;
|
|
5795
|
+
cursor_from?: number | null;
|
|
5796
|
+
direction?: string;
|
|
5797
|
+
duration_ms?: number | null;
|
|
5798
|
+
environment?: string | null;
|
|
5799
|
+
error?: string | null;
|
|
5800
|
+
floriday_id?: string | null;
|
|
5801
|
+
floriday_reference?: string | null;
|
|
5802
|
+
http_status?: number;
|
|
5803
|
+
id?: string;
|
|
5804
|
+
item_count?: number | null;
|
|
5805
|
+
kind?: string | null;
|
|
5806
|
+
local_id?: string | null;
|
|
5807
|
+
local_reference?: string | null;
|
|
5808
|
+
method?: string;
|
|
5809
|
+
module?: string | null;
|
|
5810
|
+
ok?: boolean;
|
|
5811
|
+
path?: string;
|
|
5812
|
+
request?: import("./types").Json | null;
|
|
5813
|
+
resource_type?: string | null;
|
|
5814
|
+
response?: import("./types").Json | null;
|
|
5815
|
+
write_log_id?: string | null;
|
|
5816
|
+
};
|
|
5817
|
+
Relationships: [{
|
|
5818
|
+
foreignKeyName: "floriday_api_log_connection_id_fkey";
|
|
5819
|
+
columns: ["connection_id"];
|
|
5820
|
+
isOneToOne: false;
|
|
5821
|
+
referencedRelation: "floriday_connections";
|
|
5822
|
+
referencedColumns: ["id"];
|
|
5823
|
+
}, {
|
|
5824
|
+
foreignKeyName: "floriday_api_log_write_log_id_fkey";
|
|
5825
|
+
columns: ["write_log_id"];
|
|
5826
|
+
isOneToOne: false;
|
|
5827
|
+
referencedRelation: "floriday_write_log";
|
|
5828
|
+
referencedColumns: ["id"];
|
|
5829
|
+
}];
|
|
5830
|
+
};
|
|
5606
5831
|
floriday_auction_letters_cache: {
|
|
5607
5832
|
Row: {
|
|
5608
5833
|
auction_letter_code: string;
|
|
@@ -5810,6 +6035,84 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5810
6035
|
referencedColumns: ["id"];
|
|
5811
6036
|
}];
|
|
5812
6037
|
};
|
|
6038
|
+
floriday_catalog_prices_cache: {
|
|
6039
|
+
Row: {
|
|
6040
|
+
connection_id: string;
|
|
6041
|
+
created_at: string;
|
|
6042
|
+
currency: string;
|
|
6043
|
+
id: string;
|
|
6044
|
+
is_deleted: boolean;
|
|
6045
|
+
price: number | null;
|
|
6046
|
+
price_group_id: string | null;
|
|
6047
|
+
price_group_name: string | null;
|
|
6048
|
+
price_type: string;
|
|
6049
|
+
raw: import("./types").Json | null;
|
|
6050
|
+
sales_unit: string | null;
|
|
6051
|
+
sequence_number: number;
|
|
6052
|
+
supplier_article_code: string | null;
|
|
6053
|
+
supply_line_id: string;
|
|
6054
|
+
synced_at: string;
|
|
6055
|
+
trade_item_id: string | null;
|
|
6056
|
+
updated_at: string;
|
|
6057
|
+
valid_from: string | null;
|
|
6058
|
+
valid_to: string | null;
|
|
6059
|
+
week: number | null;
|
|
6060
|
+
year: number | null;
|
|
6061
|
+
};
|
|
6062
|
+
Insert: {
|
|
6063
|
+
connection_id: string;
|
|
6064
|
+
created_at?: string;
|
|
6065
|
+
currency?: string;
|
|
6066
|
+
id?: string;
|
|
6067
|
+
is_deleted?: boolean;
|
|
6068
|
+
price?: number | null;
|
|
6069
|
+
price_group_id?: string | null;
|
|
6070
|
+
price_group_name?: string | null;
|
|
6071
|
+
price_type?: string;
|
|
6072
|
+
raw?: import("./types").Json | null;
|
|
6073
|
+
sales_unit?: string | null;
|
|
6074
|
+
sequence_number?: number;
|
|
6075
|
+
supplier_article_code?: string | null;
|
|
6076
|
+
supply_line_id: string;
|
|
6077
|
+
synced_at?: string;
|
|
6078
|
+
trade_item_id?: string | null;
|
|
6079
|
+
updated_at?: string;
|
|
6080
|
+
valid_from?: string | null;
|
|
6081
|
+
valid_to?: string | null;
|
|
6082
|
+
week?: number | null;
|
|
6083
|
+
year?: number | null;
|
|
6084
|
+
};
|
|
6085
|
+
Update: {
|
|
6086
|
+
connection_id?: string;
|
|
6087
|
+
created_at?: string;
|
|
6088
|
+
currency?: string;
|
|
6089
|
+
id?: string;
|
|
6090
|
+
is_deleted?: boolean;
|
|
6091
|
+
price?: number | null;
|
|
6092
|
+
price_group_id?: string | null;
|
|
6093
|
+
price_group_name?: string | null;
|
|
6094
|
+
price_type?: string;
|
|
6095
|
+
raw?: import("./types").Json | null;
|
|
6096
|
+
sales_unit?: string | null;
|
|
6097
|
+
sequence_number?: number;
|
|
6098
|
+
supplier_article_code?: string | null;
|
|
6099
|
+
supply_line_id?: string;
|
|
6100
|
+
synced_at?: string;
|
|
6101
|
+
trade_item_id?: string | null;
|
|
6102
|
+
updated_at?: string;
|
|
6103
|
+
valid_from?: string | null;
|
|
6104
|
+
valid_to?: string | null;
|
|
6105
|
+
week?: number | null;
|
|
6106
|
+
year?: number | null;
|
|
6107
|
+
};
|
|
6108
|
+
Relationships: [{
|
|
6109
|
+
foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
|
|
6110
|
+
columns: ["connection_id"];
|
|
6111
|
+
isOneToOne: false;
|
|
6112
|
+
referencedRelation: "floriday_connections";
|
|
6113
|
+
referencedColumns: ["id"];
|
|
6114
|
+
}];
|
|
6115
|
+
};
|
|
5813
6116
|
floriday_clock_presales_cache: {
|
|
5814
6117
|
Row: {
|
|
5815
6118
|
buyer_organization_id: string | null;
|
|
@@ -6725,6 +7028,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6725
7028
|
referencedColumns: ["id"];
|
|
6726
7029
|
}];
|
|
6727
7030
|
};
|
|
7031
|
+
floriday_link_templates: {
|
|
7032
|
+
Row: {
|
|
7033
|
+
created_at: string;
|
|
7034
|
+
floriday_url_template: string | null;
|
|
7035
|
+
is_active: boolean;
|
|
7036
|
+
label: string;
|
|
7037
|
+
local_url_template: string | null;
|
|
7038
|
+
resource_type: string;
|
|
7039
|
+
updated_at: string;
|
|
7040
|
+
};
|
|
7041
|
+
Insert: {
|
|
7042
|
+
created_at?: string;
|
|
7043
|
+
floriday_url_template?: string | null;
|
|
7044
|
+
is_active?: boolean;
|
|
7045
|
+
label: string;
|
|
7046
|
+
local_url_template?: string | null;
|
|
7047
|
+
resource_type: string;
|
|
7048
|
+
updated_at?: string;
|
|
7049
|
+
};
|
|
7050
|
+
Update: {
|
|
7051
|
+
created_at?: string;
|
|
7052
|
+
floriday_url_template?: string | null;
|
|
7053
|
+
is_active?: boolean;
|
|
7054
|
+
label?: string;
|
|
7055
|
+
local_url_template?: string | null;
|
|
7056
|
+
resource_type?: string;
|
|
7057
|
+
updated_at?: string;
|
|
7058
|
+
};
|
|
7059
|
+
Relationships: [];
|
|
7060
|
+
};
|
|
7061
|
+
floriday_log_retention: {
|
|
7062
|
+
Row: {
|
|
7063
|
+
created_at: string;
|
|
7064
|
+
direction: string | null;
|
|
7065
|
+
id: string;
|
|
7066
|
+
keep_failed_days: number | null;
|
|
7067
|
+
keep_ok_days: number | null;
|
|
7068
|
+
note: string | null;
|
|
7069
|
+
resource_type: string | null;
|
|
7070
|
+
updated_at: string;
|
|
7071
|
+
};
|
|
7072
|
+
Insert: {
|
|
7073
|
+
created_at?: string;
|
|
7074
|
+
direction?: string | null;
|
|
7075
|
+
id?: string;
|
|
7076
|
+
keep_failed_days?: number | null;
|
|
7077
|
+
keep_ok_days?: number | null;
|
|
7078
|
+
note?: string | null;
|
|
7079
|
+
resource_type?: string | null;
|
|
7080
|
+
updated_at?: string;
|
|
7081
|
+
};
|
|
7082
|
+
Update: {
|
|
7083
|
+
created_at?: string;
|
|
7084
|
+
direction?: string | null;
|
|
7085
|
+
id?: string;
|
|
7086
|
+
keep_failed_days?: number | null;
|
|
7087
|
+
keep_ok_days?: number | null;
|
|
7088
|
+
note?: string | null;
|
|
7089
|
+
resource_type?: string | null;
|
|
7090
|
+
updated_at?: string;
|
|
7091
|
+
};
|
|
7092
|
+
Relationships: [];
|
|
7093
|
+
};
|
|
6728
7094
|
floriday_logistic_labels_cache: {
|
|
6729
7095
|
Row: {
|
|
6730
7096
|
byte_size: number | null;
|
|
@@ -8441,15 +8807,56 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8441
8807
|
};
|
|
8442
8808
|
Relationships: [];
|
|
8443
8809
|
};
|
|
8444
|
-
|
|
8810
|
+
itk_handover_afspraken: {
|
|
8445
8811
|
Row: {
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
|
|
8812
|
+
afgesproken_door: string | null;
|
|
8813
|
+
afgesproken_op: string;
|
|
8814
|
+
besluit: string;
|
|
8815
|
+
created_at: string;
|
|
8816
|
+
item: string;
|
|
8817
|
+
modules: string[];
|
|
8818
|
+
sleutel: string;
|
|
8819
|
+
soort: string;
|
|
8820
|
+
updated_at: string;
|
|
8821
|
+
versie_vingerafdruk: string;
|
|
8822
|
+
};
|
|
8823
|
+
Insert: {
|
|
8824
|
+
afgesproken_door?: string | null;
|
|
8825
|
+
afgesproken_op?: string;
|
|
8826
|
+
besluit?: string;
|
|
8827
|
+
created_at?: string;
|
|
8828
|
+
item?: string;
|
|
8829
|
+
modules?: string[];
|
|
8830
|
+
sleutel: string;
|
|
8831
|
+
soort?: string;
|
|
8832
|
+
updated_at?: string;
|
|
8833
|
+
versie_vingerafdruk?: string;
|
|
8834
|
+
};
|
|
8835
|
+
Update: {
|
|
8836
|
+
afgesproken_door?: string | null;
|
|
8837
|
+
afgesproken_op?: string;
|
|
8838
|
+
besluit?: string;
|
|
8839
|
+
created_at?: string;
|
|
8840
|
+
item?: string;
|
|
8841
|
+
modules?: string[];
|
|
8842
|
+
sleutel?: string;
|
|
8843
|
+
soort?: string;
|
|
8844
|
+
updated_at?: string;
|
|
8845
|
+
versie_vingerafdruk?: string;
|
|
8846
|
+
};
|
|
8847
|
+
Relationships: [];
|
|
8848
|
+
};
|
|
8849
|
+
itk_handover_github_scan: {
|
|
8850
|
+
Row: {
|
|
8851
|
+
genegeerd_op: string | null;
|
|
8852
|
+
gescand_op: string;
|
|
8853
|
+
gevonden: boolean;
|
|
8854
|
+
melding: string | null;
|
|
8855
|
+
module_id: string | null;
|
|
8856
|
+
repo: string;
|
|
8857
|
+
};
|
|
8452
8858
|
Insert: {
|
|
8859
|
+
genegeerd_op?: string | null;
|
|
8453
8860
|
gescand_op?: string;
|
|
8454
8861
|
gevonden?: boolean;
|
|
8455
8862
|
melding?: string | null;
|
|
@@ -8457,6 +8864,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8457
8864
|
repo: string;
|
|
8458
8865
|
};
|
|
8459
8866
|
Update: {
|
|
8867
|
+
genegeerd_op?: string | null;
|
|
8460
8868
|
gescand_op?: string;
|
|
8461
8869
|
gevonden?: boolean;
|
|
8462
8870
|
melding?: string | null;
|
|
@@ -8465,13 +8873,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8465
8873
|
};
|
|
8466
8874
|
Relationships: [];
|
|
8467
8875
|
};
|
|
8876
|
+
itk_handover_github_voortgang: {
|
|
8877
|
+
Row: {
|
|
8878
|
+
bijgewerkt_op: string;
|
|
8879
|
+
huidige_repo: string | null;
|
|
8880
|
+
id: boolean;
|
|
8881
|
+
klaar: number;
|
|
8882
|
+
loopt: boolean;
|
|
8883
|
+
totaal: number;
|
|
8884
|
+
};
|
|
8885
|
+
Insert: {
|
|
8886
|
+
bijgewerkt_op?: string;
|
|
8887
|
+
huidige_repo?: string | null;
|
|
8888
|
+
id?: boolean;
|
|
8889
|
+
klaar?: number;
|
|
8890
|
+
loopt?: boolean;
|
|
8891
|
+
totaal?: number;
|
|
8892
|
+
};
|
|
8893
|
+
Update: {
|
|
8894
|
+
bijgewerkt_op?: string;
|
|
8895
|
+
huidige_repo?: string | null;
|
|
8896
|
+
id?: boolean;
|
|
8897
|
+
klaar?: number;
|
|
8898
|
+
loopt?: boolean;
|
|
8899
|
+
totaal?: number;
|
|
8900
|
+
};
|
|
8901
|
+
Relationships: [];
|
|
8902
|
+
};
|
|
8468
8903
|
itk_handover_module_meta: {
|
|
8469
8904
|
Row: {
|
|
8470
8905
|
check_aangevraagd_op: string | null;
|
|
8471
8906
|
check_nodig: boolean;
|
|
8472
8907
|
check_reden: string | null;
|
|
8473
8908
|
created_at: string;
|
|
8909
|
+
md_bron: boolean;
|
|
8910
|
+
md_bron_op: string | null;
|
|
8911
|
+
md_bron_pad: string | null;
|
|
8474
8912
|
module_id: string;
|
|
8913
|
+
nieuw_gezien: boolean;
|
|
8914
|
+
nieuw_gezien_op: string | null;
|
|
8475
8915
|
project_url: string | null;
|
|
8476
8916
|
publicatie_url: string | null;
|
|
8477
8917
|
updated_at: string;
|
|
@@ -8481,7 +8921,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8481
8921
|
check_nodig?: boolean;
|
|
8482
8922
|
check_reden?: string | null;
|
|
8483
8923
|
created_at?: string;
|
|
8924
|
+
md_bron?: boolean;
|
|
8925
|
+
md_bron_op?: string | null;
|
|
8926
|
+
md_bron_pad?: string | null;
|
|
8484
8927
|
module_id: string;
|
|
8928
|
+
nieuw_gezien?: boolean;
|
|
8929
|
+
nieuw_gezien_op?: string | null;
|
|
8485
8930
|
project_url?: string | null;
|
|
8486
8931
|
publicatie_url?: string | null;
|
|
8487
8932
|
updated_at?: string;
|
|
@@ -8491,13 +8936,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8491
8936
|
check_nodig?: boolean;
|
|
8492
8937
|
check_reden?: string | null;
|
|
8493
8938
|
created_at?: string;
|
|
8939
|
+
md_bron?: boolean;
|
|
8940
|
+
md_bron_op?: string | null;
|
|
8941
|
+
md_bron_pad?: string | null;
|
|
8494
8942
|
module_id?: string;
|
|
8943
|
+
nieuw_gezien?: boolean;
|
|
8944
|
+
nieuw_gezien_op?: string | null;
|
|
8495
8945
|
project_url?: string | null;
|
|
8496
8946
|
publicatie_url?: string | null;
|
|
8497
8947
|
updated_at?: string;
|
|
8498
8948
|
};
|
|
8499
8949
|
Relationships: [];
|
|
8500
8950
|
};
|
|
8951
|
+
itk_handover_module_naam: {
|
|
8952
|
+
Row: {
|
|
8953
|
+
bron_repo: string;
|
|
8954
|
+
created_at: string;
|
|
8955
|
+
module_id: string;
|
|
8956
|
+
standaardnaam: string | null;
|
|
8957
|
+
updated_at: string;
|
|
8958
|
+
weergavenaam: string;
|
|
8959
|
+
};
|
|
8960
|
+
Insert: {
|
|
8961
|
+
bron_repo?: string;
|
|
8962
|
+
created_at?: string;
|
|
8963
|
+
module_id: string;
|
|
8964
|
+
standaardnaam?: string | null;
|
|
8965
|
+
updated_at?: string;
|
|
8966
|
+
weergavenaam: string;
|
|
8967
|
+
};
|
|
8968
|
+
Update: {
|
|
8969
|
+
bron_repo?: string;
|
|
8970
|
+
created_at?: string;
|
|
8971
|
+
module_id?: string;
|
|
8972
|
+
standaardnaam?: string | null;
|
|
8973
|
+
updated_at?: string;
|
|
8974
|
+
weergavenaam?: string;
|
|
8975
|
+
};
|
|
8976
|
+
Relationships: [];
|
|
8977
|
+
};
|
|
8501
8978
|
itk_handover_project_modules: {
|
|
8502
8979
|
Row: {
|
|
8503
8980
|
created_at: string;
|
|
@@ -8611,6 +9088,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8611
9088
|
};
|
|
8612
9089
|
itk_module_handovers: {
|
|
8613
9090
|
Row: {
|
|
9091
|
+
bekende_risicos: string[];
|
|
8614
9092
|
bevindingen: string | null;
|
|
8615
9093
|
bezit_tabellen: string[];
|
|
8616
9094
|
bron_commit: string | null;
|
|
@@ -8629,6 +9107,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8629
9107
|
inhoud_md: string;
|
|
8630
9108
|
is_actueel: boolean;
|
|
8631
9109
|
is_gearchiveerd: boolean;
|
|
9110
|
+
laatst_bevestigd_op: string | null;
|
|
8632
9111
|
laatst_gecontroleerd_op: string | null;
|
|
8633
9112
|
module_id: string;
|
|
8634
9113
|
module_titel: string;
|
|
@@ -8638,6 +9117,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8638
9117
|
versie: number;
|
|
8639
9118
|
};
|
|
8640
9119
|
Insert: {
|
|
9120
|
+
bekende_risicos?: string[];
|
|
8641
9121
|
bevindingen?: string | null;
|
|
8642
9122
|
bezit_tabellen?: string[];
|
|
8643
9123
|
bron_commit?: string | null;
|
|
@@ -8656,6 +9136,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8656
9136
|
inhoud_md: string;
|
|
8657
9137
|
is_actueel?: boolean;
|
|
8658
9138
|
is_gearchiveerd?: boolean;
|
|
9139
|
+
laatst_bevestigd_op?: string | null;
|
|
8659
9140
|
laatst_gecontroleerd_op?: string | null;
|
|
8660
9141
|
module_id: string;
|
|
8661
9142
|
module_titel: string;
|
|
@@ -8665,6 +9146,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8665
9146
|
versie?: number;
|
|
8666
9147
|
};
|
|
8667
9148
|
Update: {
|
|
9149
|
+
bekende_risicos?: string[];
|
|
8668
9150
|
bevindingen?: string | null;
|
|
8669
9151
|
bezit_tabellen?: string[];
|
|
8670
9152
|
bron_commit?: string | null;
|
|
@@ -8683,6 +9165,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8683
9165
|
inhoud_md?: string;
|
|
8684
9166
|
is_actueel?: boolean;
|
|
8685
9167
|
is_gearchiveerd?: boolean;
|
|
9168
|
+
laatst_bevestigd_op?: string | null;
|
|
8686
9169
|
laatst_gecontroleerd_op?: string | null;
|
|
8687
9170
|
module_id?: string;
|
|
8688
9171
|
module_titel?: string;
|
|
@@ -8891,6 +9374,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8891
9374
|
};
|
|
8892
9375
|
Relationships: [];
|
|
8893
9376
|
};
|
|
9377
|
+
itk_offerte_werkbon_queue: {
|
|
9378
|
+
Row: {
|
|
9379
|
+
bron_werkbon_id: string | null;
|
|
9380
|
+
created_at: string;
|
|
9381
|
+
foutmelding: string | null;
|
|
9382
|
+
id: string;
|
|
9383
|
+
offerte_id: string;
|
|
9384
|
+
payload: import("./types").Json;
|
|
9385
|
+
status: string;
|
|
9386
|
+
updated_at: string;
|
|
9387
|
+
verwerkt_op: string | null;
|
|
9388
|
+
werkbon_id: string | null;
|
|
9389
|
+
werkbon_nummer: string | null;
|
|
9390
|
+
};
|
|
9391
|
+
Insert: {
|
|
9392
|
+
bron_werkbon_id?: string | null;
|
|
9393
|
+
created_at?: string;
|
|
9394
|
+
foutmelding?: string | null;
|
|
9395
|
+
id?: string;
|
|
9396
|
+
offerte_id: string;
|
|
9397
|
+
payload?: import("./types").Json;
|
|
9398
|
+
status?: string;
|
|
9399
|
+
updated_at?: string;
|
|
9400
|
+
verwerkt_op?: string | null;
|
|
9401
|
+
werkbon_id?: string | null;
|
|
9402
|
+
werkbon_nummer?: string | null;
|
|
9403
|
+
};
|
|
9404
|
+
Update: {
|
|
9405
|
+
bron_werkbon_id?: string | null;
|
|
9406
|
+
created_at?: string;
|
|
9407
|
+
foutmelding?: string | null;
|
|
9408
|
+
id?: string;
|
|
9409
|
+
offerte_id?: string;
|
|
9410
|
+
payload?: import("./types").Json;
|
|
9411
|
+
status?: string;
|
|
9412
|
+
updated_at?: string;
|
|
9413
|
+
verwerkt_op?: string | null;
|
|
9414
|
+
werkbon_id?: string | null;
|
|
9415
|
+
werkbon_nummer?: string | null;
|
|
9416
|
+
};
|
|
9417
|
+
Relationships: [{
|
|
9418
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9419
|
+
columns: ["offerte_id"];
|
|
9420
|
+
isOneToOne: false;
|
|
9421
|
+
referencedRelation: "itk_offertes";
|
|
9422
|
+
referencedColumns: ["id"];
|
|
9423
|
+
}];
|
|
9424
|
+
};
|
|
8894
9425
|
itk_offertes: {
|
|
8895
9426
|
Row: {
|
|
8896
9427
|
ai_generated: boolean;
|
|
@@ -10076,6 +10607,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10076
10607
|
};
|
|
10077
10608
|
Relationships: [];
|
|
10078
10609
|
};
|
|
10610
|
+
logistics_floriday_push_refusals: {
|
|
10611
|
+
Row: {
|
|
10612
|
+
action: string | null;
|
|
10613
|
+
created_at: string;
|
|
10614
|
+
id: string;
|
|
10615
|
+
order_ref: string;
|
|
10616
|
+
reason: string;
|
|
10617
|
+
source_module: string | null;
|
|
10618
|
+
source_shell: string | null;
|
|
10619
|
+
};
|
|
10620
|
+
Insert: {
|
|
10621
|
+
action?: string | null;
|
|
10622
|
+
created_at?: string;
|
|
10623
|
+
id?: string;
|
|
10624
|
+
order_ref: string;
|
|
10625
|
+
reason: string;
|
|
10626
|
+
source_module?: string | null;
|
|
10627
|
+
source_shell?: string | null;
|
|
10628
|
+
};
|
|
10629
|
+
Update: {
|
|
10630
|
+
action?: string | null;
|
|
10631
|
+
created_at?: string;
|
|
10632
|
+
id?: string;
|
|
10633
|
+
order_ref?: string;
|
|
10634
|
+
reason?: string;
|
|
10635
|
+
source_module?: string | null;
|
|
10636
|
+
source_shell?: string | null;
|
|
10637
|
+
};
|
|
10638
|
+
Relationships: [];
|
|
10639
|
+
};
|
|
10079
10640
|
logistics_floriday_pushes: {
|
|
10080
10641
|
Row: {
|
|
10081
10642
|
attempts: number;
|
|
@@ -10151,6 +10712,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10151
10712
|
};
|
|
10152
10713
|
Relationships: [];
|
|
10153
10714
|
};
|
|
10715
|
+
logistics_floriday_status_sends: {
|
|
10716
|
+
Row: {
|
|
10717
|
+
action: string;
|
|
10718
|
+
created_at: string;
|
|
10719
|
+
detail: string | null;
|
|
10720
|
+
http_status: number | null;
|
|
10721
|
+
id: string;
|
|
10722
|
+
ok: boolean;
|
|
10723
|
+
order_ref: string;
|
|
10724
|
+
source_module: string | null;
|
|
10725
|
+
source_shell: string | null;
|
|
10726
|
+
};
|
|
10727
|
+
Insert: {
|
|
10728
|
+
action: string;
|
|
10729
|
+
created_at?: string;
|
|
10730
|
+
detail?: string | null;
|
|
10731
|
+
http_status?: number | null;
|
|
10732
|
+
id?: string;
|
|
10733
|
+
ok?: boolean;
|
|
10734
|
+
order_ref: string;
|
|
10735
|
+
source_module?: string | null;
|
|
10736
|
+
source_shell?: string | null;
|
|
10737
|
+
};
|
|
10738
|
+
Update: {
|
|
10739
|
+
action?: string;
|
|
10740
|
+
created_at?: string;
|
|
10741
|
+
detail?: string | null;
|
|
10742
|
+
http_status?: number | null;
|
|
10743
|
+
id?: string;
|
|
10744
|
+
ok?: boolean;
|
|
10745
|
+
order_ref?: string;
|
|
10746
|
+
source_module?: string | null;
|
|
10747
|
+
source_shell?: string | null;
|
|
10748
|
+
};
|
|
10749
|
+
Relationships: [];
|
|
10750
|
+
};
|
|
10154
10751
|
logistics_formulas: {
|
|
10155
10752
|
Row: {
|
|
10156
10753
|
created_at: string;
|
|
@@ -10223,6 +10820,144 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10223
10820
|
};
|
|
10224
10821
|
Relationships: [];
|
|
10225
10822
|
};
|
|
10823
|
+
logistics_opening_exceptions: {
|
|
10824
|
+
Row: {
|
|
10825
|
+
closes: string | null;
|
|
10826
|
+
created_at: string;
|
|
10827
|
+
day: string;
|
|
10828
|
+
id: string;
|
|
10829
|
+
is_closed: boolean;
|
|
10830
|
+
note: string | null;
|
|
10831
|
+
opens: string | null;
|
|
10832
|
+
};
|
|
10833
|
+
Insert: {
|
|
10834
|
+
closes?: string | null;
|
|
10835
|
+
created_at?: string;
|
|
10836
|
+
day: string;
|
|
10837
|
+
id?: string;
|
|
10838
|
+
is_closed?: boolean;
|
|
10839
|
+
note?: string | null;
|
|
10840
|
+
opens?: string | null;
|
|
10841
|
+
};
|
|
10842
|
+
Update: {
|
|
10843
|
+
closes?: string | null;
|
|
10844
|
+
created_at?: string;
|
|
10845
|
+
day?: string;
|
|
10846
|
+
id?: string;
|
|
10847
|
+
is_closed?: boolean;
|
|
10848
|
+
note?: string | null;
|
|
10849
|
+
opens?: string | null;
|
|
10850
|
+
};
|
|
10851
|
+
Relationships: [];
|
|
10852
|
+
};
|
|
10853
|
+
logistics_opening_hours: {
|
|
10854
|
+
Row: {
|
|
10855
|
+
closes: string;
|
|
10856
|
+
created_at: string;
|
|
10857
|
+
id: string;
|
|
10858
|
+
is_active: boolean;
|
|
10859
|
+
note: string | null;
|
|
10860
|
+
opens: string;
|
|
10861
|
+
weekday: number;
|
|
10862
|
+
};
|
|
10863
|
+
Insert: {
|
|
10864
|
+
closes: string;
|
|
10865
|
+
created_at?: string;
|
|
10866
|
+
id?: string;
|
|
10867
|
+
is_active?: boolean;
|
|
10868
|
+
note?: string | null;
|
|
10869
|
+
opens: string;
|
|
10870
|
+
weekday: number;
|
|
10871
|
+
};
|
|
10872
|
+
Update: {
|
|
10873
|
+
closes?: string;
|
|
10874
|
+
created_at?: string;
|
|
10875
|
+
id?: string;
|
|
10876
|
+
is_active?: boolean;
|
|
10877
|
+
note?: string | null;
|
|
10878
|
+
opens?: string;
|
|
10879
|
+
weekday?: number;
|
|
10880
|
+
};
|
|
10881
|
+
Relationships: [];
|
|
10882
|
+
};
|
|
10883
|
+
logistics_order_merges: {
|
|
10884
|
+
Row: {
|
|
10885
|
+
group_key: string;
|
|
10886
|
+
id: string;
|
|
10887
|
+
items_moved: number;
|
|
10888
|
+
kept_order_id: string;
|
|
10889
|
+
kept_order_number: string | null;
|
|
10890
|
+
merged_at: string;
|
|
10891
|
+
merged_order_id: string;
|
|
10892
|
+
merged_order_number: string | null;
|
|
10893
|
+
sales_order_id: string | null;
|
|
10894
|
+
};
|
|
10895
|
+
Insert: {
|
|
10896
|
+
group_key: string;
|
|
10897
|
+
id?: string;
|
|
10898
|
+
items_moved?: number;
|
|
10899
|
+
kept_order_id: string;
|
|
10900
|
+
kept_order_number?: string | null;
|
|
10901
|
+
merged_at?: string;
|
|
10902
|
+
merged_order_id: string;
|
|
10903
|
+
merged_order_number?: string | null;
|
|
10904
|
+
sales_order_id?: string | null;
|
|
10905
|
+
};
|
|
10906
|
+
Update: {
|
|
10907
|
+
group_key?: string;
|
|
10908
|
+
id?: string;
|
|
10909
|
+
items_moved?: number;
|
|
10910
|
+
kept_order_id?: string;
|
|
10911
|
+
kept_order_number?: string | null;
|
|
10912
|
+
merged_at?: string;
|
|
10913
|
+
merged_order_id?: string;
|
|
10914
|
+
merged_order_number?: string | null;
|
|
10915
|
+
sales_order_id?: string | null;
|
|
10916
|
+
};
|
|
10917
|
+
Relationships: [];
|
|
10918
|
+
};
|
|
10919
|
+
logistics_pick_data_requests: {
|
|
10920
|
+
Row: {
|
|
10921
|
+
actions: import("./types").Json;
|
|
10922
|
+
created_at: string;
|
|
10923
|
+
event_id: string | null;
|
|
10924
|
+
finished_at: string | null;
|
|
10925
|
+
id: string;
|
|
10926
|
+
missing: import("./types").Json;
|
|
10927
|
+
order_ref: string;
|
|
10928
|
+
reason: string | null;
|
|
10929
|
+
result: import("./types").Json | null;
|
|
10930
|
+
status: string;
|
|
10931
|
+
unit_ref: string | null;
|
|
10932
|
+
};
|
|
10933
|
+
Insert: {
|
|
10934
|
+
actions?: import("./types").Json;
|
|
10935
|
+
created_at?: string;
|
|
10936
|
+
event_id?: string | null;
|
|
10937
|
+
finished_at?: string | null;
|
|
10938
|
+
id?: string;
|
|
10939
|
+
missing?: import("./types").Json;
|
|
10940
|
+
order_ref: string;
|
|
10941
|
+
reason?: string | null;
|
|
10942
|
+
result?: import("./types").Json | null;
|
|
10943
|
+
status?: string;
|
|
10944
|
+
unit_ref?: string | null;
|
|
10945
|
+
};
|
|
10946
|
+
Update: {
|
|
10947
|
+
actions?: import("./types").Json;
|
|
10948
|
+
created_at?: string;
|
|
10949
|
+
event_id?: string | null;
|
|
10950
|
+
finished_at?: string | null;
|
|
10951
|
+
id?: string;
|
|
10952
|
+
missing?: import("./types").Json;
|
|
10953
|
+
order_ref?: string;
|
|
10954
|
+
reason?: string | null;
|
|
10955
|
+
result?: import("./types").Json | null;
|
|
10956
|
+
status?: string;
|
|
10957
|
+
unit_ref?: string | null;
|
|
10958
|
+
};
|
|
10959
|
+
Relationships: [];
|
|
10960
|
+
};
|
|
10226
10961
|
logistics_pickup_moments: {
|
|
10227
10962
|
Row: {
|
|
10228
10963
|
carrier_ref: string | null;
|
|
@@ -10259,6 +10994,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10259
10994
|
};
|
|
10260
10995
|
Relationships: [];
|
|
10261
10996
|
};
|
|
10997
|
+
logistics_plan_locks: {
|
|
10998
|
+
Row: {
|
|
10999
|
+
created_at: string;
|
|
11000
|
+
lock_key: string;
|
|
11001
|
+
locked_until: string;
|
|
11002
|
+
owner: string | null;
|
|
11003
|
+
updated_at: string;
|
|
11004
|
+
};
|
|
11005
|
+
Insert: {
|
|
11006
|
+
created_at?: string;
|
|
11007
|
+
lock_key: string;
|
|
11008
|
+
locked_until: string;
|
|
11009
|
+
owner?: string | null;
|
|
11010
|
+
updated_at?: string;
|
|
11011
|
+
};
|
|
11012
|
+
Update: {
|
|
11013
|
+
created_at?: string;
|
|
11014
|
+
lock_key?: string;
|
|
11015
|
+
locked_until?: string;
|
|
11016
|
+
owner?: string | null;
|
|
11017
|
+
updated_at?: string;
|
|
11018
|
+
};
|
|
11019
|
+
Relationships: [];
|
|
11020
|
+
};
|
|
10262
11021
|
logistics_plan_queue: {
|
|
10263
11022
|
Row: {
|
|
10264
11023
|
attempts: number;
|
|
@@ -10682,6 +11441,69 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10682
11441
|
};
|
|
10683
11442
|
Relationships: [];
|
|
10684
11443
|
};
|
|
11444
|
+
logistics_slip_shipping_note: {
|
|
11445
|
+
Row: {
|
|
11446
|
+
attempts: number;
|
|
11447
|
+
batch_key: string | null;
|
|
11448
|
+
cart_id: string | null;
|
|
11449
|
+
created_at: string;
|
|
11450
|
+
error: string | null;
|
|
11451
|
+
error_code: string | null;
|
|
11452
|
+
fulfillment_order_id: string | null;
|
|
11453
|
+
id: string;
|
|
11454
|
+
locked_until: string | null;
|
|
11455
|
+
next_attempt_at: string | null;
|
|
11456
|
+
order_id: string | null;
|
|
11457
|
+
order_number: string | null;
|
|
11458
|
+
print_job_id: string | null;
|
|
11459
|
+
printer_id: string | null;
|
|
11460
|
+
retry_class: string | null;
|
|
11461
|
+
slip_job_id: string;
|
|
11462
|
+
status: string;
|
|
11463
|
+
updated_at: string;
|
|
11464
|
+
};
|
|
11465
|
+
Insert: {
|
|
11466
|
+
attempts?: number;
|
|
11467
|
+
batch_key?: string | null;
|
|
11468
|
+
cart_id?: string | null;
|
|
11469
|
+
created_at?: string;
|
|
11470
|
+
error?: string | null;
|
|
11471
|
+
error_code?: string | null;
|
|
11472
|
+
fulfillment_order_id?: string | null;
|
|
11473
|
+
id?: string;
|
|
11474
|
+
locked_until?: string | null;
|
|
11475
|
+
next_attempt_at?: string | null;
|
|
11476
|
+
order_id?: string | null;
|
|
11477
|
+
order_number?: string | null;
|
|
11478
|
+
print_job_id?: string | null;
|
|
11479
|
+
printer_id?: string | null;
|
|
11480
|
+
retry_class?: string | null;
|
|
11481
|
+
slip_job_id: string;
|
|
11482
|
+
status?: string;
|
|
11483
|
+
updated_at?: string;
|
|
11484
|
+
};
|
|
11485
|
+
Update: {
|
|
11486
|
+
attempts?: number;
|
|
11487
|
+
batch_key?: string | null;
|
|
11488
|
+
cart_id?: string | null;
|
|
11489
|
+
created_at?: string;
|
|
11490
|
+
error?: string | null;
|
|
11491
|
+
error_code?: string | null;
|
|
11492
|
+
fulfillment_order_id?: string | null;
|
|
11493
|
+
id?: string;
|
|
11494
|
+
locked_until?: string | null;
|
|
11495
|
+
next_attempt_at?: string | null;
|
|
11496
|
+
order_id?: string | null;
|
|
11497
|
+
order_number?: string | null;
|
|
11498
|
+
print_job_id?: string | null;
|
|
11499
|
+
printer_id?: string | null;
|
|
11500
|
+
retry_class?: string | null;
|
|
11501
|
+
slip_job_id?: string;
|
|
11502
|
+
status?: string;
|
|
11503
|
+
updated_at?: string;
|
|
11504
|
+
};
|
|
11505
|
+
Relationships: [];
|
|
11506
|
+
};
|
|
10685
11507
|
logistics_staff_planning: {
|
|
10686
11508
|
Row: {
|
|
10687
11509
|
created_at: string;
|
|
@@ -11015,6 +11837,264 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11015
11837
|
};
|
|
11016
11838
|
Relationships: [];
|
|
11017
11839
|
};
|
|
11840
|
+
logistics_time_settings: {
|
|
11841
|
+
Row: {
|
|
11842
|
+
id: boolean;
|
|
11843
|
+
timezone: string;
|
|
11844
|
+
updated_at: string;
|
|
11845
|
+
};
|
|
11846
|
+
Insert: {
|
|
11847
|
+
id?: boolean;
|
|
11848
|
+
timezone: string;
|
|
11849
|
+
updated_at?: string;
|
|
11850
|
+
};
|
|
11851
|
+
Update: {
|
|
11852
|
+
id?: boolean;
|
|
11853
|
+
timezone?: string;
|
|
11854
|
+
updated_at?: string;
|
|
11855
|
+
};
|
|
11856
|
+
Relationships: [];
|
|
11857
|
+
};
|
|
11858
|
+
logistics_trace_events: {
|
|
11859
|
+
Row: {
|
|
11860
|
+
actor: string | null;
|
|
11861
|
+
attempts: number;
|
|
11862
|
+
calc: import("./types").Json | null;
|
|
11863
|
+
cart_ref: string | null;
|
|
11864
|
+
created_at: string;
|
|
11865
|
+
db_action: string | null;
|
|
11866
|
+
db_new: import("./types").Json | null;
|
|
11867
|
+
db_old: import("./types").Json | null;
|
|
11868
|
+
db_record: string | null;
|
|
11869
|
+
db_table: string | null;
|
|
11870
|
+
decision: string | null;
|
|
11871
|
+
duration_ms: number | null;
|
|
11872
|
+
error: string | null;
|
|
11873
|
+
error_class: string | null;
|
|
11874
|
+
external_action: string | null;
|
|
11875
|
+
external_ref: string | null;
|
|
11876
|
+
external_response: import("./types").Json | null;
|
|
11877
|
+
external_status: string | null;
|
|
11878
|
+
external_system: string | null;
|
|
11879
|
+
id: string;
|
|
11880
|
+
input: import("./types").Json | null;
|
|
11881
|
+
next_attempt_at: string | null;
|
|
11882
|
+
next_step: string | null;
|
|
11883
|
+
node_id: string | null;
|
|
11884
|
+
order_ref: string | null;
|
|
11885
|
+
order_source: string | null;
|
|
11886
|
+
output: import("./types").Json | null;
|
|
11887
|
+
phase: string;
|
|
11888
|
+
reads: import("./types").Json | null;
|
|
11889
|
+
reason: string | null;
|
|
11890
|
+
rule: string | null;
|
|
11891
|
+
slip_ref: string | null;
|
|
11892
|
+
status: string;
|
|
11893
|
+
step: string;
|
|
11894
|
+
trace_id: string;
|
|
11895
|
+
values_used: import("./types").Json | null;
|
|
11896
|
+
};
|
|
11897
|
+
Insert: {
|
|
11898
|
+
actor?: string | null;
|
|
11899
|
+
attempts?: number;
|
|
11900
|
+
calc?: import("./types").Json | null;
|
|
11901
|
+
cart_ref?: string | null;
|
|
11902
|
+
created_at?: string;
|
|
11903
|
+
db_action?: string | null;
|
|
11904
|
+
db_new?: import("./types").Json | null;
|
|
11905
|
+
db_old?: import("./types").Json | null;
|
|
11906
|
+
db_record?: string | null;
|
|
11907
|
+
db_table?: string | null;
|
|
11908
|
+
decision?: string | null;
|
|
11909
|
+
duration_ms?: number | null;
|
|
11910
|
+
error?: string | null;
|
|
11911
|
+
error_class?: string | null;
|
|
11912
|
+
external_action?: string | null;
|
|
11913
|
+
external_ref?: string | null;
|
|
11914
|
+
external_response?: import("./types").Json | null;
|
|
11915
|
+
external_status?: string | null;
|
|
11916
|
+
external_system?: string | null;
|
|
11917
|
+
id?: string;
|
|
11918
|
+
input?: import("./types").Json | null;
|
|
11919
|
+
next_attempt_at?: string | null;
|
|
11920
|
+
next_step?: string | null;
|
|
11921
|
+
node_id?: string | null;
|
|
11922
|
+
order_ref?: string | null;
|
|
11923
|
+
order_source?: string | null;
|
|
11924
|
+
output?: import("./types").Json | null;
|
|
11925
|
+
phase: string;
|
|
11926
|
+
reads?: import("./types").Json | null;
|
|
11927
|
+
reason?: string | null;
|
|
11928
|
+
rule?: string | null;
|
|
11929
|
+
slip_ref?: string | null;
|
|
11930
|
+
status: string;
|
|
11931
|
+
step: string;
|
|
11932
|
+
trace_id?: string;
|
|
11933
|
+
values_used?: import("./types").Json | null;
|
|
11934
|
+
};
|
|
11935
|
+
Update: {
|
|
11936
|
+
actor?: string | null;
|
|
11937
|
+
attempts?: number;
|
|
11938
|
+
calc?: import("./types").Json | null;
|
|
11939
|
+
cart_ref?: string | null;
|
|
11940
|
+
created_at?: string;
|
|
11941
|
+
db_action?: string | null;
|
|
11942
|
+
db_new?: import("./types").Json | null;
|
|
11943
|
+
db_old?: import("./types").Json | null;
|
|
11944
|
+
db_record?: string | null;
|
|
11945
|
+
db_table?: string | null;
|
|
11946
|
+
decision?: string | null;
|
|
11947
|
+
duration_ms?: number | null;
|
|
11948
|
+
error?: string | null;
|
|
11949
|
+
error_class?: string | null;
|
|
11950
|
+
external_action?: string | null;
|
|
11951
|
+
external_ref?: string | null;
|
|
11952
|
+
external_response?: import("./types").Json | null;
|
|
11953
|
+
external_status?: string | null;
|
|
11954
|
+
external_system?: string | null;
|
|
11955
|
+
id?: string;
|
|
11956
|
+
input?: import("./types").Json | null;
|
|
11957
|
+
next_attempt_at?: string | null;
|
|
11958
|
+
next_step?: string | null;
|
|
11959
|
+
node_id?: string | null;
|
|
11960
|
+
order_ref?: string | null;
|
|
11961
|
+
order_source?: string | null;
|
|
11962
|
+
output?: import("./types").Json | null;
|
|
11963
|
+
phase?: string;
|
|
11964
|
+
reads?: import("./types").Json | null;
|
|
11965
|
+
reason?: string | null;
|
|
11966
|
+
rule?: string | null;
|
|
11967
|
+
slip_ref?: string | null;
|
|
11968
|
+
status?: string;
|
|
11969
|
+
step?: string;
|
|
11970
|
+
trace_id?: string;
|
|
11971
|
+
values_used?: import("./types").Json | null;
|
|
11972
|
+
};
|
|
11973
|
+
Relationships: [];
|
|
11974
|
+
};
|
|
11975
|
+
logistics_trace_events_archive: {
|
|
11976
|
+
Row: {
|
|
11977
|
+
actor: string | null;
|
|
11978
|
+
attempts: number;
|
|
11979
|
+
calc: import("./types").Json | null;
|
|
11980
|
+
cart_ref: string | null;
|
|
11981
|
+
created_at: string;
|
|
11982
|
+
db_action: string | null;
|
|
11983
|
+
db_new: import("./types").Json | null;
|
|
11984
|
+
db_old: import("./types").Json | null;
|
|
11985
|
+
db_record: string | null;
|
|
11986
|
+
db_table: string | null;
|
|
11987
|
+
decision: string | null;
|
|
11988
|
+
duration_ms: number | null;
|
|
11989
|
+
error: string | null;
|
|
11990
|
+
error_class: string | null;
|
|
11991
|
+
external_action: string | null;
|
|
11992
|
+
external_ref: string | null;
|
|
11993
|
+
external_response: import("./types").Json | null;
|
|
11994
|
+
external_status: string | null;
|
|
11995
|
+
external_system: string | null;
|
|
11996
|
+
id: string;
|
|
11997
|
+
input: import("./types").Json | null;
|
|
11998
|
+
next_attempt_at: string | null;
|
|
11999
|
+
next_step: string | null;
|
|
12000
|
+
node_id: string | null;
|
|
12001
|
+
order_ref: string | null;
|
|
12002
|
+
order_source: string | null;
|
|
12003
|
+
output: import("./types").Json | null;
|
|
12004
|
+
phase: string;
|
|
12005
|
+
reads: import("./types").Json | null;
|
|
12006
|
+
reason: string | null;
|
|
12007
|
+
rule: string | null;
|
|
12008
|
+
slip_ref: string | null;
|
|
12009
|
+
status: string;
|
|
12010
|
+
step: string;
|
|
12011
|
+
superseded_at: string;
|
|
12012
|
+
superseded_reason: string | null;
|
|
12013
|
+
trace_id: string;
|
|
12014
|
+
values_used: import("./types").Json | null;
|
|
12015
|
+
};
|
|
12016
|
+
Insert: {
|
|
12017
|
+
actor?: string | null;
|
|
12018
|
+
attempts?: number;
|
|
12019
|
+
calc?: import("./types").Json | null;
|
|
12020
|
+
cart_ref?: string | null;
|
|
12021
|
+
created_at?: string;
|
|
12022
|
+
db_action?: string | null;
|
|
12023
|
+
db_new?: import("./types").Json | null;
|
|
12024
|
+
db_old?: import("./types").Json | null;
|
|
12025
|
+
db_record?: string | null;
|
|
12026
|
+
db_table?: string | null;
|
|
12027
|
+
decision?: string | null;
|
|
12028
|
+
duration_ms?: number | null;
|
|
12029
|
+
error?: string | null;
|
|
12030
|
+
error_class?: string | null;
|
|
12031
|
+
external_action?: string | null;
|
|
12032
|
+
external_ref?: string | null;
|
|
12033
|
+
external_response?: import("./types").Json | null;
|
|
12034
|
+
external_status?: string | null;
|
|
12035
|
+
external_system?: string | null;
|
|
12036
|
+
id?: string;
|
|
12037
|
+
input?: import("./types").Json | null;
|
|
12038
|
+
next_attempt_at?: string | null;
|
|
12039
|
+
next_step?: string | null;
|
|
12040
|
+
node_id?: string | null;
|
|
12041
|
+
order_ref?: string | null;
|
|
12042
|
+
order_source?: string | null;
|
|
12043
|
+
output?: import("./types").Json | null;
|
|
12044
|
+
phase: string;
|
|
12045
|
+
reads?: import("./types").Json | null;
|
|
12046
|
+
reason?: string | null;
|
|
12047
|
+
rule?: string | null;
|
|
12048
|
+
slip_ref?: string | null;
|
|
12049
|
+
status: string;
|
|
12050
|
+
step: string;
|
|
12051
|
+
superseded_at?: string;
|
|
12052
|
+
superseded_reason?: string | null;
|
|
12053
|
+
trace_id?: string;
|
|
12054
|
+
values_used?: import("./types").Json | null;
|
|
12055
|
+
};
|
|
12056
|
+
Update: {
|
|
12057
|
+
actor?: string | null;
|
|
12058
|
+
attempts?: number;
|
|
12059
|
+
calc?: import("./types").Json | null;
|
|
12060
|
+
cart_ref?: string | null;
|
|
12061
|
+
created_at?: string;
|
|
12062
|
+
db_action?: string | null;
|
|
12063
|
+
db_new?: import("./types").Json | null;
|
|
12064
|
+
db_old?: import("./types").Json | null;
|
|
12065
|
+
db_record?: string | null;
|
|
12066
|
+
db_table?: string | null;
|
|
12067
|
+
decision?: string | null;
|
|
12068
|
+
duration_ms?: number | null;
|
|
12069
|
+
error?: string | null;
|
|
12070
|
+
error_class?: string | null;
|
|
12071
|
+
external_action?: string | null;
|
|
12072
|
+
external_ref?: string | null;
|
|
12073
|
+
external_response?: import("./types").Json | null;
|
|
12074
|
+
external_status?: string | null;
|
|
12075
|
+
external_system?: string | null;
|
|
12076
|
+
id?: string;
|
|
12077
|
+
input?: import("./types").Json | null;
|
|
12078
|
+
next_attempt_at?: string | null;
|
|
12079
|
+
next_step?: string | null;
|
|
12080
|
+
node_id?: string | null;
|
|
12081
|
+
order_ref?: string | null;
|
|
12082
|
+
order_source?: string | null;
|
|
12083
|
+
output?: import("./types").Json | null;
|
|
12084
|
+
phase?: string;
|
|
12085
|
+
reads?: import("./types").Json | null;
|
|
12086
|
+
reason?: string | null;
|
|
12087
|
+
rule?: string | null;
|
|
12088
|
+
slip_ref?: string | null;
|
|
12089
|
+
status?: string;
|
|
12090
|
+
step?: string;
|
|
12091
|
+
superseded_at?: string;
|
|
12092
|
+
superseded_reason?: string | null;
|
|
12093
|
+
trace_id?: string;
|
|
12094
|
+
values_used?: import("./types").Json | null;
|
|
12095
|
+
};
|
|
12096
|
+
Relationships: [];
|
|
12097
|
+
};
|
|
11018
12098
|
logistics_variables: {
|
|
11019
12099
|
Row: {
|
|
11020
12100
|
created_at: string;
|
|
@@ -11162,6 +12242,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11162
12242
|
has_attachments: boolean;
|
|
11163
12243
|
id: string;
|
|
11164
12244
|
message_id: string | null;
|
|
12245
|
+
preview: string | null;
|
|
11165
12246
|
profile_id: string | null;
|
|
11166
12247
|
raw_size: number | null;
|
|
11167
12248
|
received_at: string | null;
|
|
@@ -11185,6 +12266,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11185
12266
|
has_attachments?: boolean;
|
|
11186
12267
|
id?: string;
|
|
11187
12268
|
message_id?: string | null;
|
|
12269
|
+
preview?: string | null;
|
|
11188
12270
|
profile_id?: string | null;
|
|
11189
12271
|
raw_size?: number | null;
|
|
11190
12272
|
received_at?: string | null;
|
|
@@ -11208,6 +12290,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11208
12290
|
has_attachments?: boolean;
|
|
11209
12291
|
id?: string;
|
|
11210
12292
|
message_id?: string | null;
|
|
12293
|
+
preview?: string | null;
|
|
11211
12294
|
profile_id?: string | null;
|
|
11212
12295
|
raw_size?: number | null;
|
|
11213
12296
|
received_at?: string | null;
|
|
@@ -11239,6 +12322,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11239
12322
|
};
|
|
11240
12323
|
mailbox_order_proposals: {
|
|
11241
12324
|
Row: {
|
|
12325
|
+
ai_ok: boolean | null;
|
|
11242
12326
|
ai_validation: import("./types").Json | null;
|
|
11243
12327
|
confidence: number | null;
|
|
11244
12328
|
created_at: string;
|
|
@@ -11256,6 +12340,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11256
12340
|
updated_at: string;
|
|
11257
12341
|
};
|
|
11258
12342
|
Insert: {
|
|
12343
|
+
ai_ok?: boolean | null;
|
|
11259
12344
|
ai_validation?: import("./types").Json | null;
|
|
11260
12345
|
confidence?: number | null;
|
|
11261
12346
|
created_at?: string;
|
|
@@ -11273,6 +12358,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11273
12358
|
updated_at?: string;
|
|
11274
12359
|
};
|
|
11275
12360
|
Update: {
|
|
12361
|
+
ai_ok?: boolean | null;
|
|
11276
12362
|
ai_validation?: import("./types").Json | null;
|
|
11277
12363
|
confidence?: number | null;
|
|
11278
12364
|
created_at?: string;
|
|
@@ -13405,6 +14491,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13405
14491
|
customer_name: string;
|
|
13406
14492
|
deleted_at: string | null;
|
|
13407
14493
|
delivery_date: string | null;
|
|
14494
|
+
floriday_order_group_key: string | null;
|
|
13408
14495
|
floriday_sales_order_id: string | null;
|
|
13409
14496
|
id: string;
|
|
13410
14497
|
invoice_due_at: string | null;
|
|
@@ -13432,6 +14519,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13432
14519
|
customer_name?: string;
|
|
13433
14520
|
deleted_at?: string | null;
|
|
13434
14521
|
delivery_date?: string | null;
|
|
14522
|
+
floriday_order_group_key?: string | null;
|
|
13435
14523
|
floriday_sales_order_id?: string | null;
|
|
13436
14524
|
id?: string;
|
|
13437
14525
|
invoice_due_at?: string | null;
|
|
@@ -13459,6 +14547,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13459
14547
|
customer_name?: string;
|
|
13460
14548
|
deleted_at?: string | null;
|
|
13461
14549
|
delivery_date?: string | null;
|
|
14550
|
+
floriday_order_group_key?: string | null;
|
|
13462
14551
|
floriday_sales_order_id?: string | null;
|
|
13463
14552
|
id?: string;
|
|
13464
14553
|
invoice_due_at?: string | null;
|
|
@@ -13652,6 +14741,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13652
14741
|
};
|
|
13653
14742
|
Relationships: [];
|
|
13654
14743
|
};
|
|
14744
|
+
pick_buffer_event_cursor: {
|
|
14745
|
+
Row: {
|
|
14746
|
+
created_at: string;
|
|
14747
|
+
id: boolean;
|
|
14748
|
+
last_event_at: string;
|
|
14749
|
+
updated_at: string;
|
|
14750
|
+
};
|
|
14751
|
+
Insert: {
|
|
14752
|
+
created_at?: string;
|
|
14753
|
+
id?: boolean;
|
|
14754
|
+
last_event_at?: string;
|
|
14755
|
+
updated_at?: string;
|
|
14756
|
+
};
|
|
14757
|
+
Update: {
|
|
14758
|
+
created_at?: string;
|
|
14759
|
+
id?: boolean;
|
|
14760
|
+
last_event_at?: string;
|
|
14761
|
+
updated_at?: string;
|
|
14762
|
+
};
|
|
14763
|
+
Relationships: [];
|
|
14764
|
+
};
|
|
13655
14765
|
pick_countries: {
|
|
13656
14766
|
Row: {
|
|
13657
14767
|
active: boolean;
|
|
@@ -14738,6 +15848,123 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
14738
15848
|
referencedColumns: ["id"];
|
|
14739
15849
|
}];
|
|
14740
15850
|
};
|
|
15851
|
+
price_list_rows: {
|
|
15852
|
+
Row: {
|
|
15853
|
+
action: string;
|
|
15854
|
+
created_at: string;
|
|
15855
|
+
id: string;
|
|
15856
|
+
message: string | null;
|
|
15857
|
+
parsed: import("./types").Json;
|
|
15858
|
+
price_list_id: string;
|
|
15859
|
+
raw: import("./types").Json;
|
|
15860
|
+
row_number: number;
|
|
15861
|
+
supplier_product_id: string | null;
|
|
15862
|
+
};
|
|
15863
|
+
Insert: {
|
|
15864
|
+
action?: string;
|
|
15865
|
+
created_at?: string;
|
|
15866
|
+
id?: string;
|
|
15867
|
+
message?: string | null;
|
|
15868
|
+
parsed?: import("./types").Json;
|
|
15869
|
+
price_list_id: string;
|
|
15870
|
+
raw?: import("./types").Json;
|
|
15871
|
+
row_number: number;
|
|
15872
|
+
supplier_product_id?: string | null;
|
|
15873
|
+
};
|
|
15874
|
+
Update: {
|
|
15875
|
+
action?: string;
|
|
15876
|
+
created_at?: string;
|
|
15877
|
+
id?: string;
|
|
15878
|
+
message?: string | null;
|
|
15879
|
+
parsed?: import("./types").Json;
|
|
15880
|
+
price_list_id?: string;
|
|
15881
|
+
raw?: import("./types").Json;
|
|
15882
|
+
row_number?: number;
|
|
15883
|
+
supplier_product_id?: string | null;
|
|
15884
|
+
};
|
|
15885
|
+
Relationships: [{
|
|
15886
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
15887
|
+
columns: ["price_list_id"];
|
|
15888
|
+
isOneToOne: false;
|
|
15889
|
+
referencedRelation: "price_lists";
|
|
15890
|
+
referencedColumns: ["id"];
|
|
15891
|
+
}, {
|
|
15892
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
15893
|
+
columns: ["supplier_product_id"];
|
|
15894
|
+
isOneToOne: false;
|
|
15895
|
+
referencedRelation: "supplier_products";
|
|
15896
|
+
referencedColumns: ["id"];
|
|
15897
|
+
}];
|
|
15898
|
+
};
|
|
15899
|
+
price_lists: {
|
|
15900
|
+
Row: {
|
|
15901
|
+
created_at: string;
|
|
15902
|
+
created_by: string | null;
|
|
15903
|
+
file_hash: string | null;
|
|
15904
|
+
file_name: string;
|
|
15905
|
+
file_path: string | null;
|
|
15906
|
+
headers: string[];
|
|
15907
|
+
id: string;
|
|
15908
|
+
preview: import("./types").Json;
|
|
15909
|
+
processed_at: string | null;
|
|
15910
|
+
reason: string | null;
|
|
15911
|
+
row_count: number;
|
|
15912
|
+
sheet_name: string | null;
|
|
15913
|
+
source: string;
|
|
15914
|
+
stats: import("./types").Json;
|
|
15915
|
+
status: string;
|
|
15916
|
+
supplier_guess: string | null;
|
|
15917
|
+
supplier_id: string | null;
|
|
15918
|
+
updated_at: string;
|
|
15919
|
+
};
|
|
15920
|
+
Insert: {
|
|
15921
|
+
created_at?: string;
|
|
15922
|
+
created_by?: string | null;
|
|
15923
|
+
file_hash?: string | null;
|
|
15924
|
+
file_name: string;
|
|
15925
|
+
file_path?: string | null;
|
|
15926
|
+
headers?: string[];
|
|
15927
|
+
id?: string;
|
|
15928
|
+
preview?: import("./types").Json;
|
|
15929
|
+
processed_at?: string | null;
|
|
15930
|
+
reason?: string | null;
|
|
15931
|
+
row_count?: number;
|
|
15932
|
+
sheet_name?: string | null;
|
|
15933
|
+
source?: string;
|
|
15934
|
+
stats?: import("./types").Json;
|
|
15935
|
+
status?: string;
|
|
15936
|
+
supplier_guess?: string | null;
|
|
15937
|
+
supplier_id?: string | null;
|
|
15938
|
+
updated_at?: string;
|
|
15939
|
+
};
|
|
15940
|
+
Update: {
|
|
15941
|
+
created_at?: string;
|
|
15942
|
+
created_by?: string | null;
|
|
15943
|
+
file_hash?: string | null;
|
|
15944
|
+
file_name?: string;
|
|
15945
|
+
file_path?: string | null;
|
|
15946
|
+
headers?: string[];
|
|
15947
|
+
id?: string;
|
|
15948
|
+
preview?: import("./types").Json;
|
|
15949
|
+
processed_at?: string | null;
|
|
15950
|
+
reason?: string | null;
|
|
15951
|
+
row_count?: number;
|
|
15952
|
+
sheet_name?: string | null;
|
|
15953
|
+
source?: string;
|
|
15954
|
+
stats?: import("./types").Json;
|
|
15955
|
+
status?: string;
|
|
15956
|
+
supplier_guess?: string | null;
|
|
15957
|
+
supplier_id?: string | null;
|
|
15958
|
+
updated_at?: string;
|
|
15959
|
+
};
|
|
15960
|
+
Relationships: [{
|
|
15961
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
15962
|
+
columns: ["supplier_id"];
|
|
15963
|
+
isOneToOne: false;
|
|
15964
|
+
referencedRelation: "suppliers";
|
|
15965
|
+
referencedColumns: ["id"];
|
|
15966
|
+
}];
|
|
15967
|
+
};
|
|
14741
15968
|
print_agents: {
|
|
14742
15969
|
Row: {
|
|
14743
15970
|
actief: boolean;
|
|
@@ -16295,34 +17522,112 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16295
17522
|
referencedColumns: ["id"];
|
|
16296
17523
|
}];
|
|
16297
17524
|
};
|
|
16298
|
-
|
|
17525
|
+
purchase_order_dispatches: {
|
|
16299
17526
|
Row: {
|
|
16300
17527
|
created_at: string;
|
|
16301
17528
|
id: string;
|
|
16302
|
-
|
|
16303
|
-
|
|
17529
|
+
last_error: string | null;
|
|
17530
|
+
outbox_id: string | null;
|
|
16304
17531
|
purchase_order_id: string;
|
|
16305
|
-
|
|
17532
|
+
status: string;
|
|
17533
|
+
supplier_id: string | null;
|
|
17534
|
+
supplier_name: string;
|
|
17535
|
+
to_address: string;
|
|
17536
|
+
updated_at: string;
|
|
16306
17537
|
};
|
|
16307
17538
|
Insert: {
|
|
16308
17539
|
created_at?: string;
|
|
16309
17540
|
id?: string;
|
|
16310
|
-
|
|
16311
|
-
|
|
17541
|
+
last_error?: string | null;
|
|
17542
|
+
outbox_id?: string | null;
|
|
16312
17543
|
purchase_order_id: string;
|
|
16313
|
-
|
|
17544
|
+
status?: string;
|
|
17545
|
+
supplier_id?: string | null;
|
|
17546
|
+
supplier_name?: string;
|
|
17547
|
+
to_address: string;
|
|
17548
|
+
updated_at?: string;
|
|
16314
17549
|
};
|
|
16315
17550
|
Update: {
|
|
16316
17551
|
created_at?: string;
|
|
16317
17552
|
id?: string;
|
|
16318
|
-
|
|
16319
|
-
|
|
17553
|
+
last_error?: string | null;
|
|
17554
|
+
outbox_id?: string | null;
|
|
16320
17555
|
purchase_order_id?: string;
|
|
16321
|
-
|
|
17556
|
+
status?: string;
|
|
17557
|
+
supplier_id?: string | null;
|
|
17558
|
+
supplier_name?: string;
|
|
17559
|
+
to_address?: string;
|
|
17560
|
+
updated_at?: string;
|
|
16322
17561
|
};
|
|
16323
17562
|
Relationships: [{
|
|
16324
|
-
foreignKeyName: "
|
|
16325
|
-
columns: ["
|
|
17563
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
17564
|
+
columns: ["purchase_order_id"];
|
|
17565
|
+
isOneToOne: false;
|
|
17566
|
+
referencedRelation: "purchase_orders";
|
|
17567
|
+
referencedColumns: ["id"];
|
|
17568
|
+
}, {
|
|
17569
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
17570
|
+
columns: ["supplier_id"];
|
|
17571
|
+
isOneToOne: false;
|
|
17572
|
+
referencedRelation: "suppliers";
|
|
17573
|
+
referencedColumns: ["id"];
|
|
17574
|
+
}];
|
|
17575
|
+
};
|
|
17576
|
+
purchase_order_items: {
|
|
17577
|
+
Row: {
|
|
17578
|
+
article_number: string | null;
|
|
17579
|
+
created_at: string;
|
|
17580
|
+
delivery_date: string | null;
|
|
17581
|
+
id: string;
|
|
17582
|
+
name: string;
|
|
17583
|
+
note: string | null;
|
|
17584
|
+
pot_size: string | null;
|
|
17585
|
+
product_id: string | null;
|
|
17586
|
+
product_type: string;
|
|
17587
|
+
purchase_order_id: string;
|
|
17588
|
+
quantity: number;
|
|
17589
|
+
supplier_id: string | null;
|
|
17590
|
+
supplier_product_id: string | null;
|
|
17591
|
+
unit_price_cents: number;
|
|
17592
|
+
updated_at: string;
|
|
17593
|
+
};
|
|
17594
|
+
Insert: {
|
|
17595
|
+
article_number?: string | null;
|
|
17596
|
+
created_at?: string;
|
|
17597
|
+
delivery_date?: string | null;
|
|
17598
|
+
id?: string;
|
|
17599
|
+
name?: string;
|
|
17600
|
+
note?: string | null;
|
|
17601
|
+
pot_size?: string | null;
|
|
17602
|
+
product_id?: string | null;
|
|
17603
|
+
product_type?: string;
|
|
17604
|
+
purchase_order_id: string;
|
|
17605
|
+
quantity?: number;
|
|
17606
|
+
supplier_id?: string | null;
|
|
17607
|
+
supplier_product_id?: string | null;
|
|
17608
|
+
unit_price_cents?: number;
|
|
17609
|
+
updated_at?: string;
|
|
17610
|
+
};
|
|
17611
|
+
Update: {
|
|
17612
|
+
article_number?: string | null;
|
|
17613
|
+
created_at?: string;
|
|
17614
|
+
delivery_date?: string | null;
|
|
17615
|
+
id?: string;
|
|
17616
|
+
name?: string;
|
|
17617
|
+
note?: string | null;
|
|
17618
|
+
pot_size?: string | null;
|
|
17619
|
+
product_id?: string | null;
|
|
17620
|
+
product_type?: string;
|
|
17621
|
+
purchase_order_id?: string;
|
|
17622
|
+
quantity?: number;
|
|
17623
|
+
supplier_id?: string | null;
|
|
17624
|
+
supplier_product_id?: string | null;
|
|
17625
|
+
unit_price_cents?: number;
|
|
17626
|
+
updated_at?: string;
|
|
17627
|
+
};
|
|
17628
|
+
Relationships: [{
|
|
17629
|
+
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
17630
|
+
columns: ["product_id"];
|
|
16326
17631
|
isOneToOne: false;
|
|
16327
17632
|
referencedRelation: "logistics_product_dimensions";
|
|
16328
17633
|
referencedColumns: ["product_id"];
|
|
@@ -16338,43 +17643,70 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16338
17643
|
isOneToOne: false;
|
|
16339
17644
|
referencedRelation: "purchase_orders";
|
|
16340
17645
|
referencedColumns: ["id"];
|
|
17646
|
+
}, {
|
|
17647
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
17648
|
+
columns: ["supplier_id"];
|
|
17649
|
+
isOneToOne: false;
|
|
17650
|
+
referencedRelation: "suppliers";
|
|
17651
|
+
referencedColumns: ["id"];
|
|
17652
|
+
}, {
|
|
17653
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
17654
|
+
columns: ["supplier_product_id"];
|
|
17655
|
+
isOneToOne: false;
|
|
17656
|
+
referencedRelation: "supplier_products";
|
|
17657
|
+
referencedColumns: ["id"];
|
|
16341
17658
|
}];
|
|
16342
17659
|
};
|
|
16343
17660
|
purchase_orders: {
|
|
16344
17661
|
Row: {
|
|
17662
|
+
contact_person: string | null;
|
|
16345
17663
|
created_at: string;
|
|
17664
|
+
created_by: string | null;
|
|
16346
17665
|
expected_delivery_date: string;
|
|
16347
17666
|
id: string;
|
|
16348
17667
|
location_id: string | null;
|
|
16349
17668
|
notes: string | null;
|
|
16350
17669
|
order_number: string;
|
|
17670
|
+
reference: string | null;
|
|
17671
|
+
sent_at: string | null;
|
|
16351
17672
|
status: string;
|
|
16352
17673
|
supplier_id: string | null;
|
|
16353
17674
|
supplier_name: string;
|
|
17675
|
+
total_cents: number;
|
|
16354
17676
|
updated_at: string;
|
|
16355
17677
|
};
|
|
16356
17678
|
Insert: {
|
|
17679
|
+
contact_person?: string | null;
|
|
16357
17680
|
created_at?: string;
|
|
16358
|
-
|
|
17681
|
+
created_by?: string | null;
|
|
17682
|
+
expected_delivery_date?: string;
|
|
16359
17683
|
id?: string;
|
|
16360
17684
|
location_id?: string | null;
|
|
16361
17685
|
notes?: string | null;
|
|
16362
|
-
order_number
|
|
17686
|
+
order_number?: string;
|
|
17687
|
+
reference?: string | null;
|
|
17688
|
+
sent_at?: string | null;
|
|
16363
17689
|
status?: string;
|
|
16364
17690
|
supplier_id?: string | null;
|
|
16365
17691
|
supplier_name?: string;
|
|
17692
|
+
total_cents?: number;
|
|
16366
17693
|
updated_at?: string;
|
|
16367
17694
|
};
|
|
16368
17695
|
Update: {
|
|
17696
|
+
contact_person?: string | null;
|
|
16369
17697
|
created_at?: string;
|
|
17698
|
+
created_by?: string | null;
|
|
16370
17699
|
expected_delivery_date?: string;
|
|
16371
17700
|
id?: string;
|
|
16372
17701
|
location_id?: string | null;
|
|
16373
17702
|
notes?: string | null;
|
|
16374
17703
|
order_number?: string;
|
|
17704
|
+
reference?: string | null;
|
|
17705
|
+
sent_at?: string | null;
|
|
16375
17706
|
status?: string;
|
|
16376
17707
|
supplier_id?: string | null;
|
|
16377
17708
|
supplier_name?: string;
|
|
17709
|
+
total_cents?: number;
|
|
16378
17710
|
updated_at?: string;
|
|
16379
17711
|
};
|
|
16380
17712
|
Relationships: [{
|
|
@@ -17261,15 +18593,160 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17261
18593
|
};
|
|
17262
18594
|
Relationships: [];
|
|
17263
18595
|
};
|
|
18596
|
+
supplier_contacts: {
|
|
18597
|
+
Row: {
|
|
18598
|
+
created_at: string;
|
|
18599
|
+
email: string | null;
|
|
18600
|
+
id: string;
|
|
18601
|
+
is_primary: boolean;
|
|
18602
|
+
name: string;
|
|
18603
|
+
phone: string | null;
|
|
18604
|
+
role: string | null;
|
|
18605
|
+
supplier_id: string;
|
|
18606
|
+
updated_at: string;
|
|
18607
|
+
};
|
|
18608
|
+
Insert: {
|
|
18609
|
+
created_at?: string;
|
|
18610
|
+
email?: string | null;
|
|
18611
|
+
id?: string;
|
|
18612
|
+
is_primary?: boolean;
|
|
18613
|
+
name: string;
|
|
18614
|
+
phone?: string | null;
|
|
18615
|
+
role?: string | null;
|
|
18616
|
+
supplier_id: string;
|
|
18617
|
+
updated_at?: string;
|
|
18618
|
+
};
|
|
18619
|
+
Update: {
|
|
18620
|
+
created_at?: string;
|
|
18621
|
+
email?: string | null;
|
|
18622
|
+
id?: string;
|
|
18623
|
+
is_primary?: boolean;
|
|
18624
|
+
name?: string;
|
|
18625
|
+
phone?: string | null;
|
|
18626
|
+
role?: string | null;
|
|
18627
|
+
supplier_id?: string;
|
|
18628
|
+
updated_at?: string;
|
|
18629
|
+
};
|
|
18630
|
+
Relationships: [{
|
|
18631
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
18632
|
+
columns: ["supplier_id"];
|
|
18633
|
+
isOneToOne: false;
|
|
18634
|
+
referencedRelation: "suppliers";
|
|
18635
|
+
referencedColumns: ["id"];
|
|
18636
|
+
}];
|
|
18637
|
+
};
|
|
18638
|
+
supplier_price_history: {
|
|
18639
|
+
Row: {
|
|
18640
|
+
created_at: string;
|
|
18641
|
+
id: string;
|
|
18642
|
+
new_price_cents: number;
|
|
18643
|
+
old_price_cents: number | null;
|
|
18644
|
+
price_list_id: string | null;
|
|
18645
|
+
supplier_id: string | null;
|
|
18646
|
+
supplier_product_id: string;
|
|
18647
|
+
};
|
|
18648
|
+
Insert: {
|
|
18649
|
+
created_at?: string;
|
|
18650
|
+
id?: string;
|
|
18651
|
+
new_price_cents: number;
|
|
18652
|
+
old_price_cents?: number | null;
|
|
18653
|
+
price_list_id?: string | null;
|
|
18654
|
+
supplier_id?: string | null;
|
|
18655
|
+
supplier_product_id: string;
|
|
18656
|
+
};
|
|
18657
|
+
Update: {
|
|
18658
|
+
created_at?: string;
|
|
18659
|
+
id?: string;
|
|
18660
|
+
new_price_cents?: number;
|
|
18661
|
+
old_price_cents?: number | null;
|
|
18662
|
+
price_list_id?: string | null;
|
|
18663
|
+
supplier_id?: string | null;
|
|
18664
|
+
supplier_product_id?: string;
|
|
18665
|
+
};
|
|
18666
|
+
Relationships: [{
|
|
18667
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
18668
|
+
columns: ["price_list_id"];
|
|
18669
|
+
isOneToOne: false;
|
|
18670
|
+
referencedRelation: "price_lists";
|
|
18671
|
+
referencedColumns: ["id"];
|
|
18672
|
+
}, {
|
|
18673
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
18674
|
+
columns: ["supplier_product_id"];
|
|
18675
|
+
isOneToOne: false;
|
|
18676
|
+
referencedRelation: "supplier_products";
|
|
18677
|
+
referencedColumns: ["id"];
|
|
18678
|
+
}];
|
|
18679
|
+
};
|
|
18680
|
+
supplier_price_list_mappings: {
|
|
18681
|
+
Row: {
|
|
18682
|
+
column_map: import("./types").Json;
|
|
18683
|
+
created_at: string;
|
|
18684
|
+
deactivate_missing: boolean;
|
|
18685
|
+
decimal_separator: string;
|
|
18686
|
+
expected_headers: string[];
|
|
18687
|
+
extract_pot_from_name: boolean;
|
|
18688
|
+
header_row: number;
|
|
18689
|
+
id: string;
|
|
18690
|
+
max_error_ratio: number;
|
|
18691
|
+
price_is_cents: boolean;
|
|
18692
|
+
sheet_name: string | null;
|
|
18693
|
+
supplier_id: string;
|
|
18694
|
+
updated_at: string;
|
|
18695
|
+
};
|
|
18696
|
+
Insert: {
|
|
18697
|
+
column_map?: import("./types").Json;
|
|
18698
|
+
created_at?: string;
|
|
18699
|
+
deactivate_missing?: boolean;
|
|
18700
|
+
decimal_separator?: string;
|
|
18701
|
+
expected_headers?: string[];
|
|
18702
|
+
extract_pot_from_name?: boolean;
|
|
18703
|
+
header_row?: number;
|
|
18704
|
+
id?: string;
|
|
18705
|
+
max_error_ratio?: number;
|
|
18706
|
+
price_is_cents?: boolean;
|
|
18707
|
+
sheet_name?: string | null;
|
|
18708
|
+
supplier_id: string;
|
|
18709
|
+
updated_at?: string;
|
|
18710
|
+
};
|
|
18711
|
+
Update: {
|
|
18712
|
+
column_map?: import("./types").Json;
|
|
18713
|
+
created_at?: string;
|
|
18714
|
+
deactivate_missing?: boolean;
|
|
18715
|
+
decimal_separator?: string;
|
|
18716
|
+
expected_headers?: string[];
|
|
18717
|
+
extract_pot_from_name?: boolean;
|
|
18718
|
+
header_row?: number;
|
|
18719
|
+
id?: string;
|
|
18720
|
+
max_error_ratio?: number;
|
|
18721
|
+
price_is_cents?: boolean;
|
|
18722
|
+
sheet_name?: string | null;
|
|
18723
|
+
supplier_id?: string;
|
|
18724
|
+
updated_at?: string;
|
|
18725
|
+
};
|
|
18726
|
+
Relationships: [{
|
|
18727
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
18728
|
+
columns: ["supplier_id"];
|
|
18729
|
+
isOneToOne: true;
|
|
18730
|
+
referencedRelation: "suppliers";
|
|
18731
|
+
referencedColumns: ["id"];
|
|
18732
|
+
}];
|
|
18733
|
+
};
|
|
17264
18734
|
supplier_products: {
|
|
17265
18735
|
Row: {
|
|
17266
18736
|
article_number: string | null;
|
|
18737
|
+
available_quantity: number;
|
|
17267
18738
|
created_at: string;
|
|
18739
|
+
height: string | null;
|
|
17268
18740
|
id: string;
|
|
18741
|
+
is_active: boolean;
|
|
18742
|
+
min_order: number;
|
|
17269
18743
|
name: string;
|
|
17270
18744
|
notes: string | null;
|
|
18745
|
+
order_unit: number;
|
|
17271
18746
|
pot_size: string | null;
|
|
17272
18747
|
price: number | null;
|
|
18748
|
+
price_cents: number;
|
|
18749
|
+
quality: string | null;
|
|
17273
18750
|
quantity: number | null;
|
|
17274
18751
|
supplier_id: string;
|
|
17275
18752
|
unit: string;
|
|
@@ -17277,12 +18754,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17277
18754
|
};
|
|
17278
18755
|
Insert: {
|
|
17279
18756
|
article_number?: string | null;
|
|
18757
|
+
available_quantity?: number;
|
|
17280
18758
|
created_at?: string;
|
|
18759
|
+
height?: string | null;
|
|
17281
18760
|
id?: string;
|
|
18761
|
+
is_active?: boolean;
|
|
18762
|
+
min_order?: number;
|
|
17282
18763
|
name: string;
|
|
17283
18764
|
notes?: string | null;
|
|
18765
|
+
order_unit?: number;
|
|
17284
18766
|
pot_size?: string | null;
|
|
17285
18767
|
price?: number | null;
|
|
18768
|
+
price_cents?: number;
|
|
18769
|
+
quality?: string | null;
|
|
17286
18770
|
quantity?: number | null;
|
|
17287
18771
|
supplier_id: string;
|
|
17288
18772
|
unit?: string;
|
|
@@ -17290,12 +18774,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17290
18774
|
};
|
|
17291
18775
|
Update: {
|
|
17292
18776
|
article_number?: string | null;
|
|
18777
|
+
available_quantity?: number;
|
|
17293
18778
|
created_at?: string;
|
|
18779
|
+
height?: string | null;
|
|
17294
18780
|
id?: string;
|
|
18781
|
+
is_active?: boolean;
|
|
18782
|
+
min_order?: number;
|
|
17295
18783
|
name?: string;
|
|
17296
18784
|
notes?: string | null;
|
|
18785
|
+
order_unit?: number;
|
|
17297
18786
|
pot_size?: string | null;
|
|
17298
18787
|
price?: number | null;
|
|
18788
|
+
price_cents?: number;
|
|
18789
|
+
quality?: string | null;
|
|
17299
18790
|
quantity?: number | null;
|
|
17300
18791
|
supplier_id?: string;
|
|
17301
18792
|
unit?: string;
|
|
@@ -17312,6 +18803,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17312
18803
|
suppliers: {
|
|
17313
18804
|
Row: {
|
|
17314
18805
|
address: string | null;
|
|
18806
|
+
category: string | null;
|
|
17315
18807
|
column_mappings: import("./types").Json | null;
|
|
17316
18808
|
contact_person: string | null;
|
|
17317
18809
|
created_at: string;
|
|
@@ -17319,13 +18811,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17319
18811
|
email: string | null;
|
|
17320
18812
|
id: string;
|
|
17321
18813
|
imported_file_name: string | null;
|
|
18814
|
+
is_preferred: boolean;
|
|
18815
|
+
kvk_number: string | null;
|
|
18816
|
+
lead_time_days: number | null;
|
|
18817
|
+
min_order_amount_cents: number;
|
|
17322
18818
|
name: string;
|
|
17323
18819
|
notes: string | null;
|
|
18820
|
+
order_days: string[];
|
|
18821
|
+
order_email: string | null;
|
|
18822
|
+
payment_terms_days: number | null;
|
|
17324
18823
|
phone: string | null;
|
|
18824
|
+
status: string;
|
|
17325
18825
|
updated_at: string;
|
|
18826
|
+
vat_number: string | null;
|
|
18827
|
+
website: string | null;
|
|
17326
18828
|
};
|
|
17327
18829
|
Insert: {
|
|
17328
18830
|
address?: string | null;
|
|
18831
|
+
category?: string | null;
|
|
17329
18832
|
column_mappings?: import("./types").Json | null;
|
|
17330
18833
|
contact_person?: string | null;
|
|
17331
18834
|
created_at?: string;
|
|
@@ -17333,13 +18836,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17333
18836
|
email?: string | null;
|
|
17334
18837
|
id?: string;
|
|
17335
18838
|
imported_file_name?: string | null;
|
|
18839
|
+
is_preferred?: boolean;
|
|
18840
|
+
kvk_number?: string | null;
|
|
18841
|
+
lead_time_days?: number | null;
|
|
18842
|
+
min_order_amount_cents?: number;
|
|
17336
18843
|
name: string;
|
|
17337
18844
|
notes?: string | null;
|
|
18845
|
+
order_days?: string[];
|
|
18846
|
+
order_email?: string | null;
|
|
18847
|
+
payment_terms_days?: number | null;
|
|
17338
18848
|
phone?: string | null;
|
|
18849
|
+
status?: string;
|
|
17339
18850
|
updated_at?: string;
|
|
18851
|
+
vat_number?: string | null;
|
|
18852
|
+
website?: string | null;
|
|
17340
18853
|
};
|
|
17341
18854
|
Update: {
|
|
17342
18855
|
address?: string | null;
|
|
18856
|
+
category?: string | null;
|
|
17343
18857
|
column_mappings?: import("./types").Json | null;
|
|
17344
18858
|
contact_person?: string | null;
|
|
17345
18859
|
created_at?: string;
|
|
@@ -17347,10 +18861,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17347
18861
|
email?: string | null;
|
|
17348
18862
|
id?: string;
|
|
17349
18863
|
imported_file_name?: string | null;
|
|
18864
|
+
is_preferred?: boolean;
|
|
18865
|
+
kvk_number?: string | null;
|
|
18866
|
+
lead_time_days?: number | null;
|
|
18867
|
+
min_order_amount_cents?: number;
|
|
17350
18868
|
name?: string;
|
|
17351
18869
|
notes?: string | null;
|
|
18870
|
+
order_days?: string[];
|
|
18871
|
+
order_email?: string | null;
|
|
18872
|
+
payment_terms_days?: number | null;
|
|
17352
18873
|
phone?: string | null;
|
|
18874
|
+
status?: string;
|
|
17353
18875
|
updated_at?: string;
|
|
18876
|
+
vat_number?: string | null;
|
|
18877
|
+
website?: string | null;
|
|
17354
18878
|
};
|
|
17355
18879
|
Relationships: [];
|
|
17356
18880
|
};
|
|
@@ -18352,11 +19876,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18352
19876
|
auto_invoice_trigger_statuses: string[];
|
|
18353
19877
|
created_at: string;
|
|
18354
19878
|
debtor_gl_account: string;
|
|
19879
|
+
default_article_code: string | null;
|
|
18355
19880
|
default_credit_invoice_type: string | null;
|
|
18356
19881
|
default_gl_account: string;
|
|
18357
19882
|
default_invoice_type: string;
|
|
18358
19883
|
default_payment_term_days: number;
|
|
18359
19884
|
default_vat_code: string;
|
|
19885
|
+
email_purpose: string | null;
|
|
18360
19886
|
home_country_code: string;
|
|
18361
19887
|
invoice_enabled_ao: boolean;
|
|
18362
19888
|
invoice_enabled_fo: boolean;
|
|
@@ -18378,11 +19904,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18378
19904
|
auto_invoice_trigger_statuses?: string[];
|
|
18379
19905
|
created_at?: string;
|
|
18380
19906
|
debtor_gl_account?: string;
|
|
19907
|
+
default_article_code?: string | null;
|
|
18381
19908
|
default_credit_invoice_type?: string | null;
|
|
18382
19909
|
default_gl_account?: string;
|
|
18383
19910
|
default_invoice_type?: string;
|
|
18384
19911
|
default_payment_term_days?: number;
|
|
18385
19912
|
default_vat_code?: string;
|
|
19913
|
+
email_purpose?: string | null;
|
|
18386
19914
|
home_country_code?: string;
|
|
18387
19915
|
invoice_enabled_ao?: boolean;
|
|
18388
19916
|
invoice_enabled_fo?: boolean;
|
|
@@ -18404,11 +19932,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18404
19932
|
auto_invoice_trigger_statuses?: string[];
|
|
18405
19933
|
created_at?: string;
|
|
18406
19934
|
debtor_gl_account?: string;
|
|
19935
|
+
default_article_code?: string | null;
|
|
18407
19936
|
default_credit_invoice_type?: string | null;
|
|
18408
19937
|
default_gl_account?: string;
|
|
18409
19938
|
default_invoice_type?: string;
|
|
18410
19939
|
default_payment_term_days?: number;
|
|
18411
19940
|
default_vat_code?: string;
|
|
19941
|
+
email_purpose?: string | null;
|
|
18412
19942
|
home_country_code?: string;
|
|
18413
19943
|
invoice_enabled_ao?: boolean;
|
|
18414
19944
|
invoice_enabled_fo?: boolean;
|
|
@@ -19301,6 +20831,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19301
20831
|
referencedColumns: ["id"];
|
|
19302
20832
|
}];
|
|
19303
20833
|
};
|
|
20834
|
+
voorraad_buffer_state: {
|
|
20835
|
+
Row: {
|
|
20836
|
+
buffer_id: string;
|
|
20837
|
+
buffer_key: string | null;
|
|
20838
|
+
closed_at: string | null;
|
|
20839
|
+
created_at: string;
|
|
20840
|
+
detached_orders: import("./types").Json;
|
|
20841
|
+
reason: string | null;
|
|
20842
|
+
updated_at: string;
|
|
20843
|
+
};
|
|
20844
|
+
Insert: {
|
|
20845
|
+
buffer_id: string;
|
|
20846
|
+
buffer_key?: string | null;
|
|
20847
|
+
closed_at?: string | null;
|
|
20848
|
+
created_at?: string;
|
|
20849
|
+
detached_orders?: import("./types").Json;
|
|
20850
|
+
reason?: string | null;
|
|
20851
|
+
updated_at?: string;
|
|
20852
|
+
};
|
|
20853
|
+
Update: {
|
|
20854
|
+
buffer_id?: string;
|
|
20855
|
+
buffer_key?: string | null;
|
|
20856
|
+
closed_at?: string | null;
|
|
20857
|
+
created_at?: string;
|
|
20858
|
+
detached_orders?: import("./types").Json;
|
|
20859
|
+
reason?: string | null;
|
|
20860
|
+
updated_at?: string;
|
|
20861
|
+
};
|
|
20862
|
+
Relationships: [];
|
|
20863
|
+
};
|
|
19304
20864
|
voorraad_custom_fields: {
|
|
19305
20865
|
Row: {
|
|
19306
20866
|
created_at: string;
|
|
@@ -19343,6 +20903,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19343
20903
|
};
|
|
19344
20904
|
Relationships: [];
|
|
19345
20905
|
};
|
|
20906
|
+
voorraad_logistics_event_log: {
|
|
20907
|
+
Row: {
|
|
20908
|
+
created_at: string;
|
|
20909
|
+
event_id: string;
|
|
20910
|
+
event_type: string;
|
|
20911
|
+
order_ref: string | null;
|
|
20912
|
+
processed_at: string;
|
|
20913
|
+
result: import("./types").Json;
|
|
20914
|
+
updated_at: string;
|
|
20915
|
+
};
|
|
20916
|
+
Insert: {
|
|
20917
|
+
created_at?: string;
|
|
20918
|
+
event_id: string;
|
|
20919
|
+
event_type: string;
|
|
20920
|
+
order_ref?: string | null;
|
|
20921
|
+
processed_at?: string;
|
|
20922
|
+
result?: import("./types").Json;
|
|
20923
|
+
updated_at?: string;
|
|
20924
|
+
};
|
|
20925
|
+
Update: {
|
|
20926
|
+
created_at?: string;
|
|
20927
|
+
event_id?: string;
|
|
20928
|
+
event_type?: string;
|
|
20929
|
+
order_ref?: string | null;
|
|
20930
|
+
processed_at?: string;
|
|
20931
|
+
result?: import("./types").Json;
|
|
20932
|
+
updated_at?: string;
|
|
20933
|
+
};
|
|
20934
|
+
Relationships: [];
|
|
20935
|
+
};
|
|
19346
20936
|
voorraad_media_upload_failures: {
|
|
19347
20937
|
Row: {
|
|
19348
20938
|
action: string;
|
|
@@ -19610,15 +21200,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19610
21200
|
referencedColumns: ["id"];
|
|
19611
21201
|
}];
|
|
19612
21202
|
};
|
|
19613
|
-
|
|
21203
|
+
werkbon_email_state: {
|
|
19614
21204
|
Row: {
|
|
19615
21205
|
created_at: string;
|
|
19616
|
-
|
|
19617
|
-
filename: string | null;
|
|
21206
|
+
event_id: string;
|
|
19618
21207
|
id: string;
|
|
19619
|
-
|
|
19620
|
-
|
|
19621
|
-
|
|
21208
|
+
is_archived: boolean;
|
|
21209
|
+
is_read: boolean;
|
|
21210
|
+
updated_at: string;
|
|
21211
|
+
werkbon_id: string | null;
|
|
21212
|
+
};
|
|
21213
|
+
Insert: {
|
|
21214
|
+
created_at?: string;
|
|
21215
|
+
event_id: string;
|
|
21216
|
+
id?: string;
|
|
21217
|
+
is_archived?: boolean;
|
|
21218
|
+
is_read?: boolean;
|
|
21219
|
+
updated_at?: string;
|
|
21220
|
+
werkbon_id?: string | null;
|
|
21221
|
+
};
|
|
21222
|
+
Update: {
|
|
21223
|
+
created_at?: string;
|
|
21224
|
+
event_id?: string;
|
|
21225
|
+
id?: string;
|
|
21226
|
+
is_archived?: boolean;
|
|
21227
|
+
is_read?: boolean;
|
|
21228
|
+
updated_at?: string;
|
|
21229
|
+
werkbon_id?: string | null;
|
|
21230
|
+
};
|
|
21231
|
+
Relationships: [{
|
|
21232
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
21233
|
+
columns: ["event_id"];
|
|
21234
|
+
isOneToOne: true;
|
|
21235
|
+
referencedRelation: "email_auth_events";
|
|
21236
|
+
referencedColumns: ["id"];
|
|
21237
|
+
}];
|
|
21238
|
+
};
|
|
21239
|
+
werkbon_export_runs: {
|
|
21240
|
+
Row: {
|
|
21241
|
+
created_at: string;
|
|
21242
|
+
created_by: string | null;
|
|
21243
|
+
filename: string | null;
|
|
21244
|
+
id: string;
|
|
21245
|
+
werkbon_ids: string[];
|
|
21246
|
+
};
|
|
21247
|
+
Insert: {
|
|
19622
21248
|
created_at?: string;
|
|
19623
21249
|
created_by?: string | null;
|
|
19624
21250
|
filename?: string | null;
|
|
@@ -19763,6 +21389,147 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19763
21389
|
};
|
|
19764
21390
|
Relationships: [];
|
|
19765
21391
|
};
|
|
21392
|
+
werkbon_mail_ai_settings: {
|
|
21393
|
+
Row: {
|
|
21394
|
+
created_at: string;
|
|
21395
|
+
id: boolean;
|
|
21396
|
+
required_fields: string[];
|
|
21397
|
+
system_prompt: string;
|
|
21398
|
+
updated_at: string;
|
|
21399
|
+
updated_by: string | null;
|
|
21400
|
+
};
|
|
21401
|
+
Insert: {
|
|
21402
|
+
created_at?: string;
|
|
21403
|
+
id?: boolean;
|
|
21404
|
+
required_fields?: string[];
|
|
21405
|
+
system_prompt?: string;
|
|
21406
|
+
updated_at?: string;
|
|
21407
|
+
updated_by?: string | null;
|
|
21408
|
+
};
|
|
21409
|
+
Update: {
|
|
21410
|
+
created_at?: string;
|
|
21411
|
+
id?: boolean;
|
|
21412
|
+
required_fields?: string[];
|
|
21413
|
+
system_prompt?: string;
|
|
21414
|
+
updated_at?: string;
|
|
21415
|
+
updated_by?: string | null;
|
|
21416
|
+
};
|
|
21417
|
+
Relationships: [];
|
|
21418
|
+
};
|
|
21419
|
+
werkbon_mail_bodies: {
|
|
21420
|
+
Row: {
|
|
21421
|
+
created_at: string;
|
|
21422
|
+
event_id: string;
|
|
21423
|
+
fetch_error: string | null;
|
|
21424
|
+
fetched_at: string | null;
|
|
21425
|
+
html: string | null;
|
|
21426
|
+
updated_at: string;
|
|
21427
|
+
};
|
|
21428
|
+
Insert: {
|
|
21429
|
+
created_at?: string;
|
|
21430
|
+
event_id: string;
|
|
21431
|
+
fetch_error?: string | null;
|
|
21432
|
+
fetched_at?: string | null;
|
|
21433
|
+
html?: string | null;
|
|
21434
|
+
updated_at?: string;
|
|
21435
|
+
};
|
|
21436
|
+
Update: {
|
|
21437
|
+
created_at?: string;
|
|
21438
|
+
event_id?: string;
|
|
21439
|
+
fetch_error?: string | null;
|
|
21440
|
+
fetched_at?: string | null;
|
|
21441
|
+
html?: string | null;
|
|
21442
|
+
updated_at?: string;
|
|
21443
|
+
};
|
|
21444
|
+
Relationships: [];
|
|
21445
|
+
};
|
|
21446
|
+
werkbon_mail_inline_assets: {
|
|
21447
|
+
Row: {
|
|
21448
|
+
content_id: string | null;
|
|
21449
|
+
created_at: string;
|
|
21450
|
+
event_id: string;
|
|
21451
|
+
filename: string | null;
|
|
21452
|
+
id: string;
|
|
21453
|
+
is_inline: boolean;
|
|
21454
|
+
mime_type: string | null;
|
|
21455
|
+
size_bytes: number | null;
|
|
21456
|
+
storage_path: string;
|
|
21457
|
+
};
|
|
21458
|
+
Insert: {
|
|
21459
|
+
content_id?: string | null;
|
|
21460
|
+
created_at?: string;
|
|
21461
|
+
event_id: string;
|
|
21462
|
+
filename?: string | null;
|
|
21463
|
+
id?: string;
|
|
21464
|
+
is_inline?: boolean;
|
|
21465
|
+
mime_type?: string | null;
|
|
21466
|
+
size_bytes?: number | null;
|
|
21467
|
+
storage_path: string;
|
|
21468
|
+
};
|
|
21469
|
+
Update: {
|
|
21470
|
+
content_id?: string | null;
|
|
21471
|
+
created_at?: string;
|
|
21472
|
+
event_id?: string;
|
|
21473
|
+
filename?: string | null;
|
|
21474
|
+
id?: string;
|
|
21475
|
+
is_inline?: boolean;
|
|
21476
|
+
mime_type?: string | null;
|
|
21477
|
+
size_bytes?: number | null;
|
|
21478
|
+
storage_path?: string;
|
|
21479
|
+
};
|
|
21480
|
+
Relationships: [];
|
|
21481
|
+
};
|
|
21482
|
+
werkbon_mail_settings: {
|
|
21483
|
+
Row: {
|
|
21484
|
+
connection_id: string | null;
|
|
21485
|
+
connection_ids: string[];
|
|
21486
|
+
created_at: string;
|
|
21487
|
+
id: boolean;
|
|
21488
|
+
purposes: string[];
|
|
21489
|
+
source: string;
|
|
21490
|
+
updated_at: string;
|
|
21491
|
+
};
|
|
21492
|
+
Insert: {
|
|
21493
|
+
connection_id?: string | null;
|
|
21494
|
+
connection_ids?: string[];
|
|
21495
|
+
created_at?: string;
|
|
21496
|
+
id?: boolean;
|
|
21497
|
+
purposes?: string[];
|
|
21498
|
+
source?: string;
|
|
21499
|
+
updated_at?: string;
|
|
21500
|
+
};
|
|
21501
|
+
Update: {
|
|
21502
|
+
connection_id?: string | null;
|
|
21503
|
+
connection_ids?: string[];
|
|
21504
|
+
created_at?: string;
|
|
21505
|
+
id?: boolean;
|
|
21506
|
+
purposes?: string[];
|
|
21507
|
+
source?: string;
|
|
21508
|
+
updated_at?: string;
|
|
21509
|
+
};
|
|
21510
|
+
Relationships: [];
|
|
21511
|
+
};
|
|
21512
|
+
werkbon_mail_user_settings: {
|
|
21513
|
+
Row: {
|
|
21514
|
+
created_at: string;
|
|
21515
|
+
email_purpose: string | null;
|
|
21516
|
+
updated_at: string;
|
|
21517
|
+
user_id: string;
|
|
21518
|
+
};
|
|
21519
|
+
Insert: {
|
|
21520
|
+
created_at?: string;
|
|
21521
|
+
email_purpose?: string | null;
|
|
21522
|
+
updated_at?: string;
|
|
21523
|
+
user_id: string;
|
|
21524
|
+
};
|
|
21525
|
+
Update: {
|
|
21526
|
+
created_at?: string;
|
|
21527
|
+
email_purpose?: string | null;
|
|
21528
|
+
updated_at?: string;
|
|
21529
|
+
user_id?: string;
|
|
21530
|
+
};
|
|
21531
|
+
Relationships: [];
|
|
21532
|
+
};
|
|
19766
21533
|
werkbon_materials: {
|
|
19767
21534
|
Row: {
|
|
19768
21535
|
article_number: string | null;
|
|
@@ -20102,141 +21869,302 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20102
21869
|
referencedColumns: ["id"];
|
|
20103
21870
|
}];
|
|
20104
21871
|
};
|
|
20105
|
-
|
|
21872
|
+
werkbon_proposal_lines: {
|
|
20106
21873
|
Row: {
|
|
20107
|
-
|
|
21874
|
+
article_number: string | null;
|
|
20108
21875
|
created_at: string;
|
|
20109
|
-
|
|
21876
|
+
description: string | null;
|
|
20110
21877
|
id: string;
|
|
21878
|
+
line_type: string;
|
|
20111
21879
|
note: string | null;
|
|
20112
|
-
|
|
20113
|
-
|
|
20114
|
-
|
|
21880
|
+
package_id: string | null;
|
|
21881
|
+
proposal_id: string;
|
|
21882
|
+
quantity: number | null;
|
|
21883
|
+
sort_order: number;
|
|
21884
|
+
unit: string | null;
|
|
21885
|
+
updated_at: string;
|
|
20115
21886
|
};
|
|
20116
21887
|
Insert: {
|
|
20117
|
-
|
|
21888
|
+
article_number?: string | null;
|
|
20118
21889
|
created_at?: string;
|
|
20119
|
-
|
|
21890
|
+
description?: string | null;
|
|
20120
21891
|
id?: string;
|
|
21892
|
+
line_type?: string;
|
|
20121
21893
|
note?: string | null;
|
|
20122
|
-
|
|
20123
|
-
|
|
20124
|
-
|
|
21894
|
+
package_id?: string | null;
|
|
21895
|
+
proposal_id: string;
|
|
21896
|
+
quantity?: number | null;
|
|
21897
|
+
sort_order?: number;
|
|
21898
|
+
unit?: string | null;
|
|
21899
|
+
updated_at?: string;
|
|
20125
21900
|
};
|
|
20126
21901
|
Update: {
|
|
20127
|
-
|
|
21902
|
+
article_number?: string | null;
|
|
20128
21903
|
created_at?: string;
|
|
20129
|
-
|
|
21904
|
+
description?: string | null;
|
|
20130
21905
|
id?: string;
|
|
21906
|
+
line_type?: string;
|
|
20131
21907
|
note?: string | null;
|
|
20132
|
-
|
|
20133
|
-
|
|
20134
|
-
|
|
21908
|
+
package_id?: string | null;
|
|
21909
|
+
proposal_id?: string;
|
|
21910
|
+
quantity?: number | null;
|
|
21911
|
+
sort_order?: number;
|
|
21912
|
+
unit?: string | null;
|
|
21913
|
+
updated_at?: string;
|
|
20135
21914
|
};
|
|
20136
21915
|
Relationships: [{
|
|
20137
|
-
foreignKeyName: "
|
|
20138
|
-
columns: ["
|
|
20139
|
-
isOneToOne: false;
|
|
20140
|
-
referencedRelation: "werkbonnen";
|
|
20141
|
-
referencedColumns: ["id"];
|
|
20142
|
-
}, {
|
|
20143
|
-
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
20144
|
-
columns: ["werkbon_id"];
|
|
21916
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
21917
|
+
columns: ["proposal_id"];
|
|
20145
21918
|
isOneToOne: false;
|
|
20146
|
-
referencedRelation: "
|
|
21919
|
+
referencedRelation: "werkbon_proposals";
|
|
20147
21920
|
referencedColumns: ["id"];
|
|
20148
21921
|
}];
|
|
20149
21922
|
};
|
|
20150
|
-
|
|
21923
|
+
werkbon_proposals: {
|
|
20151
21924
|
Row: {
|
|
20152
|
-
|
|
21925
|
+
analysed: boolean;
|
|
20153
21926
|
budget_mandate_cents: number;
|
|
20154
21927
|
complaint_description: string | null;
|
|
21928
|
+
contact_id: string | null;
|
|
20155
21929
|
created_at: string;
|
|
20156
|
-
|
|
21930
|
+
created_werkbon_id: string | null;
|
|
20157
21931
|
customer_id: string | null;
|
|
21932
|
+
deadline_date: string | null;
|
|
21933
|
+
estimated_days: number | null;
|
|
21934
|
+
estimated_duration_minutes: number | null;
|
|
21935
|
+
event_id: string;
|
|
21936
|
+
external_id: string | null;
|
|
20158
21937
|
externe_referentie: string | null;
|
|
20159
|
-
|
|
20160
|
-
|
|
21938
|
+
from_email: string | null;
|
|
21939
|
+
from_name: string | null;
|
|
20161
21940
|
id: string;
|
|
20162
21941
|
internal_notes: string | null;
|
|
20163
|
-
|
|
20164
|
-
|
|
20165
|
-
|
|
20166
|
-
|
|
20167
|
-
project_number: string | null;
|
|
20168
|
-
review_reasons: string[];
|
|
21942
|
+
parsed_payload: import("./types").Json;
|
|
21943
|
+
received_at: string | null;
|
|
21944
|
+
reviewed_at: string | null;
|
|
21945
|
+
reviewed_by: string | null;
|
|
20169
21946
|
room_number: string | null;
|
|
20170
21947
|
scheduled_end_time: string | null;
|
|
20171
21948
|
scheduled_start_time: string | null;
|
|
20172
|
-
sequence_number: number;
|
|
20173
|
-
signature_accepted_at: string | null;
|
|
20174
|
-
signature_by_user_id: string | null;
|
|
20175
|
-
signature_name: string | null;
|
|
20176
|
-
source_email_meta: import("./types").Json | null;
|
|
20177
|
-
source_mailbox_message_id: string | null;
|
|
20178
|
-
source_pdf_path: string | null;
|
|
20179
|
-
source_type: string;
|
|
20180
21949
|
status: string;
|
|
21950
|
+
subject: string | null;
|
|
20181
21951
|
technician_id: string | null;
|
|
20182
|
-
technician_notes: string | null;
|
|
20183
|
-
technician_notes_raw: string | null;
|
|
20184
21952
|
technician_task_description: string | null;
|
|
20185
21953
|
updated_at: string;
|
|
20186
|
-
version: number;
|
|
20187
21954
|
work_address: string | null;
|
|
20188
21955
|
};
|
|
20189
21956
|
Insert: {
|
|
20190
|
-
|
|
21957
|
+
analysed?: boolean;
|
|
20191
21958
|
budget_mandate_cents?: number;
|
|
20192
21959
|
complaint_description?: string | null;
|
|
21960
|
+
contact_id?: string | null;
|
|
20193
21961
|
created_at?: string;
|
|
20194
|
-
|
|
21962
|
+
created_werkbon_id?: string | null;
|
|
20195
21963
|
customer_id?: string | null;
|
|
21964
|
+
deadline_date?: string | null;
|
|
21965
|
+
estimated_days?: number | null;
|
|
21966
|
+
estimated_duration_minutes?: number | null;
|
|
21967
|
+
event_id: string;
|
|
21968
|
+
external_id?: string | null;
|
|
20196
21969
|
externe_referentie?: string | null;
|
|
20197
|
-
|
|
20198
|
-
|
|
21970
|
+
from_email?: string | null;
|
|
21971
|
+
from_name?: string | null;
|
|
20199
21972
|
id?: string;
|
|
20200
21973
|
internal_notes?: string | null;
|
|
20201
|
-
|
|
20202
|
-
|
|
20203
|
-
|
|
20204
|
-
|
|
20205
|
-
project_number?: string | null;
|
|
20206
|
-
review_reasons?: string[];
|
|
21974
|
+
parsed_payload?: import("./types").Json;
|
|
21975
|
+
received_at?: string | null;
|
|
21976
|
+
reviewed_at?: string | null;
|
|
21977
|
+
reviewed_by?: string | null;
|
|
20207
21978
|
room_number?: string | null;
|
|
20208
21979
|
scheduled_end_time?: string | null;
|
|
20209
21980
|
scheduled_start_time?: string | null;
|
|
20210
|
-
sequence_number: number;
|
|
20211
|
-
signature_accepted_at?: string | null;
|
|
20212
|
-
signature_by_user_id?: string | null;
|
|
20213
|
-
signature_name?: string | null;
|
|
20214
|
-
source_email_meta?: import("./types").Json | null;
|
|
20215
|
-
source_mailbox_message_id?: string | null;
|
|
20216
|
-
source_pdf_path?: string | null;
|
|
20217
|
-
source_type?: string;
|
|
20218
21981
|
status?: string;
|
|
21982
|
+
subject?: string | null;
|
|
20219
21983
|
technician_id?: string | null;
|
|
20220
|
-
technician_notes?: string | null;
|
|
20221
|
-
technician_notes_raw?: string | null;
|
|
20222
21984
|
technician_task_description?: string | null;
|
|
20223
21985
|
updated_at?: string;
|
|
20224
|
-
version?: number;
|
|
20225
21986
|
work_address?: string | null;
|
|
20226
21987
|
};
|
|
20227
21988
|
Update: {
|
|
20228
|
-
|
|
21989
|
+
analysed?: boolean;
|
|
20229
21990
|
budget_mandate_cents?: number;
|
|
20230
21991
|
complaint_description?: string | null;
|
|
21992
|
+
contact_id?: string | null;
|
|
20231
21993
|
created_at?: string;
|
|
20232
|
-
|
|
21994
|
+
created_werkbon_id?: string | null;
|
|
20233
21995
|
customer_id?: string | null;
|
|
21996
|
+
deadline_date?: string | null;
|
|
21997
|
+
estimated_days?: number | null;
|
|
21998
|
+
estimated_duration_minutes?: number | null;
|
|
21999
|
+
event_id?: string;
|
|
22000
|
+
external_id?: string | null;
|
|
20234
22001
|
externe_referentie?: string | null;
|
|
20235
|
-
|
|
20236
|
-
|
|
22002
|
+
from_email?: string | null;
|
|
22003
|
+
from_name?: string | null;
|
|
20237
22004
|
id?: string;
|
|
20238
22005
|
internal_notes?: string | null;
|
|
20239
|
-
|
|
22006
|
+
parsed_payload?: import("./types").Json;
|
|
22007
|
+
received_at?: string | null;
|
|
22008
|
+
reviewed_at?: string | null;
|
|
22009
|
+
reviewed_by?: string | null;
|
|
22010
|
+
room_number?: string | null;
|
|
22011
|
+
scheduled_end_time?: string | null;
|
|
22012
|
+
scheduled_start_time?: string | null;
|
|
22013
|
+
status?: string;
|
|
22014
|
+
subject?: string | null;
|
|
22015
|
+
technician_id?: string | null;
|
|
22016
|
+
technician_task_description?: string | null;
|
|
22017
|
+
updated_at?: string;
|
|
22018
|
+
work_address?: string | null;
|
|
22019
|
+
};
|
|
22020
|
+
Relationships: [];
|
|
22021
|
+
};
|
|
22022
|
+
werkbon_time_logs: {
|
|
22023
|
+
Row: {
|
|
22024
|
+
activity: string;
|
|
22025
|
+
created_at: string;
|
|
22026
|
+
ended_at: string | null;
|
|
22027
|
+
id: string;
|
|
22028
|
+
note: string | null;
|
|
22029
|
+
started_at: string;
|
|
22030
|
+
user_id: string;
|
|
22031
|
+
werkbon_id: string;
|
|
22032
|
+
};
|
|
22033
|
+
Insert: {
|
|
22034
|
+
activity: string;
|
|
22035
|
+
created_at?: string;
|
|
22036
|
+
ended_at?: string | null;
|
|
22037
|
+
id?: string;
|
|
22038
|
+
note?: string | null;
|
|
22039
|
+
started_at?: string;
|
|
22040
|
+
user_id: string;
|
|
22041
|
+
werkbon_id: string;
|
|
22042
|
+
};
|
|
22043
|
+
Update: {
|
|
22044
|
+
activity?: string;
|
|
22045
|
+
created_at?: string;
|
|
22046
|
+
ended_at?: string | null;
|
|
22047
|
+
id?: string;
|
|
22048
|
+
note?: string | null;
|
|
22049
|
+
started_at?: string;
|
|
22050
|
+
user_id?: string;
|
|
22051
|
+
werkbon_id?: string;
|
|
22052
|
+
};
|
|
22053
|
+
Relationships: [{
|
|
22054
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22055
|
+
columns: ["werkbon_id"];
|
|
22056
|
+
isOneToOne: false;
|
|
22057
|
+
referencedRelation: "werkbonnen";
|
|
22058
|
+
referencedColumns: ["id"];
|
|
22059
|
+
}, {
|
|
22060
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22061
|
+
columns: ["werkbon_id"];
|
|
22062
|
+
isOneToOne: false;
|
|
22063
|
+
referencedRelation: "wo_overview";
|
|
22064
|
+
referencedColumns: ["id"];
|
|
22065
|
+
}];
|
|
22066
|
+
};
|
|
22067
|
+
werkbonnen: {
|
|
22068
|
+
Row: {
|
|
22069
|
+
assigned_user_id: string | null;
|
|
22070
|
+
budget_mandate_cents: number;
|
|
22071
|
+
complaint_description: string | null;
|
|
22072
|
+
created_at: string;
|
|
22073
|
+
created_by: string | null;
|
|
22074
|
+
customer_id: string | null;
|
|
22075
|
+
deadline_date: string | null;
|
|
22076
|
+
estimated_days: number | null;
|
|
22077
|
+
estimated_duration_minutes: number | null;
|
|
22078
|
+
externe_referentie: string | null;
|
|
22079
|
+
extra_costs_cents: number;
|
|
22080
|
+
first_time_fix: boolean | null;
|
|
22081
|
+
id: string;
|
|
22082
|
+
internal_notes: string | null;
|
|
22083
|
+
needs_detail_review: boolean;
|
|
22084
|
+
parent_werkbon_id: string | null;
|
|
22085
|
+
parsed_payload: import("./types").Json | null;
|
|
22086
|
+
planning_status: string;
|
|
22087
|
+
project_number: string | null;
|
|
22088
|
+
review_reasons: string[];
|
|
22089
|
+
room_number: string | null;
|
|
22090
|
+
scheduled_end_time: string | null;
|
|
22091
|
+
scheduled_start_time: string | null;
|
|
22092
|
+
sequence_number: number;
|
|
22093
|
+
signature_accepted_at: string | null;
|
|
22094
|
+
signature_by_user_id: string | null;
|
|
22095
|
+
signature_name: string | null;
|
|
22096
|
+
source_email_meta: import("./types").Json | null;
|
|
22097
|
+
source_mailbox_message_id: string | null;
|
|
22098
|
+
source_pdf_path: string | null;
|
|
22099
|
+
source_type: string;
|
|
22100
|
+
status: string;
|
|
22101
|
+
technician_id: string | null;
|
|
22102
|
+
technician_notes: string | null;
|
|
22103
|
+
technician_notes_raw: string | null;
|
|
22104
|
+
technician_task_description: string | null;
|
|
22105
|
+
updated_at: string;
|
|
22106
|
+
version: number;
|
|
22107
|
+
work_address: string | null;
|
|
22108
|
+
workday_hours: number | null;
|
|
22109
|
+
};
|
|
22110
|
+
Insert: {
|
|
22111
|
+
assigned_user_id?: string | null;
|
|
22112
|
+
budget_mandate_cents?: number;
|
|
22113
|
+
complaint_description?: string | null;
|
|
22114
|
+
created_at?: string;
|
|
22115
|
+
created_by?: string | null;
|
|
22116
|
+
customer_id?: string | null;
|
|
22117
|
+
deadline_date?: string | null;
|
|
22118
|
+
estimated_days?: number | null;
|
|
22119
|
+
estimated_duration_minutes?: number | null;
|
|
22120
|
+
externe_referentie?: string | null;
|
|
22121
|
+
extra_costs_cents?: number;
|
|
22122
|
+
first_time_fix?: boolean | null;
|
|
22123
|
+
id?: string;
|
|
22124
|
+
internal_notes?: string | null;
|
|
22125
|
+
needs_detail_review?: boolean;
|
|
22126
|
+
parent_werkbon_id?: string | null;
|
|
22127
|
+
parsed_payload?: import("./types").Json | null;
|
|
22128
|
+
planning_status?: string;
|
|
22129
|
+
project_number?: string | null;
|
|
22130
|
+
review_reasons?: string[];
|
|
22131
|
+
room_number?: string | null;
|
|
22132
|
+
scheduled_end_time?: string | null;
|
|
22133
|
+
scheduled_start_time?: string | null;
|
|
22134
|
+
sequence_number: number;
|
|
22135
|
+
signature_accepted_at?: string | null;
|
|
22136
|
+
signature_by_user_id?: string | null;
|
|
22137
|
+
signature_name?: string | null;
|
|
22138
|
+
source_email_meta?: import("./types").Json | null;
|
|
22139
|
+
source_mailbox_message_id?: string | null;
|
|
22140
|
+
source_pdf_path?: string | null;
|
|
22141
|
+
source_type?: string;
|
|
22142
|
+
status?: string;
|
|
22143
|
+
technician_id?: string | null;
|
|
22144
|
+
technician_notes?: string | null;
|
|
22145
|
+
technician_notes_raw?: string | null;
|
|
22146
|
+
technician_task_description?: string | null;
|
|
22147
|
+
updated_at?: string;
|
|
22148
|
+
version?: number;
|
|
22149
|
+
work_address?: string | null;
|
|
22150
|
+
workday_hours?: number | null;
|
|
22151
|
+
};
|
|
22152
|
+
Update: {
|
|
22153
|
+
assigned_user_id?: string | null;
|
|
22154
|
+
budget_mandate_cents?: number;
|
|
22155
|
+
complaint_description?: string | null;
|
|
22156
|
+
created_at?: string;
|
|
22157
|
+
created_by?: string | null;
|
|
22158
|
+
customer_id?: string | null;
|
|
22159
|
+
deadline_date?: string | null;
|
|
22160
|
+
estimated_days?: number | null;
|
|
22161
|
+
estimated_duration_minutes?: number | null;
|
|
22162
|
+
externe_referentie?: string | null;
|
|
22163
|
+
extra_costs_cents?: number;
|
|
22164
|
+
first_time_fix?: boolean | null;
|
|
22165
|
+
id?: string;
|
|
22166
|
+
internal_notes?: string | null;
|
|
22167
|
+
needs_detail_review?: boolean;
|
|
20240
22168
|
parent_werkbon_id?: string | null;
|
|
20241
22169
|
parsed_payload?: import("./types").Json | null;
|
|
20242
22170
|
planning_status?: string;
|
|
@@ -20261,6 +22189,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20261
22189
|
updated_at?: string;
|
|
20262
22190
|
version?: number;
|
|
20263
22191
|
work_address?: string | null;
|
|
22192
|
+
workday_hours?: number | null;
|
|
20264
22193
|
};
|
|
20265
22194
|
Relationships: [{
|
|
20266
22195
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
@@ -21465,6 +23394,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21465
23394
|
};
|
|
21466
23395
|
Returns: string;
|
|
21467
23396
|
};
|
|
23397
|
+
backfill_cart_numbers_day_seq: {
|
|
23398
|
+
Args: never;
|
|
23399
|
+
Returns: number;
|
|
23400
|
+
};
|
|
21468
23401
|
backfill_open_order_reservations: {
|
|
21469
23402
|
Args: never;
|
|
21470
23403
|
Returns: {
|
|
@@ -21503,6 +23436,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21503
23436
|
Args: never;
|
|
21504
23437
|
Returns: boolean;
|
|
21505
23438
|
};
|
|
23439
|
+
cancel_open_print_jobs: {
|
|
23440
|
+
Args: {
|
|
23441
|
+
_cutoff: string;
|
|
23442
|
+
};
|
|
23443
|
+
Returns: {
|
|
23444
|
+
extern_job_id: string;
|
|
23445
|
+
id: string;
|
|
23446
|
+
}[];
|
|
23447
|
+
};
|
|
21506
23448
|
check_offer_product_available_stock: {
|
|
21507
23449
|
Args: {
|
|
21508
23450
|
p_campaign_product_id: string;
|
|
@@ -21942,8 +23884,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21942
23884
|
cart_index: number;
|
|
21943
23885
|
cart_number: string;
|
|
21944
23886
|
cart_number_id: string;
|
|
21945
|
-
cart_seq: number;
|
|
21946
|
-
cart_total: number;
|
|
21947
23887
|
order_id: string;
|
|
21948
23888
|
order_number: string;
|
|
21949
23889
|
order_source: string;
|
|
@@ -22168,6 +24108,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22168
24108
|
};
|
|
22169
24109
|
Returns: boolean;
|
|
22170
24110
|
};
|
|
24111
|
+
floriday_adopt_connection: {
|
|
24112
|
+
Args: {
|
|
24113
|
+
p_new: string;
|
|
24114
|
+
p_old: string;
|
|
24115
|
+
};
|
|
24116
|
+
Returns: import("./types").Json;
|
|
24117
|
+
};
|
|
24118
|
+
floriday_autoheal_connections: {
|
|
24119
|
+
Args: never;
|
|
24120
|
+
Returns: import("./types").Json;
|
|
24121
|
+
};
|
|
22171
24122
|
floriday_capture_stock_snapshot: {
|
|
22172
24123
|
Args: never;
|
|
22173
24124
|
Returns: number;
|
|
@@ -22225,6 +24176,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22225
24176
|
};
|
|
22226
24177
|
Returns: undefined;
|
|
22227
24178
|
};
|
|
24179
|
+
floriday_relink_products: {
|
|
24180
|
+
Args: {
|
|
24181
|
+
p_connection_id?: string;
|
|
24182
|
+
};
|
|
24183
|
+
Returns: import("./types").Json;
|
|
24184
|
+
};
|
|
22228
24185
|
floriday_requeue_dead_letters: {
|
|
22229
24186
|
Args: {
|
|
22230
24187
|
p_connection_id?: string;
|
|
@@ -22447,6 +24404,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22447
24404
|
Args: never;
|
|
22448
24405
|
Returns: string;
|
|
22449
24406
|
};
|
|
24407
|
+
handover_afspraak_intrekken: {
|
|
24408
|
+
Args: {
|
|
24409
|
+
_sleutel: string;
|
|
24410
|
+
};
|
|
24411
|
+
Returns: boolean;
|
|
24412
|
+
};
|
|
24413
|
+
handover_afspraak_zetten: {
|
|
24414
|
+
Args: {
|
|
24415
|
+
_besluit: string;
|
|
24416
|
+
_item: string;
|
|
24417
|
+
_modules: string[];
|
|
24418
|
+
_sleutel: string;
|
|
24419
|
+
_soort: string;
|
|
24420
|
+
_versie_vingerafdruk: string;
|
|
24421
|
+
};
|
|
24422
|
+
Returns: boolean;
|
|
24423
|
+
};
|
|
24424
|
+
handover_afspraken: {
|
|
24425
|
+
Args: never;
|
|
24426
|
+
Returns: import("./types").Json;
|
|
24427
|
+
};
|
|
22450
24428
|
handover_archief_lijst: {
|
|
22451
24429
|
Args: never;
|
|
22452
24430
|
Returns: import("./types").Json;
|
|
@@ -22464,6 +24442,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22464
24442
|
};
|
|
22465
24443
|
Returns: boolean;
|
|
22466
24444
|
};
|
|
24445
|
+
handover_check_afronden_na_scan: {
|
|
24446
|
+
Args: {
|
|
24447
|
+
_module_ids: string[];
|
|
24448
|
+
};
|
|
24449
|
+
Returns: number;
|
|
24450
|
+
};
|
|
22467
24451
|
handover_check_markeren: {
|
|
22468
24452
|
Args: {
|
|
22469
24453
|
_module_ids: string[];
|
|
@@ -22507,6 +24491,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22507
24491
|
};
|
|
22508
24492
|
Returns: boolean;
|
|
22509
24493
|
};
|
|
24494
|
+
handover_md_bron_zetten: {
|
|
24495
|
+
Args: {
|
|
24496
|
+
_md: boolean;
|
|
24497
|
+
_module_id: string;
|
|
24498
|
+
_pad?: string;
|
|
24499
|
+
};
|
|
24500
|
+
Returns: boolean;
|
|
24501
|
+
};
|
|
22510
24502
|
handover_module_meta_zetten: {
|
|
22511
24503
|
Args: {
|
|
22512
24504
|
_module_id: string;
|
|
@@ -22515,6 +24507,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22515
24507
|
};
|
|
22516
24508
|
Returns: boolean;
|
|
22517
24509
|
};
|
|
24510
|
+
handover_naam_zetten: {
|
|
24511
|
+
Args: {
|
|
24512
|
+
_bron_repo?: string;
|
|
24513
|
+
_module_id: string;
|
|
24514
|
+
_weergavenaam?: string;
|
|
24515
|
+
};
|
|
24516
|
+
Returns: boolean;
|
|
24517
|
+
};
|
|
24518
|
+
handover_namen: {
|
|
24519
|
+
Args: never;
|
|
24520
|
+
Returns: import("./types").Json;
|
|
24521
|
+
};
|
|
24522
|
+
handover_nieuw_gezien: {
|
|
24523
|
+
Args: {
|
|
24524
|
+
_module_id: string;
|
|
24525
|
+
};
|
|
24526
|
+
Returns: boolean;
|
|
24527
|
+
};
|
|
22518
24528
|
handover_norm_naam: {
|
|
22519
24529
|
Args: {
|
|
22520
24530
|
_naam: string;
|
|
@@ -22551,6 +24561,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22551
24561
|
_versie_label?: string;
|
|
22552
24562
|
};
|
|
22553
24563
|
Returns: import("./types").Json;
|
|
24564
|
+
} | {
|
|
24565
|
+
Args: {
|
|
24566
|
+
_bekende_risicos?: string[];
|
|
24567
|
+
_bezit_tabellen?: string[];
|
|
24568
|
+
_bron_soort?: string;
|
|
24569
|
+
_commit?: string;
|
|
24570
|
+
_contractfuncties?: string[];
|
|
24571
|
+
_inhoud_md: string;
|
|
24572
|
+
_laatst_bevestigd_op?: string;
|
|
24573
|
+
_module_id: string;
|
|
24574
|
+
_module_titel: string;
|
|
24575
|
+
_ontbrekende_contracten?: string[];
|
|
24576
|
+
_pad?: string;
|
|
24577
|
+
_repo?: string;
|
|
24578
|
+
_samenvatting?: string;
|
|
24579
|
+
_versie_label?: string;
|
|
24580
|
+
};
|
|
24581
|
+
Returns: import("./types").Json;
|
|
22554
24582
|
};
|
|
22555
24583
|
handover_publish_via_token: {
|
|
22556
24584
|
Args: {
|
|
@@ -22648,6 +24676,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22648
24676
|
Args: never;
|
|
22649
24677
|
Returns: boolean;
|
|
22650
24678
|
};
|
|
24679
|
+
inkoop_apply_price_list: {
|
|
24680
|
+
Args: {
|
|
24681
|
+
_price_list_id: string;
|
|
24682
|
+
_rows: import("./types").Json;
|
|
24683
|
+
};
|
|
24684
|
+
Returns: import("./types").Json;
|
|
24685
|
+
};
|
|
24686
|
+
inkoop_next_order_number: {
|
|
24687
|
+
Args: never;
|
|
24688
|
+
Returns: string;
|
|
24689
|
+
};
|
|
24690
|
+
inkoop_send_order: {
|
|
24691
|
+
Args: {
|
|
24692
|
+
_order_id: string;
|
|
24693
|
+
};
|
|
24694
|
+
Returns: {
|
|
24695
|
+
outbox_id: string;
|
|
24696
|
+
supplier_name: string;
|
|
24697
|
+
to_address: string;
|
|
24698
|
+
}[];
|
|
24699
|
+
};
|
|
22651
24700
|
instructie_get: {
|
|
22652
24701
|
Args: {
|
|
22653
24702
|
_sleutel: string;
|
|
@@ -22707,6 +24756,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22707
24756
|
};
|
|
22708
24757
|
Returns: import("./types").Json;
|
|
22709
24758
|
};
|
|
24759
|
+
invoice_source_lines: {
|
|
24760
|
+
Args: {
|
|
24761
|
+
_source_id: string;
|
|
24762
|
+
_source_type: string;
|
|
24763
|
+
};
|
|
24764
|
+
Returns: import("./types").Json;
|
|
24765
|
+
};
|
|
22710
24766
|
is_authenticated: {
|
|
22711
24767
|
Args: never;
|
|
22712
24768
|
Returns: boolean;
|
|
@@ -22846,6 +24902,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22846
24902
|
};
|
|
22847
24903
|
Returns: string;
|
|
22848
24904
|
};
|
|
24905
|
+
logistics_active_layout_method: {
|
|
24906
|
+
Args: never;
|
|
24907
|
+
Returns: string;
|
|
24908
|
+
};
|
|
22849
24909
|
logistics_active_pick_workdays: {
|
|
22850
24910
|
Args: never;
|
|
22851
24911
|
Returns: string[];
|
|
@@ -23020,6 +25080,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23020
25080
|
};
|
|
23021
25081
|
Returns: string;
|
|
23022
25082
|
};
|
|
25083
|
+
logistics_cart_checkin_at: {
|
|
25084
|
+
Args: {
|
|
25085
|
+
p_cart_id: string;
|
|
25086
|
+
};
|
|
25087
|
+
Returns: string;
|
|
25088
|
+
};
|
|
23023
25089
|
logistics_cart_handled: {
|
|
23024
25090
|
Args: {
|
|
23025
25091
|
p_cart_index: number;
|
|
@@ -23053,10 +25119,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23053
25119
|
task_status: string;
|
|
23054
25120
|
}[];
|
|
23055
25121
|
};
|
|
25122
|
+
logistics_cart_is_full: {
|
|
25123
|
+
Args: {
|
|
25124
|
+
p_cart_id: string;
|
|
25125
|
+
};
|
|
25126
|
+
Returns: boolean;
|
|
25127
|
+
};
|
|
23056
25128
|
logistics_cart_layout_method: {
|
|
23057
25129
|
Args: never;
|
|
23058
25130
|
Returns: import("./types").Json;
|
|
23059
25131
|
};
|
|
25132
|
+
logistics_cart_order_refs: {
|
|
25133
|
+
Args: {
|
|
25134
|
+
p_cart_id: string;
|
|
25135
|
+
};
|
|
25136
|
+
Returns: string[];
|
|
25137
|
+
};
|
|
23060
25138
|
logistics_cart_plan_overview: {
|
|
23061
25139
|
Args: {
|
|
23062
25140
|
p_days?: number;
|
|
@@ -23076,6 +25154,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23076
25154
|
};
|
|
23077
25155
|
Returns: import("./types").Json;
|
|
23078
25156
|
};
|
|
25157
|
+
logistics_cart_plan_status_core: {
|
|
25158
|
+
Args: {
|
|
25159
|
+
p_ref: string;
|
|
25160
|
+
};
|
|
25161
|
+
Returns: import("./types").Json;
|
|
25162
|
+
};
|
|
25163
|
+
logistics_cart_release_reason: {
|
|
25164
|
+
Args: {
|
|
25165
|
+
p_cart_id: string;
|
|
25166
|
+
};
|
|
25167
|
+
Returns: string;
|
|
25168
|
+
};
|
|
25169
|
+
logistics_cart_released: {
|
|
25170
|
+
Args: {
|
|
25171
|
+
p_cart_id: string;
|
|
25172
|
+
};
|
|
25173
|
+
Returns: boolean;
|
|
25174
|
+
};
|
|
23079
25175
|
logistics_cart_seq: {
|
|
23080
25176
|
Args: {
|
|
23081
25177
|
p_order_uuid?: string;
|
|
@@ -23126,6 +25222,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23126
25222
|
unit_ref: string;
|
|
23127
25223
|
}[];
|
|
23128
25224
|
};
|
|
25225
|
+
logistics_carts_per_print: {
|
|
25226
|
+
Args: never;
|
|
25227
|
+
Returns: number;
|
|
25228
|
+
};
|
|
23129
25229
|
logistics_check_order_allowed: {
|
|
23130
25230
|
Args: {
|
|
23131
25231
|
p_lines: import("./types").Json;
|
|
@@ -23229,6 +25329,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23229
25329
|
isSetofReturn: false;
|
|
23230
25330
|
};
|
|
23231
25331
|
};
|
|
25332
|
+
logistics_cleanup_orphan_print_jobs: {
|
|
25333
|
+
Args: never;
|
|
25334
|
+
Returns: import("./types").Json;
|
|
25335
|
+
};
|
|
25336
|
+
logistics_cleanup_tasks: {
|
|
25337
|
+
Args: {
|
|
25338
|
+
p_limit?: number;
|
|
25339
|
+
};
|
|
25340
|
+
Returns: import("./types").Json;
|
|
25341
|
+
};
|
|
23232
25342
|
logistics_complete_task: {
|
|
23233
25343
|
Args: {
|
|
23234
25344
|
p_result?: import("./types").Json;
|
|
@@ -23291,6 +25401,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23291
25401
|
station_carts: number;
|
|
23292
25402
|
}[];
|
|
23293
25403
|
};
|
|
25404
|
+
logistics_control_complete_cart: {
|
|
25405
|
+
Args: {
|
|
25406
|
+
p_cart_id: string;
|
|
25407
|
+
};
|
|
25408
|
+
Returns: number;
|
|
25409
|
+
};
|
|
23294
25410
|
logistics_control_scan_approve: {
|
|
23295
25411
|
Args: {
|
|
23296
25412
|
p_allow_reprint?: boolean;
|
|
@@ -23370,6 +25486,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23370
25486
|
Args: never;
|
|
23371
25487
|
Returns: import("./types").Json;
|
|
23372
25488
|
};
|
|
25489
|
+
logistics_day_windows: {
|
|
25490
|
+
Args: {
|
|
25491
|
+
p_day: string;
|
|
25492
|
+
};
|
|
25493
|
+
Returns: {
|
|
25494
|
+
win_end: string;
|
|
25495
|
+
win_start: string;
|
|
25496
|
+
}[];
|
|
25497
|
+
};
|
|
23373
25498
|
logistics_delay_customer_email: {
|
|
23374
25499
|
Args: {
|
|
23375
25500
|
p_customer: string;
|
|
@@ -23437,6 +25562,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23437
25562
|
};
|
|
23438
25563
|
Returns: import("./types").Json;
|
|
23439
25564
|
};
|
|
25565
|
+
logistics_enqueue_shipping_note_with_slip: {
|
|
25566
|
+
Args: {
|
|
25567
|
+
_cart_id: string;
|
|
25568
|
+
_is_herprint: boolean;
|
|
25569
|
+
_printer_id: string;
|
|
25570
|
+
_queue_item_id: string;
|
|
25571
|
+
_session_id: string;
|
|
25572
|
+
_slip_job_id: string;
|
|
25573
|
+
};
|
|
25574
|
+
Returns: string;
|
|
25575
|
+
};
|
|
23440
25576
|
logistics_enqueue_sticker_with_slip: {
|
|
23441
25577
|
Args: {
|
|
23442
25578
|
_cart_id: string;
|
|
@@ -23454,6 +25590,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23454
25590
|
};
|
|
23455
25591
|
Returns: string;
|
|
23456
25592
|
};
|
|
25593
|
+
logistics_ensure_pick_data: {
|
|
25594
|
+
Args: {
|
|
25595
|
+
p_event_id?: string;
|
|
25596
|
+
p_missing?: import("./types").Json;
|
|
25597
|
+
p_ref: string;
|
|
25598
|
+
};
|
|
25599
|
+
Returns: import("./types").Json;
|
|
25600
|
+
};
|
|
25601
|
+
logistics_ensure_shipping_notes: {
|
|
25602
|
+
Args: {
|
|
25603
|
+
p_limit?: number;
|
|
25604
|
+
};
|
|
25605
|
+
Returns: import("./types").Json;
|
|
25606
|
+
};
|
|
23457
25607
|
logistics_fail_task: {
|
|
23458
25608
|
Args: {
|
|
23459
25609
|
p_error: string;
|
|
@@ -23499,6 +25649,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23499
25649
|
isSetofReturn: false;
|
|
23500
25650
|
};
|
|
23501
25651
|
};
|
|
25652
|
+
logistics_fix_wrong_shipping_notes: {
|
|
25653
|
+
Args: never;
|
|
25654
|
+
Returns: import("./types").Json;
|
|
25655
|
+
};
|
|
23502
25656
|
logistics_floriday_cart_plan: {
|
|
23503
25657
|
Args: {
|
|
23504
25658
|
p_order_id: string;
|
|
@@ -23526,6 +25680,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23526
25680
|
revision: number;
|
|
23527
25681
|
}[];
|
|
23528
25682
|
};
|
|
25683
|
+
logistics_floriday_delivery_note_create_enabled: {
|
|
25684
|
+
Args: never;
|
|
25685
|
+
Returns: boolean;
|
|
25686
|
+
};
|
|
23529
25687
|
logistics_floriday_finish_push: {
|
|
23530
25688
|
Args: {
|
|
23531
25689
|
_error?: string;
|
|
@@ -23575,6 +25733,38 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23575
25733
|
};
|
|
23576
25734
|
Returns: string;
|
|
23577
25735
|
};
|
|
25736
|
+
logistics_floriday_gate_status: {
|
|
25737
|
+
Args: never;
|
|
25738
|
+
Returns: import("./types").Json;
|
|
25739
|
+
};
|
|
25740
|
+
logistics_floriday_log_refusal: {
|
|
25741
|
+
Args: {
|
|
25742
|
+
_action?: string;
|
|
25743
|
+
_module?: string;
|
|
25744
|
+
_order_ref: string;
|
|
25745
|
+
_reason: string;
|
|
25746
|
+
_shell?: string;
|
|
25747
|
+
};
|
|
25748
|
+
Returns: undefined;
|
|
25749
|
+
};
|
|
25750
|
+
logistics_floriday_log_send: {
|
|
25751
|
+
Args: {
|
|
25752
|
+
_action: string;
|
|
25753
|
+
_detail?: string;
|
|
25754
|
+
_http_status?: number;
|
|
25755
|
+
_module?: string;
|
|
25756
|
+
_ok: boolean;
|
|
25757
|
+
_order_ref: string;
|
|
25758
|
+
_shell?: string;
|
|
25759
|
+
};
|
|
25760
|
+
Returns: undefined;
|
|
25761
|
+
};
|
|
25762
|
+
logistics_floriday_order_approved: {
|
|
25763
|
+
Args: {
|
|
25764
|
+
_order_ref: string;
|
|
25765
|
+
};
|
|
25766
|
+
Returns: boolean;
|
|
25767
|
+
};
|
|
23578
25768
|
logistics_floriday_prune_pushes: {
|
|
23579
25769
|
Args: {
|
|
23580
25770
|
_days?: number;
|
|
@@ -23589,6 +25779,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23589
25779
|
};
|
|
23590
25780
|
Returns: string;
|
|
23591
25781
|
};
|
|
25782
|
+
logistics_floriday_status_updates_enabled: {
|
|
25783
|
+
Args: never;
|
|
25784
|
+
Returns: boolean;
|
|
25785
|
+
};
|
|
25786
|
+
logistics_floriday_stock_updates_enabled: {
|
|
25787
|
+
Args: never;
|
|
25788
|
+
Returns: boolean;
|
|
25789
|
+
};
|
|
25790
|
+
logistics_floriday_write_allowed: {
|
|
25791
|
+
Args: {
|
|
25792
|
+
_action: string;
|
|
25793
|
+
};
|
|
25794
|
+
Returns: boolean;
|
|
25795
|
+
};
|
|
23592
25796
|
logistics_fulfill_barcode_requests: {
|
|
23593
25797
|
Args: {
|
|
23594
25798
|
p_limit?: number;
|
|
@@ -23609,6 +25813,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23609
25813
|
};
|
|
23610
25814
|
Returns: boolean;
|
|
23611
25815
|
};
|
|
25816
|
+
logistics_layout_method_status: {
|
|
25817
|
+
Args: never;
|
|
25818
|
+
Returns: import("./types").Json;
|
|
25819
|
+
};
|
|
23612
25820
|
logistics_link_order_items: {
|
|
23613
25821
|
Args: {
|
|
23614
25822
|
p_order?: string;
|
|
@@ -23627,6 +25835,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23627
25835
|
};
|
|
23628
25836
|
Returns: number;
|
|
23629
25837
|
};
|
|
25838
|
+
logistics_merge_floriday_lines: {
|
|
25839
|
+
Args: {
|
|
25840
|
+
p_order_id: string;
|
|
25841
|
+
};
|
|
25842
|
+
Returns: string;
|
|
25843
|
+
};
|
|
25844
|
+
logistics_merge_lines_enabled: {
|
|
25845
|
+
Args: never;
|
|
25846
|
+
Returns: boolean;
|
|
25847
|
+
};
|
|
25848
|
+
logistics_merge_partial_carts: {
|
|
25849
|
+
Args: {
|
|
25850
|
+
p_limit?: number;
|
|
25851
|
+
};
|
|
25852
|
+
Returns: import("./types").Json;
|
|
25853
|
+
};
|
|
23630
25854
|
logistics_next_workday_date: {
|
|
23631
25855
|
Args: {
|
|
23632
25856
|
p_date: string;
|
|
@@ -23653,12 +25877,50 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23653
25877
|
};
|
|
23654
25878
|
Returns: string;
|
|
23655
25879
|
};
|
|
25880
|
+
logistics_opening_timezone: {
|
|
25881
|
+
Args: never;
|
|
25882
|
+
Returns: string;
|
|
25883
|
+
};
|
|
25884
|
+
logistics_order_cart_approval: {
|
|
25885
|
+
Args: {
|
|
25886
|
+
_order_ref: string;
|
|
25887
|
+
};
|
|
25888
|
+
Returns: {
|
|
25889
|
+
approved: number;
|
|
25890
|
+
total: number;
|
|
25891
|
+
}[];
|
|
25892
|
+
};
|
|
23656
25893
|
logistics_order_cart_count: {
|
|
23657
25894
|
Args: {
|
|
23658
25895
|
p_order_ref: string;
|
|
23659
25896
|
};
|
|
23660
25897
|
Returns: number;
|
|
23661
25898
|
};
|
|
25899
|
+
logistics_order_changed: {
|
|
25900
|
+
Args: {
|
|
25901
|
+
p_order_id: string;
|
|
25902
|
+
p_reason?: string;
|
|
25903
|
+
};
|
|
25904
|
+
Returns: undefined;
|
|
25905
|
+
};
|
|
25906
|
+
logistics_order_documents_ready: {
|
|
25907
|
+
Args: {
|
|
25908
|
+
p_order_ref: string;
|
|
25909
|
+
};
|
|
25910
|
+
Returns: import("./types").Json;
|
|
25911
|
+
};
|
|
25912
|
+
logistics_order_documents_ready_bool: {
|
|
25913
|
+
Args: {
|
|
25914
|
+
p_order_ref: string;
|
|
25915
|
+
};
|
|
25916
|
+
Returns: boolean;
|
|
25917
|
+
};
|
|
25918
|
+
logistics_order_frozen: {
|
|
25919
|
+
Args: {
|
|
25920
|
+
p_order_id: string;
|
|
25921
|
+
};
|
|
25922
|
+
Returns: boolean;
|
|
25923
|
+
};
|
|
23662
25924
|
logistics_order_handled: {
|
|
23663
25925
|
Args: {
|
|
23664
25926
|
p_order_uuid: string;
|
|
@@ -23672,6 +25934,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23672
25934
|
};
|
|
23673
25935
|
Returns: boolean;
|
|
23674
25936
|
};
|
|
25937
|
+
logistics_order_merge_key: {
|
|
25938
|
+
Args: {
|
|
25939
|
+
p_group_key: string;
|
|
25940
|
+
};
|
|
25941
|
+
Returns: string;
|
|
25942
|
+
};
|
|
25943
|
+
logistics_order_mergeable: {
|
|
25944
|
+
Args: {
|
|
25945
|
+
p_order_id: string;
|
|
25946
|
+
};
|
|
25947
|
+
Returns: boolean;
|
|
25948
|
+
};
|
|
23675
25949
|
logistics_order_overview: {
|
|
23676
25950
|
Args: {
|
|
23677
25951
|
p_from?: string;
|
|
@@ -23709,6 +25983,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23709
25983
|
};
|
|
23710
25984
|
Returns: string;
|
|
23711
25985
|
};
|
|
25986
|
+
logistics_payload_is_floriday: {
|
|
25987
|
+
Args: {
|
|
25988
|
+
_payload: import("./types").Json;
|
|
25989
|
+
};
|
|
25990
|
+
Returns: boolean;
|
|
25991
|
+
};
|
|
23712
25992
|
logistics_pick_agenda: {
|
|
23713
25993
|
Args: {
|
|
23714
25994
|
p_from?: string;
|
|
@@ -23737,6 +26017,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23737
26017
|
Args: never;
|
|
23738
26018
|
Returns: import("./types").Json;
|
|
23739
26019
|
};
|
|
26020
|
+
logistics_pick_partial_mode: {
|
|
26021
|
+
Args: never;
|
|
26022
|
+
Returns: string;
|
|
26023
|
+
};
|
|
23740
26024
|
logistics_pick_start_estimate: {
|
|
23741
26025
|
Args: {
|
|
23742
26026
|
p_order: import("./types").Json;
|
|
@@ -23786,6 +26070,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23786
26070
|
order_id: string;
|
|
23787
26071
|
}[];
|
|
23788
26072
|
};
|
|
26073
|
+
logistics_plan_defer: {
|
|
26074
|
+
Args: {
|
|
26075
|
+
p_id: string;
|
|
26076
|
+
};
|
|
26077
|
+
Returns: undefined;
|
|
26078
|
+
};
|
|
23789
26079
|
logistics_plan_enqueue: {
|
|
23790
26080
|
Args: {
|
|
23791
26081
|
p_order_id: string;
|
|
@@ -23799,6 +26089,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23799
26089
|
};
|
|
23800
26090
|
Returns: boolean;
|
|
23801
26091
|
};
|
|
26092
|
+
logistics_plan_error_class: {
|
|
26093
|
+
Args: {
|
|
26094
|
+
p_error: string;
|
|
26095
|
+
};
|
|
26096
|
+
Returns: string;
|
|
26097
|
+
};
|
|
26098
|
+
logistics_plan_error_text: {
|
|
26099
|
+
Args: {
|
|
26100
|
+
p_error: string;
|
|
26101
|
+
};
|
|
26102
|
+
Returns: string;
|
|
26103
|
+
};
|
|
23802
26104
|
logistics_plan_finish: {
|
|
23803
26105
|
Args: {
|
|
23804
26106
|
p_error?: string;
|
|
@@ -23827,14 +26129,80 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23827
26129
|
Args: never;
|
|
23828
26130
|
Returns: undefined;
|
|
23829
26131
|
};
|
|
26132
|
+
logistics_plan_lock_acquire: {
|
|
26133
|
+
Args: {
|
|
26134
|
+
_key: string;
|
|
26135
|
+
_owner?: string;
|
|
26136
|
+
_ttl_seconds?: number;
|
|
26137
|
+
};
|
|
26138
|
+
Returns: boolean;
|
|
26139
|
+
};
|
|
26140
|
+
logistics_plan_lock_release: {
|
|
26141
|
+
Args: {
|
|
26142
|
+
_key: string;
|
|
26143
|
+
_owner?: string;
|
|
26144
|
+
};
|
|
26145
|
+
Returns: undefined;
|
|
26146
|
+
};
|
|
26147
|
+
logistics_plan_progress: {
|
|
26148
|
+
Args: {
|
|
26149
|
+
p_refs: string[];
|
|
26150
|
+
};
|
|
26151
|
+
Returns: {
|
|
26152
|
+
cart_plan_ready: boolean;
|
|
26153
|
+
cart_plan_reason: string;
|
|
26154
|
+
cart_plan_released: boolean;
|
|
26155
|
+
plan_progress: number;
|
|
26156
|
+
plan_state: string;
|
|
26157
|
+
plan_state_since: string;
|
|
26158
|
+
unit_ref: string;
|
|
26159
|
+
}[];
|
|
26160
|
+
};
|
|
26161
|
+
logistics_plan_progress_pct: {
|
|
26162
|
+
Args: {
|
|
26163
|
+
p_order_id: string;
|
|
26164
|
+
};
|
|
26165
|
+
Returns: number;
|
|
26166
|
+
};
|
|
23830
26167
|
logistics_plan_prune: {
|
|
23831
26168
|
Args: never;
|
|
23832
26169
|
Returns: number;
|
|
23833
26170
|
};
|
|
26171
|
+
logistics_plan_queue_list: {
|
|
26172
|
+
Args: {
|
|
26173
|
+
p_limit?: number;
|
|
26174
|
+
};
|
|
26175
|
+
Returns: {
|
|
26176
|
+
attempts: number;
|
|
26177
|
+
claimed_at: string;
|
|
26178
|
+
customer_name: string;
|
|
26179
|
+
enqueued_at: string;
|
|
26180
|
+
error_class: string;
|
|
26181
|
+
error_raw: string;
|
|
26182
|
+
error_text: string;
|
|
26183
|
+
id: string;
|
|
26184
|
+
max_attempts: number;
|
|
26185
|
+
next_attempt_at: string;
|
|
26186
|
+
order_created_at: string;
|
|
26187
|
+
order_id: string;
|
|
26188
|
+
order_number: string;
|
|
26189
|
+
progress_pct: number;
|
|
26190
|
+
reason: string;
|
|
26191
|
+
stand: string;
|
|
26192
|
+
status: string;
|
|
26193
|
+
updated_at: string;
|
|
26194
|
+
}[];
|
|
26195
|
+
};
|
|
23834
26196
|
logistics_plan_release_stale: {
|
|
23835
26197
|
Args: never;
|
|
23836
26198
|
Returns: number;
|
|
23837
26199
|
};
|
|
26200
|
+
logistics_plan_reset_queue: {
|
|
26201
|
+
Args: {
|
|
26202
|
+
p_scope?: string;
|
|
26203
|
+
};
|
|
26204
|
+
Returns: number;
|
|
26205
|
+
};
|
|
23838
26206
|
logistics_plan_retry: {
|
|
23839
26207
|
Args: {
|
|
23840
26208
|
p_order_ids: string[];
|
|
@@ -23848,6 +26216,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23848
26216
|
};
|
|
23849
26217
|
Returns: number;
|
|
23850
26218
|
};
|
|
26219
|
+
logistics_plan_state_for: {
|
|
26220
|
+
Args: {
|
|
26221
|
+
p_ref: string;
|
|
26222
|
+
};
|
|
26223
|
+
Returns: import("./types").Json;
|
|
26224
|
+
};
|
|
26225
|
+
logistics_plan_timeout_running: {
|
|
26226
|
+
Args: never;
|
|
26227
|
+
Returns: number;
|
|
26228
|
+
};
|
|
26229
|
+
logistics_prepare_pick_documents: {
|
|
26230
|
+
Args: {
|
|
26231
|
+
p_limit?: number;
|
|
26232
|
+
};
|
|
26233
|
+
Returns: import("./types").Json;
|
|
26234
|
+
};
|
|
23851
26235
|
logistics_prune_buffer_member_queue: {
|
|
23852
26236
|
Args: never;
|
|
23853
26237
|
Returns: number;
|
|
@@ -23888,12 +26272,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23888
26272
|
Args: never;
|
|
23889
26273
|
Returns: import("./types").Json;
|
|
23890
26274
|
};
|
|
26275
|
+
logistics_refresh_pick_queue_status: {
|
|
26276
|
+
Args: {
|
|
26277
|
+
p_ref: string;
|
|
26278
|
+
};
|
|
26279
|
+
Returns: number;
|
|
26280
|
+
};
|
|
23891
26281
|
logistics_refresh_pickup_moments: {
|
|
23892
26282
|
Args: {
|
|
23893
26283
|
p_weeks?: number;
|
|
23894
26284
|
};
|
|
23895
26285
|
Returns: import("./types").Json;
|
|
23896
26286
|
};
|
|
26287
|
+
logistics_refresh_plan_state: {
|
|
26288
|
+
Args: {
|
|
26289
|
+
p_limit?: number;
|
|
26290
|
+
};
|
|
26291
|
+
Returns: import("./types").Json;
|
|
26292
|
+
};
|
|
26293
|
+
logistics_replan_all: {
|
|
26294
|
+
Args: {
|
|
26295
|
+
p_reason?: string;
|
|
26296
|
+
};
|
|
26297
|
+
Returns: import("./types").Json;
|
|
26298
|
+
};
|
|
26299
|
+
logistics_replan_all_force: {
|
|
26300
|
+
Args: {
|
|
26301
|
+
p_reason?: string;
|
|
26302
|
+
};
|
|
26303
|
+
Returns: import("./types").Json;
|
|
26304
|
+
};
|
|
26305
|
+
logistics_replan_order_journey: {
|
|
26306
|
+
Args: {
|
|
26307
|
+
p_order_ref: string;
|
|
26308
|
+
};
|
|
26309
|
+
Returns: import("./types").Json;
|
|
26310
|
+
};
|
|
23897
26311
|
logistics_report_delay: {
|
|
23898
26312
|
Args: {
|
|
23899
26313
|
p_expected_date?: string;
|
|
@@ -23996,95 +26410,361 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23996
26410
|
};
|
|
23997
26411
|
Returns: import("./types").Json;
|
|
23998
26412
|
};
|
|
23999
|
-
logistics_scan_delays: {
|
|
24000
|
-
Args: never;
|
|
24001
|
-
Returns: number;
|
|
24002
|
-
};
|
|
24003
|
-
logistics_scan_order_stock: {
|
|
26413
|
+
logistics_scan_delays: {
|
|
26414
|
+
Args: never;
|
|
26415
|
+
Returns: number;
|
|
26416
|
+
};
|
|
26417
|
+
logistics_scan_order_stock: {
|
|
26418
|
+
Args: {
|
|
26419
|
+
p_order_id: string;
|
|
26420
|
+
};
|
|
26421
|
+
Returns: string;
|
|
26422
|
+
};
|
|
26423
|
+
logistics_scan_resolve: {
|
|
26424
|
+
Args: {
|
|
26425
|
+
p_code: string;
|
|
26426
|
+
};
|
|
26427
|
+
Returns: import("./types").Json;
|
|
26428
|
+
};
|
|
26429
|
+
logistics_schedule_tasks: {
|
|
26430
|
+
Args: never;
|
|
26431
|
+
Returns: number;
|
|
26432
|
+
} | {
|
|
26433
|
+
Args: {
|
|
26434
|
+
p_order_ref?: string;
|
|
26435
|
+
};
|
|
26436
|
+
Returns: number;
|
|
26437
|
+
};
|
|
26438
|
+
logistics_set_order_priority: {
|
|
26439
|
+
Args: {
|
|
26440
|
+
p_order_ref: string;
|
|
26441
|
+
p_priority: number;
|
|
26442
|
+
p_user_id?: string;
|
|
26443
|
+
};
|
|
26444
|
+
Returns: number;
|
|
26445
|
+
};
|
|
26446
|
+
logistics_set_pick_day: {
|
|
26447
|
+
Args: {
|
|
26448
|
+
p_order_ref: string;
|
|
26449
|
+
p_pick_day: string;
|
|
26450
|
+
};
|
|
26451
|
+
Returns: import("./types").Json;
|
|
26452
|
+
};
|
|
26453
|
+
logistics_shift_to_workday: {
|
|
26454
|
+
Args: {
|
|
26455
|
+
p_days: string[];
|
|
26456
|
+
p_ts: string;
|
|
26457
|
+
};
|
|
26458
|
+
Returns: string;
|
|
26459
|
+
};
|
|
26460
|
+
logistics_shipping_note_diagnose: {
|
|
26461
|
+
Args: {
|
|
26462
|
+
p_order_number: string;
|
|
26463
|
+
};
|
|
26464
|
+
Returns: import("./types").Json;
|
|
26465
|
+
};
|
|
26466
|
+
logistics_shipping_note_follows_slip: {
|
|
26467
|
+
Args: never;
|
|
26468
|
+
Returns: boolean;
|
|
26469
|
+
};
|
|
26470
|
+
logistics_shipping_note_from_barcode: {
|
|
26471
|
+
Args: {
|
|
26472
|
+
p_allow_reprint?: boolean;
|
|
26473
|
+
p_barcode: string;
|
|
26474
|
+
p_station_id?: string;
|
|
26475
|
+
};
|
|
26476
|
+
Returns: import("./types").Json;
|
|
26477
|
+
};
|
|
26478
|
+
logistics_shipping_note_job_for_slip: {
|
|
26479
|
+
Args: {
|
|
26480
|
+
_slip_job_id: string;
|
|
26481
|
+
};
|
|
26482
|
+
Returns: string;
|
|
26483
|
+
};
|
|
26484
|
+
logistics_shipping_notes_wake_all: {
|
|
26485
|
+
Args: never;
|
|
26486
|
+
Returns: import("./types").Json;
|
|
26487
|
+
};
|
|
26488
|
+
logistics_slip_is_floriday: {
|
|
26489
|
+
Args: {
|
|
26490
|
+
_slip_job_id: string;
|
|
26491
|
+
};
|
|
26492
|
+
Returns: boolean;
|
|
26493
|
+
};
|
|
26494
|
+
logistics_slip_note_claim: {
|
|
26495
|
+
Args: {
|
|
26496
|
+
_lease_seconds?: number;
|
|
26497
|
+
_limit?: number;
|
|
26498
|
+
};
|
|
26499
|
+
Returns: {
|
|
26500
|
+
attempts: number;
|
|
26501
|
+
batch_key: string | null;
|
|
26502
|
+
cart_id: string | null;
|
|
26503
|
+
created_at: string;
|
|
26504
|
+
error: string | null;
|
|
26505
|
+
error_code: string | null;
|
|
26506
|
+
fulfillment_order_id: string | null;
|
|
26507
|
+
id: string;
|
|
26508
|
+
locked_until: string | null;
|
|
26509
|
+
next_attempt_at: string | null;
|
|
26510
|
+
order_id: string | null;
|
|
26511
|
+
order_number: string | null;
|
|
26512
|
+
print_job_id: string | null;
|
|
26513
|
+
printer_id: string | null;
|
|
26514
|
+
retry_class: string | null;
|
|
26515
|
+
slip_job_id: string;
|
|
26516
|
+
status: string;
|
|
26517
|
+
updated_at: string;
|
|
26518
|
+
}[];
|
|
26519
|
+
SetofOptions: {
|
|
26520
|
+
from: "*";
|
|
26521
|
+
to: "logistics_slip_shipping_note";
|
|
26522
|
+
isOneToOne: false;
|
|
26523
|
+
isSetofReturn: true;
|
|
26524
|
+
};
|
|
26525
|
+
};
|
|
26526
|
+
logistics_slip_note_finish: {
|
|
26527
|
+
Args: {
|
|
26528
|
+
_error?: string;
|
|
26529
|
+
_error_code?: string;
|
|
26530
|
+
_fulfillment_order_id?: string;
|
|
26531
|
+
_id: string;
|
|
26532
|
+
_ok: boolean;
|
|
26533
|
+
_print_job_id?: string;
|
|
26534
|
+
_status?: string;
|
|
26535
|
+
};
|
|
26536
|
+
Returns: undefined;
|
|
26537
|
+
};
|
|
26538
|
+
logistics_slip_note_keep_waiting: {
|
|
26539
|
+
Args: {
|
|
26540
|
+
_class?: string;
|
|
26541
|
+
_id: string;
|
|
26542
|
+
_reason: string;
|
|
26543
|
+
};
|
|
26544
|
+
Returns: undefined;
|
|
26545
|
+
};
|
|
26546
|
+
logistics_sticker_follows_slip: {
|
|
26547
|
+
Args: never;
|
|
26548
|
+
Returns: boolean;
|
|
26549
|
+
};
|
|
26550
|
+
logistics_subtract_working_minutes: {
|
|
26551
|
+
Args: {
|
|
26552
|
+
p_deadline: string;
|
|
26553
|
+
p_max_workdays?: number;
|
|
26554
|
+
p_minutes: number;
|
|
26555
|
+
};
|
|
26556
|
+
Returns: import("./types").Json;
|
|
26557
|
+
};
|
|
26558
|
+
logistics_supersede_stale_tasks: {
|
|
26559
|
+
Args: {
|
|
26560
|
+
p_keep: string[];
|
|
26561
|
+
p_order_ref: string;
|
|
26562
|
+
p_run_id: string;
|
|
26563
|
+
p_user_id: string;
|
|
26564
|
+
};
|
|
26565
|
+
Returns: number;
|
|
26566
|
+
};
|
|
26567
|
+
logistics_sync_pick_queue: {
|
|
26568
|
+
Args: never;
|
|
26569
|
+
Returns: import("./types").Json;
|
|
26570
|
+
};
|
|
26571
|
+
logistics_sync_task_carriers: {
|
|
26572
|
+
Args: {
|
|
26573
|
+
p_order_ref?: string;
|
|
26574
|
+
};
|
|
26575
|
+
Returns: number;
|
|
26576
|
+
};
|
|
26577
|
+
logistics_task_owner: {
|
|
26578
|
+
Args: {
|
|
26579
|
+
p_task_type: string;
|
|
26580
|
+
};
|
|
26581
|
+
Returns: string;
|
|
26582
|
+
};
|
|
26583
|
+
logistics_task_pick_minutes: {
|
|
26584
|
+
Args: {
|
|
26585
|
+
p_payload: import("./types").Json;
|
|
26586
|
+
p_settings: import("./types").Json;
|
|
26587
|
+
};
|
|
26588
|
+
Returns: number;
|
|
26589
|
+
};
|
|
26590
|
+
logistics_task_retention_days: {
|
|
26591
|
+
Args: never;
|
|
26592
|
+
Returns: number;
|
|
26593
|
+
};
|
|
26594
|
+
logistics_tick_ping: {
|
|
26595
|
+
Args: never;
|
|
26596
|
+
Returns: string;
|
|
26597
|
+
};
|
|
26598
|
+
logistics_timezone_options: {
|
|
26599
|
+
Args: never;
|
|
26600
|
+
Returns: {
|
|
26601
|
+
name: string;
|
|
26602
|
+
}[];
|
|
26603
|
+
};
|
|
26604
|
+
logistics_trace: {
|
|
26605
|
+
Args: {
|
|
26606
|
+
p: import("./types").Json;
|
|
26607
|
+
};
|
|
26608
|
+
Returns: string;
|
|
26609
|
+
};
|
|
26610
|
+
logistics_trace_all_orders: {
|
|
26611
|
+
Args: {
|
|
26612
|
+
p_limit?: number;
|
|
26613
|
+
p_search?: string;
|
|
26614
|
+
};
|
|
26615
|
+
Returns: import("./types").Json;
|
|
26616
|
+
};
|
|
26617
|
+
logistics_trace_archive_order: {
|
|
26618
|
+
Args: {
|
|
26619
|
+
p_order_ref: string;
|
|
26620
|
+
p_reason: string;
|
|
26621
|
+
};
|
|
26622
|
+
Returns: number;
|
|
26623
|
+
};
|
|
26624
|
+
logistics_trace_batch: {
|
|
26625
|
+
Args: {
|
|
26626
|
+
p: import("./types").Json;
|
|
26627
|
+
};
|
|
26628
|
+
Returns: number;
|
|
26629
|
+
};
|
|
26630
|
+
logistics_trace_derive: {
|
|
26631
|
+
Args: {
|
|
26632
|
+
p: import("./types").Json;
|
|
26633
|
+
};
|
|
26634
|
+
Returns: number;
|
|
26635
|
+
};
|
|
26636
|
+
logistics_trace_node: {
|
|
26637
|
+
Args: {
|
|
26638
|
+
p_op?: string;
|
|
26639
|
+
p_status?: string;
|
|
26640
|
+
p_table: string;
|
|
26641
|
+
};
|
|
26642
|
+
Returns: string;
|
|
26643
|
+
};
|
|
26644
|
+
logistics_trace_order_journey_start: {
|
|
26645
|
+
Args: {
|
|
26646
|
+
p_order_id: string;
|
|
26647
|
+
p_reason?: string;
|
|
26648
|
+
};
|
|
26649
|
+
Returns: string;
|
|
26650
|
+
};
|
|
26651
|
+
logistics_trace_order_origin: {
|
|
26652
|
+
Args: {
|
|
26653
|
+
p_order_id: string;
|
|
26654
|
+
};
|
|
26655
|
+
Returns: undefined;
|
|
26656
|
+
};
|
|
26657
|
+
logistics_trace_order_overview: {
|
|
26658
|
+
Args: {
|
|
26659
|
+
p_error_class?: string;
|
|
26660
|
+
p_limit?: number;
|
|
26661
|
+
p_search?: string;
|
|
26662
|
+
p_since?: string;
|
|
26663
|
+
p_source?: string;
|
|
26664
|
+
p_state?: string;
|
|
26665
|
+
p_step?: string;
|
|
26666
|
+
};
|
|
26667
|
+
Returns: import("./types").Json;
|
|
26668
|
+
};
|
|
26669
|
+
logistics_trace_order_state: {
|
|
26670
|
+
Args: {
|
|
26671
|
+
p_order_ref: string;
|
|
26672
|
+
};
|
|
26673
|
+
Returns: import("./types").Json;
|
|
26674
|
+
};
|
|
26675
|
+
logistics_trace_order_step: {
|
|
26676
|
+
Args: {
|
|
26677
|
+
p_class?: string;
|
|
26678
|
+
p_decision?: string;
|
|
26679
|
+
p_error?: string;
|
|
26680
|
+
p_next_step?: string;
|
|
26681
|
+
p_node: string;
|
|
26682
|
+
p_order_id: string;
|
|
26683
|
+
p_reason?: string;
|
|
26684
|
+
p_status: string;
|
|
26685
|
+
p_step: string;
|
|
26686
|
+
};
|
|
26687
|
+
Returns: undefined;
|
|
26688
|
+
};
|
|
26689
|
+
logistics_trace_orders: {
|
|
26690
|
+
Args: {
|
|
26691
|
+
p_limit?: number;
|
|
26692
|
+
p_search?: string;
|
|
26693
|
+
p_since?: string;
|
|
26694
|
+
p_status?: string;
|
|
26695
|
+
};
|
|
26696
|
+
Returns: import("./types").Json;
|
|
26697
|
+
};
|
|
26698
|
+
logistics_trace_pick_state: {
|
|
24004
26699
|
Args: {
|
|
24005
|
-
|
|
26700
|
+
p_order_number: string;
|
|
24006
26701
|
};
|
|
24007
|
-
Returns:
|
|
26702
|
+
Returns: undefined;
|
|
24008
26703
|
};
|
|
24009
|
-
|
|
26704
|
+
logistics_trace_progress: {
|
|
24010
26705
|
Args: {
|
|
24011
|
-
|
|
26706
|
+
p_limit?: number;
|
|
24012
26707
|
};
|
|
24013
26708
|
Returns: import("./types").Json;
|
|
24014
26709
|
};
|
|
24015
|
-
|
|
24016
|
-
Args: never;
|
|
24017
|
-
Returns: number;
|
|
24018
|
-
};
|
|
24019
|
-
logistics_set_order_priority: {
|
|
26710
|
+
logistics_trace_progress_order: {
|
|
24020
26711
|
Args: {
|
|
24021
26712
|
p_order_ref: string;
|
|
24022
|
-
p_priority: number;
|
|
24023
|
-
p_user_id?: string;
|
|
24024
26713
|
};
|
|
24025
|
-
Returns:
|
|
26714
|
+
Returns: import("./types").Json;
|
|
24026
26715
|
};
|
|
24027
|
-
|
|
26716
|
+
logistics_trace_redact: {
|
|
24028
26717
|
Args: {
|
|
24029
|
-
|
|
24030
|
-
p_pick_day: string;
|
|
26718
|
+
p: import("./types").Json;
|
|
24031
26719
|
};
|
|
24032
26720
|
Returns: import("./types").Json;
|
|
24033
26721
|
};
|
|
24034
|
-
|
|
26722
|
+
logistics_trace_source_node: {
|
|
24035
26723
|
Args: {
|
|
24036
|
-
|
|
24037
|
-
p_ts: string;
|
|
26724
|
+
p_source: string;
|
|
24038
26725
|
};
|
|
24039
26726
|
Returns: string;
|
|
24040
26727
|
};
|
|
24041
|
-
|
|
26728
|
+
logistics_trace_step_once: {
|
|
24042
26729
|
Args: {
|
|
24043
|
-
|
|
24044
|
-
|
|
24045
|
-
|
|
26730
|
+
p_decision: string;
|
|
26731
|
+
p_next_step?: string;
|
|
26732
|
+
p_node: string;
|
|
26733
|
+
p_order_id: string;
|
|
26734
|
+
p_reason: string;
|
|
26735
|
+
p_status: string;
|
|
26736
|
+
p_step: string;
|
|
24046
26737
|
};
|
|
24047
|
-
Returns:
|
|
24048
|
-
};
|
|
24049
|
-
logistics_sticker_follows_slip: {
|
|
24050
|
-
Args: never;
|
|
24051
|
-
Returns: boolean;
|
|
26738
|
+
Returns: undefined;
|
|
24052
26739
|
};
|
|
24053
|
-
|
|
26740
|
+
logistics_trace_stock_check: {
|
|
24054
26741
|
Args: {
|
|
24055
|
-
|
|
24056
|
-
p_order_ref: string;
|
|
24057
|
-
p_run_id: string;
|
|
24058
|
-
p_user_id: string;
|
|
26742
|
+
p_order_id: string;
|
|
24059
26743
|
};
|
|
24060
|
-
Returns:
|
|
24061
|
-
};
|
|
24062
|
-
logistics_sync_pick_queue: {
|
|
24063
|
-
Args: never;
|
|
24064
|
-
Returns: import("./types").Json;
|
|
26744
|
+
Returns: undefined;
|
|
24065
26745
|
};
|
|
24066
|
-
|
|
26746
|
+
logistics_trace_timeline: {
|
|
24067
26747
|
Args: {
|
|
24068
|
-
|
|
26748
|
+
p_limit?: number;
|
|
26749
|
+
p_order_ref: string;
|
|
24069
26750
|
};
|
|
24070
|
-
Returns:
|
|
26751
|
+
Returns: import("./types").Json;
|
|
24071
26752
|
};
|
|
24072
|
-
|
|
26753
|
+
logistics_trace_version_events: {
|
|
24073
26754
|
Args: {
|
|
24074
|
-
|
|
26755
|
+
p_from?: string;
|
|
26756
|
+
p_limit?: number;
|
|
26757
|
+
p_order_ref: string;
|
|
26758
|
+
p_to?: string;
|
|
26759
|
+
p_version_id: string;
|
|
24075
26760
|
};
|
|
24076
|
-
Returns:
|
|
26761
|
+
Returns: import("./types").Json;
|
|
24077
26762
|
};
|
|
24078
|
-
|
|
26763
|
+
logistics_trace_versions: {
|
|
24079
26764
|
Args: {
|
|
24080
|
-
|
|
24081
|
-
p_settings: import("./types").Json;
|
|
26765
|
+
p_order_ref: string;
|
|
24082
26766
|
};
|
|
24083
|
-
Returns:
|
|
24084
|
-
};
|
|
24085
|
-
logistics_tick_ping: {
|
|
24086
|
-
Args: never;
|
|
24087
|
-
Returns: string;
|
|
26767
|
+
Returns: import("./types").Json;
|
|
24088
26768
|
};
|
|
24089
26769
|
logistics_upsert_task: {
|
|
24090
26770
|
Args: {
|
|
@@ -24105,6 +26785,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24105
26785
|
};
|
|
24106
26786
|
Returns: string;
|
|
24107
26787
|
};
|
|
26788
|
+
logistics_valid_timezone: {
|
|
26789
|
+
Args: {
|
|
26790
|
+
_tz: string;
|
|
26791
|
+
};
|
|
26792
|
+
Returns: boolean;
|
|
26793
|
+
};
|
|
26794
|
+
logistics_working_hours_status: {
|
|
26795
|
+
Args: never;
|
|
26796
|
+
Returns: import("./types").Json;
|
|
26797
|
+
};
|
|
24108
26798
|
logistics_write_buffer_layer_positions: {
|
|
24109
26799
|
Args: {
|
|
24110
26800
|
p_buffer_id: string;
|
|
@@ -24166,6 +26856,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24166
26856
|
permission: string;
|
|
24167
26857
|
}[];
|
|
24168
26858
|
};
|
|
26859
|
+
next_cart_day_seq: {
|
|
26860
|
+
Args: {
|
|
26861
|
+
p_date: string;
|
|
26862
|
+
};
|
|
26863
|
+
Returns: number;
|
|
26864
|
+
};
|
|
24169
26865
|
next_manufacture_partij: {
|
|
24170
26866
|
Args: {
|
|
24171
26867
|
_tenant_id: string;
|
|
@@ -24270,6 +26966,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24270
26966
|
online: boolean;
|
|
24271
26967
|
}[];
|
|
24272
26968
|
};
|
|
26969
|
+
pick_apply_buffer_events: {
|
|
26970
|
+
Args: never;
|
|
26971
|
+
Returns: import("./types").Json;
|
|
26972
|
+
};
|
|
24273
26973
|
pick_available_pick_days: {
|
|
24274
26974
|
Args: {
|
|
24275
26975
|
_max_days?: number;
|
|
@@ -25113,6 +27813,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25113
27813
|
};
|
|
25114
27814
|
Returns: undefined;
|
|
25115
27815
|
};
|
|
27816
|
+
prune_floriday_api_log: {
|
|
27817
|
+
Args: never;
|
|
27818
|
+
Returns: number;
|
|
27819
|
+
};
|
|
27820
|
+
quote_ack_work_order: {
|
|
27821
|
+
Args: {
|
|
27822
|
+
_queue_id: string;
|
|
27823
|
+
_werkbon_id: string;
|
|
27824
|
+
_werkbon_nummer?: string;
|
|
27825
|
+
};
|
|
27826
|
+
Returns: boolean;
|
|
27827
|
+
};
|
|
25116
27828
|
quote_create_from_source: {
|
|
25117
27829
|
Args: {
|
|
25118
27830
|
_payload?: import("./types").Json;
|
|
@@ -25121,6 +27833,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25121
27833
|
};
|
|
25122
27834
|
Returns: string;
|
|
25123
27835
|
};
|
|
27836
|
+
quote_fail_work_order: {
|
|
27837
|
+
Args: {
|
|
27838
|
+
_foutmelding: string;
|
|
27839
|
+
_queue_id: string;
|
|
27840
|
+
};
|
|
27841
|
+
Returns: boolean;
|
|
27842
|
+
};
|
|
25124
27843
|
quote_get_billable_lines: {
|
|
25125
27844
|
Args: {
|
|
25126
27845
|
_quotation_id: string;
|
|
@@ -25137,6 +27856,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25137
27856
|
Args: never;
|
|
25138
27857
|
Returns: import("./types").Json;
|
|
25139
27858
|
};
|
|
27859
|
+
quote_list_pending_work_orders: {
|
|
27860
|
+
Args: {
|
|
27861
|
+
_limit?: number;
|
|
27862
|
+
};
|
|
27863
|
+
Returns: import("./types").Json;
|
|
27864
|
+
};
|
|
25140
27865
|
quote_list_sources: {
|
|
25141
27866
|
Args: {
|
|
25142
27867
|
_limit?: number;
|
|
@@ -25144,6 +27869,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25144
27869
|
};
|
|
25145
27870
|
Returns: import("./types").Json;
|
|
25146
27871
|
};
|
|
27872
|
+
quote_queue_follow_up: {
|
|
27873
|
+
Args: {
|
|
27874
|
+
_offerte_id: string;
|
|
27875
|
+
};
|
|
27876
|
+
Returns: string;
|
|
27877
|
+
};
|
|
25147
27878
|
recompute_all_reserved_stock: {
|
|
25148
27879
|
Args: never;
|
|
25149
27880
|
Returns: undefined;
|
|
@@ -25546,6 +28277,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25546
28277
|
};
|
|
25547
28278
|
Returns: number;
|
|
25548
28279
|
};
|
|
28280
|
+
schedule_floriday_catalog_prices_sync: {
|
|
28281
|
+
Args: {
|
|
28282
|
+
p_apikey: string;
|
|
28283
|
+
p_url: string;
|
|
28284
|
+
};
|
|
28285
|
+
Returns: number;
|
|
28286
|
+
};
|
|
25549
28287
|
schedule_floriday_clock_presales_sync: {
|
|
25550
28288
|
Args: {
|
|
25551
28289
|
p_apikey: string;
|
|
@@ -25818,6 +28556,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25818
28556
|
p_end_time: string;
|
|
25819
28557
|
};
|
|
25820
28558
|
Returns: import("./types").Json;
|
|
28559
|
+
} | {
|
|
28560
|
+
Args: {
|
|
28561
|
+
p_end_lat?: number;
|
|
28562
|
+
p_end_lng?: number;
|
|
28563
|
+
p_log_id: string;
|
|
28564
|
+
};
|
|
28565
|
+
Returns: {
|
|
28566
|
+
auto_stop_reason: string | null;
|
|
28567
|
+
auto_stopped: boolean;
|
|
28568
|
+
created_at: string;
|
|
28569
|
+
current_latitude: number | null;
|
|
28570
|
+
current_longitude: number | null;
|
|
28571
|
+
current_position_updated_at: string | null;
|
|
28572
|
+
employee_id: string;
|
|
28573
|
+
end_latitude: number | null;
|
|
28574
|
+
end_longitude: number | null;
|
|
28575
|
+
end_time: string | null;
|
|
28576
|
+
eta_distance_km: number | null;
|
|
28577
|
+
eta_minutes: number | null;
|
|
28578
|
+
eta_updated_at: string | null;
|
|
28579
|
+
hour_category: string | null;
|
|
28580
|
+
id: string;
|
|
28581
|
+
last_reminder_at: string | null;
|
|
28582
|
+
notes: string | null;
|
|
28583
|
+
overtime_hours: number;
|
|
28584
|
+
overtime_type: string | null;
|
|
28585
|
+
regular_hours: number;
|
|
28586
|
+
reminder_count: number;
|
|
28587
|
+
requires_review: boolean;
|
|
28588
|
+
start_latitude: number | null;
|
|
28589
|
+
start_longitude: number | null;
|
|
28590
|
+
start_time: string;
|
|
28591
|
+
travel_cost: number | null;
|
|
28592
|
+
travel_distance_km: number | null;
|
|
28593
|
+
travel_duration_min: number | null;
|
|
28594
|
+
travel_time_minutes: number | null;
|
|
28595
|
+
type: string;
|
|
28596
|
+
updated_at: string;
|
|
28597
|
+
work_order_id: string | null;
|
|
28598
|
+
};
|
|
28599
|
+
SetofOptions: {
|
|
28600
|
+
from: "*";
|
|
28601
|
+
to: "time_logs";
|
|
28602
|
+
isOneToOne: true;
|
|
28603
|
+
isSetofReturn: false;
|
|
28604
|
+
};
|
|
25821
28605
|
};
|
|
25822
28606
|
swap_cart_layer_positions: {
|
|
25823
28607
|
Args: {
|
|
@@ -25846,6 +28630,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25846
28630
|
};
|
|
25847
28631
|
Returns: undefined;
|
|
25848
28632
|
};
|
|
28633
|
+
sync_floriday_prices_into_price_groups: {
|
|
28634
|
+
Args: never;
|
|
28635
|
+
Returns: number;
|
|
28636
|
+
};
|
|
25849
28637
|
sync_layer_stock: {
|
|
25850
28638
|
Args: {
|
|
25851
28639
|
p_product_id: string;
|
|
@@ -25970,14 +28758,99 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25970
28758
|
};
|
|
25971
28759
|
Returns: undefined;
|
|
25972
28760
|
};
|
|
28761
|
+
uren_employee_day_hours: {
|
|
28762
|
+
Args: {
|
|
28763
|
+
_day: string;
|
|
28764
|
+
_employee_id: string;
|
|
28765
|
+
};
|
|
28766
|
+
Returns: number;
|
|
28767
|
+
};
|
|
25973
28768
|
uren_is_beheerder: {
|
|
25974
28769
|
Args: never;
|
|
25975
28770
|
Returns: boolean;
|
|
25976
28771
|
};
|
|
28772
|
+
uren_list_medewerkers: {
|
|
28773
|
+
Args: never;
|
|
28774
|
+
Returns: {
|
|
28775
|
+
avatar_url: string;
|
|
28776
|
+
color: string;
|
|
28777
|
+
display_name: string;
|
|
28778
|
+
email: string;
|
|
28779
|
+
hours_fri: number;
|
|
28780
|
+
hours_mon: number;
|
|
28781
|
+
hours_thu: number;
|
|
28782
|
+
hours_tue: number;
|
|
28783
|
+
hours_wed: number;
|
|
28784
|
+
id: string;
|
|
28785
|
+
is_active: boolean;
|
|
28786
|
+
leave_balance_hours: number;
|
|
28787
|
+
persnr: string;
|
|
28788
|
+
phone: string;
|
|
28789
|
+
roles: string[];
|
|
28790
|
+
}[];
|
|
28791
|
+
};
|
|
25977
28792
|
uren_my_monteur_id: {
|
|
25978
28793
|
Args: never;
|
|
25979
28794
|
Returns: string;
|
|
25980
28795
|
};
|
|
28796
|
+
uren_planning_dagagenda: {
|
|
28797
|
+
Args: {
|
|
28798
|
+
_tot: string;
|
|
28799
|
+
_van: string;
|
|
28800
|
+
};
|
|
28801
|
+
Returns: {
|
|
28802
|
+
end_at: string;
|
|
28803
|
+
id: string;
|
|
28804
|
+
is_tweede_man: boolean;
|
|
28805
|
+
notes: string;
|
|
28806
|
+
start_at: string;
|
|
28807
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
28808
|
+
werkbon_id: string;
|
|
28809
|
+
}[];
|
|
28810
|
+
};
|
|
28811
|
+
uren_set_planning_item_status: {
|
|
28812
|
+
Args: {
|
|
28813
|
+
_id: string;
|
|
28814
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
28815
|
+
};
|
|
28816
|
+
Returns: undefined;
|
|
28817
|
+
};
|
|
28818
|
+
uren_set_planning_status: {
|
|
28819
|
+
Args: {
|
|
28820
|
+
p_status: Database["public"]["Enums"]["planning_item_status"];
|
|
28821
|
+
p_werkbon_id: string;
|
|
28822
|
+
};
|
|
28823
|
+
Returns: number;
|
|
28824
|
+
};
|
|
28825
|
+
uren_stop_time_log: {
|
|
28826
|
+
Args: {
|
|
28827
|
+
p_employee_id: string;
|
|
28828
|
+
p_end_lat?: number;
|
|
28829
|
+
p_end_lng?: number;
|
|
28830
|
+
p_end_time: string;
|
|
28831
|
+
};
|
|
28832
|
+
Returns: import("./types").Json;
|
|
28833
|
+
};
|
|
28834
|
+
uren_switch_time_log: {
|
|
28835
|
+
Args: {
|
|
28836
|
+
p_employee_id: string;
|
|
28837
|
+
p_start_lat?: number;
|
|
28838
|
+
p_start_lng?: number;
|
|
28839
|
+
p_type: string;
|
|
28840
|
+
p_work_order_id?: string;
|
|
28841
|
+
};
|
|
28842
|
+
Returns: import("./types").Json;
|
|
28843
|
+
};
|
|
28844
|
+
uren_sync_sick_time_off: {
|
|
28845
|
+
Args: {
|
|
28846
|
+
_period_id: string;
|
|
28847
|
+
};
|
|
28848
|
+
Returns: number;
|
|
28849
|
+
};
|
|
28850
|
+
voorraad_cleanup_old_rows: {
|
|
28851
|
+
Args: never;
|
|
28852
|
+
Returns: import("./types").Json;
|
|
28853
|
+
};
|
|
25981
28854
|
wake_print_queue: {
|
|
25982
28855
|
Args: {
|
|
25983
28856
|
_min_interval_ms?: number;
|
|
@@ -26016,6 +28889,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26016
28889
|
};
|
|
26017
28890
|
Returns: import("./types").Json;
|
|
26018
28891
|
};
|
|
28892
|
+
wo_list_offerte_requests: {
|
|
28893
|
+
Args: {
|
|
28894
|
+
_status?: string;
|
|
28895
|
+
};
|
|
28896
|
+
Returns: import("./types").Json;
|
|
28897
|
+
};
|
|
28898
|
+
wo_process_offerte_request: {
|
|
28899
|
+
Args: {
|
|
28900
|
+
_queue_id: string;
|
|
28901
|
+
};
|
|
28902
|
+
Returns: import("./types").Json;
|
|
28903
|
+
};
|
|
28904
|
+
wo_reject_offerte_request: {
|
|
28905
|
+
Args: {
|
|
28906
|
+
_queue_id: string;
|
|
28907
|
+
_reden?: string;
|
|
28908
|
+
};
|
|
28909
|
+
Returns: import("./types").Json;
|
|
28910
|
+
};
|
|
26019
28911
|
wo_set_status: {
|
|
26020
28912
|
Args: {
|
|
26021
28913
|
_reason?: string;
|