@flowselections/floriday-authenticatie-module 1.0.19 → 1.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/settings/FlorydaySettingsCard.js +0 -3
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1047 -169
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1047 -169
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +1047 -169
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1082 -177
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode.functions.d.ts +7400 -1254
- package/dist-lib/lib/floricode.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts +1047 -169
- package/dist-lib/lib/floriday-auction-letters.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-labels.functions.d.ts +1047 -169
- package/dist-lib/lib/floriday-labels.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-public.functions.d.ts +6338 -1070
- package/dist-lib/lib/floriday-public.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-scopes.d.ts +0 -8
- package/dist-lib/lib/floriday-scopes.d.ts.map +1 -1
- package/dist-lib/lib/floriday-scopes.js +4 -28
- package/dist-lib/lib/floriday-stickers.functions.d.ts +1047 -169
- package/dist-lib/lib/floriday-stickers.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.d.ts +32942 -28268
- package/dist-lib/lib/floriday-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-sync.functions.js +62 -145
- package/dist-lib/lib/floriday-writes.functions.d.ts +6344 -1112
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +19100 -3404
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.js +47 -21
- package/package.json +3 -3
|
@@ -253,6 +253,165 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
253
253
|
};
|
|
254
254
|
Relationships: [];
|
|
255
255
|
};
|
|
256
|
+
ai_credentials: {
|
|
257
|
+
Row: {
|
|
258
|
+
active: boolean;
|
|
259
|
+
api_key: string;
|
|
260
|
+
created_at: string;
|
|
261
|
+
created_by: string | null;
|
|
262
|
+
id: string;
|
|
263
|
+
label: string;
|
|
264
|
+
provider_id: string;
|
|
265
|
+
updated_at: string;
|
|
266
|
+
};
|
|
267
|
+
Insert: {
|
|
268
|
+
active?: boolean;
|
|
269
|
+
api_key: string;
|
|
270
|
+
created_at?: string;
|
|
271
|
+
created_by?: string | null;
|
|
272
|
+
id?: string;
|
|
273
|
+
label: string;
|
|
274
|
+
provider_id: string;
|
|
275
|
+
updated_at?: string;
|
|
276
|
+
};
|
|
277
|
+
Update: {
|
|
278
|
+
active?: boolean;
|
|
279
|
+
api_key?: string;
|
|
280
|
+
created_at?: string;
|
|
281
|
+
created_by?: string | null;
|
|
282
|
+
id?: string;
|
|
283
|
+
label?: string;
|
|
284
|
+
provider_id?: string;
|
|
285
|
+
updated_at?: string;
|
|
286
|
+
};
|
|
287
|
+
Relationships: [{
|
|
288
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
289
|
+
columns: ["provider_id"];
|
|
290
|
+
isOneToOne: false;
|
|
291
|
+
referencedRelation: "ai_providers";
|
|
292
|
+
referencedColumns: ["id"];
|
|
293
|
+
}];
|
|
294
|
+
};
|
|
295
|
+
ai_models: {
|
|
296
|
+
Row: {
|
|
297
|
+
active: boolean;
|
|
298
|
+
context_window: number | null;
|
|
299
|
+
created_at: string;
|
|
300
|
+
display_name: string;
|
|
301
|
+
id: string;
|
|
302
|
+
is_default: boolean;
|
|
303
|
+
modality: string;
|
|
304
|
+
provider_id: string;
|
|
305
|
+
slug: string;
|
|
306
|
+
updated_at: string;
|
|
307
|
+
};
|
|
308
|
+
Insert: {
|
|
309
|
+
active?: boolean;
|
|
310
|
+
context_window?: number | null;
|
|
311
|
+
created_at?: string;
|
|
312
|
+
display_name: string;
|
|
313
|
+
id?: string;
|
|
314
|
+
is_default?: boolean;
|
|
315
|
+
modality?: string;
|
|
316
|
+
provider_id: string;
|
|
317
|
+
slug: string;
|
|
318
|
+
updated_at?: string;
|
|
319
|
+
};
|
|
320
|
+
Update: {
|
|
321
|
+
active?: boolean;
|
|
322
|
+
context_window?: number | null;
|
|
323
|
+
created_at?: string;
|
|
324
|
+
display_name?: string;
|
|
325
|
+
id?: string;
|
|
326
|
+
is_default?: boolean;
|
|
327
|
+
modality?: string;
|
|
328
|
+
provider_id?: string;
|
|
329
|
+
slug?: string;
|
|
330
|
+
updated_at?: string;
|
|
331
|
+
};
|
|
332
|
+
Relationships: [{
|
|
333
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
334
|
+
columns: ["provider_id"];
|
|
335
|
+
isOneToOne: false;
|
|
336
|
+
referencedRelation: "ai_providers";
|
|
337
|
+
referencedColumns: ["id"];
|
|
338
|
+
}];
|
|
339
|
+
};
|
|
340
|
+
ai_module_bindings: {
|
|
341
|
+
Row: {
|
|
342
|
+
consumer_module_id: string;
|
|
343
|
+
created_at: string;
|
|
344
|
+
credential_id: string;
|
|
345
|
+
id: string;
|
|
346
|
+
model_id: string;
|
|
347
|
+
notes: string | null;
|
|
348
|
+
updated_at: string;
|
|
349
|
+
};
|
|
350
|
+
Insert: {
|
|
351
|
+
consumer_module_id: string;
|
|
352
|
+
created_at?: string;
|
|
353
|
+
credential_id: string;
|
|
354
|
+
id?: string;
|
|
355
|
+
model_id: string;
|
|
356
|
+
notes?: string | null;
|
|
357
|
+
updated_at?: string;
|
|
358
|
+
};
|
|
359
|
+
Update: {
|
|
360
|
+
consumer_module_id?: string;
|
|
361
|
+
created_at?: string;
|
|
362
|
+
credential_id?: string;
|
|
363
|
+
id?: string;
|
|
364
|
+
model_id?: string;
|
|
365
|
+
notes?: string | null;
|
|
366
|
+
updated_at?: string;
|
|
367
|
+
};
|
|
368
|
+
Relationships: [{
|
|
369
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
370
|
+
columns: ["credential_id"];
|
|
371
|
+
isOneToOne: false;
|
|
372
|
+
referencedRelation: "ai_credentials";
|
|
373
|
+
referencedColumns: ["id"];
|
|
374
|
+
}, {
|
|
375
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
376
|
+
columns: ["model_id"];
|
|
377
|
+
isOneToOne: false;
|
|
378
|
+
referencedRelation: "ai_models";
|
|
379
|
+
referencedColumns: ["id"];
|
|
380
|
+
}];
|
|
381
|
+
};
|
|
382
|
+
ai_providers: {
|
|
383
|
+
Row: {
|
|
384
|
+
active: boolean;
|
|
385
|
+
auth_type: string;
|
|
386
|
+
base_url: string | null;
|
|
387
|
+
created_at: string;
|
|
388
|
+
id: string;
|
|
389
|
+
name: string;
|
|
390
|
+
slug: string;
|
|
391
|
+
updated_at: string;
|
|
392
|
+
};
|
|
393
|
+
Insert: {
|
|
394
|
+
active?: boolean;
|
|
395
|
+
auth_type?: string;
|
|
396
|
+
base_url?: string | null;
|
|
397
|
+
created_at?: string;
|
|
398
|
+
id?: string;
|
|
399
|
+
name: string;
|
|
400
|
+
slug: string;
|
|
401
|
+
updated_at?: string;
|
|
402
|
+
};
|
|
403
|
+
Update: {
|
|
404
|
+
active?: boolean;
|
|
405
|
+
auth_type?: string;
|
|
406
|
+
base_url?: string | null;
|
|
407
|
+
created_at?: string;
|
|
408
|
+
id?: string;
|
|
409
|
+
name?: string;
|
|
410
|
+
slug?: string;
|
|
411
|
+
updated_at?: string;
|
|
412
|
+
};
|
|
413
|
+
Relationships: [];
|
|
414
|
+
};
|
|
256
415
|
app_settings: {
|
|
257
416
|
Row: {
|
|
258
417
|
created_at: string;
|
|
@@ -1252,8 +1411,27 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1252
1411
|
customers: {
|
|
1253
1412
|
Row: {
|
|
1254
1413
|
address: string | null;
|
|
1414
|
+
address_line1: string | null;
|
|
1415
|
+
address_line2: string | null;
|
|
1416
|
+
address_type: string | null;
|
|
1417
|
+
attention_to: string | null;
|
|
1418
|
+
bank_account_holder: string | null;
|
|
1419
|
+
bank_account_number: string | null;
|
|
1420
|
+
bank_address_line1: string | null;
|
|
1421
|
+
bank_address_line2: string | null;
|
|
1422
|
+
bank_bic: string | null;
|
|
1423
|
+
bank_city: string | null;
|
|
1424
|
+
bank_country: string | null;
|
|
1425
|
+
bank_house_number: string | null;
|
|
1426
|
+
bank_iban: string | null;
|
|
1427
|
+
bank_name: string | null;
|
|
1428
|
+
bank_national_code: string | null;
|
|
1429
|
+
bank_postal_code: string | null;
|
|
1430
|
+
bank_state: string | null;
|
|
1431
|
+
billing_email: string | null;
|
|
1255
1432
|
bio: string | null;
|
|
1256
1433
|
city: string | null;
|
|
1434
|
+
coc_number: string | null;
|
|
1257
1435
|
commercial_name: string | null;
|
|
1258
1436
|
company_name: string;
|
|
1259
1437
|
connection_status: string;
|
|
@@ -1262,21 +1440,28 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1262
1440
|
created_at: string;
|
|
1263
1441
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
1264
1442
|
customer_class: string | null;
|
|
1443
|
+
customer_number: string | null;
|
|
1444
|
+
discount_days: number | null;
|
|
1445
|
+
discount_percentage: number | null;
|
|
1265
1446
|
email: string | null;
|
|
1266
1447
|
external_id: string | null;
|
|
1448
|
+
fax: string | null;
|
|
1267
1449
|
floriday_connection_id: string | null;
|
|
1268
1450
|
floriday_organization_id: string | null;
|
|
1269
1451
|
floriday_raw: import("../integrations/supabase/types").Json | null;
|
|
1270
1452
|
gln: string | null;
|
|
1271
1453
|
house_number: string | null;
|
|
1454
|
+
icp_country_code: string | null;
|
|
1272
1455
|
id: string;
|
|
1273
1456
|
is_active: boolean;
|
|
1457
|
+
language: string | null;
|
|
1274
1458
|
last_synced_at: string | null;
|
|
1275
1459
|
logo_url: string | null;
|
|
1276
1460
|
markets: string[];
|
|
1277
1461
|
notes: string | null;
|
|
1278
1462
|
organization_type: string | null;
|
|
1279
1463
|
payment_methods: string[];
|
|
1464
|
+
payment_term_days: number | null;
|
|
1280
1465
|
phone: string | null;
|
|
1281
1466
|
postal_code: string | null;
|
|
1282
1467
|
product_groups: string[];
|
|
@@ -1287,13 +1472,33 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1287
1472
|
sync_status: string;
|
|
1288
1473
|
trade_forms: string[];
|
|
1289
1474
|
updated_at: string;
|
|
1475
|
+
vat_display: string | null;
|
|
1290
1476
|
vat_number: string | null;
|
|
1291
1477
|
website: string | null;
|
|
1292
1478
|
};
|
|
1293
1479
|
Insert: {
|
|
1294
1480
|
address?: string | null;
|
|
1481
|
+
address_line1?: string | null;
|
|
1482
|
+
address_line2?: string | null;
|
|
1483
|
+
address_type?: string | null;
|
|
1484
|
+
attention_to?: string | null;
|
|
1485
|
+
bank_account_holder?: string | null;
|
|
1486
|
+
bank_account_number?: string | null;
|
|
1487
|
+
bank_address_line1?: string | null;
|
|
1488
|
+
bank_address_line2?: string | null;
|
|
1489
|
+
bank_bic?: string | null;
|
|
1490
|
+
bank_city?: string | null;
|
|
1491
|
+
bank_country?: string | null;
|
|
1492
|
+
bank_house_number?: string | null;
|
|
1493
|
+
bank_iban?: string | null;
|
|
1494
|
+
bank_name?: string | null;
|
|
1495
|
+
bank_national_code?: string | null;
|
|
1496
|
+
bank_postal_code?: string | null;
|
|
1497
|
+
bank_state?: string | null;
|
|
1498
|
+
billing_email?: string | null;
|
|
1295
1499
|
bio?: string | null;
|
|
1296
1500
|
city?: string | null;
|
|
1501
|
+
coc_number?: string | null;
|
|
1297
1502
|
commercial_name?: string | null;
|
|
1298
1503
|
company_name: string;
|
|
1299
1504
|
connection_status?: string;
|
|
@@ -1302,21 +1507,28 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1302
1507
|
created_at?: string;
|
|
1303
1508
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1304
1509
|
customer_class?: string | null;
|
|
1510
|
+
customer_number?: string | null;
|
|
1511
|
+
discount_days?: number | null;
|
|
1512
|
+
discount_percentage?: number | null;
|
|
1305
1513
|
email?: string | null;
|
|
1306
1514
|
external_id?: string | null;
|
|
1515
|
+
fax?: string | null;
|
|
1307
1516
|
floriday_connection_id?: string | null;
|
|
1308
1517
|
floriday_organization_id?: string | null;
|
|
1309
1518
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1310
1519
|
gln?: string | null;
|
|
1311
1520
|
house_number?: string | null;
|
|
1521
|
+
icp_country_code?: string | null;
|
|
1312
1522
|
id?: string;
|
|
1313
1523
|
is_active?: boolean;
|
|
1524
|
+
language?: string | null;
|
|
1314
1525
|
last_synced_at?: string | null;
|
|
1315
1526
|
logo_url?: string | null;
|
|
1316
1527
|
markets?: string[];
|
|
1317
1528
|
notes?: string | null;
|
|
1318
1529
|
organization_type?: string | null;
|
|
1319
1530
|
payment_methods?: string[];
|
|
1531
|
+
payment_term_days?: number | null;
|
|
1320
1532
|
phone?: string | null;
|
|
1321
1533
|
postal_code?: string | null;
|
|
1322
1534
|
product_groups?: string[];
|
|
@@ -1327,13 +1539,33 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1327
1539
|
sync_status?: string;
|
|
1328
1540
|
trade_forms?: string[];
|
|
1329
1541
|
updated_at?: string;
|
|
1542
|
+
vat_display?: string | null;
|
|
1330
1543
|
vat_number?: string | null;
|
|
1331
1544
|
website?: string | null;
|
|
1332
1545
|
};
|
|
1333
1546
|
Update: {
|
|
1334
1547
|
address?: string | null;
|
|
1548
|
+
address_line1?: string | null;
|
|
1549
|
+
address_line2?: string | null;
|
|
1550
|
+
address_type?: string | null;
|
|
1551
|
+
attention_to?: string | null;
|
|
1552
|
+
bank_account_holder?: string | null;
|
|
1553
|
+
bank_account_number?: string | null;
|
|
1554
|
+
bank_address_line1?: string | null;
|
|
1555
|
+
bank_address_line2?: string | null;
|
|
1556
|
+
bank_bic?: string | null;
|
|
1557
|
+
bank_city?: string | null;
|
|
1558
|
+
bank_country?: string | null;
|
|
1559
|
+
bank_house_number?: string | null;
|
|
1560
|
+
bank_iban?: string | null;
|
|
1561
|
+
bank_name?: string | null;
|
|
1562
|
+
bank_national_code?: string | null;
|
|
1563
|
+
bank_postal_code?: string | null;
|
|
1564
|
+
bank_state?: string | null;
|
|
1565
|
+
billing_email?: string | null;
|
|
1335
1566
|
bio?: string | null;
|
|
1336
1567
|
city?: string | null;
|
|
1568
|
+
coc_number?: string | null;
|
|
1337
1569
|
commercial_name?: string | null;
|
|
1338
1570
|
company_name?: string;
|
|
1339
1571
|
connection_status?: string;
|
|
@@ -1342,21 +1574,28 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1342
1574
|
created_at?: string;
|
|
1343
1575
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
1344
1576
|
customer_class?: string | null;
|
|
1577
|
+
customer_number?: string | null;
|
|
1578
|
+
discount_days?: number | null;
|
|
1579
|
+
discount_percentage?: number | null;
|
|
1345
1580
|
email?: string | null;
|
|
1346
1581
|
external_id?: string | null;
|
|
1582
|
+
fax?: string | null;
|
|
1347
1583
|
floriday_connection_id?: string | null;
|
|
1348
1584
|
floriday_organization_id?: string | null;
|
|
1349
1585
|
floriday_raw?: import("../integrations/supabase/types").Json | null;
|
|
1350
1586
|
gln?: string | null;
|
|
1351
1587
|
house_number?: string | null;
|
|
1588
|
+
icp_country_code?: string | null;
|
|
1352
1589
|
id?: string;
|
|
1353
1590
|
is_active?: boolean;
|
|
1591
|
+
language?: string | null;
|
|
1354
1592
|
last_synced_at?: string | null;
|
|
1355
1593
|
logo_url?: string | null;
|
|
1356
1594
|
markets?: string[];
|
|
1357
1595
|
notes?: string | null;
|
|
1358
1596
|
organization_type?: string | null;
|
|
1359
1597
|
payment_methods?: string[];
|
|
1598
|
+
payment_term_days?: number | null;
|
|
1360
1599
|
phone?: string | null;
|
|
1361
1600
|
postal_code?: string | null;
|
|
1362
1601
|
product_groups?: string[];
|
|
@@ -1367,6 +1606,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
1367
1606
|
sync_status?: string;
|
|
1368
1607
|
trade_forms?: string[];
|
|
1369
1608
|
updated_at?: string;
|
|
1609
|
+
vat_display?: string | null;
|
|
1370
1610
|
vat_number?: string | null;
|
|
1371
1611
|
website?: string | null;
|
|
1372
1612
|
};
|
|
@@ -3178,105 +3418,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
3178
3418
|
referencedColumns: ["id"];
|
|
3179
3419
|
}];
|
|
3180
3420
|
};
|
|
3181
|
-
floriday_agreement_calloffs_cache: {
|
|
3182
|
-
Row: {
|
|
3183
|
-
agreement_id: string | null;
|
|
3184
|
-
connection_id: string;
|
|
3185
|
-
data: import("../integrations/supabase/types").Json;
|
|
3186
|
-
delivery_date: string | null;
|
|
3187
|
-
fetched_at: string;
|
|
3188
|
-
floriday_id: string;
|
|
3189
|
-
id: string;
|
|
3190
|
-
is_deleted: boolean;
|
|
3191
|
-
sequence_number: number;
|
|
3192
|
-
status: string | null;
|
|
3193
|
-
updated_at: string;
|
|
3194
|
-
};
|
|
3195
|
-
Insert: {
|
|
3196
|
-
agreement_id?: string | null;
|
|
3197
|
-
connection_id: string;
|
|
3198
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3199
|
-
delivery_date?: string | null;
|
|
3200
|
-
fetched_at?: string;
|
|
3201
|
-
floriday_id: string;
|
|
3202
|
-
id?: string;
|
|
3203
|
-
is_deleted?: boolean;
|
|
3204
|
-
sequence_number?: number;
|
|
3205
|
-
status?: string | null;
|
|
3206
|
-
updated_at?: string;
|
|
3207
|
-
};
|
|
3208
|
-
Update: {
|
|
3209
|
-
agreement_id?: string | null;
|
|
3210
|
-
connection_id?: string;
|
|
3211
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3212
|
-
delivery_date?: string | null;
|
|
3213
|
-
fetched_at?: string;
|
|
3214
|
-
floriday_id?: string;
|
|
3215
|
-
id?: string;
|
|
3216
|
-
is_deleted?: boolean;
|
|
3217
|
-
sequence_number?: number;
|
|
3218
|
-
status?: string | null;
|
|
3219
|
-
updated_at?: string;
|
|
3220
|
-
};
|
|
3221
|
-
Relationships: [{
|
|
3222
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3223
|
-
columns: ["connection_id"];
|
|
3224
|
-
isOneToOne: false;
|
|
3225
|
-
referencedRelation: "floriday_connections";
|
|
3226
|
-
referencedColumns: ["id"];
|
|
3227
|
-
}];
|
|
3228
|
-
};
|
|
3229
|
-
floriday_agreements_cache: {
|
|
3230
|
-
Row: {
|
|
3231
|
-
buyer_organization_id: string | null;
|
|
3232
|
-
connection_id: string;
|
|
3233
|
-
data: import("../integrations/supabase/types").Json;
|
|
3234
|
-
fetched_at: string;
|
|
3235
|
-
floriday_id: string;
|
|
3236
|
-
id: string;
|
|
3237
|
-
is_deleted: boolean;
|
|
3238
|
-
sequence_number: number;
|
|
3239
|
-
status: string | null;
|
|
3240
|
-
updated_at: string;
|
|
3241
|
-
valid_from: string | null;
|
|
3242
|
-
valid_until: string | null;
|
|
3243
|
-
};
|
|
3244
|
-
Insert: {
|
|
3245
|
-
buyer_organization_id?: string | null;
|
|
3246
|
-
connection_id: string;
|
|
3247
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3248
|
-
fetched_at?: string;
|
|
3249
|
-
floriday_id: string;
|
|
3250
|
-
id?: string;
|
|
3251
|
-
is_deleted?: boolean;
|
|
3252
|
-
sequence_number?: number;
|
|
3253
|
-
status?: string | null;
|
|
3254
|
-
updated_at?: string;
|
|
3255
|
-
valid_from?: string | null;
|
|
3256
|
-
valid_until?: string | null;
|
|
3257
|
-
};
|
|
3258
|
-
Update: {
|
|
3259
|
-
buyer_organization_id?: string | null;
|
|
3260
|
-
connection_id?: string;
|
|
3261
|
-
data?: import("../integrations/supabase/types").Json;
|
|
3262
|
-
fetched_at?: string;
|
|
3263
|
-
floriday_id?: string;
|
|
3264
|
-
id?: string;
|
|
3265
|
-
is_deleted?: boolean;
|
|
3266
|
-
sequence_number?: number;
|
|
3267
|
-
status?: string | null;
|
|
3268
|
-
updated_at?: string;
|
|
3269
|
-
valid_from?: string | null;
|
|
3270
|
-
valid_until?: string | null;
|
|
3271
|
-
};
|
|
3272
|
-
Relationships: [{
|
|
3273
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3274
|
-
columns: ["connection_id"];
|
|
3275
|
-
isOneToOne: false;
|
|
3276
|
-
referencedRelation: "floriday_connections";
|
|
3277
|
-
referencedColumns: ["id"];
|
|
3278
|
-
}];
|
|
3279
|
-
};
|
|
3280
3421
|
floriday_auction_letters_cache: {
|
|
3281
3422
|
Row: {
|
|
3282
3423
|
auction_letter_code: string;
|
|
@@ -3775,6 +3916,27 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
3775
3916
|
referencedColumns: ["id"];
|
|
3776
3917
|
}];
|
|
3777
3918
|
};
|
|
3919
|
+
floriday_continuous_stock_cache: {
|
|
3920
|
+
Row: {
|
|
3921
|
+
connection_id: string;
|
|
3922
|
+
fetched_at: string;
|
|
3923
|
+
number_of_pieces: number;
|
|
3924
|
+
trade_item_id: string;
|
|
3925
|
+
};
|
|
3926
|
+
Insert: {
|
|
3927
|
+
connection_id: string;
|
|
3928
|
+
fetched_at?: string;
|
|
3929
|
+
number_of_pieces?: number;
|
|
3930
|
+
trade_item_id: string;
|
|
3931
|
+
};
|
|
3932
|
+
Update: {
|
|
3933
|
+
connection_id?: string;
|
|
3934
|
+
fetched_at?: string;
|
|
3935
|
+
number_of_pieces?: number;
|
|
3936
|
+
trade_item_id?: string;
|
|
3937
|
+
};
|
|
3938
|
+
Relationships: [];
|
|
3939
|
+
};
|
|
3778
3940
|
floriday_continuous_stock_queue: {
|
|
3779
3941
|
Row: {
|
|
3780
3942
|
attempts: number;
|
|
@@ -4550,6 +4712,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4550
4712
|
Row: {
|
|
4551
4713
|
buyer_organization_id: string | null;
|
|
4552
4714
|
connection_id: string;
|
|
4715
|
+
controlled_at: string | null;
|
|
4716
|
+
controlled_by: string | null;
|
|
4553
4717
|
created_at: string;
|
|
4554
4718
|
data: import("../integrations/supabase/types").Json;
|
|
4555
4719
|
floriday_id: string;
|
|
@@ -4561,6 +4725,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4561
4725
|
Insert: {
|
|
4562
4726
|
buyer_organization_id?: string | null;
|
|
4563
4727
|
connection_id: string;
|
|
4728
|
+
controlled_at?: string | null;
|
|
4729
|
+
controlled_by?: string | null;
|
|
4564
4730
|
created_at?: string;
|
|
4565
4731
|
data: import("../integrations/supabase/types").Json;
|
|
4566
4732
|
floriday_id: string;
|
|
@@ -4572,6 +4738,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4572
4738
|
Update: {
|
|
4573
4739
|
buyer_organization_id?: string | null;
|
|
4574
4740
|
connection_id?: string;
|
|
4741
|
+
controlled_at?: string | null;
|
|
4742
|
+
controlled_by?: string | null;
|
|
4575
4743
|
created_at?: string;
|
|
4576
4744
|
data?: import("../integrations/supabase/types").Json;
|
|
4577
4745
|
floriday_id?: string;
|
|
@@ -4753,9 +4921,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4753
4921
|
referencedColumns: ["id"];
|
|
4754
4922
|
}];
|
|
4755
4923
|
};
|
|
4756
|
-
|
|
4924
|
+
floriday_trade_settings_customers_cache: {
|
|
4757
4925
|
Row: {
|
|
4758
|
-
carrier_organization_id: string | null;
|
|
4759
4926
|
connection_id: string;
|
|
4760
4927
|
data: import("../integrations/supabase/types").Json;
|
|
4761
4928
|
fetched_at: string;
|
|
@@ -4763,21 +4930,61 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
4763
4930
|
id: string;
|
|
4764
4931
|
is_deleted: boolean;
|
|
4765
4932
|
sequence_number: number;
|
|
4766
|
-
status: string | null;
|
|
4767
|
-
trip_date: string | null;
|
|
4768
4933
|
updated_at: string;
|
|
4769
4934
|
};
|
|
4770
4935
|
Insert: {
|
|
4771
|
-
carrier_organization_id?: string | null;
|
|
4772
4936
|
connection_id: string;
|
|
4773
|
-
data
|
|
4937
|
+
data: import("../integrations/supabase/types").Json;
|
|
4774
4938
|
fetched_at?: string;
|
|
4775
4939
|
floriday_id: string;
|
|
4776
4940
|
id?: string;
|
|
4777
4941
|
is_deleted?: boolean;
|
|
4778
4942
|
sequence_number?: number;
|
|
4779
|
-
|
|
4780
|
-
|
|
4943
|
+
updated_at?: string;
|
|
4944
|
+
};
|
|
4945
|
+
Update: {
|
|
4946
|
+
connection_id?: string;
|
|
4947
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4948
|
+
fetched_at?: string;
|
|
4949
|
+
floriday_id?: string;
|
|
4950
|
+
id?: string;
|
|
4951
|
+
is_deleted?: boolean;
|
|
4952
|
+
sequence_number?: number;
|
|
4953
|
+
updated_at?: string;
|
|
4954
|
+
};
|
|
4955
|
+
Relationships: [{
|
|
4956
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4957
|
+
columns: ["connection_id"];
|
|
4958
|
+
isOneToOne: false;
|
|
4959
|
+
referencedRelation: "floriday_connections";
|
|
4960
|
+
referencedColumns: ["id"];
|
|
4961
|
+
}];
|
|
4962
|
+
};
|
|
4963
|
+
floriday_trips_cache: {
|
|
4964
|
+
Row: {
|
|
4965
|
+
carrier_organization_id: string | null;
|
|
4966
|
+
connection_id: string;
|
|
4967
|
+
data: import("../integrations/supabase/types").Json;
|
|
4968
|
+
fetched_at: string;
|
|
4969
|
+
floriday_id: string;
|
|
4970
|
+
id: string;
|
|
4971
|
+
is_deleted: boolean;
|
|
4972
|
+
sequence_number: number;
|
|
4973
|
+
status: string | null;
|
|
4974
|
+
trip_date: string | null;
|
|
4975
|
+
updated_at: string;
|
|
4976
|
+
};
|
|
4977
|
+
Insert: {
|
|
4978
|
+
carrier_organization_id?: string | null;
|
|
4979
|
+
connection_id: string;
|
|
4980
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4981
|
+
fetched_at?: string;
|
|
4982
|
+
floriday_id: string;
|
|
4983
|
+
id?: string;
|
|
4984
|
+
is_deleted?: boolean;
|
|
4985
|
+
sequence_number?: number;
|
|
4986
|
+
status?: string | null;
|
|
4987
|
+
trip_date?: string | null;
|
|
4781
4988
|
updated_at?: string;
|
|
4782
4989
|
};
|
|
4783
4990
|
Update: {
|
|
@@ -5503,6 +5710,222 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5503
5710
|
};
|
|
5504
5711
|
Relationships: [];
|
|
5505
5712
|
};
|
|
5713
|
+
logistics_decisions: {
|
|
5714
|
+
Row: {
|
|
5715
|
+
created_at: string;
|
|
5716
|
+
explanation: string | null;
|
|
5717
|
+
id: string;
|
|
5718
|
+
input_snapshot: import("../integrations/supabase/types").Json;
|
|
5719
|
+
result: import("../integrations/supabase/types").Json;
|
|
5720
|
+
slot: string;
|
|
5721
|
+
strategy_id: string | null;
|
|
5722
|
+
subject_id: string;
|
|
5723
|
+
subject_type: string;
|
|
5724
|
+
user_id: string;
|
|
5725
|
+
};
|
|
5726
|
+
Insert: {
|
|
5727
|
+
created_at?: string;
|
|
5728
|
+
explanation?: string | null;
|
|
5729
|
+
id?: string;
|
|
5730
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
5731
|
+
result?: import("../integrations/supabase/types").Json;
|
|
5732
|
+
slot: string;
|
|
5733
|
+
strategy_id?: string | null;
|
|
5734
|
+
subject_id: string;
|
|
5735
|
+
subject_type: string;
|
|
5736
|
+
user_id: string;
|
|
5737
|
+
};
|
|
5738
|
+
Update: {
|
|
5739
|
+
created_at?: string;
|
|
5740
|
+
explanation?: string | null;
|
|
5741
|
+
id?: string;
|
|
5742
|
+
input_snapshot?: import("../integrations/supabase/types").Json;
|
|
5743
|
+
result?: import("../integrations/supabase/types").Json;
|
|
5744
|
+
slot?: string;
|
|
5745
|
+
strategy_id?: string | null;
|
|
5746
|
+
subject_id?: string;
|
|
5747
|
+
subject_type?: string;
|
|
5748
|
+
user_id?: string;
|
|
5749
|
+
};
|
|
5750
|
+
Relationships: [{
|
|
5751
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
5752
|
+
columns: ["strategy_id"];
|
|
5753
|
+
isOneToOne: false;
|
|
5754
|
+
referencedRelation: "logistics_strategies";
|
|
5755
|
+
referencedColumns: ["id"];
|
|
5756
|
+
}];
|
|
5757
|
+
};
|
|
5758
|
+
logistics_formulas: {
|
|
5759
|
+
Row: {
|
|
5760
|
+
created_at: string;
|
|
5761
|
+
expression: string;
|
|
5762
|
+
id: string;
|
|
5763
|
+
notes: string | null;
|
|
5764
|
+
slot: string;
|
|
5765
|
+
strategy_id: string;
|
|
5766
|
+
updated_at: string;
|
|
5767
|
+
user_id: string;
|
|
5768
|
+
version: number;
|
|
5769
|
+
};
|
|
5770
|
+
Insert: {
|
|
5771
|
+
created_at?: string;
|
|
5772
|
+
expression?: string;
|
|
5773
|
+
id?: string;
|
|
5774
|
+
notes?: string | null;
|
|
5775
|
+
slot: string;
|
|
5776
|
+
strategy_id: string;
|
|
5777
|
+
updated_at?: string;
|
|
5778
|
+
user_id: string;
|
|
5779
|
+
version?: number;
|
|
5780
|
+
};
|
|
5781
|
+
Update: {
|
|
5782
|
+
created_at?: string;
|
|
5783
|
+
expression?: string;
|
|
5784
|
+
id?: string;
|
|
5785
|
+
notes?: string | null;
|
|
5786
|
+
slot?: string;
|
|
5787
|
+
strategy_id?: string;
|
|
5788
|
+
updated_at?: string;
|
|
5789
|
+
user_id?: string;
|
|
5790
|
+
version?: number;
|
|
5791
|
+
};
|
|
5792
|
+
Relationships: [{
|
|
5793
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
5794
|
+
columns: ["strategy_id"];
|
|
5795
|
+
isOneToOne: false;
|
|
5796
|
+
referencedRelation: "logistics_strategies";
|
|
5797
|
+
referencedColumns: ["id"];
|
|
5798
|
+
}];
|
|
5799
|
+
};
|
|
5800
|
+
logistics_strategies: {
|
|
5801
|
+
Row: {
|
|
5802
|
+
color: string;
|
|
5803
|
+
created_at: string;
|
|
5804
|
+
description: string | null;
|
|
5805
|
+
id: string;
|
|
5806
|
+
is_active: boolean;
|
|
5807
|
+
name: string;
|
|
5808
|
+
priority: number;
|
|
5809
|
+
updated_at: string;
|
|
5810
|
+
updated_by: string | null;
|
|
5811
|
+
user_id: string;
|
|
5812
|
+
version: number;
|
|
5813
|
+
};
|
|
5814
|
+
Insert: {
|
|
5815
|
+
color?: string;
|
|
5816
|
+
created_at?: string;
|
|
5817
|
+
description?: string | null;
|
|
5818
|
+
id?: string;
|
|
5819
|
+
is_active?: boolean;
|
|
5820
|
+
name: string;
|
|
5821
|
+
priority?: number;
|
|
5822
|
+
updated_at?: string;
|
|
5823
|
+
updated_by?: string | null;
|
|
5824
|
+
user_id: string;
|
|
5825
|
+
version?: number;
|
|
5826
|
+
};
|
|
5827
|
+
Update: {
|
|
5828
|
+
color?: string;
|
|
5829
|
+
created_at?: string;
|
|
5830
|
+
description?: string | null;
|
|
5831
|
+
id?: string;
|
|
5832
|
+
is_active?: boolean;
|
|
5833
|
+
name?: string;
|
|
5834
|
+
priority?: number;
|
|
5835
|
+
updated_at?: string;
|
|
5836
|
+
updated_by?: string | null;
|
|
5837
|
+
user_id?: string;
|
|
5838
|
+
version?: number;
|
|
5839
|
+
};
|
|
5840
|
+
Relationships: [];
|
|
5841
|
+
};
|
|
5842
|
+
logistics_strategy_schedules: {
|
|
5843
|
+
Row: {
|
|
5844
|
+
condition_expression: string | null;
|
|
5845
|
+
created_at: string;
|
|
5846
|
+
end_date: string | null;
|
|
5847
|
+
id: string;
|
|
5848
|
+
is_enabled: boolean;
|
|
5849
|
+
priority: number;
|
|
5850
|
+
rule_type: string;
|
|
5851
|
+
start_date: string | null;
|
|
5852
|
+
strategy_id: string;
|
|
5853
|
+
updated_at: string;
|
|
5854
|
+
user_id: string;
|
|
5855
|
+
};
|
|
5856
|
+
Insert: {
|
|
5857
|
+
condition_expression?: string | null;
|
|
5858
|
+
created_at?: string;
|
|
5859
|
+
end_date?: string | null;
|
|
5860
|
+
id?: string;
|
|
5861
|
+
is_enabled?: boolean;
|
|
5862
|
+
priority?: number;
|
|
5863
|
+
rule_type: string;
|
|
5864
|
+
start_date?: string | null;
|
|
5865
|
+
strategy_id: string;
|
|
5866
|
+
updated_at?: string;
|
|
5867
|
+
user_id: string;
|
|
5868
|
+
};
|
|
5869
|
+
Update: {
|
|
5870
|
+
condition_expression?: string | null;
|
|
5871
|
+
created_at?: string;
|
|
5872
|
+
end_date?: string | null;
|
|
5873
|
+
id?: string;
|
|
5874
|
+
is_enabled?: boolean;
|
|
5875
|
+
priority?: number;
|
|
5876
|
+
rule_type?: string;
|
|
5877
|
+
start_date?: string | null;
|
|
5878
|
+
strategy_id?: string;
|
|
5879
|
+
updated_at?: string;
|
|
5880
|
+
user_id?: string;
|
|
5881
|
+
};
|
|
5882
|
+
Relationships: [{
|
|
5883
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
5884
|
+
columns: ["strategy_id"];
|
|
5885
|
+
isOneToOne: false;
|
|
5886
|
+
referencedRelation: "logistics_strategies";
|
|
5887
|
+
referencedColumns: ["id"];
|
|
5888
|
+
}];
|
|
5889
|
+
};
|
|
5890
|
+
logistics_variables: {
|
|
5891
|
+
Row: {
|
|
5892
|
+
created_at: string;
|
|
5893
|
+
default_value: string | null;
|
|
5894
|
+
description: string | null;
|
|
5895
|
+
id: string;
|
|
5896
|
+
is_builtin: boolean;
|
|
5897
|
+
key: string;
|
|
5898
|
+
label: string;
|
|
5899
|
+
updated_at: string;
|
|
5900
|
+
user_id: string;
|
|
5901
|
+
value_type: string;
|
|
5902
|
+
};
|
|
5903
|
+
Insert: {
|
|
5904
|
+
created_at?: string;
|
|
5905
|
+
default_value?: string | null;
|
|
5906
|
+
description?: string | null;
|
|
5907
|
+
id?: string;
|
|
5908
|
+
is_builtin?: boolean;
|
|
5909
|
+
key: string;
|
|
5910
|
+
label: string;
|
|
5911
|
+
updated_at?: string;
|
|
5912
|
+
user_id: string;
|
|
5913
|
+
value_type: string;
|
|
5914
|
+
};
|
|
5915
|
+
Update: {
|
|
5916
|
+
created_at?: string;
|
|
5917
|
+
default_value?: string | null;
|
|
5918
|
+
description?: string | null;
|
|
5919
|
+
id?: string;
|
|
5920
|
+
is_builtin?: boolean;
|
|
5921
|
+
key?: string;
|
|
5922
|
+
label?: string;
|
|
5923
|
+
updated_at?: string;
|
|
5924
|
+
user_id?: string;
|
|
5925
|
+
value_type?: string;
|
|
5926
|
+
};
|
|
5927
|
+
Relationships: [];
|
|
5928
|
+
};
|
|
5506
5929
|
mailbox_messages: {
|
|
5507
5930
|
Row: {
|
|
5508
5931
|
body_html: string | null;
|
|
@@ -5898,39 +6321,60 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
5898
6321
|
};
|
|
5899
6322
|
manufacture_products: {
|
|
5900
6323
|
Row: {
|
|
6324
|
+
aantal_te_produceren: number;
|
|
5901
6325
|
created_at: string;
|
|
5902
6326
|
description: string | null;
|
|
5903
6327
|
id: string;
|
|
5904
6328
|
is_active: boolean;
|
|
6329
|
+
location_id: string | null;
|
|
5905
6330
|
name: string;
|
|
6331
|
+
partij_nummer: string | null;
|
|
6332
|
+
photos: import("../integrations/supabase/types").Json;
|
|
5906
6333
|
produced_stock: number;
|
|
5907
6334
|
product_code: string;
|
|
5908
6335
|
tenant_id: string;
|
|
6336
|
+
unit: string;
|
|
5909
6337
|
updated_at: string;
|
|
5910
6338
|
};
|
|
5911
6339
|
Insert: {
|
|
6340
|
+
aantal_te_produceren?: number;
|
|
5912
6341
|
created_at?: string;
|
|
5913
6342
|
description?: string | null;
|
|
5914
6343
|
id?: string;
|
|
5915
6344
|
is_active?: boolean;
|
|
6345
|
+
location_id?: string | null;
|
|
5916
6346
|
name: string;
|
|
6347
|
+
partij_nummer?: string | null;
|
|
6348
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5917
6349
|
produced_stock?: number;
|
|
5918
6350
|
product_code: string;
|
|
5919
6351
|
tenant_id: string;
|
|
6352
|
+
unit?: string;
|
|
5920
6353
|
updated_at?: string;
|
|
5921
6354
|
};
|
|
5922
6355
|
Update: {
|
|
6356
|
+
aantal_te_produceren?: number;
|
|
5923
6357
|
created_at?: string;
|
|
5924
6358
|
description?: string | null;
|
|
5925
6359
|
id?: string;
|
|
5926
6360
|
is_active?: boolean;
|
|
6361
|
+
location_id?: string | null;
|
|
5927
6362
|
name?: string;
|
|
6363
|
+
partij_nummer?: string | null;
|
|
6364
|
+
photos?: import("../integrations/supabase/types").Json;
|
|
5928
6365
|
produced_stock?: number;
|
|
5929
6366
|
product_code?: string;
|
|
5930
6367
|
tenant_id?: string;
|
|
6368
|
+
unit?: string;
|
|
5931
6369
|
updated_at?: string;
|
|
5932
6370
|
};
|
|
5933
|
-
Relationships: [
|
|
6371
|
+
Relationships: [{
|
|
6372
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6373
|
+
columns: ["location_id"];
|
|
6374
|
+
isOneToOne: false;
|
|
6375
|
+
referencedRelation: "locations";
|
|
6376
|
+
referencedColumns: ["id"];
|
|
6377
|
+
}];
|
|
5934
6378
|
};
|
|
5935
6379
|
monteurs: {
|
|
5936
6380
|
Row: {
|
|
@@ -6904,6 +7348,105 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6904
7348
|
};
|
|
6905
7349
|
Relationships: [];
|
|
6906
7350
|
};
|
|
7351
|
+
order_shipment_items: {
|
|
7352
|
+
Row: {
|
|
7353
|
+
created_at: string;
|
|
7354
|
+
id: string;
|
|
7355
|
+
order_item_id: string;
|
|
7356
|
+
product_id: string | null;
|
|
7357
|
+
product_name: string;
|
|
7358
|
+
quantity: number;
|
|
7359
|
+
shipment_id: string;
|
|
7360
|
+
updated_at: string;
|
|
7361
|
+
};
|
|
7362
|
+
Insert: {
|
|
7363
|
+
created_at?: string;
|
|
7364
|
+
id?: string;
|
|
7365
|
+
order_item_id: string;
|
|
7366
|
+
product_id?: string | null;
|
|
7367
|
+
product_name: string;
|
|
7368
|
+
quantity: number;
|
|
7369
|
+
shipment_id: string;
|
|
7370
|
+
updated_at?: string;
|
|
7371
|
+
};
|
|
7372
|
+
Update: {
|
|
7373
|
+
created_at?: string;
|
|
7374
|
+
id?: string;
|
|
7375
|
+
order_item_id?: string;
|
|
7376
|
+
product_id?: string | null;
|
|
7377
|
+
product_name?: string;
|
|
7378
|
+
quantity?: number;
|
|
7379
|
+
shipment_id?: string;
|
|
7380
|
+
updated_at?: string;
|
|
7381
|
+
};
|
|
7382
|
+
Relationships: [{
|
|
7383
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7384
|
+
columns: ["order_item_id"];
|
|
7385
|
+
isOneToOne: false;
|
|
7386
|
+
referencedRelation: "order_items";
|
|
7387
|
+
referencedColumns: ["id"];
|
|
7388
|
+
}, {
|
|
7389
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7390
|
+
columns: ["shipment_id"];
|
|
7391
|
+
isOneToOne: false;
|
|
7392
|
+
referencedRelation: "order_shipments";
|
|
7393
|
+
referencedColumns: ["id"];
|
|
7394
|
+
}];
|
|
7395
|
+
};
|
|
7396
|
+
order_shipments: {
|
|
7397
|
+
Row: {
|
|
7398
|
+
carrier_id: string | null;
|
|
7399
|
+
created_at: string;
|
|
7400
|
+
delivery_date: string | null;
|
|
7401
|
+
delivery_location_id: string | null;
|
|
7402
|
+
id: string;
|
|
7403
|
+
notes: string | null;
|
|
7404
|
+
order_id: string;
|
|
7405
|
+
shipment_number: number;
|
|
7406
|
+
shipped_at: string | null;
|
|
7407
|
+
status: string;
|
|
7408
|
+
updated_at: string;
|
|
7409
|
+
};
|
|
7410
|
+
Insert: {
|
|
7411
|
+
carrier_id?: string | null;
|
|
7412
|
+
created_at?: string;
|
|
7413
|
+
delivery_date?: string | null;
|
|
7414
|
+
delivery_location_id?: string | null;
|
|
7415
|
+
id?: string;
|
|
7416
|
+
notes?: string | null;
|
|
7417
|
+
order_id: string;
|
|
7418
|
+
shipment_number: number;
|
|
7419
|
+
shipped_at?: string | null;
|
|
7420
|
+
status?: string;
|
|
7421
|
+
updated_at?: string;
|
|
7422
|
+
};
|
|
7423
|
+
Update: {
|
|
7424
|
+
carrier_id?: string | null;
|
|
7425
|
+
created_at?: string;
|
|
7426
|
+
delivery_date?: string | null;
|
|
7427
|
+
delivery_location_id?: string | null;
|
|
7428
|
+
id?: string;
|
|
7429
|
+
notes?: string | null;
|
|
7430
|
+
order_id?: string;
|
|
7431
|
+
shipment_number?: number;
|
|
7432
|
+
shipped_at?: string | null;
|
|
7433
|
+
status?: string;
|
|
7434
|
+
updated_at?: string;
|
|
7435
|
+
};
|
|
7436
|
+
Relationships: [{
|
|
7437
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7438
|
+
columns: ["carrier_id"];
|
|
7439
|
+
isOneToOne: false;
|
|
7440
|
+
referencedRelation: "carriers";
|
|
7441
|
+
referencedColumns: ["id"];
|
|
7442
|
+
}, {
|
|
7443
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7444
|
+
columns: ["order_id"];
|
|
7445
|
+
isOneToOne: false;
|
|
7446
|
+
referencedRelation: "orders";
|
|
7447
|
+
referencedColumns: ["id"];
|
|
7448
|
+
}];
|
|
7449
|
+
};
|
|
6907
7450
|
orders: {
|
|
6908
7451
|
Row: {
|
|
6909
7452
|
created_at: string;
|
|
@@ -6911,8 +7454,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6911
7454
|
customer_id: string | null;
|
|
6912
7455
|
customer_name: string;
|
|
6913
7456
|
deleted_at: string | null;
|
|
6914
|
-
delivery_date: string;
|
|
7457
|
+
delivery_date: string | null;
|
|
6915
7458
|
id: string;
|
|
7459
|
+
is_reservation: boolean;
|
|
6916
7460
|
notes: string | null;
|
|
6917
7461
|
order_date: string;
|
|
6918
7462
|
order_number: string;
|
|
@@ -6929,8 +7473,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6929
7473
|
customer_id?: string | null;
|
|
6930
7474
|
customer_name?: string;
|
|
6931
7475
|
deleted_at?: string | null;
|
|
6932
|
-
delivery_date
|
|
7476
|
+
delivery_date?: string | null;
|
|
6933
7477
|
id?: string;
|
|
7478
|
+
is_reservation?: boolean;
|
|
6934
7479
|
notes?: string | null;
|
|
6935
7480
|
order_date?: string;
|
|
6936
7481
|
order_number: string;
|
|
@@ -6947,8 +7492,9 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
6947
7492
|
customer_id?: string | null;
|
|
6948
7493
|
customer_name?: string;
|
|
6949
7494
|
deleted_at?: string | null;
|
|
6950
|
-
delivery_date?: string;
|
|
7495
|
+
delivery_date?: string | null;
|
|
6951
7496
|
id?: string;
|
|
7497
|
+
is_reservation?: boolean;
|
|
6952
7498
|
notes?: string | null;
|
|
6953
7499
|
order_date?: string;
|
|
6954
7500
|
order_number?: string;
|
|
@@ -7063,32 +7609,89 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7063
7609
|
color: string;
|
|
7064
7610
|
created_at: string;
|
|
7065
7611
|
id: string;
|
|
7066
|
-
is_active: boolean;
|
|
7067
|
-
name: string;
|
|
7612
|
+
is_active: boolean;
|
|
7613
|
+
name: string;
|
|
7614
|
+
sort_order: number;
|
|
7615
|
+
updated_at: string;
|
|
7616
|
+
};
|
|
7617
|
+
Insert: {
|
|
7618
|
+
automation_type?: string;
|
|
7619
|
+
color?: string;
|
|
7620
|
+
created_at?: string;
|
|
7621
|
+
id?: string;
|
|
7622
|
+
is_active?: boolean;
|
|
7623
|
+
name: string;
|
|
7624
|
+
sort_order?: number;
|
|
7625
|
+
updated_at?: string;
|
|
7626
|
+
};
|
|
7627
|
+
Update: {
|
|
7628
|
+
automation_type?: string;
|
|
7629
|
+
color?: string;
|
|
7630
|
+
created_at?: string;
|
|
7631
|
+
id?: string;
|
|
7632
|
+
is_active?: boolean;
|
|
7633
|
+
name?: string;
|
|
7634
|
+
sort_order?: number;
|
|
7635
|
+
updated_at?: string;
|
|
7636
|
+
};
|
|
7637
|
+
Relationships: [];
|
|
7638
|
+
};
|
|
7639
|
+
product_bom_items: {
|
|
7640
|
+
Row: {
|
|
7641
|
+
component_product_id: string | null;
|
|
7642
|
+
component_trade_item_floriday_id: string | null;
|
|
7643
|
+
created_at: string;
|
|
7644
|
+
id: string;
|
|
7645
|
+
notes: string | null;
|
|
7646
|
+
parent_product_id: string | null;
|
|
7647
|
+
parent_trade_item_floriday_id: string | null;
|
|
7648
|
+
quantity: number;
|
|
7068
7649
|
sort_order: number;
|
|
7650
|
+
tenant_id: string;
|
|
7651
|
+
unit: string;
|
|
7069
7652
|
updated_at: string;
|
|
7070
7653
|
};
|
|
7071
7654
|
Insert: {
|
|
7072
|
-
|
|
7073
|
-
|
|
7655
|
+
component_product_id?: string | null;
|
|
7656
|
+
component_trade_item_floriday_id?: string | null;
|
|
7074
7657
|
created_at?: string;
|
|
7075
7658
|
id?: string;
|
|
7076
|
-
|
|
7077
|
-
|
|
7659
|
+
notes?: string | null;
|
|
7660
|
+
parent_product_id?: string | null;
|
|
7661
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7662
|
+
quantity?: number;
|
|
7078
7663
|
sort_order?: number;
|
|
7664
|
+
tenant_id: string;
|
|
7665
|
+
unit?: string;
|
|
7079
7666
|
updated_at?: string;
|
|
7080
7667
|
};
|
|
7081
7668
|
Update: {
|
|
7082
|
-
|
|
7083
|
-
|
|
7669
|
+
component_product_id?: string | null;
|
|
7670
|
+
component_trade_item_floriday_id?: string | null;
|
|
7084
7671
|
created_at?: string;
|
|
7085
7672
|
id?: string;
|
|
7086
|
-
|
|
7087
|
-
|
|
7673
|
+
notes?: string | null;
|
|
7674
|
+
parent_product_id?: string | null;
|
|
7675
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7676
|
+
quantity?: number;
|
|
7088
7677
|
sort_order?: number;
|
|
7678
|
+
tenant_id?: string;
|
|
7679
|
+
unit?: string;
|
|
7089
7680
|
updated_at?: string;
|
|
7090
7681
|
};
|
|
7091
|
-
Relationships: [
|
|
7682
|
+
Relationships: [{
|
|
7683
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7684
|
+
columns: ["component_product_id"];
|
|
7685
|
+
isOneToOne: false;
|
|
7686
|
+
referencedRelation: "products";
|
|
7687
|
+
referencedColumns: ["id"];
|
|
7688
|
+
}, {
|
|
7689
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7690
|
+
columns: ["parent_product_id"];
|
|
7691
|
+
isOneToOne: false;
|
|
7692
|
+
referencedRelation: "products";
|
|
7693
|
+
referencedColumns: ["id"];
|
|
7694
|
+
}];
|
|
7092
7695
|
};
|
|
7093
7696
|
product_categories: {
|
|
7094
7697
|
Row: {
|
|
@@ -7195,6 +7798,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7195
7798
|
id: string;
|
|
7196
7799
|
product_group_id: string;
|
|
7197
7800
|
quantity: number;
|
|
7801
|
+
sort_order: number;
|
|
7198
7802
|
trade_item_id: string;
|
|
7199
7803
|
};
|
|
7200
7804
|
Insert: {
|
|
@@ -7202,6 +7806,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7202
7806
|
id?: string;
|
|
7203
7807
|
product_group_id: string;
|
|
7204
7808
|
quantity?: number;
|
|
7809
|
+
sort_order?: number;
|
|
7205
7810
|
trade_item_id: string;
|
|
7206
7811
|
};
|
|
7207
7812
|
Update: {
|
|
@@ -7209,6 +7814,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7209
7814
|
id?: string;
|
|
7210
7815
|
product_group_id?: string;
|
|
7211
7816
|
quantity?: number;
|
|
7817
|
+
sort_order?: number;
|
|
7212
7818
|
trade_item_id?: string;
|
|
7213
7819
|
};
|
|
7214
7820
|
Relationships: [{
|
|
@@ -7223,6 +7829,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7223
7829
|
Row: {
|
|
7224
7830
|
created_at: string;
|
|
7225
7831
|
description: string | null;
|
|
7832
|
+
head_product_id: string | null;
|
|
7833
|
+
head_trade_item_floriday_id: string | null;
|
|
7226
7834
|
id: string;
|
|
7227
7835
|
is_active: boolean;
|
|
7228
7836
|
name: string;
|
|
@@ -7232,6 +7840,8 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7232
7840
|
Insert: {
|
|
7233
7841
|
created_at?: string;
|
|
7234
7842
|
description?: string | null;
|
|
7843
|
+
head_product_id?: string | null;
|
|
7844
|
+
head_trade_item_floriday_id?: string | null;
|
|
7235
7845
|
id?: string;
|
|
7236
7846
|
is_active?: boolean;
|
|
7237
7847
|
name: string;
|
|
@@ -7241,24 +7851,130 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7241
7851
|
Update: {
|
|
7242
7852
|
created_at?: string;
|
|
7243
7853
|
description?: string | null;
|
|
7854
|
+
head_product_id?: string | null;
|
|
7855
|
+
head_trade_item_floriday_id?: string | null;
|
|
7244
7856
|
id?: string;
|
|
7245
7857
|
is_active?: boolean;
|
|
7246
7858
|
name?: string;
|
|
7247
7859
|
tenant_id?: string;
|
|
7248
7860
|
updated_at?: string;
|
|
7249
7861
|
};
|
|
7862
|
+
Relationships: [{
|
|
7863
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7864
|
+
columns: ["head_product_id"];
|
|
7865
|
+
isOneToOne: false;
|
|
7866
|
+
referencedRelation: "products";
|
|
7867
|
+
referencedColumns: ["id"];
|
|
7868
|
+
}];
|
|
7869
|
+
};
|
|
7870
|
+
product_load_settings: {
|
|
7871
|
+
Row: {
|
|
7872
|
+
created_at: string;
|
|
7873
|
+
id: string;
|
|
7874
|
+
is_package: boolean;
|
|
7875
|
+
layers_per_load_carrier: number | null;
|
|
7876
|
+
load_carrier: string | null;
|
|
7877
|
+
package_id: string | null;
|
|
7878
|
+
package_label: string | null;
|
|
7879
|
+
packages_per_layer: number | null;
|
|
7880
|
+
product_id: string | null;
|
|
7881
|
+
tenant_id: string;
|
|
7882
|
+
trade_item_floriday_id: string | null;
|
|
7883
|
+
units_per_package: number | null;
|
|
7884
|
+
updated_at: string;
|
|
7885
|
+
};
|
|
7886
|
+
Insert: {
|
|
7887
|
+
created_at?: string;
|
|
7888
|
+
id?: string;
|
|
7889
|
+
is_package?: boolean;
|
|
7890
|
+
layers_per_load_carrier?: number | null;
|
|
7891
|
+
load_carrier?: string | null;
|
|
7892
|
+
package_id?: string | null;
|
|
7893
|
+
package_label?: string | null;
|
|
7894
|
+
packages_per_layer?: number | null;
|
|
7895
|
+
product_id?: string | null;
|
|
7896
|
+
tenant_id: string;
|
|
7897
|
+
trade_item_floriday_id?: string | null;
|
|
7898
|
+
units_per_package?: number | null;
|
|
7899
|
+
updated_at?: string;
|
|
7900
|
+
};
|
|
7901
|
+
Update: {
|
|
7902
|
+
created_at?: string;
|
|
7903
|
+
id?: string;
|
|
7904
|
+
is_package?: boolean;
|
|
7905
|
+
layers_per_load_carrier?: number | null;
|
|
7906
|
+
load_carrier?: string | null;
|
|
7907
|
+
package_id?: string | null;
|
|
7908
|
+
package_label?: string | null;
|
|
7909
|
+
packages_per_layer?: number | null;
|
|
7910
|
+
product_id?: string | null;
|
|
7911
|
+
tenant_id?: string;
|
|
7912
|
+
trade_item_floriday_id?: string | null;
|
|
7913
|
+
units_per_package?: number | null;
|
|
7914
|
+
updated_at?: string;
|
|
7915
|
+
};
|
|
7916
|
+
Relationships: [{
|
|
7917
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7918
|
+
columns: ["package_id"];
|
|
7919
|
+
isOneToOne: false;
|
|
7920
|
+
referencedRelation: "packages";
|
|
7921
|
+
referencedColumns: ["id"];
|
|
7922
|
+
}, {
|
|
7923
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7924
|
+
columns: ["product_id"];
|
|
7925
|
+
isOneToOne: false;
|
|
7926
|
+
referencedRelation: "products";
|
|
7927
|
+
referencedColumns: ["id"];
|
|
7928
|
+
}];
|
|
7929
|
+
};
|
|
7930
|
+
product_merge_log: {
|
|
7931
|
+
Row: {
|
|
7932
|
+
canonical_product_id: string | null;
|
|
7933
|
+
id: string;
|
|
7934
|
+
merged_at: string;
|
|
7935
|
+
merged_from_id: string;
|
|
7936
|
+
notes: string | null;
|
|
7937
|
+
snapshot: import("../integrations/supabase/types").Json;
|
|
7938
|
+
source_table: string;
|
|
7939
|
+
status: string;
|
|
7940
|
+
};
|
|
7941
|
+
Insert: {
|
|
7942
|
+
canonical_product_id?: string | null;
|
|
7943
|
+
id?: string;
|
|
7944
|
+
merged_at?: string;
|
|
7945
|
+
merged_from_id: string;
|
|
7946
|
+
notes?: string | null;
|
|
7947
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7948
|
+
source_table: string;
|
|
7949
|
+
status?: string;
|
|
7950
|
+
};
|
|
7951
|
+
Update: {
|
|
7952
|
+
canonical_product_id?: string | null;
|
|
7953
|
+
id?: string;
|
|
7954
|
+
merged_at?: string;
|
|
7955
|
+
merged_from_id?: string;
|
|
7956
|
+
notes?: string | null;
|
|
7957
|
+
snapshot?: import("../integrations/supabase/types").Json;
|
|
7958
|
+
source_table?: string;
|
|
7959
|
+
status?: string;
|
|
7960
|
+
};
|
|
7250
7961
|
Relationships: [];
|
|
7251
7962
|
};
|
|
7252
7963
|
products: {
|
|
7253
7964
|
Row: {
|
|
7965
|
+
article_number: string | null;
|
|
7254
7966
|
barcode: string | null;
|
|
7255
7967
|
batch: string;
|
|
7256
7968
|
crates_per_layer: number;
|
|
7257
7969
|
created_at: string;
|
|
7258
7970
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
7971
|
+
floriday_active: boolean;
|
|
7972
|
+
floriday_payload: import("../integrations/supabase/types").Json;
|
|
7973
|
+
floriday_trade_item_id: string | null;
|
|
7259
7974
|
id: string;
|
|
7260
7975
|
image_url: string | null;
|
|
7261
7976
|
incoming_quantity: number;
|
|
7977
|
+
is_layer: boolean;
|
|
7262
7978
|
layers_per_cart: number;
|
|
7263
7979
|
location: string;
|
|
7264
7980
|
min_quantity: number;
|
|
@@ -7274,14 +7990,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7274
7990
|
weight: string | null;
|
|
7275
7991
|
};
|
|
7276
7992
|
Insert: {
|
|
7993
|
+
article_number?: string | null;
|
|
7277
7994
|
barcode?: string | null;
|
|
7278
7995
|
batch: string;
|
|
7279
7996
|
crates_per_layer?: number;
|
|
7280
7997
|
created_at?: string;
|
|
7281
7998
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
7999
|
+
floriday_active?: boolean;
|
|
8000
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8001
|
+
floriday_trade_item_id?: string | null;
|
|
7282
8002
|
id?: string;
|
|
7283
8003
|
image_url?: string | null;
|
|
7284
8004
|
incoming_quantity?: number;
|
|
8005
|
+
is_layer?: boolean;
|
|
7285
8006
|
layers_per_cart?: number;
|
|
7286
8007
|
location: string;
|
|
7287
8008
|
min_quantity?: number;
|
|
@@ -7297,14 +8018,19 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
7297
8018
|
weight?: string | null;
|
|
7298
8019
|
};
|
|
7299
8020
|
Update: {
|
|
8021
|
+
article_number?: string | null;
|
|
7300
8022
|
barcode?: string | null;
|
|
7301
8023
|
batch?: string;
|
|
7302
8024
|
crates_per_layer?: number;
|
|
7303
8025
|
created_at?: string;
|
|
7304
8026
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8027
|
+
floriday_active?: boolean;
|
|
8028
|
+
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8029
|
+
floriday_trade_item_id?: string | null;
|
|
7305
8030
|
id?: string;
|
|
7306
8031
|
image_url?: string | null;
|
|
7307
8032
|
incoming_quantity?: number;
|
|
8033
|
+
is_layer?: boolean;
|
|
7308
8034
|
layers_per_cart?: number;
|
|
7309
8035
|
location?: string;
|
|
7310
8036
|
min_quantity?: number;
|
|
@@ -8210,8 +8936,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8210
8936
|
order_id: string | null;
|
|
8211
8937
|
order_item_id: string | null;
|
|
8212
8938
|
order_source: string | null;
|
|
8939
|
+
parent_trade_item_key: string | null;
|
|
8213
8940
|
physical_after: number | null;
|
|
8214
8941
|
physical_before: number | null;
|
|
8942
|
+
production_batch_id: string | null;
|
|
8215
8943
|
qty_delta: number;
|
|
8216
8944
|
reason: string | null;
|
|
8217
8945
|
reserved_after: number | null;
|
|
@@ -8227,8 +8955,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8227
8955
|
order_id?: string | null;
|
|
8228
8956
|
order_item_id?: string | null;
|
|
8229
8957
|
order_source?: string | null;
|
|
8958
|
+
parent_trade_item_key?: string | null;
|
|
8230
8959
|
physical_after?: number | null;
|
|
8231
8960
|
physical_before?: number | null;
|
|
8961
|
+
production_batch_id?: string | null;
|
|
8232
8962
|
qty_delta: number;
|
|
8233
8963
|
reason?: string | null;
|
|
8234
8964
|
reserved_after?: number | null;
|
|
@@ -8244,8 +8974,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8244
8974
|
order_id?: string | null;
|
|
8245
8975
|
order_item_id?: string | null;
|
|
8246
8976
|
order_source?: string | null;
|
|
8977
|
+
parent_trade_item_key?: string | null;
|
|
8247
8978
|
physical_after?: number | null;
|
|
8248
8979
|
physical_before?: number | null;
|
|
8980
|
+
production_batch_id?: string | null;
|
|
8249
8981
|
qty_delta?: number;
|
|
8250
8982
|
reason?: string | null;
|
|
8251
8983
|
reserved_after?: number | null;
|
|
@@ -8551,6 +9283,48 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8551
9283
|
};
|
|
8552
9284
|
Relationships: [];
|
|
8553
9285
|
};
|
|
9286
|
+
trade_item_prices: {
|
|
9287
|
+
Row: {
|
|
9288
|
+
created_at: string;
|
|
9289
|
+
currency: string;
|
|
9290
|
+
id: string;
|
|
9291
|
+
last_push_error: string | null;
|
|
9292
|
+
last_pushed_at: string | null;
|
|
9293
|
+
price_group_id: string | null;
|
|
9294
|
+
price_per_piece: number;
|
|
9295
|
+
supply_line_id: string | null;
|
|
9296
|
+
trade_item_key: string;
|
|
9297
|
+
updated_at: string;
|
|
9298
|
+
user_id: string;
|
|
9299
|
+
};
|
|
9300
|
+
Insert: {
|
|
9301
|
+
created_at?: string;
|
|
9302
|
+
currency?: string;
|
|
9303
|
+
id?: string;
|
|
9304
|
+
last_push_error?: string | null;
|
|
9305
|
+
last_pushed_at?: string | null;
|
|
9306
|
+
price_group_id?: string | null;
|
|
9307
|
+
price_per_piece: number;
|
|
9308
|
+
supply_line_id?: string | null;
|
|
9309
|
+
trade_item_key: string;
|
|
9310
|
+
updated_at?: string;
|
|
9311
|
+
user_id: string;
|
|
9312
|
+
};
|
|
9313
|
+
Update: {
|
|
9314
|
+
created_at?: string;
|
|
9315
|
+
currency?: string;
|
|
9316
|
+
id?: string;
|
|
9317
|
+
last_push_error?: string | null;
|
|
9318
|
+
last_pushed_at?: string | null;
|
|
9319
|
+
price_group_id?: string | null;
|
|
9320
|
+
price_per_piece?: number;
|
|
9321
|
+
supply_line_id?: string | null;
|
|
9322
|
+
trade_item_key?: string;
|
|
9323
|
+
updated_at?: string;
|
|
9324
|
+
user_id?: string;
|
|
9325
|
+
};
|
|
9326
|
+
Relationships: [];
|
|
9327
|
+
};
|
|
8554
9328
|
trade_item_stock: {
|
|
8555
9329
|
Row: {
|
|
8556
9330
|
connection_id: string;
|
|
@@ -8704,7 +9478,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8704
9478
|
twinfield_connections: {
|
|
8705
9479
|
Row: {
|
|
8706
9480
|
access_token: string | null;
|
|
8707
|
-
client_id: string;
|
|
9481
|
+
client_id: string | null;
|
|
8708
9482
|
client_secret: string | null;
|
|
8709
9483
|
cluster_uri: string | null;
|
|
8710
9484
|
company_code: string | null;
|
|
@@ -8716,7 +9490,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8716
9490
|
is_active: boolean;
|
|
8717
9491
|
label: string | null;
|
|
8718
9492
|
office_code: string | null;
|
|
8719
|
-
redirect_uri: string;
|
|
9493
|
+
redirect_uri: string | null;
|
|
8720
9494
|
refresh_token: string | null;
|
|
8721
9495
|
token_expires_at: string | null;
|
|
8722
9496
|
updated_at: string;
|
|
@@ -8724,7 +9498,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8724
9498
|
};
|
|
8725
9499
|
Insert: {
|
|
8726
9500
|
access_token?: string | null;
|
|
8727
|
-
client_id
|
|
9501
|
+
client_id?: string | null;
|
|
8728
9502
|
client_secret?: string | null;
|
|
8729
9503
|
cluster_uri?: string | null;
|
|
8730
9504
|
company_code?: string | null;
|
|
@@ -8736,7 +9510,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8736
9510
|
is_active?: boolean;
|
|
8737
9511
|
label?: string | null;
|
|
8738
9512
|
office_code?: string | null;
|
|
8739
|
-
redirect_uri
|
|
9513
|
+
redirect_uri?: string | null;
|
|
8740
9514
|
refresh_token?: string | null;
|
|
8741
9515
|
token_expires_at?: string | null;
|
|
8742
9516
|
updated_at?: string;
|
|
@@ -8744,7 +9518,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8744
9518
|
};
|
|
8745
9519
|
Update: {
|
|
8746
9520
|
access_token?: string | null;
|
|
8747
|
-
client_id?: string;
|
|
9521
|
+
client_id?: string | null;
|
|
8748
9522
|
client_secret?: string | null;
|
|
8749
9523
|
cluster_uri?: string | null;
|
|
8750
9524
|
company_code?: string | null;
|
|
@@ -8756,7 +9530,7 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
8756
9530
|
is_active?: boolean;
|
|
8757
9531
|
label?: string | null;
|
|
8758
9532
|
office_code?: string | null;
|
|
8759
|
-
redirect_uri?: string;
|
|
9533
|
+
redirect_uri?: string | null;
|
|
8760
9534
|
refresh_token?: string | null;
|
|
8761
9535
|
token_expires_at?: string | null;
|
|
8762
9536
|
updated_at?: string;
|
|
@@ -9951,25 +10725,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
9951
10725
|
};
|
|
9952
10726
|
Relationships: [];
|
|
9953
10727
|
};
|
|
9954
|
-
floriday_customer_discounts: {
|
|
9955
|
-
Row: {
|
|
9956
|
-
base_price: number | null;
|
|
9957
|
-
buyer_organization_id: string | null;
|
|
9958
|
-
currency: string | null;
|
|
9959
|
-
discount_type: string | null;
|
|
9960
|
-
discount_value: number | null;
|
|
9961
|
-
min_quantity: number | null;
|
|
9962
|
-
net_price: number | null;
|
|
9963
|
-
product_group_id: string | null;
|
|
9964
|
-
raw: import("../integrations/supabase/types").Json | null;
|
|
9965
|
-
source: string | null;
|
|
9966
|
-
source_id: string | null;
|
|
9967
|
-
trade_item_id: string | null;
|
|
9968
|
-
valid_from: string | null;
|
|
9969
|
-
valid_until: string | null;
|
|
9970
|
-
};
|
|
9971
|
-
Relationships: [];
|
|
9972
|
-
};
|
|
9973
10728
|
local_customer_discounts: {
|
|
9974
10729
|
Row: {
|
|
9975
10730
|
base_price: number | null;
|
|
@@ -10273,6 +11028,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10273
11028
|
};
|
|
10274
11029
|
Returns: number;
|
|
10275
11030
|
};
|
|
11031
|
+
_migrate_rewrite_stock_key: {
|
|
11032
|
+
Args: {
|
|
11033
|
+
_from_key: string;
|
|
11034
|
+
_to_key: string;
|
|
11035
|
+
};
|
|
11036
|
+
Returns: undefined;
|
|
11037
|
+
};
|
|
10276
11038
|
afh_city_code: {
|
|
10277
11039
|
Args: {
|
|
10278
11040
|
_city: string;
|
|
@@ -10388,6 +11150,28 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10388
11150
|
Args: never;
|
|
10389
11151
|
Returns: undefined;
|
|
10390
11152
|
};
|
|
11153
|
+
consume_bom_for_production: {
|
|
11154
|
+
Args: {
|
|
11155
|
+
p_connection_id: string;
|
|
11156
|
+
p_parent_id: string;
|
|
11157
|
+
p_parent_key: string;
|
|
11158
|
+
p_parent_kind: string;
|
|
11159
|
+
p_quantity: number;
|
|
11160
|
+
p_user_id: string;
|
|
11161
|
+
};
|
|
11162
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11163
|
+
} | {
|
|
11164
|
+
Args: {
|
|
11165
|
+
p_batch_id?: string;
|
|
11166
|
+
p_connection_id: string;
|
|
11167
|
+
p_parent_id: string;
|
|
11168
|
+
p_parent_key: string;
|
|
11169
|
+
p_parent_kind: string;
|
|
11170
|
+
p_quantity: number;
|
|
11171
|
+
p_user_id: string;
|
|
11172
|
+
};
|
|
11173
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11174
|
+
};
|
|
10391
11175
|
consume_floriday_rate_limit: {
|
|
10392
11176
|
Args: {
|
|
10393
11177
|
p_bucket: string;
|
|
@@ -10439,6 +11223,13 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10439
11223
|
table_name: string;
|
|
10440
11224
|
}[];
|
|
10441
11225
|
};
|
|
11226
|
+
delete_samenstelling: {
|
|
11227
|
+
Args: {
|
|
11228
|
+
p_parent_id: string;
|
|
11229
|
+
p_parent_kind: string;
|
|
11230
|
+
};
|
|
11231
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11232
|
+
};
|
|
10442
11233
|
dispatch_carrier_signups_sql: {
|
|
10443
11234
|
Args: {
|
|
10444
11235
|
_catchup?: string;
|
|
@@ -10480,6 +11271,16 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10480
11271
|
status: string;
|
|
10481
11272
|
}[];
|
|
10482
11273
|
};
|
|
11274
|
+
email_auth_upsert_connection: {
|
|
11275
|
+
Args: {
|
|
11276
|
+
_account_email: string;
|
|
11277
|
+
_created_by: string;
|
|
11278
|
+
_is_active: boolean;
|
|
11279
|
+
_provider: string;
|
|
11280
|
+
_status: string;
|
|
11281
|
+
};
|
|
11282
|
+
Returns: string;
|
|
11283
|
+
};
|
|
10483
11284
|
enqueue_cart_replan_if_unlocked: {
|
|
10484
11285
|
Args: {
|
|
10485
11286
|
p_order_id: string;
|
|
@@ -10599,19 +11400,6 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10599
11400
|
resource: string;
|
|
10600
11401
|
}[];
|
|
10601
11402
|
};
|
|
10602
|
-
get_floriday_agreements_active: {
|
|
10603
|
-
Args: {
|
|
10604
|
-
p_on_date?: string;
|
|
10605
|
-
};
|
|
10606
|
-
Returns: {
|
|
10607
|
-
buyer_organization_id: string;
|
|
10608
|
-
data: import("../integrations/supabase/types").Json;
|
|
10609
|
-
floriday_id: string;
|
|
10610
|
-
status: string;
|
|
10611
|
-
valid_from: string;
|
|
10612
|
-
valid_until: string;
|
|
10613
|
-
}[];
|
|
10614
|
-
};
|
|
10615
11403
|
get_floriday_clock_supplies_window: {
|
|
10616
11404
|
Args: {
|
|
10617
11405
|
p_from: string;
|
|
@@ -10684,6 +11472,21 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10684
11472
|
minutes_since_success: number;
|
|
10685
11473
|
}[];
|
|
10686
11474
|
};
|
|
11475
|
+
get_group_allocation_keys: {
|
|
11476
|
+
Args: {
|
|
11477
|
+
p_product_id: string;
|
|
11478
|
+
};
|
|
11479
|
+
Returns: {
|
|
11480
|
+
k: string;
|
|
11481
|
+
ord: number;
|
|
11482
|
+
}[];
|
|
11483
|
+
};
|
|
11484
|
+
get_group_head_key: {
|
|
11485
|
+
Args: {
|
|
11486
|
+
p_group_id: string;
|
|
11487
|
+
};
|
|
11488
|
+
Returns: string;
|
|
11489
|
+
};
|
|
10687
11490
|
get_offer_by_link_code: {
|
|
10688
11491
|
Args: {
|
|
10689
11492
|
p_code: string;
|
|
@@ -10794,6 +11597,32 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10794
11597
|
};
|
|
10795
11598
|
Returns: undefined;
|
|
10796
11599
|
};
|
|
11600
|
+
mark_salesorder_controlled: {
|
|
11601
|
+
Args: {
|
|
11602
|
+
p_controlled: boolean;
|
|
11603
|
+
p_floriday_id: string;
|
|
11604
|
+
};
|
|
11605
|
+
Returns: undefined;
|
|
11606
|
+
};
|
|
11607
|
+
mark_shipment_shipped: {
|
|
11608
|
+
Args: {
|
|
11609
|
+
p_shipment_id: string;
|
|
11610
|
+
};
|
|
11611
|
+
Returns: undefined;
|
|
11612
|
+
};
|
|
11613
|
+
merge_products: {
|
|
11614
|
+
Args: {
|
|
11615
|
+
_canonical: string;
|
|
11616
|
+
_loser: string;
|
|
11617
|
+
};
|
|
11618
|
+
Returns: undefined;
|
|
11619
|
+
};
|
|
11620
|
+
next_manufacture_partij: {
|
|
11621
|
+
Args: {
|
|
11622
|
+
_tenant_id: string;
|
|
11623
|
+
};
|
|
11624
|
+
Returns: string;
|
|
11625
|
+
};
|
|
10797
11626
|
next_order_number: {
|
|
10798
11627
|
Args: {
|
|
10799
11628
|
p_prefix: string;
|
|
@@ -10863,6 +11692,15 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10863
11692
|
};
|
|
10864
11693
|
Returns: undefined;
|
|
10865
11694
|
};
|
|
11695
|
+
pickstation_resolve_delivery_orders: {
|
|
11696
|
+
Args: {
|
|
11697
|
+
p_sales_order_ids: string[];
|
|
11698
|
+
};
|
|
11699
|
+
Returns: {
|
|
11700
|
+
delivery_order_id: string;
|
|
11701
|
+
sales_order_id: string;
|
|
11702
|
+
}[];
|
|
11703
|
+
};
|
|
10866
11704
|
pickstation_set_cart_status: {
|
|
10867
11705
|
Args: {
|
|
10868
11706
|
p_cart_index: number;
|
|
@@ -10872,6 +11710,14 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10872
11710
|
};
|
|
10873
11711
|
Returns: undefined;
|
|
10874
11712
|
};
|
|
11713
|
+
produce_designed_product: {
|
|
11714
|
+
Args: {
|
|
11715
|
+
p_parent_id: string;
|
|
11716
|
+
p_parent_kind: string;
|
|
11717
|
+
p_quantity: number;
|
|
11718
|
+
};
|
|
11719
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
11720
|
+
};
|
|
10875
11721
|
promote_trade_item_key: {
|
|
10876
11722
|
Args: {
|
|
10877
11723
|
p_new: string;
|
|
@@ -10879,6 +11725,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10879
11725
|
};
|
|
10880
11726
|
Returns: undefined;
|
|
10881
11727
|
};
|
|
11728
|
+
recompute_all_reserved_stock: {
|
|
11729
|
+
Args: never;
|
|
11730
|
+
Returns: undefined;
|
|
11731
|
+
};
|
|
10882
11732
|
recompute_order_status: {
|
|
10883
11733
|
Args: {
|
|
10884
11734
|
p_order_id: string;
|
|
@@ -10928,27 +11778,45 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
10928
11778
|
};
|
|
10929
11779
|
Returns: undefined;
|
|
10930
11780
|
};
|
|
11781
|
+
resolve_group_allocation: {
|
|
11782
|
+
Args: {
|
|
11783
|
+
_needed: number;
|
|
11784
|
+
_product_group_id: string;
|
|
11785
|
+
};
|
|
11786
|
+
Returns: {
|
|
11787
|
+
allocated: number;
|
|
11788
|
+
trade_item_id: string;
|
|
11789
|
+
}[];
|
|
11790
|
+
};
|
|
11791
|
+
resolve_group_member_stock_key: {
|
|
11792
|
+
Args: {
|
|
11793
|
+
p_trade_item_id: string;
|
|
11794
|
+
};
|
|
11795
|
+
Returns: string;
|
|
11796
|
+
};
|
|
10931
11797
|
resolve_product_id_for_item: {
|
|
10932
11798
|
Args: {
|
|
10933
11799
|
p_product_name: string;
|
|
10934
11800
|
};
|
|
10935
11801
|
Returns: string;
|
|
10936
11802
|
};
|
|
10937
|
-
|
|
11803
|
+
resolve_stock_trade_item_key: {
|
|
10938
11804
|
Args: {
|
|
10939
|
-
|
|
10940
|
-
p_url: string;
|
|
11805
|
+
p_product_id: string;
|
|
10941
11806
|
};
|
|
10942
|
-
Returns:
|
|
11807
|
+
Returns: string;
|
|
10943
11808
|
};
|
|
10944
|
-
|
|
11809
|
+
reverse_production: {
|
|
10945
11810
|
Args: {
|
|
10946
|
-
|
|
10947
|
-
|
|
11811
|
+
p_connection_id?: string;
|
|
11812
|
+
p_parent_key: string;
|
|
11813
|
+
p_quantity: number;
|
|
11814
|
+
p_reason?: string;
|
|
11815
|
+
p_user_id?: string;
|
|
10948
11816
|
};
|
|
10949
|
-
Returns:
|
|
11817
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
10950
11818
|
};
|
|
10951
|
-
|
|
11819
|
+
schedule_floriday_additional_services_sync: {
|
|
10952
11820
|
Args: {
|
|
10953
11821
|
p_apikey: string;
|
|
10954
11822
|
p_url: string;
|
|
@@ -11201,6 +12069,10 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11201
12069
|
};
|
|
11202
12070
|
Returns: number;
|
|
11203
12071
|
};
|
|
12072
|
+
self_heal_floriday_links: {
|
|
12073
|
+
Args: never;
|
|
12074
|
+
Returns: number;
|
|
12075
|
+
};
|
|
11204
12076
|
show_limit: {
|
|
11205
12077
|
Args: never;
|
|
11206
12078
|
Returns: number;
|
|
@@ -11223,6 +12095,12 @@ export declare const getFlorydayCustomerSticker: import("@tanstack/start-client-
|
|
|
11223
12095
|
};
|
|
11224
12096
|
Returns: undefined;
|
|
11225
12097
|
};
|
|
12098
|
+
sync_product_group_belading: {
|
|
12099
|
+
Args: {
|
|
12100
|
+
_group_id: string;
|
|
12101
|
+
};
|
|
12102
|
+
Returns: undefined;
|
|
12103
|
+
};
|
|
11226
12104
|
sync_product_packing_from_floriday_cache: {
|
|
11227
12105
|
Args: {
|
|
11228
12106
|
p_floriday_id: string;
|