@flowselections/floriday-voorraad 1.0.39 → 1.0.40

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 (113) 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/ValidationPage.d.ts +1 -1
  64. package/dist-lib/components/voorraad/ValidationPage.d.ts.map +1 -1
  65. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts +1 -1
  66. package/dist-lib/components/voorraad/VoorraadDashboard.d.ts.map +1 -1
  67. package/dist-lib/components/voorraad/VoorraadPage.d.ts +1 -1
  68. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  69. package/dist-lib/components/voorraad/VoorraadPagination.d.ts +1 -1
  70. package/dist-lib/components/voorraad/VoorraadPagination.d.ts.map +1 -1
  71. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts +1 -1
  72. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  73. package/dist-lib/components/voorraad/VoorraadTable.d.ts +1 -1
  74. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  75. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts +1 -1
  76. package/dist-lib/components/voorraad/VoorraadVeldenCard.d.ts.map +1 -1
  77. package/dist-lib/hooks/useTradeItemStock.d.ts.map +1 -1
  78. package/dist-lib/hooks/useTradeItemStock.js +1 -0
  79. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2217 -58
  80. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  81. package/dist-lib/integrations/supabase/client.d.ts +2217 -58
  82. package/dist-lib/integrations/supabase/client.d.ts.map +1 -1
  83. package/dist-lib/integrations/supabase/client.js +1 -1
  84. package/dist-lib/integrations/supabase/client.server.d.ts +2217 -58
  85. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  86. package/dist-lib/integrations/supabase/client.server.js +1 -1
  87. package/dist-lib/integrations/supabase/types.d.ts +2431 -228
  88. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  89. package/dist-lib/integrations/supabase/types.js +1 -0
  90. package/dist-lib/lib/floricode-required-features.functions.d.ts +2216 -51
  91. package/dist-lib/lib/floricode-required-features.functions.d.ts.map +1 -1
  92. package/dist-lib/lib/floriday-customer-offer.functions.d.ts +2210 -53
  93. package/dist-lib/lib/floriday-customer-offer.functions.d.ts.map +1 -1
  94. package/dist-lib/lib/floriday-env.functions.d.ts +4529 -211
  95. package/dist-lib/lib/floriday-env.functions.d.ts.map +1 -1
  96. package/dist-lib/lib/floriday-gateway.functions.d.ts +13345 -391
  97. package/dist-lib/lib/floriday-gateway.functions.d.ts.map +1 -1
  98. package/dist-lib/lib/floriday-vbn-required.functions.d.ts +4529 -211
  99. package/dist-lib/lib/floriday-vbn-required.functions.d.ts.map +1 -1
  100. package/dist-lib/lib/floriday-warehouse.functions.d.ts +6733 -256
  101. package/dist-lib/lib/floriday-warehouse.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/floriday-writes.functions.d.ts +4529 -211
  103. package/dist-lib/lib/floriday-writes.functions.d.ts.map +1 -1
  104. package/dist-lib/lib/fusten.d.ts +1 -0
  105. package/dist-lib/lib/fusten.d.ts.map +1 -1
  106. package/dist-lib/lib/fusten.js +1 -1
  107. package/dist-lib/lib/inventory-settings.functions.d.ts +4529 -211
  108. package/dist-lib/lib/inventory-settings.functions.d.ts.map +1 -1
  109. package/dist-lib/lib/module-health.functions.d.ts +4529 -211
  110. package/dist-lib/lib/module-health.functions.d.ts.map +1 -1
  111. package/dist-lib/lib/stock-sync.functions.d.ts +4529 -211
  112. package/dist-lib/lib/stock-sync.functions.d.ts.map +1 -1
  113. package/package.json +1 -1
@@ -691,6 +691,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
691
691
  raw: import("./types").Json;
692
692
  updated_at: string;
693
693
  valuta: string;
694
+ velden: import("./types").Json;
694
695
  };
695
696
  Insert: {
696
697
  artikelcode: string;
@@ -708,6 +709,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
708
709
  raw?: import("./types").Json;
709
710
  updated_at?: string;
710
711
  valuta?: string;
712
+ velden?: import("./types").Json;
711
713
  };
712
714
  Update: {
713
715
  artikelcode?: string;
@@ -725,6 +727,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
725
727
  raw?: import("./types").Json;
726
728
  updated_at?: string;
727
729
  valuta?: string;
730
+ velden?: import("./types").Json;
728
731
  };
729
732
  Relationships: [];
730
733
  };
@@ -1419,8 +1422,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1419
1422
  Row: {
1420
1423
  assigned_at: string;
1421
1424
  cart_index: number;
1422
- cart_number: string;
1423
- day_seq: number;
1425
+ cart_number: string | null;
1426
+ day_seq: number | null;
1427
+ delivered_at: string | null;
1424
1428
  id: string;
1425
1429
  order_id: string;
1426
1430
  order_source: string;
@@ -1430,8 +1434,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1430
1434
  Insert: {
1431
1435
  assigned_at?: string;
1432
1436
  cart_index: number;
1433
- cart_number: string;
1434
- day_seq: number;
1437
+ cart_number?: string | null;
1438
+ day_seq?: number | null;
1439
+ delivered_at?: string | null;
1435
1440
  id?: string;
1436
1441
  order_id: string;
1437
1442
  order_source: string;
@@ -1441,8 +1446,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1441
1446
  Update: {
1442
1447
  assigned_at?: string;
1443
1448
  cart_index?: number;
1444
- cart_number?: string;
1445
- day_seq?: number;
1449
+ cart_number?: string | null;
1450
+ day_seq?: number | null;
1451
+ delivered_at?: string | null;
1446
1452
  id?: string;
1447
1453
  order_id?: string;
1448
1454
  order_source?: string;
@@ -1543,6 +1549,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1543
1549
  updated_at?: string;
1544
1550
  };
1545
1551
  Relationships: [{
1552
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1553
+ columns: ["product_id"];
1554
+ isOneToOne: true;
1555
+ referencedRelation: "logistics_product_dimensions";
1556
+ referencedColumns: ["product_id"];
1557
+ }, {
1546
1558
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1547
1559
  columns: ["product_id"];
1548
1560
  isOneToOne: true;
@@ -7070,6 +7082,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7070
7082
  };
7071
7083
  Relationships: [];
7072
7084
  };
7085
+ floriday_status_sync_queue: {
7086
+ Row: {
7087
+ attempts: number;
7088
+ created_at: string;
7089
+ error: string | null;
7090
+ floriday_sales_order_id: string;
7091
+ order_id: string;
7092
+ processed_at: string | null;
7093
+ requested_at: string;
7094
+ state: string;
7095
+ target_status: string;
7096
+ updated_at: string;
7097
+ };
7098
+ Insert: {
7099
+ attempts?: number;
7100
+ created_at?: string;
7101
+ error?: string | null;
7102
+ floriday_sales_order_id: string;
7103
+ order_id: string;
7104
+ processed_at?: string | null;
7105
+ requested_at?: string;
7106
+ state?: string;
7107
+ target_status: string;
7108
+ updated_at?: string;
7109
+ };
7110
+ Update: {
7111
+ attempts?: number;
7112
+ created_at?: string;
7113
+ error?: string | null;
7114
+ floriday_sales_order_id?: string;
7115
+ order_id?: string;
7116
+ processed_at?: string | null;
7117
+ requested_at?: string;
7118
+ state?: string;
7119
+ target_status?: string;
7120
+ updated_at?: string;
7121
+ };
7122
+ Relationships: [{
7123
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7124
+ columns: ["order_id"];
7125
+ isOneToOne: true;
7126
+ referencedRelation: "orders";
7127
+ referencedColumns: ["id"];
7128
+ }];
7129
+ };
7073
7130
  floriday_sync_cursors: {
7074
7131
  Row: {
7075
7132
  connection_id: string;
@@ -8304,10 +8361,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8304
8361
  general_email: string | null;
8305
8362
  general_phone: string | null;
8306
8363
  id: string;
8364
+ kvk_number: string | null;
8307
8365
  legacy_customer_id: string | null;
8308
8366
  name: string;
8309
8367
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8310
8368
  updated_at: string;
8369
+ vat_number: string | null;
8311
8370
  };
8312
8371
  Insert: {
8313
8372
  billing_city?: string | null;
@@ -8318,10 +8377,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8318
8377
  general_email?: string | null;
8319
8378
  general_phone?: string | null;
8320
8379
  id?: string;
8380
+ kvk_number?: string | null;
8321
8381
  legacy_customer_id?: string | null;
8322
8382
  name: string;
8323
8383
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8324
8384
  updated_at?: string;
8385
+ vat_number?: string | null;
8325
8386
  };
8326
8387
  Update: {
8327
8388
  billing_city?: string | null;
@@ -8332,10 +8393,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8332
8393
  general_email?: string | null;
8333
8394
  general_phone?: string | null;
8334
8395
  id?: string;
8396
+ kvk_number?: string | null;
8335
8397
  legacy_customer_id?: string | null;
8336
8398
  name?: string;
8337
8399
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8338
8400
  updated_at?: string;
8401
+ vat_number?: string | null;
8339
8402
  };
8340
8403
  Relationships: [];
8341
8404
  };
@@ -8369,6 +8432,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8369
8432
  };
8370
8433
  Relationships: [];
8371
8434
  };
8435
+ itk_handover_github_scan: {
8436
+ Row: {
8437
+ gescand_op: string;
8438
+ gevonden: boolean;
8439
+ melding: string | null;
8440
+ module_id: string | null;
8441
+ repo: string;
8442
+ };
8443
+ Insert: {
8444
+ gescand_op?: string;
8445
+ gevonden?: boolean;
8446
+ melding?: string | null;
8447
+ module_id?: string | null;
8448
+ repo: string;
8449
+ };
8450
+ Update: {
8451
+ gescand_op?: string;
8452
+ gevonden?: boolean;
8453
+ melding?: string | null;
8454
+ module_id?: string | null;
8455
+ repo?: string;
8456
+ };
8457
+ Relationships: [];
8458
+ };
8459
+ itk_handover_module_meta: {
8460
+ Row: {
8461
+ check_aangevraagd_op: string | null;
8462
+ check_nodig: boolean;
8463
+ check_reden: string | null;
8464
+ created_at: string;
8465
+ module_id: string;
8466
+ project_url: string | null;
8467
+ publicatie_url: string | null;
8468
+ updated_at: string;
8469
+ };
8470
+ Insert: {
8471
+ check_aangevraagd_op?: string | null;
8472
+ check_nodig?: boolean;
8473
+ check_reden?: string | null;
8474
+ created_at?: string;
8475
+ module_id: string;
8476
+ project_url?: string | null;
8477
+ publicatie_url?: string | null;
8478
+ updated_at?: string;
8479
+ };
8480
+ Update: {
8481
+ check_aangevraagd_op?: string | null;
8482
+ check_nodig?: boolean;
8483
+ check_reden?: string | null;
8484
+ created_at?: string;
8485
+ module_id?: string;
8486
+ project_url?: string | null;
8487
+ publicatie_url?: string | null;
8488
+ updated_at?: string;
8489
+ };
8490
+ Relationships: [];
8491
+ };
8492
+ itk_handover_project_modules: {
8493
+ Row: {
8494
+ created_at: string;
8495
+ id: string;
8496
+ module_id: string;
8497
+ project_id: string;
8498
+ updated_at: string;
8499
+ };
8500
+ Insert: {
8501
+ created_at?: string;
8502
+ id?: string;
8503
+ module_id: string;
8504
+ project_id: string;
8505
+ updated_at?: string;
8506
+ };
8507
+ Update: {
8508
+ created_at?: string;
8509
+ id?: string;
8510
+ module_id?: string;
8511
+ project_id?: string;
8512
+ updated_at?: string;
8513
+ };
8514
+ Relationships: [{
8515
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8516
+ columns: ["project_id"];
8517
+ isOneToOne: false;
8518
+ referencedRelation: "itk_handover_projecten";
8519
+ referencedColumns: ["id"];
8520
+ }];
8521
+ };
8522
+ itk_handover_projecten: {
8523
+ Row: {
8524
+ created_at: string;
8525
+ id: string;
8526
+ naam: string;
8527
+ omschrijving: string | null;
8528
+ updated_at: string;
8529
+ };
8530
+ Insert: {
8531
+ created_at?: string;
8532
+ id?: string;
8533
+ naam: string;
8534
+ omschrijving?: string | null;
8535
+ updated_at?: string;
8536
+ };
8537
+ Update: {
8538
+ created_at?: string;
8539
+ id?: string;
8540
+ naam?: string;
8541
+ omschrijving?: string | null;
8542
+ updated_at?: string;
8543
+ };
8544
+ Relationships: [];
8545
+ };
8372
8546
  itk_handover_rechten: {
8373
8547
  Row: {
8374
8548
  created_at: string;
@@ -8396,42 +8570,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8396
8570
  };
8397
8571
  Relationships: [];
8398
8572
  };
8399
- itk_handover_tokens: {
8573
+ itk_module_fingerprints: {
8400
8574
  Row: {
8401
- aangemaakt_door: string | null;
8402
8575
  created_at: string;
8576
+ gemaakt_op: string;
8577
+ hash: string;
8403
8578
  id: string;
8404
- is_actief: boolean;
8405
- laatst_gebruikt_op: string | null;
8406
- label: string;
8407
8579
  module_id: string;
8408
- token_hash: string;
8580
+ payload: import("./types").Json;
8409
8581
  updated_at: string;
8410
- verloopt_op: string | null;
8411
8582
  };
8412
8583
  Insert: {
8413
- aangemaakt_door?: string | null;
8414
8584
  created_at?: string;
8585
+ gemaakt_op?: string;
8586
+ hash: string;
8415
8587
  id?: string;
8416
- is_actief?: boolean;
8417
- laatst_gebruikt_op?: string | null;
8418
- label?: string;
8419
8588
  module_id: string;
8420
- token_hash: string;
8589
+ payload?: import("./types").Json;
8421
8590
  updated_at?: string;
8422
- verloopt_op?: string | null;
8423
8591
  };
8424
8592
  Update: {
8425
- aangemaakt_door?: string | null;
8426
8593
  created_at?: string;
8594
+ gemaakt_op?: string;
8595
+ hash?: string;
8427
8596
  id?: string;
8428
- is_actief?: boolean;
8429
- laatst_gebruikt_op?: string | null;
8430
- label?: string;
8431
8597
  module_id?: string;
8432
- token_hash?: string;
8598
+ payload?: import("./types").Json;
8433
8599
  updated_at?: string;
8434
- verloopt_op?: string | null;
8435
8600
  };
8436
8601
  Relationships: [];
8437
8602
  };
@@ -8439,6 +8604,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8439
8604
  Row: {
8440
8605
  bevindingen: string | null;
8441
8606
  bezit_tabellen: string[];
8607
+ bron_commit: string | null;
8608
+ bron_pad: string | null;
8609
+ bron_repo: string | null;
8610
+ bron_soort: string | null;
8611
+ bron_versie: string | null;
8442
8612
  conflicten_snapshot: import("./types").Json;
8443
8613
  contractfuncties: string[];
8444
8614
  created_at: string;
@@ -8449,6 +8619,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8449
8619
  id: string;
8450
8620
  inhoud_md: string;
8451
8621
  is_actueel: boolean;
8622
+ is_gearchiveerd: boolean;
8623
+ laatst_gecontroleerd_op: string | null;
8452
8624
  module_id: string;
8453
8625
  module_titel: string;
8454
8626
  ontbrekende_contracten: string[];
@@ -8459,6 +8631,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8459
8631
  Insert: {
8460
8632
  bevindingen?: string | null;
8461
8633
  bezit_tabellen?: string[];
8634
+ bron_commit?: string | null;
8635
+ bron_pad?: string | null;
8636
+ bron_repo?: string | null;
8637
+ bron_soort?: string | null;
8638
+ bron_versie?: string | null;
8462
8639
  conflicten_snapshot?: import("./types").Json;
8463
8640
  contractfuncties?: string[];
8464
8641
  created_at?: string;
@@ -8469,6 +8646,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8469
8646
  id?: string;
8470
8647
  inhoud_md: string;
8471
8648
  is_actueel?: boolean;
8649
+ is_gearchiveerd?: boolean;
8650
+ laatst_gecontroleerd_op?: string | null;
8472
8651
  module_id: string;
8473
8652
  module_titel: string;
8474
8653
  ontbrekende_contracten?: string[];
@@ -8479,6 +8658,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8479
8658
  Update: {
8480
8659
  bevindingen?: string | null;
8481
8660
  bezit_tabellen?: string[];
8661
+ bron_commit?: string | null;
8662
+ bron_pad?: string | null;
8663
+ bron_repo?: string | null;
8664
+ bron_soort?: string | null;
8665
+ bron_versie?: string | null;
8482
8666
  conflicten_snapshot?: import("./types").Json;
8483
8667
  contractfuncties?: string[];
8484
8668
  created_at?: string;
@@ -8489,6 +8673,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8489
8673
  id?: string;
8490
8674
  inhoud_md?: string;
8491
8675
  is_actueel?: boolean;
8676
+ is_gearchiveerd?: boolean;
8677
+ laatst_gecontroleerd_op?: string | null;
8492
8678
  module_id?: string;
8493
8679
  module_titel?: string;
8494
8680
  ontbrekende_contracten?: string[];
@@ -8543,6 +8729,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8543
8729
  };
8544
8730
  Relationships: [];
8545
8731
  };
8732
+ itk_module_wijzigingen: {
8733
+ Row: {
8734
+ created_at: string;
8735
+ geconstateerd_op: string;
8736
+ id: string;
8737
+ module_id: string;
8738
+ omschrijving: string;
8739
+ soort: string;
8740
+ updated_at: string;
8741
+ was_na_publicatie: boolean;
8742
+ };
8743
+ Insert: {
8744
+ created_at?: string;
8745
+ geconstateerd_op?: string;
8746
+ id?: string;
8747
+ module_id: string;
8748
+ omschrijving: string;
8749
+ soort: string;
8750
+ updated_at?: string;
8751
+ was_na_publicatie?: boolean;
8752
+ };
8753
+ Update: {
8754
+ created_at?: string;
8755
+ geconstateerd_op?: string;
8756
+ id?: string;
8757
+ module_id?: string;
8758
+ omschrijving?: string;
8759
+ soort?: string;
8760
+ updated_at?: string;
8761
+ was_na_publicatie?: boolean;
8762
+ };
8763
+ Relationships: [];
8764
+ };
8546
8765
  itk_offerte_events: {
8547
8766
  Row: {
8548
8767
  created_at: string;
@@ -8781,12 +9000,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8781
9000
  isOneToOne: false;
8782
9001
  referencedRelation: "werkbonnen";
8783
9002
  referencedColumns: ["id"];
9003
+ }, {
9004
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9005
+ columns: ["follow_up_werkbon_id"];
9006
+ isOneToOne: false;
9007
+ referencedRelation: "wo_overview";
9008
+ referencedColumns: ["id"];
8784
9009
  }, {
8785
9010
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8786
9011
  columns: ["werkbon_id"];
8787
9012
  isOneToOne: false;
8788
9013
  referencedRelation: "werkbonnen";
8789
9014
  referencedColumns: ["id"];
9015
+ }, {
9016
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9017
+ columns: ["werkbon_id"];
9018
+ isOneToOne: false;
9019
+ referencedRelation: "wo_overview";
9020
+ referencedColumns: ["id"];
8790
9021
  }, {
8791
9022
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8792
9023
  columns: ["work_location_id"];
@@ -9087,6 +9318,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9087
9318
  isOneToOne: false;
9088
9319
  referencedRelation: "product_categories";
9089
9320
  referencedColumns: ["id"];
9321
+ }, {
9322
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9323
+ columns: ["product_id"];
9324
+ isOneToOne: false;
9325
+ referencedRelation: "logistics_product_dimensions";
9326
+ referencedColumns: ["product_id"];
9090
9327
  }, {
9091
9328
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9092
9329
  columns: ["product_id"];
@@ -9153,6 +9390,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9153
9390
  isOneToOne: false;
9154
9391
  referencedRelation: "product_categories";
9155
9392
  referencedColumns: ["id"];
9393
+ }, {
9394
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9395
+ columns: ["product_id"];
9396
+ isOneToOne: false;
9397
+ referencedRelation: "logistics_product_dimensions";
9398
+ referencedColumns: ["product_id"];
9156
9399
  }, {
9157
9400
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9158
9401
  columns: ["product_id"];
@@ -9219,6 +9462,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9219
9462
  isOneToOne: false;
9220
9463
  referencedRelation: "product_categories";
9221
9464
  referencedColumns: ["id"];
9465
+ }, {
9466
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9467
+ columns: ["product_id"];
9468
+ isOneToOne: false;
9469
+ referencedRelation: "logistics_product_dimensions";
9470
+ referencedColumns: ["product_id"];
9222
9471
  }, {
9223
9472
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9224
9473
  columns: ["product_id"];
@@ -9401,6 +9650,96 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9401
9650
  };
9402
9651
  Relationships: [];
9403
9652
  };
9653
+ logistics_cart_barcode: {
9654
+ Row: {
9655
+ barcode: string;
9656
+ cart_id: string;
9657
+ created_at: string;
9658
+ order_id: string | null;
9659
+ };
9660
+ Insert: {
9661
+ barcode: string;
9662
+ cart_id: string;
9663
+ created_at?: string;
9664
+ order_id?: string | null;
9665
+ };
9666
+ Update: {
9667
+ barcode?: string;
9668
+ cart_id?: string;
9669
+ created_at?: string;
9670
+ order_id?: string | null;
9671
+ };
9672
+ Relationships: [];
9673
+ };
9674
+ logistics_control_scan: {
9675
+ Row: {
9676
+ approved_at: string | null;
9677
+ attempts: number;
9678
+ barcode: string;
9679
+ cart_id: string;
9680
+ created_at: string;
9681
+ document_url: string | null;
9682
+ error: string | null;
9683
+ error_code: string | null;
9684
+ fulfillment_order_id: string | null;
9685
+ id: string;
9686
+ is_floriday: boolean;
9687
+ locked_until: string | null;
9688
+ order_id: string | null;
9689
+ order_number: string | null;
9690
+ print_job_id: string | null;
9691
+ printed_at: string | null;
9692
+ printer_id: string | null;
9693
+ scanner_id: string | null;
9694
+ status: string;
9695
+ updated_at: string;
9696
+ };
9697
+ Insert: {
9698
+ approved_at?: string | null;
9699
+ attempts?: number;
9700
+ barcode: string;
9701
+ cart_id: string;
9702
+ created_at?: string;
9703
+ document_url?: string | null;
9704
+ error?: string | null;
9705
+ error_code?: string | null;
9706
+ fulfillment_order_id?: string | null;
9707
+ id?: string;
9708
+ is_floriday?: boolean;
9709
+ locked_until?: string | null;
9710
+ order_id?: string | null;
9711
+ order_number?: string | null;
9712
+ print_job_id?: string | null;
9713
+ printed_at?: string | null;
9714
+ printer_id?: string | null;
9715
+ scanner_id?: string | null;
9716
+ status?: string;
9717
+ updated_at?: string;
9718
+ };
9719
+ Update: {
9720
+ approved_at?: string | null;
9721
+ attempts?: number;
9722
+ barcode?: string;
9723
+ cart_id?: string;
9724
+ created_at?: string;
9725
+ document_url?: string | null;
9726
+ error?: string | null;
9727
+ error_code?: string | null;
9728
+ fulfillment_order_id?: string | null;
9729
+ id?: string;
9730
+ is_floriday?: boolean;
9731
+ locked_until?: string | null;
9732
+ order_id?: string | null;
9733
+ order_number?: string | null;
9734
+ print_job_id?: string | null;
9735
+ printed_at?: string | null;
9736
+ printer_id?: string | null;
9737
+ scanner_id?: string | null;
9738
+ status?: string;
9739
+ updated_at?: string;
9740
+ };
9741
+ Relationships: [];
9742
+ };
9404
9743
  logistics_decisions: {
9405
9744
  Row: {
9406
9745
  created_at: string;
@@ -9686,12 +10025,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9686
10025
  };
9687
10026
  Relationships: [];
9688
10027
  };
9689
- logistics_floriday_pushes: {
10028
+ logistics_floriday_carrier_map: {
9690
10029
  Row: {
9691
- attempts: number;
10030
+ carrier_code: string;
9692
10031
  created_at: string;
9693
- first_queued_at: string;
9694
- fulfillment_order_id: string | null;
10032
+ floriday_code: string;
10033
+ };
10034
+ Insert: {
10035
+ carrier_code: string;
10036
+ created_at?: string;
10037
+ floriday_code: string;
10038
+ };
10039
+ Update: {
10040
+ carrier_code?: string;
10041
+ created_at?: string;
10042
+ floriday_code?: string;
10043
+ };
10044
+ Relationships: [];
10045
+ };
10046
+ logistics_floriday_pushes: {
10047
+ Row: {
10048
+ attempts: number;
10049
+ created_at: string;
10050
+ first_queued_at: string;
10051
+ fulfillment_order_id: string | null;
9695
10052
  id: string;
9696
10053
  last_error: string | null;
9697
10054
  last_error_at: string | null;
@@ -9803,6 +10160,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9803
10160
  referencedColumns: ["id"];
9804
10161
  }];
9805
10162
  };
10163
+ logistics_layer_override_log: {
10164
+ Row: {
10165
+ cart_id: string;
10166
+ created_at: string;
10167
+ details: import("./types").Json;
10168
+ id: string;
10169
+ keg_id: string | null;
10170
+ product_id: string | null;
10171
+ reason: string;
10172
+ };
10173
+ Insert: {
10174
+ cart_id: string;
10175
+ created_at?: string;
10176
+ details?: import("./types").Json;
10177
+ id?: string;
10178
+ keg_id?: string | null;
10179
+ product_id?: string | null;
10180
+ reason: string;
10181
+ };
10182
+ Update: {
10183
+ cart_id?: string;
10184
+ created_at?: string;
10185
+ details?: import("./types").Json;
10186
+ id?: string;
10187
+ keg_id?: string | null;
10188
+ product_id?: string | null;
10189
+ reason?: string;
10190
+ };
10191
+ Relationships: [];
10192
+ };
9806
10193
  logistics_pickup_moments: {
9807
10194
  Row: {
9808
10195
  carrier_ref: string | null;
@@ -10229,6 +10616,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10229
10616
  referencedColumns: ["id"];
10230
10617
  }];
10231
10618
  };
10619
+ logistics_shipping_note_scan: {
10620
+ Row: {
10621
+ barcode: string;
10622
+ cart_id: string;
10623
+ id: string;
10624
+ is_reprint: boolean;
10625
+ order_id: string | null;
10626
+ print_job_id: string | null;
10627
+ scanned_at: string;
10628
+ };
10629
+ Insert: {
10630
+ barcode: string;
10631
+ cart_id: string;
10632
+ id?: string;
10633
+ is_reprint?: boolean;
10634
+ order_id?: string | null;
10635
+ print_job_id?: string | null;
10636
+ scanned_at?: string;
10637
+ };
10638
+ Update: {
10639
+ barcode?: string;
10640
+ cart_id?: string;
10641
+ id?: string;
10642
+ is_reprint?: boolean;
10643
+ order_id?: string | null;
10644
+ print_job_id?: string | null;
10645
+ scanned_at?: string;
10646
+ };
10647
+ Relationships: [];
10648
+ };
10232
10649
  logistics_staff_planning: {
10233
10650
  Row: {
10234
10651
  created_at: string;
@@ -10978,6 +11395,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10978
11395
  updated_at?: string;
10979
11396
  };
10980
11397
  Relationships: [{
11398
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11399
+ columns: ["product_id"];
11400
+ isOneToOne: false;
11401
+ referencedRelation: "logistics_product_dimensions";
11402
+ referencedColumns: ["product_id"];
11403
+ }, {
10981
11404
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
10982
11405
  columns: ["product_id"];
10983
11406
  isOneToOne: false;
@@ -12284,6 +12707,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12284
12707
  order_buffers: {
12285
12708
  Row: {
12286
12709
  buffer_key: string;
12710
+ close_at: string | null;
12711
+ closed_at: string | null;
12287
12712
  created_at: string;
12288
12713
  customer_id: string | null;
12289
12714
  grouping_mode: string;
@@ -12295,6 +12720,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12295
12720
  };
12296
12721
  Insert: {
12297
12722
  buffer_key: string;
12723
+ close_at?: string | null;
12724
+ closed_at?: string | null;
12298
12725
  created_at?: string;
12299
12726
  customer_id?: string | null;
12300
12727
  grouping_mode: string;
@@ -12306,6 +12733,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12306
12733
  };
12307
12734
  Update: {
12308
12735
  buffer_key?: string;
12736
+ close_at?: string | null;
12737
+ closed_at?: string | null;
12309
12738
  created_at?: string;
12310
12739
  customer_id?: string | null;
12311
12740
  grouping_mode?: string;
@@ -12322,10 +12751,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12322
12751
  boxes: number | null;
12323
12752
  cart_id: string;
12324
12753
  crates: number;
12754
+ crates_in_layer: number | null;
12325
12755
  crates_per_layer: number;
12326
12756
  created_at: string;
12327
12757
  id: string;
12328
12758
  layer_fraction: number;
12759
+ layer_index: number | null;
12329
12760
  layer_share_pct: number;
12330
12761
  layers_per_cart: number;
12331
12762
  order_item_id: string | null;
@@ -12338,10 +12769,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12338
12769
  boxes?: number | null;
12339
12770
  cart_id: string;
12340
12771
  crates: number;
12772
+ crates_in_layer?: number | null;
12341
12773
  crates_per_layer?: number;
12342
12774
  created_at?: string;
12343
12775
  id?: string;
12344
12776
  layer_fraction?: number;
12777
+ layer_index?: number | null;
12345
12778
  layer_share_pct?: number;
12346
12779
  layers_per_cart?: number;
12347
12780
  order_item_id?: string | null;
@@ -12354,10 +12787,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12354
12787
  boxes?: number | null;
12355
12788
  cart_id?: string;
12356
12789
  crates?: number;
12790
+ crates_in_layer?: number | null;
12357
12791
  crates_per_layer?: number;
12358
12792
  created_at?: string;
12359
12793
  id?: string;
12360
12794
  layer_fraction?: number;
12795
+ layer_index?: number | null;
12361
12796
  layer_share_pct?: number;
12362
12797
  layers_per_cart?: number;
12363
12798
  order_item_id?: string | null;
@@ -12378,6 +12813,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12378
12813
  isOneToOne: false;
12379
12814
  referencedRelation: "order_items";
12380
12815
  referencedColumns: ["id"];
12816
+ }, {
12817
+ foreignKeyName: "order_cart_items_product_id_fkey";
12818
+ columns: ["product_id"];
12819
+ isOneToOne: false;
12820
+ referencedRelation: "logistics_product_dimensions";
12821
+ referencedColumns: ["product_id"];
12381
12822
  }, {
12382
12823
  foreignKeyName: "order_cart_items_product_id_fkey";
12383
12824
  columns: ["product_id"];
@@ -12386,6 +12827,93 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12386
12827
  referencedColumns: ["id"];
12387
12828
  }];
12388
12829
  };
12830
+ order_cart_layer_positions: {
12831
+ Row: {
12832
+ algorithm_version: number | null;
12833
+ cart_id: string;
12834
+ created_at: string;
12835
+ height: number;
12836
+ id: string;
12837
+ keg_id: string;
12838
+ label: string | null;
12839
+ layer: number;
12840
+ layer_height: number | null;
12841
+ layer_width: number | null;
12842
+ manual_overridden_at: string | null;
12843
+ manual_overridden_by: string | null;
12844
+ manual_override: boolean;
12845
+ order_item_id: string | null;
12846
+ original_layer: number | null;
12847
+ original_x: number | null;
12848
+ original_y: number | null;
12849
+ product_id: string | null;
12850
+ rotation: number;
12851
+ source: string | null;
12852
+ updated_at: string;
12853
+ width: number;
12854
+ x: number;
12855
+ y: number;
12856
+ };
12857
+ Insert: {
12858
+ algorithm_version?: number | null;
12859
+ cart_id: string;
12860
+ created_at?: string;
12861
+ height: number;
12862
+ id?: string;
12863
+ keg_id: string;
12864
+ label?: string | null;
12865
+ layer: number;
12866
+ layer_height?: number | null;
12867
+ layer_width?: number | null;
12868
+ manual_overridden_at?: string | null;
12869
+ manual_overridden_by?: string | null;
12870
+ manual_override?: boolean;
12871
+ order_item_id?: string | null;
12872
+ original_layer?: number | null;
12873
+ original_x?: number | null;
12874
+ original_y?: number | null;
12875
+ product_id?: string | null;
12876
+ rotation?: number;
12877
+ source?: string | null;
12878
+ updated_at?: string;
12879
+ width: number;
12880
+ x: number;
12881
+ y: number;
12882
+ };
12883
+ Update: {
12884
+ algorithm_version?: number | null;
12885
+ cart_id?: string;
12886
+ created_at?: string;
12887
+ height?: number;
12888
+ id?: string;
12889
+ keg_id?: string;
12890
+ label?: string | null;
12891
+ layer?: number;
12892
+ layer_height?: number | null;
12893
+ layer_width?: number | null;
12894
+ manual_overridden_at?: string | null;
12895
+ manual_overridden_by?: string | null;
12896
+ manual_override?: boolean;
12897
+ order_item_id?: string | null;
12898
+ original_layer?: number | null;
12899
+ original_x?: number | null;
12900
+ original_y?: number | null;
12901
+ product_id?: string | null;
12902
+ rotation?: number;
12903
+ source?: string | null;
12904
+ updated_at?: string;
12905
+ width?: number;
12906
+ x?: number;
12907
+ y?: number;
12908
+ };
12909
+ Relationships: [{
12910
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12911
+ columns: ["cart_id"];
12912
+ isOneToOne: false;
12913
+ referencedRelation: "order_carts";
12914
+ referencedColumns: ["id"];
12915
+ }];
12916
+ };
12389
12917
  order_carts: {
12390
12918
  Row: {
12391
12919
  algorithm_version: number;
@@ -12397,6 +12925,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12397
12925
  id: string;
12398
12926
  is_auto: boolean;
12399
12927
  is_complete: boolean;
12928
+ layout_method: string | null;
12400
12929
  max_layers: number | null;
12401
12930
  moved_at: string | null;
12402
12931
  moved_from_moment_id: string | null;
@@ -12407,6 +12936,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12407
12936
  pickup_locked: boolean;
12408
12937
  pickup_moment_id: string | null;
12409
12938
  source: string;
12939
+ total_carts: number | null;
12410
12940
  total_layers_used: number;
12411
12941
  updated_at: string;
12412
12942
  weight_kg: number | null;
@@ -12421,6 +12951,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12421
12951
  id?: string;
12422
12952
  is_auto?: boolean;
12423
12953
  is_complete?: boolean;
12954
+ layout_method?: string | null;
12424
12955
  max_layers?: number | null;
12425
12956
  moved_at?: string | null;
12426
12957
  moved_from_moment_id?: string | null;
@@ -12431,6 +12962,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12431
12962
  pickup_locked?: boolean;
12432
12963
  pickup_moment_id?: string | null;
12433
12964
  source?: string;
12965
+ total_carts?: number | null;
12434
12966
  total_layers_used?: number;
12435
12967
  updated_at?: string;
12436
12968
  weight_kg?: number | null;
@@ -12445,6 +12977,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12445
12977
  id?: string;
12446
12978
  is_auto?: boolean;
12447
12979
  is_complete?: boolean;
12980
+ layout_method?: string | null;
12448
12981
  max_layers?: number | null;
12449
12982
  moved_at?: string | null;
12450
12983
  moved_from_moment_id?: string | null;
@@ -12455,6 +12988,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12455
12988
  pickup_locked?: boolean;
12456
12989
  pickup_moment_id?: string | null;
12457
12990
  source?: string;
12991
+ total_carts?: number | null;
12458
12992
  total_layers_used?: number;
12459
12993
  updated_at?: string;
12460
12994
  weight_kg?: number | null;
@@ -12557,6 +13091,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12557
13091
  };
12558
13092
  Relationships: [];
12559
13093
  };
13094
+ order_fust_bookings: {
13095
+ Row: {
13096
+ created_at: string;
13097
+ fust_type_id: string;
13098
+ id: string;
13099
+ order_item_id: string;
13100
+ quantity: number;
13101
+ updated_at: string;
13102
+ };
13103
+ Insert: {
13104
+ created_at?: string;
13105
+ fust_type_id: string;
13106
+ id?: string;
13107
+ order_item_id: string;
13108
+ quantity?: number;
13109
+ updated_at?: string;
13110
+ };
13111
+ Update: {
13112
+ created_at?: string;
13113
+ fust_type_id?: string;
13114
+ id?: string;
13115
+ order_item_id?: string;
13116
+ quantity?: number;
13117
+ updated_at?: string;
13118
+ };
13119
+ Relationships: [{
13120
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13121
+ columns: ["fust_type_id"];
13122
+ isOneToOne: false;
13123
+ referencedRelation: "fust_types";
13124
+ referencedColumns: ["id"];
13125
+ }];
13126
+ };
12560
13127
  order_invoice_links: {
12561
13128
  Row: {
12562
13129
  administration_code: string | null;
@@ -12645,6 +13212,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12645
13212
  isOneToOne: false;
12646
13213
  referencedRelation: "orders";
12647
13214
  referencedColumns: ["id"];
13215
+ }, {
13216
+ foreignKeyName: "order_items_product_id_fkey";
13217
+ columns: ["product_id"];
13218
+ isOneToOne: false;
13219
+ referencedRelation: "logistics_product_dimensions";
13220
+ referencedColumns: ["product_id"];
12648
13221
  }, {
12649
13222
  foreignKeyName: "order_items_product_id_fkey";
12650
13223
  columns: ["product_id"];
@@ -12792,6 +13365,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12792
13365
  plan_locked_at: string | null;
12793
13366
  plan_locked_ref: string | null;
12794
13367
  status: string;
13368
+ status_changed_at: string;
13369
+ status_origin: string;
13370
+ status_sync_token: string | null;
12795
13371
  total: string;
12796
13372
  updated_at: string;
12797
13373
  };
@@ -12816,6 +13392,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12816
13392
  plan_locked_at?: string | null;
12817
13393
  plan_locked_ref?: string | null;
12818
13394
  status?: string;
13395
+ status_changed_at?: string;
13396
+ status_origin?: string;
13397
+ status_sync_token?: string | null;
12819
13398
  total?: string;
12820
13399
  updated_at?: string;
12821
13400
  };
@@ -12840,6 +13419,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12840
13419
  plan_locked_at?: string | null;
12841
13420
  plan_locked_ref?: string | null;
12842
13421
  status?: string;
13422
+ status_changed_at?: string;
13423
+ status_origin?: string;
13424
+ status_sync_token?: string | null;
12843
13425
  total?: string;
12844
13426
  updated_at?: string;
12845
13427
  };
@@ -12893,6 +13475,132 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12893
13475
  };
12894
13476
  Relationships: [];
12895
13477
  };
13478
+ pakbon_barcode_inhoud: {
13479
+ Row: {
13480
+ barcode: string;
13481
+ cart_id: string | null;
13482
+ cart_index: number | null;
13483
+ cart_label: string | null;
13484
+ cart_total: number | null;
13485
+ created_at: string;
13486
+ is_herprint: boolean;
13487
+ klant_naam: string | null;
13488
+ klant_nummer: string | null;
13489
+ layout_id: string | null;
13490
+ layout_variant: string | null;
13491
+ order_nummer: string | null;
13492
+ order_ref: string | null;
13493
+ print_job_id: string | null;
13494
+ regels: import("./types").Json;
13495
+ updated_at: string;
13496
+ };
13497
+ Insert: {
13498
+ barcode: string;
13499
+ cart_id?: string | null;
13500
+ cart_index?: number | null;
13501
+ cart_label?: string | null;
13502
+ cart_total?: number | null;
13503
+ created_at?: string;
13504
+ is_herprint?: boolean;
13505
+ klant_naam?: string | null;
13506
+ klant_nummer?: string | null;
13507
+ layout_id?: string | null;
13508
+ layout_variant?: string | null;
13509
+ order_nummer?: string | null;
13510
+ order_ref?: string | null;
13511
+ print_job_id?: string | null;
13512
+ regels?: import("./types").Json;
13513
+ updated_at?: string;
13514
+ };
13515
+ Update: {
13516
+ barcode?: string;
13517
+ cart_id?: string | null;
13518
+ cart_index?: number | null;
13519
+ cart_label?: string | null;
13520
+ cart_total?: number | null;
13521
+ created_at?: string;
13522
+ is_herprint?: boolean;
13523
+ klant_naam?: string | null;
13524
+ klant_nummer?: string | null;
13525
+ layout_id?: string | null;
13526
+ layout_variant?: string | null;
13527
+ order_nummer?: string | null;
13528
+ order_ref?: string | null;
13529
+ print_job_id?: string | null;
13530
+ regels?: import("./types").Json;
13531
+ updated_at?: string;
13532
+ };
13533
+ Relationships: [];
13534
+ };
13535
+ pakbon_barcode_verzoeken: {
13536
+ Row: {
13537
+ aangevraagd_op: string;
13538
+ barcode: string | null;
13539
+ cart_id: string | null;
13540
+ cart_index: number | null;
13541
+ cart_label: string | null;
13542
+ cart_total: number | null;
13543
+ documentnaam: string | null;
13544
+ geleverd_op: string | null;
13545
+ id: string;
13546
+ is_herprint: boolean;
13547
+ klant_naam: string | null;
13548
+ klant_nummer: string | null;
13549
+ laatst_gevraagd_op: string;
13550
+ layout_id: string | null;
13551
+ layout_variant: string | null;
13552
+ order_nummer: string | null;
13553
+ order_ref: string | null;
13554
+ print_job_id: string;
13555
+ status: string;
13556
+ updated_at: string;
13557
+ };
13558
+ Insert: {
13559
+ aangevraagd_op?: string;
13560
+ barcode?: string | null;
13561
+ cart_id?: string | null;
13562
+ cart_index?: number | null;
13563
+ cart_label?: string | null;
13564
+ cart_total?: number | null;
13565
+ documentnaam?: string | null;
13566
+ geleverd_op?: string | null;
13567
+ id?: string;
13568
+ is_herprint?: boolean;
13569
+ klant_naam?: string | null;
13570
+ klant_nummer?: string | null;
13571
+ laatst_gevraagd_op?: string;
13572
+ layout_id?: string | null;
13573
+ layout_variant?: string | null;
13574
+ order_nummer?: string | null;
13575
+ order_ref?: string | null;
13576
+ print_job_id: string;
13577
+ status?: string;
13578
+ updated_at?: string;
13579
+ };
13580
+ Update: {
13581
+ aangevraagd_op?: string;
13582
+ barcode?: string | null;
13583
+ cart_id?: string | null;
13584
+ cart_index?: number | null;
13585
+ cart_label?: string | null;
13586
+ cart_total?: number | null;
13587
+ documentnaam?: string | null;
13588
+ geleverd_op?: string | null;
13589
+ id?: string;
13590
+ is_herprint?: boolean;
13591
+ klant_naam?: string | null;
13592
+ klant_nummer?: string | null;
13593
+ laatst_gevraagd_op?: string;
13594
+ layout_id?: string | null;
13595
+ layout_variant?: string | null;
13596
+ order_nummer?: string | null;
13597
+ order_ref?: string | null;
13598
+ print_job_id?: string;
13599
+ status?: string;
13600
+ updated_at?: string;
13601
+ };
13602
+ Relationships: [];
13603
+ };
12896
13604
  pick_countries: {
12897
13605
  Row: {
12898
13606
  active: boolean;
@@ -13050,6 +13758,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13050
13758
  print_job_id: string | null;
13051
13759
  printed_at: string | null;
13052
13760
  printed_by: string | null;
13761
+ printed_cart_ids: import("./types").Json;
13053
13762
  printer_id: string | null;
13054
13763
  priority: number;
13055
13764
  reference: string | null;
@@ -13084,6 +13793,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13084
13793
  print_job_id?: string | null;
13085
13794
  printed_at?: string | null;
13086
13795
  printed_by?: string | null;
13796
+ printed_cart_ids?: import("./types").Json;
13087
13797
  printer_id?: string | null;
13088
13798
  priority?: number;
13089
13799
  reference?: string | null;
@@ -13118,6 +13828,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13118
13828
  print_job_id?: string | null;
13119
13829
  printed_at?: string | null;
13120
13830
  printed_by?: string | null;
13831
+ printed_cart_ids?: import("./types").Json;
13121
13832
  printer_id?: string | null;
13122
13833
  priority?: number;
13123
13834
  reference?: string | null;
@@ -13968,6 +14679,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
13968
14679
  isOneToOne: false;
13969
14680
  referencedRelation: "werkbonnen";
13970
14681
  referencedColumns: ["id"];
14682
+ }, {
14683
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14684
+ columns: ["werkbon_id"];
14685
+ isOneToOne: false;
14686
+ referencedRelation: "wo_overview";
14687
+ referencedColumns: ["id"];
13971
14688
  }];
13972
14689
  };
13973
14690
  print_agents: {
@@ -14083,12 +14800,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14083
14800
  };
14084
14801
  print_jobs: {
14085
14802
  Row: {
14803
+ aflever_pogingen: number;
14086
14804
  agent_id: string | null;
14805
+ artefact_bytes: number | null;
14806
+ artefact_gereed_op: string | null;
14807
+ artefact_pad: string | null;
14808
+ artefact_sha256: string | null;
14809
+ batch_id: string | null;
14087
14810
  bron_job_id: string | null;
14088
14811
  created_at: string;
14089
14812
  documentnaam: string;
14090
14813
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14091
14814
  extern_job_id: string | null;
14815
+ fase_gestart_op: string | null;
14816
+ fase_voltooid_op: string | null;
14817
+ foutcode: string | null;
14092
14818
  foutmelding: string | null;
14093
14819
  gebruiker_id: string | null;
14094
14820
  gebruiker_naam: string;
@@ -14102,7 +14828,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14102
14828
  kopieen: number;
14103
14829
  layout_id: string | null;
14104
14830
  lokaal_opgeslagen_op: string | null;
14831
+ lokale_pdf_claim_id: string | null;
14832
+ lokale_pdf_claim_tot: string | null;
14105
14833
  lokale_pdf_fout: string | null;
14834
+ lokale_pdf_print_plek_id: string | null;
14106
14835
  lokale_pdf_status: string | null;
14107
14836
  opgepakt_op: string | null;
14108
14837
  paginas: number;
@@ -14115,16 +14844,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14115
14844
  resultaat_pdf_base64: string | null;
14116
14845
  status: Database["public"]["Enums"]["print_job_status"];
14117
14846
  updated_at: string;
14847
+ verwerkingsfase: string;
14118
14848
  volgende_poging: string | null;
14119
14849
  voltooid_op: string | null;
14120
14850
  };
14121
14851
  Insert: {
14852
+ aflever_pogingen?: number;
14122
14853
  agent_id?: string | null;
14854
+ artefact_bytes?: number | null;
14855
+ artefact_gereed_op?: string | null;
14856
+ artefact_pad?: string | null;
14857
+ artefact_sha256?: string | null;
14858
+ batch_id?: string | null;
14123
14859
  bron_job_id?: string | null;
14124
14860
  created_at?: string;
14125
14861
  documentnaam?: string;
14126
14862
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14127
14863
  extern_job_id?: string | null;
14864
+ fase_gestart_op?: string | null;
14865
+ fase_voltooid_op?: string | null;
14866
+ foutcode?: string | null;
14128
14867
  foutmelding?: string | null;
14129
14868
  gebruiker_id?: string | null;
14130
14869
  gebruiker_naam?: string;
@@ -14138,7 +14877,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14138
14877
  kopieen?: number;
14139
14878
  layout_id?: string | null;
14140
14879
  lokaal_opgeslagen_op?: string | null;
14880
+ lokale_pdf_claim_id?: string | null;
14881
+ lokale_pdf_claim_tot?: string | null;
14141
14882
  lokale_pdf_fout?: string | null;
14883
+ lokale_pdf_print_plek_id?: string | null;
14142
14884
  lokale_pdf_status?: string | null;
14143
14885
  opgepakt_op?: string | null;
14144
14886
  paginas?: number;
@@ -14151,16 +14893,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14151
14893
  resultaat_pdf_base64?: string | null;
14152
14894
  status?: Database["public"]["Enums"]["print_job_status"];
14153
14895
  updated_at?: string;
14896
+ verwerkingsfase?: string;
14154
14897
  volgende_poging?: string | null;
14155
14898
  voltooid_op?: string | null;
14156
14899
  };
14157
14900
  Update: {
14901
+ aflever_pogingen?: number;
14158
14902
  agent_id?: string | null;
14903
+ artefact_bytes?: number | null;
14904
+ artefact_gereed_op?: string | null;
14905
+ artefact_pad?: string | null;
14906
+ artefact_sha256?: string | null;
14907
+ batch_id?: string | null;
14159
14908
  bron_job_id?: string | null;
14160
14909
  created_at?: string;
14161
14910
  documentnaam?: string;
14162
14911
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14163
14912
  extern_job_id?: string | null;
14913
+ fase_gestart_op?: string | null;
14914
+ fase_voltooid_op?: string | null;
14915
+ foutcode?: string | null;
14164
14916
  foutmelding?: string | null;
14165
14917
  gebruiker_id?: string | null;
14166
14918
  gebruiker_naam?: string;
@@ -14174,7 +14926,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14174
14926
  kopieen?: number;
14175
14927
  layout_id?: string | null;
14176
14928
  lokaal_opgeslagen_op?: string | null;
14929
+ lokale_pdf_claim_id?: string | null;
14930
+ lokale_pdf_claim_tot?: string | null;
14177
14931
  lokale_pdf_fout?: string | null;
14932
+ lokale_pdf_print_plek_id?: string | null;
14178
14933
  lokale_pdf_status?: string | null;
14179
14934
  opgepakt_op?: string | null;
14180
14935
  paginas?: number;
@@ -14187,6 +14942,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14187
14942
  resultaat_pdf_base64?: string | null;
14188
14943
  status?: Database["public"]["Enums"]["print_job_status"];
14189
14944
  updated_at?: string;
14945
+ verwerkingsfase?: string;
14190
14946
  volgende_poging?: string | null;
14191
14947
  voltooid_op?: string | null;
14192
14948
  };
@@ -14202,6 +14958,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14202
14958
  isOneToOne: false;
14203
14959
  referencedRelation: "document_layouts";
14204
14960
  referencedColumns: ["id"];
14961
+ }, {
14962
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14963
+ columns: ["lokale_pdf_print_plek_id"];
14964
+ isOneToOne: false;
14965
+ referencedRelation: "print_plekken";
14966
+ referencedColumns: ["id"];
14205
14967
  }, {
14206
14968
  foreignKeyName: "print_jobs_printer_id_fkey";
14207
14969
  columns: ["printer_id"];
@@ -14336,6 +15098,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14336
15098
  };
14337
15099
  Relationships: [];
14338
15100
  };
15101
+ print_queue_leases: {
15102
+ Row: {
15103
+ created_at: string;
15104
+ houder: string;
15105
+ naam: string;
15106
+ updated_at: string;
15107
+ verloopt_op: string;
15108
+ };
15109
+ Insert: {
15110
+ created_at?: string;
15111
+ houder: string;
15112
+ naam: string;
15113
+ updated_at?: string;
15114
+ verloopt_op: string;
15115
+ };
15116
+ Update: {
15117
+ created_at?: string;
15118
+ houder?: string;
15119
+ naam?: string;
15120
+ updated_at?: string;
15121
+ verloopt_op?: string;
15122
+ };
15123
+ Relationships: [];
15124
+ };
14339
15125
  print_queue_runners: {
14340
15126
  Row: {
14341
15127
  actief: boolean;
@@ -14345,7 +15131,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14345
15131
  laatst_gezien: string;
14346
15132
  laatste_fout: string | null;
14347
15133
  laatste_request_id: number | null;
15134
+ laatste_wakeup: string | null;
14348
15135
  mislukte_posts: number;
15136
+ mislukte_wakeups: number;
14349
15137
  tick_sleutel: string;
14350
15138
  updated_at: string;
14351
15139
  };
@@ -14357,7 +15145,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14357
15145
  laatst_gezien?: string;
14358
15146
  laatste_fout?: string | null;
14359
15147
  laatste_request_id?: number | null;
15148
+ laatste_wakeup?: string | null;
14360
15149
  mislukte_posts?: number;
15150
+ mislukte_wakeups?: number;
14361
15151
  tick_sleutel?: string;
14362
15152
  updated_at?: string;
14363
15153
  };
@@ -14369,7 +15159,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14369
15159
  laatst_gezien?: string;
14370
15160
  laatste_fout?: string | null;
14371
15161
  laatste_request_id?: number | null;
15162
+ laatste_wakeup?: string | null;
14372
15163
  mislukte_posts?: number;
15164
+ mislukte_wakeups?: number;
14373
15165
  tick_sleutel?: string;
14374
15166
  updated_at?: string;
14375
15167
  };
@@ -14683,6 +15475,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14683
15475
  updated_at?: string;
14684
15476
  };
14685
15477
  Relationships: [{
15478
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15479
+ columns: ["parent_product_id"];
15480
+ isOneToOne: false;
15481
+ referencedRelation: "logistics_product_dimensions";
15482
+ referencedColumns: ["product_id"];
15483
+ }, {
14686
15484
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14687
15485
  columns: ["parent_product_id"];
14688
15486
  isOneToOne: false;
@@ -14737,11 +15535,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14737
15535
  updated_at?: string;
14738
15536
  };
14739
15537
  Relationships: [{
15538
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15539
+ columns: ["component_product_id"];
15540
+ isOneToOne: false;
15541
+ referencedRelation: "logistics_product_dimensions";
15542
+ referencedColumns: ["product_id"];
15543
+ }, {
14740
15544
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14741
15545
  columns: ["component_product_id"];
14742
15546
  isOneToOne: false;
14743
15547
  referencedRelation: "products";
14744
15548
  referencedColumns: ["id"];
15549
+ }, {
15550
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15551
+ columns: ["parent_product_id"];
15552
+ isOneToOne: false;
15553
+ referencedRelation: "logistics_product_dimensions";
15554
+ referencedColumns: ["product_id"];
14745
15555
  }, {
14746
15556
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14747
15557
  columns: ["parent_product_id"];
@@ -14917,6 +15727,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14917
15727
  updated_at?: string;
14918
15728
  };
14919
15729
  Relationships: [{
15730
+ foreignKeyName: "product_groups_head_product_id_fkey";
15731
+ columns: ["head_product_id"];
15732
+ isOneToOne: false;
15733
+ referencedRelation: "logistics_product_dimensions";
15734
+ referencedColumns: ["product_id"];
15735
+ }, {
14920
15736
  foreignKeyName: "product_groups_head_product_id_fkey";
14921
15737
  columns: ["head_product_id"];
14922
15738
  isOneToOne: false;
@@ -14986,9 +15802,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14986
15802
  foreignKeyName: "product_load_settings_product_id_fkey";
14987
15803
  columns: ["product_id"];
14988
15804
  isOneToOne: false;
14989
- referencedRelation: "products";
14990
- referencedColumns: ["id"];
14991
- }];
15805
+ referencedRelation: "logistics_product_dimensions";
15806
+ referencedColumns: ["product_id"];
15807
+ }, {
15808
+ foreignKeyName: "product_load_settings_product_id_fkey";
15809
+ columns: ["product_id"];
15810
+ isOneToOne: false;
15811
+ referencedRelation: "products";
15812
+ referencedColumns: ["id"];
15813
+ }];
14992
15814
  };
14993
15815
  product_merge_log: {
14994
15816
  Row: {
@@ -15032,6 +15854,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15032
15854
  created_at: string;
15033
15855
  custom_fields: import("./types").Json;
15034
15856
  floriday_trade_item_id: string | null;
15857
+ fust_type_id: string | null;
15035
15858
  id: string;
15036
15859
  image_url: string | null;
15037
15860
  incoming_quantity: number;
@@ -15039,6 +15862,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15039
15862
  layers_per_cart: number;
15040
15863
  location: string;
15041
15864
  min_quantity: number;
15865
+ plant_height_cm: number | null;
15042
15866
  plants_per_crate: number;
15043
15867
  product: string;
15044
15868
  product_type: string;
@@ -15058,6 +15882,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15058
15882
  created_at?: string;
15059
15883
  custom_fields?: import("./types").Json;
15060
15884
  floriday_trade_item_id?: string | null;
15885
+ fust_type_id?: string | null;
15061
15886
  id?: string;
15062
15887
  image_url?: string | null;
15063
15888
  incoming_quantity?: number;
@@ -15065,6 +15890,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15065
15890
  layers_per_cart?: number;
15066
15891
  location: string;
15067
15892
  min_quantity?: number;
15893
+ plant_height_cm?: number | null;
15068
15894
  plants_per_crate?: number;
15069
15895
  product: string;
15070
15896
  product_type?: string;
@@ -15084,6 +15910,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15084
15910
  created_at?: string;
15085
15911
  custom_fields?: import("./types").Json;
15086
15912
  floriday_trade_item_id?: string | null;
15913
+ fust_type_id?: string | null;
15087
15914
  id?: string;
15088
15915
  image_url?: string | null;
15089
15916
  incoming_quantity?: number;
@@ -15091,6 +15918,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15091
15918
  layers_per_cart?: number;
15092
15919
  location?: string;
15093
15920
  min_quantity?: number;
15921
+ plant_height_cm?: number | null;
15094
15922
  plants_per_crate?: number;
15095
15923
  product?: string;
15096
15924
  product_type?: string;
@@ -15102,7 +15930,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15102
15930
  updated_at?: string;
15103
15931
  weight?: string | null;
15104
15932
  };
15105
- Relationships: [];
15933
+ Relationships: [{
15934
+ foreignKeyName: "products_fust_type_id_fkey";
15935
+ columns: ["fust_type_id"];
15936
+ isOneToOne: false;
15937
+ referencedRelation: "fust_types";
15938
+ referencedColumns: ["id"];
15939
+ }];
15106
15940
  };
15107
15941
  profile_modules: {
15108
15942
  Row: {
@@ -15436,6 +16270,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15436
16270
  quantity?: number;
15437
16271
  };
15438
16272
  Relationships: [{
16273
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16274
+ columns: ["product_id"];
16275
+ isOneToOne: false;
16276
+ referencedRelation: "logistics_product_dimensions";
16277
+ referencedColumns: ["product_id"];
16278
+ }, {
15439
16279
  foreignKeyName: "purchase_order_items_product_id_fkey";
15440
16280
  columns: ["product_id"];
15441
16281
  isOneToOne: false;
@@ -15755,6 +16595,102 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15755
16595
  referencedColumns: ["id"];
15756
16596
  }];
15757
16597
  };
16598
+ scan_kar_sessie_regels: {
16599
+ Row: {
16600
+ barcode: string;
16601
+ cart_id: string | null;
16602
+ created_at: string;
16603
+ id: string;
16604
+ order_id: string | null;
16605
+ order_number: string | null;
16606
+ regels: import("./types").Json;
16607
+ sessie_id: string;
16608
+ volledig: boolean;
16609
+ };
16610
+ Insert: {
16611
+ barcode: string;
16612
+ cart_id?: string | null;
16613
+ created_at?: string;
16614
+ id?: string;
16615
+ order_id?: string | null;
16616
+ order_number?: string | null;
16617
+ regels?: import("./types").Json;
16618
+ sessie_id: string;
16619
+ volledig?: boolean;
16620
+ };
16621
+ Update: {
16622
+ barcode?: string;
16623
+ cart_id?: string | null;
16624
+ created_at?: string;
16625
+ id?: string;
16626
+ order_id?: string | null;
16627
+ order_number?: string | null;
16628
+ regels?: import("./types").Json;
16629
+ sessie_id?: string;
16630
+ volledig?: boolean;
16631
+ };
16632
+ Relationships: [{
16633
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16634
+ columns: ["sessie_id"];
16635
+ isOneToOne: false;
16636
+ referencedRelation: "scan_kar_sessies";
16637
+ referencedColumns: ["id"];
16638
+ }];
16639
+ };
16640
+ scan_kar_sessies: {
16641
+ Row: {
16642
+ afgerond_op: string | null;
16643
+ cart_id: string | null;
16644
+ cart_index: number | null;
16645
+ cart_total: number | null;
16646
+ created_at: string;
16647
+ id: string;
16648
+ klant_naam: string | null;
16649
+ medewerker_naam: string | null;
16650
+ order_id: string | null;
16651
+ order_number: string | null;
16652
+ scanner_id: string | null;
16653
+ status: string;
16654
+ updated_at: string;
16655
+ };
16656
+ Insert: {
16657
+ afgerond_op?: string | null;
16658
+ cart_id?: string | null;
16659
+ cart_index?: number | null;
16660
+ cart_total?: number | null;
16661
+ created_at?: string;
16662
+ id?: string;
16663
+ klant_naam?: string | null;
16664
+ medewerker_naam?: string | null;
16665
+ order_id?: string | null;
16666
+ order_number?: string | null;
16667
+ scanner_id?: string | null;
16668
+ status?: string;
16669
+ updated_at?: string;
16670
+ };
16671
+ Update: {
16672
+ afgerond_op?: string | null;
16673
+ cart_id?: string | null;
16674
+ cart_index?: number | null;
16675
+ cart_total?: number | null;
16676
+ created_at?: string;
16677
+ id?: string;
16678
+ klant_naam?: string | null;
16679
+ medewerker_naam?: string | null;
16680
+ order_id?: string | null;
16681
+ order_number?: string | null;
16682
+ scanner_id?: string | null;
16683
+ status?: string;
16684
+ updated_at?: string;
16685
+ };
16686
+ Relationships: [{
16687
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16688
+ columns: ["scanner_id"];
16689
+ isOneToOne: false;
16690
+ referencedRelation: "scan_scanners";
16691
+ referencedColumns: ["id"];
16692
+ }];
16693
+ };
15758
16694
  scan_karren: {
15759
16695
  Row: {
15760
16696
  afgerond_op: string | null;
@@ -15959,6 +16895,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15959
16895
  };
15960
16896
  Relationships: [];
15961
16897
  };
16898
+ scan_restpakbonnen: {
16899
+ Row: {
16900
+ barcode: string;
16901
+ bron_barcode: string | null;
16902
+ cart_id: string | null;
16903
+ cart_index: number | null;
16904
+ cart_total: number | null;
16905
+ created_at: string;
16906
+ geprint_op: string | null;
16907
+ id: string;
16908
+ klant_naam: string | null;
16909
+ order_id: string | null;
16910
+ order_number: string | null;
16911
+ print_job_id: string | null;
16912
+ regels: import("./types").Json;
16913
+ updated_at: string;
16914
+ verwerkt: boolean;
16915
+ };
16916
+ Insert: {
16917
+ barcode: string;
16918
+ bron_barcode?: string | null;
16919
+ cart_id?: string | null;
16920
+ cart_index?: number | null;
16921
+ cart_total?: number | null;
16922
+ created_at?: string;
16923
+ geprint_op?: string | null;
16924
+ id?: string;
16925
+ klant_naam?: string | null;
16926
+ order_id?: string | null;
16927
+ order_number?: string | null;
16928
+ print_job_id?: string | null;
16929
+ regels?: import("./types").Json;
16930
+ updated_at?: string;
16931
+ verwerkt?: boolean;
16932
+ };
16933
+ Update: {
16934
+ barcode?: string;
16935
+ bron_barcode?: string | null;
16936
+ cart_id?: string | null;
16937
+ cart_index?: number | null;
16938
+ cart_total?: number | null;
16939
+ created_at?: string;
16940
+ geprint_op?: string | null;
16941
+ id?: string;
16942
+ klant_naam?: string | null;
16943
+ order_id?: string | null;
16944
+ order_number?: string | null;
16945
+ print_job_id?: string | null;
16946
+ regels?: import("./types").Json;
16947
+ updated_at?: string;
16948
+ verwerkt?: boolean;
16949
+ };
16950
+ Relationships: [];
16951
+ };
15962
16952
  scan_scanners: {
15963
16953
  Row: {
15964
16954
  actief: boolean;
@@ -15968,6 +16958,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15968
16958
  naam: string;
15969
16959
  omschrijving: string | null;
15970
16960
  pincode: string | null;
16961
+ printer_id: string | null;
15971
16962
  slug: string;
15972
16963
  type: string;
15973
16964
  updated_at: string;
@@ -15982,6 +16973,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15982
16973
  naam: string;
15983
16974
  omschrijving?: string | null;
15984
16975
  pincode?: string | null;
16976
+ printer_id?: string | null;
15985
16977
  slug: string;
15986
16978
  type?: string;
15987
16979
  updated_at?: string;
@@ -15996,6 +16988,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15996
16988
  naam?: string;
15997
16989
  omschrijving?: string | null;
15998
16990
  pincode?: string | null;
16991
+ printer_id?: string | null;
15999
16992
  slug?: string;
16000
16993
  type?: string;
16001
16994
  updated_at?: string;
@@ -16004,6 +16997,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16004
16997
  };
16005
16998
  Relationships: [];
16006
16999
  };
17000
+ shell_settings: {
17001
+ Row: {
17002
+ created_at: string;
17003
+ default_path: string | null;
17004
+ shell_id: string;
17005
+ updated_at: string;
17006
+ };
17007
+ Insert: {
17008
+ created_at?: string;
17009
+ default_path?: string | null;
17010
+ shell_id: string;
17011
+ updated_at?: string;
17012
+ };
17013
+ Update: {
17014
+ created_at?: string;
17015
+ default_path?: string | null;
17016
+ shell_id?: string;
17017
+ updated_at?: string;
17018
+ };
17019
+ Relationships: [];
17020
+ };
16007
17021
  sick_periods: {
16008
17022
  Row: {
16009
17023
  created_at: string;
@@ -16623,6 +17637,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16623
17637
  isOneToOne: false;
16624
17638
  referencedRelation: "werkbonnen";
16625
17639
  referencedColumns: ["id"];
17640
+ }, {
17641
+ foreignKeyName: "time_logs_work_order_id_fkey";
17642
+ columns: ["work_order_id"];
17643
+ isOneToOne: false;
17644
+ referencedRelation: "wo_overview";
17645
+ referencedColumns: ["id"];
16626
17646
  }];
16627
17647
  };
16628
17648
  time_off_entries: {
@@ -17916,6 +18936,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17916
18936
  isOneToOne: false;
17917
18937
  referencedRelation: "werkbonnen";
17918
18938
  referencedColumns: ["id"];
18939
+ }, {
18940
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18941
+ columns: ["werkbon_id"];
18942
+ isOneToOne: false;
18943
+ referencedRelation: "wo_overview";
18944
+ referencedColumns: ["id"];
17919
18945
  }];
17920
18946
  };
17921
18947
  uren_exports: {
@@ -18639,6 +19665,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18639
19665
  isOneToOne: true;
18640
19666
  referencedRelation: "werkbonnen";
18641
19667
  referencedColumns: ["id"];
19668
+ }, {
19669
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19670
+ columns: ["werkbon_id"];
19671
+ isOneToOne: true;
19672
+ referencedRelation: "wo_overview";
19673
+ referencedColumns: ["id"];
18642
19674
  }];
18643
19675
  };
18644
19676
  werkbon_facturatie_settings: {
@@ -18726,6 +19758,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18726
19758
  isOneToOne: false;
18727
19759
  referencedRelation: "werkbonnen";
18728
19760
  referencedColumns: ["id"];
19761
+ }, {
19762
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19763
+ columns: ["werkbon_id"];
19764
+ isOneToOne: false;
19765
+ referencedRelation: "wo_overview";
19766
+ referencedColumns: ["id"];
18729
19767
  }];
18730
19768
  };
18731
19769
  werkbon_package_ai_rules: {
@@ -18909,6 +19947,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18909
19947
  isOneToOne: false;
18910
19948
  referencedRelation: "werkbonnen";
18911
19949
  referencedColumns: ["id"];
19950
+ }, {
19951
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19952
+ columns: ["werkbon_id"];
19953
+ isOneToOne: false;
19954
+ referencedRelation: "wo_overview";
19955
+ referencedColumns: ["id"];
18912
19956
  }];
18913
19957
  };
18914
19958
  werkbon_packages: {
@@ -18999,6 +20043,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18999
20043
  isOneToOne: false;
19000
20044
  referencedRelation: "werkbonnen";
19001
20045
  referencedColumns: ["id"];
20046
+ }, {
20047
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20048
+ columns: ["werkbon_id"];
20049
+ isOneToOne: false;
20050
+ referencedRelation: "wo_overview";
20051
+ referencedColumns: ["id"];
19002
20052
  }];
19003
20053
  };
19004
20054
  werkbon_time_logs: {
@@ -19038,6 +20088,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19038
20088
  isOneToOne: false;
19039
20089
  referencedRelation: "werkbonnen";
19040
20090
  referencedColumns: ["id"];
20091
+ }, {
20092
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20093
+ columns: ["werkbon_id"];
20094
+ isOneToOne: false;
20095
+ referencedRelation: "wo_overview";
20096
+ referencedColumns: ["id"];
19041
20097
  }];
19042
20098
  };
19043
20099
  werkbonnen: {
@@ -19161,6 +20217,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19161
20217
  isOneToOne: false;
19162
20218
  referencedRelation: "werkbonnen";
19163
20219
  referencedColumns: ["id"];
20220
+ }, {
20221
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20222
+ columns: ["parent_werkbon_id"];
20223
+ isOneToOne: false;
20224
+ referencedRelation: "wo_overview";
20225
+ referencedColumns: ["id"];
19164
20226
  }, {
19165
20227
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19166
20228
  columns: ["source_mailbox_message_id"];
@@ -19629,6 +20691,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19629
20691
  };
19630
20692
  Relationships: [];
19631
20693
  };
20694
+ logistics_product_dimensions: {
20695
+ Row: {
20696
+ dimension_source: string | null;
20697
+ fust_height_mm: number | null;
20698
+ fust_length_mm: number | null;
20699
+ fust_name: string | null;
20700
+ fust_source: string | null;
20701
+ fust_type_id: string | null;
20702
+ fust_width_mm: number | null;
20703
+ height_source: string | null;
20704
+ missing_reason: string | null;
20705
+ plant_height_cm: number | null;
20706
+ plants_per_crate: number | null;
20707
+ product_id: string | null;
20708
+ product_name: string | null;
20709
+ };
20710
+ Relationships: [];
20711
+ };
19632
20712
  manufacture_product_possible_stock_view: {
19633
20713
  Row: {
19634
20714
  component_count: number | null;
@@ -19666,6 +20746,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19666
20746
  isOneToOne: false;
19667
20747
  referencedRelation: "werkbonnen";
19668
20748
  referencedColumns: ["id"];
20749
+ }, {
20750
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20751
+ columns: ["werkbon_id"];
20752
+ isOneToOne: false;
20753
+ referencedRelation: "wo_overview";
20754
+ referencedColumns: ["id"];
19669
20755
  }];
19670
20756
  };
19671
20757
  product_group_stock_view: {
@@ -20127,6 +21213,81 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20127
21213
  isOneToOne: false;
20128
21214
  referencedRelation: "werkbonnen";
20129
21215
  referencedColumns: ["id"];
21216
+ }, {
21217
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21218
+ columns: ["werkbon_id"];
21219
+ isOneToOne: false;
21220
+ referencedRelation: "wo_overview";
21221
+ referencedColumns: ["id"];
21222
+ }];
21223
+ };
21224
+ wo_overview: {
21225
+ Row: {
21226
+ assigned_user_id: string | null;
21227
+ budget_mandate_cents: number | null;
21228
+ created_at: string | null;
21229
+ customer_id: string | null;
21230
+ id: string | null;
21231
+ needs_detail_review: boolean | null;
21232
+ number: string | null;
21233
+ parent_werkbon_id: string | null;
21234
+ planning_status: string | null;
21235
+ scheduled_end_time: string | null;
21236
+ scheduled_start_time: string | null;
21237
+ source_type: string | null;
21238
+ status: string | null;
21239
+ technician_id: string | null;
21240
+ updated_at: string | null;
21241
+ work_address: string | null;
21242
+ };
21243
+ Insert: {
21244
+ assigned_user_id?: string | null;
21245
+ budget_mandate_cents?: number | null;
21246
+ created_at?: string | null;
21247
+ customer_id?: string | null;
21248
+ id?: string | null;
21249
+ needs_detail_review?: boolean | null;
21250
+ number?: string | null;
21251
+ parent_werkbon_id?: string | null;
21252
+ planning_status?: string | null;
21253
+ scheduled_end_time?: string | null;
21254
+ scheduled_start_time?: string | null;
21255
+ source_type?: string | null;
21256
+ status?: string | null;
21257
+ technician_id?: string | null;
21258
+ updated_at?: string | null;
21259
+ work_address?: string | null;
21260
+ };
21261
+ Update: {
21262
+ assigned_user_id?: string | null;
21263
+ budget_mandate_cents?: number | null;
21264
+ created_at?: string | null;
21265
+ customer_id?: string | null;
21266
+ id?: string | null;
21267
+ needs_detail_review?: boolean | null;
21268
+ number?: string | null;
21269
+ parent_werkbon_id?: string | null;
21270
+ planning_status?: string | null;
21271
+ scheduled_end_time?: string | null;
21272
+ scheduled_start_time?: string | null;
21273
+ source_type?: string | null;
21274
+ status?: string | null;
21275
+ technician_id?: string | null;
21276
+ updated_at?: string | null;
21277
+ work_address?: string | null;
21278
+ };
21279
+ Relationships: [{
21280
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21281
+ columns: ["parent_werkbon_id"];
21282
+ isOneToOne: false;
21283
+ referencedRelation: "werkbonnen";
21284
+ referencedColumns: ["id"];
21285
+ }, {
21286
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21287
+ columns: ["parent_werkbon_id"];
21288
+ isOneToOne: false;
21289
+ referencedRelation: "wo_overview";
21290
+ referencedColumns: ["id"];
20130
21291
  }];
20131
21292
  };
20132
21293
  };
@@ -20318,12 +21479,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20318
21479
  _max?: number;
20319
21480
  };
20320
21481
  Returns: {
21482
+ aflever_pogingen: number;
20321
21483
  agent_id: string | null;
21484
+ artefact_bytes: number | null;
21485
+ artefact_gereed_op: string | null;
21486
+ artefact_pad: string | null;
21487
+ artefact_sha256: string | null;
21488
+ batch_id: string | null;
20322
21489
  bron_job_id: string | null;
20323
21490
  created_at: string;
20324
21491
  documentnaam: string;
20325
21492
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20326
21493
  extern_job_id: string | null;
21494
+ fase_gestart_op: string | null;
21495
+ fase_voltooid_op: string | null;
21496
+ foutcode: string | null;
20327
21497
  foutmelding: string | null;
20328
21498
  gebruiker_id: string | null;
20329
21499
  gebruiker_naam: string;
@@ -20337,7 +21507,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20337
21507
  kopieen: number;
20338
21508
  layout_id: string | null;
20339
21509
  lokaal_opgeslagen_op: string | null;
21510
+ lokale_pdf_claim_id: string | null;
21511
+ lokale_pdf_claim_tot: string | null;
20340
21512
  lokale_pdf_fout: string | null;
21513
+ lokale_pdf_print_plek_id: string | null;
20341
21514
  lokale_pdf_status: string | null;
20342
21515
  opgepakt_op: string | null;
20343
21516
  paginas: number;
@@ -20350,6 +21523,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20350
21523
  resultaat_pdf_base64: string | null;
20351
21524
  status: Database["public"]["Enums"]["print_job_status"];
20352
21525
  updated_at: string;
21526
+ verwerkingsfase: string;
20353
21527
  volgende_poging: string | null;
20354
21528
  voltooid_op: string | null;
20355
21529
  }[];
@@ -20396,6 +21570,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20396
21570
  isSetofReturn: true;
20397
21571
  };
20398
21572
  };
21573
+ claim_local_pdf_jobs: {
21574
+ Args: {
21575
+ _max?: number;
21576
+ _print_plek_id: string;
21577
+ _writer_id: string;
21578
+ };
21579
+ Returns: {
21580
+ artefact_bytes: number;
21581
+ artefact_pad: string;
21582
+ artefact_sha256: string;
21583
+ documentnaam: string;
21584
+ id: string;
21585
+ lokale_pdf_print_plek_id: string;
21586
+ lokale_pdf_status: string;
21587
+ printer_id: string;
21588
+ resultaat_pdf_base64: string;
21589
+ status: string;
21590
+ }[];
21591
+ };
20399
21592
  claim_logistics_tasks: {
20400
21593
  Args: {
20401
21594
  _limit?: number;
@@ -20449,12 +21642,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20449
21642
  _max?: number;
20450
21643
  };
20451
21644
  Returns: {
21645
+ aflever_pogingen: number;
20452
21646
  agent_id: string | null;
21647
+ artefact_bytes: number | null;
21648
+ artefact_gereed_op: string | null;
21649
+ artefact_pad: string | null;
21650
+ artefact_sha256: string | null;
21651
+ batch_id: string | null;
20453
21652
  bron_job_id: string | null;
20454
21653
  created_at: string;
20455
21654
  documentnaam: string;
20456
21655
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20457
21656
  extern_job_id: string | null;
21657
+ fase_gestart_op: string | null;
21658
+ fase_voltooid_op: string | null;
21659
+ foutcode: string | null;
20458
21660
  foutmelding: string | null;
20459
21661
  gebruiker_id: string | null;
20460
21662
  gebruiker_naam: string;
@@ -20468,7 +21670,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20468
21670
  kopieen: number;
20469
21671
  layout_id: string | null;
20470
21672
  lokaal_opgeslagen_op: string | null;
21673
+ lokale_pdf_claim_id: string | null;
21674
+ lokale_pdf_claim_tot: string | null;
20471
21675
  lokale_pdf_fout: string | null;
21676
+ lokale_pdf_print_plek_id: string | null;
20472
21677
  lokale_pdf_status: string | null;
20473
21678
  opgepakt_op: string | null;
20474
21679
  paginas: number;
@@ -20481,6 +21686,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20481
21686
  resultaat_pdf_base64: string | null;
20482
21687
  status: Database["public"]["Enums"]["print_job_status"];
20483
21688
  updated_at: string;
21689
+ verwerkingsfase: string;
20484
21690
  volgende_poging: string | null;
20485
21691
  voltooid_op: string | null;
20486
21692
  }[];
@@ -20497,12 +21703,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20497
21703
  _max?: number;
20498
21704
  };
20499
21705
  Returns: {
21706
+ aflever_pogingen: number;
20500
21707
  agent_id: string | null;
21708
+ artefact_bytes: number | null;
21709
+ artefact_gereed_op: string | null;
21710
+ artefact_pad: string | null;
21711
+ artefact_sha256: string | null;
21712
+ batch_id: string | null;
20501
21713
  bron_job_id: string | null;
20502
21714
  created_at: string;
20503
21715
  documentnaam: string;
20504
21716
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20505
21717
  extern_job_id: string | null;
21718
+ fase_gestart_op: string | null;
21719
+ fase_voltooid_op: string | null;
21720
+ foutcode: string | null;
20506
21721
  foutmelding: string | null;
20507
21722
  gebruiker_id: string | null;
20508
21723
  gebruiker_naam: string;
@@ -20516,7 +21731,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20516
21731
  kopieen: number;
20517
21732
  layout_id: string | null;
20518
21733
  lokaal_opgeslagen_op: string | null;
21734
+ lokale_pdf_claim_id: string | null;
21735
+ lokale_pdf_claim_tot: string | null;
20519
21736
  lokale_pdf_fout: string | null;
21737
+ lokale_pdf_print_plek_id: string | null;
20520
21738
  lokale_pdf_status: string | null;
20521
21739
  opgepakt_op: string | null;
20522
21740
  paginas: number;
@@ -20529,6 +21747,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20529
21747
  resultaat_pdf_base64: string | null;
20530
21748
  status: Database["public"]["Enums"]["print_job_status"];
20531
21749
  updated_at: string;
21750
+ verwerkingsfase: string;
20532
21751
  volgende_poging: string | null;
20533
21752
  voltooid_op: string | null;
20534
21753
  }[];
@@ -20539,7 +21758,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20539
21758
  isSetofReturn: true;
20540
21759
  };
20541
21760
  };
20542
- claim_twinfield_push_batch: {
21761
+ claim_print_queue_lease: {
21762
+ Args: {
21763
+ _houder: string;
21764
+ _naam: string;
21765
+ _seconden?: number;
21766
+ };
21767
+ Returns: boolean;
21768
+ };
21769
+ claim_twinfield_push_batch: {
20543
21770
  Args: {
20544
21771
  _customer_id?: string;
20545
21772
  _limit?: number;
@@ -20664,7 +21891,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20664
21891
  cart_index: number;
20665
21892
  cart_number: string;
20666
21893
  cart_number_id: string;
21894
+ cart_seq: number;
21895
+ cart_total: number;
20667
21896
  order_id: string;
21897
+ order_number: string;
20668
21898
  order_source: string;
20669
21899
  pick_date: string;
20670
21900
  printed_at: string;
@@ -20672,6 +21902,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20672
21902
  status: string;
20673
21903
  }[];
20674
21904
  };
21905
+ control_mark_carts_delivered: {
21906
+ Args: {
21907
+ p_carts: import("./types").Json;
21908
+ };
21909
+ Returns: number;
21910
+ };
20675
21911
  count_distinct_regulatory_products: {
20676
21912
  Args: never;
20677
21913
  Returns: number;
@@ -20799,6 +22035,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20799
22035
  };
20800
22036
  Returns: undefined;
20801
22037
  };
22038
+ ensure_system_roles: {
22039
+ Args: never;
22040
+ Returns: {
22041
+ action: string;
22042
+ role_key: string;
22043
+ }[];
22044
+ };
20802
22045
  ensure_trade_item_stock_row: {
20803
22046
  Args: {
20804
22047
  p_key: string;
@@ -20865,6 +22108,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20865
22108
  };
20866
22109
  Returns: string;
20867
22110
  };
22111
+ finish_local_pdf_job: {
22112
+ Args: {
22113
+ _fout?: string;
22114
+ _job_id: string;
22115
+ _status: string;
22116
+ _writer_id: string;
22117
+ };
22118
+ Returns: boolean;
22119
+ };
20868
22120
  floriday_capture_stock_snapshot: {
20869
22121
  Args: never;
20870
22122
  Returns: number;
@@ -21144,6 +22396,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21144
22396
  Args: never;
21145
22397
  Returns: string;
21146
22398
  };
22399
+ handover_archief_lijst: {
22400
+ Args: never;
22401
+ Returns: import("./types").Json;
22402
+ };
22403
+ handover_archiveren: {
22404
+ Args: {
22405
+ _archief?: boolean;
22406
+ _module_id: string;
22407
+ };
22408
+ Returns: boolean;
22409
+ };
22410
+ handover_check_afronden: {
22411
+ Args: {
22412
+ _module_id: string;
22413
+ };
22414
+ Returns: boolean;
22415
+ };
22416
+ handover_check_markeren: {
22417
+ Args: {
22418
+ _module_ids: string[];
22419
+ _reden?: string;
22420
+ };
22421
+ Returns: number;
22422
+ };
22423
+ handover_fingerprint_maken: {
22424
+ Args: {
22425
+ _module_id?: string;
22426
+ };
22427
+ Returns: import("./types").Json;
22428
+ };
21147
22429
  handover_get: {
21148
22430
  Args: {
21149
22431
  _module_id: string;
@@ -21174,6 +22456,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21174
22456
  };
21175
22457
  Returns: boolean;
21176
22458
  };
22459
+ handover_module_meta_zetten: {
22460
+ Args: {
22461
+ _module_id: string;
22462
+ _project_url?: string;
22463
+ _publicatie_url?: string;
22464
+ };
22465
+ Returns: boolean;
22466
+ };
21177
22467
  handover_norm_naam: {
21178
22468
  Args: {
21179
22469
  _naam: string;
@@ -21194,6 +22484,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21194
22484
  };
21195
22485
  Returns: number;
21196
22486
  };
22487
+ handover_publish_uit_github: {
22488
+ Args: {
22489
+ _bezit_tabellen?: string[];
22490
+ _bron_soort?: string;
22491
+ _commit?: string;
22492
+ _contractfuncties?: string[];
22493
+ _inhoud_md: string;
22494
+ _module_id: string;
22495
+ _module_titel: string;
22496
+ _ontbrekende_contracten?: string[];
22497
+ _pad?: string;
22498
+ _repo?: string;
22499
+ _samenvatting?: string;
22500
+ _versie_label?: string;
22501
+ };
22502
+ Returns: import("./types").Json;
22503
+ };
21197
22504
  handover_publish_via_token: {
21198
22505
  Args: {
21199
22506
  _bevindingen?: string;
@@ -21207,7 +22514,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21207
22514
  _samenvatting?: string;
21208
22515
  _token_hash: string;
21209
22516
  };
21210
- Returns: number;
22517
+ Returns: import("./types").Json;
21211
22518
  };
21212
22519
  handover_status: {
21213
22520
  Args: never;
@@ -21219,23 +22526,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21219
22526
  };
21220
22527
  Returns: string;
21221
22528
  };
21222
- handover_token_intrekken: {
21223
- Args: {
21224
- _id: string;
21225
- };
21226
- Returns: boolean;
21227
- };
21228
- handover_token_lijst: {
21229
- Args: never;
21230
- Returns: import("./types").Json;
21231
- };
21232
- handover_token_maken: {
21233
- Args: {
21234
- _label?: string;
21235
- _module_id: string;
21236
- };
21237
- Returns: string;
21238
- };
21239
22529
  handover_update: {
21240
22530
  Args: {
21241
22531
  _bezit_tabellen?: string[];
@@ -21263,12 +22553,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21263
22553
  };
21264
22554
  Returns: boolean;
21265
22555
  };
22556
+ handover_versie_verwijderen: {
22557
+ Args: {
22558
+ _module_id: string;
22559
+ _versie: number;
22560
+ };
22561
+ Returns: boolean;
22562
+ };
21266
22563
  handover_versies: {
21267
22564
  Args: {
21268
22565
  _module_id: string;
21269
22566
  };
21270
22567
  Returns: import("./types").Json;
21271
22568
  };
22569
+ handover_verwijderen: {
22570
+ Args: {
22571
+ _module_id: string;
22572
+ };
22573
+ Returns: boolean;
22574
+ };
22575
+ handover_wijzigingen: {
22576
+ Args: {
22577
+ _module_id?: string;
22578
+ };
22579
+ Returns: import("./types").Json;
22580
+ };
21272
22581
  has_module_permission: {
21273
22582
  Args: {
21274
22583
  _min: string;
@@ -21531,6 +22840,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21531
22840
  };
21532
22841
  Returns: boolean;
21533
22842
  };
22843
+ logistics_barcode_lookup: {
22844
+ Args: {
22845
+ p_barcode: string;
22846
+ };
22847
+ Returns: import("./types").Json;
22848
+ };
21534
22849
  logistics_buffer_criteria: {
21535
22850
  Args: {
21536
22851
  p_settings: import("./types").Json;
@@ -21591,6 +22906,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21591
22906
  };
21592
22907
  Returns: number;
21593
22908
  };
22909
+ logistics_cart_barcode_value: {
22910
+ Args: {
22911
+ _cart_id: string;
22912
+ };
22913
+ Returns: string;
22914
+ };
22915
+ logistics_cart_handled: {
22916
+ Args: {
22917
+ p_cart_index: number;
22918
+ p_order_id: string;
22919
+ };
22920
+ Returns: boolean;
22921
+ };
21594
22922
  logistics_cart_index: {
21595
22923
  Args: {
21596
22924
  p_from?: string;
@@ -21600,6 +22928,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21600
22928
  cart_id: string;
21601
22929
  cart_index: number;
21602
22930
  cart_label: string;
22931
+ cart_number: string;
22932
+ cart_seq: number;
22933
+ cart_total: number;
22934
+ delivery_date: string;
22935
+ is_announced: boolean;
22936
+ is_controlled: boolean;
22937
+ is_printed: boolean;
22938
+ is_shared: boolean;
22939
+ order_number: string;
22940
+ order_source: string;
22941
+ order_uuid: string;
22942
+ pick_date: string;
22943
+ printed_at: string;
22944
+ shifted: boolean;
22945
+ task_status: string;
22946
+ }[];
22947
+ };
22948
+ logistics_cart_layout_method: {
22949
+ Args: never;
22950
+ Returns: import("./types").Json;
22951
+ };
22952
+ logistics_cart_seq: {
22953
+ Args: {
22954
+ p_order_uuid?: string;
22955
+ };
22956
+ Returns: {
22957
+ cart_id: string;
22958
+ cart_index: number;
22959
+ cart_number: string;
22960
+ cart_seq: number;
22961
+ cart_total: number;
22962
+ order_uuid: string;
22963
+ }[];
22964
+ };
22965
+ logistics_cart_slip_plan: {
22966
+ Args: {
22967
+ p_order_id: string;
22968
+ };
22969
+ Returns: import("./types").Json;
22970
+ };
22971
+ logistics_cart_units: {
22972
+ Args: {
22973
+ p_from?: string;
22974
+ p_to?: string;
22975
+ };
22976
+ Returns: {
22977
+ cart_id: string;
22978
+ cart_index: number;
22979
+ cart_label: string;
22980
+ cart_number: string;
22981
+ cart_seq: number;
22982
+ cart_total: number;
22983
+ delivery_date: string;
22984
+ is_announced: boolean;
22985
+ is_buffer: boolean;
22986
+ is_controlled: boolean;
22987
+ is_printed: boolean;
21603
22988
  is_shared: boolean;
21604
22989
  order_number: string;
21605
22990
  order_source: string;
@@ -21608,6 +22993,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21608
22993
  printed_at: string;
21609
22994
  shifted: boolean;
21610
22995
  task_status: string;
22996
+ unit_buffer: string;
22997
+ unit_order_count: number;
22998
+ unit_orders: string[];
22999
+ unit_ref: string;
21611
23000
  }[];
21612
23001
  };
21613
23002
  logistics_check_order_allowed: {
@@ -21762,12 +23151,97 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21762
23151
  Args: never;
21763
23152
  Returns: {
21764
23153
  agenda_carts: number;
23154
+ announced_carts: number;
21765
23155
  control_carts: number;
23156
+ delivery_carts: number;
23157
+ duplicate_carts: number;
21766
23158
  ok: boolean;
23159
+ orphan_carts: number;
21767
23160
  orphan_tasks: number;
21768
23161
  pick_date: string;
21769
23162
  raw_carts: number;
23163
+ sales_carts: number;
23164
+ station_carts: number;
23165
+ }[];
23166
+ };
23167
+ logistics_control_scan_approve: {
23168
+ Args: {
23169
+ p_allow_reprint?: boolean;
23170
+ p_barcode: string;
23171
+ p_printer_id?: string;
23172
+ p_scanner_id?: string;
23173
+ };
23174
+ Returns: import("./types").Json;
23175
+ };
23176
+ logistics_control_scan_claim: {
23177
+ Args: {
23178
+ _lease_seconds?: number;
23179
+ _limit?: number;
23180
+ };
23181
+ Returns: {
23182
+ approved_at: string | null;
23183
+ attempts: number;
23184
+ barcode: string;
23185
+ cart_id: string;
23186
+ created_at: string;
23187
+ document_url: string | null;
23188
+ error: string | null;
23189
+ error_code: string | null;
23190
+ fulfillment_order_id: string | null;
23191
+ id: string;
23192
+ is_floriday: boolean;
23193
+ locked_until: string | null;
23194
+ order_id: string | null;
23195
+ order_number: string | null;
23196
+ print_job_id: string | null;
23197
+ printed_at: string | null;
23198
+ printer_id: string | null;
23199
+ scanner_id: string | null;
23200
+ status: string;
23201
+ updated_at: string;
21770
23202
  }[];
23203
+ SetofOptions: {
23204
+ from: "*";
23205
+ to: "logistics_control_scan";
23206
+ isOneToOne: false;
23207
+ isSetofReturn: true;
23208
+ };
23209
+ };
23210
+ logistics_control_scan_finish: {
23211
+ Args: {
23212
+ _document_url?: string;
23213
+ _error?: string;
23214
+ _error_code?: string;
23215
+ _fulfillment_order_id?: string;
23216
+ _id: string;
23217
+ _ok: boolean;
23218
+ _print_job_id?: string;
23219
+ _status?: string;
23220
+ };
23221
+ Returns: import("./types").Json;
23222
+ };
23223
+ logistics_control_scan_lookup: {
23224
+ Args: {
23225
+ p_barcode: string;
23226
+ };
23227
+ Returns: import("./types").Json;
23228
+ };
23229
+ logistics_control_scan_overview: {
23230
+ Args: {
23231
+ _date?: string;
23232
+ _scanner_id?: string;
23233
+ };
23234
+ Returns: import("./types").Json;
23235
+ };
23236
+ logistics_control_scan_retry: {
23237
+ Args: {
23238
+ _id: string;
23239
+ };
23240
+ Returns: import("./types").Json;
23241
+ };
23242
+ logistics_control_settings: {
23243
+ Args: never;
23244
+ Returns: import("./types").Json;
21771
23245
  };
21772
23246
  logistics_delay_customer_email: {
21773
23247
  Args: {
@@ -21782,12 +23256,35 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21782
23256
  subject: string;
21783
23257
  }[];
21784
23258
  };
23259
+ logistics_delivery_agenda: {
23260
+ Args: {
23261
+ p_from?: string;
23262
+ p_to?: string;
23263
+ };
23264
+ Returns: {
23265
+ announced_count: number;
23266
+ cart_count: number;
23267
+ controlled_count: number;
23268
+ delivery_date: string;
23269
+ order_count: number;
23270
+ orders: import("./types").Json;
23271
+ plant_count: number;
23272
+ printed_count: number;
23273
+ }[];
23274
+ };
21785
23275
  logistics_document_layout: {
21786
23276
  Args: {
21787
23277
  _document_code: string;
21788
23278
  };
21789
23279
  Returns: import("./types").Json;
21790
23280
  };
23281
+ logistics_document_layout_v2: {
23282
+ Args: {
23283
+ _document_code: string;
23284
+ _is_partial?: boolean;
23285
+ };
23286
+ Returns: import("./types").Json;
23287
+ };
21791
23288
  logistics_document_station: {
21792
23289
  Args: {
21793
23290
  _document_code: string;
@@ -21813,6 +23310,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21813
23310
  };
21814
23311
  Returns: import("./types").Json;
21815
23312
  };
23313
+ logistics_enqueue_sticker_with_slip: {
23314
+ Args: {
23315
+ _cart_id: string;
23316
+ _is_herprint: boolean;
23317
+ _printer_id: string;
23318
+ _queue_item_id: string;
23319
+ _session_id: string;
23320
+ _slip_job_id: string;
23321
+ };
23322
+ Returns: string;
23323
+ };
23324
+ logistics_ensure_cart_barcode: {
23325
+ Args: {
23326
+ _cart_id: string;
23327
+ };
23328
+ Returns: string;
23329
+ };
21816
23330
  logistics_fail_task: {
21817
23331
  Args: {
21818
23332
  p_error: string;
@@ -21948,6 +23462,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21948
23462
  };
21949
23463
  Returns: string;
21950
23464
  };
23465
+ logistics_fulfill_barcode_requests: {
23466
+ Args: {
23467
+ p_limit?: number;
23468
+ };
23469
+ Returns: import("./types").Json;
23470
+ };
23471
+ logistics_full_cart_min_layers: {
23472
+ Args: never;
23473
+ Returns: number;
23474
+ };
23475
+ logistics_full_cart_min_percentage: {
23476
+ Args: never;
23477
+ Returns: number;
23478
+ };
23479
+ logistics_is_pick_workday: {
23480
+ Args: {
23481
+ p_date: string;
23482
+ };
23483
+ Returns: boolean;
23484
+ };
21951
23485
  logistics_live_carriers: {
21952
23486
  Args: {
21953
23487
  p_order_ref: string;
@@ -21960,18 +23494,45 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21960
23494
  };
21961
23495
  Returns: number;
21962
23496
  };
21963
- logistics_not_past: {
23497
+ logistics_next_workday_date: {
21964
23498
  Args: {
21965
- p_ts: string;
23499
+ p_date: string;
23500
+ p_days?: string[];
21966
23501
  };
21967
23502
  Returns: string;
21968
23503
  };
21969
- logistics_order_cart_count: {
23504
+ logistics_next_workday_not_past: {
21970
23505
  Args: {
21971
- p_order_ref: string;
21972
- };
23506
+ p_days: string[];
23507
+ p_ts: string;
23508
+ };
23509
+ Returns: string;
23510
+ };
23511
+ logistics_not_past: {
23512
+ Args: {
23513
+ p_ts: string;
23514
+ };
23515
+ Returns: string;
23516
+ };
23517
+ logistics_order_cart_count: {
23518
+ Args: {
23519
+ p_order_ref: string;
23520
+ };
21973
23521
  Returns: number;
21974
23522
  };
23523
+ logistics_order_handled: {
23524
+ Args: {
23525
+ p_order_uuid: string;
23526
+ };
23527
+ Returns: boolean;
23528
+ };
23529
+ logistics_order_is_topick: {
23530
+ Args: {
23531
+ p_order_id: string;
23532
+ p_order_number: string;
23533
+ };
23534
+ Returns: boolean;
23535
+ };
21975
23536
  logistics_order_overview: {
21976
23537
  Args: {
21977
23538
  p_from?: string;
@@ -21997,6 +23558,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21997
23558
  };
21998
23559
  Returns: string;
21999
23560
  };
23561
+ logistics_order_released: {
23562
+ Args: {
23563
+ p_order_ref: string;
23564
+ };
23565
+ Returns: boolean;
23566
+ };
22000
23567
  logistics_parse_pickup: {
22001
23568
  Args: {
22002
23569
  p_value: string;
@@ -22019,10 +23586,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22019
23586
  shifted_count: number;
22020
23587
  }[];
22021
23588
  };
23589
+ logistics_pick_barcode_enabled: {
23590
+ Args: never;
23591
+ Returns: boolean;
23592
+ };
22022
23593
  logistics_pick_email_purpose: {
22023
23594
  Args: never;
22024
23595
  Returns: string;
22025
23596
  };
23597
+ logistics_pick_mode: {
23598
+ Args: never;
23599
+ Returns: import("./types").Json;
23600
+ };
23601
+ logistics_pick_start_estimate: {
23602
+ Args: {
23603
+ p_order: import("./types").Json;
23604
+ s: import("./types").Json;
23605
+ };
23606
+ Returns: string;
23607
+ };
23608
+ logistics_pick_units: {
23609
+ Args: never;
23610
+ Returns: {
23611
+ is_buffer: boolean;
23612
+ order_number: string;
23613
+ order_uuid: string;
23614
+ unit_buffer: string;
23615
+ unit_order_count: number;
23616
+ unit_orders: string[];
23617
+ unit_ref: string;
23618
+ }[];
23619
+ };
22026
23620
  logistics_plan_all: {
22027
23621
  Args: {
22028
23622
  p_user_id?: string;
@@ -22109,6 +23703,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22109
23703
  };
22110
23704
  Returns: number;
22111
23705
  };
23706
+ logistics_prune_buffer_member_queue: {
23707
+ Args: never;
23708
+ Returns: number;
23709
+ };
23710
+ logistics_prune_handled_pick_queue: {
23711
+ Args: never;
23712
+ Returns: number;
23713
+ };
22112
23714
  logistics_queue_capacity_email: {
22113
23715
  Args: {
22114
23716
  p_alert_id: string;
@@ -22141,6 +23743,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22141
23743
  Args: never;
22142
23744
  Returns: import("./types").Json;
22143
23745
  };
23746
+ logistics_refresh_pickup_moments: {
23747
+ Args: {
23748
+ p_weeks?: number;
23749
+ };
23750
+ Returns: import("./types").Json;
23751
+ };
22144
23752
  logistics_report_delay: {
22145
23753
  Args: {
22146
23754
  p_expected_date?: string;
@@ -22247,6 +23855,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22247
23855
  };
22248
23856
  Returns: string;
22249
23857
  };
23858
+ logistics_scan_resolve: {
23859
+ Args: {
23860
+ p_code: string;
23861
+ };
23862
+ Returns: import("./types").Json;
23863
+ };
22250
23864
  logistics_schedule_tasks: {
22251
23865
  Args: never;
22252
23866
  Returns: number;
@@ -22273,6 +23887,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22273
23887
  };
22274
23888
  Returns: string;
22275
23889
  };
23890
+ logistics_shipping_note_from_barcode: {
23891
+ Args: {
23892
+ p_allow_reprint?: boolean;
23893
+ p_barcode: string;
23894
+ p_station_id?: string;
23895
+ };
23896
+ Returns: import("./types").Json;
23897
+ };
23898
+ logistics_sticker_follows_slip: {
23899
+ Args: never;
23900
+ Returns: boolean;
23901
+ };
22276
23902
  logistics_supersede_stale_tasks: {
22277
23903
  Args: {
22278
23904
  p_keep: string[];
@@ -22324,6 +23950,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22324
23950
  };
22325
23951
  Returns: string;
22326
23952
  };
23953
+ logistics_write_buffer_layer_positions: {
23954
+ Args: {
23955
+ p_buffer_id: string;
23956
+ };
23957
+ Returns: number;
23958
+ };
23959
+ logistics_write_cart_layer_positions: {
23960
+ Args: {
23961
+ p_cart_id: string;
23962
+ };
23963
+ Returns: number;
23964
+ };
22327
23965
  mark_offer_clicked: {
22328
23966
  Args: {
22329
23967
  p_code: string;
@@ -22356,6 +23994,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22356
23994
  };
22357
23995
  Returns: undefined;
22358
23996
  };
23997
+ move_cart_layer_position: {
23998
+ Args: {
23999
+ p_id: string;
24000
+ p_layer: number;
24001
+ p_x: number;
24002
+ p_y: number;
24003
+ };
24004
+ Returns: undefined;
24005
+ };
22359
24006
  my_module_permissions: {
22360
24007
  Args: never;
22361
24008
  Returns: {
@@ -22462,6 +24109,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22462
24109
  online: boolean;
22463
24110
  }[];
22464
24111
  };
24112
+ pick_available_pick_days: {
24113
+ Args: {
24114
+ _max_days?: number;
24115
+ };
24116
+ Returns: {
24117
+ orders: number;
24118
+ pick_day: string;
24119
+ }[];
24120
+ };
24121
+ pick_cart_breakdown: {
24122
+ Args: {
24123
+ _order_id: string;
24124
+ };
24125
+ Returns: import("./types").Json;
24126
+ };
22465
24127
  pick_claim_document: {
22466
24128
  Args: {
22467
24129
  _queue_item_id: string;
@@ -22494,6 +24156,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22494
24156
  print_job_id: string | null;
22495
24157
  printed_at: string | null;
22496
24158
  printed_by: string | null;
24159
+ printed_cart_ids: import("./types").Json;
22497
24160
  printer_id: string | null;
22498
24161
  priority: number;
22499
24162
  reference: string | null;
@@ -22543,6 +24206,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22543
24206
  print_job_id: string | null;
22544
24207
  printed_at: string | null;
22545
24208
  printed_by: string | null;
24209
+ printed_cart_ids: import("./types").Json;
22546
24210
  printer_id: string | null;
22547
24211
  priority: number;
22548
24212
  reference: string | null;
@@ -22597,6 +24261,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22597
24261
  print_job_id: string | null;
22598
24262
  printed_at: string | null;
22599
24263
  printed_by: string | null;
24264
+ printed_cart_ids: import("./types").Json;
22600
24265
  printer_id: string | null;
22601
24266
  priority: number;
22602
24267
  reference: string | null;
@@ -22614,6 +24279,63 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22614
24279
  isSetofReturn: false;
22615
24280
  };
22616
24281
  };
24282
+ pick_complete_print_cart: {
24283
+ Args: {
24284
+ _cart_id: string;
24285
+ _printer_id: string;
24286
+ _queue_item_id: string;
24287
+ _session_id: string;
24288
+ };
24289
+ Returns: {
24290
+ announced_at: string;
24291
+ assigned_user_id: string | null;
24292
+ barcode: string | null;
24293
+ cancelled_at: string | null;
24294
+ cart_count: number;
24295
+ completed_at: string | null;
24296
+ country_code: string | null;
24297
+ created_at: string;
24298
+ customer_name: string | null;
24299
+ delivery_address: string | null;
24300
+ document_number: string | null;
24301
+ document_type_id: string | null;
24302
+ due_at: string | null;
24303
+ id: string;
24304
+ is_urgent: boolean;
24305
+ line_count: number;
24306
+ order_number: string | null;
24307
+ order_type: string | null;
24308
+ payload: import("./types").Json;
24309
+ print_count: number;
24310
+ print_job_id: string | null;
24311
+ printed_at: string | null;
24312
+ printed_by: string | null;
24313
+ printed_cart_ids: import("./types").Json;
24314
+ printer_id: string | null;
24315
+ priority: number;
24316
+ reference: string | null;
24317
+ route: string | null;
24318
+ screen_id: string | null;
24319
+ station_id: string | null;
24320
+ status_id: string | null;
24321
+ updated_at: string;
24322
+ warnings: import("./types").Json;
24323
+ };
24324
+ SetofOptions: {
24325
+ from: "*";
24326
+ to: "pick_queue";
24327
+ isOneToOne: true;
24328
+ isSetofReturn: false;
24329
+ };
24330
+ };
24331
+ pick_complete_print_carts: {
24332
+ Args: {
24333
+ _cart_ids: string[];
24334
+ _queue_item_id: string;
24335
+ _session_id: string;
24336
+ };
24337
+ Returns: import("./types").Json;
24338
+ };
22617
24339
  pick_current_pick_day: {
22618
24340
  Args: never;
22619
24341
  Returns: string;
@@ -22640,6 +24362,74 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22640
24362
  _session_id?: string;
22641
24363
  };
22642
24364
  Returns: string;
24365
+ } | {
24366
+ Args: {
24367
+ _cart_id: string;
24368
+ _is_herprint: boolean;
24369
+ _printer_id: string;
24370
+ _queue_item_id: string;
24371
+ _session_id: string;
24372
+ };
24373
+ Returns: string;
24374
+ };
24375
+ pick_enqueue_print_job_from_cart: {
24376
+ Args: {
24377
+ _cart_id: string;
24378
+ _is_herprint: boolean;
24379
+ _printer_id: string;
24380
+ _queue_item_id: string;
24381
+ _selected_cart: import("./types").Json;
24382
+ _session_id: string;
24383
+ };
24384
+ Returns: string;
24385
+ };
24386
+ pick_mark_printed: {
24387
+ Args: {
24388
+ _queue_item_id: string;
24389
+ _reden?: string;
24390
+ _session_id: string;
24391
+ };
24392
+ Returns: {
24393
+ announced_at: string;
24394
+ assigned_user_id: string | null;
24395
+ barcode: string | null;
24396
+ cancelled_at: string | null;
24397
+ cart_count: number;
24398
+ completed_at: string | null;
24399
+ country_code: string | null;
24400
+ created_at: string;
24401
+ customer_name: string | null;
24402
+ delivery_address: string | null;
24403
+ document_number: string | null;
24404
+ document_type_id: string | null;
24405
+ due_at: string | null;
24406
+ id: string;
24407
+ is_urgent: boolean;
24408
+ line_count: number;
24409
+ order_number: string | null;
24410
+ order_type: string | null;
24411
+ payload: import("./types").Json;
24412
+ print_count: number;
24413
+ print_job_id: string | null;
24414
+ printed_at: string | null;
24415
+ printed_by: string | null;
24416
+ printed_cart_ids: import("./types").Json;
24417
+ printer_id: string | null;
24418
+ priority: number;
24419
+ reference: string | null;
24420
+ route: string | null;
24421
+ screen_id: string | null;
24422
+ station_id: string | null;
24423
+ status_id: string | null;
24424
+ updated_at: string;
24425
+ warnings: import("./types").Json;
24426
+ };
24427
+ SetofOptions: {
24428
+ from: "*";
24429
+ to: "pick_queue";
24430
+ isOneToOne: true;
24431
+ isSetofReturn: false;
24432
+ };
22643
24433
  };
22644
24434
  pick_order_context: {
22645
24435
  Args: {
@@ -22661,6 +24451,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22661
24451
  };
22662
24452
  Returns: import("./types").Json;
22663
24453
  };
24454
+ pick_print_jobs_status: {
24455
+ Args: {
24456
+ _job_ids: string[];
24457
+ };
24458
+ Returns: import("./types").Json[];
24459
+ };
22664
24460
  pick_print_plekken: {
22665
24461
  Args: never;
22666
24462
  Returns: {
@@ -22683,6 +24479,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22683
24479
  };
22684
24480
  Returns: undefined;
22685
24481
  };
24482
+ pick_reprint_cart: {
24483
+ Args: {
24484
+ _cart_id: string;
24485
+ _queue_item_id: string;
24486
+ _session_id: string;
24487
+ _throttle_seconds?: number;
24488
+ };
24489
+ Returns: string;
24490
+ };
22686
24491
  pick_reprint_document: {
22687
24492
  Args: {
22688
24493
  _queue_item_id: string;
@@ -22720,6 +24525,199 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22720
24525
  print_job_id: string | null;
22721
24526
  printed_at: string | null;
22722
24527
  printed_by: string | null;
24528
+ printed_cart_ids: import("./types").Json;
24529
+ printer_id: string | null;
24530
+ priority: number;
24531
+ reference: string | null;
24532
+ route: string | null;
24533
+ screen_id: string | null;
24534
+ station_id: string | null;
24535
+ status_id: string | null;
24536
+ updated_at: string;
24537
+ warnings: import("./types").Json;
24538
+ };
24539
+ SetofOptions: {
24540
+ from: "*";
24541
+ to: "pick_queue";
24542
+ isOneToOne: true;
24543
+ isSetofReturn: false;
24544
+ };
24545
+ } | {
24546
+ Args: {
24547
+ _cart_id?: string;
24548
+ _queue_item_id: string;
24549
+ _session_id: string;
24550
+ };
24551
+ Returns: {
24552
+ announced_at: string;
24553
+ assigned_user_id: string | null;
24554
+ barcode: string | null;
24555
+ cancelled_at: string | null;
24556
+ cart_count: number;
24557
+ completed_at: string | null;
24558
+ country_code: string | null;
24559
+ created_at: string;
24560
+ customer_name: string | null;
24561
+ delivery_address: string | null;
24562
+ document_number: string | null;
24563
+ document_type_id: string | null;
24564
+ due_at: string | null;
24565
+ id: string;
24566
+ is_urgent: boolean;
24567
+ line_count: number;
24568
+ order_number: string | null;
24569
+ order_type: string | null;
24570
+ payload: import("./types").Json;
24571
+ print_count: number;
24572
+ print_job_id: string | null;
24573
+ printed_at: string | null;
24574
+ printed_by: string | null;
24575
+ printed_cart_ids: import("./types").Json;
24576
+ printer_id: string | null;
24577
+ priority: number;
24578
+ reference: string | null;
24579
+ route: string | null;
24580
+ screen_id: string | null;
24581
+ station_id: string | null;
24582
+ status_id: string | null;
24583
+ updated_at: string;
24584
+ warnings: import("./types").Json;
24585
+ };
24586
+ SetofOptions: {
24587
+ from: "*";
24588
+ to: "pick_queue";
24589
+ isOneToOne: true;
24590
+ isSetofReturn: false;
24591
+ };
24592
+ };
24593
+ pick_reset_print_job: {
24594
+ Args: {
24595
+ _cart_id: string;
24596
+ _job_id: string;
24597
+ _queue_item_id: string;
24598
+ _session_id: string;
24599
+ };
24600
+ Returns: {
24601
+ announced_at: string;
24602
+ assigned_user_id: string | null;
24603
+ barcode: string | null;
24604
+ cancelled_at: string | null;
24605
+ cart_count: number;
24606
+ completed_at: string | null;
24607
+ country_code: string | null;
24608
+ created_at: string;
24609
+ customer_name: string | null;
24610
+ delivery_address: string | null;
24611
+ document_number: string | null;
24612
+ document_type_id: string | null;
24613
+ due_at: string | null;
24614
+ id: string;
24615
+ is_urgent: boolean;
24616
+ line_count: number;
24617
+ order_number: string | null;
24618
+ order_type: string | null;
24619
+ payload: import("./types").Json;
24620
+ print_count: number;
24621
+ print_job_id: string | null;
24622
+ printed_at: string | null;
24623
+ printed_by: string | null;
24624
+ printed_cart_ids: import("./types").Json;
24625
+ printer_id: string | null;
24626
+ priority: number;
24627
+ reference: string | null;
24628
+ route: string | null;
24629
+ screen_id: string | null;
24630
+ station_id: string | null;
24631
+ status_id: string | null;
24632
+ updated_at: string;
24633
+ warnings: import("./types").Json;
24634
+ };
24635
+ SetofOptions: {
24636
+ from: "*";
24637
+ to: "pick_queue";
24638
+ isOneToOne: true;
24639
+ isSetofReturn: false;
24640
+ };
24641
+ };
24642
+ pick_reset_print_jobs: {
24643
+ Args: {
24644
+ _cart_ids: string[];
24645
+ _job_ids: string[];
24646
+ _queue_item_id: string;
24647
+ _session_id: string;
24648
+ };
24649
+ Returns: {
24650
+ announced_at: string;
24651
+ assigned_user_id: string | null;
24652
+ barcode: string | null;
24653
+ cancelled_at: string | null;
24654
+ cart_count: number;
24655
+ completed_at: string | null;
24656
+ country_code: string | null;
24657
+ created_at: string;
24658
+ customer_name: string | null;
24659
+ delivery_address: string | null;
24660
+ document_number: string | null;
24661
+ document_type_id: string | null;
24662
+ due_at: string | null;
24663
+ id: string;
24664
+ is_urgent: boolean;
24665
+ line_count: number;
24666
+ order_number: string | null;
24667
+ order_type: string | null;
24668
+ payload: import("./types").Json;
24669
+ print_count: number;
24670
+ print_job_id: string | null;
24671
+ printed_at: string | null;
24672
+ printed_by: string | null;
24673
+ printed_cart_ids: import("./types").Json;
24674
+ printer_id: string | null;
24675
+ priority: number;
24676
+ reference: string | null;
24677
+ route: string | null;
24678
+ screen_id: string | null;
24679
+ station_id: string | null;
24680
+ status_id: string | null;
24681
+ updated_at: string;
24682
+ warnings: import("./types").Json;
24683
+ };
24684
+ SetofOptions: {
24685
+ from: "*";
24686
+ to: "pick_queue";
24687
+ isOneToOne: true;
24688
+ isSetofReturn: false;
24689
+ };
24690
+ };
24691
+ pick_restore_to_queue: {
24692
+ Args: {
24693
+ _queue_item_id: string;
24694
+ _session_id: string;
24695
+ };
24696
+ Returns: {
24697
+ announced_at: string;
24698
+ assigned_user_id: string | null;
24699
+ barcode: string | null;
24700
+ cancelled_at: string | null;
24701
+ cart_count: number;
24702
+ completed_at: string | null;
24703
+ country_code: string | null;
24704
+ created_at: string;
24705
+ customer_name: string | null;
24706
+ delivery_address: string | null;
24707
+ document_number: string | null;
24708
+ document_type_id: string | null;
24709
+ due_at: string | null;
24710
+ id: string;
24711
+ is_urgent: boolean;
24712
+ line_count: number;
24713
+ order_number: string | null;
24714
+ order_type: string | null;
24715
+ payload: import("./types").Json;
24716
+ print_count: number;
24717
+ print_job_id: string | null;
24718
+ printed_at: string | null;
24719
+ printed_by: string | null;
24720
+ printed_cart_ids: import("./types").Json;
22723
24721
  printer_id: string | null;
22724
24722
  priority: number;
22725
24723
  reference: string | null;
@@ -22786,6 +24784,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22786
24784
  };
22787
24785
  Returns: string;
22788
24786
  };
24787
+ pick_sync_pick_day: {
24788
+ Args: {
24789
+ _day: string;
24790
+ };
24791
+ Returns: import("./types").Json;
24792
+ };
22789
24793
  pick_sync_queue_throttled: {
22790
24794
  Args: {
22791
24795
  _min_seconds?: number;
@@ -23015,6 +25019,20 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23015
25019
  };
23016
25020
  Returns: boolean;
23017
25021
  };
25022
+ release_local_pdf_job: {
25023
+ Args: {
25024
+ _job_id: string;
25025
+ _writer_id: string;
25026
+ };
25027
+ Returns: boolean;
25028
+ };
25029
+ release_print_queue_lease: {
25030
+ Args: {
25031
+ _houder: string;
25032
+ _naam: string;
25033
+ };
25034
+ Returns: boolean;
25035
+ };
23018
25036
  release_stale_order_invoice_links: {
23019
25037
  Args: {
23020
25038
  _minutes?: number;
@@ -23035,6 +25053,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23035
25053
  };
23036
25054
  Returns: import("./types").Json;
23037
25055
  };
25056
+ reset_cart_layer_positions: {
25057
+ Args: {
25058
+ p_cart_id: string;
25059
+ };
25060
+ Returns: number;
25061
+ };
23038
25062
  reset_floriday_sync_cursor: {
23039
25063
  Args: {
23040
25064
  p_connection_id: string;
@@ -23098,6 +25122,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23098
25122
  };
23099
25123
  Returns: import("./types").Json;
23100
25124
  };
25125
+ roles_without_enum_mapping: {
25126
+ Args: never;
25127
+ Returns: {
25128
+ assignment_count: number;
25129
+ id: string;
25130
+ key: string;
25131
+ name: string;
25132
+ }[];
25133
+ };
23101
25134
  ruim_print_jobs_op: {
23102
25135
  Args: {
23103
25136
  _bewaar_dagen?: number;
@@ -23112,6 +25145,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23112
25145
  Args: never;
23113
25146
  Returns: undefined;
23114
25147
  };
25148
+ run_floriday_stock_reconcile: {
25149
+ Args: never;
25150
+ Returns: undefined;
25151
+ };
23115
25152
  run_logistics_tasks_dispatch: {
23116
25153
  Args: never;
23117
25154
  Returns: undefined;
@@ -23130,18 +25167,88 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23130
25167
  };
23131
25168
  Returns: import("./types").Json;
23132
25169
  };
25170
+ scan_complete_cart: {
25171
+ Args: {
25172
+ p_allow_reprint?: boolean;
25173
+ p_cart_id: string;
25174
+ p_print?: boolean;
25175
+ p_scanner_id?: string;
25176
+ };
25177
+ Returns: import("./types").Json;
25178
+ };
23133
25179
  scan_dashboard_stats: {
23134
25180
  Args: {
23135
25181
  p_dagen?: number;
23136
25182
  };
23137
25183
  Returns: import("./types").Json;
23138
25184
  };
25185
+ scan_eindcontrole: {
25186
+ Args: {
25187
+ p_barcode: string;
25188
+ p_scanner_id?: string;
25189
+ };
25190
+ Returns: import("./types").Json;
25191
+ };
23139
25192
  scan_finish_kar: {
23140
25193
  Args: {
23141
25194
  p_kar_id: string;
23142
25195
  };
23143
25196
  Returns: import("./types").Json;
23144
25197
  };
25198
+ scan_kar_compleet: {
25199
+ Args: {
25200
+ p_allow_reprint?: boolean;
25201
+ p_sessie_id: string;
25202
+ };
25203
+ Returns: import("./types").Json;
25204
+ };
25205
+ scan_kar_regels: {
25206
+ Args: {
25207
+ p_cart_id: string;
25208
+ };
25209
+ Returns: import("./types").Json;
25210
+ };
25211
+ scan_open_pakbonnen: {
25212
+ Args: {
25213
+ p_dagen?: number;
25214
+ };
25215
+ Returns: import("./types").Json;
25216
+ };
25217
+ scan_pakbon_lookup: {
25218
+ Args: {
25219
+ p_barcode: string;
25220
+ };
25221
+ Returns: import("./types").Json;
25222
+ };
25223
+ scan_pakbon_opnieuw: {
25224
+ Args: {
25225
+ p_barcode: string;
25226
+ p_scanner_id?: string;
25227
+ };
25228
+ Returns: import("./types").Json;
25229
+ };
25230
+ scan_pakbon_toevoegen: {
25231
+ Args: {
25232
+ p_barcode: string;
25233
+ p_medewerker?: string;
25234
+ p_regels?: import("./types").Json;
25235
+ p_scanner_id: string;
25236
+ };
25237
+ Returns: import("./types").Json;
25238
+ };
25239
+ scan_print_restpakbon: {
25240
+ Args: {
25241
+ p_printer_id?: string;
25242
+ p_restpakbon_id: string;
25243
+ };
25244
+ Returns: import("./types").Json;
25245
+ };
25246
+ scan_print_verzendbrief: {
25247
+ Args: {
25248
+ p_sessie_id: string;
25249
+ };
25250
+ Returns: import("./types").Json;
25251
+ };
23145
25252
  scan_register_item: {
23146
25253
  Args: {
23147
25254
  p_kar_id: string;
@@ -23160,6 +25267,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23160
25267
  };
23161
25268
  Returns: import("./types").Json;
23162
25269
  };
25270
+ scan_restpakbon_geprint: {
25271
+ Args: {
25272
+ p_id: string;
25273
+ p_print_job_id?: string;
25274
+ };
25275
+ Returns: undefined;
25276
+ };
25277
+ scan_sessie_annuleren: {
25278
+ Args: {
25279
+ p_sessie_id: string;
25280
+ };
25281
+ Returns: undefined;
25282
+ };
25283
+ scan_sessie_open: {
25284
+ Args: {
25285
+ p_scanner_id: string;
25286
+ };
25287
+ Returns: import("./types").Json;
25288
+ };
23163
25289
  scan_start_kar: {
23164
25290
  Args: {
23165
25291
  p_medewerker_id?: string;
@@ -23178,6 +25304,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23178
25304
  };
23179
25305
  Returns: import("./types").Json;
23180
25306
  };
25307
+ scan_verzendbrief_regels: {
25308
+ Args: {
25309
+ p_sessie_id: string;
25310
+ };
25311
+ Returns: import("./types").Json;
25312
+ };
23181
25313
  schedule_floriday_additional_services_sync: {
23182
25314
  Args: {
23183
25315
  p_apikey: string;
@@ -23493,6 +25625,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23493
25625
  };
23494
25626
  Returns: import("./types").Json;
23495
25627
  };
25628
+ swap_cart_layer_positions: {
25629
+ Args: {
25630
+ p_a: string;
25631
+ p_b: string;
25632
+ };
25633
+ Returns: undefined;
25634
+ };
23496
25635
  switch_time_log: {
23497
25636
  Args: {
23498
25637
  p_employee_id: string;
@@ -23525,6 +25664,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23525
25664
  };
23526
25665
  Returns: undefined;
23527
25666
  };
25667
+ sync_order_item_fusten: {
25668
+ Args: {
25669
+ _order_item_id: string;
25670
+ };
25671
+ Returns: undefined;
25672
+ };
23528
25673
  sync_product_group_belading: {
23529
25674
  Args: {
23530
25675
  _group_id: string;
@@ -23631,6 +25776,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23631
25776
  Args: never;
23632
25777
  Returns: string;
23633
25778
  };
25779
+ wake_print_queue: {
25780
+ Args: {
25781
+ _min_interval_ms?: number;
25782
+ };
25783
+ Returns: number;
25784
+ };
23634
25785
  werkbon_totalen: {
23635
25786
  Args: {
23636
25787
  _werkbon_id: string;
@@ -23663,10 +25814,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23663
25814
  };
23664
25815
  Returns: import("./types").Json;
23665
25816
  };
25817
+ wo_set_status: {
25818
+ Args: {
25819
+ _reason?: string;
25820
+ _status: string;
25821
+ _work_order_id: string;
25822
+ };
25823
+ Returns: import("./types").Json;
25824
+ };
23666
25825
  };
23667
25826
  Enums: {
23668
25827
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23669
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25828
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23670
25829
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23671
25830
  doc_orientation: "portrait" | "landscape";
23672
25831
  exact_env: "staging" | "live";