@flowselections/floriday-afhandeling-module 1.0.19 → 1.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +1581 -310
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +1581 -310
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +7 -26
- package/dist-lib/integrations/supabase/client.server.d.ts +1581 -310
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.d.ts +1620 -310
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/types.js +11 -9
- package/dist-lib/lib/afhandelingSettings.functions.d.ts +4141 -1599
- package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
- package/dist-lib/lib/carriers.functions.d.ts +7829 -1474
- package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartAssignments.functions.d.ts +7829 -1474
- package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
- package/dist-lib/lib/cartControl.functions.d.ts +16184 -3474
- package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday.functions.d.ts +1581 -310
- package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts +6158 -1074
- package/dist-lib/lib/logisticsEngine/capacity.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts +1581 -310
- package/dist-lib/lib/logisticsEngine/evaluate.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts +4141 -1599
- package/dist-lib/lib/logisticsEngine/formulas.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts +12842 -2674
- package/dist-lib/lib/logisticsEngine/strategies.functions.d.ts.map +1 -1
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts +6158 -1074
- package/dist-lib/lib/logisticsEngine/wizard.functions.d.ts.map +1 -1
- package/package.json +158 -154
|
@@ -265,12 +265,98 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
265
265
|
};
|
|
266
266
|
Relationships: [];
|
|
267
267
|
};
|
|
268
|
+
ai_admin_credentials: {
|
|
269
|
+
Row: {
|
|
270
|
+
active: boolean;
|
|
271
|
+
admin_key: string;
|
|
272
|
+
created_at: string;
|
|
273
|
+
id: string;
|
|
274
|
+
label: string;
|
|
275
|
+
provider_id: string;
|
|
276
|
+
updated_at: string;
|
|
277
|
+
};
|
|
278
|
+
Insert: {
|
|
279
|
+
active?: boolean;
|
|
280
|
+
admin_key: string;
|
|
281
|
+
created_at?: string;
|
|
282
|
+
id?: string;
|
|
283
|
+
label: string;
|
|
284
|
+
provider_id: string;
|
|
285
|
+
updated_at?: string;
|
|
286
|
+
};
|
|
287
|
+
Update: {
|
|
288
|
+
active?: boolean;
|
|
289
|
+
admin_key?: string;
|
|
290
|
+
created_at?: string;
|
|
291
|
+
id?: string;
|
|
292
|
+
label?: string;
|
|
293
|
+
provider_id?: string;
|
|
294
|
+
updated_at?: string;
|
|
295
|
+
};
|
|
296
|
+
Relationships: [{
|
|
297
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
298
|
+
columns: ["provider_id"];
|
|
299
|
+
isOneToOne: true;
|
|
300
|
+
referencedRelation: "ai_providers";
|
|
301
|
+
referencedColumns: ["id"];
|
|
302
|
+
}];
|
|
303
|
+
};
|
|
304
|
+
ai_call_log: {
|
|
305
|
+
Row: {
|
|
306
|
+
consumer_module_id: string;
|
|
307
|
+
cost_usd: number | null;
|
|
308
|
+
created_at: string;
|
|
309
|
+
created_by: string | null;
|
|
310
|
+
duration_ms: number | null;
|
|
311
|
+
error_code: string | null;
|
|
312
|
+
error_message: string | null;
|
|
313
|
+
id: string;
|
|
314
|
+
input_tokens: number;
|
|
315
|
+
model_slug: string | null;
|
|
316
|
+
output_tokens: number;
|
|
317
|
+
provider_slug: string | null;
|
|
318
|
+
status: string;
|
|
319
|
+
total_tokens: number;
|
|
320
|
+
};
|
|
321
|
+
Insert: {
|
|
322
|
+
consumer_module_id: string;
|
|
323
|
+
cost_usd?: number | null;
|
|
324
|
+
created_at?: string;
|
|
325
|
+
created_by?: string | null;
|
|
326
|
+
duration_ms?: number | null;
|
|
327
|
+
error_code?: string | null;
|
|
328
|
+
error_message?: string | null;
|
|
329
|
+
id?: string;
|
|
330
|
+
input_tokens?: number;
|
|
331
|
+
model_slug?: string | null;
|
|
332
|
+
output_tokens?: number;
|
|
333
|
+
provider_slug?: string | null;
|
|
334
|
+
status: string;
|
|
335
|
+
total_tokens?: number;
|
|
336
|
+
};
|
|
337
|
+
Update: {
|
|
338
|
+
consumer_module_id?: string;
|
|
339
|
+
cost_usd?: number | null;
|
|
340
|
+
created_at?: string;
|
|
341
|
+
created_by?: string | null;
|
|
342
|
+
duration_ms?: number | null;
|
|
343
|
+
error_code?: string | null;
|
|
344
|
+
error_message?: string | null;
|
|
345
|
+
id?: string;
|
|
346
|
+
input_tokens?: number;
|
|
347
|
+
model_slug?: string | null;
|
|
348
|
+
output_tokens?: number;
|
|
349
|
+
provider_slug?: string | null;
|
|
350
|
+
status?: string;
|
|
351
|
+
total_tokens?: number;
|
|
352
|
+
};
|
|
353
|
+
Relationships: [];
|
|
354
|
+
};
|
|
268
355
|
ai_credentials: {
|
|
269
356
|
Row: {
|
|
270
357
|
active: boolean;
|
|
271
358
|
api_key: string;
|
|
272
359
|
created_at: string;
|
|
273
|
-
created_by: string | null;
|
|
274
360
|
id: string;
|
|
275
361
|
label: string;
|
|
276
362
|
provider_id: string;
|
|
@@ -280,7 +366,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
280
366
|
active?: boolean;
|
|
281
367
|
api_key: string;
|
|
282
368
|
created_at?: string;
|
|
283
|
-
created_by?: string | null;
|
|
284
369
|
id?: string;
|
|
285
370
|
label: string;
|
|
286
371
|
provider_id: string;
|
|
@@ -290,7 +375,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
290
375
|
active?: boolean;
|
|
291
376
|
api_key?: string;
|
|
292
377
|
created_at?: string;
|
|
293
|
-
created_by?: string | null;
|
|
294
378
|
id?: string;
|
|
295
379
|
label?: string;
|
|
296
380
|
provider_id?: string;
|
|
@@ -304,6 +388,75 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
304
388
|
referencedColumns: ["id"];
|
|
305
389
|
}];
|
|
306
390
|
};
|
|
391
|
+
ai_goals: {
|
|
392
|
+
Row: {
|
|
393
|
+
active: boolean;
|
|
394
|
+
created_at: string;
|
|
395
|
+
description: string | null;
|
|
396
|
+
key: string;
|
|
397
|
+
label: string;
|
|
398
|
+
sort_order: number;
|
|
399
|
+
updated_at: string;
|
|
400
|
+
};
|
|
401
|
+
Insert: {
|
|
402
|
+
active?: boolean;
|
|
403
|
+
created_at?: string;
|
|
404
|
+
description?: string | null;
|
|
405
|
+
key: string;
|
|
406
|
+
label: string;
|
|
407
|
+
sort_order?: number;
|
|
408
|
+
updated_at?: string;
|
|
409
|
+
};
|
|
410
|
+
Update: {
|
|
411
|
+
active?: boolean;
|
|
412
|
+
created_at?: string;
|
|
413
|
+
description?: string | null;
|
|
414
|
+
key?: string;
|
|
415
|
+
label?: string;
|
|
416
|
+
sort_order?: number;
|
|
417
|
+
updated_at?: string;
|
|
418
|
+
};
|
|
419
|
+
Relationships: [];
|
|
420
|
+
};
|
|
421
|
+
ai_model_pricing: {
|
|
422
|
+
Row: {
|
|
423
|
+
created_at: string;
|
|
424
|
+
currency: string;
|
|
425
|
+
fetched_at: string;
|
|
426
|
+
id: string;
|
|
427
|
+
input_per_mtok: number | null;
|
|
428
|
+
model_slug: string;
|
|
429
|
+
output_per_mtok: number | null;
|
|
430
|
+
provider_slug: string;
|
|
431
|
+
source: string;
|
|
432
|
+
updated_at: string;
|
|
433
|
+
};
|
|
434
|
+
Insert: {
|
|
435
|
+
created_at?: string;
|
|
436
|
+
currency?: string;
|
|
437
|
+
fetched_at?: string;
|
|
438
|
+
id?: string;
|
|
439
|
+
input_per_mtok?: number | null;
|
|
440
|
+
model_slug: string;
|
|
441
|
+
output_per_mtok?: number | null;
|
|
442
|
+
provider_slug: string;
|
|
443
|
+
source?: string;
|
|
444
|
+
updated_at?: string;
|
|
445
|
+
};
|
|
446
|
+
Update: {
|
|
447
|
+
created_at?: string;
|
|
448
|
+
currency?: string;
|
|
449
|
+
fetched_at?: string;
|
|
450
|
+
id?: string;
|
|
451
|
+
input_per_mtok?: number | null;
|
|
452
|
+
model_slug?: string;
|
|
453
|
+
output_per_mtok?: number | null;
|
|
454
|
+
provider_slug?: string;
|
|
455
|
+
source?: string;
|
|
456
|
+
updated_at?: string;
|
|
457
|
+
};
|
|
458
|
+
Relationships: [];
|
|
459
|
+
};
|
|
307
460
|
ai_models: {
|
|
308
461
|
Row: {
|
|
309
462
|
active: boolean;
|
|
@@ -1249,6 +1402,69 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1249
1402
|
};
|
|
1250
1403
|
Relationships: [];
|
|
1251
1404
|
};
|
|
1405
|
+
catalog_articles_cache: {
|
|
1406
|
+
Row: {
|
|
1407
|
+
created_at: string;
|
|
1408
|
+
default_price: number;
|
|
1409
|
+
default_vat_rate_ref: string | null;
|
|
1410
|
+
external_ref: string;
|
|
1411
|
+
id: string;
|
|
1412
|
+
name: string;
|
|
1413
|
+
updated_at: string;
|
|
1414
|
+
user_id: string;
|
|
1415
|
+
};
|
|
1416
|
+
Insert: {
|
|
1417
|
+
created_at?: string;
|
|
1418
|
+
default_price?: number;
|
|
1419
|
+
default_vat_rate_ref?: string | null;
|
|
1420
|
+
external_ref: string;
|
|
1421
|
+
id?: string;
|
|
1422
|
+
name: string;
|
|
1423
|
+
updated_at?: string;
|
|
1424
|
+
user_id: string;
|
|
1425
|
+
};
|
|
1426
|
+
Update: {
|
|
1427
|
+
created_at?: string;
|
|
1428
|
+
default_price?: number;
|
|
1429
|
+
default_vat_rate_ref?: string | null;
|
|
1430
|
+
external_ref?: string;
|
|
1431
|
+
id?: string;
|
|
1432
|
+
name?: string;
|
|
1433
|
+
updated_at?: string;
|
|
1434
|
+
user_id?: string;
|
|
1435
|
+
};
|
|
1436
|
+
Relationships: [];
|
|
1437
|
+
};
|
|
1438
|
+
catalog_vat_rates_cache: {
|
|
1439
|
+
Row: {
|
|
1440
|
+
created_at: string;
|
|
1441
|
+
external_ref: string;
|
|
1442
|
+
id: string;
|
|
1443
|
+
label: string;
|
|
1444
|
+
percentage: number;
|
|
1445
|
+
updated_at: string;
|
|
1446
|
+
user_id: string;
|
|
1447
|
+
};
|
|
1448
|
+
Insert: {
|
|
1449
|
+
created_at?: string;
|
|
1450
|
+
external_ref: string;
|
|
1451
|
+
id?: string;
|
|
1452
|
+
label: string;
|
|
1453
|
+
percentage?: number;
|
|
1454
|
+
updated_at?: string;
|
|
1455
|
+
user_id: string;
|
|
1456
|
+
};
|
|
1457
|
+
Update: {
|
|
1458
|
+
created_at?: string;
|
|
1459
|
+
external_ref?: string;
|
|
1460
|
+
id?: string;
|
|
1461
|
+
label?: string;
|
|
1462
|
+
percentage?: number;
|
|
1463
|
+
updated_at?: string;
|
|
1464
|
+
user_id?: string;
|
|
1465
|
+
};
|
|
1466
|
+
Relationships: [];
|
|
1467
|
+
};
|
|
1252
1468
|
collections: {
|
|
1253
1469
|
Row: {
|
|
1254
1470
|
created_at: string;
|
|
@@ -1528,6 +1744,105 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1528
1744
|
};
|
|
1529
1745
|
Relationships: [];
|
|
1530
1746
|
};
|
|
1747
|
+
customer_price_group_members: {
|
|
1748
|
+
Row: {
|
|
1749
|
+
created_at: string;
|
|
1750
|
+
customer_key: string;
|
|
1751
|
+
id: string;
|
|
1752
|
+
owner_id: string;
|
|
1753
|
+
price_group_id: string;
|
|
1754
|
+
};
|
|
1755
|
+
Insert: {
|
|
1756
|
+
created_at?: string;
|
|
1757
|
+
customer_key: string;
|
|
1758
|
+
id?: string;
|
|
1759
|
+
owner_id?: string;
|
|
1760
|
+
price_group_id: string;
|
|
1761
|
+
};
|
|
1762
|
+
Update: {
|
|
1763
|
+
created_at?: string;
|
|
1764
|
+
customer_key?: string;
|
|
1765
|
+
id?: string;
|
|
1766
|
+
owner_id?: string;
|
|
1767
|
+
price_group_id?: string;
|
|
1768
|
+
};
|
|
1769
|
+
Relationships: [{
|
|
1770
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
1771
|
+
columns: ["price_group_id"];
|
|
1772
|
+
isOneToOne: false;
|
|
1773
|
+
referencedRelation: "customer_price_groups";
|
|
1774
|
+
referencedColumns: ["id"];
|
|
1775
|
+
}];
|
|
1776
|
+
};
|
|
1777
|
+
customer_price_groups: {
|
|
1778
|
+
Row: {
|
|
1779
|
+
calc_type: string | null;
|
|
1780
|
+
calc_value: number | null;
|
|
1781
|
+
calc_value_type: string | null;
|
|
1782
|
+
created_at: string;
|
|
1783
|
+
currency: string;
|
|
1784
|
+
distribute_over: string | null;
|
|
1785
|
+
group_type: string;
|
|
1786
|
+
handling_fee: number | null;
|
|
1787
|
+
id: string;
|
|
1788
|
+
include_stickers: boolean;
|
|
1789
|
+
is_active: boolean;
|
|
1790
|
+
name: string;
|
|
1791
|
+
owner_id: string;
|
|
1792
|
+
price_scope: string;
|
|
1793
|
+
pricing_mode: string;
|
|
1794
|
+
rounding: string;
|
|
1795
|
+
rounding_step: number;
|
|
1796
|
+
sort_order: number;
|
|
1797
|
+
unit: string;
|
|
1798
|
+
updated_at: string;
|
|
1799
|
+
};
|
|
1800
|
+
Insert: {
|
|
1801
|
+
calc_type?: string | null;
|
|
1802
|
+
calc_value?: number | null;
|
|
1803
|
+
calc_value_type?: string | null;
|
|
1804
|
+
created_at?: string;
|
|
1805
|
+
currency?: string;
|
|
1806
|
+
distribute_over?: string | null;
|
|
1807
|
+
group_type?: string;
|
|
1808
|
+
handling_fee?: number | null;
|
|
1809
|
+
id?: string;
|
|
1810
|
+
include_stickers?: boolean;
|
|
1811
|
+
is_active?: boolean;
|
|
1812
|
+
name: string;
|
|
1813
|
+
owner_id?: string;
|
|
1814
|
+
price_scope?: string;
|
|
1815
|
+
pricing_mode?: string;
|
|
1816
|
+
rounding?: string;
|
|
1817
|
+
rounding_step?: number;
|
|
1818
|
+
sort_order?: number;
|
|
1819
|
+
unit?: string;
|
|
1820
|
+
updated_at?: string;
|
|
1821
|
+
};
|
|
1822
|
+
Update: {
|
|
1823
|
+
calc_type?: string | null;
|
|
1824
|
+
calc_value?: number | null;
|
|
1825
|
+
calc_value_type?: string | null;
|
|
1826
|
+
created_at?: string;
|
|
1827
|
+
currency?: string;
|
|
1828
|
+
distribute_over?: string | null;
|
|
1829
|
+
group_type?: string;
|
|
1830
|
+
handling_fee?: number | null;
|
|
1831
|
+
id?: string;
|
|
1832
|
+
include_stickers?: boolean;
|
|
1833
|
+
is_active?: boolean;
|
|
1834
|
+
name?: string;
|
|
1835
|
+
owner_id?: string;
|
|
1836
|
+
price_scope?: string;
|
|
1837
|
+
pricing_mode?: string;
|
|
1838
|
+
rounding?: string;
|
|
1839
|
+
rounding_step?: number;
|
|
1840
|
+
sort_order?: number;
|
|
1841
|
+
unit?: string;
|
|
1842
|
+
updated_at?: string;
|
|
1843
|
+
};
|
|
1844
|
+
Relationships: [];
|
|
1845
|
+
};
|
|
1531
1846
|
customer_selected_assortment: {
|
|
1532
1847
|
Row: {
|
|
1533
1848
|
article_number: string | null;
|
|
@@ -1681,6 +1996,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1681
1996
|
sync_error: string | null;
|
|
1682
1997
|
sync_status: string;
|
|
1683
1998
|
trade_forms: string[];
|
|
1999
|
+
twinfield_code: string | null;
|
|
2000
|
+
twinfield_last_hash: string | null;
|
|
2001
|
+
twinfield_sync_error: string | null;
|
|
2002
|
+
twinfield_synced_at: string | null;
|
|
1684
2003
|
updated_at: string;
|
|
1685
2004
|
vat_display: string | null;
|
|
1686
2005
|
vat_number: string | null;
|
|
@@ -1748,6 +2067,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1748
2067
|
sync_error?: string | null;
|
|
1749
2068
|
sync_status?: string;
|
|
1750
2069
|
trade_forms?: string[];
|
|
2070
|
+
twinfield_code?: string | null;
|
|
2071
|
+
twinfield_last_hash?: string | null;
|
|
2072
|
+
twinfield_sync_error?: string | null;
|
|
2073
|
+
twinfield_synced_at?: string | null;
|
|
1751
2074
|
updated_at?: string;
|
|
1752
2075
|
vat_display?: string | null;
|
|
1753
2076
|
vat_number?: string | null;
|
|
@@ -1815,6 +2138,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
1815
2138
|
sync_error?: string | null;
|
|
1816
2139
|
sync_status?: string;
|
|
1817
2140
|
trade_forms?: string[];
|
|
2141
|
+
twinfield_code?: string | null;
|
|
2142
|
+
twinfield_last_hash?: string | null;
|
|
2143
|
+
twinfield_sync_error?: string | null;
|
|
2144
|
+
twinfield_synced_at?: string | null;
|
|
1818
2145
|
updated_at?: string;
|
|
1819
2146
|
vat_display?: string | null;
|
|
1820
2147
|
vat_number?: string | null;
|
|
@@ -3628,48 +3955,147 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
3628
3955
|
referencedColumns: ["id"];
|
|
3629
3956
|
}];
|
|
3630
3957
|
};
|
|
3631
|
-
|
|
3958
|
+
floriday_agreement_calloffs_cache: {
|
|
3632
3959
|
Row: {
|
|
3633
|
-
|
|
3634
|
-
clock_supply_id: string;
|
|
3960
|
+
agreement_id: string | null;
|
|
3635
3961
|
connection_id: string;
|
|
3636
|
-
|
|
3962
|
+
data: import("../integrations/supabase/types").Json;
|
|
3963
|
+
delivery_date: string | null;
|
|
3637
3964
|
fetched_at: string;
|
|
3965
|
+
floriday_id: string;
|
|
3638
3966
|
id: string;
|
|
3639
|
-
|
|
3967
|
+
is_deleted: boolean;
|
|
3968
|
+
sequence_number: number;
|
|
3969
|
+
status: string | null;
|
|
3970
|
+
updated_at: string;
|
|
3640
3971
|
};
|
|
3641
3972
|
Insert: {
|
|
3642
|
-
|
|
3643
|
-
clock_supply_id: string;
|
|
3973
|
+
agreement_id?: string | null;
|
|
3644
3974
|
connection_id: string;
|
|
3645
|
-
|
|
3975
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3976
|
+
delivery_date?: string | null;
|
|
3646
3977
|
fetched_at?: string;
|
|
3978
|
+
floriday_id: string;
|
|
3647
3979
|
id?: string;
|
|
3648
|
-
|
|
3980
|
+
is_deleted?: boolean;
|
|
3981
|
+
sequence_number?: number;
|
|
3982
|
+
status?: string | null;
|
|
3983
|
+
updated_at?: string;
|
|
3649
3984
|
};
|
|
3650
3985
|
Update: {
|
|
3651
|
-
|
|
3652
|
-
clock_supply_id?: string;
|
|
3986
|
+
agreement_id?: string | null;
|
|
3653
3987
|
connection_id?: string;
|
|
3654
|
-
|
|
3988
|
+
data?: import("../integrations/supabase/types").Json;
|
|
3989
|
+
delivery_date?: string | null;
|
|
3655
3990
|
fetched_at?: string;
|
|
3991
|
+
floriday_id?: string;
|
|
3656
3992
|
id?: string;
|
|
3657
|
-
|
|
3993
|
+
is_deleted?: boolean;
|
|
3994
|
+
sequence_number?: number;
|
|
3995
|
+
status?: string | null;
|
|
3996
|
+
updated_at?: string;
|
|
3658
3997
|
};
|
|
3659
3998
|
Relationships: [{
|
|
3660
|
-
foreignKeyName: "
|
|
3999
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3661
4000
|
columns: ["connection_id"];
|
|
3662
4001
|
isOneToOne: false;
|
|
3663
4002
|
referencedRelation: "floriday_connections";
|
|
3664
4003
|
referencedColumns: ["id"];
|
|
3665
4004
|
}];
|
|
3666
4005
|
};
|
|
3667
|
-
|
|
4006
|
+
floriday_agreements_cache: {
|
|
3668
4007
|
Row: {
|
|
3669
|
-
|
|
4008
|
+
buyer_organization_id: string | null;
|
|
3670
4009
|
connection_id: string;
|
|
3671
|
-
|
|
3672
|
-
|
|
4010
|
+
data: import("../integrations/supabase/types").Json;
|
|
4011
|
+
fetched_at: string;
|
|
4012
|
+
floriday_id: string;
|
|
4013
|
+
id: string;
|
|
4014
|
+
is_deleted: boolean;
|
|
4015
|
+
sequence_number: number;
|
|
4016
|
+
status: string | null;
|
|
4017
|
+
updated_at: string;
|
|
4018
|
+
valid_from: string | null;
|
|
4019
|
+
valid_until: string | null;
|
|
4020
|
+
};
|
|
4021
|
+
Insert: {
|
|
4022
|
+
buyer_organization_id?: string | null;
|
|
4023
|
+
connection_id: string;
|
|
4024
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4025
|
+
fetched_at?: string;
|
|
4026
|
+
floriday_id: string;
|
|
4027
|
+
id?: string;
|
|
4028
|
+
is_deleted?: boolean;
|
|
4029
|
+
sequence_number?: number;
|
|
4030
|
+
status?: string | null;
|
|
4031
|
+
updated_at?: string;
|
|
4032
|
+
valid_from?: string | null;
|
|
4033
|
+
valid_until?: string | null;
|
|
4034
|
+
};
|
|
4035
|
+
Update: {
|
|
4036
|
+
buyer_organization_id?: string | null;
|
|
4037
|
+
connection_id?: string;
|
|
4038
|
+
data?: import("../integrations/supabase/types").Json;
|
|
4039
|
+
fetched_at?: string;
|
|
4040
|
+
floriday_id?: string;
|
|
4041
|
+
id?: string;
|
|
4042
|
+
is_deleted?: boolean;
|
|
4043
|
+
sequence_number?: number;
|
|
4044
|
+
status?: string | null;
|
|
4045
|
+
updated_at?: string;
|
|
4046
|
+
valid_from?: string | null;
|
|
4047
|
+
valid_until?: string | null;
|
|
4048
|
+
};
|
|
4049
|
+
Relationships: [{
|
|
4050
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
4051
|
+
columns: ["connection_id"];
|
|
4052
|
+
isOneToOne: false;
|
|
4053
|
+
referencedRelation: "floriday_connections";
|
|
4054
|
+
referencedColumns: ["id"];
|
|
4055
|
+
}];
|
|
4056
|
+
};
|
|
4057
|
+
floriday_auction_letters_cache: {
|
|
4058
|
+
Row: {
|
|
4059
|
+
auction_letter_code: string;
|
|
4060
|
+
clock_supply_id: string;
|
|
4061
|
+
connection_id: string;
|
|
4062
|
+
content_type: string;
|
|
4063
|
+
fetched_at: string;
|
|
4064
|
+
id: string;
|
|
4065
|
+
storage_path: string;
|
|
4066
|
+
};
|
|
4067
|
+
Insert: {
|
|
4068
|
+
auction_letter_code: string;
|
|
4069
|
+
clock_supply_id: string;
|
|
4070
|
+
connection_id: string;
|
|
4071
|
+
content_type?: string;
|
|
4072
|
+
fetched_at?: string;
|
|
4073
|
+
id?: string;
|
|
4074
|
+
storage_path: string;
|
|
4075
|
+
};
|
|
4076
|
+
Update: {
|
|
4077
|
+
auction_letter_code?: string;
|
|
4078
|
+
clock_supply_id?: string;
|
|
4079
|
+
connection_id?: string;
|
|
4080
|
+
content_type?: string;
|
|
4081
|
+
fetched_at?: string;
|
|
4082
|
+
id?: string;
|
|
4083
|
+
storage_path?: string;
|
|
4084
|
+
};
|
|
4085
|
+
Relationships: [{
|
|
4086
|
+
foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
|
|
4087
|
+
columns: ["connection_id"];
|
|
4088
|
+
isOneToOne: false;
|
|
4089
|
+
referencedRelation: "floriday_connections";
|
|
4090
|
+
referencedColumns: ["id"];
|
|
4091
|
+
}];
|
|
4092
|
+
};
|
|
4093
|
+
floriday_auto_fulfillment_log: {
|
|
4094
|
+
Row: {
|
|
4095
|
+
attempts: number;
|
|
4096
|
+
connection_id: string;
|
|
4097
|
+
created_at: string;
|
|
4098
|
+
error: string | null;
|
|
3673
4099
|
fulfillment_order_id: string | null;
|
|
3674
4100
|
id: string;
|
|
3675
4101
|
last_attempt_at: string | null;
|
|
@@ -4126,27 +4552,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4126
4552
|
referencedColumns: ["id"];
|
|
4127
4553
|
}];
|
|
4128
4554
|
};
|
|
4129
|
-
floriday_continuous_stock_cache: {
|
|
4130
|
-
Row: {
|
|
4131
|
-
connection_id: string;
|
|
4132
|
-
fetched_at: string;
|
|
4133
|
-
number_of_pieces: number;
|
|
4134
|
-
trade_item_id: string;
|
|
4135
|
-
};
|
|
4136
|
-
Insert: {
|
|
4137
|
-
connection_id: string;
|
|
4138
|
-
fetched_at?: string;
|
|
4139
|
-
number_of_pieces?: number;
|
|
4140
|
-
trade_item_id: string;
|
|
4141
|
-
};
|
|
4142
|
-
Update: {
|
|
4143
|
-
connection_id?: string;
|
|
4144
|
-
fetched_at?: string;
|
|
4145
|
-
number_of_pieces?: number;
|
|
4146
|
-
trade_item_id?: string;
|
|
4147
|
-
};
|
|
4148
|
-
Relationships: [];
|
|
4149
|
-
};
|
|
4150
4555
|
floriday_continuous_stock_queue: {
|
|
4151
4556
|
Row: {
|
|
4152
4557
|
attempts: number;
|
|
@@ -4922,8 +5327,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4922
5327
|
Row: {
|
|
4923
5328
|
buyer_organization_id: string | null;
|
|
4924
5329
|
connection_id: string;
|
|
4925
|
-
controlled_at: string | null;
|
|
4926
|
-
controlled_by: string | null;
|
|
4927
5330
|
created_at: string;
|
|
4928
5331
|
data: import("../integrations/supabase/types").Json;
|
|
4929
5332
|
floriday_id: string;
|
|
@@ -4935,8 +5338,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4935
5338
|
Insert: {
|
|
4936
5339
|
buyer_organization_id?: string | null;
|
|
4937
5340
|
connection_id: string;
|
|
4938
|
-
controlled_at?: string | null;
|
|
4939
|
-
controlled_by?: string | null;
|
|
4940
5341
|
created_at?: string;
|
|
4941
5342
|
data: import("../integrations/supabase/types").Json;
|
|
4942
5343
|
floriday_id: string;
|
|
@@ -4948,8 +5349,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
4948
5349
|
Update: {
|
|
4949
5350
|
buyer_organization_id?: string | null;
|
|
4950
5351
|
connection_id?: string;
|
|
4951
|
-
controlled_at?: string | null;
|
|
4952
|
-
controlled_by?: string | null;
|
|
4953
5352
|
created_at?: string;
|
|
4954
5353
|
data?: import("../integrations/supabase/types").Json;
|
|
4955
5354
|
floriday_id?: string;
|
|
@@ -5131,45 +5530,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5131
5530
|
referencedColumns: ["id"];
|
|
5132
5531
|
}];
|
|
5133
5532
|
};
|
|
5134
|
-
floriday_trade_settings_customers_cache: {
|
|
5135
|
-
Row: {
|
|
5136
|
-
connection_id: string;
|
|
5137
|
-
data: import("../integrations/supabase/types").Json;
|
|
5138
|
-
fetched_at: string;
|
|
5139
|
-
floriday_id: string;
|
|
5140
|
-
id: string;
|
|
5141
|
-
is_deleted: boolean;
|
|
5142
|
-
sequence_number: number;
|
|
5143
|
-
updated_at: string;
|
|
5144
|
-
};
|
|
5145
|
-
Insert: {
|
|
5146
|
-
connection_id: string;
|
|
5147
|
-
data: import("../integrations/supabase/types").Json;
|
|
5148
|
-
fetched_at?: string;
|
|
5149
|
-
floriday_id: string;
|
|
5150
|
-
id?: string;
|
|
5151
|
-
is_deleted?: boolean;
|
|
5152
|
-
sequence_number?: number;
|
|
5153
|
-
updated_at?: string;
|
|
5154
|
-
};
|
|
5155
|
-
Update: {
|
|
5156
|
-
connection_id?: string;
|
|
5157
|
-
data?: import("../integrations/supabase/types").Json;
|
|
5158
|
-
fetched_at?: string;
|
|
5159
|
-
floriday_id?: string;
|
|
5160
|
-
id?: string;
|
|
5161
|
-
is_deleted?: boolean;
|
|
5162
|
-
sequence_number?: number;
|
|
5163
|
-
updated_at?: string;
|
|
5164
|
-
};
|
|
5165
|
-
Relationships: [{
|
|
5166
|
-
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
5167
|
-
columns: ["connection_id"];
|
|
5168
|
-
isOneToOne: false;
|
|
5169
|
-
referencedRelation: "floriday_connections";
|
|
5170
|
-
referencedColumns: ["id"];
|
|
5171
|
-
}];
|
|
5172
|
-
};
|
|
5173
5533
|
floriday_trips_cache: {
|
|
5174
5534
|
Row: {
|
|
5175
5535
|
carrier_organization_id: string | null;
|
|
@@ -5218,27 +5578,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5218
5578
|
referencedColumns: ["id"];
|
|
5219
5579
|
}];
|
|
5220
5580
|
};
|
|
5221
|
-
floriday_vbn_required_characteristics: {
|
|
5222
|
-
Row: {
|
|
5223
|
-
required_codes: string[];
|
|
5224
|
-
updated_at: string;
|
|
5225
|
-
updated_by: string | null;
|
|
5226
|
-
vbn_code: string;
|
|
5227
|
-
};
|
|
5228
|
-
Insert: {
|
|
5229
|
-
required_codes?: string[];
|
|
5230
|
-
updated_at?: string;
|
|
5231
|
-
updated_by?: string | null;
|
|
5232
|
-
vbn_code: string;
|
|
5233
|
-
};
|
|
5234
|
-
Update: {
|
|
5235
|
-
required_codes?: string[];
|
|
5236
|
-
updated_at?: string;
|
|
5237
|
-
updated_by?: string | null;
|
|
5238
|
-
vbn_code?: string;
|
|
5239
|
-
};
|
|
5240
|
-
Relationships: [];
|
|
5241
|
-
};
|
|
5242
5581
|
floriday_warehouses_cache: {
|
|
5243
5582
|
Row: {
|
|
5244
5583
|
connection_id: string;
|
|
@@ -5719,135 +6058,417 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
5719
6058
|
};
|
|
5720
6059
|
Relationships: [];
|
|
5721
6060
|
};
|
|
5722
|
-
|
|
6061
|
+
itk_contact_persons: {
|
|
5723
6062
|
Row: {
|
|
5724
|
-
base_price: number | null;
|
|
5725
6063
|
created_at: string;
|
|
5726
|
-
currency: string;
|
|
5727
6064
|
customer_id: string;
|
|
6065
|
+
email: string | null;
|
|
5728
6066
|
id: string;
|
|
5729
|
-
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
product_category_id: string | null;
|
|
5733
|
-
product_id: string | null;
|
|
6067
|
+
name: string;
|
|
6068
|
+
phone: string | null;
|
|
6069
|
+
role: string | null;
|
|
5734
6070
|
updated_at: string;
|
|
5735
|
-
valid_from: string | null;
|
|
5736
|
-
valid_until: string | null;
|
|
5737
6071
|
};
|
|
5738
6072
|
Insert: {
|
|
5739
|
-
base_price?: number | null;
|
|
5740
6073
|
created_at?: string;
|
|
5741
|
-
currency?: string;
|
|
5742
6074
|
customer_id: string;
|
|
6075
|
+
email?: string | null;
|
|
5743
6076
|
id?: string;
|
|
5744
|
-
|
|
5745
|
-
|
|
5746
|
-
|
|
5747
|
-
product_category_id?: string | null;
|
|
5748
|
-
product_id?: string | null;
|
|
6077
|
+
name: string;
|
|
6078
|
+
phone?: string | null;
|
|
6079
|
+
role?: string | null;
|
|
5749
6080
|
updated_at?: string;
|
|
5750
|
-
valid_from?: string | null;
|
|
5751
|
-
valid_until?: string | null;
|
|
5752
6081
|
};
|
|
5753
6082
|
Update: {
|
|
5754
|
-
base_price?: number | null;
|
|
5755
6083
|
created_at?: string;
|
|
5756
|
-
currency?: string;
|
|
5757
6084
|
customer_id?: string;
|
|
6085
|
+
email?: string | null;
|
|
5758
6086
|
id?: string;
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
product_category_id?: string | null;
|
|
5763
|
-
product_id?: string | null;
|
|
6087
|
+
name?: string;
|
|
6088
|
+
phone?: string | null;
|
|
6089
|
+
role?: string | null;
|
|
5764
6090
|
updated_at?: string;
|
|
5765
|
-
valid_from?: string | null;
|
|
5766
|
-
valid_until?: string | null;
|
|
5767
6091
|
};
|
|
5768
6092
|
Relationships: [{
|
|
5769
|
-
foreignKeyName: "
|
|
6093
|
+
foreignKeyName: "itk_contact_persons_customer_id_fkey";
|
|
5770
6094
|
columns: ["customer_id"];
|
|
5771
6095
|
isOneToOne: false;
|
|
5772
|
-
referencedRelation: "
|
|
5773
|
-
referencedColumns: ["id"];
|
|
5774
|
-
}, {
|
|
5775
|
-
foreignKeyName: "local_customer_agreements_product_category_id_fkey";
|
|
5776
|
-
columns: ["product_category_id"];
|
|
5777
|
-
isOneToOne: false;
|
|
5778
|
-
referencedRelation: "product_categories";
|
|
5779
|
-
referencedColumns: ["id"];
|
|
5780
|
-
}, {
|
|
5781
|
-
foreignKeyName: "local_customer_agreements_product_id_fkey";
|
|
5782
|
-
columns: ["product_id"];
|
|
5783
|
-
isOneToOne: false;
|
|
5784
|
-
referencedRelation: "products";
|
|
6096
|
+
referencedRelation: "itk_customers";
|
|
5785
6097
|
referencedColumns: ["id"];
|
|
5786
6098
|
}];
|
|
5787
6099
|
};
|
|
5788
|
-
|
|
6100
|
+
itk_customer_dynamic_values: {
|
|
5789
6101
|
Row: {
|
|
5790
6102
|
created_at: string;
|
|
5791
|
-
currency: string;
|
|
5792
6103
|
customer_id: string;
|
|
5793
|
-
|
|
5794
|
-
discount_value: number;
|
|
6104
|
+
field_id: string;
|
|
5795
6105
|
id: string;
|
|
5796
|
-
min_quantity: number;
|
|
5797
|
-
notes: string | null;
|
|
5798
|
-
product_category_id: string | null;
|
|
5799
|
-
product_id: string | null;
|
|
5800
6106
|
updated_at: string;
|
|
5801
|
-
|
|
5802
|
-
valid_until: string | null;
|
|
6107
|
+
value: string | null;
|
|
5803
6108
|
};
|
|
5804
6109
|
Insert: {
|
|
5805
6110
|
created_at?: string;
|
|
5806
|
-
currency?: string;
|
|
5807
6111
|
customer_id: string;
|
|
5808
|
-
|
|
5809
|
-
discount_value: number;
|
|
6112
|
+
field_id: string;
|
|
5810
6113
|
id?: string;
|
|
5811
|
-
min_quantity?: number;
|
|
5812
|
-
notes?: string | null;
|
|
5813
|
-
product_category_id?: string | null;
|
|
5814
|
-
product_id?: string | null;
|
|
5815
6114
|
updated_at?: string;
|
|
5816
|
-
|
|
5817
|
-
valid_until?: string | null;
|
|
6115
|
+
value?: string | null;
|
|
5818
6116
|
};
|
|
5819
6117
|
Update: {
|
|
5820
6118
|
created_at?: string;
|
|
5821
|
-
currency?: string;
|
|
5822
6119
|
customer_id?: string;
|
|
5823
|
-
|
|
5824
|
-
discount_value?: number;
|
|
6120
|
+
field_id?: string;
|
|
5825
6121
|
id?: string;
|
|
5826
|
-
min_quantity?: number;
|
|
5827
|
-
notes?: string | null;
|
|
5828
|
-
product_category_id?: string | null;
|
|
5829
|
-
product_id?: string | null;
|
|
5830
6122
|
updated_at?: string;
|
|
5831
|
-
|
|
5832
|
-
valid_until?: string | null;
|
|
6123
|
+
value?: string | null;
|
|
5833
6124
|
};
|
|
5834
6125
|
Relationships: [{
|
|
5835
|
-
foreignKeyName: "
|
|
6126
|
+
foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
|
|
5836
6127
|
columns: ["customer_id"];
|
|
5837
6128
|
isOneToOne: false;
|
|
5838
|
-
referencedRelation: "
|
|
5839
|
-
referencedColumns: ["id"];
|
|
5840
|
-
}, {
|
|
5841
|
-
foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
|
|
5842
|
-
columns: ["product_category_id"];
|
|
5843
|
-
isOneToOne: false;
|
|
5844
|
-
referencedRelation: "product_categories";
|
|
6129
|
+
referencedRelation: "itk_customers";
|
|
5845
6130
|
referencedColumns: ["id"];
|
|
5846
6131
|
}, {
|
|
5847
|
-
foreignKeyName: "
|
|
5848
|
-
columns: ["
|
|
6132
|
+
foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
|
|
6133
|
+
columns: ["field_id"];
|
|
5849
6134
|
isOneToOne: false;
|
|
5850
|
-
referencedRelation: "
|
|
6135
|
+
referencedRelation: "itk_dynamic_fields";
|
|
6136
|
+
referencedColumns: ["id"];
|
|
6137
|
+
}];
|
|
6138
|
+
};
|
|
6139
|
+
itk_customer_notes: {
|
|
6140
|
+
Row: {
|
|
6141
|
+
body: string;
|
|
6142
|
+
created_at: string;
|
|
6143
|
+
created_by: string | null;
|
|
6144
|
+
customer_id: string;
|
|
6145
|
+
id: string;
|
|
6146
|
+
note_type: string;
|
|
6147
|
+
updated_at: string;
|
|
6148
|
+
};
|
|
6149
|
+
Insert: {
|
|
6150
|
+
body: string;
|
|
6151
|
+
created_at?: string;
|
|
6152
|
+
created_by?: string | null;
|
|
6153
|
+
customer_id: string;
|
|
6154
|
+
id?: string;
|
|
6155
|
+
note_type?: string;
|
|
6156
|
+
updated_at?: string;
|
|
6157
|
+
};
|
|
6158
|
+
Update: {
|
|
6159
|
+
body?: string;
|
|
6160
|
+
created_at?: string;
|
|
6161
|
+
created_by?: string | null;
|
|
6162
|
+
customer_id?: string;
|
|
6163
|
+
id?: string;
|
|
6164
|
+
note_type?: string;
|
|
6165
|
+
updated_at?: string;
|
|
6166
|
+
};
|
|
6167
|
+
Relationships: [{
|
|
6168
|
+
foreignKeyName: "itk_customer_notes_customer_id_fkey";
|
|
6169
|
+
columns: ["customer_id"];
|
|
6170
|
+
isOneToOne: false;
|
|
6171
|
+
referencedRelation: "itk_customers";
|
|
6172
|
+
referencedColumns: ["id"];
|
|
6173
|
+
}];
|
|
6174
|
+
};
|
|
6175
|
+
itk_customers: {
|
|
6176
|
+
Row: {
|
|
6177
|
+
billing_city: string | null;
|
|
6178
|
+
billing_postcode: string | null;
|
|
6179
|
+
billing_street: string | null;
|
|
6180
|
+
created_at: string;
|
|
6181
|
+
general_email: string | null;
|
|
6182
|
+
general_phone: string | null;
|
|
6183
|
+
id: string;
|
|
6184
|
+
legacy_customer_id: string | null;
|
|
6185
|
+
name: string;
|
|
6186
|
+
segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6187
|
+
updated_at: string;
|
|
6188
|
+
};
|
|
6189
|
+
Insert: {
|
|
6190
|
+
billing_city?: string | null;
|
|
6191
|
+
billing_postcode?: string | null;
|
|
6192
|
+
billing_street?: string | null;
|
|
6193
|
+
created_at?: string;
|
|
6194
|
+
general_email?: string | null;
|
|
6195
|
+
general_phone?: string | null;
|
|
6196
|
+
id?: string;
|
|
6197
|
+
legacy_customer_id?: string | null;
|
|
6198
|
+
name: string;
|
|
6199
|
+
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6200
|
+
updated_at?: string;
|
|
6201
|
+
};
|
|
6202
|
+
Update: {
|
|
6203
|
+
billing_city?: string | null;
|
|
6204
|
+
billing_postcode?: string | null;
|
|
6205
|
+
billing_street?: string | null;
|
|
6206
|
+
created_at?: string;
|
|
6207
|
+
general_email?: string | null;
|
|
6208
|
+
general_phone?: string | null;
|
|
6209
|
+
id?: string;
|
|
6210
|
+
legacy_customer_id?: string | null;
|
|
6211
|
+
name?: string;
|
|
6212
|
+
segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6213
|
+
updated_at?: string;
|
|
6214
|
+
};
|
|
6215
|
+
Relationships: [{
|
|
6216
|
+
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
6217
|
+
columns: ["legacy_customer_id"];
|
|
6218
|
+
isOneToOne: false;
|
|
6219
|
+
referencedRelation: "customers";
|
|
6220
|
+
referencedColumns: ["id"];
|
|
6221
|
+
}];
|
|
6222
|
+
};
|
|
6223
|
+
itk_dynamic_fields: {
|
|
6224
|
+
Row: {
|
|
6225
|
+
created_at: string;
|
|
6226
|
+
field_name: string;
|
|
6227
|
+
field_type: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
6228
|
+
id: string;
|
|
6229
|
+
options: import("../integrations/supabase/types").Json;
|
|
6230
|
+
sort_order: number;
|
|
6231
|
+
updated_at: string;
|
|
6232
|
+
};
|
|
6233
|
+
Insert: {
|
|
6234
|
+
created_at?: string;
|
|
6235
|
+
field_name: string;
|
|
6236
|
+
field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
6237
|
+
id?: string;
|
|
6238
|
+
options?: import("../integrations/supabase/types").Json;
|
|
6239
|
+
sort_order?: number;
|
|
6240
|
+
updated_at?: string;
|
|
6241
|
+
};
|
|
6242
|
+
Update: {
|
|
6243
|
+
created_at?: string;
|
|
6244
|
+
field_name?: string;
|
|
6245
|
+
field_type?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
6246
|
+
id?: string;
|
|
6247
|
+
options?: import("../integrations/supabase/types").Json;
|
|
6248
|
+
sort_order?: number;
|
|
6249
|
+
updated_at?: string;
|
|
6250
|
+
};
|
|
6251
|
+
Relationships: [];
|
|
6252
|
+
};
|
|
6253
|
+
itk_work_locations: {
|
|
6254
|
+
Row: {
|
|
6255
|
+
city: string | null;
|
|
6256
|
+
created_at: string;
|
|
6257
|
+
customer_id: string;
|
|
6258
|
+
id: string;
|
|
6259
|
+
instructions: string | null;
|
|
6260
|
+
label: string;
|
|
6261
|
+
latitude: number | null;
|
|
6262
|
+
longitude: number | null;
|
|
6263
|
+
postcode: string | null;
|
|
6264
|
+
street: string | null;
|
|
6265
|
+
updated_at: string;
|
|
6266
|
+
};
|
|
6267
|
+
Insert: {
|
|
6268
|
+
city?: string | null;
|
|
6269
|
+
created_at?: string;
|
|
6270
|
+
customer_id: string;
|
|
6271
|
+
id?: string;
|
|
6272
|
+
instructions?: string | null;
|
|
6273
|
+
label: string;
|
|
6274
|
+
latitude?: number | null;
|
|
6275
|
+
longitude?: number | null;
|
|
6276
|
+
postcode?: string | null;
|
|
6277
|
+
street?: string | null;
|
|
6278
|
+
updated_at?: string;
|
|
6279
|
+
};
|
|
6280
|
+
Update: {
|
|
6281
|
+
city?: string | null;
|
|
6282
|
+
created_at?: string;
|
|
6283
|
+
customer_id?: string;
|
|
6284
|
+
id?: string;
|
|
6285
|
+
instructions?: string | null;
|
|
6286
|
+
label?: string;
|
|
6287
|
+
latitude?: number | null;
|
|
6288
|
+
longitude?: number | null;
|
|
6289
|
+
postcode?: string | null;
|
|
6290
|
+
street?: string | null;
|
|
6291
|
+
updated_at?: string;
|
|
6292
|
+
};
|
|
6293
|
+
Relationships: [{
|
|
6294
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
6295
|
+
columns: ["customer_id"];
|
|
6296
|
+
isOneToOne: false;
|
|
6297
|
+
referencedRelation: "itk_customers";
|
|
6298
|
+
referencedColumns: ["id"];
|
|
6299
|
+
}];
|
|
6300
|
+
};
|
|
6301
|
+
leave_requests: {
|
|
6302
|
+
Row: {
|
|
6303
|
+
created_at: string;
|
|
6304
|
+
end_date: string;
|
|
6305
|
+
id: string;
|
|
6306
|
+
reason: string | null;
|
|
6307
|
+
start_date: string;
|
|
6308
|
+
status: string;
|
|
6309
|
+
tenant_id: string;
|
|
6310
|
+
updated_at: string;
|
|
6311
|
+
user_id: string;
|
|
6312
|
+
};
|
|
6313
|
+
Insert: {
|
|
6314
|
+
created_at?: string;
|
|
6315
|
+
end_date: string;
|
|
6316
|
+
id?: string;
|
|
6317
|
+
reason?: string | null;
|
|
6318
|
+
start_date: string;
|
|
6319
|
+
status?: string;
|
|
6320
|
+
tenant_id?: string;
|
|
6321
|
+
updated_at?: string;
|
|
6322
|
+
user_id: string;
|
|
6323
|
+
};
|
|
6324
|
+
Update: {
|
|
6325
|
+
created_at?: string;
|
|
6326
|
+
end_date?: string;
|
|
6327
|
+
id?: string;
|
|
6328
|
+
reason?: string | null;
|
|
6329
|
+
start_date?: string;
|
|
6330
|
+
status?: string;
|
|
6331
|
+
tenant_id?: string;
|
|
6332
|
+
updated_at?: string;
|
|
6333
|
+
user_id?: string;
|
|
6334
|
+
};
|
|
6335
|
+
Relationships: [{
|
|
6336
|
+
foreignKeyName: "leave_requests_user_id_fkey";
|
|
6337
|
+
columns: ["user_id"];
|
|
6338
|
+
isOneToOne: false;
|
|
6339
|
+
referencedRelation: "monteurs";
|
|
6340
|
+
referencedColumns: ["id"];
|
|
6341
|
+
}];
|
|
6342
|
+
};
|
|
6343
|
+
local_customer_agreements: {
|
|
6344
|
+
Row: {
|
|
6345
|
+
base_price: number | null;
|
|
6346
|
+
created_at: string;
|
|
6347
|
+
currency: string;
|
|
6348
|
+
customer_id: string;
|
|
6349
|
+
id: string;
|
|
6350
|
+
min_quantity: number;
|
|
6351
|
+
net_price: number;
|
|
6352
|
+
notes: string | null;
|
|
6353
|
+
product_category_id: string | null;
|
|
6354
|
+
product_id: string | null;
|
|
6355
|
+
updated_at: string;
|
|
6356
|
+
valid_from: string | null;
|
|
6357
|
+
valid_until: string | null;
|
|
6358
|
+
};
|
|
6359
|
+
Insert: {
|
|
6360
|
+
base_price?: number | null;
|
|
6361
|
+
created_at?: string;
|
|
6362
|
+
currency?: string;
|
|
6363
|
+
customer_id: string;
|
|
6364
|
+
id?: string;
|
|
6365
|
+
min_quantity?: number;
|
|
6366
|
+
net_price: number;
|
|
6367
|
+
notes?: string | null;
|
|
6368
|
+
product_category_id?: string | null;
|
|
6369
|
+
product_id?: string | null;
|
|
6370
|
+
updated_at?: string;
|
|
6371
|
+
valid_from?: string | null;
|
|
6372
|
+
valid_until?: string | null;
|
|
6373
|
+
};
|
|
6374
|
+
Update: {
|
|
6375
|
+
base_price?: number | null;
|
|
6376
|
+
created_at?: string;
|
|
6377
|
+
currency?: string;
|
|
6378
|
+
customer_id?: string;
|
|
6379
|
+
id?: string;
|
|
6380
|
+
min_quantity?: number;
|
|
6381
|
+
net_price?: number;
|
|
6382
|
+
notes?: string | null;
|
|
6383
|
+
product_category_id?: string | null;
|
|
6384
|
+
product_id?: string | null;
|
|
6385
|
+
updated_at?: string;
|
|
6386
|
+
valid_from?: string | null;
|
|
6387
|
+
valid_until?: string | null;
|
|
6388
|
+
};
|
|
6389
|
+
Relationships: [{
|
|
6390
|
+
foreignKeyName: "local_customer_agreements_customer_id_fkey";
|
|
6391
|
+
columns: ["customer_id"];
|
|
6392
|
+
isOneToOne: false;
|
|
6393
|
+
referencedRelation: "customers";
|
|
6394
|
+
referencedColumns: ["id"];
|
|
6395
|
+
}, {
|
|
6396
|
+
foreignKeyName: "local_customer_agreements_product_category_id_fkey";
|
|
6397
|
+
columns: ["product_category_id"];
|
|
6398
|
+
isOneToOne: false;
|
|
6399
|
+
referencedRelation: "product_categories";
|
|
6400
|
+
referencedColumns: ["id"];
|
|
6401
|
+
}, {
|
|
6402
|
+
foreignKeyName: "local_customer_agreements_product_id_fkey";
|
|
6403
|
+
columns: ["product_id"];
|
|
6404
|
+
isOneToOne: false;
|
|
6405
|
+
referencedRelation: "products";
|
|
6406
|
+
referencedColumns: ["id"];
|
|
6407
|
+
}];
|
|
6408
|
+
};
|
|
6409
|
+
local_customer_price_groups: {
|
|
6410
|
+
Row: {
|
|
6411
|
+
created_at: string;
|
|
6412
|
+
currency: string;
|
|
6413
|
+
customer_id: string;
|
|
6414
|
+
discount_type: string;
|
|
6415
|
+
discount_value: number;
|
|
6416
|
+
id: string;
|
|
6417
|
+
min_quantity: number;
|
|
6418
|
+
notes: string | null;
|
|
6419
|
+
product_category_id: string | null;
|
|
6420
|
+
product_id: string | null;
|
|
6421
|
+
updated_at: string;
|
|
6422
|
+
valid_from: string | null;
|
|
6423
|
+
valid_until: string | null;
|
|
6424
|
+
};
|
|
6425
|
+
Insert: {
|
|
6426
|
+
created_at?: string;
|
|
6427
|
+
currency?: string;
|
|
6428
|
+
customer_id: string;
|
|
6429
|
+
discount_type: string;
|
|
6430
|
+
discount_value: number;
|
|
6431
|
+
id?: string;
|
|
6432
|
+
min_quantity?: number;
|
|
6433
|
+
notes?: string | null;
|
|
6434
|
+
product_category_id?: string | null;
|
|
6435
|
+
product_id?: string | null;
|
|
6436
|
+
updated_at?: string;
|
|
6437
|
+
valid_from?: string | null;
|
|
6438
|
+
valid_until?: string | null;
|
|
6439
|
+
};
|
|
6440
|
+
Update: {
|
|
6441
|
+
created_at?: string;
|
|
6442
|
+
currency?: string;
|
|
6443
|
+
customer_id?: string;
|
|
6444
|
+
discount_type?: string;
|
|
6445
|
+
discount_value?: number;
|
|
6446
|
+
id?: string;
|
|
6447
|
+
min_quantity?: number;
|
|
6448
|
+
notes?: string | null;
|
|
6449
|
+
product_category_id?: string | null;
|
|
6450
|
+
product_id?: string | null;
|
|
6451
|
+
updated_at?: string;
|
|
6452
|
+
valid_from?: string | null;
|
|
6453
|
+
valid_until?: string | null;
|
|
6454
|
+
};
|
|
6455
|
+
Relationships: [{
|
|
6456
|
+
foreignKeyName: "local_customer_price_groups_customer_id_fkey";
|
|
6457
|
+
columns: ["customer_id"];
|
|
6458
|
+
isOneToOne: false;
|
|
6459
|
+
referencedRelation: "customers";
|
|
6460
|
+
referencedColumns: ["id"];
|
|
6461
|
+
}, {
|
|
6462
|
+
foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
|
|
6463
|
+
columns: ["product_category_id"];
|
|
6464
|
+
isOneToOne: false;
|
|
6465
|
+
referencedRelation: "product_categories";
|
|
6466
|
+
referencedColumns: ["id"];
|
|
6467
|
+
}, {
|
|
6468
|
+
foreignKeyName: "local_customer_price_groups_product_id_fkey";
|
|
6469
|
+
columns: ["product_id"];
|
|
6470
|
+
isOneToOne: false;
|
|
6471
|
+
referencedRelation: "products";
|
|
5851
6472
|
referencedColumns: ["id"];
|
|
5852
6473
|
}];
|
|
5853
6474
|
};
|
|
@@ -6615,60 +7236,66 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
6615
7236
|
};
|
|
6616
7237
|
manufacture_products: {
|
|
6617
7238
|
Row: {
|
|
6618
|
-
aantal_te_produceren: number;
|
|
6619
7239
|
created_at: string;
|
|
6620
7240
|
description: string | null;
|
|
6621
7241
|
id: string;
|
|
6622
7242
|
is_active: boolean;
|
|
6623
|
-
location_id: string | null;
|
|
6624
7243
|
name: string;
|
|
6625
|
-
partij_nummer: string | null;
|
|
6626
|
-
photos: import("../integrations/supabase/types").Json;
|
|
6627
7244
|
produced_stock: number;
|
|
6628
7245
|
product_code: string;
|
|
6629
7246
|
tenant_id: string;
|
|
6630
|
-
unit: string;
|
|
6631
7247
|
updated_at: string;
|
|
6632
7248
|
};
|
|
6633
7249
|
Insert: {
|
|
6634
|
-
aantal_te_produceren?: number;
|
|
6635
7250
|
created_at?: string;
|
|
6636
7251
|
description?: string | null;
|
|
6637
7252
|
id?: string;
|
|
6638
7253
|
is_active?: boolean;
|
|
6639
|
-
location_id?: string | null;
|
|
6640
7254
|
name: string;
|
|
6641
|
-
partij_nummer?: string | null;
|
|
6642
|
-
photos?: import("../integrations/supabase/types").Json;
|
|
6643
7255
|
produced_stock?: number;
|
|
6644
7256
|
product_code: string;
|
|
6645
7257
|
tenant_id: string;
|
|
6646
|
-
unit?: string;
|
|
6647
7258
|
updated_at?: string;
|
|
6648
7259
|
};
|
|
6649
7260
|
Update: {
|
|
6650
|
-
aantal_te_produceren?: number;
|
|
6651
7261
|
created_at?: string;
|
|
6652
7262
|
description?: string | null;
|
|
6653
7263
|
id?: string;
|
|
6654
7264
|
is_active?: boolean;
|
|
6655
|
-
location_id?: string | null;
|
|
6656
7265
|
name?: string;
|
|
6657
|
-
partij_nummer?: string | null;
|
|
6658
|
-
photos?: import("../integrations/supabase/types").Json;
|
|
6659
7266
|
produced_stock?: number;
|
|
6660
7267
|
product_code?: string;
|
|
6661
7268
|
tenant_id?: string;
|
|
6662
|
-
unit?: string;
|
|
6663
7269
|
updated_at?: string;
|
|
6664
7270
|
};
|
|
6665
|
-
Relationships: [
|
|
6666
|
-
|
|
6667
|
-
|
|
6668
|
-
|
|
6669
|
-
|
|
6670
|
-
|
|
6671
|
-
|
|
7271
|
+
Relationships: [];
|
|
7272
|
+
};
|
|
7273
|
+
module_permissions: {
|
|
7274
|
+
Row: {
|
|
7275
|
+
created_at: string;
|
|
7276
|
+
id: string;
|
|
7277
|
+
module_id: string;
|
|
7278
|
+
permission: string;
|
|
7279
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7280
|
+
updated_at: string;
|
|
7281
|
+
};
|
|
7282
|
+
Insert: {
|
|
7283
|
+
created_at?: string;
|
|
7284
|
+
id?: string;
|
|
7285
|
+
module_id: string;
|
|
7286
|
+
permission: string;
|
|
7287
|
+
role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7288
|
+
updated_at?: string;
|
|
7289
|
+
};
|
|
7290
|
+
Update: {
|
|
7291
|
+
created_at?: string;
|
|
7292
|
+
id?: string;
|
|
7293
|
+
module_id?: string;
|
|
7294
|
+
permission?: string;
|
|
7295
|
+
role?: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7296
|
+
updated_at?: string;
|
|
7297
|
+
};
|
|
7298
|
+
Relationships: [];
|
|
6672
7299
|
};
|
|
6673
7300
|
monteurs: {
|
|
6674
7301
|
Row: {
|
|
@@ -7987,6 +8614,78 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
7987
8614
|
};
|
|
7988
8615
|
Relationships: [];
|
|
7989
8616
|
};
|
|
8617
|
+
planning_item_assistants: {
|
|
8618
|
+
Row: {
|
|
8619
|
+
created_at: string;
|
|
8620
|
+
created_by: string | null;
|
|
8621
|
+
monteur_id: string;
|
|
8622
|
+
planning_item_id: string;
|
|
8623
|
+
};
|
|
8624
|
+
Insert: {
|
|
8625
|
+
created_at?: string;
|
|
8626
|
+
created_by?: string | null;
|
|
8627
|
+
monteur_id: string;
|
|
8628
|
+
planning_item_id: string;
|
|
8629
|
+
};
|
|
8630
|
+
Update: {
|
|
8631
|
+
created_at?: string;
|
|
8632
|
+
created_by?: string | null;
|
|
8633
|
+
monteur_id?: string;
|
|
8634
|
+
planning_item_id?: string;
|
|
8635
|
+
};
|
|
8636
|
+
Relationships: [{
|
|
8637
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
8638
|
+
columns: ["planning_item_id"];
|
|
8639
|
+
isOneToOne: false;
|
|
8640
|
+
referencedRelation: "planning_items";
|
|
8641
|
+
referencedColumns: ["id"];
|
|
8642
|
+
}];
|
|
8643
|
+
};
|
|
8644
|
+
planning_items: {
|
|
8645
|
+
Row: {
|
|
8646
|
+
assigned_monteur_id: string;
|
|
8647
|
+
created_at: string;
|
|
8648
|
+
created_by: string | null;
|
|
8649
|
+
end_at: string;
|
|
8650
|
+
id: string;
|
|
8651
|
+
notes: string | null;
|
|
8652
|
+
start_at: string;
|
|
8653
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8654
|
+
updated_at: string;
|
|
8655
|
+
werkbon_id: string;
|
|
8656
|
+
};
|
|
8657
|
+
Insert: {
|
|
8658
|
+
assigned_monteur_id: string;
|
|
8659
|
+
created_at?: string;
|
|
8660
|
+
created_by?: string | null;
|
|
8661
|
+
end_at: string;
|
|
8662
|
+
id?: string;
|
|
8663
|
+
notes?: string | null;
|
|
8664
|
+
start_at: string;
|
|
8665
|
+
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8666
|
+
updated_at?: string;
|
|
8667
|
+
werkbon_id: string;
|
|
8668
|
+
};
|
|
8669
|
+
Update: {
|
|
8670
|
+
assigned_monteur_id?: string;
|
|
8671
|
+
created_at?: string;
|
|
8672
|
+
created_by?: string | null;
|
|
8673
|
+
end_at?: string;
|
|
8674
|
+
id?: string;
|
|
8675
|
+
notes?: string | null;
|
|
8676
|
+
start_at?: string;
|
|
8677
|
+
status?: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8678
|
+
updated_at?: string;
|
|
8679
|
+
werkbon_id?: string;
|
|
8680
|
+
};
|
|
8681
|
+
Relationships: [{
|
|
8682
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
8683
|
+
columns: ["werkbon_id"];
|
|
8684
|
+
isOneToOne: false;
|
|
8685
|
+
referencedRelation: "werkbonnen";
|
|
8686
|
+
referencedColumns: ["id"];
|
|
8687
|
+
}];
|
|
8688
|
+
};
|
|
7990
8689
|
product_bom_items: {
|
|
7991
8690
|
Row: {
|
|
7992
8691
|
component_product_id: string | null;
|
|
@@ -8328,8 +9027,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8328
9027
|
crates_per_layer: number;
|
|
8329
9028
|
created_at: string;
|
|
8330
9029
|
custom_fields: import("../integrations/supabase/types").Json;
|
|
8331
|
-
floriday_active: boolean;
|
|
8332
|
-
floriday_payload: import("../integrations/supabase/types").Json;
|
|
8333
9030
|
floriday_trade_item_id: string | null;
|
|
8334
9031
|
id: string;
|
|
8335
9032
|
image_url: string | null;
|
|
@@ -8347,8 +9044,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8347
9044
|
trade_item_key: string | null;
|
|
8348
9045
|
unit: string;
|
|
8349
9046
|
updated_at: string;
|
|
8350
|
-
vat_code: string | null;
|
|
8351
|
-
vat_rate: number | null;
|
|
8352
9047
|
weight: string | null;
|
|
8353
9048
|
};
|
|
8354
9049
|
Insert: {
|
|
@@ -8358,8 +9053,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8358
9053
|
crates_per_layer?: number;
|
|
8359
9054
|
created_at?: string;
|
|
8360
9055
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8361
|
-
floriday_active?: boolean;
|
|
8362
|
-
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8363
9056
|
floriday_trade_item_id?: string | null;
|
|
8364
9057
|
id?: string;
|
|
8365
9058
|
image_url?: string | null;
|
|
@@ -8377,8 +9070,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8377
9070
|
trade_item_key?: string | null;
|
|
8378
9071
|
unit?: string;
|
|
8379
9072
|
updated_at?: string;
|
|
8380
|
-
vat_code?: string | null;
|
|
8381
|
-
vat_rate?: number | null;
|
|
8382
9073
|
weight?: string | null;
|
|
8383
9074
|
};
|
|
8384
9075
|
Update: {
|
|
@@ -8388,8 +9079,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8388
9079
|
crates_per_layer?: number;
|
|
8389
9080
|
created_at?: string;
|
|
8390
9081
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
8391
|
-
floriday_active?: boolean;
|
|
8392
|
-
floriday_payload?: import("../integrations/supabase/types").Json;
|
|
8393
9082
|
floriday_trade_item_id?: string | null;
|
|
8394
9083
|
id?: string;
|
|
8395
9084
|
image_url?: string | null;
|
|
@@ -8407,8 +9096,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8407
9096
|
trade_item_key?: string | null;
|
|
8408
9097
|
unit?: string;
|
|
8409
9098
|
updated_at?: string;
|
|
8410
|
-
vat_code?: string | null;
|
|
8411
|
-
vat_rate?: number | null;
|
|
8412
9099
|
weight?: string | null;
|
|
8413
9100
|
};
|
|
8414
9101
|
Relationships: [];
|
|
@@ -8416,6 +9103,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8416
9103
|
profiles: {
|
|
8417
9104
|
Row: {
|
|
8418
9105
|
address: string | null;
|
|
9106
|
+
avatar_url: string | null;
|
|
8419
9107
|
created_at: string;
|
|
8420
9108
|
display_name: string | null;
|
|
8421
9109
|
email: string | null;
|
|
@@ -8427,6 +9115,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8427
9115
|
};
|
|
8428
9116
|
Insert: {
|
|
8429
9117
|
address?: string | null;
|
|
9118
|
+
avatar_url?: string | null;
|
|
8430
9119
|
created_at?: string;
|
|
8431
9120
|
display_name?: string | null;
|
|
8432
9121
|
email?: string | null;
|
|
@@ -8438,6 +9127,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
8438
9127
|
};
|
|
8439
9128
|
Update: {
|
|
8440
9129
|
address?: string | null;
|
|
9130
|
+
avatar_url?: string | null;
|
|
8441
9131
|
created_at?: string;
|
|
8442
9132
|
display_name?: string | null;
|
|
8443
9133
|
email?: string | null;
|
|
@@ -9302,7 +9992,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9302
9992
|
order_id: string | null;
|
|
9303
9993
|
order_item_id: string | null;
|
|
9304
9994
|
order_source: string | null;
|
|
9305
|
-
parent_trade_item_key: string | null;
|
|
9306
9995
|
physical_after: number | null;
|
|
9307
9996
|
physical_before: number | null;
|
|
9308
9997
|
production_batch_id: string | null;
|
|
@@ -9321,7 +10010,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9321
10010
|
order_id?: string | null;
|
|
9322
10011
|
order_item_id?: string | null;
|
|
9323
10012
|
order_source?: string | null;
|
|
9324
|
-
parent_trade_item_key?: string | null;
|
|
9325
10013
|
physical_after?: number | null;
|
|
9326
10014
|
physical_before?: number | null;
|
|
9327
10015
|
production_batch_id?: string | null;
|
|
@@ -9340,7 +10028,6 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9340
10028
|
order_id?: string | null;
|
|
9341
10029
|
order_item_id?: string | null;
|
|
9342
10030
|
order_source?: string | null;
|
|
9343
|
-
parent_trade_item_key?: string | null;
|
|
9344
10031
|
physical_after?: number | null;
|
|
9345
10032
|
physical_before?: number | null;
|
|
9346
10033
|
production_batch_id?: string | null;
|
|
@@ -9430,18 +10117,39 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9430
10117
|
updated_at?: string;
|
|
9431
10118
|
};
|
|
9432
10119
|
Update: {
|
|
9433
|
-
address?: string | null;
|
|
9434
|
-
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
9435
|
-
contact_person?: string | null;
|
|
10120
|
+
address?: string | null;
|
|
10121
|
+
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
10122
|
+
contact_person?: string | null;
|
|
10123
|
+
created_at?: string;
|
|
10124
|
+
default_product_type?: string;
|
|
10125
|
+
email?: string | null;
|
|
10126
|
+
id?: string;
|
|
10127
|
+
imported_file_name?: string | null;
|
|
10128
|
+
name?: string;
|
|
10129
|
+
notes?: string | null;
|
|
10130
|
+
phone?: string | null;
|
|
10131
|
+
updated_at?: string;
|
|
10132
|
+
};
|
|
10133
|
+
Relationships: [];
|
|
10134
|
+
};
|
|
10135
|
+
technician_rates: {
|
|
10136
|
+
Row: {
|
|
10137
|
+
created_at: string;
|
|
10138
|
+
hourly_rate_cents: number;
|
|
10139
|
+
updated_at: string;
|
|
10140
|
+
user_id: string;
|
|
10141
|
+
};
|
|
10142
|
+
Insert: {
|
|
10143
|
+
created_at?: string;
|
|
10144
|
+
hourly_rate_cents?: number;
|
|
10145
|
+
updated_at?: string;
|
|
10146
|
+
user_id: string;
|
|
10147
|
+
};
|
|
10148
|
+
Update: {
|
|
9436
10149
|
created_at?: string;
|
|
9437
|
-
|
|
9438
|
-
email?: string | null;
|
|
9439
|
-
id?: string;
|
|
9440
|
-
imported_file_name?: string | null;
|
|
9441
|
-
name?: string;
|
|
9442
|
-
notes?: string | null;
|
|
9443
|
-
phone?: string | null;
|
|
10150
|
+
hourly_rate_cents?: number;
|
|
9444
10151
|
updated_at?: string;
|
|
10152
|
+
user_id?: string;
|
|
9445
10153
|
};
|
|
9446
10154
|
Relationships: [];
|
|
9447
10155
|
};
|
|
@@ -9844,7 +10552,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9844
10552
|
twinfield_connections: {
|
|
9845
10553
|
Row: {
|
|
9846
10554
|
access_token: string | null;
|
|
9847
|
-
client_id: string
|
|
10555
|
+
client_id: string;
|
|
9848
10556
|
client_secret: string | null;
|
|
9849
10557
|
cluster_uri: string | null;
|
|
9850
10558
|
company_code: string | null;
|
|
@@ -9856,7 +10564,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9856
10564
|
is_active: boolean;
|
|
9857
10565
|
label: string | null;
|
|
9858
10566
|
office_code: string | null;
|
|
9859
|
-
redirect_uri: string
|
|
10567
|
+
redirect_uri: string;
|
|
9860
10568
|
refresh_token: string | null;
|
|
9861
10569
|
token_expires_at: string | null;
|
|
9862
10570
|
updated_at: string;
|
|
@@ -9864,7 +10572,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9864
10572
|
};
|
|
9865
10573
|
Insert: {
|
|
9866
10574
|
access_token?: string | null;
|
|
9867
|
-
client_id
|
|
10575
|
+
client_id: string;
|
|
9868
10576
|
client_secret?: string | null;
|
|
9869
10577
|
cluster_uri?: string | null;
|
|
9870
10578
|
company_code?: string | null;
|
|
@@ -9876,7 +10584,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9876
10584
|
is_active?: boolean;
|
|
9877
10585
|
label?: string | null;
|
|
9878
10586
|
office_code?: string | null;
|
|
9879
|
-
redirect_uri
|
|
10587
|
+
redirect_uri: string;
|
|
9880
10588
|
refresh_token?: string | null;
|
|
9881
10589
|
token_expires_at?: string | null;
|
|
9882
10590
|
updated_at?: string;
|
|
@@ -9884,7 +10592,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9884
10592
|
};
|
|
9885
10593
|
Update: {
|
|
9886
10594
|
access_token?: string | null;
|
|
9887
|
-
client_id?: string
|
|
10595
|
+
client_id?: string;
|
|
9888
10596
|
client_secret?: string | null;
|
|
9889
10597
|
cluster_uri?: string | null;
|
|
9890
10598
|
company_code?: string | null;
|
|
@@ -9896,7 +10604,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9896
10604
|
is_active?: boolean;
|
|
9897
10605
|
label?: string | null;
|
|
9898
10606
|
office_code?: string | null;
|
|
9899
|
-
redirect_uri?: string
|
|
10607
|
+
redirect_uri?: string;
|
|
9900
10608
|
refresh_token?: string | null;
|
|
9901
10609
|
token_expires_at?: string | null;
|
|
9902
10610
|
updated_at?: string;
|
|
@@ -9956,6 +10664,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9956
10664
|
country: string | null;
|
|
9957
10665
|
created_at: string;
|
|
9958
10666
|
email: string | null;
|
|
10667
|
+
external_group_key: string | null;
|
|
9959
10668
|
id: string;
|
|
9960
10669
|
last_synced_at: string | null;
|
|
9961
10670
|
name: string;
|
|
@@ -9974,6 +10683,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9974
10683
|
country?: string | null;
|
|
9975
10684
|
created_at?: string;
|
|
9976
10685
|
email?: string | null;
|
|
10686
|
+
external_group_key?: string | null;
|
|
9977
10687
|
id?: string;
|
|
9978
10688
|
last_synced_at?: string | null;
|
|
9979
10689
|
name: string;
|
|
@@ -9992,6 +10702,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
9992
10702
|
country?: string | null;
|
|
9993
10703
|
created_at?: string;
|
|
9994
10704
|
email?: string | null;
|
|
10705
|
+
external_group_key?: string | null;
|
|
9995
10706
|
id?: string;
|
|
9996
10707
|
last_synced_at?: string | null;
|
|
9997
10708
|
name?: string;
|
|
@@ -10201,6 +10912,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10201
10912
|
twinfield_invoice_settings: {
|
|
10202
10913
|
Row: {
|
|
10203
10914
|
created_at: string;
|
|
10915
|
+
debtor_gl_account: string;
|
|
10916
|
+
default_credit_invoice_type: string | null;
|
|
10204
10917
|
default_gl_account: string;
|
|
10205
10918
|
default_invoice_type: string;
|
|
10206
10919
|
default_payment_term_days: number;
|
|
@@ -10209,11 +10922,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10209
10922
|
invoice_enabled_fo: boolean;
|
|
10210
10923
|
invoice_enabled_ho: boolean;
|
|
10211
10924
|
invoice_enabled_mo: boolean;
|
|
10925
|
+
payment_gl_account: string;
|
|
10926
|
+
payment_journal_code: string;
|
|
10212
10927
|
updated_at: string;
|
|
10213
10928
|
user_id: string;
|
|
10214
10929
|
};
|
|
10215
10930
|
Insert: {
|
|
10216
10931
|
created_at?: string;
|
|
10932
|
+
debtor_gl_account?: string;
|
|
10933
|
+
default_credit_invoice_type?: string | null;
|
|
10217
10934
|
default_gl_account?: string;
|
|
10218
10935
|
default_invoice_type?: string;
|
|
10219
10936
|
default_payment_term_days?: number;
|
|
@@ -10222,11 +10939,15 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10222
10939
|
invoice_enabled_fo?: boolean;
|
|
10223
10940
|
invoice_enabled_ho?: boolean;
|
|
10224
10941
|
invoice_enabled_mo?: boolean;
|
|
10942
|
+
payment_gl_account?: string;
|
|
10943
|
+
payment_journal_code?: string;
|
|
10225
10944
|
updated_at?: string;
|
|
10226
10945
|
user_id: string;
|
|
10227
10946
|
};
|
|
10228
10947
|
Update: {
|
|
10229
10948
|
created_at?: string;
|
|
10949
|
+
debtor_gl_account?: string;
|
|
10950
|
+
default_credit_invoice_type?: string | null;
|
|
10230
10951
|
default_gl_account?: string;
|
|
10231
10952
|
default_invoice_type?: string;
|
|
10232
10953
|
default_payment_term_days?: number;
|
|
@@ -10235,6 +10956,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10235
10956
|
invoice_enabled_fo?: boolean;
|
|
10236
10957
|
invoice_enabled_ho?: boolean;
|
|
10237
10958
|
invoice_enabled_mo?: boolean;
|
|
10959
|
+
payment_gl_account?: string;
|
|
10960
|
+
payment_journal_code?: string;
|
|
10238
10961
|
updated_at?: string;
|
|
10239
10962
|
user_id?: string;
|
|
10240
10963
|
};
|
|
@@ -10455,43 +11178,49 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10455
11178
|
};
|
|
10456
11179
|
twinfield_push_queue: {
|
|
10457
11180
|
Row: {
|
|
11181
|
+
action: string;
|
|
10458
11182
|
attempts: number;
|
|
10459
11183
|
connection_id: string;
|
|
10460
11184
|
created_at: string;
|
|
11185
|
+
customer_id: string | null;
|
|
10461
11186
|
external_id: string | null;
|
|
10462
11187
|
id: string;
|
|
10463
11188
|
idempotency_key: string;
|
|
10464
11189
|
last_error: string | null;
|
|
10465
11190
|
next_attempt_at: string;
|
|
10466
|
-
office_code: string;
|
|
11191
|
+
office_code: string | null;
|
|
10467
11192
|
payload: import("../integrations/supabase/types").Json;
|
|
10468
11193
|
status: string;
|
|
10469
11194
|
updated_at: string;
|
|
10470
11195
|
};
|
|
10471
11196
|
Insert: {
|
|
11197
|
+
action?: string;
|
|
10472
11198
|
attempts?: number;
|
|
10473
11199
|
connection_id: string;
|
|
10474
11200
|
created_at?: string;
|
|
11201
|
+
customer_id?: string | null;
|
|
10475
11202
|
external_id?: string | null;
|
|
10476
11203
|
id?: string;
|
|
10477
11204
|
idempotency_key: string;
|
|
10478
11205
|
last_error?: string | null;
|
|
10479
11206
|
next_attempt_at?: string;
|
|
10480
|
-
office_code
|
|
11207
|
+
office_code?: string | null;
|
|
10481
11208
|
payload: import("../integrations/supabase/types").Json;
|
|
10482
11209
|
status?: string;
|
|
10483
11210
|
updated_at?: string;
|
|
10484
11211
|
};
|
|
10485
11212
|
Update: {
|
|
11213
|
+
action?: string;
|
|
10486
11214
|
attempts?: number;
|
|
10487
11215
|
connection_id?: string;
|
|
10488
11216
|
created_at?: string;
|
|
11217
|
+
customer_id?: string | null;
|
|
10489
11218
|
external_id?: string | null;
|
|
10490
11219
|
id?: string;
|
|
10491
11220
|
idempotency_key?: string;
|
|
10492
11221
|
last_error?: string | null;
|
|
10493
11222
|
next_attempt_at?: string;
|
|
10494
|
-
office_code?: string;
|
|
11223
|
+
office_code?: string | null;
|
|
10495
11224
|
payload?: import("../integrations/supabase/types").Json;
|
|
10496
11225
|
status?: string;
|
|
10497
11226
|
updated_at?: string;
|
|
@@ -10502,6 +11231,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10502
11231
|
isOneToOne: false;
|
|
10503
11232
|
referencedRelation: "twinfield_connections";
|
|
10504
11233
|
referencedColumns: ["id"];
|
|
11234
|
+
}, {
|
|
11235
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
11236
|
+
columns: ["customer_id"];
|
|
11237
|
+
isOneToOne: false;
|
|
11238
|
+
referencedRelation: "customers";
|
|
11239
|
+
referencedColumns: ["id"];
|
|
10505
11240
|
}];
|
|
10506
11241
|
};
|
|
10507
11242
|
twinfield_request_metrics: {
|
|
@@ -10689,93 +11424,441 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10689
11424
|
size_bytes: number | null;
|
|
10690
11425
|
};
|
|
10691
11426
|
Insert: {
|
|
10692
|
-
action?: string;
|
|
10693
|
-
attempt_number?: number;
|
|
10694
|
-
caller?: string;
|
|
10695
|
-
client_user_id?: string | null;
|
|
10696
|
-
content_type?: string | null;
|
|
11427
|
+
action?: string;
|
|
11428
|
+
attempt_number?: number;
|
|
11429
|
+
caller?: string;
|
|
11430
|
+
client_user_id?: string | null;
|
|
11431
|
+
content_type?: string | null;
|
|
11432
|
+
created_at?: string;
|
|
11433
|
+
environment: string;
|
|
11434
|
+
error_message?: string | null;
|
|
11435
|
+
filename?: string | null;
|
|
11436
|
+
id?: string;
|
|
11437
|
+
idempotency_key?: string | null;
|
|
11438
|
+
module?: string;
|
|
11439
|
+
path: string;
|
|
11440
|
+
reference_id?: string | null;
|
|
11441
|
+
request_body_hash?: string | null;
|
|
11442
|
+
request_timestamp?: number | null;
|
|
11443
|
+
response_content_type?: string | null;
|
|
11444
|
+
response_status?: number | null;
|
|
11445
|
+
size_bytes?: number | null;
|
|
11446
|
+
};
|
|
11447
|
+
Update: {
|
|
11448
|
+
action?: string;
|
|
11449
|
+
attempt_number?: number;
|
|
11450
|
+
caller?: string;
|
|
11451
|
+
client_user_id?: string | null;
|
|
11452
|
+
content_type?: string | null;
|
|
11453
|
+
created_at?: string;
|
|
11454
|
+
environment?: string;
|
|
11455
|
+
error_message?: string | null;
|
|
11456
|
+
filename?: string | null;
|
|
11457
|
+
id?: string;
|
|
11458
|
+
idempotency_key?: string | null;
|
|
11459
|
+
module?: string;
|
|
11460
|
+
path?: string;
|
|
11461
|
+
reference_id?: string | null;
|
|
11462
|
+
request_body_hash?: string | null;
|
|
11463
|
+
request_timestamp?: number | null;
|
|
11464
|
+
response_content_type?: string | null;
|
|
11465
|
+
response_status?: number | null;
|
|
11466
|
+
size_bytes?: number | null;
|
|
11467
|
+
};
|
|
11468
|
+
Relationships: [];
|
|
11469
|
+
};
|
|
11470
|
+
voorraad_publish_attempts: {
|
|
11471
|
+
Row: {
|
|
11472
|
+
action: string;
|
|
11473
|
+
connection_id: string | null;
|
|
11474
|
+
created_at: string;
|
|
11475
|
+
error: string | null;
|
|
11476
|
+
gateway_attempt_id: string | null;
|
|
11477
|
+
gateway_status: number | null;
|
|
11478
|
+
id: string;
|
|
11479
|
+
intent: string;
|
|
11480
|
+
ok: boolean;
|
|
11481
|
+
request_summary: import("../integrations/supabase/types").Json | null;
|
|
11482
|
+
trade_item_id: string | null;
|
|
11483
|
+
user_id: string;
|
|
11484
|
+
};
|
|
11485
|
+
Insert: {
|
|
11486
|
+
action: string;
|
|
11487
|
+
connection_id?: string | null;
|
|
11488
|
+
created_at?: string;
|
|
11489
|
+
error?: string | null;
|
|
11490
|
+
gateway_attempt_id?: string | null;
|
|
11491
|
+
gateway_status?: number | null;
|
|
11492
|
+
id?: string;
|
|
11493
|
+
intent: string;
|
|
11494
|
+
ok: boolean;
|
|
11495
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
11496
|
+
trade_item_id?: string | null;
|
|
11497
|
+
user_id: string;
|
|
11498
|
+
};
|
|
11499
|
+
Update: {
|
|
11500
|
+
action?: string;
|
|
11501
|
+
connection_id?: string | null;
|
|
11502
|
+
created_at?: string;
|
|
11503
|
+
error?: string | null;
|
|
11504
|
+
gateway_attempt_id?: string | null;
|
|
11505
|
+
gateway_status?: number | null;
|
|
11506
|
+
id?: string;
|
|
11507
|
+
intent?: string;
|
|
11508
|
+
ok?: boolean;
|
|
11509
|
+
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
11510
|
+
trade_item_id?: string | null;
|
|
11511
|
+
user_id?: string;
|
|
11512
|
+
};
|
|
11513
|
+
Relationships: [];
|
|
11514
|
+
};
|
|
11515
|
+
werkbon_package_ai_rules: {
|
|
11516
|
+
Row: {
|
|
11517
|
+
active: boolean;
|
|
11518
|
+
case_sensitive: boolean;
|
|
11519
|
+
created_at: string;
|
|
11520
|
+
id: string;
|
|
11521
|
+
package_id: string;
|
|
11522
|
+
priority: number;
|
|
11523
|
+
rule_type: string;
|
|
11524
|
+
updated_at: string;
|
|
11525
|
+
value: string;
|
|
11526
|
+
};
|
|
11527
|
+
Insert: {
|
|
11528
|
+
active?: boolean;
|
|
11529
|
+
case_sensitive?: boolean;
|
|
11530
|
+
created_at?: string;
|
|
11531
|
+
id?: string;
|
|
11532
|
+
package_id: string;
|
|
11533
|
+
priority?: number;
|
|
11534
|
+
rule_type: string;
|
|
11535
|
+
updated_at?: string;
|
|
11536
|
+
value: string;
|
|
11537
|
+
};
|
|
11538
|
+
Update: {
|
|
11539
|
+
active?: boolean;
|
|
11540
|
+
case_sensitive?: boolean;
|
|
11541
|
+
created_at?: string;
|
|
11542
|
+
id?: string;
|
|
11543
|
+
package_id?: string;
|
|
11544
|
+
priority?: number;
|
|
11545
|
+
rule_type?: string;
|
|
11546
|
+
updated_at?: string;
|
|
11547
|
+
value?: string;
|
|
11548
|
+
};
|
|
11549
|
+
Relationships: [{
|
|
11550
|
+
foreignKeyName: "werkbon_package_ai_rules_package_id_fkey";
|
|
11551
|
+
columns: ["package_id"];
|
|
11552
|
+
isOneToOne: false;
|
|
11553
|
+
referencedRelation: "werkbon_packages";
|
|
11554
|
+
referencedColumns: ["id"];
|
|
11555
|
+
}];
|
|
11556
|
+
};
|
|
11557
|
+
werkbon_package_categories: {
|
|
11558
|
+
Row: {
|
|
11559
|
+
active: boolean;
|
|
11560
|
+
created_at: string;
|
|
11561
|
+
id: string;
|
|
11562
|
+
kleur: string | null;
|
|
11563
|
+
naam: string;
|
|
11564
|
+
sort_order: number;
|
|
11565
|
+
updated_at: string;
|
|
11566
|
+
};
|
|
11567
|
+
Insert: {
|
|
11568
|
+
active?: boolean;
|
|
11569
|
+
created_at?: string;
|
|
11570
|
+
id?: string;
|
|
11571
|
+
kleur?: string | null;
|
|
11572
|
+
naam: string;
|
|
11573
|
+
sort_order?: number;
|
|
11574
|
+
updated_at?: string;
|
|
11575
|
+
};
|
|
11576
|
+
Update: {
|
|
11577
|
+
active?: boolean;
|
|
11578
|
+
created_at?: string;
|
|
11579
|
+
id?: string;
|
|
11580
|
+
kleur?: string | null;
|
|
11581
|
+
naam?: string;
|
|
11582
|
+
sort_order?: number;
|
|
11583
|
+
updated_at?: string;
|
|
11584
|
+
};
|
|
11585
|
+
Relationships: [];
|
|
11586
|
+
};
|
|
11587
|
+
werkbon_package_lines: {
|
|
11588
|
+
Row: {
|
|
11589
|
+
created_at: string;
|
|
11590
|
+
created_by: string | null;
|
|
11591
|
+
id: string;
|
|
11592
|
+
package_id: string;
|
|
11593
|
+
quantity: number;
|
|
11594
|
+
unit_price_cents_snapshot: number;
|
|
11595
|
+
werkbon_id: string;
|
|
11596
|
+
};
|
|
11597
|
+
Insert: {
|
|
11598
|
+
created_at?: string;
|
|
11599
|
+
created_by?: string | null;
|
|
11600
|
+
id?: string;
|
|
11601
|
+
package_id: string;
|
|
11602
|
+
quantity?: number;
|
|
11603
|
+
unit_price_cents_snapshot?: number;
|
|
11604
|
+
werkbon_id: string;
|
|
11605
|
+
};
|
|
11606
|
+
Update: {
|
|
11607
|
+
created_at?: string;
|
|
11608
|
+
created_by?: string | null;
|
|
11609
|
+
id?: string;
|
|
11610
|
+
package_id?: string;
|
|
11611
|
+
quantity?: number;
|
|
11612
|
+
unit_price_cents_snapshot?: number;
|
|
11613
|
+
werkbon_id?: string;
|
|
11614
|
+
};
|
|
11615
|
+
Relationships: [{
|
|
11616
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
11617
|
+
columns: ["package_id"];
|
|
11618
|
+
isOneToOne: false;
|
|
11619
|
+
referencedRelation: "werkbon_packages";
|
|
11620
|
+
referencedColumns: ["id"];
|
|
11621
|
+
}, {
|
|
11622
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
11623
|
+
columns: ["werkbon_id"];
|
|
11624
|
+
isOneToOne: false;
|
|
11625
|
+
referencedRelation: "werkbonnen";
|
|
11626
|
+
referencedColumns: ["id"];
|
|
11627
|
+
}];
|
|
11628
|
+
};
|
|
11629
|
+
werkbon_packages: {
|
|
11630
|
+
Row: {
|
|
11631
|
+
active: boolean;
|
|
11632
|
+
ai_tags: string[];
|
|
11633
|
+
category_id: string | null;
|
|
11634
|
+
code: string;
|
|
11635
|
+
created_at: string;
|
|
11636
|
+
default_quantity: number;
|
|
11637
|
+
description: string | null;
|
|
11638
|
+
duration_minutes: number | null;
|
|
11639
|
+
id: string;
|
|
11640
|
+
mandaat_type: string | null;
|
|
11641
|
+
name: string;
|
|
11642
|
+
sort_order: number;
|
|
11643
|
+
unit_price_cents: number;
|
|
11644
|
+
updated_at: string;
|
|
11645
|
+
};
|
|
11646
|
+
Insert: {
|
|
11647
|
+
active?: boolean;
|
|
11648
|
+
ai_tags?: string[];
|
|
11649
|
+
category_id?: string | null;
|
|
11650
|
+
code: string;
|
|
11651
|
+
created_at?: string;
|
|
11652
|
+
default_quantity?: number;
|
|
11653
|
+
description?: string | null;
|
|
11654
|
+
duration_minutes?: number | null;
|
|
11655
|
+
id?: string;
|
|
11656
|
+
mandaat_type?: string | null;
|
|
11657
|
+
name: string;
|
|
11658
|
+
sort_order?: number;
|
|
11659
|
+
unit_price_cents?: number;
|
|
11660
|
+
updated_at?: string;
|
|
11661
|
+
};
|
|
11662
|
+
Update: {
|
|
11663
|
+
active?: boolean;
|
|
11664
|
+
ai_tags?: string[];
|
|
11665
|
+
category_id?: string | null;
|
|
11666
|
+
code?: string;
|
|
11667
|
+
created_at?: string;
|
|
11668
|
+
default_quantity?: number;
|
|
11669
|
+
description?: string | null;
|
|
11670
|
+
duration_minutes?: number | null;
|
|
11671
|
+
id?: string;
|
|
11672
|
+
mandaat_type?: string | null;
|
|
11673
|
+
name?: string;
|
|
11674
|
+
sort_order?: number;
|
|
11675
|
+
unit_price_cents?: number;
|
|
11676
|
+
updated_at?: string;
|
|
11677
|
+
};
|
|
11678
|
+
Relationships: [{
|
|
11679
|
+
foreignKeyName: "werkbon_packages_category_id_fkey";
|
|
11680
|
+
columns: ["category_id"];
|
|
11681
|
+
isOneToOne: false;
|
|
11682
|
+
referencedRelation: "werkbon_package_categories";
|
|
11683
|
+
referencedColumns: ["id"];
|
|
11684
|
+
}];
|
|
11685
|
+
};
|
|
11686
|
+
werkbon_photos: {
|
|
11687
|
+
Row: {
|
|
11688
|
+
created_at: string;
|
|
11689
|
+
id: string;
|
|
11690
|
+
storage_path: string;
|
|
11691
|
+
user_id: string;
|
|
11692
|
+
werkbon_id: string;
|
|
11693
|
+
};
|
|
11694
|
+
Insert: {
|
|
10697
11695
|
created_at?: string;
|
|
10698
|
-
environment: string;
|
|
10699
|
-
error_message?: string | null;
|
|
10700
|
-
filename?: string | null;
|
|
10701
11696
|
id?: string;
|
|
10702
|
-
|
|
10703
|
-
|
|
10704
|
-
|
|
10705
|
-
reference_id?: string | null;
|
|
10706
|
-
request_body_hash?: string | null;
|
|
10707
|
-
request_timestamp?: number | null;
|
|
10708
|
-
response_content_type?: string | null;
|
|
10709
|
-
response_status?: number | null;
|
|
10710
|
-
size_bytes?: number | null;
|
|
11697
|
+
storage_path: string;
|
|
11698
|
+
user_id: string;
|
|
11699
|
+
werkbon_id: string;
|
|
10711
11700
|
};
|
|
10712
11701
|
Update: {
|
|
10713
|
-
action?: string;
|
|
10714
|
-
attempt_number?: number;
|
|
10715
|
-
caller?: string;
|
|
10716
|
-
client_user_id?: string | null;
|
|
10717
|
-
content_type?: string | null;
|
|
10718
11702
|
created_at?: string;
|
|
10719
|
-
environment?: string;
|
|
10720
|
-
error_message?: string | null;
|
|
10721
|
-
filename?: string | null;
|
|
10722
11703
|
id?: string;
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
reference_id?: string | null;
|
|
10727
|
-
request_body_hash?: string | null;
|
|
10728
|
-
request_timestamp?: number | null;
|
|
10729
|
-
response_content_type?: string | null;
|
|
10730
|
-
response_status?: number | null;
|
|
10731
|
-
size_bytes?: number | null;
|
|
11704
|
+
storage_path?: string;
|
|
11705
|
+
user_id?: string;
|
|
11706
|
+
werkbon_id?: string;
|
|
10732
11707
|
};
|
|
10733
|
-
Relationships: [
|
|
11708
|
+
Relationships: [{
|
|
11709
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
11710
|
+
columns: ["werkbon_id"];
|
|
11711
|
+
isOneToOne: false;
|
|
11712
|
+
referencedRelation: "werkbonnen";
|
|
11713
|
+
referencedColumns: ["id"];
|
|
11714
|
+
}];
|
|
10734
11715
|
};
|
|
10735
|
-
|
|
11716
|
+
werkbon_time_logs: {
|
|
10736
11717
|
Row: {
|
|
10737
|
-
|
|
10738
|
-
connection_id: string | null;
|
|
11718
|
+
activity: string;
|
|
10739
11719
|
created_at: string;
|
|
10740
|
-
|
|
10741
|
-
gateway_attempt_id: string | null;
|
|
10742
|
-
gateway_status: number | null;
|
|
11720
|
+
ended_at: string | null;
|
|
10743
11721
|
id: string;
|
|
10744
|
-
|
|
10745
|
-
ok: boolean;
|
|
10746
|
-
request_summary: import("../integrations/supabase/types").Json | null;
|
|
10747
|
-
trade_item_id: string | null;
|
|
11722
|
+
started_at: string;
|
|
10748
11723
|
user_id: string;
|
|
11724
|
+
werkbon_id: string;
|
|
10749
11725
|
};
|
|
10750
11726
|
Insert: {
|
|
10751
|
-
|
|
10752
|
-
connection_id?: string | null;
|
|
11727
|
+
activity: string;
|
|
10753
11728
|
created_at?: string;
|
|
10754
|
-
|
|
10755
|
-
gateway_attempt_id?: string | null;
|
|
10756
|
-
gateway_status?: number | null;
|
|
11729
|
+
ended_at?: string | null;
|
|
10757
11730
|
id?: string;
|
|
10758
|
-
|
|
10759
|
-
ok: boolean;
|
|
10760
|
-
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
10761
|
-
trade_item_id?: string | null;
|
|
11731
|
+
started_at?: string;
|
|
10762
11732
|
user_id: string;
|
|
11733
|
+
werkbon_id: string;
|
|
10763
11734
|
};
|
|
10764
11735
|
Update: {
|
|
10765
|
-
|
|
10766
|
-
connection_id?: string | null;
|
|
11736
|
+
activity?: string;
|
|
10767
11737
|
created_at?: string;
|
|
10768
|
-
|
|
10769
|
-
gateway_attempt_id?: string | null;
|
|
10770
|
-
gateway_status?: number | null;
|
|
11738
|
+
ended_at?: string | null;
|
|
10771
11739
|
id?: string;
|
|
10772
|
-
|
|
10773
|
-
ok?: boolean;
|
|
10774
|
-
request_summary?: import("../integrations/supabase/types").Json | null;
|
|
10775
|
-
trade_item_id?: string | null;
|
|
11740
|
+
started_at?: string;
|
|
10776
11741
|
user_id?: string;
|
|
11742
|
+
werkbon_id?: string;
|
|
10777
11743
|
};
|
|
10778
|
-
Relationships: [
|
|
11744
|
+
Relationships: [{
|
|
11745
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
11746
|
+
columns: ["werkbon_id"];
|
|
11747
|
+
isOneToOne: false;
|
|
11748
|
+
referencedRelation: "werkbonnen";
|
|
11749
|
+
referencedColumns: ["id"];
|
|
11750
|
+
}];
|
|
11751
|
+
};
|
|
11752
|
+
werkbonnen: {
|
|
11753
|
+
Row: {
|
|
11754
|
+
assigned_user_id: string | null;
|
|
11755
|
+
budget_mandate_cents: number;
|
|
11756
|
+
complaint_description: string | null;
|
|
11757
|
+
created_at: string;
|
|
11758
|
+
created_by: string | null;
|
|
11759
|
+
customer_id: string | null;
|
|
11760
|
+
externe_referentie: string | null;
|
|
11761
|
+
first_time_fix: boolean | null;
|
|
11762
|
+
id: string;
|
|
11763
|
+
internal_notes: string | null;
|
|
11764
|
+
parent_werkbon_id: string | null;
|
|
11765
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
11766
|
+
planning_status: string;
|
|
11767
|
+
project_number: string | null;
|
|
11768
|
+
room_number: string | null;
|
|
11769
|
+
scheduled_end_time: string | null;
|
|
11770
|
+
scheduled_start_time: string | null;
|
|
11771
|
+
sequence_number: number;
|
|
11772
|
+
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
11773
|
+
source_mailbox_message_id: string | null;
|
|
11774
|
+
source_pdf_path: string | null;
|
|
11775
|
+
source_type: string;
|
|
11776
|
+
status: string;
|
|
11777
|
+
technician_id: string | null;
|
|
11778
|
+
technician_notes: string | null;
|
|
11779
|
+
technician_notes_raw: string | null;
|
|
11780
|
+
technician_task_description: string | null;
|
|
11781
|
+
updated_at: string;
|
|
11782
|
+
version: number;
|
|
11783
|
+
work_address: string | null;
|
|
11784
|
+
};
|
|
11785
|
+
Insert: {
|
|
11786
|
+
assigned_user_id?: string | null;
|
|
11787
|
+
budget_mandate_cents?: number;
|
|
11788
|
+
complaint_description?: string | null;
|
|
11789
|
+
created_at?: string;
|
|
11790
|
+
created_by?: string | null;
|
|
11791
|
+
customer_id?: string | null;
|
|
11792
|
+
externe_referentie?: string | null;
|
|
11793
|
+
first_time_fix?: boolean | null;
|
|
11794
|
+
id?: string;
|
|
11795
|
+
internal_notes?: string | null;
|
|
11796
|
+
parent_werkbon_id?: string | null;
|
|
11797
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
11798
|
+
planning_status?: string;
|
|
11799
|
+
project_number?: string | null;
|
|
11800
|
+
room_number?: string | null;
|
|
11801
|
+
scheduled_end_time?: string | null;
|
|
11802
|
+
scheduled_start_time?: string | null;
|
|
11803
|
+
sequence_number: number;
|
|
11804
|
+
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
11805
|
+
source_mailbox_message_id?: string | null;
|
|
11806
|
+
source_pdf_path?: string | null;
|
|
11807
|
+
source_type?: string;
|
|
11808
|
+
status?: string;
|
|
11809
|
+
technician_id?: string | null;
|
|
11810
|
+
technician_notes?: string | null;
|
|
11811
|
+
technician_notes_raw?: string | null;
|
|
11812
|
+
technician_task_description?: string | null;
|
|
11813
|
+
updated_at?: string;
|
|
11814
|
+
version?: number;
|
|
11815
|
+
work_address?: string | null;
|
|
11816
|
+
};
|
|
11817
|
+
Update: {
|
|
11818
|
+
assigned_user_id?: string | null;
|
|
11819
|
+
budget_mandate_cents?: number;
|
|
11820
|
+
complaint_description?: string | null;
|
|
11821
|
+
created_at?: string;
|
|
11822
|
+
created_by?: string | null;
|
|
11823
|
+
customer_id?: string | null;
|
|
11824
|
+
externe_referentie?: string | null;
|
|
11825
|
+
first_time_fix?: boolean | null;
|
|
11826
|
+
id?: string;
|
|
11827
|
+
internal_notes?: string | null;
|
|
11828
|
+
parent_werkbon_id?: string | null;
|
|
11829
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
11830
|
+
planning_status?: string;
|
|
11831
|
+
project_number?: string | null;
|
|
11832
|
+
room_number?: string | null;
|
|
11833
|
+
scheduled_end_time?: string | null;
|
|
11834
|
+
scheduled_start_time?: string | null;
|
|
11835
|
+
sequence_number?: number;
|
|
11836
|
+
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
11837
|
+
source_mailbox_message_id?: string | null;
|
|
11838
|
+
source_pdf_path?: string | null;
|
|
11839
|
+
source_type?: string;
|
|
11840
|
+
status?: string;
|
|
11841
|
+
technician_id?: string | null;
|
|
11842
|
+
technician_notes?: string | null;
|
|
11843
|
+
technician_notes_raw?: string | null;
|
|
11844
|
+
technician_task_description?: string | null;
|
|
11845
|
+
updated_at?: string;
|
|
11846
|
+
version?: number;
|
|
11847
|
+
work_address?: string | null;
|
|
11848
|
+
};
|
|
11849
|
+
Relationships: [{
|
|
11850
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
11851
|
+
columns: ["parent_werkbon_id"];
|
|
11852
|
+
isOneToOne: false;
|
|
11853
|
+
referencedRelation: "werkbonnen";
|
|
11854
|
+
referencedColumns: ["id"];
|
|
11855
|
+
}, {
|
|
11856
|
+
foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
|
|
11857
|
+
columns: ["source_mailbox_message_id"];
|
|
11858
|
+
isOneToOne: false;
|
|
11859
|
+
referencedRelation: "mailbox_messages";
|
|
11860
|
+
referencedColumns: ["id"];
|
|
11861
|
+
}];
|
|
10779
11862
|
};
|
|
10780
11863
|
work_order_monteurs: {
|
|
10781
11864
|
Row: {
|
|
@@ -10947,6 +12030,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10947
12030
|
created_at: string | null;
|
|
10948
12031
|
created_by: string | null;
|
|
10949
12032
|
display_name: string | null;
|
|
12033
|
+
graph_subscription_expires_at: string | null;
|
|
12034
|
+
graph_subscription_id: string | null;
|
|
10950
12035
|
has_access_token: boolean | null;
|
|
10951
12036
|
has_client_id: boolean | null;
|
|
10952
12037
|
has_client_secret: boolean | null;
|
|
@@ -10964,6 +12049,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10964
12049
|
oauth_mode: string | null;
|
|
10965
12050
|
provider: string | null;
|
|
10966
12051
|
purpose_assignments: import("../integrations/supabase/types").Json | null;
|
|
12052
|
+
realtime_mode: string | null;
|
|
10967
12053
|
scopes: string[] | null;
|
|
10968
12054
|
smtp_host: string | null;
|
|
10969
12055
|
smtp_port: number | null;
|
|
@@ -10978,6 +12064,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10978
12064
|
created_at?: string | null;
|
|
10979
12065
|
created_by?: string | null;
|
|
10980
12066
|
display_name?: string | null;
|
|
12067
|
+
graph_subscription_expires_at?: string | null;
|
|
12068
|
+
graph_subscription_id?: string | null;
|
|
10981
12069
|
has_access_token?: never;
|
|
10982
12070
|
has_client_id?: never;
|
|
10983
12071
|
has_client_secret?: never;
|
|
@@ -10995,6 +12083,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
10995
12083
|
oauth_mode?: string | null;
|
|
10996
12084
|
provider?: string | null;
|
|
10997
12085
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
12086
|
+
realtime_mode?: string | null;
|
|
10998
12087
|
scopes?: string[] | null;
|
|
10999
12088
|
smtp_host?: string | null;
|
|
11000
12089
|
smtp_port?: number | null;
|
|
@@ -11009,6 +12098,8 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11009
12098
|
created_at?: string | null;
|
|
11010
12099
|
created_by?: string | null;
|
|
11011
12100
|
display_name?: string | null;
|
|
12101
|
+
graph_subscription_expires_at?: string | null;
|
|
12102
|
+
graph_subscription_id?: string | null;
|
|
11012
12103
|
has_access_token?: never;
|
|
11013
12104
|
has_client_id?: never;
|
|
11014
12105
|
has_client_secret?: never;
|
|
@@ -11026,6 +12117,7 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11026
12117
|
oauth_mode?: string | null;
|
|
11027
12118
|
provider?: string | null;
|
|
11028
12119
|
purpose_assignments?: import("../integrations/supabase/types").Json | null;
|
|
12120
|
+
realtime_mode?: string | null;
|
|
11029
12121
|
scopes?: string[] | null;
|
|
11030
12122
|
smtp_host?: string | null;
|
|
11031
12123
|
smtp_port?: number | null;
|
|
@@ -11136,6 +12228,25 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11136
12228
|
};
|
|
11137
12229
|
Relationships: [];
|
|
11138
12230
|
};
|
|
12231
|
+
floriday_customer_discounts: {
|
|
12232
|
+
Row: {
|
|
12233
|
+
base_price: number | null;
|
|
12234
|
+
buyer_organization_id: string | null;
|
|
12235
|
+
currency: string | null;
|
|
12236
|
+
discount_type: string | null;
|
|
12237
|
+
discount_value: number | null;
|
|
12238
|
+
min_quantity: number | null;
|
|
12239
|
+
net_price: number | null;
|
|
12240
|
+
product_group_id: string | null;
|
|
12241
|
+
raw: import("../integrations/supabase/types").Json | null;
|
|
12242
|
+
source: string | null;
|
|
12243
|
+
source_id: string | null;
|
|
12244
|
+
trade_item_id: string | null;
|
|
12245
|
+
valid_from: string | null;
|
|
12246
|
+
valid_until: string | null;
|
|
12247
|
+
};
|
|
12248
|
+
Relationships: [];
|
|
12249
|
+
};
|
|
11139
12250
|
local_customer_discounts: {
|
|
11140
12251
|
Row: {
|
|
11141
12252
|
base_price: number | null;
|
|
@@ -11472,6 +12583,21 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11472
12583
|
};
|
|
11473
12584
|
Returns: string;
|
|
11474
12585
|
};
|
|
12586
|
+
ai_usage_by_module: {
|
|
12587
|
+
Args: {
|
|
12588
|
+
_from: string;
|
|
12589
|
+
_to: string;
|
|
12590
|
+
};
|
|
12591
|
+
Returns: {
|
|
12592
|
+
calls: number;
|
|
12593
|
+
consumer_module_id: string;
|
|
12594
|
+
cost_usd: number;
|
|
12595
|
+
errors: number;
|
|
12596
|
+
input_tokens: number;
|
|
12597
|
+
output_tokens: number;
|
|
12598
|
+
total_tokens: number;
|
|
12599
|
+
}[];
|
|
12600
|
+
};
|
|
11475
12601
|
apply_stock_consumption: {
|
|
11476
12602
|
Args: {
|
|
11477
12603
|
p_order_id: string;
|
|
@@ -11563,6 +12689,33 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11563
12689
|
};
|
|
11564
12690
|
Returns: import("../integrations/supabase/types").Json;
|
|
11565
12691
|
};
|
|
12692
|
+
claim_twinfield_push_batch: {
|
|
12693
|
+
Args: {
|
|
12694
|
+
_limit?: number;
|
|
12695
|
+
};
|
|
12696
|
+
Returns: {
|
|
12697
|
+
action: string;
|
|
12698
|
+
attempts: number;
|
|
12699
|
+
connection_id: string;
|
|
12700
|
+
created_at: string;
|
|
12701
|
+
customer_id: string | null;
|
|
12702
|
+
external_id: string | null;
|
|
12703
|
+
id: string;
|
|
12704
|
+
idempotency_key: string;
|
|
12705
|
+
last_error: string | null;
|
|
12706
|
+
next_attempt_at: string;
|
|
12707
|
+
office_code: string | null;
|
|
12708
|
+
payload: import("../integrations/supabase/types").Json;
|
|
12709
|
+
status: string;
|
|
12710
|
+
updated_at: string;
|
|
12711
|
+
}[];
|
|
12712
|
+
SetofOptions: {
|
|
12713
|
+
from: "*";
|
|
12714
|
+
to: "twinfield_push_queue";
|
|
12715
|
+
isOneToOne: false;
|
|
12716
|
+
isSetofReturn: true;
|
|
12717
|
+
};
|
|
12718
|
+
};
|
|
11566
12719
|
cleanup_old_bookings: {
|
|
11567
12720
|
Args: never;
|
|
11568
12721
|
Returns: undefined;
|
|
@@ -11621,6 +12774,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11621
12774
|
Args: never;
|
|
11622
12775
|
Returns: string;
|
|
11623
12776
|
};
|
|
12777
|
+
custom_access_token_hook: {
|
|
12778
|
+
Args: {
|
|
12779
|
+
event: import("../integrations/supabase/types").Json;
|
|
12780
|
+
};
|
|
12781
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
12782
|
+
};
|
|
11624
12783
|
dashboard_alert_counts: {
|
|
11625
12784
|
Args: never;
|
|
11626
12785
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -11817,6 +12976,19 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11817
12976
|
resource: string;
|
|
11818
12977
|
}[];
|
|
11819
12978
|
};
|
|
12979
|
+
get_floriday_agreements_active: {
|
|
12980
|
+
Args: {
|
|
12981
|
+
p_on_date?: string;
|
|
12982
|
+
};
|
|
12983
|
+
Returns: {
|
|
12984
|
+
buyer_organization_id: string;
|
|
12985
|
+
data: import("../integrations/supabase/types").Json;
|
|
12986
|
+
floriday_id: string;
|
|
12987
|
+
status: string;
|
|
12988
|
+
valid_from: string;
|
|
12989
|
+
valid_until: string;
|
|
12990
|
+
}[];
|
|
12991
|
+
};
|
|
11820
12992
|
get_floriday_clock_supplies_window: {
|
|
11821
12993
|
Args: {
|
|
11822
12994
|
p_from: string;
|
|
@@ -11977,6 +13149,14 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11977
13149
|
};
|
|
11978
13150
|
Returns: string;
|
|
11979
13151
|
};
|
|
13152
|
+
has_module_permission: {
|
|
13153
|
+
Args: {
|
|
13154
|
+
_min: string;
|
|
13155
|
+
_module_id: string;
|
|
13156
|
+
_user_id: string;
|
|
13157
|
+
};
|
|
13158
|
+
Returns: boolean;
|
|
13159
|
+
};
|
|
11980
13160
|
has_role: {
|
|
11981
13161
|
Args: {
|
|
11982
13162
|
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -11984,6 +13164,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11984
13164
|
};
|
|
11985
13165
|
Returns: boolean;
|
|
11986
13166
|
};
|
|
13167
|
+
has_twinfield_link: {
|
|
13168
|
+
Args: never;
|
|
13169
|
+
Returns: boolean;
|
|
13170
|
+
};
|
|
11987
13171
|
is_authenticated: {
|
|
11988
13172
|
Args: never;
|
|
11989
13173
|
Returns: boolean;
|
|
@@ -11998,6 +13182,37 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
11998
13182
|
};
|
|
11999
13183
|
Returns: boolean;
|
|
12000
13184
|
};
|
|
13185
|
+
jwt_has_role: {
|
|
13186
|
+
Args: {
|
|
13187
|
+
_role: import("../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
13188
|
+
};
|
|
13189
|
+
Returns: boolean;
|
|
13190
|
+
};
|
|
13191
|
+
list_monteurs: {
|
|
13192
|
+
Args: never;
|
|
13193
|
+
Returns: {
|
|
13194
|
+
avatar_url: string;
|
|
13195
|
+
display_name: string;
|
|
13196
|
+
email: string;
|
|
13197
|
+
id: string;
|
|
13198
|
+
}[];
|
|
13199
|
+
};
|
|
13200
|
+
list_my_planning_items: {
|
|
13201
|
+
Args: {
|
|
13202
|
+
_from: string;
|
|
13203
|
+
_to: string;
|
|
13204
|
+
};
|
|
13205
|
+
Returns: {
|
|
13206
|
+
assigned_monteur_id: string;
|
|
13207
|
+
end_at: string;
|
|
13208
|
+
id: string;
|
|
13209
|
+
notes: string;
|
|
13210
|
+
role: string;
|
|
13211
|
+
start_at: string;
|
|
13212
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
13213
|
+
werkbon_id: string;
|
|
13214
|
+
}[];
|
|
13215
|
+
};
|
|
12001
13216
|
local_effective_price: {
|
|
12002
13217
|
Args: {
|
|
12003
13218
|
_customer_id: string;
|
|
@@ -12014,6 +13229,22 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12014
13229
|
source_id: string;
|
|
12015
13230
|
}[];
|
|
12016
13231
|
};
|
|
13232
|
+
log_ai_call: {
|
|
13233
|
+
Args: {
|
|
13234
|
+
_consumer_module_id: string;
|
|
13235
|
+
_cost_usd: number;
|
|
13236
|
+
_duration_ms: number;
|
|
13237
|
+
_error_code: string;
|
|
13238
|
+
_error_message: string;
|
|
13239
|
+
_input_tokens: number;
|
|
13240
|
+
_model_slug: string;
|
|
13241
|
+
_output_tokens: number;
|
|
13242
|
+
_provider_slug: string;
|
|
13243
|
+
_status: string;
|
|
13244
|
+
_total_tokens: number;
|
|
13245
|
+
};
|
|
13246
|
+
Returns: string;
|
|
13247
|
+
};
|
|
12017
13248
|
mark_offer_clicked: {
|
|
12018
13249
|
Args: {
|
|
12019
13250
|
p_code: string;
|
|
@@ -12065,6 +13296,10 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12065
13296
|
};
|
|
12066
13297
|
Returns: string;
|
|
12067
13298
|
};
|
|
13299
|
+
next_twinfield_code: {
|
|
13300
|
+
Args: never;
|
|
13301
|
+
Returns: string;
|
|
13302
|
+
};
|
|
12068
13303
|
next_work_order_number: {
|
|
12069
13304
|
Args: {
|
|
12070
13305
|
p_parent_work_order_id?: string;
|
|
@@ -12200,6 +13435,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12200
13435
|
};
|
|
12201
13436
|
Returns: number;
|
|
12202
13437
|
};
|
|
13438
|
+
reorder_customer_price_groups: {
|
|
13439
|
+
Args: {
|
|
13440
|
+
_ids: string[];
|
|
13441
|
+
};
|
|
13442
|
+
Returns: undefined;
|
|
13443
|
+
};
|
|
12203
13444
|
reset_floriday_sync_cursor: {
|
|
12204
13445
|
Args: {
|
|
12205
13446
|
p_connection_id: string;
|
|
@@ -12235,6 +13476,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12235
13476
|
};
|
|
12236
13477
|
Returns: string;
|
|
12237
13478
|
};
|
|
13479
|
+
retry_twinfield_push: {
|
|
13480
|
+
Args: {
|
|
13481
|
+
_customer_id: string;
|
|
13482
|
+
};
|
|
13483
|
+
Returns: number;
|
|
13484
|
+
};
|
|
12238
13485
|
reverse_production: {
|
|
12239
13486
|
Args: {
|
|
12240
13487
|
p_connection_id?: string;
|
|
@@ -12252,6 +13499,20 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12252
13499
|
};
|
|
12253
13500
|
Returns: number;
|
|
12254
13501
|
};
|
|
13502
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
13503
|
+
Args: {
|
|
13504
|
+
p_apikey: string;
|
|
13505
|
+
p_url: string;
|
|
13506
|
+
};
|
|
13507
|
+
Returns: number;
|
|
13508
|
+
};
|
|
13509
|
+
schedule_floriday_agreements_sync: {
|
|
13510
|
+
Args: {
|
|
13511
|
+
p_apikey: string;
|
|
13512
|
+
p_url: string;
|
|
13513
|
+
};
|
|
13514
|
+
Returns: number;
|
|
13515
|
+
};
|
|
12255
13516
|
schedule_floriday_base_items_sync: {
|
|
12256
13517
|
Args: {
|
|
12257
13518
|
p_apikey: string;
|
|
@@ -12502,6 +13763,13 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12502
13763
|
Args: never;
|
|
12503
13764
|
Returns: number;
|
|
12504
13765
|
};
|
|
13766
|
+
set_planning_status: {
|
|
13767
|
+
Args: {
|
|
13768
|
+
_id: string;
|
|
13769
|
+
_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
13770
|
+
};
|
|
13771
|
+
Returns: undefined;
|
|
13772
|
+
};
|
|
12505
13773
|
show_limit: {
|
|
12506
13774
|
Args: never;
|
|
12507
13775
|
Returns: number;
|
|
@@ -12571,9 +13839,12 @@ export declare const getFloridayOrders: import("@tanstack/start-client-core").Op
|
|
|
12571
13839
|
};
|
|
12572
13840
|
};
|
|
12573
13841
|
Enums: {
|
|
12574
|
-
app_role: "admin" | "
|
|
13842
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
12575
13843
|
exact_env: "staging" | "live";
|
|
12576
13844
|
exact_push_status: "pending" | "sent" | "error";
|
|
13845
|
+
itk_customer_segment: "Business" | "Private";
|
|
13846
|
+
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13847
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
12577
13848
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
12578
13849
|
};
|
|
12579
13850
|
CompositeTypes: { [_ in never]: never; };
|