@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
@@ -692,6 +692,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
692
692
  raw: import("./types.js").Json;
693
693
  updated_at: string;
694
694
  valuta: string;
695
+ velden: import("./types.js").Json;
695
696
  };
696
697
  Insert: {
697
698
  artikelcode: string;
@@ -709,6 +710,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
709
710
  raw?: import("./types.js").Json;
710
711
  updated_at?: string;
711
712
  valuta?: string;
713
+ velden?: import("./types.js").Json;
712
714
  };
713
715
  Update: {
714
716
  artikelcode?: string;
@@ -726,6 +728,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
726
728
  raw?: import("./types.js").Json;
727
729
  updated_at?: string;
728
730
  valuta?: string;
731
+ velden?: import("./types.js").Json;
729
732
  };
730
733
  Relationships: [];
731
734
  };
@@ -1420,8 +1423,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
1420
1423
  Row: {
1421
1424
  assigned_at: string;
1422
1425
  cart_index: number;
1423
- cart_number: string;
1424
- day_seq: number;
1426
+ cart_number: string | null;
1427
+ day_seq: number | null;
1428
+ delivered_at: string | null;
1425
1429
  id: string;
1426
1430
  order_id: string;
1427
1431
  order_source: string;
@@ -1431,8 +1435,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
1431
1435
  Insert: {
1432
1436
  assigned_at?: string;
1433
1437
  cart_index: number;
1434
- cart_number: string;
1435
- day_seq: number;
1438
+ cart_number?: string | null;
1439
+ day_seq?: number | null;
1440
+ delivered_at?: string | null;
1436
1441
  id?: string;
1437
1442
  order_id: string;
1438
1443
  order_source: string;
@@ -1442,8 +1447,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
1442
1447
  Update: {
1443
1448
  assigned_at?: string;
1444
1449
  cart_index?: number;
1445
- cart_number?: string;
1446
- day_seq?: number;
1450
+ cart_number?: string | null;
1451
+ day_seq?: number | null;
1452
+ delivered_at?: string | null;
1447
1453
  id?: string;
1448
1454
  order_id?: string;
1449
1455
  order_source?: string;
@@ -1544,6 +1550,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
1544
1550
  updated_at?: string;
1545
1551
  };
1546
1552
  Relationships: [{
1553
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1554
+ columns: ["product_id"];
1555
+ isOneToOne: true;
1556
+ referencedRelation: "logistics_product_dimensions";
1557
+ referencedColumns: ["product_id"];
1558
+ }, {
1547
1559
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1548
1560
  columns: ["product_id"];
1549
1561
  isOneToOne: true;
@@ -7071,6 +7083,51 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
7071
7083
  };
7072
7084
  Relationships: [];
7073
7085
  };
7086
+ floriday_status_sync_queue: {
7087
+ Row: {
7088
+ attempts: number;
7089
+ created_at: string;
7090
+ error: string | null;
7091
+ floriday_sales_order_id: string;
7092
+ order_id: string;
7093
+ processed_at: string | null;
7094
+ requested_at: string;
7095
+ state: string;
7096
+ target_status: string;
7097
+ updated_at: string;
7098
+ };
7099
+ Insert: {
7100
+ attempts?: number;
7101
+ created_at?: string;
7102
+ error?: string | null;
7103
+ floriday_sales_order_id: string;
7104
+ order_id: string;
7105
+ processed_at?: string | null;
7106
+ requested_at?: string;
7107
+ state?: string;
7108
+ target_status: string;
7109
+ updated_at?: string;
7110
+ };
7111
+ Update: {
7112
+ attempts?: number;
7113
+ created_at?: string;
7114
+ error?: string | null;
7115
+ floriday_sales_order_id?: string;
7116
+ order_id?: string;
7117
+ processed_at?: string | null;
7118
+ requested_at?: string;
7119
+ state?: string;
7120
+ target_status?: string;
7121
+ updated_at?: string;
7122
+ };
7123
+ Relationships: [{
7124
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7125
+ columns: ["order_id"];
7126
+ isOneToOne: true;
7127
+ referencedRelation: "orders";
7128
+ referencedColumns: ["id"];
7129
+ }];
7130
+ };
7074
7131
  floriday_sync_cursors: {
7075
7132
  Row: {
7076
7133
  connection_id: string;
@@ -8305,10 +8362,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8305
8362
  general_email: string | null;
8306
8363
  general_phone: string | null;
8307
8364
  id: string;
8365
+ kvk_number: string | null;
8308
8366
  legacy_customer_id: string | null;
8309
8367
  name: string;
8310
8368
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8311
8369
  updated_at: string;
8370
+ vat_number: string | null;
8312
8371
  };
8313
8372
  Insert: {
8314
8373
  billing_city?: string | null;
@@ -8319,10 +8378,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8319
8378
  general_email?: string | null;
8320
8379
  general_phone?: string | null;
8321
8380
  id?: string;
8381
+ kvk_number?: string | null;
8322
8382
  legacy_customer_id?: string | null;
8323
8383
  name: string;
8324
8384
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8325
8385
  updated_at?: string;
8386
+ vat_number?: string | null;
8326
8387
  };
8327
8388
  Update: {
8328
8389
  billing_city?: string | null;
@@ -8333,10 +8394,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8333
8394
  general_email?: string | null;
8334
8395
  general_phone?: string | null;
8335
8396
  id?: string;
8397
+ kvk_number?: string | null;
8336
8398
  legacy_customer_id?: string | null;
8337
8399
  name?: string;
8338
8400
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8339
8401
  updated_at?: string;
8402
+ vat_number?: string | null;
8340
8403
  };
8341
8404
  Relationships: [];
8342
8405
  };
@@ -8370,6 +8433,117 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8370
8433
  };
8371
8434
  Relationships: [];
8372
8435
  };
8436
+ itk_handover_github_scan: {
8437
+ Row: {
8438
+ gescand_op: string;
8439
+ gevonden: boolean;
8440
+ melding: string | null;
8441
+ module_id: string | null;
8442
+ repo: string;
8443
+ };
8444
+ Insert: {
8445
+ gescand_op?: string;
8446
+ gevonden?: boolean;
8447
+ melding?: string | null;
8448
+ module_id?: string | null;
8449
+ repo: string;
8450
+ };
8451
+ Update: {
8452
+ gescand_op?: string;
8453
+ gevonden?: boolean;
8454
+ melding?: string | null;
8455
+ module_id?: string | null;
8456
+ repo?: string;
8457
+ };
8458
+ Relationships: [];
8459
+ };
8460
+ itk_handover_module_meta: {
8461
+ Row: {
8462
+ check_aangevraagd_op: string | null;
8463
+ check_nodig: boolean;
8464
+ check_reden: string | null;
8465
+ created_at: string;
8466
+ module_id: string;
8467
+ project_url: string | null;
8468
+ publicatie_url: string | null;
8469
+ updated_at: string;
8470
+ };
8471
+ Insert: {
8472
+ check_aangevraagd_op?: string | null;
8473
+ check_nodig?: boolean;
8474
+ check_reden?: string | null;
8475
+ created_at?: string;
8476
+ module_id: string;
8477
+ project_url?: string | null;
8478
+ publicatie_url?: string | null;
8479
+ updated_at?: string;
8480
+ };
8481
+ Update: {
8482
+ check_aangevraagd_op?: string | null;
8483
+ check_nodig?: boolean;
8484
+ check_reden?: string | null;
8485
+ created_at?: string;
8486
+ module_id?: string;
8487
+ project_url?: string | null;
8488
+ publicatie_url?: string | null;
8489
+ updated_at?: string;
8490
+ };
8491
+ Relationships: [];
8492
+ };
8493
+ itk_handover_project_modules: {
8494
+ Row: {
8495
+ created_at: string;
8496
+ id: string;
8497
+ module_id: string;
8498
+ project_id: string;
8499
+ updated_at: string;
8500
+ };
8501
+ Insert: {
8502
+ created_at?: string;
8503
+ id?: string;
8504
+ module_id: string;
8505
+ project_id: string;
8506
+ updated_at?: string;
8507
+ };
8508
+ Update: {
8509
+ created_at?: string;
8510
+ id?: string;
8511
+ module_id?: string;
8512
+ project_id?: string;
8513
+ updated_at?: string;
8514
+ };
8515
+ Relationships: [{
8516
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8517
+ columns: ["project_id"];
8518
+ isOneToOne: false;
8519
+ referencedRelation: "itk_handover_projecten";
8520
+ referencedColumns: ["id"];
8521
+ }];
8522
+ };
8523
+ itk_handover_projecten: {
8524
+ Row: {
8525
+ created_at: string;
8526
+ id: string;
8527
+ naam: string;
8528
+ omschrijving: string | null;
8529
+ updated_at: string;
8530
+ };
8531
+ Insert: {
8532
+ created_at?: string;
8533
+ id?: string;
8534
+ naam: string;
8535
+ omschrijving?: string | null;
8536
+ updated_at?: string;
8537
+ };
8538
+ Update: {
8539
+ created_at?: string;
8540
+ id?: string;
8541
+ naam?: string;
8542
+ omschrijving?: string | null;
8543
+ updated_at?: string;
8544
+ };
8545
+ Relationships: [];
8546
+ };
8373
8547
  itk_handover_rechten: {
8374
8548
  Row: {
8375
8549
  created_at: string;
@@ -8397,42 +8571,33 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8397
8571
  };
8398
8572
  Relationships: [];
8399
8573
  };
8400
- itk_handover_tokens: {
8574
+ itk_module_fingerprints: {
8401
8575
  Row: {
8402
- aangemaakt_door: string | null;
8403
8576
  created_at: string;
8577
+ gemaakt_op: string;
8578
+ hash: string;
8404
8579
  id: string;
8405
- is_actief: boolean;
8406
- laatst_gebruikt_op: string | null;
8407
- label: string;
8408
8580
  module_id: string;
8409
- token_hash: string;
8581
+ payload: import("./types.js").Json;
8410
8582
  updated_at: string;
8411
- verloopt_op: string | null;
8412
8583
  };
8413
8584
  Insert: {
8414
- aangemaakt_door?: string | null;
8415
8585
  created_at?: string;
8586
+ gemaakt_op?: string;
8587
+ hash: string;
8416
8588
  id?: string;
8417
- is_actief?: boolean;
8418
- laatst_gebruikt_op?: string | null;
8419
- label?: string;
8420
8589
  module_id: string;
8421
- token_hash: string;
8590
+ payload?: import("./types.js").Json;
8422
8591
  updated_at?: string;
8423
- verloopt_op?: string | null;
8424
8592
  };
8425
8593
  Update: {
8426
- aangemaakt_door?: string | null;
8427
8594
  created_at?: string;
8595
+ gemaakt_op?: string;
8596
+ hash?: string;
8428
8597
  id?: string;
8429
- is_actief?: boolean;
8430
- laatst_gebruikt_op?: string | null;
8431
- label?: string;
8432
8598
  module_id?: string;
8433
- token_hash?: string;
8599
+ payload?: import("./types.js").Json;
8434
8600
  updated_at?: string;
8435
- verloopt_op?: string | null;
8436
8601
  };
8437
8602
  Relationships: [];
8438
8603
  };
@@ -8440,6 +8605,11 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8440
8605
  Row: {
8441
8606
  bevindingen: string | null;
8442
8607
  bezit_tabellen: string[];
8608
+ bron_commit: string | null;
8609
+ bron_pad: string | null;
8610
+ bron_repo: string | null;
8611
+ bron_soort: string | null;
8612
+ bron_versie: string | null;
8443
8613
  conflicten_snapshot: import("./types.js").Json;
8444
8614
  contractfuncties: string[];
8445
8615
  created_at: string;
@@ -8450,6 +8620,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8450
8620
  id: string;
8451
8621
  inhoud_md: string;
8452
8622
  is_actueel: boolean;
8623
+ is_gearchiveerd: boolean;
8624
+ laatst_gecontroleerd_op: string | null;
8453
8625
  module_id: string;
8454
8626
  module_titel: string;
8455
8627
  ontbrekende_contracten: string[];
@@ -8460,6 +8632,11 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8460
8632
  Insert: {
8461
8633
  bevindingen?: string | null;
8462
8634
  bezit_tabellen?: string[];
8635
+ bron_commit?: string | null;
8636
+ bron_pad?: string | null;
8637
+ bron_repo?: string | null;
8638
+ bron_soort?: string | null;
8639
+ bron_versie?: string | null;
8463
8640
  conflicten_snapshot?: import("./types.js").Json;
8464
8641
  contractfuncties?: string[];
8465
8642
  created_at?: string;
@@ -8470,6 +8647,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8470
8647
  id?: string;
8471
8648
  inhoud_md: string;
8472
8649
  is_actueel?: boolean;
8650
+ is_gearchiveerd?: boolean;
8651
+ laatst_gecontroleerd_op?: string | null;
8473
8652
  module_id: string;
8474
8653
  module_titel: string;
8475
8654
  ontbrekende_contracten?: string[];
@@ -8480,6 +8659,11 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8480
8659
  Update: {
8481
8660
  bevindingen?: string | null;
8482
8661
  bezit_tabellen?: string[];
8662
+ bron_commit?: string | null;
8663
+ bron_pad?: string | null;
8664
+ bron_repo?: string | null;
8665
+ bron_soort?: string | null;
8666
+ bron_versie?: string | null;
8483
8667
  conflicten_snapshot?: import("./types.js").Json;
8484
8668
  contractfuncties?: string[];
8485
8669
  created_at?: string;
@@ -8490,6 +8674,8 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8490
8674
  id?: string;
8491
8675
  inhoud_md?: string;
8492
8676
  is_actueel?: boolean;
8677
+ is_gearchiveerd?: boolean;
8678
+ laatst_gecontroleerd_op?: string | null;
8493
8679
  module_id?: string;
8494
8680
  module_titel?: string;
8495
8681
  ontbrekende_contracten?: string[];
@@ -8544,6 +8730,39 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8544
8730
  };
8545
8731
  Relationships: [];
8546
8732
  };
8733
+ itk_module_wijzigingen: {
8734
+ Row: {
8735
+ created_at: string;
8736
+ geconstateerd_op: string;
8737
+ id: string;
8738
+ module_id: string;
8739
+ omschrijving: string;
8740
+ soort: string;
8741
+ updated_at: string;
8742
+ was_na_publicatie: boolean;
8743
+ };
8744
+ Insert: {
8745
+ created_at?: string;
8746
+ geconstateerd_op?: string;
8747
+ id?: string;
8748
+ module_id: string;
8749
+ omschrijving: string;
8750
+ soort: string;
8751
+ updated_at?: string;
8752
+ was_na_publicatie?: boolean;
8753
+ };
8754
+ Update: {
8755
+ created_at?: string;
8756
+ geconstateerd_op?: string;
8757
+ id?: string;
8758
+ module_id?: string;
8759
+ omschrijving?: string;
8760
+ soort?: string;
8761
+ updated_at?: string;
8762
+ was_na_publicatie?: boolean;
8763
+ };
8764
+ Relationships: [];
8765
+ };
8547
8766
  itk_offerte_events: {
8548
8767
  Row: {
8549
8768
  created_at: string;
@@ -8782,12 +9001,24 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
8782
9001
  isOneToOne: false;
8783
9002
  referencedRelation: "werkbonnen";
8784
9003
  referencedColumns: ["id"];
9004
+ }, {
9005
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9006
+ columns: ["follow_up_werkbon_id"];
9007
+ isOneToOne: false;
9008
+ referencedRelation: "wo_overview";
9009
+ referencedColumns: ["id"];
8785
9010
  }, {
8786
9011
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8787
9012
  columns: ["werkbon_id"];
8788
9013
  isOneToOne: false;
8789
9014
  referencedRelation: "werkbonnen";
8790
9015
  referencedColumns: ["id"];
9016
+ }, {
9017
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9018
+ columns: ["werkbon_id"];
9019
+ isOneToOne: false;
9020
+ referencedRelation: "wo_overview";
9021
+ referencedColumns: ["id"];
8791
9022
  }, {
8792
9023
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8793
9024
  columns: ["work_location_id"];
@@ -9088,6 +9319,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9088
9319
  isOneToOne: false;
9089
9320
  referencedRelation: "product_categories";
9090
9321
  referencedColumns: ["id"];
9322
+ }, {
9323
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9324
+ columns: ["product_id"];
9325
+ isOneToOne: false;
9326
+ referencedRelation: "logistics_product_dimensions";
9327
+ referencedColumns: ["product_id"];
9091
9328
  }, {
9092
9329
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9093
9330
  columns: ["product_id"];
@@ -9154,6 +9391,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9154
9391
  isOneToOne: false;
9155
9392
  referencedRelation: "product_categories";
9156
9393
  referencedColumns: ["id"];
9394
+ }, {
9395
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9396
+ columns: ["product_id"];
9397
+ isOneToOne: false;
9398
+ referencedRelation: "logistics_product_dimensions";
9399
+ referencedColumns: ["product_id"];
9157
9400
  }, {
9158
9401
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9159
9402
  columns: ["product_id"];
@@ -9220,6 +9463,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9220
9463
  isOneToOne: false;
9221
9464
  referencedRelation: "product_categories";
9222
9465
  referencedColumns: ["id"];
9466
+ }, {
9467
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9468
+ columns: ["product_id"];
9469
+ isOneToOne: false;
9470
+ referencedRelation: "logistics_product_dimensions";
9471
+ referencedColumns: ["product_id"];
9223
9472
  }, {
9224
9473
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9225
9474
  columns: ["product_id"];
@@ -9423,6 +9672,75 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9423
9672
  };
9424
9673
  Relationships: [];
9425
9674
  };
9675
+ logistics_control_scan: {
9676
+ Row: {
9677
+ approved_at: string | null;
9678
+ attempts: number;
9679
+ barcode: string;
9680
+ cart_id: string;
9681
+ created_at: string;
9682
+ document_url: string | null;
9683
+ error: string | null;
9684
+ error_code: string | null;
9685
+ fulfillment_order_id: string | null;
9686
+ id: string;
9687
+ is_floriday: boolean;
9688
+ locked_until: string | null;
9689
+ order_id: string | null;
9690
+ order_number: string | null;
9691
+ print_job_id: string | null;
9692
+ printed_at: string | null;
9693
+ printer_id: string | null;
9694
+ scanner_id: string | null;
9695
+ status: string;
9696
+ updated_at: string;
9697
+ };
9698
+ Insert: {
9699
+ approved_at?: string | null;
9700
+ attempts?: number;
9701
+ barcode: string;
9702
+ cart_id: string;
9703
+ created_at?: string;
9704
+ document_url?: string | null;
9705
+ error?: string | null;
9706
+ error_code?: string | null;
9707
+ fulfillment_order_id?: string | null;
9708
+ id?: string;
9709
+ is_floriday?: boolean;
9710
+ locked_until?: string | null;
9711
+ order_id?: string | null;
9712
+ order_number?: string | null;
9713
+ print_job_id?: string | null;
9714
+ printed_at?: string | null;
9715
+ printer_id?: string | null;
9716
+ scanner_id?: string | null;
9717
+ status?: string;
9718
+ updated_at?: string;
9719
+ };
9720
+ Update: {
9721
+ approved_at?: string | null;
9722
+ attempts?: number;
9723
+ barcode?: string;
9724
+ cart_id?: string;
9725
+ created_at?: string;
9726
+ document_url?: string | null;
9727
+ error?: string | null;
9728
+ error_code?: string | null;
9729
+ fulfillment_order_id?: string | null;
9730
+ id?: string;
9731
+ is_floriday?: boolean;
9732
+ locked_until?: string | null;
9733
+ order_id?: string | null;
9734
+ order_number?: string | null;
9735
+ print_job_id?: string | null;
9736
+ printed_at?: string | null;
9737
+ printer_id?: string | null;
9738
+ scanner_id?: string | null;
9739
+ status?: string;
9740
+ updated_at?: string;
9741
+ };
9742
+ Relationships: [];
9743
+ };
9426
9744
  logistics_decisions: {
9427
9745
  Row: {
9428
9746
  created_at: string;
@@ -9708,6 +10026,24 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9708
10026
  };
9709
10027
  Relationships: [];
9710
10028
  };
10029
+ logistics_floriday_carrier_map: {
10030
+ Row: {
10031
+ carrier_code: string;
10032
+ created_at: string;
10033
+ floriday_code: string;
10034
+ };
10035
+ Insert: {
10036
+ carrier_code: string;
10037
+ created_at?: string;
10038
+ floriday_code: string;
10039
+ };
10040
+ Update: {
10041
+ carrier_code?: string;
10042
+ created_at?: string;
10043
+ floriday_code?: string;
10044
+ };
10045
+ Relationships: [];
10046
+ };
9711
10047
  logistics_floriday_pushes: {
9712
10048
  Row: {
9713
10049
  attempts: number;
@@ -9825,20 +10161,50 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
9825
10161
  referencedColumns: ["id"];
9826
10162
  }];
9827
10163
  };
9828
- logistics_pickup_moments: {
10164
+ logistics_layer_override_log: {
9829
10165
  Row: {
9830
- carrier_ref: string | null;
10166
+ cart_id: string;
9831
10167
  created_at: string;
10168
+ details: import("./types.js").Json;
9832
10169
  id: string;
9833
- label: string | null;
9834
- moment_date: string;
9835
- pickup_time: string;
9836
- sequence: number;
9837
- updated_at: string;
9838
- user_id: string;
10170
+ keg_id: string | null;
10171
+ product_id: string | null;
10172
+ reason: string;
9839
10173
  };
9840
10174
  Insert: {
9841
- carrier_ref?: string | null;
10175
+ cart_id: string;
10176
+ created_at?: string;
10177
+ details?: import("./types.js").Json;
10178
+ id?: string;
10179
+ keg_id?: string | null;
10180
+ product_id?: string | null;
10181
+ reason: string;
10182
+ };
10183
+ Update: {
10184
+ cart_id?: string;
10185
+ created_at?: string;
10186
+ details?: import("./types.js").Json;
10187
+ id?: string;
10188
+ keg_id?: string | null;
10189
+ product_id?: string | null;
10190
+ reason?: string;
10191
+ };
10192
+ Relationships: [];
10193
+ };
10194
+ logistics_pickup_moments: {
10195
+ Row: {
10196
+ carrier_ref: string | null;
10197
+ created_at: string;
10198
+ id: string;
10199
+ label: string | null;
10200
+ moment_date: string;
10201
+ pickup_time: string;
10202
+ sequence: number;
10203
+ updated_at: string;
10204
+ user_id: string;
10205
+ };
10206
+ Insert: {
10207
+ carrier_ref?: string | null;
9842
10208
  created_at?: string;
9843
10209
  id?: string;
9844
10210
  label?: string | null;
@@ -11030,6 +11396,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
11030
11396
  updated_at?: string;
11031
11397
  };
11032
11398
  Relationships: [{
11399
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11400
+ columns: ["product_id"];
11401
+ isOneToOne: false;
11402
+ referencedRelation: "logistics_product_dimensions";
11403
+ referencedColumns: ["product_id"];
11404
+ }, {
11033
11405
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11034
11406
  columns: ["product_id"];
11035
11407
  isOneToOne: false;
@@ -12442,6 +12814,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12442
12814
  isOneToOne: false;
12443
12815
  referencedRelation: "order_items";
12444
12816
  referencedColumns: ["id"];
12817
+ }, {
12818
+ foreignKeyName: "order_cart_items_product_id_fkey";
12819
+ columns: ["product_id"];
12820
+ isOneToOne: false;
12821
+ referencedRelation: "logistics_product_dimensions";
12822
+ referencedColumns: ["product_id"];
12445
12823
  }, {
12446
12824
  foreignKeyName: "order_cart_items_product_id_fkey";
12447
12825
  columns: ["product_id"];
@@ -12450,6 +12828,93 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12450
12828
  referencedColumns: ["id"];
12451
12829
  }];
12452
12830
  };
12831
+ order_cart_layer_positions: {
12832
+ Row: {
12833
+ algorithm_version: number | null;
12834
+ cart_id: string;
12835
+ created_at: string;
12836
+ height: number;
12837
+ id: string;
12838
+ keg_id: string;
12839
+ label: string | null;
12840
+ layer: number;
12841
+ layer_height: number | null;
12842
+ layer_width: number | null;
12843
+ manual_overridden_at: string | null;
12844
+ manual_overridden_by: string | null;
12845
+ manual_override: boolean;
12846
+ order_item_id: string | null;
12847
+ original_layer: number | null;
12848
+ original_x: number | null;
12849
+ original_y: number | null;
12850
+ product_id: string | null;
12851
+ rotation: number;
12852
+ source: string | null;
12853
+ updated_at: string;
12854
+ width: number;
12855
+ x: number;
12856
+ y: number;
12857
+ };
12858
+ Insert: {
12859
+ algorithm_version?: number | null;
12860
+ cart_id: string;
12861
+ created_at?: string;
12862
+ height: number;
12863
+ id?: string;
12864
+ keg_id: string;
12865
+ label?: string | null;
12866
+ layer: number;
12867
+ layer_height?: number | null;
12868
+ layer_width?: number | null;
12869
+ manual_overridden_at?: string | null;
12870
+ manual_overridden_by?: string | null;
12871
+ manual_override?: boolean;
12872
+ order_item_id?: string | null;
12873
+ original_layer?: number | null;
12874
+ original_x?: number | null;
12875
+ original_y?: number | null;
12876
+ product_id?: string | null;
12877
+ rotation?: number;
12878
+ source?: string | null;
12879
+ updated_at?: string;
12880
+ width: number;
12881
+ x: number;
12882
+ y: number;
12883
+ };
12884
+ Update: {
12885
+ algorithm_version?: number | null;
12886
+ cart_id?: string;
12887
+ created_at?: string;
12888
+ height?: number;
12889
+ id?: string;
12890
+ keg_id?: string;
12891
+ label?: string | null;
12892
+ layer?: number;
12893
+ layer_height?: number | null;
12894
+ layer_width?: number | null;
12895
+ manual_overridden_at?: string | null;
12896
+ manual_overridden_by?: string | null;
12897
+ manual_override?: boolean;
12898
+ order_item_id?: string | null;
12899
+ original_layer?: number | null;
12900
+ original_x?: number | null;
12901
+ original_y?: number | null;
12902
+ product_id?: string | null;
12903
+ rotation?: number;
12904
+ source?: string | null;
12905
+ updated_at?: string;
12906
+ width?: number;
12907
+ x?: number;
12908
+ y?: number;
12909
+ };
12910
+ Relationships: [{
12911
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12912
+ columns: ["cart_id"];
12913
+ isOneToOne: false;
12914
+ referencedRelation: "order_carts";
12915
+ referencedColumns: ["id"];
12916
+ }];
12917
+ };
12453
12918
  order_carts: {
12454
12919
  Row: {
12455
12920
  algorithm_version: number;
@@ -12472,6 +12937,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12472
12937
  pickup_locked: boolean;
12473
12938
  pickup_moment_id: string | null;
12474
12939
  source: string;
12940
+ total_carts: number | null;
12475
12941
  total_layers_used: number;
12476
12942
  updated_at: string;
12477
12943
  weight_kg: number | null;
@@ -12497,6 +12963,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12497
12963
  pickup_locked?: boolean;
12498
12964
  pickup_moment_id?: string | null;
12499
12965
  source?: string;
12966
+ total_carts?: number | null;
12500
12967
  total_layers_used?: number;
12501
12968
  updated_at?: string;
12502
12969
  weight_kg?: number | null;
@@ -12522,6 +12989,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12522
12989
  pickup_locked?: boolean;
12523
12990
  pickup_moment_id?: string | null;
12524
12991
  source?: string;
12992
+ total_carts?: number | null;
12525
12993
  total_layers_used?: number;
12526
12994
  updated_at?: string;
12527
12995
  weight_kg?: number | null;
@@ -12624,6 +13092,39 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12624
13092
  };
12625
13093
  Relationships: [];
12626
13094
  };
13095
+ order_fust_bookings: {
13096
+ Row: {
13097
+ created_at: string;
13098
+ fust_type_id: string;
13099
+ id: string;
13100
+ order_item_id: string;
13101
+ quantity: number;
13102
+ updated_at: string;
13103
+ };
13104
+ Insert: {
13105
+ created_at?: string;
13106
+ fust_type_id: string;
13107
+ id?: string;
13108
+ order_item_id: string;
13109
+ quantity?: number;
13110
+ updated_at?: string;
13111
+ };
13112
+ Update: {
13113
+ created_at?: string;
13114
+ fust_type_id?: string;
13115
+ id?: string;
13116
+ order_item_id?: string;
13117
+ quantity?: number;
13118
+ updated_at?: string;
13119
+ };
13120
+ Relationships: [{
13121
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13122
+ columns: ["fust_type_id"];
13123
+ isOneToOne: false;
13124
+ referencedRelation: "fust_types";
13125
+ referencedColumns: ["id"];
13126
+ }];
13127
+ };
12627
13128
  order_invoice_links: {
12628
13129
  Row: {
12629
13130
  administration_code: string | null;
@@ -12712,6 +13213,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12712
13213
  isOneToOne: false;
12713
13214
  referencedRelation: "orders";
12714
13215
  referencedColumns: ["id"];
13216
+ }, {
13217
+ foreignKeyName: "order_items_product_id_fkey";
13218
+ columns: ["product_id"];
13219
+ isOneToOne: false;
13220
+ referencedRelation: "logistics_product_dimensions";
13221
+ referencedColumns: ["product_id"];
12715
13222
  }, {
12716
13223
  foreignKeyName: "order_items_product_id_fkey";
12717
13224
  columns: ["product_id"];
@@ -12859,6 +13366,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12859
13366
  plan_locked_at: string | null;
12860
13367
  plan_locked_ref: string | null;
12861
13368
  status: string;
13369
+ status_changed_at: string;
13370
+ status_origin: string;
13371
+ status_sync_token: string | null;
12862
13372
  total: string;
12863
13373
  updated_at: string;
12864
13374
  };
@@ -12883,6 +13393,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12883
13393
  plan_locked_at?: string | null;
12884
13394
  plan_locked_ref?: string | null;
12885
13395
  status?: string;
13396
+ status_changed_at?: string;
13397
+ status_origin?: string;
13398
+ status_sync_token?: string | null;
12886
13399
  total?: string;
12887
13400
  updated_at?: string;
12888
13401
  };
@@ -12907,6 +13420,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
12907
13420
  plan_locked_at?: string | null;
12908
13421
  plan_locked_ref?: string | null;
12909
13422
  status?: string;
13423
+ status_changed_at?: string;
13424
+ status_origin?: string;
13425
+ status_sync_token?: string | null;
12910
13426
  total?: string;
12911
13427
  updated_at?: string;
12912
13428
  };
@@ -13017,6 +13533,75 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
13017
13533
  };
13018
13534
  Relationships: [];
13019
13535
  };
13536
+ pakbon_barcode_verzoeken: {
13537
+ Row: {
13538
+ aangevraagd_op: string;
13539
+ barcode: string | null;
13540
+ cart_id: string | null;
13541
+ cart_index: number | null;
13542
+ cart_label: string | null;
13543
+ cart_total: number | null;
13544
+ documentnaam: string | null;
13545
+ geleverd_op: string | null;
13546
+ id: string;
13547
+ is_herprint: boolean;
13548
+ klant_naam: string | null;
13549
+ klant_nummer: string | null;
13550
+ laatst_gevraagd_op: string;
13551
+ layout_id: string | null;
13552
+ layout_variant: string | null;
13553
+ order_nummer: string | null;
13554
+ order_ref: string | null;
13555
+ print_job_id: string;
13556
+ status: string;
13557
+ updated_at: string;
13558
+ };
13559
+ Insert: {
13560
+ aangevraagd_op?: string;
13561
+ barcode?: string | null;
13562
+ cart_id?: string | null;
13563
+ cart_index?: number | null;
13564
+ cart_label?: string | null;
13565
+ cart_total?: number | null;
13566
+ documentnaam?: string | null;
13567
+ geleverd_op?: string | null;
13568
+ id?: string;
13569
+ is_herprint?: boolean;
13570
+ klant_naam?: string | null;
13571
+ klant_nummer?: string | null;
13572
+ laatst_gevraagd_op?: string;
13573
+ layout_id?: string | null;
13574
+ layout_variant?: string | null;
13575
+ order_nummer?: string | null;
13576
+ order_ref?: string | null;
13577
+ print_job_id: string;
13578
+ status?: string;
13579
+ updated_at?: string;
13580
+ };
13581
+ Update: {
13582
+ aangevraagd_op?: string;
13583
+ barcode?: string | null;
13584
+ cart_id?: string | null;
13585
+ cart_index?: number | null;
13586
+ cart_label?: string | null;
13587
+ cart_total?: number | null;
13588
+ documentnaam?: string | null;
13589
+ geleverd_op?: string | null;
13590
+ id?: string;
13591
+ is_herprint?: boolean;
13592
+ klant_naam?: string | null;
13593
+ klant_nummer?: string | null;
13594
+ laatst_gevraagd_op?: string;
13595
+ layout_id?: string | null;
13596
+ layout_variant?: string | null;
13597
+ order_nummer?: string | null;
13598
+ order_ref?: string | null;
13599
+ print_job_id?: string;
13600
+ status?: string;
13601
+ updated_at?: string;
13602
+ };
13603
+ Relationships: [];
13604
+ };
13020
13605
  pick_countries: {
13021
13606
  Row: {
13022
13607
  active: boolean;
@@ -14095,6 +14680,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14095
14680
  isOneToOne: false;
14096
14681
  referencedRelation: "werkbonnen";
14097
14682
  referencedColumns: ["id"];
14683
+ }, {
14684
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14685
+ columns: ["werkbon_id"];
14686
+ isOneToOne: false;
14687
+ referencedRelation: "wo_overview";
14688
+ referencedColumns: ["id"];
14098
14689
  }];
14099
14690
  };
14100
14691
  print_agents: {
@@ -14210,12 +14801,21 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14210
14801
  };
14211
14802
  print_jobs: {
14212
14803
  Row: {
14804
+ aflever_pogingen: number;
14213
14805
  agent_id: string | null;
14806
+ artefact_bytes: number | null;
14807
+ artefact_gereed_op: string | null;
14808
+ artefact_pad: string | null;
14809
+ artefact_sha256: string | null;
14810
+ batch_id: string | null;
14214
14811
  bron_job_id: string | null;
14215
14812
  created_at: string;
14216
14813
  documentnaam: string;
14217
14814
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14218
14815
  extern_job_id: string | null;
14816
+ fase_gestart_op: string | null;
14817
+ fase_voltooid_op: string | null;
14818
+ foutcode: string | null;
14219
14819
  foutmelding: string | null;
14220
14820
  gebruiker_id: string | null;
14221
14821
  gebruiker_naam: string;
@@ -14229,7 +14829,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14229
14829
  kopieen: number;
14230
14830
  layout_id: string | null;
14231
14831
  lokaal_opgeslagen_op: string | null;
14832
+ lokale_pdf_claim_id: string | null;
14833
+ lokale_pdf_claim_tot: string | null;
14232
14834
  lokale_pdf_fout: string | null;
14835
+ lokale_pdf_print_plek_id: string | null;
14233
14836
  lokale_pdf_status: string | null;
14234
14837
  opgepakt_op: string | null;
14235
14838
  paginas: number;
@@ -14242,16 +14845,26 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14242
14845
  resultaat_pdf_base64: string | null;
14243
14846
  status: Database["public"]["Enums"]["print_job_status"];
14244
14847
  updated_at: string;
14848
+ verwerkingsfase: string;
14245
14849
  volgende_poging: string | null;
14246
14850
  voltooid_op: string | null;
14247
14851
  };
14248
14852
  Insert: {
14853
+ aflever_pogingen?: number;
14249
14854
  agent_id?: string | null;
14855
+ artefact_bytes?: number | null;
14856
+ artefact_gereed_op?: string | null;
14857
+ artefact_pad?: string | null;
14858
+ artefact_sha256?: string | null;
14859
+ batch_id?: string | null;
14250
14860
  bron_job_id?: string | null;
14251
14861
  created_at?: string;
14252
14862
  documentnaam?: string;
14253
14863
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14254
14864
  extern_job_id?: string | null;
14865
+ fase_gestart_op?: string | null;
14866
+ fase_voltooid_op?: string | null;
14867
+ foutcode?: string | null;
14255
14868
  foutmelding?: string | null;
14256
14869
  gebruiker_id?: string | null;
14257
14870
  gebruiker_naam?: string;
@@ -14265,7 +14878,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14265
14878
  kopieen?: number;
14266
14879
  layout_id?: string | null;
14267
14880
  lokaal_opgeslagen_op?: string | null;
14881
+ lokale_pdf_claim_id?: string | null;
14882
+ lokale_pdf_claim_tot?: string | null;
14268
14883
  lokale_pdf_fout?: string | null;
14884
+ lokale_pdf_print_plek_id?: string | null;
14269
14885
  lokale_pdf_status?: string | null;
14270
14886
  opgepakt_op?: string | null;
14271
14887
  paginas?: number;
@@ -14278,16 +14894,26 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14278
14894
  resultaat_pdf_base64?: string | null;
14279
14895
  status?: Database["public"]["Enums"]["print_job_status"];
14280
14896
  updated_at?: string;
14897
+ verwerkingsfase?: string;
14281
14898
  volgende_poging?: string | null;
14282
14899
  voltooid_op?: string | null;
14283
14900
  };
14284
14901
  Update: {
14902
+ aflever_pogingen?: number;
14285
14903
  agent_id?: string | null;
14904
+ artefact_bytes?: number | null;
14905
+ artefact_gereed_op?: string | null;
14906
+ artefact_pad?: string | null;
14907
+ artefact_sha256?: string | null;
14908
+ batch_id?: string | null;
14286
14909
  bron_job_id?: string | null;
14287
14910
  created_at?: string;
14288
14911
  documentnaam?: string;
14289
14912
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14290
14913
  extern_job_id?: string | null;
14914
+ fase_gestart_op?: string | null;
14915
+ fase_voltooid_op?: string | null;
14916
+ foutcode?: string | null;
14291
14917
  foutmelding?: string | null;
14292
14918
  gebruiker_id?: string | null;
14293
14919
  gebruiker_naam?: string;
@@ -14301,7 +14927,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14301
14927
  kopieen?: number;
14302
14928
  layout_id?: string | null;
14303
14929
  lokaal_opgeslagen_op?: string | null;
14930
+ lokale_pdf_claim_id?: string | null;
14931
+ lokale_pdf_claim_tot?: string | null;
14304
14932
  lokale_pdf_fout?: string | null;
14933
+ lokale_pdf_print_plek_id?: string | null;
14305
14934
  lokale_pdf_status?: string | null;
14306
14935
  opgepakt_op?: string | null;
14307
14936
  paginas?: number;
@@ -14314,6 +14943,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14314
14943
  resultaat_pdf_base64?: string | null;
14315
14944
  status?: Database["public"]["Enums"]["print_job_status"];
14316
14945
  updated_at?: string;
14946
+ verwerkingsfase?: string;
14317
14947
  volgende_poging?: string | null;
14318
14948
  voltooid_op?: string | null;
14319
14949
  };
@@ -14329,6 +14959,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14329
14959
  isOneToOne: false;
14330
14960
  referencedRelation: "document_layouts";
14331
14961
  referencedColumns: ["id"];
14962
+ }, {
14963
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
14964
+ columns: ["lokale_pdf_print_plek_id"];
14965
+ isOneToOne: false;
14966
+ referencedRelation: "print_plekken";
14967
+ referencedColumns: ["id"];
14332
14968
  }, {
14333
14969
  foreignKeyName: "print_jobs_printer_id_fkey";
14334
14970
  columns: ["printer_id"];
@@ -14463,6 +15099,30 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14463
15099
  };
14464
15100
  Relationships: [];
14465
15101
  };
15102
+ print_queue_leases: {
15103
+ Row: {
15104
+ created_at: string;
15105
+ houder: string;
15106
+ naam: string;
15107
+ updated_at: string;
15108
+ verloopt_op: string;
15109
+ };
15110
+ Insert: {
15111
+ created_at?: string;
15112
+ houder: string;
15113
+ naam: string;
15114
+ updated_at?: string;
15115
+ verloopt_op: string;
15116
+ };
15117
+ Update: {
15118
+ created_at?: string;
15119
+ houder?: string;
15120
+ naam?: string;
15121
+ updated_at?: string;
15122
+ verloopt_op?: string;
15123
+ };
15124
+ Relationships: [];
15125
+ };
14466
15126
  print_queue_runners: {
14467
15127
  Row: {
14468
15128
  actief: boolean;
@@ -14472,7 +15132,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14472
15132
  laatst_gezien: string;
14473
15133
  laatste_fout: string | null;
14474
15134
  laatste_request_id: number | null;
15135
+ laatste_wakeup: string | null;
14475
15136
  mislukte_posts: number;
15137
+ mislukte_wakeups: number;
14476
15138
  tick_sleutel: string;
14477
15139
  updated_at: string;
14478
15140
  };
@@ -14484,7 +15146,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14484
15146
  laatst_gezien?: string;
14485
15147
  laatste_fout?: string | null;
14486
15148
  laatste_request_id?: number | null;
15149
+ laatste_wakeup?: string | null;
14487
15150
  mislukte_posts?: number;
15151
+ mislukte_wakeups?: number;
14488
15152
  tick_sleutel?: string;
14489
15153
  updated_at?: string;
14490
15154
  };
@@ -14496,7 +15160,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14496
15160
  laatst_gezien?: string;
14497
15161
  laatste_fout?: string | null;
14498
15162
  laatste_request_id?: number | null;
15163
+ laatste_wakeup?: string | null;
14499
15164
  mislukte_posts?: number;
15165
+ mislukte_wakeups?: number;
14500
15166
  tick_sleutel?: string;
14501
15167
  updated_at?: string;
14502
15168
  };
@@ -14810,6 +15476,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14810
15476
  updated_at?: string;
14811
15477
  };
14812
15478
  Relationships: [{
15479
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15480
+ columns: ["parent_product_id"];
15481
+ isOneToOne: false;
15482
+ referencedRelation: "logistics_product_dimensions";
15483
+ referencedColumns: ["product_id"];
15484
+ }, {
14813
15485
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14814
15486
  columns: ["parent_product_id"];
14815
15487
  isOneToOne: false;
@@ -14864,11 +15536,23 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
14864
15536
  updated_at?: string;
14865
15537
  };
14866
15538
  Relationships: [{
15539
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15540
+ columns: ["component_product_id"];
15541
+ isOneToOne: false;
15542
+ referencedRelation: "logistics_product_dimensions";
15543
+ referencedColumns: ["product_id"];
15544
+ }, {
14867
15545
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14868
15546
  columns: ["component_product_id"];
14869
15547
  isOneToOne: false;
14870
15548
  referencedRelation: "products";
14871
15549
  referencedColumns: ["id"];
15550
+ }, {
15551
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15552
+ columns: ["parent_product_id"];
15553
+ isOneToOne: false;
15554
+ referencedRelation: "logistics_product_dimensions";
15555
+ referencedColumns: ["product_id"];
14872
15556
  }, {
14873
15557
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14874
15558
  columns: ["parent_product_id"];
@@ -15044,6 +15728,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
15044
15728
  updated_at?: string;
15045
15729
  };
15046
15730
  Relationships: [{
15731
+ foreignKeyName: "product_groups_head_product_id_fkey";
15732
+ columns: ["head_product_id"];
15733
+ isOneToOne: false;
15734
+ referencedRelation: "logistics_product_dimensions";
15735
+ referencedColumns: ["product_id"];
15736
+ }, {
15047
15737
  foreignKeyName: "product_groups_head_product_id_fkey";
15048
15738
  columns: ["head_product_id"];
15049
15739
  isOneToOne: false;
@@ -15109,6 +15799,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
15109
15799
  isOneToOne: false;
15110
15800
  referencedRelation: "packages";
15111
15801
  referencedColumns: ["id"];
15802
+ }, {
15803
+ foreignKeyName: "product_load_settings_product_id_fkey";
15804
+ columns: ["product_id"];
15805
+ isOneToOne: false;
15806
+ referencedRelation: "logistics_product_dimensions";
15807
+ referencedColumns: ["product_id"];
15112
15808
  }, {
15113
15809
  foreignKeyName: "product_load_settings_product_id_fkey";
15114
15810
  columns: ["product_id"];
@@ -15575,6 +16271,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
15575
16271
  quantity?: number;
15576
16272
  };
15577
16273
  Relationships: [{
16274
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16275
+ columns: ["product_id"];
16276
+ isOneToOne: false;
16277
+ referencedRelation: "logistics_product_dimensions";
16278
+ referencedColumns: ["product_id"];
16279
+ }, {
15578
16280
  foreignKeyName: "purchase_order_items_product_id_fkey";
15579
16281
  columns: ["product_id"];
15580
16282
  isOneToOne: false;
@@ -15894,44 +16596,140 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
15894
16596
  referencedColumns: ["id"];
15895
16597
  }];
15896
16598
  };
15897
- scan_karren: {
16599
+ scan_kar_sessie_regels: {
15898
16600
  Row: {
15899
- afgerond_op: string | null;
15900
- buffer_key: string | null;
16601
+ barcode: string;
16602
+ cart_id: string | null;
15901
16603
  created_at: string;
15902
- customer_names: string[];
15903
- device_id: string | null;
15904
- geprint: boolean;
15905
- geprint_op: string | null;
15906
16604
  id: string;
15907
- kar_nummer: string;
15908
- medewerker_id: string | null;
15909
- medewerker_naam: string | null;
15910
- naar_pickstation: boolean;
15911
- naar_pickstation_op: string | null;
16605
+ order_id: string | null;
15912
16606
  order_number: string | null;
15913
- scanner_id: string | null;
15914
- scanner_key: string;
15915
- status: string;
15916
- totaal_producten: number;
15917
- updated_at: string;
16607
+ regels: import("./types.js").Json;
16608
+ sessie_id: string;
16609
+ volledig: boolean;
15918
16610
  };
15919
16611
  Insert: {
15920
- afgerond_op?: string | null;
15921
- buffer_key?: string | null;
16612
+ barcode: string;
16613
+ cart_id?: string | null;
15922
16614
  created_at?: string;
15923
- customer_names?: string[];
15924
- device_id?: string | null;
15925
- geprint?: boolean;
15926
- geprint_op?: string | null;
15927
16615
  id?: string;
15928
- kar_nummer?: string;
15929
- medewerker_id?: string | null;
15930
- medewerker_naam?: string | null;
15931
- naar_pickstation?: boolean;
15932
- naar_pickstation_op?: string | null;
16616
+ order_id?: string | null;
15933
16617
  order_number?: string | null;
15934
- scanner_id?: string | null;
16618
+ regels?: import("./types.js").Json;
16619
+ sessie_id: string;
16620
+ volledig?: boolean;
16621
+ };
16622
+ Update: {
16623
+ barcode?: string;
16624
+ cart_id?: string | null;
16625
+ created_at?: string;
16626
+ id?: string;
16627
+ order_id?: string | null;
16628
+ order_number?: string | null;
16629
+ regels?: import("./types.js").Json;
16630
+ sessie_id?: string;
16631
+ volledig?: boolean;
16632
+ };
16633
+ Relationships: [{
16634
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16635
+ columns: ["sessie_id"];
16636
+ isOneToOne: false;
16637
+ referencedRelation: "scan_kar_sessies";
16638
+ referencedColumns: ["id"];
16639
+ }];
16640
+ };
16641
+ scan_kar_sessies: {
16642
+ Row: {
16643
+ afgerond_op: string | null;
16644
+ cart_id: string | null;
16645
+ cart_index: number | null;
16646
+ cart_total: number | null;
16647
+ created_at: string;
16648
+ id: string;
16649
+ klant_naam: string | null;
16650
+ medewerker_naam: string | null;
16651
+ order_id: string | null;
16652
+ order_number: string | null;
16653
+ scanner_id: string | null;
16654
+ status: string;
16655
+ updated_at: string;
16656
+ };
16657
+ Insert: {
16658
+ afgerond_op?: string | null;
16659
+ cart_id?: string | null;
16660
+ cart_index?: number | null;
16661
+ cart_total?: number | null;
16662
+ created_at?: string;
16663
+ id?: string;
16664
+ klant_naam?: string | null;
16665
+ medewerker_naam?: string | null;
16666
+ order_id?: string | null;
16667
+ order_number?: string | null;
16668
+ scanner_id?: string | null;
16669
+ status?: string;
16670
+ updated_at?: string;
16671
+ };
16672
+ Update: {
16673
+ afgerond_op?: string | null;
16674
+ cart_id?: string | null;
16675
+ cart_index?: number | null;
16676
+ cart_total?: number | null;
16677
+ created_at?: string;
16678
+ id?: string;
16679
+ klant_naam?: string | null;
16680
+ medewerker_naam?: string | null;
16681
+ order_id?: string | null;
16682
+ order_number?: string | null;
16683
+ scanner_id?: string | null;
16684
+ status?: string;
16685
+ updated_at?: string;
16686
+ };
16687
+ Relationships: [{
16688
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16689
+ columns: ["scanner_id"];
16690
+ isOneToOne: false;
16691
+ referencedRelation: "scan_scanners";
16692
+ referencedColumns: ["id"];
16693
+ }];
16694
+ };
16695
+ scan_karren: {
16696
+ Row: {
16697
+ afgerond_op: string | null;
16698
+ buffer_key: string | null;
16699
+ created_at: string;
16700
+ customer_names: string[];
16701
+ device_id: string | null;
16702
+ geprint: boolean;
16703
+ geprint_op: string | null;
16704
+ id: string;
16705
+ kar_nummer: string;
16706
+ medewerker_id: string | null;
16707
+ medewerker_naam: string | null;
16708
+ naar_pickstation: boolean;
16709
+ naar_pickstation_op: string | null;
16710
+ order_number: string | null;
16711
+ scanner_id: string | null;
16712
+ scanner_key: string;
16713
+ status: string;
16714
+ totaal_producten: number;
16715
+ updated_at: string;
16716
+ };
16717
+ Insert: {
16718
+ afgerond_op?: string | null;
16719
+ buffer_key?: string | null;
16720
+ created_at?: string;
16721
+ customer_names?: string[];
16722
+ device_id?: string | null;
16723
+ geprint?: boolean;
16724
+ geprint_op?: string | null;
16725
+ id?: string;
16726
+ kar_nummer?: string;
16727
+ medewerker_id?: string | null;
16728
+ medewerker_naam?: string | null;
16729
+ naar_pickstation?: boolean;
16730
+ naar_pickstation_op?: string | null;
16731
+ order_number?: string | null;
16732
+ scanner_id?: string | null;
15935
16733
  scanner_key?: string;
15936
16734
  status?: string;
15937
16735
  totaal_producten?: number;
@@ -16098,6 +16896,60 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
16098
16896
  };
16099
16897
  Relationships: [];
16100
16898
  };
16899
+ scan_restpakbonnen: {
16900
+ Row: {
16901
+ barcode: string;
16902
+ bron_barcode: string | null;
16903
+ cart_id: string | null;
16904
+ cart_index: number | null;
16905
+ cart_total: number | null;
16906
+ created_at: string;
16907
+ geprint_op: string | null;
16908
+ id: string;
16909
+ klant_naam: string | null;
16910
+ order_id: string | null;
16911
+ order_number: string | null;
16912
+ print_job_id: string | null;
16913
+ regels: import("./types.js").Json;
16914
+ updated_at: string;
16915
+ verwerkt: boolean;
16916
+ };
16917
+ Insert: {
16918
+ barcode: string;
16919
+ bron_barcode?: string | null;
16920
+ cart_id?: string | null;
16921
+ cart_index?: number | null;
16922
+ cart_total?: number | null;
16923
+ created_at?: string;
16924
+ geprint_op?: string | null;
16925
+ id?: string;
16926
+ klant_naam?: string | null;
16927
+ order_id?: string | null;
16928
+ order_number?: string | null;
16929
+ print_job_id?: string | null;
16930
+ regels?: import("./types.js").Json;
16931
+ updated_at?: string;
16932
+ verwerkt?: boolean;
16933
+ };
16934
+ Update: {
16935
+ barcode?: string;
16936
+ bron_barcode?: string | null;
16937
+ cart_id?: string | null;
16938
+ cart_index?: number | null;
16939
+ cart_total?: number | null;
16940
+ created_at?: string;
16941
+ geprint_op?: string | null;
16942
+ id?: string;
16943
+ klant_naam?: string | null;
16944
+ order_id?: string | null;
16945
+ order_number?: string | null;
16946
+ print_job_id?: string | null;
16947
+ regels?: import("./types.js").Json;
16948
+ updated_at?: string;
16949
+ verwerkt?: boolean;
16950
+ };
16951
+ Relationships: [];
16952
+ };
16101
16953
  scan_scanners: {
16102
16954
  Row: {
16103
16955
  actief: boolean;
@@ -16107,6 +16959,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
16107
16959
  naam: string;
16108
16960
  omschrijving: string | null;
16109
16961
  pincode: string | null;
16962
+ printer_id: string | null;
16110
16963
  slug: string;
16111
16964
  type: string;
16112
16965
  updated_at: string;
@@ -16121,6 +16974,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
16121
16974
  naam: string;
16122
16975
  omschrijving?: string | null;
16123
16976
  pincode?: string | null;
16977
+ printer_id?: string | null;
16124
16978
  slug: string;
16125
16979
  type?: string;
16126
16980
  updated_at?: string;
@@ -16135,6 +16989,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
16135
16989
  naam?: string;
16136
16990
  omschrijving?: string | null;
16137
16991
  pincode?: string | null;
16992
+ printer_id?: string | null;
16138
16993
  slug?: string;
16139
16994
  type?: string;
16140
16995
  updated_at?: string;
@@ -16143,6 +16998,27 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
16143
16998
  };
16144
16999
  Relationships: [];
16145
17000
  };
17001
+ shell_settings: {
17002
+ Row: {
17003
+ created_at: string;
17004
+ default_path: string | null;
17005
+ shell_id: string;
17006
+ updated_at: string;
17007
+ };
17008
+ Insert: {
17009
+ created_at?: string;
17010
+ default_path?: string | null;
17011
+ shell_id: string;
17012
+ updated_at?: string;
17013
+ };
17014
+ Update: {
17015
+ created_at?: string;
17016
+ default_path?: string | null;
17017
+ shell_id?: string;
17018
+ updated_at?: string;
17019
+ };
17020
+ Relationships: [];
17021
+ };
16146
17022
  sick_periods: {
16147
17023
  Row: {
16148
17024
  created_at: string;
@@ -16762,6 +17638,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
16762
17638
  isOneToOne: false;
16763
17639
  referencedRelation: "werkbonnen";
16764
17640
  referencedColumns: ["id"];
17641
+ }, {
17642
+ foreignKeyName: "time_logs_work_order_id_fkey";
17643
+ columns: ["work_order_id"];
17644
+ isOneToOne: false;
17645
+ referencedRelation: "wo_overview";
17646
+ referencedColumns: ["id"];
16765
17647
  }];
16766
17648
  };
16767
17649
  time_off_entries: {
@@ -18055,6 +18937,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
18055
18937
  isOneToOne: false;
18056
18938
  referencedRelation: "werkbonnen";
18057
18939
  referencedColumns: ["id"];
18940
+ }, {
18941
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18942
+ columns: ["werkbon_id"];
18943
+ isOneToOne: false;
18944
+ referencedRelation: "wo_overview";
18945
+ referencedColumns: ["id"];
18058
18946
  }];
18059
18947
  };
18060
18948
  uren_exports: {
@@ -18778,6 +19666,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
18778
19666
  isOneToOne: true;
18779
19667
  referencedRelation: "werkbonnen";
18780
19668
  referencedColumns: ["id"];
19669
+ }, {
19670
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19671
+ columns: ["werkbon_id"];
19672
+ isOneToOne: true;
19673
+ referencedRelation: "wo_overview";
19674
+ referencedColumns: ["id"];
18781
19675
  }];
18782
19676
  };
18783
19677
  werkbon_facturatie_settings: {
@@ -18865,6 +19759,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
18865
19759
  isOneToOne: false;
18866
19760
  referencedRelation: "werkbonnen";
18867
19761
  referencedColumns: ["id"];
19762
+ }, {
19763
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19764
+ columns: ["werkbon_id"];
19765
+ isOneToOne: false;
19766
+ referencedRelation: "wo_overview";
19767
+ referencedColumns: ["id"];
18868
19768
  }];
18869
19769
  };
18870
19770
  werkbon_package_ai_rules: {
@@ -19048,6 +19948,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19048
19948
  isOneToOne: false;
19049
19949
  referencedRelation: "werkbonnen";
19050
19950
  referencedColumns: ["id"];
19951
+ }, {
19952
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
19953
+ columns: ["werkbon_id"];
19954
+ isOneToOne: false;
19955
+ referencedRelation: "wo_overview";
19956
+ referencedColumns: ["id"];
19051
19957
  }];
19052
19958
  };
19053
19959
  werkbon_packages: {
@@ -19138,6 +20044,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19138
20044
  isOneToOne: false;
19139
20045
  referencedRelation: "werkbonnen";
19140
20046
  referencedColumns: ["id"];
20047
+ }, {
20048
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20049
+ columns: ["werkbon_id"];
20050
+ isOneToOne: false;
20051
+ referencedRelation: "wo_overview";
20052
+ referencedColumns: ["id"];
19141
20053
  }];
19142
20054
  };
19143
20055
  werkbon_time_logs: {
@@ -19177,6 +20089,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19177
20089
  isOneToOne: false;
19178
20090
  referencedRelation: "werkbonnen";
19179
20091
  referencedColumns: ["id"];
20092
+ }, {
20093
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20094
+ columns: ["werkbon_id"];
20095
+ isOneToOne: false;
20096
+ referencedRelation: "wo_overview";
20097
+ referencedColumns: ["id"];
19180
20098
  }];
19181
20099
  };
19182
20100
  werkbonnen: {
@@ -19300,6 +20218,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19300
20218
  isOneToOne: false;
19301
20219
  referencedRelation: "werkbonnen";
19302
20220
  referencedColumns: ["id"];
20221
+ }, {
20222
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20223
+ columns: ["parent_werkbon_id"];
20224
+ isOneToOne: false;
20225
+ referencedRelation: "wo_overview";
20226
+ referencedColumns: ["id"];
19303
20227
  }, {
19304
20228
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19305
20229
  columns: ["source_mailbox_message_id"];
@@ -19768,6 +20692,24 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19768
20692
  };
19769
20693
  Relationships: [];
19770
20694
  };
20695
+ logistics_product_dimensions: {
20696
+ Row: {
20697
+ dimension_source: string | null;
20698
+ fust_height_mm: number | null;
20699
+ fust_length_mm: number | null;
20700
+ fust_name: string | null;
20701
+ fust_source: string | null;
20702
+ fust_type_id: string | null;
20703
+ fust_width_mm: number | null;
20704
+ height_source: string | null;
20705
+ missing_reason: string | null;
20706
+ plant_height_cm: number | null;
20707
+ plants_per_crate: number | null;
20708
+ product_id: string | null;
20709
+ product_name: string | null;
20710
+ };
20711
+ Relationships: [];
20712
+ };
19771
20713
  manufacture_product_possible_stock_view: {
19772
20714
  Row: {
19773
20715
  component_count: number | null;
@@ -19805,6 +20747,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
19805
20747
  isOneToOne: false;
19806
20748
  referencedRelation: "werkbonnen";
19807
20749
  referencedColumns: ["id"];
20750
+ }, {
20751
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20752
+ columns: ["werkbon_id"];
20753
+ isOneToOne: false;
20754
+ referencedRelation: "wo_overview";
20755
+ referencedColumns: ["id"];
19808
20756
  }];
19809
20757
  };
19810
20758
  product_group_stock_view: {
@@ -20266,23 +21214,98 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20266
21214
  isOneToOne: false;
20267
21215
  referencedRelation: "werkbonnen";
20268
21216
  referencedColumns: ["id"];
21217
+ }, {
21218
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21219
+ columns: ["werkbon_id"];
21220
+ isOneToOne: false;
21221
+ referencedRelation: "wo_overview";
21222
+ referencedColumns: ["id"];
20269
21223
  }];
20270
21224
  };
20271
- };
20272
- Functions: {
20273
- _floriday_schedule_job: {
20274
- Args: {
20275
- p_apikey: string;
20276
- p_jobname: string;
20277
- p_schedule: string;
20278
- p_timeout_ms: number;
20279
- p_url: string;
21225
+ wo_overview: {
21226
+ Row: {
21227
+ assigned_user_id: string | null;
21228
+ budget_mandate_cents: number | null;
21229
+ created_at: string | null;
21230
+ customer_id: string | null;
21231
+ id: string | null;
21232
+ needs_detail_review: boolean | null;
21233
+ number: string | null;
21234
+ parent_werkbon_id: string | null;
21235
+ planning_status: string | null;
21236
+ scheduled_end_time: string | null;
21237
+ scheduled_start_time: string | null;
21238
+ source_type: string | null;
21239
+ status: string | null;
21240
+ technician_id: string | null;
21241
+ updated_at: string | null;
21242
+ work_address: string | null;
20280
21243
  };
20281
- Returns: number;
20282
- };
20283
- _migrate_rewrite_stock_key: {
20284
- Args: {
20285
- _from_key: string;
21244
+ Insert: {
21245
+ assigned_user_id?: string | null;
21246
+ budget_mandate_cents?: number | null;
21247
+ created_at?: string | null;
21248
+ customer_id?: string | null;
21249
+ id?: string | null;
21250
+ needs_detail_review?: boolean | null;
21251
+ number?: string | null;
21252
+ parent_werkbon_id?: string | null;
21253
+ planning_status?: string | null;
21254
+ scheduled_end_time?: string | null;
21255
+ scheduled_start_time?: string | null;
21256
+ source_type?: string | null;
21257
+ status?: string | null;
21258
+ technician_id?: string | null;
21259
+ updated_at?: string | null;
21260
+ work_address?: string | null;
21261
+ };
21262
+ Update: {
21263
+ assigned_user_id?: string | null;
21264
+ budget_mandate_cents?: number | null;
21265
+ created_at?: string | null;
21266
+ customer_id?: string | null;
21267
+ id?: string | null;
21268
+ needs_detail_review?: boolean | null;
21269
+ number?: string | null;
21270
+ parent_werkbon_id?: string | null;
21271
+ planning_status?: string | null;
21272
+ scheduled_end_time?: string | null;
21273
+ scheduled_start_time?: string | null;
21274
+ source_type?: string | null;
21275
+ status?: string | null;
21276
+ technician_id?: string | null;
21277
+ updated_at?: string | null;
21278
+ work_address?: string | null;
21279
+ };
21280
+ Relationships: [{
21281
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21282
+ columns: ["parent_werkbon_id"];
21283
+ isOneToOne: false;
21284
+ referencedRelation: "werkbonnen";
21285
+ referencedColumns: ["id"];
21286
+ }, {
21287
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21288
+ columns: ["parent_werkbon_id"];
21289
+ isOneToOne: false;
21290
+ referencedRelation: "wo_overview";
21291
+ referencedColumns: ["id"];
21292
+ }];
21293
+ };
21294
+ };
21295
+ Functions: {
21296
+ _floriday_schedule_job: {
21297
+ Args: {
21298
+ p_apikey: string;
21299
+ p_jobname: string;
21300
+ p_schedule: string;
21301
+ p_timeout_ms: number;
21302
+ p_url: string;
21303
+ };
21304
+ Returns: number;
21305
+ };
21306
+ _migrate_rewrite_stock_key: {
21307
+ Args: {
21308
+ _from_key: string;
20286
21309
  _to_key: string;
20287
21310
  };
20288
21311
  Returns: undefined;
@@ -20457,12 +21480,21 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20457
21480
  _max?: number;
20458
21481
  };
20459
21482
  Returns: {
21483
+ aflever_pogingen: number;
20460
21484
  agent_id: string | null;
21485
+ artefact_bytes: number | null;
21486
+ artefact_gereed_op: string | null;
21487
+ artefact_pad: string | null;
21488
+ artefact_sha256: string | null;
21489
+ batch_id: string | null;
20461
21490
  bron_job_id: string | null;
20462
21491
  created_at: string;
20463
21492
  documentnaam: string;
20464
21493
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20465
21494
  extern_job_id: string | null;
21495
+ fase_gestart_op: string | null;
21496
+ fase_voltooid_op: string | null;
21497
+ foutcode: string | null;
20466
21498
  foutmelding: string | null;
20467
21499
  gebruiker_id: string | null;
20468
21500
  gebruiker_naam: string;
@@ -20476,7 +21508,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20476
21508
  kopieen: number;
20477
21509
  layout_id: string | null;
20478
21510
  lokaal_opgeslagen_op: string | null;
21511
+ lokale_pdf_claim_id: string | null;
21512
+ lokale_pdf_claim_tot: string | null;
20479
21513
  lokale_pdf_fout: string | null;
21514
+ lokale_pdf_print_plek_id: string | null;
20480
21515
  lokale_pdf_status: string | null;
20481
21516
  opgepakt_op: string | null;
20482
21517
  paginas: number;
@@ -20489,6 +21524,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20489
21524
  resultaat_pdf_base64: string | null;
20490
21525
  status: Database["public"]["Enums"]["print_job_status"];
20491
21526
  updated_at: string;
21527
+ verwerkingsfase: string;
20492
21528
  volgende_poging: string | null;
20493
21529
  voltooid_op: string | null;
20494
21530
  }[];
@@ -20535,6 +21571,25 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20535
21571
  isSetofReturn: true;
20536
21572
  };
20537
21573
  };
21574
+ claim_local_pdf_jobs: {
21575
+ Args: {
21576
+ _max?: number;
21577
+ _print_plek_id: string;
21578
+ _writer_id: string;
21579
+ };
21580
+ Returns: {
21581
+ artefact_bytes: number;
21582
+ artefact_pad: string;
21583
+ artefact_sha256: string;
21584
+ documentnaam: string;
21585
+ id: string;
21586
+ lokale_pdf_print_plek_id: string;
21587
+ lokale_pdf_status: string;
21588
+ printer_id: string;
21589
+ resultaat_pdf_base64: string;
21590
+ status: string;
21591
+ }[];
21592
+ };
20538
21593
  claim_logistics_tasks: {
20539
21594
  Args: {
20540
21595
  _limit?: number;
@@ -20588,12 +21643,21 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20588
21643
  _max?: number;
20589
21644
  };
20590
21645
  Returns: {
21646
+ aflever_pogingen: number;
20591
21647
  agent_id: string | null;
21648
+ artefact_bytes: number | null;
21649
+ artefact_gereed_op: string | null;
21650
+ artefact_pad: string | null;
21651
+ artefact_sha256: string | null;
21652
+ batch_id: string | null;
20592
21653
  bron_job_id: string | null;
20593
21654
  created_at: string;
20594
21655
  documentnaam: string;
20595
21656
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20596
21657
  extern_job_id: string | null;
21658
+ fase_gestart_op: string | null;
21659
+ fase_voltooid_op: string | null;
21660
+ foutcode: string | null;
20597
21661
  foutmelding: string | null;
20598
21662
  gebruiker_id: string | null;
20599
21663
  gebruiker_naam: string;
@@ -20607,7 +21671,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20607
21671
  kopieen: number;
20608
21672
  layout_id: string | null;
20609
21673
  lokaal_opgeslagen_op: string | null;
21674
+ lokale_pdf_claim_id: string | null;
21675
+ lokale_pdf_claim_tot: string | null;
20610
21676
  lokale_pdf_fout: string | null;
21677
+ lokale_pdf_print_plek_id: string | null;
20611
21678
  lokale_pdf_status: string | null;
20612
21679
  opgepakt_op: string | null;
20613
21680
  paginas: number;
@@ -20620,6 +21687,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20620
21687
  resultaat_pdf_base64: string | null;
20621
21688
  status: Database["public"]["Enums"]["print_job_status"];
20622
21689
  updated_at: string;
21690
+ verwerkingsfase: string;
20623
21691
  volgende_poging: string | null;
20624
21692
  voltooid_op: string | null;
20625
21693
  }[];
@@ -20636,12 +21704,21 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20636
21704
  _max?: number;
20637
21705
  };
20638
21706
  Returns: {
21707
+ aflever_pogingen: number;
20639
21708
  agent_id: string | null;
21709
+ artefact_bytes: number | null;
21710
+ artefact_gereed_op: string | null;
21711
+ artefact_pad: string | null;
21712
+ artefact_sha256: string | null;
21713
+ batch_id: string | null;
20640
21714
  bron_job_id: string | null;
20641
21715
  created_at: string;
20642
21716
  documentnaam: string;
20643
21717
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20644
21718
  extern_job_id: string | null;
21719
+ fase_gestart_op: string | null;
21720
+ fase_voltooid_op: string | null;
21721
+ foutcode: string | null;
20645
21722
  foutmelding: string | null;
20646
21723
  gebruiker_id: string | null;
20647
21724
  gebruiker_naam: string;
@@ -20655,7 +21732,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20655
21732
  kopieen: number;
20656
21733
  layout_id: string | null;
20657
21734
  lokaal_opgeslagen_op: string | null;
21735
+ lokale_pdf_claim_id: string | null;
21736
+ lokale_pdf_claim_tot: string | null;
20658
21737
  lokale_pdf_fout: string | null;
21738
+ lokale_pdf_print_plek_id: string | null;
20659
21739
  lokale_pdf_status: string | null;
20660
21740
  opgepakt_op: string | null;
20661
21741
  paginas: number;
@@ -20668,6 +21748,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20668
21748
  resultaat_pdf_base64: string | null;
20669
21749
  status: Database["public"]["Enums"]["print_job_status"];
20670
21750
  updated_at: string;
21751
+ verwerkingsfase: string;
20671
21752
  volgende_poging: string | null;
20672
21753
  voltooid_op: string | null;
20673
21754
  }[];
@@ -20678,6 +21759,14 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20678
21759
  isSetofReturn: true;
20679
21760
  };
20680
21761
  };
21762
+ claim_print_queue_lease: {
21763
+ Args: {
21764
+ _houder: string;
21765
+ _naam: string;
21766
+ _seconden?: number;
21767
+ };
21768
+ Returns: boolean;
21769
+ };
20681
21770
  claim_twinfield_push_batch: {
20682
21771
  Args: {
20683
21772
  _customer_id?: string;
@@ -20803,7 +21892,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20803
21892
  cart_index: number;
20804
21893
  cart_number: string;
20805
21894
  cart_number_id: string;
21895
+ cart_seq: number;
21896
+ cart_total: number;
20806
21897
  order_id: string;
21898
+ order_number: string;
20807
21899
  order_source: string;
20808
21900
  pick_date: string;
20809
21901
  printed_at: string;
@@ -20811,6 +21903,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20811
21903
  status: string;
20812
21904
  }[];
20813
21905
  };
21906
+ control_mark_carts_delivered: {
21907
+ Args: {
21908
+ p_carts: import("./types.js").Json;
21909
+ };
21910
+ Returns: number;
21911
+ };
20814
21912
  count_distinct_regulatory_products: {
20815
21913
  Args: never;
20816
21914
  Returns: number;
@@ -20938,6 +22036,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
20938
22036
  };
20939
22037
  Returns: undefined;
20940
22038
  };
22039
+ ensure_system_roles: {
22040
+ Args: never;
22041
+ Returns: {
22042
+ action: string;
22043
+ role_key: string;
22044
+ }[];
22045
+ };
20941
22046
  ensure_trade_item_stock_row: {
20942
22047
  Args: {
20943
22048
  p_key: string;
@@ -21004,6 +22109,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21004
22109
  };
21005
22110
  Returns: string;
21006
22111
  };
22112
+ finish_local_pdf_job: {
22113
+ Args: {
22114
+ _fout?: string;
22115
+ _job_id: string;
22116
+ _status: string;
22117
+ _writer_id: string;
22118
+ };
22119
+ Returns: boolean;
22120
+ };
21007
22121
  floriday_capture_stock_snapshot: {
21008
22122
  Args: never;
21009
22123
  Returns: number;
@@ -21283,6 +22397,36 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21283
22397
  Args: never;
21284
22398
  Returns: string;
21285
22399
  };
22400
+ handover_archief_lijst: {
22401
+ Args: never;
22402
+ Returns: import("./types.js").Json;
22403
+ };
22404
+ handover_archiveren: {
22405
+ Args: {
22406
+ _archief?: boolean;
22407
+ _module_id: string;
22408
+ };
22409
+ Returns: boolean;
22410
+ };
22411
+ handover_check_afronden: {
22412
+ Args: {
22413
+ _module_id: string;
22414
+ };
22415
+ Returns: boolean;
22416
+ };
22417
+ handover_check_markeren: {
22418
+ Args: {
22419
+ _module_ids: string[];
22420
+ _reden?: string;
22421
+ };
22422
+ Returns: number;
22423
+ };
22424
+ handover_fingerprint_maken: {
22425
+ Args: {
22426
+ _module_id?: string;
22427
+ };
22428
+ Returns: import("./types.js").Json;
22429
+ };
21286
22430
  handover_get: {
21287
22431
  Args: {
21288
22432
  _module_id: string;
@@ -21313,6 +22457,14 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21313
22457
  };
21314
22458
  Returns: boolean;
21315
22459
  };
22460
+ handover_module_meta_zetten: {
22461
+ Args: {
22462
+ _module_id: string;
22463
+ _project_url?: string;
22464
+ _publicatie_url?: string;
22465
+ };
22466
+ Returns: boolean;
22467
+ };
21316
22468
  handover_norm_naam: {
21317
22469
  Args: {
21318
22470
  _naam: string;
@@ -21333,6 +22485,23 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21333
22485
  };
21334
22486
  Returns: number;
21335
22487
  };
22488
+ handover_publish_uit_github: {
22489
+ Args: {
22490
+ _bezit_tabellen?: string[];
22491
+ _bron_soort?: string;
22492
+ _commit?: string;
22493
+ _contractfuncties?: string[];
22494
+ _inhoud_md: string;
22495
+ _module_id: string;
22496
+ _module_titel: string;
22497
+ _ontbrekende_contracten?: string[];
22498
+ _pad?: string;
22499
+ _repo?: string;
22500
+ _samenvatting?: string;
22501
+ _versie_label?: string;
22502
+ };
22503
+ Returns: import("./types.js").Json;
22504
+ };
21336
22505
  handover_publish_via_token: {
21337
22506
  Args: {
21338
22507
  _bevindingen?: string;
@@ -21346,7 +22515,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21346
22515
  _samenvatting?: string;
21347
22516
  _token_hash: string;
21348
22517
  };
21349
- Returns: number;
22518
+ Returns: import("./types.js").Json;
21350
22519
  };
21351
22520
  handover_status: {
21352
22521
  Args: never;
@@ -21358,23 +22527,6 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21358
22527
  };
21359
22528
  Returns: string;
21360
22529
  };
21361
- handover_token_intrekken: {
21362
- Args: {
21363
- _id: string;
21364
- };
21365
- Returns: boolean;
21366
- };
21367
- handover_token_lijst: {
21368
- Args: never;
21369
- Returns: import("./types.js").Json;
21370
- };
21371
- handover_token_maken: {
21372
- Args: {
21373
- _label?: string;
21374
- _module_id: string;
21375
- };
21376
- Returns: string;
21377
- };
21378
22530
  handover_update: {
21379
22531
  Args: {
21380
22532
  _bezit_tabellen?: string[];
@@ -21402,12 +22554,31 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21402
22554
  };
21403
22555
  Returns: boolean;
21404
22556
  };
22557
+ handover_versie_verwijderen: {
22558
+ Args: {
22559
+ _module_id: string;
22560
+ _versie: number;
22561
+ };
22562
+ Returns: boolean;
22563
+ };
21405
22564
  handover_versies: {
21406
22565
  Args: {
21407
22566
  _module_id: string;
21408
22567
  };
21409
22568
  Returns: import("./types.js").Json;
21410
22569
  };
22570
+ handover_verwijderen: {
22571
+ Args: {
22572
+ _module_id: string;
22573
+ };
22574
+ Returns: boolean;
22575
+ };
22576
+ handover_wijzigingen: {
22577
+ Args: {
22578
+ _module_id?: string;
22579
+ };
22580
+ Returns: import("./types.js").Json;
22581
+ };
21411
22582
  has_module_permission: {
21412
22583
  Args: {
21413
22584
  _min: string;
@@ -21742,6 +22913,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21742
22913
  };
21743
22914
  Returns: string;
21744
22915
  };
22916
+ logistics_cart_handled: {
22917
+ Args: {
22918
+ p_cart_index: number;
22919
+ p_order_id: string;
22920
+ };
22921
+ Returns: boolean;
22922
+ };
21745
22923
  logistics_cart_index: {
21746
22924
  Args: {
21747
22925
  p_from?: string;
@@ -21751,6 +22929,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21751
22929
  cart_id: string;
21752
22930
  cart_index: number;
21753
22931
  cart_label: string;
22932
+ cart_number: string;
22933
+ cart_seq: number;
22934
+ cart_total: number;
21754
22935
  delivery_date: string;
21755
22936
  is_announced: boolean;
21756
22937
  is_controlled: boolean;
@@ -21765,12 +22946,79 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21765
22946
  task_status: string;
21766
22947
  }[];
21767
22948
  };
22949
+ logistics_cart_layout_method: {
22950
+ Args: never;
22951
+ Returns: import("./types.js").Json;
22952
+ };
22953
+ logistics_cart_plan_overview: {
22954
+ Args: {
22955
+ p_days?: number;
22956
+ };
22957
+ Returns: {
22958
+ cart_total: number;
22959
+ delivery_date: string;
22960
+ order_ref: string;
22961
+ plan_ready: boolean;
22962
+ reason: string;
22963
+ released: boolean;
22964
+ }[];
22965
+ };
22966
+ logistics_cart_plan_status: {
22967
+ Args: {
22968
+ p_ref: string;
22969
+ };
22970
+ Returns: import("./types.js").Json;
22971
+ };
22972
+ logistics_cart_seq: {
22973
+ Args: {
22974
+ p_order_uuid?: string;
22975
+ };
22976
+ Returns: {
22977
+ cart_id: string;
22978
+ cart_index: number;
22979
+ cart_number: string;
22980
+ cart_seq: number;
22981
+ cart_total: number;
22982
+ order_uuid: string;
22983
+ }[];
22984
+ };
21768
22985
  logistics_cart_slip_plan: {
21769
22986
  Args: {
21770
22987
  p_order_id: string;
21771
22988
  };
21772
22989
  Returns: import("./types.js").Json;
21773
22990
  };
22991
+ logistics_cart_units: {
22992
+ Args: {
22993
+ p_from?: string;
22994
+ p_to?: string;
22995
+ };
22996
+ Returns: {
22997
+ cart_id: string;
22998
+ cart_index: number;
22999
+ cart_label: string;
23000
+ cart_number: string;
23001
+ cart_seq: number;
23002
+ cart_total: number;
23003
+ delivery_date: string;
23004
+ is_announced: boolean;
23005
+ is_buffer: boolean;
23006
+ is_controlled: boolean;
23007
+ is_printed: boolean;
23008
+ is_shared: boolean;
23009
+ order_number: string;
23010
+ order_source: string;
23011
+ order_uuid: string;
23012
+ pick_date: string;
23013
+ printed_at: string;
23014
+ shifted: boolean;
23015
+ task_status: string;
23016
+ unit_buffer: string;
23017
+ unit_order_count: number;
23018
+ unit_orders: string[];
23019
+ unit_ref: string;
23020
+ }[];
23021
+ };
21774
23022
  logistics_check_order_allowed: {
21775
23023
  Args: {
21776
23024
  p_lines: import("./types.js").Json;
@@ -21926,7 +23174,9 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21926
23174
  announced_carts: number;
21927
23175
  control_carts: number;
21928
23176
  delivery_carts: number;
23177
+ duplicate_carts: number;
21929
23178
  ok: boolean;
23179
+ orphan_carts: number;
21930
23180
  orphan_tasks: number;
21931
23181
  pick_date: string;
21932
23182
  raw_carts: number;
@@ -21934,35 +23184,114 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
21934
23184
  station_carts: number;
21935
23185
  }[];
21936
23186
  };
21937
- logistics_delay_customer_email: {
23187
+ logistics_control_scan_approve: {
21938
23188
  Args: {
21939
- p_customer: string;
21940
- p_lang: string;
21941
- p_new_date: string;
21942
- p_order: string;
21943
- p_partial?: boolean;
23189
+ p_allow_reprint?: boolean;
23190
+ p_barcode: string;
23191
+ p_printer_id?: string;
23192
+ p_scanner_id?: string;
21944
23193
  };
21945
- Returns: {
21946
- body: string;
21947
- subject: string;
21948
- }[];
23194
+ Returns: import("./types.js").Json;
21949
23195
  };
21950
- logistics_delivery_agenda: {
23196
+ logistics_control_scan_claim: {
21951
23197
  Args: {
21952
- p_from?: string;
21953
- p_to?: string;
23198
+ _lease_seconds?: number;
23199
+ _limit?: number;
21954
23200
  };
21955
23201
  Returns: {
21956
- announced_count: number;
21957
- cart_count: number;
21958
- controlled_count: number;
21959
- delivery_date: string;
21960
- order_count: number;
21961
- orders: import("./types.js").Json;
21962
- plant_count: number;
21963
- printed_count: number;
23202
+ approved_at: string | null;
23203
+ attempts: number;
23204
+ barcode: string;
23205
+ cart_id: string;
23206
+ created_at: string;
23207
+ document_url: string | null;
23208
+ error: string | null;
23209
+ error_code: string | null;
23210
+ fulfillment_order_id: string | null;
23211
+ id: string;
23212
+ is_floriday: boolean;
23213
+ locked_until: string | null;
23214
+ order_id: string | null;
23215
+ order_number: string | null;
23216
+ print_job_id: string | null;
23217
+ printed_at: string | null;
23218
+ printer_id: string | null;
23219
+ scanner_id: string | null;
23220
+ status: string;
23221
+ updated_at: string;
21964
23222
  }[];
21965
- };
23223
+ SetofOptions: {
23224
+ from: "*";
23225
+ to: "logistics_control_scan";
23226
+ isOneToOne: false;
23227
+ isSetofReturn: true;
23228
+ };
23229
+ };
23230
+ logistics_control_scan_finish: {
23231
+ Args: {
23232
+ _document_url?: string;
23233
+ _error?: string;
23234
+ _error_code?: string;
23235
+ _fulfillment_order_id?: string;
23236
+ _id: string;
23237
+ _ok: boolean;
23238
+ _print_job_id?: string;
23239
+ _status?: string;
23240
+ };
23241
+ Returns: import("./types.js").Json;
23242
+ };
23243
+ logistics_control_scan_lookup: {
23244
+ Args: {
23245
+ p_barcode: string;
23246
+ };
23247
+ Returns: import("./types.js").Json;
23248
+ };
23249
+ logistics_control_scan_overview: {
23250
+ Args: {
23251
+ _date?: string;
23252
+ _scanner_id?: string;
23253
+ };
23254
+ Returns: import("./types.js").Json;
23255
+ };
23256
+ logistics_control_scan_retry: {
23257
+ Args: {
23258
+ _id: string;
23259
+ };
23260
+ Returns: import("./types.js").Json;
23261
+ };
23262
+ logistics_control_settings: {
23263
+ Args: never;
23264
+ Returns: import("./types.js").Json;
23265
+ };
23266
+ logistics_delay_customer_email: {
23267
+ Args: {
23268
+ p_customer: string;
23269
+ p_lang: string;
23270
+ p_new_date: string;
23271
+ p_order: string;
23272
+ p_partial?: boolean;
23273
+ };
23274
+ Returns: {
23275
+ body: string;
23276
+ subject: string;
23277
+ }[];
23278
+ };
23279
+ logistics_delivery_agenda: {
23280
+ Args: {
23281
+ p_from?: string;
23282
+ p_to?: string;
23283
+ };
23284
+ Returns: {
23285
+ announced_count: number;
23286
+ cart_count: number;
23287
+ controlled_count: number;
23288
+ delivery_date: string;
23289
+ order_count: number;
23290
+ orders: import("./types.js").Json;
23291
+ plant_count: number;
23292
+ printed_count: number;
23293
+ }[];
23294
+ };
21966
23295
  logistics_document_layout: {
21967
23296
  Args: {
21968
23297
  _document_code: string;
@@ -22001,6 +23330,17 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22001
23330
  };
22002
23331
  Returns: import("./types.js").Json;
22003
23332
  };
23333
+ logistics_enqueue_sticker_with_slip: {
23334
+ Args: {
23335
+ _cart_id: string;
23336
+ _is_herprint: boolean;
23337
+ _printer_id: string;
23338
+ _queue_item_id: string;
23339
+ _session_id: string;
23340
+ _slip_job_id: string;
23341
+ };
23342
+ Returns: string;
23343
+ };
22004
23344
  logistics_ensure_cart_barcode: {
22005
23345
  Args: {
22006
23346
  _cart_id: string;
@@ -22142,6 +23482,26 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22142
23482
  };
22143
23483
  Returns: string;
22144
23484
  };
23485
+ logistics_fulfill_barcode_requests: {
23486
+ Args: {
23487
+ p_limit?: number;
23488
+ };
23489
+ Returns: import("./types.js").Json;
23490
+ };
23491
+ logistics_full_cart_min_layers: {
23492
+ Args: never;
23493
+ Returns: number;
23494
+ };
23495
+ logistics_full_cart_min_percentage: {
23496
+ Args: never;
23497
+ Returns: number;
23498
+ };
23499
+ logistics_is_pick_workday: {
23500
+ Args: {
23501
+ p_date: string;
23502
+ };
23503
+ Returns: boolean;
23504
+ };
22145
23505
  logistics_live_carriers: {
22146
23506
  Args: {
22147
23507
  p_order_ref: string;
@@ -22154,6 +23514,20 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22154
23514
  };
22155
23515
  Returns: number;
22156
23516
  };
23517
+ logistics_next_workday_date: {
23518
+ Args: {
23519
+ p_date: string;
23520
+ p_days?: string[];
23521
+ };
23522
+ Returns: string;
23523
+ };
23524
+ logistics_next_workday_not_past: {
23525
+ Args: {
23526
+ p_days: string[];
23527
+ p_ts: string;
23528
+ };
23529
+ Returns: string;
23530
+ };
22157
23531
  logistics_not_past: {
22158
23532
  Args: {
22159
23533
  p_ts: string;
@@ -22166,6 +23540,19 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22166
23540
  };
22167
23541
  Returns: number;
22168
23542
  };
23543
+ logistics_order_handled: {
23544
+ Args: {
23545
+ p_order_uuid: string;
23546
+ };
23547
+ Returns: boolean;
23548
+ };
23549
+ logistics_order_is_topick: {
23550
+ Args: {
23551
+ p_order_id: string;
23552
+ p_order_number: string;
23553
+ };
23554
+ Returns: boolean;
23555
+ };
22169
23556
  logistics_order_overview: {
22170
23557
  Args: {
22171
23558
  p_from?: string;
@@ -22191,6 +23578,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22191
23578
  };
22192
23579
  Returns: string;
22193
23580
  };
23581
+ logistics_order_released: {
23582
+ Args: {
23583
+ p_order_ref: string;
23584
+ };
23585
+ Returns: boolean;
23586
+ };
22194
23587
  logistics_parse_pickup: {
22195
23588
  Args: {
22196
23589
  p_value: string;
@@ -22221,6 +23614,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22221
23614
  Args: never;
22222
23615
  Returns: string;
22223
23616
  };
23617
+ logistics_pick_mode: {
23618
+ Args: never;
23619
+ Returns: import("./types.js").Json;
23620
+ };
22224
23621
  logistics_pick_start_estimate: {
22225
23622
  Args: {
22226
23623
  p_order: import("./types.js").Json;
@@ -22228,6 +23625,18 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22228
23625
  };
22229
23626
  Returns: string;
22230
23627
  };
23628
+ logistics_pick_units: {
23629
+ Args: never;
23630
+ Returns: {
23631
+ is_buffer: boolean;
23632
+ order_number: string;
23633
+ order_uuid: string;
23634
+ unit_buffer: string;
23635
+ unit_order_count: number;
23636
+ unit_orders: string[];
23637
+ unit_ref: string;
23638
+ }[];
23639
+ };
22231
23640
  logistics_plan_all: {
22232
23641
  Args: {
22233
23642
  p_user_id?: string;
@@ -22314,6 +23723,14 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22314
23723
  };
22315
23724
  Returns: number;
22316
23725
  };
23726
+ logistics_prune_buffer_member_queue: {
23727
+ Args: never;
23728
+ Returns: number;
23729
+ };
23730
+ logistics_prune_handled_pick_queue: {
23731
+ Args: never;
23732
+ Returns: number;
23733
+ };
22317
23734
  logistics_queue_capacity_email: {
22318
23735
  Args: {
22319
23736
  p_alert_id: string;
@@ -22346,6 +23763,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22346
23763
  Args: never;
22347
23764
  Returns: import("./types.js").Json;
22348
23765
  };
23766
+ logistics_refresh_pickup_moments: {
23767
+ Args: {
23768
+ p_weeks?: number;
23769
+ };
23770
+ Returns: import("./types.js").Json;
23771
+ };
22349
23772
  logistics_report_delay: {
22350
23773
  Args: {
22351
23774
  p_expected_date?: string;
@@ -22452,6 +23875,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22452
23875
  };
22453
23876
  Returns: string;
22454
23877
  };
23878
+ logistics_scan_resolve: {
23879
+ Args: {
23880
+ p_code: string;
23881
+ };
23882
+ Returns: import("./types.js").Json;
23883
+ };
22455
23884
  logistics_schedule_tasks: {
22456
23885
  Args: never;
22457
23886
  Returns: number;
@@ -22486,6 +23915,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22486
23915
  };
22487
23916
  Returns: import("./types.js").Json;
22488
23917
  };
23918
+ logistics_sticker_follows_slip: {
23919
+ Args: never;
23920
+ Returns: boolean;
23921
+ };
22489
23922
  logistics_supersede_stale_tasks: {
22490
23923
  Args: {
22491
23924
  p_keep: string[];
@@ -22537,6 +23970,18 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22537
23970
  };
22538
23971
  Returns: string;
22539
23972
  };
23973
+ logistics_write_buffer_layer_positions: {
23974
+ Args: {
23975
+ p_buffer_id: string;
23976
+ };
23977
+ Returns: number;
23978
+ };
23979
+ logistics_write_cart_layer_positions: {
23980
+ Args: {
23981
+ p_cart_id: string;
23982
+ };
23983
+ Returns: number;
23984
+ };
22540
23985
  mark_offer_clicked: {
22541
23986
  Args: {
22542
23987
  p_code: string;
@@ -22569,6 +24014,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22569
24014
  };
22570
24015
  Returns: undefined;
22571
24016
  };
24017
+ move_cart_layer_position: {
24018
+ Args: {
24019
+ p_id: string;
24020
+ p_layer: number;
24021
+ p_x: number;
24022
+ p_y: number;
24023
+ };
24024
+ Returns: undefined;
24025
+ };
22572
24026
  my_module_permissions: {
22573
24027
  Args: never;
22574
24028
  Returns: {
@@ -22640,6 +24094,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22640
24094
  };
22641
24095
  Returns: import("./types.js").Json;
22642
24096
  };
24097
+ order_heeft_bevestigde_karren: {
24098
+ Args: {
24099
+ p_order_id: string;
24100
+ };
24101
+ Returns: boolean;
24102
+ };
22643
24103
  order_number_prefix: {
22644
24104
  Args: {
22645
24105
  p_custom_fields?: import("./types.js").Json;
@@ -22675,6 +24135,27 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22675
24135
  online: boolean;
22676
24136
  }[];
22677
24137
  };
24138
+ pick_available_pick_days: {
24139
+ Args: {
24140
+ _max_days?: number;
24141
+ };
24142
+ Returns: {
24143
+ orders: number;
24144
+ pick_day: string;
24145
+ }[];
24146
+ };
24147
+ pick_buffer_order_ids: {
24148
+ Args: {
24149
+ _order_id: string;
24150
+ };
24151
+ Returns: string[];
24152
+ };
24153
+ pick_cart_breakdown: {
24154
+ Args: {
24155
+ _order_id: string;
24156
+ };
24157
+ Returns: import("./types.js").Json;
24158
+ };
22678
24159
  pick_claim_document: {
22679
24160
  Args: {
22680
24161
  _queue_item_id: string;
@@ -22728,6 +24209,7 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22728
24209
  pick_claim_next_document: {
22729
24210
  Args: {
22730
24211
  _country_code: string;
24212
+ _pick_day?: string;
22731
24213
  _screen_id: string;
22732
24214
  _session_id: string;
22733
24215
  _station_id: string;
@@ -22879,6 +24361,14 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22879
24361
  isSetofReturn: false;
22880
24362
  };
22881
24363
  };
24364
+ pick_complete_print_carts: {
24365
+ Args: {
24366
+ _cart_ids: string[];
24367
+ _queue_item_id: string;
24368
+ _session_id: string;
24369
+ };
24370
+ Returns: import("./types.js").Json;
24371
+ };
22882
24372
  pick_current_pick_day: {
22883
24373
  Args: never;
22884
24374
  Returns: string;
@@ -22915,6 +24405,65 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22915
24405
  };
22916
24406
  Returns: string;
22917
24407
  };
24408
+ pick_enqueue_print_job_from_cart: {
24409
+ Args: {
24410
+ _cart_id: string;
24411
+ _is_herprint: boolean;
24412
+ _printer_id: string;
24413
+ _queue_item_id: string;
24414
+ _selected_cart: import("./types.js").Json;
24415
+ _session_id: string;
24416
+ };
24417
+ Returns: string;
24418
+ };
24419
+ pick_mark_printed: {
24420
+ Args: {
24421
+ _queue_item_id: string;
24422
+ _reden?: string;
24423
+ _session_id: string;
24424
+ };
24425
+ Returns: {
24426
+ announced_at: string;
24427
+ assigned_user_id: string | null;
24428
+ barcode: string | null;
24429
+ cancelled_at: string | null;
24430
+ cart_count: number;
24431
+ completed_at: string | null;
24432
+ country_code: string | null;
24433
+ created_at: string;
24434
+ customer_name: string | null;
24435
+ delivery_address: string | null;
24436
+ document_number: string | null;
24437
+ document_type_id: string | null;
24438
+ due_at: string | null;
24439
+ id: string;
24440
+ is_urgent: boolean;
24441
+ line_count: number;
24442
+ order_number: string | null;
24443
+ order_type: string | null;
24444
+ payload: import("./types.js").Json;
24445
+ print_count: number;
24446
+ print_job_id: string | null;
24447
+ printed_at: string | null;
24448
+ printed_by: string | null;
24449
+ printed_cart_ids: import("./types.js").Json;
24450
+ printer_id: string | null;
24451
+ priority: number;
24452
+ reference: string | null;
24453
+ route: string | null;
24454
+ screen_id: string | null;
24455
+ station_id: string | null;
24456
+ status_id: string | null;
24457
+ updated_at: string;
24458
+ warnings: import("./types.js").Json;
24459
+ };
24460
+ SetofOptions: {
24461
+ from: "*";
24462
+ to: "pick_queue";
24463
+ isOneToOne: true;
24464
+ isSetofReturn: false;
24465
+ };
24466
+ };
22918
24467
  pick_order_context: {
22919
24468
  Args: {
22920
24469
  _order_id?: string;
@@ -22935,6 +24484,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22935
24484
  };
22936
24485
  Returns: import("./types.js").Json;
22937
24486
  };
24487
+ pick_print_jobs_status: {
24488
+ Args: {
24489
+ _job_ids: string[];
24490
+ };
24491
+ Returns: import("./types.js").Json[];
24492
+ };
22938
24493
  pick_print_plekken: {
22939
24494
  Args: never;
22940
24495
  Returns: {
@@ -22943,6 +24498,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22943
24498
  omschrijving: string;
22944
24499
  }[];
22945
24500
  };
24501
+ pick_queue_cart_plan: {
24502
+ Args: {
24503
+ _queue_item_id: string;
24504
+ };
24505
+ Returns: import("./types.js").Json;
24506
+ };
22946
24507
  pick_reference_data_status: {
22947
24508
  Args: never;
22948
24509
  Returns: import("./types.js").Json;
@@ -22957,6 +24518,19 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
22957
24518
  };
22958
24519
  Returns: undefined;
22959
24520
  };
24521
+ pick_report_missing_cart_plan: {
24522
+ Args: never;
24523
+ Returns: import("./types.js").Json;
24524
+ };
24525
+ pick_reprint_cart: {
24526
+ Args: {
24527
+ _cart_id: string;
24528
+ _queue_item_id: string;
24529
+ _session_id: string;
24530
+ _throttle_seconds?: number;
24531
+ };
24532
+ Returns: string;
24533
+ };
22960
24534
  pick_reprint_document: {
22961
24535
  Args: {
22962
24536
  _queue_item_id: string;
@@ -23059,6 +24633,151 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23059
24633
  isSetofReturn: false;
23060
24634
  };
23061
24635
  };
24636
+ pick_reset_print_job: {
24637
+ Args: {
24638
+ _cart_id: string;
24639
+ _job_id: string;
24640
+ _queue_item_id: string;
24641
+ _session_id: string;
24642
+ };
24643
+ Returns: {
24644
+ announced_at: string;
24645
+ assigned_user_id: string | null;
24646
+ barcode: string | null;
24647
+ cancelled_at: string | null;
24648
+ cart_count: number;
24649
+ completed_at: string | null;
24650
+ country_code: string | null;
24651
+ created_at: string;
24652
+ customer_name: string | null;
24653
+ delivery_address: string | null;
24654
+ document_number: string | null;
24655
+ document_type_id: string | null;
24656
+ due_at: string | null;
24657
+ id: string;
24658
+ is_urgent: boolean;
24659
+ line_count: number;
24660
+ order_number: string | null;
24661
+ order_type: string | null;
24662
+ payload: import("./types.js").Json;
24663
+ print_count: number;
24664
+ print_job_id: string | null;
24665
+ printed_at: string | null;
24666
+ printed_by: string | null;
24667
+ printed_cart_ids: import("./types.js").Json;
24668
+ printer_id: string | null;
24669
+ priority: number;
24670
+ reference: string | null;
24671
+ route: string | null;
24672
+ screen_id: string | null;
24673
+ station_id: string | null;
24674
+ status_id: string | null;
24675
+ updated_at: string;
24676
+ warnings: import("./types.js").Json;
24677
+ };
24678
+ SetofOptions: {
24679
+ from: "*";
24680
+ to: "pick_queue";
24681
+ isOneToOne: true;
24682
+ isSetofReturn: false;
24683
+ };
24684
+ };
24685
+ pick_reset_print_jobs: {
24686
+ Args: {
24687
+ _cart_ids: string[];
24688
+ _job_ids: string[];
24689
+ _queue_item_id: string;
24690
+ _session_id: string;
24691
+ };
24692
+ Returns: {
24693
+ announced_at: string;
24694
+ assigned_user_id: string | null;
24695
+ barcode: string | null;
24696
+ cancelled_at: string | null;
24697
+ cart_count: number;
24698
+ completed_at: string | null;
24699
+ country_code: string | null;
24700
+ created_at: string;
24701
+ customer_name: string | null;
24702
+ delivery_address: string | null;
24703
+ document_number: string | null;
24704
+ document_type_id: string | null;
24705
+ due_at: string | null;
24706
+ id: string;
24707
+ is_urgent: boolean;
24708
+ line_count: number;
24709
+ order_number: string | null;
24710
+ order_type: string | null;
24711
+ payload: import("./types.js").Json;
24712
+ print_count: number;
24713
+ print_job_id: string | null;
24714
+ printed_at: string | null;
24715
+ printed_by: string | null;
24716
+ printed_cart_ids: import("./types.js").Json;
24717
+ printer_id: string | null;
24718
+ priority: number;
24719
+ reference: string | null;
24720
+ route: string | null;
24721
+ screen_id: string | null;
24722
+ station_id: string | null;
24723
+ status_id: string | null;
24724
+ updated_at: string;
24725
+ warnings: import("./types.js").Json;
24726
+ };
24727
+ SetofOptions: {
24728
+ from: "*";
24729
+ to: "pick_queue";
24730
+ isOneToOne: true;
24731
+ isSetofReturn: false;
24732
+ };
24733
+ };
24734
+ pick_restore_to_queue: {
24735
+ Args: {
24736
+ _queue_item_id: string;
24737
+ _session_id: string;
24738
+ };
24739
+ Returns: {
24740
+ announced_at: string;
24741
+ assigned_user_id: string | null;
24742
+ barcode: string | null;
24743
+ cancelled_at: string | null;
24744
+ cart_count: number;
24745
+ completed_at: string | null;
24746
+ country_code: string | null;
24747
+ created_at: string;
24748
+ customer_name: string | null;
24749
+ delivery_address: string | null;
24750
+ document_number: string | null;
24751
+ document_type_id: string | null;
24752
+ due_at: string | null;
24753
+ id: string;
24754
+ is_urgent: boolean;
24755
+ line_count: number;
24756
+ order_number: string | null;
24757
+ order_type: string | null;
24758
+ payload: import("./types.js").Json;
24759
+ print_count: number;
24760
+ print_job_id: string | null;
24761
+ printed_at: string | null;
24762
+ printed_by: string | null;
24763
+ printed_cart_ids: import("./types.js").Json;
24764
+ printer_id: string | null;
24765
+ priority: number;
24766
+ reference: string | null;
24767
+ route: string | null;
24768
+ screen_id: string | null;
24769
+ station_id: string | null;
24770
+ status_id: string | null;
24771
+ updated_at: string;
24772
+ warnings: import("./types.js").Json;
24773
+ };
24774
+ SetofOptions: {
24775
+ from: "*";
24776
+ to: "pick_queue";
24777
+ isOneToOne: true;
24778
+ isSetofReturn: false;
24779
+ };
24780
+ };
23062
24781
  pick_seed_reference_data: {
23063
24782
  Args: never;
23064
24783
  Returns: import("./types.js").Json;
@@ -23108,6 +24827,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23108
24827
  };
23109
24828
  Returns: string;
23110
24829
  };
24830
+ pick_sync_pick_day: {
24831
+ Args: {
24832
+ _day: string;
24833
+ };
24834
+ Returns: import("./types.js").Json;
24835
+ };
23111
24836
  pick_sync_queue_throttled: {
23112
24837
  Args: {
23113
24838
  _min_seconds?: number;
@@ -23337,6 +25062,20 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23337
25062
  };
23338
25063
  Returns: boolean;
23339
25064
  };
25065
+ release_local_pdf_job: {
25066
+ Args: {
25067
+ _job_id: string;
25068
+ _writer_id: string;
25069
+ };
25070
+ Returns: boolean;
25071
+ };
25072
+ release_print_queue_lease: {
25073
+ Args: {
25074
+ _houder: string;
25075
+ _naam: string;
25076
+ };
25077
+ Returns: boolean;
25078
+ };
23340
25079
  release_stale_order_invoice_links: {
23341
25080
  Args: {
23342
25081
  _minutes?: number;
@@ -23357,6 +25096,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23357
25096
  };
23358
25097
  Returns: import("./types.js").Json;
23359
25098
  };
25099
+ reset_cart_layer_positions: {
25100
+ Args: {
25101
+ p_cart_id: string;
25102
+ };
25103
+ Returns: number;
25104
+ };
23360
25105
  reset_floriday_sync_cursor: {
23361
25106
  Args: {
23362
25107
  p_connection_id: string;
@@ -23420,6 +25165,15 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23420
25165
  };
23421
25166
  Returns: import("./types.js").Json;
23422
25167
  };
25168
+ roles_without_enum_mapping: {
25169
+ Args: never;
25170
+ Returns: {
25171
+ assignment_count: number;
25172
+ id: string;
25173
+ key: string;
25174
+ name: string;
25175
+ }[];
25176
+ };
23423
25177
  ruim_print_jobs_op: {
23424
25178
  Args: {
23425
25179
  _bewaar_dagen?: number;
@@ -23434,6 +25188,10 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23434
25188
  Args: never;
23435
25189
  Returns: undefined;
23436
25190
  };
25191
+ run_floriday_stock_reconcile: {
25192
+ Args: never;
25193
+ Returns: undefined;
25194
+ };
23437
25195
  run_logistics_tasks_dispatch: {
23438
25196
  Args: never;
23439
25197
  Returns: undefined;
@@ -23452,18 +25210,98 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23452
25210
  };
23453
25211
  Returns: import("./types.js").Json;
23454
25212
  };
25213
+ scan_complete_cart: {
25214
+ Args: {
25215
+ p_allow_reprint?: boolean;
25216
+ p_cart_id: string;
25217
+ p_print?: boolean;
25218
+ p_scanner_id?: string;
25219
+ };
25220
+ Returns: import("./types.js").Json;
25221
+ };
23455
25222
  scan_dashboard_stats: {
23456
25223
  Args: {
23457
25224
  p_dagen?: number;
23458
25225
  };
23459
25226
  Returns: import("./types.js").Json;
23460
25227
  };
25228
+ scan_eindcontrole: {
25229
+ Args: {
25230
+ p_barcode: string;
25231
+ p_scanner_id?: string;
25232
+ };
25233
+ Returns: import("./types.js").Json;
25234
+ };
23461
25235
  scan_finish_kar: {
23462
25236
  Args: {
23463
25237
  p_kar_id: string;
23464
25238
  };
23465
25239
  Returns: import("./types.js").Json;
23466
25240
  };
25241
+ scan_kar_compleet: {
25242
+ Args: {
25243
+ p_allow_reprint?: boolean;
25244
+ p_sessie_id: string;
25245
+ };
25246
+ Returns: import("./types.js").Json;
25247
+ };
25248
+ scan_kar_regels: {
25249
+ Args: {
25250
+ p_cart_id: string;
25251
+ };
25252
+ Returns: import("./types.js").Json;
25253
+ };
25254
+ scan_log_code: {
25255
+ Args: {
25256
+ p_code: string;
25257
+ p_latency_ms?: number;
25258
+ p_message?: string;
25259
+ p_result: string;
25260
+ p_scanner_key?: string;
25261
+ };
25262
+ Returns: string;
25263
+ };
25264
+ scan_open_pakbonnen: {
25265
+ Args: {
25266
+ p_dagen?: number;
25267
+ };
25268
+ Returns: import("./types.js").Json;
25269
+ };
25270
+ scan_pakbon_lookup: {
25271
+ Args: {
25272
+ p_barcode: string;
25273
+ };
25274
+ Returns: import("./types.js").Json;
25275
+ };
25276
+ scan_pakbon_opnieuw: {
25277
+ Args: {
25278
+ p_barcode: string;
25279
+ p_scanner_id?: string;
25280
+ };
25281
+ Returns: import("./types.js").Json;
25282
+ };
25283
+ scan_pakbon_toevoegen: {
25284
+ Args: {
25285
+ p_barcode: string;
25286
+ p_medewerker?: string;
25287
+ p_regels?: import("./types.js").Json;
25288
+ p_scanner_id: string;
25289
+ };
25290
+ Returns: import("./types.js").Json;
25291
+ };
25292
+ scan_print_restpakbon: {
25293
+ Args: {
25294
+ p_printer_id?: string;
25295
+ p_restpakbon_id: string;
25296
+ };
25297
+ Returns: import("./types.js").Json;
25298
+ };
25299
+ scan_print_verzendbrief: {
25300
+ Args: {
25301
+ p_sessie_id: string;
25302
+ };
25303
+ Returns: import("./types.js").Json;
25304
+ };
23467
25305
  scan_register_item: {
23468
25306
  Args: {
23469
25307
  p_kar_id: string;
@@ -23482,6 +25320,25 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23482
25320
  };
23483
25321
  Returns: import("./types.js").Json;
23484
25322
  };
25323
+ scan_restpakbon_geprint: {
25324
+ Args: {
25325
+ p_id: string;
25326
+ p_print_job_id?: string;
25327
+ };
25328
+ Returns: undefined;
25329
+ };
25330
+ scan_sessie_annuleren: {
25331
+ Args: {
25332
+ p_sessie_id: string;
25333
+ };
25334
+ Returns: undefined;
25335
+ };
25336
+ scan_sessie_open: {
25337
+ Args: {
25338
+ p_scanner_id: string;
25339
+ };
25340
+ Returns: import("./types.js").Json;
25341
+ };
23485
25342
  scan_start_kar: {
23486
25343
  Args: {
23487
25344
  p_medewerker_id?: string;
@@ -23500,6 +25357,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23500
25357
  };
23501
25358
  Returns: import("./types.js").Json;
23502
25359
  };
25360
+ scan_verzendbrief_regels: {
25361
+ Args: {
25362
+ p_sessie_id: string;
25363
+ };
25364
+ Returns: import("./types.js").Json;
25365
+ };
23503
25366
  schedule_floriday_additional_services_sync: {
23504
25367
  Args: {
23505
25368
  p_apikey: string;
@@ -23815,6 +25678,13 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23815
25678
  };
23816
25679
  Returns: import("./types.js").Json;
23817
25680
  };
25681
+ swap_cart_layer_positions: {
25682
+ Args: {
25683
+ p_a: string;
25684
+ p_b: string;
25685
+ };
25686
+ Returns: undefined;
25687
+ };
23818
25688
  switch_time_log: {
23819
25689
  Args: {
23820
25690
  p_employee_id: string;
@@ -23847,6 +25717,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23847
25717
  };
23848
25718
  Returns: undefined;
23849
25719
  };
25720
+ sync_order_item_fusten: {
25721
+ Args: {
25722
+ _order_item_id: string;
25723
+ };
25724
+ Returns: undefined;
25725
+ };
23850
25726
  sync_product_group_belading: {
23851
25727
  Args: {
23852
25728
  _group_id: string;
@@ -23953,6 +25829,12 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23953
25829
  Args: never;
23954
25830
  Returns: string;
23955
25831
  };
25832
+ wake_print_queue: {
25833
+ Args: {
25834
+ _min_interval_ms?: number;
25835
+ };
25836
+ Returns: number;
25837
+ };
23956
25838
  werkbon_totalen: {
23957
25839
  Args: {
23958
25840
  _werkbon_id: string;
@@ -23985,10 +25867,18 @@ export declare const supabase: SupabaseClient<Database, "public", "public", {
23985
25867
  };
23986
25868
  Returns: import("./types.js").Json;
23987
25869
  };
25870
+ wo_set_status: {
25871
+ Args: {
25872
+ _reason?: string;
25873
+ _status: string;
25874
+ _work_order_id: string;
25875
+ };
25876
+ Returns: import("./types.js").Json;
25877
+ };
23988
25878
  };
23989
25879
  Enums: {
23990
25880
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23991
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
25881
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23992
25882
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23993
25883
  doc_orientation: "portrait" | "landscape";
23994
25884
  exact_env: "staging" | "live";