@flowselections/floriday-verkoop-module 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +132 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +132 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +132 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +4 -4
- package/dist-lib/integrations/supabase/types.d.ts +132 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/cart-lock.functions.d.ts +132 -1
- package/dist-lib/lib/cart-lock.functions.d.ts.map +1 -1
- package/dist-lib/lib/cart-replan.functions.d.ts +264 -2
- package/dist-lib/lib/cart-replan.functions.d.ts.map +1 -1
- package/dist-lib/lib/create-order.functions.d.ts +1188 -9
- package/dist-lib/lib/create-order.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts +396 -3
- package/dist-lib/lib/floriday-auto-fulfillment.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts +132 -1
- package/dist-lib/lib/floriday-logistic-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +924 -7
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +660 -5
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/salesorders.functions.d.ts +396 -3
- package/dist-lib/lib/salesorders.functions.d.ts.map +1 -1
- package/dist-lib/lib/tradeitems.functions.d.ts +132 -1
- package/dist-lib/lib/tradeitems.functions.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -280,6 +280,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
280
280
|
created_at: string;
|
|
281
281
|
extra_id: string;
|
|
282
282
|
id: string;
|
|
283
|
+
original_unit_price: number | null;
|
|
284
|
+
override_reason: string | null;
|
|
285
|
+
override_unit_price: number | null;
|
|
283
286
|
quantity: number;
|
|
284
287
|
total_price: number;
|
|
285
288
|
unit_price: number;
|
|
@@ -289,6 +292,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
289
292
|
created_at?: string;
|
|
290
293
|
extra_id: string;
|
|
291
294
|
id?: string;
|
|
295
|
+
original_unit_price?: number | null;
|
|
296
|
+
override_reason?: string | null;
|
|
297
|
+
override_unit_price?: number | null;
|
|
292
298
|
quantity?: number;
|
|
293
299
|
total_price?: number;
|
|
294
300
|
unit_price?: number;
|
|
@@ -298,6 +304,9 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
298
304
|
created_at?: string;
|
|
299
305
|
extra_id?: string;
|
|
300
306
|
id?: string;
|
|
307
|
+
original_unit_price?: number | null;
|
|
308
|
+
override_reason?: string | null;
|
|
309
|
+
override_unit_price?: number | null;
|
|
301
310
|
quantity?: number;
|
|
302
311
|
total_price?: number;
|
|
303
312
|
unit_price?: number;
|
|
@@ -318,11 +327,15 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
318
327
|
};
|
|
319
328
|
bookings: {
|
|
320
329
|
Row: {
|
|
330
|
+
archive_reason: string | null;
|
|
331
|
+
archived_at: string | null;
|
|
332
|
+
archived_by: string | null;
|
|
321
333
|
company_name: string | null;
|
|
322
334
|
conflict_checked_at: string | null;
|
|
323
335
|
conflict_reason: string | null;
|
|
324
336
|
created_at: string;
|
|
325
337
|
created_by_role: string | null;
|
|
338
|
+
customer_address: string | null;
|
|
326
339
|
customer_email: string | null;
|
|
327
340
|
customer_name: string | null;
|
|
328
341
|
end_time: string;
|
|
@@ -334,7 +347,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
334
347
|
invoiced_at: string | null;
|
|
335
348
|
notes: string | null;
|
|
336
349
|
number_of_people: number;
|
|
350
|
+
overridden_at: string | null;
|
|
351
|
+
overridden_by: string | null;
|
|
352
|
+
override_reason: string | null;
|
|
353
|
+
price_override: boolean;
|
|
337
354
|
room_id: string;
|
|
355
|
+
room_price_override: number | null;
|
|
338
356
|
start_time: string;
|
|
339
357
|
status: string;
|
|
340
358
|
total_excl_vat: number | null;
|
|
@@ -343,11 +361,15 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
343
361
|
vat_amount: number | null;
|
|
344
362
|
};
|
|
345
363
|
Insert: {
|
|
364
|
+
archive_reason?: string | null;
|
|
365
|
+
archived_at?: string | null;
|
|
366
|
+
archived_by?: string | null;
|
|
346
367
|
company_name?: string | null;
|
|
347
368
|
conflict_checked_at?: string | null;
|
|
348
369
|
conflict_reason?: string | null;
|
|
349
370
|
created_at?: string;
|
|
350
371
|
created_by_role?: string | null;
|
|
372
|
+
customer_address?: string | null;
|
|
351
373
|
customer_email?: string | null;
|
|
352
374
|
customer_name?: string | null;
|
|
353
375
|
end_time: string;
|
|
@@ -359,7 +381,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
359
381
|
invoiced_at?: string | null;
|
|
360
382
|
notes?: string | null;
|
|
361
383
|
number_of_people?: number;
|
|
384
|
+
overridden_at?: string | null;
|
|
385
|
+
overridden_by?: string | null;
|
|
386
|
+
override_reason?: string | null;
|
|
387
|
+
price_override?: boolean;
|
|
362
388
|
room_id: string;
|
|
389
|
+
room_price_override?: number | null;
|
|
363
390
|
start_time: string;
|
|
364
391
|
status?: string;
|
|
365
392
|
total_excl_vat?: number | null;
|
|
@@ -368,11 +395,15 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
368
395
|
vat_amount?: number | null;
|
|
369
396
|
};
|
|
370
397
|
Update: {
|
|
398
|
+
archive_reason?: string | null;
|
|
399
|
+
archived_at?: string | null;
|
|
400
|
+
archived_by?: string | null;
|
|
371
401
|
company_name?: string | null;
|
|
372
402
|
conflict_checked_at?: string | null;
|
|
373
403
|
conflict_reason?: string | null;
|
|
374
404
|
created_at?: string;
|
|
375
405
|
created_by_role?: string | null;
|
|
406
|
+
customer_address?: string | null;
|
|
376
407
|
customer_email?: string | null;
|
|
377
408
|
customer_name?: string | null;
|
|
378
409
|
end_time?: string;
|
|
@@ -384,7 +415,12 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
384
415
|
invoiced_at?: string | null;
|
|
385
416
|
notes?: string | null;
|
|
386
417
|
number_of_people?: number;
|
|
418
|
+
overridden_at?: string | null;
|
|
419
|
+
overridden_by?: string | null;
|
|
420
|
+
override_reason?: string | null;
|
|
421
|
+
price_override?: boolean;
|
|
387
422
|
room_id?: string;
|
|
423
|
+
room_price_override?: number | null;
|
|
388
424
|
start_time?: string;
|
|
389
425
|
status?: string;
|
|
390
426
|
total_excl_vat?: number | null;
|
|
@@ -1213,8 +1249,27 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1213
1249
|
customers: {
|
|
1214
1250
|
Row: {
|
|
1215
1251
|
address: string | null;
|
|
1252
|
+
address_line1: string | null;
|
|
1253
|
+
address_line2: string | null;
|
|
1254
|
+
address_type: string | null;
|
|
1255
|
+
attention_to: string | null;
|
|
1256
|
+
bank_account_holder: string | null;
|
|
1257
|
+
bank_account_number: string | null;
|
|
1258
|
+
bank_address_line1: string | null;
|
|
1259
|
+
bank_address_line2: string | null;
|
|
1260
|
+
bank_bic: string | null;
|
|
1261
|
+
bank_city: string | null;
|
|
1262
|
+
bank_country: string | null;
|
|
1263
|
+
bank_house_number: string | null;
|
|
1264
|
+
bank_iban: string | null;
|
|
1265
|
+
bank_name: string | null;
|
|
1266
|
+
bank_national_code: string | null;
|
|
1267
|
+
bank_postal_code: string | null;
|
|
1268
|
+
bank_state: string | null;
|
|
1269
|
+
billing_email: string | null;
|
|
1216
1270
|
bio: string | null;
|
|
1217
1271
|
city: string | null;
|
|
1272
|
+
coc_number: string | null;
|
|
1218
1273
|
commercial_name: string | null;
|
|
1219
1274
|
company_name: string;
|
|
1220
1275
|
connection_status: string;
|
|
@@ -1223,21 +1278,28 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1223
1278
|
created_at: string;
|
|
1224
1279
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
1225
1280
|
customer_class: string | null;
|
|
1281
|
+
customer_number: string | null;
|
|
1282
|
+
discount_days: number | null;
|
|
1283
|
+
discount_percentage: number | null;
|
|
1226
1284
|
email: string | null;
|
|
1227
1285
|
external_id: string | null;
|
|
1286
|
+
fax: string | null;
|
|
1228
1287
|
floriday_connection_id: string | null;
|
|
1229
1288
|
floriday_organization_id: string | null;
|
|
1230
1289
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
1231
1290
|
gln: string | null;
|
|
1232
1291
|
house_number: string | null;
|
|
1292
|
+
icp_country_code: string | null;
|
|
1233
1293
|
id: string;
|
|
1234
1294
|
is_active: boolean;
|
|
1295
|
+
language: string | null;
|
|
1235
1296
|
last_synced_at: string | null;
|
|
1236
1297
|
logo_url: string | null;
|
|
1237
1298
|
markets: string[];
|
|
1238
1299
|
notes: string | null;
|
|
1239
1300
|
organization_type: string | null;
|
|
1240
1301
|
payment_methods: string[];
|
|
1302
|
+
payment_term_days: number | null;
|
|
1241
1303
|
phone: string | null;
|
|
1242
1304
|
postal_code: string | null;
|
|
1243
1305
|
product_groups: string[];
|
|
@@ -1248,13 +1310,33 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1248
1310
|
sync_status: string;
|
|
1249
1311
|
trade_forms: string[];
|
|
1250
1312
|
updated_at: string;
|
|
1313
|
+
vat_display: string | null;
|
|
1251
1314
|
vat_number: string | null;
|
|
1252
1315
|
website: string | null;
|
|
1253
1316
|
};
|
|
1254
1317
|
Insert: {
|
|
1255
1318
|
address?: string | null;
|
|
1319
|
+
address_line1?: string | null;
|
|
1320
|
+
address_line2?: string | null;
|
|
1321
|
+
address_type?: string | null;
|
|
1322
|
+
attention_to?: string | null;
|
|
1323
|
+
bank_account_holder?: string | null;
|
|
1324
|
+
bank_account_number?: string | null;
|
|
1325
|
+
bank_address_line1?: string | null;
|
|
1326
|
+
bank_address_line2?: string | null;
|
|
1327
|
+
bank_bic?: string | null;
|
|
1328
|
+
bank_city?: string | null;
|
|
1329
|
+
bank_country?: string | null;
|
|
1330
|
+
bank_house_number?: string | null;
|
|
1331
|
+
bank_iban?: string | null;
|
|
1332
|
+
bank_name?: string | null;
|
|
1333
|
+
bank_national_code?: string | null;
|
|
1334
|
+
bank_postal_code?: string | null;
|
|
1335
|
+
bank_state?: string | null;
|
|
1336
|
+
billing_email?: string | null;
|
|
1256
1337
|
bio?: string | null;
|
|
1257
1338
|
city?: string | null;
|
|
1339
|
+
coc_number?: string | null;
|
|
1258
1340
|
commercial_name?: string | null;
|
|
1259
1341
|
company_name: string;
|
|
1260
1342
|
connection_status?: string;
|
|
@@ -1263,21 +1345,28 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1263
1345
|
created_at?: string;
|
|
1264
1346
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1265
1347
|
customer_class?: string | null;
|
|
1348
|
+
customer_number?: string | null;
|
|
1349
|
+
discount_days?: number | null;
|
|
1350
|
+
discount_percentage?: number | null;
|
|
1266
1351
|
email?: string | null;
|
|
1267
1352
|
external_id?: string | null;
|
|
1353
|
+
fax?: string | null;
|
|
1268
1354
|
floriday_connection_id?: string | null;
|
|
1269
1355
|
floriday_organization_id?: string | null;
|
|
1270
1356
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1271
1357
|
gln?: string | null;
|
|
1272
1358
|
house_number?: string | null;
|
|
1359
|
+
icp_country_code?: string | null;
|
|
1273
1360
|
id?: string;
|
|
1274
1361
|
is_active?: boolean;
|
|
1362
|
+
language?: string | null;
|
|
1275
1363
|
last_synced_at?: string | null;
|
|
1276
1364
|
logo_url?: string | null;
|
|
1277
1365
|
markets?: string[];
|
|
1278
1366
|
notes?: string | null;
|
|
1279
1367
|
organization_type?: string | null;
|
|
1280
1368
|
payment_methods?: string[];
|
|
1369
|
+
payment_term_days?: number | null;
|
|
1281
1370
|
phone?: string | null;
|
|
1282
1371
|
postal_code?: string | null;
|
|
1283
1372
|
product_groups?: string[];
|
|
@@ -1288,13 +1377,33 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1288
1377
|
sync_status?: string;
|
|
1289
1378
|
trade_forms?: string[];
|
|
1290
1379
|
updated_at?: string;
|
|
1380
|
+
vat_display?: string | null;
|
|
1291
1381
|
vat_number?: string | null;
|
|
1292
1382
|
website?: string | null;
|
|
1293
1383
|
};
|
|
1294
1384
|
Update: {
|
|
1295
1385
|
address?: string | null;
|
|
1386
|
+
address_line1?: string | null;
|
|
1387
|
+
address_line2?: string | null;
|
|
1388
|
+
address_type?: string | null;
|
|
1389
|
+
attention_to?: string | null;
|
|
1390
|
+
bank_account_holder?: string | null;
|
|
1391
|
+
bank_account_number?: string | null;
|
|
1392
|
+
bank_address_line1?: string | null;
|
|
1393
|
+
bank_address_line2?: string | null;
|
|
1394
|
+
bank_bic?: string | null;
|
|
1395
|
+
bank_city?: string | null;
|
|
1396
|
+
bank_country?: string | null;
|
|
1397
|
+
bank_house_number?: string | null;
|
|
1398
|
+
bank_iban?: string | null;
|
|
1399
|
+
bank_name?: string | null;
|
|
1400
|
+
bank_national_code?: string | null;
|
|
1401
|
+
bank_postal_code?: string | null;
|
|
1402
|
+
bank_state?: string | null;
|
|
1403
|
+
billing_email?: string | null;
|
|
1296
1404
|
bio?: string | null;
|
|
1297
1405
|
city?: string | null;
|
|
1406
|
+
coc_number?: string | null;
|
|
1298
1407
|
commercial_name?: string | null;
|
|
1299
1408
|
company_name?: string;
|
|
1300
1409
|
connection_status?: string;
|
|
@@ -1303,21 +1412,28 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1303
1412
|
created_at?: string;
|
|
1304
1413
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1305
1414
|
customer_class?: string | null;
|
|
1415
|
+
customer_number?: string | null;
|
|
1416
|
+
discount_days?: number | null;
|
|
1417
|
+
discount_percentage?: number | null;
|
|
1306
1418
|
email?: string | null;
|
|
1307
1419
|
external_id?: string | null;
|
|
1420
|
+
fax?: string | null;
|
|
1308
1421
|
floriday_connection_id?: string | null;
|
|
1309
1422
|
floriday_organization_id?: string | null;
|
|
1310
1423
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1311
1424
|
gln?: string | null;
|
|
1312
1425
|
house_number?: string | null;
|
|
1426
|
+
icp_country_code?: string | null;
|
|
1313
1427
|
id?: string;
|
|
1314
1428
|
is_active?: boolean;
|
|
1429
|
+
language?: string | null;
|
|
1315
1430
|
last_synced_at?: string | null;
|
|
1316
1431
|
logo_url?: string | null;
|
|
1317
1432
|
markets?: string[];
|
|
1318
1433
|
notes?: string | null;
|
|
1319
1434
|
organization_type?: string | null;
|
|
1320
1435
|
payment_methods?: string[];
|
|
1436
|
+
payment_term_days?: number | null;
|
|
1321
1437
|
phone?: string | null;
|
|
1322
1438
|
postal_code?: string | null;
|
|
1323
1439
|
product_groups?: string[];
|
|
@@ -1328,6 +1444,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
1328
1444
|
sync_status?: string;
|
|
1329
1445
|
trade_forms?: string[];
|
|
1330
1446
|
updated_at?: string;
|
|
1447
|
+
vat_display?: string | null;
|
|
1331
1448
|
vat_number?: string | null;
|
|
1332
1449
|
website?: string | null;
|
|
1333
1450
|
};
|
|
@@ -7284,6 +7401,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
7284
7401
|
};
|
|
7285
7402
|
profiles: {
|
|
7286
7403
|
Row: {
|
|
7404
|
+
address: string | null;
|
|
7287
7405
|
created_at: string;
|
|
7288
7406
|
display_name: string | null;
|
|
7289
7407
|
email: string | null;
|
|
@@ -7294,6 +7412,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
7294
7412
|
updated_at: string;
|
|
7295
7413
|
};
|
|
7296
7414
|
Insert: {
|
|
7415
|
+
address?: string | null;
|
|
7297
7416
|
created_at?: string;
|
|
7298
7417
|
display_name?: string | null;
|
|
7299
7418
|
email?: string | null;
|
|
@@ -7304,6 +7423,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
7304
7423
|
updated_at?: string;
|
|
7305
7424
|
};
|
|
7306
7425
|
Update: {
|
|
7426
|
+
address?: string | null;
|
|
7307
7427
|
created_at?: string;
|
|
7308
7428
|
display_name?: string | null;
|
|
7309
7429
|
email?: string | null;
|
|
@@ -10344,7 +10464,7 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
10344
10464
|
};
|
|
10345
10465
|
cleanup_old_bookings: {
|
|
10346
10466
|
Args: never;
|
|
10347
|
-
Returns:
|
|
10467
|
+
Returns: undefined;
|
|
10348
10468
|
};
|
|
10349
10469
|
consume_floriday_rate_limit: {
|
|
10350
10470
|
Args: {
|
|
@@ -11199,6 +11319,17 @@ export declare const replanOrderCarts: import("@tanstack/start-client-core").Opt
|
|
|
11199
11319
|
};
|
|
11200
11320
|
Returns: string;
|
|
11201
11321
|
};
|
|
11322
|
+
upsert_auto_fulfillment_log: {
|
|
11323
|
+
Args: {
|
|
11324
|
+
p_connection_id: string;
|
|
11325
|
+
p_error?: string;
|
|
11326
|
+
p_fulfillment_order_id?: string;
|
|
11327
|
+
p_reason?: string;
|
|
11328
|
+
p_sales_order_id: string;
|
|
11329
|
+
p_status: string;
|
|
11330
|
+
};
|
|
11331
|
+
Returns: undefined;
|
|
11332
|
+
};
|
|
11202
11333
|
};
|
|
11203
11334
|
Enums: {
|
|
11204
11335
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -11506,6 +11637,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11506
11637
|
created_at: string;
|
|
11507
11638
|
extra_id: string;
|
|
11508
11639
|
id: string;
|
|
11640
|
+
original_unit_price: number | null;
|
|
11641
|
+
override_reason: string | null;
|
|
11642
|
+
override_unit_price: number | null;
|
|
11509
11643
|
quantity: number;
|
|
11510
11644
|
total_price: number;
|
|
11511
11645
|
unit_price: number;
|
|
@@ -11515,6 +11649,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11515
11649
|
created_at?: string;
|
|
11516
11650
|
extra_id: string;
|
|
11517
11651
|
id?: string;
|
|
11652
|
+
original_unit_price?: number | null;
|
|
11653
|
+
override_reason?: string | null;
|
|
11654
|
+
override_unit_price?: number | null;
|
|
11518
11655
|
quantity?: number;
|
|
11519
11656
|
total_price?: number;
|
|
11520
11657
|
unit_price?: number;
|
|
@@ -11524,6 +11661,9 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11524
11661
|
created_at?: string;
|
|
11525
11662
|
extra_id?: string;
|
|
11526
11663
|
id?: string;
|
|
11664
|
+
original_unit_price?: number | null;
|
|
11665
|
+
override_reason?: string | null;
|
|
11666
|
+
override_unit_price?: number | null;
|
|
11527
11667
|
quantity?: number;
|
|
11528
11668
|
total_price?: number;
|
|
11529
11669
|
unit_price?: number;
|
|
@@ -11544,11 +11684,15 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11544
11684
|
};
|
|
11545
11685
|
bookings: {
|
|
11546
11686
|
Row: {
|
|
11687
|
+
archive_reason: string | null;
|
|
11688
|
+
archived_at: string | null;
|
|
11689
|
+
archived_by: string | null;
|
|
11547
11690
|
company_name: string | null;
|
|
11548
11691
|
conflict_checked_at: string | null;
|
|
11549
11692
|
conflict_reason: string | null;
|
|
11550
11693
|
created_at: string;
|
|
11551
11694
|
created_by_role: string | null;
|
|
11695
|
+
customer_address: string | null;
|
|
11552
11696
|
customer_email: string | null;
|
|
11553
11697
|
customer_name: string | null;
|
|
11554
11698
|
end_time: string;
|
|
@@ -11560,7 +11704,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11560
11704
|
invoiced_at: string | null;
|
|
11561
11705
|
notes: string | null;
|
|
11562
11706
|
number_of_people: number;
|
|
11707
|
+
overridden_at: string | null;
|
|
11708
|
+
overridden_by: string | null;
|
|
11709
|
+
override_reason: string | null;
|
|
11710
|
+
price_override: boolean;
|
|
11563
11711
|
room_id: string;
|
|
11712
|
+
room_price_override: number | null;
|
|
11564
11713
|
start_time: string;
|
|
11565
11714
|
status: string;
|
|
11566
11715
|
total_excl_vat: number | null;
|
|
@@ -11569,11 +11718,15 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11569
11718
|
vat_amount: number | null;
|
|
11570
11719
|
};
|
|
11571
11720
|
Insert: {
|
|
11721
|
+
archive_reason?: string | null;
|
|
11722
|
+
archived_at?: string | null;
|
|
11723
|
+
archived_by?: string | null;
|
|
11572
11724
|
company_name?: string | null;
|
|
11573
11725
|
conflict_checked_at?: string | null;
|
|
11574
11726
|
conflict_reason?: string | null;
|
|
11575
11727
|
created_at?: string;
|
|
11576
11728
|
created_by_role?: string | null;
|
|
11729
|
+
customer_address?: string | null;
|
|
11577
11730
|
customer_email?: string | null;
|
|
11578
11731
|
customer_name?: string | null;
|
|
11579
11732
|
end_time: string;
|
|
@@ -11585,7 +11738,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11585
11738
|
invoiced_at?: string | null;
|
|
11586
11739
|
notes?: string | null;
|
|
11587
11740
|
number_of_people?: number;
|
|
11741
|
+
overridden_at?: string | null;
|
|
11742
|
+
overridden_by?: string | null;
|
|
11743
|
+
override_reason?: string | null;
|
|
11744
|
+
price_override?: boolean;
|
|
11588
11745
|
room_id: string;
|
|
11746
|
+
room_price_override?: number | null;
|
|
11589
11747
|
start_time: string;
|
|
11590
11748
|
status?: string;
|
|
11591
11749
|
total_excl_vat?: number | null;
|
|
@@ -11594,11 +11752,15 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11594
11752
|
vat_amount?: number | null;
|
|
11595
11753
|
};
|
|
11596
11754
|
Update: {
|
|
11755
|
+
archive_reason?: string | null;
|
|
11756
|
+
archived_at?: string | null;
|
|
11757
|
+
archived_by?: string | null;
|
|
11597
11758
|
company_name?: string | null;
|
|
11598
11759
|
conflict_checked_at?: string | null;
|
|
11599
11760
|
conflict_reason?: string | null;
|
|
11600
11761
|
created_at?: string;
|
|
11601
11762
|
created_by_role?: string | null;
|
|
11763
|
+
customer_address?: string | null;
|
|
11602
11764
|
customer_email?: string | null;
|
|
11603
11765
|
customer_name?: string | null;
|
|
11604
11766
|
end_time?: string;
|
|
@@ -11610,7 +11772,12 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
11610
11772
|
invoiced_at?: string | null;
|
|
11611
11773
|
notes?: string | null;
|
|
11612
11774
|
number_of_people?: number;
|
|
11775
|
+
overridden_at?: string | null;
|
|
11776
|
+
overridden_by?: string | null;
|
|
11777
|
+
override_reason?: string | null;
|
|
11778
|
+
price_override?: boolean;
|
|
11613
11779
|
room_id?: string;
|
|
11780
|
+
room_price_override?: number | null;
|
|
11614
11781
|
start_time?: string;
|
|
11615
11782
|
status?: string;
|
|
11616
11783
|
total_excl_vat?: number | null;
|
|
@@ -12439,8 +12606,27 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12439
12606
|
customers: {
|
|
12440
12607
|
Row: {
|
|
12441
12608
|
address: string | null;
|
|
12609
|
+
address_line1: string | null;
|
|
12610
|
+
address_line2: string | null;
|
|
12611
|
+
address_type: string | null;
|
|
12612
|
+
attention_to: string | null;
|
|
12613
|
+
bank_account_holder: string | null;
|
|
12614
|
+
bank_account_number: string | null;
|
|
12615
|
+
bank_address_line1: string | null;
|
|
12616
|
+
bank_address_line2: string | null;
|
|
12617
|
+
bank_bic: string | null;
|
|
12618
|
+
bank_city: string | null;
|
|
12619
|
+
bank_country: string | null;
|
|
12620
|
+
bank_house_number: string | null;
|
|
12621
|
+
bank_iban: string | null;
|
|
12622
|
+
bank_name: string | null;
|
|
12623
|
+
bank_national_code: string | null;
|
|
12624
|
+
bank_postal_code: string | null;
|
|
12625
|
+
bank_state: string | null;
|
|
12626
|
+
billing_email: string | null;
|
|
12442
12627
|
bio: string | null;
|
|
12443
12628
|
city: string | null;
|
|
12629
|
+
coc_number: string | null;
|
|
12444
12630
|
commercial_name: string | null;
|
|
12445
12631
|
company_name: string;
|
|
12446
12632
|
connection_status: string;
|
|
@@ -12449,21 +12635,28 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12449
12635
|
created_at: string;
|
|
12450
12636
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
12451
12637
|
customer_class: string | null;
|
|
12638
|
+
customer_number: string | null;
|
|
12639
|
+
discount_days: number | null;
|
|
12640
|
+
discount_percentage: number | null;
|
|
12452
12641
|
email: string | null;
|
|
12453
12642
|
external_id: string | null;
|
|
12643
|
+
fax: string | null;
|
|
12454
12644
|
floriday_connection_id: string | null;
|
|
12455
12645
|
floriday_organization_id: string | null;
|
|
12456
12646
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
12457
12647
|
gln: string | null;
|
|
12458
12648
|
house_number: string | null;
|
|
12649
|
+
icp_country_code: string | null;
|
|
12459
12650
|
id: string;
|
|
12460
12651
|
is_active: boolean;
|
|
12652
|
+
language: string | null;
|
|
12461
12653
|
last_synced_at: string | null;
|
|
12462
12654
|
logo_url: string | null;
|
|
12463
12655
|
markets: string[];
|
|
12464
12656
|
notes: string | null;
|
|
12465
12657
|
organization_type: string | null;
|
|
12466
12658
|
payment_methods: string[];
|
|
12659
|
+
payment_term_days: number | null;
|
|
12467
12660
|
phone: string | null;
|
|
12468
12661
|
postal_code: string | null;
|
|
12469
12662
|
product_groups: string[];
|
|
@@ -12474,13 +12667,33 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12474
12667
|
sync_status: string;
|
|
12475
12668
|
trade_forms: string[];
|
|
12476
12669
|
updated_at: string;
|
|
12670
|
+
vat_display: string | null;
|
|
12477
12671
|
vat_number: string | null;
|
|
12478
12672
|
website: string | null;
|
|
12479
12673
|
};
|
|
12480
12674
|
Insert: {
|
|
12481
12675
|
address?: string | null;
|
|
12676
|
+
address_line1?: string | null;
|
|
12677
|
+
address_line2?: string | null;
|
|
12678
|
+
address_type?: string | null;
|
|
12679
|
+
attention_to?: string | null;
|
|
12680
|
+
bank_account_holder?: string | null;
|
|
12681
|
+
bank_account_number?: string | null;
|
|
12682
|
+
bank_address_line1?: string | null;
|
|
12683
|
+
bank_address_line2?: string | null;
|
|
12684
|
+
bank_bic?: string | null;
|
|
12685
|
+
bank_city?: string | null;
|
|
12686
|
+
bank_country?: string | null;
|
|
12687
|
+
bank_house_number?: string | null;
|
|
12688
|
+
bank_iban?: string | null;
|
|
12689
|
+
bank_name?: string | null;
|
|
12690
|
+
bank_national_code?: string | null;
|
|
12691
|
+
bank_postal_code?: string | null;
|
|
12692
|
+
bank_state?: string | null;
|
|
12693
|
+
billing_email?: string | null;
|
|
12482
12694
|
bio?: string | null;
|
|
12483
12695
|
city?: string | null;
|
|
12696
|
+
coc_number?: string | null;
|
|
12484
12697
|
commercial_name?: string | null;
|
|
12485
12698
|
company_name: string;
|
|
12486
12699
|
connection_status?: string;
|
|
@@ -12489,21 +12702,28 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12489
12702
|
created_at?: string;
|
|
12490
12703
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12491
12704
|
customer_class?: string | null;
|
|
12705
|
+
customer_number?: string | null;
|
|
12706
|
+
discount_days?: number | null;
|
|
12707
|
+
discount_percentage?: number | null;
|
|
12492
12708
|
email?: string | null;
|
|
12493
12709
|
external_id?: string | null;
|
|
12710
|
+
fax?: string | null;
|
|
12494
12711
|
floriday_connection_id?: string | null;
|
|
12495
12712
|
floriday_organization_id?: string | null;
|
|
12496
12713
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12497
12714
|
gln?: string | null;
|
|
12498
12715
|
house_number?: string | null;
|
|
12716
|
+
icp_country_code?: string | null;
|
|
12499
12717
|
id?: string;
|
|
12500
12718
|
is_active?: boolean;
|
|
12719
|
+
language?: string | null;
|
|
12501
12720
|
last_synced_at?: string | null;
|
|
12502
12721
|
logo_url?: string | null;
|
|
12503
12722
|
markets?: string[];
|
|
12504
12723
|
notes?: string | null;
|
|
12505
12724
|
organization_type?: string | null;
|
|
12506
12725
|
payment_methods?: string[];
|
|
12726
|
+
payment_term_days?: number | null;
|
|
12507
12727
|
phone?: string | null;
|
|
12508
12728
|
postal_code?: string | null;
|
|
12509
12729
|
product_groups?: string[];
|
|
@@ -12514,13 +12734,33 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12514
12734
|
sync_status?: string;
|
|
12515
12735
|
trade_forms?: string[];
|
|
12516
12736
|
updated_at?: string;
|
|
12737
|
+
vat_display?: string | null;
|
|
12517
12738
|
vat_number?: string | null;
|
|
12518
12739
|
website?: string | null;
|
|
12519
12740
|
};
|
|
12520
12741
|
Update: {
|
|
12521
12742
|
address?: string | null;
|
|
12743
|
+
address_line1?: string | null;
|
|
12744
|
+
address_line2?: string | null;
|
|
12745
|
+
address_type?: string | null;
|
|
12746
|
+
attention_to?: string | null;
|
|
12747
|
+
bank_account_holder?: string | null;
|
|
12748
|
+
bank_account_number?: string | null;
|
|
12749
|
+
bank_address_line1?: string | null;
|
|
12750
|
+
bank_address_line2?: string | null;
|
|
12751
|
+
bank_bic?: string | null;
|
|
12752
|
+
bank_city?: string | null;
|
|
12753
|
+
bank_country?: string | null;
|
|
12754
|
+
bank_house_number?: string | null;
|
|
12755
|
+
bank_iban?: string | null;
|
|
12756
|
+
bank_name?: string | null;
|
|
12757
|
+
bank_national_code?: string | null;
|
|
12758
|
+
bank_postal_code?: string | null;
|
|
12759
|
+
bank_state?: string | null;
|
|
12760
|
+
billing_email?: string | null;
|
|
12522
12761
|
bio?: string | null;
|
|
12523
12762
|
city?: string | null;
|
|
12763
|
+
coc_number?: string | null;
|
|
12524
12764
|
commercial_name?: string | null;
|
|
12525
12765
|
company_name?: string;
|
|
12526
12766
|
connection_status?: string;
|
|
@@ -12529,21 +12769,28 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12529
12769
|
created_at?: string;
|
|
12530
12770
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12531
12771
|
customer_class?: string | null;
|
|
12772
|
+
customer_number?: string | null;
|
|
12773
|
+
discount_days?: number | null;
|
|
12774
|
+
discount_percentage?: number | null;
|
|
12532
12775
|
email?: string | null;
|
|
12533
12776
|
external_id?: string | null;
|
|
12777
|
+
fax?: string | null;
|
|
12534
12778
|
floriday_connection_id?: string | null;
|
|
12535
12779
|
floriday_organization_id?: string | null;
|
|
12536
12780
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12537
12781
|
gln?: string | null;
|
|
12538
12782
|
house_number?: string | null;
|
|
12783
|
+
icp_country_code?: string | null;
|
|
12539
12784
|
id?: string;
|
|
12540
12785
|
is_active?: boolean;
|
|
12786
|
+
language?: string | null;
|
|
12541
12787
|
last_synced_at?: string | null;
|
|
12542
12788
|
logo_url?: string | null;
|
|
12543
12789
|
markets?: string[];
|
|
12544
12790
|
notes?: string | null;
|
|
12545
12791
|
organization_type?: string | null;
|
|
12546
12792
|
payment_methods?: string[];
|
|
12793
|
+
payment_term_days?: number | null;
|
|
12547
12794
|
phone?: string | null;
|
|
12548
12795
|
postal_code?: string | null;
|
|
12549
12796
|
product_groups?: string[];
|
|
@@ -12554,6 +12801,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
12554
12801
|
sync_status?: string;
|
|
12555
12802
|
trade_forms?: string[];
|
|
12556
12803
|
updated_at?: string;
|
|
12804
|
+
vat_display?: string | null;
|
|
12557
12805
|
vat_number?: string | null;
|
|
12558
12806
|
website?: string | null;
|
|
12559
12807
|
};
|
|
@@ -18510,6 +18758,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
18510
18758
|
};
|
|
18511
18759
|
profiles: {
|
|
18512
18760
|
Row: {
|
|
18761
|
+
address: string | null;
|
|
18513
18762
|
created_at: string;
|
|
18514
18763
|
display_name: string | null;
|
|
18515
18764
|
email: string | null;
|
|
@@ -18520,6 +18769,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
18520
18769
|
updated_at: string;
|
|
18521
18770
|
};
|
|
18522
18771
|
Insert: {
|
|
18772
|
+
address?: string | null;
|
|
18523
18773
|
created_at?: string;
|
|
18524
18774
|
display_name?: string | null;
|
|
18525
18775
|
email?: string | null;
|
|
@@ -18530,6 +18780,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
18530
18780
|
updated_at?: string;
|
|
18531
18781
|
};
|
|
18532
18782
|
Update: {
|
|
18783
|
+
address?: string | null;
|
|
18533
18784
|
created_at?: string;
|
|
18534
18785
|
display_name?: string | null;
|
|
18535
18786
|
email?: string | null;
|
|
@@ -21570,7 +21821,7 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
21570
21821
|
};
|
|
21571
21822
|
cleanup_old_bookings: {
|
|
21572
21823
|
Args: never;
|
|
21573
|
-
Returns:
|
|
21824
|
+
Returns: undefined;
|
|
21574
21825
|
};
|
|
21575
21826
|
consume_floriday_rate_limit: {
|
|
21576
21827
|
Args: {
|
|
@@ -22425,6 +22676,17 @@ export declare const listOrderCarts: import("@tanstack/start-client-core").Optio
|
|
|
22425
22676
|
};
|
|
22426
22677
|
Returns: string;
|
|
22427
22678
|
};
|
|
22679
|
+
upsert_auto_fulfillment_log: {
|
|
22680
|
+
Args: {
|
|
22681
|
+
p_connection_id: string;
|
|
22682
|
+
p_error?: string;
|
|
22683
|
+
p_fulfillment_order_id?: string;
|
|
22684
|
+
p_reason?: string;
|
|
22685
|
+
p_sales_order_id: string;
|
|
22686
|
+
p_status: string;
|
|
22687
|
+
};
|
|
22688
|
+
Returns: undefined;
|
|
22689
|
+
};
|
|
22428
22690
|
};
|
|
22429
22691
|
Enums: {
|
|
22430
22692
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|