@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.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +132 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +132 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +132 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +132 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +132 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +132 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.js +53 -8
- package/dist-lib/lib/floriday-gateway.functions.d.ts +660 -5
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +396 -3
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +264 -2
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -285,6 +285,9 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
285
285
|
created_at: string;
|
|
286
286
|
extra_id: string;
|
|
287
287
|
id: string;
|
|
288
|
+
original_unit_price: number | null;
|
|
289
|
+
override_reason: string | null;
|
|
290
|
+
override_unit_price: number | null;
|
|
288
291
|
quantity: number;
|
|
289
292
|
total_price: number;
|
|
290
293
|
unit_price: number;
|
|
@@ -294,6 +297,9 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
294
297
|
created_at?: string;
|
|
295
298
|
extra_id: string;
|
|
296
299
|
id?: string;
|
|
300
|
+
original_unit_price?: number | null;
|
|
301
|
+
override_reason?: string | null;
|
|
302
|
+
override_unit_price?: number | null;
|
|
297
303
|
quantity?: number;
|
|
298
304
|
total_price?: number;
|
|
299
305
|
unit_price?: number;
|
|
@@ -303,6 +309,9 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
303
309
|
created_at?: string;
|
|
304
310
|
extra_id?: string;
|
|
305
311
|
id?: string;
|
|
312
|
+
original_unit_price?: number | null;
|
|
313
|
+
override_reason?: string | null;
|
|
314
|
+
override_unit_price?: number | null;
|
|
306
315
|
quantity?: number;
|
|
307
316
|
total_price?: number;
|
|
308
317
|
unit_price?: number;
|
|
@@ -323,11 +332,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
323
332
|
};
|
|
324
333
|
bookings: {
|
|
325
334
|
Row: {
|
|
335
|
+
archive_reason: string | null;
|
|
336
|
+
archived_at: string | null;
|
|
337
|
+
archived_by: string | null;
|
|
326
338
|
company_name: string | null;
|
|
327
339
|
conflict_checked_at: string | null;
|
|
328
340
|
conflict_reason: string | null;
|
|
329
341
|
created_at: string;
|
|
330
342
|
created_by_role: string | null;
|
|
343
|
+
customer_address: string | null;
|
|
331
344
|
customer_email: string | null;
|
|
332
345
|
customer_name: string | null;
|
|
333
346
|
end_time: string;
|
|
@@ -339,7 +352,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
339
352
|
invoiced_at: string | null;
|
|
340
353
|
notes: string | null;
|
|
341
354
|
number_of_people: number;
|
|
355
|
+
overridden_at: string | null;
|
|
356
|
+
overridden_by: string | null;
|
|
357
|
+
override_reason: string | null;
|
|
358
|
+
price_override: boolean;
|
|
342
359
|
room_id: string;
|
|
360
|
+
room_price_override: number | null;
|
|
343
361
|
start_time: string;
|
|
344
362
|
status: string;
|
|
345
363
|
total_excl_vat: number | null;
|
|
@@ -348,11 +366,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
348
366
|
vat_amount: number | null;
|
|
349
367
|
};
|
|
350
368
|
Insert: {
|
|
369
|
+
archive_reason?: string | null;
|
|
370
|
+
archived_at?: string | null;
|
|
371
|
+
archived_by?: string | null;
|
|
351
372
|
company_name?: string | null;
|
|
352
373
|
conflict_checked_at?: string | null;
|
|
353
374
|
conflict_reason?: string | null;
|
|
354
375
|
created_at?: string;
|
|
355
376
|
created_by_role?: string | null;
|
|
377
|
+
customer_address?: string | null;
|
|
356
378
|
customer_email?: string | null;
|
|
357
379
|
customer_name?: string | null;
|
|
358
380
|
end_time: string;
|
|
@@ -364,7 +386,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
364
386
|
invoiced_at?: string | null;
|
|
365
387
|
notes?: string | null;
|
|
366
388
|
number_of_people?: number;
|
|
389
|
+
overridden_at?: string | null;
|
|
390
|
+
overridden_by?: string | null;
|
|
391
|
+
override_reason?: string | null;
|
|
392
|
+
price_override?: boolean;
|
|
367
393
|
room_id: string;
|
|
394
|
+
room_price_override?: number | null;
|
|
368
395
|
start_time: string;
|
|
369
396
|
status?: string;
|
|
370
397
|
total_excl_vat?: number | null;
|
|
@@ -373,11 +400,15 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
373
400
|
vat_amount?: number | null;
|
|
374
401
|
};
|
|
375
402
|
Update: {
|
|
403
|
+
archive_reason?: string | null;
|
|
404
|
+
archived_at?: string | null;
|
|
405
|
+
archived_by?: string | null;
|
|
376
406
|
company_name?: string | null;
|
|
377
407
|
conflict_checked_at?: string | null;
|
|
378
408
|
conflict_reason?: string | null;
|
|
379
409
|
created_at?: string;
|
|
380
410
|
created_by_role?: string | null;
|
|
411
|
+
customer_address?: string | null;
|
|
381
412
|
customer_email?: string | null;
|
|
382
413
|
customer_name?: string | null;
|
|
383
414
|
end_time?: string;
|
|
@@ -389,7 +420,12 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
389
420
|
invoiced_at?: string | null;
|
|
390
421
|
notes?: string | null;
|
|
391
422
|
number_of_people?: number;
|
|
423
|
+
overridden_at?: string | null;
|
|
424
|
+
overridden_by?: string | null;
|
|
425
|
+
override_reason?: string | null;
|
|
426
|
+
price_override?: boolean;
|
|
392
427
|
room_id?: string;
|
|
428
|
+
room_price_override?: number | null;
|
|
393
429
|
start_time?: string;
|
|
394
430
|
status?: string;
|
|
395
431
|
total_excl_vat?: number | null;
|
|
@@ -1218,8 +1254,27 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1218
1254
|
customers: {
|
|
1219
1255
|
Row: {
|
|
1220
1256
|
address: string | null;
|
|
1257
|
+
address_line1: string | null;
|
|
1258
|
+
address_line2: string | null;
|
|
1259
|
+
address_type: string | null;
|
|
1260
|
+
attention_to: string | null;
|
|
1261
|
+
bank_account_holder: string | null;
|
|
1262
|
+
bank_account_number: string | null;
|
|
1263
|
+
bank_address_line1: string | null;
|
|
1264
|
+
bank_address_line2: string | null;
|
|
1265
|
+
bank_bic: string | null;
|
|
1266
|
+
bank_city: string | null;
|
|
1267
|
+
bank_country: string | null;
|
|
1268
|
+
bank_house_number: string | null;
|
|
1269
|
+
bank_iban: string | null;
|
|
1270
|
+
bank_name: string | null;
|
|
1271
|
+
bank_national_code: string | null;
|
|
1272
|
+
bank_postal_code: string | null;
|
|
1273
|
+
bank_state: string | null;
|
|
1274
|
+
billing_email: string | null;
|
|
1221
1275
|
bio: string | null;
|
|
1222
1276
|
city: string | null;
|
|
1277
|
+
coc_number: string | null;
|
|
1223
1278
|
commercial_name: string | null;
|
|
1224
1279
|
company_name: string;
|
|
1225
1280
|
connection_status: string;
|
|
@@ -1228,21 +1283,28 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1228
1283
|
created_at: string;
|
|
1229
1284
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
1230
1285
|
customer_class: string | null;
|
|
1286
|
+
customer_number: string | null;
|
|
1287
|
+
discount_days: number | null;
|
|
1288
|
+
discount_percentage: number | null;
|
|
1231
1289
|
email: string | null;
|
|
1232
1290
|
external_id: string | null;
|
|
1291
|
+
fax: string | null;
|
|
1233
1292
|
floriday_connection_id: string | null;
|
|
1234
1293
|
floriday_organization_id: string | null;
|
|
1235
1294
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
1236
1295
|
gln: string | null;
|
|
1237
1296
|
house_number: string | null;
|
|
1297
|
+
icp_country_code: string | null;
|
|
1238
1298
|
id: string;
|
|
1239
1299
|
is_active: boolean;
|
|
1300
|
+
language: string | null;
|
|
1240
1301
|
last_synced_at: string | null;
|
|
1241
1302
|
logo_url: string | null;
|
|
1242
1303
|
markets: string[];
|
|
1243
1304
|
notes: string | null;
|
|
1244
1305
|
organization_type: string | null;
|
|
1245
1306
|
payment_methods: string[];
|
|
1307
|
+
payment_term_days: number | null;
|
|
1246
1308
|
phone: string | null;
|
|
1247
1309
|
postal_code: string | null;
|
|
1248
1310
|
product_groups: string[];
|
|
@@ -1253,13 +1315,33 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1253
1315
|
sync_status: string;
|
|
1254
1316
|
trade_forms: string[];
|
|
1255
1317
|
updated_at: string;
|
|
1318
|
+
vat_display: string | null;
|
|
1256
1319
|
vat_number: string | null;
|
|
1257
1320
|
website: string | null;
|
|
1258
1321
|
};
|
|
1259
1322
|
Insert: {
|
|
1260
1323
|
address?: string | null;
|
|
1324
|
+
address_line1?: string | null;
|
|
1325
|
+
address_line2?: string | null;
|
|
1326
|
+
address_type?: string | null;
|
|
1327
|
+
attention_to?: string | null;
|
|
1328
|
+
bank_account_holder?: string | null;
|
|
1329
|
+
bank_account_number?: string | null;
|
|
1330
|
+
bank_address_line1?: string | null;
|
|
1331
|
+
bank_address_line2?: string | null;
|
|
1332
|
+
bank_bic?: string | null;
|
|
1333
|
+
bank_city?: string | null;
|
|
1334
|
+
bank_country?: string | null;
|
|
1335
|
+
bank_house_number?: string | null;
|
|
1336
|
+
bank_iban?: string | null;
|
|
1337
|
+
bank_name?: string | null;
|
|
1338
|
+
bank_national_code?: string | null;
|
|
1339
|
+
bank_postal_code?: string | null;
|
|
1340
|
+
bank_state?: string | null;
|
|
1341
|
+
billing_email?: string | null;
|
|
1261
1342
|
bio?: string | null;
|
|
1262
1343
|
city?: string | null;
|
|
1344
|
+
coc_number?: string | null;
|
|
1263
1345
|
commercial_name?: string | null;
|
|
1264
1346
|
company_name: string;
|
|
1265
1347
|
connection_status?: string;
|
|
@@ -1268,21 +1350,28 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1268
1350
|
created_at?: string;
|
|
1269
1351
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1270
1352
|
customer_class?: string | null;
|
|
1353
|
+
customer_number?: string | null;
|
|
1354
|
+
discount_days?: number | null;
|
|
1355
|
+
discount_percentage?: number | null;
|
|
1271
1356
|
email?: string | null;
|
|
1272
1357
|
external_id?: string | null;
|
|
1358
|
+
fax?: string | null;
|
|
1273
1359
|
floriday_connection_id?: string | null;
|
|
1274
1360
|
floriday_organization_id?: string | null;
|
|
1275
1361
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1276
1362
|
gln?: string | null;
|
|
1277
1363
|
house_number?: string | null;
|
|
1364
|
+
icp_country_code?: string | null;
|
|
1278
1365
|
id?: string;
|
|
1279
1366
|
is_active?: boolean;
|
|
1367
|
+
language?: string | null;
|
|
1280
1368
|
last_synced_at?: string | null;
|
|
1281
1369
|
logo_url?: string | null;
|
|
1282
1370
|
markets?: string[];
|
|
1283
1371
|
notes?: string | null;
|
|
1284
1372
|
organization_type?: string | null;
|
|
1285
1373
|
payment_methods?: string[];
|
|
1374
|
+
payment_term_days?: number | null;
|
|
1286
1375
|
phone?: string | null;
|
|
1287
1376
|
postal_code?: string | null;
|
|
1288
1377
|
product_groups?: string[];
|
|
@@ -1293,13 +1382,33 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1293
1382
|
sync_status?: string;
|
|
1294
1383
|
trade_forms?: string[];
|
|
1295
1384
|
updated_at?: string;
|
|
1385
|
+
vat_display?: string | null;
|
|
1296
1386
|
vat_number?: string | null;
|
|
1297
1387
|
website?: string | null;
|
|
1298
1388
|
};
|
|
1299
1389
|
Update: {
|
|
1300
1390
|
address?: string | null;
|
|
1391
|
+
address_line1?: string | null;
|
|
1392
|
+
address_line2?: string | null;
|
|
1393
|
+
address_type?: string | null;
|
|
1394
|
+
attention_to?: string | null;
|
|
1395
|
+
bank_account_holder?: string | null;
|
|
1396
|
+
bank_account_number?: string | null;
|
|
1397
|
+
bank_address_line1?: string | null;
|
|
1398
|
+
bank_address_line2?: string | null;
|
|
1399
|
+
bank_bic?: string | null;
|
|
1400
|
+
bank_city?: string | null;
|
|
1401
|
+
bank_country?: string | null;
|
|
1402
|
+
bank_house_number?: string | null;
|
|
1403
|
+
bank_iban?: string | null;
|
|
1404
|
+
bank_name?: string | null;
|
|
1405
|
+
bank_national_code?: string | null;
|
|
1406
|
+
bank_postal_code?: string | null;
|
|
1407
|
+
bank_state?: string | null;
|
|
1408
|
+
billing_email?: string | null;
|
|
1301
1409
|
bio?: string | null;
|
|
1302
1410
|
city?: string | null;
|
|
1411
|
+
coc_number?: string | null;
|
|
1303
1412
|
commercial_name?: string | null;
|
|
1304
1413
|
company_name?: string;
|
|
1305
1414
|
connection_status?: string;
|
|
@@ -1308,21 +1417,28 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1308
1417
|
created_at?: string;
|
|
1309
1418
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1310
1419
|
customer_class?: string | null;
|
|
1420
|
+
customer_number?: string | null;
|
|
1421
|
+
discount_days?: number | null;
|
|
1422
|
+
discount_percentage?: number | null;
|
|
1311
1423
|
email?: string | null;
|
|
1312
1424
|
external_id?: string | null;
|
|
1425
|
+
fax?: string | null;
|
|
1313
1426
|
floriday_connection_id?: string | null;
|
|
1314
1427
|
floriday_organization_id?: string | null;
|
|
1315
1428
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1316
1429
|
gln?: string | null;
|
|
1317
1430
|
house_number?: string | null;
|
|
1431
|
+
icp_country_code?: string | null;
|
|
1318
1432
|
id?: string;
|
|
1319
1433
|
is_active?: boolean;
|
|
1434
|
+
language?: string | null;
|
|
1320
1435
|
last_synced_at?: string | null;
|
|
1321
1436
|
logo_url?: string | null;
|
|
1322
1437
|
markets?: string[];
|
|
1323
1438
|
notes?: string | null;
|
|
1324
1439
|
organization_type?: string | null;
|
|
1325
1440
|
payment_methods?: string[];
|
|
1441
|
+
payment_term_days?: number | null;
|
|
1326
1442
|
phone?: string | null;
|
|
1327
1443
|
postal_code?: string | null;
|
|
1328
1444
|
product_groups?: string[];
|
|
@@ -1333,6 +1449,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
1333
1449
|
sync_status?: string;
|
|
1334
1450
|
trade_forms?: string[];
|
|
1335
1451
|
updated_at?: string;
|
|
1452
|
+
vat_display?: string | null;
|
|
1336
1453
|
vat_number?: string | null;
|
|
1337
1454
|
website?: string | null;
|
|
1338
1455
|
};
|
|
@@ -7289,6 +7406,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
7289
7406
|
};
|
|
7290
7407
|
profiles: {
|
|
7291
7408
|
Row: {
|
|
7409
|
+
address: string | null;
|
|
7292
7410
|
created_at: string;
|
|
7293
7411
|
display_name: string | null;
|
|
7294
7412
|
email: string | null;
|
|
@@ -7299,6 +7417,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
7299
7417
|
updated_at: string;
|
|
7300
7418
|
};
|
|
7301
7419
|
Insert: {
|
|
7420
|
+
address?: string | null;
|
|
7302
7421
|
created_at?: string;
|
|
7303
7422
|
display_name?: string | null;
|
|
7304
7423
|
email?: string | null;
|
|
@@ -7309,6 +7428,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
7309
7428
|
updated_at?: string;
|
|
7310
7429
|
};
|
|
7311
7430
|
Update: {
|
|
7431
|
+
address?: string | null;
|
|
7312
7432
|
created_at?: string;
|
|
7313
7433
|
display_name?: string | null;
|
|
7314
7434
|
email?: string | null;
|
|
@@ -10349,7 +10469,7 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
10349
10469
|
};
|
|
10350
10470
|
cleanup_old_bookings: {
|
|
10351
10471
|
Args: never;
|
|
10352
|
-
Returns:
|
|
10472
|
+
Returns: undefined;
|
|
10353
10473
|
};
|
|
10354
10474
|
consume_floriday_rate_limit: {
|
|
10355
10475
|
Args: {
|
|
@@ -11204,6 +11324,17 @@ export declare const listWarehousesFn: import("@tanstack/start-client-core").Opt
|
|
|
11204
11324
|
};
|
|
11205
11325
|
Returns: string;
|
|
11206
11326
|
};
|
|
11327
|
+
upsert_auto_fulfillment_log: {
|
|
11328
|
+
Args: {
|
|
11329
|
+
p_connection_id: string;
|
|
11330
|
+
p_error?: string;
|
|
11331
|
+
p_fulfillment_order_id?: string;
|
|
11332
|
+
p_reason?: string;
|
|
11333
|
+
p_sales_order_id: string;
|
|
11334
|
+
p_status: string;
|
|
11335
|
+
};
|
|
11336
|
+
Returns: undefined;
|
|
11337
|
+
};
|
|
11207
11338
|
};
|
|
11208
11339
|
Enums: {
|
|
11209
11340
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -11496,6 +11627,9 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11496
11627
|
created_at: string;
|
|
11497
11628
|
extra_id: string;
|
|
11498
11629
|
id: string;
|
|
11630
|
+
original_unit_price: number | null;
|
|
11631
|
+
override_reason: string | null;
|
|
11632
|
+
override_unit_price: number | null;
|
|
11499
11633
|
quantity: number;
|
|
11500
11634
|
total_price: number;
|
|
11501
11635
|
unit_price: number;
|
|
@@ -11505,6 +11639,9 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11505
11639
|
created_at?: string;
|
|
11506
11640
|
extra_id: string;
|
|
11507
11641
|
id?: string;
|
|
11642
|
+
original_unit_price?: number | null;
|
|
11643
|
+
override_reason?: string | null;
|
|
11644
|
+
override_unit_price?: number | null;
|
|
11508
11645
|
quantity?: number;
|
|
11509
11646
|
total_price?: number;
|
|
11510
11647
|
unit_price?: number;
|
|
@@ -11514,6 +11651,9 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11514
11651
|
created_at?: string;
|
|
11515
11652
|
extra_id?: string;
|
|
11516
11653
|
id?: string;
|
|
11654
|
+
original_unit_price?: number | null;
|
|
11655
|
+
override_reason?: string | null;
|
|
11656
|
+
override_unit_price?: number | null;
|
|
11517
11657
|
quantity?: number;
|
|
11518
11658
|
total_price?: number;
|
|
11519
11659
|
unit_price?: number;
|
|
@@ -11534,11 +11674,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11534
11674
|
};
|
|
11535
11675
|
bookings: {
|
|
11536
11676
|
Row: {
|
|
11677
|
+
archive_reason: string | null;
|
|
11678
|
+
archived_at: string | null;
|
|
11679
|
+
archived_by: string | null;
|
|
11537
11680
|
company_name: string | null;
|
|
11538
11681
|
conflict_checked_at: string | null;
|
|
11539
11682
|
conflict_reason: string | null;
|
|
11540
11683
|
created_at: string;
|
|
11541
11684
|
created_by_role: string | null;
|
|
11685
|
+
customer_address: string | null;
|
|
11542
11686
|
customer_email: string | null;
|
|
11543
11687
|
customer_name: string | null;
|
|
11544
11688
|
end_time: string;
|
|
@@ -11550,7 +11694,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11550
11694
|
invoiced_at: string | null;
|
|
11551
11695
|
notes: string | null;
|
|
11552
11696
|
number_of_people: number;
|
|
11697
|
+
overridden_at: string | null;
|
|
11698
|
+
overridden_by: string | null;
|
|
11699
|
+
override_reason: string | null;
|
|
11700
|
+
price_override: boolean;
|
|
11553
11701
|
room_id: string;
|
|
11702
|
+
room_price_override: number | null;
|
|
11554
11703
|
start_time: string;
|
|
11555
11704
|
status: string;
|
|
11556
11705
|
total_excl_vat: number | null;
|
|
@@ -11559,11 +11708,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11559
11708
|
vat_amount: number | null;
|
|
11560
11709
|
};
|
|
11561
11710
|
Insert: {
|
|
11711
|
+
archive_reason?: string | null;
|
|
11712
|
+
archived_at?: string | null;
|
|
11713
|
+
archived_by?: string | null;
|
|
11562
11714
|
company_name?: string | null;
|
|
11563
11715
|
conflict_checked_at?: string | null;
|
|
11564
11716
|
conflict_reason?: string | null;
|
|
11565
11717
|
created_at?: string;
|
|
11566
11718
|
created_by_role?: string | null;
|
|
11719
|
+
customer_address?: string | null;
|
|
11567
11720
|
customer_email?: string | null;
|
|
11568
11721
|
customer_name?: string | null;
|
|
11569
11722
|
end_time: string;
|
|
@@ -11575,7 +11728,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11575
11728
|
invoiced_at?: string | null;
|
|
11576
11729
|
notes?: string | null;
|
|
11577
11730
|
number_of_people?: number;
|
|
11731
|
+
overridden_at?: string | null;
|
|
11732
|
+
overridden_by?: string | null;
|
|
11733
|
+
override_reason?: string | null;
|
|
11734
|
+
price_override?: boolean;
|
|
11578
11735
|
room_id: string;
|
|
11736
|
+
room_price_override?: number | null;
|
|
11579
11737
|
start_time: string;
|
|
11580
11738
|
status?: string;
|
|
11581
11739
|
total_excl_vat?: number | null;
|
|
@@ -11584,11 +11742,15 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11584
11742
|
vat_amount?: number | null;
|
|
11585
11743
|
};
|
|
11586
11744
|
Update: {
|
|
11745
|
+
archive_reason?: string | null;
|
|
11746
|
+
archived_at?: string | null;
|
|
11747
|
+
archived_by?: string | null;
|
|
11587
11748
|
company_name?: string | null;
|
|
11588
11749
|
conflict_checked_at?: string | null;
|
|
11589
11750
|
conflict_reason?: string | null;
|
|
11590
11751
|
created_at?: string;
|
|
11591
11752
|
created_by_role?: string | null;
|
|
11753
|
+
customer_address?: string | null;
|
|
11592
11754
|
customer_email?: string | null;
|
|
11593
11755
|
customer_name?: string | null;
|
|
11594
11756
|
end_time?: string;
|
|
@@ -11600,7 +11762,12 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
11600
11762
|
invoiced_at?: string | null;
|
|
11601
11763
|
notes?: string | null;
|
|
11602
11764
|
number_of_people?: number;
|
|
11765
|
+
overridden_at?: string | null;
|
|
11766
|
+
overridden_by?: string | null;
|
|
11767
|
+
override_reason?: string | null;
|
|
11768
|
+
price_override?: boolean;
|
|
11603
11769
|
room_id?: string;
|
|
11770
|
+
room_price_override?: number | null;
|
|
11604
11771
|
start_time?: string;
|
|
11605
11772
|
status?: string;
|
|
11606
11773
|
total_excl_vat?: number | null;
|
|
@@ -12429,8 +12596,27 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12429
12596
|
customers: {
|
|
12430
12597
|
Row: {
|
|
12431
12598
|
address: string | null;
|
|
12599
|
+
address_line1: string | null;
|
|
12600
|
+
address_line2: string | null;
|
|
12601
|
+
address_type: string | null;
|
|
12602
|
+
attention_to: string | null;
|
|
12603
|
+
bank_account_holder: string | null;
|
|
12604
|
+
bank_account_number: string | null;
|
|
12605
|
+
bank_address_line1: string | null;
|
|
12606
|
+
bank_address_line2: string | null;
|
|
12607
|
+
bank_bic: string | null;
|
|
12608
|
+
bank_city: string | null;
|
|
12609
|
+
bank_country: string | null;
|
|
12610
|
+
bank_house_number: string | null;
|
|
12611
|
+
bank_iban: string | null;
|
|
12612
|
+
bank_name: string | null;
|
|
12613
|
+
bank_national_code: string | null;
|
|
12614
|
+
bank_postal_code: string | null;
|
|
12615
|
+
bank_state: string | null;
|
|
12616
|
+
billing_email: string | null;
|
|
12432
12617
|
bio: string | null;
|
|
12433
12618
|
city: string | null;
|
|
12619
|
+
coc_number: string | null;
|
|
12434
12620
|
commercial_name: string | null;
|
|
12435
12621
|
company_name: string;
|
|
12436
12622
|
connection_status: string;
|
|
@@ -12439,21 +12625,28 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12439
12625
|
created_at: string;
|
|
12440
12626
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
12441
12627
|
customer_class: string | null;
|
|
12628
|
+
customer_number: string | null;
|
|
12629
|
+
discount_days: number | null;
|
|
12630
|
+
discount_percentage: number | null;
|
|
12442
12631
|
email: string | null;
|
|
12443
12632
|
external_id: string | null;
|
|
12633
|
+
fax: string | null;
|
|
12444
12634
|
floriday_connection_id: string | null;
|
|
12445
12635
|
floriday_organization_id: string | null;
|
|
12446
12636
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
12447
12637
|
gln: string | null;
|
|
12448
12638
|
house_number: string | null;
|
|
12639
|
+
icp_country_code: string | null;
|
|
12449
12640
|
id: string;
|
|
12450
12641
|
is_active: boolean;
|
|
12642
|
+
language: string | null;
|
|
12451
12643
|
last_synced_at: string | null;
|
|
12452
12644
|
logo_url: string | null;
|
|
12453
12645
|
markets: string[];
|
|
12454
12646
|
notes: string | null;
|
|
12455
12647
|
organization_type: string | null;
|
|
12456
12648
|
payment_methods: string[];
|
|
12649
|
+
payment_term_days: number | null;
|
|
12457
12650
|
phone: string | null;
|
|
12458
12651
|
postal_code: string | null;
|
|
12459
12652
|
product_groups: string[];
|
|
@@ -12464,13 +12657,33 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12464
12657
|
sync_status: string;
|
|
12465
12658
|
trade_forms: string[];
|
|
12466
12659
|
updated_at: string;
|
|
12660
|
+
vat_display: string | null;
|
|
12467
12661
|
vat_number: string | null;
|
|
12468
12662
|
website: string | null;
|
|
12469
12663
|
};
|
|
12470
12664
|
Insert: {
|
|
12471
12665
|
address?: string | null;
|
|
12666
|
+
address_line1?: string | null;
|
|
12667
|
+
address_line2?: string | null;
|
|
12668
|
+
address_type?: string | null;
|
|
12669
|
+
attention_to?: string | null;
|
|
12670
|
+
bank_account_holder?: string | null;
|
|
12671
|
+
bank_account_number?: string | null;
|
|
12672
|
+
bank_address_line1?: string | null;
|
|
12673
|
+
bank_address_line2?: string | null;
|
|
12674
|
+
bank_bic?: string | null;
|
|
12675
|
+
bank_city?: string | null;
|
|
12676
|
+
bank_country?: string | null;
|
|
12677
|
+
bank_house_number?: string | null;
|
|
12678
|
+
bank_iban?: string | null;
|
|
12679
|
+
bank_name?: string | null;
|
|
12680
|
+
bank_national_code?: string | null;
|
|
12681
|
+
bank_postal_code?: string | null;
|
|
12682
|
+
bank_state?: string | null;
|
|
12683
|
+
billing_email?: string | null;
|
|
12472
12684
|
bio?: string | null;
|
|
12473
12685
|
city?: string | null;
|
|
12686
|
+
coc_number?: string | null;
|
|
12474
12687
|
commercial_name?: string | null;
|
|
12475
12688
|
company_name: string;
|
|
12476
12689
|
connection_status?: string;
|
|
@@ -12479,21 +12692,28 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12479
12692
|
created_at?: string;
|
|
12480
12693
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12481
12694
|
customer_class?: string | null;
|
|
12695
|
+
customer_number?: string | null;
|
|
12696
|
+
discount_days?: number | null;
|
|
12697
|
+
discount_percentage?: number | null;
|
|
12482
12698
|
email?: string | null;
|
|
12483
12699
|
external_id?: string | null;
|
|
12700
|
+
fax?: string | null;
|
|
12484
12701
|
floriday_connection_id?: string | null;
|
|
12485
12702
|
floriday_organization_id?: string | null;
|
|
12486
12703
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12487
12704
|
gln?: string | null;
|
|
12488
12705
|
house_number?: string | null;
|
|
12706
|
+
icp_country_code?: string | null;
|
|
12489
12707
|
id?: string;
|
|
12490
12708
|
is_active?: boolean;
|
|
12709
|
+
language?: string | null;
|
|
12491
12710
|
last_synced_at?: string | null;
|
|
12492
12711
|
logo_url?: string | null;
|
|
12493
12712
|
markets?: string[];
|
|
12494
12713
|
notes?: string | null;
|
|
12495
12714
|
organization_type?: string | null;
|
|
12496
12715
|
payment_methods?: string[];
|
|
12716
|
+
payment_term_days?: number | null;
|
|
12497
12717
|
phone?: string | null;
|
|
12498
12718
|
postal_code?: string | null;
|
|
12499
12719
|
product_groups?: string[];
|
|
@@ -12504,13 +12724,33 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12504
12724
|
sync_status?: string;
|
|
12505
12725
|
trade_forms?: string[];
|
|
12506
12726
|
updated_at?: string;
|
|
12727
|
+
vat_display?: string | null;
|
|
12507
12728
|
vat_number?: string | null;
|
|
12508
12729
|
website?: string | null;
|
|
12509
12730
|
};
|
|
12510
12731
|
Update: {
|
|
12511
12732
|
address?: string | null;
|
|
12733
|
+
address_line1?: string | null;
|
|
12734
|
+
address_line2?: string | null;
|
|
12735
|
+
address_type?: string | null;
|
|
12736
|
+
attention_to?: string | null;
|
|
12737
|
+
bank_account_holder?: string | null;
|
|
12738
|
+
bank_account_number?: string | null;
|
|
12739
|
+
bank_address_line1?: string | null;
|
|
12740
|
+
bank_address_line2?: string | null;
|
|
12741
|
+
bank_bic?: string | null;
|
|
12742
|
+
bank_city?: string | null;
|
|
12743
|
+
bank_country?: string | null;
|
|
12744
|
+
bank_house_number?: string | null;
|
|
12745
|
+
bank_iban?: string | null;
|
|
12746
|
+
bank_name?: string | null;
|
|
12747
|
+
bank_national_code?: string | null;
|
|
12748
|
+
bank_postal_code?: string | null;
|
|
12749
|
+
bank_state?: string | null;
|
|
12750
|
+
billing_email?: string | null;
|
|
12512
12751
|
bio?: string | null;
|
|
12513
12752
|
city?: string | null;
|
|
12753
|
+
coc_number?: string | null;
|
|
12514
12754
|
commercial_name?: string | null;
|
|
12515
12755
|
company_name?: string;
|
|
12516
12756
|
connection_status?: string;
|
|
@@ -12519,21 +12759,28 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12519
12759
|
created_at?: string;
|
|
12520
12760
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12521
12761
|
customer_class?: string | null;
|
|
12762
|
+
customer_number?: string | null;
|
|
12763
|
+
discount_days?: number | null;
|
|
12764
|
+
discount_percentage?: number | null;
|
|
12522
12765
|
email?: string | null;
|
|
12523
12766
|
external_id?: string | null;
|
|
12767
|
+
fax?: string | null;
|
|
12524
12768
|
floriday_connection_id?: string | null;
|
|
12525
12769
|
floriday_organization_id?: string | null;
|
|
12526
12770
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12527
12771
|
gln?: string | null;
|
|
12528
12772
|
house_number?: string | null;
|
|
12773
|
+
icp_country_code?: string | null;
|
|
12529
12774
|
id?: string;
|
|
12530
12775
|
is_active?: boolean;
|
|
12776
|
+
language?: string | null;
|
|
12531
12777
|
last_synced_at?: string | null;
|
|
12532
12778
|
logo_url?: string | null;
|
|
12533
12779
|
markets?: string[];
|
|
12534
12780
|
notes?: string | null;
|
|
12535
12781
|
organization_type?: string | null;
|
|
12536
12782
|
payment_methods?: string[];
|
|
12783
|
+
payment_term_days?: number | null;
|
|
12537
12784
|
phone?: string | null;
|
|
12538
12785
|
postal_code?: string | null;
|
|
12539
12786
|
product_groups?: string[];
|
|
@@ -12544,6 +12791,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
12544
12791
|
sync_status?: string;
|
|
12545
12792
|
trade_forms?: string[];
|
|
12546
12793
|
updated_at?: string;
|
|
12794
|
+
vat_display?: string | null;
|
|
12547
12795
|
vat_number?: string | null;
|
|
12548
12796
|
website?: string | null;
|
|
12549
12797
|
};
|
|
@@ -18500,6 +18748,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
18500
18748
|
};
|
|
18501
18749
|
profiles: {
|
|
18502
18750
|
Row: {
|
|
18751
|
+
address: string | null;
|
|
18503
18752
|
created_at: string;
|
|
18504
18753
|
display_name: string | null;
|
|
18505
18754
|
email: string | null;
|
|
@@ -18510,6 +18759,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
18510
18759
|
updated_at: string;
|
|
18511
18760
|
};
|
|
18512
18761
|
Insert: {
|
|
18762
|
+
address?: string | null;
|
|
18513
18763
|
created_at?: string;
|
|
18514
18764
|
display_name?: string | null;
|
|
18515
18765
|
email?: string | null;
|
|
@@ -18520,6 +18770,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
18520
18770
|
updated_at?: string;
|
|
18521
18771
|
};
|
|
18522
18772
|
Update: {
|
|
18773
|
+
address?: string | null;
|
|
18523
18774
|
created_at?: string;
|
|
18524
18775
|
display_name?: string | null;
|
|
18525
18776
|
email?: string | null;
|
|
@@ -21560,7 +21811,7 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
21560
21811
|
};
|
|
21561
21812
|
cleanup_old_bookings: {
|
|
21562
21813
|
Args: never;
|
|
21563
|
-
Returns:
|
|
21814
|
+
Returns: undefined;
|
|
21564
21815
|
};
|
|
21565
21816
|
consume_floriday_rate_limit: {
|
|
21566
21817
|
Args: {
|
|
@@ -22415,6 +22666,17 @@ export declare const createWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22415
22666
|
};
|
|
22416
22667
|
Returns: string;
|
|
22417
22668
|
};
|
|
22669
|
+
upsert_auto_fulfillment_log: {
|
|
22670
|
+
Args: {
|
|
22671
|
+
p_connection_id: string;
|
|
22672
|
+
p_error?: string;
|
|
22673
|
+
p_fulfillment_order_id?: string;
|
|
22674
|
+
p_reason?: string;
|
|
22675
|
+
p_sales_order_id: string;
|
|
22676
|
+
p_status: string;
|
|
22677
|
+
};
|
|
22678
|
+
Returns: undefined;
|
|
22679
|
+
};
|
|
22418
22680
|
};
|
|
22419
22681
|
Enums: {
|
|
22420
22682
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -22702,6 +22964,9 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22702
22964
|
created_at: string;
|
|
22703
22965
|
extra_id: string;
|
|
22704
22966
|
id: string;
|
|
22967
|
+
original_unit_price: number | null;
|
|
22968
|
+
override_reason: string | null;
|
|
22969
|
+
override_unit_price: number | null;
|
|
22705
22970
|
quantity: number;
|
|
22706
22971
|
total_price: number;
|
|
22707
22972
|
unit_price: number;
|
|
@@ -22711,6 +22976,9 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22711
22976
|
created_at?: string;
|
|
22712
22977
|
extra_id: string;
|
|
22713
22978
|
id?: string;
|
|
22979
|
+
original_unit_price?: number | null;
|
|
22980
|
+
override_reason?: string | null;
|
|
22981
|
+
override_unit_price?: number | null;
|
|
22714
22982
|
quantity?: number;
|
|
22715
22983
|
total_price?: number;
|
|
22716
22984
|
unit_price?: number;
|
|
@@ -22720,6 +22988,9 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22720
22988
|
created_at?: string;
|
|
22721
22989
|
extra_id?: string;
|
|
22722
22990
|
id?: string;
|
|
22991
|
+
original_unit_price?: number | null;
|
|
22992
|
+
override_reason?: string | null;
|
|
22993
|
+
override_unit_price?: number | null;
|
|
22723
22994
|
quantity?: number;
|
|
22724
22995
|
total_price?: number;
|
|
22725
22996
|
unit_price?: number;
|
|
@@ -22740,11 +23011,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22740
23011
|
};
|
|
22741
23012
|
bookings: {
|
|
22742
23013
|
Row: {
|
|
23014
|
+
archive_reason: string | null;
|
|
23015
|
+
archived_at: string | null;
|
|
23016
|
+
archived_by: string | null;
|
|
22743
23017
|
company_name: string | null;
|
|
22744
23018
|
conflict_checked_at: string | null;
|
|
22745
23019
|
conflict_reason: string | null;
|
|
22746
23020
|
created_at: string;
|
|
22747
23021
|
created_by_role: string | null;
|
|
23022
|
+
customer_address: string | null;
|
|
22748
23023
|
customer_email: string | null;
|
|
22749
23024
|
customer_name: string | null;
|
|
22750
23025
|
end_time: string;
|
|
@@ -22756,7 +23031,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22756
23031
|
invoiced_at: string | null;
|
|
22757
23032
|
notes: string | null;
|
|
22758
23033
|
number_of_people: number;
|
|
23034
|
+
overridden_at: string | null;
|
|
23035
|
+
overridden_by: string | null;
|
|
23036
|
+
override_reason: string | null;
|
|
23037
|
+
price_override: boolean;
|
|
22759
23038
|
room_id: string;
|
|
23039
|
+
room_price_override: number | null;
|
|
22760
23040
|
start_time: string;
|
|
22761
23041
|
status: string;
|
|
22762
23042
|
total_excl_vat: number | null;
|
|
@@ -22765,11 +23045,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22765
23045
|
vat_amount: number | null;
|
|
22766
23046
|
};
|
|
22767
23047
|
Insert: {
|
|
23048
|
+
archive_reason?: string | null;
|
|
23049
|
+
archived_at?: string | null;
|
|
23050
|
+
archived_by?: string | null;
|
|
22768
23051
|
company_name?: string | null;
|
|
22769
23052
|
conflict_checked_at?: string | null;
|
|
22770
23053
|
conflict_reason?: string | null;
|
|
22771
23054
|
created_at?: string;
|
|
22772
23055
|
created_by_role?: string | null;
|
|
23056
|
+
customer_address?: string | null;
|
|
22773
23057
|
customer_email?: string | null;
|
|
22774
23058
|
customer_name?: string | null;
|
|
22775
23059
|
end_time: string;
|
|
@@ -22781,7 +23065,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22781
23065
|
invoiced_at?: string | null;
|
|
22782
23066
|
notes?: string | null;
|
|
22783
23067
|
number_of_people?: number;
|
|
23068
|
+
overridden_at?: string | null;
|
|
23069
|
+
overridden_by?: string | null;
|
|
23070
|
+
override_reason?: string | null;
|
|
23071
|
+
price_override?: boolean;
|
|
22784
23072
|
room_id: string;
|
|
23073
|
+
room_price_override?: number | null;
|
|
22785
23074
|
start_time: string;
|
|
22786
23075
|
status?: string;
|
|
22787
23076
|
total_excl_vat?: number | null;
|
|
@@ -22790,11 +23079,15 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22790
23079
|
vat_amount?: number | null;
|
|
22791
23080
|
};
|
|
22792
23081
|
Update: {
|
|
23082
|
+
archive_reason?: string | null;
|
|
23083
|
+
archived_at?: string | null;
|
|
23084
|
+
archived_by?: string | null;
|
|
22793
23085
|
company_name?: string | null;
|
|
22794
23086
|
conflict_checked_at?: string | null;
|
|
22795
23087
|
conflict_reason?: string | null;
|
|
22796
23088
|
created_at?: string;
|
|
22797
23089
|
created_by_role?: string | null;
|
|
23090
|
+
customer_address?: string | null;
|
|
22798
23091
|
customer_email?: string | null;
|
|
22799
23092
|
customer_name?: string | null;
|
|
22800
23093
|
end_time?: string;
|
|
@@ -22806,7 +23099,12 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
22806
23099
|
invoiced_at?: string | null;
|
|
22807
23100
|
notes?: string | null;
|
|
22808
23101
|
number_of_people?: number;
|
|
23102
|
+
overridden_at?: string | null;
|
|
23103
|
+
overridden_by?: string | null;
|
|
23104
|
+
override_reason?: string | null;
|
|
23105
|
+
price_override?: boolean;
|
|
22809
23106
|
room_id?: string;
|
|
23107
|
+
room_price_override?: number | null;
|
|
22810
23108
|
start_time?: string;
|
|
22811
23109
|
status?: string;
|
|
22812
23110
|
total_excl_vat?: number | null;
|
|
@@ -23635,8 +23933,27 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23635
23933
|
customers: {
|
|
23636
23934
|
Row: {
|
|
23637
23935
|
address: string | null;
|
|
23936
|
+
address_line1: string | null;
|
|
23937
|
+
address_line2: string | null;
|
|
23938
|
+
address_type: string | null;
|
|
23939
|
+
attention_to: string | null;
|
|
23940
|
+
bank_account_holder: string | null;
|
|
23941
|
+
bank_account_number: string | null;
|
|
23942
|
+
bank_address_line1: string | null;
|
|
23943
|
+
bank_address_line2: string | null;
|
|
23944
|
+
bank_bic: string | null;
|
|
23945
|
+
bank_city: string | null;
|
|
23946
|
+
bank_country: string | null;
|
|
23947
|
+
bank_house_number: string | null;
|
|
23948
|
+
bank_iban: string | null;
|
|
23949
|
+
bank_name: string | null;
|
|
23950
|
+
bank_national_code: string | null;
|
|
23951
|
+
bank_postal_code: string | null;
|
|
23952
|
+
bank_state: string | null;
|
|
23953
|
+
billing_email: string | null;
|
|
23638
23954
|
bio: string | null;
|
|
23639
23955
|
city: string | null;
|
|
23956
|
+
coc_number: string | null;
|
|
23640
23957
|
commercial_name: string | null;
|
|
23641
23958
|
company_name: string;
|
|
23642
23959
|
connection_status: string;
|
|
@@ -23645,21 +23962,28 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23645
23962
|
created_at: string;
|
|
23646
23963
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
23647
23964
|
customer_class: string | null;
|
|
23965
|
+
customer_number: string | null;
|
|
23966
|
+
discount_days: number | null;
|
|
23967
|
+
discount_percentage: number | null;
|
|
23648
23968
|
email: string | null;
|
|
23649
23969
|
external_id: string | null;
|
|
23970
|
+
fax: string | null;
|
|
23650
23971
|
floriday_connection_id: string | null;
|
|
23651
23972
|
floriday_organization_id: string | null;
|
|
23652
23973
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
23653
23974
|
gln: string | null;
|
|
23654
23975
|
house_number: string | null;
|
|
23976
|
+
icp_country_code: string | null;
|
|
23655
23977
|
id: string;
|
|
23656
23978
|
is_active: boolean;
|
|
23979
|
+
language: string | null;
|
|
23657
23980
|
last_synced_at: string | null;
|
|
23658
23981
|
logo_url: string | null;
|
|
23659
23982
|
markets: string[];
|
|
23660
23983
|
notes: string | null;
|
|
23661
23984
|
organization_type: string | null;
|
|
23662
23985
|
payment_methods: string[];
|
|
23986
|
+
payment_term_days: number | null;
|
|
23663
23987
|
phone: string | null;
|
|
23664
23988
|
postal_code: string | null;
|
|
23665
23989
|
product_groups: string[];
|
|
@@ -23670,13 +23994,33 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23670
23994
|
sync_status: string;
|
|
23671
23995
|
trade_forms: string[];
|
|
23672
23996
|
updated_at: string;
|
|
23997
|
+
vat_display: string | null;
|
|
23673
23998
|
vat_number: string | null;
|
|
23674
23999
|
website: string | null;
|
|
23675
24000
|
};
|
|
23676
24001
|
Insert: {
|
|
23677
24002
|
address?: string | null;
|
|
24003
|
+
address_line1?: string | null;
|
|
24004
|
+
address_line2?: string | null;
|
|
24005
|
+
address_type?: string | null;
|
|
24006
|
+
attention_to?: string | null;
|
|
24007
|
+
bank_account_holder?: string | null;
|
|
24008
|
+
bank_account_number?: string | null;
|
|
24009
|
+
bank_address_line1?: string | null;
|
|
24010
|
+
bank_address_line2?: string | null;
|
|
24011
|
+
bank_bic?: string | null;
|
|
24012
|
+
bank_city?: string | null;
|
|
24013
|
+
bank_country?: string | null;
|
|
24014
|
+
bank_house_number?: string | null;
|
|
24015
|
+
bank_iban?: string | null;
|
|
24016
|
+
bank_name?: string | null;
|
|
24017
|
+
bank_national_code?: string | null;
|
|
24018
|
+
bank_postal_code?: string | null;
|
|
24019
|
+
bank_state?: string | null;
|
|
24020
|
+
billing_email?: string | null;
|
|
23678
24021
|
bio?: string | null;
|
|
23679
24022
|
city?: string | null;
|
|
24023
|
+
coc_number?: string | null;
|
|
23680
24024
|
commercial_name?: string | null;
|
|
23681
24025
|
company_name: string;
|
|
23682
24026
|
connection_status?: string;
|
|
@@ -23685,21 +24029,28 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23685
24029
|
created_at?: string;
|
|
23686
24030
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
23687
24031
|
customer_class?: string | null;
|
|
24032
|
+
customer_number?: string | null;
|
|
24033
|
+
discount_days?: number | null;
|
|
24034
|
+
discount_percentage?: number | null;
|
|
23688
24035
|
email?: string | null;
|
|
23689
24036
|
external_id?: string | null;
|
|
24037
|
+
fax?: string | null;
|
|
23690
24038
|
floriday_connection_id?: string | null;
|
|
23691
24039
|
floriday_organization_id?: string | null;
|
|
23692
24040
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
23693
24041
|
gln?: string | null;
|
|
23694
24042
|
house_number?: string | null;
|
|
24043
|
+
icp_country_code?: string | null;
|
|
23695
24044
|
id?: string;
|
|
23696
24045
|
is_active?: boolean;
|
|
24046
|
+
language?: string | null;
|
|
23697
24047
|
last_synced_at?: string | null;
|
|
23698
24048
|
logo_url?: string | null;
|
|
23699
24049
|
markets?: string[];
|
|
23700
24050
|
notes?: string | null;
|
|
23701
24051
|
organization_type?: string | null;
|
|
23702
24052
|
payment_methods?: string[];
|
|
24053
|
+
payment_term_days?: number | null;
|
|
23703
24054
|
phone?: string | null;
|
|
23704
24055
|
postal_code?: string | null;
|
|
23705
24056
|
product_groups?: string[];
|
|
@@ -23710,13 +24061,33 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23710
24061
|
sync_status?: string;
|
|
23711
24062
|
trade_forms?: string[];
|
|
23712
24063
|
updated_at?: string;
|
|
24064
|
+
vat_display?: string | null;
|
|
23713
24065
|
vat_number?: string | null;
|
|
23714
24066
|
website?: string | null;
|
|
23715
24067
|
};
|
|
23716
24068
|
Update: {
|
|
23717
24069
|
address?: string | null;
|
|
24070
|
+
address_line1?: string | null;
|
|
24071
|
+
address_line2?: string | null;
|
|
24072
|
+
address_type?: string | null;
|
|
24073
|
+
attention_to?: string | null;
|
|
24074
|
+
bank_account_holder?: string | null;
|
|
24075
|
+
bank_account_number?: string | null;
|
|
24076
|
+
bank_address_line1?: string | null;
|
|
24077
|
+
bank_address_line2?: string | null;
|
|
24078
|
+
bank_bic?: string | null;
|
|
24079
|
+
bank_city?: string | null;
|
|
24080
|
+
bank_country?: string | null;
|
|
24081
|
+
bank_house_number?: string | null;
|
|
24082
|
+
bank_iban?: string | null;
|
|
24083
|
+
bank_name?: string | null;
|
|
24084
|
+
bank_national_code?: string | null;
|
|
24085
|
+
bank_postal_code?: string | null;
|
|
24086
|
+
bank_state?: string | null;
|
|
24087
|
+
billing_email?: string | null;
|
|
23718
24088
|
bio?: string | null;
|
|
23719
24089
|
city?: string | null;
|
|
24090
|
+
coc_number?: string | null;
|
|
23720
24091
|
commercial_name?: string | null;
|
|
23721
24092
|
company_name?: string;
|
|
23722
24093
|
connection_status?: string;
|
|
@@ -23725,21 +24096,28 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23725
24096
|
created_at?: string;
|
|
23726
24097
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
23727
24098
|
customer_class?: string | null;
|
|
24099
|
+
customer_number?: string | null;
|
|
24100
|
+
discount_days?: number | null;
|
|
24101
|
+
discount_percentage?: number | null;
|
|
23728
24102
|
email?: string | null;
|
|
23729
24103
|
external_id?: string | null;
|
|
24104
|
+
fax?: string | null;
|
|
23730
24105
|
floriday_connection_id?: string | null;
|
|
23731
24106
|
floriday_organization_id?: string | null;
|
|
23732
24107
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
23733
24108
|
gln?: string | null;
|
|
23734
24109
|
house_number?: string | null;
|
|
24110
|
+
icp_country_code?: string | null;
|
|
23735
24111
|
id?: string;
|
|
23736
24112
|
is_active?: boolean;
|
|
24113
|
+
language?: string | null;
|
|
23737
24114
|
last_synced_at?: string | null;
|
|
23738
24115
|
logo_url?: string | null;
|
|
23739
24116
|
markets?: string[];
|
|
23740
24117
|
notes?: string | null;
|
|
23741
24118
|
organization_type?: string | null;
|
|
23742
24119
|
payment_methods?: string[];
|
|
24120
|
+
payment_term_days?: number | null;
|
|
23743
24121
|
phone?: string | null;
|
|
23744
24122
|
postal_code?: string | null;
|
|
23745
24123
|
product_groups?: string[];
|
|
@@ -23750,6 +24128,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
23750
24128
|
sync_status?: string;
|
|
23751
24129
|
trade_forms?: string[];
|
|
23752
24130
|
updated_at?: string;
|
|
24131
|
+
vat_display?: string | null;
|
|
23753
24132
|
vat_number?: string | null;
|
|
23754
24133
|
website?: string | null;
|
|
23755
24134
|
};
|
|
@@ -29706,6 +30085,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
29706
30085
|
};
|
|
29707
30086
|
profiles: {
|
|
29708
30087
|
Row: {
|
|
30088
|
+
address: string | null;
|
|
29709
30089
|
created_at: string;
|
|
29710
30090
|
display_name: string | null;
|
|
29711
30091
|
email: string | null;
|
|
@@ -29716,6 +30096,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
29716
30096
|
updated_at: string;
|
|
29717
30097
|
};
|
|
29718
30098
|
Insert: {
|
|
30099
|
+
address?: string | null;
|
|
29719
30100
|
created_at?: string;
|
|
29720
30101
|
display_name?: string | null;
|
|
29721
30102
|
email?: string | null;
|
|
@@ -29726,6 +30107,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
29726
30107
|
updated_at?: string;
|
|
29727
30108
|
};
|
|
29728
30109
|
Update: {
|
|
30110
|
+
address?: string | null;
|
|
29729
30111
|
created_at?: string;
|
|
29730
30112
|
display_name?: string | null;
|
|
29731
30113
|
email?: string | null;
|
|
@@ -32766,7 +33148,7 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
32766
33148
|
};
|
|
32767
33149
|
cleanup_old_bookings: {
|
|
32768
33150
|
Args: never;
|
|
32769
|
-
Returns:
|
|
33151
|
+
Returns: undefined;
|
|
32770
33152
|
};
|
|
32771
33153
|
consume_floriday_rate_limit: {
|
|
32772
33154
|
Args: {
|
|
@@ -33621,6 +34003,17 @@ export declare const updateWarehouseFn: import("@tanstack/start-client-core").Re
|
|
|
33621
34003
|
};
|
|
33622
34004
|
Returns: string;
|
|
33623
34005
|
};
|
|
34006
|
+
upsert_auto_fulfillment_log: {
|
|
34007
|
+
Args: {
|
|
34008
|
+
p_connection_id: string;
|
|
34009
|
+
p_error?: string;
|
|
34010
|
+
p_fulfillment_order_id?: string;
|
|
34011
|
+
p_reason?: string;
|
|
34012
|
+
p_sales_order_id: string;
|
|
34013
|
+
p_status: string;
|
|
34014
|
+
};
|
|
34015
|
+
Returns: undefined;
|
|
34016
|
+
};
|
|
33624
34017
|
};
|
|
33625
34018
|
Enums: {
|
|
33626
34019
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|