@flowselections/layout-maker 1.38.4 → 1.45.9

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 (110) hide show
  1. package/dist-lib/components/AfleverbriefBuilderPage.d.ts +10 -0
  2. package/dist-lib/components/AfleverbriefBuilderPage.d.ts.map +1 -0
  3. package/dist-lib/components/AfleverbriefBuilderPage.js +101 -0
  4. package/dist-lib/components/BlokOntwerperPage.d.ts.map +1 -1
  5. package/dist-lib/components/BlokOntwerperPage.js +8 -3
  6. package/dist-lib/components/ComputersLijst.d.ts.map +1 -1
  7. package/dist-lib/components/ComputersLijst.js +1 -1
  8. package/dist-lib/components/FustKolomVolgorde.d.ts +11 -0
  9. package/dist-lib/components/FustKolomVolgorde.d.ts.map +1 -0
  10. package/dist-lib/components/FustKolomVolgorde.js +52 -0
  11. package/dist-lib/components/LayoutsPage.d.ts.map +1 -1
  12. package/dist-lib/components/LayoutsPage.js +10 -9
  13. package/dist-lib/components/PakbonBuilderPage.d.ts.map +1 -1
  14. package/dist-lib/components/PakbonBuilderPage.js +32 -14
  15. package/dist-lib/components/PakbonPreview.d.ts.map +1 -1
  16. package/dist-lib/components/PakbonPreview.js +21 -14
  17. package/dist-lib/components/PakbonSectiesPanel.d.ts +4 -2
  18. package/dist-lib/components/PakbonSectiesPanel.d.ts.map +1 -1
  19. package/dist-lib/components/PakbonSectiesPanel.js +5 -3
  20. package/dist-lib/components/PdfMapToestemmingBanner.d.ts +2 -1
  21. package/dist-lib/components/PdfMapToestemmingBanner.d.ts.map +1 -1
  22. package/dist-lib/components/PdfMapToestemmingBanner.js +124 -18
  23. package/dist-lib/components/PdfVoorbeeld.d.ts +20 -0
  24. package/dist-lib/components/PdfVoorbeeld.d.ts.map +1 -0
  25. package/dist-lib/components/PdfVoorbeeld.js +95 -0
  26. package/dist-lib/components/PrintProgrammaUitleg.d.ts.map +1 -1
  27. package/dist-lib/components/PrintProgrammaUitleg.js +1 -1
  28. package/dist-lib/components/PrintQueuePage.d.ts.map +1 -1
  29. package/dist-lib/components/PrintQueuePage.js +81 -43
  30. package/dist-lib/components/PrintplekDetailPage.d.ts.map +1 -1
  31. package/dist-lib/components/PrintplekDetailPage.js +2 -2
  32. package/dist-lib/components/PrintplekWizard.d.ts.map +1 -1
  33. package/dist-lib/components/PrintplekWizard.js +6 -2
  34. package/dist-lib/components/ProductiebonBuilderPage.d.ts.map +1 -1
  35. package/dist-lib/components/ProductiebonBuilderPage.js +13 -7
  36. package/dist-lib/index.d.ts +13 -5
  37. package/dist-lib/index.d.ts.map +1 -1
  38. package/dist-lib/index.js +10 -5
  39. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2280 -198
  40. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  41. package/dist-lib/integrations/supabase/client.server.d.ts +2280 -198
  42. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  43. package/dist-lib/integrations/supabase/client.server.js +1 -1
  44. package/dist-lib/integrations/supabase/moduleClient.d.ts +2280 -198
  45. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  46. package/dist-lib/integrations/supabase/types.d.ts +2306 -182
  47. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  48. package/dist-lib/integrations/supabase/types.js +1 -0
  49. package/dist-lib/lib/aiLayout.functions.d.ts +2280 -198
  50. package/dist-lib/lib/aiLayout.functions.d.ts.map +1 -1
  51. package/dist-lib/lib/documentVoorbeeld.functions.d.ts +23 -0
  52. package/dist-lib/lib/documentVoorbeeld.functions.d.ts.map +1 -0
  53. package/dist-lib/lib/documentVoorbeeld.functions.js +37 -0
  54. package/dist-lib/lib/fontMetrics.d.ts +15 -0
  55. package/dist-lib/lib/fontMetrics.d.ts.map +1 -0
  56. package/dist-lib/lib/fontMetrics.js +118 -0
  57. package/dist-lib/lib/htmlNaarPdf.server.d.ts +2 -2
  58. package/dist-lib/lib/htmlNaarPdf.server.d.ts.map +1 -1
  59. package/dist-lib/lib/htmlNaarPdf.server.js +2 -1
  60. package/dist-lib/lib/htmlPdf.server.d.ts +11 -0
  61. package/dist-lib/lib/htmlPdf.server.d.ts.map +1 -1
  62. package/dist-lib/lib/htmlPdf.server.js +118 -15
  63. package/dist-lib/lib/orderData.server.d.ts.map +1 -1
  64. package/dist-lib/lib/orderData.server.js +43 -16
  65. package/dist-lib/lib/pakbonBarcodeVerzoek.d.ts +39 -0
  66. package/dist-lib/lib/pakbonBarcodeVerzoek.d.ts.map +1 -0
  67. package/dist-lib/lib/pakbonBarcodeVerzoek.js +80 -0
  68. package/dist-lib/lib/pakbonBuilder.d.ts +62 -3
  69. package/dist-lib/lib/pakbonBuilder.d.ts.map +1 -1
  70. package/dist-lib/lib/pakbonBuilder.js +386 -50
  71. package/dist-lib/lib/pakbonContent.d.ts +41 -0
  72. package/dist-lib/lib/pakbonContent.d.ts.map +1 -0
  73. package/dist-lib/lib/pakbonContent.js +668 -0
  74. package/dist-lib/lib/pakbonDocument.d.ts +199 -0
  75. package/dist-lib/lib/pakbonDocument.d.ts.map +1 -0
  76. package/dist-lib/lib/pakbonDocument.js +735 -0
  77. package/dist-lib/lib/pakbonHtml.d.ts +7 -0
  78. package/dist-lib/lib/pakbonHtml.d.ts.map +1 -1
  79. package/dist-lib/lib/pakbonHtml.js +89 -73
  80. package/dist-lib/lib/pakbonPresentation.d.ts +8 -0
  81. package/dist-lib/lib/pakbonPresentation.d.ts.map +1 -0
  82. package/dist-lib/lib/pakbonPresentation.js +31 -0
  83. package/dist-lib/lib/pakbonScan.d.ts.map +1 -1
  84. package/dist-lib/lib/pakbonScan.js +20 -38
  85. package/dist-lib/lib/pdfJobSaver.d.ts +10 -6
  86. package/dist-lib/lib/pdfJobSaver.d.ts.map +1 -1
  87. package/dist-lib/lib/pdfJobSaver.js +302 -99
  88. package/dist-lib/lib/pdfMap.d.ts +37 -2
  89. package/dist-lib/lib/pdfMap.d.ts.map +1 -1
  90. package/dist-lib/lib/pdfMap.js +120 -7
  91. package/dist-lib/lib/pdfOpslagStatus.d.ts +23 -0
  92. package/dist-lib/lib/pdfOpslagStatus.d.ts.map +1 -0
  93. package/dist-lib/lib/pdfOpslagStatus.js +74 -0
  94. package/dist-lib/lib/printApi.d.ts +31 -0
  95. package/dist-lib/lib/printApi.d.ts.map +1 -1
  96. package/dist-lib/lib/printApi.js +62 -1
  97. package/dist-lib/lib/printQueue.server.d.ts +6 -0
  98. package/dist-lib/lib/printQueue.server.d.ts.map +1 -1
  99. package/dist-lib/lib/printQueue.server.js +450 -94
  100. package/dist-lib/lib/printService.functions.d.ts +8857 -529
  101. package/dist-lib/lib/printService.functions.d.ts.map +1 -1
  102. package/dist-lib/lib/profielHtml.d.ts.map +1 -1
  103. package/dist-lib/lib/profielHtml.js +8 -1
  104. package/dist-lib/lib/useDocumentData.d.ts +8 -0
  105. package/dist-lib/lib/useDocumentData.d.ts.map +1 -1
  106. package/dist-lib/lib/useDocumentData.js +1 -1
  107. package/dist-lib/lib/voorbeeldPrint.d.ts +3 -0
  108. package/dist-lib/lib/voorbeeldPrint.d.ts.map +1 -1
  109. package/dist-lib/lib/voorbeeldPrint.js +65 -17
  110. package/package.json +9 -2
@@ -690,6 +690,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
690
690
  raw: import("../integrations/supabase/types.js").Json;
691
691
  updated_at: string;
692
692
  valuta: string;
693
+ velden: import("../integrations/supabase/types.js").Json;
693
694
  };
694
695
  Insert: {
695
696
  artikelcode: string;
@@ -707,6 +708,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
707
708
  raw?: import("../integrations/supabase/types.js").Json;
708
709
  updated_at?: string;
709
710
  valuta?: string;
711
+ velden?: import("../integrations/supabase/types.js").Json;
710
712
  };
711
713
  Update: {
712
714
  artikelcode?: string;
@@ -724,6 +726,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
724
726
  raw?: import("../integrations/supabase/types.js").Json;
725
727
  updated_at?: string;
726
728
  valuta?: string;
729
+ velden?: import("../integrations/supabase/types.js").Json;
727
730
  };
728
731
  Relationships: [];
729
732
  };
@@ -1418,8 +1421,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
1418
1421
  Row: {
1419
1422
  assigned_at: string;
1420
1423
  cart_index: number;
1421
- cart_number: string;
1422
- day_seq: number;
1424
+ cart_number: string | null;
1425
+ day_seq: number | null;
1426
+ delivered_at: string | null;
1423
1427
  id: string;
1424
1428
  order_id: string;
1425
1429
  order_source: string;
@@ -1429,8 +1433,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
1429
1433
  Insert: {
1430
1434
  assigned_at?: string;
1431
1435
  cart_index: number;
1432
- cart_number: string;
1433
- day_seq: number;
1436
+ cart_number?: string | null;
1437
+ day_seq?: number | null;
1438
+ delivered_at?: string | null;
1434
1439
  id?: string;
1435
1440
  order_id: string;
1436
1441
  order_source: string;
@@ -1440,8 +1445,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
1440
1445
  Update: {
1441
1446
  assigned_at?: string;
1442
1447
  cart_index?: number;
1443
- cart_number?: string;
1444
- day_seq?: number;
1448
+ cart_number?: string | null;
1449
+ day_seq?: number | null;
1450
+ delivered_at?: string | null;
1445
1451
  id?: string;
1446
1452
  order_id?: string;
1447
1453
  order_source?: string;
@@ -1542,6 +1548,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
1542
1548
  updated_at?: string;
1543
1549
  };
1544
1550
  Relationships: [{
1551
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1552
+ columns: ["product_id"];
1553
+ isOneToOne: true;
1554
+ referencedRelation: "logistics_product_dimensions";
1555
+ referencedColumns: ["product_id"];
1556
+ }, {
1545
1557
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1546
1558
  columns: ["product_id"];
1547
1559
  isOneToOne: true;
@@ -2142,6 +2154,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2142
2154
  created_at: string;
2143
2155
  currency: string;
2144
2156
  distribute_over: string | null;
2157
+ external_id: string | null;
2158
+ external_synced_at: string | null;
2145
2159
  group_type: string;
2146
2160
  handling_fee: number | null;
2147
2161
  id: string;
@@ -2154,6 +2168,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2154
2168
  rounding: string;
2155
2169
  rounding_step: number;
2156
2170
  sort_order: number;
2171
+ source: string;
2157
2172
  unit: string;
2158
2173
  updated_at: string;
2159
2174
  };
@@ -2164,6 +2179,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2164
2179
  created_at?: string;
2165
2180
  currency?: string;
2166
2181
  distribute_over?: string | null;
2182
+ external_id?: string | null;
2183
+ external_synced_at?: string | null;
2167
2184
  group_type?: string;
2168
2185
  handling_fee?: number | null;
2169
2186
  id?: string;
@@ -2176,6 +2193,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2176
2193
  rounding?: string;
2177
2194
  rounding_step?: number;
2178
2195
  sort_order?: number;
2196
+ source?: string;
2179
2197
  unit?: string;
2180
2198
  updated_at?: string;
2181
2199
  };
@@ -2186,6 +2204,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2186
2204
  created_at?: string;
2187
2205
  currency?: string;
2188
2206
  distribute_over?: string | null;
2207
+ external_id?: string | null;
2208
+ external_synced_at?: string | null;
2189
2209
  group_type?: string;
2190
2210
  handling_fee?: number | null;
2191
2211
  id?: string;
@@ -2198,6 +2218,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
2198
2218
  rounding?: string;
2199
2219
  rounding_step?: number;
2200
2220
  sort_order?: number;
2221
+ source?: string;
2201
2222
  unit?: string;
2202
2223
  updated_at?: string;
2203
2224
  };
@@ -7069,6 +7090,51 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
7069
7090
  };
7070
7091
  Relationships: [];
7071
7092
  };
7093
+ floriday_status_sync_queue: {
7094
+ Row: {
7095
+ attempts: number;
7096
+ created_at: string;
7097
+ error: string | null;
7098
+ floriday_sales_order_id: string;
7099
+ order_id: string;
7100
+ processed_at: string | null;
7101
+ requested_at: string;
7102
+ state: string;
7103
+ target_status: string;
7104
+ updated_at: string;
7105
+ };
7106
+ Insert: {
7107
+ attempts?: number;
7108
+ created_at?: string;
7109
+ error?: string | null;
7110
+ floriday_sales_order_id: string;
7111
+ order_id: string;
7112
+ processed_at?: string | null;
7113
+ requested_at?: string;
7114
+ state?: string;
7115
+ target_status: string;
7116
+ updated_at?: string;
7117
+ };
7118
+ Update: {
7119
+ attempts?: number;
7120
+ created_at?: string;
7121
+ error?: string | null;
7122
+ floriday_sales_order_id?: string;
7123
+ order_id?: string;
7124
+ processed_at?: string | null;
7125
+ requested_at?: string;
7126
+ state?: string;
7127
+ target_status?: string;
7128
+ updated_at?: string;
7129
+ };
7130
+ Relationships: [{
7131
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7132
+ columns: ["order_id"];
7133
+ isOneToOne: true;
7134
+ referencedRelation: "orders";
7135
+ referencedColumns: ["id"];
7136
+ }];
7137
+ };
7072
7138
  floriday_sync_cursors: {
7073
7139
  Row: {
7074
7140
  connection_id: string;
@@ -8303,10 +8369,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8303
8369
  general_email: string | null;
8304
8370
  general_phone: string | null;
8305
8371
  id: string;
8372
+ kvk_number: string | null;
8306
8373
  legacy_customer_id: string | null;
8307
8374
  name: string;
8308
8375
  segment: import("../integrations/supabase/types.js").Database["public"]["Enums"]["itk_customer_segment"];
8309
8376
  updated_at: string;
8377
+ vat_number: string | null;
8310
8378
  };
8311
8379
  Insert: {
8312
8380
  billing_city?: string | null;
@@ -8317,10 +8385,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8317
8385
  general_email?: string | null;
8318
8386
  general_phone?: string | null;
8319
8387
  id?: string;
8388
+ kvk_number?: string | null;
8320
8389
  legacy_customer_id?: string | null;
8321
8390
  name: string;
8322
8391
  segment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["itk_customer_segment"];
8323
8392
  updated_at?: string;
8393
+ vat_number?: string | null;
8324
8394
  };
8325
8395
  Update: {
8326
8396
  billing_city?: string | null;
@@ -8331,10 +8401,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8331
8401
  general_email?: string | null;
8332
8402
  general_phone?: string | null;
8333
8403
  id?: string;
8404
+ kvk_number?: string | null;
8334
8405
  legacy_customer_id?: string | null;
8335
8406
  name?: string;
8336
8407
  segment?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["itk_customer_segment"];
8337
8408
  updated_at?: string;
8409
+ vat_number?: string | null;
8338
8410
  };
8339
8411
  Relationships: [];
8340
8412
  };
@@ -8368,6 +8440,117 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8368
8440
  };
8369
8441
  Relationships: [];
8370
8442
  };
8443
+ itk_handover_github_scan: {
8444
+ Row: {
8445
+ gescand_op: string;
8446
+ gevonden: boolean;
8447
+ melding: string | null;
8448
+ module_id: string | null;
8449
+ repo: string;
8450
+ };
8451
+ Insert: {
8452
+ gescand_op?: string;
8453
+ gevonden?: boolean;
8454
+ melding?: string | null;
8455
+ module_id?: string | null;
8456
+ repo: string;
8457
+ };
8458
+ Update: {
8459
+ gescand_op?: string;
8460
+ gevonden?: boolean;
8461
+ melding?: string | null;
8462
+ module_id?: string | null;
8463
+ repo?: string;
8464
+ };
8465
+ Relationships: [];
8466
+ };
8467
+ itk_handover_module_meta: {
8468
+ Row: {
8469
+ check_aangevraagd_op: string | null;
8470
+ check_nodig: boolean;
8471
+ check_reden: string | null;
8472
+ created_at: string;
8473
+ module_id: string;
8474
+ project_url: string | null;
8475
+ publicatie_url: string | null;
8476
+ updated_at: string;
8477
+ };
8478
+ Insert: {
8479
+ check_aangevraagd_op?: string | null;
8480
+ check_nodig?: boolean;
8481
+ check_reden?: string | null;
8482
+ created_at?: string;
8483
+ module_id: string;
8484
+ project_url?: string | null;
8485
+ publicatie_url?: string | null;
8486
+ updated_at?: string;
8487
+ };
8488
+ Update: {
8489
+ check_aangevraagd_op?: string | null;
8490
+ check_nodig?: boolean;
8491
+ check_reden?: string | null;
8492
+ created_at?: string;
8493
+ module_id?: string;
8494
+ project_url?: string | null;
8495
+ publicatie_url?: string | null;
8496
+ updated_at?: string;
8497
+ };
8498
+ Relationships: [];
8499
+ };
8500
+ itk_handover_project_modules: {
8501
+ Row: {
8502
+ created_at: string;
8503
+ id: string;
8504
+ module_id: string;
8505
+ project_id: string;
8506
+ updated_at: string;
8507
+ };
8508
+ Insert: {
8509
+ created_at?: string;
8510
+ id?: string;
8511
+ module_id: string;
8512
+ project_id: string;
8513
+ updated_at?: string;
8514
+ };
8515
+ Update: {
8516
+ created_at?: string;
8517
+ id?: string;
8518
+ module_id?: string;
8519
+ project_id?: string;
8520
+ updated_at?: string;
8521
+ };
8522
+ Relationships: [{
8523
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8524
+ columns: ["project_id"];
8525
+ isOneToOne: false;
8526
+ referencedRelation: "itk_handover_projecten";
8527
+ referencedColumns: ["id"];
8528
+ }];
8529
+ };
8530
+ itk_handover_projecten: {
8531
+ Row: {
8532
+ created_at: string;
8533
+ id: string;
8534
+ naam: string;
8535
+ omschrijving: string | null;
8536
+ updated_at: string;
8537
+ };
8538
+ Insert: {
8539
+ created_at?: string;
8540
+ id?: string;
8541
+ naam: string;
8542
+ omschrijving?: string | null;
8543
+ updated_at?: string;
8544
+ };
8545
+ Update: {
8546
+ created_at?: string;
8547
+ id?: string;
8548
+ naam?: string;
8549
+ omschrijving?: string | null;
8550
+ updated_at?: string;
8551
+ };
8552
+ Relationships: [];
8553
+ };
8371
8554
  itk_handover_rechten: {
8372
8555
  Row: {
8373
8556
  created_at: string;
@@ -8395,42 +8578,33 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8395
8578
  };
8396
8579
  Relationships: [];
8397
8580
  };
8398
- itk_handover_tokens: {
8581
+ itk_module_fingerprints: {
8399
8582
  Row: {
8400
- aangemaakt_door: string | null;
8401
8583
  created_at: string;
8584
+ gemaakt_op: string;
8585
+ hash: string;
8402
8586
  id: string;
8403
- is_actief: boolean;
8404
- laatst_gebruikt_op: string | null;
8405
- label: string;
8406
8587
  module_id: string;
8407
- token_hash: string;
8588
+ payload: import("../integrations/supabase/types.js").Json;
8408
8589
  updated_at: string;
8409
- verloopt_op: string | null;
8410
8590
  };
8411
8591
  Insert: {
8412
- aangemaakt_door?: string | null;
8413
8592
  created_at?: string;
8593
+ gemaakt_op?: string;
8594
+ hash: string;
8414
8595
  id?: string;
8415
- is_actief?: boolean;
8416
- laatst_gebruikt_op?: string | null;
8417
- label?: string;
8418
8596
  module_id: string;
8419
- token_hash: string;
8597
+ payload?: import("../integrations/supabase/types.js").Json;
8420
8598
  updated_at?: string;
8421
- verloopt_op?: string | null;
8422
8599
  };
8423
8600
  Update: {
8424
- aangemaakt_door?: string | null;
8425
8601
  created_at?: string;
8602
+ gemaakt_op?: string;
8603
+ hash?: string;
8426
8604
  id?: string;
8427
- is_actief?: boolean;
8428
- laatst_gebruikt_op?: string | null;
8429
- label?: string;
8430
8605
  module_id?: string;
8431
- token_hash?: string;
8606
+ payload?: import("../integrations/supabase/types.js").Json;
8432
8607
  updated_at?: string;
8433
- verloopt_op?: string | null;
8434
8608
  };
8435
8609
  Relationships: [];
8436
8610
  };
@@ -8438,6 +8612,11 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8438
8612
  Row: {
8439
8613
  bevindingen: string | null;
8440
8614
  bezit_tabellen: string[];
8615
+ bron_commit: string | null;
8616
+ bron_pad: string | null;
8617
+ bron_repo: string | null;
8618
+ bron_soort: string | null;
8619
+ bron_versie: string | null;
8441
8620
  conflicten_snapshot: import("../integrations/supabase/types.js").Json;
8442
8621
  contractfuncties: string[];
8443
8622
  created_at: string;
@@ -8448,6 +8627,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8448
8627
  id: string;
8449
8628
  inhoud_md: string;
8450
8629
  is_actueel: boolean;
8630
+ is_gearchiveerd: boolean;
8631
+ laatst_gecontroleerd_op: string | null;
8451
8632
  module_id: string;
8452
8633
  module_titel: string;
8453
8634
  ontbrekende_contracten: string[];
@@ -8458,6 +8639,11 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8458
8639
  Insert: {
8459
8640
  bevindingen?: string | null;
8460
8641
  bezit_tabellen?: string[];
8642
+ bron_commit?: string | null;
8643
+ bron_pad?: string | null;
8644
+ bron_repo?: string | null;
8645
+ bron_soort?: string | null;
8646
+ bron_versie?: string | null;
8461
8647
  conflicten_snapshot?: import("../integrations/supabase/types.js").Json;
8462
8648
  contractfuncties?: string[];
8463
8649
  created_at?: string;
@@ -8468,6 +8654,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8468
8654
  id?: string;
8469
8655
  inhoud_md: string;
8470
8656
  is_actueel?: boolean;
8657
+ is_gearchiveerd?: boolean;
8658
+ laatst_gecontroleerd_op?: string | null;
8471
8659
  module_id: string;
8472
8660
  module_titel: string;
8473
8661
  ontbrekende_contracten?: string[];
@@ -8478,6 +8666,11 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8478
8666
  Update: {
8479
8667
  bevindingen?: string | null;
8480
8668
  bezit_tabellen?: string[];
8669
+ bron_commit?: string | null;
8670
+ bron_pad?: string | null;
8671
+ bron_repo?: string | null;
8672
+ bron_soort?: string | null;
8673
+ bron_versie?: string | null;
8481
8674
  conflicten_snapshot?: import("../integrations/supabase/types.js").Json;
8482
8675
  contractfuncties?: string[];
8483
8676
  created_at?: string;
@@ -8488,6 +8681,8 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8488
8681
  id?: string;
8489
8682
  inhoud_md?: string;
8490
8683
  is_actueel?: boolean;
8684
+ is_gearchiveerd?: boolean;
8685
+ laatst_gecontroleerd_op?: string | null;
8491
8686
  module_id?: string;
8492
8687
  module_titel?: string;
8493
8688
  ontbrekende_contracten?: string[];
@@ -8542,6 +8737,39 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8542
8737
  };
8543
8738
  Relationships: [];
8544
8739
  };
8740
+ itk_module_wijzigingen: {
8741
+ Row: {
8742
+ created_at: string;
8743
+ geconstateerd_op: string;
8744
+ id: string;
8745
+ module_id: string;
8746
+ omschrijving: string;
8747
+ soort: string;
8748
+ updated_at: string;
8749
+ was_na_publicatie: boolean;
8750
+ };
8751
+ Insert: {
8752
+ created_at?: string;
8753
+ geconstateerd_op?: string;
8754
+ id?: string;
8755
+ module_id: string;
8756
+ omschrijving: string;
8757
+ soort: string;
8758
+ updated_at?: string;
8759
+ was_na_publicatie?: boolean;
8760
+ };
8761
+ Update: {
8762
+ created_at?: string;
8763
+ geconstateerd_op?: string;
8764
+ id?: string;
8765
+ module_id?: string;
8766
+ omschrijving?: string;
8767
+ soort?: string;
8768
+ updated_at?: string;
8769
+ was_na_publicatie?: boolean;
8770
+ };
8771
+ Relationships: [];
8772
+ };
8545
8773
  itk_offerte_events: {
8546
8774
  Row: {
8547
8775
  created_at: string;
@@ -8780,12 +9008,24 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8780
9008
  isOneToOne: false;
8781
9009
  referencedRelation: "werkbonnen";
8782
9010
  referencedColumns: ["id"];
9011
+ }, {
9012
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9013
+ columns: ["follow_up_werkbon_id"];
9014
+ isOneToOne: false;
9015
+ referencedRelation: "wo_overview";
9016
+ referencedColumns: ["id"];
8783
9017
  }, {
8784
9018
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8785
9019
  columns: ["werkbon_id"];
8786
9020
  isOneToOne: false;
8787
9021
  referencedRelation: "werkbonnen";
8788
9022
  referencedColumns: ["id"];
9023
+ }, {
9024
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9025
+ columns: ["werkbon_id"];
9026
+ isOneToOne: false;
9027
+ referencedRelation: "wo_overview";
9028
+ referencedColumns: ["id"];
8789
9029
  }, {
8790
9030
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8791
9031
  columns: ["work_location_id"];
@@ -8842,6 +9082,30 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
8842
9082
  referencedColumns: ["id"];
8843
9083
  }];
8844
9084
  };
9085
+ job_locks: {
9086
+ Row: {
9087
+ created_at: string;
9088
+ lock_key: string;
9089
+ locked_until: string;
9090
+ owner: string | null;
9091
+ updated_at: string;
9092
+ };
9093
+ Insert: {
9094
+ created_at?: string;
9095
+ lock_key: string;
9096
+ locked_until: string;
9097
+ owner?: string | null;
9098
+ updated_at?: string;
9099
+ };
9100
+ Update: {
9101
+ created_at?: string;
9102
+ lock_key?: string;
9103
+ locked_until?: string;
9104
+ owner?: string | null;
9105
+ updated_at?: string;
9106
+ };
9107
+ Relationships: [];
9108
+ };
8845
9109
  layout_logos: {
8846
9110
  Row: {
8847
9111
  bestand_url: string;
@@ -9086,6 +9350,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9086
9350
  isOneToOne: false;
9087
9351
  referencedRelation: "product_categories";
9088
9352
  referencedColumns: ["id"];
9353
+ }, {
9354
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9355
+ columns: ["product_id"];
9356
+ isOneToOne: false;
9357
+ referencedRelation: "logistics_product_dimensions";
9358
+ referencedColumns: ["product_id"];
9089
9359
  }, {
9090
9360
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9091
9361
  columns: ["product_id"];
@@ -9152,6 +9422,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9152
9422
  isOneToOne: false;
9153
9423
  referencedRelation: "product_categories";
9154
9424
  referencedColumns: ["id"];
9425
+ }, {
9426
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9427
+ columns: ["product_id"];
9428
+ isOneToOne: false;
9429
+ referencedRelation: "logistics_product_dimensions";
9430
+ referencedColumns: ["product_id"];
9155
9431
  }, {
9156
9432
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9157
9433
  columns: ["product_id"];
@@ -9218,6 +9494,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9218
9494
  isOneToOne: false;
9219
9495
  referencedRelation: "product_categories";
9220
9496
  referencedColumns: ["id"];
9497
+ }, {
9498
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9499
+ columns: ["product_id"];
9500
+ isOneToOne: false;
9501
+ referencedRelation: "logistics_product_dimensions";
9502
+ referencedColumns: ["product_id"];
9221
9503
  }, {
9222
9504
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9223
9505
  columns: ["product_id"];
@@ -9421,6 +9703,75 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9421
9703
  };
9422
9704
  Relationships: [];
9423
9705
  };
9706
+ logistics_control_scan: {
9707
+ Row: {
9708
+ approved_at: string | null;
9709
+ attempts: number;
9710
+ barcode: string;
9711
+ cart_id: string;
9712
+ created_at: string;
9713
+ document_url: string | null;
9714
+ error: string | null;
9715
+ error_code: string | null;
9716
+ fulfillment_order_id: string | null;
9717
+ id: string;
9718
+ is_floriday: boolean;
9719
+ locked_until: string | null;
9720
+ order_id: string | null;
9721
+ order_number: string | null;
9722
+ print_job_id: string | null;
9723
+ printed_at: string | null;
9724
+ printer_id: string | null;
9725
+ scanner_id: string | null;
9726
+ status: string;
9727
+ updated_at: string;
9728
+ };
9729
+ Insert: {
9730
+ approved_at?: string | null;
9731
+ attempts?: number;
9732
+ barcode: string;
9733
+ cart_id: string;
9734
+ created_at?: string;
9735
+ document_url?: string | null;
9736
+ error?: string | null;
9737
+ error_code?: string | null;
9738
+ fulfillment_order_id?: string | null;
9739
+ id?: string;
9740
+ is_floriday?: boolean;
9741
+ locked_until?: string | null;
9742
+ order_id?: string | null;
9743
+ order_number?: string | null;
9744
+ print_job_id?: string | null;
9745
+ printed_at?: string | null;
9746
+ printer_id?: string | null;
9747
+ scanner_id?: string | null;
9748
+ status?: string;
9749
+ updated_at?: string;
9750
+ };
9751
+ Update: {
9752
+ approved_at?: string | null;
9753
+ attempts?: number;
9754
+ barcode?: string;
9755
+ cart_id?: string;
9756
+ created_at?: string;
9757
+ document_url?: string | null;
9758
+ error?: string | null;
9759
+ error_code?: string | null;
9760
+ fulfillment_order_id?: string | null;
9761
+ id?: string;
9762
+ is_floriday?: boolean;
9763
+ locked_until?: string | null;
9764
+ order_id?: string | null;
9765
+ order_number?: string | null;
9766
+ print_job_id?: string | null;
9767
+ printed_at?: string | null;
9768
+ printer_id?: string | null;
9769
+ scanner_id?: string | null;
9770
+ status?: string;
9771
+ updated_at?: string;
9772
+ };
9773
+ Relationships: [];
9774
+ };
9424
9775
  logistics_decisions: {
9425
9776
  Row: {
9426
9777
  created_at: string;
@@ -9706,7 +10057,25 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9706
10057
  };
9707
10058
  Relationships: [];
9708
10059
  };
9709
- logistics_floriday_pushes: {
10060
+ logistics_floriday_carrier_map: {
10061
+ Row: {
10062
+ carrier_code: string;
10063
+ created_at: string;
10064
+ floriday_code: string;
10065
+ };
10066
+ Insert: {
10067
+ carrier_code: string;
10068
+ created_at?: string;
10069
+ floriday_code: string;
10070
+ };
10071
+ Update: {
10072
+ carrier_code?: string;
10073
+ created_at?: string;
10074
+ floriday_code?: string;
10075
+ };
10076
+ Relationships: [];
10077
+ };
10078
+ logistics_floriday_pushes: {
9710
10079
  Row: {
9711
10080
  attempts: number;
9712
10081
  created_at: string;
@@ -9823,6 +10192,36 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9823
10192
  referencedColumns: ["id"];
9824
10193
  }];
9825
10194
  };
10195
+ logistics_layer_override_log: {
10196
+ Row: {
10197
+ cart_id: string;
10198
+ created_at: string;
10199
+ details: import("../integrations/supabase/types.js").Json;
10200
+ id: string;
10201
+ keg_id: string | null;
10202
+ product_id: string | null;
10203
+ reason: string;
10204
+ };
10205
+ Insert: {
10206
+ cart_id: string;
10207
+ created_at?: string;
10208
+ details?: import("../integrations/supabase/types.js").Json;
10209
+ id?: string;
10210
+ keg_id?: string | null;
10211
+ product_id?: string | null;
10212
+ reason: string;
10213
+ };
10214
+ Update: {
10215
+ cart_id?: string;
10216
+ created_at?: string;
10217
+ details?: import("../integrations/supabase/types.js").Json;
10218
+ id?: string;
10219
+ keg_id?: string | null;
10220
+ product_id?: string | null;
10221
+ reason?: string;
10222
+ };
10223
+ Relationships: [];
10224
+ };
9826
10225
  logistics_pickup_moments: {
9827
10226
  Row: {
9828
10227
  carrier_ref: string | null;
@@ -9869,6 +10268,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9869
10268
  next_attempt_at: string;
9870
10269
  order_id: string;
9871
10270
  reason: string;
10271
+ reason_code: string | null;
9872
10272
  status: string;
9873
10273
  updated_at: string;
9874
10274
  };
@@ -9881,6 +10281,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9881
10281
  next_attempt_at?: string;
9882
10282
  order_id: string;
9883
10283
  reason?: string;
10284
+ reason_code?: string | null;
9884
10285
  status?: string;
9885
10286
  updated_at?: string;
9886
10287
  };
@@ -9893,6 +10294,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
9893
10294
  next_attempt_at?: string;
9894
10295
  order_id?: string;
9895
10296
  reason?: string;
10297
+ reason_code?: string | null;
9896
10298
  status?: string;
9897
10299
  updated_at?: string;
9898
10300
  };
@@ -10597,6 +10999,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
10597
10999
  referencedColumns: ["id"];
10598
11000
  }];
10599
11001
  };
11002
+ logistics_tick_heartbeat: {
11003
+ Row: {
11004
+ id: boolean;
11005
+ last_tick_at: string;
11006
+ };
11007
+ Insert: {
11008
+ id?: boolean;
11009
+ last_tick_at?: string;
11010
+ };
11011
+ Update: {
11012
+ id?: boolean;
11013
+ last_tick_at?: string;
11014
+ };
11015
+ Relationships: [];
11016
+ };
10600
11017
  logistics_variables: {
10601
11018
  Row: {
10602
11019
  created_at: string;
@@ -11028,6 +11445,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
11028
11445
  updated_at?: string;
11029
11446
  };
11030
11447
  Relationships: [{
11448
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11449
+ columns: ["product_id"];
11450
+ isOneToOne: false;
11451
+ referencedRelation: "logistics_product_dimensions";
11452
+ referencedColumns: ["product_id"];
11453
+ }, {
11031
11454
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11032
11455
  columns: ["product_id"];
11033
11456
  isOneToOne: false;
@@ -12440,6 +12863,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12440
12863
  isOneToOne: false;
12441
12864
  referencedRelation: "order_items";
12442
12865
  referencedColumns: ["id"];
12866
+ }, {
12867
+ foreignKeyName: "order_cart_items_product_id_fkey";
12868
+ columns: ["product_id"];
12869
+ isOneToOne: false;
12870
+ referencedRelation: "logistics_product_dimensions";
12871
+ referencedColumns: ["product_id"];
12443
12872
  }, {
12444
12873
  foreignKeyName: "order_cart_items_product_id_fkey";
12445
12874
  columns: ["product_id"];
@@ -12448,6 +12877,93 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12448
12877
  referencedColumns: ["id"];
12449
12878
  }];
12450
12879
  };
12880
+ order_cart_layer_positions: {
12881
+ Row: {
12882
+ algorithm_version: number | null;
12883
+ cart_id: string;
12884
+ created_at: string;
12885
+ height: number;
12886
+ id: string;
12887
+ keg_id: string;
12888
+ label: string | null;
12889
+ layer: number;
12890
+ layer_height: number | null;
12891
+ layer_width: number | null;
12892
+ manual_overridden_at: string | null;
12893
+ manual_overridden_by: string | null;
12894
+ manual_override: boolean;
12895
+ order_item_id: string | null;
12896
+ original_layer: number | null;
12897
+ original_x: number | null;
12898
+ original_y: number | null;
12899
+ product_id: string | null;
12900
+ rotation: number;
12901
+ source: string | null;
12902
+ updated_at: string;
12903
+ width: number;
12904
+ x: number;
12905
+ y: number;
12906
+ };
12907
+ Insert: {
12908
+ algorithm_version?: number | null;
12909
+ cart_id: string;
12910
+ created_at?: string;
12911
+ height: number;
12912
+ id?: string;
12913
+ keg_id: string;
12914
+ label?: string | null;
12915
+ layer: number;
12916
+ layer_height?: number | null;
12917
+ layer_width?: number | null;
12918
+ manual_overridden_at?: string | null;
12919
+ manual_overridden_by?: string | null;
12920
+ manual_override?: boolean;
12921
+ order_item_id?: string | null;
12922
+ original_layer?: number | null;
12923
+ original_x?: number | null;
12924
+ original_y?: number | null;
12925
+ product_id?: string | null;
12926
+ rotation?: number;
12927
+ source?: string | null;
12928
+ updated_at?: string;
12929
+ width: number;
12930
+ x: number;
12931
+ y: number;
12932
+ };
12933
+ Update: {
12934
+ algorithm_version?: number | null;
12935
+ cart_id?: string;
12936
+ created_at?: string;
12937
+ height?: number;
12938
+ id?: string;
12939
+ keg_id?: string;
12940
+ label?: string | null;
12941
+ layer?: number;
12942
+ layer_height?: number | null;
12943
+ layer_width?: number | null;
12944
+ manual_overridden_at?: string | null;
12945
+ manual_overridden_by?: string | null;
12946
+ manual_override?: boolean;
12947
+ order_item_id?: string | null;
12948
+ original_layer?: number | null;
12949
+ original_x?: number | null;
12950
+ original_y?: number | null;
12951
+ product_id?: string | null;
12952
+ rotation?: number;
12953
+ source?: string | null;
12954
+ updated_at?: string;
12955
+ width?: number;
12956
+ x?: number;
12957
+ y?: number;
12958
+ };
12959
+ Relationships: [{
12960
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12961
+ columns: ["cart_id"];
12962
+ isOneToOne: false;
12963
+ referencedRelation: "order_carts";
12964
+ referencedColumns: ["id"];
12965
+ }];
12966
+ };
12451
12967
  order_carts: {
12452
12968
  Row: {
12453
12969
  algorithm_version: number;
@@ -12470,6 +12986,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12470
12986
  pickup_locked: boolean;
12471
12987
  pickup_moment_id: string | null;
12472
12988
  source: string;
12989
+ total_carts: number | null;
12473
12990
  total_layers_used: number;
12474
12991
  updated_at: string;
12475
12992
  weight_kg: number | null;
@@ -12495,6 +13012,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12495
13012
  pickup_locked?: boolean;
12496
13013
  pickup_moment_id?: string | null;
12497
13014
  source?: string;
13015
+ total_carts?: number | null;
12498
13016
  total_layers_used?: number;
12499
13017
  updated_at?: string;
12500
13018
  weight_kg?: number | null;
@@ -12520,6 +13038,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12520
13038
  pickup_locked?: boolean;
12521
13039
  pickup_moment_id?: string | null;
12522
13040
  source?: string;
13041
+ total_carts?: number | null;
12523
13042
  total_layers_used?: number;
12524
13043
  updated_at?: string;
12525
13044
  weight_kg?: number | null;
@@ -12622,6 +13141,39 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12622
13141
  };
12623
13142
  Relationships: [];
12624
13143
  };
13144
+ order_fust_bookings: {
13145
+ Row: {
13146
+ created_at: string;
13147
+ fust_type_id: string;
13148
+ id: string;
13149
+ order_item_id: string;
13150
+ quantity: number;
13151
+ updated_at: string;
13152
+ };
13153
+ Insert: {
13154
+ created_at?: string;
13155
+ fust_type_id: string;
13156
+ id?: string;
13157
+ order_item_id: string;
13158
+ quantity?: number;
13159
+ updated_at?: string;
13160
+ };
13161
+ Update: {
13162
+ created_at?: string;
13163
+ fust_type_id?: string;
13164
+ id?: string;
13165
+ order_item_id?: string;
13166
+ quantity?: number;
13167
+ updated_at?: string;
13168
+ };
13169
+ Relationships: [{
13170
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13171
+ columns: ["fust_type_id"];
13172
+ isOneToOne: false;
13173
+ referencedRelation: "fust_types";
13174
+ referencedColumns: ["id"];
13175
+ }];
13176
+ };
12625
13177
  order_invoice_links: {
12626
13178
  Row: {
12627
13179
  administration_code: string | null;
@@ -12710,6 +13262,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12710
13262
  isOneToOne: false;
12711
13263
  referencedRelation: "orders";
12712
13264
  referencedColumns: ["id"];
13265
+ }, {
13266
+ foreignKeyName: "order_items_product_id_fkey";
13267
+ columns: ["product_id"];
13268
+ isOneToOne: false;
13269
+ referencedRelation: "logistics_product_dimensions";
13270
+ referencedColumns: ["product_id"];
12713
13271
  }, {
12714
13272
  foreignKeyName: "order_items_product_id_fkey";
12715
13273
  columns: ["product_id"];
@@ -12857,6 +13415,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12857
13415
  plan_locked_at: string | null;
12858
13416
  plan_locked_ref: string | null;
12859
13417
  status: string;
13418
+ status_changed_at: string;
13419
+ status_origin: string;
13420
+ status_sync_token: string | null;
12860
13421
  total: string;
12861
13422
  updated_at: string;
12862
13423
  };
@@ -12881,6 +13442,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12881
13442
  plan_locked_at?: string | null;
12882
13443
  plan_locked_ref?: string | null;
12883
13444
  status?: string;
13445
+ status_changed_at?: string;
13446
+ status_origin?: string;
13447
+ status_sync_token?: string | null;
12884
13448
  total?: string;
12885
13449
  updated_at?: string;
12886
13450
  };
@@ -12905,6 +13469,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
12905
13469
  plan_locked_at?: string | null;
12906
13470
  plan_locked_ref?: string | null;
12907
13471
  status?: string;
13472
+ status_changed_at?: string;
13473
+ status_origin?: string;
13474
+ status_sync_token?: string | null;
12908
13475
  total?: string;
12909
13476
  updated_at?: string;
12910
13477
  };
@@ -13015,6 +13582,96 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
13015
13582
  };
13016
13583
  Relationships: [];
13017
13584
  };
13585
+ pakbon_barcode_verzoeken: {
13586
+ Row: {
13587
+ aangevraagd_op: string;
13588
+ barcode: string | null;
13589
+ cart_id: string | null;
13590
+ cart_index: number | null;
13591
+ cart_label: string | null;
13592
+ cart_total: number | null;
13593
+ documentnaam: string | null;
13594
+ geleverd_op: string | null;
13595
+ id: string;
13596
+ is_herprint: boolean;
13597
+ klant_naam: string | null;
13598
+ klant_nummer: string | null;
13599
+ laatst_gevraagd_op: string;
13600
+ layout_id: string | null;
13601
+ layout_variant: string | null;
13602
+ order_nummer: string | null;
13603
+ order_ref: string | null;
13604
+ print_job_id: string;
13605
+ status: string;
13606
+ updated_at: string;
13607
+ };
13608
+ Insert: {
13609
+ aangevraagd_op?: string;
13610
+ barcode?: string | null;
13611
+ cart_id?: string | null;
13612
+ cart_index?: number | null;
13613
+ cart_label?: string | null;
13614
+ cart_total?: number | null;
13615
+ documentnaam?: string | null;
13616
+ geleverd_op?: string | null;
13617
+ id?: string;
13618
+ is_herprint?: boolean;
13619
+ klant_naam?: string | null;
13620
+ klant_nummer?: string | null;
13621
+ laatst_gevraagd_op?: string;
13622
+ layout_id?: string | null;
13623
+ layout_variant?: string | null;
13624
+ order_nummer?: string | null;
13625
+ order_ref?: string | null;
13626
+ print_job_id: string;
13627
+ status?: string;
13628
+ updated_at?: string;
13629
+ };
13630
+ Update: {
13631
+ aangevraagd_op?: string;
13632
+ barcode?: string | null;
13633
+ cart_id?: string | null;
13634
+ cart_index?: number | null;
13635
+ cart_label?: string | null;
13636
+ cart_total?: number | null;
13637
+ documentnaam?: string | null;
13638
+ geleverd_op?: string | null;
13639
+ id?: string;
13640
+ is_herprint?: boolean;
13641
+ klant_naam?: string | null;
13642
+ klant_nummer?: string | null;
13643
+ laatst_gevraagd_op?: string;
13644
+ layout_id?: string | null;
13645
+ layout_variant?: string | null;
13646
+ order_nummer?: string | null;
13647
+ order_ref?: string | null;
13648
+ print_job_id?: string;
13649
+ status?: string;
13650
+ updated_at?: string;
13651
+ };
13652
+ Relationships: [];
13653
+ };
13654
+ pick_buffer_event_cursor: {
13655
+ Row: {
13656
+ created_at: string;
13657
+ id: boolean;
13658
+ last_event_at: string;
13659
+ updated_at: string;
13660
+ };
13661
+ Insert: {
13662
+ created_at?: string;
13663
+ id?: boolean;
13664
+ last_event_at?: string;
13665
+ updated_at?: string;
13666
+ };
13667
+ Update: {
13668
+ created_at?: string;
13669
+ id?: boolean;
13670
+ last_event_at?: string;
13671
+ updated_at?: string;
13672
+ };
13673
+ Relationships: [];
13674
+ };
13018
13675
  pick_countries: {
13019
13676
  Row: {
13020
13677
  active: boolean;
@@ -14093,6 +14750,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14093
14750
  isOneToOne: false;
14094
14751
  referencedRelation: "werkbonnen";
14095
14752
  referencedColumns: ["id"];
14753
+ }, {
14754
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14755
+ columns: ["werkbon_id"];
14756
+ isOneToOne: false;
14757
+ referencedRelation: "wo_overview";
14758
+ referencedColumns: ["id"];
14096
14759
  }];
14097
14760
  };
14098
14761
  print_agents: {
@@ -14208,12 +14871,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14208
14871
  };
14209
14872
  print_jobs: {
14210
14873
  Row: {
14874
+ aflever_pogingen: number;
14211
14875
  agent_id: string | null;
14876
+ artefact_bytes: number | null;
14877
+ artefact_gereed_op: string | null;
14878
+ artefact_pad: string | null;
14879
+ artefact_sha256: string | null;
14880
+ batch_id: string | null;
14212
14881
  bron_job_id: string | null;
14213
14882
  created_at: string;
14214
14883
  documentnaam: string;
14215
14884
  documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
14216
14885
  extern_job_id: string | null;
14886
+ fase_gestart_op: string | null;
14887
+ fase_voltooid_op: string | null;
14888
+ foutcode: string | null;
14217
14889
  foutmelding: string | null;
14218
14890
  gebruiker_id: string | null;
14219
14891
  gebruiker_naam: string;
@@ -14227,7 +14899,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14227
14899
  kopieen: number;
14228
14900
  layout_id: string | null;
14229
14901
  lokaal_opgeslagen_op: string | null;
14902
+ lokale_pdf_claim_id: string | null;
14903
+ lokale_pdf_claim_tot: string | null;
14230
14904
  lokale_pdf_fout: string | null;
14905
+ lokale_pdf_print_plek_id: string | null;
14231
14906
  lokale_pdf_status: string | null;
14232
14907
  opgepakt_op: string | null;
14233
14908
  paginas: number;
@@ -14240,16 +14915,26 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14240
14915
  resultaat_pdf_base64: string | null;
14241
14916
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
14242
14917
  updated_at: string;
14918
+ verwerkingsfase: string;
14243
14919
  volgende_poging: string | null;
14244
14920
  voltooid_op: string | null;
14245
14921
  };
14246
14922
  Insert: {
14923
+ aflever_pogingen?: number;
14247
14924
  agent_id?: string | null;
14925
+ artefact_bytes?: number | null;
14926
+ artefact_gereed_op?: string | null;
14927
+ artefact_pad?: string | null;
14928
+ artefact_sha256?: string | null;
14929
+ batch_id?: string | null;
14248
14930
  bron_job_id?: string | null;
14249
14931
  created_at?: string;
14250
14932
  documentnaam?: string;
14251
14933
  documenttype?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
14252
14934
  extern_job_id?: string | null;
14935
+ fase_gestart_op?: string | null;
14936
+ fase_voltooid_op?: string | null;
14937
+ foutcode?: string | null;
14253
14938
  foutmelding?: string | null;
14254
14939
  gebruiker_id?: string | null;
14255
14940
  gebruiker_naam?: string;
@@ -14263,7 +14948,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14263
14948
  kopieen?: number;
14264
14949
  layout_id?: string | null;
14265
14950
  lokaal_opgeslagen_op?: string | null;
14951
+ lokale_pdf_claim_id?: string | null;
14952
+ lokale_pdf_claim_tot?: string | null;
14266
14953
  lokale_pdf_fout?: string | null;
14954
+ lokale_pdf_print_plek_id?: string | null;
14267
14955
  lokale_pdf_status?: string | null;
14268
14956
  opgepakt_op?: string | null;
14269
14957
  paginas?: number;
@@ -14276,16 +14964,26 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14276
14964
  resultaat_pdf_base64?: string | null;
14277
14965
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
14278
14966
  updated_at?: string;
14967
+ verwerkingsfase?: string;
14279
14968
  volgende_poging?: string | null;
14280
14969
  voltooid_op?: string | null;
14281
14970
  };
14282
14971
  Update: {
14972
+ aflever_pogingen?: number;
14283
14973
  agent_id?: string | null;
14974
+ artefact_bytes?: number | null;
14975
+ artefact_gereed_op?: string | null;
14976
+ artefact_pad?: string | null;
14977
+ artefact_sha256?: string | null;
14978
+ batch_id?: string | null;
14284
14979
  bron_job_id?: string | null;
14285
14980
  created_at?: string;
14286
14981
  documentnaam?: string;
14287
14982
  documenttype?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
14288
14983
  extern_job_id?: string | null;
14984
+ fase_gestart_op?: string | null;
14985
+ fase_voltooid_op?: string | null;
14986
+ foutcode?: string | null;
14289
14987
  foutmelding?: string | null;
14290
14988
  gebruiker_id?: string | null;
14291
14989
  gebruiker_naam?: string;
@@ -14299,7 +14997,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14299
14997
  kopieen?: number;
14300
14998
  layout_id?: string | null;
14301
14999
  lokaal_opgeslagen_op?: string | null;
15000
+ lokale_pdf_claim_id?: string | null;
15001
+ lokale_pdf_claim_tot?: string | null;
14302
15002
  lokale_pdf_fout?: string | null;
15003
+ lokale_pdf_print_plek_id?: string | null;
14303
15004
  lokale_pdf_status?: string | null;
14304
15005
  opgepakt_op?: string | null;
14305
15006
  paginas?: number;
@@ -14312,6 +15013,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14312
15013
  resultaat_pdf_base64?: string | null;
14313
15014
  status?: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
14314
15015
  updated_at?: string;
15016
+ verwerkingsfase?: string;
14315
15017
  volgende_poging?: string | null;
14316
15018
  voltooid_op?: string | null;
14317
15019
  };
@@ -14327,6 +15029,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14327
15029
  isOneToOne: false;
14328
15030
  referencedRelation: "document_layouts";
14329
15031
  referencedColumns: ["id"];
15032
+ }, {
15033
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
15034
+ columns: ["lokale_pdf_print_plek_id"];
15035
+ isOneToOne: false;
15036
+ referencedRelation: "print_plekken";
15037
+ referencedColumns: ["id"];
14330
15038
  }, {
14331
15039
  foreignKeyName: "print_jobs_printer_id_fkey";
14332
15040
  columns: ["printer_id"];
@@ -14461,6 +15169,30 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14461
15169
  };
14462
15170
  Relationships: [];
14463
15171
  };
15172
+ print_queue_leases: {
15173
+ Row: {
15174
+ created_at: string;
15175
+ houder: string;
15176
+ naam: string;
15177
+ updated_at: string;
15178
+ verloopt_op: string;
15179
+ };
15180
+ Insert: {
15181
+ created_at?: string;
15182
+ houder: string;
15183
+ naam: string;
15184
+ updated_at?: string;
15185
+ verloopt_op: string;
15186
+ };
15187
+ Update: {
15188
+ created_at?: string;
15189
+ houder?: string;
15190
+ naam?: string;
15191
+ updated_at?: string;
15192
+ verloopt_op?: string;
15193
+ };
15194
+ Relationships: [];
15195
+ };
14464
15196
  print_queue_runners: {
14465
15197
  Row: {
14466
15198
  actief: boolean;
@@ -14470,7 +15202,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14470
15202
  laatst_gezien: string;
14471
15203
  laatste_fout: string | null;
14472
15204
  laatste_request_id: number | null;
15205
+ laatste_wakeup: string | null;
14473
15206
  mislukte_posts: number;
15207
+ mislukte_wakeups: number;
14474
15208
  tick_sleutel: string;
14475
15209
  updated_at: string;
14476
15210
  };
@@ -14482,7 +15216,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14482
15216
  laatst_gezien?: string;
14483
15217
  laatste_fout?: string | null;
14484
15218
  laatste_request_id?: number | null;
15219
+ laatste_wakeup?: string | null;
14485
15220
  mislukte_posts?: number;
15221
+ mislukte_wakeups?: number;
14486
15222
  tick_sleutel?: string;
14487
15223
  updated_at?: string;
14488
15224
  };
@@ -14494,7 +15230,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14494
15230
  laatst_gezien?: string;
14495
15231
  laatste_fout?: string | null;
14496
15232
  laatste_request_id?: number | null;
15233
+ laatste_wakeup?: string | null;
14497
15234
  mislukte_posts?: number;
15235
+ mislukte_wakeups?: number;
14498
15236
  tick_sleutel?: string;
14499
15237
  updated_at?: string;
14500
15238
  };
@@ -14808,6 +15546,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14808
15546
  updated_at?: string;
14809
15547
  };
14810
15548
  Relationships: [{
15549
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15550
+ columns: ["parent_product_id"];
15551
+ isOneToOne: false;
15552
+ referencedRelation: "logistics_product_dimensions";
15553
+ referencedColumns: ["product_id"];
15554
+ }, {
14811
15555
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14812
15556
  columns: ["parent_product_id"];
14813
15557
  isOneToOne: false;
@@ -14862,11 +15606,23 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
14862
15606
  updated_at?: string;
14863
15607
  };
14864
15608
  Relationships: [{
15609
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15610
+ columns: ["component_product_id"];
15611
+ isOneToOne: false;
15612
+ referencedRelation: "logistics_product_dimensions";
15613
+ referencedColumns: ["product_id"];
15614
+ }, {
14865
15615
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14866
15616
  columns: ["component_product_id"];
14867
15617
  isOneToOne: false;
14868
15618
  referencedRelation: "products";
14869
15619
  referencedColumns: ["id"];
15620
+ }, {
15621
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15622
+ columns: ["parent_product_id"];
15623
+ isOneToOne: false;
15624
+ referencedRelation: "logistics_product_dimensions";
15625
+ referencedColumns: ["product_id"];
14870
15626
  }, {
14871
15627
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14872
15628
  columns: ["parent_product_id"];
@@ -15042,6 +15798,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15042
15798
  updated_at?: string;
15043
15799
  };
15044
15800
  Relationships: [{
15801
+ foreignKeyName: "product_groups_head_product_id_fkey";
15802
+ columns: ["head_product_id"];
15803
+ isOneToOne: false;
15804
+ referencedRelation: "logistics_product_dimensions";
15805
+ referencedColumns: ["product_id"];
15806
+ }, {
15045
15807
  foreignKeyName: "product_groups_head_product_id_fkey";
15046
15808
  columns: ["head_product_id"];
15047
15809
  isOneToOne: false;
@@ -15107,6 +15869,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15107
15869
  isOneToOne: false;
15108
15870
  referencedRelation: "packages";
15109
15871
  referencedColumns: ["id"];
15872
+ }, {
15873
+ foreignKeyName: "product_load_settings_product_id_fkey";
15874
+ columns: ["product_id"];
15875
+ isOneToOne: false;
15876
+ referencedRelation: "logistics_product_dimensions";
15877
+ referencedColumns: ["product_id"];
15110
15878
  }, {
15111
15879
  foreignKeyName: "product_load_settings_product_id_fkey";
15112
15880
  columns: ["product_id"];
@@ -15573,6 +16341,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15573
16341
  quantity?: number;
15574
16342
  };
15575
16343
  Relationships: [{
16344
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16345
+ columns: ["product_id"];
16346
+ isOneToOne: false;
16347
+ referencedRelation: "logistics_product_dimensions";
16348
+ referencedColumns: ["product_id"];
16349
+ }, {
15576
16350
  foreignKeyName: "purchase_order_items_product_id_fkey";
15577
16351
  columns: ["product_id"];
15578
16352
  isOneToOne: false;
@@ -15892,7 +16666,103 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
15892
16666
  referencedColumns: ["id"];
15893
16667
  }];
15894
16668
  };
15895
- scan_karren: {
16669
+ scan_kar_sessie_regels: {
16670
+ Row: {
16671
+ barcode: string;
16672
+ cart_id: string | null;
16673
+ created_at: string;
16674
+ id: string;
16675
+ order_id: string | null;
16676
+ order_number: string | null;
16677
+ regels: import("../integrations/supabase/types.js").Json;
16678
+ sessie_id: string;
16679
+ volledig: boolean;
16680
+ };
16681
+ Insert: {
16682
+ barcode: string;
16683
+ cart_id?: string | null;
16684
+ created_at?: string;
16685
+ id?: string;
16686
+ order_id?: string | null;
16687
+ order_number?: string | null;
16688
+ regels?: import("../integrations/supabase/types.js").Json;
16689
+ sessie_id: string;
16690
+ volledig?: boolean;
16691
+ };
16692
+ Update: {
16693
+ barcode?: string;
16694
+ cart_id?: string | null;
16695
+ created_at?: string;
16696
+ id?: string;
16697
+ order_id?: string | null;
16698
+ order_number?: string | null;
16699
+ regels?: import("../integrations/supabase/types.js").Json;
16700
+ sessie_id?: string;
16701
+ volledig?: boolean;
16702
+ };
16703
+ Relationships: [{
16704
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16705
+ columns: ["sessie_id"];
16706
+ isOneToOne: false;
16707
+ referencedRelation: "scan_kar_sessies";
16708
+ referencedColumns: ["id"];
16709
+ }];
16710
+ };
16711
+ scan_kar_sessies: {
16712
+ Row: {
16713
+ afgerond_op: string | null;
16714
+ cart_id: string | null;
16715
+ cart_index: number | null;
16716
+ cart_total: number | null;
16717
+ created_at: string;
16718
+ id: string;
16719
+ klant_naam: string | null;
16720
+ medewerker_naam: string | null;
16721
+ order_id: string | null;
16722
+ order_number: string | null;
16723
+ scanner_id: string | null;
16724
+ status: string;
16725
+ updated_at: string;
16726
+ };
16727
+ Insert: {
16728
+ afgerond_op?: string | null;
16729
+ cart_id?: string | null;
16730
+ cart_index?: number | null;
16731
+ cart_total?: number | null;
16732
+ created_at?: string;
16733
+ id?: string;
16734
+ klant_naam?: string | null;
16735
+ medewerker_naam?: string | null;
16736
+ order_id?: string | null;
16737
+ order_number?: string | null;
16738
+ scanner_id?: string | null;
16739
+ status?: string;
16740
+ updated_at?: string;
16741
+ };
16742
+ Update: {
16743
+ afgerond_op?: string | null;
16744
+ cart_id?: string | null;
16745
+ cart_index?: number | null;
16746
+ cart_total?: number | null;
16747
+ created_at?: string;
16748
+ id?: string;
16749
+ klant_naam?: string | null;
16750
+ medewerker_naam?: string | null;
16751
+ order_id?: string | null;
16752
+ order_number?: string | null;
16753
+ scanner_id?: string | null;
16754
+ status?: string;
16755
+ updated_at?: string;
16756
+ };
16757
+ Relationships: [{
16758
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16759
+ columns: ["scanner_id"];
16760
+ isOneToOne: false;
16761
+ referencedRelation: "scan_scanners";
16762
+ referencedColumns: ["id"];
16763
+ }];
16764
+ };
16765
+ scan_karren: {
15896
16766
  Row: {
15897
16767
  afgerond_op: string | null;
15898
16768
  buffer_key: string | null;
@@ -16096,6 +16966,60 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16096
16966
  };
16097
16967
  Relationships: [];
16098
16968
  };
16969
+ scan_restpakbonnen: {
16970
+ Row: {
16971
+ barcode: string;
16972
+ bron_barcode: string | null;
16973
+ cart_id: string | null;
16974
+ cart_index: number | null;
16975
+ cart_total: number | null;
16976
+ created_at: string;
16977
+ geprint_op: string | null;
16978
+ id: string;
16979
+ klant_naam: string | null;
16980
+ order_id: string | null;
16981
+ order_number: string | null;
16982
+ print_job_id: string | null;
16983
+ regels: import("../integrations/supabase/types.js").Json;
16984
+ updated_at: string;
16985
+ verwerkt: boolean;
16986
+ };
16987
+ Insert: {
16988
+ barcode: string;
16989
+ bron_barcode?: string | null;
16990
+ cart_id?: string | null;
16991
+ cart_index?: number | null;
16992
+ cart_total?: number | null;
16993
+ created_at?: string;
16994
+ geprint_op?: string | null;
16995
+ id?: string;
16996
+ klant_naam?: string | null;
16997
+ order_id?: string | null;
16998
+ order_number?: string | null;
16999
+ print_job_id?: string | null;
17000
+ regels?: import("../integrations/supabase/types.js").Json;
17001
+ updated_at?: string;
17002
+ verwerkt?: boolean;
17003
+ };
17004
+ Update: {
17005
+ barcode?: string;
17006
+ bron_barcode?: string | null;
17007
+ cart_id?: string | null;
17008
+ cart_index?: number | null;
17009
+ cart_total?: number | null;
17010
+ created_at?: string;
17011
+ geprint_op?: string | null;
17012
+ id?: string;
17013
+ klant_naam?: string | null;
17014
+ order_id?: string | null;
17015
+ order_number?: string | null;
17016
+ print_job_id?: string | null;
17017
+ regels?: import("../integrations/supabase/types.js").Json;
17018
+ updated_at?: string;
17019
+ verwerkt?: boolean;
17020
+ };
17021
+ Relationships: [];
17022
+ };
16099
17023
  scan_scanners: {
16100
17024
  Row: {
16101
17025
  actief: boolean;
@@ -16105,6 +17029,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16105
17029
  naam: string;
16106
17030
  omschrijving: string | null;
16107
17031
  pincode: string | null;
17032
+ printer_id: string | null;
16108
17033
  slug: string;
16109
17034
  type: string;
16110
17035
  updated_at: string;
@@ -16119,6 +17044,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16119
17044
  naam: string;
16120
17045
  omschrijving?: string | null;
16121
17046
  pincode?: string | null;
17047
+ printer_id?: string | null;
16122
17048
  slug: string;
16123
17049
  type?: string;
16124
17050
  updated_at?: string;
@@ -16133,6 +17059,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16133
17059
  naam?: string;
16134
17060
  omschrijving?: string | null;
16135
17061
  pincode?: string | null;
17062
+ printer_id?: string | null;
16136
17063
  slug?: string;
16137
17064
  type?: string;
16138
17065
  updated_at?: string;
@@ -16141,6 +17068,27 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16141
17068
  };
16142
17069
  Relationships: [];
16143
17070
  };
17071
+ shell_settings: {
17072
+ Row: {
17073
+ created_at: string;
17074
+ default_path: string | null;
17075
+ shell_id: string;
17076
+ updated_at: string;
17077
+ };
17078
+ Insert: {
17079
+ created_at?: string;
17080
+ default_path?: string | null;
17081
+ shell_id: string;
17082
+ updated_at?: string;
17083
+ };
17084
+ Update: {
17085
+ created_at?: string;
17086
+ default_path?: string | null;
17087
+ shell_id?: string;
17088
+ updated_at?: string;
17089
+ };
17090
+ Relationships: [];
17091
+ };
16144
17092
  sick_periods: {
16145
17093
  Row: {
16146
17094
  created_at: string;
@@ -16760,6 +17708,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
16760
17708
  isOneToOne: false;
16761
17709
  referencedRelation: "werkbonnen";
16762
17710
  referencedColumns: ["id"];
17711
+ }, {
17712
+ foreignKeyName: "time_logs_work_order_id_fkey";
17713
+ columns: ["work_order_id"];
17714
+ isOneToOne: false;
17715
+ referencedRelation: "wo_overview";
17716
+ referencedColumns: ["id"];
16763
17717
  }];
16764
17718
  };
16765
17719
  time_off_entries: {
@@ -18053,6 +19007,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
18053
19007
  isOneToOne: false;
18054
19008
  referencedRelation: "werkbonnen";
18055
19009
  referencedColumns: ["id"];
19010
+ }, {
19011
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
19012
+ columns: ["werkbon_id"];
19013
+ isOneToOne: false;
19014
+ referencedRelation: "wo_overview";
19015
+ referencedColumns: ["id"];
18056
19016
  }];
18057
19017
  };
18058
19018
  uren_exports: {
@@ -18776,6 +19736,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
18776
19736
  isOneToOne: true;
18777
19737
  referencedRelation: "werkbonnen";
18778
19738
  referencedColumns: ["id"];
19739
+ }, {
19740
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19741
+ columns: ["werkbon_id"];
19742
+ isOneToOne: true;
19743
+ referencedRelation: "wo_overview";
19744
+ referencedColumns: ["id"];
18779
19745
  }];
18780
19746
  };
18781
19747
  werkbon_facturatie_settings: {
@@ -18863,6 +19829,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
18863
19829
  isOneToOne: false;
18864
19830
  referencedRelation: "werkbonnen";
18865
19831
  referencedColumns: ["id"];
19832
+ }, {
19833
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19834
+ columns: ["werkbon_id"];
19835
+ isOneToOne: false;
19836
+ referencedRelation: "wo_overview";
19837
+ referencedColumns: ["id"];
18866
19838
  }];
18867
19839
  };
18868
19840
  werkbon_package_ai_rules: {
@@ -19046,6 +20018,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19046
20018
  isOneToOne: false;
19047
20019
  referencedRelation: "werkbonnen";
19048
20020
  referencedColumns: ["id"];
20021
+ }, {
20022
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20023
+ columns: ["werkbon_id"];
20024
+ isOneToOne: false;
20025
+ referencedRelation: "wo_overview";
20026
+ referencedColumns: ["id"];
19049
20027
  }];
19050
20028
  };
19051
20029
  werkbon_packages: {
@@ -19136,6 +20114,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19136
20114
  isOneToOne: false;
19137
20115
  referencedRelation: "werkbonnen";
19138
20116
  referencedColumns: ["id"];
20117
+ }, {
20118
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20119
+ columns: ["werkbon_id"];
20120
+ isOneToOne: false;
20121
+ referencedRelation: "wo_overview";
20122
+ referencedColumns: ["id"];
19139
20123
  }];
19140
20124
  };
19141
20125
  werkbon_time_logs: {
@@ -19175,6 +20159,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19175
20159
  isOneToOne: false;
19176
20160
  referencedRelation: "werkbonnen";
19177
20161
  referencedColumns: ["id"];
20162
+ }, {
20163
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20164
+ columns: ["werkbon_id"];
20165
+ isOneToOne: false;
20166
+ referencedRelation: "wo_overview";
20167
+ referencedColumns: ["id"];
19178
20168
  }];
19179
20169
  };
19180
20170
  werkbonnen: {
@@ -19298,6 +20288,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19298
20288
  isOneToOne: false;
19299
20289
  referencedRelation: "werkbonnen";
19300
20290
  referencedColumns: ["id"];
20291
+ }, {
20292
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20293
+ columns: ["parent_werkbon_id"];
20294
+ isOneToOne: false;
20295
+ referencedRelation: "wo_overview";
20296
+ referencedColumns: ["id"];
19301
20297
  }, {
19302
20298
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19303
20299
  columns: ["source_mailbox_message_id"];
@@ -19766,6 +20762,24 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19766
20762
  };
19767
20763
  Relationships: [];
19768
20764
  };
20765
+ logistics_product_dimensions: {
20766
+ Row: {
20767
+ dimension_source: string | null;
20768
+ fust_height_mm: number | null;
20769
+ fust_length_mm: number | null;
20770
+ fust_name: string | null;
20771
+ fust_source: string | null;
20772
+ fust_type_id: string | null;
20773
+ fust_width_mm: number | null;
20774
+ height_source: string | null;
20775
+ missing_reason: string | null;
20776
+ plant_height_cm: number | null;
20777
+ plants_per_crate: number | null;
20778
+ product_id: string | null;
20779
+ product_name: string | null;
20780
+ };
20781
+ Relationships: [];
20782
+ };
19769
20783
  manufacture_product_possible_stock_view: {
19770
20784
  Row: {
19771
20785
  component_count: number | null;
@@ -19803,6 +20817,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
19803
20817
  isOneToOne: false;
19804
20818
  referencedRelation: "werkbonnen";
19805
20819
  referencedColumns: ["id"];
20820
+ }, {
20821
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20822
+ columns: ["werkbon_id"];
20823
+ isOneToOne: false;
20824
+ referencedRelation: "wo_overview";
20825
+ referencedColumns: ["id"];
19806
20826
  }];
19807
20827
  };
19808
20828
  product_group_stock_view: {
@@ -20264,31 +21284,106 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20264
21284
  isOneToOne: false;
20265
21285
  referencedRelation: "werkbonnen";
20266
21286
  referencedColumns: ["id"];
21287
+ }, {
21288
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21289
+ columns: ["werkbon_id"];
21290
+ isOneToOne: false;
21291
+ referencedRelation: "wo_overview";
21292
+ referencedColumns: ["id"];
20267
21293
  }];
20268
21294
  };
20269
- };
20270
- Functions: {
20271
- _floriday_schedule_job: {
20272
- Args: {
20273
- p_apikey: string;
20274
- p_jobname: string;
20275
- p_schedule: string;
20276
- p_timeout_ms: number;
20277
- p_url: string;
20278
- };
20279
- Returns: number;
20280
- };
20281
- _migrate_rewrite_stock_key: {
20282
- Args: {
20283
- _from_key: string;
20284
- _to_key: string;
21295
+ wo_overview: {
21296
+ Row: {
21297
+ assigned_user_id: string | null;
21298
+ budget_mandate_cents: number | null;
21299
+ created_at: string | null;
21300
+ customer_id: string | null;
21301
+ id: string | null;
21302
+ needs_detail_review: boolean | null;
21303
+ number: string | null;
21304
+ parent_werkbon_id: string | null;
21305
+ planning_status: string | null;
21306
+ scheduled_end_time: string | null;
21307
+ scheduled_start_time: string | null;
21308
+ source_type: string | null;
21309
+ status: string | null;
21310
+ technician_id: string | null;
21311
+ updated_at: string | null;
21312
+ work_address: string | null;
20285
21313
  };
20286
- Returns: undefined;
20287
- };
20288
- afh_city_code: {
20289
- Args: {
20290
- _city: string;
20291
- _country: string;
21314
+ Insert: {
21315
+ assigned_user_id?: string | null;
21316
+ budget_mandate_cents?: number | null;
21317
+ created_at?: string | null;
21318
+ customer_id?: string | null;
21319
+ id?: string | null;
21320
+ needs_detail_review?: boolean | null;
21321
+ number?: string | null;
21322
+ parent_werkbon_id?: string | null;
21323
+ planning_status?: string | null;
21324
+ scheduled_end_time?: string | null;
21325
+ scheduled_start_time?: string | null;
21326
+ source_type?: string | null;
21327
+ status?: string | null;
21328
+ technician_id?: string | null;
21329
+ updated_at?: string | null;
21330
+ work_address?: string | null;
21331
+ };
21332
+ Update: {
21333
+ assigned_user_id?: string | null;
21334
+ budget_mandate_cents?: number | null;
21335
+ created_at?: string | null;
21336
+ customer_id?: string | null;
21337
+ id?: string | null;
21338
+ needs_detail_review?: boolean | null;
21339
+ number?: string | null;
21340
+ parent_werkbon_id?: string | null;
21341
+ planning_status?: string | null;
21342
+ scheduled_end_time?: string | null;
21343
+ scheduled_start_time?: string | null;
21344
+ source_type?: string | null;
21345
+ status?: string | null;
21346
+ technician_id?: string | null;
21347
+ updated_at?: string | null;
21348
+ work_address?: string | null;
21349
+ };
21350
+ Relationships: [{
21351
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21352
+ columns: ["parent_werkbon_id"];
21353
+ isOneToOne: false;
21354
+ referencedRelation: "werkbonnen";
21355
+ referencedColumns: ["id"];
21356
+ }, {
21357
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21358
+ columns: ["parent_werkbon_id"];
21359
+ isOneToOne: false;
21360
+ referencedRelation: "wo_overview";
21361
+ referencedColumns: ["id"];
21362
+ }];
21363
+ };
21364
+ };
21365
+ Functions: {
21366
+ _floriday_schedule_job: {
21367
+ Args: {
21368
+ p_apikey: string;
21369
+ p_jobname: string;
21370
+ p_schedule: string;
21371
+ p_timeout_ms: number;
21372
+ p_url: string;
21373
+ };
21374
+ Returns: number;
21375
+ };
21376
+ _migrate_rewrite_stock_key: {
21377
+ Args: {
21378
+ _from_key: string;
21379
+ _to_key: string;
21380
+ };
21381
+ Returns: undefined;
21382
+ };
21383
+ afh_city_code: {
21384
+ Args: {
21385
+ _city: string;
21386
+ _country: string;
20292
21387
  };
20293
21388
  Returns: string;
20294
21389
  };
@@ -20455,12 +21550,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20455
21550
  _max?: number;
20456
21551
  };
20457
21552
  Returns: {
21553
+ aflever_pogingen: number;
20458
21554
  agent_id: string | null;
21555
+ artefact_bytes: number | null;
21556
+ artefact_gereed_op: string | null;
21557
+ artefact_pad: string | null;
21558
+ artefact_sha256: string | null;
21559
+ batch_id: string | null;
20459
21560
  bron_job_id: string | null;
20460
21561
  created_at: string;
20461
21562
  documentnaam: string;
20462
21563
  documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
20463
21564
  extern_job_id: string | null;
21565
+ fase_gestart_op: string | null;
21566
+ fase_voltooid_op: string | null;
21567
+ foutcode: string | null;
20464
21568
  foutmelding: string | null;
20465
21569
  gebruiker_id: string | null;
20466
21570
  gebruiker_naam: string;
@@ -20474,7 +21578,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20474
21578
  kopieen: number;
20475
21579
  layout_id: string | null;
20476
21580
  lokaal_opgeslagen_op: string | null;
21581
+ lokale_pdf_claim_id: string | null;
21582
+ lokale_pdf_claim_tot: string | null;
20477
21583
  lokale_pdf_fout: string | null;
21584
+ lokale_pdf_print_plek_id: string | null;
20478
21585
  lokale_pdf_status: string | null;
20479
21586
  opgepakt_op: string | null;
20480
21587
  paginas: number;
@@ -20487,6 +21594,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20487
21594
  resultaat_pdf_base64: string | null;
20488
21595
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20489
21596
  updated_at: string;
21597
+ verwerkingsfase: string;
20490
21598
  volgende_poging: string | null;
20491
21599
  voltooid_op: string | null;
20492
21600
  }[];
@@ -20533,6 +21641,25 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20533
21641
  isSetofReturn: true;
20534
21642
  };
20535
21643
  };
21644
+ claim_local_pdf_jobs: {
21645
+ Args: {
21646
+ _max?: number;
21647
+ _print_plek_id: string;
21648
+ _writer_id: string;
21649
+ };
21650
+ Returns: {
21651
+ artefact_bytes: number;
21652
+ artefact_pad: string;
21653
+ artefact_sha256: string;
21654
+ documentnaam: string;
21655
+ id: string;
21656
+ lokale_pdf_print_plek_id: string;
21657
+ lokale_pdf_status: string;
21658
+ printer_id: string;
21659
+ resultaat_pdf_base64: string;
21660
+ status: string;
21661
+ }[];
21662
+ };
20536
21663
  claim_logistics_tasks: {
20537
21664
  Args: {
20538
21665
  _limit?: number;
@@ -20586,12 +21713,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20586
21713
  _max?: number;
20587
21714
  };
20588
21715
  Returns: {
21716
+ aflever_pogingen: number;
20589
21717
  agent_id: string | null;
21718
+ artefact_bytes: number | null;
21719
+ artefact_gereed_op: string | null;
21720
+ artefact_pad: string | null;
21721
+ artefact_sha256: string | null;
21722
+ batch_id: string | null;
20590
21723
  bron_job_id: string | null;
20591
21724
  created_at: string;
20592
21725
  documentnaam: string;
20593
21726
  documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
20594
21727
  extern_job_id: string | null;
21728
+ fase_gestart_op: string | null;
21729
+ fase_voltooid_op: string | null;
21730
+ foutcode: string | null;
20595
21731
  foutmelding: string | null;
20596
21732
  gebruiker_id: string | null;
20597
21733
  gebruiker_naam: string;
@@ -20605,7 +21741,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20605
21741
  kopieen: number;
20606
21742
  layout_id: string | null;
20607
21743
  lokaal_opgeslagen_op: string | null;
21744
+ lokale_pdf_claim_id: string | null;
21745
+ lokale_pdf_claim_tot: string | null;
20608
21746
  lokale_pdf_fout: string | null;
21747
+ lokale_pdf_print_plek_id: string | null;
20609
21748
  lokale_pdf_status: string | null;
20610
21749
  opgepakt_op: string | null;
20611
21750
  paginas: number;
@@ -20618,6 +21757,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20618
21757
  resultaat_pdf_base64: string | null;
20619
21758
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20620
21759
  updated_at: string;
21760
+ verwerkingsfase: string;
20621
21761
  volgende_poging: string | null;
20622
21762
  voltooid_op: string | null;
20623
21763
  }[];
@@ -20634,12 +21774,21 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20634
21774
  _max?: number;
20635
21775
  };
20636
21776
  Returns: {
21777
+ aflever_pogingen: number;
20637
21778
  agent_id: string | null;
21779
+ artefact_bytes: number | null;
21780
+ artefact_gereed_op: string | null;
21781
+ artefact_pad: string | null;
21782
+ artefact_sha256: string | null;
21783
+ batch_id: string | null;
20638
21784
  bron_job_id: string | null;
20639
21785
  created_at: string;
20640
21786
  documentnaam: string;
20641
21787
  documenttype: import("../integrations/supabase/types.js").Database["public"]["Enums"]["doc_layout_type"];
20642
21788
  extern_job_id: string | null;
21789
+ fase_gestart_op: string | null;
21790
+ fase_voltooid_op: string | null;
21791
+ foutcode: string | null;
20643
21792
  foutmelding: string | null;
20644
21793
  gebruiker_id: string | null;
20645
21794
  gebruiker_naam: string;
@@ -20653,7 +21802,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20653
21802
  kopieen: number;
20654
21803
  layout_id: string | null;
20655
21804
  lokaal_opgeslagen_op: string | null;
21805
+ lokale_pdf_claim_id: string | null;
21806
+ lokale_pdf_claim_tot: string | null;
20656
21807
  lokale_pdf_fout: string | null;
21808
+ lokale_pdf_print_plek_id: string | null;
20657
21809
  lokale_pdf_status: string | null;
20658
21810
  opgepakt_op: string | null;
20659
21811
  paginas: number;
@@ -20666,6 +21818,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20666
21818
  resultaat_pdf_base64: string | null;
20667
21819
  status: import("../integrations/supabase/types.js").Database["public"]["Enums"]["print_job_status"];
20668
21820
  updated_at: string;
21821
+ verwerkingsfase: string;
20669
21822
  volgende_poging: string | null;
20670
21823
  voltooid_op: string | null;
20671
21824
  }[];
@@ -20676,6 +21829,14 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20676
21829
  isSetofReturn: true;
20677
21830
  };
20678
21831
  };
21832
+ claim_print_queue_lease: {
21833
+ Args: {
21834
+ _houder: string;
21835
+ _naam: string;
21836
+ _seconden?: number;
21837
+ };
21838
+ Returns: boolean;
21839
+ };
20679
21840
  claim_twinfield_push_batch: {
20680
21841
  Args: {
20681
21842
  _customer_id?: string;
@@ -20801,7 +21962,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20801
21962
  cart_index: number;
20802
21963
  cart_number: string;
20803
21964
  cart_number_id: string;
21965
+ cart_seq: number;
21966
+ cart_total: number;
20804
21967
  order_id: string;
21968
+ order_number: string;
20805
21969
  order_source: string;
20806
21970
  pick_date: string;
20807
21971
  printed_at: string;
@@ -20809,6 +21973,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20809
21973
  status: string;
20810
21974
  }[];
20811
21975
  };
21976
+ control_mark_carts_delivered: {
21977
+ Args: {
21978
+ p_carts: import("../integrations/supabase/types.js").Json;
21979
+ };
21980
+ Returns: number;
21981
+ };
20812
21982
  count_distinct_regulatory_products: {
20813
21983
  Args: never;
20814
21984
  Returns: number;
@@ -20936,6 +22106,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
20936
22106
  };
20937
22107
  Returns: undefined;
20938
22108
  };
22109
+ ensure_system_roles: {
22110
+ Args: never;
22111
+ Returns: {
22112
+ action: string;
22113
+ role_key: string;
22114
+ }[];
22115
+ };
20939
22116
  ensure_trade_item_stock_row: {
20940
22117
  Args: {
20941
22118
  p_key: string;
@@ -21002,6 +22179,26 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21002
22179
  };
21003
22180
  Returns: string;
21004
22181
  };
22182
+ finish_local_pdf_job: {
22183
+ Args: {
22184
+ _fout?: string;
22185
+ _job_id: string;
22186
+ _status: string;
22187
+ _writer_id: string;
22188
+ };
22189
+ Returns: boolean;
22190
+ };
22191
+ floriday_adopt_connection: {
22192
+ Args: {
22193
+ p_new: string;
22194
+ p_old: string;
22195
+ };
22196
+ Returns: import("../integrations/supabase/types.js").Json;
22197
+ };
22198
+ floriday_autoheal_connections: {
22199
+ Args: never;
22200
+ Returns: import("../integrations/supabase/types.js").Json;
22201
+ };
21005
22202
  floriday_capture_stock_snapshot: {
21006
22203
  Args: never;
21007
22204
  Returns: number;
@@ -21059,6 +22256,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21059
22256
  };
21060
22257
  Returns: undefined;
21061
22258
  };
22259
+ floriday_relink_products: {
22260
+ Args: {
22261
+ p_connection_id?: string;
22262
+ };
22263
+ Returns: import("../integrations/supabase/types.js").Json;
22264
+ };
21062
22265
  floriday_requeue_dead_letters: {
21063
22266
  Args: {
21064
22267
  p_connection_id?: string;
@@ -21281,6 +22484,36 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21281
22484
  Args: never;
21282
22485
  Returns: string;
21283
22486
  };
22487
+ handover_archief_lijst: {
22488
+ Args: never;
22489
+ Returns: import("../integrations/supabase/types.js").Json;
22490
+ };
22491
+ handover_archiveren: {
22492
+ Args: {
22493
+ _archief?: boolean;
22494
+ _module_id: string;
22495
+ };
22496
+ Returns: boolean;
22497
+ };
22498
+ handover_check_afronden: {
22499
+ Args: {
22500
+ _module_id: string;
22501
+ };
22502
+ Returns: boolean;
22503
+ };
22504
+ handover_check_markeren: {
22505
+ Args: {
22506
+ _module_ids: string[];
22507
+ _reden?: string;
22508
+ };
22509
+ Returns: number;
22510
+ };
22511
+ handover_fingerprint_maken: {
22512
+ Args: {
22513
+ _module_id?: string;
22514
+ };
22515
+ Returns: import("../integrations/supabase/types.js").Json;
22516
+ };
21284
22517
  handover_get: {
21285
22518
  Args: {
21286
22519
  _module_id: string;
@@ -21311,6 +22544,14 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21311
22544
  };
21312
22545
  Returns: boolean;
21313
22546
  };
22547
+ handover_module_meta_zetten: {
22548
+ Args: {
22549
+ _module_id: string;
22550
+ _project_url?: string;
22551
+ _publicatie_url?: string;
22552
+ };
22553
+ Returns: boolean;
22554
+ };
21314
22555
  handover_norm_naam: {
21315
22556
  Args: {
21316
22557
  _naam: string;
@@ -21331,6 +22572,23 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21331
22572
  };
21332
22573
  Returns: number;
21333
22574
  };
22575
+ handover_publish_uit_github: {
22576
+ Args: {
22577
+ _bezit_tabellen?: string[];
22578
+ _bron_soort?: string;
22579
+ _commit?: string;
22580
+ _contractfuncties?: string[];
22581
+ _inhoud_md: string;
22582
+ _module_id: string;
22583
+ _module_titel: string;
22584
+ _ontbrekende_contracten?: string[];
22585
+ _pad?: string;
22586
+ _repo?: string;
22587
+ _samenvatting?: string;
22588
+ _versie_label?: string;
22589
+ };
22590
+ Returns: import("../integrations/supabase/types.js").Json;
22591
+ };
21334
22592
  handover_publish_via_token: {
21335
22593
  Args: {
21336
22594
  _bevindingen?: string;
@@ -21344,7 +22602,7 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21344
22602
  _samenvatting?: string;
21345
22603
  _token_hash: string;
21346
22604
  };
21347
- Returns: number;
22605
+ Returns: import("../integrations/supabase/types.js").Json;
21348
22606
  };
21349
22607
  handover_status: {
21350
22608
  Args: never;
@@ -21356,23 +22614,6 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21356
22614
  };
21357
22615
  Returns: string;
21358
22616
  };
21359
- handover_token_intrekken: {
21360
- Args: {
21361
- _id: string;
21362
- };
21363
- Returns: boolean;
21364
- };
21365
- handover_token_lijst: {
21366
- Args: never;
21367
- Returns: import("../integrations/supabase/types.js").Json;
21368
- };
21369
- handover_token_maken: {
21370
- Args: {
21371
- _label?: string;
21372
- _module_id: string;
21373
- };
21374
- Returns: string;
21375
- };
21376
22617
  handover_update: {
21377
22618
  Args: {
21378
22619
  _bezit_tabellen?: string[];
@@ -21400,12 +22641,31 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21400
22641
  };
21401
22642
  Returns: boolean;
21402
22643
  };
22644
+ handover_versie_verwijderen: {
22645
+ Args: {
22646
+ _module_id: string;
22647
+ _versie: number;
22648
+ };
22649
+ Returns: boolean;
22650
+ };
21403
22651
  handover_versies: {
21404
22652
  Args: {
21405
22653
  _module_id: string;
21406
22654
  };
21407
22655
  Returns: import("../integrations/supabase/types.js").Json;
21408
22656
  };
22657
+ handover_verwijderen: {
22658
+ Args: {
22659
+ _module_id: string;
22660
+ };
22661
+ Returns: boolean;
22662
+ };
22663
+ handover_wijzigingen: {
22664
+ Args: {
22665
+ _module_id?: string;
22666
+ };
22667
+ Returns: import("../integrations/supabase/types.js").Json;
22668
+ };
21409
22669
  has_module_permission: {
21410
22670
  Args: {
21411
22671
  _min: string;
@@ -21674,6 +22934,30 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21674
22934
  };
21675
22935
  Returns: import("../integrations/supabase/types.js").Json;
21676
22936
  };
22937
+ logistics_block_reason_code: {
22938
+ Args: {
22939
+ p_details?: import("../integrations/supabase/types.js").Json;
22940
+ p_reason: string;
22941
+ };
22942
+ Returns: string;
22943
+ };
22944
+ logistics_blocked_orders: {
22945
+ Args: never;
22946
+ Returns: {
22947
+ attempts: number;
22948
+ blocked_since: string;
22949
+ delivery_date: string;
22950
+ order_id: string;
22951
+ order_ref: string;
22952
+ queue_id: string;
22953
+ reason: string;
22954
+ reason_code: string;
22955
+ }[];
22956
+ };
22957
+ logistics_blocked_overview: {
22958
+ Args: never;
22959
+ Returns: import("../integrations/supabase/types.js").Json;
22960
+ };
21677
22961
  logistics_buffer_criteria: {
21678
22962
  Args: {
21679
22963
  p_settings: import("../integrations/supabase/types.js").Json;
@@ -21688,6 +22972,39 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21688
22972
  };
21689
22973
  Returns: import("../integrations/supabase/types.js").Json;
21690
22974
  };
22975
+ logistics_buffer_detach_late_orders: {
22976
+ Args: {
22977
+ p_buffer?: string;
22978
+ };
22979
+ Returns: import("../integrations/supabase/types.js").Json;
22980
+ };
22981
+ logistics_buffer_frozen_order: {
22982
+ Args: {
22983
+ p_order_id: string;
22984
+ };
22985
+ Returns: boolean;
22986
+ };
22987
+ logistics_buffer_handled: {
22988
+ Args: {
22989
+ p_buffer: string;
22990
+ };
22991
+ Returns: boolean;
22992
+ };
22993
+ logistics_buffer_notify: {
22994
+ Args: {
22995
+ p_event_type: string;
22996
+ p_idempotency_key: string;
22997
+ p_order_ref: string;
22998
+ p_payload: import("../integrations/supabase/types.js").Json;
22999
+ };
23000
+ Returns: string;
23001
+ };
23002
+ logistics_buffer_open_key: {
23003
+ Args: {
23004
+ p_base_key: string;
23005
+ };
23006
+ Returns: string;
23007
+ };
21691
23008
  logistics_buffer_simulate: {
21692
23009
  Args: {
21693
23010
  p_orders?: import("../integrations/supabase/types.js").Json;
@@ -21740,6 +23057,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21740
23057
  };
21741
23058
  Returns: string;
21742
23059
  };
23060
+ logistics_cart_handled: {
23061
+ Args: {
23062
+ p_cart_index: number;
23063
+ p_order_id: string;
23064
+ };
23065
+ Returns: boolean;
23066
+ };
21743
23067
  logistics_cart_index: {
21744
23068
  Args: {
21745
23069
  p_from?: string;
@@ -21749,6 +23073,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21749
23073
  cart_id: string;
21750
23074
  cart_index: number;
21751
23075
  cart_label: string;
23076
+ cart_number: string;
23077
+ cart_seq: number;
23078
+ cart_total: number;
21752
23079
  delivery_date: string;
21753
23080
  is_announced: boolean;
21754
23081
  is_controlled: boolean;
@@ -21763,38 +23090,105 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21763
23090
  task_status: string;
21764
23091
  }[];
21765
23092
  };
21766
- logistics_cart_slip_plan: {
23093
+ logistics_cart_layout_method: {
23094
+ Args: never;
23095
+ Returns: import("../integrations/supabase/types.js").Json;
23096
+ };
23097
+ logistics_cart_plan_overview: {
21767
23098
  Args: {
21768
- p_order_id: string;
23099
+ p_days?: number;
21769
23100
  };
21770
- Returns: import("../integrations/supabase/types.js").Json;
23101
+ Returns: {
23102
+ cart_total: number;
23103
+ delivery_date: string;
23104
+ order_ref: string;
23105
+ plan_ready: boolean;
23106
+ reason: string;
23107
+ released: boolean;
23108
+ }[];
21771
23109
  };
21772
- logistics_check_order_allowed: {
23110
+ logistics_cart_plan_status: {
21773
23111
  Args: {
21774
- p_lines: import("../integrations/supabase/types.js").Json;
21775
- p_strategy_id?: string;
23112
+ p_ref: string;
21776
23113
  };
21777
23114
  Returns: import("../integrations/supabase/types.js").Json;
21778
23115
  };
21779
- logistics_check_order_stock: {
23116
+ logistics_cart_seq: {
21780
23117
  Args: {
21781
- p_event_id: string;
23118
+ p_order_uuid?: string;
21782
23119
  };
21783
- Returns: string;
23120
+ Returns: {
23121
+ cart_id: string;
23122
+ cart_index: number;
23123
+ cart_number: string;
23124
+ cart_seq: number;
23125
+ cart_total: number;
23126
+ order_uuid: string;
23127
+ }[];
21784
23128
  };
21785
- logistics_claim_next_task: {
23129
+ logistics_cart_slip_plan: {
21786
23130
  Args: {
21787
- p_owner_module: string;
21788
- p_worker?: string;
23131
+ p_order_id: string;
23132
+ };
23133
+ Returns: import("../integrations/supabase/types.js").Json;
23134
+ };
23135
+ logistics_cart_units: {
23136
+ Args: {
23137
+ p_from?: string;
23138
+ p_to?: string;
21789
23139
  };
21790
23140
  Returns: {
21791
- attempt_log: import("../integrations/supabase/types.js").Json;
21792
- attempts: number;
21793
- buffer_ref: string | null;
21794
- claimed_at: string | null;
21795
- claimed_by: string | null;
21796
- completed_at: string | null;
21797
- created_at: string;
23141
+ cart_id: string;
23142
+ cart_index: number;
23143
+ cart_label: string;
23144
+ cart_number: string;
23145
+ cart_seq: number;
23146
+ cart_total: number;
23147
+ delivery_date: string;
23148
+ is_announced: boolean;
23149
+ is_buffer: boolean;
23150
+ is_controlled: boolean;
23151
+ is_printed: boolean;
23152
+ is_shared: boolean;
23153
+ order_number: string;
23154
+ order_source: string;
23155
+ order_uuid: string;
23156
+ pick_date: string;
23157
+ printed_at: string;
23158
+ shifted: boolean;
23159
+ task_status: string;
23160
+ unit_buffer: string;
23161
+ unit_order_count: number;
23162
+ unit_orders: string[];
23163
+ unit_ref: string;
23164
+ }[];
23165
+ };
23166
+ logistics_check_order_allowed: {
23167
+ Args: {
23168
+ p_lines: import("../integrations/supabase/types.js").Json;
23169
+ p_strategy_id?: string;
23170
+ };
23171
+ Returns: import("../integrations/supabase/types.js").Json;
23172
+ };
23173
+ logistics_check_order_stock: {
23174
+ Args: {
23175
+ p_event_id: string;
23176
+ };
23177
+ Returns: string;
23178
+ };
23179
+ logistics_claim_next_task: {
23180
+ Args: {
23181
+ p_owner_module: string;
23182
+ p_worker?: string;
23183
+ };
23184
+ Returns: {
23185
+ attempt_log: import("../integrations/supabase/types.js").Json;
23186
+ attempts: number;
23187
+ buffer_ref: string | null;
23188
+ claimed_at: string | null;
23189
+ claimed_by: string | null;
23190
+ completed_at: string | null;
23191
+ created_at: string;
21798
23192
  depends_on: string[];
21799
23193
  due_at: string | null;
21800
23194
  error: string | null;
@@ -21924,7 +23318,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21924
23318
  announced_carts: number;
21925
23319
  control_carts: number;
21926
23320
  delivery_carts: number;
23321
+ duplicate_carts: number;
21927
23322
  ok: boolean;
23323
+ orphan_carts: number;
21928
23324
  orphan_tasks: number;
21929
23325
  pick_date: string;
21930
23326
  raw_carts: number;
@@ -21932,6 +23328,85 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21932
23328
  station_carts: number;
21933
23329
  }[];
21934
23330
  };
23331
+ logistics_control_scan_approve: {
23332
+ Args: {
23333
+ p_allow_reprint?: boolean;
23334
+ p_barcode: string;
23335
+ p_printer_id?: string;
23336
+ p_scanner_id?: string;
23337
+ };
23338
+ Returns: import("../integrations/supabase/types.js").Json;
23339
+ };
23340
+ logistics_control_scan_claim: {
23341
+ Args: {
23342
+ _lease_seconds?: number;
23343
+ _limit?: number;
23344
+ };
23345
+ Returns: {
23346
+ approved_at: string | null;
23347
+ attempts: number;
23348
+ barcode: string;
23349
+ cart_id: string;
23350
+ created_at: string;
23351
+ document_url: string | null;
23352
+ error: string | null;
23353
+ error_code: string | null;
23354
+ fulfillment_order_id: string | null;
23355
+ id: string;
23356
+ is_floriday: boolean;
23357
+ locked_until: string | null;
23358
+ order_id: string | null;
23359
+ order_number: string | null;
23360
+ print_job_id: string | null;
23361
+ printed_at: string | null;
23362
+ printer_id: string | null;
23363
+ scanner_id: string | null;
23364
+ status: string;
23365
+ updated_at: string;
23366
+ }[];
23367
+ SetofOptions: {
23368
+ from: "*";
23369
+ to: "logistics_control_scan";
23370
+ isOneToOne: false;
23371
+ isSetofReturn: true;
23372
+ };
23373
+ };
23374
+ logistics_control_scan_finish: {
23375
+ Args: {
23376
+ _document_url?: string;
23377
+ _error?: string;
23378
+ _error_code?: string;
23379
+ _fulfillment_order_id?: string;
23380
+ _id: string;
23381
+ _ok: boolean;
23382
+ _print_job_id?: string;
23383
+ _status?: string;
23384
+ };
23385
+ Returns: import("../integrations/supabase/types.js").Json;
23386
+ };
23387
+ logistics_control_scan_lookup: {
23388
+ Args: {
23389
+ p_barcode: string;
23390
+ };
23391
+ Returns: import("../integrations/supabase/types.js").Json;
23392
+ };
23393
+ logistics_control_scan_overview: {
23394
+ Args: {
23395
+ _date?: string;
23396
+ _scanner_id?: string;
23397
+ };
23398
+ Returns: import("../integrations/supabase/types.js").Json;
23399
+ };
23400
+ logistics_control_scan_retry: {
23401
+ Args: {
23402
+ _id: string;
23403
+ };
23404
+ Returns: import("../integrations/supabase/types.js").Json;
23405
+ };
23406
+ logistics_control_settings: {
23407
+ Args: never;
23408
+ Returns: import("../integrations/supabase/types.js").Json;
23409
+ };
21935
23410
  logistics_delay_customer_email: {
21936
23411
  Args: {
21937
23412
  p_customer: string;
@@ -21999,6 +23474,17 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
21999
23474
  };
22000
23475
  Returns: import("../integrations/supabase/types.js").Json;
22001
23476
  };
23477
+ logistics_enqueue_sticker_with_slip: {
23478
+ Args: {
23479
+ _cart_id: string;
23480
+ _is_herprint: boolean;
23481
+ _printer_id: string;
23482
+ _queue_item_id: string;
23483
+ _session_id: string;
23484
+ _slip_job_id: string;
23485
+ };
23486
+ Returns: string;
23487
+ };
22002
23488
  logistics_ensure_cart_barcode: {
22003
23489
  Args: {
22004
23490
  _cart_id: string;
@@ -22140,6 +23626,32 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22140
23626
  };
22141
23627
  Returns: string;
22142
23628
  };
23629
+ logistics_fulfill_barcode_requests: {
23630
+ Args: {
23631
+ p_limit?: number;
23632
+ };
23633
+ Returns: import("../integrations/supabase/types.js").Json;
23634
+ };
23635
+ logistics_full_cart_min_layers: {
23636
+ Args: never;
23637
+ Returns: number;
23638
+ };
23639
+ logistics_full_cart_min_percentage: {
23640
+ Args: never;
23641
+ Returns: number;
23642
+ };
23643
+ logistics_is_pick_workday: {
23644
+ Args: {
23645
+ p_date: string;
23646
+ };
23647
+ Returns: boolean;
23648
+ };
23649
+ logistics_link_order_items: {
23650
+ Args: {
23651
+ p_order?: string;
23652
+ };
23653
+ Returns: import("../integrations/supabase/types.js").Json;
23654
+ };
22143
23655
  logistics_live_carriers: {
22144
23656
  Args: {
22145
23657
  p_order_ref: string;
@@ -22152,6 +23664,26 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22152
23664
  };
22153
23665
  Returns: number;
22154
23666
  };
23667
+ logistics_next_workday_date: {
23668
+ Args: {
23669
+ p_date: string;
23670
+ p_days?: string[];
23671
+ };
23672
+ Returns: string;
23673
+ };
23674
+ logistics_next_workday_not_past: {
23675
+ Args: {
23676
+ p_days: string[];
23677
+ p_ts: string;
23678
+ };
23679
+ Returns: string;
23680
+ };
23681
+ logistics_normalize_product_label: {
23682
+ Args: {
23683
+ p_label: string;
23684
+ };
23685
+ Returns: string;
23686
+ };
22155
23687
  logistics_not_past: {
22156
23688
  Args: {
22157
23689
  p_ts: string;
@@ -22164,6 +23696,19 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22164
23696
  };
22165
23697
  Returns: number;
22166
23698
  };
23699
+ logistics_order_handled: {
23700
+ Args: {
23701
+ p_order_uuid: string;
23702
+ };
23703
+ Returns: boolean;
23704
+ };
23705
+ logistics_order_is_topick: {
23706
+ Args: {
23707
+ p_order_id: string;
23708
+ p_order_number: string;
23709
+ };
23710
+ Returns: boolean;
23711
+ };
22167
23712
  logistics_order_overview: {
22168
23713
  Args: {
22169
23714
  p_from?: string;
@@ -22189,6 +23734,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22189
23734
  };
22190
23735
  Returns: string;
22191
23736
  };
23737
+ logistics_order_released: {
23738
+ Args: {
23739
+ p_order_ref: string;
23740
+ };
23741
+ Returns: boolean;
23742
+ };
22192
23743
  logistics_parse_pickup: {
22193
23744
  Args: {
22194
23745
  p_value: string;
@@ -22219,6 +23770,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22219
23770
  Args: never;
22220
23771
  Returns: string;
22221
23772
  };
23773
+ logistics_pick_mode: {
23774
+ Args: never;
23775
+ Returns: import("../integrations/supabase/types.js").Json;
23776
+ };
22222
23777
  logistics_pick_start_estimate: {
22223
23778
  Args: {
22224
23779
  p_order: import("../integrations/supabase/types.js").Json;
@@ -22226,6 +23781,18 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22226
23781
  };
22227
23782
  Returns: string;
22228
23783
  };
23784
+ logistics_pick_units: {
23785
+ Args: never;
23786
+ Returns: {
23787
+ is_buffer: boolean;
23788
+ order_number: string;
23789
+ order_uuid: string;
23790
+ unit_buffer: string;
23791
+ unit_order_count: number;
23792
+ unit_orders: string[];
23793
+ unit_ref: string;
23794
+ }[];
23795
+ };
22229
23796
  logistics_plan_all: {
22230
23797
  Args: {
22231
23798
  p_user_id?: string;
@@ -22305,6 +23872,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22305
23872
  Args: never;
22306
23873
  Returns: number;
22307
23874
  };
23875
+ logistics_plan_retry: {
23876
+ Args: {
23877
+ p_order_ids: string[];
23878
+ };
23879
+ Returns: number;
23880
+ };
22308
23881
  logistics_plan_setting: {
22309
23882
  Args: {
22310
23883
  p_default: number;
@@ -22312,6 +23885,14 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22312
23885
  };
22313
23886
  Returns: number;
22314
23887
  };
23888
+ logistics_prune_buffer_member_queue: {
23889
+ Args: never;
23890
+ Returns: number;
23891
+ };
23892
+ logistics_prune_handled_pick_queue: {
23893
+ Args: never;
23894
+ Returns: number;
23895
+ };
22315
23896
  logistics_queue_capacity_email: {
22316
23897
  Args: {
22317
23898
  p_alert_id: string;
@@ -22344,6 +23925,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22344
23925
  Args: never;
22345
23926
  Returns: import("../integrations/supabase/types.js").Json;
22346
23927
  };
23928
+ logistics_refresh_pickup_moments: {
23929
+ Args: {
23930
+ p_weeks?: number;
23931
+ };
23932
+ Returns: import("../integrations/supabase/types.js").Json;
23933
+ };
22347
23934
  logistics_report_delay: {
22348
23935
  Args: {
22349
23936
  p_expected_date?: string;
@@ -22397,6 +23984,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22397
23984
  };
22398
23985
  Returns: import("../integrations/supabase/types.js").Json;
22399
23986
  };
23987
+ logistics_resolve_product_id: {
23988
+ Args: {
23989
+ p_label: string;
23990
+ };
23991
+ Returns: string;
23992
+ };
22400
23993
  logistics_resolve_settings: {
22401
23994
  Args: {
22402
23995
  p_config_id: string;
@@ -22450,6 +24043,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22450
24043
  };
22451
24044
  Returns: string;
22452
24045
  };
24046
+ logistics_scan_resolve: {
24047
+ Args: {
24048
+ p_code: string;
24049
+ };
24050
+ Returns: import("../integrations/supabase/types.js").Json;
24051
+ };
22453
24052
  logistics_schedule_tasks: {
22454
24053
  Args: never;
22455
24054
  Returns: number;
@@ -22484,6 +24083,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22484
24083
  };
22485
24084
  Returns: import("../integrations/supabase/types.js").Json;
22486
24085
  };
24086
+ logistics_sticker_follows_slip: {
24087
+ Args: never;
24088
+ Returns: boolean;
24089
+ };
22487
24090
  logistics_supersede_stale_tasks: {
22488
24091
  Args: {
22489
24092
  p_keep: string[];
@@ -22516,6 +24119,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22516
24119
  };
22517
24120
  Returns: number;
22518
24121
  };
24122
+ logistics_tick_ping: {
24123
+ Args: never;
24124
+ Returns: string;
24125
+ };
22519
24126
  logistics_upsert_task: {
22520
24127
  Args: {
22521
24128
  p_buffer_ref: string;
@@ -22535,6 +24142,18 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22535
24142
  };
22536
24143
  Returns: string;
22537
24144
  };
24145
+ logistics_write_buffer_layer_positions: {
24146
+ Args: {
24147
+ p_buffer_id: string;
24148
+ };
24149
+ Returns: number;
24150
+ };
24151
+ logistics_write_cart_layer_positions: {
24152
+ Args: {
24153
+ p_cart_id: string;
24154
+ };
24155
+ Returns: number;
24156
+ };
22538
24157
  mark_offer_clicked: {
22539
24158
  Args: {
22540
24159
  p_code: string;
@@ -22567,6 +24186,15 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22567
24186
  };
22568
24187
  Returns: undefined;
22569
24188
  };
24189
+ move_cart_layer_position: {
24190
+ Args: {
24191
+ p_id: string;
24192
+ p_layer: number;
24193
+ p_x: number;
24194
+ p_y: number;
24195
+ };
24196
+ Returns: undefined;
24197
+ };
22570
24198
  my_module_permissions: {
22571
24199
  Args: never;
22572
24200
  Returns: {
@@ -22638,6 +24266,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22638
24266
  };
22639
24267
  Returns: import("../integrations/supabase/types.js").Json;
22640
24268
  };
24269
+ order_heeft_bevestigde_karren: {
24270
+ Args: {
24271
+ p_order_id: string;
24272
+ };
24273
+ Returns: boolean;
24274
+ };
22641
24275
  order_number_prefix: {
22642
24276
  Args: {
22643
24277
  p_custom_fields?: import("../integrations/supabase/types.js").Json;
@@ -22673,6 +24307,31 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22673
24307
  online: boolean;
22674
24308
  }[];
22675
24309
  };
24310
+ pick_apply_buffer_events: {
24311
+ Args: never;
24312
+ Returns: import("../integrations/supabase/types.js").Json;
24313
+ };
24314
+ pick_available_pick_days: {
24315
+ Args: {
24316
+ _max_days?: number;
24317
+ };
24318
+ Returns: {
24319
+ orders: number;
24320
+ pick_day: string;
24321
+ }[];
24322
+ };
24323
+ pick_buffer_order_ids: {
24324
+ Args: {
24325
+ _order_id: string;
24326
+ };
24327
+ Returns: string[];
24328
+ };
24329
+ pick_cart_breakdown: {
24330
+ Args: {
24331
+ _order_id: string;
24332
+ };
24333
+ Returns: import("../integrations/supabase/types.js").Json;
24334
+ };
22676
24335
  pick_claim_document: {
22677
24336
  Args: {
22678
24337
  _queue_item_id: string;
@@ -22716,20 +24375,350 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22716
24375
  updated_at: string;
22717
24376
  warnings: import("../integrations/supabase/types.js").Json;
22718
24377
  };
22719
- SetofOptions: {
22720
- from: "*";
22721
- to: "pick_queue";
22722
- isOneToOne: true;
22723
- isSetofReturn: false;
24378
+ SetofOptions: {
24379
+ from: "*";
24380
+ to: "pick_queue";
24381
+ isOneToOne: true;
24382
+ isSetofReturn: false;
24383
+ };
24384
+ };
24385
+ pick_claim_next_document: {
24386
+ Args: {
24387
+ _country_code: string;
24388
+ _pick_day?: string;
24389
+ _screen_id: string;
24390
+ _session_id: string;
24391
+ _station_id: string;
24392
+ _timeout_seconds?: number;
24393
+ };
24394
+ Returns: {
24395
+ announced_at: string;
24396
+ assigned_user_id: string | null;
24397
+ barcode: string | null;
24398
+ cancelled_at: string | null;
24399
+ cart_count: number;
24400
+ completed_at: string | null;
24401
+ country_code: string | null;
24402
+ created_at: string;
24403
+ customer_name: string | null;
24404
+ delivery_address: string | null;
24405
+ document_number: string | null;
24406
+ document_type_id: string | null;
24407
+ due_at: string | null;
24408
+ id: string;
24409
+ is_urgent: boolean;
24410
+ line_count: number;
24411
+ order_number: string | null;
24412
+ order_type: string | null;
24413
+ payload: import("../integrations/supabase/types.js").Json;
24414
+ print_count: number;
24415
+ print_job_id: string | null;
24416
+ printed_at: string | null;
24417
+ printed_by: string | null;
24418
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
24419
+ printer_id: string | null;
24420
+ priority: number;
24421
+ reference: string | null;
24422
+ route: string | null;
24423
+ screen_id: string | null;
24424
+ station_id: string | null;
24425
+ status_id: string | null;
24426
+ updated_at: string;
24427
+ warnings: import("../integrations/supabase/types.js").Json;
24428
+ };
24429
+ SetofOptions: {
24430
+ from: "*";
24431
+ to: "pick_queue";
24432
+ isOneToOne: true;
24433
+ isSetofReturn: false;
24434
+ };
24435
+ };
24436
+ pick_cleanup_maintenance: {
24437
+ Args: {
24438
+ _heartbeat_hours?: number;
24439
+ _log_days?: number;
24440
+ };
24441
+ Returns: import("../integrations/supabase/types.js").Json;
24442
+ };
24443
+ pick_complete_print: {
24444
+ Args: {
24445
+ _printer_id: string;
24446
+ _queue_item_id: string;
24447
+ _session_id: string;
24448
+ };
24449
+ Returns: {
24450
+ announced_at: string;
24451
+ assigned_user_id: string | null;
24452
+ barcode: string | null;
24453
+ cancelled_at: string | null;
24454
+ cart_count: number;
24455
+ completed_at: string | null;
24456
+ country_code: string | null;
24457
+ created_at: string;
24458
+ customer_name: string | null;
24459
+ delivery_address: string | null;
24460
+ document_number: string | null;
24461
+ document_type_id: string | null;
24462
+ due_at: string | null;
24463
+ id: string;
24464
+ is_urgent: boolean;
24465
+ line_count: number;
24466
+ order_number: string | null;
24467
+ order_type: string | null;
24468
+ payload: import("../integrations/supabase/types.js").Json;
24469
+ print_count: number;
24470
+ print_job_id: string | null;
24471
+ printed_at: string | null;
24472
+ printed_by: string | null;
24473
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
24474
+ printer_id: string | null;
24475
+ priority: number;
24476
+ reference: string | null;
24477
+ route: string | null;
24478
+ screen_id: string | null;
24479
+ station_id: string | null;
24480
+ status_id: string | null;
24481
+ updated_at: string;
24482
+ warnings: import("../integrations/supabase/types.js").Json;
24483
+ };
24484
+ SetofOptions: {
24485
+ from: "*";
24486
+ to: "pick_queue";
24487
+ isOneToOne: true;
24488
+ isSetofReturn: false;
24489
+ };
24490
+ };
24491
+ pick_complete_print_cart: {
24492
+ Args: {
24493
+ _cart_id: string;
24494
+ _printer_id: string;
24495
+ _queue_item_id: string;
24496
+ _session_id: string;
24497
+ };
24498
+ Returns: {
24499
+ announced_at: string;
24500
+ assigned_user_id: string | null;
24501
+ barcode: string | null;
24502
+ cancelled_at: string | null;
24503
+ cart_count: number;
24504
+ completed_at: string | null;
24505
+ country_code: string | null;
24506
+ created_at: string;
24507
+ customer_name: string | null;
24508
+ delivery_address: string | null;
24509
+ document_number: string | null;
24510
+ document_type_id: string | null;
24511
+ due_at: string | null;
24512
+ id: string;
24513
+ is_urgent: boolean;
24514
+ line_count: number;
24515
+ order_number: string | null;
24516
+ order_type: string | null;
24517
+ payload: import("../integrations/supabase/types.js").Json;
24518
+ print_count: number;
24519
+ print_job_id: string | null;
24520
+ printed_at: string | null;
24521
+ printed_by: string | null;
24522
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
24523
+ printer_id: string | null;
24524
+ priority: number;
24525
+ reference: string | null;
24526
+ route: string | null;
24527
+ screen_id: string | null;
24528
+ station_id: string | null;
24529
+ status_id: string | null;
24530
+ updated_at: string;
24531
+ warnings: import("../integrations/supabase/types.js").Json;
24532
+ };
24533
+ SetofOptions: {
24534
+ from: "*";
24535
+ to: "pick_queue";
24536
+ isOneToOne: true;
24537
+ isSetofReturn: false;
24538
+ };
24539
+ };
24540
+ pick_complete_print_carts: {
24541
+ Args: {
24542
+ _cart_ids: string[];
24543
+ _queue_item_id: string;
24544
+ _session_id: string;
24545
+ };
24546
+ Returns: import("../integrations/supabase/types.js").Json;
24547
+ };
24548
+ pick_current_pick_day: {
24549
+ Args: never;
24550
+ Returns: string;
24551
+ };
24552
+ pick_day_counts: {
24553
+ Args: {
24554
+ _pick_day?: string;
24555
+ _screen_id?: string;
24556
+ _station_id?: string;
24557
+ };
24558
+ Returns: import("../integrations/supabase/types.js").Json;
24559
+ };
24560
+ pick_document_layout_data: {
24561
+ Args: {
24562
+ _layout_id: string;
24563
+ };
24564
+ Returns: import("../integrations/supabase/types.js").Json;
24565
+ };
24566
+ pick_enqueue_print_job: {
24567
+ Args: {
24568
+ _is_herprint?: boolean;
24569
+ _printer_id?: string;
24570
+ _queue_item_id: string;
24571
+ _session_id?: string;
24572
+ };
24573
+ Returns: string;
24574
+ } | {
24575
+ Args: {
24576
+ _cart_id: string;
24577
+ _is_herprint: boolean;
24578
+ _printer_id: string;
24579
+ _queue_item_id: string;
24580
+ _session_id: string;
24581
+ };
24582
+ Returns: string;
24583
+ };
24584
+ pick_enqueue_print_job_from_cart: {
24585
+ Args: {
24586
+ _cart_id: string;
24587
+ _is_herprint: boolean;
24588
+ _printer_id: string;
24589
+ _queue_item_id: string;
24590
+ _selected_cart: import("../integrations/supabase/types.js").Json;
24591
+ _session_id: string;
24592
+ };
24593
+ Returns: string;
24594
+ };
24595
+ pick_mark_printed: {
24596
+ Args: {
24597
+ _queue_item_id: string;
24598
+ _reden?: string;
24599
+ _session_id: string;
24600
+ };
24601
+ Returns: {
24602
+ announced_at: string;
24603
+ assigned_user_id: string | null;
24604
+ barcode: string | null;
24605
+ cancelled_at: string | null;
24606
+ cart_count: number;
24607
+ completed_at: string | null;
24608
+ country_code: string | null;
24609
+ created_at: string;
24610
+ customer_name: string | null;
24611
+ delivery_address: string | null;
24612
+ document_number: string | null;
24613
+ document_type_id: string | null;
24614
+ due_at: string | null;
24615
+ id: string;
24616
+ is_urgent: boolean;
24617
+ line_count: number;
24618
+ order_number: string | null;
24619
+ order_type: string | null;
24620
+ payload: import("../integrations/supabase/types.js").Json;
24621
+ print_count: number;
24622
+ print_job_id: string | null;
24623
+ printed_at: string | null;
24624
+ printed_by: string | null;
24625
+ printed_cart_ids: import("../integrations/supabase/types.js").Json;
24626
+ printer_id: string | null;
24627
+ priority: number;
24628
+ reference: string | null;
24629
+ route: string | null;
24630
+ screen_id: string | null;
24631
+ station_id: string | null;
24632
+ status_id: string | null;
24633
+ updated_at: string;
24634
+ warnings: import("../integrations/supabase/types.js").Json;
24635
+ };
24636
+ SetofOptions: {
24637
+ from: "*";
24638
+ to: "pick_queue";
24639
+ isOneToOne: true;
24640
+ isSetofReturn: false;
24641
+ };
24642
+ };
24643
+ pick_order_context: {
24644
+ Args: {
24645
+ _order_id?: string;
24646
+ _order_number?: string;
24647
+ };
24648
+ Returns: import("../integrations/supabase/types.js").Json;
24649
+ };
24650
+ pick_preview_job: {
24651
+ Args: {
24652
+ _queue_item_id: string;
24653
+ _station_slug: string;
24654
+ };
24655
+ Returns: import("../integrations/supabase/types.js").Json;
24656
+ };
24657
+ pick_print_job_status: {
24658
+ Args: {
24659
+ _job_id: string;
24660
+ };
24661
+ Returns: import("../integrations/supabase/types.js").Json;
24662
+ };
24663
+ pick_print_jobs_status: {
24664
+ Args: {
24665
+ _job_ids: string[];
24666
+ };
24667
+ Returns: import("../integrations/supabase/types.js").Json[];
24668
+ };
24669
+ pick_print_plekken: {
24670
+ Args: never;
24671
+ Returns: {
24672
+ id: string;
24673
+ naam: string;
24674
+ omschrijving: string;
24675
+ }[];
24676
+ };
24677
+ pick_queue_cart_plan: {
24678
+ Args: {
24679
+ _queue_item_id: string;
24680
+ };
24681
+ Returns: import("../integrations/supabase/types.js").Json;
24682
+ };
24683
+ pick_reference_data_status: {
24684
+ Args: never;
24685
+ Returns: import("../integrations/supabase/types.js").Json;
24686
+ };
24687
+ pick_release_expired_locks: {
24688
+ Args: never;
24689
+ Returns: number;
24690
+ };
24691
+ pick_release_lock: {
24692
+ Args: {
24693
+ _queue_item_id: string;
24694
+ };
24695
+ Returns: undefined;
24696
+ };
24697
+ pick_report_missing_cart_plan: {
24698
+ Args: never;
24699
+ Returns: import("../integrations/supabase/types.js").Json;
24700
+ };
24701
+ pick_reprint_cart: {
24702
+ Args: {
24703
+ _cart_id: string;
24704
+ _queue_item_id: string;
24705
+ _session_id: string;
24706
+ _throttle_seconds?: number;
24707
+ };
24708
+ Returns: string;
24709
+ };
24710
+ pick_reprint_document: {
24711
+ Args: {
24712
+ _queue_item_id: string;
24713
+ _session_id: string;
24714
+ _throttle_seconds?: number;
22724
24715
  };
24716
+ Returns: string;
22725
24717
  };
22726
- pick_claim_next_document: {
24718
+ pick_reset_print: {
22727
24719
  Args: {
22728
- _country_code: string;
22729
- _screen_id: string;
24720
+ _queue_item_id: string;
22730
24721
  _session_id: string;
22731
- _station_id: string;
22732
- _timeout_seconds?: number;
22733
24722
  };
22734
24723
  Returns: {
22735
24724
  announced_at: string;
@@ -22772,17 +24761,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22772
24761
  isOneToOne: true;
22773
24762
  isSetofReturn: false;
22774
24763
  };
22775
- };
22776
- pick_cleanup_maintenance: {
22777
- Args: {
22778
- _heartbeat_hours?: number;
22779
- _log_days?: number;
22780
- };
22781
- Returns: import("../integrations/supabase/types.js").Json;
22782
- };
22783
- pick_complete_print: {
24764
+ } | {
22784
24765
  Args: {
22785
- _printer_id: string;
24766
+ _cart_id?: string;
22786
24767
  _queue_item_id: string;
22787
24768
  _session_id: string;
22788
24769
  };
@@ -22828,10 +24809,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22828
24809
  isSetofReturn: false;
22829
24810
  };
22830
24811
  };
22831
- pick_complete_print_cart: {
24812
+ pick_reset_print_job: {
22832
24813
  Args: {
22833
24814
  _cart_id: string;
22834
- _printer_id: string;
24815
+ _job_id: string;
22835
24816
  _queue_item_id: string;
22836
24817
  _session_id: string;
22837
24818
  };
@@ -22877,94 +24858,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
22877
24858
  isSetofReturn: false;
22878
24859
  };
22879
24860
  };
22880
- pick_current_pick_day: {
22881
- Args: never;
22882
- Returns: string;
22883
- };
22884
- pick_day_counts: {
22885
- Args: {
22886
- _pick_day?: string;
22887
- _screen_id?: string;
22888
- _station_id?: string;
22889
- };
22890
- Returns: import("../integrations/supabase/types.js").Json;
22891
- };
22892
- pick_document_layout_data: {
22893
- Args: {
22894
- _layout_id: string;
22895
- };
22896
- Returns: import("../integrations/supabase/types.js").Json;
22897
- };
22898
- pick_enqueue_print_job: {
22899
- Args: {
22900
- _is_herprint?: boolean;
22901
- _printer_id?: string;
22902
- _queue_item_id: string;
22903
- _session_id?: string;
22904
- };
22905
- Returns: string;
22906
- } | {
22907
- Args: {
22908
- _cart_id: string;
22909
- _is_herprint: boolean;
22910
- _printer_id: string;
22911
- _queue_item_id: string;
22912
- _session_id: string;
22913
- };
22914
- Returns: string;
22915
- };
22916
- pick_order_context: {
22917
- Args: {
22918
- _order_id?: string;
22919
- _order_number?: string;
22920
- };
22921
- Returns: import("../integrations/supabase/types.js").Json;
22922
- };
22923
- pick_preview_job: {
22924
- Args: {
22925
- _queue_item_id: string;
22926
- _station_slug: string;
22927
- };
22928
- Returns: import("../integrations/supabase/types.js").Json;
22929
- };
22930
- pick_print_job_status: {
22931
- Args: {
22932
- _job_id: string;
22933
- };
22934
- Returns: import("../integrations/supabase/types.js").Json;
22935
- };
22936
- pick_print_plekken: {
22937
- Args: never;
22938
- Returns: {
22939
- id: string;
22940
- naam: string;
22941
- omschrijving: string;
22942
- }[];
22943
- };
22944
- pick_reference_data_status: {
22945
- Args: never;
22946
- Returns: import("../integrations/supabase/types.js").Json;
22947
- };
22948
- pick_release_expired_locks: {
22949
- Args: never;
22950
- Returns: number;
22951
- };
22952
- pick_release_lock: {
22953
- Args: {
22954
- _queue_item_id: string;
22955
- };
22956
- Returns: undefined;
22957
- };
22958
- pick_reprint_document: {
22959
- Args: {
22960
- _queue_item_id: string;
22961
- _session_id: string;
22962
- _throttle_seconds?: number;
22963
- };
22964
- Returns: string;
22965
- };
22966
- pick_reset_print: {
24861
+ pick_reset_print_jobs: {
22967
24862
  Args: {
24863
+ _cart_ids: string[];
24864
+ _job_ids: string[];
22968
24865
  _queue_item_id: string;
22969
24866
  _session_id: string;
22970
24867
  };
@@ -23009,9 +24906,9 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23009
24906
  isOneToOne: true;
23010
24907
  isSetofReturn: false;
23011
24908
  };
23012
- } | {
24909
+ };
24910
+ pick_restore_to_queue: {
23013
24911
  Args: {
23014
- _cart_id?: string;
23015
24912
  _queue_item_id: string;
23016
24913
  _session_id: string;
23017
24914
  };
@@ -23106,6 +25003,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23106
25003
  };
23107
25004
  Returns: string;
23108
25005
  };
25006
+ pick_sync_pick_day: {
25007
+ Args: {
25008
+ _day: string;
25009
+ };
25010
+ Returns: import("../integrations/supabase/types.js").Json;
25011
+ };
23109
25012
  pick_sync_queue_throttled: {
23110
25013
  Args: {
23111
25014
  _min_seconds?: number;
@@ -23335,6 +25238,26 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23335
25238
  };
23336
25239
  Returns: boolean;
23337
25240
  };
25241
+ release_job_lock: {
25242
+ Args: {
25243
+ _key: string;
25244
+ };
25245
+ Returns: undefined;
25246
+ };
25247
+ release_local_pdf_job: {
25248
+ Args: {
25249
+ _job_id: string;
25250
+ _writer_id: string;
25251
+ };
25252
+ Returns: boolean;
25253
+ };
25254
+ release_print_queue_lease: {
25255
+ Args: {
25256
+ _houder: string;
25257
+ _naam: string;
25258
+ };
25259
+ Returns: boolean;
25260
+ };
23338
25261
  release_stale_order_invoice_links: {
23339
25262
  Args: {
23340
25263
  _minutes?: number;
@@ -23355,6 +25278,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23355
25278
  };
23356
25279
  Returns: import("../integrations/supabase/types.js").Json;
23357
25280
  };
25281
+ reset_cart_layer_positions: {
25282
+ Args: {
25283
+ p_cart_id: string;
25284
+ };
25285
+ Returns: number;
25286
+ };
23358
25287
  reset_floriday_sync_cursor: {
23359
25288
  Args: {
23360
25289
  p_connection_id: string;
@@ -23418,6 +25347,15 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23418
25347
  };
23419
25348
  Returns: import("../integrations/supabase/types.js").Json;
23420
25349
  };
25350
+ roles_without_enum_mapping: {
25351
+ Args: never;
25352
+ Returns: {
25353
+ assignment_count: number;
25354
+ id: string;
25355
+ key: string;
25356
+ name: string;
25357
+ }[];
25358
+ };
23421
25359
  ruim_print_jobs_op: {
23422
25360
  Args: {
23423
25361
  _bewaar_dagen?: number;
@@ -23432,6 +25370,10 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23432
25370
  Args: never;
23433
25371
  Returns: undefined;
23434
25372
  };
25373
+ run_floriday_stock_reconcile: {
25374
+ Args: never;
25375
+ Returns: undefined;
25376
+ };
23435
25377
  run_logistics_tasks_dispatch: {
23436
25378
  Args: never;
23437
25379
  Returns: undefined;
@@ -23450,18 +25392,98 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23450
25392
  };
23451
25393
  Returns: import("../integrations/supabase/types.js").Json;
23452
25394
  };
25395
+ scan_complete_cart: {
25396
+ Args: {
25397
+ p_allow_reprint?: boolean;
25398
+ p_cart_id: string;
25399
+ p_print?: boolean;
25400
+ p_scanner_id?: string;
25401
+ };
25402
+ Returns: import("../integrations/supabase/types.js").Json;
25403
+ };
23453
25404
  scan_dashboard_stats: {
23454
25405
  Args: {
23455
25406
  p_dagen?: number;
23456
25407
  };
23457
25408
  Returns: import("../integrations/supabase/types.js").Json;
23458
25409
  };
25410
+ scan_eindcontrole: {
25411
+ Args: {
25412
+ p_barcode: string;
25413
+ p_scanner_id?: string;
25414
+ };
25415
+ Returns: import("../integrations/supabase/types.js").Json;
25416
+ };
23459
25417
  scan_finish_kar: {
23460
25418
  Args: {
23461
25419
  p_kar_id: string;
23462
25420
  };
23463
25421
  Returns: import("../integrations/supabase/types.js").Json;
23464
25422
  };
25423
+ scan_kar_compleet: {
25424
+ Args: {
25425
+ p_allow_reprint?: boolean;
25426
+ p_sessie_id: string;
25427
+ };
25428
+ Returns: import("../integrations/supabase/types.js").Json;
25429
+ };
25430
+ scan_kar_regels: {
25431
+ Args: {
25432
+ p_cart_id: string;
25433
+ };
25434
+ Returns: import("../integrations/supabase/types.js").Json;
25435
+ };
25436
+ scan_log_code: {
25437
+ Args: {
25438
+ p_code: string;
25439
+ p_latency_ms?: number;
25440
+ p_message?: string;
25441
+ p_result: string;
25442
+ p_scanner_key?: string;
25443
+ };
25444
+ Returns: string;
25445
+ };
25446
+ scan_open_pakbonnen: {
25447
+ Args: {
25448
+ p_dagen?: number;
25449
+ };
25450
+ Returns: import("../integrations/supabase/types.js").Json;
25451
+ };
25452
+ scan_pakbon_lookup: {
25453
+ Args: {
25454
+ p_barcode: string;
25455
+ };
25456
+ Returns: import("../integrations/supabase/types.js").Json;
25457
+ };
25458
+ scan_pakbon_opnieuw: {
25459
+ Args: {
25460
+ p_barcode: string;
25461
+ p_scanner_id?: string;
25462
+ };
25463
+ Returns: import("../integrations/supabase/types.js").Json;
25464
+ };
25465
+ scan_pakbon_toevoegen: {
25466
+ Args: {
25467
+ p_barcode: string;
25468
+ p_medewerker?: string;
25469
+ p_regels?: import("../integrations/supabase/types.js").Json;
25470
+ p_scanner_id: string;
25471
+ };
25472
+ Returns: import("../integrations/supabase/types.js").Json;
25473
+ };
25474
+ scan_print_restpakbon: {
25475
+ Args: {
25476
+ p_printer_id?: string;
25477
+ p_restpakbon_id: string;
25478
+ };
25479
+ Returns: import("../integrations/supabase/types.js").Json;
25480
+ };
25481
+ scan_print_verzendbrief: {
25482
+ Args: {
25483
+ p_sessie_id: string;
25484
+ };
25485
+ Returns: import("../integrations/supabase/types.js").Json;
25486
+ };
23465
25487
  scan_register_item: {
23466
25488
  Args: {
23467
25489
  p_kar_id: string;
@@ -23480,6 +25502,25 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23480
25502
  };
23481
25503
  Returns: import("../integrations/supabase/types.js").Json;
23482
25504
  };
25505
+ scan_restpakbon_geprint: {
25506
+ Args: {
25507
+ p_id: string;
25508
+ p_print_job_id?: string;
25509
+ };
25510
+ Returns: undefined;
25511
+ };
25512
+ scan_sessie_annuleren: {
25513
+ Args: {
25514
+ p_sessie_id: string;
25515
+ };
25516
+ Returns: undefined;
25517
+ };
25518
+ scan_sessie_open: {
25519
+ Args: {
25520
+ p_scanner_id: string;
25521
+ };
25522
+ Returns: import("../integrations/supabase/types.js").Json;
25523
+ };
23483
25524
  scan_start_kar: {
23484
25525
  Args: {
23485
25526
  p_medewerker_id?: string;
@@ -23498,6 +25539,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23498
25539
  };
23499
25540
  Returns: import("../integrations/supabase/types.js").Json;
23500
25541
  };
25542
+ scan_verzendbrief_regels: {
25543
+ Args: {
25544
+ p_sessie_id: string;
25545
+ };
25546
+ Returns: import("../integrations/supabase/types.js").Json;
25547
+ };
23501
25548
  schedule_floriday_additional_services_sync: {
23502
25549
  Args: {
23503
25550
  p_apikey: string;
@@ -23813,6 +25860,13 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23813
25860
  };
23814
25861
  Returns: import("../integrations/supabase/types.js").Json;
23815
25862
  };
25863
+ swap_cart_layer_positions: {
25864
+ Args: {
25865
+ p_a: string;
25866
+ p_b: string;
25867
+ };
25868
+ Returns: undefined;
25869
+ };
23816
25870
  switch_time_log: {
23817
25871
  Args: {
23818
25872
  p_employee_id: string;
@@ -23845,6 +25899,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23845
25899
  };
23846
25900
  Returns: undefined;
23847
25901
  };
25902
+ sync_order_item_fusten: {
25903
+ Args: {
25904
+ _order_item_id: string;
25905
+ };
25906
+ Returns: undefined;
25907
+ };
23848
25908
  sync_product_group_belading: {
23849
25909
  Args: {
23850
25910
  _group_id: string;
@@ -23872,6 +25932,14 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23872
25932
  row_count: number;
23873
25933
  }[];
23874
25934
  };
25935
+ try_acquire_job_lock: {
25936
+ Args: {
25937
+ _key: string;
25938
+ _owner?: string;
25939
+ _seconds?: number;
25940
+ };
25941
+ Returns: boolean;
25942
+ };
23875
25943
  try_debtor_lock: {
23876
25944
  Args: {
23877
25945
  _group_key: string;
@@ -23951,6 +26019,12 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23951
26019
  Args: never;
23952
26020
  Returns: string;
23953
26021
  };
26022
+ wake_print_queue: {
26023
+ Args: {
26024
+ _min_interval_ms?: number;
26025
+ };
26026
+ Returns: number;
26027
+ };
23954
26028
  werkbon_totalen: {
23955
26029
  Args: {
23956
26030
  _werkbon_id: string;
@@ -23983,10 +26057,18 @@ export declare const analyseerDocumentLayout: import("@tanstack/start-client-cor
23983
26057
  };
23984
26058
  Returns: import("../integrations/supabase/types.js").Json;
23985
26059
  };
26060
+ wo_set_status: {
26061
+ Args: {
26062
+ _reason?: string;
26063
+ _status: string;
26064
+ _work_order_id: string;
26065
+ };
26066
+ Returns: import("../integrations/supabase/types.js").Json;
26067
+ };
23986
26068
  };
23987
26069
  Enums: {
23988
26070
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23989
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26071
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23990
26072
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23991
26073
  doc_orientation: "portrait" | "landscape";
23992
26074
  exact_env: "staging" | "live";