@flowselections/floriday-voorraad 1.0.46 → 1.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
- package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ArtikelWizard.js +157 -9
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/EditArtikelPage.js +2 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
- package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
- package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
- package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +1 -1
- package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -1
- package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
- package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
- package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PriceStatusBadge.js +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
- package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
- package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
- package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
- package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
- package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
- package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockHistoryChart.d.ts +1 -1
- package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts +1 -1
- package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
- package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
- package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
- package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
- package/dist-lib/components/voorraad/TrayStickerCard.d.ts +5 -0
- package/dist-lib/components/voorraad/TrayStickerCard.d.ts.map +1 -0
- package/dist-lib/components/voorraad/TrayStickerCard.js +100 -0
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
- package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
- package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
- package/dist-lib/hooks/useTradeItemSupplyLine.js +1 -1
- package/dist-lib/integrations/supabase/auth-middleware.d.ts +3255 -199
- package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.d.ts +3255 -199
- package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.js +1 -1
- package/dist-lib/integrations/supabase/client.server.d.ts +3255 -199
- package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/client.server.js +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.d.ts.map +1 -1
- package/dist-lib/integrations/supabase/previewAuthStorage.js +8 -1
- package/dist-lib/integrations/supabase/types.d.ts +3287 -192
- package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.d.ts +3267 -217
- package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
- package/dist-lib/lib/floricode-required-features.functions.js +1 -1
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts +3267 -211
- package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-env.functions.d.ts +6126 -14
- package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-gateway.functions.d.ts +18378 -42
- package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts +6126 -14
- package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-warehouse.functions.d.ts +9189 -21
- package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
- package/dist-lib/lib/floriday-writes.functions.d.ts +6126 -14
- package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.d.ts +6126 -14
- package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
- package/dist-lib/lib/inventory-settings.functions.js +3 -3
- package/dist-lib/lib/logistics-buffer-events.server.js +1 -1
- package/dist-lib/lib/logistics-tasks.server.js +2 -2
- package/dist-lib/lib/module-runtime.server.js +1 -1
- package/dist-lib/lib/product-packing.d.ts +28 -0
- package/dist-lib/lib/product-packing.d.ts.map +1 -0
- package/dist-lib/lib/product-packing.js +90 -0
- package/dist-lib/lib/stock-sync.functions.d.ts +6126 -14
- package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
- package/dist-lib/lib/stock-sync.functions.js +3 -3
- package/package.json +2 -2
- package/dist-lib/components/TemplatePage.d.ts +0 -2
- package/dist-lib/components/TemplatePage.d.ts.map +0 -1
- package/dist-lib/components/TemplatePage.js +0 -4
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +0 -2
- package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +0 -1
- package/dist-lib/components/settings/VoorraadSettingsCard.js +0 -39
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts +0 -6
- package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ConnectionBadge.js +0 -12
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts +0 -8
- package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ConnectionPicker.js +0 -8
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +0 -4
- package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +0 -1
- package/dist-lib/components/voorraad/FloridayStatusBadge.js +0 -8
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +0 -2
- package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +0 -1
- package/dist-lib/components/voorraad/ModuleHealthCard.js +0 -40
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +0 -10
- package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +0 -1
- package/dist-lib/components/voorraad/VoorraadDashboard.js +0 -53
- package/dist-lib/lib/floriday-field-sources.d.ts +0 -18
- package/dist-lib/lib/floriday-field-sources.d.ts.map +0 -1
- package/dist-lib/lib/floriday-field-sources.js +0 -45
- package/dist-lib/lib/floriday-schema-to-zod.d.ts +0 -9
- package/dist-lib/lib/floriday-schema-to-zod.d.ts.map +0 -1
- package/dist-lib/lib/floriday-schema-to-zod.js +0 -53
- package/dist-lib/lib/merge-products.d.ts +0 -8
- package/dist-lib/lib/merge-products.d.ts.map +0 -1
- package/dist-lib/lib/merge-products.js +0 -17
- package/dist-lib/lib/module-health.functions.d.ts +0 -53497
- package/dist-lib/lib/module-health.functions.d.ts.map +0 -1
- package/dist-lib/lib/module-health.functions.js +0 -261
- package/dist-lib/lib/validationSchemas.d.ts +0 -15
- package/dist-lib/lib/validationSchemas.d.ts.map +0 -1
- package/dist-lib/lib/validationSchemas.js +0 -25
|
@@ -11,6 +11,7 @@ export type Database = {
|
|
|
11
11
|
Row: {
|
|
12
12
|
auto_print_delivery_note: boolean;
|
|
13
13
|
auto_process_paused: boolean;
|
|
14
|
+
control_bulk_max_carts: number;
|
|
14
15
|
created_at: string;
|
|
15
16
|
extra_pick_days_with_stickers: number;
|
|
16
17
|
id: string;
|
|
@@ -28,6 +29,7 @@ export type Database = {
|
|
|
28
29
|
Insert: {
|
|
29
30
|
auto_print_delivery_note?: boolean;
|
|
30
31
|
auto_process_paused?: boolean;
|
|
32
|
+
control_bulk_max_carts?: number;
|
|
31
33
|
created_at?: string;
|
|
32
34
|
extra_pick_days_with_stickers?: number;
|
|
33
35
|
id?: string;
|
|
@@ -45,6 +47,7 @@ export type Database = {
|
|
|
45
47
|
Update: {
|
|
46
48
|
auto_print_delivery_note?: boolean;
|
|
47
49
|
auto_process_paused?: boolean;
|
|
50
|
+
control_bulk_max_carts?: number;
|
|
48
51
|
created_at?: string;
|
|
49
52
|
extra_pick_days_with_stickers?: number;
|
|
50
53
|
id?: string;
|
|
@@ -1411,6 +1414,7 @@ export type Database = {
|
|
|
1411
1414
|
id: string;
|
|
1412
1415
|
notes: string | null;
|
|
1413
1416
|
performed_at: string;
|
|
1417
|
+
request_key: string | null;
|
|
1414
1418
|
rescheduled_count: number;
|
|
1415
1419
|
stock_consumed_at: string | null;
|
|
1416
1420
|
total_carts: number;
|
|
@@ -1425,6 +1429,7 @@ export type Database = {
|
|
|
1425
1429
|
id?: string;
|
|
1426
1430
|
notes?: string | null;
|
|
1427
1431
|
performed_at?: string;
|
|
1432
|
+
request_key?: string | null;
|
|
1428
1433
|
rescheduled_count?: number;
|
|
1429
1434
|
stock_consumed_at?: string | null;
|
|
1430
1435
|
total_carts?: number;
|
|
@@ -1439,6 +1444,7 @@ export type Database = {
|
|
|
1439
1444
|
id?: string;
|
|
1440
1445
|
notes?: string | null;
|
|
1441
1446
|
performed_at?: string;
|
|
1447
|
+
request_key?: string | null;
|
|
1442
1448
|
rescheduled_count?: number;
|
|
1443
1449
|
stock_consumed_at?: string | null;
|
|
1444
1450
|
total_carts?: number;
|
|
@@ -1451,9 +1457,10 @@ export type Database = {
|
|
|
1451
1457
|
Row: {
|
|
1452
1458
|
assigned_at: string;
|
|
1453
1459
|
cart_index: number;
|
|
1454
|
-
cart_number: string
|
|
1460
|
+
cart_number: string;
|
|
1455
1461
|
day_seq: number | null;
|
|
1456
1462
|
delivered_at: string | null;
|
|
1463
|
+
engine_cart_label: string | null;
|
|
1457
1464
|
id: string;
|
|
1458
1465
|
order_id: string;
|
|
1459
1466
|
order_source: string;
|
|
@@ -1463,9 +1470,10 @@ export type Database = {
|
|
|
1463
1470
|
Insert: {
|
|
1464
1471
|
assigned_at?: string;
|
|
1465
1472
|
cart_index: number;
|
|
1466
|
-
cart_number
|
|
1473
|
+
cart_number: string;
|
|
1467
1474
|
day_seq?: number | null;
|
|
1468
1475
|
delivered_at?: string | null;
|
|
1476
|
+
engine_cart_label?: string | null;
|
|
1469
1477
|
id?: string;
|
|
1470
1478
|
order_id: string;
|
|
1471
1479
|
order_source: string;
|
|
@@ -1475,9 +1483,10 @@ export type Database = {
|
|
|
1475
1483
|
Update: {
|
|
1476
1484
|
assigned_at?: string;
|
|
1477
1485
|
cart_index?: number;
|
|
1478
|
-
cart_number?: string
|
|
1486
|
+
cart_number?: string;
|
|
1479
1487
|
day_seq?: number | null;
|
|
1480
1488
|
delivered_at?: string | null;
|
|
1489
|
+
engine_cart_label?: string | null;
|
|
1481
1490
|
id?: string;
|
|
1482
1491
|
order_id?: string;
|
|
1483
1492
|
order_source?: string;
|
|
@@ -3800,6 +3809,7 @@ export type Database = {
|
|
|
3800
3809
|
};
|
|
3801
3810
|
email_auth_outbox: {
|
|
3802
3811
|
Row: {
|
|
3812
|
+
attachments: Json;
|
|
3803
3813
|
attempts: number;
|
|
3804
3814
|
bcc_addresses: string[];
|
|
3805
3815
|
cc_addresses: string[];
|
|
@@ -3822,6 +3832,7 @@ export type Database = {
|
|
|
3822
3832
|
updated_at: string;
|
|
3823
3833
|
};
|
|
3824
3834
|
Insert: {
|
|
3835
|
+
attachments?: Json;
|
|
3825
3836
|
attempts?: number;
|
|
3826
3837
|
bcc_addresses?: string[];
|
|
3827
3838
|
cc_addresses?: string[];
|
|
@@ -3844,6 +3855,7 @@ export type Database = {
|
|
|
3844
3855
|
updated_at?: string;
|
|
3845
3856
|
};
|
|
3846
3857
|
Update: {
|
|
3858
|
+
attachments?: Json;
|
|
3847
3859
|
attempts?: number;
|
|
3848
3860
|
bcc_addresses?: string[];
|
|
3849
3861
|
cc_addresses?: string[];
|
|
@@ -8183,6 +8195,7 @@ export type Database = {
|
|
|
8183
8195
|
};
|
|
8184
8196
|
fust_types: {
|
|
8185
8197
|
Row: {
|
|
8198
|
+
capacity_units: number | null;
|
|
8186
8199
|
connection_id: string | null;
|
|
8187
8200
|
created_at: string;
|
|
8188
8201
|
custom_package_id: string | null;
|
|
@@ -8203,6 +8216,7 @@ export type Database = {
|
|
|
8203
8216
|
width_mm: number | null;
|
|
8204
8217
|
};
|
|
8205
8218
|
Insert: {
|
|
8219
|
+
capacity_units?: number | null;
|
|
8206
8220
|
connection_id?: string | null;
|
|
8207
8221
|
created_at?: string;
|
|
8208
8222
|
custom_package_id?: string | null;
|
|
@@ -8223,6 +8237,7 @@ export type Database = {
|
|
|
8223
8237
|
width_mm?: number | null;
|
|
8224
8238
|
};
|
|
8225
8239
|
Update: {
|
|
8240
|
+
capacity_units?: number | null;
|
|
8226
8241
|
connection_id?: string | null;
|
|
8227
8242
|
created_at?: string;
|
|
8228
8243
|
custom_package_id?: string | null;
|
|
@@ -8753,13 +8768,22 @@ export type Database = {
|
|
|
8753
8768
|
Row: {
|
|
8754
8769
|
created_at: string;
|
|
8755
8770
|
created_by: string | null;
|
|
8771
|
+
customer_address: string | null;
|
|
8772
|
+
customer_attention: string | null;
|
|
8773
|
+
customer_city: string | null;
|
|
8756
8774
|
customer_id: string | null;
|
|
8757
8775
|
customer_name: string | null;
|
|
8776
|
+
customer_postal_code: string | null;
|
|
8777
|
+
customer_vat_number: string | null;
|
|
8778
|
+
debtor_number: string | null;
|
|
8758
8779
|
due_date: string | null;
|
|
8780
|
+
execution_date: string | null;
|
|
8759
8781
|
id: string;
|
|
8760
8782
|
invoice_date: string;
|
|
8761
8783
|
invoice_number: string | null;
|
|
8762
8784
|
note: string | null;
|
|
8785
|
+
payment_term_days: number;
|
|
8786
|
+
reference: string | null;
|
|
8763
8787
|
source_number: string | null;
|
|
8764
8788
|
source_ref: string | null;
|
|
8765
8789
|
source_type: string;
|
|
@@ -8769,17 +8793,27 @@ export type Database = {
|
|
|
8769
8793
|
updated_at: string;
|
|
8770
8794
|
vat_cents: number;
|
|
8771
8795
|
vat_rate: number;
|
|
8796
|
+
work_address: string | null;
|
|
8772
8797
|
};
|
|
8773
8798
|
Insert: {
|
|
8774
8799
|
created_at?: string;
|
|
8775
8800
|
created_by?: string | null;
|
|
8801
|
+
customer_address?: string | null;
|
|
8802
|
+
customer_attention?: string | null;
|
|
8803
|
+
customer_city?: string | null;
|
|
8776
8804
|
customer_id?: string | null;
|
|
8777
8805
|
customer_name?: string | null;
|
|
8806
|
+
customer_postal_code?: string | null;
|
|
8807
|
+
customer_vat_number?: string | null;
|
|
8808
|
+
debtor_number?: string | null;
|
|
8778
8809
|
due_date?: string | null;
|
|
8810
|
+
execution_date?: string | null;
|
|
8779
8811
|
id?: string;
|
|
8780
8812
|
invoice_date?: string;
|
|
8781
8813
|
invoice_number?: string | null;
|
|
8782
8814
|
note?: string | null;
|
|
8815
|
+
payment_term_days?: number;
|
|
8816
|
+
reference?: string | null;
|
|
8783
8817
|
source_number?: string | null;
|
|
8784
8818
|
source_ref?: string | null;
|
|
8785
8819
|
source_type?: string;
|
|
@@ -8789,17 +8823,27 @@ export type Database = {
|
|
|
8789
8823
|
updated_at?: string;
|
|
8790
8824
|
vat_cents?: number;
|
|
8791
8825
|
vat_rate?: number;
|
|
8826
|
+
work_address?: string | null;
|
|
8792
8827
|
};
|
|
8793
8828
|
Update: {
|
|
8794
8829
|
created_at?: string;
|
|
8795
8830
|
created_by?: string | null;
|
|
8831
|
+
customer_address?: string | null;
|
|
8832
|
+
customer_attention?: string | null;
|
|
8833
|
+
customer_city?: string | null;
|
|
8796
8834
|
customer_id?: string | null;
|
|
8797
8835
|
customer_name?: string | null;
|
|
8836
|
+
customer_postal_code?: string | null;
|
|
8837
|
+
customer_vat_number?: string | null;
|
|
8838
|
+
debtor_number?: string | null;
|
|
8798
8839
|
due_date?: string | null;
|
|
8840
|
+
execution_date?: string | null;
|
|
8799
8841
|
id?: string;
|
|
8800
8842
|
invoice_date?: string;
|
|
8801
8843
|
invoice_number?: string | null;
|
|
8802
8844
|
note?: string | null;
|
|
8845
|
+
payment_term_days?: number;
|
|
8846
|
+
reference?: string | null;
|
|
8803
8847
|
source_number?: string | null;
|
|
8804
8848
|
source_ref?: string | null;
|
|
8805
8849
|
source_type?: string;
|
|
@@ -8809,6 +8853,7 @@ export type Database = {
|
|
|
8809
8853
|
updated_at?: string;
|
|
8810
8854
|
vat_cents?: number;
|
|
8811
8855
|
vat_rate?: number;
|
|
8856
|
+
work_address?: string | null;
|
|
8812
8857
|
};
|
|
8813
8858
|
Relationships: [
|
|
8814
8859
|
{
|
|
@@ -9022,8 +9067,48 @@ export type Database = {
|
|
|
9022
9067
|
};
|
|
9023
9068
|
Relationships: [];
|
|
9024
9069
|
};
|
|
9070
|
+
itk_handover_afspraken: {
|
|
9071
|
+
Row: {
|
|
9072
|
+
afgesproken_door: string | null;
|
|
9073
|
+
afgesproken_op: string;
|
|
9074
|
+
besluit: string;
|
|
9075
|
+
created_at: string;
|
|
9076
|
+
item: string;
|
|
9077
|
+
modules: string[];
|
|
9078
|
+
sleutel: string;
|
|
9079
|
+
soort: string;
|
|
9080
|
+
updated_at: string;
|
|
9081
|
+
versie_vingerafdruk: string;
|
|
9082
|
+
};
|
|
9083
|
+
Insert: {
|
|
9084
|
+
afgesproken_door?: string | null;
|
|
9085
|
+
afgesproken_op?: string;
|
|
9086
|
+
besluit?: string;
|
|
9087
|
+
created_at?: string;
|
|
9088
|
+
item?: string;
|
|
9089
|
+
modules?: string[];
|
|
9090
|
+
sleutel: string;
|
|
9091
|
+
soort?: string;
|
|
9092
|
+
updated_at?: string;
|
|
9093
|
+
versie_vingerafdruk?: string;
|
|
9094
|
+
};
|
|
9095
|
+
Update: {
|
|
9096
|
+
afgesproken_door?: string | null;
|
|
9097
|
+
afgesproken_op?: string;
|
|
9098
|
+
besluit?: string;
|
|
9099
|
+
created_at?: string;
|
|
9100
|
+
item?: string;
|
|
9101
|
+
modules?: string[];
|
|
9102
|
+
sleutel?: string;
|
|
9103
|
+
soort?: string;
|
|
9104
|
+
updated_at?: string;
|
|
9105
|
+
versie_vingerafdruk?: string;
|
|
9106
|
+
};
|
|
9107
|
+
Relationships: [];
|
|
9108
|
+
};
|
|
9025
9109
|
itk_handover_github_scan: {
|
|
9026
9110
|
Row: {
|
|
9111
|
+
genegeerd_op: string | null;
|
|
9027
9112
|
gescand_op: string;
|
|
9028
9113
|
gevonden: boolean;
|
|
9029
9114
|
melding: string | null;
|
|
@@ -9031,6 +9116,7 @@ export type Database = {
|
|
|
9031
9116
|
repo: string;
|
|
9032
9117
|
};
|
|
9033
9118
|
Insert: {
|
|
9119
|
+
genegeerd_op?: string | null;
|
|
9034
9120
|
gescand_op?: string;
|
|
9035
9121
|
gevonden?: boolean;
|
|
9036
9122
|
melding?: string | null;
|
|
@@ -9038,6 +9124,7 @@ export type Database = {
|
|
|
9038
9124
|
repo: string;
|
|
9039
9125
|
};
|
|
9040
9126
|
Update: {
|
|
9127
|
+
genegeerd_op?: string | null;
|
|
9041
9128
|
gescand_op?: string;
|
|
9042
9129
|
gevonden?: boolean;
|
|
9043
9130
|
melding?: string | null;
|
|
@@ -9046,13 +9133,45 @@ export type Database = {
|
|
|
9046
9133
|
};
|
|
9047
9134
|
Relationships: [];
|
|
9048
9135
|
};
|
|
9136
|
+
itk_handover_github_voortgang: {
|
|
9137
|
+
Row: {
|
|
9138
|
+
bijgewerkt_op: string;
|
|
9139
|
+
huidige_repo: string | null;
|
|
9140
|
+
id: boolean;
|
|
9141
|
+
klaar: number;
|
|
9142
|
+
loopt: boolean;
|
|
9143
|
+
totaal: number;
|
|
9144
|
+
};
|
|
9145
|
+
Insert: {
|
|
9146
|
+
bijgewerkt_op?: string;
|
|
9147
|
+
huidige_repo?: string | null;
|
|
9148
|
+
id?: boolean;
|
|
9149
|
+
klaar?: number;
|
|
9150
|
+
loopt?: boolean;
|
|
9151
|
+
totaal?: number;
|
|
9152
|
+
};
|
|
9153
|
+
Update: {
|
|
9154
|
+
bijgewerkt_op?: string;
|
|
9155
|
+
huidige_repo?: string | null;
|
|
9156
|
+
id?: boolean;
|
|
9157
|
+
klaar?: number;
|
|
9158
|
+
loopt?: boolean;
|
|
9159
|
+
totaal?: number;
|
|
9160
|
+
};
|
|
9161
|
+
Relationships: [];
|
|
9162
|
+
};
|
|
9049
9163
|
itk_handover_module_meta: {
|
|
9050
9164
|
Row: {
|
|
9051
9165
|
check_aangevraagd_op: string | null;
|
|
9052
9166
|
check_nodig: boolean;
|
|
9053
9167
|
check_reden: string | null;
|
|
9054
9168
|
created_at: string;
|
|
9169
|
+
md_bron: boolean;
|
|
9170
|
+
md_bron_op: string | null;
|
|
9171
|
+
md_bron_pad: string | null;
|
|
9055
9172
|
module_id: string;
|
|
9173
|
+
nieuw_gezien: boolean;
|
|
9174
|
+
nieuw_gezien_op: string | null;
|
|
9056
9175
|
project_url: string | null;
|
|
9057
9176
|
publicatie_url: string | null;
|
|
9058
9177
|
updated_at: string;
|
|
@@ -9062,7 +9181,12 @@ export type Database = {
|
|
|
9062
9181
|
check_nodig?: boolean;
|
|
9063
9182
|
check_reden?: string | null;
|
|
9064
9183
|
created_at?: string;
|
|
9184
|
+
md_bron?: boolean;
|
|
9185
|
+
md_bron_op?: string | null;
|
|
9186
|
+
md_bron_pad?: string | null;
|
|
9065
9187
|
module_id: string;
|
|
9188
|
+
nieuw_gezien?: boolean;
|
|
9189
|
+
nieuw_gezien_op?: string | null;
|
|
9066
9190
|
project_url?: string | null;
|
|
9067
9191
|
publicatie_url?: string | null;
|
|
9068
9192
|
updated_at?: string;
|
|
@@ -9072,13 +9196,45 @@ export type Database = {
|
|
|
9072
9196
|
check_nodig?: boolean;
|
|
9073
9197
|
check_reden?: string | null;
|
|
9074
9198
|
created_at?: string;
|
|
9199
|
+
md_bron?: boolean;
|
|
9200
|
+
md_bron_op?: string | null;
|
|
9201
|
+
md_bron_pad?: string | null;
|
|
9075
9202
|
module_id?: string;
|
|
9203
|
+
nieuw_gezien?: boolean;
|
|
9204
|
+
nieuw_gezien_op?: string | null;
|
|
9076
9205
|
project_url?: string | null;
|
|
9077
9206
|
publicatie_url?: string | null;
|
|
9078
9207
|
updated_at?: string;
|
|
9079
9208
|
};
|
|
9080
9209
|
Relationships: [];
|
|
9081
9210
|
};
|
|
9211
|
+
itk_handover_module_naam: {
|
|
9212
|
+
Row: {
|
|
9213
|
+
bron_repo: string;
|
|
9214
|
+
created_at: string;
|
|
9215
|
+
module_id: string;
|
|
9216
|
+
standaardnaam: string | null;
|
|
9217
|
+
updated_at: string;
|
|
9218
|
+
weergavenaam: string;
|
|
9219
|
+
};
|
|
9220
|
+
Insert: {
|
|
9221
|
+
bron_repo?: string;
|
|
9222
|
+
created_at?: string;
|
|
9223
|
+
module_id: string;
|
|
9224
|
+
standaardnaam?: string | null;
|
|
9225
|
+
updated_at?: string;
|
|
9226
|
+
weergavenaam: string;
|
|
9227
|
+
};
|
|
9228
|
+
Update: {
|
|
9229
|
+
bron_repo?: string;
|
|
9230
|
+
created_at?: string;
|
|
9231
|
+
module_id?: string;
|
|
9232
|
+
standaardnaam?: string | null;
|
|
9233
|
+
updated_at?: string;
|
|
9234
|
+
weergavenaam?: string;
|
|
9235
|
+
};
|
|
9236
|
+
Relationships: [];
|
|
9237
|
+
};
|
|
9082
9238
|
itk_handover_project_modules: {
|
|
9083
9239
|
Row: {
|
|
9084
9240
|
created_at: string;
|
|
@@ -9194,6 +9350,7 @@ export type Database = {
|
|
|
9194
9350
|
};
|
|
9195
9351
|
itk_module_handovers: {
|
|
9196
9352
|
Row: {
|
|
9353
|
+
bekende_risicos: string[];
|
|
9197
9354
|
bevindingen: string | null;
|
|
9198
9355
|
bezit_tabellen: string[];
|
|
9199
9356
|
bron_commit: string | null;
|
|
@@ -9212,6 +9369,7 @@ export type Database = {
|
|
|
9212
9369
|
inhoud_md: string;
|
|
9213
9370
|
is_actueel: boolean;
|
|
9214
9371
|
is_gearchiveerd: boolean;
|
|
9372
|
+
laatst_bevestigd_op: string | null;
|
|
9215
9373
|
laatst_gecontroleerd_op: string | null;
|
|
9216
9374
|
module_id: string;
|
|
9217
9375
|
module_titel: string;
|
|
@@ -9221,6 +9379,7 @@ export type Database = {
|
|
|
9221
9379
|
versie: number;
|
|
9222
9380
|
};
|
|
9223
9381
|
Insert: {
|
|
9382
|
+
bekende_risicos?: string[];
|
|
9224
9383
|
bevindingen?: string | null;
|
|
9225
9384
|
bezit_tabellen?: string[];
|
|
9226
9385
|
bron_commit?: string | null;
|
|
@@ -9239,6 +9398,7 @@ export type Database = {
|
|
|
9239
9398
|
inhoud_md: string;
|
|
9240
9399
|
is_actueel?: boolean;
|
|
9241
9400
|
is_gearchiveerd?: boolean;
|
|
9401
|
+
laatst_bevestigd_op?: string | null;
|
|
9242
9402
|
laatst_gecontroleerd_op?: string | null;
|
|
9243
9403
|
module_id: string;
|
|
9244
9404
|
module_titel: string;
|
|
@@ -9248,6 +9408,7 @@ export type Database = {
|
|
|
9248
9408
|
versie?: number;
|
|
9249
9409
|
};
|
|
9250
9410
|
Update: {
|
|
9411
|
+
bekende_risicos?: string[];
|
|
9251
9412
|
bevindingen?: string | null;
|
|
9252
9413
|
bezit_tabellen?: string[];
|
|
9253
9414
|
bron_commit?: string | null;
|
|
@@ -9266,6 +9427,7 @@ export type Database = {
|
|
|
9266
9427
|
inhoud_md?: string;
|
|
9267
9428
|
is_actueel?: boolean;
|
|
9268
9429
|
is_gearchiveerd?: boolean;
|
|
9430
|
+
laatst_bevestigd_op?: string | null;
|
|
9269
9431
|
laatst_gecontroleerd_op?: string | null;
|
|
9270
9432
|
module_id?: string;
|
|
9271
9433
|
module_titel?: string;
|
|
@@ -9479,6 +9641,94 @@ export type Database = {
|
|
|
9479
9641
|
};
|
|
9480
9642
|
Relationships: [];
|
|
9481
9643
|
};
|
|
9644
|
+
itk_offerte_voorstel_status: {
|
|
9645
|
+
Row: {
|
|
9646
|
+
ai_concept: Json | null;
|
|
9647
|
+
created_at: string;
|
|
9648
|
+
id: string;
|
|
9649
|
+
offerte_id: string | null;
|
|
9650
|
+
proposal_id: string;
|
|
9651
|
+
seen_at: string | null;
|
|
9652
|
+
updated_at: string;
|
|
9653
|
+
};
|
|
9654
|
+
Insert: {
|
|
9655
|
+
ai_concept?: Json | null;
|
|
9656
|
+
created_at?: string;
|
|
9657
|
+
id?: string;
|
|
9658
|
+
offerte_id?: string | null;
|
|
9659
|
+
proposal_id: string;
|
|
9660
|
+
seen_at?: string | null;
|
|
9661
|
+
updated_at?: string;
|
|
9662
|
+
};
|
|
9663
|
+
Update: {
|
|
9664
|
+
ai_concept?: Json | null;
|
|
9665
|
+
created_at?: string;
|
|
9666
|
+
id?: string;
|
|
9667
|
+
offerte_id?: string | null;
|
|
9668
|
+
proposal_id?: string;
|
|
9669
|
+
seen_at?: string | null;
|
|
9670
|
+
updated_at?: string;
|
|
9671
|
+
};
|
|
9672
|
+
Relationships: [
|
|
9673
|
+
{
|
|
9674
|
+
foreignKeyName: "itk_offerte_voorstel_status_offerte_id_fkey";
|
|
9675
|
+
columns: ["offerte_id"];
|
|
9676
|
+
isOneToOne: false;
|
|
9677
|
+
referencedRelation: "itk_offertes";
|
|
9678
|
+
referencedColumns: ["id"];
|
|
9679
|
+
}
|
|
9680
|
+
];
|
|
9681
|
+
};
|
|
9682
|
+
itk_offerte_werkbon_queue: {
|
|
9683
|
+
Row: {
|
|
9684
|
+
bron_werkbon_id: string | null;
|
|
9685
|
+
created_at: string;
|
|
9686
|
+
foutmelding: string | null;
|
|
9687
|
+
id: string;
|
|
9688
|
+
offerte_id: string;
|
|
9689
|
+
payload: Json;
|
|
9690
|
+
status: string;
|
|
9691
|
+
updated_at: string;
|
|
9692
|
+
verwerkt_op: string | null;
|
|
9693
|
+
werkbon_id: string | null;
|
|
9694
|
+
werkbon_nummer: string | null;
|
|
9695
|
+
};
|
|
9696
|
+
Insert: {
|
|
9697
|
+
bron_werkbon_id?: string | null;
|
|
9698
|
+
created_at?: string;
|
|
9699
|
+
foutmelding?: string | null;
|
|
9700
|
+
id?: string;
|
|
9701
|
+
offerte_id: string;
|
|
9702
|
+
payload?: Json;
|
|
9703
|
+
status?: string;
|
|
9704
|
+
updated_at?: string;
|
|
9705
|
+
verwerkt_op?: string | null;
|
|
9706
|
+
werkbon_id?: string | null;
|
|
9707
|
+
werkbon_nummer?: string | null;
|
|
9708
|
+
};
|
|
9709
|
+
Update: {
|
|
9710
|
+
bron_werkbon_id?: string | null;
|
|
9711
|
+
created_at?: string;
|
|
9712
|
+
foutmelding?: string | null;
|
|
9713
|
+
id?: string;
|
|
9714
|
+
offerte_id?: string;
|
|
9715
|
+
payload?: Json;
|
|
9716
|
+
status?: string;
|
|
9717
|
+
updated_at?: string;
|
|
9718
|
+
verwerkt_op?: string | null;
|
|
9719
|
+
werkbon_id?: string | null;
|
|
9720
|
+
werkbon_nummer?: string | null;
|
|
9721
|
+
};
|
|
9722
|
+
Relationships: [
|
|
9723
|
+
{
|
|
9724
|
+
foreignKeyName: "itk_offerte_werkbon_queue_offerte_id_fkey";
|
|
9725
|
+
columns: ["offerte_id"];
|
|
9726
|
+
isOneToOne: false;
|
|
9727
|
+
referencedRelation: "itk_offertes";
|
|
9728
|
+
referencedColumns: ["id"];
|
|
9729
|
+
}
|
|
9730
|
+
];
|
|
9731
|
+
};
|
|
9482
9732
|
itk_offertes: {
|
|
9483
9733
|
Row: {
|
|
9484
9734
|
ai_generated: boolean;
|
|
@@ -9761,6 +10011,8 @@ export type Database = {
|
|
|
9761
10011
|
};
|
|
9762
10012
|
leave_requests: {
|
|
9763
10013
|
Row: {
|
|
10014
|
+
cancellation_requested_at: string | null;
|
|
10015
|
+
cancellation_status: string | null;
|
|
9764
10016
|
created_at: string;
|
|
9765
10017
|
decided_at: string | null;
|
|
9766
10018
|
decided_by: string | null;
|
|
@@ -9771,6 +10023,7 @@ export type Database = {
|
|
|
9771
10023
|
leave_type: string;
|
|
9772
10024
|
monteur_id: string | null;
|
|
9773
10025
|
reason: string | null;
|
|
10026
|
+
reden_afkeur: string | null;
|
|
9774
10027
|
start_date: string;
|
|
9775
10028
|
start_time: string | null;
|
|
9776
10029
|
status: string;
|
|
@@ -9778,6 +10031,8 @@ export type Database = {
|
|
|
9778
10031
|
user_id: string;
|
|
9779
10032
|
};
|
|
9780
10033
|
Insert: {
|
|
10034
|
+
cancellation_requested_at?: string | null;
|
|
10035
|
+
cancellation_status?: string | null;
|
|
9781
10036
|
created_at?: string;
|
|
9782
10037
|
decided_at?: string | null;
|
|
9783
10038
|
decided_by?: string | null;
|
|
@@ -9788,6 +10043,7 @@ export type Database = {
|
|
|
9788
10043
|
leave_type?: string;
|
|
9789
10044
|
monteur_id?: string | null;
|
|
9790
10045
|
reason?: string | null;
|
|
10046
|
+
reden_afkeur?: string | null;
|
|
9791
10047
|
start_date: string;
|
|
9792
10048
|
start_time?: string | null;
|
|
9793
10049
|
status?: string;
|
|
@@ -9795,6 +10051,8 @@ export type Database = {
|
|
|
9795
10051
|
user_id: string;
|
|
9796
10052
|
};
|
|
9797
10053
|
Update: {
|
|
10054
|
+
cancellation_requested_at?: string | null;
|
|
10055
|
+
cancellation_status?: string | null;
|
|
9798
10056
|
created_at?: string;
|
|
9799
10057
|
decided_at?: string | null;
|
|
9800
10058
|
decided_by?: string | null;
|
|
@@ -9805,6 +10063,7 @@ export type Database = {
|
|
|
9805
10063
|
leave_type?: string;
|
|
9806
10064
|
monteur_id?: string | null;
|
|
9807
10065
|
reason?: string | null;
|
|
10066
|
+
reden_afkeur?: string | null;
|
|
9808
10067
|
start_date?: string;
|
|
9809
10068
|
start_time?: string | null;
|
|
9810
10069
|
status?: string;
|
|
@@ -10975,6 +11234,156 @@ export type Database = {
|
|
|
10975
11234
|
};
|
|
10976
11235
|
Relationships: [];
|
|
10977
11236
|
};
|
|
11237
|
+
logistics_order_finalize_queue: {
|
|
11238
|
+
Row: {
|
|
11239
|
+
attempts: number;
|
|
11240
|
+
claimed_at: string | null;
|
|
11241
|
+
created_at: string;
|
|
11242
|
+
finished_at: string | null;
|
|
11243
|
+
last_error: string | null;
|
|
11244
|
+
lease_until: string | null;
|
|
11245
|
+
max_attempts: number;
|
|
11246
|
+
next_attempt_at: string;
|
|
11247
|
+
order_id: string;
|
|
11248
|
+
reason: string | null;
|
|
11249
|
+
requested_at: string;
|
|
11250
|
+
status: string;
|
|
11251
|
+
updated_at: string;
|
|
11252
|
+
};
|
|
11253
|
+
Insert: {
|
|
11254
|
+
attempts?: number;
|
|
11255
|
+
claimed_at?: string | null;
|
|
11256
|
+
created_at?: string;
|
|
11257
|
+
finished_at?: string | null;
|
|
11258
|
+
last_error?: string | null;
|
|
11259
|
+
lease_until?: string | null;
|
|
11260
|
+
max_attempts?: number;
|
|
11261
|
+
next_attempt_at?: string;
|
|
11262
|
+
order_id: string;
|
|
11263
|
+
reason?: string | null;
|
|
11264
|
+
requested_at?: string;
|
|
11265
|
+
status?: string;
|
|
11266
|
+
updated_at?: string;
|
|
11267
|
+
};
|
|
11268
|
+
Update: {
|
|
11269
|
+
attempts?: number;
|
|
11270
|
+
claimed_at?: string | null;
|
|
11271
|
+
created_at?: string;
|
|
11272
|
+
finished_at?: string | null;
|
|
11273
|
+
last_error?: string | null;
|
|
11274
|
+
lease_until?: string | null;
|
|
11275
|
+
max_attempts?: number;
|
|
11276
|
+
next_attempt_at?: string;
|
|
11277
|
+
order_id?: string;
|
|
11278
|
+
reason?: string | null;
|
|
11279
|
+
requested_at?: string;
|
|
11280
|
+
status?: string;
|
|
11281
|
+
updated_at?: string;
|
|
11282
|
+
};
|
|
11283
|
+
Relationships: [];
|
|
11284
|
+
};
|
|
11285
|
+
logistics_order_merges: {
|
|
11286
|
+
Row: {
|
|
11287
|
+
group_key: string;
|
|
11288
|
+
id: string;
|
|
11289
|
+
items_moved: number;
|
|
11290
|
+
kept_order_id: string;
|
|
11291
|
+
kept_order_number: string | null;
|
|
11292
|
+
merged_at: string;
|
|
11293
|
+
merged_order_id: string;
|
|
11294
|
+
merged_order_number: string | null;
|
|
11295
|
+
sales_order_id: string | null;
|
|
11296
|
+
};
|
|
11297
|
+
Insert: {
|
|
11298
|
+
group_key: string;
|
|
11299
|
+
id?: string;
|
|
11300
|
+
items_moved?: number;
|
|
11301
|
+
kept_order_id: string;
|
|
11302
|
+
kept_order_number?: string | null;
|
|
11303
|
+
merged_at?: string;
|
|
11304
|
+
merged_order_id: string;
|
|
11305
|
+
merged_order_number?: string | null;
|
|
11306
|
+
sales_order_id?: string | null;
|
|
11307
|
+
};
|
|
11308
|
+
Update: {
|
|
11309
|
+
group_key?: string;
|
|
11310
|
+
id?: string;
|
|
11311
|
+
items_moved?: number;
|
|
11312
|
+
kept_order_id?: string;
|
|
11313
|
+
kept_order_number?: string | null;
|
|
11314
|
+
merged_at?: string;
|
|
11315
|
+
merged_order_id?: string;
|
|
11316
|
+
merged_order_number?: string | null;
|
|
11317
|
+
sales_order_id?: string | null;
|
|
11318
|
+
};
|
|
11319
|
+
Relationships: [];
|
|
11320
|
+
};
|
|
11321
|
+
logistics_packing_deviations: {
|
|
11322
|
+
Row: {
|
|
11323
|
+
auto_fixed_at: string | null;
|
|
11324
|
+
created_at: string;
|
|
11325
|
+
dev_key: string;
|
|
11326
|
+
first_seen_at: string;
|
|
11327
|
+
floriday_packing: Json;
|
|
11328
|
+
human_reason: string | null;
|
|
11329
|
+
id: string;
|
|
11330
|
+
last_seen_at: string;
|
|
11331
|
+
local_packing: Json;
|
|
11332
|
+
needs_human: boolean;
|
|
11333
|
+
order_id: string | null;
|
|
11334
|
+
order_item_id: string | null;
|
|
11335
|
+
order_number: string | null;
|
|
11336
|
+
product_id: string | null;
|
|
11337
|
+
product_name: string | null;
|
|
11338
|
+
resolved_at: string | null;
|
|
11339
|
+
scope: string;
|
|
11340
|
+
trade_item_id: string | null;
|
|
11341
|
+
updated_at: string;
|
|
11342
|
+
};
|
|
11343
|
+
Insert: {
|
|
11344
|
+
auto_fixed_at?: string | null;
|
|
11345
|
+
created_at?: string;
|
|
11346
|
+
dev_key: string;
|
|
11347
|
+
first_seen_at?: string;
|
|
11348
|
+
floriday_packing?: Json;
|
|
11349
|
+
human_reason?: string | null;
|
|
11350
|
+
id?: string;
|
|
11351
|
+
last_seen_at?: string;
|
|
11352
|
+
local_packing?: Json;
|
|
11353
|
+
needs_human?: boolean;
|
|
11354
|
+
order_id?: string | null;
|
|
11355
|
+
order_item_id?: string | null;
|
|
11356
|
+
order_number?: string | null;
|
|
11357
|
+
product_id?: string | null;
|
|
11358
|
+
product_name?: string | null;
|
|
11359
|
+
resolved_at?: string | null;
|
|
11360
|
+
scope: string;
|
|
11361
|
+
trade_item_id?: string | null;
|
|
11362
|
+
updated_at?: string;
|
|
11363
|
+
};
|
|
11364
|
+
Update: {
|
|
11365
|
+
auto_fixed_at?: string | null;
|
|
11366
|
+
created_at?: string;
|
|
11367
|
+
dev_key?: string;
|
|
11368
|
+
first_seen_at?: string;
|
|
11369
|
+
floriday_packing?: Json;
|
|
11370
|
+
human_reason?: string | null;
|
|
11371
|
+
id?: string;
|
|
11372
|
+
last_seen_at?: string;
|
|
11373
|
+
local_packing?: Json;
|
|
11374
|
+
needs_human?: boolean;
|
|
11375
|
+
order_id?: string | null;
|
|
11376
|
+
order_item_id?: string | null;
|
|
11377
|
+
order_number?: string | null;
|
|
11378
|
+
product_id?: string | null;
|
|
11379
|
+
product_name?: string | null;
|
|
11380
|
+
resolved_at?: string | null;
|
|
11381
|
+
scope?: string;
|
|
11382
|
+
trade_item_id?: string | null;
|
|
11383
|
+
updated_at?: string;
|
|
11384
|
+
};
|
|
11385
|
+
Relationships: [];
|
|
11386
|
+
};
|
|
10978
11387
|
logistics_pick_data_requests: {
|
|
10979
11388
|
Row: {
|
|
10980
11389
|
actions: Json;
|
|
@@ -11053,6 +11462,30 @@ export type Database = {
|
|
|
11053
11462
|
};
|
|
11054
11463
|
Relationships: [];
|
|
11055
11464
|
};
|
|
11465
|
+
logistics_plan_locks: {
|
|
11466
|
+
Row: {
|
|
11467
|
+
created_at: string;
|
|
11468
|
+
lock_key: string;
|
|
11469
|
+
locked_until: string;
|
|
11470
|
+
owner: string | null;
|
|
11471
|
+
updated_at: string;
|
|
11472
|
+
};
|
|
11473
|
+
Insert: {
|
|
11474
|
+
created_at?: string;
|
|
11475
|
+
lock_key: string;
|
|
11476
|
+
locked_until: string;
|
|
11477
|
+
owner?: string | null;
|
|
11478
|
+
updated_at?: string;
|
|
11479
|
+
};
|
|
11480
|
+
Update: {
|
|
11481
|
+
created_at?: string;
|
|
11482
|
+
lock_key?: string;
|
|
11483
|
+
locked_until?: string;
|
|
11484
|
+
owner?: string | null;
|
|
11485
|
+
updated_at?: string;
|
|
11486
|
+
};
|
|
11487
|
+
Relationships: [];
|
|
11488
|
+
};
|
|
11056
11489
|
logistics_plan_queue: {
|
|
11057
11490
|
Row: {
|
|
11058
11491
|
attempts: number;
|
|
@@ -11191,14 +11624,70 @@ export type Database = {
|
|
|
11191
11624
|
};
|
|
11192
11625
|
Relationships: [];
|
|
11193
11626
|
};
|
|
11194
|
-
|
|
11627
|
+
logistics_planner_diff_runs: {
|
|
11628
|
+
Row: {
|
|
11629
|
+
after_snapshot: Json | null;
|
|
11630
|
+
before_snapshot: Json;
|
|
11631
|
+
buffer_id: string | null;
|
|
11632
|
+
carts_after: number | null;
|
|
11633
|
+
carts_before: number | null;
|
|
11634
|
+
compared_at: string | null;
|
|
11635
|
+
created_at: string;
|
|
11636
|
+
differences: Json | null;
|
|
11637
|
+
id: string;
|
|
11638
|
+
identical: boolean | null;
|
|
11639
|
+
mode: string;
|
|
11640
|
+
order_id: string;
|
|
11641
|
+
order_ref: string | null;
|
|
11642
|
+
reason: string | null;
|
|
11643
|
+
status: string;
|
|
11644
|
+
};
|
|
11645
|
+
Insert: {
|
|
11646
|
+
after_snapshot?: Json | null;
|
|
11647
|
+
before_snapshot?: Json;
|
|
11648
|
+
buffer_id?: string | null;
|
|
11649
|
+
carts_after?: number | null;
|
|
11650
|
+
carts_before?: number | null;
|
|
11651
|
+
compared_at?: string | null;
|
|
11652
|
+
created_at?: string;
|
|
11653
|
+
differences?: Json | null;
|
|
11654
|
+
id?: string;
|
|
11655
|
+
identical?: boolean | null;
|
|
11656
|
+
mode: string;
|
|
11657
|
+
order_id: string;
|
|
11658
|
+
order_ref?: string | null;
|
|
11659
|
+
reason?: string | null;
|
|
11660
|
+
status?: string;
|
|
11661
|
+
};
|
|
11662
|
+
Update: {
|
|
11663
|
+
after_snapshot?: Json | null;
|
|
11664
|
+
before_snapshot?: Json;
|
|
11665
|
+
buffer_id?: string | null;
|
|
11666
|
+
carts_after?: number | null;
|
|
11667
|
+
carts_before?: number | null;
|
|
11668
|
+
compared_at?: string | null;
|
|
11669
|
+
created_at?: string;
|
|
11670
|
+
differences?: Json | null;
|
|
11671
|
+
id?: string;
|
|
11672
|
+
identical?: boolean | null;
|
|
11673
|
+
mode?: string;
|
|
11674
|
+
order_id?: string;
|
|
11675
|
+
order_ref?: string | null;
|
|
11676
|
+
reason?: string | null;
|
|
11677
|
+
status?: string;
|
|
11678
|
+
};
|
|
11679
|
+
Relationships: [];
|
|
11680
|
+
};
|
|
11681
|
+
logistics_rebuffer_state: {
|
|
11195
11682
|
Row: {
|
|
11196
11683
|
created_at: string;
|
|
11197
11684
|
id: boolean;
|
|
11198
11685
|
last_checked: number;
|
|
11199
11686
|
last_duration_ms: number;
|
|
11687
|
+
last_mode: string | null;
|
|
11200
11688
|
last_run_at: string | null;
|
|
11201
11689
|
last_updated: number;
|
|
11690
|
+
last_would_change: number | null;
|
|
11202
11691
|
pending: boolean;
|
|
11203
11692
|
requested_at: string | null;
|
|
11204
11693
|
updated_at: string;
|
|
@@ -11208,8 +11697,10 @@ export type Database = {
|
|
|
11208
11697
|
id?: boolean;
|
|
11209
11698
|
last_checked?: number;
|
|
11210
11699
|
last_duration_ms?: number;
|
|
11700
|
+
last_mode?: string | null;
|
|
11211
11701
|
last_run_at?: string | null;
|
|
11212
11702
|
last_updated?: number;
|
|
11703
|
+
last_would_change?: number | null;
|
|
11213
11704
|
pending?: boolean;
|
|
11214
11705
|
requested_at?: string | null;
|
|
11215
11706
|
updated_at?: string;
|
|
@@ -11219,8 +11710,10 @@ export type Database = {
|
|
|
11219
11710
|
id?: boolean;
|
|
11220
11711
|
last_checked?: number;
|
|
11221
11712
|
last_duration_ms?: number;
|
|
11713
|
+
last_mode?: string | null;
|
|
11222
11714
|
last_run_at?: string | null;
|
|
11223
11715
|
last_updated?: number;
|
|
11716
|
+
last_would_change?: number | null;
|
|
11224
11717
|
pending?: boolean;
|
|
11225
11718
|
requested_at?: string | null;
|
|
11226
11719
|
updated_at?: string;
|
|
@@ -12020,6 +12513,129 @@ export type Database = {
|
|
|
12020
12513
|
};
|
|
12021
12514
|
Relationships: [];
|
|
12022
12515
|
};
|
|
12516
|
+
logistics_trace_events_archive: {
|
|
12517
|
+
Row: {
|
|
12518
|
+
actor: string | null;
|
|
12519
|
+
attempts: number;
|
|
12520
|
+
calc: Json | null;
|
|
12521
|
+
cart_ref: string | null;
|
|
12522
|
+
created_at: string;
|
|
12523
|
+
db_action: string | null;
|
|
12524
|
+
db_new: Json | null;
|
|
12525
|
+
db_old: Json | null;
|
|
12526
|
+
db_record: string | null;
|
|
12527
|
+
db_table: string | null;
|
|
12528
|
+
decision: string | null;
|
|
12529
|
+
duration_ms: number | null;
|
|
12530
|
+
error: string | null;
|
|
12531
|
+
error_class: string | null;
|
|
12532
|
+
external_action: string | null;
|
|
12533
|
+
external_ref: string | null;
|
|
12534
|
+
external_response: Json | null;
|
|
12535
|
+
external_status: string | null;
|
|
12536
|
+
external_system: string | null;
|
|
12537
|
+
id: string;
|
|
12538
|
+
input: Json | null;
|
|
12539
|
+
next_attempt_at: string | null;
|
|
12540
|
+
next_step: string | null;
|
|
12541
|
+
node_id: string | null;
|
|
12542
|
+
order_ref: string | null;
|
|
12543
|
+
order_source: string | null;
|
|
12544
|
+
output: Json | null;
|
|
12545
|
+
phase: string;
|
|
12546
|
+
reads: Json | null;
|
|
12547
|
+
reason: string | null;
|
|
12548
|
+
rule: string | null;
|
|
12549
|
+
slip_ref: string | null;
|
|
12550
|
+
status: string;
|
|
12551
|
+
step: string;
|
|
12552
|
+
superseded_at: string;
|
|
12553
|
+
superseded_reason: string | null;
|
|
12554
|
+
trace_id: string;
|
|
12555
|
+
values_used: Json | null;
|
|
12556
|
+
};
|
|
12557
|
+
Insert: {
|
|
12558
|
+
actor?: string | null;
|
|
12559
|
+
attempts?: number;
|
|
12560
|
+
calc?: Json | null;
|
|
12561
|
+
cart_ref?: string | null;
|
|
12562
|
+
created_at?: string;
|
|
12563
|
+
db_action?: string | null;
|
|
12564
|
+
db_new?: Json | null;
|
|
12565
|
+
db_old?: Json | null;
|
|
12566
|
+
db_record?: string | null;
|
|
12567
|
+
db_table?: string | null;
|
|
12568
|
+
decision?: string | null;
|
|
12569
|
+
duration_ms?: number | null;
|
|
12570
|
+
error?: string | null;
|
|
12571
|
+
error_class?: string | null;
|
|
12572
|
+
external_action?: string | null;
|
|
12573
|
+
external_ref?: string | null;
|
|
12574
|
+
external_response?: Json | null;
|
|
12575
|
+
external_status?: string | null;
|
|
12576
|
+
external_system?: string | null;
|
|
12577
|
+
id?: string;
|
|
12578
|
+
input?: Json | null;
|
|
12579
|
+
next_attempt_at?: string | null;
|
|
12580
|
+
next_step?: string | null;
|
|
12581
|
+
node_id?: string | null;
|
|
12582
|
+
order_ref?: string | null;
|
|
12583
|
+
order_source?: string | null;
|
|
12584
|
+
output?: Json | null;
|
|
12585
|
+
phase: string;
|
|
12586
|
+
reads?: Json | null;
|
|
12587
|
+
reason?: string | null;
|
|
12588
|
+
rule?: string | null;
|
|
12589
|
+
slip_ref?: string | null;
|
|
12590
|
+
status: string;
|
|
12591
|
+
step: string;
|
|
12592
|
+
superseded_at?: string;
|
|
12593
|
+
superseded_reason?: string | null;
|
|
12594
|
+
trace_id?: string;
|
|
12595
|
+
values_used?: Json | null;
|
|
12596
|
+
};
|
|
12597
|
+
Update: {
|
|
12598
|
+
actor?: string | null;
|
|
12599
|
+
attempts?: number;
|
|
12600
|
+
calc?: Json | null;
|
|
12601
|
+
cart_ref?: string | null;
|
|
12602
|
+
created_at?: string;
|
|
12603
|
+
db_action?: string | null;
|
|
12604
|
+
db_new?: Json | null;
|
|
12605
|
+
db_old?: Json | null;
|
|
12606
|
+
db_record?: string | null;
|
|
12607
|
+
db_table?: string | null;
|
|
12608
|
+
decision?: string | null;
|
|
12609
|
+
duration_ms?: number | null;
|
|
12610
|
+
error?: string | null;
|
|
12611
|
+
error_class?: string | null;
|
|
12612
|
+
external_action?: string | null;
|
|
12613
|
+
external_ref?: string | null;
|
|
12614
|
+
external_response?: Json | null;
|
|
12615
|
+
external_status?: string | null;
|
|
12616
|
+
external_system?: string | null;
|
|
12617
|
+
id?: string;
|
|
12618
|
+
input?: Json | null;
|
|
12619
|
+
next_attempt_at?: string | null;
|
|
12620
|
+
next_step?: string | null;
|
|
12621
|
+
node_id?: string | null;
|
|
12622
|
+
order_ref?: string | null;
|
|
12623
|
+
order_source?: string | null;
|
|
12624
|
+
output?: Json | null;
|
|
12625
|
+
phase?: string;
|
|
12626
|
+
reads?: Json | null;
|
|
12627
|
+
reason?: string | null;
|
|
12628
|
+
rule?: string | null;
|
|
12629
|
+
slip_ref?: string | null;
|
|
12630
|
+
status?: string;
|
|
12631
|
+
step?: string;
|
|
12632
|
+
superseded_at?: string;
|
|
12633
|
+
superseded_reason?: string | null;
|
|
12634
|
+
trace_id?: string;
|
|
12635
|
+
values_used?: Json | null;
|
|
12636
|
+
};
|
|
12637
|
+
Relationships: [];
|
|
12638
|
+
};
|
|
12023
12639
|
logistics_variables: {
|
|
12024
12640
|
Row: {
|
|
12025
12641
|
created_at: string;
|
|
@@ -12167,6 +12783,7 @@ export type Database = {
|
|
|
12167
12783
|
has_attachments: boolean;
|
|
12168
12784
|
id: string;
|
|
12169
12785
|
message_id: string | null;
|
|
12786
|
+
preview: string | null;
|
|
12170
12787
|
profile_id: string | null;
|
|
12171
12788
|
raw_size: number | null;
|
|
12172
12789
|
received_at: string | null;
|
|
@@ -12190,6 +12807,7 @@ export type Database = {
|
|
|
12190
12807
|
has_attachments?: boolean;
|
|
12191
12808
|
id?: string;
|
|
12192
12809
|
message_id?: string | null;
|
|
12810
|
+
preview?: string | null;
|
|
12193
12811
|
profile_id?: string | null;
|
|
12194
12812
|
raw_size?: number | null;
|
|
12195
12813
|
received_at?: string | null;
|
|
@@ -12213,6 +12831,7 @@ export type Database = {
|
|
|
12213
12831
|
has_attachments?: boolean;
|
|
12214
12832
|
id?: string;
|
|
12215
12833
|
message_id?: string | null;
|
|
12834
|
+
preview?: string | null;
|
|
12216
12835
|
profile_id?: string | null;
|
|
12217
12836
|
raw_size?: number | null;
|
|
12218
12837
|
received_at?: string | null;
|
|
@@ -12248,6 +12867,7 @@ export type Database = {
|
|
|
12248
12867
|
};
|
|
12249
12868
|
mailbox_order_proposals: {
|
|
12250
12869
|
Row: {
|
|
12870
|
+
ai_ok: boolean | null;
|
|
12251
12871
|
ai_validation: Json | null;
|
|
12252
12872
|
confidence: number | null;
|
|
12253
12873
|
created_at: string;
|
|
@@ -12265,6 +12885,7 @@ export type Database = {
|
|
|
12265
12885
|
updated_at: string;
|
|
12266
12886
|
};
|
|
12267
12887
|
Insert: {
|
|
12888
|
+
ai_ok?: boolean | null;
|
|
12268
12889
|
ai_validation?: Json | null;
|
|
12269
12890
|
confidence?: number | null;
|
|
12270
12891
|
created_at?: string;
|
|
@@ -12282,6 +12903,7 @@ export type Database = {
|
|
|
12282
12903
|
updated_at?: string;
|
|
12283
12904
|
};
|
|
12284
12905
|
Update: {
|
|
12906
|
+
ai_ok?: boolean | null;
|
|
12285
12907
|
ai_validation?: Json | null;
|
|
12286
12908
|
confidence?: number | null;
|
|
12287
12909
|
created_at?: string;
|
|
@@ -13124,6 +13746,42 @@ export type Database = {
|
|
|
13124
13746
|
};
|
|
13125
13747
|
Relationships: [];
|
|
13126
13748
|
};
|
|
13749
|
+
monteur_contracten: {
|
|
13750
|
+
Row: {
|
|
13751
|
+
contract_type: string;
|
|
13752
|
+
created_at: string;
|
|
13753
|
+
days_per_week: number;
|
|
13754
|
+
hours_per_week: number;
|
|
13755
|
+
id: string;
|
|
13756
|
+
updated_at: string;
|
|
13757
|
+
user_id: string;
|
|
13758
|
+
vacation_day_hours: number;
|
|
13759
|
+
vacation_days_per_year: number;
|
|
13760
|
+
};
|
|
13761
|
+
Insert: {
|
|
13762
|
+
contract_type?: string;
|
|
13763
|
+
created_at?: string;
|
|
13764
|
+
days_per_week?: number;
|
|
13765
|
+
hours_per_week?: number;
|
|
13766
|
+
id?: string;
|
|
13767
|
+
updated_at?: string;
|
|
13768
|
+
user_id: string;
|
|
13769
|
+
vacation_day_hours?: number;
|
|
13770
|
+
vacation_days_per_year?: number;
|
|
13771
|
+
};
|
|
13772
|
+
Update: {
|
|
13773
|
+
contract_type?: string;
|
|
13774
|
+
created_at?: string;
|
|
13775
|
+
days_per_week?: number;
|
|
13776
|
+
hours_per_week?: number;
|
|
13777
|
+
id?: string;
|
|
13778
|
+
updated_at?: string;
|
|
13779
|
+
user_id?: string;
|
|
13780
|
+
vacation_day_hours?: number;
|
|
13781
|
+
vacation_days_per_year?: number;
|
|
13782
|
+
};
|
|
13783
|
+
Relationships: [];
|
|
13784
|
+
};
|
|
13127
13785
|
nmbrs_component_mapping: {
|
|
13128
13786
|
Row: {
|
|
13129
13787
|
created_at: string;
|
|
@@ -13615,6 +14273,9 @@ export type Database = {
|
|
|
13615
14273
|
id: string;
|
|
13616
14274
|
items: Json;
|
|
13617
14275
|
notes: string | null;
|
|
14276
|
+
order_creation_error: string | null;
|
|
14277
|
+
order_creation_failed_at: string | null;
|
|
14278
|
+
order_id: string | null;
|
|
13618
14279
|
order_number: string | null;
|
|
13619
14280
|
recipient_id: string;
|
|
13620
14281
|
total_amount: number;
|
|
@@ -13629,6 +14290,9 @@ export type Database = {
|
|
|
13629
14290
|
id?: string;
|
|
13630
14291
|
items?: Json;
|
|
13631
14292
|
notes?: string | null;
|
|
14293
|
+
order_creation_error?: string | null;
|
|
14294
|
+
order_creation_failed_at?: string | null;
|
|
14295
|
+
order_id?: string | null;
|
|
13632
14296
|
order_number?: string | null;
|
|
13633
14297
|
recipient_id: string;
|
|
13634
14298
|
total_amount?: number;
|
|
@@ -13643,6 +14307,9 @@ export type Database = {
|
|
|
13643
14307
|
id?: string;
|
|
13644
14308
|
items?: Json;
|
|
13645
14309
|
notes?: string | null;
|
|
14310
|
+
order_creation_error?: string | null;
|
|
14311
|
+
order_creation_failed_at?: string | null;
|
|
14312
|
+
order_id?: string | null;
|
|
13646
14313
|
order_number?: string | null;
|
|
13647
14314
|
recipient_id?: string;
|
|
13648
14315
|
total_amount?: number;
|
|
@@ -13662,6 +14329,13 @@ export type Database = {
|
|
|
13662
14329
|
referencedRelation: "customers";
|
|
13663
14330
|
referencedColumns: ["id"];
|
|
13664
14331
|
},
|
|
14332
|
+
{
|
|
14333
|
+
foreignKeyName: "offer_orders_order_id_fkey";
|
|
14334
|
+
columns: ["order_id"];
|
|
14335
|
+
isOneToOne: false;
|
|
14336
|
+
referencedRelation: "orders";
|
|
14337
|
+
referencedColumns: ["id"];
|
|
14338
|
+
},
|
|
13665
14339
|
{
|
|
13666
14340
|
foreignKeyName: "offer_orders_recipient_id_fkey";
|
|
13667
14341
|
columns: ["recipient_id"];
|
|
@@ -13807,6 +14481,30 @@ export type Database = {
|
|
|
13807
14481
|
};
|
|
13808
14482
|
Relationships: [];
|
|
13809
14483
|
};
|
|
14484
|
+
order_block_notifications: {
|
|
14485
|
+
Row: {
|
|
14486
|
+
id: string;
|
|
14487
|
+
notified_at: string;
|
|
14488
|
+
order_id: string;
|
|
14489
|
+
reason: string | null;
|
|
14490
|
+
reason_key: string;
|
|
14491
|
+
};
|
|
14492
|
+
Insert: {
|
|
14493
|
+
id?: string;
|
|
14494
|
+
notified_at?: string;
|
|
14495
|
+
order_id: string;
|
|
14496
|
+
reason?: string | null;
|
|
14497
|
+
reason_key: string;
|
|
14498
|
+
};
|
|
14499
|
+
Update: {
|
|
14500
|
+
id?: string;
|
|
14501
|
+
notified_at?: string;
|
|
14502
|
+
order_id?: string;
|
|
14503
|
+
reason?: string | null;
|
|
14504
|
+
reason_key?: string;
|
|
14505
|
+
};
|
|
14506
|
+
Relationships: [];
|
|
14507
|
+
};
|
|
13810
14508
|
order_buffers: {
|
|
13811
14509
|
Row: {
|
|
13812
14510
|
buffer_key: string;
|
|
@@ -14293,10 +14991,13 @@ export type Database = {
|
|
|
14293
14991
|
id: string;
|
|
14294
14992
|
layers_per_cart: number | null;
|
|
14295
14993
|
order_id: string;
|
|
14994
|
+
packing_locked_at: string | null;
|
|
14995
|
+
packing_locked_by: string | null;
|
|
14296
14996
|
plants_per_crate: number | null;
|
|
14297
14997
|
product_id: string | null;
|
|
14298
14998
|
product_name: string;
|
|
14299
14999
|
quantity: number;
|
|
15000
|
+
source_line_key: string | null;
|
|
14300
15001
|
unit: string;
|
|
14301
15002
|
unit_price: number | null;
|
|
14302
15003
|
};
|
|
@@ -14306,10 +15007,13 @@ export type Database = {
|
|
|
14306
15007
|
id?: string;
|
|
14307
15008
|
layers_per_cart?: number | null;
|
|
14308
15009
|
order_id: string;
|
|
15010
|
+
packing_locked_at?: string | null;
|
|
15011
|
+
packing_locked_by?: string | null;
|
|
14309
15012
|
plants_per_crate?: number | null;
|
|
14310
15013
|
product_id?: string | null;
|
|
14311
15014
|
product_name: string;
|
|
14312
15015
|
quantity?: number;
|
|
15016
|
+
source_line_key?: string | null;
|
|
14313
15017
|
unit?: string;
|
|
14314
15018
|
unit_price?: number | null;
|
|
14315
15019
|
};
|
|
@@ -14319,10 +15023,13 @@ export type Database = {
|
|
|
14319
15023
|
id?: string;
|
|
14320
15024
|
layers_per_cart?: number | null;
|
|
14321
15025
|
order_id?: string;
|
|
15026
|
+
packing_locked_at?: string | null;
|
|
15027
|
+
packing_locked_by?: string | null;
|
|
14322
15028
|
plants_per_crate?: number | null;
|
|
14323
15029
|
product_id?: string | null;
|
|
14324
15030
|
product_name?: string;
|
|
14325
15031
|
quantity?: number;
|
|
15032
|
+
source_line_key?: string | null;
|
|
14326
15033
|
unit?: string;
|
|
14327
15034
|
unit_price?: number | null;
|
|
14328
15035
|
};
|
|
@@ -15885,83 +16592,401 @@ export type Database = {
|
|
|
15885
16592
|
}
|
|
15886
16593
|
];
|
|
15887
16594
|
};
|
|
15888
|
-
|
|
16595
|
+
planning_monteur_day_locations: {
|
|
15889
16596
|
Row: {
|
|
15890
|
-
actief: boolean;
|
|
15891
16597
|
created_at: string;
|
|
15892
|
-
|
|
16598
|
+
day: string;
|
|
16599
|
+
end_at: string;
|
|
15893
16600
|
id: string;
|
|
15894
|
-
|
|
15895
|
-
|
|
15896
|
-
naam: string;
|
|
15897
|
-
pairing_code_hash: string | null;
|
|
15898
|
-
pairing_expires_at: string | null;
|
|
15899
|
-
pairing_used_at: string | null;
|
|
15900
|
-
token_hash: string;
|
|
16601
|
+
monteur_id: string;
|
|
16602
|
+
start_from: string;
|
|
15901
16603
|
updated_at: string;
|
|
15902
|
-
versie: string;
|
|
15903
16604
|
};
|
|
15904
16605
|
Insert: {
|
|
15905
|
-
actief?: boolean;
|
|
15906
16606
|
created_at?: string;
|
|
15907
|
-
|
|
16607
|
+
day: string;
|
|
16608
|
+
end_at?: string;
|
|
15908
16609
|
id?: string;
|
|
15909
|
-
|
|
15910
|
-
|
|
15911
|
-
naam: string;
|
|
15912
|
-
pairing_code_hash?: string | null;
|
|
15913
|
-
pairing_expires_at?: string | null;
|
|
15914
|
-
pairing_used_at?: string | null;
|
|
15915
|
-
token_hash: string;
|
|
16610
|
+
monteur_id: string;
|
|
16611
|
+
start_from?: string;
|
|
15916
16612
|
updated_at?: string;
|
|
15917
|
-
versie?: string;
|
|
15918
16613
|
};
|
|
15919
16614
|
Update: {
|
|
15920
|
-
actief?: boolean;
|
|
15921
16615
|
created_at?: string;
|
|
15922
|
-
|
|
16616
|
+
day?: string;
|
|
16617
|
+
end_at?: string;
|
|
15923
16618
|
id?: string;
|
|
15924
|
-
|
|
15925
|
-
|
|
15926
|
-
naam?: string;
|
|
15927
|
-
pairing_code_hash?: string | null;
|
|
15928
|
-
pairing_expires_at?: string | null;
|
|
15929
|
-
pairing_used_at?: string | null;
|
|
15930
|
-
token_hash?: string;
|
|
16619
|
+
monteur_id?: string;
|
|
16620
|
+
start_from?: string;
|
|
15931
16621
|
updated_at?: string;
|
|
15932
|
-
versie?: string;
|
|
15933
16622
|
};
|
|
15934
16623
|
Relationships: [];
|
|
15935
16624
|
};
|
|
15936
|
-
|
|
16625
|
+
planning_monteur_locations: {
|
|
15937
16626
|
Row: {
|
|
15938
|
-
bestaande_job_id: string | null;
|
|
15939
16627
|
created_at: string;
|
|
15940
|
-
|
|
15941
|
-
|
|
15942
|
-
|
|
16628
|
+
default_end: string;
|
|
16629
|
+
default_start: string;
|
|
16630
|
+
end_address: string | null;
|
|
16631
|
+
home_address: string | null;
|
|
15943
16632
|
id: string;
|
|
15944
|
-
|
|
15945
|
-
|
|
16633
|
+
monteur_id: string;
|
|
16634
|
+
start_address: string | null;
|
|
16635
|
+
updated_at: string;
|
|
15946
16636
|
};
|
|
15947
16637
|
Insert: {
|
|
15948
|
-
bestaande_job_id?: string | null;
|
|
15949
16638
|
created_at?: string;
|
|
15950
|
-
|
|
15951
|
-
|
|
15952
|
-
|
|
16639
|
+
default_end?: string;
|
|
16640
|
+
default_start?: string;
|
|
16641
|
+
end_address?: string | null;
|
|
16642
|
+
home_address?: string | null;
|
|
15953
16643
|
id?: string;
|
|
15954
|
-
|
|
15955
|
-
|
|
16644
|
+
monteur_id: string;
|
|
16645
|
+
start_address?: string | null;
|
|
16646
|
+
updated_at?: string;
|
|
15956
16647
|
};
|
|
15957
16648
|
Update: {
|
|
15958
|
-
bestaande_job_id?: string | null;
|
|
15959
16649
|
created_at?: string;
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
|
|
16650
|
+
default_end?: string;
|
|
16651
|
+
default_start?: string;
|
|
16652
|
+
end_address?: string | null;
|
|
16653
|
+
home_address?: string | null;
|
|
15963
16654
|
id?: string;
|
|
15964
|
-
|
|
16655
|
+
monteur_id?: string;
|
|
16656
|
+
start_address?: string | null;
|
|
16657
|
+
updated_at?: string;
|
|
16658
|
+
};
|
|
16659
|
+
Relationships: [];
|
|
16660
|
+
};
|
|
16661
|
+
planning_settings: {
|
|
16662
|
+
Row: {
|
|
16663
|
+
company_address: string | null;
|
|
16664
|
+
created_at: string;
|
|
16665
|
+
id: string;
|
|
16666
|
+
singleton: boolean;
|
|
16667
|
+
updated_at: string;
|
|
16668
|
+
};
|
|
16669
|
+
Insert: {
|
|
16670
|
+
company_address?: string | null;
|
|
16671
|
+
created_at?: string;
|
|
16672
|
+
id?: string;
|
|
16673
|
+
singleton?: boolean;
|
|
16674
|
+
updated_at?: string;
|
|
16675
|
+
};
|
|
16676
|
+
Update: {
|
|
16677
|
+
company_address?: string | null;
|
|
16678
|
+
created_at?: string;
|
|
16679
|
+
id?: string;
|
|
16680
|
+
singleton?: boolean;
|
|
16681
|
+
updated_at?: string;
|
|
16682
|
+
};
|
|
16683
|
+
Relationships: [];
|
|
16684
|
+
};
|
|
16685
|
+
planning_travel_legs: {
|
|
16686
|
+
Row: {
|
|
16687
|
+
after_min: number;
|
|
16688
|
+
after_reason: string | null;
|
|
16689
|
+
after_status: string;
|
|
16690
|
+
after_to_address: string | null;
|
|
16691
|
+
before_from_address: string | null;
|
|
16692
|
+
before_min: number;
|
|
16693
|
+
before_reason: string | null;
|
|
16694
|
+
before_status: string;
|
|
16695
|
+
computed_at: string;
|
|
16696
|
+
computed_end_at: string | null;
|
|
16697
|
+
computed_start_at: string | null;
|
|
16698
|
+
created_at: string;
|
|
16699
|
+
id: string;
|
|
16700
|
+
monteur_id: string;
|
|
16701
|
+
planning_item_id: string;
|
|
16702
|
+
shared_after_item_id: string | null;
|
|
16703
|
+
shared_before_item_id: string | null;
|
|
16704
|
+
updated_at: string;
|
|
16705
|
+
};
|
|
16706
|
+
Insert: {
|
|
16707
|
+
after_min?: number;
|
|
16708
|
+
after_reason?: string | null;
|
|
16709
|
+
after_status?: string;
|
|
16710
|
+
after_to_address?: string | null;
|
|
16711
|
+
before_from_address?: string | null;
|
|
16712
|
+
before_min?: number;
|
|
16713
|
+
before_reason?: string | null;
|
|
16714
|
+
before_status?: string;
|
|
16715
|
+
computed_at?: string;
|
|
16716
|
+
computed_end_at?: string | null;
|
|
16717
|
+
computed_start_at?: string | null;
|
|
16718
|
+
created_at?: string;
|
|
16719
|
+
id?: string;
|
|
16720
|
+
monteur_id: string;
|
|
16721
|
+
planning_item_id: string;
|
|
16722
|
+
shared_after_item_id?: string | null;
|
|
16723
|
+
shared_before_item_id?: string | null;
|
|
16724
|
+
updated_at?: string;
|
|
16725
|
+
};
|
|
16726
|
+
Update: {
|
|
16727
|
+
after_min?: number;
|
|
16728
|
+
after_reason?: string | null;
|
|
16729
|
+
after_status?: string;
|
|
16730
|
+
after_to_address?: string | null;
|
|
16731
|
+
before_from_address?: string | null;
|
|
16732
|
+
before_min?: number;
|
|
16733
|
+
before_reason?: string | null;
|
|
16734
|
+
before_status?: string;
|
|
16735
|
+
computed_at?: string;
|
|
16736
|
+
computed_end_at?: string | null;
|
|
16737
|
+
computed_start_at?: string | null;
|
|
16738
|
+
created_at?: string;
|
|
16739
|
+
id?: string;
|
|
16740
|
+
monteur_id?: string;
|
|
16741
|
+
planning_item_id?: string;
|
|
16742
|
+
shared_after_item_id?: string | null;
|
|
16743
|
+
shared_before_item_id?: string | null;
|
|
16744
|
+
updated_at?: string;
|
|
16745
|
+
};
|
|
16746
|
+
Relationships: [
|
|
16747
|
+
{
|
|
16748
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16749
|
+
columns: ["planning_item_id"];
|
|
16750
|
+
isOneToOne: false;
|
|
16751
|
+
referencedRelation: "planning_items";
|
|
16752
|
+
referencedColumns: ["id"];
|
|
16753
|
+
},
|
|
16754
|
+
{
|
|
16755
|
+
foreignKeyName: "planning_travel_legs_planning_item_id_fkey";
|
|
16756
|
+
columns: ["planning_item_id"];
|
|
16757
|
+
isOneToOne: false;
|
|
16758
|
+
referencedRelation: "planning_overview";
|
|
16759
|
+
referencedColumns: ["id"];
|
|
16760
|
+
},
|
|
16761
|
+
{
|
|
16762
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16763
|
+
columns: ["shared_after_item_id"];
|
|
16764
|
+
isOneToOne: false;
|
|
16765
|
+
referencedRelation: "planning_items";
|
|
16766
|
+
referencedColumns: ["id"];
|
|
16767
|
+
},
|
|
16768
|
+
{
|
|
16769
|
+
foreignKeyName: "planning_travel_legs_shared_after_item_id_fkey";
|
|
16770
|
+
columns: ["shared_after_item_id"];
|
|
16771
|
+
isOneToOne: false;
|
|
16772
|
+
referencedRelation: "planning_overview";
|
|
16773
|
+
referencedColumns: ["id"];
|
|
16774
|
+
},
|
|
16775
|
+
{
|
|
16776
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16777
|
+
columns: ["shared_before_item_id"];
|
|
16778
|
+
isOneToOne: false;
|
|
16779
|
+
referencedRelation: "planning_items";
|
|
16780
|
+
referencedColumns: ["id"];
|
|
16781
|
+
},
|
|
16782
|
+
{
|
|
16783
|
+
foreignKeyName: "planning_travel_legs_shared_before_item_id_fkey";
|
|
16784
|
+
columns: ["shared_before_item_id"];
|
|
16785
|
+
isOneToOne: false;
|
|
16786
|
+
referencedRelation: "planning_overview";
|
|
16787
|
+
referencedColumns: ["id"];
|
|
16788
|
+
}
|
|
16789
|
+
];
|
|
16790
|
+
};
|
|
16791
|
+
price_list_rows: {
|
|
16792
|
+
Row: {
|
|
16793
|
+
action: string;
|
|
16794
|
+
created_at: string;
|
|
16795
|
+
id: string;
|
|
16796
|
+
message: string | null;
|
|
16797
|
+
parsed: Json;
|
|
16798
|
+
price_list_id: string;
|
|
16799
|
+
raw: Json;
|
|
16800
|
+
row_number: number;
|
|
16801
|
+
supplier_product_id: string | null;
|
|
16802
|
+
};
|
|
16803
|
+
Insert: {
|
|
16804
|
+
action?: string;
|
|
16805
|
+
created_at?: string;
|
|
16806
|
+
id?: string;
|
|
16807
|
+
message?: string | null;
|
|
16808
|
+
parsed?: Json;
|
|
16809
|
+
price_list_id: string;
|
|
16810
|
+
raw?: Json;
|
|
16811
|
+
row_number: number;
|
|
16812
|
+
supplier_product_id?: string | null;
|
|
16813
|
+
};
|
|
16814
|
+
Update: {
|
|
16815
|
+
action?: string;
|
|
16816
|
+
created_at?: string;
|
|
16817
|
+
id?: string;
|
|
16818
|
+
message?: string | null;
|
|
16819
|
+
parsed?: Json;
|
|
16820
|
+
price_list_id?: string;
|
|
16821
|
+
raw?: Json;
|
|
16822
|
+
row_number?: number;
|
|
16823
|
+
supplier_product_id?: string | null;
|
|
16824
|
+
};
|
|
16825
|
+
Relationships: [
|
|
16826
|
+
{
|
|
16827
|
+
foreignKeyName: "price_list_rows_price_list_id_fkey";
|
|
16828
|
+
columns: ["price_list_id"];
|
|
16829
|
+
isOneToOne: false;
|
|
16830
|
+
referencedRelation: "price_lists";
|
|
16831
|
+
referencedColumns: ["id"];
|
|
16832
|
+
},
|
|
16833
|
+
{
|
|
16834
|
+
foreignKeyName: "price_list_rows_supplier_product_id_fkey";
|
|
16835
|
+
columns: ["supplier_product_id"];
|
|
16836
|
+
isOneToOne: false;
|
|
16837
|
+
referencedRelation: "supplier_products";
|
|
16838
|
+
referencedColumns: ["id"];
|
|
16839
|
+
}
|
|
16840
|
+
];
|
|
16841
|
+
};
|
|
16842
|
+
price_lists: {
|
|
16843
|
+
Row: {
|
|
16844
|
+
created_at: string;
|
|
16845
|
+
created_by: string | null;
|
|
16846
|
+
file_hash: string | null;
|
|
16847
|
+
file_name: string;
|
|
16848
|
+
file_path: string | null;
|
|
16849
|
+
headers: string[];
|
|
16850
|
+
id: string;
|
|
16851
|
+
preview: Json;
|
|
16852
|
+
processed_at: string | null;
|
|
16853
|
+
reason: string | null;
|
|
16854
|
+
row_count: number;
|
|
16855
|
+
sheet_name: string | null;
|
|
16856
|
+
source: string;
|
|
16857
|
+
stats: Json;
|
|
16858
|
+
status: string;
|
|
16859
|
+
supplier_guess: string | null;
|
|
16860
|
+
supplier_id: string | null;
|
|
16861
|
+
updated_at: string;
|
|
16862
|
+
};
|
|
16863
|
+
Insert: {
|
|
16864
|
+
created_at?: string;
|
|
16865
|
+
created_by?: string | null;
|
|
16866
|
+
file_hash?: string | null;
|
|
16867
|
+
file_name: string;
|
|
16868
|
+
file_path?: string | null;
|
|
16869
|
+
headers?: string[];
|
|
16870
|
+
id?: string;
|
|
16871
|
+
preview?: Json;
|
|
16872
|
+
processed_at?: string | null;
|
|
16873
|
+
reason?: string | null;
|
|
16874
|
+
row_count?: number;
|
|
16875
|
+
sheet_name?: string | null;
|
|
16876
|
+
source?: string;
|
|
16877
|
+
stats?: Json;
|
|
16878
|
+
status?: string;
|
|
16879
|
+
supplier_guess?: string | null;
|
|
16880
|
+
supplier_id?: string | null;
|
|
16881
|
+
updated_at?: string;
|
|
16882
|
+
};
|
|
16883
|
+
Update: {
|
|
16884
|
+
created_at?: string;
|
|
16885
|
+
created_by?: string | null;
|
|
16886
|
+
file_hash?: string | null;
|
|
16887
|
+
file_name?: string;
|
|
16888
|
+
file_path?: string | null;
|
|
16889
|
+
headers?: string[];
|
|
16890
|
+
id?: string;
|
|
16891
|
+
preview?: Json;
|
|
16892
|
+
processed_at?: string | null;
|
|
16893
|
+
reason?: string | null;
|
|
16894
|
+
row_count?: number;
|
|
16895
|
+
sheet_name?: string | null;
|
|
16896
|
+
source?: string;
|
|
16897
|
+
stats?: Json;
|
|
16898
|
+
status?: string;
|
|
16899
|
+
supplier_guess?: string | null;
|
|
16900
|
+
supplier_id?: string | null;
|
|
16901
|
+
updated_at?: string;
|
|
16902
|
+
};
|
|
16903
|
+
Relationships: [
|
|
16904
|
+
{
|
|
16905
|
+
foreignKeyName: "price_lists_supplier_id_fkey";
|
|
16906
|
+
columns: ["supplier_id"];
|
|
16907
|
+
isOneToOne: false;
|
|
16908
|
+
referencedRelation: "suppliers";
|
|
16909
|
+
referencedColumns: ["id"];
|
|
16910
|
+
}
|
|
16911
|
+
];
|
|
16912
|
+
};
|
|
16913
|
+
print_agents: {
|
|
16914
|
+
Row: {
|
|
16915
|
+
actief: boolean;
|
|
16916
|
+
created_at: string;
|
|
16917
|
+
gemelde_printers: Json;
|
|
16918
|
+
id: string;
|
|
16919
|
+
laatst_gezien: string | null;
|
|
16920
|
+
locatie: string;
|
|
16921
|
+
naam: string;
|
|
16922
|
+
pairing_code_hash: string | null;
|
|
16923
|
+
pairing_expires_at: string | null;
|
|
16924
|
+
pairing_used_at: string | null;
|
|
16925
|
+
token_hash: string;
|
|
16926
|
+
updated_at: string;
|
|
16927
|
+
versie: string;
|
|
16928
|
+
};
|
|
16929
|
+
Insert: {
|
|
16930
|
+
actief?: boolean;
|
|
16931
|
+
created_at?: string;
|
|
16932
|
+
gemelde_printers?: Json;
|
|
16933
|
+
id?: string;
|
|
16934
|
+
laatst_gezien?: string | null;
|
|
16935
|
+
locatie?: string;
|
|
16936
|
+
naam: string;
|
|
16937
|
+
pairing_code_hash?: string | null;
|
|
16938
|
+
pairing_expires_at?: string | null;
|
|
16939
|
+
pairing_used_at?: string | null;
|
|
16940
|
+
token_hash: string;
|
|
16941
|
+
updated_at?: string;
|
|
16942
|
+
versie?: string;
|
|
16943
|
+
};
|
|
16944
|
+
Update: {
|
|
16945
|
+
actief?: boolean;
|
|
16946
|
+
created_at?: string;
|
|
16947
|
+
gemelde_printers?: Json;
|
|
16948
|
+
id?: string;
|
|
16949
|
+
laatst_gezien?: string | null;
|
|
16950
|
+
locatie?: string;
|
|
16951
|
+
naam?: string;
|
|
16952
|
+
pairing_code_hash?: string | null;
|
|
16953
|
+
pairing_expires_at?: string | null;
|
|
16954
|
+
pairing_used_at?: string | null;
|
|
16955
|
+
token_hash?: string;
|
|
16956
|
+
updated_at?: string;
|
|
16957
|
+
versie?: string;
|
|
16958
|
+
};
|
|
16959
|
+
Relationships: [];
|
|
16960
|
+
};
|
|
16961
|
+
print_dedupe_events: {
|
|
16962
|
+
Row: {
|
|
16963
|
+
bestaande_job_id: string | null;
|
|
16964
|
+
created_at: string;
|
|
16965
|
+
detail: string | null;
|
|
16966
|
+
documentnaam: string | null;
|
|
16967
|
+
documenttype: string | null;
|
|
16968
|
+
id: string;
|
|
16969
|
+
idempotentie_sleutel: string;
|
|
16970
|
+
reden: string;
|
|
16971
|
+
};
|
|
16972
|
+
Insert: {
|
|
16973
|
+
bestaande_job_id?: string | null;
|
|
16974
|
+
created_at?: string;
|
|
16975
|
+
detail?: string | null;
|
|
16976
|
+
documentnaam?: string | null;
|
|
16977
|
+
documenttype?: string | null;
|
|
16978
|
+
id?: string;
|
|
16979
|
+
idempotentie_sleutel: string;
|
|
16980
|
+
reden: string;
|
|
16981
|
+
};
|
|
16982
|
+
Update: {
|
|
16983
|
+
bestaande_job_id?: string | null;
|
|
16984
|
+
created_at?: string;
|
|
16985
|
+
detail?: string | null;
|
|
16986
|
+
documentnaam?: string | null;
|
|
16987
|
+
documenttype?: string | null;
|
|
16988
|
+
id?: string;
|
|
16989
|
+
idempotentie_sleutel?: string;
|
|
15965
16990
|
reden?: string;
|
|
15966
16991
|
};
|
|
15967
16992
|
Relationships: [];
|
|
@@ -16976,6 +18001,8 @@ export type Database = {
|
|
|
16976
18001
|
};
|
|
16977
18002
|
product_load_settings: {
|
|
16978
18003
|
Row: {
|
|
18004
|
+
build: Json | null;
|
|
18005
|
+
build_status: string;
|
|
16979
18006
|
created_at: string;
|
|
16980
18007
|
id: string;
|
|
16981
18008
|
is_package: boolean;
|
|
@@ -16993,6 +18020,8 @@ export type Database = {
|
|
|
16993
18020
|
updated_at: string;
|
|
16994
18021
|
};
|
|
16995
18022
|
Insert: {
|
|
18023
|
+
build?: Json | null;
|
|
18024
|
+
build_status?: string;
|
|
16996
18025
|
created_at?: string;
|
|
16997
18026
|
id?: string;
|
|
16998
18027
|
is_package?: boolean;
|
|
@@ -17010,6 +18039,8 @@ export type Database = {
|
|
|
17010
18039
|
updated_at?: string;
|
|
17011
18040
|
};
|
|
17012
18041
|
Update: {
|
|
18042
|
+
build?: Json | null;
|
|
18043
|
+
build_status?: string;
|
|
17013
18044
|
created_at?: string;
|
|
17014
18045
|
id?: string;
|
|
17015
18046
|
is_package?: boolean;
|
|
@@ -17083,21 +18114,68 @@ export type Database = {
|
|
|
17083
18114
|
};
|
|
17084
18115
|
Relationships: [];
|
|
17085
18116
|
};
|
|
17086
|
-
|
|
18117
|
+
product_tray_stickers: {
|
|
17087
18118
|
Row: {
|
|
17088
|
-
|
|
17089
|
-
|
|
17090
|
-
|
|
17091
|
-
|
|
18119
|
+
bestand_url: string;
|
|
18120
|
+
bestandsgrootte: number | null;
|
|
18121
|
+
bestandsnaam: string | null;
|
|
18122
|
+
bestandspad: string | null;
|
|
17092
18123
|
created_at: string;
|
|
17093
|
-
|
|
17094
|
-
|
|
17095
|
-
|
|
17096
|
-
|
|
17097
|
-
|
|
17098
|
-
|
|
17099
|
-
|
|
17100
|
-
|
|
18124
|
+
product_id: string;
|
|
18125
|
+
updated_at: string;
|
|
18126
|
+
};
|
|
18127
|
+
Insert: {
|
|
18128
|
+
bestand_url: string;
|
|
18129
|
+
bestandsgrootte?: number | null;
|
|
18130
|
+
bestandsnaam?: string | null;
|
|
18131
|
+
bestandspad?: string | null;
|
|
18132
|
+
created_at?: string;
|
|
18133
|
+
product_id: string;
|
|
18134
|
+
updated_at?: string;
|
|
18135
|
+
};
|
|
18136
|
+
Update: {
|
|
18137
|
+
bestand_url?: string;
|
|
18138
|
+
bestandsgrootte?: number | null;
|
|
18139
|
+
bestandsnaam?: string | null;
|
|
18140
|
+
bestandspad?: string | null;
|
|
18141
|
+
created_at?: string;
|
|
18142
|
+
product_id?: string;
|
|
18143
|
+
updated_at?: string;
|
|
18144
|
+
};
|
|
18145
|
+
Relationships: [
|
|
18146
|
+
{
|
|
18147
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18148
|
+
columns: ["product_id"];
|
|
18149
|
+
isOneToOne: true;
|
|
18150
|
+
referencedRelation: "logistics_product_dimensions";
|
|
18151
|
+
referencedColumns: ["product_id"];
|
|
18152
|
+
},
|
|
18153
|
+
{
|
|
18154
|
+
foreignKeyName: "product_tray_stickers_product_id_fkey";
|
|
18155
|
+
columns: ["product_id"];
|
|
18156
|
+
isOneToOne: true;
|
|
18157
|
+
referencedRelation: "products";
|
|
18158
|
+
referencedColumns: ["id"];
|
|
18159
|
+
}
|
|
18160
|
+
];
|
|
18161
|
+
};
|
|
18162
|
+
products: {
|
|
18163
|
+
Row: {
|
|
18164
|
+
article_number: string | null;
|
|
18165
|
+
barcode: string | null;
|
|
18166
|
+
batch: string;
|
|
18167
|
+
crates_per_layer: number;
|
|
18168
|
+
created_at: string;
|
|
18169
|
+
custom_fields: Json;
|
|
18170
|
+
floriday_packing_confirmed_at: string | null;
|
|
18171
|
+
floriday_packing_source: string | null;
|
|
18172
|
+
floriday_trade_item_id: string | null;
|
|
18173
|
+
fust_type_id: string | null;
|
|
18174
|
+
id: string;
|
|
18175
|
+
image_url: string | null;
|
|
18176
|
+
incoming_quantity: number;
|
|
18177
|
+
is_layer: boolean;
|
|
18178
|
+
layers_per_cart: number;
|
|
17101
18179
|
location: string;
|
|
17102
18180
|
min_quantity: number;
|
|
17103
18181
|
plant_height_cm: number | null;
|
|
@@ -17119,6 +18197,8 @@ export type Database = {
|
|
|
17119
18197
|
crates_per_layer?: number;
|
|
17120
18198
|
created_at?: string;
|
|
17121
18199
|
custom_fields?: Json;
|
|
18200
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18201
|
+
floriday_packing_source?: string | null;
|
|
17122
18202
|
floriday_trade_item_id?: string | null;
|
|
17123
18203
|
fust_type_id?: string | null;
|
|
17124
18204
|
id?: string;
|
|
@@ -17147,6 +18227,8 @@ export type Database = {
|
|
|
17147
18227
|
crates_per_layer?: number;
|
|
17148
18228
|
created_at?: string;
|
|
17149
18229
|
custom_fields?: Json;
|
|
18230
|
+
floriday_packing_confirmed_at?: string | null;
|
|
18231
|
+
floriday_packing_source?: string | null;
|
|
17150
18232
|
floriday_trade_item_id?: string | null;
|
|
17151
18233
|
fust_type_id?: string | null;
|
|
17152
18234
|
id?: string;
|
|
@@ -17253,6 +18335,7 @@ export type Database = {
|
|
|
17253
18335
|
id: string;
|
|
17254
18336
|
is_superadmin: boolean;
|
|
17255
18337
|
notification_preferences: Json;
|
|
18338
|
+
phone: string | null;
|
|
17256
18339
|
tenant_id: string | null;
|
|
17257
18340
|
updated_at: string;
|
|
17258
18341
|
};
|
|
@@ -17265,6 +18348,7 @@ export type Database = {
|
|
|
17265
18348
|
id: string;
|
|
17266
18349
|
is_superadmin?: boolean;
|
|
17267
18350
|
notification_preferences?: Json;
|
|
18351
|
+
phone?: string | null;
|
|
17268
18352
|
tenant_id?: string | null;
|
|
17269
18353
|
updated_at?: string;
|
|
17270
18354
|
};
|
|
@@ -17277,6 +18361,7 @@ export type Database = {
|
|
|
17277
18361
|
id?: string;
|
|
17278
18362
|
is_superadmin?: boolean;
|
|
17279
18363
|
notification_preferences?: Json;
|
|
18364
|
+
phone?: string | null;
|
|
17280
18365
|
tenant_id?: string | null;
|
|
17281
18366
|
updated_at?: string;
|
|
17282
18367
|
};
|
|
@@ -17499,30 +18584,111 @@ export type Database = {
|
|
|
17499
18584
|
}
|
|
17500
18585
|
];
|
|
17501
18586
|
};
|
|
18587
|
+
purchase_order_dispatches: {
|
|
18588
|
+
Row: {
|
|
18589
|
+
created_at: string;
|
|
18590
|
+
id: string;
|
|
18591
|
+
last_error: string | null;
|
|
18592
|
+
outbox_id: string | null;
|
|
18593
|
+
purchase_order_id: string;
|
|
18594
|
+
status: string;
|
|
18595
|
+
supplier_id: string | null;
|
|
18596
|
+
supplier_name: string;
|
|
18597
|
+
to_address: string;
|
|
18598
|
+
updated_at: string;
|
|
18599
|
+
};
|
|
18600
|
+
Insert: {
|
|
18601
|
+
created_at?: string;
|
|
18602
|
+
id?: string;
|
|
18603
|
+
last_error?: string | null;
|
|
18604
|
+
outbox_id?: string | null;
|
|
18605
|
+
purchase_order_id: string;
|
|
18606
|
+
status?: string;
|
|
18607
|
+
supplier_id?: string | null;
|
|
18608
|
+
supplier_name?: string;
|
|
18609
|
+
to_address: string;
|
|
18610
|
+
updated_at?: string;
|
|
18611
|
+
};
|
|
18612
|
+
Update: {
|
|
18613
|
+
created_at?: string;
|
|
18614
|
+
id?: string;
|
|
18615
|
+
last_error?: string | null;
|
|
18616
|
+
outbox_id?: string | null;
|
|
18617
|
+
purchase_order_id?: string;
|
|
18618
|
+
status?: string;
|
|
18619
|
+
supplier_id?: string | null;
|
|
18620
|
+
supplier_name?: string;
|
|
18621
|
+
to_address?: string;
|
|
18622
|
+
updated_at?: string;
|
|
18623
|
+
};
|
|
18624
|
+
Relationships: [
|
|
18625
|
+
{
|
|
18626
|
+
foreignKeyName: "purchase_order_dispatches_purchase_order_id_fkey";
|
|
18627
|
+
columns: ["purchase_order_id"];
|
|
18628
|
+
isOneToOne: false;
|
|
18629
|
+
referencedRelation: "purchase_orders";
|
|
18630
|
+
referencedColumns: ["id"];
|
|
18631
|
+
},
|
|
18632
|
+
{
|
|
18633
|
+
foreignKeyName: "purchase_order_dispatches_supplier_id_fkey";
|
|
18634
|
+
columns: ["supplier_id"];
|
|
18635
|
+
isOneToOne: false;
|
|
18636
|
+
referencedRelation: "suppliers";
|
|
18637
|
+
referencedColumns: ["id"];
|
|
18638
|
+
}
|
|
18639
|
+
];
|
|
18640
|
+
};
|
|
17502
18641
|
purchase_order_items: {
|
|
17503
18642
|
Row: {
|
|
18643
|
+
article_number: string | null;
|
|
17504
18644
|
created_at: string;
|
|
18645
|
+
delivery_date: string | null;
|
|
17505
18646
|
id: string;
|
|
18647
|
+
name: string;
|
|
18648
|
+
note: string | null;
|
|
18649
|
+
pot_size: string | null;
|
|
17506
18650
|
product_id: string | null;
|
|
17507
18651
|
product_type: string;
|
|
17508
18652
|
purchase_order_id: string;
|
|
17509
18653
|
quantity: number;
|
|
18654
|
+
supplier_id: string | null;
|
|
18655
|
+
supplier_product_id: string | null;
|
|
18656
|
+
unit_price_cents: number;
|
|
18657
|
+
updated_at: string;
|
|
17510
18658
|
};
|
|
17511
18659
|
Insert: {
|
|
18660
|
+
article_number?: string | null;
|
|
17512
18661
|
created_at?: string;
|
|
18662
|
+
delivery_date?: string | null;
|
|
17513
18663
|
id?: string;
|
|
18664
|
+
name?: string;
|
|
18665
|
+
note?: string | null;
|
|
18666
|
+
pot_size?: string | null;
|
|
17514
18667
|
product_id?: string | null;
|
|
17515
18668
|
product_type?: string;
|
|
17516
18669
|
purchase_order_id: string;
|
|
17517
18670
|
quantity?: number;
|
|
18671
|
+
supplier_id?: string | null;
|
|
18672
|
+
supplier_product_id?: string | null;
|
|
18673
|
+
unit_price_cents?: number;
|
|
18674
|
+
updated_at?: string;
|
|
17518
18675
|
};
|
|
17519
18676
|
Update: {
|
|
18677
|
+
article_number?: string | null;
|
|
17520
18678
|
created_at?: string;
|
|
18679
|
+
delivery_date?: string | null;
|
|
17521
18680
|
id?: string;
|
|
18681
|
+
name?: string;
|
|
18682
|
+
note?: string | null;
|
|
18683
|
+
pot_size?: string | null;
|
|
17522
18684
|
product_id?: string | null;
|
|
17523
18685
|
product_type?: string;
|
|
17524
18686
|
purchase_order_id?: string;
|
|
17525
18687
|
quantity?: number;
|
|
18688
|
+
supplier_id?: string | null;
|
|
18689
|
+
supplier_product_id?: string | null;
|
|
18690
|
+
unit_price_cents?: number;
|
|
18691
|
+
updated_at?: string;
|
|
17526
18692
|
};
|
|
17527
18693
|
Relationships: [
|
|
17528
18694
|
{
|
|
@@ -17545,44 +18711,73 @@ export type Database = {
|
|
|
17545
18711
|
isOneToOne: false;
|
|
17546
18712
|
referencedRelation: "purchase_orders";
|
|
17547
18713
|
referencedColumns: ["id"];
|
|
18714
|
+
},
|
|
18715
|
+
{
|
|
18716
|
+
foreignKeyName: "purchase_order_items_supplier_id_fkey";
|
|
18717
|
+
columns: ["supplier_id"];
|
|
18718
|
+
isOneToOne: false;
|
|
18719
|
+
referencedRelation: "suppliers";
|
|
18720
|
+
referencedColumns: ["id"];
|
|
18721
|
+
},
|
|
18722
|
+
{
|
|
18723
|
+
foreignKeyName: "purchase_order_items_supplier_product_id_fkey";
|
|
18724
|
+
columns: ["supplier_product_id"];
|
|
18725
|
+
isOneToOne: false;
|
|
18726
|
+
referencedRelation: "supplier_products";
|
|
18727
|
+
referencedColumns: ["id"];
|
|
17548
18728
|
}
|
|
17549
18729
|
];
|
|
17550
18730
|
};
|
|
17551
18731
|
purchase_orders: {
|
|
17552
18732
|
Row: {
|
|
18733
|
+
contact_person: string | null;
|
|
17553
18734
|
created_at: string;
|
|
18735
|
+
created_by: string | null;
|
|
17554
18736
|
expected_delivery_date: string;
|
|
17555
18737
|
id: string;
|
|
17556
18738
|
location_id: string | null;
|
|
17557
18739
|
notes: string | null;
|
|
17558
18740
|
order_number: string;
|
|
18741
|
+
reference: string | null;
|
|
18742
|
+
sent_at: string | null;
|
|
17559
18743
|
status: string;
|
|
17560
18744
|
supplier_id: string | null;
|
|
17561
18745
|
supplier_name: string;
|
|
18746
|
+
total_cents: number;
|
|
17562
18747
|
updated_at: string;
|
|
17563
18748
|
};
|
|
17564
18749
|
Insert: {
|
|
18750
|
+
contact_person?: string | null;
|
|
17565
18751
|
created_at?: string;
|
|
17566
|
-
|
|
18752
|
+
created_by?: string | null;
|
|
18753
|
+
expected_delivery_date?: string;
|
|
17567
18754
|
id?: string;
|
|
17568
18755
|
location_id?: string | null;
|
|
17569
18756
|
notes?: string | null;
|
|
17570
|
-
order_number
|
|
18757
|
+
order_number?: string;
|
|
18758
|
+
reference?: string | null;
|
|
18759
|
+
sent_at?: string | null;
|
|
17571
18760
|
status?: string;
|
|
17572
18761
|
supplier_id?: string | null;
|
|
17573
18762
|
supplier_name?: string;
|
|
18763
|
+
total_cents?: number;
|
|
17574
18764
|
updated_at?: string;
|
|
17575
18765
|
};
|
|
17576
18766
|
Update: {
|
|
18767
|
+
contact_person?: string | null;
|
|
17577
18768
|
created_at?: string;
|
|
18769
|
+
created_by?: string | null;
|
|
17578
18770
|
expected_delivery_date?: string;
|
|
17579
18771
|
id?: string;
|
|
17580
18772
|
location_id?: string | null;
|
|
17581
18773
|
notes?: string | null;
|
|
17582
18774
|
order_number?: string;
|
|
18775
|
+
reference?: string | null;
|
|
18776
|
+
sent_at?: string | null;
|
|
17583
18777
|
status?: string;
|
|
17584
18778
|
supplier_id?: string | null;
|
|
17585
18779
|
supplier_name?: string;
|
|
18780
|
+
total_cents?: number;
|
|
17586
18781
|
updated_at?: string;
|
|
17587
18782
|
};
|
|
17588
18783
|
Relationships: [
|
|
@@ -18493,15 +19688,167 @@ export type Database = {
|
|
|
18493
19688
|
};
|
|
18494
19689
|
Relationships: [];
|
|
18495
19690
|
};
|
|
19691
|
+
supplier_contacts: {
|
|
19692
|
+
Row: {
|
|
19693
|
+
created_at: string;
|
|
19694
|
+
email: string | null;
|
|
19695
|
+
id: string;
|
|
19696
|
+
is_primary: boolean;
|
|
19697
|
+
name: string;
|
|
19698
|
+
phone: string | null;
|
|
19699
|
+
role: string | null;
|
|
19700
|
+
supplier_id: string;
|
|
19701
|
+
updated_at: string;
|
|
19702
|
+
};
|
|
19703
|
+
Insert: {
|
|
19704
|
+
created_at?: string;
|
|
19705
|
+
email?: string | null;
|
|
19706
|
+
id?: string;
|
|
19707
|
+
is_primary?: boolean;
|
|
19708
|
+
name: string;
|
|
19709
|
+
phone?: string | null;
|
|
19710
|
+
role?: string | null;
|
|
19711
|
+
supplier_id: string;
|
|
19712
|
+
updated_at?: string;
|
|
19713
|
+
};
|
|
19714
|
+
Update: {
|
|
19715
|
+
created_at?: string;
|
|
19716
|
+
email?: string | null;
|
|
19717
|
+
id?: string;
|
|
19718
|
+
is_primary?: boolean;
|
|
19719
|
+
name?: string;
|
|
19720
|
+
phone?: string | null;
|
|
19721
|
+
role?: string | null;
|
|
19722
|
+
supplier_id?: string;
|
|
19723
|
+
updated_at?: string;
|
|
19724
|
+
};
|
|
19725
|
+
Relationships: [
|
|
19726
|
+
{
|
|
19727
|
+
foreignKeyName: "supplier_contacts_supplier_id_fkey";
|
|
19728
|
+
columns: ["supplier_id"];
|
|
19729
|
+
isOneToOne: false;
|
|
19730
|
+
referencedRelation: "suppliers";
|
|
19731
|
+
referencedColumns: ["id"];
|
|
19732
|
+
}
|
|
19733
|
+
];
|
|
19734
|
+
};
|
|
19735
|
+
supplier_price_history: {
|
|
19736
|
+
Row: {
|
|
19737
|
+
created_at: string;
|
|
19738
|
+
id: string;
|
|
19739
|
+
new_price_cents: number;
|
|
19740
|
+
old_price_cents: number | null;
|
|
19741
|
+
price_list_id: string | null;
|
|
19742
|
+
supplier_id: string | null;
|
|
19743
|
+
supplier_product_id: string;
|
|
19744
|
+
};
|
|
19745
|
+
Insert: {
|
|
19746
|
+
created_at?: string;
|
|
19747
|
+
id?: string;
|
|
19748
|
+
new_price_cents: number;
|
|
19749
|
+
old_price_cents?: number | null;
|
|
19750
|
+
price_list_id?: string | null;
|
|
19751
|
+
supplier_id?: string | null;
|
|
19752
|
+
supplier_product_id: string;
|
|
19753
|
+
};
|
|
19754
|
+
Update: {
|
|
19755
|
+
created_at?: string;
|
|
19756
|
+
id?: string;
|
|
19757
|
+
new_price_cents?: number;
|
|
19758
|
+
old_price_cents?: number | null;
|
|
19759
|
+
price_list_id?: string | null;
|
|
19760
|
+
supplier_id?: string | null;
|
|
19761
|
+
supplier_product_id?: string;
|
|
19762
|
+
};
|
|
19763
|
+
Relationships: [
|
|
19764
|
+
{
|
|
19765
|
+
foreignKeyName: "supplier_price_history_price_list_id_fkey";
|
|
19766
|
+
columns: ["price_list_id"];
|
|
19767
|
+
isOneToOne: false;
|
|
19768
|
+
referencedRelation: "price_lists";
|
|
19769
|
+
referencedColumns: ["id"];
|
|
19770
|
+
},
|
|
19771
|
+
{
|
|
19772
|
+
foreignKeyName: "supplier_price_history_supplier_product_id_fkey";
|
|
19773
|
+
columns: ["supplier_product_id"];
|
|
19774
|
+
isOneToOne: false;
|
|
19775
|
+
referencedRelation: "supplier_products";
|
|
19776
|
+
referencedColumns: ["id"];
|
|
19777
|
+
}
|
|
19778
|
+
];
|
|
19779
|
+
};
|
|
19780
|
+
supplier_price_list_mappings: {
|
|
19781
|
+
Row: {
|
|
19782
|
+
column_map: Json;
|
|
19783
|
+
created_at: string;
|
|
19784
|
+
deactivate_missing: boolean;
|
|
19785
|
+
decimal_separator: string;
|
|
19786
|
+
expected_headers: string[];
|
|
19787
|
+
extract_pot_from_name: boolean;
|
|
19788
|
+
header_row: number;
|
|
19789
|
+
id: string;
|
|
19790
|
+
max_error_ratio: number;
|
|
19791
|
+
price_is_cents: boolean;
|
|
19792
|
+
sheet_name: string | null;
|
|
19793
|
+
supplier_id: string;
|
|
19794
|
+
updated_at: string;
|
|
19795
|
+
};
|
|
19796
|
+
Insert: {
|
|
19797
|
+
column_map?: Json;
|
|
19798
|
+
created_at?: string;
|
|
19799
|
+
deactivate_missing?: boolean;
|
|
19800
|
+
decimal_separator?: string;
|
|
19801
|
+
expected_headers?: string[];
|
|
19802
|
+
extract_pot_from_name?: boolean;
|
|
19803
|
+
header_row?: number;
|
|
19804
|
+
id?: string;
|
|
19805
|
+
max_error_ratio?: number;
|
|
19806
|
+
price_is_cents?: boolean;
|
|
19807
|
+
sheet_name?: string | null;
|
|
19808
|
+
supplier_id: string;
|
|
19809
|
+
updated_at?: string;
|
|
19810
|
+
};
|
|
19811
|
+
Update: {
|
|
19812
|
+
column_map?: Json;
|
|
19813
|
+
created_at?: string;
|
|
19814
|
+
deactivate_missing?: boolean;
|
|
19815
|
+
decimal_separator?: string;
|
|
19816
|
+
expected_headers?: string[];
|
|
19817
|
+
extract_pot_from_name?: boolean;
|
|
19818
|
+
header_row?: number;
|
|
19819
|
+
id?: string;
|
|
19820
|
+
max_error_ratio?: number;
|
|
19821
|
+
price_is_cents?: boolean;
|
|
19822
|
+
sheet_name?: string | null;
|
|
19823
|
+
supplier_id?: string;
|
|
19824
|
+
updated_at?: string;
|
|
19825
|
+
};
|
|
19826
|
+
Relationships: [
|
|
19827
|
+
{
|
|
19828
|
+
foreignKeyName: "supplier_price_list_mappings_supplier_id_fkey";
|
|
19829
|
+
columns: ["supplier_id"];
|
|
19830
|
+
isOneToOne: true;
|
|
19831
|
+
referencedRelation: "suppliers";
|
|
19832
|
+
referencedColumns: ["id"];
|
|
19833
|
+
}
|
|
19834
|
+
];
|
|
19835
|
+
};
|
|
18496
19836
|
supplier_products: {
|
|
18497
19837
|
Row: {
|
|
18498
19838
|
article_number: string | null;
|
|
19839
|
+
available_quantity: number;
|
|
18499
19840
|
created_at: string;
|
|
19841
|
+
height: string | null;
|
|
18500
19842
|
id: string;
|
|
19843
|
+
is_active: boolean;
|
|
19844
|
+
min_order: number;
|
|
18501
19845
|
name: string;
|
|
18502
19846
|
notes: string | null;
|
|
19847
|
+
order_unit: number;
|
|
18503
19848
|
pot_size: string | null;
|
|
18504
19849
|
price: number | null;
|
|
19850
|
+
price_cents: number;
|
|
19851
|
+
quality: string | null;
|
|
18505
19852
|
quantity: number | null;
|
|
18506
19853
|
supplier_id: string;
|
|
18507
19854
|
unit: string;
|
|
@@ -18509,12 +19856,19 @@ export type Database = {
|
|
|
18509
19856
|
};
|
|
18510
19857
|
Insert: {
|
|
18511
19858
|
article_number?: string | null;
|
|
19859
|
+
available_quantity?: number;
|
|
18512
19860
|
created_at?: string;
|
|
19861
|
+
height?: string | null;
|
|
18513
19862
|
id?: string;
|
|
19863
|
+
is_active?: boolean;
|
|
19864
|
+
min_order?: number;
|
|
18514
19865
|
name: string;
|
|
18515
19866
|
notes?: string | null;
|
|
19867
|
+
order_unit?: number;
|
|
18516
19868
|
pot_size?: string | null;
|
|
18517
19869
|
price?: number | null;
|
|
19870
|
+
price_cents?: number;
|
|
19871
|
+
quality?: string | null;
|
|
18518
19872
|
quantity?: number | null;
|
|
18519
19873
|
supplier_id: string;
|
|
18520
19874
|
unit?: string;
|
|
@@ -18522,12 +19876,19 @@ export type Database = {
|
|
|
18522
19876
|
};
|
|
18523
19877
|
Update: {
|
|
18524
19878
|
article_number?: string | null;
|
|
19879
|
+
available_quantity?: number;
|
|
18525
19880
|
created_at?: string;
|
|
19881
|
+
height?: string | null;
|
|
18526
19882
|
id?: string;
|
|
19883
|
+
is_active?: boolean;
|
|
19884
|
+
min_order?: number;
|
|
18527
19885
|
name?: string;
|
|
18528
19886
|
notes?: string | null;
|
|
19887
|
+
order_unit?: number;
|
|
18529
19888
|
pot_size?: string | null;
|
|
18530
19889
|
price?: number | null;
|
|
19890
|
+
price_cents?: number;
|
|
19891
|
+
quality?: string | null;
|
|
18531
19892
|
quantity?: number | null;
|
|
18532
19893
|
supplier_id?: string;
|
|
18533
19894
|
unit?: string;
|
|
@@ -18546,6 +19907,7 @@ export type Database = {
|
|
|
18546
19907
|
suppliers: {
|
|
18547
19908
|
Row: {
|
|
18548
19909
|
address: string | null;
|
|
19910
|
+
category: string | null;
|
|
18549
19911
|
column_mappings: Json | null;
|
|
18550
19912
|
contact_person: string | null;
|
|
18551
19913
|
created_at: string;
|
|
@@ -18553,13 +19915,24 @@ export type Database = {
|
|
|
18553
19915
|
email: string | null;
|
|
18554
19916
|
id: string;
|
|
18555
19917
|
imported_file_name: string | null;
|
|
19918
|
+
is_preferred: boolean;
|
|
19919
|
+
kvk_number: string | null;
|
|
19920
|
+
lead_time_days: number | null;
|
|
19921
|
+
min_order_amount_cents: number;
|
|
18556
19922
|
name: string;
|
|
18557
19923
|
notes: string | null;
|
|
19924
|
+
order_days: string[];
|
|
19925
|
+
order_email: string | null;
|
|
19926
|
+
payment_terms_days: number | null;
|
|
18558
19927
|
phone: string | null;
|
|
19928
|
+
status: string;
|
|
18559
19929
|
updated_at: string;
|
|
18560
|
-
|
|
19930
|
+
vat_number: string | null;
|
|
19931
|
+
website: string | null;
|
|
19932
|
+
};
|
|
18561
19933
|
Insert: {
|
|
18562
19934
|
address?: string | null;
|
|
19935
|
+
category?: string | null;
|
|
18563
19936
|
column_mappings?: Json | null;
|
|
18564
19937
|
contact_person?: string | null;
|
|
18565
19938
|
created_at?: string;
|
|
@@ -18567,13 +19940,24 @@ export type Database = {
|
|
|
18567
19940
|
email?: string | null;
|
|
18568
19941
|
id?: string;
|
|
18569
19942
|
imported_file_name?: string | null;
|
|
19943
|
+
is_preferred?: boolean;
|
|
19944
|
+
kvk_number?: string | null;
|
|
19945
|
+
lead_time_days?: number | null;
|
|
19946
|
+
min_order_amount_cents?: number;
|
|
18570
19947
|
name: string;
|
|
18571
19948
|
notes?: string | null;
|
|
19949
|
+
order_days?: string[];
|
|
19950
|
+
order_email?: string | null;
|
|
19951
|
+
payment_terms_days?: number | null;
|
|
18572
19952
|
phone?: string | null;
|
|
19953
|
+
status?: string;
|
|
18573
19954
|
updated_at?: string;
|
|
19955
|
+
vat_number?: string | null;
|
|
19956
|
+
website?: string | null;
|
|
18574
19957
|
};
|
|
18575
19958
|
Update: {
|
|
18576
19959
|
address?: string | null;
|
|
19960
|
+
category?: string | null;
|
|
18577
19961
|
column_mappings?: Json | null;
|
|
18578
19962
|
contact_person?: string | null;
|
|
18579
19963
|
created_at?: string;
|
|
@@ -18581,10 +19965,20 @@ export type Database = {
|
|
|
18581
19965
|
email?: string | null;
|
|
18582
19966
|
id?: string;
|
|
18583
19967
|
imported_file_name?: string | null;
|
|
19968
|
+
is_preferred?: boolean;
|
|
19969
|
+
kvk_number?: string | null;
|
|
19970
|
+
lead_time_days?: number | null;
|
|
19971
|
+
min_order_amount_cents?: number;
|
|
18584
19972
|
name?: string;
|
|
18585
19973
|
notes?: string | null;
|
|
19974
|
+
order_days?: string[];
|
|
19975
|
+
order_email?: string | null;
|
|
19976
|
+
payment_terms_days?: number | null;
|
|
18586
19977
|
phone?: string | null;
|
|
19978
|
+
status?: string;
|
|
18587
19979
|
updated_at?: string;
|
|
19980
|
+
vat_number?: string | null;
|
|
19981
|
+
website?: string | null;
|
|
18588
19982
|
};
|
|
18589
19983
|
Relationships: [];
|
|
18590
19984
|
};
|
|
@@ -18765,40 +20159,52 @@ export type Database = {
|
|
|
18765
20159
|
Row: {
|
|
18766
20160
|
approved_at: string | null;
|
|
18767
20161
|
approved_by: string | null;
|
|
20162
|
+
contract_hours: number;
|
|
18768
20163
|
created_at: string;
|
|
18769
20164
|
employee_id: string;
|
|
18770
20165
|
id: string;
|
|
18771
20166
|
locked: boolean;
|
|
20167
|
+
monteur_toelichting: string | null;
|
|
18772
20168
|
notes: string | null;
|
|
20169
|
+
planned_hours: number;
|
|
18773
20170
|
status: string;
|
|
18774
20171
|
submitted_at: string | null;
|
|
18775
20172
|
updated_at: string;
|
|
20173
|
+
variance_hours: number;
|
|
18776
20174
|
week_start: string;
|
|
18777
20175
|
};
|
|
18778
20176
|
Insert: {
|
|
18779
20177
|
approved_at?: string | null;
|
|
18780
20178
|
approved_by?: string | null;
|
|
20179
|
+
contract_hours?: number;
|
|
18781
20180
|
created_at?: string;
|
|
18782
20181
|
employee_id: string;
|
|
18783
20182
|
id?: string;
|
|
18784
20183
|
locked?: boolean;
|
|
20184
|
+
monteur_toelichting?: string | null;
|
|
18785
20185
|
notes?: string | null;
|
|
20186
|
+
planned_hours?: number;
|
|
18786
20187
|
status?: string;
|
|
18787
20188
|
submitted_at?: string | null;
|
|
18788
20189
|
updated_at?: string;
|
|
20190
|
+
variance_hours?: number;
|
|
18789
20191
|
week_start: string;
|
|
18790
20192
|
};
|
|
18791
20193
|
Update: {
|
|
18792
20194
|
approved_at?: string | null;
|
|
18793
20195
|
approved_by?: string | null;
|
|
20196
|
+
contract_hours?: number;
|
|
18794
20197
|
created_at?: string;
|
|
18795
20198
|
employee_id?: string;
|
|
18796
20199
|
id?: string;
|
|
18797
20200
|
locked?: boolean;
|
|
20201
|
+
monteur_toelichting?: string | null;
|
|
18798
20202
|
notes?: string | null;
|
|
20203
|
+
planned_hours?: number;
|
|
18799
20204
|
status?: string;
|
|
18800
20205
|
submitted_at?: string | null;
|
|
18801
20206
|
updated_at?: string;
|
|
20207
|
+
variance_hours?: number;
|
|
18802
20208
|
week_start?: string;
|
|
18803
20209
|
};
|
|
18804
20210
|
Relationships: [
|
|
@@ -19606,11 +21012,13 @@ export type Database = {
|
|
|
19606
21012
|
auto_invoice_trigger_statuses: string[];
|
|
19607
21013
|
created_at: string;
|
|
19608
21014
|
debtor_gl_account: string;
|
|
21015
|
+
default_article_code: string | null;
|
|
19609
21016
|
default_credit_invoice_type: string | null;
|
|
19610
21017
|
default_gl_account: string;
|
|
19611
21018
|
default_invoice_type: string;
|
|
19612
21019
|
default_payment_term_days: number;
|
|
19613
21020
|
default_vat_code: string;
|
|
21021
|
+
email_purpose: string | null;
|
|
19614
21022
|
home_country_code: string;
|
|
19615
21023
|
invoice_enabled_ao: boolean;
|
|
19616
21024
|
invoice_enabled_fo: boolean;
|
|
@@ -19632,11 +21040,13 @@ export type Database = {
|
|
|
19632
21040
|
auto_invoice_trigger_statuses?: string[];
|
|
19633
21041
|
created_at?: string;
|
|
19634
21042
|
debtor_gl_account?: string;
|
|
21043
|
+
default_article_code?: string | null;
|
|
19635
21044
|
default_credit_invoice_type?: string | null;
|
|
19636
21045
|
default_gl_account?: string;
|
|
19637
21046
|
default_invoice_type?: string;
|
|
19638
21047
|
default_payment_term_days?: number;
|
|
19639
21048
|
default_vat_code?: string;
|
|
21049
|
+
email_purpose?: string | null;
|
|
19640
21050
|
home_country_code?: string;
|
|
19641
21051
|
invoice_enabled_ao?: boolean;
|
|
19642
21052
|
invoice_enabled_fo?: boolean;
|
|
@@ -19658,11 +21068,13 @@ export type Database = {
|
|
|
19658
21068
|
auto_invoice_trigger_statuses?: string[];
|
|
19659
21069
|
created_at?: string;
|
|
19660
21070
|
debtor_gl_account?: string;
|
|
21071
|
+
default_article_code?: string | null;
|
|
19661
21072
|
default_credit_invoice_type?: string | null;
|
|
19662
21073
|
default_gl_account?: string;
|
|
19663
21074
|
default_invoice_type?: string;
|
|
19664
21075
|
default_payment_term_days?: number;
|
|
19665
21076
|
default_vat_code?: string;
|
|
21077
|
+
email_purpose?: string | null;
|
|
19666
21078
|
home_country_code?: string;
|
|
19667
21079
|
invoice_enabled_ao?: boolean;
|
|
19668
21080
|
invoice_enabled_fo?: boolean;
|
|
@@ -20151,6 +21563,45 @@ export type Database = {
|
|
|
20151
21563
|
}
|
|
20152
21564
|
];
|
|
20153
21565
|
};
|
|
21566
|
+
uren_beschikbare_dagen: {
|
|
21567
|
+
Row: {
|
|
21568
|
+
bron: string;
|
|
21569
|
+
created_at: string;
|
|
21570
|
+
datum: string;
|
|
21571
|
+
eind_tijd: string | null;
|
|
21572
|
+
half_hour_slots: number[];
|
|
21573
|
+
id: string;
|
|
21574
|
+
monteur_id: string;
|
|
21575
|
+
start_tijd: string | null;
|
|
21576
|
+
updated_at: string;
|
|
21577
|
+
uren: number;
|
|
21578
|
+
};
|
|
21579
|
+
Insert: {
|
|
21580
|
+
bron?: string;
|
|
21581
|
+
created_at?: string;
|
|
21582
|
+
datum: string;
|
|
21583
|
+
eind_tijd?: string | null;
|
|
21584
|
+
half_hour_slots?: number[];
|
|
21585
|
+
id?: string;
|
|
21586
|
+
monteur_id: string;
|
|
21587
|
+
start_tijd?: string | null;
|
|
21588
|
+
updated_at?: string;
|
|
21589
|
+
uren?: number;
|
|
21590
|
+
};
|
|
21591
|
+
Update: {
|
|
21592
|
+
bron?: string;
|
|
21593
|
+
created_at?: string;
|
|
21594
|
+
datum?: string;
|
|
21595
|
+
eind_tijd?: string | null;
|
|
21596
|
+
half_hour_slots?: number[];
|
|
21597
|
+
id?: string;
|
|
21598
|
+
monteur_id?: string;
|
|
21599
|
+
start_tijd?: string | null;
|
|
21600
|
+
updated_at?: string;
|
|
21601
|
+
uren?: number;
|
|
21602
|
+
};
|
|
21603
|
+
Relationships: [];
|
|
21604
|
+
};
|
|
20154
21605
|
uren_cao_profiles: {
|
|
20155
21606
|
Row: {
|
|
20156
21607
|
break_minutes: number | null;
|
|
@@ -20292,6 +21743,123 @@ export type Database = {
|
|
|
20292
21743
|
};
|
|
20293
21744
|
Relationships: [];
|
|
20294
21745
|
};
|
|
21746
|
+
uren_maandafsluitingen: {
|
|
21747
|
+
Row: {
|
|
21748
|
+
afgesloten_at: string | null;
|
|
21749
|
+
afgesloten_door: string | null;
|
|
21750
|
+
contract_minuten: number;
|
|
21751
|
+
correctie_reden: string | null;
|
|
21752
|
+
created_at: string;
|
|
21753
|
+
gecorrigeerd_at: string | null;
|
|
21754
|
+
gecorrigeerd_door: string | null;
|
|
21755
|
+
gewerkte_minuten: number;
|
|
21756
|
+
id: string;
|
|
21757
|
+
maand: string;
|
|
21758
|
+
min_minuten: number;
|
|
21759
|
+
monteur_id: string;
|
|
21760
|
+
netto_verschil_minuten: number;
|
|
21761
|
+
normaal_uitbetaald_minuten: number;
|
|
21762
|
+
overuren_minuten: number;
|
|
21763
|
+
plus_minuten: number;
|
|
21764
|
+
status: string;
|
|
21765
|
+
totaal_uitbetaald_minuten: number;
|
|
21766
|
+
updated_at: string;
|
|
21767
|
+
};
|
|
21768
|
+
Insert: {
|
|
21769
|
+
afgesloten_at?: string | null;
|
|
21770
|
+
afgesloten_door?: string | null;
|
|
21771
|
+
contract_minuten?: number;
|
|
21772
|
+
correctie_reden?: string | null;
|
|
21773
|
+
created_at?: string;
|
|
21774
|
+
gecorrigeerd_at?: string | null;
|
|
21775
|
+
gecorrigeerd_door?: string | null;
|
|
21776
|
+
gewerkte_minuten?: number;
|
|
21777
|
+
id?: string;
|
|
21778
|
+
maand: string;
|
|
21779
|
+
min_minuten?: number;
|
|
21780
|
+
monteur_id: string;
|
|
21781
|
+
netto_verschil_minuten?: number;
|
|
21782
|
+
normaal_uitbetaald_minuten?: number;
|
|
21783
|
+
overuren_minuten?: number;
|
|
21784
|
+
plus_minuten?: number;
|
|
21785
|
+
status?: string;
|
|
21786
|
+
totaal_uitbetaald_minuten?: number;
|
|
21787
|
+
updated_at?: string;
|
|
21788
|
+
};
|
|
21789
|
+
Update: {
|
|
21790
|
+
afgesloten_at?: string | null;
|
|
21791
|
+
afgesloten_door?: string | null;
|
|
21792
|
+
contract_minuten?: number;
|
|
21793
|
+
correctie_reden?: string | null;
|
|
21794
|
+
created_at?: string;
|
|
21795
|
+
gecorrigeerd_at?: string | null;
|
|
21796
|
+
gecorrigeerd_door?: string | null;
|
|
21797
|
+
gewerkte_minuten?: number;
|
|
21798
|
+
id?: string;
|
|
21799
|
+
maand?: string;
|
|
21800
|
+
min_minuten?: number;
|
|
21801
|
+
monteur_id?: string;
|
|
21802
|
+
netto_verschil_minuten?: number;
|
|
21803
|
+
normaal_uitbetaald_minuten?: number;
|
|
21804
|
+
overuren_minuten?: number;
|
|
21805
|
+
plus_minuten?: number;
|
|
21806
|
+
status?: string;
|
|
21807
|
+
totaal_uitbetaald_minuten?: number;
|
|
21808
|
+
updated_at?: string;
|
|
21809
|
+
};
|
|
21810
|
+
Relationships: [];
|
|
21811
|
+
};
|
|
21812
|
+
uren_overuren_verklaringen: {
|
|
21813
|
+
Row: {
|
|
21814
|
+
beoordeeld_door: string | null;
|
|
21815
|
+
beoordeeld_op: string | null;
|
|
21816
|
+
created_at: string;
|
|
21817
|
+
datum: string;
|
|
21818
|
+
eind_tijd: string | null;
|
|
21819
|
+
id: string;
|
|
21820
|
+
ingediend_at: string;
|
|
21821
|
+
monteur_id: string;
|
|
21822
|
+
overuren: number;
|
|
21823
|
+
reden_afkeur: string | null;
|
|
21824
|
+
start_tijd: string | null;
|
|
21825
|
+
status: string;
|
|
21826
|
+
toelichting: string;
|
|
21827
|
+
updated_at: string;
|
|
21828
|
+
};
|
|
21829
|
+
Insert: {
|
|
21830
|
+
beoordeeld_door?: string | null;
|
|
21831
|
+
beoordeeld_op?: string | null;
|
|
21832
|
+
created_at?: string;
|
|
21833
|
+
datum: string;
|
|
21834
|
+
eind_tijd?: string | null;
|
|
21835
|
+
id?: string;
|
|
21836
|
+
ingediend_at?: string;
|
|
21837
|
+
monteur_id: string;
|
|
21838
|
+
overuren: number;
|
|
21839
|
+
reden_afkeur?: string | null;
|
|
21840
|
+
start_tijd?: string | null;
|
|
21841
|
+
status?: string;
|
|
21842
|
+
toelichting: string;
|
|
21843
|
+
updated_at?: string;
|
|
21844
|
+
};
|
|
21845
|
+
Update: {
|
|
21846
|
+
beoordeeld_door?: string | null;
|
|
21847
|
+
beoordeeld_op?: string | null;
|
|
21848
|
+
created_at?: string;
|
|
21849
|
+
datum?: string;
|
|
21850
|
+
eind_tijd?: string | null;
|
|
21851
|
+
id?: string;
|
|
21852
|
+
ingediend_at?: string;
|
|
21853
|
+
monteur_id?: string;
|
|
21854
|
+
overuren?: number;
|
|
21855
|
+
reden_afkeur?: string | null;
|
|
21856
|
+
start_tijd?: string | null;
|
|
21857
|
+
status?: string;
|
|
21858
|
+
toelichting?: string;
|
|
21859
|
+
updated_at?: string;
|
|
21860
|
+
};
|
|
21861
|
+
Relationships: [];
|
|
21862
|
+
};
|
|
20295
21863
|
uren_settings: {
|
|
20296
21864
|
Row: {
|
|
20297
21865
|
break_minutes: number;
|
|
@@ -20337,6 +21905,75 @@ export type Database = {
|
|
|
20337
21905
|
};
|
|
20338
21906
|
Relationships: [];
|
|
20339
21907
|
};
|
|
21908
|
+
uren_standaardweek: {
|
|
21909
|
+
Row: {
|
|
21910
|
+
created_at: string;
|
|
21911
|
+
eind_slot: number;
|
|
21912
|
+
id: string;
|
|
21913
|
+
monteur_id: string;
|
|
21914
|
+
start_slot: number;
|
|
21915
|
+
updated_at: string;
|
|
21916
|
+
weekdag: number;
|
|
21917
|
+
};
|
|
21918
|
+
Insert: {
|
|
21919
|
+
created_at?: string;
|
|
21920
|
+
eind_slot: number;
|
|
21921
|
+
id?: string;
|
|
21922
|
+
monteur_id: string;
|
|
21923
|
+
start_slot: number;
|
|
21924
|
+
updated_at?: string;
|
|
21925
|
+
weekdag: number;
|
|
21926
|
+
};
|
|
21927
|
+
Update: {
|
|
21928
|
+
created_at?: string;
|
|
21929
|
+
eind_slot?: number;
|
|
21930
|
+
id?: string;
|
|
21931
|
+
monteur_id?: string;
|
|
21932
|
+
start_slot?: number;
|
|
21933
|
+
updated_at?: string;
|
|
21934
|
+
weekdag?: number;
|
|
21935
|
+
};
|
|
21936
|
+
Relationships: [];
|
|
21937
|
+
};
|
|
21938
|
+
uren_standaardweek_wijzigingen: {
|
|
21939
|
+
Row: {
|
|
21940
|
+
beoordeeld_door: string | null;
|
|
21941
|
+
beoordeeld_op: string | null;
|
|
21942
|
+
created_at: string;
|
|
21943
|
+
huidig: Json;
|
|
21944
|
+
id: string;
|
|
21945
|
+
monteur_id: string;
|
|
21946
|
+
reden_afkeur: string | null;
|
|
21947
|
+
status: string;
|
|
21948
|
+
updated_at: string;
|
|
21949
|
+
voorstel: Json;
|
|
21950
|
+
};
|
|
21951
|
+
Insert: {
|
|
21952
|
+
beoordeeld_door?: string | null;
|
|
21953
|
+
beoordeeld_op?: string | null;
|
|
21954
|
+
created_at?: string;
|
|
21955
|
+
huidig?: Json;
|
|
21956
|
+
id?: string;
|
|
21957
|
+
monteur_id: string;
|
|
21958
|
+
reden_afkeur?: string | null;
|
|
21959
|
+
status?: string;
|
|
21960
|
+
updated_at?: string;
|
|
21961
|
+
voorstel: Json;
|
|
21962
|
+
};
|
|
21963
|
+
Update: {
|
|
21964
|
+
beoordeeld_door?: string | null;
|
|
21965
|
+
beoordeeld_op?: string | null;
|
|
21966
|
+
created_at?: string;
|
|
21967
|
+
huidig?: Json;
|
|
21968
|
+
id?: string;
|
|
21969
|
+
monteur_id?: string;
|
|
21970
|
+
reden_afkeur?: string | null;
|
|
21971
|
+
status?: string;
|
|
21972
|
+
updated_at?: string;
|
|
21973
|
+
voorstel?: Json;
|
|
21974
|
+
};
|
|
21975
|
+
Relationships: [];
|
|
21976
|
+
};
|
|
20340
21977
|
uren_tarieven: {
|
|
20341
21978
|
Row: {
|
|
20342
21979
|
created_at: string;
|
|
@@ -20423,6 +22060,42 @@ export type Database = {
|
|
|
20423
22060
|
};
|
|
20424
22061
|
Relationships: [];
|
|
20425
22062
|
};
|
|
22063
|
+
uren_tijd_spiegel: {
|
|
22064
|
+
Row: {
|
|
22065
|
+
created_at: string;
|
|
22066
|
+
id: string;
|
|
22067
|
+
time_log_id: string;
|
|
22068
|
+
werkbon_time_log_id: string;
|
|
22069
|
+
};
|
|
22070
|
+
Insert: {
|
|
22071
|
+
created_at?: string;
|
|
22072
|
+
id?: string;
|
|
22073
|
+
time_log_id: string;
|
|
22074
|
+
werkbon_time_log_id: string;
|
|
22075
|
+
};
|
|
22076
|
+
Update: {
|
|
22077
|
+
created_at?: string;
|
|
22078
|
+
id?: string;
|
|
22079
|
+
time_log_id?: string;
|
|
22080
|
+
werkbon_time_log_id?: string;
|
|
22081
|
+
};
|
|
22082
|
+
Relationships: [
|
|
22083
|
+
{
|
|
22084
|
+
foreignKeyName: "uren_tijd_spiegel_time_log_id_fkey";
|
|
22085
|
+
columns: ["time_log_id"];
|
|
22086
|
+
isOneToOne: true;
|
|
22087
|
+
referencedRelation: "time_logs";
|
|
22088
|
+
referencedColumns: ["id"];
|
|
22089
|
+
},
|
|
22090
|
+
{
|
|
22091
|
+
foreignKeyName: "uren_tijd_spiegel_werkbon_time_log_id_fkey";
|
|
22092
|
+
columns: ["werkbon_time_log_id"];
|
|
22093
|
+
isOneToOne: true;
|
|
22094
|
+
referencedRelation: "werkbon_time_logs";
|
|
22095
|
+
referencedColumns: ["id"];
|
|
22096
|
+
}
|
|
22097
|
+
];
|
|
22098
|
+
};
|
|
20426
22099
|
uren_weekstaten: {
|
|
20427
22100
|
Row: {
|
|
20428
22101
|
approved_at: string | null;
|
|
@@ -20465,6 +22138,33 @@ export type Database = {
|
|
|
20465
22138
|
};
|
|
20466
22139
|
Relationships: [];
|
|
20467
22140
|
};
|
|
22141
|
+
uren_werktijd_voorkeuren: {
|
|
22142
|
+
Row: {
|
|
22143
|
+
created_at: string;
|
|
22144
|
+
eind_slot: number;
|
|
22145
|
+
id: string;
|
|
22146
|
+
monteur_id: string;
|
|
22147
|
+
start_slot: number;
|
|
22148
|
+
updated_at: string;
|
|
22149
|
+
};
|
|
22150
|
+
Insert: {
|
|
22151
|
+
created_at?: string;
|
|
22152
|
+
eind_slot?: number;
|
|
22153
|
+
id?: string;
|
|
22154
|
+
monteur_id: string;
|
|
22155
|
+
start_slot?: number;
|
|
22156
|
+
updated_at?: string;
|
|
22157
|
+
};
|
|
22158
|
+
Update: {
|
|
22159
|
+
created_at?: string;
|
|
22160
|
+
eind_slot?: number;
|
|
22161
|
+
id?: string;
|
|
22162
|
+
monteur_id?: string;
|
|
22163
|
+
start_slot?: number;
|
|
22164
|
+
updated_at?: string;
|
|
22165
|
+
};
|
|
22166
|
+
Relationships: [];
|
|
22167
|
+
};
|
|
20468
22168
|
user_module_permissions: {
|
|
20469
22169
|
Row: {
|
|
20470
22170
|
created_at: string;
|
|
@@ -20942,6 +22642,44 @@ export type Database = {
|
|
|
20942
22642
|
}
|
|
20943
22643
|
];
|
|
20944
22644
|
};
|
|
22645
|
+
werkbon_email_state: {
|
|
22646
|
+
Row: {
|
|
22647
|
+
created_at: string;
|
|
22648
|
+
event_id: string;
|
|
22649
|
+
id: string;
|
|
22650
|
+
is_archived: boolean;
|
|
22651
|
+
is_read: boolean;
|
|
22652
|
+
updated_at: string;
|
|
22653
|
+
werkbon_id: string | null;
|
|
22654
|
+
};
|
|
22655
|
+
Insert: {
|
|
22656
|
+
created_at?: string;
|
|
22657
|
+
event_id: string;
|
|
22658
|
+
id?: string;
|
|
22659
|
+
is_archived?: boolean;
|
|
22660
|
+
is_read?: boolean;
|
|
22661
|
+
updated_at?: string;
|
|
22662
|
+
werkbon_id?: string | null;
|
|
22663
|
+
};
|
|
22664
|
+
Update: {
|
|
22665
|
+
created_at?: string;
|
|
22666
|
+
event_id?: string;
|
|
22667
|
+
id?: string;
|
|
22668
|
+
is_archived?: boolean;
|
|
22669
|
+
is_read?: boolean;
|
|
22670
|
+
updated_at?: string;
|
|
22671
|
+
werkbon_id?: string | null;
|
|
22672
|
+
};
|
|
22673
|
+
Relationships: [
|
|
22674
|
+
{
|
|
22675
|
+
foreignKeyName: "werkbon_email_state_event_id_fkey";
|
|
22676
|
+
columns: ["event_id"];
|
|
22677
|
+
isOneToOne: true;
|
|
22678
|
+
referencedRelation: "email_auth_events";
|
|
22679
|
+
referencedColumns: ["id"];
|
|
22680
|
+
}
|
|
22681
|
+
];
|
|
22682
|
+
};
|
|
20945
22683
|
werkbon_export_runs: {
|
|
20946
22684
|
Row: {
|
|
20947
22685
|
created_at: string;
|
|
@@ -21098,60 +22836,201 @@ export type Database = {
|
|
|
21098
22836
|
};
|
|
21099
22837
|
Relationships: [];
|
|
21100
22838
|
};
|
|
21101
|
-
|
|
22839
|
+
werkbon_mail_ai_settings: {
|
|
21102
22840
|
Row: {
|
|
21103
|
-
article_number: string | null;
|
|
21104
22841
|
created_at: string;
|
|
21105
|
-
|
|
21106
|
-
|
|
21107
|
-
|
|
21108
|
-
quantity: number;
|
|
21109
|
-
source: string;
|
|
21110
|
-
unit: string;
|
|
21111
|
-
unit_price_cents: number;
|
|
22842
|
+
id: boolean;
|
|
22843
|
+
required_fields: string[];
|
|
22844
|
+
system_prompt: string;
|
|
21112
22845
|
updated_at: string;
|
|
21113
|
-
|
|
22846
|
+
updated_by: string | null;
|
|
21114
22847
|
};
|
|
21115
22848
|
Insert: {
|
|
21116
|
-
article_number?: string | null;
|
|
21117
22849
|
created_at?: string;
|
|
21118
|
-
|
|
21119
|
-
|
|
21120
|
-
|
|
21121
|
-
quantity?: number;
|
|
21122
|
-
source?: string;
|
|
21123
|
-
unit?: string;
|
|
21124
|
-
unit_price_cents?: number;
|
|
22850
|
+
id?: boolean;
|
|
22851
|
+
required_fields?: string[];
|
|
22852
|
+
system_prompt?: string;
|
|
21125
22853
|
updated_at?: string;
|
|
21126
|
-
|
|
22854
|
+
updated_by?: string | null;
|
|
21127
22855
|
};
|
|
21128
22856
|
Update: {
|
|
21129
|
-
article_number?: string | null;
|
|
21130
22857
|
created_at?: string;
|
|
21131
|
-
|
|
21132
|
-
|
|
21133
|
-
|
|
21134
|
-
quantity?: number;
|
|
21135
|
-
source?: string;
|
|
21136
|
-
unit?: string;
|
|
21137
|
-
unit_price_cents?: number;
|
|
22858
|
+
id?: boolean;
|
|
22859
|
+
required_fields?: string[];
|
|
22860
|
+
system_prompt?: string;
|
|
21138
22861
|
updated_at?: string;
|
|
21139
|
-
|
|
22862
|
+
updated_by?: string | null;
|
|
21140
22863
|
};
|
|
21141
|
-
Relationships: [
|
|
21142
|
-
|
|
21143
|
-
|
|
21144
|
-
|
|
21145
|
-
|
|
21146
|
-
|
|
21147
|
-
|
|
21148
|
-
|
|
21149
|
-
|
|
21150
|
-
|
|
21151
|
-
|
|
21152
|
-
|
|
21153
|
-
|
|
21154
|
-
|
|
22864
|
+
Relationships: [];
|
|
22865
|
+
};
|
|
22866
|
+
werkbon_mail_bodies: {
|
|
22867
|
+
Row: {
|
|
22868
|
+
created_at: string;
|
|
22869
|
+
event_id: string;
|
|
22870
|
+
fetch_error: string | null;
|
|
22871
|
+
fetched_at: string | null;
|
|
22872
|
+
html: string | null;
|
|
22873
|
+
updated_at: string;
|
|
22874
|
+
};
|
|
22875
|
+
Insert: {
|
|
22876
|
+
created_at?: string;
|
|
22877
|
+
event_id: string;
|
|
22878
|
+
fetch_error?: string | null;
|
|
22879
|
+
fetched_at?: string | null;
|
|
22880
|
+
html?: string | null;
|
|
22881
|
+
updated_at?: string;
|
|
22882
|
+
};
|
|
22883
|
+
Update: {
|
|
22884
|
+
created_at?: string;
|
|
22885
|
+
event_id?: string;
|
|
22886
|
+
fetch_error?: string | null;
|
|
22887
|
+
fetched_at?: string | null;
|
|
22888
|
+
html?: string | null;
|
|
22889
|
+
updated_at?: string;
|
|
22890
|
+
};
|
|
22891
|
+
Relationships: [];
|
|
22892
|
+
};
|
|
22893
|
+
werkbon_mail_inline_assets: {
|
|
22894
|
+
Row: {
|
|
22895
|
+
content_id: string | null;
|
|
22896
|
+
created_at: string;
|
|
22897
|
+
event_id: string;
|
|
22898
|
+
filename: string | null;
|
|
22899
|
+
id: string;
|
|
22900
|
+
is_inline: boolean;
|
|
22901
|
+
mime_type: string | null;
|
|
22902
|
+
size_bytes: number | null;
|
|
22903
|
+
storage_path: string;
|
|
22904
|
+
};
|
|
22905
|
+
Insert: {
|
|
22906
|
+
content_id?: string | null;
|
|
22907
|
+
created_at?: string;
|
|
22908
|
+
event_id: string;
|
|
22909
|
+
filename?: string | null;
|
|
22910
|
+
id?: string;
|
|
22911
|
+
is_inline?: boolean;
|
|
22912
|
+
mime_type?: string | null;
|
|
22913
|
+
size_bytes?: number | null;
|
|
22914
|
+
storage_path: string;
|
|
22915
|
+
};
|
|
22916
|
+
Update: {
|
|
22917
|
+
content_id?: string | null;
|
|
22918
|
+
created_at?: string;
|
|
22919
|
+
event_id?: string;
|
|
22920
|
+
filename?: string | null;
|
|
22921
|
+
id?: string;
|
|
22922
|
+
is_inline?: boolean;
|
|
22923
|
+
mime_type?: string | null;
|
|
22924
|
+
size_bytes?: number | null;
|
|
22925
|
+
storage_path?: string;
|
|
22926
|
+
};
|
|
22927
|
+
Relationships: [];
|
|
22928
|
+
};
|
|
22929
|
+
werkbon_mail_settings: {
|
|
22930
|
+
Row: {
|
|
22931
|
+
connection_id: string | null;
|
|
22932
|
+
connection_ids: string[];
|
|
22933
|
+
created_at: string;
|
|
22934
|
+
id: boolean;
|
|
22935
|
+
purposes: string[];
|
|
22936
|
+
source: string;
|
|
22937
|
+
updated_at: string;
|
|
22938
|
+
};
|
|
22939
|
+
Insert: {
|
|
22940
|
+
connection_id?: string | null;
|
|
22941
|
+
connection_ids?: string[];
|
|
22942
|
+
created_at?: string;
|
|
22943
|
+
id?: boolean;
|
|
22944
|
+
purposes?: string[];
|
|
22945
|
+
source?: string;
|
|
22946
|
+
updated_at?: string;
|
|
22947
|
+
};
|
|
22948
|
+
Update: {
|
|
22949
|
+
connection_id?: string | null;
|
|
22950
|
+
connection_ids?: string[];
|
|
22951
|
+
created_at?: string;
|
|
22952
|
+
id?: boolean;
|
|
22953
|
+
purposes?: string[];
|
|
22954
|
+
source?: string;
|
|
22955
|
+
updated_at?: string;
|
|
22956
|
+
};
|
|
22957
|
+
Relationships: [];
|
|
22958
|
+
};
|
|
22959
|
+
werkbon_mail_user_settings: {
|
|
22960
|
+
Row: {
|
|
22961
|
+
created_at: string;
|
|
22962
|
+
email_purpose: string | null;
|
|
22963
|
+
updated_at: string;
|
|
22964
|
+
user_id: string;
|
|
22965
|
+
};
|
|
22966
|
+
Insert: {
|
|
22967
|
+
created_at?: string;
|
|
22968
|
+
email_purpose?: string | null;
|
|
22969
|
+
updated_at?: string;
|
|
22970
|
+
user_id: string;
|
|
22971
|
+
};
|
|
22972
|
+
Update: {
|
|
22973
|
+
created_at?: string;
|
|
22974
|
+
email_purpose?: string | null;
|
|
22975
|
+
updated_at?: string;
|
|
22976
|
+
user_id?: string;
|
|
22977
|
+
};
|
|
22978
|
+
Relationships: [];
|
|
22979
|
+
};
|
|
22980
|
+
werkbon_materials: {
|
|
22981
|
+
Row: {
|
|
22982
|
+
article_number: string | null;
|
|
22983
|
+
created_at: string;
|
|
22984
|
+
created_by: string | null;
|
|
22985
|
+
description: string;
|
|
22986
|
+
id: string;
|
|
22987
|
+
quantity: number;
|
|
22988
|
+
source: string;
|
|
22989
|
+
unit: string;
|
|
22990
|
+
unit_price_cents: number;
|
|
22991
|
+
updated_at: string;
|
|
22992
|
+
werkbon_id: string;
|
|
22993
|
+
};
|
|
22994
|
+
Insert: {
|
|
22995
|
+
article_number?: string | null;
|
|
22996
|
+
created_at?: string;
|
|
22997
|
+
created_by?: string | null;
|
|
22998
|
+
description: string;
|
|
22999
|
+
id?: string;
|
|
23000
|
+
quantity?: number;
|
|
23001
|
+
source?: string;
|
|
23002
|
+
unit?: string;
|
|
23003
|
+
unit_price_cents?: number;
|
|
23004
|
+
updated_at?: string;
|
|
23005
|
+
werkbon_id: string;
|
|
23006
|
+
};
|
|
23007
|
+
Update: {
|
|
23008
|
+
article_number?: string | null;
|
|
23009
|
+
created_at?: string;
|
|
23010
|
+
created_by?: string | null;
|
|
23011
|
+
description?: string;
|
|
23012
|
+
id?: string;
|
|
23013
|
+
quantity?: number;
|
|
23014
|
+
source?: string;
|
|
23015
|
+
unit?: string;
|
|
23016
|
+
unit_price_cents?: number;
|
|
23017
|
+
updated_at?: string;
|
|
23018
|
+
werkbon_id?: string;
|
|
23019
|
+
};
|
|
23020
|
+
Relationships: [
|
|
23021
|
+
{
|
|
23022
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
23023
|
+
columns: ["werkbon_id"];
|
|
23024
|
+
isOneToOne: false;
|
|
23025
|
+
referencedRelation: "werkbonnen";
|
|
23026
|
+
referencedColumns: ["id"];
|
|
23027
|
+
},
|
|
23028
|
+
{
|
|
23029
|
+
foreignKeyName: "werkbon_materials_werkbon_id_fkey";
|
|
23030
|
+
columns: ["werkbon_id"];
|
|
23031
|
+
isOneToOne: false;
|
|
23032
|
+
referencedRelation: "wo_overview";
|
|
23033
|
+
referencedColumns: ["id"];
|
|
21155
23034
|
}
|
|
21156
23035
|
];
|
|
21157
23036
|
};
|
|
@@ -21233,10 +23112,12 @@ export type Database = {
|
|
|
21233
23112
|
Row: {
|
|
21234
23113
|
article_number: string | null;
|
|
21235
23114
|
artikel_id: string | null;
|
|
23115
|
+
cost_price_cents: number;
|
|
21236
23116
|
created_at: string;
|
|
21237
23117
|
gtin: string | null;
|
|
21238
23118
|
id: string;
|
|
21239
23119
|
manufacturer: string | null;
|
|
23120
|
+
margin_percent: number | null;
|
|
21240
23121
|
omschrijving: string;
|
|
21241
23122
|
package_id: string;
|
|
21242
23123
|
price_synced_at: string | null;
|
|
@@ -21251,10 +23132,12 @@ export type Database = {
|
|
|
21251
23132
|
Insert: {
|
|
21252
23133
|
article_number?: string | null;
|
|
21253
23134
|
artikel_id?: string | null;
|
|
23135
|
+
cost_price_cents?: number;
|
|
21254
23136
|
created_at?: string;
|
|
21255
23137
|
gtin?: string | null;
|
|
21256
23138
|
id?: string;
|
|
21257
23139
|
manufacturer?: string | null;
|
|
23140
|
+
margin_percent?: number | null;
|
|
21258
23141
|
omschrijving: string;
|
|
21259
23142
|
package_id: string;
|
|
21260
23143
|
price_synced_at?: string | null;
|
|
@@ -21269,10 +23152,12 @@ export type Database = {
|
|
|
21269
23152
|
Update: {
|
|
21270
23153
|
article_number?: string | null;
|
|
21271
23154
|
artikel_id?: string | null;
|
|
23155
|
+
cost_price_cents?: number;
|
|
21272
23156
|
created_at?: string;
|
|
21273
23157
|
gtin?: string | null;
|
|
21274
23158
|
id?: string;
|
|
21275
23159
|
manufacturer?: string | null;
|
|
23160
|
+
margin_percent?: number | null;
|
|
21276
23161
|
omschrijving?: string;
|
|
21277
23162
|
package_id?: string;
|
|
21278
23163
|
price_synced_at?: string | null;
|
|
@@ -21454,130 +23339,290 @@ export type Database = {
|
|
|
21454
23339
|
}
|
|
21455
23340
|
];
|
|
21456
23341
|
};
|
|
21457
|
-
|
|
23342
|
+
werkbon_proposal_lines: {
|
|
21458
23343
|
Row: {
|
|
21459
|
-
|
|
23344
|
+
article_number: string | null;
|
|
21460
23345
|
created_at: string;
|
|
21461
|
-
|
|
23346
|
+
description: string | null;
|
|
21462
23347
|
id: string;
|
|
23348
|
+
line_type: string;
|
|
21463
23349
|
note: string | null;
|
|
21464
|
-
|
|
21465
|
-
|
|
21466
|
-
|
|
23350
|
+
package_id: string | null;
|
|
23351
|
+
proposal_id: string;
|
|
23352
|
+
quantity: number | null;
|
|
23353
|
+
sort_order: number;
|
|
23354
|
+
unit: string | null;
|
|
23355
|
+
updated_at: string;
|
|
21467
23356
|
};
|
|
21468
23357
|
Insert: {
|
|
21469
|
-
|
|
23358
|
+
article_number?: string | null;
|
|
21470
23359
|
created_at?: string;
|
|
21471
|
-
|
|
23360
|
+
description?: string | null;
|
|
21472
23361
|
id?: string;
|
|
23362
|
+
line_type?: string;
|
|
21473
23363
|
note?: string | null;
|
|
21474
|
-
|
|
21475
|
-
|
|
21476
|
-
|
|
23364
|
+
package_id?: string | null;
|
|
23365
|
+
proposal_id: string;
|
|
23366
|
+
quantity?: number | null;
|
|
23367
|
+
sort_order?: number;
|
|
23368
|
+
unit?: string | null;
|
|
23369
|
+
updated_at?: string;
|
|
21477
23370
|
};
|
|
21478
23371
|
Update: {
|
|
21479
|
-
|
|
23372
|
+
article_number?: string | null;
|
|
21480
23373
|
created_at?: string;
|
|
21481
|
-
|
|
23374
|
+
description?: string | null;
|
|
21482
23375
|
id?: string;
|
|
23376
|
+
line_type?: string;
|
|
21483
23377
|
note?: string | null;
|
|
21484
|
-
|
|
21485
|
-
|
|
21486
|
-
|
|
23378
|
+
package_id?: string | null;
|
|
23379
|
+
proposal_id?: string;
|
|
23380
|
+
quantity?: number | null;
|
|
23381
|
+
sort_order?: number;
|
|
23382
|
+
unit?: string | null;
|
|
23383
|
+
updated_at?: string;
|
|
21487
23384
|
};
|
|
21488
23385
|
Relationships: [
|
|
21489
23386
|
{
|
|
21490
|
-
foreignKeyName: "
|
|
21491
|
-
columns: ["
|
|
21492
|
-
isOneToOne: false;
|
|
21493
|
-
referencedRelation: "werkbonnen";
|
|
21494
|
-
referencedColumns: ["id"];
|
|
21495
|
-
},
|
|
21496
|
-
{
|
|
21497
|
-
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
21498
|
-
columns: ["werkbon_id"];
|
|
23387
|
+
foreignKeyName: "werkbon_proposal_lines_proposal_id_fkey";
|
|
23388
|
+
columns: ["proposal_id"];
|
|
21499
23389
|
isOneToOne: false;
|
|
21500
|
-
referencedRelation: "
|
|
23390
|
+
referencedRelation: "werkbon_proposals";
|
|
21501
23391
|
referencedColumns: ["id"];
|
|
21502
23392
|
}
|
|
21503
23393
|
];
|
|
21504
23394
|
};
|
|
21505
|
-
|
|
23395
|
+
werkbon_proposals: {
|
|
21506
23396
|
Row: {
|
|
21507
|
-
|
|
23397
|
+
analysed: boolean;
|
|
21508
23398
|
budget_mandate_cents: number;
|
|
21509
23399
|
complaint_description: string | null;
|
|
23400
|
+
contact_id: string | null;
|
|
21510
23401
|
created_at: string;
|
|
21511
|
-
|
|
23402
|
+
created_werkbon_id: string | null;
|
|
21512
23403
|
customer_id: string | null;
|
|
23404
|
+
deadline_date: string | null;
|
|
23405
|
+
estimated_days: number | null;
|
|
23406
|
+
estimated_duration_minutes: number | null;
|
|
23407
|
+
event_id: string;
|
|
23408
|
+
external_id: string | null;
|
|
21513
23409
|
externe_referentie: string | null;
|
|
21514
|
-
|
|
21515
|
-
|
|
23410
|
+
from_email: string | null;
|
|
23411
|
+
from_name: string | null;
|
|
21516
23412
|
id: string;
|
|
21517
23413
|
internal_notes: string | null;
|
|
21518
|
-
|
|
21519
|
-
|
|
21520
|
-
|
|
21521
|
-
|
|
21522
|
-
project_number: string | null;
|
|
21523
|
-
review_reasons: string[];
|
|
23414
|
+
parsed_payload: Json;
|
|
23415
|
+
received_at: string | null;
|
|
23416
|
+
reviewed_at: string | null;
|
|
23417
|
+
reviewed_by: string | null;
|
|
21524
23418
|
room_number: string | null;
|
|
21525
23419
|
scheduled_end_time: string | null;
|
|
21526
23420
|
scheduled_start_time: string | null;
|
|
21527
|
-
sequence_number: number;
|
|
21528
|
-
signature_accepted_at: string | null;
|
|
21529
|
-
signature_by_user_id: string | null;
|
|
21530
|
-
signature_name: string | null;
|
|
21531
|
-
source_email_meta: Json | null;
|
|
21532
|
-
source_mailbox_message_id: string | null;
|
|
21533
|
-
source_pdf_path: string | null;
|
|
21534
|
-
source_type: string;
|
|
21535
23421
|
status: string;
|
|
23422
|
+
subject: string | null;
|
|
21536
23423
|
technician_id: string | null;
|
|
21537
|
-
technician_notes: string | null;
|
|
21538
|
-
technician_notes_raw: string | null;
|
|
21539
23424
|
technician_task_description: string | null;
|
|
21540
23425
|
updated_at: string;
|
|
21541
|
-
version: number;
|
|
21542
23426
|
work_address: string | null;
|
|
21543
23427
|
};
|
|
21544
23428
|
Insert: {
|
|
21545
|
-
|
|
23429
|
+
analysed?: boolean;
|
|
21546
23430
|
budget_mandate_cents?: number;
|
|
21547
23431
|
complaint_description?: string | null;
|
|
23432
|
+
contact_id?: string | null;
|
|
21548
23433
|
created_at?: string;
|
|
21549
|
-
|
|
23434
|
+
created_werkbon_id?: string | null;
|
|
21550
23435
|
customer_id?: string | null;
|
|
23436
|
+
deadline_date?: string | null;
|
|
23437
|
+
estimated_days?: number | null;
|
|
23438
|
+
estimated_duration_minutes?: number | null;
|
|
23439
|
+
event_id: string;
|
|
23440
|
+
external_id?: string | null;
|
|
21551
23441
|
externe_referentie?: string | null;
|
|
21552
|
-
|
|
21553
|
-
|
|
23442
|
+
from_email?: string | null;
|
|
23443
|
+
from_name?: string | null;
|
|
21554
23444
|
id?: string;
|
|
21555
23445
|
internal_notes?: string | null;
|
|
21556
|
-
|
|
21557
|
-
|
|
21558
|
-
|
|
21559
|
-
|
|
21560
|
-
project_number?: string | null;
|
|
21561
|
-
review_reasons?: string[];
|
|
23446
|
+
parsed_payload?: Json;
|
|
23447
|
+
received_at?: string | null;
|
|
23448
|
+
reviewed_at?: string | null;
|
|
23449
|
+
reviewed_by?: string | null;
|
|
21562
23450
|
room_number?: string | null;
|
|
21563
23451
|
scheduled_end_time?: string | null;
|
|
21564
23452
|
scheduled_start_time?: string | null;
|
|
21565
|
-
sequence_number: number;
|
|
21566
|
-
signature_accepted_at?: string | null;
|
|
21567
|
-
signature_by_user_id?: string | null;
|
|
21568
|
-
signature_name?: string | null;
|
|
21569
|
-
source_email_meta?: Json | null;
|
|
21570
|
-
source_mailbox_message_id?: string | null;
|
|
21571
|
-
source_pdf_path?: string | null;
|
|
21572
|
-
source_type?: string;
|
|
21573
23453
|
status?: string;
|
|
23454
|
+
subject?: string | null;
|
|
21574
23455
|
technician_id?: string | null;
|
|
21575
|
-
|
|
21576
|
-
|
|
23456
|
+
technician_task_description?: string | null;
|
|
23457
|
+
updated_at?: string;
|
|
23458
|
+
work_address?: string | null;
|
|
23459
|
+
};
|
|
23460
|
+
Update: {
|
|
23461
|
+
analysed?: boolean;
|
|
23462
|
+
budget_mandate_cents?: number;
|
|
23463
|
+
complaint_description?: string | null;
|
|
23464
|
+
contact_id?: string | null;
|
|
23465
|
+
created_at?: string;
|
|
23466
|
+
created_werkbon_id?: string | null;
|
|
23467
|
+
customer_id?: string | null;
|
|
23468
|
+
deadline_date?: string | null;
|
|
23469
|
+
estimated_days?: number | null;
|
|
23470
|
+
estimated_duration_minutes?: number | null;
|
|
23471
|
+
event_id?: string;
|
|
23472
|
+
external_id?: string | null;
|
|
23473
|
+
externe_referentie?: string | null;
|
|
23474
|
+
from_email?: string | null;
|
|
23475
|
+
from_name?: string | null;
|
|
23476
|
+
id?: string;
|
|
23477
|
+
internal_notes?: string | null;
|
|
23478
|
+
parsed_payload?: Json;
|
|
23479
|
+
received_at?: string | null;
|
|
23480
|
+
reviewed_at?: string | null;
|
|
23481
|
+
reviewed_by?: string | null;
|
|
23482
|
+
room_number?: string | null;
|
|
23483
|
+
scheduled_end_time?: string | null;
|
|
23484
|
+
scheduled_start_time?: string | null;
|
|
23485
|
+
status?: string;
|
|
23486
|
+
subject?: string | null;
|
|
23487
|
+
technician_id?: string | null;
|
|
23488
|
+
technician_task_description?: string | null;
|
|
23489
|
+
updated_at?: string;
|
|
23490
|
+
work_address?: string | null;
|
|
23491
|
+
};
|
|
23492
|
+
Relationships: [];
|
|
23493
|
+
};
|
|
23494
|
+
werkbon_time_logs: {
|
|
23495
|
+
Row: {
|
|
23496
|
+
activity: string;
|
|
23497
|
+
created_at: string;
|
|
23498
|
+
ended_at: string | null;
|
|
23499
|
+
id: string;
|
|
23500
|
+
note: string | null;
|
|
23501
|
+
started_at: string;
|
|
23502
|
+
user_id: string;
|
|
23503
|
+
werkbon_id: string;
|
|
23504
|
+
};
|
|
23505
|
+
Insert: {
|
|
23506
|
+
activity: string;
|
|
23507
|
+
created_at?: string;
|
|
23508
|
+
ended_at?: string | null;
|
|
23509
|
+
id?: string;
|
|
23510
|
+
note?: string | null;
|
|
23511
|
+
started_at?: string;
|
|
23512
|
+
user_id: string;
|
|
23513
|
+
werkbon_id: string;
|
|
23514
|
+
};
|
|
23515
|
+
Update: {
|
|
23516
|
+
activity?: string;
|
|
23517
|
+
created_at?: string;
|
|
23518
|
+
ended_at?: string | null;
|
|
23519
|
+
id?: string;
|
|
23520
|
+
note?: string | null;
|
|
23521
|
+
started_at?: string;
|
|
23522
|
+
user_id?: string;
|
|
23523
|
+
werkbon_id?: string;
|
|
23524
|
+
};
|
|
23525
|
+
Relationships: [
|
|
23526
|
+
{
|
|
23527
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
23528
|
+
columns: ["werkbon_id"];
|
|
23529
|
+
isOneToOne: false;
|
|
23530
|
+
referencedRelation: "werkbonnen";
|
|
23531
|
+
referencedColumns: ["id"];
|
|
23532
|
+
},
|
|
23533
|
+
{
|
|
23534
|
+
foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
|
|
23535
|
+
columns: ["werkbon_id"];
|
|
23536
|
+
isOneToOne: false;
|
|
23537
|
+
referencedRelation: "wo_overview";
|
|
23538
|
+
referencedColumns: ["id"];
|
|
23539
|
+
}
|
|
23540
|
+
];
|
|
23541
|
+
};
|
|
23542
|
+
werkbonnen: {
|
|
23543
|
+
Row: {
|
|
23544
|
+
assigned_user_id: string | null;
|
|
23545
|
+
budget_mandate_cents: number;
|
|
23546
|
+
complaint_description: string | null;
|
|
23547
|
+
created_at: string;
|
|
23548
|
+
created_by: string | null;
|
|
23549
|
+
customer_id: string | null;
|
|
23550
|
+
deadline_date: string | null;
|
|
23551
|
+
estimated_days: number | null;
|
|
23552
|
+
estimated_duration_minutes: number | null;
|
|
23553
|
+
externe_referentie: string | null;
|
|
23554
|
+
extra_costs_cents: number;
|
|
23555
|
+
first_time_fix: boolean | null;
|
|
23556
|
+
id: string;
|
|
23557
|
+
internal_notes: string | null;
|
|
23558
|
+
needs_detail_review: boolean;
|
|
23559
|
+
parent_werkbon_id: string | null;
|
|
23560
|
+
parsed_payload: Json | null;
|
|
23561
|
+
planning_status: string;
|
|
23562
|
+
project_number: string | null;
|
|
23563
|
+
review_reasons: string[];
|
|
23564
|
+
room_number: string | null;
|
|
23565
|
+
scheduled_end_time: string | null;
|
|
23566
|
+
scheduled_start_time: string | null;
|
|
23567
|
+
sequence_number: number;
|
|
23568
|
+
signature_accepted_at: string | null;
|
|
23569
|
+
signature_by_user_id: string | null;
|
|
23570
|
+
signature_name: string | null;
|
|
23571
|
+
source_email_meta: Json | null;
|
|
23572
|
+
source_mailbox_message_id: string | null;
|
|
23573
|
+
source_pdf_path: string | null;
|
|
23574
|
+
source_type: string;
|
|
23575
|
+
status: string;
|
|
23576
|
+
technician_id: string | null;
|
|
23577
|
+
technician_notes: string | null;
|
|
23578
|
+
technician_notes_raw: string | null;
|
|
23579
|
+
technician_task_description: string | null;
|
|
23580
|
+
updated_at: string;
|
|
23581
|
+
version: number;
|
|
23582
|
+
work_address: string | null;
|
|
23583
|
+
workday_hours: number | null;
|
|
23584
|
+
};
|
|
23585
|
+
Insert: {
|
|
23586
|
+
assigned_user_id?: string | null;
|
|
23587
|
+
budget_mandate_cents?: number;
|
|
23588
|
+
complaint_description?: string | null;
|
|
23589
|
+
created_at?: string;
|
|
23590
|
+
created_by?: string | null;
|
|
23591
|
+
customer_id?: string | null;
|
|
23592
|
+
deadline_date?: string | null;
|
|
23593
|
+
estimated_days?: number | null;
|
|
23594
|
+
estimated_duration_minutes?: number | null;
|
|
23595
|
+
externe_referentie?: string | null;
|
|
23596
|
+
extra_costs_cents?: number;
|
|
23597
|
+
first_time_fix?: boolean | null;
|
|
23598
|
+
id?: string;
|
|
23599
|
+
internal_notes?: string | null;
|
|
23600
|
+
needs_detail_review?: boolean;
|
|
23601
|
+
parent_werkbon_id?: string | null;
|
|
23602
|
+
parsed_payload?: Json | null;
|
|
23603
|
+
planning_status?: string;
|
|
23604
|
+
project_number?: string | null;
|
|
23605
|
+
review_reasons?: string[];
|
|
23606
|
+
room_number?: string | null;
|
|
23607
|
+
scheduled_end_time?: string | null;
|
|
23608
|
+
scheduled_start_time?: string | null;
|
|
23609
|
+
sequence_number: number;
|
|
23610
|
+
signature_accepted_at?: string | null;
|
|
23611
|
+
signature_by_user_id?: string | null;
|
|
23612
|
+
signature_name?: string | null;
|
|
23613
|
+
source_email_meta?: Json | null;
|
|
23614
|
+
source_mailbox_message_id?: string | null;
|
|
23615
|
+
source_pdf_path?: string | null;
|
|
23616
|
+
source_type?: string;
|
|
23617
|
+
status?: string;
|
|
23618
|
+
technician_id?: string | null;
|
|
23619
|
+
technician_notes?: string | null;
|
|
23620
|
+
technician_notes_raw?: string | null;
|
|
21577
23621
|
technician_task_description?: string | null;
|
|
21578
23622
|
updated_at?: string;
|
|
21579
23623
|
version?: number;
|
|
21580
23624
|
work_address?: string | null;
|
|
23625
|
+
workday_hours?: number | null;
|
|
21581
23626
|
};
|
|
21582
23627
|
Update: {
|
|
21583
23628
|
assigned_user_id?: string | null;
|
|
@@ -21586,6 +23631,9 @@ export type Database = {
|
|
|
21586
23631
|
created_at?: string;
|
|
21587
23632
|
created_by?: string | null;
|
|
21588
23633
|
customer_id?: string | null;
|
|
23634
|
+
deadline_date?: string | null;
|
|
23635
|
+
estimated_days?: number | null;
|
|
23636
|
+
estimated_duration_minutes?: number | null;
|
|
21589
23637
|
externe_referentie?: string | null;
|
|
21590
23638
|
extra_costs_cents?: number;
|
|
21591
23639
|
first_time_fix?: boolean | null;
|
|
@@ -21616,6 +23664,7 @@ export type Database = {
|
|
|
21616
23664
|
updated_at?: string;
|
|
21617
23665
|
version?: number;
|
|
21618
23666
|
work_address?: string | null;
|
|
23667
|
+
workday_hours?: number | null;
|
|
21619
23668
|
};
|
|
21620
23669
|
Relationships: [
|
|
21621
23670
|
{
|
|
@@ -22109,6 +24158,21 @@ export type Database = {
|
|
|
22109
24158
|
};
|
|
22110
24159
|
Relationships: [];
|
|
22111
24160
|
};
|
|
24161
|
+
logistics_packing_diff: {
|
|
24162
|
+
Row: {
|
|
24163
|
+
dev_key: string | null;
|
|
24164
|
+
floriday_packing: Json | null;
|
|
24165
|
+
local_packing: Json | null;
|
|
24166
|
+
order_id: string | null;
|
|
24167
|
+
order_item_id: string | null;
|
|
24168
|
+
order_number: string | null;
|
|
24169
|
+
product_id: string | null;
|
|
24170
|
+
product_name: string | null;
|
|
24171
|
+
scope: string | null;
|
|
24172
|
+
trade_item_id: string | null;
|
|
24173
|
+
};
|
|
24174
|
+
Relationships: [];
|
|
24175
|
+
};
|
|
22112
24176
|
logistics_product_dimensions: {
|
|
22113
24177
|
Row: {
|
|
22114
24178
|
dimension_source: string | null;
|
|
@@ -22858,6 +24922,10 @@ export type Database = {
|
|
|
22858
24922
|
};
|
|
22859
24923
|
Returns: string;
|
|
22860
24924
|
};
|
|
24925
|
+
backfill_cart_numbers_day_seq: {
|
|
24926
|
+
Args: never;
|
|
24927
|
+
Returns: number;
|
|
24928
|
+
};
|
|
22861
24929
|
backfill_open_order_reservations: {
|
|
22862
24930
|
Args: never;
|
|
22863
24931
|
Returns: {
|
|
@@ -23344,8 +25412,6 @@ export type Database = {
|
|
|
23344
25412
|
cart_index: number;
|
|
23345
25413
|
cart_number: string;
|
|
23346
25414
|
cart_number_id: string;
|
|
23347
|
-
cart_seq: number;
|
|
23348
|
-
cart_total: number;
|
|
23349
25415
|
order_id: string;
|
|
23350
25416
|
order_number: string;
|
|
23351
25417
|
order_source: string;
|
|
@@ -23361,10 +25427,32 @@ export type Database = {
|
|
|
23361
25427
|
};
|
|
23362
25428
|
Returns: number;
|
|
23363
25429
|
};
|
|
25430
|
+
control_mark_carts_delivered_detail: {
|
|
25431
|
+
Args: {
|
|
25432
|
+
p_carts: Json;
|
|
25433
|
+
};
|
|
25434
|
+
Returns: {
|
|
25435
|
+
cart_index: number;
|
|
25436
|
+
frozen: boolean;
|
|
25437
|
+
message: string;
|
|
25438
|
+
order_id: string;
|
|
25439
|
+
order_source: string;
|
|
25440
|
+
outcome: string;
|
|
25441
|
+
}[];
|
|
25442
|
+
};
|
|
23364
25443
|
count_distinct_regulatory_products: {
|
|
23365
25444
|
Args: never;
|
|
23366
25445
|
Returns: number;
|
|
23367
25446
|
};
|
|
25447
|
+
create_order_from_public_offer: {
|
|
25448
|
+
Args: {
|
|
25449
|
+
p_carrier_id?: string;
|
|
25450
|
+
p_delivery_date?: string;
|
|
25451
|
+
p_delivery_garden_id?: string;
|
|
25452
|
+
p_offer_order_id: string;
|
|
25453
|
+
};
|
|
25454
|
+
Returns: Json;
|
|
25455
|
+
};
|
|
23368
25456
|
current_monteur_id: {
|
|
23369
25457
|
Args: never;
|
|
23370
25458
|
Returns: string;
|
|
@@ -23866,6 +25954,27 @@ export type Database = {
|
|
|
23866
25954
|
Args: never;
|
|
23867
25955
|
Returns: string;
|
|
23868
25956
|
};
|
|
25957
|
+
handover_afspraak_intrekken: {
|
|
25958
|
+
Args: {
|
|
25959
|
+
_sleutel: string;
|
|
25960
|
+
};
|
|
25961
|
+
Returns: boolean;
|
|
25962
|
+
};
|
|
25963
|
+
handover_afspraak_zetten: {
|
|
25964
|
+
Args: {
|
|
25965
|
+
_besluit: string;
|
|
25966
|
+
_item: string;
|
|
25967
|
+
_modules: string[];
|
|
25968
|
+
_sleutel: string;
|
|
25969
|
+
_soort: string;
|
|
25970
|
+
_versie_vingerafdruk: string;
|
|
25971
|
+
};
|
|
25972
|
+
Returns: boolean;
|
|
25973
|
+
};
|
|
25974
|
+
handover_afspraken: {
|
|
25975
|
+
Args: never;
|
|
25976
|
+
Returns: Json;
|
|
25977
|
+
};
|
|
23869
25978
|
handover_archief_lijst: {
|
|
23870
25979
|
Args: never;
|
|
23871
25980
|
Returns: Json;
|
|
@@ -23883,6 +25992,12 @@ export type Database = {
|
|
|
23883
25992
|
};
|
|
23884
25993
|
Returns: boolean;
|
|
23885
25994
|
};
|
|
25995
|
+
handover_check_afronden_na_scan: {
|
|
25996
|
+
Args: {
|
|
25997
|
+
_module_ids: string[];
|
|
25998
|
+
};
|
|
25999
|
+
Returns: number;
|
|
26000
|
+
};
|
|
23886
26001
|
handover_check_markeren: {
|
|
23887
26002
|
Args: {
|
|
23888
26003
|
_module_ids: string[];
|
|
@@ -23926,6 +26041,14 @@ export type Database = {
|
|
|
23926
26041
|
};
|
|
23927
26042
|
Returns: boolean;
|
|
23928
26043
|
};
|
|
26044
|
+
handover_md_bron_zetten: {
|
|
26045
|
+
Args: {
|
|
26046
|
+
_md: boolean;
|
|
26047
|
+
_module_id: string;
|
|
26048
|
+
_pad?: string;
|
|
26049
|
+
};
|
|
26050
|
+
Returns: boolean;
|
|
26051
|
+
};
|
|
23929
26052
|
handover_module_meta_zetten: {
|
|
23930
26053
|
Args: {
|
|
23931
26054
|
_module_id: string;
|
|
@@ -23934,6 +26057,24 @@ export type Database = {
|
|
|
23934
26057
|
};
|
|
23935
26058
|
Returns: boolean;
|
|
23936
26059
|
};
|
|
26060
|
+
handover_naam_zetten: {
|
|
26061
|
+
Args: {
|
|
26062
|
+
_bron_repo?: string;
|
|
26063
|
+
_module_id: string;
|
|
26064
|
+
_weergavenaam?: string;
|
|
26065
|
+
};
|
|
26066
|
+
Returns: boolean;
|
|
26067
|
+
};
|
|
26068
|
+
handover_namen: {
|
|
26069
|
+
Args: never;
|
|
26070
|
+
Returns: Json;
|
|
26071
|
+
};
|
|
26072
|
+
handover_nieuw_gezien: {
|
|
26073
|
+
Args: {
|
|
26074
|
+
_module_id: string;
|
|
26075
|
+
};
|
|
26076
|
+
Returns: boolean;
|
|
26077
|
+
};
|
|
23937
26078
|
handover_norm_naam: {
|
|
23938
26079
|
Args: {
|
|
23939
26080
|
_naam: string;
|
|
@@ -23970,6 +26111,24 @@ export type Database = {
|
|
|
23970
26111
|
_versie_label?: string;
|
|
23971
26112
|
};
|
|
23972
26113
|
Returns: Json;
|
|
26114
|
+
} | {
|
|
26115
|
+
Args: {
|
|
26116
|
+
_bekende_risicos?: string[];
|
|
26117
|
+
_bezit_tabellen?: string[];
|
|
26118
|
+
_bron_soort?: string;
|
|
26119
|
+
_commit?: string;
|
|
26120
|
+
_contractfuncties?: string[];
|
|
26121
|
+
_inhoud_md: string;
|
|
26122
|
+
_laatst_bevestigd_op?: string;
|
|
26123
|
+
_module_id: string;
|
|
26124
|
+
_module_titel: string;
|
|
26125
|
+
_ontbrekende_contracten?: string[];
|
|
26126
|
+
_pad?: string;
|
|
26127
|
+
_repo?: string;
|
|
26128
|
+
_samenvatting?: string;
|
|
26129
|
+
_versie_label?: string;
|
|
26130
|
+
};
|
|
26131
|
+
Returns: Json;
|
|
23973
26132
|
};
|
|
23974
26133
|
handover_publish_via_token: {
|
|
23975
26134
|
Args: {
|
|
@@ -24067,6 +26226,27 @@ export type Database = {
|
|
|
24067
26226
|
Args: never;
|
|
24068
26227
|
Returns: boolean;
|
|
24069
26228
|
};
|
|
26229
|
+
inkoop_apply_price_list: {
|
|
26230
|
+
Args: {
|
|
26231
|
+
_price_list_id: string;
|
|
26232
|
+
_rows: Json;
|
|
26233
|
+
};
|
|
26234
|
+
Returns: Json;
|
|
26235
|
+
};
|
|
26236
|
+
inkoop_next_order_number: {
|
|
26237
|
+
Args: never;
|
|
26238
|
+
Returns: string;
|
|
26239
|
+
};
|
|
26240
|
+
inkoop_send_order: {
|
|
26241
|
+
Args: {
|
|
26242
|
+
_order_id: string;
|
|
26243
|
+
};
|
|
26244
|
+
Returns: {
|
|
26245
|
+
outbox_id: string;
|
|
26246
|
+
supplier_name: string;
|
|
26247
|
+
to_address: string;
|
|
26248
|
+
}[];
|
|
26249
|
+
};
|
|
24070
26250
|
instructie_get: {
|
|
24071
26251
|
Args: {
|
|
24072
26252
|
_sleutel: string;
|
|
@@ -24120,13 +26300,26 @@ export type Database = {
|
|
|
24120
26300
|
};
|
|
24121
26301
|
Returns: Json;
|
|
24122
26302
|
};
|
|
26303
|
+
invoice_ready_work_orders: {
|
|
26304
|
+
Args: {
|
|
26305
|
+
_limit?: number;
|
|
26306
|
+
};
|
|
26307
|
+
Returns: Json;
|
|
26308
|
+
};
|
|
24123
26309
|
invoice_recalc_totals: {
|
|
24124
26310
|
Args: {
|
|
24125
26311
|
_invoice_id: string;
|
|
24126
26312
|
};
|
|
24127
26313
|
Returns: Json;
|
|
24128
26314
|
};
|
|
24129
|
-
|
|
26315
|
+
invoice_source_lines: {
|
|
26316
|
+
Args: {
|
|
26317
|
+
_source_id: string;
|
|
26318
|
+
_source_type: string;
|
|
26319
|
+
};
|
|
26320
|
+
Returns: Json;
|
|
26321
|
+
};
|
|
26322
|
+
is_authenticated: {
|
|
24130
26323
|
Args: never;
|
|
24131
26324
|
Returns: boolean;
|
|
24132
26325
|
};
|
|
@@ -24358,6 +26551,14 @@ export type Database = {
|
|
|
24358
26551
|
};
|
|
24359
26552
|
Returns: Json;
|
|
24360
26553
|
};
|
|
26554
|
+
logistics_buffer_decision_for_settings: {
|
|
26555
|
+
Args: {
|
|
26556
|
+
p_order: Json;
|
|
26557
|
+
p_settings: Json;
|
|
26558
|
+
p_user_id?: string;
|
|
26559
|
+
};
|
|
26560
|
+
Returns: Json;
|
|
26561
|
+
};
|
|
24361
26562
|
logistics_buffer_detach_late_orders: {
|
|
24362
26563
|
Args: {
|
|
24363
26564
|
p_buffer?: string;
|
|
@@ -24391,6 +26592,12 @@ export type Database = {
|
|
|
24391
26592
|
};
|
|
24392
26593
|
Returns: string;
|
|
24393
26594
|
};
|
|
26595
|
+
logistics_buffer_payload: {
|
|
26596
|
+
Args: {
|
|
26597
|
+
p_order_id: string;
|
|
26598
|
+
};
|
|
26599
|
+
Returns: Json;
|
|
26600
|
+
};
|
|
24394
26601
|
logistics_buffer_simulate: {
|
|
24395
26602
|
Args: {
|
|
24396
26603
|
p_orders?: Json;
|
|
@@ -24449,6 +26656,10 @@ export type Database = {
|
|
|
24449
26656
|
};
|
|
24450
26657
|
Returns: string;
|
|
24451
26658
|
};
|
|
26659
|
+
logistics_cart_coverage_check: {
|
|
26660
|
+
Args: never;
|
|
26661
|
+
Returns: Json;
|
|
26662
|
+
};
|
|
24452
26663
|
logistics_cart_handled: {
|
|
24453
26664
|
Args: {
|
|
24454
26665
|
p_cart_index: number;
|
|
@@ -24692,10 +26903,29 @@ export type Database = {
|
|
|
24692
26903
|
isSetofReturn: false;
|
|
24693
26904
|
};
|
|
24694
26905
|
};
|
|
26906
|
+
logistics_cleanup_duplicate_order_lines: {
|
|
26907
|
+
Args: {
|
|
26908
|
+
p_limit?: number;
|
|
26909
|
+
p_order_id: string;
|
|
26910
|
+
};
|
|
26911
|
+
Returns: Json;
|
|
26912
|
+
};
|
|
26913
|
+
logistics_cleanup_history: {
|
|
26914
|
+
Args: {
|
|
26915
|
+
p_limit?: number;
|
|
26916
|
+
};
|
|
26917
|
+
Returns: Json;
|
|
26918
|
+
};
|
|
24695
26919
|
logistics_cleanup_orphan_print_jobs: {
|
|
24696
26920
|
Args: never;
|
|
24697
26921
|
Returns: Json;
|
|
24698
26922
|
};
|
|
26923
|
+
logistics_cleanup_tasks: {
|
|
26924
|
+
Args: {
|
|
26925
|
+
p_limit?: number;
|
|
26926
|
+
};
|
|
26927
|
+
Returns: Json;
|
|
26928
|
+
};
|
|
24699
26929
|
logistics_complete_task: {
|
|
24700
26930
|
Args: {
|
|
24701
26931
|
p_result?: Json;
|
|
@@ -24843,6 +27073,10 @@ export type Database = {
|
|
|
24843
27073
|
Args: never;
|
|
24844
27074
|
Returns: Json;
|
|
24845
27075
|
};
|
|
27076
|
+
logistics_cron_health: {
|
|
27077
|
+
Args: never;
|
|
27078
|
+
Returns: Json;
|
|
27079
|
+
};
|
|
24846
27080
|
logistics_day_windows: {
|
|
24847
27081
|
Args: {
|
|
24848
27082
|
p_day: string;
|
|
@@ -25192,6 +27426,22 @@ export type Database = {
|
|
|
25192
27426
|
};
|
|
25193
27427
|
Returns: number;
|
|
25194
27428
|
};
|
|
27429
|
+
logistics_merge_decision: {
|
|
27430
|
+
Args: {
|
|
27431
|
+
p_lines: Json;
|
|
27432
|
+
};
|
|
27433
|
+
Returns: Json;
|
|
27434
|
+
};
|
|
27435
|
+
logistics_merge_floriday_lines: {
|
|
27436
|
+
Args: {
|
|
27437
|
+
p_order_id: string;
|
|
27438
|
+
};
|
|
27439
|
+
Returns: string;
|
|
27440
|
+
};
|
|
27441
|
+
logistics_merge_lines_enabled: {
|
|
27442
|
+
Args: never;
|
|
27443
|
+
Returns: boolean;
|
|
27444
|
+
};
|
|
25195
27445
|
logistics_merge_partial_carts: {
|
|
25196
27446
|
Args: {
|
|
25197
27447
|
p_limit?: number;
|
|
@@ -25228,12 +27478,90 @@ export type Database = {
|
|
|
25228
27478
|
Args: never;
|
|
25229
27479
|
Returns: string;
|
|
25230
27480
|
};
|
|
27481
|
+
logistics_order_cart_approval: {
|
|
27482
|
+
Args: {
|
|
27483
|
+
_order_ref: string;
|
|
27484
|
+
};
|
|
27485
|
+
Returns: {
|
|
27486
|
+
approved: number;
|
|
27487
|
+
total: number;
|
|
27488
|
+
}[];
|
|
27489
|
+
};
|
|
25231
27490
|
logistics_order_cart_count: {
|
|
25232
27491
|
Args: {
|
|
25233
27492
|
p_order_ref: string;
|
|
25234
27493
|
};
|
|
25235
27494
|
Returns: number;
|
|
25236
27495
|
};
|
|
27496
|
+
logistics_order_changed: {
|
|
27497
|
+
Args: {
|
|
27498
|
+
p_order_id: string;
|
|
27499
|
+
p_reason?: string;
|
|
27500
|
+
};
|
|
27501
|
+
Returns: undefined;
|
|
27502
|
+
};
|
|
27503
|
+
logistics_order_documents_ready: {
|
|
27504
|
+
Args: {
|
|
27505
|
+
p_order_ref: string;
|
|
27506
|
+
};
|
|
27507
|
+
Returns: Json;
|
|
27508
|
+
};
|
|
27509
|
+
logistics_order_documents_ready_bool: {
|
|
27510
|
+
Args: {
|
|
27511
|
+
p_order_ref: string;
|
|
27512
|
+
};
|
|
27513
|
+
Returns: boolean;
|
|
27514
|
+
};
|
|
27515
|
+
logistics_order_finalize_enqueue: {
|
|
27516
|
+
Args: {
|
|
27517
|
+
p_order_id: string;
|
|
27518
|
+
p_reason?: string;
|
|
27519
|
+
};
|
|
27520
|
+
Returns: undefined;
|
|
27521
|
+
};
|
|
27522
|
+
logistics_order_finalize_overview: {
|
|
27523
|
+
Args: never;
|
|
27524
|
+
Returns: {
|
|
27525
|
+
bezig: number;
|
|
27526
|
+
laatst_afgerond: string;
|
|
27527
|
+
laatste_fout: string;
|
|
27528
|
+
mislukt: number;
|
|
27529
|
+
oudste_wachttijd_seconden: number;
|
|
27530
|
+
wachtend: number;
|
|
27531
|
+
}[];
|
|
27532
|
+
};
|
|
27533
|
+
logistics_order_finalize_prune: {
|
|
27534
|
+
Args: {
|
|
27535
|
+
p_days?: number;
|
|
27536
|
+
};
|
|
27537
|
+
Returns: number;
|
|
27538
|
+
};
|
|
27539
|
+
logistics_order_finalize_reconcile: {
|
|
27540
|
+
Args: {
|
|
27541
|
+
p_days?: number;
|
|
27542
|
+
p_limit?: number;
|
|
27543
|
+
};
|
|
27544
|
+
Returns: number;
|
|
27545
|
+
};
|
|
27546
|
+
logistics_order_finalize_retry: {
|
|
27547
|
+
Args: {
|
|
27548
|
+
p_order_id: string;
|
|
27549
|
+
};
|
|
27550
|
+
Returns: boolean;
|
|
27551
|
+
};
|
|
27552
|
+
logistics_order_finalize_run: {
|
|
27553
|
+
Args: {
|
|
27554
|
+
p_lease_seconds?: number;
|
|
27555
|
+
p_limit?: number;
|
|
27556
|
+
};
|
|
27557
|
+
Returns: number;
|
|
27558
|
+
};
|
|
27559
|
+
logistics_order_frozen: {
|
|
27560
|
+
Args: {
|
|
27561
|
+
p_order_id: string;
|
|
27562
|
+
};
|
|
27563
|
+
Returns: boolean;
|
|
27564
|
+
};
|
|
25237
27565
|
logistics_order_handled: {
|
|
25238
27566
|
Args: {
|
|
25239
27567
|
p_order_uuid: string;
|
|
@@ -25247,6 +27575,24 @@ export type Database = {
|
|
|
25247
27575
|
};
|
|
25248
27576
|
Returns: boolean;
|
|
25249
27577
|
};
|
|
27578
|
+
logistics_order_line_duplicates: {
|
|
27579
|
+
Args: {
|
|
27580
|
+
p_order_id: string;
|
|
27581
|
+
};
|
|
27582
|
+
Returns: Json;
|
|
27583
|
+
};
|
|
27584
|
+
logistics_order_merge_key: {
|
|
27585
|
+
Args: {
|
|
27586
|
+
p_group_key: string;
|
|
27587
|
+
};
|
|
27588
|
+
Returns: string;
|
|
27589
|
+
};
|
|
27590
|
+
logistics_order_mergeable: {
|
|
27591
|
+
Args: {
|
|
27592
|
+
p_order_id: string;
|
|
27593
|
+
};
|
|
27594
|
+
Returns: boolean;
|
|
27595
|
+
};
|
|
25250
27596
|
logistics_order_overview: {
|
|
25251
27597
|
Args: {
|
|
25252
27598
|
p_from?: string;
|
|
@@ -25278,6 +27624,63 @@ export type Database = {
|
|
|
25278
27624
|
};
|
|
25279
27625
|
Returns: boolean;
|
|
25280
27626
|
};
|
|
27627
|
+
logistics_packing_autofix: {
|
|
27628
|
+
Args: {
|
|
27629
|
+
p_limit?: number;
|
|
27630
|
+
};
|
|
27631
|
+
Returns: number;
|
|
27632
|
+
};
|
|
27633
|
+
logistics_packing_block_reason: {
|
|
27634
|
+
Args: {
|
|
27635
|
+
p_order_id: string;
|
|
27636
|
+
p_order_item_id: string;
|
|
27637
|
+
};
|
|
27638
|
+
Returns: string;
|
|
27639
|
+
};
|
|
27640
|
+
logistics_packing_dismiss: {
|
|
27641
|
+
Args: {
|
|
27642
|
+
p_id: string;
|
|
27643
|
+
p_note?: string;
|
|
27644
|
+
};
|
|
27645
|
+
Returns: boolean;
|
|
27646
|
+
};
|
|
27647
|
+
logistics_packing_overview: {
|
|
27648
|
+
Args: never;
|
|
27649
|
+
Returns: {
|
|
27650
|
+
beoordelen: number;
|
|
27651
|
+
herstelbaar: number;
|
|
27652
|
+
laatst_gemeten: string;
|
|
27653
|
+
laatst_hersteld: string;
|
|
27654
|
+
open_totaal: number;
|
|
27655
|
+
orders: number;
|
|
27656
|
+
oudste_seconden: number;
|
|
27657
|
+
producten: number;
|
|
27658
|
+
}[];
|
|
27659
|
+
};
|
|
27660
|
+
logistics_packing_reconcile: {
|
|
27661
|
+
Args: {
|
|
27662
|
+
p_fix_limit?: number;
|
|
27663
|
+
p_scan_limit?: number;
|
|
27664
|
+
};
|
|
27665
|
+
Returns: {
|
|
27666
|
+
beoordelen: number;
|
|
27667
|
+
gevonden: number;
|
|
27668
|
+
hersteld: number;
|
|
27669
|
+
}[];
|
|
27670
|
+
};
|
|
27671
|
+
logistics_packing_scan: {
|
|
27672
|
+
Args: {
|
|
27673
|
+
p_limit?: number;
|
|
27674
|
+
};
|
|
27675
|
+
Returns: number;
|
|
27676
|
+
};
|
|
27677
|
+
logistics_packing_set_manual: {
|
|
27678
|
+
Args: {
|
|
27679
|
+
p_manual?: boolean;
|
|
27680
|
+
p_order_item_id: string;
|
|
27681
|
+
};
|
|
27682
|
+
Returns: boolean;
|
|
27683
|
+
};
|
|
25281
27684
|
logistics_parse_pickup: {
|
|
25282
27685
|
Args: {
|
|
25283
27686
|
p_value: string;
|
|
@@ -25371,6 +27774,12 @@ export type Database = {
|
|
|
25371
27774
|
order_id: string;
|
|
25372
27775
|
}[];
|
|
25373
27776
|
};
|
|
27777
|
+
logistics_plan_defer: {
|
|
27778
|
+
Args: {
|
|
27779
|
+
p_id: string;
|
|
27780
|
+
};
|
|
27781
|
+
Returns: undefined;
|
|
27782
|
+
};
|
|
25374
27783
|
logistics_plan_enqueue: {
|
|
25375
27784
|
Args: {
|
|
25376
27785
|
p_order_id: string;
|
|
@@ -25384,6 +27793,18 @@ export type Database = {
|
|
|
25384
27793
|
};
|
|
25385
27794
|
Returns: boolean;
|
|
25386
27795
|
};
|
|
27796
|
+
logistics_plan_error_class: {
|
|
27797
|
+
Args: {
|
|
27798
|
+
p_error: string;
|
|
27799
|
+
};
|
|
27800
|
+
Returns: string;
|
|
27801
|
+
};
|
|
27802
|
+
logistics_plan_error_text: {
|
|
27803
|
+
Args: {
|
|
27804
|
+
p_error: string;
|
|
27805
|
+
};
|
|
27806
|
+
Returns: string;
|
|
27807
|
+
};
|
|
25387
27808
|
logistics_plan_finish: {
|
|
25388
27809
|
Args: {
|
|
25389
27810
|
p_error?: string;
|
|
@@ -25412,6 +27833,21 @@ export type Database = {
|
|
|
25412
27833
|
Args: never;
|
|
25413
27834
|
Returns: undefined;
|
|
25414
27835
|
};
|
|
27836
|
+
logistics_plan_lock_acquire: {
|
|
27837
|
+
Args: {
|
|
27838
|
+
_key: string;
|
|
27839
|
+
_owner?: string;
|
|
27840
|
+
_ttl_seconds?: number;
|
|
27841
|
+
};
|
|
27842
|
+
Returns: boolean;
|
|
27843
|
+
};
|
|
27844
|
+
logistics_plan_lock_release: {
|
|
27845
|
+
Args: {
|
|
27846
|
+
_key: string;
|
|
27847
|
+
_owner?: string;
|
|
27848
|
+
};
|
|
27849
|
+
Returns: undefined;
|
|
27850
|
+
};
|
|
25415
27851
|
logistics_plan_progress: {
|
|
25416
27852
|
Args: {
|
|
25417
27853
|
p_refs: string[];
|
|
@@ -25426,14 +27862,51 @@ export type Database = {
|
|
|
25426
27862
|
unit_ref: string;
|
|
25427
27863
|
}[];
|
|
25428
27864
|
};
|
|
27865
|
+
logistics_plan_progress_pct: {
|
|
27866
|
+
Args: {
|
|
27867
|
+
p_order_id: string;
|
|
27868
|
+
};
|
|
27869
|
+
Returns: number;
|
|
27870
|
+
};
|
|
25429
27871
|
logistics_plan_prune: {
|
|
25430
27872
|
Args: never;
|
|
25431
27873
|
Returns: number;
|
|
25432
27874
|
};
|
|
27875
|
+
logistics_plan_queue_list: {
|
|
27876
|
+
Args: {
|
|
27877
|
+
p_limit?: number;
|
|
27878
|
+
};
|
|
27879
|
+
Returns: {
|
|
27880
|
+
attempts: number;
|
|
27881
|
+
claimed_at: string;
|
|
27882
|
+
customer_name: string;
|
|
27883
|
+
enqueued_at: string;
|
|
27884
|
+
error_class: string;
|
|
27885
|
+
error_raw: string;
|
|
27886
|
+
error_text: string;
|
|
27887
|
+
id: string;
|
|
27888
|
+
max_attempts: number;
|
|
27889
|
+
next_attempt_at: string;
|
|
27890
|
+
order_created_at: string;
|
|
27891
|
+
order_id: string;
|
|
27892
|
+
order_number: string;
|
|
27893
|
+
progress_pct: number;
|
|
27894
|
+
reason: string;
|
|
27895
|
+
stand: string;
|
|
27896
|
+
status: string;
|
|
27897
|
+
updated_at: string;
|
|
27898
|
+
}[];
|
|
27899
|
+
};
|
|
25433
27900
|
logistics_plan_release_stale: {
|
|
25434
27901
|
Args: never;
|
|
25435
27902
|
Returns: number;
|
|
25436
27903
|
};
|
|
27904
|
+
logistics_plan_reset_queue: {
|
|
27905
|
+
Args: {
|
|
27906
|
+
p_scope?: string;
|
|
27907
|
+
};
|
|
27908
|
+
Returns: number;
|
|
27909
|
+
};
|
|
25437
27910
|
logistics_plan_retry: {
|
|
25438
27911
|
Args: {
|
|
25439
27912
|
p_order_ids: string[];
|
|
@@ -25453,6 +27926,25 @@ export type Database = {
|
|
|
25453
27926
|
};
|
|
25454
27927
|
Returns: Json;
|
|
25455
27928
|
};
|
|
27929
|
+
logistics_plan_timeout_running: {
|
|
27930
|
+
Args: never;
|
|
27931
|
+
Returns: number;
|
|
27932
|
+
};
|
|
27933
|
+
logistics_planner_cart_snapshot: {
|
|
27934
|
+
Args: {
|
|
27935
|
+
p_buffer_id: string;
|
|
27936
|
+
p_order_id: string;
|
|
27937
|
+
};
|
|
27938
|
+
Returns: Json;
|
|
27939
|
+
};
|
|
27940
|
+
logistics_planner_diff_mode: {
|
|
27941
|
+
Args: never;
|
|
27942
|
+
Returns: string;
|
|
27943
|
+
};
|
|
27944
|
+
logistics_planner_diff_prune: {
|
|
27945
|
+
Args: never;
|
|
27946
|
+
Returns: number;
|
|
27947
|
+
};
|
|
25456
27948
|
logistics_prepare_pick_documents: {
|
|
25457
27949
|
Args: {
|
|
25458
27950
|
p_limit?: number;
|
|
@@ -25463,6 +27955,12 @@ export type Database = {
|
|
|
25463
27955
|
Args: never;
|
|
25464
27956
|
Returns: number;
|
|
25465
27957
|
};
|
|
27958
|
+
logistics_prune_cron_history: {
|
|
27959
|
+
Args: {
|
|
27960
|
+
p_days?: number;
|
|
27961
|
+
};
|
|
27962
|
+
Returns: number;
|
|
27963
|
+
};
|
|
25466
27964
|
logistics_prune_handled_pick_queue: {
|
|
25467
27965
|
Args: never;
|
|
25468
27966
|
Returns: number;
|
|
@@ -25499,6 +27997,14 @@ export type Database = {
|
|
|
25499
27997
|
Args: never;
|
|
25500
27998
|
Returns: Json;
|
|
25501
27999
|
};
|
|
28000
|
+
logistics_recalc_tick_kick: {
|
|
28001
|
+
Args: never;
|
|
28002
|
+
Returns: number;
|
|
28003
|
+
};
|
|
28004
|
+
logistics_reconcile_missing_plan_queue: {
|
|
28005
|
+
Args: never;
|
|
28006
|
+
Returns: number;
|
|
28007
|
+
};
|
|
25502
28008
|
logistics_refresh_pick_queue_status: {
|
|
25503
28009
|
Args: {
|
|
25504
28010
|
p_ref: string;
|
|
@@ -25529,21 +28035,40 @@ export type Database = {
|
|
|
25529
28035
|
};
|
|
25530
28036
|
Returns: Json;
|
|
25531
28037
|
};
|
|
25532
|
-
|
|
28038
|
+
logistics_replan_clear_foreign_cart_items: {
|
|
25533
28039
|
Args: {
|
|
25534
|
-
p_expected_date?: string;
|
|
25535
28040
|
p_order_id: string;
|
|
25536
|
-
p_reason
|
|
28041
|
+
p_reason: string;
|
|
25537
28042
|
};
|
|
25538
|
-
Returns:
|
|
25539
|
-
}
|
|
28043
|
+
Returns: Json;
|
|
28044
|
+
};
|
|
28045
|
+
logistics_replan_order_journey: {
|
|
25540
28046
|
Args: {
|
|
25541
|
-
|
|
25542
|
-
p_force_customer_email?: boolean;
|
|
25543
|
-
p_order_id: string;
|
|
25544
|
-
p_reason?: string;
|
|
28047
|
+
p_order_ref: string;
|
|
25545
28048
|
};
|
|
25546
|
-
Returns:
|
|
28049
|
+
Returns: Json;
|
|
28050
|
+
} | {
|
|
28051
|
+
Args: {
|
|
28052
|
+
p_order_ref: string;
|
|
28053
|
+
p_reason: string;
|
|
28054
|
+
};
|
|
28055
|
+
Returns: Json;
|
|
28056
|
+
};
|
|
28057
|
+
logistics_report_delay: {
|
|
28058
|
+
Args: {
|
|
28059
|
+
p_expected_date?: string;
|
|
28060
|
+
p_order_id: string;
|
|
28061
|
+
p_reason?: string;
|
|
28062
|
+
};
|
|
28063
|
+
Returns: string;
|
|
28064
|
+
} | {
|
|
28065
|
+
Args: {
|
|
28066
|
+
p_expected_date?: string;
|
|
28067
|
+
p_force_customer_email?: boolean;
|
|
28068
|
+
p_order_id: string;
|
|
28069
|
+
p_reason?: string;
|
|
28070
|
+
};
|
|
28071
|
+
Returns: string;
|
|
25547
28072
|
};
|
|
25548
28073
|
logistics_rescan_orders: {
|
|
25549
28074
|
Args: {
|
|
@@ -25573,6 +28098,10 @@ export type Database = {
|
|
|
25573
28098
|
};
|
|
25574
28099
|
Returns: Json;
|
|
25575
28100
|
};
|
|
28101
|
+
logistics_reserved_stock_nightly: {
|
|
28102
|
+
Args: never;
|
|
28103
|
+
Returns: undefined;
|
|
28104
|
+
};
|
|
25576
28105
|
logistics_resolve_pick_document: {
|
|
25577
28106
|
Args: {
|
|
25578
28107
|
_is_herprint: boolean;
|
|
@@ -25596,6 +28125,12 @@ export type Database = {
|
|
|
25596
28125
|
};
|
|
25597
28126
|
Returns: Json;
|
|
25598
28127
|
};
|
|
28128
|
+
logistics_retention_days: {
|
|
28129
|
+
Args: {
|
|
28130
|
+
p_key: string;
|
|
28131
|
+
};
|
|
28132
|
+
Returns: number;
|
|
28133
|
+
};
|
|
25599
28134
|
logistics_rule_bool: {
|
|
25600
28135
|
Args: {
|
|
25601
28136
|
p_default: boolean;
|
|
@@ -25650,6 +28185,11 @@ export type Database = {
|
|
|
25650
28185
|
logistics_schedule_tasks: {
|
|
25651
28186
|
Args: never;
|
|
25652
28187
|
Returns: number;
|
|
28188
|
+
} | {
|
|
28189
|
+
Args: {
|
|
28190
|
+
p_order_ref?: string;
|
|
28191
|
+
};
|
|
28192
|
+
Returns: number;
|
|
25653
28193
|
};
|
|
25654
28194
|
logistics_set_order_priority: {
|
|
25655
28195
|
Args: {
|
|
@@ -25673,6 +28213,12 @@ export type Database = {
|
|
|
25673
28213
|
};
|
|
25674
28214
|
Returns: string;
|
|
25675
28215
|
};
|
|
28216
|
+
logistics_shipping_note_diagnose: {
|
|
28217
|
+
Args: {
|
|
28218
|
+
p_order_number: string;
|
|
28219
|
+
};
|
|
28220
|
+
Returns: Json;
|
|
28221
|
+
};
|
|
25676
28222
|
logistics_shipping_note_follows_slip: {
|
|
25677
28223
|
Args: never;
|
|
25678
28224
|
Returns: boolean;
|
|
@@ -25797,6 +28343,20 @@ export type Database = {
|
|
|
25797
28343
|
};
|
|
25798
28344
|
Returns: number;
|
|
25799
28345
|
};
|
|
28346
|
+
logistics_task_retention_days: {
|
|
28347
|
+
Args: never;
|
|
28348
|
+
Returns: number;
|
|
28349
|
+
};
|
|
28350
|
+
logistics_tasks_prune: {
|
|
28351
|
+
Args: {
|
|
28352
|
+
p_days?: number;
|
|
28353
|
+
};
|
|
28354
|
+
Returns: number;
|
|
28355
|
+
};
|
|
28356
|
+
logistics_tick: {
|
|
28357
|
+
Args: never;
|
|
28358
|
+
Returns: Json;
|
|
28359
|
+
};
|
|
25800
28360
|
logistics_tick_ping: {
|
|
25801
28361
|
Args: never;
|
|
25802
28362
|
Returns: string;
|
|
@@ -25820,12 +28380,46 @@ export type Database = {
|
|
|
25820
28380
|
};
|
|
25821
28381
|
Returns: Json;
|
|
25822
28382
|
};
|
|
28383
|
+
logistics_trace_archive_order: {
|
|
28384
|
+
Args: {
|
|
28385
|
+
p_order_ref: string;
|
|
28386
|
+
p_reason: string;
|
|
28387
|
+
};
|
|
28388
|
+
Returns: number;
|
|
28389
|
+
};
|
|
25823
28390
|
logistics_trace_batch: {
|
|
25824
28391
|
Args: {
|
|
25825
28392
|
p: Json;
|
|
25826
28393
|
};
|
|
25827
28394
|
Returns: number;
|
|
25828
28395
|
};
|
|
28396
|
+
logistics_trace_derive: {
|
|
28397
|
+
Args: {
|
|
28398
|
+
p: Json;
|
|
28399
|
+
};
|
|
28400
|
+
Returns: number;
|
|
28401
|
+
};
|
|
28402
|
+
logistics_trace_node: {
|
|
28403
|
+
Args: {
|
|
28404
|
+
p_op?: string;
|
|
28405
|
+
p_status?: string;
|
|
28406
|
+
p_table: string;
|
|
28407
|
+
};
|
|
28408
|
+
Returns: string;
|
|
28409
|
+
};
|
|
28410
|
+
logistics_trace_order_journey_start: {
|
|
28411
|
+
Args: {
|
|
28412
|
+
p_order_id: string;
|
|
28413
|
+
p_reason?: string;
|
|
28414
|
+
};
|
|
28415
|
+
Returns: string;
|
|
28416
|
+
};
|
|
28417
|
+
logistics_trace_order_origin: {
|
|
28418
|
+
Args: {
|
|
28419
|
+
p_order_id: string;
|
|
28420
|
+
};
|
|
28421
|
+
Returns: undefined;
|
|
28422
|
+
};
|
|
25829
28423
|
logistics_trace_order_overview: {
|
|
25830
28424
|
Args: {
|
|
25831
28425
|
p_error_class?: string;
|
|
@@ -25844,6 +28438,20 @@ export type Database = {
|
|
|
25844
28438
|
};
|
|
25845
28439
|
Returns: Json;
|
|
25846
28440
|
};
|
|
28441
|
+
logistics_trace_order_step: {
|
|
28442
|
+
Args: {
|
|
28443
|
+
p_class?: string;
|
|
28444
|
+
p_decision?: string;
|
|
28445
|
+
p_error?: string;
|
|
28446
|
+
p_next_step?: string;
|
|
28447
|
+
p_node: string;
|
|
28448
|
+
p_order_id: string;
|
|
28449
|
+
p_reason?: string;
|
|
28450
|
+
p_status: string;
|
|
28451
|
+
p_step: string;
|
|
28452
|
+
};
|
|
28453
|
+
Returns: undefined;
|
|
28454
|
+
};
|
|
25847
28455
|
logistics_trace_orders: {
|
|
25848
28456
|
Args: {
|
|
25849
28457
|
p_limit?: number;
|
|
@@ -25853,12 +28461,54 @@ export type Database = {
|
|
|
25853
28461
|
};
|
|
25854
28462
|
Returns: Json;
|
|
25855
28463
|
};
|
|
28464
|
+
logistics_trace_pick_state: {
|
|
28465
|
+
Args: {
|
|
28466
|
+
p_order_number: string;
|
|
28467
|
+
};
|
|
28468
|
+
Returns: undefined;
|
|
28469
|
+
};
|
|
28470
|
+
logistics_trace_progress: {
|
|
28471
|
+
Args: {
|
|
28472
|
+
p_limit?: number;
|
|
28473
|
+
};
|
|
28474
|
+
Returns: Json;
|
|
28475
|
+
};
|
|
28476
|
+
logistics_trace_progress_order: {
|
|
28477
|
+
Args: {
|
|
28478
|
+
p_order_ref: string;
|
|
28479
|
+
};
|
|
28480
|
+
Returns: Json;
|
|
28481
|
+
};
|
|
25856
28482
|
logistics_trace_redact: {
|
|
25857
28483
|
Args: {
|
|
25858
28484
|
p: Json;
|
|
25859
28485
|
};
|
|
25860
28486
|
Returns: Json;
|
|
25861
28487
|
};
|
|
28488
|
+
logistics_trace_source_node: {
|
|
28489
|
+
Args: {
|
|
28490
|
+
p_source: string;
|
|
28491
|
+
};
|
|
28492
|
+
Returns: string;
|
|
28493
|
+
};
|
|
28494
|
+
logistics_trace_step_once: {
|
|
28495
|
+
Args: {
|
|
28496
|
+
p_decision: string;
|
|
28497
|
+
p_next_step?: string;
|
|
28498
|
+
p_node: string;
|
|
28499
|
+
p_order_id: string;
|
|
28500
|
+
p_reason: string;
|
|
28501
|
+
p_status: string;
|
|
28502
|
+
p_step: string;
|
|
28503
|
+
};
|
|
28504
|
+
Returns: undefined;
|
|
28505
|
+
};
|
|
28506
|
+
logistics_trace_stock_check: {
|
|
28507
|
+
Args: {
|
|
28508
|
+
p_order_id: string;
|
|
28509
|
+
};
|
|
28510
|
+
Returns: undefined;
|
|
28511
|
+
};
|
|
25862
28512
|
logistics_trace_timeline: {
|
|
25863
28513
|
Args: {
|
|
25864
28514
|
p_limit?: number;
|
|
@@ -25972,6 +28622,12 @@ export type Database = {
|
|
|
25972
28622
|
permission: string;
|
|
25973
28623
|
}[];
|
|
25974
28624
|
};
|
|
28625
|
+
next_cart_day_seq: {
|
|
28626
|
+
Args: {
|
|
28627
|
+
p_date: string;
|
|
28628
|
+
};
|
|
28629
|
+
Returns: number;
|
|
28630
|
+
};
|
|
25975
28631
|
next_manufacture_partij: {
|
|
25976
28632
|
Args: {
|
|
25977
28633
|
_tenant_id: string;
|
|
@@ -26041,6 +28697,17 @@ export type Database = {
|
|
|
26041
28697
|
};
|
|
26042
28698
|
Returns: boolean;
|
|
26043
28699
|
};
|
|
28700
|
+
order_items_duplicate_report: {
|
|
28701
|
+
Args: {
|
|
28702
|
+
_order_ref?: string;
|
|
28703
|
+
};
|
|
28704
|
+
Returns: {
|
|
28705
|
+
distinct_products: number;
|
|
28706
|
+
duplicate_factor: number;
|
|
28707
|
+
lines: number;
|
|
28708
|
+
order_number: string;
|
|
28709
|
+
}[];
|
|
28710
|
+
};
|
|
26044
28711
|
order_number_prefix: {
|
|
26045
28712
|
Args: {
|
|
26046
28713
|
p_custom_fields?: Json;
|
|
@@ -26824,6 +29491,22 @@ export type Database = {
|
|
|
26824
29491
|
};
|
|
26825
29492
|
Returns: undefined;
|
|
26826
29493
|
};
|
|
29494
|
+
planning_apply_schedule_updates: {
|
|
29495
|
+
Args: {
|
|
29496
|
+
_updates: Json;
|
|
29497
|
+
};
|
|
29498
|
+
Returns: undefined;
|
|
29499
|
+
};
|
|
29500
|
+
planning_assert_no_overlaps: {
|
|
29501
|
+
Args: never;
|
|
29502
|
+
Returns: undefined;
|
|
29503
|
+
};
|
|
29504
|
+
planning_assert_no_overlaps_for_items: {
|
|
29505
|
+
Args: {
|
|
29506
|
+
_item_ids: string[];
|
|
29507
|
+
};
|
|
29508
|
+
Returns: undefined;
|
|
29509
|
+
};
|
|
26827
29510
|
planning_cancel_item: {
|
|
26828
29511
|
Args: {
|
|
26829
29512
|
_id: string;
|
|
@@ -26927,6 +29610,14 @@ export type Database = {
|
|
|
26927
29610
|
Args: never;
|
|
26928
29611
|
Returns: number;
|
|
26929
29612
|
};
|
|
29613
|
+
quote_ack_work_order: {
|
|
29614
|
+
Args: {
|
|
29615
|
+
_queue_id: string;
|
|
29616
|
+
_werkbon_id: string;
|
|
29617
|
+
_werkbon_nummer?: string;
|
|
29618
|
+
};
|
|
29619
|
+
Returns: boolean;
|
|
29620
|
+
};
|
|
26930
29621
|
quote_create_from_source: {
|
|
26931
29622
|
Args: {
|
|
26932
29623
|
_payload?: Json;
|
|
@@ -26935,6 +29626,13 @@ export type Database = {
|
|
|
26935
29626
|
};
|
|
26936
29627
|
Returns: string;
|
|
26937
29628
|
};
|
|
29629
|
+
quote_fail_work_order: {
|
|
29630
|
+
Args: {
|
|
29631
|
+
_foutmelding: string;
|
|
29632
|
+
_queue_id: string;
|
|
29633
|
+
};
|
|
29634
|
+
Returns: boolean;
|
|
29635
|
+
};
|
|
26938
29636
|
quote_get_billable_lines: {
|
|
26939
29637
|
Args: {
|
|
26940
29638
|
_quotation_id: string;
|
|
@@ -26951,6 +29649,12 @@ export type Database = {
|
|
|
26951
29649
|
Args: never;
|
|
26952
29650
|
Returns: Json;
|
|
26953
29651
|
};
|
|
29652
|
+
quote_list_pending_work_orders: {
|
|
29653
|
+
Args: {
|
|
29654
|
+
_limit?: number;
|
|
29655
|
+
};
|
|
29656
|
+
Returns: Json;
|
|
29657
|
+
};
|
|
26954
29658
|
quote_list_sources: {
|
|
26955
29659
|
Args: {
|
|
26956
29660
|
_limit?: number;
|
|
@@ -26958,6 +29662,12 @@ export type Database = {
|
|
|
26958
29662
|
};
|
|
26959
29663
|
Returns: Json;
|
|
26960
29664
|
};
|
|
29665
|
+
quote_queue_follow_up: {
|
|
29666
|
+
Args: {
|
|
29667
|
+
_offerte_id: string;
|
|
29668
|
+
};
|
|
29669
|
+
Returns: string;
|
|
29670
|
+
};
|
|
26961
29671
|
recompute_all_reserved_stock: {
|
|
26962
29672
|
Args: never;
|
|
26963
29673
|
Returns: undefined;
|
|
@@ -27151,6 +29861,10 @@ export type Database = {
|
|
|
27151
29861
|
Args: never;
|
|
27152
29862
|
Returns: undefined;
|
|
27153
29863
|
};
|
|
29864
|
+
run_order_auto_invoice_tick: {
|
|
29865
|
+
Args: never;
|
|
29866
|
+
Returns: number;
|
|
29867
|
+
};
|
|
27154
29868
|
run_print_queue_ticks: {
|
|
27155
29869
|
Args: never;
|
|
27156
29870
|
Returns: number;
|
|
@@ -27528,6 +30242,13 @@ export type Database = {
|
|
|
27528
30242
|
};
|
|
27529
30243
|
Returns: number;
|
|
27530
30244
|
};
|
|
30245
|
+
schedule_floriday_trade_items_reconcile: {
|
|
30246
|
+
Args: {
|
|
30247
|
+
p_apikey: string;
|
|
30248
|
+
p_url: string;
|
|
30249
|
+
};
|
|
30250
|
+
Returns: number;
|
|
30251
|
+
};
|
|
27531
30252
|
schedule_floriday_trade_items_sync: {
|
|
27532
30253
|
Args: {
|
|
27533
30254
|
p_apikey: string;
|
|
@@ -27639,6 +30360,52 @@ export type Database = {
|
|
|
27639
30360
|
p_end_time: string;
|
|
27640
30361
|
};
|
|
27641
30362
|
Returns: Json;
|
|
30363
|
+
} | {
|
|
30364
|
+
Args: {
|
|
30365
|
+
p_end_lat?: number;
|
|
30366
|
+
p_end_lng?: number;
|
|
30367
|
+
p_log_id: string;
|
|
30368
|
+
};
|
|
30369
|
+
Returns: {
|
|
30370
|
+
auto_stop_reason: string | null;
|
|
30371
|
+
auto_stopped: boolean;
|
|
30372
|
+
created_at: string;
|
|
30373
|
+
current_latitude: number | null;
|
|
30374
|
+
current_longitude: number | null;
|
|
30375
|
+
current_position_updated_at: string | null;
|
|
30376
|
+
employee_id: string;
|
|
30377
|
+
end_latitude: number | null;
|
|
30378
|
+
end_longitude: number | null;
|
|
30379
|
+
end_time: string | null;
|
|
30380
|
+
eta_distance_km: number | null;
|
|
30381
|
+
eta_minutes: number | null;
|
|
30382
|
+
eta_updated_at: string | null;
|
|
30383
|
+
hour_category: string | null;
|
|
30384
|
+
id: string;
|
|
30385
|
+
last_reminder_at: string | null;
|
|
30386
|
+
notes: string | null;
|
|
30387
|
+
overtime_hours: number;
|
|
30388
|
+
overtime_type: string | null;
|
|
30389
|
+
regular_hours: number;
|
|
30390
|
+
reminder_count: number;
|
|
30391
|
+
requires_review: boolean;
|
|
30392
|
+
start_latitude: number | null;
|
|
30393
|
+
start_longitude: number | null;
|
|
30394
|
+
start_time: string;
|
|
30395
|
+
travel_cost: number | null;
|
|
30396
|
+
travel_distance_km: number | null;
|
|
30397
|
+
travel_duration_min: number | null;
|
|
30398
|
+
travel_time_minutes: number | null;
|
|
30399
|
+
type: string;
|
|
30400
|
+
updated_at: string;
|
|
30401
|
+
work_order_id: string | null;
|
|
30402
|
+
};
|
|
30403
|
+
SetofOptions: {
|
|
30404
|
+
from: "*";
|
|
30405
|
+
to: "time_logs";
|
|
30406
|
+
isOneToOne: true;
|
|
30407
|
+
isSetofReturn: false;
|
|
30408
|
+
};
|
|
27642
30409
|
};
|
|
27643
30410
|
swap_cart_layer_positions: {
|
|
27644
30411
|
Args: {
|
|
@@ -27795,14 +30562,323 @@ export type Database = {
|
|
|
27795
30562
|
};
|
|
27796
30563
|
Returns: undefined;
|
|
27797
30564
|
};
|
|
30565
|
+
uren_employee_day_hours: {
|
|
30566
|
+
Args: {
|
|
30567
|
+
_day: string;
|
|
30568
|
+
_employee_id: string;
|
|
30569
|
+
};
|
|
30570
|
+
Returns: number;
|
|
30571
|
+
};
|
|
27798
30572
|
uren_is_beheerder: {
|
|
27799
30573
|
Args: never;
|
|
27800
30574
|
Returns: boolean;
|
|
27801
30575
|
};
|
|
30576
|
+
uren_is_werkdag: {
|
|
30577
|
+
Args: {
|
|
30578
|
+
_date: string;
|
|
30579
|
+
_monteur: string;
|
|
30580
|
+
};
|
|
30581
|
+
Returns: boolean;
|
|
30582
|
+
};
|
|
30583
|
+
uren_korte_afwezigheid_aanvragen: {
|
|
30584
|
+
Args: {
|
|
30585
|
+
_datum: string;
|
|
30586
|
+
_eind: string;
|
|
30587
|
+
_reden: string;
|
|
30588
|
+
_start: string;
|
|
30589
|
+
};
|
|
30590
|
+
Returns: string;
|
|
30591
|
+
};
|
|
30592
|
+
uren_list_medewerkers: {
|
|
30593
|
+
Args: never;
|
|
30594
|
+
Returns: {
|
|
30595
|
+
avatar_url: string;
|
|
30596
|
+
color: string;
|
|
30597
|
+
display_name: string;
|
|
30598
|
+
email: string;
|
|
30599
|
+
hours_fri: number;
|
|
30600
|
+
hours_mon: number;
|
|
30601
|
+
hours_thu: number;
|
|
30602
|
+
hours_tue: number;
|
|
30603
|
+
hours_wed: number;
|
|
30604
|
+
id: string;
|
|
30605
|
+
is_active: boolean;
|
|
30606
|
+
leave_balance_hours: number;
|
|
30607
|
+
persnr: string;
|
|
30608
|
+
phone: string;
|
|
30609
|
+
roles: string[];
|
|
30610
|
+
}[];
|
|
30611
|
+
};
|
|
30612
|
+
uren_list_planner_contacten: {
|
|
30613
|
+
Args: never;
|
|
30614
|
+
Returns: {
|
|
30615
|
+
display_name: string;
|
|
30616
|
+
id: string;
|
|
30617
|
+
phone: string;
|
|
30618
|
+
}[];
|
|
30619
|
+
};
|
|
30620
|
+
uren_maand_afsluiten: {
|
|
30621
|
+
Args: {
|
|
30622
|
+
_maand: string;
|
|
30623
|
+
_monteur: string;
|
|
30624
|
+
};
|
|
30625
|
+
Returns: undefined;
|
|
30626
|
+
};
|
|
30627
|
+
uren_maand_berekenen: {
|
|
30628
|
+
Args: {
|
|
30629
|
+
_maand: string;
|
|
30630
|
+
_monteur: string;
|
|
30631
|
+
};
|
|
30632
|
+
Returns: Json;
|
|
30633
|
+
};
|
|
30634
|
+
uren_maand_corrigeren: {
|
|
30635
|
+
Args: {
|
|
30636
|
+
_maand: string;
|
|
30637
|
+
_monteur: string;
|
|
30638
|
+
_overuren_minuten: number;
|
|
30639
|
+
_reden: string;
|
|
30640
|
+
};
|
|
30641
|
+
Returns: undefined;
|
|
30642
|
+
};
|
|
30643
|
+
uren_mijn_contracturen: {
|
|
30644
|
+
Args: never;
|
|
30645
|
+
Returns: number;
|
|
30646
|
+
};
|
|
30647
|
+
uren_mijn_vakantiesaldo: {
|
|
30648
|
+
Args: never;
|
|
30649
|
+
Returns: number;
|
|
30650
|
+
};
|
|
27802
30651
|
uren_my_monteur_id: {
|
|
27803
30652
|
Args: never;
|
|
27804
30653
|
Returns: string;
|
|
27805
30654
|
};
|
|
30655
|
+
uren_planning_dagagenda: {
|
|
30656
|
+
Args: {
|
|
30657
|
+
_tot: string;
|
|
30658
|
+
_van: string;
|
|
30659
|
+
};
|
|
30660
|
+
Returns: {
|
|
30661
|
+
end_at: string;
|
|
30662
|
+
id: string;
|
|
30663
|
+
is_tweede_man: boolean;
|
|
30664
|
+
notes: string;
|
|
30665
|
+
start_at: string;
|
|
30666
|
+
status: Database["public"]["Enums"]["planning_item_status"];
|
|
30667
|
+
werkbon_id: string;
|
|
30668
|
+
}[];
|
|
30669
|
+
};
|
|
30670
|
+
uren_set_planning_item_status: {
|
|
30671
|
+
Args: {
|
|
30672
|
+
_id: string;
|
|
30673
|
+
_status: Database["public"]["Enums"]["planning_item_status"];
|
|
30674
|
+
};
|
|
30675
|
+
Returns: undefined;
|
|
30676
|
+
};
|
|
30677
|
+
uren_set_planning_status: {
|
|
30678
|
+
Args: {
|
|
30679
|
+
p_status: Database["public"]["Enums"]["planning_item_status"];
|
|
30680
|
+
p_werkbon_id: string;
|
|
30681
|
+
};
|
|
30682
|
+
Returns: number;
|
|
30683
|
+
};
|
|
30684
|
+
uren_spiegel_bezig: {
|
|
30685
|
+
Args: never;
|
|
30686
|
+
Returns: boolean;
|
|
30687
|
+
};
|
|
30688
|
+
uren_standaardweek_beoordelen: {
|
|
30689
|
+
Args: {
|
|
30690
|
+
_goedkeuren: boolean;
|
|
30691
|
+
_id: string;
|
|
30692
|
+
_reden?: string;
|
|
30693
|
+
};
|
|
30694
|
+
Returns: undefined;
|
|
30695
|
+
};
|
|
30696
|
+
uren_standaardweek_doorzetten: {
|
|
30697
|
+
Args: {
|
|
30698
|
+
_monteur: string;
|
|
30699
|
+
};
|
|
30700
|
+
Returns: undefined;
|
|
30701
|
+
};
|
|
30702
|
+
uren_standaardweek_instellen: {
|
|
30703
|
+
Args: {
|
|
30704
|
+
_dagen: Json;
|
|
30705
|
+
};
|
|
30706
|
+
Returns: string;
|
|
30707
|
+
};
|
|
30708
|
+
uren_standaardweek_toepassen: {
|
|
30709
|
+
Args: {
|
|
30710
|
+
_dagen: Json;
|
|
30711
|
+
_monteur: string;
|
|
30712
|
+
};
|
|
30713
|
+
Returns: undefined;
|
|
30714
|
+
};
|
|
30715
|
+
uren_stop_time_log: {
|
|
30716
|
+
Args: {
|
|
30717
|
+
p_employee_id: string;
|
|
30718
|
+
p_end_lat?: number;
|
|
30719
|
+
p_end_lng?: number;
|
|
30720
|
+
p_end_time: string;
|
|
30721
|
+
};
|
|
30722
|
+
Returns: Json;
|
|
30723
|
+
};
|
|
30724
|
+
uren_switch_time_log: {
|
|
30725
|
+
Args: {
|
|
30726
|
+
p_employee_id: string;
|
|
30727
|
+
p_start_lat?: number;
|
|
30728
|
+
p_start_lng?: number;
|
|
30729
|
+
p_type: string;
|
|
30730
|
+
p_work_order_id?: string;
|
|
30731
|
+
};
|
|
30732
|
+
Returns: Json;
|
|
30733
|
+
};
|
|
30734
|
+
uren_sync_sick_time_off: {
|
|
30735
|
+
Args: {
|
|
30736
|
+
_period_id: string;
|
|
30737
|
+
};
|
|
30738
|
+
Returns: number;
|
|
30739
|
+
};
|
|
30740
|
+
uren_vakantie_aanvragen: {
|
|
30741
|
+
Args: {
|
|
30742
|
+
_end_date: string;
|
|
30743
|
+
_hours?: number;
|
|
30744
|
+
_start_date: string;
|
|
30745
|
+
};
|
|
30746
|
+
Returns: string;
|
|
30747
|
+
};
|
|
30748
|
+
uren_vakantiedag_wijzigen: {
|
|
30749
|
+
Args: {
|
|
30750
|
+
_date: string;
|
|
30751
|
+
};
|
|
30752
|
+
Returns: string;
|
|
30753
|
+
};
|
|
30754
|
+
uren_vakantiesaldo_uren: {
|
|
30755
|
+
Args: {
|
|
30756
|
+
_monteur: string;
|
|
30757
|
+
};
|
|
30758
|
+
Returns: number;
|
|
30759
|
+
};
|
|
30760
|
+
uren_week_start: {
|
|
30761
|
+
Args: {
|
|
30762
|
+
_datum: string;
|
|
30763
|
+
};
|
|
30764
|
+
Returns: string;
|
|
30765
|
+
};
|
|
30766
|
+
uren_werkweek_opsturen: {
|
|
30767
|
+
Args: {
|
|
30768
|
+
_week_start: string;
|
|
30769
|
+
};
|
|
30770
|
+
Returns: {
|
|
30771
|
+
approved_at: string | null;
|
|
30772
|
+
approved_by: string | null;
|
|
30773
|
+
contract_hours: number;
|
|
30774
|
+
created_at: string;
|
|
30775
|
+
employee_id: string;
|
|
30776
|
+
id: string;
|
|
30777
|
+
locked: boolean;
|
|
30778
|
+
monteur_toelichting: string | null;
|
|
30779
|
+
notes: string | null;
|
|
30780
|
+
planned_hours: number;
|
|
30781
|
+
status: string;
|
|
30782
|
+
submitted_at: string | null;
|
|
30783
|
+
updated_at: string;
|
|
30784
|
+
variance_hours: number;
|
|
30785
|
+
week_start: string;
|
|
30786
|
+
};
|
|
30787
|
+
SetofOptions: {
|
|
30788
|
+
from: "*";
|
|
30789
|
+
to: "time_log_week_approvals";
|
|
30790
|
+
isOneToOne: true;
|
|
30791
|
+
isSetofReturn: false;
|
|
30792
|
+
};
|
|
30793
|
+
} | {
|
|
30794
|
+
Args: {
|
|
30795
|
+
_vrije_dagen?: string[];
|
|
30796
|
+
_week_start: string;
|
|
30797
|
+
};
|
|
30798
|
+
Returns: {
|
|
30799
|
+
approved_at: string | null;
|
|
30800
|
+
approved_by: string | null;
|
|
30801
|
+
contract_hours: number;
|
|
30802
|
+
created_at: string;
|
|
30803
|
+
employee_id: string;
|
|
30804
|
+
id: string;
|
|
30805
|
+
locked: boolean;
|
|
30806
|
+
monteur_toelichting: string | null;
|
|
30807
|
+
notes: string | null;
|
|
30808
|
+
planned_hours: number;
|
|
30809
|
+
status: string;
|
|
30810
|
+
submitted_at: string | null;
|
|
30811
|
+
updated_at: string;
|
|
30812
|
+
variance_hours: number;
|
|
30813
|
+
week_start: string;
|
|
30814
|
+
};
|
|
30815
|
+
SetofOptions: {
|
|
30816
|
+
from: "*";
|
|
30817
|
+
to: "time_log_week_approvals";
|
|
30818
|
+
isOneToOne: true;
|
|
30819
|
+
isSetofReturn: false;
|
|
30820
|
+
};
|
|
30821
|
+
} | {
|
|
30822
|
+
Args: {
|
|
30823
|
+
_toelichting?: string;
|
|
30824
|
+
_vrije_dagen?: string[];
|
|
30825
|
+
_week_start: string;
|
|
30826
|
+
};
|
|
30827
|
+
Returns: {
|
|
30828
|
+
approved_at: string | null;
|
|
30829
|
+
approved_by: string | null;
|
|
30830
|
+
contract_hours: number;
|
|
30831
|
+
created_at: string;
|
|
30832
|
+
employee_id: string;
|
|
30833
|
+
id: string;
|
|
30834
|
+
locked: boolean;
|
|
30835
|
+
monteur_toelichting: string | null;
|
|
30836
|
+
notes: string | null;
|
|
30837
|
+
planned_hours: number;
|
|
30838
|
+
status: string;
|
|
30839
|
+
submitted_at: string | null;
|
|
30840
|
+
updated_at: string;
|
|
30841
|
+
variance_hours: number;
|
|
30842
|
+
week_start: string;
|
|
30843
|
+
};
|
|
30844
|
+
SetofOptions: {
|
|
30845
|
+
from: "*";
|
|
30846
|
+
to: "time_log_week_approvals";
|
|
30847
|
+
isOneToOne: true;
|
|
30848
|
+
isSetofReturn: false;
|
|
30849
|
+
};
|
|
30850
|
+
};
|
|
30851
|
+
vakantie_dagen_gebruikt: {
|
|
30852
|
+
Args: {
|
|
30853
|
+
_user_id: string;
|
|
30854
|
+
_year: number;
|
|
30855
|
+
};
|
|
30856
|
+
Returns: number;
|
|
30857
|
+
};
|
|
30858
|
+
vakantie_saldo: {
|
|
30859
|
+
Args: {
|
|
30860
|
+
_user_id: string;
|
|
30861
|
+
_year?: number;
|
|
30862
|
+
};
|
|
30863
|
+
Returns: {
|
|
30864
|
+
day_hours: number;
|
|
30865
|
+
entitlement_days: number;
|
|
30866
|
+
remaining_days: number;
|
|
30867
|
+
used_days: number;
|
|
30868
|
+
}[];
|
|
30869
|
+
};
|
|
30870
|
+
vakantie_saldo_overzicht: {
|
|
30871
|
+
Args: {
|
|
30872
|
+
_year?: number;
|
|
30873
|
+
};
|
|
30874
|
+
Returns: {
|
|
30875
|
+
day_hours: number;
|
|
30876
|
+
entitlement_days: number;
|
|
30877
|
+
remaining_days: number;
|
|
30878
|
+
used_days: number;
|
|
30879
|
+
user_id: string;
|
|
30880
|
+
}[];
|
|
30881
|
+
};
|
|
27806
30882
|
voorraad_cleanup_old_rows: {
|
|
27807
30883
|
Args: never;
|
|
27808
30884
|
Returns: Json;
|
|
@@ -27845,6 +30921,25 @@ export type Database = {
|
|
|
27845
30921
|
};
|
|
27846
30922
|
Returns: Json;
|
|
27847
30923
|
};
|
|
30924
|
+
wo_list_offerte_requests: {
|
|
30925
|
+
Args: {
|
|
30926
|
+
_status?: string;
|
|
30927
|
+
};
|
|
30928
|
+
Returns: Json;
|
|
30929
|
+
};
|
|
30930
|
+
wo_process_offerte_request: {
|
|
30931
|
+
Args: {
|
|
30932
|
+
_queue_id: string;
|
|
30933
|
+
};
|
|
30934
|
+
Returns: Json;
|
|
30935
|
+
};
|
|
30936
|
+
wo_reject_offerte_request: {
|
|
30937
|
+
Args: {
|
|
30938
|
+
_queue_id: string;
|
|
30939
|
+
_reden?: string;
|
|
30940
|
+
};
|
|
30941
|
+
Returns: Json;
|
|
30942
|
+
};
|
|
27848
30943
|
wo_set_status: {
|
|
27849
30944
|
Args: {
|
|
27850
30945
|
_reason?: string;
|