@flowselections/logistiek-engine 1.0.241 → 1.0.243

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 (66) hide show
  1. package/db/schema/logistiek-engine.sql +8794 -33
  2. package/dist-lib/components/BeheerPage.d.ts.map +1 -1
  3. package/dist-lib/components/BeheerPage.js +2 -1
  4. package/dist-lib/components/DataGereedheidCard.d.ts +1 -0
  5. package/dist-lib/components/DataGereedheidCard.d.ts.map +1 -1
  6. package/dist-lib/components/DataGereedheidCard.js +4 -3
  7. package/dist-lib/components/GeblokkeerdeOrdersCard.d.ts.map +1 -1
  8. package/dist-lib/components/GeblokkeerdeOrdersCard.js +14 -3
  9. package/dist-lib/components/GereedheidCard.d.ts +14 -0
  10. package/dist-lib/components/GereedheidCard.d.ts.map +1 -0
  11. package/dist-lib/components/GereedheidCard.js +60 -0
  12. package/dist-lib/components/LadingdragersPage.d.ts.map +1 -1
  13. package/dist-lib/components/LadingdragersPage.js +5 -1
  14. package/dist-lib/components/MinuutrondeCard.js +1 -1
  15. package/dist-lib/components/StandaardgegevensCard.d.ts.map +1 -1
  16. package/dist-lib/components/StandaardgegevensCard.js +25 -1
  17. package/dist-lib/components/StartlijstCard.d.ts.map +1 -1
  18. package/dist-lib/components/StartlijstCard.js +4 -1
  19. package/dist-lib/components/rule-engine/RuleFieldInput.d.ts.map +1 -1
  20. package/dist-lib/components/rule-engine/RuleFieldInput.js +1 -1
  21. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts +14 -0
  22. package/dist-lib/hooks/useGeblokkeerdeOrders.d.ts.map +1 -1
  23. package/dist-lib/hooks/useGeblokkeerdeOrders.js +40 -3
  24. package/dist-lib/index.d.ts +1 -0
  25. package/dist-lib/index.d.ts.map +1 -1
  26. package/dist-lib/index.js +1 -0
  27. package/dist-lib/integrations/supabase/types.d.ts +3014 -85
  28. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  29. package/dist-lib/lib/beladingRegels.d.ts +17 -0
  30. package/dist-lib/lib/beladingRegels.d.ts.map +1 -1
  31. package/dist-lib/lib/beladingRegels.js +29 -3
  32. package/dist-lib/lib/dimensionPlanner.d.ts +10 -0
  33. package/dist-lib/lib/dimensionPlanner.d.ts.map +1 -1
  34. package/dist-lib/lib/dimensionPlanner.js +20 -0
  35. package/dist-lib/lib/engineStatusTeksten.d.ts +1 -1
  36. package/dist-lib/lib/engineStatusTeksten.js +1 -1
  37. package/dist-lib/lib/flowRoute.d.ts.map +1 -1
  38. package/dist-lib/lib/flowRoute.js +2 -2
  39. package/dist-lib/lib/handlers/logistics-tick.server.d.ts +2 -0
  40. package/dist-lib/lib/handlers/logistics-tick.server.d.ts.map +1 -1
  41. package/dist-lib/lib/handlers/logistics-tick.server.js +259 -184
  42. package/dist-lib/lib/karindelingBewakingTeksten.d.ts +9 -0
  43. package/dist-lib/lib/karindelingBewakingTeksten.d.ts.map +1 -0
  44. package/dist-lib/lib/karindelingBewakingTeksten.js +26 -0
  45. package/dist-lib/lib/loadCarrierPlanning.server.d.ts +21 -0
  46. package/dist-lib/lib/loadCarrierPlanning.server.d.ts.map +1 -1
  47. package/dist-lib/lib/loadCarrierPlanning.server.js +162 -21
  48. package/dist-lib/lib/loadCarrierTypes.d.ts +2 -0
  49. package/dist-lib/lib/loadCarrierTypes.d.ts.map +1 -1
  50. package/dist-lib/lib/logisticsRecalcJob.server.d.ts.map +1 -1
  51. package/dist-lib/lib/logisticsRecalcJob.server.js +8 -1
  52. package/dist-lib/lib/moduleVersion.d.ts +1 -1
  53. package/dist-lib/lib/moduleVersion.js +1 -1
  54. package/dist-lib/lib/ruleEngineSchema.d.ts +2 -0
  55. package/dist-lib/lib/ruleEngineSchema.d.ts.map +1 -1
  56. package/dist-lib/lib/ruleEngineSchema.js +38 -1
  57. package/dist-lib/lib/scheduleTasks.server.d.ts +3 -1
  58. package/dist-lib/lib/scheduleTasks.server.d.ts.map +1 -1
  59. package/dist-lib/lib/scheduleTasks.server.js +5 -2
  60. package/dist-lib/lib/statusFase.d.ts +11 -0
  61. package/dist-lib/lib/statusFase.d.ts.map +1 -0
  62. package/dist-lib/lib/statusFase.js +58 -0
  63. package/dist-lib/lib/werkers.server.d.ts +17 -0
  64. package/dist-lib/lib/werkers.server.d.ts.map +1 -0
  65. package/dist-lib/lib/werkers.server.js +31 -0
  66. package/package.json +31 -1
@@ -383,6 +383,44 @@ export type Database = {
383
383
  };
384
384
  Relationships: [];
385
385
  };
386
+ afh_signup_meldingen: {
387
+ Row: {
388
+ carrier_id: string;
389
+ created_at: string;
390
+ fingerprint: string | null;
391
+ id: string;
392
+ pickup_date: string;
393
+ pickup_moment_key: string;
394
+ soort: string;
395
+ };
396
+ Insert: {
397
+ carrier_id: string;
398
+ created_at?: string;
399
+ fingerprint?: string | null;
400
+ id?: string;
401
+ pickup_date: string;
402
+ pickup_moment_key: string;
403
+ soort?: string;
404
+ };
405
+ Update: {
406
+ carrier_id?: string;
407
+ created_at?: string;
408
+ fingerprint?: string | null;
409
+ id?: string;
410
+ pickup_date?: string;
411
+ pickup_moment_key?: string;
412
+ soort?: string;
413
+ };
414
+ Relationships: [
415
+ {
416
+ foreignKeyName: "afh_signup_meldingen_carrier_id_fkey";
417
+ columns: ["carrier_id"];
418
+ isOneToOne: false;
419
+ referencedRelation: "carriers";
420
+ referencedColumns: ["id"];
421
+ }
422
+ ];
423
+ };
386
424
  afhandeling_settings: {
387
425
  Row: {
388
426
  auto_print_delivery_note: boolean;
@@ -1659,6 +1697,7 @@ export type Database = {
1659
1697
  signup_deadline: string;
1660
1698
  source: string;
1661
1699
  version: number;
1700
+ zoektekst: string | null;
1662
1701
  };
1663
1702
  Insert: {
1664
1703
  carrier_id: string;
@@ -1679,6 +1718,7 @@ export type Database = {
1679
1718
  signup_deadline: string;
1680
1719
  source?: string;
1681
1720
  version?: number;
1721
+ zoektekst?: string | null;
1682
1722
  };
1683
1723
  Update: {
1684
1724
  carrier_id?: string;
@@ -1699,6 +1739,7 @@ export type Database = {
1699
1739
  signup_deadline?: string;
1700
1740
  source?: string;
1701
1741
  version?: number;
1742
+ zoektekst?: string | null;
1702
1743
  };
1703
1744
  Relationships: [
1704
1745
  {
@@ -1731,8 +1772,11 @@ export type Database = {
1731
1772
  pickup_weekdays: number[];
1732
1773
  service_cities: string[];
1733
1774
  service_countries: string[];
1775
+ service_everywhere: boolean;
1734
1776
  service_provinces: string[];
1777
+ signup_approval: string;
1735
1778
  signup_days_before_delivery: number;
1779
+ signup_method: string;
1736
1780
  signup_time_1: string | null;
1737
1781
  signup_time_2: string | null;
1738
1782
  sort_order: number;
@@ -1759,8 +1803,11 @@ export type Database = {
1759
1803
  pickup_weekdays?: number[];
1760
1804
  service_cities?: string[];
1761
1805
  service_countries?: string[];
1806
+ service_everywhere?: boolean;
1762
1807
  service_provinces?: string[];
1808
+ signup_approval?: string;
1763
1809
  signup_days_before_delivery?: number;
1810
+ signup_method?: string;
1764
1811
  signup_time_1?: string | null;
1765
1812
  signup_time_2?: string | null;
1766
1813
  sort_order?: number;
@@ -1787,8 +1834,11 @@ export type Database = {
1787
1834
  pickup_weekdays?: number[];
1788
1835
  service_cities?: string[];
1789
1836
  service_countries?: string[];
1837
+ service_everywhere?: boolean;
1790
1838
  service_provinces?: string[];
1839
+ signup_approval?: string;
1791
1840
  signup_days_before_delivery?: number;
1841
+ signup_method?: string;
1792
1842
  signup_time_1?: string | null;
1793
1843
  signup_time_2?: string | null;
1794
1844
  sort_order?: number;
@@ -2709,6 +2759,57 @@ export type Database = {
2709
2759
  };
2710
2760
  Relationships: [];
2711
2761
  };
2762
+ customer_fust_stickers: {
2763
+ Row: {
2764
+ content_hash: string | null;
2765
+ created_at: string;
2766
+ customer_key: string;
2767
+ file_name: string;
2768
+ file_path: string;
2769
+ file_size: number | null;
2770
+ height_mm: number | null;
2771
+ id: string;
2772
+ mime_type: string | null;
2773
+ source: string;
2774
+ trade_item_key: string;
2775
+ updated_at: string;
2776
+ uploaded_by: string | null;
2777
+ width_mm: number | null;
2778
+ };
2779
+ Insert: {
2780
+ content_hash?: string | null;
2781
+ created_at?: string;
2782
+ customer_key: string;
2783
+ file_name: string;
2784
+ file_path: string;
2785
+ file_size?: number | null;
2786
+ height_mm?: number | null;
2787
+ id?: string;
2788
+ mime_type?: string | null;
2789
+ source?: string;
2790
+ trade_item_key: string;
2791
+ updated_at?: string;
2792
+ uploaded_by?: string | null;
2793
+ width_mm?: number | null;
2794
+ };
2795
+ Update: {
2796
+ content_hash?: string | null;
2797
+ created_at?: string;
2798
+ customer_key?: string;
2799
+ file_name?: string;
2800
+ file_path?: string;
2801
+ file_size?: number | null;
2802
+ height_mm?: number | null;
2803
+ id?: string;
2804
+ mime_type?: string | null;
2805
+ source?: string;
2806
+ trade_item_key?: string;
2807
+ updated_at?: string;
2808
+ uploaded_by?: string | null;
2809
+ width_mm?: number | null;
2810
+ };
2811
+ Relationships: [];
2812
+ };
2712
2813
  customer_logistics_strategy: {
2713
2814
  Row: {
2714
2815
  created_at: string;
@@ -3044,6 +3145,8 @@ export type Database = {
3044
3145
  Row: {
3045
3146
  created_at: string;
3046
3147
  customer_key: string;
3148
+ fust_height_mm: number | null;
3149
+ fust_width_mm: number | null;
3047
3150
  height_mm: number;
3048
3151
  updated_at: string;
3049
3152
  width_mm: number;
@@ -3051,6 +3154,8 @@ export type Database = {
3051
3154
  Insert: {
3052
3155
  created_at?: string;
3053
3156
  customer_key: string;
3157
+ fust_height_mm?: number | null;
3158
+ fust_width_mm?: number | null;
3054
3159
  height_mm?: number;
3055
3160
  updated_at?: string;
3056
3161
  width_mm?: number;
@@ -3058,6 +3163,8 @@ export type Database = {
3058
3163
  Update: {
3059
3164
  created_at?: string;
3060
3165
  customer_key?: string;
3166
+ fust_height_mm?: number | null;
3167
+ fust_width_mm?: number | null;
3061
3168
  height_mm?: number;
3062
3169
  updated_at?: string;
3063
3170
  width_mm?: number;
@@ -11809,6 +11916,7 @@ export type Database = {
11809
11916
  last_send_outbox_id: string | null;
11810
11917
  merged_into: string | null;
11811
11918
  note: string | null;
11919
+ note_important: boolean;
11812
11920
  paid_at: string | null;
11813
11921
  payment_term_days: number;
11814
11922
  reference: string | null;
@@ -11848,6 +11956,7 @@ export type Database = {
11848
11956
  last_send_outbox_id?: string | null;
11849
11957
  merged_into?: string | null;
11850
11958
  note?: string | null;
11959
+ note_important?: boolean;
11851
11960
  paid_at?: string | null;
11852
11961
  payment_term_days?: number;
11853
11962
  reference?: string | null;
@@ -11887,6 +11996,7 @@ export type Database = {
11887
11996
  last_send_outbox_id?: string | null;
11888
11997
  merged_into?: string | null;
11889
11998
  note?: string | null;
11999
+ note_important?: boolean;
11890
12000
  paid_at?: string | null;
11891
12001
  payment_term_days?: number;
11892
12002
  reference?: string | null;
@@ -13588,6 +13698,7 @@ export type Database = {
13588
13698
  max_orders: number | null;
13589
13699
  max_weight_kg: number | null;
13590
13700
  name: string;
13701
+ overstek_cm: number;
13591
13702
  sort_order: number;
13592
13703
  updated_at: string;
13593
13704
  };
@@ -13609,6 +13720,7 @@ export type Database = {
13609
13720
  max_orders?: number | null;
13610
13721
  max_weight_kg?: number | null;
13611
13722
  name: string;
13723
+ overstek_cm?: number;
13612
13724
  sort_order?: number;
13613
13725
  updated_at?: string;
13614
13726
  };
@@ -13630,6 +13742,7 @@ export type Database = {
13630
13742
  max_orders?: number | null;
13631
13743
  max_weight_kg?: number | null;
13632
13744
  name?: string;
13745
+ overstek_cm?: number;
13633
13746
  sort_order?: number;
13634
13747
  updated_at?: string;
13635
13748
  };
@@ -14004,6 +14117,27 @@ export type Database = {
14004
14117
  };
14005
14118
  Relationships: [];
14006
14119
  };
14120
+ logistics_backfill_uitzondering: {
14121
+ Row: {
14122
+ door: string | null;
14123
+ op: string;
14124
+ order_id: string;
14125
+ reden: string | null;
14126
+ };
14127
+ Insert: {
14128
+ door?: string | null;
14129
+ op?: string;
14130
+ order_id: string;
14131
+ reden?: string | null;
14132
+ };
14133
+ Update: {
14134
+ door?: string | null;
14135
+ op?: string;
14136
+ order_id?: string;
14137
+ reden?: string | null;
14138
+ };
14139
+ Relationships: [];
14140
+ };
14007
14141
  logistics_base_url_checks: {
14008
14142
  Row: {
14009
14143
  candidate_host: string | null;
@@ -15154,6 +15288,45 @@ export type Database = {
15154
15288
  };
15155
15289
  Relationships: [];
15156
15290
  };
15291
+ logistics_laag_bevestigingen: {
15292
+ Row: {
15293
+ berekend: number | null;
15294
+ bevestigd_door: string | null;
15295
+ bevestigd_op: string;
15296
+ created_at: string;
15297
+ fust_sleutel: string;
15298
+ fusten_per_laag: number;
15299
+ id: string;
15300
+ ladingdrager_code: string;
15301
+ product_id: string;
15302
+ updated_at: string;
15303
+ };
15304
+ Insert: {
15305
+ berekend?: number | null;
15306
+ bevestigd_door?: string | null;
15307
+ bevestigd_op?: string;
15308
+ created_at?: string;
15309
+ fust_sleutel: string;
15310
+ fusten_per_laag: number;
15311
+ id?: string;
15312
+ ladingdrager_code: string;
15313
+ product_id: string;
15314
+ updated_at?: string;
15315
+ };
15316
+ Update: {
15317
+ berekend?: number | null;
15318
+ bevestigd_door?: string | null;
15319
+ bevestigd_op?: string;
15320
+ created_at?: string;
15321
+ fust_sleutel?: string;
15322
+ fusten_per_laag?: number;
15323
+ id?: string;
15324
+ ladingdrager_code?: string;
15325
+ product_id?: string;
15326
+ updated_at?: string;
15327
+ };
15328
+ Relationships: [];
15329
+ };
15157
15330
  logistics_layer_override_log: {
15158
15331
  Row: {
15159
15332
  cart_id: string;
@@ -15184,134 +15357,2087 @@ export type Database = {
15184
15357
  };
15185
15358
  Relationships: [];
15186
15359
  };
15187
- logistics_merge_herstel_log: {
15188
- Row: {
15189
- categorie: string;
15190
- details: Json | null;
15191
- hersteld_at: string;
15192
- kept_order_id: string | null;
15193
- merged_order_id: string;
15194
- regels_terug: number;
15195
- };
15196
- Insert: {
15197
- categorie: string;
15198
- details?: Json | null;
15199
- hersteld_at?: string;
15200
- kept_order_id?: string | null;
15201
- merged_order_id: string;
15202
- regels_terug?: number;
15203
- };
15204
- Update: {
15205
- categorie?: string;
15206
- details?: Json | null;
15207
- hersteld_at?: string;
15208
- kept_order_id?: string | null;
15209
- merged_order_id?: string;
15210
- regels_terug?: number;
15211
- };
15212
- Relationships: [];
15213
- };
15214
- logistics_merge_meldingen: {
15360
+ logistics_logboek: {
15215
15361
  Row: {
15216
- aantal: number | null;
15362
+ actor: string | null;
15363
+ attempts: number | null;
15364
+ calc: Json | null;
15365
+ cart_ref: string | null;
15217
15366
  created_at: string;
15218
- fout: string | null;
15219
- group_key: string | null;
15367
+ db_action: string | null;
15368
+ db_new: Json | null;
15369
+ db_old: Json | null;
15370
+ db_record: string | null;
15371
+ db_table: string | null;
15372
+ decision: string | null;
15373
+ duration_ms: number | null;
15374
+ error: string | null;
15375
+ error_class: string | null;
15376
+ external_action: string | null;
15377
+ external_ref: string | null;
15378
+ external_response: Json | null;
15379
+ external_status: string | null;
15380
+ external_system: string | null;
15220
15381
  id: string;
15221
- order_id: string | null;
15222
- soort: string;
15382
+ input: Json | null;
15383
+ next_attempt_at: string | null;
15384
+ next_step: string | null;
15385
+ node_id: string | null;
15386
+ order_ref: string | null;
15387
+ order_source: string | null;
15388
+ output: Json | null;
15389
+ phase: string | null;
15390
+ reads: Json | null;
15391
+ reason: string | null;
15392
+ rule: string | null;
15393
+ slip_ref: string | null;
15394
+ status: string | null;
15395
+ step: string | null;
15396
+ trace_id: string | null;
15397
+ values_used: Json | null;
15398
+ vervalt_op: string;
15223
15399
  };
15224
15400
  Insert: {
15225
- aantal?: number | null;
15401
+ actor?: string | null;
15402
+ attempts?: number | null;
15403
+ calc?: Json | null;
15404
+ cart_ref?: string | null;
15226
15405
  created_at?: string;
15227
- fout?: string | null;
15228
- group_key?: string | null;
15406
+ db_action?: string | null;
15407
+ db_new?: Json | null;
15408
+ db_old?: Json | null;
15409
+ db_record?: string | null;
15410
+ db_table?: string | null;
15411
+ decision?: string | null;
15412
+ duration_ms?: number | null;
15413
+ error?: string | null;
15414
+ error_class?: string | null;
15415
+ external_action?: string | null;
15416
+ external_ref?: string | null;
15417
+ external_response?: Json | null;
15418
+ external_status?: string | null;
15419
+ external_system?: string | null;
15229
15420
  id?: string;
15230
- order_id?: string | null;
15231
- soort: string;
15421
+ input?: Json | null;
15422
+ next_attempt_at?: string | null;
15423
+ next_step?: string | null;
15424
+ node_id?: string | null;
15425
+ order_ref?: string | null;
15426
+ order_source?: string | null;
15427
+ output?: Json | null;
15428
+ phase?: string | null;
15429
+ reads?: Json | null;
15430
+ reason?: string | null;
15431
+ rule?: string | null;
15432
+ slip_ref?: string | null;
15433
+ status?: string | null;
15434
+ step?: string | null;
15435
+ trace_id?: string | null;
15436
+ values_used?: Json | null;
15437
+ vervalt_op: string;
15232
15438
  };
15233
15439
  Update: {
15234
- aantal?: number | null;
15440
+ actor?: string | null;
15441
+ attempts?: number | null;
15442
+ calc?: Json | null;
15443
+ cart_ref?: string | null;
15235
15444
  created_at?: string;
15236
- fout?: string | null;
15237
- group_key?: string | null;
15445
+ db_action?: string | null;
15446
+ db_new?: Json | null;
15447
+ db_old?: Json | null;
15448
+ db_record?: string | null;
15449
+ db_table?: string | null;
15450
+ decision?: string | null;
15451
+ duration_ms?: number | null;
15452
+ error?: string | null;
15453
+ error_class?: string | null;
15454
+ external_action?: string | null;
15455
+ external_ref?: string | null;
15456
+ external_response?: Json | null;
15457
+ external_status?: string | null;
15458
+ external_system?: string | null;
15238
15459
  id?: string;
15239
- order_id?: string | null;
15240
- soort?: string;
15460
+ input?: Json | null;
15461
+ next_attempt_at?: string | null;
15462
+ next_step?: string | null;
15463
+ node_id?: string | null;
15464
+ order_ref?: string | null;
15465
+ order_source?: string | null;
15466
+ output?: Json | null;
15467
+ phase?: string | null;
15468
+ reads?: Json | null;
15469
+ reason?: string | null;
15470
+ rule?: string | null;
15471
+ slip_ref?: string | null;
15472
+ status?: string | null;
15473
+ step?: string | null;
15474
+ trace_id?: string | null;
15475
+ values_used?: Json | null;
15476
+ vervalt_op?: string;
15241
15477
  };
15242
15478
  Relationships: [];
15243
15479
  };
15244
- logistics_opening_exceptions: {
15480
+ logistics_logboek_2026w46: {
15245
15481
  Row: {
15246
- closes: string | null;
15482
+ actor: string | null;
15483
+ attempts: number | null;
15484
+ calc: Json | null;
15485
+ cart_ref: string | null;
15247
15486
  created_at: string;
15248
- day: string;
15487
+ db_action: string | null;
15488
+ db_new: Json | null;
15489
+ db_old: Json | null;
15490
+ db_record: string | null;
15491
+ db_table: string | null;
15492
+ decision: string | null;
15493
+ duration_ms: number | null;
15494
+ error: string | null;
15495
+ error_class: string | null;
15496
+ external_action: string | null;
15497
+ external_ref: string | null;
15498
+ external_response: Json | null;
15499
+ external_status: string | null;
15500
+ external_system: string | null;
15249
15501
  id: string;
15250
- is_closed: boolean;
15251
- note: string | null;
15252
- opens: string | null;
15502
+ input: Json | null;
15503
+ next_attempt_at: string | null;
15504
+ next_step: string | null;
15505
+ node_id: string | null;
15506
+ order_ref: string | null;
15507
+ order_source: string | null;
15508
+ output: Json | null;
15509
+ phase: string | null;
15510
+ reads: Json | null;
15511
+ reason: string | null;
15512
+ rule: string | null;
15513
+ slip_ref: string | null;
15514
+ status: string | null;
15515
+ step: string | null;
15516
+ trace_id: string | null;
15517
+ values_used: Json | null;
15518
+ vervalt_op: string;
15253
15519
  };
15254
15520
  Insert: {
15255
- closes?: string | null;
15521
+ actor?: string | null;
15522
+ attempts?: number | null;
15523
+ calc?: Json | null;
15524
+ cart_ref?: string | null;
15256
15525
  created_at?: string;
15257
- day: string;
15526
+ db_action?: string | null;
15527
+ db_new?: Json | null;
15528
+ db_old?: Json | null;
15529
+ db_record?: string | null;
15530
+ db_table?: string | null;
15531
+ decision?: string | null;
15532
+ duration_ms?: number | null;
15533
+ error?: string | null;
15534
+ error_class?: string | null;
15535
+ external_action?: string | null;
15536
+ external_ref?: string | null;
15537
+ external_response?: Json | null;
15538
+ external_status?: string | null;
15539
+ external_system?: string | null;
15258
15540
  id?: string;
15259
- is_closed?: boolean;
15260
- note?: string | null;
15261
- opens?: string | null;
15541
+ input?: Json | null;
15542
+ next_attempt_at?: string | null;
15543
+ next_step?: string | null;
15544
+ node_id?: string | null;
15545
+ order_ref?: string | null;
15546
+ order_source?: string | null;
15547
+ output?: Json | null;
15548
+ phase?: string | null;
15549
+ reads?: Json | null;
15550
+ reason?: string | null;
15551
+ rule?: string | null;
15552
+ slip_ref?: string | null;
15553
+ status?: string | null;
15554
+ step?: string | null;
15555
+ trace_id?: string | null;
15556
+ values_used?: Json | null;
15557
+ vervalt_op: string;
15262
15558
  };
15263
15559
  Update: {
15264
- closes?: string | null;
15560
+ actor?: string | null;
15561
+ attempts?: number | null;
15562
+ calc?: Json | null;
15563
+ cart_ref?: string | null;
15265
15564
  created_at?: string;
15266
- day?: string;
15565
+ db_action?: string | null;
15566
+ db_new?: Json | null;
15567
+ db_old?: Json | null;
15568
+ db_record?: string | null;
15569
+ db_table?: string | null;
15570
+ decision?: string | null;
15571
+ duration_ms?: number | null;
15572
+ error?: string | null;
15573
+ error_class?: string | null;
15574
+ external_action?: string | null;
15575
+ external_ref?: string | null;
15576
+ external_response?: Json | null;
15577
+ external_status?: string | null;
15578
+ external_system?: string | null;
15267
15579
  id?: string;
15268
- is_closed?: boolean;
15269
- note?: string | null;
15270
- opens?: string | null;
15580
+ input?: Json | null;
15581
+ next_attempt_at?: string | null;
15582
+ next_step?: string | null;
15583
+ node_id?: string | null;
15584
+ order_ref?: string | null;
15585
+ order_source?: string | null;
15586
+ output?: Json | null;
15587
+ phase?: string | null;
15588
+ reads?: Json | null;
15589
+ reason?: string | null;
15590
+ rule?: string | null;
15591
+ slip_ref?: string | null;
15592
+ status?: string | null;
15593
+ step?: string | null;
15594
+ trace_id?: string | null;
15595
+ values_used?: Json | null;
15596
+ vervalt_op?: string;
15271
15597
  };
15272
15598
  Relationships: [];
15273
15599
  };
15274
- logistics_opening_hours: {
15600
+ logistics_logboek_2026w47: {
15275
15601
  Row: {
15276
- closes: string;
15602
+ actor: string | null;
15603
+ attempts: number | null;
15604
+ calc: Json | null;
15605
+ cart_ref: string | null;
15277
15606
  created_at: string;
15607
+ db_action: string | null;
15608
+ db_new: Json | null;
15609
+ db_old: Json | null;
15610
+ db_record: string | null;
15611
+ db_table: string | null;
15612
+ decision: string | null;
15613
+ duration_ms: number | null;
15614
+ error: string | null;
15615
+ error_class: string | null;
15616
+ external_action: string | null;
15617
+ external_ref: string | null;
15618
+ external_response: Json | null;
15619
+ external_status: string | null;
15620
+ external_system: string | null;
15278
15621
  id: string;
15279
- is_active: boolean;
15280
- note: string | null;
15281
- opens: string;
15282
- weekday: number;
15622
+ input: Json | null;
15623
+ next_attempt_at: string | null;
15624
+ next_step: string | null;
15625
+ node_id: string | null;
15626
+ order_ref: string | null;
15627
+ order_source: string | null;
15628
+ output: Json | null;
15629
+ phase: string | null;
15630
+ reads: Json | null;
15631
+ reason: string | null;
15632
+ rule: string | null;
15633
+ slip_ref: string | null;
15634
+ status: string | null;
15635
+ step: string | null;
15636
+ trace_id: string | null;
15637
+ values_used: Json | null;
15638
+ vervalt_op: string;
15283
15639
  };
15284
15640
  Insert: {
15285
- closes: string;
15641
+ actor?: string | null;
15642
+ attempts?: number | null;
15643
+ calc?: Json | null;
15644
+ cart_ref?: string | null;
15286
15645
  created_at?: string;
15646
+ db_action?: string | null;
15647
+ db_new?: Json | null;
15648
+ db_old?: Json | null;
15649
+ db_record?: string | null;
15650
+ db_table?: string | null;
15651
+ decision?: string | null;
15652
+ duration_ms?: number | null;
15653
+ error?: string | null;
15654
+ error_class?: string | null;
15655
+ external_action?: string | null;
15656
+ external_ref?: string | null;
15657
+ external_response?: Json | null;
15658
+ external_status?: string | null;
15659
+ external_system?: string | null;
15287
15660
  id?: string;
15288
- is_active?: boolean;
15289
- note?: string | null;
15290
- opens: string;
15291
- weekday: number;
15661
+ input?: Json | null;
15662
+ next_attempt_at?: string | null;
15663
+ next_step?: string | null;
15664
+ node_id?: string | null;
15665
+ order_ref?: string | null;
15666
+ order_source?: string | null;
15667
+ output?: Json | null;
15668
+ phase?: string | null;
15669
+ reads?: Json | null;
15670
+ reason?: string | null;
15671
+ rule?: string | null;
15672
+ slip_ref?: string | null;
15673
+ status?: string | null;
15674
+ step?: string | null;
15675
+ trace_id?: string | null;
15676
+ values_used?: Json | null;
15677
+ vervalt_op: string;
15292
15678
  };
15293
15679
  Update: {
15294
- closes?: string;
15680
+ actor?: string | null;
15681
+ attempts?: number | null;
15682
+ calc?: Json | null;
15683
+ cart_ref?: string | null;
15295
15684
  created_at?: string;
15685
+ db_action?: string | null;
15686
+ db_new?: Json | null;
15687
+ db_old?: Json | null;
15688
+ db_record?: string | null;
15689
+ db_table?: string | null;
15690
+ decision?: string | null;
15691
+ duration_ms?: number | null;
15692
+ error?: string | null;
15693
+ error_class?: string | null;
15694
+ external_action?: string | null;
15695
+ external_ref?: string | null;
15696
+ external_response?: Json | null;
15697
+ external_status?: string | null;
15698
+ external_system?: string | null;
15296
15699
  id?: string;
15297
- is_active?: boolean;
15298
- note?: string | null;
15299
- opens?: string;
15300
- weekday?: number;
15700
+ input?: Json | null;
15701
+ next_attempt_at?: string | null;
15702
+ next_step?: string | null;
15703
+ node_id?: string | null;
15704
+ order_ref?: string | null;
15705
+ order_source?: string | null;
15706
+ output?: Json | null;
15707
+ phase?: string | null;
15708
+ reads?: Json | null;
15709
+ reason?: string | null;
15710
+ rule?: string | null;
15711
+ slip_ref?: string | null;
15712
+ status?: string | null;
15713
+ step?: string | null;
15714
+ trace_id?: string | null;
15715
+ values_used?: Json | null;
15716
+ vervalt_op?: string;
15301
15717
  };
15302
15718
  Relationships: [];
15303
15719
  };
15304
- logistics_order_change_fp: {
15720
+ logistics_logboek_2026w48: {
15305
15721
  Row: {
15306
- fp: string | null;
15307
- frozen_fp: string | null;
15308
- order_id: string;
15309
- updated_at: string;
15310
- };
15311
- Insert: {
15312
- fp?: string | null;
15313
- frozen_fp?: string | null;
15314
- order_id: string;
15722
+ actor: string | null;
15723
+ attempts: number | null;
15724
+ calc: Json | null;
15725
+ cart_ref: string | null;
15726
+ created_at: string;
15727
+ db_action: string | null;
15728
+ db_new: Json | null;
15729
+ db_old: Json | null;
15730
+ db_record: string | null;
15731
+ db_table: string | null;
15732
+ decision: string | null;
15733
+ duration_ms: number | null;
15734
+ error: string | null;
15735
+ error_class: string | null;
15736
+ external_action: string | null;
15737
+ external_ref: string | null;
15738
+ external_response: Json | null;
15739
+ external_status: string | null;
15740
+ external_system: string | null;
15741
+ id: string;
15742
+ input: Json | null;
15743
+ next_attempt_at: string | null;
15744
+ next_step: string | null;
15745
+ node_id: string | null;
15746
+ order_ref: string | null;
15747
+ order_source: string | null;
15748
+ output: Json | null;
15749
+ phase: string | null;
15750
+ reads: Json | null;
15751
+ reason: string | null;
15752
+ rule: string | null;
15753
+ slip_ref: string | null;
15754
+ status: string | null;
15755
+ step: string | null;
15756
+ trace_id: string | null;
15757
+ values_used: Json | null;
15758
+ vervalt_op: string;
15759
+ };
15760
+ Insert: {
15761
+ actor?: string | null;
15762
+ attempts?: number | null;
15763
+ calc?: Json | null;
15764
+ cart_ref?: string | null;
15765
+ created_at?: string;
15766
+ db_action?: string | null;
15767
+ db_new?: Json | null;
15768
+ db_old?: Json | null;
15769
+ db_record?: string | null;
15770
+ db_table?: string | null;
15771
+ decision?: string | null;
15772
+ duration_ms?: number | null;
15773
+ error?: string | null;
15774
+ error_class?: string | null;
15775
+ external_action?: string | null;
15776
+ external_ref?: string | null;
15777
+ external_response?: Json | null;
15778
+ external_status?: string | null;
15779
+ external_system?: string | null;
15780
+ id?: string;
15781
+ input?: Json | null;
15782
+ next_attempt_at?: string | null;
15783
+ next_step?: string | null;
15784
+ node_id?: string | null;
15785
+ order_ref?: string | null;
15786
+ order_source?: string | null;
15787
+ output?: Json | null;
15788
+ phase?: string | null;
15789
+ reads?: Json | null;
15790
+ reason?: string | null;
15791
+ rule?: string | null;
15792
+ slip_ref?: string | null;
15793
+ status?: string | null;
15794
+ step?: string | null;
15795
+ trace_id?: string | null;
15796
+ values_used?: Json | null;
15797
+ vervalt_op: string;
15798
+ };
15799
+ Update: {
15800
+ actor?: string | null;
15801
+ attempts?: number | null;
15802
+ calc?: Json | null;
15803
+ cart_ref?: string | null;
15804
+ created_at?: string;
15805
+ db_action?: string | null;
15806
+ db_new?: Json | null;
15807
+ db_old?: Json | null;
15808
+ db_record?: string | null;
15809
+ db_table?: string | null;
15810
+ decision?: string | null;
15811
+ duration_ms?: number | null;
15812
+ error?: string | null;
15813
+ error_class?: string | null;
15814
+ external_action?: string | null;
15815
+ external_ref?: string | null;
15816
+ external_response?: Json | null;
15817
+ external_status?: string | null;
15818
+ external_system?: string | null;
15819
+ id?: string;
15820
+ input?: Json | null;
15821
+ next_attempt_at?: string | null;
15822
+ next_step?: string | null;
15823
+ node_id?: string | null;
15824
+ order_ref?: string | null;
15825
+ order_source?: string | null;
15826
+ output?: Json | null;
15827
+ phase?: string | null;
15828
+ reads?: Json | null;
15829
+ reason?: string | null;
15830
+ rule?: string | null;
15831
+ slip_ref?: string | null;
15832
+ status?: string | null;
15833
+ step?: string | null;
15834
+ trace_id?: string | null;
15835
+ values_used?: Json | null;
15836
+ vervalt_op?: string;
15837
+ };
15838
+ Relationships: [];
15839
+ };
15840
+ logistics_logboek_2026w49: {
15841
+ Row: {
15842
+ actor: string | null;
15843
+ attempts: number | null;
15844
+ calc: Json | null;
15845
+ cart_ref: string | null;
15846
+ created_at: string;
15847
+ db_action: string | null;
15848
+ db_new: Json | null;
15849
+ db_old: Json | null;
15850
+ db_record: string | null;
15851
+ db_table: string | null;
15852
+ decision: string | null;
15853
+ duration_ms: number | null;
15854
+ error: string | null;
15855
+ error_class: string | null;
15856
+ external_action: string | null;
15857
+ external_ref: string | null;
15858
+ external_response: Json | null;
15859
+ external_status: string | null;
15860
+ external_system: string | null;
15861
+ id: string;
15862
+ input: Json | null;
15863
+ next_attempt_at: string | null;
15864
+ next_step: string | null;
15865
+ node_id: string | null;
15866
+ order_ref: string | null;
15867
+ order_source: string | null;
15868
+ output: Json | null;
15869
+ phase: string | null;
15870
+ reads: Json | null;
15871
+ reason: string | null;
15872
+ rule: string | null;
15873
+ slip_ref: string | null;
15874
+ status: string | null;
15875
+ step: string | null;
15876
+ trace_id: string | null;
15877
+ values_used: Json | null;
15878
+ vervalt_op: string;
15879
+ };
15880
+ Insert: {
15881
+ actor?: string | null;
15882
+ attempts?: number | null;
15883
+ calc?: Json | null;
15884
+ cart_ref?: string | null;
15885
+ created_at?: string;
15886
+ db_action?: string | null;
15887
+ db_new?: Json | null;
15888
+ db_old?: Json | null;
15889
+ db_record?: string | null;
15890
+ db_table?: string | null;
15891
+ decision?: string | null;
15892
+ duration_ms?: number | null;
15893
+ error?: string | null;
15894
+ error_class?: string | null;
15895
+ external_action?: string | null;
15896
+ external_ref?: string | null;
15897
+ external_response?: Json | null;
15898
+ external_status?: string | null;
15899
+ external_system?: string | null;
15900
+ id?: string;
15901
+ input?: Json | null;
15902
+ next_attempt_at?: string | null;
15903
+ next_step?: string | null;
15904
+ node_id?: string | null;
15905
+ order_ref?: string | null;
15906
+ order_source?: string | null;
15907
+ output?: Json | null;
15908
+ phase?: string | null;
15909
+ reads?: Json | null;
15910
+ reason?: string | null;
15911
+ rule?: string | null;
15912
+ slip_ref?: string | null;
15913
+ status?: string | null;
15914
+ step?: string | null;
15915
+ trace_id?: string | null;
15916
+ values_used?: Json | null;
15917
+ vervalt_op: string;
15918
+ };
15919
+ Update: {
15920
+ actor?: string | null;
15921
+ attempts?: number | null;
15922
+ calc?: Json | null;
15923
+ cart_ref?: string | null;
15924
+ created_at?: string;
15925
+ db_action?: string | null;
15926
+ db_new?: Json | null;
15927
+ db_old?: Json | null;
15928
+ db_record?: string | null;
15929
+ db_table?: string | null;
15930
+ decision?: string | null;
15931
+ duration_ms?: number | null;
15932
+ error?: string | null;
15933
+ error_class?: string | null;
15934
+ external_action?: string | null;
15935
+ external_ref?: string | null;
15936
+ external_response?: Json | null;
15937
+ external_status?: string | null;
15938
+ external_system?: string | null;
15939
+ id?: string;
15940
+ input?: Json | null;
15941
+ next_attempt_at?: string | null;
15942
+ next_step?: string | null;
15943
+ node_id?: string | null;
15944
+ order_ref?: string | null;
15945
+ order_source?: string | null;
15946
+ output?: Json | null;
15947
+ phase?: string | null;
15948
+ reads?: Json | null;
15949
+ reason?: string | null;
15950
+ rule?: string | null;
15951
+ slip_ref?: string | null;
15952
+ status?: string | null;
15953
+ step?: string | null;
15954
+ trace_id?: string | null;
15955
+ values_used?: Json | null;
15956
+ vervalt_op?: string;
15957
+ };
15958
+ Relationships: [];
15959
+ };
15960
+ logistics_logboek_2026w50: {
15961
+ Row: {
15962
+ actor: string | null;
15963
+ attempts: number | null;
15964
+ calc: Json | null;
15965
+ cart_ref: string | null;
15966
+ created_at: string;
15967
+ db_action: string | null;
15968
+ db_new: Json | null;
15969
+ db_old: Json | null;
15970
+ db_record: string | null;
15971
+ db_table: string | null;
15972
+ decision: string | null;
15973
+ duration_ms: number | null;
15974
+ error: string | null;
15975
+ error_class: string | null;
15976
+ external_action: string | null;
15977
+ external_ref: string | null;
15978
+ external_response: Json | null;
15979
+ external_status: string | null;
15980
+ external_system: string | null;
15981
+ id: string;
15982
+ input: Json | null;
15983
+ next_attempt_at: string | null;
15984
+ next_step: string | null;
15985
+ node_id: string | null;
15986
+ order_ref: string | null;
15987
+ order_source: string | null;
15988
+ output: Json | null;
15989
+ phase: string | null;
15990
+ reads: Json | null;
15991
+ reason: string | null;
15992
+ rule: string | null;
15993
+ slip_ref: string | null;
15994
+ status: string | null;
15995
+ step: string | null;
15996
+ trace_id: string | null;
15997
+ values_used: Json | null;
15998
+ vervalt_op: string;
15999
+ };
16000
+ Insert: {
16001
+ actor?: string | null;
16002
+ attempts?: number | null;
16003
+ calc?: Json | null;
16004
+ cart_ref?: string | null;
16005
+ created_at?: string;
16006
+ db_action?: string | null;
16007
+ db_new?: Json | null;
16008
+ db_old?: Json | null;
16009
+ db_record?: string | null;
16010
+ db_table?: string | null;
16011
+ decision?: string | null;
16012
+ duration_ms?: number | null;
16013
+ error?: string | null;
16014
+ error_class?: string | null;
16015
+ external_action?: string | null;
16016
+ external_ref?: string | null;
16017
+ external_response?: Json | null;
16018
+ external_status?: string | null;
16019
+ external_system?: string | null;
16020
+ id?: string;
16021
+ input?: Json | null;
16022
+ next_attempt_at?: string | null;
16023
+ next_step?: string | null;
16024
+ node_id?: string | null;
16025
+ order_ref?: string | null;
16026
+ order_source?: string | null;
16027
+ output?: Json | null;
16028
+ phase?: string | null;
16029
+ reads?: Json | null;
16030
+ reason?: string | null;
16031
+ rule?: string | null;
16032
+ slip_ref?: string | null;
16033
+ status?: string | null;
16034
+ step?: string | null;
16035
+ trace_id?: string | null;
16036
+ values_used?: Json | null;
16037
+ vervalt_op: string;
16038
+ };
16039
+ Update: {
16040
+ actor?: string | null;
16041
+ attempts?: number | null;
16042
+ calc?: Json | null;
16043
+ cart_ref?: string | null;
16044
+ created_at?: string;
16045
+ db_action?: string | null;
16046
+ db_new?: Json | null;
16047
+ db_old?: Json | null;
16048
+ db_record?: string | null;
16049
+ db_table?: string | null;
16050
+ decision?: string | null;
16051
+ duration_ms?: number | null;
16052
+ error?: string | null;
16053
+ error_class?: string | null;
16054
+ external_action?: string | null;
16055
+ external_ref?: string | null;
16056
+ external_response?: Json | null;
16057
+ external_status?: string | null;
16058
+ external_system?: string | null;
16059
+ id?: string;
16060
+ input?: Json | null;
16061
+ next_attempt_at?: string | null;
16062
+ next_step?: string | null;
16063
+ node_id?: string | null;
16064
+ order_ref?: string | null;
16065
+ order_source?: string | null;
16066
+ output?: Json | null;
16067
+ phase?: string | null;
16068
+ reads?: Json | null;
16069
+ reason?: string | null;
16070
+ rule?: string | null;
16071
+ slip_ref?: string | null;
16072
+ status?: string | null;
16073
+ step?: string | null;
16074
+ trace_id?: string | null;
16075
+ values_used?: Json | null;
16076
+ vervalt_op?: string;
16077
+ };
16078
+ Relationships: [];
16079
+ };
16080
+ logistics_logboek_2026w51: {
16081
+ Row: {
16082
+ actor: string | null;
16083
+ attempts: number | null;
16084
+ calc: Json | null;
16085
+ cart_ref: string | null;
16086
+ created_at: string;
16087
+ db_action: string | null;
16088
+ db_new: Json | null;
16089
+ db_old: Json | null;
16090
+ db_record: string | null;
16091
+ db_table: string | null;
16092
+ decision: string | null;
16093
+ duration_ms: number | null;
16094
+ error: string | null;
16095
+ error_class: string | null;
16096
+ external_action: string | null;
16097
+ external_ref: string | null;
16098
+ external_response: Json | null;
16099
+ external_status: string | null;
16100
+ external_system: string | null;
16101
+ id: string;
16102
+ input: Json | null;
16103
+ next_attempt_at: string | null;
16104
+ next_step: string | null;
16105
+ node_id: string | null;
16106
+ order_ref: string | null;
16107
+ order_source: string | null;
16108
+ output: Json | null;
16109
+ phase: string | null;
16110
+ reads: Json | null;
16111
+ reason: string | null;
16112
+ rule: string | null;
16113
+ slip_ref: string | null;
16114
+ status: string | null;
16115
+ step: string | null;
16116
+ trace_id: string | null;
16117
+ values_used: Json | null;
16118
+ vervalt_op: string;
16119
+ };
16120
+ Insert: {
16121
+ actor?: string | null;
16122
+ attempts?: number | null;
16123
+ calc?: Json | null;
16124
+ cart_ref?: string | null;
16125
+ created_at?: string;
16126
+ db_action?: string | null;
16127
+ db_new?: Json | null;
16128
+ db_old?: Json | null;
16129
+ db_record?: string | null;
16130
+ db_table?: string | null;
16131
+ decision?: string | null;
16132
+ duration_ms?: number | null;
16133
+ error?: string | null;
16134
+ error_class?: string | null;
16135
+ external_action?: string | null;
16136
+ external_ref?: string | null;
16137
+ external_response?: Json | null;
16138
+ external_status?: string | null;
16139
+ external_system?: string | null;
16140
+ id?: string;
16141
+ input?: Json | null;
16142
+ next_attempt_at?: string | null;
16143
+ next_step?: string | null;
16144
+ node_id?: string | null;
16145
+ order_ref?: string | null;
16146
+ order_source?: string | null;
16147
+ output?: Json | null;
16148
+ phase?: string | null;
16149
+ reads?: Json | null;
16150
+ reason?: string | null;
16151
+ rule?: string | null;
16152
+ slip_ref?: string | null;
16153
+ status?: string | null;
16154
+ step?: string | null;
16155
+ trace_id?: string | null;
16156
+ values_used?: Json | null;
16157
+ vervalt_op: string;
16158
+ };
16159
+ Update: {
16160
+ actor?: string | null;
16161
+ attempts?: number | null;
16162
+ calc?: Json | null;
16163
+ cart_ref?: string | null;
16164
+ created_at?: string;
16165
+ db_action?: string | null;
16166
+ db_new?: Json | null;
16167
+ db_old?: Json | null;
16168
+ db_record?: string | null;
16169
+ db_table?: string | null;
16170
+ decision?: string | null;
16171
+ duration_ms?: number | null;
16172
+ error?: string | null;
16173
+ error_class?: string | null;
16174
+ external_action?: string | null;
16175
+ external_ref?: string | null;
16176
+ external_response?: Json | null;
16177
+ external_status?: string | null;
16178
+ external_system?: string | null;
16179
+ id?: string;
16180
+ input?: Json | null;
16181
+ next_attempt_at?: string | null;
16182
+ next_step?: string | null;
16183
+ node_id?: string | null;
16184
+ order_ref?: string | null;
16185
+ order_source?: string | null;
16186
+ output?: Json | null;
16187
+ phase?: string | null;
16188
+ reads?: Json | null;
16189
+ reason?: string | null;
16190
+ rule?: string | null;
16191
+ slip_ref?: string | null;
16192
+ status?: string | null;
16193
+ step?: string | null;
16194
+ trace_id?: string | null;
16195
+ values_used?: Json | null;
16196
+ vervalt_op?: string;
16197
+ };
16198
+ Relationships: [];
16199
+ };
16200
+ logistics_logboek_2026w52: {
16201
+ Row: {
16202
+ actor: string | null;
16203
+ attempts: number | null;
16204
+ calc: Json | null;
16205
+ cart_ref: string | null;
16206
+ created_at: string;
16207
+ db_action: string | null;
16208
+ db_new: Json | null;
16209
+ db_old: Json | null;
16210
+ db_record: string | null;
16211
+ db_table: string | null;
16212
+ decision: string | null;
16213
+ duration_ms: number | null;
16214
+ error: string | null;
16215
+ error_class: string | null;
16216
+ external_action: string | null;
16217
+ external_ref: string | null;
16218
+ external_response: Json | null;
16219
+ external_status: string | null;
16220
+ external_system: string | null;
16221
+ id: string;
16222
+ input: Json | null;
16223
+ next_attempt_at: string | null;
16224
+ next_step: string | null;
16225
+ node_id: string | null;
16226
+ order_ref: string | null;
16227
+ order_source: string | null;
16228
+ output: Json | null;
16229
+ phase: string | null;
16230
+ reads: Json | null;
16231
+ reason: string | null;
16232
+ rule: string | null;
16233
+ slip_ref: string | null;
16234
+ status: string | null;
16235
+ step: string | null;
16236
+ trace_id: string | null;
16237
+ values_used: Json | null;
16238
+ vervalt_op: string;
16239
+ };
16240
+ Insert: {
16241
+ actor?: string | null;
16242
+ attempts?: number | null;
16243
+ calc?: Json | null;
16244
+ cart_ref?: string | null;
16245
+ created_at?: string;
16246
+ db_action?: string | null;
16247
+ db_new?: Json | null;
16248
+ db_old?: Json | null;
16249
+ db_record?: string | null;
16250
+ db_table?: string | null;
16251
+ decision?: string | null;
16252
+ duration_ms?: number | null;
16253
+ error?: string | null;
16254
+ error_class?: string | null;
16255
+ external_action?: string | null;
16256
+ external_ref?: string | null;
16257
+ external_response?: Json | null;
16258
+ external_status?: string | null;
16259
+ external_system?: string | null;
16260
+ id?: string;
16261
+ input?: Json | null;
16262
+ next_attempt_at?: string | null;
16263
+ next_step?: string | null;
16264
+ node_id?: string | null;
16265
+ order_ref?: string | null;
16266
+ order_source?: string | null;
16267
+ output?: Json | null;
16268
+ phase?: string | null;
16269
+ reads?: Json | null;
16270
+ reason?: string | null;
16271
+ rule?: string | null;
16272
+ slip_ref?: string | null;
16273
+ status?: string | null;
16274
+ step?: string | null;
16275
+ trace_id?: string | null;
16276
+ values_used?: Json | null;
16277
+ vervalt_op: string;
16278
+ };
16279
+ Update: {
16280
+ actor?: string | null;
16281
+ attempts?: number | null;
16282
+ calc?: Json | null;
16283
+ cart_ref?: string | null;
16284
+ created_at?: string;
16285
+ db_action?: string | null;
16286
+ db_new?: Json | null;
16287
+ db_old?: Json | null;
16288
+ db_record?: string | null;
16289
+ db_table?: string | null;
16290
+ decision?: string | null;
16291
+ duration_ms?: number | null;
16292
+ error?: string | null;
16293
+ error_class?: string | null;
16294
+ external_action?: string | null;
16295
+ external_ref?: string | null;
16296
+ external_response?: Json | null;
16297
+ external_status?: string | null;
16298
+ external_system?: string | null;
16299
+ id?: string;
16300
+ input?: Json | null;
16301
+ next_attempt_at?: string | null;
16302
+ next_step?: string | null;
16303
+ node_id?: string | null;
16304
+ order_ref?: string | null;
16305
+ order_source?: string | null;
16306
+ output?: Json | null;
16307
+ phase?: string | null;
16308
+ reads?: Json | null;
16309
+ reason?: string | null;
16310
+ rule?: string | null;
16311
+ slip_ref?: string | null;
16312
+ status?: string | null;
16313
+ step?: string | null;
16314
+ trace_id?: string | null;
16315
+ values_used?: Json | null;
16316
+ vervalt_op?: string;
16317
+ };
16318
+ Relationships: [];
16319
+ };
16320
+ logistics_logboek_2026w53: {
16321
+ Row: {
16322
+ actor: string | null;
16323
+ attempts: number | null;
16324
+ calc: Json | null;
16325
+ cart_ref: string | null;
16326
+ created_at: string;
16327
+ db_action: string | null;
16328
+ db_new: Json | null;
16329
+ db_old: Json | null;
16330
+ db_record: string | null;
16331
+ db_table: string | null;
16332
+ decision: string | null;
16333
+ duration_ms: number | null;
16334
+ error: string | null;
16335
+ error_class: string | null;
16336
+ external_action: string | null;
16337
+ external_ref: string | null;
16338
+ external_response: Json | null;
16339
+ external_status: string | null;
16340
+ external_system: string | null;
16341
+ id: string;
16342
+ input: Json | null;
16343
+ next_attempt_at: string | null;
16344
+ next_step: string | null;
16345
+ node_id: string | null;
16346
+ order_ref: string | null;
16347
+ order_source: string | null;
16348
+ output: Json | null;
16349
+ phase: string | null;
16350
+ reads: Json | null;
16351
+ reason: string | null;
16352
+ rule: string | null;
16353
+ slip_ref: string | null;
16354
+ status: string | null;
16355
+ step: string | null;
16356
+ trace_id: string | null;
16357
+ values_used: Json | null;
16358
+ vervalt_op: string;
16359
+ };
16360
+ Insert: {
16361
+ actor?: string | null;
16362
+ attempts?: number | null;
16363
+ calc?: Json | null;
16364
+ cart_ref?: string | null;
16365
+ created_at?: string;
16366
+ db_action?: string | null;
16367
+ db_new?: Json | null;
16368
+ db_old?: Json | null;
16369
+ db_record?: string | null;
16370
+ db_table?: string | null;
16371
+ decision?: string | null;
16372
+ duration_ms?: number | null;
16373
+ error?: string | null;
16374
+ error_class?: string | null;
16375
+ external_action?: string | null;
16376
+ external_ref?: string | null;
16377
+ external_response?: Json | null;
16378
+ external_status?: string | null;
16379
+ external_system?: string | null;
16380
+ id?: string;
16381
+ input?: Json | null;
16382
+ next_attempt_at?: string | null;
16383
+ next_step?: string | null;
16384
+ node_id?: string | null;
16385
+ order_ref?: string | null;
16386
+ order_source?: string | null;
16387
+ output?: Json | null;
16388
+ phase?: string | null;
16389
+ reads?: Json | null;
16390
+ reason?: string | null;
16391
+ rule?: string | null;
16392
+ slip_ref?: string | null;
16393
+ status?: string | null;
16394
+ step?: string | null;
16395
+ trace_id?: string | null;
16396
+ values_used?: Json | null;
16397
+ vervalt_op: string;
16398
+ };
16399
+ Update: {
16400
+ actor?: string | null;
16401
+ attempts?: number | null;
16402
+ calc?: Json | null;
16403
+ cart_ref?: string | null;
16404
+ created_at?: string;
16405
+ db_action?: string | null;
16406
+ db_new?: Json | null;
16407
+ db_old?: Json | null;
16408
+ db_record?: string | null;
16409
+ db_table?: string | null;
16410
+ decision?: string | null;
16411
+ duration_ms?: number | null;
16412
+ error?: string | null;
16413
+ error_class?: string | null;
16414
+ external_action?: string | null;
16415
+ external_ref?: string | null;
16416
+ external_response?: Json | null;
16417
+ external_status?: string | null;
16418
+ external_system?: string | null;
16419
+ id?: string;
16420
+ input?: Json | null;
16421
+ next_attempt_at?: string | null;
16422
+ next_step?: string | null;
16423
+ node_id?: string | null;
16424
+ order_ref?: string | null;
16425
+ order_source?: string | null;
16426
+ output?: Json | null;
16427
+ phase?: string | null;
16428
+ reads?: Json | null;
16429
+ reason?: string | null;
16430
+ rule?: string | null;
16431
+ slip_ref?: string | null;
16432
+ status?: string | null;
16433
+ step?: string | null;
16434
+ trace_id?: string | null;
16435
+ values_used?: Json | null;
16436
+ vervalt_op?: string;
16437
+ };
16438
+ Relationships: [];
16439
+ };
16440
+ logistics_logboek_2027w01: {
16441
+ Row: {
16442
+ actor: string | null;
16443
+ attempts: number | null;
16444
+ calc: Json | null;
16445
+ cart_ref: string | null;
16446
+ created_at: string;
16447
+ db_action: string | null;
16448
+ db_new: Json | null;
16449
+ db_old: Json | null;
16450
+ db_record: string | null;
16451
+ db_table: string | null;
16452
+ decision: string | null;
16453
+ duration_ms: number | null;
16454
+ error: string | null;
16455
+ error_class: string | null;
16456
+ external_action: string | null;
16457
+ external_ref: string | null;
16458
+ external_response: Json | null;
16459
+ external_status: string | null;
16460
+ external_system: string | null;
16461
+ id: string;
16462
+ input: Json | null;
16463
+ next_attempt_at: string | null;
16464
+ next_step: string | null;
16465
+ node_id: string | null;
16466
+ order_ref: string | null;
16467
+ order_source: string | null;
16468
+ output: Json | null;
16469
+ phase: string | null;
16470
+ reads: Json | null;
16471
+ reason: string | null;
16472
+ rule: string | null;
16473
+ slip_ref: string | null;
16474
+ status: string | null;
16475
+ step: string | null;
16476
+ trace_id: string | null;
16477
+ values_used: Json | null;
16478
+ vervalt_op: string;
16479
+ };
16480
+ Insert: {
16481
+ actor?: string | null;
16482
+ attempts?: number | null;
16483
+ calc?: Json | null;
16484
+ cart_ref?: string | null;
16485
+ created_at?: string;
16486
+ db_action?: string | null;
16487
+ db_new?: Json | null;
16488
+ db_old?: Json | null;
16489
+ db_record?: string | null;
16490
+ db_table?: string | null;
16491
+ decision?: string | null;
16492
+ duration_ms?: number | null;
16493
+ error?: string | null;
16494
+ error_class?: string | null;
16495
+ external_action?: string | null;
16496
+ external_ref?: string | null;
16497
+ external_response?: Json | null;
16498
+ external_status?: string | null;
16499
+ external_system?: string | null;
16500
+ id?: string;
16501
+ input?: Json | null;
16502
+ next_attempt_at?: string | null;
16503
+ next_step?: string | null;
16504
+ node_id?: string | null;
16505
+ order_ref?: string | null;
16506
+ order_source?: string | null;
16507
+ output?: Json | null;
16508
+ phase?: string | null;
16509
+ reads?: Json | null;
16510
+ reason?: string | null;
16511
+ rule?: string | null;
16512
+ slip_ref?: string | null;
16513
+ status?: string | null;
16514
+ step?: string | null;
16515
+ trace_id?: string | null;
16516
+ values_used?: Json | null;
16517
+ vervalt_op: string;
16518
+ };
16519
+ Update: {
16520
+ actor?: string | null;
16521
+ attempts?: number | null;
16522
+ calc?: Json | null;
16523
+ cart_ref?: string | null;
16524
+ created_at?: string;
16525
+ db_action?: string | null;
16526
+ db_new?: Json | null;
16527
+ db_old?: Json | null;
16528
+ db_record?: string | null;
16529
+ db_table?: string | null;
16530
+ decision?: string | null;
16531
+ duration_ms?: number | null;
16532
+ error?: string | null;
16533
+ error_class?: string | null;
16534
+ external_action?: string | null;
16535
+ external_ref?: string | null;
16536
+ external_response?: Json | null;
16537
+ external_status?: string | null;
16538
+ external_system?: string | null;
16539
+ id?: string;
16540
+ input?: Json | null;
16541
+ next_attempt_at?: string | null;
16542
+ next_step?: string | null;
16543
+ node_id?: string | null;
16544
+ order_ref?: string | null;
16545
+ order_source?: string | null;
16546
+ output?: Json | null;
16547
+ phase?: string | null;
16548
+ reads?: Json | null;
16549
+ reason?: string | null;
16550
+ rule?: string | null;
16551
+ slip_ref?: string | null;
16552
+ status?: string | null;
16553
+ step?: string | null;
16554
+ trace_id?: string | null;
16555
+ values_used?: Json | null;
16556
+ vervalt_op?: string;
16557
+ };
16558
+ Relationships: [];
16559
+ };
16560
+ logistics_logboek_2027w02: {
16561
+ Row: {
16562
+ actor: string | null;
16563
+ attempts: number | null;
16564
+ calc: Json | null;
16565
+ cart_ref: string | null;
16566
+ created_at: string;
16567
+ db_action: string | null;
16568
+ db_new: Json | null;
16569
+ db_old: Json | null;
16570
+ db_record: string | null;
16571
+ db_table: string | null;
16572
+ decision: string | null;
16573
+ duration_ms: number | null;
16574
+ error: string | null;
16575
+ error_class: string | null;
16576
+ external_action: string | null;
16577
+ external_ref: string | null;
16578
+ external_response: Json | null;
16579
+ external_status: string | null;
16580
+ external_system: string | null;
16581
+ id: string;
16582
+ input: Json | null;
16583
+ next_attempt_at: string | null;
16584
+ next_step: string | null;
16585
+ node_id: string | null;
16586
+ order_ref: string | null;
16587
+ order_source: string | null;
16588
+ output: Json | null;
16589
+ phase: string | null;
16590
+ reads: Json | null;
16591
+ reason: string | null;
16592
+ rule: string | null;
16593
+ slip_ref: string | null;
16594
+ status: string | null;
16595
+ step: string | null;
16596
+ trace_id: string | null;
16597
+ values_used: Json | null;
16598
+ vervalt_op: string;
16599
+ };
16600
+ Insert: {
16601
+ actor?: string | null;
16602
+ attempts?: number | null;
16603
+ calc?: Json | null;
16604
+ cart_ref?: string | null;
16605
+ created_at?: string;
16606
+ db_action?: string | null;
16607
+ db_new?: Json | null;
16608
+ db_old?: Json | null;
16609
+ db_record?: string | null;
16610
+ db_table?: string | null;
16611
+ decision?: string | null;
16612
+ duration_ms?: number | null;
16613
+ error?: string | null;
16614
+ error_class?: string | null;
16615
+ external_action?: string | null;
16616
+ external_ref?: string | null;
16617
+ external_response?: Json | null;
16618
+ external_status?: string | null;
16619
+ external_system?: string | null;
16620
+ id?: string;
16621
+ input?: Json | null;
16622
+ next_attempt_at?: string | null;
16623
+ next_step?: string | null;
16624
+ node_id?: string | null;
16625
+ order_ref?: string | null;
16626
+ order_source?: string | null;
16627
+ output?: Json | null;
16628
+ phase?: string | null;
16629
+ reads?: Json | null;
16630
+ reason?: string | null;
16631
+ rule?: string | null;
16632
+ slip_ref?: string | null;
16633
+ status?: string | null;
16634
+ step?: string | null;
16635
+ trace_id?: string | null;
16636
+ values_used?: Json | null;
16637
+ vervalt_op: string;
16638
+ };
16639
+ Update: {
16640
+ actor?: string | null;
16641
+ attempts?: number | null;
16642
+ calc?: Json | null;
16643
+ cart_ref?: string | null;
16644
+ created_at?: string;
16645
+ db_action?: string | null;
16646
+ db_new?: Json | null;
16647
+ db_old?: Json | null;
16648
+ db_record?: string | null;
16649
+ db_table?: string | null;
16650
+ decision?: string | null;
16651
+ duration_ms?: number | null;
16652
+ error?: string | null;
16653
+ error_class?: string | null;
16654
+ external_action?: string | null;
16655
+ external_ref?: string | null;
16656
+ external_response?: Json | null;
16657
+ external_status?: string | null;
16658
+ external_system?: string | null;
16659
+ id?: string;
16660
+ input?: Json | null;
16661
+ next_attempt_at?: string | null;
16662
+ next_step?: string | null;
16663
+ node_id?: string | null;
16664
+ order_ref?: string | null;
16665
+ order_source?: string | null;
16666
+ output?: Json | null;
16667
+ phase?: string | null;
16668
+ reads?: Json | null;
16669
+ reason?: string | null;
16670
+ rule?: string | null;
16671
+ slip_ref?: string | null;
16672
+ status?: string | null;
16673
+ step?: string | null;
16674
+ trace_id?: string | null;
16675
+ values_used?: Json | null;
16676
+ vervalt_op?: string;
16677
+ };
16678
+ Relationships: [];
16679
+ };
16680
+ logistics_logboek_2027w03: {
16681
+ Row: {
16682
+ actor: string | null;
16683
+ attempts: number | null;
16684
+ calc: Json | null;
16685
+ cart_ref: string | null;
16686
+ created_at: string;
16687
+ db_action: string | null;
16688
+ db_new: Json | null;
16689
+ db_old: Json | null;
16690
+ db_record: string | null;
16691
+ db_table: string | null;
16692
+ decision: string | null;
16693
+ duration_ms: number | null;
16694
+ error: string | null;
16695
+ error_class: string | null;
16696
+ external_action: string | null;
16697
+ external_ref: string | null;
16698
+ external_response: Json | null;
16699
+ external_status: string | null;
16700
+ external_system: string | null;
16701
+ id: string;
16702
+ input: Json | null;
16703
+ next_attempt_at: string | null;
16704
+ next_step: string | null;
16705
+ node_id: string | null;
16706
+ order_ref: string | null;
16707
+ order_source: string | null;
16708
+ output: Json | null;
16709
+ phase: string | null;
16710
+ reads: Json | null;
16711
+ reason: string | null;
16712
+ rule: string | null;
16713
+ slip_ref: string | null;
16714
+ status: string | null;
16715
+ step: string | null;
16716
+ trace_id: string | null;
16717
+ values_used: Json | null;
16718
+ vervalt_op: string;
16719
+ };
16720
+ Insert: {
16721
+ actor?: string | null;
16722
+ attempts?: number | null;
16723
+ calc?: Json | null;
16724
+ cart_ref?: string | null;
16725
+ created_at?: string;
16726
+ db_action?: string | null;
16727
+ db_new?: Json | null;
16728
+ db_old?: Json | null;
16729
+ db_record?: string | null;
16730
+ db_table?: string | null;
16731
+ decision?: string | null;
16732
+ duration_ms?: number | null;
16733
+ error?: string | null;
16734
+ error_class?: string | null;
16735
+ external_action?: string | null;
16736
+ external_ref?: string | null;
16737
+ external_response?: Json | null;
16738
+ external_status?: string | null;
16739
+ external_system?: string | null;
16740
+ id?: string;
16741
+ input?: Json | null;
16742
+ next_attempt_at?: string | null;
16743
+ next_step?: string | null;
16744
+ node_id?: string | null;
16745
+ order_ref?: string | null;
16746
+ order_source?: string | null;
16747
+ output?: Json | null;
16748
+ phase?: string | null;
16749
+ reads?: Json | null;
16750
+ reason?: string | null;
16751
+ rule?: string | null;
16752
+ slip_ref?: string | null;
16753
+ status?: string | null;
16754
+ step?: string | null;
16755
+ trace_id?: string | null;
16756
+ values_used?: Json | null;
16757
+ vervalt_op: string;
16758
+ };
16759
+ Update: {
16760
+ actor?: string | null;
16761
+ attempts?: number | null;
16762
+ calc?: Json | null;
16763
+ cart_ref?: string | null;
16764
+ created_at?: string;
16765
+ db_action?: string | null;
16766
+ db_new?: Json | null;
16767
+ db_old?: Json | null;
16768
+ db_record?: string | null;
16769
+ db_table?: string | null;
16770
+ decision?: string | null;
16771
+ duration_ms?: number | null;
16772
+ error?: string | null;
16773
+ error_class?: string | null;
16774
+ external_action?: string | null;
16775
+ external_ref?: string | null;
16776
+ external_response?: Json | null;
16777
+ external_status?: string | null;
16778
+ external_system?: string | null;
16779
+ id?: string;
16780
+ input?: Json | null;
16781
+ next_attempt_at?: string | null;
16782
+ next_step?: string | null;
16783
+ node_id?: string | null;
16784
+ order_ref?: string | null;
16785
+ order_source?: string | null;
16786
+ output?: Json | null;
16787
+ phase?: string | null;
16788
+ reads?: Json | null;
16789
+ reason?: string | null;
16790
+ rule?: string | null;
16791
+ slip_ref?: string | null;
16792
+ status?: string | null;
16793
+ step?: string | null;
16794
+ trace_id?: string | null;
16795
+ values_used?: Json | null;
16796
+ vervalt_op?: string;
16797
+ };
16798
+ Relationships: [];
16799
+ };
16800
+ logistics_logboek_2027w04: {
16801
+ Row: {
16802
+ actor: string | null;
16803
+ attempts: number | null;
16804
+ calc: Json | null;
16805
+ cart_ref: string | null;
16806
+ created_at: string;
16807
+ db_action: string | null;
16808
+ db_new: Json | null;
16809
+ db_old: Json | null;
16810
+ db_record: string | null;
16811
+ db_table: string | null;
16812
+ decision: string | null;
16813
+ duration_ms: number | null;
16814
+ error: string | null;
16815
+ error_class: string | null;
16816
+ external_action: string | null;
16817
+ external_ref: string | null;
16818
+ external_response: Json | null;
16819
+ external_status: string | null;
16820
+ external_system: string | null;
16821
+ id: string;
16822
+ input: Json | null;
16823
+ next_attempt_at: string | null;
16824
+ next_step: string | null;
16825
+ node_id: string | null;
16826
+ order_ref: string | null;
16827
+ order_source: string | null;
16828
+ output: Json | null;
16829
+ phase: string | null;
16830
+ reads: Json | null;
16831
+ reason: string | null;
16832
+ rule: string | null;
16833
+ slip_ref: string | null;
16834
+ status: string | null;
16835
+ step: string | null;
16836
+ trace_id: string | null;
16837
+ values_used: Json | null;
16838
+ vervalt_op: string;
16839
+ };
16840
+ Insert: {
16841
+ actor?: string | null;
16842
+ attempts?: number | null;
16843
+ calc?: Json | null;
16844
+ cart_ref?: string | null;
16845
+ created_at?: string;
16846
+ db_action?: string | null;
16847
+ db_new?: Json | null;
16848
+ db_old?: Json | null;
16849
+ db_record?: string | null;
16850
+ db_table?: string | null;
16851
+ decision?: string | null;
16852
+ duration_ms?: number | null;
16853
+ error?: string | null;
16854
+ error_class?: string | null;
16855
+ external_action?: string | null;
16856
+ external_ref?: string | null;
16857
+ external_response?: Json | null;
16858
+ external_status?: string | null;
16859
+ external_system?: string | null;
16860
+ id?: string;
16861
+ input?: Json | null;
16862
+ next_attempt_at?: string | null;
16863
+ next_step?: string | null;
16864
+ node_id?: string | null;
16865
+ order_ref?: string | null;
16866
+ order_source?: string | null;
16867
+ output?: Json | null;
16868
+ phase?: string | null;
16869
+ reads?: Json | null;
16870
+ reason?: string | null;
16871
+ rule?: string | null;
16872
+ slip_ref?: string | null;
16873
+ status?: string | null;
16874
+ step?: string | null;
16875
+ trace_id?: string | null;
16876
+ values_used?: Json | null;
16877
+ vervalt_op: string;
16878
+ };
16879
+ Update: {
16880
+ actor?: string | null;
16881
+ attempts?: number | null;
16882
+ calc?: Json | null;
16883
+ cart_ref?: string | null;
16884
+ created_at?: string;
16885
+ db_action?: string | null;
16886
+ db_new?: Json | null;
16887
+ db_old?: Json | null;
16888
+ db_record?: string | null;
16889
+ db_table?: string | null;
16890
+ decision?: string | null;
16891
+ duration_ms?: number | null;
16892
+ error?: string | null;
16893
+ error_class?: string | null;
16894
+ external_action?: string | null;
16895
+ external_ref?: string | null;
16896
+ external_response?: Json | null;
16897
+ external_status?: string | null;
16898
+ external_system?: string | null;
16899
+ id?: string;
16900
+ input?: Json | null;
16901
+ next_attempt_at?: string | null;
16902
+ next_step?: string | null;
16903
+ node_id?: string | null;
16904
+ order_ref?: string | null;
16905
+ order_source?: string | null;
16906
+ output?: Json | null;
16907
+ phase?: string | null;
16908
+ reads?: Json | null;
16909
+ reason?: string | null;
16910
+ rule?: string | null;
16911
+ slip_ref?: string | null;
16912
+ status?: string | null;
16913
+ step?: string | null;
16914
+ trace_id?: string | null;
16915
+ values_used?: Json | null;
16916
+ vervalt_op?: string;
16917
+ };
16918
+ Relationships: [];
16919
+ };
16920
+ logistics_logboek_2027w05: {
16921
+ Row: {
16922
+ actor: string | null;
16923
+ attempts: number | null;
16924
+ calc: Json | null;
16925
+ cart_ref: string | null;
16926
+ created_at: string;
16927
+ db_action: string | null;
16928
+ db_new: Json | null;
16929
+ db_old: Json | null;
16930
+ db_record: string | null;
16931
+ db_table: string | null;
16932
+ decision: string | null;
16933
+ duration_ms: number | null;
16934
+ error: string | null;
16935
+ error_class: string | null;
16936
+ external_action: string | null;
16937
+ external_ref: string | null;
16938
+ external_response: Json | null;
16939
+ external_status: string | null;
16940
+ external_system: string | null;
16941
+ id: string;
16942
+ input: Json | null;
16943
+ next_attempt_at: string | null;
16944
+ next_step: string | null;
16945
+ node_id: string | null;
16946
+ order_ref: string | null;
16947
+ order_source: string | null;
16948
+ output: Json | null;
16949
+ phase: string | null;
16950
+ reads: Json | null;
16951
+ reason: string | null;
16952
+ rule: string | null;
16953
+ slip_ref: string | null;
16954
+ status: string | null;
16955
+ step: string | null;
16956
+ trace_id: string | null;
16957
+ values_used: Json | null;
16958
+ vervalt_op: string;
16959
+ };
16960
+ Insert: {
16961
+ actor?: string | null;
16962
+ attempts?: number | null;
16963
+ calc?: Json | null;
16964
+ cart_ref?: string | null;
16965
+ created_at?: string;
16966
+ db_action?: string | null;
16967
+ db_new?: Json | null;
16968
+ db_old?: Json | null;
16969
+ db_record?: string | null;
16970
+ db_table?: string | null;
16971
+ decision?: string | null;
16972
+ duration_ms?: number | null;
16973
+ error?: string | null;
16974
+ error_class?: string | null;
16975
+ external_action?: string | null;
16976
+ external_ref?: string | null;
16977
+ external_response?: Json | null;
16978
+ external_status?: string | null;
16979
+ external_system?: string | null;
16980
+ id?: string;
16981
+ input?: Json | null;
16982
+ next_attempt_at?: string | null;
16983
+ next_step?: string | null;
16984
+ node_id?: string | null;
16985
+ order_ref?: string | null;
16986
+ order_source?: string | null;
16987
+ output?: Json | null;
16988
+ phase?: string | null;
16989
+ reads?: Json | null;
16990
+ reason?: string | null;
16991
+ rule?: string | null;
16992
+ slip_ref?: string | null;
16993
+ status?: string | null;
16994
+ step?: string | null;
16995
+ trace_id?: string | null;
16996
+ values_used?: Json | null;
16997
+ vervalt_op: string;
16998
+ };
16999
+ Update: {
17000
+ actor?: string | null;
17001
+ attempts?: number | null;
17002
+ calc?: Json | null;
17003
+ cart_ref?: string | null;
17004
+ created_at?: string;
17005
+ db_action?: string | null;
17006
+ db_new?: Json | null;
17007
+ db_old?: Json | null;
17008
+ db_record?: string | null;
17009
+ db_table?: string | null;
17010
+ decision?: string | null;
17011
+ duration_ms?: number | null;
17012
+ error?: string | null;
17013
+ error_class?: string | null;
17014
+ external_action?: string | null;
17015
+ external_ref?: string | null;
17016
+ external_response?: Json | null;
17017
+ external_status?: string | null;
17018
+ external_system?: string | null;
17019
+ id?: string;
17020
+ input?: Json | null;
17021
+ next_attempt_at?: string | null;
17022
+ next_step?: string | null;
17023
+ node_id?: string | null;
17024
+ order_ref?: string | null;
17025
+ order_source?: string | null;
17026
+ output?: Json | null;
17027
+ phase?: string | null;
17028
+ reads?: Json | null;
17029
+ reason?: string | null;
17030
+ rule?: string | null;
17031
+ slip_ref?: string | null;
17032
+ status?: string | null;
17033
+ step?: string | null;
17034
+ trace_id?: string | null;
17035
+ values_used?: Json | null;
17036
+ vervalt_op?: string;
17037
+ };
17038
+ Relationships: [];
17039
+ };
17040
+ logistics_logboek_2027w06: {
17041
+ Row: {
17042
+ actor: string | null;
17043
+ attempts: number | null;
17044
+ calc: Json | null;
17045
+ cart_ref: string | null;
17046
+ created_at: string;
17047
+ db_action: string | null;
17048
+ db_new: Json | null;
17049
+ db_old: Json | null;
17050
+ db_record: string | null;
17051
+ db_table: string | null;
17052
+ decision: string | null;
17053
+ duration_ms: number | null;
17054
+ error: string | null;
17055
+ error_class: string | null;
17056
+ external_action: string | null;
17057
+ external_ref: string | null;
17058
+ external_response: Json | null;
17059
+ external_status: string | null;
17060
+ external_system: string | null;
17061
+ id: string;
17062
+ input: Json | null;
17063
+ next_attempt_at: string | null;
17064
+ next_step: string | null;
17065
+ node_id: string | null;
17066
+ order_ref: string | null;
17067
+ order_source: string | null;
17068
+ output: Json | null;
17069
+ phase: string | null;
17070
+ reads: Json | null;
17071
+ reason: string | null;
17072
+ rule: string | null;
17073
+ slip_ref: string | null;
17074
+ status: string | null;
17075
+ step: string | null;
17076
+ trace_id: string | null;
17077
+ values_used: Json | null;
17078
+ vervalt_op: string;
17079
+ };
17080
+ Insert: {
17081
+ actor?: string | null;
17082
+ attempts?: number | null;
17083
+ calc?: Json | null;
17084
+ cart_ref?: string | null;
17085
+ created_at?: string;
17086
+ db_action?: string | null;
17087
+ db_new?: Json | null;
17088
+ db_old?: Json | null;
17089
+ db_record?: string | null;
17090
+ db_table?: string | null;
17091
+ decision?: string | null;
17092
+ duration_ms?: number | null;
17093
+ error?: string | null;
17094
+ error_class?: string | null;
17095
+ external_action?: string | null;
17096
+ external_ref?: string | null;
17097
+ external_response?: Json | null;
17098
+ external_status?: string | null;
17099
+ external_system?: string | null;
17100
+ id?: string;
17101
+ input?: Json | null;
17102
+ next_attempt_at?: string | null;
17103
+ next_step?: string | null;
17104
+ node_id?: string | null;
17105
+ order_ref?: string | null;
17106
+ order_source?: string | null;
17107
+ output?: Json | null;
17108
+ phase?: string | null;
17109
+ reads?: Json | null;
17110
+ reason?: string | null;
17111
+ rule?: string | null;
17112
+ slip_ref?: string | null;
17113
+ status?: string | null;
17114
+ step?: string | null;
17115
+ trace_id?: string | null;
17116
+ values_used?: Json | null;
17117
+ vervalt_op: string;
17118
+ };
17119
+ Update: {
17120
+ actor?: string | null;
17121
+ attempts?: number | null;
17122
+ calc?: Json | null;
17123
+ cart_ref?: string | null;
17124
+ created_at?: string;
17125
+ db_action?: string | null;
17126
+ db_new?: Json | null;
17127
+ db_old?: Json | null;
17128
+ db_record?: string | null;
17129
+ db_table?: string | null;
17130
+ decision?: string | null;
17131
+ duration_ms?: number | null;
17132
+ error?: string | null;
17133
+ error_class?: string | null;
17134
+ external_action?: string | null;
17135
+ external_ref?: string | null;
17136
+ external_response?: Json | null;
17137
+ external_status?: string | null;
17138
+ external_system?: string | null;
17139
+ id?: string;
17140
+ input?: Json | null;
17141
+ next_attempt_at?: string | null;
17142
+ next_step?: string | null;
17143
+ node_id?: string | null;
17144
+ order_ref?: string | null;
17145
+ order_source?: string | null;
17146
+ output?: Json | null;
17147
+ phase?: string | null;
17148
+ reads?: Json | null;
17149
+ reason?: string | null;
17150
+ rule?: string | null;
17151
+ slip_ref?: string | null;
17152
+ status?: string | null;
17153
+ step?: string | null;
17154
+ trace_id?: string | null;
17155
+ values_used?: Json | null;
17156
+ vervalt_op?: string;
17157
+ };
17158
+ Relationships: [];
17159
+ };
17160
+ logistics_logboek_2027w07: {
17161
+ Row: {
17162
+ actor: string | null;
17163
+ attempts: number | null;
17164
+ calc: Json | null;
17165
+ cart_ref: string | null;
17166
+ created_at: string;
17167
+ db_action: string | null;
17168
+ db_new: Json | null;
17169
+ db_old: Json | null;
17170
+ db_record: string | null;
17171
+ db_table: string | null;
17172
+ decision: string | null;
17173
+ duration_ms: number | null;
17174
+ error: string | null;
17175
+ error_class: string | null;
17176
+ external_action: string | null;
17177
+ external_ref: string | null;
17178
+ external_response: Json | null;
17179
+ external_status: string | null;
17180
+ external_system: string | null;
17181
+ id: string;
17182
+ input: Json | null;
17183
+ next_attempt_at: string | null;
17184
+ next_step: string | null;
17185
+ node_id: string | null;
17186
+ order_ref: string | null;
17187
+ order_source: string | null;
17188
+ output: Json | null;
17189
+ phase: string | null;
17190
+ reads: Json | null;
17191
+ reason: string | null;
17192
+ rule: string | null;
17193
+ slip_ref: string | null;
17194
+ status: string | null;
17195
+ step: string | null;
17196
+ trace_id: string | null;
17197
+ values_used: Json | null;
17198
+ vervalt_op: string;
17199
+ };
17200
+ Insert: {
17201
+ actor?: string | null;
17202
+ attempts?: number | null;
17203
+ calc?: Json | null;
17204
+ cart_ref?: string | null;
17205
+ created_at?: string;
17206
+ db_action?: string | null;
17207
+ db_new?: Json | null;
17208
+ db_old?: Json | null;
17209
+ db_record?: string | null;
17210
+ db_table?: string | null;
17211
+ decision?: string | null;
17212
+ duration_ms?: number | null;
17213
+ error?: string | null;
17214
+ error_class?: string | null;
17215
+ external_action?: string | null;
17216
+ external_ref?: string | null;
17217
+ external_response?: Json | null;
17218
+ external_status?: string | null;
17219
+ external_system?: string | null;
17220
+ id?: string;
17221
+ input?: Json | null;
17222
+ next_attempt_at?: string | null;
17223
+ next_step?: string | null;
17224
+ node_id?: string | null;
17225
+ order_ref?: string | null;
17226
+ order_source?: string | null;
17227
+ output?: Json | null;
17228
+ phase?: string | null;
17229
+ reads?: Json | null;
17230
+ reason?: string | null;
17231
+ rule?: string | null;
17232
+ slip_ref?: string | null;
17233
+ status?: string | null;
17234
+ step?: string | null;
17235
+ trace_id?: string | null;
17236
+ values_used?: Json | null;
17237
+ vervalt_op: string;
17238
+ };
17239
+ Update: {
17240
+ actor?: string | null;
17241
+ attempts?: number | null;
17242
+ calc?: Json | null;
17243
+ cart_ref?: string | null;
17244
+ created_at?: string;
17245
+ db_action?: string | null;
17246
+ db_new?: Json | null;
17247
+ db_old?: Json | null;
17248
+ db_record?: string | null;
17249
+ db_table?: string | null;
17250
+ decision?: string | null;
17251
+ duration_ms?: number | null;
17252
+ error?: string | null;
17253
+ error_class?: string | null;
17254
+ external_action?: string | null;
17255
+ external_ref?: string | null;
17256
+ external_response?: Json | null;
17257
+ external_status?: string | null;
17258
+ external_system?: string | null;
17259
+ id?: string;
17260
+ input?: Json | null;
17261
+ next_attempt_at?: string | null;
17262
+ next_step?: string | null;
17263
+ node_id?: string | null;
17264
+ order_ref?: string | null;
17265
+ order_source?: string | null;
17266
+ output?: Json | null;
17267
+ phase?: string | null;
17268
+ reads?: Json | null;
17269
+ reason?: string | null;
17270
+ rule?: string | null;
17271
+ slip_ref?: string | null;
17272
+ status?: string | null;
17273
+ step?: string | null;
17274
+ trace_id?: string | null;
17275
+ values_used?: Json | null;
17276
+ vervalt_op?: string;
17277
+ };
17278
+ Relationships: [];
17279
+ };
17280
+ logistics_meldingen: {
17281
+ Row: {
17282
+ aantal: number;
17283
+ detail: string | null;
17284
+ eerste_keer: string;
17285
+ functie: string;
17286
+ id: string;
17287
+ laatste_keer: string;
17288
+ order_id: string | null;
17289
+ tekst: string;
17290
+ };
17291
+ Insert: {
17292
+ aantal?: number;
17293
+ detail?: string | null;
17294
+ eerste_keer?: string;
17295
+ functie: string;
17296
+ id?: string;
17297
+ laatste_keer?: string;
17298
+ order_id?: string | null;
17299
+ tekst: string;
17300
+ };
17301
+ Update: {
17302
+ aantal?: number;
17303
+ detail?: string | null;
17304
+ eerste_keer?: string;
17305
+ functie?: string;
17306
+ id?: string;
17307
+ laatste_keer?: string;
17308
+ order_id?: string | null;
17309
+ tekst?: string;
17310
+ };
17311
+ Relationships: [];
17312
+ };
17313
+ logistics_merge_herstel_log: {
17314
+ Row: {
17315
+ categorie: string;
17316
+ details: Json | null;
17317
+ hersteld_at: string;
17318
+ kept_order_id: string | null;
17319
+ merged_order_id: string;
17320
+ regels_terug: number;
17321
+ };
17322
+ Insert: {
17323
+ categorie: string;
17324
+ details?: Json | null;
17325
+ hersteld_at?: string;
17326
+ kept_order_id?: string | null;
17327
+ merged_order_id: string;
17328
+ regels_terug?: number;
17329
+ };
17330
+ Update: {
17331
+ categorie?: string;
17332
+ details?: Json | null;
17333
+ hersteld_at?: string;
17334
+ kept_order_id?: string | null;
17335
+ merged_order_id?: string;
17336
+ regels_terug?: number;
17337
+ };
17338
+ Relationships: [];
17339
+ };
17340
+ logistics_merge_meldingen: {
17341
+ Row: {
17342
+ aantal: number | null;
17343
+ created_at: string;
17344
+ fout: string | null;
17345
+ group_key: string | null;
17346
+ id: string;
17347
+ order_id: string | null;
17348
+ soort: string;
17349
+ };
17350
+ Insert: {
17351
+ aantal?: number | null;
17352
+ created_at?: string;
17353
+ fout?: string | null;
17354
+ group_key?: string | null;
17355
+ id?: string;
17356
+ order_id?: string | null;
17357
+ soort: string;
17358
+ };
17359
+ Update: {
17360
+ aantal?: number | null;
17361
+ created_at?: string;
17362
+ fout?: string | null;
17363
+ group_key?: string | null;
17364
+ id?: string;
17365
+ order_id?: string | null;
17366
+ soort?: string;
17367
+ };
17368
+ Relationships: [];
17369
+ };
17370
+ logistics_opening_exceptions: {
17371
+ Row: {
17372
+ closes: string | null;
17373
+ created_at: string;
17374
+ day: string;
17375
+ id: string;
17376
+ is_closed: boolean;
17377
+ note: string | null;
17378
+ opens: string | null;
17379
+ };
17380
+ Insert: {
17381
+ closes?: string | null;
17382
+ created_at?: string;
17383
+ day: string;
17384
+ id?: string;
17385
+ is_closed?: boolean;
17386
+ note?: string | null;
17387
+ opens?: string | null;
17388
+ };
17389
+ Update: {
17390
+ closes?: string | null;
17391
+ created_at?: string;
17392
+ day?: string;
17393
+ id?: string;
17394
+ is_closed?: boolean;
17395
+ note?: string | null;
17396
+ opens?: string | null;
17397
+ };
17398
+ Relationships: [];
17399
+ };
17400
+ logistics_opening_hours: {
17401
+ Row: {
17402
+ closes: string;
17403
+ created_at: string;
17404
+ id: string;
17405
+ is_active: boolean;
17406
+ note: string | null;
17407
+ opens: string;
17408
+ weekday: number;
17409
+ };
17410
+ Insert: {
17411
+ closes: string;
17412
+ created_at?: string;
17413
+ id?: string;
17414
+ is_active?: boolean;
17415
+ note?: string | null;
17416
+ opens: string;
17417
+ weekday: number;
17418
+ };
17419
+ Update: {
17420
+ closes?: string;
17421
+ created_at?: string;
17422
+ id?: string;
17423
+ is_active?: boolean;
17424
+ note?: string | null;
17425
+ opens?: string;
17426
+ weekday?: number;
17427
+ };
17428
+ Relationships: [];
17429
+ };
17430
+ logistics_order_change_fp: {
17431
+ Row: {
17432
+ fp: string | null;
17433
+ frozen_fp: string | null;
17434
+ order_id: string;
17435
+ updated_at: string;
17436
+ };
17437
+ Insert: {
17438
+ fp?: string | null;
17439
+ frozen_fp?: string | null;
17440
+ order_id: string;
15315
17441
  updated_at?: string;
15316
17442
  };
15317
17443
  Update: {
@@ -15460,6 +17586,42 @@ export type Database = {
15460
17586
  };
15461
17587
  Relationships: [];
15462
17588
  };
17589
+ logistics_order_momenten: {
17590
+ Row: {
17591
+ bijgewerkt_op: string;
17592
+ factuur_via_floriday: boolean;
17593
+ floriday_geleverd_op: string | null;
17594
+ gereed_voor_facturatie_op: string | null;
17595
+ opgehaald_gemeld_op: string | null;
17596
+ ophaal_vervoerder: string | null;
17597
+ ophaal_verwacht_op: string | null;
17598
+ order_id: string;
17599
+ verzonden_op: string | null;
17600
+ };
17601
+ Insert: {
17602
+ bijgewerkt_op?: string;
17603
+ factuur_via_floriday?: boolean;
17604
+ floriday_geleverd_op?: string | null;
17605
+ gereed_voor_facturatie_op?: string | null;
17606
+ opgehaald_gemeld_op?: string | null;
17607
+ ophaal_vervoerder?: string | null;
17608
+ ophaal_verwacht_op?: string | null;
17609
+ order_id: string;
17610
+ verzonden_op?: string | null;
17611
+ };
17612
+ Update: {
17613
+ bijgewerkt_op?: string;
17614
+ factuur_via_floriday?: boolean;
17615
+ floriday_geleverd_op?: string | null;
17616
+ gereed_voor_facturatie_op?: string | null;
17617
+ opgehaald_gemeld_op?: string | null;
17618
+ ophaal_vervoerder?: string | null;
17619
+ ophaal_verwacht_op?: string | null;
17620
+ order_id?: string;
17621
+ verzonden_op?: string | null;
17622
+ };
17623
+ Relationships: [];
17624
+ };
15463
17625
  logistics_order_pick_day: {
15464
17626
  Row: {
15465
17627
  order_id: string;
@@ -15769,6 +17931,7 @@ export type Database = {
15769
17931
  enqueued_at: string;
15770
17932
  error: string | null;
15771
17933
  id: string;
17934
+ indeling_fp: string | null;
15772
17935
  next_attempt_at: string;
15773
17936
  order_fp: string | null;
15774
17937
  order_id: string;
@@ -15783,6 +17946,7 @@ export type Database = {
15783
17946
  enqueued_at?: string;
15784
17947
  error?: string | null;
15785
17948
  id?: string;
17949
+ indeling_fp?: string | null;
15786
17950
  next_attempt_at?: string;
15787
17951
  order_fp?: string | null;
15788
17952
  order_id: string;
@@ -15797,6 +17961,7 @@ export type Database = {
15797
17961
  enqueued_at?: string;
15798
17962
  error?: string | null;
15799
17963
  id?: string;
17964
+ indeling_fp?: string | null;
15800
17965
  next_attempt_at?: string;
15801
17966
  order_fp?: string | null;
15802
17967
  order_id?: string;
@@ -15903,6 +18068,27 @@ export type Database = {
15903
18068
  };
15904
18069
  Relationships: [];
15905
18070
  };
18071
+ logistics_plan_vingerafdruk: {
18072
+ Row: {
18073
+ bijgewerkt_op: string;
18074
+ fp: string;
18075
+ order_id: string;
18076
+ uitkomst: string;
18077
+ };
18078
+ Insert: {
18079
+ bijgewerkt_op?: string;
18080
+ fp: string;
18081
+ order_id: string;
18082
+ uitkomst: string;
18083
+ };
18084
+ Update: {
18085
+ bijgewerkt_op?: string;
18086
+ fp?: string;
18087
+ order_id?: string;
18088
+ uitkomst?: string;
18089
+ };
18090
+ Relationships: [];
18091
+ };
15906
18092
  logistics_planner_diff_runs: {
15907
18093
  Row: {
15908
18094
  after_snapshot: Json | null;
@@ -16516,6 +18702,24 @@ export type Database = {
16516
18702
  };
16517
18703
  Relationships: [];
16518
18704
  };
18705
+ logistics_status_fasen: {
18706
+ Row: {
18707
+ created_at: string;
18708
+ fase: string;
18709
+ status_sleutel: string;
18710
+ };
18711
+ Insert: {
18712
+ created_at?: string;
18713
+ fase: string;
18714
+ status_sleutel: string;
18715
+ };
18716
+ Update: {
18717
+ created_at?: string;
18718
+ fase?: string;
18719
+ status_sleutel?: string;
18720
+ };
18721
+ Relationships: [];
18722
+ };
16519
18723
  logistics_sticker_prints: {
16520
18724
  Row: {
16521
18725
  attempts: number;
@@ -17296,6 +19500,66 @@ export type Database = {
17296
19500
  };
17297
19501
  Relationships: [];
17298
19502
  };
19503
+ logistics_werker_stand: {
19504
+ Row: {
19505
+ bijgewerkt_op: string;
19506
+ cursor: string | null;
19507
+ fouten: number;
19508
+ laatste_duur_ms: number | null;
19509
+ laatste_eind: string | null;
19510
+ laatste_start: string | null;
19511
+ stappen: Json | null;
19512
+ uitgesteld: number;
19513
+ werker: string;
19514
+ };
19515
+ Insert: {
19516
+ bijgewerkt_op?: string;
19517
+ cursor?: string | null;
19518
+ fouten?: number;
19519
+ laatste_duur_ms?: number | null;
19520
+ laatste_eind?: string | null;
19521
+ laatste_start?: string | null;
19522
+ stappen?: Json | null;
19523
+ uitgesteld?: number;
19524
+ werker: string;
19525
+ };
19526
+ Update: {
19527
+ bijgewerkt_op?: string;
19528
+ cursor?: string | null;
19529
+ fouten?: number;
19530
+ laatste_duur_ms?: number | null;
19531
+ laatste_eind?: string | null;
19532
+ laatste_start?: string | null;
19533
+ stappen?: Json | null;
19534
+ uitgesteld?: number;
19535
+ werker?: string;
19536
+ };
19537
+ Relationships: [];
19538
+ };
19539
+ logistics_werkset: {
19540
+ Row: {
19541
+ bijgewerkt_op: string;
19542
+ fase: string;
19543
+ kargroep: string | null;
19544
+ leverdag: string;
19545
+ order_id: string;
19546
+ };
19547
+ Insert: {
19548
+ bijgewerkt_op?: string;
19549
+ fase: string;
19550
+ kargroep?: string | null;
19551
+ leverdag: string;
19552
+ order_id: string;
19553
+ };
19554
+ Update: {
19555
+ bijgewerkt_op?: string;
19556
+ fase?: string;
19557
+ kargroep?: string | null;
19558
+ leverdag?: string;
19559
+ order_id?: string;
19560
+ };
19561
+ Relationships: [];
19562
+ };
17299
19563
  logistics_zonder_kar_pogingen: {
17300
19564
  Row: {
17301
19565
  created_at: string;
@@ -34271,6 +36535,47 @@ export type Database = {
34271
36535
  };
34272
36536
  Relationships: [];
34273
36537
  };
36538
+ logistics_logboek_alles: {
36539
+ Row: {
36540
+ actor: string | null;
36541
+ attempts: number | null;
36542
+ calc: Json | null;
36543
+ cart_ref: string | null;
36544
+ created_at: string | null;
36545
+ db_action: string | null;
36546
+ db_new: Json | null;
36547
+ db_old: Json | null;
36548
+ db_record: string | null;
36549
+ db_table: string | null;
36550
+ decision: string | null;
36551
+ duration_ms: number | null;
36552
+ error: string | null;
36553
+ error_class: string | null;
36554
+ external_action: string | null;
36555
+ external_ref: string | null;
36556
+ external_response: Json | null;
36557
+ external_status: string | null;
36558
+ external_system: string | null;
36559
+ id: string | null;
36560
+ input: Json | null;
36561
+ next_attempt_at: string | null;
36562
+ next_step: string | null;
36563
+ node_id: string | null;
36564
+ order_ref: string | null;
36565
+ order_source: string | null;
36566
+ output: Json | null;
36567
+ phase: string | null;
36568
+ reads: Json | null;
36569
+ reason: string | null;
36570
+ rule: string | null;
36571
+ slip_ref: string | null;
36572
+ status: string | null;
36573
+ step: string | null;
36574
+ trace_id: string | null;
36575
+ values_used: Json | null;
36576
+ };
36577
+ Relationships: [];
36578
+ };
34274
36579
  logistics_packing_diff: {
34275
36580
  Row: {
34276
36581
  dev_key: string | null;
@@ -35418,6 +37723,43 @@ export type Database = {
35418
37723
  };
35419
37724
  Returns: Json;
35420
37725
  };
37726
+ afh_aanmelding_mail: {
37727
+ Args: {
37728
+ p_dispatch_id: string;
37729
+ };
37730
+ Returns: Json;
37731
+ };
37732
+ afh_aanmeldingen_kaarten: {
37733
+ Args: {
37734
+ p_tot: string;
37735
+ p_tz: string;
37736
+ p_van: string;
37737
+ };
37738
+ Returns: Json;
37739
+ };
37740
+ afh_aanmeldingen_lijst: {
37741
+ Args: {
37742
+ p_limit?: number;
37743
+ p_offset?: number;
37744
+ p_status?: string;
37745
+ p_tot: string;
37746
+ p_van: string;
37747
+ p_zoek?: string;
37748
+ };
37749
+ Returns: Json;
37750
+ };
37751
+ afh_aanmeldingen_samenvatting: {
37752
+ Args: never;
37753
+ Returns: Json;
37754
+ };
37755
+ afh_aanmeldingen_zoektekst_aanvullen: {
37756
+ Args: never;
37757
+ Returns: Json;
37758
+ };
37759
+ afh_aanmeldtaak_status: {
37760
+ Args: never;
37761
+ Returns: Json;
37762
+ };
35421
37763
  afh_assert_ingelogd: {
35422
37764
  Args: never;
35423
37765
  Returns: undefined;
@@ -35440,6 +37782,30 @@ export type Database = {
35440
37782
  Args: never;
35441
37783
  Returns: number;
35442
37784
  };
37785
+ afh_carrier_moments_omzetten_uitvoeren: {
37786
+ Args: never;
37787
+ Returns: Json;
37788
+ };
37789
+ afh_carrier_moments_omzetten_voorbeeld: {
37790
+ Args: never;
37791
+ Returns: Json;
37792
+ };
37793
+ afh_carrier_ontbreekt: {
37794
+ Args: {
37795
+ p_carrier_id: string;
37796
+ };
37797
+ Returns: string[];
37798
+ };
37799
+ afh_carrier_ontbreekt_rij: {
37800
+ Args: {
37801
+ c: Json;
37802
+ };
37803
+ Returns: string[];
37804
+ };
37805
+ afh_carriers_ontbreekt_lijst: {
37806
+ Args: never;
37807
+ Returns: Json;
37808
+ };
35443
37809
  afh_city_code: {
35444
37810
  Args: {
35445
37811
  _city: string;
@@ -35447,6 +37813,13 @@ export type Database = {
35447
37813
  };
35448
37814
  Returns: string;
35449
37815
  };
37816
+ afh_dispatch_zoektekst: {
37817
+ Args: {
37818
+ p_carrier_id: string;
37819
+ p_order_ids: string[];
37820
+ };
37821
+ Returns: string;
37822
+ };
35450
37823
  afh_ensure_defaults: {
35451
37824
  Args: never;
35452
37825
  Returns: Json;
@@ -35506,6 +37879,12 @@ export type Database = {
35506
37879
  };
35507
37880
  Returns: boolean;
35508
37881
  };
37882
+ afh_order_geannuleerd: {
37883
+ Args: {
37884
+ p_status: string;
37885
+ };
37886
+ Returns: boolean;
37887
+ };
35509
37888
  afh_order_signup_uitgesloten: {
35510
37889
  Args: {
35511
37890
  p_order_id: string;
@@ -35544,6 +37923,49 @@ export type Database = {
35544
37923
  };
35545
37924
  Returns: Json;
35546
37925
  };
37926
+ afh_signup_afmeld_groep: {
37927
+ Args: {
37928
+ p_carrier_id: string;
37929
+ p_moment_key: string;
37930
+ p_pickup_date: string;
37931
+ p_tz: string;
37932
+ };
37933
+ Returns: Json;
37934
+ };
37935
+ afh_signup_afmeld_kern: {
37936
+ Args: {
37937
+ g: Json;
37938
+ p_connection: string;
37939
+ p_purpose: string;
37940
+ p_source: string;
37941
+ p_tz: string;
37942
+ p_user: string;
37943
+ };
37944
+ Returns: Json;
37945
+ };
37946
+ afh_signup_afmeld_zeker: {
37947
+ Args: {
37948
+ p_carrier_id: string;
37949
+ p_groups: Json;
37950
+ p_order_ids: string[];
37951
+ };
37952
+ Returns: boolean;
37953
+ };
37954
+ afh_signup_afmeldingen_verwerken: {
37955
+ Args: {
37956
+ p_cfg: Json;
37957
+ p_groups: Json;
37958
+ p_tz: string;
37959
+ };
37960
+ Returns: Json;
37961
+ };
37962
+ afh_signup_afmeldmail: {
37963
+ Args: {
37964
+ g: Json;
37965
+ p_tz: string;
37966
+ };
37967
+ Returns: Json;
37968
+ };
35547
37969
  afh_signup_auto_send_on: {
35548
37970
  Args: never;
35549
37971
  Returns: boolean;
@@ -35571,6 +37993,13 @@ export type Database = {
35571
37993
  };
35572
37994
  Returns: Json;
35573
37995
  };
37996
+ afh_signup_goedkeuring_meldingen: {
37997
+ Args: {
37998
+ p_groups: Json;
37999
+ p_tz: string;
38000
+ };
38001
+ Returns: Json;
38002
+ };
35574
38003
  afh_signup_groups: {
35575
38004
  Args: {
35576
38005
  p_from: string;
@@ -35603,6 +38032,14 @@ export type Database = {
35603
38032
  };
35604
38033
  Returns: Json;
35605
38034
  };
38035
+ afh_signup_key_pickup_at: {
38036
+ Args: {
38037
+ p_date: string;
38038
+ p_key: string;
38039
+ p_tz: string;
38040
+ };
38041
+ Returns: string;
38042
+ };
35606
38043
  afh_signup_mail: {
35607
38044
  Args: {
35608
38045
  g: Json;
@@ -35673,6 +38110,10 @@ export type Database = {
35673
38110
  };
35674
38111
  Returns: string;
35675
38112
  };
38113
+ afh_vangnet_status: {
38114
+ Args: never;
38115
+ Returns: Json;
38116
+ };
35676
38117
  afhandeling_ensure_defaults: {
35677
38118
  Args: never;
35678
38119
  Returns: Json;
@@ -35852,12 +38293,47 @@ export type Database = {
35852
38293
  Args: never;
35853
38294
  Returns: boolean;
35854
38295
  };
38296
+ boekhoud_vertaal_pauzeren: {
38297
+ Args: {
38298
+ p_pauze: boolean;
38299
+ p_profile_id: string;
38300
+ };
38301
+ Returns: undefined;
38302
+ };
38303
+ boekhoud_vertaal_profiel_bevestigen: {
38304
+ Args: {
38305
+ p_profile_id: string;
38306
+ };
38307
+ Returns: undefined;
38308
+ };
38309
+ boekhoud_vertaal_profiel_kiezen: {
38310
+ Args: {
38311
+ p_administration_code: string;
38312
+ p_connection_ref: string;
38313
+ p_environment: string;
38314
+ p_provider: string;
38315
+ };
38316
+ Returns: string;
38317
+ };
38318
+ boekhoud_vertaal_profiel_uitzetten: {
38319
+ Args: {
38320
+ p_profile_id: string;
38321
+ };
38322
+ Returns: undefined;
38323
+ };
35855
38324
  boekhoud_vertaal_prune_log: {
35856
38325
  Args: {
35857
38326
  p_days?: number;
35858
38327
  };
35859
38328
  Returns: number;
35860
38329
  };
38330
+ boekhoud_vertaal_schrijven: {
38331
+ Args: {
38332
+ p_aan: boolean;
38333
+ p_profile_id: string;
38334
+ };
38335
+ Returns: undefined;
38336
+ };
35861
38337
  boekhoud_vertaal_toegang: {
35862
38338
  Args: {
35863
38339
  p_niveau: string;
@@ -35912,6 +38388,22 @@ export type Database = {
35912
38388
  id: string;
35913
38389
  }[];
35914
38390
  };
38391
+ carrier_signup_afmeld_voorbeeld: {
38392
+ Args: {
38393
+ p_carrier_id: string;
38394
+ p_moment_key: string;
38395
+ p_pickup_date: string;
38396
+ };
38397
+ Returns: Json;
38398
+ };
38399
+ carrier_signup_afmelden: {
38400
+ Args: {
38401
+ p_carrier_id: string;
38402
+ p_moment_key: string;
38403
+ p_pickup_date: string;
38404
+ };
38405
+ Returns: Json;
38406
+ };
35915
38407
  carrier_signup_overview: {
35916
38408
  Args: {
35917
38409
  p_from: string;
@@ -37202,6 +39694,21 @@ export type Database = {
37202
39694
  };
37203
39695
  Returns: string;
37204
39696
  };
39697
+ facturatie_auto_invoice_skip_reason_v2: {
39698
+ Args: {
39699
+ p_custom_fields: Json;
39700
+ p_reached_at: string;
39701
+ p_start: string;
39702
+ p_status: string;
39703
+ };
39704
+ Returns: string;
39705
+ };
39706
+ facturatie_backfill_actief: {
39707
+ Args: {
39708
+ p_custom_fields: Json;
39709
+ };
39710
+ Returns: boolean;
39711
+ };
37205
39712
  facturatie_ensure_cron: {
37206
39713
  Args: never;
37207
39714
  Returns: string;
@@ -37216,6 +39723,12 @@ export type Database = {
37216
39723
  Args: never;
37217
39724
  Returns: string;
37218
39725
  };
39726
+ facturatie_order_fase: {
39727
+ Args: {
39728
+ p_status: string;
39729
+ };
39730
+ Returns: string;
39731
+ };
37219
39732
  find_trade_item_key: {
37220
39733
  Args: {
37221
39734
  p_barcode: string;
@@ -38501,6 +41014,7 @@ export type Database = {
38501
41014
  };
38502
41015
  invoice_set_note: {
38503
41016
  Args: {
41017
+ _important?: boolean;
38504
41018
  _invoice_id: string;
38505
41019
  _note: string;
38506
41020
  };
@@ -39274,6 +41788,10 @@ export type Database = {
39274
41788
  };
39275
41789
  Returns: Json;
39276
41790
  };
41791
+ logistics_afhandeling_gereedheid: {
41792
+ Args: never;
41793
+ Returns: Json;
41794
+ };
39277
41795
  logistics_allocation_check_changes: {
39278
41796
  Args: {
39279
41797
  p_order_item_ids?: string[];
@@ -39373,6 +41891,10 @@ export type Database = {
39373
41891
  reason_code: string;
39374
41892
  }[];
39375
41893
  };
41894
+ logistics_archiveer_na_dagen: {
41895
+ Args: never;
41896
+ Returns: number;
41897
+ };
39376
41898
  logistics_artikel_vbn: {
39377
41899
  Args: {
39378
41900
  p_product_id: string;
@@ -39454,6 +41976,20 @@ export type Database = {
39454
41976
  };
39455
41977
  Returns: Json;
39456
41978
  };
41979
+ logistics_backfill_reden_cf: {
41980
+ Args: {
41981
+ p_bron: string;
41982
+ p_cf: Json;
41983
+ };
41984
+ Returns: string;
41985
+ };
41986
+ logistics_backfill_toch_indelen: {
41987
+ Args: {
41988
+ p_order_id: string;
41989
+ p_reden?: string;
41990
+ };
41991
+ Returns: Json;
41992
+ };
39457
41993
  logistics_backorder_allowed: {
39458
41994
  Args: {
39459
41995
  p_strategy_id?: string;
@@ -40212,6 +42748,12 @@ export type Database = {
40212
42748
  redenen: Json;
40213
42749
  }[];
40214
42750
  };
42751
+ logistics_cf_backfill_waar: {
42752
+ Args: {
42753
+ p_cf: Json;
42754
+ };
42755
+ Returns: boolean;
42756
+ };
40215
42757
  logistics_check_190: {
40216
42758
  Args: never;
40217
42759
  Returns: {
@@ -40936,6 +43478,12 @@ export type Database = {
40936
43478
  Args: never;
40937
43479
  Returns: Json;
40938
43480
  };
43481
+ logistics_floriday_gelijk: {
43482
+ Args: {
43483
+ p_order_id: string;
43484
+ };
43485
+ Returns: Json;
43486
+ };
40939
43487
  logistics_floriday_is_read_only: {
40940
43488
  Args: never;
40941
43489
  Returns: boolean;
@@ -41076,6 +43624,19 @@ export type Database = {
41076
43624
  width_mm: number;
41077
43625
  }[];
41078
43626
  };
43627
+ logistics_fust_sleutel: {
43628
+ Args: {
43629
+ p_b_mm: number;
43630
+ p_l_mm: number;
43631
+ };
43632
+ Returns: string;
43633
+ };
43634
+ logistics_indeling_fp: {
43635
+ Args: {
43636
+ p_order_id: string;
43637
+ };
43638
+ Returns: string;
43639
+ };
41079
43640
  logistics_install_check: {
41080
43641
  Args: never;
41081
43642
  Returns: {
@@ -41276,6 +43837,14 @@ export type Database = {
41276
43837
  toelichting: string;
41277
43838
  }[];
41278
43839
  };
43840
+ logistics_install_check_golf1: {
43841
+ Args: never;
43842
+ Returns: {
43843
+ ok: boolean;
43844
+ onderdeel: string;
43845
+ toelichting: string;
43846
+ }[];
43847
+ };
41279
43848
  logistics_install_check_productiebon: {
41280
43849
  Args: never;
41281
43850
  Returns: {
@@ -41345,6 +43914,14 @@ export type Database = {
41345
43914
  };
41346
43915
  Returns: string;
41347
43916
  };
43917
+ logistics_karindeling_bewaking: {
43918
+ Args: never;
43919
+ Returns: Json;
43920
+ };
43921
+ logistics_karindeling_onderhoud: {
43922
+ Args: never;
43923
+ Returns: Json;
43924
+ };
41348
43925
  logistics_key_product: {
41349
43926
  Args: {
41350
43927
  p_key: string;
@@ -41378,10 +43955,42 @@ export type Database = {
41378
43955
  Args: never;
41379
43956
  Returns: number;
41380
43957
  };
43958
+ logistics_laag_bevestig: {
43959
+ Args: {
43960
+ p_berekend?: number;
43961
+ p_fust_sleutel: string;
43962
+ p_fusten_per_laag: number;
43963
+ p_ladingdrager_code: string;
43964
+ p_product_id: string;
43965
+ };
43966
+ Returns: Json;
43967
+ };
43968
+ logistics_laag_bevestigd: {
43969
+ Args: {
43970
+ p_fust_b_mm: number;
43971
+ p_fust_l_mm: number;
43972
+ p_ladingdrager: string;
43973
+ p_product_id: string;
43974
+ };
43975
+ Returns: number;
43976
+ };
43977
+ logistics_laag_blokkeer_factor: {
43978
+ Args: never;
43979
+ Returns: number;
43980
+ };
41381
43981
  logistics_laag_menging_core: {
41382
43982
  Args: never;
41383
43983
  Returns: Json;
41384
43984
  };
43985
+ logistics_laag_oordeel: {
43986
+ Args: {
43987
+ p_berekend: number;
43988
+ p_bevestigd: number;
43989
+ p_factor: number;
43990
+ p_opgegeven: number;
43991
+ };
43992
+ Returns: string;
43993
+ };
41385
43994
  logistics_laag_tolerantie: {
41386
43995
  Args: never;
41387
43996
  Returns: number;
@@ -41396,6 +44005,32 @@ export type Database = {
41396
44005
  };
41397
44006
  Returns: string;
41398
44007
  };
44008
+ logistics_laag_vraag_tekst: {
44009
+ Args: {
44010
+ p_berekend: number;
44011
+ p_bron: string;
44012
+ p_opgegeven: number;
44013
+ };
44014
+ Returns: string;
44015
+ };
44016
+ logistics_laag_vragen: {
44017
+ Args: {
44018
+ p_order_id?: string;
44019
+ };
44020
+ Returns: {
44021
+ berekend: number;
44022
+ fust_sleutel: string;
44023
+ ladingdrager: string;
44024
+ ladingdrager_code: string;
44025
+ opgegeven: number;
44026
+ order_id: string;
44027
+ order_ref: string;
44028
+ product: string;
44029
+ product_id: string;
44030
+ sinds: string;
44031
+ tekst: string;
44032
+ }[];
44033
+ };
41399
44034
  logistics_ladingdrager_kies: {
41400
44035
  Args: {
41401
44036
  p_regels: Json;
@@ -41482,6 +44117,20 @@ export type Database = {
41482
44117
  Args: never;
41483
44118
  Returns: string;
41484
44119
  };
44120
+ logistics_logboek_delen_beveiligen: {
44121
+ Args: never;
44122
+ Returns: number;
44123
+ };
44124
+ logistics_logboek_onderhoud: {
44125
+ Args: never;
44126
+ Returns: Json;
44127
+ };
44128
+ logistics_logboek_partitie: {
44129
+ Args: {
44130
+ p_dag: string;
44131
+ };
44132
+ Returns: string;
44133
+ };
41485
44134
  logistics_mark_cart_delivered_core: {
41486
44135
  Args: {
41487
44136
  p_bron: string;
@@ -41514,6 +44163,25 @@ export type Database = {
41514
44163
  };
41515
44164
  Returns: number;
41516
44165
  };
44166
+ logistics_max_fusten_per_laag_v2: {
44167
+ Args: {
44168
+ p_fl: number;
44169
+ p_fw: number;
44170
+ p_ll: number;
44171
+ p_lw: number;
44172
+ p_overstek_cm?: number;
44173
+ };
44174
+ Returns: number;
44175
+ };
44176
+ logistics_melding: {
44177
+ Args: {
44178
+ p_detail?: string;
44179
+ p_functie: string;
44180
+ p_order_id: string;
44181
+ p_tekst: string;
44182
+ };
44183
+ Returns: undefined;
44184
+ };
41517
44185
  logistics_merge_decision: {
41518
44186
  Args: {
41519
44187
  p_lines: Json;
@@ -41565,6 +44233,13 @@ export type Database = {
41565
44233
  };
41566
44234
  Returns: string;
41567
44235
  };
44236
+ logistics_niet_afgemeld: {
44237
+ Args: {
44238
+ p_limit?: number;
44239
+ p_offset?: number;
44240
+ };
44241
+ Returns: Json;
44242
+ };
41568
44243
  logistics_nl_date: {
41569
44244
  Args: {
41570
44245
  p_day: string;
@@ -41613,6 +44288,12 @@ export type Database = {
41613
44288
  };
41614
44289
  Returns: boolean;
41615
44290
  };
44291
+ logistics_order_afmelden: {
44292
+ Args: {
44293
+ p_order_id: string;
44294
+ };
44295
+ Returns: Json;
44296
+ };
41616
44297
  logistics_order_all_carts_scanned: {
41617
44298
  Args: {
41618
44299
  p_order_id: string;
@@ -41851,6 +44532,12 @@ export type Database = {
41851
44532
  };
41852
44533
  Returns: boolean;
41853
44534
  };
44535
+ logistics_order_heeft_kar: {
44536
+ Args: {
44537
+ p_order_id: string;
44538
+ };
44539
+ Returns: boolean;
44540
+ };
41854
44541
  logistics_order_herindelen: {
41855
44542
  Args: {
41856
44543
  p_order_id: string;
@@ -41936,6 +44623,18 @@ export type Database = {
41936
44623
  };
41937
44624
  Returns: boolean;
41938
44625
  };
44626
+ logistics_order_momenten: {
44627
+ Args: {
44628
+ p_order_id: string;
44629
+ };
44630
+ Returns: Json;
44631
+ };
44632
+ logistics_order_noodroute: {
44633
+ Args: {
44634
+ p_order_id: string;
44635
+ };
44636
+ Returns: Json;
44637
+ };
41939
44638
  logistics_order_on_frozen_shared_cart: {
41940
44639
  Args: {
41941
44640
  p_order_id: string;
@@ -42130,6 +44829,12 @@ export type Database = {
42130
44829
  };
42131
44830
  Returns: boolean;
42132
44831
  };
44832
+ logistics_ordermomenten_bijwerken: {
44833
+ Args: {
44834
+ p_limit?: number;
44835
+ };
44836
+ Returns: Json;
44837
+ };
42133
44838
  logistics_orphan_carts_list: {
42134
44839
  Args: never;
42135
44840
  Returns: Json;
@@ -42549,6 +45254,27 @@ export type Database = {
42549
45254
  };
42550
45255
  Returns: number;
42551
45256
  };
45257
+ logistics_plan_gegevens_codes: {
45258
+ Args: never;
45259
+ Returns: string[];
45260
+ };
45261
+ logistics_plan_gegevens_opnieuw: {
45262
+ Args: {
45263
+ p_order_ids: string[];
45264
+ p_reden: string;
45265
+ };
45266
+ Returns: number;
45267
+ };
45268
+ logistics_plan_gegevens_vangnet: {
45269
+ Args: {
45270
+ p_force?: boolean;
45271
+ };
45272
+ Returns: Json;
45273
+ };
45274
+ logistics_plan_herstel_tijdelijk: {
45275
+ Args: never;
45276
+ Returns: Json;
45277
+ };
42552
45278
  logistics_plan_housekeeping: {
42553
45279
  Args: never;
42554
45280
  Returns: Json;
@@ -42569,6 +45295,12 @@ export type Database = {
42569
45295
  };
42570
45296
  Returns: string;
42571
45297
  };
45298
+ logistics_plan_is_tijdelijk: {
45299
+ Args: {
45300
+ p_text: string;
45301
+ };
45302
+ Returns: boolean;
45303
+ };
42572
45304
  logistics_plan_kick: {
42573
45305
  Args: never;
42574
45306
  Returns: undefined;
@@ -42688,6 +45420,19 @@ export type Database = {
42688
45420
  };
42689
45421
  Returns: Json;
42690
45422
  };
45423
+ logistics_plan_tijdelijk_opnieuw: {
45424
+ Args: {
45425
+ p_order_ids: string[];
45426
+ p_reason: string;
45427
+ };
45428
+ Returns: string[];
45429
+ };
45430
+ logistics_plan_tijdelijk_wacht: {
45431
+ Args: {
45432
+ p_attempts: number;
45433
+ };
45434
+ Returns: string;
45435
+ };
42691
45436
  logistics_plan_timeout_running: {
42692
45437
  Args: never;
42693
45438
  Returns: number;
@@ -43323,6 +46068,12 @@ export type Database = {
43323
46068
  };
43324
46069
  Returns: Json;
43325
46070
  };
46071
+ logistics_schedule_tasks_vervolg: {
46072
+ Args: {
46073
+ p_budget_ms?: number;
46074
+ };
46075
+ Returns: Json;
46076
+ };
43326
46077
  logistics_schema_versie: {
43327
46078
  Args: never;
43328
46079
  Returns: string;
@@ -43615,6 +46366,27 @@ export type Database = {
43615
46366
  };
43616
46367
  Returns: boolean;
43617
46368
  };
46369
+ logistics_status_fase: {
46370
+ Args: {
46371
+ p_status: string;
46372
+ };
46373
+ Returns: string;
46374
+ };
46375
+ logistics_status_fasen_ensure: {
46376
+ Args: never;
46377
+ Returns: Json;
46378
+ };
46379
+ logistics_status_fasen_standaard: {
46380
+ Args: never;
46381
+ Returns: {
46382
+ fase: string;
46383
+ status_sleutel: string;
46384
+ }[];
46385
+ };
46386
+ logistics_status_onbekend_controle: {
46387
+ Args: never;
46388
+ Returns: Json;
46389
+ };
43618
46390
  logistics_sticker_blocked_list: {
43619
46391
  Args: never;
43620
46392
  Returns: Json;
@@ -44058,6 +46830,14 @@ export type Database = {
44058
46830
  Args: never;
44059
46831
  Returns: string;
44060
46832
  };
46833
+ logistics_tz_controle: {
46834
+ Args: never;
46835
+ Returns: Json;
46836
+ };
46837
+ logistics_tz_status: {
46838
+ Args: never;
46839
+ Returns: Json;
46840
+ };
44061
46841
  logistics_unit_all_carts_scanned: {
44062
46842
  Args: {
44063
46843
  p_order_id: string;
@@ -44108,6 +46888,49 @@ export type Database = {
44108
46888
  };
44109
46889
  Returns: string;
44110
46890
  };
46891
+ logistics_werker_budget_ms: {
46892
+ Args: never;
46893
+ Returns: number;
46894
+ };
46895
+ logistics_werker_draai: {
46896
+ Args: {
46897
+ p_stappen: Json;
46898
+ p_werker: string;
46899
+ };
46900
+ Returns: Json;
46901
+ };
46902
+ logistics_werker_onderhoud: {
46903
+ Args: never;
46904
+ Returns: Json;
46905
+ };
46906
+ logistics_werker_pickwachtrij: {
46907
+ Args: never;
46908
+ Returns: Json;
46909
+ };
46910
+ logistics_werker_planning: {
46911
+ Args: never;
46912
+ Returns: Json;
46913
+ };
46914
+ logistics_werker_taken: {
46915
+ Args: never;
46916
+ Returns: Json;
46917
+ };
46918
+ logistics_werkers_actief: {
46919
+ Args: never;
46920
+ Returns: Json;
46921
+ };
46922
+ logistics_werkset_bijwerken: {
46923
+ Args: {
46924
+ p_order_id: string;
46925
+ };
46926
+ Returns: undefined;
46927
+ };
46928
+ logistics_werkset_herstel: {
46929
+ Args: {
46930
+ p_max?: number;
46931
+ };
46932
+ Returns: Json;
46933
+ };
44111
46934
  logistics_working_hours_status: {
44112
46935
  Args: never;
44113
46936
  Returns: Json;
@@ -44722,6 +47545,10 @@ export type Database = {
44722
47545
  };
44723
47546
  Returns: Json;
44724
47547
  };
47548
+ pick_cleanup_history: {
47549
+ Args: never;
47550
+ Returns: Json;
47551
+ };
44725
47552
  pick_cleanup_maintenance: {
44726
47553
  Args: {
44727
47554
  _heartbeat_hours?: number;
@@ -49608,6 +52435,16 @@ export type Database = {
49608
52435
  };
49609
52436
  Returns: string;
49610
52437
  };
52438
+ verkoop_annulering_aanvullen_uitvoeren: {
52439
+ Args: {
52440
+ p_max?: number;
52441
+ };
52442
+ Returns: Json;
52443
+ };
52444
+ verkoop_annulering_aanvullen_voorbeeld: {
52445
+ Args: never;
52446
+ Returns: Json;
52447
+ };
49611
52448
  verkoop_assert_caller: {
49612
52449
  Args: {
49613
52450
  p_level: string;
@@ -49615,10 +52452,38 @@ export type Database = {
49615
52452
  };
49616
52453
  Returns: undefined;
49617
52454
  };
52455
+ verkoop_backfill_onterecht_kandidaten: {
52456
+ Args: never;
52457
+ Returns: {
52458
+ bron: string;
52459
+ fase: string;
52460
+ leverdag: string;
52461
+ order_id: string;
52462
+ order_number: string;
52463
+ status: string;
52464
+ waarde: Json;
52465
+ }[];
52466
+ };
52467
+ verkoop_backfill_onterecht_uitvoeren: {
52468
+ Args: {
52469
+ p_max?: number;
52470
+ };
52471
+ Returns: Json;
52472
+ };
52473
+ verkoop_backfill_onterecht_voorbeeld: {
52474
+ Args: never;
52475
+ Returns: Json;
52476
+ };
49618
52477
  verkoop_bewaking_verwijderd: {
49619
52478
  Args: never;
49620
52479
  Returns: Json;
49621
52480
  };
52481
+ verkoop_cf_is_backfill: {
52482
+ Args: {
52483
+ p_cf: Json;
52484
+ };
52485
+ Returns: boolean;
52486
+ };
49622
52487
  verkoop_correctie_verpakking: {
49623
52488
  Args: {
49624
52489
  p_uitvoeren?: boolean;
@@ -49798,6 +52663,32 @@ export type Database = {
49798
52663
  };
49799
52664
  Returns: Json;
49800
52665
  };
52666
+ verkoop_lege_orders_kandidaten: {
52667
+ Args: never;
52668
+ Returns: {
52669
+ actie: string;
52670
+ bron: string;
52671
+ fase: string;
52672
+ klant: string;
52673
+ koppeling: string;
52674
+ leverdag: string;
52675
+ order_id: string;
52676
+ order_number: string;
52677
+ status: string;
52678
+ zus_order_id: string;
52679
+ zus_order_number: string;
52680
+ }[];
52681
+ };
52682
+ verkoop_lege_orders_uitvoeren: {
52683
+ Args: {
52684
+ p_max?: number;
52685
+ };
52686
+ Returns: Json;
52687
+ };
52688
+ verkoop_lege_orders_voorbeeld: {
52689
+ Args: never;
52690
+ Returns: Json;
52691
+ };
49801
52692
  verkoop_packing_drift_apply: {
49802
52693
  Args: {
49803
52694
  p_order_ids: string[];
@@ -49846,6 +52737,22 @@ export type Database = {
49846
52737
  };
49847
52738
  Returns: undefined;
49848
52739
  };
52740
+ verkoop_shipped_uitvoeren: {
52741
+ Args: {
52742
+ p_max?: number;
52743
+ };
52744
+ Returns: Json;
52745
+ };
52746
+ verkoop_shipped_voorbeeld: {
52747
+ Args: never;
52748
+ Returns: Json;
52749
+ };
52750
+ verkoop_status_fase: {
52751
+ Args: {
52752
+ p_status: string;
52753
+ };
52754
+ Returns: string;
52755
+ };
49849
52756
  verkoop_sync_bewaking: {
49850
52757
  Args: never;
49851
52758
  Returns: Json;
@@ -50145,6 +53052,10 @@ export type Database = {
50145
53052
  };
50146
53053
  Returns: string[];
50147
53054
  };
53055
+ voorraad_fasen_na_verzending: {
53056
+ Args: never;
53057
+ Returns: string[];
53058
+ };
50148
53059
  voorraad_floriday_artikelen_aanmaken: {
50149
53060
  Args: {
50150
53061
  p_connection_id?: string;
@@ -50654,6 +53565,24 @@ export type Database = {
50654
53565
  };
50655
53566
  Returns: string;
50656
53567
  };
53568
+ voorraad_status_gesloten: {
53569
+ Args: {
53570
+ p_status: string;
53571
+ };
53572
+ Returns: boolean;
53573
+ };
53574
+ voorraad_status_na_verzending: {
53575
+ Args: {
53576
+ p_status: string;
53577
+ };
53578
+ Returns: boolean;
53579
+ };
53580
+ voorraad_statussen_in_fasen: {
53581
+ Args: {
53582
+ p_fasen: string[];
53583
+ };
53584
+ Returns: string[];
53585
+ };
50657
53586
  voorraad_stock_context_status: {
50658
53587
  Args: never;
50659
53588
  Returns: Json;