@flowselections/floriday-voorraad 1.0.39 → 1.0.41

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.
Files changed (124) hide show
  1. package/dist-lib/components/TemplatePage.d.ts +1 -1
  2. package/dist-lib/components/TemplatePage.d.ts.map +1 -1
  3. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts +2 -0
  4. package/dist-lib/components/settings/VoorraadSettingsCard.d.ts.map +1 -0
  5. package/dist-lib/components/settings/VoorraadSettingsCard.js +39 -0
  6. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts +1 -1
  7. package/dist-lib/components/voorraad/AdditionalPackagingDialog.d.ts.map +1 -1
  8. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts +1 -1
  9. package/dist-lib/components/voorraad/ArtikelCompositionCard.d.ts.map +1 -1
  10. package/dist-lib/components/voorraad/ArtikelWizard.d.ts +1 -1
  11. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  12. package/dist-lib/components/voorraad/ArtikelWizard.js +34 -3
  13. package/dist-lib/components/voorraad/ConnectionBadge.d.ts +1 -1
  14. package/dist-lib/components/voorraad/ConnectionBadge.d.ts.map +1 -1
  15. package/dist-lib/components/voorraad/ConnectionPicker.d.ts +8 -0
  16. package/dist-lib/components/voorraad/ConnectionPicker.d.ts.map +1 -0
  17. package/dist-lib/components/voorraad/ConnectionPicker.js +8 -0
  18. package/dist-lib/components/voorraad/EditArtikelPage.d.ts +1 -1
  19. package/dist-lib/components/voorraad/EditArtikelPage.d.ts.map +1 -1
  20. package/dist-lib/components/voorraad/ExcelExportButton.d.ts +1 -1
  21. package/dist-lib/components/voorraad/ExcelExportButton.d.ts.map +1 -1
  22. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts +1 -1
  23. package/dist-lib/components/voorraad/FloridayInfoCard.d.ts.map +1 -1
  24. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts +1 -1
  25. package/dist-lib/components/voorraad/FloridayStatusBadge.d.ts.map +1 -1
  26. package/dist-lib/components/voorraad/FustenPage.d.ts +1 -1
  27. package/dist-lib/components/voorraad/FustenPage.d.ts.map +1 -1
  28. package/dist-lib/components/voorraad/FustenPage.js +7 -1
  29. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts +1 -1
  30. package/dist-lib/components/voorraad/InventorySettingsDrawer.d.ts.map +1 -1
  31. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts +1 -1
  32. package/dist-lib/components/voorraad/InventoryStatusBadge.d.ts.map +1 -1
  33. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts +1 -1
  34. package/dist-lib/components/voorraad/ModuleHealthCard.d.ts.map +1 -1
  35. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts +1 -1
  36. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
  37. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts +1 -1
  38. package/dist-lib/components/voorraad/OrderHistoryCard.d.ts.map +1 -1
  39. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +1 -1
  40. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
  41. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts +1 -1
  42. package/dist-lib/components/voorraad/ProductCustomFieldsCard.d.ts.map +1 -1
  43. package/dist-lib/components/voorraad/ProductLinkCard.d.ts +1 -1
  44. package/dist-lib/components/voorraad/ProductLinkCard.d.ts.map +1 -1
  45. package/dist-lib/components/voorraad/PublicatiesPage.d.ts +1 -1
  46. package/dist-lib/components/voorraad/PublicatiesPage.d.ts.map +1 -1
  47. package/dist-lib/components/voorraad/PublishProgressCard.d.ts +1 -1
  48. package/dist-lib/components/voorraad/PublishProgressCard.d.ts.map +1 -1
  49. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts +1 -1
  50. package/dist-lib/components/voorraad/PublishReadinessCard.d.ts.map +1 -1
  51. package/dist-lib/components/voorraad/StepSamenstelling.d.ts +1 -1
  52. package/dist-lib/components/voorraad/StepSamenstelling.d.ts.map +1 -1
  53. package/dist-lib/components/voorraad/StockBulkButtons.d.ts +1 -1
  54. package/dist-lib/components/voorraad/StockBulkButtons.d.ts.map +1 -1
  55. package/dist-lib/components/voorraad/StockHistoryChart.d.ts +1 -1
  56. package/dist-lib/components/voorraad/StockHistoryChart.d.ts.map +1 -1
  57. package/dist-lib/components/voorraad/StockPushMonitor.d.ts +1 -1
  58. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  59. package/dist-lib/components/voorraad/StockSyncStatus.d.ts +1 -1
  60. package/dist-lib/components/voorraad/StockSyncStatus.d.ts.map +1 -1
  61. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts +1 -1
  62. package/dist-lib/components/voorraad/ValidationOverviewTable.d.ts.map +1 -1
  63. package/dist-lib/components/voorraad/ValidationOverviewTable.js +45 -14
  64. package/dist-lib/components/voorraad/ValidationPage.d.ts +1 -1
  65. package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
  66. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
  67. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
  68. package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
  69. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  70. package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
  71. package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
  72. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  73. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  74. package/dist-lib/components/voorraad/VoorraadTable.d.ts +1 -1
  75. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  76. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
  77. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
  78. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  79. package/dist-lib/hooks/useTradeItemStock.js +1 -0
  80. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2768 -260
  81. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  82. package/dist-lib/integrations/supabase/client.d.ts +2768 -260
  83. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  84. package/dist-lib/integrations/supabase/client.js +1 -1
  85. package/dist-lib/integrations/supabase/client.server.d.ts +2768 -260
  86. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  87. package/dist-lib/integrations/supabase/client.server.js +1 -1
  88. package/dist-lib/integrations/supabase/types.d.ts +2751 -199
  89. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  90. package/dist-lib/integrations/supabase/types.js +1 -0
  91. package/dist-lib/lib/floricode-required-features.functions.d.ts +2775 -261
  92. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  93. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +2769 -263
  94. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  95. package/dist-lib/lib/floriday-env.functions.d.ts +5280 -264
  96. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  97. package/dist-lib/lib/floriday-gateway.functions.d.ts +16058 -1010
  98. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  99. package/dist-lib/lib/floriday-relink.d.ts +16 -0
  100. package/dist-lib/lib/floriday-relink.d.ts.map +1 -0
  101. package/dist-lib/lib/floriday-relink.js +14 -0
  102. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +5280 -264
  103. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  104. package/dist-lib/lib/floriday-warehouse.functions.d.ts +8021 -497
  105. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  106. package/dist-lib/lib/floriday-writes.functions.d.ts +5280 -264
  107. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  108. package/dist-lib/lib/fusten.d.ts +1 -0
  109. package/dist-lib/lib/fusten.d.ts.map +1 -1
  110. package/dist-lib/lib/fusten.js +1 -1
  111. package/dist-lib/lib/inventory-settings.functions.d.ts +5280 -264
  112. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  113. package/dist-lib/lib/logistics-buffer-events.server.d.ts +13 -0
  114. package/dist-lib/lib/logistics-buffer-events.server.d.ts.map +1 -0
  115. package/dist-lib/lib/logistics-buffer-events.server.js +365 -0
  116. package/dist-lib/lib/logistics-events.d.ts.map +1 -1
  117. package/dist-lib/lib/logistics-events.js +36 -7
  118. package/dist-lib/lib/logistics-tasks.server.d.ts.map +1 -1
  119. package/dist-lib/lib/logistics-tasks.server.js +38 -6
  120. package/dist-lib/lib/module-health.functions.d.ts +5280 -264
  121. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  122. package/dist-lib/lib/stock-sync.functions.d.ts +5280 -264
  123. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  124. package/package.json +1 -1
@@ -61,7 +61,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
61
61
  signup_mail_lead_minutes?: number;
62
62
  signup_mail_purpose?: string;
63
63
  transport_register_days_before?: number;
64
- updated_at?: string;
64
+ updated_at
65
+ /**
66
+ * Minimalistische Supabase-client-shape die `computeVbnRequiredFeatures`
67
+ * daadwerkelijk gebruikt. Getypeerd als `any` zodat zowel de echte
68
+ * `SupabaseClient` als de fake-client in tests passen.
69
+ */
70
+ ?: string;
65
71
  user_id: string;
66
72
  };
67
73
  Update: {
@@ -718,6 +724,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
718
724
  raw: import("../integrations/supabase/types").Json;
719
725
  updated_at: string;
720
726
  valuta: string;
727
+ velden: import("../integrations/supabase/types").Json;
721
728
  };
722
729
  Insert: {
723
730
  artikelcode: string;
@@ -735,6 +742,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
735
742
  raw?: import("../integrations/supabase/types").Json;
736
743
  updated_at?: string;
737
744
  valuta?: string;
745
+ velden?: import("../integrations/supabase/types").Json;
738
746
  };
739
747
  Update: {
740
748
  artikelcode?: string;
@@ -752,6 +760,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
752
760
  raw?: import("../integrations/supabase/types").Json;
753
761
  updated_at?: string;
754
762
  valuta?: string;
763
+ velden?: import("../integrations/supabase/types").Json;
755
764
  };
756
765
  Relationships: [];
757
766
  };
@@ -1446,8 +1455,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1446
1455
  Row: {
1447
1456
  assigned_at: string;
1448
1457
  cart_index: number;
1449
- cart_number: string;
1450
- day_seq: number;
1458
+ cart_number: string | null;
1459
+ day_seq: number | null;
1460
+ delivered_at: string | null;
1451
1461
  id: string;
1452
1462
  order_id: string;
1453
1463
  order_source: string;
@@ -1457,8 +1467,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1457
1467
  Insert: {
1458
1468
  assigned_at?: string;
1459
1469
  cart_index: number;
1460
- cart_number: string;
1461
- day_seq: number;
1470
+ cart_number?: string | null;
1471
+ day_seq?: number | null;
1472
+ delivered_at?: string | null;
1462
1473
  id?: string;
1463
1474
  order_id: string;
1464
1475
  order_source: string;
@@ -1468,8 +1479,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1468
1479
  Update: {
1469
1480
  assigned_at?: string;
1470
1481
  cart_index?: number;
1471
- cart_number?: string;
1472
- day_seq?: number;
1482
+ cart_number?: string | null;
1483
+ day_seq?: number | null;
1484
+ delivered_at?: string | null;
1473
1485
  id?: string;
1474
1486
  order_id?: string;
1475
1487
  order_source?: string;
@@ -1570,6 +1582,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
1570
1582
  updated_at?: string;
1571
1583
  };
1572
1584
  Relationships: [{
1585
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1586
+ columns: ["product_id"];
1587
+ isOneToOne: true;
1588
+ referencedRelation: "logistics_product_dimensions";
1589
+ referencedColumns: ["product_id"];
1590
+ }, {
1573
1591
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1574
1592
  columns: ["product_id"];
1575
1593
  isOneToOne: true;
@@ -2170,6 +2188,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2170
2188
  created_at: string;
2171
2189
  currency: string;
2172
2190
  distribute_over: string | null;
2191
+ external_id: string | null;
2192
+ external_synced_at: string | null;
2173
2193
  group_type: string;
2174
2194
  handling_fee: number | null;
2175
2195
  id: string;
@@ -2182,6 +2202,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2182
2202
  rounding: string;
2183
2203
  rounding_step: number;
2184
2204
  sort_order: number;
2205
+ source: string;
2185
2206
  unit: string;
2186
2207
  updated_at: string;
2187
2208
  };
@@ -2192,6 +2213,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2192
2213
  created_at?: string;
2193
2214
  currency?: string;
2194
2215
  distribute_over?: string | null;
2216
+ external_id?: string | null;
2217
+ external_synced_at?: string | null;
2195
2218
  group_type?: string;
2196
2219
  handling_fee?: number | null;
2197
2220
  id?: string;
@@ -2204,6 +2227,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2204
2227
  rounding?: string;
2205
2228
  rounding_step?: number;
2206
2229
  sort_order?: number;
2230
+ source?: string;
2207
2231
  unit?: string;
2208
2232
  updated_at?: string;
2209
2233
  };
@@ -2214,6 +2238,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2214
2238
  created_at?: string;
2215
2239
  currency?: string;
2216
2240
  distribute_over?: string | null;
2241
+ external_id?: string | null;
2242
+ external_synced_at?: string | null;
2217
2243
  group_type?: string;
2218
2244
  handling_fee?: number | null;
2219
2245
  id?: string;
@@ -2226,6 +2252,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
2226
2252
  rounding?: string;
2227
2253
  rounding_step?: number;
2228
2254
  sort_order?: number;
2255
+ source?: string;
2229
2256
  unit?: string;
2230
2257
  updated_at?: string;
2231
2258
  };
@@ -7097,6 +7124,51 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
7097
7124
  };
7098
7125
  Relationships: [];
7099
7126
  };
7127
+ floriday_status_sync_queue: {
7128
+ Row: {
7129
+ attempts: number;
7130
+ created_at: string;
7131
+ error: string | null;
7132
+ floriday_sales_order_id: string;
7133
+ order_id: string;
7134
+ processed_at: string | null;
7135
+ requested_at: string;
7136
+ state: string;
7137
+ target_status: string;
7138
+ updated_at: string;
7139
+ };
7140
+ Insert: {
7141
+ attempts?: number;
7142
+ created_at?: string;
7143
+ error?: string | null;
7144
+ floriday_sales_order_id: string;
7145
+ order_id: string;
7146
+ processed_at?: string | null;
7147
+ requested_at?: string;
7148
+ state?: string;
7149
+ target_status: string;
7150
+ updated_at?: string;
7151
+ };
7152
+ Update: {
7153
+ attempts?: number;
7154
+ created_at?: string;
7155
+ error?: string | null;
7156
+ floriday_sales_order_id?: string;
7157
+ order_id?: string;
7158
+ processed_at?: string | null;
7159
+ requested_at?: string;
7160
+ state?: string;
7161
+ target_status?: string;
7162
+ updated_at?: string;
7163
+ };
7164
+ Relationships: [{
7165
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7166
+ columns: ["order_id"];
7167
+ isOneToOne: true;
7168
+ referencedRelation: "orders";
7169
+ referencedColumns: ["id"];
7170
+ }];
7171
+ };
7100
7172
  floriday_sync_cursors: {
7101
7173
  Row: {
7102
7174
  connection_id: string;
@@ -8331,10 +8403,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8331
8403
  general_email: string | null;
8332
8404
  general_phone: string | null;
8333
8405
  id: string;
8406
+ kvk_number: string | null;
8334
8407
  legacy_customer_id: string | null;
8335
8408
  name: string;
8336
8409
  segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8337
8410
  updated_at: string;
8411
+ vat_number: string | null;
8338
8412
  };
8339
8413
  Insert: {
8340
8414
  billing_city?: string | null;
@@ -8345,10 +8419,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8345
8419
  general_email?: string | null;
8346
8420
  general_phone?: string | null;
8347
8421
  id?: string;
8422
+ kvk_number?: string | null;
8348
8423
  legacy_customer_id?: string | null;
8349
8424
  name: string;
8350
8425
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8351
8426
  updated_at?: string;
8427
+ vat_number?: string | null;
8352
8428
  };
8353
8429
  Update: {
8354
8430
  billing_city?: string | null;
@@ -8359,10 +8435,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8359
8435
  general_email?: string | null;
8360
8436
  general_phone?: string | null;
8361
8437
  id?: string;
8438
+ kvk_number?: string | null;
8362
8439
  legacy_customer_id?: string | null;
8363
8440
  name?: string;
8364
8441
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8365
8442
  updated_at?: string;
8443
+ vat_number?: string | null;
8366
8444
  };
8367
8445
  Relationships: [];
8368
8446
  };
@@ -8396,6 +8474,117 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8396
8474
  };
8397
8475
  Relationships: [];
8398
8476
  };
8477
+ itk_handover_github_scan: {
8478
+ Row: {
8479
+ gescand_op: string;
8480
+ gevonden: boolean;
8481
+ melding: string | null;
8482
+ module_id: string | null;
8483
+ repo: string;
8484
+ };
8485
+ Insert: {
8486
+ gescand_op?: string;
8487
+ gevonden?: boolean;
8488
+ melding?: string | null;
8489
+ module_id?: string | null;
8490
+ repo: string;
8491
+ };
8492
+ Update: {
8493
+ gescand_op?: string;
8494
+ gevonden?: boolean;
8495
+ melding?: string | null;
8496
+ module_id?: string | null;
8497
+ repo?: string;
8498
+ };
8499
+ Relationships: [];
8500
+ };
8501
+ itk_handover_module_meta: {
8502
+ Row: {
8503
+ check_aangevraagd_op: string | null;
8504
+ check_nodig: boolean;
8505
+ check_reden: string | null;
8506
+ created_at: string;
8507
+ module_id: string;
8508
+ project_url: string | null;
8509
+ publicatie_url: string | null;
8510
+ updated_at: string;
8511
+ };
8512
+ Insert: {
8513
+ check_aangevraagd_op?: string | null;
8514
+ check_nodig?: boolean;
8515
+ check_reden?: string | null;
8516
+ created_at?: string;
8517
+ module_id: string;
8518
+ project_url?: string | null;
8519
+ publicatie_url?: string | null;
8520
+ updated_at?: string;
8521
+ };
8522
+ Update: {
8523
+ check_aangevraagd_op?: string | null;
8524
+ check_nodig?: boolean;
8525
+ check_reden?: string | null;
8526
+ created_at?: string;
8527
+ module_id?: string;
8528
+ project_url?: string | null;
8529
+ publicatie_url?: string | null;
8530
+ updated_at?: string;
8531
+ };
8532
+ Relationships: [];
8533
+ };
8534
+ itk_handover_project_modules: {
8535
+ Row: {
8536
+ created_at: string;
8537
+ id: string;
8538
+ module_id: string;
8539
+ project_id: string;
8540
+ updated_at: string;
8541
+ };
8542
+ Insert: {
8543
+ created_at?: string;
8544
+ id?: string;
8545
+ module_id: string;
8546
+ project_id: string;
8547
+ updated_at?: string;
8548
+ };
8549
+ Update: {
8550
+ created_at?: string;
8551
+ id?: string;
8552
+ module_id?: string;
8553
+ project_id?: string;
8554
+ updated_at?: string;
8555
+ };
8556
+ Relationships: [{
8557
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8558
+ columns: ["project_id"];
8559
+ isOneToOne: false;
8560
+ referencedRelation: "itk_handover_projecten";
8561
+ referencedColumns: ["id"];
8562
+ }];
8563
+ };
8564
+ itk_handover_projecten: {
8565
+ Row: {
8566
+ created_at: string;
8567
+ id: string;
8568
+ naam: string;
8569
+ omschrijving: string | null;
8570
+ updated_at: string;
8571
+ };
8572
+ Insert: {
8573
+ created_at?: string;
8574
+ id?: string;
8575
+ naam: string;
8576
+ omschrijving?: string | null;
8577
+ updated_at?: string;
8578
+ };
8579
+ Update: {
8580
+ created_at?: string;
8581
+ id?: string;
8582
+ naam?: string;
8583
+ omschrijving?: string | null;
8584
+ updated_at?: string;
8585
+ };
8586
+ Relationships: [];
8587
+ };
8399
8588
  itk_handover_rechten: {
8400
8589
  Row: {
8401
8590
  created_at: string;
@@ -8423,42 +8612,33 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8423
8612
  };
8424
8613
  Relationships: [];
8425
8614
  };
8426
- itk_handover_tokens: {
8615
+ itk_module_fingerprints: {
8427
8616
  Row: {
8428
- aangemaakt_door: string | null;
8429
8617
  created_at: string;
8618
+ gemaakt_op: string;
8619
+ hash: string;
8430
8620
  id: string;
8431
- is_actief: boolean;
8432
- laatst_gebruikt_op: string | null;
8433
- label: string;
8434
8621
  module_id: string;
8435
- token_hash: string;
8622
+ payload: import("../integrations/supabase/types").Json;
8436
8623
  updated_at: string;
8437
- verloopt_op: string | null;
8438
8624
  };
8439
8625
  Insert: {
8440
- aangemaakt_door?: string | null;
8441
8626
  created_at?: string;
8627
+ gemaakt_op?: string;
8628
+ hash: string;
8442
8629
  id?: string;
8443
- is_actief?: boolean;
8444
- laatst_gebruikt_op?: string | null;
8445
- label?: string;
8446
8630
  module_id: string;
8447
- token_hash: string;
8631
+ payload?: import("../integrations/supabase/types").Json;
8448
8632
  updated_at?: string;
8449
- verloopt_op?: string | null;
8450
8633
  };
8451
8634
  Update: {
8452
- aangemaakt_door?: string | null;
8453
8635
  created_at?: string;
8636
+ gemaakt_op?: string;
8637
+ hash?: string;
8454
8638
  id?: string;
8455
- is_actief?: boolean;
8456
- laatst_gebruikt_op?: string | null;
8457
- label?: string;
8458
8639
  module_id?: string;
8459
- token_hash?: string;
8640
+ payload?: import("../integrations/supabase/types").Json;
8460
8641
  updated_at?: string;
8461
- verloopt_op?: string | null;
8462
8642
  };
8463
8643
  Relationships: [];
8464
8644
  };
@@ -8466,6 +8646,11 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8466
8646
  Row: {
8467
8647
  bevindingen: string | null;
8468
8648
  bezit_tabellen: string[];
8649
+ bron_commit: string | null;
8650
+ bron_pad: string | null;
8651
+ bron_repo: string | null;
8652
+ bron_soort: string | null;
8653
+ bron_versie: string | null;
8469
8654
  conflicten_snapshot: import("../integrations/supabase/types").Json;
8470
8655
  contractfuncties: string[];
8471
8656
  created_at: string;
@@ -8476,6 +8661,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8476
8661
  id: string;
8477
8662
  inhoud_md: string;
8478
8663
  is_actueel: boolean;
8664
+ is_gearchiveerd: boolean;
8665
+ laatst_gecontroleerd_op: string | null;
8479
8666
  module_id: string;
8480
8667
  module_titel: string;
8481
8668
  ontbrekende_contracten: string[];
@@ -8486,6 +8673,11 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8486
8673
  Insert: {
8487
8674
  bevindingen?: string | null;
8488
8675
  bezit_tabellen?: string[];
8676
+ bron_commit?: string | null;
8677
+ bron_pad?: string | null;
8678
+ bron_repo?: string | null;
8679
+ bron_soort?: string | null;
8680
+ bron_versie?: string | null;
8489
8681
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8490
8682
  contractfuncties?: string[];
8491
8683
  created_at?: string;
@@ -8496,6 +8688,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8496
8688
  id?: string;
8497
8689
  inhoud_md: string;
8498
8690
  is_actueel?: boolean;
8691
+ is_gearchiveerd?: boolean;
8692
+ laatst_gecontroleerd_op?: string | null;
8499
8693
  module_id: string;
8500
8694
  module_titel: string;
8501
8695
  ontbrekende_contracten?: string[];
@@ -8506,6 +8700,11 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8506
8700
  Update: {
8507
8701
  bevindingen?: string | null;
8508
8702
  bezit_tabellen?: string[];
8703
+ bron_commit?: string | null;
8704
+ bron_pad?: string | null;
8705
+ bron_repo?: string | null;
8706
+ bron_soort?: string | null;
8707
+ bron_versie?: string | null;
8509
8708
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8510
8709
  contractfuncties?: string[];
8511
8710
  created_at?: string;
@@ -8516,6 +8715,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8516
8715
  id?: string;
8517
8716
  inhoud_md?: string;
8518
8717
  is_actueel?: boolean;
8718
+ is_gearchiveerd?: boolean;
8719
+ laatst_gecontroleerd_op?: string | null;
8519
8720
  module_id?: string;
8520
8721
  module_titel?: string;
8521
8722
  ontbrekende_contracten?: string[];
@@ -8570,6 +8771,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8570
8771
  };
8571
8772
  Relationships: [];
8572
8773
  };
8774
+ itk_module_wijzigingen: {
8775
+ Row: {
8776
+ created_at: string;
8777
+ geconstateerd_op: string;
8778
+ id: string;
8779
+ module_id: string;
8780
+ omschrijving: string;
8781
+ soort: string;
8782
+ updated_at: string;
8783
+ was_na_publicatie: boolean;
8784
+ };
8785
+ Insert: {
8786
+ created_at?: string;
8787
+ geconstateerd_op?: string;
8788
+ id?: string;
8789
+ module_id: string;
8790
+ omschrijving: string;
8791
+ soort: string;
8792
+ updated_at?: string;
8793
+ was_na_publicatie?: boolean;
8794
+ };
8795
+ Update: {
8796
+ created_at?: string;
8797
+ geconstateerd_op?: string;
8798
+ id?: string;
8799
+ module_id?: string;
8800
+ omschrijving?: string;
8801
+ soort?: string;
8802
+ updated_at?: string;
8803
+ was_na_publicatie?: boolean;
8804
+ };
8805
+ Relationships: [];
8806
+ };
8573
8807
  itk_offerte_events: {
8574
8808
  Row: {
8575
8809
  created_at: string;
@@ -8808,12 +9042,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8808
9042
  isOneToOne: false;
8809
9043
  referencedRelation: "werkbonnen";
8810
9044
  referencedColumns: ["id"];
9045
+ }, {
9046
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9047
+ columns: ["follow_up_werkbon_id"];
9048
+ isOneToOne: false;
9049
+ referencedRelation: "wo_overview";
9050
+ referencedColumns: ["id"];
8811
9051
  }, {
8812
9052
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8813
9053
  columns: ["werkbon_id"];
8814
9054
  isOneToOne: false;
8815
9055
  referencedRelation: "werkbonnen";
8816
9056
  referencedColumns: ["id"];
9057
+ }, {
9058
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9059
+ columns: ["werkbon_id"];
9060
+ isOneToOne: false;
9061
+ referencedRelation: "wo_overview";
9062
+ referencedColumns: ["id"];
8817
9063
  }, {
8818
9064
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8819
9065
  columns: ["work_location_id"];
@@ -8870,6 +9116,30 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
8870
9116
  referencedColumns: ["id"];
8871
9117
  }];
8872
9118
  };
9119
+ job_locks: {
9120
+ Row: {
9121
+ created_at: string;
9122
+ lock_key: string;
9123
+ locked_until: string;
9124
+ owner: string | null;
9125
+ updated_at: string;
9126
+ };
9127
+ Insert: {
9128
+ created_at?: string;
9129
+ lock_key: string;
9130
+ locked_until: string;
9131
+ owner?: string | null;
9132
+ updated_at?: string;
9133
+ };
9134
+ Update: {
9135
+ created_at?: string;
9136
+ lock_key?: string;
9137
+ locked_until?: string;
9138
+ owner?: string | null;
9139
+ updated_at?: string;
9140
+ };
9141
+ Relationships: [];
9142
+ };
8873
9143
  layout_logos: {
8874
9144
  Row: {
8875
9145
  bestand_url: string;
@@ -9114,6 +9384,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9114
9384
  isOneToOne: false;
9115
9385
  referencedRelation: "product_categories";
9116
9386
  referencedColumns: ["id"];
9387
+ }, {
9388
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9389
+ columns: ["product_id"];
9390
+ isOneToOne: false;
9391
+ referencedRelation: "logistics_product_dimensions";
9392
+ referencedColumns: ["product_id"];
9117
9393
  }, {
9118
9394
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9119
9395
  columns: ["product_id"];
@@ -9180,6 +9456,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9180
9456
  isOneToOne: false;
9181
9457
  referencedRelation: "product_categories";
9182
9458
  referencedColumns: ["id"];
9459
+ }, {
9460
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9461
+ columns: ["product_id"];
9462
+ isOneToOne: false;
9463
+ referencedRelation: "logistics_product_dimensions";
9464
+ referencedColumns: ["product_id"];
9183
9465
  }, {
9184
9466
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9185
9467
  columns: ["product_id"];
@@ -9246,6 +9528,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9246
9528
  isOneToOne: false;
9247
9529
  referencedRelation: "product_categories";
9248
9530
  referencedColumns: ["id"];
9531
+ }, {
9532
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9533
+ columns: ["product_id"];
9534
+ isOneToOne: false;
9535
+ referencedRelation: "logistics_product_dimensions";
9536
+ referencedColumns: ["product_id"];
9249
9537
  }, {
9250
9538
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9251
9539
  columns: ["product_id"];
@@ -9428,66 +9716,156 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9428
9716
  };
9429
9717
  Relationships: [];
9430
9718
  };
9431
- logistics_decisions: {
9719
+ logistics_cart_barcode: {
9432
9720
  Row: {
9721
+ barcode: string;
9722
+ cart_id: string;
9433
9723
  created_at: string;
9434
- explanation: string | null;
9435
- id: string;
9436
- input_snapshot: import("../integrations/supabase/types").Json;
9437
- result: import("../integrations/supabase/types").Json;
9438
- slot: string;
9439
- strategy_id: string | null;
9440
- subject_id: string;
9441
- subject_type: string;
9442
- user_id: string;
9724
+ order_id: string | null;
9443
9725
  };
9444
9726
  Insert: {
9727
+ barcode: string;
9728
+ cart_id: string;
9445
9729
  created_at?: string;
9446
- explanation?: string | null;
9447
- id?: string;
9448
- input_snapshot?: import("../integrations/supabase/types").Json;
9449
- result?: import("../integrations/supabase/types").Json;
9450
- slot: string;
9451
- strategy_id?: string | null;
9452
- subject_id: string;
9453
- subject_type: string;
9454
- user_id: string;
9730
+ order_id?: string | null;
9455
9731
  };
9456
9732
  Update: {
9733
+ barcode?: string;
9734
+ cart_id?: string;
9457
9735
  created_at?: string;
9458
- explanation?: string | null;
9459
- id?: string;
9460
- input_snapshot?: import("../integrations/supabase/types").Json;
9461
- result?: import("../integrations/supabase/types").Json;
9462
- slot?: string;
9463
- strategy_id?: string | null;
9464
- subject_id?: string;
9465
- subject_type?: string;
9466
- user_id?: string;
9736
+ order_id?: string | null;
9467
9737
  };
9468
- Relationships: [{
9469
- foreignKeyName: "logistics_decisions_strategy_id_fkey";
9470
- columns: ["strategy_id"];
9471
- isOneToOne: false;
9472
- referencedRelation: "logistics_strategies";
9473
- referencedColumns: ["id"];
9474
- }];
9738
+ Relationships: [];
9475
9739
  };
9476
- logistics_delay_alerts: {
9740
+ logistics_control_scan: {
9477
9741
  Row: {
9478
- approved_by: string | null;
9742
+ approved_at: string | null;
9743
+ attempts: number;
9744
+ barcode: string;
9745
+ cart_id: string;
9479
9746
  created_at: string;
9480
- current_status: string | null;
9481
- customer_name: string | null;
9482
- customer_notified: boolean;
9483
- customer_template: string | null;
9484
- email_enabled: boolean;
9485
- email_error: string | null;
9486
- email_recipients: string[];
9487
- email_sent_at: string | null;
9488
- email_status: string;
9489
- expected_delivery_date: string | null;
9490
- id: string;
9747
+ document_url: string | null;
9748
+ error: string | null;
9749
+ error_code: string | null;
9750
+ fulfillment_order_id: string | null;
9751
+ id: string;
9752
+ is_floriday: boolean;
9753
+ locked_until: string | null;
9754
+ order_id: string | null;
9755
+ order_number: string | null;
9756
+ print_job_id: string | null;
9757
+ printed_at: string | null;
9758
+ printer_id: string | null;
9759
+ scanner_id: string | null;
9760
+ status: string;
9761
+ updated_at: string;
9762
+ };
9763
+ Insert: {
9764
+ approved_at?: string | null;
9765
+ attempts?: number;
9766
+ barcode: string;
9767
+ cart_id: string;
9768
+ created_at?: string;
9769
+ document_url?: string | null;
9770
+ error?: string | null;
9771
+ error_code?: string | null;
9772
+ fulfillment_order_id?: string | null;
9773
+ id?: string;
9774
+ is_floriday?: boolean;
9775
+ locked_until?: string | null;
9776
+ order_id?: string | null;
9777
+ order_number?: string | null;
9778
+ print_job_id?: string | null;
9779
+ printed_at?: string | null;
9780
+ printer_id?: string | null;
9781
+ scanner_id?: string | null;
9782
+ status?: string;
9783
+ updated_at?: string;
9784
+ };
9785
+ Update: {
9786
+ approved_at?: string | null;
9787
+ attempts?: number;
9788
+ barcode?: string;
9789
+ cart_id?: string;
9790
+ created_at?: string;
9791
+ document_url?: string | null;
9792
+ error?: string | null;
9793
+ error_code?: string | null;
9794
+ fulfillment_order_id?: string | null;
9795
+ id?: string;
9796
+ is_floriday?: boolean;
9797
+ locked_until?: string | null;
9798
+ order_id?: string | null;
9799
+ order_number?: string | null;
9800
+ print_job_id?: string | null;
9801
+ printed_at?: string | null;
9802
+ printer_id?: string | null;
9803
+ scanner_id?: string | null;
9804
+ status?: string;
9805
+ updated_at?: string;
9806
+ };
9807
+ Relationships: [];
9808
+ };
9809
+ logistics_decisions: {
9810
+ Row: {
9811
+ created_at: string;
9812
+ explanation: string | null;
9813
+ id: string;
9814
+ input_snapshot: import("../integrations/supabase/types").Json;
9815
+ result: import("../integrations/supabase/types").Json;
9816
+ slot: string;
9817
+ strategy_id: string | null;
9818
+ subject_id: string;
9819
+ subject_type: string;
9820
+ user_id: string;
9821
+ };
9822
+ Insert: {
9823
+ created_at?: string;
9824
+ explanation?: string | null;
9825
+ id?: string;
9826
+ input_snapshot?: import("../integrations/supabase/types").Json;
9827
+ result?: import("../integrations/supabase/types").Json;
9828
+ slot: string;
9829
+ strategy_id?: string | null;
9830
+ subject_id: string;
9831
+ subject_type: string;
9832
+ user_id: string;
9833
+ };
9834
+ Update: {
9835
+ created_at?: string;
9836
+ explanation?: string | null;
9837
+ id?: string;
9838
+ input_snapshot?: import("../integrations/supabase/types").Json;
9839
+ result?: import("../integrations/supabase/types").Json;
9840
+ slot?: string;
9841
+ strategy_id?: string | null;
9842
+ subject_id?: string;
9843
+ subject_type?: string;
9844
+ user_id?: string;
9845
+ };
9846
+ Relationships: [{
9847
+ foreignKeyName: "logistics_decisions_strategy_id_fkey";
9848
+ columns: ["strategy_id"];
9849
+ isOneToOne: false;
9850
+ referencedRelation: "logistics_strategies";
9851
+ referencedColumns: ["id"];
9852
+ }];
9853
+ };
9854
+ logistics_delay_alerts: {
9855
+ Row: {
9856
+ approved_by: string | null;
9857
+ created_at: string;
9858
+ current_status: string | null;
9859
+ customer_name: string | null;
9860
+ customer_notified: boolean;
9861
+ customer_template: string | null;
9862
+ email_enabled: boolean;
9863
+ email_error: string | null;
9864
+ email_recipients: string[];
9865
+ email_sent_at: string | null;
9866
+ email_status: string;
9867
+ expected_delivery_date: string | null;
9868
+ id: string;
9491
9869
  load_carrier_id: string | null;
9492
9870
  notification_id: string | null;
9493
9871
  order_id: string | null;
@@ -9713,6 +10091,45 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9713
10091
  };
9714
10092
  Relationships: [];
9715
10093
  };
10094
+ logistics_floriday_carrier_map: {
10095
+ Row: {
10096
+ carrier_code: string;
10097
+ created_at: string;
10098
+ floriday_code: string;
10099
+ };
10100
+ Insert: {
10101
+ carrier_code: string;
10102
+ created_at?: string;
10103
+ floriday_code: string;
10104
+ };
10105
+ Update: {
10106
+ carrier_code?: string;
10107
+ created_at?: string;
10108
+ floriday_code?: string;
10109
+ };
10110
+ Relationships: [];
10111
+ };
10112
+ logistics_floriday_push_refusals: {
10113
+ Row: {
10114
+ created_at: string;
10115
+ id: string;
10116
+ order_ref: string;
10117
+ reason: string;
10118
+ };
10119
+ Insert: {
10120
+ created_at?: string;
10121
+ id?: string;
10122
+ order_ref: string;
10123
+ reason: string;
10124
+ };
10125
+ Update: {
10126
+ created_at?: string;
10127
+ id?: string;
10128
+ order_ref?: string;
10129
+ reason?: string;
10130
+ };
10131
+ Relationships: [];
10132
+ };
9716
10133
  logistics_floriday_pushes: {
9717
10134
  Row: {
9718
10135
  attempts: number;
@@ -9830,6 +10247,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9830
10247
  referencedColumns: ["id"];
9831
10248
  }];
9832
10249
  };
10250
+ logistics_layer_override_log: {
10251
+ Row: {
10252
+ cart_id: string;
10253
+ created_at: string;
10254
+ details: import("../integrations/supabase/types").Json;
10255
+ id: string;
10256
+ keg_id: string | null;
10257
+ product_id: string | null;
10258
+ reason: string;
10259
+ };
10260
+ Insert: {
10261
+ cart_id: string;
10262
+ created_at?: string;
10263
+ details?: import("../integrations/supabase/types").Json;
10264
+ id?: string;
10265
+ keg_id?: string | null;
10266
+ product_id?: string | null;
10267
+ reason: string;
10268
+ };
10269
+ Update: {
10270
+ cart_id?: string;
10271
+ created_at?: string;
10272
+ details?: import("../integrations/supabase/types").Json;
10273
+ id?: string;
10274
+ keg_id?: string | null;
10275
+ product_id?: string | null;
10276
+ reason?: string;
10277
+ };
10278
+ Relationships: [];
10279
+ };
9833
10280
  logistics_pickup_moments: {
9834
10281
  Row: {
9835
10282
  carrier_ref: string | null;
@@ -9876,6 +10323,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9876
10323
  next_attempt_at: string;
9877
10324
  order_id: string;
9878
10325
  reason: string;
10326
+ reason_code: string | null;
9879
10327
  status: string;
9880
10328
  updated_at: string;
9881
10329
  };
@@ -9888,6 +10336,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9888
10336
  next_attempt_at?: string;
9889
10337
  order_id: string;
9890
10338
  reason?: string;
10339
+ reason_code?: string | null;
9891
10340
  status?: string;
9892
10341
  updated_at?: string;
9893
10342
  };
@@ -9900,6 +10349,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
9900
10349
  next_attempt_at?: string;
9901
10350
  order_id?: string;
9902
10351
  reason?: string;
10352
+ reason_code?: string | null;
9903
10353
  status?: string;
9904
10354
  updated_at?: string;
9905
10355
  };
@@ -10256,6 +10706,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
10256
10706
  referencedColumns: ["id"];
10257
10707
  }];
10258
10708
  };
10709
+ logistics_shipping_note_scan: {
10710
+ Row: {
10711
+ barcode: string;
10712
+ cart_id: string;
10713
+ id: string;
10714
+ is_reprint: boolean;
10715
+ order_id: string | null;
10716
+ print_job_id: string | null;
10717
+ scanned_at: string;
10718
+ };
10719
+ Insert: {
10720
+ barcode: string;
10721
+ cart_id: string;
10722
+ id?: string;
10723
+ is_reprint?: boolean;
10724
+ order_id?: string | null;
10725
+ print_job_id?: string | null;
10726
+ scanned_at?: string;
10727
+ };
10728
+ Update: {
10729
+ barcode?: string;
10730
+ cart_id?: string;
10731
+ id?: string;
10732
+ is_reprint?: boolean;
10733
+ order_id?: string | null;
10734
+ print_job_id?: string | null;
10735
+ scanned_at?: string;
10736
+ };
10737
+ Relationships: [];
10738
+ };
10259
10739
  logistics_staff_planning: {
10260
10740
  Row: {
10261
10741
  created_at: string;
@@ -10574,6 +11054,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
10574
11054
  referencedColumns: ["id"];
10575
11055
  }];
10576
11056
  };
11057
+ logistics_tick_heartbeat: {
11058
+ Row: {
11059
+ id: boolean;
11060
+ last_tick_at: string;
11061
+ };
11062
+ Insert: {
11063
+ id?: boolean;
11064
+ last_tick_at?: string;
11065
+ };
11066
+ Update: {
11067
+ id?: boolean;
11068
+ last_tick_at?: string;
11069
+ };
11070
+ Relationships: [];
11071
+ };
10577
11072
  logistics_variables: {
10578
11073
  Row: {
10579
11074
  created_at: string;
@@ -11005,6 +11500,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
11005
11500
  updated_at?: string;
11006
11501
  };
11007
11502
  Relationships: [{
11503
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11504
+ columns: ["product_id"];
11505
+ isOneToOne: false;
11506
+ referencedRelation: "logistics_product_dimensions";
11507
+ referencedColumns: ["product_id"];
11508
+ }, {
11008
11509
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11009
11510
  columns: ["product_id"];
11010
11511
  isOneToOne: false;
@@ -12311,6 +12812,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12311
12812
  order_buffers: {
12312
12813
  Row: {
12313
12814
  buffer_key: string;
12815
+ close_at: string | null;
12816
+ closed_at: string | null;
12314
12817
  created_at: string;
12315
12818
  customer_id: string | null;
12316
12819
  grouping_mode: string;
@@ -12322,6 +12825,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12322
12825
  };
12323
12826
  Insert: {
12324
12827
  buffer_key: string;
12828
+ close_at?: string | null;
12829
+ closed_at?: string | null;
12325
12830
  created_at?: string;
12326
12831
  customer_id?: string | null;
12327
12832
  grouping_mode: string;
@@ -12333,6 +12838,8 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12333
12838
  };
12334
12839
  Update: {
12335
12840
  buffer_key?: string;
12841
+ close_at?: string | null;
12842
+ closed_at?: string | null;
12336
12843
  created_at?: string;
12337
12844
  customer_id?: string | null;
12338
12845
  grouping_mode?: string;
@@ -12349,10 +12856,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12349
12856
  boxes: number | null;
12350
12857
  cart_id: string;
12351
12858
  crates: number;
12859
+ crates_in_layer: number | null;
12352
12860
  crates_per_layer: number;
12353
12861
  created_at: string;
12354
12862
  id: string;
12355
12863
  layer_fraction: number;
12864
+ layer_index: number | null;
12356
12865
  layer_share_pct: number;
12357
12866
  layers_per_cart: number;
12358
12867
  order_item_id: string | null;
@@ -12365,10 +12874,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12365
12874
  boxes?: number | null;
12366
12875
  cart_id: string;
12367
12876
  crates: number;
12877
+ crates_in_layer?: number | null;
12368
12878
  crates_per_layer?: number;
12369
12879
  created_at?: string;
12370
12880
  id?: string;
12371
12881
  layer_fraction?: number;
12882
+ layer_index?: number | null;
12372
12883
  layer_share_pct?: number;
12373
12884
  layers_per_cart?: number;
12374
12885
  order_item_id?: string | null;
@@ -12381,10 +12892,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12381
12892
  boxes?: number | null;
12382
12893
  cart_id?: string;
12383
12894
  crates?: number;
12895
+ crates_in_layer?: number | null;
12384
12896
  crates_per_layer?: number;
12385
12897
  created_at?: string;
12386
12898
  id?: string;
12387
12899
  layer_fraction?: number;
12900
+ layer_index?: number | null;
12388
12901
  layer_share_pct?: number;
12389
12902
  layers_per_cart?: number;
12390
12903
  order_item_id?: string | null;
@@ -12405,6 +12918,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12405
12918
  isOneToOne: false;
12406
12919
  referencedRelation: "order_items";
12407
12920
  referencedColumns: ["id"];
12921
+ }, {
12922
+ foreignKeyName: "order_cart_items_product_id_fkey";
12923
+ columns: ["product_id"];
12924
+ isOneToOne: false;
12925
+ referencedRelation: "logistics_product_dimensions";
12926
+ referencedColumns: ["product_id"];
12408
12927
  }, {
12409
12928
  foreignKeyName: "order_cart_items_product_id_fkey";
12410
12929
  columns: ["product_id"];
@@ -12413,51 +12932,142 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12413
12932
  referencedColumns: ["id"];
12414
12933
  }];
12415
12934
  };
12416
- order_carts: {
12935
+ order_cart_layer_positions: {
12417
12936
  Row: {
12418
- algorithm_version: number;
12419
- buffer_id: string | null;
12420
- carrier_type: string;
12421
- carrier_type_id: string | null;
12422
- cart_number: number;
12937
+ algorithm_version: number | null;
12938
+ cart_id: string;
12423
12939
  created_at: string;
12940
+ height: number;
12424
12941
  id: string;
12425
- is_auto: boolean;
12426
- is_complete: boolean;
12427
- max_layers: number | null;
12428
- moved_at: string | null;
12429
- moved_from_moment_id: string | null;
12430
- moved_reason: string | null;
12431
- notes: string | null;
12432
- occupancy_pct: number;
12433
- order_id: string | null;
12434
- pickup_locked: boolean;
12435
- pickup_moment_id: string | null;
12436
- source: string;
12437
- total_layers_used: number;
12942
+ keg_id: string;
12943
+ label: string | null;
12944
+ layer: number;
12945
+ layer_height: number | null;
12946
+ layer_width: number | null;
12947
+ manual_overridden_at: string | null;
12948
+ manual_overridden_by: string | null;
12949
+ manual_override: boolean;
12950
+ order_item_id: string | null;
12951
+ original_layer: number | null;
12952
+ original_x: number | null;
12953
+ original_y: number | null;
12954
+ product_id: string | null;
12955
+ rotation: number;
12956
+ source: string | null;
12438
12957
  updated_at: string;
12439
- weight_kg: number | null;
12958
+ width: number;
12959
+ x: number;
12960
+ y: number;
12440
12961
  };
12441
12962
  Insert: {
12442
- algorithm_version?: number;
12443
- buffer_id?: string | null;
12444
- carrier_type?: string;
12445
- carrier_type_id?: string | null;
12446
- cart_number: number;
12963
+ algorithm_version?: number | null;
12964
+ cart_id: string;
12447
12965
  created_at?: string;
12966
+ height: number;
12448
12967
  id?: string;
12449
- is_auto?: boolean;
12450
- is_complete?: boolean;
12451
- max_layers?: number | null;
12452
- moved_at?: string | null;
12453
- moved_from_moment_id?: string | null;
12454
- moved_reason?: string | null;
12455
- notes?: string | null;
12456
- occupancy_pct?: number;
12968
+ keg_id: string;
12969
+ label?: string | null;
12970
+ layer: number;
12971
+ layer_height?: number | null;
12972
+ layer_width?: number | null;
12973
+ manual_overridden_at?: string | null;
12974
+ manual_overridden_by?: string | null;
12975
+ manual_override?: boolean;
12976
+ order_item_id?: string | null;
12977
+ original_layer?: number | null;
12978
+ original_x?: number | null;
12979
+ original_y?: number | null;
12980
+ product_id?: string | null;
12981
+ rotation?: number;
12982
+ source?: string | null;
12983
+ updated_at?: string;
12984
+ width: number;
12985
+ x: number;
12986
+ y: number;
12987
+ };
12988
+ Update: {
12989
+ algorithm_version?: number | null;
12990
+ cart_id?: string;
12991
+ created_at?: string;
12992
+ height?: number;
12993
+ id?: string;
12994
+ keg_id?: string;
12995
+ label?: string | null;
12996
+ layer?: number;
12997
+ layer_height?: number | null;
12998
+ layer_width?: number | null;
12999
+ manual_overridden_at?: string | null;
13000
+ manual_overridden_by?: string | null;
13001
+ manual_override?: boolean;
13002
+ order_item_id?: string | null;
13003
+ original_layer?: number | null;
13004
+ original_x?: number | null;
13005
+ original_y?: number | null;
13006
+ product_id?: string | null;
13007
+ rotation?: number;
13008
+ source?: string | null;
13009
+ updated_at?: string;
13010
+ width?: number;
13011
+ x?: number;
13012
+ y?: number;
13013
+ };
13014
+ Relationships: [{
13015
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
13016
+ columns: ["cart_id"];
13017
+ isOneToOne: false;
13018
+ referencedRelation: "order_carts";
13019
+ referencedColumns: ["id"];
13020
+ }];
13021
+ };
13022
+ order_carts: {
13023
+ Row: {
13024
+ algorithm_version: number;
13025
+ buffer_id: string | null;
13026
+ carrier_type: string;
13027
+ carrier_type_id: string | null;
13028
+ cart_number: number;
13029
+ created_at: string;
13030
+ id: string;
13031
+ is_auto: boolean;
13032
+ is_complete: boolean;
13033
+ layout_method: string | null;
13034
+ max_layers: number | null;
13035
+ moved_at: string | null;
13036
+ moved_from_moment_id: string | null;
13037
+ moved_reason: string | null;
13038
+ notes: string | null;
13039
+ occupancy_pct: number;
13040
+ order_id: string | null;
13041
+ pickup_locked: boolean;
13042
+ pickup_moment_id: string | null;
13043
+ source: string;
13044
+ total_carts: number | null;
13045
+ total_layers_used: number;
13046
+ updated_at: string;
13047
+ weight_kg: number | null;
13048
+ };
13049
+ Insert: {
13050
+ algorithm_version?: number;
13051
+ buffer_id?: string | null;
13052
+ carrier_type?: string;
13053
+ carrier_type_id?: string | null;
13054
+ cart_number: number;
13055
+ created_at?: string;
13056
+ id?: string;
13057
+ is_auto?: boolean;
13058
+ is_complete?: boolean;
13059
+ layout_method?: string | null;
13060
+ max_layers?: number | null;
13061
+ moved_at?: string | null;
13062
+ moved_from_moment_id?: string | null;
13063
+ moved_reason?: string | null;
13064
+ notes?: string | null;
13065
+ occupancy_pct?: number;
12457
13066
  order_id?: string | null;
12458
13067
  pickup_locked?: boolean;
12459
13068
  pickup_moment_id?: string | null;
12460
13069
  source?: string;
13070
+ total_carts?: number | null;
12461
13071
  total_layers_used?: number;
12462
13072
  updated_at?: string;
12463
13073
  weight_kg?: number | null;
@@ -12472,6 +13082,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12472
13082
  id?: string;
12473
13083
  is_auto?: boolean;
12474
13084
  is_complete?: boolean;
13085
+ layout_method?: string | null;
12475
13086
  max_layers?: number | null;
12476
13087
  moved_at?: string | null;
12477
13088
  moved_from_moment_id?: string | null;
@@ -12482,6 +13093,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12482
13093
  pickup_locked?: boolean;
12483
13094
  pickup_moment_id?: string | null;
12484
13095
  source?: string;
13096
+ total_carts?: number | null;
12485
13097
  total_layers_used?: number;
12486
13098
  updated_at?: string;
12487
13099
  weight_kg?: number | null;
@@ -12584,6 +13196,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12584
13196
  };
12585
13197
  Relationships: [];
12586
13198
  };
13199
+ order_fust_bookings: {
13200
+ Row: {
13201
+ created_at: string;
13202
+ fust_type_id: string;
13203
+ id: string;
13204
+ order_item_id: string;
13205
+ quantity: number;
13206
+ updated_at: string;
13207
+ };
13208
+ Insert: {
13209
+ created_at?: string;
13210
+ fust_type_id: string;
13211
+ id?: string;
13212
+ order_item_id: string;
13213
+ quantity?: number;
13214
+ updated_at?: string;
13215
+ };
13216
+ Update: {
13217
+ created_at?: string;
13218
+ fust_type_id?: string;
13219
+ id?: string;
13220
+ order_item_id?: string;
13221
+ quantity?: number;
13222
+ updated_at?: string;
13223
+ };
13224
+ Relationships: [{
13225
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13226
+ columns: ["fust_type_id"];
13227
+ isOneToOne: false;
13228
+ referencedRelation: "fust_types";
13229
+ referencedColumns: ["id"];
13230
+ }];
13231
+ };
12587
13232
  order_invoice_links: {
12588
13233
  Row: {
12589
13234
  administration_code: string | null;
@@ -12672,6 +13317,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12672
13317
  isOneToOne: false;
12673
13318
  referencedRelation: "orders";
12674
13319
  referencedColumns: ["id"];
13320
+ }, {
13321
+ foreignKeyName: "order_items_product_id_fkey";
13322
+ columns: ["product_id"];
13323
+ isOneToOne: false;
13324
+ referencedRelation: "logistics_product_dimensions";
13325
+ referencedColumns: ["product_id"];
12675
13326
  }, {
12676
13327
  foreignKeyName: "order_items_product_id_fkey";
12677
13328
  columns: ["product_id"];
@@ -12819,6 +13470,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12819
13470
  plan_locked_at: string | null;
12820
13471
  plan_locked_ref: string | null;
12821
13472
  status: string;
13473
+ status_changed_at: string;
13474
+ status_origin: string;
13475
+ status_sync_token: string | null;
12822
13476
  total: string;
12823
13477
  updated_at: string;
12824
13478
  };
@@ -12843,6 +13497,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12843
13497
  plan_locked_at?: string | null;
12844
13498
  plan_locked_ref?: string | null;
12845
13499
  status?: string;
13500
+ status_changed_at?: string;
13501
+ status_origin?: string;
13502
+ status_sync_token?: string | null;
12846
13503
  total?: string;
12847
13504
  updated_at?: string;
12848
13505
  };
@@ -12867,6 +13524,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12867
13524
  plan_locked_at?: string | null;
12868
13525
  plan_locked_ref?: string | null;
12869
13526
  status?: string;
13527
+ status_changed_at?: string;
13528
+ status_origin?: string;
13529
+ status_sync_token?: string | null;
12870
13530
  total?: string;
12871
13531
  updated_at?: string;
12872
13532
  };
@@ -12920,6 +13580,153 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
12920
13580
  };
12921
13581
  Relationships: [];
12922
13582
  };
13583
+ pakbon_barcode_inhoud: {
13584
+ Row: {
13585
+ barcode: string;
13586
+ cart_id: string | null;
13587
+ cart_index: number | null;
13588
+ cart_label: string | null;
13589
+ cart_total: number | null;
13590
+ created_at: string;
13591
+ is_herprint: boolean;
13592
+ klant_naam: string | null;
13593
+ klant_nummer: string | null;
13594
+ layout_id: string | null;
13595
+ layout_variant: string | null;
13596
+ order_nummer: string | null;
13597
+ order_ref: string | null;
13598
+ print_job_id: string | null;
13599
+ regels: import("../integrations/supabase/types").Json;
13600
+ updated_at: string;
13601
+ };
13602
+ Insert: {
13603
+ barcode: string;
13604
+ cart_id?: string | null;
13605
+ cart_index?: number | null;
13606
+ cart_label?: string | null;
13607
+ cart_total?: number | null;
13608
+ created_at?: string;
13609
+ is_herprint?: boolean;
13610
+ klant_naam?: string | null;
13611
+ klant_nummer?: string | null;
13612
+ layout_id?: string | null;
13613
+ layout_variant?: string | null;
13614
+ order_nummer?: string | null;
13615
+ order_ref?: string | null;
13616
+ print_job_id?: string | null;
13617
+ regels?: import("../integrations/supabase/types").Json;
13618
+ updated_at?: string;
13619
+ };
13620
+ Update: {
13621
+ barcode?: string;
13622
+ cart_id?: string | null;
13623
+ cart_index?: number | null;
13624
+ cart_label?: string | null;
13625
+ cart_total?: number | null;
13626
+ created_at?: string;
13627
+ is_herprint?: boolean;
13628
+ klant_naam?: string | null;
13629
+ klant_nummer?: string | null;
13630
+ layout_id?: string | null;
13631
+ layout_variant?: string | null;
13632
+ order_nummer?: string | null;
13633
+ order_ref?: string | null;
13634
+ print_job_id?: string | null;
13635
+ regels?: import("../integrations/supabase/types").Json;
13636
+ updated_at?: string;
13637
+ };
13638
+ Relationships: [];
13639
+ };
13640
+ pakbon_barcode_verzoeken: {
13641
+ Row: {
13642
+ aangevraagd_op: string;
13643
+ barcode: string | null;
13644
+ cart_id: string | null;
13645
+ cart_index: number | null;
13646
+ cart_label: string | null;
13647
+ cart_total: number | null;
13648
+ documentnaam: string | null;
13649
+ geleverd_op: string | null;
13650
+ id: string;
13651
+ is_herprint: boolean;
13652
+ klant_naam: string | null;
13653
+ klant_nummer: string | null;
13654
+ laatst_gevraagd_op: string;
13655
+ layout_id: string | null;
13656
+ layout_variant: string | null;
13657
+ order_nummer: string | null;
13658
+ order_ref: string | null;
13659
+ print_job_id: string;
13660
+ status: string;
13661
+ updated_at: string;
13662
+ };
13663
+ Insert: {
13664
+ aangevraagd_op?: string;
13665
+ barcode?: string | null;
13666
+ cart_id?: string | null;
13667
+ cart_index?: number | null;
13668
+ cart_label?: string | null;
13669
+ cart_total?: number | null;
13670
+ documentnaam?: string | null;
13671
+ geleverd_op?: string | null;
13672
+ id?: string;
13673
+ is_herprint?: boolean;
13674
+ klant_naam?: string | null;
13675
+ klant_nummer?: string | null;
13676
+ laatst_gevraagd_op?: string;
13677
+ layout_id?: string | null;
13678
+ layout_variant?: string | null;
13679
+ order_nummer?: string | null;
13680
+ order_ref?: string | null;
13681
+ print_job_id: string;
13682
+ status?: string;
13683
+ updated_at?: string;
13684
+ };
13685
+ Update: {
13686
+ aangevraagd_op?: string;
13687
+ barcode?: string | null;
13688
+ cart_id?: string | null;
13689
+ cart_index?: number | null;
13690
+ cart_label?: string | null;
13691
+ cart_total?: number | null;
13692
+ documentnaam?: string | null;
13693
+ geleverd_op?: string | null;
13694
+ id?: string;
13695
+ is_herprint?: boolean;
13696
+ klant_naam?: string | null;
13697
+ klant_nummer?: string | null;
13698
+ laatst_gevraagd_op?: string;
13699
+ layout_id?: string | null;
13700
+ layout_variant?: string | null;
13701
+ order_nummer?: string | null;
13702
+ order_ref?: string | null;
13703
+ print_job_id?: string;
13704
+ status?: string;
13705
+ updated_at?: string;
13706
+ };
13707
+ Relationships: [];
13708
+ };
13709
+ pick_buffer_event_cursor: {
13710
+ Row: {
13711
+ created_at: string;
13712
+ id: boolean;
13713
+ last_event_at: string;
13714
+ updated_at: string;
13715
+ };
13716
+ Insert: {
13717
+ created_at?: string;
13718
+ id?: boolean;
13719
+ last_event_at?: string;
13720
+ updated_at?: string;
13721
+ };
13722
+ Update: {
13723
+ created_at?: string;
13724
+ id?: boolean;
13725
+ last_event_at?: string;
13726
+ updated_at?: string;
13727
+ };
13728
+ Relationships: [];
13729
+ };
12923
13730
  pick_countries: {
12924
13731
  Row: {
12925
13732
  active: boolean;
@@ -13077,6 +13884,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13077
13884
  print_job_id: string | null;
13078
13885
  printed_at: string | null;
13079
13886
  printed_by: string | null;
13887
+ printed_cart_ids: import("../integrations/supabase/types").Json;
13080
13888
  printer_id: string | null;
13081
13889
  priority: number;
13082
13890
  reference: string | null;
@@ -13111,6 +13919,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13111
13919
  print_job_id?: string | null;
13112
13920
  printed_at?: string | null;
13113
13921
  printed_by?: string | null;
13922
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
13114
13923
  printer_id?: string | null;
13115
13924
  priority?: number;
13116
13925
  reference?: string | null;
@@ -13145,6 +13954,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13145
13954
  print_job_id?: string | null;
13146
13955
  printed_at?: string | null;
13147
13956
  printed_by?: string | null;
13957
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
13148
13958
  printer_id?: string | null;
13149
13959
  priority?: number;
13150
13960
  reference?: string | null;
@@ -13995,6 +14805,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
13995
14805
  isOneToOne: false;
13996
14806
  referencedRelation: "werkbonnen";
13997
14807
  referencedColumns: ["id"];
14808
+ }, {
14809
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14810
+ columns: ["werkbon_id"];
14811
+ isOneToOne: false;
14812
+ referencedRelation: "wo_overview";
14813
+ referencedColumns: ["id"];
13998
14814
  }];
13999
14815
  };
14000
14816
  print_agents: {
@@ -14110,12 +14926,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14110
14926
  };
14111
14927
  print_jobs: {
14112
14928
  Row: {
14929
+ aflever_pogingen: number;
14113
14930
  agent_id: string | null;
14931
+ artefact_bytes: number | null;
14932
+ artefact_gereed_op: string | null;
14933
+ artefact_pad: string | null;
14934
+ artefact_sha256: string | null;
14935
+ batch_id: string | null;
14114
14936
  bron_job_id: string | null;
14115
14937
  created_at: string;
14116
14938
  documentnaam: string;
14117
14939
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14118
14940
  extern_job_id: string | null;
14941
+ fase_gestart_op: string | null;
14942
+ fase_voltooid_op: string | null;
14943
+ foutcode: string | null;
14119
14944
  foutmelding: string | null;
14120
14945
  gebruiker_id: string | null;
14121
14946
  gebruiker_naam: string;
@@ -14129,7 +14954,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14129
14954
  kopieen: number;
14130
14955
  layout_id: string | null;
14131
14956
  lokaal_opgeslagen_op: string | null;
14957
+ lokale_pdf_claim_id: string | null;
14958
+ lokale_pdf_claim_tot: string | null;
14132
14959
  lokale_pdf_fout: string | null;
14960
+ lokale_pdf_print_plek_id: string | null;
14133
14961
  lokale_pdf_status: string | null;
14134
14962
  opgepakt_op: string | null;
14135
14963
  paginas: number;
@@ -14142,16 +14970,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14142
14970
  resultaat_pdf_base64: string | null;
14143
14971
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14144
14972
  updated_at: string;
14973
+ verwerkingsfase: string;
14145
14974
  volgende_poging: string | null;
14146
14975
  voltooid_op: string | null;
14147
14976
  };
14148
14977
  Insert: {
14978
+ aflever_pogingen?: number;
14149
14979
  agent_id?: string | null;
14980
+ artefact_bytes?: number | null;
14981
+ artefact_gereed_op?: string | null;
14982
+ artefact_pad?: string | null;
14983
+ artefact_sha256?: string | null;
14984
+ batch_id?: string | null;
14150
14985
  bron_job_id?: string | null;
14151
14986
  created_at?: string;
14152
14987
  documentnaam?: string;
14153
14988
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14154
14989
  extern_job_id?: string | null;
14990
+ fase_gestart_op?: string | null;
14991
+ fase_voltooid_op?: string | null;
14992
+ foutcode?: string | null;
14155
14993
  foutmelding?: string | null;
14156
14994
  gebruiker_id?: string | null;
14157
14995
  gebruiker_naam?: string;
@@ -14165,7 +15003,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14165
15003
  kopieen?: number;
14166
15004
  layout_id?: string | null;
14167
15005
  lokaal_opgeslagen_op?: string | null;
15006
+ lokale_pdf_claim_id?: string | null;
15007
+ lokale_pdf_claim_tot?: string | null;
14168
15008
  lokale_pdf_fout?: string | null;
15009
+ lokale_pdf_print_plek_id?: string | null;
14169
15010
  lokale_pdf_status?: string | null;
14170
15011
  opgepakt_op?: string | null;
14171
15012
  paginas?: number;
@@ -14178,16 +15019,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14178
15019
  resultaat_pdf_base64?: string | null;
14179
15020
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14180
15021
  updated_at?: string;
15022
+ verwerkingsfase?: string;
14181
15023
  volgende_poging?: string | null;
14182
15024
  voltooid_op?: string | null;
14183
15025
  };
14184
15026
  Update: {
15027
+ aflever_pogingen?: number;
14185
15028
  agent_id?: string | null;
15029
+ artefact_bytes?: number | null;
15030
+ artefact_gereed_op?: string | null;
15031
+ artefact_pad?: string | null;
15032
+ artefact_sha256?: string | null;
15033
+ batch_id?: string | null;
14186
15034
  bron_job_id?: string | null;
14187
15035
  created_at?: string;
14188
15036
  documentnaam?: string;
14189
15037
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14190
15038
  extern_job_id?: string | null;
15039
+ fase_gestart_op?: string | null;
15040
+ fase_voltooid_op?: string | null;
15041
+ foutcode?: string | null;
14191
15042
  foutmelding?: string | null;
14192
15043
  gebruiker_id?: string | null;
14193
15044
  gebruiker_naam?: string;
@@ -14201,7 +15052,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14201
15052
  kopieen?: number;
14202
15053
  layout_id?: string | null;
14203
15054
  lokaal_opgeslagen_op?: string | null;
15055
+ lokale_pdf_claim_id?: string | null;
15056
+ lokale_pdf_claim_tot?: string | null;
14204
15057
  lokale_pdf_fout?: string | null;
15058
+ lokale_pdf_print_plek_id?: string | null;
14205
15059
  lokale_pdf_status?: string | null;
14206
15060
  opgepakt_op?: string | null;
14207
15061
  paginas?: number;
@@ -14214,6 +15068,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14214
15068
  resultaat_pdf_base64?: string | null;
14215
15069
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14216
15070
  updated_at?: string;
15071
+ verwerkingsfase?: string;
14217
15072
  volgende_poging?: string | null;
14218
15073
  voltooid_op?: string | null;
14219
15074
  };
@@ -14229,6 +15084,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14229
15084
  isOneToOne: false;
14230
15085
  referencedRelation: "document_layouts";
14231
15086
  referencedColumns: ["id"];
15087
+ }, {
15088
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
15089
+ columns: ["lokale_pdf_print_plek_id"];
15090
+ isOneToOne: false;
15091
+ referencedRelation: "print_plekken";
15092
+ referencedColumns: ["id"];
14232
15093
  }, {
14233
15094
  foreignKeyName: "print_jobs_printer_id_fkey";
14234
15095
  columns: ["printer_id"];
@@ -14363,6 +15224,30 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14363
15224
  };
14364
15225
  Relationships: [];
14365
15226
  };
15227
+ print_queue_leases: {
15228
+ Row: {
15229
+ created_at: string;
15230
+ houder: string;
15231
+ naam: string;
15232
+ updated_at: string;
15233
+ verloopt_op: string;
15234
+ };
15235
+ Insert: {
15236
+ created_at?: string;
15237
+ houder: string;
15238
+ naam: string;
15239
+ updated_at?: string;
15240
+ verloopt_op: string;
15241
+ };
15242
+ Update: {
15243
+ created_at?: string;
15244
+ houder?: string;
15245
+ naam?: string;
15246
+ updated_at?: string;
15247
+ verloopt_op?: string;
15248
+ };
15249
+ Relationships: [];
15250
+ };
14366
15251
  print_queue_runners: {
14367
15252
  Row: {
14368
15253
  actief: boolean;
@@ -14372,7 +15257,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14372
15257
  laatst_gezien: string;
14373
15258
  laatste_fout: string | null;
14374
15259
  laatste_request_id: number | null;
15260
+ laatste_wakeup: string | null;
14375
15261
  mislukte_posts: number;
15262
+ mislukte_wakeups: number;
14376
15263
  tick_sleutel: string;
14377
15264
  updated_at: string;
14378
15265
  };
@@ -14384,7 +15271,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14384
15271
  laatst_gezien?: string;
14385
15272
  laatste_fout?: string | null;
14386
15273
  laatste_request_id?: number | null;
15274
+ laatste_wakeup?: string | null;
14387
15275
  mislukte_posts?: number;
15276
+ mislukte_wakeups?: number;
14388
15277
  tick_sleutel?: string;
14389
15278
  updated_at?: string;
14390
15279
  };
@@ -14396,7 +15285,9 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14396
15285
  laatst_gezien?: string;
14397
15286
  laatste_fout?: string | null;
14398
15287
  laatste_request_id?: number | null;
15288
+ laatste_wakeup?: string | null;
14399
15289
  mislukte_posts?: number;
15290
+ mislukte_wakeups?: number;
14400
15291
  tick_sleutel?: string;
14401
15292
  updated_at?: string;
14402
15293
  };
@@ -14710,6 +15601,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14710
15601
  updated_at?: string;
14711
15602
  };
14712
15603
  Relationships: [{
15604
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15605
+ columns: ["parent_product_id"];
15606
+ isOneToOne: false;
15607
+ referencedRelation: "logistics_product_dimensions";
15608
+ referencedColumns: ["product_id"];
15609
+ }, {
14713
15610
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14714
15611
  columns: ["parent_product_id"];
14715
15612
  isOneToOne: false;
@@ -14764,11 +15661,23 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14764
15661
  updated_at?: string;
14765
15662
  };
14766
15663
  Relationships: [{
15664
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15665
+ columns: ["component_product_id"];
15666
+ isOneToOne: false;
15667
+ referencedRelation: "logistics_product_dimensions";
15668
+ referencedColumns: ["product_id"];
15669
+ }, {
14767
15670
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14768
15671
  columns: ["component_product_id"];
14769
15672
  isOneToOne: false;
14770
15673
  referencedRelation: "products";
14771
15674
  referencedColumns: ["id"];
15675
+ }, {
15676
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15677
+ columns: ["parent_product_id"];
15678
+ isOneToOne: false;
15679
+ referencedRelation: "logistics_product_dimensions";
15680
+ referencedColumns: ["product_id"];
14772
15681
  }, {
14773
15682
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14774
15683
  columns: ["parent_product_id"];
@@ -14944,6 +15853,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
14944
15853
  updated_at?: string;
14945
15854
  };
14946
15855
  Relationships: [{
15856
+ foreignKeyName: "product_groups_head_product_id_fkey";
15857
+ columns: ["head_product_id"];
15858
+ isOneToOne: false;
15859
+ referencedRelation: "logistics_product_dimensions";
15860
+ referencedColumns: ["product_id"];
15861
+ }, {
14947
15862
  foreignKeyName: "product_groups_head_product_id_fkey";
14948
15863
  columns: ["head_product_id"];
14949
15864
  isOneToOne: false;
@@ -15009,6 +15924,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15009
15924
  isOneToOne: false;
15010
15925
  referencedRelation: "packages";
15011
15926
  referencedColumns: ["id"];
15927
+ }, {
15928
+ foreignKeyName: "product_load_settings_product_id_fkey";
15929
+ columns: ["product_id"];
15930
+ isOneToOne: false;
15931
+ referencedRelation: "logistics_product_dimensions";
15932
+ referencedColumns: ["product_id"];
15012
15933
  }, {
15013
15934
  foreignKeyName: "product_load_settings_product_id_fkey";
15014
15935
  columns: ["product_id"];
@@ -15059,6 +15980,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15059
15980
  created_at: string;
15060
15981
  custom_fields: import("../integrations/supabase/types").Json;
15061
15982
  floriday_trade_item_id: string | null;
15983
+ fust_type_id: string | null;
15062
15984
  id: string;
15063
15985
  image_url: string | null;
15064
15986
  incoming_quantity: number;
@@ -15066,6 +15988,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15066
15988
  layers_per_cart: number;
15067
15989
  location: string;
15068
15990
  min_quantity: number;
15991
+ plant_height_cm: number | null;
15069
15992
  plants_per_crate: number;
15070
15993
  product: string;
15071
15994
  product_type: string;
@@ -15085,6 +16008,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15085
16008
  created_at?: string;
15086
16009
  custom_fields?: import("../integrations/supabase/types").Json;
15087
16010
  floriday_trade_item_id?: string | null;
16011
+ fust_type_id?: string | null;
15088
16012
  id?: string;
15089
16013
  image_url?: string | null;
15090
16014
  incoming_quantity?: number;
@@ -15092,6 +16016,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15092
16016
  layers_per_cart?: number;
15093
16017
  location: string;
15094
16018
  min_quantity?: number;
16019
+ plant_height_cm?: number | null;
15095
16020
  plants_per_crate?: number;
15096
16021
  product: string;
15097
16022
  product_type?: string;
@@ -15111,6 +16036,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15111
16036
  created_at?: string;
15112
16037
  custom_fields?: import("../integrations/supabase/types").Json;
15113
16038
  floriday_trade_item_id?: string | null;
16039
+ fust_type_id?: string | null;
15114
16040
  id?: string;
15115
16041
  image_url?: string | null;
15116
16042
  incoming_quantity?: number;
@@ -15118,6 +16044,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15118
16044
  layers_per_cart?: number;
15119
16045
  location?: string;
15120
16046
  min_quantity?: number;
16047
+ plant_height_cm?: number | null;
15121
16048
  plants_per_crate?: number;
15122
16049
  product?: string;
15123
16050
  product_type?: string;
@@ -15129,7 +16056,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15129
16056
  updated_at?: string;
15130
16057
  weight?: string | null;
15131
16058
  };
15132
- Relationships: [];
16059
+ Relationships: [{
16060
+ foreignKeyName: "products_fust_type_id_fkey";
16061
+ columns: ["fust_type_id"];
16062
+ isOneToOne: false;
16063
+ referencedRelation: "fust_types";
16064
+ referencedColumns: ["id"];
16065
+ }];
15133
16066
  };
15134
16067
  profile_modules: {
15135
16068
  Row: {
@@ -15463,6 +16396,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15463
16396
  quantity?: number;
15464
16397
  };
15465
16398
  Relationships: [{
16399
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16400
+ columns: ["product_id"];
16401
+ isOneToOne: false;
16402
+ referencedRelation: "logistics_product_dimensions";
16403
+ referencedColumns: ["product_id"];
16404
+ }, {
15466
16405
  foreignKeyName: "purchase_order_items_product_id_fkey";
15467
16406
  columns: ["product_id"];
15468
16407
  isOneToOne: false;
@@ -15782,26 +16721,122 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15782
16721
  referencedColumns: ["id"];
15783
16722
  }];
15784
16723
  };
15785
- scan_karren: {
16724
+ scan_kar_sessie_regels: {
15786
16725
  Row: {
15787
- afgerond_op: string | null;
15788
- buffer_key: string | null;
16726
+ barcode: string;
16727
+ cart_id: string | null;
15789
16728
  created_at: string;
15790
- customer_names: string[];
15791
- device_id: string | null;
15792
- geprint: boolean;
15793
- geprint_op: string | null;
15794
16729
  id: string;
15795
- kar_nummer: string;
15796
- medewerker_id: string | null;
15797
- medewerker_naam: string | null;
15798
- naar_pickstation: boolean;
15799
- naar_pickstation_op: string | null;
16730
+ order_id: string | null;
15800
16731
  order_number: string | null;
15801
- scanner_id: string | null;
15802
- scanner_key: string;
15803
- status: string;
15804
- totaal_producten: number;
16732
+ regels: import("../integrations/supabase/types").Json;
16733
+ sessie_id: string;
16734
+ volledig: boolean;
16735
+ };
16736
+ Insert: {
16737
+ barcode: string;
16738
+ cart_id?: string | null;
16739
+ created_at?: string;
16740
+ id?: string;
16741
+ order_id?: string | null;
16742
+ order_number?: string | null;
16743
+ regels?: import("../integrations/supabase/types").Json;
16744
+ sessie_id: string;
16745
+ volledig?: boolean;
16746
+ };
16747
+ Update: {
16748
+ barcode?: string;
16749
+ cart_id?: string | null;
16750
+ created_at?: string;
16751
+ id?: string;
16752
+ order_id?: string | null;
16753
+ order_number?: string | null;
16754
+ regels?: import("../integrations/supabase/types").Json;
16755
+ sessie_id?: string;
16756
+ volledig?: boolean;
16757
+ };
16758
+ Relationships: [{
16759
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16760
+ columns: ["sessie_id"];
16761
+ isOneToOne: false;
16762
+ referencedRelation: "scan_kar_sessies";
16763
+ referencedColumns: ["id"];
16764
+ }];
16765
+ };
16766
+ scan_kar_sessies: {
16767
+ Row: {
16768
+ afgerond_op: string | null;
16769
+ cart_id: string | null;
16770
+ cart_index: number | null;
16771
+ cart_total: number | null;
16772
+ created_at: string;
16773
+ id: string;
16774
+ klant_naam: string | null;
16775
+ medewerker_naam: string | null;
16776
+ order_id: string | null;
16777
+ order_number: string | null;
16778
+ scanner_id: string | null;
16779
+ status: string;
16780
+ updated_at: string;
16781
+ };
16782
+ Insert: {
16783
+ afgerond_op?: string | null;
16784
+ cart_id?: string | null;
16785
+ cart_index?: number | null;
16786
+ cart_total?: number | null;
16787
+ created_at?: string;
16788
+ id?: string;
16789
+ klant_naam?: string | null;
16790
+ medewerker_naam?: string | null;
16791
+ order_id?: string | null;
16792
+ order_number?: string | null;
16793
+ scanner_id?: string | null;
16794
+ status?: string;
16795
+ updated_at?: string;
16796
+ };
16797
+ Update: {
16798
+ afgerond_op?: string | null;
16799
+ cart_id?: string | null;
16800
+ cart_index?: number | null;
16801
+ cart_total?: number | null;
16802
+ created_at?: string;
16803
+ id?: string;
16804
+ klant_naam?: string | null;
16805
+ medewerker_naam?: string | null;
16806
+ order_id?: string | null;
16807
+ order_number?: string | null;
16808
+ scanner_id?: string | null;
16809
+ status?: string;
16810
+ updated_at?: string;
16811
+ };
16812
+ Relationships: [{
16813
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16814
+ columns: ["scanner_id"];
16815
+ isOneToOne: false;
16816
+ referencedRelation: "scan_scanners";
16817
+ referencedColumns: ["id"];
16818
+ }];
16819
+ };
16820
+ scan_karren: {
16821
+ Row: {
16822
+ afgerond_op: string | null;
16823
+ buffer_key: string | null;
16824
+ created_at: string;
16825
+ customer_names: string[];
16826
+ device_id: string | null;
16827
+ geprint: boolean;
16828
+ geprint_op: string | null;
16829
+ id: string;
16830
+ kar_nummer: string;
16831
+ medewerker_id: string | null;
16832
+ medewerker_naam: string | null;
16833
+ naar_pickstation: boolean;
16834
+ naar_pickstation_op: string | null;
16835
+ order_number: string | null;
16836
+ scanner_id: string | null;
16837
+ scanner_key: string;
16838
+ status: string;
16839
+ totaal_producten: number;
15805
16840
  updated_at: string;
15806
16841
  };
15807
16842
  Insert: {
@@ -15986,6 +17021,60 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15986
17021
  };
15987
17022
  Relationships: [];
15988
17023
  };
17024
+ scan_restpakbonnen: {
17025
+ Row: {
17026
+ barcode: string;
17027
+ bron_barcode: string | null;
17028
+ cart_id: string | null;
17029
+ cart_index: number | null;
17030
+ cart_total: number | null;
17031
+ created_at: string;
17032
+ geprint_op: string | null;
17033
+ id: string;
17034
+ klant_naam: string | null;
17035
+ order_id: string | null;
17036
+ order_number: string | null;
17037
+ print_job_id: string | null;
17038
+ regels: import("../integrations/supabase/types").Json;
17039
+ updated_at: string;
17040
+ verwerkt: boolean;
17041
+ };
17042
+ Insert: {
17043
+ barcode: string;
17044
+ bron_barcode?: string | null;
17045
+ cart_id?: string | null;
17046
+ cart_index?: number | null;
17047
+ cart_total?: number | null;
17048
+ created_at?: string;
17049
+ geprint_op?: string | null;
17050
+ id?: string;
17051
+ klant_naam?: string | null;
17052
+ order_id?: string | null;
17053
+ order_number?: string | null;
17054
+ print_job_id?: string | null;
17055
+ regels?: import("../integrations/supabase/types").Json;
17056
+ updated_at?: string;
17057
+ verwerkt?: boolean;
17058
+ };
17059
+ Update: {
17060
+ barcode?: string;
17061
+ bron_barcode?: string | null;
17062
+ cart_id?: string | null;
17063
+ cart_index?: number | null;
17064
+ cart_total?: number | null;
17065
+ created_at?: string;
17066
+ geprint_op?: string | null;
17067
+ id?: string;
17068
+ klant_naam?: string | null;
17069
+ order_id?: string | null;
17070
+ order_number?: string | null;
17071
+ print_job_id?: string | null;
17072
+ regels?: import("../integrations/supabase/types").Json;
17073
+ updated_at?: string;
17074
+ verwerkt?: boolean;
17075
+ };
17076
+ Relationships: [];
17077
+ };
15989
17078
  scan_scanners: {
15990
17079
  Row: {
15991
17080
  actief: boolean;
@@ -15995,6 +17084,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
15995
17084
  naam: string;
15996
17085
  omschrijving: string | null;
15997
17086
  pincode: string | null;
17087
+ printer_id: string | null;
15998
17088
  slug: string;
15999
17089
  type: string;
16000
17090
  updated_at: string;
@@ -16009,6 +17099,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16009
17099
  naam: string;
16010
17100
  omschrijving?: string | null;
16011
17101
  pincode?: string | null;
17102
+ printer_id?: string | null;
16012
17103
  slug: string;
16013
17104
  type?: string;
16014
17105
  updated_at?: string;
@@ -16023,6 +17114,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16023
17114
  naam?: string;
16024
17115
  omschrijving?: string | null;
16025
17116
  pincode?: string | null;
17117
+ printer_id?: string | null;
16026
17118
  slug?: string;
16027
17119
  type?: string;
16028
17120
  updated_at?: string;
@@ -16031,6 +17123,27 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16031
17123
  };
16032
17124
  Relationships: [];
16033
17125
  };
17126
+ shell_settings: {
17127
+ Row: {
17128
+ created_at: string;
17129
+ default_path: string | null;
17130
+ shell_id: string;
17131
+ updated_at: string;
17132
+ };
17133
+ Insert: {
17134
+ created_at?: string;
17135
+ default_path?: string | null;
17136
+ shell_id: string;
17137
+ updated_at?: string;
17138
+ };
17139
+ Update: {
17140
+ created_at?: string;
17141
+ default_path?: string | null;
17142
+ shell_id?: string;
17143
+ updated_at?: string;
17144
+ };
17145
+ Relationships: [];
17146
+ };
16034
17147
  sick_periods: {
16035
17148
  Row: {
16036
17149
  created_at: string;
@@ -16650,6 +17763,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
16650
17763
  isOneToOne: false;
16651
17764
  referencedRelation: "werkbonnen";
16652
17765
  referencedColumns: ["id"];
17766
+ }, {
17767
+ foreignKeyName: "time_logs_work_order_id_fkey";
17768
+ columns: ["work_order_id"];
17769
+ isOneToOne: false;
17770
+ referencedRelation: "wo_overview";
17771
+ referencedColumns: ["id"];
16653
17772
  }];
16654
17773
  };
16655
17774
  time_off_entries: {
@@ -17943,6 +19062,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
17943
19062
  isOneToOne: false;
17944
19063
  referencedRelation: "werkbonnen";
17945
19064
  referencedColumns: ["id"];
19065
+ }, {
19066
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
19067
+ columns: ["werkbon_id"];
19068
+ isOneToOne: false;
19069
+ referencedRelation: "wo_overview";
19070
+ referencedColumns: ["id"];
17946
19071
  }];
17947
19072
  };
17948
19073
  uren_exports: {
@@ -18251,6 +19376,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18251
19376
  referencedColumns: ["id"];
18252
19377
  }];
18253
19378
  };
19379
+ voorraad_buffer_state: {
19380
+ Row: {
19381
+ buffer_id: string;
19382
+ buffer_key: string | null;
19383
+ closed_at: string | null;
19384
+ created_at: string;
19385
+ detached_orders: import("../integrations/supabase/types").Json;
19386
+ reason: string | null;
19387
+ updated_at: string;
19388
+ };
19389
+ Insert: {
19390
+ buffer_id: string;
19391
+ buffer_key?: string | null;
19392
+ closed_at?: string | null;
19393
+ created_at?: string;
19394
+ detached_orders?: import("../integrations/supabase/types").Json;
19395
+ reason?: string | null;
19396
+ updated_at?: string;
19397
+ };
19398
+ Update: {
19399
+ buffer_id?: string;
19400
+ buffer_key?: string | null;
19401
+ closed_at?: string | null;
19402
+ created_at?: string;
19403
+ detached_orders?: import("../integrations/supabase/types").Json;
19404
+ reason?: string | null;
19405
+ updated_at?: string;
19406
+ };
19407
+ Relationships: [];
19408
+ };
18254
19409
  voorraad_custom_fields: {
18255
19410
  Row: {
18256
19411
  created_at: string;
@@ -18293,6 +19448,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18293
19448
  };
18294
19449
  Relationships: [];
18295
19450
  };
19451
+ voorraad_logistics_event_log: {
19452
+ Row: {
19453
+ created_at: string;
19454
+ event_id: string;
19455
+ event_type: string;
19456
+ order_ref: string | null;
19457
+ processed_at: string;
19458
+ result: import("../integrations/supabase/types").Json;
19459
+ updated_at: string;
19460
+ };
19461
+ Insert: {
19462
+ created_at?: string;
19463
+ event_id: string;
19464
+ event_type: string;
19465
+ order_ref?: string | null;
19466
+ processed_at?: string;
19467
+ result?: import("../integrations/supabase/types").Json;
19468
+ updated_at?: string;
19469
+ };
19470
+ Update: {
19471
+ created_at?: string;
19472
+ event_id?: string;
19473
+ event_type?: string;
19474
+ order_ref?: string | null;
19475
+ processed_at?: string;
19476
+ result?: import("../integrations/supabase/types").Json;
19477
+ updated_at?: string;
19478
+ };
19479
+ Relationships: [];
19480
+ };
18296
19481
  voorraad_media_upload_failures: {
18297
19482
  Row: {
18298
19483
  action: string;
@@ -18666,6 +19851,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18666
19851
  isOneToOne: true;
18667
19852
  referencedRelation: "werkbonnen";
18668
19853
  referencedColumns: ["id"];
19854
+ }, {
19855
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19856
+ columns: ["werkbon_id"];
19857
+ isOneToOne: true;
19858
+ referencedRelation: "wo_overview";
19859
+ referencedColumns: ["id"];
18669
19860
  }];
18670
19861
  };
18671
19862
  werkbon_facturatie_settings: {
@@ -18753,6 +19944,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18753
19944
  isOneToOne: false;
18754
19945
  referencedRelation: "werkbonnen";
18755
19946
  referencedColumns: ["id"];
19947
+ }, {
19948
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19949
+ columns: ["werkbon_id"];
19950
+ isOneToOne: false;
19951
+ referencedRelation: "wo_overview";
19952
+ referencedColumns: ["id"];
18756
19953
  }];
18757
19954
  };
18758
19955
  werkbon_package_ai_rules: {
@@ -18936,6 +20133,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
18936
20133
  isOneToOne: false;
18937
20134
  referencedRelation: "werkbonnen";
18938
20135
  referencedColumns: ["id"];
20136
+ }, {
20137
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20138
+ columns: ["werkbon_id"];
20139
+ isOneToOne: false;
20140
+ referencedRelation: "wo_overview";
20141
+ referencedColumns: ["id"];
18939
20142
  }];
18940
20143
  };
18941
20144
  werkbon_packages: {
@@ -19026,6 +20229,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19026
20229
  isOneToOne: false;
19027
20230
  referencedRelation: "werkbonnen";
19028
20231
  referencedColumns: ["id"];
20232
+ }, {
20233
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20234
+ columns: ["werkbon_id"];
20235
+ isOneToOne: false;
20236
+ referencedRelation: "wo_overview";
20237
+ referencedColumns: ["id"];
19029
20238
  }];
19030
20239
  };
19031
20240
  werkbon_time_logs: {
@@ -19065,6 +20274,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19065
20274
  isOneToOne: false;
19066
20275
  referencedRelation: "werkbonnen";
19067
20276
  referencedColumns: ["id"];
20277
+ }, {
20278
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20279
+ columns: ["werkbon_id"];
20280
+ isOneToOne: false;
20281
+ referencedRelation: "wo_overview";
20282
+ referencedColumns: ["id"];
19068
20283
  }];
19069
20284
  };
19070
20285
  werkbonnen: {
@@ -19188,6 +20403,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19188
20403
  isOneToOne: false;
19189
20404
  referencedRelation: "werkbonnen";
19190
20405
  referencedColumns: ["id"];
20406
+ }, {
20407
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20408
+ columns: ["parent_werkbon_id"];
20409
+ isOneToOne: false;
20410
+ referencedRelation: "wo_overview";
20411
+ referencedColumns: ["id"];
19191
20412
  }, {
19192
20413
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19193
20414
  columns: ["source_mailbox_message_id"];
@@ -19656,6 +20877,24 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19656
20877
  };
19657
20878
  Relationships: [];
19658
20879
  };
20880
+ logistics_product_dimensions: {
20881
+ Row: {
20882
+ dimension_source: string | null;
20883
+ fust_height_mm: number | null;
20884
+ fust_length_mm: number | null;
20885
+ fust_name: string | null;
20886
+ fust_source: string | null;
20887
+ fust_type_id: string | null;
20888
+ fust_width_mm: number | null;
20889
+ height_source: string | null;
20890
+ missing_reason: string | null;
20891
+ plant_height_cm: number | null;
20892
+ plants_per_crate: number | null;
20893
+ product_id: string | null;
20894
+ product_name: string | null;
20895
+ };
20896
+ Relationships: [];
20897
+ };
19659
20898
  manufacture_product_possible_stock_view: {
19660
20899
  Row: {
19661
20900
  component_count: number | null;
@@ -19693,6 +20932,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
19693
20932
  isOneToOne: false;
19694
20933
  referencedRelation: "werkbonnen";
19695
20934
  referencedColumns: ["id"];
20935
+ }, {
20936
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20937
+ columns: ["werkbon_id"];
20938
+ isOneToOne: false;
20939
+ referencedRelation: "wo_overview";
20940
+ referencedColumns: ["id"];
19696
20941
  }];
19697
20942
  };
19698
20943
  product_group_stock_view: {
@@ -20154,19 +21399,94 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20154
21399
  isOneToOne: false;
20155
21400
  referencedRelation: "werkbonnen";
20156
21401
  referencedColumns: ["id"];
21402
+ }, {
21403
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21404
+ columns: ["werkbon_id"];
21405
+ isOneToOne: false;
21406
+ referencedRelation: "wo_overview";
21407
+ referencedColumns: ["id"];
20157
21408
  }];
20158
21409
  };
20159
- };
20160
- Functions: {
20161
- _floriday_schedule_job: {
20162
- Args: {
20163
- p_apikey: string;
20164
- p_jobname: string;
20165
- p_schedule: string;
20166
- p_timeout_ms: number;
20167
- p_url: string;
21410
+ wo_overview: {
21411
+ Row: {
21412
+ assigned_user_id: string | null;
21413
+ budget_mandate_cents: number | null;
21414
+ created_at: string | null;
21415
+ customer_id: string | null;
21416
+ id: string | null;
21417
+ needs_detail_review: boolean | null;
21418
+ number: string | null;
21419
+ parent_werkbon_id: string | null;
21420
+ planning_status: string | null;
21421
+ scheduled_end_time: string | null;
21422
+ scheduled_start_time: string | null;
21423
+ source_type: string | null;
21424
+ status: string | null;
21425
+ technician_id: string | null;
21426
+ updated_at: string | null;
21427
+ work_address: string | null;
20168
21428
  };
20169
- Returns: number;
21429
+ Insert: {
21430
+ assigned_user_id?: string | null;
21431
+ budget_mandate_cents?: number | null;
21432
+ created_at?: string | null;
21433
+ customer_id?: string | null;
21434
+ id?: string | null;
21435
+ needs_detail_review?: boolean | null;
21436
+ number?: string | null;
21437
+ parent_werkbon_id?: string | null;
21438
+ planning_status?: string | null;
21439
+ scheduled_end_time?: string | null;
21440
+ scheduled_start_time?: string | null;
21441
+ source_type?: string | null;
21442
+ status?: string | null;
21443
+ technician_id?: string | null;
21444
+ updated_at?: string | null;
21445
+ work_address?: string | null;
21446
+ };
21447
+ Update: {
21448
+ assigned_user_id?: string | null;
21449
+ budget_mandate_cents?: number | null;
21450
+ created_at?: string | null;
21451
+ customer_id?: string | null;
21452
+ id?: string | null;
21453
+ needs_detail_review?: boolean | null;
21454
+ number?: string | null;
21455
+ parent_werkbon_id?: string | null;
21456
+ planning_status?: string | null;
21457
+ scheduled_end_time?: string | null;
21458
+ scheduled_start_time?: string | null;
21459
+ source_type?: string | null;
21460
+ status?: string | null;
21461
+ technician_id?: string | null;
21462
+ updated_at?: string | null;
21463
+ work_address?: string | null;
21464
+ };
21465
+ Relationships: [{
21466
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21467
+ columns: ["parent_werkbon_id"];
21468
+ isOneToOne: false;
21469
+ referencedRelation: "werkbonnen";
21470
+ referencedColumns: ["id"];
21471
+ }, {
21472
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21473
+ columns: ["parent_werkbon_id"];
21474
+ isOneToOne: false;
21475
+ referencedRelation: "wo_overview";
21476
+ referencedColumns: ["id"];
21477
+ }];
21478
+ };
21479
+ };
21480
+ Functions: {
21481
+ _floriday_schedule_job: {
21482
+ Args: {
21483
+ p_apikey: string;
21484
+ p_jobname: string;
21485
+ p_schedule: string;
21486
+ p_timeout_ms: number;
21487
+ p_url: string;
21488
+ };
21489
+ Returns: number;
20170
21490
  };
20171
21491
  _migrate_rewrite_stock_key: {
20172
21492
  Args: {
@@ -20345,12 +21665,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20345
21665
  _max?: number;
20346
21666
  };
20347
21667
  Returns: {
21668
+ aflever_pogingen: number;
20348
21669
  agent_id: string | null;
21670
+ artefact_bytes: number | null;
21671
+ artefact_gereed_op: string | null;
21672
+ artefact_pad: string | null;
21673
+ artefact_sha256: string | null;
21674
+ batch_id: string | null;
20349
21675
  bron_job_id: string | null;
20350
21676
  created_at: string;
20351
21677
  documentnaam: string;
20352
21678
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20353
21679
  extern_job_id: string | null;
21680
+ fase_gestart_op: string | null;
21681
+ fase_voltooid_op: string | null;
21682
+ foutcode: string | null;
20354
21683
  foutmelding: string | null;
20355
21684
  gebruiker_id: string | null;
20356
21685
  gebruiker_naam: string;
@@ -20364,7 +21693,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20364
21693
  kopieen: number;
20365
21694
  layout_id: string | null;
20366
21695
  lokaal_opgeslagen_op: string | null;
21696
+ lokale_pdf_claim_id: string | null;
21697
+ lokale_pdf_claim_tot: string | null;
20367
21698
  lokale_pdf_fout: string | null;
21699
+ lokale_pdf_print_plek_id: string | null;
20368
21700
  lokale_pdf_status: string | null;
20369
21701
  opgepakt_op: string | null;
20370
21702
  paginas: number;
@@ -20377,6 +21709,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20377
21709
  resultaat_pdf_base64: string | null;
20378
21710
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20379
21711
  updated_at: string;
21712
+ verwerkingsfase: string;
20380
21713
  volgende_poging: string | null;
20381
21714
  voltooid_op: string | null;
20382
21715
  }[];
@@ -20423,6 +21756,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20423
21756
  isSetofReturn: true;
20424
21757
  };
20425
21758
  };
21759
+ claim_local_pdf_jobs: {
21760
+ Args: {
21761
+ _max?: number;
21762
+ _print_plek_id: string;
21763
+ _writer_id: string;
21764
+ };
21765
+ Returns: {
21766
+ artefact_bytes: number;
21767
+ artefact_pad: string;
21768
+ artefact_sha256: string;
21769
+ documentnaam: string;
21770
+ id: string;
21771
+ lokale_pdf_print_plek_id: string;
21772
+ lokale_pdf_status: string;
21773
+ printer_id: string;
21774
+ resultaat_pdf_base64: string;
21775
+ status: string;
21776
+ }[];
21777
+ };
20426
21778
  claim_logistics_tasks: {
20427
21779
  Args: {
20428
21780
  _limit?: number;
@@ -20476,12 +21828,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20476
21828
  _max?: number;
20477
21829
  };
20478
21830
  Returns: {
21831
+ aflever_pogingen: number;
20479
21832
  agent_id: string | null;
21833
+ artefact_bytes: number | null;
21834
+ artefact_gereed_op: string | null;
21835
+ artefact_pad: string | null;
21836
+ artefact_sha256: string | null;
21837
+ batch_id: string | null;
20480
21838
  bron_job_id: string | null;
20481
21839
  created_at: string;
20482
21840
  documentnaam: string;
20483
21841
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20484
21842
  extern_job_id: string | null;
21843
+ fase_gestart_op: string | null;
21844
+ fase_voltooid_op: string | null;
21845
+ foutcode: string | null;
20485
21846
  foutmelding: string | null;
20486
21847
  gebruiker_id: string | null;
20487
21848
  gebruiker_naam: string;
@@ -20495,7 +21856,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20495
21856
  kopieen: number;
20496
21857
  layout_id: string | null;
20497
21858
  lokaal_opgeslagen_op: string | null;
21859
+ lokale_pdf_claim_id: string | null;
21860
+ lokale_pdf_claim_tot: string | null;
20498
21861
  lokale_pdf_fout: string | null;
21862
+ lokale_pdf_print_plek_id: string | null;
20499
21863
  lokale_pdf_status: string | null;
20500
21864
  opgepakt_op: string | null;
20501
21865
  paginas: number;
@@ -20508,6 +21872,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20508
21872
  resultaat_pdf_base64: string | null;
20509
21873
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20510
21874
  updated_at: string;
21875
+ verwerkingsfase: string;
20511
21876
  volgende_poging: string | null;
20512
21877
  voltooid_op: string | null;
20513
21878
  }[];
@@ -20524,12 +21889,21 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20524
21889
  _max?: number;
20525
21890
  };
20526
21891
  Returns: {
21892
+ aflever_pogingen: number;
20527
21893
  agent_id: string | null;
21894
+ artefact_bytes: number | null;
21895
+ artefact_gereed_op: string | null;
21896
+ artefact_pad: string | null;
21897
+ artefact_sha256: string | null;
21898
+ batch_id: string | null;
20528
21899
  bron_job_id: string | null;
20529
21900
  created_at: string;
20530
21901
  documentnaam: string;
20531
21902
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20532
21903
  extern_job_id: string | null;
21904
+ fase_gestart_op: string | null;
21905
+ fase_voltooid_op: string | null;
21906
+ foutcode: string | null;
20533
21907
  foutmelding: string | null;
20534
21908
  gebruiker_id: string | null;
20535
21909
  gebruiker_naam: string;
@@ -20543,7 +21917,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20543
21917
  kopieen: number;
20544
21918
  layout_id: string | null;
20545
21919
  lokaal_opgeslagen_op: string | null;
21920
+ lokale_pdf_claim_id: string | null;
21921
+ lokale_pdf_claim_tot: string | null;
20546
21922
  lokale_pdf_fout: string | null;
21923
+ lokale_pdf_print_plek_id: string | null;
20547
21924
  lokale_pdf_status: string | null;
20548
21925
  opgepakt_op: string | null;
20549
21926
  paginas: number;
@@ -20556,6 +21933,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20556
21933
  resultaat_pdf_base64: string | null;
20557
21934
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20558
21935
  updated_at: string;
21936
+ verwerkingsfase: string;
20559
21937
  volgende_poging: string | null;
20560
21938
  voltooid_op: string | null;
20561
21939
  }[];
@@ -20566,6 +21944,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20566
21944
  isSetofReturn: true;
20567
21945
  };
20568
21946
  };
21947
+ claim_print_queue_lease: {
21948
+ Args: {
21949
+ _houder: string;
21950
+ _naam: string;
21951
+ _seconden?: number;
21952
+ };
21953
+ Returns: boolean;
21954
+ };
20569
21955
  claim_twinfield_push_batch: {
20570
21956
  Args: {
20571
21957
  _customer_id?: string;
@@ -20691,7 +22077,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20691
22077
  cart_index: number;
20692
22078
  cart_number: string;
20693
22079
  cart_number_id: string;
22080
+ cart_seq: number;
22081
+ cart_total: number;
20694
22082
  order_id: string;
22083
+ order_number: string;
20695
22084
  order_source: string;
20696
22085
  pick_date: string;
20697
22086
  printed_at: string;
@@ -20699,6 +22088,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20699
22088
  status: string;
20700
22089
  }[];
20701
22090
  };
22091
+ control_mark_carts_delivered: {
22092
+ Args: {
22093
+ p_carts: import("../integrations/supabase/types").Json;
22094
+ };
22095
+ Returns: number;
22096
+ };
20702
22097
  count_distinct_regulatory_products: {
20703
22098
  Args: never;
20704
22099
  Returns: number;
@@ -20826,6 +22221,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20826
22221
  };
20827
22222
  Returns: undefined;
20828
22223
  };
22224
+ ensure_system_roles: {
22225
+ Args: never;
22226
+ Returns: {
22227
+ action: string;
22228
+ role_key: string;
22229
+ }[];
22230
+ };
20829
22231
  ensure_trade_item_stock_row: {
20830
22232
  Args: {
20831
22233
  p_key: string;
@@ -20892,6 +22294,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20892
22294
  };
20893
22295
  Returns: string;
20894
22296
  };
22297
+ finish_local_pdf_job: {
22298
+ Args: {
22299
+ _fout?: string;
22300
+ _job_id: string;
22301
+ _status: string;
22302
+ _writer_id: string;
22303
+ };
22304
+ Returns: boolean;
22305
+ };
22306
+ floriday_adopt_connection: {
22307
+ Args: {
22308
+ p_new: string;
22309
+ p_old: string;
22310
+ };
22311
+ Returns: import("../integrations/supabase/types").Json;
22312
+ };
22313
+ floriday_autoheal_connections: {
22314
+ Args: never;
22315
+ Returns: import("../integrations/supabase/types").Json;
22316
+ };
20895
22317
  floriday_capture_stock_snapshot: {
20896
22318
  Args: never;
20897
22319
  Returns: number;
@@ -20949,6 +22371,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
20949
22371
  };
20950
22372
  Returns: undefined;
20951
22373
  };
22374
+ floriday_relink_products: {
22375
+ Args: {
22376
+ p_connection_id?: string;
22377
+ };
22378
+ Returns: import("../integrations/supabase/types").Json;
22379
+ };
20952
22380
  floriday_requeue_dead_letters: {
20953
22381
  Args: {
20954
22382
  p_connection_id?: string;
@@ -21171,6 +22599,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21171
22599
  Args: never;
21172
22600
  Returns: string;
21173
22601
  };
22602
+ handover_archief_lijst: {
22603
+ Args: never;
22604
+ Returns: import("../integrations/supabase/types").Json;
22605
+ };
22606
+ handover_archiveren: {
22607
+ Args: {
22608
+ _archief?: boolean;
22609
+ _module_id: string;
22610
+ };
22611
+ Returns: boolean;
22612
+ };
22613
+ handover_check_afronden: {
22614
+ Args: {
22615
+ _module_id: string;
22616
+ };
22617
+ Returns: boolean;
22618
+ };
22619
+ handover_check_markeren: {
22620
+ Args: {
22621
+ _module_ids: string[];
22622
+ _reden?: string;
22623
+ };
22624
+ Returns: number;
22625
+ };
22626
+ handover_fingerprint_maken: {
22627
+ Args: {
22628
+ _module_id?: string;
22629
+ };
22630
+ Returns: import("../integrations/supabase/types").Json;
22631
+ };
21174
22632
  handover_get: {
21175
22633
  Args: {
21176
22634
  _module_id: string;
@@ -21201,6 +22659,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21201
22659
  };
21202
22660
  Returns: boolean;
21203
22661
  };
22662
+ handover_module_meta_zetten: {
22663
+ Args: {
22664
+ _module_id: string;
22665
+ _project_url?: string;
22666
+ _publicatie_url?: string;
22667
+ };
22668
+ Returns: boolean;
22669
+ };
21204
22670
  handover_norm_naam: {
21205
22671
  Args: {
21206
22672
  _naam: string;
@@ -21221,6 +22687,23 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21221
22687
  };
21222
22688
  Returns: number;
21223
22689
  };
22690
+ handover_publish_uit_github: {
22691
+ Args: {
22692
+ _bezit_tabellen?: string[];
22693
+ _bron_soort?: string;
22694
+ _commit?: string;
22695
+ _contractfuncties?: string[];
22696
+ _inhoud_md: string;
22697
+ _module_id: string;
22698
+ _module_titel: string;
22699
+ _ontbrekende_contracten?: string[];
22700
+ _pad?: string;
22701
+ _repo?: string;
22702
+ _samenvatting?: string;
22703
+ _versie_label?: string;
22704
+ };
22705
+ Returns: import("../integrations/supabase/types").Json;
22706
+ };
21224
22707
  handover_publish_via_token: {
21225
22708
  Args: {
21226
22709
  _bevindingen?: string;
@@ -21234,7 +22717,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21234
22717
  _samenvatting?: string;
21235
22718
  _token_hash: string;
21236
22719
  };
21237
- Returns: number;
22720
+ Returns: import("../integrations/supabase/types").Json;
21238
22721
  };
21239
22722
  handover_status: {
21240
22723
  Args: never;
@@ -21246,23 +22729,6 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21246
22729
  };
21247
22730
  Returns: string;
21248
22731
  };
21249
- handover_token_intrekken: {
21250
- Args: {
21251
- _id: string;
21252
- };
21253
- Returns: boolean;
21254
- };
21255
- handover_token_lijst: {
21256
- Args: never;
21257
- Returns: import("../integrations/supabase/types").Json;
21258
- };
21259
- handover_token_maken: {
21260
- Args: {
21261
- _label?: string;
21262
- _module_id: string;
21263
- };
21264
- Returns: string;
21265
- };
21266
22732
  handover_update: {
21267
22733
  Args: {
21268
22734
  _bezit_tabellen?: string[];
@@ -21290,12 +22756,31 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21290
22756
  };
21291
22757
  Returns: boolean;
21292
22758
  };
22759
+ handover_versie_verwijderen: {
22760
+ Args: {
22761
+ _module_id: string;
22762
+ _versie: number;
22763
+ };
22764
+ Returns: boolean;
22765
+ };
21293
22766
  handover_versies: {
21294
22767
  Args: {
21295
22768
  _module_id: string;
21296
22769
  };
21297
22770
  Returns: import("../integrations/supabase/types").Json;
21298
22771
  };
22772
+ handover_verwijderen: {
22773
+ Args: {
22774
+ _module_id: string;
22775
+ };
22776
+ Returns: boolean;
22777
+ };
22778
+ handover_wijzigingen: {
22779
+ Args: {
22780
+ _module_id?: string;
22781
+ };
22782
+ Returns: import("../integrations/supabase/types").Json;
22783
+ };
21299
22784
  has_module_permission: {
21300
22785
  Args: {
21301
22786
  _min: string;
@@ -21513,6 +22998,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21513
22998
  };
21514
22999
  Returns: string;
21515
23000
  };
23001
+ logistics_active_layout_method: {
23002
+ Args: never;
23003
+ Returns: string;
23004
+ };
21516
23005
  logistics_active_pick_workdays: {
21517
23006
  Args: never;
21518
23007
  Returns: string[];
@@ -21558,6 +23047,36 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21558
23047
  };
21559
23048
  Returns: boolean;
21560
23049
  };
23050
+ logistics_barcode_lookup: {
23051
+ Args: {
23052
+ p_barcode: string;
23053
+ };
23054
+ Returns: import("../integrations/supabase/types").Json;
23055
+ };
23056
+ logistics_block_reason_code: {
23057
+ Args: {
23058
+ p_details?: import("../integrations/supabase/types").Json;
23059
+ p_reason: string;
23060
+ };
23061
+ Returns: string;
23062
+ };
23063
+ logistics_blocked_orders: {
23064
+ Args: never;
23065
+ Returns: {
23066
+ attempts: number;
23067
+ blocked_since: string;
23068
+ delivery_date: string;
23069
+ order_id: string;
23070
+ order_ref: string;
23071
+ queue_id: string;
23072
+ reason: string;
23073
+ reason_code: string;
23074
+ }[];
23075
+ };
23076
+ logistics_blocked_overview: {
23077
+ Args: never;
23078
+ Returns: import("../integrations/supabase/types").Json;
23079
+ };
21561
23080
  logistics_buffer_criteria: {
21562
23081
  Args: {
21563
23082
  p_settings: import("../integrations/supabase/types").Json;
@@ -21572,6 +23091,39 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21572
23091
  };
21573
23092
  Returns: import("../integrations/supabase/types").Json;
21574
23093
  };
23094
+ logistics_buffer_detach_late_orders: {
23095
+ Args: {
23096
+ p_buffer?: string;
23097
+ };
23098
+ Returns: import("../integrations/supabase/types").Json;
23099
+ };
23100
+ logistics_buffer_frozen_order: {
23101
+ Args: {
23102
+ p_order_id: string;
23103
+ };
23104
+ Returns: boolean;
23105
+ };
23106
+ logistics_buffer_handled: {
23107
+ Args: {
23108
+ p_buffer: string;
23109
+ };
23110
+ Returns: boolean;
23111
+ };
23112
+ logistics_buffer_notify: {
23113
+ Args: {
23114
+ p_event_type: string;
23115
+ p_idempotency_key: string;
23116
+ p_order_ref: string;
23117
+ p_payload: import("../integrations/supabase/types").Json;
23118
+ };
23119
+ Returns: string;
23120
+ };
23121
+ logistics_buffer_open_key: {
23122
+ Args: {
23123
+ p_base_key: string;
23124
+ };
23125
+ Returns: string;
23126
+ };
21575
23127
  logistics_buffer_simulate: {
21576
23128
  Args: {
21577
23129
  p_orders?: import("../integrations/supabase/types").Json;
@@ -21618,6 +23170,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21618
23170
  };
21619
23171
  Returns: number;
21620
23172
  };
23173
+ logistics_cart_barcode_value: {
23174
+ Args: {
23175
+ _cart_id: string;
23176
+ };
23177
+ Returns: string;
23178
+ };
23179
+ logistics_cart_handled: {
23180
+ Args: {
23181
+ p_cart_index: number;
23182
+ p_order_id: string;
23183
+ };
23184
+ Returns: boolean;
23185
+ };
21621
23186
  logistics_cart_index: {
21622
23187
  Args: {
21623
23188
  p_from?: string;
@@ -21627,6 +23192,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21627
23192
  cart_id: string;
21628
23193
  cart_index: number;
21629
23194
  cart_label: string;
23195
+ cart_number: string;
23196
+ cart_seq: number;
23197
+ cart_total: number;
23198
+ delivery_date: string;
23199
+ is_announced: boolean;
23200
+ is_controlled: boolean;
23201
+ is_printed: boolean;
21630
23202
  is_shared: boolean;
21631
23203
  order_number: string;
21632
23204
  order_source: string;
@@ -21637,33 +23209,106 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21637
23209
  task_status: string;
21638
23210
  }[];
21639
23211
  };
21640
- logistics_check_order_allowed: {
23212
+ logistics_cart_layout_method: {
23213
+ Args: never;
23214
+ Returns: import("../integrations/supabase/types").Json;
23215
+ };
23216
+ logistics_cart_plan_overview: {
21641
23217
  Args: {
21642
- p_lines: import("../integrations/supabase/types").Json;
21643
- p_strategy_id?: string;
23218
+ p_days?: number;
21644
23219
  };
21645
- Returns: import("../integrations/supabase/types").Json;
23220
+ Returns: {
23221
+ cart_total: number;
23222
+ delivery_date: string;
23223
+ order_ref: string;
23224
+ plan_ready: boolean;
23225
+ reason: string;
23226
+ released: boolean;
23227
+ }[];
21646
23228
  };
21647
- logistics_check_order_stock: {
23229
+ logistics_cart_plan_status: {
21648
23230
  Args: {
21649
- p_event_id: string;
23231
+ p_ref: string;
21650
23232
  };
21651
- Returns: string;
23233
+ Returns: import("../integrations/supabase/types").Json;
21652
23234
  };
21653
- logistics_claim_next_task: {
23235
+ logistics_cart_seq: {
21654
23236
  Args: {
21655
- p_owner_module: string;
21656
- p_worker?: string;
23237
+ p_order_uuid?: string;
21657
23238
  };
21658
23239
  Returns: {
21659
- attempt_log: import("../integrations/supabase/types").Json;
21660
- attempts: number;
21661
- buffer_ref: string | null;
21662
- claimed_at: string | null;
21663
- claimed_by: string | null;
21664
- completed_at: string | null;
21665
- created_at: string;
21666
- depends_on: string[];
23240
+ cart_id: string;
23241
+ cart_index: number;
23242
+ cart_number: string;
23243
+ cart_seq: number;
23244
+ cart_total: number;
23245
+ order_uuid: string;
23246
+ }[];
23247
+ };
23248
+ logistics_cart_slip_plan: {
23249
+ Args: {
23250
+ p_order_id: string;
23251
+ };
23252
+ Returns: import("../integrations/supabase/types").Json;
23253
+ };
23254
+ logistics_cart_units: {
23255
+ Args: {
23256
+ p_from?: string;
23257
+ p_to?: string;
23258
+ };
23259
+ Returns: {
23260
+ cart_id: string;
23261
+ cart_index: number;
23262
+ cart_label: string;
23263
+ cart_number: string;
23264
+ cart_seq: number;
23265
+ cart_total: number;
23266
+ delivery_date: string;
23267
+ is_announced: boolean;
23268
+ is_buffer: boolean;
23269
+ is_controlled: boolean;
23270
+ is_printed: boolean;
23271
+ is_shared: boolean;
23272
+ order_number: string;
23273
+ order_source: string;
23274
+ order_uuid: string;
23275
+ pick_date: string;
23276
+ printed_at: string;
23277
+ shifted: boolean;
23278
+ task_status: string;
23279
+ unit_buffer: string;
23280
+ unit_order_count: number;
23281
+ unit_orders: string[];
23282
+ unit_ref: string;
23283
+ }[];
23284
+ };
23285
+ logistics_check_order_allowed: {
23286
+ Args: {
23287
+ p_lines: import("../integrations/supabase/types").Json;
23288
+ p_strategy_id?: string;
23289
+ };
23290
+ Returns: import("../integrations/supabase/types").Json;
23291
+ };
23292
+ logistics_check_order_stock: {
23293
+ Args: {
23294
+ p_event_id: string;
23295
+ };
23296
+ Returns: string;
23297
+ };
23298
+ logistics_claim_next_task: {
23299
+ Args: {
23300
+ p_owner_module: string;
23301
+ p_worker?: string;
23302
+ };
23303
+ Returns: {
23304
+ attempt_log: import("../integrations/supabase/types").Json;
23305
+ attempts: number;
23306
+ buffer_ref: string | null;
23307
+ claimed_at: string | null;
23308
+ claimed_by: string | null;
23309
+ completed_at: string | null;
23310
+ created_at: string;
23311
+ depends_on: string[];
21667
23312
  due_at: string | null;
21668
23313
  error: string | null;
21669
23314
  id: string;
@@ -21789,12 +23434,97 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21789
23434
  Args: never;
21790
23435
  Returns: {
21791
23436
  agenda_carts: number;
23437
+ announced_carts: number;
21792
23438
  control_carts: number;
23439
+ delivery_carts: number;
23440
+ duplicate_carts: number;
21793
23441
  ok: boolean;
23442
+ orphan_carts: number;
21794
23443
  orphan_tasks: number;
21795
23444
  pick_date: string;
21796
23445
  raw_carts: number;
23446
+ sales_carts: number;
23447
+ station_carts: number;
23448
+ }[];
23449
+ };
23450
+ logistics_control_scan_approve: {
23451
+ Args: {
23452
+ p_allow_reprint?: boolean;
23453
+ p_barcode: string;
23454
+ p_printer_id?: string;
23455
+ p_scanner_id?: string;
23456
+ };
23457
+ Returns: import("../integrations/supabase/types").Json;
23458
+ };
23459
+ logistics_control_scan_claim: {
23460
+ Args: {
23461
+ _lease_seconds?: number;
23462
+ _limit?: number;
23463
+ };
23464
+ Returns: {
23465
+ approved_at: string | null;
23466
+ attempts: number;
23467
+ barcode: string;
23468
+ cart_id: string;
23469
+ created_at: string;
23470
+ document_url: string | null;
23471
+ error: string | null;
23472
+ error_code: string | null;
23473
+ fulfillment_order_id: string | null;
23474
+ id: string;
23475
+ is_floriday: boolean;
23476
+ locked_until: string | null;
23477
+ order_id: string | null;
23478
+ order_number: string | null;
23479
+ print_job_id: string | null;
23480
+ printed_at: string | null;
23481
+ printer_id: string | null;
23482
+ scanner_id: string | null;
23483
+ status: string;
23484
+ updated_at: string;
21797
23485
  }[];
23486
+ SetofOptions: {
23487
+ from: "*";
23488
+ to: "logistics_control_scan";
23489
+ isOneToOne: false;
23490
+ isSetofReturn: true;
23491
+ };
23492
+ };
23493
+ logistics_control_scan_finish: {
23494
+ Args: {
23495
+ _document_url?: string;
23496
+ _error?: string;
23497
+ _error_code?: string;
23498
+ _fulfillment_order_id?: string;
23499
+ _id: string;
23500
+ _ok: boolean;
23501
+ _print_job_id?: string;
23502
+ _status?: string;
23503
+ };
23504
+ Returns: import("../integrations/supabase/types").Json;
23505
+ };
23506
+ logistics_control_scan_lookup: {
23507
+ Args: {
23508
+ p_barcode: string;
23509
+ };
23510
+ Returns: import("../integrations/supabase/types").Json;
23511
+ };
23512
+ logistics_control_scan_overview: {
23513
+ Args: {
23514
+ _date?: string;
23515
+ _scanner_id?: string;
23516
+ };
23517
+ Returns: import("../integrations/supabase/types").Json;
23518
+ };
23519
+ logistics_control_scan_retry: {
23520
+ Args: {
23521
+ _id: string;
23522
+ };
23523
+ Returns: import("../integrations/supabase/types").Json;
23524
+ };
23525
+ logistics_control_settings: {
23526
+ Args: never;
23527
+ Returns: import("../integrations/supabase/types").Json;
21798
23528
  };
21799
23529
  logistics_delay_customer_email: {
21800
23530
  Args: {
@@ -21809,12 +23539,35 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21809
23539
  subject: string;
21810
23540
  }[];
21811
23541
  };
23542
+ logistics_delivery_agenda: {
23543
+ Args: {
23544
+ p_from?: string;
23545
+ p_to?: string;
23546
+ };
23547
+ Returns: {
23548
+ announced_count: number;
23549
+ cart_count: number;
23550
+ controlled_count: number;
23551
+ delivery_date: string;
23552
+ order_count: number;
23553
+ orders: import("../integrations/supabase/types").Json;
23554
+ plant_count: number;
23555
+ printed_count: number;
23556
+ }[];
23557
+ };
21812
23558
  logistics_document_layout: {
21813
23559
  Args: {
21814
23560
  _document_code: string;
21815
23561
  };
21816
23562
  Returns: import("../integrations/supabase/types").Json;
21817
23563
  };
23564
+ logistics_document_layout_v2: {
23565
+ Args: {
23566
+ _document_code: string;
23567
+ _is_partial?: boolean;
23568
+ };
23569
+ Returns: import("../integrations/supabase/types").Json;
23570
+ };
21818
23571
  logistics_document_station: {
21819
23572
  Args: {
21820
23573
  _document_code: string;
@@ -21840,6 +23593,23 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21840
23593
  };
21841
23594
  Returns: import("../integrations/supabase/types").Json;
21842
23595
  };
23596
+ logistics_enqueue_sticker_with_slip: {
23597
+ Args: {
23598
+ _cart_id: string;
23599
+ _is_herprint: boolean;
23600
+ _printer_id: string;
23601
+ _queue_item_id: string;
23602
+ _session_id: string;
23603
+ _slip_job_id: string;
23604
+ };
23605
+ Returns: string;
23606
+ };
23607
+ logistics_ensure_cart_barcode: {
23608
+ Args: {
23609
+ _cart_id: string;
23610
+ };
23611
+ Returns: string;
23612
+ };
21843
23613
  logistics_fail_task: {
21844
23614
  Args: {
21845
23615
  p_error: string;
@@ -21961,6 +23731,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21961
23731
  };
21962
23732
  Returns: string;
21963
23733
  };
23734
+ logistics_floriday_order_approved: {
23735
+ Args: {
23736
+ _order_ref: string;
23737
+ };
23738
+ Returns: boolean;
23739
+ };
21964
23740
  logistics_floriday_prune_pushes: {
21965
23741
  Args: {
21966
23742
  _days?: number;
@@ -21975,6 +23751,40 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21975
23751
  };
21976
23752
  Returns: string;
21977
23753
  };
23754
+ logistics_floriday_status_updates_enabled: {
23755
+ Args: never;
23756
+ Returns: boolean;
23757
+ };
23758
+ logistics_fulfill_barcode_requests: {
23759
+ Args: {
23760
+ p_limit?: number;
23761
+ };
23762
+ Returns: import("../integrations/supabase/types").Json;
23763
+ };
23764
+ logistics_full_cart_min_layers: {
23765
+ Args: never;
23766
+ Returns: number;
23767
+ };
23768
+ logistics_full_cart_min_percentage: {
23769
+ Args: never;
23770
+ Returns: number;
23771
+ };
23772
+ logistics_is_pick_workday: {
23773
+ Args: {
23774
+ p_date: string;
23775
+ };
23776
+ Returns: boolean;
23777
+ };
23778
+ logistics_layout_method_status: {
23779
+ Args: never;
23780
+ Returns: import("../integrations/supabase/types").Json;
23781
+ };
23782
+ logistics_link_order_items: {
23783
+ Args: {
23784
+ p_order?: string;
23785
+ };
23786
+ Returns: import("../integrations/supabase/types").Json;
23787
+ };
21978
23788
  logistics_live_carriers: {
21979
23789
  Args: {
21980
23790
  p_order_ref: string;
@@ -21987,6 +23797,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21987
23797
  };
21988
23798
  Returns: number;
21989
23799
  };
23800
+ logistics_next_workday_date: {
23801
+ Args: {
23802
+ p_date: string;
23803
+ p_days?: string[];
23804
+ };
23805
+ Returns: string;
23806
+ };
23807
+ logistics_next_workday_not_past: {
23808
+ Args: {
23809
+ p_days: string[];
23810
+ p_ts: string;
23811
+ };
23812
+ Returns: string;
23813
+ };
23814
+ logistics_normalize_product_label: {
23815
+ Args: {
23816
+ p_label: string;
23817
+ };
23818
+ Returns: string;
23819
+ };
21990
23820
  logistics_not_past: {
21991
23821
  Args: {
21992
23822
  p_ts: string;
@@ -21999,6 +23829,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
21999
23829
  };
22000
23830
  Returns: number;
22001
23831
  };
23832
+ logistics_order_handled: {
23833
+ Args: {
23834
+ p_order_uuid: string;
23835
+ };
23836
+ Returns: boolean;
23837
+ };
23838
+ logistics_order_is_topick: {
23839
+ Args: {
23840
+ p_order_id: string;
23841
+ p_order_number: string;
23842
+ };
23843
+ Returns: boolean;
23844
+ };
22002
23845
  logistics_order_overview: {
22003
23846
  Args: {
22004
23847
  p_from?: string;
@@ -22024,6 +23867,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22024
23867
  };
22025
23868
  Returns: string;
22026
23869
  };
23870
+ logistics_order_released: {
23871
+ Args: {
23872
+ p_order_ref: string;
23873
+ };
23874
+ Returns: boolean;
23875
+ };
22027
23876
  logistics_parse_pickup: {
22028
23877
  Args: {
22029
23878
  p_value: string;
@@ -22046,10 +23895,37 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22046
23895
  shifted_count: number;
22047
23896
  }[];
22048
23897
  };
23898
+ logistics_pick_barcode_enabled: {
23899
+ Args: never;
23900
+ Returns: boolean;
23901
+ };
22049
23902
  logistics_pick_email_purpose: {
22050
23903
  Args: never;
22051
23904
  Returns: string;
22052
23905
  };
23906
+ logistics_pick_mode: {
23907
+ Args: never;
23908
+ Returns: import("../integrations/supabase/types").Json;
23909
+ };
23910
+ logistics_pick_start_estimate: {
23911
+ Args: {
23912
+ p_order: import("../integrations/supabase/types").Json;
23913
+ s: import("../integrations/supabase/types").Json;
23914
+ };
23915
+ Returns: string;
23916
+ };
23917
+ logistics_pick_units: {
23918
+ Args: never;
23919
+ Returns: {
23920
+ is_buffer: boolean;
23921
+ order_number: string;
23922
+ order_uuid: string;
23923
+ unit_buffer: string;
23924
+ unit_order_count: number;
23925
+ unit_orders: string[];
23926
+ unit_ref: string;
23927
+ }[];
23928
+ };
22053
23929
  logistics_plan_all: {
22054
23930
  Args: {
22055
23931
  p_user_id?: string;
@@ -22129,6 +24005,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22129
24005
  Args: never;
22130
24006
  Returns: number;
22131
24007
  };
24008
+ logistics_plan_retry: {
24009
+ Args: {
24010
+ p_order_ids: string[];
24011
+ };
24012
+ Returns: number;
24013
+ };
22132
24014
  logistics_plan_setting: {
22133
24015
  Args: {
22134
24016
  p_default: number;
@@ -22136,6 +24018,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22136
24018
  };
22137
24019
  Returns: number;
22138
24020
  };
24021
+ logistics_prune_buffer_member_queue: {
24022
+ Args: never;
24023
+ Returns: number;
24024
+ };
24025
+ logistics_prune_handled_pick_queue: {
24026
+ Args: never;
24027
+ Returns: number;
24028
+ };
22139
24029
  logistics_queue_capacity_email: {
22140
24030
  Args: {
22141
24031
  p_alert_id: string;
@@ -22168,6 +24058,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22168
24058
  Args: never;
22169
24059
  Returns: import("../integrations/supabase/types").Json;
22170
24060
  };
24061
+ logistics_refresh_pickup_moments: {
24062
+ Args: {
24063
+ p_weeks?: number;
24064
+ };
24065
+ Returns: import("../integrations/supabase/types").Json;
24066
+ };
24067
+ logistics_replan_all: {
24068
+ Args: {
24069
+ p_reason?: string;
24070
+ };
24071
+ Returns: import("../integrations/supabase/types").Json;
24072
+ };
22171
24073
  logistics_report_delay: {
22172
24074
  Args: {
22173
24075
  p_expected_date?: string;
@@ -22221,6 +24123,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22221
24123
  };
22222
24124
  Returns: import("../integrations/supabase/types").Json;
22223
24125
  };
24126
+ logistics_resolve_product_id: {
24127
+ Args: {
24128
+ p_label: string;
24129
+ };
24130
+ Returns: string;
24131
+ };
22224
24132
  logistics_resolve_settings: {
22225
24133
  Args: {
22226
24134
  p_config_id: string;
@@ -22274,6 +24182,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22274
24182
  };
22275
24183
  Returns: string;
22276
24184
  };
24185
+ logistics_scan_resolve: {
24186
+ Args: {
24187
+ p_code: string;
24188
+ };
24189
+ Returns: import("../integrations/supabase/types").Json;
24190
+ };
22277
24191
  logistics_schedule_tasks: {
22278
24192
  Args: never;
22279
24193
  Returns: number;
@@ -22300,7 +24214,19 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22300
24214
  };
22301
24215
  Returns: string;
22302
24216
  };
22303
- logistics_supersede_stale_tasks: {
24217
+ logistics_shipping_note_from_barcode: {
24218
+ Args: {
24219
+ p_allow_reprint?: boolean;
24220
+ p_barcode: string;
24221
+ p_station_id?: string;
24222
+ };
24223
+ Returns: import("../integrations/supabase/types").Json;
24224
+ };
24225
+ logistics_sticker_follows_slip: {
24226
+ Args: never;
24227
+ Returns: boolean;
24228
+ };
24229
+ logistics_supersede_stale_tasks: {
22304
24230
  Args: {
22305
24231
  p_keep: string[];
22306
24232
  p_order_ref: string;
@@ -22332,6 +24258,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22332
24258
  };
22333
24259
  Returns: number;
22334
24260
  };
24261
+ logistics_tick_ping: {
24262
+ Args: never;
24263
+ Returns: string;
24264
+ };
22335
24265
  logistics_upsert_task: {
22336
24266
  Args: {
22337
24267
  p_buffer_ref: string;
@@ -22351,6 +24281,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22351
24281
  };
22352
24282
  Returns: string;
22353
24283
  };
24284
+ logistics_write_buffer_layer_positions: {
24285
+ Args: {
24286
+ p_buffer_id: string;
24287
+ };
24288
+ Returns: number;
24289
+ };
24290
+ logistics_write_cart_layer_positions: {
24291
+ Args: {
24292
+ p_cart_id: string;
24293
+ };
24294
+ Returns: number;
24295
+ };
22354
24296
  mark_offer_clicked: {
22355
24297
  Args: {
22356
24298
  p_code: string;
@@ -22383,6 +24325,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22383
24325
  };
22384
24326
  Returns: undefined;
22385
24327
  };
24328
+ move_cart_layer_position: {
24329
+ Args: {
24330
+ p_id: string;
24331
+ p_layer: number;
24332
+ p_x: number;
24333
+ p_y: number;
24334
+ };
24335
+ Returns: undefined;
24336
+ };
22386
24337
  my_module_permissions: {
22387
24338
  Args: never;
22388
24339
  Returns: {
@@ -22454,6 +24405,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22454
24405
  };
22455
24406
  Returns: import("../integrations/supabase/types").Json;
22456
24407
  };
24408
+ order_heeft_bevestigde_karren: {
24409
+ Args: {
24410
+ p_order_id: string;
24411
+ };
24412
+ Returns: boolean;
24413
+ };
22457
24414
  order_number_prefix: {
22458
24415
  Args: {
22459
24416
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -22489,13 +24446,418 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22489
24446
  online: boolean;
22490
24447
  }[];
22491
24448
  };
22492
- pick_claim_document: {
24449
+ pick_apply_buffer_events: {
24450
+ Args: never;
24451
+ Returns: import("../integrations/supabase/types").Json;
24452
+ };
24453
+ pick_available_pick_days: {
24454
+ Args: {
24455
+ _max_days?: number;
24456
+ };
24457
+ Returns: {
24458
+ orders: number;
24459
+ pick_day: string;
24460
+ }[];
24461
+ };
24462
+ pick_buffer_order_ids: {
24463
+ Args: {
24464
+ _order_id: string;
24465
+ };
24466
+ Returns: string[];
24467
+ };
24468
+ pick_cart_breakdown: {
24469
+ Args: {
24470
+ _order_id: string;
24471
+ };
24472
+ Returns: import("../integrations/supabase/types").Json;
24473
+ };
24474
+ pick_claim_document: {
24475
+ Args: {
24476
+ _queue_item_id: string;
24477
+ _screen_id: string;
24478
+ _session_id: string;
24479
+ _station_id: string;
24480
+ _timeout_seconds?: number;
24481
+ };
24482
+ Returns: {
24483
+ announced_at: string;
24484
+ assigned_user_id: string | null;
24485
+ barcode: string | null;
24486
+ cancelled_at: string | null;
24487
+ cart_count: number;
24488
+ completed_at: string | null;
24489
+ country_code: string | null;
24490
+ created_at: string;
24491
+ customer_name: string | null;
24492
+ delivery_address: string | null;
24493
+ document_number: string | null;
24494
+ document_type_id: string | null;
24495
+ due_at: string | null;
24496
+ id: string;
24497
+ is_urgent: boolean;
24498
+ line_count: number;
24499
+ order_number: string | null;
24500
+ order_type: string | null;
24501
+ payload: import("../integrations/supabase/types").Json;
24502
+ print_count: number;
24503
+ print_job_id: string | null;
24504
+ printed_at: string | null;
24505
+ printed_by: string | null;
24506
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24507
+ printer_id: string | null;
24508
+ priority: number;
24509
+ reference: string | null;
24510
+ route: string | null;
24511
+ screen_id: string | null;
24512
+ station_id: string | null;
24513
+ status_id: string | null;
24514
+ updated_at: string;
24515
+ warnings: import("../integrations/supabase/types").Json;
24516
+ };
24517
+ SetofOptions: {
24518
+ from: "*";
24519
+ to: "pick_queue";
24520
+ isOneToOne: true;
24521
+ isSetofReturn: false;
24522
+ };
24523
+ };
24524
+ pick_claim_next_document: {
24525
+ Args: {
24526
+ _country_code: string;
24527
+ _pick_day?: string;
24528
+ _screen_id: string;
24529
+ _session_id: string;
24530
+ _station_id: string;
24531
+ _timeout_seconds?: number;
24532
+ };
24533
+ Returns: {
24534
+ announced_at: string;
24535
+ assigned_user_id: string | null;
24536
+ barcode: string | null;
24537
+ cancelled_at: string | null;
24538
+ cart_count: number;
24539
+ completed_at: string | null;
24540
+ country_code: string | null;
24541
+ created_at: string;
24542
+ customer_name: string | null;
24543
+ delivery_address: string | null;
24544
+ document_number: string | null;
24545
+ document_type_id: string | null;
24546
+ due_at: string | null;
24547
+ id: string;
24548
+ is_urgent: boolean;
24549
+ line_count: number;
24550
+ order_number: string | null;
24551
+ order_type: string | null;
24552
+ payload: import("../integrations/supabase/types").Json;
24553
+ print_count: number;
24554
+ print_job_id: string | null;
24555
+ printed_at: string | null;
24556
+ printed_by: string | null;
24557
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24558
+ printer_id: string | null;
24559
+ priority: number;
24560
+ reference: string | null;
24561
+ route: string | null;
24562
+ screen_id: string | null;
24563
+ station_id: string | null;
24564
+ status_id: string | null;
24565
+ updated_at: string;
24566
+ warnings: import("../integrations/supabase/types").Json;
24567
+ };
24568
+ SetofOptions: {
24569
+ from: "*";
24570
+ to: "pick_queue";
24571
+ isOneToOne: true;
24572
+ isSetofReturn: false;
24573
+ };
24574
+ };
24575
+ pick_cleanup_maintenance: {
24576
+ Args: {
24577
+ _heartbeat_hours?: number;
24578
+ _log_days?: number;
24579
+ };
24580
+ Returns: import("../integrations/supabase/types").Json;
24581
+ };
24582
+ pick_complete_print: {
24583
+ Args: {
24584
+ _printer_id: string;
24585
+ _queue_item_id: string;
24586
+ _session_id: string;
24587
+ };
24588
+ Returns: {
24589
+ announced_at: string;
24590
+ assigned_user_id: string | null;
24591
+ barcode: string | null;
24592
+ cancelled_at: string | null;
24593
+ cart_count: number;
24594
+ completed_at: string | null;
24595
+ country_code: string | null;
24596
+ created_at: string;
24597
+ customer_name: string | null;
24598
+ delivery_address: string | null;
24599
+ document_number: string | null;
24600
+ document_type_id: string | null;
24601
+ due_at: string | null;
24602
+ id: string;
24603
+ is_urgent: boolean;
24604
+ line_count: number;
24605
+ order_number: string | null;
24606
+ order_type: string | null;
24607
+ payload: import("../integrations/supabase/types").Json;
24608
+ print_count: number;
24609
+ print_job_id: string | null;
24610
+ printed_at: string | null;
24611
+ printed_by: string | null;
24612
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24613
+ printer_id: string | null;
24614
+ priority: number;
24615
+ reference: string | null;
24616
+ route: string | null;
24617
+ screen_id: string | null;
24618
+ station_id: string | null;
24619
+ status_id: string | null;
24620
+ updated_at: string;
24621
+ warnings: import("../integrations/supabase/types").Json;
24622
+ };
24623
+ SetofOptions: {
24624
+ from: "*";
24625
+ to: "pick_queue";
24626
+ isOneToOne: true;
24627
+ isSetofReturn: false;
24628
+ };
24629
+ };
24630
+ pick_complete_print_cart: {
24631
+ Args: {
24632
+ _cart_id: string;
24633
+ _printer_id: string;
24634
+ _queue_item_id: string;
24635
+ _session_id: string;
24636
+ };
24637
+ Returns: {
24638
+ announced_at: string;
24639
+ assigned_user_id: string | null;
24640
+ barcode: string | null;
24641
+ cancelled_at: string | null;
24642
+ cart_count: number;
24643
+ completed_at: string | null;
24644
+ country_code: string | null;
24645
+ created_at: string;
24646
+ customer_name: string | null;
24647
+ delivery_address: string | null;
24648
+ document_number: string | null;
24649
+ document_type_id: string | null;
24650
+ due_at: string | null;
24651
+ id: string;
24652
+ is_urgent: boolean;
24653
+ line_count: number;
24654
+ order_number: string | null;
24655
+ order_type: string | null;
24656
+ payload: import("../integrations/supabase/types").Json;
24657
+ print_count: number;
24658
+ print_job_id: string | null;
24659
+ printed_at: string | null;
24660
+ printed_by: string | null;
24661
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24662
+ printer_id: string | null;
24663
+ priority: number;
24664
+ reference: string | null;
24665
+ route: string | null;
24666
+ screen_id: string | null;
24667
+ station_id: string | null;
24668
+ status_id: string | null;
24669
+ updated_at: string;
24670
+ warnings: import("../integrations/supabase/types").Json;
24671
+ };
24672
+ SetofOptions: {
24673
+ from: "*";
24674
+ to: "pick_queue";
24675
+ isOneToOne: true;
24676
+ isSetofReturn: false;
24677
+ };
24678
+ };
24679
+ pick_complete_print_carts: {
24680
+ Args: {
24681
+ _cart_ids: string[];
24682
+ _queue_item_id: string;
24683
+ _session_id: string;
24684
+ };
24685
+ Returns: import("../integrations/supabase/types").Json;
24686
+ };
24687
+ pick_current_pick_day: {
24688
+ Args: never;
24689
+ Returns: string;
24690
+ };
24691
+ pick_day_counts: {
24692
+ Args: {
24693
+ _pick_day?: string;
24694
+ _screen_id?: string;
24695
+ _station_id?: string;
24696
+ };
24697
+ Returns: import("../integrations/supabase/types").Json;
24698
+ };
24699
+ pick_document_layout_data: {
24700
+ Args: {
24701
+ _layout_id: string;
24702
+ };
24703
+ Returns: import("../integrations/supabase/types").Json;
24704
+ };
24705
+ pick_enqueue_print_job: {
24706
+ Args: {
24707
+ _is_herprint?: boolean;
24708
+ _printer_id?: string;
24709
+ _queue_item_id: string;
24710
+ _session_id?: string;
24711
+ };
24712
+ Returns: string;
24713
+ } | {
24714
+ Args: {
24715
+ _cart_id: string;
24716
+ _is_herprint: boolean;
24717
+ _printer_id: string;
24718
+ _queue_item_id: string;
24719
+ _session_id: string;
24720
+ };
24721
+ Returns: string;
24722
+ };
24723
+ pick_enqueue_print_job_from_cart: {
24724
+ Args: {
24725
+ _cart_id: string;
24726
+ _is_herprint: boolean;
24727
+ _printer_id: string;
24728
+ _queue_item_id: string;
24729
+ _selected_cart: import("../integrations/supabase/types").Json;
24730
+ _session_id: string;
24731
+ };
24732
+ Returns: string;
24733
+ };
24734
+ pick_mark_printed: {
24735
+ Args: {
24736
+ _queue_item_id: string;
24737
+ _reden?: string;
24738
+ _session_id: string;
24739
+ };
24740
+ Returns: {
24741
+ announced_at: string;
24742
+ assigned_user_id: string | null;
24743
+ barcode: string | null;
24744
+ cancelled_at: string | null;
24745
+ cart_count: number;
24746
+ completed_at: string | null;
24747
+ country_code: string | null;
24748
+ created_at: string;
24749
+ customer_name: string | null;
24750
+ delivery_address: string | null;
24751
+ document_number: string | null;
24752
+ document_type_id: string | null;
24753
+ due_at: string | null;
24754
+ id: string;
24755
+ is_urgent: boolean;
24756
+ line_count: number;
24757
+ order_number: string | null;
24758
+ order_type: string | null;
24759
+ payload: import("../integrations/supabase/types").Json;
24760
+ print_count: number;
24761
+ print_job_id: string | null;
24762
+ printed_at: string | null;
24763
+ printed_by: string | null;
24764
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24765
+ printer_id: string | null;
24766
+ priority: number;
24767
+ reference: string | null;
24768
+ route: string | null;
24769
+ screen_id: string | null;
24770
+ station_id: string | null;
24771
+ status_id: string | null;
24772
+ updated_at: string;
24773
+ warnings: import("../integrations/supabase/types").Json;
24774
+ };
24775
+ SetofOptions: {
24776
+ from: "*";
24777
+ to: "pick_queue";
24778
+ isOneToOne: true;
24779
+ isSetofReturn: false;
24780
+ };
24781
+ };
24782
+ pick_order_context: {
24783
+ Args: {
24784
+ _order_id?: string;
24785
+ _order_number?: string;
24786
+ };
24787
+ Returns: import("../integrations/supabase/types").Json;
24788
+ };
24789
+ pick_preview_job: {
24790
+ Args: {
24791
+ _queue_item_id: string;
24792
+ _station_slug: string;
24793
+ };
24794
+ Returns: import("../integrations/supabase/types").Json;
24795
+ };
24796
+ pick_print_job_status: {
24797
+ Args: {
24798
+ _job_id: string;
24799
+ };
24800
+ Returns: import("../integrations/supabase/types").Json;
24801
+ };
24802
+ pick_print_jobs_status: {
24803
+ Args: {
24804
+ _job_ids: string[];
24805
+ };
24806
+ Returns: import("../integrations/supabase/types").Json[];
24807
+ };
24808
+ pick_print_plekken: {
24809
+ Args: never;
24810
+ Returns: {
24811
+ id: string;
24812
+ naam: string;
24813
+ omschrijving: string;
24814
+ }[];
24815
+ };
24816
+ pick_queue_cart_plan: {
24817
+ Args: {
24818
+ _queue_item_id: string;
24819
+ };
24820
+ Returns: import("../integrations/supabase/types").Json;
24821
+ };
24822
+ pick_reference_data_status: {
24823
+ Args: never;
24824
+ Returns: import("../integrations/supabase/types").Json;
24825
+ };
24826
+ pick_release_expired_locks: {
24827
+ Args: never;
24828
+ Returns: number;
24829
+ };
24830
+ pick_release_lock: {
24831
+ Args: {
24832
+ _queue_item_id: string;
24833
+ };
24834
+ Returns: undefined;
24835
+ };
24836
+ pick_report_missing_cart_plan: {
24837
+ Args: never;
24838
+ Returns: import("../integrations/supabase/types").Json;
24839
+ };
24840
+ pick_reprint_cart: {
24841
+ Args: {
24842
+ _cart_id: string;
24843
+ _queue_item_id: string;
24844
+ _session_id: string;
24845
+ _throttle_seconds?: number;
24846
+ };
24847
+ Returns: string;
24848
+ };
24849
+ pick_reprint_document: {
24850
+ Args: {
24851
+ _queue_item_id: string;
24852
+ _session_id: string;
24853
+ _throttle_seconds?: number;
24854
+ };
24855
+ Returns: string;
24856
+ };
24857
+ pick_reset_print: {
22493
24858
  Args: {
22494
24859
  _queue_item_id: string;
22495
- _screen_id: string;
22496
24860
  _session_id: string;
22497
- _station_id: string;
22498
- _timeout_seconds?: number;
22499
24861
  };
22500
24862
  Returns: {
22501
24863
  announced_at: string;
@@ -22521,6 +24883,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22521
24883
  print_job_id: string | null;
22522
24884
  printed_at: string | null;
22523
24885
  printed_by: string | null;
24886
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22524
24887
  printer_id: string | null;
22525
24888
  priority: number;
22526
24889
  reference: string | null;
@@ -22537,14 +24900,11 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22537
24900
  isOneToOne: true;
22538
24901
  isSetofReturn: false;
22539
24902
  };
22540
- };
22541
- pick_claim_next_document: {
24903
+ } | {
22542
24904
  Args: {
22543
- _country_code: string;
22544
- _screen_id: string;
24905
+ _cart_id?: string;
24906
+ _queue_item_id: string;
22545
24907
  _session_id: string;
22546
- _station_id: string;
22547
- _timeout_seconds?: number;
22548
24908
  };
22549
24909
  Returns: {
22550
24910
  announced_at: string;
@@ -22570,6 +24930,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22570
24930
  print_job_id: string | null;
22571
24931
  printed_at: string | null;
22572
24932
  printed_by: string | null;
24933
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22573
24934
  printer_id: string | null;
22574
24935
  priority: number;
22575
24936
  reference: string | null;
@@ -22587,16 +24948,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22587
24948
  isSetofReturn: false;
22588
24949
  };
22589
24950
  };
22590
- pick_cleanup_maintenance: {
22591
- Args: {
22592
- _heartbeat_hours?: number;
22593
- _log_days?: number;
22594
- };
22595
- Returns: import("../integrations/supabase/types").Json;
22596
- };
22597
- pick_complete_print: {
24951
+ pick_reset_print_job: {
22598
24952
  Args: {
22599
- _printer_id: string;
24953
+ _cart_id: string;
24954
+ _job_id: string;
22600
24955
  _queue_item_id: string;
22601
24956
  _session_id: string;
22602
24957
  };
@@ -22624,6 +24979,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22624
24979
  print_job_id: string | null;
22625
24980
  printed_at: string | null;
22626
24981
  printed_by: string | null;
24982
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22627
24983
  printer_id: string | null;
22628
24984
  priority: number;
22629
24985
  reference: string | null;
@@ -22641,84 +24997,56 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22641
24997
  isSetofReturn: false;
22642
24998
  };
22643
24999
  };
22644
- pick_current_pick_day: {
22645
- Args: never;
22646
- Returns: string;
22647
- };
22648
- pick_day_counts: {
22649
- Args: {
22650
- _pick_day?: string;
22651
- _screen_id?: string;
22652
- _station_id?: string;
22653
- };
22654
- Returns: import("../integrations/supabase/types").Json;
22655
- };
22656
- pick_document_layout_data: {
22657
- Args: {
22658
- _layout_id: string;
22659
- };
22660
- Returns: import("../integrations/supabase/types").Json;
22661
- };
22662
- pick_enqueue_print_job: {
22663
- Args: {
22664
- _is_herprint?: boolean;
22665
- _printer_id?: string;
22666
- _queue_item_id: string;
22667
- _session_id?: string;
22668
- };
22669
- Returns: string;
22670
- };
22671
- pick_order_context: {
22672
- Args: {
22673
- _order_id?: string;
22674
- _order_number?: string;
22675
- };
22676
- Returns: import("../integrations/supabase/types").Json;
22677
- };
22678
- pick_preview_job: {
25000
+ pick_reset_print_jobs: {
22679
25001
  Args: {
25002
+ _cart_ids: string[];
25003
+ _job_ids: string[];
22680
25004
  _queue_item_id: string;
22681
- _station_slug: string;
22682
- };
22683
- Returns: import("../integrations/supabase/types").Json;
22684
- };
22685
- pick_print_job_status: {
22686
- Args: {
22687
- _job_id: string;
25005
+ _session_id: string;
22688
25006
  };
22689
- Returns: import("../integrations/supabase/types").Json;
22690
- };
22691
- pick_print_plekken: {
22692
- Args: never;
22693
25007
  Returns: {
25008
+ announced_at: string;
25009
+ assigned_user_id: string | null;
25010
+ barcode: string | null;
25011
+ cancelled_at: string | null;
25012
+ cart_count: number;
25013
+ completed_at: string | null;
25014
+ country_code: string | null;
25015
+ created_at: string;
25016
+ customer_name: string | null;
25017
+ delivery_address: string | null;
25018
+ document_number: string | null;
25019
+ document_type_id: string | null;
25020
+ due_at: string | null;
22694
25021
  id: string;
22695
- naam: string;
22696
- omschrijving: string;
22697
- }[];
22698
- };
22699
- pick_reference_data_status: {
22700
- Args: never;
22701
- Returns: import("../integrations/supabase/types").Json;
22702
- };
22703
- pick_release_expired_locks: {
22704
- Args: never;
22705
- Returns: number;
22706
- };
22707
- pick_release_lock: {
22708
- Args: {
22709
- _queue_item_id: string;
25022
+ is_urgent: boolean;
25023
+ line_count: number;
25024
+ order_number: string | null;
25025
+ order_type: string | null;
25026
+ payload: import("../integrations/supabase/types").Json;
25027
+ print_count: number;
25028
+ print_job_id: string | null;
25029
+ printed_at: string | null;
25030
+ printed_by: string | null;
25031
+ printed_cart_ids: import("../integrations/supabase/types").Json;
25032
+ printer_id: string | null;
25033
+ priority: number;
25034
+ reference: string | null;
25035
+ route: string | null;
25036
+ screen_id: string | null;
25037
+ station_id: string | null;
25038
+ status_id: string | null;
25039
+ updated_at: string;
25040
+ warnings: import("../integrations/supabase/types").Json;
22710
25041
  };
22711
- Returns: undefined;
22712
- };
22713
- pick_reprint_document: {
22714
- Args: {
22715
- _queue_item_id: string;
22716
- _session_id: string;
22717
- _throttle_seconds?: number;
25042
+ SetofOptions: {
25043
+ from: "*";
25044
+ to: "pick_queue";
25045
+ isOneToOne: true;
25046
+ isSetofReturn: false;
22718
25047
  };
22719
- Returns: string;
22720
25048
  };
22721
- pick_reset_print: {
25049
+ pick_restore_to_queue: {
22722
25050
  Args: {
22723
25051
  _queue_item_id: string;
22724
25052
  _session_id: string;
@@ -22747,6 +25075,7 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22747
25075
  print_job_id: string | null;
22748
25076
  printed_at: string | null;
22749
25077
  printed_by: string | null;
25078
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22750
25079
  printer_id: string | null;
22751
25080
  priority: number;
22752
25081
  reference: string | null;
@@ -22813,6 +25142,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
22813
25142
  };
22814
25143
  Returns: string;
22815
25144
  };
25145
+ pick_sync_pick_day: {
25146
+ Args: {
25147
+ _day: string;
25148
+ };
25149
+ Returns: import("../integrations/supabase/types").Json;
25150
+ };
22816
25151
  pick_sync_queue_throttled: {
22817
25152
  Args: {
22818
25153
  _min_seconds?: number;
@@ -23042,6 +25377,26 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23042
25377
  };
23043
25378
  Returns: boolean;
23044
25379
  };
25380
+ release_job_lock: {
25381
+ Args: {
25382
+ _key: string;
25383
+ };
25384
+ Returns: undefined;
25385
+ };
25386
+ release_local_pdf_job: {
25387
+ Args: {
25388
+ _job_id: string;
25389
+ _writer_id: string;
25390
+ };
25391
+ Returns: boolean;
25392
+ };
25393
+ release_print_queue_lease: {
25394
+ Args: {
25395
+ _houder: string;
25396
+ _naam: string;
25397
+ };
25398
+ Returns: boolean;
25399
+ };
23045
25400
  release_stale_order_invoice_links: {
23046
25401
  Args: {
23047
25402
  _minutes?: number;
@@ -23062,6 +25417,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23062
25417
  };
23063
25418
  Returns: import("../integrations/supabase/types").Json;
23064
25419
  };
25420
+ reset_cart_layer_positions: {
25421
+ Args: {
25422
+ p_cart_id: string;
25423
+ };
25424
+ Returns: number;
25425
+ };
23065
25426
  reset_floriday_sync_cursor: {
23066
25427
  Args: {
23067
25428
  p_connection_id: string;
@@ -23125,6 +25486,15 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23125
25486
  };
23126
25487
  Returns: import("../integrations/supabase/types").Json;
23127
25488
  };
25489
+ roles_without_enum_mapping: {
25490
+ Args: never;
25491
+ Returns: {
25492
+ assignment_count: number;
25493
+ id: string;
25494
+ key: string;
25495
+ name: string;
25496
+ }[];
25497
+ };
23128
25498
  ruim_print_jobs_op: {
23129
25499
  Args: {
23130
25500
  _bewaar_dagen?: number;
@@ -23139,6 +25509,10 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23139
25509
  Args: never;
23140
25510
  Returns: undefined;
23141
25511
  };
25512
+ run_floriday_stock_reconcile: {
25513
+ Args: never;
25514
+ Returns: undefined;
25515
+ };
23142
25516
  run_logistics_tasks_dispatch: {
23143
25517
  Args: never;
23144
25518
  Returns: undefined;
@@ -23157,18 +25531,98 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23157
25531
  };
23158
25532
  Returns: import("../integrations/supabase/types").Json;
23159
25533
  };
25534
+ scan_complete_cart: {
25535
+ Args: {
25536
+ p_allow_reprint?: boolean;
25537
+ p_cart_id: string;
25538
+ p_print?: boolean;
25539
+ p_scanner_id?: string;
25540
+ };
25541
+ Returns: import("../integrations/supabase/types").Json;
25542
+ };
23160
25543
  scan_dashboard_stats: {
23161
25544
  Args: {
23162
25545
  p_dagen?: number;
23163
25546
  };
23164
25547
  Returns: import("../integrations/supabase/types").Json;
23165
25548
  };
25549
+ scan_eindcontrole: {
25550
+ Args: {
25551
+ p_barcode: string;
25552
+ p_scanner_id?: string;
25553
+ };
25554
+ Returns: import("../integrations/supabase/types").Json;
25555
+ };
23166
25556
  scan_finish_kar: {
23167
25557
  Args: {
23168
25558
  p_kar_id: string;
23169
25559
  };
23170
25560
  Returns: import("../integrations/supabase/types").Json;
23171
25561
  };
25562
+ scan_kar_compleet: {
25563
+ Args: {
25564
+ p_allow_reprint?: boolean;
25565
+ p_sessie_id: string;
25566
+ };
25567
+ Returns: import("../integrations/supabase/types").Json;
25568
+ };
25569
+ scan_kar_regels: {
25570
+ Args: {
25571
+ p_cart_id: string;
25572
+ };
25573
+ Returns: import("../integrations/supabase/types").Json;
25574
+ };
25575
+ scan_log_code: {
25576
+ Args: {
25577
+ p_code: string;
25578
+ p_latency_ms?: number;
25579
+ p_message?: string;
25580
+ p_result: string;
25581
+ p_scanner_key?: string;
25582
+ };
25583
+ Returns: string;
25584
+ };
25585
+ scan_open_pakbonnen: {
25586
+ Args: {
25587
+ p_dagen?: number;
25588
+ };
25589
+ Returns: import("../integrations/supabase/types").Json;
25590
+ };
25591
+ scan_pakbon_lookup: {
25592
+ Args: {
25593
+ p_barcode: string;
25594
+ };
25595
+ Returns: import("../integrations/supabase/types").Json;
25596
+ };
25597
+ scan_pakbon_opnieuw: {
25598
+ Args: {
25599
+ p_barcode: string;
25600
+ p_scanner_id?: string;
25601
+ };
25602
+ Returns: import("../integrations/supabase/types").Json;
25603
+ };
25604
+ scan_pakbon_toevoegen: {
25605
+ Args: {
25606
+ p_barcode: string;
25607
+ p_medewerker?: string;
25608
+ p_regels?: import("../integrations/supabase/types").Json;
25609
+ p_scanner_id: string;
25610
+ };
25611
+ Returns: import("../integrations/supabase/types").Json;
25612
+ };
25613
+ scan_print_restpakbon: {
25614
+ Args: {
25615
+ p_printer_id?: string;
25616
+ p_restpakbon_id: string;
25617
+ };
25618
+ Returns: import("../integrations/supabase/types").Json;
25619
+ };
25620
+ scan_print_verzendbrief: {
25621
+ Args: {
25622
+ p_sessie_id: string;
25623
+ };
25624
+ Returns: import("../integrations/supabase/types").Json;
25625
+ };
23172
25626
  scan_register_item: {
23173
25627
  Args: {
23174
25628
  p_kar_id: string;
@@ -23187,6 +25641,25 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23187
25641
  };
23188
25642
  Returns: import("../integrations/supabase/types").Json;
23189
25643
  };
25644
+ scan_restpakbon_geprint: {
25645
+ Args: {
25646
+ p_id: string;
25647
+ p_print_job_id?: string;
25648
+ };
25649
+ Returns: undefined;
25650
+ };
25651
+ scan_sessie_annuleren: {
25652
+ Args: {
25653
+ p_sessie_id: string;
25654
+ };
25655
+ Returns: undefined;
25656
+ };
25657
+ scan_sessie_open: {
25658
+ Args: {
25659
+ p_scanner_id: string;
25660
+ };
25661
+ Returns: import("../integrations/supabase/types").Json;
25662
+ };
23190
25663
  scan_start_kar: {
23191
25664
  Args: {
23192
25665
  p_medewerker_id?: string;
@@ -23205,6 +25678,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23205
25678
  };
23206
25679
  Returns: import("../integrations/supabase/types").Json;
23207
25680
  };
25681
+ scan_verzendbrief_regels: {
25682
+ Args: {
25683
+ p_sessie_id: string;
25684
+ };
25685
+ Returns: import("../integrations/supabase/types").Json;
25686
+ };
23208
25687
  schedule_floriday_additional_services_sync: {
23209
25688
  Args: {
23210
25689
  p_apikey: string;
@@ -23520,6 +25999,13 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23520
25999
  };
23521
26000
  Returns: import("../integrations/supabase/types").Json;
23522
26001
  };
26002
+ swap_cart_layer_positions: {
26003
+ Args: {
26004
+ p_a: string;
26005
+ p_b: string;
26006
+ };
26007
+ Returns: undefined;
26008
+ };
23523
26009
  switch_time_log: {
23524
26010
  Args: {
23525
26011
  p_employee_id: string;
@@ -23552,6 +26038,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23552
26038
  };
23553
26039
  Returns: undefined;
23554
26040
  };
26041
+ sync_order_item_fusten: {
26042
+ Args: {
26043
+ _order_item_id: string;
26044
+ };
26045
+ Returns: undefined;
26046
+ };
23555
26047
  sync_product_group_belading: {
23556
26048
  Args: {
23557
26049
  _group_id: string;
@@ -23579,6 +26071,14 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23579
26071
  row_count: number;
23580
26072
  }[];
23581
26073
  };
26074
+ try_acquire_job_lock: {
26075
+ Args: {
26076
+ _key: string;
26077
+ _owner?: string;
26078
+ _seconds?: number;
26079
+ };
26080
+ Returns: boolean;
26081
+ };
23582
26082
  try_debtor_lock: {
23583
26083
  Args: {
23584
26084
  _group_key: string;
@@ -23658,6 +26158,12 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23658
26158
  Args: never;
23659
26159
  Returns: string;
23660
26160
  };
26161
+ wake_print_queue: {
26162
+ Args: {
26163
+ _min_interval_ms?: number;
26164
+ };
26165
+ Returns: number;
26166
+ };
23661
26167
  werkbon_totalen: {
23662
26168
  Args: {
23663
26169
  _werkbon_id: string;
@@ -23690,10 +26196,18 @@ export declare const getVbnRequiredFeatures: import("@tanstack/start-client-core
23690
26196
  };
23691
26197
  Returns: import("../integrations/supabase/types").Json;
23692
26198
  };
26199
+ wo_set_status: {
26200
+ Args: {
26201
+ _reason?: string;
26202
+ _status: string;
26203
+ _work_order_id: string;
26204
+ };
26205
+ Returns: import("../integrations/supabase/types").Json;
26206
+ };
23693
26207
  };
23694
26208
  Enums: {
23695
26209
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23696
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26210
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23697
26211
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23698
26212
  doc_orientation: "portrait" | "landscape";
23699
26213
  exact_env: "staging" | "live";