@flowselections/floriday-voorraad 1.0.45 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +157 -9
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +2 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
- package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +1 -1
- package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -1
- package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.js +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
- package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
- package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
- package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockHistoryChart.d.ts +1 -1
- package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
- package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
- package/dist-lib/components/voorraad/TrayStickerCard.d.ts +5 -0
- package/dist-lib/components/voorraad/TrayStickerCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/TrayStickerCard.js +100 -0
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemSupplyLine.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +3255 -199
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +3255 -199
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +3255 -199
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.js +8 -1
- package/dist-lib/integrations/supabase/types.d.ts +3287 -192
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +3267 -217
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.js +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +3267 -211
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +6126 -14
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +18378 -42
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +6126 -14
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +9189 -21
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +6126 -14
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +6126 -14
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.js +3 -3
- package/dist-lib/lib/logistics-buffer-events.server.js +1 -1
- package/dist-lib/lib/logistics-tasks.server.js +2 -2
- package/dist-lib/lib/module-runtime.server.js +1 -1
- package/dist-lib/lib/product-packing.d.ts +28 -0
- package/dist-lib/lib/product-packing.d.ts.map +1 -0
- package/dist-lib/lib/product-packing.js +90 -0
- package/dist-lib/lib/stock-sync.functions.d.ts +6126 -14
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.js +3 -3
- package/package.json +3 -3
- package/dist-lib/components/TemplatePage.d.ts +0 -2
- package/dist-lib/components/TemplatePage.d.ts.map +0 -1
- package/dist-lib/components/TemplatePage.js +0 -4
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/VoorraadSettingsCard.js +0 -39
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts +0 -6
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ConnectionBadge.js +0 -12
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts +0 -8
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ConnectionPicker.js +0 -8
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +0 -4
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +0 -1
- package/dist-lib/components/voorraad/FloridayStatusBadge.js +0 -8
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +0 -2
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ModuleHealthCard.js +0 -40
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +0 -10
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +0 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +0 -53
- package/dist-lib/lib/floriday-field-sources.d.ts +0 -18
- package/dist-lib/lib/floriday-field-sources.d.ts.map +0 -1
- package/dist-lib/lib/floriday-field-sources.js +0 -45
- package/dist-lib/lib/floriday-schema-to-zod.d.ts +0 -9
- package/dist-lib/lib/floriday-schema-to-zod.d.ts.map +0 -1
- package/dist-lib/lib/floriday-schema-to-zod.js +0 -53
- package/dist-lib/lib/merge-products.d.ts +0 -8
- package/dist-lib/lib/merge-products.d.ts.map +0 -1
- package/dist-lib/lib/merge-products.js +0 -17
- package/dist-lib/lib/module-health.functions.d.ts +0 -53497
- package/dist-lib/lib/module-health.functions.d.ts.map +0 -1
- package/dist-lib/lib/module-health.functions.js +0 -261
- package/dist-lib/lib/validationSchemas.d.ts +0 -15
- package/dist-lib/lib/validationSchemas.d.ts.map +0 -1
- package/dist-lib/lib/validationSchemas.js +0 -25
|
@@ -33,6 +33,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
33
33
|
Row: {
|
|
34
34
|
auto_print_delivery_note: boolean;
|
|
35
35
|
auto_process_paused: boolean;
|
|
36
|
+
control_bulk_max_carts: number;
|
|
36
37
|
created_at: string;
|
|
37
38
|
extra_pick_days_with_stickers: number;
|
|
38
39
|
id: string;
|
|
@@ -50,6 +51,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
50
51
|
Insert: {
|
|
51
52
|
auto_print_delivery_note?: boolean;
|
|
52
53
|
auto_process_paused?: boolean;
|
|
54
|
+
control_bulk_max_carts?: number;
|
|
53
55
|
created_at?: string;
|
|
54
56
|
extra_pick_days_with_stickers?: number;
|
|
55
57
|
id?: string;
|
|
@@ -61,18 +63,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
61
63
|
signup_mail_lead_minutes?: number;
|
|
62
64
|
signup_mail_purpose?: string;
|
|
63
65
|
transport_register_days_before?: number;
|
|
64
|
-
updated_at
|
|
65
|
-
/**
|
|
66
|
-
* Minimalistische Supabase-client-shape die `computeVbnRequiredFeatures`
|
|
67
|
-
* daadwerkelijk gebruikt. Getypeerd als `any` zodat zowel de echte
|
|
68
|
-
* `SupabaseClient` als de fake-client in tests passen.
|
|
69
|
-
*/
|
|
70
|
-
?: string;
|
|
66
|
+
updated_at?: string;
|
|
71
67
|
user_id: string;
|
|
72
68
|
};
|
|
73
69
|
Update: {
|
|
74
70
|
auto_print_delivery_note?: boolean;
|
|
75
71
|
auto_process_paused?: boolean;
|
|
72
|
+
control_bulk_max_carts?: number;
|
|
76
73
|
created_at?: string;
|
|
77
74
|
extra_pick_days_with_stickers?: number;
|
|
78
75
|
id?: string;
|
|
@@ -1415,6 +1412,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
1415
1412
|
id: string;
|
|
1416
1413
|
notes: string | null;
|
|
1417
1414
|
performed_at: string;
|
|
1415
|
+
request_key: string | null;
|
|
1418
1416
|
rescheduled_count: number;
|
|
1419
1417
|
stock_consumed_at: string | null;
|
|
1420
1418
|
total_carts: number;
|
|
@@ -1429,6 +1427,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
1429
1427
|
id?: string;
|
|
1430
1428
|
notes?: string | null;
|
|
1431
1429
|
performed_at?: string;
|
|
1430
|
+
request_key?: string | null;
|
|
1432
1431
|
rescheduled_count?: number;
|
|
1433
1432
|
stock_consumed_at?: string | null;
|
|
1434
1433
|
total_carts?: number;
|
|
@@ -1443,6 +1442,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
1443
1442
|
id?: string;
|
|
1444
1443
|
notes?: string | null;
|
|
1445
1444
|
performed_at?: string;
|
|
1445
|
+
request_key?: string | null;
|
|
1446
1446
|
rescheduled_count?: number;
|
|
1447
1447
|
stock_consumed_at?: string | null;
|
|
1448
1448
|
total_carts?: number;
|
|
@@ -1455,9 +1455,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
1455
1455
|
Row: {
|
|
1456
1456
|
assigned_at: string;
|
|
1457
1457
|
cart_index: number;
|
|
1458
|
-
cart_number: string
|
|
1458
|
+
cart_number: string;
|
|
1459
1459
|
day_seq: number | null;
|
|
1460
1460
|
delivered_at: string | null;
|
|
1461
|
+
engine_cart_label: string | null;
|
|
1461
1462
|
id: string;
|
|
1462
1463
|
order_id: string;
|
|
1463
1464
|
order_source: string;
|
|
@@ -1467,9 +1468,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
1467
1468
|
Insert: {
|
|
1468
1469
|
assigned_at?: string;
|
|
1469
1470
|
cart_index: number;
|
|
1470
|
-
cart_number
|
|
1471
|
+
cart_number: string;
|
|
1471
1472
|
day_seq?: number | null;
|
|
1472
1473
|
delivered_at?: string | null;
|
|
1474
|
+
engine_cart_label?: string | null;
|
|
1473
1475
|
id?: string;
|
|
1474
1476
|
order_id: string;
|
|
1475
1477
|
order_source: string;
|
|
@@ -1479,9 +1481,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
1479
1481
|
Update: {
|
|
1480
1482
|
assigned_at?: string;
|
|
1481
1483
|
cart_index?: number;
|
|
1482
|
-
cart_number?: string
|
|
1484
|
+
cart_number?: string;
|
|
1483
1485
|
day_seq?: number | null;
|
|
1484
1486
|
delivered_at?: string | null;
|
|
1487
|
+
engine_cart_label?: string | null;
|
|
1485
1488
|
id?: string;
|
|
1486
1489
|
order_id?: string;
|
|
1487
1490
|
order_source?: string;
|
|
@@ -3748,6 +3751,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3748
3751
|
};
|
|
3749
3752
|
email_auth_outbox: {
|
|
3750
3753
|
Row: {
|
|
3754
|
+
attachments: import("../integrations/supabase/types").Json;
|
|
3751
3755
|
attempts: number;
|
|
3752
3756
|
bcc_addresses: string[];
|
|
3753
3757
|
cc_addresses: string[];
|
|
@@ -3770,6 +3774,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3770
3774
|
updated_at: string;
|
|
3771
3775
|
};
|
|
3772
3776
|
Insert: {
|
|
3777
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
3773
3778
|
attempts?: number;
|
|
3774
3779
|
bcc_addresses?: string[];
|
|
3775
3780
|
cc_addresses?: string[];
|
|
@@ -3792,6 +3797,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
3792
3797
|
updated_at?: string;
|
|
3793
3798
|
};
|
|
3794
3799
|
Update: {
|
|
3800
|
+
attachments?: import("../integrations/supabase/types").Json;
|
|
3795
3801
|
attempts?: number;
|
|
3796
3802
|
bcc_addresses?: string[];
|
|
3797
3803
|
cc_addresses?: string[];
|
|
@@ -8011,6 +8017,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8011
8017
|
};
|
|
8012
8018
|
fust_types: {
|
|
8013
8019
|
Row: {
|
|
8020
|
+
capacity_units: number | null;
|
|
8014
8021
|
connection_id: string | null;
|
|
8015
8022
|
created_at: string;
|
|
8016
8023
|
custom_package_id: string | null;
|
|
@@ -8031,6 +8038,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8031
8038
|
width_mm: number | null;
|
|
8032
8039
|
};
|
|
8033
8040
|
Insert: {
|
|
8041
|
+
capacity_units?: number | null;
|
|
8034
8042
|
connection_id?: string | null;
|
|
8035
8043
|
created_at?: string;
|
|
8036
8044
|
custom_package_id?: string | null;
|
|
@@ -8051,6 +8059,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8051
8059
|
width_mm?: number | null;
|
|
8052
8060
|
};
|
|
8053
8061
|
Update: {
|
|
8062
|
+
capacity_units?: number | null;
|
|
8054
8063
|
connection_id?: string | null;
|
|
8055
8064
|
created_at?: string;
|
|
8056
8065
|
custom_package_id?: string | null;
|
|
@@ -8568,13 +8577,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8568
8577
|
Row: {
|
|
8569
8578
|
created_at: string;
|
|
8570
8579
|
created_by: string | null;
|
|
8580
|
+
customer_address: string | null;
|
|
8581
|
+
customer_attention: string | null;
|
|
8582
|
+
customer_city: string | null;
|
|
8571
8583
|
customer_id: string | null;
|
|
8572
8584
|
customer_name: string | null;
|
|
8585
|
+
customer_postal_code: string | null;
|
|
8586
|
+
customer_vat_number: string | null;
|
|
8587
|
+
debtor_number: string | null;
|
|
8573
8588
|
due_date: string | null;
|
|
8589
|
+
execution_date: string | null;
|
|
8574
8590
|
id: string;
|
|
8575
8591
|
invoice_date: string;
|
|
8576
8592
|
invoice_number: string | null;
|
|
8577
8593
|
note: string | null;
|
|
8594
|
+
payment_term_days: number;
|
|
8595
|
+
reference: string | null;
|
|
8578
8596
|
source_number: string | null;
|
|
8579
8597
|
source_ref: string | null;
|
|
8580
8598
|
source_type: string;
|
|
@@ -8584,17 +8602,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8584
8602
|
updated_at: string;
|
|
8585
8603
|
vat_cents: number;
|
|
8586
8604
|
vat_rate: number;
|
|
8605
|
+
work_address: string | null;
|
|
8587
8606
|
};
|
|
8588
8607
|
Insert: {
|
|
8589
8608
|
created_at?: string;
|
|
8590
8609
|
created_by?: string | null;
|
|
8610
|
+
customer_address?: string | null;
|
|
8611
|
+
customer_attention?: string | null;
|
|
8612
|
+
customer_city?: string | null;
|
|
8591
8613
|
customer_id?: string | null;
|
|
8592
8614
|
customer_name?: string | null;
|
|
8615
|
+
customer_postal_code?: string | null;
|
|
8616
|
+
customer_vat_number?: string | null;
|
|
8617
|
+
debtor_number?: string | null;
|
|
8593
8618
|
due_date?: string | null;
|
|
8619
|
+
execution_date?: string | null;
|
|
8594
8620
|
id?: string;
|
|
8595
8621
|
invoice_date?: string;
|
|
8596
8622
|
invoice_number?: string | null;
|
|
8597
8623
|
note?: string | null;
|
|
8624
|
+
payment_term_days?: number;
|
|
8625
|
+
reference?: string | null;
|
|
8598
8626
|
source_number?: string | null;
|
|
8599
8627
|
source_ref?: string | null;
|
|
8600
8628
|
source_type?: string;
|
|
@@ -8604,17 +8632,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8604
8632
|
updated_at?: string;
|
|
8605
8633
|
vat_cents?: number;
|
|
8606
8634
|
vat_rate?: number;
|
|
8635
|
+
work_address?: string | null;
|
|
8607
8636
|
};
|
|
8608
8637
|
Update: {
|
|
8609
8638
|
created_at?: string;
|
|
8610
8639
|
created_by?: string | null;
|
|
8640
|
+
customer_address?: string | null;
|
|
8641
|
+
customer_attention?: string | null;
|
|
8642
|
+
customer_city?: string | null;
|
|
8611
8643
|
customer_id?: string | null;
|
|
8612
8644
|
customer_name?: string | null;
|
|
8645
|
+
customer_postal_code?: string | null;
|
|
8646
|
+
customer_vat_number?: string | null;
|
|
8647
|
+
debtor_number?: string | null;
|
|
8613
8648
|
due_date?: string | null;
|
|
8649
|
+
execution_date?: string | null;
|
|
8614
8650
|
id?: string;
|
|
8615
8651
|
invoice_date?: string;
|
|
8616
8652
|
invoice_number?: string | null;
|
|
8617
8653
|
note?: string | null;
|
|
8654
|
+
payment_term_days?: number;
|
|
8655
|
+
reference?: string | null;
|
|
8618
8656
|
source_number?: string | null;
|
|
8619
8657
|
source_ref?: string | null;
|
|
8620
8658
|
source_type?: string;
|
|
@@ -8624,6 +8662,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8624
8662
|
updated_at?: string;
|
|
8625
8663
|
vat_cents?: number;
|
|
8626
8664
|
vat_rate?: number;
|
|
8665
|
+
work_address?: string | null;
|
|
8627
8666
|
};
|
|
8628
8667
|
Relationships: [{
|
|
8629
8668
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -8828,8 +8867,48 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8828
8867
|
};
|
|
8829
8868
|
Relationships: [];
|
|
8830
8869
|
};
|
|
8870
|
+
itk_handover_afspraken: {
|
|
8871
|
+
Row: {
|
|
8872
|
+
afgesproken_door: string | null;
|
|
8873
|
+
afgesproken_op: string;
|
|
8874
|
+
besluit: string;
|
|
8875
|
+
created_at: string;
|
|
8876
|
+
item: string;
|
|
8877
|
+
modules: string[];
|
|
8878
|
+
sleutel: string;
|
|
8879
|
+
soort: string;
|
|
8880
|
+
updated_at: string;
|
|
8881
|
+
versie_vingerafdruk: string;
|
|
8882
|
+
};
|
|
8883
|
+
Insert: {
|
|
8884
|
+
afgesproken_door?: string | null;
|
|
8885
|
+
afgesproken_op?: string;
|
|
8886
|
+
besluit?: string;
|
|
8887
|
+
created_at?: string;
|
|
8888
|
+
item?: string;
|
|
8889
|
+
modules?: string[];
|
|
8890
|
+
sleutel: string;
|
|
8891
|
+
soort?: string;
|
|
8892
|
+
updated_at?: string;
|
|
8893
|
+
versie_vingerafdruk?: string;
|
|
8894
|
+
};
|
|
8895
|
+
Update: {
|
|
8896
|
+
afgesproken_door?: string | null;
|
|
8897
|
+
afgesproken_op?: string;
|
|
8898
|
+
besluit?: string;
|
|
8899
|
+
created_at?: string;
|
|
8900
|
+
item?: string;
|
|
8901
|
+
modules?: string[];
|
|
8902
|
+
sleutel?: string;
|
|
8903
|
+
soort?: string;
|
|
8904
|
+
updated_at?: string;
|
|
8905
|
+
versie_vingerafdruk?: string;
|
|
8906
|
+
};
|
|
8907
|
+
Relationships: [];
|
|
8908
|
+
};
|
|
8831
8909
|
itk_handover_github_scan: {
|
|
8832
8910
|
Row: {
|
|
8911
|
+
genegeerd_op: string | null;
|
|
8833
8912
|
gescand_op: string;
|
|
8834
8913
|
gevonden: boolean;
|
|
8835
8914
|
melding: string | null;
|
|
@@ -8837,6 +8916,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8837
8916
|
repo: string;
|
|
8838
8917
|
};
|
|
8839
8918
|
Insert: {
|
|
8919
|
+
genegeerd_op?: string | null;
|
|
8840
8920
|
gescand_op?: string;
|
|
8841
8921
|
gevonden?: boolean;
|
|
8842
8922
|
melding?: string | null;
|
|
@@ -8844,6 +8924,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8844
8924
|
repo: string;
|
|
8845
8925
|
};
|
|
8846
8926
|
Update: {
|
|
8927
|
+
genegeerd_op?: string | null;
|
|
8847
8928
|
gescand_op?: string;
|
|
8848
8929
|
gevonden?: boolean;
|
|
8849
8930
|
melding?: string | null;
|
|
@@ -8852,13 +8933,45 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8852
8933
|
};
|
|
8853
8934
|
Relationships: [];
|
|
8854
8935
|
};
|
|
8936
|
+
itk_handover_github_voortgang: {
|
|
8937
|
+
Row: {
|
|
8938
|
+
bijgewerkt_op: string;
|
|
8939
|
+
huidige_repo: string | null;
|
|
8940
|
+
id: boolean;
|
|
8941
|
+
klaar: number;
|
|
8942
|
+
loopt: boolean;
|
|
8943
|
+
totaal: number;
|
|
8944
|
+
};
|
|
8945
|
+
Insert: {
|
|
8946
|
+
bijgewerkt_op?: string;
|
|
8947
|
+
huidige_repo?: string | null;
|
|
8948
|
+
id?: boolean;
|
|
8949
|
+
klaar?: number;
|
|
8950
|
+
loopt?: boolean;
|
|
8951
|
+
totaal?: number;
|
|
8952
|
+
};
|
|
8953
|
+
Update: {
|
|
8954
|
+
bijgewerkt_op?: string;
|
|
8955
|
+
huidige_repo?: string | null;
|
|
8956
|
+
id?: boolean;
|
|
8957
|
+
klaar?: number;
|
|
8958
|
+
loopt?: boolean;
|
|
8959
|
+
totaal?: number;
|
|
8960
|
+
};
|
|
8961
|
+
Relationships: [];
|
|
8962
|
+
};
|
|
8855
8963
|
itk_handover_module_meta: {
|
|
8856
8964
|
Row: {
|
|
8857
8965
|
check_aangevraagd_op: string | null;
|
|
8858
8966
|
check_nodig: boolean;
|
|
8859
8967
|
check_reden: string | null;
|
|
8860
8968
|
created_at: string;
|
|
8969
|
+
md_bron: boolean;
|
|
8970
|
+
md_bron_op: string | null;
|
|
8971
|
+
md_bron_pad: string | null;
|
|
8861
8972
|
module_id: string;
|
|
8973
|
+
nieuw_gezien: boolean;
|
|
8974
|
+
nieuw_gezien_op: string | null;
|
|
8862
8975
|
project_url: string | null;
|
|
8863
8976
|
publicatie_url: string | null;
|
|
8864
8977
|
updated_at: string;
|
|
@@ -8868,7 +8981,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8868
8981
|
check_nodig?: boolean;
|
|
8869
8982
|
check_reden?: string | null;
|
|
8870
8983
|
created_at?: string;
|
|
8984
|
+
md_bron?: boolean;
|
|
8985
|
+
md_bron_op?: string | null;
|
|
8986
|
+
md_bron_pad?: string | null;
|
|
8871
8987
|
module_id: string;
|
|
8988
|
+
nieuw_gezien?: boolean;
|
|
8989
|
+
nieuw_gezien_op?: string | null;
|
|
8872
8990
|
project_url?: string | null;
|
|
8873
8991
|
publicatie_url?: string | null;
|
|
8874
8992
|
updated_at?: string;
|
|
@@ -8878,13 +8996,45 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8878
8996
|
check_nodig?: boolean;
|
|
8879
8997
|
check_reden?: string | null;
|
|
8880
8998
|
created_at?: string;
|
|
8999
|
+
md_bron?: boolean;
|
|
9000
|
+
md_bron_op?: string | null;
|
|
9001
|
+
md_bron_pad?: string | null;
|
|
8881
9002
|
module_id?: string;
|
|
9003
|
+
nieuw_gezien?: boolean;
|
|
9004
|
+
nieuw_gezien_op?: string | null;
|
|
8882
9005
|
project_url?: string | null;
|
|
8883
9006
|
publicatie_url?: string | null;
|
|
8884
9007
|
updated_at?: string;
|
|
8885
9008
|
};
|
|
8886
9009
|
Relationships: [];
|
|
8887
9010
|
};
|
|
9011
|
+
itk_handover_module_naam: {
|
|
9012
|
+
Row: {
|
|
9013
|
+
bron_repo: string;
|
|
9014
|
+
created_at: string;
|
|
9015
|
+
module_id: string;
|
|
9016
|
+
standaardnaam: string | null;
|
|
9017
|
+
updated_at: string;
|
|
9018
|
+
weergavenaam: string;
|
|
9019
|
+
};
|
|
9020
|
+
Insert: {
|
|
9021
|
+
bron_repo?: string;
|
|
9022
|
+
created_at?: string;
|
|
9023
|
+
module_id: string;
|
|
9024
|
+
standaardnaam?: string | null;
|
|
9025
|
+
updated_at?: string;
|
|
9026
|
+
weergavenaam: string;
|
|
9027
|
+
};
|
|
9028
|
+
Update: {
|
|
9029
|
+
bron_repo?: string;
|
|
9030
|
+
created_at?: string;
|
|
9031
|
+
module_id?: string;
|
|
9032
|
+
standaardnaam?: string | null;
|
|
9033
|
+
updated_at?: string;
|
|
9034
|
+
weergavenaam?: string;
|
|
9035
|
+
};
|
|
9036
|
+
Relationships: [];
|
|
9037
|
+
};
|
|
8888
9038
|
itk_handover_project_modules: {
|
|
8889
9039
|
Row: {
|
|
8890
9040
|
created_at: string;
|
|
@@ -8998,6 +9148,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
8998
9148
|
};
|
|
8999
9149
|
itk_module_handovers: {
|
|
9000
9150
|
Row: {
|
|
9151
|
+
bekende_risicos: string[];
|
|
9001
9152
|
bevindingen: string | null;
|
|
9002
9153
|
bezit_tabellen: string[];
|
|
9003
9154
|
bron_commit: string | null;
|
|
@@ -9016,6 +9167,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9016
9167
|
inhoud_md: string;
|
|
9017
9168
|
is_actueel: boolean;
|
|
9018
9169
|
is_gearchiveerd: boolean;
|
|
9170
|
+
laatst_bevestigd_op: string | null;
|
|
9019
9171
|
laatst_gecontroleerd_op: string | null;
|
|
9020
9172
|
module_id: string;
|
|
9021
9173
|
module_titel: string;
|
|
@@ -9025,6 +9177,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9025
9177
|
versie: number;
|
|
9026
9178
|
};
|
|
9027
9179
|
Insert: {
|
|
9180
|
+
bekende_risicos?: string[];
|
|
9028
9181
|
bevindingen?: string | null;
|
|
9029
9182
|
bezit_tabellen?: string[];
|
|
9030
9183
|
bron_commit?: string | null;
|
|
@@ -9043,6 +9196,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9043
9196
|
inhoud_md: string;
|
|
9044
9197
|
is_actueel?: boolean;
|
|
9045
9198
|
is_gearchiveerd?: boolean;
|
|
9199
|
+
laatst_bevestigd_op?: string | null;
|
|
9046
9200
|
laatst_gecontroleerd_op?: string | null;
|
|
9047
9201
|
module_id: string;
|
|
9048
9202
|
module_titel: string;
|
|
@@ -9052,6 +9206,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9052
9206
|
versie?: number;
|
|
9053
9207
|
};
|
|
9054
9208
|
Update: {
|
|
9209
|
+
bekende_risicos?: string[];
|
|
9055
9210
|
bevindingen?: string | null;
|
|
9056
9211
|
bezit_tabellen?: string[];
|
|
9057
9212
|
bron_commit?: string | null;
|
|
@@ -9070,6 +9225,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9070
9225
|
inhoud_md?: string;
|
|
9071
9226
|
is_actueel?: boolean;
|
|
9072
9227
|
is_gearchiveerd?: boolean;
|
|
9228
|
+
laatst_bevestigd_op?: string | null;
|
|
9073
9229
|
laatst_gecontroleerd_op?: string | null;
|
|
9074
9230
|
module_id?: string;
|
|
9075
9231
|
module_titel?: string;
|
|
@@ -9278,6 +9434,90 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9278
9434
|
};
|
|
9279
9435
|
Relationships: [];
|
|
9280
9436
|
};
|
|
9437
|
+
itk_offerte_voorstel_status: {
|
|
9438
|
+
Row: {
|
|
9439
|
+
ai_concept: import("../integrations/supabase/types").Json | null;
|
|
9440
|
+
created_at: string;
|
|
9441
|
+
id: string;
|
|
9442
|
+
offerte_id: string | null;
|
|
9443
|
+
proposal_id: string;
|
|
9444
|
+
seen_at: string | null;
|
|
9445
|
+
updated_at: string;
|
|
9446
|
+
};
|
|
9447
|
+
Insert: {
|
|
9448
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9449
|
+
created_at?: string;
|
|
9450
|
+
id?: string;
|
|
9451
|
+
offerte_id?: string | null;
|
|
9452
|
+
proposal_id: string;
|
|
9453
|
+
seen_at?: string | null;
|
|
9454
|
+
updated_at?: string;
|
|
9455
|
+
};
|
|
9456
|
+
Update: {
|
|
9457
|
+
ai_concept?: import("../integrations/supabase/types").Json | null;
|
|
9458
|
+
created_at?: string;
|
|
9459
|
+
id?: string;
|
|
9460
|
+
offerte_id?: string | null;
|
|
9461
|
+
proposal_id?: string;
|
|
9462
|
+
seen_at?: string | null;
|
|
9463
|
+
updated_at?: string;
|
|
9464
|
+
};
|
|
9465
|
+
Relationships: [{
|
|
9466
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9467
|
+
columns: ["offerte_id"];
|
|
9468
|
+
isOneToOne: false;
|
|
9469
|
+
referencedRelation: "itk_offertes";
|
|
9470
|
+
referencedColumns: ["id"];
|
|
9471
|
+
}];
|
|
9472
|
+
};
|
|
9473
|
+
itk_offerte_werkbon_queue: {
|
|
9474
|
+
Row: {
|
|
9475
|
+
bron_werkbon_id: string | null;
|
|
9476
|
+
created_at: string;
|
|
9477
|
+
foutmelding: string | null;
|
|
9478
|
+
id: string;
|
|
9479
|
+
offerte_id: string;
|
|
9480
|
+
payload: import("../integrations/supabase/types").Json;
|
|
9481
|
+
status: string;
|
|
9482
|
+
updated_at: string;
|
|
9483
|
+
verwerkt_op: string | null;
|
|
9484
|
+
werkbon_id: string | null;
|
|
9485
|
+
werkbon_nummer: string | null;
|
|
9486
|
+
};
|
|
9487
|
+
Insert: {
|
|
9488
|
+
bron_werkbon_id?: string | null;
|
|
9489
|
+
created_at?: string;
|
|
9490
|
+
foutmelding?: string | null;
|
|
9491
|
+
id?: string;
|
|
9492
|
+
offerte_id: string;
|
|
9493
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
9494
|
+
status?: string;
|
|
9495
|
+
updated_at?: string;
|
|
9496
|
+
verwerkt_op?: string | null;
|
|
9497
|
+
werkbon_id?: string | null;
|
|
9498
|
+
werkbon_nummer?: string | null;
|
|
9499
|
+
};
|
|
9500
|
+
Update: {
|
|
9501
|
+
bron_werkbon_id?: string | null;
|
|
9502
|
+
created_at?: string;
|
|
9503
|
+
foutmelding?: string | null;
|
|
9504
|
+
id?: string;
|
|
9505
|
+
offerte_id?: string;
|
|
9506
|
+
payload?: import("../integrations/supabase/types").Json;
|
|
9507
|
+
status?: string;
|
|
9508
|
+
updated_at?: string;
|
|
9509
|
+
verwerkt_op?: string | null;
|
|
9510
|
+
werkbon_id?: string | null;
|
|
9511
|
+
werkbon_nummer?: string | null;
|
|
9512
|
+
};
|
|
9513
|
+
Relationships: [{
|
|
9514
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9515
|
+
columns: ["offerte_id"];
|
|
9516
|
+
isOneToOne: false;
|
|
9517
|
+
referencedRelation: "itk_offertes";
|
|
9518
|
+
referencedColumns: ["id"];
|
|
9519
|
+
}];
|
|
9520
|
+
};
|
|
9281
9521
|
itk_offertes: {
|
|
9282
9522
|
Row: {
|
|
9283
9523
|
ai_generated: boolean;
|
|
@@ -9550,6 +9790,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9550
9790
|
};
|
|
9551
9791
|
leave_requests: {
|
|
9552
9792
|
Row: {
|
|
9793
|
+
cancellation_requested_at: string | null;
|
|
9794
|
+
cancellation_status: string | null;
|
|
9553
9795
|
created_at: string;
|
|
9554
9796
|
decided_at: string | null;
|
|
9555
9797
|
decided_by: string | null;
|
|
@@ -9560,6 +9802,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9560
9802
|
leave_type: string;
|
|
9561
9803
|
monteur_id: string | null;
|
|
9562
9804
|
reason: string | null;
|
|
9805
|
+
reden_afkeur: string | null;
|
|
9563
9806
|
start_date: string;
|
|
9564
9807
|
start_time: string | null;
|
|
9565
9808
|
status: string;
|
|
@@ -9567,6 +9810,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9567
9810
|
user_id: string;
|
|
9568
9811
|
};
|
|
9569
9812
|
Insert: {
|
|
9813
|
+
cancellation_requested_at?: string | null;
|
|
9814
|
+
cancellation_status?: string | null;
|
|
9570
9815
|
created_at?: string;
|
|
9571
9816
|
decided_at?: string | null;
|
|
9572
9817
|
decided_by?: string | null;
|
|
@@ -9577,6 +9822,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9577
9822
|
leave_type?: string;
|
|
9578
9823
|
monteur_id?: string | null;
|
|
9579
9824
|
reason?: string | null;
|
|
9825
|
+
reden_afkeur?: string | null;
|
|
9580
9826
|
start_date: string;
|
|
9581
9827
|
start_time?: string | null;
|
|
9582
9828
|
status?: string;
|
|
@@ -9584,6 +9830,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9584
9830
|
user_id: string;
|
|
9585
9831
|
};
|
|
9586
9832
|
Update: {
|
|
9833
|
+
cancellation_requested_at?: string | null;
|
|
9834
|
+
cancellation_status?: string | null;
|
|
9587
9835
|
created_at?: string;
|
|
9588
9836
|
decided_at?: string | null;
|
|
9589
9837
|
decided_by?: string | null;
|
|
@@ -9594,6 +9842,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
9594
9842
|
leave_type?: string;
|
|
9595
9843
|
monteur_id?: string | null;
|
|
9596
9844
|
reason?: string | null;
|
|
9845
|
+
reden_afkeur?: string | null;
|
|
9597
9846
|
start_date?: string;
|
|
9598
9847
|
start_time?: string | null;
|
|
9599
9848
|
status?: string;
|
|
@@ -10736,6 +10985,156 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10736
10985
|
};
|
|
10737
10986
|
Relationships: [];
|
|
10738
10987
|
};
|
|
10988
|
+
logistics_order_finalize_queue: {
|
|
10989
|
+
Row: {
|
|
10990
|
+
attempts: number;
|
|
10991
|
+
claimed_at: string | null;
|
|
10992
|
+
created_at: string;
|
|
10993
|
+
finished_at: string | null;
|
|
10994
|
+
last_error: string | null;
|
|
10995
|
+
lease_until: string | null;
|
|
10996
|
+
max_attempts: number;
|
|
10997
|
+
next_attempt_at: string;
|
|
10998
|
+
order_id: string;
|
|
10999
|
+
reason: string | null;
|
|
11000
|
+
requested_at: string;
|
|
11001
|
+
status: string;
|
|
11002
|
+
updated_at: string;
|
|
11003
|
+
};
|
|
11004
|
+
Insert: {
|
|
11005
|
+
attempts?: number;
|
|
11006
|
+
claimed_at?: string | null;
|
|
11007
|
+
created_at?: string;
|
|
11008
|
+
finished_at?: string | null;
|
|
11009
|
+
last_error?: string | null;
|
|
11010
|
+
lease_until?: string | null;
|
|
11011
|
+
max_attempts?: number;
|
|
11012
|
+
next_attempt_at?: string;
|
|
11013
|
+
order_id: string;
|
|
11014
|
+
reason?: string | null;
|
|
11015
|
+
requested_at?: string;
|
|
11016
|
+
status?: string;
|
|
11017
|
+
updated_at?: string;
|
|
11018
|
+
};
|
|
11019
|
+
Update: {
|
|
11020
|
+
attempts?: number;
|
|
11021
|
+
claimed_at?: string | null;
|
|
11022
|
+
created_at?: string;
|
|
11023
|
+
finished_at?: string | null;
|
|
11024
|
+
last_error?: string | null;
|
|
11025
|
+
lease_until?: string | null;
|
|
11026
|
+
max_attempts?: number;
|
|
11027
|
+
next_attempt_at?: string;
|
|
11028
|
+
order_id?: string;
|
|
11029
|
+
reason?: string | null;
|
|
11030
|
+
requested_at?: string;
|
|
11031
|
+
status?: string;
|
|
11032
|
+
updated_at?: string;
|
|
11033
|
+
};
|
|
11034
|
+
Relationships: [];
|
|
11035
|
+
};
|
|
11036
|
+
logistics_order_merges: {
|
|
11037
|
+
Row: {
|
|
11038
|
+
group_key: string;
|
|
11039
|
+
id: string;
|
|
11040
|
+
items_moved: number;
|
|
11041
|
+
kept_order_id: string;
|
|
11042
|
+
kept_order_number: string | null;
|
|
11043
|
+
merged_at: string;
|
|
11044
|
+
merged_order_id: string;
|
|
11045
|
+
merged_order_number: string | null;
|
|
11046
|
+
sales_order_id: string | null;
|
|
11047
|
+
};
|
|
11048
|
+
Insert: {
|
|
11049
|
+
group_key: string;
|
|
11050
|
+
id?: string;
|
|
11051
|
+
items_moved?: number;
|
|
11052
|
+
kept_order_id: string;
|
|
11053
|
+
kept_order_number?: string | null;
|
|
11054
|
+
merged_at?: string;
|
|
11055
|
+
merged_order_id: string;
|
|
11056
|
+
merged_order_number?: string | null;
|
|
11057
|
+
sales_order_id?: string | null;
|
|
11058
|
+
};
|
|
11059
|
+
Update: {
|
|
11060
|
+
group_key?: string;
|
|
11061
|
+
id?: string;
|
|
11062
|
+
items_moved?: number;
|
|
11063
|
+
kept_order_id?: string;
|
|
11064
|
+
kept_order_number?: string | null;
|
|
11065
|
+
merged_at?: string;
|
|
11066
|
+
merged_order_id?: string;
|
|
11067
|
+
merged_order_number?: string | null;
|
|
11068
|
+
sales_order_id?: string | null;
|
|
11069
|
+
};
|
|
11070
|
+
Relationships: [];
|
|
11071
|
+
};
|
|
11072
|
+
logistics_packing_deviations: {
|
|
11073
|
+
Row: {
|
|
11074
|
+
auto_fixed_at: string | null;
|
|
11075
|
+
created_at: string;
|
|
11076
|
+
dev_key: string;
|
|
11077
|
+
first_seen_at: string;
|
|
11078
|
+
floriday_packing: import("../integrations/supabase/types").Json;
|
|
11079
|
+
human_reason: string | null;
|
|
11080
|
+
id: string;
|
|
11081
|
+
last_seen_at: string;
|
|
11082
|
+
local_packing: import("../integrations/supabase/types").Json;
|
|
11083
|
+
needs_human: boolean;
|
|
11084
|
+
order_id: string | null;
|
|
11085
|
+
order_item_id: string | null;
|
|
11086
|
+
order_number: string | null;
|
|
11087
|
+
product_id: string | null;
|
|
11088
|
+
product_name: string | null;
|
|
11089
|
+
resolved_at: string | null;
|
|
11090
|
+
scope: string;
|
|
11091
|
+
trade_item_id: string | null;
|
|
11092
|
+
updated_at: string;
|
|
11093
|
+
};
|
|
11094
|
+
Insert: {
|
|
11095
|
+
auto_fixed_at?: string | null;
|
|
11096
|
+
created_at?: string;
|
|
11097
|
+
dev_key: string;
|
|
11098
|
+
first_seen_at?: string;
|
|
11099
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11100
|
+
human_reason?: string | null;
|
|
11101
|
+
id?: string;
|
|
11102
|
+
last_seen_at?: string;
|
|
11103
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11104
|
+
needs_human?: boolean;
|
|
11105
|
+
order_id?: string | null;
|
|
11106
|
+
order_item_id?: string | null;
|
|
11107
|
+
order_number?: string | null;
|
|
11108
|
+
product_id?: string | null;
|
|
11109
|
+
product_name?: string | null;
|
|
11110
|
+
resolved_at?: string | null;
|
|
11111
|
+
scope: string;
|
|
11112
|
+
trade_item_id?: string | null;
|
|
11113
|
+
updated_at?: string;
|
|
11114
|
+
};
|
|
11115
|
+
Update: {
|
|
11116
|
+
auto_fixed_at?: string | null;
|
|
11117
|
+
created_at?: string;
|
|
11118
|
+
dev_key?: string;
|
|
11119
|
+
first_seen_at?: string;
|
|
11120
|
+
floriday_packing?: import("../integrations/supabase/types").Json;
|
|
11121
|
+
human_reason?: string | null;
|
|
11122
|
+
id?: string;
|
|
11123
|
+
last_seen_at?: string;
|
|
11124
|
+
local_packing?: import("../integrations/supabase/types").Json;
|
|
11125
|
+
needs_human?: boolean;
|
|
11126
|
+
order_id?: string | null;
|
|
11127
|
+
order_item_id?: string | null;
|
|
11128
|
+
order_number?: string | null;
|
|
11129
|
+
product_id?: string | null;
|
|
11130
|
+
product_name?: string | null;
|
|
11131
|
+
resolved_at?: string | null;
|
|
11132
|
+
scope?: string;
|
|
11133
|
+
trade_item_id?: string | null;
|
|
11134
|
+
updated_at?: string;
|
|
11135
|
+
};
|
|
11136
|
+
Relationships: [];
|
|
11137
|
+
};
|
|
10739
11138
|
logistics_pick_data_requests: {
|
|
10740
11139
|
Row: {
|
|
10741
11140
|
actions: import("../integrations/supabase/types").Json;
|
|
@@ -10814,6 +11213,30 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10814
11213
|
};
|
|
10815
11214
|
Relationships: [];
|
|
10816
11215
|
};
|
|
11216
|
+
logistics_plan_locks: {
|
|
11217
|
+
Row: {
|
|
11218
|
+
created_at: string;
|
|
11219
|
+
lock_key: string;
|
|
11220
|
+
locked_until: string;
|
|
11221
|
+
owner: string | null;
|
|
11222
|
+
updated_at: string;
|
|
11223
|
+
};
|
|
11224
|
+
Insert: {
|
|
11225
|
+
created_at?: string;
|
|
11226
|
+
lock_key: string;
|
|
11227
|
+
locked_until: string;
|
|
11228
|
+
owner?: string | null;
|
|
11229
|
+
updated_at?: string;
|
|
11230
|
+
};
|
|
11231
|
+
Update: {
|
|
11232
|
+
created_at?: string;
|
|
11233
|
+
lock_key?: string;
|
|
11234
|
+
locked_until?: string;
|
|
11235
|
+
owner?: string | null;
|
|
11236
|
+
updated_at?: string;
|
|
11237
|
+
};
|
|
11238
|
+
Relationships: [];
|
|
11239
|
+
};
|
|
10817
11240
|
logistics_plan_queue: {
|
|
10818
11241
|
Row: {
|
|
10819
11242
|
attempts: number;
|
|
@@ -10949,14 +11372,70 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10949
11372
|
};
|
|
10950
11373
|
Relationships: [];
|
|
10951
11374
|
};
|
|
10952
|
-
|
|
11375
|
+
logistics_planner_diff_runs: {
|
|
10953
11376
|
Row: {
|
|
11377
|
+
after_snapshot: import("../integrations/supabase/types").Json | null;
|
|
11378
|
+
before_snapshot: import("../integrations/supabase/types").Json;
|
|
11379
|
+
buffer_id: string | null;
|
|
11380
|
+
carts_after: number | null;
|
|
11381
|
+
carts_before: number | null;
|
|
11382
|
+
compared_at: string | null;
|
|
10954
11383
|
created_at: string;
|
|
10955
|
-
|
|
10956
|
-
|
|
10957
|
-
|
|
11384
|
+
differences: import("../integrations/supabase/types").Json | null;
|
|
11385
|
+
id: string;
|
|
11386
|
+
identical: boolean | null;
|
|
11387
|
+
mode: string;
|
|
11388
|
+
order_id: string;
|
|
11389
|
+
order_ref: string | null;
|
|
11390
|
+
reason: string | null;
|
|
11391
|
+
status: string;
|
|
11392
|
+
};
|
|
11393
|
+
Insert: {
|
|
11394
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11395
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11396
|
+
buffer_id?: string | null;
|
|
11397
|
+
carts_after?: number | null;
|
|
11398
|
+
carts_before?: number | null;
|
|
11399
|
+
compared_at?: string | null;
|
|
11400
|
+
created_at?: string;
|
|
11401
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11402
|
+
id?: string;
|
|
11403
|
+
identical?: boolean | null;
|
|
11404
|
+
mode: string;
|
|
11405
|
+
order_id: string;
|
|
11406
|
+
order_ref?: string | null;
|
|
11407
|
+
reason?: string | null;
|
|
11408
|
+
status?: string;
|
|
11409
|
+
};
|
|
11410
|
+
Update: {
|
|
11411
|
+
after_snapshot?: import("../integrations/supabase/types").Json | null;
|
|
11412
|
+
before_snapshot?: import("../integrations/supabase/types").Json;
|
|
11413
|
+
buffer_id?: string | null;
|
|
11414
|
+
carts_after?: number | null;
|
|
11415
|
+
carts_before?: number | null;
|
|
11416
|
+
compared_at?: string | null;
|
|
11417
|
+
created_at?: string;
|
|
11418
|
+
differences?: import("../integrations/supabase/types").Json | null;
|
|
11419
|
+
id?: string;
|
|
11420
|
+
identical?: boolean | null;
|
|
11421
|
+
mode?: string;
|
|
11422
|
+
order_id?: string;
|
|
11423
|
+
order_ref?: string | null;
|
|
11424
|
+
reason?: string | null;
|
|
11425
|
+
status?: string;
|
|
11426
|
+
};
|
|
11427
|
+
Relationships: [];
|
|
11428
|
+
};
|
|
11429
|
+
logistics_rebuffer_state: {
|
|
11430
|
+
Row: {
|
|
11431
|
+
created_at: string;
|
|
11432
|
+
id: boolean;
|
|
11433
|
+
last_checked: number;
|
|
11434
|
+
last_duration_ms: number;
|
|
11435
|
+
last_mode: string | null;
|
|
10958
11436
|
last_run_at: string | null;
|
|
10959
11437
|
last_updated: number;
|
|
11438
|
+
last_would_change: number | null;
|
|
10960
11439
|
pending: boolean;
|
|
10961
11440
|
requested_at: string | null;
|
|
10962
11441
|
updated_at: string;
|
|
@@ -10966,8 +11445,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10966
11445
|
id?: boolean;
|
|
10967
11446
|
last_checked?: number;
|
|
10968
11447
|
last_duration_ms?: number;
|
|
11448
|
+
last_mode?: string | null;
|
|
10969
11449
|
last_run_at?: string | null;
|
|
10970
11450
|
last_updated?: number;
|
|
11451
|
+
last_would_change?: number | null;
|
|
10971
11452
|
pending?: boolean;
|
|
10972
11453
|
requested_at?: string | null;
|
|
10973
11454
|
updated_at?: string;
|
|
@@ -10977,8 +11458,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
10977
11458
|
id?: boolean;
|
|
10978
11459
|
last_checked?: number;
|
|
10979
11460
|
last_duration_ms?: number;
|
|
11461
|
+
last_mode?: string | null;
|
|
10980
11462
|
last_run_at?: string | null;
|
|
10981
11463
|
last_updated?: number;
|
|
11464
|
+
last_would_change?: number | null;
|
|
10982
11465
|
pending?: boolean;
|
|
10983
11466
|
requested_at?: string | null;
|
|
10984
11467
|
updated_at?: string;
|
|
@@ -11768,6 +12251,129 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
11768
12251
|
};
|
|
11769
12252
|
Relationships: [];
|
|
11770
12253
|
};
|
|
12254
|
+
logistics_trace_events_archive: {
|
|
12255
|
+
Row: {
|
|
12256
|
+
actor: string | null;
|
|
12257
|
+
attempts: number;
|
|
12258
|
+
calc: import("../integrations/supabase/types").Json | null;
|
|
12259
|
+
cart_ref: string | null;
|
|
12260
|
+
created_at: string;
|
|
12261
|
+
db_action: string | null;
|
|
12262
|
+
db_new: import("../integrations/supabase/types").Json | null;
|
|
12263
|
+
db_old: import("../integrations/supabase/types").Json | null;
|
|
12264
|
+
db_record: string | null;
|
|
12265
|
+
db_table: string | null;
|
|
12266
|
+
decision: string | null;
|
|
12267
|
+
duration_ms: number | null;
|
|
12268
|
+
error: string | null;
|
|
12269
|
+
error_class: string | null;
|
|
12270
|
+
external_action: string | null;
|
|
12271
|
+
external_ref: string | null;
|
|
12272
|
+
external_response: import("../integrations/supabase/types").Json | null;
|
|
12273
|
+
external_status: string | null;
|
|
12274
|
+
external_system: string | null;
|
|
12275
|
+
id: string;
|
|
12276
|
+
input: import("../integrations/supabase/types").Json | null;
|
|
12277
|
+
next_attempt_at: string | null;
|
|
12278
|
+
next_step: string | null;
|
|
12279
|
+
node_id: string | null;
|
|
12280
|
+
order_ref: string | null;
|
|
12281
|
+
order_source: string | null;
|
|
12282
|
+
output: import("../integrations/supabase/types").Json | null;
|
|
12283
|
+
phase: string;
|
|
12284
|
+
reads: import("../integrations/supabase/types").Json | null;
|
|
12285
|
+
reason: string | null;
|
|
12286
|
+
rule: string | null;
|
|
12287
|
+
slip_ref: string | null;
|
|
12288
|
+
status: string;
|
|
12289
|
+
step: string;
|
|
12290
|
+
superseded_at: string;
|
|
12291
|
+
superseded_reason: string | null;
|
|
12292
|
+
trace_id: string;
|
|
12293
|
+
values_used: import("../integrations/supabase/types").Json | null;
|
|
12294
|
+
};
|
|
12295
|
+
Insert: {
|
|
12296
|
+
actor?: string | null;
|
|
12297
|
+
attempts?: number;
|
|
12298
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
12299
|
+
cart_ref?: string | null;
|
|
12300
|
+
created_at?: string;
|
|
12301
|
+
db_action?: string | null;
|
|
12302
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
12303
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
12304
|
+
db_record?: string | null;
|
|
12305
|
+
db_table?: string | null;
|
|
12306
|
+
decision?: string | null;
|
|
12307
|
+
duration_ms?: number | null;
|
|
12308
|
+
error?: string | null;
|
|
12309
|
+
error_class?: string | null;
|
|
12310
|
+
external_action?: string | null;
|
|
12311
|
+
external_ref?: string | null;
|
|
12312
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
12313
|
+
external_status?: string | null;
|
|
12314
|
+
external_system?: string | null;
|
|
12315
|
+
id?: string;
|
|
12316
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
12317
|
+
next_attempt_at?: string | null;
|
|
12318
|
+
next_step?: string | null;
|
|
12319
|
+
node_id?: string | null;
|
|
12320
|
+
order_ref?: string | null;
|
|
12321
|
+
order_source?: string | null;
|
|
12322
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
12323
|
+
phase: string;
|
|
12324
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
12325
|
+
reason?: string | null;
|
|
12326
|
+
rule?: string | null;
|
|
12327
|
+
slip_ref?: string | null;
|
|
12328
|
+
status: string;
|
|
12329
|
+
step: string;
|
|
12330
|
+
superseded_at?: string;
|
|
12331
|
+
superseded_reason?: string | null;
|
|
12332
|
+
trace_id?: string;
|
|
12333
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
12334
|
+
};
|
|
12335
|
+
Update: {
|
|
12336
|
+
actor?: string | null;
|
|
12337
|
+
attempts?: number;
|
|
12338
|
+
calc?: import("../integrations/supabase/types").Json | null;
|
|
12339
|
+
cart_ref?: string | null;
|
|
12340
|
+
created_at?: string;
|
|
12341
|
+
db_action?: string | null;
|
|
12342
|
+
db_new?: import("../integrations/supabase/types").Json | null;
|
|
12343
|
+
db_old?: import("../integrations/supabase/types").Json | null;
|
|
12344
|
+
db_record?: string | null;
|
|
12345
|
+
db_table?: string | null;
|
|
12346
|
+
decision?: string | null;
|
|
12347
|
+
duration_ms?: number | null;
|
|
12348
|
+
error?: string | null;
|
|
12349
|
+
error_class?: string | null;
|
|
12350
|
+
external_action?: string | null;
|
|
12351
|
+
external_ref?: string | null;
|
|
12352
|
+
external_response?: import("../integrations/supabase/types").Json | null;
|
|
12353
|
+
external_status?: string | null;
|
|
12354
|
+
external_system?: string | null;
|
|
12355
|
+
id?: string;
|
|
12356
|
+
input?: import("../integrations/supabase/types").Json | null;
|
|
12357
|
+
next_attempt_at?: string | null;
|
|
12358
|
+
next_step?: string | null;
|
|
12359
|
+
node_id?: string | null;
|
|
12360
|
+
order_ref?: string | null;
|
|
12361
|
+
order_source?: string | null;
|
|
12362
|
+
output?: import("../integrations/supabase/types").Json | null;
|
|
12363
|
+
phase?: string;
|
|
12364
|
+
reads?: import("../integrations/supabase/types").Json | null;
|
|
12365
|
+
reason?: string | null;
|
|
12366
|
+
rule?: string | null;
|
|
12367
|
+
slip_ref?: string | null;
|
|
12368
|
+
status?: string;
|
|
12369
|
+
step?: string;
|
|
12370
|
+
superseded_at?: string;
|
|
12371
|
+
superseded_reason?: string | null;
|
|
12372
|
+
trace_id?: string;
|
|
12373
|
+
values_used?: import("../integrations/supabase/types").Json | null;
|
|
12374
|
+
};
|
|
12375
|
+
Relationships: [];
|
|
12376
|
+
};
|
|
11771
12377
|
logistics_variables: {
|
|
11772
12378
|
Row: {
|
|
11773
12379
|
created_at: string;
|
|
@@ -11915,6 +12521,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
11915
12521
|
has_attachments: boolean;
|
|
11916
12522
|
id: string;
|
|
11917
12523
|
message_id: string | null;
|
|
12524
|
+
preview: string | null;
|
|
11918
12525
|
profile_id: string | null;
|
|
11919
12526
|
raw_size: number | null;
|
|
11920
12527
|
received_at: string | null;
|
|
@@ -11938,6 +12545,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
11938
12545
|
has_attachments?: boolean;
|
|
11939
12546
|
id?: string;
|
|
11940
12547
|
message_id?: string | null;
|
|
12548
|
+
preview?: string | null;
|
|
11941
12549
|
profile_id?: string | null;
|
|
11942
12550
|
raw_size?: number | null;
|
|
11943
12551
|
received_at?: string | null;
|
|
@@ -11961,6 +12569,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
11961
12569
|
has_attachments?: boolean;
|
|
11962
12570
|
id?: string;
|
|
11963
12571
|
message_id?: string | null;
|
|
12572
|
+
preview?: string | null;
|
|
11964
12573
|
profile_id?: string | null;
|
|
11965
12574
|
raw_size?: number | null;
|
|
11966
12575
|
received_at?: string | null;
|
|
@@ -11992,6 +12601,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
11992
12601
|
};
|
|
11993
12602
|
mailbox_order_proposals: {
|
|
11994
12603
|
Row: {
|
|
12604
|
+
ai_ok: boolean | null;
|
|
11995
12605
|
ai_validation: import("../integrations/supabase/types").Json | null;
|
|
11996
12606
|
confidence: number | null;
|
|
11997
12607
|
created_at: string;
|
|
@@ -12009,6 +12619,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
12009
12619
|
updated_at: string;
|
|
12010
12620
|
};
|
|
12011
12621
|
Insert: {
|
|
12622
|
+
ai_ok?: boolean | null;
|
|
12012
12623
|
ai_validation?: import("../integrations/supabase/types").Json | null;
|
|
12013
12624
|
confidence?: number | null;
|
|
12014
12625
|
created_at?: string;
|
|
@@ -12026,6 +12637,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
12026
12637
|
updated_at?: string;
|
|
12027
12638
|
};
|
|
12028
12639
|
Update: {
|
|
12640
|
+
ai_ok?: boolean | null;
|
|
12029
12641
|
ai_validation?: import("../integrations/supabase/types").Json | null;
|
|
12030
12642
|
confidence?: number | null;
|
|
12031
12643
|
created_at?: string;
|
|
@@ -12845,6 +13457,42 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
12845
13457
|
};
|
|
12846
13458
|
Relationships: [];
|
|
12847
13459
|
};
|
|
13460
|
+
monteur_contracten: {
|
|
13461
|
+
Row: {
|
|
13462
|
+
contract_type: string;
|
|
13463
|
+
created_at: string;
|
|
13464
|
+
days_per_week: number;
|
|
13465
|
+
hours_per_week: number;
|
|
13466
|
+
id: string;
|
|
13467
|
+
updated_at: string;
|
|
13468
|
+
user_id: string;
|
|
13469
|
+
vacation_day_hours: number;
|
|
13470
|
+
vacation_days_per_year: number;
|
|
13471
|
+
};
|
|
13472
|
+
Insert: {
|
|
13473
|
+
contract_type?: string;
|
|
13474
|
+
created_at?: string;
|
|
13475
|
+
days_per_week?: number;
|
|
13476
|
+
hours_per_week?: number;
|
|
13477
|
+
id?: string;
|
|
13478
|
+
updated_at?: string;
|
|
13479
|
+
user_id: string;
|
|
13480
|
+
vacation_day_hours?: number;
|
|
13481
|
+
vacation_days_per_year?: number;
|
|
13482
|
+
};
|
|
13483
|
+
Update: {
|
|
13484
|
+
contract_type?: string;
|
|
13485
|
+
created_at?: string;
|
|
13486
|
+
days_per_week?: number;
|
|
13487
|
+
hours_per_week?: number;
|
|
13488
|
+
id?: string;
|
|
13489
|
+
updated_at?: string;
|
|
13490
|
+
user_id?: string;
|
|
13491
|
+
vacation_day_hours?: number;
|
|
13492
|
+
vacation_days_per_year?: number;
|
|
13493
|
+
};
|
|
13494
|
+
Relationships: [];
|
|
13495
|
+
};
|
|
12848
13496
|
nmbrs_component_mapping: {
|
|
12849
13497
|
Row: {
|
|
12850
13498
|
created_at: string;
|
|
@@ -13324,6 +13972,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13324
13972
|
id: string;
|
|
13325
13973
|
items: import("../integrations/supabase/types").Json;
|
|
13326
13974
|
notes: string | null;
|
|
13975
|
+
order_creation_error: string | null;
|
|
13976
|
+
order_creation_failed_at: string | null;
|
|
13977
|
+
order_id: string | null;
|
|
13327
13978
|
order_number: string | null;
|
|
13328
13979
|
recipient_id: string;
|
|
13329
13980
|
total_amount: number;
|
|
@@ -13338,6 +13989,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13338
13989
|
id?: string;
|
|
13339
13990
|
items?: import("../integrations/supabase/types").Json;
|
|
13340
13991
|
notes?: string | null;
|
|
13992
|
+
order_creation_error?: string | null;
|
|
13993
|
+
order_creation_failed_at?: string | null;
|
|
13994
|
+
order_id?: string | null;
|
|
13341
13995
|
order_number?: string | null;
|
|
13342
13996
|
recipient_id: string;
|
|
13343
13997
|
total_amount?: number;
|
|
@@ -13352,6 +14006,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13352
14006
|
id?: string;
|
|
13353
14007
|
items?: import("../integrations/supabase/types").Json;
|
|
13354
14008
|
notes?: string | null;
|
|
14009
|
+
order_creation_error?: string | null;
|
|
14010
|
+
order_creation_failed_at?: string | null;
|
|
14011
|
+
order_id?: string | null;
|
|
13355
14012
|
order_number?: string | null;
|
|
13356
14013
|
recipient_id?: string;
|
|
13357
14014
|
total_amount?: number;
|
|
@@ -13368,6 +14025,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13368
14025
|
isOneToOne: false;
|
|
13369
14026
|
referencedRelation: "customers";
|
|
13370
14027
|
referencedColumns: ["id"];
|
|
14028
|
+
}, {
|
|
14029
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14030
|
+
columns: ["order_id"];
|
|
14031
|
+
isOneToOne: false;
|
|
14032
|
+
referencedRelation: "orders";
|
|
14033
|
+
referencedColumns: ["id"];
|
|
13371
14034
|
}, {
|
|
13372
14035
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13373
14036
|
columns: ["recipient_id"];
|
|
@@ -13508,6 +14171,30 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13508
14171
|
};
|
|
13509
14172
|
Relationships: [];
|
|
13510
14173
|
};
|
|
14174
|
+
order_block_notifications: {
|
|
14175
|
+
Row: {
|
|
14176
|
+
id: string;
|
|
14177
|
+
notified_at: string;
|
|
14178
|
+
order_id: string;
|
|
14179
|
+
reason: string | null;
|
|
14180
|
+
reason_key: string;
|
|
14181
|
+
};
|
|
14182
|
+
Insert: {
|
|
14183
|
+
id?: string;
|
|
14184
|
+
notified_at?: string;
|
|
14185
|
+
order_id: string;
|
|
14186
|
+
reason?: string | null;
|
|
14187
|
+
reason_key: string;
|
|
14188
|
+
};
|
|
14189
|
+
Update: {
|
|
14190
|
+
id?: string;
|
|
14191
|
+
notified_at?: string;
|
|
14192
|
+
order_id?: string;
|
|
14193
|
+
reason?: string | null;
|
|
14194
|
+
reason_key?: string;
|
|
14195
|
+
};
|
|
14196
|
+
Relationships: [];
|
|
14197
|
+
};
|
|
13511
14198
|
order_buffers: {
|
|
13512
14199
|
Row: {
|
|
13513
14200
|
buffer_key: string;
|
|
@@ -13977,10 +14664,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13977
14664
|
id: string;
|
|
13978
14665
|
layers_per_cart: number | null;
|
|
13979
14666
|
order_id: string;
|
|
14667
|
+
packing_locked_at: string | null;
|
|
14668
|
+
packing_locked_by: string | null;
|
|
13980
14669
|
plants_per_crate: number | null;
|
|
13981
14670
|
product_id: string | null;
|
|
13982
14671
|
product_name: string;
|
|
13983
14672
|
quantity: number;
|
|
14673
|
+
source_line_key: string | null;
|
|
13984
14674
|
unit: string;
|
|
13985
14675
|
unit_price: number | null;
|
|
13986
14676
|
};
|
|
@@ -13990,10 +14680,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
13990
14680
|
id?: string;
|
|
13991
14681
|
layers_per_cart?: number | null;
|
|
13992
14682
|
order_id: string;
|
|
14683
|
+
packing_locked_at?: string | null;
|
|
14684
|
+
packing_locked_by?: string | null;
|
|
13993
14685
|
plants_per_crate?: number | null;
|
|
13994
14686
|
product_id?: string | null;
|
|
13995
14687
|
product_name: string;
|
|
13996
14688
|
quantity?: number;
|
|
14689
|
+
source_line_key?: string | null;
|
|
13997
14690
|
unit?: string;
|
|
13998
14691
|
unit_price?: number | null;
|
|
13999
14692
|
};
|
|
@@ -14003,10 +14696,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
14003
14696
|
id?: string;
|
|
14004
14697
|
layers_per_cart?: number | null;
|
|
14005
14698
|
order_id?: string;
|
|
14699
|
+
packing_locked_at?: string | null;
|
|
14700
|
+
packing_locked_by?: string | null;
|
|
14006
14701
|
plants_per_crate?: number | null;
|
|
14007
14702
|
product_id?: string | null;
|
|
14008
14703
|
product_name?: string;
|
|
14009
14704
|
quantity?: number;
|
|
14705
|
+
source_line_key?: string | null;
|
|
14010
14706
|
unit?: string;
|
|
14011
14707
|
unit_price?: number | null;
|
|
14012
14708
|
};
|
|
@@ -15515,80 +16211,386 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
15515
16211
|
referencedColumns: ["id"];
|
|
15516
16212
|
}];
|
|
15517
16213
|
};
|
|
15518
|
-
|
|
16214
|
+
planning_monteur_day_locations: {
|
|
15519
16215
|
Row: {
|
|
15520
|
-
actief: boolean;
|
|
15521
16216
|
created_at: string;
|
|
15522
|
-
|
|
16217
|
+
day: string;
|
|
16218
|
+
end_at: string;
|
|
15523
16219
|
id: string;
|
|
15524
|
-
|
|
15525
|
-
|
|
15526
|
-
naam: string;
|
|
15527
|
-
pairing_code_hash: string | null;
|
|
15528
|
-
pairing_expires_at: string | null;
|
|
15529
|
-
pairing_used_at: string | null;
|
|
15530
|
-
token_hash: string;
|
|
16220
|
+
monteur_id: string;
|
|
16221
|
+
start_from: string;
|
|
15531
16222
|
updated_at: string;
|
|
15532
|
-
versie: string;
|
|
15533
16223
|
};
|
|
15534
16224
|
Insert: {
|
|
15535
|
-
actief?: boolean;
|
|
15536
16225
|
created_at?: string;
|
|
15537
|
-
|
|
16226
|
+
day: string;
|
|
16227
|
+
end_at?: string;
|
|
15538
16228
|
id?: string;
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
naam: string;
|
|
15542
|
-
pairing_code_hash?: string | null;
|
|
15543
|
-
pairing_expires_at?: string | null;
|
|
15544
|
-
pairing_used_at?: string | null;
|
|
15545
|
-
token_hash: string;
|
|
16229
|
+
monteur_id: string;
|
|
16230
|
+
start_from?: string;
|
|
15546
16231
|
updated_at?: string;
|
|
15547
|
-
versie?: string;
|
|
15548
16232
|
};
|
|
15549
16233
|
Update: {
|
|
15550
|
-
actief?: boolean;
|
|
15551
16234
|
created_at?: string;
|
|
15552
|
-
|
|
16235
|
+
day?: string;
|
|
16236
|
+
end_at?: string;
|
|
15553
16237
|
id?: string;
|
|
15554
|
-
|
|
15555
|
-
|
|
15556
|
-
naam?: string;
|
|
15557
|
-
pairing_code_hash?: string | null;
|
|
15558
|
-
pairing_expires_at?: string | null;
|
|
15559
|
-
pairing_used_at?: string | null;
|
|
15560
|
-
token_hash?: string;
|
|
16238
|
+
monteur_id?: string;
|
|
16239
|
+
start_from?: string;
|
|
15561
16240
|
updated_at?: string;
|
|
15562
|
-
versie?: string;
|
|
15563
16241
|
};
|
|
15564
16242
|
Relationships: [];
|
|
15565
16243
|
};
|
|
15566
|
-
|
|
16244
|
+
planning_monteur_locations: {
|
|
15567
16245
|
Row: {
|
|
15568
|
-
bestaande_job_id: string | null;
|
|
15569
16246
|
created_at: string;
|
|
15570
|
-
|
|
15571
|
-
|
|
15572
|
-
|
|
16247
|
+
default_end: string;
|
|
16248
|
+
default_start: string;
|
|
16249
|
+
end_address: string | null;
|
|
16250
|
+
home_address: string | null;
|
|
15573
16251
|
id: string;
|
|
15574
|
-
|
|
15575
|
-
|
|
16252
|
+
monteur_id: string;
|
|
16253
|
+
start_address: string | null;
|
|
16254
|
+
updated_at: string;
|
|
15576
16255
|
};
|
|
15577
16256
|
Insert: {
|
|
15578
|
-
bestaande_job_id?: string | null;
|
|
15579
16257
|
created_at?: string;
|
|
15580
|
-
|
|
15581
|
-
|
|
15582
|
-
|
|
16258
|
+
default_end?: string;
|
|
16259
|
+
default_start?: string;
|
|
16260
|
+
end_address?: string | null;
|
|
16261
|
+
home_address?: string | null;
|
|
15583
16262
|
id?: string;
|
|
15584
|
-
|
|
15585
|
-
|
|
16263
|
+
monteur_id: string;
|
|
16264
|
+
start_address?: string | null;
|
|
16265
|
+
updated_at?: string;
|
|
15586
16266
|
};
|
|
15587
16267
|
Update: {
|
|
15588
|
-
bestaande_job_id?: string | null;
|
|
15589
16268
|
created_at?: string;
|
|
15590
|
-
|
|
15591
|
-
|
|
16269
|
+
default_end?: string;
|
|
16270
|
+
default_start?: string;
|
|
16271
|
+
end_address?: string | null;
|
|
16272
|
+
home_address?: string | null;
|
|
16273
|
+
id?: string;
|
|
16274
|
+
monteur_id?: string;
|
|
16275
|
+
start_address?: string | null;
|
|
16276
|
+
updated_at?: string;
|
|
16277
|
+
};
|
|
16278
|
+
Relationships: [];
|
|
16279
|
+
};
|
|
16280
|
+
planning_settings: {
|
|
16281
|
+
Row: {
|
|
16282
|
+
company_address: string | null;
|
|
16283
|
+
created_at: string;
|
|
16284
|
+
id: string;
|
|
16285
|
+
singleton: boolean;
|
|
16286
|
+
updated_at: string;
|
|
16287
|
+
};
|
|
16288
|
+
Insert: {
|
|
16289
|
+
company_address?: string | null;
|
|
16290
|
+
created_at?: string;
|
|
16291
|
+
id?: string;
|
|
16292
|
+
singleton?: boolean;
|
|
16293
|
+
updated_at?: string;
|
|
16294
|
+
};
|
|
16295
|
+
Update: {
|
|
16296
|
+
company_address?: string | null;
|
|
16297
|
+
created_at?: string;
|
|
16298
|
+
id?: string;
|
|
16299
|
+
singleton?: boolean;
|
|
16300
|
+
updated_at?: string;
|
|
16301
|
+
};
|
|
16302
|
+
Relationships: [];
|
|
16303
|
+
};
|
|
16304
|
+
planning_travel_legs: {
|
|
16305
|
+
Row: {
|
|
16306
|
+
after_min: number;
|
|
16307
|
+
after_reason: string | null;
|
|
16308
|
+
after_status: string;
|
|
16309
|
+
after_to_address: string | null;
|
|
16310
|
+
before_from_address: string | null;
|
|
16311
|
+
before_min: number;
|
|
16312
|
+
before_reason: string | null;
|
|
16313
|
+
before_status: string;
|
|
16314
|
+
computed_at: string;
|
|
16315
|
+
computed_end_at: string | null;
|
|
16316
|
+
computed_start_at: string | null;
|
|
16317
|
+
created_at: string;
|
|
16318
|
+
id: string;
|
|
16319
|
+
monteur_id: string;
|
|
16320
|
+
planning_item_id: string;
|
|
16321
|
+
shared_after_item_id: string | null;
|
|
16322
|
+
shared_before_item_id: string | null;
|
|
16323
|
+
updated_at: string;
|
|
16324
|
+
};
|
|
16325
|
+
Insert: {
|
|
16326
|
+
after_min?: number;
|
|
16327
|
+
after_reason?: string | null;
|
|
16328
|
+
after_status?: string;
|
|
16329
|
+
after_to_address?: string | null;
|
|
16330
|
+
before_from_address?: string | null;
|
|
16331
|
+
before_min?: number;
|
|
16332
|
+
before_reason?: string | null;
|
|
16333
|
+
before_status?: string;
|
|
16334
|
+
computed_at?: string;
|
|
16335
|
+
computed_end_at?: string | null;
|
|
16336
|
+
computed_start_at?: string | null;
|
|
16337
|
+
created_at?: string;
|
|
16338
|
+
id?: string;
|
|
16339
|
+
monteur_id: string;
|
|
16340
|
+
planning_item_id: string;
|
|
16341
|
+
shared_after_item_id?: string | null;
|
|
16342
|
+
shared_before_item_id?: string | null;
|
|
16343
|
+
updated_at?: string;
|
|
16344
|
+
};
|
|
16345
|
+
Update: {
|
|
16346
|
+
after_min?: number;
|
|
16347
|
+
after_reason?: string | null;
|
|
16348
|
+
after_status?: string;
|
|
16349
|
+
after_to_address?: string | null;
|
|
16350
|
+
before_from_address?: string | null;
|
|
16351
|
+
before_min?: number;
|
|
16352
|
+
before_reason?: string | null;
|
|
16353
|
+
before_status?: string;
|
|
16354
|
+
computed_at?: string;
|
|
16355
|
+
computed_end_at?: string | null;
|
|
16356
|
+
computed_start_at?: string | null;
|
|
16357
|
+
created_at?: string;
|
|
16358
|
+
id?: string;
|
|
16359
|
+
monteur_id?: string;
|
|
16360
|
+
planning_item_id?: string;
|
|
16361
|
+
shared_after_item_id?: string | null;
|
|
16362
|
+
shared_before_item_id?: string | null;
|
|
16363
|
+
updated_at?: string;
|
|
16364
|
+
};
|
|
16365
|
+
Relationships: [{
|
|
16366
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16367
|
+
columns: ["planning_item_id"];
|
|
16368
|
+
isOneToOne: false;
|
|
16369
|
+
referencedRelation: "planning_items";
|
|
16370
|
+
referencedColumns: ["id"];
|
|
16371
|
+
}, {
|
|
16372
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16373
|
+
columns: ["planning_item_id"];
|
|
16374
|
+
isOneToOne: false;
|
|
16375
|
+
referencedRelation: "planning_overview";
|
|
16376
|
+
referencedColumns: ["id"];
|
|
16377
|
+
}, {
|
|
16378
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16379
|
+
columns: ["shared_after_item_id"];
|
|
16380
|
+
isOneToOne: false;
|
|
16381
|
+
referencedRelation: "planning_items";
|
|
16382
|
+
referencedColumns: ["id"];
|
|
16383
|
+
}, {
|
|
16384
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16385
|
+
columns: ["shared_after_item_id"];
|
|
16386
|
+
isOneToOne: false;
|
|
16387
|
+
referencedRelation: "planning_overview";
|
|
16388
|
+
referencedColumns: ["id"];
|
|
16389
|
+
}, {
|
|
16390
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16391
|
+
columns: ["shared_before_item_id"];
|
|
16392
|
+
isOneToOne: false;
|
|
16393
|
+
referencedRelation: "planning_items";
|
|
16394
|
+
referencedColumns: ["id"];
|
|
16395
|
+
}, {
|
|
16396
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16397
|
+
columns: ["shared_before_item_id"];
|
|
16398
|
+
isOneToOne: false;
|
|
16399
|
+
referencedRelation: "planning_overview";
|
|
16400
|
+
referencedColumns: ["id"];
|
|
16401
|
+
}];
|
|
16402
|
+
};
|
|
16403
|
+
price_list_rows: {
|
|
16404
|
+
Row: {
|
|
16405
|
+
action: string;
|
|
16406
|
+
created_at: string;
|
|
16407
|
+
id: string;
|
|
16408
|
+
message: string | null;
|
|
16409
|
+
parsed: import("../integrations/supabase/types").Json;
|
|
16410
|
+
price_list_id: string;
|
|
16411
|
+
raw: import("../integrations/supabase/types").Json;
|
|
16412
|
+
row_number: number;
|
|
16413
|
+
supplier_product_id: string | null;
|
|
16414
|
+
};
|
|
16415
|
+
Insert: {
|
|
16416
|
+
action?: string;
|
|
16417
|
+
created_at?: string;
|
|
16418
|
+
id?: string;
|
|
16419
|
+
message?: string | null;
|
|
16420
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
16421
|
+
price_list_id: string;
|
|
16422
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
16423
|
+
row_number: number;
|
|
16424
|
+
supplier_product_id?: string | null;
|
|
16425
|
+
};
|
|
16426
|
+
Update: {
|
|
16427
|
+
action?: string;
|
|
16428
|
+
created_at?: string;
|
|
16429
|
+
id?: string;
|
|
16430
|
+
message?: string | null;
|
|
16431
|
+
parsed?: import("../integrations/supabase/types").Json;
|
|
16432
|
+
price_list_id?: string;
|
|
16433
|
+
raw?: import("../integrations/supabase/types").Json;
|
|
16434
|
+
row_number?: number;
|
|
16435
|
+
supplier_product_id?: string | null;
|
|
16436
|
+
};
|
|
16437
|
+
Relationships: [{
|
|
16438
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
16439
|
+
columns: ["price_list_id"];
|
|
16440
|
+
isOneToOne: false;
|
|
16441
|
+
referencedRelation: "price_lists";
|
|
16442
|
+
referencedColumns: ["id"];
|
|
16443
|
+
}, {
|
|
16444
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
16445
|
+
columns: ["supplier_product_id"];
|
|
16446
|
+
isOneToOne: false;
|
|
16447
|
+
referencedRelation: "supplier_products";
|
|
16448
|
+
referencedColumns: ["id"];
|
|
16449
|
+
}];
|
|
16450
|
+
};
|
|
16451
|
+
price_lists: {
|
|
16452
|
+
Row: {
|
|
16453
|
+
created_at: string;
|
|
16454
|
+
created_by: string | null;
|
|
16455
|
+
file_hash: string | null;
|
|
16456
|
+
file_name: string;
|
|
16457
|
+
file_path: string | null;
|
|
16458
|
+
headers: string[];
|
|
16459
|
+
id: string;
|
|
16460
|
+
preview: import("../integrations/supabase/types").Json;
|
|
16461
|
+
processed_at: string | null;
|
|
16462
|
+
reason: string | null;
|
|
16463
|
+
row_count: number;
|
|
16464
|
+
sheet_name: string | null;
|
|
16465
|
+
source: string;
|
|
16466
|
+
stats: import("../integrations/supabase/types").Json;
|
|
16467
|
+
status: string;
|
|
16468
|
+
supplier_guess: string | null;
|
|
16469
|
+
supplier_id: string | null;
|
|
16470
|
+
updated_at: string;
|
|
16471
|
+
};
|
|
16472
|
+
Insert: {
|
|
16473
|
+
created_at?: string;
|
|
16474
|
+
created_by?: string | null;
|
|
16475
|
+
file_hash?: string | null;
|
|
16476
|
+
file_name: string;
|
|
16477
|
+
file_path?: string | null;
|
|
16478
|
+
headers?: string[];
|
|
16479
|
+
id?: string;
|
|
16480
|
+
preview?: import("../integrations/supabase/types").Json;
|
|
16481
|
+
processed_at?: string | null;
|
|
16482
|
+
reason?: string | null;
|
|
16483
|
+
row_count?: number;
|
|
16484
|
+
sheet_name?: string | null;
|
|
16485
|
+
source?: string;
|
|
16486
|
+
stats?: import("../integrations/supabase/types").Json;
|
|
16487
|
+
status?: string;
|
|
16488
|
+
supplier_guess?: string | null;
|
|
16489
|
+
supplier_id?: string | null;
|
|
16490
|
+
updated_at?: string;
|
|
16491
|
+
};
|
|
16492
|
+
Update: {
|
|
16493
|
+
created_at?: string;
|
|
16494
|
+
created_by?: string | null;
|
|
16495
|
+
file_hash?: string | null;
|
|
16496
|
+
file_name?: string;
|
|
16497
|
+
file_path?: string | null;
|
|
16498
|
+
headers?: string[];
|
|
16499
|
+
id?: string;
|
|
16500
|
+
preview?: import("../integrations/supabase/types").Json;
|
|
16501
|
+
processed_at?: string | null;
|
|
16502
|
+
reason?: string | null;
|
|
16503
|
+
row_count?: number;
|
|
16504
|
+
sheet_name?: string | null;
|
|
16505
|
+
source?: string;
|
|
16506
|
+
stats?: import("../integrations/supabase/types").Json;
|
|
16507
|
+
status?: string;
|
|
16508
|
+
supplier_guess?: string | null;
|
|
16509
|
+
supplier_id?: string | null;
|
|
16510
|
+
updated_at?: string;
|
|
16511
|
+
};
|
|
16512
|
+
Relationships: [{
|
|
16513
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
16514
|
+
columns: ["supplier_id"];
|
|
16515
|
+
isOneToOne: false;
|
|
16516
|
+
referencedRelation: "suppliers";
|
|
16517
|
+
referencedColumns: ["id"];
|
|
16518
|
+
}];
|
|
16519
|
+
};
|
|
16520
|
+
print_agents: {
|
|
16521
|
+
Row: {
|
|
16522
|
+
actief: boolean;
|
|
16523
|
+
created_at: string;
|
|
16524
|
+
gemelde_printers: import("../integrations/supabase/types").Json;
|
|
16525
|
+
id: string;
|
|
16526
|
+
laatst_gezien: string | null;
|
|
16527
|
+
locatie: string;
|
|
16528
|
+
naam: string;
|
|
16529
|
+
pairing_code_hash: string | null;
|
|
16530
|
+
pairing_expires_at: string | null;
|
|
16531
|
+
pairing_used_at: string | null;
|
|
16532
|
+
token_hash: string;
|
|
16533
|
+
updated_at: string;
|
|
16534
|
+
versie: string;
|
|
16535
|
+
};
|
|
16536
|
+
Insert: {
|
|
16537
|
+
actief?: boolean;
|
|
16538
|
+
created_at?: string;
|
|
16539
|
+
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
16540
|
+
id?: string;
|
|
16541
|
+
laatst_gezien?: string | null;
|
|
16542
|
+
locatie?: string;
|
|
16543
|
+
naam: string;
|
|
16544
|
+
pairing_code_hash?: string | null;
|
|
16545
|
+
pairing_expires_at?: string | null;
|
|
16546
|
+
pairing_used_at?: string | null;
|
|
16547
|
+
token_hash: string;
|
|
16548
|
+
updated_at?: string;
|
|
16549
|
+
versie?: string;
|
|
16550
|
+
};
|
|
16551
|
+
Update: {
|
|
16552
|
+
actief?: boolean;
|
|
16553
|
+
created_at?: string;
|
|
16554
|
+
gemelde_printers?: import("../integrations/supabase/types").Json;
|
|
16555
|
+
id?: string;
|
|
16556
|
+
laatst_gezien?: string | null;
|
|
16557
|
+
locatie?: string;
|
|
16558
|
+
naam?: string;
|
|
16559
|
+
pairing_code_hash?: string | null;
|
|
16560
|
+
pairing_expires_at?: string | null;
|
|
16561
|
+
pairing_used_at?: string | null;
|
|
16562
|
+
token_hash?: string;
|
|
16563
|
+
updated_at?: string;
|
|
16564
|
+
versie?: string;
|
|
16565
|
+
};
|
|
16566
|
+
Relationships: [];
|
|
16567
|
+
};
|
|
16568
|
+
print_dedupe_events: {
|
|
16569
|
+
Row: {
|
|
16570
|
+
bestaande_job_id: string | null;
|
|
16571
|
+
created_at: string;
|
|
16572
|
+
detail: string | null;
|
|
16573
|
+
documentnaam: string | null;
|
|
16574
|
+
documenttype: string | null;
|
|
16575
|
+
id: string;
|
|
16576
|
+
idempotentie_sleutel: string;
|
|
16577
|
+
reden: string;
|
|
16578
|
+
};
|
|
16579
|
+
Insert: {
|
|
16580
|
+
bestaande_job_id?: string | null;
|
|
16581
|
+
created_at?: string;
|
|
16582
|
+
detail?: string | null;
|
|
16583
|
+
documentnaam?: string | null;
|
|
16584
|
+
documenttype?: string | null;
|
|
16585
|
+
id?: string;
|
|
16586
|
+
idempotentie_sleutel: string;
|
|
16587
|
+
reden: string;
|
|
16588
|
+
};
|
|
16589
|
+
Update: {
|
|
16590
|
+
bestaande_job_id?: string | null;
|
|
16591
|
+
created_at?: string;
|
|
16592
|
+
detail?: string | null;
|
|
16593
|
+
documentnaam?: string | null;
|
|
15592
16594
|
documenttype?: string | null;
|
|
15593
16595
|
id?: string;
|
|
15594
16596
|
idempotentie_sleutel?: string;
|
|
@@ -16570,6 +17572,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16570
17572
|
};
|
|
16571
17573
|
product_load_settings: {
|
|
16572
17574
|
Row: {
|
|
17575
|
+
build: import("../integrations/supabase/types").Json | null;
|
|
17576
|
+
build_status: string;
|
|
16573
17577
|
created_at: string;
|
|
16574
17578
|
id: string;
|
|
16575
17579
|
is_package: boolean;
|
|
@@ -16587,6 +17591,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16587
17591
|
updated_at: string;
|
|
16588
17592
|
};
|
|
16589
17593
|
Insert: {
|
|
17594
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17595
|
+
build_status?: string;
|
|
16590
17596
|
created_at?: string;
|
|
16591
17597
|
id?: string;
|
|
16592
17598
|
is_package?: boolean;
|
|
@@ -16604,6 +17610,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16604
17610
|
updated_at?: string;
|
|
16605
17611
|
};
|
|
16606
17612
|
Update: {
|
|
17613
|
+
build?: import("../integrations/supabase/types").Json | null;
|
|
17614
|
+
build_status?: string;
|
|
16607
17615
|
created_at?: string;
|
|
16608
17616
|
id?: string;
|
|
16609
17617
|
is_package?: boolean;
|
|
@@ -16673,42 +17681,88 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16673
17681
|
};
|
|
16674
17682
|
Relationships: [];
|
|
16675
17683
|
};
|
|
16676
|
-
|
|
17684
|
+
product_tray_stickers: {
|
|
16677
17685
|
Row: {
|
|
16678
|
-
|
|
16679
|
-
|
|
16680
|
-
|
|
16681
|
-
|
|
17686
|
+
bestand_url: string;
|
|
17687
|
+
bestandsgrootte: number | null;
|
|
17688
|
+
bestandsnaam: string | null;
|
|
17689
|
+
bestandspad: string | null;
|
|
16682
17690
|
created_at: string;
|
|
16683
|
-
|
|
16684
|
-
floriday_trade_item_id: string | null;
|
|
16685
|
-
fust_type_id: string | null;
|
|
16686
|
-
id: string;
|
|
16687
|
-
image_url: string | null;
|
|
16688
|
-
incoming_quantity: number;
|
|
16689
|
-
is_layer: boolean;
|
|
16690
|
-
layers_per_cart: number;
|
|
16691
|
-
location: string;
|
|
16692
|
-
min_quantity: number;
|
|
16693
|
-
plant_height_cm: number | null;
|
|
16694
|
-
plants_per_crate: number;
|
|
16695
|
-
product: string;
|
|
16696
|
-
product_type: string;
|
|
16697
|
-
purchase_price: number | null;
|
|
16698
|
-
quantity: number;
|
|
16699
|
-
sale_price: number | null;
|
|
16700
|
-
trade_item_key: string | null;
|
|
16701
|
-
unit: string;
|
|
17691
|
+
product_id: string;
|
|
16702
17692
|
updated_at: string;
|
|
16703
|
-
weight: string | null;
|
|
16704
17693
|
};
|
|
16705
17694
|
Insert: {
|
|
16706
|
-
|
|
17695
|
+
bestand_url: string;
|
|
17696
|
+
bestandsgrootte?: number | null;
|
|
17697
|
+
bestandsnaam?: string | null;
|
|
17698
|
+
bestandspad?: string | null;
|
|
17699
|
+
created_at?: string;
|
|
17700
|
+
product_id: string;
|
|
17701
|
+
updated_at?: string;
|
|
17702
|
+
};
|
|
17703
|
+
Update: {
|
|
17704
|
+
bestand_url?: string;
|
|
17705
|
+
bestandsgrootte?: number | null;
|
|
17706
|
+
bestandsnaam?: string | null;
|
|
17707
|
+
bestandspad?: string | null;
|
|
17708
|
+
created_at?: string;
|
|
17709
|
+
product_id?: string;
|
|
17710
|
+
updated_at?: string;
|
|
17711
|
+
};
|
|
17712
|
+
Relationships: [{
|
|
17713
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17714
|
+
columns: ["product_id"];
|
|
17715
|
+
isOneToOne: true;
|
|
17716
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17717
|
+
referencedColumns: ["product_id"];
|
|
17718
|
+
}, {
|
|
17719
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17720
|
+
columns: ["product_id"];
|
|
17721
|
+
isOneToOne: true;
|
|
17722
|
+
referencedRelation: "products";
|
|
17723
|
+
referencedColumns: ["id"];
|
|
17724
|
+
}];
|
|
17725
|
+
};
|
|
17726
|
+
products: {
|
|
17727
|
+
Row: {
|
|
17728
|
+
article_number: string | null;
|
|
17729
|
+
barcode: string | null;
|
|
17730
|
+
batch: string;
|
|
17731
|
+
crates_per_layer: number;
|
|
17732
|
+
created_at: string;
|
|
17733
|
+
custom_fields: import("../integrations/supabase/types").Json;
|
|
17734
|
+
floriday_packing_confirmed_at: string | null;
|
|
17735
|
+
floriday_packing_source: string | null;
|
|
17736
|
+
floriday_trade_item_id: string | null;
|
|
17737
|
+
fust_type_id: string | null;
|
|
17738
|
+
id: string;
|
|
17739
|
+
image_url: string | null;
|
|
17740
|
+
incoming_quantity: number;
|
|
17741
|
+
is_layer: boolean;
|
|
17742
|
+
layers_per_cart: number;
|
|
17743
|
+
location: string;
|
|
17744
|
+
min_quantity: number;
|
|
17745
|
+
plant_height_cm: number | null;
|
|
17746
|
+
plants_per_crate: number;
|
|
17747
|
+
product: string;
|
|
17748
|
+
product_type: string;
|
|
17749
|
+
purchase_price: number | null;
|
|
17750
|
+
quantity: number;
|
|
17751
|
+
sale_price: number | null;
|
|
17752
|
+
trade_item_key: string | null;
|
|
17753
|
+
unit: string;
|
|
17754
|
+
updated_at: string;
|
|
17755
|
+
weight: string | null;
|
|
17756
|
+
};
|
|
17757
|
+
Insert: {
|
|
17758
|
+
article_number?: string | null;
|
|
16707
17759
|
barcode?: string | null;
|
|
16708
17760
|
batch: string;
|
|
16709
17761
|
crates_per_layer?: number;
|
|
16710
17762
|
created_at?: string;
|
|
16711
17763
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
17764
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17765
|
+
floriday_packing_source?: string | null;
|
|
16712
17766
|
floriday_trade_item_id?: string | null;
|
|
16713
17767
|
fust_type_id?: string | null;
|
|
16714
17768
|
id?: string;
|
|
@@ -16737,6 +17791,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16737
17791
|
crates_per_layer?: number;
|
|
16738
17792
|
created_at?: string;
|
|
16739
17793
|
custom_fields?: import("../integrations/supabase/types").Json;
|
|
17794
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17795
|
+
floriday_packing_source?: string | null;
|
|
16740
17796
|
floriday_trade_item_id?: string | null;
|
|
16741
17797
|
fust_type_id?: string | null;
|
|
16742
17798
|
id?: string;
|
|
@@ -16836,6 +17892,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16836
17892
|
id: string;
|
|
16837
17893
|
is_superadmin: boolean;
|
|
16838
17894
|
notification_preferences: import("../integrations/supabase/types").Json;
|
|
17895
|
+
phone: string | null;
|
|
16839
17896
|
tenant_id: string | null;
|
|
16840
17897
|
updated_at: string;
|
|
16841
17898
|
};
|
|
@@ -16848,6 +17905,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16848
17905
|
id: string;
|
|
16849
17906
|
is_superadmin?: boolean;
|
|
16850
17907
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
17908
|
+
phone?: string | null;
|
|
16851
17909
|
tenant_id?: string | null;
|
|
16852
17910
|
updated_at?: string;
|
|
16853
17911
|
};
|
|
@@ -16860,6 +17918,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
16860
17918
|
id?: string;
|
|
16861
17919
|
is_superadmin?: boolean;
|
|
16862
17920
|
notification_preferences?: import("../integrations/supabase/types").Json;
|
|
17921
|
+
phone?: string | null;
|
|
16863
17922
|
tenant_id?: string | null;
|
|
16864
17923
|
updated_at?: string;
|
|
16865
17924
|
};
|
|
@@ -17072,30 +18131,108 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
17072
18131
|
referencedColumns: ["id"];
|
|
17073
18132
|
}];
|
|
17074
18133
|
};
|
|
18134
|
+
purchase_order_dispatches: {
|
|
18135
|
+
Row: {
|
|
18136
|
+
created_at: string;
|
|
18137
|
+
id: string;
|
|
18138
|
+
last_error: string | null;
|
|
18139
|
+
outbox_id: string | null;
|
|
18140
|
+
purchase_order_id: string;
|
|
18141
|
+
status: string;
|
|
18142
|
+
supplier_id: string | null;
|
|
18143
|
+
supplier_name: string;
|
|
18144
|
+
to_address: string;
|
|
18145
|
+
updated_at: string;
|
|
18146
|
+
};
|
|
18147
|
+
Insert: {
|
|
18148
|
+
created_at?: string;
|
|
18149
|
+
id?: string;
|
|
18150
|
+
last_error?: string | null;
|
|
18151
|
+
outbox_id?: string | null;
|
|
18152
|
+
purchase_order_id: string;
|
|
18153
|
+
status?: string;
|
|
18154
|
+
supplier_id?: string | null;
|
|
18155
|
+
supplier_name?: string;
|
|
18156
|
+
to_address: string;
|
|
18157
|
+
updated_at?: string;
|
|
18158
|
+
};
|
|
18159
|
+
Update: {
|
|
18160
|
+
created_at?: string;
|
|
18161
|
+
id?: string;
|
|
18162
|
+
last_error?: string | null;
|
|
18163
|
+
outbox_id?: string | null;
|
|
18164
|
+
purchase_order_id?: string;
|
|
18165
|
+
status?: string;
|
|
18166
|
+
supplier_id?: string | null;
|
|
18167
|
+
supplier_name?: string;
|
|
18168
|
+
to_address?: string;
|
|
18169
|
+
updated_at?: string;
|
|
18170
|
+
};
|
|
18171
|
+
Relationships: [{
|
|
18172
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
18173
|
+
columns: ["purchase_order_id"];
|
|
18174
|
+
isOneToOne: false;
|
|
18175
|
+
referencedRelation: "purchase_orders";
|
|
18176
|
+
referencedColumns: ["id"];
|
|
18177
|
+
}, {
|
|
18178
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
18179
|
+
columns: ["supplier_id"];
|
|
18180
|
+
isOneToOne: false;
|
|
18181
|
+
referencedRelation: "suppliers";
|
|
18182
|
+
referencedColumns: ["id"];
|
|
18183
|
+
}];
|
|
18184
|
+
};
|
|
17075
18185
|
purchase_order_items: {
|
|
17076
18186
|
Row: {
|
|
18187
|
+
article_number: string | null;
|
|
17077
18188
|
created_at: string;
|
|
18189
|
+
delivery_date: string | null;
|
|
17078
18190
|
id: string;
|
|
18191
|
+
name: string;
|
|
18192
|
+
note: string | null;
|
|
18193
|
+
pot_size: string | null;
|
|
17079
18194
|
product_id: string | null;
|
|
17080
18195
|
product_type: string;
|
|
17081
18196
|
purchase_order_id: string;
|
|
17082
18197
|
quantity: number;
|
|
18198
|
+
supplier_id: string | null;
|
|
18199
|
+
supplier_product_id: string | null;
|
|
18200
|
+
unit_price_cents: number;
|
|
18201
|
+
updated_at: string;
|
|
17083
18202
|
};
|
|
17084
18203
|
Insert: {
|
|
18204
|
+
article_number?: string | null;
|
|
17085
18205
|
created_at?: string;
|
|
18206
|
+
delivery_date?: string | null;
|
|
17086
18207
|
id?: string;
|
|
18208
|
+
name?: string;
|
|
18209
|
+
note?: string | null;
|
|
18210
|
+
pot_size?: string | null;
|
|
17087
18211
|
product_id?: string | null;
|
|
17088
18212
|
product_type?: string;
|
|
17089
18213
|
purchase_order_id: string;
|
|
17090
18214
|
quantity?: number;
|
|
18215
|
+
supplier_id?: string | null;
|
|
18216
|
+
supplier_product_id?: string | null;
|
|
18217
|
+
unit_price_cents?: number;
|
|
18218
|
+
updated_at?: string;
|
|
17091
18219
|
};
|
|
17092
18220
|
Update: {
|
|
18221
|
+
article_number?: string | null;
|
|
17093
18222
|
created_at?: string;
|
|
18223
|
+
delivery_date?: string | null;
|
|
17094
18224
|
id?: string;
|
|
18225
|
+
name?: string;
|
|
18226
|
+
note?: string | null;
|
|
18227
|
+
pot_size?: string | null;
|
|
17095
18228
|
product_id?: string | null;
|
|
17096
18229
|
product_type?: string;
|
|
17097
18230
|
purchase_order_id?: string;
|
|
17098
18231
|
quantity?: number;
|
|
18232
|
+
supplier_id?: string | null;
|
|
18233
|
+
supplier_product_id?: string | null;
|
|
18234
|
+
unit_price_cents?: number;
|
|
18235
|
+
updated_at?: string;
|
|
17099
18236
|
};
|
|
17100
18237
|
Relationships: [{
|
|
17101
18238
|
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
@@ -17115,43 +18252,70 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
17115
18252
|
isOneToOne: false;
|
|
17116
18253
|
referencedRelation: "purchase_orders";
|
|
17117
18254
|
referencedColumns: ["id"];
|
|
18255
|
+
}, {
|
|
18256
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
18257
|
+
columns: ["supplier_id"];
|
|
18258
|
+
isOneToOne: false;
|
|
18259
|
+
referencedRelation: "suppliers";
|
|
18260
|
+
referencedColumns: ["id"];
|
|
18261
|
+
}, {
|
|
18262
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
18263
|
+
columns: ["supplier_product_id"];
|
|
18264
|
+
isOneToOne: false;
|
|
18265
|
+
referencedRelation: "supplier_products";
|
|
18266
|
+
referencedColumns: ["id"];
|
|
17118
18267
|
}];
|
|
17119
18268
|
};
|
|
17120
18269
|
purchase_orders: {
|
|
17121
18270
|
Row: {
|
|
18271
|
+
contact_person: string | null;
|
|
17122
18272
|
created_at: string;
|
|
18273
|
+
created_by: string | null;
|
|
17123
18274
|
expected_delivery_date: string;
|
|
17124
18275
|
id: string;
|
|
17125
18276
|
location_id: string | null;
|
|
17126
18277
|
notes: string | null;
|
|
17127
18278
|
order_number: string;
|
|
18279
|
+
reference: string | null;
|
|
18280
|
+
sent_at: string | null;
|
|
17128
18281
|
status: string;
|
|
17129
18282
|
supplier_id: string | null;
|
|
17130
18283
|
supplier_name: string;
|
|
18284
|
+
total_cents: number;
|
|
17131
18285
|
updated_at: string;
|
|
17132
18286
|
};
|
|
17133
18287
|
Insert: {
|
|
18288
|
+
contact_person?: string | null;
|
|
17134
18289
|
created_at?: string;
|
|
17135
|
-
|
|
18290
|
+
created_by?: string | null;
|
|
18291
|
+
expected_delivery_date?: string;
|
|
17136
18292
|
id?: string;
|
|
17137
18293
|
location_id?: string | null;
|
|
17138
18294
|
notes?: string | null;
|
|
17139
|
-
order_number
|
|
18295
|
+
order_number?: string;
|
|
18296
|
+
reference?: string | null;
|
|
18297
|
+
sent_at?: string | null;
|
|
17140
18298
|
status?: string;
|
|
17141
18299
|
supplier_id?: string | null;
|
|
17142
18300
|
supplier_name?: string;
|
|
18301
|
+
total_cents?: number;
|
|
17143
18302
|
updated_at?: string;
|
|
17144
18303
|
};
|
|
17145
18304
|
Update: {
|
|
18305
|
+
contact_person?: string | null;
|
|
17146
18306
|
created_at?: string;
|
|
18307
|
+
created_by?: string | null;
|
|
17147
18308
|
expected_delivery_date?: string;
|
|
17148
18309
|
id?: string;
|
|
17149
18310
|
location_id?: string | null;
|
|
17150
18311
|
notes?: string | null;
|
|
17151
18312
|
order_number?: string;
|
|
18313
|
+
reference?: string | null;
|
|
18314
|
+
sent_at?: string | null;
|
|
17152
18315
|
status?: string;
|
|
17153
18316
|
supplier_id?: string | null;
|
|
17154
18317
|
supplier_name?: string;
|
|
18318
|
+
total_cents?: number;
|
|
17155
18319
|
updated_at?: string;
|
|
17156
18320
|
};
|
|
17157
18321
|
Relationships: [{
|
|
@@ -18038,15 +19202,160 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18038
19202
|
};
|
|
18039
19203
|
Relationships: [];
|
|
18040
19204
|
};
|
|
19205
|
+
supplier_contacts: {
|
|
19206
|
+
Row: {
|
|
19207
|
+
created_at: string;
|
|
19208
|
+
email: string | null;
|
|
19209
|
+
id: string;
|
|
19210
|
+
is_primary: boolean;
|
|
19211
|
+
name: string;
|
|
19212
|
+
phone: string | null;
|
|
19213
|
+
role: string | null;
|
|
19214
|
+
supplier_id: string;
|
|
19215
|
+
updated_at: string;
|
|
19216
|
+
};
|
|
19217
|
+
Insert: {
|
|
19218
|
+
created_at?: string;
|
|
19219
|
+
email?: string | null;
|
|
19220
|
+
id?: string;
|
|
19221
|
+
is_primary?: boolean;
|
|
19222
|
+
name: string;
|
|
19223
|
+
phone?: string | null;
|
|
19224
|
+
role?: string | null;
|
|
19225
|
+
supplier_id: string;
|
|
19226
|
+
updated_at?: string;
|
|
19227
|
+
};
|
|
19228
|
+
Update: {
|
|
19229
|
+
created_at?: string;
|
|
19230
|
+
email?: string | null;
|
|
19231
|
+
id?: string;
|
|
19232
|
+
is_primary?: boolean;
|
|
19233
|
+
name?: string;
|
|
19234
|
+
phone?: string | null;
|
|
19235
|
+
role?: string | null;
|
|
19236
|
+
supplier_id?: string;
|
|
19237
|
+
updated_at?: string;
|
|
19238
|
+
};
|
|
19239
|
+
Relationships: [{
|
|
19240
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
19241
|
+
columns: ["supplier_id"];
|
|
19242
|
+
isOneToOne: false;
|
|
19243
|
+
referencedRelation: "suppliers";
|
|
19244
|
+
referencedColumns: ["id"];
|
|
19245
|
+
}];
|
|
19246
|
+
};
|
|
19247
|
+
supplier_price_history: {
|
|
19248
|
+
Row: {
|
|
19249
|
+
created_at: string;
|
|
19250
|
+
id: string;
|
|
19251
|
+
new_price_cents: number;
|
|
19252
|
+
old_price_cents: number | null;
|
|
19253
|
+
price_list_id: string | null;
|
|
19254
|
+
supplier_id: string | null;
|
|
19255
|
+
supplier_product_id: string;
|
|
19256
|
+
};
|
|
19257
|
+
Insert: {
|
|
19258
|
+
created_at?: string;
|
|
19259
|
+
id?: string;
|
|
19260
|
+
new_price_cents: number;
|
|
19261
|
+
old_price_cents?: number | null;
|
|
19262
|
+
price_list_id?: string | null;
|
|
19263
|
+
supplier_id?: string | null;
|
|
19264
|
+
supplier_product_id: string;
|
|
19265
|
+
};
|
|
19266
|
+
Update: {
|
|
19267
|
+
created_at?: string;
|
|
19268
|
+
id?: string;
|
|
19269
|
+
new_price_cents?: number;
|
|
19270
|
+
old_price_cents?: number | null;
|
|
19271
|
+
price_list_id?: string | null;
|
|
19272
|
+
supplier_id?: string | null;
|
|
19273
|
+
supplier_product_id?: string;
|
|
19274
|
+
};
|
|
19275
|
+
Relationships: [{
|
|
19276
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
19277
|
+
columns: ["price_list_id"];
|
|
19278
|
+
isOneToOne: false;
|
|
19279
|
+
referencedRelation: "price_lists";
|
|
19280
|
+
referencedColumns: ["id"];
|
|
19281
|
+
}, {
|
|
19282
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
19283
|
+
columns: ["supplier_product_id"];
|
|
19284
|
+
isOneToOne: false;
|
|
19285
|
+
referencedRelation: "supplier_products";
|
|
19286
|
+
referencedColumns: ["id"];
|
|
19287
|
+
}];
|
|
19288
|
+
};
|
|
19289
|
+
supplier_price_list_mappings: {
|
|
19290
|
+
Row: {
|
|
19291
|
+
column_map: import("../integrations/supabase/types").Json;
|
|
19292
|
+
created_at: string;
|
|
19293
|
+
deactivate_missing: boolean;
|
|
19294
|
+
decimal_separator: string;
|
|
19295
|
+
expected_headers: string[];
|
|
19296
|
+
extract_pot_from_name: boolean;
|
|
19297
|
+
header_row: number;
|
|
19298
|
+
id: string;
|
|
19299
|
+
max_error_ratio: number;
|
|
19300
|
+
price_is_cents: boolean;
|
|
19301
|
+
sheet_name: string | null;
|
|
19302
|
+
supplier_id: string;
|
|
19303
|
+
updated_at: string;
|
|
19304
|
+
};
|
|
19305
|
+
Insert: {
|
|
19306
|
+
column_map?: import("../integrations/supabase/types").Json;
|
|
19307
|
+
created_at?: string;
|
|
19308
|
+
deactivate_missing?: boolean;
|
|
19309
|
+
decimal_separator?: string;
|
|
19310
|
+
expected_headers?: string[];
|
|
19311
|
+
extract_pot_from_name?: boolean;
|
|
19312
|
+
header_row?: number;
|
|
19313
|
+
id?: string;
|
|
19314
|
+
max_error_ratio?: number;
|
|
19315
|
+
price_is_cents?: boolean;
|
|
19316
|
+
sheet_name?: string | null;
|
|
19317
|
+
supplier_id: string;
|
|
19318
|
+
updated_at?: string;
|
|
19319
|
+
};
|
|
19320
|
+
Update: {
|
|
19321
|
+
column_map?: import("../integrations/supabase/types").Json;
|
|
19322
|
+
created_at?: string;
|
|
19323
|
+
deactivate_missing?: boolean;
|
|
19324
|
+
decimal_separator?: string;
|
|
19325
|
+
expected_headers?: string[];
|
|
19326
|
+
extract_pot_from_name?: boolean;
|
|
19327
|
+
header_row?: number;
|
|
19328
|
+
id?: string;
|
|
19329
|
+
max_error_ratio?: number;
|
|
19330
|
+
price_is_cents?: boolean;
|
|
19331
|
+
sheet_name?: string | null;
|
|
19332
|
+
supplier_id?: string;
|
|
19333
|
+
updated_at?: string;
|
|
19334
|
+
};
|
|
19335
|
+
Relationships: [{
|
|
19336
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
19337
|
+
columns: ["supplier_id"];
|
|
19338
|
+
isOneToOne: true;
|
|
19339
|
+
referencedRelation: "suppliers";
|
|
19340
|
+
referencedColumns: ["id"];
|
|
19341
|
+
}];
|
|
19342
|
+
};
|
|
18041
19343
|
supplier_products: {
|
|
18042
19344
|
Row: {
|
|
18043
19345
|
article_number: string | null;
|
|
19346
|
+
available_quantity: number;
|
|
18044
19347
|
created_at: string;
|
|
19348
|
+
height: string | null;
|
|
18045
19349
|
id: string;
|
|
19350
|
+
is_active: boolean;
|
|
19351
|
+
min_order: number;
|
|
18046
19352
|
name: string;
|
|
18047
19353
|
notes: string | null;
|
|
19354
|
+
order_unit: number;
|
|
18048
19355
|
pot_size: string | null;
|
|
18049
19356
|
price: number | null;
|
|
19357
|
+
price_cents: number;
|
|
19358
|
+
quality: string | null;
|
|
18050
19359
|
quantity: number | null;
|
|
18051
19360
|
supplier_id: string;
|
|
18052
19361
|
unit: string;
|
|
@@ -18054,12 +19363,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18054
19363
|
};
|
|
18055
19364
|
Insert: {
|
|
18056
19365
|
article_number?: string | null;
|
|
19366
|
+
available_quantity?: number;
|
|
18057
19367
|
created_at?: string;
|
|
19368
|
+
height?: string | null;
|
|
18058
19369
|
id?: string;
|
|
19370
|
+
is_active?: boolean;
|
|
19371
|
+
min_order?: number;
|
|
18059
19372
|
name: string;
|
|
18060
19373
|
notes?: string | null;
|
|
19374
|
+
order_unit?: number;
|
|
18061
19375
|
pot_size?: string | null;
|
|
18062
19376
|
price?: number | null;
|
|
19377
|
+
price_cents?: number;
|
|
19378
|
+
quality?: string | null;
|
|
18063
19379
|
quantity?: number | null;
|
|
18064
19380
|
supplier_id: string;
|
|
18065
19381
|
unit?: string;
|
|
@@ -18067,12 +19383,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18067
19383
|
};
|
|
18068
19384
|
Update: {
|
|
18069
19385
|
article_number?: string | null;
|
|
19386
|
+
available_quantity?: number;
|
|
18070
19387
|
created_at?: string;
|
|
19388
|
+
height?: string | null;
|
|
18071
19389
|
id?: string;
|
|
19390
|
+
is_active?: boolean;
|
|
19391
|
+
min_order?: number;
|
|
18072
19392
|
name?: string;
|
|
18073
19393
|
notes?: string | null;
|
|
19394
|
+
order_unit?: number;
|
|
18074
19395
|
pot_size?: string | null;
|
|
18075
19396
|
price?: number | null;
|
|
19397
|
+
price_cents?: number;
|
|
19398
|
+
quality?: string | null;
|
|
18076
19399
|
quantity?: number | null;
|
|
18077
19400
|
supplier_id?: string;
|
|
18078
19401
|
unit?: string;
|
|
@@ -18089,6 +19412,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18089
19412
|
suppliers: {
|
|
18090
19413
|
Row: {
|
|
18091
19414
|
address: string | null;
|
|
19415
|
+
category: string | null;
|
|
18092
19416
|
column_mappings: import("../integrations/supabase/types").Json | null;
|
|
18093
19417
|
contact_person: string | null;
|
|
18094
19418
|
created_at: string;
|
|
@@ -18096,13 +19420,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18096
19420
|
email: string | null;
|
|
18097
19421
|
id: string;
|
|
18098
19422
|
imported_file_name: string | null;
|
|
19423
|
+
is_preferred: boolean;
|
|
19424
|
+
kvk_number: string | null;
|
|
19425
|
+
lead_time_days: number | null;
|
|
19426
|
+
min_order_amount_cents: number;
|
|
18099
19427
|
name: string;
|
|
18100
19428
|
notes: string | null;
|
|
19429
|
+
order_days: string[];
|
|
19430
|
+
order_email: string | null;
|
|
19431
|
+
payment_terms_days: number | null;
|
|
18101
19432
|
phone: string | null;
|
|
19433
|
+
status: string;
|
|
18102
19434
|
updated_at: string;
|
|
19435
|
+
vat_number: string | null;
|
|
19436
|
+
website: string | null;
|
|
18103
19437
|
};
|
|
18104
19438
|
Insert: {
|
|
18105
19439
|
address?: string | null;
|
|
19440
|
+
category?: string | null;
|
|
18106
19441
|
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
18107
19442
|
contact_person?: string | null;
|
|
18108
19443
|
created_at?: string;
|
|
@@ -18110,13 +19445,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18110
19445
|
email?: string | null;
|
|
18111
19446
|
id?: string;
|
|
18112
19447
|
imported_file_name?: string | null;
|
|
19448
|
+
is_preferred?: boolean;
|
|
19449
|
+
kvk_number?: string | null;
|
|
19450
|
+
lead_time_days?: number | null;
|
|
19451
|
+
min_order_amount_cents?: number;
|
|
18113
19452
|
name: string;
|
|
18114
19453
|
notes?: string | null;
|
|
19454
|
+
order_days?: string[];
|
|
19455
|
+
order_email?: string | null;
|
|
19456
|
+
payment_terms_days?: number | null;
|
|
18115
19457
|
phone?: string | null;
|
|
19458
|
+
status?: string;
|
|
18116
19459
|
updated_at?: string;
|
|
19460
|
+
vat_number?: string | null;
|
|
19461
|
+
website?: string | null;
|
|
18117
19462
|
};
|
|
18118
19463
|
Update: {
|
|
18119
19464
|
address?: string | null;
|
|
19465
|
+
category?: string | null;
|
|
18120
19466
|
column_mappings?: import("../integrations/supabase/types").Json | null;
|
|
18121
19467
|
contact_person?: string | null;
|
|
18122
19468
|
created_at?: string;
|
|
@@ -18124,10 +19470,20 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18124
19470
|
email?: string | null;
|
|
18125
19471
|
id?: string;
|
|
18126
19472
|
imported_file_name?: string | null;
|
|
19473
|
+
is_preferred?: boolean;
|
|
19474
|
+
kvk_number?: string | null;
|
|
19475
|
+
lead_time_days?: number | null;
|
|
19476
|
+
min_order_amount_cents?: number;
|
|
18127
19477
|
name?: string;
|
|
18128
19478
|
notes?: string | null;
|
|
19479
|
+
order_days?: string[];
|
|
19480
|
+
order_email?: string | null;
|
|
19481
|
+
payment_terms_days?: number | null;
|
|
18129
19482
|
phone?: string | null;
|
|
19483
|
+
status?: string;
|
|
18130
19484
|
updated_at?: string;
|
|
19485
|
+
vat_number?: string | null;
|
|
19486
|
+
website?: string | null;
|
|
18131
19487
|
};
|
|
18132
19488
|
Relationships: [];
|
|
18133
19489
|
};
|
|
@@ -18306,40 +19662,52 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
18306
19662
|
Row: {
|
|
18307
19663
|
approved_at: string | null;
|
|
18308
19664
|
approved_by: string | null;
|
|
19665
|
+
contract_hours: number;
|
|
18309
19666
|
created_at: string;
|
|
18310
19667
|
employee_id: string;
|
|
18311
19668
|
id: string;
|
|
18312
19669
|
locked: boolean;
|
|
19670
|
+
monteur_toelichting: string | null;
|
|
18313
19671
|
notes: string | null;
|
|
19672
|
+
planned_hours: number;
|
|
18314
19673
|
status: string;
|
|
18315
19674
|
submitted_at: string | null;
|
|
18316
19675
|
updated_at: string;
|
|
19676
|
+
variance_hours: number;
|
|
18317
19677
|
week_start: string;
|
|
18318
19678
|
};
|
|
18319
19679
|
Insert: {
|
|
18320
19680
|
approved_at?: string | null;
|
|
18321
19681
|
approved_by?: string | null;
|
|
19682
|
+
contract_hours?: number;
|
|
18322
19683
|
created_at?: string;
|
|
18323
19684
|
employee_id: string;
|
|
18324
19685
|
id?: string;
|
|
18325
19686
|
locked?: boolean;
|
|
19687
|
+
monteur_toelichting?: string | null;
|
|
18326
19688
|
notes?: string | null;
|
|
19689
|
+
planned_hours?: number;
|
|
18327
19690
|
status?: string;
|
|
18328
19691
|
submitted_at?: string | null;
|
|
18329
19692
|
updated_at?: string;
|
|
19693
|
+
variance_hours?: number;
|
|
18330
19694
|
week_start: string;
|
|
18331
19695
|
};
|
|
18332
19696
|
Update: {
|
|
18333
19697
|
approved_at?: string | null;
|
|
18334
19698
|
approved_by?: string | null;
|
|
19699
|
+
contract_hours?: number;
|
|
18335
19700
|
created_at?: string;
|
|
18336
19701
|
employee_id?: string;
|
|
18337
19702
|
id?: string;
|
|
18338
19703
|
locked?: boolean;
|
|
19704
|
+
monteur_toelichting?: string | null;
|
|
18339
19705
|
notes?: string | null;
|
|
19706
|
+
planned_hours?: number;
|
|
18340
19707
|
status?: string;
|
|
18341
19708
|
submitted_at?: string | null;
|
|
18342
19709
|
updated_at?: string;
|
|
19710
|
+
variance_hours?: number;
|
|
18343
19711
|
week_start?: string;
|
|
18344
19712
|
};
|
|
18345
19713
|
Relationships: [{
|
|
@@ -19129,11 +20497,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19129
20497
|
auto_invoice_trigger_statuses: string[];
|
|
19130
20498
|
created_at: string;
|
|
19131
20499
|
debtor_gl_account: string;
|
|
20500
|
+
default_article_code: string | null;
|
|
19132
20501
|
default_credit_invoice_type: string | null;
|
|
19133
20502
|
default_gl_account: string;
|
|
19134
20503
|
default_invoice_type: string;
|
|
19135
20504
|
default_payment_term_days: number;
|
|
19136
20505
|
default_vat_code: string;
|
|
20506
|
+
email_purpose: string | null;
|
|
19137
20507
|
home_country_code: string;
|
|
19138
20508
|
invoice_enabled_ao: boolean;
|
|
19139
20509
|
invoice_enabled_fo: boolean;
|
|
@@ -19155,11 +20525,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19155
20525
|
auto_invoice_trigger_statuses?: string[];
|
|
19156
20526
|
created_at?: string;
|
|
19157
20527
|
debtor_gl_account?: string;
|
|
20528
|
+
default_article_code?: string | null;
|
|
19158
20529
|
default_credit_invoice_type?: string | null;
|
|
19159
20530
|
default_gl_account?: string;
|
|
19160
20531
|
default_invoice_type?: string;
|
|
19161
20532
|
default_payment_term_days?: number;
|
|
19162
20533
|
default_vat_code?: string;
|
|
20534
|
+
email_purpose?: string | null;
|
|
19163
20535
|
home_country_code?: string;
|
|
19164
20536
|
invoice_enabled_ao?: boolean;
|
|
19165
20537
|
invoice_enabled_fo?: boolean;
|
|
@@ -19181,11 +20553,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19181
20553
|
auto_invoice_trigger_statuses?: string[];
|
|
19182
20554
|
created_at?: string;
|
|
19183
20555
|
debtor_gl_account?: string;
|
|
20556
|
+
default_article_code?: string | null;
|
|
19184
20557
|
default_credit_invoice_type?: string | null;
|
|
19185
20558
|
default_gl_account?: string;
|
|
19186
20559
|
default_invoice_type?: string;
|
|
19187
20560
|
default_payment_term_days?: number;
|
|
19188
20561
|
default_vat_code?: string;
|
|
20562
|
+
email_purpose?: string | null;
|
|
19189
20563
|
home_country_code?: string;
|
|
19190
20564
|
invoice_enabled_ao?: boolean;
|
|
19191
20565
|
invoice_enabled_fo?: boolean;
|
|
@@ -19667,6 +21041,45 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19667
21041
|
referencedColumns: ["id"];
|
|
19668
21042
|
}];
|
|
19669
21043
|
};
|
|
21044
|
+
uren_beschikbare_dagen: {
|
|
21045
|
+
Row: {
|
|
21046
|
+
bron: string;
|
|
21047
|
+
created_at: string;
|
|
21048
|
+
datum: string;
|
|
21049
|
+
eind_tijd: string | null;
|
|
21050
|
+
half_hour_slots: number[];
|
|
21051
|
+
id: string;
|
|
21052
|
+
monteur_id: string;
|
|
21053
|
+
start_tijd: string | null;
|
|
21054
|
+
updated_at: string;
|
|
21055
|
+
uren: number;
|
|
21056
|
+
};
|
|
21057
|
+
Insert: {
|
|
21058
|
+
bron?: string;
|
|
21059
|
+
created_at?: string;
|
|
21060
|
+
datum: string;
|
|
21061
|
+
eind_tijd?: string | null;
|
|
21062
|
+
half_hour_slots?: number[];
|
|
21063
|
+
id?: string;
|
|
21064
|
+
monteur_id: string;
|
|
21065
|
+
start_tijd?: string | null;
|
|
21066
|
+
updated_at?: string;
|
|
21067
|
+
uren?: number;
|
|
21068
|
+
};
|
|
21069
|
+
Update: {
|
|
21070
|
+
bron?: string;
|
|
21071
|
+
created_at?: string;
|
|
21072
|
+
datum?: string;
|
|
21073
|
+
eind_tijd?: string | null;
|
|
21074
|
+
half_hour_slots?: number[];
|
|
21075
|
+
id?: string;
|
|
21076
|
+
monteur_id?: string;
|
|
21077
|
+
start_tijd?: string | null;
|
|
21078
|
+
updated_at?: string;
|
|
21079
|
+
uren?: number;
|
|
21080
|
+
};
|
|
21081
|
+
Relationships: [];
|
|
21082
|
+
};
|
|
19670
21083
|
uren_cao_profiles: {
|
|
19671
21084
|
Row: {
|
|
19672
21085
|
break_minutes: number | null;
|
|
@@ -19805,6 +21218,123 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19805
21218
|
};
|
|
19806
21219
|
Relationships: [];
|
|
19807
21220
|
};
|
|
21221
|
+
uren_maandafsluitingen: {
|
|
21222
|
+
Row: {
|
|
21223
|
+
afgesloten_at: string | null;
|
|
21224
|
+
afgesloten_door: string | null;
|
|
21225
|
+
contract_minuten: number;
|
|
21226
|
+
correctie_reden: string | null;
|
|
21227
|
+
created_at: string;
|
|
21228
|
+
gecorrigeerd_at: string | null;
|
|
21229
|
+
gecorrigeerd_door: string | null;
|
|
21230
|
+
gewerkte_minuten: number;
|
|
21231
|
+
id: string;
|
|
21232
|
+
maand: string;
|
|
21233
|
+
min_minuten: number;
|
|
21234
|
+
monteur_id: string;
|
|
21235
|
+
netto_verschil_minuten: number;
|
|
21236
|
+
normaal_uitbetaald_minuten: number;
|
|
21237
|
+
overuren_minuten: number;
|
|
21238
|
+
plus_minuten: number;
|
|
21239
|
+
status: string;
|
|
21240
|
+
totaal_uitbetaald_minuten: number;
|
|
21241
|
+
updated_at: string;
|
|
21242
|
+
};
|
|
21243
|
+
Insert: {
|
|
21244
|
+
afgesloten_at?: string | null;
|
|
21245
|
+
afgesloten_door?: string | null;
|
|
21246
|
+
contract_minuten?: number;
|
|
21247
|
+
correctie_reden?: string | null;
|
|
21248
|
+
created_at?: string;
|
|
21249
|
+
gecorrigeerd_at?: string | null;
|
|
21250
|
+
gecorrigeerd_door?: string | null;
|
|
21251
|
+
gewerkte_minuten?: number;
|
|
21252
|
+
id?: string;
|
|
21253
|
+
maand: string;
|
|
21254
|
+
min_minuten?: number;
|
|
21255
|
+
monteur_id: string;
|
|
21256
|
+
netto_verschil_minuten?: number;
|
|
21257
|
+
normaal_uitbetaald_minuten?: number;
|
|
21258
|
+
overuren_minuten?: number;
|
|
21259
|
+
plus_minuten?: number;
|
|
21260
|
+
status?: string;
|
|
21261
|
+
totaal_uitbetaald_minuten?: number;
|
|
21262
|
+
updated_at?: string;
|
|
21263
|
+
};
|
|
21264
|
+
Update: {
|
|
21265
|
+
afgesloten_at?: string | null;
|
|
21266
|
+
afgesloten_door?: string | null;
|
|
21267
|
+
contract_minuten?: number;
|
|
21268
|
+
correctie_reden?: string | null;
|
|
21269
|
+
created_at?: string;
|
|
21270
|
+
gecorrigeerd_at?: string | null;
|
|
21271
|
+
gecorrigeerd_door?: string | null;
|
|
21272
|
+
gewerkte_minuten?: number;
|
|
21273
|
+
id?: string;
|
|
21274
|
+
maand?: string;
|
|
21275
|
+
min_minuten?: number;
|
|
21276
|
+
monteur_id?: string;
|
|
21277
|
+
netto_verschil_minuten?: number;
|
|
21278
|
+
normaal_uitbetaald_minuten?: number;
|
|
21279
|
+
overuren_minuten?: number;
|
|
21280
|
+
plus_minuten?: number;
|
|
21281
|
+
status?: string;
|
|
21282
|
+
totaal_uitbetaald_minuten?: number;
|
|
21283
|
+
updated_at?: string;
|
|
21284
|
+
};
|
|
21285
|
+
Relationships: [];
|
|
21286
|
+
};
|
|
21287
|
+
uren_overuren_verklaringen: {
|
|
21288
|
+
Row: {
|
|
21289
|
+
beoordeeld_door: string | null;
|
|
21290
|
+
beoordeeld_op: string | null;
|
|
21291
|
+
created_at: string;
|
|
21292
|
+
datum: string;
|
|
21293
|
+
eind_tijd: string | null;
|
|
21294
|
+
id: string;
|
|
21295
|
+
ingediend_at: string;
|
|
21296
|
+
monteur_id: string;
|
|
21297
|
+
overuren: number;
|
|
21298
|
+
reden_afkeur: string | null;
|
|
21299
|
+
start_tijd: string | null;
|
|
21300
|
+
status: string;
|
|
21301
|
+
toelichting: string;
|
|
21302
|
+
updated_at: string;
|
|
21303
|
+
};
|
|
21304
|
+
Insert: {
|
|
21305
|
+
beoordeeld_door?: string | null;
|
|
21306
|
+
beoordeeld_op?: string | null;
|
|
21307
|
+
created_at?: string;
|
|
21308
|
+
datum: string;
|
|
21309
|
+
eind_tijd?: string | null;
|
|
21310
|
+
id?: string;
|
|
21311
|
+
ingediend_at?: string;
|
|
21312
|
+
monteur_id: string;
|
|
21313
|
+
overuren: number;
|
|
21314
|
+
reden_afkeur?: string | null;
|
|
21315
|
+
start_tijd?: string | null;
|
|
21316
|
+
status?: string;
|
|
21317
|
+
toelichting: string;
|
|
21318
|
+
updated_at?: string;
|
|
21319
|
+
};
|
|
21320
|
+
Update: {
|
|
21321
|
+
beoordeeld_door?: string | null;
|
|
21322
|
+
beoordeeld_op?: string | null;
|
|
21323
|
+
created_at?: string;
|
|
21324
|
+
datum?: string;
|
|
21325
|
+
eind_tijd?: string | null;
|
|
21326
|
+
id?: string;
|
|
21327
|
+
ingediend_at?: string;
|
|
21328
|
+
monteur_id?: string;
|
|
21329
|
+
overuren?: number;
|
|
21330
|
+
reden_afkeur?: string | null;
|
|
21331
|
+
start_tijd?: string | null;
|
|
21332
|
+
status?: string;
|
|
21333
|
+
toelichting?: string;
|
|
21334
|
+
updated_at?: string;
|
|
21335
|
+
};
|
|
21336
|
+
Relationships: [];
|
|
21337
|
+
};
|
|
19808
21338
|
uren_settings: {
|
|
19809
21339
|
Row: {
|
|
19810
21340
|
break_minutes: number;
|
|
@@ -19850,6 +21380,75 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19850
21380
|
};
|
|
19851
21381
|
Relationships: [];
|
|
19852
21382
|
};
|
|
21383
|
+
uren_standaardweek: {
|
|
21384
|
+
Row: {
|
|
21385
|
+
created_at: string;
|
|
21386
|
+
eind_slot: number;
|
|
21387
|
+
id: string;
|
|
21388
|
+
monteur_id: string;
|
|
21389
|
+
start_slot: number;
|
|
21390
|
+
updated_at: string;
|
|
21391
|
+
weekdag: number;
|
|
21392
|
+
};
|
|
21393
|
+
Insert: {
|
|
21394
|
+
created_at?: string;
|
|
21395
|
+
eind_slot: number;
|
|
21396
|
+
id?: string;
|
|
21397
|
+
monteur_id: string;
|
|
21398
|
+
start_slot: number;
|
|
21399
|
+
updated_at?: string;
|
|
21400
|
+
weekdag: number;
|
|
21401
|
+
};
|
|
21402
|
+
Update: {
|
|
21403
|
+
created_at?: string;
|
|
21404
|
+
eind_slot?: number;
|
|
21405
|
+
id?: string;
|
|
21406
|
+
monteur_id?: string;
|
|
21407
|
+
start_slot?: number;
|
|
21408
|
+
updated_at?: string;
|
|
21409
|
+
weekdag?: number;
|
|
21410
|
+
};
|
|
21411
|
+
Relationships: [];
|
|
21412
|
+
};
|
|
21413
|
+
uren_standaardweek_wijzigingen: {
|
|
21414
|
+
Row: {
|
|
21415
|
+
beoordeeld_door: string | null;
|
|
21416
|
+
beoordeeld_op: string | null;
|
|
21417
|
+
created_at: string;
|
|
21418
|
+
huidig: import("../integrations/supabase/types").Json;
|
|
21419
|
+
id: string;
|
|
21420
|
+
monteur_id: string;
|
|
21421
|
+
reden_afkeur: string | null;
|
|
21422
|
+
status: string;
|
|
21423
|
+
updated_at: string;
|
|
21424
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21425
|
+
};
|
|
21426
|
+
Insert: {
|
|
21427
|
+
beoordeeld_door?: string | null;
|
|
21428
|
+
beoordeeld_op?: string | null;
|
|
21429
|
+
created_at?: string;
|
|
21430
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21431
|
+
id?: string;
|
|
21432
|
+
monteur_id: string;
|
|
21433
|
+
reden_afkeur?: string | null;
|
|
21434
|
+
status?: string;
|
|
21435
|
+
updated_at?: string;
|
|
21436
|
+
voorstel: import("../integrations/supabase/types").Json;
|
|
21437
|
+
};
|
|
21438
|
+
Update: {
|
|
21439
|
+
beoordeeld_door?: string | null;
|
|
21440
|
+
beoordeeld_op?: string | null;
|
|
21441
|
+
created_at?: string;
|
|
21442
|
+
huidig?: import("../integrations/supabase/types").Json;
|
|
21443
|
+
id?: string;
|
|
21444
|
+
monteur_id?: string;
|
|
21445
|
+
reden_afkeur?: string | null;
|
|
21446
|
+
status?: string;
|
|
21447
|
+
updated_at?: string;
|
|
21448
|
+
voorstel?: import("../integrations/supabase/types").Json;
|
|
21449
|
+
};
|
|
21450
|
+
Relationships: [];
|
|
21451
|
+
};
|
|
19853
21452
|
uren_tarieven: {
|
|
19854
21453
|
Row: {
|
|
19855
21454
|
created_at: string;
|
|
@@ -19934,6 +21533,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19934
21533
|
};
|
|
19935
21534
|
Relationships: [];
|
|
19936
21535
|
};
|
|
21536
|
+
uren_tijd_spiegel: {
|
|
21537
|
+
Row: {
|
|
21538
|
+
created_at: string;
|
|
21539
|
+
id: string;
|
|
21540
|
+
time_log_id: string;
|
|
21541
|
+
werkbon_time_log_id: string;
|
|
21542
|
+
};
|
|
21543
|
+
Insert: {
|
|
21544
|
+
created_at?: string;
|
|
21545
|
+
id?: string;
|
|
21546
|
+
time_log_id: string;
|
|
21547
|
+
werkbon_time_log_id: string;
|
|
21548
|
+
};
|
|
21549
|
+
Update: {
|
|
21550
|
+
created_at?: string;
|
|
21551
|
+
id?: string;
|
|
21552
|
+
time_log_id?: string;
|
|
21553
|
+
werkbon_time_log_id?: string;
|
|
21554
|
+
};
|
|
21555
|
+
Relationships: [{
|
|
21556
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21557
|
+
columns: ["time_log_id"];
|
|
21558
|
+
isOneToOne: true;
|
|
21559
|
+
referencedRelation: "time_logs";
|
|
21560
|
+
referencedColumns: ["id"];
|
|
21561
|
+
}, {
|
|
21562
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21563
|
+
columns: ["werkbon_time_log_id"];
|
|
21564
|
+
isOneToOne: true;
|
|
21565
|
+
referencedRelation: "werkbon_time_logs";
|
|
21566
|
+
referencedColumns: ["id"];
|
|
21567
|
+
}];
|
|
21568
|
+
};
|
|
19937
21569
|
uren_weekstaten: {
|
|
19938
21570
|
Row: {
|
|
19939
21571
|
approved_at: string | null;
|
|
@@ -19976,6 +21608,33 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
19976
21608
|
};
|
|
19977
21609
|
Relationships: [];
|
|
19978
21610
|
};
|
|
21611
|
+
uren_werktijd_voorkeuren: {
|
|
21612
|
+
Row: {
|
|
21613
|
+
created_at: string;
|
|
21614
|
+
eind_slot: number;
|
|
21615
|
+
id: string;
|
|
21616
|
+
monteur_id: string;
|
|
21617
|
+
start_slot: number;
|
|
21618
|
+
updated_at: string;
|
|
21619
|
+
};
|
|
21620
|
+
Insert: {
|
|
21621
|
+
created_at?: string;
|
|
21622
|
+
eind_slot?: number;
|
|
21623
|
+
id?: string;
|
|
21624
|
+
monteur_id: string;
|
|
21625
|
+
start_slot?: number;
|
|
21626
|
+
updated_at?: string;
|
|
21627
|
+
};
|
|
21628
|
+
Update: {
|
|
21629
|
+
created_at?: string;
|
|
21630
|
+
eind_slot?: number;
|
|
21631
|
+
id?: string;
|
|
21632
|
+
monteur_id?: string;
|
|
21633
|
+
start_slot?: number;
|
|
21634
|
+
updated_at?: string;
|
|
21635
|
+
};
|
|
21636
|
+
Relationships: [];
|
|
21637
|
+
};
|
|
19979
21638
|
user_module_permissions: {
|
|
19980
21639
|
Row: {
|
|
19981
21640
|
created_at: string;
|
|
@@ -20447,6 +22106,42 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
20447
22106
|
referencedColumns: ["id"];
|
|
20448
22107
|
}];
|
|
20449
22108
|
};
|
|
22109
|
+
werkbon_email_state: {
|
|
22110
|
+
Row: {
|
|
22111
|
+
created_at: string;
|
|
22112
|
+
event_id: string;
|
|
22113
|
+
id: string;
|
|
22114
|
+
is_archived: boolean;
|
|
22115
|
+
is_read: boolean;
|
|
22116
|
+
updated_at: string;
|
|
22117
|
+
werkbon_id: string | null;
|
|
22118
|
+
};
|
|
22119
|
+
Insert: {
|
|
22120
|
+
created_at?: string;
|
|
22121
|
+
event_id: string;
|
|
22122
|
+
id?: string;
|
|
22123
|
+
is_archived?: boolean;
|
|
22124
|
+
is_read?: boolean;
|
|
22125
|
+
updated_at?: string;
|
|
22126
|
+
werkbon_id?: string | null;
|
|
22127
|
+
};
|
|
22128
|
+
Update: {
|
|
22129
|
+
created_at?: string;
|
|
22130
|
+
event_id?: string;
|
|
22131
|
+
id?: string;
|
|
22132
|
+
is_archived?: boolean;
|
|
22133
|
+
is_read?: boolean;
|
|
22134
|
+
updated_at?: string;
|
|
22135
|
+
werkbon_id?: string | null;
|
|
22136
|
+
};
|
|
22137
|
+
Relationships: [{
|
|
22138
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
22139
|
+
columns: ["event_id"];
|
|
22140
|
+
isOneToOne: true;
|
|
22141
|
+
referencedRelation: "email_auth_events";
|
|
22142
|
+
referencedColumns: ["id"];
|
|
22143
|
+
}];
|
|
22144
|
+
};
|
|
20450
22145
|
werkbon_export_runs: {
|
|
20451
22146
|
Row: {
|
|
20452
22147
|
created_at: string;
|
|
@@ -20600,71 +22295,212 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
20600
22295
|
};
|
|
20601
22296
|
Relationships: [];
|
|
20602
22297
|
};
|
|
20603
|
-
|
|
22298
|
+
werkbon_mail_ai_settings: {
|
|
20604
22299
|
Row: {
|
|
20605
|
-
article_number: string | null;
|
|
20606
22300
|
created_at: string;
|
|
20607
|
-
|
|
20608
|
-
|
|
20609
|
-
|
|
20610
|
-
quantity: number;
|
|
20611
|
-
source: string;
|
|
20612
|
-
unit: string;
|
|
20613
|
-
unit_price_cents: number;
|
|
22301
|
+
id: boolean;
|
|
22302
|
+
required_fields: string[];
|
|
22303
|
+
system_prompt: string;
|
|
20614
22304
|
updated_at: string;
|
|
20615
|
-
|
|
22305
|
+
updated_by: string | null;
|
|
20616
22306
|
};
|
|
20617
22307
|
Insert: {
|
|
20618
|
-
article_number?: string | null;
|
|
20619
22308
|
created_at?: string;
|
|
20620
|
-
|
|
20621
|
-
|
|
20622
|
-
|
|
20623
|
-
quantity?: number;
|
|
20624
|
-
source?: string;
|
|
20625
|
-
unit?: string;
|
|
20626
|
-
unit_price_cents?: number;
|
|
22309
|
+
id?: boolean;
|
|
22310
|
+
required_fields?: string[];
|
|
22311
|
+
system_prompt?: string;
|
|
20627
22312
|
updated_at?: string;
|
|
20628
|
-
|
|
22313
|
+
updated_by?: string | null;
|
|
20629
22314
|
};
|
|
20630
22315
|
Update: {
|
|
20631
|
-
article_number?: string | null;
|
|
20632
22316
|
created_at?: string;
|
|
20633
|
-
|
|
20634
|
-
|
|
20635
|
-
|
|
20636
|
-
quantity?: number;
|
|
20637
|
-
source?: string;
|
|
20638
|
-
unit?: string;
|
|
20639
|
-
unit_price_cents?: number;
|
|
22317
|
+
id?: boolean;
|
|
22318
|
+
required_fields?: string[];
|
|
22319
|
+
system_prompt?: string;
|
|
20640
22320
|
updated_at?: string;
|
|
20641
|
-
|
|
22321
|
+
updated_by?: string | null;
|
|
20642
22322
|
};
|
|
20643
|
-
Relationships: [
|
|
20644
|
-
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
20645
|
-
columns: ["werkbon_id"];
|
|
20646
|
-
isOneToOne: false;
|
|
20647
|
-
referencedRelation: "werkbonnen";
|
|
20648
|
-
referencedColumns: ["id"];
|
|
20649
|
-
}, {
|
|
20650
|
-
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
20651
|
-
columns: ["werkbon_id"];
|
|
20652
|
-
isOneToOne: false;
|
|
20653
|
-
referencedRelation: "wo_overview";
|
|
20654
|
-
referencedColumns: ["id"];
|
|
20655
|
-
}];
|
|
22323
|
+
Relationships: [];
|
|
20656
22324
|
};
|
|
20657
|
-
|
|
22325
|
+
werkbon_mail_bodies: {
|
|
20658
22326
|
Row: {
|
|
20659
|
-
active: boolean;
|
|
20660
|
-
case_sensitive: boolean;
|
|
20661
22327
|
created_at: string;
|
|
20662
|
-
|
|
20663
|
-
|
|
20664
|
-
|
|
20665
|
-
|
|
22328
|
+
event_id: string;
|
|
22329
|
+
fetch_error: string | null;
|
|
22330
|
+
fetched_at: string | null;
|
|
22331
|
+
html: string | null;
|
|
20666
22332
|
updated_at: string;
|
|
20667
|
-
|
|
22333
|
+
};
|
|
22334
|
+
Insert: {
|
|
22335
|
+
created_at?: string;
|
|
22336
|
+
event_id: string;
|
|
22337
|
+
fetch_error?: string | null;
|
|
22338
|
+
fetched_at?: string | null;
|
|
22339
|
+
html?: string | null;
|
|
22340
|
+
updated_at?: string;
|
|
22341
|
+
};
|
|
22342
|
+
Update: {
|
|
22343
|
+
created_at?: string;
|
|
22344
|
+
event_id?: string;
|
|
22345
|
+
fetch_error?: string | null;
|
|
22346
|
+
fetched_at?: string | null;
|
|
22347
|
+
html?: string | null;
|
|
22348
|
+
updated_at?: string;
|
|
22349
|
+
};
|
|
22350
|
+
Relationships: [];
|
|
22351
|
+
};
|
|
22352
|
+
werkbon_mail_inline_assets: {
|
|
22353
|
+
Row: {
|
|
22354
|
+
content_id: string | null;
|
|
22355
|
+
created_at: string;
|
|
22356
|
+
event_id: string;
|
|
22357
|
+
filename: string | null;
|
|
22358
|
+
id: string;
|
|
22359
|
+
is_inline: boolean;
|
|
22360
|
+
mime_type: string | null;
|
|
22361
|
+
size_bytes: number | null;
|
|
22362
|
+
storage_path: string;
|
|
22363
|
+
};
|
|
22364
|
+
Insert: {
|
|
22365
|
+
content_id?: string | null;
|
|
22366
|
+
created_at?: string;
|
|
22367
|
+
event_id: string;
|
|
22368
|
+
filename?: string | null;
|
|
22369
|
+
id?: string;
|
|
22370
|
+
is_inline?: boolean;
|
|
22371
|
+
mime_type?: string | null;
|
|
22372
|
+
size_bytes?: number | null;
|
|
22373
|
+
storage_path: string;
|
|
22374
|
+
};
|
|
22375
|
+
Update: {
|
|
22376
|
+
content_id?: string | null;
|
|
22377
|
+
created_at?: string;
|
|
22378
|
+
event_id?: string;
|
|
22379
|
+
filename?: string | null;
|
|
22380
|
+
id?: string;
|
|
22381
|
+
is_inline?: boolean;
|
|
22382
|
+
mime_type?: string | null;
|
|
22383
|
+
size_bytes?: number | null;
|
|
22384
|
+
storage_path?: string;
|
|
22385
|
+
};
|
|
22386
|
+
Relationships: [];
|
|
22387
|
+
};
|
|
22388
|
+
werkbon_mail_settings: {
|
|
22389
|
+
Row: {
|
|
22390
|
+
connection_id: string | null;
|
|
22391
|
+
connection_ids: string[];
|
|
22392
|
+
created_at: string;
|
|
22393
|
+
id: boolean;
|
|
22394
|
+
purposes: string[];
|
|
22395
|
+
source: string;
|
|
22396
|
+
updated_at: string;
|
|
22397
|
+
};
|
|
22398
|
+
Insert: {
|
|
22399
|
+
connection_id?: string | null;
|
|
22400
|
+
connection_ids?: string[];
|
|
22401
|
+
created_at?: string;
|
|
22402
|
+
id?: boolean;
|
|
22403
|
+
purposes?: string[];
|
|
22404
|
+
source?: string;
|
|
22405
|
+
updated_at?: string;
|
|
22406
|
+
};
|
|
22407
|
+
Update: {
|
|
22408
|
+
connection_id?: string | null;
|
|
22409
|
+
connection_ids?: string[];
|
|
22410
|
+
created_at?: string;
|
|
22411
|
+
id?: boolean;
|
|
22412
|
+
purposes?: string[];
|
|
22413
|
+
source?: string;
|
|
22414
|
+
updated_at?: string;
|
|
22415
|
+
};
|
|
22416
|
+
Relationships: [];
|
|
22417
|
+
};
|
|
22418
|
+
werkbon_mail_user_settings: {
|
|
22419
|
+
Row: {
|
|
22420
|
+
created_at: string;
|
|
22421
|
+
email_purpose: string | null;
|
|
22422
|
+
updated_at: string;
|
|
22423
|
+
user_id: string;
|
|
22424
|
+
};
|
|
22425
|
+
Insert: {
|
|
22426
|
+
created_at?: string;
|
|
22427
|
+
email_purpose?: string | null;
|
|
22428
|
+
updated_at?: string;
|
|
22429
|
+
user_id: string;
|
|
22430
|
+
};
|
|
22431
|
+
Update: {
|
|
22432
|
+
created_at?: string;
|
|
22433
|
+
email_purpose?: string | null;
|
|
22434
|
+
updated_at?: string;
|
|
22435
|
+
user_id?: string;
|
|
22436
|
+
};
|
|
22437
|
+
Relationships: [];
|
|
22438
|
+
};
|
|
22439
|
+
werkbon_materials: {
|
|
22440
|
+
Row: {
|
|
22441
|
+
article_number: string | null;
|
|
22442
|
+
created_at: string;
|
|
22443
|
+
created_by: string | null;
|
|
22444
|
+
description: string;
|
|
22445
|
+
id: string;
|
|
22446
|
+
quantity: number;
|
|
22447
|
+
source: string;
|
|
22448
|
+
unit: string;
|
|
22449
|
+
unit_price_cents: number;
|
|
22450
|
+
updated_at: string;
|
|
22451
|
+
werkbon_id: string;
|
|
22452
|
+
};
|
|
22453
|
+
Insert: {
|
|
22454
|
+
article_number?: string | null;
|
|
22455
|
+
created_at?: string;
|
|
22456
|
+
created_by?: string | null;
|
|
22457
|
+
description: string;
|
|
22458
|
+
id?: string;
|
|
22459
|
+
quantity?: number;
|
|
22460
|
+
source?: string;
|
|
22461
|
+
unit?: string;
|
|
22462
|
+
unit_price_cents?: number;
|
|
22463
|
+
updated_at?: string;
|
|
22464
|
+
werkbon_id: string;
|
|
22465
|
+
};
|
|
22466
|
+
Update: {
|
|
22467
|
+
article_number?: string | null;
|
|
22468
|
+
created_at?: string;
|
|
22469
|
+
created_by?: string | null;
|
|
22470
|
+
description?: string;
|
|
22471
|
+
id?: string;
|
|
22472
|
+
quantity?: number;
|
|
22473
|
+
source?: string;
|
|
22474
|
+
unit?: string;
|
|
22475
|
+
unit_price_cents?: number;
|
|
22476
|
+
updated_at?: string;
|
|
22477
|
+
werkbon_id?: string;
|
|
22478
|
+
};
|
|
22479
|
+
Relationships: [{
|
|
22480
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
22481
|
+
columns: ["werkbon_id"];
|
|
22482
|
+
isOneToOne: false;
|
|
22483
|
+
referencedRelation: "werkbonnen";
|
|
22484
|
+
referencedColumns: ["id"];
|
|
22485
|
+
}, {
|
|
22486
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
22487
|
+
columns: ["werkbon_id"];
|
|
22488
|
+
isOneToOne: false;
|
|
22489
|
+
referencedRelation: "wo_overview";
|
|
22490
|
+
referencedColumns: ["id"];
|
|
22491
|
+
}];
|
|
22492
|
+
};
|
|
22493
|
+
werkbon_package_ai_rules: {
|
|
22494
|
+
Row: {
|
|
22495
|
+
active: boolean;
|
|
22496
|
+
case_sensitive: boolean;
|
|
22497
|
+
created_at: string;
|
|
22498
|
+
id: string;
|
|
22499
|
+
package_id: string;
|
|
22500
|
+
priority: number;
|
|
22501
|
+
rule_type: string;
|
|
22502
|
+
updated_at: string;
|
|
22503
|
+
value: string;
|
|
20668
22504
|
};
|
|
20669
22505
|
Insert: {
|
|
20670
22506
|
active?: boolean;
|
|
@@ -20730,10 +22566,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
20730
22566
|
Row: {
|
|
20731
22567
|
article_number: string | null;
|
|
20732
22568
|
artikel_id: string | null;
|
|
22569
|
+
cost_price_cents: number;
|
|
20733
22570
|
created_at: string;
|
|
20734
22571
|
gtin: string | null;
|
|
20735
22572
|
id: string;
|
|
20736
22573
|
manufacturer: string | null;
|
|
22574
|
+
margin_percent: number | null;
|
|
20737
22575
|
omschrijving: string;
|
|
20738
22576
|
package_id: string;
|
|
20739
22577
|
price_synced_at: string | null;
|
|
@@ -20748,10 +22586,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
20748
22586
|
Insert: {
|
|
20749
22587
|
article_number?: string | null;
|
|
20750
22588
|
artikel_id?: string | null;
|
|
22589
|
+
cost_price_cents?: number;
|
|
20751
22590
|
created_at?: string;
|
|
20752
22591
|
gtin?: string | null;
|
|
20753
22592
|
id?: string;
|
|
20754
22593
|
manufacturer?: string | null;
|
|
22594
|
+
margin_percent?: number | null;
|
|
20755
22595
|
omschrijving: string;
|
|
20756
22596
|
package_id: string;
|
|
20757
22597
|
price_synced_at?: string | null;
|
|
@@ -20766,10 +22606,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
20766
22606
|
Update: {
|
|
20767
22607
|
article_number?: string | null;
|
|
20768
22608
|
artikel_id?: string | null;
|
|
22609
|
+
cost_price_cents?: number;
|
|
20769
22610
|
created_at?: string;
|
|
20770
22611
|
gtin?: string | null;
|
|
20771
22612
|
id?: string;
|
|
20772
22613
|
manufacturer?: string | null;
|
|
22614
|
+
margin_percent?: number | null;
|
|
20773
22615
|
omschrijving?: string;
|
|
20774
22616
|
package_id?: string;
|
|
20775
22617
|
price_synced_at?: string | null;
|
|
@@ -20939,119 +22781,276 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
20939
22781
|
referencedColumns: ["id"];
|
|
20940
22782
|
}];
|
|
20941
22783
|
};
|
|
20942
|
-
|
|
22784
|
+
werkbon_proposal_lines: {
|
|
20943
22785
|
Row: {
|
|
20944
|
-
|
|
22786
|
+
article_number: string | null;
|
|
20945
22787
|
created_at: string;
|
|
20946
|
-
|
|
22788
|
+
description: string | null;
|
|
20947
22789
|
id: string;
|
|
22790
|
+
line_type: string;
|
|
20948
22791
|
note: string | null;
|
|
20949
|
-
|
|
20950
|
-
|
|
20951
|
-
|
|
22792
|
+
package_id: string | null;
|
|
22793
|
+
proposal_id: string;
|
|
22794
|
+
quantity: number | null;
|
|
22795
|
+
sort_order: number;
|
|
22796
|
+
unit: string | null;
|
|
22797
|
+
updated_at: string;
|
|
20952
22798
|
};
|
|
20953
22799
|
Insert: {
|
|
20954
|
-
|
|
22800
|
+
article_number?: string | null;
|
|
20955
22801
|
created_at?: string;
|
|
20956
|
-
|
|
22802
|
+
description?: string | null;
|
|
20957
22803
|
id?: string;
|
|
22804
|
+
line_type?: string;
|
|
20958
22805
|
note?: string | null;
|
|
20959
|
-
|
|
20960
|
-
|
|
20961
|
-
|
|
22806
|
+
package_id?: string | null;
|
|
22807
|
+
proposal_id: string;
|
|
22808
|
+
quantity?: number | null;
|
|
22809
|
+
sort_order?: number;
|
|
22810
|
+
unit?: string | null;
|
|
22811
|
+
updated_at?: string;
|
|
20962
22812
|
};
|
|
20963
22813
|
Update: {
|
|
20964
|
-
|
|
22814
|
+
article_number?: string | null;
|
|
20965
22815
|
created_at?: string;
|
|
20966
|
-
|
|
22816
|
+
description?: string | null;
|
|
20967
22817
|
id?: string;
|
|
22818
|
+
line_type?: string;
|
|
20968
22819
|
note?: string | null;
|
|
20969
|
-
|
|
20970
|
-
|
|
20971
|
-
|
|
22820
|
+
package_id?: string | null;
|
|
22821
|
+
proposal_id?: string;
|
|
22822
|
+
quantity?: number | null;
|
|
22823
|
+
sort_order?: number;
|
|
22824
|
+
unit?: string | null;
|
|
22825
|
+
updated_at?: string;
|
|
20972
22826
|
};
|
|
20973
22827
|
Relationships: [{
|
|
20974
|
-
foreignKeyName: "
|
|
20975
|
-
columns: ["
|
|
20976
|
-
isOneToOne: false;
|
|
20977
|
-
referencedRelation: "werkbonnen";
|
|
20978
|
-
referencedColumns: ["id"];
|
|
20979
|
-
}, {
|
|
20980
|
-
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
20981
|
-
columns: ["werkbon_id"];
|
|
22828
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
22829
|
+
columns: ["proposal_id"];
|
|
20982
22830
|
isOneToOne: false;
|
|
20983
|
-
referencedRelation: "
|
|
22831
|
+
referencedRelation: "werkbon_proposals";
|
|
20984
22832
|
referencedColumns: ["id"];
|
|
20985
22833
|
}];
|
|
20986
22834
|
};
|
|
20987
|
-
|
|
22835
|
+
werkbon_proposals: {
|
|
20988
22836
|
Row: {
|
|
20989
|
-
|
|
22837
|
+
analysed: boolean;
|
|
20990
22838
|
budget_mandate_cents: number;
|
|
20991
22839
|
complaint_description: string | null;
|
|
22840
|
+
contact_id: string | null;
|
|
20992
22841
|
created_at: string;
|
|
20993
|
-
|
|
22842
|
+
created_werkbon_id: string | null;
|
|
20994
22843
|
customer_id: string | null;
|
|
22844
|
+
deadline_date: string | null;
|
|
22845
|
+
estimated_days: number | null;
|
|
22846
|
+
estimated_duration_minutes: number | null;
|
|
22847
|
+
event_id: string;
|
|
22848
|
+
external_id: string | null;
|
|
20995
22849
|
externe_referentie: string | null;
|
|
20996
|
-
|
|
20997
|
-
|
|
22850
|
+
from_email: string | null;
|
|
22851
|
+
from_name: string | null;
|
|
20998
22852
|
id: string;
|
|
20999
22853
|
internal_notes: string | null;
|
|
21000
|
-
|
|
21001
|
-
|
|
21002
|
-
|
|
21003
|
-
|
|
21004
|
-
project_number: string | null;
|
|
21005
|
-
review_reasons: string[];
|
|
22854
|
+
parsed_payload: import("../integrations/supabase/types").Json;
|
|
22855
|
+
received_at: string | null;
|
|
22856
|
+
reviewed_at: string | null;
|
|
22857
|
+
reviewed_by: string | null;
|
|
21006
22858
|
room_number: string | null;
|
|
21007
22859
|
scheduled_end_time: string | null;
|
|
21008
22860
|
scheduled_start_time: string | null;
|
|
21009
|
-
sequence_number: number;
|
|
21010
|
-
signature_accepted_at: string | null;
|
|
21011
|
-
signature_by_user_id: string | null;
|
|
21012
|
-
signature_name: string | null;
|
|
21013
|
-
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
21014
|
-
source_mailbox_message_id: string | null;
|
|
21015
|
-
source_pdf_path: string | null;
|
|
21016
|
-
source_type: string;
|
|
21017
22861
|
status: string;
|
|
22862
|
+
subject: string | null;
|
|
21018
22863
|
technician_id: string | null;
|
|
21019
|
-
technician_notes: string | null;
|
|
21020
|
-
technician_notes_raw: string | null;
|
|
21021
22864
|
technician_task_description: string | null;
|
|
21022
22865
|
updated_at: string;
|
|
21023
|
-
version: number;
|
|
21024
22866
|
work_address: string | null;
|
|
21025
22867
|
};
|
|
21026
22868
|
Insert: {
|
|
21027
|
-
|
|
22869
|
+
analysed?: boolean;
|
|
21028
22870
|
budget_mandate_cents?: number;
|
|
21029
22871
|
complaint_description?: string | null;
|
|
22872
|
+
contact_id?: string | null;
|
|
21030
22873
|
created_at?: string;
|
|
21031
|
-
|
|
22874
|
+
created_werkbon_id?: string | null;
|
|
21032
22875
|
customer_id?: string | null;
|
|
22876
|
+
deadline_date?: string | null;
|
|
22877
|
+
estimated_days?: number | null;
|
|
22878
|
+
estimated_duration_minutes?: number | null;
|
|
22879
|
+
event_id: string;
|
|
22880
|
+
external_id?: string | null;
|
|
21033
22881
|
externe_referentie?: string | null;
|
|
21034
|
-
|
|
21035
|
-
|
|
22882
|
+
from_email?: string | null;
|
|
22883
|
+
from_name?: string | null;
|
|
21036
22884
|
id?: string;
|
|
21037
22885
|
internal_notes?: string | null;
|
|
21038
|
-
|
|
21039
|
-
|
|
21040
|
-
|
|
21041
|
-
|
|
21042
|
-
project_number?: string | null;
|
|
21043
|
-
review_reasons?: string[];
|
|
22886
|
+
parsed_payload?: import("../integrations/supabase/types").Json;
|
|
22887
|
+
received_at?: string | null;
|
|
22888
|
+
reviewed_at?: string | null;
|
|
22889
|
+
reviewed_by?: string | null;
|
|
21044
22890
|
room_number?: string | null;
|
|
21045
22891
|
scheduled_end_time?: string | null;
|
|
21046
22892
|
scheduled_start_time?: string | null;
|
|
21047
|
-
|
|
21048
|
-
|
|
21049
|
-
|
|
21050
|
-
|
|
21051
|
-
|
|
21052
|
-
|
|
21053
|
-
|
|
21054
|
-
|
|
22893
|
+
status?: string;
|
|
22894
|
+
subject?: string | null;
|
|
22895
|
+
technician_id?: string | null;
|
|
22896
|
+
technician_task_description?: string | null;
|
|
22897
|
+
updated_at?: string;
|
|
22898
|
+
work_address?: string | null;
|
|
22899
|
+
};
|
|
22900
|
+
Update: {
|
|
22901
|
+
analysed?: boolean;
|
|
22902
|
+
budget_mandate_cents?: number;
|
|
22903
|
+
complaint_description?: string | null;
|
|
22904
|
+
contact_id?: string | null;
|
|
22905
|
+
created_at?: string;
|
|
22906
|
+
created_werkbon_id?: string | null;
|
|
22907
|
+
customer_id?: string | null;
|
|
22908
|
+
deadline_date?: string | null;
|
|
22909
|
+
estimated_days?: number | null;
|
|
22910
|
+
estimated_duration_minutes?: number | null;
|
|
22911
|
+
event_id?: string;
|
|
22912
|
+
external_id?: string | null;
|
|
22913
|
+
externe_referentie?: string | null;
|
|
22914
|
+
from_email?: string | null;
|
|
22915
|
+
from_name?: string | null;
|
|
22916
|
+
id?: string;
|
|
22917
|
+
internal_notes?: string | null;
|
|
22918
|
+
parsed_payload?: import("../integrations/supabase/types").Json;
|
|
22919
|
+
received_at?: string | null;
|
|
22920
|
+
reviewed_at?: string | null;
|
|
22921
|
+
reviewed_by?: string | null;
|
|
22922
|
+
room_number?: string | null;
|
|
22923
|
+
scheduled_end_time?: string | null;
|
|
22924
|
+
scheduled_start_time?: string | null;
|
|
22925
|
+
status?: string;
|
|
22926
|
+
subject?: string | null;
|
|
22927
|
+
technician_id?: string | null;
|
|
22928
|
+
technician_task_description?: string | null;
|
|
22929
|
+
updated_at?: string;
|
|
22930
|
+
work_address?: string | null;
|
|
22931
|
+
};
|
|
22932
|
+
Relationships: [];
|
|
22933
|
+
};
|
|
22934
|
+
werkbon_time_logs: {
|
|
22935
|
+
Row: {
|
|
22936
|
+
activity: string;
|
|
22937
|
+
created_at: string;
|
|
22938
|
+
ended_at: string | null;
|
|
22939
|
+
id: string;
|
|
22940
|
+
note: string | null;
|
|
22941
|
+
started_at: string;
|
|
22942
|
+
user_id: string;
|
|
22943
|
+
werkbon_id: string;
|
|
22944
|
+
};
|
|
22945
|
+
Insert: {
|
|
22946
|
+
activity: string;
|
|
22947
|
+
created_at?: string;
|
|
22948
|
+
ended_at?: string | null;
|
|
22949
|
+
id?: string;
|
|
22950
|
+
note?: string | null;
|
|
22951
|
+
started_at?: string;
|
|
22952
|
+
user_id: string;
|
|
22953
|
+
werkbon_id: string;
|
|
22954
|
+
};
|
|
22955
|
+
Update: {
|
|
22956
|
+
activity?: string;
|
|
22957
|
+
created_at?: string;
|
|
22958
|
+
ended_at?: string | null;
|
|
22959
|
+
id?: string;
|
|
22960
|
+
note?: string | null;
|
|
22961
|
+
started_at?: string;
|
|
22962
|
+
user_id?: string;
|
|
22963
|
+
werkbon_id?: string;
|
|
22964
|
+
};
|
|
22965
|
+
Relationships: [{
|
|
22966
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22967
|
+
columns: ["werkbon_id"];
|
|
22968
|
+
isOneToOne: false;
|
|
22969
|
+
referencedRelation: "werkbonnen";
|
|
22970
|
+
referencedColumns: ["id"];
|
|
22971
|
+
}, {
|
|
22972
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22973
|
+
columns: ["werkbon_id"];
|
|
22974
|
+
isOneToOne: false;
|
|
22975
|
+
referencedRelation: "wo_overview";
|
|
22976
|
+
referencedColumns: ["id"];
|
|
22977
|
+
}];
|
|
22978
|
+
};
|
|
22979
|
+
werkbonnen: {
|
|
22980
|
+
Row: {
|
|
22981
|
+
assigned_user_id: string | null;
|
|
22982
|
+
budget_mandate_cents: number;
|
|
22983
|
+
complaint_description: string | null;
|
|
22984
|
+
created_at: string;
|
|
22985
|
+
created_by: string | null;
|
|
22986
|
+
customer_id: string | null;
|
|
22987
|
+
deadline_date: string | null;
|
|
22988
|
+
estimated_days: number | null;
|
|
22989
|
+
estimated_duration_minutes: number | null;
|
|
22990
|
+
externe_referentie: string | null;
|
|
22991
|
+
extra_costs_cents: number;
|
|
22992
|
+
first_time_fix: boolean | null;
|
|
22993
|
+
id: string;
|
|
22994
|
+
internal_notes: string | null;
|
|
22995
|
+
needs_detail_review: boolean;
|
|
22996
|
+
parent_werkbon_id: string | null;
|
|
22997
|
+
parsed_payload: import("../integrations/supabase/types").Json | null;
|
|
22998
|
+
planning_status: string;
|
|
22999
|
+
project_number: string | null;
|
|
23000
|
+
review_reasons: string[];
|
|
23001
|
+
room_number: string | null;
|
|
23002
|
+
scheduled_end_time: string | null;
|
|
23003
|
+
scheduled_start_time: string | null;
|
|
23004
|
+
sequence_number: number;
|
|
23005
|
+
signature_accepted_at: string | null;
|
|
23006
|
+
signature_by_user_id: string | null;
|
|
23007
|
+
signature_name: string | null;
|
|
23008
|
+
source_email_meta: import("../integrations/supabase/types").Json | null;
|
|
23009
|
+
source_mailbox_message_id: string | null;
|
|
23010
|
+
source_pdf_path: string | null;
|
|
23011
|
+
source_type: string;
|
|
23012
|
+
status: string;
|
|
23013
|
+
technician_id: string | null;
|
|
23014
|
+
technician_notes: string | null;
|
|
23015
|
+
technician_notes_raw: string | null;
|
|
23016
|
+
technician_task_description: string | null;
|
|
23017
|
+
updated_at: string;
|
|
23018
|
+
version: number;
|
|
23019
|
+
work_address: string | null;
|
|
23020
|
+
workday_hours: number | null;
|
|
23021
|
+
};
|
|
23022
|
+
Insert: {
|
|
23023
|
+
assigned_user_id?: string | null;
|
|
23024
|
+
budget_mandate_cents?: number;
|
|
23025
|
+
complaint_description?: string | null;
|
|
23026
|
+
created_at?: string;
|
|
23027
|
+
created_by?: string | null;
|
|
23028
|
+
customer_id?: string | null;
|
|
23029
|
+
deadline_date?: string | null;
|
|
23030
|
+
estimated_days?: number | null;
|
|
23031
|
+
estimated_duration_minutes?: number | null;
|
|
23032
|
+
externe_referentie?: string | null;
|
|
23033
|
+
extra_costs_cents?: number;
|
|
23034
|
+
first_time_fix?: boolean | null;
|
|
23035
|
+
id?: string;
|
|
23036
|
+
internal_notes?: string | null;
|
|
23037
|
+
needs_detail_review?: boolean;
|
|
23038
|
+
parent_werkbon_id?: string | null;
|
|
23039
|
+
parsed_payload?: import("../integrations/supabase/types").Json | null;
|
|
23040
|
+
planning_status?: string;
|
|
23041
|
+
project_number?: string | null;
|
|
23042
|
+
review_reasons?: string[];
|
|
23043
|
+
room_number?: string | null;
|
|
23044
|
+
scheduled_end_time?: string | null;
|
|
23045
|
+
scheduled_start_time?: string | null;
|
|
23046
|
+
sequence_number: number;
|
|
23047
|
+
signature_accepted_at?: string | null;
|
|
23048
|
+
signature_by_user_id?: string | null;
|
|
23049
|
+
signature_name?: string | null;
|
|
23050
|
+
source_email_meta?: import("../integrations/supabase/types").Json | null;
|
|
23051
|
+
source_mailbox_message_id?: string | null;
|
|
23052
|
+
source_pdf_path?: string | null;
|
|
23053
|
+
source_type?: string;
|
|
21055
23054
|
status?: string;
|
|
21056
23055
|
technician_id?: string | null;
|
|
21057
23056
|
technician_notes?: string | null;
|
|
@@ -21060,6 +23059,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
21060
23059
|
updated_at?: string;
|
|
21061
23060
|
version?: number;
|
|
21062
23061
|
work_address?: string | null;
|
|
23062
|
+
workday_hours?: number | null;
|
|
21063
23063
|
};
|
|
21064
23064
|
Update: {
|
|
21065
23065
|
assigned_user_id?: string | null;
|
|
@@ -21068,6 +23068,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
21068
23068
|
created_at?: string;
|
|
21069
23069
|
created_by?: string | null;
|
|
21070
23070
|
customer_id?: string | null;
|
|
23071
|
+
deadline_date?: string | null;
|
|
23072
|
+
estimated_days?: number | null;
|
|
23073
|
+
estimated_duration_minutes?: number | null;
|
|
21071
23074
|
externe_referentie?: string | null;
|
|
21072
23075
|
extra_costs_cents?: number;
|
|
21073
23076
|
first_time_fix?: boolean | null;
|
|
@@ -21098,6 +23101,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
21098
23101
|
updated_at?: string;
|
|
21099
23102
|
version?: number;
|
|
21100
23103
|
work_address?: string | null;
|
|
23104
|
+
workday_hours?: number | null;
|
|
21101
23105
|
};
|
|
21102
23106
|
Relationships: [{
|
|
21103
23107
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
@@ -21579,6 +23583,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
21579
23583
|
};
|
|
21580
23584
|
Relationships: [];
|
|
21581
23585
|
};
|
|
23586
|
+
logistics_packing_diff: {
|
|
23587
|
+
Row: {
|
|
23588
|
+
dev_key: string | null;
|
|
23589
|
+
floriday_packing: import("../integrations/supabase/types").Json | null;
|
|
23590
|
+
local_packing: import("../integrations/supabase/types").Json | null;
|
|
23591
|
+
order_id: string | null;
|
|
23592
|
+
order_item_id: string | null;
|
|
23593
|
+
order_number: string | null;
|
|
23594
|
+
product_id: string | null;
|
|
23595
|
+
product_name: string | null;
|
|
23596
|
+
scope: string | null;
|
|
23597
|
+
trade_item_id: string | null;
|
|
23598
|
+
};
|
|
23599
|
+
Relationships: [];
|
|
23600
|
+
};
|
|
21582
23601
|
logistics_product_dimensions: {
|
|
21583
23602
|
Row: {
|
|
21584
23603
|
dimension_source: string | null;
|
|
@@ -22302,6 +24321,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
22302
24321
|
};
|
|
22303
24322
|
Returns: string;
|
|
22304
24323
|
};
|
|
24324
|
+
backfill_cart_numbers_day_seq: {
|
|
24325
|
+
Args: never;
|
|
24326
|
+
Returns: number;
|
|
24327
|
+
};
|
|
22305
24328
|
backfill_open_order_reservations: {
|
|
22306
24329
|
Args: never;
|
|
22307
24330
|
Returns: {
|
|
@@ -22788,8 +24811,6 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
22788
24811
|
cart_index: number;
|
|
22789
24812
|
cart_number: string;
|
|
22790
24813
|
cart_number_id: string;
|
|
22791
|
-
cart_seq: number;
|
|
22792
|
-
cart_total: number;
|
|
22793
24814
|
order_id: string;
|
|
22794
24815
|
order_number: string;
|
|
22795
24816
|
order_source: string;
|
|
@@ -22805,10 +24826,32 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
22805
24826
|
};
|
|
22806
24827
|
Returns: number;
|
|
22807
24828
|
};
|
|
24829
|
+
control_mark_carts_delivered_detail: {
|
|
24830
|
+
Args: {
|
|
24831
|
+
p_carts: import("../integrations/supabase/types").Json;
|
|
24832
|
+
};
|
|
24833
|
+
Returns: {
|
|
24834
|
+
cart_index: number;
|
|
24835
|
+
frozen: boolean;
|
|
24836
|
+
message: string;
|
|
24837
|
+
order_id: string;
|
|
24838
|
+
order_source: string;
|
|
24839
|
+
outcome: string;
|
|
24840
|
+
}[];
|
|
24841
|
+
};
|
|
22808
24842
|
count_distinct_regulatory_products: {
|
|
22809
24843
|
Args: never;
|
|
22810
24844
|
Returns: number;
|
|
22811
24845
|
};
|
|
24846
|
+
create_order_from_public_offer: {
|
|
24847
|
+
Args: {
|
|
24848
|
+
p_carrier_id?: string;
|
|
24849
|
+
p_delivery_date?: string;
|
|
24850
|
+
p_delivery_garden_id?: string;
|
|
24851
|
+
p_offer_order_id: string;
|
|
24852
|
+
};
|
|
24853
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
24854
|
+
};
|
|
22812
24855
|
current_monteur_id: {
|
|
22813
24856
|
Args: never;
|
|
22814
24857
|
Returns: string;
|
|
@@ -23310,6 +25353,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23310
25353
|
Args: never;
|
|
23311
25354
|
Returns: string;
|
|
23312
25355
|
};
|
|
25356
|
+
handover_afspraak_intrekken: {
|
|
25357
|
+
Args: {
|
|
25358
|
+
_sleutel: string;
|
|
25359
|
+
};
|
|
25360
|
+
Returns: boolean;
|
|
25361
|
+
};
|
|
25362
|
+
handover_afspraak_zetten: {
|
|
25363
|
+
Args: {
|
|
25364
|
+
_besluit: string;
|
|
25365
|
+
_item: string;
|
|
25366
|
+
_modules: string[];
|
|
25367
|
+
_sleutel: string;
|
|
25368
|
+
_soort: string;
|
|
25369
|
+
_versie_vingerafdruk: string;
|
|
25370
|
+
};
|
|
25371
|
+
Returns: boolean;
|
|
25372
|
+
};
|
|
25373
|
+
handover_afspraken: {
|
|
25374
|
+
Args: never;
|
|
25375
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25376
|
+
};
|
|
23313
25377
|
handover_archief_lijst: {
|
|
23314
25378
|
Args: never;
|
|
23315
25379
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -23327,6 +25391,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23327
25391
|
};
|
|
23328
25392
|
Returns: boolean;
|
|
23329
25393
|
};
|
|
25394
|
+
handover_check_afronden_na_scan: {
|
|
25395
|
+
Args: {
|
|
25396
|
+
_module_ids: string[];
|
|
25397
|
+
};
|
|
25398
|
+
Returns: number;
|
|
25399
|
+
};
|
|
23330
25400
|
handover_check_markeren: {
|
|
23331
25401
|
Args: {
|
|
23332
25402
|
_module_ids: string[];
|
|
@@ -23370,6 +25440,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23370
25440
|
};
|
|
23371
25441
|
Returns: boolean;
|
|
23372
25442
|
};
|
|
25443
|
+
handover_md_bron_zetten: {
|
|
25444
|
+
Args: {
|
|
25445
|
+
_md: boolean;
|
|
25446
|
+
_module_id: string;
|
|
25447
|
+
_pad?: string;
|
|
25448
|
+
};
|
|
25449
|
+
Returns: boolean;
|
|
25450
|
+
};
|
|
23373
25451
|
handover_module_meta_zetten: {
|
|
23374
25452
|
Args: {
|
|
23375
25453
|
_module_id: string;
|
|
@@ -23378,6 +25456,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23378
25456
|
};
|
|
23379
25457
|
Returns: boolean;
|
|
23380
25458
|
};
|
|
25459
|
+
handover_naam_zetten: {
|
|
25460
|
+
Args: {
|
|
25461
|
+
_bron_repo?: string;
|
|
25462
|
+
_module_id: string;
|
|
25463
|
+
_weergavenaam?: string;
|
|
25464
|
+
};
|
|
25465
|
+
Returns: boolean;
|
|
25466
|
+
};
|
|
25467
|
+
handover_namen: {
|
|
25468
|
+
Args: never;
|
|
25469
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25470
|
+
};
|
|
25471
|
+
handover_nieuw_gezien: {
|
|
25472
|
+
Args: {
|
|
25473
|
+
_module_id: string;
|
|
25474
|
+
};
|
|
25475
|
+
Returns: boolean;
|
|
25476
|
+
};
|
|
23381
25477
|
handover_norm_naam: {
|
|
23382
25478
|
Args: {
|
|
23383
25479
|
_naam: string;
|
|
@@ -23414,6 +25510,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23414
25510
|
_versie_label?: string;
|
|
23415
25511
|
};
|
|
23416
25512
|
Returns: import("../integrations/supabase/types").Json;
|
|
25513
|
+
} | {
|
|
25514
|
+
Args: {
|
|
25515
|
+
_bekende_risicos?: string[];
|
|
25516
|
+
_bezit_tabellen?: string[];
|
|
25517
|
+
_bron_soort?: string;
|
|
25518
|
+
_commit?: string;
|
|
25519
|
+
_contractfuncties?: string[];
|
|
25520
|
+
_inhoud_md: string;
|
|
25521
|
+
_laatst_bevestigd_op?: string;
|
|
25522
|
+
_module_id: string;
|
|
25523
|
+
_module_titel: string;
|
|
25524
|
+
_ontbrekende_contracten?: string[];
|
|
25525
|
+
_pad?: string;
|
|
25526
|
+
_repo?: string;
|
|
25527
|
+
_samenvatting?: string;
|
|
25528
|
+
_versie_label?: string;
|
|
25529
|
+
};
|
|
25530
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
23417
25531
|
};
|
|
23418
25532
|
handover_publish_via_token: {
|
|
23419
25533
|
Args: {
|
|
@@ -23511,6 +25625,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23511
25625
|
Args: never;
|
|
23512
25626
|
Returns: boolean;
|
|
23513
25627
|
};
|
|
25628
|
+
inkoop_apply_price_list: {
|
|
25629
|
+
Args: {
|
|
25630
|
+
_price_list_id: string;
|
|
25631
|
+
_rows: import("../integrations/supabase/types").Json;
|
|
25632
|
+
};
|
|
25633
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25634
|
+
};
|
|
25635
|
+
inkoop_next_order_number: {
|
|
25636
|
+
Args: never;
|
|
25637
|
+
Returns: string;
|
|
25638
|
+
};
|
|
25639
|
+
inkoop_send_order: {
|
|
25640
|
+
Args: {
|
|
25641
|
+
_order_id: string;
|
|
25642
|
+
};
|
|
25643
|
+
Returns: {
|
|
25644
|
+
outbox_id: string;
|
|
25645
|
+
supplier_name: string;
|
|
25646
|
+
to_address: string;
|
|
25647
|
+
}[];
|
|
25648
|
+
};
|
|
23514
25649
|
instructie_get: {
|
|
23515
25650
|
Args: {
|
|
23516
25651
|
_sleutel: string;
|
|
@@ -23564,17 +25699,30 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23564
25699
|
};
|
|
23565
25700
|
Returns: import("../integrations/supabase/types").Json;
|
|
23566
25701
|
};
|
|
25702
|
+
invoice_ready_work_orders: {
|
|
25703
|
+
Args: {
|
|
25704
|
+
_limit?: number;
|
|
25705
|
+
};
|
|
25706
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25707
|
+
};
|
|
23567
25708
|
invoice_recalc_totals: {
|
|
23568
25709
|
Args: {
|
|
23569
25710
|
_invoice_id: string;
|
|
23570
25711
|
};
|
|
23571
25712
|
Returns: import("../integrations/supabase/types").Json;
|
|
23572
25713
|
};
|
|
23573
|
-
|
|
23574
|
-
Args:
|
|
23575
|
-
|
|
23576
|
-
|
|
23577
|
-
|
|
25714
|
+
invoice_source_lines: {
|
|
25715
|
+
Args: {
|
|
25716
|
+
_source_id: string;
|
|
25717
|
+
_source_type: string;
|
|
25718
|
+
};
|
|
25719
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25720
|
+
};
|
|
25721
|
+
is_authenticated: {
|
|
25722
|
+
Args: never;
|
|
25723
|
+
Returns: boolean;
|
|
25724
|
+
};
|
|
25725
|
+
is_developer: {
|
|
23578
25726
|
Args: never;
|
|
23579
25727
|
Returns: boolean;
|
|
23580
25728
|
};
|
|
@@ -23802,6 +25950,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23802
25950
|
};
|
|
23803
25951
|
Returns: import("../integrations/supabase/types").Json;
|
|
23804
25952
|
};
|
|
25953
|
+
logistics_buffer_decision_for_settings: {
|
|
25954
|
+
Args: {
|
|
25955
|
+
p_order: import("../integrations/supabase/types").Json;
|
|
25956
|
+
p_settings: import("../integrations/supabase/types").Json;
|
|
25957
|
+
p_user_id?: string;
|
|
25958
|
+
};
|
|
25959
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25960
|
+
};
|
|
23805
25961
|
logistics_buffer_detach_late_orders: {
|
|
23806
25962
|
Args: {
|
|
23807
25963
|
p_buffer?: string;
|
|
@@ -23835,6 +25991,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23835
25991
|
};
|
|
23836
25992
|
Returns: string;
|
|
23837
25993
|
};
|
|
25994
|
+
logistics_buffer_payload: {
|
|
25995
|
+
Args: {
|
|
25996
|
+
p_order_id: string;
|
|
25997
|
+
};
|
|
25998
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
25999
|
+
};
|
|
23838
26000
|
logistics_buffer_simulate: {
|
|
23839
26001
|
Args: {
|
|
23840
26002
|
p_orders?: import("../integrations/supabase/types").Json;
|
|
@@ -23893,6 +26055,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
23893
26055
|
};
|
|
23894
26056
|
Returns: string;
|
|
23895
26057
|
};
|
|
26058
|
+
logistics_cart_coverage_check: {
|
|
26059
|
+
Args: never;
|
|
26060
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26061
|
+
};
|
|
23896
26062
|
logistics_cart_handled: {
|
|
23897
26063
|
Args: {
|
|
23898
26064
|
p_cart_index: number;
|
|
@@ -24136,10 +26302,29 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24136
26302
|
isSetofReturn: false;
|
|
24137
26303
|
};
|
|
24138
26304
|
};
|
|
26305
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26306
|
+
Args: {
|
|
26307
|
+
p_limit?: number;
|
|
26308
|
+
p_order_id: string;
|
|
26309
|
+
};
|
|
26310
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26311
|
+
};
|
|
26312
|
+
logistics_cleanup_history: {
|
|
26313
|
+
Args: {
|
|
26314
|
+
p_limit?: number;
|
|
26315
|
+
};
|
|
26316
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26317
|
+
};
|
|
24139
26318
|
logistics_cleanup_orphan_print_jobs: {
|
|
24140
26319
|
Args: never;
|
|
24141
26320
|
Returns: import("../integrations/supabase/types").Json;
|
|
24142
26321
|
};
|
|
26322
|
+
logistics_cleanup_tasks: {
|
|
26323
|
+
Args: {
|
|
26324
|
+
p_limit?: number;
|
|
26325
|
+
};
|
|
26326
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26327
|
+
};
|
|
24143
26328
|
logistics_complete_task: {
|
|
24144
26329
|
Args: {
|
|
24145
26330
|
p_result?: import("../integrations/supabase/types").Json;
|
|
@@ -24287,6 +26472,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24287
26472
|
Args: never;
|
|
24288
26473
|
Returns: import("../integrations/supabase/types").Json;
|
|
24289
26474
|
};
|
|
26475
|
+
logistics_cron_health: {
|
|
26476
|
+
Args: never;
|
|
26477
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26478
|
+
};
|
|
24290
26479
|
logistics_day_windows: {
|
|
24291
26480
|
Args: {
|
|
24292
26481
|
p_day: string;
|
|
@@ -24636,6 +26825,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24636
26825
|
};
|
|
24637
26826
|
Returns: number;
|
|
24638
26827
|
};
|
|
26828
|
+
logistics_merge_decision: {
|
|
26829
|
+
Args: {
|
|
26830
|
+
p_lines: import("../integrations/supabase/types").Json;
|
|
26831
|
+
};
|
|
26832
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26833
|
+
};
|
|
26834
|
+
logistics_merge_floriday_lines: {
|
|
26835
|
+
Args: {
|
|
26836
|
+
p_order_id: string;
|
|
26837
|
+
};
|
|
26838
|
+
Returns: string;
|
|
26839
|
+
};
|
|
26840
|
+
logistics_merge_lines_enabled: {
|
|
26841
|
+
Args: never;
|
|
26842
|
+
Returns: boolean;
|
|
26843
|
+
};
|
|
24639
26844
|
logistics_merge_partial_carts: {
|
|
24640
26845
|
Args: {
|
|
24641
26846
|
p_limit?: number;
|
|
@@ -24672,12 +26877,90 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24672
26877
|
Args: never;
|
|
24673
26878
|
Returns: string;
|
|
24674
26879
|
};
|
|
26880
|
+
logistics_order_cart_approval: {
|
|
26881
|
+
Args: {
|
|
26882
|
+
_order_ref: string;
|
|
26883
|
+
};
|
|
26884
|
+
Returns: {
|
|
26885
|
+
approved: number;
|
|
26886
|
+
total: number;
|
|
26887
|
+
}[];
|
|
26888
|
+
};
|
|
24675
26889
|
logistics_order_cart_count: {
|
|
24676
26890
|
Args: {
|
|
24677
26891
|
p_order_ref: string;
|
|
24678
26892
|
};
|
|
24679
26893
|
Returns: number;
|
|
24680
26894
|
};
|
|
26895
|
+
logistics_order_changed: {
|
|
26896
|
+
Args: {
|
|
26897
|
+
p_order_id: string;
|
|
26898
|
+
p_reason?: string;
|
|
26899
|
+
};
|
|
26900
|
+
Returns: undefined;
|
|
26901
|
+
};
|
|
26902
|
+
logistics_order_documents_ready: {
|
|
26903
|
+
Args: {
|
|
26904
|
+
p_order_ref: string;
|
|
26905
|
+
};
|
|
26906
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26907
|
+
};
|
|
26908
|
+
logistics_order_documents_ready_bool: {
|
|
26909
|
+
Args: {
|
|
26910
|
+
p_order_ref: string;
|
|
26911
|
+
};
|
|
26912
|
+
Returns: boolean;
|
|
26913
|
+
};
|
|
26914
|
+
logistics_order_finalize_enqueue: {
|
|
26915
|
+
Args: {
|
|
26916
|
+
p_order_id: string;
|
|
26917
|
+
p_reason?: string;
|
|
26918
|
+
};
|
|
26919
|
+
Returns: undefined;
|
|
26920
|
+
};
|
|
26921
|
+
logistics_order_finalize_overview: {
|
|
26922
|
+
Args: never;
|
|
26923
|
+
Returns: {
|
|
26924
|
+
bezig: number;
|
|
26925
|
+
laatst_afgerond: string;
|
|
26926
|
+
laatste_fout: string;
|
|
26927
|
+
mislukt: number;
|
|
26928
|
+
oudste_wachttijd_seconden: number;
|
|
26929
|
+
wachtend: number;
|
|
26930
|
+
}[];
|
|
26931
|
+
};
|
|
26932
|
+
logistics_order_finalize_prune: {
|
|
26933
|
+
Args: {
|
|
26934
|
+
p_days?: number;
|
|
26935
|
+
};
|
|
26936
|
+
Returns: number;
|
|
26937
|
+
};
|
|
26938
|
+
logistics_order_finalize_reconcile: {
|
|
26939
|
+
Args: {
|
|
26940
|
+
p_days?: number;
|
|
26941
|
+
p_limit?: number;
|
|
26942
|
+
};
|
|
26943
|
+
Returns: number;
|
|
26944
|
+
};
|
|
26945
|
+
logistics_order_finalize_retry: {
|
|
26946
|
+
Args: {
|
|
26947
|
+
p_order_id: string;
|
|
26948
|
+
};
|
|
26949
|
+
Returns: boolean;
|
|
26950
|
+
};
|
|
26951
|
+
logistics_order_finalize_run: {
|
|
26952
|
+
Args: {
|
|
26953
|
+
p_lease_seconds?: number;
|
|
26954
|
+
p_limit?: number;
|
|
26955
|
+
};
|
|
26956
|
+
Returns: number;
|
|
26957
|
+
};
|
|
26958
|
+
logistics_order_frozen: {
|
|
26959
|
+
Args: {
|
|
26960
|
+
p_order_id: string;
|
|
26961
|
+
};
|
|
26962
|
+
Returns: boolean;
|
|
26963
|
+
};
|
|
24681
26964
|
logistics_order_handled: {
|
|
24682
26965
|
Args: {
|
|
24683
26966
|
p_order_uuid: string;
|
|
@@ -24691,6 +26974,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24691
26974
|
};
|
|
24692
26975
|
Returns: boolean;
|
|
24693
26976
|
};
|
|
26977
|
+
logistics_order_line_duplicates: {
|
|
26978
|
+
Args: {
|
|
26979
|
+
p_order_id: string;
|
|
26980
|
+
};
|
|
26981
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
26982
|
+
};
|
|
26983
|
+
logistics_order_merge_key: {
|
|
26984
|
+
Args: {
|
|
26985
|
+
p_group_key: string;
|
|
26986
|
+
};
|
|
26987
|
+
Returns: string;
|
|
26988
|
+
};
|
|
26989
|
+
logistics_order_mergeable: {
|
|
26990
|
+
Args: {
|
|
26991
|
+
p_order_id: string;
|
|
26992
|
+
};
|
|
26993
|
+
Returns: boolean;
|
|
26994
|
+
};
|
|
24694
26995
|
logistics_order_overview: {
|
|
24695
26996
|
Args: {
|
|
24696
26997
|
p_from?: string;
|
|
@@ -24722,6 +27023,63 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24722
27023
|
};
|
|
24723
27024
|
Returns: boolean;
|
|
24724
27025
|
};
|
|
27026
|
+
logistics_packing_autofix: {
|
|
27027
|
+
Args: {
|
|
27028
|
+
p_limit?: number;
|
|
27029
|
+
};
|
|
27030
|
+
Returns: number;
|
|
27031
|
+
};
|
|
27032
|
+
logistics_packing_block_reason: {
|
|
27033
|
+
Args: {
|
|
27034
|
+
p_order_id: string;
|
|
27035
|
+
p_order_item_id: string;
|
|
27036
|
+
};
|
|
27037
|
+
Returns: string;
|
|
27038
|
+
};
|
|
27039
|
+
logistics_packing_dismiss: {
|
|
27040
|
+
Args: {
|
|
27041
|
+
p_id: string;
|
|
27042
|
+
p_note?: string;
|
|
27043
|
+
};
|
|
27044
|
+
Returns: boolean;
|
|
27045
|
+
};
|
|
27046
|
+
logistics_packing_overview: {
|
|
27047
|
+
Args: never;
|
|
27048
|
+
Returns: {
|
|
27049
|
+
beoordelen: number;
|
|
27050
|
+
herstelbaar: number;
|
|
27051
|
+
laatst_gemeten: string;
|
|
27052
|
+
laatst_hersteld: string;
|
|
27053
|
+
open_totaal: number;
|
|
27054
|
+
orders: number;
|
|
27055
|
+
oudste_seconden: number;
|
|
27056
|
+
producten: number;
|
|
27057
|
+
}[];
|
|
27058
|
+
};
|
|
27059
|
+
logistics_packing_reconcile: {
|
|
27060
|
+
Args: {
|
|
27061
|
+
p_fix_limit?: number;
|
|
27062
|
+
p_scan_limit?: number;
|
|
27063
|
+
};
|
|
27064
|
+
Returns: {
|
|
27065
|
+
beoordelen: number;
|
|
27066
|
+
gevonden: number;
|
|
27067
|
+
hersteld: number;
|
|
27068
|
+
}[];
|
|
27069
|
+
};
|
|
27070
|
+
logistics_packing_scan: {
|
|
27071
|
+
Args: {
|
|
27072
|
+
p_limit?: number;
|
|
27073
|
+
};
|
|
27074
|
+
Returns: number;
|
|
27075
|
+
};
|
|
27076
|
+
logistics_packing_set_manual: {
|
|
27077
|
+
Args: {
|
|
27078
|
+
p_manual?: boolean;
|
|
27079
|
+
p_order_item_id: string;
|
|
27080
|
+
};
|
|
27081
|
+
Returns: boolean;
|
|
27082
|
+
};
|
|
24725
27083
|
logistics_parse_pickup: {
|
|
24726
27084
|
Args: {
|
|
24727
27085
|
p_value: string;
|
|
@@ -24815,6 +27173,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24815
27173
|
order_id: string;
|
|
24816
27174
|
}[];
|
|
24817
27175
|
};
|
|
27176
|
+
logistics_plan_defer: {
|
|
27177
|
+
Args: {
|
|
27178
|
+
p_id: string;
|
|
27179
|
+
};
|
|
27180
|
+
Returns: undefined;
|
|
27181
|
+
};
|
|
24818
27182
|
logistics_plan_enqueue: {
|
|
24819
27183
|
Args: {
|
|
24820
27184
|
p_order_id: string;
|
|
@@ -24828,6 +27192,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24828
27192
|
};
|
|
24829
27193
|
Returns: boolean;
|
|
24830
27194
|
};
|
|
27195
|
+
logistics_plan_error_class: {
|
|
27196
|
+
Args: {
|
|
27197
|
+
p_error: string;
|
|
27198
|
+
};
|
|
27199
|
+
Returns: string;
|
|
27200
|
+
};
|
|
27201
|
+
logistics_plan_error_text: {
|
|
27202
|
+
Args: {
|
|
27203
|
+
p_error: string;
|
|
27204
|
+
};
|
|
27205
|
+
Returns: string;
|
|
27206
|
+
};
|
|
24831
27207
|
logistics_plan_finish: {
|
|
24832
27208
|
Args: {
|
|
24833
27209
|
p_error?: string;
|
|
@@ -24856,6 +27232,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24856
27232
|
Args: never;
|
|
24857
27233
|
Returns: undefined;
|
|
24858
27234
|
};
|
|
27235
|
+
logistics_plan_lock_acquire: {
|
|
27236
|
+
Args: {
|
|
27237
|
+
_key: string;
|
|
27238
|
+
_owner?: string;
|
|
27239
|
+
_ttl_seconds?: number;
|
|
27240
|
+
};
|
|
27241
|
+
Returns: boolean;
|
|
27242
|
+
};
|
|
27243
|
+
logistics_plan_lock_release: {
|
|
27244
|
+
Args: {
|
|
27245
|
+
_key: string;
|
|
27246
|
+
_owner?: string;
|
|
27247
|
+
};
|
|
27248
|
+
Returns: undefined;
|
|
27249
|
+
};
|
|
24859
27250
|
logistics_plan_progress: {
|
|
24860
27251
|
Args: {
|
|
24861
27252
|
p_refs: string[];
|
|
@@ -24870,14 +27261,51 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24870
27261
|
unit_ref: string;
|
|
24871
27262
|
}[];
|
|
24872
27263
|
};
|
|
27264
|
+
logistics_plan_progress_pct: {
|
|
27265
|
+
Args: {
|
|
27266
|
+
p_order_id: string;
|
|
27267
|
+
};
|
|
27268
|
+
Returns: number;
|
|
27269
|
+
};
|
|
24873
27270
|
logistics_plan_prune: {
|
|
24874
27271
|
Args: never;
|
|
24875
27272
|
Returns: number;
|
|
24876
27273
|
};
|
|
27274
|
+
logistics_plan_queue_list: {
|
|
27275
|
+
Args: {
|
|
27276
|
+
p_limit?: number;
|
|
27277
|
+
};
|
|
27278
|
+
Returns: {
|
|
27279
|
+
attempts: number;
|
|
27280
|
+
claimed_at: string;
|
|
27281
|
+
customer_name: string;
|
|
27282
|
+
enqueued_at: string;
|
|
27283
|
+
error_class: string;
|
|
27284
|
+
error_raw: string;
|
|
27285
|
+
error_text: string;
|
|
27286
|
+
id: string;
|
|
27287
|
+
max_attempts: number;
|
|
27288
|
+
next_attempt_at: string;
|
|
27289
|
+
order_created_at: string;
|
|
27290
|
+
order_id: string;
|
|
27291
|
+
order_number: string;
|
|
27292
|
+
progress_pct: number;
|
|
27293
|
+
reason: string;
|
|
27294
|
+
stand: string;
|
|
27295
|
+
status: string;
|
|
27296
|
+
updated_at: string;
|
|
27297
|
+
}[];
|
|
27298
|
+
};
|
|
24877
27299
|
logistics_plan_release_stale: {
|
|
24878
27300
|
Args: never;
|
|
24879
27301
|
Returns: number;
|
|
24880
27302
|
};
|
|
27303
|
+
logistics_plan_reset_queue: {
|
|
27304
|
+
Args: {
|
|
27305
|
+
p_scope?: string;
|
|
27306
|
+
};
|
|
27307
|
+
Returns: number;
|
|
27308
|
+
};
|
|
24881
27309
|
logistics_plan_retry: {
|
|
24882
27310
|
Args: {
|
|
24883
27311
|
p_order_ids: string[];
|
|
@@ -24897,6 +27325,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24897
27325
|
};
|
|
24898
27326
|
Returns: import("../integrations/supabase/types").Json;
|
|
24899
27327
|
};
|
|
27328
|
+
logistics_plan_timeout_running: {
|
|
27329
|
+
Args: never;
|
|
27330
|
+
Returns: number;
|
|
27331
|
+
};
|
|
27332
|
+
logistics_planner_cart_snapshot: {
|
|
27333
|
+
Args: {
|
|
27334
|
+
p_buffer_id: string;
|
|
27335
|
+
p_order_id: string;
|
|
27336
|
+
};
|
|
27337
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27338
|
+
};
|
|
27339
|
+
logistics_planner_diff_mode: {
|
|
27340
|
+
Args: never;
|
|
27341
|
+
Returns: string;
|
|
27342
|
+
};
|
|
27343
|
+
logistics_planner_diff_prune: {
|
|
27344
|
+
Args: never;
|
|
27345
|
+
Returns: number;
|
|
27346
|
+
};
|
|
24900
27347
|
logistics_prepare_pick_documents: {
|
|
24901
27348
|
Args: {
|
|
24902
27349
|
p_limit?: number;
|
|
@@ -24907,6 +27354,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24907
27354
|
Args: never;
|
|
24908
27355
|
Returns: number;
|
|
24909
27356
|
};
|
|
27357
|
+
logistics_prune_cron_history: {
|
|
27358
|
+
Args: {
|
|
27359
|
+
p_days?: number;
|
|
27360
|
+
};
|
|
27361
|
+
Returns: number;
|
|
27362
|
+
};
|
|
24910
27363
|
logistics_prune_handled_pick_queue: {
|
|
24911
27364
|
Args: never;
|
|
24912
27365
|
Returns: number;
|
|
@@ -24943,6 +27396,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24943
27396
|
Args: never;
|
|
24944
27397
|
Returns: import("../integrations/supabase/types").Json;
|
|
24945
27398
|
};
|
|
27399
|
+
logistics_recalc_tick_kick: {
|
|
27400
|
+
Args: never;
|
|
27401
|
+
Returns: number;
|
|
27402
|
+
};
|
|
27403
|
+
logistics_reconcile_missing_plan_queue: {
|
|
27404
|
+
Args: never;
|
|
27405
|
+
Returns: number;
|
|
27406
|
+
};
|
|
24946
27407
|
logistics_refresh_pick_queue_status: {
|
|
24947
27408
|
Args: {
|
|
24948
27409
|
p_ref: string;
|
|
@@ -24973,17 +27434,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
24973
27434
|
};
|
|
24974
27435
|
Returns: import("../integrations/supabase/types").Json;
|
|
24975
27436
|
};
|
|
24976
|
-
|
|
27437
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
24977
27438
|
Args: {
|
|
24978
|
-
p_expected_date?: string;
|
|
24979
27439
|
p_order_id: string;
|
|
24980
|
-
p_reason
|
|
27440
|
+
p_reason: string;
|
|
24981
27441
|
};
|
|
24982
|
-
Returns:
|
|
24983
|
-
}
|
|
27442
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27443
|
+
};
|
|
27444
|
+
logistics_replan_order_journey: {
|
|
24984
27445
|
Args: {
|
|
24985
|
-
|
|
24986
|
-
|
|
27446
|
+
p_order_ref: string;
|
|
27447
|
+
};
|
|
27448
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27449
|
+
} | {
|
|
27450
|
+
Args: {
|
|
27451
|
+
p_order_ref: string;
|
|
27452
|
+
p_reason: string;
|
|
27453
|
+
};
|
|
27454
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27455
|
+
};
|
|
27456
|
+
logistics_report_delay: {
|
|
27457
|
+
Args: {
|
|
27458
|
+
p_expected_date?: string;
|
|
27459
|
+
p_order_id: string;
|
|
27460
|
+
p_reason?: string;
|
|
27461
|
+
};
|
|
27462
|
+
Returns: string;
|
|
27463
|
+
} | {
|
|
27464
|
+
Args: {
|
|
27465
|
+
p_expected_date?: string;
|
|
27466
|
+
p_force_customer_email?: boolean;
|
|
24987
27467
|
p_order_id: string;
|
|
24988
27468
|
p_reason?: string;
|
|
24989
27469
|
};
|
|
@@ -25017,6 +27497,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25017
27497
|
};
|
|
25018
27498
|
Returns: import("../integrations/supabase/types").Json;
|
|
25019
27499
|
};
|
|
27500
|
+
logistics_reserved_stock_nightly: {
|
|
27501
|
+
Args: never;
|
|
27502
|
+
Returns: undefined;
|
|
27503
|
+
};
|
|
25020
27504
|
logistics_resolve_pick_document: {
|
|
25021
27505
|
Args: {
|
|
25022
27506
|
_is_herprint: boolean;
|
|
@@ -25040,6 +27524,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25040
27524
|
};
|
|
25041
27525
|
Returns: import("../integrations/supabase/types").Json;
|
|
25042
27526
|
};
|
|
27527
|
+
logistics_retention_days: {
|
|
27528
|
+
Args: {
|
|
27529
|
+
p_key: string;
|
|
27530
|
+
};
|
|
27531
|
+
Returns: number;
|
|
27532
|
+
};
|
|
25043
27533
|
logistics_rule_bool: {
|
|
25044
27534
|
Args: {
|
|
25045
27535
|
p_default: boolean;
|
|
@@ -25094,6 +27584,11 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25094
27584
|
logistics_schedule_tasks: {
|
|
25095
27585
|
Args: never;
|
|
25096
27586
|
Returns: number;
|
|
27587
|
+
} | {
|
|
27588
|
+
Args: {
|
|
27589
|
+
p_order_ref?: string;
|
|
27590
|
+
};
|
|
27591
|
+
Returns: number;
|
|
25097
27592
|
};
|
|
25098
27593
|
logistics_set_order_priority: {
|
|
25099
27594
|
Args: {
|
|
@@ -25117,6 +27612,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25117
27612
|
};
|
|
25118
27613
|
Returns: string;
|
|
25119
27614
|
};
|
|
27615
|
+
logistics_shipping_note_diagnose: {
|
|
27616
|
+
Args: {
|
|
27617
|
+
p_order_number: string;
|
|
27618
|
+
};
|
|
27619
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27620
|
+
};
|
|
25120
27621
|
logistics_shipping_note_follows_slip: {
|
|
25121
27622
|
Args: never;
|
|
25122
27623
|
Returns: boolean;
|
|
@@ -25241,6 +27742,20 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25241
27742
|
};
|
|
25242
27743
|
Returns: number;
|
|
25243
27744
|
};
|
|
27745
|
+
logistics_task_retention_days: {
|
|
27746
|
+
Args: never;
|
|
27747
|
+
Returns: number;
|
|
27748
|
+
};
|
|
27749
|
+
logistics_tasks_prune: {
|
|
27750
|
+
Args: {
|
|
27751
|
+
p_days?: number;
|
|
27752
|
+
};
|
|
27753
|
+
Returns: number;
|
|
27754
|
+
};
|
|
27755
|
+
logistics_tick: {
|
|
27756
|
+
Args: never;
|
|
27757
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27758
|
+
};
|
|
25244
27759
|
logistics_tick_ping: {
|
|
25245
27760
|
Args: never;
|
|
25246
27761
|
Returns: string;
|
|
@@ -25264,12 +27779,46 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25264
27779
|
};
|
|
25265
27780
|
Returns: import("../integrations/supabase/types").Json;
|
|
25266
27781
|
};
|
|
27782
|
+
logistics_trace_archive_order: {
|
|
27783
|
+
Args: {
|
|
27784
|
+
p_order_ref: string;
|
|
27785
|
+
p_reason: string;
|
|
27786
|
+
};
|
|
27787
|
+
Returns: number;
|
|
27788
|
+
};
|
|
25267
27789
|
logistics_trace_batch: {
|
|
25268
27790
|
Args: {
|
|
25269
27791
|
p: import("../integrations/supabase/types").Json;
|
|
25270
27792
|
};
|
|
25271
27793
|
Returns: number;
|
|
25272
27794
|
};
|
|
27795
|
+
logistics_trace_derive: {
|
|
27796
|
+
Args: {
|
|
27797
|
+
p: import("../integrations/supabase/types").Json;
|
|
27798
|
+
};
|
|
27799
|
+
Returns: number;
|
|
27800
|
+
};
|
|
27801
|
+
logistics_trace_node: {
|
|
27802
|
+
Args: {
|
|
27803
|
+
p_op?: string;
|
|
27804
|
+
p_status?: string;
|
|
27805
|
+
p_table: string;
|
|
27806
|
+
};
|
|
27807
|
+
Returns: string;
|
|
27808
|
+
};
|
|
27809
|
+
logistics_trace_order_journey_start: {
|
|
27810
|
+
Args: {
|
|
27811
|
+
p_order_id: string;
|
|
27812
|
+
p_reason?: string;
|
|
27813
|
+
};
|
|
27814
|
+
Returns: string;
|
|
27815
|
+
};
|
|
27816
|
+
logistics_trace_order_origin: {
|
|
27817
|
+
Args: {
|
|
27818
|
+
p_order_id: string;
|
|
27819
|
+
};
|
|
27820
|
+
Returns: undefined;
|
|
27821
|
+
};
|
|
25273
27822
|
logistics_trace_order_overview: {
|
|
25274
27823
|
Args: {
|
|
25275
27824
|
p_error_class?: string;
|
|
@@ -25288,6 +27837,20 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25288
27837
|
};
|
|
25289
27838
|
Returns: import("../integrations/supabase/types").Json;
|
|
25290
27839
|
};
|
|
27840
|
+
logistics_trace_order_step: {
|
|
27841
|
+
Args: {
|
|
27842
|
+
p_class?: string;
|
|
27843
|
+
p_decision?: string;
|
|
27844
|
+
p_error?: string;
|
|
27845
|
+
p_next_step?: string;
|
|
27846
|
+
p_node: string;
|
|
27847
|
+
p_order_id: string;
|
|
27848
|
+
p_reason?: string;
|
|
27849
|
+
p_status: string;
|
|
27850
|
+
p_step: string;
|
|
27851
|
+
};
|
|
27852
|
+
Returns: undefined;
|
|
27853
|
+
};
|
|
25291
27854
|
logistics_trace_orders: {
|
|
25292
27855
|
Args: {
|
|
25293
27856
|
p_limit?: number;
|
|
@@ -25297,12 +27860,54 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25297
27860
|
};
|
|
25298
27861
|
Returns: import("../integrations/supabase/types").Json;
|
|
25299
27862
|
};
|
|
27863
|
+
logistics_trace_pick_state: {
|
|
27864
|
+
Args: {
|
|
27865
|
+
p_order_number: string;
|
|
27866
|
+
};
|
|
27867
|
+
Returns: undefined;
|
|
27868
|
+
};
|
|
27869
|
+
logistics_trace_progress: {
|
|
27870
|
+
Args: {
|
|
27871
|
+
p_limit?: number;
|
|
27872
|
+
};
|
|
27873
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27874
|
+
};
|
|
27875
|
+
logistics_trace_progress_order: {
|
|
27876
|
+
Args: {
|
|
27877
|
+
p_order_ref: string;
|
|
27878
|
+
};
|
|
27879
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
27880
|
+
};
|
|
25300
27881
|
logistics_trace_redact: {
|
|
25301
27882
|
Args: {
|
|
25302
27883
|
p: import("../integrations/supabase/types").Json;
|
|
25303
27884
|
};
|
|
25304
27885
|
Returns: import("../integrations/supabase/types").Json;
|
|
25305
27886
|
};
|
|
27887
|
+
logistics_trace_source_node: {
|
|
27888
|
+
Args: {
|
|
27889
|
+
p_source: string;
|
|
27890
|
+
};
|
|
27891
|
+
Returns: string;
|
|
27892
|
+
};
|
|
27893
|
+
logistics_trace_step_once: {
|
|
27894
|
+
Args: {
|
|
27895
|
+
p_decision: string;
|
|
27896
|
+
p_next_step?: string;
|
|
27897
|
+
p_node: string;
|
|
27898
|
+
p_order_id: string;
|
|
27899
|
+
p_reason: string;
|
|
27900
|
+
p_status: string;
|
|
27901
|
+
p_step: string;
|
|
27902
|
+
};
|
|
27903
|
+
Returns: undefined;
|
|
27904
|
+
};
|
|
27905
|
+
logistics_trace_stock_check: {
|
|
27906
|
+
Args: {
|
|
27907
|
+
p_order_id: string;
|
|
27908
|
+
};
|
|
27909
|
+
Returns: undefined;
|
|
27910
|
+
};
|
|
25306
27911
|
logistics_trace_timeline: {
|
|
25307
27912
|
Args: {
|
|
25308
27913
|
p_limit?: number;
|
|
@@ -25416,6 +28021,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25416
28021
|
permission: string;
|
|
25417
28022
|
}[];
|
|
25418
28023
|
};
|
|
28024
|
+
next_cart_day_seq: {
|
|
28025
|
+
Args: {
|
|
28026
|
+
p_date: string;
|
|
28027
|
+
};
|
|
28028
|
+
Returns: number;
|
|
28029
|
+
};
|
|
25419
28030
|
next_manufacture_partij: {
|
|
25420
28031
|
Args: {
|
|
25421
28032
|
_tenant_id: string;
|
|
@@ -25485,6 +28096,17 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
25485
28096
|
};
|
|
25486
28097
|
Returns: boolean;
|
|
25487
28098
|
};
|
|
28099
|
+
order_items_duplicate_report: {
|
|
28100
|
+
Args: {
|
|
28101
|
+
_order_ref?: string;
|
|
28102
|
+
};
|
|
28103
|
+
Returns: {
|
|
28104
|
+
distinct_products: number;
|
|
28105
|
+
duplicate_factor: number;
|
|
28106
|
+
lines: number;
|
|
28107
|
+
order_number: string;
|
|
28108
|
+
}[];
|
|
28109
|
+
};
|
|
25488
28110
|
order_number_prefix: {
|
|
25489
28111
|
Args: {
|
|
25490
28112
|
p_custom_fields?: import("../integrations/supabase/types").Json;
|
|
@@ -26268,6 +28890,22 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26268
28890
|
};
|
|
26269
28891
|
Returns: undefined;
|
|
26270
28892
|
};
|
|
28893
|
+
planning_apply_schedule_updates: {
|
|
28894
|
+
Args: {
|
|
28895
|
+
_updates: import("../integrations/supabase/types").Json;
|
|
28896
|
+
};
|
|
28897
|
+
Returns: undefined;
|
|
28898
|
+
};
|
|
28899
|
+
planning_assert_no_overlaps: {
|
|
28900
|
+
Args: never;
|
|
28901
|
+
Returns: undefined;
|
|
28902
|
+
};
|
|
28903
|
+
planning_assert_no_overlaps_for_items: {
|
|
28904
|
+
Args: {
|
|
28905
|
+
_item_ids: string[];
|
|
28906
|
+
};
|
|
28907
|
+
Returns: undefined;
|
|
28908
|
+
};
|
|
26271
28909
|
planning_cancel_item: {
|
|
26272
28910
|
Args: {
|
|
26273
28911
|
_id: string;
|
|
@@ -26371,6 +29009,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26371
29009
|
Args: never;
|
|
26372
29010
|
Returns: number;
|
|
26373
29011
|
};
|
|
29012
|
+
quote_ack_work_order: {
|
|
29013
|
+
Args: {
|
|
29014
|
+
_queue_id: string;
|
|
29015
|
+
_werkbon_id: string;
|
|
29016
|
+
_werkbon_nummer?: string;
|
|
29017
|
+
};
|
|
29018
|
+
Returns: boolean;
|
|
29019
|
+
};
|
|
26374
29020
|
quote_create_from_source: {
|
|
26375
29021
|
Args: {
|
|
26376
29022
|
_payload?: import("../integrations/supabase/types").Json;
|
|
@@ -26379,6 +29025,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26379
29025
|
};
|
|
26380
29026
|
Returns: string;
|
|
26381
29027
|
};
|
|
29028
|
+
quote_fail_work_order: {
|
|
29029
|
+
Args: {
|
|
29030
|
+
_foutmelding: string;
|
|
29031
|
+
_queue_id: string;
|
|
29032
|
+
};
|
|
29033
|
+
Returns: boolean;
|
|
29034
|
+
};
|
|
26382
29035
|
quote_get_billable_lines: {
|
|
26383
29036
|
Args: {
|
|
26384
29037
|
_quotation_id: string;
|
|
@@ -26395,6 +29048,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26395
29048
|
Args: never;
|
|
26396
29049
|
Returns: import("../integrations/supabase/types").Json;
|
|
26397
29050
|
};
|
|
29051
|
+
quote_list_pending_work_orders: {
|
|
29052
|
+
Args: {
|
|
29053
|
+
_limit?: number;
|
|
29054
|
+
};
|
|
29055
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
29056
|
+
};
|
|
26398
29057
|
quote_list_sources: {
|
|
26399
29058
|
Args: {
|
|
26400
29059
|
_limit?: number;
|
|
@@ -26402,6 +29061,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26402
29061
|
};
|
|
26403
29062
|
Returns: import("../integrations/supabase/types").Json;
|
|
26404
29063
|
};
|
|
29064
|
+
quote_queue_follow_up: {
|
|
29065
|
+
Args: {
|
|
29066
|
+
_offerte_id: string;
|
|
29067
|
+
};
|
|
29068
|
+
Returns: string;
|
|
29069
|
+
};
|
|
26405
29070
|
recompute_all_reserved_stock: {
|
|
26406
29071
|
Args: never;
|
|
26407
29072
|
Returns: undefined;
|
|
@@ -26595,6 +29260,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26595
29260
|
Args: never;
|
|
26596
29261
|
Returns: undefined;
|
|
26597
29262
|
};
|
|
29263
|
+
run_order_auto_invoice_tick: {
|
|
29264
|
+
Args: never;
|
|
29265
|
+
Returns: number;
|
|
29266
|
+
};
|
|
26598
29267
|
run_print_queue_ticks: {
|
|
26599
29268
|
Args: never;
|
|
26600
29269
|
Returns: number;
|
|
@@ -26972,6 +29641,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
26972
29641
|
};
|
|
26973
29642
|
Returns: number;
|
|
26974
29643
|
};
|
|
29644
|
+
schedule_floriday_trade_items_reconcile: {
|
|
29645
|
+
Args: {
|
|
29646
|
+
p_apikey: string;
|
|
29647
|
+
p_url: string;
|
|
29648
|
+
};
|
|
29649
|
+
Returns: number;
|
|
29650
|
+
};
|
|
26975
29651
|
schedule_floriday_trade_items_sync: {
|
|
26976
29652
|
Args: {
|
|
26977
29653
|
p_apikey: string;
|
|
@@ -27083,6 +29759,52 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
27083
29759
|
p_end_time: string;
|
|
27084
29760
|
};
|
|
27085
29761
|
Returns: import("../integrations/supabase/types").Json;
|
|
29762
|
+
} | {
|
|
29763
|
+
Args: {
|
|
29764
|
+
p_end_lat?: number;
|
|
29765
|
+
p_end_lng?: number;
|
|
29766
|
+
p_log_id: string;
|
|
29767
|
+
};
|
|
29768
|
+
Returns: {
|
|
29769
|
+
auto_stop_reason: string | null;
|
|
29770
|
+
auto_stopped: boolean;
|
|
29771
|
+
created_at: string;
|
|
29772
|
+
current_latitude: number | null;
|
|
29773
|
+
current_longitude: number | null;
|
|
29774
|
+
current_position_updated_at: string | null;
|
|
29775
|
+
employee_id: string;
|
|
29776
|
+
end_latitude: number | null;
|
|
29777
|
+
end_longitude: number | null;
|
|
29778
|
+
end_time: string | null;
|
|
29779
|
+
eta_distance_km: number | null;
|
|
29780
|
+
eta_minutes: number | null;
|
|
29781
|
+
eta_updated_at: string | null;
|
|
29782
|
+
hour_category: string | null;
|
|
29783
|
+
id: string;
|
|
29784
|
+
last_reminder_at: string | null;
|
|
29785
|
+
notes: string | null;
|
|
29786
|
+
overtime_hours: number;
|
|
29787
|
+
overtime_type: string | null;
|
|
29788
|
+
regular_hours: number;
|
|
29789
|
+
reminder_count: number;
|
|
29790
|
+
requires_review: boolean;
|
|
29791
|
+
start_latitude: number | null;
|
|
29792
|
+
start_longitude: number | null;
|
|
29793
|
+
start_time: string;
|
|
29794
|
+
travel_cost: number | null;
|
|
29795
|
+
travel_distance_km: number | null;
|
|
29796
|
+
travel_duration_min: number | null;
|
|
29797
|
+
travel_time_minutes: number | null;
|
|
29798
|
+
type: string;
|
|
29799
|
+
updated_at: string;
|
|
29800
|
+
work_order_id: string | null;
|
|
29801
|
+
};
|
|
29802
|
+
SetofOptions: {
|
|
29803
|
+
from: "*";
|
|
29804
|
+
to: "time_logs";
|
|
29805
|
+
isOneToOne: true;
|
|
29806
|
+
isSetofReturn: false;
|
|
29807
|
+
};
|
|
27086
29808
|
};
|
|
27087
29809
|
swap_cart_layer_positions: {
|
|
27088
29810
|
Args: {
|
|
@@ -27239,14 +29961,323 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
27239
29961
|
};
|
|
27240
29962
|
Returns: undefined;
|
|
27241
29963
|
};
|
|
29964
|
+
uren_employee_day_hours: {
|
|
29965
|
+
Args: {
|
|
29966
|
+
_day: string;
|
|
29967
|
+
_employee_id: string;
|
|
29968
|
+
};
|
|
29969
|
+
Returns: number;
|
|
29970
|
+
};
|
|
27242
29971
|
uren_is_beheerder: {
|
|
27243
29972
|
Args: never;
|
|
27244
29973
|
Returns: boolean;
|
|
27245
29974
|
};
|
|
29975
|
+
uren_is_werkdag: {
|
|
29976
|
+
Args: {
|
|
29977
|
+
_date: string;
|
|
29978
|
+
_monteur: string;
|
|
29979
|
+
};
|
|
29980
|
+
Returns: boolean;
|
|
29981
|
+
};
|
|
29982
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
29983
|
+
Args: {
|
|
29984
|
+
_datum: string;
|
|
29985
|
+
_eind: string;
|
|
29986
|
+
_reden: string;
|
|
29987
|
+
_start: string;
|
|
29988
|
+
};
|
|
29989
|
+
Returns: string;
|
|
29990
|
+
};
|
|
29991
|
+
uren_list_medewerkers: {
|
|
29992
|
+
Args: never;
|
|
29993
|
+
Returns: {
|
|
29994
|
+
avatar_url: string;
|
|
29995
|
+
color: string;
|
|
29996
|
+
display_name: string;
|
|
29997
|
+
email: string;
|
|
29998
|
+
hours_fri: number;
|
|
29999
|
+
hours_mon: number;
|
|
30000
|
+
hours_thu: number;
|
|
30001
|
+
hours_tue: number;
|
|
30002
|
+
hours_wed: number;
|
|
30003
|
+
id: string;
|
|
30004
|
+
is_active: boolean;
|
|
30005
|
+
leave_balance_hours: number;
|
|
30006
|
+
persnr: string;
|
|
30007
|
+
phone: string;
|
|
30008
|
+
roles: string[];
|
|
30009
|
+
}[];
|
|
30010
|
+
};
|
|
30011
|
+
uren_list_planner_contacten: {
|
|
30012
|
+
Args: never;
|
|
30013
|
+
Returns: {
|
|
30014
|
+
display_name: string;
|
|
30015
|
+
id: string;
|
|
30016
|
+
phone: string;
|
|
30017
|
+
}[];
|
|
30018
|
+
};
|
|
30019
|
+
uren_maand_afsluiten: {
|
|
30020
|
+
Args: {
|
|
30021
|
+
_maand: string;
|
|
30022
|
+
_monteur: string;
|
|
30023
|
+
};
|
|
30024
|
+
Returns: undefined;
|
|
30025
|
+
};
|
|
30026
|
+
uren_maand_berekenen: {
|
|
30027
|
+
Args: {
|
|
30028
|
+
_maand: string;
|
|
30029
|
+
_monteur: string;
|
|
30030
|
+
};
|
|
30031
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30032
|
+
};
|
|
30033
|
+
uren_maand_corrigeren: {
|
|
30034
|
+
Args: {
|
|
30035
|
+
_maand: string;
|
|
30036
|
+
_monteur: string;
|
|
30037
|
+
_overuren_minuten: number;
|
|
30038
|
+
_reden: string;
|
|
30039
|
+
};
|
|
30040
|
+
Returns: undefined;
|
|
30041
|
+
};
|
|
30042
|
+
uren_mijn_contracturen: {
|
|
30043
|
+
Args: never;
|
|
30044
|
+
Returns: number;
|
|
30045
|
+
};
|
|
30046
|
+
uren_mijn_vakantiesaldo: {
|
|
30047
|
+
Args: never;
|
|
30048
|
+
Returns: number;
|
|
30049
|
+
};
|
|
27246
30050
|
uren_my_monteur_id: {
|
|
27247
30051
|
Args: never;
|
|
27248
30052
|
Returns: string;
|
|
27249
30053
|
};
|
|
30054
|
+
uren_planning_dagagenda: {
|
|
30055
|
+
Args: {
|
|
30056
|
+
_tot: string;
|
|
30057
|
+
_van: string;
|
|
30058
|
+
};
|
|
30059
|
+
Returns: {
|
|
30060
|
+
end_at: string;
|
|
30061
|
+
id: string;
|
|
30062
|
+
is_tweede_man: boolean;
|
|
30063
|
+
notes: string;
|
|
30064
|
+
start_at: string;
|
|
30065
|
+
status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
30066
|
+
werkbon_id: string;
|
|
30067
|
+
}[];
|
|
30068
|
+
};
|
|
30069
|
+
uren_set_planning_item_status: {
|
|
30070
|
+
Args: {
|
|
30071
|
+
_id: string;
|
|
30072
|
+
_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
30073
|
+
};
|
|
30074
|
+
Returns: undefined;
|
|
30075
|
+
};
|
|
30076
|
+
uren_set_planning_status: {
|
|
30077
|
+
Args: {
|
|
30078
|
+
p_status: import("../integrations/supabase/types").Database["public"]["Enums"]["planning_item_status"];
|
|
30079
|
+
p_werkbon_id: string;
|
|
30080
|
+
};
|
|
30081
|
+
Returns: number;
|
|
30082
|
+
};
|
|
30083
|
+
uren_spiegel_bezig: {
|
|
30084
|
+
Args: never;
|
|
30085
|
+
Returns: boolean;
|
|
30086
|
+
};
|
|
30087
|
+
uren_standaardweek_beoordelen: {
|
|
30088
|
+
Args: {
|
|
30089
|
+
_goedkeuren: boolean;
|
|
30090
|
+
_id: string;
|
|
30091
|
+
_reden?: string;
|
|
30092
|
+
};
|
|
30093
|
+
Returns: undefined;
|
|
30094
|
+
};
|
|
30095
|
+
uren_standaardweek_doorzetten: {
|
|
30096
|
+
Args: {
|
|
30097
|
+
_monteur: string;
|
|
30098
|
+
};
|
|
30099
|
+
Returns: undefined;
|
|
30100
|
+
};
|
|
30101
|
+
uren_standaardweek_instellen: {
|
|
30102
|
+
Args: {
|
|
30103
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
30104
|
+
};
|
|
30105
|
+
Returns: string;
|
|
30106
|
+
};
|
|
30107
|
+
uren_standaardweek_toepassen: {
|
|
30108
|
+
Args: {
|
|
30109
|
+
_dagen: import("../integrations/supabase/types").Json;
|
|
30110
|
+
_monteur: string;
|
|
30111
|
+
};
|
|
30112
|
+
Returns: undefined;
|
|
30113
|
+
};
|
|
30114
|
+
uren_stop_time_log: {
|
|
30115
|
+
Args: {
|
|
30116
|
+
p_employee_id: string;
|
|
30117
|
+
p_end_lat?: number;
|
|
30118
|
+
p_end_lng?: number;
|
|
30119
|
+
p_end_time: string;
|
|
30120
|
+
};
|
|
30121
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30122
|
+
};
|
|
30123
|
+
uren_switch_time_log: {
|
|
30124
|
+
Args: {
|
|
30125
|
+
p_employee_id: string;
|
|
30126
|
+
p_start_lat?: number;
|
|
30127
|
+
p_start_lng?: number;
|
|
30128
|
+
p_type: string;
|
|
30129
|
+
p_work_order_id?: string;
|
|
30130
|
+
};
|
|
30131
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30132
|
+
};
|
|
30133
|
+
uren_sync_sick_time_off: {
|
|
30134
|
+
Args: {
|
|
30135
|
+
_period_id: string;
|
|
30136
|
+
};
|
|
30137
|
+
Returns: number;
|
|
30138
|
+
};
|
|
30139
|
+
uren_vakantie_aanvragen: {
|
|
30140
|
+
Args: {
|
|
30141
|
+
_end_date: string;
|
|
30142
|
+
_hours?: number;
|
|
30143
|
+
_start_date: string;
|
|
30144
|
+
};
|
|
30145
|
+
Returns: string;
|
|
30146
|
+
};
|
|
30147
|
+
uren_vakantiedag_wijzigen: {
|
|
30148
|
+
Args: {
|
|
30149
|
+
_date: string;
|
|
30150
|
+
};
|
|
30151
|
+
Returns: string;
|
|
30152
|
+
};
|
|
30153
|
+
uren_vakantiesaldo_uren: {
|
|
30154
|
+
Args: {
|
|
30155
|
+
_monteur: string;
|
|
30156
|
+
};
|
|
30157
|
+
Returns: number;
|
|
30158
|
+
};
|
|
30159
|
+
uren_week_start: {
|
|
30160
|
+
Args: {
|
|
30161
|
+
_datum: string;
|
|
30162
|
+
};
|
|
30163
|
+
Returns: string;
|
|
30164
|
+
};
|
|
30165
|
+
uren_werkweek_opsturen: {
|
|
30166
|
+
Args: {
|
|
30167
|
+
_week_start: string;
|
|
30168
|
+
};
|
|
30169
|
+
Returns: {
|
|
30170
|
+
approved_at: string | null;
|
|
30171
|
+
approved_by: string | null;
|
|
30172
|
+
contract_hours: number;
|
|
30173
|
+
created_at: string;
|
|
30174
|
+
employee_id: string;
|
|
30175
|
+
id: string;
|
|
30176
|
+
locked: boolean;
|
|
30177
|
+
monteur_toelichting: string | null;
|
|
30178
|
+
notes: string | null;
|
|
30179
|
+
planned_hours: number;
|
|
30180
|
+
status: string;
|
|
30181
|
+
submitted_at: string | null;
|
|
30182
|
+
updated_at: string;
|
|
30183
|
+
variance_hours: number;
|
|
30184
|
+
week_start: string;
|
|
30185
|
+
};
|
|
30186
|
+
SetofOptions: {
|
|
30187
|
+
from: "*";
|
|
30188
|
+
to: "time_log_week_approvals";
|
|
30189
|
+
isOneToOne: true;
|
|
30190
|
+
isSetofReturn: false;
|
|
30191
|
+
};
|
|
30192
|
+
} | {
|
|
30193
|
+
Args: {
|
|
30194
|
+
_vrije_dagen?: string[];
|
|
30195
|
+
_week_start: string;
|
|
30196
|
+
};
|
|
30197
|
+
Returns: {
|
|
30198
|
+
approved_at: string | null;
|
|
30199
|
+
approved_by: string | null;
|
|
30200
|
+
contract_hours: number;
|
|
30201
|
+
created_at: string;
|
|
30202
|
+
employee_id: string;
|
|
30203
|
+
id: string;
|
|
30204
|
+
locked: boolean;
|
|
30205
|
+
monteur_toelichting: string | null;
|
|
30206
|
+
notes: string | null;
|
|
30207
|
+
planned_hours: number;
|
|
30208
|
+
status: string;
|
|
30209
|
+
submitted_at: string | null;
|
|
30210
|
+
updated_at: string;
|
|
30211
|
+
variance_hours: number;
|
|
30212
|
+
week_start: string;
|
|
30213
|
+
};
|
|
30214
|
+
SetofOptions: {
|
|
30215
|
+
from: "*";
|
|
30216
|
+
to: "time_log_week_approvals";
|
|
30217
|
+
isOneToOne: true;
|
|
30218
|
+
isSetofReturn: false;
|
|
30219
|
+
};
|
|
30220
|
+
} | {
|
|
30221
|
+
Args: {
|
|
30222
|
+
_toelichting?: string;
|
|
30223
|
+
_vrije_dagen?: string[];
|
|
30224
|
+
_week_start: string;
|
|
30225
|
+
};
|
|
30226
|
+
Returns: {
|
|
30227
|
+
approved_at: string | null;
|
|
30228
|
+
approved_by: string | null;
|
|
30229
|
+
contract_hours: number;
|
|
30230
|
+
created_at: string;
|
|
30231
|
+
employee_id: string;
|
|
30232
|
+
id: string;
|
|
30233
|
+
locked: boolean;
|
|
30234
|
+
monteur_toelichting: string | null;
|
|
30235
|
+
notes: string | null;
|
|
30236
|
+
planned_hours: number;
|
|
30237
|
+
status: string;
|
|
30238
|
+
submitted_at: string | null;
|
|
30239
|
+
updated_at: string;
|
|
30240
|
+
variance_hours: number;
|
|
30241
|
+
week_start: string;
|
|
30242
|
+
};
|
|
30243
|
+
SetofOptions: {
|
|
30244
|
+
from: "*";
|
|
30245
|
+
to: "time_log_week_approvals";
|
|
30246
|
+
isOneToOne: true;
|
|
30247
|
+
isSetofReturn: false;
|
|
30248
|
+
};
|
|
30249
|
+
};
|
|
30250
|
+
vakantie_dagen_gebruikt: {
|
|
30251
|
+
Args: {
|
|
30252
|
+
_user_id: string;
|
|
30253
|
+
_year: number;
|
|
30254
|
+
};
|
|
30255
|
+
Returns: number;
|
|
30256
|
+
};
|
|
30257
|
+
vakantie_saldo: {
|
|
30258
|
+
Args: {
|
|
30259
|
+
_user_id: string;
|
|
30260
|
+
_year?: number;
|
|
30261
|
+
};
|
|
30262
|
+
Returns: {
|
|
30263
|
+
day_hours: number;
|
|
30264
|
+
entitlement_days: number;
|
|
30265
|
+
remaining_days: number;
|
|
30266
|
+
used_days: number;
|
|
30267
|
+
}[];
|
|
30268
|
+
};
|
|
30269
|
+
vakantie_saldo_overzicht: {
|
|
30270
|
+
Args: {
|
|
30271
|
+
_year?: number;
|
|
30272
|
+
};
|
|
30273
|
+
Returns: {
|
|
30274
|
+
day_hours: number;
|
|
30275
|
+
entitlement_days: number;
|
|
30276
|
+
remaining_days: number;
|
|
30277
|
+
used_days: number;
|
|
30278
|
+
user_id: string;
|
|
30279
|
+
}[];
|
|
30280
|
+
};
|
|
27250
30281
|
voorraad_cleanup_old_rows: {
|
|
27251
30282
|
Args: never;
|
|
27252
30283
|
Returns: import("../integrations/supabase/types").Json;
|
|
@@ -27289,6 +30320,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
|
|
|
27289
30320
|
};
|
|
27290
30321
|
Returns: import("../integrations/supabase/types").Json;
|
|
27291
30322
|
};
|
|
30323
|
+
wo_list_offerte_requests: {
|
|
30324
|
+
Args: {
|
|
30325
|
+
_status?: string;
|
|
30326
|
+
};
|
|
30327
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30328
|
+
};
|
|
30329
|
+
wo_process_offerte_request: {
|
|
30330
|
+
Args: {
|
|
30331
|
+
_queue_id: string;
|
|
30332
|
+
};
|
|
30333
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30334
|
+
};
|
|
30335
|
+
wo_reject_offerte_request: {
|
|
30336
|
+
Args: {
|
|
30337
|
+
_queue_id: string;
|
|
30338
|
+
_reden?: string;
|
|
30339
|
+
};
|
|
30340
|
+
Returns: import("../integrations/supabase/types").Json;
|
|
30341
|
+
};
|
|
27292
30342
|
wo_set_status: {
|
|
27293
30343
|
Args: {
|
|
27294
30344
|
_reason?: string;
|