@flowselections/floriday-afhandeling-module 1.0.107 → 1.0.109

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 (56) hide show
  1. package/dist-lib/components/afhandeling/AanmeldingenPage.d.ts +2 -0
  2. package/dist-lib/components/afhandeling/AanmeldingenPage.d.ts.map +1 -0
  3. package/dist-lib/components/afhandeling/AanmeldingenPage.js +252 -0
  4. package/dist-lib/components/afhandeling/DeliveryLocationPicker.d.ts +7 -3
  5. package/dist-lib/components/afhandeling/DeliveryLocationPicker.d.ts.map +1 -1
  6. package/dist-lib/components/afhandeling/DeliveryLocationPicker.js +29 -21
  7. package/dist-lib/components/afhandeling/ServiceAreaSelect.d.ts.map +1 -1
  8. package/dist-lib/components/afhandeling/ServiceAreaSelect.js +6 -6
  9. package/dist-lib/components/afhandeling/SignupAutoSendBlock.d.ts.map +1 -1
  10. package/dist-lib/components/afhandeling/SignupAutoSendBlock.js +16 -3
  11. package/dist-lib/components/afhandeling/VervoerderForm.d.ts.map +1 -1
  12. package/dist-lib/components/afhandeling/VervoerderForm.js +121 -51
  13. package/dist-lib/components/afhandeling/VervoerdersPage.d.ts.map +1 -1
  14. package/dist-lib/components/afhandeling/VervoerdersPage.js +65 -20
  15. package/dist-lib/components/fs-ui/DataTable.d.ts +4 -2
  16. package/dist-lib/components/fs-ui/DataTable.d.ts.map +1 -1
  17. package/dist-lib/components/fs-ui/DataTable.js +3 -2
  18. package/dist-lib/components/settings/AfhandelingSettingsCard.d.ts.map +1 -1
  19. package/dist-lib/components/settings/AfhandelingSettingsCard.js +7 -6
  20. package/dist-lib/index.d.ts +1 -0
  21. package/dist-lib/index.d.ts.map +1 -1
  22. package/dist-lib/index.js +1 -0
  23. package/dist-lib/integrations/supabase/types.d.ts +3421 -70
  24. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  25. package/dist-lib/lib/aanmeldStatus.d.ts +18 -0
  26. package/dist-lib/lib/aanmeldStatus.d.ts.map +1 -0
  27. package/dist-lib/lib/aanmeldStatus.js +64 -0
  28. package/dist-lib/lib/aanmeldStatus.test.d.ts +2 -0
  29. package/dist-lib/lib/aanmeldStatus.test.d.ts.map +1 -0
  30. package/dist-lib/lib/aanmeldStatus.test.js +15 -0
  31. package/dist-lib/lib/aanmeldingen.functions.d.ts +162 -0
  32. package/dist-lib/lib/aanmeldingen.functions.d.ts.map +1 -0
  33. package/dist-lib/lib/aanmeldingen.functions.js +170 -0
  34. package/dist-lib/lib/afhandelingDefaults.test.js +1 -1
  35. package/dist-lib/lib/afhandelingSettings.functions.js +2 -2
  36. package/dist-lib/lib/carrierReadiness.d.ts +1 -0
  37. package/dist-lib/lib/carrierReadiness.d.ts.map +1 -1
  38. package/dist-lib/lib/carrierReadiness.js +1 -1
  39. package/dist-lib/lib/carrierSignup.functions.d.ts +20 -0
  40. package/dist-lib/lib/carrierSignup.functions.d.ts.map +1 -1
  41. package/dist-lib/lib/carrierSignup.functions.js +26 -0
  42. package/dist-lib/lib/carrierWizard.d.ts +46 -0
  43. package/dist-lib/lib/carrierWizard.d.ts.map +1 -0
  44. package/dist-lib/lib/carrierWizard.js +100 -0
  45. package/dist-lib/lib/carrierWizard.test.d.ts +2 -0
  46. package/dist-lib/lib/carrierWizard.test.d.ts.map +1 -0
  47. package/dist-lib/lib/carrierWizard.test.js +65 -0
  48. package/dist-lib/lib/carriers.functions.d.ts +54 -0
  49. package/dist-lib/lib/carriers.functions.d.ts.map +1 -1
  50. package/dist-lib/lib/carriers.functions.js +66 -3
  51. package/dist-lib/lib/signupMailText.d.ts.map +1 -1
  52. package/dist-lib/lib/signupMailText.js +34 -4
  53. package/dist-lib/moduleDefinition.d.ts.map +1 -1
  54. package/dist-lib/moduleDefinition.js +2 -1
  55. package/package.json +17 -1
  56. package/schema/90_afhandeling.sql +3035 -21
@@ -338,6 +338,7 @@ export type Database = {
338
338
  changed_by: string | null;
339
339
  created_at: string;
340
340
  id: boolean;
341
+ signup_approval_notice_minutes: number;
341
342
  signup_auto_send: boolean;
342
343
  };
343
344
  Insert: {
@@ -345,6 +346,7 @@ export type Database = {
345
346
  changed_by?: string | null;
346
347
  created_at?: string;
347
348
  id?: boolean;
349
+ signup_approval_notice_minutes?: number;
348
350
  signup_auto_send?: boolean;
349
351
  };
350
352
  Update: {
@@ -352,6 +354,7 @@ export type Database = {
352
354
  changed_by?: string | null;
353
355
  created_at?: string;
354
356
  id?: boolean;
357
+ signup_approval_notice_minutes?: number;
355
358
  signup_auto_send?: boolean;
356
359
  };
357
360
  Relationships: [];
@@ -383,6 +386,106 @@ export type Database = {
383
386
  };
384
387
  Relationships: [];
385
388
  };
389
+ afh_signup_goedkeuringen: {
390
+ Row: {
391
+ approved_at: string;
392
+ approved_by: string | null;
393
+ carrier_id: string;
394
+ created_at: string;
395
+ id: string;
396
+ pickup_date: string;
397
+ pickup_moment_key: string;
398
+ };
399
+ Insert: {
400
+ approved_at?: string;
401
+ approved_by?: string | null;
402
+ carrier_id: string;
403
+ created_at?: string;
404
+ id?: string;
405
+ pickup_date: string;
406
+ pickup_moment_key: string;
407
+ };
408
+ Update: {
409
+ approved_at?: string;
410
+ approved_by?: string | null;
411
+ carrier_id?: string;
412
+ created_at?: string;
413
+ id?: string;
414
+ pickup_date?: string;
415
+ pickup_moment_key?: string;
416
+ };
417
+ Relationships: [
418
+ {
419
+ foreignKeyName: "afh_signup_goedkeuringen_carrier_id_fkey";
420
+ columns: ["carrier_id"];
421
+ isOneToOne: false;
422
+ referencedRelation: "carriers";
423
+ referencedColumns: ["id"];
424
+ }
425
+ ];
426
+ };
427
+ afh_signup_meldingen: {
428
+ Row: {
429
+ carrier_id: string;
430
+ created_at: string;
431
+ fingerprint: string | null;
432
+ id: string;
433
+ pickup_date: string;
434
+ pickup_moment_key: string;
435
+ soort: string;
436
+ };
437
+ Insert: {
438
+ carrier_id: string;
439
+ created_at?: string;
440
+ fingerprint?: string | null;
441
+ id?: string;
442
+ pickup_date: string;
443
+ pickup_moment_key: string;
444
+ soort?: string;
445
+ };
446
+ Update: {
447
+ carrier_id?: string;
448
+ created_at?: string;
449
+ fingerprint?: string | null;
450
+ id?: string;
451
+ pickup_date?: string;
452
+ pickup_moment_key?: string;
453
+ soort?: string;
454
+ };
455
+ Relationships: [
456
+ {
457
+ foreignKeyName: "afh_signup_meldingen_carrier_id_fkey";
458
+ columns: ["carrier_id"];
459
+ isOneToOne: false;
460
+ referencedRelation: "carriers";
461
+ referencedColumns: ["id"];
462
+ }
463
+ ];
464
+ };
465
+ afh_signup_taak_stand: {
466
+ Row: {
467
+ id: boolean;
468
+ laatste_volledig: string | null;
469
+ merk: string | null;
470
+ updated_at: string;
471
+ volgende_due: string | null;
472
+ };
473
+ Insert: {
474
+ id?: boolean;
475
+ laatste_volledig?: string | null;
476
+ merk?: string | null;
477
+ updated_at?: string;
478
+ volgende_due?: string | null;
479
+ };
480
+ Update: {
481
+ id?: boolean;
482
+ laatste_volledig?: string | null;
483
+ merk?: string | null;
484
+ updated_at?: string;
485
+ volgende_due?: string | null;
486
+ };
487
+ Relationships: [];
488
+ };
386
489
  afhandeling_settings: {
387
490
  Row: {
388
491
  auto_print_delivery_note: boolean;
@@ -1648,6 +1751,8 @@ export type Database = {
1648
1751
  fingerprint: string | null;
1649
1752
  id: string;
1650
1753
  kind: string;
1754
+ onjuist_at: string | null;
1755
+ onjuist_reden: string | null;
1651
1756
  order_count: number;
1652
1757
  order_ids: string[] | null;
1653
1758
  outbox_id: string | null;
@@ -1659,6 +1764,7 @@ export type Database = {
1659
1764
  signup_deadline: string;
1660
1765
  source: string;
1661
1766
  version: number;
1767
+ zoektekst: string | null;
1662
1768
  };
1663
1769
  Insert: {
1664
1770
  carrier_id: string;
@@ -1668,6 +1774,8 @@ export type Database = {
1668
1774
  fingerprint?: string | null;
1669
1775
  id?: string;
1670
1776
  kind?: string;
1777
+ onjuist_at?: string | null;
1778
+ onjuist_reden?: string | null;
1671
1779
  order_count?: number;
1672
1780
  order_ids?: string[] | null;
1673
1781
  outbox_id?: string | null;
@@ -1679,6 +1787,7 @@ export type Database = {
1679
1787
  signup_deadline: string;
1680
1788
  source?: string;
1681
1789
  version?: number;
1790
+ zoektekst?: string | null;
1682
1791
  };
1683
1792
  Update: {
1684
1793
  carrier_id?: string;
@@ -1688,6 +1797,8 @@ export type Database = {
1688
1797
  fingerprint?: string | null;
1689
1798
  id?: string;
1690
1799
  kind?: string;
1800
+ onjuist_at?: string | null;
1801
+ onjuist_reden?: string | null;
1691
1802
  order_count?: number;
1692
1803
  order_ids?: string[] | null;
1693
1804
  outbox_id?: string | null;
@@ -1699,6 +1810,7 @@ export type Database = {
1699
1810
  signup_deadline?: string;
1700
1811
  source?: string;
1701
1812
  version?: number;
1813
+ zoektekst?: string | null;
1702
1814
  };
1703
1815
  Relationships: [
1704
1816
  {
@@ -1719,6 +1831,7 @@ export type Database = {
1719
1831
  created_at: string;
1720
1832
  delivery_days: number | null;
1721
1833
  delivery_location_glns: string[];
1834
+ delivery_location_ids: string[];
1722
1835
  delivery_weekdays: number[];
1723
1836
  email: string | null;
1724
1837
  id: string;
@@ -1731,8 +1844,12 @@ export type Database = {
1731
1844
  pickup_weekdays: number[];
1732
1845
  service_cities: string[];
1733
1846
  service_countries: string[];
1847
+ service_everywhere: boolean;
1734
1848
  service_provinces: string[];
1849
+ signup_approval: string;
1735
1850
  signup_days_before_delivery: number;
1851
+ signup_method: string;
1852
+ signup_send_margin_minutes: number | null;
1736
1853
  signup_time_1: string | null;
1737
1854
  signup_time_2: string | null;
1738
1855
  sort_order: number;
@@ -1747,6 +1864,7 @@ export type Database = {
1747
1864
  created_at?: string;
1748
1865
  delivery_days?: number | null;
1749
1866
  delivery_location_glns?: string[];
1867
+ delivery_location_ids?: string[];
1750
1868
  delivery_weekdays?: number[];
1751
1869
  email?: string | null;
1752
1870
  id?: string;
@@ -1759,8 +1877,12 @@ export type Database = {
1759
1877
  pickup_weekdays?: number[];
1760
1878
  service_cities?: string[];
1761
1879
  service_countries?: string[];
1880
+ service_everywhere?: boolean;
1762
1881
  service_provinces?: string[];
1882
+ signup_approval?: string;
1763
1883
  signup_days_before_delivery?: number;
1884
+ signup_method?: string;
1885
+ signup_send_margin_minutes?: number | null;
1764
1886
  signup_time_1?: string | null;
1765
1887
  signup_time_2?: string | null;
1766
1888
  sort_order?: number;
@@ -1775,6 +1897,7 @@ export type Database = {
1775
1897
  created_at?: string;
1776
1898
  delivery_days?: number | null;
1777
1899
  delivery_location_glns?: string[];
1900
+ delivery_location_ids?: string[];
1778
1901
  delivery_weekdays?: number[];
1779
1902
  email?: string | null;
1780
1903
  id?: string;
@@ -1787,8 +1910,12 @@ export type Database = {
1787
1910
  pickup_weekdays?: number[];
1788
1911
  service_cities?: string[];
1789
1912
  service_countries?: string[];
1913
+ service_everywhere?: boolean;
1790
1914
  service_provinces?: string[];
1915
+ signup_approval?: string;
1791
1916
  signup_days_before_delivery?: number;
1917
+ signup_method?: string;
1918
+ signup_send_margin_minutes?: number | null;
1792
1919
  signup_time_1?: string | null;
1793
1920
  signup_time_2?: string | null;
1794
1921
  sort_order?: number;
@@ -2709,6 +2836,57 @@ export type Database = {
2709
2836
  };
2710
2837
  Relationships: [];
2711
2838
  };
2839
+ customer_fust_stickers: {
2840
+ Row: {
2841
+ content_hash: string | null;
2842
+ created_at: string;
2843
+ customer_key: string;
2844
+ file_name: string;
2845
+ file_path: string;
2846
+ file_size: number | null;
2847
+ height_mm: number | null;
2848
+ id: string;
2849
+ mime_type: string | null;
2850
+ source: string;
2851
+ trade_item_key: string;
2852
+ updated_at: string;
2853
+ uploaded_by: string | null;
2854
+ width_mm: number | null;
2855
+ };
2856
+ Insert: {
2857
+ content_hash?: string | null;
2858
+ created_at?: string;
2859
+ customer_key: string;
2860
+ file_name: string;
2861
+ file_path: string;
2862
+ file_size?: number | null;
2863
+ height_mm?: number | null;
2864
+ id?: string;
2865
+ mime_type?: string | null;
2866
+ source?: string;
2867
+ trade_item_key: string;
2868
+ updated_at?: string;
2869
+ uploaded_by?: string | null;
2870
+ width_mm?: number | null;
2871
+ };
2872
+ Update: {
2873
+ content_hash?: string | null;
2874
+ created_at?: string;
2875
+ customer_key?: string;
2876
+ file_name?: string;
2877
+ file_path?: string;
2878
+ file_size?: number | null;
2879
+ height_mm?: number | null;
2880
+ id?: string;
2881
+ mime_type?: string | null;
2882
+ source?: string;
2883
+ trade_item_key?: string;
2884
+ updated_at?: string;
2885
+ uploaded_by?: string | null;
2886
+ width_mm?: number | null;
2887
+ };
2888
+ Relationships: [];
2889
+ };
2712
2890
  customer_logistics_strategy: {
2713
2891
  Row: {
2714
2892
  created_at: string;
@@ -3044,6 +3222,8 @@ export type Database = {
3044
3222
  Row: {
3045
3223
  created_at: string;
3046
3224
  customer_key: string;
3225
+ fust_height_mm: number | null;
3226
+ fust_width_mm: number | null;
3047
3227
  height_mm: number;
3048
3228
  updated_at: string;
3049
3229
  width_mm: number;
@@ -3051,6 +3231,8 @@ export type Database = {
3051
3231
  Insert: {
3052
3232
  created_at?: string;
3053
3233
  customer_key: string;
3234
+ fust_height_mm?: number | null;
3235
+ fust_width_mm?: number | null;
3054
3236
  height_mm?: number;
3055
3237
  updated_at?: string;
3056
3238
  width_mm?: number;
@@ -3058,6 +3240,8 @@ export type Database = {
3058
3240
  Update: {
3059
3241
  created_at?: string;
3060
3242
  customer_key?: string;
3243
+ fust_height_mm?: number | null;
3244
+ fust_width_mm?: number | null;
3061
3245
  height_mm?: number;
3062
3246
  updated_at?: string;
3063
3247
  width_mm?: number;
@@ -11809,6 +11993,7 @@ export type Database = {
11809
11993
  last_send_outbox_id: string | null;
11810
11994
  merged_into: string | null;
11811
11995
  note: string | null;
11996
+ note_important: boolean;
11812
11997
  paid_at: string | null;
11813
11998
  payment_term_days: number;
11814
11999
  reference: string | null;
@@ -11848,6 +12033,7 @@ export type Database = {
11848
12033
  last_send_outbox_id?: string | null;
11849
12034
  merged_into?: string | null;
11850
12035
  note?: string | null;
12036
+ note_important?: boolean;
11851
12037
  paid_at?: string | null;
11852
12038
  payment_term_days?: number;
11853
12039
  reference?: string | null;
@@ -11887,6 +12073,7 @@ export type Database = {
11887
12073
  last_send_outbox_id?: string | null;
11888
12074
  merged_into?: string | null;
11889
12075
  note?: string | null;
12076
+ note_important?: boolean;
11890
12077
  paid_at?: string | null;
11891
12078
  payment_term_days?: number;
11892
12079
  reference?: string | null;
@@ -13588,6 +13775,7 @@ export type Database = {
13588
13775
  max_orders: number | null;
13589
13776
  max_weight_kg: number | null;
13590
13777
  name: string;
13778
+ overstek_cm: number;
13591
13779
  sort_order: number;
13592
13780
  updated_at: string;
13593
13781
  };
@@ -13609,6 +13797,7 @@ export type Database = {
13609
13797
  max_orders?: number | null;
13610
13798
  max_weight_kg?: number | null;
13611
13799
  name: string;
13800
+ overstek_cm?: number;
13612
13801
  sort_order?: number;
13613
13802
  updated_at?: string;
13614
13803
  };
@@ -13630,6 +13819,7 @@ export type Database = {
13630
13819
  max_orders?: number | null;
13631
13820
  max_weight_kg?: number | null;
13632
13821
  name?: string;
13822
+ overstek_cm?: number;
13633
13823
  sort_order?: number;
13634
13824
  updated_at?: string;
13635
13825
  };
@@ -14004,6 +14194,27 @@ export type Database = {
14004
14194
  };
14005
14195
  Relationships: [];
14006
14196
  };
14197
+ logistics_backfill_uitzondering: {
14198
+ Row: {
14199
+ door: string | null;
14200
+ op: string;
14201
+ order_id: string;
14202
+ reden: string | null;
14203
+ };
14204
+ Insert: {
14205
+ door?: string | null;
14206
+ op?: string;
14207
+ order_id: string;
14208
+ reden?: string | null;
14209
+ };
14210
+ Update: {
14211
+ door?: string | null;
14212
+ op?: string;
14213
+ order_id?: string;
14214
+ reden?: string | null;
14215
+ };
14216
+ Relationships: [];
14217
+ };
14007
14218
  logistics_base_url_checks: {
14008
14219
  Row: {
14009
14220
  candidate_host: string | null;
@@ -15154,6 +15365,45 @@ export type Database = {
15154
15365
  };
15155
15366
  Relationships: [];
15156
15367
  };
15368
+ logistics_laag_bevestigingen: {
15369
+ Row: {
15370
+ berekend: number | null;
15371
+ bevestigd_door: string | null;
15372
+ bevestigd_op: string;
15373
+ created_at: string;
15374
+ fust_sleutel: string;
15375
+ fusten_per_laag: number;
15376
+ id: string;
15377
+ ladingdrager_code: string;
15378
+ product_id: string;
15379
+ updated_at: string;
15380
+ };
15381
+ Insert: {
15382
+ berekend?: number | null;
15383
+ bevestigd_door?: string | null;
15384
+ bevestigd_op?: string;
15385
+ created_at?: string;
15386
+ fust_sleutel: string;
15387
+ fusten_per_laag: number;
15388
+ id?: string;
15389
+ ladingdrager_code: string;
15390
+ product_id: string;
15391
+ updated_at?: string;
15392
+ };
15393
+ Update: {
15394
+ berekend?: number | null;
15395
+ bevestigd_door?: string | null;
15396
+ bevestigd_op?: string;
15397
+ created_at?: string;
15398
+ fust_sleutel?: string;
15399
+ fusten_per_laag?: number;
15400
+ id?: string;
15401
+ ladingdrager_code?: string;
15402
+ product_id?: string;
15403
+ updated_at?: string;
15404
+ };
15405
+ Relationships: [];
15406
+ };
15157
15407
  logistics_layer_override_log: {
15158
15408
  Row: {
15159
15409
  cart_id: string;
@@ -15184,111 +15434,2064 @@ export type Database = {
15184
15434
  };
15185
15435
  Relationships: [];
15186
15436
  };
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: {
15437
+ logistics_logboek: {
15215
15438
  Row: {
15216
- aantal: number | null;
15439
+ actor: string | null;
15440
+ attempts: number | null;
15441
+ calc: Json | null;
15442
+ cart_ref: string | null;
15217
15443
  created_at: string;
15218
- fout: string | null;
15219
- group_key: string | null;
15444
+ db_action: string | null;
15445
+ db_new: Json | null;
15446
+ db_old: Json | null;
15447
+ db_record: string | null;
15448
+ db_table: string | null;
15449
+ decision: string | null;
15450
+ duration_ms: number | null;
15451
+ error: string | null;
15452
+ error_class: string | null;
15453
+ external_action: string | null;
15454
+ external_ref: string | null;
15455
+ external_response: Json | null;
15456
+ external_status: string | null;
15457
+ external_system: string | null;
15220
15458
  id: string;
15221
- order_id: string | null;
15222
- soort: string;
15459
+ input: Json | null;
15460
+ next_attempt_at: string | null;
15461
+ next_step: string | null;
15462
+ node_id: string | null;
15463
+ order_ref: string | null;
15464
+ order_source: string | null;
15465
+ output: Json | null;
15466
+ phase: string | null;
15467
+ reads: Json | null;
15468
+ reason: string | null;
15469
+ rule: string | null;
15470
+ slip_ref: string | null;
15471
+ status: string | null;
15472
+ step: string | null;
15473
+ trace_id: string | null;
15474
+ values_used: Json | null;
15475
+ vervalt_op: string;
15223
15476
  };
15224
15477
  Insert: {
15225
- aantal?: number | null;
15478
+ actor?: string | null;
15479
+ attempts?: number | null;
15480
+ calc?: Json | null;
15481
+ cart_ref?: string | null;
15226
15482
  created_at?: string;
15227
- fout?: string | null;
15228
- group_key?: string | null;
15483
+ db_action?: string | null;
15484
+ db_new?: Json | null;
15485
+ db_old?: Json | null;
15486
+ db_record?: string | null;
15487
+ db_table?: string | null;
15488
+ decision?: string | null;
15489
+ duration_ms?: number | null;
15490
+ error?: string | null;
15491
+ error_class?: string | null;
15492
+ external_action?: string | null;
15493
+ external_ref?: string | null;
15494
+ external_response?: Json | null;
15495
+ external_status?: string | null;
15496
+ external_system?: string | null;
15229
15497
  id?: string;
15230
- order_id?: string | null;
15231
- soort: string;
15498
+ input?: Json | null;
15499
+ next_attempt_at?: string | null;
15500
+ next_step?: string | null;
15501
+ node_id?: string | null;
15502
+ order_ref?: string | null;
15503
+ order_source?: string | null;
15504
+ output?: Json | null;
15505
+ phase?: string | null;
15506
+ reads?: Json | null;
15507
+ reason?: string | null;
15508
+ rule?: string | null;
15509
+ slip_ref?: string | null;
15510
+ status?: string | null;
15511
+ step?: string | null;
15512
+ trace_id?: string | null;
15513
+ values_used?: Json | null;
15514
+ vervalt_op: string;
15232
15515
  };
15233
15516
  Update: {
15234
- aantal?: number | null;
15517
+ actor?: string | null;
15518
+ attempts?: number | null;
15519
+ calc?: Json | null;
15520
+ cart_ref?: string | null;
15235
15521
  created_at?: string;
15236
- fout?: string | null;
15237
- group_key?: string | null;
15522
+ db_action?: string | null;
15523
+ db_new?: Json | null;
15524
+ db_old?: Json | null;
15525
+ db_record?: string | null;
15526
+ db_table?: string | null;
15527
+ decision?: string | null;
15528
+ duration_ms?: number | null;
15529
+ error?: string | null;
15530
+ error_class?: string | null;
15531
+ external_action?: string | null;
15532
+ external_ref?: string | null;
15533
+ external_response?: Json | null;
15534
+ external_status?: string | null;
15535
+ external_system?: string | null;
15238
15536
  id?: string;
15239
- order_id?: string | null;
15240
- soort?: string;
15537
+ input?: Json | null;
15538
+ next_attempt_at?: string | null;
15539
+ next_step?: string | null;
15540
+ node_id?: string | null;
15541
+ order_ref?: string | null;
15542
+ order_source?: string | null;
15543
+ output?: Json | null;
15544
+ phase?: string | null;
15545
+ reads?: Json | null;
15546
+ reason?: string | null;
15547
+ rule?: string | null;
15548
+ slip_ref?: string | null;
15549
+ status?: string | null;
15550
+ step?: string | null;
15551
+ trace_id?: string | null;
15552
+ values_used?: Json | null;
15553
+ vervalt_op?: string;
15241
15554
  };
15242
15555
  Relationships: [];
15243
15556
  };
15244
- logistics_opening_exceptions: {
15557
+ logistics_logboek_2026w46: {
15245
15558
  Row: {
15246
- closes: string | null;
15559
+ actor: string | null;
15560
+ attempts: number | null;
15561
+ calc: Json | null;
15562
+ cart_ref: string | null;
15247
15563
  created_at: string;
15248
- day: string;
15564
+ db_action: string | null;
15565
+ db_new: Json | null;
15566
+ db_old: Json | null;
15567
+ db_record: string | null;
15568
+ db_table: string | null;
15569
+ decision: string | null;
15570
+ duration_ms: number | null;
15571
+ error: string | null;
15572
+ error_class: string | null;
15573
+ external_action: string | null;
15574
+ external_ref: string | null;
15575
+ external_response: Json | null;
15576
+ external_status: string | null;
15577
+ external_system: string | null;
15249
15578
  id: string;
15250
- is_closed: boolean;
15251
- note: string | null;
15252
- opens: string | null;
15579
+ input: Json | null;
15580
+ next_attempt_at: string | null;
15581
+ next_step: string | null;
15582
+ node_id: string | null;
15583
+ order_ref: string | null;
15584
+ order_source: string | null;
15585
+ output: Json | null;
15586
+ phase: string | null;
15587
+ reads: Json | null;
15588
+ reason: string | null;
15589
+ rule: string | null;
15590
+ slip_ref: string | null;
15591
+ status: string | null;
15592
+ step: string | null;
15593
+ trace_id: string | null;
15594
+ values_used: Json | null;
15595
+ vervalt_op: string;
15253
15596
  };
15254
15597
  Insert: {
15255
- closes?: string | null;
15598
+ actor?: string | null;
15599
+ attempts?: number | null;
15600
+ calc?: Json | null;
15601
+ cart_ref?: string | null;
15256
15602
  created_at?: string;
15257
- day: string;
15603
+ db_action?: string | null;
15604
+ db_new?: Json | null;
15605
+ db_old?: Json | null;
15606
+ db_record?: string | null;
15607
+ db_table?: string | null;
15608
+ decision?: string | null;
15609
+ duration_ms?: number | null;
15610
+ error?: string | null;
15611
+ error_class?: string | null;
15612
+ external_action?: string | null;
15613
+ external_ref?: string | null;
15614
+ external_response?: Json | null;
15615
+ external_status?: string | null;
15616
+ external_system?: string | null;
15258
15617
  id?: string;
15259
- is_closed?: boolean;
15260
- note?: string | null;
15261
- opens?: string | null;
15618
+ input?: Json | null;
15619
+ next_attempt_at?: string | null;
15620
+ next_step?: string | null;
15621
+ node_id?: string | null;
15622
+ order_ref?: string | null;
15623
+ order_source?: string | null;
15624
+ output?: Json | null;
15625
+ phase?: string | null;
15626
+ reads?: Json | null;
15627
+ reason?: string | null;
15628
+ rule?: string | null;
15629
+ slip_ref?: string | null;
15630
+ status?: string | null;
15631
+ step?: string | null;
15632
+ trace_id?: string | null;
15633
+ values_used?: Json | null;
15634
+ vervalt_op: string;
15262
15635
  };
15263
15636
  Update: {
15264
- closes?: string | null;
15637
+ actor?: string | null;
15638
+ attempts?: number | null;
15639
+ calc?: Json | null;
15640
+ cart_ref?: string | null;
15265
15641
  created_at?: string;
15266
- day?: string;
15642
+ db_action?: string | null;
15643
+ db_new?: Json | null;
15644
+ db_old?: Json | null;
15645
+ db_record?: string | null;
15646
+ db_table?: string | null;
15647
+ decision?: string | null;
15648
+ duration_ms?: number | null;
15649
+ error?: string | null;
15650
+ error_class?: string | null;
15651
+ external_action?: string | null;
15652
+ external_ref?: string | null;
15653
+ external_response?: Json | null;
15654
+ external_status?: string | null;
15655
+ external_system?: string | null;
15267
15656
  id?: string;
15268
- is_closed?: boolean;
15269
- note?: string | null;
15270
- opens?: string | null;
15657
+ input?: Json | null;
15658
+ next_attempt_at?: string | null;
15659
+ next_step?: string | null;
15660
+ node_id?: string | null;
15661
+ order_ref?: string | null;
15662
+ order_source?: string | null;
15663
+ output?: Json | null;
15664
+ phase?: string | null;
15665
+ reads?: Json | null;
15666
+ reason?: string | null;
15667
+ rule?: string | null;
15668
+ slip_ref?: string | null;
15669
+ status?: string | null;
15670
+ step?: string | null;
15671
+ trace_id?: string | null;
15672
+ values_used?: Json | null;
15673
+ vervalt_op?: string;
15271
15674
  };
15272
15675
  Relationships: [];
15273
15676
  };
15274
- logistics_opening_hours: {
15677
+ logistics_logboek_2026w47: {
15275
15678
  Row: {
15276
- closes: string;
15679
+ actor: string | null;
15680
+ attempts: number | null;
15681
+ calc: Json | null;
15682
+ cart_ref: string | null;
15277
15683
  created_at: string;
15684
+ db_action: string | null;
15685
+ db_new: Json | null;
15686
+ db_old: Json | null;
15687
+ db_record: string | null;
15688
+ db_table: string | null;
15689
+ decision: string | null;
15690
+ duration_ms: number | null;
15691
+ error: string | null;
15692
+ error_class: string | null;
15693
+ external_action: string | null;
15694
+ external_ref: string | null;
15695
+ external_response: Json | null;
15696
+ external_status: string | null;
15697
+ external_system: string | null;
15278
15698
  id: string;
15279
- is_active: boolean;
15280
- note: string | null;
15281
- opens: string;
15282
- weekday: number;
15699
+ input: Json | null;
15700
+ next_attempt_at: string | null;
15701
+ next_step: string | null;
15702
+ node_id: string | null;
15703
+ order_ref: string | null;
15704
+ order_source: string | null;
15705
+ output: Json | null;
15706
+ phase: string | null;
15707
+ reads: Json | null;
15708
+ reason: string | null;
15709
+ rule: string | null;
15710
+ slip_ref: string | null;
15711
+ status: string | null;
15712
+ step: string | null;
15713
+ trace_id: string | null;
15714
+ values_used: Json | null;
15715
+ vervalt_op: string;
15283
15716
  };
15284
15717
  Insert: {
15285
- closes: string;
15718
+ actor?: string | null;
15719
+ attempts?: number | null;
15720
+ calc?: Json | null;
15721
+ cart_ref?: string | null;
15286
15722
  created_at?: string;
15723
+ db_action?: string | null;
15724
+ db_new?: Json | null;
15725
+ db_old?: Json | null;
15726
+ db_record?: string | null;
15727
+ db_table?: string | null;
15728
+ decision?: string | null;
15729
+ duration_ms?: number | null;
15730
+ error?: string | null;
15731
+ error_class?: string | null;
15732
+ external_action?: string | null;
15733
+ external_ref?: string | null;
15734
+ external_response?: Json | null;
15735
+ external_status?: string | null;
15736
+ external_system?: string | null;
15287
15737
  id?: string;
15288
- is_active?: boolean;
15289
- note?: string | null;
15290
- opens: string;
15291
- weekday: number;
15738
+ input?: Json | null;
15739
+ next_attempt_at?: string | null;
15740
+ next_step?: string | null;
15741
+ node_id?: string | null;
15742
+ order_ref?: string | null;
15743
+ order_source?: string | null;
15744
+ output?: Json | null;
15745
+ phase?: string | null;
15746
+ reads?: Json | null;
15747
+ reason?: string | null;
15748
+ rule?: string | null;
15749
+ slip_ref?: string | null;
15750
+ status?: string | null;
15751
+ step?: string | null;
15752
+ trace_id?: string | null;
15753
+ values_used?: Json | null;
15754
+ vervalt_op: string;
15755
+ };
15756
+ Update: {
15757
+ actor?: string | null;
15758
+ attempts?: number | null;
15759
+ calc?: Json | null;
15760
+ cart_ref?: string | null;
15761
+ created_at?: string;
15762
+ db_action?: string | null;
15763
+ db_new?: Json | null;
15764
+ db_old?: Json | null;
15765
+ db_record?: string | null;
15766
+ db_table?: string | null;
15767
+ decision?: string | null;
15768
+ duration_ms?: number | null;
15769
+ error?: string | null;
15770
+ error_class?: string | null;
15771
+ external_action?: string | null;
15772
+ external_ref?: string | null;
15773
+ external_response?: Json | null;
15774
+ external_status?: string | null;
15775
+ external_system?: string | null;
15776
+ id?: string;
15777
+ input?: Json | null;
15778
+ next_attempt_at?: string | null;
15779
+ next_step?: string | null;
15780
+ node_id?: string | null;
15781
+ order_ref?: string | null;
15782
+ order_source?: string | null;
15783
+ output?: Json | null;
15784
+ phase?: string | null;
15785
+ reads?: Json | null;
15786
+ reason?: string | null;
15787
+ rule?: string | null;
15788
+ slip_ref?: string | null;
15789
+ status?: string | null;
15790
+ step?: string | null;
15791
+ trace_id?: string | null;
15792
+ values_used?: Json | null;
15793
+ vervalt_op?: string;
15794
+ };
15795
+ Relationships: [];
15796
+ };
15797
+ logistics_logboek_2026w48: {
15798
+ Row: {
15799
+ actor: string | null;
15800
+ attempts: number | null;
15801
+ calc: Json | null;
15802
+ cart_ref: string | null;
15803
+ created_at: string;
15804
+ db_action: string | null;
15805
+ db_new: Json | null;
15806
+ db_old: Json | null;
15807
+ db_record: string | null;
15808
+ db_table: string | null;
15809
+ decision: string | null;
15810
+ duration_ms: number | null;
15811
+ error: string | null;
15812
+ error_class: string | null;
15813
+ external_action: string | null;
15814
+ external_ref: string | null;
15815
+ external_response: Json | null;
15816
+ external_status: string | null;
15817
+ external_system: string | null;
15818
+ id: string;
15819
+ input: Json | null;
15820
+ next_attempt_at: string | null;
15821
+ next_step: string | null;
15822
+ node_id: string | null;
15823
+ order_ref: string | null;
15824
+ order_source: string | null;
15825
+ output: Json | null;
15826
+ phase: string | null;
15827
+ reads: Json | null;
15828
+ reason: string | null;
15829
+ rule: string | null;
15830
+ slip_ref: string | null;
15831
+ status: string | null;
15832
+ step: string | null;
15833
+ trace_id: string | null;
15834
+ values_used: Json | null;
15835
+ vervalt_op: string;
15836
+ };
15837
+ Insert: {
15838
+ actor?: string | null;
15839
+ attempts?: number | null;
15840
+ calc?: Json | null;
15841
+ cart_ref?: string | null;
15842
+ created_at?: string;
15843
+ db_action?: string | null;
15844
+ db_new?: Json | null;
15845
+ db_old?: Json | null;
15846
+ db_record?: string | null;
15847
+ db_table?: string | null;
15848
+ decision?: string | null;
15849
+ duration_ms?: number | null;
15850
+ error?: string | null;
15851
+ error_class?: string | null;
15852
+ external_action?: string | null;
15853
+ external_ref?: string | null;
15854
+ external_response?: Json | null;
15855
+ external_status?: string | null;
15856
+ external_system?: string | null;
15857
+ id?: string;
15858
+ input?: Json | null;
15859
+ next_attempt_at?: string | null;
15860
+ next_step?: string | null;
15861
+ node_id?: string | null;
15862
+ order_ref?: string | null;
15863
+ order_source?: string | null;
15864
+ output?: Json | null;
15865
+ phase?: string | null;
15866
+ reads?: Json | null;
15867
+ reason?: string | null;
15868
+ rule?: string | null;
15869
+ slip_ref?: string | null;
15870
+ status?: string | null;
15871
+ step?: string | null;
15872
+ trace_id?: string | null;
15873
+ values_used?: Json | null;
15874
+ vervalt_op: string;
15875
+ };
15876
+ Update: {
15877
+ actor?: string | null;
15878
+ attempts?: number | null;
15879
+ calc?: Json | null;
15880
+ cart_ref?: string | null;
15881
+ created_at?: string;
15882
+ db_action?: string | null;
15883
+ db_new?: Json | null;
15884
+ db_old?: Json | null;
15885
+ db_record?: string | null;
15886
+ db_table?: string | null;
15887
+ decision?: string | null;
15888
+ duration_ms?: number | null;
15889
+ error?: string | null;
15890
+ error_class?: string | null;
15891
+ external_action?: string | null;
15892
+ external_ref?: string | null;
15893
+ external_response?: Json | null;
15894
+ external_status?: string | null;
15895
+ external_system?: string | null;
15896
+ id?: string;
15897
+ input?: Json | null;
15898
+ next_attempt_at?: string | null;
15899
+ next_step?: string | null;
15900
+ node_id?: string | null;
15901
+ order_ref?: string | null;
15902
+ order_source?: string | null;
15903
+ output?: Json | null;
15904
+ phase?: string | null;
15905
+ reads?: Json | null;
15906
+ reason?: string | null;
15907
+ rule?: string | null;
15908
+ slip_ref?: string | null;
15909
+ status?: string | null;
15910
+ step?: string | null;
15911
+ trace_id?: string | null;
15912
+ values_used?: Json | null;
15913
+ vervalt_op?: string;
15914
+ };
15915
+ Relationships: [];
15916
+ };
15917
+ logistics_logboek_2026w49: {
15918
+ Row: {
15919
+ actor: string | null;
15920
+ attempts: number | null;
15921
+ calc: Json | null;
15922
+ cart_ref: string | null;
15923
+ created_at: string;
15924
+ db_action: string | null;
15925
+ db_new: Json | null;
15926
+ db_old: Json | null;
15927
+ db_record: string | null;
15928
+ db_table: string | null;
15929
+ decision: string | null;
15930
+ duration_ms: number | null;
15931
+ error: string | null;
15932
+ error_class: string | null;
15933
+ external_action: string | null;
15934
+ external_ref: string | null;
15935
+ external_response: Json | null;
15936
+ external_status: string | null;
15937
+ external_system: string | null;
15938
+ id: string;
15939
+ input: Json | null;
15940
+ next_attempt_at: string | null;
15941
+ next_step: string | null;
15942
+ node_id: string | null;
15943
+ order_ref: string | null;
15944
+ order_source: string | null;
15945
+ output: Json | null;
15946
+ phase: string | null;
15947
+ reads: Json | null;
15948
+ reason: string | null;
15949
+ rule: string | null;
15950
+ slip_ref: string | null;
15951
+ status: string | null;
15952
+ step: string | null;
15953
+ trace_id: string | null;
15954
+ values_used: Json | null;
15955
+ vervalt_op: string;
15956
+ };
15957
+ Insert: {
15958
+ actor?: string | null;
15959
+ attempts?: number | null;
15960
+ calc?: Json | null;
15961
+ cart_ref?: string | null;
15962
+ created_at?: string;
15963
+ db_action?: string | null;
15964
+ db_new?: Json | null;
15965
+ db_old?: Json | null;
15966
+ db_record?: string | null;
15967
+ db_table?: string | null;
15968
+ decision?: string | null;
15969
+ duration_ms?: number | null;
15970
+ error?: string | null;
15971
+ error_class?: string | null;
15972
+ external_action?: string | null;
15973
+ external_ref?: string | null;
15974
+ external_response?: Json | null;
15975
+ external_status?: string | null;
15976
+ external_system?: string | null;
15977
+ id?: string;
15978
+ input?: Json | null;
15979
+ next_attempt_at?: string | null;
15980
+ next_step?: string | null;
15981
+ node_id?: string | null;
15982
+ order_ref?: string | null;
15983
+ order_source?: string | null;
15984
+ output?: Json | null;
15985
+ phase?: string | null;
15986
+ reads?: Json | null;
15987
+ reason?: string | null;
15988
+ rule?: string | null;
15989
+ slip_ref?: string | null;
15990
+ status?: string | null;
15991
+ step?: string | null;
15992
+ trace_id?: string | null;
15993
+ values_used?: Json | null;
15994
+ vervalt_op: string;
15995
+ };
15996
+ Update: {
15997
+ actor?: string | null;
15998
+ attempts?: number | null;
15999
+ calc?: Json | null;
16000
+ cart_ref?: string | null;
16001
+ created_at?: string;
16002
+ db_action?: string | null;
16003
+ db_new?: Json | null;
16004
+ db_old?: Json | null;
16005
+ db_record?: string | null;
16006
+ db_table?: string | null;
16007
+ decision?: string | null;
16008
+ duration_ms?: number | null;
16009
+ error?: string | null;
16010
+ error_class?: string | null;
16011
+ external_action?: string | null;
16012
+ external_ref?: string | null;
16013
+ external_response?: Json | null;
16014
+ external_status?: string | null;
16015
+ external_system?: string | null;
16016
+ id?: string;
16017
+ input?: Json | null;
16018
+ next_attempt_at?: string | null;
16019
+ next_step?: string | null;
16020
+ node_id?: string | null;
16021
+ order_ref?: string | null;
16022
+ order_source?: string | null;
16023
+ output?: Json | null;
16024
+ phase?: string | null;
16025
+ reads?: Json | null;
16026
+ reason?: string | null;
16027
+ rule?: string | null;
16028
+ slip_ref?: string | null;
16029
+ status?: string | null;
16030
+ step?: string | null;
16031
+ trace_id?: string | null;
16032
+ values_used?: Json | null;
16033
+ vervalt_op?: string;
16034
+ };
16035
+ Relationships: [];
16036
+ };
16037
+ logistics_logboek_2026w50: {
16038
+ Row: {
16039
+ actor: string | null;
16040
+ attempts: number | null;
16041
+ calc: Json | null;
16042
+ cart_ref: string | null;
16043
+ created_at: string;
16044
+ db_action: string | null;
16045
+ db_new: Json | null;
16046
+ db_old: Json | null;
16047
+ db_record: string | null;
16048
+ db_table: string | null;
16049
+ decision: string | null;
16050
+ duration_ms: number | null;
16051
+ error: string | null;
16052
+ error_class: string | null;
16053
+ external_action: string | null;
16054
+ external_ref: string | null;
16055
+ external_response: Json | null;
16056
+ external_status: string | null;
16057
+ external_system: string | null;
16058
+ id: string;
16059
+ input: Json | null;
16060
+ next_attempt_at: string | null;
16061
+ next_step: string | null;
16062
+ node_id: string | null;
16063
+ order_ref: string | null;
16064
+ order_source: string | null;
16065
+ output: Json | null;
16066
+ phase: string | null;
16067
+ reads: Json | null;
16068
+ reason: string | null;
16069
+ rule: string | null;
16070
+ slip_ref: string | null;
16071
+ status: string | null;
16072
+ step: string | null;
16073
+ trace_id: string | null;
16074
+ values_used: Json | null;
16075
+ vervalt_op: string;
16076
+ };
16077
+ Insert: {
16078
+ actor?: string | null;
16079
+ attempts?: number | null;
16080
+ calc?: Json | null;
16081
+ cart_ref?: string | null;
16082
+ created_at?: string;
16083
+ db_action?: string | null;
16084
+ db_new?: Json | null;
16085
+ db_old?: Json | null;
16086
+ db_record?: string | null;
16087
+ db_table?: string | null;
16088
+ decision?: string | null;
16089
+ duration_ms?: number | null;
16090
+ error?: string | null;
16091
+ error_class?: string | null;
16092
+ external_action?: string | null;
16093
+ external_ref?: string | null;
16094
+ external_response?: Json | null;
16095
+ external_status?: string | null;
16096
+ external_system?: string | null;
16097
+ id?: string;
16098
+ input?: Json | null;
16099
+ next_attempt_at?: string | null;
16100
+ next_step?: string | null;
16101
+ node_id?: string | null;
16102
+ order_ref?: string | null;
16103
+ order_source?: string | null;
16104
+ output?: Json | null;
16105
+ phase?: string | null;
16106
+ reads?: Json | null;
16107
+ reason?: string | null;
16108
+ rule?: string | null;
16109
+ slip_ref?: string | null;
16110
+ status?: string | null;
16111
+ step?: string | null;
16112
+ trace_id?: string | null;
16113
+ values_used?: Json | null;
16114
+ vervalt_op: string;
16115
+ };
16116
+ Update: {
16117
+ actor?: string | null;
16118
+ attempts?: number | null;
16119
+ calc?: Json | null;
16120
+ cart_ref?: string | null;
16121
+ created_at?: string;
16122
+ db_action?: string | null;
16123
+ db_new?: Json | null;
16124
+ db_old?: Json | null;
16125
+ db_record?: string | null;
16126
+ db_table?: string | null;
16127
+ decision?: string | null;
16128
+ duration_ms?: number | null;
16129
+ error?: string | null;
16130
+ error_class?: string | null;
16131
+ external_action?: string | null;
16132
+ external_ref?: string | null;
16133
+ external_response?: Json | null;
16134
+ external_status?: string | null;
16135
+ external_system?: string | null;
16136
+ id?: string;
16137
+ input?: Json | null;
16138
+ next_attempt_at?: string | null;
16139
+ next_step?: string | null;
16140
+ node_id?: string | null;
16141
+ order_ref?: string | null;
16142
+ order_source?: string | null;
16143
+ output?: Json | null;
16144
+ phase?: string | null;
16145
+ reads?: Json | null;
16146
+ reason?: string | null;
16147
+ rule?: string | null;
16148
+ slip_ref?: string | null;
16149
+ status?: string | null;
16150
+ step?: string | null;
16151
+ trace_id?: string | null;
16152
+ values_used?: Json | null;
16153
+ vervalt_op?: string;
16154
+ };
16155
+ Relationships: [];
16156
+ };
16157
+ logistics_logboek_2026w51: {
16158
+ Row: {
16159
+ actor: string | null;
16160
+ attempts: number | null;
16161
+ calc: Json | null;
16162
+ cart_ref: string | null;
16163
+ created_at: string;
16164
+ db_action: string | null;
16165
+ db_new: Json | null;
16166
+ db_old: Json | null;
16167
+ db_record: string | null;
16168
+ db_table: string | null;
16169
+ decision: string | null;
16170
+ duration_ms: number | null;
16171
+ error: string | null;
16172
+ error_class: string | null;
16173
+ external_action: string | null;
16174
+ external_ref: string | null;
16175
+ external_response: Json | null;
16176
+ external_status: string | null;
16177
+ external_system: string | null;
16178
+ id: string;
16179
+ input: Json | null;
16180
+ next_attempt_at: string | null;
16181
+ next_step: string | null;
16182
+ node_id: string | null;
16183
+ order_ref: string | null;
16184
+ order_source: string | null;
16185
+ output: Json | null;
16186
+ phase: string | null;
16187
+ reads: Json | null;
16188
+ reason: string | null;
16189
+ rule: string | null;
16190
+ slip_ref: string | null;
16191
+ status: string | null;
16192
+ step: string | null;
16193
+ trace_id: string | null;
16194
+ values_used: Json | null;
16195
+ vervalt_op: string;
16196
+ };
16197
+ Insert: {
16198
+ actor?: string | null;
16199
+ attempts?: number | null;
16200
+ calc?: Json | null;
16201
+ cart_ref?: string | null;
16202
+ created_at?: string;
16203
+ db_action?: string | null;
16204
+ db_new?: Json | null;
16205
+ db_old?: Json | null;
16206
+ db_record?: string | null;
16207
+ db_table?: string | null;
16208
+ decision?: string | null;
16209
+ duration_ms?: number | null;
16210
+ error?: string | null;
16211
+ error_class?: string | null;
16212
+ external_action?: string | null;
16213
+ external_ref?: string | null;
16214
+ external_response?: Json | null;
16215
+ external_status?: string | null;
16216
+ external_system?: string | null;
16217
+ id?: string;
16218
+ input?: Json | null;
16219
+ next_attempt_at?: string | null;
16220
+ next_step?: string | null;
16221
+ node_id?: string | null;
16222
+ order_ref?: string | null;
16223
+ order_source?: string | null;
16224
+ output?: Json | null;
16225
+ phase?: string | null;
16226
+ reads?: Json | null;
16227
+ reason?: string | null;
16228
+ rule?: string | null;
16229
+ slip_ref?: string | null;
16230
+ status?: string | null;
16231
+ step?: string | null;
16232
+ trace_id?: string | null;
16233
+ values_used?: Json | null;
16234
+ vervalt_op: string;
16235
+ };
16236
+ Update: {
16237
+ actor?: string | null;
16238
+ attempts?: number | null;
16239
+ calc?: Json | null;
16240
+ cart_ref?: string | null;
16241
+ created_at?: string;
16242
+ db_action?: string | null;
16243
+ db_new?: Json | null;
16244
+ db_old?: Json | null;
16245
+ db_record?: string | null;
16246
+ db_table?: string | null;
16247
+ decision?: string | null;
16248
+ duration_ms?: number | null;
16249
+ error?: string | null;
16250
+ error_class?: string | null;
16251
+ external_action?: string | null;
16252
+ external_ref?: string | null;
16253
+ external_response?: Json | null;
16254
+ external_status?: string | null;
16255
+ external_system?: string | null;
16256
+ id?: string;
16257
+ input?: Json | null;
16258
+ next_attempt_at?: string | null;
16259
+ next_step?: string | null;
16260
+ node_id?: string | null;
16261
+ order_ref?: string | null;
16262
+ order_source?: string | null;
16263
+ output?: Json | null;
16264
+ phase?: string | null;
16265
+ reads?: Json | null;
16266
+ reason?: string | null;
16267
+ rule?: string | null;
16268
+ slip_ref?: string | null;
16269
+ status?: string | null;
16270
+ step?: string | null;
16271
+ trace_id?: string | null;
16272
+ values_used?: Json | null;
16273
+ vervalt_op?: string;
16274
+ };
16275
+ Relationships: [];
16276
+ };
16277
+ logistics_logboek_2026w52: {
16278
+ Row: {
16279
+ actor: string | null;
16280
+ attempts: number | null;
16281
+ calc: Json | null;
16282
+ cart_ref: string | null;
16283
+ created_at: string;
16284
+ db_action: string | null;
16285
+ db_new: Json | null;
16286
+ db_old: Json | null;
16287
+ db_record: string | null;
16288
+ db_table: string | null;
16289
+ decision: string | null;
16290
+ duration_ms: number | null;
16291
+ error: string | null;
16292
+ error_class: string | null;
16293
+ external_action: string | null;
16294
+ external_ref: string | null;
16295
+ external_response: Json | null;
16296
+ external_status: string | null;
16297
+ external_system: string | null;
16298
+ id: string;
16299
+ input: Json | null;
16300
+ next_attempt_at: string | null;
16301
+ next_step: string | null;
16302
+ node_id: string | null;
16303
+ order_ref: string | null;
16304
+ order_source: string | null;
16305
+ output: Json | null;
16306
+ phase: string | null;
16307
+ reads: Json | null;
16308
+ reason: string | null;
16309
+ rule: string | null;
16310
+ slip_ref: string | null;
16311
+ status: string | null;
16312
+ step: string | null;
16313
+ trace_id: string | null;
16314
+ values_used: Json | null;
16315
+ vervalt_op: string;
16316
+ };
16317
+ Insert: {
16318
+ actor?: string | null;
16319
+ attempts?: number | null;
16320
+ calc?: Json | null;
16321
+ cart_ref?: string | null;
16322
+ created_at?: string;
16323
+ db_action?: string | null;
16324
+ db_new?: Json | null;
16325
+ db_old?: Json | null;
16326
+ db_record?: string | null;
16327
+ db_table?: string | null;
16328
+ decision?: string | null;
16329
+ duration_ms?: number | null;
16330
+ error?: string | null;
16331
+ error_class?: string | null;
16332
+ external_action?: string | null;
16333
+ external_ref?: string | null;
16334
+ external_response?: Json | null;
16335
+ external_status?: string | null;
16336
+ external_system?: string | null;
16337
+ id?: string;
16338
+ input?: Json | null;
16339
+ next_attempt_at?: string | null;
16340
+ next_step?: string | null;
16341
+ node_id?: string | null;
16342
+ order_ref?: string | null;
16343
+ order_source?: string | null;
16344
+ output?: Json | null;
16345
+ phase?: string | null;
16346
+ reads?: Json | null;
16347
+ reason?: string | null;
16348
+ rule?: string | null;
16349
+ slip_ref?: string | null;
16350
+ status?: string | null;
16351
+ step?: string | null;
16352
+ trace_id?: string | null;
16353
+ values_used?: Json | null;
16354
+ vervalt_op: string;
16355
+ };
16356
+ Update: {
16357
+ actor?: string | null;
16358
+ attempts?: number | null;
16359
+ calc?: Json | null;
16360
+ cart_ref?: string | null;
16361
+ created_at?: string;
16362
+ db_action?: string | null;
16363
+ db_new?: Json | null;
16364
+ db_old?: Json | null;
16365
+ db_record?: string | null;
16366
+ db_table?: string | null;
16367
+ decision?: string | null;
16368
+ duration_ms?: number | null;
16369
+ error?: string | null;
16370
+ error_class?: string | null;
16371
+ external_action?: string | null;
16372
+ external_ref?: string | null;
16373
+ external_response?: Json | null;
16374
+ external_status?: string | null;
16375
+ external_system?: string | null;
16376
+ id?: string;
16377
+ input?: Json | null;
16378
+ next_attempt_at?: string | null;
16379
+ next_step?: string | null;
16380
+ node_id?: string | null;
16381
+ order_ref?: string | null;
16382
+ order_source?: string | null;
16383
+ output?: Json | null;
16384
+ phase?: string | null;
16385
+ reads?: Json | null;
16386
+ reason?: string | null;
16387
+ rule?: string | null;
16388
+ slip_ref?: string | null;
16389
+ status?: string | null;
16390
+ step?: string | null;
16391
+ trace_id?: string | null;
16392
+ values_used?: Json | null;
16393
+ vervalt_op?: string;
16394
+ };
16395
+ Relationships: [];
16396
+ };
16397
+ logistics_logboek_2026w53: {
16398
+ Row: {
16399
+ actor: string | null;
16400
+ attempts: number | null;
16401
+ calc: Json | null;
16402
+ cart_ref: string | null;
16403
+ created_at: string;
16404
+ db_action: string | null;
16405
+ db_new: Json | null;
16406
+ db_old: Json | null;
16407
+ db_record: string | null;
16408
+ db_table: string | null;
16409
+ decision: string | null;
16410
+ duration_ms: number | null;
16411
+ error: string | null;
16412
+ error_class: string | null;
16413
+ external_action: string | null;
16414
+ external_ref: string | null;
16415
+ external_response: Json | null;
16416
+ external_status: string | null;
16417
+ external_system: string | null;
16418
+ id: string;
16419
+ input: Json | null;
16420
+ next_attempt_at: string | null;
16421
+ next_step: string | null;
16422
+ node_id: string | null;
16423
+ order_ref: string | null;
16424
+ order_source: string | null;
16425
+ output: Json | null;
16426
+ phase: string | null;
16427
+ reads: Json | null;
16428
+ reason: string | null;
16429
+ rule: string | null;
16430
+ slip_ref: string | null;
16431
+ status: string | null;
16432
+ step: string | null;
16433
+ trace_id: string | null;
16434
+ values_used: Json | null;
16435
+ vervalt_op: string;
16436
+ };
16437
+ Insert: {
16438
+ actor?: string | null;
16439
+ attempts?: number | null;
16440
+ calc?: Json | null;
16441
+ cart_ref?: string | null;
16442
+ created_at?: string;
16443
+ db_action?: string | null;
16444
+ db_new?: Json | null;
16445
+ db_old?: Json | null;
16446
+ db_record?: string | null;
16447
+ db_table?: string | null;
16448
+ decision?: string | null;
16449
+ duration_ms?: number | null;
16450
+ error?: string | null;
16451
+ error_class?: string | null;
16452
+ external_action?: string | null;
16453
+ external_ref?: string | null;
16454
+ external_response?: Json | null;
16455
+ external_status?: string | null;
16456
+ external_system?: string | null;
16457
+ id?: string;
16458
+ input?: Json | null;
16459
+ next_attempt_at?: string | null;
16460
+ next_step?: string | null;
16461
+ node_id?: string | null;
16462
+ order_ref?: string | null;
16463
+ order_source?: string | null;
16464
+ output?: Json | null;
16465
+ phase?: string | null;
16466
+ reads?: Json | null;
16467
+ reason?: string | null;
16468
+ rule?: string | null;
16469
+ slip_ref?: string | null;
16470
+ status?: string | null;
16471
+ step?: string | null;
16472
+ trace_id?: string | null;
16473
+ values_used?: Json | null;
16474
+ vervalt_op: string;
16475
+ };
16476
+ Update: {
16477
+ actor?: string | null;
16478
+ attempts?: number | null;
16479
+ calc?: Json | null;
16480
+ cart_ref?: string | null;
16481
+ created_at?: string;
16482
+ db_action?: string | null;
16483
+ db_new?: Json | null;
16484
+ db_old?: Json | null;
16485
+ db_record?: string | null;
16486
+ db_table?: string | null;
16487
+ decision?: string | null;
16488
+ duration_ms?: number | null;
16489
+ error?: string | null;
16490
+ error_class?: string | null;
16491
+ external_action?: string | null;
16492
+ external_ref?: string | null;
16493
+ external_response?: Json | null;
16494
+ external_status?: string | null;
16495
+ external_system?: string | null;
16496
+ id?: string;
16497
+ input?: Json | null;
16498
+ next_attempt_at?: string | null;
16499
+ next_step?: string | null;
16500
+ node_id?: string | null;
16501
+ order_ref?: string | null;
16502
+ order_source?: string | null;
16503
+ output?: Json | null;
16504
+ phase?: string | null;
16505
+ reads?: Json | null;
16506
+ reason?: string | null;
16507
+ rule?: string | null;
16508
+ slip_ref?: string | null;
16509
+ status?: string | null;
16510
+ step?: string | null;
16511
+ trace_id?: string | null;
16512
+ values_used?: Json | null;
16513
+ vervalt_op?: string;
16514
+ };
16515
+ Relationships: [];
16516
+ };
16517
+ logistics_logboek_2027w01: {
16518
+ Row: {
16519
+ actor: string | null;
16520
+ attempts: number | null;
16521
+ calc: Json | null;
16522
+ cart_ref: string | null;
16523
+ created_at: string;
16524
+ db_action: string | null;
16525
+ db_new: Json | null;
16526
+ db_old: Json | null;
16527
+ db_record: string | null;
16528
+ db_table: string | null;
16529
+ decision: string | null;
16530
+ duration_ms: number | null;
16531
+ error: string | null;
16532
+ error_class: string | null;
16533
+ external_action: string | null;
16534
+ external_ref: string | null;
16535
+ external_response: Json | null;
16536
+ external_status: string | null;
16537
+ external_system: string | null;
16538
+ id: string;
16539
+ input: Json | null;
16540
+ next_attempt_at: string | null;
16541
+ next_step: string | null;
16542
+ node_id: string | null;
16543
+ order_ref: string | null;
16544
+ order_source: string | null;
16545
+ output: Json | null;
16546
+ phase: string | null;
16547
+ reads: Json | null;
16548
+ reason: string | null;
16549
+ rule: string | null;
16550
+ slip_ref: string | null;
16551
+ status: string | null;
16552
+ step: string | null;
16553
+ trace_id: string | null;
16554
+ values_used: Json | null;
16555
+ vervalt_op: string;
16556
+ };
16557
+ Insert: {
16558
+ actor?: string | null;
16559
+ attempts?: number | null;
16560
+ calc?: Json | null;
16561
+ cart_ref?: string | null;
16562
+ created_at?: string;
16563
+ db_action?: string | null;
16564
+ db_new?: Json | null;
16565
+ db_old?: Json | null;
16566
+ db_record?: string | null;
16567
+ db_table?: string | null;
16568
+ decision?: string | null;
16569
+ duration_ms?: number | null;
16570
+ error?: string | null;
16571
+ error_class?: string | null;
16572
+ external_action?: string | null;
16573
+ external_ref?: string | null;
16574
+ external_response?: Json | null;
16575
+ external_status?: string | null;
16576
+ external_system?: string | null;
16577
+ id?: string;
16578
+ input?: Json | null;
16579
+ next_attempt_at?: string | null;
16580
+ next_step?: string | null;
16581
+ node_id?: string | null;
16582
+ order_ref?: string | null;
16583
+ order_source?: string | null;
16584
+ output?: Json | null;
16585
+ phase?: string | null;
16586
+ reads?: Json | null;
16587
+ reason?: string | null;
16588
+ rule?: string | null;
16589
+ slip_ref?: string | null;
16590
+ status?: string | null;
16591
+ step?: string | null;
16592
+ trace_id?: string | null;
16593
+ values_used?: Json | null;
16594
+ vervalt_op: string;
16595
+ };
16596
+ Update: {
16597
+ actor?: string | null;
16598
+ attempts?: number | null;
16599
+ calc?: Json | null;
16600
+ cart_ref?: string | null;
16601
+ created_at?: string;
16602
+ db_action?: string | null;
16603
+ db_new?: Json | null;
16604
+ db_old?: Json | null;
16605
+ db_record?: string | null;
16606
+ db_table?: string | null;
16607
+ decision?: string | null;
16608
+ duration_ms?: number | null;
16609
+ error?: string | null;
16610
+ error_class?: string | null;
16611
+ external_action?: string | null;
16612
+ external_ref?: string | null;
16613
+ external_response?: Json | null;
16614
+ external_status?: string | null;
16615
+ external_system?: string | null;
16616
+ id?: string;
16617
+ input?: Json | null;
16618
+ next_attempt_at?: string | null;
16619
+ next_step?: string | null;
16620
+ node_id?: string | null;
16621
+ order_ref?: string | null;
16622
+ order_source?: string | null;
16623
+ output?: Json | null;
16624
+ phase?: string | null;
16625
+ reads?: Json | null;
16626
+ reason?: string | null;
16627
+ rule?: string | null;
16628
+ slip_ref?: string | null;
16629
+ status?: string | null;
16630
+ step?: string | null;
16631
+ trace_id?: string | null;
16632
+ values_used?: Json | null;
16633
+ vervalt_op?: string;
16634
+ };
16635
+ Relationships: [];
16636
+ };
16637
+ logistics_logboek_2027w02: {
16638
+ Row: {
16639
+ actor: string | null;
16640
+ attempts: number | null;
16641
+ calc: Json | null;
16642
+ cart_ref: string | null;
16643
+ created_at: string;
16644
+ db_action: string | null;
16645
+ db_new: Json | null;
16646
+ db_old: Json | null;
16647
+ db_record: string | null;
16648
+ db_table: string | null;
16649
+ decision: string | null;
16650
+ duration_ms: number | null;
16651
+ error: string | null;
16652
+ error_class: string | null;
16653
+ external_action: string | null;
16654
+ external_ref: string | null;
16655
+ external_response: Json | null;
16656
+ external_status: string | null;
16657
+ external_system: string | null;
16658
+ id: string;
16659
+ input: Json | null;
16660
+ next_attempt_at: string | null;
16661
+ next_step: string | null;
16662
+ node_id: string | null;
16663
+ order_ref: string | null;
16664
+ order_source: string | null;
16665
+ output: Json | null;
16666
+ phase: string | null;
16667
+ reads: Json | null;
16668
+ reason: string | null;
16669
+ rule: string | null;
16670
+ slip_ref: string | null;
16671
+ status: string | null;
16672
+ step: string | null;
16673
+ trace_id: string | null;
16674
+ values_used: Json | null;
16675
+ vervalt_op: string;
16676
+ };
16677
+ Insert: {
16678
+ actor?: string | null;
16679
+ attempts?: number | null;
16680
+ calc?: Json | null;
16681
+ cart_ref?: string | null;
16682
+ created_at?: string;
16683
+ db_action?: string | null;
16684
+ db_new?: Json | null;
16685
+ db_old?: Json | null;
16686
+ db_record?: string | null;
16687
+ db_table?: string | null;
16688
+ decision?: string | null;
16689
+ duration_ms?: number | null;
16690
+ error?: string | null;
16691
+ error_class?: string | null;
16692
+ external_action?: string | null;
16693
+ external_ref?: string | null;
16694
+ external_response?: Json | null;
16695
+ external_status?: string | null;
16696
+ external_system?: string | null;
16697
+ id?: string;
16698
+ input?: Json | null;
16699
+ next_attempt_at?: string | null;
16700
+ next_step?: string | null;
16701
+ node_id?: string | null;
16702
+ order_ref?: string | null;
16703
+ order_source?: string | null;
16704
+ output?: Json | null;
16705
+ phase?: string | null;
16706
+ reads?: Json | null;
16707
+ reason?: string | null;
16708
+ rule?: string | null;
16709
+ slip_ref?: string | null;
16710
+ status?: string | null;
16711
+ step?: string | null;
16712
+ trace_id?: string | null;
16713
+ values_used?: Json | null;
16714
+ vervalt_op: string;
16715
+ };
16716
+ Update: {
16717
+ actor?: string | null;
16718
+ attempts?: number | null;
16719
+ calc?: Json | null;
16720
+ cart_ref?: string | null;
16721
+ created_at?: string;
16722
+ db_action?: string | null;
16723
+ db_new?: Json | null;
16724
+ db_old?: Json | null;
16725
+ db_record?: string | null;
16726
+ db_table?: string | null;
16727
+ decision?: string | null;
16728
+ duration_ms?: number | null;
16729
+ error?: string | null;
16730
+ error_class?: string | null;
16731
+ external_action?: string | null;
16732
+ external_ref?: string | null;
16733
+ external_response?: Json | null;
16734
+ external_status?: string | null;
16735
+ external_system?: string | null;
16736
+ id?: string;
16737
+ input?: Json | null;
16738
+ next_attempt_at?: string | null;
16739
+ next_step?: string | null;
16740
+ node_id?: string | null;
16741
+ order_ref?: string | null;
16742
+ order_source?: string | null;
16743
+ output?: Json | null;
16744
+ phase?: string | null;
16745
+ reads?: Json | null;
16746
+ reason?: string | null;
16747
+ rule?: string | null;
16748
+ slip_ref?: string | null;
16749
+ status?: string | null;
16750
+ step?: string | null;
16751
+ trace_id?: string | null;
16752
+ values_used?: Json | null;
16753
+ vervalt_op?: string;
16754
+ };
16755
+ Relationships: [];
16756
+ };
16757
+ logistics_logboek_2027w03: {
16758
+ Row: {
16759
+ actor: string | null;
16760
+ attempts: number | null;
16761
+ calc: Json | null;
16762
+ cart_ref: string | null;
16763
+ created_at: string;
16764
+ db_action: string | null;
16765
+ db_new: Json | null;
16766
+ db_old: Json | null;
16767
+ db_record: string | null;
16768
+ db_table: string | null;
16769
+ decision: string | null;
16770
+ duration_ms: number | null;
16771
+ error: string | null;
16772
+ error_class: string | null;
16773
+ external_action: string | null;
16774
+ external_ref: string | null;
16775
+ external_response: Json | null;
16776
+ external_status: string | null;
16777
+ external_system: string | null;
16778
+ id: string;
16779
+ input: Json | null;
16780
+ next_attempt_at: string | null;
16781
+ next_step: string | null;
16782
+ node_id: string | null;
16783
+ order_ref: string | null;
16784
+ order_source: string | null;
16785
+ output: Json | null;
16786
+ phase: string | null;
16787
+ reads: Json | null;
16788
+ reason: string | null;
16789
+ rule: string | null;
16790
+ slip_ref: string | null;
16791
+ status: string | null;
16792
+ step: string | null;
16793
+ trace_id: string | null;
16794
+ values_used: Json | null;
16795
+ vervalt_op: string;
16796
+ };
16797
+ Insert: {
16798
+ actor?: string | null;
16799
+ attempts?: number | null;
16800
+ calc?: Json | null;
16801
+ cart_ref?: string | null;
16802
+ created_at?: string;
16803
+ db_action?: string | null;
16804
+ db_new?: Json | null;
16805
+ db_old?: Json | null;
16806
+ db_record?: string | null;
16807
+ db_table?: string | null;
16808
+ decision?: string | null;
16809
+ duration_ms?: number | null;
16810
+ error?: string | null;
16811
+ error_class?: string | null;
16812
+ external_action?: string | null;
16813
+ external_ref?: string | null;
16814
+ external_response?: Json | null;
16815
+ external_status?: string | null;
16816
+ external_system?: string | null;
16817
+ id?: string;
16818
+ input?: Json | null;
16819
+ next_attempt_at?: string | null;
16820
+ next_step?: string | null;
16821
+ node_id?: string | null;
16822
+ order_ref?: string | null;
16823
+ order_source?: string | null;
16824
+ output?: Json | null;
16825
+ phase?: string | null;
16826
+ reads?: Json | null;
16827
+ reason?: string | null;
16828
+ rule?: string | null;
16829
+ slip_ref?: string | null;
16830
+ status?: string | null;
16831
+ step?: string | null;
16832
+ trace_id?: string | null;
16833
+ values_used?: Json | null;
16834
+ vervalt_op: string;
16835
+ };
16836
+ Update: {
16837
+ actor?: string | null;
16838
+ attempts?: number | null;
16839
+ calc?: Json | null;
16840
+ cart_ref?: string | null;
16841
+ created_at?: string;
16842
+ db_action?: string | null;
16843
+ db_new?: Json | null;
16844
+ db_old?: Json | null;
16845
+ db_record?: string | null;
16846
+ db_table?: string | null;
16847
+ decision?: string | null;
16848
+ duration_ms?: number | null;
16849
+ error?: string | null;
16850
+ error_class?: string | null;
16851
+ external_action?: string | null;
16852
+ external_ref?: string | null;
16853
+ external_response?: Json | null;
16854
+ external_status?: string | null;
16855
+ external_system?: string | null;
16856
+ id?: string;
16857
+ input?: Json | null;
16858
+ next_attempt_at?: string | null;
16859
+ next_step?: string | null;
16860
+ node_id?: string | null;
16861
+ order_ref?: string | null;
16862
+ order_source?: string | null;
16863
+ output?: Json | null;
16864
+ phase?: string | null;
16865
+ reads?: Json | null;
16866
+ reason?: string | null;
16867
+ rule?: string | null;
16868
+ slip_ref?: string | null;
16869
+ status?: string | null;
16870
+ step?: string | null;
16871
+ trace_id?: string | null;
16872
+ values_used?: Json | null;
16873
+ vervalt_op?: string;
16874
+ };
16875
+ Relationships: [];
16876
+ };
16877
+ logistics_logboek_2027w04: {
16878
+ Row: {
16879
+ actor: string | null;
16880
+ attempts: number | null;
16881
+ calc: Json | null;
16882
+ cart_ref: string | null;
16883
+ created_at: string;
16884
+ db_action: string | null;
16885
+ db_new: Json | null;
16886
+ db_old: Json | null;
16887
+ db_record: string | null;
16888
+ db_table: string | null;
16889
+ decision: string | null;
16890
+ duration_ms: number | null;
16891
+ error: string | null;
16892
+ error_class: string | null;
16893
+ external_action: string | null;
16894
+ external_ref: string | null;
16895
+ external_response: Json | null;
16896
+ external_status: string | null;
16897
+ external_system: string | null;
16898
+ id: string;
16899
+ input: Json | null;
16900
+ next_attempt_at: string | null;
16901
+ next_step: string | null;
16902
+ node_id: string | null;
16903
+ order_ref: string | null;
16904
+ order_source: string | null;
16905
+ output: Json | null;
16906
+ phase: string | null;
16907
+ reads: Json | null;
16908
+ reason: string | null;
16909
+ rule: string | null;
16910
+ slip_ref: string | null;
16911
+ status: string | null;
16912
+ step: string | null;
16913
+ trace_id: string | null;
16914
+ values_used: Json | null;
16915
+ vervalt_op: string;
16916
+ };
16917
+ Insert: {
16918
+ actor?: string | null;
16919
+ attempts?: number | null;
16920
+ calc?: Json | null;
16921
+ cart_ref?: string | null;
16922
+ created_at?: string;
16923
+ db_action?: string | null;
16924
+ db_new?: Json | null;
16925
+ db_old?: Json | null;
16926
+ db_record?: string | null;
16927
+ db_table?: string | null;
16928
+ decision?: string | null;
16929
+ duration_ms?: number | null;
16930
+ error?: string | null;
16931
+ error_class?: string | null;
16932
+ external_action?: string | null;
16933
+ external_ref?: string | null;
16934
+ external_response?: Json | null;
16935
+ external_status?: string | null;
16936
+ external_system?: string | null;
16937
+ id?: string;
16938
+ input?: Json | null;
16939
+ next_attempt_at?: string | null;
16940
+ next_step?: string | null;
16941
+ node_id?: string | null;
16942
+ order_ref?: string | null;
16943
+ order_source?: string | null;
16944
+ output?: Json | null;
16945
+ phase?: string | null;
16946
+ reads?: Json | null;
16947
+ reason?: string | null;
16948
+ rule?: string | null;
16949
+ slip_ref?: string | null;
16950
+ status?: string | null;
16951
+ step?: string | null;
16952
+ trace_id?: string | null;
16953
+ values_used?: Json | null;
16954
+ vervalt_op: string;
16955
+ };
16956
+ Update: {
16957
+ actor?: string | null;
16958
+ attempts?: number | null;
16959
+ calc?: Json | null;
16960
+ cart_ref?: string | null;
16961
+ created_at?: string;
16962
+ db_action?: string | null;
16963
+ db_new?: Json | null;
16964
+ db_old?: Json | null;
16965
+ db_record?: string | null;
16966
+ db_table?: string | null;
16967
+ decision?: string | null;
16968
+ duration_ms?: number | null;
16969
+ error?: string | null;
16970
+ error_class?: string | null;
16971
+ external_action?: string | null;
16972
+ external_ref?: string | null;
16973
+ external_response?: Json | null;
16974
+ external_status?: string | null;
16975
+ external_system?: string | null;
16976
+ id?: string;
16977
+ input?: Json | null;
16978
+ next_attempt_at?: string | null;
16979
+ next_step?: string | null;
16980
+ node_id?: string | null;
16981
+ order_ref?: string | null;
16982
+ order_source?: string | null;
16983
+ output?: Json | null;
16984
+ phase?: string | null;
16985
+ reads?: Json | null;
16986
+ reason?: string | null;
16987
+ rule?: string | null;
16988
+ slip_ref?: string | null;
16989
+ status?: string | null;
16990
+ step?: string | null;
16991
+ trace_id?: string | null;
16992
+ values_used?: Json | null;
16993
+ vervalt_op?: string;
16994
+ };
16995
+ Relationships: [];
16996
+ };
16997
+ logistics_logboek_2027w05: {
16998
+ Row: {
16999
+ actor: string | null;
17000
+ attempts: number | null;
17001
+ calc: Json | null;
17002
+ cart_ref: string | null;
17003
+ created_at: string;
17004
+ db_action: string | null;
17005
+ db_new: Json | null;
17006
+ db_old: Json | null;
17007
+ db_record: string | null;
17008
+ db_table: string | null;
17009
+ decision: string | null;
17010
+ duration_ms: number | null;
17011
+ error: string | null;
17012
+ error_class: string | null;
17013
+ external_action: string | null;
17014
+ external_ref: string | null;
17015
+ external_response: Json | null;
17016
+ external_status: string | null;
17017
+ external_system: string | null;
17018
+ id: string;
17019
+ input: Json | null;
17020
+ next_attempt_at: string | null;
17021
+ next_step: string | null;
17022
+ node_id: string | null;
17023
+ order_ref: string | null;
17024
+ order_source: string | null;
17025
+ output: Json | null;
17026
+ phase: string | null;
17027
+ reads: Json | null;
17028
+ reason: string | null;
17029
+ rule: string | null;
17030
+ slip_ref: string | null;
17031
+ status: string | null;
17032
+ step: string | null;
17033
+ trace_id: string | null;
17034
+ values_used: Json | null;
17035
+ vervalt_op: string;
17036
+ };
17037
+ Insert: {
17038
+ actor?: string | null;
17039
+ attempts?: number | null;
17040
+ calc?: Json | null;
17041
+ cart_ref?: string | null;
17042
+ created_at?: string;
17043
+ db_action?: string | null;
17044
+ db_new?: Json | null;
17045
+ db_old?: Json | null;
17046
+ db_record?: string | null;
17047
+ db_table?: string | null;
17048
+ decision?: string | null;
17049
+ duration_ms?: number | null;
17050
+ error?: string | null;
17051
+ error_class?: string | null;
17052
+ external_action?: string | null;
17053
+ external_ref?: string | null;
17054
+ external_response?: Json | null;
17055
+ external_status?: string | null;
17056
+ external_system?: string | null;
17057
+ id?: string;
17058
+ input?: Json | null;
17059
+ next_attempt_at?: string | null;
17060
+ next_step?: string | null;
17061
+ node_id?: string | null;
17062
+ order_ref?: string | null;
17063
+ order_source?: string | null;
17064
+ output?: Json | null;
17065
+ phase?: string | null;
17066
+ reads?: Json | null;
17067
+ reason?: string | null;
17068
+ rule?: string | null;
17069
+ slip_ref?: string | null;
17070
+ status?: string | null;
17071
+ step?: string | null;
17072
+ trace_id?: string | null;
17073
+ values_used?: Json | null;
17074
+ vervalt_op: string;
17075
+ };
17076
+ Update: {
17077
+ actor?: string | null;
17078
+ attempts?: number | null;
17079
+ calc?: Json | null;
17080
+ cart_ref?: string | null;
17081
+ created_at?: string;
17082
+ db_action?: string | null;
17083
+ db_new?: Json | null;
17084
+ db_old?: Json | null;
17085
+ db_record?: string | null;
17086
+ db_table?: string | null;
17087
+ decision?: string | null;
17088
+ duration_ms?: number | null;
17089
+ error?: string | null;
17090
+ error_class?: string | null;
17091
+ external_action?: string | null;
17092
+ external_ref?: string | null;
17093
+ external_response?: Json | null;
17094
+ external_status?: string | null;
17095
+ external_system?: string | null;
17096
+ id?: string;
17097
+ input?: Json | null;
17098
+ next_attempt_at?: string | null;
17099
+ next_step?: string | null;
17100
+ node_id?: string | null;
17101
+ order_ref?: string | null;
17102
+ order_source?: string | null;
17103
+ output?: Json | null;
17104
+ phase?: string | null;
17105
+ reads?: Json | null;
17106
+ reason?: string | null;
17107
+ rule?: string | null;
17108
+ slip_ref?: string | null;
17109
+ status?: string | null;
17110
+ step?: string | null;
17111
+ trace_id?: string | null;
17112
+ values_used?: Json | null;
17113
+ vervalt_op?: string;
17114
+ };
17115
+ Relationships: [];
17116
+ };
17117
+ logistics_logboek_2027w06: {
17118
+ Row: {
17119
+ actor: string | null;
17120
+ attempts: number | null;
17121
+ calc: Json | null;
17122
+ cart_ref: string | null;
17123
+ created_at: string;
17124
+ db_action: string | null;
17125
+ db_new: Json | null;
17126
+ db_old: Json | null;
17127
+ db_record: string | null;
17128
+ db_table: string | null;
17129
+ decision: string | null;
17130
+ duration_ms: number | null;
17131
+ error: string | null;
17132
+ error_class: string | null;
17133
+ external_action: string | null;
17134
+ external_ref: string | null;
17135
+ external_response: Json | null;
17136
+ external_status: string | null;
17137
+ external_system: string | null;
17138
+ id: string;
17139
+ input: Json | null;
17140
+ next_attempt_at: string | null;
17141
+ next_step: string | null;
17142
+ node_id: string | null;
17143
+ order_ref: string | null;
17144
+ order_source: string | null;
17145
+ output: Json | null;
17146
+ phase: string | null;
17147
+ reads: Json | null;
17148
+ reason: string | null;
17149
+ rule: string | null;
17150
+ slip_ref: string | null;
17151
+ status: string | null;
17152
+ step: string | null;
17153
+ trace_id: string | null;
17154
+ values_used: Json | null;
17155
+ vervalt_op: string;
17156
+ };
17157
+ Insert: {
17158
+ actor?: string | null;
17159
+ attempts?: number | null;
17160
+ calc?: Json | null;
17161
+ cart_ref?: string | null;
17162
+ created_at?: string;
17163
+ db_action?: string | null;
17164
+ db_new?: Json | null;
17165
+ db_old?: Json | null;
17166
+ db_record?: string | null;
17167
+ db_table?: string | null;
17168
+ decision?: string | null;
17169
+ duration_ms?: number | null;
17170
+ error?: string | null;
17171
+ error_class?: string | null;
17172
+ external_action?: string | null;
17173
+ external_ref?: string | null;
17174
+ external_response?: Json | null;
17175
+ external_status?: string | null;
17176
+ external_system?: string | null;
17177
+ id?: string;
17178
+ input?: Json | null;
17179
+ next_attempt_at?: string | null;
17180
+ next_step?: string | null;
17181
+ node_id?: string | null;
17182
+ order_ref?: string | null;
17183
+ order_source?: string | null;
17184
+ output?: Json | null;
17185
+ phase?: string | null;
17186
+ reads?: Json | null;
17187
+ reason?: string | null;
17188
+ rule?: string | null;
17189
+ slip_ref?: string | null;
17190
+ status?: string | null;
17191
+ step?: string | null;
17192
+ trace_id?: string | null;
17193
+ values_used?: Json | null;
17194
+ vervalt_op: string;
17195
+ };
17196
+ Update: {
17197
+ actor?: string | null;
17198
+ attempts?: number | null;
17199
+ calc?: Json | null;
17200
+ cart_ref?: string | null;
17201
+ created_at?: string;
17202
+ db_action?: string | null;
17203
+ db_new?: Json | null;
17204
+ db_old?: Json | null;
17205
+ db_record?: string | null;
17206
+ db_table?: string | null;
17207
+ decision?: string | null;
17208
+ duration_ms?: number | null;
17209
+ error?: string | null;
17210
+ error_class?: string | null;
17211
+ external_action?: string | null;
17212
+ external_ref?: string | null;
17213
+ external_response?: Json | null;
17214
+ external_status?: string | null;
17215
+ external_system?: string | null;
17216
+ id?: string;
17217
+ input?: Json | null;
17218
+ next_attempt_at?: string | null;
17219
+ next_step?: string | null;
17220
+ node_id?: string | null;
17221
+ order_ref?: string | null;
17222
+ order_source?: string | null;
17223
+ output?: Json | null;
17224
+ phase?: string | null;
17225
+ reads?: Json | null;
17226
+ reason?: string | null;
17227
+ rule?: string | null;
17228
+ slip_ref?: string | null;
17229
+ status?: string | null;
17230
+ step?: string | null;
17231
+ trace_id?: string | null;
17232
+ values_used?: Json | null;
17233
+ vervalt_op?: string;
17234
+ };
17235
+ Relationships: [];
17236
+ };
17237
+ logistics_logboek_2027w07: {
17238
+ Row: {
17239
+ actor: string | null;
17240
+ attempts: number | null;
17241
+ calc: Json | null;
17242
+ cart_ref: string | null;
17243
+ created_at: string;
17244
+ db_action: string | null;
17245
+ db_new: Json | null;
17246
+ db_old: Json | null;
17247
+ db_record: string | null;
17248
+ db_table: string | null;
17249
+ decision: string | null;
17250
+ duration_ms: number | null;
17251
+ error: string | null;
17252
+ error_class: string | null;
17253
+ external_action: string | null;
17254
+ external_ref: string | null;
17255
+ external_response: Json | null;
17256
+ external_status: string | null;
17257
+ external_system: string | null;
17258
+ id: string;
17259
+ input: Json | null;
17260
+ next_attempt_at: string | null;
17261
+ next_step: string | null;
17262
+ node_id: string | null;
17263
+ order_ref: string | null;
17264
+ order_source: string | null;
17265
+ output: Json | null;
17266
+ phase: string | null;
17267
+ reads: Json | null;
17268
+ reason: string | null;
17269
+ rule: string | null;
17270
+ slip_ref: string | null;
17271
+ status: string | null;
17272
+ step: string | null;
17273
+ trace_id: string | null;
17274
+ values_used: Json | null;
17275
+ vervalt_op: string;
17276
+ };
17277
+ Insert: {
17278
+ actor?: string | null;
17279
+ attempts?: number | null;
17280
+ calc?: Json | null;
17281
+ cart_ref?: string | null;
17282
+ created_at?: string;
17283
+ db_action?: string | null;
17284
+ db_new?: Json | null;
17285
+ db_old?: Json | null;
17286
+ db_record?: string | null;
17287
+ db_table?: string | null;
17288
+ decision?: string | null;
17289
+ duration_ms?: number | null;
17290
+ error?: string | null;
17291
+ error_class?: string | null;
17292
+ external_action?: string | null;
17293
+ external_ref?: string | null;
17294
+ external_response?: Json | null;
17295
+ external_status?: string | null;
17296
+ external_system?: string | null;
17297
+ id?: string;
17298
+ input?: Json | null;
17299
+ next_attempt_at?: string | null;
17300
+ next_step?: string | null;
17301
+ node_id?: string | null;
17302
+ order_ref?: string | null;
17303
+ order_source?: string | null;
17304
+ output?: Json | null;
17305
+ phase?: string | null;
17306
+ reads?: Json | null;
17307
+ reason?: string | null;
17308
+ rule?: string | null;
17309
+ slip_ref?: string | null;
17310
+ status?: string | null;
17311
+ step?: string | null;
17312
+ trace_id?: string | null;
17313
+ values_used?: Json | null;
17314
+ vervalt_op: string;
17315
+ };
17316
+ Update: {
17317
+ actor?: string | null;
17318
+ attempts?: number | null;
17319
+ calc?: Json | null;
17320
+ cart_ref?: string | null;
17321
+ created_at?: string;
17322
+ db_action?: string | null;
17323
+ db_new?: Json | null;
17324
+ db_old?: Json | null;
17325
+ db_record?: string | null;
17326
+ db_table?: string | null;
17327
+ decision?: string | null;
17328
+ duration_ms?: number | null;
17329
+ error?: string | null;
17330
+ error_class?: string | null;
17331
+ external_action?: string | null;
17332
+ external_ref?: string | null;
17333
+ external_response?: Json | null;
17334
+ external_status?: string | null;
17335
+ external_system?: string | null;
17336
+ id?: string;
17337
+ input?: Json | null;
17338
+ next_attempt_at?: string | null;
17339
+ next_step?: string | null;
17340
+ node_id?: string | null;
17341
+ order_ref?: string | null;
17342
+ order_source?: string | null;
17343
+ output?: Json | null;
17344
+ phase?: string | null;
17345
+ reads?: Json | null;
17346
+ reason?: string | null;
17347
+ rule?: string | null;
17348
+ slip_ref?: string | null;
17349
+ status?: string | null;
17350
+ step?: string | null;
17351
+ trace_id?: string | null;
17352
+ values_used?: Json | null;
17353
+ vervalt_op?: string;
17354
+ };
17355
+ Relationships: [];
17356
+ };
17357
+ logistics_meldingen: {
17358
+ Row: {
17359
+ aantal: number;
17360
+ detail: string | null;
17361
+ eerste_keer: string;
17362
+ functie: string;
17363
+ id: string;
17364
+ laatste_keer: string;
17365
+ order_id: string | null;
17366
+ tekst: string;
17367
+ };
17368
+ Insert: {
17369
+ aantal?: number;
17370
+ detail?: string | null;
17371
+ eerste_keer?: string;
17372
+ functie: string;
17373
+ id?: string;
17374
+ laatste_keer?: string;
17375
+ order_id?: string | null;
17376
+ tekst: string;
17377
+ };
17378
+ Update: {
17379
+ aantal?: number;
17380
+ detail?: string | null;
17381
+ eerste_keer?: string;
17382
+ functie?: string;
17383
+ id?: string;
17384
+ laatste_keer?: string;
17385
+ order_id?: string | null;
17386
+ tekst?: string;
17387
+ };
17388
+ Relationships: [];
17389
+ };
17390
+ logistics_merge_herstel_log: {
17391
+ Row: {
17392
+ categorie: string;
17393
+ details: Json | null;
17394
+ hersteld_at: string;
17395
+ kept_order_id: string | null;
17396
+ merged_order_id: string;
17397
+ regels_terug: number;
17398
+ };
17399
+ Insert: {
17400
+ categorie: string;
17401
+ details?: Json | null;
17402
+ hersteld_at?: string;
17403
+ kept_order_id?: string | null;
17404
+ merged_order_id: string;
17405
+ regels_terug?: number;
17406
+ };
17407
+ Update: {
17408
+ categorie?: string;
17409
+ details?: Json | null;
17410
+ hersteld_at?: string;
17411
+ kept_order_id?: string | null;
17412
+ merged_order_id?: string;
17413
+ regels_terug?: number;
17414
+ };
17415
+ Relationships: [];
17416
+ };
17417
+ logistics_merge_meldingen: {
17418
+ Row: {
17419
+ aantal: number | null;
17420
+ created_at: string;
17421
+ fout: string | null;
17422
+ group_key: string | null;
17423
+ id: string;
17424
+ order_id: string | null;
17425
+ soort: string;
17426
+ };
17427
+ Insert: {
17428
+ aantal?: number | null;
17429
+ created_at?: string;
17430
+ fout?: string | null;
17431
+ group_key?: string | null;
17432
+ id?: string;
17433
+ order_id?: string | null;
17434
+ soort: string;
17435
+ };
17436
+ Update: {
17437
+ aantal?: number | null;
17438
+ created_at?: string;
17439
+ fout?: string | null;
17440
+ group_key?: string | null;
17441
+ id?: string;
17442
+ order_id?: string | null;
17443
+ soort?: string;
17444
+ };
17445
+ Relationships: [];
17446
+ };
17447
+ logistics_opening_exceptions: {
17448
+ Row: {
17449
+ closes: string | null;
17450
+ created_at: string;
17451
+ day: string;
17452
+ id: string;
17453
+ is_closed: boolean;
17454
+ note: string | null;
17455
+ opens: string | null;
17456
+ };
17457
+ Insert: {
17458
+ closes?: string | null;
17459
+ created_at?: string;
17460
+ day: string;
17461
+ id?: string;
17462
+ is_closed?: boolean;
17463
+ note?: string | null;
17464
+ opens?: string | null;
17465
+ };
17466
+ Update: {
17467
+ closes?: string | null;
17468
+ created_at?: string;
17469
+ day?: string;
17470
+ id?: string;
17471
+ is_closed?: boolean;
17472
+ note?: string | null;
17473
+ opens?: string | null;
17474
+ };
17475
+ Relationships: [];
17476
+ };
17477
+ logistics_opening_hours: {
17478
+ Row: {
17479
+ closes: string;
17480
+ created_at: string;
17481
+ id: string;
17482
+ is_active: boolean;
17483
+ note: string | null;
17484
+ opens: string;
17485
+ weekday: number;
17486
+ };
17487
+ Insert: {
17488
+ closes: string;
17489
+ created_at?: string;
17490
+ id?: string;
17491
+ is_active?: boolean;
17492
+ note?: string | null;
17493
+ opens: string;
17494
+ weekday: number;
15292
17495
  };
15293
17496
  Update: {
15294
17497
  closes?: string;
@@ -15460,6 +17663,42 @@ export type Database = {
15460
17663
  };
15461
17664
  Relationships: [];
15462
17665
  };
17666
+ logistics_order_momenten: {
17667
+ Row: {
17668
+ bijgewerkt_op: string;
17669
+ factuur_via_floriday: boolean;
17670
+ floriday_geleverd_op: string | null;
17671
+ gereed_voor_facturatie_op: string | null;
17672
+ opgehaald_gemeld_op: string | null;
17673
+ ophaal_vervoerder: string | null;
17674
+ ophaal_verwacht_op: string | null;
17675
+ order_id: string;
17676
+ verzonden_op: string | null;
17677
+ };
17678
+ Insert: {
17679
+ bijgewerkt_op?: string;
17680
+ factuur_via_floriday?: boolean;
17681
+ floriday_geleverd_op?: string | null;
17682
+ gereed_voor_facturatie_op?: string | null;
17683
+ opgehaald_gemeld_op?: string | null;
17684
+ ophaal_vervoerder?: string | null;
17685
+ ophaal_verwacht_op?: string | null;
17686
+ order_id: string;
17687
+ verzonden_op?: string | null;
17688
+ };
17689
+ Update: {
17690
+ bijgewerkt_op?: string;
17691
+ factuur_via_floriday?: boolean;
17692
+ floriday_geleverd_op?: string | null;
17693
+ gereed_voor_facturatie_op?: string | null;
17694
+ opgehaald_gemeld_op?: string | null;
17695
+ ophaal_vervoerder?: string | null;
17696
+ ophaal_verwacht_op?: string | null;
17697
+ order_id?: string;
17698
+ verzonden_op?: string | null;
17699
+ };
17700
+ Relationships: [];
17701
+ };
15463
17702
  logistics_order_pick_day: {
15464
17703
  Row: {
15465
17704
  order_id: string;
@@ -15665,35 +17904,47 @@ export type Database = {
15665
17904
  };
15666
17905
  logistics_pickup_moments: {
15667
17906
  Row: {
17907
+ carrier_id: string | null;
15668
17908
  carrier_ref: string | null;
15669
17909
  created_at: string;
15670
17910
  id: string;
15671
17911
  label: string | null;
15672
17912
  moment_date: string;
17913
+ pickup_days: number | null;
15673
17914
  pickup_time: string;
15674
17915
  sequence: number;
17916
+ signup_days: number | null;
17917
+ signup_time: string | null;
15675
17918
  updated_at: string;
15676
17919
  user_id: string;
15677
17920
  };
15678
17921
  Insert: {
17922
+ carrier_id?: string | null;
15679
17923
  carrier_ref?: string | null;
15680
17924
  created_at?: string;
15681
17925
  id?: string;
15682
17926
  label?: string | null;
15683
17927
  moment_date: string;
17928
+ pickup_days?: number | null;
15684
17929
  pickup_time: string;
15685
17930
  sequence?: number;
17931
+ signup_days?: number | null;
17932
+ signup_time?: string | null;
15686
17933
  updated_at?: string;
15687
17934
  user_id?: string;
15688
17935
  };
15689
17936
  Update: {
17937
+ carrier_id?: string | null;
15690
17938
  carrier_ref?: string | null;
15691
17939
  created_at?: string;
15692
17940
  id?: string;
15693
17941
  label?: string | null;
15694
17942
  moment_date?: string;
17943
+ pickup_days?: number | null;
15695
17944
  pickup_time?: string;
15696
17945
  sequence?: number;
17946
+ signup_days?: number | null;
17947
+ signup_time?: string | null;
15697
17948
  updated_at?: string;
15698
17949
  user_id?: string;
15699
17950
  };
@@ -15757,6 +18008,7 @@ export type Database = {
15757
18008
  enqueued_at: string;
15758
18009
  error: string | null;
15759
18010
  id: string;
18011
+ indeling_fp: string | null;
15760
18012
  next_attempt_at: string;
15761
18013
  order_fp: string | null;
15762
18014
  order_id: string;
@@ -15771,6 +18023,7 @@ export type Database = {
15771
18023
  enqueued_at?: string;
15772
18024
  error?: string | null;
15773
18025
  id?: string;
18026
+ indeling_fp?: string | null;
15774
18027
  next_attempt_at?: string;
15775
18028
  order_fp?: string | null;
15776
18029
  order_id: string;
@@ -15785,6 +18038,7 @@ export type Database = {
15785
18038
  enqueued_at?: string;
15786
18039
  error?: string | null;
15787
18040
  id?: string;
18041
+ indeling_fp?: string | null;
15788
18042
  next_attempt_at?: string;
15789
18043
  order_fp?: string | null;
15790
18044
  order_id?: string;
@@ -15891,6 +18145,27 @@ export type Database = {
15891
18145
  };
15892
18146
  Relationships: [];
15893
18147
  };
18148
+ logistics_plan_vingerafdruk: {
18149
+ Row: {
18150
+ bijgewerkt_op: string;
18151
+ fp: string;
18152
+ order_id: string;
18153
+ uitkomst: string;
18154
+ };
18155
+ Insert: {
18156
+ bijgewerkt_op?: string;
18157
+ fp: string;
18158
+ order_id: string;
18159
+ uitkomst: string;
18160
+ };
18161
+ Update: {
18162
+ bijgewerkt_op?: string;
18163
+ fp?: string;
18164
+ order_id?: string;
18165
+ uitkomst?: string;
18166
+ };
18167
+ Relationships: [];
18168
+ };
15894
18169
  logistics_planner_diff_runs: {
15895
18170
  Row: {
15896
18171
  after_snapshot: Json | null;
@@ -16504,6 +18779,24 @@ export type Database = {
16504
18779
  };
16505
18780
  Relationships: [];
16506
18781
  };
18782
+ logistics_status_fasen: {
18783
+ Row: {
18784
+ created_at: string;
18785
+ fase: string;
18786
+ status_sleutel: string;
18787
+ };
18788
+ Insert: {
18789
+ created_at?: string;
18790
+ fase: string;
18791
+ status_sleutel: string;
18792
+ };
18793
+ Update: {
18794
+ created_at?: string;
18795
+ fase?: string;
18796
+ status_sleutel?: string;
18797
+ };
18798
+ Relationships: [];
18799
+ };
16507
18800
  logistics_sticker_prints: {
16508
18801
  Row: {
16509
18802
  attempts: number;
@@ -17284,6 +19577,66 @@ export type Database = {
17284
19577
  };
17285
19578
  Relationships: [];
17286
19579
  };
19580
+ logistics_werker_stand: {
19581
+ Row: {
19582
+ bijgewerkt_op: string;
19583
+ cursor: string | null;
19584
+ fouten: number;
19585
+ laatste_duur_ms: number | null;
19586
+ laatste_eind: string | null;
19587
+ laatste_start: string | null;
19588
+ stappen: Json | null;
19589
+ uitgesteld: number;
19590
+ werker: string;
19591
+ };
19592
+ Insert: {
19593
+ bijgewerkt_op?: string;
19594
+ cursor?: string | null;
19595
+ fouten?: number;
19596
+ laatste_duur_ms?: number | null;
19597
+ laatste_eind?: string | null;
19598
+ laatste_start?: string | null;
19599
+ stappen?: Json | null;
19600
+ uitgesteld?: number;
19601
+ werker: string;
19602
+ };
19603
+ Update: {
19604
+ bijgewerkt_op?: string;
19605
+ cursor?: string | null;
19606
+ fouten?: number;
19607
+ laatste_duur_ms?: number | null;
19608
+ laatste_eind?: string | null;
19609
+ laatste_start?: string | null;
19610
+ stappen?: Json | null;
19611
+ uitgesteld?: number;
19612
+ werker?: string;
19613
+ };
19614
+ Relationships: [];
19615
+ };
19616
+ logistics_werkset: {
19617
+ Row: {
19618
+ bijgewerkt_op: string;
19619
+ fase: string;
19620
+ kargroep: string | null;
19621
+ leverdag: string;
19622
+ order_id: string;
19623
+ };
19624
+ Insert: {
19625
+ bijgewerkt_op?: string;
19626
+ fase: string;
19627
+ kargroep?: string | null;
19628
+ leverdag: string;
19629
+ order_id: string;
19630
+ };
19631
+ Update: {
19632
+ bijgewerkt_op?: string;
19633
+ fase?: string;
19634
+ kargroep?: string | null;
19635
+ leverdag?: string;
19636
+ order_id?: string;
19637
+ };
19638
+ Relationships: [];
19639
+ };
17287
19640
  logistics_zonder_kar_pogingen: {
17288
19641
  Row: {
17289
19642
  created_at: string;
@@ -31980,6 +34333,47 @@ export type Database = {
31980
34333
  };
31981
34334
  Relationships: [];
31982
34335
  };
34336
+ voorraad_prijs_aanvullingen: {
34337
+ Row: {
34338
+ aangevuld_op: string;
34339
+ bron: string;
34340
+ connection_id: string | null;
34341
+ created_at: string;
34342
+ id: string;
34343
+ prijs: number;
34344
+ product_id: string;
34345
+ trade_item_id: string | null;
34346
+ };
34347
+ Insert: {
34348
+ aangevuld_op?: string;
34349
+ bron: string;
34350
+ connection_id?: string | null;
34351
+ created_at?: string;
34352
+ id?: string;
34353
+ prijs: number;
34354
+ product_id: string;
34355
+ trade_item_id?: string | null;
34356
+ };
34357
+ Update: {
34358
+ aangevuld_op?: string;
34359
+ bron?: string;
34360
+ connection_id?: string | null;
34361
+ created_at?: string;
34362
+ id?: string;
34363
+ prijs?: number;
34364
+ product_id?: string;
34365
+ trade_item_id?: string | null;
34366
+ };
34367
+ Relationships: [
34368
+ {
34369
+ foreignKeyName: "voorraad_prijs_aanvullingen_product_id_fkey";
34370
+ columns: ["product_id"];
34371
+ isOneToOne: false;
34372
+ referencedRelation: "products";
34373
+ referencedColumns: ["id"];
34374
+ }
34375
+ ];
34376
+ };
31983
34377
  voorraad_publish_attempts: {
31984
34378
  Row: {
31985
34379
  action: string;
@@ -34259,6 +36653,47 @@ export type Database = {
34259
36653
  };
34260
36654
  Relationships: [];
34261
36655
  };
36656
+ logistics_logboek_alles: {
36657
+ Row: {
36658
+ actor: string | null;
36659
+ attempts: number | null;
36660
+ calc: Json | null;
36661
+ cart_ref: string | null;
36662
+ created_at: string | null;
36663
+ db_action: string | null;
36664
+ db_new: Json | null;
36665
+ db_old: Json | null;
36666
+ db_record: string | null;
36667
+ db_table: string | null;
36668
+ decision: string | null;
36669
+ duration_ms: number | null;
36670
+ error: string | null;
36671
+ error_class: string | null;
36672
+ external_action: string | null;
36673
+ external_ref: string | null;
36674
+ external_response: Json | null;
36675
+ external_status: string | null;
36676
+ external_system: string | null;
36677
+ id: string | null;
36678
+ input: Json | null;
36679
+ next_attempt_at: string | null;
36680
+ next_step: string | null;
36681
+ node_id: string | null;
36682
+ order_ref: string | null;
36683
+ order_source: string | null;
36684
+ output: Json | null;
36685
+ phase: string | null;
36686
+ reads: Json | null;
36687
+ reason: string | null;
36688
+ rule: string | null;
36689
+ slip_ref: string | null;
36690
+ status: string | null;
36691
+ step: string | null;
36692
+ trace_id: string | null;
36693
+ values_used: Json | null;
36694
+ };
36695
+ Relationships: [];
36696
+ };
34262
36697
  logistics_packing_diff: {
34263
36698
  Row: {
34264
36699
  dev_key: string | null;
@@ -35406,6 +37841,52 @@ export type Database = {
35406
37841
  };
35407
37842
  Returns: Json;
35408
37843
  };
37844
+ afh_aanmelding_mail: {
37845
+ Args: {
37846
+ p_dispatch_id: string;
37847
+ };
37848
+ Returns: Json;
37849
+ };
37850
+ afh_aanmeldingen_kaarten: {
37851
+ Args: {
37852
+ p_tot: string;
37853
+ p_tz: string;
37854
+ p_van: string;
37855
+ };
37856
+ Returns: Json;
37857
+ };
37858
+ afh_aanmeldingen_lijst: {
37859
+ Args: {
37860
+ p_limit?: number;
37861
+ p_offset?: number;
37862
+ p_status?: string;
37863
+ p_tot: string;
37864
+ p_van: string;
37865
+ p_zoek?: string;
37866
+ };
37867
+ Returns: Json;
37868
+ };
37869
+ afh_aanmeldingen_samenvatting: {
37870
+ Args: never;
37871
+ Returns: Json;
37872
+ };
37873
+ afh_aanmeldingen_zoektekst_aanvullen: {
37874
+ Args: never;
37875
+ Returns: Json;
37876
+ };
37877
+ afh_aanmeldtaak_status: {
37878
+ Args: never;
37879
+ Returns: Json;
37880
+ };
37881
+ afh_afleveradressen_zoek: {
37882
+ Args: {
37883
+ p_ids: string[];
37884
+ p_limit: number;
37885
+ p_offset: number;
37886
+ p_zoek: string;
37887
+ };
37888
+ Returns: Json;
37889
+ };
35409
37890
  afh_assert_ingelogd: {
35410
37891
  Args: never;
35411
37892
  Returns: undefined;
@@ -35428,6 +37909,30 @@ export type Database = {
35428
37909
  Args: never;
35429
37910
  Returns: number;
35430
37911
  };
37912
+ afh_carrier_moments_omzetten_uitvoeren: {
37913
+ Args: never;
37914
+ Returns: Json;
37915
+ };
37916
+ afh_carrier_moments_omzetten_voorbeeld: {
37917
+ Args: never;
37918
+ Returns: Json;
37919
+ };
37920
+ afh_carrier_ontbreekt: {
37921
+ Args: {
37922
+ p_carrier_id: string;
37923
+ };
37924
+ Returns: string[];
37925
+ };
37926
+ afh_carrier_ontbreekt_rij: {
37927
+ Args: {
37928
+ c: Json;
37929
+ };
37930
+ Returns: string[];
37931
+ };
37932
+ afh_carriers_ontbreekt_lijst: {
37933
+ Args: never;
37934
+ Returns: Json;
37935
+ };
35431
37936
  afh_city_code: {
35432
37937
  Args: {
35433
37938
  _city: string;
@@ -35435,6 +37940,13 @@ export type Database = {
35435
37940
  };
35436
37941
  Returns: string;
35437
37942
  };
37943
+ afh_dispatch_zoektekst: {
37944
+ Args: {
37945
+ p_carrier_id: string;
37946
+ p_order_ids: string[];
37947
+ };
37948
+ Returns: string;
37949
+ };
35438
37950
  afh_ensure_defaults: {
35439
37951
  Args: never;
35440
37952
  Returns: Json;
@@ -35482,6 +37994,13 @@ export type Database = {
35482
37994
  };
35483
37995
  Returns: string;
35484
37996
  };
37997
+ afh_order_aangemeld_bij: {
37998
+ Args: {
37999
+ p_carrier_id: string;
38000
+ p_order_id: string;
38001
+ };
38002
+ Returns: boolean;
38003
+ };
35485
38004
  afh_order_floriday_afgehandeld: {
35486
38005
  Args: {
35487
38006
  p_order_id: string;
@@ -35494,6 +38013,12 @@ export type Database = {
35494
38013
  };
35495
38014
  Returns: boolean;
35496
38015
  };
38016
+ afh_order_geannuleerd: {
38017
+ Args: {
38018
+ p_status: string;
38019
+ };
38020
+ Returns: boolean;
38021
+ };
35497
38022
  afh_order_signup_uitgesloten: {
35498
38023
  Args: {
35499
38024
  p_order_id: string;
@@ -35532,6 +38057,55 @@ export type Database = {
35532
38057
  };
35533
38058
  Returns: Json;
35534
38059
  };
38060
+ afh_set_signup_goedkeuring_minuten: {
38061
+ Args: {
38062
+ p_minuten: number;
38063
+ };
38064
+ Returns: Json;
38065
+ };
38066
+ afh_signup_afmeld_groep: {
38067
+ Args: {
38068
+ p_carrier_id: string;
38069
+ p_moment_key: string;
38070
+ p_pickup_date: string;
38071
+ p_tz: string;
38072
+ };
38073
+ Returns: Json;
38074
+ };
38075
+ afh_signup_afmeld_kern: {
38076
+ Args: {
38077
+ g: Json;
38078
+ p_connection: string;
38079
+ p_purpose: string;
38080
+ p_source: string;
38081
+ p_tz: string;
38082
+ p_user: string;
38083
+ };
38084
+ Returns: Json;
38085
+ };
38086
+ afh_signup_afmeld_zeker: {
38087
+ Args: {
38088
+ p_carrier_id: string;
38089
+ p_groups: Json;
38090
+ p_order_ids: string[];
38091
+ };
38092
+ Returns: boolean;
38093
+ };
38094
+ afh_signup_afmeldingen_verwerken: {
38095
+ Args: {
38096
+ p_cfg: Json;
38097
+ p_groups: Json;
38098
+ p_tz: string;
38099
+ };
38100
+ Returns: Json;
38101
+ };
38102
+ afh_signup_afmeldmail: {
38103
+ Args: {
38104
+ g: Json;
38105
+ p_tz: string;
38106
+ };
38107
+ Returns: Json;
38108
+ };
35535
38109
  afh_signup_auto_send_on: {
35536
38110
  Args: never;
35537
38111
  Returns: boolean;
@@ -35559,6 +38133,21 @@ export type Database = {
35559
38133
  };
35560
38134
  Returns: Json;
35561
38135
  };
38136
+ afh_signup_goedkeuring_meldingen: {
38137
+ Args: {
38138
+ p_groups: Json;
38139
+ p_tz: string;
38140
+ };
38141
+ Returns: Json;
38142
+ };
38143
+ afh_signup_goedkeuring_minuten: {
38144
+ Args: never;
38145
+ Returns: number;
38146
+ };
38147
+ afh_signup_goedkeuring_minuten_status: {
38148
+ Args: never;
38149
+ Returns: Json;
38150
+ };
35562
38151
  afh_signup_groups: {
35563
38152
  Args: {
35564
38153
  p_from: string;
@@ -35591,6 +38180,35 @@ export type Database = {
35591
38180
  };
35592
38181
  Returns: Json;
35593
38182
  };
38183
+ afh_signup_herstel_onjuist: {
38184
+ Args: {
38185
+ p_dispatch_id: string;
38186
+ p_reden: string;
38187
+ };
38188
+ Returns: Json;
38189
+ };
38190
+ afh_signup_herstel_voorbeeld: {
38191
+ Args: {
38192
+ p_order_number: string;
38193
+ };
38194
+ Returns: Json;
38195
+ };
38196
+ afh_signup_is_goedgekeurd: {
38197
+ Args: {
38198
+ p_carrier_id: string;
38199
+ p_moment_key: string;
38200
+ p_pickup_date: string;
38201
+ };
38202
+ Returns: boolean;
38203
+ };
38204
+ afh_signup_key_pickup_at: {
38205
+ Args: {
38206
+ p_date: string;
38207
+ p_key: string;
38208
+ p_tz: string;
38209
+ };
38210
+ Returns: string;
38211
+ };
35594
38212
  afh_signup_mail: {
35595
38213
  Args: {
35596
38214
  g: Json;
@@ -35615,6 +38233,13 @@ export type Database = {
35615
38233
  };
35616
38234
  Returns: Json;
35617
38235
  };
38236
+ afh_signup_marge: {
38237
+ Args: {
38238
+ p_carrier_id: string;
38239
+ p_default: number;
38240
+ };
38241
+ Returns: number;
38242
+ };
35618
38243
  afh_signup_moment_for_orders: {
35619
38244
  Args: {
35620
38245
  p_order_ids: string[];
@@ -35654,6 +38279,18 @@ export type Database = {
35654
38279
  };
35655
38280
  Returns: Json;
35656
38281
  };
38282
+ afh_signup_taak_merk: {
38283
+ Args: never;
38284
+ Returns: string;
38285
+ };
38286
+ afh_signup_volgende_due: {
38287
+ Args: {
38288
+ p_cfg: Json;
38289
+ p_groups: Json;
38290
+ p_tz: string;
38291
+ };
38292
+ Returns: string;
38293
+ };
35657
38294
  afh_subtract_workdays: {
35658
38295
  Args: {
35659
38296
  _date: string;
@@ -35661,6 +38298,10 @@ export type Database = {
35661
38298
  };
35662
38299
  Returns: string;
35663
38300
  };
38301
+ afh_vangnet_status: {
38302
+ Args: never;
38303
+ Returns: Json;
38304
+ };
35664
38305
  afhandeling_ensure_defaults: {
35665
38306
  Args: never;
35666
38307
  Returns: Json;
@@ -35840,12 +38481,47 @@ export type Database = {
35840
38481
  Args: never;
35841
38482
  Returns: boolean;
35842
38483
  };
38484
+ boekhoud_vertaal_pauzeren: {
38485
+ Args: {
38486
+ p_pauze: boolean;
38487
+ p_profile_id: string;
38488
+ };
38489
+ Returns: undefined;
38490
+ };
38491
+ boekhoud_vertaal_profiel_bevestigen: {
38492
+ Args: {
38493
+ p_profile_id: string;
38494
+ };
38495
+ Returns: undefined;
38496
+ };
38497
+ boekhoud_vertaal_profiel_kiezen: {
38498
+ Args: {
38499
+ p_administration_code: string;
38500
+ p_connection_ref: string;
38501
+ p_environment: string;
38502
+ p_provider: string;
38503
+ };
38504
+ Returns: string;
38505
+ };
38506
+ boekhoud_vertaal_profiel_uitzetten: {
38507
+ Args: {
38508
+ p_profile_id: string;
38509
+ };
38510
+ Returns: undefined;
38511
+ };
35843
38512
  boekhoud_vertaal_prune_log: {
35844
38513
  Args: {
35845
38514
  p_days?: number;
35846
38515
  };
35847
38516
  Returns: number;
35848
38517
  };
38518
+ boekhoud_vertaal_schrijven: {
38519
+ Args: {
38520
+ p_aan: boolean;
38521
+ p_profile_id: string;
38522
+ };
38523
+ Returns: undefined;
38524
+ };
35849
38525
  boekhoud_vertaal_toegang: {
35850
38526
  Args: {
35851
38527
  p_niveau: string;
@@ -35900,6 +38576,30 @@ export type Database = {
35900
38576
  id: string;
35901
38577
  }[];
35902
38578
  };
38579
+ carrier_signup_afmeld_voorbeeld: {
38580
+ Args: {
38581
+ p_carrier_id: string;
38582
+ p_moment_key: string;
38583
+ p_pickup_date: string;
38584
+ };
38585
+ Returns: Json;
38586
+ };
38587
+ carrier_signup_afmelden: {
38588
+ Args: {
38589
+ p_carrier_id: string;
38590
+ p_moment_key: string;
38591
+ p_pickup_date: string;
38592
+ };
38593
+ Returns: Json;
38594
+ };
38595
+ carrier_signup_goedkeuren: {
38596
+ Args: {
38597
+ p_carrier_id: string;
38598
+ p_moment_key: string;
38599
+ p_pickup_date: string;
38600
+ };
38601
+ Returns: Json;
38602
+ };
35903
38603
  carrier_signup_overview: {
35904
38604
  Args: {
35905
38605
  p_from: string;
@@ -35930,6 +38630,15 @@ export type Database = {
35930
38630
  };
35931
38631
  Returns: Json;
35932
38632
  };
38633
+ carrier_signup_send_now_v2: {
38634
+ Args: {
38635
+ p_carrier_id: string;
38636
+ p_fingerprint: string;
38637
+ p_moment_key: string;
38638
+ p_pickup_date: string;
38639
+ };
38640
+ Returns: Json;
38641
+ };
35933
38642
  check_offer_product_available_stock: {
35934
38643
  Args: {
35935
38644
  p_campaign_product_id: string;
@@ -37182,6 +39891,29 @@ export type Database = {
37182
39891
  };
37183
39892
  Returns: undefined;
37184
39893
  };
39894
+ facturatie_auto_invoice_skip_reason: {
39895
+ Args: {
39896
+ p_custom_fields: Json;
39897
+ p_delivery_date: string;
39898
+ p_start: string;
39899
+ };
39900
+ Returns: string;
39901
+ };
39902
+ facturatie_auto_invoice_skip_reason_v2: {
39903
+ Args: {
39904
+ p_custom_fields: Json;
39905
+ p_reached_at: string;
39906
+ p_start: string;
39907
+ p_status: string;
39908
+ };
39909
+ Returns: string;
39910
+ };
39911
+ facturatie_backfill_actief: {
39912
+ Args: {
39913
+ p_custom_fields: Json;
39914
+ };
39915
+ Returns: boolean;
39916
+ };
37185
39917
  facturatie_ensure_cron: {
37186
39918
  Args: never;
37187
39919
  Returns: string;
@@ -37196,6 +39928,12 @@ export type Database = {
37196
39928
  Args: never;
37197
39929
  Returns: string;
37198
39930
  };
39931
+ facturatie_order_fase: {
39932
+ Args: {
39933
+ p_status: string;
39934
+ };
39935
+ Returns: string;
39936
+ };
37199
39937
  find_trade_item_key: {
37200
39938
  Args: {
37201
39939
  p_barcode: string;
@@ -38481,6 +41219,7 @@ export type Database = {
38481
41219
  };
38482
41220
  invoice_set_note: {
38483
41221
  Args: {
41222
+ _important?: boolean;
38484
41223
  _invoice_id: string;
38485
41224
  _note: string;
38486
41225
  };
@@ -39187,6 +41926,20 @@ export type Database = {
39187
41926
  };
39188
41927
  Returns: boolean;
39189
41928
  };
41929
+ logistics_aanmelding_geldig_at: {
41930
+ Args: {
41931
+ p_carrier_id: string;
41932
+ p_order_id: string;
41933
+ };
41934
+ Returns: string;
41935
+ };
41936
+ logistics_aanmelding_gepland_at: {
41937
+ Args: {
41938
+ p_carrier_id: string;
41939
+ p_order_id: string;
41940
+ };
41941
+ Returns: string;
41942
+ };
39190
41943
  logistics_aanmeldmoment: {
39191
41944
  Args: {
39192
41945
  p_order_ids: string[];
@@ -39254,6 +42007,10 @@ export type Database = {
39254
42007
  };
39255
42008
  Returns: Json;
39256
42009
  };
42010
+ logistics_afhandeling_gereedheid: {
42011
+ Args: never;
42012
+ Returns: Json;
42013
+ };
39257
42014
  logistics_allocation_check_changes: {
39258
42015
  Args: {
39259
42016
  p_order_item_ids?: string[];
@@ -39353,6 +42110,10 @@ export type Database = {
39353
42110
  reason_code: string;
39354
42111
  }[];
39355
42112
  };
42113
+ logistics_archiveer_na_dagen: {
42114
+ Args: never;
42115
+ Returns: number;
42116
+ };
39356
42117
  logistics_artikel_vbn: {
39357
42118
  Args: {
39358
42119
  p_product_id: string;
@@ -39434,6 +42195,20 @@ export type Database = {
39434
42195
  };
39435
42196
  Returns: Json;
39436
42197
  };
42198
+ logistics_backfill_reden_cf: {
42199
+ Args: {
42200
+ p_bron: string;
42201
+ p_cf: Json;
42202
+ };
42203
+ Returns: string;
42204
+ };
42205
+ logistics_backfill_toch_indelen: {
42206
+ Args: {
42207
+ p_order_id: string;
42208
+ p_reden?: string;
42209
+ };
42210
+ Returns: Json;
42211
+ };
39437
42212
  logistics_backorder_allowed: {
39438
42213
  Args: {
39439
42214
  p_strategy_id?: string;
@@ -39621,6 +42396,10 @@ export type Database = {
39621
42396
  };
39622
42397
  Returns: Json;
39623
42398
  };
42399
+ logistics_buffer_sluiten_modus: {
42400
+ Args: never;
42401
+ Returns: string;
42402
+ };
39624
42403
  logistics_buffer_target: {
39625
42404
  Args: {
39626
42405
  p_order_id: string;
@@ -39699,6 +42478,12 @@ export type Database = {
39699
42478
  };
39700
42479
  Returns: Json;
39701
42480
  };
42481
+ logistics_carrier_adressen: {
42482
+ Args: {
42483
+ p_carrier_id: string;
42484
+ };
42485
+ Returns: Json;
42486
+ };
39702
42487
  logistics_carrier_enqueue: {
39703
42488
  Args: {
39704
42489
  p_order_ids: string[];
@@ -40192,6 +42977,12 @@ export type Database = {
40192
42977
  redenen: Json;
40193
42978
  }[];
40194
42979
  };
42980
+ logistics_cf_backfill_waar: {
42981
+ Args: {
42982
+ p_cf: Json;
42983
+ };
42984
+ Returns: boolean;
42985
+ };
40195
42986
  logistics_check_190: {
40196
42987
  Args: never;
40197
42988
  Returns: {
@@ -40916,6 +43707,12 @@ export type Database = {
40916
43707
  Args: never;
40917
43708
  Returns: Json;
40918
43709
  };
43710
+ logistics_floriday_gelijk: {
43711
+ Args: {
43712
+ p_order_id: string;
43713
+ };
43714
+ Returns: Json;
43715
+ };
40919
43716
  logistics_floriday_is_read_only: {
40920
43717
  Args: never;
40921
43718
  Returns: boolean;
@@ -41056,6 +43853,19 @@ export type Database = {
41056
43853
  width_mm: number;
41057
43854
  }[];
41058
43855
  };
43856
+ logistics_fust_sleutel: {
43857
+ Args: {
43858
+ p_b_mm: number;
43859
+ p_l_mm: number;
43860
+ };
43861
+ Returns: string;
43862
+ };
43863
+ logistics_indeling_fp: {
43864
+ Args: {
43865
+ p_order_id: string;
43866
+ };
43867
+ Returns: string;
43868
+ };
41059
43869
  logistics_install_check: {
41060
43870
  Args: never;
41061
43871
  Returns: {
@@ -41256,6 +44066,22 @@ export type Database = {
41256
44066
  toelichting: string;
41257
44067
  }[];
41258
44068
  };
44069
+ logistics_install_check_e1c: {
44070
+ Args: never;
44071
+ Returns: {
44072
+ ok: boolean;
44073
+ onderdeel: string;
44074
+ toelichting: string;
44075
+ }[];
44076
+ };
44077
+ logistics_install_check_golf1: {
44078
+ Args: never;
44079
+ Returns: {
44080
+ ok: boolean;
44081
+ onderdeel: string;
44082
+ toelichting: string;
44083
+ }[];
44084
+ };
41259
44085
  logistics_install_check_productiebon: {
41260
44086
  Args: never;
41261
44087
  Returns: {
@@ -41317,6 +44143,20 @@ export type Database = {
41317
44143
  };
41318
44144
  Returns: Json;
41319
44145
  };
44146
+ logistics_kar_svg: {
44147
+ Args: {
44148
+ p: Json;
44149
+ p_klein?: boolean;
44150
+ };
44151
+ Returns: string;
44152
+ };
44153
+ logistics_kar_tekening: {
44154
+ Args: {
44155
+ p_opties?: Json;
44156
+ p_order_id: string;
44157
+ };
44158
+ Returns: Json;
44159
+ };
41320
44160
  logistics_kar_tekst: {
41321
44161
  Args: {
41322
44162
  p_carrier_code: string;
@@ -41325,6 +44165,14 @@ export type Database = {
41325
44165
  };
41326
44166
  Returns: string;
41327
44167
  };
44168
+ logistics_karindeling_bewaking: {
44169
+ Args: never;
44170
+ Returns: Json;
44171
+ };
44172
+ logistics_karindeling_onderhoud: {
44173
+ Args: never;
44174
+ Returns: Json;
44175
+ };
41328
44176
  logistics_key_product: {
41329
44177
  Args: {
41330
44178
  p_key: string;
@@ -41358,10 +44206,50 @@ export type Database = {
41358
44206
  Args: never;
41359
44207
  Returns: number;
41360
44208
  };
44209
+ logistics_klantkleuren: {
44210
+ Args: never;
44211
+ Returns: string[];
44212
+ };
44213
+ logistics_laadtoestand_sig: {
44214
+ Args: never;
44215
+ Returns: string;
44216
+ };
44217
+ logistics_laag_bevestig: {
44218
+ Args: {
44219
+ p_berekend?: number;
44220
+ p_fust_sleutel: string;
44221
+ p_fusten_per_laag: number;
44222
+ p_ladingdrager_code: string;
44223
+ p_product_id: string;
44224
+ };
44225
+ Returns: Json;
44226
+ };
44227
+ logistics_laag_bevestigd: {
44228
+ Args: {
44229
+ p_fust_b_mm: number;
44230
+ p_fust_l_mm: number;
44231
+ p_ladingdrager: string;
44232
+ p_product_id: string;
44233
+ };
44234
+ Returns: number;
44235
+ };
44236
+ logistics_laag_blokkeer_factor: {
44237
+ Args: never;
44238
+ Returns: number;
44239
+ };
41361
44240
  logistics_laag_menging_core: {
41362
44241
  Args: never;
41363
44242
  Returns: Json;
41364
44243
  };
44244
+ logistics_laag_oordeel: {
44245
+ Args: {
44246
+ p_berekend: number;
44247
+ p_bevestigd: number;
44248
+ p_factor: number;
44249
+ p_opgegeven: number;
44250
+ };
44251
+ Returns: string;
44252
+ };
41365
44253
  logistics_laag_tolerantie: {
41366
44254
  Args: never;
41367
44255
  Returns: number;
@@ -41376,6 +44264,32 @@ export type Database = {
41376
44264
  };
41377
44265
  Returns: string;
41378
44266
  };
44267
+ logistics_laag_vraag_tekst: {
44268
+ Args: {
44269
+ p_berekend: number;
44270
+ p_bron: string;
44271
+ p_opgegeven: number;
44272
+ };
44273
+ Returns: string;
44274
+ };
44275
+ logistics_laag_vragen: {
44276
+ Args: {
44277
+ p_order_id?: string;
44278
+ };
44279
+ Returns: {
44280
+ berekend: number;
44281
+ fust_sleutel: string;
44282
+ ladingdrager: string;
44283
+ ladingdrager_code: string;
44284
+ opgegeven: number;
44285
+ order_id: string;
44286
+ order_ref: string;
44287
+ product: string;
44288
+ product_id: string;
44289
+ sinds: string;
44290
+ tekst: string;
44291
+ }[];
44292
+ };
41379
44293
  logistics_ladingdrager_kies: {
41380
44294
  Args: {
41381
44295
  p_regels: Json;
@@ -41462,6 +44376,27 @@ export type Database = {
41462
44376
  Args: never;
41463
44377
  Returns: string;
41464
44378
  };
44379
+ logistics_logboek_delen_beveiligen: {
44380
+ Args: never;
44381
+ Returns: number;
44382
+ };
44383
+ logistics_logboek_onderhoud: {
44384
+ Args: never;
44385
+ Returns: Json;
44386
+ };
44387
+ logistics_logboek_partitie: {
44388
+ Args: {
44389
+ p_dag: string;
44390
+ };
44391
+ Returns: string;
44392
+ };
44393
+ logistics_logboek_tekst: {
44394
+ Args: {
44395
+ p_actie: string;
44396
+ p_tabel: string;
44397
+ };
44398
+ Returns: string;
44399
+ };
41465
44400
  logistics_mark_cart_delivered_core: {
41466
44401
  Args: {
41467
44402
  p_bron: string;
@@ -41494,6 +44429,25 @@ export type Database = {
41494
44429
  };
41495
44430
  Returns: number;
41496
44431
  };
44432
+ logistics_max_fusten_per_laag_v2: {
44433
+ Args: {
44434
+ p_fl: number;
44435
+ p_fw: number;
44436
+ p_ll: number;
44437
+ p_lw: number;
44438
+ p_overstek_cm?: number;
44439
+ };
44440
+ Returns: number;
44441
+ };
44442
+ logistics_melding: {
44443
+ Args: {
44444
+ p_detail?: string;
44445
+ p_functie: string;
44446
+ p_order_id: string;
44447
+ p_tekst: string;
44448
+ };
44449
+ Returns: undefined;
44450
+ };
41497
44451
  logistics_merge_decision: {
41498
44452
  Args: {
41499
44453
  p_lines: Json;
@@ -41545,6 +44499,13 @@ export type Database = {
41545
44499
  };
41546
44500
  Returns: string;
41547
44501
  };
44502
+ logistics_niet_afgemeld: {
44503
+ Args: {
44504
+ p_limit?: number;
44505
+ p_offset?: number;
44506
+ };
44507
+ Returns: Json;
44508
+ };
41548
44509
  logistics_nl_date: {
41549
44510
  Args: {
41550
44511
  p_day: string;
@@ -41593,6 +44554,12 @@ export type Database = {
41593
44554
  };
41594
44555
  Returns: boolean;
41595
44556
  };
44557
+ logistics_order_afmelden: {
44558
+ Args: {
44559
+ p_order_id: string;
44560
+ };
44561
+ Returns: Json;
44562
+ };
41596
44563
  logistics_order_all_carts_scanned: {
41597
44564
  Args: {
41598
44565
  p_order_id: string;
@@ -41623,6 +44590,12 @@ export type Database = {
41623
44590
  };
41624
44591
  Returns: boolean;
41625
44592
  };
44593
+ logistics_order_buffer_ref: {
44594
+ Args: {
44595
+ p_order_id: string;
44596
+ };
44597
+ Returns: string;
44598
+ };
41626
44599
  logistics_order_carrier_id: {
41627
44600
  Args: {
41628
44601
  p_order_id: string;
@@ -41825,12 +44798,24 @@ export type Database = {
41825
44798
  };
41826
44799
  Returns: boolean;
41827
44800
  };
44801
+ logistics_order_heeft_kar: {
44802
+ Args: {
44803
+ p_order_id: string;
44804
+ };
44805
+ Returns: boolean;
44806
+ };
41828
44807
  logistics_order_herindelen: {
41829
44808
  Args: {
41830
44809
  p_order_id: string;
41831
44810
  };
41832
44811
  Returns: Json;
41833
44812
  };
44813
+ logistics_order_indeling_stand: {
44814
+ Args: {
44815
+ p_order_id: string;
44816
+ };
44817
+ Returns: Json;
44818
+ };
41834
44819
  logistics_order_indeling_verouderd_core: {
41835
44820
  Args: {
41836
44821
  p_order_id: string;
@@ -41910,6 +44895,18 @@ export type Database = {
41910
44895
  };
41911
44896
  Returns: boolean;
41912
44897
  };
44898
+ logistics_order_momenten: {
44899
+ Args: {
44900
+ p_order_id: string;
44901
+ };
44902
+ Returns: Json;
44903
+ };
44904
+ logistics_order_noodroute: {
44905
+ Args: {
44906
+ p_order_id: string;
44907
+ };
44908
+ Returns: Json;
44909
+ };
41913
44910
  logistics_order_on_frozen_shared_cart: {
41914
44911
  Args: {
41915
44912
  p_order_id: string;
@@ -42104,6 +45101,12 @@ export type Database = {
42104
45101
  };
42105
45102
  Returns: boolean;
42106
45103
  };
45104
+ logistics_ordermomenten_bijwerken: {
45105
+ Args: {
45106
+ p_limit?: number;
45107
+ };
45108
+ Returns: Json;
45109
+ };
42107
45110
  logistics_orphan_carts_list: {
42108
45111
  Args: never;
42109
45112
  Returns: Json;
@@ -42342,6 +45345,12 @@ export type Database = {
42342
45345
  reden: string;
42343
45346
  }[];
42344
45347
  };
45348
+ logistics_pickup_afwijkend: {
45349
+ Args: {
45350
+ p_voorbeelden?: number;
45351
+ };
45352
+ Returns: Json;
45353
+ };
42345
45354
  logistics_pickup_at: {
42346
45355
  Args: {
42347
45356
  p_delivery_date: string;
@@ -42349,14 +45358,78 @@ export type Database = {
42349
45358
  };
42350
45359
  Returns: Json;
42351
45360
  };
45361
+ logistics_pickup_carrier_uit_naam: {
45362
+ Args: {
45363
+ p_naam: string;
45364
+ };
45365
+ Returns: string;
45366
+ };
45367
+ logistics_pickup_cf_nieuw: {
45368
+ Args: {
45369
+ p_cancelled_at: string;
45370
+ p_carrier_id: string;
45371
+ p_cf: Json;
45372
+ p_deleted_at: string;
45373
+ p_delivery_date: string;
45374
+ p_plan_locked_at: string;
45375
+ p_regel?: Json;
45376
+ };
45377
+ Returns: Json;
45378
+ };
45379
+ logistics_pickup_eigen_tijd: {
45380
+ Args: {
45381
+ p_carrier_id: string;
45382
+ p_cf: Json;
45383
+ };
45384
+ Returns: Json;
45385
+ };
42352
45386
  logistics_pickup_herbereken: {
42353
45387
  Args: never;
42354
45388
  Returns: Json;
42355
45389
  };
45390
+ logistics_pickup_herstel_uitvoeren: {
45391
+ Args: {
45392
+ p_max?: number;
45393
+ };
45394
+ Returns: Json;
45395
+ };
45396
+ logistics_pickup_herstel_voorbeeld: {
45397
+ Args: never;
45398
+ Returns: Json;
45399
+ };
45400
+ logistics_pickup_herwijs: {
45401
+ Args: {
45402
+ p_carrier_ids: string[];
45403
+ p_max?: number;
45404
+ };
45405
+ Returns: Json;
45406
+ };
45407
+ logistics_pickup_moment_kies: {
45408
+ Args: {
45409
+ p_carrier_id: string;
45410
+ p_leverdag: string;
45411
+ p_levertijd: string;
45412
+ p_marge_uren: number;
45413
+ p_regel: string;
45414
+ };
45415
+ Returns: Json;
45416
+ };
45417
+ logistics_pickup_moments_koppel: {
45418
+ Args: never;
45419
+ Returns: number;
45420
+ };
42356
45421
  logistics_pickup_moments_today: {
42357
45422
  Args: never;
42358
45423
  Returns: Json;
42359
45424
  };
45425
+ logistics_pickup_regel: {
45426
+ Args: never;
45427
+ Returns: Json;
45428
+ };
45429
+ logistics_pickup_status: {
45430
+ Args: never;
45431
+ Returns: Json;
45432
+ };
42360
45433
  logistics_pickup_ts: {
42361
45434
  Args: {
42362
45435
  p_delivery_date: string;
@@ -42364,6 +45437,24 @@ export type Database = {
42364
45437
  };
42365
45438
  Returns: string;
42366
45439
  };
45440
+ logistics_pickup_vul_uitvoeren: {
45441
+ Args: {
45442
+ p_max?: number;
45443
+ };
45444
+ Returns: Json;
45445
+ };
45446
+ logistics_pickup_vul_voorbeeld: {
45447
+ Args: never;
45448
+ Returns: Json;
45449
+ };
45450
+ logistics_pickwachtrij_overslaan: {
45451
+ Args: never;
45452
+ Returns: boolean;
45453
+ };
45454
+ logistics_pickwachtrij_sig: {
45455
+ Args: never;
45456
+ Returns: string;
45457
+ };
42367
45458
  logistics_plan_all: {
42368
45459
  Args: {
42369
45460
  p_user_id?: string;
@@ -42466,6 +45557,27 @@ export type Database = {
42466
45557
  };
42467
45558
  Returns: number;
42468
45559
  };
45560
+ logistics_plan_gegevens_codes: {
45561
+ Args: never;
45562
+ Returns: string[];
45563
+ };
45564
+ logistics_plan_gegevens_opnieuw: {
45565
+ Args: {
45566
+ p_order_ids: string[];
45567
+ p_reden: string;
45568
+ };
45569
+ Returns: number;
45570
+ };
45571
+ logistics_plan_gegevens_vangnet: {
45572
+ Args: {
45573
+ p_force?: boolean;
45574
+ };
45575
+ Returns: Json;
45576
+ };
45577
+ logistics_plan_herstel_tijdelijk: {
45578
+ Args: never;
45579
+ Returns: Json;
45580
+ };
42469
45581
  logistics_plan_housekeeping: {
42470
45582
  Args: never;
42471
45583
  Returns: Json;
@@ -42486,6 +45598,12 @@ export type Database = {
42486
45598
  };
42487
45599
  Returns: string;
42488
45600
  };
45601
+ logistics_plan_is_tijdelijk: {
45602
+ Args: {
45603
+ p_text: string;
45604
+ };
45605
+ Returns: boolean;
45606
+ };
42489
45607
  logistics_plan_kick: {
42490
45608
  Args: never;
42491
45609
  Returns: undefined;
@@ -42605,6 +45723,19 @@ export type Database = {
42605
45723
  };
42606
45724
  Returns: Json;
42607
45725
  };
45726
+ logistics_plan_tijdelijk_opnieuw: {
45727
+ Args: {
45728
+ p_order_ids: string[];
45729
+ p_reason: string;
45730
+ };
45731
+ Returns: string[];
45732
+ };
45733
+ logistics_plan_tijdelijk_wacht: {
45734
+ Args: {
45735
+ p_attempts: number;
45736
+ };
45737
+ Returns: string;
45738
+ };
42608
45739
  logistics_plan_timeout_running: {
42609
45740
  Args: never;
42610
45741
  Returns: number;
@@ -43240,6 +46371,12 @@ export type Database = {
43240
46371
  };
43241
46372
  Returns: Json;
43242
46373
  };
46374
+ logistics_schedule_tasks_vervolg: {
46375
+ Args: {
46376
+ p_budget_ms?: number;
46377
+ };
46378
+ Returns: Json;
46379
+ };
43243
46380
  logistics_schema_versie: {
43244
46381
  Args: never;
43245
46382
  Returns: string;
@@ -43532,6 +46669,27 @@ export type Database = {
43532
46669
  };
43533
46670
  Returns: boolean;
43534
46671
  };
46672
+ logistics_status_fase: {
46673
+ Args: {
46674
+ p_status: string;
46675
+ };
46676
+ Returns: string;
46677
+ };
46678
+ logistics_status_fasen_ensure: {
46679
+ Args: never;
46680
+ Returns: Json;
46681
+ };
46682
+ logistics_status_fasen_standaard: {
46683
+ Args: never;
46684
+ Returns: {
46685
+ fase: string;
46686
+ status_sleutel: string;
46687
+ }[];
46688
+ };
46689
+ logistics_status_onbekend_controle: {
46690
+ Args: never;
46691
+ Returns: Json;
46692
+ };
43535
46693
  logistics_sticker_blocked_list: {
43536
46694
  Args: never;
43537
46695
  Returns: Json;
@@ -43648,6 +46806,12 @@ export type Database = {
43648
46806
  };
43649
46807
  Returns: undefined;
43650
46808
  };
46809
+ logistics_stock_email_klaarzetten: {
46810
+ Args: {
46811
+ p_max?: number;
46812
+ };
46813
+ Returns: Json;
46814
+ };
43651
46815
  logistics_subtract_pick_workdays: {
43652
46816
  Args: {
43653
46817
  p_day: string;
@@ -43975,6 +47139,18 @@ export type Database = {
43975
47139
  Args: never;
43976
47140
  Returns: string;
43977
47141
  };
47142
+ logistics_tz_controle: {
47143
+ Args: never;
47144
+ Returns: Json;
47145
+ };
47146
+ logistics_tz_status: {
47147
+ Args: never;
47148
+ Returns: Json;
47149
+ };
47150
+ logistics_uitgang_uit: {
47151
+ Args: never;
47152
+ Returns: boolean;
47153
+ };
43978
47154
  logistics_unit_all_carts_scanned: {
43979
47155
  Args: {
43980
47156
  p_order_id: string;
@@ -44025,6 +47201,49 @@ export type Database = {
44025
47201
  };
44026
47202
  Returns: string;
44027
47203
  };
47204
+ logistics_werker_budget_ms: {
47205
+ Args: never;
47206
+ Returns: number;
47207
+ };
47208
+ logistics_werker_draai: {
47209
+ Args: {
47210
+ p_stappen: Json;
47211
+ p_werker: string;
47212
+ };
47213
+ Returns: Json;
47214
+ };
47215
+ logistics_werker_onderhoud: {
47216
+ Args: never;
47217
+ Returns: Json;
47218
+ };
47219
+ logistics_werker_pickwachtrij: {
47220
+ Args: never;
47221
+ Returns: Json;
47222
+ };
47223
+ logistics_werker_planning: {
47224
+ Args: never;
47225
+ Returns: Json;
47226
+ };
47227
+ logistics_werker_taken: {
47228
+ Args: never;
47229
+ Returns: Json;
47230
+ };
47231
+ logistics_werkers_actief: {
47232
+ Args: never;
47233
+ Returns: Json;
47234
+ };
47235
+ logistics_werkset_bijwerken: {
47236
+ Args: {
47237
+ p_order_id: string;
47238
+ };
47239
+ Returns: undefined;
47240
+ };
47241
+ logistics_werkset_herstel: {
47242
+ Args: {
47243
+ p_max?: number;
47244
+ };
47245
+ Returns: Json;
47246
+ };
44028
47247
  logistics_working_hours_status: {
44029
47248
  Args: never;
44030
47249
  Returns: Json;
@@ -44041,6 +47260,12 @@ export type Database = {
44041
47260
  };
44042
47261
  Returns: number;
44043
47262
  };
47263
+ logistics_xml: {
47264
+ Args: {
47265
+ p: string;
47266
+ };
47267
+ Returns: string;
47268
+ };
44044
47269
  mailbox_add_standaard_woorden: {
44045
47270
  Args: never;
44046
47271
  Returns: Json;
@@ -44639,6 +47864,10 @@ export type Database = {
44639
47864
  };
44640
47865
  Returns: Json;
44641
47866
  };
47867
+ pick_cleanup_history: {
47868
+ Args: never;
47869
+ Returns: Json;
47870
+ };
44642
47871
  pick_cleanup_maintenance: {
44643
47872
  Args: {
44644
47873
  _heartbeat_hours?: number;
@@ -49525,6 +52754,16 @@ export type Database = {
49525
52754
  };
49526
52755
  Returns: string;
49527
52756
  };
52757
+ verkoop_annulering_aanvullen_uitvoeren: {
52758
+ Args: {
52759
+ p_max?: number;
52760
+ };
52761
+ Returns: Json;
52762
+ };
52763
+ verkoop_annulering_aanvullen_voorbeeld: {
52764
+ Args: never;
52765
+ Returns: Json;
52766
+ };
49528
52767
  verkoop_assert_caller: {
49529
52768
  Args: {
49530
52769
  p_level: string;
@@ -49532,10 +52771,38 @@ export type Database = {
49532
52771
  };
49533
52772
  Returns: undefined;
49534
52773
  };
52774
+ verkoop_backfill_onterecht_kandidaten: {
52775
+ Args: never;
52776
+ Returns: {
52777
+ bron: string;
52778
+ fase: string;
52779
+ leverdag: string;
52780
+ order_id: string;
52781
+ order_number: string;
52782
+ status: string;
52783
+ waarde: Json;
52784
+ }[];
52785
+ };
52786
+ verkoop_backfill_onterecht_uitvoeren: {
52787
+ Args: {
52788
+ p_max?: number;
52789
+ };
52790
+ Returns: Json;
52791
+ };
52792
+ verkoop_backfill_onterecht_voorbeeld: {
52793
+ Args: never;
52794
+ Returns: Json;
52795
+ };
49535
52796
  verkoop_bewaking_verwijderd: {
49536
52797
  Args: never;
49537
52798
  Returns: Json;
49538
52799
  };
52800
+ verkoop_cf_is_backfill: {
52801
+ Args: {
52802
+ p_cf: Json;
52803
+ };
52804
+ Returns: boolean;
52805
+ };
49539
52806
  verkoop_correctie_verpakking: {
49540
52807
  Args: {
49541
52808
  p_uitvoeren?: boolean;
@@ -49709,6 +52976,38 @@ export type Database = {
49709
52976
  };
49710
52977
  Returns: undefined;
49711
52978
  };
52979
+ verkoop_latest_delivery_aanvullen: {
52980
+ Args: {
52981
+ p_max?: number;
52982
+ };
52983
+ Returns: Json;
52984
+ };
52985
+ verkoop_lege_orders_kandidaten: {
52986
+ Args: never;
52987
+ Returns: {
52988
+ actie: string;
52989
+ bron: string;
52990
+ fase: string;
52991
+ klant: string;
52992
+ koppeling: string;
52993
+ leverdag: string;
52994
+ order_id: string;
52995
+ order_number: string;
52996
+ status: string;
52997
+ zus_order_id: string;
52998
+ zus_order_number: string;
52999
+ }[];
53000
+ };
53001
+ verkoop_lege_orders_uitvoeren: {
53002
+ Args: {
53003
+ p_max?: number;
53004
+ };
53005
+ Returns: Json;
53006
+ };
53007
+ verkoop_lege_orders_voorbeeld: {
53008
+ Args: never;
53009
+ Returns: Json;
53010
+ };
49712
53011
  verkoop_packing_drift_apply: {
49713
53012
  Args: {
49714
53013
  p_order_ids: string[];
@@ -49757,6 +53056,22 @@ export type Database = {
49757
53056
  };
49758
53057
  Returns: undefined;
49759
53058
  };
53059
+ verkoop_shipped_uitvoeren: {
53060
+ Args: {
53061
+ p_max?: number;
53062
+ };
53063
+ Returns: Json;
53064
+ };
53065
+ verkoop_shipped_voorbeeld: {
53066
+ Args: never;
53067
+ Returns: Json;
53068
+ };
53069
+ verkoop_status_fase: {
53070
+ Args: {
53071
+ p_status: string;
53072
+ };
53073
+ Returns: string;
53074
+ };
49760
53075
  verkoop_sync_bewaking: {
49761
53076
  Args: never;
49762
53077
  Returns: Json;
@@ -49864,6 +53179,13 @@ export type Database = {
49864
53179
  unit: string;
49865
53180
  }[];
49866
53181
  };
53182
+ voorraad_beschikbaar_v2: {
53183
+ Args: {
53184
+ p_exclude_order_id?: string;
53185
+ p_lines: Json;
53186
+ };
53187
+ Returns: Json;
53188
+ };
49867
53189
  voorraad_can_write: {
49868
53190
  Args: never;
49869
53191
  Returns: boolean;
@@ -50056,6 +53378,10 @@ export type Database = {
50056
53378
  };
50057
53379
  Returns: string[];
50058
53380
  };
53381
+ voorraad_fasen_na_verzending: {
53382
+ Args: never;
53383
+ Returns: string[];
53384
+ };
50059
53385
  voorraad_floriday_artikelen_aanmaken: {
50060
53386
  Args: {
50061
53387
  p_connection_id?: string;
@@ -50530,6 +53856,13 @@ export type Database = {
50530
53856
  };
50531
53857
  Returns: string;
50532
53858
  };
53859
+ voorraad_prijs_aanvullen: {
53860
+ Args: {
53861
+ p_connection_id: string;
53862
+ p_items: Json;
53863
+ };
53864
+ Returns: Json;
53865
+ };
50533
53866
  voorraad_production_enabled: {
50534
53867
  Args: never;
50535
53868
  Returns: boolean;
@@ -50565,6 +53898,24 @@ export type Database = {
50565
53898
  };
50566
53899
  Returns: string;
50567
53900
  };
53901
+ voorraad_status_gesloten: {
53902
+ Args: {
53903
+ p_status: string;
53904
+ };
53905
+ Returns: boolean;
53906
+ };
53907
+ voorraad_status_na_verzending: {
53908
+ Args: {
53909
+ p_status: string;
53910
+ };
53911
+ Returns: boolean;
53912
+ };
53913
+ voorraad_statussen_in_fasen: {
53914
+ Args: {
53915
+ p_fasen: string[];
53916
+ };
53917
+ Returns: string[];
53918
+ };
50568
53919
  voorraad_stock_context_status: {
50569
53920
  Args: never;
50570
53921
  Returns: Json;