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