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