@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
@@ -691,6 +691,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
691
691
  raw: import("./types").Json;
692
692
  updated_at: string;
693
693
  valuta: string;
694
+ velden: import("./types").Json;
694
695
  };
695
696
  Insert: {
696
697
  artikelcode: string;
@@ -708,6 +709,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
708
709
  raw?: import("./types").Json;
709
710
  updated_at?: string;
710
711
  valuta?: string;
712
+ velden?: import("./types").Json;
711
713
  };
712
714
  Update: {
713
715
  artikelcode?: string;
@@ -725,6 +727,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
725
727
  raw?: import("./types").Json;
726
728
  updated_at?: string;
727
729
  valuta?: string;
730
+ velden?: import("./types").Json;
728
731
  };
729
732
  Relationships: [];
730
733
  };
@@ -1419,8 +1422,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1419
1422
  Row: {
1420
1423
  assigned_at: string;
1421
1424
  cart_index: number;
1422
- cart_number: string;
1423
- day_seq: number;
1425
+ cart_number: string | null;
1426
+ day_seq: number | null;
1427
+ delivered_at: string | null;
1424
1428
  id: string;
1425
1429
  order_id: string;
1426
1430
  order_source: string;
@@ -1430,8 +1434,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1430
1434
  Insert: {
1431
1435
  assigned_at?: string;
1432
1436
  cart_index: number;
1433
- cart_number: string;
1434
- day_seq: number;
1437
+ cart_number?: string | null;
1438
+ day_seq?: number | null;
1439
+ delivered_at?: string | null;
1435
1440
  id?: string;
1436
1441
  order_id: string;
1437
1442
  order_source: string;
@@ -1441,8 +1446,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1441
1446
  Update: {
1442
1447
  assigned_at?: string;
1443
1448
  cart_index?: number;
1444
- cart_number?: string;
1445
- day_seq?: number;
1449
+ cart_number?: string | null;
1450
+ day_seq?: number | null;
1451
+ delivered_at?: string | null;
1446
1452
  id?: string;
1447
1453
  order_id?: string;
1448
1454
  order_source?: string;
@@ -1543,6 +1549,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1543
1549
  updated_at?: string;
1544
1550
  };
1545
1551
  Relationships: [{
1552
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1553
+ columns: ["product_id"];
1554
+ isOneToOne: true;
1555
+ referencedRelation: "logistics_product_dimensions";
1556
+ referencedColumns: ["product_id"];
1557
+ }, {
1546
1558
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1547
1559
  columns: ["product_id"];
1548
1560
  isOneToOne: true;
@@ -2143,6 +2155,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2143
2155
  created_at: string;
2144
2156
  currency: string;
2145
2157
  distribute_over: string | null;
2158
+ external_id: string | null;
2159
+ external_synced_at: string | null;
2146
2160
  group_type: string;
2147
2161
  handling_fee: number | null;
2148
2162
  id: string;
@@ -2155,6 +2169,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2155
2169
  rounding: string;
2156
2170
  rounding_step: number;
2157
2171
  sort_order: number;
2172
+ source: string;
2158
2173
  unit: string;
2159
2174
  updated_at: string;
2160
2175
  };
@@ -2165,6 +2180,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2165
2180
  created_at?: string;
2166
2181
  currency?: string;
2167
2182
  distribute_over?: string | null;
2183
+ external_id?: string | null;
2184
+ external_synced_at?: string | null;
2168
2185
  group_type?: string;
2169
2186
  handling_fee?: number | null;
2170
2187
  id?: string;
@@ -2177,6 +2194,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2177
2194
  rounding?: string;
2178
2195
  rounding_step?: number;
2179
2196
  sort_order?: number;
2197
+ source?: string;
2180
2198
  unit?: string;
2181
2199
  updated_at?: string;
2182
2200
  };
@@ -2187,6 +2205,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2187
2205
  created_at?: string;
2188
2206
  currency?: string;
2189
2207
  distribute_over?: string | null;
2208
+ external_id?: string | null;
2209
+ external_synced_at?: string | null;
2190
2210
  group_type?: string;
2191
2211
  handling_fee?: number | null;
2192
2212
  id?: string;
@@ -2199,6 +2219,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2199
2219
  rounding?: string;
2200
2220
  rounding_step?: number;
2201
2221
  sort_order?: number;
2222
+ source?: string;
2202
2223
  unit?: string;
2203
2224
  updated_at?: string;
2204
2225
  };
@@ -7070,6 +7091,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7070
7091
  };
7071
7092
  Relationships: [];
7072
7093
  };
7094
+ floriday_status_sync_queue: {
7095
+ Row: {
7096
+ attempts: number;
7097
+ created_at: string;
7098
+ error: string | null;
7099
+ floriday_sales_order_id: string;
7100
+ order_id: string;
7101
+ processed_at: string | null;
7102
+ requested_at: string;
7103
+ state: string;
7104
+ target_status: string;
7105
+ updated_at: string;
7106
+ };
7107
+ Insert: {
7108
+ attempts?: number;
7109
+ created_at?: string;
7110
+ error?: string | null;
7111
+ floriday_sales_order_id: string;
7112
+ order_id: string;
7113
+ processed_at?: string | null;
7114
+ requested_at?: string;
7115
+ state?: string;
7116
+ target_status: string;
7117
+ updated_at?: string;
7118
+ };
7119
+ Update: {
7120
+ attempts?: number;
7121
+ created_at?: string;
7122
+ error?: string | null;
7123
+ floriday_sales_order_id?: string;
7124
+ order_id?: string;
7125
+ processed_at?: string | null;
7126
+ requested_at?: string;
7127
+ state?: string;
7128
+ target_status?: string;
7129
+ updated_at?: string;
7130
+ };
7131
+ Relationships: [{
7132
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7133
+ columns: ["order_id"];
7134
+ isOneToOne: true;
7135
+ referencedRelation: "orders";
7136
+ referencedColumns: ["id"];
7137
+ }];
7138
+ };
7073
7139
  floriday_sync_cursors: {
7074
7140
  Row: {
7075
7141
  connection_id: string;
@@ -8304,10 +8370,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8304
8370
  general_email: string | null;
8305
8371
  general_phone: string | null;
8306
8372
  id: string;
8373
+ kvk_number: string | null;
8307
8374
  legacy_customer_id: string | null;
8308
8375
  name: string;
8309
8376
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8310
8377
  updated_at: string;
8378
+ vat_number: string | null;
8311
8379
  };
8312
8380
  Insert: {
8313
8381
  billing_city?: string | null;
@@ -8318,10 +8386,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8318
8386
  general_email?: string | null;
8319
8387
  general_phone?: string | null;
8320
8388
  id?: string;
8389
+ kvk_number?: string | null;
8321
8390
  legacy_customer_id?: string | null;
8322
8391
  name: string;
8323
8392
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8324
8393
  updated_at?: string;
8394
+ vat_number?: string | null;
8325
8395
  };
8326
8396
  Update: {
8327
8397
  billing_city?: string | null;
@@ -8332,10 +8402,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8332
8402
  general_email?: string | null;
8333
8403
  general_phone?: string | null;
8334
8404
  id?: string;
8405
+ kvk_number?: string | null;
8335
8406
  legacy_customer_id?: string | null;
8336
8407
  name?: string;
8337
8408
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8338
8409
  updated_at?: string;
8410
+ vat_number?: string | null;
8339
8411
  };
8340
8412
  Relationships: [];
8341
8413
  };
@@ -8369,6 +8441,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8369
8441
  };
8370
8442
  Relationships: [];
8371
8443
  };
8444
+ itk_handover_github_scan: {
8445
+ Row: {
8446
+ gescand_op: string;
8447
+ gevonden: boolean;
8448
+ melding: string | null;
8449
+ module_id: string | null;
8450
+ repo: string;
8451
+ };
8452
+ Insert: {
8453
+ gescand_op?: string;
8454
+ gevonden?: boolean;
8455
+ melding?: string | null;
8456
+ module_id?: string | null;
8457
+ repo: string;
8458
+ };
8459
+ Update: {
8460
+ gescand_op?: string;
8461
+ gevonden?: boolean;
8462
+ melding?: string | null;
8463
+ module_id?: string | null;
8464
+ repo?: string;
8465
+ };
8466
+ Relationships: [];
8467
+ };
8468
+ itk_handover_module_meta: {
8469
+ Row: {
8470
+ check_aangevraagd_op: string | null;
8471
+ check_nodig: boolean;
8472
+ check_reden: string | null;
8473
+ created_at: string;
8474
+ module_id: string;
8475
+ project_url: string | null;
8476
+ publicatie_url: string | null;
8477
+ updated_at: string;
8478
+ };
8479
+ Insert: {
8480
+ check_aangevraagd_op?: string | null;
8481
+ check_nodig?: boolean;
8482
+ check_reden?: string | null;
8483
+ created_at?: string;
8484
+ module_id: string;
8485
+ project_url?: string | null;
8486
+ publicatie_url?: string | null;
8487
+ updated_at?: string;
8488
+ };
8489
+ Update: {
8490
+ check_aangevraagd_op?: string | null;
8491
+ check_nodig?: boolean;
8492
+ check_reden?: string | null;
8493
+ created_at?: string;
8494
+ module_id?: string;
8495
+ project_url?: string | null;
8496
+ publicatie_url?: string | null;
8497
+ updated_at?: string;
8498
+ };
8499
+ Relationships: [];
8500
+ };
8501
+ itk_handover_project_modules: {
8502
+ Row: {
8503
+ created_at: string;
8504
+ id: string;
8505
+ module_id: string;
8506
+ project_id: string;
8507
+ updated_at: string;
8508
+ };
8509
+ Insert: {
8510
+ created_at?: string;
8511
+ id?: string;
8512
+ module_id: string;
8513
+ project_id: string;
8514
+ updated_at?: string;
8515
+ };
8516
+ Update: {
8517
+ created_at?: string;
8518
+ id?: string;
8519
+ module_id?: string;
8520
+ project_id?: string;
8521
+ updated_at?: string;
8522
+ };
8523
+ Relationships: [{
8524
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8525
+ columns: ["project_id"];
8526
+ isOneToOne: false;
8527
+ referencedRelation: "itk_handover_projecten";
8528
+ referencedColumns: ["id"];
8529
+ }];
8530
+ };
8531
+ itk_handover_projecten: {
8532
+ Row: {
8533
+ created_at: string;
8534
+ id: string;
8535
+ naam: string;
8536
+ omschrijving: string | null;
8537
+ updated_at: string;
8538
+ };
8539
+ Insert: {
8540
+ created_at?: string;
8541
+ id?: string;
8542
+ naam: string;
8543
+ omschrijving?: string | null;
8544
+ updated_at?: string;
8545
+ };
8546
+ Update: {
8547
+ created_at?: string;
8548
+ id?: string;
8549
+ naam?: string;
8550
+ omschrijving?: string | null;
8551
+ updated_at?: string;
8552
+ };
8553
+ Relationships: [];
8554
+ };
8372
8555
  itk_handover_rechten: {
8373
8556
  Row: {
8374
8557
  created_at: string;
@@ -8396,42 +8579,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8396
8579
  };
8397
8580
  Relationships: [];
8398
8581
  };
8399
- itk_handover_tokens: {
8582
+ itk_module_fingerprints: {
8400
8583
  Row: {
8401
- aangemaakt_door: string | null;
8402
8584
  created_at: string;
8585
+ gemaakt_op: string;
8586
+ hash: string;
8403
8587
  id: string;
8404
- is_actief: boolean;
8405
- laatst_gebruikt_op: string | null;
8406
- label: string;
8407
8588
  module_id: string;
8408
- token_hash: string;
8589
+ payload: import("./types").Json;
8409
8590
  updated_at: string;
8410
- verloopt_op: string | null;
8411
8591
  };
8412
8592
  Insert: {
8413
- aangemaakt_door?: string | null;
8414
8593
  created_at?: string;
8594
+ gemaakt_op?: string;
8595
+ hash: string;
8415
8596
  id?: string;
8416
- is_actief?: boolean;
8417
- laatst_gebruikt_op?: string | null;
8418
- label?: string;
8419
8597
  module_id: string;
8420
- token_hash: string;
8598
+ payload?: import("./types").Json;
8421
8599
  updated_at?: string;
8422
- verloopt_op?: string | null;
8423
8600
  };
8424
8601
  Update: {
8425
- aangemaakt_door?: string | null;
8426
8602
  created_at?: string;
8603
+ gemaakt_op?: string;
8604
+ hash?: string;
8427
8605
  id?: string;
8428
- is_actief?: boolean;
8429
- laatst_gebruikt_op?: string | null;
8430
- label?: string;
8431
8606
  module_id?: string;
8432
- token_hash?: string;
8607
+ payload?: import("./types").Json;
8433
8608
  updated_at?: string;
8434
- verloopt_op?: string | null;
8435
8609
  };
8436
8610
  Relationships: [];
8437
8611
  };
@@ -8439,6 +8613,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8439
8613
  Row: {
8440
8614
  bevindingen: string | null;
8441
8615
  bezit_tabellen: string[];
8616
+ bron_commit: string | null;
8617
+ bron_pad: string | null;
8618
+ bron_repo: string | null;
8619
+ bron_soort: string | null;
8620
+ bron_versie: string | null;
8442
8621
  conflicten_snapshot: import("./types").Json;
8443
8622
  contractfuncties: string[];
8444
8623
  created_at: string;
@@ -8449,6 +8628,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8449
8628
  id: string;
8450
8629
  inhoud_md: string;
8451
8630
  is_actueel: boolean;
8631
+ is_gearchiveerd: boolean;
8632
+ laatst_gecontroleerd_op: string | null;
8452
8633
  module_id: string;
8453
8634
  module_titel: string;
8454
8635
  ontbrekende_contracten: string[];
@@ -8459,6 +8640,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8459
8640
  Insert: {
8460
8641
  bevindingen?: string | null;
8461
8642
  bezit_tabellen?: string[];
8643
+ bron_commit?: string | null;
8644
+ bron_pad?: string | null;
8645
+ bron_repo?: string | null;
8646
+ bron_soort?: string | null;
8647
+ bron_versie?: string | null;
8462
8648
  conflicten_snapshot?: import("./types").Json;
8463
8649
  contractfuncties?: string[];
8464
8650
  created_at?: string;
@@ -8469,6 +8655,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8469
8655
  id?: string;
8470
8656
  inhoud_md: string;
8471
8657
  is_actueel?: boolean;
8658
+ is_gearchiveerd?: boolean;
8659
+ laatst_gecontroleerd_op?: string | null;
8472
8660
  module_id: string;
8473
8661
  module_titel: string;
8474
8662
  ontbrekende_contracten?: string[];
@@ -8479,6 +8667,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8479
8667
  Update: {
8480
8668
  bevindingen?: string | null;
8481
8669
  bezit_tabellen?: string[];
8670
+ bron_commit?: string | null;
8671
+ bron_pad?: string | null;
8672
+ bron_repo?: string | null;
8673
+ bron_soort?: string | null;
8674
+ bron_versie?: string | null;
8482
8675
  conflicten_snapshot?: import("./types").Json;
8483
8676
  contractfuncties?: string[];
8484
8677
  created_at?: string;
@@ -8489,6 +8682,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8489
8682
  id?: string;
8490
8683
  inhoud_md?: string;
8491
8684
  is_actueel?: boolean;
8685
+ is_gearchiveerd?: boolean;
8686
+ laatst_gecontroleerd_op?: string | null;
8492
8687
  module_id?: string;
8493
8688
  module_titel?: string;
8494
8689
  ontbrekende_contracten?: string[];
@@ -8543,6 +8738,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8543
8738
  };
8544
8739
  Relationships: [];
8545
8740
  };
8741
+ itk_module_wijzigingen: {
8742
+ Row: {
8743
+ created_at: string;
8744
+ geconstateerd_op: string;
8745
+ id: string;
8746
+ module_id: string;
8747
+ omschrijving: string;
8748
+ soort: string;
8749
+ updated_at: string;
8750
+ was_na_publicatie: boolean;
8751
+ };
8752
+ Insert: {
8753
+ created_at?: string;
8754
+ geconstateerd_op?: string;
8755
+ id?: string;
8756
+ module_id: string;
8757
+ omschrijving: string;
8758
+ soort: string;
8759
+ updated_at?: string;
8760
+ was_na_publicatie?: boolean;
8761
+ };
8762
+ Update: {
8763
+ created_at?: string;
8764
+ geconstateerd_op?: string;
8765
+ id?: string;
8766
+ module_id?: string;
8767
+ omschrijving?: string;
8768
+ soort?: string;
8769
+ updated_at?: string;
8770
+ was_na_publicatie?: boolean;
8771
+ };
8772
+ Relationships: [];
8773
+ };
8546
8774
  itk_offerte_events: {
8547
8775
  Row: {
8548
8776
  created_at: string;
@@ -8781,12 +9009,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8781
9009
  isOneToOne: false;
8782
9010
  referencedRelation: "werkbonnen";
8783
9011
  referencedColumns: ["id"];
9012
+ }, {
9013
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9014
+ columns: ["follow_up_werkbon_id"];
9015
+ isOneToOne: false;
9016
+ referencedRelation: "wo_overview";
9017
+ referencedColumns: ["id"];
8784
9018
  }, {
8785
9019
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8786
9020
  columns: ["werkbon_id"];
8787
9021
  isOneToOne: false;
8788
9022
  referencedRelation: "werkbonnen";
8789
9023
  referencedColumns: ["id"];
9024
+ }, {
9025
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9026
+ columns: ["werkbon_id"];
9027
+ isOneToOne: false;
9028
+ referencedRelation: "wo_overview";
9029
+ referencedColumns: ["id"];
8790
9030
  }, {
8791
9031
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8792
9032
  columns: ["work_location_id"];
@@ -8843,6 +9083,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8843
9083
  referencedColumns: ["id"];
8844
9084
  }];
8845
9085
  };
9086
+ job_locks: {
9087
+ Row: {
9088
+ created_at: string;
9089
+ lock_key: string;
9090
+ locked_until: string;
9091
+ owner: string | null;
9092
+ updated_at: string;
9093
+ };
9094
+ Insert: {
9095
+ created_at?: string;
9096
+ lock_key: string;
9097
+ locked_until: string;
9098
+ owner?: string | null;
9099
+ updated_at?: string;
9100
+ };
9101
+ Update: {
9102
+ created_at?: string;
9103
+ lock_key?: string;
9104
+ locked_until?: string;
9105
+ owner?: string | null;
9106
+ updated_at?: string;
9107
+ };
9108
+ Relationships: [];
9109
+ };
8846
9110
  layout_logos: {
8847
9111
  Row: {
8848
9112
  bestand_url: string;
@@ -9087,6 +9351,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9087
9351
  isOneToOne: false;
9088
9352
  referencedRelation: "product_categories";
9089
9353
  referencedColumns: ["id"];
9354
+ }, {
9355
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9356
+ columns: ["product_id"];
9357
+ isOneToOne: false;
9358
+ referencedRelation: "logistics_product_dimensions";
9359
+ referencedColumns: ["product_id"];
9090
9360
  }, {
9091
9361
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9092
9362
  columns: ["product_id"];
@@ -9153,6 +9423,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9153
9423
  isOneToOne: false;
9154
9424
  referencedRelation: "product_categories";
9155
9425
  referencedColumns: ["id"];
9426
+ }, {
9427
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9428
+ columns: ["product_id"];
9429
+ isOneToOne: false;
9430
+ referencedRelation: "logistics_product_dimensions";
9431
+ referencedColumns: ["product_id"];
9156
9432
  }, {
9157
9433
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9158
9434
  columns: ["product_id"];
@@ -9219,6 +9495,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9219
9495
  isOneToOne: false;
9220
9496
  referencedRelation: "product_categories";
9221
9497
  referencedColumns: ["id"];
9498
+ }, {
9499
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9500
+ columns: ["product_id"];
9501
+ isOneToOne: false;
9502
+ referencedRelation: "logistics_product_dimensions";
9503
+ referencedColumns: ["product_id"];
9222
9504
  }, {
9223
9505
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9224
9506
  columns: ["product_id"];
@@ -9401,67 +9683,157 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9401
9683
  };
9402
9684
  Relationships: [];
9403
9685
  };
9404
- logistics_decisions: {
9686
+ logistics_cart_barcode: {
9405
9687
  Row: {
9688
+ barcode: string;
9689
+ cart_id: string;
9406
9690
  created_at: string;
9407
- explanation: string | null;
9408
- id: string;
9409
- input_snapshot: import("./types").Json;
9410
- result: import("./types").Json;
9411
- slot: string;
9412
- strategy_id: string | null;
9413
- subject_id: string;
9414
- subject_type: string;
9415
- user_id: string;
9691
+ order_id: string | null;
9416
9692
  };
9417
9693
  Insert: {
9694
+ barcode: string;
9695
+ cart_id: string;
9418
9696
  created_at?: string;
9419
- explanation?: string | null;
9420
- id?: string;
9421
- input_snapshot?: import("./types").Json;
9422
- result?: import("./types").Json;
9423
- slot: string;
9424
- strategy_id?: string | null;
9425
- subject_id: string;
9426
- subject_type: string;
9427
- user_id: string;
9697
+ order_id?: string | null;
9428
9698
  };
9429
9699
  Update: {
9700
+ barcode?: string;
9701
+ cart_id?: string;
9430
9702
  created_at?: string;
9431
- explanation?: string | null;
9432
- id?: string;
9433
- input_snapshot?: import("./types").Json;
9434
- result?: import("./types").Json;
9435
- slot?: string;
9436
- strategy_id?: string | null;
9437
- subject_id?: string;
9438
- subject_type?: string;
9439
- user_id?: string;
9703
+ order_id?: string | null;
9440
9704
  };
9441
- Relationships: [{
9442
- foreignKeyName: "logistics_decisions_strategy_id_fkey";
9443
- columns: ["strategy_id"];
9444
- isOneToOne: false;
9445
- referencedRelation: "logistics_strategies";
9446
- referencedColumns: ["id"];
9447
- }];
9705
+ Relationships: [];
9448
9706
  };
9449
- logistics_delay_alerts: {
9707
+ logistics_control_scan: {
9450
9708
  Row: {
9451
- approved_by: string | null;
9709
+ approved_at: string | null;
9710
+ attempts: number;
9711
+ barcode: string;
9712
+ cart_id: string;
9452
9713
  created_at: string;
9453
- current_status: string | null;
9454
- customer_name: string | null;
9455
- customer_notified: boolean;
9456
- customer_template: string | null;
9457
- email_enabled: boolean;
9458
- email_error: string | null;
9459
- email_recipients: string[];
9460
- email_sent_at: string | null;
9461
- email_status: string;
9462
- expected_delivery_date: string | null;
9463
- id: string;
9464
- load_carrier_id: string | null;
9714
+ document_url: string | null;
9715
+ error: string | null;
9716
+ error_code: string | null;
9717
+ fulfillment_order_id: string | null;
9718
+ id: string;
9719
+ is_floriday: boolean;
9720
+ locked_until: string | null;
9721
+ order_id: string | null;
9722
+ order_number: string | null;
9723
+ print_job_id: string | null;
9724
+ printed_at: string | null;
9725
+ printer_id: string | null;
9726
+ scanner_id: string | null;
9727
+ status: string;
9728
+ updated_at: string;
9729
+ };
9730
+ Insert: {
9731
+ approved_at?: string | null;
9732
+ attempts?: number;
9733
+ barcode: string;
9734
+ cart_id: string;
9735
+ created_at?: string;
9736
+ document_url?: string | null;
9737
+ error?: string | null;
9738
+ error_code?: string | null;
9739
+ fulfillment_order_id?: string | null;
9740
+ id?: string;
9741
+ is_floriday?: boolean;
9742
+ locked_until?: string | null;
9743
+ order_id?: string | null;
9744
+ order_number?: string | null;
9745
+ print_job_id?: string | null;
9746
+ printed_at?: string | null;
9747
+ printer_id?: string | null;
9748
+ scanner_id?: string | null;
9749
+ status?: string;
9750
+ updated_at?: string;
9751
+ };
9752
+ Update: {
9753
+ approved_at?: string | null;
9754
+ attempts?: number;
9755
+ barcode?: string;
9756
+ cart_id?: string;
9757
+ created_at?: string;
9758
+ document_url?: string | null;
9759
+ error?: string | null;
9760
+ error_code?: string | null;
9761
+ fulfillment_order_id?: string | null;
9762
+ id?: string;
9763
+ is_floriday?: boolean;
9764
+ locked_until?: string | null;
9765
+ order_id?: string | null;
9766
+ order_number?: string | null;
9767
+ print_job_id?: string | null;
9768
+ printed_at?: string | null;
9769
+ printer_id?: string | null;
9770
+ scanner_id?: string | null;
9771
+ status?: string;
9772
+ updated_at?: string;
9773
+ };
9774
+ Relationships: [];
9775
+ };
9776
+ logistics_decisions: {
9777
+ Row: {
9778
+ created_at: string;
9779
+ explanation: string | null;
9780
+ id: string;
9781
+ input_snapshot: import("./types").Json;
9782
+ result: import("./types").Json;
9783
+ slot: string;
9784
+ strategy_id: string | null;
9785
+ subject_id: string;
9786
+ subject_type: string;
9787
+ user_id: string;
9788
+ };
9789
+ Insert: {
9790
+ created_at?: string;
9791
+ explanation?: string | null;
9792
+ id?: string;
9793
+ input_snapshot?: import("./types").Json;
9794
+ result?: import("./types").Json;
9795
+ slot: string;
9796
+ strategy_id?: string | null;
9797
+ subject_id: string;
9798
+ subject_type: string;
9799
+ user_id: string;
9800
+ };
9801
+ Update: {
9802
+ created_at?: string;
9803
+ explanation?: string | null;
9804
+ id?: string;
9805
+ input_snapshot?: import("./types").Json;
9806
+ result?: import("./types").Json;
9807
+ slot?: string;
9808
+ strategy_id?: string | null;
9809
+ subject_id?: string;
9810
+ subject_type?: string;
9811
+ user_id?: string;
9812
+ };
9813
+ Relationships: [{
9814
+ foreignKeyName: "logistics_decisions_strategy_id_fkey";
9815
+ columns: ["strategy_id"];
9816
+ isOneToOne: false;
9817
+ referencedRelation: "logistics_strategies";
9818
+ referencedColumns: ["id"];
9819
+ }];
9820
+ };
9821
+ logistics_delay_alerts: {
9822
+ Row: {
9823
+ approved_by: string | null;
9824
+ created_at: string;
9825
+ current_status: string | null;
9826
+ customer_name: string | null;
9827
+ customer_notified: boolean;
9828
+ customer_template: string | null;
9829
+ email_enabled: boolean;
9830
+ email_error: string | null;
9831
+ email_recipients: string[];
9832
+ email_sent_at: string | null;
9833
+ email_status: string;
9834
+ expected_delivery_date: string | null;
9835
+ id: string;
9836
+ load_carrier_id: string | null;
9465
9837
  notification_id: string | null;
9466
9838
  order_id: string | null;
9467
9839
  order_ref: string;
@@ -9686,6 +10058,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9686
10058
  };
9687
10059
  Relationships: [];
9688
10060
  };
10061
+ logistics_floriday_carrier_map: {
10062
+ Row: {
10063
+ carrier_code: string;
10064
+ created_at: string;
10065
+ floriday_code: string;
10066
+ };
10067
+ Insert: {
10068
+ carrier_code: string;
10069
+ created_at?: string;
10070
+ floriday_code: string;
10071
+ };
10072
+ Update: {
10073
+ carrier_code?: string;
10074
+ created_at?: string;
10075
+ floriday_code?: string;
10076
+ };
10077
+ Relationships: [];
10078
+ };
10079
+ logistics_floriday_push_refusals: {
10080
+ Row: {
10081
+ created_at: string;
10082
+ id: string;
10083
+ order_ref: string;
10084
+ reason: string;
10085
+ };
10086
+ Insert: {
10087
+ created_at?: string;
10088
+ id?: string;
10089
+ order_ref: string;
10090
+ reason: string;
10091
+ };
10092
+ Update: {
10093
+ created_at?: string;
10094
+ id?: string;
10095
+ order_ref?: string;
10096
+ reason?: string;
10097
+ };
10098
+ Relationships: [];
10099
+ };
9689
10100
  logistics_floriday_pushes: {
9690
10101
  Row: {
9691
10102
  attempts: number;
@@ -9803,6 +10214,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9803
10214
  referencedColumns: ["id"];
9804
10215
  }];
9805
10216
  };
10217
+ logistics_layer_override_log: {
10218
+ Row: {
10219
+ cart_id: string;
10220
+ created_at: string;
10221
+ details: import("./types").Json;
10222
+ id: string;
10223
+ keg_id: string | null;
10224
+ product_id: string | null;
10225
+ reason: string;
10226
+ };
10227
+ Insert: {
10228
+ cart_id: string;
10229
+ created_at?: string;
10230
+ details?: import("./types").Json;
10231
+ id?: string;
10232
+ keg_id?: string | null;
10233
+ product_id?: string | null;
10234
+ reason: string;
10235
+ };
10236
+ Update: {
10237
+ cart_id?: string;
10238
+ created_at?: string;
10239
+ details?: import("./types").Json;
10240
+ id?: string;
10241
+ keg_id?: string | null;
10242
+ product_id?: string | null;
10243
+ reason?: string;
10244
+ };
10245
+ Relationships: [];
10246
+ };
9806
10247
  logistics_pickup_moments: {
9807
10248
  Row: {
9808
10249
  carrier_ref: string | null;
@@ -9849,6 +10290,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9849
10290
  next_attempt_at: string;
9850
10291
  order_id: string;
9851
10292
  reason: string;
10293
+ reason_code: string | null;
9852
10294
  status: string;
9853
10295
  updated_at: string;
9854
10296
  };
@@ -9861,6 +10303,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9861
10303
  next_attempt_at?: string;
9862
10304
  order_id: string;
9863
10305
  reason?: string;
10306
+ reason_code?: string | null;
9864
10307
  status?: string;
9865
10308
  updated_at?: string;
9866
10309
  };
@@ -9873,6 +10316,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9873
10316
  next_attempt_at?: string;
9874
10317
  order_id?: string;
9875
10318
  reason?: string;
10319
+ reason_code?: string | null;
9876
10320
  status?: string;
9877
10321
  updated_at?: string;
9878
10322
  };
@@ -10229,6 +10673,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10229
10673
  referencedColumns: ["id"];
10230
10674
  }];
10231
10675
  };
10676
+ logistics_shipping_note_scan: {
10677
+ Row: {
10678
+ barcode: string;
10679
+ cart_id: string;
10680
+ id: string;
10681
+ is_reprint: boolean;
10682
+ order_id: string | null;
10683
+ print_job_id: string | null;
10684
+ scanned_at: string;
10685
+ };
10686
+ Insert: {
10687
+ barcode: string;
10688
+ cart_id: string;
10689
+ id?: string;
10690
+ is_reprint?: boolean;
10691
+ order_id?: string | null;
10692
+ print_job_id?: string | null;
10693
+ scanned_at?: string;
10694
+ };
10695
+ Update: {
10696
+ barcode?: string;
10697
+ cart_id?: string;
10698
+ id?: string;
10699
+ is_reprint?: boolean;
10700
+ order_id?: string | null;
10701
+ print_job_id?: string | null;
10702
+ scanned_at?: string;
10703
+ };
10704
+ Relationships: [];
10705
+ };
10232
10706
  logistics_staff_planning: {
10233
10707
  Row: {
10234
10708
  created_at: string;
@@ -10547,6 +11021,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10547
11021
  referencedColumns: ["id"];
10548
11022
  }];
10549
11023
  };
11024
+ logistics_tick_heartbeat: {
11025
+ Row: {
11026
+ id: boolean;
11027
+ last_tick_at: string;
11028
+ };
11029
+ Insert: {
11030
+ id?: boolean;
11031
+ last_tick_at?: string;
11032
+ };
11033
+ Update: {
11034
+ id?: boolean;
11035
+ last_tick_at?: string;
11036
+ };
11037
+ Relationships: [];
11038
+ };
10550
11039
  logistics_variables: {
10551
11040
  Row: {
10552
11041
  created_at: string;
@@ -10978,6 +11467,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10978
11467
  updated_at?: string;
10979
11468
  };
10980
11469
  Relationships: [{
11470
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11471
+ columns: ["product_id"];
11472
+ isOneToOne: false;
11473
+ referencedRelation: "logistics_product_dimensions";
11474
+ referencedColumns: ["product_id"];
11475
+ }, {
10981
11476
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
10982
11477
  columns: ["product_id"];
10983
11478
  isOneToOne: false;
@@ -12284,6 +12779,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12284
12779
  order_buffers: {
12285
12780
  Row: {
12286
12781
  buffer_key: string;
12782
+ close_at: string | null;
12783
+ closed_at: string | null;
12287
12784
  created_at: string;
12288
12785
  customer_id: string | null;
12289
12786
  grouping_mode: string;
@@ -12295,6 +12792,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12295
12792
  };
12296
12793
  Insert: {
12297
12794
  buffer_key: string;
12795
+ close_at?: string | null;
12796
+ closed_at?: string | null;
12298
12797
  created_at?: string;
12299
12798
  customer_id?: string | null;
12300
12799
  grouping_mode: string;
@@ -12306,6 +12805,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12306
12805
  };
12307
12806
  Update: {
12308
12807
  buffer_key?: string;
12808
+ close_at?: string | null;
12809
+ closed_at?: string | null;
12309
12810
  created_at?: string;
12310
12811
  customer_id?: string | null;
12311
12812
  grouping_mode?: string;
@@ -12322,10 +12823,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12322
12823
  boxes: number | null;
12323
12824
  cart_id: string;
12324
12825
  crates: number;
12826
+ crates_in_layer: number | null;
12325
12827
  crates_per_layer: number;
12326
12828
  created_at: string;
12327
12829
  id: string;
12328
12830
  layer_fraction: number;
12831
+ layer_index: number | null;
12329
12832
  layer_share_pct: number;
12330
12833
  layers_per_cart: number;
12331
12834
  order_item_id: string | null;
@@ -12338,10 +12841,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12338
12841
  boxes?: number | null;
12339
12842
  cart_id: string;
12340
12843
  crates: number;
12844
+ crates_in_layer?: number | null;
12341
12845
  crates_per_layer?: number;
12342
12846
  created_at?: string;
12343
12847
  id?: string;
12344
12848
  layer_fraction?: number;
12849
+ layer_index?: number | null;
12345
12850
  layer_share_pct?: number;
12346
12851
  layers_per_cart?: number;
12347
12852
  order_item_id?: string | null;
@@ -12354,10 +12859,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12354
12859
  boxes?: number | null;
12355
12860
  cart_id?: string;
12356
12861
  crates?: number;
12862
+ crates_in_layer?: number | null;
12357
12863
  crates_per_layer?: number;
12358
12864
  created_at?: string;
12359
12865
  id?: string;
12360
12866
  layer_fraction?: number;
12867
+ layer_index?: number | null;
12361
12868
  layer_share_pct?: number;
12362
12869
  layers_per_cart?: number;
12363
12870
  order_item_id?: string | null;
@@ -12378,6 +12885,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12378
12885
  isOneToOne: false;
12379
12886
  referencedRelation: "order_items";
12380
12887
  referencedColumns: ["id"];
12888
+ }, {
12889
+ foreignKeyName: "order_cart_items_product_id_fkey";
12890
+ columns: ["product_id"];
12891
+ isOneToOne: false;
12892
+ referencedRelation: "logistics_product_dimensions";
12893
+ referencedColumns: ["product_id"];
12381
12894
  }, {
12382
12895
  foreignKeyName: "order_cart_items_product_id_fkey";
12383
12896
  columns: ["product_id"];
@@ -12386,51 +12899,142 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12386
12899
  referencedColumns: ["id"];
12387
12900
  }];
12388
12901
  };
12389
- order_carts: {
12902
+ order_cart_layer_positions: {
12390
12903
  Row: {
12391
- algorithm_version: number;
12392
- buffer_id: string | null;
12393
- carrier_type: string;
12394
- carrier_type_id: string | null;
12395
- cart_number: number;
12904
+ algorithm_version: number | null;
12905
+ cart_id: string;
12396
12906
  created_at: string;
12907
+ height: number;
12397
12908
  id: string;
12398
- is_auto: boolean;
12399
- is_complete: boolean;
12400
- max_layers: number | null;
12401
- moved_at: string | null;
12402
- moved_from_moment_id: string | null;
12403
- moved_reason: string | null;
12404
- notes: string | null;
12405
- occupancy_pct: number;
12406
- order_id: string | null;
12407
- pickup_locked: boolean;
12408
- pickup_moment_id: string | null;
12409
- source: string;
12410
- total_layers_used: number;
12909
+ keg_id: string;
12910
+ label: string | null;
12911
+ layer: number;
12912
+ layer_height: number | null;
12913
+ layer_width: number | null;
12914
+ manual_overridden_at: string | null;
12915
+ manual_overridden_by: string | null;
12916
+ manual_override: boolean;
12917
+ order_item_id: string | null;
12918
+ original_layer: number | null;
12919
+ original_x: number | null;
12920
+ original_y: number | null;
12921
+ product_id: string | null;
12922
+ rotation: number;
12923
+ source: string | null;
12411
12924
  updated_at: string;
12412
- weight_kg: number | null;
12925
+ width: number;
12926
+ x: number;
12927
+ y: number;
12413
12928
  };
12414
12929
  Insert: {
12415
- algorithm_version?: number;
12416
- buffer_id?: string | null;
12417
- carrier_type?: string;
12418
- carrier_type_id?: string | null;
12419
- cart_number: number;
12930
+ algorithm_version?: number | null;
12931
+ cart_id: string;
12420
12932
  created_at?: string;
12933
+ height: number;
12421
12934
  id?: string;
12422
- is_auto?: boolean;
12423
- is_complete?: boolean;
12424
- max_layers?: number | null;
12425
- moved_at?: string | null;
12426
- moved_from_moment_id?: string | null;
12427
- moved_reason?: string | null;
12428
- notes?: string | null;
12935
+ keg_id: string;
12936
+ label?: string | null;
12937
+ layer: number;
12938
+ layer_height?: number | null;
12939
+ layer_width?: number | null;
12940
+ manual_overridden_at?: string | null;
12941
+ manual_overridden_by?: string | null;
12942
+ manual_override?: boolean;
12943
+ order_item_id?: string | null;
12944
+ original_layer?: number | null;
12945
+ original_x?: number | null;
12946
+ original_y?: number | null;
12947
+ product_id?: string | null;
12948
+ rotation?: number;
12949
+ source?: string | null;
12950
+ updated_at?: string;
12951
+ width: number;
12952
+ x: number;
12953
+ y: number;
12954
+ };
12955
+ Update: {
12956
+ algorithm_version?: number | null;
12957
+ cart_id?: string;
12958
+ created_at?: string;
12959
+ height?: number;
12960
+ id?: string;
12961
+ keg_id?: string;
12962
+ label?: string | null;
12963
+ layer?: number;
12964
+ layer_height?: number | null;
12965
+ layer_width?: number | null;
12966
+ manual_overridden_at?: string | null;
12967
+ manual_overridden_by?: string | null;
12968
+ manual_override?: boolean;
12969
+ order_item_id?: string | null;
12970
+ original_layer?: number | null;
12971
+ original_x?: number | null;
12972
+ original_y?: number | null;
12973
+ product_id?: string | null;
12974
+ rotation?: number;
12975
+ source?: string | null;
12976
+ updated_at?: string;
12977
+ width?: number;
12978
+ x?: number;
12979
+ y?: number;
12980
+ };
12981
+ Relationships: [{
12982
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12983
+ columns: ["cart_id"];
12984
+ isOneToOne: false;
12985
+ referencedRelation: "order_carts";
12986
+ referencedColumns: ["id"];
12987
+ }];
12988
+ };
12989
+ order_carts: {
12990
+ Row: {
12991
+ algorithm_version: number;
12992
+ buffer_id: string | null;
12993
+ carrier_type: string;
12994
+ carrier_type_id: string | null;
12995
+ cart_number: number;
12996
+ created_at: string;
12997
+ id: string;
12998
+ is_auto: boolean;
12999
+ is_complete: boolean;
13000
+ layout_method: string | null;
13001
+ max_layers: number | null;
13002
+ moved_at: string | null;
13003
+ moved_from_moment_id: string | null;
13004
+ moved_reason: string | null;
13005
+ notes: string | null;
13006
+ occupancy_pct: number;
13007
+ order_id: string | null;
13008
+ pickup_locked: boolean;
13009
+ pickup_moment_id: string | null;
13010
+ source: string;
13011
+ total_carts: number | null;
13012
+ total_layers_used: number;
13013
+ updated_at: string;
13014
+ weight_kg: number | null;
13015
+ };
13016
+ Insert: {
13017
+ algorithm_version?: number;
13018
+ buffer_id?: string | null;
13019
+ carrier_type?: string;
13020
+ carrier_type_id?: string | null;
13021
+ cart_number: number;
13022
+ created_at?: string;
13023
+ id?: string;
13024
+ is_auto?: boolean;
13025
+ is_complete?: boolean;
13026
+ layout_method?: string | null;
13027
+ max_layers?: number | null;
13028
+ moved_at?: string | null;
13029
+ moved_from_moment_id?: string | null;
13030
+ moved_reason?: string | null;
13031
+ notes?: string | null;
12429
13032
  occupancy_pct?: number;
12430
13033
  order_id?: string | null;
12431
13034
  pickup_locked?: boolean;
12432
13035
  pickup_moment_id?: string | null;
12433
13036
  source?: string;
13037
+ total_carts?: number | null;
12434
13038
  total_layers_used?: number;
12435
13039
  updated_at?: string;
12436
13040
  weight_kg?: number | null;
@@ -12445,6 +13049,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12445
13049
  id?: string;
12446
13050
  is_auto?: boolean;
12447
13051
  is_complete?: boolean;
13052
+ layout_method?: string | null;
12448
13053
  max_layers?: number | null;
12449
13054
  moved_at?: string | null;
12450
13055
  moved_from_moment_id?: string | null;
@@ -12455,6 +13060,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12455
13060
  pickup_locked?: boolean;
12456
13061
  pickup_moment_id?: string | null;
12457
13062
  source?: string;
13063
+ total_carts?: number | null;
12458
13064
  total_layers_used?: number;
12459
13065
  updated_at?: string;
12460
13066
  weight_kg?: number | null;
@@ -12557,6 +13163,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12557
13163
  };
12558
13164
  Relationships: [];
12559
13165
  };
13166
+ order_fust_bookings: {
13167
+ Row: {
13168
+ created_at: string;
13169
+ fust_type_id: string;
13170
+ id: string;
13171
+ order_item_id: string;
13172
+ quantity: number;
13173
+ updated_at: string;
13174
+ };
13175
+ Insert: {
13176
+ created_at?: string;
13177
+ fust_type_id: string;
13178
+ id?: string;
13179
+ order_item_id: string;
13180
+ quantity?: number;
13181
+ updated_at?: string;
13182
+ };
13183
+ Update: {
13184
+ created_at?: string;
13185
+ fust_type_id?: string;
13186
+ id?: string;
13187
+ order_item_id?: string;
13188
+ quantity?: number;
13189
+ updated_at?: string;
13190
+ };
13191
+ Relationships: [{
13192
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13193
+ columns: ["fust_type_id"];
13194
+ isOneToOne: false;
13195
+ referencedRelation: "fust_types";
13196
+ referencedColumns: ["id"];
13197
+ }];
13198
+ };
12560
13199
  order_invoice_links: {
12561
13200
  Row: {
12562
13201
  administration_code: string | null;
@@ -12645,6 +13284,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12645
13284
  isOneToOne: false;
12646
13285
  referencedRelation: "orders";
12647
13286
  referencedColumns: ["id"];
13287
+ }, {
13288
+ foreignKeyName: "order_items_product_id_fkey";
13289
+ columns: ["product_id"];
13290
+ isOneToOne: false;
13291
+ referencedRelation: "logistics_product_dimensions";
13292
+ referencedColumns: ["product_id"];
12648
13293
  }, {
12649
13294
  foreignKeyName: "order_items_product_id_fkey";
12650
13295
  columns: ["product_id"];
@@ -12792,6 +13437,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12792
13437
  plan_locked_at: string | null;
12793
13438
  plan_locked_ref: string | null;
12794
13439
  status: string;
13440
+ status_changed_at: string;
13441
+ status_origin: string;
13442
+ status_sync_token: string | null;
12795
13443
  total: string;
12796
13444
  updated_at: string;
12797
13445
  };
@@ -12816,6 +13464,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12816
13464
  plan_locked_at?: string | null;
12817
13465
  plan_locked_ref?: string | null;
12818
13466
  status?: string;
13467
+ status_changed_at?: string;
13468
+ status_origin?: string;
13469
+ status_sync_token?: string | null;
12819
13470
  total?: string;
12820
13471
  updated_at?: string;
12821
13472
  };
@@ -12840,6 +13491,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12840
13491
  plan_locked_at?: string | null;
12841
13492
  plan_locked_ref?: string | null;
12842
13493
  status?: string;
13494
+ status_changed_at?: string;
13495
+ status_origin?: string;
13496
+ status_sync_token?: string | null;
12843
13497
  total?: string;
12844
13498
  updated_at?: string;
12845
13499
  };
@@ -12893,6 +13547,153 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12893
13547
  };
12894
13548
  Relationships: [];
12895
13549
  };
13550
+ pakbon_barcode_inhoud: {
13551
+ Row: {
13552
+ barcode: string;
13553
+ cart_id: string | null;
13554
+ cart_index: number | null;
13555
+ cart_label: string | null;
13556
+ cart_total: number | null;
13557
+ created_at: string;
13558
+ is_herprint: boolean;
13559
+ klant_naam: string | null;
13560
+ klant_nummer: string | null;
13561
+ layout_id: string | null;
13562
+ layout_variant: string | null;
13563
+ order_nummer: string | null;
13564
+ order_ref: string | null;
13565
+ print_job_id: string | null;
13566
+ regels: import("./types").Json;
13567
+ updated_at: string;
13568
+ };
13569
+ Insert: {
13570
+ barcode: string;
13571
+ cart_id?: string | null;
13572
+ cart_index?: number | null;
13573
+ cart_label?: string | null;
13574
+ cart_total?: number | null;
13575
+ created_at?: string;
13576
+ is_herprint?: boolean;
13577
+ klant_naam?: string | null;
13578
+ klant_nummer?: string | null;
13579
+ layout_id?: string | null;
13580
+ layout_variant?: string | null;
13581
+ order_nummer?: string | null;
13582
+ order_ref?: string | null;
13583
+ print_job_id?: string | null;
13584
+ regels?: import("./types").Json;
13585
+ updated_at?: string;
13586
+ };
13587
+ Update: {
13588
+ barcode?: string;
13589
+ cart_id?: string | null;
13590
+ cart_index?: number | null;
13591
+ cart_label?: string | null;
13592
+ cart_total?: number | null;
13593
+ created_at?: string;
13594
+ is_herprint?: boolean;
13595
+ klant_naam?: string | null;
13596
+ klant_nummer?: string | null;
13597
+ layout_id?: string | null;
13598
+ layout_variant?: string | null;
13599
+ order_nummer?: string | null;
13600
+ order_ref?: string | null;
13601
+ print_job_id?: string | null;
13602
+ regels?: import("./types").Json;
13603
+ updated_at?: string;
13604
+ };
13605
+ Relationships: [];
13606
+ };
13607
+ pakbon_barcode_verzoeken: {
13608
+ Row: {
13609
+ aangevraagd_op: string;
13610
+ barcode: string | null;
13611
+ cart_id: string | null;
13612
+ cart_index: number | null;
13613
+ cart_label: string | null;
13614
+ cart_total: number | null;
13615
+ documentnaam: string | null;
13616
+ geleverd_op: string | null;
13617
+ id: string;
13618
+ is_herprint: boolean;
13619
+ klant_naam: string | null;
13620
+ klant_nummer: string | null;
13621
+ laatst_gevraagd_op: string;
13622
+ layout_id: string | null;
13623
+ layout_variant: string | null;
13624
+ order_nummer: string | null;
13625
+ order_ref: string | null;
13626
+ print_job_id: string;
13627
+ status: string;
13628
+ updated_at: string;
13629
+ };
13630
+ Insert: {
13631
+ aangevraagd_op?: string;
13632
+ barcode?: string | null;
13633
+ cart_id?: string | null;
13634
+ cart_index?: number | null;
13635
+ cart_label?: string | null;
13636
+ cart_total?: number | null;
13637
+ documentnaam?: string | null;
13638
+ geleverd_op?: string | null;
13639
+ id?: string;
13640
+ is_herprint?: boolean;
13641
+ klant_naam?: string | null;
13642
+ klant_nummer?: string | null;
13643
+ laatst_gevraagd_op?: string;
13644
+ layout_id?: string | null;
13645
+ layout_variant?: string | null;
13646
+ order_nummer?: string | null;
13647
+ order_ref?: string | null;
13648
+ print_job_id: string;
13649
+ status?: string;
13650
+ updated_at?: string;
13651
+ };
13652
+ Update: {
13653
+ aangevraagd_op?: string;
13654
+ barcode?: string | null;
13655
+ cart_id?: string | null;
13656
+ cart_index?: number | null;
13657
+ cart_label?: string | null;
13658
+ cart_total?: number | null;
13659
+ documentnaam?: string | null;
13660
+ geleverd_op?: string | null;
13661
+ id?: string;
13662
+ is_herprint?: boolean;
13663
+ klant_naam?: string | null;
13664
+ klant_nummer?: string | null;
13665
+ laatst_gevraagd_op?: string;
13666
+ layout_id?: string | null;
13667
+ layout_variant?: string | null;
13668
+ order_nummer?: string | null;
13669
+ order_ref?: string | null;
13670
+ print_job_id?: string;
13671
+ status?: string;
13672
+ updated_at?: string;
13673
+ };
13674
+ Relationships: [];
13675
+ };
13676
+ pick_buffer_event_cursor: {
13677
+ Row: {
13678
+ created_at: string;
13679
+ id: boolean;
13680
+ last_event_at: string;
13681
+ updated_at: string;
13682
+ };
13683
+ Insert: {
13684
+ created_at?: string;
13685
+ id?: boolean;
13686
+ last_event_at?: string;
13687
+ updated_at?: string;
13688
+ };
13689
+ Update: {
13690
+ created_at?: string;
13691
+ id?: boolean;
13692
+ last_event_at?: string;
13693
+ updated_at?: string;
13694
+ };
13695
+ Relationships: [];
13696
+ };
12896
13697
  pick_countries: {
12897
13698
  Row: {
12898
13699
  active: boolean;
@@ -13050,6 +13851,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13050
13851
  print_job_id: string | null;
13051
13852
  printed_at: string | null;
13052
13853
  printed_by: string | null;
13854
+ printed_cart_ids: import("./types").Json;
13053
13855
  printer_id: string | null;
13054
13856
  priority: number;
13055
13857
  reference: string | null;
@@ -13084,6 +13886,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13084
13886
  print_job_id?: string | null;
13085
13887
  printed_at?: string | null;
13086
13888
  printed_by?: string | null;
13889
+ printed_cart_ids?: import("./types").Json;
13087
13890
  printer_id?: string | null;
13088
13891
  priority?: number;
13089
13892
  reference?: string | null;
@@ -13118,6 +13921,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13118
13921
  print_job_id?: string | null;
13119
13922
  printed_at?: string | null;
13120
13923
  printed_by?: string | null;
13924
+ printed_cart_ids?: import("./types").Json;
13121
13925
  printer_id?: string | null;
13122
13926
  priority?: number;
13123
13927
  reference?: string | null;
@@ -13968,6 +14772,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13968
14772
  isOneToOne: false;
13969
14773
  referencedRelation: "werkbonnen";
13970
14774
  referencedColumns: ["id"];
14775
+ }, {
14776
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14777
+ columns: ["werkbon_id"];
14778
+ isOneToOne: false;
14779
+ referencedRelation: "wo_overview";
14780
+ referencedColumns: ["id"];
13971
14781
  }];
13972
14782
  };
13973
14783
  print_agents: {
@@ -14083,12 +14893,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14083
14893
  };
14084
14894
  print_jobs: {
14085
14895
  Row: {
14896
+ aflever_pogingen: number;
14086
14897
  agent_id: string | null;
14898
+ artefact_bytes: number | null;
14899
+ artefact_gereed_op: string | null;
14900
+ artefact_pad: string | null;
14901
+ artefact_sha256: string | null;
14902
+ batch_id: string | null;
14087
14903
  bron_job_id: string | null;
14088
14904
  created_at: string;
14089
14905
  documentnaam: string;
14090
14906
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14091
14907
  extern_job_id: string | null;
14908
+ fase_gestart_op: string | null;
14909
+ fase_voltooid_op: string | null;
14910
+ foutcode: string | null;
14092
14911
  foutmelding: string | null;
14093
14912
  gebruiker_id: string | null;
14094
14913
  gebruiker_naam: string;
@@ -14102,7 +14921,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14102
14921
  kopieen: number;
14103
14922
  layout_id: string | null;
14104
14923
  lokaal_opgeslagen_op: string | null;
14924
+ lokale_pdf_claim_id: string | null;
14925
+ lokale_pdf_claim_tot: string | null;
14105
14926
  lokale_pdf_fout: string | null;
14927
+ lokale_pdf_print_plek_id: string | null;
14106
14928
  lokale_pdf_status: string | null;
14107
14929
  opgepakt_op: string | null;
14108
14930
  paginas: number;
@@ -14115,16 +14937,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14115
14937
  resultaat_pdf_base64: string | null;
14116
14938
  status: Database["public"]["Enums"]["print_job_status"];
14117
14939
  updated_at: string;
14940
+ verwerkingsfase: string;
14118
14941
  volgende_poging: string | null;
14119
14942
  voltooid_op: string | null;
14120
14943
  };
14121
14944
  Insert: {
14945
+ aflever_pogingen?: number;
14122
14946
  agent_id?: string | null;
14947
+ artefact_bytes?: number | null;
14948
+ artefact_gereed_op?: string | null;
14949
+ artefact_pad?: string | null;
14950
+ artefact_sha256?: string | null;
14951
+ batch_id?: string | null;
14123
14952
  bron_job_id?: string | null;
14124
14953
  created_at?: string;
14125
14954
  documentnaam?: string;
14126
14955
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14127
14956
  extern_job_id?: string | null;
14957
+ fase_gestart_op?: string | null;
14958
+ fase_voltooid_op?: string | null;
14959
+ foutcode?: string | null;
14128
14960
  foutmelding?: string | null;
14129
14961
  gebruiker_id?: string | null;
14130
14962
  gebruiker_naam?: string;
@@ -14138,7 +14970,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14138
14970
  kopieen?: number;
14139
14971
  layout_id?: string | null;
14140
14972
  lokaal_opgeslagen_op?: string | null;
14973
+ lokale_pdf_claim_id?: string | null;
14974
+ lokale_pdf_claim_tot?: string | null;
14141
14975
  lokale_pdf_fout?: string | null;
14976
+ lokale_pdf_print_plek_id?: string | null;
14142
14977
  lokale_pdf_status?: string | null;
14143
14978
  opgepakt_op?: string | null;
14144
14979
  paginas?: number;
@@ -14151,16 +14986,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14151
14986
  resultaat_pdf_base64?: string | null;
14152
14987
  status?: Database["public"]["Enums"]["print_job_status"];
14153
14988
  updated_at?: string;
14989
+ verwerkingsfase?: string;
14154
14990
  volgende_poging?: string | null;
14155
14991
  voltooid_op?: string | null;
14156
14992
  };
14157
14993
  Update: {
14994
+ aflever_pogingen?: number;
14158
14995
  agent_id?: string | null;
14996
+ artefact_bytes?: number | null;
14997
+ artefact_gereed_op?: string | null;
14998
+ artefact_pad?: string | null;
14999
+ artefact_sha256?: string | null;
15000
+ batch_id?: string | null;
14159
15001
  bron_job_id?: string | null;
14160
15002
  created_at?: string;
14161
15003
  documentnaam?: string;
14162
15004
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14163
15005
  extern_job_id?: string | null;
15006
+ fase_gestart_op?: string | null;
15007
+ fase_voltooid_op?: string | null;
15008
+ foutcode?: string | null;
14164
15009
  foutmelding?: string | null;
14165
15010
  gebruiker_id?: string | null;
14166
15011
  gebruiker_naam?: string;
@@ -14174,7 +15019,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14174
15019
  kopieen?: number;
14175
15020
  layout_id?: string | null;
14176
15021
  lokaal_opgeslagen_op?: string | null;
15022
+ lokale_pdf_claim_id?: string | null;
15023
+ lokale_pdf_claim_tot?: string | null;
14177
15024
  lokale_pdf_fout?: string | null;
15025
+ lokale_pdf_print_plek_id?: string | null;
14178
15026
  lokale_pdf_status?: string | null;
14179
15027
  opgepakt_op?: string | null;
14180
15028
  paginas?: number;
@@ -14187,6 +15035,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14187
15035
  resultaat_pdf_base64?: string | null;
14188
15036
  status?: Database["public"]["Enums"]["print_job_status"];
14189
15037
  updated_at?: string;
15038
+ verwerkingsfase?: string;
14190
15039
  volgende_poging?: string | null;
14191
15040
  voltooid_op?: string | null;
14192
15041
  };
@@ -14202,6 +15051,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14202
15051
  isOneToOne: false;
14203
15052
  referencedRelation: "document_layouts";
14204
15053
  referencedColumns: ["id"];
15054
+ }, {
15055
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
15056
+ columns: ["lokale_pdf_print_plek_id"];
15057
+ isOneToOne: false;
15058
+ referencedRelation: "print_plekken";
15059
+ referencedColumns: ["id"];
14205
15060
  }, {
14206
15061
  foreignKeyName: "print_jobs_printer_id_fkey";
14207
15062
  columns: ["printer_id"];
@@ -14336,6 +15191,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14336
15191
  };
14337
15192
  Relationships: [];
14338
15193
  };
15194
+ print_queue_leases: {
15195
+ Row: {
15196
+ created_at: string;
15197
+ houder: string;
15198
+ naam: string;
15199
+ updated_at: string;
15200
+ verloopt_op: string;
15201
+ };
15202
+ Insert: {
15203
+ created_at?: string;
15204
+ houder: string;
15205
+ naam: string;
15206
+ updated_at?: string;
15207
+ verloopt_op: string;
15208
+ };
15209
+ Update: {
15210
+ created_at?: string;
15211
+ houder?: string;
15212
+ naam?: string;
15213
+ updated_at?: string;
15214
+ verloopt_op?: string;
15215
+ };
15216
+ Relationships: [];
15217
+ };
14339
15218
  print_queue_runners: {
14340
15219
  Row: {
14341
15220
  actief: boolean;
@@ -14345,7 +15224,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14345
15224
  laatst_gezien: string;
14346
15225
  laatste_fout: string | null;
14347
15226
  laatste_request_id: number | null;
15227
+ laatste_wakeup: string | null;
14348
15228
  mislukte_posts: number;
15229
+ mislukte_wakeups: number;
14349
15230
  tick_sleutel: string;
14350
15231
  updated_at: string;
14351
15232
  };
@@ -14357,7 +15238,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14357
15238
  laatst_gezien?: string;
14358
15239
  laatste_fout?: string | null;
14359
15240
  laatste_request_id?: number | null;
15241
+ laatste_wakeup?: string | null;
14360
15242
  mislukte_posts?: number;
15243
+ mislukte_wakeups?: number;
14361
15244
  tick_sleutel?: string;
14362
15245
  updated_at?: string;
14363
15246
  };
@@ -14369,7 +15252,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14369
15252
  laatst_gezien?: string;
14370
15253
  laatste_fout?: string | null;
14371
15254
  laatste_request_id?: number | null;
15255
+ laatste_wakeup?: string | null;
14372
15256
  mislukte_posts?: number;
15257
+ mislukte_wakeups?: number;
14373
15258
  tick_sleutel?: string;
14374
15259
  updated_at?: string;
14375
15260
  };
@@ -14683,6 +15568,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14683
15568
  updated_at?: string;
14684
15569
  };
14685
15570
  Relationships: [{
15571
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15572
+ columns: ["parent_product_id"];
15573
+ isOneToOne: false;
15574
+ referencedRelation: "logistics_product_dimensions";
15575
+ referencedColumns: ["product_id"];
15576
+ }, {
14686
15577
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14687
15578
  columns: ["parent_product_id"];
14688
15579
  isOneToOne: false;
@@ -14737,11 +15628,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14737
15628
  updated_at?: string;
14738
15629
  };
14739
15630
  Relationships: [{
15631
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15632
+ columns: ["component_product_id"];
15633
+ isOneToOne: false;
15634
+ referencedRelation: "logistics_product_dimensions";
15635
+ referencedColumns: ["product_id"];
15636
+ }, {
14740
15637
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14741
15638
  columns: ["component_product_id"];
14742
15639
  isOneToOne: false;
14743
15640
  referencedRelation: "products";
14744
15641
  referencedColumns: ["id"];
15642
+ }, {
15643
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15644
+ columns: ["parent_product_id"];
15645
+ isOneToOne: false;
15646
+ referencedRelation: "logistics_product_dimensions";
15647
+ referencedColumns: ["product_id"];
14745
15648
  }, {
14746
15649
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14747
15650
  columns: ["parent_product_id"];
@@ -14917,6 +15820,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14917
15820
  updated_at?: string;
14918
15821
  };
14919
15822
  Relationships: [{
15823
+ foreignKeyName: "product_groups_head_product_id_fkey";
15824
+ columns: ["head_product_id"];
15825
+ isOneToOne: false;
15826
+ referencedRelation: "logistics_product_dimensions";
15827
+ referencedColumns: ["product_id"];
15828
+ }, {
14920
15829
  foreignKeyName: "product_groups_head_product_id_fkey";
14921
15830
  columns: ["head_product_id"];
14922
15831
  isOneToOne: false;
@@ -14982,6 +15891,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14982
15891
  isOneToOne: false;
14983
15892
  referencedRelation: "packages";
14984
15893
  referencedColumns: ["id"];
15894
+ }, {
15895
+ foreignKeyName: "product_load_settings_product_id_fkey";
15896
+ columns: ["product_id"];
15897
+ isOneToOne: false;
15898
+ referencedRelation: "logistics_product_dimensions";
15899
+ referencedColumns: ["product_id"];
14985
15900
  }, {
14986
15901
  foreignKeyName: "product_load_settings_product_id_fkey";
14987
15902
  columns: ["product_id"];
@@ -15032,6 +15947,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15032
15947
  created_at: string;
15033
15948
  custom_fields: import("./types").Json;
15034
15949
  floriday_trade_item_id: string | null;
15950
+ fust_type_id: string | null;
15035
15951
  id: string;
15036
15952
  image_url: string | null;
15037
15953
  incoming_quantity: number;
@@ -15039,6 +15955,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15039
15955
  layers_per_cart: number;
15040
15956
  location: string;
15041
15957
  min_quantity: number;
15958
+ plant_height_cm: number | null;
15042
15959
  plants_per_crate: number;
15043
15960
  product: string;
15044
15961
  product_type: string;
@@ -15058,6 +15975,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15058
15975
  created_at?: string;
15059
15976
  custom_fields?: import("./types").Json;
15060
15977
  floriday_trade_item_id?: string | null;
15978
+ fust_type_id?: string | null;
15061
15979
  id?: string;
15062
15980
  image_url?: string | null;
15063
15981
  incoming_quantity?: number;
@@ -15065,6 +15983,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15065
15983
  layers_per_cart?: number;
15066
15984
  location: string;
15067
15985
  min_quantity?: number;
15986
+ plant_height_cm?: number | null;
15068
15987
  plants_per_crate?: number;
15069
15988
  product: string;
15070
15989
  product_type?: string;
@@ -15084,6 +16003,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15084
16003
  created_at?: string;
15085
16004
  custom_fields?: import("./types").Json;
15086
16005
  floriday_trade_item_id?: string | null;
16006
+ fust_type_id?: string | null;
15087
16007
  id?: string;
15088
16008
  image_url?: string | null;
15089
16009
  incoming_quantity?: number;
@@ -15091,6 +16011,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15091
16011
  layers_per_cart?: number;
15092
16012
  location?: string;
15093
16013
  min_quantity?: number;
16014
+ plant_height_cm?: number | null;
15094
16015
  plants_per_crate?: number;
15095
16016
  product?: string;
15096
16017
  product_type?: string;
@@ -15102,7 +16023,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15102
16023
  updated_at?: string;
15103
16024
  weight?: string | null;
15104
16025
  };
15105
- Relationships: [];
16026
+ Relationships: [{
16027
+ foreignKeyName: "products_fust_type_id_fkey";
16028
+ columns: ["fust_type_id"];
16029
+ isOneToOne: false;
16030
+ referencedRelation: "fust_types";
16031
+ referencedColumns: ["id"];
16032
+ }];
15106
16033
  };
15107
16034
  profile_modules: {
15108
16035
  Row: {
@@ -15436,6 +16363,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15436
16363
  quantity?: number;
15437
16364
  };
15438
16365
  Relationships: [{
16366
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16367
+ columns: ["product_id"];
16368
+ isOneToOne: false;
16369
+ referencedRelation: "logistics_product_dimensions";
16370
+ referencedColumns: ["product_id"];
16371
+ }, {
15439
16372
  foreignKeyName: "purchase_order_items_product_id_fkey";
15440
16373
  columns: ["product_id"];
15441
16374
  isOneToOne: false;
@@ -15755,27 +16688,123 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15755
16688
  referencedColumns: ["id"];
15756
16689
  }];
15757
16690
  };
15758
- scan_karren: {
16691
+ scan_kar_sessie_regels: {
15759
16692
  Row: {
15760
- afgerond_op: string | null;
15761
- buffer_key: string | null;
16693
+ barcode: string;
16694
+ cart_id: string | null;
15762
16695
  created_at: string;
15763
- customer_names: string[];
15764
- device_id: string | null;
15765
- geprint: boolean;
15766
- geprint_op: string | null;
15767
16696
  id: string;
15768
- kar_nummer: string;
15769
- medewerker_id: string | null;
15770
- medewerker_naam: string | null;
15771
- naar_pickstation: boolean;
15772
- naar_pickstation_op: string | null;
16697
+ order_id: string | null;
15773
16698
  order_number: string | null;
15774
- scanner_id: string | null;
15775
- scanner_key: string;
15776
- status: string;
15777
- totaal_producten: number;
15778
- updated_at: string;
16699
+ regels: import("./types").Json;
16700
+ sessie_id: string;
16701
+ volledig: boolean;
16702
+ };
16703
+ Insert: {
16704
+ barcode: string;
16705
+ cart_id?: string | null;
16706
+ created_at?: string;
16707
+ id?: string;
16708
+ order_id?: string | null;
16709
+ order_number?: string | null;
16710
+ regels?: import("./types").Json;
16711
+ sessie_id: string;
16712
+ volledig?: boolean;
16713
+ };
16714
+ Update: {
16715
+ barcode?: string;
16716
+ cart_id?: string | null;
16717
+ created_at?: string;
16718
+ id?: string;
16719
+ order_id?: string | null;
16720
+ order_number?: string | null;
16721
+ regels?: import("./types").Json;
16722
+ sessie_id?: string;
16723
+ volledig?: boolean;
16724
+ };
16725
+ Relationships: [{
16726
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16727
+ columns: ["sessie_id"];
16728
+ isOneToOne: false;
16729
+ referencedRelation: "scan_kar_sessies";
16730
+ referencedColumns: ["id"];
16731
+ }];
16732
+ };
16733
+ scan_kar_sessies: {
16734
+ Row: {
16735
+ afgerond_op: string | null;
16736
+ cart_id: string | null;
16737
+ cart_index: number | null;
16738
+ cart_total: number | null;
16739
+ created_at: string;
16740
+ id: string;
16741
+ klant_naam: string | null;
16742
+ medewerker_naam: string | null;
16743
+ order_id: string | null;
16744
+ order_number: string | null;
16745
+ scanner_id: string | null;
16746
+ status: string;
16747
+ updated_at: string;
16748
+ };
16749
+ Insert: {
16750
+ afgerond_op?: string | null;
16751
+ cart_id?: string | null;
16752
+ cart_index?: number | null;
16753
+ cart_total?: number | null;
16754
+ created_at?: string;
16755
+ id?: string;
16756
+ klant_naam?: string | null;
16757
+ medewerker_naam?: string | null;
16758
+ order_id?: string | null;
16759
+ order_number?: string | null;
16760
+ scanner_id?: string | null;
16761
+ status?: string;
16762
+ updated_at?: string;
16763
+ };
16764
+ Update: {
16765
+ afgerond_op?: string | null;
16766
+ cart_id?: string | null;
16767
+ cart_index?: number | null;
16768
+ cart_total?: number | null;
16769
+ created_at?: string;
16770
+ id?: string;
16771
+ klant_naam?: string | null;
16772
+ medewerker_naam?: string | null;
16773
+ order_id?: string | null;
16774
+ order_number?: string | null;
16775
+ scanner_id?: string | null;
16776
+ status?: string;
16777
+ updated_at?: string;
16778
+ };
16779
+ Relationships: [{
16780
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16781
+ columns: ["scanner_id"];
16782
+ isOneToOne: false;
16783
+ referencedRelation: "scan_scanners";
16784
+ referencedColumns: ["id"];
16785
+ }];
16786
+ };
16787
+ scan_karren: {
16788
+ Row: {
16789
+ afgerond_op: string | null;
16790
+ buffer_key: string | null;
16791
+ created_at: string;
16792
+ customer_names: string[];
16793
+ device_id: string | null;
16794
+ geprint: boolean;
16795
+ geprint_op: string | null;
16796
+ id: string;
16797
+ kar_nummer: string;
16798
+ medewerker_id: string | null;
16799
+ medewerker_naam: string | null;
16800
+ naar_pickstation: boolean;
16801
+ naar_pickstation_op: string | null;
16802
+ order_number: string | null;
16803
+ scanner_id: string | null;
16804
+ scanner_key: string;
16805
+ status: string;
16806
+ totaal_producten: number;
16807
+ updated_at: string;
15779
16808
  };
15780
16809
  Insert: {
15781
16810
  afgerond_op?: string | null;
@@ -15959,6 +16988,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15959
16988
  };
15960
16989
  Relationships: [];
15961
16990
  };
16991
+ scan_restpakbonnen: {
16992
+ Row: {
16993
+ barcode: string;
16994
+ bron_barcode: string | null;
16995
+ cart_id: string | null;
16996
+ cart_index: number | null;
16997
+ cart_total: number | null;
16998
+ created_at: string;
16999
+ geprint_op: string | null;
17000
+ id: string;
17001
+ klant_naam: string | null;
17002
+ order_id: string | null;
17003
+ order_number: string | null;
17004
+ print_job_id: string | null;
17005
+ regels: import("./types").Json;
17006
+ updated_at: string;
17007
+ verwerkt: boolean;
17008
+ };
17009
+ Insert: {
17010
+ barcode: string;
17011
+ bron_barcode?: string | null;
17012
+ cart_id?: string | null;
17013
+ cart_index?: number | null;
17014
+ cart_total?: number | null;
17015
+ created_at?: string;
17016
+ geprint_op?: string | null;
17017
+ id?: string;
17018
+ klant_naam?: string | null;
17019
+ order_id?: string | null;
17020
+ order_number?: string | null;
17021
+ print_job_id?: string | null;
17022
+ regels?: import("./types").Json;
17023
+ updated_at?: string;
17024
+ verwerkt?: boolean;
17025
+ };
17026
+ Update: {
17027
+ barcode?: string;
17028
+ bron_barcode?: string | null;
17029
+ cart_id?: string | null;
17030
+ cart_index?: number | null;
17031
+ cart_total?: number | null;
17032
+ created_at?: string;
17033
+ geprint_op?: string | null;
17034
+ id?: string;
17035
+ klant_naam?: string | null;
17036
+ order_id?: string | null;
17037
+ order_number?: string | null;
17038
+ print_job_id?: string | null;
17039
+ regels?: import("./types").Json;
17040
+ updated_at?: string;
17041
+ verwerkt?: boolean;
17042
+ };
17043
+ Relationships: [];
17044
+ };
15962
17045
  scan_scanners: {
15963
17046
  Row: {
15964
17047
  actief: boolean;
@@ -15968,6 +17051,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15968
17051
  naam: string;
15969
17052
  omschrijving: string | null;
15970
17053
  pincode: string | null;
17054
+ printer_id: string | null;
15971
17055
  slug: string;
15972
17056
  type: string;
15973
17057
  updated_at: string;
@@ -15982,6 +17066,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15982
17066
  naam: string;
15983
17067
  omschrijving?: string | null;
15984
17068
  pincode?: string | null;
17069
+ printer_id?: string | null;
15985
17070
  slug: string;
15986
17071
  type?: string;
15987
17072
  updated_at?: string;
@@ -15996,6 +17081,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15996
17081
  naam?: string;
15997
17082
  omschrijving?: string | null;
15998
17083
  pincode?: string | null;
17084
+ printer_id?: string | null;
15999
17085
  slug?: string;
16000
17086
  type?: string;
16001
17087
  updated_at?: string;
@@ -16004,6 +17090,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16004
17090
  };
16005
17091
  Relationships: [];
16006
17092
  };
17093
+ shell_settings: {
17094
+ Row: {
17095
+ created_at: string;
17096
+ default_path: string | null;
17097
+ shell_id: string;
17098
+ updated_at: string;
17099
+ };
17100
+ Insert: {
17101
+ created_at?: string;
17102
+ default_path?: string | null;
17103
+ shell_id: string;
17104
+ updated_at?: string;
17105
+ };
17106
+ Update: {
17107
+ created_at?: string;
17108
+ default_path?: string | null;
17109
+ shell_id?: string;
17110
+ updated_at?: string;
17111
+ };
17112
+ Relationships: [];
17113
+ };
16007
17114
  sick_periods: {
16008
17115
  Row: {
16009
17116
  created_at: string;
@@ -16623,6 +17730,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16623
17730
  isOneToOne: false;
16624
17731
  referencedRelation: "werkbonnen";
16625
17732
  referencedColumns: ["id"];
17733
+ }, {
17734
+ foreignKeyName: "time_logs_work_order_id_fkey";
17735
+ columns: ["work_order_id"];
17736
+ isOneToOne: false;
17737
+ referencedRelation: "wo_overview";
17738
+ referencedColumns: ["id"];
16626
17739
  }];
16627
17740
  };
16628
17741
  time_off_entries: {
@@ -17916,6 +19029,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17916
19029
  isOneToOne: false;
17917
19030
  referencedRelation: "werkbonnen";
17918
19031
  referencedColumns: ["id"];
19032
+ }, {
19033
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
19034
+ columns: ["werkbon_id"];
19035
+ isOneToOne: false;
19036
+ referencedRelation: "wo_overview";
19037
+ referencedColumns: ["id"];
17919
19038
  }];
17920
19039
  };
17921
19040
  uren_exports: {
@@ -18224,6 +19343,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18224
19343
  referencedColumns: ["id"];
18225
19344
  }];
18226
19345
  };
19346
+ voorraad_buffer_state: {
19347
+ Row: {
19348
+ buffer_id: string;
19349
+ buffer_key: string | null;
19350
+ closed_at: string | null;
19351
+ created_at: string;
19352
+ detached_orders: import("./types").Json;
19353
+ reason: string | null;
19354
+ updated_at: string;
19355
+ };
19356
+ Insert: {
19357
+ buffer_id: string;
19358
+ buffer_key?: string | null;
19359
+ closed_at?: string | null;
19360
+ created_at?: string;
19361
+ detached_orders?: import("./types").Json;
19362
+ reason?: string | null;
19363
+ updated_at?: string;
19364
+ };
19365
+ Update: {
19366
+ buffer_id?: string;
19367
+ buffer_key?: string | null;
19368
+ closed_at?: string | null;
19369
+ created_at?: string;
19370
+ detached_orders?: import("./types").Json;
19371
+ reason?: string | null;
19372
+ updated_at?: string;
19373
+ };
19374
+ Relationships: [];
19375
+ };
18227
19376
  voorraad_custom_fields: {
18228
19377
  Row: {
18229
19378
  created_at: string;
@@ -18266,6 +19415,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18266
19415
  };
18267
19416
  Relationships: [];
18268
19417
  };
19418
+ voorraad_logistics_event_log: {
19419
+ Row: {
19420
+ created_at: string;
19421
+ event_id: string;
19422
+ event_type: string;
19423
+ order_ref: string | null;
19424
+ processed_at: string;
19425
+ result: import("./types").Json;
19426
+ updated_at: string;
19427
+ };
19428
+ Insert: {
19429
+ created_at?: string;
19430
+ event_id: string;
19431
+ event_type: string;
19432
+ order_ref?: string | null;
19433
+ processed_at?: string;
19434
+ result?: import("./types").Json;
19435
+ updated_at?: string;
19436
+ };
19437
+ Update: {
19438
+ created_at?: string;
19439
+ event_id?: string;
19440
+ event_type?: string;
19441
+ order_ref?: string | null;
19442
+ processed_at?: string;
19443
+ result?: import("./types").Json;
19444
+ updated_at?: string;
19445
+ };
19446
+ Relationships: [];
19447
+ };
18269
19448
  voorraad_media_upload_failures: {
18270
19449
  Row: {
18271
19450
  action: string;
@@ -18639,6 +19818,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18639
19818
  isOneToOne: true;
18640
19819
  referencedRelation: "werkbonnen";
18641
19820
  referencedColumns: ["id"];
19821
+ }, {
19822
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19823
+ columns: ["werkbon_id"];
19824
+ isOneToOne: true;
19825
+ referencedRelation: "wo_overview";
19826
+ referencedColumns: ["id"];
18642
19827
  }];
18643
19828
  };
18644
19829
  werkbon_facturatie_settings: {
@@ -18726,6 +19911,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18726
19911
  isOneToOne: false;
18727
19912
  referencedRelation: "werkbonnen";
18728
19913
  referencedColumns: ["id"];
19914
+ }, {
19915
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19916
+ columns: ["werkbon_id"];
19917
+ isOneToOne: false;
19918
+ referencedRelation: "wo_overview";
19919
+ referencedColumns: ["id"];
18729
19920
  }];
18730
19921
  };
18731
19922
  werkbon_package_ai_rules: {
@@ -18909,6 +20100,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18909
20100
  isOneToOne: false;
18910
20101
  referencedRelation: "werkbonnen";
18911
20102
  referencedColumns: ["id"];
20103
+ }, {
20104
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20105
+ columns: ["werkbon_id"];
20106
+ isOneToOne: false;
20107
+ referencedRelation: "wo_overview";
20108
+ referencedColumns: ["id"];
18912
20109
  }];
18913
20110
  };
18914
20111
  werkbon_packages: {
@@ -18999,6 +20196,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18999
20196
  isOneToOne: false;
19000
20197
  referencedRelation: "werkbonnen";
19001
20198
  referencedColumns: ["id"];
20199
+ }, {
20200
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20201
+ columns: ["werkbon_id"];
20202
+ isOneToOne: false;
20203
+ referencedRelation: "wo_overview";
20204
+ referencedColumns: ["id"];
19002
20205
  }];
19003
20206
  };
19004
20207
  werkbon_time_logs: {
@@ -19038,6 +20241,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19038
20241
  isOneToOne: false;
19039
20242
  referencedRelation: "werkbonnen";
19040
20243
  referencedColumns: ["id"];
20244
+ }, {
20245
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20246
+ columns: ["werkbon_id"];
20247
+ isOneToOne: false;
20248
+ referencedRelation: "wo_overview";
20249
+ referencedColumns: ["id"];
19041
20250
  }];
19042
20251
  };
19043
20252
  werkbonnen: {
@@ -19161,6 +20370,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19161
20370
  isOneToOne: false;
19162
20371
  referencedRelation: "werkbonnen";
19163
20372
  referencedColumns: ["id"];
20373
+ }, {
20374
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20375
+ columns: ["parent_werkbon_id"];
20376
+ isOneToOne: false;
20377
+ referencedRelation: "wo_overview";
20378
+ referencedColumns: ["id"];
19164
20379
  }, {
19165
20380
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19166
20381
  columns: ["source_mailbox_message_id"];
@@ -19629,6 +20844,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19629
20844
  };
19630
20845
  Relationships: [];
19631
20846
  };
20847
+ logistics_product_dimensions: {
20848
+ Row: {
20849
+ dimension_source: string | null;
20850
+ fust_height_mm: number | null;
20851
+ fust_length_mm: number | null;
20852
+ fust_name: string | null;
20853
+ fust_source: string | null;
20854
+ fust_type_id: string | null;
20855
+ fust_width_mm: number | null;
20856
+ height_source: string | null;
20857
+ missing_reason: string | null;
20858
+ plant_height_cm: number | null;
20859
+ plants_per_crate: number | null;
20860
+ product_id: string | null;
20861
+ product_name: string | null;
20862
+ };
20863
+ Relationships: [];
20864
+ };
19632
20865
  manufacture_product_possible_stock_view: {
19633
20866
  Row: {
19634
20867
  component_count: number | null;
@@ -19666,6 +20899,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19666
20899
  isOneToOne: false;
19667
20900
  referencedRelation: "werkbonnen";
19668
20901
  referencedColumns: ["id"];
20902
+ }, {
20903
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20904
+ columns: ["werkbon_id"];
20905
+ isOneToOne: false;
20906
+ referencedRelation: "wo_overview";
20907
+ referencedColumns: ["id"];
19669
20908
  }];
19670
20909
  };
19671
20910
  product_group_stock_view: {
@@ -20127,17 +21366,92 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20127
21366
  isOneToOne: false;
20128
21367
  referencedRelation: "werkbonnen";
20129
21368
  referencedColumns: ["id"];
21369
+ }, {
21370
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21371
+ columns: ["werkbon_id"];
21372
+ isOneToOne: false;
21373
+ referencedRelation: "wo_overview";
21374
+ referencedColumns: ["id"];
20130
21375
  }];
20131
21376
  };
20132
- };
20133
- Functions: {
20134
- _floriday_schedule_job: {
20135
- Args: {
20136
- p_apikey: string;
20137
- p_jobname: string;
20138
- p_schedule: string;
20139
- p_timeout_ms: number;
20140
- p_url: string;
21377
+ wo_overview: {
21378
+ Row: {
21379
+ assigned_user_id: string | null;
21380
+ budget_mandate_cents: number | null;
21381
+ created_at: string | null;
21382
+ customer_id: string | null;
21383
+ id: string | null;
21384
+ needs_detail_review: boolean | null;
21385
+ number: string | null;
21386
+ parent_werkbon_id: string | null;
21387
+ planning_status: string | null;
21388
+ scheduled_end_time: string | null;
21389
+ scheduled_start_time: string | null;
21390
+ source_type: string | null;
21391
+ status: string | null;
21392
+ technician_id: string | null;
21393
+ updated_at: string | null;
21394
+ work_address: string | null;
21395
+ };
21396
+ Insert: {
21397
+ assigned_user_id?: string | null;
21398
+ budget_mandate_cents?: number | null;
21399
+ created_at?: string | null;
21400
+ customer_id?: string | null;
21401
+ id?: string | null;
21402
+ needs_detail_review?: boolean | null;
21403
+ number?: string | null;
21404
+ parent_werkbon_id?: string | null;
21405
+ planning_status?: string | null;
21406
+ scheduled_end_time?: string | null;
21407
+ scheduled_start_time?: string | null;
21408
+ source_type?: string | null;
21409
+ status?: string | null;
21410
+ technician_id?: string | null;
21411
+ updated_at?: string | null;
21412
+ work_address?: string | null;
21413
+ };
21414
+ Update: {
21415
+ assigned_user_id?: string | null;
21416
+ budget_mandate_cents?: number | null;
21417
+ created_at?: string | null;
21418
+ customer_id?: string | null;
21419
+ id?: string | null;
21420
+ needs_detail_review?: boolean | null;
21421
+ number?: string | null;
21422
+ parent_werkbon_id?: string | null;
21423
+ planning_status?: string | null;
21424
+ scheduled_end_time?: string | null;
21425
+ scheduled_start_time?: string | null;
21426
+ source_type?: string | null;
21427
+ status?: string | null;
21428
+ technician_id?: string | null;
21429
+ updated_at?: string | null;
21430
+ work_address?: string | null;
21431
+ };
21432
+ Relationships: [{
21433
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21434
+ columns: ["parent_werkbon_id"];
21435
+ isOneToOne: false;
21436
+ referencedRelation: "werkbonnen";
21437
+ referencedColumns: ["id"];
21438
+ }, {
21439
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21440
+ columns: ["parent_werkbon_id"];
21441
+ isOneToOne: false;
21442
+ referencedRelation: "wo_overview";
21443
+ referencedColumns: ["id"];
21444
+ }];
21445
+ };
21446
+ };
21447
+ Functions: {
21448
+ _floriday_schedule_job: {
21449
+ Args: {
21450
+ p_apikey: string;
21451
+ p_jobname: string;
21452
+ p_schedule: string;
21453
+ p_timeout_ms: number;
21454
+ p_url: string;
20141
21455
  };
20142
21456
  Returns: number;
20143
21457
  };
@@ -20318,12 +21632,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20318
21632
  _max?: number;
20319
21633
  };
20320
21634
  Returns: {
21635
+ aflever_pogingen: number;
20321
21636
  agent_id: string | null;
21637
+ artefact_bytes: number | null;
21638
+ artefact_gereed_op: string | null;
21639
+ artefact_pad: string | null;
21640
+ artefact_sha256: string | null;
21641
+ batch_id: string | null;
20322
21642
  bron_job_id: string | null;
20323
21643
  created_at: string;
20324
21644
  documentnaam: string;
20325
21645
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20326
21646
  extern_job_id: string | null;
21647
+ fase_gestart_op: string | null;
21648
+ fase_voltooid_op: string | null;
21649
+ foutcode: string | null;
20327
21650
  foutmelding: string | null;
20328
21651
  gebruiker_id: string | null;
20329
21652
  gebruiker_naam: string;
@@ -20337,7 +21660,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20337
21660
  kopieen: number;
20338
21661
  layout_id: string | null;
20339
21662
  lokaal_opgeslagen_op: string | null;
21663
+ lokale_pdf_claim_id: string | null;
21664
+ lokale_pdf_claim_tot: string | null;
20340
21665
  lokale_pdf_fout: string | null;
21666
+ lokale_pdf_print_plek_id: string | null;
20341
21667
  lokale_pdf_status: string | null;
20342
21668
  opgepakt_op: string | null;
20343
21669
  paginas: number;
@@ -20350,6 +21676,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20350
21676
  resultaat_pdf_base64: string | null;
20351
21677
  status: Database["public"]["Enums"]["print_job_status"];
20352
21678
  updated_at: string;
21679
+ verwerkingsfase: string;
20353
21680
  volgende_poging: string | null;
20354
21681
  voltooid_op: string | null;
20355
21682
  }[];
@@ -20396,6 +21723,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20396
21723
  isSetofReturn: true;
20397
21724
  };
20398
21725
  };
21726
+ claim_local_pdf_jobs: {
21727
+ Args: {
21728
+ _max?: number;
21729
+ _print_plek_id: string;
21730
+ _writer_id: string;
21731
+ };
21732
+ Returns: {
21733
+ artefact_bytes: number;
21734
+ artefact_pad: string;
21735
+ artefact_sha256: string;
21736
+ documentnaam: string;
21737
+ id: string;
21738
+ lokale_pdf_print_plek_id: string;
21739
+ lokale_pdf_status: string;
21740
+ printer_id: string;
21741
+ resultaat_pdf_base64: string;
21742
+ status: string;
21743
+ }[];
21744
+ };
20399
21745
  claim_logistics_tasks: {
20400
21746
  Args: {
20401
21747
  _limit?: number;
@@ -20449,12 +21795,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20449
21795
  _max?: number;
20450
21796
  };
20451
21797
  Returns: {
21798
+ aflever_pogingen: number;
20452
21799
  agent_id: string | null;
21800
+ artefact_bytes: number | null;
21801
+ artefact_gereed_op: string | null;
21802
+ artefact_pad: string | null;
21803
+ artefact_sha256: string | null;
21804
+ batch_id: string | null;
20453
21805
  bron_job_id: string | null;
20454
21806
  created_at: string;
20455
21807
  documentnaam: string;
20456
21808
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20457
21809
  extern_job_id: string | null;
21810
+ fase_gestart_op: string | null;
21811
+ fase_voltooid_op: string | null;
21812
+ foutcode: string | null;
20458
21813
  foutmelding: string | null;
20459
21814
  gebruiker_id: string | null;
20460
21815
  gebruiker_naam: string;
@@ -20468,7 +21823,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20468
21823
  kopieen: number;
20469
21824
  layout_id: string | null;
20470
21825
  lokaal_opgeslagen_op: string | null;
21826
+ lokale_pdf_claim_id: string | null;
21827
+ lokale_pdf_claim_tot: string | null;
20471
21828
  lokale_pdf_fout: string | null;
21829
+ lokale_pdf_print_plek_id: string | null;
20472
21830
  lokale_pdf_status: string | null;
20473
21831
  opgepakt_op: string | null;
20474
21832
  paginas: number;
@@ -20481,6 +21839,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20481
21839
  resultaat_pdf_base64: string | null;
20482
21840
  status: Database["public"]["Enums"]["print_job_status"];
20483
21841
  updated_at: string;
21842
+ verwerkingsfase: string;
20484
21843
  volgende_poging: string | null;
20485
21844
  voltooid_op: string | null;
20486
21845
  }[];
@@ -20497,12 +21856,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20497
21856
  _max?: number;
20498
21857
  };
20499
21858
  Returns: {
21859
+ aflever_pogingen: number;
20500
21860
  agent_id: string | null;
21861
+ artefact_bytes: number | null;
21862
+ artefact_gereed_op: string | null;
21863
+ artefact_pad: string | null;
21864
+ artefact_sha256: string | null;
21865
+ batch_id: string | null;
20501
21866
  bron_job_id: string | null;
20502
21867
  created_at: string;
20503
21868
  documentnaam: string;
20504
21869
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20505
21870
  extern_job_id: string | null;
21871
+ fase_gestart_op: string | null;
21872
+ fase_voltooid_op: string | null;
21873
+ foutcode: string | null;
20506
21874
  foutmelding: string | null;
20507
21875
  gebruiker_id: string | null;
20508
21876
  gebruiker_naam: string;
@@ -20516,7 +21884,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20516
21884
  kopieen: number;
20517
21885
  layout_id: string | null;
20518
21886
  lokaal_opgeslagen_op: string | null;
21887
+ lokale_pdf_claim_id: string | null;
21888
+ lokale_pdf_claim_tot: string | null;
20519
21889
  lokale_pdf_fout: string | null;
21890
+ lokale_pdf_print_plek_id: string | null;
20520
21891
  lokale_pdf_status: string | null;
20521
21892
  opgepakt_op: string | null;
20522
21893
  paginas: number;
@@ -20529,6 +21900,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20529
21900
  resultaat_pdf_base64: string | null;
20530
21901
  status: Database["public"]["Enums"]["print_job_status"];
20531
21902
  updated_at: string;
21903
+ verwerkingsfase: string;
20532
21904
  volgende_poging: string | null;
20533
21905
  voltooid_op: string | null;
20534
21906
  }[];
@@ -20539,6 +21911,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20539
21911
  isSetofReturn: true;
20540
21912
  };
20541
21913
  };
21914
+ claim_print_queue_lease: {
21915
+ Args: {
21916
+ _houder: string;
21917
+ _naam: string;
21918
+ _seconden?: number;
21919
+ };
21920
+ Returns: boolean;
21921
+ };
20542
21922
  claim_twinfield_push_batch: {
20543
21923
  Args: {
20544
21924
  _customer_id?: string;
@@ -20664,7 +22044,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20664
22044
  cart_index: number;
20665
22045
  cart_number: string;
20666
22046
  cart_number_id: string;
22047
+ cart_seq: number;
22048
+ cart_total: number;
20667
22049
  order_id: string;
22050
+ order_number: string;
20668
22051
  order_source: string;
20669
22052
  pick_date: string;
20670
22053
  printed_at: string;
@@ -20672,6 +22055,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20672
22055
  status: string;
20673
22056
  }[];
20674
22057
  };
22058
+ control_mark_carts_delivered: {
22059
+ Args: {
22060
+ p_carts: import("./types").Json;
22061
+ };
22062
+ Returns: number;
22063
+ };
20675
22064
  count_distinct_regulatory_products: {
20676
22065
  Args: never;
20677
22066
  Returns: number;
@@ -20799,6 +22188,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20799
22188
  };
20800
22189
  Returns: undefined;
20801
22190
  };
22191
+ ensure_system_roles: {
22192
+ Args: never;
22193
+ Returns: {
22194
+ action: string;
22195
+ role_key: string;
22196
+ }[];
22197
+ };
20802
22198
  ensure_trade_item_stock_row: {
20803
22199
  Args: {
20804
22200
  p_key: string;
@@ -20865,6 +22261,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20865
22261
  };
20866
22262
  Returns: string;
20867
22263
  };
22264
+ finish_local_pdf_job: {
22265
+ Args: {
22266
+ _fout?: string;
22267
+ _job_id: string;
22268
+ _status: string;
22269
+ _writer_id: string;
22270
+ };
22271
+ Returns: boolean;
22272
+ };
22273
+ floriday_adopt_connection: {
22274
+ Args: {
22275
+ p_new: string;
22276
+ p_old: string;
22277
+ };
22278
+ Returns: import("./types").Json;
22279
+ };
22280
+ floriday_autoheal_connections: {
22281
+ Args: never;
22282
+ Returns: import("./types").Json;
22283
+ };
20868
22284
  floriday_capture_stock_snapshot: {
20869
22285
  Args: never;
20870
22286
  Returns: number;
@@ -20922,6 +22338,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20922
22338
  };
20923
22339
  Returns: undefined;
20924
22340
  };
22341
+ floriday_relink_products: {
22342
+ Args: {
22343
+ p_connection_id?: string;
22344
+ };
22345
+ Returns: import("./types").Json;
22346
+ };
20925
22347
  floriday_requeue_dead_letters: {
20926
22348
  Args: {
20927
22349
  p_connection_id?: string;
@@ -21144,6 +22566,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21144
22566
  Args: never;
21145
22567
  Returns: string;
21146
22568
  };
22569
+ handover_archief_lijst: {
22570
+ Args: never;
22571
+ Returns: import("./types").Json;
22572
+ };
22573
+ handover_archiveren: {
22574
+ Args: {
22575
+ _archief?: boolean;
22576
+ _module_id: string;
22577
+ };
22578
+ Returns: boolean;
22579
+ };
22580
+ handover_check_afronden: {
22581
+ Args: {
22582
+ _module_id: string;
22583
+ };
22584
+ Returns: boolean;
22585
+ };
22586
+ handover_check_markeren: {
22587
+ Args: {
22588
+ _module_ids: string[];
22589
+ _reden?: string;
22590
+ };
22591
+ Returns: number;
22592
+ };
22593
+ handover_fingerprint_maken: {
22594
+ Args: {
22595
+ _module_id?: string;
22596
+ };
22597
+ Returns: import("./types").Json;
22598
+ };
21147
22599
  handover_get: {
21148
22600
  Args: {
21149
22601
  _module_id: string;
@@ -21174,6 +22626,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21174
22626
  };
21175
22627
  Returns: boolean;
21176
22628
  };
22629
+ handover_module_meta_zetten: {
22630
+ Args: {
22631
+ _module_id: string;
22632
+ _project_url?: string;
22633
+ _publicatie_url?: string;
22634
+ };
22635
+ Returns: boolean;
22636
+ };
21177
22637
  handover_norm_naam: {
21178
22638
  Args: {
21179
22639
  _naam: string;
@@ -21194,6 +22654,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21194
22654
  };
21195
22655
  Returns: number;
21196
22656
  };
22657
+ handover_publish_uit_github: {
22658
+ Args: {
22659
+ _bezit_tabellen?: string[];
22660
+ _bron_soort?: string;
22661
+ _commit?: string;
22662
+ _contractfuncties?: string[];
22663
+ _inhoud_md: string;
22664
+ _module_id: string;
22665
+ _module_titel: string;
22666
+ _ontbrekende_contracten?: string[];
22667
+ _pad?: string;
22668
+ _repo?: string;
22669
+ _samenvatting?: string;
22670
+ _versie_label?: string;
22671
+ };
22672
+ Returns: import("./types").Json;
22673
+ };
21197
22674
  handover_publish_via_token: {
21198
22675
  Args: {
21199
22676
  _bevindingen?: string;
@@ -21207,7 +22684,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21207
22684
  _samenvatting?: string;
21208
22685
  _token_hash: string;
21209
22686
  };
21210
- Returns: number;
22687
+ Returns: import("./types").Json;
21211
22688
  };
21212
22689
  handover_status: {
21213
22690
  Args: never;
@@ -21219,23 +22696,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21219
22696
  };
21220
22697
  Returns: string;
21221
22698
  };
21222
- handover_token_intrekken: {
21223
- Args: {
21224
- _id: string;
21225
- };
21226
- Returns: boolean;
21227
- };
21228
- handover_token_lijst: {
21229
- Args: never;
21230
- Returns: import("./types").Json;
21231
- };
21232
- handover_token_maken: {
21233
- Args: {
21234
- _label?: string;
21235
- _module_id: string;
21236
- };
21237
- Returns: string;
21238
- };
21239
22699
  handover_update: {
21240
22700
  Args: {
21241
22701
  _bezit_tabellen?: string[];
@@ -21263,12 +22723,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21263
22723
  };
21264
22724
  Returns: boolean;
21265
22725
  };
22726
+ handover_versie_verwijderen: {
22727
+ Args: {
22728
+ _module_id: string;
22729
+ _versie: number;
22730
+ };
22731
+ Returns: boolean;
22732
+ };
21266
22733
  handover_versies: {
21267
22734
  Args: {
21268
22735
  _module_id: string;
21269
22736
  };
21270
22737
  Returns: import("./types").Json;
21271
22738
  };
22739
+ handover_verwijderen: {
22740
+ Args: {
22741
+ _module_id: string;
22742
+ };
22743
+ Returns: boolean;
22744
+ };
22745
+ handover_wijzigingen: {
22746
+ Args: {
22747
+ _module_id?: string;
22748
+ };
22749
+ Returns: import("./types").Json;
22750
+ };
21272
22751
  has_module_permission: {
21273
22752
  Args: {
21274
22753
  _min: string;
@@ -21486,6 +22965,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21486
22965
  };
21487
22966
  Returns: string;
21488
22967
  };
22968
+ logistics_active_layout_method: {
22969
+ Args: never;
22970
+ Returns: string;
22971
+ };
21489
22972
  logistics_active_pick_workdays: {
21490
22973
  Args: never;
21491
22974
  Returns: string[];
@@ -21531,6 +23014,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21531
23014
  };
21532
23015
  Returns: boolean;
21533
23016
  };
23017
+ logistics_barcode_lookup: {
23018
+ Args: {
23019
+ p_barcode: string;
23020
+ };
23021
+ Returns: import("./types").Json;
23022
+ };
23023
+ logistics_block_reason_code: {
23024
+ Args: {
23025
+ p_details?: import("./types").Json;
23026
+ p_reason: string;
23027
+ };
23028
+ Returns: string;
23029
+ };
23030
+ logistics_blocked_orders: {
23031
+ Args: never;
23032
+ Returns: {
23033
+ attempts: number;
23034
+ blocked_since: string;
23035
+ delivery_date: string;
23036
+ order_id: string;
23037
+ order_ref: string;
23038
+ queue_id: string;
23039
+ reason: string;
23040
+ reason_code: string;
23041
+ }[];
23042
+ };
23043
+ logistics_blocked_overview: {
23044
+ Args: never;
23045
+ Returns: import("./types").Json;
23046
+ };
21534
23047
  logistics_buffer_criteria: {
21535
23048
  Args: {
21536
23049
  p_settings: import("./types").Json;
@@ -21545,6 +23058,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21545
23058
  };
21546
23059
  Returns: import("./types").Json;
21547
23060
  };
23061
+ logistics_buffer_detach_late_orders: {
23062
+ Args: {
23063
+ p_buffer?: string;
23064
+ };
23065
+ Returns: import("./types").Json;
23066
+ };
23067
+ logistics_buffer_frozen_order: {
23068
+ Args: {
23069
+ p_order_id: string;
23070
+ };
23071
+ Returns: boolean;
23072
+ };
23073
+ logistics_buffer_handled: {
23074
+ Args: {
23075
+ p_buffer: string;
23076
+ };
23077
+ Returns: boolean;
23078
+ };
23079
+ logistics_buffer_notify: {
23080
+ Args: {
23081
+ p_event_type: string;
23082
+ p_idempotency_key: string;
23083
+ p_order_ref: string;
23084
+ p_payload: import("./types").Json;
23085
+ };
23086
+ Returns: string;
23087
+ };
23088
+ logistics_buffer_open_key: {
23089
+ Args: {
23090
+ p_base_key: string;
23091
+ };
23092
+ Returns: string;
23093
+ };
21548
23094
  logistics_buffer_simulate: {
21549
23095
  Args: {
21550
23096
  p_orders?: import("./types").Json;
@@ -21591,6 +23137,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21591
23137
  };
21592
23138
  Returns: number;
21593
23139
  };
23140
+ logistics_cart_barcode_value: {
23141
+ Args: {
23142
+ _cart_id: string;
23143
+ };
23144
+ Returns: string;
23145
+ };
23146
+ logistics_cart_handled: {
23147
+ Args: {
23148
+ p_cart_index: number;
23149
+ p_order_id: string;
23150
+ };
23151
+ Returns: boolean;
23152
+ };
21594
23153
  logistics_cart_index: {
21595
23154
  Args: {
21596
23155
  p_from?: string;
@@ -21600,6 +23159,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21600
23159
  cart_id: string;
21601
23160
  cart_index: number;
21602
23161
  cart_label: string;
23162
+ cart_number: string;
23163
+ cart_seq: number;
23164
+ cart_total: number;
23165
+ delivery_date: string;
23166
+ is_announced: boolean;
23167
+ is_controlled: boolean;
23168
+ is_printed: boolean;
21603
23169
  is_shared: boolean;
21604
23170
  order_number: string;
21605
23171
  order_source: string;
@@ -21610,34 +23176,107 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21610
23176
  task_status: string;
21611
23177
  }[];
21612
23178
  };
21613
- logistics_check_order_allowed: {
23179
+ logistics_cart_layout_method: {
23180
+ Args: never;
23181
+ Returns: import("./types").Json;
23182
+ };
23183
+ logistics_cart_plan_overview: {
21614
23184
  Args: {
21615
- p_lines: import("./types").Json;
21616
- p_strategy_id?: string;
23185
+ p_days?: number;
21617
23186
  };
21618
- Returns: import("./types").Json;
23187
+ Returns: {
23188
+ cart_total: number;
23189
+ delivery_date: string;
23190
+ order_ref: string;
23191
+ plan_ready: boolean;
23192
+ reason: string;
23193
+ released: boolean;
23194
+ }[];
21619
23195
  };
21620
- logistics_check_order_stock: {
23196
+ logistics_cart_plan_status: {
21621
23197
  Args: {
21622
- p_event_id: string;
23198
+ p_ref: string;
21623
23199
  };
21624
- Returns: string;
23200
+ Returns: import("./types").Json;
21625
23201
  };
21626
- logistics_claim_next_task: {
23202
+ logistics_cart_seq: {
21627
23203
  Args: {
21628
- p_owner_module: string;
21629
- p_worker?: string;
23204
+ p_order_uuid?: string;
21630
23205
  };
21631
23206
  Returns: {
21632
- attempt_log: import("./types").Json;
21633
- attempts: number;
21634
- buffer_ref: string | null;
21635
- claimed_at: string | null;
21636
- claimed_by: string | null;
21637
- completed_at: string | null;
21638
- created_at: string;
21639
- depends_on: string[];
21640
- due_at: string | null;
23207
+ cart_id: string;
23208
+ cart_index: number;
23209
+ cart_number: string;
23210
+ cart_seq: number;
23211
+ cart_total: number;
23212
+ order_uuid: string;
23213
+ }[];
23214
+ };
23215
+ logistics_cart_slip_plan: {
23216
+ Args: {
23217
+ p_order_id: string;
23218
+ };
23219
+ Returns: import("./types").Json;
23220
+ };
23221
+ logistics_cart_units: {
23222
+ Args: {
23223
+ p_from?: string;
23224
+ p_to?: string;
23225
+ };
23226
+ Returns: {
23227
+ cart_id: string;
23228
+ cart_index: number;
23229
+ cart_label: string;
23230
+ cart_number: string;
23231
+ cart_seq: number;
23232
+ cart_total: number;
23233
+ delivery_date: string;
23234
+ is_announced: boolean;
23235
+ is_buffer: boolean;
23236
+ is_controlled: boolean;
23237
+ is_printed: boolean;
23238
+ is_shared: boolean;
23239
+ order_number: string;
23240
+ order_source: string;
23241
+ order_uuid: string;
23242
+ pick_date: string;
23243
+ printed_at: string;
23244
+ shifted: boolean;
23245
+ task_status: string;
23246
+ unit_buffer: string;
23247
+ unit_order_count: number;
23248
+ unit_orders: string[];
23249
+ unit_ref: string;
23250
+ }[];
23251
+ };
23252
+ logistics_check_order_allowed: {
23253
+ Args: {
23254
+ p_lines: import("./types").Json;
23255
+ p_strategy_id?: string;
23256
+ };
23257
+ Returns: import("./types").Json;
23258
+ };
23259
+ logistics_check_order_stock: {
23260
+ Args: {
23261
+ p_event_id: string;
23262
+ };
23263
+ Returns: string;
23264
+ };
23265
+ logistics_claim_next_task: {
23266
+ Args: {
23267
+ p_owner_module: string;
23268
+ p_worker?: string;
23269
+ };
23270
+ Returns: {
23271
+ attempt_log: import("./types").Json;
23272
+ attempts: number;
23273
+ buffer_ref: string | null;
23274
+ claimed_at: string | null;
23275
+ claimed_by: string | null;
23276
+ completed_at: string | null;
23277
+ created_at: string;
23278
+ depends_on: string[];
23279
+ due_at: string | null;
21641
23280
  error: string | null;
21642
23281
  id: string;
21643
23282
  last_error: string | null;
@@ -21762,12 +23401,97 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21762
23401
  Args: never;
21763
23402
  Returns: {
21764
23403
  agenda_carts: number;
23404
+ announced_carts: number;
21765
23405
  control_carts: number;
23406
+ delivery_carts: number;
23407
+ duplicate_carts: number;
21766
23408
  ok: boolean;
23409
+ orphan_carts: number;
21767
23410
  orphan_tasks: number;
21768
23411
  pick_date: string;
21769
23412
  raw_carts: number;
23413
+ sales_carts: number;
23414
+ station_carts: number;
23415
+ }[];
23416
+ };
23417
+ logistics_control_scan_approve: {
23418
+ Args: {
23419
+ p_allow_reprint?: boolean;
23420
+ p_barcode: string;
23421
+ p_printer_id?: string;
23422
+ p_scanner_id?: string;
23423
+ };
23424
+ Returns: import("./types").Json;
23425
+ };
23426
+ logistics_control_scan_claim: {
23427
+ Args: {
23428
+ _lease_seconds?: number;
23429
+ _limit?: number;
23430
+ };
23431
+ Returns: {
23432
+ approved_at: string | null;
23433
+ attempts: number;
23434
+ barcode: string;
23435
+ cart_id: string;
23436
+ created_at: string;
23437
+ document_url: string | null;
23438
+ error: string | null;
23439
+ error_code: string | null;
23440
+ fulfillment_order_id: string | null;
23441
+ id: string;
23442
+ is_floriday: boolean;
23443
+ locked_until: string | null;
23444
+ order_id: string | null;
23445
+ order_number: string | null;
23446
+ print_job_id: string | null;
23447
+ printed_at: string | null;
23448
+ printer_id: string | null;
23449
+ scanner_id: string | null;
23450
+ status: string;
23451
+ updated_at: string;
21770
23452
  }[];
23453
+ SetofOptions: {
23454
+ from: "*";
23455
+ to: "logistics_control_scan";
23456
+ isOneToOne: false;
23457
+ isSetofReturn: true;
23458
+ };
23459
+ };
23460
+ logistics_control_scan_finish: {
23461
+ Args: {
23462
+ _document_url?: string;
23463
+ _error?: string;
23464
+ _error_code?: string;
23465
+ _fulfillment_order_id?: string;
23466
+ _id: string;
23467
+ _ok: boolean;
23468
+ _print_job_id?: string;
23469
+ _status?: string;
23470
+ };
23471
+ Returns: import("./types").Json;
23472
+ };
23473
+ logistics_control_scan_lookup: {
23474
+ Args: {
23475
+ p_barcode: string;
23476
+ };
23477
+ Returns: import("./types").Json;
23478
+ };
23479
+ logistics_control_scan_overview: {
23480
+ Args: {
23481
+ _date?: string;
23482
+ _scanner_id?: string;
23483
+ };
23484
+ Returns: import("./types").Json;
23485
+ };
23486
+ logistics_control_scan_retry: {
23487
+ Args: {
23488
+ _id: string;
23489
+ };
23490
+ Returns: import("./types").Json;
23491
+ };
23492
+ logistics_control_settings: {
23493
+ Args: never;
23494
+ Returns: import("./types").Json;
21771
23495
  };
21772
23496
  logistics_delay_customer_email: {
21773
23497
  Args: {
@@ -21782,12 +23506,35 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21782
23506
  subject: string;
21783
23507
  }[];
21784
23508
  };
23509
+ logistics_delivery_agenda: {
23510
+ Args: {
23511
+ p_from?: string;
23512
+ p_to?: string;
23513
+ };
23514
+ Returns: {
23515
+ announced_count: number;
23516
+ cart_count: number;
23517
+ controlled_count: number;
23518
+ delivery_date: string;
23519
+ order_count: number;
23520
+ orders: import("./types").Json;
23521
+ plant_count: number;
23522
+ printed_count: number;
23523
+ }[];
23524
+ };
21785
23525
  logistics_document_layout: {
21786
23526
  Args: {
21787
23527
  _document_code: string;
21788
23528
  };
21789
23529
  Returns: import("./types").Json;
21790
23530
  };
23531
+ logistics_document_layout_v2: {
23532
+ Args: {
23533
+ _document_code: string;
23534
+ _is_partial?: boolean;
23535
+ };
23536
+ Returns: import("./types").Json;
23537
+ };
21791
23538
  logistics_document_station: {
21792
23539
  Args: {
21793
23540
  _document_code: string;
@@ -21813,6 +23560,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21813
23560
  };
21814
23561
  Returns: import("./types").Json;
21815
23562
  };
23563
+ logistics_enqueue_sticker_with_slip: {
23564
+ Args: {
23565
+ _cart_id: string;
23566
+ _is_herprint: boolean;
23567
+ _printer_id: string;
23568
+ _queue_item_id: string;
23569
+ _session_id: string;
23570
+ _slip_job_id: string;
23571
+ };
23572
+ Returns: string;
23573
+ };
23574
+ logistics_ensure_cart_barcode: {
23575
+ Args: {
23576
+ _cart_id: string;
23577
+ };
23578
+ Returns: string;
23579
+ };
21816
23580
  logistics_fail_task: {
21817
23581
  Args: {
21818
23582
  p_error: string;
@@ -21934,6 +23698,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21934
23698
  };
21935
23699
  Returns: string;
21936
23700
  };
23701
+ logistics_floriday_order_approved: {
23702
+ Args: {
23703
+ _order_ref: string;
23704
+ };
23705
+ Returns: boolean;
23706
+ };
21937
23707
  logistics_floriday_prune_pushes: {
21938
23708
  Args: {
21939
23709
  _days?: number;
@@ -21948,6 +23718,40 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21948
23718
  };
21949
23719
  Returns: string;
21950
23720
  };
23721
+ logistics_floriday_status_updates_enabled: {
23722
+ Args: never;
23723
+ Returns: boolean;
23724
+ };
23725
+ logistics_fulfill_barcode_requests: {
23726
+ Args: {
23727
+ p_limit?: number;
23728
+ };
23729
+ Returns: import("./types").Json;
23730
+ };
23731
+ logistics_full_cart_min_layers: {
23732
+ Args: never;
23733
+ Returns: number;
23734
+ };
23735
+ logistics_full_cart_min_percentage: {
23736
+ Args: never;
23737
+ Returns: number;
23738
+ };
23739
+ logistics_is_pick_workday: {
23740
+ Args: {
23741
+ p_date: string;
23742
+ };
23743
+ Returns: boolean;
23744
+ };
23745
+ logistics_layout_method_status: {
23746
+ Args: never;
23747
+ Returns: import("./types").Json;
23748
+ };
23749
+ logistics_link_order_items: {
23750
+ Args: {
23751
+ p_order?: string;
23752
+ };
23753
+ Returns: import("./types").Json;
23754
+ };
21951
23755
  logistics_live_carriers: {
21952
23756
  Args: {
21953
23757
  p_order_ref: string;
@@ -21960,6 +23764,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21960
23764
  };
21961
23765
  Returns: number;
21962
23766
  };
23767
+ logistics_next_workday_date: {
23768
+ Args: {
23769
+ p_date: string;
23770
+ p_days?: string[];
23771
+ };
23772
+ Returns: string;
23773
+ };
23774
+ logistics_next_workday_not_past: {
23775
+ Args: {
23776
+ p_days: string[];
23777
+ p_ts: string;
23778
+ };
23779
+ Returns: string;
23780
+ };
23781
+ logistics_normalize_product_label: {
23782
+ Args: {
23783
+ p_label: string;
23784
+ };
23785
+ Returns: string;
23786
+ };
21963
23787
  logistics_not_past: {
21964
23788
  Args: {
21965
23789
  p_ts: string;
@@ -21972,6 +23796,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21972
23796
  };
21973
23797
  Returns: number;
21974
23798
  };
23799
+ logistics_order_handled: {
23800
+ Args: {
23801
+ p_order_uuid: string;
23802
+ };
23803
+ Returns: boolean;
23804
+ };
23805
+ logistics_order_is_topick: {
23806
+ Args: {
23807
+ p_order_id: string;
23808
+ p_order_number: string;
23809
+ };
23810
+ Returns: boolean;
23811
+ };
21975
23812
  logistics_order_overview: {
21976
23813
  Args: {
21977
23814
  p_from?: string;
@@ -21997,6 +23834,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21997
23834
  };
21998
23835
  Returns: string;
21999
23836
  };
23837
+ logistics_order_released: {
23838
+ Args: {
23839
+ p_order_ref: string;
23840
+ };
23841
+ Returns: boolean;
23842
+ };
22000
23843
  logistics_parse_pickup: {
22001
23844
  Args: {
22002
23845
  p_value: string;
@@ -22019,10 +23862,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22019
23862
  shifted_count: number;
22020
23863
  }[];
22021
23864
  };
23865
+ logistics_pick_barcode_enabled: {
23866
+ Args: never;
23867
+ Returns: boolean;
23868
+ };
22022
23869
  logistics_pick_email_purpose: {
22023
23870
  Args: never;
22024
23871
  Returns: string;
22025
23872
  };
23873
+ logistics_pick_mode: {
23874
+ Args: never;
23875
+ Returns: import("./types").Json;
23876
+ };
23877
+ logistics_pick_start_estimate: {
23878
+ Args: {
23879
+ p_order: import("./types").Json;
23880
+ s: import("./types").Json;
23881
+ };
23882
+ Returns: string;
23883
+ };
23884
+ logistics_pick_units: {
23885
+ Args: never;
23886
+ Returns: {
23887
+ is_buffer: boolean;
23888
+ order_number: string;
23889
+ order_uuid: string;
23890
+ unit_buffer: string;
23891
+ unit_order_count: number;
23892
+ unit_orders: string[];
23893
+ unit_ref: string;
23894
+ }[];
23895
+ };
22026
23896
  logistics_plan_all: {
22027
23897
  Args: {
22028
23898
  p_user_id?: string;
@@ -22102,6 +23972,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22102
23972
  Args: never;
22103
23973
  Returns: number;
22104
23974
  };
23975
+ logistics_plan_retry: {
23976
+ Args: {
23977
+ p_order_ids: string[];
23978
+ };
23979
+ Returns: number;
23980
+ };
22105
23981
  logistics_plan_setting: {
22106
23982
  Args: {
22107
23983
  p_default: number;
@@ -22109,6 +23985,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22109
23985
  };
22110
23986
  Returns: number;
22111
23987
  };
23988
+ logistics_prune_buffer_member_queue: {
23989
+ Args: never;
23990
+ Returns: number;
23991
+ };
23992
+ logistics_prune_handled_pick_queue: {
23993
+ Args: never;
23994
+ Returns: number;
23995
+ };
22112
23996
  logistics_queue_capacity_email: {
22113
23997
  Args: {
22114
23998
  p_alert_id: string;
@@ -22141,6 +24025,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22141
24025
  Args: never;
22142
24026
  Returns: import("./types").Json;
22143
24027
  };
24028
+ logistics_refresh_pickup_moments: {
24029
+ Args: {
24030
+ p_weeks?: number;
24031
+ };
24032
+ Returns: import("./types").Json;
24033
+ };
24034
+ logistics_replan_all: {
24035
+ Args: {
24036
+ p_reason?: string;
24037
+ };
24038
+ Returns: import("./types").Json;
24039
+ };
22144
24040
  logistics_report_delay: {
22145
24041
  Args: {
22146
24042
  p_expected_date?: string;
@@ -22194,6 +24090,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22194
24090
  };
22195
24091
  Returns: import("./types").Json;
22196
24092
  };
24093
+ logistics_resolve_product_id: {
24094
+ Args: {
24095
+ p_label: string;
24096
+ };
24097
+ Returns: string;
24098
+ };
22197
24099
  logistics_resolve_settings: {
22198
24100
  Args: {
22199
24101
  p_config_id: string;
@@ -22247,6 +24149,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22247
24149
  };
22248
24150
  Returns: string;
22249
24151
  };
24152
+ logistics_scan_resolve: {
24153
+ Args: {
24154
+ p_code: string;
24155
+ };
24156
+ Returns: import("./types").Json;
24157
+ };
22250
24158
  logistics_schedule_tasks: {
22251
24159
  Args: never;
22252
24160
  Returns: number;
@@ -22273,6 +24181,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22273
24181
  };
22274
24182
  Returns: string;
22275
24183
  };
24184
+ logistics_shipping_note_from_barcode: {
24185
+ Args: {
24186
+ p_allow_reprint?: boolean;
24187
+ p_barcode: string;
24188
+ p_station_id?: string;
24189
+ };
24190
+ Returns: import("./types").Json;
24191
+ };
24192
+ logistics_sticker_follows_slip: {
24193
+ Args: never;
24194
+ Returns: boolean;
24195
+ };
22276
24196
  logistics_supersede_stale_tasks: {
22277
24197
  Args: {
22278
24198
  p_keep: string[];
@@ -22305,6 +24225,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22305
24225
  };
22306
24226
  Returns: number;
22307
24227
  };
24228
+ logistics_tick_ping: {
24229
+ Args: never;
24230
+ Returns: string;
24231
+ };
22308
24232
  logistics_upsert_task: {
22309
24233
  Args: {
22310
24234
  p_buffer_ref: string;
@@ -22324,6 +24248,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22324
24248
  };
22325
24249
  Returns: string;
22326
24250
  };
24251
+ logistics_write_buffer_layer_positions: {
24252
+ Args: {
24253
+ p_buffer_id: string;
24254
+ };
24255
+ Returns: number;
24256
+ };
24257
+ logistics_write_cart_layer_positions: {
24258
+ Args: {
24259
+ p_cart_id: string;
24260
+ };
24261
+ Returns: number;
24262
+ };
22327
24263
  mark_offer_clicked: {
22328
24264
  Args: {
22329
24265
  p_code: string;
@@ -22356,6 +24292,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22356
24292
  };
22357
24293
  Returns: undefined;
22358
24294
  };
24295
+ move_cart_layer_position: {
24296
+ Args: {
24297
+ p_id: string;
24298
+ p_layer: number;
24299
+ p_x: number;
24300
+ p_y: number;
24301
+ };
24302
+ Returns: undefined;
24303
+ };
22359
24304
  my_module_permissions: {
22360
24305
  Args: never;
22361
24306
  Returns: {
@@ -22427,6 +24372,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22427
24372
  };
22428
24373
  Returns: import("./types").Json;
22429
24374
  };
24375
+ order_heeft_bevestigde_karren: {
24376
+ Args: {
24377
+ p_order_id: string;
24378
+ };
24379
+ Returns: boolean;
24380
+ };
22430
24381
  order_number_prefix: {
22431
24382
  Args: {
22432
24383
  p_custom_fields?: import("./types").Json;
@@ -22462,13 +24413,418 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22462
24413
  online: boolean;
22463
24414
  }[];
22464
24415
  };
22465
- pick_claim_document: {
24416
+ pick_apply_buffer_events: {
24417
+ Args: never;
24418
+ Returns: import("./types").Json;
24419
+ };
24420
+ pick_available_pick_days: {
24421
+ Args: {
24422
+ _max_days?: number;
24423
+ };
24424
+ Returns: {
24425
+ orders: number;
24426
+ pick_day: string;
24427
+ }[];
24428
+ };
24429
+ pick_buffer_order_ids: {
24430
+ Args: {
24431
+ _order_id: string;
24432
+ };
24433
+ Returns: string[];
24434
+ };
24435
+ pick_cart_breakdown: {
24436
+ Args: {
24437
+ _order_id: string;
24438
+ };
24439
+ Returns: import("./types").Json;
24440
+ };
24441
+ pick_claim_document: {
24442
+ Args: {
24443
+ _queue_item_id: string;
24444
+ _screen_id: string;
24445
+ _session_id: string;
24446
+ _station_id: string;
24447
+ _timeout_seconds?: number;
24448
+ };
24449
+ Returns: {
24450
+ announced_at: string;
24451
+ assigned_user_id: string | null;
24452
+ barcode: string | null;
24453
+ cancelled_at: string | null;
24454
+ cart_count: number;
24455
+ completed_at: string | null;
24456
+ country_code: string | null;
24457
+ created_at: string;
24458
+ customer_name: string | null;
24459
+ delivery_address: string | null;
24460
+ document_number: string | null;
24461
+ document_type_id: string | null;
24462
+ due_at: string | null;
24463
+ id: string;
24464
+ is_urgent: boolean;
24465
+ line_count: number;
24466
+ order_number: string | null;
24467
+ order_type: string | null;
24468
+ payload: import("./types").Json;
24469
+ print_count: number;
24470
+ print_job_id: string | null;
24471
+ printed_at: string | null;
24472
+ printed_by: string | null;
24473
+ printed_cart_ids: import("./types").Json;
24474
+ printer_id: string | null;
24475
+ priority: number;
24476
+ reference: string | null;
24477
+ route: string | null;
24478
+ screen_id: string | null;
24479
+ station_id: string | null;
24480
+ status_id: string | null;
24481
+ updated_at: string;
24482
+ warnings: import("./types").Json;
24483
+ };
24484
+ SetofOptions: {
24485
+ from: "*";
24486
+ to: "pick_queue";
24487
+ isOneToOne: true;
24488
+ isSetofReturn: false;
24489
+ };
24490
+ };
24491
+ pick_claim_next_document: {
24492
+ Args: {
24493
+ _country_code: string;
24494
+ _pick_day?: string;
24495
+ _screen_id: string;
24496
+ _session_id: string;
24497
+ _station_id: string;
24498
+ _timeout_seconds?: number;
24499
+ };
24500
+ Returns: {
24501
+ announced_at: string;
24502
+ assigned_user_id: string | null;
24503
+ barcode: string | null;
24504
+ cancelled_at: string | null;
24505
+ cart_count: number;
24506
+ completed_at: string | null;
24507
+ country_code: string | null;
24508
+ created_at: string;
24509
+ customer_name: string | null;
24510
+ delivery_address: string | null;
24511
+ document_number: string | null;
24512
+ document_type_id: string | null;
24513
+ due_at: string | null;
24514
+ id: string;
24515
+ is_urgent: boolean;
24516
+ line_count: number;
24517
+ order_number: string | null;
24518
+ order_type: string | null;
24519
+ payload: import("./types").Json;
24520
+ print_count: number;
24521
+ print_job_id: string | null;
24522
+ printed_at: string | null;
24523
+ printed_by: string | null;
24524
+ printed_cart_ids: import("./types").Json;
24525
+ printer_id: string | null;
24526
+ priority: number;
24527
+ reference: string | null;
24528
+ route: string | null;
24529
+ screen_id: string | null;
24530
+ station_id: string | null;
24531
+ status_id: string | null;
24532
+ updated_at: string;
24533
+ warnings: import("./types").Json;
24534
+ };
24535
+ SetofOptions: {
24536
+ from: "*";
24537
+ to: "pick_queue";
24538
+ isOneToOne: true;
24539
+ isSetofReturn: false;
24540
+ };
24541
+ };
24542
+ pick_cleanup_maintenance: {
24543
+ Args: {
24544
+ _heartbeat_hours?: number;
24545
+ _log_days?: number;
24546
+ };
24547
+ Returns: import("./types").Json;
24548
+ };
24549
+ pick_complete_print: {
24550
+ Args: {
24551
+ _printer_id: string;
24552
+ _queue_item_id: string;
24553
+ _session_id: string;
24554
+ };
24555
+ Returns: {
24556
+ announced_at: string;
24557
+ assigned_user_id: string | null;
24558
+ barcode: string | null;
24559
+ cancelled_at: string | null;
24560
+ cart_count: number;
24561
+ completed_at: string | null;
24562
+ country_code: string | null;
24563
+ created_at: string;
24564
+ customer_name: string | null;
24565
+ delivery_address: string | null;
24566
+ document_number: string | null;
24567
+ document_type_id: string | null;
24568
+ due_at: string | null;
24569
+ id: string;
24570
+ is_urgent: boolean;
24571
+ line_count: number;
24572
+ order_number: string | null;
24573
+ order_type: string | null;
24574
+ payload: import("./types").Json;
24575
+ print_count: number;
24576
+ print_job_id: string | null;
24577
+ printed_at: string | null;
24578
+ printed_by: string | null;
24579
+ printed_cart_ids: import("./types").Json;
24580
+ printer_id: string | null;
24581
+ priority: number;
24582
+ reference: string | null;
24583
+ route: string | null;
24584
+ screen_id: string | null;
24585
+ station_id: string | null;
24586
+ status_id: string | null;
24587
+ updated_at: string;
24588
+ warnings: import("./types").Json;
24589
+ };
24590
+ SetofOptions: {
24591
+ from: "*";
24592
+ to: "pick_queue";
24593
+ isOneToOne: true;
24594
+ isSetofReturn: false;
24595
+ };
24596
+ };
24597
+ pick_complete_print_cart: {
24598
+ Args: {
24599
+ _cart_id: string;
24600
+ _printer_id: string;
24601
+ _queue_item_id: string;
24602
+ _session_id: string;
24603
+ };
24604
+ Returns: {
24605
+ announced_at: string;
24606
+ assigned_user_id: string | null;
24607
+ barcode: string | null;
24608
+ cancelled_at: string | null;
24609
+ cart_count: number;
24610
+ completed_at: string | null;
24611
+ country_code: string | null;
24612
+ created_at: string;
24613
+ customer_name: string | null;
24614
+ delivery_address: string | null;
24615
+ document_number: string | null;
24616
+ document_type_id: string | null;
24617
+ due_at: string | null;
24618
+ id: string;
24619
+ is_urgent: boolean;
24620
+ line_count: number;
24621
+ order_number: string | null;
24622
+ order_type: string | null;
24623
+ payload: import("./types").Json;
24624
+ print_count: number;
24625
+ print_job_id: string | null;
24626
+ printed_at: string | null;
24627
+ printed_by: string | null;
24628
+ printed_cart_ids: import("./types").Json;
24629
+ printer_id: string | null;
24630
+ priority: number;
24631
+ reference: string | null;
24632
+ route: string | null;
24633
+ screen_id: string | null;
24634
+ station_id: string | null;
24635
+ status_id: string | null;
24636
+ updated_at: string;
24637
+ warnings: import("./types").Json;
24638
+ };
24639
+ SetofOptions: {
24640
+ from: "*";
24641
+ to: "pick_queue";
24642
+ isOneToOne: true;
24643
+ isSetofReturn: false;
24644
+ };
24645
+ };
24646
+ pick_complete_print_carts: {
24647
+ Args: {
24648
+ _cart_ids: string[];
24649
+ _queue_item_id: string;
24650
+ _session_id: string;
24651
+ };
24652
+ Returns: import("./types").Json;
24653
+ };
24654
+ pick_current_pick_day: {
24655
+ Args: never;
24656
+ Returns: string;
24657
+ };
24658
+ pick_day_counts: {
24659
+ Args: {
24660
+ _pick_day?: string;
24661
+ _screen_id?: string;
24662
+ _station_id?: string;
24663
+ };
24664
+ Returns: import("./types").Json;
24665
+ };
24666
+ pick_document_layout_data: {
24667
+ Args: {
24668
+ _layout_id: string;
24669
+ };
24670
+ Returns: import("./types").Json;
24671
+ };
24672
+ pick_enqueue_print_job: {
24673
+ Args: {
24674
+ _is_herprint?: boolean;
24675
+ _printer_id?: string;
24676
+ _queue_item_id: string;
24677
+ _session_id?: string;
24678
+ };
24679
+ Returns: string;
24680
+ } | {
24681
+ Args: {
24682
+ _cart_id: string;
24683
+ _is_herprint: boolean;
24684
+ _printer_id: string;
24685
+ _queue_item_id: string;
24686
+ _session_id: string;
24687
+ };
24688
+ Returns: string;
24689
+ };
24690
+ pick_enqueue_print_job_from_cart: {
24691
+ Args: {
24692
+ _cart_id: string;
24693
+ _is_herprint: boolean;
24694
+ _printer_id: string;
24695
+ _queue_item_id: string;
24696
+ _selected_cart: import("./types").Json;
24697
+ _session_id: string;
24698
+ };
24699
+ Returns: string;
24700
+ };
24701
+ pick_mark_printed: {
24702
+ Args: {
24703
+ _queue_item_id: string;
24704
+ _reden?: string;
24705
+ _session_id: string;
24706
+ };
24707
+ Returns: {
24708
+ announced_at: string;
24709
+ assigned_user_id: string | null;
24710
+ barcode: string | null;
24711
+ cancelled_at: string | null;
24712
+ cart_count: number;
24713
+ completed_at: string | null;
24714
+ country_code: string | null;
24715
+ created_at: string;
24716
+ customer_name: string | null;
24717
+ delivery_address: string | null;
24718
+ document_number: string | null;
24719
+ document_type_id: string | null;
24720
+ due_at: string | null;
24721
+ id: string;
24722
+ is_urgent: boolean;
24723
+ line_count: number;
24724
+ order_number: string | null;
24725
+ order_type: string | null;
24726
+ payload: import("./types").Json;
24727
+ print_count: number;
24728
+ print_job_id: string | null;
24729
+ printed_at: string | null;
24730
+ printed_by: string | null;
24731
+ printed_cart_ids: import("./types").Json;
24732
+ printer_id: string | null;
24733
+ priority: number;
24734
+ reference: string | null;
24735
+ route: string | null;
24736
+ screen_id: string | null;
24737
+ station_id: string | null;
24738
+ status_id: string | null;
24739
+ updated_at: string;
24740
+ warnings: import("./types").Json;
24741
+ };
24742
+ SetofOptions: {
24743
+ from: "*";
24744
+ to: "pick_queue";
24745
+ isOneToOne: true;
24746
+ isSetofReturn: false;
24747
+ };
24748
+ };
24749
+ pick_order_context: {
24750
+ Args: {
24751
+ _order_id?: string;
24752
+ _order_number?: string;
24753
+ };
24754
+ Returns: import("./types").Json;
24755
+ };
24756
+ pick_preview_job: {
24757
+ Args: {
24758
+ _queue_item_id: string;
24759
+ _station_slug: string;
24760
+ };
24761
+ Returns: import("./types").Json;
24762
+ };
24763
+ pick_print_job_status: {
24764
+ Args: {
24765
+ _job_id: string;
24766
+ };
24767
+ Returns: import("./types").Json;
24768
+ };
24769
+ pick_print_jobs_status: {
24770
+ Args: {
24771
+ _job_ids: string[];
24772
+ };
24773
+ Returns: import("./types").Json[];
24774
+ };
24775
+ pick_print_plekken: {
24776
+ Args: never;
24777
+ Returns: {
24778
+ id: string;
24779
+ naam: string;
24780
+ omschrijving: string;
24781
+ }[];
24782
+ };
24783
+ pick_queue_cart_plan: {
24784
+ Args: {
24785
+ _queue_item_id: string;
24786
+ };
24787
+ Returns: import("./types").Json;
24788
+ };
24789
+ pick_reference_data_status: {
24790
+ Args: never;
24791
+ Returns: import("./types").Json;
24792
+ };
24793
+ pick_release_expired_locks: {
24794
+ Args: never;
24795
+ Returns: number;
24796
+ };
24797
+ pick_release_lock: {
24798
+ Args: {
24799
+ _queue_item_id: string;
24800
+ };
24801
+ Returns: undefined;
24802
+ };
24803
+ pick_report_missing_cart_plan: {
24804
+ Args: never;
24805
+ Returns: import("./types").Json;
24806
+ };
24807
+ pick_reprint_cart: {
24808
+ Args: {
24809
+ _cart_id: string;
24810
+ _queue_item_id: string;
24811
+ _session_id: string;
24812
+ _throttle_seconds?: number;
24813
+ };
24814
+ Returns: string;
24815
+ };
24816
+ pick_reprint_document: {
24817
+ Args: {
24818
+ _queue_item_id: string;
24819
+ _session_id: string;
24820
+ _throttle_seconds?: number;
24821
+ };
24822
+ Returns: string;
24823
+ };
24824
+ pick_reset_print: {
22466
24825
  Args: {
22467
24826
  _queue_item_id: string;
22468
- _screen_id: string;
22469
24827
  _session_id: string;
22470
- _station_id: string;
22471
- _timeout_seconds?: number;
22472
24828
  };
22473
24829
  Returns: {
22474
24830
  announced_at: string;
@@ -22494,6 +24850,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22494
24850
  print_job_id: string | null;
22495
24851
  printed_at: string | null;
22496
24852
  printed_by: string | null;
24853
+ printed_cart_ids: import("./types").Json;
22497
24854
  printer_id: string | null;
22498
24855
  priority: number;
22499
24856
  reference: string | null;
@@ -22510,14 +24867,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22510
24867
  isOneToOne: true;
22511
24868
  isSetofReturn: false;
22512
24869
  };
22513
- };
22514
- pick_claim_next_document: {
24870
+ } | {
22515
24871
  Args: {
22516
- _country_code: string;
22517
- _screen_id: string;
24872
+ _cart_id?: string;
24873
+ _queue_item_id: string;
22518
24874
  _session_id: string;
22519
- _station_id: string;
22520
- _timeout_seconds?: number;
22521
24875
  };
22522
24876
  Returns: {
22523
24877
  announced_at: string;
@@ -22543,6 +24897,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22543
24897
  print_job_id: string | null;
22544
24898
  printed_at: string | null;
22545
24899
  printed_by: string | null;
24900
+ printed_cart_ids: import("./types").Json;
22546
24901
  printer_id: string | null;
22547
24902
  priority: number;
22548
24903
  reference: string | null;
@@ -22560,16 +24915,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22560
24915
  isSetofReturn: false;
22561
24916
  };
22562
24917
  };
22563
- pick_cleanup_maintenance: {
22564
- Args: {
22565
- _heartbeat_hours?: number;
22566
- _log_days?: number;
22567
- };
22568
- Returns: import("./types").Json;
22569
- };
22570
- pick_complete_print: {
24918
+ pick_reset_print_job: {
22571
24919
  Args: {
22572
- _printer_id: string;
24920
+ _cart_id: string;
24921
+ _job_id: string;
22573
24922
  _queue_item_id: string;
22574
24923
  _session_id: string;
22575
24924
  };
@@ -22597,6 +24946,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22597
24946
  print_job_id: string | null;
22598
24947
  printed_at: string | null;
22599
24948
  printed_by: string | null;
24949
+ printed_cart_ids: import("./types").Json;
22600
24950
  printer_id: string | null;
22601
24951
  priority: number;
22602
24952
  reference: string | null;
@@ -22614,84 +24964,56 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22614
24964
  isSetofReturn: false;
22615
24965
  };
22616
24966
  };
22617
- pick_current_pick_day: {
22618
- Args: never;
22619
- Returns: string;
22620
- };
22621
- pick_day_counts: {
22622
- Args: {
22623
- _pick_day?: string;
22624
- _screen_id?: string;
22625
- _station_id?: string;
22626
- };
22627
- Returns: import("./types").Json;
22628
- };
22629
- pick_document_layout_data: {
22630
- Args: {
22631
- _layout_id: string;
22632
- };
22633
- Returns: import("./types").Json;
22634
- };
22635
- pick_enqueue_print_job: {
22636
- Args: {
22637
- _is_herprint?: boolean;
22638
- _printer_id?: string;
22639
- _queue_item_id: string;
22640
- _session_id?: string;
22641
- };
22642
- Returns: string;
22643
- };
22644
- pick_order_context: {
22645
- Args: {
22646
- _order_id?: string;
22647
- _order_number?: string;
22648
- };
22649
- Returns: import("./types").Json;
22650
- };
22651
- pick_preview_job: {
24967
+ pick_reset_print_jobs: {
22652
24968
  Args: {
24969
+ _cart_ids: string[];
24970
+ _job_ids: string[];
22653
24971
  _queue_item_id: string;
22654
- _station_slug: string;
22655
- };
22656
- Returns: import("./types").Json;
22657
- };
22658
- pick_print_job_status: {
22659
- Args: {
22660
- _job_id: string;
24972
+ _session_id: string;
22661
24973
  };
22662
- Returns: import("./types").Json;
22663
- };
22664
- pick_print_plekken: {
22665
- Args: never;
22666
24974
  Returns: {
24975
+ announced_at: string;
24976
+ assigned_user_id: string | null;
24977
+ barcode: string | null;
24978
+ cancelled_at: string | null;
24979
+ cart_count: number;
24980
+ completed_at: string | null;
24981
+ country_code: string | null;
24982
+ created_at: string;
24983
+ customer_name: string | null;
24984
+ delivery_address: string | null;
24985
+ document_number: string | null;
24986
+ document_type_id: string | null;
24987
+ due_at: string | null;
22667
24988
  id: string;
22668
- naam: string;
22669
- omschrijving: string;
22670
- }[];
22671
- };
22672
- pick_reference_data_status: {
22673
- Args: never;
22674
- Returns: import("./types").Json;
22675
- };
22676
- pick_release_expired_locks: {
22677
- Args: never;
22678
- Returns: number;
22679
- };
22680
- pick_release_lock: {
22681
- Args: {
22682
- _queue_item_id: string;
24989
+ is_urgent: boolean;
24990
+ line_count: number;
24991
+ order_number: string | null;
24992
+ order_type: string | null;
24993
+ payload: import("./types").Json;
24994
+ print_count: number;
24995
+ print_job_id: string | null;
24996
+ printed_at: string | null;
24997
+ printed_by: string | null;
24998
+ printed_cart_ids: import("./types").Json;
24999
+ printer_id: string | null;
25000
+ priority: number;
25001
+ reference: string | null;
25002
+ route: string | null;
25003
+ screen_id: string | null;
25004
+ station_id: string | null;
25005
+ status_id: string | null;
25006
+ updated_at: string;
25007
+ warnings: import("./types").Json;
22683
25008
  };
22684
- Returns: undefined;
22685
- };
22686
- pick_reprint_document: {
22687
- Args: {
22688
- _queue_item_id: string;
22689
- _session_id: string;
22690
- _throttle_seconds?: number;
25009
+ SetofOptions: {
25010
+ from: "*";
25011
+ to: "pick_queue";
25012
+ isOneToOne: true;
25013
+ isSetofReturn: false;
22691
25014
  };
22692
- Returns: string;
22693
25015
  };
22694
- pick_reset_print: {
25016
+ pick_restore_to_queue: {
22695
25017
  Args: {
22696
25018
  _queue_item_id: string;
22697
25019
  _session_id: string;
@@ -22720,6 +25042,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22720
25042
  print_job_id: string | null;
22721
25043
  printed_at: string | null;
22722
25044
  printed_by: string | null;
25045
+ printed_cart_ids: import("./types").Json;
22723
25046
  printer_id: string | null;
22724
25047
  priority: number;
22725
25048
  reference: string | null;
@@ -22786,6 +25109,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22786
25109
  };
22787
25110
  Returns: string;
22788
25111
  };
25112
+ pick_sync_pick_day: {
25113
+ Args: {
25114
+ _day: string;
25115
+ };
25116
+ Returns: import("./types").Json;
25117
+ };
22789
25118
  pick_sync_queue_throttled: {
22790
25119
  Args: {
22791
25120
  _min_seconds?: number;
@@ -23015,6 +25344,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23015
25344
  };
23016
25345
  Returns: boolean;
23017
25346
  };
25347
+ release_job_lock: {
25348
+ Args: {
25349
+ _key: string;
25350
+ };
25351
+ Returns: undefined;
25352
+ };
25353
+ release_local_pdf_job: {
25354
+ Args: {
25355
+ _job_id: string;
25356
+ _writer_id: string;
25357
+ };
25358
+ Returns: boolean;
25359
+ };
25360
+ release_print_queue_lease: {
25361
+ Args: {
25362
+ _houder: string;
25363
+ _naam: string;
25364
+ };
25365
+ Returns: boolean;
25366
+ };
23018
25367
  release_stale_order_invoice_links: {
23019
25368
  Args: {
23020
25369
  _minutes?: number;
@@ -23035,6 +25384,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23035
25384
  };
23036
25385
  Returns: import("./types").Json;
23037
25386
  };
25387
+ reset_cart_layer_positions: {
25388
+ Args: {
25389
+ p_cart_id: string;
25390
+ };
25391
+ Returns: number;
25392
+ };
23038
25393
  reset_floriday_sync_cursor: {
23039
25394
  Args: {
23040
25395
  p_connection_id: string;
@@ -23098,6 +25453,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23098
25453
  };
23099
25454
  Returns: import("./types").Json;
23100
25455
  };
25456
+ roles_without_enum_mapping: {
25457
+ Args: never;
25458
+ Returns: {
25459
+ assignment_count: number;
25460
+ id: string;
25461
+ key: string;
25462
+ name: string;
25463
+ }[];
25464
+ };
23101
25465
  ruim_print_jobs_op: {
23102
25466
  Args: {
23103
25467
  _bewaar_dagen?: number;
@@ -23112,6 +25476,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23112
25476
  Args: never;
23113
25477
  Returns: undefined;
23114
25478
  };
25479
+ run_floriday_stock_reconcile: {
25480
+ Args: never;
25481
+ Returns: undefined;
25482
+ };
23115
25483
  run_logistics_tasks_dispatch: {
23116
25484
  Args: never;
23117
25485
  Returns: undefined;
@@ -23130,18 +25498,98 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23130
25498
  };
23131
25499
  Returns: import("./types").Json;
23132
25500
  };
25501
+ scan_complete_cart: {
25502
+ Args: {
25503
+ p_allow_reprint?: boolean;
25504
+ p_cart_id: string;
25505
+ p_print?: boolean;
25506
+ p_scanner_id?: string;
25507
+ };
25508
+ Returns: import("./types").Json;
25509
+ };
23133
25510
  scan_dashboard_stats: {
23134
25511
  Args: {
23135
25512
  p_dagen?: number;
23136
25513
  };
23137
25514
  Returns: import("./types").Json;
23138
25515
  };
25516
+ scan_eindcontrole: {
25517
+ Args: {
25518
+ p_barcode: string;
25519
+ p_scanner_id?: string;
25520
+ };
25521
+ Returns: import("./types").Json;
25522
+ };
23139
25523
  scan_finish_kar: {
23140
25524
  Args: {
23141
25525
  p_kar_id: string;
23142
25526
  };
23143
25527
  Returns: import("./types").Json;
23144
25528
  };
25529
+ scan_kar_compleet: {
25530
+ Args: {
25531
+ p_allow_reprint?: boolean;
25532
+ p_sessie_id: string;
25533
+ };
25534
+ Returns: import("./types").Json;
25535
+ };
25536
+ scan_kar_regels: {
25537
+ Args: {
25538
+ p_cart_id: string;
25539
+ };
25540
+ Returns: import("./types").Json;
25541
+ };
25542
+ scan_log_code: {
25543
+ Args: {
25544
+ p_code: string;
25545
+ p_latency_ms?: number;
25546
+ p_message?: string;
25547
+ p_result: string;
25548
+ p_scanner_key?: string;
25549
+ };
25550
+ Returns: string;
25551
+ };
25552
+ scan_open_pakbonnen: {
25553
+ Args: {
25554
+ p_dagen?: number;
25555
+ };
25556
+ Returns: import("./types").Json;
25557
+ };
25558
+ scan_pakbon_lookup: {
25559
+ Args: {
25560
+ p_barcode: string;
25561
+ };
25562
+ Returns: import("./types").Json;
25563
+ };
25564
+ scan_pakbon_opnieuw: {
25565
+ Args: {
25566
+ p_barcode: string;
25567
+ p_scanner_id?: string;
25568
+ };
25569
+ Returns: import("./types").Json;
25570
+ };
25571
+ scan_pakbon_toevoegen: {
25572
+ Args: {
25573
+ p_barcode: string;
25574
+ p_medewerker?: string;
25575
+ p_regels?: import("./types").Json;
25576
+ p_scanner_id: string;
25577
+ };
25578
+ Returns: import("./types").Json;
25579
+ };
25580
+ scan_print_restpakbon: {
25581
+ Args: {
25582
+ p_printer_id?: string;
25583
+ p_restpakbon_id: string;
25584
+ };
25585
+ Returns: import("./types").Json;
25586
+ };
25587
+ scan_print_verzendbrief: {
25588
+ Args: {
25589
+ p_sessie_id: string;
25590
+ };
25591
+ Returns: import("./types").Json;
25592
+ };
23145
25593
  scan_register_item: {
23146
25594
  Args: {
23147
25595
  p_kar_id: string;
@@ -23160,6 +25608,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23160
25608
  };
23161
25609
  Returns: import("./types").Json;
23162
25610
  };
25611
+ scan_restpakbon_geprint: {
25612
+ Args: {
25613
+ p_id: string;
25614
+ p_print_job_id?: string;
25615
+ };
25616
+ Returns: undefined;
25617
+ };
25618
+ scan_sessie_annuleren: {
25619
+ Args: {
25620
+ p_sessie_id: string;
25621
+ };
25622
+ Returns: undefined;
25623
+ };
25624
+ scan_sessie_open: {
25625
+ Args: {
25626
+ p_scanner_id: string;
25627
+ };
25628
+ Returns: import("./types").Json;
25629
+ };
23163
25630
  scan_start_kar: {
23164
25631
  Args: {
23165
25632
  p_medewerker_id?: string;
@@ -23178,6 +25645,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23178
25645
  };
23179
25646
  Returns: import("./types").Json;
23180
25647
  };
25648
+ scan_verzendbrief_regels: {
25649
+ Args: {
25650
+ p_sessie_id: string;
25651
+ };
25652
+ Returns: import("./types").Json;
25653
+ };
23181
25654
  schedule_floriday_additional_services_sync: {
23182
25655
  Args: {
23183
25656
  p_apikey: string;
@@ -23493,6 +25966,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23493
25966
  };
23494
25967
  Returns: import("./types").Json;
23495
25968
  };
25969
+ swap_cart_layer_positions: {
25970
+ Args: {
25971
+ p_a: string;
25972
+ p_b: string;
25973
+ };
25974
+ Returns: undefined;
25975
+ };
23496
25976
  switch_time_log: {
23497
25977
  Args: {
23498
25978
  p_employee_id: string;
@@ -23525,6 +26005,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23525
26005
  };
23526
26006
  Returns: undefined;
23527
26007
  };
26008
+ sync_order_item_fusten: {
26009
+ Args: {
26010
+ _order_item_id: string;
26011
+ };
26012
+ Returns: undefined;
26013
+ };
23528
26014
  sync_product_group_belading: {
23529
26015
  Args: {
23530
26016
  _group_id: string;
@@ -23552,6 +26038,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23552
26038
  row_count: number;
23553
26039
  }[];
23554
26040
  };
26041
+ try_acquire_job_lock: {
26042
+ Args: {
26043
+ _key: string;
26044
+ _owner?: string;
26045
+ _seconds?: number;
26046
+ };
26047
+ Returns: boolean;
26048
+ };
23555
26049
  try_debtor_lock: {
23556
26050
  Args: {
23557
26051
  _group_key: string;
@@ -23631,6 +26125,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23631
26125
  Args: never;
23632
26126
  Returns: string;
23633
26127
  };
26128
+ wake_print_queue: {
26129
+ Args: {
26130
+ _min_interval_ms?: number;
26131
+ };
26132
+ Returns: number;
26133
+ };
23634
26134
  werkbon_totalen: {
23635
26135
  Args: {
23636
26136
  _werkbon_id: string;
@@ -23663,10 +26163,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23663
26163
  };
23664
26164
  Returns: import("./types").Json;
23665
26165
  };
26166
+ wo_set_status: {
26167
+ Args: {
26168
+ _reason?: string;
26169
+ _status: string;
26170
+ _work_order_id: string;
26171
+ };
26172
+ Returns: import("./types").Json;
26173
+ };
23666
26174
  };
23667
26175
  Enums: {
23668
26176
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23669
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26177
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23670
26178
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23671
26179
  doc_orientation: "portrait" | "landscape";
23672
26180
  exact_env: "staging" | "live";