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