@flowselections/floriday-afhandeling-module 1.0.54 → 1.0.58

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.
@@ -1056,10 +1056,13 @@ export type Database = {
1056
1056
  created_at: string;
1057
1057
  daily_regular_hours: number;
1058
1058
  default_hourly_rate: number;
1059
+ default_vacation_days: number;
1059
1060
  id: string;
1061
+ last_cleanup_on: string | null;
1060
1062
  materials_markup_percent: number;
1061
1063
  max_daily_hours: number;
1062
1064
  max_weekly_hours: number;
1065
+ meal_after_minutes: number;
1063
1066
  meal_allowance_amount: number;
1064
1067
  overtime_pct_178: number;
1065
1068
  overtime_pct_189: number;
@@ -1088,10 +1091,13 @@ export type Database = {
1088
1091
  created_at?: string;
1089
1092
  daily_regular_hours?: number;
1090
1093
  default_hourly_rate?: number;
1094
+ default_vacation_days?: number;
1091
1095
  id?: string;
1096
+ last_cleanup_on?: string | null;
1092
1097
  materials_markup_percent?: number;
1093
1098
  max_daily_hours?: number;
1094
1099
  max_weekly_hours?: number;
1100
+ meal_after_minutes?: number;
1095
1101
  meal_allowance_amount?: number;
1096
1102
  overtime_pct_178?: number;
1097
1103
  overtime_pct_189?: number;
@@ -1120,10 +1126,13 @@ export type Database = {
1120
1126
  created_at?: string;
1121
1127
  daily_regular_hours?: number;
1122
1128
  default_hourly_rate?: number;
1129
+ default_vacation_days?: number;
1123
1130
  id?: string;
1131
+ last_cleanup_on?: string | null;
1124
1132
  materials_markup_percent?: number;
1125
1133
  max_daily_hours?: number;
1126
1134
  max_weekly_hours?: number;
1135
+ meal_after_minutes?: number;
1127
1136
  meal_allowance_amount?: number;
1128
1137
  overtime_pct_178?: number;
1129
1138
  overtime_pct_189?: number;
@@ -6842,6 +6851,7 @@ export type Database = {
6842
6851
  next_attempt_at: string;
6843
6852
  number_of_pieces: number;
6844
6853
  price_note: string | null;
6854
+ price_previous: number | null;
6845
6855
  price_sent: number | null;
6846
6856
  price_status: string | null;
6847
6857
  product_id: string | null;
@@ -6875,6 +6885,7 @@ export type Database = {
6875
6885
  next_attempt_at?: string;
6876
6886
  number_of_pieces?: number;
6877
6887
  price_note?: string | null;
6888
+ price_previous?: number | null;
6878
6889
  price_sent?: number | null;
6879
6890
  price_status?: string | null;
6880
6891
  product_id?: string | null;
@@ -6908,6 +6919,7 @@ export type Database = {
6908
6919
  next_attempt_at?: string;
6909
6920
  number_of_pieces?: number;
6910
6921
  price_note?: string | null;
6922
+ price_previous?: number | null;
6911
6923
  price_sent?: number | null;
6912
6924
  price_status?: string | null;
6913
6925
  product_id?: string | null;
@@ -12572,6 +12584,27 @@ export type Database = {
12572
12584
  };
12573
12585
  Relationships: [];
12574
12586
  };
12587
+ logistics_order_pick_day: {
12588
+ Row: {
12589
+ order_id: string;
12590
+ pick_date: string;
12591
+ pinned_at: string;
12592
+ source: string;
12593
+ };
12594
+ Insert: {
12595
+ order_id: string;
12596
+ pick_date: string;
12597
+ pinned_at?: string;
12598
+ source?: string;
12599
+ };
12600
+ Update: {
12601
+ order_id?: string;
12602
+ pick_date?: string;
12603
+ pinned_at?: string;
12604
+ source?: string;
12605
+ };
12606
+ Relationships: [];
12607
+ };
12575
12608
  logistics_order_plan_exclusion: {
12576
12609
  Row: {
12577
12610
  created_at: string;
@@ -12598,6 +12631,54 @@ export type Database = {
12598
12631
  }
12599
12632
  ];
12600
12633
  };
12634
+ logistics_order_sticker_warnings: {
12635
+ Row: {
12636
+ benodigd_breedte_mm: number | null;
12637
+ benodigd_hoogte_mm: number | null;
12638
+ bron_id: string;
12639
+ created_at: string;
12640
+ geladen_breedte_mm: number | null;
12641
+ geladen_hoogte_mm: number | null;
12642
+ id: string;
12643
+ melding: string;
12644
+ opgelost_op: string | null;
12645
+ order_id: string;
12646
+ plek: string | null;
12647
+ soort: string;
12648
+ updated_at: string;
12649
+ };
12650
+ Insert: {
12651
+ benodigd_breedte_mm?: number | null;
12652
+ benodigd_hoogte_mm?: number | null;
12653
+ bron_id: string;
12654
+ created_at?: string;
12655
+ geladen_breedte_mm?: number | null;
12656
+ geladen_hoogte_mm?: number | null;
12657
+ id?: string;
12658
+ melding: string;
12659
+ opgelost_op?: string | null;
12660
+ order_id: string;
12661
+ plek?: string | null;
12662
+ soort: string;
12663
+ updated_at?: string;
12664
+ };
12665
+ Update: {
12666
+ benodigd_breedte_mm?: number | null;
12667
+ benodigd_hoogte_mm?: number | null;
12668
+ bron_id?: string;
12669
+ created_at?: string;
12670
+ geladen_breedte_mm?: number | null;
12671
+ geladen_hoogte_mm?: number | null;
12672
+ id?: string;
12673
+ melding?: string;
12674
+ opgelost_op?: string | null;
12675
+ order_id?: string;
12676
+ plek?: string | null;
12677
+ soort?: string;
12678
+ updated_at?: string;
12679
+ };
12680
+ Relationships: [];
12681
+ };
12601
12682
  logistics_packing_deviations: {
12602
12683
  Row: {
12603
12684
  auto_fixed_at: string | null;
@@ -13427,6 +13508,78 @@ export type Database = {
13427
13508
  };
13428
13509
  Relationships: [];
13429
13510
  };
13511
+ logistics_sticker_prints: {
13512
+ Row: {
13513
+ attempts: number;
13514
+ breedte_mm: number | null;
13515
+ bron_id: string;
13516
+ cart_id: string | null;
13517
+ created_at: string;
13518
+ fulfillment_order_id: string | null;
13519
+ handled_at: string | null;
13520
+ handled_error: string | null;
13521
+ handled_next_at: string | null;
13522
+ hoogte_mm: number | null;
13523
+ id: string;
13524
+ kopieen: number;
13525
+ next_attempt_at: string | null;
13526
+ order_id: string | null;
13527
+ order_number: string | null;
13528
+ print_job_id: string | null;
13529
+ print_plek_id: string | null;
13530
+ reden: string | null;
13531
+ soort: string;
13532
+ status: string;
13533
+ updated_at: string;
13534
+ };
13535
+ Insert: {
13536
+ attempts?: number;
13537
+ breedte_mm?: number | null;
13538
+ bron_id: string;
13539
+ cart_id?: string | null;
13540
+ created_at?: string;
13541
+ fulfillment_order_id?: string | null;
13542
+ handled_at?: string | null;
13543
+ handled_error?: string | null;
13544
+ handled_next_at?: string | null;
13545
+ hoogte_mm?: number | null;
13546
+ id?: string;
13547
+ kopieen?: number;
13548
+ next_attempt_at?: string | null;
13549
+ order_id?: string | null;
13550
+ order_number?: string | null;
13551
+ print_job_id?: string | null;
13552
+ print_plek_id?: string | null;
13553
+ reden?: string | null;
13554
+ soort: string;
13555
+ status?: string;
13556
+ updated_at?: string;
13557
+ };
13558
+ Update: {
13559
+ attempts?: number;
13560
+ breedte_mm?: number | null;
13561
+ bron_id?: string;
13562
+ cart_id?: string | null;
13563
+ created_at?: string;
13564
+ fulfillment_order_id?: string | null;
13565
+ handled_at?: string | null;
13566
+ handled_error?: string | null;
13567
+ handled_next_at?: string | null;
13568
+ hoogte_mm?: number | null;
13569
+ id?: string;
13570
+ kopieen?: number;
13571
+ next_attempt_at?: string | null;
13572
+ order_id?: string | null;
13573
+ order_number?: string | null;
13574
+ print_job_id?: string | null;
13575
+ print_plek_id?: string | null;
13576
+ reden?: string | null;
13577
+ soort?: string;
13578
+ status?: string;
13579
+ updated_at?: string;
13580
+ };
13581
+ Relationships: [];
13582
+ };
13430
13583
  logistics_stock_alerts: {
13431
13584
  Row: {
13432
13585
  created_at: string;
@@ -13443,6 +13596,7 @@ export type Database = {
13443
13596
  order_id: string | null;
13444
13597
  order_ref: string;
13445
13598
  priority: number;
13599
+ resolution_reason: string | null;
13446
13600
  resolved_at: string | null;
13447
13601
  resolved_by: string | null;
13448
13602
  shortages: Json;
@@ -13465,6 +13619,7 @@ export type Database = {
13465
13619
  order_id?: string | null;
13466
13620
  order_ref: string;
13467
13621
  priority?: number;
13622
+ resolution_reason?: string | null;
13468
13623
  resolved_at?: string | null;
13469
13624
  resolved_by?: string | null;
13470
13625
  shortages?: Json;
@@ -13487,6 +13642,7 @@ export type Database = {
13487
13642
  order_id?: string | null;
13488
13643
  order_ref?: string;
13489
13644
  priority?: number;
13645
+ resolution_reason?: string | null;
13490
13646
  resolved_at?: string | null;
13491
13647
  resolved_by?: string | null;
13492
13648
  shortages?: Json;
@@ -18640,6 +18796,36 @@ export type Database = {
18640
18796
  };
18641
18797
  Relationships: [];
18642
18798
  };
18799
+ print_computer_status: {
18800
+ Row: {
18801
+ bijgewerkt_op: string;
18802
+ created_at: string;
18803
+ extern_computer_id: string;
18804
+ naam: string | null;
18805
+ status: string | null;
18806
+ updated_at: string;
18807
+ verbonden: boolean;
18808
+ };
18809
+ Insert: {
18810
+ bijgewerkt_op?: string;
18811
+ created_at?: string;
18812
+ extern_computer_id: string;
18813
+ naam?: string | null;
18814
+ status?: string | null;
18815
+ updated_at?: string;
18816
+ verbonden?: boolean;
18817
+ };
18818
+ Update: {
18819
+ bijgewerkt_op?: string;
18820
+ created_at?: string;
18821
+ extern_computer_id?: string;
18822
+ naam?: string | null;
18823
+ status?: string | null;
18824
+ updated_at?: string;
18825
+ verbonden?: boolean;
18826
+ };
18827
+ Relationships: [];
18828
+ };
18643
18829
  print_dedupe_events: {
18644
18830
  Row: {
18645
18831
  bestaande_job_id: string | null;
@@ -18673,6 +18859,35 @@ export type Database = {
18673
18859
  };
18674
18860
  Relationships: [];
18675
18861
  };
18862
+ print_gebruiker_werkplek: {
18863
+ Row: {
18864
+ created_at: string;
18865
+ updated_at: string;
18866
+ user_id: string;
18867
+ werkplek_id: string;
18868
+ };
18869
+ Insert: {
18870
+ created_at?: string;
18871
+ updated_at?: string;
18872
+ user_id: string;
18873
+ werkplek_id: string;
18874
+ };
18875
+ Update: {
18876
+ created_at?: string;
18877
+ updated_at?: string;
18878
+ user_id?: string;
18879
+ werkplek_id?: string;
18880
+ };
18881
+ Relationships: [
18882
+ {
18883
+ foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
18884
+ columns: ["werkplek_id"];
18885
+ isOneToOne: false;
18886
+ referencedRelation: "print_werkplekken";
18887
+ referencedColumns: ["id"];
18888
+ }
18889
+ ];
18890
+ };
18676
18891
  print_genegeerde_computers: {
18677
18892
  Row: {
18678
18893
  computer_naam: string;
@@ -18762,16 +18977,21 @@ export type Database = {
18762
18977
  lokale_pdf_print_plek_id: string | null;
18763
18978
  lokale_pdf_status: string | null;
18764
18979
  opgepakt_op: string | null;
18980
+ origineel_sleutel: string | null;
18765
18981
  paginas: number;
18766
18982
  payload: Json;
18767
18983
  pdf_base64: string | null;
18768
18984
  pdf_url: string | null;
18769
18985
  pogingen: number;
18770
18986
  printer_id: string | null;
18987
+ printnode_bericht: string | null;
18988
+ printnode_status: string | null;
18989
+ printnode_status_op: string | null;
18771
18990
  render_html: string | null;
18772
18991
  resultaat_pdf_base64: string | null;
18773
18992
  status: Database["public"]["Enums"]["print_job_status"];
18774
18993
  updated_at: string;
18994
+ verloopt_na_s: number | null;
18775
18995
  verwerkingsfase: string;
18776
18996
  volgende_poging: string | null;
18777
18997
  voltooid_op: string | null;
@@ -18811,16 +19031,21 @@ export type Database = {
18811
19031
  lokale_pdf_print_plek_id?: string | null;
18812
19032
  lokale_pdf_status?: string | null;
18813
19033
  opgepakt_op?: string | null;
19034
+ origineel_sleutel?: string | null;
18814
19035
  paginas?: number;
18815
19036
  payload?: Json;
18816
19037
  pdf_base64?: string | null;
18817
19038
  pdf_url?: string | null;
18818
19039
  pogingen?: number;
18819
19040
  printer_id?: string | null;
19041
+ printnode_bericht?: string | null;
19042
+ printnode_status?: string | null;
19043
+ printnode_status_op?: string | null;
18820
19044
  render_html?: string | null;
18821
19045
  resultaat_pdf_base64?: string | null;
18822
19046
  status?: Database["public"]["Enums"]["print_job_status"];
18823
19047
  updated_at?: string;
19048
+ verloopt_na_s?: number | null;
18824
19049
  verwerkingsfase?: string;
18825
19050
  volgende_poging?: string | null;
18826
19051
  voltooid_op?: string | null;
@@ -18860,16 +19085,21 @@ export type Database = {
18860
19085
  lokale_pdf_print_plek_id?: string | null;
18861
19086
  lokale_pdf_status?: string | null;
18862
19087
  opgepakt_op?: string | null;
19088
+ origineel_sleutel?: string | null;
18863
19089
  paginas?: number;
18864
19090
  payload?: Json;
18865
19091
  pdf_base64?: string | null;
18866
19092
  pdf_url?: string | null;
18867
19093
  pogingen?: number;
18868
19094
  printer_id?: string | null;
19095
+ printnode_bericht?: string | null;
19096
+ printnode_status?: string | null;
19097
+ printnode_status_op?: string | null;
18869
19098
  render_html?: string | null;
18870
19099
  resultaat_pdf_base64?: string | null;
18871
19100
  status?: Database["public"]["Enums"]["print_job_status"];
18872
19101
  updated_at?: string;
19102
+ verloopt_na_s?: number | null;
18873
19103
  verwerkingsfase?: string;
18874
19104
  volgende_poging?: string | null;
18875
19105
  voltooid_op?: string | null;
@@ -19224,6 +19454,103 @@ export type Database = {
19224
19454
  }
19225
19455
  ];
19226
19456
  };
19457
+ print_werkplek_afwijkingen: {
19458
+ Row: {
19459
+ created_at: string;
19460
+ documenttype: string;
19461
+ id: string;
19462
+ printer_id: string | null;
19463
+ updated_at: string;
19464
+ werkplek_id: string;
19465
+ };
19466
+ Insert: {
19467
+ created_at?: string;
19468
+ documenttype: string;
19469
+ id?: string;
19470
+ printer_id?: string | null;
19471
+ updated_at?: string;
19472
+ werkplek_id: string;
19473
+ };
19474
+ Update: {
19475
+ created_at?: string;
19476
+ documenttype?: string;
19477
+ id?: string;
19478
+ printer_id?: string | null;
19479
+ updated_at?: string;
19480
+ werkplek_id?: string;
19481
+ };
19482
+ Relationships: [
19483
+ {
19484
+ foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
19485
+ columns: ["printer_id"];
19486
+ isOneToOne: false;
19487
+ referencedRelation: "printers";
19488
+ referencedColumns: ["id"];
19489
+ },
19490
+ {
19491
+ foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
19492
+ columns: ["werkplek_id"];
19493
+ isOneToOne: false;
19494
+ referencedRelation: "print_werkplekken";
19495
+ referencedColumns: ["id"];
19496
+ }
19497
+ ];
19498
+ };
19499
+ print_werkplekken: {
19500
+ Row: {
19501
+ a4_printer_id: string | null;
19502
+ actief: boolean;
19503
+ created_at: string;
19504
+ id: string;
19505
+ label_printer_id: string | null;
19506
+ naam: string;
19507
+ print_plek_id: string | null;
19508
+ updated_at: string;
19509
+ };
19510
+ Insert: {
19511
+ a4_printer_id?: string | null;
19512
+ actief?: boolean;
19513
+ created_at?: string;
19514
+ id?: string;
19515
+ label_printer_id?: string | null;
19516
+ naam: string;
19517
+ print_plek_id?: string | null;
19518
+ updated_at?: string;
19519
+ };
19520
+ Update: {
19521
+ a4_printer_id?: string | null;
19522
+ actief?: boolean;
19523
+ created_at?: string;
19524
+ id?: string;
19525
+ label_printer_id?: string | null;
19526
+ naam?: string;
19527
+ print_plek_id?: string | null;
19528
+ updated_at?: string;
19529
+ };
19530
+ Relationships: [
19531
+ {
19532
+ foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
19533
+ columns: ["a4_printer_id"];
19534
+ isOneToOne: false;
19535
+ referencedRelation: "printers";
19536
+ referencedColumns: ["id"];
19537
+ },
19538
+ {
19539
+ foreignKeyName: "print_werkplekken_label_printer_id_fkey";
19540
+ columns: ["label_printer_id"];
19541
+ isOneToOne: false;
19542
+ referencedRelation: "printers";
19543
+ referencedColumns: ["id"];
19544
+ },
19545
+ {
19546
+ foreignKeyName: "print_werkplekken_print_plek_id_fkey";
19547
+ columns: ["print_plek_id"];
19548
+ isOneToOne: false;
19549
+ referencedRelation: "print_plekken";
19550
+ referencedColumns: ["id"];
19551
+ }
19552
+ ];
19553
+ };
19227
19554
  printer_mappings: {
19228
19555
  Row: {
19229
19556
  created_at: string;
@@ -19331,6 +19658,47 @@ export type Database = {
19331
19658
  }
19332
19659
  ];
19333
19660
  };
19661
+ printer_routes: {
19662
+ Row: {
19663
+ computer_naam: string | null;
19664
+ created_at: string;
19665
+ extern_printer_id: string;
19666
+ geladen_etiket: Json | null;
19667
+ id: string;
19668
+ printer_id: string;
19669
+ prioriteit: number;
19670
+ updated_at: string;
19671
+ };
19672
+ Insert: {
19673
+ computer_naam?: string | null;
19674
+ created_at?: string;
19675
+ extern_printer_id: string;
19676
+ geladen_etiket?: Json | null;
19677
+ id?: string;
19678
+ printer_id: string;
19679
+ prioriteit?: number;
19680
+ updated_at?: string;
19681
+ };
19682
+ Update: {
19683
+ computer_naam?: string | null;
19684
+ created_at?: string;
19685
+ extern_printer_id?: string;
19686
+ geladen_etiket?: Json | null;
19687
+ id?: string;
19688
+ printer_id?: string;
19689
+ prioriteit?: number;
19690
+ updated_at?: string;
19691
+ };
19692
+ Relationships: [
19693
+ {
19694
+ foreignKeyName: "printer_routes_printer_id_fkey";
19695
+ columns: ["printer_id"];
19696
+ isOneToOne: false;
19697
+ referencedRelation: "printers";
19698
+ referencedColumns: ["id"];
19699
+ }
19700
+ ];
19701
+ };
19334
19702
  printers: {
19335
19703
  Row: {
19336
19704
  actief: boolean;
@@ -19340,8 +19708,10 @@ export type Database = {
19340
19708
  driver: string;
19341
19709
  extern_printer_id: string | null;
19342
19710
  formaten_bijgewerkt_op: string | null;
19711
+ geladen_etiket: Json | null;
19343
19712
  id: string;
19344
19713
  ip_adres: string | null;
19714
+ is_virtueel: boolean;
19345
19715
  laatst_gezien: string | null;
19346
19716
  locatie: string;
19347
19717
  merk: string;
@@ -19357,6 +19727,8 @@ export type Database = {
19357
19727
  systeemnaam: string;
19358
19728
  updated_at: string;
19359
19729
  verbinding: Database["public"]["Enums"]["printer_connection"];
19730
+ verborgen: boolean;
19731
+ weergavenaam: string | null;
19360
19732
  };
19361
19733
  Insert: {
19362
19734
  actief?: boolean;
@@ -19366,8 +19738,10 @@ export type Database = {
19366
19738
  driver?: string;
19367
19739
  extern_printer_id?: string | null;
19368
19740
  formaten_bijgewerkt_op?: string | null;
19741
+ geladen_etiket?: Json | null;
19369
19742
  id?: string;
19370
19743
  ip_adres?: string | null;
19744
+ is_virtueel?: boolean;
19371
19745
  laatst_gezien?: string | null;
19372
19746
  locatie?: string;
19373
19747
  merk?: string;
@@ -19383,6 +19757,8 @@ export type Database = {
19383
19757
  systeemnaam?: string;
19384
19758
  updated_at?: string;
19385
19759
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19760
+ verborgen?: boolean;
19761
+ weergavenaam?: string | null;
19386
19762
  };
19387
19763
  Update: {
19388
19764
  actief?: boolean;
@@ -19392,8 +19768,10 @@ export type Database = {
19392
19768
  driver?: string;
19393
19769
  extern_printer_id?: string | null;
19394
19770
  formaten_bijgewerkt_op?: string | null;
19771
+ geladen_etiket?: Json | null;
19395
19772
  id?: string;
19396
19773
  ip_adres?: string | null;
19774
+ is_virtueel?: boolean;
19397
19775
  laatst_gezien?: string | null;
19398
19776
  locatie?: string;
19399
19777
  merk?: string;
@@ -19409,6 +19787,8 @@ export type Database = {
19409
19787
  systeemnaam?: string;
19410
19788
  updated_at?: string;
19411
19789
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19790
+ verborgen?: boolean;
19791
+ weergavenaam?: string | null;
19412
19792
  };
19413
19793
  Relationships: [
19414
19794
  {
@@ -19420,6 +19800,117 @@ export type Database = {
19420
19800
  }
19421
19801
  ];
19422
19802
  };
19803
+ printnode_webhook_koppeling: {
19804
+ Row: {
19805
+ bereikbaar: string | null;
19806
+ created_at: string;
19807
+ fout: string | null;
19808
+ geheim: string | null;
19809
+ gekoppeld_op: string | null;
19810
+ id: number;
19811
+ laatst_ontvangen_op: string | null;
19812
+ laatste_poging_op: string | null;
19813
+ melding: string | null;
19814
+ pn_geslaagd: number | null;
19815
+ pn_geslaagd_vorig: number | null;
19816
+ pn_mislukt: number | null;
19817
+ pn_ontvangen: number | null;
19818
+ pn_opgehaald_op: string | null;
19819
+ pn_url: string | null;
19820
+ pn_weggegooid: number | null;
19821
+ secret_veld: string | null;
19822
+ status: string;
19823
+ updated_at: string;
19824
+ url: string | null;
19825
+ webhook_id: number | null;
19826
+ zelftest_fout: string | null;
19827
+ zelftest_op: string | null;
19828
+ };
19829
+ Insert: {
19830
+ bereikbaar?: string | null;
19831
+ created_at?: string;
19832
+ fout?: string | null;
19833
+ geheim?: string | null;
19834
+ gekoppeld_op?: string | null;
19835
+ id?: number;
19836
+ laatst_ontvangen_op?: string | null;
19837
+ laatste_poging_op?: string | null;
19838
+ melding?: string | null;
19839
+ pn_geslaagd?: number | null;
19840
+ pn_geslaagd_vorig?: number | null;
19841
+ pn_mislukt?: number | null;
19842
+ pn_ontvangen?: number | null;
19843
+ pn_opgehaald_op?: string | null;
19844
+ pn_url?: string | null;
19845
+ pn_weggegooid?: number | null;
19846
+ secret_veld?: string | null;
19847
+ status?: string;
19848
+ updated_at?: string;
19849
+ url?: string | null;
19850
+ webhook_id?: number | null;
19851
+ zelftest_fout?: string | null;
19852
+ zelftest_op?: string | null;
19853
+ };
19854
+ Update: {
19855
+ bereikbaar?: string | null;
19856
+ created_at?: string;
19857
+ fout?: string | null;
19858
+ geheim?: string | null;
19859
+ gekoppeld_op?: string | null;
19860
+ id?: number;
19861
+ laatst_ontvangen_op?: string | null;
19862
+ laatste_poging_op?: string | null;
19863
+ melding?: string | null;
19864
+ pn_geslaagd?: number | null;
19865
+ pn_geslaagd_vorig?: number | null;
19866
+ pn_mislukt?: number | null;
19867
+ pn_ontvangen?: number | null;
19868
+ pn_opgehaald_op?: string | null;
19869
+ pn_url?: string | null;
19870
+ pn_weggegooid?: number | null;
19871
+ secret_veld?: string | null;
19872
+ status?: string;
19873
+ updated_at?: string;
19874
+ url?: string | null;
19875
+ webhook_id?: number | null;
19876
+ zelftest_fout?: string | null;
19877
+ zelftest_op?: string | null;
19878
+ };
19879
+ Relationships: [];
19880
+ };
19881
+ printnode_webhook_meldingen: {
19882
+ Row: {
19883
+ antwoord: Json | null;
19884
+ gematcht: number;
19885
+ http_status: number;
19886
+ id: number;
19887
+ niet_gematcht: string[];
19888
+ ontvangen_op: string;
19889
+ printnode_ids: string[];
19890
+ soorten: string[];
19891
+ };
19892
+ Insert: {
19893
+ antwoord?: Json | null;
19894
+ gematcht?: number;
19895
+ http_status: number;
19896
+ id?: never;
19897
+ niet_gematcht?: string[];
19898
+ ontvangen_op?: string;
19899
+ printnode_ids?: string[];
19900
+ soorten?: string[];
19901
+ };
19902
+ Update: {
19903
+ antwoord?: Json | null;
19904
+ gematcht?: number;
19905
+ http_status?: number;
19906
+ id?: never;
19907
+ niet_gematcht?: string[];
19908
+ ontvangen_op?: string;
19909
+ printnode_ids?: string[];
19910
+ soorten?: string[];
19911
+ };
19912
+ Relationships: [];
19913
+ };
19423
19914
  product_bom_external_items: {
19424
19915
  Row: {
19425
19916
  created_at: string;
@@ -27765,6 +28256,14 @@ export type Database = {
27765
28256
  };
27766
28257
  Returns: number;
27767
28258
  };
28259
+ _jsonb_paden_met_waarde: {
28260
+ Args: {
28261
+ _j: Json;
28262
+ _pad?: string[];
28263
+ _w: string;
28264
+ };
28265
+ Returns: string[][];
28266
+ };
27768
28267
  _migrate_rewrite_stock_key: {
27769
28268
  Args: {
27770
28269
  _from_key: string;
@@ -28029,16 +28528,21 @@ export type Database = {
28029
28528
  lokale_pdf_print_plek_id: string | null;
28030
28529
  lokale_pdf_status: string | null;
28031
28530
  opgepakt_op: string | null;
28531
+ origineel_sleutel: string | null;
28032
28532
  paginas: number;
28033
28533
  payload: Json;
28034
28534
  pdf_base64: string | null;
28035
28535
  pdf_url: string | null;
28036
28536
  pogingen: number;
28037
28537
  printer_id: string | null;
28538
+ printnode_bericht: string | null;
28539
+ printnode_status: string | null;
28540
+ printnode_status_op: string | null;
28038
28541
  render_html: string | null;
28039
28542
  resultaat_pdf_base64: string | null;
28040
28543
  status: Database["public"]["Enums"]["print_job_status"];
28041
28544
  updated_at: string;
28545
+ verloopt_na_s: number | null;
28042
28546
  verwerkingsfase: string;
28043
28547
  volgende_poging: string | null;
28044
28548
  voltooid_op: string | null;
@@ -28090,6 +28594,7 @@ export type Database = {
28090
28594
  next_attempt_at: string;
28091
28595
  number_of_pieces: number;
28092
28596
  price_note: string | null;
28597
+ price_previous: number | null;
28093
28598
  price_sent: number | null;
28094
28599
  price_status: string | null;
28095
28600
  product_id: string | null;
@@ -28219,16 +28724,21 @@ export type Database = {
28219
28724
  lokale_pdf_print_plek_id: string | null;
28220
28725
  lokale_pdf_status: string | null;
28221
28726
  opgepakt_op: string | null;
28727
+ origineel_sleutel: string | null;
28222
28728
  paginas: number;
28223
28729
  payload: Json;
28224
28730
  pdf_base64: string | null;
28225
28731
  pdf_url: string | null;
28226
28732
  pogingen: number;
28227
28733
  printer_id: string | null;
28734
+ printnode_bericht: string | null;
28735
+ printnode_status: string | null;
28736
+ printnode_status_op: string | null;
28228
28737
  render_html: string | null;
28229
28738
  resultaat_pdf_base64: string | null;
28230
28739
  status: Database["public"]["Enums"]["print_job_status"];
28231
28740
  updated_at: string;
28741
+ verloopt_na_s: number | null;
28232
28742
  verwerkingsfase: string;
28233
28743
  volgende_poging: string | null;
28234
28744
  voltooid_op: string | null;
@@ -28280,16 +28790,21 @@ export type Database = {
28280
28790
  lokale_pdf_print_plek_id: string | null;
28281
28791
  lokale_pdf_status: string | null;
28282
28792
  opgepakt_op: string | null;
28793
+ origineel_sleutel: string | null;
28283
28794
  paginas: number;
28284
28795
  payload: Json;
28285
28796
  pdf_base64: string | null;
28286
28797
  pdf_url: string | null;
28287
28798
  pogingen: number;
28288
28799
  printer_id: string | null;
28800
+ printnode_bericht: string | null;
28801
+ printnode_status: string | null;
28802
+ printnode_status_op: string | null;
28289
28803
  render_html: string | null;
28290
28804
  resultaat_pdf_base64: string | null;
28291
28805
  status: Database["public"]["Enums"]["print_job_status"];
28292
28806
  updated_at: string;
28807
+ verloopt_na_s: number | null;
28293
28808
  verwerkingsfase: string;
28294
28809
  volgende_poging: string | null;
28295
28810
  voltooid_op: string | null;
@@ -28568,6 +29083,13 @@ export type Database = {
28568
29083
  table_name: string;
28569
29084
  }[];
28570
29085
  };
29086
+ dashboard_pit_tellingen: {
29087
+ Args: {
29088
+ _mail_connecties?: string[];
29089
+ _vandaag: string;
29090
+ };
29091
+ Returns: Json;
29092
+ };
28571
29093
  dashboard_werkbon_funnel: {
28572
29094
  Args: {
28573
29095
  _periode?: string;
@@ -28895,6 +29417,13 @@ export type Database = {
28895
29417
  stock: number;
28896
29418
  }[];
28897
29419
  };
29420
+ geladen_etiketten: {
29421
+ Args: {
29422
+ _print_plek_id?: string;
29423
+ _werkplek_id?: string;
29424
+ };
29425
+ Returns: Json;
29426
+ };
28898
29427
  get_active_floriday_connection_public: {
28899
29428
  Args: never;
28900
29429
  Returns: {
@@ -29601,6 +30130,13 @@ export type Database = {
29601
30130
  };
29602
30131
  Returns: Json;
29603
30132
  };
30133
+ invoice_register_send: {
30134
+ Args: {
30135
+ _invoice_id: string;
30136
+ _outbox_id: string;
30137
+ };
30138
+ Returns: Json;
30139
+ };
29604
30140
  invoice_resync_concept_from_work_order: {
29605
30141
  Args: {
29606
30142
  _werkbon_id: string;
@@ -29668,6 +30204,19 @@ export type Database = {
29668
30204
  Args: never;
29669
30205
  Returns: boolean;
29670
30206
  };
30207
+ itk_customer_stats: {
30208
+ Args: {
30209
+ _customer_ids: string[];
30210
+ };
30211
+ Returns: {
30212
+ afgerond: number;
30213
+ bezig: number;
30214
+ customer_id: string;
30215
+ klussen: number;
30216
+ omzet_cents: number;
30217
+ open: number;
30218
+ }[];
30219
+ };
29671
30220
  itk_offerte_naar_werkbon: {
29672
30221
  Args: {
29673
30222
  _offerte_id: string;
@@ -29681,6 +30230,16 @@ export type Database = {
29681
30230
  };
29682
30231
  Returns: number;
29683
30232
  };
30233
+ itk_top_customers_by_revenue: {
30234
+ Args: {
30235
+ _limit?: number;
30236
+ };
30237
+ Returns: {
30238
+ customer_id: string;
30239
+ name: string;
30240
+ omzet_cents: number;
30241
+ }[];
30242
+ };
29684
30243
  jwt_has_role: {
29685
30244
  Args: {
29686
30245
  _role: Database["public"]["Enums"]["app_role"];
@@ -29696,6 +30255,7 @@ export type Database = {
29696
30255
  _is_herprint?: boolean;
29697
30256
  _kopieen?: number;
29698
30257
  _layout_id?: string;
30258
+ _mislukt_reden?: string;
29699
30259
  _payload?: Json;
29700
30260
  _pdf_base64?: string;
29701
30261
  _pdf_url?: string;
@@ -29704,10 +30264,27 @@ export type Database = {
29704
30264
  };
29705
30265
  Returns: {
29706
30266
  bestaand: boolean;
30267
+ fout_bericht: string;
30268
+ fout_code: string;
29707
30269
  job_id: string;
30270
+ mislukt: boolean;
29708
30271
  printer_id: string;
30272
+ status: string;
29709
30273
  }[];
29710
30274
  };
30275
+ layout_verwijzing_omzetten: {
30276
+ Args: {
30277
+ _nieuw: string;
30278
+ _oud: string;
30279
+ _rij_id: string;
30280
+ _tabel: string;
30281
+ };
30282
+ Returns: undefined;
30283
+ };
30284
+ layout_verwijzingen: {
30285
+ Args: never;
30286
+ Returns: Json;
30287
+ };
29711
30288
  list_medewerkers: {
29712
30289
  Args: never;
29713
30290
  Returns: {
@@ -29873,6 +30450,20 @@ export type Database = {
29873
30450
  };
29874
30451
  Returns: boolean;
29875
30452
  };
30453
+ logistics_archived_orders: {
30454
+ Args: never;
30455
+ Returns: {
30456
+ archived_at: string;
30457
+ attempts: number;
30458
+ delivery_date: string;
30459
+ last_error: string;
30460
+ order_id: string;
30461
+ order_ref: string;
30462
+ queue_id: string;
30463
+ reason: string;
30464
+ reason_code: string;
30465
+ }[];
30466
+ };
29876
30467
  logistics_backorder_allowed: {
29877
30468
  Args: {
29878
30469
  p_strategy_id?: string;
@@ -29921,6 +30512,13 @@ export type Database = {
29921
30512
  Args: never;
29922
30513
  Returns: Json;
29923
30514
  };
30515
+ logistics_brief_transport: {
30516
+ Args: {
30517
+ p_cart_id?: string;
30518
+ p_order_id: string;
30519
+ };
30520
+ Returns: Json;
30521
+ };
29924
30522
  logistics_buffer_criteria: {
29925
30523
  Args: {
29926
30524
  p_settings: Json;
@@ -30057,6 +30655,12 @@ export type Database = {
30057
30655
  };
30058
30656
  Returns: boolean;
30059
30657
  };
30658
+ logistics_cart_ids_frozen: {
30659
+ Args: {
30660
+ p_cart_ids: string[];
30661
+ };
30662
+ Returns: string[];
30663
+ };
30060
30664
  logistics_cart_index: {
30061
30665
  Args: {
30062
30666
  p_from?: string;
@@ -30083,6 +30687,12 @@ export type Database = {
30083
30687
  task_status: string;
30084
30688
  }[];
30085
30689
  };
30690
+ logistics_cart_is_frozen: {
30691
+ Args: {
30692
+ p_cart_id: string;
30693
+ };
30694
+ Returns: boolean;
30695
+ };
30086
30696
  logistics_cart_is_full: {
30087
30697
  Args: {
30088
30698
  p_cart_id: string;
@@ -30155,6 +30765,12 @@ export type Database = {
30155
30765
  };
30156
30766
  Returns: Json;
30157
30767
  };
30768
+ logistics_cart_sticker_state: {
30769
+ Args: {
30770
+ p_cart_id: string;
30771
+ };
30772
+ Returns: Json;
30773
+ };
30158
30774
  logistics_cart_units: {
30159
30775
  Args: {
30160
30776
  p_from?: string;
@@ -30756,6 +31372,12 @@ export type Database = {
30756
31372
  Args: never;
30757
31373
  Returns: Json;
30758
31374
  };
31375
+ logistics_floriday_layout_id: {
31376
+ Args: {
31377
+ p_documenttype: string;
31378
+ };
31379
+ Returns: Json;
31380
+ };
30759
31381
  logistics_floriday_log_refusal: {
30760
31382
  Args: {
30761
31383
  _action?: string;
@@ -30987,6 +31609,12 @@ export type Database = {
30987
31609
  };
30988
31610
  Returns: string[];
30989
31611
  };
31612
+ logistics_order_definitively_blocked: {
31613
+ Args: {
31614
+ p_order_id: string;
31615
+ };
31616
+ Returns: Json;
31617
+ };
30990
31618
  logistics_order_documents_ready: {
30991
31619
  Args: {
30992
31620
  p_order_ref: string;
@@ -31055,6 +31683,12 @@ export type Database = {
31055
31683
  };
31056
31684
  Returns: boolean;
31057
31685
  };
31686
+ logistics_order_is_archived: {
31687
+ Args: {
31688
+ p_order_id: string;
31689
+ };
31690
+ Returns: Json;
31691
+ };
31058
31692
  logistics_order_is_backlog: {
31059
31693
  Args: {
31060
31694
  p_order_id: string;
@@ -31165,6 +31799,12 @@ export type Database = {
31165
31799
  };
31166
31800
  Returns: boolean;
31167
31801
  };
31802
+ logistics_order_sticker_meldingen: {
31803
+ Args: {
31804
+ p_order_id: string;
31805
+ };
31806
+ Returns: Json;
31807
+ };
31168
31808
  logistics_packing_autofix: {
31169
31809
  Args: {
31170
31810
  p_limit?: number;
@@ -31319,6 +31959,14 @@ export type Database = {
31319
31959
  order_id: string;
31320
31960
  }[];
31321
31961
  };
31962
+ logistics_plan_close_claim: {
31963
+ Args: {
31964
+ p_id: string;
31965
+ p_reason: string;
31966
+ p_reason_code?: string;
31967
+ };
31968
+ Returns: boolean;
31969
+ };
31322
31970
  logistics_plan_coverage_check: {
31323
31971
  Args: {
31324
31972
  p_limit?: number;
@@ -31374,6 +32022,10 @@ export type Database = {
31374
32022
  };
31375
32023
  Returns: number;
31376
32024
  };
32025
+ logistics_plan_housekeeping: {
32026
+ Args: never;
32027
+ Returns: Json;
32028
+ };
31377
32029
  logistics_plan_impact_orders: {
31378
32030
  Args: {
31379
32031
  p_order_id: string;
@@ -31485,6 +32137,12 @@ export type Database = {
31485
32137
  Args: never;
31486
32138
  Returns: number;
31487
32139
  };
32140
+ logistics_plan_unarchive: {
32141
+ Args: {
32142
+ p_order_ids: string[];
32143
+ };
32144
+ Returns: number;
32145
+ };
31488
32146
  logistics_plan_wachttijd: {
31489
32147
  Args: {
31490
32148
  p_order_id: string;
@@ -31538,6 +32196,12 @@ export type Database = {
31538
32196
  };
31539
32197
  Returns: Json;
31540
32198
  };
32199
+ logistics_print_job_state: {
32200
+ Args: {
32201
+ p_job_id: string;
32202
+ };
32203
+ Returns: string;
32204
+ };
31541
32205
  logistics_print_via_layout: {
31542
32206
  Args: {
31543
32207
  _documentnaam: string;
@@ -32033,6 +32697,13 @@ export type Database = {
32033
32697
  };
32034
32698
  Returns: undefined;
32035
32699
  };
32700
+ logistics_slip_note_hold_layout: {
32701
+ Args: {
32702
+ _id: string;
32703
+ _reason: string;
32704
+ };
32705
+ Returns: undefined;
32706
+ };
32036
32707
  logistics_slip_note_keep_waiting: {
32037
32708
  Args: {
32038
32709
  _class?: string;
@@ -32041,16 +32712,64 @@ export type Database = {
32041
32712
  };
32042
32713
  Returns: undefined;
32043
32714
  };
32715
+ logistics_slip_note_release_layout: {
32716
+ Args: never;
32717
+ Returns: number;
32718
+ };
32044
32719
  logistics_slip_note_retry: {
32045
32720
  Args: {
32046
32721
  _id: string;
32047
32722
  };
32048
32723
  Returns: Json;
32049
32724
  };
32725
+ logistics_sticker_cart_plek: {
32726
+ Args: {
32727
+ _cart: string;
32728
+ _fallback: string;
32729
+ };
32730
+ Returns: string;
32731
+ };
32050
32732
  logistics_sticker_follows_slip: {
32051
32733
  Args: never;
32052
32734
  Returns: boolean;
32053
32735
  };
32736
+ logistics_sticker_moment: {
32737
+ Args: {
32738
+ _cart: string;
32739
+ _hours: number;
32740
+ _order_number: string;
32741
+ _release: string;
32742
+ };
32743
+ Returns: boolean;
32744
+ };
32745
+ logistics_sticker_parse_size: {
32746
+ Args: {
32747
+ p: Json;
32748
+ };
32749
+ Returns: number[];
32750
+ };
32751
+ logistics_sticker_sync: {
32752
+ Args: {
32753
+ p_limit?: number;
32754
+ };
32755
+ Returns: Json;
32756
+ };
32757
+ logistics_sticker_upsert: {
32758
+ Args: {
32759
+ _bron: string;
32760
+ _cart: string;
32761
+ _fo: string;
32762
+ _kopieen: number;
32763
+ _order: string;
32764
+ _order_number: string;
32765
+ _plek: string;
32766
+ _reden: string;
32767
+ _size: number[];
32768
+ _soort: string;
32769
+ _status: string;
32770
+ };
32771
+ Returns: undefined;
32772
+ };
32054
32773
  logistics_subtract_working_minutes: {
32055
32774
  Args: {
32056
32775
  p_deadline: string;
@@ -32803,6 +33522,13 @@ export type Database = {
32803
33522
  };
32804
33523
  Returns: string;
32805
33524
  };
33525
+ pick_find_sent_elsewhere: {
33526
+ Args: {
33527
+ _cart_id: string;
33528
+ _queue_item_id: string;
33529
+ };
33530
+ Returns: Json;
33531
+ };
32806
33532
  pick_is_reference_admin: {
32807
33533
  Args: never;
32808
33534
  Returns: boolean;
@@ -33323,6 +34049,12 @@ export type Database = {
33323
34049
  };
33324
34050
  Returns: undefined;
33325
34051
  };
34052
+ planning_cleanup_old_logs: {
34053
+ Args: {
34054
+ _keep_days?: number;
34055
+ };
34056
+ Returns: number;
34057
+ };
33326
34058
  planning_html_escape: {
33327
34059
  Args: {
33328
34060
  t: string;
@@ -33389,6 +34121,23 @@ export type Database = {
33389
34121
  };
33390
34122
  Returns: string;
33391
34123
  };
34124
+ print_formaat_klasse: {
34125
+ Args: {
34126
+ _code: string;
34127
+ };
34128
+ Returns: string;
34129
+ };
34130
+ print_job_status_uitgebreid: {
34131
+ Args: {
34132
+ _job_id: string;
34133
+ };
34134
+ Returns: {
34135
+ fout_bericht: string;
34136
+ fout_code: string;
34137
+ mislukt: boolean;
34138
+ status: string;
34139
+ }[];
34140
+ };
33392
34141
  print_preview_toestaan: {
33393
34142
  Args: {
33394
34143
  _max?: number;
@@ -33407,6 +34156,14 @@ export type Database = {
33407
34156
  };
33408
34157
  Returns: undefined;
33409
34158
  };
34159
+ print_werkplek_keuze: {
34160
+ Args: {
34161
+ _documenttype: string;
34162
+ _klasse: string;
34163
+ _werkplek_id: string;
34164
+ };
34165
+ Returns: Json;
34166
+ };
33410
34167
  printer_gebruik: {
33411
34168
  Args: {
33412
34169
  _printer: string;
@@ -33420,6 +34177,7 @@ export type Database = {
33420
34177
  _papierformaat?: string;
33421
34178
  _print_plek_id?: string;
33422
34179
  _werkplek?: string;
34180
+ _werkplek_id?: string;
33423
34181
  };
33424
34182
  Returns: Json;
33425
34183
  };
@@ -34731,6 +35489,10 @@ export type Database = {
34731
35489
  };
34732
35490
  Returns: undefined;
34733
35491
  };
35492
+ uren_cao_settings_zorg: {
35493
+ Args: never;
35494
+ Returns: string;
35495
+ };
34734
35496
  uren_collega_agenda: {
34735
35497
  Args: {
34736
35498
  _monteur: string;
@@ -34891,10 +35653,22 @@ export type Database = {
34891
35653
  Args: never;
34892
35654
  Returns: number;
34893
35655
  };
35656
+ uren_module_gezondheid: {
35657
+ Args: never;
35658
+ Returns: Json;
35659
+ };
35660
+ uren_module_status: {
35661
+ Args: never;
35662
+ Returns: Json;
35663
+ };
34894
35664
  uren_my_monteur_id: {
34895
35665
  Args: never;
34896
35666
  Returns: string;
34897
35667
  };
35668
+ uren_opschonen_indien_nodig: {
35669
+ Args: never;
35670
+ Returns: boolean;
35671
+ };
34898
35672
  uren_overuren_indienen: {
34899
35673
  Args: {
34900
35674
  _datum: string;
@@ -35298,6 +36072,16 @@ export type Database = {
35298
36072
  total_minutes: number;
35299
36073
  }[];
35300
36074
  };
36075
+ werkplek_omzetting_toepassen: {
36076
+ Args: {
36077
+ _werkplekken: Json;
36078
+ };
36079
+ Returns: Json;
36080
+ };
36081
+ werkplek_omzetting_voorstel: {
36082
+ Args: never;
36083
+ Returns: Json;
36084
+ };
35301
36085
  wo_boek_standby_uren: {
35302
36086
  Args: {
35303
36087
  _datum: string;