@flowselections/floriday-afhandeling-module 1.0.43 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (68) hide show
  1. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  2. package/dist-lib/components/afhandeling/ControlePage.js +92 -54
  3. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  4. package/dist-lib/components/afhandeling/WeekAgendaView.js +24 -1
  5. package/dist-lib/hooks/useCartIndex.d.ts.map +1 -1
  6. package/dist-lib/hooks/useCartIndex.js +16 -7
  7. package/dist-lib/hooks/useEngineBufferEvents.d.ts +12 -0
  8. package/dist-lib/hooks/useEngineBufferEvents.d.ts.map +1 -0
  9. package/dist-lib/hooks/useEngineBufferEvents.js +52 -0
  10. package/dist-lib/hooks/useEngineTasks.d.ts.map +1 -1
  11. package/dist-lib/hooks/useEngineTasks.js +8 -18
  12. package/dist-lib/hooks/useKnownOrders.d.ts +1 -0
  13. package/dist-lib/hooks/useKnownOrders.d.ts.map +1 -1
  14. package/dist-lib/hooks/useKnownOrders.js +28 -2
  15. package/dist-lib/hooks/useOrderPickDates.d.ts +1 -1
  16. package/dist-lib/hooks/useOrderPickDates.d.ts.map +1 -1
  17. package/dist-lib/hooks/useOrderPickDates.js +5 -3
  18. package/dist-lib/hooks/usePickAgenda.d.ts +4 -0
  19. package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
  20. package/dist-lib/hooks/usePickAgenda.js +23 -16
  21. package/dist-lib/hooks/usePickMode.d.ts +8 -2
  22. package/dist-lib/hooks/usePickMode.d.ts.map +1 -1
  23. package/dist-lib/hooks/usePickMode.js +17 -9
  24. package/dist-lib/index.d.ts +1 -2
  25. package/dist-lib/index.d.ts.map +1 -1
  26. package/dist-lib/index.js +1 -33
  27. package/dist-lib/integrations/supabase/auth-middleware.d.ts +3256 -191
  28. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  29. package/dist-lib/integrations/supabase/client.server.d.ts +3256 -191
  30. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  31. package/dist-lib/integrations/supabase/moduleClient.d.ts +3257 -190
  32. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  33. package/dist-lib/integrations/supabase/types.d.ts +3354 -261
  34. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  35. package/dist-lib/lib/afhandelingSettings.functions.d.ts +6144 -14
  36. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  37. package/dist-lib/lib/carriers.functions.d.ts +15375 -40
  38. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  39. package/dist-lib/lib/cartAssignments.functions.d.ts +15360 -35
  40. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/cartControl.functions.d.ts +33902 -104
  42. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  43. package/dist-lib/lib/cartControl.functions.js +389 -259
  44. package/dist-lib/lib/deliveryNote.functions.d.ts +3256 -191
  45. package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -1
  46. package/dist-lib/lib/engineLayouts.functions.d.ts +3256 -191
  47. package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -1
  48. package/dist-lib/lib/floriday.functions.d.ts +6146 -14
  49. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/floriday.functions.js +1 -0
  51. package/dist-lib/lib/orderFulfilment.functions.d.ts +3256 -191
  52. package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -1
  53. package/dist-lib/lib/pickDates.functions.d.ts +3260 -190
  54. package/dist-lib/lib/pickDates.functions.d.ts.map +1 -1
  55. package/dist-lib/lib/pickDates.functions.js +30 -3
  56. package/dist-lib/lib/pickMode.d.ts +20 -2
  57. package/dist-lib/lib/pickMode.d.ts.map +1 -1
  58. package/dist-lib/lib/pickMode.js +65 -16
  59. package/dist-lib/lib/realtimeBus.d.ts +20 -0
  60. package/dist-lib/lib/realtimeBus.d.ts.map +1 -0
  61. package/dist-lib/lib/realtimeBus.js +56 -0
  62. package/dist-lib/lib/serverFnError.d.ts +12 -0
  63. package/dist-lib/lib/serverFnError.d.ts.map +1 -1
  64. package/dist-lib/lib/serverFnError.js +48 -1
  65. package/dist-lib/moduleDefinition.d.ts +3 -0
  66. package/dist-lib/moduleDefinition.d.ts.map +1 -0
  67. package/dist-lib/moduleDefinition.js +36 -0
  68. package/package.json +2 -2
@@ -14,6 +14,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
14
14
  Row: {
15
15
  auto_print_delivery_note: boolean;
16
16
  auto_process_paused: boolean;
17
+ control_bulk_max_carts: number;
17
18
  created_at: string;
18
19
  extra_pick_days_with_stickers: number;
19
20
  id: string;
@@ -31,6 +32,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
31
32
  Insert: {
32
33
  auto_print_delivery_note?: boolean;
33
34
  auto_process_paused?: boolean;
35
+ control_bulk_max_carts?: number;
34
36
  created_at?: string;
35
37
  extra_pick_days_with_stickers?: number;
36
38
  id?: string;
@@ -48,6 +50,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
48
50
  Update: {
49
51
  auto_print_delivery_note?: boolean;
50
52
  auto_process_paused?: boolean;
53
+ control_bulk_max_carts?: number;
51
54
  created_at?: string;
52
55
  extra_pick_days_with_stickers?: number;
53
56
  id?: string;
@@ -1390,6 +1393,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1390
1393
  id: string;
1391
1394
  notes: string | null;
1392
1395
  performed_at: string;
1396
+ request_key: string | null;
1393
1397
  rescheduled_count: number;
1394
1398
  stock_consumed_at: string | null;
1395
1399
  total_carts: number;
@@ -1404,6 +1408,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1404
1408
  id?: string;
1405
1409
  notes?: string | null;
1406
1410
  performed_at?: string;
1411
+ request_key?: string | null;
1407
1412
  rescheduled_count?: number;
1408
1413
  stock_consumed_at?: string | null;
1409
1414
  total_carts?: number;
@@ -1418,6 +1423,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1418
1423
  id?: string;
1419
1424
  notes?: string | null;
1420
1425
  performed_at?: string;
1426
+ request_key?: string | null;
1421
1427
  rescheduled_count?: number;
1422
1428
  stock_consumed_at?: string | null;
1423
1429
  total_carts?: number;
@@ -1430,9 +1436,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1430
1436
  Row: {
1431
1437
  assigned_at: string;
1432
1438
  cart_index: number;
1433
- cart_number: string | null;
1439
+ cart_number: string;
1434
1440
  day_seq: number | null;
1435
1441
  delivered_at: string | null;
1442
+ engine_cart_label: string | null;
1436
1443
  id: string;
1437
1444
  order_id: string;
1438
1445
  order_source: string;
@@ -1442,9 +1449,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1442
1449
  Insert: {
1443
1450
  assigned_at?: string;
1444
1451
  cart_index: number;
1445
- cart_number?: string | null;
1452
+ cart_number: string;
1446
1453
  day_seq?: number | null;
1447
1454
  delivered_at?: string | null;
1455
+ engine_cart_label?: string | null;
1448
1456
  id?: string;
1449
1457
  order_id: string;
1450
1458
  order_source: string;
@@ -1454,9 +1462,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1454
1462
  Update: {
1455
1463
  assigned_at?: string;
1456
1464
  cart_index?: number;
1457
- cart_number?: string | null;
1465
+ cart_number?: string;
1458
1466
  day_seq?: number | null;
1459
1467
  delivered_at?: string | null;
1468
+ engine_cart_label?: string | null;
1460
1469
  id?: string;
1461
1470
  order_id?: string;
1462
1471
  order_source?: string;
@@ -1831,6 +1840,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
1831
1840
  };
1832
1841
  Relationships: [];
1833
1842
  };
1843
+ customer_assortment_items: {
1844
+ Row: {
1845
+ created_at: string;
1846
+ customer_key: string;
1847
+ id: string;
1848
+ in_assortment: boolean;
1849
+ manual_override: boolean;
1850
+ source: string;
1851
+ synced_at: string | null;
1852
+ trade_item_key: string;
1853
+ updated_at: string;
1854
+ };
1855
+ Insert: {
1856
+ created_at?: string;
1857
+ customer_key: string;
1858
+ id?: string;
1859
+ in_assortment?: boolean;
1860
+ manual_override?: boolean;
1861
+ source?: string;
1862
+ synced_at?: string | null;
1863
+ trade_item_key: string;
1864
+ updated_at?: string;
1865
+ };
1866
+ Update: {
1867
+ created_at?: string;
1868
+ customer_key?: string;
1869
+ id?: string;
1870
+ in_assortment?: boolean;
1871
+ manual_override?: boolean;
1872
+ source?: string;
1873
+ synced_at?: string | null;
1874
+ trade_item_key?: string;
1875
+ updated_at?: string;
1876
+ };
1877
+ Relationships: [];
1878
+ };
1834
1879
  customer_audit_log: {
1835
1880
  Row: {
1836
1881
  action: string;
@@ -2163,6 +2208,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2163
2208
  created_at: string;
2164
2209
  currency: string;
2165
2210
  distribute_over: string | null;
2211
+ external_id: string | null;
2212
+ external_synced_at: string | null;
2166
2213
  group_type: string;
2167
2214
  handling_fee: number | null;
2168
2215
  id: string;
@@ -2175,6 +2222,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2175
2222
  rounding: string;
2176
2223
  rounding_step: number;
2177
2224
  sort_order: number;
2225
+ source: string;
2178
2226
  unit: string;
2179
2227
  updated_at: string;
2180
2228
  };
@@ -2185,6 +2233,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2185
2233
  created_at?: string;
2186
2234
  currency?: string;
2187
2235
  distribute_over?: string | null;
2236
+ external_id?: string | null;
2237
+ external_synced_at?: string | null;
2188
2238
  group_type?: string;
2189
2239
  handling_fee?: number | null;
2190
2240
  id?: string;
@@ -2197,6 +2247,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2197
2247
  rounding?: string;
2198
2248
  rounding_step?: number;
2199
2249
  sort_order?: number;
2250
+ source?: string;
2200
2251
  unit?: string;
2201
2252
  updated_at?: string;
2202
2253
  };
@@ -2207,6 +2258,8 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2207
2258
  created_at?: string;
2208
2259
  currency?: string;
2209
2260
  distribute_over?: string | null;
2261
+ external_id?: string | null;
2262
+ external_synced_at?: string | null;
2210
2263
  group_type?: string;
2211
2264
  handling_fee?: number | null;
2212
2265
  id?: string;
@@ -2219,11 +2272,69 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2219
2272
  rounding?: string;
2220
2273
  rounding_step?: number;
2221
2274
  sort_order?: number;
2275
+ source?: string;
2222
2276
  unit?: string;
2223
2277
  updated_at?: string;
2224
2278
  };
2225
2279
  Relationships: [];
2226
2280
  };
2281
+ customer_product_stickers: {
2282
+ Row: {
2283
+ content_hash: string | null;
2284
+ created_at: string;
2285
+ customer_key: string;
2286
+ file_name: string;
2287
+ file_path: string;
2288
+ file_size: number | null;
2289
+ floriday_sticker_id: string | null;
2290
+ floriday_synced_at: string | null;
2291
+ height_mm: number | null;
2292
+ id: string;
2293
+ mime_type: string | null;
2294
+ source: string;
2295
+ trade_item_key: string;
2296
+ updated_at: string;
2297
+ uploaded_by: string | null;
2298
+ width_mm: number | null;
2299
+ };
2300
+ Insert: {
2301
+ content_hash?: string | null;
2302
+ created_at?: string;
2303
+ customer_key: string;
2304
+ file_name: string;
2305
+ file_path: string;
2306
+ file_size?: number | null;
2307
+ floriday_sticker_id?: string | null;
2308
+ floriday_synced_at?: string | null;
2309
+ height_mm?: number | null;
2310
+ id?: string;
2311
+ mime_type?: string | null;
2312
+ source?: string;
2313
+ trade_item_key: string;
2314
+ updated_at?: string;
2315
+ uploaded_by?: string | null;
2316
+ width_mm?: number | null;
2317
+ };
2318
+ Update: {
2319
+ content_hash?: string | null;
2320
+ created_at?: string;
2321
+ customer_key?: string;
2322
+ file_name?: string;
2323
+ file_path?: string;
2324
+ file_size?: number | null;
2325
+ floriday_sticker_id?: string | null;
2326
+ floriday_synced_at?: string | null;
2327
+ height_mm?: number | null;
2328
+ id?: string;
2329
+ mime_type?: string | null;
2330
+ source?: string;
2331
+ trade_item_key?: string;
2332
+ updated_at?: string;
2333
+ uploaded_by?: string | null;
2334
+ width_mm?: number | null;
2335
+ };
2336
+ Relationships: [];
2337
+ };
2227
2338
  customer_selected_assortment: {
2228
2339
  Row: {
2229
2340
  article_number: string | null;
@@ -2272,6 +2383,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
2272
2383
  referencedColumns: ["id"];
2273
2384
  }];
2274
2385
  };
2386
+ customer_sticker_settings: {
2387
+ Row: {
2388
+ created_at: string;
2389
+ customer_key: string;
2390
+ height_mm: number;
2391
+ updated_at: string;
2392
+ width_mm: number;
2393
+ };
2394
+ Insert: {
2395
+ created_at?: string;
2396
+ customer_key: string;
2397
+ height_mm?: number;
2398
+ updated_at?: string;
2399
+ width_mm?: number;
2400
+ };
2401
+ Update: {
2402
+ created_at?: string;
2403
+ customer_key?: string;
2404
+ height_mm?: number;
2405
+ updated_at?: string;
2406
+ width_mm?: number;
2407
+ };
2408
+ Relationships: [];
2409
+ };
2275
2410
  customer_trade_settings: {
2276
2411
  Row: {
2277
2412
  category: string;
@@ -3597,6 +3732,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
3597
3732
  };
3598
3733
  email_auth_outbox: {
3599
3734
  Row: {
3735
+ attachments: import("../integrations/supabase/types").Json;
3600
3736
  attempts: number;
3601
3737
  bcc_addresses: string[];
3602
3738
  cc_addresses: string[];
@@ -3619,6 +3755,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
3619
3755
  updated_at: string;
3620
3756
  };
3621
3757
  Insert: {
3758
+ attachments?: import("../integrations/supabase/types").Json;
3622
3759
  attempts?: number;
3623
3760
  bcc_addresses?: string[];
3624
3761
  cc_addresses?: string[];
@@ -3641,6 +3778,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
3641
3778
  updated_at?: string;
3642
3779
  };
3643
3780
  Update: {
3781
+ attachments?: import("../integrations/supabase/types").Json;
3644
3782
  attempts?: number;
3645
3783
  bcc_addresses?: string[];
3646
3784
  cc_addresses?: string[];
@@ -5602,6 +5740,102 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
5602
5740
  referencedColumns: ["id"];
5603
5741
  }];
5604
5742
  };
5743
+ floriday_api_log: {
5744
+ Row: {
5745
+ action: string | null;
5746
+ caller: string | null;
5747
+ connection_id: string | null;
5748
+ created_at: string;
5749
+ cursor_from: number | null;
5750
+ direction: string;
5751
+ duration_ms: number | null;
5752
+ environment: string | null;
5753
+ error: string | null;
5754
+ floriday_id: string | null;
5755
+ floriday_reference: string | null;
5756
+ http_status: number;
5757
+ id: string;
5758
+ item_count: number | null;
5759
+ kind: string | null;
5760
+ local_id: string | null;
5761
+ local_reference: string | null;
5762
+ method: string;
5763
+ module: string | null;
5764
+ ok: boolean;
5765
+ path: string;
5766
+ request: import("../integrations/supabase/types").Json | null;
5767
+ resource_type: string | null;
5768
+ response: import("../integrations/supabase/types").Json | null;
5769
+ write_log_id: string | null;
5770
+ };
5771
+ Insert: {
5772
+ action?: string | null;
5773
+ caller?: string | null;
5774
+ connection_id?: string | null;
5775
+ created_at?: string;
5776
+ cursor_from?: number | null;
5777
+ direction: string;
5778
+ duration_ms?: number | null;
5779
+ environment?: string | null;
5780
+ error?: string | null;
5781
+ floriday_id?: string | null;
5782
+ floriday_reference?: string | null;
5783
+ http_status?: number;
5784
+ id?: string;
5785
+ item_count?: number | null;
5786
+ kind?: string | null;
5787
+ local_id?: string | null;
5788
+ local_reference?: string | null;
5789
+ method: string;
5790
+ module?: string | null;
5791
+ ok?: boolean;
5792
+ path: string;
5793
+ request?: import("../integrations/supabase/types").Json | null;
5794
+ resource_type?: string | null;
5795
+ response?: import("../integrations/supabase/types").Json | null;
5796
+ write_log_id?: string | null;
5797
+ };
5798
+ Update: {
5799
+ action?: string | null;
5800
+ caller?: string | null;
5801
+ connection_id?: string | null;
5802
+ created_at?: string;
5803
+ cursor_from?: number | null;
5804
+ direction?: string;
5805
+ duration_ms?: number | null;
5806
+ environment?: string | null;
5807
+ error?: string | null;
5808
+ floriday_id?: string | null;
5809
+ floriday_reference?: string | null;
5810
+ http_status?: number;
5811
+ id?: string;
5812
+ item_count?: number | null;
5813
+ kind?: string | null;
5814
+ local_id?: string | null;
5815
+ local_reference?: string | null;
5816
+ method?: string;
5817
+ module?: string | null;
5818
+ ok?: boolean;
5819
+ path?: string;
5820
+ request?: import("../integrations/supabase/types").Json | null;
5821
+ resource_type?: string | null;
5822
+ response?: import("../integrations/supabase/types").Json | null;
5823
+ write_log_id?: string | null;
5824
+ };
5825
+ Relationships: [{
5826
+ foreignKeyName: "floriday_api_log_connection_id_fkey";
5827
+ columns: ["connection_id"];
5828
+ isOneToOne: false;
5829
+ referencedRelation: "floriday_connections";
5830
+ referencedColumns: ["id"];
5831
+ }, {
5832
+ foreignKeyName: "floriday_api_log_write_log_id_fkey";
5833
+ columns: ["write_log_id"];
5834
+ isOneToOne: false;
5835
+ referencedRelation: "floriday_write_log";
5836
+ referencedColumns: ["id"];
5837
+ }];
5838
+ };
5605
5839
  floriday_auction_letters_cache: {
5606
5840
  Row: {
5607
5841
  auction_letter_code: string;
@@ -5809,6 +6043,84 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
5809
6043
  referencedColumns: ["id"];
5810
6044
  }];
5811
6045
  };
6046
+ floriday_catalog_prices_cache: {
6047
+ Row: {
6048
+ connection_id: string;
6049
+ created_at: string;
6050
+ currency: string;
6051
+ id: string;
6052
+ is_deleted: boolean;
6053
+ price: number | null;
6054
+ price_group_id: string | null;
6055
+ price_group_name: string | null;
6056
+ price_type: string;
6057
+ raw: import("../integrations/supabase/types").Json | null;
6058
+ sales_unit: string | null;
6059
+ sequence_number: number;
6060
+ supplier_article_code: string | null;
6061
+ supply_line_id: string;
6062
+ synced_at: string;
6063
+ trade_item_id: string | null;
6064
+ updated_at: string;
6065
+ valid_from: string | null;
6066
+ valid_to: string | null;
6067
+ week: number | null;
6068
+ year: number | null;
6069
+ };
6070
+ Insert: {
6071
+ connection_id: string;
6072
+ created_at?: string;
6073
+ currency?: string;
6074
+ id?: string;
6075
+ is_deleted?: boolean;
6076
+ price?: number | null;
6077
+ price_group_id?: string | null;
6078
+ price_group_name?: string | null;
6079
+ price_type?: string;
6080
+ raw?: import("../integrations/supabase/types").Json | null;
6081
+ sales_unit?: string | null;
6082
+ sequence_number?: number;
6083
+ supplier_article_code?: string | null;
6084
+ supply_line_id: string;
6085
+ synced_at?: string;
6086
+ trade_item_id?: string | null;
6087
+ updated_at?: string;
6088
+ valid_from?: string | null;
6089
+ valid_to?: string | null;
6090
+ week?: number | null;
6091
+ year?: number | null;
6092
+ };
6093
+ Update: {
6094
+ connection_id?: string;
6095
+ created_at?: string;
6096
+ currency?: string;
6097
+ id?: string;
6098
+ is_deleted?: boolean;
6099
+ price?: number | null;
6100
+ price_group_id?: string | null;
6101
+ price_group_name?: string | null;
6102
+ price_type?: string;
6103
+ raw?: import("../integrations/supabase/types").Json | null;
6104
+ sales_unit?: string | null;
6105
+ sequence_number?: number;
6106
+ supplier_article_code?: string | null;
6107
+ supply_line_id?: string;
6108
+ synced_at?: string;
6109
+ trade_item_id?: string | null;
6110
+ updated_at?: string;
6111
+ valid_from?: string | null;
6112
+ valid_to?: string | null;
6113
+ week?: number | null;
6114
+ year?: number | null;
6115
+ };
6116
+ Relationships: [{
6117
+ foreignKeyName: "floriday_catalog_prices_cache_connection_id_fkey";
6118
+ columns: ["connection_id"];
6119
+ isOneToOne: false;
6120
+ referencedRelation: "floriday_connections";
6121
+ referencedColumns: ["id"];
6122
+ }];
6123
+ };
5812
6124
  floriday_clock_presales_cache: {
5813
6125
  Row: {
5814
6126
  buyer_organization_id: string | null;
@@ -6724,6 +7036,69 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
6724
7036
  referencedColumns: ["id"];
6725
7037
  }];
6726
7038
  };
7039
+ floriday_link_templates: {
7040
+ Row: {
7041
+ created_at: string;
7042
+ floriday_url_template: string | null;
7043
+ is_active: boolean;
7044
+ label: string;
7045
+ local_url_template: string | null;
7046
+ resource_type: string;
7047
+ updated_at: string;
7048
+ };
7049
+ Insert: {
7050
+ created_at?: string;
7051
+ floriday_url_template?: string | null;
7052
+ is_active?: boolean;
7053
+ label: string;
7054
+ local_url_template?: string | null;
7055
+ resource_type: string;
7056
+ updated_at?: string;
7057
+ };
7058
+ Update: {
7059
+ created_at?: string;
7060
+ floriday_url_template?: string | null;
7061
+ is_active?: boolean;
7062
+ label?: string;
7063
+ local_url_template?: string | null;
7064
+ resource_type?: string;
7065
+ updated_at?: string;
7066
+ };
7067
+ Relationships: [];
7068
+ };
7069
+ floriday_log_retention: {
7070
+ Row: {
7071
+ created_at: string;
7072
+ direction: string | null;
7073
+ id: string;
7074
+ keep_failed_days: number | null;
7075
+ keep_ok_days: number | null;
7076
+ note: string | null;
7077
+ resource_type: string | null;
7078
+ updated_at: string;
7079
+ };
7080
+ Insert: {
7081
+ created_at?: string;
7082
+ direction?: string | null;
7083
+ id?: string;
7084
+ keep_failed_days?: number | null;
7085
+ keep_ok_days?: number | null;
7086
+ note?: string | null;
7087
+ resource_type?: string | null;
7088
+ updated_at?: string;
7089
+ };
7090
+ Update: {
7091
+ created_at?: string;
7092
+ direction?: string | null;
7093
+ id?: string;
7094
+ keep_failed_days?: number | null;
7095
+ keep_ok_days?: number | null;
7096
+ note?: string | null;
7097
+ resource_type?: string | null;
7098
+ updated_at?: string;
7099
+ };
7100
+ Relationships: [];
7101
+ };
6727
7102
  floriday_logistic_labels_cache: {
6728
7103
  Row: {
6729
7104
  byte_size: number | null;
@@ -8440,8 +8815,48 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8440
8815
  };
8441
8816
  Relationships: [];
8442
8817
  };
8443
- itk_handover_github_scan: {
8818
+ itk_handover_afspraken: {
8444
8819
  Row: {
8820
+ afgesproken_door: string | null;
8821
+ afgesproken_op: string;
8822
+ besluit: string;
8823
+ created_at: string;
8824
+ item: string;
8825
+ modules: string[];
8826
+ sleutel: string;
8827
+ soort: string;
8828
+ updated_at: string;
8829
+ versie_vingerafdruk: string;
8830
+ };
8831
+ Insert: {
8832
+ afgesproken_door?: string | null;
8833
+ afgesproken_op?: string;
8834
+ besluit?: string;
8835
+ created_at?: string;
8836
+ item?: string;
8837
+ modules?: string[];
8838
+ sleutel: string;
8839
+ soort?: string;
8840
+ updated_at?: string;
8841
+ versie_vingerafdruk?: string;
8842
+ };
8843
+ Update: {
8844
+ afgesproken_door?: string | null;
8845
+ afgesproken_op?: string;
8846
+ besluit?: string;
8847
+ created_at?: string;
8848
+ item?: string;
8849
+ modules?: string[];
8850
+ sleutel?: string;
8851
+ soort?: string;
8852
+ updated_at?: string;
8853
+ versie_vingerafdruk?: string;
8854
+ };
8855
+ Relationships: [];
8856
+ };
8857
+ itk_handover_github_scan: {
8858
+ Row: {
8859
+ genegeerd_op: string | null;
8445
8860
  gescand_op: string;
8446
8861
  gevonden: boolean;
8447
8862
  melding: string | null;
@@ -8449,6 +8864,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8449
8864
  repo: string;
8450
8865
  };
8451
8866
  Insert: {
8867
+ genegeerd_op?: string | null;
8452
8868
  gescand_op?: string;
8453
8869
  gevonden?: boolean;
8454
8870
  melding?: string | null;
@@ -8456,6 +8872,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8456
8872
  repo: string;
8457
8873
  };
8458
8874
  Update: {
8875
+ genegeerd_op?: string | null;
8459
8876
  gescand_op?: string;
8460
8877
  gevonden?: boolean;
8461
8878
  melding?: string | null;
@@ -8464,13 +8881,45 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8464
8881
  };
8465
8882
  Relationships: [];
8466
8883
  };
8884
+ itk_handover_github_voortgang: {
8885
+ Row: {
8886
+ bijgewerkt_op: string;
8887
+ huidige_repo: string | null;
8888
+ id: boolean;
8889
+ klaar: number;
8890
+ loopt: boolean;
8891
+ totaal: number;
8892
+ };
8893
+ Insert: {
8894
+ bijgewerkt_op?: string;
8895
+ huidige_repo?: string | null;
8896
+ id?: boolean;
8897
+ klaar?: number;
8898
+ loopt?: boolean;
8899
+ totaal?: number;
8900
+ };
8901
+ Update: {
8902
+ bijgewerkt_op?: string;
8903
+ huidige_repo?: string | null;
8904
+ id?: boolean;
8905
+ klaar?: number;
8906
+ loopt?: boolean;
8907
+ totaal?: number;
8908
+ };
8909
+ Relationships: [];
8910
+ };
8467
8911
  itk_handover_module_meta: {
8468
8912
  Row: {
8469
8913
  check_aangevraagd_op: string | null;
8470
8914
  check_nodig: boolean;
8471
8915
  check_reden: string | null;
8472
8916
  created_at: string;
8917
+ md_bron: boolean;
8918
+ md_bron_op: string | null;
8919
+ md_bron_pad: string | null;
8473
8920
  module_id: string;
8921
+ nieuw_gezien: boolean;
8922
+ nieuw_gezien_op: string | null;
8474
8923
  project_url: string | null;
8475
8924
  publicatie_url: string | null;
8476
8925
  updated_at: string;
@@ -8480,7 +8929,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8480
8929
  check_nodig?: boolean;
8481
8930
  check_reden?: string | null;
8482
8931
  created_at?: string;
8932
+ md_bron?: boolean;
8933
+ md_bron_op?: string | null;
8934
+ md_bron_pad?: string | null;
8483
8935
  module_id: string;
8936
+ nieuw_gezien?: boolean;
8937
+ nieuw_gezien_op?: string | null;
8484
8938
  project_url?: string | null;
8485
8939
  publicatie_url?: string | null;
8486
8940
  updated_at?: string;
@@ -8490,13 +8944,45 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8490
8944
  check_nodig?: boolean;
8491
8945
  check_reden?: string | null;
8492
8946
  created_at?: string;
8947
+ md_bron?: boolean;
8948
+ md_bron_op?: string | null;
8949
+ md_bron_pad?: string | null;
8493
8950
  module_id?: string;
8951
+ nieuw_gezien?: boolean;
8952
+ nieuw_gezien_op?: string | null;
8494
8953
  project_url?: string | null;
8495
8954
  publicatie_url?: string | null;
8496
8955
  updated_at?: string;
8497
8956
  };
8498
8957
  Relationships: [];
8499
8958
  };
8959
+ itk_handover_module_naam: {
8960
+ Row: {
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
+ Insert: {
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
+ Update: {
8977
+ bron_repo?: string;
8978
+ created_at?: string;
8979
+ module_id?: string;
8980
+ standaardnaam?: string | null;
8981
+ updated_at?: string;
8982
+ weergavenaam?: string;
8983
+ };
8984
+ Relationships: [];
8985
+ };
8500
8986
  itk_handover_project_modules: {
8501
8987
  Row: {
8502
8988
  created_at: string;
@@ -8610,6 +9096,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8610
9096
  };
8611
9097
  itk_module_handovers: {
8612
9098
  Row: {
9099
+ bekende_risicos: string[];
8613
9100
  bevindingen: string | null;
8614
9101
  bezit_tabellen: string[];
8615
9102
  bron_commit: string | null;
@@ -8628,6 +9115,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8628
9115
  inhoud_md: string;
8629
9116
  is_actueel: boolean;
8630
9117
  is_gearchiveerd: boolean;
9118
+ laatst_bevestigd_op: string | null;
8631
9119
  laatst_gecontroleerd_op: string | null;
8632
9120
  module_id: string;
8633
9121
  module_titel: string;
@@ -8637,6 +9125,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8637
9125
  versie: number;
8638
9126
  };
8639
9127
  Insert: {
9128
+ bekende_risicos?: string[];
8640
9129
  bevindingen?: string | null;
8641
9130
  bezit_tabellen?: string[];
8642
9131
  bron_commit?: string | null;
@@ -8655,6 +9144,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8655
9144
  inhoud_md: string;
8656
9145
  is_actueel?: boolean;
8657
9146
  is_gearchiveerd?: boolean;
9147
+ laatst_bevestigd_op?: string | null;
8658
9148
  laatst_gecontroleerd_op?: string | null;
8659
9149
  module_id: string;
8660
9150
  module_titel: string;
@@ -8664,6 +9154,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8664
9154
  versie?: number;
8665
9155
  };
8666
9156
  Update: {
9157
+ bekende_risicos?: string[];
8667
9158
  bevindingen?: string | null;
8668
9159
  bezit_tabellen?: string[];
8669
9160
  bron_commit?: string | null;
@@ -8682,6 +9173,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8682
9173
  inhoud_md?: string;
8683
9174
  is_actueel?: boolean;
8684
9175
  is_gearchiveerd?: boolean;
9176
+ laatst_bevestigd_op?: string | null;
8685
9177
  laatst_gecontroleerd_op?: string | null;
8686
9178
  module_id?: string;
8687
9179
  module_titel?: string;
@@ -8890,6 +9382,54 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
8890
9382
  };
8891
9383
  Relationships: [];
8892
9384
  };
9385
+ itk_offerte_werkbon_queue: {
9386
+ Row: {
9387
+ bron_werkbon_id: string | null;
9388
+ created_at: string;
9389
+ foutmelding: string | null;
9390
+ id: string;
9391
+ offerte_id: string;
9392
+ payload: import("../integrations/supabase/types").Json;
9393
+ status: string;
9394
+ updated_at: string;
9395
+ verwerkt_op: string | null;
9396
+ werkbon_id: string | null;
9397
+ werkbon_nummer: string | null;
9398
+ };
9399
+ Insert: {
9400
+ bron_werkbon_id?: string | null;
9401
+ created_at?: string;
9402
+ foutmelding?: string | null;
9403
+ id?: string;
9404
+ offerte_id: string;
9405
+ payload?: import("../integrations/supabase/types").Json;
9406
+ status?: string;
9407
+ updated_at?: string;
9408
+ verwerkt_op?: string | null;
9409
+ werkbon_id?: string | null;
9410
+ werkbon_nummer?: string | null;
9411
+ };
9412
+ Update: {
9413
+ bron_werkbon_id?: string | null;
9414
+ created_at?: string;
9415
+ foutmelding?: string | null;
9416
+ id?: string;
9417
+ offerte_id?: string;
9418
+ payload?: import("../integrations/supabase/types").Json;
9419
+ status?: string;
9420
+ updated_at?: string;
9421
+ verwerkt_op?: string | null;
9422
+ werkbon_id?: string | null;
9423
+ werkbon_nummer?: string | null;
9424
+ };
9425
+ Relationships: [{
9426
+ foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
9427
+ columns: ["offerte_id"];
9428
+ isOneToOne: false;
9429
+ referencedRelation: "itk_offertes";
9430
+ referencedColumns: ["id"];
9431
+ }];
9432
+ };
8893
9433
  itk_offertes: {
8894
9434
  Row: {
8895
9435
  ai_generated: boolean;
@@ -9082,6 +9622,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
9082
9622
  referencedColumns: ["id"];
9083
9623
  }];
9084
9624
  };
9625
+ job_locks: {
9626
+ Row: {
9627
+ created_at: string;
9628
+ lock_key: string;
9629
+ locked_until: string;
9630
+ owner: string | null;
9631
+ updated_at: string;
9632
+ };
9633
+ Insert: {
9634
+ created_at?: string;
9635
+ lock_key: string;
9636
+ locked_until: string;
9637
+ owner?: string | null;
9638
+ updated_at?: string;
9639
+ };
9640
+ Update: {
9641
+ created_at?: string;
9642
+ lock_key?: string;
9643
+ locked_until?: string;
9644
+ owner?: string | null;
9645
+ updated_at?: string;
9646
+ };
9647
+ Relationships: [];
9648
+ };
9085
9649
  layout_logos: {
9086
9650
  Row: {
9087
9651
  bestand_url: string;
@@ -10051,6 +10615,36 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10051
10615
  };
10052
10616
  Relationships: [];
10053
10617
  };
10618
+ logistics_floriday_push_refusals: {
10619
+ Row: {
10620
+ action: string | null;
10621
+ created_at: string;
10622
+ id: string;
10623
+ order_ref: string;
10624
+ reason: string;
10625
+ source_module: string | null;
10626
+ source_shell: string | null;
10627
+ };
10628
+ Insert: {
10629
+ action?: string | null;
10630
+ created_at?: string;
10631
+ id?: string;
10632
+ order_ref: string;
10633
+ reason: string;
10634
+ source_module?: string | null;
10635
+ source_shell?: string | null;
10636
+ };
10637
+ Update: {
10638
+ action?: string | null;
10639
+ created_at?: string;
10640
+ id?: string;
10641
+ order_ref?: string;
10642
+ reason?: string;
10643
+ source_module?: string | null;
10644
+ source_shell?: string | null;
10645
+ };
10646
+ Relationships: [];
10647
+ };
10054
10648
  logistics_floriday_pushes: {
10055
10649
  Row: {
10056
10650
  attempts: number;
@@ -10126,6 +10720,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10126
10720
  };
10127
10721
  Relationships: [];
10128
10722
  };
10723
+ logistics_floriday_status_sends: {
10724
+ Row: {
10725
+ action: string;
10726
+ created_at: string;
10727
+ detail: string | null;
10728
+ http_status: number | null;
10729
+ id: string;
10730
+ ok: boolean;
10731
+ order_ref: string;
10732
+ source_module: string | null;
10733
+ source_shell: string | null;
10734
+ };
10735
+ Insert: {
10736
+ action: string;
10737
+ created_at?: string;
10738
+ detail?: string | null;
10739
+ http_status?: number | null;
10740
+ id?: string;
10741
+ ok?: boolean;
10742
+ order_ref: string;
10743
+ source_module?: string | null;
10744
+ source_shell?: string | null;
10745
+ };
10746
+ Update: {
10747
+ action?: string;
10748
+ created_at?: string;
10749
+ detail?: string | null;
10750
+ http_status?: number | null;
10751
+ id?: string;
10752
+ ok?: boolean;
10753
+ order_ref?: string;
10754
+ source_module?: string | null;
10755
+ source_shell?: string | null;
10756
+ };
10757
+ Relationships: [];
10758
+ };
10129
10759
  logistics_formulas: {
10130
10760
  Row: {
10131
10761
  created_at: string;
@@ -10198,6 +10828,144 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10198
10828
  };
10199
10829
  Relationships: [];
10200
10830
  };
10831
+ logistics_opening_exceptions: {
10832
+ Row: {
10833
+ closes: string | null;
10834
+ created_at: string;
10835
+ day: string;
10836
+ id: string;
10837
+ is_closed: boolean;
10838
+ note: string | null;
10839
+ opens: string | null;
10840
+ };
10841
+ Insert: {
10842
+ closes?: string | null;
10843
+ created_at?: string;
10844
+ day: string;
10845
+ id?: string;
10846
+ is_closed?: boolean;
10847
+ note?: string | null;
10848
+ opens?: string | null;
10849
+ };
10850
+ Update: {
10851
+ closes?: string | null;
10852
+ created_at?: string;
10853
+ day?: string;
10854
+ id?: string;
10855
+ is_closed?: boolean;
10856
+ note?: string | null;
10857
+ opens?: string | null;
10858
+ };
10859
+ Relationships: [];
10860
+ };
10861
+ logistics_opening_hours: {
10862
+ Row: {
10863
+ closes: string;
10864
+ created_at: string;
10865
+ id: string;
10866
+ is_active: boolean;
10867
+ note: string | null;
10868
+ opens: string;
10869
+ weekday: number;
10870
+ };
10871
+ Insert: {
10872
+ closes: string;
10873
+ created_at?: string;
10874
+ id?: string;
10875
+ is_active?: boolean;
10876
+ note?: string | null;
10877
+ opens: string;
10878
+ weekday: number;
10879
+ };
10880
+ Update: {
10881
+ closes?: string;
10882
+ created_at?: string;
10883
+ id?: string;
10884
+ is_active?: boolean;
10885
+ note?: string | null;
10886
+ opens?: string;
10887
+ weekday?: number;
10888
+ };
10889
+ Relationships: [];
10890
+ };
10891
+ logistics_order_merges: {
10892
+ Row: {
10893
+ group_key: string;
10894
+ id: string;
10895
+ items_moved: number;
10896
+ kept_order_id: string;
10897
+ kept_order_number: string | null;
10898
+ merged_at: string;
10899
+ merged_order_id: string;
10900
+ merged_order_number: string | null;
10901
+ sales_order_id: string | null;
10902
+ };
10903
+ Insert: {
10904
+ group_key: string;
10905
+ id?: string;
10906
+ items_moved?: number;
10907
+ kept_order_id: string;
10908
+ kept_order_number?: string | null;
10909
+ merged_at?: string;
10910
+ merged_order_id: string;
10911
+ merged_order_number?: string | null;
10912
+ sales_order_id?: string | null;
10913
+ };
10914
+ Update: {
10915
+ group_key?: string;
10916
+ id?: string;
10917
+ items_moved?: number;
10918
+ kept_order_id?: string;
10919
+ kept_order_number?: string | null;
10920
+ merged_at?: string;
10921
+ merged_order_id?: string;
10922
+ merged_order_number?: string | null;
10923
+ sales_order_id?: string | null;
10924
+ };
10925
+ Relationships: [];
10926
+ };
10927
+ logistics_pick_data_requests: {
10928
+ Row: {
10929
+ actions: import("../integrations/supabase/types").Json;
10930
+ created_at: string;
10931
+ event_id: string | null;
10932
+ finished_at: string | null;
10933
+ id: string;
10934
+ missing: import("../integrations/supabase/types").Json;
10935
+ order_ref: string;
10936
+ reason: string | null;
10937
+ result: import("../integrations/supabase/types").Json | null;
10938
+ status: string;
10939
+ unit_ref: string | null;
10940
+ };
10941
+ Insert: {
10942
+ actions?: import("../integrations/supabase/types").Json;
10943
+ created_at?: string;
10944
+ event_id?: string | null;
10945
+ finished_at?: string | null;
10946
+ id?: string;
10947
+ missing?: import("../integrations/supabase/types").Json;
10948
+ order_ref: string;
10949
+ reason?: string | null;
10950
+ result?: import("../integrations/supabase/types").Json | null;
10951
+ status?: string;
10952
+ unit_ref?: string | null;
10953
+ };
10954
+ Update: {
10955
+ actions?: import("../integrations/supabase/types").Json;
10956
+ created_at?: string;
10957
+ event_id?: string | null;
10958
+ finished_at?: string | null;
10959
+ id?: string;
10960
+ missing?: import("../integrations/supabase/types").Json;
10961
+ order_ref?: string;
10962
+ reason?: string | null;
10963
+ result?: import("../integrations/supabase/types").Json | null;
10964
+ status?: string;
10965
+ unit_ref?: string | null;
10966
+ };
10967
+ Relationships: [];
10968
+ };
10201
10969
  logistics_pickup_moments: {
10202
10970
  Row: {
10203
10971
  carrier_ref: string | null;
@@ -10234,17 +11002,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10234
11002
  };
10235
11003
  Relationships: [];
10236
11004
  };
10237
- logistics_plan_queue: {
11005
+ logistics_plan_locks: {
10238
11006
  Row: {
10239
- attempts: number;
10240
- claimed_at: string | null;
10241
- enqueued_at: string;
10242
- error: string | null;
10243
- id: string;
10244
- next_attempt_at: string;
10245
- order_id: string;
10246
- reason: string;
10247
- status: string;
11007
+ created_at: string;
11008
+ lock_key: string;
11009
+ locked_until: string;
11010
+ owner: string | null;
11011
+ updated_at: string;
11012
+ };
11013
+ Insert: {
11014
+ created_at?: string;
11015
+ lock_key: string;
11016
+ locked_until: string;
11017
+ owner?: string | null;
11018
+ updated_at?: string;
11019
+ };
11020
+ Update: {
11021
+ created_at?: string;
11022
+ lock_key?: string;
11023
+ locked_until?: string;
11024
+ owner?: string | null;
11025
+ updated_at?: string;
11026
+ };
11027
+ Relationships: [];
11028
+ };
11029
+ logistics_plan_queue: {
11030
+ Row: {
11031
+ attempts: number;
11032
+ claimed_at: string | null;
11033
+ enqueued_at: string;
11034
+ error: string | null;
11035
+ id: string;
11036
+ next_attempt_at: string;
11037
+ order_id: string;
11038
+ reason: string;
11039
+ reason_code: string | null;
11040
+ status: string;
10248
11041
  updated_at: string;
10249
11042
  };
10250
11043
  Insert: {
@@ -10256,6 +11049,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10256
11049
  next_attempt_at?: string;
10257
11050
  order_id: string;
10258
11051
  reason?: string;
11052
+ reason_code?: string | null;
10259
11053
  status?: string;
10260
11054
  updated_at?: string;
10261
11055
  };
@@ -10268,6 +11062,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10268
11062
  next_attempt_at?: string;
10269
11063
  order_id?: string;
10270
11064
  reason?: string;
11065
+ reason_code?: string | null;
10271
11066
  status?: string;
10272
11067
  updated_at?: string;
10273
11068
  };
@@ -10654,6 +11449,69 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10654
11449
  };
10655
11450
  Relationships: [];
10656
11451
  };
11452
+ logistics_slip_shipping_note: {
11453
+ Row: {
11454
+ attempts: number;
11455
+ batch_key: string | null;
11456
+ cart_id: string | null;
11457
+ created_at: string;
11458
+ error: string | null;
11459
+ error_code: string | null;
11460
+ fulfillment_order_id: string | null;
11461
+ id: string;
11462
+ locked_until: string | null;
11463
+ next_attempt_at: string | null;
11464
+ order_id: string | null;
11465
+ order_number: string | null;
11466
+ print_job_id: string | null;
11467
+ printer_id: string | null;
11468
+ retry_class: string | null;
11469
+ slip_job_id: string;
11470
+ status: string;
11471
+ updated_at: string;
11472
+ };
11473
+ Insert: {
11474
+ attempts?: number;
11475
+ batch_key?: string | null;
11476
+ cart_id?: string | null;
11477
+ created_at?: string;
11478
+ error?: string | null;
11479
+ error_code?: string | null;
11480
+ fulfillment_order_id?: string | null;
11481
+ id?: string;
11482
+ locked_until?: string | null;
11483
+ next_attempt_at?: string | null;
11484
+ order_id?: string | null;
11485
+ order_number?: string | null;
11486
+ print_job_id?: string | null;
11487
+ printer_id?: string | null;
11488
+ retry_class?: string | null;
11489
+ slip_job_id: string;
11490
+ status?: string;
11491
+ updated_at?: string;
11492
+ };
11493
+ Update: {
11494
+ attempts?: number;
11495
+ batch_key?: string | null;
11496
+ cart_id?: string | null;
11497
+ created_at?: string;
11498
+ error?: string | null;
11499
+ error_code?: string | null;
11500
+ fulfillment_order_id?: string | null;
11501
+ id?: string;
11502
+ locked_until?: string | null;
11503
+ next_attempt_at?: string | null;
11504
+ order_id?: string | null;
11505
+ order_number?: string | null;
11506
+ print_job_id?: string | null;
11507
+ printer_id?: string | null;
11508
+ retry_class?: string | null;
11509
+ slip_job_id?: string;
11510
+ status?: string;
11511
+ updated_at?: string;
11512
+ };
11513
+ Relationships: [];
11514
+ };
10657
11515
  logistics_staff_planning: {
10658
11516
  Row: {
10659
11517
  created_at: string;
@@ -10972,6 +11830,279 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
10972
11830
  referencedColumns: ["id"];
10973
11831
  }];
10974
11832
  };
11833
+ logistics_tick_heartbeat: {
11834
+ Row: {
11835
+ id: boolean;
11836
+ last_tick_at: string;
11837
+ };
11838
+ Insert: {
11839
+ id?: boolean;
11840
+ last_tick_at?: string;
11841
+ };
11842
+ Update: {
11843
+ id?: boolean;
11844
+ last_tick_at?: string;
11845
+ };
11846
+ Relationships: [];
11847
+ };
11848
+ logistics_time_settings: {
11849
+ Row: {
11850
+ id: boolean;
11851
+ timezone: string;
11852
+ updated_at: string;
11853
+ };
11854
+ Insert: {
11855
+ id?: boolean;
11856
+ timezone: string;
11857
+ updated_at?: string;
11858
+ };
11859
+ Update: {
11860
+ id?: boolean;
11861
+ timezone?: string;
11862
+ updated_at?: string;
11863
+ };
11864
+ Relationships: [];
11865
+ };
11866
+ logistics_trace_events: {
11867
+ Row: {
11868
+ actor: string | null;
11869
+ attempts: number;
11870
+ calc: import("../integrations/supabase/types").Json | null;
11871
+ cart_ref: string | null;
11872
+ created_at: string;
11873
+ db_action: string | null;
11874
+ db_new: import("../integrations/supabase/types").Json | null;
11875
+ db_old: import("../integrations/supabase/types").Json | null;
11876
+ db_record: string | null;
11877
+ db_table: string | null;
11878
+ decision: string | null;
11879
+ duration_ms: number | null;
11880
+ error: string | null;
11881
+ error_class: string | null;
11882
+ external_action: string | null;
11883
+ external_ref: string | null;
11884
+ external_response: import("../integrations/supabase/types").Json | null;
11885
+ external_status: string | null;
11886
+ external_system: string | null;
11887
+ id: string;
11888
+ input: import("../integrations/supabase/types").Json | null;
11889
+ next_attempt_at: string | null;
11890
+ next_step: string | null;
11891
+ node_id: string | null;
11892
+ order_ref: string | null;
11893
+ order_source: string | null;
11894
+ output: import("../integrations/supabase/types").Json | null;
11895
+ phase: string;
11896
+ reads: import("../integrations/supabase/types").Json | null;
11897
+ reason: string | null;
11898
+ rule: string | null;
11899
+ slip_ref: string | null;
11900
+ status: string;
11901
+ step: string;
11902
+ trace_id: string;
11903
+ values_used: import("../integrations/supabase/types").Json | null;
11904
+ };
11905
+ Insert: {
11906
+ actor?: string | null;
11907
+ attempts?: number;
11908
+ calc?: import("../integrations/supabase/types").Json | null;
11909
+ cart_ref?: string | null;
11910
+ created_at?: string;
11911
+ db_action?: string | null;
11912
+ db_new?: import("../integrations/supabase/types").Json | null;
11913
+ db_old?: import("../integrations/supabase/types").Json | null;
11914
+ db_record?: string | null;
11915
+ db_table?: string | null;
11916
+ decision?: string | null;
11917
+ duration_ms?: number | null;
11918
+ error?: string | null;
11919
+ error_class?: string | null;
11920
+ external_action?: string | null;
11921
+ external_ref?: string | null;
11922
+ external_response?: import("../integrations/supabase/types").Json | null;
11923
+ external_status?: string | null;
11924
+ external_system?: string | null;
11925
+ id?: string;
11926
+ input?: import("../integrations/supabase/types").Json | null;
11927
+ next_attempt_at?: string | null;
11928
+ next_step?: string | null;
11929
+ node_id?: string | null;
11930
+ order_ref?: string | null;
11931
+ order_source?: string | null;
11932
+ output?: import("../integrations/supabase/types").Json | null;
11933
+ phase: string;
11934
+ reads?: import("../integrations/supabase/types").Json | null;
11935
+ reason?: string | null;
11936
+ rule?: string | null;
11937
+ slip_ref?: string | null;
11938
+ status: string;
11939
+ step: string;
11940
+ trace_id?: string;
11941
+ values_used?: import("../integrations/supabase/types").Json | null;
11942
+ };
11943
+ Update: {
11944
+ actor?: string | null;
11945
+ attempts?: number;
11946
+ calc?: import("../integrations/supabase/types").Json | null;
11947
+ cart_ref?: string | null;
11948
+ created_at?: string;
11949
+ db_action?: string | null;
11950
+ db_new?: import("../integrations/supabase/types").Json | null;
11951
+ db_old?: import("../integrations/supabase/types").Json | null;
11952
+ db_record?: string | null;
11953
+ db_table?: string | null;
11954
+ decision?: string | null;
11955
+ duration_ms?: number | null;
11956
+ error?: string | null;
11957
+ error_class?: string | null;
11958
+ external_action?: string | null;
11959
+ external_ref?: string | null;
11960
+ external_response?: import("../integrations/supabase/types").Json | null;
11961
+ external_status?: string | null;
11962
+ external_system?: string | null;
11963
+ id?: string;
11964
+ input?: import("../integrations/supabase/types").Json | null;
11965
+ next_attempt_at?: string | null;
11966
+ next_step?: string | null;
11967
+ node_id?: string | null;
11968
+ order_ref?: string | null;
11969
+ order_source?: string | null;
11970
+ output?: import("../integrations/supabase/types").Json | null;
11971
+ phase?: string;
11972
+ reads?: import("../integrations/supabase/types").Json | null;
11973
+ reason?: string | null;
11974
+ rule?: string | null;
11975
+ slip_ref?: string | null;
11976
+ status?: string;
11977
+ step?: string;
11978
+ trace_id?: string;
11979
+ values_used?: import("../integrations/supabase/types").Json | null;
11980
+ };
11981
+ Relationships: [];
11982
+ };
11983
+ logistics_trace_events_archive: {
11984
+ Row: {
11985
+ actor: string | null;
11986
+ attempts: number;
11987
+ calc: import("../integrations/supabase/types").Json | null;
11988
+ cart_ref: string | null;
11989
+ created_at: string;
11990
+ db_action: string | null;
11991
+ db_new: import("../integrations/supabase/types").Json | null;
11992
+ db_old: import("../integrations/supabase/types").Json | null;
11993
+ db_record: string | null;
11994
+ db_table: string | null;
11995
+ decision: string | null;
11996
+ duration_ms: number | null;
11997
+ error: string | null;
11998
+ error_class: string | null;
11999
+ external_action: string | null;
12000
+ external_ref: string | null;
12001
+ external_response: import("../integrations/supabase/types").Json | null;
12002
+ external_status: string | null;
12003
+ external_system: string | null;
12004
+ id: string;
12005
+ input: import("../integrations/supabase/types").Json | null;
12006
+ next_attempt_at: string | null;
12007
+ next_step: string | null;
12008
+ node_id: string | null;
12009
+ order_ref: string | null;
12010
+ order_source: string | null;
12011
+ output: import("../integrations/supabase/types").Json | null;
12012
+ phase: string;
12013
+ reads: import("../integrations/supabase/types").Json | null;
12014
+ reason: string | null;
12015
+ rule: string | null;
12016
+ slip_ref: string | null;
12017
+ status: string;
12018
+ step: string;
12019
+ superseded_at: string;
12020
+ superseded_reason: string | null;
12021
+ trace_id: string;
12022
+ values_used: import("../integrations/supabase/types").Json | null;
12023
+ };
12024
+ Insert: {
12025
+ actor?: string | null;
12026
+ attempts?: number;
12027
+ calc?: import("../integrations/supabase/types").Json | null;
12028
+ cart_ref?: string | null;
12029
+ created_at?: string;
12030
+ db_action?: string | null;
12031
+ db_new?: import("../integrations/supabase/types").Json | null;
12032
+ db_old?: import("../integrations/supabase/types").Json | null;
12033
+ db_record?: string | null;
12034
+ db_table?: string | null;
12035
+ decision?: string | null;
12036
+ duration_ms?: number | null;
12037
+ error?: string | null;
12038
+ error_class?: string | null;
12039
+ external_action?: string | null;
12040
+ external_ref?: string | null;
12041
+ external_response?: import("../integrations/supabase/types").Json | null;
12042
+ external_status?: string | null;
12043
+ external_system?: string | null;
12044
+ id?: string;
12045
+ input?: import("../integrations/supabase/types").Json | null;
12046
+ next_attempt_at?: string | null;
12047
+ next_step?: string | null;
12048
+ node_id?: string | null;
12049
+ order_ref?: string | null;
12050
+ order_source?: string | null;
12051
+ output?: import("../integrations/supabase/types").Json | null;
12052
+ phase: string;
12053
+ reads?: import("../integrations/supabase/types").Json | null;
12054
+ reason?: string | null;
12055
+ rule?: string | null;
12056
+ slip_ref?: string | null;
12057
+ status: string;
12058
+ step: string;
12059
+ superseded_at?: string;
12060
+ superseded_reason?: string | null;
12061
+ trace_id?: string;
12062
+ values_used?: import("../integrations/supabase/types").Json | null;
12063
+ };
12064
+ Update: {
12065
+ actor?: string | null;
12066
+ attempts?: number;
12067
+ calc?: import("../integrations/supabase/types").Json | null;
12068
+ cart_ref?: string | null;
12069
+ created_at?: string;
12070
+ db_action?: string | null;
12071
+ db_new?: import("../integrations/supabase/types").Json | null;
12072
+ db_old?: import("../integrations/supabase/types").Json | null;
12073
+ db_record?: string | null;
12074
+ db_table?: string | null;
12075
+ decision?: string | null;
12076
+ duration_ms?: number | null;
12077
+ error?: string | null;
12078
+ error_class?: string | null;
12079
+ external_action?: string | null;
12080
+ external_ref?: string | null;
12081
+ external_response?: import("../integrations/supabase/types").Json | null;
12082
+ external_status?: string | null;
12083
+ external_system?: string | null;
12084
+ id?: string;
12085
+ input?: import("../integrations/supabase/types").Json | null;
12086
+ next_attempt_at?: string | null;
12087
+ next_step?: string | null;
12088
+ node_id?: string | null;
12089
+ order_ref?: string | null;
12090
+ order_source?: string | null;
12091
+ output?: import("../integrations/supabase/types").Json | null;
12092
+ phase?: string;
12093
+ reads?: import("../integrations/supabase/types").Json | null;
12094
+ reason?: string | null;
12095
+ rule?: string | null;
12096
+ slip_ref?: string | null;
12097
+ status?: string;
12098
+ step?: string;
12099
+ superseded_at?: string;
12100
+ superseded_reason?: string | null;
12101
+ trace_id?: string;
12102
+ values_used?: import("../integrations/supabase/types").Json | null;
12103
+ };
12104
+ Relationships: [];
12105
+ };
10975
12106
  logistics_variables: {
10976
12107
  Row: {
10977
12108
  created_at: string;
@@ -11119,6 +12250,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
11119
12250
  has_attachments: boolean;
11120
12251
  id: string;
11121
12252
  message_id: string | null;
12253
+ preview: string | null;
11122
12254
  profile_id: string | null;
11123
12255
  raw_size: number | null;
11124
12256
  received_at: string | null;
@@ -11142,6 +12274,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
11142
12274
  has_attachments?: boolean;
11143
12275
  id?: string;
11144
12276
  message_id?: string | null;
12277
+ preview?: string | null;
11145
12278
  profile_id?: string | null;
11146
12279
  raw_size?: number | null;
11147
12280
  received_at?: string | null;
@@ -11165,6 +12298,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
11165
12298
  has_attachments?: boolean;
11166
12299
  id?: string;
11167
12300
  message_id?: string | null;
12301
+ preview?: string | null;
11168
12302
  profile_id?: string | null;
11169
12303
  raw_size?: number | null;
11170
12304
  received_at?: string | null;
@@ -11196,6 +12330,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
11196
12330
  };
11197
12331
  mailbox_order_proposals: {
11198
12332
  Row: {
12333
+ ai_ok: boolean | null;
11199
12334
  ai_validation: import("../integrations/supabase/types").Json | null;
11200
12335
  confidence: number | null;
11201
12336
  created_at: string;
@@ -11213,6 +12348,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
11213
12348
  updated_at: string;
11214
12349
  };
11215
12350
  Insert: {
12351
+ ai_ok?: boolean | null;
11216
12352
  ai_validation?: import("../integrations/supabase/types").Json | null;
11217
12353
  confidence?: number | null;
11218
12354
  created_at?: string;
@@ -11230,6 +12366,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
11230
12366
  updated_at?: string;
11231
12367
  };
11232
12368
  Update: {
12369
+ ai_ok?: boolean | null;
11233
12370
  ai_validation?: import("../integrations/supabase/types").Json | null;
11234
12371
  confidence?: number | null;
11235
12372
  created_at?: string;
@@ -13362,6 +14499,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
13362
14499
  customer_name: string;
13363
14500
  deleted_at: string | null;
13364
14501
  delivery_date: string | null;
14502
+ floriday_order_group_key: string | null;
13365
14503
  floriday_sales_order_id: string | null;
13366
14504
  id: string;
13367
14505
  invoice_due_at: string | null;
@@ -13389,6 +14527,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
13389
14527
  customer_name?: string;
13390
14528
  deleted_at?: string | null;
13391
14529
  delivery_date?: string | null;
14530
+ floriday_order_group_key?: string | null;
13392
14531
  floriday_sales_order_id?: string | null;
13393
14532
  id?: string;
13394
14533
  invoice_due_at?: string | null;
@@ -13416,6 +14555,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
13416
14555
  customer_name?: string;
13417
14556
  deleted_at?: string | null;
13418
14557
  delivery_date?: string | null;
14558
+ floriday_order_group_key?: string | null;
13419
14559
  floriday_sales_order_id?: string | null;
13420
14560
  id?: string;
13421
14561
  invoice_due_at?: string | null;
@@ -13609,6 +14749,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
13609
14749
  };
13610
14750
  Relationships: [];
13611
14751
  };
14752
+ pick_buffer_event_cursor: {
14753
+ Row: {
14754
+ created_at: string;
14755
+ id: boolean;
14756
+ last_event_at: string;
14757
+ updated_at: string;
14758
+ };
14759
+ Insert: {
14760
+ created_at?: string;
14761
+ id?: boolean;
14762
+ last_event_at?: string;
14763
+ updated_at?: string;
14764
+ };
14765
+ Update: {
14766
+ created_at?: string;
14767
+ id?: boolean;
14768
+ last_event_at?: string;
14769
+ updated_at?: string;
14770
+ };
14771
+ Relationships: [];
14772
+ };
13612
14773
  pick_countries: {
13613
14774
  Row: {
13614
14775
  active: boolean;
@@ -14695,64 +15856,181 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
14695
15856
  referencedColumns: ["id"];
14696
15857
  }];
14697
15858
  };
14698
- print_agents: {
15859
+ price_list_rows: {
14699
15860
  Row: {
14700
- actief: boolean;
15861
+ action: string;
14701
15862
  created_at: string;
14702
- gemelde_printers: import("../integrations/supabase/types").Json;
14703
15863
  id: string;
14704
- laatst_gezien: string | null;
14705
- locatie: string;
14706
- naam: string;
14707
- pairing_code_hash: string | null;
14708
- pairing_expires_at: string | null;
14709
- pairing_used_at: string | null;
14710
- token_hash: string;
14711
- updated_at: string;
14712
- versie: string;
15864
+ message: string | null;
15865
+ parsed: import("../integrations/supabase/types").Json;
15866
+ price_list_id: string;
15867
+ raw: import("../integrations/supabase/types").Json;
15868
+ row_number: number;
15869
+ supplier_product_id: string | null;
14713
15870
  };
14714
15871
  Insert: {
14715
- actief?: boolean;
15872
+ action?: string;
14716
15873
  created_at?: string;
14717
- gemelde_printers?: import("../integrations/supabase/types").Json;
14718
15874
  id?: string;
14719
- laatst_gezien?: string | null;
14720
- locatie?: string;
14721
- naam: string;
14722
- pairing_code_hash?: string | null;
14723
- pairing_expires_at?: string | null;
14724
- pairing_used_at?: string | null;
14725
- token_hash: string;
14726
- updated_at?: string;
14727
- versie?: string;
15875
+ message?: string | null;
15876
+ parsed?: import("../integrations/supabase/types").Json;
15877
+ price_list_id: string;
15878
+ raw?: import("../integrations/supabase/types").Json;
15879
+ row_number: number;
15880
+ supplier_product_id?: string | null;
14728
15881
  };
14729
15882
  Update: {
14730
- actief?: boolean;
15883
+ action?: string;
14731
15884
  created_at?: string;
14732
- gemelde_printers?: import("../integrations/supabase/types").Json;
14733
15885
  id?: string;
14734
- laatst_gezien?: string | null;
14735
- locatie?: string;
14736
- naam?: string;
14737
- pairing_code_hash?: string | null;
14738
- pairing_expires_at?: string | null;
14739
- pairing_used_at?: string | null;
14740
- token_hash?: string;
14741
- updated_at?: string;
14742
- versie?: string;
15886
+ message?: string | null;
15887
+ parsed?: import("../integrations/supabase/types").Json;
15888
+ price_list_id?: string;
15889
+ raw?: import("../integrations/supabase/types").Json;
15890
+ row_number?: number;
15891
+ supplier_product_id?: string | null;
14743
15892
  };
14744
- Relationships: [];
15893
+ Relationships: [{
15894
+ foreignKeyName: "price_list_rows_price_list_id_fkey";
15895
+ columns: ["price_list_id"];
15896
+ isOneToOne: false;
15897
+ referencedRelation: "price_lists";
15898
+ referencedColumns: ["id"];
15899
+ }, {
15900
+ foreignKeyName: "price_list_rows_supplier_product_id_fkey";
15901
+ columns: ["supplier_product_id"];
15902
+ isOneToOne: false;
15903
+ referencedRelation: "supplier_products";
15904
+ referencedColumns: ["id"];
15905
+ }];
14745
15906
  };
14746
- print_dedupe_events: {
15907
+ price_lists: {
14747
15908
  Row: {
14748
- bestaande_job_id: string | null;
14749
15909
  created_at: string;
14750
- detail: string | null;
14751
- documentnaam: string | null;
14752
- documenttype: string | null;
15910
+ created_by: string | null;
15911
+ file_hash: string | null;
15912
+ file_name: string;
15913
+ file_path: string | null;
15914
+ headers: string[];
14753
15915
  id: string;
14754
- idempotentie_sleutel: string;
14755
- reden: string;
15916
+ preview: import("../integrations/supabase/types").Json;
15917
+ processed_at: string | null;
15918
+ reason: string | null;
15919
+ row_count: number;
15920
+ sheet_name: string | null;
15921
+ source: string;
15922
+ stats: import("../integrations/supabase/types").Json;
15923
+ status: string;
15924
+ supplier_guess: string | null;
15925
+ supplier_id: string | null;
15926
+ updated_at: string;
15927
+ };
15928
+ Insert: {
15929
+ created_at?: string;
15930
+ created_by?: string | null;
15931
+ file_hash?: string | null;
15932
+ file_name: string;
15933
+ file_path?: string | null;
15934
+ headers?: string[];
15935
+ id?: string;
15936
+ preview?: import("../integrations/supabase/types").Json;
15937
+ processed_at?: string | null;
15938
+ reason?: string | null;
15939
+ row_count?: number;
15940
+ sheet_name?: string | null;
15941
+ source?: string;
15942
+ stats?: import("../integrations/supabase/types").Json;
15943
+ status?: string;
15944
+ supplier_guess?: string | null;
15945
+ supplier_id?: string | null;
15946
+ updated_at?: string;
15947
+ };
15948
+ Update: {
15949
+ created_at?: string;
15950
+ created_by?: string | null;
15951
+ file_hash?: string | null;
15952
+ file_name?: string;
15953
+ file_path?: string | null;
15954
+ headers?: string[];
15955
+ id?: string;
15956
+ preview?: import("../integrations/supabase/types").Json;
15957
+ processed_at?: string | null;
15958
+ reason?: string | null;
15959
+ row_count?: number;
15960
+ sheet_name?: string | null;
15961
+ source?: string;
15962
+ stats?: import("../integrations/supabase/types").Json;
15963
+ status?: string;
15964
+ supplier_guess?: string | null;
15965
+ supplier_id?: string | null;
15966
+ updated_at?: string;
15967
+ };
15968
+ Relationships: [{
15969
+ foreignKeyName: "price_lists_supplier_id_fkey";
15970
+ columns: ["supplier_id"];
15971
+ isOneToOne: false;
15972
+ referencedRelation: "suppliers";
15973
+ referencedColumns: ["id"];
15974
+ }];
15975
+ };
15976
+ print_agents: {
15977
+ Row: {
15978
+ actief: boolean;
15979
+ created_at: string;
15980
+ gemelde_printers: import("../integrations/supabase/types").Json;
15981
+ id: string;
15982
+ laatst_gezien: string | null;
15983
+ locatie: string;
15984
+ naam: string;
15985
+ pairing_code_hash: string | null;
15986
+ pairing_expires_at: string | null;
15987
+ pairing_used_at: string | null;
15988
+ token_hash: string;
15989
+ updated_at: string;
15990
+ versie: string;
15991
+ };
15992
+ Insert: {
15993
+ actief?: boolean;
15994
+ created_at?: string;
15995
+ gemelde_printers?: import("../integrations/supabase/types").Json;
15996
+ id?: string;
15997
+ laatst_gezien?: string | null;
15998
+ locatie?: string;
15999
+ naam: string;
16000
+ pairing_code_hash?: string | null;
16001
+ pairing_expires_at?: string | null;
16002
+ pairing_used_at?: string | null;
16003
+ token_hash: string;
16004
+ updated_at?: string;
16005
+ versie?: string;
16006
+ };
16007
+ Update: {
16008
+ actief?: boolean;
16009
+ created_at?: string;
16010
+ gemelde_printers?: import("../integrations/supabase/types").Json;
16011
+ id?: string;
16012
+ laatst_gezien?: string | null;
16013
+ locatie?: string;
16014
+ naam?: string;
16015
+ pairing_code_hash?: string | null;
16016
+ pairing_expires_at?: string | null;
16017
+ pairing_used_at?: string | null;
16018
+ token_hash?: string;
16019
+ updated_at?: string;
16020
+ versie?: string;
16021
+ };
16022
+ Relationships: [];
16023
+ };
16024
+ print_dedupe_events: {
16025
+ Row: {
16026
+ bestaande_job_id: string | null;
16027
+ created_at: string;
16028
+ detail: string | null;
16029
+ documentnaam: string | null;
16030
+ documenttype: string | null;
16031
+ id: string;
16032
+ idempotentie_sleutel: string;
16033
+ reden: string;
14756
16034
  };
14757
16035
  Insert: {
14758
16036
  bestaande_job_id?: string | null;
@@ -16252,30 +17530,108 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
16252
17530
  referencedColumns: ["id"];
16253
17531
  }];
16254
17532
  };
17533
+ purchase_order_dispatches: {
17534
+ Row: {
17535
+ created_at: string;
17536
+ id: string;
17537
+ last_error: string | null;
17538
+ outbox_id: string | null;
17539
+ purchase_order_id: string;
17540
+ status: string;
17541
+ supplier_id: string | null;
17542
+ supplier_name: string;
17543
+ to_address: string;
17544
+ updated_at: string;
17545
+ };
17546
+ Insert: {
17547
+ created_at?: string;
17548
+ id?: string;
17549
+ last_error?: string | null;
17550
+ outbox_id?: string | null;
17551
+ purchase_order_id: string;
17552
+ status?: string;
17553
+ supplier_id?: string | null;
17554
+ supplier_name?: string;
17555
+ to_address: string;
17556
+ updated_at?: string;
17557
+ };
17558
+ Update: {
17559
+ created_at?: string;
17560
+ id?: string;
17561
+ last_error?: string | null;
17562
+ outbox_id?: string | null;
17563
+ purchase_order_id?: string;
17564
+ status?: string;
17565
+ supplier_id?: string | null;
17566
+ supplier_name?: string;
17567
+ to_address?: string;
17568
+ updated_at?: string;
17569
+ };
17570
+ Relationships: [{
17571
+ foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
17572
+ columns: ["purchase_order_id"];
17573
+ isOneToOne: false;
17574
+ referencedRelation: "purchase_orders";
17575
+ referencedColumns: ["id"];
17576
+ }, {
17577
+ foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
17578
+ columns: ["supplier_id"];
17579
+ isOneToOne: false;
17580
+ referencedRelation: "suppliers";
17581
+ referencedColumns: ["id"];
17582
+ }];
17583
+ };
16255
17584
  purchase_order_items: {
16256
17585
  Row: {
17586
+ article_number: string | null;
16257
17587
  created_at: string;
17588
+ delivery_date: string | null;
16258
17589
  id: string;
17590
+ name: string;
17591
+ note: string | null;
17592
+ pot_size: string | null;
16259
17593
  product_id: string | null;
16260
17594
  product_type: string;
16261
17595
  purchase_order_id: string;
16262
17596
  quantity: number;
17597
+ supplier_id: string | null;
17598
+ supplier_product_id: string | null;
17599
+ unit_price_cents: number;
17600
+ updated_at: string;
16263
17601
  };
16264
17602
  Insert: {
17603
+ article_number?: string | null;
16265
17604
  created_at?: string;
17605
+ delivery_date?: string | null;
16266
17606
  id?: string;
17607
+ name?: string;
17608
+ note?: string | null;
17609
+ pot_size?: string | null;
16267
17610
  product_id?: string | null;
16268
17611
  product_type?: string;
16269
17612
  purchase_order_id: string;
16270
17613
  quantity?: number;
17614
+ supplier_id?: string | null;
17615
+ supplier_product_id?: string | null;
17616
+ unit_price_cents?: number;
17617
+ updated_at?: string;
16271
17618
  };
16272
17619
  Update: {
17620
+ article_number?: string | null;
16273
17621
  created_at?: string;
17622
+ delivery_date?: string | null;
16274
17623
  id?: string;
17624
+ name?: string;
17625
+ note?: string | null;
17626
+ pot_size?: string | null;
16275
17627
  product_id?: string | null;
16276
17628
  product_type?: string;
16277
17629
  purchase_order_id?: string;
16278
17630
  quantity?: number;
17631
+ supplier_id?: string | null;
17632
+ supplier_product_id?: string | null;
17633
+ unit_price_cents?: number;
17634
+ updated_at?: string;
16279
17635
  };
16280
17636
  Relationships: [{
16281
17637
  foreignKeyName: "purchase_order_items_product_id_fkey";
@@ -16295,43 +17651,70 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
16295
17651
  isOneToOne: false;
16296
17652
  referencedRelation: "purchase_orders";
16297
17653
  referencedColumns: ["id"];
17654
+ }, {
17655
+ foreignKeyName: "purchase_order_items_supplier_id_fkey";
17656
+ columns: ["supplier_id"];
17657
+ isOneToOne: false;
17658
+ referencedRelation: "suppliers";
17659
+ referencedColumns: ["id"];
17660
+ }, {
17661
+ foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
17662
+ columns: ["supplier_product_id"];
17663
+ isOneToOne: false;
17664
+ referencedRelation: "supplier_products";
17665
+ referencedColumns: ["id"];
16298
17666
  }];
16299
17667
  };
16300
17668
  purchase_orders: {
16301
17669
  Row: {
17670
+ contact_person: string | null;
16302
17671
  created_at: string;
17672
+ created_by: string | null;
16303
17673
  expected_delivery_date: string;
16304
17674
  id: string;
16305
17675
  location_id: string | null;
16306
17676
  notes: string | null;
16307
17677
  order_number: string;
17678
+ reference: string | null;
17679
+ sent_at: string | null;
16308
17680
  status: string;
16309
17681
  supplier_id: string | null;
16310
17682
  supplier_name: string;
17683
+ total_cents: number;
16311
17684
  updated_at: string;
16312
17685
  };
16313
17686
  Insert: {
17687
+ contact_person?: string | null;
16314
17688
  created_at?: string;
16315
- expected_delivery_date: string;
17689
+ created_by?: string | null;
17690
+ expected_delivery_date?: string;
16316
17691
  id?: string;
16317
17692
  location_id?: string | null;
16318
17693
  notes?: string | null;
16319
- order_number: string;
17694
+ order_number?: string;
17695
+ reference?: string | null;
17696
+ sent_at?: string | null;
16320
17697
  status?: string;
16321
17698
  supplier_id?: string | null;
16322
17699
  supplier_name?: string;
17700
+ total_cents?: number;
16323
17701
  updated_at?: string;
16324
17702
  };
16325
17703
  Update: {
17704
+ contact_person?: string | null;
16326
17705
  created_at?: string;
17706
+ created_by?: string | null;
16327
17707
  expected_delivery_date?: string;
16328
17708
  id?: string;
16329
17709
  location_id?: string | null;
16330
17710
  notes?: string | null;
16331
17711
  order_number?: string;
17712
+ reference?: string | null;
17713
+ sent_at?: string | null;
16332
17714
  status?: string;
16333
17715
  supplier_id?: string | null;
16334
17716
  supplier_name?: string;
17717
+ total_cents?: number;
16335
17718
  updated_at?: string;
16336
17719
  };
16337
17720
  Relationships: [{
@@ -17218,101 +18601,293 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
17218
18601
  };
17219
18602
  Relationships: [];
17220
18603
  };
17221
- supplier_products: {
18604
+ supplier_contacts: {
17222
18605
  Row: {
17223
- article_number: string | null;
17224
18606
  created_at: string;
18607
+ email: string | null;
17225
18608
  id: string;
18609
+ is_primary: boolean;
17226
18610
  name: string;
17227
- notes: string | null;
17228
- pot_size: string | null;
17229
- price: number | null;
17230
- quantity: number | null;
18611
+ phone: string | null;
18612
+ role: string | null;
17231
18613
  supplier_id: string;
17232
- unit: string;
17233
18614
  updated_at: string;
17234
18615
  };
17235
18616
  Insert: {
17236
- article_number?: string | null;
17237
18617
  created_at?: string;
18618
+ email?: string | null;
17238
18619
  id?: string;
18620
+ is_primary?: boolean;
17239
18621
  name: string;
17240
- notes?: string | null;
17241
- pot_size?: string | null;
17242
- price?: number | null;
17243
- quantity?: number | null;
18622
+ phone?: string | null;
18623
+ role?: string | null;
17244
18624
  supplier_id: string;
17245
- unit?: string;
17246
18625
  updated_at?: string;
17247
18626
  };
17248
18627
  Update: {
17249
- article_number?: string | null;
17250
18628
  created_at?: string;
18629
+ email?: string | null;
17251
18630
  id?: string;
18631
+ is_primary?: boolean;
17252
18632
  name?: string;
17253
- notes?: string | null;
17254
- pot_size?: string | null;
17255
- price?: number | null;
17256
- quantity?: number | null;
18633
+ phone?: string | null;
18634
+ role?: string | null;
17257
18635
  supplier_id?: string;
17258
- unit?: string;
17259
18636
  updated_at?: string;
17260
18637
  };
17261
18638
  Relationships: [{
17262
- foreignKeyName: "supplier_products_supplier_id_fkey";
18639
+ foreignKeyName: "supplier_contacts_supplier_id_fkey";
17263
18640
  columns: ["supplier_id"];
17264
18641
  isOneToOne: false;
17265
18642
  referencedRelation: "suppliers";
17266
18643
  referencedColumns: ["id"];
17267
18644
  }];
17268
18645
  };
17269
- suppliers: {
18646
+ supplier_price_history: {
17270
18647
  Row: {
17271
- address: string | null;
17272
- column_mappings: import("../integrations/supabase/types").Json | null;
17273
- contact_person: string | null;
17274
18648
  created_at: string;
17275
- default_product_type: string;
17276
- email: string | null;
17277
18649
  id: string;
17278
- imported_file_name: string | null;
17279
- name: string;
17280
- notes: string | null;
17281
- phone: string | null;
17282
- updated_at: string;
18650
+ new_price_cents: number;
18651
+ old_price_cents: number | null;
18652
+ price_list_id: string | null;
18653
+ supplier_id: string | null;
18654
+ supplier_product_id: string;
17283
18655
  };
17284
18656
  Insert: {
17285
- address?: string | null;
17286
- column_mappings?: import("../integrations/supabase/types").Json | null;
17287
- contact_person?: string | null;
17288
18657
  created_at?: string;
17289
- default_product_type?: string;
17290
- email?: string | null;
17291
18658
  id?: string;
17292
- imported_file_name?: string | null;
17293
- name: string;
17294
- notes?: string | null;
17295
- phone?: string | null;
17296
- updated_at?: string;
18659
+ new_price_cents: number;
18660
+ old_price_cents?: number | null;
18661
+ price_list_id?: string | null;
18662
+ supplier_id?: string | null;
18663
+ supplier_product_id: string;
17297
18664
  };
17298
18665
  Update: {
17299
- address?: string | null;
17300
- column_mappings?: import("../integrations/supabase/types").Json | null;
17301
- contact_person?: string | null;
17302
18666
  created_at?: string;
17303
- default_product_type?: string;
17304
- email?: string | null;
17305
18667
  id?: string;
17306
- imported_file_name?: string | null;
17307
- name?: string;
17308
- notes?: string | null;
17309
- phone?: string | null;
17310
- updated_at?: string;
18668
+ new_price_cents?: number;
18669
+ old_price_cents?: number | null;
18670
+ price_list_id?: string | null;
18671
+ supplier_id?: string | null;
18672
+ supplier_product_id?: string;
17311
18673
  };
17312
- Relationships: [];
17313
- };
17314
- tba_article_cache: {
17315
- Row: {
18674
+ Relationships: [{
18675
+ foreignKeyName: "supplier_price_history_price_list_id_fkey";
18676
+ columns: ["price_list_id"];
18677
+ isOneToOne: false;
18678
+ referencedRelation: "price_lists";
18679
+ referencedColumns: ["id"];
18680
+ }, {
18681
+ foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
18682
+ columns: ["supplier_product_id"];
18683
+ isOneToOne: false;
18684
+ referencedRelation: "supplier_products";
18685
+ referencedColumns: ["id"];
18686
+ }];
18687
+ };
18688
+ supplier_price_list_mappings: {
18689
+ Row: {
18690
+ column_map: import("../integrations/supabase/types").Json;
18691
+ created_at: string;
18692
+ deactivate_missing: boolean;
18693
+ decimal_separator: string;
18694
+ expected_headers: string[];
18695
+ extract_pot_from_name: boolean;
18696
+ header_row: number;
18697
+ id: string;
18698
+ max_error_ratio: number;
18699
+ price_is_cents: boolean;
18700
+ sheet_name: string | null;
18701
+ supplier_id: string;
18702
+ updated_at: string;
18703
+ };
18704
+ Insert: {
18705
+ column_map?: import("../integrations/supabase/types").Json;
18706
+ created_at?: string;
18707
+ deactivate_missing?: boolean;
18708
+ decimal_separator?: string;
18709
+ expected_headers?: string[];
18710
+ extract_pot_from_name?: boolean;
18711
+ header_row?: number;
18712
+ id?: string;
18713
+ max_error_ratio?: number;
18714
+ price_is_cents?: boolean;
18715
+ sheet_name?: string | null;
18716
+ supplier_id: string;
18717
+ updated_at?: string;
18718
+ };
18719
+ Update: {
18720
+ column_map?: import("../integrations/supabase/types").Json;
18721
+ created_at?: string;
18722
+ deactivate_missing?: boolean;
18723
+ decimal_separator?: string;
18724
+ expected_headers?: string[];
18725
+ extract_pot_from_name?: boolean;
18726
+ header_row?: number;
18727
+ id?: string;
18728
+ max_error_ratio?: number;
18729
+ price_is_cents?: boolean;
18730
+ sheet_name?: string | null;
18731
+ supplier_id?: string;
18732
+ updated_at?: string;
18733
+ };
18734
+ Relationships: [{
18735
+ foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
18736
+ columns: ["supplier_id"];
18737
+ isOneToOne: true;
18738
+ referencedRelation: "suppliers";
18739
+ referencedColumns: ["id"];
18740
+ }];
18741
+ };
18742
+ supplier_products: {
18743
+ Row: {
18744
+ article_number: string | null;
18745
+ available_quantity: number;
18746
+ created_at: string;
18747
+ height: string | null;
18748
+ id: string;
18749
+ is_active: boolean;
18750
+ min_order: number;
18751
+ name: string;
18752
+ notes: string | null;
18753
+ order_unit: number;
18754
+ pot_size: string | null;
18755
+ price: number | null;
18756
+ price_cents: number;
18757
+ quality: string | null;
18758
+ quantity: number | null;
18759
+ supplier_id: string;
18760
+ unit: string;
18761
+ updated_at: string;
18762
+ };
18763
+ Insert: {
18764
+ article_number?: string | null;
18765
+ available_quantity?: number;
18766
+ created_at?: string;
18767
+ height?: string | null;
18768
+ id?: string;
18769
+ is_active?: boolean;
18770
+ min_order?: number;
18771
+ name: string;
18772
+ notes?: string | null;
18773
+ order_unit?: number;
18774
+ pot_size?: string | null;
18775
+ price?: number | null;
18776
+ price_cents?: number;
18777
+ quality?: string | null;
18778
+ quantity?: number | null;
18779
+ supplier_id: string;
18780
+ unit?: string;
18781
+ updated_at?: string;
18782
+ };
18783
+ Update: {
18784
+ article_number?: string | null;
18785
+ available_quantity?: number;
18786
+ created_at?: string;
18787
+ height?: string | null;
18788
+ id?: string;
18789
+ is_active?: boolean;
18790
+ min_order?: number;
18791
+ name?: string;
18792
+ notes?: string | null;
18793
+ order_unit?: number;
18794
+ pot_size?: string | null;
18795
+ price?: number | null;
18796
+ price_cents?: number;
18797
+ quality?: string | null;
18798
+ quantity?: number | null;
18799
+ supplier_id?: string;
18800
+ unit?: string;
18801
+ updated_at?: string;
18802
+ };
18803
+ Relationships: [{
18804
+ foreignKeyName: "supplier_products_supplier_id_fkey";
18805
+ columns: ["supplier_id"];
18806
+ isOneToOne: false;
18807
+ referencedRelation: "suppliers";
18808
+ referencedColumns: ["id"];
18809
+ }];
18810
+ };
18811
+ suppliers: {
18812
+ Row: {
18813
+ address: string | null;
18814
+ category: string | null;
18815
+ column_mappings: import("../integrations/supabase/types").Json | null;
18816
+ contact_person: string | null;
18817
+ created_at: string;
18818
+ default_product_type: string;
18819
+ email: string | null;
18820
+ id: string;
18821
+ imported_file_name: string | null;
18822
+ is_preferred: boolean;
18823
+ kvk_number: string | null;
18824
+ lead_time_days: number | null;
18825
+ min_order_amount_cents: number;
18826
+ name: string;
18827
+ notes: string | null;
18828
+ order_days: string[];
18829
+ order_email: string | null;
18830
+ payment_terms_days: number | null;
18831
+ phone: string | null;
18832
+ status: string;
18833
+ updated_at: string;
18834
+ vat_number: string | null;
18835
+ website: string | null;
18836
+ };
18837
+ Insert: {
18838
+ address?: string | null;
18839
+ category?: string | null;
18840
+ column_mappings?: import("../integrations/supabase/types").Json | null;
18841
+ contact_person?: string | null;
18842
+ created_at?: string;
18843
+ default_product_type?: string;
18844
+ email?: string | null;
18845
+ id?: string;
18846
+ imported_file_name?: string | null;
18847
+ is_preferred?: boolean;
18848
+ kvk_number?: string | null;
18849
+ lead_time_days?: number | null;
18850
+ min_order_amount_cents?: number;
18851
+ name: string;
18852
+ notes?: string | null;
18853
+ order_days?: string[];
18854
+ order_email?: string | null;
18855
+ payment_terms_days?: number | null;
18856
+ phone?: string | null;
18857
+ status?: string;
18858
+ updated_at?: string;
18859
+ vat_number?: string | null;
18860
+ website?: string | null;
18861
+ };
18862
+ Update: {
18863
+ address?: string | null;
18864
+ category?: string | null;
18865
+ column_mappings?: import("../integrations/supabase/types").Json | null;
18866
+ contact_person?: string | null;
18867
+ created_at?: string;
18868
+ default_product_type?: string;
18869
+ email?: string | null;
18870
+ id?: string;
18871
+ imported_file_name?: string | null;
18872
+ is_preferred?: boolean;
18873
+ kvk_number?: string | null;
18874
+ lead_time_days?: number | null;
18875
+ min_order_amount_cents?: number;
18876
+ name?: string;
18877
+ notes?: string | null;
18878
+ order_days?: string[];
18879
+ order_email?: string | null;
18880
+ payment_terms_days?: number | null;
18881
+ phone?: string | null;
18882
+ status?: string;
18883
+ updated_at?: string;
18884
+ vat_number?: string | null;
18885
+ website?: string | null;
18886
+ };
18887
+ Relationships: [];
18888
+ };
18889
+ tba_article_cache: {
18890
+ Row: {
17316
18891
  article_number: string;
17317
18892
  created_at: string;
17318
18893
  fetched_at: string;
@@ -18309,11 +19884,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
18309
19884
  auto_invoice_trigger_statuses: string[];
18310
19885
  created_at: string;
18311
19886
  debtor_gl_account: string;
19887
+ default_article_code: string | null;
18312
19888
  default_credit_invoice_type: string | null;
18313
19889
  default_gl_account: string;
18314
19890
  default_invoice_type: string;
18315
19891
  default_payment_term_days: number;
18316
19892
  default_vat_code: string;
19893
+ email_purpose: string | null;
18317
19894
  home_country_code: string;
18318
19895
  invoice_enabled_ao: boolean;
18319
19896
  invoice_enabled_fo: boolean;
@@ -18335,11 +19912,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
18335
19912
  auto_invoice_trigger_statuses?: string[];
18336
19913
  created_at?: string;
18337
19914
  debtor_gl_account?: string;
19915
+ default_article_code?: string | null;
18338
19916
  default_credit_invoice_type?: string | null;
18339
19917
  default_gl_account?: string;
18340
19918
  default_invoice_type?: string;
18341
19919
  default_payment_term_days?: number;
18342
19920
  default_vat_code?: string;
19921
+ email_purpose?: string | null;
18343
19922
  home_country_code?: string;
18344
19923
  invoice_enabled_ao?: boolean;
18345
19924
  invoice_enabled_fo?: boolean;
@@ -18361,11 +19940,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
18361
19940
  auto_invoice_trigger_statuses?: string[];
18362
19941
  created_at?: string;
18363
19942
  debtor_gl_account?: string;
19943
+ default_article_code?: string | null;
18364
19944
  default_credit_invoice_type?: string | null;
18365
19945
  default_gl_account?: string;
18366
19946
  default_invoice_type?: string;
18367
19947
  default_payment_term_days?: number;
18368
19948
  default_vat_code?: string;
19949
+ email_purpose?: string | null;
18369
19950
  home_country_code?: string;
18370
19951
  invoice_enabled_ao?: boolean;
18371
19952
  invoice_enabled_fo?: boolean;
@@ -19258,6 +20839,36 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
19258
20839
  referencedColumns: ["id"];
19259
20840
  }];
19260
20841
  };
20842
+ voorraad_buffer_state: {
20843
+ Row: {
20844
+ buffer_id: string;
20845
+ buffer_key: string | null;
20846
+ closed_at: string | null;
20847
+ created_at: string;
20848
+ detached_orders: import("../integrations/supabase/types").Json;
20849
+ reason: string | null;
20850
+ updated_at: string;
20851
+ };
20852
+ Insert: {
20853
+ buffer_id: string;
20854
+ buffer_key?: string | null;
20855
+ closed_at?: string | null;
20856
+ created_at?: string;
20857
+ detached_orders?: import("../integrations/supabase/types").Json;
20858
+ reason?: string | null;
20859
+ updated_at?: string;
20860
+ };
20861
+ Update: {
20862
+ buffer_id?: string;
20863
+ buffer_key?: string | null;
20864
+ closed_at?: string | null;
20865
+ created_at?: string;
20866
+ detached_orders?: import("../integrations/supabase/types").Json;
20867
+ reason?: string | null;
20868
+ updated_at?: string;
20869
+ };
20870
+ Relationships: [];
20871
+ };
19261
20872
  voorraad_custom_fields: {
19262
20873
  Row: {
19263
20874
  created_at: string;
@@ -19300,6 +20911,36 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
19300
20911
  };
19301
20912
  Relationships: [];
19302
20913
  };
20914
+ voorraad_logistics_event_log: {
20915
+ Row: {
20916
+ created_at: string;
20917
+ event_id: string;
20918
+ event_type: string;
20919
+ order_ref: string | null;
20920
+ processed_at: string;
20921
+ result: import("../integrations/supabase/types").Json;
20922
+ updated_at: string;
20923
+ };
20924
+ Insert: {
20925
+ created_at?: string;
20926
+ event_id: string;
20927
+ event_type: string;
20928
+ order_ref?: string | null;
20929
+ processed_at?: string;
20930
+ result?: import("../integrations/supabase/types").Json;
20931
+ updated_at?: string;
20932
+ };
20933
+ Update: {
20934
+ created_at?: string;
20935
+ event_id?: string;
20936
+ event_type?: string;
20937
+ order_ref?: string | null;
20938
+ processed_at?: string;
20939
+ result?: import("../integrations/supabase/types").Json;
20940
+ updated_at?: string;
20941
+ };
20942
+ Relationships: [];
20943
+ };
19303
20944
  voorraad_media_upload_failures: {
19304
20945
  Row: {
19305
20946
  action: string;
@@ -19567,6 +21208,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
19567
21208
  referencedColumns: ["id"];
19568
21209
  }];
19569
21210
  };
21211
+ werkbon_email_state: {
21212
+ Row: {
21213
+ created_at: string;
21214
+ event_id: string;
21215
+ id: string;
21216
+ is_archived: boolean;
21217
+ is_read: boolean;
21218
+ updated_at: string;
21219
+ werkbon_id: string | null;
21220
+ };
21221
+ Insert: {
21222
+ created_at?: string;
21223
+ event_id: string;
21224
+ id?: string;
21225
+ is_archived?: boolean;
21226
+ is_read?: boolean;
21227
+ updated_at?: string;
21228
+ werkbon_id?: string | null;
21229
+ };
21230
+ Update: {
21231
+ created_at?: string;
21232
+ event_id?: string;
21233
+ id?: string;
21234
+ is_archived?: boolean;
21235
+ is_read?: boolean;
21236
+ updated_at?: string;
21237
+ werkbon_id?: string | null;
21238
+ };
21239
+ Relationships: [{
21240
+ foreignKeyName: "werkbon_email_state_event_id_fkey";
21241
+ columns: ["event_id"];
21242
+ isOneToOne: true;
21243
+ referencedRelation: "email_auth_events";
21244
+ referencedColumns: ["id"];
21245
+ }];
21246
+ };
19570
21247
  werkbon_export_runs: {
19571
21248
  Row: {
19572
21249
  created_at: string;
@@ -19720,38 +21397,179 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
19720
21397
  };
19721
21398
  Relationships: [];
19722
21399
  };
19723
- werkbon_materials: {
21400
+ werkbon_mail_ai_settings: {
19724
21401
  Row: {
19725
- article_number: string | null;
19726
21402
  created_at: string;
19727
- created_by: string | null;
19728
- description: string;
19729
- id: string;
19730
- quantity: number;
19731
- source: string;
19732
- unit: string;
19733
- unit_price_cents: number;
21403
+ id: boolean;
21404
+ required_fields: string[];
21405
+ system_prompt: string;
19734
21406
  updated_at: string;
19735
- werkbon_id: string;
21407
+ updated_by: string | null;
19736
21408
  };
19737
21409
  Insert: {
19738
- article_number?: string | null;
19739
21410
  created_at?: string;
19740
- created_by?: string | null;
19741
- description: string;
19742
- id?: string;
19743
- quantity?: number;
19744
- source?: string;
19745
- unit?: string;
19746
- unit_price_cents?: number;
21411
+ id?: boolean;
21412
+ required_fields?: string[];
21413
+ system_prompt?: string;
19747
21414
  updated_at?: string;
19748
- werkbon_id: string;
21415
+ updated_by?: string | null;
19749
21416
  };
19750
21417
  Update: {
19751
- article_number?: string | null;
19752
21418
  created_at?: string;
19753
- created_by?: string | null;
19754
- description?: string;
21419
+ id?: boolean;
21420
+ required_fields?: string[];
21421
+ system_prompt?: string;
21422
+ updated_at?: string;
21423
+ updated_by?: string | null;
21424
+ };
21425
+ Relationships: [];
21426
+ };
21427
+ werkbon_mail_bodies: {
21428
+ Row: {
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
+ Insert: {
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
+ Update: {
21445
+ created_at?: string;
21446
+ event_id?: string;
21447
+ fetch_error?: string | null;
21448
+ fetched_at?: string | null;
21449
+ html?: string | null;
21450
+ updated_at?: string;
21451
+ };
21452
+ Relationships: [];
21453
+ };
21454
+ werkbon_mail_inline_assets: {
21455
+ Row: {
21456
+ content_id: string | null;
21457
+ created_at: string;
21458
+ event_id: string;
21459
+ filename: string | null;
21460
+ id: string;
21461
+ is_inline: boolean;
21462
+ mime_type: string | null;
21463
+ size_bytes: number | null;
21464
+ storage_path: string;
21465
+ };
21466
+ Insert: {
21467
+ content_id?: string | null;
21468
+ created_at?: string;
21469
+ event_id: string;
21470
+ filename?: string | null;
21471
+ id?: string;
21472
+ is_inline?: boolean;
21473
+ mime_type?: string | null;
21474
+ size_bytes?: number | null;
21475
+ storage_path: string;
21476
+ };
21477
+ Update: {
21478
+ content_id?: string | null;
21479
+ created_at?: string;
21480
+ event_id?: string;
21481
+ filename?: string | null;
21482
+ id?: string;
21483
+ is_inline?: boolean;
21484
+ mime_type?: string | null;
21485
+ size_bytes?: number | null;
21486
+ storage_path?: string;
21487
+ };
21488
+ Relationships: [];
21489
+ };
21490
+ werkbon_mail_settings: {
21491
+ Row: {
21492
+ connection_id: string | null;
21493
+ connection_ids: string[];
21494
+ created_at: string;
21495
+ id: boolean;
21496
+ purposes: string[];
21497
+ source: string;
21498
+ updated_at: string;
21499
+ };
21500
+ Insert: {
21501
+ connection_id?: string | null;
21502
+ connection_ids?: string[];
21503
+ created_at?: string;
21504
+ id?: boolean;
21505
+ purposes?: string[];
21506
+ source?: string;
21507
+ updated_at?: string;
21508
+ };
21509
+ Update: {
21510
+ connection_id?: string | null;
21511
+ connection_ids?: string[];
21512
+ created_at?: string;
21513
+ id?: boolean;
21514
+ purposes?: string[];
21515
+ source?: string;
21516
+ updated_at?: string;
21517
+ };
21518
+ Relationships: [];
21519
+ };
21520
+ werkbon_mail_user_settings: {
21521
+ Row: {
21522
+ created_at: string;
21523
+ email_purpose: string | null;
21524
+ updated_at: string;
21525
+ user_id: string;
21526
+ };
21527
+ Insert: {
21528
+ created_at?: string;
21529
+ email_purpose?: string | null;
21530
+ updated_at?: string;
21531
+ user_id: string;
21532
+ };
21533
+ Update: {
21534
+ created_at?: string;
21535
+ email_purpose?: string | null;
21536
+ updated_at?: string;
21537
+ user_id?: string;
21538
+ };
21539
+ Relationships: [];
21540
+ };
21541
+ werkbon_materials: {
21542
+ Row: {
21543
+ article_number: string | null;
21544
+ created_at: string;
21545
+ created_by: string | null;
21546
+ description: string;
21547
+ id: string;
21548
+ quantity: number;
21549
+ source: string;
21550
+ unit: string;
21551
+ unit_price_cents: number;
21552
+ updated_at: string;
21553
+ werkbon_id: string;
21554
+ };
21555
+ Insert: {
21556
+ article_number?: string | null;
21557
+ created_at?: string;
21558
+ created_by?: string | null;
21559
+ description: string;
21560
+ id?: string;
21561
+ quantity?: number;
21562
+ source?: string;
21563
+ unit?: string;
21564
+ unit_price_cents?: number;
21565
+ updated_at?: string;
21566
+ werkbon_id: string;
21567
+ };
21568
+ Update: {
21569
+ article_number?: string | null;
21570
+ created_at?: string;
21571
+ created_by?: string | null;
21572
+ description?: string;
19755
21573
  id?: string;
19756
21574
  quantity?: number;
19757
21575
  source?: string;
@@ -20059,6 +21877,156 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20059
21877
  referencedColumns: ["id"];
20060
21878
  }];
20061
21879
  };
21880
+ werkbon_proposal_lines: {
21881
+ Row: {
21882
+ article_number: string | null;
21883
+ created_at: string;
21884
+ description: string | null;
21885
+ id: string;
21886
+ line_type: string;
21887
+ note: string | null;
21888
+ package_id: string | null;
21889
+ proposal_id: string;
21890
+ quantity: number | null;
21891
+ sort_order: number;
21892
+ unit: string | null;
21893
+ updated_at: string;
21894
+ };
21895
+ Insert: {
21896
+ article_number?: string | null;
21897
+ created_at?: string;
21898
+ description?: string | null;
21899
+ id?: string;
21900
+ line_type?: string;
21901
+ note?: string | null;
21902
+ package_id?: string | null;
21903
+ proposal_id: string;
21904
+ quantity?: number | null;
21905
+ sort_order?: number;
21906
+ unit?: string | null;
21907
+ updated_at?: string;
21908
+ };
21909
+ Update: {
21910
+ article_number?: string | null;
21911
+ created_at?: string;
21912
+ description?: string | null;
21913
+ id?: string;
21914
+ line_type?: string;
21915
+ note?: string | null;
21916
+ package_id?: string | null;
21917
+ proposal_id?: string;
21918
+ quantity?: number | null;
21919
+ sort_order?: number;
21920
+ unit?: string | null;
21921
+ updated_at?: string;
21922
+ };
21923
+ Relationships: [{
21924
+ foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
21925
+ columns: ["proposal_id"];
21926
+ isOneToOne: false;
21927
+ referencedRelation: "werkbon_proposals";
21928
+ referencedColumns: ["id"];
21929
+ }];
21930
+ };
21931
+ werkbon_proposals: {
21932
+ Row: {
21933
+ analysed: boolean;
21934
+ budget_mandate_cents: number;
21935
+ complaint_description: string | null;
21936
+ contact_id: string | null;
21937
+ created_at: string;
21938
+ created_werkbon_id: string | null;
21939
+ customer_id: string | null;
21940
+ deadline_date: string | null;
21941
+ estimated_days: number | null;
21942
+ estimated_duration_minutes: number | null;
21943
+ event_id: string;
21944
+ external_id: string | null;
21945
+ externe_referentie: string | null;
21946
+ from_email: string | null;
21947
+ from_name: string | null;
21948
+ id: string;
21949
+ internal_notes: string | null;
21950
+ parsed_payload: import("../integrations/supabase/types").Json;
21951
+ received_at: string | null;
21952
+ reviewed_at: string | null;
21953
+ reviewed_by: string | null;
21954
+ room_number: string | null;
21955
+ scheduled_end_time: string | null;
21956
+ scheduled_start_time: string | null;
21957
+ status: string;
21958
+ subject: string | null;
21959
+ technician_id: string | null;
21960
+ technician_task_description: string | null;
21961
+ updated_at: string;
21962
+ work_address: string | null;
21963
+ };
21964
+ Insert: {
21965
+ analysed?: boolean;
21966
+ budget_mandate_cents?: number;
21967
+ complaint_description?: string | null;
21968
+ contact_id?: string | null;
21969
+ created_at?: string;
21970
+ created_werkbon_id?: string | null;
21971
+ customer_id?: string | null;
21972
+ deadline_date?: string | null;
21973
+ estimated_days?: number | null;
21974
+ estimated_duration_minutes?: number | null;
21975
+ event_id: string;
21976
+ external_id?: string | null;
21977
+ externe_referentie?: string | null;
21978
+ from_email?: string | null;
21979
+ from_name?: string | null;
21980
+ id?: string;
21981
+ internal_notes?: string | null;
21982
+ parsed_payload?: import("../integrations/supabase/types").Json;
21983
+ received_at?: string | null;
21984
+ reviewed_at?: string | null;
21985
+ reviewed_by?: string | null;
21986
+ room_number?: string | null;
21987
+ scheduled_end_time?: string | null;
21988
+ scheduled_start_time?: string | null;
21989
+ status?: string;
21990
+ subject?: string | null;
21991
+ technician_id?: string | null;
21992
+ technician_task_description?: string | null;
21993
+ updated_at?: string;
21994
+ work_address?: string | null;
21995
+ };
21996
+ Update: {
21997
+ analysed?: boolean;
21998
+ budget_mandate_cents?: number;
21999
+ complaint_description?: string | null;
22000
+ contact_id?: string | null;
22001
+ created_at?: string;
22002
+ created_werkbon_id?: string | null;
22003
+ customer_id?: string | null;
22004
+ deadline_date?: string | null;
22005
+ estimated_days?: number | null;
22006
+ estimated_duration_minutes?: number | null;
22007
+ event_id?: string;
22008
+ external_id?: string | null;
22009
+ externe_referentie?: string | null;
22010
+ from_email?: string | null;
22011
+ from_name?: string | null;
22012
+ id?: string;
22013
+ internal_notes?: string | null;
22014
+ parsed_payload?: import("../integrations/supabase/types").Json;
22015
+ received_at?: string | null;
22016
+ reviewed_at?: string | null;
22017
+ reviewed_by?: string | null;
22018
+ room_number?: string | null;
22019
+ scheduled_end_time?: string | null;
22020
+ scheduled_start_time?: string | null;
22021
+ status?: string;
22022
+ subject?: string | null;
22023
+ technician_id?: string | null;
22024
+ technician_task_description?: string | null;
22025
+ updated_at?: string;
22026
+ work_address?: string | null;
22027
+ };
22028
+ Relationships: [];
22029
+ };
20062
22030
  werkbon_time_logs: {
20063
22031
  Row: {
20064
22032
  activity: string;
@@ -20112,6 +22080,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20112
22080
  created_at: string;
20113
22081
  created_by: string | null;
20114
22082
  customer_id: string | null;
22083
+ deadline_date: string | null;
22084
+ estimated_days: number | null;
22085
+ estimated_duration_minutes: number | null;
20115
22086
  externe_referentie: string | null;
20116
22087
  extra_costs_cents: number;
20117
22088
  first_time_fix: boolean | null;
@@ -20142,6 +22113,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20142
22113
  updated_at: string;
20143
22114
  version: number;
20144
22115
  work_address: string | null;
22116
+ workday_hours: number | null;
20145
22117
  };
20146
22118
  Insert: {
20147
22119
  assigned_user_id?: string | null;
@@ -20150,6 +22122,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20150
22122
  created_at?: string;
20151
22123
  created_by?: string | null;
20152
22124
  customer_id?: string | null;
22125
+ deadline_date?: string | null;
22126
+ estimated_days?: number | null;
22127
+ estimated_duration_minutes?: number | null;
20153
22128
  externe_referentie?: string | null;
20154
22129
  extra_costs_cents?: number;
20155
22130
  first_time_fix?: boolean | null;
@@ -20180,6 +22155,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20180
22155
  updated_at?: string;
20181
22156
  version?: number;
20182
22157
  work_address?: string | null;
22158
+ workday_hours?: number | null;
20183
22159
  };
20184
22160
  Update: {
20185
22161
  assigned_user_id?: string | null;
@@ -20188,6 +22164,9 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20188
22164
  created_at?: string;
20189
22165
  created_by?: string | null;
20190
22166
  customer_id?: string | null;
22167
+ deadline_date?: string | null;
22168
+ estimated_days?: number | null;
22169
+ estimated_duration_minutes?: number | null;
20191
22170
  externe_referentie?: string | null;
20192
22171
  extra_costs_cents?: number;
20193
22172
  first_time_fix?: boolean | null;
@@ -20218,6 +22197,7 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
20218
22197
  updated_at?: string;
20219
22198
  version?: number;
20220
22199
  work_address?: string | null;
22200
+ workday_hours?: number | null;
20221
22201
  };
20222
22202
  Relationships: [{
20223
22203
  foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
@@ -21422,6 +23402,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
21422
23402
  };
21423
23403
  Returns: string;
21424
23404
  };
23405
+ backfill_cart_numbers_day_seq: {
23406
+ Args: never;
23407
+ Returns: number;
23408
+ };
21425
23409
  backfill_open_order_reservations: {
21426
23410
  Args: never;
21427
23411
  Returns: {
@@ -21460,6 +23444,15 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
21460
23444
  Args: never;
21461
23445
  Returns: boolean;
21462
23446
  };
23447
+ cancel_open_print_jobs: {
23448
+ Args: {
23449
+ _cutoff: string;
23450
+ };
23451
+ Returns: {
23452
+ extern_job_id: string;
23453
+ id: string;
23454
+ }[];
23455
+ };
21463
23456
  check_offer_product_available_stock: {
21464
23457
  Args: {
21465
23458
  p_campaign_product_id: string;
@@ -21899,8 +23892,6 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
21899
23892
  cart_index: number;
21900
23893
  cart_number: string;
21901
23894
  cart_number_id: string;
21902
- cart_seq: number;
21903
- cart_total: number;
21904
23895
  order_id: string;
21905
23896
  order_number: string;
21906
23897
  order_source: string;
@@ -22125,9 +24116,20 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22125
24116
  };
22126
24117
  Returns: boolean;
22127
24118
  };
22128
- floriday_capture_stock_snapshot: {
22129
- Args: never;
22130
- Returns: number;
24119
+ floriday_adopt_connection: {
24120
+ Args: {
24121
+ p_new: string;
24122
+ p_old: string;
24123
+ };
24124
+ Returns: import("../integrations/supabase/types").Json;
24125
+ };
24126
+ floriday_autoheal_connections: {
24127
+ Args: never;
24128
+ Returns: import("../integrations/supabase/types").Json;
24129
+ };
24130
+ floriday_capture_stock_snapshot: {
24131
+ Args: never;
24132
+ Returns: number;
22131
24133
  };
22132
24134
  floriday_cleanup_stock_queue_v2: {
22133
24135
  Args: never;
@@ -22182,6 +24184,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22182
24184
  };
22183
24185
  Returns: undefined;
22184
24186
  };
24187
+ floriday_relink_products: {
24188
+ Args: {
24189
+ p_connection_id?: string;
24190
+ };
24191
+ Returns: import("../integrations/supabase/types").Json;
24192
+ };
22185
24193
  floriday_requeue_dead_letters: {
22186
24194
  Args: {
22187
24195
  p_connection_id?: string;
@@ -22404,6 +24412,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22404
24412
  Args: never;
22405
24413
  Returns: string;
22406
24414
  };
24415
+ handover_afspraak_intrekken: {
24416
+ Args: {
24417
+ _sleutel: string;
24418
+ };
24419
+ Returns: boolean;
24420
+ };
24421
+ handover_afspraak_zetten: {
24422
+ Args: {
24423
+ _besluit: string;
24424
+ _item: string;
24425
+ _modules: string[];
24426
+ _sleutel: string;
24427
+ _soort: string;
24428
+ _versie_vingerafdruk: string;
24429
+ };
24430
+ Returns: boolean;
24431
+ };
24432
+ handover_afspraken: {
24433
+ Args: never;
24434
+ Returns: import("../integrations/supabase/types").Json;
24435
+ };
22407
24436
  handover_archief_lijst: {
22408
24437
  Args: never;
22409
24438
  Returns: import("../integrations/supabase/types").Json;
@@ -22421,6 +24450,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22421
24450
  };
22422
24451
  Returns: boolean;
22423
24452
  };
24453
+ handover_check_afronden_na_scan: {
24454
+ Args: {
24455
+ _module_ids: string[];
24456
+ };
24457
+ Returns: number;
24458
+ };
22424
24459
  handover_check_markeren: {
22425
24460
  Args: {
22426
24461
  _module_ids: string[];
@@ -22464,6 +24499,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22464
24499
  };
22465
24500
  Returns: boolean;
22466
24501
  };
24502
+ handover_md_bron_zetten: {
24503
+ Args: {
24504
+ _md: boolean;
24505
+ _module_id: string;
24506
+ _pad?: string;
24507
+ };
24508
+ Returns: boolean;
24509
+ };
22467
24510
  handover_module_meta_zetten: {
22468
24511
  Args: {
22469
24512
  _module_id: string;
@@ -22472,6 +24515,24 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22472
24515
  };
22473
24516
  Returns: boolean;
22474
24517
  };
24518
+ handover_naam_zetten: {
24519
+ Args: {
24520
+ _bron_repo?: string;
24521
+ _module_id: string;
24522
+ _weergavenaam?: string;
24523
+ };
24524
+ Returns: boolean;
24525
+ };
24526
+ handover_namen: {
24527
+ Args: never;
24528
+ Returns: import("../integrations/supabase/types").Json;
24529
+ };
24530
+ handover_nieuw_gezien: {
24531
+ Args: {
24532
+ _module_id: string;
24533
+ };
24534
+ Returns: boolean;
24535
+ };
22475
24536
  handover_norm_naam: {
22476
24537
  Args: {
22477
24538
  _naam: string;
@@ -22508,6 +24569,24 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22508
24569
  _versie_label?: string;
22509
24570
  };
22510
24571
  Returns: import("../integrations/supabase/types").Json;
24572
+ } | {
24573
+ Args: {
24574
+ _bekende_risicos?: string[];
24575
+ _bezit_tabellen?: string[];
24576
+ _bron_soort?: string;
24577
+ _commit?: string;
24578
+ _contractfuncties?: string[];
24579
+ _inhoud_md: string;
24580
+ _laatst_bevestigd_op?: string;
24581
+ _module_id: string;
24582
+ _module_titel: string;
24583
+ _ontbrekende_contracten?: string[];
24584
+ _pad?: string;
24585
+ _repo?: string;
24586
+ _samenvatting?: string;
24587
+ _versie_label?: string;
24588
+ };
24589
+ Returns: import("../integrations/supabase/types").Json;
22511
24590
  };
22512
24591
  handover_publish_via_token: {
22513
24592
  Args: {
@@ -22605,6 +24684,27 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22605
24684
  Args: never;
22606
24685
  Returns: boolean;
22607
24686
  };
24687
+ inkoop_apply_price_list: {
24688
+ Args: {
24689
+ _price_list_id: string;
24690
+ _rows: import("../integrations/supabase/types").Json;
24691
+ };
24692
+ Returns: import("../integrations/supabase/types").Json;
24693
+ };
24694
+ inkoop_next_order_number: {
24695
+ Args: never;
24696
+ Returns: string;
24697
+ };
24698
+ inkoop_send_order: {
24699
+ Args: {
24700
+ _order_id: string;
24701
+ };
24702
+ Returns: {
24703
+ outbox_id: string;
24704
+ supplier_name: string;
24705
+ to_address: string;
24706
+ }[];
24707
+ };
22608
24708
  instructie_get: {
22609
24709
  Args: {
22610
24710
  _sleutel: string;
@@ -22664,6 +24764,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22664
24764
  };
22665
24765
  Returns: import("../integrations/supabase/types").Json;
22666
24766
  };
24767
+ invoice_source_lines: {
24768
+ Args: {
24769
+ _source_id: string;
24770
+ _source_type: string;
24771
+ };
24772
+ Returns: import("../integrations/supabase/types").Json;
24773
+ };
22667
24774
  is_authenticated: {
22668
24775
  Args: never;
22669
24776
  Returns: boolean;
@@ -22803,6 +24910,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22803
24910
  };
22804
24911
  Returns: string;
22805
24912
  };
24913
+ logistics_active_layout_method: {
24914
+ Args: never;
24915
+ Returns: string;
24916
+ };
22806
24917
  logistics_active_pick_workdays: {
22807
24918
  Args: never;
22808
24919
  Returns: string[];
@@ -22854,6 +24965,30 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22854
24965
  };
22855
24966
  Returns: import("../integrations/supabase/types").Json;
22856
24967
  };
24968
+ logistics_block_reason_code: {
24969
+ Args: {
24970
+ p_details?: import("../integrations/supabase/types").Json;
24971
+ p_reason: string;
24972
+ };
24973
+ Returns: string;
24974
+ };
24975
+ logistics_blocked_orders: {
24976
+ Args: never;
24977
+ Returns: {
24978
+ attempts: number;
24979
+ blocked_since: string;
24980
+ delivery_date: string;
24981
+ order_id: string;
24982
+ order_ref: string;
24983
+ queue_id: string;
24984
+ reason: string;
24985
+ reason_code: string;
24986
+ }[];
24987
+ };
24988
+ logistics_blocked_overview: {
24989
+ Args: never;
24990
+ Returns: import("../integrations/supabase/types").Json;
24991
+ };
22857
24992
  logistics_buffer_criteria: {
22858
24993
  Args: {
22859
24994
  p_settings: import("../integrations/supabase/types").Json;
@@ -22868,6 +25003,39 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22868
25003
  };
22869
25004
  Returns: import("../integrations/supabase/types").Json;
22870
25005
  };
25006
+ logistics_buffer_detach_late_orders: {
25007
+ Args: {
25008
+ p_buffer?: string;
25009
+ };
25010
+ Returns: import("../integrations/supabase/types").Json;
25011
+ };
25012
+ logistics_buffer_frozen_order: {
25013
+ Args: {
25014
+ p_order_id: string;
25015
+ };
25016
+ Returns: boolean;
25017
+ };
25018
+ logistics_buffer_handled: {
25019
+ Args: {
25020
+ p_buffer: string;
25021
+ };
25022
+ Returns: boolean;
25023
+ };
25024
+ logistics_buffer_notify: {
25025
+ Args: {
25026
+ p_event_type: string;
25027
+ p_idempotency_key: string;
25028
+ p_order_ref: string;
25029
+ p_payload: import("../integrations/supabase/types").Json;
25030
+ };
25031
+ Returns: string;
25032
+ };
25033
+ logistics_buffer_open_key: {
25034
+ Args: {
25035
+ p_base_key: string;
25036
+ };
25037
+ Returns: string;
25038
+ };
22871
25039
  logistics_buffer_simulate: {
22872
25040
  Args: {
22873
25041
  p_orders?: import("../integrations/supabase/types").Json;
@@ -22920,6 +25088,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22920
25088
  };
22921
25089
  Returns: string;
22922
25090
  };
25091
+ logistics_cart_checkin_at: {
25092
+ Args: {
25093
+ p_cart_id: string;
25094
+ };
25095
+ Returns: string;
25096
+ };
22923
25097
  logistics_cart_handled: {
22924
25098
  Args: {
22925
25099
  p_cart_index: number;
@@ -22953,10 +25127,59 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
22953
25127
  task_status: string;
22954
25128
  }[];
22955
25129
  };
25130
+ logistics_cart_is_full: {
25131
+ Args: {
25132
+ p_cart_id: string;
25133
+ };
25134
+ Returns: boolean;
25135
+ };
22956
25136
  logistics_cart_layout_method: {
22957
25137
  Args: never;
22958
25138
  Returns: import("../integrations/supabase/types").Json;
22959
25139
  };
25140
+ logistics_cart_order_refs: {
25141
+ Args: {
25142
+ p_cart_id: string;
25143
+ };
25144
+ Returns: string[];
25145
+ };
25146
+ logistics_cart_plan_overview: {
25147
+ Args: {
25148
+ p_days?: number;
25149
+ };
25150
+ Returns: {
25151
+ cart_total: number;
25152
+ delivery_date: string;
25153
+ order_ref: string;
25154
+ plan_ready: boolean;
25155
+ reason: string;
25156
+ released: boolean;
25157
+ }[];
25158
+ };
25159
+ logistics_cart_plan_status: {
25160
+ Args: {
25161
+ p_ref: string;
25162
+ };
25163
+ Returns: import("../integrations/supabase/types").Json;
25164
+ };
25165
+ logistics_cart_plan_status_core: {
25166
+ Args: {
25167
+ p_ref: string;
25168
+ };
25169
+ Returns: import("../integrations/supabase/types").Json;
25170
+ };
25171
+ logistics_cart_release_reason: {
25172
+ Args: {
25173
+ p_cart_id: string;
25174
+ };
25175
+ Returns: string;
25176
+ };
25177
+ logistics_cart_released: {
25178
+ Args: {
25179
+ p_cart_id: string;
25180
+ };
25181
+ Returns: boolean;
25182
+ };
22960
25183
  logistics_cart_seq: {
22961
25184
  Args: {
22962
25185
  p_order_uuid?: string;
@@ -23007,6 +25230,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23007
25230
  unit_ref: string;
23008
25231
  }[];
23009
25232
  };
25233
+ logistics_carts_per_print: {
25234
+ Args: never;
25235
+ Returns: number;
25236
+ };
23010
25237
  logistics_check_order_allowed: {
23011
25238
  Args: {
23012
25239
  p_lines: import("../integrations/supabase/types").Json;
@@ -23110,6 +25337,16 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23110
25337
  isSetofReturn: false;
23111
25338
  };
23112
25339
  };
25340
+ logistics_cleanup_orphan_print_jobs: {
25341
+ Args: never;
25342
+ Returns: import("../integrations/supabase/types").Json;
25343
+ };
25344
+ logistics_cleanup_tasks: {
25345
+ Args: {
25346
+ p_limit?: number;
25347
+ };
25348
+ Returns: import("../integrations/supabase/types").Json;
25349
+ };
23113
25350
  logistics_complete_task: {
23114
25351
  Args: {
23115
25352
  p_result?: import("../integrations/supabase/types").Json;
@@ -23172,6 +25409,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23172
25409
  station_carts: number;
23173
25410
  }[];
23174
25411
  };
25412
+ logistics_control_complete_cart: {
25413
+ Args: {
25414
+ p_cart_id: string;
25415
+ };
25416
+ Returns: number;
25417
+ };
23175
25418
  logistics_control_scan_approve: {
23176
25419
  Args: {
23177
25420
  p_allow_reprint?: boolean;
@@ -23251,6 +25494,15 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23251
25494
  Args: never;
23252
25495
  Returns: import("../integrations/supabase/types").Json;
23253
25496
  };
25497
+ logistics_day_windows: {
25498
+ Args: {
25499
+ p_day: string;
25500
+ };
25501
+ Returns: {
25502
+ win_end: string;
25503
+ win_start: string;
25504
+ }[];
25505
+ };
23254
25506
  logistics_delay_customer_email: {
23255
25507
  Args: {
23256
25508
  p_customer: string;
@@ -23318,6 +25570,17 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23318
25570
  };
23319
25571
  Returns: import("../integrations/supabase/types").Json;
23320
25572
  };
25573
+ logistics_enqueue_shipping_note_with_slip: {
25574
+ Args: {
25575
+ _cart_id: string;
25576
+ _is_herprint: boolean;
25577
+ _printer_id: string;
25578
+ _queue_item_id: string;
25579
+ _session_id: string;
25580
+ _slip_job_id: string;
25581
+ };
25582
+ Returns: string;
25583
+ };
23321
25584
  logistics_enqueue_sticker_with_slip: {
23322
25585
  Args: {
23323
25586
  _cart_id: string;
@@ -23335,6 +25598,20 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23335
25598
  };
23336
25599
  Returns: string;
23337
25600
  };
25601
+ logistics_ensure_pick_data: {
25602
+ Args: {
25603
+ p_event_id?: string;
25604
+ p_missing?: import("../integrations/supabase/types").Json;
25605
+ p_ref: string;
25606
+ };
25607
+ Returns: import("../integrations/supabase/types").Json;
25608
+ };
25609
+ logistics_ensure_shipping_notes: {
25610
+ Args: {
25611
+ p_limit?: number;
25612
+ };
25613
+ Returns: import("../integrations/supabase/types").Json;
25614
+ };
23338
25615
  logistics_fail_task: {
23339
25616
  Args: {
23340
25617
  p_error: string;
@@ -23380,6 +25657,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23380
25657
  isSetofReturn: false;
23381
25658
  };
23382
25659
  };
25660
+ logistics_fix_wrong_shipping_notes: {
25661
+ Args: never;
25662
+ Returns: import("../integrations/supabase/types").Json;
25663
+ };
23383
25664
  logistics_floriday_cart_plan: {
23384
25665
  Args: {
23385
25666
  p_order_id: string;
@@ -23407,6 +25688,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23407
25688
  revision: number;
23408
25689
  }[];
23409
25690
  };
25691
+ logistics_floriday_delivery_note_create_enabled: {
25692
+ Args: never;
25693
+ Returns: boolean;
25694
+ };
23410
25695
  logistics_floriday_finish_push: {
23411
25696
  Args: {
23412
25697
  _error?: string;
@@ -23456,6 +25741,38 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23456
25741
  };
23457
25742
  Returns: string;
23458
25743
  };
25744
+ logistics_floriday_gate_status: {
25745
+ Args: never;
25746
+ Returns: import("../integrations/supabase/types").Json;
25747
+ };
25748
+ logistics_floriday_log_refusal: {
25749
+ Args: {
25750
+ _action?: string;
25751
+ _module?: string;
25752
+ _order_ref: string;
25753
+ _reason: string;
25754
+ _shell?: string;
25755
+ };
25756
+ Returns: undefined;
25757
+ };
25758
+ logistics_floriday_log_send: {
25759
+ Args: {
25760
+ _action: string;
25761
+ _detail?: string;
25762
+ _http_status?: number;
25763
+ _module?: string;
25764
+ _ok: boolean;
25765
+ _order_ref: string;
25766
+ _shell?: string;
25767
+ };
25768
+ Returns: undefined;
25769
+ };
25770
+ logistics_floriday_order_approved: {
25771
+ Args: {
25772
+ _order_ref: string;
25773
+ };
25774
+ Returns: boolean;
25775
+ };
23459
25776
  logistics_floriday_prune_pushes: {
23460
25777
  Args: {
23461
25778
  _days?: number;
@@ -23470,6 +25787,20 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23470
25787
  };
23471
25788
  Returns: string;
23472
25789
  };
25790
+ logistics_floriday_status_updates_enabled: {
25791
+ Args: never;
25792
+ Returns: boolean;
25793
+ };
25794
+ logistics_floriday_stock_updates_enabled: {
25795
+ Args: never;
25796
+ Returns: boolean;
25797
+ };
25798
+ logistics_floriday_write_allowed: {
25799
+ Args: {
25800
+ _action: string;
25801
+ };
25802
+ Returns: boolean;
25803
+ };
23473
25804
  logistics_fulfill_barcode_requests: {
23474
25805
  Args: {
23475
25806
  p_limit?: number;
@@ -23490,9 +25821,19 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23490
25821
  };
23491
25822
  Returns: boolean;
23492
25823
  };
23493
- logistics_live_carriers: {
23494
- Args: {
23495
- p_order_ref: string;
25824
+ logistics_layout_method_status: {
25825
+ Args: never;
25826
+ Returns: import("../integrations/supabase/types").Json;
25827
+ };
25828
+ logistics_link_order_items: {
25829
+ Args: {
25830
+ p_order?: string;
25831
+ };
25832
+ Returns: import("../integrations/supabase/types").Json;
25833
+ };
25834
+ logistics_live_carriers: {
25835
+ Args: {
25836
+ p_order_ref: string;
23496
25837
  };
23497
25838
  Returns: import("../integrations/supabase/types").Json;
23498
25839
  };
@@ -23502,6 +25843,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23502
25843
  };
23503
25844
  Returns: number;
23504
25845
  };
25846
+ logistics_merge_floriday_lines: {
25847
+ Args: {
25848
+ p_order_id: string;
25849
+ };
25850
+ Returns: string;
25851
+ };
25852
+ logistics_merge_lines_enabled: {
25853
+ Args: never;
25854
+ Returns: boolean;
25855
+ };
25856
+ logistics_merge_partial_carts: {
25857
+ Args: {
25858
+ p_limit?: number;
25859
+ };
25860
+ Returns: import("../integrations/supabase/types").Json;
25861
+ };
23505
25862
  logistics_next_workday_date: {
23506
25863
  Args: {
23507
25864
  p_date: string;
@@ -23516,18 +25873,62 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23516
25873
  };
23517
25874
  Returns: string;
23518
25875
  };
25876
+ logistics_normalize_product_label: {
25877
+ Args: {
25878
+ p_label: string;
25879
+ };
25880
+ Returns: string;
25881
+ };
23519
25882
  logistics_not_past: {
23520
25883
  Args: {
23521
25884
  p_ts: string;
23522
25885
  };
23523
25886
  Returns: string;
23524
25887
  };
25888
+ logistics_opening_timezone: {
25889
+ Args: never;
25890
+ Returns: string;
25891
+ };
25892
+ logistics_order_cart_approval: {
25893
+ Args: {
25894
+ _order_ref: string;
25895
+ };
25896
+ Returns: {
25897
+ approved: number;
25898
+ total: number;
25899
+ }[];
25900
+ };
23525
25901
  logistics_order_cart_count: {
23526
25902
  Args: {
23527
25903
  p_order_ref: string;
23528
25904
  };
23529
25905
  Returns: number;
23530
25906
  };
25907
+ logistics_order_changed: {
25908
+ Args: {
25909
+ p_order_id: string;
25910
+ p_reason?: string;
25911
+ };
25912
+ Returns: undefined;
25913
+ };
25914
+ logistics_order_documents_ready: {
25915
+ Args: {
25916
+ p_order_ref: string;
25917
+ };
25918
+ Returns: import("../integrations/supabase/types").Json;
25919
+ };
25920
+ logistics_order_documents_ready_bool: {
25921
+ Args: {
25922
+ p_order_ref: string;
25923
+ };
25924
+ Returns: boolean;
25925
+ };
25926
+ logistics_order_frozen: {
25927
+ Args: {
25928
+ p_order_id: string;
25929
+ };
25930
+ Returns: boolean;
25931
+ };
23531
25932
  logistics_order_handled: {
23532
25933
  Args: {
23533
25934
  p_order_uuid: string;
@@ -23541,6 +25942,18 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23541
25942
  };
23542
25943
  Returns: boolean;
23543
25944
  };
25945
+ logistics_order_merge_key: {
25946
+ Args: {
25947
+ p_group_key: string;
25948
+ };
25949
+ Returns: string;
25950
+ };
25951
+ logistics_order_mergeable: {
25952
+ Args: {
25953
+ p_order_id: string;
25954
+ };
25955
+ Returns: boolean;
25956
+ };
23544
25957
  logistics_order_overview: {
23545
25958
  Args: {
23546
25959
  p_from?: string;
@@ -23578,6 +25991,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23578
25991
  };
23579
25992
  Returns: string;
23580
25993
  };
25994
+ logistics_payload_is_floriday: {
25995
+ Args: {
25996
+ _payload: import("../integrations/supabase/types").Json;
25997
+ };
25998
+ Returns: boolean;
25999
+ };
23581
26000
  logistics_pick_agenda: {
23582
26001
  Args: {
23583
26002
  p_from?: string;
@@ -23606,6 +26025,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23606
26025
  Args: never;
23607
26026
  Returns: import("../integrations/supabase/types").Json;
23608
26027
  };
26028
+ logistics_pick_partial_mode: {
26029
+ Args: never;
26030
+ Returns: string;
26031
+ };
23609
26032
  logistics_pick_start_estimate: {
23610
26033
  Args: {
23611
26034
  p_order: import("../integrations/supabase/types").Json;
@@ -23655,6 +26078,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23655
26078
  order_id: string;
23656
26079
  }[];
23657
26080
  };
26081
+ logistics_plan_defer: {
26082
+ Args: {
26083
+ p_id: string;
26084
+ };
26085
+ Returns: undefined;
26086
+ };
23658
26087
  logistics_plan_enqueue: {
23659
26088
  Args: {
23660
26089
  p_order_id: string;
@@ -23668,6 +26097,18 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23668
26097
  };
23669
26098
  Returns: boolean;
23670
26099
  };
26100
+ logistics_plan_error_class: {
26101
+ Args: {
26102
+ p_error: string;
26103
+ };
26104
+ Returns: string;
26105
+ };
26106
+ logistics_plan_error_text: {
26107
+ Args: {
26108
+ p_error: string;
26109
+ };
26110
+ Returns: string;
26111
+ };
23671
26112
  logistics_plan_finish: {
23672
26113
  Args: {
23673
26114
  p_error?: string;
@@ -23696,14 +26137,86 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23696
26137
  Args: never;
23697
26138
  Returns: undefined;
23698
26139
  };
26140
+ logistics_plan_lock_acquire: {
26141
+ Args: {
26142
+ _key: string;
26143
+ _owner?: string;
26144
+ _ttl_seconds?: number;
26145
+ };
26146
+ Returns: boolean;
26147
+ };
26148
+ logistics_plan_lock_release: {
26149
+ Args: {
26150
+ _key: string;
26151
+ _owner?: string;
26152
+ };
26153
+ Returns: undefined;
26154
+ };
26155
+ logistics_plan_progress: {
26156
+ Args: {
26157
+ p_refs: string[];
26158
+ };
26159
+ Returns: {
26160
+ cart_plan_ready: boolean;
26161
+ cart_plan_reason: string;
26162
+ cart_plan_released: boolean;
26163
+ plan_progress: number;
26164
+ plan_state: string;
26165
+ plan_state_since: string;
26166
+ unit_ref: string;
26167
+ }[];
26168
+ };
26169
+ logistics_plan_progress_pct: {
26170
+ Args: {
26171
+ p_order_id: string;
26172
+ };
26173
+ Returns: number;
26174
+ };
23699
26175
  logistics_plan_prune: {
23700
26176
  Args: never;
23701
26177
  Returns: number;
23702
26178
  };
26179
+ logistics_plan_queue_list: {
26180
+ Args: {
26181
+ p_limit?: number;
26182
+ };
26183
+ Returns: {
26184
+ attempts: number;
26185
+ claimed_at: string;
26186
+ customer_name: string;
26187
+ enqueued_at: string;
26188
+ error_class: string;
26189
+ error_raw: string;
26190
+ error_text: string;
26191
+ id: string;
26192
+ max_attempts: number;
26193
+ next_attempt_at: string;
26194
+ order_created_at: string;
26195
+ order_id: string;
26196
+ order_number: string;
26197
+ progress_pct: number;
26198
+ reason: string;
26199
+ stand: string;
26200
+ status: string;
26201
+ updated_at: string;
26202
+ }[];
26203
+ };
23703
26204
  logistics_plan_release_stale: {
23704
26205
  Args: never;
23705
26206
  Returns: number;
23706
26207
  };
26208
+ logistics_plan_reset_queue: {
26209
+ Args: {
26210
+ p_scope?: string;
26211
+ };
26212
+ Returns: number;
26213
+ };
26214
+ logistics_plan_retry: {
26215
+ Args: {
26216
+ p_order_ids: string[];
26217
+ };
26218
+ Returns: number;
26219
+ };
23707
26220
  logistics_plan_setting: {
23708
26221
  Args: {
23709
26222
  p_default: number;
@@ -23711,6 +26224,22 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23711
26224
  };
23712
26225
  Returns: number;
23713
26226
  };
26227
+ logistics_plan_state_for: {
26228
+ Args: {
26229
+ p_ref: string;
26230
+ };
26231
+ Returns: import("../integrations/supabase/types").Json;
26232
+ };
26233
+ logistics_plan_timeout_running: {
26234
+ Args: never;
26235
+ Returns: number;
26236
+ };
26237
+ logistics_prepare_pick_documents: {
26238
+ Args: {
26239
+ p_limit?: number;
26240
+ };
26241
+ Returns: import("../integrations/supabase/types").Json;
26242
+ };
23714
26243
  logistics_prune_buffer_member_queue: {
23715
26244
  Args: never;
23716
26245
  Returns: number;
@@ -23751,12 +26280,42 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23751
26280
  Args: never;
23752
26281
  Returns: import("../integrations/supabase/types").Json;
23753
26282
  };
26283
+ logistics_refresh_pick_queue_status: {
26284
+ Args: {
26285
+ p_ref: string;
26286
+ };
26287
+ Returns: number;
26288
+ };
23754
26289
  logistics_refresh_pickup_moments: {
23755
26290
  Args: {
23756
26291
  p_weeks?: number;
23757
26292
  };
23758
26293
  Returns: import("../integrations/supabase/types").Json;
23759
26294
  };
26295
+ logistics_refresh_plan_state: {
26296
+ Args: {
26297
+ p_limit?: number;
26298
+ };
26299
+ Returns: import("../integrations/supabase/types").Json;
26300
+ };
26301
+ logistics_replan_all: {
26302
+ Args: {
26303
+ p_reason?: string;
26304
+ };
26305
+ Returns: import("../integrations/supabase/types").Json;
26306
+ };
26307
+ logistics_replan_all_force: {
26308
+ Args: {
26309
+ p_reason?: string;
26310
+ };
26311
+ Returns: import("../integrations/supabase/types").Json;
26312
+ };
26313
+ logistics_replan_order_journey: {
26314
+ Args: {
26315
+ p_order_ref: string;
26316
+ };
26317
+ Returns: import("../integrations/supabase/types").Json;
26318
+ };
23760
26319
  logistics_report_delay: {
23761
26320
  Args: {
23762
26321
  p_expected_date?: string;
@@ -23810,6 +26369,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23810
26369
  };
23811
26370
  Returns: import("../integrations/supabase/types").Json;
23812
26371
  };
26372
+ logistics_resolve_product_id: {
26373
+ Args: {
26374
+ p_label: string;
26375
+ };
26376
+ Returns: string;
26377
+ };
23813
26378
  logistics_resolve_settings: {
23814
26379
  Args: {
23815
26380
  p_config_id: string;
@@ -23857,87 +26422,357 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23857
26422
  Args: never;
23858
26423
  Returns: number;
23859
26424
  };
23860
- logistics_scan_order_stock: {
26425
+ logistics_scan_order_stock: {
26426
+ Args: {
26427
+ p_order_id: string;
26428
+ };
26429
+ Returns: string;
26430
+ };
26431
+ logistics_scan_resolve: {
26432
+ Args: {
26433
+ p_code: string;
26434
+ };
26435
+ Returns: import("../integrations/supabase/types").Json;
26436
+ };
26437
+ logistics_schedule_tasks: {
26438
+ Args: never;
26439
+ Returns: number;
26440
+ } | {
26441
+ Args: {
26442
+ p_order_ref?: string;
26443
+ };
26444
+ Returns: number;
26445
+ };
26446
+ logistics_set_order_priority: {
26447
+ Args: {
26448
+ p_order_ref: string;
26449
+ p_priority: number;
26450
+ p_user_id?: string;
26451
+ };
26452
+ Returns: number;
26453
+ };
26454
+ logistics_set_pick_day: {
26455
+ Args: {
26456
+ p_order_ref: string;
26457
+ p_pick_day: string;
26458
+ };
26459
+ Returns: import("../integrations/supabase/types").Json;
26460
+ };
26461
+ logistics_shift_to_workday: {
26462
+ Args: {
26463
+ p_days: string[];
26464
+ p_ts: string;
26465
+ };
26466
+ Returns: string;
26467
+ };
26468
+ logistics_shipping_note_diagnose: {
26469
+ Args: {
26470
+ p_order_number: string;
26471
+ };
26472
+ Returns: import("../integrations/supabase/types").Json;
26473
+ };
26474
+ logistics_shipping_note_follows_slip: {
26475
+ Args: never;
26476
+ Returns: boolean;
26477
+ };
26478
+ logistics_shipping_note_from_barcode: {
26479
+ Args: {
26480
+ p_allow_reprint?: boolean;
26481
+ p_barcode: string;
26482
+ p_station_id?: string;
26483
+ };
26484
+ Returns: import("../integrations/supabase/types").Json;
26485
+ };
26486
+ logistics_shipping_note_job_for_slip: {
26487
+ Args: {
26488
+ _slip_job_id: string;
26489
+ };
26490
+ Returns: string;
26491
+ };
26492
+ logistics_shipping_notes_wake_all: {
26493
+ Args: never;
26494
+ Returns: import("../integrations/supabase/types").Json;
26495
+ };
26496
+ logistics_slip_is_floriday: {
26497
+ Args: {
26498
+ _slip_job_id: string;
26499
+ };
26500
+ Returns: boolean;
26501
+ };
26502
+ logistics_slip_note_claim: {
26503
+ Args: {
26504
+ _lease_seconds?: number;
26505
+ _limit?: number;
26506
+ };
26507
+ Returns: {
26508
+ attempts: number;
26509
+ batch_key: string | null;
26510
+ cart_id: string | null;
26511
+ created_at: string;
26512
+ error: string | null;
26513
+ error_code: string | null;
26514
+ fulfillment_order_id: string | null;
26515
+ id: string;
26516
+ locked_until: string | null;
26517
+ next_attempt_at: string | null;
26518
+ order_id: string | null;
26519
+ order_number: string | null;
26520
+ print_job_id: string | null;
26521
+ printer_id: string | null;
26522
+ retry_class: string | null;
26523
+ slip_job_id: string;
26524
+ status: string;
26525
+ updated_at: string;
26526
+ }[];
26527
+ SetofOptions: {
26528
+ from: "*";
26529
+ to: "logistics_slip_shipping_note";
26530
+ isOneToOne: false;
26531
+ isSetofReturn: true;
26532
+ };
26533
+ };
26534
+ logistics_slip_note_finish: {
26535
+ Args: {
26536
+ _error?: string;
26537
+ _error_code?: string;
26538
+ _fulfillment_order_id?: string;
26539
+ _id: string;
26540
+ _ok: boolean;
26541
+ _print_job_id?: string;
26542
+ _status?: string;
26543
+ };
26544
+ Returns: undefined;
26545
+ };
26546
+ logistics_slip_note_keep_waiting: {
26547
+ Args: {
26548
+ _class?: string;
26549
+ _id: string;
26550
+ _reason: string;
26551
+ };
26552
+ Returns: undefined;
26553
+ };
26554
+ logistics_sticker_follows_slip: {
26555
+ Args: never;
26556
+ Returns: boolean;
26557
+ };
26558
+ logistics_subtract_working_minutes: {
26559
+ Args: {
26560
+ p_deadline: string;
26561
+ p_max_workdays?: number;
26562
+ p_minutes: number;
26563
+ };
26564
+ Returns: import("../integrations/supabase/types").Json;
26565
+ };
26566
+ logistics_supersede_stale_tasks: {
26567
+ Args: {
26568
+ p_keep: string[];
26569
+ p_order_ref: string;
26570
+ p_run_id: string;
26571
+ p_user_id: string;
26572
+ };
26573
+ Returns: number;
26574
+ };
26575
+ logistics_sync_pick_queue: {
26576
+ Args: never;
26577
+ Returns: import("../integrations/supabase/types").Json;
26578
+ };
26579
+ logistics_sync_task_carriers: {
26580
+ Args: {
26581
+ p_order_ref?: string;
26582
+ };
26583
+ Returns: number;
26584
+ };
26585
+ logistics_task_owner: {
26586
+ Args: {
26587
+ p_task_type: string;
26588
+ };
26589
+ Returns: string;
26590
+ };
26591
+ logistics_task_pick_minutes: {
26592
+ Args: {
26593
+ p_payload: import("../integrations/supabase/types").Json;
26594
+ p_settings: import("../integrations/supabase/types").Json;
26595
+ };
26596
+ Returns: number;
26597
+ };
26598
+ logistics_task_retention_days: {
26599
+ Args: never;
26600
+ Returns: number;
26601
+ };
26602
+ logistics_tick_ping: {
26603
+ Args: never;
26604
+ Returns: string;
26605
+ };
26606
+ logistics_timezone_options: {
26607
+ Args: never;
26608
+ Returns: {
26609
+ name: string;
26610
+ }[];
26611
+ };
26612
+ logistics_trace: {
26613
+ Args: {
26614
+ p: import("../integrations/supabase/types").Json;
26615
+ };
26616
+ Returns: string;
26617
+ };
26618
+ logistics_trace_all_orders: {
26619
+ Args: {
26620
+ p_limit?: number;
26621
+ p_search?: string;
26622
+ };
26623
+ Returns: import("../integrations/supabase/types").Json;
26624
+ };
26625
+ logistics_trace_archive_order: {
26626
+ Args: {
26627
+ p_order_ref: string;
26628
+ p_reason: string;
26629
+ };
26630
+ Returns: number;
26631
+ };
26632
+ logistics_trace_batch: {
26633
+ Args: {
26634
+ p: import("../integrations/supabase/types").Json;
26635
+ };
26636
+ Returns: number;
26637
+ };
26638
+ logistics_trace_derive: {
26639
+ Args: {
26640
+ p: import("../integrations/supabase/types").Json;
26641
+ };
26642
+ Returns: number;
26643
+ };
26644
+ logistics_trace_node: {
26645
+ Args: {
26646
+ p_op?: string;
26647
+ p_status?: string;
26648
+ p_table: string;
26649
+ };
26650
+ Returns: string;
26651
+ };
26652
+ logistics_trace_order_journey_start: {
26653
+ Args: {
26654
+ p_order_id: string;
26655
+ p_reason?: string;
26656
+ };
26657
+ Returns: string;
26658
+ };
26659
+ logistics_trace_order_origin: {
26660
+ Args: {
26661
+ p_order_id: string;
26662
+ };
26663
+ Returns: undefined;
26664
+ };
26665
+ logistics_trace_order_overview: {
26666
+ Args: {
26667
+ p_error_class?: string;
26668
+ p_limit?: number;
26669
+ p_search?: string;
26670
+ p_since?: string;
26671
+ p_source?: string;
26672
+ p_state?: string;
26673
+ p_step?: string;
26674
+ };
26675
+ Returns: import("../integrations/supabase/types").Json;
26676
+ };
26677
+ logistics_trace_order_state: {
26678
+ Args: {
26679
+ p_order_ref: string;
26680
+ };
26681
+ Returns: import("../integrations/supabase/types").Json;
26682
+ };
26683
+ logistics_trace_order_step: {
26684
+ Args: {
26685
+ p_class?: string;
26686
+ p_decision?: string;
26687
+ p_error?: string;
26688
+ p_next_step?: string;
26689
+ p_node: string;
26690
+ p_order_id: string;
26691
+ p_reason?: string;
26692
+ p_status: string;
26693
+ p_step: string;
26694
+ };
26695
+ Returns: undefined;
26696
+ };
26697
+ logistics_trace_orders: {
26698
+ Args: {
26699
+ p_limit?: number;
26700
+ p_search?: string;
26701
+ p_since?: string;
26702
+ p_status?: string;
26703
+ };
26704
+ Returns: import("../integrations/supabase/types").Json;
26705
+ };
26706
+ logistics_trace_pick_state: {
23861
26707
  Args: {
23862
- p_order_id: string;
26708
+ p_order_number: string;
23863
26709
  };
23864
- Returns: string;
26710
+ Returns: undefined;
23865
26711
  };
23866
- logistics_scan_resolve: {
26712
+ logistics_trace_progress: {
23867
26713
  Args: {
23868
- p_code: string;
26714
+ p_limit?: number;
23869
26715
  };
23870
26716
  Returns: import("../integrations/supabase/types").Json;
23871
26717
  };
23872
- logistics_schedule_tasks: {
23873
- Args: never;
23874
- Returns: number;
23875
- };
23876
- logistics_set_order_priority: {
26718
+ logistics_trace_progress_order: {
23877
26719
  Args: {
23878
26720
  p_order_ref: string;
23879
- p_priority: number;
23880
- p_user_id?: string;
23881
26721
  };
23882
- Returns: number;
26722
+ Returns: import("../integrations/supabase/types").Json;
23883
26723
  };
23884
- logistics_set_pick_day: {
26724
+ logistics_trace_redact: {
23885
26725
  Args: {
23886
- p_order_ref: string;
23887
- p_pick_day: string;
26726
+ p: import("../integrations/supabase/types").Json;
23888
26727
  };
23889
26728
  Returns: import("../integrations/supabase/types").Json;
23890
26729
  };
23891
- logistics_shift_to_workday: {
26730
+ logistics_trace_source_node: {
23892
26731
  Args: {
23893
- p_days: string[];
23894
- p_ts: string;
26732
+ p_source: string;
23895
26733
  };
23896
26734
  Returns: string;
23897
26735
  };
23898
- logistics_shipping_note_from_barcode: {
26736
+ logistics_trace_step_once: {
23899
26737
  Args: {
23900
- p_allow_reprint?: boolean;
23901
- p_barcode: string;
23902
- p_station_id?: string;
26738
+ p_decision: string;
26739
+ p_next_step?: string;
26740
+ p_node: string;
26741
+ p_order_id: string;
26742
+ p_reason: string;
26743
+ p_status: string;
26744
+ p_step: string;
23903
26745
  };
23904
- Returns: import("../integrations/supabase/types").Json;
23905
- };
23906
- logistics_sticker_follows_slip: {
23907
- Args: never;
23908
- Returns: boolean;
26746
+ Returns: undefined;
23909
26747
  };
23910
- logistics_supersede_stale_tasks: {
26748
+ logistics_trace_stock_check: {
23911
26749
  Args: {
23912
- p_keep: string[];
23913
- p_order_ref: string;
23914
- p_run_id: string;
23915
- p_user_id: string;
26750
+ p_order_id: string;
23916
26751
  };
23917
- Returns: number;
23918
- };
23919
- logistics_sync_pick_queue: {
23920
- Args: never;
23921
- Returns: import("../integrations/supabase/types").Json;
26752
+ Returns: undefined;
23922
26753
  };
23923
- logistics_sync_task_carriers: {
26754
+ logistics_trace_timeline: {
23924
26755
  Args: {
23925
- p_order_ref?: string;
26756
+ p_limit?: number;
26757
+ p_order_ref: string;
23926
26758
  };
23927
- Returns: number;
26759
+ Returns: import("../integrations/supabase/types").Json;
23928
26760
  };
23929
- logistics_task_owner: {
26761
+ logistics_trace_version_events: {
23930
26762
  Args: {
23931
- p_task_type: string;
26763
+ p_from?: string;
26764
+ p_limit?: number;
26765
+ p_order_ref: string;
26766
+ p_to?: string;
26767
+ p_version_id: string;
23932
26768
  };
23933
- Returns: string;
26769
+ Returns: import("../integrations/supabase/types").Json;
23934
26770
  };
23935
- logistics_task_pick_minutes: {
26771
+ logistics_trace_versions: {
23936
26772
  Args: {
23937
- p_payload: import("../integrations/supabase/types").Json;
23938
- p_settings: import("../integrations/supabase/types").Json;
26773
+ p_order_ref: string;
23939
26774
  };
23940
- Returns: number;
26775
+ Returns: import("../integrations/supabase/types").Json;
23941
26776
  };
23942
26777
  logistics_upsert_task: {
23943
26778
  Args: {
@@ -23958,6 +26793,16 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
23958
26793
  };
23959
26794
  Returns: string;
23960
26795
  };
26796
+ logistics_valid_timezone: {
26797
+ Args: {
26798
+ _tz: string;
26799
+ };
26800
+ Returns: boolean;
26801
+ };
26802
+ logistics_working_hours_status: {
26803
+ Args: never;
26804
+ Returns: import("../integrations/supabase/types").Json;
26805
+ };
23961
26806
  logistics_write_buffer_layer_positions: {
23962
26807
  Args: {
23963
26808
  p_buffer_id: string;
@@ -24019,6 +26864,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24019
26864
  permission: string;
24020
26865
  }[];
24021
26866
  };
26867
+ next_cart_day_seq: {
26868
+ Args: {
26869
+ p_date: string;
26870
+ };
26871
+ Returns: number;
26872
+ };
24022
26873
  next_manufacture_partij: {
24023
26874
  Args: {
24024
26875
  _tenant_id: string;
@@ -24123,6 +26974,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24123
26974
  online: boolean;
24124
26975
  }[];
24125
26976
  };
26977
+ pick_apply_buffer_events: {
26978
+ Args: never;
26979
+ Returns: import("../integrations/supabase/types").Json;
26980
+ };
24126
26981
  pick_available_pick_days: {
24127
26982
  Args: {
24128
26983
  _max_days?: number;
@@ -24506,6 +27361,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24506
27361
  };
24507
27362
  Returns: undefined;
24508
27363
  };
27364
+ pick_report_missing_cart_plan: {
27365
+ Args: never;
27366
+ Returns: import("../integrations/supabase/types").Json;
27367
+ };
24509
27368
  pick_reprint_cart: {
24510
27369
  Args: {
24511
27370
  _cart_id: string;
@@ -24962,6 +27821,18 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24962
27821
  };
24963
27822
  Returns: undefined;
24964
27823
  };
27824
+ prune_floriday_api_log: {
27825
+ Args: never;
27826
+ Returns: number;
27827
+ };
27828
+ quote_ack_work_order: {
27829
+ Args: {
27830
+ _queue_id: string;
27831
+ _werkbon_id: string;
27832
+ _werkbon_nummer?: string;
27833
+ };
27834
+ Returns: boolean;
27835
+ };
24965
27836
  quote_create_from_source: {
24966
27837
  Args: {
24967
27838
  _payload?: import("../integrations/supabase/types").Json;
@@ -24970,6 +27841,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24970
27841
  };
24971
27842
  Returns: string;
24972
27843
  };
27844
+ quote_fail_work_order: {
27845
+ Args: {
27846
+ _foutmelding: string;
27847
+ _queue_id: string;
27848
+ };
27849
+ Returns: boolean;
27850
+ };
24973
27851
  quote_get_billable_lines: {
24974
27852
  Args: {
24975
27853
  _quotation_id: string;
@@ -24986,6 +27864,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24986
27864
  Args: never;
24987
27865
  Returns: import("../integrations/supabase/types").Json;
24988
27866
  };
27867
+ quote_list_pending_work_orders: {
27868
+ Args: {
27869
+ _limit?: number;
27870
+ };
27871
+ Returns: import("../integrations/supabase/types").Json;
27872
+ };
24989
27873
  quote_list_sources: {
24990
27874
  Args: {
24991
27875
  _limit?: number;
@@ -24993,6 +27877,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
24993
27877
  };
24994
27878
  Returns: import("../integrations/supabase/types").Json;
24995
27879
  };
27880
+ quote_queue_follow_up: {
27881
+ Args: {
27882
+ _offerte_id: string;
27883
+ };
27884
+ Returns: string;
27885
+ };
24996
27886
  recompute_all_reserved_stock: {
24997
27887
  Args: never;
24998
27888
  Returns: undefined;
@@ -25046,6 +27936,12 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25046
27936
  };
25047
27937
  Returns: boolean;
25048
27938
  };
27939
+ release_job_lock: {
27940
+ Args: {
27941
+ _key: string;
27942
+ };
27943
+ Returns: undefined;
27944
+ };
25049
27945
  release_local_pdf_job: {
25050
27946
  Args: {
25051
27947
  _job_id: string;
@@ -25389,6 +28285,13 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25389
28285
  };
25390
28286
  Returns: number;
25391
28287
  };
28288
+ schedule_floriday_catalog_prices_sync: {
28289
+ Args: {
28290
+ p_apikey: string;
28291
+ p_url: string;
28292
+ };
28293
+ Returns: number;
28294
+ };
25392
28295
  schedule_floriday_clock_presales_sync: {
25393
28296
  Args: {
25394
28297
  p_apikey: string;
@@ -25661,6 +28564,52 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25661
28564
  p_end_time: string;
25662
28565
  };
25663
28566
  Returns: import("../integrations/supabase/types").Json;
28567
+ } | {
28568
+ Args: {
28569
+ p_end_lat?: number;
28570
+ p_end_lng?: number;
28571
+ p_log_id: string;
28572
+ };
28573
+ Returns: {
28574
+ auto_stop_reason: string | null;
28575
+ auto_stopped: boolean;
28576
+ created_at: string;
28577
+ current_latitude: number | null;
28578
+ current_longitude: number | null;
28579
+ current_position_updated_at: string | null;
28580
+ employee_id: string;
28581
+ end_latitude: number | null;
28582
+ end_longitude: number | null;
28583
+ end_time: string | null;
28584
+ eta_distance_km: number | null;
28585
+ eta_minutes: number | null;
28586
+ eta_updated_at: string | null;
28587
+ hour_category: string | null;
28588
+ id: string;
28589
+ last_reminder_at: string | null;
28590
+ notes: string | null;
28591
+ overtime_hours: number;
28592
+ overtime_type: string | null;
28593
+ regular_hours: number;
28594
+ reminder_count: number;
28595
+ requires_review: boolean;
28596
+ start_latitude: number | null;
28597
+ start_longitude: number | null;
28598
+ start_time: string;
28599
+ travel_cost: number | null;
28600
+ travel_distance_km: number | null;
28601
+ travel_duration_min: number | null;
28602
+ travel_time_minutes: number | null;
28603
+ type: string;
28604
+ updated_at: string;
28605
+ work_order_id: string | null;
28606
+ };
28607
+ SetofOptions: {
28608
+ from: "*";
28609
+ to: "time_logs";
28610
+ isOneToOne: true;
28611
+ isSetofReturn: false;
28612
+ };
25664
28613
  };
25665
28614
  swap_cart_layer_positions: {
25666
28615
  Args: {
@@ -25689,6 +28638,10 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25689
28638
  };
25690
28639
  Returns: undefined;
25691
28640
  };
28641
+ sync_floriday_prices_into_price_groups: {
28642
+ Args: never;
28643
+ Returns: number;
28644
+ };
25692
28645
  sync_layer_stock: {
25693
28646
  Args: {
25694
28647
  p_product_id: string;
@@ -25734,6 +28687,14 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25734
28687
  row_count: number;
25735
28688
  }[];
25736
28689
  };
28690
+ try_acquire_job_lock: {
28691
+ Args: {
28692
+ _key: string;
28693
+ _owner?: string;
28694
+ _seconds?: number;
28695
+ };
28696
+ Returns: boolean;
28697
+ };
25737
28698
  try_debtor_lock: {
25738
28699
  Args: {
25739
28700
  _group_key: string;
@@ -25805,14 +28766,99 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25805
28766
  };
25806
28767
  Returns: undefined;
25807
28768
  };
28769
+ uren_employee_day_hours: {
28770
+ Args: {
28771
+ _day: string;
28772
+ _employee_id: string;
28773
+ };
28774
+ Returns: number;
28775
+ };
25808
28776
  uren_is_beheerder: {
25809
28777
  Args: never;
25810
28778
  Returns: boolean;
25811
28779
  };
28780
+ uren_list_medewerkers: {
28781
+ Args: never;
28782
+ Returns: {
28783
+ avatar_url: string;
28784
+ color: string;
28785
+ display_name: string;
28786
+ email: string;
28787
+ hours_fri: number;
28788
+ hours_mon: number;
28789
+ hours_thu: number;
28790
+ hours_tue: number;
28791
+ hours_wed: number;
28792
+ id: string;
28793
+ is_active: boolean;
28794
+ leave_balance_hours: number;
28795
+ persnr: string;
28796
+ phone: string;
28797
+ roles: string[];
28798
+ }[];
28799
+ };
25812
28800
  uren_my_monteur_id: {
25813
28801
  Args: never;
25814
28802
  Returns: string;
25815
28803
  };
28804
+ uren_planning_dagagenda: {
28805
+ Args: {
28806
+ _tot: string;
28807
+ _van: string;
28808
+ };
28809
+ Returns: {
28810
+ end_at: string;
28811
+ id: string;
28812
+ is_tweede_man: boolean;
28813
+ notes: string;
28814
+ start_at: string;
28815
+ status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
28816
+ werkbon_id: string;
28817
+ }[];
28818
+ };
28819
+ uren_set_planning_item_status: {
28820
+ Args: {
28821
+ _id: string;
28822
+ _status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
28823
+ };
28824
+ Returns: undefined;
28825
+ };
28826
+ uren_set_planning_status: {
28827
+ Args: {
28828
+ p_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
28829
+ p_werkbon_id: string;
28830
+ };
28831
+ Returns: number;
28832
+ };
28833
+ uren_stop_time_log: {
28834
+ Args: {
28835
+ p_employee_id: string;
28836
+ p_end_lat?: number;
28837
+ p_end_lng?: number;
28838
+ p_end_time: string;
28839
+ };
28840
+ Returns: import("../integrations/supabase/types").Json;
28841
+ };
28842
+ uren_switch_time_log: {
28843
+ Args: {
28844
+ p_employee_id: string;
28845
+ p_start_lat?: number;
28846
+ p_start_lng?: number;
28847
+ p_type: string;
28848
+ p_work_order_id?: string;
28849
+ };
28850
+ Returns: import("../integrations/supabase/types").Json;
28851
+ };
28852
+ uren_sync_sick_time_off: {
28853
+ Args: {
28854
+ _period_id: string;
28855
+ };
28856
+ Returns: number;
28857
+ };
28858
+ voorraad_cleanup_old_rows: {
28859
+ Args: never;
28860
+ Returns: import("../integrations/supabase/types").Json;
28861
+ };
25816
28862
  wake_print_queue: {
25817
28863
  Args: {
25818
28864
  _min_interval_ms?: number;
@@ -25851,6 +28897,25 @@ export declare const getDeliveryNotePdf: import("@tanstack/start-client-core").R
25851
28897
  };
25852
28898
  Returns: import("../integrations/supabase/types").Json;
25853
28899
  };
28900
+ wo_list_offerte_requests: {
28901
+ Args: {
28902
+ _status?: string;
28903
+ };
28904
+ Returns: import("../integrations/supabase/types").Json;
28905
+ };
28906
+ wo_process_offerte_request: {
28907
+ Args: {
28908
+ _queue_id: string;
28909
+ };
28910
+ Returns: import("../integrations/supabase/types").Json;
28911
+ };
28912
+ wo_reject_offerte_request: {
28913
+ Args: {
28914
+ _queue_id: string;
28915
+ _reden?: string;
28916
+ };
28917
+ Returns: import("../integrations/supabase/types").Json;
28918
+ };
25854
28919
  wo_set_status: {
25855
28920
  Args: {
25856
28921
  _reason?: string;