@flowselections/floriday-verkoop-module 1.0.13 → 1.0.15

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 (28) hide show
  1. package/dist-lib/integrations/supabase/auth-middleware.d.ts +132 -1
  2. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  3. package/dist-lib/integrations/supabase/client.d.ts +132 -1
  4. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  5. package/dist-lib/integrations/supabase/client.server.d.ts +132 -1
  6. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  7. package/dist-lib/integrations/supabase/client.server.js +4 -4
  8. package/dist-lib/integrations/supabase/types.d.ts +132 -1
  9. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  10. package/dist-lib/lib/cart-lock.functions.d.ts +132 -1
  11. package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
  12. package/dist-lib/lib/cart-replan.functions.d.ts +264 -2
  13. package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
  14. package/dist-lib/lib/create-order.functions.d.ts +1188 -9
  15. package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
  16. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +396 -3
  17. package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
  18. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +132 -1
  19. package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
  20. package/dist-lib/lib/floriday-public.functions.d.ts +924 -7
  21. package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
  22. package/dist-lib/lib/floriday-writes.functions.d.ts +660 -5
  23. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  24. package/dist-lib/lib/salesorders.functions.d.ts +396 -3
  25. package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
  26. package/dist-lib/lib/tradeitems.functions.d.ts +132 -1
  27. package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
  28. package/package.json +3 -3
@@ -271,6 +271,9 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
271
271
  created_at: string;
272
272
  extra_id: string;
273
273
  id: string;
274
+ original_unit_price: number | null;
275
+ override_reason: string | null;
276
+ override_unit_price: number | null;
274
277
  quantity: number;
275
278
  total_price: number;
276
279
  unit_price: number;
@@ -280,6 +283,9 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
280
283
  created_at?: string;
281
284
  extra_id: string;
282
285
  id?: string;
286
+ original_unit_price?: number | null;
287
+ override_reason?: string | null;
288
+ override_unit_price?: number | null;
283
289
  quantity?: number;
284
290
  total_price?: number;
285
291
  unit_price?: number;
@@ -289,6 +295,9 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
289
295
  created_at?: string;
290
296
  extra_id?: string;
291
297
  id?: string;
298
+ original_unit_price?: number | null;
299
+ override_reason?: string | null;
300
+ override_unit_price?: number | null;
292
301
  quantity?: number;
293
302
  total_price?: number;
294
303
  unit_price?: number;
@@ -309,11 +318,15 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
309
318
  };
310
319
  bookings: {
311
320
  Row: {
321
+ archive_reason: string | null;
322
+ archived_at: string | null;
323
+ archived_by: string | null;
312
324
  company_name: string | null;
313
325
  conflict_checked_at: string | null;
314
326
  conflict_reason: string | null;
315
327
  created_at: string;
316
328
  created_by_role: string | null;
329
+ customer_address: string | null;
317
330
  customer_email: string | null;
318
331
  customer_name: string | null;
319
332
  end_time: string;
@@ -325,7 +338,12 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
325
338
  invoiced_at: string | null;
326
339
  notes: string | null;
327
340
  number_of_people: number;
341
+ overridden_at: string | null;
342
+ overridden_by: string | null;
343
+ override_reason: string | null;
344
+ price_override: boolean;
328
345
  room_id: string;
346
+ room_price_override: number | null;
329
347
  start_time: string;
330
348
  status: string;
331
349
  total_excl_vat: number | null;
@@ -334,11 +352,15 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
334
352
  vat_amount: number | null;
335
353
  };
336
354
  Insert: {
355
+ archive_reason?: string | null;
356
+ archived_at?: string | null;
357
+ archived_by?: string | null;
337
358
  company_name?: string | null;
338
359
  conflict_checked_at?: string | null;
339
360
  conflict_reason?: string | null;
340
361
  created_at?: string;
341
362
  created_by_role?: string | null;
363
+ customer_address?: string | null;
342
364
  customer_email?: string | null;
343
365
  customer_name?: string | null;
344
366
  end_time: string;
@@ -350,7 +372,12 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
350
372
  invoiced_at?: string | null;
351
373
  notes?: string | null;
352
374
  number_of_people?: number;
375
+ overridden_at?: string | null;
376
+ overridden_by?: string | null;
377
+ override_reason?: string | null;
378
+ price_override?: boolean;
353
379
  room_id: string;
380
+ room_price_override?: number | null;
354
381
  start_time: string;
355
382
  status?: string;
356
383
  total_excl_vat?: number | null;
@@ -359,11 +386,15 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
359
386
  vat_amount?: number | null;
360
387
  };
361
388
  Update: {
389
+ archive_reason?: string | null;
390
+ archived_at?: string | null;
391
+ archived_by?: string | null;
362
392
  company_name?: string | null;
363
393
  conflict_checked_at?: string | null;
364
394
  conflict_reason?: string | null;
365
395
  created_at?: string;
366
396
  created_by_role?: string | null;
397
+ customer_address?: string | null;
367
398
  customer_email?: string | null;
368
399
  customer_name?: string | null;
369
400
  end_time?: string;
@@ -375,7 +406,12 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
375
406
  invoiced_at?: string | null;
376
407
  notes?: string | null;
377
408
  number_of_people?: number;
409
+ overridden_at?: string | null;
410
+ overridden_by?: string | null;
411
+ override_reason?: string | null;
412
+ price_override?: boolean;
378
413
  room_id?: string;
414
+ room_price_override?: number | null;
379
415
  start_time?: string;
380
416
  status?: string;
381
417
  total_excl_vat?: number | null;
@@ -1204,8 +1240,27 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1204
1240
  customers: {
1205
1241
  Row: {
1206
1242
  address: string | null;
1243
+ address_line1: string | null;
1244
+ address_line2: string | null;
1245
+ address_type: string | null;
1246
+ attention_to: string | null;
1247
+ bank_account_holder: string | null;
1248
+ bank_account_number: string | null;
1249
+ bank_address_line1: string | null;
1250
+ bank_address_line2: string | null;
1251
+ bank_bic: string | null;
1252
+ bank_city: string | null;
1253
+ bank_country: string | null;
1254
+ bank_house_number: string | null;
1255
+ bank_iban: string | null;
1256
+ bank_name: string | null;
1257
+ bank_national_code: string | null;
1258
+ bank_postal_code: string | null;
1259
+ bank_state: string | null;
1260
+ billing_email: string | null;
1207
1261
  bio: string | null;
1208
1262
  city: string | null;
1263
+ coc_number: string | null;
1209
1264
  commercial_name: string | null;
1210
1265
  company_name: string;
1211
1266
  connection_status: string;
@@ -1214,21 +1269,28 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1214
1269
  created_at: string;
1215
1270
  custom_fields: import("../integrations/supabase/types").Json;
1216
1271
  customer_class: string | null;
1272
+ customer_number: string | null;
1273
+ discount_days: number | null;
1274
+ discount_percentage: number | null;
1217
1275
  email: string | null;
1218
1276
  external_id: string | null;
1277
+ fax: string | null;
1219
1278
  floriday_connection_id: string | null;
1220
1279
  floriday_organization_id: string | null;
1221
1280
  floriday_raw: import("../integrations/supabase/types").Json | null;
1222
1281
  gln: string | null;
1223
1282
  house_number: string | null;
1283
+ icp_country_code: string | null;
1224
1284
  id: string;
1225
1285
  is_active: boolean;
1286
+ language: string | null;
1226
1287
  last_synced_at: string | null;
1227
1288
  logo_url: string | null;
1228
1289
  markets: string[];
1229
1290
  notes: string | null;
1230
1291
  organization_type: string | null;
1231
1292
  payment_methods: string[];
1293
+ payment_term_days: number | null;
1232
1294
  phone: string | null;
1233
1295
  postal_code: string | null;
1234
1296
  product_groups: string[];
@@ -1239,13 +1301,33 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1239
1301
  sync_status: string;
1240
1302
  trade_forms: string[];
1241
1303
  updated_at: string;
1304
+ vat_display: string | null;
1242
1305
  vat_number: string | null;
1243
1306
  website: string | null;
1244
1307
  };
1245
1308
  Insert: {
1246
1309
  address?: string | null;
1310
+ address_line1?: string | null;
1311
+ address_line2?: string | null;
1312
+ address_type?: string | null;
1313
+ attention_to?: string | null;
1314
+ bank_account_holder?: string | null;
1315
+ bank_account_number?: string | null;
1316
+ bank_address_line1?: string | null;
1317
+ bank_address_line2?: string | null;
1318
+ bank_bic?: string | null;
1319
+ bank_city?: string | null;
1320
+ bank_country?: string | null;
1321
+ bank_house_number?: string | null;
1322
+ bank_iban?: string | null;
1323
+ bank_name?: string | null;
1324
+ bank_national_code?: string | null;
1325
+ bank_postal_code?: string | null;
1326
+ bank_state?: string | null;
1327
+ billing_email?: string | null;
1247
1328
  bio?: string | null;
1248
1329
  city?: string | null;
1330
+ coc_number?: string | null;
1249
1331
  commercial_name?: string | null;
1250
1332
  company_name: string;
1251
1333
  connection_status?: string;
@@ -1254,21 +1336,28 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1254
1336
  created_at?: string;
1255
1337
  custom_fields?: import("../integrations/supabase/types").Json;
1256
1338
  customer_class?: string | null;
1339
+ customer_number?: string | null;
1340
+ discount_days?: number | null;
1341
+ discount_percentage?: number | null;
1257
1342
  email?: string | null;
1258
1343
  external_id?: string | null;
1344
+ fax?: string | null;
1259
1345
  floriday_connection_id?: string | null;
1260
1346
  floriday_organization_id?: string | null;
1261
1347
  floriday_raw?: import("../integrations/supabase/types").Json | null;
1262
1348
  gln?: string | null;
1263
1349
  house_number?: string | null;
1350
+ icp_country_code?: string | null;
1264
1351
  id?: string;
1265
1352
  is_active?: boolean;
1353
+ language?: string | null;
1266
1354
  last_synced_at?: string | null;
1267
1355
  logo_url?: string | null;
1268
1356
  markets?: string[];
1269
1357
  notes?: string | null;
1270
1358
  organization_type?: string | null;
1271
1359
  payment_methods?: string[];
1360
+ payment_term_days?: number | null;
1272
1361
  phone?: string | null;
1273
1362
  postal_code?: string | null;
1274
1363
  product_groups?: string[];
@@ -1279,13 +1368,33 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1279
1368
  sync_status?: string;
1280
1369
  trade_forms?: string[];
1281
1370
  updated_at?: string;
1371
+ vat_display?: string | null;
1282
1372
  vat_number?: string | null;
1283
1373
  website?: string | null;
1284
1374
  };
1285
1375
  Update: {
1286
1376
  address?: string | null;
1377
+ address_line1?: string | null;
1378
+ address_line2?: string | null;
1379
+ address_type?: string | null;
1380
+ attention_to?: string | null;
1381
+ bank_account_holder?: string | null;
1382
+ bank_account_number?: string | null;
1383
+ bank_address_line1?: string | null;
1384
+ bank_address_line2?: string | null;
1385
+ bank_bic?: string | null;
1386
+ bank_city?: string | null;
1387
+ bank_country?: string | null;
1388
+ bank_house_number?: string | null;
1389
+ bank_iban?: string | null;
1390
+ bank_name?: string | null;
1391
+ bank_national_code?: string | null;
1392
+ bank_postal_code?: string | null;
1393
+ bank_state?: string | null;
1394
+ billing_email?: string | null;
1287
1395
  bio?: string | null;
1288
1396
  city?: string | null;
1397
+ coc_number?: string | null;
1289
1398
  commercial_name?: string | null;
1290
1399
  company_name?: string;
1291
1400
  connection_status?: string;
@@ -1294,21 +1403,28 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1294
1403
  created_at?: string;
1295
1404
  custom_fields?: import("../integrations/supabase/types").Json;
1296
1405
  customer_class?: string | null;
1406
+ customer_number?: string | null;
1407
+ discount_days?: number | null;
1408
+ discount_percentage?: number | null;
1297
1409
  email?: string | null;
1298
1410
  external_id?: string | null;
1411
+ fax?: string | null;
1299
1412
  floriday_connection_id?: string | null;
1300
1413
  floriday_organization_id?: string | null;
1301
1414
  floriday_raw?: import("../integrations/supabase/types").Json | null;
1302
1415
  gln?: string | null;
1303
1416
  house_number?: string | null;
1417
+ icp_country_code?: string | null;
1304
1418
  id?: string;
1305
1419
  is_active?: boolean;
1420
+ language?: string | null;
1306
1421
  last_synced_at?: string | null;
1307
1422
  logo_url?: string | null;
1308
1423
  markets?: string[];
1309
1424
  notes?: string | null;
1310
1425
  organization_type?: string | null;
1311
1426
  payment_methods?: string[];
1427
+ payment_term_days?: number | null;
1312
1428
  phone?: string | null;
1313
1429
  postal_code?: string | null;
1314
1430
  product_groups?: string[];
@@ -1319,6 +1435,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
1319
1435
  sync_status?: string;
1320
1436
  trade_forms?: string[];
1321
1437
  updated_at?: string;
1438
+ vat_display?: string | null;
1322
1439
  vat_number?: string | null;
1323
1440
  website?: string | null;
1324
1441
  };
@@ -7275,6 +7392,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7275
7392
  };
7276
7393
  profiles: {
7277
7394
  Row: {
7395
+ address: string | null;
7278
7396
  created_at: string;
7279
7397
  display_name: string | null;
7280
7398
  email: string | null;
@@ -7285,6 +7403,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7285
7403
  updated_at: string;
7286
7404
  };
7287
7405
  Insert: {
7406
+ address?: string | null;
7288
7407
  created_at?: string;
7289
7408
  display_name?: string | null;
7290
7409
  email?: string | null;
@@ -7295,6 +7414,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
7295
7414
  updated_at?: string;
7296
7415
  };
7297
7416
  Update: {
7417
+ address?: string | null;
7298
7418
  created_at?: string;
7299
7419
  display_name?: string | null;
7300
7420
  email?: string | null;
@@ -10335,7 +10455,7 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
10335
10455
  };
10336
10456
  cleanup_old_bookings: {
10337
10457
  Args: never;
10338
- Returns: number;
10458
+ Returns: undefined;
10339
10459
  };
10340
10460
  consume_floriday_rate_limit: {
10341
10461
  Args: {
@@ -11190,6 +11310,17 @@ export declare const listCustomersForCreateOrder: import("@tanstack/start-client
11190
11310
  };
11191
11311
  Returns: string;
11192
11312
  };
11313
+ upsert_auto_fulfillment_log: {
11314
+ Args: {
11315
+ p_connection_id: string;
11316
+ p_error?: string;
11317
+ p_fulfillment_order_id?: string;
11318
+ p_reason?: string;
11319
+ p_sales_order_id: string;
11320
+ p_status: string;
11321
+ };
11322
+ Returns: undefined;
11323
+ };
11193
11324
  };
11194
11325
  Enums: {
11195
11326
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -11483,6 +11614,9 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11483
11614
  created_at: string;
11484
11615
  extra_id: string;
11485
11616
  id: string;
11617
+ original_unit_price: number | null;
11618
+ override_reason: string | null;
11619
+ override_unit_price: number | null;
11486
11620
  quantity: number;
11487
11621
  total_price: number;
11488
11622
  unit_price: number;
@@ -11492,6 +11626,9 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11492
11626
  created_at?: string;
11493
11627
  extra_id: string;
11494
11628
  id?: string;
11629
+ original_unit_price?: number | null;
11630
+ override_reason?: string | null;
11631
+ override_unit_price?: number | null;
11495
11632
  quantity?: number;
11496
11633
  total_price?: number;
11497
11634
  unit_price?: number;
@@ -11501,6 +11638,9 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11501
11638
  created_at?: string;
11502
11639
  extra_id?: string;
11503
11640
  id?: string;
11641
+ original_unit_price?: number | null;
11642
+ override_reason?: string | null;
11643
+ override_unit_price?: number | null;
11504
11644
  quantity?: number;
11505
11645
  total_price?: number;
11506
11646
  unit_price?: number;
@@ -11521,11 +11661,15 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11521
11661
  };
11522
11662
  bookings: {
11523
11663
  Row: {
11664
+ archive_reason: string | null;
11665
+ archived_at: string | null;
11666
+ archived_by: string | null;
11524
11667
  company_name: string | null;
11525
11668
  conflict_checked_at: string | null;
11526
11669
  conflict_reason: string | null;
11527
11670
  created_at: string;
11528
11671
  created_by_role: string | null;
11672
+ customer_address: string | null;
11529
11673
  customer_email: string | null;
11530
11674
  customer_name: string | null;
11531
11675
  end_time: string;
@@ -11537,7 +11681,12 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11537
11681
  invoiced_at: string | null;
11538
11682
  notes: string | null;
11539
11683
  number_of_people: number;
11684
+ overridden_at: string | null;
11685
+ overridden_by: string | null;
11686
+ override_reason: string | null;
11687
+ price_override: boolean;
11540
11688
  room_id: string;
11689
+ room_price_override: number | null;
11541
11690
  start_time: string;
11542
11691
  status: string;
11543
11692
  total_excl_vat: number | null;
@@ -11546,11 +11695,15 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11546
11695
  vat_amount: number | null;
11547
11696
  };
11548
11697
  Insert: {
11698
+ archive_reason?: string | null;
11699
+ archived_at?: string | null;
11700
+ archived_by?: string | null;
11549
11701
  company_name?: string | null;
11550
11702
  conflict_checked_at?: string | null;
11551
11703
  conflict_reason?: string | null;
11552
11704
  created_at?: string;
11553
11705
  created_by_role?: string | null;
11706
+ customer_address?: string | null;
11554
11707
  customer_email?: string | null;
11555
11708
  customer_name?: string | null;
11556
11709
  end_time: string;
@@ -11562,7 +11715,12 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11562
11715
  invoiced_at?: string | null;
11563
11716
  notes?: string | null;
11564
11717
  number_of_people?: number;
11718
+ overridden_at?: string | null;
11719
+ overridden_by?: string | null;
11720
+ override_reason?: string | null;
11721
+ price_override?: boolean;
11565
11722
  room_id: string;
11723
+ room_price_override?: number | null;
11566
11724
  start_time: string;
11567
11725
  status?: string;
11568
11726
  total_excl_vat?: number | null;
@@ -11571,11 +11729,15 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11571
11729
  vat_amount?: number | null;
11572
11730
  };
11573
11731
  Update: {
11732
+ archive_reason?: string | null;
11733
+ archived_at?: string | null;
11734
+ archived_by?: string | null;
11574
11735
  company_name?: string | null;
11575
11736
  conflict_checked_at?: string | null;
11576
11737
  conflict_reason?: string | null;
11577
11738
  created_at?: string;
11578
11739
  created_by_role?: string | null;
11740
+ customer_address?: string | null;
11579
11741
  customer_email?: string | null;
11580
11742
  customer_name?: string | null;
11581
11743
  end_time?: string;
@@ -11587,7 +11749,12 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
11587
11749
  invoiced_at?: string | null;
11588
11750
  notes?: string | null;
11589
11751
  number_of_people?: number;
11752
+ overridden_at?: string | null;
11753
+ overridden_by?: string | null;
11754
+ override_reason?: string | null;
11755
+ price_override?: boolean;
11590
11756
  room_id?: string;
11757
+ room_price_override?: number | null;
11591
11758
  start_time?: string;
11592
11759
  status?: string;
11593
11760
  total_excl_vat?: number | null;
@@ -12416,8 +12583,27 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12416
12583
  customers: {
12417
12584
  Row: {
12418
12585
  address: string | null;
12586
+ address_line1: string | null;
12587
+ address_line2: string | null;
12588
+ address_type: string | null;
12589
+ attention_to: string | null;
12590
+ bank_account_holder: string | null;
12591
+ bank_account_number: string | null;
12592
+ bank_address_line1: string | null;
12593
+ bank_address_line2: string | null;
12594
+ bank_bic: string | null;
12595
+ bank_city: string | null;
12596
+ bank_country: string | null;
12597
+ bank_house_number: string | null;
12598
+ bank_iban: string | null;
12599
+ bank_name: string | null;
12600
+ bank_national_code: string | null;
12601
+ bank_postal_code: string | null;
12602
+ bank_state: string | null;
12603
+ billing_email: string | null;
12419
12604
  bio: string | null;
12420
12605
  city: string | null;
12606
+ coc_number: string | null;
12421
12607
  commercial_name: string | null;
12422
12608
  company_name: string;
12423
12609
  connection_status: string;
@@ -12426,21 +12612,28 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12426
12612
  created_at: string;
12427
12613
  custom_fields: import("../integrations/supabase/types").Json;
12428
12614
  customer_class: string | null;
12615
+ customer_number: string | null;
12616
+ discount_days: number | null;
12617
+ discount_percentage: number | null;
12429
12618
  email: string | null;
12430
12619
  external_id: string | null;
12620
+ fax: string | null;
12431
12621
  floriday_connection_id: string | null;
12432
12622
  floriday_organization_id: string | null;
12433
12623
  floriday_raw: import("../integrations/supabase/types").Json | null;
12434
12624
  gln: string | null;
12435
12625
  house_number: string | null;
12626
+ icp_country_code: string | null;
12436
12627
  id: string;
12437
12628
  is_active: boolean;
12629
+ language: string | null;
12438
12630
  last_synced_at: string | null;
12439
12631
  logo_url: string | null;
12440
12632
  markets: string[];
12441
12633
  notes: string | null;
12442
12634
  organization_type: string | null;
12443
12635
  payment_methods: string[];
12636
+ payment_term_days: number | null;
12444
12637
  phone: string | null;
12445
12638
  postal_code: string | null;
12446
12639
  product_groups: string[];
@@ -12451,13 +12644,33 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12451
12644
  sync_status: string;
12452
12645
  trade_forms: string[];
12453
12646
  updated_at: string;
12647
+ vat_display: string | null;
12454
12648
  vat_number: string | null;
12455
12649
  website: string | null;
12456
12650
  };
12457
12651
  Insert: {
12458
12652
  address?: string | null;
12653
+ address_line1?: string | null;
12654
+ address_line2?: string | null;
12655
+ address_type?: string | null;
12656
+ attention_to?: string | null;
12657
+ bank_account_holder?: string | null;
12658
+ bank_account_number?: string | null;
12659
+ bank_address_line1?: string | null;
12660
+ bank_address_line2?: string | null;
12661
+ bank_bic?: string | null;
12662
+ bank_city?: string | null;
12663
+ bank_country?: string | null;
12664
+ bank_house_number?: string | null;
12665
+ bank_iban?: string | null;
12666
+ bank_name?: string | null;
12667
+ bank_national_code?: string | null;
12668
+ bank_postal_code?: string | null;
12669
+ bank_state?: string | null;
12670
+ billing_email?: string | null;
12459
12671
  bio?: string | null;
12460
12672
  city?: string | null;
12673
+ coc_number?: string | null;
12461
12674
  commercial_name?: string | null;
12462
12675
  company_name: string;
12463
12676
  connection_status?: string;
@@ -12466,21 +12679,28 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12466
12679
  created_at?: string;
12467
12680
  custom_fields?: import("../integrations/supabase/types").Json;
12468
12681
  customer_class?: string | null;
12682
+ customer_number?: string | null;
12683
+ discount_days?: number | null;
12684
+ discount_percentage?: number | null;
12469
12685
  email?: string | null;
12470
12686
  external_id?: string | null;
12687
+ fax?: string | null;
12471
12688
  floriday_connection_id?: string | null;
12472
12689
  floriday_organization_id?: string | null;
12473
12690
  floriday_raw?: import("../integrations/supabase/types").Json | null;
12474
12691
  gln?: string | null;
12475
12692
  house_number?: string | null;
12693
+ icp_country_code?: string | null;
12476
12694
  id?: string;
12477
12695
  is_active?: boolean;
12696
+ language?: string | null;
12478
12697
  last_synced_at?: string | null;
12479
12698
  logo_url?: string | null;
12480
12699
  markets?: string[];
12481
12700
  notes?: string | null;
12482
12701
  organization_type?: string | null;
12483
12702
  payment_methods?: string[];
12703
+ payment_term_days?: number | null;
12484
12704
  phone?: string | null;
12485
12705
  postal_code?: string | null;
12486
12706
  product_groups?: string[];
@@ -12491,13 +12711,33 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12491
12711
  sync_status?: string;
12492
12712
  trade_forms?: string[];
12493
12713
  updated_at?: string;
12714
+ vat_display?: string | null;
12494
12715
  vat_number?: string | null;
12495
12716
  website?: string | null;
12496
12717
  };
12497
12718
  Update: {
12498
12719
  address?: string | null;
12720
+ address_line1?: string | null;
12721
+ address_line2?: string | null;
12722
+ address_type?: string | null;
12723
+ attention_to?: string | null;
12724
+ bank_account_holder?: string | null;
12725
+ bank_account_number?: string | null;
12726
+ bank_address_line1?: string | null;
12727
+ bank_address_line2?: string | null;
12728
+ bank_bic?: string | null;
12729
+ bank_city?: string | null;
12730
+ bank_country?: string | null;
12731
+ bank_house_number?: string | null;
12732
+ bank_iban?: string | null;
12733
+ bank_name?: string | null;
12734
+ bank_national_code?: string | null;
12735
+ bank_postal_code?: string | null;
12736
+ bank_state?: string | null;
12737
+ billing_email?: string | null;
12499
12738
  bio?: string | null;
12500
12739
  city?: string | null;
12740
+ coc_number?: string | null;
12501
12741
  commercial_name?: string | null;
12502
12742
  company_name?: string;
12503
12743
  connection_status?: string;
@@ -12506,21 +12746,28 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12506
12746
  created_at?: string;
12507
12747
  custom_fields?: import("../integrations/supabase/types").Json;
12508
12748
  customer_class?: string | null;
12749
+ customer_number?: string | null;
12750
+ discount_days?: number | null;
12751
+ discount_percentage?: number | null;
12509
12752
  email?: string | null;
12510
12753
  external_id?: string | null;
12754
+ fax?: string | null;
12511
12755
  floriday_connection_id?: string | null;
12512
12756
  floriday_organization_id?: string | null;
12513
12757
  floriday_raw?: import("../integrations/supabase/types").Json | null;
12514
12758
  gln?: string | null;
12515
12759
  house_number?: string | null;
12760
+ icp_country_code?: string | null;
12516
12761
  id?: string;
12517
12762
  is_active?: boolean;
12763
+ language?: string | null;
12518
12764
  last_synced_at?: string | null;
12519
12765
  logo_url?: string | null;
12520
12766
  markets?: string[];
12521
12767
  notes?: string | null;
12522
12768
  organization_type?: string | null;
12523
12769
  payment_methods?: string[];
12770
+ payment_term_days?: number | null;
12524
12771
  phone?: string | null;
12525
12772
  postal_code?: string | null;
12526
12773
  product_groups?: string[];
@@ -12531,6 +12778,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
12531
12778
  sync_status?: string;
12532
12779
  trade_forms?: string[];
12533
12780
  updated_at?: string;
12781
+ vat_display?: string | null;
12534
12782
  vat_number?: string | null;
12535
12783
  website?: string | null;
12536
12784
  };
@@ -18487,6 +18735,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
18487
18735
  };
18488
18736
  profiles: {
18489
18737
  Row: {
18738
+ address: string | null;
18490
18739
  created_at: string;
18491
18740
  display_name: string | null;
18492
18741
  email: string | null;
@@ -18497,6 +18746,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
18497
18746
  updated_at: string;
18498
18747
  };
18499
18748
  Insert: {
18749
+ address?: string | null;
18500
18750
  created_at?: string;
18501
18751
  display_name?: string | null;
18502
18752
  email?: string | null;
@@ -18507,6 +18757,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
18507
18757
  updated_at?: string;
18508
18758
  };
18509
18759
  Update: {
18760
+ address?: string | null;
18510
18761
  created_at?: string;
18511
18762
  display_name?: string | null;
18512
18763
  email?: string | null;
@@ -21547,7 +21798,7 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
21547
21798
  };
21548
21799
  cleanup_old_bookings: {
21549
21800
  Args: never;
21550
- Returns: number;
21801
+ Returns: undefined;
21551
21802
  };
21552
21803
  consume_floriday_rate_limit: {
21553
21804
  Args: {
@@ -22402,6 +22653,17 @@ export declare const listProductsForCreateOrder: import("@tanstack/start-client-
22402
22653
  };
22403
22654
  Returns: string;
22404
22655
  };
22656
+ upsert_auto_fulfillment_log: {
22657
+ Args: {
22658
+ p_connection_id: string;
22659
+ p_error?: string;
22660
+ p_fulfillment_order_id?: string;
22661
+ p_reason?: string;
22662
+ p_sales_order_id: string;
22663
+ p_status: string;
22664
+ };
22665
+ Returns: undefined;
22666
+ };
22405
22667
  };
22406
22668
  Enums: {
22407
22669
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -22700,6 +22962,9 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22700
22962
  created_at: string;
22701
22963
  extra_id: string;
22702
22964
  id: string;
22965
+ original_unit_price: number | null;
22966
+ override_reason: string | null;
22967
+ override_unit_price: number | null;
22703
22968
  quantity: number;
22704
22969
  total_price: number;
22705
22970
  unit_price: number;
@@ -22709,6 +22974,9 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22709
22974
  created_at?: string;
22710
22975
  extra_id: string;
22711
22976
  id?: string;
22977
+ original_unit_price?: number | null;
22978
+ override_reason?: string | null;
22979
+ override_unit_price?: number | null;
22712
22980
  quantity?: number;
22713
22981
  total_price?: number;
22714
22982
  unit_price?: number;
@@ -22718,6 +22986,9 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22718
22986
  created_at?: string;
22719
22987
  extra_id?: string;
22720
22988
  id?: string;
22989
+ original_unit_price?: number | null;
22990
+ override_reason?: string | null;
22991
+ override_unit_price?: number | null;
22721
22992
  quantity?: number;
22722
22993
  total_price?: number;
22723
22994
  unit_price?: number;
@@ -22738,11 +23009,15 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22738
23009
  };
22739
23010
  bookings: {
22740
23011
  Row: {
23012
+ archive_reason: string | null;
23013
+ archived_at: string | null;
23014
+ archived_by: string | null;
22741
23015
  company_name: string | null;
22742
23016
  conflict_checked_at: string | null;
22743
23017
  conflict_reason: string | null;
22744
23018
  created_at: string;
22745
23019
  created_by_role: string | null;
23020
+ customer_address: string | null;
22746
23021
  customer_email: string | null;
22747
23022
  customer_name: string | null;
22748
23023
  end_time: string;
@@ -22754,7 +23029,12 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22754
23029
  invoiced_at: string | null;
22755
23030
  notes: string | null;
22756
23031
  number_of_people: number;
23032
+ overridden_at: string | null;
23033
+ overridden_by: string | null;
23034
+ override_reason: string | null;
23035
+ price_override: boolean;
22757
23036
  room_id: string;
23037
+ room_price_override: number | null;
22758
23038
  start_time: string;
22759
23039
  status: string;
22760
23040
  total_excl_vat: number | null;
@@ -22763,11 +23043,15 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22763
23043
  vat_amount: number | null;
22764
23044
  };
22765
23045
  Insert: {
23046
+ archive_reason?: string | null;
23047
+ archived_at?: string | null;
23048
+ archived_by?: string | null;
22766
23049
  company_name?: string | null;
22767
23050
  conflict_checked_at?: string | null;
22768
23051
  conflict_reason?: string | null;
22769
23052
  created_at?: string;
22770
23053
  created_by_role?: string | null;
23054
+ customer_address?: string | null;
22771
23055
  customer_email?: string | null;
22772
23056
  customer_name?: string | null;
22773
23057
  end_time: string;
@@ -22779,7 +23063,12 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22779
23063
  invoiced_at?: string | null;
22780
23064
  notes?: string | null;
22781
23065
  number_of_people?: number;
23066
+ overridden_at?: string | null;
23067
+ overridden_by?: string | null;
23068
+ override_reason?: string | null;
23069
+ price_override?: boolean;
22782
23070
  room_id: string;
23071
+ room_price_override?: number | null;
22783
23072
  start_time: string;
22784
23073
  status?: string;
22785
23074
  total_excl_vat?: number | null;
@@ -22788,11 +23077,15 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22788
23077
  vat_amount?: number | null;
22789
23078
  };
22790
23079
  Update: {
23080
+ archive_reason?: string | null;
23081
+ archived_at?: string | null;
23082
+ archived_by?: string | null;
22791
23083
  company_name?: string | null;
22792
23084
  conflict_checked_at?: string | null;
22793
23085
  conflict_reason?: string | null;
22794
23086
  created_at?: string;
22795
23087
  created_by_role?: string | null;
23088
+ customer_address?: string | null;
22796
23089
  customer_email?: string | null;
22797
23090
  customer_name?: string | null;
22798
23091
  end_time?: string;
@@ -22804,7 +23097,12 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
22804
23097
  invoiced_at?: string | null;
22805
23098
  notes?: string | null;
22806
23099
  number_of_people?: number;
23100
+ overridden_at?: string | null;
23101
+ overridden_by?: string | null;
23102
+ override_reason?: string | null;
23103
+ price_override?: boolean;
22807
23104
  room_id?: string;
23105
+ room_price_override?: number | null;
22808
23106
  start_time?: string;
22809
23107
  status?: string;
22810
23108
  total_excl_vat?: number | null;
@@ -23633,8 +23931,27 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23633
23931
  customers: {
23634
23932
  Row: {
23635
23933
  address: string | null;
23934
+ address_line1: string | null;
23935
+ address_line2: string | null;
23936
+ address_type: string | null;
23937
+ attention_to: string | null;
23938
+ bank_account_holder: string | null;
23939
+ bank_account_number: string | null;
23940
+ bank_address_line1: string | null;
23941
+ bank_address_line2: string | null;
23942
+ bank_bic: string | null;
23943
+ bank_city: string | null;
23944
+ bank_country: string | null;
23945
+ bank_house_number: string | null;
23946
+ bank_iban: string | null;
23947
+ bank_name: string | null;
23948
+ bank_national_code: string | null;
23949
+ bank_postal_code: string | null;
23950
+ bank_state: string | null;
23951
+ billing_email: string | null;
23636
23952
  bio: string | null;
23637
23953
  city: string | null;
23954
+ coc_number: string | null;
23638
23955
  commercial_name: string | null;
23639
23956
  company_name: string;
23640
23957
  connection_status: string;
@@ -23643,21 +23960,28 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23643
23960
  created_at: string;
23644
23961
  custom_fields: import("../integrations/supabase/types").Json;
23645
23962
  customer_class: string | null;
23963
+ customer_number: string | null;
23964
+ discount_days: number | null;
23965
+ discount_percentage: number | null;
23646
23966
  email: string | null;
23647
23967
  external_id: string | null;
23968
+ fax: string | null;
23648
23969
  floriday_connection_id: string | null;
23649
23970
  floriday_organization_id: string | null;
23650
23971
  floriday_raw: import("../integrations/supabase/types").Json | null;
23651
23972
  gln: string | null;
23652
23973
  house_number: string | null;
23974
+ icp_country_code: string | null;
23653
23975
  id: string;
23654
23976
  is_active: boolean;
23977
+ language: string | null;
23655
23978
  last_synced_at: string | null;
23656
23979
  logo_url: string | null;
23657
23980
  markets: string[];
23658
23981
  notes: string | null;
23659
23982
  organization_type: string | null;
23660
23983
  payment_methods: string[];
23984
+ payment_term_days: number | null;
23661
23985
  phone: string | null;
23662
23986
  postal_code: string | null;
23663
23987
  product_groups: string[];
@@ -23668,13 +23992,33 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23668
23992
  sync_status: string;
23669
23993
  trade_forms: string[];
23670
23994
  updated_at: string;
23995
+ vat_display: string | null;
23671
23996
  vat_number: string | null;
23672
23997
  website: string | null;
23673
23998
  };
23674
23999
  Insert: {
23675
24000
  address?: string | null;
24001
+ address_line1?: string | null;
24002
+ address_line2?: string | null;
24003
+ address_type?: string | null;
24004
+ attention_to?: string | null;
24005
+ bank_account_holder?: string | null;
24006
+ bank_account_number?: string | null;
24007
+ bank_address_line1?: string | null;
24008
+ bank_address_line2?: string | null;
24009
+ bank_bic?: string | null;
24010
+ bank_city?: string | null;
24011
+ bank_country?: string | null;
24012
+ bank_house_number?: string | null;
24013
+ bank_iban?: string | null;
24014
+ bank_name?: string | null;
24015
+ bank_national_code?: string | null;
24016
+ bank_postal_code?: string | null;
24017
+ bank_state?: string | null;
24018
+ billing_email?: string | null;
23676
24019
  bio?: string | null;
23677
24020
  city?: string | null;
24021
+ coc_number?: string | null;
23678
24022
  commercial_name?: string | null;
23679
24023
  company_name: string;
23680
24024
  connection_status?: string;
@@ -23683,21 +24027,28 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23683
24027
  created_at?: string;
23684
24028
  custom_fields?: import("../integrations/supabase/types").Json;
23685
24029
  customer_class?: string | null;
24030
+ customer_number?: string | null;
24031
+ discount_days?: number | null;
24032
+ discount_percentage?: number | null;
23686
24033
  email?: string | null;
23687
24034
  external_id?: string | null;
24035
+ fax?: string | null;
23688
24036
  floriday_connection_id?: string | null;
23689
24037
  floriday_organization_id?: string | null;
23690
24038
  floriday_raw?: import("../integrations/supabase/types").Json | null;
23691
24039
  gln?: string | null;
23692
24040
  house_number?: string | null;
24041
+ icp_country_code?: string | null;
23693
24042
  id?: string;
23694
24043
  is_active?: boolean;
24044
+ language?: string | null;
23695
24045
  last_synced_at?: string | null;
23696
24046
  logo_url?: string | null;
23697
24047
  markets?: string[];
23698
24048
  notes?: string | null;
23699
24049
  organization_type?: string | null;
23700
24050
  payment_methods?: string[];
24051
+ payment_term_days?: number | null;
23701
24052
  phone?: string | null;
23702
24053
  postal_code?: string | null;
23703
24054
  product_groups?: string[];
@@ -23708,13 +24059,33 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23708
24059
  sync_status?: string;
23709
24060
  trade_forms?: string[];
23710
24061
  updated_at?: string;
24062
+ vat_display?: string | null;
23711
24063
  vat_number?: string | null;
23712
24064
  website?: string | null;
23713
24065
  };
23714
24066
  Update: {
23715
24067
  address?: string | null;
24068
+ address_line1?: string | null;
24069
+ address_line2?: string | null;
24070
+ address_type?: string | null;
24071
+ attention_to?: string | null;
24072
+ bank_account_holder?: string | null;
24073
+ bank_account_number?: string | null;
24074
+ bank_address_line1?: string | null;
24075
+ bank_address_line2?: string | null;
24076
+ bank_bic?: string | null;
24077
+ bank_city?: string | null;
24078
+ bank_country?: string | null;
24079
+ bank_house_number?: string | null;
24080
+ bank_iban?: string | null;
24081
+ bank_name?: string | null;
24082
+ bank_national_code?: string | null;
24083
+ bank_postal_code?: string | null;
24084
+ bank_state?: string | null;
24085
+ billing_email?: string | null;
23716
24086
  bio?: string | null;
23717
24087
  city?: string | null;
24088
+ coc_number?: string | null;
23718
24089
  commercial_name?: string | null;
23719
24090
  company_name?: string;
23720
24091
  connection_status?: string;
@@ -23723,21 +24094,28 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23723
24094
  created_at?: string;
23724
24095
  custom_fields?: import("../integrations/supabase/types").Json;
23725
24096
  customer_class?: string | null;
24097
+ customer_number?: string | null;
24098
+ discount_days?: number | null;
24099
+ discount_percentage?: number | null;
23726
24100
  email?: string | null;
23727
24101
  external_id?: string | null;
24102
+ fax?: string | null;
23728
24103
  floriday_connection_id?: string | null;
23729
24104
  floriday_organization_id?: string | null;
23730
24105
  floriday_raw?: import("../integrations/supabase/types").Json | null;
23731
24106
  gln?: string | null;
23732
24107
  house_number?: string | null;
24108
+ icp_country_code?: string | null;
23733
24109
  id?: string;
23734
24110
  is_active?: boolean;
24111
+ language?: string | null;
23735
24112
  last_synced_at?: string | null;
23736
24113
  logo_url?: string | null;
23737
24114
  markets?: string[];
23738
24115
  notes?: string | null;
23739
24116
  organization_type?: string | null;
23740
24117
  payment_methods?: string[];
24118
+ payment_term_days?: number | null;
23741
24119
  phone?: string | null;
23742
24120
  postal_code?: string | null;
23743
24121
  product_groups?: string[];
@@ -23748,6 +24126,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
23748
24126
  sync_status?: string;
23749
24127
  trade_forms?: string[];
23750
24128
  updated_at?: string;
24129
+ vat_display?: string | null;
23751
24130
  vat_number?: string | null;
23752
24131
  website?: string | null;
23753
24132
  };
@@ -29704,6 +30083,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
29704
30083
  };
29705
30084
  profiles: {
29706
30085
  Row: {
30086
+ address: string | null;
29707
30087
  created_at: string;
29708
30088
  display_name: string | null;
29709
30089
  email: string | null;
@@ -29714,6 +30094,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
29714
30094
  updated_at: string;
29715
30095
  };
29716
30096
  Insert: {
30097
+ address?: string | null;
29717
30098
  created_at?: string;
29718
30099
  display_name?: string | null;
29719
30100
  email?: string | null;
@@ -29724,6 +30105,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
29724
30105
  updated_at?: string;
29725
30106
  };
29726
30107
  Update: {
30108
+ address?: string | null;
29727
30109
  created_at?: string;
29728
30110
  display_name?: string | null;
29729
30111
  email?: string | null;
@@ -32764,7 +33146,7 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
32764
33146
  };
32765
33147
  cleanup_old_bookings: {
32766
33148
  Args: never;
32767
- Returns: number;
33149
+ Returns: undefined;
32768
33150
  };
32769
33151
  consume_floriday_rate_limit: {
32770
33152
  Args: {
@@ -33619,6 +34001,17 @@ export declare const listDeliveryLocationsForCustomerCO: import("@tanstack/start
33619
34001
  };
33620
34002
  Returns: string;
33621
34003
  };
34004
+ upsert_auto_fulfillment_log: {
34005
+ Args: {
34006
+ p_connection_id: string;
34007
+ p_error?: string;
34008
+ p_fulfillment_order_id?: string;
34009
+ p_reason?: string;
34010
+ p_sales_order_id: string;
34011
+ p_status: string;
34012
+ };
34013
+ Returns: undefined;
34014
+ };
33622
34015
  };
33623
34016
  Enums: {
33624
34017
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -33926,6 +34319,9 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
33926
34319
  created_at: string;
33927
34320
  extra_id: string;
33928
34321
  id: string;
34322
+ original_unit_price: number | null;
34323
+ override_reason: string | null;
34324
+ override_unit_price: number | null;
33929
34325
  quantity: number;
33930
34326
  total_price: number;
33931
34327
  unit_price: number;
@@ -33935,6 +34331,9 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
33935
34331
  created_at?: string;
33936
34332
  extra_id: string;
33937
34333
  id?: string;
34334
+ original_unit_price?: number | null;
34335
+ override_reason?: string | null;
34336
+ override_unit_price?: number | null;
33938
34337
  quantity?: number;
33939
34338
  total_price?: number;
33940
34339
  unit_price?: number;
@@ -33944,6 +34343,9 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
33944
34343
  created_at?: string;
33945
34344
  extra_id?: string;
33946
34345
  id?: string;
34346
+ original_unit_price?: number | null;
34347
+ override_reason?: string | null;
34348
+ override_unit_price?: number | null;
33947
34349
  quantity?: number;
33948
34350
  total_price?: number;
33949
34351
  unit_price?: number;
@@ -33964,11 +34366,15 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
33964
34366
  };
33965
34367
  bookings: {
33966
34368
  Row: {
34369
+ archive_reason: string | null;
34370
+ archived_at: string | null;
34371
+ archived_by: string | null;
33967
34372
  company_name: string | null;
33968
34373
  conflict_checked_at: string | null;
33969
34374
  conflict_reason: string | null;
33970
34375
  created_at: string;
33971
34376
  created_by_role: string | null;
34377
+ customer_address: string | null;
33972
34378
  customer_email: string | null;
33973
34379
  customer_name: string | null;
33974
34380
  end_time: string;
@@ -33980,7 +34386,12 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
33980
34386
  invoiced_at: string | null;
33981
34387
  notes: string | null;
33982
34388
  number_of_people: number;
34389
+ overridden_at: string | null;
34390
+ overridden_by: string | null;
34391
+ override_reason: string | null;
34392
+ price_override: boolean;
33983
34393
  room_id: string;
34394
+ room_price_override: number | null;
33984
34395
  start_time: string;
33985
34396
  status: string;
33986
34397
  total_excl_vat: number | null;
@@ -33989,11 +34400,15 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
33989
34400
  vat_amount: number | null;
33990
34401
  };
33991
34402
  Insert: {
34403
+ archive_reason?: string | null;
34404
+ archived_at?: string | null;
34405
+ archived_by?: string | null;
33992
34406
  company_name?: string | null;
33993
34407
  conflict_checked_at?: string | null;
33994
34408
  conflict_reason?: string | null;
33995
34409
  created_at?: string;
33996
34410
  created_by_role?: string | null;
34411
+ customer_address?: string | null;
33997
34412
  customer_email?: string | null;
33998
34413
  customer_name?: string | null;
33999
34414
  end_time: string;
@@ -34005,7 +34420,12 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34005
34420
  invoiced_at?: string | null;
34006
34421
  notes?: string | null;
34007
34422
  number_of_people?: number;
34423
+ overridden_at?: string | null;
34424
+ overridden_by?: string | null;
34425
+ override_reason?: string | null;
34426
+ price_override?: boolean;
34008
34427
  room_id: string;
34428
+ room_price_override?: number | null;
34009
34429
  start_time: string;
34010
34430
  status?: string;
34011
34431
  total_excl_vat?: number | null;
@@ -34014,11 +34434,15 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34014
34434
  vat_amount?: number | null;
34015
34435
  };
34016
34436
  Update: {
34437
+ archive_reason?: string | null;
34438
+ archived_at?: string | null;
34439
+ archived_by?: string | null;
34017
34440
  company_name?: string | null;
34018
34441
  conflict_checked_at?: string | null;
34019
34442
  conflict_reason?: string | null;
34020
34443
  created_at?: string;
34021
34444
  created_by_role?: string | null;
34445
+ customer_address?: string | null;
34022
34446
  customer_email?: string | null;
34023
34447
  customer_name?: string | null;
34024
34448
  end_time?: string;
@@ -34030,7 +34454,12 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34030
34454
  invoiced_at?: string | null;
34031
34455
  notes?: string | null;
34032
34456
  number_of_people?: number;
34457
+ overridden_at?: string | null;
34458
+ overridden_by?: string | null;
34459
+ override_reason?: string | null;
34460
+ price_override?: boolean;
34033
34461
  room_id?: string;
34462
+ room_price_override?: number | null;
34034
34463
  start_time?: string;
34035
34464
  status?: string;
34036
34465
  total_excl_vat?: number | null;
@@ -34859,8 +35288,27 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34859
35288
  customers: {
34860
35289
  Row: {
34861
35290
  address: string | null;
35291
+ address_line1: string | null;
35292
+ address_line2: string | null;
35293
+ address_type: string | null;
35294
+ attention_to: string | null;
35295
+ bank_account_holder: string | null;
35296
+ bank_account_number: string | null;
35297
+ bank_address_line1: string | null;
35298
+ bank_address_line2: string | null;
35299
+ bank_bic: string | null;
35300
+ bank_city: string | null;
35301
+ bank_country: string | null;
35302
+ bank_house_number: string | null;
35303
+ bank_iban: string | null;
35304
+ bank_name: string | null;
35305
+ bank_national_code: string | null;
35306
+ bank_postal_code: string | null;
35307
+ bank_state: string | null;
35308
+ billing_email: string | null;
34862
35309
  bio: string | null;
34863
35310
  city: string | null;
35311
+ coc_number: string | null;
34864
35312
  commercial_name: string | null;
34865
35313
  company_name: string;
34866
35314
  connection_status: string;
@@ -34869,21 +35317,28 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34869
35317
  created_at: string;
34870
35318
  custom_fields: import("../integrations/supabase/types").Json;
34871
35319
  customer_class: string | null;
35320
+ customer_number: string | null;
35321
+ discount_days: number | null;
35322
+ discount_percentage: number | null;
34872
35323
  email: string | null;
34873
35324
  external_id: string | null;
35325
+ fax: string | null;
34874
35326
  floriday_connection_id: string | null;
34875
35327
  floriday_organization_id: string | null;
34876
35328
  floriday_raw: import("../integrations/supabase/types").Json | null;
34877
35329
  gln: string | null;
34878
35330
  house_number: string | null;
35331
+ icp_country_code: string | null;
34879
35332
  id: string;
34880
35333
  is_active: boolean;
35334
+ language: string | null;
34881
35335
  last_synced_at: string | null;
34882
35336
  logo_url: string | null;
34883
35337
  markets: string[];
34884
35338
  notes: string | null;
34885
35339
  organization_type: string | null;
34886
35340
  payment_methods: string[];
35341
+ payment_term_days: number | null;
34887
35342
  phone: string | null;
34888
35343
  postal_code: string | null;
34889
35344
  product_groups: string[];
@@ -34894,13 +35349,33 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34894
35349
  sync_status: string;
34895
35350
  trade_forms: string[];
34896
35351
  updated_at: string;
35352
+ vat_display: string | null;
34897
35353
  vat_number: string | null;
34898
35354
  website: string | null;
34899
35355
  };
34900
35356
  Insert: {
34901
35357
  address?: string | null;
35358
+ address_line1?: string | null;
35359
+ address_line2?: string | null;
35360
+ address_type?: string | null;
35361
+ attention_to?: string | null;
35362
+ bank_account_holder?: string | null;
35363
+ bank_account_number?: string | null;
35364
+ bank_address_line1?: string | null;
35365
+ bank_address_line2?: string | null;
35366
+ bank_bic?: string | null;
35367
+ bank_city?: string | null;
35368
+ bank_country?: string | null;
35369
+ bank_house_number?: string | null;
35370
+ bank_iban?: string | null;
35371
+ bank_name?: string | null;
35372
+ bank_national_code?: string | null;
35373
+ bank_postal_code?: string | null;
35374
+ bank_state?: string | null;
35375
+ billing_email?: string | null;
34902
35376
  bio?: string | null;
34903
35377
  city?: string | null;
35378
+ coc_number?: string | null;
34904
35379
  commercial_name?: string | null;
34905
35380
  company_name: string;
34906
35381
  connection_status?: string;
@@ -34909,21 +35384,28 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34909
35384
  created_at?: string;
34910
35385
  custom_fields?: import("../integrations/supabase/types").Json;
34911
35386
  customer_class?: string | null;
35387
+ customer_number?: string | null;
35388
+ discount_days?: number | null;
35389
+ discount_percentage?: number | null;
34912
35390
  email?: string | null;
34913
35391
  external_id?: string | null;
35392
+ fax?: string | null;
34914
35393
  floriday_connection_id?: string | null;
34915
35394
  floriday_organization_id?: string | null;
34916
35395
  floriday_raw?: import("../integrations/supabase/types").Json | null;
34917
35396
  gln?: string | null;
34918
35397
  house_number?: string | null;
35398
+ icp_country_code?: string | null;
34919
35399
  id?: string;
34920
35400
  is_active?: boolean;
35401
+ language?: string | null;
34921
35402
  last_synced_at?: string | null;
34922
35403
  logo_url?: string | null;
34923
35404
  markets?: string[];
34924
35405
  notes?: string | null;
34925
35406
  organization_type?: string | null;
34926
35407
  payment_methods?: string[];
35408
+ payment_term_days?: number | null;
34927
35409
  phone?: string | null;
34928
35410
  postal_code?: string | null;
34929
35411
  product_groups?: string[];
@@ -34934,13 +35416,33 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34934
35416
  sync_status?: string;
34935
35417
  trade_forms?: string[];
34936
35418
  updated_at?: string;
35419
+ vat_display?: string | null;
34937
35420
  vat_number?: string | null;
34938
35421
  website?: string | null;
34939
35422
  };
34940
35423
  Update: {
34941
35424
  address?: string | null;
35425
+ address_line1?: string | null;
35426
+ address_line2?: string | null;
35427
+ address_type?: string | null;
35428
+ attention_to?: string | null;
35429
+ bank_account_holder?: string | null;
35430
+ bank_account_number?: string | null;
35431
+ bank_address_line1?: string | null;
35432
+ bank_address_line2?: string | null;
35433
+ bank_bic?: string | null;
35434
+ bank_city?: string | null;
35435
+ bank_country?: string | null;
35436
+ bank_house_number?: string | null;
35437
+ bank_iban?: string | null;
35438
+ bank_name?: string | null;
35439
+ bank_national_code?: string | null;
35440
+ bank_postal_code?: string | null;
35441
+ bank_state?: string | null;
35442
+ billing_email?: string | null;
34942
35443
  bio?: string | null;
34943
35444
  city?: string | null;
35445
+ coc_number?: string | null;
34944
35446
  commercial_name?: string | null;
34945
35447
  company_name?: string;
34946
35448
  connection_status?: string;
@@ -34949,21 +35451,28 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34949
35451
  created_at?: string;
34950
35452
  custom_fields?: import("../integrations/supabase/types").Json;
34951
35453
  customer_class?: string | null;
35454
+ customer_number?: string | null;
35455
+ discount_days?: number | null;
35456
+ discount_percentage?: number | null;
34952
35457
  email?: string | null;
34953
35458
  external_id?: string | null;
35459
+ fax?: string | null;
34954
35460
  floriday_connection_id?: string | null;
34955
35461
  floriday_organization_id?: string | null;
34956
35462
  floriday_raw?: import("../integrations/supabase/types").Json | null;
34957
35463
  gln?: string | null;
34958
35464
  house_number?: string | null;
35465
+ icp_country_code?: string | null;
34959
35466
  id?: string;
34960
35467
  is_active?: boolean;
35468
+ language?: string | null;
34961
35469
  last_synced_at?: string | null;
34962
35470
  logo_url?: string | null;
34963
35471
  markets?: string[];
34964
35472
  notes?: string | null;
34965
35473
  organization_type?: string | null;
34966
35474
  payment_methods?: string[];
35475
+ payment_term_days?: number | null;
34967
35476
  phone?: string | null;
34968
35477
  postal_code?: string | null;
34969
35478
  product_groups?: string[];
@@ -34974,6 +35483,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
34974
35483
  sync_status?: string;
34975
35484
  trade_forms?: string[];
34976
35485
  updated_at?: string;
35486
+ vat_display?: string | null;
34977
35487
  vat_number?: string | null;
34978
35488
  website?: string | null;
34979
35489
  };
@@ -40930,6 +41440,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40930
41440
  };
40931
41441
  profiles: {
40932
41442
  Row: {
41443
+ address: string | null;
40933
41444
  created_at: string;
40934
41445
  display_name: string | null;
40935
41446
  email: string | null;
@@ -40940,6 +41451,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40940
41451
  updated_at: string;
40941
41452
  };
40942
41453
  Insert: {
41454
+ address?: string | null;
40943
41455
  created_at?: string;
40944
41456
  display_name?: string | null;
40945
41457
  email?: string | null;
@@ -40950,6 +41462,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
40950
41462
  updated_at?: string;
40951
41463
  };
40952
41464
  Update: {
41465
+ address?: string | null;
40953
41466
  created_at?: string;
40954
41467
  display_name?: string | null;
40955
41468
  email?: string | null;
@@ -43990,7 +44503,7 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
43990
44503
  };
43991
44504
  cleanup_old_bookings: {
43992
44505
  Args: never;
43993
- Returns: number;
44506
+ Returns: undefined;
43994
44507
  };
43995
44508
  consume_floriday_rate_limit: {
43996
44509
  Args: {
@@ -44845,6 +45358,17 @@ export declare const listPickupLocationsCO: import("@tanstack/start-client-core"
44845
45358
  };
44846
45359
  Returns: string;
44847
45360
  };
45361
+ upsert_auto_fulfillment_log: {
45362
+ Args: {
45363
+ p_connection_id: string;
45364
+ p_error?: string;
45365
+ p_fulfillment_order_id?: string;
45366
+ p_reason?: string;
45367
+ p_sales_order_id: string;
45368
+ p_status: string;
45369
+ };
45370
+ Returns: undefined;
45371
+ };
44848
45372
  };
44849
45373
  Enums: {
44850
45374
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -45137,6 +45661,9 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45137
45661
  created_at: string;
45138
45662
  extra_id: string;
45139
45663
  id: string;
45664
+ original_unit_price: number | null;
45665
+ override_reason: string | null;
45666
+ override_unit_price: number | null;
45140
45667
  quantity: number;
45141
45668
  total_price: number;
45142
45669
  unit_price: number;
@@ -45146,6 +45673,9 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45146
45673
  created_at?: string;
45147
45674
  extra_id: string;
45148
45675
  id?: string;
45676
+ original_unit_price?: number | null;
45677
+ override_reason?: string | null;
45678
+ override_unit_price?: number | null;
45149
45679
  quantity?: number;
45150
45680
  total_price?: number;
45151
45681
  unit_price?: number;
@@ -45155,6 +45685,9 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45155
45685
  created_at?: string;
45156
45686
  extra_id?: string;
45157
45687
  id?: string;
45688
+ original_unit_price?: number | null;
45689
+ override_reason?: string | null;
45690
+ override_unit_price?: number | null;
45158
45691
  quantity?: number;
45159
45692
  total_price?: number;
45160
45693
  unit_price?: number;
@@ -45175,11 +45708,15 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45175
45708
  };
45176
45709
  bookings: {
45177
45710
  Row: {
45711
+ archive_reason: string | null;
45712
+ archived_at: string | null;
45713
+ archived_by: string | null;
45178
45714
  company_name: string | null;
45179
45715
  conflict_checked_at: string | null;
45180
45716
  conflict_reason: string | null;
45181
45717
  created_at: string;
45182
45718
  created_by_role: string | null;
45719
+ customer_address: string | null;
45183
45720
  customer_email: string | null;
45184
45721
  customer_name: string | null;
45185
45722
  end_time: string;
@@ -45191,7 +45728,12 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45191
45728
  invoiced_at: string | null;
45192
45729
  notes: string | null;
45193
45730
  number_of_people: number;
45731
+ overridden_at: string | null;
45732
+ overridden_by: string | null;
45733
+ override_reason: string | null;
45734
+ price_override: boolean;
45194
45735
  room_id: string;
45736
+ room_price_override: number | null;
45195
45737
  start_time: string;
45196
45738
  status: string;
45197
45739
  total_excl_vat: number | null;
@@ -45200,11 +45742,15 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45200
45742
  vat_amount: number | null;
45201
45743
  };
45202
45744
  Insert: {
45745
+ archive_reason?: string | null;
45746
+ archived_at?: string | null;
45747
+ archived_by?: string | null;
45203
45748
  company_name?: string | null;
45204
45749
  conflict_checked_at?: string | null;
45205
45750
  conflict_reason?: string | null;
45206
45751
  created_at?: string;
45207
45752
  created_by_role?: string | null;
45753
+ customer_address?: string | null;
45208
45754
  customer_email?: string | null;
45209
45755
  customer_name?: string | null;
45210
45756
  end_time: string;
@@ -45216,7 +45762,12 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45216
45762
  invoiced_at?: string | null;
45217
45763
  notes?: string | null;
45218
45764
  number_of_people?: number;
45765
+ overridden_at?: string | null;
45766
+ overridden_by?: string | null;
45767
+ override_reason?: string | null;
45768
+ price_override?: boolean;
45219
45769
  room_id: string;
45770
+ room_price_override?: number | null;
45220
45771
  start_time: string;
45221
45772
  status?: string;
45222
45773
  total_excl_vat?: number | null;
@@ -45225,11 +45776,15 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45225
45776
  vat_amount?: number | null;
45226
45777
  };
45227
45778
  Update: {
45779
+ archive_reason?: string | null;
45780
+ archived_at?: string | null;
45781
+ archived_by?: string | null;
45228
45782
  company_name?: string | null;
45229
45783
  conflict_checked_at?: string | null;
45230
45784
  conflict_reason?: string | null;
45231
45785
  created_at?: string;
45232
45786
  created_by_role?: string | null;
45787
+ customer_address?: string | null;
45233
45788
  customer_email?: string | null;
45234
45789
  customer_name?: string | null;
45235
45790
  end_time?: string;
@@ -45241,7 +45796,12 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
45241
45796
  invoiced_at?: string | null;
45242
45797
  notes?: string | null;
45243
45798
  number_of_people?: number;
45799
+ overridden_at?: string | null;
45800
+ overridden_by?: string | null;
45801
+ override_reason?: string | null;
45802
+ price_override?: boolean;
45244
45803
  room_id?: string;
45804
+ room_price_override?: number | null;
45245
45805
  start_time?: string;
45246
45806
  status?: string;
45247
45807
  total_excl_vat?: number | null;
@@ -46070,8 +46630,27 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46070
46630
  customers: {
46071
46631
  Row: {
46072
46632
  address: string | null;
46633
+ address_line1: string | null;
46634
+ address_line2: string | null;
46635
+ address_type: string | null;
46636
+ attention_to: string | null;
46637
+ bank_account_holder: string | null;
46638
+ bank_account_number: string | null;
46639
+ bank_address_line1: string | null;
46640
+ bank_address_line2: string | null;
46641
+ bank_bic: string | null;
46642
+ bank_city: string | null;
46643
+ bank_country: string | null;
46644
+ bank_house_number: string | null;
46645
+ bank_iban: string | null;
46646
+ bank_name: string | null;
46647
+ bank_national_code: string | null;
46648
+ bank_postal_code: string | null;
46649
+ bank_state: string | null;
46650
+ billing_email: string | null;
46073
46651
  bio: string | null;
46074
46652
  city: string | null;
46653
+ coc_number: string | null;
46075
46654
  commercial_name: string | null;
46076
46655
  company_name: string;
46077
46656
  connection_status: string;
@@ -46080,21 +46659,28 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46080
46659
  created_at: string;
46081
46660
  custom_fields: import("../integrations/supabase/types").Json;
46082
46661
  customer_class: string | null;
46662
+ customer_number: string | null;
46663
+ discount_days: number | null;
46664
+ discount_percentage: number | null;
46083
46665
  email: string | null;
46084
46666
  external_id: string | null;
46667
+ fax: string | null;
46085
46668
  floriday_connection_id: string | null;
46086
46669
  floriday_organization_id: string | null;
46087
46670
  floriday_raw: import("../integrations/supabase/types").Json | null;
46088
46671
  gln: string | null;
46089
46672
  house_number: string | null;
46673
+ icp_country_code: string | null;
46090
46674
  id: string;
46091
46675
  is_active: boolean;
46676
+ language: string | null;
46092
46677
  last_synced_at: string | null;
46093
46678
  logo_url: string | null;
46094
46679
  markets: string[];
46095
46680
  notes: string | null;
46096
46681
  organization_type: string | null;
46097
46682
  payment_methods: string[];
46683
+ payment_term_days: number | null;
46098
46684
  phone: string | null;
46099
46685
  postal_code: string | null;
46100
46686
  product_groups: string[];
@@ -46105,13 +46691,33 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46105
46691
  sync_status: string;
46106
46692
  trade_forms: string[];
46107
46693
  updated_at: string;
46694
+ vat_display: string | null;
46108
46695
  vat_number: string | null;
46109
46696
  website: string | null;
46110
46697
  };
46111
46698
  Insert: {
46112
46699
  address?: string | null;
46700
+ address_line1?: string | null;
46701
+ address_line2?: string | null;
46702
+ address_type?: string | null;
46703
+ attention_to?: string | null;
46704
+ bank_account_holder?: string | null;
46705
+ bank_account_number?: string | null;
46706
+ bank_address_line1?: string | null;
46707
+ bank_address_line2?: string | null;
46708
+ bank_bic?: string | null;
46709
+ bank_city?: string | null;
46710
+ bank_country?: string | null;
46711
+ bank_house_number?: string | null;
46712
+ bank_iban?: string | null;
46713
+ bank_name?: string | null;
46714
+ bank_national_code?: string | null;
46715
+ bank_postal_code?: string | null;
46716
+ bank_state?: string | null;
46717
+ billing_email?: string | null;
46113
46718
  bio?: string | null;
46114
46719
  city?: string | null;
46720
+ coc_number?: string | null;
46115
46721
  commercial_name?: string | null;
46116
46722
  company_name: string;
46117
46723
  connection_status?: string;
@@ -46120,21 +46726,28 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46120
46726
  created_at?: string;
46121
46727
  custom_fields?: import("../integrations/supabase/types").Json;
46122
46728
  customer_class?: string | null;
46729
+ customer_number?: string | null;
46730
+ discount_days?: number | null;
46731
+ discount_percentage?: number | null;
46123
46732
  email?: string | null;
46124
46733
  external_id?: string | null;
46734
+ fax?: string | null;
46125
46735
  floriday_connection_id?: string | null;
46126
46736
  floriday_organization_id?: string | null;
46127
46737
  floriday_raw?: import("../integrations/supabase/types").Json | null;
46128
46738
  gln?: string | null;
46129
46739
  house_number?: string | null;
46740
+ icp_country_code?: string | null;
46130
46741
  id?: string;
46131
46742
  is_active?: boolean;
46743
+ language?: string | null;
46132
46744
  last_synced_at?: string | null;
46133
46745
  logo_url?: string | null;
46134
46746
  markets?: string[];
46135
46747
  notes?: string | null;
46136
46748
  organization_type?: string | null;
46137
46749
  payment_methods?: string[];
46750
+ payment_term_days?: number | null;
46138
46751
  phone?: string | null;
46139
46752
  postal_code?: string | null;
46140
46753
  product_groups?: string[];
@@ -46145,13 +46758,33 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46145
46758
  sync_status?: string;
46146
46759
  trade_forms?: string[];
46147
46760
  updated_at?: string;
46761
+ vat_display?: string | null;
46148
46762
  vat_number?: string | null;
46149
46763
  website?: string | null;
46150
46764
  };
46151
46765
  Update: {
46152
46766
  address?: string | null;
46767
+ address_line1?: string | null;
46768
+ address_line2?: string | null;
46769
+ address_type?: string | null;
46770
+ attention_to?: string | null;
46771
+ bank_account_holder?: string | null;
46772
+ bank_account_number?: string | null;
46773
+ bank_address_line1?: string | null;
46774
+ bank_address_line2?: string | null;
46775
+ bank_bic?: string | null;
46776
+ bank_city?: string | null;
46777
+ bank_country?: string | null;
46778
+ bank_house_number?: string | null;
46779
+ bank_iban?: string | null;
46780
+ bank_name?: string | null;
46781
+ bank_national_code?: string | null;
46782
+ bank_postal_code?: string | null;
46783
+ bank_state?: string | null;
46784
+ billing_email?: string | null;
46153
46785
  bio?: string | null;
46154
46786
  city?: string | null;
46787
+ coc_number?: string | null;
46155
46788
  commercial_name?: string | null;
46156
46789
  company_name?: string;
46157
46790
  connection_status?: string;
@@ -46160,21 +46793,28 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46160
46793
  created_at?: string;
46161
46794
  custom_fields?: import("../integrations/supabase/types").Json;
46162
46795
  customer_class?: string | null;
46796
+ customer_number?: string | null;
46797
+ discount_days?: number | null;
46798
+ discount_percentage?: number | null;
46163
46799
  email?: string | null;
46164
46800
  external_id?: string | null;
46801
+ fax?: string | null;
46165
46802
  floriday_connection_id?: string | null;
46166
46803
  floriday_organization_id?: string | null;
46167
46804
  floriday_raw?: import("../integrations/supabase/types").Json | null;
46168
46805
  gln?: string | null;
46169
46806
  house_number?: string | null;
46807
+ icp_country_code?: string | null;
46170
46808
  id?: string;
46171
46809
  is_active?: boolean;
46810
+ language?: string | null;
46172
46811
  last_synced_at?: string | null;
46173
46812
  logo_url?: string | null;
46174
46813
  markets?: string[];
46175
46814
  notes?: string | null;
46176
46815
  organization_type?: string | null;
46177
46816
  payment_methods?: string[];
46817
+ payment_term_days?: number | null;
46178
46818
  phone?: string | null;
46179
46819
  postal_code?: string | null;
46180
46820
  product_groups?: string[];
@@ -46185,6 +46825,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
46185
46825
  sync_status?: string;
46186
46826
  trade_forms?: string[];
46187
46827
  updated_at?: string;
46828
+ vat_display?: string | null;
46188
46829
  vat_number?: string | null;
46189
46830
  website?: string | null;
46190
46831
  };
@@ -52141,6 +52782,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52141
52782
  };
52142
52783
  profiles: {
52143
52784
  Row: {
52785
+ address: string | null;
52144
52786
  created_at: string;
52145
52787
  display_name: string | null;
52146
52788
  email: string | null;
@@ -52151,6 +52793,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52151
52793
  updated_at: string;
52152
52794
  };
52153
52795
  Insert: {
52796
+ address?: string | null;
52154
52797
  created_at?: string;
52155
52798
  display_name?: string | null;
52156
52799
  email?: string | null;
@@ -52161,6 +52804,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
52161
52804
  updated_at?: string;
52162
52805
  };
52163
52806
  Update: {
52807
+ address?: string | null;
52164
52808
  created_at?: string;
52165
52809
  display_name?: string | null;
52166
52810
  email?: string | null;
@@ -55201,7 +55845,7 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
55201
55845
  };
55202
55846
  cleanup_old_bookings: {
55203
55847
  Args: never;
55204
- Returns: number;
55848
+ Returns: undefined;
55205
55849
  };
55206
55850
  consume_floriday_rate_limit: {
55207
55851
  Args: {
@@ -56056,6 +56700,17 @@ export declare const listCarriersForCreateOrder: import("@tanstack/start-client-
56056
56700
  };
56057
56701
  Returns: string;
56058
56702
  };
56703
+ upsert_auto_fulfillment_log: {
56704
+ Args: {
56705
+ p_connection_id: string;
56706
+ p_error?: string;
56707
+ p_fulfillment_order_id?: string;
56708
+ p_reason?: string;
56709
+ p_sales_order_id: string;
56710
+ p_status: string;
56711
+ };
56712
+ Returns: undefined;
56713
+ };
56059
56714
  };
56060
56715
  Enums: {
56061
56716
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -56351,6 +57006,9 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56351
57006
  created_at: string;
56352
57007
  extra_id: string;
56353
57008
  id: string;
57009
+ original_unit_price: number | null;
57010
+ override_reason: string | null;
57011
+ override_unit_price: number | null;
56354
57012
  quantity: number;
56355
57013
  total_price: number;
56356
57014
  unit_price: number;
@@ -56360,6 +57018,9 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56360
57018
  created_at?: string;
56361
57019
  extra_id: string;
56362
57020
  id?: string;
57021
+ original_unit_price?: number | null;
57022
+ override_reason?: string | null;
57023
+ override_unit_price?: number | null;
56363
57024
  quantity?: number;
56364
57025
  total_price?: number;
56365
57026
  unit_price?: number;
@@ -56369,6 +57030,9 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56369
57030
  created_at?: string;
56370
57031
  extra_id?: string;
56371
57032
  id?: string;
57033
+ original_unit_price?: number | null;
57034
+ override_reason?: string | null;
57035
+ override_unit_price?: number | null;
56372
57036
  quantity?: number;
56373
57037
  total_price?: number;
56374
57038
  unit_price?: number;
@@ -56389,11 +57053,15 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56389
57053
  };
56390
57054
  bookings: {
56391
57055
  Row: {
57056
+ archive_reason: string | null;
57057
+ archived_at: string | null;
57058
+ archived_by: string | null;
56392
57059
  company_name: string | null;
56393
57060
  conflict_checked_at: string | null;
56394
57061
  conflict_reason: string | null;
56395
57062
  created_at: string;
56396
57063
  created_by_role: string | null;
57064
+ customer_address: string | null;
56397
57065
  customer_email: string | null;
56398
57066
  customer_name: string | null;
56399
57067
  end_time: string;
@@ -56405,7 +57073,12 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56405
57073
  invoiced_at: string | null;
56406
57074
  notes: string | null;
56407
57075
  number_of_people: number;
57076
+ overridden_at: string | null;
57077
+ overridden_by: string | null;
57078
+ override_reason: string | null;
57079
+ price_override: boolean;
56408
57080
  room_id: string;
57081
+ room_price_override: number | null;
56409
57082
  start_time: string;
56410
57083
  status: string;
56411
57084
  total_excl_vat: number | null;
@@ -56414,11 +57087,15 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56414
57087
  vat_amount: number | null;
56415
57088
  };
56416
57089
  Insert: {
57090
+ archive_reason?: string | null;
57091
+ archived_at?: string | null;
57092
+ archived_by?: string | null;
56417
57093
  company_name?: string | null;
56418
57094
  conflict_checked_at?: string | null;
56419
57095
  conflict_reason?: string | null;
56420
57096
  created_at?: string;
56421
57097
  created_by_role?: string | null;
57098
+ customer_address?: string | null;
56422
57099
  customer_email?: string | null;
56423
57100
  customer_name?: string | null;
56424
57101
  end_time: string;
@@ -56430,7 +57107,12 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56430
57107
  invoiced_at?: string | null;
56431
57108
  notes?: string | null;
56432
57109
  number_of_people?: number;
57110
+ overridden_at?: string | null;
57111
+ overridden_by?: string | null;
57112
+ override_reason?: string | null;
57113
+ price_override?: boolean;
56433
57114
  room_id: string;
57115
+ room_price_override?: number | null;
56434
57116
  start_time: string;
56435
57117
  status?: string;
56436
57118
  total_excl_vat?: number | null;
@@ -56439,11 +57121,15 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56439
57121
  vat_amount?: number | null;
56440
57122
  };
56441
57123
  Update: {
57124
+ archive_reason?: string | null;
57125
+ archived_at?: string | null;
57126
+ archived_by?: string | null;
56442
57127
  company_name?: string | null;
56443
57128
  conflict_checked_at?: string | null;
56444
57129
  conflict_reason?: string | null;
56445
57130
  created_at?: string;
56446
57131
  created_by_role?: string | null;
57132
+ customer_address?: string | null;
56447
57133
  customer_email?: string | null;
56448
57134
  customer_name?: string | null;
56449
57135
  end_time?: string;
@@ -56455,7 +57141,12 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
56455
57141
  invoiced_at?: string | null;
56456
57142
  notes?: string | null;
56457
57143
  number_of_people?: number;
57144
+ overridden_at?: string | null;
57145
+ overridden_by?: string | null;
57146
+ override_reason?: string | null;
57147
+ price_override?: boolean;
56458
57148
  room_id?: string;
57149
+ room_price_override?: number | null;
56459
57150
  start_time?: string;
56460
57151
  status?: string;
56461
57152
  total_excl_vat?: number | null;
@@ -57284,8 +57975,27 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57284
57975
  customers: {
57285
57976
  Row: {
57286
57977
  address: string | null;
57978
+ address_line1: string | null;
57979
+ address_line2: string | null;
57980
+ address_type: string | null;
57981
+ attention_to: string | null;
57982
+ bank_account_holder: string | null;
57983
+ bank_account_number: string | null;
57984
+ bank_address_line1: string | null;
57985
+ bank_address_line2: string | null;
57986
+ bank_bic: string | null;
57987
+ bank_city: string | null;
57988
+ bank_country: string | null;
57989
+ bank_house_number: string | null;
57990
+ bank_iban: string | null;
57991
+ bank_name: string | null;
57992
+ bank_national_code: string | null;
57993
+ bank_postal_code: string | null;
57994
+ bank_state: string | null;
57995
+ billing_email: string | null;
57287
57996
  bio: string | null;
57288
57997
  city: string | null;
57998
+ coc_number: string | null;
57289
57999
  commercial_name: string | null;
57290
58000
  company_name: string;
57291
58001
  connection_status: string;
@@ -57294,21 +58004,28 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57294
58004
  created_at: string;
57295
58005
  custom_fields: import("../integrations/supabase/types").Json;
57296
58006
  customer_class: string | null;
58007
+ customer_number: string | null;
58008
+ discount_days: number | null;
58009
+ discount_percentage: number | null;
57297
58010
  email: string | null;
57298
58011
  external_id: string | null;
58012
+ fax: string | null;
57299
58013
  floriday_connection_id: string | null;
57300
58014
  floriday_organization_id: string | null;
57301
58015
  floriday_raw: import("../integrations/supabase/types").Json | null;
57302
58016
  gln: string | null;
57303
58017
  house_number: string | null;
58018
+ icp_country_code: string | null;
57304
58019
  id: string;
57305
58020
  is_active: boolean;
58021
+ language: string | null;
57306
58022
  last_synced_at: string | null;
57307
58023
  logo_url: string | null;
57308
58024
  markets: string[];
57309
58025
  notes: string | null;
57310
58026
  organization_type: string | null;
57311
58027
  payment_methods: string[];
58028
+ payment_term_days: number | null;
57312
58029
  phone: string | null;
57313
58030
  postal_code: string | null;
57314
58031
  product_groups: string[];
@@ -57319,13 +58036,33 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57319
58036
  sync_status: string;
57320
58037
  trade_forms: string[];
57321
58038
  updated_at: string;
58039
+ vat_display: string | null;
57322
58040
  vat_number: string | null;
57323
58041
  website: string | null;
57324
58042
  };
57325
58043
  Insert: {
57326
58044
  address?: string | null;
58045
+ address_line1?: string | null;
58046
+ address_line2?: string | null;
58047
+ address_type?: string | null;
58048
+ attention_to?: string | null;
58049
+ bank_account_holder?: string | null;
58050
+ bank_account_number?: string | null;
58051
+ bank_address_line1?: string | null;
58052
+ bank_address_line2?: string | null;
58053
+ bank_bic?: string | null;
58054
+ bank_city?: string | null;
58055
+ bank_country?: string | null;
58056
+ bank_house_number?: string | null;
58057
+ bank_iban?: string | null;
58058
+ bank_name?: string | null;
58059
+ bank_national_code?: string | null;
58060
+ bank_postal_code?: string | null;
58061
+ bank_state?: string | null;
58062
+ billing_email?: string | null;
57327
58063
  bio?: string | null;
57328
58064
  city?: string | null;
58065
+ coc_number?: string | null;
57329
58066
  commercial_name?: string | null;
57330
58067
  company_name: string;
57331
58068
  connection_status?: string;
@@ -57334,21 +58071,28 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57334
58071
  created_at?: string;
57335
58072
  custom_fields?: import("../integrations/supabase/types").Json;
57336
58073
  customer_class?: string | null;
58074
+ customer_number?: string | null;
58075
+ discount_days?: number | null;
58076
+ discount_percentage?: number | null;
57337
58077
  email?: string | null;
57338
58078
  external_id?: string | null;
58079
+ fax?: string | null;
57339
58080
  floriday_connection_id?: string | null;
57340
58081
  floriday_organization_id?: string | null;
57341
58082
  floriday_raw?: import("../integrations/supabase/types").Json | null;
57342
58083
  gln?: string | null;
57343
58084
  house_number?: string | null;
58085
+ icp_country_code?: string | null;
57344
58086
  id?: string;
57345
58087
  is_active?: boolean;
58088
+ language?: string | null;
57346
58089
  last_synced_at?: string | null;
57347
58090
  logo_url?: string | null;
57348
58091
  markets?: string[];
57349
58092
  notes?: string | null;
57350
58093
  organization_type?: string | null;
57351
58094
  payment_methods?: string[];
58095
+ payment_term_days?: number | null;
57352
58096
  phone?: string | null;
57353
58097
  postal_code?: string | null;
57354
58098
  product_groups?: string[];
@@ -57359,13 +58103,33 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57359
58103
  sync_status?: string;
57360
58104
  trade_forms?: string[];
57361
58105
  updated_at?: string;
58106
+ vat_display?: string | null;
57362
58107
  vat_number?: string | null;
57363
58108
  website?: string | null;
57364
58109
  };
57365
58110
  Update: {
57366
58111
  address?: string | null;
58112
+ address_line1?: string | null;
58113
+ address_line2?: string | null;
58114
+ address_type?: string | null;
58115
+ attention_to?: string | null;
58116
+ bank_account_holder?: string | null;
58117
+ bank_account_number?: string | null;
58118
+ bank_address_line1?: string | null;
58119
+ bank_address_line2?: string | null;
58120
+ bank_bic?: string | null;
58121
+ bank_city?: string | null;
58122
+ bank_country?: string | null;
58123
+ bank_house_number?: string | null;
58124
+ bank_iban?: string | null;
58125
+ bank_name?: string | null;
58126
+ bank_national_code?: string | null;
58127
+ bank_postal_code?: string | null;
58128
+ bank_state?: string | null;
58129
+ billing_email?: string | null;
57367
58130
  bio?: string | null;
57368
58131
  city?: string | null;
58132
+ coc_number?: string | null;
57369
58133
  commercial_name?: string | null;
57370
58134
  company_name?: string;
57371
58135
  connection_status?: string;
@@ -57374,21 +58138,28 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57374
58138
  created_at?: string;
57375
58139
  custom_fields?: import("../integrations/supabase/types").Json;
57376
58140
  customer_class?: string | null;
58141
+ customer_number?: string | null;
58142
+ discount_days?: number | null;
58143
+ discount_percentage?: number | null;
57377
58144
  email?: string | null;
57378
58145
  external_id?: string | null;
58146
+ fax?: string | null;
57379
58147
  floriday_connection_id?: string | null;
57380
58148
  floriday_organization_id?: string | null;
57381
58149
  floriday_raw?: import("../integrations/supabase/types").Json | null;
57382
58150
  gln?: string | null;
57383
58151
  house_number?: string | null;
58152
+ icp_country_code?: string | null;
57384
58153
  id?: string;
57385
58154
  is_active?: boolean;
58155
+ language?: string | null;
57386
58156
  last_synced_at?: string | null;
57387
58157
  logo_url?: string | null;
57388
58158
  markets?: string[];
57389
58159
  notes?: string | null;
57390
58160
  organization_type?: string | null;
57391
58161
  payment_methods?: string[];
58162
+ payment_term_days?: number | null;
57392
58163
  phone?: string | null;
57393
58164
  postal_code?: string | null;
57394
58165
  product_groups?: string[];
@@ -57399,6 +58170,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
57399
58170
  sync_status?: string;
57400
58171
  trade_forms?: string[];
57401
58172
  updated_at?: string;
58173
+ vat_display?: string | null;
57402
58174
  vat_number?: string | null;
57403
58175
  website?: string | null;
57404
58176
  };
@@ -63355,6 +64127,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63355
64127
  };
63356
64128
  profiles: {
63357
64129
  Row: {
64130
+ address: string | null;
63358
64131
  created_at: string;
63359
64132
  display_name: string | null;
63360
64133
  email: string | null;
@@ -63365,6 +64138,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63365
64138
  updated_at: string;
63366
64139
  };
63367
64140
  Insert: {
64141
+ address?: string | null;
63368
64142
  created_at?: string;
63369
64143
  display_name?: string | null;
63370
64144
  email?: string | null;
@@ -63375,6 +64149,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
63375
64149
  updated_at?: string;
63376
64150
  };
63377
64151
  Update: {
64152
+ address?: string | null;
63378
64153
  created_at?: string;
63379
64154
  display_name?: string | null;
63380
64155
  email?: string | null;
@@ -66415,7 +67190,7 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
66415
67190
  };
66416
67191
  cleanup_old_bookings: {
66417
67192
  Args: never;
66418
- Returns: number;
67193
+ Returns: undefined;
66419
67194
  };
66420
67195
  consume_floriday_rate_limit: {
66421
67196
  Args: {
@@ -67270,6 +68045,17 @@ export declare const getOrderPickDaysCO: import("@tanstack/start-client-core").O
67270
68045
  };
67271
68046
  Returns: string;
67272
68047
  };
68048
+ upsert_auto_fulfillment_log: {
68049
+ Args: {
68050
+ p_connection_id: string;
68051
+ p_error?: string;
68052
+ p_fulfillment_order_id?: string;
68053
+ p_reason?: string;
68054
+ p_sales_order_id: string;
68055
+ p_status: string;
68056
+ };
68057
+ Returns: undefined;
68058
+ };
67273
68059
  };
67274
68060
  Enums: {
67275
68061
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -67559,6 +68345,9 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67559
68345
  created_at: string;
67560
68346
  extra_id: string;
67561
68347
  id: string;
68348
+ original_unit_price: number | null;
68349
+ override_reason: string | null;
68350
+ override_unit_price: number | null;
67562
68351
  quantity: number;
67563
68352
  total_price: number;
67564
68353
  unit_price: number;
@@ -67568,6 +68357,9 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67568
68357
  created_at?: string;
67569
68358
  extra_id: string;
67570
68359
  id?: string;
68360
+ original_unit_price?: number | null;
68361
+ override_reason?: string | null;
68362
+ override_unit_price?: number | null;
67571
68363
  quantity?: number;
67572
68364
  total_price?: number;
67573
68365
  unit_price?: number;
@@ -67577,6 +68369,9 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67577
68369
  created_at?: string;
67578
68370
  extra_id?: string;
67579
68371
  id?: string;
68372
+ original_unit_price?: number | null;
68373
+ override_reason?: string | null;
68374
+ override_unit_price?: number | null;
67580
68375
  quantity?: number;
67581
68376
  total_price?: number;
67582
68377
  unit_price?: number;
@@ -67597,11 +68392,15 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67597
68392
  };
67598
68393
  bookings: {
67599
68394
  Row: {
68395
+ archive_reason: string | null;
68396
+ archived_at: string | null;
68397
+ archived_by: string | null;
67600
68398
  company_name: string | null;
67601
68399
  conflict_checked_at: string | null;
67602
68400
  conflict_reason: string | null;
67603
68401
  created_at: string;
67604
68402
  created_by_role: string | null;
68403
+ customer_address: string | null;
67605
68404
  customer_email: string | null;
67606
68405
  customer_name: string | null;
67607
68406
  end_time: string;
@@ -67613,7 +68412,12 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67613
68412
  invoiced_at: string | null;
67614
68413
  notes: string | null;
67615
68414
  number_of_people: number;
68415
+ overridden_at: string | null;
68416
+ overridden_by: string | null;
68417
+ override_reason: string | null;
68418
+ price_override: boolean;
67616
68419
  room_id: string;
68420
+ room_price_override: number | null;
67617
68421
  start_time: string;
67618
68422
  status: string;
67619
68423
  total_excl_vat: number | null;
@@ -67622,11 +68426,15 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67622
68426
  vat_amount: number | null;
67623
68427
  };
67624
68428
  Insert: {
68429
+ archive_reason?: string | null;
68430
+ archived_at?: string | null;
68431
+ archived_by?: string | null;
67625
68432
  company_name?: string | null;
67626
68433
  conflict_checked_at?: string | null;
67627
68434
  conflict_reason?: string | null;
67628
68435
  created_at?: string;
67629
68436
  created_by_role?: string | null;
68437
+ customer_address?: string | null;
67630
68438
  customer_email?: string | null;
67631
68439
  customer_name?: string | null;
67632
68440
  end_time: string;
@@ -67638,7 +68446,12 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67638
68446
  invoiced_at?: string | null;
67639
68447
  notes?: string | null;
67640
68448
  number_of_people?: number;
68449
+ overridden_at?: string | null;
68450
+ overridden_by?: string | null;
68451
+ override_reason?: string | null;
68452
+ price_override?: boolean;
67641
68453
  room_id: string;
68454
+ room_price_override?: number | null;
67642
68455
  start_time: string;
67643
68456
  status?: string;
67644
68457
  total_excl_vat?: number | null;
@@ -67647,11 +68460,15 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67647
68460
  vat_amount?: number | null;
67648
68461
  };
67649
68462
  Update: {
68463
+ archive_reason?: string | null;
68464
+ archived_at?: string | null;
68465
+ archived_by?: string | null;
67650
68466
  company_name?: string | null;
67651
68467
  conflict_checked_at?: string | null;
67652
68468
  conflict_reason?: string | null;
67653
68469
  created_at?: string;
67654
68470
  created_by_role?: string | null;
68471
+ customer_address?: string | null;
67655
68472
  customer_email?: string | null;
67656
68473
  customer_name?: string | null;
67657
68474
  end_time?: string;
@@ -67663,7 +68480,12 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
67663
68480
  invoiced_at?: string | null;
67664
68481
  notes?: string | null;
67665
68482
  number_of_people?: number;
68483
+ overridden_at?: string | null;
68484
+ overridden_by?: string | null;
68485
+ override_reason?: string | null;
68486
+ price_override?: boolean;
67666
68487
  room_id?: string;
68488
+ room_price_override?: number | null;
67667
68489
  start_time?: string;
67668
68490
  status?: string;
67669
68491
  total_excl_vat?: number | null;
@@ -68492,8 +69314,27 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68492
69314
  customers: {
68493
69315
  Row: {
68494
69316
  address: string | null;
69317
+ address_line1: string | null;
69318
+ address_line2: string | null;
69319
+ address_type: string | null;
69320
+ attention_to: string | null;
69321
+ bank_account_holder: string | null;
69322
+ bank_account_number: string | null;
69323
+ bank_address_line1: string | null;
69324
+ bank_address_line2: string | null;
69325
+ bank_bic: string | null;
69326
+ bank_city: string | null;
69327
+ bank_country: string | null;
69328
+ bank_house_number: string | null;
69329
+ bank_iban: string | null;
69330
+ bank_name: string | null;
69331
+ bank_national_code: string | null;
69332
+ bank_postal_code: string | null;
69333
+ bank_state: string | null;
69334
+ billing_email: string | null;
68495
69335
  bio: string | null;
68496
69336
  city: string | null;
69337
+ coc_number: string | null;
68497
69338
  commercial_name: string | null;
68498
69339
  company_name: string;
68499
69340
  connection_status: string;
@@ -68502,21 +69343,28 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68502
69343
  created_at: string;
68503
69344
  custom_fields: import("../integrations/supabase/types").Json;
68504
69345
  customer_class: string | null;
69346
+ customer_number: string | null;
69347
+ discount_days: number | null;
69348
+ discount_percentage: number | null;
68505
69349
  email: string | null;
68506
69350
  external_id: string | null;
69351
+ fax: string | null;
68507
69352
  floriday_connection_id: string | null;
68508
69353
  floriday_organization_id: string | null;
68509
69354
  floriday_raw: import("../integrations/supabase/types").Json | null;
68510
69355
  gln: string | null;
68511
69356
  house_number: string | null;
69357
+ icp_country_code: string | null;
68512
69358
  id: string;
68513
69359
  is_active: boolean;
69360
+ language: string | null;
68514
69361
  last_synced_at: string | null;
68515
69362
  logo_url: string | null;
68516
69363
  markets: string[];
68517
69364
  notes: string | null;
68518
69365
  organization_type: string | null;
68519
69366
  payment_methods: string[];
69367
+ payment_term_days: number | null;
68520
69368
  phone: string | null;
68521
69369
  postal_code: string | null;
68522
69370
  product_groups: string[];
@@ -68527,13 +69375,33 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68527
69375
  sync_status: string;
68528
69376
  trade_forms: string[];
68529
69377
  updated_at: string;
69378
+ vat_display: string | null;
68530
69379
  vat_number: string | null;
68531
69380
  website: string | null;
68532
69381
  };
68533
69382
  Insert: {
68534
69383
  address?: string | null;
69384
+ address_line1?: string | null;
69385
+ address_line2?: string | null;
69386
+ address_type?: string | null;
69387
+ attention_to?: string | null;
69388
+ bank_account_holder?: string | null;
69389
+ bank_account_number?: string | null;
69390
+ bank_address_line1?: string | null;
69391
+ bank_address_line2?: string | null;
69392
+ bank_bic?: string | null;
69393
+ bank_city?: string | null;
69394
+ bank_country?: string | null;
69395
+ bank_house_number?: string | null;
69396
+ bank_iban?: string | null;
69397
+ bank_name?: string | null;
69398
+ bank_national_code?: string | null;
69399
+ bank_postal_code?: string | null;
69400
+ bank_state?: string | null;
69401
+ billing_email?: string | null;
68535
69402
  bio?: string | null;
68536
69403
  city?: string | null;
69404
+ coc_number?: string | null;
68537
69405
  commercial_name?: string | null;
68538
69406
  company_name: string;
68539
69407
  connection_status?: string;
@@ -68542,21 +69410,28 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68542
69410
  created_at?: string;
68543
69411
  custom_fields?: import("../integrations/supabase/types").Json;
68544
69412
  customer_class?: string | null;
69413
+ customer_number?: string | null;
69414
+ discount_days?: number | null;
69415
+ discount_percentage?: number | null;
68545
69416
  email?: string | null;
68546
69417
  external_id?: string | null;
69418
+ fax?: string | null;
68547
69419
  floriday_connection_id?: string | null;
68548
69420
  floriday_organization_id?: string | null;
68549
69421
  floriday_raw?: import("../integrations/supabase/types").Json | null;
68550
69422
  gln?: string | null;
68551
69423
  house_number?: string | null;
69424
+ icp_country_code?: string | null;
68552
69425
  id?: string;
68553
69426
  is_active?: boolean;
69427
+ language?: string | null;
68554
69428
  last_synced_at?: string | null;
68555
69429
  logo_url?: string | null;
68556
69430
  markets?: string[];
68557
69431
  notes?: string | null;
68558
69432
  organization_type?: string | null;
68559
69433
  payment_methods?: string[];
69434
+ payment_term_days?: number | null;
68560
69435
  phone?: string | null;
68561
69436
  postal_code?: string | null;
68562
69437
  product_groups?: string[];
@@ -68567,13 +69442,33 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68567
69442
  sync_status?: string;
68568
69443
  trade_forms?: string[];
68569
69444
  updated_at?: string;
69445
+ vat_display?: string | null;
68570
69446
  vat_number?: string | null;
68571
69447
  website?: string | null;
68572
69448
  };
68573
69449
  Update: {
68574
69450
  address?: string | null;
69451
+ address_line1?: string | null;
69452
+ address_line2?: string | null;
69453
+ address_type?: string | null;
69454
+ attention_to?: string | null;
69455
+ bank_account_holder?: string | null;
69456
+ bank_account_number?: string | null;
69457
+ bank_address_line1?: string | null;
69458
+ bank_address_line2?: string | null;
69459
+ bank_bic?: string | null;
69460
+ bank_city?: string | null;
69461
+ bank_country?: string | null;
69462
+ bank_house_number?: string | null;
69463
+ bank_iban?: string | null;
69464
+ bank_name?: string | null;
69465
+ bank_national_code?: string | null;
69466
+ bank_postal_code?: string | null;
69467
+ bank_state?: string | null;
69468
+ billing_email?: string | null;
68575
69469
  bio?: string | null;
68576
69470
  city?: string | null;
69471
+ coc_number?: string | null;
68577
69472
  commercial_name?: string | null;
68578
69473
  company_name?: string;
68579
69474
  connection_status?: string;
@@ -68582,21 +69477,28 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68582
69477
  created_at?: string;
68583
69478
  custom_fields?: import("../integrations/supabase/types").Json;
68584
69479
  customer_class?: string | null;
69480
+ customer_number?: string | null;
69481
+ discount_days?: number | null;
69482
+ discount_percentage?: number | null;
68585
69483
  email?: string | null;
68586
69484
  external_id?: string | null;
69485
+ fax?: string | null;
68587
69486
  floriday_connection_id?: string | null;
68588
69487
  floriday_organization_id?: string | null;
68589
69488
  floriday_raw?: import("../integrations/supabase/types").Json | null;
68590
69489
  gln?: string | null;
68591
69490
  house_number?: string | null;
69491
+ icp_country_code?: string | null;
68592
69492
  id?: string;
68593
69493
  is_active?: boolean;
69494
+ language?: string | null;
68594
69495
  last_synced_at?: string | null;
68595
69496
  logo_url?: string | null;
68596
69497
  markets?: string[];
68597
69498
  notes?: string | null;
68598
69499
  organization_type?: string | null;
68599
69500
  payment_methods?: string[];
69501
+ payment_term_days?: number | null;
68600
69502
  phone?: string | null;
68601
69503
  postal_code?: string | null;
68602
69504
  product_groups?: string[];
@@ -68607,6 +69509,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
68607
69509
  sync_status?: string;
68608
69510
  trade_forms?: string[];
68609
69511
  updated_at?: string;
69512
+ vat_display?: string | null;
68610
69513
  vat_number?: string | null;
68611
69514
  website?: string | null;
68612
69515
  };
@@ -74563,6 +75466,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
74563
75466
  };
74564
75467
  profiles: {
74565
75468
  Row: {
75469
+ address: string | null;
74566
75470
  created_at: string;
74567
75471
  display_name: string | null;
74568
75472
  email: string | null;
@@ -74573,6 +75477,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
74573
75477
  updated_at: string;
74574
75478
  };
74575
75479
  Insert: {
75480
+ address?: string | null;
74576
75481
  created_at?: string;
74577
75482
  display_name?: string | null;
74578
75483
  email?: string | null;
@@ -74583,6 +75488,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
74583
75488
  updated_at?: string;
74584
75489
  };
74585
75490
  Update: {
75491
+ address?: string | null;
74586
75492
  created_at?: string;
74587
75493
  display_name?: string | null;
74588
75494
  email?: string | null;
@@ -77623,7 +78529,7 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
77623
78529
  };
77624
78530
  cleanup_old_bookings: {
77625
78531
  Args: never;
77626
- Returns: number;
78532
+ Returns: undefined;
77627
78533
  };
77628
78534
  consume_floriday_rate_limit: {
77629
78535
  Args: {
@@ -78478,6 +79384,17 @@ export declare const createManualOrder: import("@tanstack/start-client-core").Op
78478
79384
  };
78479
79385
  Returns: string;
78480
79386
  };
79387
+ upsert_auto_fulfillment_log: {
79388
+ Args: {
79389
+ p_connection_id: string;
79390
+ p_error?: string;
79391
+ p_fulfillment_order_id?: string;
79392
+ p_reason?: string;
79393
+ p_sales_order_id: string;
79394
+ p_status: string;
79395
+ };
79396
+ Returns: undefined;
79397
+ };
78481
79398
  };
78482
79399
  Enums: {
78483
79400
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -78783,6 +79700,9 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78783
79700
  created_at: string;
78784
79701
  extra_id: string;
78785
79702
  id: string;
79703
+ original_unit_price: number | null;
79704
+ override_reason: string | null;
79705
+ override_unit_price: number | null;
78786
79706
  quantity: number;
78787
79707
  total_price: number;
78788
79708
  unit_price: number;
@@ -78792,6 +79712,9 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78792
79712
  created_at?: string;
78793
79713
  extra_id: string;
78794
79714
  id?: string;
79715
+ original_unit_price?: number | null;
79716
+ override_reason?: string | null;
79717
+ override_unit_price?: number | null;
78795
79718
  quantity?: number;
78796
79719
  total_price?: number;
78797
79720
  unit_price?: number;
@@ -78801,6 +79724,9 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78801
79724
  created_at?: string;
78802
79725
  extra_id?: string;
78803
79726
  id?: string;
79727
+ original_unit_price?: number | null;
79728
+ override_reason?: string | null;
79729
+ override_unit_price?: number | null;
78804
79730
  quantity?: number;
78805
79731
  total_price?: number;
78806
79732
  unit_price?: number;
@@ -78821,11 +79747,15 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78821
79747
  };
78822
79748
  bookings: {
78823
79749
  Row: {
79750
+ archive_reason: string | null;
79751
+ archived_at: string | null;
79752
+ archived_by: string | null;
78824
79753
  company_name: string | null;
78825
79754
  conflict_checked_at: string | null;
78826
79755
  conflict_reason: string | null;
78827
79756
  created_at: string;
78828
79757
  created_by_role: string | null;
79758
+ customer_address: string | null;
78829
79759
  customer_email: string | null;
78830
79760
  customer_name: string | null;
78831
79761
  end_time: string;
@@ -78837,7 +79767,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78837
79767
  invoiced_at: string | null;
78838
79768
  notes: string | null;
78839
79769
  number_of_people: number;
79770
+ overridden_at: string | null;
79771
+ overridden_by: string | null;
79772
+ override_reason: string | null;
79773
+ price_override: boolean;
78840
79774
  room_id: string;
79775
+ room_price_override: number | null;
78841
79776
  start_time: string;
78842
79777
  status: string;
78843
79778
  total_excl_vat: number | null;
@@ -78846,11 +79781,15 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78846
79781
  vat_amount: number | null;
78847
79782
  };
78848
79783
  Insert: {
79784
+ archive_reason?: string | null;
79785
+ archived_at?: string | null;
79786
+ archived_by?: string | null;
78849
79787
  company_name?: string | null;
78850
79788
  conflict_checked_at?: string | null;
78851
79789
  conflict_reason?: string | null;
78852
79790
  created_at?: string;
78853
79791
  created_by_role?: string | null;
79792
+ customer_address?: string | null;
78854
79793
  customer_email?: string | null;
78855
79794
  customer_name?: string | null;
78856
79795
  end_time: string;
@@ -78862,7 +79801,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78862
79801
  invoiced_at?: string | null;
78863
79802
  notes?: string | null;
78864
79803
  number_of_people?: number;
79804
+ overridden_at?: string | null;
79805
+ overridden_by?: string | null;
79806
+ override_reason?: string | null;
79807
+ price_override?: boolean;
78865
79808
  room_id: string;
79809
+ room_price_override?: number | null;
78866
79810
  start_time: string;
78867
79811
  status?: string;
78868
79812
  total_excl_vat?: number | null;
@@ -78871,11 +79815,15 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78871
79815
  vat_amount?: number | null;
78872
79816
  };
78873
79817
  Update: {
79818
+ archive_reason?: string | null;
79819
+ archived_at?: string | null;
79820
+ archived_by?: string | null;
78874
79821
  company_name?: string | null;
78875
79822
  conflict_checked_at?: string | null;
78876
79823
  conflict_reason?: string | null;
78877
79824
  created_at?: string;
78878
79825
  created_by_role?: string | null;
79826
+ customer_address?: string | null;
78879
79827
  customer_email?: string | null;
78880
79828
  customer_name?: string | null;
78881
79829
  end_time?: string;
@@ -78887,7 +79835,12 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
78887
79835
  invoiced_at?: string | null;
78888
79836
  notes?: string | null;
78889
79837
  number_of_people?: number;
79838
+ overridden_at?: string | null;
79839
+ overridden_by?: string | null;
79840
+ override_reason?: string | null;
79841
+ price_override?: boolean;
78890
79842
  room_id?: string;
79843
+ room_price_override?: number | null;
78891
79844
  start_time?: string;
78892
79845
  status?: string;
78893
79846
  total_excl_vat?: number | null;
@@ -79716,8 +80669,27 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79716
80669
  customers: {
79717
80670
  Row: {
79718
80671
  address: string | null;
80672
+ address_line1: string | null;
80673
+ address_line2: string | null;
80674
+ address_type: string | null;
80675
+ attention_to: string | null;
80676
+ bank_account_holder: string | null;
80677
+ bank_account_number: string | null;
80678
+ bank_address_line1: string | null;
80679
+ bank_address_line2: string | null;
80680
+ bank_bic: string | null;
80681
+ bank_city: string | null;
80682
+ bank_country: string | null;
80683
+ bank_house_number: string | null;
80684
+ bank_iban: string | null;
80685
+ bank_name: string | null;
80686
+ bank_national_code: string | null;
80687
+ bank_postal_code: string | null;
80688
+ bank_state: string | null;
80689
+ billing_email: string | null;
79719
80690
  bio: string | null;
79720
80691
  city: string | null;
80692
+ coc_number: string | null;
79721
80693
  commercial_name: string | null;
79722
80694
  company_name: string;
79723
80695
  connection_status: string;
@@ -79726,21 +80698,28 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79726
80698
  created_at: string;
79727
80699
  custom_fields: import("../integrations/supabase/types").Json;
79728
80700
  customer_class: string | null;
80701
+ customer_number: string | null;
80702
+ discount_days: number | null;
80703
+ discount_percentage: number | null;
79729
80704
  email: string | null;
79730
80705
  external_id: string | null;
80706
+ fax: string | null;
79731
80707
  floriday_connection_id: string | null;
79732
80708
  floriday_organization_id: string | null;
79733
80709
  floriday_raw: import("../integrations/supabase/types").Json | null;
79734
80710
  gln: string | null;
79735
80711
  house_number: string | null;
80712
+ icp_country_code: string | null;
79736
80713
  id: string;
79737
80714
  is_active: boolean;
80715
+ language: string | null;
79738
80716
  last_synced_at: string | null;
79739
80717
  logo_url: string | null;
79740
80718
  markets: string[];
79741
80719
  notes: string | null;
79742
80720
  organization_type: string | null;
79743
80721
  payment_methods: string[];
80722
+ payment_term_days: number | null;
79744
80723
  phone: string | null;
79745
80724
  postal_code: string | null;
79746
80725
  product_groups: string[];
@@ -79751,13 +80730,33 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79751
80730
  sync_status: string;
79752
80731
  trade_forms: string[];
79753
80732
  updated_at: string;
80733
+ vat_display: string | null;
79754
80734
  vat_number: string | null;
79755
80735
  website: string | null;
79756
80736
  };
79757
80737
  Insert: {
79758
80738
  address?: string | null;
80739
+ address_line1?: string | null;
80740
+ address_line2?: string | null;
80741
+ address_type?: string | null;
80742
+ attention_to?: string | null;
80743
+ bank_account_holder?: string | null;
80744
+ bank_account_number?: string | null;
80745
+ bank_address_line1?: string | null;
80746
+ bank_address_line2?: string | null;
80747
+ bank_bic?: string | null;
80748
+ bank_city?: string | null;
80749
+ bank_country?: string | null;
80750
+ bank_house_number?: string | null;
80751
+ bank_iban?: string | null;
80752
+ bank_name?: string | null;
80753
+ bank_national_code?: string | null;
80754
+ bank_postal_code?: string | null;
80755
+ bank_state?: string | null;
80756
+ billing_email?: string | null;
79759
80757
  bio?: string | null;
79760
80758
  city?: string | null;
80759
+ coc_number?: string | null;
79761
80760
  commercial_name?: string | null;
79762
80761
  company_name: string;
79763
80762
  connection_status?: string;
@@ -79766,21 +80765,28 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79766
80765
  created_at?: string;
79767
80766
  custom_fields?: import("../integrations/supabase/types").Json;
79768
80767
  customer_class?: string | null;
80768
+ customer_number?: string | null;
80769
+ discount_days?: number | null;
80770
+ discount_percentage?: number | null;
79769
80771
  email?: string | null;
79770
80772
  external_id?: string | null;
80773
+ fax?: string | null;
79771
80774
  floriday_connection_id?: string | null;
79772
80775
  floriday_organization_id?: string | null;
79773
80776
  floriday_raw?: import("../integrations/supabase/types").Json | null;
79774
80777
  gln?: string | null;
79775
80778
  house_number?: string | null;
80779
+ icp_country_code?: string | null;
79776
80780
  id?: string;
79777
80781
  is_active?: boolean;
80782
+ language?: string | null;
79778
80783
  last_synced_at?: string | null;
79779
80784
  logo_url?: string | null;
79780
80785
  markets?: string[];
79781
80786
  notes?: string | null;
79782
80787
  organization_type?: string | null;
79783
80788
  payment_methods?: string[];
80789
+ payment_term_days?: number | null;
79784
80790
  phone?: string | null;
79785
80791
  postal_code?: string | null;
79786
80792
  product_groups?: string[];
@@ -79791,13 +80797,33 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79791
80797
  sync_status?: string;
79792
80798
  trade_forms?: string[];
79793
80799
  updated_at?: string;
80800
+ vat_display?: string | null;
79794
80801
  vat_number?: string | null;
79795
80802
  website?: string | null;
79796
80803
  };
79797
80804
  Update: {
79798
80805
  address?: string | null;
80806
+ address_line1?: string | null;
80807
+ address_line2?: string | null;
80808
+ address_type?: string | null;
80809
+ attention_to?: string | null;
80810
+ bank_account_holder?: string | null;
80811
+ bank_account_number?: string | null;
80812
+ bank_address_line1?: string | null;
80813
+ bank_address_line2?: string | null;
80814
+ bank_bic?: string | null;
80815
+ bank_city?: string | null;
80816
+ bank_country?: string | null;
80817
+ bank_house_number?: string | null;
80818
+ bank_iban?: string | null;
80819
+ bank_name?: string | null;
80820
+ bank_national_code?: string | null;
80821
+ bank_postal_code?: string | null;
80822
+ bank_state?: string | null;
80823
+ billing_email?: string | null;
79799
80824
  bio?: string | null;
79800
80825
  city?: string | null;
80826
+ coc_number?: string | null;
79801
80827
  commercial_name?: string | null;
79802
80828
  company_name?: string;
79803
80829
  connection_status?: string;
@@ -79806,21 +80832,28 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79806
80832
  created_at?: string;
79807
80833
  custom_fields?: import("../integrations/supabase/types").Json;
79808
80834
  customer_class?: string | null;
80835
+ customer_number?: string | null;
80836
+ discount_days?: number | null;
80837
+ discount_percentage?: number | null;
79809
80838
  email?: string | null;
79810
80839
  external_id?: string | null;
80840
+ fax?: string | null;
79811
80841
  floriday_connection_id?: string | null;
79812
80842
  floriday_organization_id?: string | null;
79813
80843
  floriday_raw?: import("../integrations/supabase/types").Json | null;
79814
80844
  gln?: string | null;
79815
80845
  house_number?: string | null;
80846
+ icp_country_code?: string | null;
79816
80847
  id?: string;
79817
80848
  is_active?: boolean;
80849
+ language?: string | null;
79818
80850
  last_synced_at?: string | null;
79819
80851
  logo_url?: string | null;
79820
80852
  markets?: string[];
79821
80853
  notes?: string | null;
79822
80854
  organization_type?: string | null;
79823
80855
  payment_methods?: string[];
80856
+ payment_term_days?: number | null;
79824
80857
  phone?: string | null;
79825
80858
  postal_code?: string | null;
79826
80859
  product_groups?: string[];
@@ -79831,6 +80864,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
79831
80864
  sync_status?: string;
79832
80865
  trade_forms?: string[];
79833
80866
  updated_at?: string;
80867
+ vat_display?: string | null;
79834
80868
  vat_number?: string | null;
79835
80869
  website?: string | null;
79836
80870
  };
@@ -85787,6 +86821,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
85787
86821
  };
85788
86822
  profiles: {
85789
86823
  Row: {
86824
+ address: string | null;
85790
86825
  created_at: string;
85791
86826
  display_name: string | null;
85792
86827
  email: string | null;
@@ -85797,6 +86832,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
85797
86832
  updated_at: string;
85798
86833
  };
85799
86834
  Insert: {
86835
+ address?: string | null;
85800
86836
  created_at?: string;
85801
86837
  display_name?: string | null;
85802
86838
  email?: string | null;
@@ -85807,6 +86843,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
85807
86843
  updated_at?: string;
85808
86844
  };
85809
86845
  Update: {
86846
+ address?: string | null;
85810
86847
  created_at?: string;
85811
86848
  display_name?: string | null;
85812
86849
  email?: string | null;
@@ -88847,7 +89884,7 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
88847
89884
  };
88848
89885
  cleanup_old_bookings: {
88849
89886
  Args: never;
88850
- Returns: number;
89887
+ Returns: undefined;
88851
89888
  };
88852
89889
  consume_floriday_rate_limit: {
88853
89890
  Args: {
@@ -89702,6 +90739,17 @@ export declare const planAndSaveAutoCarts: import("@tanstack/start-client-core")
89702
90739
  };
89703
90740
  Returns: string;
89704
90741
  };
90742
+ upsert_auto_fulfillment_log: {
90743
+ Args: {
90744
+ p_connection_id: string;
90745
+ p_error?: string;
90746
+ p_fulfillment_order_id?: string;
90747
+ p_reason?: string;
90748
+ p_sales_order_id: string;
90749
+ p_status: string;
90750
+ };
90751
+ Returns: undefined;
90752
+ };
89705
90753
  };
89706
90754
  Enums: {
89707
90755
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -90015,6 +91063,9 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90015
91063
  created_at: string;
90016
91064
  extra_id: string;
90017
91065
  id: string;
91066
+ original_unit_price: number | null;
91067
+ override_reason: string | null;
91068
+ override_unit_price: number | null;
90018
91069
  quantity: number;
90019
91070
  total_price: number;
90020
91071
  unit_price: number;
@@ -90024,6 +91075,9 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90024
91075
  created_at?: string;
90025
91076
  extra_id: string;
90026
91077
  id?: string;
91078
+ original_unit_price?: number | null;
91079
+ override_reason?: string | null;
91080
+ override_unit_price?: number | null;
90027
91081
  quantity?: number;
90028
91082
  total_price?: number;
90029
91083
  unit_price?: number;
@@ -90033,6 +91087,9 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90033
91087
  created_at?: string;
90034
91088
  extra_id?: string;
90035
91089
  id?: string;
91090
+ original_unit_price?: number | null;
91091
+ override_reason?: string | null;
91092
+ override_unit_price?: number | null;
90036
91093
  quantity?: number;
90037
91094
  total_price?: number;
90038
91095
  unit_price?: number;
@@ -90053,11 +91110,15 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90053
91110
  };
90054
91111
  bookings: {
90055
91112
  Row: {
91113
+ archive_reason: string | null;
91114
+ archived_at: string | null;
91115
+ archived_by: string | null;
90056
91116
  company_name: string | null;
90057
91117
  conflict_checked_at: string | null;
90058
91118
  conflict_reason: string | null;
90059
91119
  created_at: string;
90060
91120
  created_by_role: string | null;
91121
+ customer_address: string | null;
90061
91122
  customer_email: string | null;
90062
91123
  customer_name: string | null;
90063
91124
  end_time: string;
@@ -90069,7 +91130,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90069
91130
  invoiced_at: string | null;
90070
91131
  notes: string | null;
90071
91132
  number_of_people: number;
91133
+ overridden_at: string | null;
91134
+ overridden_by: string | null;
91135
+ override_reason: string | null;
91136
+ price_override: boolean;
90072
91137
  room_id: string;
91138
+ room_price_override: number | null;
90073
91139
  start_time: string;
90074
91140
  status: string;
90075
91141
  total_excl_vat: number | null;
@@ -90078,11 +91144,15 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90078
91144
  vat_amount: number | null;
90079
91145
  };
90080
91146
  Insert: {
91147
+ archive_reason?: string | null;
91148
+ archived_at?: string | null;
91149
+ archived_by?: string | null;
90081
91150
  company_name?: string | null;
90082
91151
  conflict_checked_at?: string | null;
90083
91152
  conflict_reason?: string | null;
90084
91153
  created_at?: string;
90085
91154
  created_by_role?: string | null;
91155
+ customer_address?: string | null;
90086
91156
  customer_email?: string | null;
90087
91157
  customer_name?: string | null;
90088
91158
  end_time: string;
@@ -90094,7 +91164,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90094
91164
  invoiced_at?: string | null;
90095
91165
  notes?: string | null;
90096
91166
  number_of_people?: number;
91167
+ overridden_at?: string | null;
91168
+ overridden_by?: string | null;
91169
+ override_reason?: string | null;
91170
+ price_override?: boolean;
90097
91171
  room_id: string;
91172
+ room_price_override?: number | null;
90098
91173
  start_time: string;
90099
91174
  status?: string;
90100
91175
  total_excl_vat?: number | null;
@@ -90103,11 +91178,15 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90103
91178
  vat_amount?: number | null;
90104
91179
  };
90105
91180
  Update: {
91181
+ archive_reason?: string | null;
91182
+ archived_at?: string | null;
91183
+ archived_by?: string | null;
90106
91184
  company_name?: string | null;
90107
91185
  conflict_checked_at?: string | null;
90108
91186
  conflict_reason?: string | null;
90109
91187
  created_at?: string;
90110
91188
  created_by_role?: string | null;
91189
+ customer_address?: string | null;
90111
91190
  customer_email?: string | null;
90112
91191
  customer_name?: string | null;
90113
91192
  end_time?: string;
@@ -90119,7 +91198,12 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90119
91198
  invoiced_at?: string | null;
90120
91199
  notes?: string | null;
90121
91200
  number_of_people?: number;
91201
+ overridden_at?: string | null;
91202
+ overridden_by?: string | null;
91203
+ override_reason?: string | null;
91204
+ price_override?: boolean;
90122
91205
  room_id?: string;
91206
+ room_price_override?: number | null;
90123
91207
  start_time?: string;
90124
91208
  status?: string;
90125
91209
  total_excl_vat?: number | null;
@@ -90948,8 +92032,27 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90948
92032
  customers: {
90949
92033
  Row: {
90950
92034
  address: string | null;
92035
+ address_line1: string | null;
92036
+ address_line2: string | null;
92037
+ address_type: string | null;
92038
+ attention_to: string | null;
92039
+ bank_account_holder: string | null;
92040
+ bank_account_number: string | null;
92041
+ bank_address_line1: string | null;
92042
+ bank_address_line2: string | null;
92043
+ bank_bic: string | null;
92044
+ bank_city: string | null;
92045
+ bank_country: string | null;
92046
+ bank_house_number: string | null;
92047
+ bank_iban: string | null;
92048
+ bank_name: string | null;
92049
+ bank_national_code: string | null;
92050
+ bank_postal_code: string | null;
92051
+ bank_state: string | null;
92052
+ billing_email: string | null;
90951
92053
  bio: string | null;
90952
92054
  city: string | null;
92055
+ coc_number: string | null;
90953
92056
  commercial_name: string | null;
90954
92057
  company_name: string;
90955
92058
  connection_status: string;
@@ -90958,21 +92061,28 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90958
92061
  created_at: string;
90959
92062
  custom_fields: import("../integrations/supabase/types").Json;
90960
92063
  customer_class: string | null;
92064
+ customer_number: string | null;
92065
+ discount_days: number | null;
92066
+ discount_percentage: number | null;
90961
92067
  email: string | null;
90962
92068
  external_id: string | null;
92069
+ fax: string | null;
90963
92070
  floriday_connection_id: string | null;
90964
92071
  floriday_organization_id: string | null;
90965
92072
  floriday_raw: import("../integrations/supabase/types").Json | null;
90966
92073
  gln: string | null;
90967
92074
  house_number: string | null;
92075
+ icp_country_code: string | null;
90968
92076
  id: string;
90969
92077
  is_active: boolean;
92078
+ language: string | null;
90970
92079
  last_synced_at: string | null;
90971
92080
  logo_url: string | null;
90972
92081
  markets: string[];
90973
92082
  notes: string | null;
90974
92083
  organization_type: string | null;
90975
92084
  payment_methods: string[];
92085
+ payment_term_days: number | null;
90976
92086
  phone: string | null;
90977
92087
  postal_code: string | null;
90978
92088
  product_groups: string[];
@@ -90983,13 +92093,33 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90983
92093
  sync_status: string;
90984
92094
  trade_forms: string[];
90985
92095
  updated_at: string;
92096
+ vat_display: string | null;
90986
92097
  vat_number: string | null;
90987
92098
  website: string | null;
90988
92099
  };
90989
92100
  Insert: {
90990
92101
  address?: string | null;
92102
+ address_line1?: string | null;
92103
+ address_line2?: string | null;
92104
+ address_type?: string | null;
92105
+ attention_to?: string | null;
92106
+ bank_account_holder?: string | null;
92107
+ bank_account_number?: string | null;
92108
+ bank_address_line1?: string | null;
92109
+ bank_address_line2?: string | null;
92110
+ bank_bic?: string | null;
92111
+ bank_city?: string | null;
92112
+ bank_country?: string | null;
92113
+ bank_house_number?: string | null;
92114
+ bank_iban?: string | null;
92115
+ bank_name?: string | null;
92116
+ bank_national_code?: string | null;
92117
+ bank_postal_code?: string | null;
92118
+ bank_state?: string | null;
92119
+ billing_email?: string | null;
90991
92120
  bio?: string | null;
90992
92121
  city?: string | null;
92122
+ coc_number?: string | null;
90993
92123
  commercial_name?: string | null;
90994
92124
  company_name: string;
90995
92125
  connection_status?: string;
@@ -90998,21 +92128,28 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
90998
92128
  created_at?: string;
90999
92129
  custom_fields?: import("../integrations/supabase/types").Json;
91000
92130
  customer_class?: string | null;
92131
+ customer_number?: string | null;
92132
+ discount_days?: number | null;
92133
+ discount_percentage?: number | null;
91001
92134
  email?: string | null;
91002
92135
  external_id?: string | null;
92136
+ fax?: string | null;
91003
92137
  floriday_connection_id?: string | null;
91004
92138
  floriday_organization_id?: string | null;
91005
92139
  floriday_raw?: import("../integrations/supabase/types").Json | null;
91006
92140
  gln?: string | null;
91007
92141
  house_number?: string | null;
92142
+ icp_country_code?: string | null;
91008
92143
  id?: string;
91009
92144
  is_active?: boolean;
92145
+ language?: string | null;
91010
92146
  last_synced_at?: string | null;
91011
92147
  logo_url?: string | null;
91012
92148
  markets?: string[];
91013
92149
  notes?: string | null;
91014
92150
  organization_type?: string | null;
91015
92151
  payment_methods?: string[];
92152
+ payment_term_days?: number | null;
91016
92153
  phone?: string | null;
91017
92154
  postal_code?: string | null;
91018
92155
  product_groups?: string[];
@@ -91023,13 +92160,33 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
91023
92160
  sync_status?: string;
91024
92161
  trade_forms?: string[];
91025
92162
  updated_at?: string;
92163
+ vat_display?: string | null;
91026
92164
  vat_number?: string | null;
91027
92165
  website?: string | null;
91028
92166
  };
91029
92167
  Update: {
91030
92168
  address?: string | null;
92169
+ address_line1?: string | null;
92170
+ address_line2?: string | null;
92171
+ address_type?: string | null;
92172
+ attention_to?: string | null;
92173
+ bank_account_holder?: string | null;
92174
+ bank_account_number?: string | null;
92175
+ bank_address_line1?: string | null;
92176
+ bank_address_line2?: string | null;
92177
+ bank_bic?: string | null;
92178
+ bank_city?: string | null;
92179
+ bank_country?: string | null;
92180
+ bank_house_number?: string | null;
92181
+ bank_iban?: string | null;
92182
+ bank_name?: string | null;
92183
+ bank_national_code?: string | null;
92184
+ bank_postal_code?: string | null;
92185
+ bank_state?: string | null;
92186
+ billing_email?: string | null;
91031
92187
  bio?: string | null;
91032
92188
  city?: string | null;
92189
+ coc_number?: string | null;
91033
92190
  commercial_name?: string | null;
91034
92191
  company_name?: string;
91035
92192
  connection_status?: string;
@@ -91038,21 +92195,28 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
91038
92195
  created_at?: string;
91039
92196
  custom_fields?: import("../integrations/supabase/types").Json;
91040
92197
  customer_class?: string | null;
92198
+ customer_number?: string | null;
92199
+ discount_days?: number | null;
92200
+ discount_percentage?: number | null;
91041
92201
  email?: string | null;
91042
92202
  external_id?: string | null;
92203
+ fax?: string | null;
91043
92204
  floriday_connection_id?: string | null;
91044
92205
  floriday_organization_id?: string | null;
91045
92206
  floriday_raw?: import("../integrations/supabase/types").Json | null;
91046
92207
  gln?: string | null;
91047
92208
  house_number?: string | null;
92209
+ icp_country_code?: string | null;
91048
92210
  id?: string;
91049
92211
  is_active?: boolean;
92212
+ language?: string | null;
91050
92213
  last_synced_at?: string | null;
91051
92214
  logo_url?: string | null;
91052
92215
  markets?: string[];
91053
92216
  notes?: string | null;
91054
92217
  organization_type?: string | null;
91055
92218
  payment_methods?: string[];
92219
+ payment_term_days?: number | null;
91056
92220
  phone?: string | null;
91057
92221
  postal_code?: string | null;
91058
92222
  product_groups?: string[];
@@ -91063,6 +92227,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
91063
92227
  sync_status?: string;
91064
92228
  trade_forms?: string[];
91065
92229
  updated_at?: string;
92230
+ vat_display?: string | null;
91066
92231
  vat_number?: string | null;
91067
92232
  website?: string | null;
91068
92233
  };
@@ -97019,6 +98184,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
97019
98184
  };
97020
98185
  profiles: {
97021
98186
  Row: {
98187
+ address: string | null;
97022
98188
  created_at: string;
97023
98189
  display_name: string | null;
97024
98190
  email: string | null;
@@ -97029,6 +98195,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
97029
98195
  updated_at: string;
97030
98196
  };
97031
98197
  Insert: {
98198
+ address?: string | null;
97032
98199
  created_at?: string;
97033
98200
  display_name?: string | null;
97034
98201
  email?: string | null;
@@ -97039,6 +98206,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
97039
98206
  updated_at?: string;
97040
98207
  };
97041
98208
  Update: {
98209
+ address?: string | null;
97042
98210
  created_at?: string;
97043
98211
  display_name?: string | null;
97044
98212
  email?: string | null;
@@ -100079,7 +101247,7 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
100079
101247
  };
100080
101248
  cleanup_old_bookings: {
100081
101249
  Args: never;
100082
- Returns: number;
101250
+ Returns: undefined;
100083
101251
  };
100084
101252
  consume_floriday_rate_limit: {
100085
101253
  Args: {
@@ -100934,6 +102102,17 @@ export declare const saveManualCarts: import("@tanstack/start-client-core").Opti
100934
102102
  };
100935
102103
  Returns: string;
100936
102104
  };
102105
+ upsert_auto_fulfillment_log: {
102106
+ Args: {
102107
+ p_connection_id: string;
102108
+ p_error?: string;
102109
+ p_fulfillment_order_id?: string;
102110
+ p_reason?: string;
102111
+ p_sales_order_id: string;
102112
+ p_status: string;
102113
+ };
102114
+ Returns: undefined;
102115
+ };
100937
102116
  };
100938
102117
  Enums: {
100939
102118
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";