@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
@@ -709,6 +709,7 @@ export type Database = {
709
709
  raw: Json;
710
710
  updated_at: string;
711
711
  valuta: string;
712
+ velden: Json;
712
713
  };
713
714
  Insert: {
714
715
  artikelcode: string;
@@ -726,6 +727,7 @@ export type Database = {
726
727
  raw?: Json;
727
728
  updated_at?: string;
728
729
  valuta?: string;
730
+ velden?: Json;
729
731
  };
730
732
  Update: {
731
733
  artikelcode?: string;
@@ -743,6 +745,7 @@ export type Database = {
743
745
  raw?: Json;
744
746
  updated_at?: string;
745
747
  valuta?: string;
748
+ velden?: Json;
746
749
  };
747
750
  Relationships: [];
748
751
  };
@@ -1448,8 +1451,9 @@ export type Database = {
1448
1451
  Row: {
1449
1452
  assigned_at: string;
1450
1453
  cart_index: number;
1451
- cart_number: string;
1452
- day_seq: number;
1454
+ cart_number: string | null;
1455
+ day_seq: number | null;
1456
+ delivered_at: string | null;
1453
1457
  id: string;
1454
1458
  order_id: string;
1455
1459
  order_source: string;
@@ -1459,8 +1463,9 @@ export type Database = {
1459
1463
  Insert: {
1460
1464
  assigned_at?: string;
1461
1465
  cart_index: number;
1462
- cart_number: string;
1463
- day_seq: number;
1466
+ cart_number?: string | null;
1467
+ day_seq?: number | null;
1468
+ delivered_at?: string | null;
1464
1469
  id?: string;
1465
1470
  order_id: string;
1466
1471
  order_source: string;
@@ -1470,8 +1475,9 @@ export type Database = {
1470
1475
  Update: {
1471
1476
  assigned_at?: string;
1472
1477
  cart_index?: number;
1473
- cart_number?: string;
1474
- day_seq?: number;
1478
+ cart_number?: string | null;
1479
+ day_seq?: number | null;
1480
+ delivered_at?: string | null;
1475
1481
  id?: string;
1476
1482
  order_id?: string;
1477
1483
  order_source?: string;
@@ -1572,6 +1578,13 @@ export type Database = {
1572
1578
  updated_at?: string;
1573
1579
  };
1574
1580
  Relationships: [
1581
+ {
1582
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1583
+ columns: ["product_id"];
1584
+ isOneToOne: true;
1585
+ referencedRelation: "logistics_product_dimensions";
1586
+ referencedColumns: ["product_id"];
1587
+ },
1575
1588
  {
1576
1589
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1577
1590
  columns: ["product_id"];
@@ -7247,6 +7260,53 @@ export type Database = {
7247
7260
  };
7248
7261
  Relationships: [];
7249
7262
  };
7263
+ floriday_status_sync_queue: {
7264
+ Row: {
7265
+ attempts: number;
7266
+ created_at: string;
7267
+ error: string | null;
7268
+ floriday_sales_order_id: string;
7269
+ order_id: string;
7270
+ processed_at: string | null;
7271
+ requested_at: string;
7272
+ state: string;
7273
+ target_status: string;
7274
+ updated_at: string;
7275
+ };
7276
+ Insert: {
7277
+ attempts?: number;
7278
+ created_at?: string;
7279
+ error?: string | null;
7280
+ floriday_sales_order_id: string;
7281
+ order_id: string;
7282
+ processed_at?: string | null;
7283
+ requested_at?: string;
7284
+ state?: string;
7285
+ target_status: string;
7286
+ updated_at?: string;
7287
+ };
7288
+ Update: {
7289
+ attempts?: number;
7290
+ created_at?: string;
7291
+ error?: string | null;
7292
+ floriday_sales_order_id?: string;
7293
+ order_id?: string;
7294
+ processed_at?: string | null;
7295
+ requested_at?: string;
7296
+ state?: string;
7297
+ target_status?: string;
7298
+ updated_at?: string;
7299
+ };
7300
+ Relationships: [
7301
+ {
7302
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7303
+ columns: ["order_id"];
7304
+ isOneToOne: true;
7305
+ referencedRelation: "orders";
7306
+ referencedColumns: ["id"];
7307
+ }
7308
+ ];
7309
+ };
7250
7310
  floriday_sync_cursors: {
7251
7311
  Row: {
7252
7312
  connection_id: string;
@@ -8523,10 +8583,12 @@ export type Database = {
8523
8583
  general_email: string | null;
8524
8584
  general_phone: string | null;
8525
8585
  id: string;
8586
+ kvk_number: string | null;
8526
8587
  legacy_customer_id: string | null;
8527
8588
  name: string;
8528
8589
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8529
8590
  updated_at: string;
8591
+ vat_number: string | null;
8530
8592
  };
8531
8593
  Insert: {
8532
8594
  billing_city?: string | null;
@@ -8537,10 +8599,12 @@ export type Database = {
8537
8599
  general_email?: string | null;
8538
8600
  general_phone?: string | null;
8539
8601
  id?: string;
8602
+ kvk_number?: string | null;
8540
8603
  legacy_customer_id?: string | null;
8541
8604
  name: string;
8542
8605
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8543
8606
  updated_at?: string;
8607
+ vat_number?: string | null;
8544
8608
  };
8545
8609
  Update: {
8546
8610
  billing_city?: string | null;
@@ -8551,10 +8615,12 @@ export type Database = {
8551
8615
  general_email?: string | null;
8552
8616
  general_phone?: string | null;
8553
8617
  id?: string;
8618
+ kvk_number?: string | null;
8554
8619
  legacy_customer_id?: string | null;
8555
8620
  name?: string;
8556
8621
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8557
8622
  updated_at?: string;
8623
+ vat_number?: string | null;
8558
8624
  };
8559
8625
  Relationships: [];
8560
8626
  };
@@ -8588,6 +8654,119 @@ export type Database = {
8588
8654
  };
8589
8655
  Relationships: [];
8590
8656
  };
8657
+ itk_handover_github_scan: {
8658
+ Row: {
8659
+ gescand_op: string;
8660
+ gevonden: boolean;
8661
+ melding: string | null;
8662
+ module_id: string | null;
8663
+ repo: string;
8664
+ };
8665
+ Insert: {
8666
+ gescand_op?: string;
8667
+ gevonden?: boolean;
8668
+ melding?: string | null;
8669
+ module_id?: string | null;
8670
+ repo: string;
8671
+ };
8672
+ Update: {
8673
+ gescand_op?: string;
8674
+ gevonden?: boolean;
8675
+ melding?: string | null;
8676
+ module_id?: string | null;
8677
+ repo?: string;
8678
+ };
8679
+ Relationships: [];
8680
+ };
8681
+ itk_handover_module_meta: {
8682
+ Row: {
8683
+ check_aangevraagd_op: string | null;
8684
+ check_nodig: boolean;
8685
+ check_reden: string | null;
8686
+ created_at: string;
8687
+ module_id: string;
8688
+ project_url: string | null;
8689
+ publicatie_url: string | null;
8690
+ updated_at: string;
8691
+ };
8692
+ Insert: {
8693
+ check_aangevraagd_op?: string | null;
8694
+ check_nodig?: boolean;
8695
+ check_reden?: string | null;
8696
+ created_at?: string;
8697
+ module_id: string;
8698
+ project_url?: string | null;
8699
+ publicatie_url?: string | null;
8700
+ updated_at?: string;
8701
+ };
8702
+ Update: {
8703
+ check_aangevraagd_op?: string | null;
8704
+ check_nodig?: boolean;
8705
+ check_reden?: string | null;
8706
+ created_at?: string;
8707
+ module_id?: string;
8708
+ project_url?: string | null;
8709
+ publicatie_url?: string | null;
8710
+ updated_at?: string;
8711
+ };
8712
+ Relationships: [];
8713
+ };
8714
+ itk_handover_project_modules: {
8715
+ Row: {
8716
+ created_at: string;
8717
+ id: string;
8718
+ module_id: string;
8719
+ project_id: string;
8720
+ updated_at: string;
8721
+ };
8722
+ Insert: {
8723
+ created_at?: string;
8724
+ id?: string;
8725
+ module_id: string;
8726
+ project_id: string;
8727
+ updated_at?: string;
8728
+ };
8729
+ Update: {
8730
+ created_at?: string;
8731
+ id?: string;
8732
+ module_id?: string;
8733
+ project_id?: string;
8734
+ updated_at?: string;
8735
+ };
8736
+ Relationships: [
8737
+ {
8738
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8739
+ columns: ["project_id"];
8740
+ isOneToOne: false;
8741
+ referencedRelation: "itk_handover_projecten";
8742
+ referencedColumns: ["id"];
8743
+ }
8744
+ ];
8745
+ };
8746
+ itk_handover_projecten: {
8747
+ Row: {
8748
+ created_at: string;
8749
+ id: string;
8750
+ naam: string;
8751
+ omschrijving: string | null;
8752
+ updated_at: string;
8753
+ };
8754
+ Insert: {
8755
+ created_at?: string;
8756
+ id?: string;
8757
+ naam: string;
8758
+ omschrijving?: string | null;
8759
+ updated_at?: string;
8760
+ };
8761
+ Update: {
8762
+ created_at?: string;
8763
+ id?: string;
8764
+ naam?: string;
8765
+ omschrijving?: string | null;
8766
+ updated_at?: string;
8767
+ };
8768
+ Relationships: [];
8769
+ };
8591
8770
  itk_handover_rechten: {
8592
8771
  Row: {
8593
8772
  created_at: string;
@@ -8615,42 +8794,33 @@ export type Database = {
8615
8794
  };
8616
8795
  Relationships: [];
8617
8796
  };
8618
- itk_handover_tokens: {
8797
+ itk_module_fingerprints: {
8619
8798
  Row: {
8620
- aangemaakt_door: string | null;
8621
8799
  created_at: string;
8800
+ gemaakt_op: string;
8801
+ hash: string;
8622
8802
  id: string;
8623
- is_actief: boolean;
8624
- laatst_gebruikt_op: string | null;
8625
- label: string;
8626
8803
  module_id: string;
8627
- token_hash: string;
8804
+ payload: Json;
8628
8805
  updated_at: string;
8629
- verloopt_op: string | null;
8630
8806
  };
8631
8807
  Insert: {
8632
- aangemaakt_door?: string | null;
8633
8808
  created_at?: string;
8809
+ gemaakt_op?: string;
8810
+ hash: string;
8634
8811
  id?: string;
8635
- is_actief?: boolean;
8636
- laatst_gebruikt_op?: string | null;
8637
- label?: string;
8638
8812
  module_id: string;
8639
- token_hash: string;
8813
+ payload?: Json;
8640
8814
  updated_at?: string;
8641
- verloopt_op?: string | null;
8642
8815
  };
8643
8816
  Update: {
8644
- aangemaakt_door?: string | null;
8645
8817
  created_at?: string;
8818
+ gemaakt_op?: string;
8819
+ hash?: string;
8646
8820
  id?: string;
8647
- is_actief?: boolean;
8648
- laatst_gebruikt_op?: string | null;
8649
- label?: string;
8650
8821
  module_id?: string;
8651
- token_hash?: string;
8822
+ payload?: Json;
8652
8823
  updated_at?: string;
8653
- verloopt_op?: string | null;
8654
8824
  };
8655
8825
  Relationships: [];
8656
8826
  };
@@ -8658,6 +8828,11 @@ export type Database = {
8658
8828
  Row: {
8659
8829
  bevindingen: string | null;
8660
8830
  bezit_tabellen: string[];
8831
+ bron_commit: string | null;
8832
+ bron_pad: string | null;
8833
+ bron_repo: string | null;
8834
+ bron_soort: string | null;
8835
+ bron_versie: string | null;
8661
8836
  conflicten_snapshot: Json;
8662
8837
  contractfuncties: string[];
8663
8838
  created_at: string;
@@ -8668,6 +8843,8 @@ export type Database = {
8668
8843
  id: string;
8669
8844
  inhoud_md: string;
8670
8845
  is_actueel: boolean;
8846
+ is_gearchiveerd: boolean;
8847
+ laatst_gecontroleerd_op: string | null;
8671
8848
  module_id: string;
8672
8849
  module_titel: string;
8673
8850
  ontbrekende_contracten: string[];
@@ -8678,6 +8855,11 @@ export type Database = {
8678
8855
  Insert: {
8679
8856
  bevindingen?: string | null;
8680
8857
  bezit_tabellen?: string[];
8858
+ bron_commit?: string | null;
8859
+ bron_pad?: string | null;
8860
+ bron_repo?: string | null;
8861
+ bron_soort?: string | null;
8862
+ bron_versie?: string | null;
8681
8863
  conflicten_snapshot?: Json;
8682
8864
  contractfuncties?: string[];
8683
8865
  created_at?: string;
@@ -8688,6 +8870,8 @@ export type Database = {
8688
8870
  id?: string;
8689
8871
  inhoud_md: string;
8690
8872
  is_actueel?: boolean;
8873
+ is_gearchiveerd?: boolean;
8874
+ laatst_gecontroleerd_op?: string | null;
8691
8875
  module_id: string;
8692
8876
  module_titel: string;
8693
8877
  ontbrekende_contracten?: string[];
@@ -8698,6 +8882,11 @@ export type Database = {
8698
8882
  Update: {
8699
8883
  bevindingen?: string | null;
8700
8884
  bezit_tabellen?: string[];
8885
+ bron_commit?: string | null;
8886
+ bron_pad?: string | null;
8887
+ bron_repo?: string | null;
8888
+ bron_soort?: string | null;
8889
+ bron_versie?: string | null;
8701
8890
  conflicten_snapshot?: Json;
8702
8891
  contractfuncties?: string[];
8703
8892
  created_at?: string;
@@ -8708,6 +8897,8 @@ export type Database = {
8708
8897
  id?: string;
8709
8898
  inhoud_md?: string;
8710
8899
  is_actueel?: boolean;
8900
+ is_gearchiveerd?: boolean;
8901
+ laatst_gecontroleerd_op?: string | null;
8711
8902
  module_id?: string;
8712
8903
  module_titel?: string;
8713
8904
  ontbrekende_contracten?: string[];
@@ -8762,6 +8953,39 @@ export type Database = {
8762
8953
  };
8763
8954
  Relationships: [];
8764
8955
  };
8956
+ itk_module_wijzigingen: {
8957
+ Row: {
8958
+ created_at: string;
8959
+ geconstateerd_op: string;
8960
+ id: string;
8961
+ module_id: string;
8962
+ omschrijving: string;
8963
+ soort: string;
8964
+ updated_at: string;
8965
+ was_na_publicatie: boolean;
8966
+ };
8967
+ Insert: {
8968
+ created_at?: string;
8969
+ geconstateerd_op?: string;
8970
+ id?: string;
8971
+ module_id: string;
8972
+ omschrijving: string;
8973
+ soort: string;
8974
+ updated_at?: string;
8975
+ was_na_publicatie?: boolean;
8976
+ };
8977
+ Update: {
8978
+ created_at?: string;
8979
+ geconstateerd_op?: string;
8980
+ id?: string;
8981
+ module_id?: string;
8982
+ omschrijving?: string;
8983
+ soort?: string;
8984
+ updated_at?: string;
8985
+ was_na_publicatie?: boolean;
8986
+ };
8987
+ Relationships: [];
8988
+ };
8765
8989
  itk_offerte_events: {
8766
8990
  Row: {
8767
8991
  created_at: string;
@@ -9009,6 +9233,13 @@ export type Database = {
9009
9233
  referencedRelation: "werkbonnen";
9010
9234
  referencedColumns: ["id"];
9011
9235
  },
9236
+ {
9237
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9238
+ columns: ["follow_up_werkbon_id"];
9239
+ isOneToOne: false;
9240
+ referencedRelation: "wo_overview";
9241
+ referencedColumns: ["id"];
9242
+ },
9012
9243
  {
9013
9244
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
9014
9245
  columns: ["werkbon_id"];
@@ -9016,6 +9247,13 @@ export type Database = {
9016
9247
  referencedRelation: "werkbonnen";
9017
9248
  referencedColumns: ["id"];
9018
9249
  },
9250
+ {
9251
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9252
+ columns: ["werkbon_id"];
9253
+ isOneToOne: false;
9254
+ referencedRelation: "wo_overview";
9255
+ referencedColumns: ["id"];
9256
+ },
9019
9257
  {
9020
9258
  foreignKeyName: "itk_offertes_work_location_id_fkey";
9021
9259
  columns: ["work_location_id"];
@@ -9325,6 +9563,13 @@ export type Database = {
9325
9563
  referencedRelation: "product_categories";
9326
9564
  referencedColumns: ["id"];
9327
9565
  },
9566
+ {
9567
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9568
+ columns: ["product_id"];
9569
+ isOneToOne: false;
9570
+ referencedRelation: "logistics_product_dimensions";
9571
+ referencedColumns: ["product_id"];
9572
+ },
9328
9573
  {
9329
9574
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9330
9575
  columns: ["product_id"];
@@ -9395,6 +9640,13 @@ export type Database = {
9395
9640
  referencedRelation: "product_categories";
9396
9641
  referencedColumns: ["id"];
9397
9642
  },
9643
+ {
9644
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9645
+ columns: ["product_id"];
9646
+ isOneToOne: false;
9647
+ referencedRelation: "logistics_product_dimensions";
9648
+ referencedColumns: ["product_id"];
9649
+ },
9398
9650
  {
9399
9651
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9400
9652
  columns: ["product_id"];
@@ -9465,6 +9717,13 @@ export type Database = {
9465
9717
  referencedRelation: "product_categories";
9466
9718
  referencedColumns: ["id"];
9467
9719
  },
9720
+ {
9721
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9722
+ columns: ["product_id"];
9723
+ isOneToOne: false;
9724
+ referencedRelation: "logistics_product_dimensions";
9725
+ referencedColumns: ["product_id"];
9726
+ },
9468
9727
  {
9469
9728
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9470
9729
  columns: ["product_id"];
@@ -9650,78 +9909,168 @@ export type Database = {
9650
9909
  };
9651
9910
  Relationships: [];
9652
9911
  };
9653
- logistics_decisions: {
9912
+ logistics_cart_barcode: {
9654
9913
  Row: {
9914
+ barcode: string;
9915
+ cart_id: string;
9655
9916
  created_at: string;
9656
- explanation: string | null;
9657
- id: string;
9658
- input_snapshot: Json;
9659
- result: Json;
9660
- slot: string;
9661
- strategy_id: string | null;
9662
- subject_id: string;
9663
- subject_type: string;
9664
- user_id: string;
9917
+ order_id: string | null;
9665
9918
  };
9666
9919
  Insert: {
9920
+ barcode: string;
9921
+ cart_id: string;
9667
9922
  created_at?: string;
9668
- explanation?: string | null;
9669
- id?: string;
9670
- input_snapshot?: Json;
9671
- result?: Json;
9672
- slot: string;
9673
- strategy_id?: string | null;
9674
- subject_id: string;
9675
- subject_type: string;
9676
- user_id: string;
9923
+ order_id?: string | null;
9677
9924
  };
9678
9925
  Update: {
9926
+ barcode?: string;
9927
+ cart_id?: string;
9679
9928
  created_at?: string;
9680
- explanation?: string | null;
9681
- id?: string;
9682
- input_snapshot?: Json;
9683
- result?: Json;
9684
- slot?: string;
9685
- strategy_id?: string | null;
9686
- subject_id?: string;
9687
- subject_type?: string;
9688
- user_id?: string;
9929
+ order_id?: string | null;
9689
9930
  };
9690
- Relationships: [
9691
- {
9692
- foreignKeyName: "logistics_decisions_strategy_id_fkey";
9693
- columns: ["strategy_id"];
9694
- isOneToOne: false;
9695
- referencedRelation: "logistics_strategies";
9696
- referencedColumns: ["id"];
9697
- }
9698
- ];
9931
+ Relationships: [];
9699
9932
  };
9700
- logistics_delay_alerts: {
9933
+ logistics_control_scan: {
9701
9934
  Row: {
9702
- approved_by: string | null;
9935
+ approved_at: string | null;
9936
+ attempts: number;
9937
+ barcode: string;
9938
+ cart_id: string;
9703
9939
  created_at: string;
9704
- current_status: string | null;
9705
- customer_name: string | null;
9706
- customer_notified: boolean;
9707
- customer_template: string | null;
9708
- email_enabled: boolean;
9709
- email_error: string | null;
9710
- email_recipients: string[];
9711
- email_sent_at: string | null;
9712
- email_status: string;
9713
- expected_delivery_date: string | null;
9940
+ document_url: string | null;
9941
+ error: string | null;
9942
+ error_code: string | null;
9943
+ fulfillment_order_id: string | null;
9714
9944
  id: string;
9715
- load_carrier_id: string | null;
9716
- notification_id: string | null;
9945
+ is_floriday: boolean;
9946
+ locked_until: string | null;
9717
9947
  order_id: string | null;
9718
- order_ref: string;
9719
- planned_delivery_date: string | null;
9720
- priority: number;
9721
- reason: string | null;
9722
- reschedule_mode: string;
9723
- reschedule_status: string;
9724
- rescheduled_at: string | null;
9948
+ order_number: string | null;
9949
+ print_job_id: string | null;
9950
+ printed_at: string | null;
9951
+ printer_id: string | null;
9952
+ scanner_id: string | null;
9953
+ status: string;
9954
+ updated_at: string;
9955
+ };
9956
+ Insert: {
9957
+ approved_at?: string | null;
9958
+ attempts?: number;
9959
+ barcode: string;
9960
+ cart_id: string;
9961
+ created_at?: string;
9962
+ document_url?: string | null;
9963
+ error?: string | null;
9964
+ error_code?: string | null;
9965
+ fulfillment_order_id?: string | null;
9966
+ id?: string;
9967
+ is_floriday?: boolean;
9968
+ locked_until?: string | null;
9969
+ order_id?: string | null;
9970
+ order_number?: string | null;
9971
+ print_job_id?: string | null;
9972
+ printed_at?: string | null;
9973
+ printer_id?: string | null;
9974
+ scanner_id?: string | null;
9975
+ status?: string;
9976
+ updated_at?: string;
9977
+ };
9978
+ Update: {
9979
+ approved_at?: string | null;
9980
+ attempts?: number;
9981
+ barcode?: string;
9982
+ cart_id?: string;
9983
+ created_at?: string;
9984
+ document_url?: string | null;
9985
+ error?: string | null;
9986
+ error_code?: string | null;
9987
+ fulfillment_order_id?: string | null;
9988
+ id?: string;
9989
+ is_floriday?: boolean;
9990
+ locked_until?: string | null;
9991
+ order_id?: string | null;
9992
+ order_number?: string | null;
9993
+ print_job_id?: string | null;
9994
+ printed_at?: string | null;
9995
+ printer_id?: string | null;
9996
+ scanner_id?: string | null;
9997
+ status?: string;
9998
+ updated_at?: string;
9999
+ };
10000
+ Relationships: [];
10001
+ };
10002
+ logistics_decisions: {
10003
+ Row: {
10004
+ created_at: string;
10005
+ explanation: string | null;
10006
+ id: string;
10007
+ input_snapshot: Json;
10008
+ result: Json;
10009
+ slot: string;
10010
+ strategy_id: string | null;
10011
+ subject_id: string;
10012
+ subject_type: string;
10013
+ user_id: string;
10014
+ };
10015
+ Insert: {
10016
+ created_at?: string;
10017
+ explanation?: string | null;
10018
+ id?: string;
10019
+ input_snapshot?: Json;
10020
+ result?: Json;
10021
+ slot: string;
10022
+ strategy_id?: string | null;
10023
+ subject_id: string;
10024
+ subject_type: string;
10025
+ user_id: string;
10026
+ };
10027
+ Update: {
10028
+ created_at?: string;
10029
+ explanation?: string | null;
10030
+ id?: string;
10031
+ input_snapshot?: Json;
10032
+ result?: Json;
10033
+ slot?: string;
10034
+ strategy_id?: string | null;
10035
+ subject_id?: string;
10036
+ subject_type?: string;
10037
+ user_id?: string;
10038
+ };
10039
+ Relationships: [
10040
+ {
10041
+ foreignKeyName: "logistics_decisions_strategy_id_fkey";
10042
+ columns: ["strategy_id"];
10043
+ isOneToOne: false;
10044
+ referencedRelation: "logistics_strategies";
10045
+ referencedColumns: ["id"];
10046
+ }
10047
+ ];
10048
+ };
10049
+ logistics_delay_alerts: {
10050
+ Row: {
10051
+ approved_by: string | null;
10052
+ created_at: string;
10053
+ current_status: string | null;
10054
+ customer_name: string | null;
10055
+ customer_notified: boolean;
10056
+ customer_template: string | null;
10057
+ email_enabled: boolean;
10058
+ email_error: string | null;
10059
+ email_recipients: string[];
10060
+ email_sent_at: string | null;
10061
+ email_status: string;
10062
+ expected_delivery_date: string | null;
10063
+ id: string;
10064
+ load_carrier_id: string | null;
10065
+ notification_id: string | null;
10066
+ order_id: string | null;
10067
+ order_ref: string;
10068
+ planned_delivery_date: string | null;
10069
+ priority: number;
10070
+ reason: string | null;
10071
+ reschedule_mode: string;
10072
+ reschedule_status: string;
10073
+ rescheduled_at: string | null;
9725
10074
  resolved_at: string | null;
9726
10075
  resolved_by: string | null;
9727
10076
  status: string;
@@ -9941,6 +10290,24 @@ export type Database = {
9941
10290
  };
9942
10291
  Relationships: [];
9943
10292
  };
10293
+ logistics_floriday_carrier_map: {
10294
+ Row: {
10295
+ carrier_code: string;
10296
+ created_at: string;
10297
+ floriday_code: string;
10298
+ };
10299
+ Insert: {
10300
+ carrier_code: string;
10301
+ created_at?: string;
10302
+ floriday_code: string;
10303
+ };
10304
+ Update: {
10305
+ carrier_code?: string;
10306
+ created_at?: string;
10307
+ floriday_code?: string;
10308
+ };
10309
+ Relationships: [];
10310
+ };
9944
10311
  logistics_floriday_pushes: {
9945
10312
  Row: {
9946
10313
  attempts: number;
@@ -10060,6 +10427,36 @@ export type Database = {
10060
10427
  }
10061
10428
  ];
10062
10429
  };
10430
+ logistics_layer_override_log: {
10431
+ Row: {
10432
+ cart_id: string;
10433
+ created_at: string;
10434
+ details: Json;
10435
+ id: string;
10436
+ keg_id: string | null;
10437
+ product_id: string | null;
10438
+ reason: string;
10439
+ };
10440
+ Insert: {
10441
+ cart_id: string;
10442
+ created_at?: string;
10443
+ details?: Json;
10444
+ id?: string;
10445
+ keg_id?: string | null;
10446
+ product_id?: string | null;
10447
+ reason: string;
10448
+ };
10449
+ Update: {
10450
+ cart_id?: string;
10451
+ created_at?: string;
10452
+ details?: Json;
10453
+ id?: string;
10454
+ keg_id?: string | null;
10455
+ product_id?: string | null;
10456
+ reason?: string;
10457
+ };
10458
+ Relationships: [];
10459
+ };
10063
10460
  logistics_pickup_moments: {
10064
10461
  Row: {
10065
10462
  carrier_ref: string | null;
@@ -10493,6 +10890,36 @@ export type Database = {
10493
10890
  }
10494
10891
  ];
10495
10892
  };
10893
+ logistics_shipping_note_scan: {
10894
+ Row: {
10895
+ barcode: string;
10896
+ cart_id: string;
10897
+ id: string;
10898
+ is_reprint: boolean;
10899
+ order_id: string | null;
10900
+ print_job_id: string | null;
10901
+ scanned_at: string;
10902
+ };
10903
+ Insert: {
10904
+ barcode: string;
10905
+ cart_id: string;
10906
+ id?: string;
10907
+ is_reprint?: boolean;
10908
+ order_id?: string | null;
10909
+ print_job_id?: string | null;
10910
+ scanned_at?: string;
10911
+ };
10912
+ Update: {
10913
+ barcode?: string;
10914
+ cart_id?: string;
10915
+ id?: string;
10916
+ is_reprint?: boolean;
10917
+ order_id?: string | null;
10918
+ print_job_id?: string | null;
10919
+ scanned_at?: string;
10920
+ };
10921
+ Relationships: [];
10922
+ };
10496
10923
  logistics_staff_planning: {
10497
10924
  Row: {
10498
10925
  created_at: string;
@@ -11258,6 +11685,13 @@ export type Database = {
11258
11685
  updated_at?: string;
11259
11686
  };
11260
11687
  Relationships: [
11688
+ {
11689
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11690
+ columns: ["product_id"];
11691
+ isOneToOne: false;
11692
+ referencedRelation: "logistics_product_dimensions";
11693
+ referencedColumns: ["product_id"];
11694
+ },
11261
11695
  {
11262
11696
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11263
11697
  columns: ["product_id"];
@@ -12600,6 +13034,8 @@ export type Database = {
12600
13034
  order_buffers: {
12601
13035
  Row: {
12602
13036
  buffer_key: string;
13037
+ close_at: string | null;
13038
+ closed_at: string | null;
12603
13039
  created_at: string;
12604
13040
  customer_id: string | null;
12605
13041
  grouping_mode: string;
@@ -12611,6 +13047,8 @@ export type Database = {
12611
13047
  };
12612
13048
  Insert: {
12613
13049
  buffer_key: string;
13050
+ close_at?: string | null;
13051
+ closed_at?: string | null;
12614
13052
  created_at?: string;
12615
13053
  customer_id?: string | null;
12616
13054
  grouping_mode: string;
@@ -12622,6 +13060,8 @@ export type Database = {
12622
13060
  };
12623
13061
  Update: {
12624
13062
  buffer_key?: string;
13063
+ close_at?: string | null;
13064
+ closed_at?: string | null;
12625
13065
  created_at?: string;
12626
13066
  customer_id?: string | null;
12627
13067
  grouping_mode?: string;
@@ -12638,10 +13078,12 @@ export type Database = {
12638
13078
  boxes: number | null;
12639
13079
  cart_id: string;
12640
13080
  crates: number;
13081
+ crates_in_layer: number | null;
12641
13082
  crates_per_layer: number;
12642
13083
  created_at: string;
12643
13084
  id: string;
12644
13085
  layer_fraction: number;
13086
+ layer_index: number | null;
12645
13087
  layer_share_pct: number;
12646
13088
  layers_per_cart: number;
12647
13089
  order_item_id: string | null;
@@ -12654,10 +13096,12 @@ export type Database = {
12654
13096
  boxes?: number | null;
12655
13097
  cart_id: string;
12656
13098
  crates: number;
13099
+ crates_in_layer?: number | null;
12657
13100
  crates_per_layer?: number;
12658
13101
  created_at?: string;
12659
13102
  id?: string;
12660
13103
  layer_fraction?: number;
13104
+ layer_index?: number | null;
12661
13105
  layer_share_pct?: number;
12662
13106
  layers_per_cart?: number;
12663
13107
  order_item_id?: string | null;
@@ -12670,10 +13114,12 @@ export type Database = {
12670
13114
  boxes?: number | null;
12671
13115
  cart_id?: string;
12672
13116
  crates?: number;
13117
+ crates_in_layer?: number | null;
12673
13118
  crates_per_layer?: number;
12674
13119
  created_at?: string;
12675
13120
  id?: string;
12676
13121
  layer_fraction?: number;
13122
+ layer_index?: number | null;
12677
13123
  layer_share_pct?: number;
12678
13124
  layers_per_cart?: number;
12679
13125
  order_item_id?: string | null;
@@ -12697,6 +13143,13 @@ export type Database = {
12697
13143
  referencedRelation: "order_items";
12698
13144
  referencedColumns: ["id"];
12699
13145
  },
13146
+ {
13147
+ foreignKeyName: "order_cart_items_product_id_fkey";
13148
+ columns: ["product_id"];
13149
+ isOneToOne: false;
13150
+ referencedRelation: "logistics_product_dimensions";
13151
+ referencedColumns: ["product_id"];
13152
+ },
12700
13153
  {
12701
13154
  foreignKeyName: "order_cart_items_product_id_fkey";
12702
13155
  columns: ["product_id"];
@@ -12706,6 +13159,95 @@ export type Database = {
12706
13159
  }
12707
13160
  ];
12708
13161
  };
13162
+ order_cart_layer_positions: {
13163
+ Row: {
13164
+ algorithm_version: number | null;
13165
+ cart_id: string;
13166
+ created_at: string;
13167
+ height: number;
13168
+ id: string;
13169
+ keg_id: string;
13170
+ label: string | null;
13171
+ layer: number;
13172
+ layer_height: number | null;
13173
+ layer_width: number | null;
13174
+ manual_overridden_at: string | null;
13175
+ manual_overridden_by: string | null;
13176
+ manual_override: boolean;
13177
+ order_item_id: string | null;
13178
+ original_layer: number | null;
13179
+ original_x: number | null;
13180
+ original_y: number | null;
13181
+ product_id: string | null;
13182
+ rotation: number;
13183
+ source: string | null;
13184
+ updated_at: string;
13185
+ width: number;
13186
+ x: number;
13187
+ y: number;
13188
+ };
13189
+ Insert: {
13190
+ algorithm_version?: number | null;
13191
+ cart_id: string;
13192
+ created_at?: string;
13193
+ height: number;
13194
+ id?: string;
13195
+ keg_id: string;
13196
+ label?: string | null;
13197
+ layer: number;
13198
+ layer_height?: number | null;
13199
+ layer_width?: number | null;
13200
+ manual_overridden_at?: string | null;
13201
+ manual_overridden_by?: string | null;
13202
+ manual_override?: boolean;
13203
+ order_item_id?: string | null;
13204
+ original_layer?: number | null;
13205
+ original_x?: number | null;
13206
+ original_y?: number | null;
13207
+ product_id?: string | null;
13208
+ rotation?: number;
13209
+ source?: string | null;
13210
+ updated_at?: string;
13211
+ width: number;
13212
+ x: number;
13213
+ y: number;
13214
+ };
13215
+ Update: {
13216
+ algorithm_version?: number | null;
13217
+ cart_id?: string;
13218
+ created_at?: string;
13219
+ height?: number;
13220
+ id?: string;
13221
+ keg_id?: string;
13222
+ label?: string | null;
13223
+ layer?: number;
13224
+ layer_height?: number | null;
13225
+ layer_width?: number | null;
13226
+ manual_overridden_at?: string | null;
13227
+ manual_overridden_by?: string | null;
13228
+ manual_override?: boolean;
13229
+ order_item_id?: string | null;
13230
+ original_layer?: number | null;
13231
+ original_x?: number | null;
13232
+ original_y?: number | null;
13233
+ product_id?: string | null;
13234
+ rotation?: number;
13235
+ source?: string | null;
13236
+ updated_at?: string;
13237
+ width?: number;
13238
+ x?: number;
13239
+ y?: number;
13240
+ };
13241
+ Relationships: [
13242
+ {
13243
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
13244
+ columns: ["cart_id"];
13245
+ isOneToOne: false;
13246
+ referencedRelation: "order_carts";
13247
+ referencedColumns: ["id"];
13248
+ }
13249
+ ];
13250
+ };
12709
13251
  order_carts: {
12710
13252
  Row: {
12711
13253
  algorithm_version: number;
@@ -12717,6 +13259,7 @@ export type Database = {
12717
13259
  id: string;
12718
13260
  is_auto: boolean;
12719
13261
  is_complete: boolean;
13262
+ layout_method: string | null;
12720
13263
  max_layers: number | null;
12721
13264
  moved_at: string | null;
12722
13265
  moved_from_moment_id: string | null;
@@ -12727,6 +13270,7 @@ export type Database = {
12727
13270
  pickup_locked: boolean;
12728
13271
  pickup_moment_id: string | null;
12729
13272
  source: string;
13273
+ total_carts: number | null;
12730
13274
  total_layers_used: number;
12731
13275
  updated_at: string;
12732
13276
  weight_kg: number | null;
@@ -12741,6 +13285,7 @@ export type Database = {
12741
13285
  id?: string;
12742
13286
  is_auto?: boolean;
12743
13287
  is_complete?: boolean;
13288
+ layout_method?: string | null;
12744
13289
  max_layers?: number | null;
12745
13290
  moved_at?: string | null;
12746
13291
  moved_from_moment_id?: string | null;
@@ -12751,6 +13296,7 @@ export type Database = {
12751
13296
  pickup_locked?: boolean;
12752
13297
  pickup_moment_id?: string | null;
12753
13298
  source?: string;
13299
+ total_carts?: number | null;
12754
13300
  total_layers_used?: number;
12755
13301
  updated_at?: string;
12756
13302
  weight_kg?: number | null;
@@ -12765,6 +13311,7 @@ export type Database = {
12765
13311
  id?: string;
12766
13312
  is_auto?: boolean;
12767
13313
  is_complete?: boolean;
13314
+ layout_method?: string | null;
12768
13315
  max_layers?: number | null;
12769
13316
  moved_at?: string | null;
12770
13317
  moved_from_moment_id?: string | null;
@@ -12775,6 +13322,7 @@ export type Database = {
12775
13322
  pickup_locked?: boolean;
12776
13323
  pickup_moment_id?: string | null;
12777
13324
  source?: string;
13325
+ total_carts?: number | null;
12778
13326
  total_layers_used?: number;
12779
13327
  updated_at?: string;
12780
13328
  weight_kg?: number | null;
@@ -12885,29 +13433,64 @@ export type Database = {
12885
13433
  };
12886
13434
  Relationships: [];
12887
13435
  };
12888
- order_invoice_links: {
13436
+ order_fust_bookings: {
12889
13437
  Row: {
12890
- administration_code: string | null;
12891
- attempts: number;
12892
13438
  created_at: string;
12893
- error_message: string | null;
13439
+ fust_type_id: string;
12894
13440
  id: string;
12895
- invoice_number: string | null;
12896
- next_attempt_at: string;
12897
- order_id: string;
12898
- processed_at: string | null;
12899
- status: string;
13441
+ order_item_id: string;
13442
+ quantity: number;
12900
13443
  updated_at: string;
12901
13444
  };
12902
13445
  Insert: {
12903
- administration_code?: string | null;
12904
- attempts?: number;
12905
13446
  created_at?: string;
12906
- error_message?: string | null;
13447
+ fust_type_id: string;
12907
13448
  id?: string;
12908
- invoice_number?: string | null;
12909
- next_attempt_at?: string;
12910
- order_id: string;
13449
+ order_item_id: string;
13450
+ quantity?: number;
13451
+ updated_at?: string;
13452
+ };
13453
+ Update: {
13454
+ created_at?: string;
13455
+ fust_type_id?: string;
13456
+ id?: string;
13457
+ order_item_id?: string;
13458
+ quantity?: number;
13459
+ updated_at?: string;
13460
+ };
13461
+ Relationships: [
13462
+ {
13463
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13464
+ columns: ["fust_type_id"];
13465
+ isOneToOne: false;
13466
+ referencedRelation: "fust_types";
13467
+ referencedColumns: ["id"];
13468
+ }
13469
+ ];
13470
+ };
13471
+ order_invoice_links: {
13472
+ Row: {
13473
+ administration_code: string | null;
13474
+ attempts: number;
13475
+ created_at: string;
13476
+ error_message: string | null;
13477
+ id: string;
13478
+ invoice_number: string | null;
13479
+ next_attempt_at: string;
13480
+ order_id: string;
13481
+ processed_at: string | null;
13482
+ status: string;
13483
+ updated_at: string;
13484
+ };
13485
+ Insert: {
13486
+ administration_code?: string | null;
13487
+ attempts?: number;
13488
+ created_at?: string;
13489
+ error_message?: string | null;
13490
+ id?: string;
13491
+ invoice_number?: string | null;
13492
+ next_attempt_at?: string;
13493
+ order_id: string;
12911
13494
  processed_at?: string | null;
12912
13495
  status?: string;
12913
13496
  updated_at?: string;
@@ -12975,6 +13558,13 @@ export type Database = {
12975
13558
  referencedRelation: "orders";
12976
13559
  referencedColumns: ["id"];
12977
13560
  },
13561
+ {
13562
+ foreignKeyName: "order_items_product_id_fkey";
13563
+ columns: ["product_id"];
13564
+ isOneToOne: false;
13565
+ referencedRelation: "logistics_product_dimensions";
13566
+ referencedColumns: ["product_id"];
13567
+ },
12978
13568
  {
12979
13569
  foreignKeyName: "order_items_product_id_fkey";
12980
13570
  columns: ["product_id"];
@@ -13129,6 +13719,9 @@ export type Database = {
13129
13719
  plan_locked_at: string | null;
13130
13720
  plan_locked_ref: string | null;
13131
13721
  status: string;
13722
+ status_changed_at: string;
13723
+ status_origin: string;
13724
+ status_sync_token: string | null;
13132
13725
  total: string;
13133
13726
  updated_at: string;
13134
13727
  };
@@ -13153,6 +13746,9 @@ export type Database = {
13153
13746
  plan_locked_at?: string | null;
13154
13747
  plan_locked_ref?: string | null;
13155
13748
  status?: string;
13749
+ status_changed_at?: string;
13750
+ status_origin?: string;
13751
+ status_sync_token?: string | null;
13156
13752
  total?: string;
13157
13753
  updated_at?: string;
13158
13754
  };
@@ -13177,6 +13773,9 @@ export type Database = {
13177
13773
  plan_locked_at?: string | null;
13178
13774
  plan_locked_ref?: string | null;
13179
13775
  status?: string;
13776
+ status_changed_at?: string;
13777
+ status_origin?: string;
13778
+ status_sync_token?: string | null;
13180
13779
  total?: string;
13181
13780
  updated_at?: string;
13182
13781
  };
@@ -13233,6 +13832,132 @@ export type Database = {
13233
13832
  };
13234
13833
  Relationships: [];
13235
13834
  };
13835
+ pakbon_barcode_inhoud: {
13836
+ Row: {
13837
+ barcode: string;
13838
+ cart_id: string | null;
13839
+ cart_index: number | null;
13840
+ cart_label: string | null;
13841
+ cart_total: number | null;
13842
+ created_at: string;
13843
+ is_herprint: boolean;
13844
+ klant_naam: string | null;
13845
+ klant_nummer: string | null;
13846
+ layout_id: string | null;
13847
+ layout_variant: string | null;
13848
+ order_nummer: string | null;
13849
+ order_ref: string | null;
13850
+ print_job_id: string | null;
13851
+ regels: Json;
13852
+ updated_at: string;
13853
+ };
13854
+ Insert: {
13855
+ barcode: string;
13856
+ cart_id?: string | null;
13857
+ cart_index?: number | null;
13858
+ cart_label?: string | null;
13859
+ cart_total?: number | null;
13860
+ created_at?: string;
13861
+ is_herprint?: boolean;
13862
+ klant_naam?: string | null;
13863
+ klant_nummer?: string | null;
13864
+ layout_id?: string | null;
13865
+ layout_variant?: string | null;
13866
+ order_nummer?: string | null;
13867
+ order_ref?: string | null;
13868
+ print_job_id?: string | null;
13869
+ regels?: Json;
13870
+ updated_at?: string;
13871
+ };
13872
+ Update: {
13873
+ barcode?: string;
13874
+ cart_id?: string | null;
13875
+ cart_index?: number | null;
13876
+ cart_label?: string | null;
13877
+ cart_total?: number | null;
13878
+ created_at?: string;
13879
+ is_herprint?: boolean;
13880
+ klant_naam?: string | null;
13881
+ klant_nummer?: string | null;
13882
+ layout_id?: string | null;
13883
+ layout_variant?: string | null;
13884
+ order_nummer?: string | null;
13885
+ order_ref?: string | null;
13886
+ print_job_id?: string | null;
13887
+ regels?: Json;
13888
+ updated_at?: string;
13889
+ };
13890
+ Relationships: [];
13891
+ };
13892
+ pakbon_barcode_verzoeken: {
13893
+ Row: {
13894
+ aangevraagd_op: string;
13895
+ barcode: string | null;
13896
+ cart_id: string | null;
13897
+ cart_index: number | null;
13898
+ cart_label: string | null;
13899
+ cart_total: number | null;
13900
+ documentnaam: string | null;
13901
+ geleverd_op: string | null;
13902
+ id: string;
13903
+ is_herprint: boolean;
13904
+ klant_naam: string | null;
13905
+ klant_nummer: string | null;
13906
+ laatst_gevraagd_op: string;
13907
+ layout_id: string | null;
13908
+ layout_variant: string | null;
13909
+ order_nummer: string | null;
13910
+ order_ref: string | null;
13911
+ print_job_id: string;
13912
+ status: string;
13913
+ updated_at: string;
13914
+ };
13915
+ Insert: {
13916
+ aangevraagd_op?: string;
13917
+ barcode?: string | null;
13918
+ cart_id?: string | null;
13919
+ cart_index?: number | null;
13920
+ cart_label?: string | null;
13921
+ cart_total?: number | null;
13922
+ documentnaam?: string | null;
13923
+ geleverd_op?: string | null;
13924
+ id?: string;
13925
+ is_herprint?: boolean;
13926
+ klant_naam?: string | null;
13927
+ klant_nummer?: string | null;
13928
+ laatst_gevraagd_op?: string;
13929
+ layout_id?: string | null;
13930
+ layout_variant?: string | null;
13931
+ order_nummer?: string | null;
13932
+ order_ref?: string | null;
13933
+ print_job_id: string;
13934
+ status?: string;
13935
+ updated_at?: string;
13936
+ };
13937
+ Update: {
13938
+ aangevraagd_op?: string;
13939
+ barcode?: string | null;
13940
+ cart_id?: string | null;
13941
+ cart_index?: number | null;
13942
+ cart_label?: string | null;
13943
+ cart_total?: number | null;
13944
+ documentnaam?: string | null;
13945
+ geleverd_op?: string | null;
13946
+ id?: string;
13947
+ is_herprint?: boolean;
13948
+ klant_naam?: string | null;
13949
+ klant_nummer?: string | null;
13950
+ laatst_gevraagd_op?: string;
13951
+ layout_id?: string | null;
13952
+ layout_variant?: string | null;
13953
+ order_nummer?: string | null;
13954
+ order_ref?: string | null;
13955
+ print_job_id?: string;
13956
+ status?: string;
13957
+ updated_at?: string;
13958
+ };
13959
+ Relationships: [];
13960
+ };
13236
13961
  pick_countries: {
13237
13962
  Row: {
13238
13963
  active: boolean;
@@ -13392,6 +14117,7 @@ export type Database = {
13392
14117
  print_job_id: string | null;
13393
14118
  printed_at: string | null;
13394
14119
  printed_by: string | null;
14120
+ printed_cart_ids: Json;
13395
14121
  printer_id: string | null;
13396
14122
  priority: number;
13397
14123
  reference: string | null;
@@ -13426,6 +14152,7 @@ export type Database = {
13426
14152
  print_job_id?: string | null;
13427
14153
  printed_at?: string | null;
13428
14154
  printed_by?: string | null;
14155
+ printed_cart_ids?: Json;
13429
14156
  printer_id?: string | null;
13430
14157
  priority?: number;
13431
14158
  reference?: string | null;
@@ -13460,6 +14187,7 @@ export type Database = {
13460
14187
  print_job_id?: string | null;
13461
14188
  printed_at?: string | null;
13462
14189
  printed_by?: string | null;
14190
+ printed_cart_ids?: Json;
13463
14191
  printer_id?: string | null;
13464
14192
  priority?: number;
13465
14193
  reference?: string | null;
@@ -14347,6 +15075,13 @@ export type Database = {
14347
15075
  isOneToOne: false;
14348
15076
  referencedRelation: "werkbonnen";
14349
15077
  referencedColumns: ["id"];
15078
+ },
15079
+ {
15080
+ foreignKeyName: "planning_items_werkbon_id_fkey";
15081
+ columns: ["werkbon_id"];
15082
+ isOneToOne: false;
15083
+ referencedRelation: "wo_overview";
15084
+ referencedColumns: ["id"];
14350
15085
  }
14351
15086
  ];
14352
15087
  };
@@ -14465,12 +15200,21 @@ export type Database = {
14465
15200
  };
14466
15201
  print_jobs: {
14467
15202
  Row: {
15203
+ aflever_pogingen: number;
14468
15204
  agent_id: string | null;
15205
+ artefact_bytes: number | null;
15206
+ artefact_gereed_op: string | null;
15207
+ artefact_pad: string | null;
15208
+ artefact_sha256: string | null;
15209
+ batch_id: string | null;
14469
15210
  bron_job_id: string | null;
14470
15211
  created_at: string;
14471
15212
  documentnaam: string;
14472
15213
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14473
15214
  extern_job_id: string | null;
15215
+ fase_gestart_op: string | null;
15216
+ fase_voltooid_op: string | null;
15217
+ foutcode: string | null;
14474
15218
  foutmelding: string | null;
14475
15219
  gebruiker_id: string | null;
14476
15220
  gebruiker_naam: string;
@@ -14484,7 +15228,10 @@ export type Database = {
14484
15228
  kopieen: number;
14485
15229
  layout_id: string | null;
14486
15230
  lokaal_opgeslagen_op: string | null;
15231
+ lokale_pdf_claim_id: string | null;
15232
+ lokale_pdf_claim_tot: string | null;
14487
15233
  lokale_pdf_fout: string | null;
15234
+ lokale_pdf_print_plek_id: string | null;
14488
15235
  lokale_pdf_status: string | null;
14489
15236
  opgepakt_op: string | null;
14490
15237
  paginas: number;
@@ -14497,16 +15244,26 @@ export type Database = {
14497
15244
  resultaat_pdf_base64: string | null;
14498
15245
  status: Database["public"]["Enums"]["print_job_status"];
14499
15246
  updated_at: string;
15247
+ verwerkingsfase: string;
14500
15248
  volgende_poging: string | null;
14501
15249
  voltooid_op: string | null;
14502
15250
  };
14503
15251
  Insert: {
15252
+ aflever_pogingen?: number;
14504
15253
  agent_id?: string | null;
15254
+ artefact_bytes?: number | null;
15255
+ artefact_gereed_op?: string | null;
15256
+ artefact_pad?: string | null;
15257
+ artefact_sha256?: string | null;
15258
+ batch_id?: string | null;
14505
15259
  bron_job_id?: string | null;
14506
15260
  created_at?: string;
14507
15261
  documentnaam?: string;
14508
15262
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14509
15263
  extern_job_id?: string | null;
15264
+ fase_gestart_op?: string | null;
15265
+ fase_voltooid_op?: string | null;
15266
+ foutcode?: string | null;
14510
15267
  foutmelding?: string | null;
14511
15268
  gebruiker_id?: string | null;
14512
15269
  gebruiker_naam?: string;
@@ -14520,7 +15277,10 @@ export type Database = {
14520
15277
  kopieen?: number;
14521
15278
  layout_id?: string | null;
14522
15279
  lokaal_opgeslagen_op?: string | null;
15280
+ lokale_pdf_claim_id?: string | null;
15281
+ lokale_pdf_claim_tot?: string | null;
14523
15282
  lokale_pdf_fout?: string | null;
15283
+ lokale_pdf_print_plek_id?: string | null;
14524
15284
  lokale_pdf_status?: string | null;
14525
15285
  opgepakt_op?: string | null;
14526
15286
  paginas?: number;
@@ -14533,16 +15293,26 @@ export type Database = {
14533
15293
  resultaat_pdf_base64?: string | null;
14534
15294
  status?: Database["public"]["Enums"]["print_job_status"];
14535
15295
  updated_at?: string;
15296
+ verwerkingsfase?: string;
14536
15297
  volgende_poging?: string | null;
14537
15298
  voltooid_op?: string | null;
14538
15299
  };
14539
15300
  Update: {
15301
+ aflever_pogingen?: number;
14540
15302
  agent_id?: string | null;
15303
+ artefact_bytes?: number | null;
15304
+ artefact_gereed_op?: string | null;
15305
+ artefact_pad?: string | null;
15306
+ artefact_sha256?: string | null;
15307
+ batch_id?: string | null;
14541
15308
  bron_job_id?: string | null;
14542
15309
  created_at?: string;
14543
15310
  documentnaam?: string;
14544
15311
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14545
15312
  extern_job_id?: string | null;
15313
+ fase_gestart_op?: string | null;
15314
+ fase_voltooid_op?: string | null;
15315
+ foutcode?: string | null;
14546
15316
  foutmelding?: string | null;
14547
15317
  gebruiker_id?: string | null;
14548
15318
  gebruiker_naam?: string;
@@ -14556,7 +15326,10 @@ export type Database = {
14556
15326
  kopieen?: number;
14557
15327
  layout_id?: string | null;
14558
15328
  lokaal_opgeslagen_op?: string | null;
15329
+ lokale_pdf_claim_id?: string | null;
15330
+ lokale_pdf_claim_tot?: string | null;
14559
15331
  lokale_pdf_fout?: string | null;
15332
+ lokale_pdf_print_plek_id?: string | null;
14560
15333
  lokale_pdf_status?: string | null;
14561
15334
  opgepakt_op?: string | null;
14562
15335
  paginas?: number;
@@ -14569,6 +15342,7 @@ export type Database = {
14569
15342
  resultaat_pdf_base64?: string | null;
14570
15343
  status?: Database["public"]["Enums"]["print_job_status"];
14571
15344
  updated_at?: string;
15345
+ verwerkingsfase?: string;
14572
15346
  volgende_poging?: string | null;
14573
15347
  voltooid_op?: string | null;
14574
15348
  };
@@ -14587,6 +15361,13 @@ export type Database = {
14587
15361
  referencedRelation: "document_layouts";
14588
15362
  referencedColumns: ["id"];
14589
15363
  },
15364
+ {
15365
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
15366
+ columns: ["lokale_pdf_print_plek_id"];
15367
+ isOneToOne: false;
15368
+ referencedRelation: "print_plekken";
15369
+ referencedColumns: ["id"];
15370
+ },
14590
15371
  {
14591
15372
  foreignKeyName: "print_jobs_printer_id_fkey";
14592
15373
  columns: ["printer_id"];
@@ -14726,6 +15507,30 @@ export type Database = {
14726
15507
  };
14727
15508
  Relationships: [];
14728
15509
  };
15510
+ print_queue_leases: {
15511
+ Row: {
15512
+ created_at: string;
15513
+ houder: string;
15514
+ naam: string;
15515
+ updated_at: string;
15516
+ verloopt_op: string;
15517
+ };
15518
+ Insert: {
15519
+ created_at?: string;
15520
+ houder: string;
15521
+ naam: string;
15522
+ updated_at?: string;
15523
+ verloopt_op: string;
15524
+ };
15525
+ Update: {
15526
+ created_at?: string;
15527
+ houder?: string;
15528
+ naam?: string;
15529
+ updated_at?: string;
15530
+ verloopt_op?: string;
15531
+ };
15532
+ Relationships: [];
15533
+ };
14729
15534
  print_queue_runners: {
14730
15535
  Row: {
14731
15536
  actief: boolean;
@@ -14735,7 +15540,9 @@ export type Database = {
14735
15540
  laatst_gezien: string;
14736
15541
  laatste_fout: string | null;
14737
15542
  laatste_request_id: number | null;
15543
+ laatste_wakeup: string | null;
14738
15544
  mislukte_posts: number;
15545
+ mislukte_wakeups: number;
14739
15546
  tick_sleutel: string;
14740
15547
  updated_at: string;
14741
15548
  };
@@ -14747,7 +15554,9 @@ export type Database = {
14747
15554
  laatst_gezien?: string;
14748
15555
  laatste_fout?: string | null;
14749
15556
  laatste_request_id?: number | null;
15557
+ laatste_wakeup?: string | null;
14750
15558
  mislukte_posts?: number;
15559
+ mislukte_wakeups?: number;
14751
15560
  tick_sleutel?: string;
14752
15561
  updated_at?: string;
14753
15562
  };
@@ -14759,7 +15568,9 @@ export type Database = {
14759
15568
  laatst_gezien?: string;
14760
15569
  laatste_fout?: string | null;
14761
15570
  laatste_request_id?: number | null;
15571
+ laatste_wakeup?: string | null;
14762
15572
  mislukte_posts?: number;
15573
+ mislukte_wakeups?: number;
14763
15574
  tick_sleutel?: string;
14764
15575
  updated_at?: string;
14765
15576
  };
@@ -15083,6 +15894,13 @@ export type Database = {
15083
15894
  updated_at?: string;
15084
15895
  };
15085
15896
  Relationships: [
15897
+ {
15898
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15899
+ columns: ["parent_product_id"];
15900
+ isOneToOne: false;
15901
+ referencedRelation: "logistics_product_dimensions";
15902
+ referencedColumns: ["product_id"];
15903
+ },
15086
15904
  {
15087
15905
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15088
15906
  columns: ["parent_product_id"];
@@ -15139,6 +15957,13 @@ export type Database = {
15139
15957
  updated_at?: string;
15140
15958
  };
15141
15959
  Relationships: [
15960
+ {
15961
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15962
+ columns: ["component_product_id"];
15963
+ isOneToOne: false;
15964
+ referencedRelation: "logistics_product_dimensions";
15965
+ referencedColumns: ["product_id"];
15966
+ },
15142
15967
  {
15143
15968
  foreignKeyName: "product_bom_items_component_product_id_fkey";
15144
15969
  columns: ["component_product_id"];
@@ -15146,6 +15971,13 @@ export type Database = {
15146
15971
  referencedRelation: "products";
15147
15972
  referencedColumns: ["id"];
15148
15973
  },
15974
+ {
15975
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15976
+ columns: ["parent_product_id"];
15977
+ isOneToOne: false;
15978
+ referencedRelation: "logistics_product_dimensions";
15979
+ referencedColumns: ["product_id"];
15980
+ },
15149
15981
  {
15150
15982
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
15151
15983
  columns: ["parent_product_id"];
@@ -15326,6 +16158,13 @@ export type Database = {
15326
16158
  updated_at?: string;
15327
16159
  };
15328
16160
  Relationships: [
16161
+ {
16162
+ foreignKeyName: "product_groups_head_product_id_fkey";
16163
+ columns: ["head_product_id"];
16164
+ isOneToOne: false;
16165
+ referencedRelation: "logistics_product_dimensions";
16166
+ referencedColumns: ["product_id"];
16167
+ },
15329
16168
  {
15330
16169
  foreignKeyName: "product_groups_head_product_id_fkey";
15331
16170
  columns: ["head_product_id"];
@@ -15395,6 +16234,13 @@ export type Database = {
15395
16234
  referencedRelation: "packages";
15396
16235
  referencedColumns: ["id"];
15397
16236
  },
16237
+ {
16238
+ foreignKeyName: "product_load_settings_product_id_fkey";
16239
+ columns: ["product_id"];
16240
+ isOneToOne: false;
16241
+ referencedRelation: "logistics_product_dimensions";
16242
+ referencedColumns: ["product_id"];
16243
+ },
15398
16244
  {
15399
16245
  foreignKeyName: "product_load_settings_product_id_fkey";
15400
16246
  columns: ["product_id"];
@@ -15446,6 +16292,7 @@ export type Database = {
15446
16292
  created_at: string;
15447
16293
  custom_fields: Json;
15448
16294
  floriday_trade_item_id: string | null;
16295
+ fust_type_id: string | null;
15449
16296
  id: string;
15450
16297
  image_url: string | null;
15451
16298
  incoming_quantity: number;
@@ -15453,6 +16300,7 @@ export type Database = {
15453
16300
  layers_per_cart: number;
15454
16301
  location: string;
15455
16302
  min_quantity: number;
16303
+ plant_height_cm: number | null;
15456
16304
  plants_per_crate: number;
15457
16305
  product: string;
15458
16306
  product_type: string;
@@ -15472,6 +16320,7 @@ export type Database = {
15472
16320
  created_at?: string;
15473
16321
  custom_fields?: Json;
15474
16322
  floriday_trade_item_id?: string | null;
16323
+ fust_type_id?: string | null;
15475
16324
  id?: string;
15476
16325
  image_url?: string | null;
15477
16326
  incoming_quantity?: number;
@@ -15479,6 +16328,7 @@ export type Database = {
15479
16328
  layers_per_cart?: number;
15480
16329
  location: string;
15481
16330
  min_quantity?: number;
16331
+ plant_height_cm?: number | null;
15482
16332
  plants_per_crate?: number;
15483
16333
  product: string;
15484
16334
  product_type?: string;
@@ -15498,6 +16348,7 @@ export type Database = {
15498
16348
  created_at?: string;
15499
16349
  custom_fields?: Json;
15500
16350
  floriday_trade_item_id?: string | null;
16351
+ fust_type_id?: string | null;
15501
16352
  id?: string;
15502
16353
  image_url?: string | null;
15503
16354
  incoming_quantity?: number;
@@ -15505,6 +16356,7 @@ export type Database = {
15505
16356
  layers_per_cart?: number;
15506
16357
  location?: string;
15507
16358
  min_quantity?: number;
16359
+ plant_height_cm?: number | null;
15508
16360
  plants_per_crate?: number;
15509
16361
  product?: string;
15510
16362
  product_type?: string;
@@ -15516,7 +16368,15 @@ export type Database = {
15516
16368
  updated_at?: string;
15517
16369
  weight?: string | null;
15518
16370
  };
15519
- Relationships: [];
16371
+ Relationships: [
16372
+ {
16373
+ foreignKeyName: "products_fust_type_id_fkey";
16374
+ columns: ["fust_type_id"];
16375
+ isOneToOne: false;
16376
+ referencedRelation: "fust_types";
16377
+ referencedColumns: ["id"];
16378
+ }
16379
+ ];
15520
16380
  };
15521
16381
  profile_modules: {
15522
16382
  Row: {
@@ -15865,6 +16725,13 @@ export type Database = {
15865
16725
  quantity?: number;
15866
16726
  };
15867
16727
  Relationships: [
16728
+ {
16729
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16730
+ columns: ["product_id"];
16731
+ isOneToOne: false;
16732
+ referencedRelation: "logistics_product_dimensions";
16733
+ referencedColumns: ["product_id"];
16734
+ },
15868
16735
  {
15869
16736
  foreignKeyName: "purchase_order_items_product_id_fkey";
15870
16737
  columns: ["product_id"];
@@ -16203,6 +17070,106 @@ export type Database = {
16203
17070
  }
16204
17071
  ];
16205
17072
  };
17073
+ scan_kar_sessie_regels: {
17074
+ Row: {
17075
+ barcode: string;
17076
+ cart_id: string | null;
17077
+ created_at: string;
17078
+ id: string;
17079
+ order_id: string | null;
17080
+ order_number: string | null;
17081
+ regels: Json;
17082
+ sessie_id: string;
17083
+ volledig: boolean;
17084
+ };
17085
+ Insert: {
17086
+ barcode: string;
17087
+ cart_id?: string | null;
17088
+ created_at?: string;
17089
+ id?: string;
17090
+ order_id?: string | null;
17091
+ order_number?: string | null;
17092
+ regels?: Json;
17093
+ sessie_id: string;
17094
+ volledig?: boolean;
17095
+ };
17096
+ Update: {
17097
+ barcode?: string;
17098
+ cart_id?: string | null;
17099
+ created_at?: string;
17100
+ id?: string;
17101
+ order_id?: string | null;
17102
+ order_number?: string | null;
17103
+ regels?: Json;
17104
+ sessie_id?: string;
17105
+ volledig?: boolean;
17106
+ };
17107
+ Relationships: [
17108
+ {
17109
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
17110
+ columns: ["sessie_id"];
17111
+ isOneToOne: false;
17112
+ referencedRelation: "scan_kar_sessies";
17113
+ referencedColumns: ["id"];
17114
+ }
17115
+ ];
17116
+ };
17117
+ scan_kar_sessies: {
17118
+ Row: {
17119
+ afgerond_op: string | null;
17120
+ cart_id: string | null;
17121
+ cart_index: number | null;
17122
+ cart_total: number | null;
17123
+ created_at: string;
17124
+ id: string;
17125
+ klant_naam: string | null;
17126
+ medewerker_naam: string | null;
17127
+ order_id: string | null;
17128
+ order_number: string | null;
17129
+ scanner_id: string | null;
17130
+ status: string;
17131
+ updated_at: string;
17132
+ };
17133
+ Insert: {
17134
+ afgerond_op?: string | null;
17135
+ cart_id?: string | null;
17136
+ cart_index?: number | null;
17137
+ cart_total?: number | null;
17138
+ created_at?: string;
17139
+ id?: string;
17140
+ klant_naam?: string | null;
17141
+ medewerker_naam?: string | null;
17142
+ order_id?: string | null;
17143
+ order_number?: string | null;
17144
+ scanner_id?: string | null;
17145
+ status?: string;
17146
+ updated_at?: string;
17147
+ };
17148
+ Update: {
17149
+ afgerond_op?: string | null;
17150
+ cart_id?: string | null;
17151
+ cart_index?: number | null;
17152
+ cart_total?: number | null;
17153
+ created_at?: string;
17154
+ id?: string;
17155
+ klant_naam?: string | null;
17156
+ medewerker_naam?: string | null;
17157
+ order_id?: string | null;
17158
+ order_number?: string | null;
17159
+ scanner_id?: string | null;
17160
+ status?: string;
17161
+ updated_at?: string;
17162
+ };
17163
+ Relationships: [
17164
+ {
17165
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
17166
+ columns: ["scanner_id"];
17167
+ isOneToOne: false;
17168
+ referencedRelation: "scan_scanners";
17169
+ referencedColumns: ["id"];
17170
+ }
17171
+ ];
17172
+ };
16206
17173
  scan_karren: {
16207
17174
  Row: {
16208
17175
  afgerond_op: string | null;
@@ -16409,18 +17376,73 @@ export type Database = {
16409
17376
  };
16410
17377
  Relationships: [];
16411
17378
  };
16412
- scan_scanners: {
17379
+ scan_restpakbonnen: {
16413
17380
  Row: {
16414
- actief: boolean;
17381
+ barcode: string;
17382
+ bron_barcode: string | null;
17383
+ cart_id: string | null;
17384
+ cart_index: number | null;
17385
+ cart_total: number | null;
16415
17386
  created_at: string;
17387
+ geprint_op: string | null;
16416
17388
  id: string;
16417
- max_producten_per_kar: number | null;
16418
- naam: string;
16419
- omschrijving: string | null;
16420
- pincode: string | null;
16421
- slug: string;
16422
- type: string;
16423
- updated_at: string;
17389
+ klant_naam: string | null;
17390
+ order_id: string | null;
17391
+ order_number: string | null;
17392
+ print_job_id: string | null;
17393
+ regels: Json;
17394
+ updated_at: string;
17395
+ verwerkt: boolean;
17396
+ };
17397
+ Insert: {
17398
+ barcode: string;
17399
+ bron_barcode?: string | null;
17400
+ cart_id?: string | null;
17401
+ cart_index?: number | null;
17402
+ cart_total?: number | null;
17403
+ created_at?: string;
17404
+ geprint_op?: string | null;
17405
+ id?: string;
17406
+ klant_naam?: string | null;
17407
+ order_id?: string | null;
17408
+ order_number?: string | null;
17409
+ print_job_id?: string | null;
17410
+ regels?: Json;
17411
+ updated_at?: string;
17412
+ verwerkt?: boolean;
17413
+ };
17414
+ Update: {
17415
+ barcode?: string;
17416
+ bron_barcode?: string | null;
17417
+ cart_id?: string | null;
17418
+ cart_index?: number | null;
17419
+ cart_total?: number | null;
17420
+ created_at?: string;
17421
+ geprint_op?: string | null;
17422
+ id?: string;
17423
+ klant_naam?: string | null;
17424
+ order_id?: string | null;
17425
+ order_number?: string | null;
17426
+ print_job_id?: string | null;
17427
+ regels?: Json;
17428
+ updated_at?: string;
17429
+ verwerkt?: boolean;
17430
+ };
17431
+ Relationships: [];
17432
+ };
17433
+ scan_scanners: {
17434
+ Row: {
17435
+ actief: boolean;
17436
+ created_at: string;
17437
+ id: string;
17438
+ max_producten_per_kar: number | null;
17439
+ naam: string;
17440
+ omschrijving: string | null;
17441
+ pincode: string | null;
17442
+ printer_id: string | null;
17443
+ slug: string;
17444
+ type: string;
17445
+ updated_at: string;
16424
17446
  vereist_medewerker: boolean;
16425
17447
  werkplek: string | null;
16426
17448
  };
@@ -16432,6 +17454,7 @@ export type Database = {
16432
17454
  naam: string;
16433
17455
  omschrijving?: string | null;
16434
17456
  pincode?: string | null;
17457
+ printer_id?: string | null;
16435
17458
  slug: string;
16436
17459
  type?: string;
16437
17460
  updated_at?: string;
@@ -16446,6 +17469,7 @@ export type Database = {
16446
17469
  naam?: string;
16447
17470
  omschrijving?: string | null;
16448
17471
  pincode?: string | null;
17472
+ printer_id?: string | null;
16449
17473
  slug?: string;
16450
17474
  type?: string;
16451
17475
  updated_at?: string;
@@ -16454,6 +17478,27 @@ export type Database = {
16454
17478
  };
16455
17479
  Relationships: [];
16456
17480
  };
17481
+ shell_settings: {
17482
+ Row: {
17483
+ created_at: string;
17484
+ default_path: string | null;
17485
+ shell_id: string;
17486
+ updated_at: string;
17487
+ };
17488
+ Insert: {
17489
+ created_at?: string;
17490
+ default_path?: string | null;
17491
+ shell_id: string;
17492
+ updated_at?: string;
17493
+ };
17494
+ Update: {
17495
+ created_at?: string;
17496
+ default_path?: string | null;
17497
+ shell_id?: string;
17498
+ updated_at?: string;
17499
+ };
17500
+ Relationships: [];
17501
+ };
16457
17502
  sick_periods: {
16458
17503
  Row: {
16459
17504
  created_at: string;
@@ -17083,6 +18128,13 @@ export type Database = {
17083
18128
  isOneToOne: false;
17084
18129
  referencedRelation: "werkbonnen";
17085
18130
  referencedColumns: ["id"];
18131
+ },
18132
+ {
18133
+ foreignKeyName: "time_logs_work_order_id_fkey";
18134
+ columns: ["work_order_id"];
18135
+ isOneToOne: false;
18136
+ referencedRelation: "wo_overview";
18137
+ referencedColumns: ["id"];
17086
18138
  }
17087
18139
  ];
17088
18140
  };
@@ -18397,6 +19449,13 @@ export type Database = {
18397
19449
  isOneToOne: false;
18398
19450
  referencedRelation: "werkbonnen";
18399
19451
  referencedColumns: ["id"];
19452
+ },
19453
+ {
19454
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
19455
+ columns: ["werkbon_id"];
19456
+ isOneToOne: false;
19457
+ referencedRelation: "wo_overview";
19458
+ referencedColumns: ["id"];
18400
19459
  }
18401
19460
  ];
18402
19461
  };
@@ -19130,6 +20189,13 @@ export type Database = {
19130
20189
  isOneToOne: true;
19131
20190
  referencedRelation: "werkbonnen";
19132
20191
  referencedColumns: ["id"];
20192
+ },
20193
+ {
20194
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
20195
+ columns: ["werkbon_id"];
20196
+ isOneToOne: true;
20197
+ referencedRelation: "wo_overview";
20198
+ referencedColumns: ["id"];
19133
20199
  }
19134
20200
  ];
19135
20201
  };
@@ -19219,6 +20285,13 @@ export type Database = {
19219
20285
  isOneToOne: false;
19220
20286
  referencedRelation: "werkbonnen";
19221
20287
  referencedColumns: ["id"];
20288
+ },
20289
+ {
20290
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
20291
+ columns: ["werkbon_id"];
20292
+ isOneToOne: false;
20293
+ referencedRelation: "wo_overview";
20294
+ referencedColumns: ["id"];
19222
20295
  }
19223
20296
  ];
19224
20297
  };
@@ -19410,6 +20483,13 @@ export type Database = {
19410
20483
  isOneToOne: false;
19411
20484
  referencedRelation: "werkbonnen";
19412
20485
  referencedColumns: ["id"];
20486
+ },
20487
+ {
20488
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20489
+ columns: ["werkbon_id"];
20490
+ isOneToOne: false;
20491
+ referencedRelation: "wo_overview";
20492
+ referencedColumns: ["id"];
19413
20493
  }
19414
20494
  ];
19415
20495
  };
@@ -19504,6 +20584,13 @@ export type Database = {
19504
20584
  isOneToOne: false;
19505
20585
  referencedRelation: "werkbonnen";
19506
20586
  referencedColumns: ["id"];
20587
+ },
20588
+ {
20589
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20590
+ columns: ["werkbon_id"];
20591
+ isOneToOne: false;
20592
+ referencedRelation: "wo_overview";
20593
+ referencedColumns: ["id"];
19507
20594
  }
19508
20595
  ];
19509
20596
  };
@@ -19545,6 +20632,13 @@ export type Database = {
19545
20632
  isOneToOne: false;
19546
20633
  referencedRelation: "werkbonnen";
19547
20634
  referencedColumns: ["id"];
20635
+ },
20636
+ {
20637
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20638
+ columns: ["werkbon_id"];
20639
+ isOneToOne: false;
20640
+ referencedRelation: "wo_overview";
20641
+ referencedColumns: ["id"];
19548
20642
  }
19549
20643
  ];
19550
20644
  };
@@ -19671,6 +20765,13 @@ export type Database = {
19671
20765
  referencedRelation: "werkbonnen";
19672
20766
  referencedColumns: ["id"];
19673
20767
  },
20768
+ {
20769
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20770
+ columns: ["parent_werkbon_id"];
20771
+ isOneToOne: false;
20772
+ referencedRelation: "wo_overview";
20773
+ referencedColumns: ["id"];
20774
+ },
19674
20775
  {
19675
20776
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19676
20777
  columns: ["source_mailbox_message_id"];
@@ -20148,6 +21249,24 @@ export type Database = {
20148
21249
  };
20149
21250
  Relationships: [];
20150
21251
  };
21252
+ logistics_product_dimensions: {
21253
+ Row: {
21254
+ dimension_source: string | null;
21255
+ fust_height_mm: number | null;
21256
+ fust_length_mm: number | null;
21257
+ fust_name: string | null;
21258
+ fust_source: string | null;
21259
+ fust_type_id: string | null;
21260
+ fust_width_mm: number | null;
21261
+ height_source: string | null;
21262
+ missing_reason: string | null;
21263
+ plant_height_cm: number | null;
21264
+ plants_per_crate: number | null;
21265
+ product_id: string | null;
21266
+ product_name: string | null;
21267
+ };
21268
+ Relationships: [];
21269
+ };
20151
21270
  manufacture_product_possible_stock_view: {
20152
21271
  Row: {
20153
21272
  component_count: number | null;
@@ -20186,6 +21305,13 @@ export type Database = {
20186
21305
  isOneToOne: false;
20187
21306
  referencedRelation: "werkbonnen";
20188
21307
  referencedColumns: ["id"];
21308
+ },
21309
+ {
21310
+ foreignKeyName: "planning_items_werkbon_id_fkey";
21311
+ columns: ["werkbon_id"];
21312
+ isOneToOne: false;
21313
+ referencedRelation: "wo_overview";
21314
+ referencedColumns: ["id"];
20189
21315
  }
20190
21316
  ];
20191
21317
  };
@@ -20666,6 +21792,85 @@ export type Database = {
20666
21792
  isOneToOne: false;
20667
21793
  referencedRelation: "werkbonnen";
20668
21794
  referencedColumns: ["id"];
21795
+ },
21796
+ {
21797
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21798
+ columns: ["werkbon_id"];
21799
+ isOneToOne: false;
21800
+ referencedRelation: "wo_overview";
21801
+ referencedColumns: ["id"];
21802
+ }
21803
+ ];
21804
+ };
21805
+ wo_overview: {
21806
+ Row: {
21807
+ assigned_user_id: string | null;
21808
+ budget_mandate_cents: number | null;
21809
+ created_at: string | null;
21810
+ customer_id: string | null;
21811
+ id: string | null;
21812
+ needs_detail_review: boolean | null;
21813
+ number: string | null;
21814
+ parent_werkbon_id: string | null;
21815
+ planning_status: string | null;
21816
+ scheduled_end_time: string | null;
21817
+ scheduled_start_time: string | null;
21818
+ source_type: string | null;
21819
+ status: string | null;
21820
+ technician_id: string | null;
21821
+ updated_at: string | null;
21822
+ work_address: string | null;
21823
+ };
21824
+ Insert: {
21825
+ assigned_user_id?: string | null;
21826
+ budget_mandate_cents?: number | null;
21827
+ created_at?: string | null;
21828
+ customer_id?: string | null;
21829
+ id?: string | null;
21830
+ needs_detail_review?: boolean | null;
21831
+ number?: string | null;
21832
+ parent_werkbon_id?: string | null;
21833
+ planning_status?: string | null;
21834
+ scheduled_end_time?: string | null;
21835
+ scheduled_start_time?: string | null;
21836
+ source_type?: string | null;
21837
+ status?: string | null;
21838
+ technician_id?: string | null;
21839
+ updated_at?: string | null;
21840
+ work_address?: string | null;
21841
+ };
21842
+ Update: {
21843
+ assigned_user_id?: string | null;
21844
+ budget_mandate_cents?: number | null;
21845
+ created_at?: string | null;
21846
+ customer_id?: string | null;
21847
+ id?: string | null;
21848
+ needs_detail_review?: boolean | null;
21849
+ number?: string | null;
21850
+ parent_werkbon_id?: string | null;
21851
+ planning_status?: string | null;
21852
+ scheduled_end_time?: string | null;
21853
+ scheduled_start_time?: string | null;
21854
+ source_type?: string | null;
21855
+ status?: string | null;
21856
+ technician_id?: string | null;
21857
+ updated_at?: string | null;
21858
+ work_address?: string | null;
21859
+ };
21860
+ Relationships: [
21861
+ {
21862
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21863
+ columns: ["parent_werkbon_id"];
21864
+ isOneToOne: false;
21865
+ referencedRelation: "werkbonnen";
21866
+ referencedColumns: ["id"];
21867
+ },
21868
+ {
21869
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21870
+ columns: ["parent_werkbon_id"];
21871
+ isOneToOne: false;
21872
+ referencedRelation: "wo_overview";
21873
+ referencedColumns: ["id"];
20669
21874
  }
20670
21875
  ];
20671
21876
  };
@@ -20858,12 +22063,21 @@ export type Database = {
20858
22063
  _max?: number;
20859
22064
  };
20860
22065
  Returns: {
22066
+ aflever_pogingen: number;
20861
22067
  agent_id: string | null;
22068
+ artefact_bytes: number | null;
22069
+ artefact_gereed_op: string | null;
22070
+ artefact_pad: string | null;
22071
+ artefact_sha256: string | null;
22072
+ batch_id: string | null;
20862
22073
  bron_job_id: string | null;
20863
22074
  created_at: string;
20864
22075
  documentnaam: string;
20865
22076
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20866
22077
  extern_job_id: string | null;
22078
+ fase_gestart_op: string | null;
22079
+ fase_voltooid_op: string | null;
22080
+ foutcode: string | null;
20867
22081
  foutmelding: string | null;
20868
22082
  gebruiker_id: string | null;
20869
22083
  gebruiker_naam: string;
@@ -20877,7 +22091,10 @@ export type Database = {
20877
22091
  kopieen: number;
20878
22092
  layout_id: string | null;
20879
22093
  lokaal_opgeslagen_op: string | null;
22094
+ lokale_pdf_claim_id: string | null;
22095
+ lokale_pdf_claim_tot: string | null;
20880
22096
  lokale_pdf_fout: string | null;
22097
+ lokale_pdf_print_plek_id: string | null;
20881
22098
  lokale_pdf_status: string | null;
20882
22099
  opgepakt_op: string | null;
20883
22100
  paginas: number;
@@ -20890,6 +22107,7 @@ export type Database = {
20890
22107
  resultaat_pdf_base64: string | null;
20891
22108
  status: Database["public"]["Enums"]["print_job_status"];
20892
22109
  updated_at: string;
22110
+ verwerkingsfase: string;
20893
22111
  volgende_poging: string | null;
20894
22112
  voltooid_op: string | null;
20895
22113
  }[];
@@ -20936,6 +22154,25 @@ export type Database = {
20936
22154
  isSetofReturn: true;
20937
22155
  };
20938
22156
  };
22157
+ claim_local_pdf_jobs: {
22158
+ Args: {
22159
+ _max?: number;
22160
+ _print_plek_id: string;
22161
+ _writer_id: string;
22162
+ };
22163
+ Returns: {
22164
+ artefact_bytes: number;
22165
+ artefact_pad: string;
22166
+ artefact_sha256: string;
22167
+ documentnaam: string;
22168
+ id: string;
22169
+ lokale_pdf_print_plek_id: string;
22170
+ lokale_pdf_status: string;
22171
+ printer_id: string;
22172
+ resultaat_pdf_base64: string;
22173
+ status: string;
22174
+ }[];
22175
+ };
20939
22176
  claim_logistics_tasks: {
20940
22177
  Args: {
20941
22178
  _limit?: number;
@@ -20989,12 +22226,21 @@ export type Database = {
20989
22226
  _max?: number;
20990
22227
  };
20991
22228
  Returns: {
22229
+ aflever_pogingen: number;
20992
22230
  agent_id: string | null;
22231
+ artefact_bytes: number | null;
22232
+ artefact_gereed_op: string | null;
22233
+ artefact_pad: string | null;
22234
+ artefact_sha256: string | null;
22235
+ batch_id: string | null;
20993
22236
  bron_job_id: string | null;
20994
22237
  created_at: string;
20995
22238
  documentnaam: string;
20996
22239
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20997
22240
  extern_job_id: string | null;
22241
+ fase_gestart_op: string | null;
22242
+ fase_voltooid_op: string | null;
22243
+ foutcode: string | null;
20998
22244
  foutmelding: string | null;
20999
22245
  gebruiker_id: string | null;
21000
22246
  gebruiker_naam: string;
@@ -21008,7 +22254,10 @@ export type Database = {
21008
22254
  kopieen: number;
21009
22255
  layout_id: string | null;
21010
22256
  lokaal_opgeslagen_op: string | null;
22257
+ lokale_pdf_claim_id: string | null;
22258
+ lokale_pdf_claim_tot: string | null;
21011
22259
  lokale_pdf_fout: string | null;
22260
+ lokale_pdf_print_plek_id: string | null;
21012
22261
  lokale_pdf_status: string | null;
21013
22262
  opgepakt_op: string | null;
21014
22263
  paginas: number;
@@ -21021,6 +22270,7 @@ export type Database = {
21021
22270
  resultaat_pdf_base64: string | null;
21022
22271
  status: Database["public"]["Enums"]["print_job_status"];
21023
22272
  updated_at: string;
22273
+ verwerkingsfase: string;
21024
22274
  volgende_poging: string | null;
21025
22275
  voltooid_op: string | null;
21026
22276
  }[];
@@ -21037,12 +22287,21 @@ export type Database = {
21037
22287
  _max?: number;
21038
22288
  };
21039
22289
  Returns: {
22290
+ aflever_pogingen: number;
21040
22291
  agent_id: string | null;
22292
+ artefact_bytes: number | null;
22293
+ artefact_gereed_op: string | null;
22294
+ artefact_pad: string | null;
22295
+ artefact_sha256: string | null;
22296
+ batch_id: string | null;
21041
22297
  bron_job_id: string | null;
21042
22298
  created_at: string;
21043
22299
  documentnaam: string;
21044
22300
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
21045
22301
  extern_job_id: string | null;
22302
+ fase_gestart_op: string | null;
22303
+ fase_voltooid_op: string | null;
22304
+ foutcode: string | null;
21046
22305
  foutmelding: string | null;
21047
22306
  gebruiker_id: string | null;
21048
22307
  gebruiker_naam: string;
@@ -21056,7 +22315,10 @@ export type Database = {
21056
22315
  kopieen: number;
21057
22316
  layout_id: string | null;
21058
22317
  lokaal_opgeslagen_op: string | null;
22318
+ lokale_pdf_claim_id: string | null;
22319
+ lokale_pdf_claim_tot: string | null;
21059
22320
  lokale_pdf_fout: string | null;
22321
+ lokale_pdf_print_plek_id: string | null;
21060
22322
  lokale_pdf_status: string | null;
21061
22323
  opgepakt_op: string | null;
21062
22324
  paginas: number;
@@ -21069,6 +22331,7 @@ export type Database = {
21069
22331
  resultaat_pdf_base64: string | null;
21070
22332
  status: Database["public"]["Enums"]["print_job_status"];
21071
22333
  updated_at: string;
22334
+ verwerkingsfase: string;
21072
22335
  volgende_poging: string | null;
21073
22336
  voltooid_op: string | null;
21074
22337
  }[];
@@ -21079,6 +22342,14 @@ export type Database = {
21079
22342
  isSetofReturn: true;
21080
22343
  };
21081
22344
  };
22345
+ claim_print_queue_lease: {
22346
+ Args: {
22347
+ _houder: string;
22348
+ _naam: string;
22349
+ _seconden?: number;
22350
+ };
22351
+ Returns: boolean;
22352
+ };
21082
22353
  claim_twinfield_push_batch: {
21083
22354
  Args: {
21084
22355
  _customer_id?: string;
@@ -21204,7 +22475,10 @@ export type Database = {
21204
22475
  cart_index: number;
21205
22476
  cart_number: string;
21206
22477
  cart_number_id: string;
22478
+ cart_seq: number;
22479
+ cart_total: number;
21207
22480
  order_id: string;
22481
+ order_number: string;
21208
22482
  order_source: string;
21209
22483
  pick_date: string;
21210
22484
  printed_at: string;
@@ -21212,6 +22486,12 @@ export type Database = {
21212
22486
  status: string;
21213
22487
  }[];
21214
22488
  };
22489
+ control_mark_carts_delivered: {
22490
+ Args: {
22491
+ p_carts: Json;
22492
+ };
22493
+ Returns: number;
22494
+ };
21215
22495
  count_distinct_regulatory_products: {
21216
22496
  Args: never;
21217
22497
  Returns: number;
@@ -21339,6 +22619,13 @@ export type Database = {
21339
22619
  };
21340
22620
  Returns: undefined;
21341
22621
  };
22622
+ ensure_system_roles: {
22623
+ Args: never;
22624
+ Returns: {
22625
+ action: string;
22626
+ role_key: string;
22627
+ }[];
22628
+ };
21342
22629
  ensure_trade_item_stock_row: {
21343
22630
  Args: {
21344
22631
  p_key: string;
@@ -21405,6 +22692,15 @@ export type Database = {
21405
22692
  };
21406
22693
  Returns: string;
21407
22694
  };
22695
+ finish_local_pdf_job: {
22696
+ Args: {
22697
+ _fout?: string;
22698
+ _job_id: string;
22699
+ _status: string;
22700
+ _writer_id: string;
22701
+ };
22702
+ Returns: boolean;
22703
+ };
21408
22704
  floriday_capture_stock_snapshot: {
21409
22705
  Args: never;
21410
22706
  Returns: number;
@@ -21684,6 +22980,36 @@ export type Database = {
21684
22980
  Args: never;
21685
22981
  Returns: string;
21686
22982
  };
22983
+ handover_archief_lijst: {
22984
+ Args: never;
22985
+ Returns: Json;
22986
+ };
22987
+ handover_archiveren: {
22988
+ Args: {
22989
+ _archief?: boolean;
22990
+ _module_id: string;
22991
+ };
22992
+ Returns: boolean;
22993
+ };
22994
+ handover_check_afronden: {
22995
+ Args: {
22996
+ _module_id: string;
22997
+ };
22998
+ Returns: boolean;
22999
+ };
23000
+ handover_check_markeren: {
23001
+ Args: {
23002
+ _module_ids: string[];
23003
+ _reden?: string;
23004
+ };
23005
+ Returns: number;
23006
+ };
23007
+ handover_fingerprint_maken: {
23008
+ Args: {
23009
+ _module_id?: string;
23010
+ };
23011
+ Returns: Json;
23012
+ };
21687
23013
  handover_get: {
21688
23014
  Args: {
21689
23015
  _module_id: string;
@@ -21714,6 +23040,14 @@ export type Database = {
21714
23040
  };
21715
23041
  Returns: boolean;
21716
23042
  };
23043
+ handover_module_meta_zetten: {
23044
+ Args: {
23045
+ _module_id: string;
23046
+ _project_url?: string;
23047
+ _publicatie_url?: string;
23048
+ };
23049
+ Returns: boolean;
23050
+ };
21717
23051
  handover_norm_naam: {
21718
23052
  Args: {
21719
23053
  _naam: string;
@@ -21734,6 +23068,23 @@ export type Database = {
21734
23068
  };
21735
23069
  Returns: number;
21736
23070
  };
23071
+ handover_publish_uit_github: {
23072
+ Args: {
23073
+ _bezit_tabellen?: string[];
23074
+ _bron_soort?: string;
23075
+ _commit?: string;
23076
+ _contractfuncties?: string[];
23077
+ _inhoud_md: string;
23078
+ _module_id: string;
23079
+ _module_titel: string;
23080
+ _ontbrekende_contracten?: string[];
23081
+ _pad?: string;
23082
+ _repo?: string;
23083
+ _samenvatting?: string;
23084
+ _versie_label?: string;
23085
+ };
23086
+ Returns: Json;
23087
+ };
21737
23088
  handover_publish_via_token: {
21738
23089
  Args: {
21739
23090
  _bevindingen?: string;
@@ -21747,7 +23098,7 @@ export type Database = {
21747
23098
  _samenvatting?: string;
21748
23099
  _token_hash: string;
21749
23100
  };
21750
- Returns: number;
23101
+ Returns: Json;
21751
23102
  };
21752
23103
  handover_status: {
21753
23104
  Args: never;
@@ -21759,24 +23110,7 @@ export type Database = {
21759
23110
  };
21760
23111
  Returns: string;
21761
23112
  };
21762
- handover_token_intrekken: {
21763
- Args: {
21764
- _id: string;
21765
- };
21766
- Returns: boolean;
21767
- };
21768
- handover_token_lijst: {
21769
- Args: never;
21770
- Returns: Json;
21771
- };
21772
- handover_token_maken: {
21773
- Args: {
21774
- _label?: string;
21775
- _module_id: string;
21776
- };
21777
- Returns: string;
21778
- };
21779
- handover_update: {
23113
+ handover_update: {
21780
23114
  Args: {
21781
23115
  _bezit_tabellen?: string[];
21782
23116
  _contractfuncties?: string[];
@@ -21803,12 +23137,31 @@ export type Database = {
21803
23137
  };
21804
23138
  Returns: boolean;
21805
23139
  };
23140
+ handover_versie_verwijderen: {
23141
+ Args: {
23142
+ _module_id: string;
23143
+ _versie: number;
23144
+ };
23145
+ Returns: boolean;
23146
+ };
21806
23147
  handover_versies: {
21807
23148
  Args: {
21808
23149
  _module_id: string;
21809
23150
  };
21810
23151
  Returns: Json;
21811
23152
  };
23153
+ handover_verwijderen: {
23154
+ Args: {
23155
+ _module_id: string;
23156
+ };
23157
+ Returns: boolean;
23158
+ };
23159
+ handover_wijzigingen: {
23160
+ Args: {
23161
+ _module_id?: string;
23162
+ };
23163
+ Returns: Json;
23164
+ };
21812
23165
  has_module_permission: {
21813
23166
  Args: {
21814
23167
  _min: string;
@@ -22071,6 +23424,12 @@ export type Database = {
22071
23424
  };
22072
23425
  Returns: boolean;
22073
23426
  };
23427
+ logistics_barcode_lookup: {
23428
+ Args: {
23429
+ p_barcode: string;
23430
+ };
23431
+ Returns: Json;
23432
+ };
22074
23433
  logistics_buffer_criteria: {
22075
23434
  Args: {
22076
23435
  p_settings: Json;
@@ -22131,6 +23490,19 @@ export type Database = {
22131
23490
  };
22132
23491
  Returns: number;
22133
23492
  };
23493
+ logistics_cart_barcode_value: {
23494
+ Args: {
23495
+ _cart_id: string;
23496
+ };
23497
+ Returns: string;
23498
+ };
23499
+ logistics_cart_handled: {
23500
+ Args: {
23501
+ p_cart_index: number;
23502
+ p_order_id: string;
23503
+ };
23504
+ Returns: boolean;
23505
+ };
22134
23506
  logistics_cart_index: {
22135
23507
  Args: {
22136
23508
  p_from?: string;
@@ -22140,6 +23512,63 @@ export type Database = {
22140
23512
  cart_id: string;
22141
23513
  cart_index: number;
22142
23514
  cart_label: string;
23515
+ cart_number: string;
23516
+ cart_seq: number;
23517
+ cart_total: number;
23518
+ delivery_date: string;
23519
+ is_announced: boolean;
23520
+ is_controlled: boolean;
23521
+ is_printed: boolean;
23522
+ is_shared: boolean;
23523
+ order_number: string;
23524
+ order_source: string;
23525
+ order_uuid: string;
23526
+ pick_date: string;
23527
+ printed_at: string;
23528
+ shifted: boolean;
23529
+ task_status: string;
23530
+ }[];
23531
+ };
23532
+ logistics_cart_layout_method: {
23533
+ Args: never;
23534
+ Returns: Json;
23535
+ };
23536
+ logistics_cart_seq: {
23537
+ Args: {
23538
+ p_order_uuid?: string;
23539
+ };
23540
+ Returns: {
23541
+ cart_id: string;
23542
+ cart_index: number;
23543
+ cart_number: string;
23544
+ cart_seq: number;
23545
+ cart_total: number;
23546
+ order_uuid: string;
23547
+ }[];
23548
+ };
23549
+ logistics_cart_slip_plan: {
23550
+ Args: {
23551
+ p_order_id: string;
23552
+ };
23553
+ Returns: Json;
23554
+ };
23555
+ logistics_cart_units: {
23556
+ Args: {
23557
+ p_from?: string;
23558
+ p_to?: string;
23559
+ };
23560
+ Returns: {
23561
+ cart_id: string;
23562
+ cart_index: number;
23563
+ cart_label: string;
23564
+ cart_number: string;
23565
+ cart_seq: number;
23566
+ cart_total: number;
23567
+ delivery_date: string;
23568
+ is_announced: boolean;
23569
+ is_buffer: boolean;
23570
+ is_controlled: boolean;
23571
+ is_printed: boolean;
22143
23572
  is_shared: boolean;
22144
23573
  order_number: string;
22145
23574
  order_source: string;
@@ -22148,6 +23577,10 @@ export type Database = {
22148
23577
  printed_at: string;
22149
23578
  shifted: boolean;
22150
23579
  task_status: string;
23580
+ unit_buffer: string;
23581
+ unit_order_count: number;
23582
+ unit_orders: string[];
23583
+ unit_ref: string;
22151
23584
  }[];
22152
23585
  };
22153
23586
  logistics_check_order_allowed: {
@@ -22302,12 +23735,97 @@ export type Database = {
22302
23735
  Args: never;
22303
23736
  Returns: {
22304
23737
  agenda_carts: number;
23738
+ announced_carts: number;
22305
23739
  control_carts: number;
23740
+ delivery_carts: number;
23741
+ duplicate_carts: number;
22306
23742
  ok: boolean;
23743
+ orphan_carts: number;
22307
23744
  orphan_tasks: number;
22308
23745
  pick_date: string;
22309
23746
  raw_carts: number;
23747
+ sales_carts: number;
23748
+ station_carts: number;
23749
+ }[];
23750
+ };
23751
+ logistics_control_scan_approve: {
23752
+ Args: {
23753
+ p_allow_reprint?: boolean;
23754
+ p_barcode: string;
23755
+ p_printer_id?: string;
23756
+ p_scanner_id?: string;
23757
+ };
23758
+ Returns: Json;
23759
+ };
23760
+ logistics_control_scan_claim: {
23761
+ Args: {
23762
+ _lease_seconds?: number;
23763
+ _limit?: number;
23764
+ };
23765
+ Returns: {
23766
+ approved_at: string | null;
23767
+ attempts: number;
23768
+ barcode: string;
23769
+ cart_id: string;
23770
+ created_at: string;
23771
+ document_url: string | null;
23772
+ error: string | null;
23773
+ error_code: string | null;
23774
+ fulfillment_order_id: string | null;
23775
+ id: string;
23776
+ is_floriday: boolean;
23777
+ locked_until: string | null;
23778
+ order_id: string | null;
23779
+ order_number: string | null;
23780
+ print_job_id: string | null;
23781
+ printed_at: string | null;
23782
+ printer_id: string | null;
23783
+ scanner_id: string | null;
23784
+ status: string;
23785
+ updated_at: string;
22310
23786
  }[];
23787
+ SetofOptions: {
23788
+ from: "*";
23789
+ to: "logistics_control_scan";
23790
+ isOneToOne: false;
23791
+ isSetofReturn: true;
23792
+ };
23793
+ };
23794
+ logistics_control_scan_finish: {
23795
+ Args: {
23796
+ _document_url?: string;
23797
+ _error?: string;
23798
+ _error_code?: string;
23799
+ _fulfillment_order_id?: string;
23800
+ _id: string;
23801
+ _ok: boolean;
23802
+ _print_job_id?: string;
23803
+ _status?: string;
23804
+ };
23805
+ Returns: Json;
23806
+ };
23807
+ logistics_control_scan_lookup: {
23808
+ Args: {
23809
+ p_barcode: string;
23810
+ };
23811
+ Returns: Json;
23812
+ };
23813
+ logistics_control_scan_overview: {
23814
+ Args: {
23815
+ _date?: string;
23816
+ _scanner_id?: string;
23817
+ };
23818
+ Returns: Json;
23819
+ };
23820
+ logistics_control_scan_retry: {
23821
+ Args: {
23822
+ _id: string;
23823
+ };
23824
+ Returns: Json;
23825
+ };
23826
+ logistics_control_settings: {
23827
+ Args: never;
23828
+ Returns: Json;
22311
23829
  };
22312
23830
  logistics_delay_customer_email: {
22313
23831
  Args: {
@@ -22322,12 +23840,35 @@ export type Database = {
22322
23840
  subject: string;
22323
23841
  }[];
22324
23842
  };
23843
+ logistics_delivery_agenda: {
23844
+ Args: {
23845
+ p_from?: string;
23846
+ p_to?: string;
23847
+ };
23848
+ Returns: {
23849
+ announced_count: number;
23850
+ cart_count: number;
23851
+ controlled_count: number;
23852
+ delivery_date: string;
23853
+ order_count: number;
23854
+ orders: Json;
23855
+ plant_count: number;
23856
+ printed_count: number;
23857
+ }[];
23858
+ };
22325
23859
  logistics_document_layout: {
22326
23860
  Args: {
22327
23861
  _document_code: string;
22328
23862
  };
22329
23863
  Returns: Json;
22330
23864
  };
23865
+ logistics_document_layout_v2: {
23866
+ Args: {
23867
+ _document_code: string;
23868
+ _is_partial?: boolean;
23869
+ };
23870
+ Returns: Json;
23871
+ };
22331
23872
  logistics_document_station: {
22332
23873
  Args: {
22333
23874
  _document_code: string;
@@ -22353,6 +23894,23 @@ export type Database = {
22353
23894
  };
22354
23895
  Returns: Json;
22355
23896
  };
23897
+ logistics_enqueue_sticker_with_slip: {
23898
+ Args: {
23899
+ _cart_id: string;
23900
+ _is_herprint: boolean;
23901
+ _printer_id: string;
23902
+ _queue_item_id: string;
23903
+ _session_id: string;
23904
+ _slip_job_id: string;
23905
+ };
23906
+ Returns: string;
23907
+ };
23908
+ logistics_ensure_cart_barcode: {
23909
+ Args: {
23910
+ _cart_id: string;
23911
+ };
23912
+ Returns: string;
23913
+ };
22356
23914
  logistics_fail_task: {
22357
23915
  Args: {
22358
23916
  p_error: string;
@@ -22488,6 +24046,26 @@ export type Database = {
22488
24046
  };
22489
24047
  Returns: string;
22490
24048
  };
24049
+ logistics_fulfill_barcode_requests: {
24050
+ Args: {
24051
+ p_limit?: number;
24052
+ };
24053
+ Returns: Json;
24054
+ };
24055
+ logistics_full_cart_min_layers: {
24056
+ Args: never;
24057
+ Returns: number;
24058
+ };
24059
+ logistics_full_cart_min_percentage: {
24060
+ Args: never;
24061
+ Returns: number;
24062
+ };
24063
+ logistics_is_pick_workday: {
24064
+ Args: {
24065
+ p_date: string;
24066
+ };
24067
+ Returns: boolean;
24068
+ };
22491
24069
  logistics_live_carriers: {
22492
24070
  Args: {
22493
24071
  p_order_ref: string;
@@ -22500,6 +24078,20 @@ export type Database = {
22500
24078
  };
22501
24079
  Returns: number;
22502
24080
  };
24081
+ logistics_next_workday_date: {
24082
+ Args: {
24083
+ p_date: string;
24084
+ p_days?: string[];
24085
+ };
24086
+ Returns: string;
24087
+ };
24088
+ logistics_next_workday_not_past: {
24089
+ Args: {
24090
+ p_days: string[];
24091
+ p_ts: string;
24092
+ };
24093
+ Returns: string;
24094
+ };
22503
24095
  logistics_not_past: {
22504
24096
  Args: {
22505
24097
  p_ts: string;
@@ -22512,6 +24104,19 @@ export type Database = {
22512
24104
  };
22513
24105
  Returns: number;
22514
24106
  };
24107
+ logistics_order_handled: {
24108
+ Args: {
24109
+ p_order_uuid: string;
24110
+ };
24111
+ Returns: boolean;
24112
+ };
24113
+ logistics_order_is_topick: {
24114
+ Args: {
24115
+ p_order_id: string;
24116
+ p_order_number: string;
24117
+ };
24118
+ Returns: boolean;
24119
+ };
22515
24120
  logistics_order_overview: {
22516
24121
  Args: {
22517
24122
  p_from?: string;
@@ -22537,6 +24142,12 @@ export type Database = {
22537
24142
  };
22538
24143
  Returns: string;
22539
24144
  };
24145
+ logistics_order_released: {
24146
+ Args: {
24147
+ p_order_ref: string;
24148
+ };
24149
+ Returns: boolean;
24150
+ };
22540
24151
  logistics_parse_pickup: {
22541
24152
  Args: {
22542
24153
  p_value: string;
@@ -22559,10 +24170,37 @@ export type Database = {
22559
24170
  shifted_count: number;
22560
24171
  }[];
22561
24172
  };
24173
+ logistics_pick_barcode_enabled: {
24174
+ Args: never;
24175
+ Returns: boolean;
24176
+ };
22562
24177
  logistics_pick_email_purpose: {
22563
24178
  Args: never;
22564
24179
  Returns: string;
22565
24180
  };
24181
+ logistics_pick_mode: {
24182
+ Args: never;
24183
+ Returns: Json;
24184
+ };
24185
+ logistics_pick_start_estimate: {
24186
+ Args: {
24187
+ p_order: Json;
24188
+ s: Json;
24189
+ };
24190
+ Returns: string;
24191
+ };
24192
+ logistics_pick_units: {
24193
+ Args: never;
24194
+ Returns: {
24195
+ is_buffer: boolean;
24196
+ order_number: string;
24197
+ order_uuid: string;
24198
+ unit_buffer: string;
24199
+ unit_order_count: number;
24200
+ unit_orders: string[];
24201
+ unit_ref: string;
24202
+ }[];
24203
+ };
22566
24204
  logistics_plan_all: {
22567
24205
  Args: {
22568
24206
  p_user_id?: string;
@@ -22649,6 +24287,14 @@ export type Database = {
22649
24287
  };
22650
24288
  Returns: number;
22651
24289
  };
24290
+ logistics_prune_buffer_member_queue: {
24291
+ Args: never;
24292
+ Returns: number;
24293
+ };
24294
+ logistics_prune_handled_pick_queue: {
24295
+ Args: never;
24296
+ Returns: number;
24297
+ };
22652
24298
  logistics_queue_capacity_email: {
22653
24299
  Args: {
22654
24300
  p_alert_id: string;
@@ -22681,6 +24327,12 @@ export type Database = {
22681
24327
  Args: never;
22682
24328
  Returns: Json;
22683
24329
  };
24330
+ logistics_refresh_pickup_moments: {
24331
+ Args: {
24332
+ p_weeks?: number;
24333
+ };
24334
+ Returns: Json;
24335
+ };
22684
24336
  logistics_report_delay: {
22685
24337
  Args: {
22686
24338
  p_expected_date?: string;
@@ -22787,6 +24439,12 @@ export type Database = {
22787
24439
  };
22788
24440
  Returns: string;
22789
24441
  };
24442
+ logistics_scan_resolve: {
24443
+ Args: {
24444
+ p_code: string;
24445
+ };
24446
+ Returns: Json;
24447
+ };
22790
24448
  logistics_schedule_tasks: {
22791
24449
  Args: never;
22792
24450
  Returns: number;
@@ -22813,6 +24471,18 @@ export type Database = {
22813
24471
  };
22814
24472
  Returns: string;
22815
24473
  };
24474
+ logistics_shipping_note_from_barcode: {
24475
+ Args: {
24476
+ p_allow_reprint?: boolean;
24477
+ p_barcode: string;
24478
+ p_station_id?: string;
24479
+ };
24480
+ Returns: Json;
24481
+ };
24482
+ logistics_sticker_follows_slip: {
24483
+ Args: never;
24484
+ Returns: boolean;
24485
+ };
22816
24486
  logistics_supersede_stale_tasks: {
22817
24487
  Args: {
22818
24488
  p_keep: string[];
@@ -22864,9 +24534,21 @@ export type Database = {
22864
24534
  };
22865
24535
  Returns: string;
22866
24536
  };
22867
- mark_offer_clicked: {
24537
+ logistics_write_buffer_layer_positions: {
22868
24538
  Args: {
22869
- p_code: string;
24539
+ p_buffer_id: string;
24540
+ };
24541
+ Returns: number;
24542
+ };
24543
+ logistics_write_cart_layer_positions: {
24544
+ Args: {
24545
+ p_cart_id: string;
24546
+ };
24547
+ Returns: number;
24548
+ };
24549
+ mark_offer_clicked: {
24550
+ Args: {
24551
+ p_code: string;
22870
24552
  };
22871
24553
  Returns: undefined;
22872
24554
  };
@@ -22896,6 +24578,15 @@ export type Database = {
22896
24578
  };
22897
24579
  Returns: undefined;
22898
24580
  };
24581
+ move_cart_layer_position: {
24582
+ Args: {
24583
+ p_id: string;
24584
+ p_layer: number;
24585
+ p_x: number;
24586
+ p_y: number;
24587
+ };
24588
+ Returns: undefined;
24589
+ };
22899
24590
  my_module_permissions: {
22900
24591
  Args: never;
22901
24592
  Returns: {
@@ -22993,22 +24684,406 @@ export type Database = {
22993
24684
  priority: number;
22994
24685
  }[];
22995
24686
  };
22996
- pick_active_printers: {
22997
- Args: never;
22998
- Returns: {
22999
- id: string;
23000
- locatie: string;
23001
- naam: string;
23002
- online: boolean;
23003
- }[];
24687
+ pick_active_printers: {
24688
+ Args: never;
24689
+ Returns: {
24690
+ id: string;
24691
+ locatie: string;
24692
+ naam: string;
24693
+ online: boolean;
24694
+ }[];
24695
+ };
24696
+ pick_available_pick_days: {
24697
+ Args: {
24698
+ _max_days?: number;
24699
+ };
24700
+ Returns: {
24701
+ orders: number;
24702
+ pick_day: string;
24703
+ }[];
24704
+ };
24705
+ pick_cart_breakdown: {
24706
+ Args: {
24707
+ _order_id: string;
24708
+ };
24709
+ Returns: Json;
24710
+ };
24711
+ pick_claim_document: {
24712
+ Args: {
24713
+ _queue_item_id: string;
24714
+ _screen_id: string;
24715
+ _session_id: string;
24716
+ _station_id: string;
24717
+ _timeout_seconds?: number;
24718
+ };
24719
+ Returns: {
24720
+ announced_at: string;
24721
+ assigned_user_id: string | null;
24722
+ barcode: string | null;
24723
+ cancelled_at: string | null;
24724
+ cart_count: number;
24725
+ completed_at: string | null;
24726
+ country_code: string | null;
24727
+ created_at: string;
24728
+ customer_name: string | null;
24729
+ delivery_address: string | null;
24730
+ document_number: string | null;
24731
+ document_type_id: string | null;
24732
+ due_at: string | null;
24733
+ id: string;
24734
+ is_urgent: boolean;
24735
+ line_count: number;
24736
+ order_number: string | null;
24737
+ order_type: string | null;
24738
+ payload: Json;
24739
+ print_count: number;
24740
+ print_job_id: string | null;
24741
+ printed_at: string | null;
24742
+ printed_by: string | null;
24743
+ printed_cart_ids: Json;
24744
+ printer_id: string | null;
24745
+ priority: number;
24746
+ reference: string | null;
24747
+ route: string | null;
24748
+ screen_id: string | null;
24749
+ station_id: string | null;
24750
+ status_id: string | null;
24751
+ updated_at: string;
24752
+ warnings: Json;
24753
+ };
24754
+ SetofOptions: {
24755
+ from: "*";
24756
+ to: "pick_queue";
24757
+ isOneToOne: true;
24758
+ isSetofReturn: false;
24759
+ };
24760
+ };
24761
+ pick_claim_next_document: {
24762
+ Args: {
24763
+ _country_code: string;
24764
+ _screen_id: string;
24765
+ _session_id: string;
24766
+ _station_id: string;
24767
+ _timeout_seconds?: number;
24768
+ };
24769
+ Returns: {
24770
+ announced_at: string;
24771
+ assigned_user_id: string | null;
24772
+ barcode: string | null;
24773
+ cancelled_at: string | null;
24774
+ cart_count: number;
24775
+ completed_at: string | null;
24776
+ country_code: string | null;
24777
+ created_at: string;
24778
+ customer_name: string | null;
24779
+ delivery_address: string | null;
24780
+ document_number: string | null;
24781
+ document_type_id: string | null;
24782
+ due_at: string | null;
24783
+ id: string;
24784
+ is_urgent: boolean;
24785
+ line_count: number;
24786
+ order_number: string | null;
24787
+ order_type: string | null;
24788
+ payload: Json;
24789
+ print_count: number;
24790
+ print_job_id: string | null;
24791
+ printed_at: string | null;
24792
+ printed_by: string | null;
24793
+ printed_cart_ids: Json;
24794
+ printer_id: string | null;
24795
+ priority: number;
24796
+ reference: string | null;
24797
+ route: string | null;
24798
+ screen_id: string | null;
24799
+ station_id: string | null;
24800
+ status_id: string | null;
24801
+ updated_at: string;
24802
+ warnings: Json;
24803
+ };
24804
+ SetofOptions: {
24805
+ from: "*";
24806
+ to: "pick_queue";
24807
+ isOneToOne: true;
24808
+ isSetofReturn: false;
24809
+ };
24810
+ };
24811
+ pick_cleanup_maintenance: {
24812
+ Args: {
24813
+ _heartbeat_hours?: number;
24814
+ _log_days?: number;
24815
+ };
24816
+ Returns: Json;
24817
+ };
24818
+ pick_complete_print: {
24819
+ Args: {
24820
+ _printer_id: string;
24821
+ _queue_item_id: string;
24822
+ _session_id: string;
24823
+ };
24824
+ Returns: {
24825
+ announced_at: string;
24826
+ assigned_user_id: string | null;
24827
+ barcode: string | null;
24828
+ cancelled_at: string | null;
24829
+ cart_count: number;
24830
+ completed_at: string | null;
24831
+ country_code: string | null;
24832
+ created_at: string;
24833
+ customer_name: string | null;
24834
+ delivery_address: string | null;
24835
+ document_number: string | null;
24836
+ document_type_id: string | null;
24837
+ due_at: string | null;
24838
+ id: string;
24839
+ is_urgent: boolean;
24840
+ line_count: number;
24841
+ order_number: string | null;
24842
+ order_type: string | null;
24843
+ payload: Json;
24844
+ print_count: number;
24845
+ print_job_id: string | null;
24846
+ printed_at: string | null;
24847
+ printed_by: string | null;
24848
+ printed_cart_ids: Json;
24849
+ printer_id: string | null;
24850
+ priority: number;
24851
+ reference: string | null;
24852
+ route: string | null;
24853
+ screen_id: string | null;
24854
+ station_id: string | null;
24855
+ status_id: string | null;
24856
+ updated_at: string;
24857
+ warnings: Json;
24858
+ };
24859
+ SetofOptions: {
24860
+ from: "*";
24861
+ to: "pick_queue";
24862
+ isOneToOne: true;
24863
+ isSetofReturn: false;
24864
+ };
24865
+ };
24866
+ pick_complete_print_cart: {
24867
+ Args: {
24868
+ _cart_id: string;
24869
+ _printer_id: string;
24870
+ _queue_item_id: string;
24871
+ _session_id: string;
24872
+ };
24873
+ Returns: {
24874
+ announced_at: string;
24875
+ assigned_user_id: string | null;
24876
+ barcode: string | null;
24877
+ cancelled_at: string | null;
24878
+ cart_count: number;
24879
+ completed_at: string | null;
24880
+ country_code: string | null;
24881
+ created_at: string;
24882
+ customer_name: string | null;
24883
+ delivery_address: string | null;
24884
+ document_number: string | null;
24885
+ document_type_id: string | null;
24886
+ due_at: string | null;
24887
+ id: string;
24888
+ is_urgent: boolean;
24889
+ line_count: number;
24890
+ order_number: string | null;
24891
+ order_type: string | null;
24892
+ payload: Json;
24893
+ print_count: number;
24894
+ print_job_id: string | null;
24895
+ printed_at: string | null;
24896
+ printed_by: string | null;
24897
+ printed_cart_ids: Json;
24898
+ printer_id: string | null;
24899
+ priority: number;
24900
+ reference: string | null;
24901
+ route: string | null;
24902
+ screen_id: string | null;
24903
+ station_id: string | null;
24904
+ status_id: string | null;
24905
+ updated_at: string;
24906
+ warnings: Json;
24907
+ };
24908
+ SetofOptions: {
24909
+ from: "*";
24910
+ to: "pick_queue";
24911
+ isOneToOne: true;
24912
+ isSetofReturn: false;
24913
+ };
24914
+ };
24915
+ pick_complete_print_carts: {
24916
+ Args: {
24917
+ _cart_ids: string[];
24918
+ _queue_item_id: string;
24919
+ _session_id: string;
24920
+ };
24921
+ Returns: Json;
24922
+ };
24923
+ pick_current_pick_day: {
24924
+ Args: never;
24925
+ Returns: string;
24926
+ };
24927
+ pick_day_counts: {
24928
+ Args: {
24929
+ _pick_day?: string;
24930
+ _screen_id?: string;
24931
+ _station_id?: string;
24932
+ };
24933
+ Returns: Json;
24934
+ };
24935
+ pick_document_layout_data: {
24936
+ Args: {
24937
+ _layout_id: string;
24938
+ };
24939
+ Returns: Json;
24940
+ };
24941
+ pick_enqueue_print_job: {
24942
+ Args: {
24943
+ _is_herprint?: boolean;
24944
+ _printer_id?: string;
24945
+ _queue_item_id: string;
24946
+ _session_id?: string;
24947
+ };
24948
+ Returns: string;
24949
+ } | {
24950
+ Args: {
24951
+ _cart_id: string;
24952
+ _is_herprint: boolean;
24953
+ _printer_id: string;
24954
+ _queue_item_id: string;
24955
+ _session_id: string;
24956
+ };
24957
+ Returns: string;
24958
+ };
24959
+ pick_enqueue_print_job_from_cart: {
24960
+ Args: {
24961
+ _cart_id: string;
24962
+ _is_herprint: boolean;
24963
+ _printer_id: string;
24964
+ _queue_item_id: string;
24965
+ _selected_cart: Json;
24966
+ _session_id: string;
24967
+ };
24968
+ Returns: string;
24969
+ };
24970
+ pick_mark_printed: {
24971
+ Args: {
24972
+ _queue_item_id: string;
24973
+ _reden?: string;
24974
+ _session_id: string;
24975
+ };
24976
+ Returns: {
24977
+ announced_at: string;
24978
+ assigned_user_id: string | null;
24979
+ barcode: string | null;
24980
+ cancelled_at: string | null;
24981
+ cart_count: number;
24982
+ completed_at: string | null;
24983
+ country_code: string | null;
24984
+ created_at: string;
24985
+ customer_name: string | null;
24986
+ delivery_address: string | null;
24987
+ document_number: string | null;
24988
+ document_type_id: string | null;
24989
+ due_at: string | null;
24990
+ id: string;
24991
+ is_urgent: boolean;
24992
+ line_count: number;
24993
+ order_number: string | null;
24994
+ order_type: string | null;
24995
+ payload: Json;
24996
+ print_count: number;
24997
+ print_job_id: string | null;
24998
+ printed_at: string | null;
24999
+ printed_by: string | null;
25000
+ printed_cart_ids: Json;
25001
+ printer_id: string | null;
25002
+ priority: number;
25003
+ reference: string | null;
25004
+ route: string | null;
25005
+ screen_id: string | null;
25006
+ station_id: string | null;
25007
+ status_id: string | null;
25008
+ updated_at: string;
25009
+ warnings: Json;
25010
+ };
25011
+ SetofOptions: {
25012
+ from: "*";
25013
+ to: "pick_queue";
25014
+ isOneToOne: true;
25015
+ isSetofReturn: false;
25016
+ };
25017
+ };
25018
+ pick_order_context: {
25019
+ Args: {
25020
+ _order_id?: string;
25021
+ _order_number?: string;
25022
+ };
25023
+ Returns: Json;
25024
+ };
25025
+ pick_preview_job: {
25026
+ Args: {
25027
+ _queue_item_id: string;
25028
+ _station_slug: string;
25029
+ };
25030
+ Returns: Json;
25031
+ };
25032
+ pick_print_job_status: {
25033
+ Args: {
25034
+ _job_id: string;
25035
+ };
25036
+ Returns: Json;
25037
+ };
25038
+ pick_print_jobs_status: {
25039
+ Args: {
25040
+ _job_ids: string[];
25041
+ };
25042
+ Returns: Json[];
25043
+ };
25044
+ pick_print_plekken: {
25045
+ Args: never;
25046
+ Returns: {
25047
+ id: string;
25048
+ naam: string;
25049
+ omschrijving: string;
25050
+ }[];
25051
+ };
25052
+ pick_reference_data_status: {
25053
+ Args: never;
25054
+ Returns: Json;
25055
+ };
25056
+ pick_release_expired_locks: {
25057
+ Args: never;
25058
+ Returns: number;
25059
+ };
25060
+ pick_release_lock: {
25061
+ Args: {
25062
+ _queue_item_id: string;
25063
+ };
25064
+ Returns: undefined;
25065
+ };
25066
+ pick_reprint_cart: {
25067
+ Args: {
25068
+ _cart_id: string;
25069
+ _queue_item_id: string;
25070
+ _session_id: string;
25071
+ _throttle_seconds?: number;
25072
+ };
25073
+ Returns: string;
25074
+ };
25075
+ pick_reprint_document: {
25076
+ Args: {
25077
+ _queue_item_id: string;
25078
+ _session_id: string;
25079
+ _throttle_seconds?: number;
25080
+ };
25081
+ Returns: string;
23004
25082
  };
23005
- pick_claim_document: {
25083
+ pick_reset_print: {
23006
25084
  Args: {
23007
25085
  _queue_item_id: string;
23008
- _screen_id: string;
23009
25086
  _session_id: string;
23010
- _station_id: string;
23011
- _timeout_seconds?: number;
23012
25087
  };
23013
25088
  Returns: {
23014
25089
  announced_at: string;
@@ -23034,6 +25109,7 @@ export type Database = {
23034
25109
  print_job_id: string | null;
23035
25110
  printed_at: string | null;
23036
25111
  printed_by: string | null;
25112
+ printed_cart_ids: Json;
23037
25113
  printer_id: string | null;
23038
25114
  priority: number;
23039
25115
  reference: string | null;
@@ -23050,14 +25126,11 @@ export type Database = {
23050
25126
  isOneToOne: true;
23051
25127
  isSetofReturn: false;
23052
25128
  };
23053
- };
23054
- pick_claim_next_document: {
25129
+ } | {
23055
25130
  Args: {
23056
- _country_code: string;
23057
- _screen_id: string;
25131
+ _cart_id?: string;
25132
+ _queue_item_id: string;
23058
25133
  _session_id: string;
23059
- _station_id: string;
23060
- _timeout_seconds?: number;
23061
25134
  };
23062
25135
  Returns: {
23063
25136
  announced_at: string;
@@ -23083,6 +25156,7 @@ export type Database = {
23083
25156
  print_job_id: string | null;
23084
25157
  printed_at: string | null;
23085
25158
  printed_by: string | null;
25159
+ printed_cart_ids: Json;
23086
25160
  printer_id: string | null;
23087
25161
  priority: number;
23088
25162
  reference: string | null;
@@ -23100,16 +25174,10 @@ export type Database = {
23100
25174
  isSetofReturn: false;
23101
25175
  };
23102
25176
  };
23103
- pick_cleanup_maintenance: {
23104
- Args: {
23105
- _heartbeat_hours?: number;
23106
- _log_days?: number;
23107
- };
23108
- Returns: Json;
23109
- };
23110
- pick_complete_print: {
25177
+ pick_reset_print_job: {
23111
25178
  Args: {
23112
- _printer_id: string;
25179
+ _cart_id: string;
25180
+ _job_id: string;
23113
25181
  _queue_item_id: string;
23114
25182
  _session_id: string;
23115
25183
  };
@@ -23137,6 +25205,7 @@ export type Database = {
23137
25205
  print_job_id: string | null;
23138
25206
  printed_at: string | null;
23139
25207
  printed_by: string | null;
25208
+ printed_cart_ids: Json;
23140
25209
  printer_id: string | null;
23141
25210
  priority: number;
23142
25211
  reference: string | null;
@@ -23154,84 +25223,56 @@ export type Database = {
23154
25223
  isSetofReturn: false;
23155
25224
  };
23156
25225
  };
23157
- pick_current_pick_day: {
23158
- Args: never;
23159
- Returns: string;
23160
- };
23161
- pick_day_counts: {
23162
- Args: {
23163
- _pick_day?: string;
23164
- _screen_id?: string;
23165
- _station_id?: string;
23166
- };
23167
- Returns: Json;
23168
- };
23169
- pick_document_layout_data: {
23170
- Args: {
23171
- _layout_id: string;
23172
- };
23173
- Returns: Json;
23174
- };
23175
- pick_enqueue_print_job: {
23176
- Args: {
23177
- _is_herprint?: boolean;
23178
- _printer_id?: string;
23179
- _queue_item_id: string;
23180
- _session_id?: string;
23181
- };
23182
- Returns: string;
23183
- };
23184
- pick_order_context: {
23185
- Args: {
23186
- _order_id?: string;
23187
- _order_number?: string;
23188
- };
23189
- Returns: Json;
23190
- };
23191
- pick_preview_job: {
25226
+ pick_reset_print_jobs: {
23192
25227
  Args: {
25228
+ _cart_ids: string[];
25229
+ _job_ids: string[];
23193
25230
  _queue_item_id: string;
23194
- _station_slug: string;
23195
- };
23196
- Returns: Json;
23197
- };
23198
- pick_print_job_status: {
23199
- Args: {
23200
- _job_id: string;
25231
+ _session_id: string;
23201
25232
  };
23202
- Returns: Json;
23203
- };
23204
- pick_print_plekken: {
23205
- Args: never;
23206
25233
  Returns: {
25234
+ announced_at: string;
25235
+ assigned_user_id: string | null;
25236
+ barcode: string | null;
25237
+ cancelled_at: string | null;
25238
+ cart_count: number;
25239
+ completed_at: string | null;
25240
+ country_code: string | null;
25241
+ created_at: string;
25242
+ customer_name: string | null;
25243
+ delivery_address: string | null;
25244
+ document_number: string | null;
25245
+ document_type_id: string | null;
25246
+ due_at: string | null;
23207
25247
  id: string;
23208
- naam: string;
23209
- omschrijving: string;
23210
- }[];
23211
- };
23212
- pick_reference_data_status: {
23213
- Args: never;
23214
- Returns: Json;
23215
- };
23216
- pick_release_expired_locks: {
23217
- Args: never;
23218
- Returns: number;
23219
- };
23220
- pick_release_lock: {
23221
- Args: {
23222
- _queue_item_id: string;
25248
+ is_urgent: boolean;
25249
+ line_count: number;
25250
+ order_number: string | null;
25251
+ order_type: string | null;
25252
+ payload: Json;
25253
+ print_count: number;
25254
+ print_job_id: string | null;
25255
+ printed_at: string | null;
25256
+ printed_by: string | null;
25257
+ printed_cart_ids: Json;
25258
+ printer_id: string | null;
25259
+ priority: number;
25260
+ reference: string | null;
25261
+ route: string | null;
25262
+ screen_id: string | null;
25263
+ station_id: string | null;
25264
+ status_id: string | null;
25265
+ updated_at: string;
25266
+ warnings: Json;
23223
25267
  };
23224
- Returns: undefined;
23225
- };
23226
- pick_reprint_document: {
23227
- Args: {
23228
- _queue_item_id: string;
23229
- _session_id: string;
23230
- _throttle_seconds?: number;
25268
+ SetofOptions: {
25269
+ from: "*";
25270
+ to: "pick_queue";
25271
+ isOneToOne: true;
25272
+ isSetofReturn: false;
23231
25273
  };
23232
- Returns: string;
23233
25274
  };
23234
- pick_reset_print: {
25275
+ pick_restore_to_queue: {
23235
25276
  Args: {
23236
25277
  _queue_item_id: string;
23237
25278
  _session_id: string;
@@ -23260,6 +25301,7 @@ export type Database = {
23260
25301
  print_job_id: string | null;
23261
25302
  printed_at: string | null;
23262
25303
  printed_by: string | null;
25304
+ printed_cart_ids: Json;
23263
25305
  printer_id: string | null;
23264
25306
  priority: number;
23265
25307
  reference: string | null;
@@ -23326,6 +25368,12 @@ export type Database = {
23326
25368
  };
23327
25369
  Returns: string;
23328
25370
  };
25371
+ pick_sync_pick_day: {
25372
+ Args: {
25373
+ _day: string;
25374
+ };
25375
+ Returns: Json;
25376
+ };
23329
25377
  pick_sync_queue_throttled: {
23330
25378
  Args: {
23331
25379
  _min_seconds?: number;
@@ -23555,6 +25603,20 @@ export type Database = {
23555
25603
  };
23556
25604
  Returns: boolean;
23557
25605
  };
25606
+ release_local_pdf_job: {
25607
+ Args: {
25608
+ _job_id: string;
25609
+ _writer_id: string;
25610
+ };
25611
+ Returns: boolean;
25612
+ };
25613
+ release_print_queue_lease: {
25614
+ Args: {
25615
+ _houder: string;
25616
+ _naam: string;
25617
+ };
25618
+ Returns: boolean;
25619
+ };
23558
25620
  release_stale_order_invoice_links: {
23559
25621
  Args: {
23560
25622
  _minutes?: number;
@@ -23575,6 +25637,12 @@ export type Database = {
23575
25637
  };
23576
25638
  Returns: Json;
23577
25639
  };
25640
+ reset_cart_layer_positions: {
25641
+ Args: {
25642
+ p_cart_id: string;
25643
+ };
25644
+ Returns: number;
25645
+ };
23578
25646
  reset_floriday_sync_cursor: {
23579
25647
  Args: {
23580
25648
  p_connection_id: string;
@@ -23638,6 +25706,15 @@ export type Database = {
23638
25706
  };
23639
25707
  Returns: Json;
23640
25708
  };
25709
+ roles_without_enum_mapping: {
25710
+ Args: never;
25711
+ Returns: {
25712
+ assignment_count: number;
25713
+ id: string;
25714
+ key: string;
25715
+ name: string;
25716
+ }[];
25717
+ };
23641
25718
  ruim_print_jobs_op: {
23642
25719
  Args: {
23643
25720
  _bewaar_dagen?: number;
@@ -23652,6 +25729,10 @@ export type Database = {
23652
25729
  Args: never;
23653
25730
  Returns: undefined;
23654
25731
  };
25732
+ run_floriday_stock_reconcile: {
25733
+ Args: never;
25734
+ Returns: undefined;
25735
+ };
23655
25736
  run_logistics_tasks_dispatch: {
23656
25737
  Args: never;
23657
25738
  Returns: undefined;
@@ -23670,18 +25751,88 @@ export type Database = {
23670
25751
  };
23671
25752
  Returns: Json;
23672
25753
  };
25754
+ scan_complete_cart: {
25755
+ Args: {
25756
+ p_allow_reprint?: boolean;
25757
+ p_cart_id: string;
25758
+ p_print?: boolean;
25759
+ p_scanner_id?: string;
25760
+ };
25761
+ Returns: Json;
25762
+ };
23673
25763
  scan_dashboard_stats: {
23674
25764
  Args: {
23675
25765
  p_dagen?: number;
23676
25766
  };
23677
25767
  Returns: Json;
23678
25768
  };
25769
+ scan_eindcontrole: {
25770
+ Args: {
25771
+ p_barcode: string;
25772
+ p_scanner_id?: string;
25773
+ };
25774
+ Returns: Json;
25775
+ };
23679
25776
  scan_finish_kar: {
23680
25777
  Args: {
23681
25778
  p_kar_id: string;
23682
25779
  };
23683
25780
  Returns: Json;
23684
25781
  };
25782
+ scan_kar_compleet: {
25783
+ Args: {
25784
+ p_allow_reprint?: boolean;
25785
+ p_sessie_id: string;
25786
+ };
25787
+ Returns: Json;
25788
+ };
25789
+ scan_kar_regels: {
25790
+ Args: {
25791
+ p_cart_id: string;
25792
+ };
25793
+ Returns: Json;
25794
+ };
25795
+ scan_open_pakbonnen: {
25796
+ Args: {
25797
+ p_dagen?: number;
25798
+ };
25799
+ Returns: Json;
25800
+ };
25801
+ scan_pakbon_lookup: {
25802
+ Args: {
25803
+ p_barcode: string;
25804
+ };
25805
+ Returns: Json;
25806
+ };
25807
+ scan_pakbon_opnieuw: {
25808
+ Args: {
25809
+ p_barcode: string;
25810
+ p_scanner_id?: string;
25811
+ };
25812
+ Returns: Json;
25813
+ };
25814
+ scan_pakbon_toevoegen: {
25815
+ Args: {
25816
+ p_barcode: string;
25817
+ p_medewerker?: string;
25818
+ p_regels?: Json;
25819
+ p_scanner_id: string;
25820
+ };
25821
+ Returns: Json;
25822
+ };
25823
+ scan_print_restpakbon: {
25824
+ Args: {
25825
+ p_printer_id?: string;
25826
+ p_restpakbon_id: string;
25827
+ };
25828
+ Returns: Json;
25829
+ };
25830
+ scan_print_verzendbrief: {
25831
+ Args: {
25832
+ p_sessie_id: string;
25833
+ };
25834
+ Returns: Json;
25835
+ };
23685
25836
  scan_register_item: {
23686
25837
  Args: {
23687
25838
  p_kar_id: string;
@@ -23700,6 +25851,25 @@ export type Database = {
23700
25851
  };
23701
25852
  Returns: Json;
23702
25853
  };
25854
+ scan_restpakbon_geprint: {
25855
+ Args: {
25856
+ p_id: string;
25857
+ p_print_job_id?: string;
25858
+ };
25859
+ Returns: undefined;
25860
+ };
25861
+ scan_sessie_annuleren: {
25862
+ Args: {
25863
+ p_sessie_id: string;
25864
+ };
25865
+ Returns: undefined;
25866
+ };
25867
+ scan_sessie_open: {
25868
+ Args: {
25869
+ p_scanner_id: string;
25870
+ };
25871
+ Returns: Json;
25872
+ };
23703
25873
  scan_start_kar: {
23704
25874
  Args: {
23705
25875
  p_medewerker_id?: string;
@@ -23718,6 +25888,12 @@ export type Database = {
23718
25888
  };
23719
25889
  Returns: Json;
23720
25890
  };
25891
+ scan_verzendbrief_regels: {
25892
+ Args: {
25893
+ p_sessie_id: string;
25894
+ };
25895
+ Returns: Json;
25896
+ };
23721
25897
  schedule_floriday_additional_services_sync: {
23722
25898
  Args: {
23723
25899
  p_apikey: string;
@@ -24033,6 +26209,13 @@ export type Database = {
24033
26209
  };
24034
26210
  Returns: Json;
24035
26211
  };
26212
+ swap_cart_layer_positions: {
26213
+ Args: {
26214
+ p_a: string;
26215
+ p_b: string;
26216
+ };
26217
+ Returns: undefined;
26218
+ };
24036
26219
  switch_time_log: {
24037
26220
  Args: {
24038
26221
  p_employee_id: string;
@@ -24065,6 +26248,12 @@ export type Database = {
24065
26248
  };
24066
26249
  Returns: undefined;
24067
26250
  };
26251
+ sync_order_item_fusten: {
26252
+ Args: {
26253
+ _order_item_id: string;
26254
+ };
26255
+ Returns: undefined;
26256
+ };
24068
26257
  sync_product_group_belading: {
24069
26258
  Args: {
24070
26259
  _group_id: string;
@@ -24171,6 +26360,12 @@ export type Database = {
24171
26360
  Args: never;
24172
26361
  Returns: string;
24173
26362
  };
26363
+ wake_print_queue: {
26364
+ Args: {
26365
+ _min_interval_ms?: number;
26366
+ };
26367
+ Returns: number;
26368
+ };
24174
26369
  werkbon_totalen: {
24175
26370
  Args: {
24176
26371
  _werkbon_id: string;
@@ -24203,10 +26398,18 @@ export type Database = {
24203
26398
  };
24204
26399
  Returns: Json;
24205
26400
  };
26401
+ wo_set_status: {
26402
+ Args: {
26403
+ _reason?: string;
26404
+ _status: string;
26405
+ _work_order_id: string;
26406
+ };
26407
+ Returns: Json;
26408
+ };
24206
26409
  };
24207
26410
  Enums: {
24208
26411
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
24209
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26412
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
24210
26413
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
24211
26414
  doc_orientation: "portrait" | "landscape";
24212
26415
  exact_env: "staging" | "live";
@@ -24277,7 +26480,7 @@ export declare const Constants: {
24277
26480
  readonly public: {
24278
26481
  readonly Enums: {
24279
26482
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
24280
- readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
26483
+ readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
24281
26484
  readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
24282
26485
  readonly doc_orientation: readonly ["portrait", "landscape"];
24283
26486
  readonly exact_env: readonly ["staging", "live"];