@flowselections/floriday-klanten-module 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/CustomerAvatar.js +1 -1
- package/dist-lib/components/klanten/ImportKlanten.d.ts +2 -0
- package/dist-lib/components/klanten/ImportKlanten.d.ts.map +1 -0
- package/dist-lib/components/klanten/ImportKlanten.js +438 -0
- package/dist-lib/components/klanten/KlantenOverzicht.d.ts.map +1 -1
- package/dist-lib/components/klanten/KlantenOverzicht.js +2 -2
- package/dist-lib/components/klanten/NetwerkPagina.d.ts.map +1 -1
- package/dist-lib/components/klanten/NetwerkPagina.js +38 -9
- package/dist-lib/components/klanten/NieuweKlant.d.ts.map +1 -1
- package/dist-lib/components/klanten/NieuweKlant.js +10 -1
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.d.ts.map +1 -1
- package/dist-lib/index.js +1 -0
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +372 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +372 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +372 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +376 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/accounting.functions.d.ts +1116 -3
- package/dist-lib/lib/accounting.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts +372 -1
- package/dist-lib/lib/customer-analytics.functions.d.ts.map +1 -1
- package/dist-lib/lib/customer-schemas.d.ts +147 -0
- package/dist-lib/lib/customer-schemas.d.ts.map +1 -1
- package/dist-lib/lib/customer-schemas.js +106 -7
- package/dist-lib/lib/customers.functions.d.ts +14184 -15
- package/dist-lib/lib/customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/customers.functions.js +130 -23
- package/dist-lib/lib/delivery-locations.functions.d.ts +1488 -4
- package/dist-lib/lib/delivery-locations.functions.d.ts.map +1 -1
- package/dist-lib/lib/external-customers.functions.d.ts +1488 -4
- package/dist-lib/lib/external-customers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-discounts.functions.d.ts +744 -2
- package/dist-lib/lib/floriday-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/local-discounts.functions.d.ts +2604 -7
- package/dist-lib/lib/local-discounts.functions.d.ts.map +1 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts +372 -1
- package/dist-lib/lib/overdue-invoices.functions.d.ts.map +1 -1
- package/package.json +10 -3
|
@@ -42,6 +42,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
42
42
|
Tables: {
|
|
43
43
|
afhandeling_settings: {
|
|
44
44
|
Row: {
|
|
45
|
+
auto_print_delivery_note: boolean;
|
|
46
|
+
auto_process_paused: boolean;
|
|
45
47
|
created_at: string;
|
|
46
48
|
extra_pick_days_with_stickers: number;
|
|
47
49
|
id: string;
|
|
@@ -57,6 +59,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
57
59
|
user_id: string;
|
|
58
60
|
};
|
|
59
61
|
Insert: {
|
|
62
|
+
auto_print_delivery_note?: boolean;
|
|
63
|
+
auto_process_paused?: boolean;
|
|
60
64
|
created_at?: string;
|
|
61
65
|
extra_pick_days_with_stickers?: number;
|
|
62
66
|
id?: string;
|
|
@@ -72,6 +76,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
72
76
|
user_id: string;
|
|
73
77
|
};
|
|
74
78
|
Update: {
|
|
79
|
+
auto_print_delivery_note?: boolean;
|
|
80
|
+
auto_process_paused?: boolean;
|
|
75
81
|
created_at?: string;
|
|
76
82
|
extra_pick_days_with_stickers?: number;
|
|
77
83
|
id?: string;
|
|
@@ -304,6 +310,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
304
310
|
created_at: string;
|
|
305
311
|
extra_id: string;
|
|
306
312
|
id: string;
|
|
313
|
+
original_unit_price: number | null;
|
|
314
|
+
override_reason: string | null;
|
|
315
|
+
override_unit_price: number | null;
|
|
307
316
|
quantity: number;
|
|
308
317
|
total_price: number;
|
|
309
318
|
unit_price: number;
|
|
@@ -313,6 +322,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
313
322
|
created_at?: string;
|
|
314
323
|
extra_id: string;
|
|
315
324
|
id?: string;
|
|
325
|
+
original_unit_price?: number | null;
|
|
326
|
+
override_reason?: string | null;
|
|
327
|
+
override_unit_price?: number | null;
|
|
316
328
|
quantity?: number;
|
|
317
329
|
total_price?: number;
|
|
318
330
|
unit_price?: number;
|
|
@@ -322,6 +334,9 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
322
334
|
created_at?: string;
|
|
323
335
|
extra_id?: string;
|
|
324
336
|
id?: string;
|
|
337
|
+
original_unit_price?: number | null;
|
|
338
|
+
override_reason?: string | null;
|
|
339
|
+
override_unit_price?: number | null;
|
|
325
340
|
quantity?: number;
|
|
326
341
|
total_price?: number;
|
|
327
342
|
unit_price?: number;
|
|
@@ -342,11 +357,15 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
342
357
|
};
|
|
343
358
|
bookings: {
|
|
344
359
|
Row: {
|
|
360
|
+
archive_reason: string | null;
|
|
361
|
+
archived_at: string | null;
|
|
362
|
+
archived_by: string | null;
|
|
345
363
|
company_name: string | null;
|
|
346
364
|
conflict_checked_at: string | null;
|
|
347
365
|
conflict_reason: string | null;
|
|
348
366
|
created_at: string;
|
|
349
367
|
created_by_role: string | null;
|
|
368
|
+
customer_address: string | null;
|
|
350
369
|
customer_email: string | null;
|
|
351
370
|
customer_name: string | null;
|
|
352
371
|
end_time: string;
|
|
@@ -358,7 +377,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
358
377
|
invoiced_at: string | null;
|
|
359
378
|
notes: string | null;
|
|
360
379
|
number_of_people: number;
|
|
380
|
+
overridden_at: string | null;
|
|
381
|
+
overridden_by: string | null;
|
|
382
|
+
override_reason: string | null;
|
|
383
|
+
price_override: boolean;
|
|
361
384
|
room_id: string;
|
|
385
|
+
room_price_override: number | null;
|
|
362
386
|
start_time: string;
|
|
363
387
|
status: string;
|
|
364
388
|
total_excl_vat: number | null;
|
|
@@ -367,11 +391,15 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
367
391
|
vat_amount: number | null;
|
|
368
392
|
};
|
|
369
393
|
Insert: {
|
|
394
|
+
archive_reason?: string | null;
|
|
395
|
+
archived_at?: string | null;
|
|
396
|
+
archived_by?: string | null;
|
|
370
397
|
company_name?: string | null;
|
|
371
398
|
conflict_checked_at?: string | null;
|
|
372
399
|
conflict_reason?: string | null;
|
|
373
400
|
created_at?: string;
|
|
374
401
|
created_by_role?: string | null;
|
|
402
|
+
customer_address?: string | null;
|
|
375
403
|
customer_email?: string | null;
|
|
376
404
|
customer_name?: string | null;
|
|
377
405
|
end_time: string;
|
|
@@ -383,7 +411,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
383
411
|
invoiced_at?: string | null;
|
|
384
412
|
notes?: string | null;
|
|
385
413
|
number_of_people?: number;
|
|
414
|
+
overridden_at?: string | null;
|
|
415
|
+
overridden_by?: string | null;
|
|
416
|
+
override_reason?: string | null;
|
|
417
|
+
price_override?: boolean;
|
|
386
418
|
room_id: string;
|
|
419
|
+
room_price_override?: number | null;
|
|
387
420
|
start_time: string;
|
|
388
421
|
status?: string;
|
|
389
422
|
total_excl_vat?: number | null;
|
|
@@ -392,11 +425,15 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
392
425
|
vat_amount?: number | null;
|
|
393
426
|
};
|
|
394
427
|
Update: {
|
|
428
|
+
archive_reason?: string | null;
|
|
429
|
+
archived_at?: string | null;
|
|
430
|
+
archived_by?: string | null;
|
|
395
431
|
company_name?: string | null;
|
|
396
432
|
conflict_checked_at?: string | null;
|
|
397
433
|
conflict_reason?: string | null;
|
|
398
434
|
created_at?: string;
|
|
399
435
|
created_by_role?: string | null;
|
|
436
|
+
customer_address?: string | null;
|
|
400
437
|
customer_email?: string | null;
|
|
401
438
|
customer_name?: string | null;
|
|
402
439
|
end_time?: string;
|
|
@@ -408,7 +445,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
408
445
|
invoiced_at?: string | null;
|
|
409
446
|
notes?: string | null;
|
|
410
447
|
number_of_people?: number;
|
|
448
|
+
overridden_at?: string | null;
|
|
449
|
+
overridden_by?: string | null;
|
|
450
|
+
override_reason?: string | null;
|
|
451
|
+
price_override?: boolean;
|
|
411
452
|
room_id?: string;
|
|
453
|
+
room_price_override?: number | null;
|
|
412
454
|
start_time?: string;
|
|
413
455
|
status?: string;
|
|
414
456
|
total_excl_vat?: number | null;
|
|
@@ -1237,8 +1279,27 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1237
1279
|
customers: {
|
|
1238
1280
|
Row: {
|
|
1239
1281
|
address: string | null;
|
|
1282
|
+
address_line1: string | null;
|
|
1283
|
+
address_line2: string | null;
|
|
1284
|
+
address_type: string | null;
|
|
1285
|
+
attention_to: string | null;
|
|
1286
|
+
bank_account_holder: string | null;
|
|
1287
|
+
bank_account_number: string | null;
|
|
1288
|
+
bank_address_line1: string | null;
|
|
1289
|
+
bank_address_line2: string | null;
|
|
1290
|
+
bank_bic: string | null;
|
|
1291
|
+
bank_city: string | null;
|
|
1292
|
+
bank_country: string | null;
|
|
1293
|
+
bank_house_number: string | null;
|
|
1294
|
+
bank_iban: string | null;
|
|
1295
|
+
bank_name: string | null;
|
|
1296
|
+
bank_national_code: string | null;
|
|
1297
|
+
bank_postal_code: string | null;
|
|
1298
|
+
bank_state: string | null;
|
|
1299
|
+
billing_email: string | null;
|
|
1240
1300
|
bio: string | null;
|
|
1241
1301
|
city: string | null;
|
|
1302
|
+
coc_number: string | null;
|
|
1242
1303
|
commercial_name: string | null;
|
|
1243
1304
|
company_name: string;
|
|
1244
1305
|
connection_status: string;
|
|
@@ -1247,21 +1308,28 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1247
1308
|
created_at: string;
|
|
1248
1309
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
1249
1310
|
customer_class: string | null;
|
|
1311
|
+
customer_number: string | null;
|
|
1312
|
+
discount_days: number | null;
|
|
1313
|
+
discount_percentage: number | null;
|
|
1250
1314
|
email: string | null;
|
|
1251
1315
|
external_id: string | null;
|
|
1316
|
+
fax: string | null;
|
|
1252
1317
|
floriday_connection_id: string | null;
|
|
1253
1318
|
floriday_organization_id: string | null;
|
|
1254
1319
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
1255
1320
|
gln: string | null;
|
|
1256
1321
|
house_number: string | null;
|
|
1322
|
+
icp_country_code: string | null;
|
|
1257
1323
|
id: string;
|
|
1258
1324
|
is_active: boolean;
|
|
1325
|
+
language: string | null;
|
|
1259
1326
|
last_synced_at: string | null;
|
|
1260
1327
|
logo_url: string | null;
|
|
1261
1328
|
markets: string[];
|
|
1262
1329
|
notes: string | null;
|
|
1263
1330
|
organization_type: string | null;
|
|
1264
1331
|
payment_methods: string[];
|
|
1332
|
+
payment_term_days: number | null;
|
|
1265
1333
|
phone: string | null;
|
|
1266
1334
|
postal_code: string | null;
|
|
1267
1335
|
product_groups: string[];
|
|
@@ -1272,13 +1340,33 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1272
1340
|
sync_status: string;
|
|
1273
1341
|
trade_forms: string[];
|
|
1274
1342
|
updated_at: string;
|
|
1343
|
+
vat_display: string | null;
|
|
1275
1344
|
vat_number: string | null;
|
|
1276
1345
|
website: string | null;
|
|
1277
1346
|
};
|
|
1278
1347
|
Insert: {
|
|
1279
1348
|
address?: string | null;
|
|
1349
|
+
address_line1?: string | null;
|
|
1350
|
+
address_line2?: string | null;
|
|
1351
|
+
address_type?: string | null;
|
|
1352
|
+
attention_to?: string | null;
|
|
1353
|
+
bank_account_holder?: string | null;
|
|
1354
|
+
bank_account_number?: string | null;
|
|
1355
|
+
bank_address_line1?: string | null;
|
|
1356
|
+
bank_address_line2?: string | null;
|
|
1357
|
+
bank_bic?: string | null;
|
|
1358
|
+
bank_city?: string | null;
|
|
1359
|
+
bank_country?: string | null;
|
|
1360
|
+
bank_house_number?: string | null;
|
|
1361
|
+
bank_iban?: string | null;
|
|
1362
|
+
bank_name?: string | null;
|
|
1363
|
+
bank_national_code?: string | null;
|
|
1364
|
+
bank_postal_code?: string | null;
|
|
1365
|
+
bank_state?: string | null;
|
|
1366
|
+
billing_email?: string | null;
|
|
1280
1367
|
bio?: string | null;
|
|
1281
1368
|
city?: string | null;
|
|
1369
|
+
coc_number?: string | null;
|
|
1282
1370
|
commercial_name?: string | null;
|
|
1283
1371
|
company_name: string;
|
|
1284
1372
|
connection_status?: string;
|
|
@@ -1287,21 +1375,28 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1287
1375
|
created_at?: string;
|
|
1288
1376
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1289
1377
|
customer_class?: string | null;
|
|
1378
|
+
customer_number?: string | null;
|
|
1379
|
+
discount_days?: number | null;
|
|
1380
|
+
discount_percentage?: number | null;
|
|
1290
1381
|
email?: string | null;
|
|
1291
1382
|
external_id?: string | null;
|
|
1383
|
+
fax?: string | null;
|
|
1292
1384
|
floriday_connection_id?: string | null;
|
|
1293
1385
|
floriday_organization_id?: string | null;
|
|
1294
1386
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1295
1387
|
gln?: string | null;
|
|
1296
1388
|
house_number?: string | null;
|
|
1389
|
+
icp_country_code?: string | null;
|
|
1297
1390
|
id?: string;
|
|
1298
1391
|
is_active?: boolean;
|
|
1392
|
+
language?: string | null;
|
|
1299
1393
|
last_synced_at?: string | null;
|
|
1300
1394
|
logo_url?: string | null;
|
|
1301
1395
|
markets?: string[];
|
|
1302
1396
|
notes?: string | null;
|
|
1303
1397
|
organization_type?: string | null;
|
|
1304
1398
|
payment_methods?: string[];
|
|
1399
|
+
payment_term_days?: number | null;
|
|
1305
1400
|
phone?: string | null;
|
|
1306
1401
|
postal_code?: string | null;
|
|
1307
1402
|
product_groups?: string[];
|
|
@@ -1312,13 +1407,33 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1312
1407
|
sync_status?: string;
|
|
1313
1408
|
trade_forms?: string[];
|
|
1314
1409
|
updated_at?: string;
|
|
1410
|
+
vat_display?: string | null;
|
|
1315
1411
|
vat_number?: string | null;
|
|
1316
1412
|
website?: string | null;
|
|
1317
1413
|
};
|
|
1318
1414
|
Update: {
|
|
1319
1415
|
address?: string | null;
|
|
1416
|
+
address_line1?: string | null;
|
|
1417
|
+
address_line2?: string | null;
|
|
1418
|
+
address_type?: string | null;
|
|
1419
|
+
attention_to?: string | null;
|
|
1420
|
+
bank_account_holder?: string | null;
|
|
1421
|
+
bank_account_number?: string | null;
|
|
1422
|
+
bank_address_line1?: string | null;
|
|
1423
|
+
bank_address_line2?: string | null;
|
|
1424
|
+
bank_bic?: string | null;
|
|
1425
|
+
bank_city?: string | null;
|
|
1426
|
+
bank_country?: string | null;
|
|
1427
|
+
bank_house_number?: string | null;
|
|
1428
|
+
bank_iban?: string | null;
|
|
1429
|
+
bank_name?: string | null;
|
|
1430
|
+
bank_national_code?: string | null;
|
|
1431
|
+
bank_postal_code?: string | null;
|
|
1432
|
+
bank_state?: string | null;
|
|
1433
|
+
billing_email?: string | null;
|
|
1320
1434
|
bio?: string | null;
|
|
1321
1435
|
city?: string | null;
|
|
1436
|
+
coc_number?: string | null;
|
|
1322
1437
|
commercial_name?: string | null;
|
|
1323
1438
|
company_name?: string;
|
|
1324
1439
|
connection_status?: string;
|
|
@@ -1327,21 +1442,28 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1327
1442
|
created_at?: string;
|
|
1328
1443
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1329
1444
|
customer_class?: string | null;
|
|
1445
|
+
customer_number?: string | null;
|
|
1446
|
+
discount_days?: number | null;
|
|
1447
|
+
discount_percentage?: number | null;
|
|
1330
1448
|
email?: string | null;
|
|
1331
1449
|
external_id?: string | null;
|
|
1450
|
+
fax?: string | null;
|
|
1332
1451
|
floriday_connection_id?: string | null;
|
|
1333
1452
|
floriday_organization_id?: string | null;
|
|
1334
1453
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1335
1454
|
gln?: string | null;
|
|
1336
1455
|
house_number?: string | null;
|
|
1456
|
+
icp_country_code?: string | null;
|
|
1337
1457
|
id?: string;
|
|
1338
1458
|
is_active?: boolean;
|
|
1459
|
+
language?: string | null;
|
|
1339
1460
|
last_synced_at?: string | null;
|
|
1340
1461
|
logo_url?: string | null;
|
|
1341
1462
|
markets?: string[];
|
|
1342
1463
|
notes?: string | null;
|
|
1343
1464
|
organization_type?: string | null;
|
|
1344
1465
|
payment_methods?: string[];
|
|
1466
|
+
payment_term_days?: number | null;
|
|
1345
1467
|
phone?: string | null;
|
|
1346
1468
|
postal_code?: string | null;
|
|
1347
1469
|
product_groups?: string[];
|
|
@@ -1352,6 +1474,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
1352
1474
|
sync_status?: string;
|
|
1353
1475
|
trade_forms?: string[];
|
|
1354
1476
|
updated_at?: string;
|
|
1477
|
+
vat_display?: string | null;
|
|
1355
1478
|
vat_number?: string | null;
|
|
1356
1479
|
website?: string | null;
|
|
1357
1480
|
};
|
|
@@ -3298,6 +3421,54 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
3298
3421
|
referencedColumns: ["id"];
|
|
3299
3422
|
}];
|
|
3300
3423
|
};
|
|
3424
|
+
floriday_auto_fulfillment_log: {
|
|
3425
|
+
Row: {
|
|
3426
|
+
attempts: number;
|
|
3427
|
+
connection_id: string;
|
|
3428
|
+
created_at: string;
|
|
3429
|
+
error: string | null;
|
|
3430
|
+
fulfillment_order_id: string | null;
|
|
3431
|
+
id: string;
|
|
3432
|
+
last_attempt_at: string | null;
|
|
3433
|
+
reason: string | null;
|
|
3434
|
+
sales_order_id: string;
|
|
3435
|
+
status: string;
|
|
3436
|
+
updated_at: string;
|
|
3437
|
+
};
|
|
3438
|
+
Insert: {
|
|
3439
|
+
attempts?: number;
|
|
3440
|
+
connection_id: string;
|
|
3441
|
+
created_at?: string;
|
|
3442
|
+
error?: string | null;
|
|
3443
|
+
fulfillment_order_id?: string | null;
|
|
3444
|
+
id?: string;
|
|
3445
|
+
last_attempt_at?: string | null;
|
|
3446
|
+
reason?: string | null;
|
|
3447
|
+
sales_order_id: string;
|
|
3448
|
+
status?: string;
|
|
3449
|
+
updated_at?: string;
|
|
3450
|
+
};
|
|
3451
|
+
Update: {
|
|
3452
|
+
attempts?: number;
|
|
3453
|
+
connection_id?: string;
|
|
3454
|
+
created_at?: string;
|
|
3455
|
+
error?: string | null;
|
|
3456
|
+
fulfillment_order_id?: string | null;
|
|
3457
|
+
id?: string;
|
|
3458
|
+
last_attempt_at?: string | null;
|
|
3459
|
+
reason?: string | null;
|
|
3460
|
+
sales_order_id?: string;
|
|
3461
|
+
status?: string;
|
|
3462
|
+
updated_at?: string;
|
|
3463
|
+
};
|
|
3464
|
+
Relationships: [{
|
|
3465
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
3466
|
+
columns: ["connection_id"];
|
|
3467
|
+
isOneToOne: false;
|
|
3468
|
+
referencedRelation: "floriday_connections";
|
|
3469
|
+
referencedColumns: ["id"];
|
|
3470
|
+
}];
|
|
3471
|
+
};
|
|
3301
3472
|
floriday_base_items_cache: {
|
|
3302
3473
|
Row: {
|
|
3303
3474
|
connection_id: string;
|
|
@@ -4402,6 +4573,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
4402
4573
|
referencedColumns: ["id"];
|
|
4403
4574
|
}];
|
|
4404
4575
|
};
|
|
4576
|
+
floriday_rate_limit_state: {
|
|
4577
|
+
Row: {
|
|
4578
|
+
bucket: string;
|
|
4579
|
+
last_refill_at: string;
|
|
4580
|
+
tokens: number;
|
|
4581
|
+
};
|
|
4582
|
+
Insert: {
|
|
4583
|
+
bucket: string;
|
|
4584
|
+
last_refill_at?: string;
|
|
4585
|
+
tokens: number;
|
|
4586
|
+
};
|
|
4587
|
+
Update: {
|
|
4588
|
+
bucket?: string;
|
|
4589
|
+
last_refill_at?: string;
|
|
4590
|
+
tokens?: number;
|
|
4591
|
+
};
|
|
4592
|
+
Relationships: [];
|
|
4593
|
+
};
|
|
4405
4594
|
floriday_resource_schemas: {
|
|
4406
4595
|
Row: {
|
|
4407
4596
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -6836,6 +7025,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
6836
7025
|
order_date: string;
|
|
6837
7026
|
order_number: string;
|
|
6838
7027
|
order_source: string;
|
|
7028
|
+
plan_locked_at: string | null;
|
|
7029
|
+
plan_locked_ref: string | null;
|
|
6839
7030
|
status: string;
|
|
6840
7031
|
total: string;
|
|
6841
7032
|
updated_at: string;
|
|
@@ -6852,6 +7043,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
6852
7043
|
order_date?: string;
|
|
6853
7044
|
order_number: string;
|
|
6854
7045
|
order_source?: string;
|
|
7046
|
+
plan_locked_at?: string | null;
|
|
7047
|
+
plan_locked_ref?: string | null;
|
|
6855
7048
|
status?: string;
|
|
6856
7049
|
total?: string;
|
|
6857
7050
|
updated_at?: string;
|
|
@@ -6868,6 +7061,8 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
6868
7061
|
order_date?: string;
|
|
6869
7062
|
order_number?: string;
|
|
6870
7063
|
order_source?: string;
|
|
7064
|
+
plan_locked_at?: string | null;
|
|
7065
|
+
plan_locked_ref?: string | null;
|
|
6871
7066
|
status?: string;
|
|
6872
7067
|
total?: string;
|
|
6873
7068
|
updated_at?: string;
|
|
@@ -7236,6 +7431,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
7236
7431
|
};
|
|
7237
7432
|
profiles: {
|
|
7238
7433
|
Row: {
|
|
7434
|
+
address: string | null;
|
|
7239
7435
|
created_at: string;
|
|
7240
7436
|
display_name: string | null;
|
|
7241
7437
|
email: string | null;
|
|
@@ -7246,6 +7442,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
7246
7442
|
updated_at: string;
|
|
7247
7443
|
};
|
|
7248
7444
|
Insert: {
|
|
7445
|
+
address?: string | null;
|
|
7249
7446
|
created_at?: string;
|
|
7250
7447
|
display_name?: string | null;
|
|
7251
7448
|
email?: string | null;
|
|
@@ -7256,6 +7453,7 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
7256
7453
|
updated_at?: string;
|
|
7257
7454
|
};
|
|
7258
7455
|
Update: {
|
|
7456
|
+
address?: string | null;
|
|
7259
7457
|
created_at?: string;
|
|
7260
7458
|
display_name?: string | null;
|
|
7261
7459
|
email?: string | null;
|
|
@@ -8503,6 +8701,114 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
8503
8701
|
};
|
|
8504
8702
|
Relationships: [];
|
|
8505
8703
|
};
|
|
8704
|
+
trade_item_supply_lines: {
|
|
8705
|
+
Row: {
|
|
8706
|
+
available_quantity: number | null;
|
|
8707
|
+
connection_id: string;
|
|
8708
|
+
created_at: string;
|
|
8709
|
+
currency: string | null;
|
|
8710
|
+
endpoint_family: string | null;
|
|
8711
|
+
environment: string | null;
|
|
8712
|
+
id: string;
|
|
8713
|
+
last_error: string | null;
|
|
8714
|
+
last_status: number | null;
|
|
8715
|
+
packing_configuration_id: string | null;
|
|
8716
|
+
period_end: string | null;
|
|
8717
|
+
period_start: string | null;
|
|
8718
|
+
price_per_piece: number | null;
|
|
8719
|
+
sales_unit: string | null;
|
|
8720
|
+
supply_line_id: string | null;
|
|
8721
|
+
supply_type: string;
|
|
8722
|
+
trade_item_id: string;
|
|
8723
|
+
updated_at: string;
|
|
8724
|
+
user_id: string;
|
|
8725
|
+
week: number | null;
|
|
8726
|
+
year: number | null;
|
|
8727
|
+
};
|
|
8728
|
+
Insert: {
|
|
8729
|
+
available_quantity?: number | null;
|
|
8730
|
+
connection_id: string;
|
|
8731
|
+
created_at?: string;
|
|
8732
|
+
currency?: string | null;
|
|
8733
|
+
endpoint_family?: string | null;
|
|
8734
|
+
environment?: string | null;
|
|
8735
|
+
id?: string;
|
|
8736
|
+
last_error?: string | null;
|
|
8737
|
+
last_status?: number | null;
|
|
8738
|
+
packing_configuration_id?: string | null;
|
|
8739
|
+
period_end?: string | null;
|
|
8740
|
+
period_start?: string | null;
|
|
8741
|
+
price_per_piece?: number | null;
|
|
8742
|
+
sales_unit?: string | null;
|
|
8743
|
+
supply_line_id?: string | null;
|
|
8744
|
+
supply_type?: string;
|
|
8745
|
+
trade_item_id: string;
|
|
8746
|
+
updated_at?: string;
|
|
8747
|
+
user_id: string;
|
|
8748
|
+
week?: number | null;
|
|
8749
|
+
year?: number | null;
|
|
8750
|
+
};
|
|
8751
|
+
Update: {
|
|
8752
|
+
available_quantity?: number | null;
|
|
8753
|
+
connection_id?: string;
|
|
8754
|
+
created_at?: string;
|
|
8755
|
+
currency?: string | null;
|
|
8756
|
+
endpoint_family?: string | null;
|
|
8757
|
+
environment?: string | null;
|
|
8758
|
+
id?: string;
|
|
8759
|
+
last_error?: string | null;
|
|
8760
|
+
last_status?: number | null;
|
|
8761
|
+
packing_configuration_id?: string | null;
|
|
8762
|
+
period_end?: string | null;
|
|
8763
|
+
period_start?: string | null;
|
|
8764
|
+
price_per_piece?: number | null;
|
|
8765
|
+
sales_unit?: string | null;
|
|
8766
|
+
supply_line_id?: string | null;
|
|
8767
|
+
supply_type?: string;
|
|
8768
|
+
trade_item_id?: string;
|
|
8769
|
+
updated_at?: string;
|
|
8770
|
+
user_id?: string;
|
|
8771
|
+
week?: number | null;
|
|
8772
|
+
year?: number | null;
|
|
8773
|
+
};
|
|
8774
|
+
Relationships: [];
|
|
8775
|
+
};
|
|
8776
|
+
trade_item_warehouse_preferences: {
|
|
8777
|
+
Row: {
|
|
8778
|
+
connection_id: string;
|
|
8779
|
+
created_at: string;
|
|
8780
|
+
id: string;
|
|
8781
|
+
trade_item_id: string;
|
|
8782
|
+
updated_at: string;
|
|
8783
|
+
warehouse_id: string;
|
|
8784
|
+
warehouse_name: string | null;
|
|
8785
|
+
};
|
|
8786
|
+
Insert: {
|
|
8787
|
+
connection_id: string;
|
|
8788
|
+
created_at?: string;
|
|
8789
|
+
id?: string;
|
|
8790
|
+
trade_item_id: string;
|
|
8791
|
+
updated_at?: string;
|
|
8792
|
+
warehouse_id: string;
|
|
8793
|
+
warehouse_name?: string | null;
|
|
8794
|
+
};
|
|
8795
|
+
Update: {
|
|
8796
|
+
connection_id?: string;
|
|
8797
|
+
created_at?: string;
|
|
8798
|
+
id?: string;
|
|
8799
|
+
trade_item_id?: string;
|
|
8800
|
+
updated_at?: string;
|
|
8801
|
+
warehouse_id?: string;
|
|
8802
|
+
warehouse_name?: string | null;
|
|
8803
|
+
};
|
|
8804
|
+
Relationships: [{
|
|
8805
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
8806
|
+
columns: ["connection_id"];
|
|
8807
|
+
isOneToOne: false;
|
|
8808
|
+
referencedRelation: "floriday_connections";
|
|
8809
|
+
referencedColumns: ["id"];
|
|
8810
|
+
}];
|
|
8811
|
+
};
|
|
8506
8812
|
twinfield_connections: {
|
|
8507
8813
|
Row: {
|
|
8508
8814
|
access_token: string | null;
|
|
@@ -10188,7 +10494,19 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
10188
10494
|
};
|
|
10189
10495
|
cleanup_old_bookings: {
|
|
10190
10496
|
Args: never;
|
|
10191
|
-
Returns:
|
|
10497
|
+
Returns: undefined;
|
|
10498
|
+
};
|
|
10499
|
+
consume_floriday_rate_limit: {
|
|
10500
|
+
Args: {
|
|
10501
|
+
p_bucket: string;
|
|
10502
|
+
p_capacity: number;
|
|
10503
|
+
p_cost?: number;
|
|
10504
|
+
p_refill_per_sec: number;
|
|
10505
|
+
};
|
|
10506
|
+
Returns: {
|
|
10507
|
+
granted: boolean;
|
|
10508
|
+
wait_ms: number;
|
|
10509
|
+
}[];
|
|
10192
10510
|
};
|
|
10193
10511
|
control_get_todays_carts: {
|
|
10194
10512
|
Args: never;
|
|
@@ -10270,6 +10588,12 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
10270
10588
|
status: string;
|
|
10271
10589
|
}[];
|
|
10272
10590
|
};
|
|
10591
|
+
enqueue_cart_replan_if_unlocked: {
|
|
10592
|
+
Args: {
|
|
10593
|
+
p_order_id: string;
|
|
10594
|
+
};
|
|
10595
|
+
Returns: undefined;
|
|
10596
|
+
};
|
|
10273
10597
|
ensure_trade_item_stock_row: {
|
|
10274
10598
|
Args: {
|
|
10275
10599
|
p_key: string;
|
|
@@ -10663,6 +10987,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
10663
10987
|
};
|
|
10664
10988
|
Returns: undefined;
|
|
10665
10989
|
};
|
|
10990
|
+
recompute_order_status: {
|
|
10991
|
+
Args: {
|
|
10992
|
+
p_order_id: string;
|
|
10993
|
+
};
|
|
10994
|
+
Returns: undefined;
|
|
10995
|
+
};
|
|
10996
|
+
recompute_reserved_for_order: {
|
|
10997
|
+
Args: {
|
|
10998
|
+
p_order_id: string;
|
|
10999
|
+
};
|
|
11000
|
+
Returns: undefined;
|
|
11001
|
+
};
|
|
11002
|
+
recompute_reserved_stock: {
|
|
11003
|
+
Args: {
|
|
11004
|
+
p_trade_item_key: string;
|
|
11005
|
+
};
|
|
11006
|
+
Returns: undefined;
|
|
11007
|
+
};
|
|
10666
11008
|
refresh_external_customers_grouped: {
|
|
10667
11009
|
Args: never;
|
|
10668
11010
|
Returns: undefined;
|
|
@@ -10977,6 +11319,24 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
10977
11319
|
};
|
|
10978
11320
|
Returns: string[];
|
|
10979
11321
|
};
|
|
11322
|
+
sync_cached_packing_from_product: {
|
|
11323
|
+
Args: {
|
|
11324
|
+
p_product_id: string;
|
|
11325
|
+
};
|
|
11326
|
+
Returns: undefined;
|
|
11327
|
+
};
|
|
11328
|
+
sync_order_cart_item_packing_from_product: {
|
|
11329
|
+
Args: {
|
|
11330
|
+
p_product_id: string;
|
|
11331
|
+
};
|
|
11332
|
+
Returns: undefined;
|
|
11333
|
+
};
|
|
11334
|
+
sync_product_packing_from_floriday_cache: {
|
|
11335
|
+
Args: {
|
|
11336
|
+
p_floriday_id: string;
|
|
11337
|
+
};
|
|
11338
|
+
Returns: undefined;
|
|
11339
|
+
};
|
|
10980
11340
|
twinfield_decrypt: {
|
|
10981
11341
|
Args: {
|
|
10982
11342
|
cipher: string;
|
|
@@ -10989,6 +11349,17 @@ export declare const listCarriers: import("@tanstack/start-client-core").Optiona
|
|
|
10989
11349
|
};
|
|
10990
11350
|
Returns: string;
|
|
10991
11351
|
};
|
|
11352
|
+
upsert_auto_fulfillment_log: {
|
|
11353
|
+
Args: {
|
|
11354
|
+
p_connection_id: string;
|
|
11355
|
+
p_error?: string;
|
|
11356
|
+
p_fulfillment_order_id?: string;
|
|
11357
|
+
p_reason?: string;
|
|
11358
|
+
p_sales_order_id: string;
|
|
11359
|
+
p_status: string;
|
|
11360
|
+
};
|
|
11361
|
+
Returns: undefined;
|
|
11362
|
+
};
|
|
10992
11363
|
};
|
|
10993
11364
|
Enums: {
|
|
10994
11365
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -11017,6 +11388,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11017
11388
|
Tables: {
|
|
11018
11389
|
afhandeling_settings: {
|
|
11019
11390
|
Row: {
|
|
11391
|
+
auto_print_delivery_note: boolean;
|
|
11392
|
+
auto_process_paused: boolean;
|
|
11020
11393
|
created_at: string;
|
|
11021
11394
|
extra_pick_days_with_stickers: number;
|
|
11022
11395
|
id: string;
|
|
@@ -11032,6 +11405,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11032
11405
|
user_id: string;
|
|
11033
11406
|
};
|
|
11034
11407
|
Insert: {
|
|
11408
|
+
auto_print_delivery_note?: boolean;
|
|
11409
|
+
auto_process_paused?: boolean;
|
|
11035
11410
|
created_at?: string;
|
|
11036
11411
|
extra_pick_days_with_stickers?: number;
|
|
11037
11412
|
id?: string;
|
|
@@ -11047,6 +11422,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11047
11422
|
user_id: string;
|
|
11048
11423
|
};
|
|
11049
11424
|
Update: {
|
|
11425
|
+
auto_print_delivery_note?: boolean;
|
|
11426
|
+
auto_process_paused?: boolean;
|
|
11050
11427
|
created_at?: string;
|
|
11051
11428
|
extra_pick_days_with_stickers?: number;
|
|
11052
11429
|
id?: string;
|
|
@@ -11279,6 +11656,9 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11279
11656
|
created_at: string;
|
|
11280
11657
|
extra_id: string;
|
|
11281
11658
|
id: string;
|
|
11659
|
+
original_unit_price: number | null;
|
|
11660
|
+
override_reason: string | null;
|
|
11661
|
+
override_unit_price: number | null;
|
|
11282
11662
|
quantity: number;
|
|
11283
11663
|
total_price: number;
|
|
11284
11664
|
unit_price: number;
|
|
@@ -11288,6 +11668,9 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11288
11668
|
created_at?: string;
|
|
11289
11669
|
extra_id: string;
|
|
11290
11670
|
id?: string;
|
|
11671
|
+
original_unit_price?: number | null;
|
|
11672
|
+
override_reason?: string | null;
|
|
11673
|
+
override_unit_price?: number | null;
|
|
11291
11674
|
quantity?: number;
|
|
11292
11675
|
total_price?: number;
|
|
11293
11676
|
unit_price?: number;
|
|
@@ -11297,6 +11680,9 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11297
11680
|
created_at?: string;
|
|
11298
11681
|
extra_id?: string;
|
|
11299
11682
|
id?: string;
|
|
11683
|
+
original_unit_price?: number | null;
|
|
11684
|
+
override_reason?: string | null;
|
|
11685
|
+
override_unit_price?: number | null;
|
|
11300
11686
|
quantity?: number;
|
|
11301
11687
|
total_price?: number;
|
|
11302
11688
|
unit_price?: number;
|
|
@@ -11317,11 +11703,15 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11317
11703
|
};
|
|
11318
11704
|
bookings: {
|
|
11319
11705
|
Row: {
|
|
11706
|
+
archive_reason: string | null;
|
|
11707
|
+
archived_at: string | null;
|
|
11708
|
+
archived_by: string | null;
|
|
11320
11709
|
company_name: string | null;
|
|
11321
11710
|
conflict_checked_at: string | null;
|
|
11322
11711
|
conflict_reason: string | null;
|
|
11323
11712
|
created_at: string;
|
|
11324
11713
|
created_by_role: string | null;
|
|
11714
|
+
customer_address: string | null;
|
|
11325
11715
|
customer_email: string | null;
|
|
11326
11716
|
customer_name: string | null;
|
|
11327
11717
|
end_time: string;
|
|
@@ -11333,7 +11723,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11333
11723
|
invoiced_at: string | null;
|
|
11334
11724
|
notes: string | null;
|
|
11335
11725
|
number_of_people: number;
|
|
11726
|
+
overridden_at: string | null;
|
|
11727
|
+
overridden_by: string | null;
|
|
11728
|
+
override_reason: string | null;
|
|
11729
|
+
price_override: boolean;
|
|
11336
11730
|
room_id: string;
|
|
11731
|
+
room_price_override: number | null;
|
|
11337
11732
|
start_time: string;
|
|
11338
11733
|
status: string;
|
|
11339
11734
|
total_excl_vat: number | null;
|
|
@@ -11342,11 +11737,15 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11342
11737
|
vat_amount: number | null;
|
|
11343
11738
|
};
|
|
11344
11739
|
Insert: {
|
|
11740
|
+
archive_reason?: string | null;
|
|
11741
|
+
archived_at?: string | null;
|
|
11742
|
+
archived_by?: string | null;
|
|
11345
11743
|
company_name?: string | null;
|
|
11346
11744
|
conflict_checked_at?: string | null;
|
|
11347
11745
|
conflict_reason?: string | null;
|
|
11348
11746
|
created_at?: string;
|
|
11349
11747
|
created_by_role?: string | null;
|
|
11748
|
+
customer_address?: string | null;
|
|
11350
11749
|
customer_email?: string | null;
|
|
11351
11750
|
customer_name?: string | null;
|
|
11352
11751
|
end_time: string;
|
|
@@ -11358,7 +11757,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11358
11757
|
invoiced_at?: string | null;
|
|
11359
11758
|
notes?: string | null;
|
|
11360
11759
|
number_of_people?: number;
|
|
11760
|
+
overridden_at?: string | null;
|
|
11761
|
+
overridden_by?: string | null;
|
|
11762
|
+
override_reason?: string | null;
|
|
11763
|
+
price_override?: boolean;
|
|
11361
11764
|
room_id: string;
|
|
11765
|
+
room_price_override?: number | null;
|
|
11362
11766
|
start_time: string;
|
|
11363
11767
|
status?: string;
|
|
11364
11768
|
total_excl_vat?: number | null;
|
|
@@ -11367,11 +11771,15 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11367
11771
|
vat_amount?: number | null;
|
|
11368
11772
|
};
|
|
11369
11773
|
Update: {
|
|
11774
|
+
archive_reason?: string | null;
|
|
11775
|
+
archived_at?: string | null;
|
|
11776
|
+
archived_by?: string | null;
|
|
11370
11777
|
company_name?: string | null;
|
|
11371
11778
|
conflict_checked_at?: string | null;
|
|
11372
11779
|
conflict_reason?: string | null;
|
|
11373
11780
|
created_at?: string;
|
|
11374
11781
|
created_by_role?: string | null;
|
|
11782
|
+
customer_address?: string | null;
|
|
11375
11783
|
customer_email?: string | null;
|
|
11376
11784
|
customer_name?: string | null;
|
|
11377
11785
|
end_time?: string;
|
|
@@ -11383,7 +11791,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
11383
11791
|
invoiced_at?: string | null;
|
|
11384
11792
|
notes?: string | null;
|
|
11385
11793
|
number_of_people?: number;
|
|
11794
|
+
overridden_at?: string | null;
|
|
11795
|
+
overridden_by?: string | null;
|
|
11796
|
+
override_reason?: string | null;
|
|
11797
|
+
price_override?: boolean;
|
|
11386
11798
|
room_id?: string;
|
|
11799
|
+
room_price_override?: number | null;
|
|
11387
11800
|
start_time?: string;
|
|
11388
11801
|
status?: string;
|
|
11389
11802
|
total_excl_vat?: number | null;
|
|
@@ -12212,8 +12625,27 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12212
12625
|
customers: {
|
|
12213
12626
|
Row: {
|
|
12214
12627
|
address: string | null;
|
|
12628
|
+
address_line1: string | null;
|
|
12629
|
+
address_line2: string | null;
|
|
12630
|
+
address_type: string | null;
|
|
12631
|
+
attention_to: string | null;
|
|
12632
|
+
bank_account_holder: string | null;
|
|
12633
|
+
bank_account_number: string | null;
|
|
12634
|
+
bank_address_line1: string | null;
|
|
12635
|
+
bank_address_line2: string | null;
|
|
12636
|
+
bank_bic: string | null;
|
|
12637
|
+
bank_city: string | null;
|
|
12638
|
+
bank_country: string | null;
|
|
12639
|
+
bank_house_number: string | null;
|
|
12640
|
+
bank_iban: string | null;
|
|
12641
|
+
bank_name: string | null;
|
|
12642
|
+
bank_national_code: string | null;
|
|
12643
|
+
bank_postal_code: string | null;
|
|
12644
|
+
bank_state: string | null;
|
|
12645
|
+
billing_email: string | null;
|
|
12215
12646
|
bio: string | null;
|
|
12216
12647
|
city: string | null;
|
|
12648
|
+
coc_number: string | null;
|
|
12217
12649
|
commercial_name: string | null;
|
|
12218
12650
|
company_name: string;
|
|
12219
12651
|
connection_status: string;
|
|
@@ -12222,21 +12654,28 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12222
12654
|
created_at: string;
|
|
12223
12655
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
12224
12656
|
customer_class: string | null;
|
|
12657
|
+
customer_number: string | null;
|
|
12658
|
+
discount_days: number | null;
|
|
12659
|
+
discount_percentage: number | null;
|
|
12225
12660
|
email: string | null;
|
|
12226
12661
|
external_id: string | null;
|
|
12662
|
+
fax: string | null;
|
|
12227
12663
|
floriday_connection_id: string | null;
|
|
12228
12664
|
floriday_organization_id: string | null;
|
|
12229
12665
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
12230
12666
|
gln: string | null;
|
|
12231
12667
|
house_number: string | null;
|
|
12668
|
+
icp_country_code: string | null;
|
|
12232
12669
|
id: string;
|
|
12233
12670
|
is_active: boolean;
|
|
12671
|
+
language: string | null;
|
|
12234
12672
|
last_synced_at: string | null;
|
|
12235
12673
|
logo_url: string | null;
|
|
12236
12674
|
markets: string[];
|
|
12237
12675
|
notes: string | null;
|
|
12238
12676
|
organization_type: string | null;
|
|
12239
12677
|
payment_methods: string[];
|
|
12678
|
+
payment_term_days: number | null;
|
|
12240
12679
|
phone: string | null;
|
|
12241
12680
|
postal_code: string | null;
|
|
12242
12681
|
product_groups: string[];
|
|
@@ -12247,13 +12686,33 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12247
12686
|
sync_status: string;
|
|
12248
12687
|
trade_forms: string[];
|
|
12249
12688
|
updated_at: string;
|
|
12689
|
+
vat_display: string | null;
|
|
12250
12690
|
vat_number: string | null;
|
|
12251
12691
|
website: string | null;
|
|
12252
12692
|
};
|
|
12253
12693
|
Insert: {
|
|
12254
12694
|
address?: string | null;
|
|
12695
|
+
address_line1?: string | null;
|
|
12696
|
+
address_line2?: string | null;
|
|
12697
|
+
address_type?: string | null;
|
|
12698
|
+
attention_to?: string | null;
|
|
12699
|
+
bank_account_holder?: string | null;
|
|
12700
|
+
bank_account_number?: string | null;
|
|
12701
|
+
bank_address_line1?: string | null;
|
|
12702
|
+
bank_address_line2?: string | null;
|
|
12703
|
+
bank_bic?: string | null;
|
|
12704
|
+
bank_city?: string | null;
|
|
12705
|
+
bank_country?: string | null;
|
|
12706
|
+
bank_house_number?: string | null;
|
|
12707
|
+
bank_iban?: string | null;
|
|
12708
|
+
bank_name?: string | null;
|
|
12709
|
+
bank_national_code?: string | null;
|
|
12710
|
+
bank_postal_code?: string | null;
|
|
12711
|
+
bank_state?: string | null;
|
|
12712
|
+
billing_email?: string | null;
|
|
12255
12713
|
bio?: string | null;
|
|
12256
12714
|
city?: string | null;
|
|
12715
|
+
coc_number?: string | null;
|
|
12257
12716
|
commercial_name?: string | null;
|
|
12258
12717
|
company_name: string;
|
|
12259
12718
|
connection_status?: string;
|
|
@@ -12262,21 +12721,28 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12262
12721
|
created_at?: string;
|
|
12263
12722
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12264
12723
|
customer_class?: string | null;
|
|
12724
|
+
customer_number?: string | null;
|
|
12725
|
+
discount_days?: number | null;
|
|
12726
|
+
discount_percentage?: number | null;
|
|
12265
12727
|
email?: string | null;
|
|
12266
12728
|
external_id?: string | null;
|
|
12729
|
+
fax?: string | null;
|
|
12267
12730
|
floriday_connection_id?: string | null;
|
|
12268
12731
|
floriday_organization_id?: string | null;
|
|
12269
12732
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12270
12733
|
gln?: string | null;
|
|
12271
12734
|
house_number?: string | null;
|
|
12735
|
+
icp_country_code?: string | null;
|
|
12272
12736
|
id?: string;
|
|
12273
12737
|
is_active?: boolean;
|
|
12738
|
+
language?: string | null;
|
|
12274
12739
|
last_synced_at?: string | null;
|
|
12275
12740
|
logo_url?: string | null;
|
|
12276
12741
|
markets?: string[];
|
|
12277
12742
|
notes?: string | null;
|
|
12278
12743
|
organization_type?: string | null;
|
|
12279
12744
|
payment_methods?: string[];
|
|
12745
|
+
payment_term_days?: number | null;
|
|
12280
12746
|
phone?: string | null;
|
|
12281
12747
|
postal_code?: string | null;
|
|
12282
12748
|
product_groups?: string[];
|
|
@@ -12287,13 +12753,33 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12287
12753
|
sync_status?: string;
|
|
12288
12754
|
trade_forms?: string[];
|
|
12289
12755
|
updated_at?: string;
|
|
12756
|
+
vat_display?: string | null;
|
|
12290
12757
|
vat_number?: string | null;
|
|
12291
12758
|
website?: string | null;
|
|
12292
12759
|
};
|
|
12293
12760
|
Update: {
|
|
12294
12761
|
address?: string | null;
|
|
12762
|
+
address_line1?: string | null;
|
|
12763
|
+
address_line2?: string | null;
|
|
12764
|
+
address_type?: string | null;
|
|
12765
|
+
attention_to?: string | null;
|
|
12766
|
+
bank_account_holder?: string | null;
|
|
12767
|
+
bank_account_number?: string | null;
|
|
12768
|
+
bank_address_line1?: string | null;
|
|
12769
|
+
bank_address_line2?: string | null;
|
|
12770
|
+
bank_bic?: string | null;
|
|
12771
|
+
bank_city?: string | null;
|
|
12772
|
+
bank_country?: string | null;
|
|
12773
|
+
bank_house_number?: string | null;
|
|
12774
|
+
bank_iban?: string | null;
|
|
12775
|
+
bank_name?: string | null;
|
|
12776
|
+
bank_national_code?: string | null;
|
|
12777
|
+
bank_postal_code?: string | null;
|
|
12778
|
+
bank_state?: string | null;
|
|
12779
|
+
billing_email?: string | null;
|
|
12295
12780
|
bio?: string | null;
|
|
12296
12781
|
city?: string | null;
|
|
12782
|
+
coc_number?: string | null;
|
|
12297
12783
|
commercial_name?: string | null;
|
|
12298
12784
|
company_name?: string;
|
|
12299
12785
|
connection_status?: string;
|
|
@@ -12302,21 +12788,28 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12302
12788
|
created_at?: string;
|
|
12303
12789
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12304
12790
|
customer_class?: string | null;
|
|
12791
|
+
customer_number?: string | null;
|
|
12792
|
+
discount_days?: number | null;
|
|
12793
|
+
discount_percentage?: number | null;
|
|
12305
12794
|
email?: string | null;
|
|
12306
12795
|
external_id?: string | null;
|
|
12796
|
+
fax?: string | null;
|
|
12307
12797
|
floriday_connection_id?: string | null;
|
|
12308
12798
|
floriday_organization_id?: string | null;
|
|
12309
12799
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12310
12800
|
gln?: string | null;
|
|
12311
12801
|
house_number?: string | null;
|
|
12802
|
+
icp_country_code?: string | null;
|
|
12312
12803
|
id?: string;
|
|
12313
12804
|
is_active?: boolean;
|
|
12805
|
+
language?: string | null;
|
|
12314
12806
|
last_synced_at?: string | null;
|
|
12315
12807
|
logo_url?: string | null;
|
|
12316
12808
|
markets?: string[];
|
|
12317
12809
|
notes?: string | null;
|
|
12318
12810
|
organization_type?: string | null;
|
|
12319
12811
|
payment_methods?: string[];
|
|
12812
|
+
payment_term_days?: number | null;
|
|
12320
12813
|
phone?: string | null;
|
|
12321
12814
|
postal_code?: string | null;
|
|
12322
12815
|
product_groups?: string[];
|
|
@@ -12327,6 +12820,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
12327
12820
|
sync_status?: string;
|
|
12328
12821
|
trade_forms?: string[];
|
|
12329
12822
|
updated_at?: string;
|
|
12823
|
+
vat_display?: string | null;
|
|
12330
12824
|
vat_number?: string | null;
|
|
12331
12825
|
website?: string | null;
|
|
12332
12826
|
};
|
|
@@ -14273,6 +14767,54 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
14273
14767
|
referencedColumns: ["id"];
|
|
14274
14768
|
}];
|
|
14275
14769
|
};
|
|
14770
|
+
floriday_auto_fulfillment_log: {
|
|
14771
|
+
Row: {
|
|
14772
|
+
attempts: number;
|
|
14773
|
+
connection_id: string;
|
|
14774
|
+
created_at: string;
|
|
14775
|
+
error: string | null;
|
|
14776
|
+
fulfillment_order_id: string | null;
|
|
14777
|
+
id: string;
|
|
14778
|
+
last_attempt_at: string | null;
|
|
14779
|
+
reason: string | null;
|
|
14780
|
+
sales_order_id: string;
|
|
14781
|
+
status: string;
|
|
14782
|
+
updated_at: string;
|
|
14783
|
+
};
|
|
14784
|
+
Insert: {
|
|
14785
|
+
attempts?: number;
|
|
14786
|
+
connection_id: string;
|
|
14787
|
+
created_at?: string;
|
|
14788
|
+
error?: string | null;
|
|
14789
|
+
fulfillment_order_id?: string | null;
|
|
14790
|
+
id?: string;
|
|
14791
|
+
last_attempt_at?: string | null;
|
|
14792
|
+
reason?: string | null;
|
|
14793
|
+
sales_order_id: string;
|
|
14794
|
+
status?: string;
|
|
14795
|
+
updated_at?: string;
|
|
14796
|
+
};
|
|
14797
|
+
Update: {
|
|
14798
|
+
attempts?: number;
|
|
14799
|
+
connection_id?: string;
|
|
14800
|
+
created_at?: string;
|
|
14801
|
+
error?: string | null;
|
|
14802
|
+
fulfillment_order_id?: string | null;
|
|
14803
|
+
id?: string;
|
|
14804
|
+
last_attempt_at?: string | null;
|
|
14805
|
+
reason?: string | null;
|
|
14806
|
+
sales_order_id?: string;
|
|
14807
|
+
status?: string;
|
|
14808
|
+
updated_at?: string;
|
|
14809
|
+
};
|
|
14810
|
+
Relationships: [{
|
|
14811
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
14812
|
+
columns: ["connection_id"];
|
|
14813
|
+
isOneToOne: false;
|
|
14814
|
+
referencedRelation: "floriday_connections";
|
|
14815
|
+
referencedColumns: ["id"];
|
|
14816
|
+
}];
|
|
14817
|
+
};
|
|
14276
14818
|
floriday_base_items_cache: {
|
|
14277
14819
|
Row: {
|
|
14278
14820
|
connection_id: string;
|
|
@@ -15377,6 +15919,24 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
15377
15919
|
referencedColumns: ["id"];
|
|
15378
15920
|
}];
|
|
15379
15921
|
};
|
|
15922
|
+
floriday_rate_limit_state: {
|
|
15923
|
+
Row: {
|
|
15924
|
+
bucket: string;
|
|
15925
|
+
last_refill_at: string;
|
|
15926
|
+
tokens: number;
|
|
15927
|
+
};
|
|
15928
|
+
Insert: {
|
|
15929
|
+
bucket: string;
|
|
15930
|
+
last_refill_at?: string;
|
|
15931
|
+
tokens: number;
|
|
15932
|
+
};
|
|
15933
|
+
Update: {
|
|
15934
|
+
bucket?: string;
|
|
15935
|
+
last_refill_at?: string;
|
|
15936
|
+
tokens?: number;
|
|
15937
|
+
};
|
|
15938
|
+
Relationships: [];
|
|
15939
|
+
};
|
|
15380
15940
|
floriday_resource_schemas: {
|
|
15381
15941
|
Row: {
|
|
15382
15942
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -17811,6 +18371,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
17811
18371
|
order_date: string;
|
|
17812
18372
|
order_number: string;
|
|
17813
18373
|
order_source: string;
|
|
18374
|
+
plan_locked_at: string | null;
|
|
18375
|
+
plan_locked_ref: string | null;
|
|
17814
18376
|
status: string;
|
|
17815
18377
|
total: string;
|
|
17816
18378
|
updated_at: string;
|
|
@@ -17827,6 +18389,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
17827
18389
|
order_date?: string;
|
|
17828
18390
|
order_number: string;
|
|
17829
18391
|
order_source?: string;
|
|
18392
|
+
plan_locked_at?: string | null;
|
|
18393
|
+
plan_locked_ref?: string | null;
|
|
17830
18394
|
status?: string;
|
|
17831
18395
|
total?: string;
|
|
17832
18396
|
updated_at?: string;
|
|
@@ -17843,6 +18407,8 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
17843
18407
|
order_date?: string;
|
|
17844
18408
|
order_number?: string;
|
|
17845
18409
|
order_source?: string;
|
|
18410
|
+
plan_locked_at?: string | null;
|
|
18411
|
+
plan_locked_ref?: string | null;
|
|
17846
18412
|
status?: string;
|
|
17847
18413
|
total?: string;
|
|
17848
18414
|
updated_at?: string;
|
|
@@ -18211,6 +18777,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
18211
18777
|
};
|
|
18212
18778
|
profiles: {
|
|
18213
18779
|
Row: {
|
|
18780
|
+
address: string | null;
|
|
18214
18781
|
created_at: string;
|
|
18215
18782
|
display_name: string | null;
|
|
18216
18783
|
email: string | null;
|
|
@@ -18221,6 +18788,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
18221
18788
|
updated_at: string;
|
|
18222
18789
|
};
|
|
18223
18790
|
Insert: {
|
|
18791
|
+
address?: string | null;
|
|
18224
18792
|
created_at?: string;
|
|
18225
18793
|
display_name?: string | null;
|
|
18226
18794
|
email?: string | null;
|
|
@@ -18231,6 +18799,7 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
18231
18799
|
updated_at?: string;
|
|
18232
18800
|
};
|
|
18233
18801
|
Update: {
|
|
18802
|
+
address?: string | null;
|
|
18234
18803
|
created_at?: string;
|
|
18235
18804
|
display_name?: string | null;
|
|
18236
18805
|
email?: string | null;
|
|
@@ -19478,6 +20047,114 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
19478
20047
|
};
|
|
19479
20048
|
Relationships: [];
|
|
19480
20049
|
};
|
|
20050
|
+
trade_item_supply_lines: {
|
|
20051
|
+
Row: {
|
|
20052
|
+
available_quantity: number | null;
|
|
20053
|
+
connection_id: string;
|
|
20054
|
+
created_at: string;
|
|
20055
|
+
currency: string | null;
|
|
20056
|
+
endpoint_family: string | null;
|
|
20057
|
+
environment: string | null;
|
|
20058
|
+
id: string;
|
|
20059
|
+
last_error: string | null;
|
|
20060
|
+
last_status: number | null;
|
|
20061
|
+
packing_configuration_id: string | null;
|
|
20062
|
+
period_end: string | null;
|
|
20063
|
+
period_start: string | null;
|
|
20064
|
+
price_per_piece: number | null;
|
|
20065
|
+
sales_unit: string | null;
|
|
20066
|
+
supply_line_id: string | null;
|
|
20067
|
+
supply_type: string;
|
|
20068
|
+
trade_item_id: string;
|
|
20069
|
+
updated_at: string;
|
|
20070
|
+
user_id: string;
|
|
20071
|
+
week: number | null;
|
|
20072
|
+
year: number | null;
|
|
20073
|
+
};
|
|
20074
|
+
Insert: {
|
|
20075
|
+
available_quantity?: number | null;
|
|
20076
|
+
connection_id: string;
|
|
20077
|
+
created_at?: string;
|
|
20078
|
+
currency?: string | null;
|
|
20079
|
+
endpoint_family?: string | null;
|
|
20080
|
+
environment?: string | null;
|
|
20081
|
+
id?: string;
|
|
20082
|
+
last_error?: string | null;
|
|
20083
|
+
last_status?: number | null;
|
|
20084
|
+
packing_configuration_id?: string | null;
|
|
20085
|
+
period_end?: string | null;
|
|
20086
|
+
period_start?: string | null;
|
|
20087
|
+
price_per_piece?: number | null;
|
|
20088
|
+
sales_unit?: string | null;
|
|
20089
|
+
supply_line_id?: string | null;
|
|
20090
|
+
supply_type?: string;
|
|
20091
|
+
trade_item_id: string;
|
|
20092
|
+
updated_at?: string;
|
|
20093
|
+
user_id: string;
|
|
20094
|
+
week?: number | null;
|
|
20095
|
+
year?: number | null;
|
|
20096
|
+
};
|
|
20097
|
+
Update: {
|
|
20098
|
+
available_quantity?: number | null;
|
|
20099
|
+
connection_id?: string;
|
|
20100
|
+
created_at?: string;
|
|
20101
|
+
currency?: string | null;
|
|
20102
|
+
endpoint_family?: string | null;
|
|
20103
|
+
environment?: string | null;
|
|
20104
|
+
id?: string;
|
|
20105
|
+
last_error?: string | null;
|
|
20106
|
+
last_status?: number | null;
|
|
20107
|
+
packing_configuration_id?: string | null;
|
|
20108
|
+
period_end?: string | null;
|
|
20109
|
+
period_start?: string | null;
|
|
20110
|
+
price_per_piece?: number | null;
|
|
20111
|
+
sales_unit?: string | null;
|
|
20112
|
+
supply_line_id?: string | null;
|
|
20113
|
+
supply_type?: string;
|
|
20114
|
+
trade_item_id?: string;
|
|
20115
|
+
updated_at?: string;
|
|
20116
|
+
user_id?: string;
|
|
20117
|
+
week?: number | null;
|
|
20118
|
+
year?: number | null;
|
|
20119
|
+
};
|
|
20120
|
+
Relationships: [];
|
|
20121
|
+
};
|
|
20122
|
+
trade_item_warehouse_preferences: {
|
|
20123
|
+
Row: {
|
|
20124
|
+
connection_id: string;
|
|
20125
|
+
created_at: string;
|
|
20126
|
+
id: string;
|
|
20127
|
+
trade_item_id: string;
|
|
20128
|
+
updated_at: string;
|
|
20129
|
+
warehouse_id: string;
|
|
20130
|
+
warehouse_name: string | null;
|
|
20131
|
+
};
|
|
20132
|
+
Insert: {
|
|
20133
|
+
connection_id: string;
|
|
20134
|
+
created_at?: string;
|
|
20135
|
+
id?: string;
|
|
20136
|
+
trade_item_id: string;
|
|
20137
|
+
updated_at?: string;
|
|
20138
|
+
warehouse_id: string;
|
|
20139
|
+
warehouse_name?: string | null;
|
|
20140
|
+
};
|
|
20141
|
+
Update: {
|
|
20142
|
+
connection_id?: string;
|
|
20143
|
+
created_at?: string;
|
|
20144
|
+
id?: string;
|
|
20145
|
+
trade_item_id?: string;
|
|
20146
|
+
updated_at?: string;
|
|
20147
|
+
warehouse_id?: string;
|
|
20148
|
+
warehouse_name?: string | null;
|
|
20149
|
+
};
|
|
20150
|
+
Relationships: [{
|
|
20151
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
20152
|
+
columns: ["connection_id"];
|
|
20153
|
+
isOneToOne: false;
|
|
20154
|
+
referencedRelation: "floriday_connections";
|
|
20155
|
+
referencedColumns: ["id"];
|
|
20156
|
+
}];
|
|
20157
|
+
};
|
|
19481
20158
|
twinfield_connections: {
|
|
19482
20159
|
Row: {
|
|
19483
20160
|
access_token: string | null;
|
|
@@ -21163,7 +21840,19 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21163
21840
|
};
|
|
21164
21841
|
cleanup_old_bookings: {
|
|
21165
21842
|
Args: never;
|
|
21166
|
-
Returns:
|
|
21843
|
+
Returns: undefined;
|
|
21844
|
+
};
|
|
21845
|
+
consume_floriday_rate_limit: {
|
|
21846
|
+
Args: {
|
|
21847
|
+
p_bucket: string;
|
|
21848
|
+
p_capacity: number;
|
|
21849
|
+
p_cost?: number;
|
|
21850
|
+
p_refill_per_sec: number;
|
|
21851
|
+
};
|
|
21852
|
+
Returns: {
|
|
21853
|
+
granted: boolean;
|
|
21854
|
+
wait_ms: number;
|
|
21855
|
+
}[];
|
|
21167
21856
|
};
|
|
21168
21857
|
control_get_todays_carts: {
|
|
21169
21858
|
Args: never;
|
|
@@ -21245,6 +21934,12 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21245
21934
|
status: string;
|
|
21246
21935
|
}[];
|
|
21247
21936
|
};
|
|
21937
|
+
enqueue_cart_replan_if_unlocked: {
|
|
21938
|
+
Args: {
|
|
21939
|
+
p_order_id: string;
|
|
21940
|
+
};
|
|
21941
|
+
Returns: undefined;
|
|
21942
|
+
};
|
|
21248
21943
|
ensure_trade_item_stock_row: {
|
|
21249
21944
|
Args: {
|
|
21250
21945
|
p_key: string;
|
|
@@ -21638,6 +22333,24 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21638
22333
|
};
|
|
21639
22334
|
Returns: undefined;
|
|
21640
22335
|
};
|
|
22336
|
+
recompute_order_status: {
|
|
22337
|
+
Args: {
|
|
22338
|
+
p_order_id: string;
|
|
22339
|
+
};
|
|
22340
|
+
Returns: undefined;
|
|
22341
|
+
};
|
|
22342
|
+
recompute_reserved_for_order: {
|
|
22343
|
+
Args: {
|
|
22344
|
+
p_order_id: string;
|
|
22345
|
+
};
|
|
22346
|
+
Returns: undefined;
|
|
22347
|
+
};
|
|
22348
|
+
recompute_reserved_stock: {
|
|
22349
|
+
Args: {
|
|
22350
|
+
p_trade_item_key: string;
|
|
22351
|
+
};
|
|
22352
|
+
Returns: undefined;
|
|
22353
|
+
};
|
|
21641
22354
|
refresh_external_customers_grouped: {
|
|
21642
22355
|
Args: never;
|
|
21643
22356
|
Returns: undefined;
|
|
@@ -21952,6 +22665,24 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21952
22665
|
};
|
|
21953
22666
|
Returns: string[];
|
|
21954
22667
|
};
|
|
22668
|
+
sync_cached_packing_from_product: {
|
|
22669
|
+
Args: {
|
|
22670
|
+
p_product_id: string;
|
|
22671
|
+
};
|
|
22672
|
+
Returns: undefined;
|
|
22673
|
+
};
|
|
22674
|
+
sync_order_cart_item_packing_from_product: {
|
|
22675
|
+
Args: {
|
|
22676
|
+
p_product_id: string;
|
|
22677
|
+
};
|
|
22678
|
+
Returns: undefined;
|
|
22679
|
+
};
|
|
22680
|
+
sync_product_packing_from_floriday_cache: {
|
|
22681
|
+
Args: {
|
|
22682
|
+
p_floriday_id: string;
|
|
22683
|
+
};
|
|
22684
|
+
Returns: undefined;
|
|
22685
|
+
};
|
|
21955
22686
|
twinfield_decrypt: {
|
|
21956
22687
|
Args: {
|
|
21957
22688
|
cipher: string;
|
|
@@ -21964,6 +22695,17 @@ export declare const listDeliveryLocations: import("@tanstack/start-client-core"
|
|
|
21964
22695
|
};
|
|
21965
22696
|
Returns: string;
|
|
21966
22697
|
};
|
|
22698
|
+
upsert_auto_fulfillment_log: {
|
|
22699
|
+
Args: {
|
|
22700
|
+
p_connection_id: string;
|
|
22701
|
+
p_error?: string;
|
|
22702
|
+
p_fulfillment_order_id?: string;
|
|
22703
|
+
p_reason?: string;
|
|
22704
|
+
p_sales_order_id: string;
|
|
22705
|
+
p_status: string;
|
|
22706
|
+
};
|
|
22707
|
+
Returns: undefined;
|
|
22708
|
+
};
|
|
21967
22709
|
};
|
|
21968
22710
|
Enums: {
|
|
21969
22711
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -22009,6 +22751,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22009
22751
|
Tables: {
|
|
22010
22752
|
afhandeling_settings: {
|
|
22011
22753
|
Row: {
|
|
22754
|
+
auto_print_delivery_note: boolean;
|
|
22755
|
+
auto_process_paused: boolean;
|
|
22012
22756
|
created_at: string;
|
|
22013
22757
|
extra_pick_days_with_stickers: number;
|
|
22014
22758
|
id: string;
|
|
@@ -22024,6 +22768,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22024
22768
|
user_id: string;
|
|
22025
22769
|
};
|
|
22026
22770
|
Insert: {
|
|
22771
|
+
auto_print_delivery_note?: boolean;
|
|
22772
|
+
auto_process_paused?: boolean;
|
|
22027
22773
|
created_at?: string;
|
|
22028
22774
|
extra_pick_days_with_stickers?: number;
|
|
22029
22775
|
id?: string;
|
|
@@ -22039,6 +22785,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22039
22785
|
user_id: string;
|
|
22040
22786
|
};
|
|
22041
22787
|
Update: {
|
|
22788
|
+
auto_print_delivery_note?: boolean;
|
|
22789
|
+
auto_process_paused?: boolean;
|
|
22042
22790
|
created_at?: string;
|
|
22043
22791
|
extra_pick_days_with_stickers?: number;
|
|
22044
22792
|
id?: string;
|
|
@@ -22271,6 +23019,9 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22271
23019
|
created_at: string;
|
|
22272
23020
|
extra_id: string;
|
|
22273
23021
|
id: string;
|
|
23022
|
+
original_unit_price: number | null;
|
|
23023
|
+
override_reason: string | null;
|
|
23024
|
+
override_unit_price: number | null;
|
|
22274
23025
|
quantity: number;
|
|
22275
23026
|
total_price: number;
|
|
22276
23027
|
unit_price: number;
|
|
@@ -22280,6 +23031,9 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22280
23031
|
created_at?: string;
|
|
22281
23032
|
extra_id: string;
|
|
22282
23033
|
id?: string;
|
|
23034
|
+
original_unit_price?: number | null;
|
|
23035
|
+
override_reason?: string | null;
|
|
23036
|
+
override_unit_price?: number | null;
|
|
22283
23037
|
quantity?: number;
|
|
22284
23038
|
total_price?: number;
|
|
22285
23039
|
unit_price?: number;
|
|
@@ -22289,6 +23043,9 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22289
23043
|
created_at?: string;
|
|
22290
23044
|
extra_id?: string;
|
|
22291
23045
|
id?: string;
|
|
23046
|
+
original_unit_price?: number | null;
|
|
23047
|
+
override_reason?: string | null;
|
|
23048
|
+
override_unit_price?: number | null;
|
|
22292
23049
|
quantity?: number;
|
|
22293
23050
|
total_price?: number;
|
|
22294
23051
|
unit_price?: number;
|
|
@@ -22309,11 +23066,15 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22309
23066
|
};
|
|
22310
23067
|
bookings: {
|
|
22311
23068
|
Row: {
|
|
23069
|
+
archive_reason: string | null;
|
|
23070
|
+
archived_at: string | null;
|
|
23071
|
+
archived_by: string | null;
|
|
22312
23072
|
company_name: string | null;
|
|
22313
23073
|
conflict_checked_at: string | null;
|
|
22314
23074
|
conflict_reason: string | null;
|
|
22315
23075
|
created_at: string;
|
|
22316
23076
|
created_by_role: string | null;
|
|
23077
|
+
customer_address: string | null;
|
|
22317
23078
|
customer_email: string | null;
|
|
22318
23079
|
customer_name: string | null;
|
|
22319
23080
|
end_time: string;
|
|
@@ -22325,7 +23086,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22325
23086
|
invoiced_at: string | null;
|
|
22326
23087
|
notes: string | null;
|
|
22327
23088
|
number_of_people: number;
|
|
23089
|
+
overridden_at: string | null;
|
|
23090
|
+
overridden_by: string | null;
|
|
23091
|
+
override_reason: string | null;
|
|
23092
|
+
price_override: boolean;
|
|
22328
23093
|
room_id: string;
|
|
23094
|
+
room_price_override: number | null;
|
|
22329
23095
|
start_time: string;
|
|
22330
23096
|
status: string;
|
|
22331
23097
|
total_excl_vat: number | null;
|
|
@@ -22334,11 +23100,15 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22334
23100
|
vat_amount: number | null;
|
|
22335
23101
|
};
|
|
22336
23102
|
Insert: {
|
|
23103
|
+
archive_reason?: string | null;
|
|
23104
|
+
archived_at?: string | null;
|
|
23105
|
+
archived_by?: string | null;
|
|
22337
23106
|
company_name?: string | null;
|
|
22338
23107
|
conflict_checked_at?: string | null;
|
|
22339
23108
|
conflict_reason?: string | null;
|
|
22340
23109
|
created_at?: string;
|
|
22341
23110
|
created_by_role?: string | null;
|
|
23111
|
+
customer_address?: string | null;
|
|
22342
23112
|
customer_email?: string | null;
|
|
22343
23113
|
customer_name?: string | null;
|
|
22344
23114
|
end_time: string;
|
|
@@ -22350,7 +23120,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22350
23120
|
invoiced_at?: string | null;
|
|
22351
23121
|
notes?: string | null;
|
|
22352
23122
|
number_of_people?: number;
|
|
23123
|
+
overridden_at?: string | null;
|
|
23124
|
+
overridden_by?: string | null;
|
|
23125
|
+
override_reason?: string | null;
|
|
23126
|
+
price_override?: boolean;
|
|
22353
23127
|
room_id: string;
|
|
23128
|
+
room_price_override?: number | null;
|
|
22354
23129
|
start_time: string;
|
|
22355
23130
|
status?: string;
|
|
22356
23131
|
total_excl_vat?: number | null;
|
|
@@ -22359,11 +23134,15 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22359
23134
|
vat_amount?: number | null;
|
|
22360
23135
|
};
|
|
22361
23136
|
Update: {
|
|
23137
|
+
archive_reason?: string | null;
|
|
23138
|
+
archived_at?: string | null;
|
|
23139
|
+
archived_by?: string | null;
|
|
22362
23140
|
company_name?: string | null;
|
|
22363
23141
|
conflict_checked_at?: string | null;
|
|
22364
23142
|
conflict_reason?: string | null;
|
|
22365
23143
|
created_at?: string;
|
|
22366
23144
|
created_by_role?: string | null;
|
|
23145
|
+
customer_address?: string | null;
|
|
22367
23146
|
customer_email?: string | null;
|
|
22368
23147
|
customer_name?: string | null;
|
|
22369
23148
|
end_time?: string;
|
|
@@ -22375,7 +23154,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
22375
23154
|
invoiced_at?: string | null;
|
|
22376
23155
|
notes?: string | null;
|
|
22377
23156
|
number_of_people?: number;
|
|
23157
|
+
overridden_at?: string | null;
|
|
23158
|
+
overridden_by?: string | null;
|
|
23159
|
+
override_reason?: string | null;
|
|
23160
|
+
price_override?: boolean;
|
|
22378
23161
|
room_id?: string;
|
|
23162
|
+
room_price_override?: number | null;
|
|
22379
23163
|
start_time?: string;
|
|
22380
23164
|
status?: string;
|
|
22381
23165
|
total_excl_vat?: number | null;
|
|
@@ -23204,8 +23988,27 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23204
23988
|
customers: {
|
|
23205
23989
|
Row: {
|
|
23206
23990
|
address: string | null;
|
|
23991
|
+
address_line1: string | null;
|
|
23992
|
+
address_line2: string | null;
|
|
23993
|
+
address_type: string | null;
|
|
23994
|
+
attention_to: string | null;
|
|
23995
|
+
bank_account_holder: string | null;
|
|
23996
|
+
bank_account_number: string | null;
|
|
23997
|
+
bank_address_line1: string | null;
|
|
23998
|
+
bank_address_line2: string | null;
|
|
23999
|
+
bank_bic: string | null;
|
|
24000
|
+
bank_city: string | null;
|
|
24001
|
+
bank_country: string | null;
|
|
24002
|
+
bank_house_number: string | null;
|
|
24003
|
+
bank_iban: string | null;
|
|
24004
|
+
bank_name: string | null;
|
|
24005
|
+
bank_national_code: string | null;
|
|
24006
|
+
bank_postal_code: string | null;
|
|
24007
|
+
bank_state: string | null;
|
|
24008
|
+
billing_email: string | null;
|
|
23207
24009
|
bio: string | null;
|
|
23208
24010
|
city: string | null;
|
|
24011
|
+
coc_number: string | null;
|
|
23209
24012
|
commercial_name: string | null;
|
|
23210
24013
|
company_name: string;
|
|
23211
24014
|
connection_status: string;
|
|
@@ -23214,21 +24017,28 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23214
24017
|
created_at: string;
|
|
23215
24018
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
23216
24019
|
customer_class: string | null;
|
|
24020
|
+
customer_number: string | null;
|
|
24021
|
+
discount_days: number | null;
|
|
24022
|
+
discount_percentage: number | null;
|
|
23217
24023
|
email: string | null;
|
|
23218
24024
|
external_id: string | null;
|
|
24025
|
+
fax: string | null;
|
|
23219
24026
|
floriday_connection_id: string | null;
|
|
23220
24027
|
floriday_organization_id: string | null;
|
|
23221
24028
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
23222
24029
|
gln: string | null;
|
|
23223
24030
|
house_number: string | null;
|
|
24031
|
+
icp_country_code: string | null;
|
|
23224
24032
|
id: string;
|
|
23225
24033
|
is_active: boolean;
|
|
24034
|
+
language: string | null;
|
|
23226
24035
|
last_synced_at: string | null;
|
|
23227
24036
|
logo_url: string | null;
|
|
23228
24037
|
markets: string[];
|
|
23229
24038
|
notes: string | null;
|
|
23230
24039
|
organization_type: string | null;
|
|
23231
24040
|
payment_methods: string[];
|
|
24041
|
+
payment_term_days: number | null;
|
|
23232
24042
|
phone: string | null;
|
|
23233
24043
|
postal_code: string | null;
|
|
23234
24044
|
product_groups: string[];
|
|
@@ -23239,13 +24049,33 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23239
24049
|
sync_status: string;
|
|
23240
24050
|
trade_forms: string[];
|
|
23241
24051
|
updated_at: string;
|
|
24052
|
+
vat_display: string | null;
|
|
23242
24053
|
vat_number: string | null;
|
|
23243
24054
|
website: string | null;
|
|
23244
24055
|
};
|
|
23245
24056
|
Insert: {
|
|
23246
24057
|
address?: string | null;
|
|
24058
|
+
address_line1?: string | null;
|
|
24059
|
+
address_line2?: string | null;
|
|
24060
|
+
address_type?: string | null;
|
|
24061
|
+
attention_to?: string | null;
|
|
24062
|
+
bank_account_holder?: string | null;
|
|
24063
|
+
bank_account_number?: string | null;
|
|
24064
|
+
bank_address_line1?: string | null;
|
|
24065
|
+
bank_address_line2?: string | null;
|
|
24066
|
+
bank_bic?: string | null;
|
|
24067
|
+
bank_city?: string | null;
|
|
24068
|
+
bank_country?: string | null;
|
|
24069
|
+
bank_house_number?: string | null;
|
|
24070
|
+
bank_iban?: string | null;
|
|
24071
|
+
bank_name?: string | null;
|
|
24072
|
+
bank_national_code?: string | null;
|
|
24073
|
+
bank_postal_code?: string | null;
|
|
24074
|
+
bank_state?: string | null;
|
|
24075
|
+
billing_email?: string | null;
|
|
23247
24076
|
bio?: string | null;
|
|
23248
24077
|
city?: string | null;
|
|
24078
|
+
coc_number?: string | null;
|
|
23249
24079
|
commercial_name?: string | null;
|
|
23250
24080
|
company_name: string;
|
|
23251
24081
|
connection_status?: string;
|
|
@@ -23254,21 +24084,28 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23254
24084
|
created_at?: string;
|
|
23255
24085
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
23256
24086
|
customer_class?: string | null;
|
|
24087
|
+
customer_number?: string | null;
|
|
24088
|
+
discount_days?: number | null;
|
|
24089
|
+
discount_percentage?: number | null;
|
|
23257
24090
|
email?: string | null;
|
|
23258
24091
|
external_id?: string | null;
|
|
24092
|
+
fax?: string | null;
|
|
23259
24093
|
floriday_connection_id?: string | null;
|
|
23260
24094
|
floriday_organization_id?: string | null;
|
|
23261
24095
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
23262
24096
|
gln?: string | null;
|
|
23263
24097
|
house_number?: string | null;
|
|
24098
|
+
icp_country_code?: string | null;
|
|
23264
24099
|
id?: string;
|
|
23265
24100
|
is_active?: boolean;
|
|
24101
|
+
language?: string | null;
|
|
23266
24102
|
last_synced_at?: string | null;
|
|
23267
24103
|
logo_url?: string | null;
|
|
23268
24104
|
markets?: string[];
|
|
23269
24105
|
notes?: string | null;
|
|
23270
24106
|
organization_type?: string | null;
|
|
23271
24107
|
payment_methods?: string[];
|
|
24108
|
+
payment_term_days?: number | null;
|
|
23272
24109
|
phone?: string | null;
|
|
23273
24110
|
postal_code?: string | null;
|
|
23274
24111
|
product_groups?: string[];
|
|
@@ -23279,13 +24116,33 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23279
24116
|
sync_status?: string;
|
|
23280
24117
|
trade_forms?: string[];
|
|
23281
24118
|
updated_at?: string;
|
|
24119
|
+
vat_display?: string | null;
|
|
23282
24120
|
vat_number?: string | null;
|
|
23283
24121
|
website?: string | null;
|
|
23284
24122
|
};
|
|
23285
24123
|
Update: {
|
|
23286
24124
|
address?: string | null;
|
|
24125
|
+
address_line1?: string | null;
|
|
24126
|
+
address_line2?: string | null;
|
|
24127
|
+
address_type?: string | null;
|
|
24128
|
+
attention_to?: string | null;
|
|
24129
|
+
bank_account_holder?: string | null;
|
|
24130
|
+
bank_account_number?: string | null;
|
|
24131
|
+
bank_address_line1?: string | null;
|
|
24132
|
+
bank_address_line2?: string | null;
|
|
24133
|
+
bank_bic?: string | null;
|
|
24134
|
+
bank_city?: string | null;
|
|
24135
|
+
bank_country?: string | null;
|
|
24136
|
+
bank_house_number?: string | null;
|
|
24137
|
+
bank_iban?: string | null;
|
|
24138
|
+
bank_name?: string | null;
|
|
24139
|
+
bank_national_code?: string | null;
|
|
24140
|
+
bank_postal_code?: string | null;
|
|
24141
|
+
bank_state?: string | null;
|
|
24142
|
+
billing_email?: string | null;
|
|
23287
24143
|
bio?: string | null;
|
|
23288
24144
|
city?: string | null;
|
|
24145
|
+
coc_number?: string | null;
|
|
23289
24146
|
commercial_name?: string | null;
|
|
23290
24147
|
company_name?: string;
|
|
23291
24148
|
connection_status?: string;
|
|
@@ -23294,21 +24151,28 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23294
24151
|
created_at?: string;
|
|
23295
24152
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
23296
24153
|
customer_class?: string | null;
|
|
24154
|
+
customer_number?: string | null;
|
|
24155
|
+
discount_days?: number | null;
|
|
24156
|
+
discount_percentage?: number | null;
|
|
23297
24157
|
email?: string | null;
|
|
23298
24158
|
external_id?: string | null;
|
|
24159
|
+
fax?: string | null;
|
|
23299
24160
|
floriday_connection_id?: string | null;
|
|
23300
24161
|
floriday_organization_id?: string | null;
|
|
23301
24162
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
23302
24163
|
gln?: string | null;
|
|
23303
24164
|
house_number?: string | null;
|
|
24165
|
+
icp_country_code?: string | null;
|
|
23304
24166
|
id?: string;
|
|
23305
24167
|
is_active?: boolean;
|
|
24168
|
+
language?: string | null;
|
|
23306
24169
|
last_synced_at?: string | null;
|
|
23307
24170
|
logo_url?: string | null;
|
|
23308
24171
|
markets?: string[];
|
|
23309
24172
|
notes?: string | null;
|
|
23310
24173
|
organization_type?: string | null;
|
|
23311
24174
|
payment_methods?: string[];
|
|
24175
|
+
payment_term_days?: number | null;
|
|
23312
24176
|
phone?: string | null;
|
|
23313
24177
|
postal_code?: string | null;
|
|
23314
24178
|
product_groups?: string[];
|
|
@@ -23319,6 +24183,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
23319
24183
|
sync_status?: string;
|
|
23320
24184
|
trade_forms?: string[];
|
|
23321
24185
|
updated_at?: string;
|
|
24186
|
+
vat_display?: string | null;
|
|
23322
24187
|
vat_number?: string | null;
|
|
23323
24188
|
website?: string | null;
|
|
23324
24189
|
};
|
|
@@ -25265,6 +26130,54 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
25265
26130
|
referencedColumns: ["id"];
|
|
25266
26131
|
}];
|
|
25267
26132
|
};
|
|
26133
|
+
floriday_auto_fulfillment_log: {
|
|
26134
|
+
Row: {
|
|
26135
|
+
attempts: number;
|
|
26136
|
+
connection_id: string;
|
|
26137
|
+
created_at: string;
|
|
26138
|
+
error: string | null;
|
|
26139
|
+
fulfillment_order_id: string | null;
|
|
26140
|
+
id: string;
|
|
26141
|
+
last_attempt_at: string | null;
|
|
26142
|
+
reason: string | null;
|
|
26143
|
+
sales_order_id: string;
|
|
26144
|
+
status: string;
|
|
26145
|
+
updated_at: string;
|
|
26146
|
+
};
|
|
26147
|
+
Insert: {
|
|
26148
|
+
attempts?: number;
|
|
26149
|
+
connection_id: string;
|
|
26150
|
+
created_at?: string;
|
|
26151
|
+
error?: string | null;
|
|
26152
|
+
fulfillment_order_id?: string | null;
|
|
26153
|
+
id?: string;
|
|
26154
|
+
last_attempt_at?: string | null;
|
|
26155
|
+
reason?: string | null;
|
|
26156
|
+
sales_order_id: string;
|
|
26157
|
+
status?: string;
|
|
26158
|
+
updated_at?: string;
|
|
26159
|
+
};
|
|
26160
|
+
Update: {
|
|
26161
|
+
attempts?: number;
|
|
26162
|
+
connection_id?: string;
|
|
26163
|
+
created_at?: string;
|
|
26164
|
+
error?: string | null;
|
|
26165
|
+
fulfillment_order_id?: string | null;
|
|
26166
|
+
id?: string;
|
|
26167
|
+
last_attempt_at?: string | null;
|
|
26168
|
+
reason?: string | null;
|
|
26169
|
+
sales_order_id?: string;
|
|
26170
|
+
status?: string;
|
|
26171
|
+
updated_at?: string;
|
|
26172
|
+
};
|
|
26173
|
+
Relationships: [{
|
|
26174
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
26175
|
+
columns: ["connection_id"];
|
|
26176
|
+
isOneToOne: false;
|
|
26177
|
+
referencedRelation: "floriday_connections";
|
|
26178
|
+
referencedColumns: ["id"];
|
|
26179
|
+
}];
|
|
26180
|
+
};
|
|
25268
26181
|
floriday_base_items_cache: {
|
|
25269
26182
|
Row: {
|
|
25270
26183
|
connection_id: string;
|
|
@@ -26369,6 +27282,24 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
26369
27282
|
referencedColumns: ["id"];
|
|
26370
27283
|
}];
|
|
26371
27284
|
};
|
|
27285
|
+
floriday_rate_limit_state: {
|
|
27286
|
+
Row: {
|
|
27287
|
+
bucket: string;
|
|
27288
|
+
last_refill_at: string;
|
|
27289
|
+
tokens: number;
|
|
27290
|
+
};
|
|
27291
|
+
Insert: {
|
|
27292
|
+
bucket: string;
|
|
27293
|
+
last_refill_at?: string;
|
|
27294
|
+
tokens: number;
|
|
27295
|
+
};
|
|
27296
|
+
Update: {
|
|
27297
|
+
bucket?: string;
|
|
27298
|
+
last_refill_at?: string;
|
|
27299
|
+
tokens?: number;
|
|
27300
|
+
};
|
|
27301
|
+
Relationships: [];
|
|
27302
|
+
};
|
|
26372
27303
|
floriday_resource_schemas: {
|
|
26373
27304
|
Row: {
|
|
26374
27305
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -28803,6 +29734,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
28803
29734
|
order_date: string;
|
|
28804
29735
|
order_number: string;
|
|
28805
29736
|
order_source: string;
|
|
29737
|
+
plan_locked_at: string | null;
|
|
29738
|
+
plan_locked_ref: string | null;
|
|
28806
29739
|
status: string;
|
|
28807
29740
|
total: string;
|
|
28808
29741
|
updated_at: string;
|
|
@@ -28819,6 +29752,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
28819
29752
|
order_date?: string;
|
|
28820
29753
|
order_number: string;
|
|
28821
29754
|
order_source?: string;
|
|
29755
|
+
plan_locked_at?: string | null;
|
|
29756
|
+
plan_locked_ref?: string | null;
|
|
28822
29757
|
status?: string;
|
|
28823
29758
|
total?: string;
|
|
28824
29759
|
updated_at?: string;
|
|
@@ -28835,6 +29770,8 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
28835
29770
|
order_date?: string;
|
|
28836
29771
|
order_number?: string;
|
|
28837
29772
|
order_source?: string;
|
|
29773
|
+
plan_locked_at?: string | null;
|
|
29774
|
+
plan_locked_ref?: string | null;
|
|
28838
29775
|
status?: string;
|
|
28839
29776
|
total?: string;
|
|
28840
29777
|
updated_at?: string;
|
|
@@ -29203,6 +30140,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
29203
30140
|
};
|
|
29204
30141
|
profiles: {
|
|
29205
30142
|
Row: {
|
|
30143
|
+
address: string | null;
|
|
29206
30144
|
created_at: string;
|
|
29207
30145
|
display_name: string | null;
|
|
29208
30146
|
email: string | null;
|
|
@@ -29213,6 +30151,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
29213
30151
|
updated_at: string;
|
|
29214
30152
|
};
|
|
29215
30153
|
Insert: {
|
|
30154
|
+
address?: string | null;
|
|
29216
30155
|
created_at?: string;
|
|
29217
30156
|
display_name?: string | null;
|
|
29218
30157
|
email?: string | null;
|
|
@@ -29223,6 +30162,7 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
29223
30162
|
updated_at?: string;
|
|
29224
30163
|
};
|
|
29225
30164
|
Update: {
|
|
30165
|
+
address?: string | null;
|
|
29226
30166
|
created_at?: string;
|
|
29227
30167
|
display_name?: string | null;
|
|
29228
30168
|
email?: string | null;
|
|
@@ -30470,6 +31410,114 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
30470
31410
|
};
|
|
30471
31411
|
Relationships: [];
|
|
30472
31412
|
};
|
|
31413
|
+
trade_item_supply_lines: {
|
|
31414
|
+
Row: {
|
|
31415
|
+
available_quantity: number | null;
|
|
31416
|
+
connection_id: string;
|
|
31417
|
+
created_at: string;
|
|
31418
|
+
currency: string | null;
|
|
31419
|
+
endpoint_family: string | null;
|
|
31420
|
+
environment: string | null;
|
|
31421
|
+
id: string;
|
|
31422
|
+
last_error: string | null;
|
|
31423
|
+
last_status: number | null;
|
|
31424
|
+
packing_configuration_id: string | null;
|
|
31425
|
+
period_end: string | null;
|
|
31426
|
+
period_start: string | null;
|
|
31427
|
+
price_per_piece: number | null;
|
|
31428
|
+
sales_unit: string | null;
|
|
31429
|
+
supply_line_id: string | null;
|
|
31430
|
+
supply_type: string;
|
|
31431
|
+
trade_item_id: string;
|
|
31432
|
+
updated_at: string;
|
|
31433
|
+
user_id: string;
|
|
31434
|
+
week: number | null;
|
|
31435
|
+
year: number | null;
|
|
31436
|
+
};
|
|
31437
|
+
Insert: {
|
|
31438
|
+
available_quantity?: number | null;
|
|
31439
|
+
connection_id: string;
|
|
31440
|
+
created_at?: string;
|
|
31441
|
+
currency?: string | null;
|
|
31442
|
+
endpoint_family?: string | null;
|
|
31443
|
+
environment?: string | null;
|
|
31444
|
+
id?: string;
|
|
31445
|
+
last_error?: string | null;
|
|
31446
|
+
last_status?: number | null;
|
|
31447
|
+
packing_configuration_id?: string | null;
|
|
31448
|
+
period_end?: string | null;
|
|
31449
|
+
period_start?: string | null;
|
|
31450
|
+
price_per_piece?: number | null;
|
|
31451
|
+
sales_unit?: string | null;
|
|
31452
|
+
supply_line_id?: string | null;
|
|
31453
|
+
supply_type?: string;
|
|
31454
|
+
trade_item_id: string;
|
|
31455
|
+
updated_at?: string;
|
|
31456
|
+
user_id: string;
|
|
31457
|
+
week?: number | null;
|
|
31458
|
+
year?: number | null;
|
|
31459
|
+
};
|
|
31460
|
+
Update: {
|
|
31461
|
+
available_quantity?: number | null;
|
|
31462
|
+
connection_id?: string;
|
|
31463
|
+
created_at?: string;
|
|
31464
|
+
currency?: string | null;
|
|
31465
|
+
endpoint_family?: string | null;
|
|
31466
|
+
environment?: string | null;
|
|
31467
|
+
id?: string;
|
|
31468
|
+
last_error?: string | null;
|
|
31469
|
+
last_status?: number | null;
|
|
31470
|
+
packing_configuration_id?: string | null;
|
|
31471
|
+
period_end?: string | null;
|
|
31472
|
+
period_start?: string | null;
|
|
31473
|
+
price_per_piece?: number | null;
|
|
31474
|
+
sales_unit?: string | null;
|
|
31475
|
+
supply_line_id?: string | null;
|
|
31476
|
+
supply_type?: string;
|
|
31477
|
+
trade_item_id?: string;
|
|
31478
|
+
updated_at?: string;
|
|
31479
|
+
user_id?: string;
|
|
31480
|
+
week?: number | null;
|
|
31481
|
+
year?: number | null;
|
|
31482
|
+
};
|
|
31483
|
+
Relationships: [];
|
|
31484
|
+
};
|
|
31485
|
+
trade_item_warehouse_preferences: {
|
|
31486
|
+
Row: {
|
|
31487
|
+
connection_id: string;
|
|
31488
|
+
created_at: string;
|
|
31489
|
+
id: string;
|
|
31490
|
+
trade_item_id: string;
|
|
31491
|
+
updated_at: string;
|
|
31492
|
+
warehouse_id: string;
|
|
31493
|
+
warehouse_name: string | null;
|
|
31494
|
+
};
|
|
31495
|
+
Insert: {
|
|
31496
|
+
connection_id: string;
|
|
31497
|
+
created_at?: string;
|
|
31498
|
+
id?: string;
|
|
31499
|
+
trade_item_id: string;
|
|
31500
|
+
updated_at?: string;
|
|
31501
|
+
warehouse_id: string;
|
|
31502
|
+
warehouse_name?: string | null;
|
|
31503
|
+
};
|
|
31504
|
+
Update: {
|
|
31505
|
+
connection_id?: string;
|
|
31506
|
+
created_at?: string;
|
|
31507
|
+
id?: string;
|
|
31508
|
+
trade_item_id?: string;
|
|
31509
|
+
updated_at?: string;
|
|
31510
|
+
warehouse_id?: string;
|
|
31511
|
+
warehouse_name?: string | null;
|
|
31512
|
+
};
|
|
31513
|
+
Relationships: [{
|
|
31514
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
31515
|
+
columns: ["connection_id"];
|
|
31516
|
+
isOneToOne: false;
|
|
31517
|
+
referencedRelation: "floriday_connections";
|
|
31518
|
+
referencedColumns: ["id"];
|
|
31519
|
+
}];
|
|
31520
|
+
};
|
|
30473
31521
|
twinfield_connections: {
|
|
30474
31522
|
Row: {
|
|
30475
31523
|
access_token: string | null;
|
|
@@ -32155,7 +33203,19 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
32155
33203
|
};
|
|
32156
33204
|
cleanup_old_bookings: {
|
|
32157
33205
|
Args: never;
|
|
32158
|
-
Returns:
|
|
33206
|
+
Returns: undefined;
|
|
33207
|
+
};
|
|
33208
|
+
consume_floriday_rate_limit: {
|
|
33209
|
+
Args: {
|
|
33210
|
+
p_bucket: string;
|
|
33211
|
+
p_capacity: number;
|
|
33212
|
+
p_cost?: number;
|
|
33213
|
+
p_refill_per_sec: number;
|
|
33214
|
+
};
|
|
33215
|
+
Returns: {
|
|
33216
|
+
granted: boolean;
|
|
33217
|
+
wait_ms: number;
|
|
33218
|
+
}[];
|
|
32159
33219
|
};
|
|
32160
33220
|
control_get_todays_carts: {
|
|
32161
33221
|
Args: never;
|
|
@@ -32237,6 +33297,12 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
32237
33297
|
status: string;
|
|
32238
33298
|
}[];
|
|
32239
33299
|
};
|
|
33300
|
+
enqueue_cart_replan_if_unlocked: {
|
|
33301
|
+
Args: {
|
|
33302
|
+
p_order_id: string;
|
|
33303
|
+
};
|
|
33304
|
+
Returns: undefined;
|
|
33305
|
+
};
|
|
32240
33306
|
ensure_trade_item_stock_row: {
|
|
32241
33307
|
Args: {
|
|
32242
33308
|
p_key: string;
|
|
@@ -32630,6 +33696,24 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
32630
33696
|
};
|
|
32631
33697
|
Returns: undefined;
|
|
32632
33698
|
};
|
|
33699
|
+
recompute_order_status: {
|
|
33700
|
+
Args: {
|
|
33701
|
+
p_order_id: string;
|
|
33702
|
+
};
|
|
33703
|
+
Returns: undefined;
|
|
33704
|
+
};
|
|
33705
|
+
recompute_reserved_for_order: {
|
|
33706
|
+
Args: {
|
|
33707
|
+
p_order_id: string;
|
|
33708
|
+
};
|
|
33709
|
+
Returns: undefined;
|
|
33710
|
+
};
|
|
33711
|
+
recompute_reserved_stock: {
|
|
33712
|
+
Args: {
|
|
33713
|
+
p_trade_item_key: string;
|
|
33714
|
+
};
|
|
33715
|
+
Returns: undefined;
|
|
33716
|
+
};
|
|
32633
33717
|
refresh_external_customers_grouped: {
|
|
32634
33718
|
Args: never;
|
|
32635
33719
|
Returns: undefined;
|
|
@@ -32944,6 +34028,24 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
32944
34028
|
};
|
|
32945
34029
|
Returns: string[];
|
|
32946
34030
|
};
|
|
34031
|
+
sync_cached_packing_from_product: {
|
|
34032
|
+
Args: {
|
|
34033
|
+
p_product_id: string;
|
|
34034
|
+
};
|
|
34035
|
+
Returns: undefined;
|
|
34036
|
+
};
|
|
34037
|
+
sync_order_cart_item_packing_from_product: {
|
|
34038
|
+
Args: {
|
|
34039
|
+
p_product_id: string;
|
|
34040
|
+
};
|
|
34041
|
+
Returns: undefined;
|
|
34042
|
+
};
|
|
34043
|
+
sync_product_packing_from_floriday_cache: {
|
|
34044
|
+
Args: {
|
|
34045
|
+
p_floriday_id: string;
|
|
34046
|
+
};
|
|
34047
|
+
Returns: undefined;
|
|
34048
|
+
};
|
|
32947
34049
|
twinfield_decrypt: {
|
|
32948
34050
|
Args: {
|
|
32949
34051
|
cipher: string;
|
|
@@ -32956,6 +34058,17 @@ export declare const upsertDeliveryLocation: import("@tanstack/start-client-core
|
|
|
32956
34058
|
};
|
|
32957
34059
|
Returns: string;
|
|
32958
34060
|
};
|
|
34061
|
+
upsert_auto_fulfillment_log: {
|
|
34062
|
+
Args: {
|
|
34063
|
+
p_connection_id: string;
|
|
34064
|
+
p_error?: string;
|
|
34065
|
+
p_fulfillment_order_id?: string;
|
|
34066
|
+
p_reason?: string;
|
|
34067
|
+
p_sales_order_id: string;
|
|
34068
|
+
p_status: string;
|
|
34069
|
+
};
|
|
34070
|
+
Returns: undefined;
|
|
34071
|
+
};
|
|
32959
34072
|
};
|
|
32960
34073
|
Enums: {
|
|
32961
34074
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -33011,6 +34124,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33011
34124
|
Tables: {
|
|
33012
34125
|
afhandeling_settings: {
|
|
33013
34126
|
Row: {
|
|
34127
|
+
auto_print_delivery_note: boolean;
|
|
34128
|
+
auto_process_paused: boolean;
|
|
33014
34129
|
created_at: string;
|
|
33015
34130
|
extra_pick_days_with_stickers: number;
|
|
33016
34131
|
id: string;
|
|
@@ -33026,6 +34141,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33026
34141
|
user_id: string;
|
|
33027
34142
|
};
|
|
33028
34143
|
Insert: {
|
|
34144
|
+
auto_print_delivery_note?: boolean;
|
|
34145
|
+
auto_process_paused?: boolean;
|
|
33029
34146
|
created_at?: string;
|
|
33030
34147
|
extra_pick_days_with_stickers?: number;
|
|
33031
34148
|
id?: string;
|
|
@@ -33041,6 +34158,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33041
34158
|
user_id: string;
|
|
33042
34159
|
};
|
|
33043
34160
|
Update: {
|
|
34161
|
+
auto_print_delivery_note?: boolean;
|
|
34162
|
+
auto_process_paused?: boolean;
|
|
33044
34163
|
created_at?: string;
|
|
33045
34164
|
extra_pick_days_with_stickers?: number;
|
|
33046
34165
|
id?: string;
|
|
@@ -33273,6 +34392,9 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33273
34392
|
created_at: string;
|
|
33274
34393
|
extra_id: string;
|
|
33275
34394
|
id: string;
|
|
34395
|
+
original_unit_price: number | null;
|
|
34396
|
+
override_reason: string | null;
|
|
34397
|
+
override_unit_price: number | null;
|
|
33276
34398
|
quantity: number;
|
|
33277
34399
|
total_price: number;
|
|
33278
34400
|
unit_price: number;
|
|
@@ -33282,6 +34404,9 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33282
34404
|
created_at?: string;
|
|
33283
34405
|
extra_id: string;
|
|
33284
34406
|
id?: string;
|
|
34407
|
+
original_unit_price?: number | null;
|
|
34408
|
+
override_reason?: string | null;
|
|
34409
|
+
override_unit_price?: number | null;
|
|
33285
34410
|
quantity?: number;
|
|
33286
34411
|
total_price?: number;
|
|
33287
34412
|
unit_price?: number;
|
|
@@ -33291,6 +34416,9 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33291
34416
|
created_at?: string;
|
|
33292
34417
|
extra_id?: string;
|
|
33293
34418
|
id?: string;
|
|
34419
|
+
original_unit_price?: number | null;
|
|
34420
|
+
override_reason?: string | null;
|
|
34421
|
+
override_unit_price?: number | null;
|
|
33294
34422
|
quantity?: number;
|
|
33295
34423
|
total_price?: number;
|
|
33296
34424
|
unit_price?: number;
|
|
@@ -33311,11 +34439,15 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33311
34439
|
};
|
|
33312
34440
|
bookings: {
|
|
33313
34441
|
Row: {
|
|
34442
|
+
archive_reason: string | null;
|
|
34443
|
+
archived_at: string | null;
|
|
34444
|
+
archived_by: string | null;
|
|
33314
34445
|
company_name: string | null;
|
|
33315
34446
|
conflict_checked_at: string | null;
|
|
33316
34447
|
conflict_reason: string | null;
|
|
33317
34448
|
created_at: string;
|
|
33318
34449
|
created_by_role: string | null;
|
|
34450
|
+
customer_address: string | null;
|
|
33319
34451
|
customer_email: string | null;
|
|
33320
34452
|
customer_name: string | null;
|
|
33321
34453
|
end_time: string;
|
|
@@ -33327,7 +34459,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33327
34459
|
invoiced_at: string | null;
|
|
33328
34460
|
notes: string | null;
|
|
33329
34461
|
number_of_people: number;
|
|
34462
|
+
overridden_at: string | null;
|
|
34463
|
+
overridden_by: string | null;
|
|
34464
|
+
override_reason: string | null;
|
|
34465
|
+
price_override: boolean;
|
|
33330
34466
|
room_id: string;
|
|
34467
|
+
room_price_override: number | null;
|
|
33331
34468
|
start_time: string;
|
|
33332
34469
|
status: string;
|
|
33333
34470
|
total_excl_vat: number | null;
|
|
@@ -33336,11 +34473,15 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33336
34473
|
vat_amount: number | null;
|
|
33337
34474
|
};
|
|
33338
34475
|
Insert: {
|
|
34476
|
+
archive_reason?: string | null;
|
|
34477
|
+
archived_at?: string | null;
|
|
34478
|
+
archived_by?: string | null;
|
|
33339
34479
|
company_name?: string | null;
|
|
33340
34480
|
conflict_checked_at?: string | null;
|
|
33341
34481
|
conflict_reason?: string | null;
|
|
33342
34482
|
created_at?: string;
|
|
33343
34483
|
created_by_role?: string | null;
|
|
34484
|
+
customer_address?: string | null;
|
|
33344
34485
|
customer_email?: string | null;
|
|
33345
34486
|
customer_name?: string | null;
|
|
33346
34487
|
end_time: string;
|
|
@@ -33352,7 +34493,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33352
34493
|
invoiced_at?: string | null;
|
|
33353
34494
|
notes?: string | null;
|
|
33354
34495
|
number_of_people?: number;
|
|
34496
|
+
overridden_at?: string | null;
|
|
34497
|
+
overridden_by?: string | null;
|
|
34498
|
+
override_reason?: string | null;
|
|
34499
|
+
price_override?: boolean;
|
|
33355
34500
|
room_id: string;
|
|
34501
|
+
room_price_override?: number | null;
|
|
33356
34502
|
start_time: string;
|
|
33357
34503
|
status?: string;
|
|
33358
34504
|
total_excl_vat?: number | null;
|
|
@@ -33361,11 +34507,15 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33361
34507
|
vat_amount?: number | null;
|
|
33362
34508
|
};
|
|
33363
34509
|
Update: {
|
|
34510
|
+
archive_reason?: string | null;
|
|
34511
|
+
archived_at?: string | null;
|
|
34512
|
+
archived_by?: string | null;
|
|
33364
34513
|
company_name?: string | null;
|
|
33365
34514
|
conflict_checked_at?: string | null;
|
|
33366
34515
|
conflict_reason?: string | null;
|
|
33367
34516
|
created_at?: string;
|
|
33368
34517
|
created_by_role?: string | null;
|
|
34518
|
+
customer_address?: string | null;
|
|
33369
34519
|
customer_email?: string | null;
|
|
33370
34520
|
customer_name?: string | null;
|
|
33371
34521
|
end_time?: string;
|
|
@@ -33377,7 +34527,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
33377
34527
|
invoiced_at?: string | null;
|
|
33378
34528
|
notes?: string | null;
|
|
33379
34529
|
number_of_people?: number;
|
|
34530
|
+
overridden_at?: string | null;
|
|
34531
|
+
overridden_by?: string | null;
|
|
34532
|
+
override_reason?: string | null;
|
|
34533
|
+
price_override?: boolean;
|
|
33380
34534
|
room_id?: string;
|
|
34535
|
+
room_price_override?: number | null;
|
|
33381
34536
|
start_time?: string;
|
|
33382
34537
|
status?: string;
|
|
33383
34538
|
total_excl_vat?: number | null;
|
|
@@ -34206,8 +35361,27 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34206
35361
|
customers: {
|
|
34207
35362
|
Row: {
|
|
34208
35363
|
address: string | null;
|
|
35364
|
+
address_line1: string | null;
|
|
35365
|
+
address_line2: string | null;
|
|
35366
|
+
address_type: string | null;
|
|
35367
|
+
attention_to: string | null;
|
|
35368
|
+
bank_account_holder: string | null;
|
|
35369
|
+
bank_account_number: string | null;
|
|
35370
|
+
bank_address_line1: string | null;
|
|
35371
|
+
bank_address_line2: string | null;
|
|
35372
|
+
bank_bic: string | null;
|
|
35373
|
+
bank_city: string | null;
|
|
35374
|
+
bank_country: string | null;
|
|
35375
|
+
bank_house_number: string | null;
|
|
35376
|
+
bank_iban: string | null;
|
|
35377
|
+
bank_name: string | null;
|
|
35378
|
+
bank_national_code: string | null;
|
|
35379
|
+
bank_postal_code: string | null;
|
|
35380
|
+
bank_state: string | null;
|
|
35381
|
+
billing_email: string | null;
|
|
34209
35382
|
bio: string | null;
|
|
34210
35383
|
city: string | null;
|
|
35384
|
+
coc_number: string | null;
|
|
34211
35385
|
commercial_name: string | null;
|
|
34212
35386
|
company_name: string;
|
|
34213
35387
|
connection_status: string;
|
|
@@ -34216,21 +35390,28 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34216
35390
|
created_at: string;
|
|
34217
35391
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
34218
35392
|
customer_class: string | null;
|
|
35393
|
+
customer_number: string | null;
|
|
35394
|
+
discount_days: number | null;
|
|
35395
|
+
discount_percentage: number | null;
|
|
34219
35396
|
email: string | null;
|
|
34220
35397
|
external_id: string | null;
|
|
35398
|
+
fax: string | null;
|
|
34221
35399
|
floriday_connection_id: string | null;
|
|
34222
35400
|
floriday_organization_id: string | null;
|
|
34223
35401
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
34224
35402
|
gln: string | null;
|
|
34225
35403
|
house_number: string | null;
|
|
35404
|
+
icp_country_code: string | null;
|
|
34226
35405
|
id: string;
|
|
34227
35406
|
is_active: boolean;
|
|
35407
|
+
language: string | null;
|
|
34228
35408
|
last_synced_at: string | null;
|
|
34229
35409
|
logo_url: string | null;
|
|
34230
35410
|
markets: string[];
|
|
34231
35411
|
notes: string | null;
|
|
34232
35412
|
organization_type: string | null;
|
|
34233
35413
|
payment_methods: string[];
|
|
35414
|
+
payment_term_days: number | null;
|
|
34234
35415
|
phone: string | null;
|
|
34235
35416
|
postal_code: string | null;
|
|
34236
35417
|
product_groups: string[];
|
|
@@ -34241,13 +35422,33 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34241
35422
|
sync_status: string;
|
|
34242
35423
|
trade_forms: string[];
|
|
34243
35424
|
updated_at: string;
|
|
35425
|
+
vat_display: string | null;
|
|
34244
35426
|
vat_number: string | null;
|
|
34245
35427
|
website: string | null;
|
|
34246
35428
|
};
|
|
34247
35429
|
Insert: {
|
|
34248
35430
|
address?: string | null;
|
|
35431
|
+
address_line1?: string | null;
|
|
35432
|
+
address_line2?: string | null;
|
|
35433
|
+
address_type?: string | null;
|
|
35434
|
+
attention_to?: string | null;
|
|
35435
|
+
bank_account_holder?: string | null;
|
|
35436
|
+
bank_account_number?: string | null;
|
|
35437
|
+
bank_address_line1?: string | null;
|
|
35438
|
+
bank_address_line2?: string | null;
|
|
35439
|
+
bank_bic?: string | null;
|
|
35440
|
+
bank_city?: string | null;
|
|
35441
|
+
bank_country?: string | null;
|
|
35442
|
+
bank_house_number?: string | null;
|
|
35443
|
+
bank_iban?: string | null;
|
|
35444
|
+
bank_name?: string | null;
|
|
35445
|
+
bank_national_code?: string | null;
|
|
35446
|
+
bank_postal_code?: string | null;
|
|
35447
|
+
bank_state?: string | null;
|
|
35448
|
+
billing_email?: string | null;
|
|
34249
35449
|
bio?: string | null;
|
|
34250
35450
|
city?: string | null;
|
|
35451
|
+
coc_number?: string | null;
|
|
34251
35452
|
commercial_name?: string | null;
|
|
34252
35453
|
company_name: string;
|
|
34253
35454
|
connection_status?: string;
|
|
@@ -34256,21 +35457,28 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34256
35457
|
created_at?: string;
|
|
34257
35458
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
34258
35459
|
customer_class?: string | null;
|
|
35460
|
+
customer_number?: string | null;
|
|
35461
|
+
discount_days?: number | null;
|
|
35462
|
+
discount_percentage?: number | null;
|
|
34259
35463
|
email?: string | null;
|
|
34260
35464
|
external_id?: string | null;
|
|
35465
|
+
fax?: string | null;
|
|
34261
35466
|
floriday_connection_id?: string | null;
|
|
34262
35467
|
floriday_organization_id?: string | null;
|
|
34263
35468
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
34264
35469
|
gln?: string | null;
|
|
34265
35470
|
house_number?: string | null;
|
|
35471
|
+
icp_country_code?: string | null;
|
|
34266
35472
|
id?: string;
|
|
34267
35473
|
is_active?: boolean;
|
|
35474
|
+
language?: string | null;
|
|
34268
35475
|
last_synced_at?: string | null;
|
|
34269
35476
|
logo_url?: string | null;
|
|
34270
35477
|
markets?: string[];
|
|
34271
35478
|
notes?: string | null;
|
|
34272
35479
|
organization_type?: string | null;
|
|
34273
35480
|
payment_methods?: string[];
|
|
35481
|
+
payment_term_days?: number | null;
|
|
34274
35482
|
phone?: string | null;
|
|
34275
35483
|
postal_code?: string | null;
|
|
34276
35484
|
product_groups?: string[];
|
|
@@ -34281,13 +35489,33 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34281
35489
|
sync_status?: string;
|
|
34282
35490
|
trade_forms?: string[];
|
|
34283
35491
|
updated_at?: string;
|
|
35492
|
+
vat_display?: string | null;
|
|
34284
35493
|
vat_number?: string | null;
|
|
34285
35494
|
website?: string | null;
|
|
34286
35495
|
};
|
|
34287
35496
|
Update: {
|
|
34288
35497
|
address?: string | null;
|
|
35498
|
+
address_line1?: string | null;
|
|
35499
|
+
address_line2?: string | null;
|
|
35500
|
+
address_type?: string | null;
|
|
35501
|
+
attention_to?: string | null;
|
|
35502
|
+
bank_account_holder?: string | null;
|
|
35503
|
+
bank_account_number?: string | null;
|
|
35504
|
+
bank_address_line1?: string | null;
|
|
35505
|
+
bank_address_line2?: string | null;
|
|
35506
|
+
bank_bic?: string | null;
|
|
35507
|
+
bank_city?: string | null;
|
|
35508
|
+
bank_country?: string | null;
|
|
35509
|
+
bank_house_number?: string | null;
|
|
35510
|
+
bank_iban?: string | null;
|
|
35511
|
+
bank_name?: string | null;
|
|
35512
|
+
bank_national_code?: string | null;
|
|
35513
|
+
bank_postal_code?: string | null;
|
|
35514
|
+
bank_state?: string | null;
|
|
35515
|
+
billing_email?: string | null;
|
|
34289
35516
|
bio?: string | null;
|
|
34290
35517
|
city?: string | null;
|
|
35518
|
+
coc_number?: string | null;
|
|
34291
35519
|
commercial_name?: string | null;
|
|
34292
35520
|
company_name?: string;
|
|
34293
35521
|
connection_status?: string;
|
|
@@ -34296,21 +35524,28 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34296
35524
|
created_at?: string;
|
|
34297
35525
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
34298
35526
|
customer_class?: string | null;
|
|
35527
|
+
customer_number?: string | null;
|
|
35528
|
+
discount_days?: number | null;
|
|
35529
|
+
discount_percentage?: number | null;
|
|
34299
35530
|
email?: string | null;
|
|
34300
35531
|
external_id?: string | null;
|
|
35532
|
+
fax?: string | null;
|
|
34301
35533
|
floriday_connection_id?: string | null;
|
|
34302
35534
|
floriday_organization_id?: string | null;
|
|
34303
35535
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
34304
35536
|
gln?: string | null;
|
|
34305
35537
|
house_number?: string | null;
|
|
35538
|
+
icp_country_code?: string | null;
|
|
34306
35539
|
id?: string;
|
|
34307
35540
|
is_active?: boolean;
|
|
35541
|
+
language?: string | null;
|
|
34308
35542
|
last_synced_at?: string | null;
|
|
34309
35543
|
logo_url?: string | null;
|
|
34310
35544
|
markets?: string[];
|
|
34311
35545
|
notes?: string | null;
|
|
34312
35546
|
organization_type?: string | null;
|
|
34313
35547
|
payment_methods?: string[];
|
|
35548
|
+
payment_term_days?: number | null;
|
|
34314
35549
|
phone?: string | null;
|
|
34315
35550
|
postal_code?: string | null;
|
|
34316
35551
|
product_groups?: string[];
|
|
@@ -34321,6 +35556,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
34321
35556
|
sync_status?: string;
|
|
34322
35557
|
trade_forms?: string[];
|
|
34323
35558
|
updated_at?: string;
|
|
35559
|
+
vat_display?: string | null;
|
|
34324
35560
|
vat_number?: string | null;
|
|
34325
35561
|
website?: string | null;
|
|
34326
35562
|
};
|
|
@@ -36267,6 +37503,54 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
36267
37503
|
referencedColumns: ["id"];
|
|
36268
37504
|
}];
|
|
36269
37505
|
};
|
|
37506
|
+
floriday_auto_fulfillment_log: {
|
|
37507
|
+
Row: {
|
|
37508
|
+
attempts: number;
|
|
37509
|
+
connection_id: string;
|
|
37510
|
+
created_at: string;
|
|
37511
|
+
error: string | null;
|
|
37512
|
+
fulfillment_order_id: string | null;
|
|
37513
|
+
id: string;
|
|
37514
|
+
last_attempt_at: string | null;
|
|
37515
|
+
reason: string | null;
|
|
37516
|
+
sales_order_id: string;
|
|
37517
|
+
status: string;
|
|
37518
|
+
updated_at: string;
|
|
37519
|
+
};
|
|
37520
|
+
Insert: {
|
|
37521
|
+
attempts?: number;
|
|
37522
|
+
connection_id: string;
|
|
37523
|
+
created_at?: string;
|
|
37524
|
+
error?: string | null;
|
|
37525
|
+
fulfillment_order_id?: string | null;
|
|
37526
|
+
id?: string;
|
|
37527
|
+
last_attempt_at?: string | null;
|
|
37528
|
+
reason?: string | null;
|
|
37529
|
+
sales_order_id: string;
|
|
37530
|
+
status?: string;
|
|
37531
|
+
updated_at?: string;
|
|
37532
|
+
};
|
|
37533
|
+
Update: {
|
|
37534
|
+
attempts?: number;
|
|
37535
|
+
connection_id?: string;
|
|
37536
|
+
created_at?: string;
|
|
37537
|
+
error?: string | null;
|
|
37538
|
+
fulfillment_order_id?: string | null;
|
|
37539
|
+
id?: string;
|
|
37540
|
+
last_attempt_at?: string | null;
|
|
37541
|
+
reason?: string | null;
|
|
37542
|
+
sales_order_id?: string;
|
|
37543
|
+
status?: string;
|
|
37544
|
+
updated_at?: string;
|
|
37545
|
+
};
|
|
37546
|
+
Relationships: [{
|
|
37547
|
+
foreignKeyName: "floriday_auto_fulfillment_log_connection_id_fkey";
|
|
37548
|
+
columns: ["connection_id"];
|
|
37549
|
+
isOneToOne: false;
|
|
37550
|
+
referencedRelation: "floriday_connections";
|
|
37551
|
+
referencedColumns: ["id"];
|
|
37552
|
+
}];
|
|
37553
|
+
};
|
|
36270
37554
|
floriday_base_items_cache: {
|
|
36271
37555
|
Row: {
|
|
36272
37556
|
connection_id: string;
|
|
@@ -37371,6 +38655,24 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
37371
38655
|
referencedColumns: ["id"];
|
|
37372
38656
|
}];
|
|
37373
38657
|
};
|
|
38658
|
+
floriday_rate_limit_state: {
|
|
38659
|
+
Row: {
|
|
38660
|
+
bucket: string;
|
|
38661
|
+
last_refill_at: string;
|
|
38662
|
+
tokens: number;
|
|
38663
|
+
};
|
|
38664
|
+
Insert: {
|
|
38665
|
+
bucket: string;
|
|
38666
|
+
last_refill_at?: string;
|
|
38667
|
+
tokens: number;
|
|
38668
|
+
};
|
|
38669
|
+
Update: {
|
|
38670
|
+
bucket?: string;
|
|
38671
|
+
last_refill_at?: string;
|
|
38672
|
+
tokens?: number;
|
|
38673
|
+
};
|
|
38674
|
+
Relationships: [];
|
|
38675
|
+
};
|
|
37374
38676
|
floriday_resource_schemas: {
|
|
37375
38677
|
Row: {
|
|
37376
38678
|
enums: import("../integrations/supabase/types").Json;
|
|
@@ -39805,6 +41107,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
39805
41107
|
order_date: string;
|
|
39806
41108
|
order_number: string;
|
|
39807
41109
|
order_source: string;
|
|
41110
|
+
plan_locked_at: string | null;
|
|
41111
|
+
plan_locked_ref: string | null;
|
|
39808
41112
|
status: string;
|
|
39809
41113
|
total: string;
|
|
39810
41114
|
updated_at: string;
|
|
@@ -39821,6 +41125,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
39821
41125
|
order_date?: string;
|
|
39822
41126
|
order_number: string;
|
|
39823
41127
|
order_source?: string;
|
|
41128
|
+
plan_locked_at?: string | null;
|
|
41129
|
+
plan_locked_ref?: string | null;
|
|
39824
41130
|
status?: string;
|
|
39825
41131
|
total?: string;
|
|
39826
41132
|
updated_at?: string;
|
|
@@ -39837,6 +41143,8 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
39837
41143
|
order_date?: string;
|
|
39838
41144
|
order_number?: string;
|
|
39839
41145
|
order_source?: string;
|
|
41146
|
+
plan_locked_at?: string | null;
|
|
41147
|
+
plan_locked_ref?: string | null;
|
|
39840
41148
|
status?: string;
|
|
39841
41149
|
total?: string;
|
|
39842
41150
|
updated_at?: string;
|
|
@@ -40205,6 +41513,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
40205
41513
|
};
|
|
40206
41514
|
profiles: {
|
|
40207
41515
|
Row: {
|
|
41516
|
+
address: string | null;
|
|
40208
41517
|
created_at: string;
|
|
40209
41518
|
display_name: string | null;
|
|
40210
41519
|
email: string | null;
|
|
@@ -40215,6 +41524,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
40215
41524
|
updated_at: string;
|
|
40216
41525
|
};
|
|
40217
41526
|
Insert: {
|
|
41527
|
+
address?: string | null;
|
|
40218
41528
|
created_at?: string;
|
|
40219
41529
|
display_name?: string | null;
|
|
40220
41530
|
email?: string | null;
|
|
@@ -40225,6 +41535,7 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
40225
41535
|
updated_at?: string;
|
|
40226
41536
|
};
|
|
40227
41537
|
Update: {
|
|
41538
|
+
address?: string | null;
|
|
40228
41539
|
created_at?: string;
|
|
40229
41540
|
display_name?: string | null;
|
|
40230
41541
|
email?: string | null;
|
|
@@ -41472,6 +42783,114 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
41472
42783
|
};
|
|
41473
42784
|
Relationships: [];
|
|
41474
42785
|
};
|
|
42786
|
+
trade_item_supply_lines: {
|
|
42787
|
+
Row: {
|
|
42788
|
+
available_quantity: number | null;
|
|
42789
|
+
connection_id: string;
|
|
42790
|
+
created_at: string;
|
|
42791
|
+
currency: string | null;
|
|
42792
|
+
endpoint_family: string | null;
|
|
42793
|
+
environment: string | null;
|
|
42794
|
+
id: string;
|
|
42795
|
+
last_error: string | null;
|
|
42796
|
+
last_status: number | null;
|
|
42797
|
+
packing_configuration_id: string | null;
|
|
42798
|
+
period_end: string | null;
|
|
42799
|
+
period_start: string | null;
|
|
42800
|
+
price_per_piece: number | null;
|
|
42801
|
+
sales_unit: string | null;
|
|
42802
|
+
supply_line_id: string | null;
|
|
42803
|
+
supply_type: string;
|
|
42804
|
+
trade_item_id: string;
|
|
42805
|
+
updated_at: string;
|
|
42806
|
+
user_id: string;
|
|
42807
|
+
week: number | null;
|
|
42808
|
+
year: number | null;
|
|
42809
|
+
};
|
|
42810
|
+
Insert: {
|
|
42811
|
+
available_quantity?: number | null;
|
|
42812
|
+
connection_id: string;
|
|
42813
|
+
created_at?: string;
|
|
42814
|
+
currency?: string | null;
|
|
42815
|
+
endpoint_family?: string | null;
|
|
42816
|
+
environment?: string | null;
|
|
42817
|
+
id?: string;
|
|
42818
|
+
last_error?: string | null;
|
|
42819
|
+
last_status?: number | null;
|
|
42820
|
+
packing_configuration_id?: string | null;
|
|
42821
|
+
period_end?: string | null;
|
|
42822
|
+
period_start?: string | null;
|
|
42823
|
+
price_per_piece?: number | null;
|
|
42824
|
+
sales_unit?: string | null;
|
|
42825
|
+
supply_line_id?: string | null;
|
|
42826
|
+
supply_type?: string;
|
|
42827
|
+
trade_item_id: string;
|
|
42828
|
+
updated_at?: string;
|
|
42829
|
+
user_id: string;
|
|
42830
|
+
week?: number | null;
|
|
42831
|
+
year?: number | null;
|
|
42832
|
+
};
|
|
42833
|
+
Update: {
|
|
42834
|
+
available_quantity?: number | null;
|
|
42835
|
+
connection_id?: string;
|
|
42836
|
+
created_at?: string;
|
|
42837
|
+
currency?: string | null;
|
|
42838
|
+
endpoint_family?: string | null;
|
|
42839
|
+
environment?: string | null;
|
|
42840
|
+
id?: string;
|
|
42841
|
+
last_error?: string | null;
|
|
42842
|
+
last_status?: number | null;
|
|
42843
|
+
packing_configuration_id?: string | null;
|
|
42844
|
+
period_end?: string | null;
|
|
42845
|
+
period_start?: string | null;
|
|
42846
|
+
price_per_piece?: number | null;
|
|
42847
|
+
sales_unit?: string | null;
|
|
42848
|
+
supply_line_id?: string | null;
|
|
42849
|
+
supply_type?: string;
|
|
42850
|
+
trade_item_id?: string;
|
|
42851
|
+
updated_at?: string;
|
|
42852
|
+
user_id?: string;
|
|
42853
|
+
week?: number | null;
|
|
42854
|
+
year?: number | null;
|
|
42855
|
+
};
|
|
42856
|
+
Relationships: [];
|
|
42857
|
+
};
|
|
42858
|
+
trade_item_warehouse_preferences: {
|
|
42859
|
+
Row: {
|
|
42860
|
+
connection_id: string;
|
|
42861
|
+
created_at: string;
|
|
42862
|
+
id: string;
|
|
42863
|
+
trade_item_id: string;
|
|
42864
|
+
updated_at: string;
|
|
42865
|
+
warehouse_id: string;
|
|
42866
|
+
warehouse_name: string | null;
|
|
42867
|
+
};
|
|
42868
|
+
Insert: {
|
|
42869
|
+
connection_id: string;
|
|
42870
|
+
created_at?: string;
|
|
42871
|
+
id?: string;
|
|
42872
|
+
trade_item_id: string;
|
|
42873
|
+
updated_at?: string;
|
|
42874
|
+
warehouse_id: string;
|
|
42875
|
+
warehouse_name?: string | null;
|
|
42876
|
+
};
|
|
42877
|
+
Update: {
|
|
42878
|
+
connection_id?: string;
|
|
42879
|
+
created_at?: string;
|
|
42880
|
+
id?: string;
|
|
42881
|
+
trade_item_id?: string;
|
|
42882
|
+
updated_at?: string;
|
|
42883
|
+
warehouse_id?: string;
|
|
42884
|
+
warehouse_name?: string | null;
|
|
42885
|
+
};
|
|
42886
|
+
Relationships: [{
|
|
42887
|
+
foreignKeyName: "trade_item_warehouse_preferences_connection_id_fkey";
|
|
42888
|
+
columns: ["connection_id"];
|
|
42889
|
+
isOneToOne: false;
|
|
42890
|
+
referencedRelation: "floriday_connections";
|
|
42891
|
+
referencedColumns: ["id"];
|
|
42892
|
+
}];
|
|
42893
|
+
};
|
|
41475
42894
|
twinfield_connections: {
|
|
41476
42895
|
Row: {
|
|
41477
42896
|
access_token: string | null;
|
|
@@ -43157,7 +44576,19 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
43157
44576
|
};
|
|
43158
44577
|
cleanup_old_bookings: {
|
|
43159
44578
|
Args: never;
|
|
43160
|
-
Returns:
|
|
44579
|
+
Returns: undefined;
|
|
44580
|
+
};
|
|
44581
|
+
consume_floriday_rate_limit: {
|
|
44582
|
+
Args: {
|
|
44583
|
+
p_bucket: string;
|
|
44584
|
+
p_capacity: number;
|
|
44585
|
+
p_cost?: number;
|
|
44586
|
+
p_refill_per_sec: number;
|
|
44587
|
+
};
|
|
44588
|
+
Returns: {
|
|
44589
|
+
granted: boolean;
|
|
44590
|
+
wait_ms: number;
|
|
44591
|
+
}[];
|
|
43161
44592
|
};
|
|
43162
44593
|
control_get_todays_carts: {
|
|
43163
44594
|
Args: never;
|
|
@@ -43239,6 +44670,12 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
43239
44670
|
status: string;
|
|
43240
44671
|
}[];
|
|
43241
44672
|
};
|
|
44673
|
+
enqueue_cart_replan_if_unlocked: {
|
|
44674
|
+
Args: {
|
|
44675
|
+
p_order_id: string;
|
|
44676
|
+
};
|
|
44677
|
+
Returns: undefined;
|
|
44678
|
+
};
|
|
43242
44679
|
ensure_trade_item_stock_row: {
|
|
43243
44680
|
Args: {
|
|
43244
44681
|
p_key: string;
|
|
@@ -43632,6 +45069,24 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
43632
45069
|
};
|
|
43633
45070
|
Returns: undefined;
|
|
43634
45071
|
};
|
|
45072
|
+
recompute_order_status: {
|
|
45073
|
+
Args: {
|
|
45074
|
+
p_order_id: string;
|
|
45075
|
+
};
|
|
45076
|
+
Returns: undefined;
|
|
45077
|
+
};
|
|
45078
|
+
recompute_reserved_for_order: {
|
|
45079
|
+
Args: {
|
|
45080
|
+
p_order_id: string;
|
|
45081
|
+
};
|
|
45082
|
+
Returns: undefined;
|
|
45083
|
+
};
|
|
45084
|
+
recompute_reserved_stock: {
|
|
45085
|
+
Args: {
|
|
45086
|
+
p_trade_item_key: string;
|
|
45087
|
+
};
|
|
45088
|
+
Returns: undefined;
|
|
45089
|
+
};
|
|
43635
45090
|
refresh_external_customers_grouped: {
|
|
43636
45091
|
Args: never;
|
|
43637
45092
|
Returns: undefined;
|
|
@@ -43946,6 +45401,24 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
43946
45401
|
};
|
|
43947
45402
|
Returns: string[];
|
|
43948
45403
|
};
|
|
45404
|
+
sync_cached_packing_from_product: {
|
|
45405
|
+
Args: {
|
|
45406
|
+
p_product_id: string;
|
|
45407
|
+
};
|
|
45408
|
+
Returns: undefined;
|
|
45409
|
+
};
|
|
45410
|
+
sync_order_cart_item_packing_from_product: {
|
|
45411
|
+
Args: {
|
|
45412
|
+
p_product_id: string;
|
|
45413
|
+
};
|
|
45414
|
+
Returns: undefined;
|
|
45415
|
+
};
|
|
45416
|
+
sync_product_packing_from_floriday_cache: {
|
|
45417
|
+
Args: {
|
|
45418
|
+
p_floriday_id: string;
|
|
45419
|
+
};
|
|
45420
|
+
Returns: undefined;
|
|
45421
|
+
};
|
|
43949
45422
|
twinfield_decrypt: {
|
|
43950
45423
|
Args: {
|
|
43951
45424
|
cipher: string;
|
|
@@ -43958,6 +45431,17 @@ export declare const deleteDeliveryLocation: import("@tanstack/start-client-core
|
|
|
43958
45431
|
};
|
|
43959
45432
|
Returns: string;
|
|
43960
45433
|
};
|
|
45434
|
+
upsert_auto_fulfillment_log: {
|
|
45435
|
+
Args: {
|
|
45436
|
+
p_connection_id: string;
|
|
45437
|
+
p_error?: string;
|
|
45438
|
+
p_fulfillment_order_id?: string;
|
|
45439
|
+
p_reason?: string;
|
|
45440
|
+
p_sales_order_id: string;
|
|
45441
|
+
p_status: string;
|
|
45442
|
+
};
|
|
45443
|
+
Returns: undefined;
|
|
45444
|
+
};
|
|
43961
45445
|
};
|
|
43962
45446
|
Enums: {
|
|
43963
45447
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|