@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
|
@@ -242,6 +242,165 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
242
242
|
};
|
|
243
243
|
Relationships: [];
|
|
244
244
|
};
|
|
245
|
+
ai_credentials: {
|
|
246
|
+
Row: {
|
|
247
|
+
active: boolean;
|
|
248
|
+
api_key: string;
|
|
249
|
+
created_at: string;
|
|
250
|
+
created_by: string | null;
|
|
251
|
+
id: string;
|
|
252
|
+
label: string;
|
|
253
|
+
provider_id: string;
|
|
254
|
+
updated_at: string;
|
|
255
|
+
};
|
|
256
|
+
Insert: {
|
|
257
|
+
active?: boolean;
|
|
258
|
+
api_key: string;
|
|
259
|
+
created_at?: string;
|
|
260
|
+
created_by?: string | null;
|
|
261
|
+
id?: string;
|
|
262
|
+
label: string;
|
|
263
|
+
provider_id: string;
|
|
264
|
+
updated_at?: string;
|
|
265
|
+
};
|
|
266
|
+
Update: {
|
|
267
|
+
active?: boolean;
|
|
268
|
+
api_key?: string;
|
|
269
|
+
created_at?: string;
|
|
270
|
+
created_by?: string | null;
|
|
271
|
+
id?: string;
|
|
272
|
+
label?: string;
|
|
273
|
+
provider_id?: string;
|
|
274
|
+
updated_at?: string;
|
|
275
|
+
};
|
|
276
|
+
Relationships: [{
|
|
277
|
+
foreignKeyName: "ai_credentials_provider_id_fkey";
|
|
278
|
+
columns: ["provider_id"];
|
|
279
|
+
isOneToOne: false;
|
|
280
|
+
referencedRelation: "ai_providers";
|
|
281
|
+
referencedColumns: ["id"];
|
|
282
|
+
}];
|
|
283
|
+
};
|
|
284
|
+
ai_models: {
|
|
285
|
+
Row: {
|
|
286
|
+
active: boolean;
|
|
287
|
+
context_window: number | null;
|
|
288
|
+
created_at: string;
|
|
289
|
+
display_name: string;
|
|
290
|
+
id: string;
|
|
291
|
+
is_default: boolean;
|
|
292
|
+
modality: string;
|
|
293
|
+
provider_id: string;
|
|
294
|
+
slug: string;
|
|
295
|
+
updated_at: string;
|
|
296
|
+
};
|
|
297
|
+
Insert: {
|
|
298
|
+
active?: boolean;
|
|
299
|
+
context_window?: number | null;
|
|
300
|
+
created_at?: string;
|
|
301
|
+
display_name: string;
|
|
302
|
+
id?: string;
|
|
303
|
+
is_default?: boolean;
|
|
304
|
+
modality?: string;
|
|
305
|
+
provider_id: string;
|
|
306
|
+
slug: string;
|
|
307
|
+
updated_at?: string;
|
|
308
|
+
};
|
|
309
|
+
Update: {
|
|
310
|
+
active?: boolean;
|
|
311
|
+
context_window?: number | null;
|
|
312
|
+
created_at?: string;
|
|
313
|
+
display_name?: string;
|
|
314
|
+
id?: string;
|
|
315
|
+
is_default?: boolean;
|
|
316
|
+
modality?: string;
|
|
317
|
+
provider_id?: string;
|
|
318
|
+
slug?: string;
|
|
319
|
+
updated_at?: string;
|
|
320
|
+
};
|
|
321
|
+
Relationships: [{
|
|
322
|
+
foreignKeyName: "ai_models_provider_id_fkey";
|
|
323
|
+
columns: ["provider_id"];
|
|
324
|
+
isOneToOne: false;
|
|
325
|
+
referencedRelation: "ai_providers";
|
|
326
|
+
referencedColumns: ["id"];
|
|
327
|
+
}];
|
|
328
|
+
};
|
|
329
|
+
ai_module_bindings: {
|
|
330
|
+
Row: {
|
|
331
|
+
consumer_module_id: string;
|
|
332
|
+
created_at: string;
|
|
333
|
+
credential_id: string;
|
|
334
|
+
id: string;
|
|
335
|
+
model_id: string;
|
|
336
|
+
notes: string | null;
|
|
337
|
+
updated_at: string;
|
|
338
|
+
};
|
|
339
|
+
Insert: {
|
|
340
|
+
consumer_module_id: string;
|
|
341
|
+
created_at?: string;
|
|
342
|
+
credential_id: string;
|
|
343
|
+
id?: string;
|
|
344
|
+
model_id: string;
|
|
345
|
+
notes?: string | null;
|
|
346
|
+
updated_at?: string;
|
|
347
|
+
};
|
|
348
|
+
Update: {
|
|
349
|
+
consumer_module_id?: string;
|
|
350
|
+
created_at?: string;
|
|
351
|
+
credential_id?: string;
|
|
352
|
+
id?: string;
|
|
353
|
+
model_id?: string;
|
|
354
|
+
notes?: string | null;
|
|
355
|
+
updated_at?: string;
|
|
356
|
+
};
|
|
357
|
+
Relationships: [{
|
|
358
|
+
foreignKeyName: "ai_module_bindings_credential_id_fkey";
|
|
359
|
+
columns: ["credential_id"];
|
|
360
|
+
isOneToOne: false;
|
|
361
|
+
referencedRelation: "ai_credentials";
|
|
362
|
+
referencedColumns: ["id"];
|
|
363
|
+
}, {
|
|
364
|
+
foreignKeyName: "ai_module_bindings_model_id_fkey";
|
|
365
|
+
columns: ["model_id"];
|
|
366
|
+
isOneToOne: false;
|
|
367
|
+
referencedRelation: "ai_models";
|
|
368
|
+
referencedColumns: ["id"];
|
|
369
|
+
}];
|
|
370
|
+
};
|
|
371
|
+
ai_providers: {
|
|
372
|
+
Row: {
|
|
373
|
+
active: boolean;
|
|
374
|
+
auth_type: string;
|
|
375
|
+
base_url: string | null;
|
|
376
|
+
created_at: string;
|
|
377
|
+
id: string;
|
|
378
|
+
name: string;
|
|
379
|
+
slug: string;
|
|
380
|
+
updated_at: string;
|
|
381
|
+
};
|
|
382
|
+
Insert: {
|
|
383
|
+
active?: boolean;
|
|
384
|
+
auth_type?: string;
|
|
385
|
+
base_url?: string | null;
|
|
386
|
+
created_at?: string;
|
|
387
|
+
id?: string;
|
|
388
|
+
name: string;
|
|
389
|
+
slug: string;
|
|
390
|
+
updated_at?: string;
|
|
391
|
+
};
|
|
392
|
+
Update: {
|
|
393
|
+
active?: boolean;
|
|
394
|
+
auth_type?: string;
|
|
395
|
+
base_url?: string | null;
|
|
396
|
+
created_at?: string;
|
|
397
|
+
id?: string;
|
|
398
|
+
name?: string;
|
|
399
|
+
slug?: string;
|
|
400
|
+
updated_at?: string;
|
|
401
|
+
};
|
|
402
|
+
Relationships: [];
|
|
403
|
+
};
|
|
245
404
|
app_settings: {
|
|
246
405
|
Row: {
|
|
247
406
|
created_at: string;
|
|
@@ -1241,8 +1400,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1241
1400
|
customers: {
|
|
1242
1401
|
Row: {
|
|
1243
1402
|
address: string | null;
|
|
1403
|
+
address_line1: string | null;
|
|
1404
|
+
address_line2: string | null;
|
|
1405
|
+
address_type: string | null;
|
|
1406
|
+
attention_to: string | null;
|
|
1407
|
+
bank_account_holder: string | null;
|
|
1408
|
+
bank_account_number: string | null;
|
|
1409
|
+
bank_address_line1: string | null;
|
|
1410
|
+
bank_address_line2: string | null;
|
|
1411
|
+
bank_bic: string | null;
|
|
1412
|
+
bank_city: string | null;
|
|
1413
|
+
bank_country: string | null;
|
|
1414
|
+
bank_house_number: string | null;
|
|
1415
|
+
bank_iban: string | null;
|
|
1416
|
+
bank_name: string | null;
|
|
1417
|
+
bank_national_code: string | null;
|
|
1418
|
+
bank_postal_code: string | null;
|
|
1419
|
+
bank_state: string | null;
|
|
1420
|
+
billing_email: string | null;
|
|
1244
1421
|
bio: string | null;
|
|
1245
1422
|
city: string | null;
|
|
1423
|
+
coc_number: string | null;
|
|
1246
1424
|
commercial_name: string | null;
|
|
1247
1425
|
company_name: string;
|
|
1248
1426
|
connection_status: string;
|
|
@@ -1251,21 +1429,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1251
1429
|
created_at: string;
|
|
1252
1430
|
custom_fields: import("./types").Json;
|
|
1253
1431
|
customer_class: string | null;
|
|
1432
|
+
customer_number: string | null;
|
|
1433
|
+
discount_days: number | null;
|
|
1434
|
+
discount_percentage: number | null;
|
|
1254
1435
|
email: string | null;
|
|
1255
1436
|
external_id: string | null;
|
|
1437
|
+
fax: string | null;
|
|
1256
1438
|
floriday_connection_id: string | null;
|
|
1257
1439
|
floriday_organization_id: string | null;
|
|
1258
1440
|
floriday_raw: import("./types").Json | null;
|
|
1259
1441
|
gln: string | null;
|
|
1260
1442
|
house_number: string | null;
|
|
1443
|
+
icp_country_code: string | null;
|
|
1261
1444
|
id: string;
|
|
1262
1445
|
is_active: boolean;
|
|
1446
|
+
language: string | null;
|
|
1263
1447
|
last_synced_at: string | null;
|
|
1264
1448
|
logo_url: string | null;
|
|
1265
1449
|
markets: string[];
|
|
1266
1450
|
notes: string | null;
|
|
1267
1451
|
organization_type: string | null;
|
|
1268
1452
|
payment_methods: string[];
|
|
1453
|
+
payment_term_days: number | null;
|
|
1269
1454
|
phone: string | null;
|
|
1270
1455
|
postal_code: string | null;
|
|
1271
1456
|
product_groups: string[];
|
|
@@ -1276,13 +1461,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1276
1461
|
sync_status: string;
|
|
1277
1462
|
trade_forms: string[];
|
|
1278
1463
|
updated_at: string;
|
|
1464
|
+
vat_display: string | null;
|
|
1279
1465
|
vat_number: string | null;
|
|
1280
1466
|
website: string | null;
|
|
1281
1467
|
};
|
|
1282
1468
|
Insert: {
|
|
1283
1469
|
address?: string | null;
|
|
1470
|
+
address_line1?: string | null;
|
|
1471
|
+
address_line2?: string | null;
|
|
1472
|
+
address_type?: string | null;
|
|
1473
|
+
attention_to?: string | null;
|
|
1474
|
+
bank_account_holder?: string | null;
|
|
1475
|
+
bank_account_number?: string | null;
|
|
1476
|
+
bank_address_line1?: string | null;
|
|
1477
|
+
bank_address_line2?: string | null;
|
|
1478
|
+
bank_bic?: string | null;
|
|
1479
|
+
bank_city?: string | null;
|
|
1480
|
+
bank_country?: string | null;
|
|
1481
|
+
bank_house_number?: string | null;
|
|
1482
|
+
bank_iban?: string | null;
|
|
1483
|
+
bank_name?: string | null;
|
|
1484
|
+
bank_national_code?: string | null;
|
|
1485
|
+
bank_postal_code?: string | null;
|
|
1486
|
+
bank_state?: string | null;
|
|
1487
|
+
billing_email?: string | null;
|
|
1284
1488
|
bio?: string | null;
|
|
1285
1489
|
city?: string | null;
|
|
1490
|
+
coc_number?: string | null;
|
|
1286
1491
|
commercial_name?: string | null;
|
|
1287
1492
|
company_name: string;
|
|
1288
1493
|
connection_status?: string;
|
|
@@ -1291,21 +1496,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1291
1496
|
created_at?: string;
|
|
1292
1497
|
custom_fields?: import("./types").Json;
|
|
1293
1498
|
customer_class?: string | null;
|
|
1499
|
+
customer_number?: string | null;
|
|
1500
|
+
discount_days?: number | null;
|
|
1501
|
+
discount_percentage?: number | null;
|
|
1294
1502
|
email?: string | null;
|
|
1295
1503
|
external_id?: string | null;
|
|
1504
|
+
fax?: string | null;
|
|
1296
1505
|
floriday_connection_id?: string | null;
|
|
1297
1506
|
floriday_organization_id?: string | null;
|
|
1298
1507
|
floriday_raw?: import("./types").Json | null;
|
|
1299
1508
|
gln?: string | null;
|
|
1300
1509
|
house_number?: string | null;
|
|
1510
|
+
icp_country_code?: string | null;
|
|
1301
1511
|
id?: string;
|
|
1302
1512
|
is_active?: boolean;
|
|
1513
|
+
language?: string | null;
|
|
1303
1514
|
last_synced_at?: string | null;
|
|
1304
1515
|
logo_url?: string | null;
|
|
1305
1516
|
markets?: string[];
|
|
1306
1517
|
notes?: string | null;
|
|
1307
1518
|
organization_type?: string | null;
|
|
1308
1519
|
payment_methods?: string[];
|
|
1520
|
+
payment_term_days?: number | null;
|
|
1309
1521
|
phone?: string | null;
|
|
1310
1522
|
postal_code?: string | null;
|
|
1311
1523
|
product_groups?: string[];
|
|
@@ -1316,13 +1528,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1316
1528
|
sync_status?: string;
|
|
1317
1529
|
trade_forms?: string[];
|
|
1318
1530
|
updated_at?: string;
|
|
1531
|
+
vat_display?: string | null;
|
|
1319
1532
|
vat_number?: string | null;
|
|
1320
1533
|
website?: string | null;
|
|
1321
1534
|
};
|
|
1322
1535
|
Update: {
|
|
1323
1536
|
address?: string | null;
|
|
1537
|
+
address_line1?: string | null;
|
|
1538
|
+
address_line2?: string | null;
|
|
1539
|
+
address_type?: string | null;
|
|
1540
|
+
attention_to?: string | null;
|
|
1541
|
+
bank_account_holder?: string | null;
|
|
1542
|
+
bank_account_number?: string | null;
|
|
1543
|
+
bank_address_line1?: string | null;
|
|
1544
|
+
bank_address_line2?: string | null;
|
|
1545
|
+
bank_bic?: string | null;
|
|
1546
|
+
bank_city?: string | null;
|
|
1547
|
+
bank_country?: string | null;
|
|
1548
|
+
bank_house_number?: string | null;
|
|
1549
|
+
bank_iban?: string | null;
|
|
1550
|
+
bank_name?: string | null;
|
|
1551
|
+
bank_national_code?: string | null;
|
|
1552
|
+
bank_postal_code?: string | null;
|
|
1553
|
+
bank_state?: string | null;
|
|
1554
|
+
billing_email?: string | null;
|
|
1324
1555
|
bio?: string | null;
|
|
1325
1556
|
city?: string | null;
|
|
1557
|
+
coc_number?: string | null;
|
|
1326
1558
|
commercial_name?: string | null;
|
|
1327
1559
|
company_name?: string;
|
|
1328
1560
|
connection_status?: string;
|
|
@@ -1331,21 +1563,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1331
1563
|
created_at?: string;
|
|
1332
1564
|
custom_fields?: import("./types").Json;
|
|
1333
1565
|
customer_class?: string | null;
|
|
1566
|
+
customer_number?: string | null;
|
|
1567
|
+
discount_days?: number | null;
|
|
1568
|
+
discount_percentage?: number | null;
|
|
1334
1569
|
email?: string | null;
|
|
1335
1570
|
external_id?: string | null;
|
|
1571
|
+
fax?: string | null;
|
|
1336
1572
|
floriday_connection_id?: string | null;
|
|
1337
1573
|
floriday_organization_id?: string | null;
|
|
1338
1574
|
floriday_raw?: import("./types").Json | null;
|
|
1339
1575
|
gln?: string | null;
|
|
1340
1576
|
house_number?: string | null;
|
|
1577
|
+
icp_country_code?: string | null;
|
|
1341
1578
|
id?: string;
|
|
1342
1579
|
is_active?: boolean;
|
|
1580
|
+
language?: string | null;
|
|
1343
1581
|
last_synced_at?: string | null;
|
|
1344
1582
|
logo_url?: string | null;
|
|
1345
1583
|
markets?: string[];
|
|
1346
1584
|
notes?: string | null;
|
|
1347
1585
|
organization_type?: string | null;
|
|
1348
1586
|
payment_methods?: string[];
|
|
1587
|
+
payment_term_days?: number | null;
|
|
1349
1588
|
phone?: string | null;
|
|
1350
1589
|
postal_code?: string | null;
|
|
1351
1590
|
product_groups?: string[];
|
|
@@ -1356,6 +1595,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1356
1595
|
sync_status?: string;
|
|
1357
1596
|
trade_forms?: string[];
|
|
1358
1597
|
updated_at?: string;
|
|
1598
|
+
vat_display?: string | null;
|
|
1359
1599
|
vat_number?: string | null;
|
|
1360
1600
|
website?: string | null;
|
|
1361
1601
|
};
|
|
@@ -3167,105 +3407,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3167
3407
|
referencedColumns: ["id"];
|
|
3168
3408
|
}];
|
|
3169
3409
|
};
|
|
3170
|
-
floriday_agreement_calloffs_cache: {
|
|
3171
|
-
Row: {
|
|
3172
|
-
agreement_id: string | null;
|
|
3173
|
-
connection_id: string;
|
|
3174
|
-
data: import("./types").Json;
|
|
3175
|
-
delivery_date: string | null;
|
|
3176
|
-
fetched_at: string;
|
|
3177
|
-
floriday_id: string;
|
|
3178
|
-
id: string;
|
|
3179
|
-
is_deleted: boolean;
|
|
3180
|
-
sequence_number: number;
|
|
3181
|
-
status: string | null;
|
|
3182
|
-
updated_at: string;
|
|
3183
|
-
};
|
|
3184
|
-
Insert: {
|
|
3185
|
-
agreement_id?: string | null;
|
|
3186
|
-
connection_id: string;
|
|
3187
|
-
data?: import("./types").Json;
|
|
3188
|
-
delivery_date?: string | null;
|
|
3189
|
-
fetched_at?: string;
|
|
3190
|
-
floriday_id: string;
|
|
3191
|
-
id?: string;
|
|
3192
|
-
is_deleted?: boolean;
|
|
3193
|
-
sequence_number?: number;
|
|
3194
|
-
status?: string | null;
|
|
3195
|
-
updated_at?: string;
|
|
3196
|
-
};
|
|
3197
|
-
Update: {
|
|
3198
|
-
agreement_id?: string | null;
|
|
3199
|
-
connection_id?: string;
|
|
3200
|
-
data?: import("./types").Json;
|
|
3201
|
-
delivery_date?: string | null;
|
|
3202
|
-
fetched_at?: string;
|
|
3203
|
-
floriday_id?: string;
|
|
3204
|
-
id?: string;
|
|
3205
|
-
is_deleted?: boolean;
|
|
3206
|
-
sequence_number?: number;
|
|
3207
|
-
status?: string | null;
|
|
3208
|
-
updated_at?: string;
|
|
3209
|
-
};
|
|
3210
|
-
Relationships: [{
|
|
3211
|
-
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3212
|
-
columns: ["connection_id"];
|
|
3213
|
-
isOneToOne: false;
|
|
3214
|
-
referencedRelation: "floriday_connections";
|
|
3215
|
-
referencedColumns: ["id"];
|
|
3216
|
-
}];
|
|
3217
|
-
};
|
|
3218
|
-
floriday_agreements_cache: {
|
|
3219
|
-
Row: {
|
|
3220
|
-
buyer_organization_id: string | null;
|
|
3221
|
-
connection_id: string;
|
|
3222
|
-
data: import("./types").Json;
|
|
3223
|
-
fetched_at: string;
|
|
3224
|
-
floriday_id: string;
|
|
3225
|
-
id: string;
|
|
3226
|
-
is_deleted: boolean;
|
|
3227
|
-
sequence_number: number;
|
|
3228
|
-
status: string | null;
|
|
3229
|
-
updated_at: string;
|
|
3230
|
-
valid_from: string | null;
|
|
3231
|
-
valid_until: string | null;
|
|
3232
|
-
};
|
|
3233
|
-
Insert: {
|
|
3234
|
-
buyer_organization_id?: string | null;
|
|
3235
|
-
connection_id: string;
|
|
3236
|
-
data?: import("./types").Json;
|
|
3237
|
-
fetched_at?: string;
|
|
3238
|
-
floriday_id: string;
|
|
3239
|
-
id?: string;
|
|
3240
|
-
is_deleted?: boolean;
|
|
3241
|
-
sequence_number?: number;
|
|
3242
|
-
status?: string | null;
|
|
3243
|
-
updated_at?: string;
|
|
3244
|
-
valid_from?: string | null;
|
|
3245
|
-
valid_until?: string | null;
|
|
3246
|
-
};
|
|
3247
|
-
Update: {
|
|
3248
|
-
buyer_organization_id?: string | null;
|
|
3249
|
-
connection_id?: string;
|
|
3250
|
-
data?: import("./types").Json;
|
|
3251
|
-
fetched_at?: string;
|
|
3252
|
-
floriday_id?: string;
|
|
3253
|
-
id?: string;
|
|
3254
|
-
is_deleted?: boolean;
|
|
3255
|
-
sequence_number?: number;
|
|
3256
|
-
status?: string | null;
|
|
3257
|
-
updated_at?: string;
|
|
3258
|
-
valid_from?: string | null;
|
|
3259
|
-
valid_until?: string | null;
|
|
3260
|
-
};
|
|
3261
|
-
Relationships: [{
|
|
3262
|
-
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
3263
|
-
columns: ["connection_id"];
|
|
3264
|
-
isOneToOne: false;
|
|
3265
|
-
referencedRelation: "floriday_connections";
|
|
3266
|
-
referencedColumns: ["id"];
|
|
3267
|
-
}];
|
|
3268
|
-
};
|
|
3269
3410
|
floriday_auction_letters_cache: {
|
|
3270
3411
|
Row: {
|
|
3271
3412
|
auction_letter_code: string;
|
|
@@ -3764,6 +3905,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3764
3905
|
referencedColumns: ["id"];
|
|
3765
3906
|
}];
|
|
3766
3907
|
};
|
|
3908
|
+
floriday_continuous_stock_cache: {
|
|
3909
|
+
Row: {
|
|
3910
|
+
connection_id: string;
|
|
3911
|
+
fetched_at: string;
|
|
3912
|
+
number_of_pieces: number;
|
|
3913
|
+
trade_item_id: string;
|
|
3914
|
+
};
|
|
3915
|
+
Insert: {
|
|
3916
|
+
connection_id: string;
|
|
3917
|
+
fetched_at?: string;
|
|
3918
|
+
number_of_pieces?: number;
|
|
3919
|
+
trade_item_id: string;
|
|
3920
|
+
};
|
|
3921
|
+
Update: {
|
|
3922
|
+
connection_id?: string;
|
|
3923
|
+
fetched_at?: string;
|
|
3924
|
+
number_of_pieces?: number;
|
|
3925
|
+
trade_item_id?: string;
|
|
3926
|
+
};
|
|
3927
|
+
Relationships: [];
|
|
3928
|
+
};
|
|
3767
3929
|
floriday_continuous_stock_queue: {
|
|
3768
3930
|
Row: {
|
|
3769
3931
|
attempts: number;
|
|
@@ -4539,6 +4701,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4539
4701
|
Row: {
|
|
4540
4702
|
buyer_organization_id: string | null;
|
|
4541
4703
|
connection_id: string;
|
|
4704
|
+
controlled_at: string | null;
|
|
4705
|
+
controlled_by: string | null;
|
|
4542
4706
|
created_at: string;
|
|
4543
4707
|
data: import("./types").Json;
|
|
4544
4708
|
floriday_id: string;
|
|
@@ -4550,6 +4714,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4550
4714
|
Insert: {
|
|
4551
4715
|
buyer_organization_id?: string | null;
|
|
4552
4716
|
connection_id: string;
|
|
4717
|
+
controlled_at?: string | null;
|
|
4718
|
+
controlled_by?: string | null;
|
|
4553
4719
|
created_at?: string;
|
|
4554
4720
|
data: import("./types").Json;
|
|
4555
4721
|
floriday_id: string;
|
|
@@ -4561,6 +4727,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4561
4727
|
Update: {
|
|
4562
4728
|
buyer_organization_id?: string | null;
|
|
4563
4729
|
connection_id?: string;
|
|
4730
|
+
controlled_at?: string | null;
|
|
4731
|
+
controlled_by?: string | null;
|
|
4564
4732
|
created_at?: string;
|
|
4565
4733
|
data?: import("./types").Json;
|
|
4566
4734
|
floriday_id?: string;
|
|
@@ -4742,9 +4910,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4742
4910
|
referencedColumns: ["id"];
|
|
4743
4911
|
}];
|
|
4744
4912
|
};
|
|
4745
|
-
|
|
4913
|
+
floriday_trade_settings_customers_cache: {
|
|
4746
4914
|
Row: {
|
|
4747
|
-
carrier_organization_id: string | null;
|
|
4748
4915
|
connection_id: string;
|
|
4749
4916
|
data: import("./types").Json;
|
|
4750
4917
|
fetched_at: string;
|
|
@@ -4752,21 +4919,61 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
4752
4919
|
id: string;
|
|
4753
4920
|
is_deleted: boolean;
|
|
4754
4921
|
sequence_number: number;
|
|
4755
|
-
status: string | null;
|
|
4756
|
-
trip_date: string | null;
|
|
4757
4922
|
updated_at: string;
|
|
4758
4923
|
};
|
|
4759
4924
|
Insert: {
|
|
4760
|
-
carrier_organization_id?: string | null;
|
|
4761
4925
|
connection_id: string;
|
|
4762
|
-
data
|
|
4926
|
+
data: import("./types").Json;
|
|
4763
4927
|
fetched_at?: string;
|
|
4764
4928
|
floriday_id: string;
|
|
4765
4929
|
id?: string;
|
|
4766
4930
|
is_deleted?: boolean;
|
|
4767
4931
|
sequence_number?: number;
|
|
4768
|
-
|
|
4769
|
-
|
|
4932
|
+
updated_at?: string;
|
|
4933
|
+
};
|
|
4934
|
+
Update: {
|
|
4935
|
+
connection_id?: string;
|
|
4936
|
+
data?: import("./types").Json;
|
|
4937
|
+
fetched_at?: string;
|
|
4938
|
+
floriday_id?: string;
|
|
4939
|
+
id?: string;
|
|
4940
|
+
is_deleted?: boolean;
|
|
4941
|
+
sequence_number?: number;
|
|
4942
|
+
updated_at?: string;
|
|
4943
|
+
};
|
|
4944
|
+
Relationships: [{
|
|
4945
|
+
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
4946
|
+
columns: ["connection_id"];
|
|
4947
|
+
isOneToOne: false;
|
|
4948
|
+
referencedRelation: "floriday_connections";
|
|
4949
|
+
referencedColumns: ["id"];
|
|
4950
|
+
}];
|
|
4951
|
+
};
|
|
4952
|
+
floriday_trips_cache: {
|
|
4953
|
+
Row: {
|
|
4954
|
+
carrier_organization_id: string | null;
|
|
4955
|
+
connection_id: string;
|
|
4956
|
+
data: import("./types").Json;
|
|
4957
|
+
fetched_at: string;
|
|
4958
|
+
floriday_id: string;
|
|
4959
|
+
id: string;
|
|
4960
|
+
is_deleted: boolean;
|
|
4961
|
+
sequence_number: number;
|
|
4962
|
+
status: string | null;
|
|
4963
|
+
trip_date: string | null;
|
|
4964
|
+
updated_at: string;
|
|
4965
|
+
};
|
|
4966
|
+
Insert: {
|
|
4967
|
+
carrier_organization_id?: string | null;
|
|
4968
|
+
connection_id: string;
|
|
4969
|
+
data?: import("./types").Json;
|
|
4970
|
+
fetched_at?: string;
|
|
4971
|
+
floriday_id: string;
|
|
4972
|
+
id?: string;
|
|
4973
|
+
is_deleted?: boolean;
|
|
4974
|
+
sequence_number?: number;
|
|
4975
|
+
status?: string | null;
|
|
4976
|
+
trip_date?: string | null;
|
|
4770
4977
|
updated_at?: string;
|
|
4771
4978
|
};
|
|
4772
4979
|
Update: {
|
|
@@ -5492,6 +5699,222 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5492
5699
|
};
|
|
5493
5700
|
Relationships: [];
|
|
5494
5701
|
};
|
|
5702
|
+
logistics_decisions: {
|
|
5703
|
+
Row: {
|
|
5704
|
+
created_at: string;
|
|
5705
|
+
explanation: string | null;
|
|
5706
|
+
id: string;
|
|
5707
|
+
input_snapshot: import("./types").Json;
|
|
5708
|
+
result: import("./types").Json;
|
|
5709
|
+
slot: string;
|
|
5710
|
+
strategy_id: string | null;
|
|
5711
|
+
subject_id: string;
|
|
5712
|
+
subject_type: string;
|
|
5713
|
+
user_id: string;
|
|
5714
|
+
};
|
|
5715
|
+
Insert: {
|
|
5716
|
+
created_at?: string;
|
|
5717
|
+
explanation?: string | null;
|
|
5718
|
+
id?: string;
|
|
5719
|
+
input_snapshot?: import("./types").Json;
|
|
5720
|
+
result?: import("./types").Json;
|
|
5721
|
+
slot: string;
|
|
5722
|
+
strategy_id?: string | null;
|
|
5723
|
+
subject_id: string;
|
|
5724
|
+
subject_type: string;
|
|
5725
|
+
user_id: string;
|
|
5726
|
+
};
|
|
5727
|
+
Update: {
|
|
5728
|
+
created_at?: string;
|
|
5729
|
+
explanation?: string | null;
|
|
5730
|
+
id?: string;
|
|
5731
|
+
input_snapshot?: import("./types").Json;
|
|
5732
|
+
result?: import("./types").Json;
|
|
5733
|
+
slot?: string;
|
|
5734
|
+
strategy_id?: string | null;
|
|
5735
|
+
subject_id?: string;
|
|
5736
|
+
subject_type?: string;
|
|
5737
|
+
user_id?: string;
|
|
5738
|
+
};
|
|
5739
|
+
Relationships: [{
|
|
5740
|
+
foreignKeyName: "logistics_decisions_strategy_id_fkey";
|
|
5741
|
+
columns: ["strategy_id"];
|
|
5742
|
+
isOneToOne: false;
|
|
5743
|
+
referencedRelation: "logistics_strategies";
|
|
5744
|
+
referencedColumns: ["id"];
|
|
5745
|
+
}];
|
|
5746
|
+
};
|
|
5747
|
+
logistics_formulas: {
|
|
5748
|
+
Row: {
|
|
5749
|
+
created_at: string;
|
|
5750
|
+
expression: string;
|
|
5751
|
+
id: string;
|
|
5752
|
+
notes: string | null;
|
|
5753
|
+
slot: string;
|
|
5754
|
+
strategy_id: string;
|
|
5755
|
+
updated_at: string;
|
|
5756
|
+
user_id: string;
|
|
5757
|
+
version: number;
|
|
5758
|
+
};
|
|
5759
|
+
Insert: {
|
|
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
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
5782
|
+
foreignKeyName: "logistics_formulas_strategy_id_fkey";
|
|
5783
|
+
columns: ["strategy_id"];
|
|
5784
|
+
isOneToOne: false;
|
|
5785
|
+
referencedRelation: "logistics_strategies";
|
|
5786
|
+
referencedColumns: ["id"];
|
|
5787
|
+
}];
|
|
5788
|
+
};
|
|
5789
|
+
logistics_strategies: {
|
|
5790
|
+
Row: {
|
|
5791
|
+
color: string;
|
|
5792
|
+
created_at: string;
|
|
5793
|
+
description: string | null;
|
|
5794
|
+
id: string;
|
|
5795
|
+
is_active: boolean;
|
|
5796
|
+
name: string;
|
|
5797
|
+
priority: number;
|
|
5798
|
+
updated_at: string;
|
|
5799
|
+
updated_by: string | null;
|
|
5800
|
+
user_id: string;
|
|
5801
|
+
version: number;
|
|
5802
|
+
};
|
|
5803
|
+
Insert: {
|
|
5804
|
+
color?: string;
|
|
5805
|
+
created_at?: string;
|
|
5806
|
+
description?: string | null;
|
|
5807
|
+
id?: string;
|
|
5808
|
+
is_active?: boolean;
|
|
5809
|
+
name: string;
|
|
5810
|
+
priority?: number;
|
|
5811
|
+
updated_at?: string;
|
|
5812
|
+
updated_by?: string | null;
|
|
5813
|
+
user_id: string;
|
|
5814
|
+
version?: number;
|
|
5815
|
+
};
|
|
5816
|
+
Update: {
|
|
5817
|
+
color?: string;
|
|
5818
|
+
created_at?: string;
|
|
5819
|
+
description?: string | null;
|
|
5820
|
+
id?: string;
|
|
5821
|
+
is_active?: boolean;
|
|
5822
|
+
name?: string;
|
|
5823
|
+
priority?: number;
|
|
5824
|
+
updated_at?: string;
|
|
5825
|
+
updated_by?: string | null;
|
|
5826
|
+
user_id?: string;
|
|
5827
|
+
version?: number;
|
|
5828
|
+
};
|
|
5829
|
+
Relationships: [];
|
|
5830
|
+
};
|
|
5831
|
+
logistics_strategy_schedules: {
|
|
5832
|
+
Row: {
|
|
5833
|
+
condition_expression: string | null;
|
|
5834
|
+
created_at: string;
|
|
5835
|
+
end_date: string | null;
|
|
5836
|
+
id: string;
|
|
5837
|
+
is_enabled: boolean;
|
|
5838
|
+
priority: number;
|
|
5839
|
+
rule_type: string;
|
|
5840
|
+
start_date: string | null;
|
|
5841
|
+
strategy_id: string;
|
|
5842
|
+
updated_at: string;
|
|
5843
|
+
user_id: string;
|
|
5844
|
+
};
|
|
5845
|
+
Insert: {
|
|
5846
|
+
condition_expression?: string | null;
|
|
5847
|
+
created_at?: string;
|
|
5848
|
+
end_date?: string | null;
|
|
5849
|
+
id?: string;
|
|
5850
|
+
is_enabled?: boolean;
|
|
5851
|
+
priority?: number;
|
|
5852
|
+
rule_type: string;
|
|
5853
|
+
start_date?: string | null;
|
|
5854
|
+
strategy_id: string;
|
|
5855
|
+
updated_at?: string;
|
|
5856
|
+
user_id: string;
|
|
5857
|
+
};
|
|
5858
|
+
Update: {
|
|
5859
|
+
condition_expression?: string | null;
|
|
5860
|
+
created_at?: string;
|
|
5861
|
+
end_date?: string | null;
|
|
5862
|
+
id?: string;
|
|
5863
|
+
is_enabled?: boolean;
|
|
5864
|
+
priority?: number;
|
|
5865
|
+
rule_type?: string;
|
|
5866
|
+
start_date?: string | null;
|
|
5867
|
+
strategy_id?: string;
|
|
5868
|
+
updated_at?: string;
|
|
5869
|
+
user_id?: string;
|
|
5870
|
+
};
|
|
5871
|
+
Relationships: [{
|
|
5872
|
+
foreignKeyName: "logistics_strategy_schedules_strategy_id_fkey";
|
|
5873
|
+
columns: ["strategy_id"];
|
|
5874
|
+
isOneToOne: false;
|
|
5875
|
+
referencedRelation: "logistics_strategies";
|
|
5876
|
+
referencedColumns: ["id"];
|
|
5877
|
+
}];
|
|
5878
|
+
};
|
|
5879
|
+
logistics_variables: {
|
|
5880
|
+
Row: {
|
|
5881
|
+
created_at: string;
|
|
5882
|
+
default_value: string | null;
|
|
5883
|
+
description: string | null;
|
|
5884
|
+
id: string;
|
|
5885
|
+
is_builtin: boolean;
|
|
5886
|
+
key: string;
|
|
5887
|
+
label: string;
|
|
5888
|
+
updated_at: string;
|
|
5889
|
+
user_id: string;
|
|
5890
|
+
value_type: string;
|
|
5891
|
+
};
|
|
5892
|
+
Insert: {
|
|
5893
|
+
created_at?: string;
|
|
5894
|
+
default_value?: string | null;
|
|
5895
|
+
description?: string | null;
|
|
5896
|
+
id?: string;
|
|
5897
|
+
is_builtin?: boolean;
|
|
5898
|
+
key: string;
|
|
5899
|
+
label: string;
|
|
5900
|
+
updated_at?: string;
|
|
5901
|
+
user_id: string;
|
|
5902
|
+
value_type: string;
|
|
5903
|
+
};
|
|
5904
|
+
Update: {
|
|
5905
|
+
created_at?: string;
|
|
5906
|
+
default_value?: string | null;
|
|
5907
|
+
description?: string | null;
|
|
5908
|
+
id?: string;
|
|
5909
|
+
is_builtin?: boolean;
|
|
5910
|
+
key?: string;
|
|
5911
|
+
label?: string;
|
|
5912
|
+
updated_at?: string;
|
|
5913
|
+
user_id?: string;
|
|
5914
|
+
value_type?: string;
|
|
5915
|
+
};
|
|
5916
|
+
Relationships: [];
|
|
5917
|
+
};
|
|
5495
5918
|
mailbox_messages: {
|
|
5496
5919
|
Row: {
|
|
5497
5920
|
body_html: string | null;
|
|
@@ -5887,39 +6310,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
5887
6310
|
};
|
|
5888
6311
|
manufacture_products: {
|
|
5889
6312
|
Row: {
|
|
6313
|
+
aantal_te_produceren: number;
|
|
5890
6314
|
created_at: string;
|
|
5891
6315
|
description: string | null;
|
|
5892
6316
|
id: string;
|
|
5893
6317
|
is_active: boolean;
|
|
6318
|
+
location_id: string | null;
|
|
5894
6319
|
name: string;
|
|
6320
|
+
partij_nummer: string | null;
|
|
6321
|
+
photos: import("./types").Json;
|
|
5895
6322
|
produced_stock: number;
|
|
5896
6323
|
product_code: string;
|
|
5897
6324
|
tenant_id: string;
|
|
6325
|
+
unit: string;
|
|
5898
6326
|
updated_at: string;
|
|
5899
6327
|
};
|
|
5900
6328
|
Insert: {
|
|
6329
|
+
aantal_te_produceren?: number;
|
|
5901
6330
|
created_at?: string;
|
|
5902
6331
|
description?: string | null;
|
|
5903
6332
|
id?: string;
|
|
5904
6333
|
is_active?: boolean;
|
|
6334
|
+
location_id?: string | null;
|
|
5905
6335
|
name: string;
|
|
6336
|
+
partij_nummer?: string | null;
|
|
6337
|
+
photos?: import("./types").Json;
|
|
5906
6338
|
produced_stock?: number;
|
|
5907
6339
|
product_code: string;
|
|
5908
6340
|
tenant_id: string;
|
|
6341
|
+
unit?: string;
|
|
5909
6342
|
updated_at?: string;
|
|
5910
6343
|
};
|
|
5911
6344
|
Update: {
|
|
6345
|
+
aantal_te_produceren?: number;
|
|
5912
6346
|
created_at?: string;
|
|
5913
6347
|
description?: string | null;
|
|
5914
6348
|
id?: string;
|
|
5915
6349
|
is_active?: boolean;
|
|
6350
|
+
location_id?: string | null;
|
|
5916
6351
|
name?: string;
|
|
6352
|
+
partij_nummer?: string | null;
|
|
6353
|
+
photos?: import("./types").Json;
|
|
5917
6354
|
produced_stock?: number;
|
|
5918
6355
|
product_code?: string;
|
|
5919
6356
|
tenant_id?: string;
|
|
6357
|
+
unit?: string;
|
|
5920
6358
|
updated_at?: string;
|
|
5921
6359
|
};
|
|
5922
|
-
Relationships: [
|
|
6360
|
+
Relationships: [{
|
|
6361
|
+
foreignKeyName: "manufacture_products_location_id_fkey";
|
|
6362
|
+
columns: ["location_id"];
|
|
6363
|
+
isOneToOne: false;
|
|
6364
|
+
referencedRelation: "locations";
|
|
6365
|
+
referencedColumns: ["id"];
|
|
6366
|
+
}];
|
|
5923
6367
|
};
|
|
5924
6368
|
monteurs: {
|
|
5925
6369
|
Row: {
|
|
@@ -6893,6 +7337,105 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6893
7337
|
};
|
|
6894
7338
|
Relationships: [];
|
|
6895
7339
|
};
|
|
7340
|
+
order_shipment_items: {
|
|
7341
|
+
Row: {
|
|
7342
|
+
created_at: string;
|
|
7343
|
+
id: string;
|
|
7344
|
+
order_item_id: string;
|
|
7345
|
+
product_id: string | null;
|
|
7346
|
+
product_name: string;
|
|
7347
|
+
quantity: number;
|
|
7348
|
+
shipment_id: string;
|
|
7349
|
+
updated_at: string;
|
|
7350
|
+
};
|
|
7351
|
+
Insert: {
|
|
7352
|
+
created_at?: string;
|
|
7353
|
+
id?: string;
|
|
7354
|
+
order_item_id: string;
|
|
7355
|
+
product_id?: string | null;
|
|
7356
|
+
product_name: string;
|
|
7357
|
+
quantity: number;
|
|
7358
|
+
shipment_id: string;
|
|
7359
|
+
updated_at?: string;
|
|
7360
|
+
};
|
|
7361
|
+
Update: {
|
|
7362
|
+
created_at?: string;
|
|
7363
|
+
id?: string;
|
|
7364
|
+
order_item_id?: string;
|
|
7365
|
+
product_id?: string | null;
|
|
7366
|
+
product_name?: string;
|
|
7367
|
+
quantity?: number;
|
|
7368
|
+
shipment_id?: string;
|
|
7369
|
+
updated_at?: string;
|
|
7370
|
+
};
|
|
7371
|
+
Relationships: [{
|
|
7372
|
+
foreignKeyName: "order_shipment_items_order_item_id_fkey";
|
|
7373
|
+
columns: ["order_item_id"];
|
|
7374
|
+
isOneToOne: false;
|
|
7375
|
+
referencedRelation: "order_items";
|
|
7376
|
+
referencedColumns: ["id"];
|
|
7377
|
+
}, {
|
|
7378
|
+
foreignKeyName: "order_shipment_items_shipment_id_fkey";
|
|
7379
|
+
columns: ["shipment_id"];
|
|
7380
|
+
isOneToOne: false;
|
|
7381
|
+
referencedRelation: "order_shipments";
|
|
7382
|
+
referencedColumns: ["id"];
|
|
7383
|
+
}];
|
|
7384
|
+
};
|
|
7385
|
+
order_shipments: {
|
|
7386
|
+
Row: {
|
|
7387
|
+
carrier_id: string | null;
|
|
7388
|
+
created_at: string;
|
|
7389
|
+
delivery_date: string | null;
|
|
7390
|
+
delivery_location_id: string | null;
|
|
7391
|
+
id: string;
|
|
7392
|
+
notes: string | null;
|
|
7393
|
+
order_id: string;
|
|
7394
|
+
shipment_number: number;
|
|
7395
|
+
shipped_at: string | null;
|
|
7396
|
+
status: string;
|
|
7397
|
+
updated_at: string;
|
|
7398
|
+
};
|
|
7399
|
+
Insert: {
|
|
7400
|
+
carrier_id?: string | null;
|
|
7401
|
+
created_at?: string;
|
|
7402
|
+
delivery_date?: string | null;
|
|
7403
|
+
delivery_location_id?: string | null;
|
|
7404
|
+
id?: string;
|
|
7405
|
+
notes?: string | null;
|
|
7406
|
+
order_id: string;
|
|
7407
|
+
shipment_number: number;
|
|
7408
|
+
shipped_at?: string | null;
|
|
7409
|
+
status?: string;
|
|
7410
|
+
updated_at?: string;
|
|
7411
|
+
};
|
|
7412
|
+
Update: {
|
|
7413
|
+
carrier_id?: string | null;
|
|
7414
|
+
created_at?: string;
|
|
7415
|
+
delivery_date?: string | null;
|
|
7416
|
+
delivery_location_id?: string | null;
|
|
7417
|
+
id?: string;
|
|
7418
|
+
notes?: string | null;
|
|
7419
|
+
order_id?: string;
|
|
7420
|
+
shipment_number?: number;
|
|
7421
|
+
shipped_at?: string | null;
|
|
7422
|
+
status?: string;
|
|
7423
|
+
updated_at?: string;
|
|
7424
|
+
};
|
|
7425
|
+
Relationships: [{
|
|
7426
|
+
foreignKeyName: "order_shipments_carrier_id_fkey";
|
|
7427
|
+
columns: ["carrier_id"];
|
|
7428
|
+
isOneToOne: false;
|
|
7429
|
+
referencedRelation: "carriers";
|
|
7430
|
+
referencedColumns: ["id"];
|
|
7431
|
+
}, {
|
|
7432
|
+
foreignKeyName: "order_shipments_order_id_fkey";
|
|
7433
|
+
columns: ["order_id"];
|
|
7434
|
+
isOneToOne: false;
|
|
7435
|
+
referencedRelation: "orders";
|
|
7436
|
+
referencedColumns: ["id"];
|
|
7437
|
+
}];
|
|
7438
|
+
};
|
|
6896
7439
|
orders: {
|
|
6897
7440
|
Row: {
|
|
6898
7441
|
created_at: string;
|
|
@@ -6900,8 +7443,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6900
7443
|
customer_id: string | null;
|
|
6901
7444
|
customer_name: string;
|
|
6902
7445
|
deleted_at: string | null;
|
|
6903
|
-
delivery_date: string;
|
|
7446
|
+
delivery_date: string | null;
|
|
6904
7447
|
id: string;
|
|
7448
|
+
is_reservation: boolean;
|
|
6905
7449
|
notes: string | null;
|
|
6906
7450
|
order_date: string;
|
|
6907
7451
|
order_number: string;
|
|
@@ -6918,8 +7462,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6918
7462
|
customer_id?: string | null;
|
|
6919
7463
|
customer_name?: string;
|
|
6920
7464
|
deleted_at?: string | null;
|
|
6921
|
-
delivery_date
|
|
7465
|
+
delivery_date?: string | null;
|
|
6922
7466
|
id?: string;
|
|
7467
|
+
is_reservation?: boolean;
|
|
6923
7468
|
notes?: string | null;
|
|
6924
7469
|
order_date?: string;
|
|
6925
7470
|
order_number: string;
|
|
@@ -6936,8 +7481,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6936
7481
|
customer_id?: string | null;
|
|
6937
7482
|
customer_name?: string;
|
|
6938
7483
|
deleted_at?: string | null;
|
|
6939
|
-
delivery_date?: string;
|
|
7484
|
+
delivery_date?: string | null;
|
|
6940
7485
|
id?: string;
|
|
7486
|
+
is_reservation?: boolean;
|
|
6941
7487
|
notes?: string | null;
|
|
6942
7488
|
order_date?: string;
|
|
6943
7489
|
order_number?: string;
|
|
@@ -7052,32 +7598,89 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7052
7598
|
color: string;
|
|
7053
7599
|
created_at: string;
|
|
7054
7600
|
id: string;
|
|
7055
|
-
is_active: boolean;
|
|
7056
|
-
name: string;
|
|
7601
|
+
is_active: boolean;
|
|
7602
|
+
name: string;
|
|
7603
|
+
sort_order: number;
|
|
7604
|
+
updated_at: string;
|
|
7605
|
+
};
|
|
7606
|
+
Insert: {
|
|
7607
|
+
automation_type?: string;
|
|
7608
|
+
color?: string;
|
|
7609
|
+
created_at?: string;
|
|
7610
|
+
id?: string;
|
|
7611
|
+
is_active?: boolean;
|
|
7612
|
+
name: string;
|
|
7613
|
+
sort_order?: number;
|
|
7614
|
+
updated_at?: string;
|
|
7615
|
+
};
|
|
7616
|
+
Update: {
|
|
7617
|
+
automation_type?: string;
|
|
7618
|
+
color?: string;
|
|
7619
|
+
created_at?: string;
|
|
7620
|
+
id?: string;
|
|
7621
|
+
is_active?: boolean;
|
|
7622
|
+
name?: string;
|
|
7623
|
+
sort_order?: number;
|
|
7624
|
+
updated_at?: string;
|
|
7625
|
+
};
|
|
7626
|
+
Relationships: [];
|
|
7627
|
+
};
|
|
7628
|
+
product_bom_items: {
|
|
7629
|
+
Row: {
|
|
7630
|
+
component_product_id: string | null;
|
|
7631
|
+
component_trade_item_floriday_id: string | null;
|
|
7632
|
+
created_at: string;
|
|
7633
|
+
id: string;
|
|
7634
|
+
notes: string | null;
|
|
7635
|
+
parent_product_id: string | null;
|
|
7636
|
+
parent_trade_item_floriday_id: string | null;
|
|
7637
|
+
quantity: number;
|
|
7057
7638
|
sort_order: number;
|
|
7639
|
+
tenant_id: string;
|
|
7640
|
+
unit: string;
|
|
7058
7641
|
updated_at: string;
|
|
7059
7642
|
};
|
|
7060
7643
|
Insert: {
|
|
7061
|
-
|
|
7062
|
-
|
|
7644
|
+
component_product_id?: string | null;
|
|
7645
|
+
component_trade_item_floriday_id?: string | null;
|
|
7063
7646
|
created_at?: string;
|
|
7064
7647
|
id?: string;
|
|
7065
|
-
|
|
7066
|
-
|
|
7648
|
+
notes?: string | null;
|
|
7649
|
+
parent_product_id?: string | null;
|
|
7650
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7651
|
+
quantity?: number;
|
|
7067
7652
|
sort_order?: number;
|
|
7653
|
+
tenant_id: string;
|
|
7654
|
+
unit?: string;
|
|
7068
7655
|
updated_at?: string;
|
|
7069
7656
|
};
|
|
7070
7657
|
Update: {
|
|
7071
|
-
|
|
7072
|
-
|
|
7658
|
+
component_product_id?: string | null;
|
|
7659
|
+
component_trade_item_floriday_id?: string | null;
|
|
7073
7660
|
created_at?: string;
|
|
7074
7661
|
id?: string;
|
|
7075
|
-
|
|
7076
|
-
|
|
7662
|
+
notes?: string | null;
|
|
7663
|
+
parent_product_id?: string | null;
|
|
7664
|
+
parent_trade_item_floriday_id?: string | null;
|
|
7665
|
+
quantity?: number;
|
|
7077
7666
|
sort_order?: number;
|
|
7667
|
+
tenant_id?: string;
|
|
7668
|
+
unit?: string;
|
|
7078
7669
|
updated_at?: string;
|
|
7079
7670
|
};
|
|
7080
|
-
Relationships: [
|
|
7671
|
+
Relationships: [{
|
|
7672
|
+
foreignKeyName: "product_bom_items_component_product_id_fkey";
|
|
7673
|
+
columns: ["component_product_id"];
|
|
7674
|
+
isOneToOne: false;
|
|
7675
|
+
referencedRelation: "products";
|
|
7676
|
+
referencedColumns: ["id"];
|
|
7677
|
+
}, {
|
|
7678
|
+
foreignKeyName: "product_bom_items_parent_product_id_fkey";
|
|
7679
|
+
columns: ["parent_product_id"];
|
|
7680
|
+
isOneToOne: false;
|
|
7681
|
+
referencedRelation: "products";
|
|
7682
|
+
referencedColumns: ["id"];
|
|
7683
|
+
}];
|
|
7081
7684
|
};
|
|
7082
7685
|
product_categories: {
|
|
7083
7686
|
Row: {
|
|
@@ -7184,6 +7787,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7184
7787
|
id: string;
|
|
7185
7788
|
product_group_id: string;
|
|
7186
7789
|
quantity: number;
|
|
7790
|
+
sort_order: number;
|
|
7187
7791
|
trade_item_id: string;
|
|
7188
7792
|
};
|
|
7189
7793
|
Insert: {
|
|
@@ -7191,6 +7795,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7191
7795
|
id?: string;
|
|
7192
7796
|
product_group_id: string;
|
|
7193
7797
|
quantity?: number;
|
|
7798
|
+
sort_order?: number;
|
|
7194
7799
|
trade_item_id: string;
|
|
7195
7800
|
};
|
|
7196
7801
|
Update: {
|
|
@@ -7198,6 +7803,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7198
7803
|
id?: string;
|
|
7199
7804
|
product_group_id?: string;
|
|
7200
7805
|
quantity?: number;
|
|
7806
|
+
sort_order?: number;
|
|
7201
7807
|
trade_item_id?: string;
|
|
7202
7808
|
};
|
|
7203
7809
|
Relationships: [{
|
|
@@ -7212,6 +7818,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7212
7818
|
Row: {
|
|
7213
7819
|
created_at: string;
|
|
7214
7820
|
description: string | null;
|
|
7821
|
+
head_product_id: string | null;
|
|
7822
|
+
head_trade_item_floriday_id: string | null;
|
|
7215
7823
|
id: string;
|
|
7216
7824
|
is_active: boolean;
|
|
7217
7825
|
name: string;
|
|
@@ -7221,6 +7829,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7221
7829
|
Insert: {
|
|
7222
7830
|
created_at?: string;
|
|
7223
7831
|
description?: string | null;
|
|
7832
|
+
head_product_id?: string | null;
|
|
7833
|
+
head_trade_item_floriday_id?: string | null;
|
|
7224
7834
|
id?: string;
|
|
7225
7835
|
is_active?: boolean;
|
|
7226
7836
|
name: string;
|
|
@@ -7230,24 +7840,130 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7230
7840
|
Update: {
|
|
7231
7841
|
created_at?: string;
|
|
7232
7842
|
description?: string | null;
|
|
7843
|
+
head_product_id?: string | null;
|
|
7844
|
+
head_trade_item_floriday_id?: string | null;
|
|
7233
7845
|
id?: string;
|
|
7234
7846
|
is_active?: boolean;
|
|
7235
7847
|
name?: string;
|
|
7236
7848
|
tenant_id?: string;
|
|
7237
7849
|
updated_at?: string;
|
|
7238
7850
|
};
|
|
7851
|
+
Relationships: [{
|
|
7852
|
+
foreignKeyName: "product_groups_head_product_id_fkey";
|
|
7853
|
+
columns: ["head_product_id"];
|
|
7854
|
+
isOneToOne: false;
|
|
7855
|
+
referencedRelation: "products";
|
|
7856
|
+
referencedColumns: ["id"];
|
|
7857
|
+
}];
|
|
7858
|
+
};
|
|
7859
|
+
product_load_settings: {
|
|
7860
|
+
Row: {
|
|
7861
|
+
created_at: string;
|
|
7862
|
+
id: string;
|
|
7863
|
+
is_package: boolean;
|
|
7864
|
+
layers_per_load_carrier: number | null;
|
|
7865
|
+
load_carrier: string | null;
|
|
7866
|
+
package_id: string | null;
|
|
7867
|
+
package_label: string | null;
|
|
7868
|
+
packages_per_layer: number | null;
|
|
7869
|
+
product_id: string | null;
|
|
7870
|
+
tenant_id: string;
|
|
7871
|
+
trade_item_floriday_id: string | null;
|
|
7872
|
+
units_per_package: number | null;
|
|
7873
|
+
updated_at: string;
|
|
7874
|
+
};
|
|
7875
|
+
Insert: {
|
|
7876
|
+
created_at?: string;
|
|
7877
|
+
id?: string;
|
|
7878
|
+
is_package?: boolean;
|
|
7879
|
+
layers_per_load_carrier?: number | null;
|
|
7880
|
+
load_carrier?: string | null;
|
|
7881
|
+
package_id?: string | null;
|
|
7882
|
+
package_label?: string | null;
|
|
7883
|
+
packages_per_layer?: number | null;
|
|
7884
|
+
product_id?: string | null;
|
|
7885
|
+
tenant_id: string;
|
|
7886
|
+
trade_item_floriday_id?: string | null;
|
|
7887
|
+
units_per_package?: number | null;
|
|
7888
|
+
updated_at?: string;
|
|
7889
|
+
};
|
|
7890
|
+
Update: {
|
|
7891
|
+
created_at?: string;
|
|
7892
|
+
id?: string;
|
|
7893
|
+
is_package?: boolean;
|
|
7894
|
+
layers_per_load_carrier?: number | null;
|
|
7895
|
+
load_carrier?: string | null;
|
|
7896
|
+
package_id?: string | null;
|
|
7897
|
+
package_label?: string | null;
|
|
7898
|
+
packages_per_layer?: number | null;
|
|
7899
|
+
product_id?: string | null;
|
|
7900
|
+
tenant_id?: string;
|
|
7901
|
+
trade_item_floriday_id?: string | null;
|
|
7902
|
+
units_per_package?: number | null;
|
|
7903
|
+
updated_at?: string;
|
|
7904
|
+
};
|
|
7905
|
+
Relationships: [{
|
|
7906
|
+
foreignKeyName: "product_load_settings_package_id_fkey";
|
|
7907
|
+
columns: ["package_id"];
|
|
7908
|
+
isOneToOne: false;
|
|
7909
|
+
referencedRelation: "packages";
|
|
7910
|
+
referencedColumns: ["id"];
|
|
7911
|
+
}, {
|
|
7912
|
+
foreignKeyName: "product_load_settings_product_id_fkey";
|
|
7913
|
+
columns: ["product_id"];
|
|
7914
|
+
isOneToOne: false;
|
|
7915
|
+
referencedRelation: "products";
|
|
7916
|
+
referencedColumns: ["id"];
|
|
7917
|
+
}];
|
|
7918
|
+
};
|
|
7919
|
+
product_merge_log: {
|
|
7920
|
+
Row: {
|
|
7921
|
+
canonical_product_id: string | null;
|
|
7922
|
+
id: string;
|
|
7923
|
+
merged_at: string;
|
|
7924
|
+
merged_from_id: string;
|
|
7925
|
+
notes: string | null;
|
|
7926
|
+
snapshot: import("./types").Json;
|
|
7927
|
+
source_table: string;
|
|
7928
|
+
status: string;
|
|
7929
|
+
};
|
|
7930
|
+
Insert: {
|
|
7931
|
+
canonical_product_id?: string | null;
|
|
7932
|
+
id?: string;
|
|
7933
|
+
merged_at?: string;
|
|
7934
|
+
merged_from_id: string;
|
|
7935
|
+
notes?: string | null;
|
|
7936
|
+
snapshot?: import("./types").Json;
|
|
7937
|
+
source_table: string;
|
|
7938
|
+
status?: string;
|
|
7939
|
+
};
|
|
7940
|
+
Update: {
|
|
7941
|
+
canonical_product_id?: string | null;
|
|
7942
|
+
id?: string;
|
|
7943
|
+
merged_at?: string;
|
|
7944
|
+
merged_from_id?: string;
|
|
7945
|
+
notes?: string | null;
|
|
7946
|
+
snapshot?: import("./types").Json;
|
|
7947
|
+
source_table?: string;
|
|
7948
|
+
status?: string;
|
|
7949
|
+
};
|
|
7239
7950
|
Relationships: [];
|
|
7240
7951
|
};
|
|
7241
7952
|
products: {
|
|
7242
7953
|
Row: {
|
|
7954
|
+
article_number: string | null;
|
|
7243
7955
|
barcode: string | null;
|
|
7244
7956
|
batch: string;
|
|
7245
7957
|
crates_per_layer: number;
|
|
7246
7958
|
created_at: string;
|
|
7247
7959
|
custom_fields: import("./types").Json;
|
|
7960
|
+
floriday_active: boolean;
|
|
7961
|
+
floriday_payload: import("./types").Json;
|
|
7962
|
+
floriday_trade_item_id: string | null;
|
|
7248
7963
|
id: string;
|
|
7249
7964
|
image_url: string | null;
|
|
7250
7965
|
incoming_quantity: number;
|
|
7966
|
+
is_layer: boolean;
|
|
7251
7967
|
layers_per_cart: number;
|
|
7252
7968
|
location: string;
|
|
7253
7969
|
min_quantity: number;
|
|
@@ -7263,14 +7979,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7263
7979
|
weight: string | null;
|
|
7264
7980
|
};
|
|
7265
7981
|
Insert: {
|
|
7982
|
+
article_number?: string | null;
|
|
7266
7983
|
barcode?: string | null;
|
|
7267
7984
|
batch: string;
|
|
7268
7985
|
crates_per_layer?: number;
|
|
7269
7986
|
created_at?: string;
|
|
7270
7987
|
custom_fields?: import("./types").Json;
|
|
7988
|
+
floriday_active?: boolean;
|
|
7989
|
+
floriday_payload?: import("./types").Json;
|
|
7990
|
+
floriday_trade_item_id?: string | null;
|
|
7271
7991
|
id?: string;
|
|
7272
7992
|
image_url?: string | null;
|
|
7273
7993
|
incoming_quantity?: number;
|
|
7994
|
+
is_layer?: boolean;
|
|
7274
7995
|
layers_per_cart?: number;
|
|
7275
7996
|
location: string;
|
|
7276
7997
|
min_quantity?: number;
|
|
@@ -7286,14 +8007,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7286
8007
|
weight?: string | null;
|
|
7287
8008
|
};
|
|
7288
8009
|
Update: {
|
|
8010
|
+
article_number?: string | null;
|
|
7289
8011
|
barcode?: string | null;
|
|
7290
8012
|
batch?: string;
|
|
7291
8013
|
crates_per_layer?: number;
|
|
7292
8014
|
created_at?: string;
|
|
7293
8015
|
custom_fields?: import("./types").Json;
|
|
8016
|
+
floriday_active?: boolean;
|
|
8017
|
+
floriday_payload?: import("./types").Json;
|
|
8018
|
+
floriday_trade_item_id?: string | null;
|
|
7294
8019
|
id?: string;
|
|
7295
8020
|
image_url?: string | null;
|
|
7296
8021
|
incoming_quantity?: number;
|
|
8022
|
+
is_layer?: boolean;
|
|
7297
8023
|
layers_per_cart?: number;
|
|
7298
8024
|
location?: string;
|
|
7299
8025
|
min_quantity?: number;
|
|
@@ -8199,8 +8925,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8199
8925
|
order_id: string | null;
|
|
8200
8926
|
order_item_id: string | null;
|
|
8201
8927
|
order_source: string | null;
|
|
8928
|
+
parent_trade_item_key: string | null;
|
|
8202
8929
|
physical_after: number | null;
|
|
8203
8930
|
physical_before: number | null;
|
|
8931
|
+
production_batch_id: string | null;
|
|
8204
8932
|
qty_delta: number;
|
|
8205
8933
|
reason: string | null;
|
|
8206
8934
|
reserved_after: number | null;
|
|
@@ -8216,8 +8944,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8216
8944
|
order_id?: string | null;
|
|
8217
8945
|
order_item_id?: string | null;
|
|
8218
8946
|
order_source?: string | null;
|
|
8947
|
+
parent_trade_item_key?: string | null;
|
|
8219
8948
|
physical_after?: number | null;
|
|
8220
8949
|
physical_before?: number | null;
|
|
8950
|
+
production_batch_id?: string | null;
|
|
8221
8951
|
qty_delta: number;
|
|
8222
8952
|
reason?: string | null;
|
|
8223
8953
|
reserved_after?: number | null;
|
|
@@ -8233,8 +8963,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8233
8963
|
order_id?: string | null;
|
|
8234
8964
|
order_item_id?: string | null;
|
|
8235
8965
|
order_source?: string | null;
|
|
8966
|
+
parent_trade_item_key?: string | null;
|
|
8236
8967
|
physical_after?: number | null;
|
|
8237
8968
|
physical_before?: number | null;
|
|
8969
|
+
production_batch_id?: string | null;
|
|
8238
8970
|
qty_delta?: number;
|
|
8239
8971
|
reason?: string | null;
|
|
8240
8972
|
reserved_after?: number | null;
|
|
@@ -8540,6 +9272,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8540
9272
|
};
|
|
8541
9273
|
Relationships: [];
|
|
8542
9274
|
};
|
|
9275
|
+
trade_item_prices: {
|
|
9276
|
+
Row: {
|
|
9277
|
+
created_at: string;
|
|
9278
|
+
currency: string;
|
|
9279
|
+
id: string;
|
|
9280
|
+
last_push_error: string | null;
|
|
9281
|
+
last_pushed_at: string | null;
|
|
9282
|
+
price_group_id: string | null;
|
|
9283
|
+
price_per_piece: number;
|
|
9284
|
+
supply_line_id: string | null;
|
|
9285
|
+
trade_item_key: string;
|
|
9286
|
+
updated_at: string;
|
|
9287
|
+
user_id: string;
|
|
9288
|
+
};
|
|
9289
|
+
Insert: {
|
|
9290
|
+
created_at?: string;
|
|
9291
|
+
currency?: string;
|
|
9292
|
+
id?: string;
|
|
9293
|
+
last_push_error?: string | null;
|
|
9294
|
+
last_pushed_at?: string | null;
|
|
9295
|
+
price_group_id?: string | null;
|
|
9296
|
+
price_per_piece: number;
|
|
9297
|
+
supply_line_id?: string | null;
|
|
9298
|
+
trade_item_key: string;
|
|
9299
|
+
updated_at?: string;
|
|
9300
|
+
user_id: string;
|
|
9301
|
+
};
|
|
9302
|
+
Update: {
|
|
9303
|
+
created_at?: string;
|
|
9304
|
+
currency?: string;
|
|
9305
|
+
id?: string;
|
|
9306
|
+
last_push_error?: string | null;
|
|
9307
|
+
last_pushed_at?: string | null;
|
|
9308
|
+
price_group_id?: string | null;
|
|
9309
|
+
price_per_piece?: number;
|
|
9310
|
+
supply_line_id?: string | null;
|
|
9311
|
+
trade_item_key?: string;
|
|
9312
|
+
updated_at?: string;
|
|
9313
|
+
user_id?: string;
|
|
9314
|
+
};
|
|
9315
|
+
Relationships: [];
|
|
9316
|
+
};
|
|
8543
9317
|
trade_item_stock: {
|
|
8544
9318
|
Row: {
|
|
8545
9319
|
connection_id: string;
|
|
@@ -8693,7 +9467,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8693
9467
|
twinfield_connections: {
|
|
8694
9468
|
Row: {
|
|
8695
9469
|
access_token: string | null;
|
|
8696
|
-
client_id: string;
|
|
9470
|
+
client_id: string | null;
|
|
8697
9471
|
client_secret: string | null;
|
|
8698
9472
|
cluster_uri: string | null;
|
|
8699
9473
|
company_code: string | null;
|
|
@@ -8705,7 +9479,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8705
9479
|
is_active: boolean;
|
|
8706
9480
|
label: string | null;
|
|
8707
9481
|
office_code: string | null;
|
|
8708
|
-
redirect_uri: string;
|
|
9482
|
+
redirect_uri: string | null;
|
|
8709
9483
|
refresh_token: string | null;
|
|
8710
9484
|
token_expires_at: string | null;
|
|
8711
9485
|
updated_at: string;
|
|
@@ -8713,7 +9487,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8713
9487
|
};
|
|
8714
9488
|
Insert: {
|
|
8715
9489
|
access_token?: string | null;
|
|
8716
|
-
client_id
|
|
9490
|
+
client_id?: string | null;
|
|
8717
9491
|
client_secret?: string | null;
|
|
8718
9492
|
cluster_uri?: string | null;
|
|
8719
9493
|
company_code?: string | null;
|
|
@@ -8725,7 +9499,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8725
9499
|
is_active?: boolean;
|
|
8726
9500
|
label?: string | null;
|
|
8727
9501
|
office_code?: string | null;
|
|
8728
|
-
redirect_uri
|
|
9502
|
+
redirect_uri?: string | null;
|
|
8729
9503
|
refresh_token?: string | null;
|
|
8730
9504
|
token_expires_at?: string | null;
|
|
8731
9505
|
updated_at?: string;
|
|
@@ -8733,7 +9507,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8733
9507
|
};
|
|
8734
9508
|
Update: {
|
|
8735
9509
|
access_token?: string | null;
|
|
8736
|
-
client_id?: string;
|
|
9510
|
+
client_id?: string | null;
|
|
8737
9511
|
client_secret?: string | null;
|
|
8738
9512
|
cluster_uri?: string | null;
|
|
8739
9513
|
company_code?: string | null;
|
|
@@ -8745,7 +9519,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8745
9519
|
is_active?: boolean;
|
|
8746
9520
|
label?: string | null;
|
|
8747
9521
|
office_code?: string | null;
|
|
8748
|
-
redirect_uri?: string;
|
|
9522
|
+
redirect_uri?: string | null;
|
|
8749
9523
|
refresh_token?: string | null;
|
|
8750
9524
|
token_expires_at?: string | null;
|
|
8751
9525
|
updated_at?: string;
|
|
@@ -9940,25 +10714,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9940
10714
|
};
|
|
9941
10715
|
Relationships: [];
|
|
9942
10716
|
};
|
|
9943
|
-
floriday_customer_discounts: {
|
|
9944
|
-
Row: {
|
|
9945
|
-
base_price: number | null;
|
|
9946
|
-
buyer_organization_id: string | null;
|
|
9947
|
-
currency: string | null;
|
|
9948
|
-
discount_type: string | null;
|
|
9949
|
-
discount_value: number | null;
|
|
9950
|
-
min_quantity: number | null;
|
|
9951
|
-
net_price: number | null;
|
|
9952
|
-
product_group_id: string | null;
|
|
9953
|
-
raw: import("./types").Json | null;
|
|
9954
|
-
source: string | null;
|
|
9955
|
-
source_id: string | null;
|
|
9956
|
-
trade_item_id: string | null;
|
|
9957
|
-
valid_from: string | null;
|
|
9958
|
-
valid_until: string | null;
|
|
9959
|
-
};
|
|
9960
|
-
Relationships: [];
|
|
9961
|
-
};
|
|
9962
10717
|
local_customer_discounts: {
|
|
9963
10718
|
Row: {
|
|
9964
10719
|
base_price: number | null;
|
|
@@ -10262,6 +11017,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10262
11017
|
};
|
|
10263
11018
|
Returns: number;
|
|
10264
11019
|
};
|
|
11020
|
+
_migrate_rewrite_stock_key: {
|
|
11021
|
+
Args: {
|
|
11022
|
+
_from_key: string;
|
|
11023
|
+
_to_key: string;
|
|
11024
|
+
};
|
|
11025
|
+
Returns: undefined;
|
|
11026
|
+
};
|
|
10265
11027
|
afh_city_code: {
|
|
10266
11028
|
Args: {
|
|
10267
11029
|
_city: string;
|
|
@@ -10377,6 +11139,28 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10377
11139
|
Args: never;
|
|
10378
11140
|
Returns: undefined;
|
|
10379
11141
|
};
|
|
11142
|
+
consume_bom_for_production: {
|
|
11143
|
+
Args: {
|
|
11144
|
+
p_connection_id: string;
|
|
11145
|
+
p_parent_id: string;
|
|
11146
|
+
p_parent_key: string;
|
|
11147
|
+
p_parent_kind: string;
|
|
11148
|
+
p_quantity: number;
|
|
11149
|
+
p_user_id: string;
|
|
11150
|
+
};
|
|
11151
|
+
Returns: import("./types").Json;
|
|
11152
|
+
} | {
|
|
11153
|
+
Args: {
|
|
11154
|
+
p_batch_id?: string;
|
|
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("./types").Json;
|
|
11163
|
+
};
|
|
10380
11164
|
consume_floriday_rate_limit: {
|
|
10381
11165
|
Args: {
|
|
10382
11166
|
p_bucket: string;
|
|
@@ -10428,6 +11212,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10428
11212
|
table_name: string;
|
|
10429
11213
|
}[];
|
|
10430
11214
|
};
|
|
11215
|
+
delete_samenstelling: {
|
|
11216
|
+
Args: {
|
|
11217
|
+
p_parent_id: string;
|
|
11218
|
+
p_parent_kind: string;
|
|
11219
|
+
};
|
|
11220
|
+
Returns: import("./types").Json;
|
|
11221
|
+
};
|
|
10431
11222
|
dispatch_carrier_signups_sql: {
|
|
10432
11223
|
Args: {
|
|
10433
11224
|
_catchup?: string;
|
|
@@ -10469,6 +11260,16 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10469
11260
|
status: string;
|
|
10470
11261
|
}[];
|
|
10471
11262
|
};
|
|
11263
|
+
email_auth_upsert_connection: {
|
|
11264
|
+
Args: {
|
|
11265
|
+
_account_email: string;
|
|
11266
|
+
_created_by: string;
|
|
11267
|
+
_is_active: boolean;
|
|
11268
|
+
_provider: string;
|
|
11269
|
+
_status: string;
|
|
11270
|
+
};
|
|
11271
|
+
Returns: string;
|
|
11272
|
+
};
|
|
10472
11273
|
enqueue_cart_replan_if_unlocked: {
|
|
10473
11274
|
Args: {
|
|
10474
11275
|
p_order_id: string;
|
|
@@ -10588,19 +11389,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10588
11389
|
resource: string;
|
|
10589
11390
|
}[];
|
|
10590
11391
|
};
|
|
10591
|
-
get_floriday_agreements_active: {
|
|
10592
|
-
Args: {
|
|
10593
|
-
p_on_date?: string;
|
|
10594
|
-
};
|
|
10595
|
-
Returns: {
|
|
10596
|
-
buyer_organization_id: string;
|
|
10597
|
-
data: import("./types").Json;
|
|
10598
|
-
floriday_id: string;
|
|
10599
|
-
status: string;
|
|
10600
|
-
valid_from: string;
|
|
10601
|
-
valid_until: string;
|
|
10602
|
-
}[];
|
|
10603
|
-
};
|
|
10604
11392
|
get_floriday_clock_supplies_window: {
|
|
10605
11393
|
Args: {
|
|
10606
11394
|
p_from: string;
|
|
@@ -10673,6 +11461,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10673
11461
|
minutes_since_success: number;
|
|
10674
11462
|
}[];
|
|
10675
11463
|
};
|
|
11464
|
+
get_group_allocation_keys: {
|
|
11465
|
+
Args: {
|
|
11466
|
+
p_product_id: string;
|
|
11467
|
+
};
|
|
11468
|
+
Returns: {
|
|
11469
|
+
k: string;
|
|
11470
|
+
ord: number;
|
|
11471
|
+
}[];
|
|
11472
|
+
};
|
|
11473
|
+
get_group_head_key: {
|
|
11474
|
+
Args: {
|
|
11475
|
+
p_group_id: string;
|
|
11476
|
+
};
|
|
11477
|
+
Returns: string;
|
|
11478
|
+
};
|
|
10676
11479
|
get_offer_by_link_code: {
|
|
10677
11480
|
Args: {
|
|
10678
11481
|
p_code: string;
|
|
@@ -10783,6 +11586,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10783
11586
|
};
|
|
10784
11587
|
Returns: undefined;
|
|
10785
11588
|
};
|
|
11589
|
+
mark_salesorder_controlled: {
|
|
11590
|
+
Args: {
|
|
11591
|
+
p_controlled: boolean;
|
|
11592
|
+
p_floriday_id: string;
|
|
11593
|
+
};
|
|
11594
|
+
Returns: undefined;
|
|
11595
|
+
};
|
|
11596
|
+
mark_shipment_shipped: {
|
|
11597
|
+
Args: {
|
|
11598
|
+
p_shipment_id: string;
|
|
11599
|
+
};
|
|
11600
|
+
Returns: undefined;
|
|
11601
|
+
};
|
|
11602
|
+
merge_products: {
|
|
11603
|
+
Args: {
|
|
11604
|
+
_canonical: string;
|
|
11605
|
+
_loser: string;
|
|
11606
|
+
};
|
|
11607
|
+
Returns: undefined;
|
|
11608
|
+
};
|
|
11609
|
+
next_manufacture_partij: {
|
|
11610
|
+
Args: {
|
|
11611
|
+
_tenant_id: string;
|
|
11612
|
+
};
|
|
11613
|
+
Returns: string;
|
|
11614
|
+
};
|
|
10786
11615
|
next_order_number: {
|
|
10787
11616
|
Args: {
|
|
10788
11617
|
p_prefix: string;
|
|
@@ -10852,6 +11681,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10852
11681
|
};
|
|
10853
11682
|
Returns: undefined;
|
|
10854
11683
|
};
|
|
11684
|
+
pickstation_resolve_delivery_orders: {
|
|
11685
|
+
Args: {
|
|
11686
|
+
p_sales_order_ids: string[];
|
|
11687
|
+
};
|
|
11688
|
+
Returns: {
|
|
11689
|
+
delivery_order_id: string;
|
|
11690
|
+
sales_order_id: string;
|
|
11691
|
+
}[];
|
|
11692
|
+
};
|
|
10855
11693
|
pickstation_set_cart_status: {
|
|
10856
11694
|
Args: {
|
|
10857
11695
|
p_cart_index: number;
|
|
@@ -10861,6 +11699,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10861
11699
|
};
|
|
10862
11700
|
Returns: undefined;
|
|
10863
11701
|
};
|
|
11702
|
+
produce_designed_product: {
|
|
11703
|
+
Args: {
|
|
11704
|
+
p_parent_id: string;
|
|
11705
|
+
p_parent_kind: string;
|
|
11706
|
+
p_quantity: number;
|
|
11707
|
+
};
|
|
11708
|
+
Returns: import("./types").Json;
|
|
11709
|
+
};
|
|
10864
11710
|
promote_trade_item_key: {
|
|
10865
11711
|
Args: {
|
|
10866
11712
|
p_new: string;
|
|
@@ -10868,6 +11714,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10868
11714
|
};
|
|
10869
11715
|
Returns: undefined;
|
|
10870
11716
|
};
|
|
11717
|
+
recompute_all_reserved_stock: {
|
|
11718
|
+
Args: never;
|
|
11719
|
+
Returns: undefined;
|
|
11720
|
+
};
|
|
10871
11721
|
recompute_order_status: {
|
|
10872
11722
|
Args: {
|
|
10873
11723
|
p_order_id: string;
|
|
@@ -10917,27 +11767,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10917
11767
|
};
|
|
10918
11768
|
Returns: undefined;
|
|
10919
11769
|
};
|
|
11770
|
+
resolve_group_allocation: {
|
|
11771
|
+
Args: {
|
|
11772
|
+
_needed: number;
|
|
11773
|
+
_product_group_id: string;
|
|
11774
|
+
};
|
|
11775
|
+
Returns: {
|
|
11776
|
+
allocated: number;
|
|
11777
|
+
trade_item_id: string;
|
|
11778
|
+
}[];
|
|
11779
|
+
};
|
|
11780
|
+
resolve_group_member_stock_key: {
|
|
11781
|
+
Args: {
|
|
11782
|
+
p_trade_item_id: string;
|
|
11783
|
+
};
|
|
11784
|
+
Returns: string;
|
|
11785
|
+
};
|
|
10920
11786
|
resolve_product_id_for_item: {
|
|
10921
11787
|
Args: {
|
|
10922
11788
|
p_product_name: string;
|
|
10923
11789
|
};
|
|
10924
11790
|
Returns: string;
|
|
10925
11791
|
};
|
|
10926
|
-
|
|
11792
|
+
resolve_stock_trade_item_key: {
|
|
10927
11793
|
Args: {
|
|
10928
|
-
|
|
10929
|
-
p_url: string;
|
|
11794
|
+
p_product_id: string;
|
|
10930
11795
|
};
|
|
10931
|
-
Returns:
|
|
11796
|
+
Returns: string;
|
|
10932
11797
|
};
|
|
10933
|
-
|
|
11798
|
+
reverse_production: {
|
|
10934
11799
|
Args: {
|
|
10935
|
-
|
|
10936
|
-
|
|
11800
|
+
p_connection_id?: string;
|
|
11801
|
+
p_parent_key: string;
|
|
11802
|
+
p_quantity: number;
|
|
11803
|
+
p_reason?: string;
|
|
11804
|
+
p_user_id?: string;
|
|
10937
11805
|
};
|
|
10938
|
-
Returns:
|
|
11806
|
+
Returns: import("./types").Json;
|
|
10939
11807
|
};
|
|
10940
|
-
|
|
11808
|
+
schedule_floriday_additional_services_sync: {
|
|
10941
11809
|
Args: {
|
|
10942
11810
|
p_apikey: string;
|
|
10943
11811
|
p_url: string;
|
|
@@ -11190,6 +12058,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11190
12058
|
};
|
|
11191
12059
|
Returns: number;
|
|
11192
12060
|
};
|
|
12061
|
+
self_heal_floriday_links: {
|
|
12062
|
+
Args: never;
|
|
12063
|
+
Returns: number;
|
|
12064
|
+
};
|
|
11193
12065
|
show_limit: {
|
|
11194
12066
|
Args: never;
|
|
11195
12067
|
Returns: number;
|
|
@@ -11212,6 +12084,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11212
12084
|
};
|
|
11213
12085
|
Returns: undefined;
|
|
11214
12086
|
};
|
|
12087
|
+
sync_product_group_belading: {
|
|
12088
|
+
Args: {
|
|
12089
|
+
_group_id: string;
|
|
12090
|
+
};
|
|
12091
|
+
Returns: undefined;
|
|
12092
|
+
};
|
|
11215
12093
|
sync_product_packing_from_floriday_cache: {
|
|
11216
12094
|
Args: {
|
|
11217
12095
|
p_floriday_id: string;
|