@flowselections/layout-maker 1.38.4 → 1.45.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/README.md +139 -139
  2. package/dist-lib/components/AfdrukKnop.d.ts +19 -19
  3. package/dist-lib/components/AfleverbriefBuilderPage.d.ts +10 -0
  4. package/dist-lib/components/AfleverbriefBuilderPage.d.ts.map +1 -0
  5. package/dist-lib/components/AfleverbriefBuilderPage.js +101 -0
  6. package/dist-lib/components/BlokOntwerperPage.d.ts.map +1 -1
  7. package/dist-lib/components/BlokOntwerperPage.js +8 -3
  8. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  9. package/dist-lib/components/ComputersLijst.js +1 -1
  10. package/dist-lib/components/FustKolomVolgorde.d.ts +11 -0
  11. package/dist-lib/components/FustKolomVolgorde.d.ts.map +1 -0
  12. package/dist-lib/components/FustKolomVolgorde.js +52 -0
  13. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  14. package/dist-lib/components/LayoutsPage.js +10 -9
  15. package/dist-lib/components/NetwerkPrintersDialog.d.ts +7 -7
  16. package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
  17. package/dist-lib/components/PakbonBuilderPage.js +32 -14
  18. package/dist-lib/components/PakbonPreview.d.ts.map +1 -1
  19. package/dist-lib/components/PakbonPreview.js +21 -14
  20. package/dist-lib/components/PakbonSectiesPanel.d.ts +4 -2
  21. package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -1
  22. package/dist-lib/components/PakbonSectiesPanel.js +5 -3
  23. package/dist-lib/components/PdfMapToestemmingBanner.d.ts +2 -1
  24. package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +1 -1
  25. package/dist-lib/components/PdfMapToestemmingBanner.js +73 -14
  26. package/dist-lib/components/PdfVoorbeeld.d.ts +20 -0
  27. package/dist-lib/components/PdfVoorbeeld.d.ts.map +1 -0
  28. package/dist-lib/components/PdfVoorbeeld.js +95 -0
  29. package/dist-lib/components/PrintProgrammaUitleg.d.ts.map +1 -1
  30. package/dist-lib/components/PrintProgrammaUitleg.js +1 -1
  31. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  32. package/dist-lib/components/PrintQueuePage.js +81 -43
  33. package/dist-lib/components/PrinterSetupWizard.js +3 -3
  34. package/dist-lib/components/PrintersRedirectPage.d.ts +1 -1
  35. package/dist-lib/components/PrintersRedirectPage.js +14 -14
  36. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
  37. package/dist-lib/components/PrintplekDetailPage.js +2 -2
  38. package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
  39. package/dist-lib/components/PrintplekWizard.js +6 -2
  40. package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -1
  41. package/dist-lib/components/ProductiebonBuilderPage.js +13 -7
  42. package/dist-lib/index.d.ts +13 -5
  43. package/dist-lib/index.d.ts.map +1 -1
  44. package/dist-lib/index.js +10 -5
  45. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2008 -118
  46. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  47. package/dist-lib/integrations/supabase/client.server.d.ts +2008 -118
  48. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  49. package/dist-lib/integrations/supabase/client.server.js +1 -1
  50. package/dist-lib/integrations/supabase/moduleClient.d.ts +2008 -118
  51. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  52. package/dist-lib/integrations/supabase/types.d.ts +2031 -99
  53. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  54. package/dist-lib/integrations/supabase/types.js +1 -0
  55. package/dist-lib/lib/aiLayout.functions.d.ts +2008 -118
  56. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  57. package/dist-lib/lib/aiLayout.server.js +9 -9
  58. package/dist-lib/lib/browserPrint.js +1 -1
  59. package/dist-lib/lib/documentVoorbeeld.functions.d.ts +23 -0
  60. package/dist-lib/lib/documentVoorbeeld.functions.d.ts.map +1 -0
  61. package/dist-lib/lib/documentVoorbeeld.functions.js +37 -0
  62. package/dist-lib/lib/fontMetrics.d.ts +15 -0
  63. package/dist-lib/lib/fontMetrics.d.ts.map +1 -0
  64. package/dist-lib/lib/fontMetrics.js +118 -0
  65. package/dist-lib/lib/htmlNaarPdf.server.d.ts +2 -2
  66. package/dist-lib/lib/htmlNaarPdf.server.d.ts.map +1 -1
  67. package/dist-lib/lib/htmlNaarPdf.server.js +2 -1
  68. package/dist-lib/lib/htmlPdf.server.d.ts +11 -0
  69. package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
  70. package/dist-lib/lib/htmlPdf.server.js +118 -15
  71. package/dist-lib/lib/layoutPreview.js +7 -7
  72. package/dist-lib/lib/orderData.server.d.ts.map +1 -1
  73. package/dist-lib/lib/orderData.server.js +43 -16
  74. package/dist-lib/lib/pakbonBarcodeVerzoek.d.ts +39 -0
  75. package/dist-lib/lib/pakbonBarcodeVerzoek.d.ts.map +1 -0
  76. package/dist-lib/lib/pakbonBarcodeVerzoek.js +80 -0
  77. package/dist-lib/lib/pakbonBuilder.d.ts +62 -3
  78. package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
  79. package/dist-lib/lib/pakbonBuilder.js +386 -50
  80. package/dist-lib/lib/pakbonContent.d.ts +41 -0
  81. package/dist-lib/lib/pakbonContent.d.ts.map +1 -0
  82. package/dist-lib/lib/pakbonContent.js +668 -0
  83. package/dist-lib/lib/pakbonDocument.d.ts +199 -0
  84. package/dist-lib/lib/pakbonDocument.d.ts.map +1 -0
  85. package/dist-lib/lib/pakbonDocument.js +735 -0
  86. package/dist-lib/lib/pakbonHtml.d.ts +7 -0
  87. package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
  88. package/dist-lib/lib/pakbonHtml.js +142 -126
  89. package/dist-lib/lib/pakbonPresentation.d.ts +8 -0
  90. package/dist-lib/lib/pakbonPresentation.d.ts.map +1 -0
  91. package/dist-lib/lib/pakbonPresentation.js +31 -0
  92. package/dist-lib/lib/pakbonScan.d.ts.map +1 -1
  93. package/dist-lib/lib/pakbonScan.js +20 -38
  94. package/dist-lib/lib/pdfJobSaver.d.ts +10 -6
  95. package/dist-lib/lib/pdfJobSaver.d.ts.map +1 -1
  96. package/dist-lib/lib/pdfJobSaver.js +302 -99
  97. package/dist-lib/lib/pdfMap.d.ts +37 -2
  98. package/dist-lib/lib/pdfMap.d.ts.map +1 -1
  99. package/dist-lib/lib/pdfMap.js +120 -7
  100. package/dist-lib/lib/pdfOpslagStatus.d.ts +23 -0
  101. package/dist-lib/lib/pdfOpslagStatus.d.ts.map +1 -0
  102. package/dist-lib/lib/pdfOpslagStatus.js +74 -0
  103. package/dist-lib/lib/printApi.d.ts +31 -0
  104. package/dist-lib/lib/printApi.d.ts.map +1 -1
  105. package/dist-lib/lib/printApi.js +62 -1
  106. package/dist-lib/lib/printQueue.server.d.ts +6 -0
  107. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  108. package/dist-lib/lib/printQueue.server.js +450 -94
  109. package/dist-lib/lib/printService.functions.d.ts +7916 -356
  110. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  111. package/dist-lib/lib/productiebonHtml.js +15 -15
  112. package/dist-lib/lib/profielHtml.d.ts.map +1 -1
  113. package/dist-lib/lib/profielHtml.js +26 -19
  114. package/dist-lib/lib/supabaseAdmin.server.d.ts +5 -5
  115. package/dist-lib/lib/supabaseAdmin.server.js +43 -43
  116. package/dist-lib/lib/testpagina.js +3 -3
  117. package/dist-lib/lib/testprint.js +4 -4
  118. package/dist-lib/lib/useDocumentData.d.ts +8 -0
  119. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  120. package/dist-lib/lib/useDocumentData.js +1 -1
  121. package/dist-lib/lib/voorbeeldPrint.d.ts +3 -0
  122. package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
  123. package/dist-lib/lib/voorbeeldPrint.js +65 -17
  124. package/package.json +158 -151
@@ -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"];
@@ -9671,6 +9930,75 @@ export type Database = {
9671
9930
  };
9672
9931
  Relationships: [];
9673
9932
  };
9933
+ logistics_control_scan: {
9934
+ Row: {
9935
+ approved_at: string | null;
9936
+ attempts: number;
9937
+ barcode: string;
9938
+ cart_id: string;
9939
+ created_at: string;
9940
+ document_url: string | null;
9941
+ error: string | null;
9942
+ error_code: string | null;
9943
+ fulfillment_order_id: string | null;
9944
+ id: string;
9945
+ is_floriday: boolean;
9946
+ locked_until: string | null;
9947
+ order_id: 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
+ };
9674
10002
  logistics_decisions: {
9675
10003
  Row: {
9676
10004
  created_at: string;
@@ -9962,6 +10290,24 @@ export type Database = {
9962
10290
  };
9963
10291
  Relationships: [];
9964
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
+ };
9965
10311
  logistics_floriday_pushes: {
9966
10312
  Row: {
9967
10313
  attempts: number;
@@ -10081,9 +10427,39 @@ export type Database = {
10081
10427
  }
10082
10428
  ];
10083
10429
  };
10084
- logistics_pickup_moments: {
10430
+ logistics_layer_override_log: {
10085
10431
  Row: {
10086
- carrier_ref: string | null;
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
+ };
10460
+ logistics_pickup_moments: {
10461
+ Row: {
10462
+ carrier_ref: string | null;
10087
10463
  created_at: string;
10088
10464
  id: string;
10089
10465
  label: string | null;
@@ -11309,6 +11685,13 @@ export type Database = {
11309
11685
  updated_at?: string;
11310
11686
  };
11311
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
+ },
11312
11695
  {
11313
11696
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11314
11697
  columns: ["product_id"];
@@ -12760,6 +13143,13 @@ export type Database = {
12760
13143
  referencedRelation: "order_items";
12761
13144
  referencedColumns: ["id"];
12762
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
+ },
12763
13153
  {
12764
13154
  foreignKeyName: "order_cart_items_product_id_fkey";
12765
13155
  columns: ["product_id"];
@@ -12769,6 +13159,95 @@ export type Database = {
12769
13159
  }
12770
13160
  ];
12771
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
+ };
12772
13251
  order_carts: {
12773
13252
  Row: {
12774
13253
  algorithm_version: number;
@@ -12791,6 +13270,7 @@ export type Database = {
12791
13270
  pickup_locked: boolean;
12792
13271
  pickup_moment_id: string | null;
12793
13272
  source: string;
13273
+ total_carts: number | null;
12794
13274
  total_layers_used: number;
12795
13275
  updated_at: string;
12796
13276
  weight_kg: number | null;
@@ -12816,6 +13296,7 @@ export type Database = {
12816
13296
  pickup_locked?: boolean;
12817
13297
  pickup_moment_id?: string | null;
12818
13298
  source?: string;
13299
+ total_carts?: number | null;
12819
13300
  total_layers_used?: number;
12820
13301
  updated_at?: string;
12821
13302
  weight_kg?: number | null;
@@ -12841,6 +13322,7 @@ export type Database = {
12841
13322
  pickup_locked?: boolean;
12842
13323
  pickup_moment_id?: string | null;
12843
13324
  source?: string;
13325
+ total_carts?: number | null;
12844
13326
  total_layers_used?: number;
12845
13327
  updated_at?: string;
12846
13328
  weight_kg?: number | null;
@@ -12951,6 +13433,41 @@ export type Database = {
12951
13433
  };
12952
13434
  Relationships: [];
12953
13435
  };
13436
+ order_fust_bookings: {
13437
+ Row: {
13438
+ created_at: string;
13439
+ fust_type_id: string;
13440
+ id: string;
13441
+ order_item_id: string;
13442
+ quantity: number;
13443
+ updated_at: string;
13444
+ };
13445
+ Insert: {
13446
+ created_at?: string;
13447
+ fust_type_id: string;
13448
+ 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
+ };
12954
13471
  order_invoice_links: {
12955
13472
  Row: {
12956
13473
  administration_code: string | null;
@@ -13041,6 +13558,13 @@ export type Database = {
13041
13558
  referencedRelation: "orders";
13042
13559
  referencedColumns: ["id"];
13043
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
+ },
13044
13568
  {
13045
13569
  foreignKeyName: "order_items_product_id_fkey";
13046
13570
  columns: ["product_id"];
@@ -13195,6 +13719,9 @@ export type Database = {
13195
13719
  plan_locked_at: string | null;
13196
13720
  plan_locked_ref: string | null;
13197
13721
  status: string;
13722
+ status_changed_at: string;
13723
+ status_origin: string;
13724
+ status_sync_token: string | null;
13198
13725
  total: string;
13199
13726
  updated_at: string;
13200
13727
  };
@@ -13219,6 +13746,9 @@ export type Database = {
13219
13746
  plan_locked_at?: string | null;
13220
13747
  plan_locked_ref?: string | null;
13221
13748
  status?: string;
13749
+ status_changed_at?: string;
13750
+ status_origin?: string;
13751
+ status_sync_token?: string | null;
13222
13752
  total?: string;
13223
13753
  updated_at?: string;
13224
13754
  };
@@ -13243,6 +13773,9 @@ export type Database = {
13243
13773
  plan_locked_at?: string | null;
13244
13774
  plan_locked_ref?: string | null;
13245
13775
  status?: string;
13776
+ status_changed_at?: string;
13777
+ status_origin?: string;
13778
+ status_sync_token?: string | null;
13246
13779
  total?: string;
13247
13780
  updated_at?: string;
13248
13781
  };
@@ -13356,6 +13889,75 @@ export type Database = {
13356
13889
  };
13357
13890
  Relationships: [];
13358
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
+ };
13359
13961
  pick_countries: {
13360
13962
  Row: {
13361
13963
  active: boolean;
@@ -14473,6 +15075,13 @@ export type Database = {
14473
15075
  isOneToOne: false;
14474
15076
  referencedRelation: "werkbonnen";
14475
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"];
14476
15085
  }
14477
15086
  ];
14478
15087
  };
@@ -14591,12 +15200,21 @@ export type Database = {
14591
15200
  };
14592
15201
  print_jobs: {
14593
15202
  Row: {
15203
+ aflever_pogingen: number;
14594
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;
14595
15210
  bron_job_id: string | null;
14596
15211
  created_at: string;
14597
15212
  documentnaam: string;
14598
15213
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14599
15214
  extern_job_id: string | null;
15215
+ fase_gestart_op: string | null;
15216
+ fase_voltooid_op: string | null;
15217
+ foutcode: string | null;
14600
15218
  foutmelding: string | null;
14601
15219
  gebruiker_id: string | null;
14602
15220
  gebruiker_naam: string;
@@ -14610,7 +15228,10 @@ export type Database = {
14610
15228
  kopieen: number;
14611
15229
  layout_id: string | null;
14612
15230
  lokaal_opgeslagen_op: string | null;
15231
+ lokale_pdf_claim_id: string | null;
15232
+ lokale_pdf_claim_tot: string | null;
14613
15233
  lokale_pdf_fout: string | null;
15234
+ lokale_pdf_print_plek_id: string | null;
14614
15235
  lokale_pdf_status: string | null;
14615
15236
  opgepakt_op: string | null;
14616
15237
  paginas: number;
@@ -14623,16 +15244,26 @@ export type Database = {
14623
15244
  resultaat_pdf_base64: string | null;
14624
15245
  status: Database["public"]["Enums"]["print_job_status"];
14625
15246
  updated_at: string;
15247
+ verwerkingsfase: string;
14626
15248
  volgende_poging: string | null;
14627
15249
  voltooid_op: string | null;
14628
15250
  };
14629
15251
  Insert: {
15252
+ aflever_pogingen?: number;
14630
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;
14631
15259
  bron_job_id?: string | null;
14632
15260
  created_at?: string;
14633
15261
  documentnaam?: string;
14634
15262
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14635
15263
  extern_job_id?: string | null;
15264
+ fase_gestart_op?: string | null;
15265
+ fase_voltooid_op?: string | null;
15266
+ foutcode?: string | null;
14636
15267
  foutmelding?: string | null;
14637
15268
  gebruiker_id?: string | null;
14638
15269
  gebruiker_naam?: string;
@@ -14646,7 +15277,10 @@ export type Database = {
14646
15277
  kopieen?: number;
14647
15278
  layout_id?: string | null;
14648
15279
  lokaal_opgeslagen_op?: string | null;
15280
+ lokale_pdf_claim_id?: string | null;
15281
+ lokale_pdf_claim_tot?: string | null;
14649
15282
  lokale_pdf_fout?: string | null;
15283
+ lokale_pdf_print_plek_id?: string | null;
14650
15284
  lokale_pdf_status?: string | null;
14651
15285
  opgepakt_op?: string | null;
14652
15286
  paginas?: number;
@@ -14659,16 +15293,26 @@ export type Database = {
14659
15293
  resultaat_pdf_base64?: string | null;
14660
15294
  status?: Database["public"]["Enums"]["print_job_status"];
14661
15295
  updated_at?: string;
15296
+ verwerkingsfase?: string;
14662
15297
  volgende_poging?: string | null;
14663
15298
  voltooid_op?: string | null;
14664
15299
  };
14665
15300
  Update: {
15301
+ aflever_pogingen?: number;
14666
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;
14667
15308
  bron_job_id?: string | null;
14668
15309
  created_at?: string;
14669
15310
  documentnaam?: string;
14670
15311
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14671
15312
  extern_job_id?: string | null;
15313
+ fase_gestart_op?: string | null;
15314
+ fase_voltooid_op?: string | null;
15315
+ foutcode?: string | null;
14672
15316
  foutmelding?: string | null;
14673
15317
  gebruiker_id?: string | null;
14674
15318
  gebruiker_naam?: string;
@@ -14682,7 +15326,10 @@ export type Database = {
14682
15326
  kopieen?: number;
14683
15327
  layout_id?: string | null;
14684
15328
  lokaal_opgeslagen_op?: string | null;
15329
+ lokale_pdf_claim_id?: string | null;
15330
+ lokale_pdf_claim_tot?: string | null;
14685
15331
  lokale_pdf_fout?: string | null;
15332
+ lokale_pdf_print_plek_id?: string | null;
14686
15333
  lokale_pdf_status?: string | null;
14687
15334
  opgepakt_op?: string | null;
14688
15335
  paginas?: number;
@@ -14695,6 +15342,7 @@ export type Database = {
14695
15342
  resultaat_pdf_base64?: string | null;
14696
15343
  status?: Database["public"]["Enums"]["print_job_status"];
14697
15344
  updated_at?: string;
15345
+ verwerkingsfase?: string;
14698
15346
  volgende_poging?: string | null;
14699
15347
  voltooid_op?: string | null;
14700
15348
  };
@@ -14713,6 +15361,13 @@ export type Database = {
14713
15361
  referencedRelation: "document_layouts";
14714
15362
  referencedColumns: ["id"];
14715
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
+ },
14716
15371
  {
14717
15372
  foreignKeyName: "print_jobs_printer_id_fkey";
14718
15373
  columns: ["printer_id"];
@@ -14852,6 +15507,30 @@ export type Database = {
14852
15507
  };
14853
15508
  Relationships: [];
14854
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
+ };
14855
15534
  print_queue_runners: {
14856
15535
  Row: {
14857
15536
  actief: boolean;
@@ -14861,7 +15540,9 @@ export type Database = {
14861
15540
  laatst_gezien: string;
14862
15541
  laatste_fout: string | null;
14863
15542
  laatste_request_id: number | null;
15543
+ laatste_wakeup: string | null;
14864
15544
  mislukte_posts: number;
15545
+ mislukte_wakeups: number;
14865
15546
  tick_sleutel: string;
14866
15547
  updated_at: string;
14867
15548
  };
@@ -14873,7 +15554,9 @@ export type Database = {
14873
15554
  laatst_gezien?: string;
14874
15555
  laatste_fout?: string | null;
14875
15556
  laatste_request_id?: number | null;
15557
+ laatste_wakeup?: string | null;
14876
15558
  mislukte_posts?: number;
15559
+ mislukte_wakeups?: number;
14877
15560
  tick_sleutel?: string;
14878
15561
  updated_at?: string;
14879
15562
  };
@@ -14885,7 +15568,9 @@ export type Database = {
14885
15568
  laatst_gezien?: string;
14886
15569
  laatste_fout?: string | null;
14887
15570
  laatste_request_id?: number | null;
15571
+ laatste_wakeup?: string | null;
14888
15572
  mislukte_posts?: number;
15573
+ mislukte_wakeups?: number;
14889
15574
  tick_sleutel?: string;
14890
15575
  updated_at?: string;
14891
15576
  };
@@ -15209,6 +15894,13 @@ export type Database = {
15209
15894
  updated_at?: string;
15210
15895
  };
15211
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
+ },
15212
15904
  {
15213
15905
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15214
15906
  columns: ["parent_product_id"];
@@ -15265,6 +15957,13 @@ export type Database = {
15265
15957
  updated_at?: string;
15266
15958
  };
15267
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
+ },
15268
15967
  {
15269
15968
  foreignKeyName: "product_bom_items_component_product_id_fkey";
15270
15969
  columns: ["component_product_id"];
@@ -15272,6 +15971,13 @@ export type Database = {
15272
15971
  referencedRelation: "products";
15273
15972
  referencedColumns: ["id"];
15274
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
+ },
15275
15981
  {
15276
15982
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
15277
15983
  columns: ["parent_product_id"];
@@ -15452,6 +16158,13 @@ export type Database = {
15452
16158
  updated_at?: string;
15453
16159
  };
15454
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
+ },
15455
16168
  {
15456
16169
  foreignKeyName: "product_groups_head_product_id_fkey";
15457
16170
  columns: ["head_product_id"];
@@ -15521,6 +16234,13 @@ export type Database = {
15521
16234
  referencedRelation: "packages";
15522
16235
  referencedColumns: ["id"];
15523
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
+ },
15524
16244
  {
15525
16245
  foreignKeyName: "product_load_settings_product_id_fkey";
15526
16246
  columns: ["product_id"];
@@ -16005,6 +16725,13 @@ export type Database = {
16005
16725
  quantity?: number;
16006
16726
  };
16007
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
+ },
16008
16735
  {
16009
16736
  foreignKeyName: "purchase_order_items_product_id_fkey";
16010
16737
  columns: ["product_id"];
@@ -16343,31 +17070,131 @@ export type Database = {
16343
17070
  }
16344
17071
  ];
16345
17072
  };
16346
- scan_karren: {
17073
+ scan_kar_sessie_regels: {
16347
17074
  Row: {
16348
- afgerond_op: string | null;
16349
- buffer_key: string | null;
17075
+ barcode: string;
17076
+ cart_id: string | null;
16350
17077
  created_at: string;
16351
- customer_names: string[];
16352
- device_id: string | null;
16353
- geprint: boolean;
16354
- geprint_op: string | null;
16355
17078
  id: string;
16356
- kar_nummer: string;
16357
- medewerker_id: string | null;
16358
- medewerker_naam: string | null;
16359
- naar_pickstation: boolean;
16360
- naar_pickstation_op: string | null;
17079
+ order_id: string | null;
16361
17080
  order_number: string | null;
16362
- scanner_id: string | null;
16363
- scanner_key: string;
16364
- status: string;
16365
- totaal_producten: number;
16366
- updated_at: string;
17081
+ regels: Json;
17082
+ sessie_id: string;
17083
+ volledig: boolean;
16367
17084
  };
16368
17085
  Insert: {
16369
- afgerond_op?: string | null;
16370
- buffer_key?: string | null;
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
+ };
17173
+ scan_karren: {
17174
+ Row: {
17175
+ afgerond_op: string | null;
17176
+ buffer_key: string | null;
17177
+ created_at: string;
17178
+ customer_names: string[];
17179
+ device_id: string | null;
17180
+ geprint: boolean;
17181
+ geprint_op: string | null;
17182
+ id: string;
17183
+ kar_nummer: string;
17184
+ medewerker_id: string | null;
17185
+ medewerker_naam: string | null;
17186
+ naar_pickstation: boolean;
17187
+ naar_pickstation_op: string | null;
17188
+ order_number: string | null;
17189
+ scanner_id: string | null;
17190
+ scanner_key: string;
17191
+ status: string;
17192
+ totaal_producten: number;
17193
+ updated_at: string;
17194
+ };
17195
+ Insert: {
17196
+ afgerond_op?: string | null;
17197
+ buffer_key?: string | null;
16371
17198
  created_at?: string;
16372
17199
  customer_names?: string[];
16373
17200
  device_id?: string | null;
@@ -16549,6 +17376,60 @@ export type Database = {
16549
17376
  };
16550
17377
  Relationships: [];
16551
17378
  };
17379
+ scan_restpakbonnen: {
17380
+ Row: {
17381
+ barcode: string;
17382
+ bron_barcode: string | null;
17383
+ cart_id: string | null;
17384
+ cart_index: number | null;
17385
+ cart_total: number | null;
17386
+ created_at: string;
17387
+ geprint_op: string | null;
17388
+ id: 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
+ };
16552
17433
  scan_scanners: {
16553
17434
  Row: {
16554
17435
  actief: boolean;
@@ -16558,6 +17439,7 @@ export type Database = {
16558
17439
  naam: string;
16559
17440
  omschrijving: string | null;
16560
17441
  pincode: string | null;
17442
+ printer_id: string | null;
16561
17443
  slug: string;
16562
17444
  type: string;
16563
17445
  updated_at: string;
@@ -16572,6 +17454,7 @@ export type Database = {
16572
17454
  naam: string;
16573
17455
  omschrijving?: string | null;
16574
17456
  pincode?: string | null;
17457
+ printer_id?: string | null;
16575
17458
  slug: string;
16576
17459
  type?: string;
16577
17460
  updated_at?: string;
@@ -16586,6 +17469,7 @@ export type Database = {
16586
17469
  naam?: string;
16587
17470
  omschrijving?: string | null;
16588
17471
  pincode?: string | null;
17472
+ printer_id?: string | null;
16589
17473
  slug?: string;
16590
17474
  type?: string;
16591
17475
  updated_at?: string;
@@ -16594,6 +17478,27 @@ export type Database = {
16594
17478
  };
16595
17479
  Relationships: [];
16596
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
+ };
16597
17502
  sick_periods: {
16598
17503
  Row: {
16599
17504
  created_at: string;
@@ -17223,6 +18128,13 @@ export type Database = {
17223
18128
  isOneToOne: false;
17224
18129
  referencedRelation: "werkbonnen";
17225
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"];
17226
18138
  }
17227
18139
  ];
17228
18140
  };
@@ -18537,6 +19449,13 @@ export type Database = {
18537
19449
  isOneToOne: false;
18538
19450
  referencedRelation: "werkbonnen";
18539
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"];
18540
19459
  }
18541
19460
  ];
18542
19461
  };
@@ -19270,6 +20189,13 @@ export type Database = {
19270
20189
  isOneToOne: true;
19271
20190
  referencedRelation: "werkbonnen";
19272
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"];
19273
20199
  }
19274
20200
  ];
19275
20201
  };
@@ -19359,6 +20285,13 @@ export type Database = {
19359
20285
  isOneToOne: false;
19360
20286
  referencedRelation: "werkbonnen";
19361
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"];
19362
20295
  }
19363
20296
  ];
19364
20297
  };
@@ -19550,6 +20483,13 @@ export type Database = {
19550
20483
  isOneToOne: false;
19551
20484
  referencedRelation: "werkbonnen";
19552
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"];
19553
20493
  }
19554
20494
  ];
19555
20495
  };
@@ -19644,6 +20584,13 @@ export type Database = {
19644
20584
  isOneToOne: false;
19645
20585
  referencedRelation: "werkbonnen";
19646
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"];
19647
20594
  }
19648
20595
  ];
19649
20596
  };
@@ -19685,6 +20632,13 @@ export type Database = {
19685
20632
  isOneToOne: false;
19686
20633
  referencedRelation: "werkbonnen";
19687
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"];
19688
20642
  }
19689
20643
  ];
19690
20644
  };
@@ -19811,6 +20765,13 @@ export type Database = {
19811
20765
  referencedRelation: "werkbonnen";
19812
20766
  referencedColumns: ["id"];
19813
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
+ },
19814
20775
  {
19815
20776
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19816
20777
  columns: ["source_mailbox_message_id"];
@@ -20288,6 +21249,24 @@ export type Database = {
20288
21249
  };
20289
21250
  Relationships: [];
20290
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
+ };
20291
21270
  manufacture_product_possible_stock_view: {
20292
21271
  Row: {
20293
21272
  component_count: number | null;
@@ -20326,6 +21305,13 @@ export type Database = {
20326
21305
  isOneToOne: false;
20327
21306
  referencedRelation: "werkbonnen";
20328
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"];
20329
21315
  }
20330
21316
  ];
20331
21317
  };
@@ -20806,18 +21792,97 @@ export type Database = {
20806
21792
  isOneToOne: false;
20807
21793
  referencedRelation: "werkbonnen";
20808
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"];
20809
21802
  }
20810
21803
  ];
20811
21804
  };
20812
- };
20813
- Functions: {
20814
- _floriday_schedule_job: {
20815
- Args: {
20816
- p_apikey: string;
20817
- p_jobname: string;
20818
- p_schedule: string;
20819
- p_timeout_ms: number;
20820
- p_url: string;
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"];
21874
+ }
21875
+ ];
21876
+ };
21877
+ };
21878
+ Functions: {
21879
+ _floriday_schedule_job: {
21880
+ Args: {
21881
+ p_apikey: string;
21882
+ p_jobname: string;
21883
+ p_schedule: string;
21884
+ p_timeout_ms: number;
21885
+ p_url: string;
20821
21886
  };
20822
21887
  Returns: number;
20823
21888
  };
@@ -20998,12 +22063,21 @@ export type Database = {
20998
22063
  _max?: number;
20999
22064
  };
21000
22065
  Returns: {
22066
+ aflever_pogingen: number;
21001
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;
21002
22073
  bron_job_id: string | null;
21003
22074
  created_at: string;
21004
22075
  documentnaam: string;
21005
22076
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
21006
22077
  extern_job_id: string | null;
22078
+ fase_gestart_op: string | null;
22079
+ fase_voltooid_op: string | null;
22080
+ foutcode: string | null;
21007
22081
  foutmelding: string | null;
21008
22082
  gebruiker_id: string | null;
21009
22083
  gebruiker_naam: string;
@@ -21017,7 +22091,10 @@ export type Database = {
21017
22091
  kopieen: number;
21018
22092
  layout_id: string | null;
21019
22093
  lokaal_opgeslagen_op: string | null;
22094
+ lokale_pdf_claim_id: string | null;
22095
+ lokale_pdf_claim_tot: string | null;
21020
22096
  lokale_pdf_fout: string | null;
22097
+ lokale_pdf_print_plek_id: string | null;
21021
22098
  lokale_pdf_status: string | null;
21022
22099
  opgepakt_op: string | null;
21023
22100
  paginas: number;
@@ -21030,6 +22107,7 @@ export type Database = {
21030
22107
  resultaat_pdf_base64: string | null;
21031
22108
  status: Database["public"]["Enums"]["print_job_status"];
21032
22109
  updated_at: string;
22110
+ verwerkingsfase: string;
21033
22111
  volgende_poging: string | null;
21034
22112
  voltooid_op: string | null;
21035
22113
  }[];
@@ -21076,6 +22154,25 @@ export type Database = {
21076
22154
  isSetofReturn: true;
21077
22155
  };
21078
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
+ };
21079
22176
  claim_logistics_tasks: {
21080
22177
  Args: {
21081
22178
  _limit?: number;
@@ -21129,12 +22226,21 @@ export type Database = {
21129
22226
  _max?: number;
21130
22227
  };
21131
22228
  Returns: {
22229
+ aflever_pogingen: number;
21132
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;
21133
22236
  bron_job_id: string | null;
21134
22237
  created_at: string;
21135
22238
  documentnaam: string;
21136
22239
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
21137
22240
  extern_job_id: string | null;
22241
+ fase_gestart_op: string | null;
22242
+ fase_voltooid_op: string | null;
22243
+ foutcode: string | null;
21138
22244
  foutmelding: string | null;
21139
22245
  gebruiker_id: string | null;
21140
22246
  gebruiker_naam: string;
@@ -21148,7 +22254,10 @@ export type Database = {
21148
22254
  kopieen: number;
21149
22255
  layout_id: string | null;
21150
22256
  lokaal_opgeslagen_op: string | null;
22257
+ lokale_pdf_claim_id: string | null;
22258
+ lokale_pdf_claim_tot: string | null;
21151
22259
  lokale_pdf_fout: string | null;
22260
+ lokale_pdf_print_plek_id: string | null;
21152
22261
  lokale_pdf_status: string | null;
21153
22262
  opgepakt_op: string | null;
21154
22263
  paginas: number;
@@ -21161,6 +22270,7 @@ export type Database = {
21161
22270
  resultaat_pdf_base64: string | null;
21162
22271
  status: Database["public"]["Enums"]["print_job_status"];
21163
22272
  updated_at: string;
22273
+ verwerkingsfase: string;
21164
22274
  volgende_poging: string | null;
21165
22275
  voltooid_op: string | null;
21166
22276
  }[];
@@ -21177,12 +22287,21 @@ export type Database = {
21177
22287
  _max?: number;
21178
22288
  };
21179
22289
  Returns: {
22290
+ aflever_pogingen: number;
21180
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;
21181
22297
  bron_job_id: string | null;
21182
22298
  created_at: string;
21183
22299
  documentnaam: string;
21184
22300
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
21185
22301
  extern_job_id: string | null;
22302
+ fase_gestart_op: string | null;
22303
+ fase_voltooid_op: string | null;
22304
+ foutcode: string | null;
21186
22305
  foutmelding: string | null;
21187
22306
  gebruiker_id: string | null;
21188
22307
  gebruiker_naam: string;
@@ -21196,7 +22315,10 @@ export type Database = {
21196
22315
  kopieen: number;
21197
22316
  layout_id: string | null;
21198
22317
  lokaal_opgeslagen_op: string | null;
22318
+ lokale_pdf_claim_id: string | null;
22319
+ lokale_pdf_claim_tot: string | null;
21199
22320
  lokale_pdf_fout: string | null;
22321
+ lokale_pdf_print_plek_id: string | null;
21200
22322
  lokale_pdf_status: string | null;
21201
22323
  opgepakt_op: string | null;
21202
22324
  paginas: number;
@@ -21209,6 +22331,7 @@ export type Database = {
21209
22331
  resultaat_pdf_base64: string | null;
21210
22332
  status: Database["public"]["Enums"]["print_job_status"];
21211
22333
  updated_at: string;
22334
+ verwerkingsfase: string;
21212
22335
  volgende_poging: string | null;
21213
22336
  voltooid_op: string | null;
21214
22337
  }[];
@@ -21219,6 +22342,14 @@ export type Database = {
21219
22342
  isSetofReturn: true;
21220
22343
  };
21221
22344
  };
22345
+ claim_print_queue_lease: {
22346
+ Args: {
22347
+ _houder: string;
22348
+ _naam: string;
22349
+ _seconden?: number;
22350
+ };
22351
+ Returns: boolean;
22352
+ };
21222
22353
  claim_twinfield_push_batch: {
21223
22354
  Args: {
21224
22355
  _customer_id?: string;
@@ -21344,7 +22475,10 @@ export type Database = {
21344
22475
  cart_index: number;
21345
22476
  cart_number: string;
21346
22477
  cart_number_id: string;
22478
+ cart_seq: number;
22479
+ cart_total: number;
21347
22480
  order_id: string;
22481
+ order_number: string;
21348
22482
  order_source: string;
21349
22483
  pick_date: string;
21350
22484
  printed_at: string;
@@ -21352,6 +22486,12 @@ export type Database = {
21352
22486
  status: string;
21353
22487
  }[];
21354
22488
  };
22489
+ control_mark_carts_delivered: {
22490
+ Args: {
22491
+ p_carts: Json;
22492
+ };
22493
+ Returns: number;
22494
+ };
21355
22495
  count_distinct_regulatory_products: {
21356
22496
  Args: never;
21357
22497
  Returns: number;
@@ -21479,6 +22619,13 @@ export type Database = {
21479
22619
  };
21480
22620
  Returns: undefined;
21481
22621
  };
22622
+ ensure_system_roles: {
22623
+ Args: never;
22624
+ Returns: {
22625
+ action: string;
22626
+ role_key: string;
22627
+ }[];
22628
+ };
21482
22629
  ensure_trade_item_stock_row: {
21483
22630
  Args: {
21484
22631
  p_key: string;
@@ -21545,6 +22692,15 @@ export type Database = {
21545
22692
  };
21546
22693
  Returns: string;
21547
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
+ };
21548
22704
  floriday_capture_stock_snapshot: {
21549
22705
  Args: never;
21550
22706
  Returns: number;
@@ -21824,6 +22980,36 @@ export type Database = {
21824
22980
  Args: never;
21825
22981
  Returns: string;
21826
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
+ };
21827
23013
  handover_get: {
21828
23014
  Args: {
21829
23015
  _module_id: string;
@@ -21854,6 +23040,14 @@ export type Database = {
21854
23040
  };
21855
23041
  Returns: boolean;
21856
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
+ };
21857
23051
  handover_norm_naam: {
21858
23052
  Args: {
21859
23053
  _naam: string;
@@ -21874,6 +23068,23 @@ export type Database = {
21874
23068
  };
21875
23069
  Returns: number;
21876
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
+ };
21877
23088
  handover_publish_via_token: {
21878
23089
  Args: {
21879
23090
  _bevindingen?: string;
@@ -21887,7 +23098,7 @@ export type Database = {
21887
23098
  _samenvatting?: string;
21888
23099
  _token_hash: string;
21889
23100
  };
21890
- Returns: number;
23101
+ Returns: Json;
21891
23102
  };
21892
23103
  handover_status: {
21893
23104
  Args: never;
@@ -21899,23 +23110,6 @@ export type Database = {
21899
23110
  };
21900
23111
  Returns: string;
21901
23112
  };
21902
- handover_token_intrekken: {
21903
- Args: {
21904
- _id: string;
21905
- };
21906
- Returns: boolean;
21907
- };
21908
- handover_token_lijst: {
21909
- Args: never;
21910
- Returns: Json;
21911
- };
21912
- handover_token_maken: {
21913
- Args: {
21914
- _label?: string;
21915
- _module_id: string;
21916
- };
21917
- Returns: string;
21918
- };
21919
23113
  handover_update: {
21920
23114
  Args: {
21921
23115
  _bezit_tabellen?: string[];
@@ -21943,12 +23137,31 @@ export type Database = {
21943
23137
  };
21944
23138
  Returns: boolean;
21945
23139
  };
23140
+ handover_versie_verwijderen: {
23141
+ Args: {
23142
+ _module_id: string;
23143
+ _versie: number;
23144
+ };
23145
+ Returns: boolean;
23146
+ };
21946
23147
  handover_versies: {
21947
23148
  Args: {
21948
23149
  _module_id: string;
21949
23150
  };
21950
23151
  Returns: Json;
21951
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
+ };
21952
23165
  has_module_permission: {
21953
23166
  Args: {
21954
23167
  _min: string;
@@ -22283,6 +23496,13 @@ export type Database = {
22283
23496
  };
22284
23497
  Returns: string;
22285
23498
  };
23499
+ logistics_cart_handled: {
23500
+ Args: {
23501
+ p_cart_index: number;
23502
+ p_order_id: string;
23503
+ };
23504
+ Returns: boolean;
23505
+ };
22286
23506
  logistics_cart_index: {
22287
23507
  Args: {
22288
23508
  p_from?: string;
@@ -22292,6 +23512,9 @@ export type Database = {
22292
23512
  cart_id: string;
22293
23513
  cart_index: number;
22294
23514
  cart_label: string;
23515
+ cart_number: string;
23516
+ cart_seq: number;
23517
+ cart_total: number;
22295
23518
  delivery_date: string;
22296
23519
  is_announced: boolean;
22297
23520
  is_controlled: boolean;
@@ -22306,12 +23529,79 @@ export type Database = {
22306
23529
  task_status: string;
22307
23530
  }[];
22308
23531
  };
23532
+ logistics_cart_layout_method: {
23533
+ Args: never;
23534
+ Returns: Json;
23535
+ };
23536
+ logistics_cart_plan_overview: {
23537
+ Args: {
23538
+ p_days?: number;
23539
+ };
23540
+ Returns: {
23541
+ cart_total: number;
23542
+ delivery_date: string;
23543
+ order_ref: string;
23544
+ plan_ready: boolean;
23545
+ reason: string;
23546
+ released: boolean;
23547
+ }[];
23548
+ };
23549
+ logistics_cart_plan_status: {
23550
+ Args: {
23551
+ p_ref: string;
23552
+ };
23553
+ Returns: Json;
23554
+ };
23555
+ logistics_cart_seq: {
23556
+ Args: {
23557
+ p_order_uuid?: string;
23558
+ };
23559
+ Returns: {
23560
+ cart_id: string;
23561
+ cart_index: number;
23562
+ cart_number: string;
23563
+ cart_seq: number;
23564
+ cart_total: number;
23565
+ order_uuid: string;
23566
+ }[];
23567
+ };
22309
23568
  logistics_cart_slip_plan: {
22310
23569
  Args: {
22311
23570
  p_order_id: string;
22312
23571
  };
22313
23572
  Returns: Json;
22314
23573
  };
23574
+ logistics_cart_units: {
23575
+ Args: {
23576
+ p_from?: string;
23577
+ p_to?: string;
23578
+ };
23579
+ Returns: {
23580
+ cart_id: string;
23581
+ cart_index: number;
23582
+ cart_label: string;
23583
+ cart_number: string;
23584
+ cart_seq: number;
23585
+ cart_total: number;
23586
+ delivery_date: string;
23587
+ is_announced: boolean;
23588
+ is_buffer: boolean;
23589
+ is_controlled: boolean;
23590
+ is_printed: boolean;
23591
+ is_shared: boolean;
23592
+ order_number: string;
23593
+ order_source: string;
23594
+ order_uuid: string;
23595
+ pick_date: string;
23596
+ printed_at: string;
23597
+ shifted: boolean;
23598
+ task_status: string;
23599
+ unit_buffer: string;
23600
+ unit_order_count: number;
23601
+ unit_orders: string[];
23602
+ unit_ref: string;
23603
+ }[];
23604
+ };
22315
23605
  logistics_check_order_allowed: {
22316
23606
  Args: {
22317
23607
  p_lines: Json;
@@ -22467,7 +23757,9 @@ export type Database = {
22467
23757
  announced_carts: number;
22468
23758
  control_carts: number;
22469
23759
  delivery_carts: number;
23760
+ duplicate_carts: number;
22470
23761
  ok: boolean;
23762
+ orphan_carts: number;
22471
23763
  orphan_tasks: number;
22472
23764
  pick_date: string;
22473
23765
  raw_carts: number;
@@ -22475,37 +23767,116 @@ export type Database = {
22475
23767
  station_carts: number;
22476
23768
  }[];
22477
23769
  };
22478
- logistics_delay_customer_email: {
23770
+ logistics_control_scan_approve: {
22479
23771
  Args: {
22480
- p_customer: string;
22481
- p_lang: string;
22482
- p_new_date: string;
22483
- p_order: string;
22484
- p_partial?: boolean;
23772
+ p_allow_reprint?: boolean;
23773
+ p_barcode: string;
23774
+ p_printer_id?: string;
23775
+ p_scanner_id?: string;
22485
23776
  };
22486
- Returns: {
22487
- body: string;
22488
- subject: string;
22489
- }[];
23777
+ Returns: Json;
22490
23778
  };
22491
- logistics_delivery_agenda: {
23779
+ logistics_control_scan_claim: {
22492
23780
  Args: {
22493
- p_from?: string;
22494
- p_to?: string;
23781
+ _lease_seconds?: number;
23782
+ _limit?: number;
22495
23783
  };
22496
23784
  Returns: {
22497
- announced_count: number;
22498
- cart_count: number;
22499
- controlled_count: number;
22500
- delivery_date: string;
22501
- order_count: number;
22502
- orders: Json;
22503
- plant_count: number;
22504
- printed_count: number;
23785
+ approved_at: string | null;
23786
+ attempts: number;
23787
+ barcode: string;
23788
+ cart_id: string;
23789
+ created_at: string;
23790
+ document_url: string | null;
23791
+ error: string | null;
23792
+ error_code: string | null;
23793
+ fulfillment_order_id: string | null;
23794
+ id: string;
23795
+ is_floriday: boolean;
23796
+ locked_until: string | null;
23797
+ order_id: string | null;
23798
+ order_number: string | null;
23799
+ print_job_id: string | null;
23800
+ printed_at: string | null;
23801
+ printer_id: string | null;
23802
+ scanner_id: string | null;
23803
+ status: string;
23804
+ updated_at: string;
22505
23805
  }[];
22506
- };
22507
- logistics_document_layout: {
22508
- Args: {
23806
+ SetofOptions: {
23807
+ from: "*";
23808
+ to: "logistics_control_scan";
23809
+ isOneToOne: false;
23810
+ isSetofReturn: true;
23811
+ };
23812
+ };
23813
+ logistics_control_scan_finish: {
23814
+ Args: {
23815
+ _document_url?: string;
23816
+ _error?: string;
23817
+ _error_code?: string;
23818
+ _fulfillment_order_id?: string;
23819
+ _id: string;
23820
+ _ok: boolean;
23821
+ _print_job_id?: string;
23822
+ _status?: string;
23823
+ };
23824
+ Returns: Json;
23825
+ };
23826
+ logistics_control_scan_lookup: {
23827
+ Args: {
23828
+ p_barcode: string;
23829
+ };
23830
+ Returns: Json;
23831
+ };
23832
+ logistics_control_scan_overview: {
23833
+ Args: {
23834
+ _date?: string;
23835
+ _scanner_id?: string;
23836
+ };
23837
+ Returns: Json;
23838
+ };
23839
+ logistics_control_scan_retry: {
23840
+ Args: {
23841
+ _id: string;
23842
+ };
23843
+ Returns: Json;
23844
+ };
23845
+ logistics_control_settings: {
23846
+ Args: never;
23847
+ Returns: Json;
23848
+ };
23849
+ logistics_delay_customer_email: {
23850
+ Args: {
23851
+ p_customer: string;
23852
+ p_lang: string;
23853
+ p_new_date: string;
23854
+ p_order: string;
23855
+ p_partial?: boolean;
23856
+ };
23857
+ Returns: {
23858
+ body: string;
23859
+ subject: string;
23860
+ }[];
23861
+ };
23862
+ logistics_delivery_agenda: {
23863
+ Args: {
23864
+ p_from?: string;
23865
+ p_to?: string;
23866
+ };
23867
+ Returns: {
23868
+ announced_count: number;
23869
+ cart_count: number;
23870
+ controlled_count: number;
23871
+ delivery_date: string;
23872
+ order_count: number;
23873
+ orders: Json;
23874
+ plant_count: number;
23875
+ printed_count: number;
23876
+ }[];
23877
+ };
23878
+ logistics_document_layout: {
23879
+ Args: {
22509
23880
  _document_code: string;
22510
23881
  };
22511
23882
  Returns: Json;
@@ -22542,6 +23913,17 @@ export type Database = {
22542
23913
  };
22543
23914
  Returns: Json;
22544
23915
  };
23916
+ logistics_enqueue_sticker_with_slip: {
23917
+ Args: {
23918
+ _cart_id: string;
23919
+ _is_herprint: boolean;
23920
+ _printer_id: string;
23921
+ _queue_item_id: string;
23922
+ _session_id: string;
23923
+ _slip_job_id: string;
23924
+ };
23925
+ Returns: string;
23926
+ };
22545
23927
  logistics_ensure_cart_barcode: {
22546
23928
  Args: {
22547
23929
  _cart_id: string;
@@ -22683,6 +24065,26 @@ export type Database = {
22683
24065
  };
22684
24066
  Returns: string;
22685
24067
  };
24068
+ logistics_fulfill_barcode_requests: {
24069
+ Args: {
24070
+ p_limit?: number;
24071
+ };
24072
+ Returns: Json;
24073
+ };
24074
+ logistics_full_cart_min_layers: {
24075
+ Args: never;
24076
+ Returns: number;
24077
+ };
24078
+ logistics_full_cart_min_percentage: {
24079
+ Args: never;
24080
+ Returns: number;
24081
+ };
24082
+ logistics_is_pick_workday: {
24083
+ Args: {
24084
+ p_date: string;
24085
+ };
24086
+ Returns: boolean;
24087
+ };
22686
24088
  logistics_live_carriers: {
22687
24089
  Args: {
22688
24090
  p_order_ref: string;
@@ -22695,6 +24097,20 @@ export type Database = {
22695
24097
  };
22696
24098
  Returns: number;
22697
24099
  };
24100
+ logistics_next_workday_date: {
24101
+ Args: {
24102
+ p_date: string;
24103
+ p_days?: string[];
24104
+ };
24105
+ Returns: string;
24106
+ };
24107
+ logistics_next_workday_not_past: {
24108
+ Args: {
24109
+ p_days: string[];
24110
+ p_ts: string;
24111
+ };
24112
+ Returns: string;
24113
+ };
22698
24114
  logistics_not_past: {
22699
24115
  Args: {
22700
24116
  p_ts: string;
@@ -22707,6 +24123,19 @@ export type Database = {
22707
24123
  };
22708
24124
  Returns: number;
22709
24125
  };
24126
+ logistics_order_handled: {
24127
+ Args: {
24128
+ p_order_uuid: string;
24129
+ };
24130
+ Returns: boolean;
24131
+ };
24132
+ logistics_order_is_topick: {
24133
+ Args: {
24134
+ p_order_id: string;
24135
+ p_order_number: string;
24136
+ };
24137
+ Returns: boolean;
24138
+ };
22710
24139
  logistics_order_overview: {
22711
24140
  Args: {
22712
24141
  p_from?: string;
@@ -22732,6 +24161,12 @@ export type Database = {
22732
24161
  };
22733
24162
  Returns: string;
22734
24163
  };
24164
+ logistics_order_released: {
24165
+ Args: {
24166
+ p_order_ref: string;
24167
+ };
24168
+ Returns: boolean;
24169
+ };
22735
24170
  logistics_parse_pickup: {
22736
24171
  Args: {
22737
24172
  p_value: string;
@@ -22762,6 +24197,10 @@ export type Database = {
22762
24197
  Args: never;
22763
24198
  Returns: string;
22764
24199
  };
24200
+ logistics_pick_mode: {
24201
+ Args: never;
24202
+ Returns: Json;
24203
+ };
22765
24204
  logistics_pick_start_estimate: {
22766
24205
  Args: {
22767
24206
  p_order: Json;
@@ -22769,6 +24208,18 @@ export type Database = {
22769
24208
  };
22770
24209
  Returns: string;
22771
24210
  };
24211
+ logistics_pick_units: {
24212
+ Args: never;
24213
+ Returns: {
24214
+ is_buffer: boolean;
24215
+ order_number: string;
24216
+ order_uuid: string;
24217
+ unit_buffer: string;
24218
+ unit_order_count: number;
24219
+ unit_orders: string[];
24220
+ unit_ref: string;
24221
+ }[];
24222
+ };
22772
24223
  logistics_plan_all: {
22773
24224
  Args: {
22774
24225
  p_user_id?: string;
@@ -22855,6 +24306,14 @@ export type Database = {
22855
24306
  };
22856
24307
  Returns: number;
22857
24308
  };
24309
+ logistics_prune_buffer_member_queue: {
24310
+ Args: never;
24311
+ Returns: number;
24312
+ };
24313
+ logistics_prune_handled_pick_queue: {
24314
+ Args: never;
24315
+ Returns: number;
24316
+ };
22858
24317
  logistics_queue_capacity_email: {
22859
24318
  Args: {
22860
24319
  p_alert_id: string;
@@ -22887,6 +24346,12 @@ export type Database = {
22887
24346
  Args: never;
22888
24347
  Returns: Json;
22889
24348
  };
24349
+ logistics_refresh_pickup_moments: {
24350
+ Args: {
24351
+ p_weeks?: number;
24352
+ };
24353
+ Returns: Json;
24354
+ };
22890
24355
  logistics_report_delay: {
22891
24356
  Args: {
22892
24357
  p_expected_date?: string;
@@ -22993,6 +24458,12 @@ export type Database = {
22993
24458
  };
22994
24459
  Returns: string;
22995
24460
  };
24461
+ logistics_scan_resolve: {
24462
+ Args: {
24463
+ p_code: string;
24464
+ };
24465
+ Returns: Json;
24466
+ };
22996
24467
  logistics_schedule_tasks: {
22997
24468
  Args: never;
22998
24469
  Returns: number;
@@ -23027,6 +24498,10 @@ export type Database = {
23027
24498
  };
23028
24499
  Returns: Json;
23029
24500
  };
24501
+ logistics_sticker_follows_slip: {
24502
+ Args: never;
24503
+ Returns: boolean;
24504
+ };
23030
24505
  logistics_supersede_stale_tasks: {
23031
24506
  Args: {
23032
24507
  p_keep: string[];
@@ -23078,6 +24553,18 @@ export type Database = {
23078
24553
  };
23079
24554
  Returns: string;
23080
24555
  };
24556
+ logistics_write_buffer_layer_positions: {
24557
+ Args: {
24558
+ p_buffer_id: string;
24559
+ };
24560
+ Returns: number;
24561
+ };
24562
+ logistics_write_cart_layer_positions: {
24563
+ Args: {
24564
+ p_cart_id: string;
24565
+ };
24566
+ Returns: number;
24567
+ };
23081
24568
  mark_offer_clicked: {
23082
24569
  Args: {
23083
24570
  p_code: string;
@@ -23110,6 +24597,15 @@ export type Database = {
23110
24597
  };
23111
24598
  Returns: undefined;
23112
24599
  };
24600
+ move_cart_layer_position: {
24601
+ Args: {
24602
+ p_id: string;
24603
+ p_layer: number;
24604
+ p_x: number;
24605
+ p_y: number;
24606
+ };
24607
+ Returns: undefined;
24608
+ };
23113
24609
  my_module_permissions: {
23114
24610
  Args: never;
23115
24611
  Returns: {
@@ -23181,6 +24677,12 @@ export type Database = {
23181
24677
  };
23182
24678
  Returns: Json;
23183
24679
  };
24680
+ order_heeft_bevestigde_karren: {
24681
+ Args: {
24682
+ p_order_id: string;
24683
+ };
24684
+ Returns: boolean;
24685
+ };
23184
24686
  order_number_prefix: {
23185
24687
  Args: {
23186
24688
  p_custom_fields?: Json;
@@ -23216,6 +24718,27 @@ export type Database = {
23216
24718
  online: boolean;
23217
24719
  }[];
23218
24720
  };
24721
+ pick_available_pick_days: {
24722
+ Args: {
24723
+ _max_days?: number;
24724
+ };
24725
+ Returns: {
24726
+ orders: number;
24727
+ pick_day: string;
24728
+ }[];
24729
+ };
24730
+ pick_buffer_order_ids: {
24731
+ Args: {
24732
+ _order_id: string;
24733
+ };
24734
+ Returns: string[];
24735
+ };
24736
+ pick_cart_breakdown: {
24737
+ Args: {
24738
+ _order_id: string;
24739
+ };
24740
+ Returns: Json;
24741
+ };
23219
24742
  pick_claim_document: {
23220
24743
  Args: {
23221
24744
  _queue_item_id: string;
@@ -23269,6 +24792,7 @@ export type Database = {
23269
24792
  pick_claim_next_document: {
23270
24793
  Args: {
23271
24794
  _country_code: string;
24795
+ _pick_day?: string;
23272
24796
  _screen_id: string;
23273
24797
  _session_id: string;
23274
24798
  _station_id: string;
@@ -23420,6 +24944,14 @@ export type Database = {
23420
24944
  isSetofReturn: false;
23421
24945
  };
23422
24946
  };
24947
+ pick_complete_print_carts: {
24948
+ Args: {
24949
+ _cart_ids: string[];
24950
+ _queue_item_id: string;
24951
+ _session_id: string;
24952
+ };
24953
+ Returns: Json;
24954
+ };
23423
24955
  pick_current_pick_day: {
23424
24956
  Args: never;
23425
24957
  Returns: string;
@@ -23456,6 +24988,65 @@ export type Database = {
23456
24988
  };
23457
24989
  Returns: string;
23458
24990
  };
24991
+ pick_enqueue_print_job_from_cart: {
24992
+ Args: {
24993
+ _cart_id: string;
24994
+ _is_herprint: boolean;
24995
+ _printer_id: string;
24996
+ _queue_item_id: string;
24997
+ _selected_cart: Json;
24998
+ _session_id: string;
24999
+ };
25000
+ Returns: string;
25001
+ };
25002
+ pick_mark_printed: {
25003
+ Args: {
25004
+ _queue_item_id: string;
25005
+ _reden?: string;
25006
+ _session_id: string;
25007
+ };
25008
+ Returns: {
25009
+ announced_at: string;
25010
+ assigned_user_id: string | null;
25011
+ barcode: string | null;
25012
+ cancelled_at: string | null;
25013
+ cart_count: number;
25014
+ completed_at: string | null;
25015
+ country_code: string | null;
25016
+ created_at: string;
25017
+ customer_name: string | null;
25018
+ delivery_address: string | null;
25019
+ document_number: string | null;
25020
+ document_type_id: string | null;
25021
+ due_at: string | null;
25022
+ id: string;
25023
+ is_urgent: boolean;
25024
+ line_count: number;
25025
+ order_number: string | null;
25026
+ order_type: string | null;
25027
+ payload: Json;
25028
+ print_count: number;
25029
+ print_job_id: string | null;
25030
+ printed_at: string | null;
25031
+ printed_by: string | null;
25032
+ printed_cart_ids: Json;
25033
+ printer_id: string | null;
25034
+ priority: number;
25035
+ reference: string | null;
25036
+ route: string | null;
25037
+ screen_id: string | null;
25038
+ station_id: string | null;
25039
+ status_id: string | null;
25040
+ updated_at: string;
25041
+ warnings: Json;
25042
+ };
25043
+ SetofOptions: {
25044
+ from: "*";
25045
+ to: "pick_queue";
25046
+ isOneToOne: true;
25047
+ isSetofReturn: false;
25048
+ };
25049
+ };
23459
25050
  pick_order_context: {
23460
25051
  Args: {
23461
25052
  _order_id?: string;
@@ -23476,6 +25067,12 @@ export type Database = {
23476
25067
  };
23477
25068
  Returns: Json;
23478
25069
  };
25070
+ pick_print_jobs_status: {
25071
+ Args: {
25072
+ _job_ids: string[];
25073
+ };
25074
+ Returns: Json[];
25075
+ };
23479
25076
  pick_print_plekken: {
23480
25077
  Args: never;
23481
25078
  Returns: {
@@ -23484,6 +25081,12 @@ export type Database = {
23484
25081
  omschrijving: string;
23485
25082
  }[];
23486
25083
  };
25084
+ pick_queue_cart_plan: {
25085
+ Args: {
25086
+ _queue_item_id: string;
25087
+ };
25088
+ Returns: Json;
25089
+ };
23487
25090
  pick_reference_data_status: {
23488
25091
  Args: never;
23489
25092
  Returns: Json;
@@ -23498,6 +25101,19 @@ export type Database = {
23498
25101
  };
23499
25102
  Returns: undefined;
23500
25103
  };
25104
+ pick_report_missing_cart_plan: {
25105
+ Args: never;
25106
+ Returns: Json;
25107
+ };
25108
+ pick_reprint_cart: {
25109
+ Args: {
25110
+ _cart_id: string;
25111
+ _queue_item_id: string;
25112
+ _session_id: string;
25113
+ _throttle_seconds?: number;
25114
+ };
25115
+ Returns: string;
25116
+ };
23501
25117
  pick_reprint_document: {
23502
25118
  Args: {
23503
25119
  _queue_item_id: string;
@@ -23600,6 +25216,151 @@ export type Database = {
23600
25216
  isSetofReturn: false;
23601
25217
  };
23602
25218
  };
25219
+ pick_reset_print_job: {
25220
+ Args: {
25221
+ _cart_id: string;
25222
+ _job_id: string;
25223
+ _queue_item_id: string;
25224
+ _session_id: string;
25225
+ };
25226
+ Returns: {
25227
+ announced_at: string;
25228
+ assigned_user_id: string | null;
25229
+ barcode: string | null;
25230
+ cancelled_at: string | null;
25231
+ cart_count: number;
25232
+ completed_at: string | null;
25233
+ country_code: string | null;
25234
+ created_at: string;
25235
+ customer_name: string | null;
25236
+ delivery_address: string | null;
25237
+ document_number: string | null;
25238
+ document_type_id: string | null;
25239
+ due_at: string | null;
25240
+ id: string;
25241
+ is_urgent: boolean;
25242
+ line_count: number;
25243
+ order_number: string | null;
25244
+ order_type: string | null;
25245
+ payload: Json;
25246
+ print_count: number;
25247
+ print_job_id: string | null;
25248
+ printed_at: string | null;
25249
+ printed_by: string | null;
25250
+ printed_cart_ids: Json;
25251
+ printer_id: string | null;
25252
+ priority: number;
25253
+ reference: string | null;
25254
+ route: string | null;
25255
+ screen_id: string | null;
25256
+ station_id: string | null;
25257
+ status_id: string | null;
25258
+ updated_at: string;
25259
+ warnings: Json;
25260
+ };
25261
+ SetofOptions: {
25262
+ from: "*";
25263
+ to: "pick_queue";
25264
+ isOneToOne: true;
25265
+ isSetofReturn: false;
25266
+ };
25267
+ };
25268
+ pick_reset_print_jobs: {
25269
+ Args: {
25270
+ _cart_ids: string[];
25271
+ _job_ids: string[];
25272
+ _queue_item_id: string;
25273
+ _session_id: string;
25274
+ };
25275
+ Returns: {
25276
+ announced_at: string;
25277
+ assigned_user_id: string | null;
25278
+ barcode: string | null;
25279
+ cancelled_at: string | null;
25280
+ cart_count: number;
25281
+ completed_at: string | null;
25282
+ country_code: string | null;
25283
+ created_at: string;
25284
+ customer_name: string | null;
25285
+ delivery_address: string | null;
25286
+ document_number: string | null;
25287
+ document_type_id: string | null;
25288
+ due_at: string | null;
25289
+ id: string;
25290
+ is_urgent: boolean;
25291
+ line_count: number;
25292
+ order_number: string | null;
25293
+ order_type: string | null;
25294
+ payload: Json;
25295
+ print_count: number;
25296
+ print_job_id: string | null;
25297
+ printed_at: string | null;
25298
+ printed_by: string | null;
25299
+ printed_cart_ids: Json;
25300
+ printer_id: string | null;
25301
+ priority: number;
25302
+ reference: string | null;
25303
+ route: string | null;
25304
+ screen_id: string | null;
25305
+ station_id: string | null;
25306
+ status_id: string | null;
25307
+ updated_at: string;
25308
+ warnings: Json;
25309
+ };
25310
+ SetofOptions: {
25311
+ from: "*";
25312
+ to: "pick_queue";
25313
+ isOneToOne: true;
25314
+ isSetofReturn: false;
25315
+ };
25316
+ };
25317
+ pick_restore_to_queue: {
25318
+ Args: {
25319
+ _queue_item_id: string;
25320
+ _session_id: string;
25321
+ };
25322
+ Returns: {
25323
+ announced_at: string;
25324
+ assigned_user_id: string | null;
25325
+ barcode: string | null;
25326
+ cancelled_at: string | null;
25327
+ cart_count: number;
25328
+ completed_at: string | null;
25329
+ country_code: string | null;
25330
+ created_at: string;
25331
+ customer_name: string | null;
25332
+ delivery_address: string | null;
25333
+ document_number: string | null;
25334
+ document_type_id: string | null;
25335
+ due_at: string | null;
25336
+ id: string;
25337
+ is_urgent: boolean;
25338
+ line_count: number;
25339
+ order_number: string | null;
25340
+ order_type: string | null;
25341
+ payload: Json;
25342
+ print_count: number;
25343
+ print_job_id: string | null;
25344
+ printed_at: string | null;
25345
+ printed_by: string | null;
25346
+ printed_cart_ids: Json;
25347
+ printer_id: string | null;
25348
+ priority: number;
25349
+ reference: string | null;
25350
+ route: string | null;
25351
+ screen_id: string | null;
25352
+ station_id: string | null;
25353
+ status_id: string | null;
25354
+ updated_at: string;
25355
+ warnings: Json;
25356
+ };
25357
+ SetofOptions: {
25358
+ from: "*";
25359
+ to: "pick_queue";
25360
+ isOneToOne: true;
25361
+ isSetofReturn: false;
25362
+ };
25363
+ };
23603
25364
  pick_seed_reference_data: {
23604
25365
  Args: never;
23605
25366
  Returns: Json;
@@ -23649,6 +25410,12 @@ export type Database = {
23649
25410
  };
23650
25411
  Returns: string;
23651
25412
  };
25413
+ pick_sync_pick_day: {
25414
+ Args: {
25415
+ _day: string;
25416
+ };
25417
+ Returns: Json;
25418
+ };
23652
25419
  pick_sync_queue_throttled: {
23653
25420
  Args: {
23654
25421
  _min_seconds?: number;
@@ -23878,6 +25645,20 @@ export type Database = {
23878
25645
  };
23879
25646
  Returns: boolean;
23880
25647
  };
25648
+ release_local_pdf_job: {
25649
+ Args: {
25650
+ _job_id: string;
25651
+ _writer_id: string;
25652
+ };
25653
+ Returns: boolean;
25654
+ };
25655
+ release_print_queue_lease: {
25656
+ Args: {
25657
+ _houder: string;
25658
+ _naam: string;
25659
+ };
25660
+ Returns: boolean;
25661
+ };
23881
25662
  release_stale_order_invoice_links: {
23882
25663
  Args: {
23883
25664
  _minutes?: number;
@@ -23898,6 +25679,12 @@ export type Database = {
23898
25679
  };
23899
25680
  Returns: Json;
23900
25681
  };
25682
+ reset_cart_layer_positions: {
25683
+ Args: {
25684
+ p_cart_id: string;
25685
+ };
25686
+ Returns: number;
25687
+ };
23901
25688
  reset_floriday_sync_cursor: {
23902
25689
  Args: {
23903
25690
  p_connection_id: string;
@@ -23961,6 +25748,15 @@ export type Database = {
23961
25748
  };
23962
25749
  Returns: Json;
23963
25750
  };
25751
+ roles_without_enum_mapping: {
25752
+ Args: never;
25753
+ Returns: {
25754
+ assignment_count: number;
25755
+ id: string;
25756
+ key: string;
25757
+ name: string;
25758
+ }[];
25759
+ };
23964
25760
  ruim_print_jobs_op: {
23965
25761
  Args: {
23966
25762
  _bewaar_dagen?: number;
@@ -23975,6 +25771,10 @@ export type Database = {
23975
25771
  Args: never;
23976
25772
  Returns: undefined;
23977
25773
  };
25774
+ run_floriday_stock_reconcile: {
25775
+ Args: never;
25776
+ Returns: undefined;
25777
+ };
23978
25778
  run_logistics_tasks_dispatch: {
23979
25779
  Args: never;
23980
25780
  Returns: undefined;
@@ -23993,18 +25793,98 @@ export type Database = {
23993
25793
  };
23994
25794
  Returns: Json;
23995
25795
  };
25796
+ scan_complete_cart: {
25797
+ Args: {
25798
+ p_allow_reprint?: boolean;
25799
+ p_cart_id: string;
25800
+ p_print?: boolean;
25801
+ p_scanner_id?: string;
25802
+ };
25803
+ Returns: Json;
25804
+ };
23996
25805
  scan_dashboard_stats: {
23997
25806
  Args: {
23998
25807
  p_dagen?: number;
23999
25808
  };
24000
25809
  Returns: Json;
24001
25810
  };
25811
+ scan_eindcontrole: {
25812
+ Args: {
25813
+ p_barcode: string;
25814
+ p_scanner_id?: string;
25815
+ };
25816
+ Returns: Json;
25817
+ };
24002
25818
  scan_finish_kar: {
24003
25819
  Args: {
24004
25820
  p_kar_id: string;
24005
25821
  };
24006
25822
  Returns: Json;
24007
25823
  };
25824
+ scan_kar_compleet: {
25825
+ Args: {
25826
+ p_allow_reprint?: boolean;
25827
+ p_sessie_id: string;
25828
+ };
25829
+ Returns: Json;
25830
+ };
25831
+ scan_kar_regels: {
25832
+ Args: {
25833
+ p_cart_id: string;
25834
+ };
25835
+ Returns: Json;
25836
+ };
25837
+ scan_log_code: {
25838
+ Args: {
25839
+ p_code: string;
25840
+ p_latency_ms?: number;
25841
+ p_message?: string;
25842
+ p_result: string;
25843
+ p_scanner_key?: string;
25844
+ };
25845
+ Returns: string;
25846
+ };
25847
+ scan_open_pakbonnen: {
25848
+ Args: {
25849
+ p_dagen?: number;
25850
+ };
25851
+ Returns: Json;
25852
+ };
25853
+ scan_pakbon_lookup: {
25854
+ Args: {
25855
+ p_barcode: string;
25856
+ };
25857
+ Returns: Json;
25858
+ };
25859
+ scan_pakbon_opnieuw: {
25860
+ Args: {
25861
+ p_barcode: string;
25862
+ p_scanner_id?: string;
25863
+ };
25864
+ Returns: Json;
25865
+ };
25866
+ scan_pakbon_toevoegen: {
25867
+ Args: {
25868
+ p_barcode: string;
25869
+ p_medewerker?: string;
25870
+ p_regels?: Json;
25871
+ p_scanner_id: string;
25872
+ };
25873
+ Returns: Json;
25874
+ };
25875
+ scan_print_restpakbon: {
25876
+ Args: {
25877
+ p_printer_id?: string;
25878
+ p_restpakbon_id: string;
25879
+ };
25880
+ Returns: Json;
25881
+ };
25882
+ scan_print_verzendbrief: {
25883
+ Args: {
25884
+ p_sessie_id: string;
25885
+ };
25886
+ Returns: Json;
25887
+ };
24008
25888
  scan_register_item: {
24009
25889
  Args: {
24010
25890
  p_kar_id: string;
@@ -24023,6 +25903,25 @@ export type Database = {
24023
25903
  };
24024
25904
  Returns: Json;
24025
25905
  };
25906
+ scan_restpakbon_geprint: {
25907
+ Args: {
25908
+ p_id: string;
25909
+ p_print_job_id?: string;
25910
+ };
25911
+ Returns: undefined;
25912
+ };
25913
+ scan_sessie_annuleren: {
25914
+ Args: {
25915
+ p_sessie_id: string;
25916
+ };
25917
+ Returns: undefined;
25918
+ };
25919
+ scan_sessie_open: {
25920
+ Args: {
25921
+ p_scanner_id: string;
25922
+ };
25923
+ Returns: Json;
25924
+ };
24026
25925
  scan_start_kar: {
24027
25926
  Args: {
24028
25927
  p_medewerker_id?: string;
@@ -24041,6 +25940,12 @@ export type Database = {
24041
25940
  };
24042
25941
  Returns: Json;
24043
25942
  };
25943
+ scan_verzendbrief_regels: {
25944
+ Args: {
25945
+ p_sessie_id: string;
25946
+ };
25947
+ Returns: Json;
25948
+ };
24044
25949
  schedule_floriday_additional_services_sync: {
24045
25950
  Args: {
24046
25951
  p_apikey: string;
@@ -24356,6 +26261,13 @@ export type Database = {
24356
26261
  };
24357
26262
  Returns: Json;
24358
26263
  };
26264
+ swap_cart_layer_positions: {
26265
+ Args: {
26266
+ p_a: string;
26267
+ p_b: string;
26268
+ };
26269
+ Returns: undefined;
26270
+ };
24359
26271
  switch_time_log: {
24360
26272
  Args: {
24361
26273
  p_employee_id: string;
@@ -24388,6 +26300,12 @@ export type Database = {
24388
26300
  };
24389
26301
  Returns: undefined;
24390
26302
  };
26303
+ sync_order_item_fusten: {
26304
+ Args: {
26305
+ _order_item_id: string;
26306
+ };
26307
+ Returns: undefined;
26308
+ };
24391
26309
  sync_product_group_belading: {
24392
26310
  Args: {
24393
26311
  _group_id: string;
@@ -24494,6 +26412,12 @@ export type Database = {
24494
26412
  Args: never;
24495
26413
  Returns: string;
24496
26414
  };
26415
+ wake_print_queue: {
26416
+ Args: {
26417
+ _min_interval_ms?: number;
26418
+ };
26419
+ Returns: number;
26420
+ };
24497
26421
  werkbon_totalen: {
24498
26422
  Args: {
24499
26423
  _werkbon_id: string;
@@ -24526,10 +26450,18 @@ export type Database = {
24526
26450
  };
24527
26451
  Returns: Json;
24528
26452
  };
26453
+ wo_set_status: {
26454
+ Args: {
26455
+ _reason?: string;
26456
+ _status: string;
26457
+ _work_order_id: string;
26458
+ };
26459
+ Returns: Json;
26460
+ };
24529
26461
  };
24530
26462
  Enums: {
24531
26463
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
24532
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26464
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
24533
26465
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
24534
26466
  doc_orientation: "portrait" | "landscape";
24535
26467
  exact_env: "staging" | "live";
@@ -24600,7 +26532,7 @@ export declare const Constants: {
24600
26532
  readonly public: {
24601
26533
  readonly Enums: {
24602
26534
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
24603
- readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie"];
26535
+ readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
24604
26536
  readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
24605
26537
  readonly doc_orientation: readonly ["portrait", "landscape"];
24606
26538
  readonly exact_env: readonly ["staging", "live"];