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