@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
|
@@ -272,6 +272,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
272
272
|
created_at: string;
|
|
273
273
|
extra_id: string;
|
|
274
274
|
id: string;
|
|
275
|
+
original_unit_price: number | null;
|
|
276
|
+
override_reason: string | null;
|
|
277
|
+
override_unit_price: number | null;
|
|
275
278
|
quantity: number;
|
|
276
279
|
total_price: number;
|
|
277
280
|
unit_price: number;
|
|
@@ -281,6 +284,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
281
284
|
created_at?: string;
|
|
282
285
|
extra_id: string;
|
|
283
286
|
id?: string;
|
|
287
|
+
original_unit_price?: number | null;
|
|
288
|
+
override_reason?: string | null;
|
|
289
|
+
override_unit_price?: number | null;
|
|
284
290
|
quantity?: number;
|
|
285
291
|
total_price?: number;
|
|
286
292
|
unit_price?: number;
|
|
@@ -290,6 +296,9 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
290
296
|
created_at?: string;
|
|
291
297
|
extra_id?: string;
|
|
292
298
|
id?: string;
|
|
299
|
+
original_unit_price?: number | null;
|
|
300
|
+
override_reason?: string | null;
|
|
301
|
+
override_unit_price?: number | null;
|
|
293
302
|
quantity?: number;
|
|
294
303
|
total_price?: number;
|
|
295
304
|
unit_price?: number;
|
|
@@ -310,11 +319,15 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
310
319
|
};
|
|
311
320
|
bookings: {
|
|
312
321
|
Row: {
|
|
322
|
+
archive_reason: string | null;
|
|
323
|
+
archived_at: string | null;
|
|
324
|
+
archived_by: string | null;
|
|
313
325
|
company_name: string | null;
|
|
314
326
|
conflict_checked_at: string | null;
|
|
315
327
|
conflict_reason: string | null;
|
|
316
328
|
created_at: string;
|
|
317
329
|
created_by_role: string | null;
|
|
330
|
+
customer_address: string | null;
|
|
318
331
|
customer_email: string | null;
|
|
319
332
|
customer_name: string | null;
|
|
320
333
|
end_time: string;
|
|
@@ -326,7 +339,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
326
339
|
invoiced_at: string | null;
|
|
327
340
|
notes: string | null;
|
|
328
341
|
number_of_people: number;
|
|
342
|
+
overridden_at: string | null;
|
|
343
|
+
overridden_by: string | null;
|
|
344
|
+
override_reason: string | null;
|
|
345
|
+
price_override: boolean;
|
|
329
346
|
room_id: string;
|
|
347
|
+
room_price_override: number | null;
|
|
330
348
|
start_time: string;
|
|
331
349
|
status: string;
|
|
332
350
|
total_excl_vat: number | null;
|
|
@@ -335,11 +353,15 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
335
353
|
vat_amount: number | null;
|
|
336
354
|
};
|
|
337
355
|
Insert: {
|
|
356
|
+
archive_reason?: string | null;
|
|
357
|
+
archived_at?: string | null;
|
|
358
|
+
archived_by?: string | null;
|
|
338
359
|
company_name?: string | null;
|
|
339
360
|
conflict_checked_at?: string | null;
|
|
340
361
|
conflict_reason?: string | null;
|
|
341
362
|
created_at?: string;
|
|
342
363
|
created_by_role?: string | null;
|
|
364
|
+
customer_address?: string | null;
|
|
343
365
|
customer_email?: string | null;
|
|
344
366
|
customer_name?: string | null;
|
|
345
367
|
end_time: string;
|
|
@@ -351,7 +373,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
351
373
|
invoiced_at?: string | null;
|
|
352
374
|
notes?: string | null;
|
|
353
375
|
number_of_people?: number;
|
|
376
|
+
overridden_at?: string | null;
|
|
377
|
+
overridden_by?: string | null;
|
|
378
|
+
override_reason?: string | null;
|
|
379
|
+
price_override?: boolean;
|
|
354
380
|
room_id: string;
|
|
381
|
+
room_price_override?: number | null;
|
|
355
382
|
start_time: string;
|
|
356
383
|
status?: string;
|
|
357
384
|
total_excl_vat?: number | null;
|
|
@@ -360,11 +387,15 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
360
387
|
vat_amount?: number | null;
|
|
361
388
|
};
|
|
362
389
|
Update: {
|
|
390
|
+
archive_reason?: string | null;
|
|
391
|
+
archived_at?: string | null;
|
|
392
|
+
archived_by?: string | null;
|
|
363
393
|
company_name?: string | null;
|
|
364
394
|
conflict_checked_at?: string | null;
|
|
365
395
|
conflict_reason?: string | null;
|
|
366
396
|
created_at?: string;
|
|
367
397
|
created_by_role?: string | null;
|
|
398
|
+
customer_address?: string | null;
|
|
368
399
|
customer_email?: string | null;
|
|
369
400
|
customer_name?: string | null;
|
|
370
401
|
end_time?: string;
|
|
@@ -376,7 +407,12 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
376
407
|
invoiced_at?: string | null;
|
|
377
408
|
notes?: string | null;
|
|
378
409
|
number_of_people?: number;
|
|
410
|
+
overridden_at?: string | null;
|
|
411
|
+
overridden_by?: string | null;
|
|
412
|
+
override_reason?: string | null;
|
|
413
|
+
price_override?: boolean;
|
|
379
414
|
room_id?: string;
|
|
415
|
+
room_price_override?: number | null;
|
|
380
416
|
start_time?: string;
|
|
381
417
|
status?: string;
|
|
382
418
|
total_excl_vat?: number | null;
|
|
@@ -1205,8 +1241,27 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1205
1241
|
customers: {
|
|
1206
1242
|
Row: {
|
|
1207
1243
|
address: string | null;
|
|
1244
|
+
address_line1: string | null;
|
|
1245
|
+
address_line2: string | null;
|
|
1246
|
+
address_type: string | null;
|
|
1247
|
+
attention_to: string | null;
|
|
1248
|
+
bank_account_holder: string | null;
|
|
1249
|
+
bank_account_number: string | null;
|
|
1250
|
+
bank_address_line1: string | null;
|
|
1251
|
+
bank_address_line2: string | null;
|
|
1252
|
+
bank_bic: string | null;
|
|
1253
|
+
bank_city: string | null;
|
|
1254
|
+
bank_country: string | null;
|
|
1255
|
+
bank_house_number: string | null;
|
|
1256
|
+
bank_iban: string | null;
|
|
1257
|
+
bank_name: string | null;
|
|
1258
|
+
bank_national_code: string | null;
|
|
1259
|
+
bank_postal_code: string | null;
|
|
1260
|
+
bank_state: string | null;
|
|
1261
|
+
billing_email: string | null;
|
|
1208
1262
|
bio: string | null;
|
|
1209
1263
|
city: string | null;
|
|
1264
|
+
coc_number: string | null;
|
|
1210
1265
|
commercial_name: string | null;
|
|
1211
1266
|
company_name: string;
|
|
1212
1267
|
connection_status: string;
|
|
@@ -1215,21 +1270,28 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1215
1270
|
created_at: string;
|
|
1216
1271
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
1217
1272
|
customer_class: string | null;
|
|
1273
|
+
customer_number: string | null;
|
|
1274
|
+
discount_days: number | null;
|
|
1275
|
+
discount_percentage: number | null;
|
|
1218
1276
|
email: string | null;
|
|
1219
1277
|
external_id: string | null;
|
|
1278
|
+
fax: string | null;
|
|
1220
1279
|
floriday_connection_id: string | null;
|
|
1221
1280
|
floriday_organization_id: string | null;
|
|
1222
1281
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
1223
1282
|
gln: string | null;
|
|
1224
1283
|
house_number: string | null;
|
|
1284
|
+
icp_country_code: string | null;
|
|
1225
1285
|
id: string;
|
|
1226
1286
|
is_active: boolean;
|
|
1287
|
+
language: string | null;
|
|
1227
1288
|
last_synced_at: string | null;
|
|
1228
1289
|
logo_url: string | null;
|
|
1229
1290
|
markets: string[];
|
|
1230
1291
|
notes: string | null;
|
|
1231
1292
|
organization_type: string | null;
|
|
1232
1293
|
payment_methods: string[];
|
|
1294
|
+
payment_term_days: number | null;
|
|
1233
1295
|
phone: string | null;
|
|
1234
1296
|
postal_code: string | null;
|
|
1235
1297
|
product_groups: string[];
|
|
@@ -1240,13 +1302,33 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1240
1302
|
sync_status: string;
|
|
1241
1303
|
trade_forms: string[];
|
|
1242
1304
|
updated_at: string;
|
|
1305
|
+
vat_display: string | null;
|
|
1243
1306
|
vat_number: string | null;
|
|
1244
1307
|
website: string | null;
|
|
1245
1308
|
};
|
|
1246
1309
|
Insert: {
|
|
1247
1310
|
address?: string | null;
|
|
1311
|
+
address_line1?: string | null;
|
|
1312
|
+
address_line2?: string | null;
|
|
1313
|
+
address_type?: string | null;
|
|
1314
|
+
attention_to?: string | null;
|
|
1315
|
+
bank_account_holder?: string | null;
|
|
1316
|
+
bank_account_number?: string | null;
|
|
1317
|
+
bank_address_line1?: string | null;
|
|
1318
|
+
bank_address_line2?: string | null;
|
|
1319
|
+
bank_bic?: string | null;
|
|
1320
|
+
bank_city?: string | null;
|
|
1321
|
+
bank_country?: string | null;
|
|
1322
|
+
bank_house_number?: string | null;
|
|
1323
|
+
bank_iban?: string | null;
|
|
1324
|
+
bank_name?: string | null;
|
|
1325
|
+
bank_national_code?: string | null;
|
|
1326
|
+
bank_postal_code?: string | null;
|
|
1327
|
+
bank_state?: string | null;
|
|
1328
|
+
billing_email?: string | null;
|
|
1248
1329
|
bio?: string | null;
|
|
1249
1330
|
city?: string | null;
|
|
1331
|
+
coc_number?: string | null;
|
|
1250
1332
|
commercial_name?: string | null;
|
|
1251
1333
|
company_name: string;
|
|
1252
1334
|
connection_status?: string;
|
|
@@ -1255,21 +1337,28 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1255
1337
|
created_at?: string;
|
|
1256
1338
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1257
1339
|
customer_class?: string | null;
|
|
1340
|
+
customer_number?: string | null;
|
|
1341
|
+
discount_days?: number | null;
|
|
1342
|
+
discount_percentage?: number | null;
|
|
1258
1343
|
email?: string | null;
|
|
1259
1344
|
external_id?: string | null;
|
|
1345
|
+
fax?: string | null;
|
|
1260
1346
|
floriday_connection_id?: string | null;
|
|
1261
1347
|
floriday_organization_id?: string | null;
|
|
1262
1348
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1263
1349
|
gln?: string | null;
|
|
1264
1350
|
house_number?: string | null;
|
|
1351
|
+
icp_country_code?: string | null;
|
|
1265
1352
|
id?: string;
|
|
1266
1353
|
is_active?: boolean;
|
|
1354
|
+
language?: string | null;
|
|
1267
1355
|
last_synced_at?: string | null;
|
|
1268
1356
|
logo_url?: string | null;
|
|
1269
1357
|
markets?: string[];
|
|
1270
1358
|
notes?: string | null;
|
|
1271
1359
|
organization_type?: string | null;
|
|
1272
1360
|
payment_methods?: string[];
|
|
1361
|
+
payment_term_days?: number | null;
|
|
1273
1362
|
phone?: string | null;
|
|
1274
1363
|
postal_code?: string | null;
|
|
1275
1364
|
product_groups?: string[];
|
|
@@ -1280,13 +1369,33 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1280
1369
|
sync_status?: string;
|
|
1281
1370
|
trade_forms?: string[];
|
|
1282
1371
|
updated_at?: string;
|
|
1372
|
+
vat_display?: string | null;
|
|
1283
1373
|
vat_number?: string | null;
|
|
1284
1374
|
website?: string | null;
|
|
1285
1375
|
};
|
|
1286
1376
|
Update: {
|
|
1287
1377
|
address?: string | null;
|
|
1378
|
+
address_line1?: string | null;
|
|
1379
|
+
address_line2?: string | null;
|
|
1380
|
+
address_type?: string | null;
|
|
1381
|
+
attention_to?: string | null;
|
|
1382
|
+
bank_account_holder?: string | null;
|
|
1383
|
+
bank_account_number?: string | null;
|
|
1384
|
+
bank_address_line1?: string | null;
|
|
1385
|
+
bank_address_line2?: string | null;
|
|
1386
|
+
bank_bic?: string | null;
|
|
1387
|
+
bank_city?: string | null;
|
|
1388
|
+
bank_country?: string | null;
|
|
1389
|
+
bank_house_number?: string | null;
|
|
1390
|
+
bank_iban?: string | null;
|
|
1391
|
+
bank_name?: string | null;
|
|
1392
|
+
bank_national_code?: string | null;
|
|
1393
|
+
bank_postal_code?: string | null;
|
|
1394
|
+
bank_state?: string | null;
|
|
1395
|
+
billing_email?: string | null;
|
|
1288
1396
|
bio?: string | null;
|
|
1289
1397
|
city?: string | null;
|
|
1398
|
+
coc_number?: string | null;
|
|
1290
1399
|
commercial_name?: string | null;
|
|
1291
1400
|
company_name?: string;
|
|
1292
1401
|
connection_status?: string;
|
|
@@ -1295,21 +1404,28 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1295
1404
|
created_at?: string;
|
|
1296
1405
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1297
1406
|
customer_class?: string | null;
|
|
1407
|
+
customer_number?: string | null;
|
|
1408
|
+
discount_days?: number | null;
|
|
1409
|
+
discount_percentage?: number | null;
|
|
1298
1410
|
email?: string | null;
|
|
1299
1411
|
external_id?: string | null;
|
|
1412
|
+
fax?: string | null;
|
|
1300
1413
|
floriday_connection_id?: string | null;
|
|
1301
1414
|
floriday_organization_id?: string | null;
|
|
1302
1415
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1303
1416
|
gln?: string | null;
|
|
1304
1417
|
house_number?: string | null;
|
|
1418
|
+
icp_country_code?: string | null;
|
|
1305
1419
|
id?: string;
|
|
1306
1420
|
is_active?: boolean;
|
|
1421
|
+
language?: string | null;
|
|
1307
1422
|
last_synced_at?: string | null;
|
|
1308
1423
|
logo_url?: string | null;
|
|
1309
1424
|
markets?: string[];
|
|
1310
1425
|
notes?: string | null;
|
|
1311
1426
|
organization_type?: string | null;
|
|
1312
1427
|
payment_methods?: string[];
|
|
1428
|
+
payment_term_days?: number | null;
|
|
1313
1429
|
phone?: string | null;
|
|
1314
1430
|
postal_code?: string | null;
|
|
1315
1431
|
product_groups?: string[];
|
|
@@ -1320,6 +1436,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
1320
1436
|
sync_status?: string;
|
|
1321
1437
|
trade_forms?: string[];
|
|
1322
1438
|
updated_at?: string;
|
|
1439
|
+
vat_display?: string | null;
|
|
1323
1440
|
vat_number?: string | null;
|
|
1324
1441
|
website?: string | null;
|
|
1325
1442
|
};
|
|
@@ -7276,6 +7393,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
7276
7393
|
};
|
|
7277
7394
|
profiles: {
|
|
7278
7395
|
Row: {
|
|
7396
|
+
address: string | null;
|
|
7279
7397
|
created_at: string;
|
|
7280
7398
|
display_name: string | null;
|
|
7281
7399
|
email: string | null;
|
|
@@ -7286,6 +7404,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
7286
7404
|
updated_at: string;
|
|
7287
7405
|
};
|
|
7288
7406
|
Insert: {
|
|
7407
|
+
address?: string | null;
|
|
7289
7408
|
created_at?: string;
|
|
7290
7409
|
display_name?: string | null;
|
|
7291
7410
|
email?: string | null;
|
|
@@ -7296,6 +7415,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
7296
7415
|
updated_at?: string;
|
|
7297
7416
|
};
|
|
7298
7417
|
Update: {
|
|
7418
|
+
address?: string | null;
|
|
7299
7419
|
created_at?: string;
|
|
7300
7420
|
display_name?: string | null;
|
|
7301
7421
|
email?: string | null;
|
|
@@ -10336,7 +10456,7 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
10336
10456
|
};
|
|
10337
10457
|
cleanup_old_bookings: {
|
|
10338
10458
|
Args: never;
|
|
10339
|
-
Returns:
|
|
10459
|
+
Returns: undefined;
|
|
10340
10460
|
};
|
|
10341
10461
|
consume_floriday_rate_limit: {
|
|
10342
10462
|
Args: {
|
|
@@ -11191,6 +11311,17 @@ export declare const acknowledgeSalesOrder: import("@tanstack/start-client-core"
|
|
|
11191
11311
|
};
|
|
11192
11312
|
Returns: string;
|
|
11193
11313
|
};
|
|
11314
|
+
upsert_auto_fulfillment_log: {
|
|
11315
|
+
Args: {
|
|
11316
|
+
p_connection_id: string;
|
|
11317
|
+
p_error?: string;
|
|
11318
|
+
p_fulfillment_order_id?: string;
|
|
11319
|
+
p_reason?: string;
|
|
11320
|
+
p_sales_order_id: string;
|
|
11321
|
+
p_status: string;
|
|
11322
|
+
};
|
|
11323
|
+
Returns: undefined;
|
|
11324
|
+
};
|
|
11194
11325
|
};
|
|
11195
11326
|
Enums: {
|
|
11196
11327
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -11485,6 +11616,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11485
11616
|
created_at: string;
|
|
11486
11617
|
extra_id: string;
|
|
11487
11618
|
id: string;
|
|
11619
|
+
original_unit_price: number | null;
|
|
11620
|
+
override_reason: string | null;
|
|
11621
|
+
override_unit_price: number | null;
|
|
11488
11622
|
quantity: number;
|
|
11489
11623
|
total_price: number;
|
|
11490
11624
|
unit_price: number;
|
|
@@ -11494,6 +11628,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11494
11628
|
created_at?: string;
|
|
11495
11629
|
extra_id: string;
|
|
11496
11630
|
id?: string;
|
|
11631
|
+
original_unit_price?: number | null;
|
|
11632
|
+
override_reason?: string | null;
|
|
11633
|
+
override_unit_price?: number | null;
|
|
11497
11634
|
quantity?: number;
|
|
11498
11635
|
total_price?: number;
|
|
11499
11636
|
unit_price?: number;
|
|
@@ -11503,6 +11640,9 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11503
11640
|
created_at?: string;
|
|
11504
11641
|
extra_id?: string;
|
|
11505
11642
|
id?: string;
|
|
11643
|
+
original_unit_price?: number | null;
|
|
11644
|
+
override_reason?: string | null;
|
|
11645
|
+
override_unit_price?: number | null;
|
|
11506
11646
|
quantity?: number;
|
|
11507
11647
|
total_price?: number;
|
|
11508
11648
|
unit_price?: number;
|
|
@@ -11523,11 +11663,15 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11523
11663
|
};
|
|
11524
11664
|
bookings: {
|
|
11525
11665
|
Row: {
|
|
11666
|
+
archive_reason: string | null;
|
|
11667
|
+
archived_at: string | null;
|
|
11668
|
+
archived_by: string | null;
|
|
11526
11669
|
company_name: string | null;
|
|
11527
11670
|
conflict_checked_at: string | null;
|
|
11528
11671
|
conflict_reason: string | null;
|
|
11529
11672
|
created_at: string;
|
|
11530
11673
|
created_by_role: string | null;
|
|
11674
|
+
customer_address: string | null;
|
|
11531
11675
|
customer_email: string | null;
|
|
11532
11676
|
customer_name: string | null;
|
|
11533
11677
|
end_time: string;
|
|
@@ -11539,7 +11683,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11539
11683
|
invoiced_at: string | null;
|
|
11540
11684
|
notes: string | null;
|
|
11541
11685
|
number_of_people: number;
|
|
11686
|
+
overridden_at: string | null;
|
|
11687
|
+
overridden_by: string | null;
|
|
11688
|
+
override_reason: string | null;
|
|
11689
|
+
price_override: boolean;
|
|
11542
11690
|
room_id: string;
|
|
11691
|
+
room_price_override: number | null;
|
|
11543
11692
|
start_time: string;
|
|
11544
11693
|
status: string;
|
|
11545
11694
|
total_excl_vat: number | null;
|
|
@@ -11548,11 +11697,15 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11548
11697
|
vat_amount: number | null;
|
|
11549
11698
|
};
|
|
11550
11699
|
Insert: {
|
|
11700
|
+
archive_reason?: string | null;
|
|
11701
|
+
archived_at?: string | null;
|
|
11702
|
+
archived_by?: string | null;
|
|
11551
11703
|
company_name?: string | null;
|
|
11552
11704
|
conflict_checked_at?: string | null;
|
|
11553
11705
|
conflict_reason?: string | null;
|
|
11554
11706
|
created_at?: string;
|
|
11555
11707
|
created_by_role?: string | null;
|
|
11708
|
+
customer_address?: string | null;
|
|
11556
11709
|
customer_email?: string | null;
|
|
11557
11710
|
customer_name?: string | null;
|
|
11558
11711
|
end_time: string;
|
|
@@ -11564,7 +11717,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11564
11717
|
invoiced_at?: string | null;
|
|
11565
11718
|
notes?: string | null;
|
|
11566
11719
|
number_of_people?: number;
|
|
11720
|
+
overridden_at?: string | null;
|
|
11721
|
+
overridden_by?: string | null;
|
|
11722
|
+
override_reason?: string | null;
|
|
11723
|
+
price_override?: boolean;
|
|
11567
11724
|
room_id: string;
|
|
11725
|
+
room_price_override?: number | null;
|
|
11568
11726
|
start_time: string;
|
|
11569
11727
|
status?: string;
|
|
11570
11728
|
total_excl_vat?: number | null;
|
|
@@ -11573,11 +11731,15 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11573
11731
|
vat_amount?: number | null;
|
|
11574
11732
|
};
|
|
11575
11733
|
Update: {
|
|
11734
|
+
archive_reason?: string | null;
|
|
11735
|
+
archived_at?: string | null;
|
|
11736
|
+
archived_by?: string | null;
|
|
11576
11737
|
company_name?: string | null;
|
|
11577
11738
|
conflict_checked_at?: string | null;
|
|
11578
11739
|
conflict_reason?: string | null;
|
|
11579
11740
|
created_at?: string;
|
|
11580
11741
|
created_by_role?: string | null;
|
|
11742
|
+
customer_address?: string | null;
|
|
11581
11743
|
customer_email?: string | null;
|
|
11582
11744
|
customer_name?: string | null;
|
|
11583
11745
|
end_time?: string;
|
|
@@ -11589,7 +11751,12 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
11589
11751
|
invoiced_at?: string | null;
|
|
11590
11752
|
notes?: string | null;
|
|
11591
11753
|
number_of_people?: number;
|
|
11754
|
+
overridden_at?: string | null;
|
|
11755
|
+
overridden_by?: string | null;
|
|
11756
|
+
override_reason?: string | null;
|
|
11757
|
+
price_override?: boolean;
|
|
11592
11758
|
room_id?: string;
|
|
11759
|
+
room_price_override?: number | null;
|
|
11593
11760
|
start_time?: string;
|
|
11594
11761
|
status?: string;
|
|
11595
11762
|
total_excl_vat?: number | null;
|
|
@@ -12418,8 +12585,27 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12418
12585
|
customers: {
|
|
12419
12586
|
Row: {
|
|
12420
12587
|
address: string | null;
|
|
12588
|
+
address_line1: string | null;
|
|
12589
|
+
address_line2: string | null;
|
|
12590
|
+
address_type: string | null;
|
|
12591
|
+
attention_to: string | null;
|
|
12592
|
+
bank_account_holder: string | null;
|
|
12593
|
+
bank_account_number: string | null;
|
|
12594
|
+
bank_address_line1: string | null;
|
|
12595
|
+
bank_address_line2: string | null;
|
|
12596
|
+
bank_bic: string | null;
|
|
12597
|
+
bank_city: string | null;
|
|
12598
|
+
bank_country: string | null;
|
|
12599
|
+
bank_house_number: string | null;
|
|
12600
|
+
bank_iban: string | null;
|
|
12601
|
+
bank_name: string | null;
|
|
12602
|
+
bank_national_code: string | null;
|
|
12603
|
+
bank_postal_code: string | null;
|
|
12604
|
+
bank_state: string | null;
|
|
12605
|
+
billing_email: string | null;
|
|
12421
12606
|
bio: string | null;
|
|
12422
12607
|
city: string | null;
|
|
12608
|
+
coc_number: string | null;
|
|
12423
12609
|
commercial_name: string | null;
|
|
12424
12610
|
company_name: string;
|
|
12425
12611
|
connection_status: string;
|
|
@@ -12428,21 +12614,28 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12428
12614
|
created_at: string;
|
|
12429
12615
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
12430
12616
|
customer_class: string | null;
|
|
12617
|
+
customer_number: string | null;
|
|
12618
|
+
discount_days: number | null;
|
|
12619
|
+
discount_percentage: number | null;
|
|
12431
12620
|
email: string | null;
|
|
12432
12621
|
external_id: string | null;
|
|
12622
|
+
fax: string | null;
|
|
12433
12623
|
floriday_connection_id: string | null;
|
|
12434
12624
|
floriday_organization_id: string | null;
|
|
12435
12625
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
12436
12626
|
gln: string | null;
|
|
12437
12627
|
house_number: string | null;
|
|
12628
|
+
icp_country_code: string | null;
|
|
12438
12629
|
id: string;
|
|
12439
12630
|
is_active: boolean;
|
|
12631
|
+
language: string | null;
|
|
12440
12632
|
last_synced_at: string | null;
|
|
12441
12633
|
logo_url: string | null;
|
|
12442
12634
|
markets: string[];
|
|
12443
12635
|
notes: string | null;
|
|
12444
12636
|
organization_type: string | null;
|
|
12445
12637
|
payment_methods: string[];
|
|
12638
|
+
payment_term_days: number | null;
|
|
12446
12639
|
phone: string | null;
|
|
12447
12640
|
postal_code: string | null;
|
|
12448
12641
|
product_groups: string[];
|
|
@@ -12453,13 +12646,33 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12453
12646
|
sync_status: string;
|
|
12454
12647
|
trade_forms: string[];
|
|
12455
12648
|
updated_at: string;
|
|
12649
|
+
vat_display: string | null;
|
|
12456
12650
|
vat_number: string | null;
|
|
12457
12651
|
website: string | null;
|
|
12458
12652
|
};
|
|
12459
12653
|
Insert: {
|
|
12460
12654
|
address?: string | null;
|
|
12655
|
+
address_line1?: string | null;
|
|
12656
|
+
address_line2?: string | null;
|
|
12657
|
+
address_type?: string | null;
|
|
12658
|
+
attention_to?: string | null;
|
|
12659
|
+
bank_account_holder?: string | null;
|
|
12660
|
+
bank_account_number?: string | null;
|
|
12661
|
+
bank_address_line1?: string | null;
|
|
12662
|
+
bank_address_line2?: string | null;
|
|
12663
|
+
bank_bic?: string | null;
|
|
12664
|
+
bank_city?: string | null;
|
|
12665
|
+
bank_country?: string | null;
|
|
12666
|
+
bank_house_number?: string | null;
|
|
12667
|
+
bank_iban?: string | null;
|
|
12668
|
+
bank_name?: string | null;
|
|
12669
|
+
bank_national_code?: string | null;
|
|
12670
|
+
bank_postal_code?: string | null;
|
|
12671
|
+
bank_state?: string | null;
|
|
12672
|
+
billing_email?: string | null;
|
|
12461
12673
|
bio?: string | null;
|
|
12462
12674
|
city?: string | null;
|
|
12675
|
+
coc_number?: string | null;
|
|
12463
12676
|
commercial_name?: string | null;
|
|
12464
12677
|
company_name: string;
|
|
12465
12678
|
connection_status?: string;
|
|
@@ -12468,21 +12681,28 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12468
12681
|
created_at?: string;
|
|
12469
12682
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12470
12683
|
customer_class?: string | null;
|
|
12684
|
+
customer_number?: string | null;
|
|
12685
|
+
discount_days?: number | null;
|
|
12686
|
+
discount_percentage?: number | null;
|
|
12471
12687
|
email?: string | null;
|
|
12472
12688
|
external_id?: string | null;
|
|
12689
|
+
fax?: string | null;
|
|
12473
12690
|
floriday_connection_id?: string | null;
|
|
12474
12691
|
floriday_organization_id?: string | null;
|
|
12475
12692
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12476
12693
|
gln?: string | null;
|
|
12477
12694
|
house_number?: string | null;
|
|
12695
|
+
icp_country_code?: string | null;
|
|
12478
12696
|
id?: string;
|
|
12479
12697
|
is_active?: boolean;
|
|
12698
|
+
language?: string | null;
|
|
12480
12699
|
last_synced_at?: string | null;
|
|
12481
12700
|
logo_url?: string | null;
|
|
12482
12701
|
markets?: string[];
|
|
12483
12702
|
notes?: string | null;
|
|
12484
12703
|
organization_type?: string | null;
|
|
12485
12704
|
payment_methods?: string[];
|
|
12705
|
+
payment_term_days?: number | null;
|
|
12486
12706
|
phone?: string | null;
|
|
12487
12707
|
postal_code?: string | null;
|
|
12488
12708
|
product_groups?: string[];
|
|
@@ -12493,13 +12713,33 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12493
12713
|
sync_status?: string;
|
|
12494
12714
|
trade_forms?: string[];
|
|
12495
12715
|
updated_at?: string;
|
|
12716
|
+
vat_display?: string | null;
|
|
12496
12717
|
vat_number?: string | null;
|
|
12497
12718
|
website?: string | null;
|
|
12498
12719
|
};
|
|
12499
12720
|
Update: {
|
|
12500
12721
|
address?: string | null;
|
|
12722
|
+
address_line1?: string | null;
|
|
12723
|
+
address_line2?: string | null;
|
|
12724
|
+
address_type?: string | null;
|
|
12725
|
+
attention_to?: string | null;
|
|
12726
|
+
bank_account_holder?: string | null;
|
|
12727
|
+
bank_account_number?: string | null;
|
|
12728
|
+
bank_address_line1?: string | null;
|
|
12729
|
+
bank_address_line2?: string | null;
|
|
12730
|
+
bank_bic?: string | null;
|
|
12731
|
+
bank_city?: string | null;
|
|
12732
|
+
bank_country?: string | null;
|
|
12733
|
+
bank_house_number?: string | null;
|
|
12734
|
+
bank_iban?: string | null;
|
|
12735
|
+
bank_name?: string | null;
|
|
12736
|
+
bank_national_code?: string | null;
|
|
12737
|
+
bank_postal_code?: string | null;
|
|
12738
|
+
bank_state?: string | null;
|
|
12739
|
+
billing_email?: string | null;
|
|
12501
12740
|
bio?: string | null;
|
|
12502
12741
|
city?: string | null;
|
|
12742
|
+
coc_number?: string | null;
|
|
12503
12743
|
commercial_name?: string | null;
|
|
12504
12744
|
company_name?: string;
|
|
12505
12745
|
connection_status?: string;
|
|
@@ -12508,21 +12748,28 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12508
12748
|
created_at?: string;
|
|
12509
12749
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
12510
12750
|
customer_class?: string | null;
|
|
12751
|
+
customer_number?: string | null;
|
|
12752
|
+
discount_days?: number | null;
|
|
12753
|
+
discount_percentage?: number | null;
|
|
12511
12754
|
email?: string | null;
|
|
12512
12755
|
external_id?: string | null;
|
|
12756
|
+
fax?: string | null;
|
|
12513
12757
|
floriday_connection_id?: string | null;
|
|
12514
12758
|
floriday_organization_id?: string | null;
|
|
12515
12759
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
12516
12760
|
gln?: string | null;
|
|
12517
12761
|
house_number?: string | null;
|
|
12762
|
+
icp_country_code?: string | null;
|
|
12518
12763
|
id?: string;
|
|
12519
12764
|
is_active?: boolean;
|
|
12765
|
+
language?: string | null;
|
|
12520
12766
|
last_synced_at?: string | null;
|
|
12521
12767
|
logo_url?: string | null;
|
|
12522
12768
|
markets?: string[];
|
|
12523
12769
|
notes?: string | null;
|
|
12524
12770
|
organization_type?: string | null;
|
|
12525
12771
|
payment_methods?: string[];
|
|
12772
|
+
payment_term_days?: number | null;
|
|
12526
12773
|
phone?: string | null;
|
|
12527
12774
|
postal_code?: string | null;
|
|
12528
12775
|
product_groups?: string[];
|
|
@@ -12533,6 +12780,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
12533
12780
|
sync_status?: string;
|
|
12534
12781
|
trade_forms?: string[];
|
|
12535
12782
|
updated_at?: string;
|
|
12783
|
+
vat_display?: string | null;
|
|
12536
12784
|
vat_number?: string | null;
|
|
12537
12785
|
website?: string | null;
|
|
12538
12786
|
};
|
|
@@ -18489,6 +18737,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
18489
18737
|
};
|
|
18490
18738
|
profiles: {
|
|
18491
18739
|
Row: {
|
|
18740
|
+
address: string | null;
|
|
18492
18741
|
created_at: string;
|
|
18493
18742
|
display_name: string | null;
|
|
18494
18743
|
email: string | null;
|
|
@@ -18499,6 +18748,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
18499
18748
|
updated_at: string;
|
|
18500
18749
|
};
|
|
18501
18750
|
Insert: {
|
|
18751
|
+
address?: string | null;
|
|
18502
18752
|
created_at?: string;
|
|
18503
18753
|
display_name?: string | null;
|
|
18504
18754
|
email?: string | null;
|
|
@@ -18509,6 +18759,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
18509
18759
|
updated_at?: string;
|
|
18510
18760
|
};
|
|
18511
18761
|
Update: {
|
|
18762
|
+
address?: string | null;
|
|
18512
18763
|
created_at?: string;
|
|
18513
18764
|
display_name?: string | null;
|
|
18514
18765
|
email?: string | null;
|
|
@@ -21549,7 +21800,7 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
21549
21800
|
};
|
|
21550
21801
|
cleanup_old_bookings: {
|
|
21551
21802
|
Args: never;
|
|
21552
|
-
Returns:
|
|
21803
|
+
Returns: undefined;
|
|
21553
21804
|
};
|
|
21554
21805
|
consume_floriday_rate_limit: {
|
|
21555
21806
|
Args: {
|
|
@@ -22404,6 +22655,17 @@ export declare const rejectSalesOrder: import("@tanstack/start-client-core").Opt
|
|
|
22404
22655
|
};
|
|
22405
22656
|
Returns: string;
|
|
22406
22657
|
};
|
|
22658
|
+
upsert_auto_fulfillment_log: {
|
|
22659
|
+
Args: {
|
|
22660
|
+
p_connection_id: string;
|
|
22661
|
+
p_error?: string;
|
|
22662
|
+
p_fulfillment_order_id?: string;
|
|
22663
|
+
p_reason?: string;
|
|
22664
|
+
p_sales_order_id: string;
|
|
22665
|
+
p_status: string;
|
|
22666
|
+
};
|
|
22667
|
+
Returns: undefined;
|
|
22668
|
+
};
|
|
22407
22669
|
};
|
|
22408
22670
|
Enums: {
|
|
22409
22671
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -22695,6 +22957,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22695
22957
|
created_at: string;
|
|
22696
22958
|
extra_id: string;
|
|
22697
22959
|
id: string;
|
|
22960
|
+
original_unit_price: number | null;
|
|
22961
|
+
override_reason: string | null;
|
|
22962
|
+
override_unit_price: number | null;
|
|
22698
22963
|
quantity: number;
|
|
22699
22964
|
total_price: number;
|
|
22700
22965
|
unit_price: number;
|
|
@@ -22704,6 +22969,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22704
22969
|
created_at?: string;
|
|
22705
22970
|
extra_id: string;
|
|
22706
22971
|
id?: string;
|
|
22972
|
+
original_unit_price?: number | null;
|
|
22973
|
+
override_reason?: string | null;
|
|
22974
|
+
override_unit_price?: number | null;
|
|
22707
22975
|
quantity?: number;
|
|
22708
22976
|
total_price?: number;
|
|
22709
22977
|
unit_price?: number;
|
|
@@ -22713,6 +22981,9 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22713
22981
|
created_at?: string;
|
|
22714
22982
|
extra_id?: string;
|
|
22715
22983
|
id?: string;
|
|
22984
|
+
original_unit_price?: number | null;
|
|
22985
|
+
override_reason?: string | null;
|
|
22986
|
+
override_unit_price?: number | null;
|
|
22716
22987
|
quantity?: number;
|
|
22717
22988
|
total_price?: number;
|
|
22718
22989
|
unit_price?: number;
|
|
@@ -22733,11 +23004,15 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22733
23004
|
};
|
|
22734
23005
|
bookings: {
|
|
22735
23006
|
Row: {
|
|
23007
|
+
archive_reason: string | null;
|
|
23008
|
+
archived_at: string | null;
|
|
23009
|
+
archived_by: string | null;
|
|
22736
23010
|
company_name: string | null;
|
|
22737
23011
|
conflict_checked_at: string | null;
|
|
22738
23012
|
conflict_reason: string | null;
|
|
22739
23013
|
created_at: string;
|
|
22740
23014
|
created_by_role: string | null;
|
|
23015
|
+
customer_address: string | null;
|
|
22741
23016
|
customer_email: string | null;
|
|
22742
23017
|
customer_name: string | null;
|
|
22743
23018
|
end_time: string;
|
|
@@ -22749,7 +23024,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22749
23024
|
invoiced_at: string | null;
|
|
22750
23025
|
notes: string | null;
|
|
22751
23026
|
number_of_people: number;
|
|
23027
|
+
overridden_at: string | null;
|
|
23028
|
+
overridden_by: string | null;
|
|
23029
|
+
override_reason: string | null;
|
|
23030
|
+
price_override: boolean;
|
|
22752
23031
|
room_id: string;
|
|
23032
|
+
room_price_override: number | null;
|
|
22753
23033
|
start_time: string;
|
|
22754
23034
|
status: string;
|
|
22755
23035
|
total_excl_vat: number | null;
|
|
@@ -22758,11 +23038,15 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22758
23038
|
vat_amount: number | null;
|
|
22759
23039
|
};
|
|
22760
23040
|
Insert: {
|
|
23041
|
+
archive_reason?: string | null;
|
|
23042
|
+
archived_at?: string | null;
|
|
23043
|
+
archived_by?: string | null;
|
|
22761
23044
|
company_name?: string | null;
|
|
22762
23045
|
conflict_checked_at?: string | null;
|
|
22763
23046
|
conflict_reason?: string | null;
|
|
22764
23047
|
created_at?: string;
|
|
22765
23048
|
created_by_role?: string | null;
|
|
23049
|
+
customer_address?: string | null;
|
|
22766
23050
|
customer_email?: string | null;
|
|
22767
23051
|
customer_name?: string | null;
|
|
22768
23052
|
end_time: string;
|
|
@@ -22774,7 +23058,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22774
23058
|
invoiced_at?: string | null;
|
|
22775
23059
|
notes?: string | null;
|
|
22776
23060
|
number_of_people?: number;
|
|
23061
|
+
overridden_at?: string | null;
|
|
23062
|
+
overridden_by?: string | null;
|
|
23063
|
+
override_reason?: string | null;
|
|
23064
|
+
price_override?: boolean;
|
|
22777
23065
|
room_id: string;
|
|
23066
|
+
room_price_override?: number | null;
|
|
22778
23067
|
start_time: string;
|
|
22779
23068
|
status?: string;
|
|
22780
23069
|
total_excl_vat?: number | null;
|
|
@@ -22783,11 +23072,15 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22783
23072
|
vat_amount?: number | null;
|
|
22784
23073
|
};
|
|
22785
23074
|
Update: {
|
|
23075
|
+
archive_reason?: string | null;
|
|
23076
|
+
archived_at?: string | null;
|
|
23077
|
+
archived_by?: string | null;
|
|
22786
23078
|
company_name?: string | null;
|
|
22787
23079
|
conflict_checked_at?: string | null;
|
|
22788
23080
|
conflict_reason?: string | null;
|
|
22789
23081
|
created_at?: string;
|
|
22790
23082
|
created_by_role?: string | null;
|
|
23083
|
+
customer_address?: string | null;
|
|
22791
23084
|
customer_email?: string | null;
|
|
22792
23085
|
customer_name?: string | null;
|
|
22793
23086
|
end_time?: string;
|
|
@@ -22799,7 +23092,12 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
22799
23092
|
invoiced_at?: string | null;
|
|
22800
23093
|
notes?: string | null;
|
|
22801
23094
|
number_of_people?: number;
|
|
23095
|
+
overridden_at?: string | null;
|
|
23096
|
+
overridden_by?: string | null;
|
|
23097
|
+
override_reason?: string | null;
|
|
23098
|
+
price_override?: boolean;
|
|
22802
23099
|
room_id?: string;
|
|
23100
|
+
room_price_override?: number | null;
|
|
22803
23101
|
start_time?: string;
|
|
22804
23102
|
status?: string;
|
|
22805
23103
|
total_excl_vat?: number | null;
|
|
@@ -23628,8 +23926,27 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23628
23926
|
customers: {
|
|
23629
23927
|
Row: {
|
|
23630
23928
|
address: string | null;
|
|
23929
|
+
address_line1: string | null;
|
|
23930
|
+
address_line2: string | null;
|
|
23931
|
+
address_type: string | null;
|
|
23932
|
+
attention_to: string | null;
|
|
23933
|
+
bank_account_holder: string | null;
|
|
23934
|
+
bank_account_number: string | null;
|
|
23935
|
+
bank_address_line1: string | null;
|
|
23936
|
+
bank_address_line2: string | null;
|
|
23937
|
+
bank_bic: string | null;
|
|
23938
|
+
bank_city: string | null;
|
|
23939
|
+
bank_country: string | null;
|
|
23940
|
+
bank_house_number: string | null;
|
|
23941
|
+
bank_iban: string | null;
|
|
23942
|
+
bank_name: string | null;
|
|
23943
|
+
bank_national_code: string | null;
|
|
23944
|
+
bank_postal_code: string | null;
|
|
23945
|
+
bank_state: string | null;
|
|
23946
|
+
billing_email: string | null;
|
|
23631
23947
|
bio: string | null;
|
|
23632
23948
|
city: string | null;
|
|
23949
|
+
coc_number: string | null;
|
|
23633
23950
|
commercial_name: string | null;
|
|
23634
23951
|
company_name: string;
|
|
23635
23952
|
connection_status: string;
|
|
@@ -23638,21 +23955,28 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23638
23955
|
created_at: string;
|
|
23639
23956
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
23640
23957
|
customer_class: string | null;
|
|
23958
|
+
customer_number: string | null;
|
|
23959
|
+
discount_days: number | null;
|
|
23960
|
+
discount_percentage: number | null;
|
|
23641
23961
|
email: string | null;
|
|
23642
23962
|
external_id: string | null;
|
|
23963
|
+
fax: string | null;
|
|
23643
23964
|
floriday_connection_id: string | null;
|
|
23644
23965
|
floriday_organization_id: string | null;
|
|
23645
23966
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
23646
23967
|
gln: string | null;
|
|
23647
23968
|
house_number: string | null;
|
|
23969
|
+
icp_country_code: string | null;
|
|
23648
23970
|
id: string;
|
|
23649
23971
|
is_active: boolean;
|
|
23972
|
+
language: string | null;
|
|
23650
23973
|
last_synced_at: string | null;
|
|
23651
23974
|
logo_url: string | null;
|
|
23652
23975
|
markets: string[];
|
|
23653
23976
|
notes: string | null;
|
|
23654
23977
|
organization_type: string | null;
|
|
23655
23978
|
payment_methods: string[];
|
|
23979
|
+
payment_term_days: number | null;
|
|
23656
23980
|
phone: string | null;
|
|
23657
23981
|
postal_code: string | null;
|
|
23658
23982
|
product_groups: string[];
|
|
@@ -23663,13 +23987,33 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23663
23987
|
sync_status: string;
|
|
23664
23988
|
trade_forms: string[];
|
|
23665
23989
|
updated_at: string;
|
|
23990
|
+
vat_display: string | null;
|
|
23666
23991
|
vat_number: string | null;
|
|
23667
23992
|
website: string | null;
|
|
23668
23993
|
};
|
|
23669
23994
|
Insert: {
|
|
23670
23995
|
address?: string | null;
|
|
23996
|
+
address_line1?: string | null;
|
|
23997
|
+
address_line2?: string | null;
|
|
23998
|
+
address_type?: string | null;
|
|
23999
|
+
attention_to?: string | null;
|
|
24000
|
+
bank_account_holder?: string | null;
|
|
24001
|
+
bank_account_number?: string | null;
|
|
24002
|
+
bank_address_line1?: string | null;
|
|
24003
|
+
bank_address_line2?: string | null;
|
|
24004
|
+
bank_bic?: string | null;
|
|
24005
|
+
bank_city?: string | null;
|
|
24006
|
+
bank_country?: string | null;
|
|
24007
|
+
bank_house_number?: string | null;
|
|
24008
|
+
bank_iban?: string | null;
|
|
24009
|
+
bank_name?: string | null;
|
|
24010
|
+
bank_national_code?: string | null;
|
|
24011
|
+
bank_postal_code?: string | null;
|
|
24012
|
+
bank_state?: string | null;
|
|
24013
|
+
billing_email?: string | null;
|
|
23671
24014
|
bio?: string | null;
|
|
23672
24015
|
city?: string | null;
|
|
24016
|
+
coc_number?: string | null;
|
|
23673
24017
|
commercial_name?: string | null;
|
|
23674
24018
|
company_name: string;
|
|
23675
24019
|
connection_status?: string;
|
|
@@ -23678,21 +24022,28 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23678
24022
|
created_at?: string;
|
|
23679
24023
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
23680
24024
|
customer_class?: string | null;
|
|
24025
|
+
customer_number?: string | null;
|
|
24026
|
+
discount_days?: number | null;
|
|
24027
|
+
discount_percentage?: number | null;
|
|
23681
24028
|
email?: string | null;
|
|
23682
24029
|
external_id?: string | null;
|
|
24030
|
+
fax?: string | null;
|
|
23683
24031
|
floriday_connection_id?: string | null;
|
|
23684
24032
|
floriday_organization_id?: string | null;
|
|
23685
24033
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
23686
24034
|
gln?: string | null;
|
|
23687
24035
|
house_number?: string | null;
|
|
24036
|
+
icp_country_code?: string | null;
|
|
23688
24037
|
id?: string;
|
|
23689
24038
|
is_active?: boolean;
|
|
24039
|
+
language?: string | null;
|
|
23690
24040
|
last_synced_at?: string | null;
|
|
23691
24041
|
logo_url?: string | null;
|
|
23692
24042
|
markets?: string[];
|
|
23693
24043
|
notes?: string | null;
|
|
23694
24044
|
organization_type?: string | null;
|
|
23695
24045
|
payment_methods?: string[];
|
|
24046
|
+
payment_term_days?: number | null;
|
|
23696
24047
|
phone?: string | null;
|
|
23697
24048
|
postal_code?: string | null;
|
|
23698
24049
|
product_groups?: string[];
|
|
@@ -23703,13 +24054,33 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23703
24054
|
sync_status?: string;
|
|
23704
24055
|
trade_forms?: string[];
|
|
23705
24056
|
updated_at?: string;
|
|
24057
|
+
vat_display?: string | null;
|
|
23706
24058
|
vat_number?: string | null;
|
|
23707
24059
|
website?: string | null;
|
|
23708
24060
|
};
|
|
23709
24061
|
Update: {
|
|
23710
24062
|
address?: string | null;
|
|
24063
|
+
address_line1?: string | null;
|
|
24064
|
+
address_line2?: string | null;
|
|
24065
|
+
address_type?: string | null;
|
|
24066
|
+
attention_to?: string | null;
|
|
24067
|
+
bank_account_holder?: string | null;
|
|
24068
|
+
bank_account_number?: string | null;
|
|
24069
|
+
bank_address_line1?: string | null;
|
|
24070
|
+
bank_address_line2?: string | null;
|
|
24071
|
+
bank_bic?: string | null;
|
|
24072
|
+
bank_city?: string | null;
|
|
24073
|
+
bank_country?: string | null;
|
|
24074
|
+
bank_house_number?: string | null;
|
|
24075
|
+
bank_iban?: string | null;
|
|
24076
|
+
bank_name?: string | null;
|
|
24077
|
+
bank_national_code?: string | null;
|
|
24078
|
+
bank_postal_code?: string | null;
|
|
24079
|
+
bank_state?: string | null;
|
|
24080
|
+
billing_email?: string | null;
|
|
23711
24081
|
bio?: string | null;
|
|
23712
24082
|
city?: string | null;
|
|
24083
|
+
coc_number?: string | null;
|
|
23713
24084
|
commercial_name?: string | null;
|
|
23714
24085
|
company_name?: string;
|
|
23715
24086
|
connection_status?: string;
|
|
@@ -23718,21 +24089,28 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23718
24089
|
created_at?: string;
|
|
23719
24090
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
23720
24091
|
customer_class?: string | null;
|
|
24092
|
+
customer_number?: string | null;
|
|
24093
|
+
discount_days?: number | null;
|
|
24094
|
+
discount_percentage?: number | null;
|
|
23721
24095
|
email?: string | null;
|
|
23722
24096
|
external_id?: string | null;
|
|
24097
|
+
fax?: string | null;
|
|
23723
24098
|
floriday_connection_id?: string | null;
|
|
23724
24099
|
floriday_organization_id?: string | null;
|
|
23725
24100
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
23726
24101
|
gln?: string | null;
|
|
23727
24102
|
house_number?: string | null;
|
|
24103
|
+
icp_country_code?: string | null;
|
|
23728
24104
|
id?: string;
|
|
23729
24105
|
is_active?: boolean;
|
|
24106
|
+
language?: string | null;
|
|
23730
24107
|
last_synced_at?: string | null;
|
|
23731
24108
|
logo_url?: string | null;
|
|
23732
24109
|
markets?: string[];
|
|
23733
24110
|
notes?: string | null;
|
|
23734
24111
|
organization_type?: string | null;
|
|
23735
24112
|
payment_methods?: string[];
|
|
24113
|
+
payment_term_days?: number | null;
|
|
23736
24114
|
phone?: string | null;
|
|
23737
24115
|
postal_code?: string | null;
|
|
23738
24116
|
product_groups?: string[];
|
|
@@ -23743,6 +24121,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
23743
24121
|
sync_status?: string;
|
|
23744
24122
|
trade_forms?: string[];
|
|
23745
24123
|
updated_at?: string;
|
|
24124
|
+
vat_display?: string | null;
|
|
23746
24125
|
vat_number?: string | null;
|
|
23747
24126
|
website?: string | null;
|
|
23748
24127
|
};
|
|
@@ -29699,6 +30078,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
29699
30078
|
};
|
|
29700
30079
|
profiles: {
|
|
29701
30080
|
Row: {
|
|
30081
|
+
address: string | null;
|
|
29702
30082
|
created_at: string;
|
|
29703
30083
|
display_name: string | null;
|
|
29704
30084
|
email: string | null;
|
|
@@ -29709,6 +30089,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
29709
30089
|
updated_at: string;
|
|
29710
30090
|
};
|
|
29711
30091
|
Insert: {
|
|
30092
|
+
address?: string | null;
|
|
29712
30093
|
created_at?: string;
|
|
29713
30094
|
display_name?: string | null;
|
|
29714
30095
|
email?: string | null;
|
|
@@ -29719,6 +30100,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
29719
30100
|
updated_at?: string;
|
|
29720
30101
|
};
|
|
29721
30102
|
Update: {
|
|
30103
|
+
address?: string | null;
|
|
29722
30104
|
created_at?: string;
|
|
29723
30105
|
display_name?: string | null;
|
|
29724
30106
|
email?: string | null;
|
|
@@ -32759,7 +33141,7 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
32759
33141
|
};
|
|
32760
33142
|
cleanup_old_bookings: {
|
|
32761
33143
|
Args: never;
|
|
32762
|
-
Returns:
|
|
33144
|
+
Returns: undefined;
|
|
32763
33145
|
};
|
|
32764
33146
|
consume_floriday_rate_limit: {
|
|
32765
33147
|
Args: {
|
|
@@ -33614,6 +33996,17 @@ export declare const confirmFulfillmentOrder: import("@tanstack/start-client-cor
|
|
|
33614
33996
|
};
|
|
33615
33997
|
Returns: string;
|
|
33616
33998
|
};
|
|
33999
|
+
upsert_auto_fulfillment_log: {
|
|
34000
|
+
Args: {
|
|
34001
|
+
p_connection_id: string;
|
|
34002
|
+
p_error?: string;
|
|
34003
|
+
p_fulfillment_order_id?: string;
|
|
34004
|
+
p_reason?: string;
|
|
34005
|
+
p_sales_order_id: string;
|
|
34006
|
+
p_status: string;
|
|
34007
|
+
};
|
|
34008
|
+
Returns: undefined;
|
|
34009
|
+
};
|
|
33617
34010
|
};
|
|
33618
34011
|
Enums: {
|
|
33619
34012
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -33908,6 +34301,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33908
34301
|
created_at: string;
|
|
33909
34302
|
extra_id: string;
|
|
33910
34303
|
id: string;
|
|
34304
|
+
original_unit_price: number | null;
|
|
34305
|
+
override_reason: string | null;
|
|
34306
|
+
override_unit_price: number | null;
|
|
33911
34307
|
quantity: number;
|
|
33912
34308
|
total_price: number;
|
|
33913
34309
|
unit_price: number;
|
|
@@ -33917,6 +34313,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33917
34313
|
created_at?: string;
|
|
33918
34314
|
extra_id: string;
|
|
33919
34315
|
id?: string;
|
|
34316
|
+
original_unit_price?: number | null;
|
|
34317
|
+
override_reason?: string | null;
|
|
34318
|
+
override_unit_price?: number | null;
|
|
33920
34319
|
quantity?: number;
|
|
33921
34320
|
total_price?: number;
|
|
33922
34321
|
unit_price?: number;
|
|
@@ -33926,6 +34325,9 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33926
34325
|
created_at?: string;
|
|
33927
34326
|
extra_id?: string;
|
|
33928
34327
|
id?: string;
|
|
34328
|
+
original_unit_price?: number | null;
|
|
34329
|
+
override_reason?: string | null;
|
|
34330
|
+
override_unit_price?: number | null;
|
|
33929
34331
|
quantity?: number;
|
|
33930
34332
|
total_price?: number;
|
|
33931
34333
|
unit_price?: number;
|
|
@@ -33946,11 +34348,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33946
34348
|
};
|
|
33947
34349
|
bookings: {
|
|
33948
34350
|
Row: {
|
|
34351
|
+
archive_reason: string | null;
|
|
34352
|
+
archived_at: string | null;
|
|
34353
|
+
archived_by: string | null;
|
|
33949
34354
|
company_name: string | null;
|
|
33950
34355
|
conflict_checked_at: string | null;
|
|
33951
34356
|
conflict_reason: string | null;
|
|
33952
34357
|
created_at: string;
|
|
33953
34358
|
created_by_role: string | null;
|
|
34359
|
+
customer_address: string | null;
|
|
33954
34360
|
customer_email: string | null;
|
|
33955
34361
|
customer_name: string | null;
|
|
33956
34362
|
end_time: string;
|
|
@@ -33962,7 +34368,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33962
34368
|
invoiced_at: string | null;
|
|
33963
34369
|
notes: string | null;
|
|
33964
34370
|
number_of_people: number;
|
|
34371
|
+
overridden_at: string | null;
|
|
34372
|
+
overridden_by: string | null;
|
|
34373
|
+
override_reason: string | null;
|
|
34374
|
+
price_override: boolean;
|
|
33965
34375
|
room_id: string;
|
|
34376
|
+
room_price_override: number | null;
|
|
33966
34377
|
start_time: string;
|
|
33967
34378
|
status: string;
|
|
33968
34379
|
total_excl_vat: number | null;
|
|
@@ -33971,11 +34382,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33971
34382
|
vat_amount: number | null;
|
|
33972
34383
|
};
|
|
33973
34384
|
Insert: {
|
|
34385
|
+
archive_reason?: string | null;
|
|
34386
|
+
archived_at?: string | null;
|
|
34387
|
+
archived_by?: string | null;
|
|
33974
34388
|
company_name?: string | null;
|
|
33975
34389
|
conflict_checked_at?: string | null;
|
|
33976
34390
|
conflict_reason?: string | null;
|
|
33977
34391
|
created_at?: string;
|
|
33978
34392
|
created_by_role?: string | null;
|
|
34393
|
+
customer_address?: string | null;
|
|
33979
34394
|
customer_email?: string | null;
|
|
33980
34395
|
customer_name?: string | null;
|
|
33981
34396
|
end_time: string;
|
|
@@ -33987,7 +34402,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33987
34402
|
invoiced_at?: string | null;
|
|
33988
34403
|
notes?: string | null;
|
|
33989
34404
|
number_of_people?: number;
|
|
34405
|
+
overridden_at?: string | null;
|
|
34406
|
+
overridden_by?: string | null;
|
|
34407
|
+
override_reason?: string | null;
|
|
34408
|
+
price_override?: boolean;
|
|
33990
34409
|
room_id: string;
|
|
34410
|
+
room_price_override?: number | null;
|
|
33991
34411
|
start_time: string;
|
|
33992
34412
|
status?: string;
|
|
33993
34413
|
total_excl_vat?: number | null;
|
|
@@ -33996,11 +34416,15 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
33996
34416
|
vat_amount?: number | null;
|
|
33997
34417
|
};
|
|
33998
34418
|
Update: {
|
|
34419
|
+
archive_reason?: string | null;
|
|
34420
|
+
archived_at?: string | null;
|
|
34421
|
+
archived_by?: string | null;
|
|
33999
34422
|
company_name?: string | null;
|
|
34000
34423
|
conflict_checked_at?: string | null;
|
|
34001
34424
|
conflict_reason?: string | null;
|
|
34002
34425
|
created_at?: string;
|
|
34003
34426
|
created_by_role?: string | null;
|
|
34427
|
+
customer_address?: string | null;
|
|
34004
34428
|
customer_email?: string | null;
|
|
34005
34429
|
customer_name?: string | null;
|
|
34006
34430
|
end_time?: string;
|
|
@@ -34012,7 +34436,12 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34012
34436
|
invoiced_at?: string | null;
|
|
34013
34437
|
notes?: string | null;
|
|
34014
34438
|
number_of_people?: number;
|
|
34439
|
+
overridden_at?: string | null;
|
|
34440
|
+
overridden_by?: string | null;
|
|
34441
|
+
override_reason?: string | null;
|
|
34442
|
+
price_override?: boolean;
|
|
34015
34443
|
room_id?: string;
|
|
34444
|
+
room_price_override?: number | null;
|
|
34016
34445
|
start_time?: string;
|
|
34017
34446
|
status?: string;
|
|
34018
34447
|
total_excl_vat?: number | null;
|
|
@@ -34841,8 +35270,27 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34841
35270
|
customers: {
|
|
34842
35271
|
Row: {
|
|
34843
35272
|
address: string | null;
|
|
35273
|
+
address_line1: string | null;
|
|
35274
|
+
address_line2: string | null;
|
|
35275
|
+
address_type: string | null;
|
|
35276
|
+
attention_to: string | null;
|
|
35277
|
+
bank_account_holder: string | null;
|
|
35278
|
+
bank_account_number: string | null;
|
|
35279
|
+
bank_address_line1: string | null;
|
|
35280
|
+
bank_address_line2: string | null;
|
|
35281
|
+
bank_bic: string | null;
|
|
35282
|
+
bank_city: string | null;
|
|
35283
|
+
bank_country: string | null;
|
|
35284
|
+
bank_house_number: string | null;
|
|
35285
|
+
bank_iban: string | null;
|
|
35286
|
+
bank_name: string | null;
|
|
35287
|
+
bank_national_code: string | null;
|
|
35288
|
+
bank_postal_code: string | null;
|
|
35289
|
+
bank_state: string | null;
|
|
35290
|
+
billing_email: string | null;
|
|
34844
35291
|
bio: string | null;
|
|
34845
35292
|
city: string | null;
|
|
35293
|
+
coc_number: string | null;
|
|
34846
35294
|
commercial_name: string | null;
|
|
34847
35295
|
company_name: string;
|
|
34848
35296
|
connection_status: string;
|
|
@@ -34851,21 +35299,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34851
35299
|
created_at: string;
|
|
34852
35300
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
34853
35301
|
customer_class: string | null;
|
|
35302
|
+
customer_number: string | null;
|
|
35303
|
+
discount_days: number | null;
|
|
35304
|
+
discount_percentage: number | null;
|
|
34854
35305
|
email: string | null;
|
|
34855
35306
|
external_id: string | null;
|
|
35307
|
+
fax: string | null;
|
|
34856
35308
|
floriday_connection_id: string | null;
|
|
34857
35309
|
floriday_organization_id: string | null;
|
|
34858
35310
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
34859
35311
|
gln: string | null;
|
|
34860
35312
|
house_number: string | null;
|
|
35313
|
+
icp_country_code: string | null;
|
|
34861
35314
|
id: string;
|
|
34862
35315
|
is_active: boolean;
|
|
35316
|
+
language: string | null;
|
|
34863
35317
|
last_synced_at: string | null;
|
|
34864
35318
|
logo_url: string | null;
|
|
34865
35319
|
markets: string[];
|
|
34866
35320
|
notes: string | null;
|
|
34867
35321
|
organization_type: string | null;
|
|
34868
35322
|
payment_methods: string[];
|
|
35323
|
+
payment_term_days: number | null;
|
|
34869
35324
|
phone: string | null;
|
|
34870
35325
|
postal_code: string | null;
|
|
34871
35326
|
product_groups: string[];
|
|
@@ -34876,13 +35331,33 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34876
35331
|
sync_status: string;
|
|
34877
35332
|
trade_forms: string[];
|
|
34878
35333
|
updated_at: string;
|
|
35334
|
+
vat_display: string | null;
|
|
34879
35335
|
vat_number: string | null;
|
|
34880
35336
|
website: string | null;
|
|
34881
35337
|
};
|
|
34882
35338
|
Insert: {
|
|
34883
35339
|
address?: string | null;
|
|
35340
|
+
address_line1?: string | null;
|
|
35341
|
+
address_line2?: string | null;
|
|
35342
|
+
address_type?: string | null;
|
|
35343
|
+
attention_to?: string | null;
|
|
35344
|
+
bank_account_holder?: string | null;
|
|
35345
|
+
bank_account_number?: string | null;
|
|
35346
|
+
bank_address_line1?: string | null;
|
|
35347
|
+
bank_address_line2?: string | null;
|
|
35348
|
+
bank_bic?: string | null;
|
|
35349
|
+
bank_city?: string | null;
|
|
35350
|
+
bank_country?: string | null;
|
|
35351
|
+
bank_house_number?: string | null;
|
|
35352
|
+
bank_iban?: string | null;
|
|
35353
|
+
bank_name?: string | null;
|
|
35354
|
+
bank_national_code?: string | null;
|
|
35355
|
+
bank_postal_code?: string | null;
|
|
35356
|
+
bank_state?: string | null;
|
|
35357
|
+
billing_email?: string | null;
|
|
34884
35358
|
bio?: string | null;
|
|
34885
35359
|
city?: string | null;
|
|
35360
|
+
coc_number?: string | null;
|
|
34886
35361
|
commercial_name?: string | null;
|
|
34887
35362
|
company_name: string;
|
|
34888
35363
|
connection_status?: string;
|
|
@@ -34891,21 +35366,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34891
35366
|
created_at?: string;
|
|
34892
35367
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
34893
35368
|
customer_class?: string | null;
|
|
35369
|
+
customer_number?: string | null;
|
|
35370
|
+
discount_days?: number | null;
|
|
35371
|
+
discount_percentage?: number | null;
|
|
34894
35372
|
email?: string | null;
|
|
34895
35373
|
external_id?: string | null;
|
|
35374
|
+
fax?: string | null;
|
|
34896
35375
|
floriday_connection_id?: string | null;
|
|
34897
35376
|
floriday_organization_id?: string | null;
|
|
34898
35377
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
34899
35378
|
gln?: string | null;
|
|
34900
35379
|
house_number?: string | null;
|
|
35380
|
+
icp_country_code?: string | null;
|
|
34901
35381
|
id?: string;
|
|
34902
35382
|
is_active?: boolean;
|
|
35383
|
+
language?: string | null;
|
|
34903
35384
|
last_synced_at?: string | null;
|
|
34904
35385
|
logo_url?: string | null;
|
|
34905
35386
|
markets?: string[];
|
|
34906
35387
|
notes?: string | null;
|
|
34907
35388
|
organization_type?: string | null;
|
|
34908
35389
|
payment_methods?: string[];
|
|
35390
|
+
payment_term_days?: number | null;
|
|
34909
35391
|
phone?: string | null;
|
|
34910
35392
|
postal_code?: string | null;
|
|
34911
35393
|
product_groups?: string[];
|
|
@@ -34916,13 +35398,33 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34916
35398
|
sync_status?: string;
|
|
34917
35399
|
trade_forms?: string[];
|
|
34918
35400
|
updated_at?: string;
|
|
35401
|
+
vat_display?: string | null;
|
|
34919
35402
|
vat_number?: string | null;
|
|
34920
35403
|
website?: string | null;
|
|
34921
35404
|
};
|
|
34922
35405
|
Update: {
|
|
34923
35406
|
address?: string | null;
|
|
35407
|
+
address_line1?: string | null;
|
|
35408
|
+
address_line2?: string | null;
|
|
35409
|
+
address_type?: string | null;
|
|
35410
|
+
attention_to?: string | null;
|
|
35411
|
+
bank_account_holder?: string | null;
|
|
35412
|
+
bank_account_number?: string | null;
|
|
35413
|
+
bank_address_line1?: string | null;
|
|
35414
|
+
bank_address_line2?: string | null;
|
|
35415
|
+
bank_bic?: string | null;
|
|
35416
|
+
bank_city?: string | null;
|
|
35417
|
+
bank_country?: string | null;
|
|
35418
|
+
bank_house_number?: string | null;
|
|
35419
|
+
bank_iban?: string | null;
|
|
35420
|
+
bank_name?: string | null;
|
|
35421
|
+
bank_national_code?: string | null;
|
|
35422
|
+
bank_postal_code?: string | null;
|
|
35423
|
+
bank_state?: string | null;
|
|
35424
|
+
billing_email?: string | null;
|
|
34924
35425
|
bio?: string | null;
|
|
34925
35426
|
city?: string | null;
|
|
35427
|
+
coc_number?: string | null;
|
|
34926
35428
|
commercial_name?: string | null;
|
|
34927
35429
|
company_name?: string;
|
|
34928
35430
|
connection_status?: string;
|
|
@@ -34931,21 +35433,28 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34931
35433
|
created_at?: string;
|
|
34932
35434
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
34933
35435
|
customer_class?: string | null;
|
|
35436
|
+
customer_number?: string | null;
|
|
35437
|
+
discount_days?: number | null;
|
|
35438
|
+
discount_percentage?: number | null;
|
|
34934
35439
|
email?: string | null;
|
|
34935
35440
|
external_id?: string | null;
|
|
35441
|
+
fax?: string | null;
|
|
34936
35442
|
floriday_connection_id?: string | null;
|
|
34937
35443
|
floriday_organization_id?: string | null;
|
|
34938
35444
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
34939
35445
|
gln?: string | null;
|
|
34940
35446
|
house_number?: string | null;
|
|
35447
|
+
icp_country_code?: string | null;
|
|
34941
35448
|
id?: string;
|
|
34942
35449
|
is_active?: boolean;
|
|
35450
|
+
language?: string | null;
|
|
34943
35451
|
last_synced_at?: string | null;
|
|
34944
35452
|
logo_url?: string | null;
|
|
34945
35453
|
markets?: string[];
|
|
34946
35454
|
notes?: string | null;
|
|
34947
35455
|
organization_type?: string | null;
|
|
34948
35456
|
payment_methods?: string[];
|
|
35457
|
+
payment_term_days?: number | null;
|
|
34949
35458
|
phone?: string | null;
|
|
34950
35459
|
postal_code?: string | null;
|
|
34951
35460
|
product_groups?: string[];
|
|
@@ -34956,6 +35465,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
34956
35465
|
sync_status?: string;
|
|
34957
35466
|
trade_forms?: string[];
|
|
34958
35467
|
updated_at?: string;
|
|
35468
|
+
vat_display?: string | null;
|
|
34959
35469
|
vat_number?: string | null;
|
|
34960
35470
|
website?: string | null;
|
|
34961
35471
|
};
|
|
@@ -40912,6 +41422,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
40912
41422
|
};
|
|
40913
41423
|
profiles: {
|
|
40914
41424
|
Row: {
|
|
41425
|
+
address: string | null;
|
|
40915
41426
|
created_at: string;
|
|
40916
41427
|
display_name: string | null;
|
|
40917
41428
|
email: string | null;
|
|
@@ -40922,6 +41433,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
40922
41433
|
updated_at: string;
|
|
40923
41434
|
};
|
|
40924
41435
|
Insert: {
|
|
41436
|
+
address?: string | null;
|
|
40925
41437
|
created_at?: string;
|
|
40926
41438
|
display_name?: string | null;
|
|
40927
41439
|
email?: string | null;
|
|
@@ -40932,6 +41444,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
40932
41444
|
updated_at?: string;
|
|
40933
41445
|
};
|
|
40934
41446
|
Update: {
|
|
41447
|
+
address?: string | null;
|
|
40935
41448
|
created_at?: string;
|
|
40936
41449
|
display_name?: string | null;
|
|
40937
41450
|
email?: string | null;
|
|
@@ -43972,7 +44485,7 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
43972
44485
|
};
|
|
43973
44486
|
cleanup_old_bookings: {
|
|
43974
44487
|
Args: never;
|
|
43975
|
-
Returns:
|
|
44488
|
+
Returns: undefined;
|
|
43976
44489
|
};
|
|
43977
44490
|
consume_floriday_rate_limit: {
|
|
43978
44491
|
Args: {
|
|
@@ -44827,6 +45340,17 @@ export declare const publishTradeItem: import("@tanstack/start-client-core").Opt
|
|
|
44827
45340
|
};
|
|
44828
45341
|
Returns: string;
|
|
44829
45342
|
};
|
|
45343
|
+
upsert_auto_fulfillment_log: {
|
|
45344
|
+
Args: {
|
|
45345
|
+
p_connection_id: string;
|
|
45346
|
+
p_error?: string;
|
|
45347
|
+
p_fulfillment_order_id?: string;
|
|
45348
|
+
p_reason?: string;
|
|
45349
|
+
p_sales_order_id: string;
|
|
45350
|
+
p_status: string;
|
|
45351
|
+
};
|
|
45352
|
+
Returns: undefined;
|
|
45353
|
+
};
|
|
44830
45354
|
};
|
|
44831
45355
|
Enums: {
|
|
44832
45356
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|
|
@@ -45118,6 +45642,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45118
45642
|
created_at: string;
|
|
45119
45643
|
extra_id: string;
|
|
45120
45644
|
id: string;
|
|
45645
|
+
original_unit_price: number | null;
|
|
45646
|
+
override_reason: string | null;
|
|
45647
|
+
override_unit_price: number | null;
|
|
45121
45648
|
quantity: number;
|
|
45122
45649
|
total_price: number;
|
|
45123
45650
|
unit_price: number;
|
|
@@ -45127,6 +45654,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45127
45654
|
created_at?: string;
|
|
45128
45655
|
extra_id: string;
|
|
45129
45656
|
id?: string;
|
|
45657
|
+
original_unit_price?: number | null;
|
|
45658
|
+
override_reason?: string | null;
|
|
45659
|
+
override_unit_price?: number | null;
|
|
45130
45660
|
quantity?: number;
|
|
45131
45661
|
total_price?: number;
|
|
45132
45662
|
unit_price?: number;
|
|
@@ -45136,6 +45666,9 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45136
45666
|
created_at?: string;
|
|
45137
45667
|
extra_id?: string;
|
|
45138
45668
|
id?: string;
|
|
45669
|
+
original_unit_price?: number | null;
|
|
45670
|
+
override_reason?: string | null;
|
|
45671
|
+
override_unit_price?: number | null;
|
|
45139
45672
|
quantity?: number;
|
|
45140
45673
|
total_price?: number;
|
|
45141
45674
|
unit_price?: number;
|
|
@@ -45156,11 +45689,15 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45156
45689
|
};
|
|
45157
45690
|
bookings: {
|
|
45158
45691
|
Row: {
|
|
45692
|
+
archive_reason: string | null;
|
|
45693
|
+
archived_at: string | null;
|
|
45694
|
+
archived_by: string | null;
|
|
45159
45695
|
company_name: string | null;
|
|
45160
45696
|
conflict_checked_at: string | null;
|
|
45161
45697
|
conflict_reason: string | null;
|
|
45162
45698
|
created_at: string;
|
|
45163
45699
|
created_by_role: string | null;
|
|
45700
|
+
customer_address: string | null;
|
|
45164
45701
|
customer_email: string | null;
|
|
45165
45702
|
customer_name: string | null;
|
|
45166
45703
|
end_time: string;
|
|
@@ -45172,7 +45709,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45172
45709
|
invoiced_at: string | null;
|
|
45173
45710
|
notes: string | null;
|
|
45174
45711
|
number_of_people: number;
|
|
45712
|
+
overridden_at: string | null;
|
|
45713
|
+
overridden_by: string | null;
|
|
45714
|
+
override_reason: string | null;
|
|
45715
|
+
price_override: boolean;
|
|
45175
45716
|
room_id: string;
|
|
45717
|
+
room_price_override: number | null;
|
|
45176
45718
|
start_time: string;
|
|
45177
45719
|
status: string;
|
|
45178
45720
|
total_excl_vat: number | null;
|
|
@@ -45181,11 +45723,15 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45181
45723
|
vat_amount: number | null;
|
|
45182
45724
|
};
|
|
45183
45725
|
Insert: {
|
|
45726
|
+
archive_reason?: string | null;
|
|
45727
|
+
archived_at?: string | null;
|
|
45728
|
+
archived_by?: string | null;
|
|
45184
45729
|
company_name?: string | null;
|
|
45185
45730
|
conflict_checked_at?: string | null;
|
|
45186
45731
|
conflict_reason?: string | null;
|
|
45187
45732
|
created_at?: string;
|
|
45188
45733
|
created_by_role?: string | null;
|
|
45734
|
+
customer_address?: string | null;
|
|
45189
45735
|
customer_email?: string | null;
|
|
45190
45736
|
customer_name?: string | null;
|
|
45191
45737
|
end_time: string;
|
|
@@ -45197,7 +45743,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45197
45743
|
invoiced_at?: string | null;
|
|
45198
45744
|
notes?: string | null;
|
|
45199
45745
|
number_of_people?: number;
|
|
45746
|
+
overridden_at?: string | null;
|
|
45747
|
+
overridden_by?: string | null;
|
|
45748
|
+
override_reason?: string | null;
|
|
45749
|
+
price_override?: boolean;
|
|
45200
45750
|
room_id: string;
|
|
45751
|
+
room_price_override?: number | null;
|
|
45201
45752
|
start_time: string;
|
|
45202
45753
|
status?: string;
|
|
45203
45754
|
total_excl_vat?: number | null;
|
|
@@ -45206,11 +45757,15 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45206
45757
|
vat_amount?: number | null;
|
|
45207
45758
|
};
|
|
45208
45759
|
Update: {
|
|
45760
|
+
archive_reason?: string | null;
|
|
45761
|
+
archived_at?: string | null;
|
|
45762
|
+
archived_by?: string | null;
|
|
45209
45763
|
company_name?: string | null;
|
|
45210
45764
|
conflict_checked_at?: string | null;
|
|
45211
45765
|
conflict_reason?: string | null;
|
|
45212
45766
|
created_at?: string;
|
|
45213
45767
|
created_by_role?: string | null;
|
|
45768
|
+
customer_address?: string | null;
|
|
45214
45769
|
customer_email?: string | null;
|
|
45215
45770
|
customer_name?: string | null;
|
|
45216
45771
|
end_time?: string;
|
|
@@ -45222,7 +45777,12 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
45222
45777
|
invoiced_at?: string | null;
|
|
45223
45778
|
notes?: string | null;
|
|
45224
45779
|
number_of_people?: number;
|
|
45780
|
+
overridden_at?: string | null;
|
|
45781
|
+
overridden_by?: string | null;
|
|
45782
|
+
override_reason?: string | null;
|
|
45783
|
+
price_override?: boolean;
|
|
45225
45784
|
room_id?: string;
|
|
45785
|
+
room_price_override?: number | null;
|
|
45226
45786
|
start_time?: string;
|
|
45227
45787
|
status?: string;
|
|
45228
45788
|
total_excl_vat?: number | null;
|
|
@@ -46051,8 +46611,27 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46051
46611
|
customers: {
|
|
46052
46612
|
Row: {
|
|
46053
46613
|
address: string | null;
|
|
46614
|
+
address_line1: string | null;
|
|
46615
|
+
address_line2: string | null;
|
|
46616
|
+
address_type: string | null;
|
|
46617
|
+
attention_to: string | null;
|
|
46618
|
+
bank_account_holder: string | null;
|
|
46619
|
+
bank_account_number: string | null;
|
|
46620
|
+
bank_address_line1: string | null;
|
|
46621
|
+
bank_address_line2: string | null;
|
|
46622
|
+
bank_bic: string | null;
|
|
46623
|
+
bank_city: string | null;
|
|
46624
|
+
bank_country: string | null;
|
|
46625
|
+
bank_house_number: string | null;
|
|
46626
|
+
bank_iban: string | null;
|
|
46627
|
+
bank_name: string | null;
|
|
46628
|
+
bank_national_code: string | null;
|
|
46629
|
+
bank_postal_code: string | null;
|
|
46630
|
+
bank_state: string | null;
|
|
46631
|
+
billing_email: string | null;
|
|
46054
46632
|
bio: string | null;
|
|
46055
46633
|
city: string | null;
|
|
46634
|
+
coc_number: string | null;
|
|
46056
46635
|
commercial_name: string | null;
|
|
46057
46636
|
company_name: string;
|
|
46058
46637
|
connection_status: string;
|
|
@@ -46061,21 +46640,28 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46061
46640
|
created_at: string;
|
|
46062
46641
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
46063
46642
|
customer_class: string | null;
|
|
46643
|
+
customer_number: string | null;
|
|
46644
|
+
discount_days: number | null;
|
|
46645
|
+
discount_percentage: number | null;
|
|
46064
46646
|
email: string | null;
|
|
46065
46647
|
external_id: string | null;
|
|
46648
|
+
fax: string | null;
|
|
46066
46649
|
floriday_connection_id: string | null;
|
|
46067
46650
|
floriday_organization_id: string | null;
|
|
46068
46651
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
46069
46652
|
gln: string | null;
|
|
46070
46653
|
house_number: string | null;
|
|
46654
|
+
icp_country_code: string | null;
|
|
46071
46655
|
id: string;
|
|
46072
46656
|
is_active: boolean;
|
|
46657
|
+
language: string | null;
|
|
46073
46658
|
last_synced_at: string | null;
|
|
46074
46659
|
logo_url: string | null;
|
|
46075
46660
|
markets: string[];
|
|
46076
46661
|
notes: string | null;
|
|
46077
46662
|
organization_type: string | null;
|
|
46078
46663
|
payment_methods: string[];
|
|
46664
|
+
payment_term_days: number | null;
|
|
46079
46665
|
phone: string | null;
|
|
46080
46666
|
postal_code: string | null;
|
|
46081
46667
|
product_groups: string[];
|
|
@@ -46086,13 +46672,33 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46086
46672
|
sync_status: string;
|
|
46087
46673
|
trade_forms: string[];
|
|
46088
46674
|
updated_at: string;
|
|
46675
|
+
vat_display: string | null;
|
|
46089
46676
|
vat_number: string | null;
|
|
46090
46677
|
website: string | null;
|
|
46091
46678
|
};
|
|
46092
46679
|
Insert: {
|
|
46093
46680
|
address?: string | null;
|
|
46681
|
+
address_line1?: string | null;
|
|
46682
|
+
address_line2?: string | null;
|
|
46683
|
+
address_type?: string | null;
|
|
46684
|
+
attention_to?: string | null;
|
|
46685
|
+
bank_account_holder?: string | null;
|
|
46686
|
+
bank_account_number?: string | null;
|
|
46687
|
+
bank_address_line1?: string | null;
|
|
46688
|
+
bank_address_line2?: string | null;
|
|
46689
|
+
bank_bic?: string | null;
|
|
46690
|
+
bank_city?: string | null;
|
|
46691
|
+
bank_country?: string | null;
|
|
46692
|
+
bank_house_number?: string | null;
|
|
46693
|
+
bank_iban?: string | null;
|
|
46694
|
+
bank_name?: string | null;
|
|
46695
|
+
bank_national_code?: string | null;
|
|
46696
|
+
bank_postal_code?: string | null;
|
|
46697
|
+
bank_state?: string | null;
|
|
46698
|
+
billing_email?: string | null;
|
|
46094
46699
|
bio?: string | null;
|
|
46095
46700
|
city?: string | null;
|
|
46701
|
+
coc_number?: string | null;
|
|
46096
46702
|
commercial_name?: string | null;
|
|
46097
46703
|
company_name: string;
|
|
46098
46704
|
connection_status?: string;
|
|
@@ -46101,21 +46707,28 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46101
46707
|
created_at?: string;
|
|
46102
46708
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
46103
46709
|
customer_class?: string | null;
|
|
46710
|
+
customer_number?: string | null;
|
|
46711
|
+
discount_days?: number | null;
|
|
46712
|
+
discount_percentage?: number | null;
|
|
46104
46713
|
email?: string | null;
|
|
46105
46714
|
external_id?: string | null;
|
|
46715
|
+
fax?: string | null;
|
|
46106
46716
|
floriday_connection_id?: string | null;
|
|
46107
46717
|
floriday_organization_id?: string | null;
|
|
46108
46718
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
46109
46719
|
gln?: string | null;
|
|
46110
46720
|
house_number?: string | null;
|
|
46721
|
+
icp_country_code?: string | null;
|
|
46111
46722
|
id?: string;
|
|
46112
46723
|
is_active?: boolean;
|
|
46724
|
+
language?: string | null;
|
|
46113
46725
|
last_synced_at?: string | null;
|
|
46114
46726
|
logo_url?: string | null;
|
|
46115
46727
|
markets?: string[];
|
|
46116
46728
|
notes?: string | null;
|
|
46117
46729
|
organization_type?: string | null;
|
|
46118
46730
|
payment_methods?: string[];
|
|
46731
|
+
payment_term_days?: number | null;
|
|
46119
46732
|
phone?: string | null;
|
|
46120
46733
|
postal_code?: string | null;
|
|
46121
46734
|
product_groups?: string[];
|
|
@@ -46126,13 +46739,33 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46126
46739
|
sync_status?: string;
|
|
46127
46740
|
trade_forms?: string[];
|
|
46128
46741
|
updated_at?: string;
|
|
46742
|
+
vat_display?: string | null;
|
|
46129
46743
|
vat_number?: string | null;
|
|
46130
46744
|
website?: string | null;
|
|
46131
46745
|
};
|
|
46132
46746
|
Update: {
|
|
46133
46747
|
address?: string | null;
|
|
46748
|
+
address_line1?: string | null;
|
|
46749
|
+
address_line2?: string | null;
|
|
46750
|
+
address_type?: string | null;
|
|
46751
|
+
attention_to?: string | null;
|
|
46752
|
+
bank_account_holder?: string | null;
|
|
46753
|
+
bank_account_number?: string | null;
|
|
46754
|
+
bank_address_line1?: string | null;
|
|
46755
|
+
bank_address_line2?: string | null;
|
|
46756
|
+
bank_bic?: string | null;
|
|
46757
|
+
bank_city?: string | null;
|
|
46758
|
+
bank_country?: string | null;
|
|
46759
|
+
bank_house_number?: string | null;
|
|
46760
|
+
bank_iban?: string | null;
|
|
46761
|
+
bank_name?: string | null;
|
|
46762
|
+
bank_national_code?: string | null;
|
|
46763
|
+
bank_postal_code?: string | null;
|
|
46764
|
+
bank_state?: string | null;
|
|
46765
|
+
billing_email?: string | null;
|
|
46134
46766
|
bio?: string | null;
|
|
46135
46767
|
city?: string | null;
|
|
46768
|
+
coc_number?: string | null;
|
|
46136
46769
|
commercial_name?: string | null;
|
|
46137
46770
|
company_name?: string;
|
|
46138
46771
|
connection_status?: string;
|
|
@@ -46141,21 +46774,28 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46141
46774
|
created_at?: string;
|
|
46142
46775
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
46143
46776
|
customer_class?: string | null;
|
|
46777
|
+
customer_number?: string | null;
|
|
46778
|
+
discount_days?: number | null;
|
|
46779
|
+
discount_percentage?: number | null;
|
|
46144
46780
|
email?: string | null;
|
|
46145
46781
|
external_id?: string | null;
|
|
46782
|
+
fax?: string | null;
|
|
46146
46783
|
floriday_connection_id?: string | null;
|
|
46147
46784
|
floriday_organization_id?: string | null;
|
|
46148
46785
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
46149
46786
|
gln?: string | null;
|
|
46150
46787
|
house_number?: string | null;
|
|
46788
|
+
icp_country_code?: string | null;
|
|
46151
46789
|
id?: string;
|
|
46152
46790
|
is_active?: boolean;
|
|
46791
|
+
language?: string | null;
|
|
46153
46792
|
last_synced_at?: string | null;
|
|
46154
46793
|
logo_url?: string | null;
|
|
46155
46794
|
markets?: string[];
|
|
46156
46795
|
notes?: string | null;
|
|
46157
46796
|
organization_type?: string | null;
|
|
46158
46797
|
payment_methods?: string[];
|
|
46798
|
+
payment_term_days?: number | null;
|
|
46159
46799
|
phone?: string | null;
|
|
46160
46800
|
postal_code?: string | null;
|
|
46161
46801
|
product_groups?: string[];
|
|
@@ -46166,6 +46806,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
46166
46806
|
sync_status?: string;
|
|
46167
46807
|
trade_forms?: string[];
|
|
46168
46808
|
updated_at?: string;
|
|
46809
|
+
vat_display?: string | null;
|
|
46169
46810
|
vat_number?: string | null;
|
|
46170
46811
|
website?: string | null;
|
|
46171
46812
|
};
|
|
@@ -52122,6 +52763,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
52122
52763
|
};
|
|
52123
52764
|
profiles: {
|
|
52124
52765
|
Row: {
|
|
52766
|
+
address: string | null;
|
|
52125
52767
|
created_at: string;
|
|
52126
52768
|
display_name: string | null;
|
|
52127
52769
|
email: string | null;
|
|
@@ -52132,6 +52774,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
52132
52774
|
updated_at: string;
|
|
52133
52775
|
};
|
|
52134
52776
|
Insert: {
|
|
52777
|
+
address?: string | null;
|
|
52135
52778
|
created_at?: string;
|
|
52136
52779
|
display_name?: string | null;
|
|
52137
52780
|
email?: string | null;
|
|
@@ -52142,6 +52785,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
52142
52785
|
updated_at?: string;
|
|
52143
52786
|
};
|
|
52144
52787
|
Update: {
|
|
52788
|
+
address?: string | null;
|
|
52145
52789
|
created_at?: string;
|
|
52146
52790
|
display_name?: string | null;
|
|
52147
52791
|
email?: string | null;
|
|
@@ -55182,7 +55826,7 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
55182
55826
|
};
|
|
55183
55827
|
cleanup_old_bookings: {
|
|
55184
55828
|
Args: never;
|
|
55185
|
-
Returns:
|
|
55829
|
+
Returns: undefined;
|
|
55186
55830
|
};
|
|
55187
55831
|
consume_floriday_rate_limit: {
|
|
55188
55832
|
Args: {
|
|
@@ -56037,6 +56681,17 @@ export declare const upsertSupplyLine: import("@tanstack/start-client-core").Opt
|
|
|
56037
56681
|
};
|
|
56038
56682
|
Returns: string;
|
|
56039
56683
|
};
|
|
56684
|
+
upsert_auto_fulfillment_log: {
|
|
56685
|
+
Args: {
|
|
56686
|
+
p_connection_id: string;
|
|
56687
|
+
p_error?: string;
|
|
56688
|
+
p_fulfillment_order_id?: string;
|
|
56689
|
+
p_reason?: string;
|
|
56690
|
+
p_sales_order_id: string;
|
|
56691
|
+
p_status: string;
|
|
56692
|
+
};
|
|
56693
|
+
Returns: undefined;
|
|
56694
|
+
};
|
|
56040
56695
|
};
|
|
56041
56696
|
Enums: {
|
|
56042
56697
|
app_role: "admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "monteur";
|