@flowselections/floriday-afhandeling-module 1.0.56 → 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;
@@ -12619,6 +12631,54 @@ export type Database = {
12619
12631
  }
12620
12632
  ];
12621
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
+ };
12622
12682
  logistics_packing_deviations: {
12623
12683
  Row: {
12624
12684
  auto_fixed_at: string | null;
@@ -13448,6 +13508,78 @@ export type Database = {
13448
13508
  };
13449
13509
  Relationships: [];
13450
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
+ };
13451
13583
  logistics_stock_alerts: {
13452
13584
  Row: {
13453
13585
  created_at: string;
@@ -13464,6 +13596,7 @@ export type Database = {
13464
13596
  order_id: string | null;
13465
13597
  order_ref: string;
13466
13598
  priority: number;
13599
+ resolution_reason: string | null;
13467
13600
  resolved_at: string | null;
13468
13601
  resolved_by: string | null;
13469
13602
  shortages: Json;
@@ -13486,6 +13619,7 @@ export type Database = {
13486
13619
  order_id?: string | null;
13487
13620
  order_ref: string;
13488
13621
  priority?: number;
13622
+ resolution_reason?: string | null;
13489
13623
  resolved_at?: string | null;
13490
13624
  resolved_by?: string | null;
13491
13625
  shortages?: Json;
@@ -13508,6 +13642,7 @@ export type Database = {
13508
13642
  order_id?: string | null;
13509
13643
  order_ref?: string;
13510
13644
  priority?: number;
13645
+ resolution_reason?: string | null;
13511
13646
  resolved_at?: string | null;
13512
13647
  resolved_by?: string | null;
13513
13648
  shortages?: Json;
@@ -18724,6 +18859,35 @@ export type Database = {
18724
18859
  };
18725
18860
  Relationships: [];
18726
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
+ };
18727
18891
  print_genegeerde_computers: {
18728
18892
  Row: {
18729
18893
  computer_naam: string;
@@ -19290,6 +19454,103 @@ export type Database = {
19290
19454
  }
19291
19455
  ];
19292
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
+ };
19293
19554
  printer_mappings: {
19294
19555
  Row: {
19295
19556
  created_at: string;
@@ -19397,6 +19658,47 @@ export type Database = {
19397
19658
  }
19398
19659
  ];
19399
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
+ };
19400
19702
  printers: {
19401
19703
  Row: {
19402
19704
  actief: boolean;
@@ -19406,8 +19708,10 @@ export type Database = {
19406
19708
  driver: string;
19407
19709
  extern_printer_id: string | null;
19408
19710
  formaten_bijgewerkt_op: string | null;
19711
+ geladen_etiket: Json | null;
19409
19712
  id: string;
19410
19713
  ip_adres: string | null;
19714
+ is_virtueel: boolean;
19411
19715
  laatst_gezien: string | null;
19412
19716
  locatie: string;
19413
19717
  merk: string;
@@ -19423,6 +19727,8 @@ export type Database = {
19423
19727
  systeemnaam: string;
19424
19728
  updated_at: string;
19425
19729
  verbinding: Database["public"]["Enums"]["printer_connection"];
19730
+ verborgen: boolean;
19731
+ weergavenaam: string | null;
19426
19732
  };
19427
19733
  Insert: {
19428
19734
  actief?: boolean;
@@ -19432,8 +19738,10 @@ export type Database = {
19432
19738
  driver?: string;
19433
19739
  extern_printer_id?: string | null;
19434
19740
  formaten_bijgewerkt_op?: string | null;
19741
+ geladen_etiket?: Json | null;
19435
19742
  id?: string;
19436
19743
  ip_adres?: string | null;
19744
+ is_virtueel?: boolean;
19437
19745
  laatst_gezien?: string | null;
19438
19746
  locatie?: string;
19439
19747
  merk?: string;
@@ -19449,6 +19757,8 @@ export type Database = {
19449
19757
  systeemnaam?: string;
19450
19758
  updated_at?: string;
19451
19759
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19760
+ verborgen?: boolean;
19761
+ weergavenaam?: string | null;
19452
19762
  };
19453
19763
  Update: {
19454
19764
  actief?: boolean;
@@ -19458,8 +19768,10 @@ export type Database = {
19458
19768
  driver?: string;
19459
19769
  extern_printer_id?: string | null;
19460
19770
  formaten_bijgewerkt_op?: string | null;
19771
+ geladen_etiket?: Json | null;
19461
19772
  id?: string;
19462
19773
  ip_adres?: string | null;
19774
+ is_virtueel?: boolean;
19463
19775
  laatst_gezien?: string | null;
19464
19776
  locatie?: string;
19465
19777
  merk?: string;
@@ -19475,6 +19787,8 @@ export type Database = {
19475
19787
  systeemnaam?: string;
19476
19788
  updated_at?: string;
19477
19789
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19790
+ verborgen?: boolean;
19791
+ weergavenaam?: string | null;
19478
19792
  };
19479
19793
  Relationships: [
19480
19794
  {
@@ -19486,6 +19800,117 @@ export type Database = {
19486
19800
  }
19487
19801
  ];
19488
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
+ };
19489
19914
  product_bom_external_items: {
19490
19915
  Row: {
19491
19916
  created_at: string;
@@ -27831,6 +28256,14 @@ export type Database = {
27831
28256
  };
27832
28257
  Returns: number;
27833
28258
  };
28259
+ _jsonb_paden_met_waarde: {
28260
+ Args: {
28261
+ _j: Json;
28262
+ _pad?: string[];
28263
+ _w: string;
28264
+ };
28265
+ Returns: string[][];
28266
+ };
27834
28267
  _migrate_rewrite_stock_key: {
27835
28268
  Args: {
27836
28269
  _from_key: string;
@@ -28161,6 +28594,7 @@ export type Database = {
28161
28594
  next_attempt_at: string;
28162
28595
  number_of_pieces: number;
28163
28596
  price_note: string | null;
28597
+ price_previous: number | null;
28164
28598
  price_sent: number | null;
28165
28599
  price_status: string | null;
28166
28600
  product_id: string | null;
@@ -28649,6 +29083,13 @@ export type Database = {
28649
29083
  table_name: string;
28650
29084
  }[];
28651
29085
  };
29086
+ dashboard_pit_tellingen: {
29087
+ Args: {
29088
+ _mail_connecties?: string[];
29089
+ _vandaag: string;
29090
+ };
29091
+ Returns: Json;
29092
+ };
28652
29093
  dashboard_werkbon_funnel: {
28653
29094
  Args: {
28654
29095
  _periode?: string;
@@ -28976,6 +29417,13 @@ export type Database = {
28976
29417
  stock: number;
28977
29418
  }[];
28978
29419
  };
29420
+ geladen_etiketten: {
29421
+ Args: {
29422
+ _print_plek_id?: string;
29423
+ _werkplek_id?: string;
29424
+ };
29425
+ Returns: Json;
29426
+ };
28979
29427
  get_active_floriday_connection_public: {
28980
29428
  Args: never;
28981
29429
  Returns: {
@@ -29682,6 +30130,13 @@ export type Database = {
29682
30130
  };
29683
30131
  Returns: Json;
29684
30132
  };
30133
+ invoice_register_send: {
30134
+ Args: {
30135
+ _invoice_id: string;
30136
+ _outbox_id: string;
30137
+ };
30138
+ Returns: Json;
30139
+ };
29685
30140
  invoice_resync_concept_from_work_order: {
29686
30141
  Args: {
29687
30142
  _werkbon_id: string;
@@ -29749,6 +30204,19 @@ export type Database = {
29749
30204
  Args: never;
29750
30205
  Returns: boolean;
29751
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
+ };
29752
30220
  itk_offerte_naar_werkbon: {
29753
30221
  Args: {
29754
30222
  _offerte_id: string;
@@ -29762,6 +30230,16 @@ export type Database = {
29762
30230
  };
29763
30231
  Returns: number;
29764
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
+ };
29765
30243
  jwt_has_role: {
29766
30244
  Args: {
29767
30245
  _role: Database["public"]["Enums"]["app_role"];
@@ -29786,10 +30264,27 @@ export type Database = {
29786
30264
  };
29787
30265
  Returns: {
29788
30266
  bestaand: boolean;
30267
+ fout_bericht: string;
30268
+ fout_code: string;
29789
30269
  job_id: string;
30270
+ mislukt: boolean;
29790
30271
  printer_id: string;
30272
+ status: string;
29791
30273
  }[];
29792
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
+ };
29793
30288
  list_medewerkers: {
29794
30289
  Args: never;
29795
30290
  Returns: {
@@ -29955,6 +30450,20 @@ export type Database = {
29955
30450
  };
29956
30451
  Returns: boolean;
29957
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
+ };
29958
30467
  logistics_backorder_allowed: {
29959
30468
  Args: {
29960
30469
  p_strategy_id?: string;
@@ -30003,6 +30512,13 @@ export type Database = {
30003
30512
  Args: never;
30004
30513
  Returns: Json;
30005
30514
  };
30515
+ logistics_brief_transport: {
30516
+ Args: {
30517
+ p_cart_id?: string;
30518
+ p_order_id: string;
30519
+ };
30520
+ Returns: Json;
30521
+ };
30006
30522
  logistics_buffer_criteria: {
30007
30523
  Args: {
30008
30524
  p_settings: Json;
@@ -30249,6 +30765,12 @@ export type Database = {
30249
30765
  };
30250
30766
  Returns: Json;
30251
30767
  };
30768
+ logistics_cart_sticker_state: {
30769
+ Args: {
30770
+ p_cart_id: string;
30771
+ };
30772
+ Returns: Json;
30773
+ };
30252
30774
  logistics_cart_units: {
30253
30775
  Args: {
30254
30776
  p_from?: string;
@@ -30850,6 +31372,12 @@ export type Database = {
30850
31372
  Args: never;
30851
31373
  Returns: Json;
30852
31374
  };
31375
+ logistics_floriday_layout_id: {
31376
+ Args: {
31377
+ p_documenttype: string;
31378
+ };
31379
+ Returns: Json;
31380
+ };
30853
31381
  logistics_floriday_log_refusal: {
30854
31382
  Args: {
30855
31383
  _action?: string;
@@ -31081,6 +31609,12 @@ export type Database = {
31081
31609
  };
31082
31610
  Returns: string[];
31083
31611
  };
31612
+ logistics_order_definitively_blocked: {
31613
+ Args: {
31614
+ p_order_id: string;
31615
+ };
31616
+ Returns: Json;
31617
+ };
31084
31618
  logistics_order_documents_ready: {
31085
31619
  Args: {
31086
31620
  p_order_ref: string;
@@ -31149,6 +31683,12 @@ export type Database = {
31149
31683
  };
31150
31684
  Returns: boolean;
31151
31685
  };
31686
+ logistics_order_is_archived: {
31687
+ Args: {
31688
+ p_order_id: string;
31689
+ };
31690
+ Returns: Json;
31691
+ };
31152
31692
  logistics_order_is_backlog: {
31153
31693
  Args: {
31154
31694
  p_order_id: string;
@@ -31259,6 +31799,12 @@ export type Database = {
31259
31799
  };
31260
31800
  Returns: boolean;
31261
31801
  };
31802
+ logistics_order_sticker_meldingen: {
31803
+ Args: {
31804
+ p_order_id: string;
31805
+ };
31806
+ Returns: Json;
31807
+ };
31262
31808
  logistics_packing_autofix: {
31263
31809
  Args: {
31264
31810
  p_limit?: number;
@@ -31413,6 +31959,14 @@ export type Database = {
31413
31959
  order_id: string;
31414
31960
  }[];
31415
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
+ };
31416
31970
  logistics_plan_coverage_check: {
31417
31971
  Args: {
31418
31972
  p_limit?: number;
@@ -31468,6 +32022,10 @@ export type Database = {
31468
32022
  };
31469
32023
  Returns: number;
31470
32024
  };
32025
+ logistics_plan_housekeeping: {
32026
+ Args: never;
32027
+ Returns: Json;
32028
+ };
31471
32029
  logistics_plan_impact_orders: {
31472
32030
  Args: {
31473
32031
  p_order_id: string;
@@ -31579,6 +32137,12 @@ export type Database = {
31579
32137
  Args: never;
31580
32138
  Returns: number;
31581
32139
  };
32140
+ logistics_plan_unarchive: {
32141
+ Args: {
32142
+ p_order_ids: string[];
32143
+ };
32144
+ Returns: number;
32145
+ };
31582
32146
  logistics_plan_wachttijd: {
31583
32147
  Args: {
31584
32148
  p_order_id: string;
@@ -31632,6 +32196,12 @@ export type Database = {
31632
32196
  };
31633
32197
  Returns: Json;
31634
32198
  };
32199
+ logistics_print_job_state: {
32200
+ Args: {
32201
+ p_job_id: string;
32202
+ };
32203
+ Returns: string;
32204
+ };
31635
32205
  logistics_print_via_layout: {
31636
32206
  Args: {
31637
32207
  _documentnaam: string;
@@ -32127,6 +32697,13 @@ export type Database = {
32127
32697
  };
32128
32698
  Returns: undefined;
32129
32699
  };
32700
+ logistics_slip_note_hold_layout: {
32701
+ Args: {
32702
+ _id: string;
32703
+ _reason: string;
32704
+ };
32705
+ Returns: undefined;
32706
+ };
32130
32707
  logistics_slip_note_keep_waiting: {
32131
32708
  Args: {
32132
32709
  _class?: string;
@@ -32135,16 +32712,64 @@ export type Database = {
32135
32712
  };
32136
32713
  Returns: undefined;
32137
32714
  };
32715
+ logistics_slip_note_release_layout: {
32716
+ Args: never;
32717
+ Returns: number;
32718
+ };
32138
32719
  logistics_slip_note_retry: {
32139
32720
  Args: {
32140
32721
  _id: string;
32141
32722
  };
32142
32723
  Returns: Json;
32143
32724
  };
32725
+ logistics_sticker_cart_plek: {
32726
+ Args: {
32727
+ _cart: string;
32728
+ _fallback: string;
32729
+ };
32730
+ Returns: string;
32731
+ };
32144
32732
  logistics_sticker_follows_slip: {
32145
32733
  Args: never;
32146
32734
  Returns: boolean;
32147
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
+ };
32148
32773
  logistics_subtract_working_minutes: {
32149
32774
  Args: {
32150
32775
  p_deadline: string;
@@ -33424,6 +34049,12 @@ export type Database = {
33424
34049
  };
33425
34050
  Returns: undefined;
33426
34051
  };
34052
+ planning_cleanup_old_logs: {
34053
+ Args: {
34054
+ _keep_days?: number;
34055
+ };
34056
+ Returns: number;
34057
+ };
33427
34058
  planning_html_escape: {
33428
34059
  Args: {
33429
34060
  t: string;
@@ -33490,6 +34121,23 @@ export type Database = {
33490
34121
  };
33491
34122
  Returns: string;
33492
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
+ };
33493
34141
  print_preview_toestaan: {
33494
34142
  Args: {
33495
34143
  _max?: number;
@@ -33508,6 +34156,14 @@ export type Database = {
33508
34156
  };
33509
34157
  Returns: undefined;
33510
34158
  };
34159
+ print_werkplek_keuze: {
34160
+ Args: {
34161
+ _documenttype: string;
34162
+ _klasse: string;
34163
+ _werkplek_id: string;
34164
+ };
34165
+ Returns: Json;
34166
+ };
33511
34167
  printer_gebruik: {
33512
34168
  Args: {
33513
34169
  _printer: string;
@@ -33521,6 +34177,7 @@ export type Database = {
33521
34177
  _papierformaat?: string;
33522
34178
  _print_plek_id?: string;
33523
34179
  _werkplek?: string;
34180
+ _werkplek_id?: string;
33524
34181
  };
33525
34182
  Returns: Json;
33526
34183
  };
@@ -34832,6 +35489,10 @@ export type Database = {
34832
35489
  };
34833
35490
  Returns: undefined;
34834
35491
  };
35492
+ uren_cao_settings_zorg: {
35493
+ Args: never;
35494
+ Returns: string;
35495
+ };
34835
35496
  uren_collega_agenda: {
34836
35497
  Args: {
34837
35498
  _monteur: string;
@@ -34992,10 +35653,22 @@ export type Database = {
34992
35653
  Args: never;
34993
35654
  Returns: number;
34994
35655
  };
35656
+ uren_module_gezondheid: {
35657
+ Args: never;
35658
+ Returns: Json;
35659
+ };
35660
+ uren_module_status: {
35661
+ Args: never;
35662
+ Returns: Json;
35663
+ };
34995
35664
  uren_my_monteur_id: {
34996
35665
  Args: never;
34997
35666
  Returns: string;
34998
35667
  };
35668
+ uren_opschonen_indien_nodig: {
35669
+ Args: never;
35670
+ Returns: boolean;
35671
+ };
34999
35672
  uren_overuren_indienen: {
35000
35673
  Args: {
35001
35674
  _datum: string;
@@ -35399,6 +36072,16 @@ export type Database = {
35399
36072
  total_minutes: number;
35400
36073
  }[];
35401
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
+ };
35402
36085
  wo_boek_standby_uren: {
35403
36086
  Args: {
35404
36087
  _datum: string;