@flowselections/floriday-voorraad 1.0.17 → 1.0.19

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.
@@ -296,6 +296,9 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
296
296
  created_at: string;
297
297
  extra_id: string;
298
298
  id: string;
299
+ original_unit_price: number | null;
300
+ override_reason: string | null;
301
+ override_unit_price: number | null;
299
302
  quantity: number;
300
303
  total_price: number;
301
304
  unit_price: number;
@@ -305,6 +308,9 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
305
308
  created_at?: string;
306
309
  extra_id: string;
307
310
  id?: string;
311
+ original_unit_price?: number | null;
312
+ override_reason?: string | null;
313
+ override_unit_price?: number | null;
308
314
  quantity?: number;
309
315
  total_price?: number;
310
316
  unit_price?: number;
@@ -314,6 +320,9 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
314
320
  created_at?: string;
315
321
  extra_id?: string;
316
322
  id?: string;
323
+ original_unit_price?: number | null;
324
+ override_reason?: string | null;
325
+ override_unit_price?: number | null;
317
326
  quantity?: number;
318
327
  total_price?: number;
319
328
  unit_price?: number;
@@ -334,11 +343,15 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
334
343
  };
335
344
  bookings: {
336
345
  Row: {
346
+ archive_reason: string | null;
347
+ archived_at: string | null;
348
+ archived_by: string | null;
337
349
  company_name: string | null;
338
350
  conflict_checked_at: string | null;
339
351
  conflict_reason: string | null;
340
352
  created_at: string;
341
353
  created_by_role: string | null;
354
+ customer_address: string | null;
342
355
  customer_email: string | null;
343
356
  customer_name: string | null;
344
357
  end_time: string;
@@ -350,7 +363,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
350
363
  invoiced_at: string | null;
351
364
  notes: string | null;
352
365
  number_of_people: number;
366
+ overridden_at: string | null;
367
+ overridden_by: string | null;
368
+ override_reason: string | null;
369
+ price_override: boolean;
353
370
  room_id: string;
371
+ room_price_override: number | null;
354
372
  start_time: string;
355
373
  status: string;
356
374
  total_excl_vat: number | null;
@@ -359,11 +377,15 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
359
377
  vat_amount: number | null;
360
378
  };
361
379
  Insert: {
380
+ archive_reason?: string | null;
381
+ archived_at?: string | null;
382
+ archived_by?: string | null;
362
383
  company_name?: string | null;
363
384
  conflict_checked_at?: string | null;
364
385
  conflict_reason?: string | null;
365
386
  created_at?: string;
366
387
  created_by_role?: string | null;
388
+ customer_address?: string | null;
367
389
  customer_email?: string | null;
368
390
  customer_name?: string | null;
369
391
  end_time: string;
@@ -375,7 +397,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
375
397
  invoiced_at?: string | null;
376
398
  notes?: string | null;
377
399
  number_of_people?: number;
400
+ overridden_at?: string | null;
401
+ overridden_by?: string | null;
402
+ override_reason?: string | null;
403
+ price_override?: boolean;
378
404
  room_id: string;
405
+ room_price_override?: number | null;
379
406
  start_time: string;
380
407
  status?: string;
381
408
  total_excl_vat?: number | null;
@@ -384,11 +411,15 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
384
411
  vat_amount?: number | null;
385
412
  };
386
413
  Update: {
414
+ archive_reason?: string | null;
415
+ archived_at?: string | null;
416
+ archived_by?: string | null;
387
417
  company_name?: string | null;
388
418
  conflict_checked_at?: string | null;
389
419
  conflict_reason?: string | null;
390
420
  created_at?: string;
391
421
  created_by_role?: string | null;
422
+ customer_address?: string | null;
392
423
  customer_email?: string | null;
393
424
  customer_name?: string | null;
394
425
  end_time?: string;
@@ -400,7 +431,12 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
400
431
  invoiced_at?: string | null;
401
432
  notes?: string | null;
402
433
  number_of_people?: number;
434
+ overridden_at?: string | null;
435
+ overridden_by?: string | null;
436
+ override_reason?: string | null;
437
+ price_override?: boolean;
403
438
  room_id?: string;
439
+ room_price_override?: number | null;
404
440
  start_time?: string;
405
441
  status?: string;
406
442
  total_excl_vat?: number | null;
@@ -1229,8 +1265,27 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1229
1265
  customers: {
1230
1266
  Row: {
1231
1267
  address: string | null;
1268
+ address_line1: string | null;
1269
+ address_line2: string | null;
1270
+ address_type: string | null;
1271
+ attention_to: string | null;
1272
+ bank_account_holder: string | null;
1273
+ bank_account_number: string | null;
1274
+ bank_address_line1: string | null;
1275
+ bank_address_line2: string | null;
1276
+ bank_bic: string | null;
1277
+ bank_city: string | null;
1278
+ bank_country: string | null;
1279
+ bank_house_number: string | null;
1280
+ bank_iban: string | null;
1281
+ bank_name: string | null;
1282
+ bank_national_code: string | null;
1283
+ bank_postal_code: string | null;
1284
+ bank_state: string | null;
1285
+ billing_email: string | null;
1232
1286
  bio: string | null;
1233
1287
  city: string | null;
1288
+ coc_number: string | null;
1234
1289
  commercial_name: string | null;
1235
1290
  company_name: string;
1236
1291
  connection_status: string;
@@ -1239,21 +1294,28 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1239
1294
  created_at: string;
1240
1295
  custom_fields: import("../integrations/supabase/types").Json;
1241
1296
  customer_class: string | null;
1297
+ customer_number: string | null;
1298
+ discount_days: number | null;
1299
+ discount_percentage: number | null;
1242
1300
  email: string | null;
1243
1301
  external_id: string | null;
1302
+ fax: string | null;
1244
1303
  floriday_connection_id: string | null;
1245
1304
  floriday_organization_id: string | null;
1246
1305
  floriday_raw: import("../integrations/supabase/types").Json | null;
1247
1306
  gln: string | null;
1248
1307
  house_number: string | null;
1308
+ icp_country_code: string | null;
1249
1309
  id: string;
1250
1310
  is_active: boolean;
1311
+ language: string | null;
1251
1312
  last_synced_at: string | null;
1252
1313
  logo_url: string | null;
1253
1314
  markets: string[];
1254
1315
  notes: string | null;
1255
1316
  organization_type: string | null;
1256
1317
  payment_methods: string[];
1318
+ payment_term_days: number | null;
1257
1319
  phone: string | null;
1258
1320
  postal_code: string | null;
1259
1321
  product_groups: string[];
@@ -1264,13 +1326,33 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1264
1326
  sync_status: string;
1265
1327
  trade_forms: string[];
1266
1328
  updated_at: string;
1329
+ vat_display: string | null;
1267
1330
  vat_number: string | null;
1268
1331
  website: string | null;
1269
1332
  };
1270
1333
  Insert: {
1271
1334
  address?: string | null;
1335
+ address_line1?: string | null;
1336
+ address_line2?: string | null;
1337
+ address_type?: string | null;
1338
+ attention_to?: string | null;
1339
+ bank_account_holder?: string | null;
1340
+ bank_account_number?: string | null;
1341
+ bank_address_line1?: string | null;
1342
+ bank_address_line2?: string | null;
1343
+ bank_bic?: string | null;
1344
+ bank_city?: string | null;
1345
+ bank_country?: string | null;
1346
+ bank_house_number?: string | null;
1347
+ bank_iban?: string | null;
1348
+ bank_name?: string | null;
1349
+ bank_national_code?: string | null;
1350
+ bank_postal_code?: string | null;
1351
+ bank_state?: string | null;
1352
+ billing_email?: string | null;
1272
1353
  bio?: string | null;
1273
1354
  city?: string | null;
1355
+ coc_number?: string | null;
1274
1356
  commercial_name?: string | null;
1275
1357
  company_name: string;
1276
1358
  connection_status?: string;
@@ -1279,21 +1361,28 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1279
1361
  created_at?: string;
1280
1362
  custom_fields?: import("../integrations/supabase/types").Json;
1281
1363
  customer_class?: string | null;
1364
+ customer_number?: string | null;
1365
+ discount_days?: number | null;
1366
+ discount_percentage?: number | null;
1282
1367
  email?: string | null;
1283
1368
  external_id?: string | null;
1369
+ fax?: string | null;
1284
1370
  floriday_connection_id?: string | null;
1285
1371
  floriday_organization_id?: string | null;
1286
1372
  floriday_raw?: import("../integrations/supabase/types").Json | null;
1287
1373
  gln?: string | null;
1288
1374
  house_number?: string | null;
1375
+ icp_country_code?: string | null;
1289
1376
  id?: string;
1290
1377
  is_active?: boolean;
1378
+ language?: string | null;
1291
1379
  last_synced_at?: string | null;
1292
1380
  logo_url?: string | null;
1293
1381
  markets?: string[];
1294
1382
  notes?: string | null;
1295
1383
  organization_type?: string | null;
1296
1384
  payment_methods?: string[];
1385
+ payment_term_days?: number | null;
1297
1386
  phone?: string | null;
1298
1387
  postal_code?: string | null;
1299
1388
  product_groups?: string[];
@@ -1304,13 +1393,33 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1304
1393
  sync_status?: string;
1305
1394
  trade_forms?: string[];
1306
1395
  updated_at?: string;
1396
+ vat_display?: string | null;
1307
1397
  vat_number?: string | null;
1308
1398
  website?: string | null;
1309
1399
  };
1310
1400
  Update: {
1311
1401
  address?: string | null;
1402
+ address_line1?: string | null;
1403
+ address_line2?: string | null;
1404
+ address_type?: string | null;
1405
+ attention_to?: string | null;
1406
+ bank_account_holder?: string | null;
1407
+ bank_account_number?: string | null;
1408
+ bank_address_line1?: string | null;
1409
+ bank_address_line2?: string | null;
1410
+ bank_bic?: string | null;
1411
+ bank_city?: string | null;
1412
+ bank_country?: string | null;
1413
+ bank_house_number?: string | null;
1414
+ bank_iban?: string | null;
1415
+ bank_name?: string | null;
1416
+ bank_national_code?: string | null;
1417
+ bank_postal_code?: string | null;
1418
+ bank_state?: string | null;
1419
+ billing_email?: string | null;
1312
1420
  bio?: string | null;
1313
1421
  city?: string | null;
1422
+ coc_number?: string | null;
1314
1423
  commercial_name?: string | null;
1315
1424
  company_name?: string;
1316
1425
  connection_status?: string;
@@ -1319,21 +1428,28 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1319
1428
  created_at?: string;
1320
1429
  custom_fields?: import("../integrations/supabase/types").Json;
1321
1430
  customer_class?: string | null;
1431
+ customer_number?: string | null;
1432
+ discount_days?: number | null;
1433
+ discount_percentage?: number | null;
1322
1434
  email?: string | null;
1323
1435
  external_id?: string | null;
1436
+ fax?: string | null;
1324
1437
  floriday_connection_id?: string | null;
1325
1438
  floriday_organization_id?: string | null;
1326
1439
  floriday_raw?: import("../integrations/supabase/types").Json | null;
1327
1440
  gln?: string | null;
1328
1441
  house_number?: string | null;
1442
+ icp_country_code?: string | null;
1329
1443
  id?: string;
1330
1444
  is_active?: boolean;
1445
+ language?: string | null;
1331
1446
  last_synced_at?: string | null;
1332
1447
  logo_url?: string | null;
1333
1448
  markets?: string[];
1334
1449
  notes?: string | null;
1335
1450
  organization_type?: string | null;
1336
1451
  payment_methods?: string[];
1452
+ payment_term_days?: number | null;
1337
1453
  phone?: string | null;
1338
1454
  postal_code?: string | null;
1339
1455
  product_groups?: string[];
@@ -1344,6 +1460,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
1344
1460
  sync_status?: string;
1345
1461
  trade_forms?: string[];
1346
1462
  updated_at?: string;
1463
+ vat_display?: string | null;
1347
1464
  vat_number?: string | null;
1348
1465
  website?: string | null;
1349
1466
  };
@@ -7300,6 +7417,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
7300
7417
  };
7301
7418
  profiles: {
7302
7419
  Row: {
7420
+ address: string | null;
7303
7421
  created_at: string;
7304
7422
  display_name: string | null;
7305
7423
  email: string | null;
@@ -7310,6 +7428,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
7310
7428
  updated_at: string;
7311
7429
  };
7312
7430
  Insert: {
7431
+ address?: string | null;
7313
7432
  created_at?: string;
7314
7433
  display_name?: string | null;
7315
7434
  email?: string | null;
@@ -7320,6 +7439,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
7320
7439
  updated_at?: string;
7321
7440
  };
7322
7441
  Update: {
7442
+ address?: string | null;
7323
7443
  created_at?: string;
7324
7444
  display_name?: string | null;
7325
7445
  email?: string | null;
@@ -10360,7 +10480,7 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
10360
10480
  };
10361
10481
  cleanup_old_bookings: {
10362
10482
  Args: never;
10363
- Returns: number;
10483
+ Returns: undefined;
10364
10484
  };
10365
10485
  consume_floriday_rate_limit: {
10366
10486
  Args: {
@@ -11215,6 +11335,17 @@ export declare const gatewaySchemaFn: import("@tanstack/start-client-core").Requ
11215
11335
  };
11216
11336
  Returns: string;
11217
11337
  };
11338
+ upsert_auto_fulfillment_log: {
11339
+ Args: {
11340
+ p_connection_id: string;
11341
+ p_error?: string;
11342
+ p_fulfillment_order_id?: string;
11343
+ p_reason?: string;
11344
+ p_sales_order_id: string;
11345
+ p_status: string;
11346
+ };
11347
+ Returns: undefined;
11348
+ };
11218
11349
  };
11219
11350
  Enums: {
11220
11351
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -11502,6 +11633,9 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11502
11633
  created_at: string;
11503
11634
  extra_id: string;
11504
11635
  id: string;
11636
+ original_unit_price: number | null;
11637
+ override_reason: string | null;
11638
+ override_unit_price: number | null;
11505
11639
  quantity: number;
11506
11640
  total_price: number;
11507
11641
  unit_price: number;
@@ -11511,6 +11645,9 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11511
11645
  created_at?: string;
11512
11646
  extra_id: string;
11513
11647
  id?: string;
11648
+ original_unit_price?: number | null;
11649
+ override_reason?: string | null;
11650
+ override_unit_price?: number | null;
11514
11651
  quantity?: number;
11515
11652
  total_price?: number;
11516
11653
  unit_price?: number;
@@ -11520,6 +11657,9 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11520
11657
  created_at?: string;
11521
11658
  extra_id?: string;
11522
11659
  id?: string;
11660
+ original_unit_price?: number | null;
11661
+ override_reason?: string | null;
11662
+ override_unit_price?: number | null;
11523
11663
  quantity?: number;
11524
11664
  total_price?: number;
11525
11665
  unit_price?: number;
@@ -11540,11 +11680,15 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11540
11680
  };
11541
11681
  bookings: {
11542
11682
  Row: {
11683
+ archive_reason: string | null;
11684
+ archived_at: string | null;
11685
+ archived_by: string | null;
11543
11686
  company_name: string | null;
11544
11687
  conflict_checked_at: string | null;
11545
11688
  conflict_reason: string | null;
11546
11689
  created_at: string;
11547
11690
  created_by_role: string | null;
11691
+ customer_address: string | null;
11548
11692
  customer_email: string | null;
11549
11693
  customer_name: string | null;
11550
11694
  end_time: string;
@@ -11556,7 +11700,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11556
11700
  invoiced_at: string | null;
11557
11701
  notes: string | null;
11558
11702
  number_of_people: number;
11703
+ overridden_at: string | null;
11704
+ overridden_by: string | null;
11705
+ override_reason: string | null;
11706
+ price_override: boolean;
11559
11707
  room_id: string;
11708
+ room_price_override: number | null;
11560
11709
  start_time: string;
11561
11710
  status: string;
11562
11711
  total_excl_vat: number | null;
@@ -11565,11 +11714,15 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11565
11714
  vat_amount: number | null;
11566
11715
  };
11567
11716
  Insert: {
11717
+ archive_reason?: string | null;
11718
+ archived_at?: string | null;
11719
+ archived_by?: string | null;
11568
11720
  company_name?: string | null;
11569
11721
  conflict_checked_at?: string | null;
11570
11722
  conflict_reason?: string | null;
11571
11723
  created_at?: string;
11572
11724
  created_by_role?: string | null;
11725
+ customer_address?: string | null;
11573
11726
  customer_email?: string | null;
11574
11727
  customer_name?: string | null;
11575
11728
  end_time: string;
@@ -11581,7 +11734,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11581
11734
  invoiced_at?: string | null;
11582
11735
  notes?: string | null;
11583
11736
  number_of_people?: number;
11737
+ overridden_at?: string | null;
11738
+ overridden_by?: string | null;
11739
+ override_reason?: string | null;
11740
+ price_override?: boolean;
11584
11741
  room_id: string;
11742
+ room_price_override?: number | null;
11585
11743
  start_time: string;
11586
11744
  status?: string;
11587
11745
  total_excl_vat?: number | null;
@@ -11590,11 +11748,15 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11590
11748
  vat_amount?: number | null;
11591
11749
  };
11592
11750
  Update: {
11751
+ archive_reason?: string | null;
11752
+ archived_at?: string | null;
11753
+ archived_by?: string | null;
11593
11754
  company_name?: string | null;
11594
11755
  conflict_checked_at?: string | null;
11595
11756
  conflict_reason?: string | null;
11596
11757
  created_at?: string;
11597
11758
  created_by_role?: string | null;
11759
+ customer_address?: string | null;
11598
11760
  customer_email?: string | null;
11599
11761
  customer_name?: string | null;
11600
11762
  end_time?: string;
@@ -11606,7 +11768,12 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
11606
11768
  invoiced_at?: string | null;
11607
11769
  notes?: string | null;
11608
11770
  number_of_people?: number;
11771
+ overridden_at?: string | null;
11772
+ overridden_by?: string | null;
11773
+ override_reason?: string | null;
11774
+ price_override?: boolean;
11609
11775
  room_id?: string;
11776
+ room_price_override?: number | null;
11610
11777
  start_time?: string;
11611
11778
  status?: string;
11612
11779
  total_excl_vat?: number | null;
@@ -12435,8 +12602,27 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12435
12602
  customers: {
12436
12603
  Row: {
12437
12604
  address: string | null;
12605
+ address_line1: string | null;
12606
+ address_line2: string | null;
12607
+ address_type: string | null;
12608
+ attention_to: string | null;
12609
+ bank_account_holder: string | null;
12610
+ bank_account_number: string | null;
12611
+ bank_address_line1: string | null;
12612
+ bank_address_line2: string | null;
12613
+ bank_bic: string | null;
12614
+ bank_city: string | null;
12615
+ bank_country: string | null;
12616
+ bank_house_number: string | null;
12617
+ bank_iban: string | null;
12618
+ bank_name: string | null;
12619
+ bank_national_code: string | null;
12620
+ bank_postal_code: string | null;
12621
+ bank_state: string | null;
12622
+ billing_email: string | null;
12438
12623
  bio: string | null;
12439
12624
  city: string | null;
12625
+ coc_number: string | null;
12440
12626
  commercial_name: string | null;
12441
12627
  company_name: string;
12442
12628
  connection_status: string;
@@ -12445,21 +12631,28 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12445
12631
  created_at: string;
12446
12632
  custom_fields: import("../integrations/supabase/types").Json;
12447
12633
  customer_class: string | null;
12634
+ customer_number: string | null;
12635
+ discount_days: number | null;
12636
+ discount_percentage: number | null;
12448
12637
  email: string | null;
12449
12638
  external_id: string | null;
12639
+ fax: string | null;
12450
12640
  floriday_connection_id: string | null;
12451
12641
  floriday_organization_id: string | null;
12452
12642
  floriday_raw: import("../integrations/supabase/types").Json | null;
12453
12643
  gln: string | null;
12454
12644
  house_number: string | null;
12645
+ icp_country_code: string | null;
12455
12646
  id: string;
12456
12647
  is_active: boolean;
12648
+ language: string | null;
12457
12649
  last_synced_at: string | null;
12458
12650
  logo_url: string | null;
12459
12651
  markets: string[];
12460
12652
  notes: string | null;
12461
12653
  organization_type: string | null;
12462
12654
  payment_methods: string[];
12655
+ payment_term_days: number | null;
12463
12656
  phone: string | null;
12464
12657
  postal_code: string | null;
12465
12658
  product_groups: string[];
@@ -12470,13 +12663,33 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12470
12663
  sync_status: string;
12471
12664
  trade_forms: string[];
12472
12665
  updated_at: string;
12666
+ vat_display: string | null;
12473
12667
  vat_number: string | null;
12474
12668
  website: string | null;
12475
12669
  };
12476
12670
  Insert: {
12477
12671
  address?: string | null;
12672
+ address_line1?: string | null;
12673
+ address_line2?: string | null;
12674
+ address_type?: string | null;
12675
+ attention_to?: string | null;
12676
+ bank_account_holder?: string | null;
12677
+ bank_account_number?: string | null;
12678
+ bank_address_line1?: string | null;
12679
+ bank_address_line2?: string | null;
12680
+ bank_bic?: string | null;
12681
+ bank_city?: string | null;
12682
+ bank_country?: string | null;
12683
+ bank_house_number?: string | null;
12684
+ bank_iban?: string | null;
12685
+ bank_name?: string | null;
12686
+ bank_national_code?: string | null;
12687
+ bank_postal_code?: string | null;
12688
+ bank_state?: string | null;
12689
+ billing_email?: string | null;
12478
12690
  bio?: string | null;
12479
12691
  city?: string | null;
12692
+ coc_number?: string | null;
12480
12693
  commercial_name?: string | null;
12481
12694
  company_name: string;
12482
12695
  connection_status?: string;
@@ -12485,21 +12698,28 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12485
12698
  created_at?: string;
12486
12699
  custom_fields?: import("../integrations/supabase/types").Json;
12487
12700
  customer_class?: string | null;
12701
+ customer_number?: string | null;
12702
+ discount_days?: number | null;
12703
+ discount_percentage?: number | null;
12488
12704
  email?: string | null;
12489
12705
  external_id?: string | null;
12706
+ fax?: string | null;
12490
12707
  floriday_connection_id?: string | null;
12491
12708
  floriday_organization_id?: string | null;
12492
12709
  floriday_raw?: import("../integrations/supabase/types").Json | null;
12493
12710
  gln?: string | null;
12494
12711
  house_number?: string | null;
12712
+ icp_country_code?: string | null;
12495
12713
  id?: string;
12496
12714
  is_active?: boolean;
12715
+ language?: string | null;
12497
12716
  last_synced_at?: string | null;
12498
12717
  logo_url?: string | null;
12499
12718
  markets?: string[];
12500
12719
  notes?: string | null;
12501
12720
  organization_type?: string | null;
12502
12721
  payment_methods?: string[];
12722
+ payment_term_days?: number | null;
12503
12723
  phone?: string | null;
12504
12724
  postal_code?: string | null;
12505
12725
  product_groups?: string[];
@@ -12510,13 +12730,33 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12510
12730
  sync_status?: string;
12511
12731
  trade_forms?: string[];
12512
12732
  updated_at?: string;
12733
+ vat_display?: string | null;
12513
12734
  vat_number?: string | null;
12514
12735
  website?: string | null;
12515
12736
  };
12516
12737
  Update: {
12517
12738
  address?: string | null;
12739
+ address_line1?: string | null;
12740
+ address_line2?: string | null;
12741
+ address_type?: string | null;
12742
+ attention_to?: string | null;
12743
+ bank_account_holder?: string | null;
12744
+ bank_account_number?: string | null;
12745
+ bank_address_line1?: string | null;
12746
+ bank_address_line2?: string | null;
12747
+ bank_bic?: string | null;
12748
+ bank_city?: string | null;
12749
+ bank_country?: string | null;
12750
+ bank_house_number?: string | null;
12751
+ bank_iban?: string | null;
12752
+ bank_name?: string | null;
12753
+ bank_national_code?: string | null;
12754
+ bank_postal_code?: string | null;
12755
+ bank_state?: string | null;
12756
+ billing_email?: string | null;
12518
12757
  bio?: string | null;
12519
12758
  city?: string | null;
12759
+ coc_number?: string | null;
12520
12760
  commercial_name?: string | null;
12521
12761
  company_name?: string;
12522
12762
  connection_status?: string;
@@ -12525,21 +12765,28 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12525
12765
  created_at?: string;
12526
12766
  custom_fields?: import("../integrations/supabase/types").Json;
12527
12767
  customer_class?: string | null;
12768
+ customer_number?: string | null;
12769
+ discount_days?: number | null;
12770
+ discount_percentage?: number | null;
12528
12771
  email?: string | null;
12529
12772
  external_id?: string | null;
12773
+ fax?: string | null;
12530
12774
  floriday_connection_id?: string | null;
12531
12775
  floriday_organization_id?: string | null;
12532
12776
  floriday_raw?: import("../integrations/supabase/types").Json | null;
12533
12777
  gln?: string | null;
12534
12778
  house_number?: string | null;
12779
+ icp_country_code?: string | null;
12535
12780
  id?: string;
12536
12781
  is_active?: boolean;
12782
+ language?: string | null;
12537
12783
  last_synced_at?: string | null;
12538
12784
  logo_url?: string | null;
12539
12785
  markets?: string[];
12540
12786
  notes?: string | null;
12541
12787
  organization_type?: string | null;
12542
12788
  payment_methods?: string[];
12789
+ payment_term_days?: number | null;
12543
12790
  phone?: string | null;
12544
12791
  postal_code?: string | null;
12545
12792
  product_groups?: string[];
@@ -12550,6 +12797,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
12550
12797
  sync_status?: string;
12551
12798
  trade_forms?: string[];
12552
12799
  updated_at?: string;
12800
+ vat_display?: string | null;
12553
12801
  vat_number?: string | null;
12554
12802
  website?: string | null;
12555
12803
  };
@@ -18506,6 +18754,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
18506
18754
  };
18507
18755
  profiles: {
18508
18756
  Row: {
18757
+ address: string | null;
18509
18758
  created_at: string;
18510
18759
  display_name: string | null;
18511
18760
  email: string | null;
@@ -18516,6 +18765,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
18516
18765
  updated_at: string;
18517
18766
  };
18518
18767
  Insert: {
18768
+ address?: string | null;
18519
18769
  created_at?: string;
18520
18770
  display_name?: string | null;
18521
18771
  email?: string | null;
@@ -18526,6 +18776,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
18526
18776
  updated_at?: string;
18527
18777
  };
18528
18778
  Update: {
18779
+ address?: string | null;
18529
18780
  created_at?: string;
18530
18781
  display_name?: string | null;
18531
18782
  email?: string | null;
@@ -21566,7 +21817,7 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
21566
21817
  };
21567
21818
  cleanup_old_bookings: {
21568
21819
  Args: never;
21569
- Returns: number;
21820
+ Returns: undefined;
21570
21821
  };
21571
21822
  consume_floriday_rate_limit: {
21572
21823
  Args: {
@@ -22421,6 +22672,17 @@ export declare const gatewayCodeListFn: import("@tanstack/start-client-core").Re
22421
22672
  };
22422
22673
  Returns: string;
22423
22674
  };
22675
+ upsert_auto_fulfillment_log: {
22676
+ Args: {
22677
+ p_connection_id: string;
22678
+ p_error?: string;
22679
+ p_fulfillment_order_id?: string;
22680
+ p_reason?: string;
22681
+ p_sales_order_id: string;
22682
+ p_status: string;
22683
+ };
22684
+ Returns: undefined;
22685
+ };
22424
22686
  };
22425
22687
  Enums: {
22426
22688
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -22708,6 +22970,9 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22708
22970
  created_at: string;
22709
22971
  extra_id: string;
22710
22972
  id: string;
22973
+ original_unit_price: number | null;
22974
+ override_reason: string | null;
22975
+ override_unit_price: number | null;
22711
22976
  quantity: number;
22712
22977
  total_price: number;
22713
22978
  unit_price: number;
@@ -22717,6 +22982,9 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22717
22982
  created_at?: string;
22718
22983
  extra_id: string;
22719
22984
  id?: string;
22985
+ original_unit_price?: number | null;
22986
+ override_reason?: string | null;
22987
+ override_unit_price?: number | null;
22720
22988
  quantity?: number;
22721
22989
  total_price?: number;
22722
22990
  unit_price?: number;
@@ -22726,6 +22994,9 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22726
22994
  created_at?: string;
22727
22995
  extra_id?: string;
22728
22996
  id?: string;
22997
+ original_unit_price?: number | null;
22998
+ override_reason?: string | null;
22999
+ override_unit_price?: number | null;
22729
23000
  quantity?: number;
22730
23001
  total_price?: number;
22731
23002
  unit_price?: number;
@@ -22746,11 +23017,15 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22746
23017
  };
22747
23018
  bookings: {
22748
23019
  Row: {
23020
+ archive_reason: string | null;
23021
+ archived_at: string | null;
23022
+ archived_by: string | null;
22749
23023
  company_name: string | null;
22750
23024
  conflict_checked_at: string | null;
22751
23025
  conflict_reason: string | null;
22752
23026
  created_at: string;
22753
23027
  created_by_role: string | null;
23028
+ customer_address: string | null;
22754
23029
  customer_email: string | null;
22755
23030
  customer_name: string | null;
22756
23031
  end_time: string;
@@ -22762,7 +23037,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22762
23037
  invoiced_at: string | null;
22763
23038
  notes: string | null;
22764
23039
  number_of_people: number;
23040
+ overridden_at: string | null;
23041
+ overridden_by: string | null;
23042
+ override_reason: string | null;
23043
+ price_override: boolean;
22765
23044
  room_id: string;
23045
+ room_price_override: number | null;
22766
23046
  start_time: string;
22767
23047
  status: string;
22768
23048
  total_excl_vat: number | null;
@@ -22771,11 +23051,15 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22771
23051
  vat_amount: number | null;
22772
23052
  };
22773
23053
  Insert: {
23054
+ archive_reason?: string | null;
23055
+ archived_at?: string | null;
23056
+ archived_by?: string | null;
22774
23057
  company_name?: string | null;
22775
23058
  conflict_checked_at?: string | null;
22776
23059
  conflict_reason?: string | null;
22777
23060
  created_at?: string;
22778
23061
  created_by_role?: string | null;
23062
+ customer_address?: string | null;
22779
23063
  customer_email?: string | null;
22780
23064
  customer_name?: string | null;
22781
23065
  end_time: string;
@@ -22787,7 +23071,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22787
23071
  invoiced_at?: string | null;
22788
23072
  notes?: string | null;
22789
23073
  number_of_people?: number;
23074
+ overridden_at?: string | null;
23075
+ overridden_by?: string | null;
23076
+ override_reason?: string | null;
23077
+ price_override?: boolean;
22790
23078
  room_id: string;
23079
+ room_price_override?: number | null;
22791
23080
  start_time: string;
22792
23081
  status?: string;
22793
23082
  total_excl_vat?: number | null;
@@ -22796,11 +23085,15 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22796
23085
  vat_amount?: number | null;
22797
23086
  };
22798
23087
  Update: {
23088
+ archive_reason?: string | null;
23089
+ archived_at?: string | null;
23090
+ archived_by?: string | null;
22799
23091
  company_name?: string | null;
22800
23092
  conflict_checked_at?: string | null;
22801
23093
  conflict_reason?: string | null;
22802
23094
  created_at?: string;
22803
23095
  created_by_role?: string | null;
23096
+ customer_address?: string | null;
22804
23097
  customer_email?: string | null;
22805
23098
  customer_name?: string | null;
22806
23099
  end_time?: string;
@@ -22812,7 +23105,12 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
22812
23105
  invoiced_at?: string | null;
22813
23106
  notes?: string | null;
22814
23107
  number_of_people?: number;
23108
+ overridden_at?: string | null;
23109
+ overridden_by?: string | null;
23110
+ override_reason?: string | null;
23111
+ price_override?: boolean;
22815
23112
  room_id?: string;
23113
+ room_price_override?: number | null;
22816
23114
  start_time?: string;
22817
23115
  status?: string;
22818
23116
  total_excl_vat?: number | null;
@@ -23641,8 +23939,27 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23641
23939
  customers: {
23642
23940
  Row: {
23643
23941
  address: string | null;
23942
+ address_line1: string | null;
23943
+ address_line2: string | null;
23944
+ address_type: string | null;
23945
+ attention_to: string | null;
23946
+ bank_account_holder: string | null;
23947
+ bank_account_number: string | null;
23948
+ bank_address_line1: string | null;
23949
+ bank_address_line2: string | null;
23950
+ bank_bic: string | null;
23951
+ bank_city: string | null;
23952
+ bank_country: string | null;
23953
+ bank_house_number: string | null;
23954
+ bank_iban: string | null;
23955
+ bank_name: string | null;
23956
+ bank_national_code: string | null;
23957
+ bank_postal_code: string | null;
23958
+ bank_state: string | null;
23959
+ billing_email: string | null;
23644
23960
  bio: string | null;
23645
23961
  city: string | null;
23962
+ coc_number: string | null;
23646
23963
  commercial_name: string | null;
23647
23964
  company_name: string;
23648
23965
  connection_status: string;
@@ -23651,21 +23968,28 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23651
23968
  created_at: string;
23652
23969
  custom_fields: import("../integrations/supabase/types").Json;
23653
23970
  customer_class: string | null;
23971
+ customer_number: string | null;
23972
+ discount_days: number | null;
23973
+ discount_percentage: number | null;
23654
23974
  email: string | null;
23655
23975
  external_id: string | null;
23976
+ fax: string | null;
23656
23977
  floriday_connection_id: string | null;
23657
23978
  floriday_organization_id: string | null;
23658
23979
  floriday_raw: import("../integrations/supabase/types").Json | null;
23659
23980
  gln: string | null;
23660
23981
  house_number: string | null;
23982
+ icp_country_code: string | null;
23661
23983
  id: string;
23662
23984
  is_active: boolean;
23985
+ language: string | null;
23663
23986
  last_synced_at: string | null;
23664
23987
  logo_url: string | null;
23665
23988
  markets: string[];
23666
23989
  notes: string | null;
23667
23990
  organization_type: string | null;
23668
23991
  payment_methods: string[];
23992
+ payment_term_days: number | null;
23669
23993
  phone: string | null;
23670
23994
  postal_code: string | null;
23671
23995
  product_groups: string[];
@@ -23676,13 +24000,33 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23676
24000
  sync_status: string;
23677
24001
  trade_forms: string[];
23678
24002
  updated_at: string;
24003
+ vat_display: string | null;
23679
24004
  vat_number: string | null;
23680
24005
  website: string | null;
23681
24006
  };
23682
24007
  Insert: {
23683
24008
  address?: string | null;
24009
+ address_line1?: string | null;
24010
+ address_line2?: string | null;
24011
+ address_type?: string | null;
24012
+ attention_to?: string | null;
24013
+ bank_account_holder?: string | null;
24014
+ bank_account_number?: string | null;
24015
+ bank_address_line1?: string | null;
24016
+ bank_address_line2?: string | null;
24017
+ bank_bic?: string | null;
24018
+ bank_city?: string | null;
24019
+ bank_country?: string | null;
24020
+ bank_house_number?: string | null;
24021
+ bank_iban?: string | null;
24022
+ bank_name?: string | null;
24023
+ bank_national_code?: string | null;
24024
+ bank_postal_code?: string | null;
24025
+ bank_state?: string | null;
24026
+ billing_email?: string | null;
23684
24027
  bio?: string | null;
23685
24028
  city?: string | null;
24029
+ coc_number?: string | null;
23686
24030
  commercial_name?: string | null;
23687
24031
  company_name: string;
23688
24032
  connection_status?: string;
@@ -23691,21 +24035,28 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23691
24035
  created_at?: string;
23692
24036
  custom_fields?: import("../integrations/supabase/types").Json;
23693
24037
  customer_class?: string | null;
24038
+ customer_number?: string | null;
24039
+ discount_days?: number | null;
24040
+ discount_percentage?: number | null;
23694
24041
  email?: string | null;
23695
24042
  external_id?: string | null;
24043
+ fax?: string | null;
23696
24044
  floriday_connection_id?: string | null;
23697
24045
  floriday_organization_id?: string | null;
23698
24046
  floriday_raw?: import("../integrations/supabase/types").Json | null;
23699
24047
  gln?: string | null;
23700
24048
  house_number?: string | null;
24049
+ icp_country_code?: string | null;
23701
24050
  id?: string;
23702
24051
  is_active?: boolean;
24052
+ language?: string | null;
23703
24053
  last_synced_at?: string | null;
23704
24054
  logo_url?: string | null;
23705
24055
  markets?: string[];
23706
24056
  notes?: string | null;
23707
24057
  organization_type?: string | null;
23708
24058
  payment_methods?: string[];
24059
+ payment_term_days?: number | null;
23709
24060
  phone?: string | null;
23710
24061
  postal_code?: string | null;
23711
24062
  product_groups?: string[];
@@ -23716,13 +24067,33 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23716
24067
  sync_status?: string;
23717
24068
  trade_forms?: string[];
23718
24069
  updated_at?: string;
24070
+ vat_display?: string | null;
23719
24071
  vat_number?: string | null;
23720
24072
  website?: string | null;
23721
24073
  };
23722
24074
  Update: {
23723
24075
  address?: string | null;
24076
+ address_line1?: string | null;
24077
+ address_line2?: string | null;
24078
+ address_type?: string | null;
24079
+ attention_to?: string | null;
24080
+ bank_account_holder?: string | null;
24081
+ bank_account_number?: string | null;
24082
+ bank_address_line1?: string | null;
24083
+ bank_address_line2?: string | null;
24084
+ bank_bic?: string | null;
24085
+ bank_city?: string | null;
24086
+ bank_country?: string | null;
24087
+ bank_house_number?: string | null;
24088
+ bank_iban?: string | null;
24089
+ bank_name?: string | null;
24090
+ bank_national_code?: string | null;
24091
+ bank_postal_code?: string | null;
24092
+ bank_state?: string | null;
24093
+ billing_email?: string | null;
23724
24094
  bio?: string | null;
23725
24095
  city?: string | null;
24096
+ coc_number?: string | null;
23726
24097
  commercial_name?: string | null;
23727
24098
  company_name?: string;
23728
24099
  connection_status?: string;
@@ -23731,21 +24102,28 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23731
24102
  created_at?: string;
23732
24103
  custom_fields?: import("../integrations/supabase/types").Json;
23733
24104
  customer_class?: string | null;
24105
+ customer_number?: string | null;
24106
+ discount_days?: number | null;
24107
+ discount_percentage?: number | null;
23734
24108
  email?: string | null;
23735
24109
  external_id?: string | null;
24110
+ fax?: string | null;
23736
24111
  floriday_connection_id?: string | null;
23737
24112
  floriday_organization_id?: string | null;
23738
24113
  floriday_raw?: import("../integrations/supabase/types").Json | null;
23739
24114
  gln?: string | null;
23740
24115
  house_number?: string | null;
24116
+ icp_country_code?: string | null;
23741
24117
  id?: string;
23742
24118
  is_active?: boolean;
24119
+ language?: string | null;
23743
24120
  last_synced_at?: string | null;
23744
24121
  logo_url?: string | null;
23745
24122
  markets?: string[];
23746
24123
  notes?: string | null;
23747
24124
  organization_type?: string | null;
23748
24125
  payment_methods?: string[];
24126
+ payment_term_days?: number | null;
23749
24127
  phone?: string | null;
23750
24128
  postal_code?: string | null;
23751
24129
  product_groups?: string[];
@@ -23756,6 +24134,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
23756
24134
  sync_status?: string;
23757
24135
  trade_forms?: string[];
23758
24136
  updated_at?: string;
24137
+ vat_display?: string | null;
23759
24138
  vat_number?: string | null;
23760
24139
  website?: string | null;
23761
24140
  };
@@ -29712,6 +30091,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
29712
30091
  };
29713
30092
  profiles: {
29714
30093
  Row: {
30094
+ address: string | null;
29715
30095
  created_at: string;
29716
30096
  display_name: string | null;
29717
30097
  email: string | null;
@@ -29722,6 +30102,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
29722
30102
  updated_at: string;
29723
30103
  };
29724
30104
  Insert: {
30105
+ address?: string | null;
29725
30106
  created_at?: string;
29726
30107
  display_name?: string | null;
29727
30108
  email?: string | null;
@@ -29732,6 +30113,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
29732
30113
  updated_at?: string;
29733
30114
  };
29734
30115
  Update: {
30116
+ address?: string | null;
29735
30117
  created_at?: string;
29736
30118
  display_name?: string | null;
29737
30119
  email?: string | null;
@@ -32772,7 +33154,7 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
32772
33154
  };
32773
33155
  cleanup_old_bookings: {
32774
33156
  Args: never;
32775
- Returns: number;
33157
+ Returns: undefined;
32776
33158
  };
32777
33159
  consume_floriday_rate_limit: {
32778
33160
  Args: {
@@ -33627,6 +34009,17 @@ export declare const gatewayCachedListFn: import("@tanstack/start-client-core").
33627
34009
  };
33628
34010
  Returns: string;
33629
34011
  };
34012
+ upsert_auto_fulfillment_log: {
34013
+ Args: {
34014
+ p_connection_id: string;
34015
+ p_error?: string;
34016
+ p_fulfillment_order_id?: string;
34017
+ p_reason?: string;
34018
+ p_sales_order_id: string;
34019
+ p_status: string;
34020
+ };
34021
+ Returns: undefined;
34022
+ };
33630
34023
  };
33631
34024
  Enums: {
33632
34025
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -33914,6 +34307,9 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33914
34307
  created_at: string;
33915
34308
  extra_id: string;
33916
34309
  id: string;
34310
+ original_unit_price: number | null;
34311
+ override_reason: string | null;
34312
+ override_unit_price: number | null;
33917
34313
  quantity: number;
33918
34314
  total_price: number;
33919
34315
  unit_price: number;
@@ -33923,6 +34319,9 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33923
34319
  created_at?: string;
33924
34320
  extra_id: string;
33925
34321
  id?: string;
34322
+ original_unit_price?: number | null;
34323
+ override_reason?: string | null;
34324
+ override_unit_price?: number | null;
33926
34325
  quantity?: number;
33927
34326
  total_price?: number;
33928
34327
  unit_price?: number;
@@ -33932,6 +34331,9 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33932
34331
  created_at?: string;
33933
34332
  extra_id?: string;
33934
34333
  id?: string;
34334
+ original_unit_price?: number | null;
34335
+ override_reason?: string | null;
34336
+ override_unit_price?: number | null;
33935
34337
  quantity?: number;
33936
34338
  total_price?: number;
33937
34339
  unit_price?: number;
@@ -33952,11 +34354,15 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33952
34354
  };
33953
34355
  bookings: {
33954
34356
  Row: {
34357
+ archive_reason: string | null;
34358
+ archived_at: string | null;
34359
+ archived_by: string | null;
33955
34360
  company_name: string | null;
33956
34361
  conflict_checked_at: string | null;
33957
34362
  conflict_reason: string | null;
33958
34363
  created_at: string;
33959
34364
  created_by_role: string | null;
34365
+ customer_address: string | null;
33960
34366
  customer_email: string | null;
33961
34367
  customer_name: string | null;
33962
34368
  end_time: string;
@@ -33968,7 +34374,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33968
34374
  invoiced_at: string | null;
33969
34375
  notes: string | null;
33970
34376
  number_of_people: number;
34377
+ overridden_at: string | null;
34378
+ overridden_by: string | null;
34379
+ override_reason: string | null;
34380
+ price_override: boolean;
33971
34381
  room_id: string;
34382
+ room_price_override: number | null;
33972
34383
  start_time: string;
33973
34384
  status: string;
33974
34385
  total_excl_vat: number | null;
@@ -33977,11 +34388,15 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33977
34388
  vat_amount: number | null;
33978
34389
  };
33979
34390
  Insert: {
34391
+ archive_reason?: string | null;
34392
+ archived_at?: string | null;
34393
+ archived_by?: string | null;
33980
34394
  company_name?: string | null;
33981
34395
  conflict_checked_at?: string | null;
33982
34396
  conflict_reason?: string | null;
33983
34397
  created_at?: string;
33984
34398
  created_by_role?: string | null;
34399
+ customer_address?: string | null;
33985
34400
  customer_email?: string | null;
33986
34401
  customer_name?: string | null;
33987
34402
  end_time: string;
@@ -33993,7 +34408,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
33993
34408
  invoiced_at?: string | null;
33994
34409
  notes?: string | null;
33995
34410
  number_of_people?: number;
34411
+ overridden_at?: string | null;
34412
+ overridden_by?: string | null;
34413
+ override_reason?: string | null;
34414
+ price_override?: boolean;
33996
34415
  room_id: string;
34416
+ room_price_override?: number | null;
33997
34417
  start_time: string;
33998
34418
  status?: string;
33999
34419
  total_excl_vat?: number | null;
@@ -34002,11 +34422,15 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34002
34422
  vat_amount?: number | null;
34003
34423
  };
34004
34424
  Update: {
34425
+ archive_reason?: string | null;
34426
+ archived_at?: string | null;
34427
+ archived_by?: string | null;
34005
34428
  company_name?: string | null;
34006
34429
  conflict_checked_at?: string | null;
34007
34430
  conflict_reason?: string | null;
34008
34431
  created_at?: string;
34009
34432
  created_by_role?: string | null;
34433
+ customer_address?: string | null;
34010
34434
  customer_email?: string | null;
34011
34435
  customer_name?: string | null;
34012
34436
  end_time?: string;
@@ -34018,7 +34442,12 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34018
34442
  invoiced_at?: string | null;
34019
34443
  notes?: string | null;
34020
34444
  number_of_people?: number;
34445
+ overridden_at?: string | null;
34446
+ overridden_by?: string | null;
34447
+ override_reason?: string | null;
34448
+ price_override?: boolean;
34021
34449
  room_id?: string;
34450
+ room_price_override?: number | null;
34022
34451
  start_time?: string;
34023
34452
  status?: string;
34024
34453
  total_excl_vat?: number | null;
@@ -34847,8 +35276,27 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34847
35276
  customers: {
34848
35277
  Row: {
34849
35278
  address: string | null;
35279
+ address_line1: string | null;
35280
+ address_line2: string | null;
35281
+ address_type: string | null;
35282
+ attention_to: string | null;
35283
+ bank_account_holder: string | null;
35284
+ bank_account_number: string | null;
35285
+ bank_address_line1: string | null;
35286
+ bank_address_line2: string | null;
35287
+ bank_bic: string | null;
35288
+ bank_city: string | null;
35289
+ bank_country: string | null;
35290
+ bank_house_number: string | null;
35291
+ bank_iban: string | null;
35292
+ bank_name: string | null;
35293
+ bank_national_code: string | null;
35294
+ bank_postal_code: string | null;
35295
+ bank_state: string | null;
35296
+ billing_email: string | null;
34850
35297
  bio: string | null;
34851
35298
  city: string | null;
35299
+ coc_number: string | null;
34852
35300
  commercial_name: string | null;
34853
35301
  company_name: string;
34854
35302
  connection_status: string;
@@ -34857,21 +35305,28 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34857
35305
  created_at: string;
34858
35306
  custom_fields: import("../integrations/supabase/types").Json;
34859
35307
  customer_class: string | null;
35308
+ customer_number: string | null;
35309
+ discount_days: number | null;
35310
+ discount_percentage: number | null;
34860
35311
  email: string | null;
34861
35312
  external_id: string | null;
35313
+ fax: string | null;
34862
35314
  floriday_connection_id: string | null;
34863
35315
  floriday_organization_id: string | null;
34864
35316
  floriday_raw: import("../integrations/supabase/types").Json | null;
34865
35317
  gln: string | null;
34866
35318
  house_number: string | null;
35319
+ icp_country_code: string | null;
34867
35320
  id: string;
34868
35321
  is_active: boolean;
35322
+ language: string | null;
34869
35323
  last_synced_at: string | null;
34870
35324
  logo_url: string | null;
34871
35325
  markets: string[];
34872
35326
  notes: string | null;
34873
35327
  organization_type: string | null;
34874
35328
  payment_methods: string[];
35329
+ payment_term_days: number | null;
34875
35330
  phone: string | null;
34876
35331
  postal_code: string | null;
34877
35332
  product_groups: string[];
@@ -34882,13 +35337,33 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34882
35337
  sync_status: string;
34883
35338
  trade_forms: string[];
34884
35339
  updated_at: string;
35340
+ vat_display: string | null;
34885
35341
  vat_number: string | null;
34886
35342
  website: string | null;
34887
35343
  };
34888
35344
  Insert: {
34889
35345
  address?: string | null;
35346
+ address_line1?: string | null;
35347
+ address_line2?: string | null;
35348
+ address_type?: string | null;
35349
+ attention_to?: string | null;
35350
+ bank_account_holder?: string | null;
35351
+ bank_account_number?: string | null;
35352
+ bank_address_line1?: string | null;
35353
+ bank_address_line2?: string | null;
35354
+ bank_bic?: string | null;
35355
+ bank_city?: string | null;
35356
+ bank_country?: string | null;
35357
+ bank_house_number?: string | null;
35358
+ bank_iban?: string | null;
35359
+ bank_name?: string | null;
35360
+ bank_national_code?: string | null;
35361
+ bank_postal_code?: string | null;
35362
+ bank_state?: string | null;
35363
+ billing_email?: string | null;
34890
35364
  bio?: string | null;
34891
35365
  city?: string | null;
35366
+ coc_number?: string | null;
34892
35367
  commercial_name?: string | null;
34893
35368
  company_name: string;
34894
35369
  connection_status?: string;
@@ -34897,21 +35372,28 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34897
35372
  created_at?: string;
34898
35373
  custom_fields?: import("../integrations/supabase/types").Json;
34899
35374
  customer_class?: string | null;
35375
+ customer_number?: string | null;
35376
+ discount_days?: number | null;
35377
+ discount_percentage?: number | null;
34900
35378
  email?: string | null;
34901
35379
  external_id?: string | null;
35380
+ fax?: string | null;
34902
35381
  floriday_connection_id?: string | null;
34903
35382
  floriday_organization_id?: string | null;
34904
35383
  floriday_raw?: import("../integrations/supabase/types").Json | null;
34905
35384
  gln?: string | null;
34906
35385
  house_number?: string | null;
35386
+ icp_country_code?: string | null;
34907
35387
  id?: string;
34908
35388
  is_active?: boolean;
35389
+ language?: string | null;
34909
35390
  last_synced_at?: string | null;
34910
35391
  logo_url?: string | null;
34911
35392
  markets?: string[];
34912
35393
  notes?: string | null;
34913
35394
  organization_type?: string | null;
34914
35395
  payment_methods?: string[];
35396
+ payment_term_days?: number | null;
34915
35397
  phone?: string | null;
34916
35398
  postal_code?: string | null;
34917
35399
  product_groups?: string[];
@@ -34922,13 +35404,33 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34922
35404
  sync_status?: string;
34923
35405
  trade_forms?: string[];
34924
35406
  updated_at?: string;
35407
+ vat_display?: string | null;
34925
35408
  vat_number?: string | null;
34926
35409
  website?: string | null;
34927
35410
  };
34928
35411
  Update: {
34929
35412
  address?: string | null;
35413
+ address_line1?: string | null;
35414
+ address_line2?: string | null;
35415
+ address_type?: string | null;
35416
+ attention_to?: string | null;
35417
+ bank_account_holder?: string | null;
35418
+ bank_account_number?: string | null;
35419
+ bank_address_line1?: string | null;
35420
+ bank_address_line2?: string | null;
35421
+ bank_bic?: string | null;
35422
+ bank_city?: string | null;
35423
+ bank_country?: string | null;
35424
+ bank_house_number?: string | null;
35425
+ bank_iban?: string | null;
35426
+ bank_name?: string | null;
35427
+ bank_national_code?: string | null;
35428
+ bank_postal_code?: string | null;
35429
+ bank_state?: string | null;
35430
+ billing_email?: string | null;
34930
35431
  bio?: string | null;
34931
35432
  city?: string | null;
35433
+ coc_number?: string | null;
34932
35434
  commercial_name?: string | null;
34933
35435
  company_name?: string;
34934
35436
  connection_status?: string;
@@ -34937,21 +35439,28 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34937
35439
  created_at?: string;
34938
35440
  custom_fields?: import("../integrations/supabase/types").Json;
34939
35441
  customer_class?: string | null;
35442
+ customer_number?: string | null;
35443
+ discount_days?: number | null;
35444
+ discount_percentage?: number | null;
34940
35445
  email?: string | null;
34941
35446
  external_id?: string | null;
35447
+ fax?: string | null;
34942
35448
  floriday_connection_id?: string | null;
34943
35449
  floriday_organization_id?: string | null;
34944
35450
  floriday_raw?: import("../integrations/supabase/types").Json | null;
34945
35451
  gln?: string | null;
34946
35452
  house_number?: string | null;
35453
+ icp_country_code?: string | null;
34947
35454
  id?: string;
34948
35455
  is_active?: boolean;
35456
+ language?: string | null;
34949
35457
  last_synced_at?: string | null;
34950
35458
  logo_url?: string | null;
34951
35459
  markets?: string[];
34952
35460
  notes?: string | null;
34953
35461
  organization_type?: string | null;
34954
35462
  payment_methods?: string[];
35463
+ payment_term_days?: number | null;
34955
35464
  phone?: string | null;
34956
35465
  postal_code?: string | null;
34957
35466
  product_groups?: string[];
@@ -34962,6 +35471,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
34962
35471
  sync_status?: string;
34963
35472
  trade_forms?: string[];
34964
35473
  updated_at?: string;
35474
+ vat_display?: string | null;
34965
35475
  vat_number?: string | null;
34966
35476
  website?: string | null;
34967
35477
  };
@@ -40918,6 +41428,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
40918
41428
  };
40919
41429
  profiles: {
40920
41430
  Row: {
41431
+ address: string | null;
40921
41432
  created_at: string;
40922
41433
  display_name: string | null;
40923
41434
  email: string | null;
@@ -40928,6 +41439,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
40928
41439
  updated_at: string;
40929
41440
  };
40930
41441
  Insert: {
41442
+ address?: string | null;
40931
41443
  created_at?: string;
40932
41444
  display_name?: string | null;
40933
41445
  email?: string | null;
@@ -40938,6 +41450,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
40938
41450
  updated_at?: string;
40939
41451
  };
40940
41452
  Update: {
41453
+ address?: string | null;
40941
41454
  created_at?: string;
40942
41455
  display_name?: string | null;
40943
41456
  email?: string | null;
@@ -43978,7 +44491,7 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
43978
44491
  };
43979
44492
  cleanup_old_bookings: {
43980
44493
  Args: never;
43981
- Returns: number;
44494
+ Returns: undefined;
43982
44495
  };
43983
44496
  consume_floriday_rate_limit: {
43984
44497
  Args: {
@@ -44833,6 +45346,17 @@ export declare const gatewayWriteFn: import("@tanstack/start-client-core").Requi
44833
45346
  };
44834
45347
  Returns: string;
44835
45348
  };
45349
+ upsert_auto_fulfillment_log: {
45350
+ Args: {
45351
+ p_connection_id: string;
45352
+ p_error?: string;
45353
+ p_fulfillment_order_id?: string;
45354
+ p_reason?: string;
45355
+ p_sales_order_id: string;
45356
+ p_status: string;
45357
+ };
45358
+ Returns: undefined;
45359
+ };
44836
45360
  };
44837
45361
  Enums: {
44838
45362
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -45133,6 +45657,9 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45133
45657
  created_at: string;
45134
45658
  extra_id: string;
45135
45659
  id: string;
45660
+ original_unit_price: number | null;
45661
+ override_reason: string | null;
45662
+ override_unit_price: number | null;
45136
45663
  quantity: number;
45137
45664
  total_price: number;
45138
45665
  unit_price: number;
@@ -45142,6 +45669,9 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45142
45669
  created_at?: string;
45143
45670
  extra_id: string;
45144
45671
  id?: string;
45672
+ original_unit_price?: number | null;
45673
+ override_reason?: string | null;
45674
+ override_unit_price?: number | null;
45145
45675
  quantity?: number;
45146
45676
  total_price?: number;
45147
45677
  unit_price?: number;
@@ -45151,6 +45681,9 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45151
45681
  created_at?: string;
45152
45682
  extra_id?: string;
45153
45683
  id?: string;
45684
+ original_unit_price?: number | null;
45685
+ override_reason?: string | null;
45686
+ override_unit_price?: number | null;
45154
45687
  quantity?: number;
45155
45688
  total_price?: number;
45156
45689
  unit_price?: number;
@@ -45171,11 +45704,15 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45171
45704
  };
45172
45705
  bookings: {
45173
45706
  Row: {
45707
+ archive_reason: string | null;
45708
+ archived_at: string | null;
45709
+ archived_by: string | null;
45174
45710
  company_name: string | null;
45175
45711
  conflict_checked_at: string | null;
45176
45712
  conflict_reason: string | null;
45177
45713
  created_at: string;
45178
45714
  created_by_role: string | null;
45715
+ customer_address: string | null;
45179
45716
  customer_email: string | null;
45180
45717
  customer_name: string | null;
45181
45718
  end_time: string;
@@ -45187,7 +45724,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45187
45724
  invoiced_at: string | null;
45188
45725
  notes: string | null;
45189
45726
  number_of_people: number;
45727
+ overridden_at: string | null;
45728
+ overridden_by: string | null;
45729
+ override_reason: string | null;
45730
+ price_override: boolean;
45190
45731
  room_id: string;
45732
+ room_price_override: number | null;
45191
45733
  start_time: string;
45192
45734
  status: string;
45193
45735
  total_excl_vat: number | null;
@@ -45196,11 +45738,15 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45196
45738
  vat_amount: number | null;
45197
45739
  };
45198
45740
  Insert: {
45741
+ archive_reason?: string | null;
45742
+ archived_at?: string | null;
45743
+ archived_by?: string | null;
45199
45744
  company_name?: string | null;
45200
45745
  conflict_checked_at?: string | null;
45201
45746
  conflict_reason?: string | null;
45202
45747
  created_at?: string;
45203
45748
  created_by_role?: string | null;
45749
+ customer_address?: string | null;
45204
45750
  customer_email?: string | null;
45205
45751
  customer_name?: string | null;
45206
45752
  end_time: string;
@@ -45212,7 +45758,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45212
45758
  invoiced_at?: string | null;
45213
45759
  notes?: string | null;
45214
45760
  number_of_people?: number;
45761
+ overridden_at?: string | null;
45762
+ overridden_by?: string | null;
45763
+ override_reason?: string | null;
45764
+ price_override?: boolean;
45215
45765
  room_id: string;
45766
+ room_price_override?: number | null;
45216
45767
  start_time: string;
45217
45768
  status?: string;
45218
45769
  total_excl_vat?: number | null;
@@ -45221,11 +45772,15 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45221
45772
  vat_amount?: number | null;
45222
45773
  };
45223
45774
  Update: {
45775
+ archive_reason?: string | null;
45776
+ archived_at?: string | null;
45777
+ archived_by?: string | null;
45224
45778
  company_name?: string | null;
45225
45779
  conflict_checked_at?: string | null;
45226
45780
  conflict_reason?: string | null;
45227
45781
  created_at?: string;
45228
45782
  created_by_role?: string | null;
45783
+ customer_address?: string | null;
45229
45784
  customer_email?: string | null;
45230
45785
  customer_name?: string | null;
45231
45786
  end_time?: string;
@@ -45237,7 +45792,12 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
45237
45792
  invoiced_at?: string | null;
45238
45793
  notes?: string | null;
45239
45794
  number_of_people?: number;
45795
+ overridden_at?: string | null;
45796
+ overridden_by?: string | null;
45797
+ override_reason?: string | null;
45798
+ price_override?: boolean;
45240
45799
  room_id?: string;
45800
+ room_price_override?: number | null;
45241
45801
  start_time?: string;
45242
45802
  status?: string;
45243
45803
  total_excl_vat?: number | null;
@@ -46066,8 +46626,27 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46066
46626
  customers: {
46067
46627
  Row: {
46068
46628
  address: string | null;
46629
+ address_line1: string | null;
46630
+ address_line2: string | null;
46631
+ address_type: string | null;
46632
+ attention_to: string | null;
46633
+ bank_account_holder: string | null;
46634
+ bank_account_number: string | null;
46635
+ bank_address_line1: string | null;
46636
+ bank_address_line2: string | null;
46637
+ bank_bic: string | null;
46638
+ bank_city: string | null;
46639
+ bank_country: string | null;
46640
+ bank_house_number: string | null;
46641
+ bank_iban: string | null;
46642
+ bank_name: string | null;
46643
+ bank_national_code: string | null;
46644
+ bank_postal_code: string | null;
46645
+ bank_state: string | null;
46646
+ billing_email: string | null;
46069
46647
  bio: string | null;
46070
46648
  city: string | null;
46649
+ coc_number: string | null;
46071
46650
  commercial_name: string | null;
46072
46651
  company_name: string;
46073
46652
  connection_status: string;
@@ -46076,21 +46655,28 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46076
46655
  created_at: string;
46077
46656
  custom_fields: import("../integrations/supabase/types").Json;
46078
46657
  customer_class: string | null;
46658
+ customer_number: string | null;
46659
+ discount_days: number | null;
46660
+ discount_percentage: number | null;
46079
46661
  email: string | null;
46080
46662
  external_id: string | null;
46663
+ fax: string | null;
46081
46664
  floriday_connection_id: string | null;
46082
46665
  floriday_organization_id: string | null;
46083
46666
  floriday_raw: import("../integrations/supabase/types").Json | null;
46084
46667
  gln: string | null;
46085
46668
  house_number: string | null;
46669
+ icp_country_code: string | null;
46086
46670
  id: string;
46087
46671
  is_active: boolean;
46672
+ language: string | null;
46088
46673
  last_synced_at: string | null;
46089
46674
  logo_url: string | null;
46090
46675
  markets: string[];
46091
46676
  notes: string | null;
46092
46677
  organization_type: string | null;
46093
46678
  payment_methods: string[];
46679
+ payment_term_days: number | null;
46094
46680
  phone: string | null;
46095
46681
  postal_code: string | null;
46096
46682
  product_groups: string[];
@@ -46101,13 +46687,33 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46101
46687
  sync_status: string;
46102
46688
  trade_forms: string[];
46103
46689
  updated_at: string;
46690
+ vat_display: string | null;
46104
46691
  vat_number: string | null;
46105
46692
  website: string | null;
46106
46693
  };
46107
46694
  Insert: {
46108
46695
  address?: string | null;
46696
+ address_line1?: string | null;
46697
+ address_line2?: string | null;
46698
+ address_type?: string | null;
46699
+ attention_to?: string | null;
46700
+ bank_account_holder?: string | null;
46701
+ bank_account_number?: string | null;
46702
+ bank_address_line1?: string | null;
46703
+ bank_address_line2?: string | null;
46704
+ bank_bic?: string | null;
46705
+ bank_city?: string | null;
46706
+ bank_country?: string | null;
46707
+ bank_house_number?: string | null;
46708
+ bank_iban?: string | null;
46709
+ bank_name?: string | null;
46710
+ bank_national_code?: string | null;
46711
+ bank_postal_code?: string | null;
46712
+ bank_state?: string | null;
46713
+ billing_email?: string | null;
46109
46714
  bio?: string | null;
46110
46715
  city?: string | null;
46716
+ coc_number?: string | null;
46111
46717
  commercial_name?: string | null;
46112
46718
  company_name: string;
46113
46719
  connection_status?: string;
@@ -46116,21 +46722,28 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46116
46722
  created_at?: string;
46117
46723
  custom_fields?: import("../integrations/supabase/types").Json;
46118
46724
  customer_class?: string | null;
46725
+ customer_number?: string | null;
46726
+ discount_days?: number | null;
46727
+ discount_percentage?: number | null;
46119
46728
  email?: string | null;
46120
46729
  external_id?: string | null;
46730
+ fax?: string | null;
46121
46731
  floriday_connection_id?: string | null;
46122
46732
  floriday_organization_id?: string | null;
46123
46733
  floriday_raw?: import("../integrations/supabase/types").Json | null;
46124
46734
  gln?: string | null;
46125
46735
  house_number?: string | null;
46736
+ icp_country_code?: string | null;
46126
46737
  id?: string;
46127
46738
  is_active?: boolean;
46739
+ language?: string | null;
46128
46740
  last_synced_at?: string | null;
46129
46741
  logo_url?: string | null;
46130
46742
  markets?: string[];
46131
46743
  notes?: string | null;
46132
46744
  organization_type?: string | null;
46133
46745
  payment_methods?: string[];
46746
+ payment_term_days?: number | null;
46134
46747
  phone?: string | null;
46135
46748
  postal_code?: string | null;
46136
46749
  product_groups?: string[];
@@ -46141,13 +46754,33 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46141
46754
  sync_status?: string;
46142
46755
  trade_forms?: string[];
46143
46756
  updated_at?: string;
46757
+ vat_display?: string | null;
46144
46758
  vat_number?: string | null;
46145
46759
  website?: string | null;
46146
46760
  };
46147
46761
  Update: {
46148
46762
  address?: string | null;
46763
+ address_line1?: string | null;
46764
+ address_line2?: string | null;
46765
+ address_type?: string | null;
46766
+ attention_to?: string | null;
46767
+ bank_account_holder?: string | null;
46768
+ bank_account_number?: string | null;
46769
+ bank_address_line1?: string | null;
46770
+ bank_address_line2?: string | null;
46771
+ bank_bic?: string | null;
46772
+ bank_city?: string | null;
46773
+ bank_country?: string | null;
46774
+ bank_house_number?: string | null;
46775
+ bank_iban?: string | null;
46776
+ bank_name?: string | null;
46777
+ bank_national_code?: string | null;
46778
+ bank_postal_code?: string | null;
46779
+ bank_state?: string | null;
46780
+ billing_email?: string | null;
46149
46781
  bio?: string | null;
46150
46782
  city?: string | null;
46783
+ coc_number?: string | null;
46151
46784
  commercial_name?: string | null;
46152
46785
  company_name?: string;
46153
46786
  connection_status?: string;
@@ -46156,21 +46789,28 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46156
46789
  created_at?: string;
46157
46790
  custom_fields?: import("../integrations/supabase/types").Json;
46158
46791
  customer_class?: string | null;
46792
+ customer_number?: string | null;
46793
+ discount_days?: number | null;
46794
+ discount_percentage?: number | null;
46159
46795
  email?: string | null;
46160
46796
  external_id?: string | null;
46797
+ fax?: string | null;
46161
46798
  floriday_connection_id?: string | null;
46162
46799
  floriday_organization_id?: string | null;
46163
46800
  floriday_raw?: import("../integrations/supabase/types").Json | null;
46164
46801
  gln?: string | null;
46165
46802
  house_number?: string | null;
46803
+ icp_country_code?: string | null;
46166
46804
  id?: string;
46167
46805
  is_active?: boolean;
46806
+ language?: string | null;
46168
46807
  last_synced_at?: string | null;
46169
46808
  logo_url?: string | null;
46170
46809
  markets?: string[];
46171
46810
  notes?: string | null;
46172
46811
  organization_type?: string | null;
46173
46812
  payment_methods?: string[];
46813
+ payment_term_days?: number | null;
46174
46814
  phone?: string | null;
46175
46815
  postal_code?: string | null;
46176
46816
  product_groups?: string[];
@@ -46181,6 +46821,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
46181
46821
  sync_status?: string;
46182
46822
  trade_forms?: string[];
46183
46823
  updated_at?: string;
46824
+ vat_display?: string | null;
46184
46825
  vat_number?: string | null;
46185
46826
  website?: string | null;
46186
46827
  };
@@ -52137,6 +52778,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
52137
52778
  };
52138
52779
  profiles: {
52139
52780
  Row: {
52781
+ address: string | null;
52140
52782
  created_at: string;
52141
52783
  display_name: string | null;
52142
52784
  email: string | null;
@@ -52147,6 +52789,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
52147
52789
  updated_at: string;
52148
52790
  };
52149
52791
  Insert: {
52792
+ address?: string | null;
52150
52793
  created_at?: string;
52151
52794
  display_name?: string | null;
52152
52795
  email?: string | null;
@@ -52157,6 +52800,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
52157
52800
  updated_at?: string;
52158
52801
  };
52159
52802
  Update: {
52803
+ address?: string | null;
52160
52804
  created_at?: string;
52161
52805
  display_name?: string | null;
52162
52806
  email?: string | null;
@@ -55197,7 +55841,7 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
55197
55841
  };
55198
55842
  cleanup_old_bookings: {
55199
55843
  Args: never;
55200
- Returns: number;
55844
+ Returns: undefined;
55201
55845
  };
55202
55846
  consume_floriday_rate_limit: {
55203
55847
  Args: {
@@ -56052,6 +56696,17 @@ export declare const gatewaySupplyLineFn: import("@tanstack/start-client-core").
56052
56696
  };
56053
56697
  Returns: string;
56054
56698
  };
56699
+ upsert_auto_fulfillment_log: {
56700
+ Args: {
56701
+ p_connection_id: string;
56702
+ p_error?: string;
56703
+ p_fulfillment_order_id?: string;
56704
+ p_reason?: string;
56705
+ p_sales_order_id: string;
56706
+ p_status: string;
56707
+ };
56708
+ Returns: undefined;
56709
+ };
56055
56710
  };
56056
56711
  Enums: {
56057
56712
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";