@flowselections/floriday-voorraad 1.0.46 → 1.0.48
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 +159 -11
- 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
|
@@ -6,6 +6,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
6
6
|
Row: {
|
|
7
7
|
auto_print_delivery_note: boolean;
|
|
8
8
|
auto_process_paused: boolean;
|
|
9
|
+
control_bulk_max_carts: number;
|
|
9
10
|
created_at: string;
|
|
10
11
|
extra_pick_days_with_stickers: number;
|
|
11
12
|
id: string;
|
|
@@ -23,6 +24,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23
24
|
Insert: {
|
|
24
25
|
auto_print_delivery_note?: boolean;
|
|
25
26
|
auto_process_paused?: boolean;
|
|
27
|
+
control_bulk_max_carts?: number;
|
|
26
28
|
created_at?: string;
|
|
27
29
|
extra_pick_days_with_stickers?: number;
|
|
28
30
|
id?: string;
|
|
@@ -40,6 +42,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
40
42
|
Update: {
|
|
41
43
|
auto_print_delivery_note?: boolean;
|
|
42
44
|
auto_process_paused?: boolean;
|
|
45
|
+
control_bulk_max_carts?: number;
|
|
43
46
|
created_at?: string;
|
|
44
47
|
extra_pick_days_with_stickers?: number;
|
|
45
48
|
id?: string;
|
|
@@ -1382,6 +1385,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1382
1385
|
id: string;
|
|
1383
1386
|
notes: string | null;
|
|
1384
1387
|
performed_at: string;
|
|
1388
|
+
request_key: string | null;
|
|
1385
1389
|
rescheduled_count: number;
|
|
1386
1390
|
stock_consumed_at: string | null;
|
|
1387
1391
|
total_carts: number;
|
|
@@ -1396,6 +1400,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1396
1400
|
id?: string;
|
|
1397
1401
|
notes?: string | null;
|
|
1398
1402
|
performed_at?: string;
|
|
1403
|
+
request_key?: string | null;
|
|
1399
1404
|
rescheduled_count?: number;
|
|
1400
1405
|
stock_consumed_at?: string | null;
|
|
1401
1406
|
total_carts?: number;
|
|
@@ -1410,6 +1415,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1410
1415
|
id?: string;
|
|
1411
1416
|
notes?: string | null;
|
|
1412
1417
|
performed_at?: string;
|
|
1418
|
+
request_key?: string | null;
|
|
1413
1419
|
rescheduled_count?: number;
|
|
1414
1420
|
stock_consumed_at?: string | null;
|
|
1415
1421
|
total_carts?: number;
|
|
@@ -1422,9 +1428,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1422
1428
|
Row: {
|
|
1423
1429
|
assigned_at: string;
|
|
1424
1430
|
cart_index: number;
|
|
1425
|
-
cart_number: string
|
|
1431
|
+
cart_number: string;
|
|
1426
1432
|
day_seq: number | null;
|
|
1427
1433
|
delivered_at: string | null;
|
|
1434
|
+
engine_cart_label: string | null;
|
|
1428
1435
|
id: string;
|
|
1429
1436
|
order_id: string;
|
|
1430
1437
|
order_source: string;
|
|
@@ -1434,9 +1441,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1434
1441
|
Insert: {
|
|
1435
1442
|
assigned_at?: string;
|
|
1436
1443
|
cart_index: number;
|
|
1437
|
-
cart_number
|
|
1444
|
+
cart_number: string;
|
|
1438
1445
|
day_seq?: number | null;
|
|
1439
1446
|
delivered_at?: string | null;
|
|
1447
|
+
engine_cart_label?: string | null;
|
|
1440
1448
|
id?: string;
|
|
1441
1449
|
order_id: string;
|
|
1442
1450
|
order_source: string;
|
|
@@ -1446,9 +1454,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
1446
1454
|
Update: {
|
|
1447
1455
|
assigned_at?: string;
|
|
1448
1456
|
cart_index?: number;
|
|
1449
|
-
cart_number?: string
|
|
1457
|
+
cart_number?: string;
|
|
1450
1458
|
day_seq?: number | null;
|
|
1451
1459
|
delivered_at?: string | null;
|
|
1460
|
+
engine_cart_label?: string | null;
|
|
1452
1461
|
id?: string;
|
|
1453
1462
|
order_id?: string;
|
|
1454
1463
|
order_source?: string;
|
|
@@ -3715,6 +3724,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3715
3724
|
};
|
|
3716
3725
|
email_auth_outbox: {
|
|
3717
3726
|
Row: {
|
|
3727
|
+
attachments: import("./types").Json;
|
|
3718
3728
|
attempts: number;
|
|
3719
3729
|
bcc_addresses: string[];
|
|
3720
3730
|
cc_addresses: string[];
|
|
@@ -3737,6 +3747,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3737
3747
|
updated_at: string;
|
|
3738
3748
|
};
|
|
3739
3749
|
Insert: {
|
|
3750
|
+
attachments?: import("./types").Json;
|
|
3740
3751
|
attempts?: number;
|
|
3741
3752
|
bcc_addresses?: string[];
|
|
3742
3753
|
cc_addresses?: string[];
|
|
@@ -3759,6 +3770,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
3759
3770
|
updated_at?: string;
|
|
3760
3771
|
};
|
|
3761
3772
|
Update: {
|
|
3773
|
+
attachments?: import("./types").Json;
|
|
3762
3774
|
attempts?: number;
|
|
3763
3775
|
bcc_addresses?: string[];
|
|
3764
3776
|
cc_addresses?: string[];
|
|
@@ -7978,6 +7990,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7978
7990
|
};
|
|
7979
7991
|
fust_types: {
|
|
7980
7992
|
Row: {
|
|
7993
|
+
capacity_units: number | null;
|
|
7981
7994
|
connection_id: string | null;
|
|
7982
7995
|
created_at: string;
|
|
7983
7996
|
custom_package_id: string | null;
|
|
@@ -7998,6 +8011,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
7998
8011
|
width_mm: number | null;
|
|
7999
8012
|
};
|
|
8000
8013
|
Insert: {
|
|
8014
|
+
capacity_units?: number | null;
|
|
8001
8015
|
connection_id?: string | null;
|
|
8002
8016
|
created_at?: string;
|
|
8003
8017
|
custom_package_id?: string | null;
|
|
@@ -8018,6 +8032,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8018
8032
|
width_mm?: number | null;
|
|
8019
8033
|
};
|
|
8020
8034
|
Update: {
|
|
8035
|
+
capacity_units?: number | null;
|
|
8021
8036
|
connection_id?: string | null;
|
|
8022
8037
|
created_at?: string;
|
|
8023
8038
|
custom_package_id?: string | null;
|
|
@@ -8535,13 +8550,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8535
8550
|
Row: {
|
|
8536
8551
|
created_at: string;
|
|
8537
8552
|
created_by: string | null;
|
|
8553
|
+
customer_address: string | null;
|
|
8554
|
+
customer_attention: string | null;
|
|
8555
|
+
customer_city: string | null;
|
|
8538
8556
|
customer_id: string | null;
|
|
8539
8557
|
customer_name: string | null;
|
|
8558
|
+
customer_postal_code: string | null;
|
|
8559
|
+
customer_vat_number: string | null;
|
|
8560
|
+
debtor_number: string | null;
|
|
8540
8561
|
due_date: string | null;
|
|
8562
|
+
execution_date: string | null;
|
|
8541
8563
|
id: string;
|
|
8542
8564
|
invoice_date: string;
|
|
8543
8565
|
invoice_number: string | null;
|
|
8544
8566
|
note: string | null;
|
|
8567
|
+
payment_term_days: number;
|
|
8568
|
+
reference: string | null;
|
|
8545
8569
|
source_number: string | null;
|
|
8546
8570
|
source_ref: string | null;
|
|
8547
8571
|
source_type: string;
|
|
@@ -8551,17 +8575,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8551
8575
|
updated_at: string;
|
|
8552
8576
|
vat_cents: number;
|
|
8553
8577
|
vat_rate: number;
|
|
8578
|
+
work_address: string | null;
|
|
8554
8579
|
};
|
|
8555
8580
|
Insert: {
|
|
8556
8581
|
created_at?: string;
|
|
8557
8582
|
created_by?: string | null;
|
|
8583
|
+
customer_address?: string | null;
|
|
8584
|
+
customer_attention?: string | null;
|
|
8585
|
+
customer_city?: string | null;
|
|
8558
8586
|
customer_id?: string | null;
|
|
8559
8587
|
customer_name?: string | null;
|
|
8588
|
+
customer_postal_code?: string | null;
|
|
8589
|
+
customer_vat_number?: string | null;
|
|
8590
|
+
debtor_number?: string | null;
|
|
8560
8591
|
due_date?: string | null;
|
|
8592
|
+
execution_date?: string | null;
|
|
8561
8593
|
id?: string;
|
|
8562
8594
|
invoice_date?: string;
|
|
8563
8595
|
invoice_number?: string | null;
|
|
8564
8596
|
note?: string | null;
|
|
8597
|
+
payment_term_days?: number;
|
|
8598
|
+
reference?: string | null;
|
|
8565
8599
|
source_number?: string | null;
|
|
8566
8600
|
source_ref?: string | null;
|
|
8567
8601
|
source_type?: string;
|
|
@@ -8571,17 +8605,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8571
8605
|
updated_at?: string;
|
|
8572
8606
|
vat_cents?: number;
|
|
8573
8607
|
vat_rate?: number;
|
|
8608
|
+
work_address?: string | null;
|
|
8574
8609
|
};
|
|
8575
8610
|
Update: {
|
|
8576
8611
|
created_at?: string;
|
|
8577
8612
|
created_by?: string | null;
|
|
8613
|
+
customer_address?: string | null;
|
|
8614
|
+
customer_attention?: string | null;
|
|
8615
|
+
customer_city?: string | null;
|
|
8578
8616
|
customer_id?: string | null;
|
|
8579
8617
|
customer_name?: string | null;
|
|
8618
|
+
customer_postal_code?: string | null;
|
|
8619
|
+
customer_vat_number?: string | null;
|
|
8620
|
+
debtor_number?: string | null;
|
|
8580
8621
|
due_date?: string | null;
|
|
8622
|
+
execution_date?: string | null;
|
|
8581
8623
|
id?: string;
|
|
8582
8624
|
invoice_date?: string;
|
|
8583
8625
|
invoice_number?: string | null;
|
|
8584
8626
|
note?: string | null;
|
|
8627
|
+
payment_term_days?: number;
|
|
8628
|
+
reference?: string | null;
|
|
8585
8629
|
source_number?: string | null;
|
|
8586
8630
|
source_ref?: string | null;
|
|
8587
8631
|
source_type?: string;
|
|
@@ -8591,6 +8635,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8591
8635
|
updated_at?: string;
|
|
8592
8636
|
vat_cents?: number;
|
|
8593
8637
|
vat_rate?: number;
|
|
8638
|
+
work_address?: string | null;
|
|
8594
8639
|
};
|
|
8595
8640
|
Relationships: [{
|
|
8596
8641
|
foreignKeyName: "invoices_customer_id_fkey";
|
|
@@ -8795,8 +8840,48 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8795
8840
|
};
|
|
8796
8841
|
Relationships: [];
|
|
8797
8842
|
};
|
|
8843
|
+
itk_handover_afspraken: {
|
|
8844
|
+
Row: {
|
|
8845
|
+
afgesproken_door: string | null;
|
|
8846
|
+
afgesproken_op: string;
|
|
8847
|
+
besluit: string;
|
|
8848
|
+
created_at: string;
|
|
8849
|
+
item: string;
|
|
8850
|
+
modules: string[];
|
|
8851
|
+
sleutel: string;
|
|
8852
|
+
soort: string;
|
|
8853
|
+
updated_at: string;
|
|
8854
|
+
versie_vingerafdruk: string;
|
|
8855
|
+
};
|
|
8856
|
+
Insert: {
|
|
8857
|
+
afgesproken_door?: string | null;
|
|
8858
|
+
afgesproken_op?: string;
|
|
8859
|
+
besluit?: string;
|
|
8860
|
+
created_at?: string;
|
|
8861
|
+
item?: string;
|
|
8862
|
+
modules?: string[];
|
|
8863
|
+
sleutel: string;
|
|
8864
|
+
soort?: string;
|
|
8865
|
+
updated_at?: string;
|
|
8866
|
+
versie_vingerafdruk?: string;
|
|
8867
|
+
};
|
|
8868
|
+
Update: {
|
|
8869
|
+
afgesproken_door?: string | null;
|
|
8870
|
+
afgesproken_op?: string;
|
|
8871
|
+
besluit?: string;
|
|
8872
|
+
created_at?: string;
|
|
8873
|
+
item?: string;
|
|
8874
|
+
modules?: string[];
|
|
8875
|
+
sleutel?: string;
|
|
8876
|
+
soort?: string;
|
|
8877
|
+
updated_at?: string;
|
|
8878
|
+
versie_vingerafdruk?: string;
|
|
8879
|
+
};
|
|
8880
|
+
Relationships: [];
|
|
8881
|
+
};
|
|
8798
8882
|
itk_handover_github_scan: {
|
|
8799
8883
|
Row: {
|
|
8884
|
+
genegeerd_op: string | null;
|
|
8800
8885
|
gescand_op: string;
|
|
8801
8886
|
gevonden: boolean;
|
|
8802
8887
|
melding: string | null;
|
|
@@ -8804,6 +8889,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8804
8889
|
repo: string;
|
|
8805
8890
|
};
|
|
8806
8891
|
Insert: {
|
|
8892
|
+
genegeerd_op?: string | null;
|
|
8807
8893
|
gescand_op?: string;
|
|
8808
8894
|
gevonden?: boolean;
|
|
8809
8895
|
melding?: string | null;
|
|
@@ -8811,6 +8897,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8811
8897
|
repo: string;
|
|
8812
8898
|
};
|
|
8813
8899
|
Update: {
|
|
8900
|
+
genegeerd_op?: string | null;
|
|
8814
8901
|
gescand_op?: string;
|
|
8815
8902
|
gevonden?: boolean;
|
|
8816
8903
|
melding?: string | null;
|
|
@@ -8819,13 +8906,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8819
8906
|
};
|
|
8820
8907
|
Relationships: [];
|
|
8821
8908
|
};
|
|
8909
|
+
itk_handover_github_voortgang: {
|
|
8910
|
+
Row: {
|
|
8911
|
+
bijgewerkt_op: string;
|
|
8912
|
+
huidige_repo: string | null;
|
|
8913
|
+
id: boolean;
|
|
8914
|
+
klaar: number;
|
|
8915
|
+
loopt: boolean;
|
|
8916
|
+
totaal: number;
|
|
8917
|
+
};
|
|
8918
|
+
Insert: {
|
|
8919
|
+
bijgewerkt_op?: string;
|
|
8920
|
+
huidige_repo?: string | null;
|
|
8921
|
+
id?: boolean;
|
|
8922
|
+
klaar?: number;
|
|
8923
|
+
loopt?: boolean;
|
|
8924
|
+
totaal?: number;
|
|
8925
|
+
};
|
|
8926
|
+
Update: {
|
|
8927
|
+
bijgewerkt_op?: string;
|
|
8928
|
+
huidige_repo?: string | null;
|
|
8929
|
+
id?: boolean;
|
|
8930
|
+
klaar?: number;
|
|
8931
|
+
loopt?: boolean;
|
|
8932
|
+
totaal?: number;
|
|
8933
|
+
};
|
|
8934
|
+
Relationships: [];
|
|
8935
|
+
};
|
|
8822
8936
|
itk_handover_module_meta: {
|
|
8823
8937
|
Row: {
|
|
8824
8938
|
check_aangevraagd_op: string | null;
|
|
8825
8939
|
check_nodig: boolean;
|
|
8826
8940
|
check_reden: string | null;
|
|
8827
8941
|
created_at: string;
|
|
8942
|
+
md_bron: boolean;
|
|
8943
|
+
md_bron_op: string | null;
|
|
8944
|
+
md_bron_pad: string | null;
|
|
8828
8945
|
module_id: string;
|
|
8946
|
+
nieuw_gezien: boolean;
|
|
8947
|
+
nieuw_gezien_op: string | null;
|
|
8829
8948
|
project_url: string | null;
|
|
8830
8949
|
publicatie_url: string | null;
|
|
8831
8950
|
updated_at: string;
|
|
@@ -8835,7 +8954,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8835
8954
|
check_nodig?: boolean;
|
|
8836
8955
|
check_reden?: string | null;
|
|
8837
8956
|
created_at?: string;
|
|
8957
|
+
md_bron?: boolean;
|
|
8958
|
+
md_bron_op?: string | null;
|
|
8959
|
+
md_bron_pad?: string | null;
|
|
8838
8960
|
module_id: string;
|
|
8961
|
+
nieuw_gezien?: boolean;
|
|
8962
|
+
nieuw_gezien_op?: string | null;
|
|
8839
8963
|
project_url?: string | null;
|
|
8840
8964
|
publicatie_url?: string | null;
|
|
8841
8965
|
updated_at?: string;
|
|
@@ -8845,13 +8969,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8845
8969
|
check_nodig?: boolean;
|
|
8846
8970
|
check_reden?: string | null;
|
|
8847
8971
|
created_at?: string;
|
|
8972
|
+
md_bron?: boolean;
|
|
8973
|
+
md_bron_op?: string | null;
|
|
8974
|
+
md_bron_pad?: string | null;
|
|
8848
8975
|
module_id?: string;
|
|
8976
|
+
nieuw_gezien?: boolean;
|
|
8977
|
+
nieuw_gezien_op?: string | null;
|
|
8849
8978
|
project_url?: string | null;
|
|
8850
8979
|
publicatie_url?: string | null;
|
|
8851
8980
|
updated_at?: string;
|
|
8852
8981
|
};
|
|
8853
8982
|
Relationships: [];
|
|
8854
8983
|
};
|
|
8984
|
+
itk_handover_module_naam: {
|
|
8985
|
+
Row: {
|
|
8986
|
+
bron_repo: string;
|
|
8987
|
+
created_at: string;
|
|
8988
|
+
module_id: string;
|
|
8989
|
+
standaardnaam: string | null;
|
|
8990
|
+
updated_at: string;
|
|
8991
|
+
weergavenaam: string;
|
|
8992
|
+
};
|
|
8993
|
+
Insert: {
|
|
8994
|
+
bron_repo?: string;
|
|
8995
|
+
created_at?: string;
|
|
8996
|
+
module_id: string;
|
|
8997
|
+
standaardnaam?: string | null;
|
|
8998
|
+
updated_at?: string;
|
|
8999
|
+
weergavenaam: string;
|
|
9000
|
+
};
|
|
9001
|
+
Update: {
|
|
9002
|
+
bron_repo?: string;
|
|
9003
|
+
created_at?: string;
|
|
9004
|
+
module_id?: string;
|
|
9005
|
+
standaardnaam?: string | null;
|
|
9006
|
+
updated_at?: string;
|
|
9007
|
+
weergavenaam?: string;
|
|
9008
|
+
};
|
|
9009
|
+
Relationships: [];
|
|
9010
|
+
};
|
|
8855
9011
|
itk_handover_project_modules: {
|
|
8856
9012
|
Row: {
|
|
8857
9013
|
created_at: string;
|
|
@@ -8965,6 +9121,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8965
9121
|
};
|
|
8966
9122
|
itk_module_handovers: {
|
|
8967
9123
|
Row: {
|
|
9124
|
+
bekende_risicos: string[];
|
|
8968
9125
|
bevindingen: string | null;
|
|
8969
9126
|
bezit_tabellen: string[];
|
|
8970
9127
|
bron_commit: string | null;
|
|
@@ -8983,6 +9140,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8983
9140
|
inhoud_md: string;
|
|
8984
9141
|
is_actueel: boolean;
|
|
8985
9142
|
is_gearchiveerd: boolean;
|
|
9143
|
+
laatst_bevestigd_op: string | null;
|
|
8986
9144
|
laatst_gecontroleerd_op: string | null;
|
|
8987
9145
|
module_id: string;
|
|
8988
9146
|
module_titel: string;
|
|
@@ -8992,6 +9150,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
8992
9150
|
versie: number;
|
|
8993
9151
|
};
|
|
8994
9152
|
Insert: {
|
|
9153
|
+
bekende_risicos?: string[];
|
|
8995
9154
|
bevindingen?: string | null;
|
|
8996
9155
|
bezit_tabellen?: string[];
|
|
8997
9156
|
bron_commit?: string | null;
|
|
@@ -9010,6 +9169,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9010
9169
|
inhoud_md: string;
|
|
9011
9170
|
is_actueel?: boolean;
|
|
9012
9171
|
is_gearchiveerd?: boolean;
|
|
9172
|
+
laatst_bevestigd_op?: string | null;
|
|
9013
9173
|
laatst_gecontroleerd_op?: string | null;
|
|
9014
9174
|
module_id: string;
|
|
9015
9175
|
module_titel: string;
|
|
@@ -9019,6 +9179,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9019
9179
|
versie?: number;
|
|
9020
9180
|
};
|
|
9021
9181
|
Update: {
|
|
9182
|
+
bekende_risicos?: string[];
|
|
9022
9183
|
bevindingen?: string | null;
|
|
9023
9184
|
bezit_tabellen?: string[];
|
|
9024
9185
|
bron_commit?: string | null;
|
|
@@ -9037,6 +9198,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9037
9198
|
inhoud_md?: string;
|
|
9038
9199
|
is_actueel?: boolean;
|
|
9039
9200
|
is_gearchiveerd?: boolean;
|
|
9201
|
+
laatst_bevestigd_op?: string | null;
|
|
9040
9202
|
laatst_gecontroleerd_op?: string | null;
|
|
9041
9203
|
module_id?: string;
|
|
9042
9204
|
module_titel?: string;
|
|
@@ -9245,6 +9407,90 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9245
9407
|
};
|
|
9246
9408
|
Relationships: [];
|
|
9247
9409
|
};
|
|
9410
|
+
itk_offerte_voorstel_status: {
|
|
9411
|
+
Row: {
|
|
9412
|
+
ai_concept: import("./types").Json | null;
|
|
9413
|
+
created_at: string;
|
|
9414
|
+
id: string;
|
|
9415
|
+
offerte_id: string | null;
|
|
9416
|
+
proposal_id: string;
|
|
9417
|
+
seen_at: string | null;
|
|
9418
|
+
updated_at: string;
|
|
9419
|
+
};
|
|
9420
|
+
Insert: {
|
|
9421
|
+
ai_concept?: import("./types").Json | null;
|
|
9422
|
+
created_at?: string;
|
|
9423
|
+
id?: string;
|
|
9424
|
+
offerte_id?: string | null;
|
|
9425
|
+
proposal_id: string;
|
|
9426
|
+
seen_at?: string | null;
|
|
9427
|
+
updated_at?: string;
|
|
9428
|
+
};
|
|
9429
|
+
Update: {
|
|
9430
|
+
ai_concept?: import("./types").Json | null;
|
|
9431
|
+
created_at?: string;
|
|
9432
|
+
id?: string;
|
|
9433
|
+
offerte_id?: string | null;
|
|
9434
|
+
proposal_id?: string;
|
|
9435
|
+
seen_at?: string | null;
|
|
9436
|
+
updated_at?: string;
|
|
9437
|
+
};
|
|
9438
|
+
Relationships: [{
|
|
9439
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9440
|
+
columns: ["offerte_id"];
|
|
9441
|
+
isOneToOne: false;
|
|
9442
|
+
referencedRelation: "itk_offertes";
|
|
9443
|
+
referencedColumns: ["id"];
|
|
9444
|
+
}];
|
|
9445
|
+
};
|
|
9446
|
+
itk_offerte_werkbon_queue: {
|
|
9447
|
+
Row: {
|
|
9448
|
+
bron_werkbon_id: string | null;
|
|
9449
|
+
created_at: string;
|
|
9450
|
+
foutmelding: string | null;
|
|
9451
|
+
id: string;
|
|
9452
|
+
offerte_id: string;
|
|
9453
|
+
payload: import("./types").Json;
|
|
9454
|
+
status: string;
|
|
9455
|
+
updated_at: string;
|
|
9456
|
+
verwerkt_op: string | null;
|
|
9457
|
+
werkbon_id: string | null;
|
|
9458
|
+
werkbon_nummer: string | null;
|
|
9459
|
+
};
|
|
9460
|
+
Insert: {
|
|
9461
|
+
bron_werkbon_id?: string | null;
|
|
9462
|
+
created_at?: string;
|
|
9463
|
+
foutmelding?: string | null;
|
|
9464
|
+
id?: string;
|
|
9465
|
+
offerte_id: string;
|
|
9466
|
+
payload?: import("./types").Json;
|
|
9467
|
+
status?: string;
|
|
9468
|
+
updated_at?: string;
|
|
9469
|
+
verwerkt_op?: string | null;
|
|
9470
|
+
werkbon_id?: string | null;
|
|
9471
|
+
werkbon_nummer?: string | null;
|
|
9472
|
+
};
|
|
9473
|
+
Update: {
|
|
9474
|
+
bron_werkbon_id?: string | null;
|
|
9475
|
+
created_at?: string;
|
|
9476
|
+
foutmelding?: string | null;
|
|
9477
|
+
id?: string;
|
|
9478
|
+
offerte_id?: string;
|
|
9479
|
+
payload?: import("./types").Json;
|
|
9480
|
+
status?: string;
|
|
9481
|
+
updated_at?: string;
|
|
9482
|
+
verwerkt_op?: string | null;
|
|
9483
|
+
werkbon_id?: string | null;
|
|
9484
|
+
werkbon_nummer?: string | null;
|
|
9485
|
+
};
|
|
9486
|
+
Relationships: [{
|
|
9487
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9488
|
+
columns: ["offerte_id"];
|
|
9489
|
+
isOneToOne: false;
|
|
9490
|
+
referencedRelation: "itk_offertes";
|
|
9491
|
+
referencedColumns: ["id"];
|
|
9492
|
+
}];
|
|
9493
|
+
};
|
|
9248
9494
|
itk_offertes: {
|
|
9249
9495
|
Row: {
|
|
9250
9496
|
ai_generated: boolean;
|
|
@@ -9517,6 +9763,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9517
9763
|
};
|
|
9518
9764
|
leave_requests: {
|
|
9519
9765
|
Row: {
|
|
9766
|
+
cancellation_requested_at: string | null;
|
|
9767
|
+
cancellation_status: string | null;
|
|
9520
9768
|
created_at: string;
|
|
9521
9769
|
decided_at: string | null;
|
|
9522
9770
|
decided_by: string | null;
|
|
@@ -9527,6 +9775,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9527
9775
|
leave_type: string;
|
|
9528
9776
|
monteur_id: string | null;
|
|
9529
9777
|
reason: string | null;
|
|
9778
|
+
reden_afkeur: string | null;
|
|
9530
9779
|
start_date: string;
|
|
9531
9780
|
start_time: string | null;
|
|
9532
9781
|
status: string;
|
|
@@ -9534,6 +9783,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9534
9783
|
user_id: string;
|
|
9535
9784
|
};
|
|
9536
9785
|
Insert: {
|
|
9786
|
+
cancellation_requested_at?: string | null;
|
|
9787
|
+
cancellation_status?: string | null;
|
|
9537
9788
|
created_at?: string;
|
|
9538
9789
|
decided_at?: string | null;
|
|
9539
9790
|
decided_by?: string | null;
|
|
@@ -9544,6 +9795,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9544
9795
|
leave_type?: string;
|
|
9545
9796
|
monteur_id?: string | null;
|
|
9546
9797
|
reason?: string | null;
|
|
9798
|
+
reden_afkeur?: string | null;
|
|
9547
9799
|
start_date: string;
|
|
9548
9800
|
start_time?: string | null;
|
|
9549
9801
|
status?: string;
|
|
@@ -9551,6 +9803,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9551
9803
|
user_id: string;
|
|
9552
9804
|
};
|
|
9553
9805
|
Update: {
|
|
9806
|
+
cancellation_requested_at?: string | null;
|
|
9807
|
+
cancellation_status?: string | null;
|
|
9554
9808
|
created_at?: string;
|
|
9555
9809
|
decided_at?: string | null;
|
|
9556
9810
|
decided_by?: string | null;
|
|
@@ -9561,6 +9815,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
9561
9815
|
leave_type?: string;
|
|
9562
9816
|
monteur_id?: string | null;
|
|
9563
9817
|
reason?: string | null;
|
|
9818
|
+
reden_afkeur?: string | null;
|
|
9564
9819
|
start_date?: string;
|
|
9565
9820
|
start_time?: string | null;
|
|
9566
9821
|
status?: string;
|
|
@@ -10703,6 +10958,156 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10703
10958
|
};
|
|
10704
10959
|
Relationships: [];
|
|
10705
10960
|
};
|
|
10961
|
+
logistics_order_finalize_queue: {
|
|
10962
|
+
Row: {
|
|
10963
|
+
attempts: number;
|
|
10964
|
+
claimed_at: string | null;
|
|
10965
|
+
created_at: string;
|
|
10966
|
+
finished_at: string | null;
|
|
10967
|
+
last_error: string | null;
|
|
10968
|
+
lease_until: string | null;
|
|
10969
|
+
max_attempts: number;
|
|
10970
|
+
next_attempt_at: string;
|
|
10971
|
+
order_id: string;
|
|
10972
|
+
reason: string | null;
|
|
10973
|
+
requested_at: string;
|
|
10974
|
+
status: string;
|
|
10975
|
+
updated_at: string;
|
|
10976
|
+
};
|
|
10977
|
+
Insert: {
|
|
10978
|
+
attempts?: number;
|
|
10979
|
+
claimed_at?: string | null;
|
|
10980
|
+
created_at?: string;
|
|
10981
|
+
finished_at?: string | null;
|
|
10982
|
+
last_error?: string | null;
|
|
10983
|
+
lease_until?: string | null;
|
|
10984
|
+
max_attempts?: number;
|
|
10985
|
+
next_attempt_at?: string;
|
|
10986
|
+
order_id: string;
|
|
10987
|
+
reason?: string | null;
|
|
10988
|
+
requested_at?: string;
|
|
10989
|
+
status?: string;
|
|
10990
|
+
updated_at?: string;
|
|
10991
|
+
};
|
|
10992
|
+
Update: {
|
|
10993
|
+
attempts?: number;
|
|
10994
|
+
claimed_at?: string | null;
|
|
10995
|
+
created_at?: string;
|
|
10996
|
+
finished_at?: string | null;
|
|
10997
|
+
last_error?: string | null;
|
|
10998
|
+
lease_until?: string | null;
|
|
10999
|
+
max_attempts?: number;
|
|
11000
|
+
next_attempt_at?: string;
|
|
11001
|
+
order_id?: string;
|
|
11002
|
+
reason?: string | null;
|
|
11003
|
+
requested_at?: string;
|
|
11004
|
+
status?: string;
|
|
11005
|
+
updated_at?: string;
|
|
11006
|
+
};
|
|
11007
|
+
Relationships: [];
|
|
11008
|
+
};
|
|
11009
|
+
logistics_order_merges: {
|
|
11010
|
+
Row: {
|
|
11011
|
+
group_key: string;
|
|
11012
|
+
id: string;
|
|
11013
|
+
items_moved: number;
|
|
11014
|
+
kept_order_id: string;
|
|
11015
|
+
kept_order_number: string | null;
|
|
11016
|
+
merged_at: string;
|
|
11017
|
+
merged_order_id: string;
|
|
11018
|
+
merged_order_number: string | null;
|
|
11019
|
+
sales_order_id: string | null;
|
|
11020
|
+
};
|
|
11021
|
+
Insert: {
|
|
11022
|
+
group_key: string;
|
|
11023
|
+
id?: string;
|
|
11024
|
+
items_moved?: number;
|
|
11025
|
+
kept_order_id: string;
|
|
11026
|
+
kept_order_number?: string | null;
|
|
11027
|
+
merged_at?: string;
|
|
11028
|
+
merged_order_id: string;
|
|
11029
|
+
merged_order_number?: string | null;
|
|
11030
|
+
sales_order_id?: string | null;
|
|
11031
|
+
};
|
|
11032
|
+
Update: {
|
|
11033
|
+
group_key?: string;
|
|
11034
|
+
id?: string;
|
|
11035
|
+
items_moved?: number;
|
|
11036
|
+
kept_order_id?: string;
|
|
11037
|
+
kept_order_number?: string | null;
|
|
11038
|
+
merged_at?: string;
|
|
11039
|
+
merged_order_id?: string;
|
|
11040
|
+
merged_order_number?: string | null;
|
|
11041
|
+
sales_order_id?: string | null;
|
|
11042
|
+
};
|
|
11043
|
+
Relationships: [];
|
|
11044
|
+
};
|
|
11045
|
+
logistics_packing_deviations: {
|
|
11046
|
+
Row: {
|
|
11047
|
+
auto_fixed_at: string | null;
|
|
11048
|
+
created_at: string;
|
|
11049
|
+
dev_key: string;
|
|
11050
|
+
first_seen_at: string;
|
|
11051
|
+
floriday_packing: import("./types").Json;
|
|
11052
|
+
human_reason: string | null;
|
|
11053
|
+
id: string;
|
|
11054
|
+
last_seen_at: string;
|
|
11055
|
+
local_packing: import("./types").Json;
|
|
11056
|
+
needs_human: boolean;
|
|
11057
|
+
order_id: string | null;
|
|
11058
|
+
order_item_id: string | null;
|
|
11059
|
+
order_number: string | null;
|
|
11060
|
+
product_id: string | null;
|
|
11061
|
+
product_name: string | null;
|
|
11062
|
+
resolved_at: string | null;
|
|
11063
|
+
scope: string;
|
|
11064
|
+
trade_item_id: string | null;
|
|
11065
|
+
updated_at: string;
|
|
11066
|
+
};
|
|
11067
|
+
Insert: {
|
|
11068
|
+
auto_fixed_at?: string | null;
|
|
11069
|
+
created_at?: string;
|
|
11070
|
+
dev_key: string;
|
|
11071
|
+
first_seen_at?: string;
|
|
11072
|
+
floriday_packing?: import("./types").Json;
|
|
11073
|
+
human_reason?: string | null;
|
|
11074
|
+
id?: string;
|
|
11075
|
+
last_seen_at?: string;
|
|
11076
|
+
local_packing?: import("./types").Json;
|
|
11077
|
+
needs_human?: boolean;
|
|
11078
|
+
order_id?: string | null;
|
|
11079
|
+
order_item_id?: string | null;
|
|
11080
|
+
order_number?: string | null;
|
|
11081
|
+
product_id?: string | null;
|
|
11082
|
+
product_name?: string | null;
|
|
11083
|
+
resolved_at?: string | null;
|
|
11084
|
+
scope: string;
|
|
11085
|
+
trade_item_id?: string | null;
|
|
11086
|
+
updated_at?: string;
|
|
11087
|
+
};
|
|
11088
|
+
Update: {
|
|
11089
|
+
auto_fixed_at?: string | null;
|
|
11090
|
+
created_at?: string;
|
|
11091
|
+
dev_key?: string;
|
|
11092
|
+
first_seen_at?: string;
|
|
11093
|
+
floriday_packing?: import("./types").Json;
|
|
11094
|
+
human_reason?: string | null;
|
|
11095
|
+
id?: string;
|
|
11096
|
+
last_seen_at?: string;
|
|
11097
|
+
local_packing?: import("./types").Json;
|
|
11098
|
+
needs_human?: boolean;
|
|
11099
|
+
order_id?: string | null;
|
|
11100
|
+
order_item_id?: string | null;
|
|
11101
|
+
order_number?: string | null;
|
|
11102
|
+
product_id?: string | null;
|
|
11103
|
+
product_name?: string | null;
|
|
11104
|
+
resolved_at?: string | null;
|
|
11105
|
+
scope?: string;
|
|
11106
|
+
trade_item_id?: string | null;
|
|
11107
|
+
updated_at?: string;
|
|
11108
|
+
};
|
|
11109
|
+
Relationships: [];
|
|
11110
|
+
};
|
|
10706
11111
|
logistics_pick_data_requests: {
|
|
10707
11112
|
Row: {
|
|
10708
11113
|
actions: import("./types").Json;
|
|
@@ -10781,6 +11186,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10781
11186
|
};
|
|
10782
11187
|
Relationships: [];
|
|
10783
11188
|
};
|
|
11189
|
+
logistics_plan_locks: {
|
|
11190
|
+
Row: {
|
|
11191
|
+
created_at: string;
|
|
11192
|
+
lock_key: string;
|
|
11193
|
+
locked_until: string;
|
|
11194
|
+
owner: string | null;
|
|
11195
|
+
updated_at: string;
|
|
11196
|
+
};
|
|
11197
|
+
Insert: {
|
|
11198
|
+
created_at?: string;
|
|
11199
|
+
lock_key: string;
|
|
11200
|
+
locked_until: string;
|
|
11201
|
+
owner?: string | null;
|
|
11202
|
+
updated_at?: string;
|
|
11203
|
+
};
|
|
11204
|
+
Update: {
|
|
11205
|
+
created_at?: string;
|
|
11206
|
+
lock_key?: string;
|
|
11207
|
+
locked_until?: string;
|
|
11208
|
+
owner?: string | null;
|
|
11209
|
+
updated_at?: string;
|
|
11210
|
+
};
|
|
11211
|
+
Relationships: [];
|
|
11212
|
+
};
|
|
10784
11213
|
logistics_plan_queue: {
|
|
10785
11214
|
Row: {
|
|
10786
11215
|
attempts: number;
|
|
@@ -10916,14 +11345,70 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10916
11345
|
};
|
|
10917
11346
|
Relationships: [];
|
|
10918
11347
|
};
|
|
10919
|
-
|
|
11348
|
+
logistics_planner_diff_runs: {
|
|
10920
11349
|
Row: {
|
|
11350
|
+
after_snapshot: import("./types").Json | null;
|
|
11351
|
+
before_snapshot: import("./types").Json;
|
|
11352
|
+
buffer_id: string | null;
|
|
11353
|
+
carts_after: number | null;
|
|
11354
|
+
carts_before: number | null;
|
|
11355
|
+
compared_at: string | null;
|
|
10921
11356
|
created_at: string;
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
11357
|
+
differences: import("./types").Json | null;
|
|
11358
|
+
id: string;
|
|
11359
|
+
identical: boolean | null;
|
|
11360
|
+
mode: string;
|
|
11361
|
+
order_id: string;
|
|
11362
|
+
order_ref: string | null;
|
|
11363
|
+
reason: string | null;
|
|
11364
|
+
status: string;
|
|
11365
|
+
};
|
|
11366
|
+
Insert: {
|
|
11367
|
+
after_snapshot?: import("./types").Json | null;
|
|
11368
|
+
before_snapshot?: import("./types").Json;
|
|
11369
|
+
buffer_id?: string | null;
|
|
11370
|
+
carts_after?: number | null;
|
|
11371
|
+
carts_before?: number | null;
|
|
11372
|
+
compared_at?: string | null;
|
|
11373
|
+
created_at?: string;
|
|
11374
|
+
differences?: import("./types").Json | null;
|
|
11375
|
+
id?: string;
|
|
11376
|
+
identical?: boolean | null;
|
|
11377
|
+
mode: string;
|
|
11378
|
+
order_id: string;
|
|
11379
|
+
order_ref?: string | null;
|
|
11380
|
+
reason?: string | null;
|
|
11381
|
+
status?: string;
|
|
11382
|
+
};
|
|
11383
|
+
Update: {
|
|
11384
|
+
after_snapshot?: import("./types").Json | null;
|
|
11385
|
+
before_snapshot?: import("./types").Json;
|
|
11386
|
+
buffer_id?: string | null;
|
|
11387
|
+
carts_after?: number | null;
|
|
11388
|
+
carts_before?: number | null;
|
|
11389
|
+
compared_at?: string | null;
|
|
11390
|
+
created_at?: string;
|
|
11391
|
+
differences?: import("./types").Json | null;
|
|
11392
|
+
id?: string;
|
|
11393
|
+
identical?: boolean | null;
|
|
11394
|
+
mode?: string;
|
|
11395
|
+
order_id?: string;
|
|
11396
|
+
order_ref?: string | null;
|
|
11397
|
+
reason?: string | null;
|
|
11398
|
+
status?: string;
|
|
11399
|
+
};
|
|
11400
|
+
Relationships: [];
|
|
11401
|
+
};
|
|
11402
|
+
logistics_rebuffer_state: {
|
|
11403
|
+
Row: {
|
|
11404
|
+
created_at: string;
|
|
11405
|
+
id: boolean;
|
|
11406
|
+
last_checked: number;
|
|
11407
|
+
last_duration_ms: number;
|
|
11408
|
+
last_mode: string | null;
|
|
11409
|
+
last_run_at: string | null;
|
|
10926
11410
|
last_updated: number;
|
|
11411
|
+
last_would_change: number | null;
|
|
10927
11412
|
pending: boolean;
|
|
10928
11413
|
requested_at: string | null;
|
|
10929
11414
|
updated_at: string;
|
|
@@ -10933,8 +11418,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10933
11418
|
id?: boolean;
|
|
10934
11419
|
last_checked?: number;
|
|
10935
11420
|
last_duration_ms?: number;
|
|
11421
|
+
last_mode?: string | null;
|
|
10936
11422
|
last_run_at?: string | null;
|
|
10937
11423
|
last_updated?: number;
|
|
11424
|
+
last_would_change?: number | null;
|
|
10938
11425
|
pending?: boolean;
|
|
10939
11426
|
requested_at?: string | null;
|
|
10940
11427
|
updated_at?: string;
|
|
@@ -10944,8 +11431,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
10944
11431
|
id?: boolean;
|
|
10945
11432
|
last_checked?: number;
|
|
10946
11433
|
last_duration_ms?: number;
|
|
11434
|
+
last_mode?: string | null;
|
|
10947
11435
|
last_run_at?: string | null;
|
|
10948
11436
|
last_updated?: number;
|
|
11437
|
+
last_would_change?: number | null;
|
|
10949
11438
|
pending?: boolean;
|
|
10950
11439
|
requested_at?: string | null;
|
|
10951
11440
|
updated_at?: string;
|
|
@@ -11735,6 +12224,129 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11735
12224
|
};
|
|
11736
12225
|
Relationships: [];
|
|
11737
12226
|
};
|
|
12227
|
+
logistics_trace_events_archive: {
|
|
12228
|
+
Row: {
|
|
12229
|
+
actor: string | null;
|
|
12230
|
+
attempts: number;
|
|
12231
|
+
calc: import("./types").Json | null;
|
|
12232
|
+
cart_ref: string | null;
|
|
12233
|
+
created_at: string;
|
|
12234
|
+
db_action: string | null;
|
|
12235
|
+
db_new: import("./types").Json | null;
|
|
12236
|
+
db_old: import("./types").Json | null;
|
|
12237
|
+
db_record: string | null;
|
|
12238
|
+
db_table: string | null;
|
|
12239
|
+
decision: string | null;
|
|
12240
|
+
duration_ms: number | null;
|
|
12241
|
+
error: string | null;
|
|
12242
|
+
error_class: string | null;
|
|
12243
|
+
external_action: string | null;
|
|
12244
|
+
external_ref: string | null;
|
|
12245
|
+
external_response: import("./types").Json | null;
|
|
12246
|
+
external_status: string | null;
|
|
12247
|
+
external_system: string | null;
|
|
12248
|
+
id: string;
|
|
12249
|
+
input: import("./types").Json | null;
|
|
12250
|
+
next_attempt_at: string | null;
|
|
12251
|
+
next_step: string | null;
|
|
12252
|
+
node_id: string | null;
|
|
12253
|
+
order_ref: string | null;
|
|
12254
|
+
order_source: string | null;
|
|
12255
|
+
output: import("./types").Json | null;
|
|
12256
|
+
phase: string;
|
|
12257
|
+
reads: import("./types").Json | null;
|
|
12258
|
+
reason: string | null;
|
|
12259
|
+
rule: string | null;
|
|
12260
|
+
slip_ref: string | null;
|
|
12261
|
+
status: string;
|
|
12262
|
+
step: string;
|
|
12263
|
+
superseded_at: string;
|
|
12264
|
+
superseded_reason: string | null;
|
|
12265
|
+
trace_id: string;
|
|
12266
|
+
values_used: import("./types").Json | null;
|
|
12267
|
+
};
|
|
12268
|
+
Insert: {
|
|
12269
|
+
actor?: string | null;
|
|
12270
|
+
attempts?: number;
|
|
12271
|
+
calc?: import("./types").Json | null;
|
|
12272
|
+
cart_ref?: string | null;
|
|
12273
|
+
created_at?: string;
|
|
12274
|
+
db_action?: string | null;
|
|
12275
|
+
db_new?: import("./types").Json | null;
|
|
12276
|
+
db_old?: import("./types").Json | null;
|
|
12277
|
+
db_record?: string | null;
|
|
12278
|
+
db_table?: string | null;
|
|
12279
|
+
decision?: string | null;
|
|
12280
|
+
duration_ms?: number | null;
|
|
12281
|
+
error?: string | null;
|
|
12282
|
+
error_class?: string | null;
|
|
12283
|
+
external_action?: string | null;
|
|
12284
|
+
external_ref?: string | null;
|
|
12285
|
+
external_response?: import("./types").Json | null;
|
|
12286
|
+
external_status?: string | null;
|
|
12287
|
+
external_system?: string | null;
|
|
12288
|
+
id?: string;
|
|
12289
|
+
input?: import("./types").Json | null;
|
|
12290
|
+
next_attempt_at?: string | null;
|
|
12291
|
+
next_step?: string | null;
|
|
12292
|
+
node_id?: string | null;
|
|
12293
|
+
order_ref?: string | null;
|
|
12294
|
+
order_source?: string | null;
|
|
12295
|
+
output?: import("./types").Json | null;
|
|
12296
|
+
phase: string;
|
|
12297
|
+
reads?: import("./types").Json | null;
|
|
12298
|
+
reason?: string | null;
|
|
12299
|
+
rule?: string | null;
|
|
12300
|
+
slip_ref?: string | null;
|
|
12301
|
+
status: string;
|
|
12302
|
+
step: string;
|
|
12303
|
+
superseded_at?: string;
|
|
12304
|
+
superseded_reason?: string | null;
|
|
12305
|
+
trace_id?: string;
|
|
12306
|
+
values_used?: import("./types").Json | null;
|
|
12307
|
+
};
|
|
12308
|
+
Update: {
|
|
12309
|
+
actor?: string | null;
|
|
12310
|
+
attempts?: number;
|
|
12311
|
+
calc?: import("./types").Json | null;
|
|
12312
|
+
cart_ref?: string | null;
|
|
12313
|
+
created_at?: string;
|
|
12314
|
+
db_action?: string | null;
|
|
12315
|
+
db_new?: import("./types").Json | null;
|
|
12316
|
+
db_old?: import("./types").Json | null;
|
|
12317
|
+
db_record?: string | null;
|
|
12318
|
+
db_table?: string | null;
|
|
12319
|
+
decision?: string | null;
|
|
12320
|
+
duration_ms?: number | null;
|
|
12321
|
+
error?: string | null;
|
|
12322
|
+
error_class?: string | null;
|
|
12323
|
+
external_action?: string | null;
|
|
12324
|
+
external_ref?: string | null;
|
|
12325
|
+
external_response?: import("./types").Json | null;
|
|
12326
|
+
external_status?: string | null;
|
|
12327
|
+
external_system?: string | null;
|
|
12328
|
+
id?: string;
|
|
12329
|
+
input?: import("./types").Json | null;
|
|
12330
|
+
next_attempt_at?: string | null;
|
|
12331
|
+
next_step?: string | null;
|
|
12332
|
+
node_id?: string | null;
|
|
12333
|
+
order_ref?: string | null;
|
|
12334
|
+
order_source?: string | null;
|
|
12335
|
+
output?: import("./types").Json | null;
|
|
12336
|
+
phase?: string;
|
|
12337
|
+
reads?: import("./types").Json | null;
|
|
12338
|
+
reason?: string | null;
|
|
12339
|
+
rule?: string | null;
|
|
12340
|
+
slip_ref?: string | null;
|
|
12341
|
+
status?: string;
|
|
12342
|
+
step?: string;
|
|
12343
|
+
superseded_at?: string;
|
|
12344
|
+
superseded_reason?: string | null;
|
|
12345
|
+
trace_id?: string;
|
|
12346
|
+
values_used?: import("./types").Json | null;
|
|
12347
|
+
};
|
|
12348
|
+
Relationships: [];
|
|
12349
|
+
};
|
|
11738
12350
|
logistics_variables: {
|
|
11739
12351
|
Row: {
|
|
11740
12352
|
created_at: string;
|
|
@@ -11882,6 +12494,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11882
12494
|
has_attachments: boolean;
|
|
11883
12495
|
id: string;
|
|
11884
12496
|
message_id: string | null;
|
|
12497
|
+
preview: string | null;
|
|
11885
12498
|
profile_id: string | null;
|
|
11886
12499
|
raw_size: number | null;
|
|
11887
12500
|
received_at: string | null;
|
|
@@ -11905,6 +12518,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11905
12518
|
has_attachments?: boolean;
|
|
11906
12519
|
id?: string;
|
|
11907
12520
|
message_id?: string | null;
|
|
12521
|
+
preview?: string | null;
|
|
11908
12522
|
profile_id?: string | null;
|
|
11909
12523
|
raw_size?: number | null;
|
|
11910
12524
|
received_at?: string | null;
|
|
@@ -11928,6 +12542,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11928
12542
|
has_attachments?: boolean;
|
|
11929
12543
|
id?: string;
|
|
11930
12544
|
message_id?: string | null;
|
|
12545
|
+
preview?: string | null;
|
|
11931
12546
|
profile_id?: string | null;
|
|
11932
12547
|
raw_size?: number | null;
|
|
11933
12548
|
received_at?: string | null;
|
|
@@ -11959,6 +12574,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11959
12574
|
};
|
|
11960
12575
|
mailbox_order_proposals: {
|
|
11961
12576
|
Row: {
|
|
12577
|
+
ai_ok: boolean | null;
|
|
11962
12578
|
ai_validation: import("./types").Json | null;
|
|
11963
12579
|
confidence: number | null;
|
|
11964
12580
|
created_at: string;
|
|
@@ -11976,6 +12592,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11976
12592
|
updated_at: string;
|
|
11977
12593
|
};
|
|
11978
12594
|
Insert: {
|
|
12595
|
+
ai_ok?: boolean | null;
|
|
11979
12596
|
ai_validation?: import("./types").Json | null;
|
|
11980
12597
|
confidence?: number | null;
|
|
11981
12598
|
created_at?: string;
|
|
@@ -11993,6 +12610,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
11993
12610
|
updated_at?: string;
|
|
11994
12611
|
};
|
|
11995
12612
|
Update: {
|
|
12613
|
+
ai_ok?: boolean | null;
|
|
11996
12614
|
ai_validation?: import("./types").Json | null;
|
|
11997
12615
|
confidence?: number | null;
|
|
11998
12616
|
created_at?: string;
|
|
@@ -12812,6 +13430,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
12812
13430
|
};
|
|
12813
13431
|
Relationships: [];
|
|
12814
13432
|
};
|
|
13433
|
+
monteur_contracten: {
|
|
13434
|
+
Row: {
|
|
13435
|
+
contract_type: string;
|
|
13436
|
+
created_at: string;
|
|
13437
|
+
days_per_week: number;
|
|
13438
|
+
hours_per_week: number;
|
|
13439
|
+
id: string;
|
|
13440
|
+
updated_at: string;
|
|
13441
|
+
user_id: string;
|
|
13442
|
+
vacation_day_hours: number;
|
|
13443
|
+
vacation_days_per_year: number;
|
|
13444
|
+
};
|
|
13445
|
+
Insert: {
|
|
13446
|
+
contract_type?: string;
|
|
13447
|
+
created_at?: string;
|
|
13448
|
+
days_per_week?: number;
|
|
13449
|
+
hours_per_week?: number;
|
|
13450
|
+
id?: string;
|
|
13451
|
+
updated_at?: string;
|
|
13452
|
+
user_id: string;
|
|
13453
|
+
vacation_day_hours?: number;
|
|
13454
|
+
vacation_days_per_year?: number;
|
|
13455
|
+
};
|
|
13456
|
+
Update: {
|
|
13457
|
+
contract_type?: string;
|
|
13458
|
+
created_at?: string;
|
|
13459
|
+
days_per_week?: number;
|
|
13460
|
+
hours_per_week?: number;
|
|
13461
|
+
id?: string;
|
|
13462
|
+
updated_at?: string;
|
|
13463
|
+
user_id?: string;
|
|
13464
|
+
vacation_day_hours?: number;
|
|
13465
|
+
vacation_days_per_year?: number;
|
|
13466
|
+
};
|
|
13467
|
+
Relationships: [];
|
|
13468
|
+
};
|
|
12815
13469
|
nmbrs_component_mapping: {
|
|
12816
13470
|
Row: {
|
|
12817
13471
|
created_at: string;
|
|
@@ -13291,6 +13945,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13291
13945
|
id: string;
|
|
13292
13946
|
items: import("./types").Json;
|
|
13293
13947
|
notes: string | null;
|
|
13948
|
+
order_creation_error: string | null;
|
|
13949
|
+
order_creation_failed_at: string | null;
|
|
13950
|
+
order_id: string | null;
|
|
13294
13951
|
order_number: string | null;
|
|
13295
13952
|
recipient_id: string;
|
|
13296
13953
|
total_amount: number;
|
|
@@ -13305,6 +13962,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13305
13962
|
id?: string;
|
|
13306
13963
|
items?: import("./types").Json;
|
|
13307
13964
|
notes?: string | null;
|
|
13965
|
+
order_creation_error?: string | null;
|
|
13966
|
+
order_creation_failed_at?: string | null;
|
|
13967
|
+
order_id?: string | null;
|
|
13308
13968
|
order_number?: string | null;
|
|
13309
13969
|
recipient_id: string;
|
|
13310
13970
|
total_amount?: number;
|
|
@@ -13319,6 +13979,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13319
13979
|
id?: string;
|
|
13320
13980
|
items?: import("./types").Json;
|
|
13321
13981
|
notes?: string | null;
|
|
13982
|
+
order_creation_error?: string | null;
|
|
13983
|
+
order_creation_failed_at?: string | null;
|
|
13984
|
+
order_id?: string | null;
|
|
13322
13985
|
order_number?: string | null;
|
|
13323
13986
|
recipient_id?: string;
|
|
13324
13987
|
total_amount?: number;
|
|
@@ -13335,6 +13998,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13335
13998
|
isOneToOne: false;
|
|
13336
13999
|
referencedRelation: "customers";
|
|
13337
14000
|
referencedColumns: ["id"];
|
|
14001
|
+
}, {
|
|
14002
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14003
|
+
columns: ["order_id"];
|
|
14004
|
+
isOneToOne: false;
|
|
14005
|
+
referencedRelation: "orders";
|
|
14006
|
+
referencedColumns: ["id"];
|
|
13338
14007
|
}, {
|
|
13339
14008
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13340
14009
|
columns: ["recipient_id"];
|
|
@@ -13475,6 +14144,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13475
14144
|
};
|
|
13476
14145
|
Relationships: [];
|
|
13477
14146
|
};
|
|
14147
|
+
order_block_notifications: {
|
|
14148
|
+
Row: {
|
|
14149
|
+
id: string;
|
|
14150
|
+
notified_at: string;
|
|
14151
|
+
order_id: string;
|
|
14152
|
+
reason: string | null;
|
|
14153
|
+
reason_key: string;
|
|
14154
|
+
};
|
|
14155
|
+
Insert: {
|
|
14156
|
+
id?: string;
|
|
14157
|
+
notified_at?: string;
|
|
14158
|
+
order_id: string;
|
|
14159
|
+
reason?: string | null;
|
|
14160
|
+
reason_key: string;
|
|
14161
|
+
};
|
|
14162
|
+
Update: {
|
|
14163
|
+
id?: string;
|
|
14164
|
+
notified_at?: string;
|
|
14165
|
+
order_id?: string;
|
|
14166
|
+
reason?: string | null;
|
|
14167
|
+
reason_key?: string;
|
|
14168
|
+
};
|
|
14169
|
+
Relationships: [];
|
|
14170
|
+
};
|
|
13478
14171
|
order_buffers: {
|
|
13479
14172
|
Row: {
|
|
13480
14173
|
buffer_key: string;
|
|
@@ -13944,10 +14637,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13944
14637
|
id: string;
|
|
13945
14638
|
layers_per_cart: number | null;
|
|
13946
14639
|
order_id: string;
|
|
14640
|
+
packing_locked_at: string | null;
|
|
14641
|
+
packing_locked_by: string | null;
|
|
13947
14642
|
plants_per_crate: number | null;
|
|
13948
14643
|
product_id: string | null;
|
|
13949
14644
|
product_name: string;
|
|
13950
14645
|
quantity: number;
|
|
14646
|
+
source_line_key: string | null;
|
|
13951
14647
|
unit: string;
|
|
13952
14648
|
unit_price: number | null;
|
|
13953
14649
|
};
|
|
@@ -13957,10 +14653,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13957
14653
|
id?: string;
|
|
13958
14654
|
layers_per_cart?: number | null;
|
|
13959
14655
|
order_id: string;
|
|
14656
|
+
packing_locked_at?: string | null;
|
|
14657
|
+
packing_locked_by?: string | null;
|
|
13960
14658
|
plants_per_crate?: number | null;
|
|
13961
14659
|
product_id?: string | null;
|
|
13962
14660
|
product_name: string;
|
|
13963
14661
|
quantity?: number;
|
|
14662
|
+
source_line_key?: string | null;
|
|
13964
14663
|
unit?: string;
|
|
13965
14664
|
unit_price?: number | null;
|
|
13966
14665
|
};
|
|
@@ -13970,10 +14669,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
13970
14669
|
id?: string;
|
|
13971
14670
|
layers_per_cart?: number | null;
|
|
13972
14671
|
order_id?: string;
|
|
14672
|
+
packing_locked_at?: string | null;
|
|
14673
|
+
packing_locked_by?: string | null;
|
|
13973
14674
|
plants_per_crate?: number | null;
|
|
13974
14675
|
product_id?: string | null;
|
|
13975
14676
|
product_name?: string;
|
|
13976
14677
|
quantity?: number;
|
|
14678
|
+
source_line_key?: string | null;
|
|
13977
14679
|
unit?: string;
|
|
13978
14680
|
unit_price?: number | null;
|
|
13979
14681
|
};
|
|
@@ -15482,79 +16184,385 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
15482
16184
|
referencedColumns: ["id"];
|
|
15483
16185
|
}];
|
|
15484
16186
|
};
|
|
15485
|
-
|
|
16187
|
+
planning_monteur_day_locations: {
|
|
15486
16188
|
Row: {
|
|
15487
|
-
actief: boolean;
|
|
15488
16189
|
created_at: string;
|
|
15489
|
-
|
|
16190
|
+
day: string;
|
|
16191
|
+
end_at: string;
|
|
15490
16192
|
id: string;
|
|
15491
|
-
|
|
15492
|
-
|
|
15493
|
-
naam: string;
|
|
15494
|
-
pairing_code_hash: string | null;
|
|
15495
|
-
pairing_expires_at: string | null;
|
|
15496
|
-
pairing_used_at: string | null;
|
|
15497
|
-
token_hash: string;
|
|
16193
|
+
monteur_id: string;
|
|
16194
|
+
start_from: string;
|
|
15498
16195
|
updated_at: string;
|
|
15499
|
-
versie: string;
|
|
15500
16196
|
};
|
|
15501
16197
|
Insert: {
|
|
15502
|
-
actief?: boolean;
|
|
15503
16198
|
created_at?: string;
|
|
15504
|
-
|
|
16199
|
+
day: string;
|
|
16200
|
+
end_at?: string;
|
|
15505
16201
|
id?: string;
|
|
15506
|
-
|
|
15507
|
-
|
|
15508
|
-
naam: string;
|
|
15509
|
-
pairing_code_hash?: string | null;
|
|
15510
|
-
pairing_expires_at?: string | null;
|
|
15511
|
-
pairing_used_at?: string | null;
|
|
15512
|
-
token_hash: string;
|
|
16202
|
+
monteur_id: string;
|
|
16203
|
+
start_from?: string;
|
|
15513
16204
|
updated_at?: string;
|
|
15514
|
-
versie?: string;
|
|
15515
16205
|
};
|
|
15516
16206
|
Update: {
|
|
15517
|
-
actief?: boolean;
|
|
15518
16207
|
created_at?: string;
|
|
15519
|
-
|
|
16208
|
+
day?: string;
|
|
16209
|
+
end_at?: string;
|
|
15520
16210
|
id?: string;
|
|
15521
|
-
|
|
15522
|
-
|
|
15523
|
-
naam?: string;
|
|
15524
|
-
pairing_code_hash?: string | null;
|
|
15525
|
-
pairing_expires_at?: string | null;
|
|
15526
|
-
pairing_used_at?: string | null;
|
|
15527
|
-
token_hash?: string;
|
|
16211
|
+
monteur_id?: string;
|
|
16212
|
+
start_from?: string;
|
|
15528
16213
|
updated_at?: string;
|
|
15529
|
-
versie?: string;
|
|
15530
16214
|
};
|
|
15531
16215
|
Relationships: [];
|
|
15532
16216
|
};
|
|
15533
|
-
|
|
16217
|
+
planning_monteur_locations: {
|
|
15534
16218
|
Row: {
|
|
15535
|
-
bestaande_job_id: string | null;
|
|
15536
16219
|
created_at: string;
|
|
15537
|
-
|
|
15538
|
-
|
|
15539
|
-
|
|
16220
|
+
default_end: string;
|
|
16221
|
+
default_start: string;
|
|
16222
|
+
end_address: string | null;
|
|
16223
|
+
home_address: string | null;
|
|
15540
16224
|
id: string;
|
|
15541
|
-
|
|
15542
|
-
|
|
16225
|
+
monteur_id: string;
|
|
16226
|
+
start_address: string | null;
|
|
16227
|
+
updated_at: string;
|
|
15543
16228
|
};
|
|
15544
16229
|
Insert: {
|
|
15545
|
-
bestaande_job_id?: string | null;
|
|
15546
16230
|
created_at?: string;
|
|
15547
|
-
|
|
15548
|
-
|
|
15549
|
-
|
|
16231
|
+
default_end?: string;
|
|
16232
|
+
default_start?: string;
|
|
16233
|
+
end_address?: string | null;
|
|
16234
|
+
home_address?: string | null;
|
|
15550
16235
|
id?: string;
|
|
15551
|
-
|
|
15552
|
-
|
|
16236
|
+
monteur_id: string;
|
|
16237
|
+
start_address?: string | null;
|
|
16238
|
+
updated_at?: string;
|
|
15553
16239
|
};
|
|
15554
16240
|
Update: {
|
|
15555
|
-
bestaande_job_id?: string | null;
|
|
15556
16241
|
created_at?: string;
|
|
15557
|
-
|
|
16242
|
+
default_end?: string;
|
|
16243
|
+
default_start?: string;
|
|
16244
|
+
end_address?: string | null;
|
|
16245
|
+
home_address?: string | null;
|
|
16246
|
+
id?: string;
|
|
16247
|
+
monteur_id?: string;
|
|
16248
|
+
start_address?: string | null;
|
|
16249
|
+
updated_at?: string;
|
|
16250
|
+
};
|
|
16251
|
+
Relationships: [];
|
|
16252
|
+
};
|
|
16253
|
+
planning_settings: {
|
|
16254
|
+
Row: {
|
|
16255
|
+
company_address: string | null;
|
|
16256
|
+
created_at: string;
|
|
16257
|
+
id: string;
|
|
16258
|
+
singleton: boolean;
|
|
16259
|
+
updated_at: string;
|
|
16260
|
+
};
|
|
16261
|
+
Insert: {
|
|
16262
|
+
company_address?: string | null;
|
|
16263
|
+
created_at?: string;
|
|
16264
|
+
id?: string;
|
|
16265
|
+
singleton?: boolean;
|
|
16266
|
+
updated_at?: string;
|
|
16267
|
+
};
|
|
16268
|
+
Update: {
|
|
16269
|
+
company_address?: string | null;
|
|
16270
|
+
created_at?: string;
|
|
16271
|
+
id?: string;
|
|
16272
|
+
singleton?: boolean;
|
|
16273
|
+
updated_at?: string;
|
|
16274
|
+
};
|
|
16275
|
+
Relationships: [];
|
|
16276
|
+
};
|
|
16277
|
+
planning_travel_legs: {
|
|
16278
|
+
Row: {
|
|
16279
|
+
after_min: number;
|
|
16280
|
+
after_reason: string | null;
|
|
16281
|
+
after_status: string;
|
|
16282
|
+
after_to_address: string | null;
|
|
16283
|
+
before_from_address: string | null;
|
|
16284
|
+
before_min: number;
|
|
16285
|
+
before_reason: string | null;
|
|
16286
|
+
before_status: string;
|
|
16287
|
+
computed_at: string;
|
|
16288
|
+
computed_end_at: string | null;
|
|
16289
|
+
computed_start_at: string | null;
|
|
16290
|
+
created_at: string;
|
|
16291
|
+
id: string;
|
|
16292
|
+
monteur_id: string;
|
|
16293
|
+
planning_item_id: string;
|
|
16294
|
+
shared_after_item_id: string | null;
|
|
16295
|
+
shared_before_item_id: string | null;
|
|
16296
|
+
updated_at: string;
|
|
16297
|
+
};
|
|
16298
|
+
Insert: {
|
|
16299
|
+
after_min?: number;
|
|
16300
|
+
after_reason?: string | null;
|
|
16301
|
+
after_status?: string;
|
|
16302
|
+
after_to_address?: string | null;
|
|
16303
|
+
before_from_address?: string | null;
|
|
16304
|
+
before_min?: number;
|
|
16305
|
+
before_reason?: string | null;
|
|
16306
|
+
before_status?: string;
|
|
16307
|
+
computed_at?: string;
|
|
16308
|
+
computed_end_at?: string | null;
|
|
16309
|
+
computed_start_at?: string | null;
|
|
16310
|
+
created_at?: string;
|
|
16311
|
+
id?: string;
|
|
16312
|
+
monteur_id: string;
|
|
16313
|
+
planning_item_id: string;
|
|
16314
|
+
shared_after_item_id?: string | null;
|
|
16315
|
+
shared_before_item_id?: string | null;
|
|
16316
|
+
updated_at?: string;
|
|
16317
|
+
};
|
|
16318
|
+
Update: {
|
|
16319
|
+
after_min?: number;
|
|
16320
|
+
after_reason?: string | null;
|
|
16321
|
+
after_status?: string;
|
|
16322
|
+
after_to_address?: string | null;
|
|
16323
|
+
before_from_address?: string | null;
|
|
16324
|
+
before_min?: number;
|
|
16325
|
+
before_reason?: string | null;
|
|
16326
|
+
before_status?: string;
|
|
16327
|
+
computed_at?: string;
|
|
16328
|
+
computed_end_at?: string | null;
|
|
16329
|
+
computed_start_at?: string | null;
|
|
16330
|
+
created_at?: string;
|
|
16331
|
+
id?: string;
|
|
16332
|
+
monteur_id?: string;
|
|
16333
|
+
planning_item_id?: string;
|
|
16334
|
+
shared_after_item_id?: string | null;
|
|
16335
|
+
shared_before_item_id?: string | null;
|
|
16336
|
+
updated_at?: string;
|
|
16337
|
+
};
|
|
16338
|
+
Relationships: [{
|
|
16339
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16340
|
+
columns: ["planning_item_id"];
|
|
16341
|
+
isOneToOne: false;
|
|
16342
|
+
referencedRelation: "planning_items";
|
|
16343
|
+
referencedColumns: ["id"];
|
|
16344
|
+
}, {
|
|
16345
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16346
|
+
columns: ["planning_item_id"];
|
|
16347
|
+
isOneToOne: false;
|
|
16348
|
+
referencedRelation: "planning_overview";
|
|
16349
|
+
referencedColumns: ["id"];
|
|
16350
|
+
}, {
|
|
16351
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16352
|
+
columns: ["shared_after_item_id"];
|
|
16353
|
+
isOneToOne: false;
|
|
16354
|
+
referencedRelation: "planning_items";
|
|
16355
|
+
referencedColumns: ["id"];
|
|
16356
|
+
}, {
|
|
16357
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16358
|
+
columns: ["shared_after_item_id"];
|
|
16359
|
+
isOneToOne: false;
|
|
16360
|
+
referencedRelation: "planning_overview";
|
|
16361
|
+
referencedColumns: ["id"];
|
|
16362
|
+
}, {
|
|
16363
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16364
|
+
columns: ["shared_before_item_id"];
|
|
16365
|
+
isOneToOne: false;
|
|
16366
|
+
referencedRelation: "planning_items";
|
|
16367
|
+
referencedColumns: ["id"];
|
|
16368
|
+
}, {
|
|
16369
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16370
|
+
columns: ["shared_before_item_id"];
|
|
16371
|
+
isOneToOne: false;
|
|
16372
|
+
referencedRelation: "planning_overview";
|
|
16373
|
+
referencedColumns: ["id"];
|
|
16374
|
+
}];
|
|
16375
|
+
};
|
|
16376
|
+
price_list_rows: {
|
|
16377
|
+
Row: {
|
|
16378
|
+
action: string;
|
|
16379
|
+
created_at: string;
|
|
16380
|
+
id: string;
|
|
16381
|
+
message: string | null;
|
|
16382
|
+
parsed: import("./types").Json;
|
|
16383
|
+
price_list_id: string;
|
|
16384
|
+
raw: import("./types").Json;
|
|
16385
|
+
row_number: number;
|
|
16386
|
+
supplier_product_id: string | null;
|
|
16387
|
+
};
|
|
16388
|
+
Insert: {
|
|
16389
|
+
action?: string;
|
|
16390
|
+
created_at?: string;
|
|
16391
|
+
id?: string;
|
|
16392
|
+
message?: string | null;
|
|
16393
|
+
parsed?: import("./types").Json;
|
|
16394
|
+
price_list_id: string;
|
|
16395
|
+
raw?: import("./types").Json;
|
|
16396
|
+
row_number: number;
|
|
16397
|
+
supplier_product_id?: string | null;
|
|
16398
|
+
};
|
|
16399
|
+
Update: {
|
|
16400
|
+
action?: string;
|
|
16401
|
+
created_at?: string;
|
|
16402
|
+
id?: string;
|
|
16403
|
+
message?: string | null;
|
|
16404
|
+
parsed?: import("./types").Json;
|
|
16405
|
+
price_list_id?: string;
|
|
16406
|
+
raw?: import("./types").Json;
|
|
16407
|
+
row_number?: number;
|
|
16408
|
+
supplier_product_id?: string | null;
|
|
16409
|
+
};
|
|
16410
|
+
Relationships: [{
|
|
16411
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
16412
|
+
columns: ["price_list_id"];
|
|
16413
|
+
isOneToOne: false;
|
|
16414
|
+
referencedRelation: "price_lists";
|
|
16415
|
+
referencedColumns: ["id"];
|
|
16416
|
+
}, {
|
|
16417
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
16418
|
+
columns: ["supplier_product_id"];
|
|
16419
|
+
isOneToOne: false;
|
|
16420
|
+
referencedRelation: "supplier_products";
|
|
16421
|
+
referencedColumns: ["id"];
|
|
16422
|
+
}];
|
|
16423
|
+
};
|
|
16424
|
+
price_lists: {
|
|
16425
|
+
Row: {
|
|
16426
|
+
created_at: string;
|
|
16427
|
+
created_by: string | null;
|
|
16428
|
+
file_hash: string | null;
|
|
16429
|
+
file_name: string;
|
|
16430
|
+
file_path: string | null;
|
|
16431
|
+
headers: string[];
|
|
16432
|
+
id: string;
|
|
16433
|
+
preview: import("./types").Json;
|
|
16434
|
+
processed_at: string | null;
|
|
16435
|
+
reason: string | null;
|
|
16436
|
+
row_count: number;
|
|
16437
|
+
sheet_name: string | null;
|
|
16438
|
+
source: string;
|
|
16439
|
+
stats: import("./types").Json;
|
|
16440
|
+
status: string;
|
|
16441
|
+
supplier_guess: string | null;
|
|
16442
|
+
supplier_id: string | null;
|
|
16443
|
+
updated_at: string;
|
|
16444
|
+
};
|
|
16445
|
+
Insert: {
|
|
16446
|
+
created_at?: string;
|
|
16447
|
+
created_by?: string | null;
|
|
16448
|
+
file_hash?: string | null;
|
|
16449
|
+
file_name: string;
|
|
16450
|
+
file_path?: string | null;
|
|
16451
|
+
headers?: string[];
|
|
16452
|
+
id?: string;
|
|
16453
|
+
preview?: import("./types").Json;
|
|
16454
|
+
processed_at?: string | null;
|
|
16455
|
+
reason?: string | null;
|
|
16456
|
+
row_count?: number;
|
|
16457
|
+
sheet_name?: string | null;
|
|
16458
|
+
source?: string;
|
|
16459
|
+
stats?: import("./types").Json;
|
|
16460
|
+
status?: string;
|
|
16461
|
+
supplier_guess?: string | null;
|
|
16462
|
+
supplier_id?: string | null;
|
|
16463
|
+
updated_at?: string;
|
|
16464
|
+
};
|
|
16465
|
+
Update: {
|
|
16466
|
+
created_at?: string;
|
|
16467
|
+
created_by?: string | null;
|
|
16468
|
+
file_hash?: string | null;
|
|
16469
|
+
file_name?: string;
|
|
16470
|
+
file_path?: string | null;
|
|
16471
|
+
headers?: string[];
|
|
16472
|
+
id?: string;
|
|
16473
|
+
preview?: import("./types").Json;
|
|
16474
|
+
processed_at?: string | null;
|
|
16475
|
+
reason?: string | null;
|
|
16476
|
+
row_count?: number;
|
|
16477
|
+
sheet_name?: string | null;
|
|
16478
|
+
source?: string;
|
|
16479
|
+
stats?: import("./types").Json;
|
|
16480
|
+
status?: string;
|
|
16481
|
+
supplier_guess?: string | null;
|
|
16482
|
+
supplier_id?: string | null;
|
|
16483
|
+
updated_at?: string;
|
|
16484
|
+
};
|
|
16485
|
+
Relationships: [{
|
|
16486
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
16487
|
+
columns: ["supplier_id"];
|
|
16488
|
+
isOneToOne: false;
|
|
16489
|
+
referencedRelation: "suppliers";
|
|
16490
|
+
referencedColumns: ["id"];
|
|
16491
|
+
}];
|
|
16492
|
+
};
|
|
16493
|
+
print_agents: {
|
|
16494
|
+
Row: {
|
|
16495
|
+
actief: boolean;
|
|
16496
|
+
created_at: string;
|
|
16497
|
+
gemelde_printers: import("./types").Json;
|
|
16498
|
+
id: string;
|
|
16499
|
+
laatst_gezien: string | null;
|
|
16500
|
+
locatie: string;
|
|
16501
|
+
naam: string;
|
|
16502
|
+
pairing_code_hash: string | null;
|
|
16503
|
+
pairing_expires_at: string | null;
|
|
16504
|
+
pairing_used_at: string | null;
|
|
16505
|
+
token_hash: string;
|
|
16506
|
+
updated_at: string;
|
|
16507
|
+
versie: string;
|
|
16508
|
+
};
|
|
16509
|
+
Insert: {
|
|
16510
|
+
actief?: boolean;
|
|
16511
|
+
created_at?: string;
|
|
16512
|
+
gemelde_printers?: import("./types").Json;
|
|
16513
|
+
id?: string;
|
|
16514
|
+
laatst_gezien?: string | null;
|
|
16515
|
+
locatie?: string;
|
|
16516
|
+
naam: string;
|
|
16517
|
+
pairing_code_hash?: string | null;
|
|
16518
|
+
pairing_expires_at?: string | null;
|
|
16519
|
+
pairing_used_at?: string | null;
|
|
16520
|
+
token_hash: string;
|
|
16521
|
+
updated_at?: string;
|
|
16522
|
+
versie?: string;
|
|
16523
|
+
};
|
|
16524
|
+
Update: {
|
|
16525
|
+
actief?: boolean;
|
|
16526
|
+
created_at?: string;
|
|
16527
|
+
gemelde_printers?: import("./types").Json;
|
|
16528
|
+
id?: string;
|
|
16529
|
+
laatst_gezien?: string | null;
|
|
16530
|
+
locatie?: string;
|
|
16531
|
+
naam?: string;
|
|
16532
|
+
pairing_code_hash?: string | null;
|
|
16533
|
+
pairing_expires_at?: string | null;
|
|
16534
|
+
pairing_used_at?: string | null;
|
|
16535
|
+
token_hash?: string;
|
|
16536
|
+
updated_at?: string;
|
|
16537
|
+
versie?: string;
|
|
16538
|
+
};
|
|
16539
|
+
Relationships: [];
|
|
16540
|
+
};
|
|
16541
|
+
print_dedupe_events: {
|
|
16542
|
+
Row: {
|
|
16543
|
+
bestaande_job_id: string | null;
|
|
16544
|
+
created_at: string;
|
|
16545
|
+
detail: string | null;
|
|
16546
|
+
documentnaam: string | null;
|
|
16547
|
+
documenttype: string | null;
|
|
16548
|
+
id: string;
|
|
16549
|
+
idempotentie_sleutel: string;
|
|
16550
|
+
reden: string;
|
|
16551
|
+
};
|
|
16552
|
+
Insert: {
|
|
16553
|
+
bestaande_job_id?: string | null;
|
|
16554
|
+
created_at?: string;
|
|
16555
|
+
detail?: string | null;
|
|
16556
|
+
documentnaam?: string | null;
|
|
16557
|
+
documenttype?: string | null;
|
|
16558
|
+
id?: string;
|
|
16559
|
+
idempotentie_sleutel: string;
|
|
16560
|
+
reden: string;
|
|
16561
|
+
};
|
|
16562
|
+
Update: {
|
|
16563
|
+
bestaande_job_id?: string | null;
|
|
16564
|
+
created_at?: string;
|
|
16565
|
+
detail?: string | null;
|
|
15558
16566
|
documentnaam?: string | null;
|
|
15559
16567
|
documenttype?: string | null;
|
|
15560
16568
|
id?: string;
|
|
@@ -16537,6 +17545,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16537
17545
|
};
|
|
16538
17546
|
product_load_settings: {
|
|
16539
17547
|
Row: {
|
|
17548
|
+
build: import("./types").Json | null;
|
|
17549
|
+
build_status: string;
|
|
16540
17550
|
created_at: string;
|
|
16541
17551
|
id: string;
|
|
16542
17552
|
is_package: boolean;
|
|
@@ -16554,6 +17564,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16554
17564
|
updated_at: string;
|
|
16555
17565
|
};
|
|
16556
17566
|
Insert: {
|
|
17567
|
+
build?: import("./types").Json | null;
|
|
17568
|
+
build_status?: string;
|
|
16557
17569
|
created_at?: string;
|
|
16558
17570
|
id?: string;
|
|
16559
17571
|
is_package?: boolean;
|
|
@@ -16571,6 +17583,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16571
17583
|
updated_at?: string;
|
|
16572
17584
|
};
|
|
16573
17585
|
Update: {
|
|
17586
|
+
build?: import("./types").Json | null;
|
|
17587
|
+
build_status?: string;
|
|
16574
17588
|
created_at?: string;
|
|
16575
17589
|
id?: string;
|
|
16576
17590
|
is_package?: boolean;
|
|
@@ -16640,42 +17654,88 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16640
17654
|
};
|
|
16641
17655
|
Relationships: [];
|
|
16642
17656
|
};
|
|
16643
|
-
|
|
17657
|
+
product_tray_stickers: {
|
|
16644
17658
|
Row: {
|
|
16645
|
-
|
|
16646
|
-
|
|
16647
|
-
|
|
16648
|
-
|
|
17659
|
+
bestand_url: string;
|
|
17660
|
+
bestandsgrootte: number | null;
|
|
17661
|
+
bestandsnaam: string | null;
|
|
17662
|
+
bestandspad: string | null;
|
|
16649
17663
|
created_at: string;
|
|
16650
|
-
|
|
16651
|
-
floriday_trade_item_id: string | null;
|
|
16652
|
-
fust_type_id: string | null;
|
|
16653
|
-
id: string;
|
|
16654
|
-
image_url: string | null;
|
|
16655
|
-
incoming_quantity: number;
|
|
16656
|
-
is_layer: boolean;
|
|
16657
|
-
layers_per_cart: number;
|
|
16658
|
-
location: string;
|
|
16659
|
-
min_quantity: number;
|
|
16660
|
-
plant_height_cm: number | null;
|
|
16661
|
-
plants_per_crate: number;
|
|
16662
|
-
product: string;
|
|
16663
|
-
product_type: string;
|
|
16664
|
-
purchase_price: number | null;
|
|
16665
|
-
quantity: number;
|
|
16666
|
-
sale_price: number | null;
|
|
16667
|
-
trade_item_key: string | null;
|
|
16668
|
-
unit: string;
|
|
17664
|
+
product_id: string;
|
|
16669
17665
|
updated_at: string;
|
|
16670
|
-
weight: string | null;
|
|
16671
17666
|
};
|
|
16672
17667
|
Insert: {
|
|
16673
|
-
|
|
16674
|
-
|
|
17668
|
+
bestand_url: string;
|
|
17669
|
+
bestandsgrootte?: number | null;
|
|
17670
|
+
bestandsnaam?: string | null;
|
|
17671
|
+
bestandspad?: string | null;
|
|
17672
|
+
created_at?: string;
|
|
17673
|
+
product_id: string;
|
|
17674
|
+
updated_at?: string;
|
|
17675
|
+
};
|
|
17676
|
+
Update: {
|
|
17677
|
+
bestand_url?: string;
|
|
17678
|
+
bestandsgrootte?: number | null;
|
|
17679
|
+
bestandsnaam?: string | null;
|
|
17680
|
+
bestandspad?: string | null;
|
|
17681
|
+
created_at?: string;
|
|
17682
|
+
product_id?: string;
|
|
17683
|
+
updated_at?: string;
|
|
17684
|
+
};
|
|
17685
|
+
Relationships: [{
|
|
17686
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17687
|
+
columns: ["product_id"];
|
|
17688
|
+
isOneToOne: true;
|
|
17689
|
+
referencedRelation: "logistics_product_dimensions";
|
|
17690
|
+
referencedColumns: ["product_id"];
|
|
17691
|
+
}, {
|
|
17692
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
17693
|
+
columns: ["product_id"];
|
|
17694
|
+
isOneToOne: true;
|
|
17695
|
+
referencedRelation: "products";
|
|
17696
|
+
referencedColumns: ["id"];
|
|
17697
|
+
}];
|
|
17698
|
+
};
|
|
17699
|
+
products: {
|
|
17700
|
+
Row: {
|
|
17701
|
+
article_number: string | null;
|
|
17702
|
+
barcode: string | null;
|
|
17703
|
+
batch: string;
|
|
17704
|
+
crates_per_layer: number;
|
|
17705
|
+
created_at: string;
|
|
17706
|
+
custom_fields: import("./types").Json;
|
|
17707
|
+
floriday_packing_confirmed_at: string | null;
|
|
17708
|
+
floriday_packing_source: string | null;
|
|
17709
|
+
floriday_trade_item_id: string | null;
|
|
17710
|
+
fust_type_id: string | null;
|
|
17711
|
+
id: string;
|
|
17712
|
+
image_url: string | null;
|
|
17713
|
+
incoming_quantity: number;
|
|
17714
|
+
is_layer: boolean;
|
|
17715
|
+
layers_per_cart: number;
|
|
17716
|
+
location: string;
|
|
17717
|
+
min_quantity: number;
|
|
17718
|
+
plant_height_cm: number | null;
|
|
17719
|
+
plants_per_crate: number;
|
|
17720
|
+
product: string;
|
|
17721
|
+
product_type: string;
|
|
17722
|
+
purchase_price: number | null;
|
|
17723
|
+
quantity: number;
|
|
17724
|
+
sale_price: number | null;
|
|
17725
|
+
trade_item_key: string | null;
|
|
17726
|
+
unit: string;
|
|
17727
|
+
updated_at: string;
|
|
17728
|
+
weight: string | null;
|
|
17729
|
+
};
|
|
17730
|
+
Insert: {
|
|
17731
|
+
article_number?: string | null;
|
|
17732
|
+
barcode?: string | null;
|
|
16675
17733
|
batch: string;
|
|
16676
17734
|
crates_per_layer?: number;
|
|
16677
17735
|
created_at?: string;
|
|
16678
17736
|
custom_fields?: import("./types").Json;
|
|
17737
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17738
|
+
floriday_packing_source?: string | null;
|
|
16679
17739
|
floriday_trade_item_id?: string | null;
|
|
16680
17740
|
fust_type_id?: string | null;
|
|
16681
17741
|
id?: string;
|
|
@@ -16704,6 +17764,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16704
17764
|
crates_per_layer?: number;
|
|
16705
17765
|
created_at?: string;
|
|
16706
17766
|
custom_fields?: import("./types").Json;
|
|
17767
|
+
floriday_packing_confirmed_at?: string | null;
|
|
17768
|
+
floriday_packing_source?: string | null;
|
|
16707
17769
|
floriday_trade_item_id?: string | null;
|
|
16708
17770
|
fust_type_id?: string | null;
|
|
16709
17771
|
id?: string;
|
|
@@ -16803,6 +17865,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16803
17865
|
id: string;
|
|
16804
17866
|
is_superadmin: boolean;
|
|
16805
17867
|
notification_preferences: import("./types").Json;
|
|
17868
|
+
phone: string | null;
|
|
16806
17869
|
tenant_id: string | null;
|
|
16807
17870
|
updated_at: string;
|
|
16808
17871
|
};
|
|
@@ -16815,6 +17878,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16815
17878
|
id: string;
|
|
16816
17879
|
is_superadmin?: boolean;
|
|
16817
17880
|
notification_preferences?: import("./types").Json;
|
|
17881
|
+
phone?: string | null;
|
|
16818
17882
|
tenant_id?: string | null;
|
|
16819
17883
|
updated_at?: string;
|
|
16820
17884
|
};
|
|
@@ -16827,6 +17891,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
16827
17891
|
id?: string;
|
|
16828
17892
|
is_superadmin?: boolean;
|
|
16829
17893
|
notification_preferences?: import("./types").Json;
|
|
17894
|
+
phone?: string | null;
|
|
16830
17895
|
tenant_id?: string | null;
|
|
16831
17896
|
updated_at?: string;
|
|
16832
17897
|
};
|
|
@@ -17039,30 +18104,108 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17039
18104
|
referencedColumns: ["id"];
|
|
17040
18105
|
}];
|
|
17041
18106
|
};
|
|
18107
|
+
purchase_order_dispatches: {
|
|
18108
|
+
Row: {
|
|
18109
|
+
created_at: string;
|
|
18110
|
+
id: string;
|
|
18111
|
+
last_error: string | null;
|
|
18112
|
+
outbox_id: string | null;
|
|
18113
|
+
purchase_order_id: string;
|
|
18114
|
+
status: string;
|
|
18115
|
+
supplier_id: string | null;
|
|
18116
|
+
supplier_name: string;
|
|
18117
|
+
to_address: string;
|
|
18118
|
+
updated_at: string;
|
|
18119
|
+
};
|
|
18120
|
+
Insert: {
|
|
18121
|
+
created_at?: string;
|
|
18122
|
+
id?: string;
|
|
18123
|
+
last_error?: string | null;
|
|
18124
|
+
outbox_id?: string | null;
|
|
18125
|
+
purchase_order_id: string;
|
|
18126
|
+
status?: string;
|
|
18127
|
+
supplier_id?: string | null;
|
|
18128
|
+
supplier_name?: string;
|
|
18129
|
+
to_address: string;
|
|
18130
|
+
updated_at?: string;
|
|
18131
|
+
};
|
|
18132
|
+
Update: {
|
|
18133
|
+
created_at?: string;
|
|
18134
|
+
id?: string;
|
|
18135
|
+
last_error?: string | null;
|
|
18136
|
+
outbox_id?: string | null;
|
|
18137
|
+
purchase_order_id?: string;
|
|
18138
|
+
status?: string;
|
|
18139
|
+
supplier_id?: string | null;
|
|
18140
|
+
supplier_name?: string;
|
|
18141
|
+
to_address?: string;
|
|
18142
|
+
updated_at?: string;
|
|
18143
|
+
};
|
|
18144
|
+
Relationships: [{
|
|
18145
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
18146
|
+
columns: ["purchase_order_id"];
|
|
18147
|
+
isOneToOne: false;
|
|
18148
|
+
referencedRelation: "purchase_orders";
|
|
18149
|
+
referencedColumns: ["id"];
|
|
18150
|
+
}, {
|
|
18151
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
18152
|
+
columns: ["supplier_id"];
|
|
18153
|
+
isOneToOne: false;
|
|
18154
|
+
referencedRelation: "suppliers";
|
|
18155
|
+
referencedColumns: ["id"];
|
|
18156
|
+
}];
|
|
18157
|
+
};
|
|
17042
18158
|
purchase_order_items: {
|
|
17043
18159
|
Row: {
|
|
18160
|
+
article_number: string | null;
|
|
17044
18161
|
created_at: string;
|
|
18162
|
+
delivery_date: string | null;
|
|
17045
18163
|
id: string;
|
|
18164
|
+
name: string;
|
|
18165
|
+
note: string | null;
|
|
18166
|
+
pot_size: string | null;
|
|
17046
18167
|
product_id: string | null;
|
|
17047
18168
|
product_type: string;
|
|
17048
18169
|
purchase_order_id: string;
|
|
17049
18170
|
quantity: number;
|
|
18171
|
+
supplier_id: string | null;
|
|
18172
|
+
supplier_product_id: string | null;
|
|
18173
|
+
unit_price_cents: number;
|
|
18174
|
+
updated_at: string;
|
|
17050
18175
|
};
|
|
17051
18176
|
Insert: {
|
|
18177
|
+
article_number?: string | null;
|
|
17052
18178
|
created_at?: string;
|
|
18179
|
+
delivery_date?: string | null;
|
|
17053
18180
|
id?: string;
|
|
18181
|
+
name?: string;
|
|
18182
|
+
note?: string | null;
|
|
18183
|
+
pot_size?: string | null;
|
|
17054
18184
|
product_id?: string | null;
|
|
17055
18185
|
product_type?: string;
|
|
17056
18186
|
purchase_order_id: string;
|
|
17057
18187
|
quantity?: number;
|
|
18188
|
+
supplier_id?: string | null;
|
|
18189
|
+
supplier_product_id?: string | null;
|
|
18190
|
+
unit_price_cents?: number;
|
|
18191
|
+
updated_at?: string;
|
|
17058
18192
|
};
|
|
17059
18193
|
Update: {
|
|
18194
|
+
article_number?: string | null;
|
|
17060
18195
|
created_at?: string;
|
|
18196
|
+
delivery_date?: string | null;
|
|
17061
18197
|
id?: string;
|
|
18198
|
+
name?: string;
|
|
18199
|
+
note?: string | null;
|
|
18200
|
+
pot_size?: string | null;
|
|
17062
18201
|
product_id?: string | null;
|
|
17063
18202
|
product_type?: string;
|
|
17064
18203
|
purchase_order_id?: string;
|
|
17065
18204
|
quantity?: number;
|
|
18205
|
+
supplier_id?: string | null;
|
|
18206
|
+
supplier_product_id?: string | null;
|
|
18207
|
+
unit_price_cents?: number;
|
|
18208
|
+
updated_at?: string;
|
|
17066
18209
|
};
|
|
17067
18210
|
Relationships: [{
|
|
17068
18211
|
foreignKeyName: "purchase_order_items_product_id_fkey";
|
|
@@ -17082,43 +18225,70 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
17082
18225
|
isOneToOne: false;
|
|
17083
18226
|
referencedRelation: "purchase_orders";
|
|
17084
18227
|
referencedColumns: ["id"];
|
|
18228
|
+
}, {
|
|
18229
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
18230
|
+
columns: ["supplier_id"];
|
|
18231
|
+
isOneToOne: false;
|
|
18232
|
+
referencedRelation: "suppliers";
|
|
18233
|
+
referencedColumns: ["id"];
|
|
18234
|
+
}, {
|
|
18235
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
18236
|
+
columns: ["supplier_product_id"];
|
|
18237
|
+
isOneToOne: false;
|
|
18238
|
+
referencedRelation: "supplier_products";
|
|
18239
|
+
referencedColumns: ["id"];
|
|
17085
18240
|
}];
|
|
17086
18241
|
};
|
|
17087
18242
|
purchase_orders: {
|
|
17088
18243
|
Row: {
|
|
18244
|
+
contact_person: string | null;
|
|
17089
18245
|
created_at: string;
|
|
18246
|
+
created_by: string | null;
|
|
17090
18247
|
expected_delivery_date: string;
|
|
17091
18248
|
id: string;
|
|
17092
18249
|
location_id: string | null;
|
|
17093
18250
|
notes: string | null;
|
|
17094
18251
|
order_number: string;
|
|
18252
|
+
reference: string | null;
|
|
18253
|
+
sent_at: string | null;
|
|
17095
18254
|
status: string;
|
|
17096
18255
|
supplier_id: string | null;
|
|
17097
18256
|
supplier_name: string;
|
|
18257
|
+
total_cents: number;
|
|
17098
18258
|
updated_at: string;
|
|
17099
18259
|
};
|
|
17100
18260
|
Insert: {
|
|
18261
|
+
contact_person?: string | null;
|
|
17101
18262
|
created_at?: string;
|
|
17102
|
-
|
|
18263
|
+
created_by?: string | null;
|
|
18264
|
+
expected_delivery_date?: string;
|
|
17103
18265
|
id?: string;
|
|
17104
18266
|
location_id?: string | null;
|
|
17105
18267
|
notes?: string | null;
|
|
17106
|
-
order_number
|
|
18268
|
+
order_number?: string;
|
|
18269
|
+
reference?: string | null;
|
|
18270
|
+
sent_at?: string | null;
|
|
17107
18271
|
status?: string;
|
|
17108
18272
|
supplier_id?: string | null;
|
|
17109
18273
|
supplier_name?: string;
|
|
18274
|
+
total_cents?: number;
|
|
17110
18275
|
updated_at?: string;
|
|
17111
18276
|
};
|
|
17112
18277
|
Update: {
|
|
18278
|
+
contact_person?: string | null;
|
|
17113
18279
|
created_at?: string;
|
|
18280
|
+
created_by?: string | null;
|
|
17114
18281
|
expected_delivery_date?: string;
|
|
17115
18282
|
id?: string;
|
|
17116
18283
|
location_id?: string | null;
|
|
17117
18284
|
notes?: string | null;
|
|
17118
18285
|
order_number?: string;
|
|
18286
|
+
reference?: string | null;
|
|
18287
|
+
sent_at?: string | null;
|
|
17119
18288
|
status?: string;
|
|
17120
18289
|
supplier_id?: string | null;
|
|
17121
18290
|
supplier_name?: string;
|
|
18291
|
+
total_cents?: number;
|
|
17122
18292
|
updated_at?: string;
|
|
17123
18293
|
};
|
|
17124
18294
|
Relationships: [{
|
|
@@ -18005,15 +19175,160 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18005
19175
|
};
|
|
18006
19176
|
Relationships: [];
|
|
18007
19177
|
};
|
|
19178
|
+
supplier_contacts: {
|
|
19179
|
+
Row: {
|
|
19180
|
+
created_at: string;
|
|
19181
|
+
email: string | null;
|
|
19182
|
+
id: string;
|
|
19183
|
+
is_primary: boolean;
|
|
19184
|
+
name: string;
|
|
19185
|
+
phone: string | null;
|
|
19186
|
+
role: string | null;
|
|
19187
|
+
supplier_id: string;
|
|
19188
|
+
updated_at: string;
|
|
19189
|
+
};
|
|
19190
|
+
Insert: {
|
|
19191
|
+
created_at?: string;
|
|
19192
|
+
email?: string | null;
|
|
19193
|
+
id?: string;
|
|
19194
|
+
is_primary?: boolean;
|
|
19195
|
+
name: string;
|
|
19196
|
+
phone?: string | null;
|
|
19197
|
+
role?: string | null;
|
|
19198
|
+
supplier_id: string;
|
|
19199
|
+
updated_at?: string;
|
|
19200
|
+
};
|
|
19201
|
+
Update: {
|
|
19202
|
+
created_at?: string;
|
|
19203
|
+
email?: string | null;
|
|
19204
|
+
id?: string;
|
|
19205
|
+
is_primary?: boolean;
|
|
19206
|
+
name?: string;
|
|
19207
|
+
phone?: string | null;
|
|
19208
|
+
role?: string | null;
|
|
19209
|
+
supplier_id?: string;
|
|
19210
|
+
updated_at?: string;
|
|
19211
|
+
};
|
|
19212
|
+
Relationships: [{
|
|
19213
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
19214
|
+
columns: ["supplier_id"];
|
|
19215
|
+
isOneToOne: false;
|
|
19216
|
+
referencedRelation: "suppliers";
|
|
19217
|
+
referencedColumns: ["id"];
|
|
19218
|
+
}];
|
|
19219
|
+
};
|
|
19220
|
+
supplier_price_history: {
|
|
19221
|
+
Row: {
|
|
19222
|
+
created_at: string;
|
|
19223
|
+
id: string;
|
|
19224
|
+
new_price_cents: number;
|
|
19225
|
+
old_price_cents: number | null;
|
|
19226
|
+
price_list_id: string | null;
|
|
19227
|
+
supplier_id: string | null;
|
|
19228
|
+
supplier_product_id: string;
|
|
19229
|
+
};
|
|
19230
|
+
Insert: {
|
|
19231
|
+
created_at?: string;
|
|
19232
|
+
id?: string;
|
|
19233
|
+
new_price_cents: number;
|
|
19234
|
+
old_price_cents?: number | null;
|
|
19235
|
+
price_list_id?: string | null;
|
|
19236
|
+
supplier_id?: string | null;
|
|
19237
|
+
supplier_product_id: string;
|
|
19238
|
+
};
|
|
19239
|
+
Update: {
|
|
19240
|
+
created_at?: string;
|
|
19241
|
+
id?: string;
|
|
19242
|
+
new_price_cents?: number;
|
|
19243
|
+
old_price_cents?: number | null;
|
|
19244
|
+
price_list_id?: string | null;
|
|
19245
|
+
supplier_id?: string | null;
|
|
19246
|
+
supplier_product_id?: string;
|
|
19247
|
+
};
|
|
19248
|
+
Relationships: [{
|
|
19249
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
19250
|
+
columns: ["price_list_id"];
|
|
19251
|
+
isOneToOne: false;
|
|
19252
|
+
referencedRelation: "price_lists";
|
|
19253
|
+
referencedColumns: ["id"];
|
|
19254
|
+
}, {
|
|
19255
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
19256
|
+
columns: ["supplier_product_id"];
|
|
19257
|
+
isOneToOne: false;
|
|
19258
|
+
referencedRelation: "supplier_products";
|
|
19259
|
+
referencedColumns: ["id"];
|
|
19260
|
+
}];
|
|
19261
|
+
};
|
|
19262
|
+
supplier_price_list_mappings: {
|
|
19263
|
+
Row: {
|
|
19264
|
+
column_map: import("./types").Json;
|
|
19265
|
+
created_at: string;
|
|
19266
|
+
deactivate_missing: boolean;
|
|
19267
|
+
decimal_separator: string;
|
|
19268
|
+
expected_headers: string[];
|
|
19269
|
+
extract_pot_from_name: boolean;
|
|
19270
|
+
header_row: number;
|
|
19271
|
+
id: string;
|
|
19272
|
+
max_error_ratio: number;
|
|
19273
|
+
price_is_cents: boolean;
|
|
19274
|
+
sheet_name: string | null;
|
|
19275
|
+
supplier_id: string;
|
|
19276
|
+
updated_at: string;
|
|
19277
|
+
};
|
|
19278
|
+
Insert: {
|
|
19279
|
+
column_map?: import("./types").Json;
|
|
19280
|
+
created_at?: string;
|
|
19281
|
+
deactivate_missing?: boolean;
|
|
19282
|
+
decimal_separator?: string;
|
|
19283
|
+
expected_headers?: string[];
|
|
19284
|
+
extract_pot_from_name?: boolean;
|
|
19285
|
+
header_row?: number;
|
|
19286
|
+
id?: string;
|
|
19287
|
+
max_error_ratio?: number;
|
|
19288
|
+
price_is_cents?: boolean;
|
|
19289
|
+
sheet_name?: string | null;
|
|
19290
|
+
supplier_id: string;
|
|
19291
|
+
updated_at?: string;
|
|
19292
|
+
};
|
|
19293
|
+
Update: {
|
|
19294
|
+
column_map?: import("./types").Json;
|
|
19295
|
+
created_at?: string;
|
|
19296
|
+
deactivate_missing?: boolean;
|
|
19297
|
+
decimal_separator?: string;
|
|
19298
|
+
expected_headers?: string[];
|
|
19299
|
+
extract_pot_from_name?: boolean;
|
|
19300
|
+
header_row?: number;
|
|
19301
|
+
id?: string;
|
|
19302
|
+
max_error_ratio?: number;
|
|
19303
|
+
price_is_cents?: boolean;
|
|
19304
|
+
sheet_name?: string | null;
|
|
19305
|
+
supplier_id?: string;
|
|
19306
|
+
updated_at?: string;
|
|
19307
|
+
};
|
|
19308
|
+
Relationships: [{
|
|
19309
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
19310
|
+
columns: ["supplier_id"];
|
|
19311
|
+
isOneToOne: true;
|
|
19312
|
+
referencedRelation: "suppliers";
|
|
19313
|
+
referencedColumns: ["id"];
|
|
19314
|
+
}];
|
|
19315
|
+
};
|
|
18008
19316
|
supplier_products: {
|
|
18009
19317
|
Row: {
|
|
18010
19318
|
article_number: string | null;
|
|
19319
|
+
available_quantity: number;
|
|
18011
19320
|
created_at: string;
|
|
19321
|
+
height: string | null;
|
|
18012
19322
|
id: string;
|
|
19323
|
+
is_active: boolean;
|
|
19324
|
+
min_order: number;
|
|
18013
19325
|
name: string;
|
|
18014
19326
|
notes: string | null;
|
|
19327
|
+
order_unit: number;
|
|
18015
19328
|
pot_size: string | null;
|
|
18016
19329
|
price: number | null;
|
|
19330
|
+
price_cents: number;
|
|
19331
|
+
quality: string | null;
|
|
18017
19332
|
quantity: number | null;
|
|
18018
19333
|
supplier_id: string;
|
|
18019
19334
|
unit: string;
|
|
@@ -18021,12 +19336,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18021
19336
|
};
|
|
18022
19337
|
Insert: {
|
|
18023
19338
|
article_number?: string | null;
|
|
19339
|
+
available_quantity?: number;
|
|
18024
19340
|
created_at?: string;
|
|
19341
|
+
height?: string | null;
|
|
18025
19342
|
id?: string;
|
|
19343
|
+
is_active?: boolean;
|
|
19344
|
+
min_order?: number;
|
|
18026
19345
|
name: string;
|
|
18027
19346
|
notes?: string | null;
|
|
19347
|
+
order_unit?: number;
|
|
18028
19348
|
pot_size?: string | null;
|
|
18029
19349
|
price?: number | null;
|
|
19350
|
+
price_cents?: number;
|
|
19351
|
+
quality?: string | null;
|
|
18030
19352
|
quantity?: number | null;
|
|
18031
19353
|
supplier_id: string;
|
|
18032
19354
|
unit?: string;
|
|
@@ -18034,12 +19356,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18034
19356
|
};
|
|
18035
19357
|
Update: {
|
|
18036
19358
|
article_number?: string | null;
|
|
19359
|
+
available_quantity?: number;
|
|
18037
19360
|
created_at?: string;
|
|
19361
|
+
height?: string | null;
|
|
18038
19362
|
id?: string;
|
|
19363
|
+
is_active?: boolean;
|
|
19364
|
+
min_order?: number;
|
|
18039
19365
|
name?: string;
|
|
18040
19366
|
notes?: string | null;
|
|
19367
|
+
order_unit?: number;
|
|
18041
19368
|
pot_size?: string | null;
|
|
18042
19369
|
price?: number | null;
|
|
19370
|
+
price_cents?: number;
|
|
19371
|
+
quality?: string | null;
|
|
18043
19372
|
quantity?: number | null;
|
|
18044
19373
|
supplier_id?: string;
|
|
18045
19374
|
unit?: string;
|
|
@@ -18056,6 +19385,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18056
19385
|
suppliers: {
|
|
18057
19386
|
Row: {
|
|
18058
19387
|
address: string | null;
|
|
19388
|
+
category: string | null;
|
|
18059
19389
|
column_mappings: import("./types").Json | null;
|
|
18060
19390
|
contact_person: string | null;
|
|
18061
19391
|
created_at: string;
|
|
@@ -18063,13 +19393,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18063
19393
|
email: string | null;
|
|
18064
19394
|
id: string;
|
|
18065
19395
|
imported_file_name: string | null;
|
|
19396
|
+
is_preferred: boolean;
|
|
19397
|
+
kvk_number: string | null;
|
|
19398
|
+
lead_time_days: number | null;
|
|
19399
|
+
min_order_amount_cents: number;
|
|
18066
19400
|
name: string;
|
|
18067
19401
|
notes: string | null;
|
|
19402
|
+
order_days: string[];
|
|
19403
|
+
order_email: string | null;
|
|
19404
|
+
payment_terms_days: number | null;
|
|
18068
19405
|
phone: string | null;
|
|
19406
|
+
status: string;
|
|
18069
19407
|
updated_at: string;
|
|
19408
|
+
vat_number: string | null;
|
|
19409
|
+
website: string | null;
|
|
18070
19410
|
};
|
|
18071
19411
|
Insert: {
|
|
18072
19412
|
address?: string | null;
|
|
19413
|
+
category?: string | null;
|
|
18073
19414
|
column_mappings?: import("./types").Json | null;
|
|
18074
19415
|
contact_person?: string | null;
|
|
18075
19416
|
created_at?: string;
|
|
@@ -18077,13 +19418,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18077
19418
|
email?: string | null;
|
|
18078
19419
|
id?: string;
|
|
18079
19420
|
imported_file_name?: string | null;
|
|
19421
|
+
is_preferred?: boolean;
|
|
19422
|
+
kvk_number?: string | null;
|
|
19423
|
+
lead_time_days?: number | null;
|
|
19424
|
+
min_order_amount_cents?: number;
|
|
18080
19425
|
name: string;
|
|
18081
19426
|
notes?: string | null;
|
|
19427
|
+
order_days?: string[];
|
|
19428
|
+
order_email?: string | null;
|
|
19429
|
+
payment_terms_days?: number | null;
|
|
18082
19430
|
phone?: string | null;
|
|
19431
|
+
status?: string;
|
|
18083
19432
|
updated_at?: string;
|
|
19433
|
+
vat_number?: string | null;
|
|
19434
|
+
website?: string | null;
|
|
18084
19435
|
};
|
|
18085
19436
|
Update: {
|
|
18086
19437
|
address?: string | null;
|
|
19438
|
+
category?: string | null;
|
|
18087
19439
|
column_mappings?: import("./types").Json | null;
|
|
18088
19440
|
contact_person?: string | null;
|
|
18089
19441
|
created_at?: string;
|
|
@@ -18091,10 +19443,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18091
19443
|
email?: string | null;
|
|
18092
19444
|
id?: string;
|
|
18093
19445
|
imported_file_name?: string | null;
|
|
19446
|
+
is_preferred?: boolean;
|
|
19447
|
+
kvk_number?: string | null;
|
|
19448
|
+
lead_time_days?: number | null;
|
|
19449
|
+
min_order_amount_cents?: number;
|
|
18094
19450
|
name?: string;
|
|
18095
19451
|
notes?: string | null;
|
|
19452
|
+
order_days?: string[];
|
|
19453
|
+
order_email?: string | null;
|
|
19454
|
+
payment_terms_days?: number | null;
|
|
18096
19455
|
phone?: string | null;
|
|
19456
|
+
status?: string;
|
|
18097
19457
|
updated_at?: string;
|
|
19458
|
+
vat_number?: string | null;
|
|
19459
|
+
website?: string | null;
|
|
18098
19460
|
};
|
|
18099
19461
|
Relationships: [];
|
|
18100
19462
|
};
|
|
@@ -18273,40 +19635,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
18273
19635
|
Row: {
|
|
18274
19636
|
approved_at: string | null;
|
|
18275
19637
|
approved_by: string | null;
|
|
19638
|
+
contract_hours: number;
|
|
18276
19639
|
created_at: string;
|
|
18277
19640
|
employee_id: string;
|
|
18278
19641
|
id: string;
|
|
18279
19642
|
locked: boolean;
|
|
19643
|
+
monteur_toelichting: string | null;
|
|
18280
19644
|
notes: string | null;
|
|
19645
|
+
planned_hours: number;
|
|
18281
19646
|
status: string;
|
|
18282
19647
|
submitted_at: string | null;
|
|
18283
19648
|
updated_at: string;
|
|
19649
|
+
variance_hours: number;
|
|
18284
19650
|
week_start: string;
|
|
18285
19651
|
};
|
|
18286
19652
|
Insert: {
|
|
18287
19653
|
approved_at?: string | null;
|
|
18288
19654
|
approved_by?: string | null;
|
|
19655
|
+
contract_hours?: number;
|
|
18289
19656
|
created_at?: string;
|
|
18290
19657
|
employee_id: string;
|
|
18291
19658
|
id?: string;
|
|
18292
19659
|
locked?: boolean;
|
|
19660
|
+
monteur_toelichting?: string | null;
|
|
18293
19661
|
notes?: string | null;
|
|
19662
|
+
planned_hours?: number;
|
|
18294
19663
|
status?: string;
|
|
18295
19664
|
submitted_at?: string | null;
|
|
18296
19665
|
updated_at?: string;
|
|
19666
|
+
variance_hours?: number;
|
|
18297
19667
|
week_start: string;
|
|
18298
19668
|
};
|
|
18299
19669
|
Update: {
|
|
18300
19670
|
approved_at?: string | null;
|
|
18301
19671
|
approved_by?: string | null;
|
|
19672
|
+
contract_hours?: number;
|
|
18302
19673
|
created_at?: string;
|
|
18303
19674
|
employee_id?: string;
|
|
18304
19675
|
id?: string;
|
|
18305
19676
|
locked?: boolean;
|
|
19677
|
+
monteur_toelichting?: string | null;
|
|
18306
19678
|
notes?: string | null;
|
|
19679
|
+
planned_hours?: number;
|
|
18307
19680
|
status?: string;
|
|
18308
19681
|
submitted_at?: string | null;
|
|
18309
19682
|
updated_at?: string;
|
|
19683
|
+
variance_hours?: number;
|
|
18310
19684
|
week_start?: string;
|
|
18311
19685
|
};
|
|
18312
19686
|
Relationships: [{
|
|
@@ -19096,11 +20470,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19096
20470
|
auto_invoice_trigger_statuses: string[];
|
|
19097
20471
|
created_at: string;
|
|
19098
20472
|
debtor_gl_account: string;
|
|
20473
|
+
default_article_code: string | null;
|
|
19099
20474
|
default_credit_invoice_type: string | null;
|
|
19100
20475
|
default_gl_account: string;
|
|
19101
20476
|
default_invoice_type: string;
|
|
19102
20477
|
default_payment_term_days: number;
|
|
19103
20478
|
default_vat_code: string;
|
|
20479
|
+
email_purpose: string | null;
|
|
19104
20480
|
home_country_code: string;
|
|
19105
20481
|
invoice_enabled_ao: boolean;
|
|
19106
20482
|
invoice_enabled_fo: boolean;
|
|
@@ -19122,11 +20498,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19122
20498
|
auto_invoice_trigger_statuses?: string[];
|
|
19123
20499
|
created_at?: string;
|
|
19124
20500
|
debtor_gl_account?: string;
|
|
20501
|
+
default_article_code?: string | null;
|
|
19125
20502
|
default_credit_invoice_type?: string | null;
|
|
19126
20503
|
default_gl_account?: string;
|
|
19127
20504
|
default_invoice_type?: string;
|
|
19128
20505
|
default_payment_term_days?: number;
|
|
19129
20506
|
default_vat_code?: string;
|
|
20507
|
+
email_purpose?: string | null;
|
|
19130
20508
|
home_country_code?: string;
|
|
19131
20509
|
invoice_enabled_ao?: boolean;
|
|
19132
20510
|
invoice_enabled_fo?: boolean;
|
|
@@ -19148,11 +20526,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19148
20526
|
auto_invoice_trigger_statuses?: string[];
|
|
19149
20527
|
created_at?: string;
|
|
19150
20528
|
debtor_gl_account?: string;
|
|
20529
|
+
default_article_code?: string | null;
|
|
19151
20530
|
default_credit_invoice_type?: string | null;
|
|
19152
20531
|
default_gl_account?: string;
|
|
19153
20532
|
default_invoice_type?: string;
|
|
19154
20533
|
default_payment_term_days?: number;
|
|
19155
20534
|
default_vat_code?: string;
|
|
20535
|
+
email_purpose?: string | null;
|
|
19156
20536
|
home_country_code?: string;
|
|
19157
20537
|
invoice_enabled_ao?: boolean;
|
|
19158
20538
|
invoice_enabled_fo?: boolean;
|
|
@@ -19634,6 +21014,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19634
21014
|
referencedColumns: ["id"];
|
|
19635
21015
|
}];
|
|
19636
21016
|
};
|
|
21017
|
+
uren_beschikbare_dagen: {
|
|
21018
|
+
Row: {
|
|
21019
|
+
bron: string;
|
|
21020
|
+
created_at: string;
|
|
21021
|
+
datum: string;
|
|
21022
|
+
eind_tijd: string | null;
|
|
21023
|
+
half_hour_slots: number[];
|
|
21024
|
+
id: string;
|
|
21025
|
+
monteur_id: string;
|
|
21026
|
+
start_tijd: string | null;
|
|
21027
|
+
updated_at: string;
|
|
21028
|
+
uren: number;
|
|
21029
|
+
};
|
|
21030
|
+
Insert: {
|
|
21031
|
+
bron?: string;
|
|
21032
|
+
created_at?: string;
|
|
21033
|
+
datum: string;
|
|
21034
|
+
eind_tijd?: string | null;
|
|
21035
|
+
half_hour_slots?: number[];
|
|
21036
|
+
id?: string;
|
|
21037
|
+
monteur_id: string;
|
|
21038
|
+
start_tijd?: string | null;
|
|
21039
|
+
updated_at?: string;
|
|
21040
|
+
uren?: number;
|
|
21041
|
+
};
|
|
21042
|
+
Update: {
|
|
21043
|
+
bron?: string;
|
|
21044
|
+
created_at?: string;
|
|
21045
|
+
datum?: string;
|
|
21046
|
+
eind_tijd?: string | null;
|
|
21047
|
+
half_hour_slots?: number[];
|
|
21048
|
+
id?: string;
|
|
21049
|
+
monteur_id?: string;
|
|
21050
|
+
start_tijd?: string | null;
|
|
21051
|
+
updated_at?: string;
|
|
21052
|
+
uren?: number;
|
|
21053
|
+
};
|
|
21054
|
+
Relationships: [];
|
|
21055
|
+
};
|
|
19637
21056
|
uren_cao_profiles: {
|
|
19638
21057
|
Row: {
|
|
19639
21058
|
break_minutes: number | null;
|
|
@@ -19772,6 +21191,123 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19772
21191
|
};
|
|
19773
21192
|
Relationships: [];
|
|
19774
21193
|
};
|
|
21194
|
+
uren_maandafsluitingen: {
|
|
21195
|
+
Row: {
|
|
21196
|
+
afgesloten_at: string | null;
|
|
21197
|
+
afgesloten_door: string | null;
|
|
21198
|
+
contract_minuten: number;
|
|
21199
|
+
correctie_reden: string | null;
|
|
21200
|
+
created_at: string;
|
|
21201
|
+
gecorrigeerd_at: string | null;
|
|
21202
|
+
gecorrigeerd_door: string | null;
|
|
21203
|
+
gewerkte_minuten: number;
|
|
21204
|
+
id: string;
|
|
21205
|
+
maand: string;
|
|
21206
|
+
min_minuten: number;
|
|
21207
|
+
monteur_id: string;
|
|
21208
|
+
netto_verschil_minuten: number;
|
|
21209
|
+
normaal_uitbetaald_minuten: number;
|
|
21210
|
+
overuren_minuten: number;
|
|
21211
|
+
plus_minuten: number;
|
|
21212
|
+
status: string;
|
|
21213
|
+
totaal_uitbetaald_minuten: number;
|
|
21214
|
+
updated_at: string;
|
|
21215
|
+
};
|
|
21216
|
+
Insert: {
|
|
21217
|
+
afgesloten_at?: string | null;
|
|
21218
|
+
afgesloten_door?: string | null;
|
|
21219
|
+
contract_minuten?: number;
|
|
21220
|
+
correctie_reden?: string | null;
|
|
21221
|
+
created_at?: string;
|
|
21222
|
+
gecorrigeerd_at?: string | null;
|
|
21223
|
+
gecorrigeerd_door?: string | null;
|
|
21224
|
+
gewerkte_minuten?: number;
|
|
21225
|
+
id?: string;
|
|
21226
|
+
maand: string;
|
|
21227
|
+
min_minuten?: number;
|
|
21228
|
+
monteur_id: string;
|
|
21229
|
+
netto_verschil_minuten?: number;
|
|
21230
|
+
normaal_uitbetaald_minuten?: number;
|
|
21231
|
+
overuren_minuten?: number;
|
|
21232
|
+
plus_minuten?: number;
|
|
21233
|
+
status?: string;
|
|
21234
|
+
totaal_uitbetaald_minuten?: number;
|
|
21235
|
+
updated_at?: string;
|
|
21236
|
+
};
|
|
21237
|
+
Update: {
|
|
21238
|
+
afgesloten_at?: string | null;
|
|
21239
|
+
afgesloten_door?: string | null;
|
|
21240
|
+
contract_minuten?: number;
|
|
21241
|
+
correctie_reden?: string | null;
|
|
21242
|
+
created_at?: string;
|
|
21243
|
+
gecorrigeerd_at?: string | null;
|
|
21244
|
+
gecorrigeerd_door?: string | null;
|
|
21245
|
+
gewerkte_minuten?: number;
|
|
21246
|
+
id?: string;
|
|
21247
|
+
maand?: string;
|
|
21248
|
+
min_minuten?: number;
|
|
21249
|
+
monteur_id?: string;
|
|
21250
|
+
netto_verschil_minuten?: number;
|
|
21251
|
+
normaal_uitbetaald_minuten?: number;
|
|
21252
|
+
overuren_minuten?: number;
|
|
21253
|
+
plus_minuten?: number;
|
|
21254
|
+
status?: string;
|
|
21255
|
+
totaal_uitbetaald_minuten?: number;
|
|
21256
|
+
updated_at?: string;
|
|
21257
|
+
};
|
|
21258
|
+
Relationships: [];
|
|
21259
|
+
};
|
|
21260
|
+
uren_overuren_verklaringen: {
|
|
21261
|
+
Row: {
|
|
21262
|
+
beoordeeld_door: string | null;
|
|
21263
|
+
beoordeeld_op: string | null;
|
|
21264
|
+
created_at: string;
|
|
21265
|
+
datum: string;
|
|
21266
|
+
eind_tijd: string | null;
|
|
21267
|
+
id: string;
|
|
21268
|
+
ingediend_at: string;
|
|
21269
|
+
monteur_id: string;
|
|
21270
|
+
overuren: number;
|
|
21271
|
+
reden_afkeur: string | null;
|
|
21272
|
+
start_tijd: string | null;
|
|
21273
|
+
status: string;
|
|
21274
|
+
toelichting: string;
|
|
21275
|
+
updated_at: string;
|
|
21276
|
+
};
|
|
21277
|
+
Insert: {
|
|
21278
|
+
beoordeeld_door?: string | null;
|
|
21279
|
+
beoordeeld_op?: string | null;
|
|
21280
|
+
created_at?: string;
|
|
21281
|
+
datum: string;
|
|
21282
|
+
eind_tijd?: string | null;
|
|
21283
|
+
id?: string;
|
|
21284
|
+
ingediend_at?: string;
|
|
21285
|
+
monteur_id: string;
|
|
21286
|
+
overuren: number;
|
|
21287
|
+
reden_afkeur?: string | null;
|
|
21288
|
+
start_tijd?: string | null;
|
|
21289
|
+
status?: string;
|
|
21290
|
+
toelichting: string;
|
|
21291
|
+
updated_at?: string;
|
|
21292
|
+
};
|
|
21293
|
+
Update: {
|
|
21294
|
+
beoordeeld_door?: string | null;
|
|
21295
|
+
beoordeeld_op?: string | null;
|
|
21296
|
+
created_at?: string;
|
|
21297
|
+
datum?: string;
|
|
21298
|
+
eind_tijd?: string | null;
|
|
21299
|
+
id?: string;
|
|
21300
|
+
ingediend_at?: string;
|
|
21301
|
+
monteur_id?: string;
|
|
21302
|
+
overuren?: number;
|
|
21303
|
+
reden_afkeur?: string | null;
|
|
21304
|
+
start_tijd?: string | null;
|
|
21305
|
+
status?: string;
|
|
21306
|
+
toelichting?: string;
|
|
21307
|
+
updated_at?: string;
|
|
21308
|
+
};
|
|
21309
|
+
Relationships: [];
|
|
21310
|
+
};
|
|
19775
21311
|
uren_settings: {
|
|
19776
21312
|
Row: {
|
|
19777
21313
|
break_minutes: number;
|
|
@@ -19817,6 +21353,75 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19817
21353
|
};
|
|
19818
21354
|
Relationships: [];
|
|
19819
21355
|
};
|
|
21356
|
+
uren_standaardweek: {
|
|
21357
|
+
Row: {
|
|
21358
|
+
created_at: string;
|
|
21359
|
+
eind_slot: number;
|
|
21360
|
+
id: string;
|
|
21361
|
+
monteur_id: string;
|
|
21362
|
+
start_slot: number;
|
|
21363
|
+
updated_at: string;
|
|
21364
|
+
weekdag: number;
|
|
21365
|
+
};
|
|
21366
|
+
Insert: {
|
|
21367
|
+
created_at?: string;
|
|
21368
|
+
eind_slot: number;
|
|
21369
|
+
id?: string;
|
|
21370
|
+
monteur_id: string;
|
|
21371
|
+
start_slot: number;
|
|
21372
|
+
updated_at?: string;
|
|
21373
|
+
weekdag: number;
|
|
21374
|
+
};
|
|
21375
|
+
Update: {
|
|
21376
|
+
created_at?: string;
|
|
21377
|
+
eind_slot?: number;
|
|
21378
|
+
id?: string;
|
|
21379
|
+
monteur_id?: string;
|
|
21380
|
+
start_slot?: number;
|
|
21381
|
+
updated_at?: string;
|
|
21382
|
+
weekdag?: number;
|
|
21383
|
+
};
|
|
21384
|
+
Relationships: [];
|
|
21385
|
+
};
|
|
21386
|
+
uren_standaardweek_wijzigingen: {
|
|
21387
|
+
Row: {
|
|
21388
|
+
beoordeeld_door: string | null;
|
|
21389
|
+
beoordeeld_op: string | null;
|
|
21390
|
+
created_at: string;
|
|
21391
|
+
huidig: import("./types").Json;
|
|
21392
|
+
id: string;
|
|
21393
|
+
monteur_id: string;
|
|
21394
|
+
reden_afkeur: string | null;
|
|
21395
|
+
status: string;
|
|
21396
|
+
updated_at: string;
|
|
21397
|
+
voorstel: import("./types").Json;
|
|
21398
|
+
};
|
|
21399
|
+
Insert: {
|
|
21400
|
+
beoordeeld_door?: string | null;
|
|
21401
|
+
beoordeeld_op?: string | null;
|
|
21402
|
+
created_at?: string;
|
|
21403
|
+
huidig?: import("./types").Json;
|
|
21404
|
+
id?: string;
|
|
21405
|
+
monteur_id: string;
|
|
21406
|
+
reden_afkeur?: string | null;
|
|
21407
|
+
status?: string;
|
|
21408
|
+
updated_at?: string;
|
|
21409
|
+
voorstel: import("./types").Json;
|
|
21410
|
+
};
|
|
21411
|
+
Update: {
|
|
21412
|
+
beoordeeld_door?: string | null;
|
|
21413
|
+
beoordeeld_op?: string | null;
|
|
21414
|
+
created_at?: string;
|
|
21415
|
+
huidig?: import("./types").Json;
|
|
21416
|
+
id?: string;
|
|
21417
|
+
monteur_id?: string;
|
|
21418
|
+
reden_afkeur?: string | null;
|
|
21419
|
+
status?: string;
|
|
21420
|
+
updated_at?: string;
|
|
21421
|
+
voorstel?: import("./types").Json;
|
|
21422
|
+
};
|
|
21423
|
+
Relationships: [];
|
|
21424
|
+
};
|
|
19820
21425
|
uren_tarieven: {
|
|
19821
21426
|
Row: {
|
|
19822
21427
|
created_at: string;
|
|
@@ -19901,6 +21506,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19901
21506
|
};
|
|
19902
21507
|
Relationships: [];
|
|
19903
21508
|
};
|
|
21509
|
+
uren_tijd_spiegel: {
|
|
21510
|
+
Row: {
|
|
21511
|
+
created_at: string;
|
|
21512
|
+
id: string;
|
|
21513
|
+
time_log_id: string;
|
|
21514
|
+
werkbon_time_log_id: string;
|
|
21515
|
+
};
|
|
21516
|
+
Insert: {
|
|
21517
|
+
created_at?: string;
|
|
21518
|
+
id?: string;
|
|
21519
|
+
time_log_id: string;
|
|
21520
|
+
werkbon_time_log_id: string;
|
|
21521
|
+
};
|
|
21522
|
+
Update: {
|
|
21523
|
+
created_at?: string;
|
|
21524
|
+
id?: string;
|
|
21525
|
+
time_log_id?: string;
|
|
21526
|
+
werkbon_time_log_id?: string;
|
|
21527
|
+
};
|
|
21528
|
+
Relationships: [{
|
|
21529
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
21530
|
+
columns: ["time_log_id"];
|
|
21531
|
+
isOneToOne: true;
|
|
21532
|
+
referencedRelation: "time_logs";
|
|
21533
|
+
referencedColumns: ["id"];
|
|
21534
|
+
}, {
|
|
21535
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
21536
|
+
columns: ["werkbon_time_log_id"];
|
|
21537
|
+
isOneToOne: true;
|
|
21538
|
+
referencedRelation: "werkbon_time_logs";
|
|
21539
|
+
referencedColumns: ["id"];
|
|
21540
|
+
}];
|
|
21541
|
+
};
|
|
19904
21542
|
uren_weekstaten: {
|
|
19905
21543
|
Row: {
|
|
19906
21544
|
approved_at: string | null;
|
|
@@ -19943,6 +21581,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
19943
21581
|
};
|
|
19944
21582
|
Relationships: [];
|
|
19945
21583
|
};
|
|
21584
|
+
uren_werktijd_voorkeuren: {
|
|
21585
|
+
Row: {
|
|
21586
|
+
created_at: string;
|
|
21587
|
+
eind_slot: number;
|
|
21588
|
+
id: string;
|
|
21589
|
+
monteur_id: string;
|
|
21590
|
+
start_slot: number;
|
|
21591
|
+
updated_at: string;
|
|
21592
|
+
};
|
|
21593
|
+
Insert: {
|
|
21594
|
+
created_at?: string;
|
|
21595
|
+
eind_slot?: number;
|
|
21596
|
+
id?: string;
|
|
21597
|
+
monteur_id: string;
|
|
21598
|
+
start_slot?: number;
|
|
21599
|
+
updated_at?: string;
|
|
21600
|
+
};
|
|
21601
|
+
Update: {
|
|
21602
|
+
created_at?: string;
|
|
21603
|
+
eind_slot?: number;
|
|
21604
|
+
id?: string;
|
|
21605
|
+
monteur_id?: string;
|
|
21606
|
+
start_slot?: number;
|
|
21607
|
+
updated_at?: string;
|
|
21608
|
+
};
|
|
21609
|
+
Relationships: [];
|
|
21610
|
+
};
|
|
19946
21611
|
user_module_permissions: {
|
|
19947
21612
|
Row: {
|
|
19948
21613
|
created_at: string;
|
|
@@ -20414,6 +22079,42 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20414
22079
|
referencedColumns: ["id"];
|
|
20415
22080
|
}];
|
|
20416
22081
|
};
|
|
22082
|
+
werkbon_email_state: {
|
|
22083
|
+
Row: {
|
|
22084
|
+
created_at: string;
|
|
22085
|
+
event_id: string;
|
|
22086
|
+
id: string;
|
|
22087
|
+
is_archived: boolean;
|
|
22088
|
+
is_read: boolean;
|
|
22089
|
+
updated_at: string;
|
|
22090
|
+
werkbon_id: string | null;
|
|
22091
|
+
};
|
|
22092
|
+
Insert: {
|
|
22093
|
+
created_at?: string;
|
|
22094
|
+
event_id: string;
|
|
22095
|
+
id?: string;
|
|
22096
|
+
is_archived?: boolean;
|
|
22097
|
+
is_read?: boolean;
|
|
22098
|
+
updated_at?: string;
|
|
22099
|
+
werkbon_id?: string | null;
|
|
22100
|
+
};
|
|
22101
|
+
Update: {
|
|
22102
|
+
created_at?: string;
|
|
22103
|
+
event_id?: string;
|
|
22104
|
+
id?: string;
|
|
22105
|
+
is_archived?: boolean;
|
|
22106
|
+
is_read?: boolean;
|
|
22107
|
+
updated_at?: string;
|
|
22108
|
+
werkbon_id?: string | null;
|
|
22109
|
+
};
|
|
22110
|
+
Relationships: [{
|
|
22111
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
22112
|
+
columns: ["event_id"];
|
|
22113
|
+
isOneToOne: true;
|
|
22114
|
+
referencedRelation: "email_auth_events";
|
|
22115
|
+
referencedColumns: ["id"];
|
|
22116
|
+
}];
|
|
22117
|
+
};
|
|
20417
22118
|
werkbon_export_runs: {
|
|
20418
22119
|
Row: {
|
|
20419
22120
|
created_at: string;
|
|
@@ -20567,69 +22268,210 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20567
22268
|
};
|
|
20568
22269
|
Relationships: [];
|
|
20569
22270
|
};
|
|
20570
|
-
|
|
22271
|
+
werkbon_mail_ai_settings: {
|
|
20571
22272
|
Row: {
|
|
20572
|
-
article_number: string | null;
|
|
20573
22273
|
created_at: string;
|
|
20574
|
-
|
|
20575
|
-
|
|
20576
|
-
|
|
20577
|
-
quantity: number;
|
|
20578
|
-
source: string;
|
|
20579
|
-
unit: string;
|
|
20580
|
-
unit_price_cents: number;
|
|
22274
|
+
id: boolean;
|
|
22275
|
+
required_fields: string[];
|
|
22276
|
+
system_prompt: string;
|
|
20581
22277
|
updated_at: string;
|
|
20582
|
-
|
|
22278
|
+
updated_by: string | null;
|
|
20583
22279
|
};
|
|
20584
22280
|
Insert: {
|
|
20585
|
-
article_number?: string | null;
|
|
20586
22281
|
created_at?: string;
|
|
20587
|
-
|
|
20588
|
-
|
|
20589
|
-
|
|
20590
|
-
quantity?: number;
|
|
20591
|
-
source?: string;
|
|
20592
|
-
unit?: string;
|
|
20593
|
-
unit_price_cents?: number;
|
|
22282
|
+
id?: boolean;
|
|
22283
|
+
required_fields?: string[];
|
|
22284
|
+
system_prompt?: string;
|
|
20594
22285
|
updated_at?: string;
|
|
20595
|
-
|
|
22286
|
+
updated_by?: string | null;
|
|
20596
22287
|
};
|
|
20597
22288
|
Update: {
|
|
20598
|
-
article_number?: string | null;
|
|
20599
22289
|
created_at?: string;
|
|
20600
|
-
|
|
20601
|
-
|
|
20602
|
-
|
|
20603
|
-
quantity?: number;
|
|
20604
|
-
source?: string;
|
|
20605
|
-
unit?: string;
|
|
20606
|
-
unit_price_cents?: number;
|
|
22290
|
+
id?: boolean;
|
|
22291
|
+
required_fields?: string[];
|
|
22292
|
+
system_prompt?: string;
|
|
20607
22293
|
updated_at?: string;
|
|
20608
|
-
|
|
22294
|
+
updated_by?: string | null;
|
|
20609
22295
|
};
|
|
20610
|
-
Relationships: [
|
|
20611
|
-
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
20612
|
-
columns: ["werkbon_id"];
|
|
20613
|
-
isOneToOne: false;
|
|
20614
|
-
referencedRelation: "werkbonnen";
|
|
20615
|
-
referencedColumns: ["id"];
|
|
20616
|
-
}, {
|
|
20617
|
-
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
20618
|
-
columns: ["werkbon_id"];
|
|
20619
|
-
isOneToOne: false;
|
|
20620
|
-
referencedRelation: "wo_overview";
|
|
20621
|
-
referencedColumns: ["id"];
|
|
20622
|
-
}];
|
|
22296
|
+
Relationships: [];
|
|
20623
22297
|
};
|
|
20624
|
-
|
|
22298
|
+
werkbon_mail_bodies: {
|
|
20625
22299
|
Row: {
|
|
20626
|
-
active: boolean;
|
|
20627
|
-
case_sensitive: boolean;
|
|
20628
22300
|
created_at: string;
|
|
20629
|
-
|
|
20630
|
-
|
|
20631
|
-
|
|
20632
|
-
|
|
22301
|
+
event_id: string;
|
|
22302
|
+
fetch_error: string | null;
|
|
22303
|
+
fetched_at: string | null;
|
|
22304
|
+
html: string | null;
|
|
22305
|
+
updated_at: string;
|
|
22306
|
+
};
|
|
22307
|
+
Insert: {
|
|
22308
|
+
created_at?: string;
|
|
22309
|
+
event_id: string;
|
|
22310
|
+
fetch_error?: string | null;
|
|
22311
|
+
fetched_at?: string | null;
|
|
22312
|
+
html?: string | null;
|
|
22313
|
+
updated_at?: string;
|
|
22314
|
+
};
|
|
22315
|
+
Update: {
|
|
22316
|
+
created_at?: string;
|
|
22317
|
+
event_id?: string;
|
|
22318
|
+
fetch_error?: string | null;
|
|
22319
|
+
fetched_at?: string | null;
|
|
22320
|
+
html?: string | null;
|
|
22321
|
+
updated_at?: string;
|
|
22322
|
+
};
|
|
22323
|
+
Relationships: [];
|
|
22324
|
+
};
|
|
22325
|
+
werkbon_mail_inline_assets: {
|
|
22326
|
+
Row: {
|
|
22327
|
+
content_id: string | null;
|
|
22328
|
+
created_at: string;
|
|
22329
|
+
event_id: string;
|
|
22330
|
+
filename: string | null;
|
|
22331
|
+
id: string;
|
|
22332
|
+
is_inline: boolean;
|
|
22333
|
+
mime_type: string | null;
|
|
22334
|
+
size_bytes: number | null;
|
|
22335
|
+
storage_path: string;
|
|
22336
|
+
};
|
|
22337
|
+
Insert: {
|
|
22338
|
+
content_id?: string | null;
|
|
22339
|
+
created_at?: string;
|
|
22340
|
+
event_id: string;
|
|
22341
|
+
filename?: string | null;
|
|
22342
|
+
id?: string;
|
|
22343
|
+
is_inline?: boolean;
|
|
22344
|
+
mime_type?: string | null;
|
|
22345
|
+
size_bytes?: number | null;
|
|
22346
|
+
storage_path: string;
|
|
22347
|
+
};
|
|
22348
|
+
Update: {
|
|
22349
|
+
content_id?: string | null;
|
|
22350
|
+
created_at?: string;
|
|
22351
|
+
event_id?: string;
|
|
22352
|
+
filename?: string | null;
|
|
22353
|
+
id?: string;
|
|
22354
|
+
is_inline?: boolean;
|
|
22355
|
+
mime_type?: string | null;
|
|
22356
|
+
size_bytes?: number | null;
|
|
22357
|
+
storage_path?: string;
|
|
22358
|
+
};
|
|
22359
|
+
Relationships: [];
|
|
22360
|
+
};
|
|
22361
|
+
werkbon_mail_settings: {
|
|
22362
|
+
Row: {
|
|
22363
|
+
connection_id: string | null;
|
|
22364
|
+
connection_ids: string[];
|
|
22365
|
+
created_at: string;
|
|
22366
|
+
id: boolean;
|
|
22367
|
+
purposes: string[];
|
|
22368
|
+
source: string;
|
|
22369
|
+
updated_at: string;
|
|
22370
|
+
};
|
|
22371
|
+
Insert: {
|
|
22372
|
+
connection_id?: string | null;
|
|
22373
|
+
connection_ids?: string[];
|
|
22374
|
+
created_at?: string;
|
|
22375
|
+
id?: boolean;
|
|
22376
|
+
purposes?: string[];
|
|
22377
|
+
source?: string;
|
|
22378
|
+
updated_at?: string;
|
|
22379
|
+
};
|
|
22380
|
+
Update: {
|
|
22381
|
+
connection_id?: string | null;
|
|
22382
|
+
connection_ids?: string[];
|
|
22383
|
+
created_at?: string;
|
|
22384
|
+
id?: boolean;
|
|
22385
|
+
purposes?: string[];
|
|
22386
|
+
source?: string;
|
|
22387
|
+
updated_at?: string;
|
|
22388
|
+
};
|
|
22389
|
+
Relationships: [];
|
|
22390
|
+
};
|
|
22391
|
+
werkbon_mail_user_settings: {
|
|
22392
|
+
Row: {
|
|
22393
|
+
created_at: string;
|
|
22394
|
+
email_purpose: string | null;
|
|
22395
|
+
updated_at: string;
|
|
22396
|
+
user_id: string;
|
|
22397
|
+
};
|
|
22398
|
+
Insert: {
|
|
22399
|
+
created_at?: string;
|
|
22400
|
+
email_purpose?: string | null;
|
|
22401
|
+
updated_at?: string;
|
|
22402
|
+
user_id: string;
|
|
22403
|
+
};
|
|
22404
|
+
Update: {
|
|
22405
|
+
created_at?: string;
|
|
22406
|
+
email_purpose?: string | null;
|
|
22407
|
+
updated_at?: string;
|
|
22408
|
+
user_id?: string;
|
|
22409
|
+
};
|
|
22410
|
+
Relationships: [];
|
|
22411
|
+
};
|
|
22412
|
+
werkbon_materials: {
|
|
22413
|
+
Row: {
|
|
22414
|
+
article_number: string | null;
|
|
22415
|
+
created_at: string;
|
|
22416
|
+
created_by: string | null;
|
|
22417
|
+
description: string;
|
|
22418
|
+
id: string;
|
|
22419
|
+
quantity: number;
|
|
22420
|
+
source: string;
|
|
22421
|
+
unit: string;
|
|
22422
|
+
unit_price_cents: number;
|
|
22423
|
+
updated_at: string;
|
|
22424
|
+
werkbon_id: string;
|
|
22425
|
+
};
|
|
22426
|
+
Insert: {
|
|
22427
|
+
article_number?: string | null;
|
|
22428
|
+
created_at?: string;
|
|
22429
|
+
created_by?: string | null;
|
|
22430
|
+
description: string;
|
|
22431
|
+
id?: string;
|
|
22432
|
+
quantity?: number;
|
|
22433
|
+
source?: string;
|
|
22434
|
+
unit?: string;
|
|
22435
|
+
unit_price_cents?: number;
|
|
22436
|
+
updated_at?: string;
|
|
22437
|
+
werkbon_id: string;
|
|
22438
|
+
};
|
|
22439
|
+
Update: {
|
|
22440
|
+
article_number?: string | null;
|
|
22441
|
+
created_at?: string;
|
|
22442
|
+
created_by?: string | null;
|
|
22443
|
+
description?: string;
|
|
22444
|
+
id?: string;
|
|
22445
|
+
quantity?: number;
|
|
22446
|
+
source?: string;
|
|
22447
|
+
unit?: string;
|
|
22448
|
+
unit_price_cents?: number;
|
|
22449
|
+
updated_at?: string;
|
|
22450
|
+
werkbon_id?: string;
|
|
22451
|
+
};
|
|
22452
|
+
Relationships: [{
|
|
22453
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
22454
|
+
columns: ["werkbon_id"];
|
|
22455
|
+
isOneToOne: false;
|
|
22456
|
+
referencedRelation: "werkbonnen";
|
|
22457
|
+
referencedColumns: ["id"];
|
|
22458
|
+
}, {
|
|
22459
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
22460
|
+
columns: ["werkbon_id"];
|
|
22461
|
+
isOneToOne: false;
|
|
22462
|
+
referencedRelation: "wo_overview";
|
|
22463
|
+
referencedColumns: ["id"];
|
|
22464
|
+
}];
|
|
22465
|
+
};
|
|
22466
|
+
werkbon_package_ai_rules: {
|
|
22467
|
+
Row: {
|
|
22468
|
+
active: boolean;
|
|
22469
|
+
case_sensitive: boolean;
|
|
22470
|
+
created_at: string;
|
|
22471
|
+
id: string;
|
|
22472
|
+
package_id: string;
|
|
22473
|
+
priority: number;
|
|
22474
|
+
rule_type: string;
|
|
20633
22475
|
updated_at: string;
|
|
20634
22476
|
value: string;
|
|
20635
22477
|
};
|
|
@@ -20697,10 +22539,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20697
22539
|
Row: {
|
|
20698
22540
|
article_number: string | null;
|
|
20699
22541
|
artikel_id: string | null;
|
|
22542
|
+
cost_price_cents: number;
|
|
20700
22543
|
created_at: string;
|
|
20701
22544
|
gtin: string | null;
|
|
20702
22545
|
id: string;
|
|
20703
22546
|
manufacturer: string | null;
|
|
22547
|
+
margin_percent: number | null;
|
|
20704
22548
|
omschrijving: string;
|
|
20705
22549
|
package_id: string;
|
|
20706
22550
|
price_synced_at: string | null;
|
|
@@ -20715,10 +22559,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20715
22559
|
Insert: {
|
|
20716
22560
|
article_number?: string | null;
|
|
20717
22561
|
artikel_id?: string | null;
|
|
22562
|
+
cost_price_cents?: number;
|
|
20718
22563
|
created_at?: string;
|
|
20719
22564
|
gtin?: string | null;
|
|
20720
22565
|
id?: string;
|
|
20721
22566
|
manufacturer?: string | null;
|
|
22567
|
+
margin_percent?: number | null;
|
|
20722
22568
|
omschrijving: string;
|
|
20723
22569
|
package_id: string;
|
|
20724
22570
|
price_synced_at?: string | null;
|
|
@@ -20733,10 +22579,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20733
22579
|
Update: {
|
|
20734
22580
|
article_number?: string | null;
|
|
20735
22581
|
artikel_id?: string | null;
|
|
22582
|
+
cost_price_cents?: number;
|
|
20736
22583
|
created_at?: string;
|
|
20737
22584
|
gtin?: string | null;
|
|
20738
22585
|
id?: string;
|
|
20739
22586
|
manufacturer?: string | null;
|
|
22587
|
+
margin_percent?: number | null;
|
|
20740
22588
|
omschrijving?: string;
|
|
20741
22589
|
package_id?: string;
|
|
20742
22590
|
price_synced_at?: string | null;
|
|
@@ -20906,119 +22754,276 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
20906
22754
|
referencedColumns: ["id"];
|
|
20907
22755
|
}];
|
|
20908
22756
|
};
|
|
20909
|
-
|
|
22757
|
+
werkbon_proposal_lines: {
|
|
20910
22758
|
Row: {
|
|
20911
|
-
|
|
22759
|
+
article_number: string | null;
|
|
20912
22760
|
created_at: string;
|
|
20913
|
-
|
|
22761
|
+
description: string | null;
|
|
20914
22762
|
id: string;
|
|
22763
|
+
line_type: string;
|
|
20915
22764
|
note: string | null;
|
|
20916
|
-
|
|
20917
|
-
|
|
20918
|
-
|
|
22765
|
+
package_id: string | null;
|
|
22766
|
+
proposal_id: string;
|
|
22767
|
+
quantity: number | null;
|
|
22768
|
+
sort_order: number;
|
|
22769
|
+
unit: string | null;
|
|
22770
|
+
updated_at: string;
|
|
20919
22771
|
};
|
|
20920
22772
|
Insert: {
|
|
20921
|
-
|
|
22773
|
+
article_number?: string | null;
|
|
20922
22774
|
created_at?: string;
|
|
20923
|
-
|
|
22775
|
+
description?: string | null;
|
|
20924
22776
|
id?: string;
|
|
22777
|
+
line_type?: string;
|
|
20925
22778
|
note?: string | null;
|
|
20926
|
-
|
|
20927
|
-
|
|
20928
|
-
|
|
22779
|
+
package_id?: string | null;
|
|
22780
|
+
proposal_id: string;
|
|
22781
|
+
quantity?: number | null;
|
|
22782
|
+
sort_order?: number;
|
|
22783
|
+
unit?: string | null;
|
|
22784
|
+
updated_at?: string;
|
|
20929
22785
|
};
|
|
20930
22786
|
Update: {
|
|
20931
|
-
|
|
22787
|
+
article_number?: string | null;
|
|
20932
22788
|
created_at?: string;
|
|
20933
|
-
|
|
22789
|
+
description?: string | null;
|
|
20934
22790
|
id?: string;
|
|
22791
|
+
line_type?: string;
|
|
20935
22792
|
note?: string | null;
|
|
20936
|
-
|
|
20937
|
-
|
|
20938
|
-
|
|
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;
|
|
20939
22799
|
};
|
|
20940
22800
|
Relationships: [{
|
|
20941
|
-
foreignKeyName: "
|
|
20942
|
-
columns: ["
|
|
20943
|
-
isOneToOne: false;
|
|
20944
|
-
referencedRelation: "werkbonnen";
|
|
20945
|
-
referencedColumns: ["id"];
|
|
20946
|
-
}, {
|
|
20947
|
-
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
20948
|
-
columns: ["werkbon_id"];
|
|
22801
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
22802
|
+
columns: ["proposal_id"];
|
|
20949
22803
|
isOneToOne: false;
|
|
20950
|
-
referencedRelation: "
|
|
22804
|
+
referencedRelation: "werkbon_proposals";
|
|
20951
22805
|
referencedColumns: ["id"];
|
|
20952
22806
|
}];
|
|
20953
22807
|
};
|
|
20954
|
-
|
|
22808
|
+
werkbon_proposals: {
|
|
20955
22809
|
Row: {
|
|
20956
|
-
|
|
22810
|
+
analysed: boolean;
|
|
20957
22811
|
budget_mandate_cents: number;
|
|
20958
22812
|
complaint_description: string | null;
|
|
22813
|
+
contact_id: string | null;
|
|
20959
22814
|
created_at: string;
|
|
20960
|
-
|
|
22815
|
+
created_werkbon_id: string | null;
|
|
20961
22816
|
customer_id: string | null;
|
|
22817
|
+
deadline_date: string | null;
|
|
22818
|
+
estimated_days: number | null;
|
|
22819
|
+
estimated_duration_minutes: number | null;
|
|
22820
|
+
event_id: string;
|
|
22821
|
+
external_id: string | null;
|
|
20962
22822
|
externe_referentie: string | null;
|
|
20963
|
-
|
|
20964
|
-
|
|
22823
|
+
from_email: string | null;
|
|
22824
|
+
from_name: string | null;
|
|
20965
22825
|
id: string;
|
|
20966
22826
|
internal_notes: string | null;
|
|
20967
|
-
|
|
20968
|
-
|
|
20969
|
-
|
|
20970
|
-
|
|
20971
|
-
project_number: string | null;
|
|
20972
|
-
review_reasons: string[];
|
|
22827
|
+
parsed_payload: import("./types").Json;
|
|
22828
|
+
received_at: string | null;
|
|
22829
|
+
reviewed_at: string | null;
|
|
22830
|
+
reviewed_by: string | null;
|
|
20973
22831
|
room_number: string | null;
|
|
20974
22832
|
scheduled_end_time: string | null;
|
|
20975
22833
|
scheduled_start_time: string | null;
|
|
20976
|
-
sequence_number: number;
|
|
20977
|
-
signature_accepted_at: string | null;
|
|
20978
|
-
signature_by_user_id: string | null;
|
|
20979
|
-
signature_name: string | null;
|
|
20980
|
-
source_email_meta: import("./types").Json | null;
|
|
20981
|
-
source_mailbox_message_id: string | null;
|
|
20982
|
-
source_pdf_path: string | null;
|
|
20983
|
-
source_type: string;
|
|
20984
22834
|
status: string;
|
|
22835
|
+
subject: string | null;
|
|
20985
22836
|
technician_id: string | null;
|
|
20986
|
-
technician_notes: string | null;
|
|
20987
|
-
technician_notes_raw: string | null;
|
|
20988
22837
|
technician_task_description: string | null;
|
|
20989
22838
|
updated_at: string;
|
|
20990
|
-
version: number;
|
|
20991
22839
|
work_address: string | null;
|
|
20992
22840
|
};
|
|
20993
22841
|
Insert: {
|
|
20994
|
-
|
|
22842
|
+
analysed?: boolean;
|
|
20995
22843
|
budget_mandate_cents?: number;
|
|
20996
22844
|
complaint_description?: string | null;
|
|
22845
|
+
contact_id?: string | null;
|
|
20997
22846
|
created_at?: string;
|
|
20998
|
-
|
|
22847
|
+
created_werkbon_id?: string | null;
|
|
20999
22848
|
customer_id?: string | null;
|
|
22849
|
+
deadline_date?: string | null;
|
|
22850
|
+
estimated_days?: number | null;
|
|
22851
|
+
estimated_duration_minutes?: number | null;
|
|
22852
|
+
event_id: string;
|
|
22853
|
+
external_id?: string | null;
|
|
21000
22854
|
externe_referentie?: string | null;
|
|
21001
|
-
|
|
21002
|
-
|
|
22855
|
+
from_email?: string | null;
|
|
22856
|
+
from_name?: string | null;
|
|
21003
22857
|
id?: string;
|
|
21004
22858
|
internal_notes?: string | null;
|
|
21005
|
-
|
|
21006
|
-
|
|
21007
|
-
|
|
21008
|
-
|
|
21009
|
-
project_number?: string | null;
|
|
21010
|
-
review_reasons?: string[];
|
|
22859
|
+
parsed_payload?: import("./types").Json;
|
|
22860
|
+
received_at?: string | null;
|
|
22861
|
+
reviewed_at?: string | null;
|
|
22862
|
+
reviewed_by?: string | null;
|
|
21011
22863
|
room_number?: string | null;
|
|
21012
22864
|
scheduled_end_time?: string | null;
|
|
21013
22865
|
scheduled_start_time?: string | null;
|
|
21014
|
-
|
|
21015
|
-
|
|
21016
|
-
|
|
21017
|
-
|
|
21018
|
-
|
|
21019
|
-
|
|
21020
|
-
|
|
21021
|
-
|
|
22866
|
+
status?: string;
|
|
22867
|
+
subject?: string | null;
|
|
22868
|
+
technician_id?: string | null;
|
|
22869
|
+
technician_task_description?: string | null;
|
|
22870
|
+
updated_at?: string;
|
|
22871
|
+
work_address?: string | null;
|
|
22872
|
+
};
|
|
22873
|
+
Update: {
|
|
22874
|
+
analysed?: boolean;
|
|
22875
|
+
budget_mandate_cents?: number;
|
|
22876
|
+
complaint_description?: string | null;
|
|
22877
|
+
contact_id?: string | null;
|
|
22878
|
+
created_at?: string;
|
|
22879
|
+
created_werkbon_id?: string | null;
|
|
22880
|
+
customer_id?: string | null;
|
|
22881
|
+
deadline_date?: string | null;
|
|
22882
|
+
estimated_days?: number | null;
|
|
22883
|
+
estimated_duration_minutes?: number | null;
|
|
22884
|
+
event_id?: string;
|
|
22885
|
+
external_id?: string | null;
|
|
22886
|
+
externe_referentie?: string | null;
|
|
22887
|
+
from_email?: string | null;
|
|
22888
|
+
from_name?: string | null;
|
|
22889
|
+
id?: string;
|
|
22890
|
+
internal_notes?: string | null;
|
|
22891
|
+
parsed_payload?: import("./types").Json;
|
|
22892
|
+
received_at?: string | null;
|
|
22893
|
+
reviewed_at?: string | null;
|
|
22894
|
+
reviewed_by?: string | null;
|
|
22895
|
+
room_number?: string | null;
|
|
22896
|
+
scheduled_end_time?: string | null;
|
|
22897
|
+
scheduled_start_time?: string | null;
|
|
22898
|
+
status?: string;
|
|
22899
|
+
subject?: string | null;
|
|
22900
|
+
technician_id?: string | null;
|
|
22901
|
+
technician_task_description?: string | null;
|
|
22902
|
+
updated_at?: string;
|
|
22903
|
+
work_address?: string | null;
|
|
22904
|
+
};
|
|
22905
|
+
Relationships: [];
|
|
22906
|
+
};
|
|
22907
|
+
werkbon_time_logs: {
|
|
22908
|
+
Row: {
|
|
22909
|
+
activity: string;
|
|
22910
|
+
created_at: string;
|
|
22911
|
+
ended_at: string | null;
|
|
22912
|
+
id: string;
|
|
22913
|
+
note: string | null;
|
|
22914
|
+
started_at: string;
|
|
22915
|
+
user_id: string;
|
|
22916
|
+
werkbon_id: string;
|
|
22917
|
+
};
|
|
22918
|
+
Insert: {
|
|
22919
|
+
activity: string;
|
|
22920
|
+
created_at?: string;
|
|
22921
|
+
ended_at?: string | null;
|
|
22922
|
+
id?: string;
|
|
22923
|
+
note?: string | null;
|
|
22924
|
+
started_at?: string;
|
|
22925
|
+
user_id: string;
|
|
22926
|
+
werkbon_id: string;
|
|
22927
|
+
};
|
|
22928
|
+
Update: {
|
|
22929
|
+
activity?: string;
|
|
22930
|
+
created_at?: string;
|
|
22931
|
+
ended_at?: string | null;
|
|
22932
|
+
id?: string;
|
|
22933
|
+
note?: string | null;
|
|
22934
|
+
started_at?: string;
|
|
22935
|
+
user_id?: string;
|
|
22936
|
+
werkbon_id?: string;
|
|
22937
|
+
};
|
|
22938
|
+
Relationships: [{
|
|
22939
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22940
|
+
columns: ["werkbon_id"];
|
|
22941
|
+
isOneToOne: false;
|
|
22942
|
+
referencedRelation: "werkbonnen";
|
|
22943
|
+
referencedColumns: ["id"];
|
|
22944
|
+
}, {
|
|
22945
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
22946
|
+
columns: ["werkbon_id"];
|
|
22947
|
+
isOneToOne: false;
|
|
22948
|
+
referencedRelation: "wo_overview";
|
|
22949
|
+
referencedColumns: ["id"];
|
|
22950
|
+
}];
|
|
22951
|
+
};
|
|
22952
|
+
werkbonnen: {
|
|
22953
|
+
Row: {
|
|
22954
|
+
assigned_user_id: string | null;
|
|
22955
|
+
budget_mandate_cents: number;
|
|
22956
|
+
complaint_description: string | null;
|
|
22957
|
+
created_at: string;
|
|
22958
|
+
created_by: string | null;
|
|
22959
|
+
customer_id: string | null;
|
|
22960
|
+
deadline_date: string | null;
|
|
22961
|
+
estimated_days: number | null;
|
|
22962
|
+
estimated_duration_minutes: number | null;
|
|
22963
|
+
externe_referentie: string | null;
|
|
22964
|
+
extra_costs_cents: number;
|
|
22965
|
+
first_time_fix: boolean | null;
|
|
22966
|
+
id: string;
|
|
22967
|
+
internal_notes: string | null;
|
|
22968
|
+
needs_detail_review: boolean;
|
|
22969
|
+
parent_werkbon_id: string | null;
|
|
22970
|
+
parsed_payload: import("./types").Json | null;
|
|
22971
|
+
planning_status: string;
|
|
22972
|
+
project_number: string | null;
|
|
22973
|
+
review_reasons: string[];
|
|
22974
|
+
room_number: string | null;
|
|
22975
|
+
scheduled_end_time: string | null;
|
|
22976
|
+
scheduled_start_time: string | null;
|
|
22977
|
+
sequence_number: number;
|
|
22978
|
+
signature_accepted_at: string | null;
|
|
22979
|
+
signature_by_user_id: string | null;
|
|
22980
|
+
signature_name: string | null;
|
|
22981
|
+
source_email_meta: import("./types").Json | null;
|
|
22982
|
+
source_mailbox_message_id: string | null;
|
|
22983
|
+
source_pdf_path: string | null;
|
|
22984
|
+
source_type: string;
|
|
22985
|
+
status: string;
|
|
22986
|
+
technician_id: string | null;
|
|
22987
|
+
technician_notes: string | null;
|
|
22988
|
+
technician_notes_raw: string | null;
|
|
22989
|
+
technician_task_description: string | null;
|
|
22990
|
+
updated_at: string;
|
|
22991
|
+
version: number;
|
|
22992
|
+
work_address: string | null;
|
|
22993
|
+
workday_hours: number | null;
|
|
22994
|
+
};
|
|
22995
|
+
Insert: {
|
|
22996
|
+
assigned_user_id?: string | null;
|
|
22997
|
+
budget_mandate_cents?: number;
|
|
22998
|
+
complaint_description?: string | null;
|
|
22999
|
+
created_at?: string;
|
|
23000
|
+
created_by?: string | null;
|
|
23001
|
+
customer_id?: string | null;
|
|
23002
|
+
deadline_date?: string | null;
|
|
23003
|
+
estimated_days?: number | null;
|
|
23004
|
+
estimated_duration_minutes?: number | null;
|
|
23005
|
+
externe_referentie?: string | null;
|
|
23006
|
+
extra_costs_cents?: number;
|
|
23007
|
+
first_time_fix?: boolean | null;
|
|
23008
|
+
id?: string;
|
|
23009
|
+
internal_notes?: string | null;
|
|
23010
|
+
needs_detail_review?: boolean;
|
|
23011
|
+
parent_werkbon_id?: string | null;
|
|
23012
|
+
parsed_payload?: import("./types").Json | null;
|
|
23013
|
+
planning_status?: string;
|
|
23014
|
+
project_number?: string | null;
|
|
23015
|
+
review_reasons?: string[];
|
|
23016
|
+
room_number?: string | null;
|
|
23017
|
+
scheduled_end_time?: string | null;
|
|
23018
|
+
scheduled_start_time?: string | null;
|
|
23019
|
+
sequence_number: number;
|
|
23020
|
+
signature_accepted_at?: string | null;
|
|
23021
|
+
signature_by_user_id?: string | null;
|
|
23022
|
+
signature_name?: string | null;
|
|
23023
|
+
source_email_meta?: import("./types").Json | null;
|
|
23024
|
+
source_mailbox_message_id?: string | null;
|
|
23025
|
+
source_pdf_path?: string | null;
|
|
23026
|
+
source_type?: string;
|
|
21022
23027
|
status?: string;
|
|
21023
23028
|
technician_id?: string | null;
|
|
21024
23029
|
technician_notes?: string | null;
|
|
@@ -21027,6 +23032,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21027
23032
|
updated_at?: string;
|
|
21028
23033
|
version?: number;
|
|
21029
23034
|
work_address?: string | null;
|
|
23035
|
+
workday_hours?: number | null;
|
|
21030
23036
|
};
|
|
21031
23037
|
Update: {
|
|
21032
23038
|
assigned_user_id?: string | null;
|
|
@@ -21035,6 +23041,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21035
23041
|
created_at?: string;
|
|
21036
23042
|
created_by?: string | null;
|
|
21037
23043
|
customer_id?: string | null;
|
|
23044
|
+
deadline_date?: string | null;
|
|
23045
|
+
estimated_days?: number | null;
|
|
23046
|
+
estimated_duration_minutes?: number | null;
|
|
21038
23047
|
externe_referentie?: string | null;
|
|
21039
23048
|
extra_costs_cents?: number;
|
|
21040
23049
|
first_time_fix?: boolean | null;
|
|
@@ -21065,6 +23074,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21065
23074
|
updated_at?: string;
|
|
21066
23075
|
version?: number;
|
|
21067
23076
|
work_address?: string | null;
|
|
23077
|
+
workday_hours?: number | null;
|
|
21068
23078
|
};
|
|
21069
23079
|
Relationships: [{
|
|
21070
23080
|
foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
|
|
@@ -21546,6 +23556,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
21546
23556
|
};
|
|
21547
23557
|
Relationships: [];
|
|
21548
23558
|
};
|
|
23559
|
+
logistics_packing_diff: {
|
|
23560
|
+
Row: {
|
|
23561
|
+
dev_key: string | null;
|
|
23562
|
+
floriday_packing: import("./types").Json | null;
|
|
23563
|
+
local_packing: import("./types").Json | null;
|
|
23564
|
+
order_id: string | null;
|
|
23565
|
+
order_item_id: string | null;
|
|
23566
|
+
order_number: string | null;
|
|
23567
|
+
product_id: string | null;
|
|
23568
|
+
product_name: string | null;
|
|
23569
|
+
scope: string | null;
|
|
23570
|
+
trade_item_id: string | null;
|
|
23571
|
+
};
|
|
23572
|
+
Relationships: [];
|
|
23573
|
+
};
|
|
21549
23574
|
logistics_product_dimensions: {
|
|
21550
23575
|
Row: {
|
|
21551
23576
|
dimension_source: string | null;
|
|
@@ -22269,6 +24294,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22269
24294
|
};
|
|
22270
24295
|
Returns: string;
|
|
22271
24296
|
};
|
|
24297
|
+
backfill_cart_numbers_day_seq: {
|
|
24298
|
+
Args: never;
|
|
24299
|
+
Returns: number;
|
|
24300
|
+
};
|
|
22272
24301
|
backfill_open_order_reservations: {
|
|
22273
24302
|
Args: never;
|
|
22274
24303
|
Returns: {
|
|
@@ -22755,8 +24784,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22755
24784
|
cart_index: number;
|
|
22756
24785
|
cart_number: string;
|
|
22757
24786
|
cart_number_id: string;
|
|
22758
|
-
cart_seq: number;
|
|
22759
|
-
cart_total: number;
|
|
22760
24787
|
order_id: string;
|
|
22761
24788
|
order_number: string;
|
|
22762
24789
|
order_source: string;
|
|
@@ -22772,10 +24799,32 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
22772
24799
|
};
|
|
22773
24800
|
Returns: number;
|
|
22774
24801
|
};
|
|
24802
|
+
control_mark_carts_delivered_detail: {
|
|
24803
|
+
Args: {
|
|
24804
|
+
p_carts: import("./types").Json;
|
|
24805
|
+
};
|
|
24806
|
+
Returns: {
|
|
24807
|
+
cart_index: number;
|
|
24808
|
+
frozen: boolean;
|
|
24809
|
+
message: string;
|
|
24810
|
+
order_id: string;
|
|
24811
|
+
order_source: string;
|
|
24812
|
+
outcome: string;
|
|
24813
|
+
}[];
|
|
24814
|
+
};
|
|
22775
24815
|
count_distinct_regulatory_products: {
|
|
22776
24816
|
Args: never;
|
|
22777
24817
|
Returns: number;
|
|
22778
24818
|
};
|
|
24819
|
+
create_order_from_public_offer: {
|
|
24820
|
+
Args: {
|
|
24821
|
+
p_carrier_id?: string;
|
|
24822
|
+
p_delivery_date?: string;
|
|
24823
|
+
p_delivery_garden_id?: string;
|
|
24824
|
+
p_offer_order_id: string;
|
|
24825
|
+
};
|
|
24826
|
+
Returns: import("./types").Json;
|
|
24827
|
+
};
|
|
22779
24828
|
current_monteur_id: {
|
|
22780
24829
|
Args: never;
|
|
22781
24830
|
Returns: string;
|
|
@@ -23277,6 +25326,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23277
25326
|
Args: never;
|
|
23278
25327
|
Returns: string;
|
|
23279
25328
|
};
|
|
25329
|
+
handover_afspraak_intrekken: {
|
|
25330
|
+
Args: {
|
|
25331
|
+
_sleutel: string;
|
|
25332
|
+
};
|
|
25333
|
+
Returns: boolean;
|
|
25334
|
+
};
|
|
25335
|
+
handover_afspraak_zetten: {
|
|
25336
|
+
Args: {
|
|
25337
|
+
_besluit: string;
|
|
25338
|
+
_item: string;
|
|
25339
|
+
_modules: string[];
|
|
25340
|
+
_sleutel: string;
|
|
25341
|
+
_soort: string;
|
|
25342
|
+
_versie_vingerafdruk: string;
|
|
25343
|
+
};
|
|
25344
|
+
Returns: boolean;
|
|
25345
|
+
};
|
|
25346
|
+
handover_afspraken: {
|
|
25347
|
+
Args: never;
|
|
25348
|
+
Returns: import("./types").Json;
|
|
25349
|
+
};
|
|
23280
25350
|
handover_archief_lijst: {
|
|
23281
25351
|
Args: never;
|
|
23282
25352
|
Returns: import("./types").Json;
|
|
@@ -23294,6 +25364,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23294
25364
|
};
|
|
23295
25365
|
Returns: boolean;
|
|
23296
25366
|
};
|
|
25367
|
+
handover_check_afronden_na_scan: {
|
|
25368
|
+
Args: {
|
|
25369
|
+
_module_ids: string[];
|
|
25370
|
+
};
|
|
25371
|
+
Returns: number;
|
|
25372
|
+
};
|
|
23297
25373
|
handover_check_markeren: {
|
|
23298
25374
|
Args: {
|
|
23299
25375
|
_module_ids: string[];
|
|
@@ -23337,6 +25413,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23337
25413
|
};
|
|
23338
25414
|
Returns: boolean;
|
|
23339
25415
|
};
|
|
25416
|
+
handover_md_bron_zetten: {
|
|
25417
|
+
Args: {
|
|
25418
|
+
_md: boolean;
|
|
25419
|
+
_module_id: string;
|
|
25420
|
+
_pad?: string;
|
|
25421
|
+
};
|
|
25422
|
+
Returns: boolean;
|
|
25423
|
+
};
|
|
23340
25424
|
handover_module_meta_zetten: {
|
|
23341
25425
|
Args: {
|
|
23342
25426
|
_module_id: string;
|
|
@@ -23345,6 +25429,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23345
25429
|
};
|
|
23346
25430
|
Returns: boolean;
|
|
23347
25431
|
};
|
|
25432
|
+
handover_naam_zetten: {
|
|
25433
|
+
Args: {
|
|
25434
|
+
_bron_repo?: string;
|
|
25435
|
+
_module_id: string;
|
|
25436
|
+
_weergavenaam?: string;
|
|
25437
|
+
};
|
|
25438
|
+
Returns: boolean;
|
|
25439
|
+
};
|
|
25440
|
+
handover_namen: {
|
|
25441
|
+
Args: never;
|
|
25442
|
+
Returns: import("./types").Json;
|
|
25443
|
+
};
|
|
25444
|
+
handover_nieuw_gezien: {
|
|
25445
|
+
Args: {
|
|
25446
|
+
_module_id: string;
|
|
25447
|
+
};
|
|
25448
|
+
Returns: boolean;
|
|
25449
|
+
};
|
|
23348
25450
|
handover_norm_naam: {
|
|
23349
25451
|
Args: {
|
|
23350
25452
|
_naam: string;
|
|
@@ -23381,6 +25483,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23381
25483
|
_versie_label?: string;
|
|
23382
25484
|
};
|
|
23383
25485
|
Returns: import("./types").Json;
|
|
25486
|
+
} | {
|
|
25487
|
+
Args: {
|
|
25488
|
+
_bekende_risicos?: string[];
|
|
25489
|
+
_bezit_tabellen?: string[];
|
|
25490
|
+
_bron_soort?: string;
|
|
25491
|
+
_commit?: string;
|
|
25492
|
+
_contractfuncties?: string[];
|
|
25493
|
+
_inhoud_md: string;
|
|
25494
|
+
_laatst_bevestigd_op?: string;
|
|
25495
|
+
_module_id: string;
|
|
25496
|
+
_module_titel: string;
|
|
25497
|
+
_ontbrekende_contracten?: string[];
|
|
25498
|
+
_pad?: string;
|
|
25499
|
+
_repo?: string;
|
|
25500
|
+
_samenvatting?: string;
|
|
25501
|
+
_versie_label?: string;
|
|
25502
|
+
};
|
|
25503
|
+
Returns: import("./types").Json;
|
|
23384
25504
|
};
|
|
23385
25505
|
handover_publish_via_token: {
|
|
23386
25506
|
Args: {
|
|
@@ -23478,6 +25598,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23478
25598
|
Args: never;
|
|
23479
25599
|
Returns: boolean;
|
|
23480
25600
|
};
|
|
25601
|
+
inkoop_apply_price_list: {
|
|
25602
|
+
Args: {
|
|
25603
|
+
_price_list_id: string;
|
|
25604
|
+
_rows: import("./types").Json;
|
|
25605
|
+
};
|
|
25606
|
+
Returns: import("./types").Json;
|
|
25607
|
+
};
|
|
25608
|
+
inkoop_next_order_number: {
|
|
25609
|
+
Args: never;
|
|
25610
|
+
Returns: string;
|
|
25611
|
+
};
|
|
25612
|
+
inkoop_send_order: {
|
|
25613
|
+
Args: {
|
|
25614
|
+
_order_id: string;
|
|
25615
|
+
};
|
|
25616
|
+
Returns: {
|
|
25617
|
+
outbox_id: string;
|
|
25618
|
+
supplier_name: string;
|
|
25619
|
+
to_address: string;
|
|
25620
|
+
}[];
|
|
25621
|
+
};
|
|
23481
25622
|
instructie_get: {
|
|
23482
25623
|
Args: {
|
|
23483
25624
|
_sleutel: string;
|
|
@@ -23531,12 +25672,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23531
25672
|
};
|
|
23532
25673
|
Returns: import("./types").Json;
|
|
23533
25674
|
};
|
|
25675
|
+
invoice_ready_work_orders: {
|
|
25676
|
+
Args: {
|
|
25677
|
+
_limit?: number;
|
|
25678
|
+
};
|
|
25679
|
+
Returns: import("./types").Json;
|
|
25680
|
+
};
|
|
23534
25681
|
invoice_recalc_totals: {
|
|
23535
25682
|
Args: {
|
|
23536
25683
|
_invoice_id: string;
|
|
23537
25684
|
};
|
|
23538
25685
|
Returns: import("./types").Json;
|
|
23539
25686
|
};
|
|
25687
|
+
invoice_source_lines: {
|
|
25688
|
+
Args: {
|
|
25689
|
+
_source_id: string;
|
|
25690
|
+
_source_type: string;
|
|
25691
|
+
};
|
|
25692
|
+
Returns: import("./types").Json;
|
|
25693
|
+
};
|
|
23540
25694
|
is_authenticated: {
|
|
23541
25695
|
Args: never;
|
|
23542
25696
|
Returns: boolean;
|
|
@@ -23769,6 +25923,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23769
25923
|
};
|
|
23770
25924
|
Returns: import("./types").Json;
|
|
23771
25925
|
};
|
|
25926
|
+
logistics_buffer_decision_for_settings: {
|
|
25927
|
+
Args: {
|
|
25928
|
+
p_order: import("./types").Json;
|
|
25929
|
+
p_settings: import("./types").Json;
|
|
25930
|
+
p_user_id?: string;
|
|
25931
|
+
};
|
|
25932
|
+
Returns: import("./types").Json;
|
|
25933
|
+
};
|
|
23772
25934
|
logistics_buffer_detach_late_orders: {
|
|
23773
25935
|
Args: {
|
|
23774
25936
|
p_buffer?: string;
|
|
@@ -23802,6 +25964,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23802
25964
|
};
|
|
23803
25965
|
Returns: string;
|
|
23804
25966
|
};
|
|
25967
|
+
logistics_buffer_payload: {
|
|
25968
|
+
Args: {
|
|
25969
|
+
p_order_id: string;
|
|
25970
|
+
};
|
|
25971
|
+
Returns: import("./types").Json;
|
|
25972
|
+
};
|
|
23805
25973
|
logistics_buffer_simulate: {
|
|
23806
25974
|
Args: {
|
|
23807
25975
|
p_orders?: import("./types").Json;
|
|
@@ -23860,6 +26028,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
23860
26028
|
};
|
|
23861
26029
|
Returns: string;
|
|
23862
26030
|
};
|
|
26031
|
+
logistics_cart_coverage_check: {
|
|
26032
|
+
Args: never;
|
|
26033
|
+
Returns: import("./types").Json;
|
|
26034
|
+
};
|
|
23863
26035
|
logistics_cart_handled: {
|
|
23864
26036
|
Args: {
|
|
23865
26037
|
p_cart_index: number;
|
|
@@ -24103,10 +26275,29 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24103
26275
|
isSetofReturn: false;
|
|
24104
26276
|
};
|
|
24105
26277
|
};
|
|
26278
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26279
|
+
Args: {
|
|
26280
|
+
p_limit?: number;
|
|
26281
|
+
p_order_id: string;
|
|
26282
|
+
};
|
|
26283
|
+
Returns: import("./types").Json;
|
|
26284
|
+
};
|
|
26285
|
+
logistics_cleanup_history: {
|
|
26286
|
+
Args: {
|
|
26287
|
+
p_limit?: number;
|
|
26288
|
+
};
|
|
26289
|
+
Returns: import("./types").Json;
|
|
26290
|
+
};
|
|
24106
26291
|
logistics_cleanup_orphan_print_jobs: {
|
|
24107
26292
|
Args: never;
|
|
24108
26293
|
Returns: import("./types").Json;
|
|
24109
26294
|
};
|
|
26295
|
+
logistics_cleanup_tasks: {
|
|
26296
|
+
Args: {
|
|
26297
|
+
p_limit?: number;
|
|
26298
|
+
};
|
|
26299
|
+
Returns: import("./types").Json;
|
|
26300
|
+
};
|
|
24110
26301
|
logistics_complete_task: {
|
|
24111
26302
|
Args: {
|
|
24112
26303
|
p_result?: import("./types").Json;
|
|
@@ -24254,6 +26445,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24254
26445
|
Args: never;
|
|
24255
26446
|
Returns: import("./types").Json;
|
|
24256
26447
|
};
|
|
26448
|
+
logistics_cron_health: {
|
|
26449
|
+
Args: never;
|
|
26450
|
+
Returns: import("./types").Json;
|
|
26451
|
+
};
|
|
24257
26452
|
logistics_day_windows: {
|
|
24258
26453
|
Args: {
|
|
24259
26454
|
p_day: string;
|
|
@@ -24603,6 +26798,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24603
26798
|
};
|
|
24604
26799
|
Returns: number;
|
|
24605
26800
|
};
|
|
26801
|
+
logistics_merge_decision: {
|
|
26802
|
+
Args: {
|
|
26803
|
+
p_lines: import("./types").Json;
|
|
26804
|
+
};
|
|
26805
|
+
Returns: import("./types").Json;
|
|
26806
|
+
};
|
|
26807
|
+
logistics_merge_floriday_lines: {
|
|
26808
|
+
Args: {
|
|
26809
|
+
p_order_id: string;
|
|
26810
|
+
};
|
|
26811
|
+
Returns: string;
|
|
26812
|
+
};
|
|
26813
|
+
logistics_merge_lines_enabled: {
|
|
26814
|
+
Args: never;
|
|
26815
|
+
Returns: boolean;
|
|
26816
|
+
};
|
|
24606
26817
|
logistics_merge_partial_carts: {
|
|
24607
26818
|
Args: {
|
|
24608
26819
|
p_limit?: number;
|
|
@@ -24639,12 +26850,90 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24639
26850
|
Args: never;
|
|
24640
26851
|
Returns: string;
|
|
24641
26852
|
};
|
|
26853
|
+
logistics_order_cart_approval: {
|
|
26854
|
+
Args: {
|
|
26855
|
+
_order_ref: string;
|
|
26856
|
+
};
|
|
26857
|
+
Returns: {
|
|
26858
|
+
approved: number;
|
|
26859
|
+
total: number;
|
|
26860
|
+
}[];
|
|
26861
|
+
};
|
|
24642
26862
|
logistics_order_cart_count: {
|
|
24643
26863
|
Args: {
|
|
24644
26864
|
p_order_ref: string;
|
|
24645
26865
|
};
|
|
24646
26866
|
Returns: number;
|
|
24647
26867
|
};
|
|
26868
|
+
logistics_order_changed: {
|
|
26869
|
+
Args: {
|
|
26870
|
+
p_order_id: string;
|
|
26871
|
+
p_reason?: string;
|
|
26872
|
+
};
|
|
26873
|
+
Returns: undefined;
|
|
26874
|
+
};
|
|
26875
|
+
logistics_order_documents_ready: {
|
|
26876
|
+
Args: {
|
|
26877
|
+
p_order_ref: string;
|
|
26878
|
+
};
|
|
26879
|
+
Returns: import("./types").Json;
|
|
26880
|
+
};
|
|
26881
|
+
logistics_order_documents_ready_bool: {
|
|
26882
|
+
Args: {
|
|
26883
|
+
p_order_ref: string;
|
|
26884
|
+
};
|
|
26885
|
+
Returns: boolean;
|
|
26886
|
+
};
|
|
26887
|
+
logistics_order_finalize_enqueue: {
|
|
26888
|
+
Args: {
|
|
26889
|
+
p_order_id: string;
|
|
26890
|
+
p_reason?: string;
|
|
26891
|
+
};
|
|
26892
|
+
Returns: undefined;
|
|
26893
|
+
};
|
|
26894
|
+
logistics_order_finalize_overview: {
|
|
26895
|
+
Args: never;
|
|
26896
|
+
Returns: {
|
|
26897
|
+
bezig: number;
|
|
26898
|
+
laatst_afgerond: string;
|
|
26899
|
+
laatste_fout: string;
|
|
26900
|
+
mislukt: number;
|
|
26901
|
+
oudste_wachttijd_seconden: number;
|
|
26902
|
+
wachtend: number;
|
|
26903
|
+
}[];
|
|
26904
|
+
};
|
|
26905
|
+
logistics_order_finalize_prune: {
|
|
26906
|
+
Args: {
|
|
26907
|
+
p_days?: number;
|
|
26908
|
+
};
|
|
26909
|
+
Returns: number;
|
|
26910
|
+
};
|
|
26911
|
+
logistics_order_finalize_reconcile: {
|
|
26912
|
+
Args: {
|
|
26913
|
+
p_days?: number;
|
|
26914
|
+
p_limit?: number;
|
|
26915
|
+
};
|
|
26916
|
+
Returns: number;
|
|
26917
|
+
};
|
|
26918
|
+
logistics_order_finalize_retry: {
|
|
26919
|
+
Args: {
|
|
26920
|
+
p_order_id: string;
|
|
26921
|
+
};
|
|
26922
|
+
Returns: boolean;
|
|
26923
|
+
};
|
|
26924
|
+
logistics_order_finalize_run: {
|
|
26925
|
+
Args: {
|
|
26926
|
+
p_lease_seconds?: number;
|
|
26927
|
+
p_limit?: number;
|
|
26928
|
+
};
|
|
26929
|
+
Returns: number;
|
|
26930
|
+
};
|
|
26931
|
+
logistics_order_frozen: {
|
|
26932
|
+
Args: {
|
|
26933
|
+
p_order_id: string;
|
|
26934
|
+
};
|
|
26935
|
+
Returns: boolean;
|
|
26936
|
+
};
|
|
24648
26937
|
logistics_order_handled: {
|
|
24649
26938
|
Args: {
|
|
24650
26939
|
p_order_uuid: string;
|
|
@@ -24658,6 +26947,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24658
26947
|
};
|
|
24659
26948
|
Returns: boolean;
|
|
24660
26949
|
};
|
|
26950
|
+
logistics_order_line_duplicates: {
|
|
26951
|
+
Args: {
|
|
26952
|
+
p_order_id: string;
|
|
26953
|
+
};
|
|
26954
|
+
Returns: import("./types").Json;
|
|
26955
|
+
};
|
|
26956
|
+
logistics_order_merge_key: {
|
|
26957
|
+
Args: {
|
|
26958
|
+
p_group_key: string;
|
|
26959
|
+
};
|
|
26960
|
+
Returns: string;
|
|
26961
|
+
};
|
|
26962
|
+
logistics_order_mergeable: {
|
|
26963
|
+
Args: {
|
|
26964
|
+
p_order_id: string;
|
|
26965
|
+
};
|
|
26966
|
+
Returns: boolean;
|
|
26967
|
+
};
|
|
24661
26968
|
logistics_order_overview: {
|
|
24662
26969
|
Args: {
|
|
24663
26970
|
p_from?: string;
|
|
@@ -24689,6 +26996,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24689
26996
|
};
|
|
24690
26997
|
Returns: boolean;
|
|
24691
26998
|
};
|
|
26999
|
+
logistics_packing_autofix: {
|
|
27000
|
+
Args: {
|
|
27001
|
+
p_limit?: number;
|
|
27002
|
+
};
|
|
27003
|
+
Returns: number;
|
|
27004
|
+
};
|
|
27005
|
+
logistics_packing_block_reason: {
|
|
27006
|
+
Args: {
|
|
27007
|
+
p_order_id: string;
|
|
27008
|
+
p_order_item_id: string;
|
|
27009
|
+
};
|
|
27010
|
+
Returns: string;
|
|
27011
|
+
};
|
|
27012
|
+
logistics_packing_dismiss: {
|
|
27013
|
+
Args: {
|
|
27014
|
+
p_id: string;
|
|
27015
|
+
p_note?: string;
|
|
27016
|
+
};
|
|
27017
|
+
Returns: boolean;
|
|
27018
|
+
};
|
|
27019
|
+
logistics_packing_overview: {
|
|
27020
|
+
Args: never;
|
|
27021
|
+
Returns: {
|
|
27022
|
+
beoordelen: number;
|
|
27023
|
+
herstelbaar: number;
|
|
27024
|
+
laatst_gemeten: string;
|
|
27025
|
+
laatst_hersteld: string;
|
|
27026
|
+
open_totaal: number;
|
|
27027
|
+
orders: number;
|
|
27028
|
+
oudste_seconden: number;
|
|
27029
|
+
producten: number;
|
|
27030
|
+
}[];
|
|
27031
|
+
};
|
|
27032
|
+
logistics_packing_reconcile: {
|
|
27033
|
+
Args: {
|
|
27034
|
+
p_fix_limit?: number;
|
|
27035
|
+
p_scan_limit?: number;
|
|
27036
|
+
};
|
|
27037
|
+
Returns: {
|
|
27038
|
+
beoordelen: number;
|
|
27039
|
+
gevonden: number;
|
|
27040
|
+
hersteld: number;
|
|
27041
|
+
}[];
|
|
27042
|
+
};
|
|
27043
|
+
logistics_packing_scan: {
|
|
27044
|
+
Args: {
|
|
27045
|
+
p_limit?: number;
|
|
27046
|
+
};
|
|
27047
|
+
Returns: number;
|
|
27048
|
+
};
|
|
27049
|
+
logistics_packing_set_manual: {
|
|
27050
|
+
Args: {
|
|
27051
|
+
p_manual?: boolean;
|
|
27052
|
+
p_order_item_id: string;
|
|
27053
|
+
};
|
|
27054
|
+
Returns: boolean;
|
|
27055
|
+
};
|
|
24692
27056
|
logistics_parse_pickup: {
|
|
24693
27057
|
Args: {
|
|
24694
27058
|
p_value: string;
|
|
@@ -24782,6 +27146,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24782
27146
|
order_id: string;
|
|
24783
27147
|
}[];
|
|
24784
27148
|
};
|
|
27149
|
+
logistics_plan_defer: {
|
|
27150
|
+
Args: {
|
|
27151
|
+
p_id: string;
|
|
27152
|
+
};
|
|
27153
|
+
Returns: undefined;
|
|
27154
|
+
};
|
|
24785
27155
|
logistics_plan_enqueue: {
|
|
24786
27156
|
Args: {
|
|
24787
27157
|
p_order_id: string;
|
|
@@ -24795,6 +27165,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24795
27165
|
};
|
|
24796
27166
|
Returns: boolean;
|
|
24797
27167
|
};
|
|
27168
|
+
logistics_plan_error_class: {
|
|
27169
|
+
Args: {
|
|
27170
|
+
p_error: string;
|
|
27171
|
+
};
|
|
27172
|
+
Returns: string;
|
|
27173
|
+
};
|
|
27174
|
+
logistics_plan_error_text: {
|
|
27175
|
+
Args: {
|
|
27176
|
+
p_error: string;
|
|
27177
|
+
};
|
|
27178
|
+
Returns: string;
|
|
27179
|
+
};
|
|
24798
27180
|
logistics_plan_finish: {
|
|
24799
27181
|
Args: {
|
|
24800
27182
|
p_error?: string;
|
|
@@ -24823,6 +27205,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24823
27205
|
Args: never;
|
|
24824
27206
|
Returns: undefined;
|
|
24825
27207
|
};
|
|
27208
|
+
logistics_plan_lock_acquire: {
|
|
27209
|
+
Args: {
|
|
27210
|
+
_key: string;
|
|
27211
|
+
_owner?: string;
|
|
27212
|
+
_ttl_seconds?: number;
|
|
27213
|
+
};
|
|
27214
|
+
Returns: boolean;
|
|
27215
|
+
};
|
|
27216
|
+
logistics_plan_lock_release: {
|
|
27217
|
+
Args: {
|
|
27218
|
+
_key: string;
|
|
27219
|
+
_owner?: string;
|
|
27220
|
+
};
|
|
27221
|
+
Returns: undefined;
|
|
27222
|
+
};
|
|
24826
27223
|
logistics_plan_progress: {
|
|
24827
27224
|
Args: {
|
|
24828
27225
|
p_refs: string[];
|
|
@@ -24837,14 +27234,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24837
27234
|
unit_ref: string;
|
|
24838
27235
|
}[];
|
|
24839
27236
|
};
|
|
27237
|
+
logistics_plan_progress_pct: {
|
|
27238
|
+
Args: {
|
|
27239
|
+
p_order_id: string;
|
|
27240
|
+
};
|
|
27241
|
+
Returns: number;
|
|
27242
|
+
};
|
|
24840
27243
|
logistics_plan_prune: {
|
|
24841
27244
|
Args: never;
|
|
24842
27245
|
Returns: number;
|
|
24843
27246
|
};
|
|
27247
|
+
logistics_plan_queue_list: {
|
|
27248
|
+
Args: {
|
|
27249
|
+
p_limit?: number;
|
|
27250
|
+
};
|
|
27251
|
+
Returns: {
|
|
27252
|
+
attempts: number;
|
|
27253
|
+
claimed_at: string;
|
|
27254
|
+
customer_name: string;
|
|
27255
|
+
enqueued_at: string;
|
|
27256
|
+
error_class: string;
|
|
27257
|
+
error_raw: string;
|
|
27258
|
+
error_text: string;
|
|
27259
|
+
id: string;
|
|
27260
|
+
max_attempts: number;
|
|
27261
|
+
next_attempt_at: string;
|
|
27262
|
+
order_created_at: string;
|
|
27263
|
+
order_id: string;
|
|
27264
|
+
order_number: string;
|
|
27265
|
+
progress_pct: number;
|
|
27266
|
+
reason: string;
|
|
27267
|
+
stand: string;
|
|
27268
|
+
status: string;
|
|
27269
|
+
updated_at: string;
|
|
27270
|
+
}[];
|
|
27271
|
+
};
|
|
24844
27272
|
logistics_plan_release_stale: {
|
|
24845
27273
|
Args: never;
|
|
24846
27274
|
Returns: number;
|
|
24847
27275
|
};
|
|
27276
|
+
logistics_plan_reset_queue: {
|
|
27277
|
+
Args: {
|
|
27278
|
+
p_scope?: string;
|
|
27279
|
+
};
|
|
27280
|
+
Returns: number;
|
|
27281
|
+
};
|
|
24848
27282
|
logistics_plan_retry: {
|
|
24849
27283
|
Args: {
|
|
24850
27284
|
p_order_ids: string[];
|
|
@@ -24864,6 +27298,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24864
27298
|
};
|
|
24865
27299
|
Returns: import("./types").Json;
|
|
24866
27300
|
};
|
|
27301
|
+
logistics_plan_timeout_running: {
|
|
27302
|
+
Args: never;
|
|
27303
|
+
Returns: number;
|
|
27304
|
+
};
|
|
27305
|
+
logistics_planner_cart_snapshot: {
|
|
27306
|
+
Args: {
|
|
27307
|
+
p_buffer_id: string;
|
|
27308
|
+
p_order_id: string;
|
|
27309
|
+
};
|
|
27310
|
+
Returns: import("./types").Json;
|
|
27311
|
+
};
|
|
27312
|
+
logistics_planner_diff_mode: {
|
|
27313
|
+
Args: never;
|
|
27314
|
+
Returns: string;
|
|
27315
|
+
};
|
|
27316
|
+
logistics_planner_diff_prune: {
|
|
27317
|
+
Args: never;
|
|
27318
|
+
Returns: number;
|
|
27319
|
+
};
|
|
24867
27320
|
logistics_prepare_pick_documents: {
|
|
24868
27321
|
Args: {
|
|
24869
27322
|
p_limit?: number;
|
|
@@ -24874,6 +27327,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24874
27327
|
Args: never;
|
|
24875
27328
|
Returns: number;
|
|
24876
27329
|
};
|
|
27330
|
+
logistics_prune_cron_history: {
|
|
27331
|
+
Args: {
|
|
27332
|
+
p_days?: number;
|
|
27333
|
+
};
|
|
27334
|
+
Returns: number;
|
|
27335
|
+
};
|
|
24877
27336
|
logistics_prune_handled_pick_queue: {
|
|
24878
27337
|
Args: never;
|
|
24879
27338
|
Returns: number;
|
|
@@ -24910,6 +27369,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24910
27369
|
Args: never;
|
|
24911
27370
|
Returns: import("./types").Json;
|
|
24912
27371
|
};
|
|
27372
|
+
logistics_recalc_tick_kick: {
|
|
27373
|
+
Args: never;
|
|
27374
|
+
Returns: number;
|
|
27375
|
+
};
|
|
27376
|
+
logistics_reconcile_missing_plan_queue: {
|
|
27377
|
+
Args: never;
|
|
27378
|
+
Returns: number;
|
|
27379
|
+
};
|
|
24913
27380
|
logistics_refresh_pick_queue_status: {
|
|
24914
27381
|
Args: {
|
|
24915
27382
|
p_ref: string;
|
|
@@ -24940,6 +27407,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24940
27407
|
};
|
|
24941
27408
|
Returns: import("./types").Json;
|
|
24942
27409
|
};
|
|
27410
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
27411
|
+
Args: {
|
|
27412
|
+
p_order_id: string;
|
|
27413
|
+
p_reason: string;
|
|
27414
|
+
};
|
|
27415
|
+
Returns: import("./types").Json;
|
|
27416
|
+
};
|
|
27417
|
+
logistics_replan_order_journey: {
|
|
27418
|
+
Args: {
|
|
27419
|
+
p_order_ref: string;
|
|
27420
|
+
};
|
|
27421
|
+
Returns: import("./types").Json;
|
|
27422
|
+
} | {
|
|
27423
|
+
Args: {
|
|
27424
|
+
p_order_ref: string;
|
|
27425
|
+
p_reason: string;
|
|
27426
|
+
};
|
|
27427
|
+
Returns: import("./types").Json;
|
|
27428
|
+
};
|
|
24943
27429
|
logistics_report_delay: {
|
|
24944
27430
|
Args: {
|
|
24945
27431
|
p_expected_date?: string;
|
|
@@ -24984,6 +27470,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
24984
27470
|
};
|
|
24985
27471
|
Returns: import("./types").Json;
|
|
24986
27472
|
};
|
|
27473
|
+
logistics_reserved_stock_nightly: {
|
|
27474
|
+
Args: never;
|
|
27475
|
+
Returns: undefined;
|
|
27476
|
+
};
|
|
24987
27477
|
logistics_resolve_pick_document: {
|
|
24988
27478
|
Args: {
|
|
24989
27479
|
_is_herprint: boolean;
|
|
@@ -25007,7 +27497,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25007
27497
|
};
|
|
25008
27498
|
Returns: import("./types").Json;
|
|
25009
27499
|
};
|
|
25010
|
-
|
|
27500
|
+
logistics_retention_days: {
|
|
27501
|
+
Args: {
|
|
27502
|
+
p_key: string;
|
|
27503
|
+
};
|
|
27504
|
+
Returns: number;
|
|
27505
|
+
};
|
|
27506
|
+
logistics_rule_bool: {
|
|
25011
27507
|
Args: {
|
|
25012
27508
|
p_default: boolean;
|
|
25013
27509
|
p_key: string;
|
|
@@ -25061,6 +27557,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25061
27557
|
logistics_schedule_tasks: {
|
|
25062
27558
|
Args: never;
|
|
25063
27559
|
Returns: number;
|
|
27560
|
+
} | {
|
|
27561
|
+
Args: {
|
|
27562
|
+
p_order_ref?: string;
|
|
27563
|
+
};
|
|
27564
|
+
Returns: number;
|
|
25064
27565
|
};
|
|
25065
27566
|
logistics_set_order_priority: {
|
|
25066
27567
|
Args: {
|
|
@@ -25084,6 +27585,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25084
27585
|
};
|
|
25085
27586
|
Returns: string;
|
|
25086
27587
|
};
|
|
27588
|
+
logistics_shipping_note_diagnose: {
|
|
27589
|
+
Args: {
|
|
27590
|
+
p_order_number: string;
|
|
27591
|
+
};
|
|
27592
|
+
Returns: import("./types").Json;
|
|
27593
|
+
};
|
|
25087
27594
|
logistics_shipping_note_follows_slip: {
|
|
25088
27595
|
Args: never;
|
|
25089
27596
|
Returns: boolean;
|
|
@@ -25208,6 +27715,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25208
27715
|
};
|
|
25209
27716
|
Returns: number;
|
|
25210
27717
|
};
|
|
27718
|
+
logistics_task_retention_days: {
|
|
27719
|
+
Args: never;
|
|
27720
|
+
Returns: number;
|
|
27721
|
+
};
|
|
27722
|
+
logistics_tasks_prune: {
|
|
27723
|
+
Args: {
|
|
27724
|
+
p_days?: number;
|
|
27725
|
+
};
|
|
27726
|
+
Returns: number;
|
|
27727
|
+
};
|
|
27728
|
+
logistics_tick: {
|
|
27729
|
+
Args: never;
|
|
27730
|
+
Returns: import("./types").Json;
|
|
27731
|
+
};
|
|
25211
27732
|
logistics_tick_ping: {
|
|
25212
27733
|
Args: never;
|
|
25213
27734
|
Returns: string;
|
|
@@ -25231,12 +27752,46 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25231
27752
|
};
|
|
25232
27753
|
Returns: import("./types").Json;
|
|
25233
27754
|
};
|
|
27755
|
+
logistics_trace_archive_order: {
|
|
27756
|
+
Args: {
|
|
27757
|
+
p_order_ref: string;
|
|
27758
|
+
p_reason: string;
|
|
27759
|
+
};
|
|
27760
|
+
Returns: number;
|
|
27761
|
+
};
|
|
25234
27762
|
logistics_trace_batch: {
|
|
25235
27763
|
Args: {
|
|
25236
27764
|
p: import("./types").Json;
|
|
25237
27765
|
};
|
|
25238
27766
|
Returns: number;
|
|
25239
27767
|
};
|
|
27768
|
+
logistics_trace_derive: {
|
|
27769
|
+
Args: {
|
|
27770
|
+
p: import("./types").Json;
|
|
27771
|
+
};
|
|
27772
|
+
Returns: number;
|
|
27773
|
+
};
|
|
27774
|
+
logistics_trace_node: {
|
|
27775
|
+
Args: {
|
|
27776
|
+
p_op?: string;
|
|
27777
|
+
p_status?: string;
|
|
27778
|
+
p_table: string;
|
|
27779
|
+
};
|
|
27780
|
+
Returns: string;
|
|
27781
|
+
};
|
|
27782
|
+
logistics_trace_order_journey_start: {
|
|
27783
|
+
Args: {
|
|
27784
|
+
p_order_id: string;
|
|
27785
|
+
p_reason?: string;
|
|
27786
|
+
};
|
|
27787
|
+
Returns: string;
|
|
27788
|
+
};
|
|
27789
|
+
logistics_trace_order_origin: {
|
|
27790
|
+
Args: {
|
|
27791
|
+
p_order_id: string;
|
|
27792
|
+
};
|
|
27793
|
+
Returns: undefined;
|
|
27794
|
+
};
|
|
25240
27795
|
logistics_trace_order_overview: {
|
|
25241
27796
|
Args: {
|
|
25242
27797
|
p_error_class?: string;
|
|
@@ -25255,6 +27810,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25255
27810
|
};
|
|
25256
27811
|
Returns: import("./types").Json;
|
|
25257
27812
|
};
|
|
27813
|
+
logistics_trace_order_step: {
|
|
27814
|
+
Args: {
|
|
27815
|
+
p_class?: string;
|
|
27816
|
+
p_decision?: string;
|
|
27817
|
+
p_error?: string;
|
|
27818
|
+
p_next_step?: string;
|
|
27819
|
+
p_node: string;
|
|
27820
|
+
p_order_id: string;
|
|
27821
|
+
p_reason?: string;
|
|
27822
|
+
p_status: string;
|
|
27823
|
+
p_step: string;
|
|
27824
|
+
};
|
|
27825
|
+
Returns: undefined;
|
|
27826
|
+
};
|
|
25258
27827
|
logistics_trace_orders: {
|
|
25259
27828
|
Args: {
|
|
25260
27829
|
p_limit?: number;
|
|
@@ -25264,12 +27833,54 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25264
27833
|
};
|
|
25265
27834
|
Returns: import("./types").Json;
|
|
25266
27835
|
};
|
|
27836
|
+
logistics_trace_pick_state: {
|
|
27837
|
+
Args: {
|
|
27838
|
+
p_order_number: string;
|
|
27839
|
+
};
|
|
27840
|
+
Returns: undefined;
|
|
27841
|
+
};
|
|
27842
|
+
logistics_trace_progress: {
|
|
27843
|
+
Args: {
|
|
27844
|
+
p_limit?: number;
|
|
27845
|
+
};
|
|
27846
|
+
Returns: import("./types").Json;
|
|
27847
|
+
};
|
|
27848
|
+
logistics_trace_progress_order: {
|
|
27849
|
+
Args: {
|
|
27850
|
+
p_order_ref: string;
|
|
27851
|
+
};
|
|
27852
|
+
Returns: import("./types").Json;
|
|
27853
|
+
};
|
|
25267
27854
|
logistics_trace_redact: {
|
|
25268
27855
|
Args: {
|
|
25269
27856
|
p: import("./types").Json;
|
|
25270
27857
|
};
|
|
25271
27858
|
Returns: import("./types").Json;
|
|
25272
27859
|
};
|
|
27860
|
+
logistics_trace_source_node: {
|
|
27861
|
+
Args: {
|
|
27862
|
+
p_source: string;
|
|
27863
|
+
};
|
|
27864
|
+
Returns: string;
|
|
27865
|
+
};
|
|
27866
|
+
logistics_trace_step_once: {
|
|
27867
|
+
Args: {
|
|
27868
|
+
p_decision: string;
|
|
27869
|
+
p_next_step?: string;
|
|
27870
|
+
p_node: string;
|
|
27871
|
+
p_order_id: string;
|
|
27872
|
+
p_reason: string;
|
|
27873
|
+
p_status: string;
|
|
27874
|
+
p_step: string;
|
|
27875
|
+
};
|
|
27876
|
+
Returns: undefined;
|
|
27877
|
+
};
|
|
27878
|
+
logistics_trace_stock_check: {
|
|
27879
|
+
Args: {
|
|
27880
|
+
p_order_id: string;
|
|
27881
|
+
};
|
|
27882
|
+
Returns: undefined;
|
|
27883
|
+
};
|
|
25273
27884
|
logistics_trace_timeline: {
|
|
25274
27885
|
Args: {
|
|
25275
27886
|
p_limit?: number;
|
|
@@ -25383,6 +27994,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25383
27994
|
permission: string;
|
|
25384
27995
|
}[];
|
|
25385
27996
|
};
|
|
27997
|
+
next_cart_day_seq: {
|
|
27998
|
+
Args: {
|
|
27999
|
+
p_date: string;
|
|
28000
|
+
};
|
|
28001
|
+
Returns: number;
|
|
28002
|
+
};
|
|
25386
28003
|
next_manufacture_partij: {
|
|
25387
28004
|
Args: {
|
|
25388
28005
|
_tenant_id: string;
|
|
@@ -25452,6 +28069,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
25452
28069
|
};
|
|
25453
28070
|
Returns: boolean;
|
|
25454
28071
|
};
|
|
28072
|
+
order_items_duplicate_report: {
|
|
28073
|
+
Args: {
|
|
28074
|
+
_order_ref?: string;
|
|
28075
|
+
};
|
|
28076
|
+
Returns: {
|
|
28077
|
+
distinct_products: number;
|
|
28078
|
+
duplicate_factor: number;
|
|
28079
|
+
lines: number;
|
|
28080
|
+
order_number: string;
|
|
28081
|
+
}[];
|
|
28082
|
+
};
|
|
25455
28083
|
order_number_prefix: {
|
|
25456
28084
|
Args: {
|
|
25457
28085
|
p_custom_fields?: import("./types").Json;
|
|
@@ -26235,6 +28863,22 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26235
28863
|
};
|
|
26236
28864
|
Returns: undefined;
|
|
26237
28865
|
};
|
|
28866
|
+
planning_apply_schedule_updates: {
|
|
28867
|
+
Args: {
|
|
28868
|
+
_updates: import("./types").Json;
|
|
28869
|
+
};
|
|
28870
|
+
Returns: undefined;
|
|
28871
|
+
};
|
|
28872
|
+
planning_assert_no_overlaps: {
|
|
28873
|
+
Args: never;
|
|
28874
|
+
Returns: undefined;
|
|
28875
|
+
};
|
|
28876
|
+
planning_assert_no_overlaps_for_items: {
|
|
28877
|
+
Args: {
|
|
28878
|
+
_item_ids: string[];
|
|
28879
|
+
};
|
|
28880
|
+
Returns: undefined;
|
|
28881
|
+
};
|
|
26238
28882
|
planning_cancel_item: {
|
|
26239
28883
|
Args: {
|
|
26240
28884
|
_id: string;
|
|
@@ -26338,6 +28982,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26338
28982
|
Args: never;
|
|
26339
28983
|
Returns: number;
|
|
26340
28984
|
};
|
|
28985
|
+
quote_ack_work_order: {
|
|
28986
|
+
Args: {
|
|
28987
|
+
_queue_id: string;
|
|
28988
|
+
_werkbon_id: string;
|
|
28989
|
+
_werkbon_nummer?: string;
|
|
28990
|
+
};
|
|
28991
|
+
Returns: boolean;
|
|
28992
|
+
};
|
|
26341
28993
|
quote_create_from_source: {
|
|
26342
28994
|
Args: {
|
|
26343
28995
|
_payload?: import("./types").Json;
|
|
@@ -26346,6 +28998,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26346
28998
|
};
|
|
26347
28999
|
Returns: string;
|
|
26348
29000
|
};
|
|
29001
|
+
quote_fail_work_order: {
|
|
29002
|
+
Args: {
|
|
29003
|
+
_foutmelding: string;
|
|
29004
|
+
_queue_id: string;
|
|
29005
|
+
};
|
|
29006
|
+
Returns: boolean;
|
|
29007
|
+
};
|
|
26349
29008
|
quote_get_billable_lines: {
|
|
26350
29009
|
Args: {
|
|
26351
29010
|
_quotation_id: string;
|
|
@@ -26362,6 +29021,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26362
29021
|
Args: never;
|
|
26363
29022
|
Returns: import("./types").Json;
|
|
26364
29023
|
};
|
|
29024
|
+
quote_list_pending_work_orders: {
|
|
29025
|
+
Args: {
|
|
29026
|
+
_limit?: number;
|
|
29027
|
+
};
|
|
29028
|
+
Returns: import("./types").Json;
|
|
29029
|
+
};
|
|
26365
29030
|
quote_list_sources: {
|
|
26366
29031
|
Args: {
|
|
26367
29032
|
_limit?: number;
|
|
@@ -26369,6 +29034,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26369
29034
|
};
|
|
26370
29035
|
Returns: import("./types").Json;
|
|
26371
29036
|
};
|
|
29037
|
+
quote_queue_follow_up: {
|
|
29038
|
+
Args: {
|
|
29039
|
+
_offerte_id: string;
|
|
29040
|
+
};
|
|
29041
|
+
Returns: string;
|
|
29042
|
+
};
|
|
26372
29043
|
recompute_all_reserved_stock: {
|
|
26373
29044
|
Args: never;
|
|
26374
29045
|
Returns: undefined;
|
|
@@ -26562,6 +29233,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26562
29233
|
Args: never;
|
|
26563
29234
|
Returns: undefined;
|
|
26564
29235
|
};
|
|
29236
|
+
run_order_auto_invoice_tick: {
|
|
29237
|
+
Args: never;
|
|
29238
|
+
Returns: number;
|
|
29239
|
+
};
|
|
26565
29240
|
run_print_queue_ticks: {
|
|
26566
29241
|
Args: never;
|
|
26567
29242
|
Returns: number;
|
|
@@ -26939,6 +29614,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
26939
29614
|
};
|
|
26940
29615
|
Returns: number;
|
|
26941
29616
|
};
|
|
29617
|
+
schedule_floriday_trade_items_reconcile: {
|
|
29618
|
+
Args: {
|
|
29619
|
+
p_apikey: string;
|
|
29620
|
+
p_url: string;
|
|
29621
|
+
};
|
|
29622
|
+
Returns: number;
|
|
29623
|
+
};
|
|
26942
29624
|
schedule_floriday_trade_items_sync: {
|
|
26943
29625
|
Args: {
|
|
26944
29626
|
p_apikey: string;
|
|
@@ -27050,6 +29732,52 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27050
29732
|
p_end_time: string;
|
|
27051
29733
|
};
|
|
27052
29734
|
Returns: import("./types").Json;
|
|
29735
|
+
} | {
|
|
29736
|
+
Args: {
|
|
29737
|
+
p_end_lat?: number;
|
|
29738
|
+
p_end_lng?: number;
|
|
29739
|
+
p_log_id: string;
|
|
29740
|
+
};
|
|
29741
|
+
Returns: {
|
|
29742
|
+
auto_stop_reason: string | null;
|
|
29743
|
+
auto_stopped: boolean;
|
|
29744
|
+
created_at: string;
|
|
29745
|
+
current_latitude: number | null;
|
|
29746
|
+
current_longitude: number | null;
|
|
29747
|
+
current_position_updated_at: string | null;
|
|
29748
|
+
employee_id: string;
|
|
29749
|
+
end_latitude: number | null;
|
|
29750
|
+
end_longitude: number | null;
|
|
29751
|
+
end_time: string | null;
|
|
29752
|
+
eta_distance_km: number | null;
|
|
29753
|
+
eta_minutes: number | null;
|
|
29754
|
+
eta_updated_at: string | null;
|
|
29755
|
+
hour_category: string | null;
|
|
29756
|
+
id: string;
|
|
29757
|
+
last_reminder_at: string | null;
|
|
29758
|
+
notes: string | null;
|
|
29759
|
+
overtime_hours: number;
|
|
29760
|
+
overtime_type: string | null;
|
|
29761
|
+
regular_hours: number;
|
|
29762
|
+
reminder_count: number;
|
|
29763
|
+
requires_review: boolean;
|
|
29764
|
+
start_latitude: number | null;
|
|
29765
|
+
start_longitude: number | null;
|
|
29766
|
+
start_time: string;
|
|
29767
|
+
travel_cost: number | null;
|
|
29768
|
+
travel_distance_km: number | null;
|
|
29769
|
+
travel_duration_min: number | null;
|
|
29770
|
+
travel_time_minutes: number | null;
|
|
29771
|
+
type: string;
|
|
29772
|
+
updated_at: string;
|
|
29773
|
+
work_order_id: string | null;
|
|
29774
|
+
};
|
|
29775
|
+
SetofOptions: {
|
|
29776
|
+
from: "*";
|
|
29777
|
+
to: "time_logs";
|
|
29778
|
+
isOneToOne: true;
|
|
29779
|
+
isSetofReturn: false;
|
|
29780
|
+
};
|
|
27053
29781
|
};
|
|
27054
29782
|
swap_cart_layer_positions: {
|
|
27055
29783
|
Args: {
|
|
@@ -27206,14 +29934,323 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27206
29934
|
};
|
|
27207
29935
|
Returns: undefined;
|
|
27208
29936
|
};
|
|
29937
|
+
uren_employee_day_hours: {
|
|
29938
|
+
Args: {
|
|
29939
|
+
_day: string;
|
|
29940
|
+
_employee_id: string;
|
|
29941
|
+
};
|
|
29942
|
+
Returns: number;
|
|
29943
|
+
};
|
|
27209
29944
|
uren_is_beheerder: {
|
|
27210
29945
|
Args: never;
|
|
27211
29946
|
Returns: boolean;
|
|
27212
29947
|
};
|
|
29948
|
+
uren_is_werkdag: {
|
|
29949
|
+
Args: {
|
|
29950
|
+
_date: string;
|
|
29951
|
+
_monteur: string;
|
|
29952
|
+
};
|
|
29953
|
+
Returns: boolean;
|
|
29954
|
+
};
|
|
29955
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
29956
|
+
Args: {
|
|
29957
|
+
_datum: string;
|
|
29958
|
+
_eind: string;
|
|
29959
|
+
_reden: string;
|
|
29960
|
+
_start: string;
|
|
29961
|
+
};
|
|
29962
|
+
Returns: string;
|
|
29963
|
+
};
|
|
29964
|
+
uren_list_medewerkers: {
|
|
29965
|
+
Args: never;
|
|
29966
|
+
Returns: {
|
|
29967
|
+
avatar_url: string;
|
|
29968
|
+
color: string;
|
|
29969
|
+
display_name: string;
|
|
29970
|
+
email: string;
|
|
29971
|
+
hours_fri: number;
|
|
29972
|
+
hours_mon: number;
|
|
29973
|
+
hours_thu: number;
|
|
29974
|
+
hours_tue: number;
|
|
29975
|
+
hours_wed: number;
|
|
29976
|
+
id: string;
|
|
29977
|
+
is_active: boolean;
|
|
29978
|
+
leave_balance_hours: number;
|
|
29979
|
+
persnr: string;
|
|
29980
|
+
phone: string;
|
|
29981
|
+
roles: string[];
|
|
29982
|
+
}[];
|
|
29983
|
+
};
|
|
29984
|
+
uren_list_planner_contacten: {
|
|
29985
|
+
Args: never;
|
|
29986
|
+
Returns: {
|
|
29987
|
+
display_name: string;
|
|
29988
|
+
id: string;
|
|
29989
|
+
phone: string;
|
|
29990
|
+
}[];
|
|
29991
|
+
};
|
|
29992
|
+
uren_maand_afsluiten: {
|
|
29993
|
+
Args: {
|
|
29994
|
+
_maand: string;
|
|
29995
|
+
_monteur: string;
|
|
29996
|
+
};
|
|
29997
|
+
Returns: undefined;
|
|
29998
|
+
};
|
|
29999
|
+
uren_maand_berekenen: {
|
|
30000
|
+
Args: {
|
|
30001
|
+
_maand: string;
|
|
30002
|
+
_monteur: string;
|
|
30003
|
+
};
|
|
30004
|
+
Returns: import("./types").Json;
|
|
30005
|
+
};
|
|
30006
|
+
uren_maand_corrigeren: {
|
|
30007
|
+
Args: {
|
|
30008
|
+
_maand: string;
|
|
30009
|
+
_monteur: string;
|
|
30010
|
+
_overuren_minuten: number;
|
|
30011
|
+
_reden: string;
|
|
30012
|
+
};
|
|
30013
|
+
Returns: undefined;
|
|
30014
|
+
};
|
|
30015
|
+
uren_mijn_contracturen: {
|
|
30016
|
+
Args: never;
|
|
30017
|
+
Returns: number;
|
|
30018
|
+
};
|
|
30019
|
+
uren_mijn_vakantiesaldo: {
|
|
30020
|
+
Args: never;
|
|
30021
|
+
Returns: number;
|
|
30022
|
+
};
|
|
27213
30023
|
uren_my_monteur_id: {
|
|
27214
30024
|
Args: never;
|
|
27215
30025
|
Returns: string;
|
|
27216
30026
|
};
|
|
30027
|
+
uren_planning_dagagenda: {
|
|
30028
|
+
Args: {
|
|
30029
|
+
_tot: string;
|
|
30030
|
+
_van: string;
|
|
30031
|
+
};
|
|
30032
|
+
Returns: {
|
|
30033
|
+
end_at: string;
|
|
30034
|
+
id: string;
|
|
30035
|
+
is_tweede_man: boolean;
|
|
30036
|
+
notes: string;
|
|
30037
|
+
start_at: string;
|
|
30038
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
30039
|
+
werkbon_id: string;
|
|
30040
|
+
}[];
|
|
30041
|
+
};
|
|
30042
|
+
uren_set_planning_item_status: {
|
|
30043
|
+
Args: {
|
|
30044
|
+
_id: string;
|
|
30045
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
30046
|
+
};
|
|
30047
|
+
Returns: undefined;
|
|
30048
|
+
};
|
|
30049
|
+
uren_set_planning_status: {
|
|
30050
|
+
Args: {
|
|
30051
|
+
p_status: Database["public"]["Enums"]["planning_item_status"];
|
|
30052
|
+
p_werkbon_id: string;
|
|
30053
|
+
};
|
|
30054
|
+
Returns: number;
|
|
30055
|
+
};
|
|
30056
|
+
uren_spiegel_bezig: {
|
|
30057
|
+
Args: never;
|
|
30058
|
+
Returns: boolean;
|
|
30059
|
+
};
|
|
30060
|
+
uren_standaardweek_beoordelen: {
|
|
30061
|
+
Args: {
|
|
30062
|
+
_goedkeuren: boolean;
|
|
30063
|
+
_id: string;
|
|
30064
|
+
_reden?: string;
|
|
30065
|
+
};
|
|
30066
|
+
Returns: undefined;
|
|
30067
|
+
};
|
|
30068
|
+
uren_standaardweek_doorzetten: {
|
|
30069
|
+
Args: {
|
|
30070
|
+
_monteur: string;
|
|
30071
|
+
};
|
|
30072
|
+
Returns: undefined;
|
|
30073
|
+
};
|
|
30074
|
+
uren_standaardweek_instellen: {
|
|
30075
|
+
Args: {
|
|
30076
|
+
_dagen: import("./types").Json;
|
|
30077
|
+
};
|
|
30078
|
+
Returns: string;
|
|
30079
|
+
};
|
|
30080
|
+
uren_standaardweek_toepassen: {
|
|
30081
|
+
Args: {
|
|
30082
|
+
_dagen: import("./types").Json;
|
|
30083
|
+
_monteur: string;
|
|
30084
|
+
};
|
|
30085
|
+
Returns: undefined;
|
|
30086
|
+
};
|
|
30087
|
+
uren_stop_time_log: {
|
|
30088
|
+
Args: {
|
|
30089
|
+
p_employee_id: string;
|
|
30090
|
+
p_end_lat?: number;
|
|
30091
|
+
p_end_lng?: number;
|
|
30092
|
+
p_end_time: string;
|
|
30093
|
+
};
|
|
30094
|
+
Returns: import("./types").Json;
|
|
30095
|
+
};
|
|
30096
|
+
uren_switch_time_log: {
|
|
30097
|
+
Args: {
|
|
30098
|
+
p_employee_id: string;
|
|
30099
|
+
p_start_lat?: number;
|
|
30100
|
+
p_start_lng?: number;
|
|
30101
|
+
p_type: string;
|
|
30102
|
+
p_work_order_id?: string;
|
|
30103
|
+
};
|
|
30104
|
+
Returns: import("./types").Json;
|
|
30105
|
+
};
|
|
30106
|
+
uren_sync_sick_time_off: {
|
|
30107
|
+
Args: {
|
|
30108
|
+
_period_id: string;
|
|
30109
|
+
};
|
|
30110
|
+
Returns: number;
|
|
30111
|
+
};
|
|
30112
|
+
uren_vakantie_aanvragen: {
|
|
30113
|
+
Args: {
|
|
30114
|
+
_end_date: string;
|
|
30115
|
+
_hours?: number;
|
|
30116
|
+
_start_date: string;
|
|
30117
|
+
};
|
|
30118
|
+
Returns: string;
|
|
30119
|
+
};
|
|
30120
|
+
uren_vakantiedag_wijzigen: {
|
|
30121
|
+
Args: {
|
|
30122
|
+
_date: string;
|
|
30123
|
+
};
|
|
30124
|
+
Returns: string;
|
|
30125
|
+
};
|
|
30126
|
+
uren_vakantiesaldo_uren: {
|
|
30127
|
+
Args: {
|
|
30128
|
+
_monteur: string;
|
|
30129
|
+
};
|
|
30130
|
+
Returns: number;
|
|
30131
|
+
};
|
|
30132
|
+
uren_week_start: {
|
|
30133
|
+
Args: {
|
|
30134
|
+
_datum: string;
|
|
30135
|
+
};
|
|
30136
|
+
Returns: string;
|
|
30137
|
+
};
|
|
30138
|
+
uren_werkweek_opsturen: {
|
|
30139
|
+
Args: {
|
|
30140
|
+
_week_start: string;
|
|
30141
|
+
};
|
|
30142
|
+
Returns: {
|
|
30143
|
+
approved_at: string | null;
|
|
30144
|
+
approved_by: string | null;
|
|
30145
|
+
contract_hours: number;
|
|
30146
|
+
created_at: string;
|
|
30147
|
+
employee_id: string;
|
|
30148
|
+
id: string;
|
|
30149
|
+
locked: boolean;
|
|
30150
|
+
monteur_toelichting: string | null;
|
|
30151
|
+
notes: string | null;
|
|
30152
|
+
planned_hours: number;
|
|
30153
|
+
status: string;
|
|
30154
|
+
submitted_at: string | null;
|
|
30155
|
+
updated_at: string;
|
|
30156
|
+
variance_hours: number;
|
|
30157
|
+
week_start: string;
|
|
30158
|
+
};
|
|
30159
|
+
SetofOptions: {
|
|
30160
|
+
from: "*";
|
|
30161
|
+
to: "time_log_week_approvals";
|
|
30162
|
+
isOneToOne: true;
|
|
30163
|
+
isSetofReturn: false;
|
|
30164
|
+
};
|
|
30165
|
+
} | {
|
|
30166
|
+
Args: {
|
|
30167
|
+
_vrije_dagen?: string[];
|
|
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
|
+
_toelichting?: string;
|
|
30196
|
+
_vrije_dagen?: string[];
|
|
30197
|
+
_week_start: string;
|
|
30198
|
+
};
|
|
30199
|
+
Returns: {
|
|
30200
|
+
approved_at: string | null;
|
|
30201
|
+
approved_by: string | null;
|
|
30202
|
+
contract_hours: number;
|
|
30203
|
+
created_at: string;
|
|
30204
|
+
employee_id: string;
|
|
30205
|
+
id: string;
|
|
30206
|
+
locked: boolean;
|
|
30207
|
+
monteur_toelichting: string | null;
|
|
30208
|
+
notes: string | null;
|
|
30209
|
+
planned_hours: number;
|
|
30210
|
+
status: string;
|
|
30211
|
+
submitted_at: string | null;
|
|
30212
|
+
updated_at: string;
|
|
30213
|
+
variance_hours: number;
|
|
30214
|
+
week_start: string;
|
|
30215
|
+
};
|
|
30216
|
+
SetofOptions: {
|
|
30217
|
+
from: "*";
|
|
30218
|
+
to: "time_log_week_approvals";
|
|
30219
|
+
isOneToOne: true;
|
|
30220
|
+
isSetofReturn: false;
|
|
30221
|
+
};
|
|
30222
|
+
};
|
|
30223
|
+
vakantie_dagen_gebruikt: {
|
|
30224
|
+
Args: {
|
|
30225
|
+
_user_id: string;
|
|
30226
|
+
_year: number;
|
|
30227
|
+
};
|
|
30228
|
+
Returns: number;
|
|
30229
|
+
};
|
|
30230
|
+
vakantie_saldo: {
|
|
30231
|
+
Args: {
|
|
30232
|
+
_user_id: string;
|
|
30233
|
+
_year?: number;
|
|
30234
|
+
};
|
|
30235
|
+
Returns: {
|
|
30236
|
+
day_hours: number;
|
|
30237
|
+
entitlement_days: number;
|
|
30238
|
+
remaining_days: number;
|
|
30239
|
+
used_days: number;
|
|
30240
|
+
}[];
|
|
30241
|
+
};
|
|
30242
|
+
vakantie_saldo_overzicht: {
|
|
30243
|
+
Args: {
|
|
30244
|
+
_year?: number;
|
|
30245
|
+
};
|
|
30246
|
+
Returns: {
|
|
30247
|
+
day_hours: number;
|
|
30248
|
+
entitlement_days: number;
|
|
30249
|
+
remaining_days: number;
|
|
30250
|
+
used_days: number;
|
|
30251
|
+
user_id: string;
|
|
30252
|
+
}[];
|
|
30253
|
+
};
|
|
27217
30254
|
voorraad_cleanup_old_rows: {
|
|
27218
30255
|
Args: never;
|
|
27219
30256
|
Returns: import("./types").Json;
|
|
@@ -27256,6 +30293,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
|
|
|
27256
30293
|
};
|
|
27257
30294
|
Returns: import("./types").Json;
|
|
27258
30295
|
};
|
|
30296
|
+
wo_list_offerte_requests: {
|
|
30297
|
+
Args: {
|
|
30298
|
+
_status?: string;
|
|
30299
|
+
};
|
|
30300
|
+
Returns: import("./types").Json;
|
|
30301
|
+
};
|
|
30302
|
+
wo_process_offerte_request: {
|
|
30303
|
+
Args: {
|
|
30304
|
+
_queue_id: string;
|
|
30305
|
+
};
|
|
30306
|
+
Returns: import("./types").Json;
|
|
30307
|
+
};
|
|
30308
|
+
wo_reject_offerte_request: {
|
|
30309
|
+
Args: {
|
|
30310
|
+
_queue_id: string;
|
|
30311
|
+
_reden?: string;
|
|
30312
|
+
};
|
|
30313
|
+
Returns: import("./types").Json;
|
|
30314
|
+
};
|
|
27259
30315
|
wo_set_status: {
|
|
27260
30316
|
Args: {
|
|
27261
30317
|
_reason?: string;
|