@flowselections/floriday-voorraad 1.0.17 → 1.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +132 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +132 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +132 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +132 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +132 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +132 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.js +53 -8
- package/dist-lib/lib/floriday-gateway.functions.d.ts +660 -5
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +396 -3
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +264 -2
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -277,6 +277,9 @@ export type Database = {
|
|
|
277
277
|
created_at: string;
|
|
278
278
|
extra_id: string;
|
|
279
279
|
id: string;
|
|
280
|
+
original_unit_price: number | null;
|
|
281
|
+
override_reason: string | null;
|
|
282
|
+
override_unit_price: number | null;
|
|
280
283
|
quantity: number;
|
|
281
284
|
total_price: number;
|
|
282
285
|
unit_price: number;
|
|
@@ -286,6 +289,9 @@ export type Database = {
|
|
|
286
289
|
created_at?: string;
|
|
287
290
|
extra_id: string;
|
|
288
291
|
id?: string;
|
|
292
|
+
original_unit_price?: number | null;
|
|
293
|
+
override_reason?: string | null;
|
|
294
|
+
override_unit_price?: number | null;
|
|
289
295
|
quantity?: number;
|
|
290
296
|
total_price?: number;
|
|
291
297
|
unit_price?: number;
|
|
@@ -295,6 +301,9 @@ export type Database = {
|
|
|
295
301
|
created_at?: string;
|
|
296
302
|
extra_id?: string;
|
|
297
303
|
id?: string;
|
|
304
|
+
original_unit_price?: number | null;
|
|
305
|
+
override_reason?: string | null;
|
|
306
|
+
override_unit_price?: number | null;
|
|
298
307
|
quantity?: number;
|
|
299
308
|
total_price?: number;
|
|
300
309
|
unit_price?: number;
|
|
@@ -318,11 +327,15 @@ export type Database = {
|
|
|
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 type Database = {
|
|
|
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 type Database = {
|
|
|
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 type Database = {
|
|
|
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 type Database = {
|
|
|
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 type Database = {
|
|
|
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;
|
|
@@ -1236,8 +1272,27 @@ export type Database = {
|
|
|
1236
1272
|
customers: {
|
|
1237
1273
|
Row: {
|
|
1238
1274
|
address: string | null;
|
|
1275
|
+
address_line1: string | null;
|
|
1276
|
+
address_line2: string | null;
|
|
1277
|
+
address_type: string | null;
|
|
1278
|
+
attention_to: string | null;
|
|
1279
|
+
bank_account_holder: string | null;
|
|
1280
|
+
bank_account_number: string | null;
|
|
1281
|
+
bank_address_line1: string | null;
|
|
1282
|
+
bank_address_line2: string | null;
|
|
1283
|
+
bank_bic: string | null;
|
|
1284
|
+
bank_city: string | null;
|
|
1285
|
+
bank_country: string | null;
|
|
1286
|
+
bank_house_number: string | null;
|
|
1287
|
+
bank_iban: string | null;
|
|
1288
|
+
bank_name: string | null;
|
|
1289
|
+
bank_national_code: string | null;
|
|
1290
|
+
bank_postal_code: string | null;
|
|
1291
|
+
bank_state: string | null;
|
|
1292
|
+
billing_email: string | null;
|
|
1239
1293
|
bio: string | null;
|
|
1240
1294
|
city: string | null;
|
|
1295
|
+
coc_number: string | null;
|
|
1241
1296
|
commercial_name: string | null;
|
|
1242
1297
|
company_name: string;
|
|
1243
1298
|
connection_status: string;
|
|
@@ -1246,21 +1301,28 @@ export type Database = {
|
|
|
1246
1301
|
created_at: string;
|
|
1247
1302
|
custom_fields: Json;
|
|
1248
1303
|
customer_class: string | null;
|
|
1304
|
+
customer_number: string | null;
|
|
1305
|
+
discount_days: number | null;
|
|
1306
|
+
discount_percentage: number | null;
|
|
1249
1307
|
email: string | null;
|
|
1250
1308
|
external_id: string | null;
|
|
1309
|
+
fax: string | null;
|
|
1251
1310
|
floriday_connection_id: string | null;
|
|
1252
1311
|
floriday_organization_id: string | null;
|
|
1253
1312
|
floriday_raw: Json | null;
|
|
1254
1313
|
gln: string | null;
|
|
1255
1314
|
house_number: string | null;
|
|
1315
|
+
icp_country_code: string | null;
|
|
1256
1316
|
id: string;
|
|
1257
1317
|
is_active: boolean;
|
|
1318
|
+
language: string | null;
|
|
1258
1319
|
last_synced_at: string | null;
|
|
1259
1320
|
logo_url: string | null;
|
|
1260
1321
|
markets: string[];
|
|
1261
1322
|
notes: string | null;
|
|
1262
1323
|
organization_type: string | null;
|
|
1263
1324
|
payment_methods: string[];
|
|
1325
|
+
payment_term_days: number | null;
|
|
1264
1326
|
phone: string | null;
|
|
1265
1327
|
postal_code: string | null;
|
|
1266
1328
|
product_groups: string[];
|
|
@@ -1271,13 +1333,33 @@ export type Database = {
|
|
|
1271
1333
|
sync_status: string;
|
|
1272
1334
|
trade_forms: string[];
|
|
1273
1335
|
updated_at: string;
|
|
1336
|
+
vat_display: string | null;
|
|
1274
1337
|
vat_number: string | null;
|
|
1275
1338
|
website: string | null;
|
|
1276
1339
|
};
|
|
1277
1340
|
Insert: {
|
|
1278
1341
|
address?: string | null;
|
|
1342
|
+
address_line1?: string | null;
|
|
1343
|
+
address_line2?: string | null;
|
|
1344
|
+
address_type?: string | null;
|
|
1345
|
+
attention_to?: string | null;
|
|
1346
|
+
bank_account_holder?: string | null;
|
|
1347
|
+
bank_account_number?: string | null;
|
|
1348
|
+
bank_address_line1?: string | null;
|
|
1349
|
+
bank_address_line2?: string | null;
|
|
1350
|
+
bank_bic?: string | null;
|
|
1351
|
+
bank_city?: string | null;
|
|
1352
|
+
bank_country?: string | null;
|
|
1353
|
+
bank_house_number?: string | null;
|
|
1354
|
+
bank_iban?: string | null;
|
|
1355
|
+
bank_name?: string | null;
|
|
1356
|
+
bank_national_code?: string | null;
|
|
1357
|
+
bank_postal_code?: string | null;
|
|
1358
|
+
bank_state?: string | null;
|
|
1359
|
+
billing_email?: string | null;
|
|
1279
1360
|
bio?: string | null;
|
|
1280
1361
|
city?: string | null;
|
|
1362
|
+
coc_number?: string | null;
|
|
1281
1363
|
commercial_name?: string | null;
|
|
1282
1364
|
company_name: string;
|
|
1283
1365
|
connection_status?: string;
|
|
@@ -1286,21 +1368,28 @@ export type Database = {
|
|
|
1286
1368
|
created_at?: string;
|
|
1287
1369
|
custom_fields?: Json;
|
|
1288
1370
|
customer_class?: string | null;
|
|
1371
|
+
customer_number?: string | null;
|
|
1372
|
+
discount_days?: number | null;
|
|
1373
|
+
discount_percentage?: number | null;
|
|
1289
1374
|
email?: string | null;
|
|
1290
1375
|
external_id?: string | null;
|
|
1376
|
+
fax?: string | null;
|
|
1291
1377
|
floriday_connection_id?: string | null;
|
|
1292
1378
|
floriday_organization_id?: string | null;
|
|
1293
1379
|
floriday_raw?: Json | null;
|
|
1294
1380
|
gln?: string | null;
|
|
1295
1381
|
house_number?: string | null;
|
|
1382
|
+
icp_country_code?: string | null;
|
|
1296
1383
|
id?: string;
|
|
1297
1384
|
is_active?: boolean;
|
|
1385
|
+
language?: string | null;
|
|
1298
1386
|
last_synced_at?: string | null;
|
|
1299
1387
|
logo_url?: string | null;
|
|
1300
1388
|
markets?: string[];
|
|
1301
1389
|
notes?: string | null;
|
|
1302
1390
|
organization_type?: string | null;
|
|
1303
1391
|
payment_methods?: string[];
|
|
1392
|
+
payment_term_days?: number | null;
|
|
1304
1393
|
phone?: string | null;
|
|
1305
1394
|
postal_code?: string | null;
|
|
1306
1395
|
product_groups?: string[];
|
|
@@ -1311,13 +1400,33 @@ export type Database = {
|
|
|
1311
1400
|
sync_status?: string;
|
|
1312
1401
|
trade_forms?: string[];
|
|
1313
1402
|
updated_at?: string;
|
|
1403
|
+
vat_display?: string | null;
|
|
1314
1404
|
vat_number?: string | null;
|
|
1315
1405
|
website?: string | null;
|
|
1316
1406
|
};
|
|
1317
1407
|
Update: {
|
|
1318
1408
|
address?: string | null;
|
|
1409
|
+
address_line1?: string | null;
|
|
1410
|
+
address_line2?: string | null;
|
|
1411
|
+
address_type?: string | null;
|
|
1412
|
+
attention_to?: string | null;
|
|
1413
|
+
bank_account_holder?: string | null;
|
|
1414
|
+
bank_account_number?: string | null;
|
|
1415
|
+
bank_address_line1?: string | null;
|
|
1416
|
+
bank_address_line2?: string | null;
|
|
1417
|
+
bank_bic?: string | null;
|
|
1418
|
+
bank_city?: string | null;
|
|
1419
|
+
bank_country?: string | null;
|
|
1420
|
+
bank_house_number?: string | null;
|
|
1421
|
+
bank_iban?: string | null;
|
|
1422
|
+
bank_name?: string | null;
|
|
1423
|
+
bank_national_code?: string | null;
|
|
1424
|
+
bank_postal_code?: string | null;
|
|
1425
|
+
bank_state?: string | null;
|
|
1426
|
+
billing_email?: string | null;
|
|
1319
1427
|
bio?: string | null;
|
|
1320
1428
|
city?: string | null;
|
|
1429
|
+
coc_number?: string | null;
|
|
1321
1430
|
commercial_name?: string | null;
|
|
1322
1431
|
company_name?: string;
|
|
1323
1432
|
connection_status?: string;
|
|
@@ -1326,21 +1435,28 @@ export type Database = {
|
|
|
1326
1435
|
created_at?: string;
|
|
1327
1436
|
custom_fields?: Json;
|
|
1328
1437
|
customer_class?: string | null;
|
|
1438
|
+
customer_number?: string | null;
|
|
1439
|
+
discount_days?: number | null;
|
|
1440
|
+
discount_percentage?: number | null;
|
|
1329
1441
|
email?: string | null;
|
|
1330
1442
|
external_id?: string | null;
|
|
1443
|
+
fax?: string | null;
|
|
1331
1444
|
floriday_connection_id?: string | null;
|
|
1332
1445
|
floriday_organization_id?: string | null;
|
|
1333
1446
|
floriday_raw?: Json | null;
|
|
1334
1447
|
gln?: string | null;
|
|
1335
1448
|
house_number?: string | null;
|
|
1449
|
+
icp_country_code?: string | null;
|
|
1336
1450
|
id?: string;
|
|
1337
1451
|
is_active?: boolean;
|
|
1452
|
+
language?: string | null;
|
|
1338
1453
|
last_synced_at?: string | null;
|
|
1339
1454
|
logo_url?: string | null;
|
|
1340
1455
|
markets?: string[];
|
|
1341
1456
|
notes?: string | null;
|
|
1342
1457
|
organization_type?: string | null;
|
|
1343
1458
|
payment_methods?: string[];
|
|
1459
|
+
payment_term_days?: number | null;
|
|
1344
1460
|
phone?: string | null;
|
|
1345
1461
|
postal_code?: string | null;
|
|
1346
1462
|
product_groups?: string[];
|
|
@@ -1351,6 +1467,7 @@ export type Database = {
|
|
|
1351
1467
|
sync_status?: string;
|
|
1352
1468
|
trade_forms?: string[];
|
|
1353
1469
|
updated_at?: string;
|
|
1470
|
+
vat_display?: string | null;
|
|
1354
1471
|
vat_number?: string | null;
|
|
1355
1472
|
website?: string | null;
|
|
1356
1473
|
};
|
|
@@ -7503,6 +7620,7 @@ export type Database = {
|
|
|
7503
7620
|
};
|
|
7504
7621
|
profiles: {
|
|
7505
7622
|
Row: {
|
|
7623
|
+
address: string | null;
|
|
7506
7624
|
created_at: string;
|
|
7507
7625
|
display_name: string | null;
|
|
7508
7626
|
email: string | null;
|
|
@@ -7513,6 +7631,7 @@ export type Database = {
|
|
|
7513
7631
|
updated_at: string;
|
|
7514
7632
|
};
|
|
7515
7633
|
Insert: {
|
|
7634
|
+
address?: string | null;
|
|
7516
7635
|
created_at?: string;
|
|
7517
7636
|
display_name?: string | null;
|
|
7518
7637
|
email?: string | null;
|
|
@@ -7523,6 +7642,7 @@ export type Database = {
|
|
|
7523
7642
|
updated_at?: string;
|
|
7524
7643
|
};
|
|
7525
7644
|
Update: {
|
|
7645
|
+
address?: string | null;
|
|
7526
7646
|
created_at?: string;
|
|
7527
7647
|
display_name?: string | null;
|
|
7528
7648
|
email?: string | null;
|
|
@@ -10639,7 +10759,7 @@ export type Database = {
|
|
|
10639
10759
|
};
|
|
10640
10760
|
cleanup_old_bookings: {
|
|
10641
10761
|
Args: never;
|
|
10642
|
-
Returns:
|
|
10762
|
+
Returns: undefined;
|
|
10643
10763
|
};
|
|
10644
10764
|
consume_floriday_rate_limit: {
|
|
10645
10765
|
Args: {
|
|
@@ -11494,6 +11614,17 @@ export type Database = {
|
|
|
11494
11614
|
};
|
|
11495
11615
|
Returns: string;
|
|
11496
11616
|
};
|
|
11617
|
+
upsert_auto_fulfillment_log: {
|
|
11618
|
+
Args: {
|
|
11619
|
+
p_connection_id: string;
|
|
11620
|
+
p_error?: string;
|
|
11621
|
+
p_fulfillment_order_id?: string;
|
|
11622
|
+
p_reason?: string;
|
|
11623
|
+
p_sales_order_id: string;
|
|
11624
|
+
p_status: string;
|
|
11625
|
+
};
|
|
11626
|
+
Returns: undefined;
|
|
11627
|
+
};
|
|
11497
11628
|
};
|
|
11498
11629
|
Enums: {
|
|
11499
11630
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|