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