@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.
@@ -281,6 +281,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
281
281
  created_at: string;
282
282
  extra_id: string;
283
283
  id: string;
284
+ original_unit_price: number | null;
285
+ override_reason: string | null;
286
+ override_unit_price: number | null;
284
287
  quantity: number;
285
288
  total_price: number;
286
289
  unit_price: number;
@@ -290,6 +293,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
290
293
  created_at?: string;
291
294
  extra_id: string;
292
295
  id?: string;
296
+ original_unit_price?: number | null;
297
+ override_reason?: string | null;
298
+ override_unit_price?: number | null;
293
299
  quantity?: number;
294
300
  total_price?: number;
295
301
  unit_price?: number;
@@ -299,6 +305,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
299
305
  created_at?: string;
300
306
  extra_id?: string;
301
307
  id?: string;
308
+ original_unit_price?: number | null;
309
+ override_reason?: string | null;
310
+ override_unit_price?: number | null;
302
311
  quantity?: number;
303
312
  total_price?: number;
304
313
  unit_price?: number;
@@ -319,11 +328,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
319
328
  };
320
329
  bookings: {
321
330
  Row: {
331
+ archive_reason: string | null;
332
+ archived_at: string | null;
333
+ archived_by: string | null;
322
334
  company_name: string | null;
323
335
  conflict_checked_at: string | null;
324
336
  conflict_reason: string | null;
325
337
  created_at: string;
326
338
  created_by_role: string | null;
339
+ customer_address: string | null;
327
340
  customer_email: string | null;
328
341
  customer_name: string | null;
329
342
  end_time: string;
@@ -335,7 +348,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
335
348
  invoiced_at: string | null;
336
349
  notes: string | null;
337
350
  number_of_people: number;
351
+ overridden_at: string | null;
352
+ overridden_by: string | null;
353
+ override_reason: string | null;
354
+ price_override: boolean;
338
355
  room_id: string;
356
+ room_price_override: number | null;
339
357
  start_time: string;
340
358
  status: string;
341
359
  total_excl_vat: number | null;
@@ -344,11 +362,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
344
362
  vat_amount: number | null;
345
363
  };
346
364
  Insert: {
365
+ archive_reason?: string | null;
366
+ archived_at?: string | null;
367
+ archived_by?: string | null;
347
368
  company_name?: string | null;
348
369
  conflict_checked_at?: string | null;
349
370
  conflict_reason?: string | null;
350
371
  created_at?: string;
351
372
  created_by_role?: string | null;
373
+ customer_address?: string | null;
352
374
  customer_email?: string | null;
353
375
  customer_name?: string | null;
354
376
  end_time: string;
@@ -360,7 +382,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
360
382
  invoiced_at?: string | null;
361
383
  notes?: string | null;
362
384
  number_of_people?: number;
385
+ overridden_at?: string | null;
386
+ overridden_by?: string | null;
387
+ override_reason?: string | null;
388
+ price_override?: boolean;
363
389
  room_id: string;
390
+ room_price_override?: number | null;
364
391
  start_time: string;
365
392
  status?: string;
366
393
  total_excl_vat?: number | null;
@@ -369,11 +396,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
369
396
  vat_amount?: number | null;
370
397
  };
371
398
  Update: {
399
+ archive_reason?: string | null;
400
+ archived_at?: string | null;
401
+ archived_by?: string | null;
372
402
  company_name?: string | null;
373
403
  conflict_checked_at?: string | null;
374
404
  conflict_reason?: string | null;
375
405
  created_at?: string;
376
406
  created_by_role?: string | null;
407
+ customer_address?: string | null;
377
408
  customer_email?: string | null;
378
409
  customer_name?: string | null;
379
410
  end_time?: string;
@@ -385,7 +416,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
385
416
  invoiced_at?: string | null;
386
417
  notes?: string | null;
387
418
  number_of_people?: number;
419
+ overridden_at?: string | null;
420
+ overridden_by?: string | null;
421
+ override_reason?: string | null;
422
+ price_override?: boolean;
388
423
  room_id?: string;
424
+ room_price_override?: number | null;
389
425
  start_time?: string;
390
426
  status?: string;
391
427
  total_excl_vat?: number | null;
@@ -1214,8 +1250,27 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1214
1250
  customers: {
1215
1251
  Row: {
1216
1252
  address: string | null;
1253
+ address_line1: string | null;
1254
+ address_line2: string | null;
1255
+ address_type: string | null;
1256
+ attention_to: string | null;
1257
+ bank_account_holder: string | null;
1258
+ bank_account_number: string | null;
1259
+ bank_address_line1: string | null;
1260
+ bank_address_line2: string | null;
1261
+ bank_bic: string | null;
1262
+ bank_city: string | null;
1263
+ bank_country: string | null;
1264
+ bank_house_number: string | null;
1265
+ bank_iban: string | null;
1266
+ bank_name: string | null;
1267
+ bank_national_code: string | null;
1268
+ bank_postal_code: string | null;
1269
+ bank_state: string | null;
1270
+ billing_email: string | null;
1217
1271
  bio: string | null;
1218
1272
  city: string | null;
1273
+ coc_number: string | null;
1219
1274
  commercial_name: string | null;
1220
1275
  company_name: string;
1221
1276
  connection_status: string;
@@ -1224,21 +1279,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1224
1279
  created_at: string;
1225
1280
  custom_fields: import("../integrations/supabase/types").Json;
1226
1281
  customer_class: string | null;
1282
+ customer_number: string | null;
1283
+ discount_days: number | null;
1284
+ discount_percentage: number | null;
1227
1285
  email: string | null;
1228
1286
  external_id: string | null;
1287
+ fax: string | null;
1229
1288
  floriday_connection_id: string | null;
1230
1289
  floriday_organization_id: string | null;
1231
1290
  floriday_raw: import("../integrations/supabase/types").Json | null;
1232
1291
  gln: string | null;
1233
1292
  house_number: string | null;
1293
+ icp_country_code: string | null;
1234
1294
  id: string;
1235
1295
  is_active: boolean;
1296
+ language: string | null;
1236
1297
  last_synced_at: string | null;
1237
1298
  logo_url: string | null;
1238
1299
  markets: string[];
1239
1300
  notes: string | null;
1240
1301
  organization_type: string | null;
1241
1302
  payment_methods: string[];
1303
+ payment_term_days: number | null;
1242
1304
  phone: string | null;
1243
1305
  postal_code: string | null;
1244
1306
  product_groups: string[];
@@ -1249,13 +1311,33 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1249
1311
  sync_status: string;
1250
1312
  trade_forms: string[];
1251
1313
  updated_at: string;
1314
+ vat_display: string | null;
1252
1315
  vat_number: string | null;
1253
1316
  website: string | null;
1254
1317
  };
1255
1318
  Insert: {
1256
1319
  address?: string | null;
1320
+ address_line1?: string | null;
1321
+ address_line2?: string | null;
1322
+ address_type?: string | null;
1323
+ attention_to?: string | null;
1324
+ bank_account_holder?: string | null;
1325
+ bank_account_number?: string | null;
1326
+ bank_address_line1?: string | null;
1327
+ bank_address_line2?: string | null;
1328
+ bank_bic?: string | null;
1329
+ bank_city?: string | null;
1330
+ bank_country?: string | null;
1331
+ bank_house_number?: string | null;
1332
+ bank_iban?: string | null;
1333
+ bank_name?: string | null;
1334
+ bank_national_code?: string | null;
1335
+ bank_postal_code?: string | null;
1336
+ bank_state?: string | null;
1337
+ billing_email?: string | null;
1257
1338
  bio?: string | null;
1258
1339
  city?: string | null;
1340
+ coc_number?: string | null;
1259
1341
  commercial_name?: string | null;
1260
1342
  company_name: string;
1261
1343
  connection_status?: string;
@@ -1264,21 +1346,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1264
1346
  created_at?: string;
1265
1347
  custom_fields?: import("../integrations/supabase/types").Json;
1266
1348
  customer_class?: string | null;
1349
+ customer_number?: string | null;
1350
+ discount_days?: number | null;
1351
+ discount_percentage?: number | null;
1267
1352
  email?: string | null;
1268
1353
  external_id?: string | null;
1354
+ fax?: string | null;
1269
1355
  floriday_connection_id?: string | null;
1270
1356
  floriday_organization_id?: string | null;
1271
1357
  floriday_raw?: import("../integrations/supabase/types").Json | null;
1272
1358
  gln?: string | null;
1273
1359
  house_number?: string | null;
1360
+ icp_country_code?: string | null;
1274
1361
  id?: string;
1275
1362
  is_active?: boolean;
1363
+ language?: string | null;
1276
1364
  last_synced_at?: string | null;
1277
1365
  logo_url?: string | null;
1278
1366
  markets?: string[];
1279
1367
  notes?: string | null;
1280
1368
  organization_type?: string | null;
1281
1369
  payment_methods?: string[];
1370
+ payment_term_days?: number | null;
1282
1371
  phone?: string | null;
1283
1372
  postal_code?: string | null;
1284
1373
  product_groups?: string[];
@@ -1289,13 +1378,33 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1289
1378
  sync_status?: string;
1290
1379
  trade_forms?: string[];
1291
1380
  updated_at?: string;
1381
+ vat_display?: string | null;
1292
1382
  vat_number?: string | null;
1293
1383
  website?: string | null;
1294
1384
  };
1295
1385
  Update: {
1296
1386
  address?: string | null;
1387
+ address_line1?: string | null;
1388
+ address_line2?: string | null;
1389
+ address_type?: string | null;
1390
+ attention_to?: string | null;
1391
+ bank_account_holder?: string | null;
1392
+ bank_account_number?: string | null;
1393
+ bank_address_line1?: string | null;
1394
+ bank_address_line2?: string | null;
1395
+ bank_bic?: string | null;
1396
+ bank_city?: string | null;
1397
+ bank_country?: string | null;
1398
+ bank_house_number?: string | null;
1399
+ bank_iban?: string | null;
1400
+ bank_name?: string | null;
1401
+ bank_national_code?: string | null;
1402
+ bank_postal_code?: string | null;
1403
+ bank_state?: string | null;
1404
+ billing_email?: string | null;
1297
1405
  bio?: string | null;
1298
1406
  city?: string | null;
1407
+ coc_number?: string | null;
1299
1408
  commercial_name?: string | null;
1300
1409
  company_name?: string;
1301
1410
  connection_status?: string;
@@ -1304,21 +1413,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1304
1413
  created_at?: string;
1305
1414
  custom_fields?: import("../integrations/supabase/types").Json;
1306
1415
  customer_class?: string | null;
1416
+ customer_number?: string | null;
1417
+ discount_days?: number | null;
1418
+ discount_percentage?: number | null;
1307
1419
  email?: string | null;
1308
1420
  external_id?: string | null;
1421
+ fax?: string | null;
1309
1422
  floriday_connection_id?: string | null;
1310
1423
  floriday_organization_id?: string | null;
1311
1424
  floriday_raw?: import("../integrations/supabase/types").Json | null;
1312
1425
  gln?: string | null;
1313
1426
  house_number?: string | null;
1427
+ icp_country_code?: string | null;
1314
1428
  id?: string;
1315
1429
  is_active?: boolean;
1430
+ language?: string | null;
1316
1431
  last_synced_at?: string | null;
1317
1432
  logo_url?: string | null;
1318
1433
  markets?: string[];
1319
1434
  notes?: string | null;
1320
1435
  organization_type?: string | null;
1321
1436
  payment_methods?: string[];
1437
+ payment_term_days?: number | null;
1322
1438
  phone?: string | null;
1323
1439
  postal_code?: string | null;
1324
1440
  product_groups?: string[];
@@ -1329,6 +1445,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
1329
1445
  sync_status?: string;
1330
1446
  trade_forms?: string[];
1331
1447
  updated_at?: string;
1448
+ vat_display?: string | null;
1332
1449
  vat_number?: string | null;
1333
1450
  website?: string | null;
1334
1451
  };
@@ -7285,6 +7402,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
7285
7402
  };
7286
7403
  profiles: {
7287
7404
  Row: {
7405
+ address: string | null;
7288
7406
  created_at: string;
7289
7407
  display_name: string | null;
7290
7408
  email: string | null;
@@ -7295,6 +7413,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
7295
7413
  updated_at: string;
7296
7414
  };
7297
7415
  Insert: {
7416
+ address?: string | null;
7298
7417
  created_at?: string;
7299
7418
  display_name?: string | null;
7300
7419
  email?: string | null;
@@ -7305,6 +7424,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
7305
7424
  updated_at?: string;
7306
7425
  };
7307
7426
  Update: {
7427
+ address?: string | null;
7308
7428
  created_at?: string;
7309
7429
  display_name?: string | null;
7310
7430
  email?: string | null;
@@ -10345,7 +10465,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
10345
10465
  };
10346
10466
  cleanup_old_bookings: {
10347
10467
  Args: never;
10348
- Returns: number;
10468
+ Returns: undefined;
10349
10469
  };
10350
10470
  consume_floriday_rate_limit: {
10351
10471
  Args: {
@@ -11200,6 +11320,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Req
11200
11320
  };
11201
11321
  Returns: string;
11202
11322
  };
11323
+ upsert_auto_fulfillment_log: {
11324
+ Args: {
11325
+ p_connection_id: string;
11326
+ p_error?: string;
11327
+ p_fulfillment_order_id?: string;
11328
+ p_reason?: string;
11329
+ p_sales_order_id: string;
11330
+ p_status: string;
11331
+ };
11332
+ Returns: undefined;
11333
+ };
11203
11334
  };
11204
11335
  Enums: {
11205
11336
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
@@ -11487,6 +11618,9 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11487
11618
  created_at: string;
11488
11619
  extra_id: string;
11489
11620
  id: string;
11621
+ original_unit_price: number | null;
11622
+ override_reason: string | null;
11623
+ override_unit_price: number | null;
11490
11624
  quantity: number;
11491
11625
  total_price: number;
11492
11626
  unit_price: number;
@@ -11496,6 +11630,9 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11496
11630
  created_at?: string;
11497
11631
  extra_id: string;
11498
11632
  id?: string;
11633
+ original_unit_price?: number | null;
11634
+ override_reason?: string | null;
11635
+ override_unit_price?: number | null;
11499
11636
  quantity?: number;
11500
11637
  total_price?: number;
11501
11638
  unit_price?: number;
@@ -11505,6 +11642,9 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11505
11642
  created_at?: string;
11506
11643
  extra_id?: string;
11507
11644
  id?: string;
11645
+ original_unit_price?: number | null;
11646
+ override_reason?: string | null;
11647
+ override_unit_price?: number | null;
11508
11648
  quantity?: number;
11509
11649
  total_price?: number;
11510
11650
  unit_price?: number;
@@ -11525,11 +11665,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11525
11665
  };
11526
11666
  bookings: {
11527
11667
  Row: {
11668
+ archive_reason: string | null;
11669
+ archived_at: string | null;
11670
+ archived_by: string | null;
11528
11671
  company_name: string | null;
11529
11672
  conflict_checked_at: string | null;
11530
11673
  conflict_reason: string | null;
11531
11674
  created_at: string;
11532
11675
  created_by_role: string | null;
11676
+ customer_address: string | null;
11533
11677
  customer_email: string | null;
11534
11678
  customer_name: string | null;
11535
11679
  end_time: string;
@@ -11541,7 +11685,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11541
11685
  invoiced_at: string | null;
11542
11686
  notes: string | null;
11543
11687
  number_of_people: number;
11688
+ overridden_at: string | null;
11689
+ overridden_by: string | null;
11690
+ override_reason: string | null;
11691
+ price_override: boolean;
11544
11692
  room_id: string;
11693
+ room_price_override: number | null;
11545
11694
  start_time: string;
11546
11695
  status: string;
11547
11696
  total_excl_vat: number | null;
@@ -11550,11 +11699,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11550
11699
  vat_amount: number | null;
11551
11700
  };
11552
11701
  Insert: {
11702
+ archive_reason?: string | null;
11703
+ archived_at?: string | null;
11704
+ archived_by?: string | null;
11553
11705
  company_name?: string | null;
11554
11706
  conflict_checked_at?: string | null;
11555
11707
  conflict_reason?: string | null;
11556
11708
  created_at?: string;
11557
11709
  created_by_role?: string | null;
11710
+ customer_address?: string | null;
11558
11711
  customer_email?: string | null;
11559
11712
  customer_name?: string | null;
11560
11713
  end_time: string;
@@ -11566,7 +11719,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11566
11719
  invoiced_at?: string | null;
11567
11720
  notes?: string | null;
11568
11721
  number_of_people?: number;
11722
+ overridden_at?: string | null;
11723
+ overridden_by?: string | null;
11724
+ override_reason?: string | null;
11725
+ price_override?: boolean;
11569
11726
  room_id: string;
11727
+ room_price_override?: number | null;
11570
11728
  start_time: string;
11571
11729
  status?: string;
11572
11730
  total_excl_vat?: number | null;
@@ -11575,11 +11733,15 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11575
11733
  vat_amount?: number | null;
11576
11734
  };
11577
11735
  Update: {
11736
+ archive_reason?: string | null;
11737
+ archived_at?: string | null;
11738
+ archived_by?: string | null;
11578
11739
  company_name?: string | null;
11579
11740
  conflict_checked_at?: string | null;
11580
11741
  conflict_reason?: string | null;
11581
11742
  created_at?: string;
11582
11743
  created_by_role?: string | null;
11744
+ customer_address?: string | null;
11583
11745
  customer_email?: string | null;
11584
11746
  customer_name?: string | null;
11585
11747
  end_time?: string;
@@ -11591,7 +11753,12 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
11591
11753
  invoiced_at?: string | null;
11592
11754
  notes?: string | null;
11593
11755
  number_of_people?: number;
11756
+ overridden_at?: string | null;
11757
+ overridden_by?: string | null;
11758
+ override_reason?: string | null;
11759
+ price_override?: boolean;
11594
11760
  room_id?: string;
11761
+ room_price_override?: number | null;
11595
11762
  start_time?: string;
11596
11763
  status?: string;
11597
11764
  total_excl_vat?: number | null;
@@ -12420,8 +12587,27 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12420
12587
  customers: {
12421
12588
  Row: {
12422
12589
  address: string | null;
12590
+ address_line1: string | null;
12591
+ address_line2: string | null;
12592
+ address_type: string | null;
12593
+ attention_to: string | null;
12594
+ bank_account_holder: string | null;
12595
+ bank_account_number: string | null;
12596
+ bank_address_line1: string | null;
12597
+ bank_address_line2: string | null;
12598
+ bank_bic: string | null;
12599
+ bank_city: string | null;
12600
+ bank_country: string | null;
12601
+ bank_house_number: string | null;
12602
+ bank_iban: string | null;
12603
+ bank_name: string | null;
12604
+ bank_national_code: string | null;
12605
+ bank_postal_code: string | null;
12606
+ bank_state: string | null;
12607
+ billing_email: string | null;
12423
12608
  bio: string | null;
12424
12609
  city: string | null;
12610
+ coc_number: string | null;
12425
12611
  commercial_name: string | null;
12426
12612
  company_name: string;
12427
12613
  connection_status: string;
@@ -12430,21 +12616,28 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12430
12616
  created_at: string;
12431
12617
  custom_fields: import("../integrations/supabase/types").Json;
12432
12618
  customer_class: string | null;
12619
+ customer_number: string | null;
12620
+ discount_days: number | null;
12621
+ discount_percentage: number | null;
12433
12622
  email: string | null;
12434
12623
  external_id: string | null;
12624
+ fax: string | null;
12435
12625
  floriday_connection_id: string | null;
12436
12626
  floriday_organization_id: string | null;
12437
12627
  floriday_raw: import("../integrations/supabase/types").Json | null;
12438
12628
  gln: string | null;
12439
12629
  house_number: string | null;
12630
+ icp_country_code: string | null;
12440
12631
  id: string;
12441
12632
  is_active: boolean;
12633
+ language: string | null;
12442
12634
  last_synced_at: string | null;
12443
12635
  logo_url: string | null;
12444
12636
  markets: string[];
12445
12637
  notes: string | null;
12446
12638
  organization_type: string | null;
12447
12639
  payment_methods: string[];
12640
+ payment_term_days: number | null;
12448
12641
  phone: string | null;
12449
12642
  postal_code: string | null;
12450
12643
  product_groups: string[];
@@ -12455,13 +12648,33 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12455
12648
  sync_status: string;
12456
12649
  trade_forms: string[];
12457
12650
  updated_at: string;
12651
+ vat_display: string | null;
12458
12652
  vat_number: string | null;
12459
12653
  website: string | null;
12460
12654
  };
12461
12655
  Insert: {
12462
12656
  address?: string | null;
12657
+ address_line1?: string | null;
12658
+ address_line2?: string | null;
12659
+ address_type?: string | null;
12660
+ attention_to?: string | null;
12661
+ bank_account_holder?: string | null;
12662
+ bank_account_number?: string | null;
12663
+ bank_address_line1?: string | null;
12664
+ bank_address_line2?: string | null;
12665
+ bank_bic?: string | null;
12666
+ bank_city?: string | null;
12667
+ bank_country?: string | null;
12668
+ bank_house_number?: string | null;
12669
+ bank_iban?: string | null;
12670
+ bank_name?: string | null;
12671
+ bank_national_code?: string | null;
12672
+ bank_postal_code?: string | null;
12673
+ bank_state?: string | null;
12674
+ billing_email?: string | null;
12463
12675
  bio?: string | null;
12464
12676
  city?: string | null;
12677
+ coc_number?: string | null;
12465
12678
  commercial_name?: string | null;
12466
12679
  company_name: string;
12467
12680
  connection_status?: string;
@@ -12470,21 +12683,28 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12470
12683
  created_at?: string;
12471
12684
  custom_fields?: import("../integrations/supabase/types").Json;
12472
12685
  customer_class?: string | null;
12686
+ customer_number?: string | null;
12687
+ discount_days?: number | null;
12688
+ discount_percentage?: number | null;
12473
12689
  email?: string | null;
12474
12690
  external_id?: string | null;
12691
+ fax?: string | null;
12475
12692
  floriday_connection_id?: string | null;
12476
12693
  floriday_organization_id?: string | null;
12477
12694
  floriday_raw?: import("../integrations/supabase/types").Json | null;
12478
12695
  gln?: string | null;
12479
12696
  house_number?: string | null;
12697
+ icp_country_code?: string | null;
12480
12698
  id?: string;
12481
12699
  is_active?: boolean;
12700
+ language?: string | null;
12482
12701
  last_synced_at?: string | null;
12483
12702
  logo_url?: string | null;
12484
12703
  markets?: string[];
12485
12704
  notes?: string | null;
12486
12705
  organization_type?: string | null;
12487
12706
  payment_methods?: string[];
12707
+ payment_term_days?: number | null;
12488
12708
  phone?: string | null;
12489
12709
  postal_code?: string | null;
12490
12710
  product_groups?: string[];
@@ -12495,13 +12715,33 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12495
12715
  sync_status?: string;
12496
12716
  trade_forms?: string[];
12497
12717
  updated_at?: string;
12718
+ vat_display?: string | null;
12498
12719
  vat_number?: string | null;
12499
12720
  website?: string | null;
12500
12721
  };
12501
12722
  Update: {
12502
12723
  address?: string | null;
12724
+ address_line1?: string | null;
12725
+ address_line2?: string | null;
12726
+ address_type?: string | null;
12727
+ attention_to?: string | null;
12728
+ bank_account_holder?: string | null;
12729
+ bank_account_number?: string | null;
12730
+ bank_address_line1?: string | null;
12731
+ bank_address_line2?: string | null;
12732
+ bank_bic?: string | null;
12733
+ bank_city?: string | null;
12734
+ bank_country?: string | null;
12735
+ bank_house_number?: string | null;
12736
+ bank_iban?: string | null;
12737
+ bank_name?: string | null;
12738
+ bank_national_code?: string | null;
12739
+ bank_postal_code?: string | null;
12740
+ bank_state?: string | null;
12741
+ billing_email?: string | null;
12503
12742
  bio?: string | null;
12504
12743
  city?: string | null;
12744
+ coc_number?: string | null;
12505
12745
  commercial_name?: string | null;
12506
12746
  company_name?: string;
12507
12747
  connection_status?: string;
@@ -12510,21 +12750,28 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12510
12750
  created_at?: string;
12511
12751
  custom_fields?: import("../integrations/supabase/types").Json;
12512
12752
  customer_class?: string | null;
12753
+ customer_number?: string | null;
12754
+ discount_days?: number | null;
12755
+ discount_percentage?: number | null;
12513
12756
  email?: string | null;
12514
12757
  external_id?: string | null;
12758
+ fax?: string | null;
12515
12759
  floriday_connection_id?: string | null;
12516
12760
  floriday_organization_id?: string | null;
12517
12761
  floriday_raw?: import("../integrations/supabase/types").Json | null;
12518
12762
  gln?: string | null;
12519
12763
  house_number?: string | null;
12764
+ icp_country_code?: string | null;
12520
12765
  id?: string;
12521
12766
  is_active?: boolean;
12767
+ language?: string | null;
12522
12768
  last_synced_at?: string | null;
12523
12769
  logo_url?: string | null;
12524
12770
  markets?: string[];
12525
12771
  notes?: string | null;
12526
12772
  organization_type?: string | null;
12527
12773
  payment_methods?: string[];
12774
+ payment_term_days?: number | null;
12528
12775
  phone?: string | null;
12529
12776
  postal_code?: string | null;
12530
12777
  product_groups?: string[];
@@ -12535,6 +12782,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
12535
12782
  sync_status?: string;
12536
12783
  trade_forms?: string[];
12537
12784
  updated_at?: string;
12785
+ vat_display?: string | null;
12538
12786
  vat_number?: string | null;
12539
12787
  website?: string | null;
12540
12788
  };
@@ -18491,6 +18739,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
18491
18739
  };
18492
18740
  profiles: {
18493
18741
  Row: {
18742
+ address: string | null;
18494
18743
  created_at: string;
18495
18744
  display_name: string | null;
18496
18745
  email: string | null;
@@ -18501,6 +18750,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
18501
18750
  updated_at: string;
18502
18751
  };
18503
18752
  Insert: {
18753
+ address?: string | null;
18504
18754
  created_at?: string;
18505
18755
  display_name?: string | null;
18506
18756
  email?: string | null;
@@ -18511,6 +18761,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
18511
18761
  updated_at?: string;
18512
18762
  };
18513
18763
  Update: {
18764
+ address?: string | null;
18514
18765
  created_at?: string;
18515
18766
  display_name?: string | null;
18516
18767
  email?: string | null;
@@ -21551,7 +21802,7 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
21551
21802
  };
21552
21803
  cleanup_old_bookings: {
21553
21804
  Args: never;
21554
- Returns: number;
21805
+ Returns: undefined;
21555
21806
  };
21556
21807
  consume_floriday_rate_limit: {
21557
21808
  Args: {
@@ -22406,6 +22657,17 @@ export declare const updateTradeItemFn: import("@tanstack/start-client-core").Re
22406
22657
  };
22407
22658
  Returns: string;
22408
22659
  };
22660
+ upsert_auto_fulfillment_log: {
22661
+ Args: {
22662
+ p_connection_id: string;
22663
+ p_error?: string;
22664
+ p_fulfillment_order_id?: string;
22665
+ p_reason?: string;
22666
+ p_sales_order_id: string;
22667
+ p_status: string;
22668
+ };
22669
+ Returns: undefined;
22670
+ };
22409
22671
  };
22410
22672
  Enums: {
22411
22673
  app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";