@flowselections/pick-schermen-kwekers 1.0.34 → 1.0.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +0 -1
  2. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  3. package/dist-lib/components/pick/PickScherm.js +9 -3
  4. package/dist-lib/components/pick/QueueTable.d.ts.map +1 -1
  5. package/dist-lib/components/pick/QueueTable.js +14 -1
  6. package/dist-lib/components/pick/StickerState.d.ts +11 -0
  7. package/dist-lib/components/pick/StickerState.d.ts.map +1 -0
  8. package/dist-lib/components/pick/StickerState.js +45 -0
  9. package/dist-lib/index.d.ts +2 -0
  10. package/dist-lib/index.d.ts.map +1 -1
  11. package/dist-lib/index.js +2 -0
  12. package/dist-lib/integrations/supabase/types.d.ts +941 -0
  13. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  14. package/dist-lib/lib/__tests__/pickSentElsewhere.test.d.ts +2 -0
  15. package/dist-lib/lib/__tests__/pickSentElsewhere.test.d.ts.map +1 -0
  16. package/dist-lib/lib/__tests__/pickSentElsewhere.test.js +30 -0
  17. package/dist-lib/lib/__tests__/pickStickers.test.d.ts +2 -0
  18. package/dist-lib/lib/__tests__/pickStickers.test.d.ts.map +1 -0
  19. package/dist-lib/lib/__tests__/pickStickers.test.js +25 -0
  20. package/dist-lib/lib/__tests__/pickStickers138.test.d.ts +2 -0
  21. package/dist-lib/lib/__tests__/pickStickers138.test.d.ts.map +1 -0
  22. package/dist-lib/lib/__tests__/pickStickers138.test.js +32 -0
  23. package/dist-lib/lib/pickApi.d.ts +12 -0
  24. package/dist-lib/lib/pickApi.d.ts.map +1 -1
  25. package/dist-lib/lib/pickApi.js +16 -0
  26. package/dist-lib/lib/pickCartResults.d.ts +6 -1
  27. package/dist-lib/lib/pickCartResults.d.ts.map +1 -1
  28. package/dist-lib/lib/pickCartResults.js +24 -0
  29. package/dist-lib/lib/pickRowState.d.ts +1 -1
  30. package/dist-lib/lib/pickRowState.d.ts.map +1 -1
  31. package/dist-lib/lib/pickRowState.js +1 -1
  32. package/dist-lib/lib/pickStickers.d.ts +41 -0
  33. package/dist-lib/lib/pickStickers.d.ts.map +1 -0
  34. package/dist-lib/lib/pickStickers.js +111 -0
  35. package/dist-lib/lib/pickTypes.js +2 -2
  36. package/package.json +2 -2
@@ -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;
@@ -7049,6 +7061,59 @@ export type Database = {
7049
7061
  }
7050
7062
  ];
7051
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
+ };
7052
7117
  floriday_customer_stickers_cache: {
7053
7118
  Row: {
7054
7119
  connection_id: string;
@@ -7376,6 +7441,59 @@ export type Database = {
7376
7441
  }
7377
7442
  ];
7378
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
+ };
7379
7497
  floriday_fulfillment_orders_cache: {
7380
7498
  Row: {
7381
7499
  auction_date: string | null;
@@ -12572,6 +12690,27 @@ export type Database = {
12572
12690
  };
12573
12691
  Relationships: [];
12574
12692
  };
12693
+ logistics_order_pick_day: {
12694
+ Row: {
12695
+ order_id: string;
12696
+ pick_date: string;
12697
+ pinned_at: string;
12698
+ source: string;
12699
+ };
12700
+ Insert: {
12701
+ order_id: string;
12702
+ pick_date: string;
12703
+ pinned_at?: string;
12704
+ source?: string;
12705
+ };
12706
+ Update: {
12707
+ order_id?: string;
12708
+ pick_date?: string;
12709
+ pinned_at?: string;
12710
+ source?: string;
12711
+ };
12712
+ Relationships: [];
12713
+ };
12575
12714
  logistics_order_plan_exclusion: {
12576
12715
  Row: {
12577
12716
  created_at: string;
@@ -12598,6 +12737,54 @@ export type Database = {
12598
12737
  }
12599
12738
  ];
12600
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
+ };
12601
12788
  logistics_packing_deviations: {
12602
12789
  Row: {
12603
12790
  auto_fixed_at: string | null;
@@ -13427,6 +13614,78 @@ export type Database = {
13427
13614
  };
13428
13615
  Relationships: [];
13429
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
+ };
13430
13689
  logistics_stock_alerts: {
13431
13690
  Row: {
13432
13691
  created_at: string;
@@ -13443,6 +13702,7 @@ export type Database = {
13443
13702
  order_id: string | null;
13444
13703
  order_ref: string;
13445
13704
  priority: number;
13705
+ resolution_reason: string | null;
13446
13706
  resolved_at: string | null;
13447
13707
  resolved_by: string | null;
13448
13708
  shortages: Json;
@@ -13465,6 +13725,7 @@ export type Database = {
13465
13725
  order_id?: string | null;
13466
13726
  order_ref: string;
13467
13727
  priority?: number;
13728
+ resolution_reason?: string | null;
13468
13729
  resolved_at?: string | null;
13469
13730
  resolved_by?: string | null;
13470
13731
  shortages?: Json;
@@ -13487,6 +13748,7 @@ export type Database = {
13487
13748
  order_id?: string | null;
13488
13749
  order_ref?: string;
13489
13750
  priority?: number;
13751
+ resolution_reason?: string | null;
13490
13752
  resolved_at?: string | null;
13491
13753
  resolved_by?: string | null;
13492
13754
  shortages?: Json;
@@ -18640,6 +18902,36 @@ export type Database = {
18640
18902
  };
18641
18903
  Relationships: [];
18642
18904
  };
18905
+ print_computer_status: {
18906
+ Row: {
18907
+ bijgewerkt_op: string;
18908
+ created_at: string;
18909
+ extern_computer_id: string;
18910
+ naam: string | null;
18911
+ status: string | null;
18912
+ updated_at: string;
18913
+ verbonden: boolean;
18914
+ };
18915
+ Insert: {
18916
+ bijgewerkt_op?: string;
18917
+ created_at?: string;
18918
+ extern_computer_id: string;
18919
+ naam?: string | null;
18920
+ status?: string | null;
18921
+ updated_at?: string;
18922
+ verbonden?: boolean;
18923
+ };
18924
+ Update: {
18925
+ bijgewerkt_op?: string;
18926
+ created_at?: string;
18927
+ extern_computer_id?: string;
18928
+ naam?: string | null;
18929
+ status?: string | null;
18930
+ updated_at?: string;
18931
+ verbonden?: boolean;
18932
+ };
18933
+ Relationships: [];
18934
+ };
18643
18935
  print_dedupe_events: {
18644
18936
  Row: {
18645
18937
  bestaande_job_id: string | null;
@@ -18673,6 +18965,35 @@ export type Database = {
18673
18965
  };
18674
18966
  Relationships: [];
18675
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
+ };
18676
18997
  print_genegeerde_computers: {
18677
18998
  Row: {
18678
18999
  computer_naam: string;
@@ -18762,16 +19083,21 @@ export type Database = {
18762
19083
  lokale_pdf_print_plek_id: string | null;
18763
19084
  lokale_pdf_status: string | null;
18764
19085
  opgepakt_op: string | null;
19086
+ origineel_sleutel: string | null;
18765
19087
  paginas: number;
18766
19088
  payload: Json;
18767
19089
  pdf_base64: string | null;
18768
19090
  pdf_url: string | null;
18769
19091
  pogingen: number;
18770
19092
  printer_id: string | null;
19093
+ printnode_bericht: string | null;
19094
+ printnode_status: string | null;
19095
+ printnode_status_op: string | null;
18771
19096
  render_html: string | null;
18772
19097
  resultaat_pdf_base64: string | null;
18773
19098
  status: Database["public"]["Enums"]["print_job_status"];
18774
19099
  updated_at: string;
19100
+ verloopt_na_s: number | null;
18775
19101
  verwerkingsfase: string;
18776
19102
  volgende_poging: string | null;
18777
19103
  voltooid_op: string | null;
@@ -18811,16 +19137,21 @@ export type Database = {
18811
19137
  lokale_pdf_print_plek_id?: string | null;
18812
19138
  lokale_pdf_status?: string | null;
18813
19139
  opgepakt_op?: string | null;
19140
+ origineel_sleutel?: string | null;
18814
19141
  paginas?: number;
18815
19142
  payload?: Json;
18816
19143
  pdf_base64?: string | null;
18817
19144
  pdf_url?: string | null;
18818
19145
  pogingen?: number;
18819
19146
  printer_id?: string | null;
19147
+ printnode_bericht?: string | null;
19148
+ printnode_status?: string | null;
19149
+ printnode_status_op?: string | null;
18820
19150
  render_html?: string | null;
18821
19151
  resultaat_pdf_base64?: string | null;
18822
19152
  status?: Database["public"]["Enums"]["print_job_status"];
18823
19153
  updated_at?: string;
19154
+ verloopt_na_s?: number | null;
18824
19155
  verwerkingsfase?: string;
18825
19156
  volgende_poging?: string | null;
18826
19157
  voltooid_op?: string | null;
@@ -18860,16 +19191,21 @@ export type Database = {
18860
19191
  lokale_pdf_print_plek_id?: string | null;
18861
19192
  lokale_pdf_status?: string | null;
18862
19193
  opgepakt_op?: string | null;
19194
+ origineel_sleutel?: string | null;
18863
19195
  paginas?: number;
18864
19196
  payload?: Json;
18865
19197
  pdf_base64?: string | null;
18866
19198
  pdf_url?: string | null;
18867
19199
  pogingen?: number;
18868
19200
  printer_id?: string | null;
19201
+ printnode_bericht?: string | null;
19202
+ printnode_status?: string | null;
19203
+ printnode_status_op?: string | null;
18869
19204
  render_html?: string | null;
18870
19205
  resultaat_pdf_base64?: string | null;
18871
19206
  status?: Database["public"]["Enums"]["print_job_status"];
18872
19207
  updated_at?: string;
19208
+ verloopt_na_s?: number | null;
18873
19209
  verwerkingsfase?: string;
18874
19210
  volgende_poging?: string | null;
18875
19211
  voltooid_op?: string | null;
@@ -19224,6 +19560,103 @@ export type Database = {
19224
19560
  }
19225
19561
  ];
19226
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
+ };
19227
19660
  printer_mappings: {
19228
19661
  Row: {
19229
19662
  created_at: string;
@@ -19331,6 +19764,47 @@ export type Database = {
19331
19764
  }
19332
19765
  ];
19333
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
+ };
19334
19808
  printers: {
19335
19809
  Row: {
19336
19810
  actief: boolean;
@@ -19340,8 +19814,10 @@ export type Database = {
19340
19814
  driver: string;
19341
19815
  extern_printer_id: string | null;
19342
19816
  formaten_bijgewerkt_op: string | null;
19817
+ geladen_etiket: Json | null;
19343
19818
  id: string;
19344
19819
  ip_adres: string | null;
19820
+ is_virtueel: boolean;
19345
19821
  laatst_gezien: string | null;
19346
19822
  locatie: string;
19347
19823
  merk: string;
@@ -19357,6 +19833,8 @@ export type Database = {
19357
19833
  systeemnaam: string;
19358
19834
  updated_at: string;
19359
19835
  verbinding: Database["public"]["Enums"]["printer_connection"];
19836
+ verborgen: boolean;
19837
+ weergavenaam: string | null;
19360
19838
  };
19361
19839
  Insert: {
19362
19840
  actief?: boolean;
@@ -19366,8 +19844,10 @@ export type Database = {
19366
19844
  driver?: string;
19367
19845
  extern_printer_id?: string | null;
19368
19846
  formaten_bijgewerkt_op?: string | null;
19847
+ geladen_etiket?: Json | null;
19369
19848
  id?: string;
19370
19849
  ip_adres?: string | null;
19850
+ is_virtueel?: boolean;
19371
19851
  laatst_gezien?: string | null;
19372
19852
  locatie?: string;
19373
19853
  merk?: string;
@@ -19383,6 +19863,8 @@ export type Database = {
19383
19863
  systeemnaam?: string;
19384
19864
  updated_at?: string;
19385
19865
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19866
+ verborgen?: boolean;
19867
+ weergavenaam?: string | null;
19386
19868
  };
19387
19869
  Update: {
19388
19870
  actief?: boolean;
@@ -19392,8 +19874,10 @@ export type Database = {
19392
19874
  driver?: string;
19393
19875
  extern_printer_id?: string | null;
19394
19876
  formaten_bijgewerkt_op?: string | null;
19877
+ geladen_etiket?: Json | null;
19395
19878
  id?: string;
19396
19879
  ip_adres?: string | null;
19880
+ is_virtueel?: boolean;
19397
19881
  laatst_gezien?: string | null;
19398
19882
  locatie?: string;
19399
19883
  merk?: string;
@@ -19409,6 +19893,8 @@ export type Database = {
19409
19893
  systeemnaam?: string;
19410
19894
  updated_at?: string;
19411
19895
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19896
+ verborgen?: boolean;
19897
+ weergavenaam?: string | null;
19412
19898
  };
19413
19899
  Relationships: [
19414
19900
  {
@@ -19420,6 +19906,117 @@ export type Database = {
19420
19906
  }
19421
19907
  ];
19422
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
+ };
19423
20020
  product_bom_external_items: {
19424
20021
  Row: {
19425
20022
  created_at: string;
@@ -26394,6 +26991,7 @@ export type Database = {
26394
26991
  created_by: string;
26395
26992
  customer_id: string | null;
26396
26993
  id: string;
26994
+ offerte_id: string | null;
26397
26995
  payload: Json;
26398
26996
  reden: string | null;
26399
26997
  status: string;
@@ -26409,6 +27007,7 @@ export type Database = {
26409
27007
  created_by?: string;
26410
27008
  customer_id?: string | null;
26411
27009
  id?: string;
27010
+ offerte_id?: string | null;
26412
27011
  payload?: Json;
26413
27012
  reden?: string | null;
26414
27013
  status?: string;
@@ -26424,6 +27023,7 @@ export type Database = {
26424
27023
  created_by?: string;
26425
27024
  customer_id?: string | null;
26426
27025
  id?: string;
27026
+ offerte_id?: string | null;
26427
27027
  payload?: Json;
26428
27028
  reden?: string | null;
26429
27029
  status?: string;
@@ -27762,6 +28362,14 @@ export type Database = {
27762
28362
  };
27763
28363
  Returns: number;
27764
28364
  };
28365
+ _jsonb_paden_met_waarde: {
28366
+ Args: {
28367
+ _j: Json;
28368
+ _pad?: string[];
28369
+ _w: string;
28370
+ };
28371
+ Returns: string[][];
28372
+ };
27765
28373
  _migrate_rewrite_stock_key: {
27766
28374
  Args: {
27767
28375
  _from_key: string;
@@ -28026,16 +28634,21 @@ export type Database = {
28026
28634
  lokale_pdf_print_plek_id: string | null;
28027
28635
  lokale_pdf_status: string | null;
28028
28636
  opgepakt_op: string | null;
28637
+ origineel_sleutel: string | null;
28029
28638
  paginas: number;
28030
28639
  payload: Json;
28031
28640
  pdf_base64: string | null;
28032
28641
  pdf_url: string | null;
28033
28642
  pogingen: number;
28034
28643
  printer_id: string | null;
28644
+ printnode_bericht: string | null;
28645
+ printnode_status: string | null;
28646
+ printnode_status_op: string | null;
28035
28647
  render_html: string | null;
28036
28648
  resultaat_pdf_base64: string | null;
28037
28649
  status: Database["public"]["Enums"]["print_job_status"];
28038
28650
  updated_at: string;
28651
+ verloopt_na_s: number | null;
28039
28652
  verwerkingsfase: string;
28040
28653
  volgende_poging: string | null;
28041
28654
  voltooid_op: string | null;
@@ -28087,6 +28700,7 @@ export type Database = {
28087
28700
  next_attempt_at: string;
28088
28701
  number_of_pieces: number;
28089
28702
  price_note: string | null;
28703
+ price_previous: number | null;
28090
28704
  price_sent: number | null;
28091
28705
  price_status: string | null;
28092
28706
  product_id: string | null;
@@ -28216,16 +28830,21 @@ export type Database = {
28216
28830
  lokale_pdf_print_plek_id: string | null;
28217
28831
  lokale_pdf_status: string | null;
28218
28832
  opgepakt_op: string | null;
28833
+ origineel_sleutel: string | null;
28219
28834
  paginas: number;
28220
28835
  payload: Json;
28221
28836
  pdf_base64: string | null;
28222
28837
  pdf_url: string | null;
28223
28838
  pogingen: number;
28224
28839
  printer_id: string | null;
28840
+ printnode_bericht: string | null;
28841
+ printnode_status: string | null;
28842
+ printnode_status_op: string | null;
28225
28843
  render_html: string | null;
28226
28844
  resultaat_pdf_base64: string | null;
28227
28845
  status: Database["public"]["Enums"]["print_job_status"];
28228
28846
  updated_at: string;
28847
+ verloopt_na_s: number | null;
28229
28848
  verwerkingsfase: string;
28230
28849
  volgende_poging: string | null;
28231
28850
  voltooid_op: string | null;
@@ -28277,16 +28896,21 @@ export type Database = {
28277
28896
  lokale_pdf_print_plek_id: string | null;
28278
28897
  lokale_pdf_status: string | null;
28279
28898
  opgepakt_op: string | null;
28899
+ origineel_sleutel: string | null;
28280
28900
  paginas: number;
28281
28901
  payload: Json;
28282
28902
  pdf_base64: string | null;
28283
28903
  pdf_url: string | null;
28284
28904
  pogingen: number;
28285
28905
  printer_id: string | null;
28906
+ printnode_bericht: string | null;
28907
+ printnode_status: string | null;
28908
+ printnode_status_op: string | null;
28286
28909
  render_html: string | null;
28287
28910
  resultaat_pdf_base64: string | null;
28288
28911
  status: Database["public"]["Enums"]["print_job_status"];
28289
28912
  updated_at: string;
28913
+ verloopt_na_s: number | null;
28290
28914
  verwerkingsfase: string;
28291
28915
  volgende_poging: string | null;
28292
28916
  voltooid_op: string | null;
@@ -28565,6 +29189,13 @@ export type Database = {
28565
29189
  table_name: string;
28566
29190
  }[];
28567
29191
  };
29192
+ dashboard_pit_tellingen: {
29193
+ Args: {
29194
+ _mail_connecties?: string[];
29195
+ _vandaag: string;
29196
+ };
29197
+ Returns: Json;
29198
+ };
28568
29199
  dashboard_werkbon_funnel: {
28569
29200
  Args: {
28570
29201
  _periode?: string;
@@ -28892,6 +29523,13 @@ export type Database = {
28892
29523
  stock: number;
28893
29524
  }[];
28894
29525
  };
29526
+ geladen_etiketten: {
29527
+ Args: {
29528
+ _print_plek_id?: string;
29529
+ _werkplek_id?: string;
29530
+ };
29531
+ Returns: Json;
29532
+ };
28895
29533
  get_active_floriday_connection_public: {
28896
29534
  Args: never;
28897
29535
  Returns: {
@@ -29598,6 +30236,19 @@ export type Database = {
29598
30236
  };
29599
30237
  Returns: Json;
29600
30238
  };
30239
+ invoice_register_send: {
30240
+ Args: {
30241
+ _invoice_id: string;
30242
+ _outbox_id: string;
30243
+ };
30244
+ Returns: Json;
30245
+ };
30246
+ invoice_resync_concept_from_work_order: {
30247
+ Args: {
30248
+ _werkbon_id: string;
30249
+ };
30250
+ Returns: undefined;
30251
+ };
29601
30252
  invoice_save_branding_settings: {
29602
30253
  Args: {
29603
30254
  _payload: Json;
@@ -29659,6 +30310,19 @@ export type Database = {
29659
30310
  Args: never;
29660
30311
  Returns: boolean;
29661
30312
  };
30313
+ itk_customer_stats: {
30314
+ Args: {
30315
+ _customer_ids: string[];
30316
+ };
30317
+ Returns: {
30318
+ afgerond: number;
30319
+ bezig: number;
30320
+ customer_id: string;
30321
+ klussen: number;
30322
+ omzet_cents: number;
30323
+ open: number;
30324
+ }[];
30325
+ };
29662
30326
  itk_offerte_naar_werkbon: {
29663
30327
  Args: {
29664
30328
  _offerte_id: string;
@@ -29672,6 +30336,16 @@ export type Database = {
29672
30336
  };
29673
30337
  Returns: number;
29674
30338
  };
30339
+ itk_top_customers_by_revenue: {
30340
+ Args: {
30341
+ _limit?: number;
30342
+ };
30343
+ Returns: {
30344
+ customer_id: string;
30345
+ name: string;
30346
+ omzet_cents: number;
30347
+ }[];
30348
+ };
29675
30349
  jwt_has_role: {
29676
30350
  Args: {
29677
30351
  _role: Database["public"]["Enums"]["app_role"];
@@ -29687,6 +30361,7 @@ export type Database = {
29687
30361
  _is_herprint?: boolean;
29688
30362
  _kopieen?: number;
29689
30363
  _layout_id?: string;
30364
+ _mislukt_reden?: string;
29690
30365
  _payload?: Json;
29691
30366
  _pdf_base64?: string;
29692
30367
  _pdf_url?: string;
@@ -29695,10 +30370,27 @@ export type Database = {
29695
30370
  };
29696
30371
  Returns: {
29697
30372
  bestaand: boolean;
30373
+ fout_bericht: string;
30374
+ fout_code: string;
29698
30375
  job_id: string;
30376
+ mislukt: boolean;
29699
30377
  printer_id: string;
30378
+ status: string;
29700
30379
  }[];
29701
30380
  };
30381
+ layout_verwijzing_omzetten: {
30382
+ Args: {
30383
+ _nieuw: string;
30384
+ _oud: string;
30385
+ _rij_id: string;
30386
+ _tabel: string;
30387
+ };
30388
+ Returns: undefined;
30389
+ };
30390
+ layout_verwijzingen: {
30391
+ Args: never;
30392
+ Returns: Json;
30393
+ };
29702
30394
  list_medewerkers: {
29703
30395
  Args: never;
29704
30396
  Returns: {
@@ -29804,6 +30496,12 @@ export type Database = {
29804
30496
  };
29805
30497
  Returns: string;
29806
30498
  };
30499
+ logistics_afhandeling_fulfillment_order: {
30500
+ Args: {
30501
+ _order_id: string;
30502
+ };
30503
+ Returns: Json;
30504
+ };
29807
30505
  logistics_allocation_check_changes: {
29808
30506
  Args: {
29809
30507
  p_order_item_ids?: string[];
@@ -29858,6 +30556,20 @@ export type Database = {
29858
30556
  };
29859
30557
  Returns: boolean;
29860
30558
  };
30559
+ logistics_archived_orders: {
30560
+ Args: never;
30561
+ Returns: {
30562
+ archived_at: string;
30563
+ attempts: number;
30564
+ delivery_date: string;
30565
+ last_error: string;
30566
+ order_id: string;
30567
+ order_ref: string;
30568
+ queue_id: string;
30569
+ reason: string;
30570
+ reason_code: string;
30571
+ }[];
30572
+ };
29861
30573
  logistics_backorder_allowed: {
29862
30574
  Args: {
29863
30575
  p_strategy_id?: string;
@@ -29906,6 +30618,13 @@ export type Database = {
29906
30618
  Args: never;
29907
30619
  Returns: Json;
29908
30620
  };
30621
+ logistics_brief_transport: {
30622
+ Args: {
30623
+ p_cart_id?: string;
30624
+ p_order_id: string;
30625
+ };
30626
+ Returns: Json;
30627
+ };
29909
30628
  logistics_buffer_criteria: {
29910
30629
  Args: {
29911
30630
  p_settings: Json;
@@ -30042,6 +30761,12 @@ export type Database = {
30042
30761
  };
30043
30762
  Returns: boolean;
30044
30763
  };
30764
+ logistics_cart_ids_frozen: {
30765
+ Args: {
30766
+ p_cart_ids: string[];
30767
+ };
30768
+ Returns: string[];
30769
+ };
30045
30770
  logistics_cart_index: {
30046
30771
  Args: {
30047
30772
  p_from?: string;
@@ -30068,6 +30793,12 @@ export type Database = {
30068
30793
  task_status: string;
30069
30794
  }[];
30070
30795
  };
30796
+ logistics_cart_is_frozen: {
30797
+ Args: {
30798
+ p_cart_id: string;
30799
+ };
30800
+ Returns: boolean;
30801
+ };
30071
30802
  logistics_cart_is_full: {
30072
30803
  Args: {
30073
30804
  p_cart_id: string;
@@ -30140,6 +30871,12 @@ export type Database = {
30140
30871
  };
30141
30872
  Returns: Json;
30142
30873
  };
30874
+ logistics_cart_sticker_state: {
30875
+ Args: {
30876
+ p_cart_id: string;
30877
+ };
30878
+ Returns: Json;
30879
+ };
30143
30880
  logistics_cart_units: {
30144
30881
  Args: {
30145
30882
  p_from?: string;
@@ -30741,6 +31478,12 @@ export type Database = {
30741
31478
  Args: never;
30742
31479
  Returns: Json;
30743
31480
  };
31481
+ logistics_floriday_layout_id: {
31482
+ Args: {
31483
+ p_documenttype: string;
31484
+ };
31485
+ Returns: Json;
31486
+ };
30744
31487
  logistics_floriday_log_refusal: {
30745
31488
  Args: {
30746
31489
  _action?: string;
@@ -30972,6 +31715,12 @@ export type Database = {
30972
31715
  };
30973
31716
  Returns: string[];
30974
31717
  };
31718
+ logistics_order_definitively_blocked: {
31719
+ Args: {
31720
+ p_order_id: string;
31721
+ };
31722
+ Returns: Json;
31723
+ };
30975
31724
  logistics_order_documents_ready: {
30976
31725
  Args: {
30977
31726
  p_order_ref: string;
@@ -31040,6 +31789,12 @@ export type Database = {
31040
31789
  };
31041
31790
  Returns: boolean;
31042
31791
  };
31792
+ logistics_order_is_archived: {
31793
+ Args: {
31794
+ p_order_id: string;
31795
+ };
31796
+ Returns: Json;
31797
+ };
31043
31798
  logistics_order_is_backlog: {
31044
31799
  Args: {
31045
31800
  p_order_id: string;
@@ -31150,6 +31905,12 @@ export type Database = {
31150
31905
  };
31151
31906
  Returns: boolean;
31152
31907
  };
31908
+ logistics_order_sticker_meldingen: {
31909
+ Args: {
31910
+ p_order_id: string;
31911
+ };
31912
+ Returns: Json;
31913
+ };
31153
31914
  logistics_packing_autofix: {
31154
31915
  Args: {
31155
31916
  p_limit?: number;
@@ -31304,6 +32065,14 @@ export type Database = {
31304
32065
  order_id: string;
31305
32066
  }[];
31306
32067
  };
32068
+ logistics_plan_close_claim: {
32069
+ Args: {
32070
+ p_id: string;
32071
+ p_reason: string;
32072
+ p_reason_code?: string;
32073
+ };
32074
+ Returns: boolean;
32075
+ };
31307
32076
  logistics_plan_coverage_check: {
31308
32077
  Args: {
31309
32078
  p_limit?: number;
@@ -31359,6 +32128,10 @@ export type Database = {
31359
32128
  };
31360
32129
  Returns: number;
31361
32130
  };
32131
+ logistics_plan_housekeeping: {
32132
+ Args: never;
32133
+ Returns: Json;
32134
+ };
31362
32135
  logistics_plan_impact_orders: {
31363
32136
  Args: {
31364
32137
  p_order_id: string;
@@ -31470,6 +32243,12 @@ export type Database = {
31470
32243
  Args: never;
31471
32244
  Returns: number;
31472
32245
  };
32246
+ logistics_plan_unarchive: {
32247
+ Args: {
32248
+ p_order_ids: string[];
32249
+ };
32250
+ Returns: number;
32251
+ };
31473
32252
  logistics_plan_wachttijd: {
31474
32253
  Args: {
31475
32254
  p_order_id: string;
@@ -31523,6 +32302,12 @@ export type Database = {
31523
32302
  };
31524
32303
  Returns: Json;
31525
32304
  };
32305
+ logistics_print_job_state: {
32306
+ Args: {
32307
+ p_job_id: string;
32308
+ };
32309
+ Returns: string;
32310
+ };
31526
32311
  logistics_print_via_layout: {
31527
32312
  Args: {
31528
32313
  _documentnaam: string;
@@ -31928,6 +32713,14 @@ export type Database = {
31928
32713
  };
31929
32714
  Returns: Json;
31930
32715
  };
32716
+ logistics_shipping_note_wait_reasons: {
32717
+ Args: never;
32718
+ Returns: {
32719
+ order_number: string;
32720
+ reden: string;
32721
+ wacht_sinds: string;
32722
+ }[];
32723
+ };
31931
32724
  logistics_shipping_note_wake: {
31932
32725
  Args: {
31933
32726
  _slip_job_id: string;
@@ -32003,6 +32796,20 @@ export type Database = {
32003
32796
  };
32004
32797
  Returns: undefined;
32005
32798
  };
32799
+ logistics_slip_note_hold_kenmerk: {
32800
+ Args: {
32801
+ _id: string;
32802
+ _reason: string;
32803
+ };
32804
+ Returns: undefined;
32805
+ };
32806
+ logistics_slip_note_hold_layout: {
32807
+ Args: {
32808
+ _id: string;
32809
+ _reason: string;
32810
+ };
32811
+ Returns: undefined;
32812
+ };
32006
32813
  logistics_slip_note_keep_waiting: {
32007
32814
  Args: {
32008
32815
  _class?: string;
@@ -32011,16 +32818,64 @@ export type Database = {
32011
32818
  };
32012
32819
  Returns: undefined;
32013
32820
  };
32821
+ logistics_slip_note_release_layout: {
32822
+ Args: never;
32823
+ Returns: number;
32824
+ };
32014
32825
  logistics_slip_note_retry: {
32015
32826
  Args: {
32016
32827
  _id: string;
32017
32828
  };
32018
32829
  Returns: Json;
32019
32830
  };
32831
+ logistics_sticker_cart_plek: {
32832
+ Args: {
32833
+ _cart: string;
32834
+ _fallback: string;
32835
+ };
32836
+ Returns: string;
32837
+ };
32020
32838
  logistics_sticker_follows_slip: {
32021
32839
  Args: never;
32022
32840
  Returns: boolean;
32023
32841
  };
32842
+ logistics_sticker_moment: {
32843
+ Args: {
32844
+ _cart: string;
32845
+ _hours: number;
32846
+ _order_number: string;
32847
+ _release: string;
32848
+ };
32849
+ Returns: boolean;
32850
+ };
32851
+ logistics_sticker_parse_size: {
32852
+ Args: {
32853
+ p: Json;
32854
+ };
32855
+ Returns: number[];
32856
+ };
32857
+ logistics_sticker_sync: {
32858
+ Args: {
32859
+ p_limit?: number;
32860
+ };
32861
+ Returns: Json;
32862
+ };
32863
+ logistics_sticker_upsert: {
32864
+ Args: {
32865
+ _bron: string;
32866
+ _cart: string;
32867
+ _fo: string;
32868
+ _kopieen: number;
32869
+ _order: string;
32870
+ _order_number: string;
32871
+ _plek: string;
32872
+ _reden: string;
32873
+ _size: number[];
32874
+ _soort: string;
32875
+ _status: string;
32876
+ };
32877
+ Returns: undefined;
32878
+ };
32024
32879
  logistics_subtract_working_minutes: {
32025
32880
  Args: {
32026
32881
  p_deadline: string;
@@ -32773,6 +33628,13 @@ export type Database = {
32773
33628
  };
32774
33629
  Returns: string;
32775
33630
  };
33631
+ pick_find_sent_elsewhere: {
33632
+ Args: {
33633
+ _cart_id: string;
33634
+ _queue_item_id: string;
33635
+ };
33636
+ Returns: Json;
33637
+ };
32776
33638
  pick_is_reference_admin: {
32777
33639
  Args: never;
32778
33640
  Returns: boolean;
@@ -33206,6 +34068,13 @@ export type Database = {
33206
34068
  };
33207
34069
  Returns: Json;
33208
34070
  };
34071
+ pickstation_cart_sticker_state: {
34072
+ Args: {
34073
+ p_cart_id: string;
34074
+ p_slug: string;
34075
+ };
34076
+ Returns: Json;
34077
+ };
33209
34078
  pickstation_get_orders_raw: {
33210
34079
  Args: never;
33211
34080
  Returns: Json;
@@ -33228,6 +34097,13 @@ export type Database = {
33228
34097
  };
33229
34098
  Returns: undefined;
33230
34099
  };
34100
+ pickstation_order_sticker_meldingen: {
34101
+ Args: {
34102
+ p_order_id: string;
34103
+ p_slug: string;
34104
+ };
34105
+ Returns: Json;
34106
+ };
33231
34107
  pickstation_resolve_delivery_orders: {
33232
34108
  Args: {
33233
34109
  p_sales_order_ids: string[];
@@ -33293,6 +34169,12 @@ export type Database = {
33293
34169
  };
33294
34170
  Returns: undefined;
33295
34171
  };
34172
+ planning_cleanup_old_logs: {
34173
+ Args: {
34174
+ _keep_days?: number;
34175
+ };
34176
+ Returns: number;
34177
+ };
33296
34178
  planning_html_escape: {
33297
34179
  Args: {
33298
34180
  t: string;
@@ -33359,6 +34241,23 @@ export type Database = {
33359
34241
  };
33360
34242
  Returns: string;
33361
34243
  };
34244
+ print_formaat_klasse: {
34245
+ Args: {
34246
+ _code: string;
34247
+ };
34248
+ Returns: string;
34249
+ };
34250
+ print_job_status_uitgebreid: {
34251
+ Args: {
34252
+ _job_id: string;
34253
+ };
34254
+ Returns: {
34255
+ fout_bericht: string;
34256
+ fout_code: string;
34257
+ mislukt: boolean;
34258
+ status: string;
34259
+ }[];
34260
+ };
33362
34261
  print_preview_toestaan: {
33363
34262
  Args: {
33364
34263
  _max?: number;
@@ -33377,6 +34276,14 @@ export type Database = {
33377
34276
  };
33378
34277
  Returns: undefined;
33379
34278
  };
34279
+ print_werkplek_keuze: {
34280
+ Args: {
34281
+ _documenttype: string;
34282
+ _klasse: string;
34283
+ _werkplek_id: string;
34284
+ };
34285
+ Returns: Json;
34286
+ };
33380
34287
  printer_gebruik: {
33381
34288
  Args: {
33382
34289
  _printer: string;
@@ -33390,6 +34297,7 @@ export type Database = {
33390
34297
  _papierformaat?: string;
33391
34298
  _print_plek_id?: string;
33392
34299
  _werkplek?: string;
34300
+ _werkplek_id?: string;
33393
34301
  };
33394
34302
  Returns: Json;
33395
34303
  };
@@ -34701,6 +35609,10 @@ export type Database = {
34701
35609
  };
34702
35610
  Returns: undefined;
34703
35611
  };
35612
+ uren_cao_settings_zorg: {
35613
+ Args: never;
35614
+ Returns: string;
35615
+ };
34704
35616
  uren_collega_agenda: {
34705
35617
  Args: {
34706
35618
  _monteur: string;
@@ -34861,10 +35773,22 @@ export type Database = {
34861
35773
  Args: never;
34862
35774
  Returns: number;
34863
35775
  };
35776
+ uren_module_gezondheid: {
35777
+ Args: never;
35778
+ Returns: Json;
35779
+ };
35780
+ uren_module_status: {
35781
+ Args: never;
35782
+ Returns: Json;
35783
+ };
34864
35784
  uren_my_monteur_id: {
34865
35785
  Args: never;
34866
35786
  Returns: string;
34867
35787
  };
35788
+ uren_opschonen_indien_nodig: {
35789
+ Args: never;
35790
+ Returns: boolean;
35791
+ };
34868
35792
  uren_overuren_indienen: {
34869
35793
  Args: {
34870
35794
  _datum: string;
@@ -35268,6 +36192,16 @@ export type Database = {
35268
36192
  total_minutes: number;
35269
36193
  }[];
35270
36194
  };
36195
+ werkplek_omzetting_toepassen: {
36196
+ Args: {
36197
+ _werkplekken: Json;
36198
+ };
36199
+ Returns: Json;
36200
+ };
36201
+ werkplek_omzetting_voorstel: {
36202
+ Args: never;
36203
+ Returns: Json;
36204
+ };
35271
36205
  wo_boek_standby_uren: {
35272
36206
  Args: {
35273
36207
  _datum: string;
@@ -35362,6 +36296,13 @@ export type Database = {
35362
36296
  };
35363
36297
  Returns: Json;
35364
36298
  };
36299
+ wo_send_proposal_to_quote: {
36300
+ Args: {
36301
+ _id: string;
36302
+ _overrides?: Json;
36303
+ };
36304
+ Returns: Json;
36305
+ };
35365
36306
  wo_send_to_quote: {
35366
36307
  Args: {
35367
36308
  _werkbon_id: string;