@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
@@ -76,9 +76,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
76
76
  pick_distribution_enabled?: boolean;
77
77
  pick_weekdays?: number[];
78
78
  signup_mail_enabled?: boolean;
79
- signup_mail_lead_minutes? /**
80
- * Primaire packing meesturen zodat Floriday de regel goed valideert.
81
- */: number;
79
+ signup_mail_lead_minutes?: number;
82
80
  signup_mail_purpose?: string;
83
81
  transport_register_days_before?: number;
84
82
  updated_at?: string;
@@ -721,6 +719,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
721
719
  raw: import("../integrations/supabase/types").Json;
722
720
  updated_at: string;
723
721
  valuta: string;
722
+ velden: import("../integrations/supabase/types").Json;
724
723
  };
725
724
  Insert: {
726
725
  artikelcode: string;
@@ -738,6 +737,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
738
737
  raw?: import("../integrations/supabase/types").Json;
739
738
  updated_at?: string;
740
739
  valuta?: string;
740
+ velden?: import("../integrations/supabase/types").Json;
741
741
  };
742
742
  Update: {
743
743
  artikelcode?: string;
@@ -755,6 +755,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
755
755
  raw?: import("../integrations/supabase/types").Json;
756
756
  updated_at?: string;
757
757
  valuta?: string;
758
+ velden?: import("../integrations/supabase/types").Json;
758
759
  };
759
760
  Relationships: [];
760
761
  };
@@ -1449,8 +1450,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1449
1450
  Row: {
1450
1451
  assigned_at: string;
1451
1452
  cart_index: number;
1452
- cart_number: string;
1453
- day_seq: number;
1453
+ cart_number: string | null;
1454
+ day_seq: number | null;
1455
+ delivered_at: string | null;
1454
1456
  id: string;
1455
1457
  order_id: string;
1456
1458
  order_source: string;
@@ -1460,8 +1462,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1460
1462
  Insert: {
1461
1463
  assigned_at?: string;
1462
1464
  cart_index: number;
1463
- cart_number: string;
1464
- day_seq: number;
1465
+ cart_number?: string | null;
1466
+ day_seq?: number | null;
1467
+ delivered_at?: string | null;
1465
1468
  id?: string;
1466
1469
  order_id: string;
1467
1470
  order_source: string;
@@ -1471,8 +1474,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1471
1474
  Update: {
1472
1475
  assigned_at?: string;
1473
1476
  cart_index?: number;
1474
- cart_number?: string;
1475
- day_seq?: number;
1477
+ cart_number?: string | null;
1478
+ day_seq?: number | null;
1479
+ delivered_at?: string | null;
1476
1480
  id?: string;
1477
1481
  order_id?: string;
1478
1482
  order_source?: string;
@@ -1573,6 +1577,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
1573
1577
  updated_at?: string;
1574
1578
  };
1575
1579
  Relationships: [{
1580
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1581
+ columns: ["product_id"];
1582
+ isOneToOne: true;
1583
+ referencedRelation: "logistics_product_dimensions";
1584
+ referencedColumns: ["product_id"];
1585
+ }, {
1576
1586
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1577
1587
  columns: ["product_id"];
1578
1588
  isOneToOne: true;
@@ -2173,6 +2183,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2173
2183
  created_at: string;
2174
2184
  currency: string;
2175
2185
  distribute_over: string | null;
2186
+ external_id: string | null;
2187
+ external_synced_at: string | null;
2176
2188
  group_type: string;
2177
2189
  handling_fee: number | null;
2178
2190
  id: string;
@@ -2185,6 +2197,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2185
2197
  rounding: string;
2186
2198
  rounding_step: number;
2187
2199
  sort_order: number;
2200
+ source: string;
2188
2201
  unit: string;
2189
2202
  updated_at: string;
2190
2203
  };
@@ -2195,6 +2208,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2195
2208
  created_at?: string;
2196
2209
  currency?: string;
2197
2210
  distribute_over?: string | null;
2211
+ external_id?: string | null;
2212
+ external_synced_at?: string | null;
2198
2213
  group_type?: string;
2199
2214
  handling_fee?: number | null;
2200
2215
  id?: string;
@@ -2207,6 +2222,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2207
2222
  rounding?: string;
2208
2223
  rounding_step?: number;
2209
2224
  sort_order?: number;
2225
+ source?: string;
2210
2226
  unit?: string;
2211
2227
  updated_at?: string;
2212
2228
  };
@@ -2217,6 +2233,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2217
2233
  created_at?: string;
2218
2234
  currency?: string;
2219
2235
  distribute_over?: string | null;
2236
+ external_id?: string | null;
2237
+ external_synced_at?: string | null;
2220
2238
  group_type?: string;
2221
2239
  handling_fee?: number | null;
2222
2240
  id?: string;
@@ -2229,6 +2247,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
2229
2247
  rounding?: string;
2230
2248
  rounding_step?: number;
2231
2249
  sort_order?: number;
2250
+ source?: string;
2232
2251
  unit?: string;
2233
2252
  updated_at?: string;
2234
2253
  };
@@ -7100,6 +7119,51 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
7100
7119
  };
7101
7120
  Relationships: [];
7102
7121
  };
7122
+ floriday_status_sync_queue: {
7123
+ Row: {
7124
+ attempts: number;
7125
+ created_at: string;
7126
+ error: string | null;
7127
+ floriday_sales_order_id: string;
7128
+ order_id: string;
7129
+ processed_at: string | null;
7130
+ requested_at: string;
7131
+ state: string;
7132
+ target_status: string;
7133
+ updated_at: string;
7134
+ };
7135
+ Insert: {
7136
+ attempts?: number;
7137
+ created_at?: string;
7138
+ error?: string | null;
7139
+ floriday_sales_order_id: string;
7140
+ order_id: string;
7141
+ processed_at?: string | null;
7142
+ requested_at?: string;
7143
+ state?: string;
7144
+ target_status: string;
7145
+ updated_at?: string;
7146
+ };
7147
+ Update: {
7148
+ attempts?: number;
7149
+ created_at?: string;
7150
+ error?: string | null;
7151
+ floriday_sales_order_id?: string;
7152
+ order_id?: string;
7153
+ processed_at?: string | null;
7154
+ requested_at?: string;
7155
+ state?: string;
7156
+ target_status?: string;
7157
+ updated_at?: string;
7158
+ };
7159
+ Relationships: [{
7160
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7161
+ columns: ["order_id"];
7162
+ isOneToOne: true;
7163
+ referencedRelation: "orders";
7164
+ referencedColumns: ["id"];
7165
+ }];
7166
+ };
7103
7167
  floriday_sync_cursors: {
7104
7168
  Row: {
7105
7169
  connection_id: string;
@@ -8334,10 +8398,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8334
8398
  general_email: string | null;
8335
8399
  general_phone: string | null;
8336
8400
  id: string;
8401
+ kvk_number: string | null;
8337
8402
  legacy_customer_id: string | null;
8338
8403
  name: string;
8339
8404
  segment: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8340
8405
  updated_at: string;
8406
+ vat_number: string | null;
8341
8407
  };
8342
8408
  Insert: {
8343
8409
  billing_city?: string | null;
@@ -8348,10 +8414,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8348
8414
  general_email?: string | null;
8349
8415
  general_phone?: string | null;
8350
8416
  id?: string;
8417
+ kvk_number?: string | null;
8351
8418
  legacy_customer_id?: string | null;
8352
8419
  name: string;
8353
8420
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8354
8421
  updated_at?: string;
8422
+ vat_number?: string | null;
8355
8423
  };
8356
8424
  Update: {
8357
8425
  billing_city?: string | null;
@@ -8362,10 +8430,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8362
8430
  general_email?: string | null;
8363
8431
  general_phone?: string | null;
8364
8432
  id?: string;
8433
+ kvk_number?: string | null;
8365
8434
  legacy_customer_id?: string | null;
8366
8435
  name?: string;
8367
8436
  segment?: import("../integrations/supabase/types").Database["public"]["Enums"]["itk_customer_segment"];
8368
8437
  updated_at?: string;
8438
+ vat_number?: string | null;
8369
8439
  };
8370
8440
  Relationships: [];
8371
8441
  };
@@ -8399,6 +8469,117 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8399
8469
  };
8400
8470
  Relationships: [];
8401
8471
  };
8472
+ itk_handover_github_scan: {
8473
+ Row: {
8474
+ gescand_op: string;
8475
+ gevonden: boolean;
8476
+ melding: string | null;
8477
+ module_id: string | null;
8478
+ repo: string;
8479
+ };
8480
+ Insert: {
8481
+ gescand_op?: string;
8482
+ gevonden?: boolean;
8483
+ melding?: string | null;
8484
+ module_id?: string | null;
8485
+ repo: string;
8486
+ };
8487
+ Update: {
8488
+ gescand_op?: string;
8489
+ gevonden?: boolean;
8490
+ melding?: string | null;
8491
+ module_id?: string | null;
8492
+ repo?: string;
8493
+ };
8494
+ Relationships: [];
8495
+ };
8496
+ itk_handover_module_meta: {
8497
+ Row: {
8498
+ check_aangevraagd_op: string | null;
8499
+ check_nodig: boolean;
8500
+ check_reden: string | null;
8501
+ created_at: string;
8502
+ module_id: string;
8503
+ project_url: string | null;
8504
+ publicatie_url: string | null;
8505
+ updated_at: string;
8506
+ };
8507
+ Insert: {
8508
+ check_aangevraagd_op?: string | null;
8509
+ check_nodig?: boolean;
8510
+ check_reden?: string | null;
8511
+ created_at?: string;
8512
+ module_id: string;
8513
+ project_url?: string | null;
8514
+ publicatie_url?: string | null;
8515
+ updated_at?: string;
8516
+ };
8517
+ Update: {
8518
+ check_aangevraagd_op?: string | null;
8519
+ check_nodig?: boolean;
8520
+ check_reden?: string | null;
8521
+ created_at?: string;
8522
+ module_id?: string;
8523
+ project_url?: string | null;
8524
+ publicatie_url?: string | null;
8525
+ updated_at?: string;
8526
+ };
8527
+ Relationships: [];
8528
+ };
8529
+ itk_handover_project_modules: {
8530
+ Row: {
8531
+ created_at: string;
8532
+ id: string;
8533
+ module_id: string;
8534
+ project_id: string;
8535
+ updated_at: string;
8536
+ };
8537
+ Insert: {
8538
+ created_at?: string;
8539
+ id?: string;
8540
+ module_id: string;
8541
+ project_id: string;
8542
+ updated_at?: string;
8543
+ };
8544
+ Update: {
8545
+ created_at?: string;
8546
+ id?: string;
8547
+ module_id?: string;
8548
+ project_id?: string;
8549
+ updated_at?: string;
8550
+ };
8551
+ Relationships: [{
8552
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8553
+ columns: ["project_id"];
8554
+ isOneToOne: false;
8555
+ referencedRelation: "itk_handover_projecten";
8556
+ referencedColumns: ["id"];
8557
+ }];
8558
+ };
8559
+ itk_handover_projecten: {
8560
+ Row: {
8561
+ created_at: string;
8562
+ id: string;
8563
+ naam: string;
8564
+ omschrijving: string | null;
8565
+ updated_at: string;
8566
+ };
8567
+ Insert: {
8568
+ created_at?: string;
8569
+ id?: string;
8570
+ naam: string;
8571
+ omschrijving?: string | null;
8572
+ updated_at?: string;
8573
+ };
8574
+ Update: {
8575
+ created_at?: string;
8576
+ id?: string;
8577
+ naam?: string;
8578
+ omschrijving?: string | null;
8579
+ updated_at?: string;
8580
+ };
8581
+ Relationships: [];
8582
+ };
8402
8583
  itk_handover_rechten: {
8403
8584
  Row: {
8404
8585
  created_at: string;
@@ -8426,42 +8607,33 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8426
8607
  };
8427
8608
  Relationships: [];
8428
8609
  };
8429
- itk_handover_tokens: {
8610
+ itk_module_fingerprints: {
8430
8611
  Row: {
8431
- aangemaakt_door: string | null;
8432
8612
  created_at: string;
8613
+ gemaakt_op: string;
8614
+ hash: string;
8433
8615
  id: string;
8434
- is_actief: boolean;
8435
- laatst_gebruikt_op: string | null;
8436
- label: string;
8437
8616
  module_id: string;
8438
- token_hash: string;
8617
+ payload: import("../integrations/supabase/types").Json;
8439
8618
  updated_at: string;
8440
- verloopt_op: string | null;
8441
8619
  };
8442
8620
  Insert: {
8443
- aangemaakt_door?: string | null;
8444
8621
  created_at?: string;
8622
+ gemaakt_op?: string;
8623
+ hash: string;
8445
8624
  id?: string;
8446
- is_actief?: boolean;
8447
- laatst_gebruikt_op?: string | null;
8448
- label?: string;
8449
8625
  module_id: string;
8450
- token_hash: string;
8626
+ payload?: import("../integrations/supabase/types").Json;
8451
8627
  updated_at?: string;
8452
- verloopt_op?: string | null;
8453
8628
  };
8454
8629
  Update: {
8455
- aangemaakt_door?: string | null;
8456
8630
  created_at?: string;
8631
+ gemaakt_op?: string;
8632
+ hash?: string;
8457
8633
  id?: string;
8458
- is_actief?: boolean;
8459
- laatst_gebruikt_op?: string | null;
8460
- label?: string;
8461
8634
  module_id?: string;
8462
- token_hash?: string;
8635
+ payload?: import("../integrations/supabase/types").Json;
8463
8636
  updated_at?: string;
8464
- verloopt_op?: string | null;
8465
8637
  };
8466
8638
  Relationships: [];
8467
8639
  };
@@ -8469,6 +8641,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8469
8641
  Row: {
8470
8642
  bevindingen: string | null;
8471
8643
  bezit_tabellen: string[];
8644
+ bron_commit: string | null;
8645
+ bron_pad: string | null;
8646
+ bron_repo: string | null;
8647
+ bron_soort: string | null;
8648
+ bron_versie: string | null;
8472
8649
  conflicten_snapshot: import("../integrations/supabase/types").Json;
8473
8650
  contractfuncties: string[];
8474
8651
  created_at: string;
@@ -8479,6 +8656,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8479
8656
  id: string;
8480
8657
  inhoud_md: string;
8481
8658
  is_actueel: boolean;
8659
+ is_gearchiveerd: boolean;
8660
+ laatst_gecontroleerd_op: string | null;
8482
8661
  module_id: string;
8483
8662
  module_titel: string;
8484
8663
  ontbrekende_contracten: string[];
@@ -8489,6 +8668,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8489
8668
  Insert: {
8490
8669
  bevindingen?: string | null;
8491
8670
  bezit_tabellen?: string[];
8671
+ bron_commit?: string | null;
8672
+ bron_pad?: string | null;
8673
+ bron_repo?: string | null;
8674
+ bron_soort?: string | null;
8675
+ bron_versie?: string | null;
8492
8676
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8493
8677
  contractfuncties?: string[];
8494
8678
  created_at?: string;
@@ -8499,6 +8683,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8499
8683
  id?: string;
8500
8684
  inhoud_md: string;
8501
8685
  is_actueel?: boolean;
8686
+ is_gearchiveerd?: boolean;
8687
+ laatst_gecontroleerd_op?: string | null;
8502
8688
  module_id: string;
8503
8689
  module_titel: string;
8504
8690
  ontbrekende_contracten?: string[];
@@ -8509,6 +8695,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8509
8695
  Update: {
8510
8696
  bevindingen?: string | null;
8511
8697
  bezit_tabellen?: string[];
8698
+ bron_commit?: string | null;
8699
+ bron_pad?: string | null;
8700
+ bron_repo?: string | null;
8701
+ bron_soort?: string | null;
8702
+ bron_versie?: string | null;
8512
8703
  conflicten_snapshot?: import("../integrations/supabase/types").Json;
8513
8704
  contractfuncties?: string[];
8514
8705
  created_at?: string;
@@ -8519,6 +8710,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8519
8710
  id?: string;
8520
8711
  inhoud_md?: string;
8521
8712
  is_actueel?: boolean;
8713
+ is_gearchiveerd?: boolean;
8714
+ laatst_gecontroleerd_op?: string | null;
8522
8715
  module_id?: string;
8523
8716
  module_titel?: string;
8524
8717
  ontbrekende_contracten?: string[];
@@ -8573,6 +8766,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8573
8766
  };
8574
8767
  Relationships: [];
8575
8768
  };
8769
+ itk_module_wijzigingen: {
8770
+ Row: {
8771
+ created_at: string;
8772
+ geconstateerd_op: string;
8773
+ id: string;
8774
+ module_id: string;
8775
+ omschrijving: string;
8776
+ soort: string;
8777
+ updated_at: string;
8778
+ was_na_publicatie: boolean;
8779
+ };
8780
+ Insert: {
8781
+ created_at?: string;
8782
+ geconstateerd_op?: string;
8783
+ id?: string;
8784
+ module_id: string;
8785
+ omschrijving: string;
8786
+ soort: string;
8787
+ updated_at?: string;
8788
+ was_na_publicatie?: boolean;
8789
+ };
8790
+ Update: {
8791
+ created_at?: string;
8792
+ geconstateerd_op?: string;
8793
+ id?: string;
8794
+ module_id?: string;
8795
+ omschrijving?: string;
8796
+ soort?: string;
8797
+ updated_at?: string;
8798
+ was_na_publicatie?: boolean;
8799
+ };
8800
+ Relationships: [];
8801
+ };
8576
8802
  itk_offerte_events: {
8577
8803
  Row: {
8578
8804
  created_at: string;
@@ -8811,12 +9037,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8811
9037
  isOneToOne: false;
8812
9038
  referencedRelation: "werkbonnen";
8813
9039
  referencedColumns: ["id"];
9040
+ }, {
9041
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9042
+ columns: ["follow_up_werkbon_id"];
9043
+ isOneToOne: false;
9044
+ referencedRelation: "wo_overview";
9045
+ referencedColumns: ["id"];
8814
9046
  }, {
8815
9047
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8816
9048
  columns: ["werkbon_id"];
8817
9049
  isOneToOne: false;
8818
9050
  referencedRelation: "werkbonnen";
8819
9051
  referencedColumns: ["id"];
9052
+ }, {
9053
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9054
+ columns: ["werkbon_id"];
9055
+ isOneToOne: false;
9056
+ referencedRelation: "wo_overview";
9057
+ referencedColumns: ["id"];
8820
9058
  }, {
8821
9059
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8822
9060
  columns: ["work_location_id"];
@@ -8873,6 +9111,30 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
8873
9111
  referencedColumns: ["id"];
8874
9112
  }];
8875
9113
  };
9114
+ job_locks: {
9115
+ Row: {
9116
+ created_at: string;
9117
+ lock_key: string;
9118
+ locked_until: string;
9119
+ owner: string | null;
9120
+ updated_at: string;
9121
+ };
9122
+ Insert: {
9123
+ created_at?: string;
9124
+ lock_key: string;
9125
+ locked_until: string;
9126
+ owner?: string | null;
9127
+ updated_at?: string;
9128
+ };
9129
+ Update: {
9130
+ created_at?: string;
9131
+ lock_key?: string;
9132
+ locked_until?: string;
9133
+ owner?: string | null;
9134
+ updated_at?: string;
9135
+ };
9136
+ Relationships: [];
9137
+ };
8876
9138
  layout_logos: {
8877
9139
  Row: {
8878
9140
  bestand_url: string;
@@ -9117,6 +9379,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9117
9379
  isOneToOne: false;
9118
9380
  referencedRelation: "product_categories";
9119
9381
  referencedColumns: ["id"];
9382
+ }, {
9383
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9384
+ columns: ["product_id"];
9385
+ isOneToOne: false;
9386
+ referencedRelation: "logistics_product_dimensions";
9387
+ referencedColumns: ["product_id"];
9120
9388
  }, {
9121
9389
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9122
9390
  columns: ["product_id"];
@@ -9183,6 +9451,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9183
9451
  isOneToOne: false;
9184
9452
  referencedRelation: "product_categories";
9185
9453
  referencedColumns: ["id"];
9454
+ }, {
9455
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9456
+ columns: ["product_id"];
9457
+ isOneToOne: false;
9458
+ referencedRelation: "logistics_product_dimensions";
9459
+ referencedColumns: ["product_id"];
9186
9460
  }, {
9187
9461
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9188
9462
  columns: ["product_id"];
@@ -9249,6 +9523,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9249
9523
  isOneToOne: false;
9250
9524
  referencedRelation: "product_categories";
9251
9525
  referencedColumns: ["id"];
9526
+ }, {
9527
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9528
+ columns: ["product_id"];
9529
+ isOneToOne: false;
9530
+ referencedRelation: "logistics_product_dimensions";
9531
+ referencedColumns: ["product_id"];
9252
9532
  }, {
9253
9533
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9254
9534
  columns: ["product_id"];
@@ -9431,66 +9711,156 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9431
9711
  };
9432
9712
  Relationships: [];
9433
9713
  };
9434
- logistics_decisions: {
9714
+ logistics_cart_barcode: {
9435
9715
  Row: {
9716
+ barcode: string;
9717
+ cart_id: string;
9436
9718
  created_at: string;
9437
- explanation: string | null;
9438
- id: string;
9439
- input_snapshot: import("../integrations/supabase/types").Json;
9440
- result: import("../integrations/supabase/types").Json;
9441
- slot: string;
9442
- strategy_id: string | null;
9443
- subject_id: string;
9444
- subject_type: string;
9445
- user_id: string;
9719
+ order_id: string | null;
9446
9720
  };
9447
9721
  Insert: {
9722
+ barcode: string;
9723
+ cart_id: string;
9448
9724
  created_at?: string;
9449
- explanation?: string | null;
9450
- id?: string;
9451
- input_snapshot?: import("../integrations/supabase/types").Json;
9452
- result?: import("../integrations/supabase/types").Json;
9453
- slot: string;
9454
- strategy_id?: string | null;
9455
- subject_id: string;
9456
- subject_type: string;
9457
- user_id: string;
9725
+ order_id?: string | null;
9458
9726
  };
9459
9727
  Update: {
9728
+ barcode?: string;
9729
+ cart_id?: string;
9460
9730
  created_at?: string;
9461
- explanation?: string | null;
9462
- id?: string;
9463
- input_snapshot?: import("../integrations/supabase/types").Json;
9464
- result?: import("../integrations/supabase/types").Json;
9465
- slot?: string;
9466
- strategy_id?: string | null;
9467
- subject_id?: string;
9468
- subject_type?: string;
9469
- user_id?: string;
9731
+ order_id?: string | null;
9470
9732
  };
9471
- Relationships: [{
9472
- foreignKeyName: "logistics_decisions_strategy_id_fkey";
9473
- columns: ["strategy_id"];
9474
- isOneToOne: false;
9475
- referencedRelation: "logistics_strategies";
9476
- referencedColumns: ["id"];
9477
- }];
9733
+ Relationships: [];
9478
9734
  };
9479
- logistics_delay_alerts: {
9735
+ logistics_control_scan: {
9480
9736
  Row: {
9481
- approved_by: string | null;
9737
+ approved_at: string | null;
9738
+ attempts: number;
9739
+ barcode: string;
9740
+ cart_id: string;
9482
9741
  created_at: string;
9483
- current_status: string | null;
9484
- customer_name: string | null;
9485
- customer_notified: boolean;
9486
- customer_template: string | null;
9487
- email_enabled: boolean;
9488
- email_error: string | null;
9489
- email_recipients: string[];
9490
- email_sent_at: string | null;
9491
- email_status: string;
9492
- expected_delivery_date: string | null;
9493
- id: string;
9742
+ document_url: string | null;
9743
+ error: string | null;
9744
+ error_code: string | null;
9745
+ fulfillment_order_id: string | null;
9746
+ id: string;
9747
+ is_floriday: boolean;
9748
+ locked_until: string | null;
9749
+ order_id: string | null;
9750
+ order_number: string | null;
9751
+ print_job_id: string | null;
9752
+ printed_at: string | null;
9753
+ printer_id: string | null;
9754
+ scanner_id: string | null;
9755
+ status: string;
9756
+ updated_at: string;
9757
+ };
9758
+ Insert: {
9759
+ approved_at?: string | null;
9760
+ attempts?: number;
9761
+ barcode: string;
9762
+ cart_id: string;
9763
+ created_at?: string;
9764
+ document_url?: string | null;
9765
+ error?: string | null;
9766
+ error_code?: string | null;
9767
+ fulfillment_order_id?: string | null;
9768
+ id?: string;
9769
+ is_floriday?: boolean;
9770
+ locked_until?: string | null;
9771
+ order_id?: string | null;
9772
+ order_number?: string | null;
9773
+ print_job_id?: string | null;
9774
+ printed_at?: string | null;
9775
+ printer_id?: string | null;
9776
+ scanner_id?: string | null;
9777
+ status?: string;
9778
+ updated_at?: string;
9779
+ };
9780
+ Update: {
9781
+ approved_at?: string | null;
9782
+ attempts?: number;
9783
+ barcode?: string;
9784
+ cart_id?: string;
9785
+ created_at?: string;
9786
+ document_url?: string | null;
9787
+ error?: string | null;
9788
+ error_code?: string | null;
9789
+ fulfillment_order_id?: string | null;
9790
+ id?: string;
9791
+ is_floriday?: boolean;
9792
+ locked_until?: string | null;
9793
+ order_id?: string | null;
9794
+ order_number?: string | null;
9795
+ print_job_id?: string | null;
9796
+ printed_at?: string | null;
9797
+ printer_id?: string | null;
9798
+ scanner_id?: string | null;
9799
+ status?: string;
9800
+ updated_at?: string;
9801
+ };
9802
+ Relationships: [];
9803
+ };
9804
+ logistics_decisions: {
9805
+ Row: {
9806
+ created_at: string;
9807
+ explanation: string | null;
9808
+ id: string;
9809
+ input_snapshot: import("../integrations/supabase/types").Json;
9810
+ result: import("../integrations/supabase/types").Json;
9811
+ slot: string;
9812
+ strategy_id: string | null;
9813
+ subject_id: string;
9814
+ subject_type: string;
9815
+ user_id: string;
9816
+ };
9817
+ Insert: {
9818
+ created_at?: string;
9819
+ explanation?: string | null;
9820
+ id?: string;
9821
+ input_snapshot?: import("../integrations/supabase/types").Json;
9822
+ result?: import("../integrations/supabase/types").Json;
9823
+ slot: string;
9824
+ strategy_id?: string | null;
9825
+ subject_id: string;
9826
+ subject_type: string;
9827
+ user_id: string;
9828
+ };
9829
+ Update: {
9830
+ created_at?: string;
9831
+ explanation?: string | null;
9832
+ id?: string;
9833
+ input_snapshot?: import("../integrations/supabase/types").Json;
9834
+ result?: import("../integrations/supabase/types").Json;
9835
+ slot?: string;
9836
+ strategy_id?: string | null;
9837
+ subject_id?: string;
9838
+ subject_type?: string;
9839
+ user_id?: string;
9840
+ };
9841
+ Relationships: [{
9842
+ foreignKeyName: "logistics_decisions_strategy_id_fkey";
9843
+ columns: ["strategy_id"];
9844
+ isOneToOne: false;
9845
+ referencedRelation: "logistics_strategies";
9846
+ referencedColumns: ["id"];
9847
+ }];
9848
+ };
9849
+ logistics_delay_alerts: {
9850
+ Row: {
9851
+ approved_by: string | null;
9852
+ created_at: string;
9853
+ current_status: string | null;
9854
+ customer_name: string | null;
9855
+ customer_notified: boolean;
9856
+ customer_template: string | null;
9857
+ email_enabled: boolean;
9858
+ email_error: string | null;
9859
+ email_recipients: string[];
9860
+ email_sent_at: string | null;
9861
+ email_status: string;
9862
+ expected_delivery_date: string | null;
9863
+ id: string;
9494
9864
  load_carrier_id: string | null;
9495
9865
  notification_id: string | null;
9496
9866
  order_id: string | null;
@@ -9716,6 +10086,45 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9716
10086
  };
9717
10087
  Relationships: [];
9718
10088
  };
10089
+ logistics_floriday_carrier_map: {
10090
+ Row: {
10091
+ carrier_code: string;
10092
+ created_at: string;
10093
+ floriday_code: string;
10094
+ };
10095
+ Insert: {
10096
+ carrier_code: string;
10097
+ created_at?: string;
10098
+ floriday_code: string;
10099
+ };
10100
+ Update: {
10101
+ carrier_code?: string;
10102
+ created_at?: string;
10103
+ floriday_code?: string;
10104
+ };
10105
+ Relationships: [];
10106
+ };
10107
+ logistics_floriday_push_refusals: {
10108
+ Row: {
10109
+ created_at: string;
10110
+ id: string;
10111
+ order_ref: string;
10112
+ reason: string;
10113
+ };
10114
+ Insert: {
10115
+ created_at?: string;
10116
+ id?: string;
10117
+ order_ref: string;
10118
+ reason: string;
10119
+ };
10120
+ Update: {
10121
+ created_at?: string;
10122
+ id?: string;
10123
+ order_ref?: string;
10124
+ reason?: string;
10125
+ };
10126
+ Relationships: [];
10127
+ };
9719
10128
  logistics_floriday_pushes: {
9720
10129
  Row: {
9721
10130
  attempts: number;
@@ -9833,6 +10242,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9833
10242
  referencedColumns: ["id"];
9834
10243
  }];
9835
10244
  };
10245
+ logistics_layer_override_log: {
10246
+ Row: {
10247
+ cart_id: string;
10248
+ created_at: string;
10249
+ details: import("../integrations/supabase/types").Json;
10250
+ id: string;
10251
+ keg_id: string | null;
10252
+ product_id: string | null;
10253
+ reason: string;
10254
+ };
10255
+ Insert: {
10256
+ cart_id: string;
10257
+ created_at?: string;
10258
+ details?: import("../integrations/supabase/types").Json;
10259
+ id?: string;
10260
+ keg_id?: string | null;
10261
+ product_id?: string | null;
10262
+ reason: string;
10263
+ };
10264
+ Update: {
10265
+ cart_id?: string;
10266
+ created_at?: string;
10267
+ details?: import("../integrations/supabase/types").Json;
10268
+ id?: string;
10269
+ keg_id?: string | null;
10270
+ product_id?: string | null;
10271
+ reason?: string;
10272
+ };
10273
+ Relationships: [];
10274
+ };
9836
10275
  logistics_pickup_moments: {
9837
10276
  Row: {
9838
10277
  carrier_ref: string | null;
@@ -9879,6 +10318,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9879
10318
  next_attempt_at: string;
9880
10319
  order_id: string;
9881
10320
  reason: string;
10321
+ reason_code: string | null;
9882
10322
  status: string;
9883
10323
  updated_at: string;
9884
10324
  };
@@ -9891,6 +10331,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9891
10331
  next_attempt_at?: string;
9892
10332
  order_id: string;
9893
10333
  reason?: string;
10334
+ reason_code?: string | null;
9894
10335
  status?: string;
9895
10336
  updated_at?: string;
9896
10337
  };
@@ -9903,6 +10344,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
9903
10344
  next_attempt_at?: string;
9904
10345
  order_id?: string;
9905
10346
  reason?: string;
10347
+ reason_code?: string | null;
9906
10348
  status?: string;
9907
10349
  updated_at?: string;
9908
10350
  };
@@ -10259,6 +10701,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10259
10701
  referencedColumns: ["id"];
10260
10702
  }];
10261
10703
  };
10704
+ logistics_shipping_note_scan: {
10705
+ Row: {
10706
+ barcode: string;
10707
+ cart_id: string;
10708
+ id: string;
10709
+ is_reprint: boolean;
10710
+ order_id: string | null;
10711
+ print_job_id: string | null;
10712
+ scanned_at: string;
10713
+ };
10714
+ Insert: {
10715
+ barcode: string;
10716
+ cart_id: string;
10717
+ id?: string;
10718
+ is_reprint?: boolean;
10719
+ order_id?: string | null;
10720
+ print_job_id?: string | null;
10721
+ scanned_at?: string;
10722
+ };
10723
+ Update: {
10724
+ barcode?: string;
10725
+ cart_id?: string;
10726
+ id?: string;
10727
+ is_reprint?: boolean;
10728
+ order_id?: string | null;
10729
+ print_job_id?: string | null;
10730
+ scanned_at?: string;
10731
+ };
10732
+ Relationships: [];
10733
+ };
10262
10734
  logistics_staff_planning: {
10263
10735
  Row: {
10264
10736
  created_at: string;
@@ -10577,6 +11049,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
10577
11049
  referencedColumns: ["id"];
10578
11050
  }];
10579
11051
  };
11052
+ logistics_tick_heartbeat: {
11053
+ Row: {
11054
+ id: boolean;
11055
+ last_tick_at: string;
11056
+ };
11057
+ Insert: {
11058
+ id?: boolean;
11059
+ last_tick_at?: string;
11060
+ };
11061
+ Update: {
11062
+ id?: boolean;
11063
+ last_tick_at?: string;
11064
+ };
11065
+ Relationships: [];
11066
+ };
10580
11067
  logistics_variables: {
10581
11068
  Row: {
10582
11069
  created_at: string;
@@ -11008,6 +11495,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
11008
11495
  updated_at?: string;
11009
11496
  };
11010
11497
  Relationships: [{
11498
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11499
+ columns: ["product_id"];
11500
+ isOneToOne: false;
11501
+ referencedRelation: "logistics_product_dimensions";
11502
+ referencedColumns: ["product_id"];
11503
+ }, {
11011
11504
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11012
11505
  columns: ["product_id"];
11013
11506
  isOneToOne: false;
@@ -12314,6 +12807,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12314
12807
  order_buffers: {
12315
12808
  Row: {
12316
12809
  buffer_key: string;
12810
+ close_at: string | null;
12811
+ closed_at: string | null;
12317
12812
  created_at: string;
12318
12813
  customer_id: string | null;
12319
12814
  grouping_mode: string;
@@ -12325,6 +12820,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12325
12820
  };
12326
12821
  Insert: {
12327
12822
  buffer_key: string;
12823
+ close_at?: string | null;
12824
+ closed_at?: string | null;
12328
12825
  created_at?: string;
12329
12826
  customer_id?: string | null;
12330
12827
  grouping_mode: string;
@@ -12336,6 +12833,8 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12336
12833
  };
12337
12834
  Update: {
12338
12835
  buffer_key?: string;
12836
+ close_at?: string | null;
12837
+ closed_at?: string | null;
12339
12838
  created_at?: string;
12340
12839
  customer_id?: string | null;
12341
12840
  grouping_mode?: string;
@@ -12352,10 +12851,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12352
12851
  boxes: number | null;
12353
12852
  cart_id: string;
12354
12853
  crates: number;
12854
+ crates_in_layer: number | null;
12355
12855
  crates_per_layer: number;
12356
12856
  created_at: string;
12357
12857
  id: string;
12358
12858
  layer_fraction: number;
12859
+ layer_index: number | null;
12359
12860
  layer_share_pct: number;
12360
12861
  layers_per_cart: number;
12361
12862
  order_item_id: string | null;
@@ -12368,10 +12869,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12368
12869
  boxes?: number | null;
12369
12870
  cart_id: string;
12370
12871
  crates: number;
12872
+ crates_in_layer?: number | null;
12371
12873
  crates_per_layer?: number;
12372
12874
  created_at?: string;
12373
12875
  id?: string;
12374
12876
  layer_fraction?: number;
12877
+ layer_index?: number | null;
12375
12878
  layer_share_pct?: number;
12376
12879
  layers_per_cart?: number;
12377
12880
  order_item_id?: string | null;
@@ -12384,10 +12887,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12384
12887
  boxes?: number | null;
12385
12888
  cart_id?: string;
12386
12889
  crates?: number;
12890
+ crates_in_layer?: number | null;
12387
12891
  crates_per_layer?: number;
12388
12892
  created_at?: string;
12389
12893
  id?: string;
12390
12894
  layer_fraction?: number;
12895
+ layer_index?: number | null;
12391
12896
  layer_share_pct?: number;
12392
12897
  layers_per_cart?: number;
12393
12898
  order_item_id?: string | null;
@@ -12408,6 +12913,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12408
12913
  isOneToOne: false;
12409
12914
  referencedRelation: "order_items";
12410
12915
  referencedColumns: ["id"];
12916
+ }, {
12917
+ foreignKeyName: "order_cart_items_product_id_fkey";
12918
+ columns: ["product_id"];
12919
+ isOneToOne: false;
12920
+ referencedRelation: "logistics_product_dimensions";
12921
+ referencedColumns: ["product_id"];
12411
12922
  }, {
12412
12923
  foreignKeyName: "order_cart_items_product_id_fkey";
12413
12924
  columns: ["product_id"];
@@ -12416,51 +12927,142 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12416
12927
  referencedColumns: ["id"];
12417
12928
  }];
12418
12929
  };
12419
- order_carts: {
12930
+ order_cart_layer_positions: {
12420
12931
  Row: {
12421
- algorithm_version: number;
12422
- buffer_id: string | null;
12423
- carrier_type: string;
12424
- carrier_type_id: string | null;
12425
- cart_number: number;
12932
+ algorithm_version: number | null;
12933
+ cart_id: string;
12426
12934
  created_at: string;
12935
+ height: number;
12427
12936
  id: string;
12428
- is_auto: boolean;
12429
- is_complete: boolean;
12430
- max_layers: number | null;
12431
- moved_at: string | null;
12432
- moved_from_moment_id: string | null;
12433
- moved_reason: string | null;
12434
- notes: string | null;
12435
- occupancy_pct: number;
12436
- order_id: string | null;
12437
- pickup_locked: boolean;
12438
- pickup_moment_id: string | null;
12439
- source: string;
12440
- total_layers_used: number;
12937
+ keg_id: string;
12938
+ label: string | null;
12939
+ layer: number;
12940
+ layer_height: number | null;
12941
+ layer_width: number | null;
12942
+ manual_overridden_at: string | null;
12943
+ manual_overridden_by: string | null;
12944
+ manual_override: boolean;
12945
+ order_item_id: string | null;
12946
+ original_layer: number | null;
12947
+ original_x: number | null;
12948
+ original_y: number | null;
12949
+ product_id: string | null;
12950
+ rotation: number;
12951
+ source: string | null;
12441
12952
  updated_at: string;
12442
- weight_kg: number | null;
12953
+ width: number;
12954
+ x: number;
12955
+ y: number;
12443
12956
  };
12444
12957
  Insert: {
12445
- algorithm_version?: number;
12446
- buffer_id?: string | null;
12447
- carrier_type?: string;
12448
- carrier_type_id?: string | null;
12449
- cart_number: number;
12958
+ algorithm_version?: number | null;
12959
+ cart_id: string;
12450
12960
  created_at?: string;
12961
+ height: number;
12451
12962
  id?: string;
12452
- is_auto?: boolean;
12453
- is_complete?: boolean;
12454
- max_layers?: number | null;
12455
- moved_at?: string | null;
12456
- moved_from_moment_id?: string | null;
12457
- moved_reason?: string | null;
12458
- notes?: string | null;
12459
- occupancy_pct?: number;
12963
+ keg_id: string;
12964
+ label?: string | null;
12965
+ layer: number;
12966
+ layer_height?: number | null;
12967
+ layer_width?: number | null;
12968
+ manual_overridden_at?: string | null;
12969
+ manual_overridden_by?: string | null;
12970
+ manual_override?: boolean;
12971
+ order_item_id?: string | null;
12972
+ original_layer?: number | null;
12973
+ original_x?: number | null;
12974
+ original_y?: number | null;
12975
+ product_id?: string | null;
12976
+ rotation?: number;
12977
+ source?: string | null;
12978
+ updated_at?: string;
12979
+ width: number;
12980
+ x: number;
12981
+ y: number;
12982
+ };
12983
+ Update: {
12984
+ algorithm_version?: number | null;
12985
+ cart_id?: string;
12986
+ created_at?: string;
12987
+ height?: number;
12988
+ id?: string;
12989
+ keg_id?: string;
12990
+ label?: string | null;
12991
+ layer?: number;
12992
+ layer_height?: number | null;
12993
+ layer_width?: number | null;
12994
+ manual_overridden_at?: string | null;
12995
+ manual_overridden_by?: string | null;
12996
+ manual_override?: boolean;
12997
+ order_item_id?: string | null;
12998
+ original_layer?: number | null;
12999
+ original_x?: number | null;
13000
+ original_y?: number | null;
13001
+ product_id?: string | null;
13002
+ rotation?: number;
13003
+ source?: string | null;
13004
+ updated_at?: string;
13005
+ width?: number;
13006
+ x?: number;
13007
+ y?: number;
13008
+ };
13009
+ Relationships: [{
13010
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
13011
+ columns: ["cart_id"];
13012
+ isOneToOne: false;
13013
+ referencedRelation: "order_carts";
13014
+ referencedColumns: ["id"];
13015
+ }];
13016
+ };
13017
+ order_carts: {
13018
+ Row: {
13019
+ algorithm_version: number;
13020
+ buffer_id: string | null;
13021
+ carrier_type: string;
13022
+ carrier_type_id: string | null;
13023
+ cart_number: number;
13024
+ created_at: string;
13025
+ id: string;
13026
+ is_auto: boolean;
13027
+ is_complete: boolean;
13028
+ layout_method: string | null;
13029
+ max_layers: number | null;
13030
+ moved_at: string | null;
13031
+ moved_from_moment_id: string | null;
13032
+ moved_reason: string | null;
13033
+ notes: string | null;
13034
+ occupancy_pct: number;
13035
+ order_id: string | null;
13036
+ pickup_locked: boolean;
13037
+ pickup_moment_id: string | null;
13038
+ source: string;
13039
+ total_carts: number | null;
13040
+ total_layers_used: number;
13041
+ updated_at: string;
13042
+ weight_kg: number | null;
13043
+ };
13044
+ Insert: {
13045
+ algorithm_version?: number;
13046
+ buffer_id?: string | null;
13047
+ carrier_type?: string;
13048
+ carrier_type_id?: string | null;
13049
+ cart_number: number;
13050
+ created_at?: string;
13051
+ id?: string;
13052
+ is_auto?: boolean;
13053
+ is_complete?: boolean;
13054
+ layout_method?: string | null;
13055
+ max_layers?: number | null;
13056
+ moved_at?: string | null;
13057
+ moved_from_moment_id?: string | null;
13058
+ moved_reason?: string | null;
13059
+ notes?: string | null;
13060
+ occupancy_pct?: number;
12460
13061
  order_id?: string | null;
12461
13062
  pickup_locked?: boolean;
12462
13063
  pickup_moment_id?: string | null;
12463
13064
  source?: string;
13065
+ total_carts?: number | null;
12464
13066
  total_layers_used?: number;
12465
13067
  updated_at?: string;
12466
13068
  weight_kg?: number | null;
@@ -12475,6 +13077,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12475
13077
  id?: string;
12476
13078
  is_auto?: boolean;
12477
13079
  is_complete?: boolean;
13080
+ layout_method?: string | null;
12478
13081
  max_layers?: number | null;
12479
13082
  moved_at?: string | null;
12480
13083
  moved_from_moment_id?: string | null;
@@ -12485,6 +13088,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12485
13088
  pickup_locked?: boolean;
12486
13089
  pickup_moment_id?: string | null;
12487
13090
  source?: string;
13091
+ total_carts?: number | null;
12488
13092
  total_layers_used?: number;
12489
13093
  updated_at?: string;
12490
13094
  weight_kg?: number | null;
@@ -12587,6 +13191,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12587
13191
  };
12588
13192
  Relationships: [];
12589
13193
  };
13194
+ order_fust_bookings: {
13195
+ Row: {
13196
+ created_at: string;
13197
+ fust_type_id: string;
13198
+ id: string;
13199
+ order_item_id: string;
13200
+ quantity: number;
13201
+ updated_at: string;
13202
+ };
13203
+ Insert: {
13204
+ created_at?: string;
13205
+ fust_type_id: string;
13206
+ id?: string;
13207
+ order_item_id: string;
13208
+ quantity?: number;
13209
+ updated_at?: string;
13210
+ };
13211
+ Update: {
13212
+ created_at?: string;
13213
+ fust_type_id?: string;
13214
+ id?: string;
13215
+ order_item_id?: string;
13216
+ quantity?: number;
13217
+ updated_at?: string;
13218
+ };
13219
+ Relationships: [{
13220
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13221
+ columns: ["fust_type_id"];
13222
+ isOneToOne: false;
13223
+ referencedRelation: "fust_types";
13224
+ referencedColumns: ["id"];
13225
+ }];
13226
+ };
12590
13227
  order_invoice_links: {
12591
13228
  Row: {
12592
13229
  administration_code: string | null;
@@ -12675,6 +13312,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12675
13312
  isOneToOne: false;
12676
13313
  referencedRelation: "orders";
12677
13314
  referencedColumns: ["id"];
13315
+ }, {
13316
+ foreignKeyName: "order_items_product_id_fkey";
13317
+ columns: ["product_id"];
13318
+ isOneToOne: false;
13319
+ referencedRelation: "logistics_product_dimensions";
13320
+ referencedColumns: ["product_id"];
12678
13321
  }, {
12679
13322
  foreignKeyName: "order_items_product_id_fkey";
12680
13323
  columns: ["product_id"];
@@ -12822,6 +13465,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12822
13465
  plan_locked_at: string | null;
12823
13466
  plan_locked_ref: string | null;
12824
13467
  status: string;
13468
+ status_changed_at: string;
13469
+ status_origin: string;
13470
+ status_sync_token: string | null;
12825
13471
  total: string;
12826
13472
  updated_at: string;
12827
13473
  };
@@ -12846,6 +13492,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12846
13492
  plan_locked_at?: string | null;
12847
13493
  plan_locked_ref?: string | null;
12848
13494
  status?: string;
13495
+ status_changed_at?: string;
13496
+ status_origin?: string;
13497
+ status_sync_token?: string | null;
12849
13498
  total?: string;
12850
13499
  updated_at?: string;
12851
13500
  };
@@ -12870,6 +13519,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12870
13519
  plan_locked_at?: string | null;
12871
13520
  plan_locked_ref?: string | null;
12872
13521
  status?: string;
13522
+ status_changed_at?: string;
13523
+ status_origin?: string;
13524
+ status_sync_token?: string | null;
12873
13525
  total?: string;
12874
13526
  updated_at?: string;
12875
13527
  };
@@ -12923,6 +13575,153 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
12923
13575
  };
12924
13576
  Relationships: [];
12925
13577
  };
13578
+ pakbon_barcode_inhoud: {
13579
+ Row: {
13580
+ barcode: string;
13581
+ cart_id: string | null;
13582
+ cart_index: number | null;
13583
+ cart_label: string | null;
13584
+ cart_total: number | null;
13585
+ created_at: string;
13586
+ is_herprint: boolean;
13587
+ klant_naam: string | null;
13588
+ klant_nummer: string | null;
13589
+ layout_id: string | null;
13590
+ layout_variant: string | null;
13591
+ order_nummer: string | null;
13592
+ order_ref: string | null;
13593
+ print_job_id: string | null;
13594
+ regels: import("../integrations/supabase/types").Json;
13595
+ updated_at: string;
13596
+ };
13597
+ Insert: {
13598
+ barcode: string;
13599
+ cart_id?: string | null;
13600
+ cart_index?: number | null;
13601
+ cart_label?: string | null;
13602
+ cart_total?: number | null;
13603
+ created_at?: string;
13604
+ is_herprint?: boolean;
13605
+ klant_naam?: string | null;
13606
+ klant_nummer?: string | null;
13607
+ layout_id?: string | null;
13608
+ layout_variant?: string | null;
13609
+ order_nummer?: string | null;
13610
+ order_ref?: string | null;
13611
+ print_job_id?: string | null;
13612
+ regels?: import("../integrations/supabase/types").Json;
13613
+ updated_at?: string;
13614
+ };
13615
+ Update: {
13616
+ barcode?: string;
13617
+ cart_id?: string | null;
13618
+ cart_index?: number | null;
13619
+ cart_label?: string | null;
13620
+ cart_total?: number | null;
13621
+ created_at?: string;
13622
+ is_herprint?: boolean;
13623
+ klant_naam?: string | null;
13624
+ klant_nummer?: string | null;
13625
+ layout_id?: string | null;
13626
+ layout_variant?: string | null;
13627
+ order_nummer?: string | null;
13628
+ order_ref?: string | null;
13629
+ print_job_id?: string | null;
13630
+ regels?: import("../integrations/supabase/types").Json;
13631
+ updated_at?: string;
13632
+ };
13633
+ Relationships: [];
13634
+ };
13635
+ pakbon_barcode_verzoeken: {
13636
+ Row: {
13637
+ aangevraagd_op: string;
13638
+ barcode: string | null;
13639
+ cart_id: string | null;
13640
+ cart_index: number | null;
13641
+ cart_label: string | null;
13642
+ cart_total: number | null;
13643
+ documentnaam: string | null;
13644
+ geleverd_op: string | null;
13645
+ id: string;
13646
+ is_herprint: boolean;
13647
+ klant_naam: string | null;
13648
+ klant_nummer: string | null;
13649
+ laatst_gevraagd_op: string;
13650
+ layout_id: string | null;
13651
+ layout_variant: string | null;
13652
+ order_nummer: string | null;
13653
+ order_ref: string | null;
13654
+ print_job_id: string;
13655
+ status: string;
13656
+ updated_at: string;
13657
+ };
13658
+ Insert: {
13659
+ aangevraagd_op?: string;
13660
+ barcode?: string | null;
13661
+ cart_id?: string | null;
13662
+ cart_index?: number | null;
13663
+ cart_label?: string | null;
13664
+ cart_total?: number | null;
13665
+ documentnaam?: string | null;
13666
+ geleverd_op?: string | null;
13667
+ id?: string;
13668
+ is_herprint?: boolean;
13669
+ klant_naam?: string | null;
13670
+ klant_nummer?: string | null;
13671
+ laatst_gevraagd_op?: string;
13672
+ layout_id?: string | null;
13673
+ layout_variant?: string | null;
13674
+ order_nummer?: string | null;
13675
+ order_ref?: string | null;
13676
+ print_job_id: string;
13677
+ status?: string;
13678
+ updated_at?: string;
13679
+ };
13680
+ Update: {
13681
+ aangevraagd_op?: string;
13682
+ barcode?: string | null;
13683
+ cart_id?: string | null;
13684
+ cart_index?: number | null;
13685
+ cart_label?: string | null;
13686
+ cart_total?: number | null;
13687
+ documentnaam?: string | null;
13688
+ geleverd_op?: string | null;
13689
+ id?: string;
13690
+ is_herprint?: boolean;
13691
+ klant_naam?: string | null;
13692
+ klant_nummer?: string | null;
13693
+ laatst_gevraagd_op?: string;
13694
+ layout_id?: string | null;
13695
+ layout_variant?: string | null;
13696
+ order_nummer?: string | null;
13697
+ order_ref?: string | null;
13698
+ print_job_id?: string;
13699
+ status?: string;
13700
+ updated_at?: string;
13701
+ };
13702
+ Relationships: [];
13703
+ };
13704
+ pick_buffer_event_cursor: {
13705
+ Row: {
13706
+ created_at: string;
13707
+ id: boolean;
13708
+ last_event_at: string;
13709
+ updated_at: string;
13710
+ };
13711
+ Insert: {
13712
+ created_at?: string;
13713
+ id?: boolean;
13714
+ last_event_at?: string;
13715
+ updated_at?: string;
13716
+ };
13717
+ Update: {
13718
+ created_at?: string;
13719
+ id?: boolean;
13720
+ last_event_at?: string;
13721
+ updated_at?: string;
13722
+ };
13723
+ Relationships: [];
13724
+ };
12926
13725
  pick_countries: {
12927
13726
  Row: {
12928
13727
  active: boolean;
@@ -13080,6 +13879,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13080
13879
  print_job_id: string | null;
13081
13880
  printed_at: string | null;
13082
13881
  printed_by: string | null;
13882
+ printed_cart_ids: import("../integrations/supabase/types").Json;
13083
13883
  printer_id: string | null;
13084
13884
  priority: number;
13085
13885
  reference: string | null;
@@ -13114,6 +13914,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13114
13914
  print_job_id?: string | null;
13115
13915
  printed_at?: string | null;
13116
13916
  printed_by?: string | null;
13917
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
13117
13918
  printer_id?: string | null;
13118
13919
  priority?: number;
13119
13920
  reference?: string | null;
@@ -13148,6 +13949,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13148
13949
  print_job_id?: string | null;
13149
13950
  printed_at?: string | null;
13150
13951
  printed_by?: string | null;
13952
+ printed_cart_ids?: import("../integrations/supabase/types").Json;
13151
13953
  printer_id?: string | null;
13152
13954
  priority?: number;
13153
13955
  reference?: string | null;
@@ -13998,6 +14800,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
13998
14800
  isOneToOne: false;
13999
14801
  referencedRelation: "werkbonnen";
14000
14802
  referencedColumns: ["id"];
14803
+ }, {
14804
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14805
+ columns: ["werkbon_id"];
14806
+ isOneToOne: false;
14807
+ referencedRelation: "wo_overview";
14808
+ referencedColumns: ["id"];
14001
14809
  }];
14002
14810
  };
14003
14811
  print_agents: {
@@ -14113,12 +14921,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14113
14921
  };
14114
14922
  print_jobs: {
14115
14923
  Row: {
14924
+ aflever_pogingen: number;
14116
14925
  agent_id: string | null;
14926
+ artefact_bytes: number | null;
14927
+ artefact_gereed_op: string | null;
14928
+ artefact_pad: string | null;
14929
+ artefact_sha256: string | null;
14930
+ batch_id: string | null;
14117
14931
  bron_job_id: string | null;
14118
14932
  created_at: string;
14119
14933
  documentnaam: string;
14120
14934
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14121
14935
  extern_job_id: string | null;
14936
+ fase_gestart_op: string | null;
14937
+ fase_voltooid_op: string | null;
14938
+ foutcode: string | null;
14122
14939
  foutmelding: string | null;
14123
14940
  gebruiker_id: string | null;
14124
14941
  gebruiker_naam: string;
@@ -14132,7 +14949,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14132
14949
  kopieen: number;
14133
14950
  layout_id: string | null;
14134
14951
  lokaal_opgeslagen_op: string | null;
14952
+ lokale_pdf_claim_id: string | null;
14953
+ lokale_pdf_claim_tot: string | null;
14135
14954
  lokale_pdf_fout: string | null;
14955
+ lokale_pdf_print_plek_id: string | null;
14136
14956
  lokale_pdf_status: string | null;
14137
14957
  opgepakt_op: string | null;
14138
14958
  paginas: number;
@@ -14145,16 +14965,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14145
14965
  resultaat_pdf_base64: string | null;
14146
14966
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14147
14967
  updated_at: string;
14968
+ verwerkingsfase: string;
14148
14969
  volgende_poging: string | null;
14149
14970
  voltooid_op: string | null;
14150
14971
  };
14151
14972
  Insert: {
14973
+ aflever_pogingen?: number;
14152
14974
  agent_id?: string | null;
14975
+ artefact_bytes?: number | null;
14976
+ artefact_gereed_op?: string | null;
14977
+ artefact_pad?: string | null;
14978
+ artefact_sha256?: string | null;
14979
+ batch_id?: string | null;
14153
14980
  bron_job_id?: string | null;
14154
14981
  created_at?: string;
14155
14982
  documentnaam?: string;
14156
14983
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14157
14984
  extern_job_id?: string | null;
14985
+ fase_gestart_op?: string | null;
14986
+ fase_voltooid_op?: string | null;
14987
+ foutcode?: string | null;
14158
14988
  foutmelding?: string | null;
14159
14989
  gebruiker_id?: string | null;
14160
14990
  gebruiker_naam?: string;
@@ -14168,7 +14998,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14168
14998
  kopieen?: number;
14169
14999
  layout_id?: string | null;
14170
15000
  lokaal_opgeslagen_op?: string | null;
15001
+ lokale_pdf_claim_id?: string | null;
15002
+ lokale_pdf_claim_tot?: string | null;
14171
15003
  lokale_pdf_fout?: string | null;
15004
+ lokale_pdf_print_plek_id?: string | null;
14172
15005
  lokale_pdf_status?: string | null;
14173
15006
  opgepakt_op?: string | null;
14174
15007
  paginas?: number;
@@ -14181,16 +15014,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14181
15014
  resultaat_pdf_base64?: string | null;
14182
15015
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14183
15016
  updated_at?: string;
15017
+ verwerkingsfase?: string;
14184
15018
  volgende_poging?: string | null;
14185
15019
  voltooid_op?: string | null;
14186
15020
  };
14187
15021
  Update: {
15022
+ aflever_pogingen?: number;
14188
15023
  agent_id?: string | null;
15024
+ artefact_bytes?: number | null;
15025
+ artefact_gereed_op?: string | null;
15026
+ artefact_pad?: string | null;
15027
+ artefact_sha256?: string | null;
15028
+ batch_id?: string | null;
14189
15029
  bron_job_id?: string | null;
14190
15030
  created_at?: string;
14191
15031
  documentnaam?: string;
14192
15032
  documenttype?: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
14193
15033
  extern_job_id?: string | null;
15034
+ fase_gestart_op?: string | null;
15035
+ fase_voltooid_op?: string | null;
15036
+ foutcode?: string | null;
14194
15037
  foutmelding?: string | null;
14195
15038
  gebruiker_id?: string | null;
14196
15039
  gebruiker_naam?: string;
@@ -14204,7 +15047,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14204
15047
  kopieen?: number;
14205
15048
  layout_id?: string | null;
14206
15049
  lokaal_opgeslagen_op?: string | null;
15050
+ lokale_pdf_claim_id?: string | null;
15051
+ lokale_pdf_claim_tot?: string | null;
14207
15052
  lokale_pdf_fout?: string | null;
15053
+ lokale_pdf_print_plek_id?: string | null;
14208
15054
  lokale_pdf_status?: string | null;
14209
15055
  opgepakt_op?: string | null;
14210
15056
  paginas?: number;
@@ -14217,6 +15063,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14217
15063
  resultaat_pdf_base64?: string | null;
14218
15064
  status?: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
14219
15065
  updated_at?: string;
15066
+ verwerkingsfase?: string;
14220
15067
  volgende_poging?: string | null;
14221
15068
  voltooid_op?: string | null;
14222
15069
  };
@@ -14232,6 +15079,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14232
15079
  isOneToOne: false;
14233
15080
  referencedRelation: "document_layouts";
14234
15081
  referencedColumns: ["id"];
15082
+ }, {
15083
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
15084
+ columns: ["lokale_pdf_print_plek_id"];
15085
+ isOneToOne: false;
15086
+ referencedRelation: "print_plekken";
15087
+ referencedColumns: ["id"];
14235
15088
  }, {
14236
15089
  foreignKeyName: "print_jobs_printer_id_fkey";
14237
15090
  columns: ["printer_id"];
@@ -14366,6 +15219,30 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14366
15219
  };
14367
15220
  Relationships: [];
14368
15221
  };
15222
+ print_queue_leases: {
15223
+ Row: {
15224
+ created_at: string;
15225
+ houder: string;
15226
+ naam: string;
15227
+ updated_at: string;
15228
+ verloopt_op: string;
15229
+ };
15230
+ Insert: {
15231
+ created_at?: string;
15232
+ houder: string;
15233
+ naam: string;
15234
+ updated_at?: string;
15235
+ verloopt_op: string;
15236
+ };
15237
+ Update: {
15238
+ created_at?: string;
15239
+ houder?: string;
15240
+ naam?: string;
15241
+ updated_at?: string;
15242
+ verloopt_op?: string;
15243
+ };
15244
+ Relationships: [];
15245
+ };
14369
15246
  print_queue_runners: {
14370
15247
  Row: {
14371
15248
  actief: boolean;
@@ -14375,7 +15252,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14375
15252
  laatst_gezien: string;
14376
15253
  laatste_fout: string | null;
14377
15254
  laatste_request_id: number | null;
15255
+ laatste_wakeup: string | null;
14378
15256
  mislukte_posts: number;
15257
+ mislukte_wakeups: number;
14379
15258
  tick_sleutel: string;
14380
15259
  updated_at: string;
14381
15260
  };
@@ -14387,7 +15266,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14387
15266
  laatst_gezien?: string;
14388
15267
  laatste_fout?: string | null;
14389
15268
  laatste_request_id?: number | null;
15269
+ laatste_wakeup?: string | null;
14390
15270
  mislukte_posts?: number;
15271
+ mislukte_wakeups?: number;
14391
15272
  tick_sleutel?: string;
14392
15273
  updated_at?: string;
14393
15274
  };
@@ -14399,7 +15280,9 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14399
15280
  laatst_gezien?: string;
14400
15281
  laatste_fout?: string | null;
14401
15282
  laatste_request_id?: number | null;
15283
+ laatste_wakeup?: string | null;
14402
15284
  mislukte_posts?: number;
15285
+ mislukte_wakeups?: number;
14403
15286
  tick_sleutel?: string;
14404
15287
  updated_at?: string;
14405
15288
  };
@@ -14713,6 +15596,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14713
15596
  updated_at?: string;
14714
15597
  };
14715
15598
  Relationships: [{
15599
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15600
+ columns: ["parent_product_id"];
15601
+ isOneToOne: false;
15602
+ referencedRelation: "logistics_product_dimensions";
15603
+ referencedColumns: ["product_id"];
15604
+ }, {
14716
15605
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14717
15606
  columns: ["parent_product_id"];
14718
15607
  isOneToOne: false;
@@ -14767,11 +15656,23 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14767
15656
  updated_at?: string;
14768
15657
  };
14769
15658
  Relationships: [{
15659
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15660
+ columns: ["component_product_id"];
15661
+ isOneToOne: false;
15662
+ referencedRelation: "logistics_product_dimensions";
15663
+ referencedColumns: ["product_id"];
15664
+ }, {
14770
15665
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14771
15666
  columns: ["component_product_id"];
14772
15667
  isOneToOne: false;
14773
15668
  referencedRelation: "products";
14774
15669
  referencedColumns: ["id"];
15670
+ }, {
15671
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15672
+ columns: ["parent_product_id"];
15673
+ isOneToOne: false;
15674
+ referencedRelation: "logistics_product_dimensions";
15675
+ referencedColumns: ["product_id"];
14775
15676
  }, {
14776
15677
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14777
15678
  columns: ["parent_product_id"];
@@ -14947,6 +15848,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
14947
15848
  updated_at?: string;
14948
15849
  };
14949
15850
  Relationships: [{
15851
+ foreignKeyName: "product_groups_head_product_id_fkey";
15852
+ columns: ["head_product_id"];
15853
+ isOneToOne: false;
15854
+ referencedRelation: "logistics_product_dimensions";
15855
+ referencedColumns: ["product_id"];
15856
+ }, {
14950
15857
  foreignKeyName: "product_groups_head_product_id_fkey";
14951
15858
  columns: ["head_product_id"];
14952
15859
  isOneToOne: false;
@@ -15012,6 +15919,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15012
15919
  isOneToOne: false;
15013
15920
  referencedRelation: "packages";
15014
15921
  referencedColumns: ["id"];
15922
+ }, {
15923
+ foreignKeyName: "product_load_settings_product_id_fkey";
15924
+ columns: ["product_id"];
15925
+ isOneToOne: false;
15926
+ referencedRelation: "logistics_product_dimensions";
15927
+ referencedColumns: ["product_id"];
15015
15928
  }, {
15016
15929
  foreignKeyName: "product_load_settings_product_id_fkey";
15017
15930
  columns: ["product_id"];
@@ -15062,6 +15975,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15062
15975
  created_at: string;
15063
15976
  custom_fields: import("../integrations/supabase/types").Json;
15064
15977
  floriday_trade_item_id: string | null;
15978
+ fust_type_id: string | null;
15065
15979
  id: string;
15066
15980
  image_url: string | null;
15067
15981
  incoming_quantity: number;
@@ -15069,6 +15983,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15069
15983
  layers_per_cart: number;
15070
15984
  location: string;
15071
15985
  min_quantity: number;
15986
+ plant_height_cm: number | null;
15072
15987
  plants_per_crate: number;
15073
15988
  product: string;
15074
15989
  product_type: string;
@@ -15088,6 +16003,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15088
16003
  created_at?: string;
15089
16004
  custom_fields?: import("../integrations/supabase/types").Json;
15090
16005
  floriday_trade_item_id?: string | null;
16006
+ fust_type_id?: string | null;
15091
16007
  id?: string;
15092
16008
  image_url?: string | null;
15093
16009
  incoming_quantity?: number;
@@ -15095,6 +16011,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15095
16011
  layers_per_cart?: number;
15096
16012
  location: string;
15097
16013
  min_quantity?: number;
16014
+ plant_height_cm?: number | null;
15098
16015
  plants_per_crate?: number;
15099
16016
  product: string;
15100
16017
  product_type?: string;
@@ -15114,6 +16031,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15114
16031
  created_at?: string;
15115
16032
  custom_fields?: import("../integrations/supabase/types").Json;
15116
16033
  floriday_trade_item_id?: string | null;
16034
+ fust_type_id?: string | null;
15117
16035
  id?: string;
15118
16036
  image_url?: string | null;
15119
16037
  incoming_quantity?: number;
@@ -15121,6 +16039,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15121
16039
  layers_per_cart?: number;
15122
16040
  location?: string;
15123
16041
  min_quantity?: number;
16042
+ plant_height_cm?: number | null;
15124
16043
  plants_per_crate?: number;
15125
16044
  product?: string;
15126
16045
  product_type?: string;
@@ -15132,7 +16051,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15132
16051
  updated_at?: string;
15133
16052
  weight?: string | null;
15134
16053
  };
15135
- Relationships: [];
16054
+ Relationships: [{
16055
+ foreignKeyName: "products_fust_type_id_fkey";
16056
+ columns: ["fust_type_id"];
16057
+ isOneToOne: false;
16058
+ referencedRelation: "fust_types";
16059
+ referencedColumns: ["id"];
16060
+ }];
15136
16061
  };
15137
16062
  profile_modules: {
15138
16063
  Row: {
@@ -15466,6 +16391,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15466
16391
  quantity?: number;
15467
16392
  };
15468
16393
  Relationships: [{
16394
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16395
+ columns: ["product_id"];
16396
+ isOneToOne: false;
16397
+ referencedRelation: "logistics_product_dimensions";
16398
+ referencedColumns: ["product_id"];
16399
+ }, {
15469
16400
  foreignKeyName: "purchase_order_items_product_id_fkey";
15470
16401
  columns: ["product_id"];
15471
16402
  isOneToOne: false;
@@ -15785,26 +16716,122 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15785
16716
  referencedColumns: ["id"];
15786
16717
  }];
15787
16718
  };
15788
- scan_karren: {
16719
+ scan_kar_sessie_regels: {
15789
16720
  Row: {
15790
- afgerond_op: string | null;
15791
- buffer_key: string | null;
16721
+ barcode: string;
16722
+ cart_id: string | null;
15792
16723
  created_at: string;
15793
- customer_names: string[];
15794
- device_id: string | null;
15795
- geprint: boolean;
15796
- geprint_op: string | null;
15797
16724
  id: string;
15798
- kar_nummer: string;
15799
- medewerker_id: string | null;
15800
- medewerker_naam: string | null;
15801
- naar_pickstation: boolean;
15802
- naar_pickstation_op: string | null;
16725
+ order_id: string | null;
15803
16726
  order_number: string | null;
15804
- scanner_id: string | null;
15805
- scanner_key: string;
15806
- status: string;
15807
- totaal_producten: number;
16727
+ regels: import("../integrations/supabase/types").Json;
16728
+ sessie_id: string;
16729
+ volledig: boolean;
16730
+ };
16731
+ Insert: {
16732
+ barcode: string;
16733
+ cart_id?: string | null;
16734
+ created_at?: string;
16735
+ id?: string;
16736
+ order_id?: string | null;
16737
+ order_number?: string | null;
16738
+ regels?: import("../integrations/supabase/types").Json;
16739
+ sessie_id: string;
16740
+ volledig?: boolean;
16741
+ };
16742
+ Update: {
16743
+ barcode?: string;
16744
+ cart_id?: string | null;
16745
+ created_at?: string;
16746
+ id?: string;
16747
+ order_id?: string | null;
16748
+ order_number?: string | null;
16749
+ regels?: import("../integrations/supabase/types").Json;
16750
+ sessie_id?: string;
16751
+ volledig?: boolean;
16752
+ };
16753
+ Relationships: [{
16754
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16755
+ columns: ["sessie_id"];
16756
+ isOneToOne: false;
16757
+ referencedRelation: "scan_kar_sessies";
16758
+ referencedColumns: ["id"];
16759
+ }];
16760
+ };
16761
+ scan_kar_sessies: {
16762
+ Row: {
16763
+ afgerond_op: string | null;
16764
+ cart_id: string | null;
16765
+ cart_index: number | null;
16766
+ cart_total: number | null;
16767
+ created_at: string;
16768
+ id: string;
16769
+ klant_naam: string | null;
16770
+ medewerker_naam: string | null;
16771
+ order_id: string | null;
16772
+ order_number: string | null;
16773
+ scanner_id: string | null;
16774
+ status: string;
16775
+ updated_at: string;
16776
+ };
16777
+ Insert: {
16778
+ afgerond_op?: string | null;
16779
+ cart_id?: string | null;
16780
+ cart_index?: number | null;
16781
+ cart_total?: number | null;
16782
+ created_at?: string;
16783
+ id?: string;
16784
+ klant_naam?: string | null;
16785
+ medewerker_naam?: string | null;
16786
+ order_id?: string | null;
16787
+ order_number?: string | null;
16788
+ scanner_id?: string | null;
16789
+ status?: string;
16790
+ updated_at?: string;
16791
+ };
16792
+ Update: {
16793
+ afgerond_op?: string | null;
16794
+ cart_id?: string | null;
16795
+ cart_index?: number | null;
16796
+ cart_total?: number | null;
16797
+ created_at?: string;
16798
+ id?: string;
16799
+ klant_naam?: string | null;
16800
+ medewerker_naam?: string | null;
16801
+ order_id?: string | null;
16802
+ order_number?: string | null;
16803
+ scanner_id?: string | null;
16804
+ status?: string;
16805
+ updated_at?: string;
16806
+ };
16807
+ Relationships: [{
16808
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16809
+ columns: ["scanner_id"];
16810
+ isOneToOne: false;
16811
+ referencedRelation: "scan_scanners";
16812
+ referencedColumns: ["id"];
16813
+ }];
16814
+ };
16815
+ scan_karren: {
16816
+ Row: {
16817
+ afgerond_op: string | null;
16818
+ buffer_key: string | null;
16819
+ created_at: string;
16820
+ customer_names: string[];
16821
+ device_id: string | null;
16822
+ geprint: boolean;
16823
+ geprint_op: string | null;
16824
+ id: string;
16825
+ kar_nummer: string;
16826
+ medewerker_id: string | null;
16827
+ medewerker_naam: string | null;
16828
+ naar_pickstation: boolean;
16829
+ naar_pickstation_op: string | null;
16830
+ order_number: string | null;
16831
+ scanner_id: string | null;
16832
+ scanner_key: string;
16833
+ status: string;
16834
+ totaal_producten: number;
15808
16835
  updated_at: string;
15809
16836
  };
15810
16837
  Insert: {
@@ -15989,6 +17016,60 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15989
17016
  };
15990
17017
  Relationships: [];
15991
17018
  };
17019
+ scan_restpakbonnen: {
17020
+ Row: {
17021
+ barcode: string;
17022
+ bron_barcode: string | null;
17023
+ cart_id: string | null;
17024
+ cart_index: number | null;
17025
+ cart_total: number | null;
17026
+ created_at: string;
17027
+ geprint_op: string | null;
17028
+ id: string;
17029
+ klant_naam: string | null;
17030
+ order_id: string | null;
17031
+ order_number: string | null;
17032
+ print_job_id: string | null;
17033
+ regels: import("../integrations/supabase/types").Json;
17034
+ updated_at: string;
17035
+ verwerkt: boolean;
17036
+ };
17037
+ Insert: {
17038
+ barcode: string;
17039
+ bron_barcode?: string | null;
17040
+ cart_id?: string | null;
17041
+ cart_index?: number | null;
17042
+ cart_total?: number | null;
17043
+ created_at?: string;
17044
+ geprint_op?: string | null;
17045
+ id?: string;
17046
+ klant_naam?: string | null;
17047
+ order_id?: string | null;
17048
+ order_number?: string | null;
17049
+ print_job_id?: string | null;
17050
+ regels?: import("../integrations/supabase/types").Json;
17051
+ updated_at?: string;
17052
+ verwerkt?: boolean;
17053
+ };
17054
+ Update: {
17055
+ barcode?: string;
17056
+ bron_barcode?: string | null;
17057
+ cart_id?: string | null;
17058
+ cart_index?: number | null;
17059
+ cart_total?: number | null;
17060
+ created_at?: string;
17061
+ geprint_op?: string | null;
17062
+ id?: string;
17063
+ klant_naam?: string | null;
17064
+ order_id?: string | null;
17065
+ order_number?: string | null;
17066
+ print_job_id?: string | null;
17067
+ regels?: import("../integrations/supabase/types").Json;
17068
+ updated_at?: string;
17069
+ verwerkt?: boolean;
17070
+ };
17071
+ Relationships: [];
17072
+ };
15992
17073
  scan_scanners: {
15993
17074
  Row: {
15994
17075
  actief: boolean;
@@ -15998,6 +17079,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
15998
17079
  naam: string;
15999
17080
  omschrijving: string | null;
16000
17081
  pincode: string | null;
17082
+ printer_id: string | null;
16001
17083
  slug: string;
16002
17084
  type: string;
16003
17085
  updated_at: string;
@@ -16012,6 +17094,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16012
17094
  naam: string;
16013
17095
  omschrijving?: string | null;
16014
17096
  pincode?: string | null;
17097
+ printer_id?: string | null;
16015
17098
  slug: string;
16016
17099
  type?: string;
16017
17100
  updated_at?: string;
@@ -16026,6 +17109,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16026
17109
  naam?: string;
16027
17110
  omschrijving?: string | null;
16028
17111
  pincode?: string | null;
17112
+ printer_id?: string | null;
16029
17113
  slug?: string;
16030
17114
  type?: string;
16031
17115
  updated_at?: string;
@@ -16034,6 +17118,27 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16034
17118
  };
16035
17119
  Relationships: [];
16036
17120
  };
17121
+ shell_settings: {
17122
+ Row: {
17123
+ created_at: string;
17124
+ default_path: string | null;
17125
+ shell_id: string;
17126
+ updated_at: string;
17127
+ };
17128
+ Insert: {
17129
+ created_at?: string;
17130
+ default_path?: string | null;
17131
+ shell_id: string;
17132
+ updated_at?: string;
17133
+ };
17134
+ Update: {
17135
+ created_at?: string;
17136
+ default_path?: string | null;
17137
+ shell_id?: string;
17138
+ updated_at?: string;
17139
+ };
17140
+ Relationships: [];
17141
+ };
16037
17142
  sick_periods: {
16038
17143
  Row: {
16039
17144
  created_at: string;
@@ -16653,6 +17758,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
16653
17758
  isOneToOne: false;
16654
17759
  referencedRelation: "werkbonnen";
16655
17760
  referencedColumns: ["id"];
17761
+ }, {
17762
+ foreignKeyName: "time_logs_work_order_id_fkey";
17763
+ columns: ["work_order_id"];
17764
+ isOneToOne: false;
17765
+ referencedRelation: "wo_overview";
17766
+ referencedColumns: ["id"];
16656
17767
  }];
16657
17768
  };
16658
17769
  time_off_entries: {
@@ -17946,6 +19057,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
17946
19057
  isOneToOne: false;
17947
19058
  referencedRelation: "werkbonnen";
17948
19059
  referencedColumns: ["id"];
19060
+ }, {
19061
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
19062
+ columns: ["werkbon_id"];
19063
+ isOneToOne: false;
19064
+ referencedRelation: "wo_overview";
19065
+ referencedColumns: ["id"];
17949
19066
  }];
17950
19067
  };
17951
19068
  uren_exports: {
@@ -18254,6 +19371,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18254
19371
  referencedColumns: ["id"];
18255
19372
  }];
18256
19373
  };
19374
+ voorraad_buffer_state: {
19375
+ Row: {
19376
+ buffer_id: string;
19377
+ buffer_key: string | null;
19378
+ closed_at: string | null;
19379
+ created_at: string;
19380
+ detached_orders: import("../integrations/supabase/types").Json;
19381
+ reason: string | null;
19382
+ updated_at: string;
19383
+ };
19384
+ Insert: {
19385
+ buffer_id: string;
19386
+ buffer_key?: string | null;
19387
+ closed_at?: string | null;
19388
+ created_at?: string;
19389
+ detached_orders?: import("../integrations/supabase/types").Json;
19390
+ reason?: string | null;
19391
+ updated_at?: string;
19392
+ };
19393
+ Update: {
19394
+ buffer_id?: string;
19395
+ buffer_key?: string | null;
19396
+ closed_at?: string | null;
19397
+ created_at?: string;
19398
+ detached_orders?: import("../integrations/supabase/types").Json;
19399
+ reason?: string | null;
19400
+ updated_at?: string;
19401
+ };
19402
+ Relationships: [];
19403
+ };
18257
19404
  voorraad_custom_fields: {
18258
19405
  Row: {
18259
19406
  created_at: string;
@@ -18296,6 +19443,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18296
19443
  };
18297
19444
  Relationships: [];
18298
19445
  };
19446
+ voorraad_logistics_event_log: {
19447
+ Row: {
19448
+ created_at: string;
19449
+ event_id: string;
19450
+ event_type: string;
19451
+ order_ref: string | null;
19452
+ processed_at: string;
19453
+ result: import("../integrations/supabase/types").Json;
19454
+ updated_at: string;
19455
+ };
19456
+ Insert: {
19457
+ created_at?: string;
19458
+ event_id: string;
19459
+ event_type: string;
19460
+ order_ref?: string | null;
19461
+ processed_at?: string;
19462
+ result?: import("../integrations/supabase/types").Json;
19463
+ updated_at?: string;
19464
+ };
19465
+ Update: {
19466
+ created_at?: string;
19467
+ event_id?: string;
19468
+ event_type?: string;
19469
+ order_ref?: string | null;
19470
+ processed_at?: string;
19471
+ result?: import("../integrations/supabase/types").Json;
19472
+ updated_at?: string;
19473
+ };
19474
+ Relationships: [];
19475
+ };
18299
19476
  voorraad_media_upload_failures: {
18300
19477
  Row: {
18301
19478
  action: string;
@@ -18669,6 +19846,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18669
19846
  isOneToOne: true;
18670
19847
  referencedRelation: "werkbonnen";
18671
19848
  referencedColumns: ["id"];
19849
+ }, {
19850
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19851
+ columns: ["werkbon_id"];
19852
+ isOneToOne: true;
19853
+ referencedRelation: "wo_overview";
19854
+ referencedColumns: ["id"];
18672
19855
  }];
18673
19856
  };
18674
19857
  werkbon_facturatie_settings: {
@@ -18756,6 +19939,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18756
19939
  isOneToOne: false;
18757
19940
  referencedRelation: "werkbonnen";
18758
19941
  referencedColumns: ["id"];
19942
+ }, {
19943
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19944
+ columns: ["werkbon_id"];
19945
+ isOneToOne: false;
19946
+ referencedRelation: "wo_overview";
19947
+ referencedColumns: ["id"];
18759
19948
  }];
18760
19949
  };
18761
19950
  werkbon_package_ai_rules: {
@@ -18939,6 +20128,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
18939
20128
  isOneToOne: false;
18940
20129
  referencedRelation: "werkbonnen";
18941
20130
  referencedColumns: ["id"];
20131
+ }, {
20132
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20133
+ columns: ["werkbon_id"];
20134
+ isOneToOne: false;
20135
+ referencedRelation: "wo_overview";
20136
+ referencedColumns: ["id"];
18942
20137
  }];
18943
20138
  };
18944
20139
  werkbon_packages: {
@@ -19029,6 +20224,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19029
20224
  isOneToOne: false;
19030
20225
  referencedRelation: "werkbonnen";
19031
20226
  referencedColumns: ["id"];
20227
+ }, {
20228
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20229
+ columns: ["werkbon_id"];
20230
+ isOneToOne: false;
20231
+ referencedRelation: "wo_overview";
20232
+ referencedColumns: ["id"];
19032
20233
  }];
19033
20234
  };
19034
20235
  werkbon_time_logs: {
@@ -19068,6 +20269,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19068
20269
  isOneToOne: false;
19069
20270
  referencedRelation: "werkbonnen";
19070
20271
  referencedColumns: ["id"];
20272
+ }, {
20273
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20274
+ columns: ["werkbon_id"];
20275
+ isOneToOne: false;
20276
+ referencedRelation: "wo_overview";
20277
+ referencedColumns: ["id"];
19071
20278
  }];
19072
20279
  };
19073
20280
  werkbonnen: {
@@ -19191,6 +20398,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19191
20398
  isOneToOne: false;
19192
20399
  referencedRelation: "werkbonnen";
19193
20400
  referencedColumns: ["id"];
20401
+ }, {
20402
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20403
+ columns: ["parent_werkbon_id"];
20404
+ isOneToOne: false;
20405
+ referencedRelation: "wo_overview";
20406
+ referencedColumns: ["id"];
19194
20407
  }, {
19195
20408
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19196
20409
  columns: ["source_mailbox_message_id"];
@@ -19659,6 +20872,24 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19659
20872
  };
19660
20873
  Relationships: [];
19661
20874
  };
20875
+ logistics_product_dimensions: {
20876
+ Row: {
20877
+ dimension_source: string | null;
20878
+ fust_height_mm: number | null;
20879
+ fust_length_mm: number | null;
20880
+ fust_name: string | null;
20881
+ fust_source: string | null;
20882
+ fust_type_id: string | null;
20883
+ fust_width_mm: number | null;
20884
+ height_source: string | null;
20885
+ missing_reason: string | null;
20886
+ plant_height_cm: number | null;
20887
+ plants_per_crate: number | null;
20888
+ product_id: string | null;
20889
+ product_name: string | null;
20890
+ };
20891
+ Relationships: [];
20892
+ };
19662
20893
  manufacture_product_possible_stock_view: {
19663
20894
  Row: {
19664
20895
  component_count: number | null;
@@ -19696,6 +20927,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
19696
20927
  isOneToOne: false;
19697
20928
  referencedRelation: "werkbonnen";
19698
20929
  referencedColumns: ["id"];
20930
+ }, {
20931
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20932
+ columns: ["werkbon_id"];
20933
+ isOneToOne: false;
20934
+ referencedRelation: "wo_overview";
20935
+ referencedColumns: ["id"];
19699
20936
  }];
19700
20937
  };
19701
20938
  product_group_stock_view: {
@@ -20157,19 +21394,94 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20157
21394
  isOneToOne: false;
20158
21395
  referencedRelation: "werkbonnen";
20159
21396
  referencedColumns: ["id"];
21397
+ }, {
21398
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21399
+ columns: ["werkbon_id"];
21400
+ isOneToOne: false;
21401
+ referencedRelation: "wo_overview";
21402
+ referencedColumns: ["id"];
20160
21403
  }];
20161
21404
  };
20162
- };
20163
- Functions: {
20164
- _floriday_schedule_job: {
20165
- Args: {
20166
- p_apikey: string;
20167
- p_jobname: string;
20168
- p_schedule: string;
20169
- p_timeout_ms: number;
20170
- p_url: string;
21405
+ wo_overview: {
21406
+ Row: {
21407
+ assigned_user_id: string | null;
21408
+ budget_mandate_cents: number | null;
21409
+ created_at: string | null;
21410
+ customer_id: string | null;
21411
+ id: string | null;
21412
+ needs_detail_review: boolean | null;
21413
+ number: string | null;
21414
+ parent_werkbon_id: string | null;
21415
+ planning_status: string | null;
21416
+ scheduled_end_time: string | null;
21417
+ scheduled_start_time: string | null;
21418
+ source_type: string | null;
21419
+ status: string | null;
21420
+ technician_id: string | null;
21421
+ updated_at: string | null;
21422
+ work_address: string | null;
20171
21423
  };
20172
- Returns: number;
21424
+ Insert: {
21425
+ assigned_user_id?: string | null;
21426
+ budget_mandate_cents?: number | null;
21427
+ created_at?: string | null;
21428
+ customer_id?: string | null;
21429
+ id?: string | null;
21430
+ needs_detail_review?: boolean | null;
21431
+ number?: string | null;
21432
+ parent_werkbon_id?: string | null;
21433
+ planning_status?: string | null;
21434
+ scheduled_end_time?: string | null;
21435
+ scheduled_start_time?: string | null;
21436
+ source_type?: string | null;
21437
+ status?: string | null;
21438
+ technician_id?: string | null;
21439
+ updated_at?: string | null;
21440
+ work_address?: string | null;
21441
+ };
21442
+ Update: {
21443
+ assigned_user_id?: string | null;
21444
+ budget_mandate_cents?: number | null;
21445
+ created_at?: string | null;
21446
+ customer_id?: string | null;
21447
+ id?: string | null;
21448
+ needs_detail_review?: boolean | null;
21449
+ number?: string | null;
21450
+ parent_werkbon_id?: string | null;
21451
+ planning_status?: string | null;
21452
+ scheduled_end_time?: string | null;
21453
+ scheduled_start_time?: string | null;
21454
+ source_type?: string | null;
21455
+ status?: string | null;
21456
+ technician_id?: string | null;
21457
+ updated_at?: string | null;
21458
+ work_address?: string | null;
21459
+ };
21460
+ Relationships: [{
21461
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21462
+ columns: ["parent_werkbon_id"];
21463
+ isOneToOne: false;
21464
+ referencedRelation: "werkbonnen";
21465
+ referencedColumns: ["id"];
21466
+ }, {
21467
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21468
+ columns: ["parent_werkbon_id"];
21469
+ isOneToOne: false;
21470
+ referencedRelation: "wo_overview";
21471
+ referencedColumns: ["id"];
21472
+ }];
21473
+ };
21474
+ };
21475
+ Functions: {
21476
+ _floriday_schedule_job: {
21477
+ Args: {
21478
+ p_apikey: string;
21479
+ p_jobname: string;
21480
+ p_schedule: string;
21481
+ p_timeout_ms: number;
21482
+ p_url: string;
21483
+ };
21484
+ Returns: number;
20173
21485
  };
20174
21486
  _migrate_rewrite_stock_key: {
20175
21487
  Args: {
@@ -20348,12 +21660,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20348
21660
  _max?: number;
20349
21661
  };
20350
21662
  Returns: {
21663
+ aflever_pogingen: number;
20351
21664
  agent_id: string | null;
21665
+ artefact_bytes: number | null;
21666
+ artefact_gereed_op: string | null;
21667
+ artefact_pad: string | null;
21668
+ artefact_sha256: string | null;
21669
+ batch_id: string | null;
20352
21670
  bron_job_id: string | null;
20353
21671
  created_at: string;
20354
21672
  documentnaam: string;
20355
21673
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20356
21674
  extern_job_id: string | null;
21675
+ fase_gestart_op: string | null;
21676
+ fase_voltooid_op: string | null;
21677
+ foutcode: string | null;
20357
21678
  foutmelding: string | null;
20358
21679
  gebruiker_id: string | null;
20359
21680
  gebruiker_naam: string;
@@ -20367,7 +21688,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20367
21688
  kopieen: number;
20368
21689
  layout_id: string | null;
20369
21690
  lokaal_opgeslagen_op: string | null;
21691
+ lokale_pdf_claim_id: string | null;
21692
+ lokale_pdf_claim_tot: string | null;
20370
21693
  lokale_pdf_fout: string | null;
21694
+ lokale_pdf_print_plek_id: string | null;
20371
21695
  lokale_pdf_status: string | null;
20372
21696
  opgepakt_op: string | null;
20373
21697
  paginas: number;
@@ -20380,6 +21704,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20380
21704
  resultaat_pdf_base64: string | null;
20381
21705
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20382
21706
  updated_at: string;
21707
+ verwerkingsfase: string;
20383
21708
  volgende_poging: string | null;
20384
21709
  voltooid_op: string | null;
20385
21710
  }[];
@@ -20426,6 +21751,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20426
21751
  isSetofReturn: true;
20427
21752
  };
20428
21753
  };
21754
+ claim_local_pdf_jobs: {
21755
+ Args: {
21756
+ _max?: number;
21757
+ _print_plek_id: string;
21758
+ _writer_id: string;
21759
+ };
21760
+ Returns: {
21761
+ artefact_bytes: number;
21762
+ artefact_pad: string;
21763
+ artefact_sha256: string;
21764
+ documentnaam: string;
21765
+ id: string;
21766
+ lokale_pdf_print_plek_id: string;
21767
+ lokale_pdf_status: string;
21768
+ printer_id: string;
21769
+ resultaat_pdf_base64: string;
21770
+ status: string;
21771
+ }[];
21772
+ };
20429
21773
  claim_logistics_tasks: {
20430
21774
  Args: {
20431
21775
  _limit?: number;
@@ -20479,12 +21823,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20479
21823
  _max?: number;
20480
21824
  };
20481
21825
  Returns: {
21826
+ aflever_pogingen: number;
20482
21827
  agent_id: string | null;
21828
+ artefact_bytes: number | null;
21829
+ artefact_gereed_op: string | null;
21830
+ artefact_pad: string | null;
21831
+ artefact_sha256: string | null;
21832
+ batch_id: string | null;
20483
21833
  bron_job_id: string | null;
20484
21834
  created_at: string;
20485
21835
  documentnaam: string;
20486
21836
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20487
21837
  extern_job_id: string | null;
21838
+ fase_gestart_op: string | null;
21839
+ fase_voltooid_op: string | null;
21840
+ foutcode: string | null;
20488
21841
  foutmelding: string | null;
20489
21842
  gebruiker_id: string | null;
20490
21843
  gebruiker_naam: string;
@@ -20498,7 +21851,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20498
21851
  kopieen: number;
20499
21852
  layout_id: string | null;
20500
21853
  lokaal_opgeslagen_op: string | null;
21854
+ lokale_pdf_claim_id: string | null;
21855
+ lokale_pdf_claim_tot: string | null;
20501
21856
  lokale_pdf_fout: string | null;
21857
+ lokale_pdf_print_plek_id: string | null;
20502
21858
  lokale_pdf_status: string | null;
20503
21859
  opgepakt_op: string | null;
20504
21860
  paginas: number;
@@ -20511,6 +21867,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20511
21867
  resultaat_pdf_base64: string | null;
20512
21868
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20513
21869
  updated_at: string;
21870
+ verwerkingsfase: string;
20514
21871
  volgende_poging: string | null;
20515
21872
  voltooid_op: string | null;
20516
21873
  }[];
@@ -20527,12 +21884,21 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20527
21884
  _max?: number;
20528
21885
  };
20529
21886
  Returns: {
21887
+ aflever_pogingen: number;
20530
21888
  agent_id: string | null;
21889
+ artefact_bytes: number | null;
21890
+ artefact_gereed_op: string | null;
21891
+ artefact_pad: string | null;
21892
+ artefact_sha256: string | null;
21893
+ batch_id: string | null;
20531
21894
  bron_job_id: string | null;
20532
21895
  created_at: string;
20533
21896
  documentnaam: string;
20534
21897
  documenttype: import("../integrations/supabase/types").Database["public"]["Enums"]["doc_layout_type"];
20535
21898
  extern_job_id: string | null;
21899
+ fase_gestart_op: string | null;
21900
+ fase_voltooid_op: string | null;
21901
+ foutcode: string | null;
20536
21902
  foutmelding: string | null;
20537
21903
  gebruiker_id: string | null;
20538
21904
  gebruiker_naam: string;
@@ -20546,7 +21912,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20546
21912
  kopieen: number;
20547
21913
  layout_id: string | null;
20548
21914
  lokaal_opgeslagen_op: string | null;
21915
+ lokale_pdf_claim_id: string | null;
21916
+ lokale_pdf_claim_tot: string | null;
20549
21917
  lokale_pdf_fout: string | null;
21918
+ lokale_pdf_print_plek_id: string | null;
20550
21919
  lokale_pdf_status: string | null;
20551
21920
  opgepakt_op: string | null;
20552
21921
  paginas: number;
@@ -20559,6 +21928,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20559
21928
  resultaat_pdf_base64: string | null;
20560
21929
  status: import("../integrations/supabase/types").Database["public"]["Enums"]["print_job_status"];
20561
21930
  updated_at: string;
21931
+ verwerkingsfase: string;
20562
21932
  volgende_poging: string | null;
20563
21933
  voltooid_op: string | null;
20564
21934
  }[];
@@ -20569,6 +21939,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20569
21939
  isSetofReturn: true;
20570
21940
  };
20571
21941
  };
21942
+ claim_print_queue_lease: {
21943
+ Args: {
21944
+ _houder: string;
21945
+ _naam: string;
21946
+ _seconden?: number;
21947
+ };
21948
+ Returns: boolean;
21949
+ };
20572
21950
  claim_twinfield_push_batch: {
20573
21951
  Args: {
20574
21952
  _customer_id?: string;
@@ -20694,7 +22072,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20694
22072
  cart_index: number;
20695
22073
  cart_number: string;
20696
22074
  cart_number_id: string;
22075
+ cart_seq: number;
22076
+ cart_total: number;
20697
22077
  order_id: string;
22078
+ order_number: string;
20698
22079
  order_source: string;
20699
22080
  pick_date: string;
20700
22081
  printed_at: string;
@@ -20702,6 +22083,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20702
22083
  status: string;
20703
22084
  }[];
20704
22085
  };
22086
+ control_mark_carts_delivered: {
22087
+ Args: {
22088
+ p_carts: import("../integrations/supabase/types").Json;
22089
+ };
22090
+ Returns: number;
22091
+ };
20705
22092
  count_distinct_regulatory_products: {
20706
22093
  Args: never;
20707
22094
  Returns: number;
@@ -20829,6 +22216,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20829
22216
  };
20830
22217
  Returns: undefined;
20831
22218
  };
22219
+ ensure_system_roles: {
22220
+ Args: never;
22221
+ Returns: {
22222
+ action: string;
22223
+ role_key: string;
22224
+ }[];
22225
+ };
20832
22226
  ensure_trade_item_stock_row: {
20833
22227
  Args: {
20834
22228
  p_key: string;
@@ -20895,6 +22289,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20895
22289
  };
20896
22290
  Returns: string;
20897
22291
  };
22292
+ finish_local_pdf_job: {
22293
+ Args: {
22294
+ _fout?: string;
22295
+ _job_id: string;
22296
+ _status: string;
22297
+ _writer_id: string;
22298
+ };
22299
+ Returns: boolean;
22300
+ };
22301
+ floriday_adopt_connection: {
22302
+ Args: {
22303
+ p_new: string;
22304
+ p_old: string;
22305
+ };
22306
+ Returns: import("../integrations/supabase/types").Json;
22307
+ };
22308
+ floriday_autoheal_connections: {
22309
+ Args: never;
22310
+ Returns: import("../integrations/supabase/types").Json;
22311
+ };
20898
22312
  floriday_capture_stock_snapshot: {
20899
22313
  Args: never;
20900
22314
  Returns: number;
@@ -20952,6 +22366,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
20952
22366
  };
20953
22367
  Returns: undefined;
20954
22368
  };
22369
+ floriday_relink_products: {
22370
+ Args: {
22371
+ p_connection_id?: string;
22372
+ };
22373
+ Returns: import("../integrations/supabase/types").Json;
22374
+ };
20955
22375
  floriday_requeue_dead_letters: {
20956
22376
  Args: {
20957
22377
  p_connection_id?: string;
@@ -21174,6 +22594,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21174
22594
  Args: never;
21175
22595
  Returns: string;
21176
22596
  };
22597
+ handover_archief_lijst: {
22598
+ Args: never;
22599
+ Returns: import("../integrations/supabase/types").Json;
22600
+ };
22601
+ handover_archiveren: {
22602
+ Args: {
22603
+ _archief?: boolean;
22604
+ _module_id: string;
22605
+ };
22606
+ Returns: boolean;
22607
+ };
22608
+ handover_check_afronden: {
22609
+ Args: {
22610
+ _module_id: string;
22611
+ };
22612
+ Returns: boolean;
22613
+ };
22614
+ handover_check_markeren: {
22615
+ Args: {
22616
+ _module_ids: string[];
22617
+ _reden?: string;
22618
+ };
22619
+ Returns: number;
22620
+ };
22621
+ handover_fingerprint_maken: {
22622
+ Args: {
22623
+ _module_id?: string;
22624
+ };
22625
+ Returns: import("../integrations/supabase/types").Json;
22626
+ };
21177
22627
  handover_get: {
21178
22628
  Args: {
21179
22629
  _module_id: string;
@@ -21204,6 +22654,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21204
22654
  };
21205
22655
  Returns: boolean;
21206
22656
  };
22657
+ handover_module_meta_zetten: {
22658
+ Args: {
22659
+ _module_id: string;
22660
+ _project_url?: string;
22661
+ _publicatie_url?: string;
22662
+ };
22663
+ Returns: boolean;
22664
+ };
21207
22665
  handover_norm_naam: {
21208
22666
  Args: {
21209
22667
  _naam: string;
@@ -21224,6 +22682,23 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21224
22682
  };
21225
22683
  Returns: number;
21226
22684
  };
22685
+ handover_publish_uit_github: {
22686
+ Args: {
22687
+ _bezit_tabellen?: string[];
22688
+ _bron_soort?: string;
22689
+ _commit?: string;
22690
+ _contractfuncties?: string[];
22691
+ _inhoud_md: string;
22692
+ _module_id: string;
22693
+ _module_titel: string;
22694
+ _ontbrekende_contracten?: string[];
22695
+ _pad?: string;
22696
+ _repo?: string;
22697
+ _samenvatting?: string;
22698
+ _versie_label?: string;
22699
+ };
22700
+ Returns: import("../integrations/supabase/types").Json;
22701
+ };
21227
22702
  handover_publish_via_token: {
21228
22703
  Args: {
21229
22704
  _bevindingen?: string;
@@ -21237,7 +22712,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21237
22712
  _samenvatting?: string;
21238
22713
  _token_hash: string;
21239
22714
  };
21240
- Returns: number;
22715
+ Returns: import("../integrations/supabase/types").Json;
21241
22716
  };
21242
22717
  handover_status: {
21243
22718
  Args: never;
@@ -21249,23 +22724,6 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21249
22724
  };
21250
22725
  Returns: string;
21251
22726
  };
21252
- handover_token_intrekken: {
21253
- Args: {
21254
- _id: string;
21255
- };
21256
- Returns: boolean;
21257
- };
21258
- handover_token_lijst: {
21259
- Args: never;
21260
- Returns: import("../integrations/supabase/types").Json;
21261
- };
21262
- handover_token_maken: {
21263
- Args: {
21264
- _label?: string;
21265
- _module_id: string;
21266
- };
21267
- Returns: string;
21268
- };
21269
22727
  handover_update: {
21270
22728
  Args: {
21271
22729
  _bezit_tabellen?: string[];
@@ -21293,12 +22751,31 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21293
22751
  };
21294
22752
  Returns: boolean;
21295
22753
  };
22754
+ handover_versie_verwijderen: {
22755
+ Args: {
22756
+ _module_id: string;
22757
+ _versie: number;
22758
+ };
22759
+ Returns: boolean;
22760
+ };
21296
22761
  handover_versies: {
21297
22762
  Args: {
21298
22763
  _module_id: string;
21299
22764
  };
21300
22765
  Returns: import("../integrations/supabase/types").Json;
21301
22766
  };
22767
+ handover_verwijderen: {
22768
+ Args: {
22769
+ _module_id: string;
22770
+ };
22771
+ Returns: boolean;
22772
+ };
22773
+ handover_wijzigingen: {
22774
+ Args: {
22775
+ _module_id?: string;
22776
+ };
22777
+ Returns: import("../integrations/supabase/types").Json;
22778
+ };
21302
22779
  has_module_permission: {
21303
22780
  Args: {
21304
22781
  _min: string;
@@ -21516,6 +22993,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21516
22993
  };
21517
22994
  Returns: string;
21518
22995
  };
22996
+ logistics_active_layout_method: {
22997
+ Args: never;
22998
+ Returns: string;
22999
+ };
21519
23000
  logistics_active_pick_workdays: {
21520
23001
  Args: never;
21521
23002
  Returns: string[];
@@ -21561,6 +23042,36 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21561
23042
  };
21562
23043
  Returns: boolean;
21563
23044
  };
23045
+ logistics_barcode_lookup: {
23046
+ Args: {
23047
+ p_barcode: string;
23048
+ };
23049
+ Returns: import("../integrations/supabase/types").Json;
23050
+ };
23051
+ logistics_block_reason_code: {
23052
+ Args: {
23053
+ p_details?: import("../integrations/supabase/types").Json;
23054
+ p_reason: string;
23055
+ };
23056
+ Returns: string;
23057
+ };
23058
+ logistics_blocked_orders: {
23059
+ Args: never;
23060
+ Returns: {
23061
+ attempts: number;
23062
+ blocked_since: string;
23063
+ delivery_date: string;
23064
+ order_id: string;
23065
+ order_ref: string;
23066
+ queue_id: string;
23067
+ reason: string;
23068
+ reason_code: string;
23069
+ }[];
23070
+ };
23071
+ logistics_blocked_overview: {
23072
+ Args: never;
23073
+ Returns: import("../integrations/supabase/types").Json;
23074
+ };
21564
23075
  logistics_buffer_criteria: {
21565
23076
  Args: {
21566
23077
  p_settings: import("../integrations/supabase/types").Json;
@@ -21575,6 +23086,39 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21575
23086
  };
21576
23087
  Returns: import("../integrations/supabase/types").Json;
21577
23088
  };
23089
+ logistics_buffer_detach_late_orders: {
23090
+ Args: {
23091
+ p_buffer?: string;
23092
+ };
23093
+ Returns: import("../integrations/supabase/types").Json;
23094
+ };
23095
+ logistics_buffer_frozen_order: {
23096
+ Args: {
23097
+ p_order_id: string;
23098
+ };
23099
+ Returns: boolean;
23100
+ };
23101
+ logistics_buffer_handled: {
23102
+ Args: {
23103
+ p_buffer: string;
23104
+ };
23105
+ Returns: boolean;
23106
+ };
23107
+ logistics_buffer_notify: {
23108
+ Args: {
23109
+ p_event_type: string;
23110
+ p_idempotency_key: string;
23111
+ p_order_ref: string;
23112
+ p_payload: import("../integrations/supabase/types").Json;
23113
+ };
23114
+ Returns: string;
23115
+ };
23116
+ logistics_buffer_open_key: {
23117
+ Args: {
23118
+ p_base_key: string;
23119
+ };
23120
+ Returns: string;
23121
+ };
21578
23122
  logistics_buffer_simulate: {
21579
23123
  Args: {
21580
23124
  p_orders?: import("../integrations/supabase/types").Json;
@@ -21621,6 +23165,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21621
23165
  };
21622
23166
  Returns: number;
21623
23167
  };
23168
+ logistics_cart_barcode_value: {
23169
+ Args: {
23170
+ _cart_id: string;
23171
+ };
23172
+ Returns: string;
23173
+ };
23174
+ logistics_cart_handled: {
23175
+ Args: {
23176
+ p_cart_index: number;
23177
+ p_order_id: string;
23178
+ };
23179
+ Returns: boolean;
23180
+ };
21624
23181
  logistics_cart_index: {
21625
23182
  Args: {
21626
23183
  p_from?: string;
@@ -21630,6 +23187,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21630
23187
  cart_id: string;
21631
23188
  cart_index: number;
21632
23189
  cart_label: string;
23190
+ cart_number: string;
23191
+ cart_seq: number;
23192
+ cart_total: number;
23193
+ delivery_date: string;
23194
+ is_announced: boolean;
23195
+ is_controlled: boolean;
23196
+ is_printed: boolean;
21633
23197
  is_shared: boolean;
21634
23198
  order_number: string;
21635
23199
  order_source: string;
@@ -21640,33 +23204,106 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21640
23204
  task_status: string;
21641
23205
  }[];
21642
23206
  };
21643
- logistics_check_order_allowed: {
23207
+ logistics_cart_layout_method: {
23208
+ Args: never;
23209
+ Returns: import("../integrations/supabase/types").Json;
23210
+ };
23211
+ logistics_cart_plan_overview: {
21644
23212
  Args: {
21645
- p_lines: import("../integrations/supabase/types").Json;
21646
- p_strategy_id?: string;
23213
+ p_days?: number;
21647
23214
  };
21648
- Returns: import("../integrations/supabase/types").Json;
23215
+ Returns: {
23216
+ cart_total: number;
23217
+ delivery_date: string;
23218
+ order_ref: string;
23219
+ plan_ready: boolean;
23220
+ reason: string;
23221
+ released: boolean;
23222
+ }[];
21649
23223
  };
21650
- logistics_check_order_stock: {
23224
+ logistics_cart_plan_status: {
21651
23225
  Args: {
21652
- p_event_id: string;
23226
+ p_ref: string;
21653
23227
  };
21654
- Returns: string;
23228
+ Returns: import("../integrations/supabase/types").Json;
21655
23229
  };
21656
- logistics_claim_next_task: {
23230
+ logistics_cart_seq: {
21657
23231
  Args: {
21658
- p_owner_module: string;
21659
- p_worker?: string;
23232
+ p_order_uuid?: string;
21660
23233
  };
21661
23234
  Returns: {
21662
- attempt_log: import("../integrations/supabase/types").Json;
21663
- attempts: number;
21664
- buffer_ref: string | null;
21665
- claimed_at: string | null;
21666
- claimed_by: string | null;
21667
- completed_at: string | null;
21668
- created_at: string;
21669
- depends_on: string[];
23235
+ cart_id: string;
23236
+ cart_index: number;
23237
+ cart_number: string;
23238
+ cart_seq: number;
23239
+ cart_total: number;
23240
+ order_uuid: string;
23241
+ }[];
23242
+ };
23243
+ logistics_cart_slip_plan: {
23244
+ Args: {
23245
+ p_order_id: string;
23246
+ };
23247
+ Returns: import("../integrations/supabase/types").Json;
23248
+ };
23249
+ logistics_cart_units: {
23250
+ Args: {
23251
+ p_from?: string;
23252
+ p_to?: string;
23253
+ };
23254
+ Returns: {
23255
+ cart_id: string;
23256
+ cart_index: number;
23257
+ cart_label: string;
23258
+ cart_number: string;
23259
+ cart_seq: number;
23260
+ cart_total: number;
23261
+ delivery_date: string;
23262
+ is_announced: boolean;
23263
+ is_buffer: boolean;
23264
+ is_controlled: boolean;
23265
+ is_printed: boolean;
23266
+ is_shared: boolean;
23267
+ order_number: string;
23268
+ order_source: string;
23269
+ order_uuid: string;
23270
+ pick_date: string;
23271
+ printed_at: string;
23272
+ shifted: boolean;
23273
+ task_status: string;
23274
+ unit_buffer: string;
23275
+ unit_order_count: number;
23276
+ unit_orders: string[];
23277
+ unit_ref: string;
23278
+ }[];
23279
+ };
23280
+ logistics_check_order_allowed: {
23281
+ Args: {
23282
+ p_lines: import("../integrations/supabase/types").Json;
23283
+ p_strategy_id?: string;
23284
+ };
23285
+ Returns: import("../integrations/supabase/types").Json;
23286
+ };
23287
+ logistics_check_order_stock: {
23288
+ Args: {
23289
+ p_event_id: string;
23290
+ };
23291
+ Returns: string;
23292
+ };
23293
+ logistics_claim_next_task: {
23294
+ Args: {
23295
+ p_owner_module: string;
23296
+ p_worker?: string;
23297
+ };
23298
+ Returns: {
23299
+ attempt_log: import("../integrations/supabase/types").Json;
23300
+ attempts: number;
23301
+ buffer_ref: string | null;
23302
+ claimed_at: string | null;
23303
+ claimed_by: string | null;
23304
+ completed_at: string | null;
23305
+ created_at: string;
23306
+ depends_on: string[];
21670
23307
  due_at: string | null;
21671
23308
  error: string | null;
21672
23309
  id: string;
@@ -21792,12 +23429,97 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21792
23429
  Args: never;
21793
23430
  Returns: {
21794
23431
  agenda_carts: number;
23432
+ announced_carts: number;
21795
23433
  control_carts: number;
23434
+ delivery_carts: number;
23435
+ duplicate_carts: number;
21796
23436
  ok: boolean;
23437
+ orphan_carts: number;
21797
23438
  orphan_tasks: number;
21798
23439
  pick_date: string;
21799
23440
  raw_carts: number;
23441
+ sales_carts: number;
23442
+ station_carts: number;
23443
+ }[];
23444
+ };
23445
+ logistics_control_scan_approve: {
23446
+ Args: {
23447
+ p_allow_reprint?: boolean;
23448
+ p_barcode: string;
23449
+ p_printer_id?: string;
23450
+ p_scanner_id?: string;
23451
+ };
23452
+ Returns: import("../integrations/supabase/types").Json;
23453
+ };
23454
+ logistics_control_scan_claim: {
23455
+ Args: {
23456
+ _lease_seconds?: number;
23457
+ _limit?: number;
23458
+ };
23459
+ Returns: {
23460
+ approved_at: string | null;
23461
+ attempts: number;
23462
+ barcode: string;
23463
+ cart_id: string;
23464
+ created_at: string;
23465
+ document_url: string | null;
23466
+ error: string | null;
23467
+ error_code: string | null;
23468
+ fulfillment_order_id: string | null;
23469
+ id: string;
23470
+ is_floriday: boolean;
23471
+ locked_until: string | null;
23472
+ order_id: string | null;
23473
+ order_number: string | null;
23474
+ print_job_id: string | null;
23475
+ printed_at: string | null;
23476
+ printer_id: string | null;
23477
+ scanner_id: string | null;
23478
+ status: string;
23479
+ updated_at: string;
21800
23480
  }[];
23481
+ SetofOptions: {
23482
+ from: "*";
23483
+ to: "logistics_control_scan";
23484
+ isOneToOne: false;
23485
+ isSetofReturn: true;
23486
+ };
23487
+ };
23488
+ logistics_control_scan_finish: {
23489
+ Args: {
23490
+ _document_url?: string;
23491
+ _error?: string;
23492
+ _error_code?: string;
23493
+ _fulfillment_order_id?: string;
23494
+ _id: string;
23495
+ _ok: boolean;
23496
+ _print_job_id?: string;
23497
+ _status?: string;
23498
+ };
23499
+ Returns: import("../integrations/supabase/types").Json;
23500
+ };
23501
+ logistics_control_scan_lookup: {
23502
+ Args: {
23503
+ p_barcode: string;
23504
+ };
23505
+ Returns: import("../integrations/supabase/types").Json;
23506
+ };
23507
+ logistics_control_scan_overview: {
23508
+ Args: {
23509
+ _date?: string;
23510
+ _scanner_id?: string;
23511
+ };
23512
+ Returns: import("../integrations/supabase/types").Json;
23513
+ };
23514
+ logistics_control_scan_retry: {
23515
+ Args: {
23516
+ _id: string;
23517
+ };
23518
+ Returns: import("../integrations/supabase/types").Json;
23519
+ };
23520
+ logistics_control_settings: {
23521
+ Args: never;
23522
+ Returns: import("../integrations/supabase/types").Json;
21801
23523
  };
21802
23524
  logistics_delay_customer_email: {
21803
23525
  Args: {
@@ -21812,12 +23534,35 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21812
23534
  subject: string;
21813
23535
  }[];
21814
23536
  };
23537
+ logistics_delivery_agenda: {
23538
+ Args: {
23539
+ p_from?: string;
23540
+ p_to?: string;
23541
+ };
23542
+ Returns: {
23543
+ announced_count: number;
23544
+ cart_count: number;
23545
+ controlled_count: number;
23546
+ delivery_date: string;
23547
+ order_count: number;
23548
+ orders: import("../integrations/supabase/types").Json;
23549
+ plant_count: number;
23550
+ printed_count: number;
23551
+ }[];
23552
+ };
21815
23553
  logistics_document_layout: {
21816
23554
  Args: {
21817
23555
  _document_code: string;
21818
23556
  };
21819
23557
  Returns: import("../integrations/supabase/types").Json;
21820
23558
  };
23559
+ logistics_document_layout_v2: {
23560
+ Args: {
23561
+ _document_code: string;
23562
+ _is_partial?: boolean;
23563
+ };
23564
+ Returns: import("../integrations/supabase/types").Json;
23565
+ };
21821
23566
  logistics_document_station: {
21822
23567
  Args: {
21823
23568
  _document_code: string;
@@ -21843,6 +23588,23 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21843
23588
  };
21844
23589
  Returns: import("../integrations/supabase/types").Json;
21845
23590
  };
23591
+ logistics_enqueue_sticker_with_slip: {
23592
+ Args: {
23593
+ _cart_id: string;
23594
+ _is_herprint: boolean;
23595
+ _printer_id: string;
23596
+ _queue_item_id: string;
23597
+ _session_id: string;
23598
+ _slip_job_id: string;
23599
+ };
23600
+ Returns: string;
23601
+ };
23602
+ logistics_ensure_cart_barcode: {
23603
+ Args: {
23604
+ _cart_id: string;
23605
+ };
23606
+ Returns: string;
23607
+ };
21846
23608
  logistics_fail_task: {
21847
23609
  Args: {
21848
23610
  p_error: string;
@@ -21964,6 +23726,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21964
23726
  };
21965
23727
  Returns: string;
21966
23728
  };
23729
+ logistics_floriday_order_approved: {
23730
+ Args: {
23731
+ _order_ref: string;
23732
+ };
23733
+ Returns: boolean;
23734
+ };
21967
23735
  logistics_floriday_prune_pushes: {
21968
23736
  Args: {
21969
23737
  _days?: number;
@@ -21978,6 +23746,40 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21978
23746
  };
21979
23747
  Returns: string;
21980
23748
  };
23749
+ logistics_floriday_status_updates_enabled: {
23750
+ Args: never;
23751
+ Returns: boolean;
23752
+ };
23753
+ logistics_fulfill_barcode_requests: {
23754
+ Args: {
23755
+ p_limit?: number;
23756
+ };
23757
+ Returns: import("../integrations/supabase/types").Json;
23758
+ };
23759
+ logistics_full_cart_min_layers: {
23760
+ Args: never;
23761
+ Returns: number;
23762
+ };
23763
+ logistics_full_cart_min_percentage: {
23764
+ Args: never;
23765
+ Returns: number;
23766
+ };
23767
+ logistics_is_pick_workday: {
23768
+ Args: {
23769
+ p_date: string;
23770
+ };
23771
+ Returns: boolean;
23772
+ };
23773
+ logistics_layout_method_status: {
23774
+ Args: never;
23775
+ Returns: import("../integrations/supabase/types").Json;
23776
+ };
23777
+ logistics_link_order_items: {
23778
+ Args: {
23779
+ p_order?: string;
23780
+ };
23781
+ Returns: import("../integrations/supabase/types").Json;
23782
+ };
21981
23783
  logistics_live_carriers: {
21982
23784
  Args: {
21983
23785
  p_order_ref: string;
@@ -21990,6 +23792,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
21990
23792
  };
21991
23793
  Returns: number;
21992
23794
  };
23795
+ logistics_next_workday_date: {
23796
+ Args: {
23797
+ p_date: string;
23798
+ p_days?: string[];
23799
+ };
23800
+ Returns: string;
23801
+ };
23802
+ logistics_next_workday_not_past: {
23803
+ Args: {
23804
+ p_days: string[];
23805
+ p_ts: string;
23806
+ };
23807
+ Returns: string;
23808
+ };
23809
+ logistics_normalize_product_label: {
23810
+ Args: {
23811
+ p_label: string;
23812
+ };
23813
+ Returns: string;
23814
+ };
21993
23815
  logistics_not_past: {
21994
23816
  Args: {
21995
23817
  p_ts: string;
@@ -22002,6 +23824,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22002
23824
  };
22003
23825
  Returns: number;
22004
23826
  };
23827
+ logistics_order_handled: {
23828
+ Args: {
23829
+ p_order_uuid: string;
23830
+ };
23831
+ Returns: boolean;
23832
+ };
23833
+ logistics_order_is_topick: {
23834
+ Args: {
23835
+ p_order_id: string;
23836
+ p_order_number: string;
23837
+ };
23838
+ Returns: boolean;
23839
+ };
22005
23840
  logistics_order_overview: {
22006
23841
  Args: {
22007
23842
  p_from?: string;
@@ -22027,6 +23862,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22027
23862
  };
22028
23863
  Returns: string;
22029
23864
  };
23865
+ logistics_order_released: {
23866
+ Args: {
23867
+ p_order_ref: string;
23868
+ };
23869
+ Returns: boolean;
23870
+ };
22030
23871
  logistics_parse_pickup: {
22031
23872
  Args: {
22032
23873
  p_value: string;
@@ -22049,10 +23890,37 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22049
23890
  shifted_count: number;
22050
23891
  }[];
22051
23892
  };
23893
+ logistics_pick_barcode_enabled: {
23894
+ Args: never;
23895
+ Returns: boolean;
23896
+ };
22052
23897
  logistics_pick_email_purpose: {
22053
23898
  Args: never;
22054
23899
  Returns: string;
22055
23900
  };
23901
+ logistics_pick_mode: {
23902
+ Args: never;
23903
+ Returns: import("../integrations/supabase/types").Json;
23904
+ };
23905
+ logistics_pick_start_estimate: {
23906
+ Args: {
23907
+ p_order: import("../integrations/supabase/types").Json;
23908
+ s: import("../integrations/supabase/types").Json;
23909
+ };
23910
+ Returns: string;
23911
+ };
23912
+ logistics_pick_units: {
23913
+ Args: never;
23914
+ Returns: {
23915
+ is_buffer: boolean;
23916
+ order_number: string;
23917
+ order_uuid: string;
23918
+ unit_buffer: string;
23919
+ unit_order_count: number;
23920
+ unit_orders: string[];
23921
+ unit_ref: string;
23922
+ }[];
23923
+ };
22056
23924
  logistics_plan_all: {
22057
23925
  Args: {
22058
23926
  p_user_id?: string;
@@ -22132,6 +24000,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22132
24000
  Args: never;
22133
24001
  Returns: number;
22134
24002
  };
24003
+ logistics_plan_retry: {
24004
+ Args: {
24005
+ p_order_ids: string[];
24006
+ };
24007
+ Returns: number;
24008
+ };
22135
24009
  logistics_plan_setting: {
22136
24010
  Args: {
22137
24011
  p_default: number;
@@ -22139,6 +24013,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22139
24013
  };
22140
24014
  Returns: number;
22141
24015
  };
24016
+ logistics_prune_buffer_member_queue: {
24017
+ Args: never;
24018
+ Returns: number;
24019
+ };
24020
+ logistics_prune_handled_pick_queue: {
24021
+ Args: never;
24022
+ Returns: number;
24023
+ };
22142
24024
  logistics_queue_capacity_email: {
22143
24025
  Args: {
22144
24026
  p_alert_id: string;
@@ -22171,6 +24053,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22171
24053
  Args: never;
22172
24054
  Returns: import("../integrations/supabase/types").Json;
22173
24055
  };
24056
+ logistics_refresh_pickup_moments: {
24057
+ Args: {
24058
+ p_weeks?: number;
24059
+ };
24060
+ Returns: import("../integrations/supabase/types").Json;
24061
+ };
24062
+ logistics_replan_all: {
24063
+ Args: {
24064
+ p_reason?: string;
24065
+ };
24066
+ Returns: import("../integrations/supabase/types").Json;
24067
+ };
22174
24068
  logistics_report_delay: {
22175
24069
  Args: {
22176
24070
  p_expected_date?: string;
@@ -22224,6 +24118,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22224
24118
  };
22225
24119
  Returns: import("../integrations/supabase/types").Json;
22226
24120
  };
24121
+ logistics_resolve_product_id: {
24122
+ Args: {
24123
+ p_label: string;
24124
+ };
24125
+ Returns: string;
24126
+ };
22227
24127
  logistics_resolve_settings: {
22228
24128
  Args: {
22229
24129
  p_config_id: string;
@@ -22277,6 +24177,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22277
24177
  };
22278
24178
  Returns: string;
22279
24179
  };
24180
+ logistics_scan_resolve: {
24181
+ Args: {
24182
+ p_code: string;
24183
+ };
24184
+ Returns: import("../integrations/supabase/types").Json;
24185
+ };
22280
24186
  logistics_schedule_tasks: {
22281
24187
  Args: never;
22282
24188
  Returns: number;
@@ -22303,7 +24209,19 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22303
24209
  };
22304
24210
  Returns: string;
22305
24211
  };
22306
- logistics_supersede_stale_tasks: {
24212
+ logistics_shipping_note_from_barcode: {
24213
+ Args: {
24214
+ p_allow_reprint?: boolean;
24215
+ p_barcode: string;
24216
+ p_station_id?: string;
24217
+ };
24218
+ Returns: import("../integrations/supabase/types").Json;
24219
+ };
24220
+ logistics_sticker_follows_slip: {
24221
+ Args: never;
24222
+ Returns: boolean;
24223
+ };
24224
+ logistics_supersede_stale_tasks: {
22307
24225
  Args: {
22308
24226
  p_keep: string[];
22309
24227
  p_order_ref: string;
@@ -22335,6 +24253,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22335
24253
  };
22336
24254
  Returns: number;
22337
24255
  };
24256
+ logistics_tick_ping: {
24257
+ Args: never;
24258
+ Returns: string;
24259
+ };
22338
24260
  logistics_upsert_task: {
22339
24261
  Args: {
22340
24262
  p_buffer_ref: string;
@@ -22354,6 +24276,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22354
24276
  };
22355
24277
  Returns: string;
22356
24278
  };
24279
+ logistics_write_buffer_layer_positions: {
24280
+ Args: {
24281
+ p_buffer_id: string;
24282
+ };
24283
+ Returns: number;
24284
+ };
24285
+ logistics_write_cart_layer_positions: {
24286
+ Args: {
24287
+ p_cart_id: string;
24288
+ };
24289
+ Returns: number;
24290
+ };
22357
24291
  mark_offer_clicked: {
22358
24292
  Args: {
22359
24293
  p_code: string;
@@ -22386,6 +24320,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22386
24320
  };
22387
24321
  Returns: undefined;
22388
24322
  };
24323
+ move_cart_layer_position: {
24324
+ Args: {
24325
+ p_id: string;
24326
+ p_layer: number;
24327
+ p_x: number;
24328
+ p_y: number;
24329
+ };
24330
+ Returns: undefined;
24331
+ };
22389
24332
  my_module_permissions: {
22390
24333
  Args: never;
22391
24334
  Returns: {
@@ -22457,6 +24400,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22457
24400
  };
22458
24401
  Returns: import("../integrations/supabase/types").Json;
22459
24402
  };
24403
+ order_heeft_bevestigde_karren: {
24404
+ Args: {
24405
+ p_order_id: string;
24406
+ };
24407
+ Returns: boolean;
24408
+ };
22460
24409
  order_number_prefix: {
22461
24410
  Args: {
22462
24411
  p_custom_fields?: import("../integrations/supabase/types").Json;
@@ -22492,13 +24441,418 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22492
24441
  online: boolean;
22493
24442
  }[];
22494
24443
  };
22495
- pick_claim_document: {
24444
+ pick_apply_buffer_events: {
24445
+ Args: never;
24446
+ Returns: import("../integrations/supabase/types").Json;
24447
+ };
24448
+ pick_available_pick_days: {
24449
+ Args: {
24450
+ _max_days?: number;
24451
+ };
24452
+ Returns: {
24453
+ orders: number;
24454
+ pick_day: string;
24455
+ }[];
24456
+ };
24457
+ pick_buffer_order_ids: {
24458
+ Args: {
24459
+ _order_id: string;
24460
+ };
24461
+ Returns: string[];
24462
+ };
24463
+ pick_cart_breakdown: {
24464
+ Args: {
24465
+ _order_id: string;
24466
+ };
24467
+ Returns: import("../integrations/supabase/types").Json;
24468
+ };
24469
+ pick_claim_document: {
24470
+ Args: {
24471
+ _queue_item_id: string;
24472
+ _screen_id: string;
24473
+ _session_id: string;
24474
+ _station_id: string;
24475
+ _timeout_seconds?: number;
24476
+ };
24477
+ Returns: {
24478
+ announced_at: string;
24479
+ assigned_user_id: string | null;
24480
+ barcode: string | null;
24481
+ cancelled_at: string | null;
24482
+ cart_count: number;
24483
+ completed_at: string | null;
24484
+ country_code: string | null;
24485
+ created_at: string;
24486
+ customer_name: string | null;
24487
+ delivery_address: string | null;
24488
+ document_number: string | null;
24489
+ document_type_id: string | null;
24490
+ due_at: string | null;
24491
+ id: string;
24492
+ is_urgent: boolean;
24493
+ line_count: number;
24494
+ order_number: string | null;
24495
+ order_type: string | null;
24496
+ payload: import("../integrations/supabase/types").Json;
24497
+ print_count: number;
24498
+ print_job_id: string | null;
24499
+ printed_at: string | null;
24500
+ printed_by: string | null;
24501
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24502
+ printer_id: string | null;
24503
+ priority: number;
24504
+ reference: string | null;
24505
+ route: string | null;
24506
+ screen_id: string | null;
24507
+ station_id: string | null;
24508
+ status_id: string | null;
24509
+ updated_at: string;
24510
+ warnings: import("../integrations/supabase/types").Json;
24511
+ };
24512
+ SetofOptions: {
24513
+ from: "*";
24514
+ to: "pick_queue";
24515
+ isOneToOne: true;
24516
+ isSetofReturn: false;
24517
+ };
24518
+ };
24519
+ pick_claim_next_document: {
24520
+ Args: {
24521
+ _country_code: string;
24522
+ _pick_day?: string;
24523
+ _screen_id: string;
24524
+ _session_id: string;
24525
+ _station_id: string;
24526
+ _timeout_seconds?: number;
24527
+ };
24528
+ Returns: {
24529
+ announced_at: string;
24530
+ assigned_user_id: string | null;
24531
+ barcode: string | null;
24532
+ cancelled_at: string | null;
24533
+ cart_count: number;
24534
+ completed_at: string | null;
24535
+ country_code: string | null;
24536
+ created_at: string;
24537
+ customer_name: string | null;
24538
+ delivery_address: string | null;
24539
+ document_number: string | null;
24540
+ document_type_id: string | null;
24541
+ due_at: string | null;
24542
+ id: string;
24543
+ is_urgent: boolean;
24544
+ line_count: number;
24545
+ order_number: string | null;
24546
+ order_type: string | null;
24547
+ payload: import("../integrations/supabase/types").Json;
24548
+ print_count: number;
24549
+ print_job_id: string | null;
24550
+ printed_at: string | null;
24551
+ printed_by: string | null;
24552
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24553
+ printer_id: string | null;
24554
+ priority: number;
24555
+ reference: string | null;
24556
+ route: string | null;
24557
+ screen_id: string | null;
24558
+ station_id: string | null;
24559
+ status_id: string | null;
24560
+ updated_at: string;
24561
+ warnings: import("../integrations/supabase/types").Json;
24562
+ };
24563
+ SetofOptions: {
24564
+ from: "*";
24565
+ to: "pick_queue";
24566
+ isOneToOne: true;
24567
+ isSetofReturn: false;
24568
+ };
24569
+ };
24570
+ pick_cleanup_maintenance: {
24571
+ Args: {
24572
+ _heartbeat_hours?: number;
24573
+ _log_days?: number;
24574
+ };
24575
+ Returns: import("../integrations/supabase/types").Json;
24576
+ };
24577
+ pick_complete_print: {
24578
+ Args: {
24579
+ _printer_id: string;
24580
+ _queue_item_id: string;
24581
+ _session_id: string;
24582
+ };
24583
+ Returns: {
24584
+ announced_at: string;
24585
+ assigned_user_id: string | null;
24586
+ barcode: string | null;
24587
+ cancelled_at: string | null;
24588
+ cart_count: number;
24589
+ completed_at: string | null;
24590
+ country_code: string | null;
24591
+ created_at: string;
24592
+ customer_name: string | null;
24593
+ delivery_address: string | null;
24594
+ document_number: string | null;
24595
+ document_type_id: string | null;
24596
+ due_at: string | null;
24597
+ id: string;
24598
+ is_urgent: boolean;
24599
+ line_count: number;
24600
+ order_number: string | null;
24601
+ order_type: string | null;
24602
+ payload: import("../integrations/supabase/types").Json;
24603
+ print_count: number;
24604
+ print_job_id: string | null;
24605
+ printed_at: string | null;
24606
+ printed_by: string | null;
24607
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24608
+ printer_id: string | null;
24609
+ priority: number;
24610
+ reference: string | null;
24611
+ route: string | null;
24612
+ screen_id: string | null;
24613
+ station_id: string | null;
24614
+ status_id: string | null;
24615
+ updated_at: string;
24616
+ warnings: import("../integrations/supabase/types").Json;
24617
+ };
24618
+ SetofOptions: {
24619
+ from: "*";
24620
+ to: "pick_queue";
24621
+ isOneToOne: true;
24622
+ isSetofReturn: false;
24623
+ };
24624
+ };
24625
+ pick_complete_print_cart: {
24626
+ Args: {
24627
+ _cart_id: string;
24628
+ _printer_id: string;
24629
+ _queue_item_id: string;
24630
+ _session_id: string;
24631
+ };
24632
+ Returns: {
24633
+ announced_at: string;
24634
+ assigned_user_id: string | null;
24635
+ barcode: string | null;
24636
+ cancelled_at: string | null;
24637
+ cart_count: number;
24638
+ completed_at: string | null;
24639
+ country_code: string | null;
24640
+ created_at: string;
24641
+ customer_name: string | null;
24642
+ delivery_address: string | null;
24643
+ document_number: string | null;
24644
+ document_type_id: string | null;
24645
+ due_at: string | null;
24646
+ id: string;
24647
+ is_urgent: boolean;
24648
+ line_count: number;
24649
+ order_number: string | null;
24650
+ order_type: string | null;
24651
+ payload: import("../integrations/supabase/types").Json;
24652
+ print_count: number;
24653
+ print_job_id: string | null;
24654
+ printed_at: string | null;
24655
+ printed_by: string | null;
24656
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24657
+ printer_id: string | null;
24658
+ priority: number;
24659
+ reference: string | null;
24660
+ route: string | null;
24661
+ screen_id: string | null;
24662
+ station_id: string | null;
24663
+ status_id: string | null;
24664
+ updated_at: string;
24665
+ warnings: import("../integrations/supabase/types").Json;
24666
+ };
24667
+ SetofOptions: {
24668
+ from: "*";
24669
+ to: "pick_queue";
24670
+ isOneToOne: true;
24671
+ isSetofReturn: false;
24672
+ };
24673
+ };
24674
+ pick_complete_print_carts: {
24675
+ Args: {
24676
+ _cart_ids: string[];
24677
+ _queue_item_id: string;
24678
+ _session_id: string;
24679
+ };
24680
+ Returns: import("../integrations/supabase/types").Json;
24681
+ };
24682
+ pick_current_pick_day: {
24683
+ Args: never;
24684
+ Returns: string;
24685
+ };
24686
+ pick_day_counts: {
24687
+ Args: {
24688
+ _pick_day?: string;
24689
+ _screen_id?: string;
24690
+ _station_id?: string;
24691
+ };
24692
+ Returns: import("../integrations/supabase/types").Json;
24693
+ };
24694
+ pick_document_layout_data: {
24695
+ Args: {
24696
+ _layout_id: string;
24697
+ };
24698
+ Returns: import("../integrations/supabase/types").Json;
24699
+ };
24700
+ pick_enqueue_print_job: {
24701
+ Args: {
24702
+ _is_herprint?: boolean;
24703
+ _printer_id?: string;
24704
+ _queue_item_id: string;
24705
+ _session_id?: string;
24706
+ };
24707
+ Returns: string;
24708
+ } | {
24709
+ Args: {
24710
+ _cart_id: string;
24711
+ _is_herprint: boolean;
24712
+ _printer_id: string;
24713
+ _queue_item_id: string;
24714
+ _session_id: string;
24715
+ };
24716
+ Returns: string;
24717
+ };
24718
+ pick_enqueue_print_job_from_cart: {
24719
+ Args: {
24720
+ _cart_id: string;
24721
+ _is_herprint: boolean;
24722
+ _printer_id: string;
24723
+ _queue_item_id: string;
24724
+ _selected_cart: import("../integrations/supabase/types").Json;
24725
+ _session_id: string;
24726
+ };
24727
+ Returns: string;
24728
+ };
24729
+ pick_mark_printed: {
24730
+ Args: {
24731
+ _queue_item_id: string;
24732
+ _reden?: string;
24733
+ _session_id: string;
24734
+ };
24735
+ Returns: {
24736
+ announced_at: string;
24737
+ assigned_user_id: string | null;
24738
+ barcode: string | null;
24739
+ cancelled_at: string | null;
24740
+ cart_count: number;
24741
+ completed_at: string | null;
24742
+ country_code: string | null;
24743
+ created_at: string;
24744
+ customer_name: string | null;
24745
+ delivery_address: string | null;
24746
+ document_number: string | null;
24747
+ document_type_id: string | null;
24748
+ due_at: string | null;
24749
+ id: string;
24750
+ is_urgent: boolean;
24751
+ line_count: number;
24752
+ order_number: string | null;
24753
+ order_type: string | null;
24754
+ payload: import("../integrations/supabase/types").Json;
24755
+ print_count: number;
24756
+ print_job_id: string | null;
24757
+ printed_at: string | null;
24758
+ printed_by: string | null;
24759
+ printed_cart_ids: import("../integrations/supabase/types").Json;
24760
+ printer_id: string | null;
24761
+ priority: number;
24762
+ reference: string | null;
24763
+ route: string | null;
24764
+ screen_id: string | null;
24765
+ station_id: string | null;
24766
+ status_id: string | null;
24767
+ updated_at: string;
24768
+ warnings: import("../integrations/supabase/types").Json;
24769
+ };
24770
+ SetofOptions: {
24771
+ from: "*";
24772
+ to: "pick_queue";
24773
+ isOneToOne: true;
24774
+ isSetofReturn: false;
24775
+ };
24776
+ };
24777
+ pick_order_context: {
24778
+ Args: {
24779
+ _order_id?: string;
24780
+ _order_number?: string;
24781
+ };
24782
+ Returns: import("../integrations/supabase/types").Json;
24783
+ };
24784
+ pick_preview_job: {
24785
+ Args: {
24786
+ _queue_item_id: string;
24787
+ _station_slug: string;
24788
+ };
24789
+ Returns: import("../integrations/supabase/types").Json;
24790
+ };
24791
+ pick_print_job_status: {
24792
+ Args: {
24793
+ _job_id: string;
24794
+ };
24795
+ Returns: import("../integrations/supabase/types").Json;
24796
+ };
24797
+ pick_print_jobs_status: {
24798
+ Args: {
24799
+ _job_ids: string[];
24800
+ };
24801
+ Returns: import("../integrations/supabase/types").Json[];
24802
+ };
24803
+ pick_print_plekken: {
24804
+ Args: never;
24805
+ Returns: {
24806
+ id: string;
24807
+ naam: string;
24808
+ omschrijving: string;
24809
+ }[];
24810
+ };
24811
+ pick_queue_cart_plan: {
24812
+ Args: {
24813
+ _queue_item_id: string;
24814
+ };
24815
+ Returns: import("../integrations/supabase/types").Json;
24816
+ };
24817
+ pick_reference_data_status: {
24818
+ Args: never;
24819
+ Returns: import("../integrations/supabase/types").Json;
24820
+ };
24821
+ pick_release_expired_locks: {
24822
+ Args: never;
24823
+ Returns: number;
24824
+ };
24825
+ pick_release_lock: {
24826
+ Args: {
24827
+ _queue_item_id: string;
24828
+ };
24829
+ Returns: undefined;
24830
+ };
24831
+ pick_report_missing_cart_plan: {
24832
+ Args: never;
24833
+ Returns: import("../integrations/supabase/types").Json;
24834
+ };
24835
+ pick_reprint_cart: {
24836
+ Args: {
24837
+ _cart_id: string;
24838
+ _queue_item_id: string;
24839
+ _session_id: string;
24840
+ _throttle_seconds?: number;
24841
+ };
24842
+ Returns: string;
24843
+ };
24844
+ pick_reprint_document: {
24845
+ Args: {
24846
+ _queue_item_id: string;
24847
+ _session_id: string;
24848
+ _throttle_seconds?: number;
24849
+ };
24850
+ Returns: string;
24851
+ };
24852
+ pick_reset_print: {
22496
24853
  Args: {
22497
24854
  _queue_item_id: string;
22498
- _screen_id: string;
22499
24855
  _session_id: string;
22500
- _station_id: string;
22501
- _timeout_seconds?: number;
22502
24856
  };
22503
24857
  Returns: {
22504
24858
  announced_at: string;
@@ -22524,6 +24878,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22524
24878
  print_job_id: string | null;
22525
24879
  printed_at: string | null;
22526
24880
  printed_by: string | null;
24881
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22527
24882
  printer_id: string | null;
22528
24883
  priority: number;
22529
24884
  reference: string | null;
@@ -22540,14 +24895,11 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22540
24895
  isOneToOne: true;
22541
24896
  isSetofReturn: false;
22542
24897
  };
22543
- };
22544
- pick_claim_next_document: {
24898
+ } | {
22545
24899
  Args: {
22546
- _country_code: string;
22547
- _screen_id: string;
24900
+ _cart_id?: string;
24901
+ _queue_item_id: string;
22548
24902
  _session_id: string;
22549
- _station_id: string;
22550
- _timeout_seconds?: number;
22551
24903
  };
22552
24904
  Returns: {
22553
24905
  announced_at: string;
@@ -22573,6 +24925,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22573
24925
  print_job_id: string | null;
22574
24926
  printed_at: string | null;
22575
24927
  printed_by: string | null;
24928
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22576
24929
  printer_id: string | null;
22577
24930
  priority: number;
22578
24931
  reference: string | null;
@@ -22590,16 +24943,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22590
24943
  isSetofReturn: false;
22591
24944
  };
22592
24945
  };
22593
- pick_cleanup_maintenance: {
22594
- Args: {
22595
- _heartbeat_hours?: number;
22596
- _log_days?: number;
22597
- };
22598
- Returns: import("../integrations/supabase/types").Json;
22599
- };
22600
- pick_complete_print: {
24946
+ pick_reset_print_job: {
22601
24947
  Args: {
22602
- _printer_id: string;
24948
+ _cart_id: string;
24949
+ _job_id: string;
22603
24950
  _queue_item_id: string;
22604
24951
  _session_id: string;
22605
24952
  };
@@ -22627,6 +24974,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22627
24974
  print_job_id: string | null;
22628
24975
  printed_at: string | null;
22629
24976
  printed_by: string | null;
24977
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22630
24978
  printer_id: string | null;
22631
24979
  priority: number;
22632
24980
  reference: string | null;
@@ -22644,84 +24992,56 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22644
24992
  isSetofReturn: false;
22645
24993
  };
22646
24994
  };
22647
- pick_current_pick_day: {
22648
- Args: never;
22649
- Returns: string;
22650
- };
22651
- pick_day_counts: {
22652
- Args: {
22653
- _pick_day?: string;
22654
- _screen_id?: string;
22655
- _station_id?: string;
22656
- };
22657
- Returns: import("../integrations/supabase/types").Json;
22658
- };
22659
- pick_document_layout_data: {
22660
- Args: {
22661
- _layout_id: string;
22662
- };
22663
- Returns: import("../integrations/supabase/types").Json;
22664
- };
22665
- pick_enqueue_print_job: {
22666
- Args: {
22667
- _is_herprint?: boolean;
22668
- _printer_id?: string;
22669
- _queue_item_id: string;
22670
- _session_id?: string;
22671
- };
22672
- Returns: string;
22673
- };
22674
- pick_order_context: {
22675
- Args: {
22676
- _order_id?: string;
22677
- _order_number?: string;
22678
- };
22679
- Returns: import("../integrations/supabase/types").Json;
22680
- };
22681
- pick_preview_job: {
24995
+ pick_reset_print_jobs: {
22682
24996
  Args: {
24997
+ _cart_ids: string[];
24998
+ _job_ids: string[];
22683
24999
  _queue_item_id: string;
22684
- _station_slug: string;
22685
- };
22686
- Returns: import("../integrations/supabase/types").Json;
22687
- };
22688
- pick_print_job_status: {
22689
- Args: {
22690
- _job_id: string;
25000
+ _session_id: string;
22691
25001
  };
22692
- Returns: import("../integrations/supabase/types").Json;
22693
- };
22694
- pick_print_plekken: {
22695
- Args: never;
22696
25002
  Returns: {
25003
+ announced_at: string;
25004
+ assigned_user_id: string | null;
25005
+ barcode: string | null;
25006
+ cancelled_at: string | null;
25007
+ cart_count: number;
25008
+ completed_at: string | null;
25009
+ country_code: string | null;
25010
+ created_at: string;
25011
+ customer_name: string | null;
25012
+ delivery_address: string | null;
25013
+ document_number: string | null;
25014
+ document_type_id: string | null;
25015
+ due_at: string | null;
22697
25016
  id: string;
22698
- naam: string;
22699
- omschrijving: string;
22700
- }[];
22701
- };
22702
- pick_reference_data_status: {
22703
- Args: never;
22704
- Returns: import("../integrations/supabase/types").Json;
22705
- };
22706
- pick_release_expired_locks: {
22707
- Args: never;
22708
- Returns: number;
22709
- };
22710
- pick_release_lock: {
22711
- Args: {
22712
- _queue_item_id: string;
25017
+ is_urgent: boolean;
25018
+ line_count: number;
25019
+ order_number: string | null;
25020
+ order_type: string | null;
25021
+ payload: import("../integrations/supabase/types").Json;
25022
+ print_count: number;
25023
+ print_job_id: string | null;
25024
+ printed_at: string | null;
25025
+ printed_by: string | null;
25026
+ printed_cart_ids: import("../integrations/supabase/types").Json;
25027
+ printer_id: string | null;
25028
+ priority: number;
25029
+ reference: string | null;
25030
+ route: string | null;
25031
+ screen_id: string | null;
25032
+ station_id: string | null;
25033
+ status_id: string | null;
25034
+ updated_at: string;
25035
+ warnings: import("../integrations/supabase/types").Json;
22713
25036
  };
22714
- Returns: undefined;
22715
- };
22716
- pick_reprint_document: {
22717
- Args: {
22718
- _queue_item_id: string;
22719
- _session_id: string;
22720
- _throttle_seconds?: number;
25037
+ SetofOptions: {
25038
+ from: "*";
25039
+ to: "pick_queue";
25040
+ isOneToOne: true;
25041
+ isSetofReturn: false;
22721
25042
  };
22722
- Returns: string;
22723
25043
  };
22724
- pick_reset_print: {
25044
+ pick_restore_to_queue: {
22725
25045
  Args: {
22726
25046
  _queue_item_id: string;
22727
25047
  _session_id: string;
@@ -22750,6 +25070,7 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22750
25070
  print_job_id: string | null;
22751
25071
  printed_at: string | null;
22752
25072
  printed_by: string | null;
25073
+ printed_cart_ids: import("../integrations/supabase/types").Json;
22753
25074
  printer_id: string | null;
22754
25075
  priority: number;
22755
25076
  reference: string | null;
@@ -22816,6 +25137,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
22816
25137
  };
22817
25138
  Returns: string;
22818
25139
  };
25140
+ pick_sync_pick_day: {
25141
+ Args: {
25142
+ _day: string;
25143
+ };
25144
+ Returns: import("../integrations/supabase/types").Json;
25145
+ };
22819
25146
  pick_sync_queue_throttled: {
22820
25147
  Args: {
22821
25148
  _min_seconds?: number;
@@ -23045,6 +25372,26 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23045
25372
  };
23046
25373
  Returns: boolean;
23047
25374
  };
25375
+ release_job_lock: {
25376
+ Args: {
25377
+ _key: string;
25378
+ };
25379
+ Returns: undefined;
25380
+ };
25381
+ release_local_pdf_job: {
25382
+ Args: {
25383
+ _job_id: string;
25384
+ _writer_id: string;
25385
+ };
25386
+ Returns: boolean;
25387
+ };
25388
+ release_print_queue_lease: {
25389
+ Args: {
25390
+ _houder: string;
25391
+ _naam: string;
25392
+ };
25393
+ Returns: boolean;
25394
+ };
23048
25395
  release_stale_order_invoice_links: {
23049
25396
  Args: {
23050
25397
  _minutes?: number;
@@ -23065,6 +25412,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23065
25412
  };
23066
25413
  Returns: import("../integrations/supabase/types").Json;
23067
25414
  };
25415
+ reset_cart_layer_positions: {
25416
+ Args: {
25417
+ p_cart_id: string;
25418
+ };
25419
+ Returns: number;
25420
+ };
23068
25421
  reset_floriday_sync_cursor: {
23069
25422
  Args: {
23070
25423
  p_connection_id: string;
@@ -23128,6 +25481,15 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23128
25481
  };
23129
25482
  Returns: import("../integrations/supabase/types").Json;
23130
25483
  };
25484
+ roles_without_enum_mapping: {
25485
+ Args: never;
25486
+ Returns: {
25487
+ assignment_count: number;
25488
+ id: string;
25489
+ key: string;
25490
+ name: string;
25491
+ }[];
25492
+ };
23131
25493
  ruim_print_jobs_op: {
23132
25494
  Args: {
23133
25495
  _bewaar_dagen?: number;
@@ -23142,6 +25504,10 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23142
25504
  Args: never;
23143
25505
  Returns: undefined;
23144
25506
  };
25507
+ run_floriday_stock_reconcile: {
25508
+ Args: never;
25509
+ Returns: undefined;
25510
+ };
23145
25511
  run_logistics_tasks_dispatch: {
23146
25512
  Args: never;
23147
25513
  Returns: undefined;
@@ -23160,18 +25526,98 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23160
25526
  };
23161
25527
  Returns: import("../integrations/supabase/types").Json;
23162
25528
  };
25529
+ scan_complete_cart: {
25530
+ Args: {
25531
+ p_allow_reprint?: boolean;
25532
+ p_cart_id: string;
25533
+ p_print?: boolean;
25534
+ p_scanner_id?: string;
25535
+ };
25536
+ Returns: import("../integrations/supabase/types").Json;
25537
+ };
23163
25538
  scan_dashboard_stats: {
23164
25539
  Args: {
23165
25540
  p_dagen?: number;
23166
25541
  };
23167
25542
  Returns: import("../integrations/supabase/types").Json;
23168
25543
  };
25544
+ scan_eindcontrole: {
25545
+ Args: {
25546
+ p_barcode: string;
25547
+ p_scanner_id?: string;
25548
+ };
25549
+ Returns: import("../integrations/supabase/types").Json;
25550
+ };
23169
25551
  scan_finish_kar: {
23170
25552
  Args: {
23171
25553
  p_kar_id: string;
23172
25554
  };
23173
25555
  Returns: import("../integrations/supabase/types").Json;
23174
25556
  };
25557
+ scan_kar_compleet: {
25558
+ Args: {
25559
+ p_allow_reprint?: boolean;
25560
+ p_sessie_id: string;
25561
+ };
25562
+ Returns: import("../integrations/supabase/types").Json;
25563
+ };
25564
+ scan_kar_regels: {
25565
+ Args: {
25566
+ p_cart_id: string;
25567
+ };
25568
+ Returns: import("../integrations/supabase/types").Json;
25569
+ };
25570
+ scan_log_code: {
25571
+ Args: {
25572
+ p_code: string;
25573
+ p_latency_ms?: number;
25574
+ p_message?: string;
25575
+ p_result: string;
25576
+ p_scanner_key?: string;
25577
+ };
25578
+ Returns: string;
25579
+ };
25580
+ scan_open_pakbonnen: {
25581
+ Args: {
25582
+ p_dagen?: number;
25583
+ };
25584
+ Returns: import("../integrations/supabase/types").Json;
25585
+ };
25586
+ scan_pakbon_lookup: {
25587
+ Args: {
25588
+ p_barcode: string;
25589
+ };
25590
+ Returns: import("../integrations/supabase/types").Json;
25591
+ };
25592
+ scan_pakbon_opnieuw: {
25593
+ Args: {
25594
+ p_barcode: string;
25595
+ p_scanner_id?: string;
25596
+ };
25597
+ Returns: import("../integrations/supabase/types").Json;
25598
+ };
25599
+ scan_pakbon_toevoegen: {
25600
+ Args: {
25601
+ p_barcode: string;
25602
+ p_medewerker?: string;
25603
+ p_regels?: import("../integrations/supabase/types").Json;
25604
+ p_scanner_id: string;
25605
+ };
25606
+ Returns: import("../integrations/supabase/types").Json;
25607
+ };
25608
+ scan_print_restpakbon: {
25609
+ Args: {
25610
+ p_printer_id?: string;
25611
+ p_restpakbon_id: string;
25612
+ };
25613
+ Returns: import("../integrations/supabase/types").Json;
25614
+ };
25615
+ scan_print_verzendbrief: {
25616
+ Args: {
25617
+ p_sessie_id: string;
25618
+ };
25619
+ Returns: import("../integrations/supabase/types").Json;
25620
+ };
23175
25621
  scan_register_item: {
23176
25622
  Args: {
23177
25623
  p_kar_id: string;
@@ -23190,6 +25636,25 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23190
25636
  };
23191
25637
  Returns: import("../integrations/supabase/types").Json;
23192
25638
  };
25639
+ scan_restpakbon_geprint: {
25640
+ Args: {
25641
+ p_id: string;
25642
+ p_print_job_id?: string;
25643
+ };
25644
+ Returns: undefined;
25645
+ };
25646
+ scan_sessie_annuleren: {
25647
+ Args: {
25648
+ p_sessie_id: string;
25649
+ };
25650
+ Returns: undefined;
25651
+ };
25652
+ scan_sessie_open: {
25653
+ Args: {
25654
+ p_scanner_id: string;
25655
+ };
25656
+ Returns: import("../integrations/supabase/types").Json;
25657
+ };
23193
25658
  scan_start_kar: {
23194
25659
  Args: {
23195
25660
  p_medewerker_id?: string;
@@ -23208,6 +25673,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23208
25673
  };
23209
25674
  Returns: import("../integrations/supabase/types").Json;
23210
25675
  };
25676
+ scan_verzendbrief_regels: {
25677
+ Args: {
25678
+ p_sessie_id: string;
25679
+ };
25680
+ Returns: import("../integrations/supabase/types").Json;
25681
+ };
23211
25682
  schedule_floriday_additional_services_sync: {
23212
25683
  Args: {
23213
25684
  p_apikey: string;
@@ -23523,6 +25994,13 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23523
25994
  };
23524
25995
  Returns: import("../integrations/supabase/types").Json;
23525
25996
  };
25997
+ swap_cart_layer_positions: {
25998
+ Args: {
25999
+ p_a: string;
26000
+ p_b: string;
26001
+ };
26002
+ Returns: undefined;
26003
+ };
23526
26004
  switch_time_log: {
23527
26005
  Args: {
23528
26006
  p_employee_id: string;
@@ -23555,6 +26033,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23555
26033
  };
23556
26034
  Returns: undefined;
23557
26035
  };
26036
+ sync_order_item_fusten: {
26037
+ Args: {
26038
+ _order_item_id: string;
26039
+ };
26040
+ Returns: undefined;
26041
+ };
23558
26042
  sync_product_group_belading: {
23559
26043
  Args: {
23560
26044
  _group_id: string;
@@ -23582,6 +26066,14 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23582
26066
  row_count: number;
23583
26067
  }[];
23584
26068
  };
26069
+ try_acquire_job_lock: {
26070
+ Args: {
26071
+ _key: string;
26072
+ _owner?: string;
26073
+ _seconds?: number;
26074
+ };
26075
+ Returns: boolean;
26076
+ };
23585
26077
  try_debtor_lock: {
23586
26078
  Args: {
23587
26079
  _group_key: string;
@@ -23661,6 +26153,12 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23661
26153
  Args: never;
23662
26154
  Returns: string;
23663
26155
  };
26156
+ wake_print_queue: {
26157
+ Args: {
26158
+ _min_interval_ms?: number;
26159
+ };
26160
+ Returns: number;
26161
+ };
23664
26162
  werkbon_totalen: {
23665
26163
  Args: {
23666
26164
  _werkbon_id: string;
@@ -23693,10 +26191,18 @@ export declare const publishCustomerOfferFn: import("@tanstack/start-client-core
23693
26191
  };
23694
26192
  Returns: import("../integrations/supabase/types").Json;
23695
26193
  };
26194
+ wo_set_status: {
26195
+ Args: {
26196
+ _reason?: string;
26197
+ _status: string;
26198
+ _work_order_id: string;
26199
+ };
26200
+ Returns: import("../integrations/supabase/types").Json;
26201
+ };
23696
26202
  };
23697
26203
  Enums: {
23698
26204
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23699
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26205
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23700
26206
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23701
26207
  doc_orientation: "portrait" | "landscape";
23702
26208
  exact_env: "staging" | "live";