@flowselections/floriday-voorraad 1.0.72 → 1.0.73

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;
@@ -7052,6 +7061,59 @@ export type Database = {
7052
7061
  }
7053
7062
  ];
7054
7063
  };
7064
+ floriday_customer_sticker_upload_requests_cache: {
7065
+ Row: {
7066
+ connection_id: string;
7067
+ created_at: string;
7068
+ customer_sticker_id: string | null;
7069
+ data: Json;
7070
+ expires_on: string | null;
7071
+ fetched_at: string;
7072
+ floriday_id: string;
7073
+ id: string;
7074
+ responded_on: string | null;
7075
+ sales_order_id: string | null;
7076
+ sequence_number: number;
7077
+ status: string | null;
7078
+ };
7079
+ Insert: {
7080
+ connection_id: string;
7081
+ created_at?: string;
7082
+ customer_sticker_id?: string | null;
7083
+ data?: Json;
7084
+ expires_on?: string | null;
7085
+ fetched_at?: string;
7086
+ floriday_id: string;
7087
+ id?: string;
7088
+ responded_on?: string | null;
7089
+ sales_order_id?: string | null;
7090
+ sequence_number?: number;
7091
+ status?: string | null;
7092
+ };
7093
+ Update: {
7094
+ connection_id?: string;
7095
+ created_at?: string;
7096
+ customer_sticker_id?: string | null;
7097
+ data?: Json;
7098
+ expires_on?: string | null;
7099
+ fetched_at?: string;
7100
+ floriday_id?: string;
7101
+ id?: string;
7102
+ responded_on?: string | null;
7103
+ sales_order_id?: string | null;
7104
+ sequence_number?: number;
7105
+ status?: string | null;
7106
+ };
7107
+ Relationships: [
7108
+ {
7109
+ foreignKeyName: "floriday_customer_sticker_upload_requests_ca_connection_id_fkey";
7110
+ columns: ["connection_id"];
7111
+ isOneToOne: false;
7112
+ referencedRelation: "floriday_connections";
7113
+ referencedColumns: ["id"];
7114
+ }
7115
+ ];
7116
+ };
7055
7117
  floriday_customer_stickers_cache: {
7056
7118
  Row: {
7057
7119
  connection_id: string;
@@ -7379,6 +7441,59 @@ export type Database = {
7379
7441
  }
7380
7442
  ];
7381
7443
  };
7444
+ floriday_document_versions: {
7445
+ Row: {
7446
+ bucket: string;
7447
+ byte_size: number | null;
7448
+ connection_id: string;
7449
+ content_sha256: string;
7450
+ content_type: string | null;
7451
+ created_at: string;
7452
+ delivery_date: string | null;
7453
+ document_id: string;
7454
+ document_kind: string;
7455
+ id: string;
7456
+ storage_path: string;
7457
+ version: number;
7458
+ };
7459
+ Insert: {
7460
+ bucket: string;
7461
+ byte_size?: number | null;
7462
+ connection_id: string;
7463
+ content_sha256: string;
7464
+ content_type?: string | null;
7465
+ created_at?: string;
7466
+ delivery_date?: string | null;
7467
+ document_id: string;
7468
+ document_kind: string;
7469
+ id?: string;
7470
+ storage_path: string;
7471
+ version: number;
7472
+ };
7473
+ Update: {
7474
+ bucket?: string;
7475
+ byte_size?: number | null;
7476
+ connection_id?: string;
7477
+ content_sha256?: string;
7478
+ content_type?: string | null;
7479
+ created_at?: string;
7480
+ delivery_date?: string | null;
7481
+ document_id?: string;
7482
+ document_kind?: string;
7483
+ id?: string;
7484
+ storage_path?: string;
7485
+ version?: number;
7486
+ };
7487
+ Relationships: [
7488
+ {
7489
+ foreignKeyName: "floriday_document_versions_connection_id_fkey";
7490
+ columns: ["connection_id"];
7491
+ isOneToOne: false;
7492
+ referencedRelation: "floriday_connections";
7493
+ referencedColumns: ["id"];
7494
+ }
7495
+ ];
7496
+ };
7382
7497
  floriday_fulfillment_orders_cache: {
7383
7498
  Row: {
7384
7499
  auction_date: string | null;
@@ -12622,6 +12737,54 @@ export type Database = {
12622
12737
  }
12623
12738
  ];
12624
12739
  };
12740
+ logistics_order_sticker_warnings: {
12741
+ Row: {
12742
+ benodigd_breedte_mm: number | null;
12743
+ benodigd_hoogte_mm: number | null;
12744
+ bron_id: string;
12745
+ created_at: string;
12746
+ geladen_breedte_mm: number | null;
12747
+ geladen_hoogte_mm: number | null;
12748
+ id: string;
12749
+ melding: string;
12750
+ opgelost_op: string | null;
12751
+ order_id: string;
12752
+ plek: string | null;
12753
+ soort: string;
12754
+ updated_at: string;
12755
+ };
12756
+ Insert: {
12757
+ benodigd_breedte_mm?: number | null;
12758
+ benodigd_hoogte_mm?: number | null;
12759
+ bron_id: string;
12760
+ created_at?: string;
12761
+ geladen_breedte_mm?: number | null;
12762
+ geladen_hoogte_mm?: number | null;
12763
+ id?: string;
12764
+ melding: string;
12765
+ opgelost_op?: string | null;
12766
+ order_id: string;
12767
+ plek?: string | null;
12768
+ soort: string;
12769
+ updated_at?: string;
12770
+ };
12771
+ Update: {
12772
+ benodigd_breedte_mm?: number | null;
12773
+ benodigd_hoogte_mm?: number | null;
12774
+ bron_id?: string;
12775
+ created_at?: string;
12776
+ geladen_breedte_mm?: number | null;
12777
+ geladen_hoogte_mm?: number | null;
12778
+ id?: string;
12779
+ melding?: string;
12780
+ opgelost_op?: string | null;
12781
+ order_id?: string;
12782
+ plek?: string | null;
12783
+ soort?: string;
12784
+ updated_at?: string;
12785
+ };
12786
+ Relationships: [];
12787
+ };
12625
12788
  logistics_packing_deviations: {
12626
12789
  Row: {
12627
12790
  auto_fixed_at: string | null;
@@ -13451,6 +13614,78 @@ export type Database = {
13451
13614
  };
13452
13615
  Relationships: [];
13453
13616
  };
13617
+ logistics_sticker_prints: {
13618
+ Row: {
13619
+ attempts: number;
13620
+ breedte_mm: number | null;
13621
+ bron_id: string;
13622
+ cart_id: string | null;
13623
+ created_at: string;
13624
+ fulfillment_order_id: string | null;
13625
+ handled_at: string | null;
13626
+ handled_error: string | null;
13627
+ handled_next_at: string | null;
13628
+ hoogte_mm: number | null;
13629
+ id: string;
13630
+ kopieen: number;
13631
+ next_attempt_at: string | null;
13632
+ order_id: string | null;
13633
+ order_number: string | null;
13634
+ print_job_id: string | null;
13635
+ print_plek_id: string | null;
13636
+ reden: string | null;
13637
+ soort: string;
13638
+ status: string;
13639
+ updated_at: string;
13640
+ };
13641
+ Insert: {
13642
+ attempts?: number;
13643
+ breedte_mm?: number | null;
13644
+ bron_id: string;
13645
+ cart_id?: string | null;
13646
+ created_at?: string;
13647
+ fulfillment_order_id?: string | null;
13648
+ handled_at?: string | null;
13649
+ handled_error?: string | null;
13650
+ handled_next_at?: string | null;
13651
+ hoogte_mm?: number | null;
13652
+ id?: string;
13653
+ kopieen?: number;
13654
+ next_attempt_at?: string | null;
13655
+ order_id?: string | null;
13656
+ order_number?: string | null;
13657
+ print_job_id?: string | null;
13658
+ print_plek_id?: string | null;
13659
+ reden?: string | null;
13660
+ soort: string;
13661
+ status?: string;
13662
+ updated_at?: string;
13663
+ };
13664
+ Update: {
13665
+ attempts?: number;
13666
+ breedte_mm?: number | null;
13667
+ bron_id?: string;
13668
+ cart_id?: string | null;
13669
+ created_at?: string;
13670
+ fulfillment_order_id?: string | null;
13671
+ handled_at?: string | null;
13672
+ handled_error?: string | null;
13673
+ handled_next_at?: string | null;
13674
+ hoogte_mm?: number | null;
13675
+ id?: string;
13676
+ kopieen?: number;
13677
+ next_attempt_at?: string | null;
13678
+ order_id?: string | null;
13679
+ order_number?: string | null;
13680
+ print_job_id?: string | null;
13681
+ print_plek_id?: string | null;
13682
+ reden?: string | null;
13683
+ soort?: string;
13684
+ status?: string;
13685
+ updated_at?: string;
13686
+ };
13687
+ Relationships: [];
13688
+ };
13454
13689
  logistics_stock_alerts: {
13455
13690
  Row: {
13456
13691
  created_at: string;
@@ -13467,6 +13702,7 @@ export type Database = {
13467
13702
  order_id: string | null;
13468
13703
  order_ref: string;
13469
13704
  priority: number;
13705
+ resolution_reason: string | null;
13470
13706
  resolved_at: string | null;
13471
13707
  resolved_by: string | null;
13472
13708
  shortages: Json;
@@ -13489,6 +13725,7 @@ export type Database = {
13489
13725
  order_id?: string | null;
13490
13726
  order_ref: string;
13491
13727
  priority?: number;
13728
+ resolution_reason?: string | null;
13492
13729
  resolved_at?: string | null;
13493
13730
  resolved_by?: string | null;
13494
13731
  shortages?: Json;
@@ -13511,6 +13748,7 @@ export type Database = {
13511
13748
  order_id?: string | null;
13512
13749
  order_ref?: string;
13513
13750
  priority?: number;
13751
+ resolution_reason?: string | null;
13514
13752
  resolved_at?: string | null;
13515
13753
  resolved_by?: string | null;
13516
13754
  shortages?: Json;
@@ -18727,6 +18965,35 @@ export type Database = {
18727
18965
  };
18728
18966
  Relationships: [];
18729
18967
  };
18968
+ print_gebruiker_werkplek: {
18969
+ Row: {
18970
+ created_at: string;
18971
+ updated_at: string;
18972
+ user_id: string;
18973
+ werkplek_id: string;
18974
+ };
18975
+ Insert: {
18976
+ created_at?: string;
18977
+ updated_at?: string;
18978
+ user_id: string;
18979
+ werkplek_id: string;
18980
+ };
18981
+ Update: {
18982
+ created_at?: string;
18983
+ updated_at?: string;
18984
+ user_id?: string;
18985
+ werkplek_id?: string;
18986
+ };
18987
+ Relationships: [
18988
+ {
18989
+ foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
18990
+ columns: ["werkplek_id"];
18991
+ isOneToOne: false;
18992
+ referencedRelation: "print_werkplekken";
18993
+ referencedColumns: ["id"];
18994
+ }
18995
+ ];
18996
+ };
18730
18997
  print_genegeerde_computers: {
18731
18998
  Row: {
18732
18999
  computer_naam: string;
@@ -19293,6 +19560,103 @@ export type Database = {
19293
19560
  }
19294
19561
  ];
19295
19562
  };
19563
+ print_werkplek_afwijkingen: {
19564
+ Row: {
19565
+ created_at: string;
19566
+ documenttype: string;
19567
+ id: string;
19568
+ printer_id: string | null;
19569
+ updated_at: string;
19570
+ werkplek_id: string;
19571
+ };
19572
+ Insert: {
19573
+ created_at?: string;
19574
+ documenttype: string;
19575
+ id?: string;
19576
+ printer_id?: string | null;
19577
+ updated_at?: string;
19578
+ werkplek_id: string;
19579
+ };
19580
+ Update: {
19581
+ created_at?: string;
19582
+ documenttype?: string;
19583
+ id?: string;
19584
+ printer_id?: string | null;
19585
+ updated_at?: string;
19586
+ werkplek_id?: string;
19587
+ };
19588
+ Relationships: [
19589
+ {
19590
+ foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
19591
+ columns: ["printer_id"];
19592
+ isOneToOne: false;
19593
+ referencedRelation: "printers";
19594
+ referencedColumns: ["id"];
19595
+ },
19596
+ {
19597
+ foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
19598
+ columns: ["werkplek_id"];
19599
+ isOneToOne: false;
19600
+ referencedRelation: "print_werkplekken";
19601
+ referencedColumns: ["id"];
19602
+ }
19603
+ ];
19604
+ };
19605
+ print_werkplekken: {
19606
+ Row: {
19607
+ a4_printer_id: string | null;
19608
+ actief: boolean;
19609
+ created_at: string;
19610
+ id: string;
19611
+ label_printer_id: string | null;
19612
+ naam: string;
19613
+ print_plek_id: string | null;
19614
+ updated_at: string;
19615
+ };
19616
+ Insert: {
19617
+ a4_printer_id?: string | null;
19618
+ actief?: boolean;
19619
+ created_at?: string;
19620
+ id?: string;
19621
+ label_printer_id?: string | null;
19622
+ naam: string;
19623
+ print_plek_id?: string | null;
19624
+ updated_at?: string;
19625
+ };
19626
+ Update: {
19627
+ a4_printer_id?: string | null;
19628
+ actief?: boolean;
19629
+ created_at?: string;
19630
+ id?: string;
19631
+ label_printer_id?: string | null;
19632
+ naam?: string;
19633
+ print_plek_id?: string | null;
19634
+ updated_at?: string;
19635
+ };
19636
+ Relationships: [
19637
+ {
19638
+ foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
19639
+ columns: ["a4_printer_id"];
19640
+ isOneToOne: false;
19641
+ referencedRelation: "printers";
19642
+ referencedColumns: ["id"];
19643
+ },
19644
+ {
19645
+ foreignKeyName: "print_werkplekken_label_printer_id_fkey";
19646
+ columns: ["label_printer_id"];
19647
+ isOneToOne: false;
19648
+ referencedRelation: "printers";
19649
+ referencedColumns: ["id"];
19650
+ },
19651
+ {
19652
+ foreignKeyName: "print_werkplekken_print_plek_id_fkey";
19653
+ columns: ["print_plek_id"];
19654
+ isOneToOne: false;
19655
+ referencedRelation: "print_plekken";
19656
+ referencedColumns: ["id"];
19657
+ }
19658
+ ];
19659
+ };
19296
19660
  printer_mappings: {
19297
19661
  Row: {
19298
19662
  created_at: string;
@@ -19400,6 +19764,47 @@ export type Database = {
19400
19764
  }
19401
19765
  ];
19402
19766
  };
19767
+ printer_routes: {
19768
+ Row: {
19769
+ computer_naam: string | null;
19770
+ created_at: string;
19771
+ extern_printer_id: string;
19772
+ geladen_etiket: Json | null;
19773
+ id: string;
19774
+ printer_id: string;
19775
+ prioriteit: number;
19776
+ updated_at: string;
19777
+ };
19778
+ Insert: {
19779
+ computer_naam?: string | null;
19780
+ created_at?: string;
19781
+ extern_printer_id: string;
19782
+ geladen_etiket?: Json | null;
19783
+ id?: string;
19784
+ printer_id: string;
19785
+ prioriteit?: number;
19786
+ updated_at?: string;
19787
+ };
19788
+ Update: {
19789
+ computer_naam?: string | null;
19790
+ created_at?: string;
19791
+ extern_printer_id?: string;
19792
+ geladen_etiket?: Json | null;
19793
+ id?: string;
19794
+ printer_id?: string;
19795
+ prioriteit?: number;
19796
+ updated_at?: string;
19797
+ };
19798
+ Relationships: [
19799
+ {
19800
+ foreignKeyName: "printer_routes_printer_id_fkey";
19801
+ columns: ["printer_id"];
19802
+ isOneToOne: false;
19803
+ referencedRelation: "printers";
19804
+ referencedColumns: ["id"];
19805
+ }
19806
+ ];
19807
+ };
19403
19808
  printers: {
19404
19809
  Row: {
19405
19810
  actief: boolean;
@@ -19409,8 +19814,10 @@ export type Database = {
19409
19814
  driver: string;
19410
19815
  extern_printer_id: string | null;
19411
19816
  formaten_bijgewerkt_op: string | null;
19817
+ geladen_etiket: Json | null;
19412
19818
  id: string;
19413
19819
  ip_adres: string | null;
19820
+ is_virtueel: boolean;
19414
19821
  laatst_gezien: string | null;
19415
19822
  locatie: string;
19416
19823
  merk: string;
@@ -19426,6 +19833,8 @@ export type Database = {
19426
19833
  systeemnaam: string;
19427
19834
  updated_at: string;
19428
19835
  verbinding: Database["public"]["Enums"]["printer_connection"];
19836
+ verborgen: boolean;
19837
+ weergavenaam: string | null;
19429
19838
  };
19430
19839
  Insert: {
19431
19840
  actief?: boolean;
@@ -19435,8 +19844,10 @@ export type Database = {
19435
19844
  driver?: string;
19436
19845
  extern_printer_id?: string | null;
19437
19846
  formaten_bijgewerkt_op?: string | null;
19847
+ geladen_etiket?: Json | null;
19438
19848
  id?: string;
19439
19849
  ip_adres?: string | null;
19850
+ is_virtueel?: boolean;
19440
19851
  laatst_gezien?: string | null;
19441
19852
  locatie?: string;
19442
19853
  merk?: string;
@@ -19452,6 +19863,8 @@ export type Database = {
19452
19863
  systeemnaam?: string;
19453
19864
  updated_at?: string;
19454
19865
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19866
+ verborgen?: boolean;
19867
+ weergavenaam?: string | null;
19455
19868
  };
19456
19869
  Update: {
19457
19870
  actief?: boolean;
@@ -19461,8 +19874,10 @@ export type Database = {
19461
19874
  driver?: string;
19462
19875
  extern_printer_id?: string | null;
19463
19876
  formaten_bijgewerkt_op?: string | null;
19877
+ geladen_etiket?: Json | null;
19464
19878
  id?: string;
19465
19879
  ip_adres?: string | null;
19880
+ is_virtueel?: boolean;
19466
19881
  laatst_gezien?: string | null;
19467
19882
  locatie?: string;
19468
19883
  merk?: string;
@@ -19478,6 +19893,8 @@ export type Database = {
19478
19893
  systeemnaam?: string;
19479
19894
  updated_at?: string;
19480
19895
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19896
+ verborgen?: boolean;
19897
+ weergavenaam?: string | null;
19481
19898
  };
19482
19899
  Relationships: [
19483
19900
  {
@@ -19489,6 +19906,117 @@ export type Database = {
19489
19906
  }
19490
19907
  ];
19491
19908
  };
19909
+ printnode_webhook_koppeling: {
19910
+ Row: {
19911
+ bereikbaar: string | null;
19912
+ created_at: string;
19913
+ fout: string | null;
19914
+ geheim: string | null;
19915
+ gekoppeld_op: string | null;
19916
+ id: number;
19917
+ laatst_ontvangen_op: string | null;
19918
+ laatste_poging_op: string | null;
19919
+ melding: string | null;
19920
+ pn_geslaagd: number | null;
19921
+ pn_geslaagd_vorig: number | null;
19922
+ pn_mislukt: number | null;
19923
+ pn_ontvangen: number | null;
19924
+ pn_opgehaald_op: string | null;
19925
+ pn_url: string | null;
19926
+ pn_weggegooid: number | null;
19927
+ secret_veld: string | null;
19928
+ status: string;
19929
+ updated_at: string;
19930
+ url: string | null;
19931
+ webhook_id: number | null;
19932
+ zelftest_fout: string | null;
19933
+ zelftest_op: string | null;
19934
+ };
19935
+ Insert: {
19936
+ bereikbaar?: string | null;
19937
+ created_at?: string;
19938
+ fout?: string | null;
19939
+ geheim?: string | null;
19940
+ gekoppeld_op?: string | null;
19941
+ id?: number;
19942
+ laatst_ontvangen_op?: string | null;
19943
+ laatste_poging_op?: string | null;
19944
+ melding?: string | null;
19945
+ pn_geslaagd?: number | null;
19946
+ pn_geslaagd_vorig?: number | null;
19947
+ pn_mislukt?: number | null;
19948
+ pn_ontvangen?: number | null;
19949
+ pn_opgehaald_op?: string | null;
19950
+ pn_url?: string | null;
19951
+ pn_weggegooid?: number | null;
19952
+ secret_veld?: string | null;
19953
+ status?: string;
19954
+ updated_at?: string;
19955
+ url?: string | null;
19956
+ webhook_id?: number | null;
19957
+ zelftest_fout?: string | null;
19958
+ zelftest_op?: string | null;
19959
+ };
19960
+ Update: {
19961
+ bereikbaar?: string | null;
19962
+ created_at?: string;
19963
+ fout?: string | null;
19964
+ geheim?: string | null;
19965
+ gekoppeld_op?: string | null;
19966
+ id?: number;
19967
+ laatst_ontvangen_op?: string | null;
19968
+ laatste_poging_op?: string | null;
19969
+ melding?: string | null;
19970
+ pn_geslaagd?: number | null;
19971
+ pn_geslaagd_vorig?: number | null;
19972
+ pn_mislukt?: number | null;
19973
+ pn_ontvangen?: number | null;
19974
+ pn_opgehaald_op?: string | null;
19975
+ pn_url?: string | null;
19976
+ pn_weggegooid?: number | null;
19977
+ secret_veld?: string | null;
19978
+ status?: string;
19979
+ updated_at?: string;
19980
+ url?: string | null;
19981
+ webhook_id?: number | null;
19982
+ zelftest_fout?: string | null;
19983
+ zelftest_op?: string | null;
19984
+ };
19985
+ Relationships: [];
19986
+ };
19987
+ printnode_webhook_meldingen: {
19988
+ Row: {
19989
+ antwoord: Json | null;
19990
+ gematcht: number;
19991
+ http_status: number;
19992
+ id: number;
19993
+ niet_gematcht: string[];
19994
+ ontvangen_op: string;
19995
+ printnode_ids: string[];
19996
+ soorten: string[];
19997
+ };
19998
+ Insert: {
19999
+ antwoord?: Json | null;
20000
+ gematcht?: number;
20001
+ http_status: number;
20002
+ id?: never;
20003
+ niet_gematcht?: string[];
20004
+ ontvangen_op?: string;
20005
+ printnode_ids?: string[];
20006
+ soorten?: string[];
20007
+ };
20008
+ Update: {
20009
+ antwoord?: Json | null;
20010
+ gematcht?: number;
20011
+ http_status?: number;
20012
+ id?: never;
20013
+ niet_gematcht?: string[];
20014
+ ontvangen_op?: string;
20015
+ printnode_ids?: string[];
20016
+ soorten?: string[];
20017
+ };
20018
+ Relationships: [];
20019
+ };
19492
20020
  product_bom_external_items: {
19493
20021
  Row: {
19494
20022
  created_at: string;
@@ -27834,6 +28362,14 @@ export type Database = {
27834
28362
  };
27835
28363
  Returns: number;
27836
28364
  };
28365
+ _jsonb_paden_met_waarde: {
28366
+ Args: {
28367
+ _j: Json;
28368
+ _pad?: string[];
28369
+ _w: string;
28370
+ };
28371
+ Returns: string[][];
28372
+ };
27837
28373
  _migrate_rewrite_stock_key: {
27838
28374
  Args: {
27839
28375
  _from_key: string;
@@ -28625,6 +29161,10 @@ export type Database = {
28625
29161
  Args: never;
28626
29162
  Returns: Json;
28627
29163
  };
29164
+ dashboard_alert_counts_v2: {
29165
+ Args: never;
29166
+ Returns: Json;
29167
+ };
28628
29168
  dashboard_alert_rows: {
28629
29169
  Args: {
28630
29170
  check_id: string;
@@ -28632,6 +29172,17 @@ export type Database = {
28632
29172
  };
28633
29173
  Returns: Json;
28634
29174
  };
29175
+ dashboard_alert_rows_v2: {
29176
+ Args: {
29177
+ check_id: string;
29178
+ row_limit?: number;
29179
+ };
29180
+ Returns: Json;
29181
+ };
29182
+ dashboard_ensure_start_page: {
29183
+ Args: never;
29184
+ Returns: string;
29185
+ };
28635
29186
  dashboard_funnel_betaald: {
28636
29187
  Args: {
28637
29188
  _bedragen: number[];
@@ -28653,6 +29204,19 @@ export type Database = {
28653
29204
  table_name: string;
28654
29205
  }[];
28655
29206
  };
29207
+ dashboard_order_state: {
29208
+ Args: {
29209
+ _order_id: string;
29210
+ };
29211
+ Returns: string;
29212
+ };
29213
+ dashboard_pit_tellingen: {
29214
+ Args: {
29215
+ _mail_connecties?: string[];
29216
+ _vandaag: string;
29217
+ };
29218
+ Returns: Json;
29219
+ };
28656
29220
  dashboard_werkbon_funnel: {
28657
29221
  Args: {
28658
29222
  _periode?: string;
@@ -28980,6 +29544,13 @@ export type Database = {
28980
29544
  stock: number;
28981
29545
  }[];
28982
29546
  };
29547
+ geladen_etiketten: {
29548
+ Args: {
29549
+ _print_plek_id?: string;
29550
+ _werkplek_id?: string;
29551
+ };
29552
+ Returns: Json;
29553
+ };
28983
29554
  get_active_floriday_connection_public: {
28984
29555
  Args: never;
28985
29556
  Returns: {
@@ -29686,6 +30257,13 @@ export type Database = {
29686
30257
  };
29687
30258
  Returns: Json;
29688
30259
  };
30260
+ invoice_register_send: {
30261
+ Args: {
30262
+ _invoice_id: string;
30263
+ _outbox_id: string;
30264
+ };
30265
+ Returns: Json;
30266
+ };
29689
30267
  invoice_resync_concept_from_work_order: {
29690
30268
  Args: {
29691
30269
  _werkbon_id: string;
@@ -29753,6 +30331,19 @@ export type Database = {
29753
30331
  Args: never;
29754
30332
  Returns: boolean;
29755
30333
  };
30334
+ itk_customer_stats: {
30335
+ Args: {
30336
+ _customer_ids: string[];
30337
+ };
30338
+ Returns: {
30339
+ afgerond: number;
30340
+ bezig: number;
30341
+ customer_id: string;
30342
+ klussen: number;
30343
+ omzet_cents: number;
30344
+ open: number;
30345
+ }[];
30346
+ };
29756
30347
  itk_offerte_naar_werkbon: {
29757
30348
  Args: {
29758
30349
  _offerte_id: string;
@@ -29766,6 +30357,16 @@ export type Database = {
29766
30357
  };
29767
30358
  Returns: number;
29768
30359
  };
30360
+ itk_top_customers_by_revenue: {
30361
+ Args: {
30362
+ _limit?: number;
30363
+ };
30364
+ Returns: {
30365
+ customer_id: string;
30366
+ name: string;
30367
+ omzet_cents: number;
30368
+ }[];
30369
+ };
29769
30370
  jwt_has_role: {
29770
30371
  Args: {
29771
30372
  _role: Database["public"]["Enums"]["app_role"];
@@ -29790,10 +30391,27 @@ export type Database = {
29790
30391
  };
29791
30392
  Returns: {
29792
30393
  bestaand: boolean;
30394
+ fout_bericht: string;
30395
+ fout_code: string;
29793
30396
  job_id: string;
30397
+ mislukt: boolean;
29794
30398
  printer_id: string;
30399
+ status: string;
29795
30400
  }[];
29796
30401
  };
30402
+ layout_verwijzing_omzetten: {
30403
+ Args: {
30404
+ _nieuw: string;
30405
+ _oud: string;
30406
+ _rij_id: string;
30407
+ _tabel: string;
30408
+ };
30409
+ Returns: undefined;
30410
+ };
30411
+ layout_verwijzingen: {
30412
+ Args: never;
30413
+ Returns: Json;
30414
+ };
29797
30415
  list_medewerkers: {
29798
30416
  Args: never;
29799
30417
  Returns: {
@@ -29959,6 +30577,20 @@ export type Database = {
29959
30577
  };
29960
30578
  Returns: boolean;
29961
30579
  };
30580
+ logistics_archived_orders: {
30581
+ Args: never;
30582
+ Returns: {
30583
+ archived_at: string;
30584
+ attempts: number;
30585
+ delivery_date: string;
30586
+ last_error: string;
30587
+ order_id: string;
30588
+ order_ref: string;
30589
+ queue_id: string;
30590
+ reason: string;
30591
+ reason_code: string;
30592
+ }[];
30593
+ };
29962
30594
  logistics_backorder_allowed: {
29963
30595
  Args: {
29964
30596
  p_strategy_id?: string;
@@ -30007,6 +30639,13 @@ export type Database = {
30007
30639
  Args: never;
30008
30640
  Returns: Json;
30009
30641
  };
30642
+ logistics_brief_transport: {
30643
+ Args: {
30644
+ p_cart_id?: string;
30645
+ p_order_id: string;
30646
+ };
30647
+ Returns: Json;
30648
+ };
30010
30649
  logistics_buffer_criteria: {
30011
30650
  Args: {
30012
30651
  p_settings: Json;
@@ -30253,6 +30892,12 @@ export type Database = {
30253
30892
  };
30254
30893
  Returns: Json;
30255
30894
  };
30895
+ logistics_cart_sticker_state: {
30896
+ Args: {
30897
+ p_cart_id: string;
30898
+ };
30899
+ Returns: Json;
30900
+ };
30256
30901
  logistics_cart_units: {
30257
30902
  Args: {
30258
30903
  p_from?: string;
@@ -30854,6 +31499,12 @@ export type Database = {
30854
31499
  Args: never;
30855
31500
  Returns: Json;
30856
31501
  };
31502
+ logistics_floriday_layout_id: {
31503
+ Args: {
31504
+ p_documenttype: string;
31505
+ };
31506
+ Returns: Json;
31507
+ };
30857
31508
  logistics_floriday_log_refusal: {
30858
31509
  Args: {
30859
31510
  _action?: string;
@@ -31085,6 +31736,12 @@ export type Database = {
31085
31736
  };
31086
31737
  Returns: string[];
31087
31738
  };
31739
+ logistics_order_definitively_blocked: {
31740
+ Args: {
31741
+ p_order_id: string;
31742
+ };
31743
+ Returns: Json;
31744
+ };
31088
31745
  logistics_order_documents_ready: {
31089
31746
  Args: {
31090
31747
  p_order_ref: string;
@@ -31153,6 +31810,12 @@ export type Database = {
31153
31810
  };
31154
31811
  Returns: boolean;
31155
31812
  };
31813
+ logistics_order_is_archived: {
31814
+ Args: {
31815
+ p_order_id: string;
31816
+ };
31817
+ Returns: Json;
31818
+ };
31156
31819
  logistics_order_is_backlog: {
31157
31820
  Args: {
31158
31821
  p_order_id: string;
@@ -31263,6 +31926,12 @@ export type Database = {
31263
31926
  };
31264
31927
  Returns: boolean;
31265
31928
  };
31929
+ logistics_order_sticker_meldingen: {
31930
+ Args: {
31931
+ p_order_id: string;
31932
+ };
31933
+ Returns: Json;
31934
+ };
31266
31935
  logistics_packing_autofix: {
31267
31936
  Args: {
31268
31937
  p_limit?: number;
@@ -31417,6 +32086,14 @@ export type Database = {
31417
32086
  order_id: string;
31418
32087
  }[];
31419
32088
  };
32089
+ logistics_plan_close_claim: {
32090
+ Args: {
32091
+ p_id: string;
32092
+ p_reason: string;
32093
+ p_reason_code?: string;
32094
+ };
32095
+ Returns: boolean;
32096
+ };
31420
32097
  logistics_plan_coverage_check: {
31421
32098
  Args: {
31422
32099
  p_limit?: number;
@@ -31472,6 +32149,10 @@ export type Database = {
31472
32149
  };
31473
32150
  Returns: number;
31474
32151
  };
32152
+ logistics_plan_housekeeping: {
32153
+ Args: never;
32154
+ Returns: Json;
32155
+ };
31475
32156
  logistics_plan_impact_orders: {
31476
32157
  Args: {
31477
32158
  p_order_id: string;
@@ -31583,6 +32264,12 @@ export type Database = {
31583
32264
  Args: never;
31584
32265
  Returns: number;
31585
32266
  };
32267
+ logistics_plan_unarchive: {
32268
+ Args: {
32269
+ p_order_ids: string[];
32270
+ };
32271
+ Returns: number;
32272
+ };
31586
32273
  logistics_plan_wachttijd: {
31587
32274
  Args: {
31588
32275
  p_order_id: string;
@@ -31636,6 +32323,12 @@ export type Database = {
31636
32323
  };
31637
32324
  Returns: Json;
31638
32325
  };
32326
+ logistics_print_job_state: {
32327
+ Args: {
32328
+ p_job_id: string;
32329
+ };
32330
+ Returns: string;
32331
+ };
31639
32332
  logistics_print_via_layout: {
31640
32333
  Args: {
31641
32334
  _documentnaam: string;
@@ -32131,6 +32824,13 @@ export type Database = {
32131
32824
  };
32132
32825
  Returns: undefined;
32133
32826
  };
32827
+ logistics_slip_note_hold_layout: {
32828
+ Args: {
32829
+ _id: string;
32830
+ _reason: string;
32831
+ };
32832
+ Returns: undefined;
32833
+ };
32134
32834
  logistics_slip_note_keep_waiting: {
32135
32835
  Args: {
32136
32836
  _class?: string;
@@ -32139,16 +32839,64 @@ export type Database = {
32139
32839
  };
32140
32840
  Returns: undefined;
32141
32841
  };
32842
+ logistics_slip_note_release_layout: {
32843
+ Args: never;
32844
+ Returns: number;
32845
+ };
32142
32846
  logistics_slip_note_retry: {
32143
32847
  Args: {
32144
32848
  _id: string;
32145
32849
  };
32146
32850
  Returns: Json;
32147
32851
  };
32852
+ logistics_sticker_cart_plek: {
32853
+ Args: {
32854
+ _cart: string;
32855
+ _fallback: string;
32856
+ };
32857
+ Returns: string;
32858
+ };
32148
32859
  logistics_sticker_follows_slip: {
32149
32860
  Args: never;
32150
32861
  Returns: boolean;
32151
32862
  };
32863
+ logistics_sticker_moment: {
32864
+ Args: {
32865
+ _cart: string;
32866
+ _hours: number;
32867
+ _order_number: string;
32868
+ _release: string;
32869
+ };
32870
+ Returns: boolean;
32871
+ };
32872
+ logistics_sticker_parse_size: {
32873
+ Args: {
32874
+ p: Json;
32875
+ };
32876
+ Returns: number[];
32877
+ };
32878
+ logistics_sticker_sync: {
32879
+ Args: {
32880
+ p_limit?: number;
32881
+ };
32882
+ Returns: Json;
32883
+ };
32884
+ logistics_sticker_upsert: {
32885
+ Args: {
32886
+ _bron: string;
32887
+ _cart: string;
32888
+ _fo: string;
32889
+ _kopieen: number;
32890
+ _order: string;
32891
+ _order_number: string;
32892
+ _plek: string;
32893
+ _reden: string;
32894
+ _size: number[];
32895
+ _soort: string;
32896
+ _status: string;
32897
+ };
32898
+ Returns: undefined;
32899
+ };
32152
32900
  logistics_subtract_working_minutes: {
32153
32901
  Args: {
32154
32902
  p_deadline: string;
@@ -33341,6 +34089,13 @@ export type Database = {
33341
34089
  };
33342
34090
  Returns: Json;
33343
34091
  };
34092
+ pickstation_cart_sticker_state: {
34093
+ Args: {
34094
+ p_cart_id: string;
34095
+ p_slug: string;
34096
+ };
34097
+ Returns: Json;
34098
+ };
33344
34099
  pickstation_get_orders_raw: {
33345
34100
  Args: never;
33346
34101
  Returns: Json;
@@ -33363,6 +34118,13 @@ export type Database = {
33363
34118
  };
33364
34119
  Returns: undefined;
33365
34120
  };
34121
+ pickstation_order_sticker_meldingen: {
34122
+ Args: {
34123
+ p_order_id: string;
34124
+ p_slug: string;
34125
+ };
34126
+ Returns: Json;
34127
+ };
33366
34128
  pickstation_resolve_delivery_orders: {
33367
34129
  Args: {
33368
34130
  p_sales_order_ids: string[];
@@ -33428,6 +34190,12 @@ export type Database = {
33428
34190
  };
33429
34191
  Returns: undefined;
33430
34192
  };
34193
+ planning_cleanup_old_logs: {
34194
+ Args: {
34195
+ _keep_days?: number;
34196
+ };
34197
+ Returns: number;
34198
+ };
33431
34199
  planning_html_escape: {
33432
34200
  Args: {
33433
34201
  t: string;
@@ -33494,6 +34262,23 @@ export type Database = {
33494
34262
  };
33495
34263
  Returns: string;
33496
34264
  };
34265
+ print_formaat_klasse: {
34266
+ Args: {
34267
+ _code: string;
34268
+ };
34269
+ Returns: string;
34270
+ };
34271
+ print_job_status_uitgebreid: {
34272
+ Args: {
34273
+ _job_id: string;
34274
+ };
34275
+ Returns: {
34276
+ fout_bericht: string;
34277
+ fout_code: string;
34278
+ mislukt: boolean;
34279
+ status: string;
34280
+ }[];
34281
+ };
33497
34282
  print_preview_toestaan: {
33498
34283
  Args: {
33499
34284
  _max?: number;
@@ -33512,6 +34297,14 @@ export type Database = {
33512
34297
  };
33513
34298
  Returns: undefined;
33514
34299
  };
34300
+ print_werkplek_keuze: {
34301
+ Args: {
34302
+ _documenttype: string;
34303
+ _klasse: string;
34304
+ _werkplek_id: string;
34305
+ };
34306
+ Returns: Json;
34307
+ };
33515
34308
  printer_gebruik: {
33516
34309
  Args: {
33517
34310
  _printer: string;
@@ -33525,6 +34318,7 @@ export type Database = {
33525
34318
  _papierformaat?: string;
33526
34319
  _print_plek_id?: string;
33527
34320
  _werkplek?: string;
34321
+ _werkplek_id?: string;
33528
34322
  };
33529
34323
  Returns: Json;
33530
34324
  };
@@ -34836,6 +35630,10 @@ export type Database = {
34836
35630
  };
34837
35631
  Returns: undefined;
34838
35632
  };
35633
+ uren_cao_settings_zorg: {
35634
+ Args: never;
35635
+ Returns: string;
35636
+ };
34839
35637
  uren_collega_agenda: {
34840
35638
  Args: {
34841
35639
  _monteur: string;
@@ -34996,10 +35794,22 @@ export type Database = {
34996
35794
  Args: never;
34997
35795
  Returns: number;
34998
35796
  };
35797
+ uren_module_gezondheid: {
35798
+ Args: never;
35799
+ Returns: Json;
35800
+ };
35801
+ uren_module_status: {
35802
+ Args: never;
35803
+ Returns: Json;
35804
+ };
34999
35805
  uren_my_monteur_id: {
35000
35806
  Args: never;
35001
35807
  Returns: string;
35002
35808
  };
35809
+ uren_opschonen_indien_nodig: {
35810
+ Args: never;
35811
+ Returns: boolean;
35812
+ };
35003
35813
  uren_overuren_indienen: {
35004
35814
  Args: {
35005
35815
  _datum: string;
@@ -35403,6 +36213,16 @@ export type Database = {
35403
36213
  total_minutes: number;
35404
36214
  }[];
35405
36215
  };
36216
+ werkplek_omzetting_toepassen: {
36217
+ Args: {
36218
+ _werkplekken: Json;
36219
+ };
36220
+ Returns: Json;
36221
+ };
36222
+ werkplek_omzetting_voorstel: {
36223
+ Args: never;
36224
+ Returns: Json;
36225
+ };
35406
36226
  wo_boek_standby_uren: {
35407
36227
  Args: {
35408
36228
  _datum: string;