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