@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
|
@@ -247,12 +247,98 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
247
247
|
};
|
|
248
248
|
Relationships: [];
|
|
249
249
|
};
|
|
250
|
+
ai_admin_credentials: {
|
|
251
|
+
Row: {
|
|
252
|
+
active: boolean;
|
|
253
|
+
admin_key: string;
|
|
254
|
+
created_at: string;
|
|
255
|
+
id: string;
|
|
256
|
+
label: string;
|
|
257
|
+
provider_id: string;
|
|
258
|
+
updated_at: string;
|
|
259
|
+
};
|
|
260
|
+
Insert: {
|
|
261
|
+
active?: boolean;
|
|
262
|
+
admin_key: string;
|
|
263
|
+
created_at?: string;
|
|
264
|
+
id?: string;
|
|
265
|
+
label: string;
|
|
266
|
+
provider_id: string;
|
|
267
|
+
updated_at?: string;
|
|
268
|
+
};
|
|
269
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
279
|
+
foreignKeyName: "ai_admin_credentials_provider_id_fkey";
|
|
280
|
+
columns: ["provider_id"];
|
|
281
|
+
isOneToOne: true;
|
|
282
|
+
referencedRelation: "ai_providers";
|
|
283
|
+
referencedColumns: ["id"];
|
|
284
|
+
}];
|
|
285
|
+
};
|
|
286
|
+
ai_call_log: {
|
|
287
|
+
Row: {
|
|
288
|
+
consumer_module_id: string;
|
|
289
|
+
cost_usd: number | null;
|
|
290
|
+
created_at: string;
|
|
291
|
+
created_by: string | null;
|
|
292
|
+
duration_ms: number | null;
|
|
293
|
+
error_code: string | null;
|
|
294
|
+
error_message: string | null;
|
|
295
|
+
id: string;
|
|
296
|
+
input_tokens: number;
|
|
297
|
+
model_slug: string | null;
|
|
298
|
+
output_tokens: number;
|
|
299
|
+
provider_slug: string | null;
|
|
300
|
+
status: string;
|
|
301
|
+
total_tokens: number;
|
|
302
|
+
};
|
|
303
|
+
Insert: {
|
|
304
|
+
consumer_module_id: string;
|
|
305
|
+
cost_usd?: number | null;
|
|
306
|
+
created_at?: string;
|
|
307
|
+
created_by?: string | null;
|
|
308
|
+
duration_ms?: number | null;
|
|
309
|
+
error_code?: string | null;
|
|
310
|
+
error_message?: string | null;
|
|
311
|
+
id?: string;
|
|
312
|
+
input_tokens?: number;
|
|
313
|
+
model_slug?: string | null;
|
|
314
|
+
output_tokens?: number;
|
|
315
|
+
provider_slug?: string | null;
|
|
316
|
+
status: string;
|
|
317
|
+
total_tokens?: number;
|
|
318
|
+
};
|
|
319
|
+
Update: {
|
|
320
|
+
consumer_module_id?: string;
|
|
321
|
+
cost_usd?: number | null;
|
|
322
|
+
created_at?: string;
|
|
323
|
+
created_by?: string | null;
|
|
324
|
+
duration_ms?: number | null;
|
|
325
|
+
error_code?: string | null;
|
|
326
|
+
error_message?: string | null;
|
|
327
|
+
id?: string;
|
|
328
|
+
input_tokens?: number;
|
|
329
|
+
model_slug?: string | null;
|
|
330
|
+
output_tokens?: number;
|
|
331
|
+
provider_slug?: string | null;
|
|
332
|
+
status?: string;
|
|
333
|
+
total_tokens?: number;
|
|
334
|
+
};
|
|
335
|
+
Relationships: [];
|
|
336
|
+
};
|
|
250
337
|
ai_credentials: {
|
|
251
338
|
Row: {
|
|
252
339
|
active: boolean;
|
|
253
340
|
api_key: string;
|
|
254
341
|
created_at: string;
|
|
255
|
-
created_by: string | null;
|
|
256
342
|
id: string;
|
|
257
343
|
label: string;
|
|
258
344
|
provider_id: string;
|
|
@@ -262,7 +348,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
262
348
|
active?: boolean;
|
|
263
349
|
api_key: string;
|
|
264
350
|
created_at?: string;
|
|
265
|
-
created_by?: string | null;
|
|
266
351
|
id?: string;
|
|
267
352
|
label: string;
|
|
268
353
|
provider_id: string;
|
|
@@ -272,7 +357,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
272
357
|
active?: boolean;
|
|
273
358
|
api_key?: string;
|
|
274
359
|
created_at?: string;
|
|
275
|
-
created_by?: string | null;
|
|
276
360
|
id?: string;
|
|
277
361
|
label?: string;
|
|
278
362
|
provider_id?: string;
|
|
@@ -286,6 +370,75 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
286
370
|
referencedColumns: ["id"];
|
|
287
371
|
}];
|
|
288
372
|
};
|
|
373
|
+
ai_goals: {
|
|
374
|
+
Row: {
|
|
375
|
+
active: boolean;
|
|
376
|
+
created_at: string;
|
|
377
|
+
description: string | null;
|
|
378
|
+
key: string;
|
|
379
|
+
label: string;
|
|
380
|
+
sort_order: number;
|
|
381
|
+
updated_at: string;
|
|
382
|
+
};
|
|
383
|
+
Insert: {
|
|
384
|
+
active?: boolean;
|
|
385
|
+
created_at?: string;
|
|
386
|
+
description?: string | null;
|
|
387
|
+
key: string;
|
|
388
|
+
label: string;
|
|
389
|
+
sort_order?: number;
|
|
390
|
+
updated_at?: string;
|
|
391
|
+
};
|
|
392
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
402
|
+
};
|
|
403
|
+
ai_model_pricing: {
|
|
404
|
+
Row: {
|
|
405
|
+
created_at: string;
|
|
406
|
+
currency: string;
|
|
407
|
+
fetched_at: string;
|
|
408
|
+
id: string;
|
|
409
|
+
input_per_mtok: number | null;
|
|
410
|
+
model_slug: string;
|
|
411
|
+
output_per_mtok: number | null;
|
|
412
|
+
provider_slug: string;
|
|
413
|
+
source: string;
|
|
414
|
+
updated_at: string;
|
|
415
|
+
};
|
|
416
|
+
Insert: {
|
|
417
|
+
created_at?: string;
|
|
418
|
+
currency?: string;
|
|
419
|
+
fetched_at?: string;
|
|
420
|
+
id?: string;
|
|
421
|
+
input_per_mtok?: number | null;
|
|
422
|
+
model_slug: string;
|
|
423
|
+
output_per_mtok?: number | null;
|
|
424
|
+
provider_slug: string;
|
|
425
|
+
source?: string;
|
|
426
|
+
updated_at?: string;
|
|
427
|
+
};
|
|
428
|
+
Update: {
|
|
429
|
+
created_at?: string;
|
|
430
|
+
currency?: string;
|
|
431
|
+
fetched_at?: string;
|
|
432
|
+
id?: string;
|
|
433
|
+
input_per_mtok?: number | null;
|
|
434
|
+
model_slug?: string;
|
|
435
|
+
output_per_mtok?: number | null;
|
|
436
|
+
provider_slug?: string;
|
|
437
|
+
source?: string;
|
|
438
|
+
updated_at?: string;
|
|
439
|
+
};
|
|
440
|
+
Relationships: [];
|
|
441
|
+
};
|
|
289
442
|
ai_models: {
|
|
290
443
|
Row: {
|
|
291
444
|
active: boolean;
|
|
@@ -1231,6 +1384,69 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
1231
1384
|
};
|
|
1232
1385
|
Relationships: [];
|
|
1233
1386
|
};
|
|
1387
|
+
catalog_articles_cache: {
|
|
1388
|
+
Row: {
|
|
1389
|
+
created_at: string;
|
|
1390
|
+
default_price: number;
|
|
1391
|
+
default_vat_rate_ref: string | null;
|
|
1392
|
+
external_ref: string;
|
|
1393
|
+
id: string;
|
|
1394
|
+
name: string;
|
|
1395
|
+
updated_at: string;
|
|
1396
|
+
user_id: string;
|
|
1397
|
+
};
|
|
1398
|
+
Insert: {
|
|
1399
|
+
created_at?: string;
|
|
1400
|
+
default_price?: number;
|
|
1401
|
+
default_vat_rate_ref?: string | null;
|
|
1402
|
+
external_ref: string;
|
|
1403
|
+
id?: string;
|
|
1404
|
+
name: string;
|
|
1405
|
+
updated_at?: string;
|
|
1406
|
+
user_id: string;
|
|
1407
|
+
};
|
|
1408
|
+
Update: {
|
|
1409
|
+
created_at?: string;
|
|
1410
|
+
default_price?: number;
|
|
1411
|
+
default_vat_rate_ref?: string | null;
|
|
1412
|
+
external_ref?: string;
|
|
1413
|
+
id?: string;
|
|
1414
|
+
name?: string;
|
|
1415
|
+
updated_at?: string;
|
|
1416
|
+
user_id?: string;
|
|
1417
|
+
};
|
|
1418
|
+
Relationships: [];
|
|
1419
|
+
};
|
|
1420
|
+
catalog_vat_rates_cache: {
|
|
1421
|
+
Row: {
|
|
1422
|
+
created_at: string;
|
|
1423
|
+
external_ref: string;
|
|
1424
|
+
id: string;
|
|
1425
|
+
label: string;
|
|
1426
|
+
percentage: number;
|
|
1427
|
+
updated_at: string;
|
|
1428
|
+
user_id: string;
|
|
1429
|
+
};
|
|
1430
|
+
Insert: {
|
|
1431
|
+
created_at?: string;
|
|
1432
|
+
external_ref: string;
|
|
1433
|
+
id?: string;
|
|
1434
|
+
label: string;
|
|
1435
|
+
percentage?: number;
|
|
1436
|
+
updated_at?: string;
|
|
1437
|
+
user_id: string;
|
|
1438
|
+
};
|
|
1439
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
1449
|
+
};
|
|
1234
1450
|
collections: {
|
|
1235
1451
|
Row: {
|
|
1236
1452
|
created_at: string;
|
|
@@ -1510,6 +1726,105 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
1510
1726
|
};
|
|
1511
1727
|
Relationships: [];
|
|
1512
1728
|
};
|
|
1729
|
+
customer_price_group_members: {
|
|
1730
|
+
Row: {
|
|
1731
|
+
created_at: string;
|
|
1732
|
+
customer_key: string;
|
|
1733
|
+
id: string;
|
|
1734
|
+
owner_id: string;
|
|
1735
|
+
price_group_id: string;
|
|
1736
|
+
};
|
|
1737
|
+
Insert: {
|
|
1738
|
+
created_at?: string;
|
|
1739
|
+
customer_key: string;
|
|
1740
|
+
id?: string;
|
|
1741
|
+
owner_id?: string;
|
|
1742
|
+
price_group_id: string;
|
|
1743
|
+
};
|
|
1744
|
+
Update: {
|
|
1745
|
+
created_at?: string;
|
|
1746
|
+
customer_key?: string;
|
|
1747
|
+
id?: string;
|
|
1748
|
+
owner_id?: string;
|
|
1749
|
+
price_group_id?: string;
|
|
1750
|
+
};
|
|
1751
|
+
Relationships: [{
|
|
1752
|
+
foreignKeyName: "customer_price_group_members_price_group_id_fkey";
|
|
1753
|
+
columns: ["price_group_id"];
|
|
1754
|
+
isOneToOne: false;
|
|
1755
|
+
referencedRelation: "customer_price_groups";
|
|
1756
|
+
referencedColumns: ["id"];
|
|
1757
|
+
}];
|
|
1758
|
+
};
|
|
1759
|
+
customer_price_groups: {
|
|
1760
|
+
Row: {
|
|
1761
|
+
calc_type: string | null;
|
|
1762
|
+
calc_value: number | null;
|
|
1763
|
+
calc_value_type: string | null;
|
|
1764
|
+
created_at: string;
|
|
1765
|
+
currency: string;
|
|
1766
|
+
distribute_over: string | null;
|
|
1767
|
+
group_type: string;
|
|
1768
|
+
handling_fee: number | null;
|
|
1769
|
+
id: string;
|
|
1770
|
+
include_stickers: boolean;
|
|
1771
|
+
is_active: boolean;
|
|
1772
|
+
name: string;
|
|
1773
|
+
owner_id: string;
|
|
1774
|
+
price_scope: string;
|
|
1775
|
+
pricing_mode: string;
|
|
1776
|
+
rounding: string;
|
|
1777
|
+
rounding_step: number;
|
|
1778
|
+
sort_order: number;
|
|
1779
|
+
unit: string;
|
|
1780
|
+
updated_at: string;
|
|
1781
|
+
};
|
|
1782
|
+
Insert: {
|
|
1783
|
+
calc_type?: string | null;
|
|
1784
|
+
calc_value?: number | null;
|
|
1785
|
+
calc_value_type?: string | null;
|
|
1786
|
+
created_at?: string;
|
|
1787
|
+
currency?: string;
|
|
1788
|
+
distribute_over?: string | null;
|
|
1789
|
+
group_type?: string;
|
|
1790
|
+
handling_fee?: number | null;
|
|
1791
|
+
id?: string;
|
|
1792
|
+
include_stickers?: boolean;
|
|
1793
|
+
is_active?: boolean;
|
|
1794
|
+
name: string;
|
|
1795
|
+
owner_id?: string;
|
|
1796
|
+
price_scope?: string;
|
|
1797
|
+
pricing_mode?: string;
|
|
1798
|
+
rounding?: string;
|
|
1799
|
+
rounding_step?: number;
|
|
1800
|
+
sort_order?: number;
|
|
1801
|
+
unit?: string;
|
|
1802
|
+
updated_at?: string;
|
|
1803
|
+
};
|
|
1804
|
+
Update: {
|
|
1805
|
+
calc_type?: string | null;
|
|
1806
|
+
calc_value?: number | null;
|
|
1807
|
+
calc_value_type?: string | null;
|
|
1808
|
+
created_at?: string;
|
|
1809
|
+
currency?: string;
|
|
1810
|
+
distribute_over?: string | null;
|
|
1811
|
+
group_type?: string;
|
|
1812
|
+
handling_fee?: number | null;
|
|
1813
|
+
id?: string;
|
|
1814
|
+
include_stickers?: boolean;
|
|
1815
|
+
is_active?: boolean;
|
|
1816
|
+
name?: string;
|
|
1817
|
+
owner_id?: string;
|
|
1818
|
+
price_scope?: string;
|
|
1819
|
+
pricing_mode?: string;
|
|
1820
|
+
rounding?: string;
|
|
1821
|
+
rounding_step?: number;
|
|
1822
|
+
sort_order?: number;
|
|
1823
|
+
unit?: string;
|
|
1824
|
+
updated_at?: string;
|
|
1825
|
+
};
|
|
1826
|
+
Relationships: [];
|
|
1827
|
+
};
|
|
1513
1828
|
customer_selected_assortment: {
|
|
1514
1829
|
Row: {
|
|
1515
1830
|
article_number: string | null;
|
|
@@ -1663,6 +1978,10 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
1663
1978
|
sync_error: string | null;
|
|
1664
1979
|
sync_status: string;
|
|
1665
1980
|
trade_forms: string[];
|
|
1981
|
+
twinfield_code: string | null;
|
|
1982
|
+
twinfield_last_hash: string | null;
|
|
1983
|
+
twinfield_sync_error: string | null;
|
|
1984
|
+
twinfield_synced_at: string | null;
|
|
1666
1985
|
updated_at: string;
|
|
1667
1986
|
vat_display: string | null;
|
|
1668
1987
|
vat_number: string | null;
|
|
@@ -1730,6 +2049,10 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
1730
2049
|
sync_error?: string | null;
|
|
1731
2050
|
sync_status?: string;
|
|
1732
2051
|
trade_forms?: string[];
|
|
2052
|
+
twinfield_code?: string | null;
|
|
2053
|
+
twinfield_last_hash?: string | null;
|
|
2054
|
+
twinfield_sync_error?: string | null;
|
|
2055
|
+
twinfield_synced_at?: string | null;
|
|
1733
2056
|
updated_at?: string;
|
|
1734
2057
|
vat_display?: string | null;
|
|
1735
2058
|
vat_number?: string | null;
|
|
@@ -1797,6 +2120,10 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
1797
2120
|
sync_error?: string | null;
|
|
1798
2121
|
sync_status?: string;
|
|
1799
2122
|
trade_forms?: string[];
|
|
2123
|
+
twinfield_code?: string | null;
|
|
2124
|
+
twinfield_last_hash?: string | null;
|
|
2125
|
+
twinfield_sync_error?: string | null;
|
|
2126
|
+
twinfield_synced_at?: string | null;
|
|
1800
2127
|
updated_at?: string;
|
|
1801
2128
|
vat_display?: string | null;
|
|
1802
2129
|
vat_number?: string | null;
|
|
@@ -3610,48 +3937,147 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
3610
3937
|
referencedColumns: ["id"];
|
|
3611
3938
|
}];
|
|
3612
3939
|
};
|
|
3613
|
-
|
|
3940
|
+
floriday_agreement_calloffs_cache: {
|
|
3614
3941
|
Row: {
|
|
3615
|
-
|
|
3616
|
-
clock_supply_id: string;
|
|
3942
|
+
agreement_id: string | null;
|
|
3617
3943
|
connection_id: string;
|
|
3618
|
-
|
|
3944
|
+
data: import("../../integrations/supabase/types").Json;
|
|
3945
|
+
delivery_date: string | null;
|
|
3619
3946
|
fetched_at: string;
|
|
3947
|
+
floriday_id: string;
|
|
3620
3948
|
id: string;
|
|
3621
|
-
|
|
3949
|
+
is_deleted: boolean;
|
|
3950
|
+
sequence_number: number;
|
|
3951
|
+
status: string | null;
|
|
3952
|
+
updated_at: string;
|
|
3622
3953
|
};
|
|
3623
3954
|
Insert: {
|
|
3624
|
-
|
|
3625
|
-
clock_supply_id: string;
|
|
3955
|
+
agreement_id?: string | null;
|
|
3626
3956
|
connection_id: string;
|
|
3627
|
-
|
|
3957
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
3958
|
+
delivery_date?: string | null;
|
|
3628
3959
|
fetched_at?: string;
|
|
3960
|
+
floriday_id: string;
|
|
3629
3961
|
id?: string;
|
|
3630
|
-
|
|
3962
|
+
is_deleted?: boolean;
|
|
3963
|
+
sequence_number?: number;
|
|
3964
|
+
status?: string | null;
|
|
3965
|
+
updated_at?: string;
|
|
3631
3966
|
};
|
|
3632
3967
|
Update: {
|
|
3633
|
-
|
|
3634
|
-
clock_supply_id?: string;
|
|
3968
|
+
agreement_id?: string | null;
|
|
3635
3969
|
connection_id?: string;
|
|
3636
|
-
|
|
3970
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
3971
|
+
delivery_date?: string | null;
|
|
3637
3972
|
fetched_at?: string;
|
|
3973
|
+
floriday_id?: string;
|
|
3638
3974
|
id?: string;
|
|
3639
|
-
|
|
3975
|
+
is_deleted?: boolean;
|
|
3976
|
+
sequence_number?: number;
|
|
3977
|
+
status?: string | null;
|
|
3978
|
+
updated_at?: string;
|
|
3640
3979
|
};
|
|
3641
3980
|
Relationships: [{
|
|
3642
|
-
foreignKeyName: "
|
|
3981
|
+
foreignKeyName: "floriday_agreement_calloffs_cache_connection_id_fkey";
|
|
3643
3982
|
columns: ["connection_id"];
|
|
3644
3983
|
isOneToOne: false;
|
|
3645
3984
|
referencedRelation: "floriday_connections";
|
|
3646
3985
|
referencedColumns: ["id"];
|
|
3647
3986
|
}];
|
|
3648
3987
|
};
|
|
3649
|
-
|
|
3988
|
+
floriday_agreements_cache: {
|
|
3650
3989
|
Row: {
|
|
3651
|
-
|
|
3990
|
+
buyer_organization_id: string | null;
|
|
3652
3991
|
connection_id: string;
|
|
3653
|
-
|
|
3654
|
-
|
|
3992
|
+
data: import("../../integrations/supabase/types").Json;
|
|
3993
|
+
fetched_at: string;
|
|
3994
|
+
floriday_id: string;
|
|
3995
|
+
id: string;
|
|
3996
|
+
is_deleted: boolean;
|
|
3997
|
+
sequence_number: number;
|
|
3998
|
+
status: string | null;
|
|
3999
|
+
updated_at: string;
|
|
4000
|
+
valid_from: string | null;
|
|
4001
|
+
valid_until: string | null;
|
|
4002
|
+
};
|
|
4003
|
+
Insert: {
|
|
4004
|
+
buyer_organization_id?: string | null;
|
|
4005
|
+
connection_id: string;
|
|
4006
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
4007
|
+
fetched_at?: string;
|
|
4008
|
+
floriday_id: string;
|
|
4009
|
+
id?: string;
|
|
4010
|
+
is_deleted?: boolean;
|
|
4011
|
+
sequence_number?: number;
|
|
4012
|
+
status?: string | null;
|
|
4013
|
+
updated_at?: string;
|
|
4014
|
+
valid_from?: string | null;
|
|
4015
|
+
valid_until?: string | null;
|
|
4016
|
+
};
|
|
4017
|
+
Update: {
|
|
4018
|
+
buyer_organization_id?: string | null;
|
|
4019
|
+
connection_id?: string;
|
|
4020
|
+
data?: import("../../integrations/supabase/types").Json;
|
|
4021
|
+
fetched_at?: string;
|
|
4022
|
+
floriday_id?: string;
|
|
4023
|
+
id?: string;
|
|
4024
|
+
is_deleted?: boolean;
|
|
4025
|
+
sequence_number?: number;
|
|
4026
|
+
status?: string | null;
|
|
4027
|
+
updated_at?: string;
|
|
4028
|
+
valid_from?: string | null;
|
|
4029
|
+
valid_until?: string | null;
|
|
4030
|
+
};
|
|
4031
|
+
Relationships: [{
|
|
4032
|
+
foreignKeyName: "floriday_agreements_cache_connection_id_fkey";
|
|
4033
|
+
columns: ["connection_id"];
|
|
4034
|
+
isOneToOne: false;
|
|
4035
|
+
referencedRelation: "floriday_connections";
|
|
4036
|
+
referencedColumns: ["id"];
|
|
4037
|
+
}];
|
|
4038
|
+
};
|
|
4039
|
+
floriday_auction_letters_cache: {
|
|
4040
|
+
Row: {
|
|
4041
|
+
auction_letter_code: string;
|
|
4042
|
+
clock_supply_id: string;
|
|
4043
|
+
connection_id: string;
|
|
4044
|
+
content_type: string;
|
|
4045
|
+
fetched_at: string;
|
|
4046
|
+
id: string;
|
|
4047
|
+
storage_path: string;
|
|
4048
|
+
};
|
|
4049
|
+
Insert: {
|
|
4050
|
+
auction_letter_code: string;
|
|
4051
|
+
clock_supply_id: string;
|
|
4052
|
+
connection_id: string;
|
|
4053
|
+
content_type?: string;
|
|
4054
|
+
fetched_at?: string;
|
|
4055
|
+
id?: string;
|
|
4056
|
+
storage_path: string;
|
|
4057
|
+
};
|
|
4058
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
4068
|
+
foreignKeyName: "floriday_auction_letters_cache_connection_id_fkey";
|
|
4069
|
+
columns: ["connection_id"];
|
|
4070
|
+
isOneToOne: false;
|
|
4071
|
+
referencedRelation: "floriday_connections";
|
|
4072
|
+
referencedColumns: ["id"];
|
|
4073
|
+
}];
|
|
4074
|
+
};
|
|
4075
|
+
floriday_auto_fulfillment_log: {
|
|
4076
|
+
Row: {
|
|
4077
|
+
attempts: number;
|
|
4078
|
+
connection_id: string;
|
|
4079
|
+
created_at: string;
|
|
4080
|
+
error: string | null;
|
|
3655
4081
|
fulfillment_order_id: string | null;
|
|
3656
4082
|
id: string;
|
|
3657
4083
|
last_attempt_at: string | null;
|
|
@@ -4108,27 +4534,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
4108
4534
|
referencedColumns: ["id"];
|
|
4109
4535
|
}];
|
|
4110
4536
|
};
|
|
4111
|
-
floriday_continuous_stock_cache: {
|
|
4112
|
-
Row: {
|
|
4113
|
-
connection_id: string;
|
|
4114
|
-
fetched_at: string;
|
|
4115
|
-
number_of_pieces: number;
|
|
4116
|
-
trade_item_id: string;
|
|
4117
|
-
};
|
|
4118
|
-
Insert: {
|
|
4119
|
-
connection_id: string;
|
|
4120
|
-
fetched_at?: string;
|
|
4121
|
-
number_of_pieces?: number;
|
|
4122
|
-
trade_item_id: string;
|
|
4123
|
-
};
|
|
4124
|
-
Update: {
|
|
4125
|
-
connection_id?: string;
|
|
4126
|
-
fetched_at?: string;
|
|
4127
|
-
number_of_pieces?: number;
|
|
4128
|
-
trade_item_id?: string;
|
|
4129
|
-
};
|
|
4130
|
-
Relationships: [];
|
|
4131
|
-
};
|
|
4132
4537
|
floriday_continuous_stock_queue: {
|
|
4133
4538
|
Row: {
|
|
4134
4539
|
attempts: number;
|
|
@@ -4904,8 +5309,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
4904
5309
|
Row: {
|
|
4905
5310
|
buyer_organization_id: string | null;
|
|
4906
5311
|
connection_id: string;
|
|
4907
|
-
controlled_at: string | null;
|
|
4908
|
-
controlled_by: string | null;
|
|
4909
5312
|
created_at: string;
|
|
4910
5313
|
data: import("../../integrations/supabase/types").Json;
|
|
4911
5314
|
floriday_id: string;
|
|
@@ -4917,8 +5320,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
4917
5320
|
Insert: {
|
|
4918
5321
|
buyer_organization_id?: string | null;
|
|
4919
5322
|
connection_id: string;
|
|
4920
|
-
controlled_at?: string | null;
|
|
4921
|
-
controlled_by?: string | null;
|
|
4922
5323
|
created_at?: string;
|
|
4923
5324
|
data: import("../../integrations/supabase/types").Json;
|
|
4924
5325
|
floriday_id: string;
|
|
@@ -4930,8 +5331,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
4930
5331
|
Update: {
|
|
4931
5332
|
buyer_organization_id?: string | null;
|
|
4932
5333
|
connection_id?: string;
|
|
4933
|
-
controlled_at?: string | null;
|
|
4934
|
-
controlled_by?: string | null;
|
|
4935
5334
|
created_at?: string;
|
|
4936
5335
|
data?: import("../../integrations/supabase/types").Json;
|
|
4937
5336
|
floriday_id?: string;
|
|
@@ -5113,45 +5512,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
5113
5512
|
referencedColumns: ["id"];
|
|
5114
5513
|
}];
|
|
5115
5514
|
};
|
|
5116
|
-
floriday_trade_settings_customers_cache: {
|
|
5117
|
-
Row: {
|
|
5118
|
-
connection_id: string;
|
|
5119
|
-
data: import("../../integrations/supabase/types").Json;
|
|
5120
|
-
fetched_at: string;
|
|
5121
|
-
floriday_id: string;
|
|
5122
|
-
id: string;
|
|
5123
|
-
is_deleted: boolean;
|
|
5124
|
-
sequence_number: number;
|
|
5125
|
-
updated_at: string;
|
|
5126
|
-
};
|
|
5127
|
-
Insert: {
|
|
5128
|
-
connection_id: string;
|
|
5129
|
-
data: import("../../integrations/supabase/types").Json;
|
|
5130
|
-
fetched_at?: string;
|
|
5131
|
-
floriday_id: string;
|
|
5132
|
-
id?: string;
|
|
5133
|
-
is_deleted?: boolean;
|
|
5134
|
-
sequence_number?: number;
|
|
5135
|
-
updated_at?: string;
|
|
5136
|
-
};
|
|
5137
|
-
Update: {
|
|
5138
|
-
connection_id?: string;
|
|
5139
|
-
data?: import("../../integrations/supabase/types").Json;
|
|
5140
|
-
fetched_at?: string;
|
|
5141
|
-
floriday_id?: string;
|
|
5142
|
-
id?: string;
|
|
5143
|
-
is_deleted?: boolean;
|
|
5144
|
-
sequence_number?: number;
|
|
5145
|
-
updated_at?: string;
|
|
5146
|
-
};
|
|
5147
|
-
Relationships: [{
|
|
5148
|
-
foreignKeyName: "floriday_trade_settings_customers_cache_connection_id_fkey";
|
|
5149
|
-
columns: ["connection_id"];
|
|
5150
|
-
isOneToOne: false;
|
|
5151
|
-
referencedRelation: "floriday_connections";
|
|
5152
|
-
referencedColumns: ["id"];
|
|
5153
|
-
}];
|
|
5154
|
-
};
|
|
5155
5515
|
floriday_trips_cache: {
|
|
5156
5516
|
Row: {
|
|
5157
5517
|
carrier_organization_id: string | null;
|
|
@@ -5200,27 +5560,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
5200
5560
|
referencedColumns: ["id"];
|
|
5201
5561
|
}];
|
|
5202
5562
|
};
|
|
5203
|
-
floriday_vbn_required_characteristics: {
|
|
5204
|
-
Row: {
|
|
5205
|
-
required_codes: string[];
|
|
5206
|
-
updated_at: string;
|
|
5207
|
-
updated_by: string | null;
|
|
5208
|
-
vbn_code: string;
|
|
5209
|
-
};
|
|
5210
|
-
Insert: {
|
|
5211
|
-
required_codes?: string[];
|
|
5212
|
-
updated_at?: string;
|
|
5213
|
-
updated_by?: string | null;
|
|
5214
|
-
vbn_code: string;
|
|
5215
|
-
};
|
|
5216
|
-
Update: {
|
|
5217
|
-
required_codes?: string[];
|
|
5218
|
-
updated_at?: string;
|
|
5219
|
-
updated_by?: string | null;
|
|
5220
|
-
vbn_code?: string;
|
|
5221
|
-
};
|
|
5222
|
-
Relationships: [];
|
|
5223
|
-
};
|
|
5224
5563
|
floriday_warehouses_cache: {
|
|
5225
5564
|
Row: {
|
|
5226
5565
|
connection_id: string;
|
|
@@ -5701,135 +6040,417 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
5701
6040
|
};
|
|
5702
6041
|
Relationships: [];
|
|
5703
6042
|
};
|
|
5704
|
-
|
|
6043
|
+
itk_contact_persons: {
|
|
5705
6044
|
Row: {
|
|
5706
|
-
base_price: number | null;
|
|
5707
6045
|
created_at: string;
|
|
5708
|
-
currency: string;
|
|
5709
6046
|
customer_id: string;
|
|
6047
|
+
email: string | null;
|
|
5710
6048
|
id: string;
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
product_category_id: string | null;
|
|
5715
|
-
product_id: string | null;
|
|
6049
|
+
name: string;
|
|
6050
|
+
phone: string | null;
|
|
6051
|
+
role: string | null;
|
|
5716
6052
|
updated_at: string;
|
|
5717
|
-
valid_from: string | null;
|
|
5718
|
-
valid_until: string | null;
|
|
5719
6053
|
};
|
|
5720
6054
|
Insert: {
|
|
5721
|
-
base_price?: number | null;
|
|
5722
6055
|
created_at?: string;
|
|
5723
|
-
currency?: string;
|
|
5724
6056
|
customer_id: string;
|
|
6057
|
+
email?: string | null;
|
|
5725
6058
|
id?: string;
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
|
|
5729
|
-
product_category_id?: string | null;
|
|
5730
|
-
product_id?: string | null;
|
|
6059
|
+
name: string;
|
|
6060
|
+
phone?: string | null;
|
|
6061
|
+
role?: string | null;
|
|
5731
6062
|
updated_at?: string;
|
|
5732
|
-
valid_from?: string | null;
|
|
5733
|
-
valid_until?: string | null;
|
|
5734
6063
|
};
|
|
5735
6064
|
Update: {
|
|
5736
|
-
base_price?: number | null;
|
|
5737
6065
|
created_at?: string;
|
|
5738
|
-
currency?: string;
|
|
5739
6066
|
customer_id?: string;
|
|
6067
|
+
email?: string | null;
|
|
5740
6068
|
id?: string;
|
|
5741
|
-
|
|
5742
|
-
|
|
5743
|
-
|
|
5744
|
-
product_category_id?: string | null;
|
|
5745
|
-
product_id?: string | null;
|
|
6069
|
+
name?: string;
|
|
6070
|
+
phone?: string | null;
|
|
6071
|
+
role?: string | null;
|
|
5746
6072
|
updated_at?: string;
|
|
5747
|
-
valid_from?: string | null;
|
|
5748
|
-
valid_until?: string | null;
|
|
5749
6073
|
};
|
|
5750
6074
|
Relationships: [{
|
|
5751
|
-
foreignKeyName: "
|
|
6075
|
+
foreignKeyName: "itk_contact_persons_customer_id_fkey";
|
|
5752
6076
|
columns: ["customer_id"];
|
|
5753
6077
|
isOneToOne: false;
|
|
5754
|
-
referencedRelation: "
|
|
5755
|
-
referencedColumns: ["id"];
|
|
5756
|
-
}, {
|
|
5757
|
-
foreignKeyName: "local_customer_agreements_product_category_id_fkey";
|
|
5758
|
-
columns: ["product_category_id"];
|
|
5759
|
-
isOneToOne: false;
|
|
5760
|
-
referencedRelation: "product_categories";
|
|
5761
|
-
referencedColumns: ["id"];
|
|
5762
|
-
}, {
|
|
5763
|
-
foreignKeyName: "local_customer_agreements_product_id_fkey";
|
|
5764
|
-
columns: ["product_id"];
|
|
5765
|
-
isOneToOne: false;
|
|
5766
|
-
referencedRelation: "products";
|
|
6078
|
+
referencedRelation: "itk_customers";
|
|
5767
6079
|
referencedColumns: ["id"];
|
|
5768
6080
|
}];
|
|
5769
6081
|
};
|
|
5770
|
-
|
|
6082
|
+
itk_customer_dynamic_values: {
|
|
5771
6083
|
Row: {
|
|
5772
6084
|
created_at: string;
|
|
5773
|
-
currency: string;
|
|
5774
6085
|
customer_id: string;
|
|
5775
|
-
|
|
5776
|
-
discount_value: number;
|
|
6086
|
+
field_id: string;
|
|
5777
6087
|
id: string;
|
|
5778
|
-
min_quantity: number;
|
|
5779
|
-
notes: string | null;
|
|
5780
|
-
product_category_id: string | null;
|
|
5781
|
-
product_id: string | null;
|
|
5782
6088
|
updated_at: string;
|
|
5783
|
-
|
|
5784
|
-
valid_until: string | null;
|
|
6089
|
+
value: string | null;
|
|
5785
6090
|
};
|
|
5786
6091
|
Insert: {
|
|
5787
6092
|
created_at?: string;
|
|
5788
|
-
currency?: string;
|
|
5789
6093
|
customer_id: string;
|
|
5790
|
-
|
|
5791
|
-
discount_value: number;
|
|
6094
|
+
field_id: string;
|
|
5792
6095
|
id?: string;
|
|
5793
|
-
min_quantity?: number;
|
|
5794
|
-
notes?: string | null;
|
|
5795
|
-
product_category_id?: string | null;
|
|
5796
|
-
product_id?: string | null;
|
|
5797
6096
|
updated_at?: string;
|
|
5798
|
-
|
|
5799
|
-
valid_until?: string | null;
|
|
6097
|
+
value?: string | null;
|
|
5800
6098
|
};
|
|
5801
6099
|
Update: {
|
|
5802
6100
|
created_at?: string;
|
|
5803
|
-
currency?: string;
|
|
5804
6101
|
customer_id?: string;
|
|
5805
|
-
|
|
5806
|
-
discount_value?: number;
|
|
6102
|
+
field_id?: string;
|
|
5807
6103
|
id?: string;
|
|
5808
|
-
min_quantity?: number;
|
|
5809
|
-
notes?: string | null;
|
|
5810
|
-
product_category_id?: string | null;
|
|
5811
|
-
product_id?: string | null;
|
|
5812
6104
|
updated_at?: string;
|
|
5813
|
-
|
|
5814
|
-
valid_until?: string | null;
|
|
6105
|
+
value?: string | null;
|
|
5815
6106
|
};
|
|
5816
6107
|
Relationships: [{
|
|
5817
|
-
foreignKeyName: "
|
|
6108
|
+
foreignKeyName: "itk_customer_dynamic_values_customer_id_fkey";
|
|
5818
6109
|
columns: ["customer_id"];
|
|
5819
6110
|
isOneToOne: false;
|
|
5820
|
-
referencedRelation: "
|
|
5821
|
-
referencedColumns: ["id"];
|
|
5822
|
-
}, {
|
|
5823
|
-
foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
|
|
5824
|
-
columns: ["product_category_id"];
|
|
5825
|
-
isOneToOne: false;
|
|
5826
|
-
referencedRelation: "product_categories";
|
|
6111
|
+
referencedRelation: "itk_customers";
|
|
5827
6112
|
referencedColumns: ["id"];
|
|
5828
6113
|
}, {
|
|
5829
|
-
foreignKeyName: "
|
|
5830
|
-
columns: ["
|
|
6114
|
+
foreignKeyName: "itk_customer_dynamic_values_field_id_fkey";
|
|
6115
|
+
columns: ["field_id"];
|
|
5831
6116
|
isOneToOne: false;
|
|
5832
|
-
referencedRelation: "
|
|
6117
|
+
referencedRelation: "itk_dynamic_fields";
|
|
6118
|
+
referencedColumns: ["id"];
|
|
6119
|
+
}];
|
|
6120
|
+
};
|
|
6121
|
+
itk_customer_notes: {
|
|
6122
|
+
Row: {
|
|
6123
|
+
body: string;
|
|
6124
|
+
created_at: string;
|
|
6125
|
+
created_by: string | null;
|
|
6126
|
+
customer_id: string;
|
|
6127
|
+
id: string;
|
|
6128
|
+
note_type: string;
|
|
6129
|
+
updated_at: string;
|
|
6130
|
+
};
|
|
6131
|
+
Insert: {
|
|
6132
|
+
body: string;
|
|
6133
|
+
created_at?: string;
|
|
6134
|
+
created_by?: string | null;
|
|
6135
|
+
customer_id: string;
|
|
6136
|
+
id?: string;
|
|
6137
|
+
note_type?: string;
|
|
6138
|
+
updated_at?: string;
|
|
6139
|
+
};
|
|
6140
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
6150
|
+
foreignKeyName: "itk_customer_notes_customer_id_fkey";
|
|
6151
|
+
columns: ["customer_id"];
|
|
6152
|
+
isOneToOne: false;
|
|
6153
|
+
referencedRelation: "itk_customers";
|
|
6154
|
+
referencedColumns: ["id"];
|
|
6155
|
+
}];
|
|
6156
|
+
};
|
|
6157
|
+
itk_customers: {
|
|
6158
|
+
Row: {
|
|
6159
|
+
billing_city: string | null;
|
|
6160
|
+
billing_postcode: string | null;
|
|
6161
|
+
billing_street: string | null;
|
|
6162
|
+
created_at: string;
|
|
6163
|
+
general_email: string | null;
|
|
6164
|
+
general_phone: string | null;
|
|
6165
|
+
id: string;
|
|
6166
|
+
legacy_customer_id: string | null;
|
|
6167
|
+
name: string;
|
|
6168
|
+
segment: import("../../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6169
|
+
updated_at: string;
|
|
6170
|
+
};
|
|
6171
|
+
Insert: {
|
|
6172
|
+
billing_city?: string | null;
|
|
6173
|
+
billing_postcode?: string | null;
|
|
6174
|
+
billing_street?: string | null;
|
|
6175
|
+
created_at?: string;
|
|
6176
|
+
general_email?: string | null;
|
|
6177
|
+
general_phone?: string | null;
|
|
6178
|
+
id?: string;
|
|
6179
|
+
legacy_customer_id?: string | null;
|
|
6180
|
+
name: string;
|
|
6181
|
+
segment?: import("../../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6182
|
+
updated_at?: string;
|
|
6183
|
+
};
|
|
6184
|
+
Update: {
|
|
6185
|
+
billing_city?: string | null;
|
|
6186
|
+
billing_postcode?: string | null;
|
|
6187
|
+
billing_street?: string | null;
|
|
6188
|
+
created_at?: string;
|
|
6189
|
+
general_email?: string | null;
|
|
6190
|
+
general_phone?: string | null;
|
|
6191
|
+
id?: string;
|
|
6192
|
+
legacy_customer_id?: string | null;
|
|
6193
|
+
name?: string;
|
|
6194
|
+
segment?: import("../../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
|
|
6195
|
+
updated_at?: string;
|
|
6196
|
+
};
|
|
6197
|
+
Relationships: [{
|
|
6198
|
+
foreignKeyName: "itk_customers_legacy_customer_id_fkey";
|
|
6199
|
+
columns: ["legacy_customer_id"];
|
|
6200
|
+
isOneToOne: false;
|
|
6201
|
+
referencedRelation: "customers";
|
|
6202
|
+
referencedColumns: ["id"];
|
|
6203
|
+
}];
|
|
6204
|
+
};
|
|
6205
|
+
itk_dynamic_fields: {
|
|
6206
|
+
Row: {
|
|
6207
|
+
created_at: string;
|
|
6208
|
+
field_name: string;
|
|
6209
|
+
field_type: import("../../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
6210
|
+
id: string;
|
|
6211
|
+
options: import("../../integrations/supabase/types").Json;
|
|
6212
|
+
sort_order: number;
|
|
6213
|
+
updated_at: string;
|
|
6214
|
+
};
|
|
6215
|
+
Insert: {
|
|
6216
|
+
created_at?: string;
|
|
6217
|
+
field_name: string;
|
|
6218
|
+
field_type?: import("../../integrations/supabase/types").Database["public"]["Enums"]["itk_dynamic_field_type"];
|
|
6219
|
+
id?: string;
|
|
6220
|
+
options?: import("../../integrations/supabase/types").Json;
|
|
6221
|
+
sort_order?: number;
|
|
6222
|
+
updated_at?: string;
|
|
6223
|
+
};
|
|
6224
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
6234
|
+
};
|
|
6235
|
+
itk_work_locations: {
|
|
6236
|
+
Row: {
|
|
6237
|
+
city: string | null;
|
|
6238
|
+
created_at: string;
|
|
6239
|
+
customer_id: string;
|
|
6240
|
+
id: string;
|
|
6241
|
+
instructions: string | null;
|
|
6242
|
+
label: string;
|
|
6243
|
+
latitude: number | null;
|
|
6244
|
+
longitude: number | null;
|
|
6245
|
+
postcode: string | null;
|
|
6246
|
+
street: string | null;
|
|
6247
|
+
updated_at: string;
|
|
6248
|
+
};
|
|
6249
|
+
Insert: {
|
|
6250
|
+
city?: string | null;
|
|
6251
|
+
created_at?: string;
|
|
6252
|
+
customer_id: string;
|
|
6253
|
+
id?: string;
|
|
6254
|
+
instructions?: string | null;
|
|
6255
|
+
label: string;
|
|
6256
|
+
latitude?: number | null;
|
|
6257
|
+
longitude?: number | null;
|
|
6258
|
+
postcode?: string | null;
|
|
6259
|
+
street?: string | null;
|
|
6260
|
+
updated_at?: string;
|
|
6261
|
+
};
|
|
6262
|
+
Update: {
|
|
6263
|
+
city?: string | null;
|
|
6264
|
+
created_at?: string;
|
|
6265
|
+
customer_id?: string;
|
|
6266
|
+
id?: string;
|
|
6267
|
+
instructions?: string | null;
|
|
6268
|
+
label?: string;
|
|
6269
|
+
latitude?: number | null;
|
|
6270
|
+
longitude?: number | null;
|
|
6271
|
+
postcode?: string | null;
|
|
6272
|
+
street?: string | null;
|
|
6273
|
+
updated_at?: string;
|
|
6274
|
+
};
|
|
6275
|
+
Relationships: [{
|
|
6276
|
+
foreignKeyName: "itk_work_locations_customer_id_fkey";
|
|
6277
|
+
columns: ["customer_id"];
|
|
6278
|
+
isOneToOne: false;
|
|
6279
|
+
referencedRelation: "itk_customers";
|
|
6280
|
+
referencedColumns: ["id"];
|
|
6281
|
+
}];
|
|
6282
|
+
};
|
|
6283
|
+
leave_requests: {
|
|
6284
|
+
Row: {
|
|
6285
|
+
created_at: string;
|
|
6286
|
+
end_date: string;
|
|
6287
|
+
id: string;
|
|
6288
|
+
reason: string | null;
|
|
6289
|
+
start_date: string;
|
|
6290
|
+
status: string;
|
|
6291
|
+
tenant_id: string;
|
|
6292
|
+
updated_at: string;
|
|
6293
|
+
user_id: string;
|
|
6294
|
+
};
|
|
6295
|
+
Insert: {
|
|
6296
|
+
created_at?: string;
|
|
6297
|
+
end_date: string;
|
|
6298
|
+
id?: string;
|
|
6299
|
+
reason?: string | null;
|
|
6300
|
+
start_date: string;
|
|
6301
|
+
status?: string;
|
|
6302
|
+
tenant_id?: string;
|
|
6303
|
+
updated_at?: string;
|
|
6304
|
+
user_id: string;
|
|
6305
|
+
};
|
|
6306
|
+
Update: {
|
|
6307
|
+
created_at?: string;
|
|
6308
|
+
end_date?: string;
|
|
6309
|
+
id?: string;
|
|
6310
|
+
reason?: string | null;
|
|
6311
|
+
start_date?: string;
|
|
6312
|
+
status?: string;
|
|
6313
|
+
tenant_id?: string;
|
|
6314
|
+
updated_at?: string;
|
|
6315
|
+
user_id?: string;
|
|
6316
|
+
};
|
|
6317
|
+
Relationships: [{
|
|
6318
|
+
foreignKeyName: "leave_requests_user_id_fkey";
|
|
6319
|
+
columns: ["user_id"];
|
|
6320
|
+
isOneToOne: false;
|
|
6321
|
+
referencedRelation: "monteurs";
|
|
6322
|
+
referencedColumns: ["id"];
|
|
6323
|
+
}];
|
|
6324
|
+
};
|
|
6325
|
+
local_customer_agreements: {
|
|
6326
|
+
Row: {
|
|
6327
|
+
base_price: number | null;
|
|
6328
|
+
created_at: string;
|
|
6329
|
+
currency: string;
|
|
6330
|
+
customer_id: string;
|
|
6331
|
+
id: string;
|
|
6332
|
+
min_quantity: number;
|
|
6333
|
+
net_price: number;
|
|
6334
|
+
notes: string | null;
|
|
6335
|
+
product_category_id: string | null;
|
|
6336
|
+
product_id: string | null;
|
|
6337
|
+
updated_at: string;
|
|
6338
|
+
valid_from: string | null;
|
|
6339
|
+
valid_until: string | null;
|
|
6340
|
+
};
|
|
6341
|
+
Insert: {
|
|
6342
|
+
base_price?: number | null;
|
|
6343
|
+
created_at?: string;
|
|
6344
|
+
currency?: string;
|
|
6345
|
+
customer_id: string;
|
|
6346
|
+
id?: string;
|
|
6347
|
+
min_quantity?: number;
|
|
6348
|
+
net_price: number;
|
|
6349
|
+
notes?: string | null;
|
|
6350
|
+
product_category_id?: string | null;
|
|
6351
|
+
product_id?: string | null;
|
|
6352
|
+
updated_at?: string;
|
|
6353
|
+
valid_from?: string | null;
|
|
6354
|
+
valid_until?: string | null;
|
|
6355
|
+
};
|
|
6356
|
+
Update: {
|
|
6357
|
+
base_price?: number | null;
|
|
6358
|
+
created_at?: string;
|
|
6359
|
+
currency?: string;
|
|
6360
|
+
customer_id?: string;
|
|
6361
|
+
id?: string;
|
|
6362
|
+
min_quantity?: number;
|
|
6363
|
+
net_price?: number;
|
|
6364
|
+
notes?: string | null;
|
|
6365
|
+
product_category_id?: string | null;
|
|
6366
|
+
product_id?: string | null;
|
|
6367
|
+
updated_at?: string;
|
|
6368
|
+
valid_from?: string | null;
|
|
6369
|
+
valid_until?: string | null;
|
|
6370
|
+
};
|
|
6371
|
+
Relationships: [{
|
|
6372
|
+
foreignKeyName: "local_customer_agreements_customer_id_fkey";
|
|
6373
|
+
columns: ["customer_id"];
|
|
6374
|
+
isOneToOne: false;
|
|
6375
|
+
referencedRelation: "customers";
|
|
6376
|
+
referencedColumns: ["id"];
|
|
6377
|
+
}, {
|
|
6378
|
+
foreignKeyName: "local_customer_agreements_product_category_id_fkey";
|
|
6379
|
+
columns: ["product_category_id"];
|
|
6380
|
+
isOneToOne: false;
|
|
6381
|
+
referencedRelation: "product_categories";
|
|
6382
|
+
referencedColumns: ["id"];
|
|
6383
|
+
}, {
|
|
6384
|
+
foreignKeyName: "local_customer_agreements_product_id_fkey";
|
|
6385
|
+
columns: ["product_id"];
|
|
6386
|
+
isOneToOne: false;
|
|
6387
|
+
referencedRelation: "products";
|
|
6388
|
+
referencedColumns: ["id"];
|
|
6389
|
+
}];
|
|
6390
|
+
};
|
|
6391
|
+
local_customer_price_groups: {
|
|
6392
|
+
Row: {
|
|
6393
|
+
created_at: string;
|
|
6394
|
+
currency: string;
|
|
6395
|
+
customer_id: string;
|
|
6396
|
+
discount_type: string;
|
|
6397
|
+
discount_value: number;
|
|
6398
|
+
id: string;
|
|
6399
|
+
min_quantity: number;
|
|
6400
|
+
notes: string | null;
|
|
6401
|
+
product_category_id: string | null;
|
|
6402
|
+
product_id: string | null;
|
|
6403
|
+
updated_at: string;
|
|
6404
|
+
valid_from: string | null;
|
|
6405
|
+
valid_until: string | null;
|
|
6406
|
+
};
|
|
6407
|
+
Insert: {
|
|
6408
|
+
created_at?: string;
|
|
6409
|
+
currency?: string;
|
|
6410
|
+
customer_id: string;
|
|
6411
|
+
discount_type: string;
|
|
6412
|
+
discount_value: number;
|
|
6413
|
+
id?: string;
|
|
6414
|
+
min_quantity?: number;
|
|
6415
|
+
notes?: string | null;
|
|
6416
|
+
product_category_id?: string | null;
|
|
6417
|
+
product_id?: string | null;
|
|
6418
|
+
updated_at?: string;
|
|
6419
|
+
valid_from?: string | null;
|
|
6420
|
+
valid_until?: string | null;
|
|
6421
|
+
};
|
|
6422
|
+
Update: {
|
|
6423
|
+
created_at?: string;
|
|
6424
|
+
currency?: string;
|
|
6425
|
+
customer_id?: string;
|
|
6426
|
+
discount_type?: string;
|
|
6427
|
+
discount_value?: number;
|
|
6428
|
+
id?: string;
|
|
6429
|
+
min_quantity?: number;
|
|
6430
|
+
notes?: string | null;
|
|
6431
|
+
product_category_id?: string | null;
|
|
6432
|
+
product_id?: string | null;
|
|
6433
|
+
updated_at?: string;
|
|
6434
|
+
valid_from?: string | null;
|
|
6435
|
+
valid_until?: string | null;
|
|
6436
|
+
};
|
|
6437
|
+
Relationships: [{
|
|
6438
|
+
foreignKeyName: "local_customer_price_groups_customer_id_fkey";
|
|
6439
|
+
columns: ["customer_id"];
|
|
6440
|
+
isOneToOne: false;
|
|
6441
|
+
referencedRelation: "customers";
|
|
6442
|
+
referencedColumns: ["id"];
|
|
6443
|
+
}, {
|
|
6444
|
+
foreignKeyName: "local_customer_price_groups_product_category_id_fkey";
|
|
6445
|
+
columns: ["product_category_id"];
|
|
6446
|
+
isOneToOne: false;
|
|
6447
|
+
referencedRelation: "product_categories";
|
|
6448
|
+
referencedColumns: ["id"];
|
|
6449
|
+
}, {
|
|
6450
|
+
foreignKeyName: "local_customer_price_groups_product_id_fkey";
|
|
6451
|
+
columns: ["product_id"];
|
|
6452
|
+
isOneToOne: false;
|
|
6453
|
+
referencedRelation: "products";
|
|
5833
6454
|
referencedColumns: ["id"];
|
|
5834
6455
|
}];
|
|
5835
6456
|
};
|
|
@@ -6597,60 +7218,66 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
6597
7218
|
};
|
|
6598
7219
|
manufacture_products: {
|
|
6599
7220
|
Row: {
|
|
6600
|
-
aantal_te_produceren: number;
|
|
6601
7221
|
created_at: string;
|
|
6602
7222
|
description: string | null;
|
|
6603
7223
|
id: string;
|
|
6604
7224
|
is_active: boolean;
|
|
6605
|
-
location_id: string | null;
|
|
6606
7225
|
name: string;
|
|
6607
|
-
partij_nummer: string | null;
|
|
6608
|
-
photos: import("../../integrations/supabase/types").Json;
|
|
6609
7226
|
produced_stock: number;
|
|
6610
7227
|
product_code: string;
|
|
6611
7228
|
tenant_id: string;
|
|
6612
|
-
unit: string;
|
|
6613
7229
|
updated_at: string;
|
|
6614
7230
|
};
|
|
6615
7231
|
Insert: {
|
|
6616
|
-
aantal_te_produceren?: number;
|
|
6617
7232
|
created_at?: string;
|
|
6618
7233
|
description?: string | null;
|
|
6619
7234
|
id?: string;
|
|
6620
7235
|
is_active?: boolean;
|
|
6621
|
-
location_id?: string | null;
|
|
6622
7236
|
name: string;
|
|
6623
|
-
partij_nummer?: string | null;
|
|
6624
|
-
photos?: import("../../integrations/supabase/types").Json;
|
|
6625
7237
|
produced_stock?: number;
|
|
6626
7238
|
product_code: string;
|
|
6627
7239
|
tenant_id: string;
|
|
6628
|
-
unit?: string;
|
|
6629
7240
|
updated_at?: string;
|
|
6630
7241
|
};
|
|
6631
7242
|
Update: {
|
|
6632
|
-
aantal_te_produceren?: number;
|
|
6633
7243
|
created_at?: string;
|
|
6634
7244
|
description?: string | null;
|
|
6635
7245
|
id?: string;
|
|
6636
7246
|
is_active?: boolean;
|
|
6637
|
-
location_id?: string | null;
|
|
6638
7247
|
name?: string;
|
|
6639
|
-
partij_nummer?: string | null;
|
|
6640
|
-
photos?: import("../../integrations/supabase/types").Json;
|
|
6641
7248
|
produced_stock?: number;
|
|
6642
7249
|
product_code?: string;
|
|
6643
7250
|
tenant_id?: string;
|
|
6644
|
-
unit?: string;
|
|
6645
7251
|
updated_at?: string;
|
|
6646
7252
|
};
|
|
6647
|
-
Relationships: [
|
|
6648
|
-
|
|
6649
|
-
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
7253
|
+
Relationships: [];
|
|
7254
|
+
};
|
|
7255
|
+
module_permissions: {
|
|
7256
|
+
Row: {
|
|
7257
|
+
created_at: string;
|
|
7258
|
+
id: string;
|
|
7259
|
+
module_id: string;
|
|
7260
|
+
permission: string;
|
|
7261
|
+
role: import("../../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7262
|
+
updated_at: string;
|
|
7263
|
+
};
|
|
7264
|
+
Insert: {
|
|
7265
|
+
created_at?: string;
|
|
7266
|
+
id?: string;
|
|
7267
|
+
module_id: string;
|
|
7268
|
+
permission: string;
|
|
7269
|
+
role: import("../../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7270
|
+
updated_at?: string;
|
|
7271
|
+
};
|
|
7272
|
+
Update: {
|
|
7273
|
+
created_at?: string;
|
|
7274
|
+
id?: string;
|
|
7275
|
+
module_id?: string;
|
|
7276
|
+
permission?: string;
|
|
7277
|
+
role?: import("../../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
7278
|
+
updated_at?: string;
|
|
7279
|
+
};
|
|
7280
|
+
Relationships: [];
|
|
6654
7281
|
};
|
|
6655
7282
|
monteurs: {
|
|
6656
7283
|
Row: {
|
|
@@ -7969,6 +8596,78 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
7969
8596
|
};
|
|
7970
8597
|
Relationships: [];
|
|
7971
8598
|
};
|
|
8599
|
+
planning_item_assistants: {
|
|
8600
|
+
Row: {
|
|
8601
|
+
created_at: string;
|
|
8602
|
+
created_by: string | null;
|
|
8603
|
+
monteur_id: string;
|
|
8604
|
+
planning_item_id: string;
|
|
8605
|
+
};
|
|
8606
|
+
Insert: {
|
|
8607
|
+
created_at?: string;
|
|
8608
|
+
created_by?: string | null;
|
|
8609
|
+
monteur_id: string;
|
|
8610
|
+
planning_item_id: string;
|
|
8611
|
+
};
|
|
8612
|
+
Update: {
|
|
8613
|
+
created_at?: string;
|
|
8614
|
+
created_by?: string | null;
|
|
8615
|
+
monteur_id?: string;
|
|
8616
|
+
planning_item_id?: string;
|
|
8617
|
+
};
|
|
8618
|
+
Relationships: [{
|
|
8619
|
+
foreignKeyName: "planning_item_assistants_planning_item_id_fkey";
|
|
8620
|
+
columns: ["planning_item_id"];
|
|
8621
|
+
isOneToOne: false;
|
|
8622
|
+
referencedRelation: "planning_items";
|
|
8623
|
+
referencedColumns: ["id"];
|
|
8624
|
+
}];
|
|
8625
|
+
};
|
|
8626
|
+
planning_items: {
|
|
8627
|
+
Row: {
|
|
8628
|
+
assigned_monteur_id: string;
|
|
8629
|
+
created_at: string;
|
|
8630
|
+
created_by: string | null;
|
|
8631
|
+
end_at: string;
|
|
8632
|
+
id: string;
|
|
8633
|
+
notes: string | null;
|
|
8634
|
+
start_at: string;
|
|
8635
|
+
status: import("../../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8636
|
+
updated_at: string;
|
|
8637
|
+
werkbon_id: string;
|
|
8638
|
+
};
|
|
8639
|
+
Insert: {
|
|
8640
|
+
assigned_monteur_id: string;
|
|
8641
|
+
created_at?: string;
|
|
8642
|
+
created_by?: string | null;
|
|
8643
|
+
end_at: string;
|
|
8644
|
+
id?: string;
|
|
8645
|
+
notes?: string | null;
|
|
8646
|
+
start_at: string;
|
|
8647
|
+
status?: import("../../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8648
|
+
updated_at?: string;
|
|
8649
|
+
werkbon_id: string;
|
|
8650
|
+
};
|
|
8651
|
+
Update: {
|
|
8652
|
+
assigned_monteur_id?: string;
|
|
8653
|
+
created_at?: string;
|
|
8654
|
+
created_by?: string | null;
|
|
8655
|
+
end_at?: string;
|
|
8656
|
+
id?: string;
|
|
8657
|
+
notes?: string | null;
|
|
8658
|
+
start_at?: string;
|
|
8659
|
+
status?: import("../../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
8660
|
+
updated_at?: string;
|
|
8661
|
+
werkbon_id?: string;
|
|
8662
|
+
};
|
|
8663
|
+
Relationships: [{
|
|
8664
|
+
foreignKeyName: "planning_items_werkbon_id_fkey";
|
|
8665
|
+
columns: ["werkbon_id"];
|
|
8666
|
+
isOneToOne: false;
|
|
8667
|
+
referencedRelation: "werkbonnen";
|
|
8668
|
+
referencedColumns: ["id"];
|
|
8669
|
+
}];
|
|
8670
|
+
};
|
|
7972
8671
|
product_bom_items: {
|
|
7973
8672
|
Row: {
|
|
7974
8673
|
component_product_id: string | null;
|
|
@@ -8310,8 +9009,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8310
9009
|
crates_per_layer: number;
|
|
8311
9010
|
created_at: string;
|
|
8312
9011
|
custom_fields: import("../../integrations/supabase/types").Json;
|
|
8313
|
-
floriday_active: boolean;
|
|
8314
|
-
floriday_payload: import("../../integrations/supabase/types").Json;
|
|
8315
9012
|
floriday_trade_item_id: string | null;
|
|
8316
9013
|
id: string;
|
|
8317
9014
|
image_url: string | null;
|
|
@@ -8329,8 +9026,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8329
9026
|
trade_item_key: string | null;
|
|
8330
9027
|
unit: string;
|
|
8331
9028
|
updated_at: string;
|
|
8332
|
-
vat_code: string | null;
|
|
8333
|
-
vat_rate: number | null;
|
|
8334
9029
|
weight: string | null;
|
|
8335
9030
|
};
|
|
8336
9031
|
Insert: {
|
|
@@ -8340,8 +9035,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8340
9035
|
crates_per_layer?: number;
|
|
8341
9036
|
created_at?: string;
|
|
8342
9037
|
custom_fields?: import("../../integrations/supabase/types").Json;
|
|
8343
|
-
floriday_active?: boolean;
|
|
8344
|
-
floriday_payload?: import("../../integrations/supabase/types").Json;
|
|
8345
9038
|
floriday_trade_item_id?: string | null;
|
|
8346
9039
|
id?: string;
|
|
8347
9040
|
image_url?: string | null;
|
|
@@ -8359,8 +9052,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8359
9052
|
trade_item_key?: string | null;
|
|
8360
9053
|
unit?: string;
|
|
8361
9054
|
updated_at?: string;
|
|
8362
|
-
vat_code?: string | null;
|
|
8363
|
-
vat_rate?: number | null;
|
|
8364
9055
|
weight?: string | null;
|
|
8365
9056
|
};
|
|
8366
9057
|
Update: {
|
|
@@ -8370,8 +9061,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8370
9061
|
crates_per_layer?: number;
|
|
8371
9062
|
created_at?: string;
|
|
8372
9063
|
custom_fields?: import("../../integrations/supabase/types").Json;
|
|
8373
|
-
floriday_active?: boolean;
|
|
8374
|
-
floriday_payload?: import("../../integrations/supabase/types").Json;
|
|
8375
9064
|
floriday_trade_item_id?: string | null;
|
|
8376
9065
|
id?: string;
|
|
8377
9066
|
image_url?: string | null;
|
|
@@ -8389,8 +9078,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8389
9078
|
trade_item_key?: string | null;
|
|
8390
9079
|
unit?: string;
|
|
8391
9080
|
updated_at?: string;
|
|
8392
|
-
vat_code?: string | null;
|
|
8393
|
-
vat_rate?: number | null;
|
|
8394
9081
|
weight?: string | null;
|
|
8395
9082
|
};
|
|
8396
9083
|
Relationships: [];
|
|
@@ -8398,6 +9085,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8398
9085
|
profiles: {
|
|
8399
9086
|
Row: {
|
|
8400
9087
|
address: string | null;
|
|
9088
|
+
avatar_url: string | null;
|
|
8401
9089
|
created_at: string;
|
|
8402
9090
|
display_name: string | null;
|
|
8403
9091
|
email: string | null;
|
|
@@ -8409,6 +9097,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8409
9097
|
};
|
|
8410
9098
|
Insert: {
|
|
8411
9099
|
address?: string | null;
|
|
9100
|
+
avatar_url?: string | null;
|
|
8412
9101
|
created_at?: string;
|
|
8413
9102
|
display_name?: string | null;
|
|
8414
9103
|
email?: string | null;
|
|
@@ -8420,6 +9109,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
8420
9109
|
};
|
|
8421
9110
|
Update: {
|
|
8422
9111
|
address?: string | null;
|
|
9112
|
+
avatar_url?: string | null;
|
|
8423
9113
|
created_at?: string;
|
|
8424
9114
|
display_name?: string | null;
|
|
8425
9115
|
email?: string | null;
|
|
@@ -9284,7 +9974,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9284
9974
|
order_id: string | null;
|
|
9285
9975
|
order_item_id: string | null;
|
|
9286
9976
|
order_source: string | null;
|
|
9287
|
-
parent_trade_item_key: string | null;
|
|
9288
9977
|
physical_after: number | null;
|
|
9289
9978
|
physical_before: number | null;
|
|
9290
9979
|
production_batch_id: string | null;
|
|
@@ -9303,7 +9992,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9303
9992
|
order_id?: string | null;
|
|
9304
9993
|
order_item_id?: string | null;
|
|
9305
9994
|
order_source?: string | null;
|
|
9306
|
-
parent_trade_item_key?: string | null;
|
|
9307
9995
|
physical_after?: number | null;
|
|
9308
9996
|
physical_before?: number | null;
|
|
9309
9997
|
production_batch_id?: string | null;
|
|
@@ -9322,7 +10010,6 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9322
10010
|
order_id?: string | null;
|
|
9323
10011
|
order_item_id?: string | null;
|
|
9324
10012
|
order_source?: string | null;
|
|
9325
|
-
parent_trade_item_key?: string | null;
|
|
9326
10013
|
physical_after?: number | null;
|
|
9327
10014
|
physical_before?: number | null;
|
|
9328
10015
|
production_batch_id?: string | null;
|
|
@@ -9412,18 +10099,39 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9412
10099
|
updated_at?: string;
|
|
9413
10100
|
};
|
|
9414
10101
|
Update: {
|
|
9415
|
-
address?: string | null;
|
|
9416
|
-
column_mappings?: import("../../integrations/supabase/types").Json | null;
|
|
9417
|
-
contact_person?: string | null;
|
|
10102
|
+
address?: string | null;
|
|
10103
|
+
column_mappings?: import("../../integrations/supabase/types").Json | null;
|
|
10104
|
+
contact_person?: string | null;
|
|
10105
|
+
created_at?: string;
|
|
10106
|
+
default_product_type?: string;
|
|
10107
|
+
email?: string | null;
|
|
10108
|
+
id?: string;
|
|
10109
|
+
imported_file_name?: string | null;
|
|
10110
|
+
name?: string;
|
|
10111
|
+
notes?: string | null;
|
|
10112
|
+
phone?: string | null;
|
|
10113
|
+
updated_at?: string;
|
|
10114
|
+
};
|
|
10115
|
+
Relationships: [];
|
|
10116
|
+
};
|
|
10117
|
+
technician_rates: {
|
|
10118
|
+
Row: {
|
|
10119
|
+
created_at: string;
|
|
10120
|
+
hourly_rate_cents: number;
|
|
10121
|
+
updated_at: string;
|
|
10122
|
+
user_id: string;
|
|
10123
|
+
};
|
|
10124
|
+
Insert: {
|
|
10125
|
+
created_at?: string;
|
|
10126
|
+
hourly_rate_cents?: number;
|
|
10127
|
+
updated_at?: string;
|
|
10128
|
+
user_id: string;
|
|
10129
|
+
};
|
|
10130
|
+
Update: {
|
|
9418
10131
|
created_at?: string;
|
|
9419
|
-
|
|
9420
|
-
email?: string | null;
|
|
9421
|
-
id?: string;
|
|
9422
|
-
imported_file_name?: string | null;
|
|
9423
|
-
name?: string;
|
|
9424
|
-
notes?: string | null;
|
|
9425
|
-
phone?: string | null;
|
|
10132
|
+
hourly_rate_cents?: number;
|
|
9426
10133
|
updated_at?: string;
|
|
10134
|
+
user_id?: string;
|
|
9427
10135
|
};
|
|
9428
10136
|
Relationships: [];
|
|
9429
10137
|
};
|
|
@@ -9826,7 +10534,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9826
10534
|
twinfield_connections: {
|
|
9827
10535
|
Row: {
|
|
9828
10536
|
access_token: string | null;
|
|
9829
|
-
client_id: string
|
|
10537
|
+
client_id: string;
|
|
9830
10538
|
client_secret: string | null;
|
|
9831
10539
|
cluster_uri: string | null;
|
|
9832
10540
|
company_code: string | null;
|
|
@@ -9838,7 +10546,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9838
10546
|
is_active: boolean;
|
|
9839
10547
|
label: string | null;
|
|
9840
10548
|
office_code: string | null;
|
|
9841
|
-
redirect_uri: string
|
|
10549
|
+
redirect_uri: string;
|
|
9842
10550
|
refresh_token: string | null;
|
|
9843
10551
|
token_expires_at: string | null;
|
|
9844
10552
|
updated_at: string;
|
|
@@ -9846,7 +10554,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9846
10554
|
};
|
|
9847
10555
|
Insert: {
|
|
9848
10556
|
access_token?: string | null;
|
|
9849
|
-
client_id
|
|
10557
|
+
client_id: string;
|
|
9850
10558
|
client_secret?: string | null;
|
|
9851
10559
|
cluster_uri?: string | null;
|
|
9852
10560
|
company_code?: string | null;
|
|
@@ -9858,7 +10566,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9858
10566
|
is_active?: boolean;
|
|
9859
10567
|
label?: string | null;
|
|
9860
10568
|
office_code?: string | null;
|
|
9861
|
-
redirect_uri
|
|
10569
|
+
redirect_uri: string;
|
|
9862
10570
|
refresh_token?: string | null;
|
|
9863
10571
|
token_expires_at?: string | null;
|
|
9864
10572
|
updated_at?: string;
|
|
@@ -9866,7 +10574,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9866
10574
|
};
|
|
9867
10575
|
Update: {
|
|
9868
10576
|
access_token?: string | null;
|
|
9869
|
-
client_id?: string
|
|
10577
|
+
client_id?: string;
|
|
9870
10578
|
client_secret?: string | null;
|
|
9871
10579
|
cluster_uri?: string | null;
|
|
9872
10580
|
company_code?: string | null;
|
|
@@ -9878,7 +10586,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9878
10586
|
is_active?: boolean;
|
|
9879
10587
|
label?: string | null;
|
|
9880
10588
|
office_code?: string | null;
|
|
9881
|
-
redirect_uri?: string
|
|
10589
|
+
redirect_uri?: string;
|
|
9882
10590
|
refresh_token?: string | null;
|
|
9883
10591
|
token_expires_at?: string | null;
|
|
9884
10592
|
updated_at?: string;
|
|
@@ -9938,6 +10646,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9938
10646
|
country: string | null;
|
|
9939
10647
|
created_at: string;
|
|
9940
10648
|
email: string | null;
|
|
10649
|
+
external_group_key: string | null;
|
|
9941
10650
|
id: string;
|
|
9942
10651
|
last_synced_at: string | null;
|
|
9943
10652
|
name: string;
|
|
@@ -9956,6 +10665,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9956
10665
|
country?: string | null;
|
|
9957
10666
|
created_at?: string;
|
|
9958
10667
|
email?: string | null;
|
|
10668
|
+
external_group_key?: string | null;
|
|
9959
10669
|
id?: string;
|
|
9960
10670
|
last_synced_at?: string | null;
|
|
9961
10671
|
name: string;
|
|
@@ -9974,6 +10684,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
9974
10684
|
country?: string | null;
|
|
9975
10685
|
created_at?: string;
|
|
9976
10686
|
email?: string | null;
|
|
10687
|
+
external_group_key?: string | null;
|
|
9977
10688
|
id?: string;
|
|
9978
10689
|
last_synced_at?: string | null;
|
|
9979
10690
|
name?: string;
|
|
@@ -10183,6 +10894,8 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10183
10894
|
twinfield_invoice_settings: {
|
|
10184
10895
|
Row: {
|
|
10185
10896
|
created_at: string;
|
|
10897
|
+
debtor_gl_account: string;
|
|
10898
|
+
default_credit_invoice_type: string | null;
|
|
10186
10899
|
default_gl_account: string;
|
|
10187
10900
|
default_invoice_type: string;
|
|
10188
10901
|
default_payment_term_days: number;
|
|
@@ -10191,11 +10904,15 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10191
10904
|
invoice_enabled_fo: boolean;
|
|
10192
10905
|
invoice_enabled_ho: boolean;
|
|
10193
10906
|
invoice_enabled_mo: boolean;
|
|
10907
|
+
payment_gl_account: string;
|
|
10908
|
+
payment_journal_code: string;
|
|
10194
10909
|
updated_at: string;
|
|
10195
10910
|
user_id: string;
|
|
10196
10911
|
};
|
|
10197
10912
|
Insert: {
|
|
10198
10913
|
created_at?: string;
|
|
10914
|
+
debtor_gl_account?: string;
|
|
10915
|
+
default_credit_invoice_type?: string | null;
|
|
10199
10916
|
default_gl_account?: string;
|
|
10200
10917
|
default_invoice_type?: string;
|
|
10201
10918
|
default_payment_term_days?: number;
|
|
@@ -10204,11 +10921,15 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10204
10921
|
invoice_enabled_fo?: boolean;
|
|
10205
10922
|
invoice_enabled_ho?: boolean;
|
|
10206
10923
|
invoice_enabled_mo?: boolean;
|
|
10924
|
+
payment_gl_account?: string;
|
|
10925
|
+
payment_journal_code?: string;
|
|
10207
10926
|
updated_at?: string;
|
|
10208
10927
|
user_id: string;
|
|
10209
10928
|
};
|
|
10210
10929
|
Update: {
|
|
10211
10930
|
created_at?: string;
|
|
10931
|
+
debtor_gl_account?: string;
|
|
10932
|
+
default_credit_invoice_type?: string | null;
|
|
10212
10933
|
default_gl_account?: string;
|
|
10213
10934
|
default_invoice_type?: string;
|
|
10214
10935
|
default_payment_term_days?: number;
|
|
@@ -10217,6 +10938,8 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10217
10938
|
invoice_enabled_fo?: boolean;
|
|
10218
10939
|
invoice_enabled_ho?: boolean;
|
|
10219
10940
|
invoice_enabled_mo?: boolean;
|
|
10941
|
+
payment_gl_account?: string;
|
|
10942
|
+
payment_journal_code?: string;
|
|
10220
10943
|
updated_at?: string;
|
|
10221
10944
|
user_id?: string;
|
|
10222
10945
|
};
|
|
@@ -10437,43 +11160,49 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10437
11160
|
};
|
|
10438
11161
|
twinfield_push_queue: {
|
|
10439
11162
|
Row: {
|
|
11163
|
+
action: string;
|
|
10440
11164
|
attempts: number;
|
|
10441
11165
|
connection_id: string;
|
|
10442
11166
|
created_at: string;
|
|
11167
|
+
customer_id: string | null;
|
|
10443
11168
|
external_id: string | null;
|
|
10444
11169
|
id: string;
|
|
10445
11170
|
idempotency_key: string;
|
|
10446
11171
|
last_error: string | null;
|
|
10447
11172
|
next_attempt_at: string;
|
|
10448
|
-
office_code: string;
|
|
11173
|
+
office_code: string | null;
|
|
10449
11174
|
payload: import("../../integrations/supabase/types").Json;
|
|
10450
11175
|
status: string;
|
|
10451
11176
|
updated_at: string;
|
|
10452
11177
|
};
|
|
10453
11178
|
Insert: {
|
|
11179
|
+
action?: string;
|
|
10454
11180
|
attempts?: number;
|
|
10455
11181
|
connection_id: string;
|
|
10456
11182
|
created_at?: string;
|
|
11183
|
+
customer_id?: string | null;
|
|
10457
11184
|
external_id?: string | null;
|
|
10458
11185
|
id?: string;
|
|
10459
11186
|
idempotency_key: string;
|
|
10460
11187
|
last_error?: string | null;
|
|
10461
11188
|
next_attempt_at?: string;
|
|
10462
|
-
office_code
|
|
11189
|
+
office_code?: string | null;
|
|
10463
11190
|
payload: import("../../integrations/supabase/types").Json;
|
|
10464
11191
|
status?: string;
|
|
10465
11192
|
updated_at?: string;
|
|
10466
11193
|
};
|
|
10467
11194
|
Update: {
|
|
11195
|
+
action?: string;
|
|
10468
11196
|
attempts?: number;
|
|
10469
11197
|
connection_id?: string;
|
|
10470
11198
|
created_at?: string;
|
|
11199
|
+
customer_id?: string | null;
|
|
10471
11200
|
external_id?: string | null;
|
|
10472
11201
|
id?: string;
|
|
10473
11202
|
idempotency_key?: string;
|
|
10474
11203
|
last_error?: string | null;
|
|
10475
11204
|
next_attempt_at?: string;
|
|
10476
|
-
office_code?: string;
|
|
11205
|
+
office_code?: string | null;
|
|
10477
11206
|
payload?: import("../../integrations/supabase/types").Json;
|
|
10478
11207
|
status?: string;
|
|
10479
11208
|
updated_at?: string;
|
|
@@ -10484,6 +11213,12 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10484
11213
|
isOneToOne: false;
|
|
10485
11214
|
referencedRelation: "twinfield_connections";
|
|
10486
11215
|
referencedColumns: ["id"];
|
|
11216
|
+
}, {
|
|
11217
|
+
foreignKeyName: "twinfield_push_queue_customer_id_fkey";
|
|
11218
|
+
columns: ["customer_id"];
|
|
11219
|
+
isOneToOne: false;
|
|
11220
|
+
referencedRelation: "customers";
|
|
11221
|
+
referencedColumns: ["id"];
|
|
10487
11222
|
}];
|
|
10488
11223
|
};
|
|
10489
11224
|
twinfield_request_metrics: {
|
|
@@ -10671,93 +11406,441 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10671
11406
|
size_bytes: number | null;
|
|
10672
11407
|
};
|
|
10673
11408
|
Insert: {
|
|
10674
|
-
action?: string;
|
|
10675
|
-
attempt_number?: number;
|
|
10676
|
-
caller?: string;
|
|
10677
|
-
client_user_id?: string | null;
|
|
10678
|
-
content_type?: string | null;
|
|
11409
|
+
action?: string;
|
|
11410
|
+
attempt_number?: number;
|
|
11411
|
+
caller?: string;
|
|
11412
|
+
client_user_id?: string | null;
|
|
11413
|
+
content_type?: string | null;
|
|
11414
|
+
created_at?: string;
|
|
11415
|
+
environment: string;
|
|
11416
|
+
error_message?: string | null;
|
|
11417
|
+
filename?: string | null;
|
|
11418
|
+
id?: string;
|
|
11419
|
+
idempotency_key?: string | null;
|
|
11420
|
+
module?: string;
|
|
11421
|
+
path: string;
|
|
11422
|
+
reference_id?: string | null;
|
|
11423
|
+
request_body_hash?: string | null;
|
|
11424
|
+
request_timestamp?: number | null;
|
|
11425
|
+
response_content_type?: string | null;
|
|
11426
|
+
response_status?: number | null;
|
|
11427
|
+
size_bytes?: number | null;
|
|
11428
|
+
};
|
|
11429
|
+
Update: {
|
|
11430
|
+
action?: string;
|
|
11431
|
+
attempt_number?: number;
|
|
11432
|
+
caller?: string;
|
|
11433
|
+
client_user_id?: string | null;
|
|
11434
|
+
content_type?: string | null;
|
|
11435
|
+
created_at?: string;
|
|
11436
|
+
environment?: string;
|
|
11437
|
+
error_message?: string | null;
|
|
11438
|
+
filename?: string | null;
|
|
11439
|
+
id?: string;
|
|
11440
|
+
idempotency_key?: string | null;
|
|
11441
|
+
module?: string;
|
|
11442
|
+
path?: string;
|
|
11443
|
+
reference_id?: string | null;
|
|
11444
|
+
request_body_hash?: string | null;
|
|
11445
|
+
request_timestamp?: number | null;
|
|
11446
|
+
response_content_type?: string | null;
|
|
11447
|
+
response_status?: number | null;
|
|
11448
|
+
size_bytes?: number | null;
|
|
11449
|
+
};
|
|
11450
|
+
Relationships: [];
|
|
11451
|
+
};
|
|
11452
|
+
voorraad_publish_attempts: {
|
|
11453
|
+
Row: {
|
|
11454
|
+
action: string;
|
|
11455
|
+
connection_id: string | null;
|
|
11456
|
+
created_at: string;
|
|
11457
|
+
error: string | null;
|
|
11458
|
+
gateway_attempt_id: string | null;
|
|
11459
|
+
gateway_status: number | null;
|
|
11460
|
+
id: string;
|
|
11461
|
+
intent: string;
|
|
11462
|
+
ok: boolean;
|
|
11463
|
+
request_summary: import("../../integrations/supabase/types").Json | null;
|
|
11464
|
+
trade_item_id: string | null;
|
|
11465
|
+
user_id: string;
|
|
11466
|
+
};
|
|
11467
|
+
Insert: {
|
|
11468
|
+
action: string;
|
|
11469
|
+
connection_id?: string | null;
|
|
11470
|
+
created_at?: string;
|
|
11471
|
+
error?: string | null;
|
|
11472
|
+
gateway_attempt_id?: string | null;
|
|
11473
|
+
gateway_status?: number | null;
|
|
11474
|
+
id?: string;
|
|
11475
|
+
intent: string;
|
|
11476
|
+
ok: boolean;
|
|
11477
|
+
request_summary?: import("../../integrations/supabase/types").Json | null;
|
|
11478
|
+
trade_item_id?: string | null;
|
|
11479
|
+
user_id: string;
|
|
11480
|
+
};
|
|
11481
|
+
Update: {
|
|
11482
|
+
action?: string;
|
|
11483
|
+
connection_id?: string | null;
|
|
11484
|
+
created_at?: string;
|
|
11485
|
+
error?: string | null;
|
|
11486
|
+
gateway_attempt_id?: string | null;
|
|
11487
|
+
gateway_status?: number | null;
|
|
11488
|
+
id?: string;
|
|
11489
|
+
intent?: string;
|
|
11490
|
+
ok?: boolean;
|
|
11491
|
+
request_summary?: import("../../integrations/supabase/types").Json | null;
|
|
11492
|
+
trade_item_id?: string | null;
|
|
11493
|
+
user_id?: string;
|
|
11494
|
+
};
|
|
11495
|
+
Relationships: [];
|
|
11496
|
+
};
|
|
11497
|
+
werkbon_package_ai_rules: {
|
|
11498
|
+
Row: {
|
|
11499
|
+
active: boolean;
|
|
11500
|
+
case_sensitive: boolean;
|
|
11501
|
+
created_at: string;
|
|
11502
|
+
id: string;
|
|
11503
|
+
package_id: string;
|
|
11504
|
+
priority: number;
|
|
11505
|
+
rule_type: string;
|
|
11506
|
+
updated_at: string;
|
|
11507
|
+
value: string;
|
|
11508
|
+
};
|
|
11509
|
+
Insert: {
|
|
11510
|
+
active?: boolean;
|
|
11511
|
+
case_sensitive?: boolean;
|
|
11512
|
+
created_at?: string;
|
|
11513
|
+
id?: string;
|
|
11514
|
+
package_id: string;
|
|
11515
|
+
priority?: number;
|
|
11516
|
+
rule_type: string;
|
|
11517
|
+
updated_at?: string;
|
|
11518
|
+
value: string;
|
|
11519
|
+
};
|
|
11520
|
+
Update: {
|
|
11521
|
+
active?: boolean;
|
|
11522
|
+
case_sensitive?: boolean;
|
|
11523
|
+
created_at?: string;
|
|
11524
|
+
id?: string;
|
|
11525
|
+
package_id?: string;
|
|
11526
|
+
priority?: number;
|
|
11527
|
+
rule_type?: string;
|
|
11528
|
+
updated_at?: string;
|
|
11529
|
+
value?: string;
|
|
11530
|
+
};
|
|
11531
|
+
Relationships: [{
|
|
11532
|
+
foreignKeyName: "werkbon_package_ai_rules_package_id_fkey";
|
|
11533
|
+
columns: ["package_id"];
|
|
11534
|
+
isOneToOne: false;
|
|
11535
|
+
referencedRelation: "werkbon_packages";
|
|
11536
|
+
referencedColumns: ["id"];
|
|
11537
|
+
}];
|
|
11538
|
+
};
|
|
11539
|
+
werkbon_package_categories: {
|
|
11540
|
+
Row: {
|
|
11541
|
+
active: boolean;
|
|
11542
|
+
created_at: string;
|
|
11543
|
+
id: string;
|
|
11544
|
+
kleur: string | null;
|
|
11545
|
+
naam: string;
|
|
11546
|
+
sort_order: number;
|
|
11547
|
+
updated_at: string;
|
|
11548
|
+
};
|
|
11549
|
+
Insert: {
|
|
11550
|
+
active?: boolean;
|
|
11551
|
+
created_at?: string;
|
|
11552
|
+
id?: string;
|
|
11553
|
+
kleur?: string | null;
|
|
11554
|
+
naam: string;
|
|
11555
|
+
sort_order?: number;
|
|
11556
|
+
updated_at?: string;
|
|
11557
|
+
};
|
|
11558
|
+
Update: {
|
|
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
|
+
Relationships: [];
|
|
11568
|
+
};
|
|
11569
|
+
werkbon_package_lines: {
|
|
11570
|
+
Row: {
|
|
11571
|
+
created_at: string;
|
|
11572
|
+
created_by: string | null;
|
|
11573
|
+
id: string;
|
|
11574
|
+
package_id: string;
|
|
11575
|
+
quantity: number;
|
|
11576
|
+
unit_price_cents_snapshot: number;
|
|
11577
|
+
werkbon_id: string;
|
|
11578
|
+
};
|
|
11579
|
+
Insert: {
|
|
11580
|
+
created_at?: string;
|
|
11581
|
+
created_by?: string | null;
|
|
11582
|
+
id?: string;
|
|
11583
|
+
package_id: string;
|
|
11584
|
+
quantity?: number;
|
|
11585
|
+
unit_price_cents_snapshot?: number;
|
|
11586
|
+
werkbon_id: string;
|
|
11587
|
+
};
|
|
11588
|
+
Update: {
|
|
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
|
+
Relationships: [{
|
|
11598
|
+
foreignKeyName: "werkbon_package_lines_package_id_fkey";
|
|
11599
|
+
columns: ["package_id"];
|
|
11600
|
+
isOneToOne: false;
|
|
11601
|
+
referencedRelation: "werkbon_packages";
|
|
11602
|
+
referencedColumns: ["id"];
|
|
11603
|
+
}, {
|
|
11604
|
+
foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
|
|
11605
|
+
columns: ["werkbon_id"];
|
|
11606
|
+
isOneToOne: false;
|
|
11607
|
+
referencedRelation: "werkbonnen";
|
|
11608
|
+
referencedColumns: ["id"];
|
|
11609
|
+
}];
|
|
11610
|
+
};
|
|
11611
|
+
werkbon_packages: {
|
|
11612
|
+
Row: {
|
|
11613
|
+
active: boolean;
|
|
11614
|
+
ai_tags: string[];
|
|
11615
|
+
category_id: string | null;
|
|
11616
|
+
code: string;
|
|
11617
|
+
created_at: string;
|
|
11618
|
+
default_quantity: number;
|
|
11619
|
+
description: string | null;
|
|
11620
|
+
duration_minutes: number | null;
|
|
11621
|
+
id: string;
|
|
11622
|
+
mandaat_type: string | null;
|
|
11623
|
+
name: string;
|
|
11624
|
+
sort_order: number;
|
|
11625
|
+
unit_price_cents: number;
|
|
11626
|
+
updated_at: string;
|
|
11627
|
+
};
|
|
11628
|
+
Insert: {
|
|
11629
|
+
active?: boolean;
|
|
11630
|
+
ai_tags?: string[];
|
|
11631
|
+
category_id?: string | null;
|
|
11632
|
+
code: string;
|
|
11633
|
+
created_at?: string;
|
|
11634
|
+
default_quantity?: number;
|
|
11635
|
+
description?: string | null;
|
|
11636
|
+
duration_minutes?: number | null;
|
|
11637
|
+
id?: string;
|
|
11638
|
+
mandaat_type?: string | null;
|
|
11639
|
+
name: string;
|
|
11640
|
+
sort_order?: number;
|
|
11641
|
+
unit_price_cents?: number;
|
|
11642
|
+
updated_at?: string;
|
|
11643
|
+
};
|
|
11644
|
+
Update: {
|
|
11645
|
+
active?: boolean;
|
|
11646
|
+
ai_tags?: string[];
|
|
11647
|
+
category_id?: string | null;
|
|
11648
|
+
code?: string;
|
|
11649
|
+
created_at?: string;
|
|
11650
|
+
default_quantity?: number;
|
|
11651
|
+
description?: string | null;
|
|
11652
|
+
duration_minutes?: number | null;
|
|
11653
|
+
id?: string;
|
|
11654
|
+
mandaat_type?: string | null;
|
|
11655
|
+
name?: string;
|
|
11656
|
+
sort_order?: number;
|
|
11657
|
+
unit_price_cents?: number;
|
|
11658
|
+
updated_at?: string;
|
|
11659
|
+
};
|
|
11660
|
+
Relationships: [{
|
|
11661
|
+
foreignKeyName: "werkbon_packages_category_id_fkey";
|
|
11662
|
+
columns: ["category_id"];
|
|
11663
|
+
isOneToOne: false;
|
|
11664
|
+
referencedRelation: "werkbon_package_categories";
|
|
11665
|
+
referencedColumns: ["id"];
|
|
11666
|
+
}];
|
|
11667
|
+
};
|
|
11668
|
+
werkbon_photos: {
|
|
11669
|
+
Row: {
|
|
11670
|
+
created_at: string;
|
|
11671
|
+
id: string;
|
|
11672
|
+
storage_path: string;
|
|
11673
|
+
user_id: string;
|
|
11674
|
+
werkbon_id: string;
|
|
11675
|
+
};
|
|
11676
|
+
Insert: {
|
|
10679
11677
|
created_at?: string;
|
|
10680
|
-
environment: string;
|
|
10681
|
-
error_message?: string | null;
|
|
10682
|
-
filename?: string | null;
|
|
10683
11678
|
id?: string;
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
reference_id?: string | null;
|
|
10688
|
-
request_body_hash?: string | null;
|
|
10689
|
-
request_timestamp?: number | null;
|
|
10690
|
-
response_content_type?: string | null;
|
|
10691
|
-
response_status?: number | null;
|
|
10692
|
-
size_bytes?: number | null;
|
|
11679
|
+
storage_path: string;
|
|
11680
|
+
user_id: string;
|
|
11681
|
+
werkbon_id: string;
|
|
10693
11682
|
};
|
|
10694
11683
|
Update: {
|
|
10695
|
-
action?: string;
|
|
10696
|
-
attempt_number?: number;
|
|
10697
|
-
caller?: string;
|
|
10698
|
-
client_user_id?: string | null;
|
|
10699
|
-
content_type?: string | null;
|
|
10700
11684
|
created_at?: string;
|
|
10701
|
-
environment?: string;
|
|
10702
|
-
error_message?: string | null;
|
|
10703
|
-
filename?: string | null;
|
|
10704
11685
|
id?: string;
|
|
10705
|
-
|
|
10706
|
-
|
|
10707
|
-
|
|
10708
|
-
reference_id?: string | null;
|
|
10709
|
-
request_body_hash?: string | null;
|
|
10710
|
-
request_timestamp?: number | null;
|
|
10711
|
-
response_content_type?: string | null;
|
|
10712
|
-
response_status?: number | null;
|
|
10713
|
-
size_bytes?: number | null;
|
|
11686
|
+
storage_path?: string;
|
|
11687
|
+
user_id?: string;
|
|
11688
|
+
werkbon_id?: string;
|
|
10714
11689
|
};
|
|
10715
|
-
Relationships: [
|
|
11690
|
+
Relationships: [{
|
|
11691
|
+
foreignKeyName: "werkbon_photos_werkbon_id_fkey";
|
|
11692
|
+
columns: ["werkbon_id"];
|
|
11693
|
+
isOneToOne: false;
|
|
11694
|
+
referencedRelation: "werkbonnen";
|
|
11695
|
+
referencedColumns: ["id"];
|
|
11696
|
+
}];
|
|
10716
11697
|
};
|
|
10717
|
-
|
|
11698
|
+
werkbon_time_logs: {
|
|
10718
11699
|
Row: {
|
|
10719
|
-
|
|
10720
|
-
connection_id: string | null;
|
|
11700
|
+
activity: string;
|
|
10721
11701
|
created_at: string;
|
|
10722
|
-
|
|
10723
|
-
gateway_attempt_id: string | null;
|
|
10724
|
-
gateway_status: number | null;
|
|
11702
|
+
ended_at: string | null;
|
|
10725
11703
|
id: string;
|
|
10726
|
-
|
|
10727
|
-
ok: boolean;
|
|
10728
|
-
request_summary: import("../../integrations/supabase/types").Json | null;
|
|
10729
|
-
trade_item_id: string | null;
|
|
11704
|
+
started_at: string;
|
|
10730
11705
|
user_id: string;
|
|
11706
|
+
werkbon_id: string;
|
|
10731
11707
|
};
|
|
10732
11708
|
Insert: {
|
|
10733
|
-
|
|
10734
|
-
connection_id?: string | null;
|
|
11709
|
+
activity: string;
|
|
10735
11710
|
created_at?: string;
|
|
10736
|
-
|
|
10737
|
-
gateway_attempt_id?: string | null;
|
|
10738
|
-
gateway_status?: number | null;
|
|
11711
|
+
ended_at?: string | null;
|
|
10739
11712
|
id?: string;
|
|
10740
|
-
|
|
10741
|
-
ok: boolean;
|
|
10742
|
-
request_summary?: import("../../integrations/supabase/types").Json | null;
|
|
10743
|
-
trade_item_id?: string | null;
|
|
11713
|
+
started_at?: string;
|
|
10744
11714
|
user_id: string;
|
|
11715
|
+
werkbon_id: string;
|
|
10745
11716
|
};
|
|
10746
11717
|
Update: {
|
|
10747
|
-
|
|
10748
|
-
connection_id?: string | null;
|
|
11718
|
+
activity?: string;
|
|
10749
11719
|
created_at?: string;
|
|
10750
|
-
|
|
10751
|
-
gateway_attempt_id?: string | null;
|
|
10752
|
-
gateway_status?: number | null;
|
|
11720
|
+
ended_at?: string | null;
|
|
10753
11721
|
id?: string;
|
|
10754
|
-
|
|
10755
|
-
ok?: boolean;
|
|
10756
|
-
request_summary?: import("../../integrations/supabase/types").Json | null;
|
|
10757
|
-
trade_item_id?: string | null;
|
|
11722
|
+
started_at?: string;
|
|
10758
11723
|
user_id?: string;
|
|
11724
|
+
werkbon_id?: string;
|
|
10759
11725
|
};
|
|
10760
|
-
Relationships: [
|
|
11726
|
+
Relationships: [{
|
|
11727
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
11728
|
+
columns: ["werkbon_id"];
|
|
11729
|
+
isOneToOne: false;
|
|
11730
|
+
referencedRelation: "werkbonnen";
|
|
11731
|
+
referencedColumns: ["id"];
|
|
11732
|
+
}];
|
|
11733
|
+
};
|
|
11734
|
+
werkbonnen: {
|
|
11735
|
+
Row: {
|
|
11736
|
+
assigned_user_id: string | null;
|
|
11737
|
+
budget_mandate_cents: number;
|
|
11738
|
+
complaint_description: string | null;
|
|
11739
|
+
created_at: string;
|
|
11740
|
+
created_by: string | null;
|
|
11741
|
+
customer_id: string | null;
|
|
11742
|
+
externe_referentie: string | null;
|
|
11743
|
+
first_time_fix: boolean | null;
|
|
11744
|
+
id: string;
|
|
11745
|
+
internal_notes: string | null;
|
|
11746
|
+
parent_werkbon_id: string | null;
|
|
11747
|
+
parsed_payload: import("../../integrations/supabase/types").Json | null;
|
|
11748
|
+
planning_status: string;
|
|
11749
|
+
project_number: string | null;
|
|
11750
|
+
room_number: string | null;
|
|
11751
|
+
scheduled_end_time: string | null;
|
|
11752
|
+
scheduled_start_time: string | null;
|
|
11753
|
+
sequence_number: number;
|
|
11754
|
+
source_email_meta: import("../../integrations/supabase/types").Json | null;
|
|
11755
|
+
source_mailbox_message_id: string | null;
|
|
11756
|
+
source_pdf_path: string | null;
|
|
11757
|
+
source_type: string;
|
|
11758
|
+
status: string;
|
|
11759
|
+
technician_id: string | null;
|
|
11760
|
+
technician_notes: string | null;
|
|
11761
|
+
technician_notes_raw: string | null;
|
|
11762
|
+
technician_task_description: string | null;
|
|
11763
|
+
updated_at: string;
|
|
11764
|
+
version: number;
|
|
11765
|
+
work_address: string | null;
|
|
11766
|
+
};
|
|
11767
|
+
Insert: {
|
|
11768
|
+
assigned_user_id?: string | null;
|
|
11769
|
+
budget_mandate_cents?: number;
|
|
11770
|
+
complaint_description?: string | null;
|
|
11771
|
+
created_at?: string;
|
|
11772
|
+
created_by?: string | null;
|
|
11773
|
+
customer_id?: string | null;
|
|
11774
|
+
externe_referentie?: string | null;
|
|
11775
|
+
first_time_fix?: boolean | null;
|
|
11776
|
+
id?: string;
|
|
11777
|
+
internal_notes?: string | null;
|
|
11778
|
+
parent_werkbon_id?: string | null;
|
|
11779
|
+
parsed_payload?: import("../../integrations/supabase/types").Json | null;
|
|
11780
|
+
planning_status?: string;
|
|
11781
|
+
project_number?: string | null;
|
|
11782
|
+
room_number?: string | null;
|
|
11783
|
+
scheduled_end_time?: string | null;
|
|
11784
|
+
scheduled_start_time?: string | null;
|
|
11785
|
+
sequence_number: number;
|
|
11786
|
+
source_email_meta?: import("../../integrations/supabase/types").Json | null;
|
|
11787
|
+
source_mailbox_message_id?: string | null;
|
|
11788
|
+
source_pdf_path?: string | null;
|
|
11789
|
+
source_type?: string;
|
|
11790
|
+
status?: string;
|
|
11791
|
+
technician_id?: string | null;
|
|
11792
|
+
technician_notes?: string | null;
|
|
11793
|
+
technician_notes_raw?: string | null;
|
|
11794
|
+
technician_task_description?: string | null;
|
|
11795
|
+
updated_at?: string;
|
|
11796
|
+
version?: number;
|
|
11797
|
+
work_address?: string | null;
|
|
11798
|
+
};
|
|
11799
|
+
Update: {
|
|
11800
|
+
assigned_user_id?: string | null;
|
|
11801
|
+
budget_mandate_cents?: number;
|
|
11802
|
+
complaint_description?: string | null;
|
|
11803
|
+
created_at?: string;
|
|
11804
|
+
created_by?: string | null;
|
|
11805
|
+
customer_id?: string | null;
|
|
11806
|
+
externe_referentie?: string | null;
|
|
11807
|
+
first_time_fix?: boolean | null;
|
|
11808
|
+
id?: string;
|
|
11809
|
+
internal_notes?: string | null;
|
|
11810
|
+
parent_werkbon_id?: string | null;
|
|
11811
|
+
parsed_payload?: import("../../integrations/supabase/types").Json | null;
|
|
11812
|
+
planning_status?: string;
|
|
11813
|
+
project_number?: string | null;
|
|
11814
|
+
room_number?: string | null;
|
|
11815
|
+
scheduled_end_time?: string | null;
|
|
11816
|
+
scheduled_start_time?: string | null;
|
|
11817
|
+
sequence_number?: number;
|
|
11818
|
+
source_email_meta?: import("../../integrations/supabase/types").Json | null;
|
|
11819
|
+
source_mailbox_message_id?: string | null;
|
|
11820
|
+
source_pdf_path?: string | null;
|
|
11821
|
+
source_type?: string;
|
|
11822
|
+
status?: string;
|
|
11823
|
+
technician_id?: string | null;
|
|
11824
|
+
technician_notes?: string | null;
|
|
11825
|
+
technician_notes_raw?: string | null;
|
|
11826
|
+
technician_task_description?: string | null;
|
|
11827
|
+
updated_at?: string;
|
|
11828
|
+
version?: number;
|
|
11829
|
+
work_address?: string | null;
|
|
11830
|
+
};
|
|
11831
|
+
Relationships: [{
|
|
11832
|
+
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
11833
|
+
columns: ["parent_werkbon_id"];
|
|
11834
|
+
isOneToOne: false;
|
|
11835
|
+
referencedRelation: "werkbonnen";
|
|
11836
|
+
referencedColumns: ["id"];
|
|
11837
|
+
}, {
|
|
11838
|
+
foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
|
|
11839
|
+
columns: ["source_mailbox_message_id"];
|
|
11840
|
+
isOneToOne: false;
|
|
11841
|
+
referencedRelation: "mailbox_messages";
|
|
11842
|
+
referencedColumns: ["id"];
|
|
11843
|
+
}];
|
|
10761
11844
|
};
|
|
10762
11845
|
work_order_monteurs: {
|
|
10763
11846
|
Row: {
|
|
@@ -10929,6 +12012,8 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10929
12012
|
created_at: string | null;
|
|
10930
12013
|
created_by: string | null;
|
|
10931
12014
|
display_name: string | null;
|
|
12015
|
+
graph_subscription_expires_at: string | null;
|
|
12016
|
+
graph_subscription_id: string | null;
|
|
10932
12017
|
has_access_token: boolean | null;
|
|
10933
12018
|
has_client_id: boolean | null;
|
|
10934
12019
|
has_client_secret: boolean | null;
|
|
@@ -10946,6 +12031,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10946
12031
|
oauth_mode: string | null;
|
|
10947
12032
|
provider: string | null;
|
|
10948
12033
|
purpose_assignments: import("../../integrations/supabase/types").Json | null;
|
|
12034
|
+
realtime_mode: string | null;
|
|
10949
12035
|
scopes: string[] | null;
|
|
10950
12036
|
smtp_host: string | null;
|
|
10951
12037
|
smtp_port: number | null;
|
|
@@ -10960,6 +12046,8 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10960
12046
|
created_at?: string | null;
|
|
10961
12047
|
created_by?: string | null;
|
|
10962
12048
|
display_name?: string | null;
|
|
12049
|
+
graph_subscription_expires_at?: string | null;
|
|
12050
|
+
graph_subscription_id?: string | null;
|
|
10963
12051
|
has_access_token?: never;
|
|
10964
12052
|
has_client_id?: never;
|
|
10965
12053
|
has_client_secret?: never;
|
|
@@ -10977,6 +12065,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10977
12065
|
oauth_mode?: string | null;
|
|
10978
12066
|
provider?: string | null;
|
|
10979
12067
|
purpose_assignments?: import("../../integrations/supabase/types").Json | null;
|
|
12068
|
+
realtime_mode?: string | null;
|
|
10980
12069
|
scopes?: string[] | null;
|
|
10981
12070
|
smtp_host?: string | null;
|
|
10982
12071
|
smtp_port?: number | null;
|
|
@@ -10991,6 +12080,8 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
10991
12080
|
created_at?: string | null;
|
|
10992
12081
|
created_by?: string | null;
|
|
10993
12082
|
display_name?: string | null;
|
|
12083
|
+
graph_subscription_expires_at?: string | null;
|
|
12084
|
+
graph_subscription_id?: string | null;
|
|
10994
12085
|
has_access_token?: never;
|
|
10995
12086
|
has_client_id?: never;
|
|
10996
12087
|
has_client_secret?: never;
|
|
@@ -11008,6 +12099,7 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11008
12099
|
oauth_mode?: string | null;
|
|
11009
12100
|
provider?: string | null;
|
|
11010
12101
|
purpose_assignments?: import("../../integrations/supabase/types").Json | null;
|
|
12102
|
+
realtime_mode?: string | null;
|
|
11011
12103
|
scopes?: string[] | null;
|
|
11012
12104
|
smtp_host?: string | null;
|
|
11013
12105
|
smtp_port?: number | null;
|
|
@@ -11118,6 +12210,25 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11118
12210
|
};
|
|
11119
12211
|
Relationships: [];
|
|
11120
12212
|
};
|
|
12213
|
+
floriday_customer_discounts: {
|
|
12214
|
+
Row: {
|
|
12215
|
+
base_price: number | null;
|
|
12216
|
+
buyer_organization_id: string | null;
|
|
12217
|
+
currency: string | null;
|
|
12218
|
+
discount_type: string | null;
|
|
12219
|
+
discount_value: number | null;
|
|
12220
|
+
min_quantity: number | null;
|
|
12221
|
+
net_price: number | null;
|
|
12222
|
+
product_group_id: string | null;
|
|
12223
|
+
raw: import("../../integrations/supabase/types").Json | null;
|
|
12224
|
+
source: string | null;
|
|
12225
|
+
source_id: string | null;
|
|
12226
|
+
trade_item_id: string | null;
|
|
12227
|
+
valid_from: string | null;
|
|
12228
|
+
valid_until: string | null;
|
|
12229
|
+
};
|
|
12230
|
+
Relationships: [];
|
|
12231
|
+
};
|
|
11121
12232
|
local_customer_discounts: {
|
|
11122
12233
|
Row: {
|
|
11123
12234
|
base_price: number | null;
|
|
@@ -11454,6 +12565,21 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11454
12565
|
};
|
|
11455
12566
|
Returns: string;
|
|
11456
12567
|
};
|
|
12568
|
+
ai_usage_by_module: {
|
|
12569
|
+
Args: {
|
|
12570
|
+
_from: string;
|
|
12571
|
+
_to: string;
|
|
12572
|
+
};
|
|
12573
|
+
Returns: {
|
|
12574
|
+
calls: number;
|
|
12575
|
+
consumer_module_id: string;
|
|
12576
|
+
cost_usd: number;
|
|
12577
|
+
errors: number;
|
|
12578
|
+
input_tokens: number;
|
|
12579
|
+
output_tokens: number;
|
|
12580
|
+
total_tokens: number;
|
|
12581
|
+
}[];
|
|
12582
|
+
};
|
|
11457
12583
|
apply_stock_consumption: {
|
|
11458
12584
|
Args: {
|
|
11459
12585
|
p_order_id: string;
|
|
@@ -11545,6 +12671,33 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11545
12671
|
};
|
|
11546
12672
|
Returns: import("../../integrations/supabase/types").Json;
|
|
11547
12673
|
};
|
|
12674
|
+
claim_twinfield_push_batch: {
|
|
12675
|
+
Args: {
|
|
12676
|
+
_limit?: number;
|
|
12677
|
+
};
|
|
12678
|
+
Returns: {
|
|
12679
|
+
action: string;
|
|
12680
|
+
attempts: number;
|
|
12681
|
+
connection_id: string;
|
|
12682
|
+
created_at: string;
|
|
12683
|
+
customer_id: string | null;
|
|
12684
|
+
external_id: string | null;
|
|
12685
|
+
id: string;
|
|
12686
|
+
idempotency_key: string;
|
|
12687
|
+
last_error: string | null;
|
|
12688
|
+
next_attempt_at: string;
|
|
12689
|
+
office_code: string | null;
|
|
12690
|
+
payload: import("../../integrations/supabase/types").Json;
|
|
12691
|
+
status: string;
|
|
12692
|
+
updated_at: string;
|
|
12693
|
+
}[];
|
|
12694
|
+
SetofOptions: {
|
|
12695
|
+
from: "*";
|
|
12696
|
+
to: "twinfield_push_queue";
|
|
12697
|
+
isOneToOne: false;
|
|
12698
|
+
isSetofReturn: true;
|
|
12699
|
+
};
|
|
12700
|
+
};
|
|
11548
12701
|
cleanup_old_bookings: {
|
|
11549
12702
|
Args: never;
|
|
11550
12703
|
Returns: undefined;
|
|
@@ -11603,6 +12756,12 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11603
12756
|
Args: never;
|
|
11604
12757
|
Returns: string;
|
|
11605
12758
|
};
|
|
12759
|
+
custom_access_token_hook: {
|
|
12760
|
+
Args: {
|
|
12761
|
+
event: import("../../integrations/supabase/types").Json;
|
|
12762
|
+
};
|
|
12763
|
+
Returns: import("../../integrations/supabase/types").Json;
|
|
12764
|
+
};
|
|
11606
12765
|
dashboard_alert_counts: {
|
|
11607
12766
|
Args: never;
|
|
11608
12767
|
Returns: import("../../integrations/supabase/types").Json;
|
|
@@ -11799,6 +12958,19 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11799
12958
|
resource: string;
|
|
11800
12959
|
}[];
|
|
11801
12960
|
};
|
|
12961
|
+
get_floriday_agreements_active: {
|
|
12962
|
+
Args: {
|
|
12963
|
+
p_on_date?: string;
|
|
12964
|
+
};
|
|
12965
|
+
Returns: {
|
|
12966
|
+
buyer_organization_id: string;
|
|
12967
|
+
data: import("../../integrations/supabase/types").Json;
|
|
12968
|
+
floriday_id: string;
|
|
12969
|
+
status: string;
|
|
12970
|
+
valid_from: string;
|
|
12971
|
+
valid_until: string;
|
|
12972
|
+
}[];
|
|
12973
|
+
};
|
|
11802
12974
|
get_floriday_clock_supplies_window: {
|
|
11803
12975
|
Args: {
|
|
11804
12976
|
p_from: string;
|
|
@@ -11959,6 +13131,14 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11959
13131
|
};
|
|
11960
13132
|
Returns: string;
|
|
11961
13133
|
};
|
|
13134
|
+
has_module_permission: {
|
|
13135
|
+
Args: {
|
|
13136
|
+
_min: string;
|
|
13137
|
+
_module_id: string;
|
|
13138
|
+
_user_id: string;
|
|
13139
|
+
};
|
|
13140
|
+
Returns: boolean;
|
|
13141
|
+
};
|
|
11962
13142
|
has_role: {
|
|
11963
13143
|
Args: {
|
|
11964
13144
|
_role: import("../../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
@@ -11966,6 +13146,10 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11966
13146
|
};
|
|
11967
13147
|
Returns: boolean;
|
|
11968
13148
|
};
|
|
13149
|
+
has_twinfield_link: {
|
|
13150
|
+
Args: never;
|
|
13151
|
+
Returns: boolean;
|
|
13152
|
+
};
|
|
11969
13153
|
is_authenticated: {
|
|
11970
13154
|
Args: never;
|
|
11971
13155
|
Returns: boolean;
|
|
@@ -11980,6 +13164,37 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11980
13164
|
};
|
|
11981
13165
|
Returns: boolean;
|
|
11982
13166
|
};
|
|
13167
|
+
jwt_has_role: {
|
|
13168
|
+
Args: {
|
|
13169
|
+
_role: import("../../integrations/supabase/types").Database["public"]["Enums"]["app_role"];
|
|
13170
|
+
};
|
|
13171
|
+
Returns: boolean;
|
|
13172
|
+
};
|
|
13173
|
+
list_monteurs: {
|
|
13174
|
+
Args: never;
|
|
13175
|
+
Returns: {
|
|
13176
|
+
avatar_url: string;
|
|
13177
|
+
display_name: string;
|
|
13178
|
+
email: string;
|
|
13179
|
+
id: string;
|
|
13180
|
+
}[];
|
|
13181
|
+
};
|
|
13182
|
+
list_my_planning_items: {
|
|
13183
|
+
Args: {
|
|
13184
|
+
_from: string;
|
|
13185
|
+
_to: string;
|
|
13186
|
+
};
|
|
13187
|
+
Returns: {
|
|
13188
|
+
assigned_monteur_id: string;
|
|
13189
|
+
end_at: string;
|
|
13190
|
+
id: string;
|
|
13191
|
+
notes: string;
|
|
13192
|
+
role: string;
|
|
13193
|
+
start_at: string;
|
|
13194
|
+
status: import("../../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
13195
|
+
werkbon_id: string;
|
|
13196
|
+
}[];
|
|
13197
|
+
};
|
|
11983
13198
|
local_effective_price: {
|
|
11984
13199
|
Args: {
|
|
11985
13200
|
_customer_id: string;
|
|
@@ -11996,6 +13211,22 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
11996
13211
|
source_id: string;
|
|
11997
13212
|
}[];
|
|
11998
13213
|
};
|
|
13214
|
+
log_ai_call: {
|
|
13215
|
+
Args: {
|
|
13216
|
+
_consumer_module_id: string;
|
|
13217
|
+
_cost_usd: number;
|
|
13218
|
+
_duration_ms: number;
|
|
13219
|
+
_error_code: string;
|
|
13220
|
+
_error_message: string;
|
|
13221
|
+
_input_tokens: number;
|
|
13222
|
+
_model_slug: string;
|
|
13223
|
+
_output_tokens: number;
|
|
13224
|
+
_provider_slug: string;
|
|
13225
|
+
_status: string;
|
|
13226
|
+
_total_tokens: number;
|
|
13227
|
+
};
|
|
13228
|
+
Returns: string;
|
|
13229
|
+
};
|
|
11999
13230
|
mark_offer_clicked: {
|
|
12000
13231
|
Args: {
|
|
12001
13232
|
p_code: string;
|
|
@@ -12047,6 +13278,10 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
12047
13278
|
};
|
|
12048
13279
|
Returns: string;
|
|
12049
13280
|
};
|
|
13281
|
+
next_twinfield_code: {
|
|
13282
|
+
Args: never;
|
|
13283
|
+
Returns: string;
|
|
13284
|
+
};
|
|
12050
13285
|
next_work_order_number: {
|
|
12051
13286
|
Args: {
|
|
12052
13287
|
p_parent_work_order_id?: string;
|
|
@@ -12182,6 +13417,12 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
12182
13417
|
};
|
|
12183
13418
|
Returns: number;
|
|
12184
13419
|
};
|
|
13420
|
+
reorder_customer_price_groups: {
|
|
13421
|
+
Args: {
|
|
13422
|
+
_ids: string[];
|
|
13423
|
+
};
|
|
13424
|
+
Returns: undefined;
|
|
13425
|
+
};
|
|
12185
13426
|
reset_floriday_sync_cursor: {
|
|
12186
13427
|
Args: {
|
|
12187
13428
|
p_connection_id: string;
|
|
@@ -12217,6 +13458,12 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
12217
13458
|
};
|
|
12218
13459
|
Returns: string;
|
|
12219
13460
|
};
|
|
13461
|
+
retry_twinfield_push: {
|
|
13462
|
+
Args: {
|
|
13463
|
+
_customer_id: string;
|
|
13464
|
+
};
|
|
13465
|
+
Returns: number;
|
|
13466
|
+
};
|
|
12220
13467
|
reverse_production: {
|
|
12221
13468
|
Args: {
|
|
12222
13469
|
p_connection_id?: string;
|
|
@@ -12234,6 +13481,20 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
12234
13481
|
};
|
|
12235
13482
|
Returns: number;
|
|
12236
13483
|
};
|
|
13484
|
+
schedule_floriday_agreement_calloffs_sync: {
|
|
13485
|
+
Args: {
|
|
13486
|
+
p_apikey: string;
|
|
13487
|
+
p_url: string;
|
|
13488
|
+
};
|
|
13489
|
+
Returns: number;
|
|
13490
|
+
};
|
|
13491
|
+
schedule_floriday_agreements_sync: {
|
|
13492
|
+
Args: {
|
|
13493
|
+
p_apikey: string;
|
|
13494
|
+
p_url: string;
|
|
13495
|
+
};
|
|
13496
|
+
Returns: number;
|
|
13497
|
+
};
|
|
12237
13498
|
schedule_floriday_base_items_sync: {
|
|
12238
13499
|
Args: {
|
|
12239
13500
|
p_apikey: string;
|
|
@@ -12484,6 +13745,13 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
12484
13745
|
Args: never;
|
|
12485
13746
|
Returns: number;
|
|
12486
13747
|
};
|
|
13748
|
+
set_planning_status: {
|
|
13749
|
+
Args: {
|
|
13750
|
+
_id: string;
|
|
13751
|
+
_status: import("../../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
13752
|
+
};
|
|
13753
|
+
Returns: undefined;
|
|
13754
|
+
};
|
|
12487
13755
|
show_limit: {
|
|
12488
13756
|
Args: never;
|
|
12489
13757
|
Returns: number;
|
|
@@ -12553,9 +13821,12 @@ export declare const evaluateSlot: import("@tanstack/start-client-core").Require
|
|
|
12553
13821
|
};
|
|
12554
13822
|
};
|
|
12555
13823
|
Enums: {
|
|
12556
|
-
app_role: "admin" | "
|
|
13824
|
+
app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin";
|
|
12557
13825
|
exact_env: "staging" | "live";
|
|
12558
13826
|
exact_push_status: "pending" | "sent" | "error";
|
|
13827
|
+
itk_customer_segment: "Business" | "Private";
|
|
13828
|
+
itk_dynamic_field_type: "text" | "select" | "date" | "checkbox";
|
|
13829
|
+
planning_item_status: "gepland" | "bezig" | "afgerond" | "geannuleerd" | "concept" | "vrijgegeven";
|
|
12559
13830
|
quote_status: "concept" | "verzonden" | "bekeken" | "in_behandeling" | "geaccepteerd" | "afgewezen" | "verlopen" | "gearchiveerd";
|
|
12560
13831
|
};
|
|
12561
13832
|
CompositeTypes: { [_ in never]: never; };
|