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