@flowselections/floriday-voorraad 1.0.18 → 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 +115 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +115 -1
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +115 -1
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +115 -1
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +115 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +115 -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 +575 -5
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +345 -3
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +230 -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,6 +327,9 @@ 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;
|
|
@@ -335,7 +347,12 @@ export type Database = {
|
|
|
335
347
|
invoiced_at: string | null;
|
|
336
348
|
notes: string | null;
|
|
337
349
|
number_of_people: number;
|
|
350
|
+
overridden_at: string | null;
|
|
351
|
+
overridden_by: string | null;
|
|
352
|
+
override_reason: string | null;
|
|
353
|
+
price_override: boolean;
|
|
338
354
|
room_id: string;
|
|
355
|
+
room_price_override: number | null;
|
|
339
356
|
start_time: string;
|
|
340
357
|
status: string;
|
|
341
358
|
total_excl_vat: number | null;
|
|
@@ -344,6 +361,9 @@ export type Database = {
|
|
|
344
361
|
vat_amount: number | null;
|
|
345
362
|
};
|
|
346
363
|
Insert: {
|
|
364
|
+
archive_reason?: string | null;
|
|
365
|
+
archived_at?: string | null;
|
|
366
|
+
archived_by?: string | null;
|
|
347
367
|
company_name?: string | null;
|
|
348
368
|
conflict_checked_at?: string | null;
|
|
349
369
|
conflict_reason?: string | null;
|
|
@@ -361,7 +381,12 @@ export type Database = {
|
|
|
361
381
|
invoiced_at?: string | null;
|
|
362
382
|
notes?: string | null;
|
|
363
383
|
number_of_people?: number;
|
|
384
|
+
overridden_at?: string | null;
|
|
385
|
+
overridden_by?: string | null;
|
|
386
|
+
override_reason?: string | null;
|
|
387
|
+
price_override?: boolean;
|
|
364
388
|
room_id: string;
|
|
389
|
+
room_price_override?: number | null;
|
|
365
390
|
start_time: string;
|
|
366
391
|
status?: string;
|
|
367
392
|
total_excl_vat?: number | null;
|
|
@@ -370,6 +395,9 @@ export type Database = {
|
|
|
370
395
|
vat_amount?: number | null;
|
|
371
396
|
};
|
|
372
397
|
Update: {
|
|
398
|
+
archive_reason?: string | null;
|
|
399
|
+
archived_at?: string | null;
|
|
400
|
+
archived_by?: string | null;
|
|
373
401
|
company_name?: string | null;
|
|
374
402
|
conflict_checked_at?: string | null;
|
|
375
403
|
conflict_reason?: string | null;
|
|
@@ -387,7 +415,12 @@ export type Database = {
|
|
|
387
415
|
invoiced_at?: string | null;
|
|
388
416
|
notes?: string | null;
|
|
389
417
|
number_of_people?: number;
|
|
418
|
+
overridden_at?: string | null;
|
|
419
|
+
overridden_by?: string | null;
|
|
420
|
+
override_reason?: string | null;
|
|
421
|
+
price_override?: boolean;
|
|
390
422
|
room_id?: string;
|
|
423
|
+
room_price_override?: number | null;
|
|
391
424
|
start_time?: string;
|
|
392
425
|
status?: string;
|
|
393
426
|
total_excl_vat?: number | null;
|
|
@@ -1239,8 +1272,27 @@ export type Database = {
|
|
|
1239
1272
|
customers: {
|
|
1240
1273
|
Row: {
|
|
1241
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;
|
|
1242
1293
|
bio: string | null;
|
|
1243
1294
|
city: string | null;
|
|
1295
|
+
coc_number: string | null;
|
|
1244
1296
|
commercial_name: string | null;
|
|
1245
1297
|
company_name: string;
|
|
1246
1298
|
connection_status: string;
|
|
@@ -1249,21 +1301,28 @@ export type Database = {
|
|
|
1249
1301
|
created_at: string;
|
|
1250
1302
|
custom_fields: Json;
|
|
1251
1303
|
customer_class: string | null;
|
|
1304
|
+
customer_number: string | null;
|
|
1305
|
+
discount_days: number | null;
|
|
1306
|
+
discount_percentage: number | null;
|
|
1252
1307
|
email: string | null;
|
|
1253
1308
|
external_id: string | null;
|
|
1309
|
+
fax: string | null;
|
|
1254
1310
|
floriday_connection_id: string | null;
|
|
1255
1311
|
floriday_organization_id: string | null;
|
|
1256
1312
|
floriday_raw: Json | null;
|
|
1257
1313
|
gln: string | null;
|
|
1258
1314
|
house_number: string | null;
|
|
1315
|
+
icp_country_code: string | null;
|
|
1259
1316
|
id: string;
|
|
1260
1317
|
is_active: boolean;
|
|
1318
|
+
language: string | null;
|
|
1261
1319
|
last_synced_at: string | null;
|
|
1262
1320
|
logo_url: string | null;
|
|
1263
1321
|
markets: string[];
|
|
1264
1322
|
notes: string | null;
|
|
1265
1323
|
organization_type: string | null;
|
|
1266
1324
|
payment_methods: string[];
|
|
1325
|
+
payment_term_days: number | null;
|
|
1267
1326
|
phone: string | null;
|
|
1268
1327
|
postal_code: string | null;
|
|
1269
1328
|
product_groups: string[];
|
|
@@ -1274,13 +1333,33 @@ export type Database = {
|
|
|
1274
1333
|
sync_status: string;
|
|
1275
1334
|
trade_forms: string[];
|
|
1276
1335
|
updated_at: string;
|
|
1336
|
+
vat_display: string | null;
|
|
1277
1337
|
vat_number: string | null;
|
|
1278
1338
|
website: string | null;
|
|
1279
1339
|
};
|
|
1280
1340
|
Insert: {
|
|
1281
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;
|
|
1282
1360
|
bio?: string | null;
|
|
1283
1361
|
city?: string | null;
|
|
1362
|
+
coc_number?: string | null;
|
|
1284
1363
|
commercial_name?: string | null;
|
|
1285
1364
|
company_name: string;
|
|
1286
1365
|
connection_status?: string;
|
|
@@ -1289,21 +1368,28 @@ export type Database = {
|
|
|
1289
1368
|
created_at?: string;
|
|
1290
1369
|
custom_fields?: Json;
|
|
1291
1370
|
customer_class?: string | null;
|
|
1371
|
+
customer_number?: string | null;
|
|
1372
|
+
discount_days?: number | null;
|
|
1373
|
+
discount_percentage?: number | null;
|
|
1292
1374
|
email?: string | null;
|
|
1293
1375
|
external_id?: string | null;
|
|
1376
|
+
fax?: string | null;
|
|
1294
1377
|
floriday_connection_id?: string | null;
|
|
1295
1378
|
floriday_organization_id?: string | null;
|
|
1296
1379
|
floriday_raw?: Json | null;
|
|
1297
1380
|
gln?: string | null;
|
|
1298
1381
|
house_number?: string | null;
|
|
1382
|
+
icp_country_code?: string | null;
|
|
1299
1383
|
id?: string;
|
|
1300
1384
|
is_active?: boolean;
|
|
1385
|
+
language?: string | null;
|
|
1301
1386
|
last_synced_at?: string | null;
|
|
1302
1387
|
logo_url?: string | null;
|
|
1303
1388
|
markets?: string[];
|
|
1304
1389
|
notes?: string | null;
|
|
1305
1390
|
organization_type?: string | null;
|
|
1306
1391
|
payment_methods?: string[];
|
|
1392
|
+
payment_term_days?: number | null;
|
|
1307
1393
|
phone?: string | null;
|
|
1308
1394
|
postal_code?: string | null;
|
|
1309
1395
|
product_groups?: string[];
|
|
@@ -1314,13 +1400,33 @@ export type Database = {
|
|
|
1314
1400
|
sync_status?: string;
|
|
1315
1401
|
trade_forms?: string[];
|
|
1316
1402
|
updated_at?: string;
|
|
1403
|
+
vat_display?: string | null;
|
|
1317
1404
|
vat_number?: string | null;
|
|
1318
1405
|
website?: string | null;
|
|
1319
1406
|
};
|
|
1320
1407
|
Update: {
|
|
1321
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;
|
|
1322
1427
|
bio?: string | null;
|
|
1323
1428
|
city?: string | null;
|
|
1429
|
+
coc_number?: string | null;
|
|
1324
1430
|
commercial_name?: string | null;
|
|
1325
1431
|
company_name?: string;
|
|
1326
1432
|
connection_status?: string;
|
|
@@ -1329,21 +1435,28 @@ export type Database = {
|
|
|
1329
1435
|
created_at?: string;
|
|
1330
1436
|
custom_fields?: Json;
|
|
1331
1437
|
customer_class?: string | null;
|
|
1438
|
+
customer_number?: string | null;
|
|
1439
|
+
discount_days?: number | null;
|
|
1440
|
+
discount_percentage?: number | null;
|
|
1332
1441
|
email?: string | null;
|
|
1333
1442
|
external_id?: string | null;
|
|
1443
|
+
fax?: string | null;
|
|
1334
1444
|
floriday_connection_id?: string | null;
|
|
1335
1445
|
floriday_organization_id?: string | null;
|
|
1336
1446
|
floriday_raw?: Json | null;
|
|
1337
1447
|
gln?: string | null;
|
|
1338
1448
|
house_number?: string | null;
|
|
1449
|
+
icp_country_code?: string | null;
|
|
1339
1450
|
id?: string;
|
|
1340
1451
|
is_active?: boolean;
|
|
1452
|
+
language?: string | null;
|
|
1341
1453
|
last_synced_at?: string | null;
|
|
1342
1454
|
logo_url?: string | null;
|
|
1343
1455
|
markets?: string[];
|
|
1344
1456
|
notes?: string | null;
|
|
1345
1457
|
organization_type?: string | null;
|
|
1346
1458
|
payment_methods?: string[];
|
|
1459
|
+
payment_term_days?: number | null;
|
|
1347
1460
|
phone?: string | null;
|
|
1348
1461
|
postal_code?: string | null;
|
|
1349
1462
|
product_groups?: string[];
|
|
@@ -1354,6 +1467,7 @@ export type Database = {
|
|
|
1354
1467
|
sync_status?: string;
|
|
1355
1468
|
trade_forms?: string[];
|
|
1356
1469
|
updated_at?: string;
|
|
1470
|
+
vat_display?: string | null;
|
|
1357
1471
|
vat_number?: string | null;
|
|
1358
1472
|
website?: string | null;
|
|
1359
1473
|
};
|
|
@@ -10645,7 +10759,7 @@ export type Database = {
|
|
|
10645
10759
|
};
|
|
10646
10760
|
cleanup_old_bookings: {
|
|
10647
10761
|
Args: never;
|
|
10648
|
-
Returns:
|
|
10762
|
+
Returns: undefined;
|
|
10649
10763
|
};
|
|
10650
10764
|
consume_floriday_rate_limit: {
|
|
10651
10765
|
Args: {
|