@flowselections/floriday-afhandeling-module 1.0.42 → 1.0.44

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 (96) hide show
  1. package/dist-lib/components/afhandeling/AutoProcessStatus.d.ts +3 -1
  2. package/dist-lib/components/afhandeling/AutoProcessStatus.d.ts.map +1 -1
  3. package/dist-lib/components/afhandeling/AutoProcessStatus.js +36 -3
  4. package/dist-lib/components/afhandeling/ControleLijstPrint.js +54 -54
  5. package/dist-lib/components/afhandeling/ControlePage.d.ts.map +1 -1
  6. package/dist-lib/components/afhandeling/ControlePage.js +23 -25
  7. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts +1 -1
  8. package/dist-lib/components/afhandeling/DagDetailDialog.d.ts.map +1 -1
  9. package/dist-lib/components/afhandeling/DagDetailDialog.js +410 -121
  10. package/dist-lib/components/afhandeling/PickAgendaView.d.ts.map +1 -1
  11. package/dist-lib/components/afhandeling/PickAgendaView.js +4 -4
  12. package/dist-lib/components/afhandeling/PickingPage.d.ts.map +1 -1
  13. package/dist-lib/components/afhandeling/PickingPage.js +1 -1
  14. package/dist-lib/components/afhandeling/ScanControleView.d.ts +2 -0
  15. package/dist-lib/components/afhandeling/ScanControleView.d.ts.map +1 -0
  16. package/dist-lib/components/afhandeling/ScanControleView.js +158 -0
  17. package/dist-lib/components/afhandeling/VervoerdersPage.js +1 -1
  18. package/dist-lib/components/afhandeling/VerzetOrderDialog.js +1 -1
  19. package/dist-lib/components/afhandeling/WeekAgendaView.d.ts.map +1 -1
  20. package/dist-lib/components/afhandeling/WeekAgendaView.js +25 -2
  21. package/dist-lib/components/pickstation/PakbonTemplate.js +70 -70
  22. package/dist-lib/hooks/useCartIndex.d.ts.map +1 -1
  23. package/dist-lib/hooks/useCartIndex.js +6 -1
  24. package/dist-lib/hooks/useEngineBufferEvents.d.ts +7 -0
  25. package/dist-lib/hooks/useEngineBufferEvents.d.ts.map +1 -0
  26. package/dist-lib/hooks/useEngineBufferEvents.js +47 -0
  27. package/dist-lib/hooks/useEngineTasks.js +1 -1
  28. package/dist-lib/hooks/useKnownOrders.d.ts +12 -0
  29. package/dist-lib/hooks/useKnownOrders.d.ts.map +1 -0
  30. package/dist-lib/hooks/useKnownOrders.js +79 -0
  31. package/dist-lib/hooks/useOrderBuffers.d.ts +17 -0
  32. package/dist-lib/hooks/useOrderBuffers.d.ts.map +1 -0
  33. package/dist-lib/hooks/useOrderBuffers.js +53 -0
  34. package/dist-lib/hooks/useOrderPickDates.d.ts +10 -0
  35. package/dist-lib/hooks/useOrderPickDates.d.ts.map +1 -0
  36. package/dist-lib/hooks/useOrderPickDates.js +62 -0
  37. package/dist-lib/hooks/useOrderPlanning.d.ts +1 -3
  38. package/dist-lib/hooks/useOrderPlanning.d.ts.map +1 -1
  39. package/dist-lib/hooks/useOrderPlanning.js +9 -13
  40. package/dist-lib/hooks/usePickAgenda.d.ts +4 -5
  41. package/dist-lib/hooks/usePickAgenda.d.ts.map +1 -1
  42. package/dist-lib/hooks/usePickAgenda.js +65 -9
  43. package/dist-lib/hooks/usePickMode.d.ts +10 -0
  44. package/dist-lib/hooks/usePickMode.d.ts.map +1 -0
  45. package/dist-lib/hooks/usePickMode.js +31 -0
  46. package/dist-lib/index.d.ts +2 -0
  47. package/dist-lib/index.d.ts.map +1 -1
  48. package/dist-lib/index.js +19 -6
  49. package/dist-lib/integrations/supabase/auth-middleware.d.ts +2174 -60
  50. package/dist-lib/integrations/supabase/auth-middleware.d.ts.map +1 -1
  51. package/dist-lib/integrations/supabase/client.server.d.ts +2174 -60
  52. package/dist-lib/integrations/supabase/client.server.d.ts.map +1 -1
  53. package/dist-lib/integrations/supabase/client.server.js +1 -1
  54. package/dist-lib/integrations/supabase/moduleClient.d.ts +2174 -60
  55. package/dist-lib/integrations/supabase/moduleClient.d.ts.map +1 -1
  56. package/dist-lib/integrations/supabase/types.d.ts +2381 -225
  57. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  58. package/dist-lib/integrations/supabase/types.js +1 -0
  59. package/dist-lib/lib/afhandelingSettings.functions.d.ts +4452 -228
  60. package/dist-lib/lib/afhandelingSettings.functions.d.ts.map +1 -1
  61. package/dist-lib/lib/carrierSignupMail.server.js +26 -26
  62. package/dist-lib/lib/carriers.functions.d.ts +11161 -591
  63. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  64. package/dist-lib/lib/cartAssignments.functions.d.ts +11161 -591
  65. package/dist-lib/lib/cartAssignments.functions.d.ts.map +1 -1
  66. package/dist-lib/lib/cartControl.functions.d.ts +48433 -1230
  67. package/dist-lib/lib/cartControl.functions.d.ts.map +1 -1
  68. package/dist-lib/lib/cartControl.functions.js +134 -10
  69. package/dist-lib/lib/deliveryNote.functions.d.ts +26064 -0
  70. package/dist-lib/lib/deliveryNote.functions.d.ts.map +1 -0
  71. package/dist-lib/lib/deliveryNote.functions.js +32 -0
  72. package/dist-lib/lib/engineLayouts.functions.d.ts +26062 -0
  73. package/dist-lib/lib/engineLayouts.functions.d.ts.map +1 -0
  74. package/dist-lib/lib/engineLayouts.functions.js +42 -0
  75. package/dist-lib/lib/floriday.functions.d.ts +28367 -186
  76. package/dist-lib/lib/floriday.functions.d.ts.map +1 -1
  77. package/dist-lib/lib/floriday.functions.js +119 -343
  78. package/dist-lib/lib/logisticsEngine/reschedule.d.ts +17 -0
  79. package/dist-lib/lib/logisticsEngine/reschedule.d.ts.map +1 -1
  80. package/dist-lib/lib/logisticsEngine/reschedule.js +63 -0
  81. package/dist-lib/lib/orderFulfilment.functions.d.ts +26064 -0
  82. package/dist-lib/lib/orderFulfilment.functions.d.ts.map +1 -0
  83. package/dist-lib/lib/orderFulfilment.functions.js +35 -0
  84. package/dist-lib/lib/orderStatus.d.ts +10 -0
  85. package/dist-lib/lib/orderStatus.d.ts.map +1 -0
  86. package/dist-lib/lib/orderStatus.js +81 -0
  87. package/dist-lib/lib/pickDates.functions.d.ts +26069 -0
  88. package/dist-lib/lib/pickDates.functions.d.ts.map +1 -0
  89. package/dist-lib/lib/pickDates.functions.js +56 -0
  90. package/dist-lib/lib/pickMode.d.ts +14 -0
  91. package/dist-lib/lib/pickMode.d.ts.map +1 -0
  92. package/dist-lib/lib/pickMode.js +103 -0
  93. package/dist-lib/lib/printing.d.ts +3 -1
  94. package/dist-lib/lib/printing.d.ts.map +1 -1
  95. package/dist-lib/lib/printing.js +1 -0
  96. package/package.json +1 -1
@@ -691,6 +691,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
691
691
  raw: import("./types").Json;
692
692
  updated_at: string;
693
693
  valuta: string;
694
+ velden: import("./types").Json;
694
695
  };
695
696
  Insert: {
696
697
  artikelcode: string;
@@ -708,6 +709,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
708
709
  raw?: import("./types").Json;
709
710
  updated_at?: string;
710
711
  valuta?: string;
712
+ velden?: import("./types").Json;
711
713
  };
712
714
  Update: {
713
715
  artikelcode?: string;
@@ -725,6 +727,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
725
727
  raw?: import("./types").Json;
726
728
  updated_at?: string;
727
729
  valuta?: string;
730
+ velden?: import("./types").Json;
728
731
  };
729
732
  Relationships: [];
730
733
  };
@@ -1419,8 +1422,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1419
1422
  Row: {
1420
1423
  assigned_at: string;
1421
1424
  cart_index: number;
1422
- cart_number: string;
1423
- day_seq: number;
1425
+ cart_number: string | null;
1426
+ day_seq: number | null;
1427
+ delivered_at: string | null;
1424
1428
  id: string;
1425
1429
  order_id: string;
1426
1430
  order_source: string;
@@ -1430,8 +1434,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1430
1434
  Insert: {
1431
1435
  assigned_at?: string;
1432
1436
  cart_index: number;
1433
- cart_number: string;
1434
- day_seq: number;
1437
+ cart_number?: string | null;
1438
+ day_seq?: number | null;
1439
+ delivered_at?: string | null;
1435
1440
  id?: string;
1436
1441
  order_id: string;
1437
1442
  order_source: string;
@@ -1441,8 +1446,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1441
1446
  Update: {
1442
1447
  assigned_at?: string;
1443
1448
  cart_index?: number;
1444
- cart_number?: string;
1445
- day_seq?: number;
1449
+ cart_number?: string | null;
1450
+ day_seq?: number | null;
1451
+ delivered_at?: string | null;
1446
1452
  id?: string;
1447
1453
  order_id?: string;
1448
1454
  order_source?: string;
@@ -1543,6 +1549,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
1543
1549
  updated_at?: string;
1544
1550
  };
1545
1551
  Relationships: [{
1552
+ foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1553
+ columns: ["product_id"];
1554
+ isOneToOne: true;
1555
+ referencedRelation: "logistics_product_dimensions";
1556
+ referencedColumns: ["product_id"];
1557
+ }, {
1546
1558
  foreignKeyName: "cart_planning_product_overrides_product_id_fkey";
1547
1559
  columns: ["product_id"];
1548
1560
  isOneToOne: true;
@@ -2143,6 +2155,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2143
2155
  created_at: string;
2144
2156
  currency: string;
2145
2157
  distribute_over: string | null;
2158
+ external_id: string | null;
2159
+ external_synced_at: string | null;
2146
2160
  group_type: string;
2147
2161
  handling_fee: number | null;
2148
2162
  id: string;
@@ -2155,6 +2169,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2155
2169
  rounding: string;
2156
2170
  rounding_step: number;
2157
2171
  sort_order: number;
2172
+ source: string;
2158
2173
  unit: string;
2159
2174
  updated_at: string;
2160
2175
  };
@@ -2165,6 +2180,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2165
2180
  created_at?: string;
2166
2181
  currency?: string;
2167
2182
  distribute_over?: string | null;
2183
+ external_id?: string | null;
2184
+ external_synced_at?: string | null;
2168
2185
  group_type?: string;
2169
2186
  handling_fee?: number | null;
2170
2187
  id?: string;
@@ -2177,6 +2194,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2177
2194
  rounding?: string;
2178
2195
  rounding_step?: number;
2179
2196
  sort_order?: number;
2197
+ source?: string;
2180
2198
  unit?: string;
2181
2199
  updated_at?: string;
2182
2200
  };
@@ -2187,6 +2205,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2187
2205
  created_at?: string;
2188
2206
  currency?: string;
2189
2207
  distribute_over?: string | null;
2208
+ external_id?: string | null;
2209
+ external_synced_at?: string | null;
2190
2210
  group_type?: string;
2191
2211
  handling_fee?: number | null;
2192
2212
  id?: string;
@@ -2199,6 +2219,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
2199
2219
  rounding?: string;
2200
2220
  rounding_step?: number;
2201
2221
  sort_order?: number;
2222
+ source?: string;
2202
2223
  unit?: string;
2203
2224
  updated_at?: string;
2204
2225
  };
@@ -7070,6 +7091,51 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
7070
7091
  };
7071
7092
  Relationships: [];
7072
7093
  };
7094
+ floriday_status_sync_queue: {
7095
+ Row: {
7096
+ attempts: number;
7097
+ created_at: string;
7098
+ error: string | null;
7099
+ floriday_sales_order_id: string;
7100
+ order_id: string;
7101
+ processed_at: string | null;
7102
+ requested_at: string;
7103
+ state: string;
7104
+ target_status: string;
7105
+ updated_at: string;
7106
+ };
7107
+ Insert: {
7108
+ attempts?: number;
7109
+ created_at?: string;
7110
+ error?: string | null;
7111
+ floriday_sales_order_id: string;
7112
+ order_id: string;
7113
+ processed_at?: string | null;
7114
+ requested_at?: string;
7115
+ state?: string;
7116
+ target_status: string;
7117
+ updated_at?: string;
7118
+ };
7119
+ Update: {
7120
+ attempts?: number;
7121
+ created_at?: string;
7122
+ error?: string | null;
7123
+ floriday_sales_order_id?: string;
7124
+ order_id?: string;
7125
+ processed_at?: string | null;
7126
+ requested_at?: string;
7127
+ state?: string;
7128
+ target_status?: string;
7129
+ updated_at?: string;
7130
+ };
7131
+ Relationships: [{
7132
+ foreignKeyName: "floriday_status_sync_queue_order_id_fkey";
7133
+ columns: ["order_id"];
7134
+ isOneToOne: true;
7135
+ referencedRelation: "orders";
7136
+ referencedColumns: ["id"];
7137
+ }];
7138
+ };
7073
7139
  floriday_sync_cursors: {
7074
7140
  Row: {
7075
7141
  connection_id: string;
@@ -8304,10 +8370,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8304
8370
  general_email: string | null;
8305
8371
  general_phone: string | null;
8306
8372
  id: string;
8373
+ kvk_number: string | null;
8307
8374
  legacy_customer_id: string | null;
8308
8375
  name: string;
8309
8376
  segment: Database["public"]["Enums"]["itk_customer_segment"];
8310
8377
  updated_at: string;
8378
+ vat_number: string | null;
8311
8379
  };
8312
8380
  Insert: {
8313
8381
  billing_city?: string | null;
@@ -8318,10 +8386,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8318
8386
  general_email?: string | null;
8319
8387
  general_phone?: string | null;
8320
8388
  id?: string;
8389
+ kvk_number?: string | null;
8321
8390
  legacy_customer_id?: string | null;
8322
8391
  name: string;
8323
8392
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8324
8393
  updated_at?: string;
8394
+ vat_number?: string | null;
8325
8395
  };
8326
8396
  Update: {
8327
8397
  billing_city?: string | null;
@@ -8332,10 +8402,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8332
8402
  general_email?: string | null;
8333
8403
  general_phone?: string | null;
8334
8404
  id?: string;
8405
+ kvk_number?: string | null;
8335
8406
  legacy_customer_id?: string | null;
8336
8407
  name?: string;
8337
8408
  segment?: Database["public"]["Enums"]["itk_customer_segment"];
8338
8409
  updated_at?: string;
8410
+ vat_number?: string | null;
8339
8411
  };
8340
8412
  Relationships: [];
8341
8413
  };
@@ -8369,6 +8441,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8369
8441
  };
8370
8442
  Relationships: [];
8371
8443
  };
8444
+ itk_handover_github_scan: {
8445
+ Row: {
8446
+ gescand_op: string;
8447
+ gevonden: boolean;
8448
+ melding: string | null;
8449
+ module_id: string | null;
8450
+ repo: string;
8451
+ };
8452
+ Insert: {
8453
+ gescand_op?: string;
8454
+ gevonden?: boolean;
8455
+ melding?: string | null;
8456
+ module_id?: string | null;
8457
+ repo: string;
8458
+ };
8459
+ Update: {
8460
+ gescand_op?: string;
8461
+ gevonden?: boolean;
8462
+ melding?: string | null;
8463
+ module_id?: string | null;
8464
+ repo?: string;
8465
+ };
8466
+ Relationships: [];
8467
+ };
8468
+ itk_handover_module_meta: {
8469
+ Row: {
8470
+ check_aangevraagd_op: string | null;
8471
+ check_nodig: boolean;
8472
+ check_reden: string | null;
8473
+ created_at: string;
8474
+ module_id: string;
8475
+ project_url: string | null;
8476
+ publicatie_url: string | null;
8477
+ updated_at: string;
8478
+ };
8479
+ Insert: {
8480
+ check_aangevraagd_op?: string | null;
8481
+ check_nodig?: boolean;
8482
+ check_reden?: string | null;
8483
+ created_at?: string;
8484
+ module_id: string;
8485
+ project_url?: string | null;
8486
+ publicatie_url?: string | null;
8487
+ updated_at?: string;
8488
+ };
8489
+ Update: {
8490
+ check_aangevraagd_op?: string | null;
8491
+ check_nodig?: boolean;
8492
+ check_reden?: string | null;
8493
+ created_at?: string;
8494
+ module_id?: string;
8495
+ project_url?: string | null;
8496
+ publicatie_url?: string | null;
8497
+ updated_at?: string;
8498
+ };
8499
+ Relationships: [];
8500
+ };
8501
+ itk_handover_project_modules: {
8502
+ Row: {
8503
+ created_at: string;
8504
+ id: string;
8505
+ module_id: string;
8506
+ project_id: string;
8507
+ updated_at: string;
8508
+ };
8509
+ Insert: {
8510
+ created_at?: string;
8511
+ id?: string;
8512
+ module_id: string;
8513
+ project_id: string;
8514
+ updated_at?: string;
8515
+ };
8516
+ Update: {
8517
+ created_at?: string;
8518
+ id?: string;
8519
+ module_id?: string;
8520
+ project_id?: string;
8521
+ updated_at?: string;
8522
+ };
8523
+ Relationships: [{
8524
+ foreignKeyName: "itk_handover_project_modules_project_id_fkey";
8525
+ columns: ["project_id"];
8526
+ isOneToOne: false;
8527
+ referencedRelation: "itk_handover_projecten";
8528
+ referencedColumns: ["id"];
8529
+ }];
8530
+ };
8531
+ itk_handover_projecten: {
8532
+ Row: {
8533
+ created_at: string;
8534
+ id: string;
8535
+ naam: string;
8536
+ omschrijving: string | null;
8537
+ updated_at: string;
8538
+ };
8539
+ Insert: {
8540
+ created_at?: string;
8541
+ id?: string;
8542
+ naam: string;
8543
+ omschrijving?: string | null;
8544
+ updated_at?: string;
8545
+ };
8546
+ Update: {
8547
+ created_at?: string;
8548
+ id?: string;
8549
+ naam?: string;
8550
+ omschrijving?: string | null;
8551
+ updated_at?: string;
8552
+ };
8553
+ Relationships: [];
8554
+ };
8372
8555
  itk_handover_rechten: {
8373
8556
  Row: {
8374
8557
  created_at: string;
@@ -8396,42 +8579,33 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8396
8579
  };
8397
8580
  Relationships: [];
8398
8581
  };
8399
- itk_handover_tokens: {
8582
+ itk_module_fingerprints: {
8400
8583
  Row: {
8401
- aangemaakt_door: string | null;
8402
8584
  created_at: string;
8585
+ gemaakt_op: string;
8586
+ hash: string;
8403
8587
  id: string;
8404
- is_actief: boolean;
8405
- laatst_gebruikt_op: string | null;
8406
- label: string;
8407
8588
  module_id: string;
8408
- token_hash: string;
8589
+ payload: import("./types").Json;
8409
8590
  updated_at: string;
8410
- verloopt_op: string | null;
8411
8591
  };
8412
8592
  Insert: {
8413
- aangemaakt_door?: string | null;
8414
8593
  created_at?: string;
8594
+ gemaakt_op?: string;
8595
+ hash: string;
8415
8596
  id?: string;
8416
- is_actief?: boolean;
8417
- laatst_gebruikt_op?: string | null;
8418
- label?: string;
8419
8597
  module_id: string;
8420
- token_hash: string;
8598
+ payload?: import("./types").Json;
8421
8599
  updated_at?: string;
8422
- verloopt_op?: string | null;
8423
8600
  };
8424
8601
  Update: {
8425
- aangemaakt_door?: string | null;
8426
8602
  created_at?: string;
8603
+ gemaakt_op?: string;
8604
+ hash?: string;
8427
8605
  id?: string;
8428
- is_actief?: boolean;
8429
- laatst_gebruikt_op?: string | null;
8430
- label?: string;
8431
8606
  module_id?: string;
8432
- token_hash?: string;
8607
+ payload?: import("./types").Json;
8433
8608
  updated_at?: string;
8434
- verloopt_op?: string | null;
8435
8609
  };
8436
8610
  Relationships: [];
8437
8611
  };
@@ -8439,6 +8613,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8439
8613
  Row: {
8440
8614
  bevindingen: string | null;
8441
8615
  bezit_tabellen: string[];
8616
+ bron_commit: string | null;
8617
+ bron_pad: string | null;
8618
+ bron_repo: string | null;
8619
+ bron_soort: string | null;
8620
+ bron_versie: string | null;
8442
8621
  conflicten_snapshot: import("./types").Json;
8443
8622
  contractfuncties: string[];
8444
8623
  created_at: string;
@@ -8449,6 +8628,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8449
8628
  id: string;
8450
8629
  inhoud_md: string;
8451
8630
  is_actueel: boolean;
8631
+ is_gearchiveerd: boolean;
8632
+ laatst_gecontroleerd_op: string | null;
8452
8633
  module_id: string;
8453
8634
  module_titel: string;
8454
8635
  ontbrekende_contracten: string[];
@@ -8459,6 +8640,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8459
8640
  Insert: {
8460
8641
  bevindingen?: string | null;
8461
8642
  bezit_tabellen?: string[];
8643
+ bron_commit?: string | null;
8644
+ bron_pad?: string | null;
8645
+ bron_repo?: string | null;
8646
+ bron_soort?: string | null;
8647
+ bron_versie?: string | null;
8462
8648
  conflicten_snapshot?: import("./types").Json;
8463
8649
  contractfuncties?: string[];
8464
8650
  created_at?: string;
@@ -8469,6 +8655,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8469
8655
  id?: string;
8470
8656
  inhoud_md: string;
8471
8657
  is_actueel?: boolean;
8658
+ is_gearchiveerd?: boolean;
8659
+ laatst_gecontroleerd_op?: string | null;
8472
8660
  module_id: string;
8473
8661
  module_titel: string;
8474
8662
  ontbrekende_contracten?: string[];
@@ -8479,6 +8667,11 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8479
8667
  Update: {
8480
8668
  bevindingen?: string | null;
8481
8669
  bezit_tabellen?: string[];
8670
+ bron_commit?: string | null;
8671
+ bron_pad?: string | null;
8672
+ bron_repo?: string | null;
8673
+ bron_soort?: string | null;
8674
+ bron_versie?: string | null;
8482
8675
  conflicten_snapshot?: import("./types").Json;
8483
8676
  contractfuncties?: string[];
8484
8677
  created_at?: string;
@@ -8489,6 +8682,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8489
8682
  id?: string;
8490
8683
  inhoud_md?: string;
8491
8684
  is_actueel?: boolean;
8685
+ is_gearchiveerd?: boolean;
8686
+ laatst_gecontroleerd_op?: string | null;
8492
8687
  module_id?: string;
8493
8688
  module_titel?: string;
8494
8689
  ontbrekende_contracten?: string[];
@@ -8543,6 +8738,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8543
8738
  };
8544
8739
  Relationships: [];
8545
8740
  };
8741
+ itk_module_wijzigingen: {
8742
+ Row: {
8743
+ created_at: string;
8744
+ geconstateerd_op: string;
8745
+ id: string;
8746
+ module_id: string;
8747
+ omschrijving: string;
8748
+ soort: string;
8749
+ updated_at: string;
8750
+ was_na_publicatie: boolean;
8751
+ };
8752
+ Insert: {
8753
+ created_at?: string;
8754
+ geconstateerd_op?: string;
8755
+ id?: string;
8756
+ module_id: string;
8757
+ omschrijving: string;
8758
+ soort: string;
8759
+ updated_at?: string;
8760
+ was_na_publicatie?: boolean;
8761
+ };
8762
+ Update: {
8763
+ created_at?: string;
8764
+ geconstateerd_op?: string;
8765
+ id?: string;
8766
+ module_id?: string;
8767
+ omschrijving?: string;
8768
+ soort?: string;
8769
+ updated_at?: string;
8770
+ was_na_publicatie?: boolean;
8771
+ };
8772
+ Relationships: [];
8773
+ };
8546
8774
  itk_offerte_events: {
8547
8775
  Row: {
8548
8776
  created_at: string;
@@ -8781,12 +9009,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8781
9009
  isOneToOne: false;
8782
9010
  referencedRelation: "werkbonnen";
8783
9011
  referencedColumns: ["id"];
9012
+ }, {
9013
+ foreignKeyName: "itk_offertes_follow_up_werkbon_id_fkey";
9014
+ columns: ["follow_up_werkbon_id"];
9015
+ isOneToOne: false;
9016
+ referencedRelation: "wo_overview";
9017
+ referencedColumns: ["id"];
8784
9018
  }, {
8785
9019
  foreignKeyName: "itk_offertes_werkbon_id_fkey";
8786
9020
  columns: ["werkbon_id"];
8787
9021
  isOneToOne: false;
8788
9022
  referencedRelation: "werkbonnen";
8789
9023
  referencedColumns: ["id"];
9024
+ }, {
9025
+ foreignKeyName: "itk_offertes_werkbon_id_fkey";
9026
+ columns: ["werkbon_id"];
9027
+ isOneToOne: false;
9028
+ referencedRelation: "wo_overview";
9029
+ referencedColumns: ["id"];
8790
9030
  }, {
8791
9031
  foreignKeyName: "itk_offertes_work_location_id_fkey";
8792
9032
  columns: ["work_location_id"];
@@ -8843,6 +9083,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
8843
9083
  referencedColumns: ["id"];
8844
9084
  }];
8845
9085
  };
9086
+ job_locks: {
9087
+ Row: {
9088
+ created_at: string;
9089
+ lock_key: string;
9090
+ locked_until: string;
9091
+ owner: string | null;
9092
+ updated_at: string;
9093
+ };
9094
+ Insert: {
9095
+ created_at?: string;
9096
+ lock_key: string;
9097
+ locked_until: string;
9098
+ owner?: string | null;
9099
+ updated_at?: string;
9100
+ };
9101
+ Update: {
9102
+ created_at?: string;
9103
+ lock_key?: string;
9104
+ locked_until?: string;
9105
+ owner?: string | null;
9106
+ updated_at?: string;
9107
+ };
9108
+ Relationships: [];
9109
+ };
8846
9110
  layout_logos: {
8847
9111
  Row: {
8848
9112
  bestand_url: string;
@@ -9087,6 +9351,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9087
9351
  isOneToOne: false;
9088
9352
  referencedRelation: "product_categories";
9089
9353
  referencedColumns: ["id"];
9354
+ }, {
9355
+ foreignKeyName: "local_customer_agreements_product_id_fkey";
9356
+ columns: ["product_id"];
9357
+ isOneToOne: false;
9358
+ referencedRelation: "logistics_product_dimensions";
9359
+ referencedColumns: ["product_id"];
9090
9360
  }, {
9091
9361
  foreignKeyName: "local_customer_agreements_product_id_fkey";
9092
9362
  columns: ["product_id"];
@@ -9153,6 +9423,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9153
9423
  isOneToOne: false;
9154
9424
  referencedRelation: "product_categories";
9155
9425
  referencedColumns: ["id"];
9426
+ }, {
9427
+ foreignKeyName: "local_customer_price_groups_product_id_fkey";
9428
+ columns: ["product_id"];
9429
+ isOneToOne: false;
9430
+ referencedRelation: "logistics_product_dimensions";
9431
+ referencedColumns: ["product_id"];
9156
9432
  }, {
9157
9433
  foreignKeyName: "local_customer_price_groups_product_id_fkey";
9158
9434
  columns: ["product_id"];
@@ -9219,6 +9495,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9219
9495
  isOneToOne: false;
9220
9496
  referencedRelation: "product_categories";
9221
9497
  referencedColumns: ["id"];
9498
+ }, {
9499
+ foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9500
+ columns: ["product_id"];
9501
+ isOneToOne: false;
9502
+ referencedRelation: "logistics_product_dimensions";
9503
+ referencedColumns: ["product_id"];
9222
9504
  }, {
9223
9505
  foreignKeyName: "local_customer_sales_strategies_product_id_fkey";
9224
9506
  columns: ["product_id"];
@@ -9422,6 +9704,75 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9422
9704
  };
9423
9705
  Relationships: [];
9424
9706
  };
9707
+ logistics_control_scan: {
9708
+ Row: {
9709
+ approved_at: string | null;
9710
+ attempts: number;
9711
+ barcode: string;
9712
+ cart_id: string;
9713
+ created_at: string;
9714
+ document_url: string | null;
9715
+ error: string | null;
9716
+ error_code: string | null;
9717
+ fulfillment_order_id: string | null;
9718
+ id: string;
9719
+ is_floriday: boolean;
9720
+ locked_until: string | null;
9721
+ order_id: string | null;
9722
+ order_number: string | null;
9723
+ print_job_id: string | null;
9724
+ printed_at: string | null;
9725
+ printer_id: string | null;
9726
+ scanner_id: string | null;
9727
+ status: string;
9728
+ updated_at: string;
9729
+ };
9730
+ Insert: {
9731
+ approved_at?: string | null;
9732
+ attempts?: number;
9733
+ barcode: string;
9734
+ cart_id: string;
9735
+ created_at?: string;
9736
+ document_url?: string | null;
9737
+ error?: string | null;
9738
+ error_code?: string | null;
9739
+ fulfillment_order_id?: string | null;
9740
+ id?: string;
9741
+ is_floriday?: boolean;
9742
+ locked_until?: string | null;
9743
+ order_id?: string | null;
9744
+ order_number?: string | null;
9745
+ print_job_id?: string | null;
9746
+ printed_at?: string | null;
9747
+ printer_id?: string | null;
9748
+ scanner_id?: string | null;
9749
+ status?: string;
9750
+ updated_at?: string;
9751
+ };
9752
+ Update: {
9753
+ approved_at?: string | null;
9754
+ attempts?: number;
9755
+ barcode?: string;
9756
+ cart_id?: string;
9757
+ created_at?: string;
9758
+ document_url?: string | null;
9759
+ error?: string | null;
9760
+ error_code?: string | null;
9761
+ fulfillment_order_id?: string | null;
9762
+ id?: string;
9763
+ is_floriday?: boolean;
9764
+ locked_until?: string | null;
9765
+ order_id?: string | null;
9766
+ order_number?: string | null;
9767
+ print_job_id?: string | null;
9768
+ printed_at?: string | null;
9769
+ printer_id?: string | null;
9770
+ scanner_id?: string | null;
9771
+ status?: string;
9772
+ updated_at?: string;
9773
+ };
9774
+ Relationships: [];
9775
+ };
9425
9776
  logistics_decisions: {
9426
9777
  Row: {
9427
9778
  created_at: string;
@@ -9707,7 +10058,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9707
10058
  };
9708
10059
  Relationships: [];
9709
10060
  };
9710
- logistics_floriday_pushes: {
10061
+ logistics_floriday_carrier_map: {
10062
+ Row: {
10063
+ carrier_code: string;
10064
+ created_at: string;
10065
+ floriday_code: string;
10066
+ };
10067
+ Insert: {
10068
+ carrier_code: string;
10069
+ created_at?: string;
10070
+ floriday_code: string;
10071
+ };
10072
+ Update: {
10073
+ carrier_code?: string;
10074
+ created_at?: string;
10075
+ floriday_code?: string;
10076
+ };
10077
+ Relationships: [];
10078
+ };
10079
+ logistics_floriday_pushes: {
9711
10080
  Row: {
9712
10081
  attempts: number;
9713
10082
  created_at: string;
@@ -9824,6 +10193,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9824
10193
  referencedColumns: ["id"];
9825
10194
  }];
9826
10195
  };
10196
+ logistics_layer_override_log: {
10197
+ Row: {
10198
+ cart_id: string;
10199
+ created_at: string;
10200
+ details: import("./types").Json;
10201
+ id: string;
10202
+ keg_id: string | null;
10203
+ product_id: string | null;
10204
+ reason: string;
10205
+ };
10206
+ Insert: {
10207
+ cart_id: string;
10208
+ created_at?: string;
10209
+ details?: import("./types").Json;
10210
+ id?: string;
10211
+ keg_id?: string | null;
10212
+ product_id?: string | null;
10213
+ reason: string;
10214
+ };
10215
+ Update: {
10216
+ cart_id?: string;
10217
+ created_at?: string;
10218
+ details?: import("./types").Json;
10219
+ id?: string;
10220
+ keg_id?: string | null;
10221
+ product_id?: string | null;
10222
+ reason?: string;
10223
+ };
10224
+ Relationships: [];
10225
+ };
9827
10226
  logistics_pickup_moments: {
9828
10227
  Row: {
9829
10228
  carrier_ref: string | null;
@@ -9870,6 +10269,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9870
10269
  next_attempt_at: string;
9871
10270
  order_id: string;
9872
10271
  reason: string;
10272
+ reason_code: string | null;
9873
10273
  status: string;
9874
10274
  updated_at: string;
9875
10275
  };
@@ -9882,6 +10282,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9882
10282
  next_attempt_at?: string;
9883
10283
  order_id: string;
9884
10284
  reason?: string;
10285
+ reason_code?: string | null;
9885
10286
  status?: string;
9886
10287
  updated_at?: string;
9887
10288
  };
@@ -9894,6 +10295,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
9894
10295
  next_attempt_at?: string;
9895
10296
  order_id?: string;
9896
10297
  reason?: string;
10298
+ reason_code?: string | null;
9897
10299
  status?: string;
9898
10300
  updated_at?: string;
9899
10301
  };
@@ -10598,6 +11000,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
10598
11000
  referencedColumns: ["id"];
10599
11001
  }];
10600
11002
  };
11003
+ logistics_tick_heartbeat: {
11004
+ Row: {
11005
+ id: boolean;
11006
+ last_tick_at: string;
11007
+ };
11008
+ Insert: {
11009
+ id?: boolean;
11010
+ last_tick_at?: string;
11011
+ };
11012
+ Update: {
11013
+ id?: boolean;
11014
+ last_tick_at?: string;
11015
+ };
11016
+ Relationships: [];
11017
+ };
10601
11018
  logistics_variables: {
10602
11019
  Row: {
10603
11020
  created_at: string;
@@ -11029,6 +11446,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
11029
11446
  updated_at?: string;
11030
11447
  };
11031
11448
  Relationships: [{
11449
+ foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11450
+ columns: ["product_id"];
11451
+ isOneToOne: false;
11452
+ referencedRelation: "logistics_product_dimensions";
11453
+ referencedColumns: ["product_id"];
11454
+ }, {
11032
11455
  foreignKeyName: "mailbox_proposal_lines_product_id_fkey";
11033
11456
  columns: ["product_id"];
11034
11457
  isOneToOne: false;
@@ -12335,6 +12758,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12335
12758
  order_buffers: {
12336
12759
  Row: {
12337
12760
  buffer_key: string;
12761
+ close_at: string | null;
12762
+ closed_at: string | null;
12338
12763
  created_at: string;
12339
12764
  customer_id: string | null;
12340
12765
  grouping_mode: string;
@@ -12346,6 +12771,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12346
12771
  };
12347
12772
  Insert: {
12348
12773
  buffer_key: string;
12774
+ close_at?: string | null;
12775
+ closed_at?: string | null;
12349
12776
  created_at?: string;
12350
12777
  customer_id?: string | null;
12351
12778
  grouping_mode: string;
@@ -12357,6 +12784,8 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12357
12784
  };
12358
12785
  Update: {
12359
12786
  buffer_key?: string;
12787
+ close_at?: string | null;
12788
+ closed_at?: string | null;
12360
12789
  created_at?: string;
12361
12790
  customer_id?: string | null;
12362
12791
  grouping_mode?: string;
@@ -12435,6 +12864,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12435
12864
  isOneToOne: false;
12436
12865
  referencedRelation: "order_items";
12437
12866
  referencedColumns: ["id"];
12867
+ }, {
12868
+ foreignKeyName: "order_cart_items_product_id_fkey";
12869
+ columns: ["product_id"];
12870
+ isOneToOne: false;
12871
+ referencedRelation: "logistics_product_dimensions";
12872
+ referencedColumns: ["product_id"];
12438
12873
  }, {
12439
12874
  foreignKeyName: "order_cart_items_product_id_fkey";
12440
12875
  columns: ["product_id"];
@@ -12443,6 +12878,93 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12443
12878
  referencedColumns: ["id"];
12444
12879
  }];
12445
12880
  };
12881
+ order_cart_layer_positions: {
12882
+ Row: {
12883
+ algorithm_version: number | null;
12884
+ cart_id: string;
12885
+ created_at: string;
12886
+ height: number;
12887
+ id: string;
12888
+ keg_id: string;
12889
+ label: string | null;
12890
+ layer: number;
12891
+ layer_height: number | null;
12892
+ layer_width: number | null;
12893
+ manual_overridden_at: string | null;
12894
+ manual_overridden_by: string | null;
12895
+ manual_override: boolean;
12896
+ order_item_id: string | null;
12897
+ original_layer: number | null;
12898
+ original_x: number | null;
12899
+ original_y: number | null;
12900
+ product_id: string | null;
12901
+ rotation: number;
12902
+ source: string | null;
12903
+ updated_at: string;
12904
+ width: number;
12905
+ x: number;
12906
+ y: number;
12907
+ };
12908
+ Insert: {
12909
+ algorithm_version?: number | null;
12910
+ cart_id: string;
12911
+ created_at?: string;
12912
+ height: number;
12913
+ id?: string;
12914
+ keg_id: string;
12915
+ label?: string | null;
12916
+ layer: number;
12917
+ layer_height?: number | null;
12918
+ layer_width?: number | null;
12919
+ manual_overridden_at?: string | null;
12920
+ manual_overridden_by?: string | null;
12921
+ manual_override?: boolean;
12922
+ order_item_id?: string | null;
12923
+ original_layer?: number | null;
12924
+ original_x?: number | null;
12925
+ original_y?: number | null;
12926
+ product_id?: string | null;
12927
+ rotation?: number;
12928
+ source?: string | null;
12929
+ updated_at?: string;
12930
+ width: number;
12931
+ x: number;
12932
+ y: number;
12933
+ };
12934
+ Update: {
12935
+ algorithm_version?: number | null;
12936
+ cart_id?: string;
12937
+ created_at?: string;
12938
+ height?: number;
12939
+ id?: string;
12940
+ keg_id?: string;
12941
+ label?: string | null;
12942
+ layer?: number;
12943
+ layer_height?: number | null;
12944
+ layer_width?: number | null;
12945
+ manual_overridden_at?: string | null;
12946
+ manual_overridden_by?: string | null;
12947
+ manual_override?: boolean;
12948
+ order_item_id?: string | null;
12949
+ original_layer?: number | null;
12950
+ original_x?: number | null;
12951
+ original_y?: number | null;
12952
+ product_id?: string | null;
12953
+ rotation?: number;
12954
+ source?: string | null;
12955
+ updated_at?: string;
12956
+ width?: number;
12957
+ x?: number;
12958
+ y?: number;
12959
+ };
12960
+ Relationships: [{
12961
+ foreignKeyName: "order_cart_layer_positions_cart_id_fkey";
12962
+ columns: ["cart_id"];
12963
+ isOneToOne: false;
12964
+ referencedRelation: "order_carts";
12965
+ referencedColumns: ["id"];
12966
+ }];
12967
+ };
12446
12968
  order_carts: {
12447
12969
  Row: {
12448
12970
  algorithm_version: number;
@@ -12465,6 +12987,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12465
12987
  pickup_locked: boolean;
12466
12988
  pickup_moment_id: string | null;
12467
12989
  source: string;
12990
+ total_carts: number | null;
12468
12991
  total_layers_used: number;
12469
12992
  updated_at: string;
12470
12993
  weight_kg: number | null;
@@ -12490,6 +13013,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12490
13013
  pickup_locked?: boolean;
12491
13014
  pickup_moment_id?: string | null;
12492
13015
  source?: string;
13016
+ total_carts?: number | null;
12493
13017
  total_layers_used?: number;
12494
13018
  updated_at?: string;
12495
13019
  weight_kg?: number | null;
@@ -12515,6 +13039,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12515
13039
  pickup_locked?: boolean;
12516
13040
  pickup_moment_id?: string | null;
12517
13041
  source?: string;
13042
+ total_carts?: number | null;
12518
13043
  total_layers_used?: number;
12519
13044
  updated_at?: string;
12520
13045
  weight_kg?: number | null;
@@ -12617,6 +13142,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12617
13142
  };
12618
13143
  Relationships: [];
12619
13144
  };
13145
+ order_fust_bookings: {
13146
+ Row: {
13147
+ created_at: string;
13148
+ fust_type_id: string;
13149
+ id: string;
13150
+ order_item_id: string;
13151
+ quantity: number;
13152
+ updated_at: string;
13153
+ };
13154
+ Insert: {
13155
+ created_at?: string;
13156
+ fust_type_id: string;
13157
+ id?: string;
13158
+ order_item_id: string;
13159
+ quantity?: number;
13160
+ updated_at?: string;
13161
+ };
13162
+ Update: {
13163
+ created_at?: string;
13164
+ fust_type_id?: string;
13165
+ id?: string;
13166
+ order_item_id?: string;
13167
+ quantity?: number;
13168
+ updated_at?: string;
13169
+ };
13170
+ Relationships: [{
13171
+ foreignKeyName: "order_fust_bookings_fust_type_id_fkey";
13172
+ columns: ["fust_type_id"];
13173
+ isOneToOne: false;
13174
+ referencedRelation: "fust_types";
13175
+ referencedColumns: ["id"];
13176
+ }];
13177
+ };
12620
13178
  order_invoice_links: {
12621
13179
  Row: {
12622
13180
  administration_code: string | null;
@@ -12705,6 +13263,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12705
13263
  isOneToOne: false;
12706
13264
  referencedRelation: "orders";
12707
13265
  referencedColumns: ["id"];
13266
+ }, {
13267
+ foreignKeyName: "order_items_product_id_fkey";
13268
+ columns: ["product_id"];
13269
+ isOneToOne: false;
13270
+ referencedRelation: "logistics_product_dimensions";
13271
+ referencedColumns: ["product_id"];
12708
13272
  }, {
12709
13273
  foreignKeyName: "order_items_product_id_fkey";
12710
13274
  columns: ["product_id"];
@@ -12852,6 +13416,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12852
13416
  plan_locked_at: string | null;
12853
13417
  plan_locked_ref: string | null;
12854
13418
  status: string;
13419
+ status_changed_at: string;
13420
+ status_origin: string;
13421
+ status_sync_token: string | null;
12855
13422
  total: string;
12856
13423
  updated_at: string;
12857
13424
  };
@@ -12876,6 +13443,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12876
13443
  plan_locked_at?: string | null;
12877
13444
  plan_locked_ref?: string | null;
12878
13445
  status?: string;
13446
+ status_changed_at?: string;
13447
+ status_origin?: string;
13448
+ status_sync_token?: string | null;
12879
13449
  total?: string;
12880
13450
  updated_at?: string;
12881
13451
  };
@@ -12900,6 +13470,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12900
13470
  plan_locked_at?: string | null;
12901
13471
  plan_locked_ref?: string | null;
12902
13472
  status?: string;
13473
+ status_changed_at?: string;
13474
+ status_origin?: string;
13475
+ status_sync_token?: string | null;
12903
13476
  total?: string;
12904
13477
  updated_at?: string;
12905
13478
  };
@@ -12953,6 +13526,132 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
12953
13526
  };
12954
13527
  Relationships: [];
12955
13528
  };
13529
+ pakbon_barcode_inhoud: {
13530
+ Row: {
13531
+ barcode: string;
13532
+ cart_id: string | null;
13533
+ cart_index: number | null;
13534
+ cart_label: string | null;
13535
+ cart_total: number | null;
13536
+ created_at: string;
13537
+ is_herprint: boolean;
13538
+ klant_naam: string | null;
13539
+ klant_nummer: string | null;
13540
+ layout_id: string | null;
13541
+ layout_variant: string | null;
13542
+ order_nummer: string | null;
13543
+ order_ref: string | null;
13544
+ print_job_id: string | null;
13545
+ regels: import("./types").Json;
13546
+ updated_at: string;
13547
+ };
13548
+ Insert: {
13549
+ barcode: string;
13550
+ cart_id?: string | null;
13551
+ cart_index?: number | null;
13552
+ cart_label?: string | null;
13553
+ cart_total?: number | null;
13554
+ created_at?: string;
13555
+ is_herprint?: boolean;
13556
+ klant_naam?: string | null;
13557
+ klant_nummer?: string | null;
13558
+ layout_id?: string | null;
13559
+ layout_variant?: string | null;
13560
+ order_nummer?: string | null;
13561
+ order_ref?: string | null;
13562
+ print_job_id?: string | null;
13563
+ regels?: import("./types").Json;
13564
+ updated_at?: string;
13565
+ };
13566
+ Update: {
13567
+ barcode?: string;
13568
+ cart_id?: string | null;
13569
+ cart_index?: number | null;
13570
+ cart_label?: string | null;
13571
+ cart_total?: number | null;
13572
+ created_at?: string;
13573
+ is_herprint?: boolean;
13574
+ klant_naam?: string | null;
13575
+ klant_nummer?: string | null;
13576
+ layout_id?: string | null;
13577
+ layout_variant?: string | null;
13578
+ order_nummer?: string | null;
13579
+ order_ref?: string | null;
13580
+ print_job_id?: string | null;
13581
+ regels?: import("./types").Json;
13582
+ updated_at?: string;
13583
+ };
13584
+ Relationships: [];
13585
+ };
13586
+ pakbon_barcode_verzoeken: {
13587
+ Row: {
13588
+ aangevraagd_op: string;
13589
+ barcode: string | null;
13590
+ cart_id: string | null;
13591
+ cart_index: number | null;
13592
+ cart_label: string | null;
13593
+ cart_total: number | null;
13594
+ documentnaam: string | null;
13595
+ geleverd_op: string | null;
13596
+ id: string;
13597
+ is_herprint: boolean;
13598
+ klant_naam: string | null;
13599
+ klant_nummer: string | null;
13600
+ laatst_gevraagd_op: string;
13601
+ layout_id: string | null;
13602
+ layout_variant: string | null;
13603
+ order_nummer: string | null;
13604
+ order_ref: string | null;
13605
+ print_job_id: string;
13606
+ status: string;
13607
+ updated_at: string;
13608
+ };
13609
+ Insert: {
13610
+ aangevraagd_op?: string;
13611
+ barcode?: string | null;
13612
+ cart_id?: string | null;
13613
+ cart_index?: number | null;
13614
+ cart_label?: string | null;
13615
+ cart_total?: number | null;
13616
+ documentnaam?: string | null;
13617
+ geleverd_op?: string | null;
13618
+ id?: string;
13619
+ is_herprint?: boolean;
13620
+ klant_naam?: string | null;
13621
+ klant_nummer?: string | null;
13622
+ laatst_gevraagd_op?: string;
13623
+ layout_id?: string | null;
13624
+ layout_variant?: string | null;
13625
+ order_nummer?: string | null;
13626
+ order_ref?: string | null;
13627
+ print_job_id: string;
13628
+ status?: string;
13629
+ updated_at?: string;
13630
+ };
13631
+ Update: {
13632
+ aangevraagd_op?: string;
13633
+ barcode?: string | null;
13634
+ cart_id?: string | null;
13635
+ cart_index?: number | null;
13636
+ cart_label?: string | null;
13637
+ cart_total?: number | null;
13638
+ documentnaam?: string | null;
13639
+ geleverd_op?: string | null;
13640
+ id?: string;
13641
+ is_herprint?: boolean;
13642
+ klant_naam?: string | null;
13643
+ klant_nummer?: string | null;
13644
+ laatst_gevraagd_op?: string;
13645
+ layout_id?: string | null;
13646
+ layout_variant?: string | null;
13647
+ order_nummer?: string | null;
13648
+ order_ref?: string | null;
13649
+ print_job_id?: string;
13650
+ status?: string;
13651
+ updated_at?: string;
13652
+ };
13653
+ Relationships: [];
13654
+ };
12956
13655
  pick_countries: {
12957
13656
  Row: {
12958
13657
  active: boolean;
@@ -14031,6 +14730,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14031
14730
  isOneToOne: false;
14032
14731
  referencedRelation: "werkbonnen";
14033
14732
  referencedColumns: ["id"];
14733
+ }, {
14734
+ foreignKeyName: "planning_items_werkbon_id_fkey";
14735
+ columns: ["werkbon_id"];
14736
+ isOneToOne: false;
14737
+ referencedRelation: "wo_overview";
14738
+ referencedColumns: ["id"];
14034
14739
  }];
14035
14740
  };
14036
14741
  print_agents: {
@@ -14146,12 +14851,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14146
14851
  };
14147
14852
  print_jobs: {
14148
14853
  Row: {
14854
+ aflever_pogingen: number;
14149
14855
  agent_id: string | null;
14856
+ artefact_bytes: number | null;
14857
+ artefact_gereed_op: string | null;
14858
+ artefact_pad: string | null;
14859
+ artefact_sha256: string | null;
14860
+ batch_id: string | null;
14150
14861
  bron_job_id: string | null;
14151
14862
  created_at: string;
14152
14863
  documentnaam: string;
14153
14864
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
14154
14865
  extern_job_id: string | null;
14866
+ fase_gestart_op: string | null;
14867
+ fase_voltooid_op: string | null;
14868
+ foutcode: string | null;
14155
14869
  foutmelding: string | null;
14156
14870
  gebruiker_id: string | null;
14157
14871
  gebruiker_naam: string;
@@ -14165,7 +14879,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14165
14879
  kopieen: number;
14166
14880
  layout_id: string | null;
14167
14881
  lokaal_opgeslagen_op: string | null;
14882
+ lokale_pdf_claim_id: string | null;
14883
+ lokale_pdf_claim_tot: string | null;
14168
14884
  lokale_pdf_fout: string | null;
14885
+ lokale_pdf_print_plek_id: string | null;
14169
14886
  lokale_pdf_status: string | null;
14170
14887
  opgepakt_op: string | null;
14171
14888
  paginas: number;
@@ -14178,16 +14895,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14178
14895
  resultaat_pdf_base64: string | null;
14179
14896
  status: Database["public"]["Enums"]["print_job_status"];
14180
14897
  updated_at: string;
14898
+ verwerkingsfase: string;
14181
14899
  volgende_poging: string | null;
14182
14900
  voltooid_op: string | null;
14183
14901
  };
14184
14902
  Insert: {
14903
+ aflever_pogingen?: number;
14185
14904
  agent_id?: string | null;
14905
+ artefact_bytes?: number | null;
14906
+ artefact_gereed_op?: string | null;
14907
+ artefact_pad?: string | null;
14908
+ artefact_sha256?: string | null;
14909
+ batch_id?: string | null;
14186
14910
  bron_job_id?: string | null;
14187
14911
  created_at?: string;
14188
14912
  documentnaam?: string;
14189
14913
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14190
14914
  extern_job_id?: string | null;
14915
+ fase_gestart_op?: string | null;
14916
+ fase_voltooid_op?: string | null;
14917
+ foutcode?: string | null;
14191
14918
  foutmelding?: string | null;
14192
14919
  gebruiker_id?: string | null;
14193
14920
  gebruiker_naam?: string;
@@ -14201,7 +14928,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14201
14928
  kopieen?: number;
14202
14929
  layout_id?: string | null;
14203
14930
  lokaal_opgeslagen_op?: string | null;
14931
+ lokale_pdf_claim_id?: string | null;
14932
+ lokale_pdf_claim_tot?: string | null;
14204
14933
  lokale_pdf_fout?: string | null;
14934
+ lokale_pdf_print_plek_id?: string | null;
14205
14935
  lokale_pdf_status?: string | null;
14206
14936
  opgepakt_op?: string | null;
14207
14937
  paginas?: number;
@@ -14214,16 +14944,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14214
14944
  resultaat_pdf_base64?: string | null;
14215
14945
  status?: Database["public"]["Enums"]["print_job_status"];
14216
14946
  updated_at?: string;
14947
+ verwerkingsfase?: string;
14217
14948
  volgende_poging?: string | null;
14218
14949
  voltooid_op?: string | null;
14219
14950
  };
14220
14951
  Update: {
14952
+ aflever_pogingen?: number;
14221
14953
  agent_id?: string | null;
14954
+ artefact_bytes?: number | null;
14955
+ artefact_gereed_op?: string | null;
14956
+ artefact_pad?: string | null;
14957
+ artefact_sha256?: string | null;
14958
+ batch_id?: string | null;
14222
14959
  bron_job_id?: string | null;
14223
14960
  created_at?: string;
14224
14961
  documentnaam?: string;
14225
14962
  documenttype?: Database["public"]["Enums"]["doc_layout_type"];
14226
14963
  extern_job_id?: string | null;
14964
+ fase_gestart_op?: string | null;
14965
+ fase_voltooid_op?: string | null;
14966
+ foutcode?: string | null;
14227
14967
  foutmelding?: string | null;
14228
14968
  gebruiker_id?: string | null;
14229
14969
  gebruiker_naam?: string;
@@ -14237,7 +14977,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14237
14977
  kopieen?: number;
14238
14978
  layout_id?: string | null;
14239
14979
  lokaal_opgeslagen_op?: string | null;
14980
+ lokale_pdf_claim_id?: string | null;
14981
+ lokale_pdf_claim_tot?: string | null;
14240
14982
  lokale_pdf_fout?: string | null;
14983
+ lokale_pdf_print_plek_id?: string | null;
14241
14984
  lokale_pdf_status?: string | null;
14242
14985
  opgepakt_op?: string | null;
14243
14986
  paginas?: number;
@@ -14250,6 +14993,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14250
14993
  resultaat_pdf_base64?: string | null;
14251
14994
  status?: Database["public"]["Enums"]["print_job_status"];
14252
14995
  updated_at?: string;
14996
+ verwerkingsfase?: string;
14253
14997
  volgende_poging?: string | null;
14254
14998
  voltooid_op?: string | null;
14255
14999
  };
@@ -14265,6 +15009,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14265
15009
  isOneToOne: false;
14266
15010
  referencedRelation: "document_layouts";
14267
15011
  referencedColumns: ["id"];
15012
+ }, {
15013
+ foreignKeyName: "print_jobs_lokale_pdf_print_plek_id_fkey";
15014
+ columns: ["lokale_pdf_print_plek_id"];
15015
+ isOneToOne: false;
15016
+ referencedRelation: "print_plekken";
15017
+ referencedColumns: ["id"];
14268
15018
  }, {
14269
15019
  foreignKeyName: "print_jobs_printer_id_fkey";
14270
15020
  columns: ["printer_id"];
@@ -14399,6 +15149,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14399
15149
  };
14400
15150
  Relationships: [];
14401
15151
  };
15152
+ print_queue_leases: {
15153
+ Row: {
15154
+ created_at: string;
15155
+ houder: string;
15156
+ naam: string;
15157
+ updated_at: string;
15158
+ verloopt_op: string;
15159
+ };
15160
+ Insert: {
15161
+ created_at?: string;
15162
+ houder: string;
15163
+ naam: string;
15164
+ updated_at?: string;
15165
+ verloopt_op: string;
15166
+ };
15167
+ Update: {
15168
+ created_at?: string;
15169
+ houder?: string;
15170
+ naam?: string;
15171
+ updated_at?: string;
15172
+ verloopt_op?: string;
15173
+ };
15174
+ Relationships: [];
15175
+ };
14402
15176
  print_queue_runners: {
14403
15177
  Row: {
14404
15178
  actief: boolean;
@@ -14408,7 +15182,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14408
15182
  laatst_gezien: string;
14409
15183
  laatste_fout: string | null;
14410
15184
  laatste_request_id: number | null;
15185
+ laatste_wakeup: string | null;
14411
15186
  mislukte_posts: number;
15187
+ mislukte_wakeups: number;
14412
15188
  tick_sleutel: string;
14413
15189
  updated_at: string;
14414
15190
  };
@@ -14420,7 +15196,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14420
15196
  laatst_gezien?: string;
14421
15197
  laatste_fout?: string | null;
14422
15198
  laatste_request_id?: number | null;
15199
+ laatste_wakeup?: string | null;
14423
15200
  mislukte_posts?: number;
15201
+ mislukte_wakeups?: number;
14424
15202
  tick_sleutel?: string;
14425
15203
  updated_at?: string;
14426
15204
  };
@@ -14432,7 +15210,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14432
15210
  laatst_gezien?: string;
14433
15211
  laatste_fout?: string | null;
14434
15212
  laatste_request_id?: number | null;
15213
+ laatste_wakeup?: string | null;
14435
15214
  mislukte_posts?: number;
15215
+ mislukte_wakeups?: number;
14436
15216
  tick_sleutel?: string;
14437
15217
  updated_at?: string;
14438
15218
  };
@@ -14746,6 +15526,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14746
15526
  updated_at?: string;
14747
15527
  };
14748
15528
  Relationships: [{
15529
+ foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
15530
+ columns: ["parent_product_id"];
15531
+ isOneToOne: false;
15532
+ referencedRelation: "logistics_product_dimensions";
15533
+ referencedColumns: ["product_id"];
15534
+ }, {
14749
15535
  foreignKeyName: "product_bom_external_items_parent_product_id_fkey";
14750
15536
  columns: ["parent_product_id"];
14751
15537
  isOneToOne: false;
@@ -14800,11 +15586,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14800
15586
  updated_at?: string;
14801
15587
  };
14802
15588
  Relationships: [{
15589
+ foreignKeyName: "product_bom_items_component_product_id_fkey";
15590
+ columns: ["component_product_id"];
15591
+ isOneToOne: false;
15592
+ referencedRelation: "logistics_product_dimensions";
15593
+ referencedColumns: ["product_id"];
15594
+ }, {
14803
15595
  foreignKeyName: "product_bom_items_component_product_id_fkey";
14804
15596
  columns: ["component_product_id"];
14805
15597
  isOneToOne: false;
14806
15598
  referencedRelation: "products";
14807
15599
  referencedColumns: ["id"];
15600
+ }, {
15601
+ foreignKeyName: "product_bom_items_parent_product_id_fkey";
15602
+ columns: ["parent_product_id"];
15603
+ isOneToOne: false;
15604
+ referencedRelation: "logistics_product_dimensions";
15605
+ referencedColumns: ["product_id"];
14808
15606
  }, {
14809
15607
  foreignKeyName: "product_bom_items_parent_product_id_fkey";
14810
15608
  columns: ["parent_product_id"];
@@ -14980,6 +15778,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
14980
15778
  updated_at?: string;
14981
15779
  };
14982
15780
  Relationships: [{
15781
+ foreignKeyName: "product_groups_head_product_id_fkey";
15782
+ columns: ["head_product_id"];
15783
+ isOneToOne: false;
15784
+ referencedRelation: "logistics_product_dimensions";
15785
+ referencedColumns: ["product_id"];
15786
+ }, {
14983
15787
  foreignKeyName: "product_groups_head_product_id_fkey";
14984
15788
  columns: ["head_product_id"];
14985
15789
  isOneToOne: false;
@@ -15045,6 +15849,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15045
15849
  isOneToOne: false;
15046
15850
  referencedRelation: "packages";
15047
15851
  referencedColumns: ["id"];
15852
+ }, {
15853
+ foreignKeyName: "product_load_settings_product_id_fkey";
15854
+ columns: ["product_id"];
15855
+ isOneToOne: false;
15856
+ referencedRelation: "logistics_product_dimensions";
15857
+ referencedColumns: ["product_id"];
15048
15858
  }, {
15049
15859
  foreignKeyName: "product_load_settings_product_id_fkey";
15050
15860
  columns: ["product_id"];
@@ -15511,6 +16321,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15511
16321
  quantity?: number;
15512
16322
  };
15513
16323
  Relationships: [{
16324
+ foreignKeyName: "purchase_order_items_product_id_fkey";
16325
+ columns: ["product_id"];
16326
+ isOneToOne: false;
16327
+ referencedRelation: "logistics_product_dimensions";
16328
+ referencedColumns: ["product_id"];
16329
+ }, {
15514
16330
  foreignKeyName: "purchase_order_items_product_id_fkey";
15515
16331
  columns: ["product_id"];
15516
16332
  isOneToOne: false;
@@ -15830,21 +16646,117 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
15830
16646
  referencedColumns: ["id"];
15831
16647
  }];
15832
16648
  };
15833
- scan_karren: {
16649
+ scan_kar_sessie_regels: {
15834
16650
  Row: {
15835
- afgerond_op: string | null;
15836
- buffer_key: string | null;
16651
+ barcode: string;
16652
+ cart_id: string | null;
15837
16653
  created_at: string;
15838
- customer_names: string[];
15839
- device_id: string | null;
15840
- geprint: boolean;
15841
- geprint_op: string | null;
15842
16654
  id: string;
15843
- kar_nummer: string;
15844
- medewerker_id: string | null;
15845
- medewerker_naam: string | null;
15846
- naar_pickstation: boolean;
15847
- naar_pickstation_op: string | null;
16655
+ order_id: string | null;
16656
+ order_number: string | null;
16657
+ regels: import("./types").Json;
16658
+ sessie_id: string;
16659
+ volledig: boolean;
16660
+ };
16661
+ Insert: {
16662
+ barcode: string;
16663
+ cart_id?: string | null;
16664
+ created_at?: string;
16665
+ id?: string;
16666
+ order_id?: string | null;
16667
+ order_number?: string | null;
16668
+ regels?: import("./types").Json;
16669
+ sessie_id: string;
16670
+ volledig?: boolean;
16671
+ };
16672
+ Update: {
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").Json;
16680
+ sessie_id?: string;
16681
+ volledig?: boolean;
16682
+ };
16683
+ Relationships: [{
16684
+ foreignKeyName: "scan_kar_sessie_regels_sessie_id_fkey";
16685
+ columns: ["sessie_id"];
16686
+ isOneToOne: false;
16687
+ referencedRelation: "scan_kar_sessies";
16688
+ referencedColumns: ["id"];
16689
+ }];
16690
+ };
16691
+ scan_kar_sessies: {
16692
+ Row: {
16693
+ afgerond_op: string | null;
16694
+ cart_id: string | null;
16695
+ cart_index: number | null;
16696
+ cart_total: number | null;
16697
+ created_at: string;
16698
+ id: string;
16699
+ klant_naam: string | null;
16700
+ medewerker_naam: string | null;
16701
+ order_id: string | null;
16702
+ order_number: string | null;
16703
+ scanner_id: string | null;
16704
+ status: string;
16705
+ updated_at: string;
16706
+ };
16707
+ Insert: {
16708
+ afgerond_op?: string | null;
16709
+ cart_id?: string | null;
16710
+ cart_index?: number | null;
16711
+ cart_total?: number | null;
16712
+ created_at?: string;
16713
+ id?: string;
16714
+ klant_naam?: string | null;
16715
+ medewerker_naam?: string | null;
16716
+ order_id?: string | null;
16717
+ order_number?: string | null;
16718
+ scanner_id?: string | null;
16719
+ status?: string;
16720
+ updated_at?: string;
16721
+ };
16722
+ Update: {
16723
+ afgerond_op?: string | null;
16724
+ cart_id?: string | null;
16725
+ cart_index?: number | null;
16726
+ cart_total?: number | null;
16727
+ created_at?: string;
16728
+ id?: string;
16729
+ klant_naam?: string | null;
16730
+ medewerker_naam?: string | null;
16731
+ order_id?: string | null;
16732
+ order_number?: string | null;
16733
+ scanner_id?: string | null;
16734
+ status?: string;
16735
+ updated_at?: string;
16736
+ };
16737
+ Relationships: [{
16738
+ foreignKeyName: "scan_kar_sessies_scanner_id_fkey";
16739
+ columns: ["scanner_id"];
16740
+ isOneToOne: false;
16741
+ referencedRelation: "scan_scanners";
16742
+ referencedColumns: ["id"];
16743
+ }];
16744
+ };
16745
+ scan_karren: {
16746
+ Row: {
16747
+ afgerond_op: string | null;
16748
+ buffer_key: string | null;
16749
+ created_at: string;
16750
+ customer_names: string[];
16751
+ device_id: string | null;
16752
+ geprint: boolean;
16753
+ geprint_op: string | null;
16754
+ id: string;
16755
+ kar_nummer: string;
16756
+ medewerker_id: string | null;
16757
+ medewerker_naam: string | null;
16758
+ naar_pickstation: boolean;
16759
+ naar_pickstation_op: string | null;
15848
16760
  order_number: string | null;
15849
16761
  scanner_id: string | null;
15850
16762
  scanner_key: string;
@@ -16034,6 +16946,60 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16034
16946
  };
16035
16947
  Relationships: [];
16036
16948
  };
16949
+ scan_restpakbonnen: {
16950
+ Row: {
16951
+ barcode: string;
16952
+ bron_barcode: string | null;
16953
+ cart_id: string | null;
16954
+ cart_index: number | null;
16955
+ cart_total: number | null;
16956
+ created_at: string;
16957
+ geprint_op: string | null;
16958
+ id: string;
16959
+ klant_naam: string | null;
16960
+ order_id: string | null;
16961
+ order_number: string | null;
16962
+ print_job_id: string | null;
16963
+ regels: import("./types").Json;
16964
+ updated_at: string;
16965
+ verwerkt: boolean;
16966
+ };
16967
+ Insert: {
16968
+ barcode: string;
16969
+ bron_barcode?: string | null;
16970
+ cart_id?: string | null;
16971
+ cart_index?: number | null;
16972
+ cart_total?: number | null;
16973
+ created_at?: string;
16974
+ geprint_op?: string | null;
16975
+ id?: string;
16976
+ klant_naam?: string | null;
16977
+ order_id?: string | null;
16978
+ order_number?: string | null;
16979
+ print_job_id?: string | null;
16980
+ regels?: import("./types").Json;
16981
+ updated_at?: string;
16982
+ verwerkt?: boolean;
16983
+ };
16984
+ Update: {
16985
+ barcode?: string;
16986
+ bron_barcode?: string | null;
16987
+ cart_id?: string | null;
16988
+ cart_index?: number | null;
16989
+ cart_total?: number | null;
16990
+ created_at?: string;
16991
+ geprint_op?: string | null;
16992
+ id?: string;
16993
+ klant_naam?: string | null;
16994
+ order_id?: string | null;
16995
+ order_number?: string | null;
16996
+ print_job_id?: string | null;
16997
+ regels?: import("./types").Json;
16998
+ updated_at?: string;
16999
+ verwerkt?: boolean;
17000
+ };
17001
+ Relationships: [];
17002
+ };
16037
17003
  scan_scanners: {
16038
17004
  Row: {
16039
17005
  actief: boolean;
@@ -16043,6 +17009,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16043
17009
  naam: string;
16044
17010
  omschrijving: string | null;
16045
17011
  pincode: string | null;
17012
+ printer_id: string | null;
16046
17013
  slug: string;
16047
17014
  type: string;
16048
17015
  updated_at: string;
@@ -16057,6 +17024,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16057
17024
  naam: string;
16058
17025
  omschrijving?: string | null;
16059
17026
  pincode?: string | null;
17027
+ printer_id?: string | null;
16060
17028
  slug: string;
16061
17029
  type?: string;
16062
17030
  updated_at?: string;
@@ -16071,6 +17039,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16071
17039
  naam?: string;
16072
17040
  omschrijving?: string | null;
16073
17041
  pincode?: string | null;
17042
+ printer_id?: string | null;
16074
17043
  slug?: string;
16075
17044
  type?: string;
16076
17045
  updated_at?: string;
@@ -16079,6 +17048,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16079
17048
  };
16080
17049
  Relationships: [];
16081
17050
  };
17051
+ shell_settings: {
17052
+ Row: {
17053
+ created_at: string;
17054
+ default_path: string | null;
17055
+ shell_id: string;
17056
+ updated_at: string;
17057
+ };
17058
+ Insert: {
17059
+ created_at?: string;
17060
+ default_path?: string | null;
17061
+ shell_id: string;
17062
+ updated_at?: string;
17063
+ };
17064
+ Update: {
17065
+ created_at?: string;
17066
+ default_path?: string | null;
17067
+ shell_id?: string;
17068
+ updated_at?: string;
17069
+ };
17070
+ Relationships: [];
17071
+ };
16082
17072
  sick_periods: {
16083
17073
  Row: {
16084
17074
  created_at: string;
@@ -16698,6 +17688,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
16698
17688
  isOneToOne: false;
16699
17689
  referencedRelation: "werkbonnen";
16700
17690
  referencedColumns: ["id"];
17691
+ }, {
17692
+ foreignKeyName: "time_logs_work_order_id_fkey";
17693
+ columns: ["work_order_id"];
17694
+ isOneToOne: false;
17695
+ referencedRelation: "wo_overview";
17696
+ referencedColumns: ["id"];
16701
17697
  }];
16702
17698
  };
16703
17699
  time_off_entries: {
@@ -17991,6 +18987,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
17991
18987
  isOneToOne: false;
17992
18988
  referencedRelation: "werkbonnen";
17993
18989
  referencedColumns: ["id"];
18990
+ }, {
18991
+ foreignKeyName: "uren_entries_werkbon_id_fkey";
18992
+ columns: ["werkbon_id"];
18993
+ isOneToOne: false;
18994
+ referencedRelation: "wo_overview";
18995
+ referencedColumns: ["id"];
17994
18996
  }];
17995
18997
  };
17996
18998
  uren_exports: {
@@ -18714,6 +19716,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18714
19716
  isOneToOne: true;
18715
19717
  referencedRelation: "werkbonnen";
18716
19718
  referencedColumns: ["id"];
19719
+ }, {
19720
+ foreignKeyName: "werkbon_facturatie_controle_werkbon_id_fkey";
19721
+ columns: ["werkbon_id"];
19722
+ isOneToOne: true;
19723
+ referencedRelation: "wo_overview";
19724
+ referencedColumns: ["id"];
18717
19725
  }];
18718
19726
  };
18719
19727
  werkbon_facturatie_settings: {
@@ -18801,6 +19809,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18801
19809
  isOneToOne: false;
18802
19810
  referencedRelation: "werkbonnen";
18803
19811
  referencedColumns: ["id"];
19812
+ }, {
19813
+ foreignKeyName: "werkbon_materials_werkbon_id_fkey";
19814
+ columns: ["werkbon_id"];
19815
+ isOneToOne: false;
19816
+ referencedRelation: "wo_overview";
19817
+ referencedColumns: ["id"];
18804
19818
  }];
18805
19819
  };
18806
19820
  werkbon_package_ai_rules: {
@@ -18984,6 +19998,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
18984
19998
  isOneToOne: false;
18985
19999
  referencedRelation: "werkbonnen";
18986
20000
  referencedColumns: ["id"];
20001
+ }, {
20002
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
20003
+ columns: ["werkbon_id"];
20004
+ isOneToOne: false;
20005
+ referencedRelation: "wo_overview";
20006
+ referencedColumns: ["id"];
18987
20007
  }];
18988
20008
  };
18989
20009
  werkbon_packages: {
@@ -19074,6 +20094,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19074
20094
  isOneToOne: false;
19075
20095
  referencedRelation: "werkbonnen";
19076
20096
  referencedColumns: ["id"];
20097
+ }, {
20098
+ foreignKeyName: "werkbon_photos_werkbon_id_fkey";
20099
+ columns: ["werkbon_id"];
20100
+ isOneToOne: false;
20101
+ referencedRelation: "wo_overview";
20102
+ referencedColumns: ["id"];
19077
20103
  }];
19078
20104
  };
19079
20105
  werkbon_time_logs: {
@@ -19113,6 +20139,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19113
20139
  isOneToOne: false;
19114
20140
  referencedRelation: "werkbonnen";
19115
20141
  referencedColumns: ["id"];
20142
+ }, {
20143
+ foreignKeyName: "werkbon_time_logs_werkbon_id_fkey";
20144
+ columns: ["werkbon_id"];
20145
+ isOneToOne: false;
20146
+ referencedRelation: "wo_overview";
20147
+ referencedColumns: ["id"];
19116
20148
  }];
19117
20149
  };
19118
20150
  werkbonnen: {
@@ -19236,6 +20268,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19236
20268
  isOneToOne: false;
19237
20269
  referencedRelation: "werkbonnen";
19238
20270
  referencedColumns: ["id"];
20271
+ }, {
20272
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
20273
+ columns: ["parent_werkbon_id"];
20274
+ isOneToOne: false;
20275
+ referencedRelation: "wo_overview";
20276
+ referencedColumns: ["id"];
19239
20277
  }, {
19240
20278
  foreignKeyName: "werkbonnen_source_mailbox_message_id_fkey";
19241
20279
  columns: ["source_mailbox_message_id"];
@@ -19704,6 +20742,24 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19704
20742
  };
19705
20743
  Relationships: [];
19706
20744
  };
20745
+ logistics_product_dimensions: {
20746
+ Row: {
20747
+ dimension_source: string | null;
20748
+ fust_height_mm: number | null;
20749
+ fust_length_mm: number | null;
20750
+ fust_name: string | null;
20751
+ fust_source: string | null;
20752
+ fust_type_id: string | null;
20753
+ fust_width_mm: number | null;
20754
+ height_source: string | null;
20755
+ missing_reason: string | null;
20756
+ plant_height_cm: number | null;
20757
+ plants_per_crate: number | null;
20758
+ product_id: string | null;
20759
+ product_name: string | null;
20760
+ };
20761
+ Relationships: [];
20762
+ };
19707
20763
  manufacture_product_possible_stock_view: {
19708
20764
  Row: {
19709
20765
  component_count: number | null;
@@ -19741,6 +20797,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
19741
20797
  isOneToOne: false;
19742
20798
  referencedRelation: "werkbonnen";
19743
20799
  referencedColumns: ["id"];
20800
+ }, {
20801
+ foreignKeyName: "planning_items_werkbon_id_fkey";
20802
+ columns: ["werkbon_id"];
20803
+ isOneToOne: false;
20804
+ referencedRelation: "wo_overview";
20805
+ referencedColumns: ["id"];
19744
20806
  }];
19745
20807
  };
19746
20808
  product_group_stock_view: {
@@ -20202,6 +21264,81 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20202
21264
  isOneToOne: false;
20203
21265
  referencedRelation: "werkbonnen";
20204
21266
  referencedColumns: ["id"];
21267
+ }, {
21268
+ foreignKeyName: "werkbon_package_lines_werkbon_id_fkey";
21269
+ columns: ["werkbon_id"];
21270
+ isOneToOne: false;
21271
+ referencedRelation: "wo_overview";
21272
+ referencedColumns: ["id"];
21273
+ }];
21274
+ };
21275
+ wo_overview: {
21276
+ Row: {
21277
+ assigned_user_id: string | null;
21278
+ budget_mandate_cents: number | null;
21279
+ created_at: string | null;
21280
+ customer_id: string | null;
21281
+ id: string | null;
21282
+ needs_detail_review: boolean | null;
21283
+ number: string | null;
21284
+ parent_werkbon_id: string | null;
21285
+ planning_status: string | null;
21286
+ scheduled_end_time: string | null;
21287
+ scheduled_start_time: string | null;
21288
+ source_type: string | null;
21289
+ status: string | null;
21290
+ technician_id: string | null;
21291
+ updated_at: string | null;
21292
+ work_address: string | null;
21293
+ };
21294
+ Insert: {
21295
+ assigned_user_id?: string | null;
21296
+ budget_mandate_cents?: number | null;
21297
+ created_at?: string | null;
21298
+ customer_id?: string | null;
21299
+ id?: string | null;
21300
+ needs_detail_review?: boolean | null;
21301
+ number?: string | null;
21302
+ parent_werkbon_id?: string | null;
21303
+ planning_status?: string | null;
21304
+ scheduled_end_time?: string | null;
21305
+ scheduled_start_time?: string | null;
21306
+ source_type?: string | null;
21307
+ status?: string | null;
21308
+ technician_id?: string | null;
21309
+ updated_at?: string | null;
21310
+ work_address?: string | null;
21311
+ };
21312
+ Update: {
21313
+ assigned_user_id?: string | null;
21314
+ budget_mandate_cents?: number | null;
21315
+ created_at?: string | null;
21316
+ customer_id?: string | null;
21317
+ id?: string | null;
21318
+ needs_detail_review?: boolean | null;
21319
+ number?: string | null;
21320
+ parent_werkbon_id?: string | null;
21321
+ planning_status?: string | null;
21322
+ scheduled_end_time?: string | null;
21323
+ scheduled_start_time?: string | null;
21324
+ source_type?: string | null;
21325
+ status?: string | null;
21326
+ technician_id?: string | null;
21327
+ updated_at?: string | null;
21328
+ work_address?: string | null;
21329
+ };
21330
+ Relationships: [{
21331
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21332
+ columns: ["parent_werkbon_id"];
21333
+ isOneToOne: false;
21334
+ referencedRelation: "werkbonnen";
21335
+ referencedColumns: ["id"];
21336
+ }, {
21337
+ foreignKeyName: "werkbonnen_parent_werkbon_id_fkey";
21338
+ columns: ["parent_werkbon_id"];
21339
+ isOneToOne: false;
21340
+ referencedRelation: "wo_overview";
21341
+ referencedColumns: ["id"];
20205
21342
  }];
20206
21343
  };
20207
21344
  };
@@ -20393,12 +21530,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20393
21530
  _max?: number;
20394
21531
  };
20395
21532
  Returns: {
21533
+ aflever_pogingen: number;
20396
21534
  agent_id: string | null;
21535
+ artefact_bytes: number | null;
21536
+ artefact_gereed_op: string | null;
21537
+ artefact_pad: string | null;
21538
+ artefact_sha256: string | null;
21539
+ batch_id: string | null;
20397
21540
  bron_job_id: string | null;
20398
21541
  created_at: string;
20399
21542
  documentnaam: string;
20400
21543
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20401
21544
  extern_job_id: string | null;
21545
+ fase_gestart_op: string | null;
21546
+ fase_voltooid_op: string | null;
21547
+ foutcode: string | null;
20402
21548
  foutmelding: string | null;
20403
21549
  gebruiker_id: string | null;
20404
21550
  gebruiker_naam: string;
@@ -20412,7 +21558,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20412
21558
  kopieen: number;
20413
21559
  layout_id: string | null;
20414
21560
  lokaal_opgeslagen_op: string | null;
21561
+ lokale_pdf_claim_id: string | null;
21562
+ lokale_pdf_claim_tot: string | null;
20415
21563
  lokale_pdf_fout: string | null;
21564
+ lokale_pdf_print_plek_id: string | null;
20416
21565
  lokale_pdf_status: string | null;
20417
21566
  opgepakt_op: string | null;
20418
21567
  paginas: number;
@@ -20425,6 +21574,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20425
21574
  resultaat_pdf_base64: string | null;
20426
21575
  status: Database["public"]["Enums"]["print_job_status"];
20427
21576
  updated_at: string;
21577
+ verwerkingsfase: string;
20428
21578
  volgende_poging: string | null;
20429
21579
  voltooid_op: string | null;
20430
21580
  }[];
@@ -20471,6 +21621,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20471
21621
  isSetofReturn: true;
20472
21622
  };
20473
21623
  };
21624
+ claim_local_pdf_jobs: {
21625
+ Args: {
21626
+ _max?: number;
21627
+ _print_plek_id: string;
21628
+ _writer_id: string;
21629
+ };
21630
+ Returns: {
21631
+ artefact_bytes: number;
21632
+ artefact_pad: string;
21633
+ artefact_sha256: string;
21634
+ documentnaam: string;
21635
+ id: string;
21636
+ lokale_pdf_print_plek_id: string;
21637
+ lokale_pdf_status: string;
21638
+ printer_id: string;
21639
+ resultaat_pdf_base64: string;
21640
+ status: string;
21641
+ }[];
21642
+ };
20474
21643
  claim_logistics_tasks: {
20475
21644
  Args: {
20476
21645
  _limit?: number;
@@ -20524,12 +21693,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20524
21693
  _max?: number;
20525
21694
  };
20526
21695
  Returns: {
21696
+ aflever_pogingen: number;
20527
21697
  agent_id: string | null;
21698
+ artefact_bytes: number | null;
21699
+ artefact_gereed_op: string | null;
21700
+ artefact_pad: string | null;
21701
+ artefact_sha256: string | null;
21702
+ batch_id: string | null;
20528
21703
  bron_job_id: string | null;
20529
21704
  created_at: string;
20530
21705
  documentnaam: string;
20531
21706
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20532
21707
  extern_job_id: string | null;
21708
+ fase_gestart_op: string | null;
21709
+ fase_voltooid_op: string | null;
21710
+ foutcode: string | null;
20533
21711
  foutmelding: string | null;
20534
21712
  gebruiker_id: string | null;
20535
21713
  gebruiker_naam: string;
@@ -20543,7 +21721,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20543
21721
  kopieen: number;
20544
21722
  layout_id: string | null;
20545
21723
  lokaal_opgeslagen_op: string | null;
21724
+ lokale_pdf_claim_id: string | null;
21725
+ lokale_pdf_claim_tot: string | null;
20546
21726
  lokale_pdf_fout: string | null;
21727
+ lokale_pdf_print_plek_id: string | null;
20547
21728
  lokale_pdf_status: string | null;
20548
21729
  opgepakt_op: string | null;
20549
21730
  paginas: number;
@@ -20556,6 +21737,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20556
21737
  resultaat_pdf_base64: string | null;
20557
21738
  status: Database["public"]["Enums"]["print_job_status"];
20558
21739
  updated_at: string;
21740
+ verwerkingsfase: string;
20559
21741
  volgende_poging: string | null;
20560
21742
  voltooid_op: string | null;
20561
21743
  }[];
@@ -20572,12 +21754,21 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20572
21754
  _max?: number;
20573
21755
  };
20574
21756
  Returns: {
21757
+ aflever_pogingen: number;
20575
21758
  agent_id: string | null;
21759
+ artefact_bytes: number | null;
21760
+ artefact_gereed_op: string | null;
21761
+ artefact_pad: string | null;
21762
+ artefact_sha256: string | null;
21763
+ batch_id: string | null;
20576
21764
  bron_job_id: string | null;
20577
21765
  created_at: string;
20578
21766
  documentnaam: string;
20579
21767
  documenttype: Database["public"]["Enums"]["doc_layout_type"];
20580
21768
  extern_job_id: string | null;
21769
+ fase_gestart_op: string | null;
21770
+ fase_voltooid_op: string | null;
21771
+ foutcode: string | null;
20581
21772
  foutmelding: string | null;
20582
21773
  gebruiker_id: string | null;
20583
21774
  gebruiker_naam: string;
@@ -20591,7 +21782,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20591
21782
  kopieen: number;
20592
21783
  layout_id: string | null;
20593
21784
  lokaal_opgeslagen_op: string | null;
21785
+ lokale_pdf_claim_id: string | null;
21786
+ lokale_pdf_claim_tot: string | null;
20594
21787
  lokale_pdf_fout: string | null;
21788
+ lokale_pdf_print_plek_id: string | null;
20595
21789
  lokale_pdf_status: string | null;
20596
21790
  opgepakt_op: string | null;
20597
21791
  paginas: number;
@@ -20604,6 +21798,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20604
21798
  resultaat_pdf_base64: string | null;
20605
21799
  status: Database["public"]["Enums"]["print_job_status"];
20606
21800
  updated_at: string;
21801
+ verwerkingsfase: string;
20607
21802
  volgende_poging: string | null;
20608
21803
  voltooid_op: string | null;
20609
21804
  }[];
@@ -20614,6 +21809,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20614
21809
  isSetofReturn: true;
20615
21810
  };
20616
21811
  };
21812
+ claim_print_queue_lease: {
21813
+ Args: {
21814
+ _houder: string;
21815
+ _naam: string;
21816
+ _seconden?: number;
21817
+ };
21818
+ Returns: boolean;
21819
+ };
20617
21820
  claim_twinfield_push_batch: {
20618
21821
  Args: {
20619
21822
  _customer_id?: string;
@@ -20739,7 +21942,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20739
21942
  cart_index: number;
20740
21943
  cart_number: string;
20741
21944
  cart_number_id: string;
21945
+ cart_seq: number;
21946
+ cart_total: number;
20742
21947
  order_id: string;
21948
+ order_number: string;
20743
21949
  order_source: string;
20744
21950
  pick_date: string;
20745
21951
  printed_at: string;
@@ -20747,6 +21953,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20747
21953
  status: string;
20748
21954
  }[];
20749
21955
  };
21956
+ control_mark_carts_delivered: {
21957
+ Args: {
21958
+ p_carts: import("./types").Json;
21959
+ };
21960
+ Returns: number;
21961
+ };
20750
21962
  count_distinct_regulatory_products: {
20751
21963
  Args: never;
20752
21964
  Returns: number;
@@ -20874,6 +22086,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20874
22086
  };
20875
22087
  Returns: undefined;
20876
22088
  };
22089
+ ensure_system_roles: {
22090
+ Args: never;
22091
+ Returns: {
22092
+ action: string;
22093
+ role_key: string;
22094
+ }[];
22095
+ };
20877
22096
  ensure_trade_item_stock_row: {
20878
22097
  Args: {
20879
22098
  p_key: string;
@@ -20940,6 +22159,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
20940
22159
  };
20941
22160
  Returns: string;
20942
22161
  };
22162
+ finish_local_pdf_job: {
22163
+ Args: {
22164
+ _fout?: string;
22165
+ _job_id: string;
22166
+ _status: string;
22167
+ _writer_id: string;
22168
+ };
22169
+ Returns: boolean;
22170
+ };
20943
22171
  floriday_capture_stock_snapshot: {
20944
22172
  Args: never;
20945
22173
  Returns: number;
@@ -21219,6 +22447,36 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21219
22447
  Args: never;
21220
22448
  Returns: string;
21221
22449
  };
22450
+ handover_archief_lijst: {
22451
+ Args: never;
22452
+ Returns: import("./types").Json;
22453
+ };
22454
+ handover_archiveren: {
22455
+ Args: {
22456
+ _archief?: boolean;
22457
+ _module_id: string;
22458
+ };
22459
+ Returns: boolean;
22460
+ };
22461
+ handover_check_afronden: {
22462
+ Args: {
22463
+ _module_id: string;
22464
+ };
22465
+ Returns: boolean;
22466
+ };
22467
+ handover_check_markeren: {
22468
+ Args: {
22469
+ _module_ids: string[];
22470
+ _reden?: string;
22471
+ };
22472
+ Returns: number;
22473
+ };
22474
+ handover_fingerprint_maken: {
22475
+ Args: {
22476
+ _module_id?: string;
22477
+ };
22478
+ Returns: import("./types").Json;
22479
+ };
21222
22480
  handover_get: {
21223
22481
  Args: {
21224
22482
  _module_id: string;
@@ -21249,6 +22507,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21249
22507
  };
21250
22508
  Returns: boolean;
21251
22509
  };
22510
+ handover_module_meta_zetten: {
22511
+ Args: {
22512
+ _module_id: string;
22513
+ _project_url?: string;
22514
+ _publicatie_url?: string;
22515
+ };
22516
+ Returns: boolean;
22517
+ };
21252
22518
  handover_norm_naam: {
21253
22519
  Args: {
21254
22520
  _naam: string;
@@ -21269,6 +22535,23 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21269
22535
  };
21270
22536
  Returns: number;
21271
22537
  };
22538
+ handover_publish_uit_github: {
22539
+ Args: {
22540
+ _bezit_tabellen?: string[];
22541
+ _bron_soort?: string;
22542
+ _commit?: string;
22543
+ _contractfuncties?: string[];
22544
+ _inhoud_md: string;
22545
+ _module_id: string;
22546
+ _module_titel: string;
22547
+ _ontbrekende_contracten?: string[];
22548
+ _pad?: string;
22549
+ _repo?: string;
22550
+ _samenvatting?: string;
22551
+ _versie_label?: string;
22552
+ };
22553
+ Returns: import("./types").Json;
22554
+ };
21272
22555
  handover_publish_via_token: {
21273
22556
  Args: {
21274
22557
  _bevindingen?: string;
@@ -21282,7 +22565,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21282
22565
  _samenvatting?: string;
21283
22566
  _token_hash: string;
21284
22567
  };
21285
- Returns: number;
22568
+ Returns: import("./types").Json;
21286
22569
  };
21287
22570
  handover_status: {
21288
22571
  Args: never;
@@ -21294,23 +22577,6 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21294
22577
  };
21295
22578
  Returns: string;
21296
22579
  };
21297
- handover_token_intrekken: {
21298
- Args: {
21299
- _id: string;
21300
- };
21301
- Returns: boolean;
21302
- };
21303
- handover_token_lijst: {
21304
- Args: never;
21305
- Returns: import("./types").Json;
21306
- };
21307
- handover_token_maken: {
21308
- Args: {
21309
- _label?: string;
21310
- _module_id: string;
21311
- };
21312
- Returns: string;
21313
- };
21314
22580
  handover_update: {
21315
22581
  Args: {
21316
22582
  _bezit_tabellen?: string[];
@@ -21338,12 +22604,31 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21338
22604
  };
21339
22605
  Returns: boolean;
21340
22606
  };
22607
+ handover_versie_verwijderen: {
22608
+ Args: {
22609
+ _module_id: string;
22610
+ _versie: number;
22611
+ };
22612
+ Returns: boolean;
22613
+ };
21341
22614
  handover_versies: {
21342
22615
  Args: {
21343
22616
  _module_id: string;
21344
22617
  };
21345
22618
  Returns: import("./types").Json;
21346
22619
  };
22620
+ handover_verwijderen: {
22621
+ Args: {
22622
+ _module_id: string;
22623
+ };
22624
+ Returns: boolean;
22625
+ };
22626
+ handover_wijzigingen: {
22627
+ Args: {
22628
+ _module_id?: string;
22629
+ };
22630
+ Returns: import("./types").Json;
22631
+ };
21347
22632
  has_module_permission: {
21348
22633
  Args: {
21349
22634
  _min: string;
@@ -21612,6 +22897,30 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21612
22897
  };
21613
22898
  Returns: import("./types").Json;
21614
22899
  };
22900
+ logistics_block_reason_code: {
22901
+ Args: {
22902
+ p_details?: import("./types").Json;
22903
+ p_reason: string;
22904
+ };
22905
+ Returns: string;
22906
+ };
22907
+ logistics_blocked_orders: {
22908
+ Args: never;
22909
+ Returns: {
22910
+ attempts: number;
22911
+ blocked_since: string;
22912
+ delivery_date: string;
22913
+ order_id: string;
22914
+ order_ref: string;
22915
+ queue_id: string;
22916
+ reason: string;
22917
+ reason_code: string;
22918
+ }[];
22919
+ };
22920
+ logistics_blocked_overview: {
22921
+ Args: never;
22922
+ Returns: import("./types").Json;
22923
+ };
21615
22924
  logistics_buffer_criteria: {
21616
22925
  Args: {
21617
22926
  p_settings: import("./types").Json;
@@ -21626,6 +22935,39 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21626
22935
  };
21627
22936
  Returns: import("./types").Json;
21628
22937
  };
22938
+ logistics_buffer_detach_late_orders: {
22939
+ Args: {
22940
+ p_buffer?: string;
22941
+ };
22942
+ Returns: import("./types").Json;
22943
+ };
22944
+ logistics_buffer_frozen_order: {
22945
+ Args: {
22946
+ p_order_id: string;
22947
+ };
22948
+ Returns: boolean;
22949
+ };
22950
+ logistics_buffer_handled: {
22951
+ Args: {
22952
+ p_buffer: string;
22953
+ };
22954
+ Returns: boolean;
22955
+ };
22956
+ logistics_buffer_notify: {
22957
+ Args: {
22958
+ p_event_type: string;
22959
+ p_idempotency_key: string;
22960
+ p_order_ref: string;
22961
+ p_payload: import("./types").Json;
22962
+ };
22963
+ Returns: string;
22964
+ };
22965
+ logistics_buffer_open_key: {
22966
+ Args: {
22967
+ p_base_key: string;
22968
+ };
22969
+ Returns: string;
22970
+ };
21629
22971
  logistics_buffer_simulate: {
21630
22972
  Args: {
21631
22973
  p_orders?: import("./types").Json;
@@ -21678,6 +23020,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21678
23020
  };
21679
23021
  Returns: string;
21680
23022
  };
23023
+ logistics_cart_handled: {
23024
+ Args: {
23025
+ p_cart_index: number;
23026
+ p_order_id: string;
23027
+ };
23028
+ Returns: boolean;
23029
+ };
21681
23030
  logistics_cart_index: {
21682
23031
  Args: {
21683
23032
  p_from?: string;
@@ -21687,6 +23036,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21687
23036
  cart_id: string;
21688
23037
  cart_index: number;
21689
23038
  cart_label: string;
23039
+ cart_number: string;
23040
+ cart_seq: number;
23041
+ cart_total: number;
21690
23042
  delivery_date: string;
21691
23043
  is_announced: boolean;
21692
23044
  is_controlled: boolean;
@@ -21701,12 +23053,79 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21701
23053
  task_status: string;
21702
23054
  }[];
21703
23055
  };
23056
+ logistics_cart_layout_method: {
23057
+ Args: never;
23058
+ Returns: import("./types").Json;
23059
+ };
23060
+ logistics_cart_plan_overview: {
23061
+ Args: {
23062
+ p_days?: number;
23063
+ };
23064
+ Returns: {
23065
+ cart_total: number;
23066
+ delivery_date: string;
23067
+ order_ref: string;
23068
+ plan_ready: boolean;
23069
+ reason: string;
23070
+ released: boolean;
23071
+ }[];
23072
+ };
23073
+ logistics_cart_plan_status: {
23074
+ Args: {
23075
+ p_ref: string;
23076
+ };
23077
+ Returns: import("./types").Json;
23078
+ };
23079
+ logistics_cart_seq: {
23080
+ Args: {
23081
+ p_order_uuid?: string;
23082
+ };
23083
+ Returns: {
23084
+ cart_id: string;
23085
+ cart_index: number;
23086
+ cart_number: string;
23087
+ cart_seq: number;
23088
+ cart_total: number;
23089
+ order_uuid: string;
23090
+ }[];
23091
+ };
21704
23092
  logistics_cart_slip_plan: {
21705
23093
  Args: {
21706
23094
  p_order_id: string;
21707
23095
  };
21708
23096
  Returns: import("./types").Json;
21709
23097
  };
23098
+ logistics_cart_units: {
23099
+ Args: {
23100
+ p_from?: string;
23101
+ p_to?: string;
23102
+ };
23103
+ Returns: {
23104
+ cart_id: string;
23105
+ cart_index: number;
23106
+ cart_label: string;
23107
+ cart_number: string;
23108
+ cart_seq: number;
23109
+ cart_total: number;
23110
+ delivery_date: string;
23111
+ is_announced: boolean;
23112
+ is_buffer: boolean;
23113
+ is_controlled: boolean;
23114
+ is_printed: boolean;
23115
+ is_shared: boolean;
23116
+ order_number: string;
23117
+ order_source: string;
23118
+ order_uuid: string;
23119
+ pick_date: string;
23120
+ printed_at: string;
23121
+ shifted: boolean;
23122
+ task_status: string;
23123
+ unit_buffer: string;
23124
+ unit_order_count: number;
23125
+ unit_orders: string[];
23126
+ unit_ref: string;
23127
+ }[];
23128
+ };
21710
23129
  logistics_check_order_allowed: {
21711
23130
  Args: {
21712
23131
  p_lines: import("./types").Json;
@@ -21862,7 +23281,9 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21862
23281
  announced_carts: number;
21863
23282
  control_carts: number;
21864
23283
  delivery_carts: number;
23284
+ duplicate_carts: number;
21865
23285
  ok: boolean;
23286
+ orphan_carts: number;
21866
23287
  orphan_tasks: number;
21867
23288
  pick_date: string;
21868
23289
  raw_carts: number;
@@ -21870,6 +23291,85 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21870
23291
  station_carts: number;
21871
23292
  }[];
21872
23293
  };
23294
+ logistics_control_scan_approve: {
23295
+ Args: {
23296
+ p_allow_reprint?: boolean;
23297
+ p_barcode: string;
23298
+ p_printer_id?: string;
23299
+ p_scanner_id?: string;
23300
+ };
23301
+ Returns: import("./types").Json;
23302
+ };
23303
+ logistics_control_scan_claim: {
23304
+ Args: {
23305
+ _lease_seconds?: number;
23306
+ _limit?: number;
23307
+ };
23308
+ Returns: {
23309
+ approved_at: string | null;
23310
+ attempts: number;
23311
+ barcode: string;
23312
+ cart_id: string;
23313
+ created_at: string;
23314
+ document_url: string | null;
23315
+ error: string | null;
23316
+ error_code: string | null;
23317
+ fulfillment_order_id: string | null;
23318
+ id: string;
23319
+ is_floriday: boolean;
23320
+ locked_until: string | null;
23321
+ order_id: string | null;
23322
+ order_number: string | null;
23323
+ print_job_id: string | null;
23324
+ printed_at: string | null;
23325
+ printer_id: string | null;
23326
+ scanner_id: string | null;
23327
+ status: string;
23328
+ updated_at: string;
23329
+ }[];
23330
+ SetofOptions: {
23331
+ from: "*";
23332
+ to: "logistics_control_scan";
23333
+ isOneToOne: false;
23334
+ isSetofReturn: true;
23335
+ };
23336
+ };
23337
+ logistics_control_scan_finish: {
23338
+ Args: {
23339
+ _document_url?: string;
23340
+ _error?: string;
23341
+ _error_code?: string;
23342
+ _fulfillment_order_id?: string;
23343
+ _id: string;
23344
+ _ok: boolean;
23345
+ _print_job_id?: string;
23346
+ _status?: string;
23347
+ };
23348
+ Returns: import("./types").Json;
23349
+ };
23350
+ logistics_control_scan_lookup: {
23351
+ Args: {
23352
+ p_barcode: string;
23353
+ };
23354
+ Returns: import("./types").Json;
23355
+ };
23356
+ logistics_control_scan_overview: {
23357
+ Args: {
23358
+ _date?: string;
23359
+ _scanner_id?: string;
23360
+ };
23361
+ Returns: import("./types").Json;
23362
+ };
23363
+ logistics_control_scan_retry: {
23364
+ Args: {
23365
+ _id: string;
23366
+ };
23367
+ Returns: import("./types").Json;
23368
+ };
23369
+ logistics_control_settings: {
23370
+ Args: never;
23371
+ Returns: import("./types").Json;
23372
+ };
21873
23373
  logistics_delay_customer_email: {
21874
23374
  Args: {
21875
23375
  p_customer: string;
@@ -21937,6 +23437,17 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
21937
23437
  };
21938
23438
  Returns: import("./types").Json;
21939
23439
  };
23440
+ logistics_enqueue_sticker_with_slip: {
23441
+ Args: {
23442
+ _cart_id: string;
23443
+ _is_herprint: boolean;
23444
+ _printer_id: string;
23445
+ _queue_item_id: string;
23446
+ _session_id: string;
23447
+ _slip_job_id: string;
23448
+ };
23449
+ Returns: string;
23450
+ };
21940
23451
  logistics_ensure_cart_barcode: {
21941
23452
  Args: {
21942
23453
  _cart_id: string;
@@ -22078,18 +23589,64 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22078
23589
  };
22079
23590
  Returns: string;
22080
23591
  };
22081
- logistics_live_carriers: {
23592
+ logistics_fulfill_barcode_requests: {
22082
23593
  Args: {
22083
- p_order_ref: string;
23594
+ p_limit?: number;
22084
23595
  };
22085
23596
  Returns: import("./types").Json;
22086
23597
  };
22087
- logistics_live_cart_count: {
23598
+ logistics_full_cart_min_layers: {
23599
+ Args: never;
23600
+ Returns: number;
23601
+ };
23602
+ logistics_full_cart_min_percentage: {
23603
+ Args: never;
23604
+ Returns: number;
23605
+ };
23606
+ logistics_is_pick_workday: {
23607
+ Args: {
23608
+ p_date: string;
23609
+ };
23610
+ Returns: boolean;
23611
+ };
23612
+ logistics_link_order_items: {
23613
+ Args: {
23614
+ p_order?: string;
23615
+ };
23616
+ Returns: import("./types").Json;
23617
+ };
23618
+ logistics_live_carriers: {
23619
+ Args: {
23620
+ p_order_ref: string;
23621
+ };
23622
+ Returns: import("./types").Json;
23623
+ };
23624
+ logistics_live_cart_count: {
22088
23625
  Args: {
22089
23626
  p_order_ref: string;
22090
23627
  };
22091
23628
  Returns: number;
22092
23629
  };
23630
+ logistics_next_workday_date: {
23631
+ Args: {
23632
+ p_date: string;
23633
+ p_days?: string[];
23634
+ };
23635
+ Returns: string;
23636
+ };
23637
+ logistics_next_workday_not_past: {
23638
+ Args: {
23639
+ p_days: string[];
23640
+ p_ts: string;
23641
+ };
23642
+ Returns: string;
23643
+ };
23644
+ logistics_normalize_product_label: {
23645
+ Args: {
23646
+ p_label: string;
23647
+ };
23648
+ Returns: string;
23649
+ };
22093
23650
  logistics_not_past: {
22094
23651
  Args: {
22095
23652
  p_ts: string;
@@ -22102,6 +23659,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22102
23659
  };
22103
23660
  Returns: number;
22104
23661
  };
23662
+ logistics_order_handled: {
23663
+ Args: {
23664
+ p_order_uuid: string;
23665
+ };
23666
+ Returns: boolean;
23667
+ };
23668
+ logistics_order_is_topick: {
23669
+ Args: {
23670
+ p_order_id: string;
23671
+ p_order_number: string;
23672
+ };
23673
+ Returns: boolean;
23674
+ };
22105
23675
  logistics_order_overview: {
22106
23676
  Args: {
22107
23677
  p_from?: string;
@@ -22127,6 +23697,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22127
23697
  };
22128
23698
  Returns: string;
22129
23699
  };
23700
+ logistics_order_released: {
23701
+ Args: {
23702
+ p_order_ref: string;
23703
+ };
23704
+ Returns: boolean;
23705
+ };
22130
23706
  logistics_parse_pickup: {
22131
23707
  Args: {
22132
23708
  p_value: string;
@@ -22149,10 +23725,37 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22149
23725
  shifted_count: number;
22150
23726
  }[];
22151
23727
  };
23728
+ logistics_pick_barcode_enabled: {
23729
+ Args: never;
23730
+ Returns: boolean;
23731
+ };
22152
23732
  logistics_pick_email_purpose: {
22153
23733
  Args: never;
22154
23734
  Returns: string;
22155
23735
  };
23736
+ logistics_pick_mode: {
23737
+ Args: never;
23738
+ Returns: import("./types").Json;
23739
+ };
23740
+ logistics_pick_start_estimate: {
23741
+ Args: {
23742
+ p_order: import("./types").Json;
23743
+ s: import("./types").Json;
23744
+ };
23745
+ Returns: string;
23746
+ };
23747
+ logistics_pick_units: {
23748
+ Args: never;
23749
+ Returns: {
23750
+ is_buffer: boolean;
23751
+ order_number: string;
23752
+ order_uuid: string;
23753
+ unit_buffer: string;
23754
+ unit_order_count: number;
23755
+ unit_orders: string[];
23756
+ unit_ref: string;
23757
+ }[];
23758
+ };
22156
23759
  logistics_plan_all: {
22157
23760
  Args: {
22158
23761
  p_user_id?: string;
@@ -22232,6 +23835,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22232
23835
  Args: never;
22233
23836
  Returns: number;
22234
23837
  };
23838
+ logistics_plan_retry: {
23839
+ Args: {
23840
+ p_order_ids: string[];
23841
+ };
23842
+ Returns: number;
23843
+ };
22235
23844
  logistics_plan_setting: {
22236
23845
  Args: {
22237
23846
  p_default: number;
@@ -22239,6 +23848,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22239
23848
  };
22240
23849
  Returns: number;
22241
23850
  };
23851
+ logistics_prune_buffer_member_queue: {
23852
+ Args: never;
23853
+ Returns: number;
23854
+ };
23855
+ logistics_prune_handled_pick_queue: {
23856
+ Args: never;
23857
+ Returns: number;
23858
+ };
22242
23859
  logistics_queue_capacity_email: {
22243
23860
  Args: {
22244
23861
  p_alert_id: string;
@@ -22271,6 +23888,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22271
23888
  Args: never;
22272
23889
  Returns: import("./types").Json;
22273
23890
  };
23891
+ logistics_refresh_pickup_moments: {
23892
+ Args: {
23893
+ p_weeks?: number;
23894
+ };
23895
+ Returns: import("./types").Json;
23896
+ };
22274
23897
  logistics_report_delay: {
22275
23898
  Args: {
22276
23899
  p_expected_date?: string;
@@ -22324,6 +23947,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22324
23947
  };
22325
23948
  Returns: import("./types").Json;
22326
23949
  };
23950
+ logistics_resolve_product_id: {
23951
+ Args: {
23952
+ p_label: string;
23953
+ };
23954
+ Returns: string;
23955
+ };
22327
23956
  logistics_resolve_settings: {
22328
23957
  Args: {
22329
23958
  p_config_id: string;
@@ -22377,6 +24006,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22377
24006
  };
22378
24007
  Returns: string;
22379
24008
  };
24009
+ logistics_scan_resolve: {
24010
+ Args: {
24011
+ p_code: string;
24012
+ };
24013
+ Returns: import("./types").Json;
24014
+ };
22380
24015
  logistics_schedule_tasks: {
22381
24016
  Args: never;
22382
24017
  Returns: number;
@@ -22411,6 +24046,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22411
24046
  };
22412
24047
  Returns: import("./types").Json;
22413
24048
  };
24049
+ logistics_sticker_follows_slip: {
24050
+ Args: never;
24051
+ Returns: boolean;
24052
+ };
22414
24053
  logistics_supersede_stale_tasks: {
22415
24054
  Args: {
22416
24055
  p_keep: string[];
@@ -22443,6 +24082,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22443
24082
  };
22444
24083
  Returns: number;
22445
24084
  };
24085
+ logistics_tick_ping: {
24086
+ Args: never;
24087
+ Returns: string;
24088
+ };
22446
24089
  logistics_upsert_task: {
22447
24090
  Args: {
22448
24091
  p_buffer_ref: string;
@@ -22462,6 +24105,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22462
24105
  };
22463
24106
  Returns: string;
22464
24107
  };
24108
+ logistics_write_buffer_layer_positions: {
24109
+ Args: {
24110
+ p_buffer_id: string;
24111
+ };
24112
+ Returns: number;
24113
+ };
24114
+ logistics_write_cart_layer_positions: {
24115
+ Args: {
24116
+ p_cart_id: string;
24117
+ };
24118
+ Returns: number;
24119
+ };
22465
24120
  mark_offer_clicked: {
22466
24121
  Args: {
22467
24122
  p_code: string;
@@ -22494,6 +24149,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22494
24149
  };
22495
24150
  Returns: undefined;
22496
24151
  };
24152
+ move_cart_layer_position: {
24153
+ Args: {
24154
+ p_id: string;
24155
+ p_layer: number;
24156
+ p_x: number;
24157
+ p_y: number;
24158
+ };
24159
+ Returns: undefined;
24160
+ };
22497
24161
  my_module_permissions: {
22498
24162
  Args: never;
22499
24163
  Returns: {
@@ -22565,6 +24229,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22565
24229
  };
22566
24230
  Returns: import("./types").Json;
22567
24231
  };
24232
+ order_heeft_bevestigde_karren: {
24233
+ Args: {
24234
+ p_order_id: string;
24235
+ };
24236
+ Returns: boolean;
24237
+ };
22568
24238
  order_number_prefix: {
22569
24239
  Args: {
22570
24240
  p_custom_fields?: import("./types").Json;
@@ -22600,6 +24270,27 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22600
24270
  online: boolean;
22601
24271
  }[];
22602
24272
  };
24273
+ pick_available_pick_days: {
24274
+ Args: {
24275
+ _max_days?: number;
24276
+ };
24277
+ Returns: {
24278
+ orders: number;
24279
+ pick_day: string;
24280
+ }[];
24281
+ };
24282
+ pick_buffer_order_ids: {
24283
+ Args: {
24284
+ _order_id: string;
24285
+ };
24286
+ Returns: string[];
24287
+ };
24288
+ pick_cart_breakdown: {
24289
+ Args: {
24290
+ _order_id: string;
24291
+ };
24292
+ Returns: import("./types").Json;
24293
+ };
22603
24294
  pick_claim_document: {
22604
24295
  Args: {
22605
24296
  _queue_item_id: string;
@@ -22653,6 +24344,7 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22653
24344
  pick_claim_next_document: {
22654
24345
  Args: {
22655
24346
  _country_code: string;
24347
+ _pick_day?: string;
22656
24348
  _screen_id: string;
22657
24349
  _session_id: string;
22658
24350
  _station_id: string;
@@ -22804,6 +24496,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22804
24496
  isSetofReturn: false;
22805
24497
  };
22806
24498
  };
24499
+ pick_complete_print_carts: {
24500
+ Args: {
24501
+ _cart_ids: string[];
24502
+ _queue_item_id: string;
24503
+ _session_id: string;
24504
+ };
24505
+ Returns: import("./types").Json;
24506
+ };
22807
24507
  pick_current_pick_day: {
22808
24508
  Args: never;
22809
24509
  Returns: string;
@@ -22840,6 +24540,65 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22840
24540
  };
22841
24541
  Returns: string;
22842
24542
  };
24543
+ pick_enqueue_print_job_from_cart: {
24544
+ Args: {
24545
+ _cart_id: string;
24546
+ _is_herprint: boolean;
24547
+ _printer_id: string;
24548
+ _queue_item_id: string;
24549
+ _selected_cart: import("./types").Json;
24550
+ _session_id: string;
24551
+ };
24552
+ Returns: string;
24553
+ };
24554
+ pick_mark_printed: {
24555
+ Args: {
24556
+ _queue_item_id: string;
24557
+ _reden?: string;
24558
+ _session_id: string;
24559
+ };
24560
+ Returns: {
24561
+ announced_at: string;
24562
+ assigned_user_id: string | null;
24563
+ barcode: string | null;
24564
+ cancelled_at: string | null;
24565
+ cart_count: number;
24566
+ completed_at: string | null;
24567
+ country_code: string | null;
24568
+ created_at: string;
24569
+ customer_name: string | null;
24570
+ delivery_address: string | null;
24571
+ document_number: string | null;
24572
+ document_type_id: string | null;
24573
+ due_at: string | null;
24574
+ id: string;
24575
+ is_urgent: boolean;
24576
+ line_count: number;
24577
+ order_number: string | null;
24578
+ order_type: string | null;
24579
+ payload: import("./types").Json;
24580
+ print_count: number;
24581
+ print_job_id: string | null;
24582
+ printed_at: string | null;
24583
+ printed_by: string | null;
24584
+ printed_cart_ids: import("./types").Json;
24585
+ printer_id: string | null;
24586
+ priority: number;
24587
+ reference: string | null;
24588
+ route: string | null;
24589
+ screen_id: string | null;
24590
+ station_id: string | null;
24591
+ status_id: string | null;
24592
+ updated_at: string;
24593
+ warnings: import("./types").Json;
24594
+ };
24595
+ SetofOptions: {
24596
+ from: "*";
24597
+ to: "pick_queue";
24598
+ isOneToOne: true;
24599
+ isSetofReturn: false;
24600
+ };
24601
+ };
22843
24602
  pick_order_context: {
22844
24603
  Args: {
22845
24604
  _order_id?: string;
@@ -22860,6 +24619,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22860
24619
  };
22861
24620
  Returns: import("./types").Json;
22862
24621
  };
24622
+ pick_print_jobs_status: {
24623
+ Args: {
24624
+ _job_ids: string[];
24625
+ };
24626
+ Returns: import("./types").Json[];
24627
+ };
22863
24628
  pick_print_plekken: {
22864
24629
  Args: never;
22865
24630
  Returns: {
@@ -22868,6 +24633,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22868
24633
  omschrijving: string;
22869
24634
  }[];
22870
24635
  };
24636
+ pick_queue_cart_plan: {
24637
+ Args: {
24638
+ _queue_item_id: string;
24639
+ };
24640
+ Returns: import("./types").Json;
24641
+ };
22871
24642
  pick_reference_data_status: {
22872
24643
  Args: never;
22873
24644
  Returns: import("./types").Json;
@@ -22882,6 +24653,19 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22882
24653
  };
22883
24654
  Returns: undefined;
22884
24655
  };
24656
+ pick_report_missing_cart_plan: {
24657
+ Args: never;
24658
+ Returns: import("./types").Json;
24659
+ };
24660
+ pick_reprint_cart: {
24661
+ Args: {
24662
+ _cart_id: string;
24663
+ _queue_item_id: string;
24664
+ _session_id: string;
24665
+ _throttle_seconds?: number;
24666
+ };
24667
+ Returns: string;
24668
+ };
22885
24669
  pick_reprint_document: {
22886
24670
  Args: {
22887
24671
  _queue_item_id: string;
@@ -22984,6 +24768,151 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
22984
24768
  isSetofReturn: false;
22985
24769
  };
22986
24770
  };
24771
+ pick_reset_print_job: {
24772
+ Args: {
24773
+ _cart_id: string;
24774
+ _job_id: string;
24775
+ _queue_item_id: string;
24776
+ _session_id: string;
24777
+ };
24778
+ Returns: {
24779
+ announced_at: string;
24780
+ assigned_user_id: string | null;
24781
+ barcode: string | null;
24782
+ cancelled_at: string | null;
24783
+ cart_count: number;
24784
+ completed_at: string | null;
24785
+ country_code: string | null;
24786
+ created_at: string;
24787
+ customer_name: string | null;
24788
+ delivery_address: string | null;
24789
+ document_number: string | null;
24790
+ document_type_id: string | null;
24791
+ due_at: string | null;
24792
+ id: string;
24793
+ is_urgent: boolean;
24794
+ line_count: number;
24795
+ order_number: string | null;
24796
+ order_type: string | null;
24797
+ payload: import("./types").Json;
24798
+ print_count: number;
24799
+ print_job_id: string | null;
24800
+ printed_at: string | null;
24801
+ printed_by: string | null;
24802
+ printed_cart_ids: import("./types").Json;
24803
+ printer_id: string | null;
24804
+ priority: number;
24805
+ reference: string | null;
24806
+ route: string | null;
24807
+ screen_id: string | null;
24808
+ station_id: string | null;
24809
+ status_id: string | null;
24810
+ updated_at: string;
24811
+ warnings: import("./types").Json;
24812
+ };
24813
+ SetofOptions: {
24814
+ from: "*";
24815
+ to: "pick_queue";
24816
+ isOneToOne: true;
24817
+ isSetofReturn: false;
24818
+ };
24819
+ };
24820
+ pick_reset_print_jobs: {
24821
+ Args: {
24822
+ _cart_ids: string[];
24823
+ _job_ids: string[];
24824
+ _queue_item_id: string;
24825
+ _session_id: string;
24826
+ };
24827
+ Returns: {
24828
+ announced_at: string;
24829
+ assigned_user_id: string | null;
24830
+ barcode: string | null;
24831
+ cancelled_at: string | null;
24832
+ cart_count: number;
24833
+ completed_at: string | null;
24834
+ country_code: string | null;
24835
+ created_at: string;
24836
+ customer_name: string | null;
24837
+ delivery_address: string | null;
24838
+ document_number: string | null;
24839
+ document_type_id: string | null;
24840
+ due_at: string | null;
24841
+ id: string;
24842
+ is_urgent: boolean;
24843
+ line_count: number;
24844
+ order_number: string | null;
24845
+ order_type: string | null;
24846
+ payload: import("./types").Json;
24847
+ print_count: number;
24848
+ print_job_id: string | null;
24849
+ printed_at: string | null;
24850
+ printed_by: string | null;
24851
+ printed_cart_ids: import("./types").Json;
24852
+ printer_id: string | null;
24853
+ priority: number;
24854
+ reference: string | null;
24855
+ route: string | null;
24856
+ screen_id: string | null;
24857
+ station_id: string | null;
24858
+ status_id: string | null;
24859
+ updated_at: string;
24860
+ warnings: import("./types").Json;
24861
+ };
24862
+ SetofOptions: {
24863
+ from: "*";
24864
+ to: "pick_queue";
24865
+ isOneToOne: true;
24866
+ isSetofReturn: false;
24867
+ };
24868
+ };
24869
+ pick_restore_to_queue: {
24870
+ Args: {
24871
+ _queue_item_id: string;
24872
+ _session_id: string;
24873
+ };
24874
+ Returns: {
24875
+ announced_at: string;
24876
+ assigned_user_id: string | null;
24877
+ barcode: string | null;
24878
+ cancelled_at: string | null;
24879
+ cart_count: number;
24880
+ completed_at: string | null;
24881
+ country_code: string | null;
24882
+ created_at: string;
24883
+ customer_name: string | null;
24884
+ delivery_address: string | null;
24885
+ document_number: string | null;
24886
+ document_type_id: string | null;
24887
+ due_at: string | null;
24888
+ id: string;
24889
+ is_urgent: boolean;
24890
+ line_count: number;
24891
+ order_number: string | null;
24892
+ order_type: string | null;
24893
+ payload: import("./types").Json;
24894
+ print_count: number;
24895
+ print_job_id: string | null;
24896
+ printed_at: string | null;
24897
+ printed_by: string | null;
24898
+ printed_cart_ids: import("./types").Json;
24899
+ printer_id: string | null;
24900
+ priority: number;
24901
+ reference: string | null;
24902
+ route: string | null;
24903
+ screen_id: string | null;
24904
+ station_id: string | null;
24905
+ status_id: string | null;
24906
+ updated_at: string;
24907
+ warnings: import("./types").Json;
24908
+ };
24909
+ SetofOptions: {
24910
+ from: "*";
24911
+ to: "pick_queue";
24912
+ isOneToOne: true;
24913
+ isSetofReturn: false;
24914
+ };
24915
+ };
22987
24916
  pick_seed_reference_data: {
22988
24917
  Args: never;
22989
24918
  Returns: import("./types").Json;
@@ -23033,6 +24962,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23033
24962
  };
23034
24963
  Returns: string;
23035
24964
  };
24965
+ pick_sync_pick_day: {
24966
+ Args: {
24967
+ _day: string;
24968
+ };
24969
+ Returns: import("./types").Json;
24970
+ };
23036
24971
  pick_sync_queue_throttled: {
23037
24972
  Args: {
23038
24973
  _min_seconds?: number;
@@ -23262,6 +25197,26 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23262
25197
  };
23263
25198
  Returns: boolean;
23264
25199
  };
25200
+ release_job_lock: {
25201
+ Args: {
25202
+ _key: string;
25203
+ };
25204
+ Returns: undefined;
25205
+ };
25206
+ release_local_pdf_job: {
25207
+ Args: {
25208
+ _job_id: string;
25209
+ _writer_id: string;
25210
+ };
25211
+ Returns: boolean;
25212
+ };
25213
+ release_print_queue_lease: {
25214
+ Args: {
25215
+ _houder: string;
25216
+ _naam: string;
25217
+ };
25218
+ Returns: boolean;
25219
+ };
23265
25220
  release_stale_order_invoice_links: {
23266
25221
  Args: {
23267
25222
  _minutes?: number;
@@ -23282,6 +25237,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23282
25237
  };
23283
25238
  Returns: import("./types").Json;
23284
25239
  };
25240
+ reset_cart_layer_positions: {
25241
+ Args: {
25242
+ p_cart_id: string;
25243
+ };
25244
+ Returns: number;
25245
+ };
23285
25246
  reset_floriday_sync_cursor: {
23286
25247
  Args: {
23287
25248
  p_connection_id: string;
@@ -23345,6 +25306,15 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23345
25306
  };
23346
25307
  Returns: import("./types").Json;
23347
25308
  };
25309
+ roles_without_enum_mapping: {
25310
+ Args: never;
25311
+ Returns: {
25312
+ assignment_count: number;
25313
+ id: string;
25314
+ key: string;
25315
+ name: string;
25316
+ }[];
25317
+ };
23348
25318
  ruim_print_jobs_op: {
23349
25319
  Args: {
23350
25320
  _bewaar_dagen?: number;
@@ -23359,6 +25329,10 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23359
25329
  Args: never;
23360
25330
  Returns: undefined;
23361
25331
  };
25332
+ run_floriday_stock_reconcile: {
25333
+ Args: never;
25334
+ Returns: undefined;
25335
+ };
23362
25336
  run_logistics_tasks_dispatch: {
23363
25337
  Args: never;
23364
25338
  Returns: undefined;
@@ -23377,18 +25351,98 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23377
25351
  };
23378
25352
  Returns: import("./types").Json;
23379
25353
  };
25354
+ scan_complete_cart: {
25355
+ Args: {
25356
+ p_allow_reprint?: boolean;
25357
+ p_cart_id: string;
25358
+ p_print?: boolean;
25359
+ p_scanner_id?: string;
25360
+ };
25361
+ Returns: import("./types").Json;
25362
+ };
23380
25363
  scan_dashboard_stats: {
23381
25364
  Args: {
23382
25365
  p_dagen?: number;
23383
25366
  };
23384
25367
  Returns: import("./types").Json;
23385
25368
  };
25369
+ scan_eindcontrole: {
25370
+ Args: {
25371
+ p_barcode: string;
25372
+ p_scanner_id?: string;
25373
+ };
25374
+ Returns: import("./types").Json;
25375
+ };
23386
25376
  scan_finish_kar: {
23387
25377
  Args: {
23388
25378
  p_kar_id: string;
23389
25379
  };
23390
25380
  Returns: import("./types").Json;
23391
25381
  };
25382
+ scan_kar_compleet: {
25383
+ Args: {
25384
+ p_allow_reprint?: boolean;
25385
+ p_sessie_id: string;
25386
+ };
25387
+ Returns: import("./types").Json;
25388
+ };
25389
+ scan_kar_regels: {
25390
+ Args: {
25391
+ p_cart_id: string;
25392
+ };
25393
+ Returns: import("./types").Json;
25394
+ };
25395
+ scan_log_code: {
25396
+ Args: {
25397
+ p_code: string;
25398
+ p_latency_ms?: number;
25399
+ p_message?: string;
25400
+ p_result: string;
25401
+ p_scanner_key?: string;
25402
+ };
25403
+ Returns: string;
25404
+ };
25405
+ scan_open_pakbonnen: {
25406
+ Args: {
25407
+ p_dagen?: number;
25408
+ };
25409
+ Returns: import("./types").Json;
25410
+ };
25411
+ scan_pakbon_lookup: {
25412
+ Args: {
25413
+ p_barcode: string;
25414
+ };
25415
+ Returns: import("./types").Json;
25416
+ };
25417
+ scan_pakbon_opnieuw: {
25418
+ Args: {
25419
+ p_barcode: string;
25420
+ p_scanner_id?: string;
25421
+ };
25422
+ Returns: import("./types").Json;
25423
+ };
25424
+ scan_pakbon_toevoegen: {
25425
+ Args: {
25426
+ p_barcode: string;
25427
+ p_medewerker?: string;
25428
+ p_regels?: import("./types").Json;
25429
+ p_scanner_id: string;
25430
+ };
25431
+ Returns: import("./types").Json;
25432
+ };
25433
+ scan_print_restpakbon: {
25434
+ Args: {
25435
+ p_printer_id?: string;
25436
+ p_restpakbon_id: string;
25437
+ };
25438
+ Returns: import("./types").Json;
25439
+ };
25440
+ scan_print_verzendbrief: {
25441
+ Args: {
25442
+ p_sessie_id: string;
25443
+ };
25444
+ Returns: import("./types").Json;
25445
+ };
23392
25446
  scan_register_item: {
23393
25447
  Args: {
23394
25448
  p_kar_id: string;
@@ -23407,6 +25461,25 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23407
25461
  };
23408
25462
  Returns: import("./types").Json;
23409
25463
  };
25464
+ scan_restpakbon_geprint: {
25465
+ Args: {
25466
+ p_id: string;
25467
+ p_print_job_id?: string;
25468
+ };
25469
+ Returns: undefined;
25470
+ };
25471
+ scan_sessie_annuleren: {
25472
+ Args: {
25473
+ p_sessie_id: string;
25474
+ };
25475
+ Returns: undefined;
25476
+ };
25477
+ scan_sessie_open: {
25478
+ Args: {
25479
+ p_scanner_id: string;
25480
+ };
25481
+ Returns: import("./types").Json;
25482
+ };
23410
25483
  scan_start_kar: {
23411
25484
  Args: {
23412
25485
  p_medewerker_id?: string;
@@ -23425,6 +25498,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23425
25498
  };
23426
25499
  Returns: import("./types").Json;
23427
25500
  };
25501
+ scan_verzendbrief_regels: {
25502
+ Args: {
25503
+ p_sessie_id: string;
25504
+ };
25505
+ Returns: import("./types").Json;
25506
+ };
23428
25507
  schedule_floriday_additional_services_sync: {
23429
25508
  Args: {
23430
25509
  p_apikey: string;
@@ -23740,6 +25819,13 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23740
25819
  };
23741
25820
  Returns: import("./types").Json;
23742
25821
  };
25822
+ swap_cart_layer_positions: {
25823
+ Args: {
25824
+ p_a: string;
25825
+ p_b: string;
25826
+ };
25827
+ Returns: undefined;
25828
+ };
23743
25829
  switch_time_log: {
23744
25830
  Args: {
23745
25831
  p_employee_id: string;
@@ -23772,6 +25858,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23772
25858
  };
23773
25859
  Returns: undefined;
23774
25860
  };
25861
+ sync_order_item_fusten: {
25862
+ Args: {
25863
+ _order_item_id: string;
25864
+ };
25865
+ Returns: undefined;
25866
+ };
23775
25867
  sync_product_group_belading: {
23776
25868
  Args: {
23777
25869
  _group_id: string;
@@ -23799,6 +25891,14 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23799
25891
  row_count: number;
23800
25892
  }[];
23801
25893
  };
25894
+ try_acquire_job_lock: {
25895
+ Args: {
25896
+ _key: string;
25897
+ _owner?: string;
25898
+ _seconds?: number;
25899
+ };
25900
+ Returns: boolean;
25901
+ };
23802
25902
  try_debtor_lock: {
23803
25903
  Args: {
23804
25904
  _group_key: string;
@@ -23878,6 +25978,12 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23878
25978
  Args: never;
23879
25979
  Returns: string;
23880
25980
  };
25981
+ wake_print_queue: {
25982
+ Args: {
25983
+ _min_interval_ms?: number;
25984
+ };
25985
+ Returns: number;
25986
+ };
23881
25987
  werkbon_totalen: {
23882
25988
  Args: {
23883
25989
  _werkbon_id: string;
@@ -23910,10 +26016,18 @@ export declare const requireSupabaseAuth: import("@tanstack/start-client-core").
23910
26016
  };
23911
26017
  Returns: import("./types").Json;
23912
26018
  };
26019
+ wo_set_status: {
26020
+ Args: {
26021
+ _reason?: string;
26022
+ _status: string;
26023
+ _work_order_id: string;
26024
+ };
26025
+ Returns: import("./types").Json;
26026
+ };
23913
26027
  };
23914
26028
  Enums: {
23915
26029
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
23916
- app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie";
26030
+ app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
23917
26031
  doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
23918
26032
  doc_orientation: "portrait" | "landscape";
23919
26033
  exact_env: "staging" | "live";