@flowselections/pick-schermen-kwekers 1.0.36 → 1.0.41

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 (32) hide show
  1. package/dist-lib/components/pick/PickScherm.d.ts.map +1 -1
  2. package/dist-lib/components/pick/PickScherm.js +3 -2
  3. package/dist-lib/components/pick/ShippingNoteScan.js +1 -1
  4. package/dist-lib/components/pick/StickerState.d.ts +11 -0
  5. package/dist-lib/components/pick/StickerState.d.ts.map +1 -0
  6. package/dist-lib/components/pick/StickerState.js +45 -0
  7. package/dist-lib/index.d.ts +2 -0
  8. package/dist-lib/index.d.ts.map +1 -1
  9. package/dist-lib/index.js +2 -0
  10. package/dist-lib/integrations/supabase/types.d.ts +1024 -2
  11. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  12. package/dist-lib/integrations/supabase/types.js +1 -0
  13. package/dist-lib/lib/__tests__/pickPreview140.test.d.ts +2 -0
  14. package/dist-lib/lib/__tests__/pickPreview140.test.d.ts.map +1 -0
  15. package/dist-lib/lib/__tests__/pickPreview140.test.js +21 -0
  16. package/dist-lib/lib/__tests__/pickStickers.test.d.ts +2 -0
  17. package/dist-lib/lib/__tests__/pickStickers.test.d.ts.map +1 -0
  18. package/dist-lib/lib/__tests__/pickStickers.test.js +25 -0
  19. package/dist-lib/lib/__tests__/pickStickers138.test.d.ts +2 -0
  20. package/dist-lib/lib/__tests__/pickStickers138.test.d.ts.map +1 -0
  21. package/dist-lib/lib/__tests__/pickStickers138.test.js +32 -0
  22. package/dist-lib/lib/pickPreview.d.ts +2 -0
  23. package/dist-lib/lib/pickPreview.d.ts.map +1 -1
  24. package/dist-lib/lib/pickPreview.js +3 -1
  25. package/dist-lib/lib/pickRowState.d.ts +1 -1
  26. package/dist-lib/lib/pickRowState.d.ts.map +1 -1
  27. package/dist-lib/lib/pickRowState.js +1 -1
  28. package/dist-lib/lib/pickStickers.d.ts +41 -0
  29. package/dist-lib/lib/pickStickers.d.ts.map +1 -0
  30. package/dist-lib/lib/pickStickers.js +111 -0
  31. package/dist-lib/lib/pickTypes.js +2 -2
  32. package/package.json +5 -5
@@ -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;
@@ -2602,6 +2611,7 @@ export type Database = {
2602
2611
  twinfield_base_snapshot: Json | null;
2603
2612
  twinfield_base_version: number | null;
2604
2613
  twinfield_code: string | null;
2614
+ twinfield_create_on_insert: boolean;
2605
2615
  twinfield_last_hash: string | null;
2606
2616
  twinfield_missing_since: string | null;
2607
2617
  twinfield_present: boolean;
@@ -2693,6 +2703,7 @@ export type Database = {
2693
2703
  twinfield_base_snapshot?: Json | null;
2694
2704
  twinfield_base_version?: number | null;
2695
2705
  twinfield_code?: string | null;
2706
+ twinfield_create_on_insert?: boolean;
2696
2707
  twinfield_last_hash?: string | null;
2697
2708
  twinfield_missing_since?: string | null;
2698
2709
  twinfield_present?: boolean;
@@ -2784,6 +2795,7 @@ export type Database = {
2784
2795
  twinfield_base_snapshot?: Json | null;
2785
2796
  twinfield_base_version?: number | null;
2786
2797
  twinfield_code?: string | null;
2798
+ twinfield_create_on_insert?: boolean;
2787
2799
  twinfield_last_hash?: string | null;
2788
2800
  twinfield_missing_since?: string | null;
2789
2801
  twinfield_present?: boolean;
@@ -6842,6 +6854,7 @@ export type Database = {
6842
6854
  next_attempt_at: string;
6843
6855
  number_of_pieces: number;
6844
6856
  price_note: string | null;
6857
+ price_previous: number | null;
6845
6858
  price_sent: number | null;
6846
6859
  price_status: string | null;
6847
6860
  product_id: string | null;
@@ -6875,6 +6888,7 @@ export type Database = {
6875
6888
  next_attempt_at?: string;
6876
6889
  number_of_pieces?: number;
6877
6890
  price_note?: string | null;
6891
+ price_previous?: number | null;
6878
6892
  price_sent?: number | null;
6879
6893
  price_status?: string | null;
6880
6894
  product_id?: string | null;
@@ -6908,6 +6922,7 @@ export type Database = {
6908
6922
  next_attempt_at?: string;
6909
6923
  number_of_pieces?: number;
6910
6924
  price_note?: string | null;
6925
+ price_previous?: number | null;
6911
6926
  price_sent?: number | null;
6912
6927
  price_status?: string | null;
6913
6928
  product_id?: string | null;
@@ -7049,6 +7064,59 @@ export type Database = {
7049
7064
  }
7050
7065
  ];
7051
7066
  };
7067
+ floriday_customer_sticker_upload_requests_cache: {
7068
+ Row: {
7069
+ connection_id: string;
7070
+ created_at: string;
7071
+ customer_sticker_id: string | null;
7072
+ data: Json;
7073
+ expires_on: string | null;
7074
+ fetched_at: string;
7075
+ floriday_id: string;
7076
+ id: string;
7077
+ responded_on: string | null;
7078
+ sales_order_id: string | null;
7079
+ sequence_number: number;
7080
+ status: string | null;
7081
+ };
7082
+ Insert: {
7083
+ connection_id: string;
7084
+ created_at?: string;
7085
+ customer_sticker_id?: string | null;
7086
+ data?: Json;
7087
+ expires_on?: string | null;
7088
+ fetched_at?: string;
7089
+ floriday_id: string;
7090
+ id?: string;
7091
+ responded_on?: string | null;
7092
+ sales_order_id?: string | null;
7093
+ sequence_number?: number;
7094
+ status?: string | null;
7095
+ };
7096
+ Update: {
7097
+ connection_id?: string;
7098
+ created_at?: string;
7099
+ customer_sticker_id?: string | null;
7100
+ data?: Json;
7101
+ expires_on?: string | null;
7102
+ fetched_at?: string;
7103
+ floriday_id?: string;
7104
+ id?: string;
7105
+ responded_on?: string | null;
7106
+ sales_order_id?: string | null;
7107
+ sequence_number?: number;
7108
+ status?: string | null;
7109
+ };
7110
+ Relationships: [
7111
+ {
7112
+ foreignKeyName: "floriday_customer_sticker_upload_requests_ca_connection_id_fkey";
7113
+ columns: ["connection_id"];
7114
+ isOneToOne: false;
7115
+ referencedRelation: "floriday_connections";
7116
+ referencedColumns: ["id"];
7117
+ }
7118
+ ];
7119
+ };
7052
7120
  floriday_customer_stickers_cache: {
7053
7121
  Row: {
7054
7122
  connection_id: string;
@@ -7376,6 +7444,59 @@ export type Database = {
7376
7444
  }
7377
7445
  ];
7378
7446
  };
7447
+ floriday_document_versions: {
7448
+ Row: {
7449
+ bucket: string;
7450
+ byte_size: number | null;
7451
+ connection_id: string;
7452
+ content_sha256: string;
7453
+ content_type: string | null;
7454
+ created_at: string;
7455
+ delivery_date: string | null;
7456
+ document_id: string;
7457
+ document_kind: string;
7458
+ id: string;
7459
+ storage_path: string;
7460
+ version: number;
7461
+ };
7462
+ Insert: {
7463
+ bucket: string;
7464
+ byte_size?: number | null;
7465
+ connection_id: string;
7466
+ content_sha256: string;
7467
+ content_type?: string | null;
7468
+ created_at?: string;
7469
+ delivery_date?: string | null;
7470
+ document_id: string;
7471
+ document_kind: string;
7472
+ id?: string;
7473
+ storage_path: string;
7474
+ version: number;
7475
+ };
7476
+ Update: {
7477
+ bucket?: string;
7478
+ byte_size?: number | null;
7479
+ connection_id?: string;
7480
+ content_sha256?: string;
7481
+ content_type?: string | null;
7482
+ created_at?: string;
7483
+ delivery_date?: string | null;
7484
+ document_id?: string;
7485
+ document_kind?: string;
7486
+ id?: string;
7487
+ storage_path?: string;
7488
+ version?: number;
7489
+ };
7490
+ Relationships: [
7491
+ {
7492
+ foreignKeyName: "floriday_document_versions_connection_id_fkey";
7493
+ columns: ["connection_id"];
7494
+ isOneToOne: false;
7495
+ referencedRelation: "floriday_connections";
7496
+ referencedColumns: ["id"];
7497
+ }
7498
+ ];
7499
+ };
7379
7500
  floriday_fulfillment_orders_cache: {
7380
7501
  Row: {
7381
7502
  auction_date: string | null;
@@ -12572,6 +12693,27 @@ export type Database = {
12572
12693
  };
12573
12694
  Relationships: [];
12574
12695
  };
12696
+ logistics_order_pick_day: {
12697
+ Row: {
12698
+ order_id: string;
12699
+ pick_date: string;
12700
+ pinned_at: string;
12701
+ source: string;
12702
+ };
12703
+ Insert: {
12704
+ order_id: string;
12705
+ pick_date: string;
12706
+ pinned_at?: string;
12707
+ source?: string;
12708
+ };
12709
+ Update: {
12710
+ order_id?: string;
12711
+ pick_date?: string;
12712
+ pinned_at?: string;
12713
+ source?: string;
12714
+ };
12715
+ Relationships: [];
12716
+ };
12575
12717
  logistics_order_plan_exclusion: {
12576
12718
  Row: {
12577
12719
  created_at: string;
@@ -12598,6 +12740,54 @@ export type Database = {
12598
12740
  }
12599
12741
  ];
12600
12742
  };
12743
+ logistics_order_sticker_warnings: {
12744
+ Row: {
12745
+ benodigd_breedte_mm: number | null;
12746
+ benodigd_hoogte_mm: number | null;
12747
+ bron_id: string;
12748
+ created_at: string;
12749
+ geladen_breedte_mm: number | null;
12750
+ geladen_hoogte_mm: number | null;
12751
+ id: string;
12752
+ melding: string;
12753
+ opgelost_op: string | null;
12754
+ order_id: string;
12755
+ plek: string | null;
12756
+ soort: string;
12757
+ updated_at: string;
12758
+ };
12759
+ Insert: {
12760
+ benodigd_breedte_mm?: number | null;
12761
+ benodigd_hoogte_mm?: number | null;
12762
+ bron_id: string;
12763
+ created_at?: string;
12764
+ geladen_breedte_mm?: number | null;
12765
+ geladen_hoogte_mm?: number | null;
12766
+ id?: string;
12767
+ melding: string;
12768
+ opgelost_op?: string | null;
12769
+ order_id: string;
12770
+ plek?: string | null;
12771
+ soort: string;
12772
+ updated_at?: string;
12773
+ };
12774
+ Update: {
12775
+ benodigd_breedte_mm?: number | null;
12776
+ benodigd_hoogte_mm?: number | null;
12777
+ bron_id?: string;
12778
+ created_at?: string;
12779
+ geladen_breedte_mm?: number | null;
12780
+ geladen_hoogte_mm?: number | null;
12781
+ id?: string;
12782
+ melding?: string;
12783
+ opgelost_op?: string | null;
12784
+ order_id?: string;
12785
+ plek?: string | null;
12786
+ soort?: string;
12787
+ updated_at?: string;
12788
+ };
12789
+ Relationships: [];
12790
+ };
12601
12791
  logistics_packing_deviations: {
12602
12792
  Row: {
12603
12793
  auto_fixed_at: string | null;
@@ -13427,6 +13617,78 @@ export type Database = {
13427
13617
  };
13428
13618
  Relationships: [];
13429
13619
  };
13620
+ logistics_sticker_prints: {
13621
+ Row: {
13622
+ attempts: number;
13623
+ breedte_mm: number | null;
13624
+ bron_id: string;
13625
+ cart_id: string | null;
13626
+ created_at: string;
13627
+ fulfillment_order_id: string | null;
13628
+ handled_at: string | null;
13629
+ handled_error: string | null;
13630
+ handled_next_at: string | null;
13631
+ hoogte_mm: number | null;
13632
+ id: string;
13633
+ kopieen: number;
13634
+ next_attempt_at: string | null;
13635
+ order_id: string | null;
13636
+ order_number: string | null;
13637
+ print_job_id: string | null;
13638
+ print_plek_id: string | null;
13639
+ reden: string | null;
13640
+ soort: string;
13641
+ status: string;
13642
+ updated_at: string;
13643
+ };
13644
+ Insert: {
13645
+ attempts?: number;
13646
+ breedte_mm?: number | null;
13647
+ bron_id: string;
13648
+ cart_id?: string | null;
13649
+ created_at?: string;
13650
+ fulfillment_order_id?: string | null;
13651
+ handled_at?: string | null;
13652
+ handled_error?: string | null;
13653
+ handled_next_at?: string | null;
13654
+ hoogte_mm?: number | null;
13655
+ id?: string;
13656
+ kopieen?: number;
13657
+ next_attempt_at?: string | null;
13658
+ order_id?: string | null;
13659
+ order_number?: string | null;
13660
+ print_job_id?: string | null;
13661
+ print_plek_id?: string | null;
13662
+ reden?: string | null;
13663
+ soort: string;
13664
+ status?: string;
13665
+ updated_at?: string;
13666
+ };
13667
+ Update: {
13668
+ attempts?: number;
13669
+ breedte_mm?: number | null;
13670
+ bron_id?: string;
13671
+ cart_id?: string | null;
13672
+ created_at?: string;
13673
+ fulfillment_order_id?: string | null;
13674
+ handled_at?: string | null;
13675
+ handled_error?: string | null;
13676
+ handled_next_at?: string | null;
13677
+ hoogte_mm?: number | null;
13678
+ id?: string;
13679
+ kopieen?: number;
13680
+ next_attempt_at?: string | null;
13681
+ order_id?: string | null;
13682
+ order_number?: string | null;
13683
+ print_job_id?: string | null;
13684
+ print_plek_id?: string | null;
13685
+ reden?: string | null;
13686
+ soort?: string;
13687
+ status?: string;
13688
+ updated_at?: string;
13689
+ };
13690
+ Relationships: [];
13691
+ };
13430
13692
  logistics_stock_alerts: {
13431
13693
  Row: {
13432
13694
  created_at: string;
@@ -13443,6 +13705,7 @@ export type Database = {
13443
13705
  order_id: string | null;
13444
13706
  order_ref: string;
13445
13707
  priority: number;
13708
+ resolution_reason: string | null;
13446
13709
  resolved_at: string | null;
13447
13710
  resolved_by: string | null;
13448
13711
  shortages: Json;
@@ -13465,6 +13728,7 @@ export type Database = {
13465
13728
  order_id?: string | null;
13466
13729
  order_ref: string;
13467
13730
  priority?: number;
13731
+ resolution_reason?: string | null;
13468
13732
  resolved_at?: string | null;
13469
13733
  resolved_by?: string | null;
13470
13734
  shortages?: Json;
@@ -13487,6 +13751,7 @@ export type Database = {
13487
13751
  order_id?: string | null;
13488
13752
  order_ref?: string;
13489
13753
  priority?: number;
13754
+ resolution_reason?: string | null;
13490
13755
  resolved_at?: string | null;
13491
13756
  resolved_by?: string | null;
13492
13757
  shortages?: Json;
@@ -18249,6 +18514,7 @@ export type Database = {
18249
18514
  created_at: string;
18250
18515
  default_end: string;
18251
18516
  default_start: string;
18517
+ eigen_vervoer: boolean;
18252
18518
  end_address: string | null;
18253
18519
  home_address: string | null;
18254
18520
  id: string;
@@ -18260,6 +18526,7 @@ export type Database = {
18260
18526
  created_at?: string;
18261
18527
  default_end?: string;
18262
18528
  default_start?: string;
18529
+ eigen_vervoer?: boolean;
18263
18530
  end_address?: string | null;
18264
18531
  home_address?: string | null;
18265
18532
  id?: string;
@@ -18271,6 +18538,7 @@ export type Database = {
18271
18538
  created_at?: string;
18272
18539
  default_end?: string;
18273
18540
  default_start?: string;
18541
+ eigen_vervoer?: boolean;
18274
18542
  end_address?: string | null;
18275
18543
  home_address?: string | null;
18276
18544
  id?: string;
@@ -18640,6 +18908,36 @@ export type Database = {
18640
18908
  };
18641
18909
  Relationships: [];
18642
18910
  };
18911
+ print_computer_status: {
18912
+ Row: {
18913
+ bijgewerkt_op: string;
18914
+ created_at: string;
18915
+ extern_computer_id: string;
18916
+ naam: string | null;
18917
+ status: string | null;
18918
+ updated_at: string;
18919
+ verbonden: boolean;
18920
+ };
18921
+ Insert: {
18922
+ bijgewerkt_op?: string;
18923
+ created_at?: string;
18924
+ extern_computer_id: string;
18925
+ naam?: string | null;
18926
+ status?: string | null;
18927
+ updated_at?: string;
18928
+ verbonden?: boolean;
18929
+ };
18930
+ Update: {
18931
+ bijgewerkt_op?: string;
18932
+ created_at?: string;
18933
+ extern_computer_id?: string;
18934
+ naam?: string | null;
18935
+ status?: string | null;
18936
+ updated_at?: string;
18937
+ verbonden?: boolean;
18938
+ };
18939
+ Relationships: [];
18940
+ };
18643
18941
  print_dedupe_events: {
18644
18942
  Row: {
18645
18943
  bestaande_job_id: string | null;
@@ -18673,6 +18971,35 @@ export type Database = {
18673
18971
  };
18674
18972
  Relationships: [];
18675
18973
  };
18974
+ print_gebruiker_werkplek: {
18975
+ Row: {
18976
+ created_at: string;
18977
+ updated_at: string;
18978
+ user_id: string;
18979
+ werkplek_id: string;
18980
+ };
18981
+ Insert: {
18982
+ created_at?: string;
18983
+ updated_at?: string;
18984
+ user_id: string;
18985
+ werkplek_id: string;
18986
+ };
18987
+ Update: {
18988
+ created_at?: string;
18989
+ updated_at?: string;
18990
+ user_id?: string;
18991
+ werkplek_id?: string;
18992
+ };
18993
+ Relationships: [
18994
+ {
18995
+ foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
18996
+ columns: ["werkplek_id"];
18997
+ isOneToOne: false;
18998
+ referencedRelation: "print_werkplekken";
18999
+ referencedColumns: ["id"];
19000
+ }
19001
+ ];
19002
+ };
18676
19003
  print_genegeerde_computers: {
18677
19004
  Row: {
18678
19005
  computer_naam: string;
@@ -18762,16 +19089,21 @@ export type Database = {
18762
19089
  lokale_pdf_print_plek_id: string | null;
18763
19090
  lokale_pdf_status: string | null;
18764
19091
  opgepakt_op: string | null;
19092
+ origineel_sleutel: string | null;
18765
19093
  paginas: number;
18766
19094
  payload: Json;
18767
19095
  pdf_base64: string | null;
18768
19096
  pdf_url: string | null;
18769
19097
  pogingen: number;
18770
19098
  printer_id: string | null;
19099
+ printnode_bericht: string | null;
19100
+ printnode_status: string | null;
19101
+ printnode_status_op: string | null;
18771
19102
  render_html: string | null;
18772
19103
  resultaat_pdf_base64: string | null;
18773
19104
  status: Database["public"]["Enums"]["print_job_status"];
18774
19105
  updated_at: string;
19106
+ verloopt_na_s: number | null;
18775
19107
  verwerkingsfase: string;
18776
19108
  volgende_poging: string | null;
18777
19109
  voltooid_op: string | null;
@@ -18811,16 +19143,21 @@ export type Database = {
18811
19143
  lokale_pdf_print_plek_id?: string | null;
18812
19144
  lokale_pdf_status?: string | null;
18813
19145
  opgepakt_op?: string | null;
19146
+ origineel_sleutel?: string | null;
18814
19147
  paginas?: number;
18815
19148
  payload?: Json;
18816
19149
  pdf_base64?: string | null;
18817
19150
  pdf_url?: string | null;
18818
19151
  pogingen?: number;
18819
19152
  printer_id?: string | null;
19153
+ printnode_bericht?: string | null;
19154
+ printnode_status?: string | null;
19155
+ printnode_status_op?: string | null;
18820
19156
  render_html?: string | null;
18821
19157
  resultaat_pdf_base64?: string | null;
18822
19158
  status?: Database["public"]["Enums"]["print_job_status"];
18823
19159
  updated_at?: string;
19160
+ verloopt_na_s?: number | null;
18824
19161
  verwerkingsfase?: string;
18825
19162
  volgende_poging?: string | null;
18826
19163
  voltooid_op?: string | null;
@@ -18860,16 +19197,21 @@ export type Database = {
18860
19197
  lokale_pdf_print_plek_id?: string | null;
18861
19198
  lokale_pdf_status?: string | null;
18862
19199
  opgepakt_op?: string | null;
19200
+ origineel_sleutel?: string | null;
18863
19201
  paginas?: number;
18864
19202
  payload?: Json;
18865
19203
  pdf_base64?: string | null;
18866
19204
  pdf_url?: string | null;
18867
19205
  pogingen?: number;
18868
19206
  printer_id?: string | null;
19207
+ printnode_bericht?: string | null;
19208
+ printnode_status?: string | null;
19209
+ printnode_status_op?: string | null;
18869
19210
  render_html?: string | null;
18870
19211
  resultaat_pdf_base64?: string | null;
18871
19212
  status?: Database["public"]["Enums"]["print_job_status"];
18872
19213
  updated_at?: string;
19214
+ verloopt_na_s?: number | null;
18873
19215
  verwerkingsfase?: string;
18874
19216
  volgende_poging?: string | null;
18875
19217
  voltooid_op?: string | null;
@@ -19224,6 +19566,103 @@ export type Database = {
19224
19566
  }
19225
19567
  ];
19226
19568
  };
19569
+ print_werkplek_afwijkingen: {
19570
+ Row: {
19571
+ created_at: string;
19572
+ documenttype: string;
19573
+ id: string;
19574
+ printer_id: string | null;
19575
+ updated_at: string;
19576
+ werkplek_id: string;
19577
+ };
19578
+ Insert: {
19579
+ created_at?: string;
19580
+ documenttype: string;
19581
+ id?: string;
19582
+ printer_id?: string | null;
19583
+ updated_at?: string;
19584
+ werkplek_id: string;
19585
+ };
19586
+ Update: {
19587
+ created_at?: string;
19588
+ documenttype?: string;
19589
+ id?: string;
19590
+ printer_id?: string | null;
19591
+ updated_at?: string;
19592
+ werkplek_id?: string;
19593
+ };
19594
+ Relationships: [
19595
+ {
19596
+ foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
19597
+ columns: ["printer_id"];
19598
+ isOneToOne: false;
19599
+ referencedRelation: "printers";
19600
+ referencedColumns: ["id"];
19601
+ },
19602
+ {
19603
+ foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
19604
+ columns: ["werkplek_id"];
19605
+ isOneToOne: false;
19606
+ referencedRelation: "print_werkplekken";
19607
+ referencedColumns: ["id"];
19608
+ }
19609
+ ];
19610
+ };
19611
+ print_werkplekken: {
19612
+ Row: {
19613
+ a4_printer_id: string | null;
19614
+ actief: boolean;
19615
+ created_at: string;
19616
+ id: string;
19617
+ label_printer_id: string | null;
19618
+ naam: string;
19619
+ print_plek_id: string | null;
19620
+ updated_at: string;
19621
+ };
19622
+ Insert: {
19623
+ a4_printer_id?: string | null;
19624
+ actief?: boolean;
19625
+ created_at?: string;
19626
+ id?: string;
19627
+ label_printer_id?: string | null;
19628
+ naam: string;
19629
+ print_plek_id?: string | null;
19630
+ updated_at?: string;
19631
+ };
19632
+ Update: {
19633
+ a4_printer_id?: string | null;
19634
+ actief?: boolean;
19635
+ created_at?: string;
19636
+ id?: string;
19637
+ label_printer_id?: string | null;
19638
+ naam?: string;
19639
+ print_plek_id?: string | null;
19640
+ updated_at?: string;
19641
+ };
19642
+ Relationships: [
19643
+ {
19644
+ foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
19645
+ columns: ["a4_printer_id"];
19646
+ isOneToOne: false;
19647
+ referencedRelation: "printers";
19648
+ referencedColumns: ["id"];
19649
+ },
19650
+ {
19651
+ foreignKeyName: "print_werkplekken_label_printer_id_fkey";
19652
+ columns: ["label_printer_id"];
19653
+ isOneToOne: false;
19654
+ referencedRelation: "printers";
19655
+ referencedColumns: ["id"];
19656
+ },
19657
+ {
19658
+ foreignKeyName: "print_werkplekken_print_plek_id_fkey";
19659
+ columns: ["print_plek_id"];
19660
+ isOneToOne: false;
19661
+ referencedRelation: "print_plekken";
19662
+ referencedColumns: ["id"];
19663
+ }
19664
+ ];
19665
+ };
19227
19666
  printer_mappings: {
19228
19667
  Row: {
19229
19668
  created_at: string;
@@ -19331,6 +19770,47 @@ export type Database = {
19331
19770
  }
19332
19771
  ];
19333
19772
  };
19773
+ printer_routes: {
19774
+ Row: {
19775
+ computer_naam: string | null;
19776
+ created_at: string;
19777
+ extern_printer_id: string;
19778
+ geladen_etiket: Json | null;
19779
+ id: string;
19780
+ printer_id: string;
19781
+ prioriteit: number;
19782
+ updated_at: string;
19783
+ };
19784
+ Insert: {
19785
+ computer_naam?: string | null;
19786
+ created_at?: string;
19787
+ extern_printer_id: string;
19788
+ geladen_etiket?: Json | null;
19789
+ id?: string;
19790
+ printer_id: string;
19791
+ prioriteit?: number;
19792
+ updated_at?: string;
19793
+ };
19794
+ Update: {
19795
+ computer_naam?: string | null;
19796
+ created_at?: string;
19797
+ extern_printer_id?: string;
19798
+ geladen_etiket?: Json | null;
19799
+ id?: string;
19800
+ printer_id?: string;
19801
+ prioriteit?: number;
19802
+ updated_at?: string;
19803
+ };
19804
+ Relationships: [
19805
+ {
19806
+ foreignKeyName: "printer_routes_printer_id_fkey";
19807
+ columns: ["printer_id"];
19808
+ isOneToOne: false;
19809
+ referencedRelation: "printers";
19810
+ referencedColumns: ["id"];
19811
+ }
19812
+ ];
19813
+ };
19334
19814
  printers: {
19335
19815
  Row: {
19336
19816
  actief: boolean;
@@ -19340,8 +19820,10 @@ export type Database = {
19340
19820
  driver: string;
19341
19821
  extern_printer_id: string | null;
19342
19822
  formaten_bijgewerkt_op: string | null;
19823
+ geladen_etiket: Json | null;
19343
19824
  id: string;
19344
19825
  ip_adres: string | null;
19826
+ is_virtueel: boolean;
19345
19827
  laatst_gezien: string | null;
19346
19828
  locatie: string;
19347
19829
  merk: string;
@@ -19357,6 +19839,8 @@ export type Database = {
19357
19839
  systeemnaam: string;
19358
19840
  updated_at: string;
19359
19841
  verbinding: Database["public"]["Enums"]["printer_connection"];
19842
+ verborgen: boolean;
19843
+ weergavenaam: string | null;
19360
19844
  };
19361
19845
  Insert: {
19362
19846
  actief?: boolean;
@@ -19366,8 +19850,10 @@ export type Database = {
19366
19850
  driver?: string;
19367
19851
  extern_printer_id?: string | null;
19368
19852
  formaten_bijgewerkt_op?: string | null;
19853
+ geladen_etiket?: Json | null;
19369
19854
  id?: string;
19370
19855
  ip_adres?: string | null;
19856
+ is_virtueel?: boolean;
19371
19857
  laatst_gezien?: string | null;
19372
19858
  locatie?: string;
19373
19859
  merk?: string;
@@ -19383,6 +19869,8 @@ export type Database = {
19383
19869
  systeemnaam?: string;
19384
19870
  updated_at?: string;
19385
19871
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19872
+ verborgen?: boolean;
19873
+ weergavenaam?: string | null;
19386
19874
  };
19387
19875
  Update: {
19388
19876
  actief?: boolean;
@@ -19392,8 +19880,10 @@ export type Database = {
19392
19880
  driver?: string;
19393
19881
  extern_printer_id?: string | null;
19394
19882
  formaten_bijgewerkt_op?: string | null;
19883
+ geladen_etiket?: Json | null;
19395
19884
  id?: string;
19396
19885
  ip_adres?: string | null;
19886
+ is_virtueel?: boolean;
19397
19887
  laatst_gezien?: string | null;
19398
19888
  locatie?: string;
19399
19889
  merk?: string;
@@ -19409,6 +19899,8 @@ export type Database = {
19409
19899
  systeemnaam?: string;
19410
19900
  updated_at?: string;
19411
19901
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19902
+ verborgen?: boolean;
19903
+ weergavenaam?: string | null;
19412
19904
  };
19413
19905
  Relationships: [
19414
19906
  {
@@ -19420,6 +19912,117 @@ export type Database = {
19420
19912
  }
19421
19913
  ];
19422
19914
  };
19915
+ printnode_webhook_koppeling: {
19916
+ Row: {
19917
+ bereikbaar: string | null;
19918
+ created_at: string;
19919
+ fout: string | null;
19920
+ geheim: string | null;
19921
+ gekoppeld_op: string | null;
19922
+ id: number;
19923
+ laatst_ontvangen_op: string | null;
19924
+ laatste_poging_op: string | null;
19925
+ melding: string | null;
19926
+ pn_geslaagd: number | null;
19927
+ pn_geslaagd_vorig: number | null;
19928
+ pn_mislukt: number | null;
19929
+ pn_ontvangen: number | null;
19930
+ pn_opgehaald_op: string | null;
19931
+ pn_url: string | null;
19932
+ pn_weggegooid: number | null;
19933
+ secret_veld: string | null;
19934
+ status: string;
19935
+ updated_at: string;
19936
+ url: string | null;
19937
+ webhook_id: number | null;
19938
+ zelftest_fout: string | null;
19939
+ zelftest_op: string | null;
19940
+ };
19941
+ Insert: {
19942
+ bereikbaar?: string | null;
19943
+ created_at?: string;
19944
+ fout?: string | null;
19945
+ geheim?: string | null;
19946
+ gekoppeld_op?: string | null;
19947
+ id?: number;
19948
+ laatst_ontvangen_op?: string | null;
19949
+ laatste_poging_op?: string | null;
19950
+ melding?: string | null;
19951
+ pn_geslaagd?: number | null;
19952
+ pn_geslaagd_vorig?: number | null;
19953
+ pn_mislukt?: number | null;
19954
+ pn_ontvangen?: number | null;
19955
+ pn_opgehaald_op?: string | null;
19956
+ pn_url?: string | null;
19957
+ pn_weggegooid?: number | null;
19958
+ secret_veld?: string | null;
19959
+ status?: string;
19960
+ updated_at?: string;
19961
+ url?: string | null;
19962
+ webhook_id?: number | null;
19963
+ zelftest_fout?: string | null;
19964
+ zelftest_op?: string | null;
19965
+ };
19966
+ Update: {
19967
+ bereikbaar?: string | null;
19968
+ created_at?: string;
19969
+ fout?: string | null;
19970
+ geheim?: string | null;
19971
+ gekoppeld_op?: string | null;
19972
+ id?: number;
19973
+ laatst_ontvangen_op?: string | null;
19974
+ laatste_poging_op?: string | null;
19975
+ melding?: string | null;
19976
+ pn_geslaagd?: number | null;
19977
+ pn_geslaagd_vorig?: number | null;
19978
+ pn_mislukt?: number | null;
19979
+ pn_ontvangen?: number | null;
19980
+ pn_opgehaald_op?: string | null;
19981
+ pn_url?: string | null;
19982
+ pn_weggegooid?: number | null;
19983
+ secret_veld?: string | null;
19984
+ status?: string;
19985
+ updated_at?: string;
19986
+ url?: string | null;
19987
+ webhook_id?: number | null;
19988
+ zelftest_fout?: string | null;
19989
+ zelftest_op?: string | null;
19990
+ };
19991
+ Relationships: [];
19992
+ };
19993
+ printnode_webhook_meldingen: {
19994
+ Row: {
19995
+ antwoord: Json | null;
19996
+ gematcht: number;
19997
+ http_status: number;
19998
+ id: number;
19999
+ niet_gematcht: string[];
20000
+ ontvangen_op: string;
20001
+ printnode_ids: string[];
20002
+ soorten: string[];
20003
+ };
20004
+ Insert: {
20005
+ antwoord?: Json | null;
20006
+ gematcht?: number;
20007
+ http_status: number;
20008
+ id?: never;
20009
+ niet_gematcht?: string[];
20010
+ ontvangen_op?: string;
20011
+ printnode_ids?: string[];
20012
+ soorten?: string[];
20013
+ };
20014
+ Update: {
20015
+ antwoord?: Json | null;
20016
+ gematcht?: number;
20017
+ http_status?: number;
20018
+ id?: never;
20019
+ niet_gematcht?: string[];
20020
+ ontvangen_op?: string;
20021
+ printnode_ids?: string[];
20022
+ soorten?: string[];
20023
+ };
20024
+ Relationships: [];
20025
+ };
19423
20026
  product_bom_external_items: {
19424
20027
  Row: {
19425
20028
  created_at: string;
@@ -26338,6 +26941,54 @@ export type Database = {
26338
26941
  };
26339
26942
  Relationships: [];
26340
26943
  };
26944
+ werkbon_standby_tijdvakken: {
26945
+ Row: {
26946
+ created_at: string;
26947
+ datum: string;
26948
+ eind_tijd: string;
26949
+ id: string;
26950
+ monteur_id: string;
26951
+ start_tijd: string;
26952
+ updated_at: string;
26953
+ werkbon_id: string;
26954
+ };
26955
+ Insert: {
26956
+ created_at?: string;
26957
+ datum: string;
26958
+ eind_tijd: string;
26959
+ id?: string;
26960
+ monteur_id: string;
26961
+ start_tijd: string;
26962
+ updated_at?: string;
26963
+ werkbon_id: string;
26964
+ };
26965
+ Update: {
26966
+ created_at?: string;
26967
+ datum?: string;
26968
+ eind_tijd?: string;
26969
+ id?: string;
26970
+ monteur_id?: string;
26971
+ start_tijd?: string;
26972
+ updated_at?: string;
26973
+ werkbon_id?: string;
26974
+ };
26975
+ Relationships: [
26976
+ {
26977
+ foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
26978
+ columns: ["werkbon_id"];
26979
+ isOneToOne: false;
26980
+ referencedRelation: "werkbonnen";
26981
+ referencedColumns: ["id"];
26982
+ },
26983
+ {
26984
+ foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
26985
+ columns: ["werkbon_id"];
26986
+ isOneToOne: false;
26987
+ referencedRelation: "wo_overview";
26988
+ referencedColumns: ["id"];
26989
+ }
26990
+ ];
26991
+ };
26341
26992
  werkbon_time_logs: {
26342
26993
  Row: {
26343
26994
  activity: string;
@@ -27765,6 +28416,14 @@ export type Database = {
27765
28416
  };
27766
28417
  Returns: number;
27767
28418
  };
28419
+ _jsonb_paden_met_waarde: {
28420
+ Args: {
28421
+ _j: Json;
28422
+ _pad?: string[];
28423
+ _w: string;
28424
+ };
28425
+ Returns: string[][];
28426
+ };
27768
28427
  _migrate_rewrite_stock_key: {
27769
28428
  Args: {
27770
28429
  _from_key: string;
@@ -28029,16 +28688,21 @@ export type Database = {
28029
28688
  lokale_pdf_print_plek_id: string | null;
28030
28689
  lokale_pdf_status: string | null;
28031
28690
  opgepakt_op: string | null;
28691
+ origineel_sleutel: string | null;
28032
28692
  paginas: number;
28033
28693
  payload: Json;
28034
28694
  pdf_base64: string | null;
28035
28695
  pdf_url: string | null;
28036
28696
  pogingen: number;
28037
28697
  printer_id: string | null;
28698
+ printnode_bericht: string | null;
28699
+ printnode_status: string | null;
28700
+ printnode_status_op: string | null;
28038
28701
  render_html: string | null;
28039
28702
  resultaat_pdf_base64: string | null;
28040
28703
  status: Database["public"]["Enums"]["print_job_status"];
28041
28704
  updated_at: string;
28705
+ verloopt_na_s: number | null;
28042
28706
  verwerkingsfase: string;
28043
28707
  volgende_poging: string | null;
28044
28708
  voltooid_op: string | null;
@@ -28090,6 +28754,7 @@ export type Database = {
28090
28754
  next_attempt_at: string;
28091
28755
  number_of_pieces: number;
28092
28756
  price_note: string | null;
28757
+ price_previous: number | null;
28093
28758
  price_sent: number | null;
28094
28759
  price_status: string | null;
28095
28760
  product_id: string | null;
@@ -28219,16 +28884,21 @@ export type Database = {
28219
28884
  lokale_pdf_print_plek_id: string | null;
28220
28885
  lokale_pdf_status: string | null;
28221
28886
  opgepakt_op: string | null;
28887
+ origineel_sleutel: string | null;
28222
28888
  paginas: number;
28223
28889
  payload: Json;
28224
28890
  pdf_base64: string | null;
28225
28891
  pdf_url: string | null;
28226
28892
  pogingen: number;
28227
28893
  printer_id: string | null;
28894
+ printnode_bericht: string | null;
28895
+ printnode_status: string | null;
28896
+ printnode_status_op: string | null;
28228
28897
  render_html: string | null;
28229
28898
  resultaat_pdf_base64: string | null;
28230
28899
  status: Database["public"]["Enums"]["print_job_status"];
28231
28900
  updated_at: string;
28901
+ verloopt_na_s: number | null;
28232
28902
  verwerkingsfase: string;
28233
28903
  volgende_poging: string | null;
28234
28904
  voltooid_op: string | null;
@@ -28280,16 +28950,21 @@ export type Database = {
28280
28950
  lokale_pdf_print_plek_id: string | null;
28281
28951
  lokale_pdf_status: string | null;
28282
28952
  opgepakt_op: string | null;
28953
+ origineel_sleutel: string | null;
28283
28954
  paginas: number;
28284
28955
  payload: Json;
28285
28956
  pdf_base64: string | null;
28286
28957
  pdf_url: string | null;
28287
28958
  pogingen: number;
28288
28959
  printer_id: string | null;
28960
+ printnode_bericht: string | null;
28961
+ printnode_status: string | null;
28962
+ printnode_status_op: string | null;
28289
28963
  render_html: string | null;
28290
28964
  resultaat_pdf_base64: string | null;
28291
28965
  status: Database["public"]["Enums"]["print_job_status"];
28292
28966
  updated_at: string;
28967
+ verloopt_na_s: number | null;
28293
28968
  verwerkingsfase: string;
28294
28969
  volgende_poging: string | null;
28295
28970
  voltooid_op: string | null;
@@ -28540,6 +29215,10 @@ export type Database = {
28540
29215
  Args: never;
28541
29216
  Returns: Json;
28542
29217
  };
29218
+ dashboard_alert_counts_v2: {
29219
+ Args: never;
29220
+ Returns: Json;
29221
+ };
28543
29222
  dashboard_alert_rows: {
28544
29223
  Args: {
28545
29224
  check_id: string;
@@ -28547,6 +29226,17 @@ export type Database = {
28547
29226
  };
28548
29227
  Returns: Json;
28549
29228
  };
29229
+ dashboard_alert_rows_v2: {
29230
+ Args: {
29231
+ check_id: string;
29232
+ row_limit?: number;
29233
+ };
29234
+ Returns: Json;
29235
+ };
29236
+ dashboard_ensure_start_page: {
29237
+ Args: never;
29238
+ Returns: string;
29239
+ };
28550
29240
  dashboard_funnel_betaald: {
28551
29241
  Args: {
28552
29242
  _bedragen: number[];
@@ -28568,6 +29258,19 @@ export type Database = {
28568
29258
  table_name: string;
28569
29259
  }[];
28570
29260
  };
29261
+ dashboard_order_state: {
29262
+ Args: {
29263
+ _order_id: string;
29264
+ };
29265
+ Returns: string;
29266
+ };
29267
+ dashboard_pit_tellingen: {
29268
+ Args: {
29269
+ _mail_connecties?: string[];
29270
+ _vandaag: string;
29271
+ };
29272
+ Returns: Json;
29273
+ };
28571
29274
  dashboard_werkbon_funnel: {
28572
29275
  Args: {
28573
29276
  _periode?: string;
@@ -28895,6 +29598,13 @@ export type Database = {
28895
29598
  stock: number;
28896
29599
  }[];
28897
29600
  };
29601
+ geladen_etiketten: {
29602
+ Args: {
29603
+ _print_plek_id?: string;
29604
+ _werkplek_id?: string;
29605
+ };
29606
+ Returns: Json;
29607
+ };
28898
29608
  get_active_floriday_connection_public: {
28899
29609
  Args: never;
28900
29610
  Returns: {
@@ -29601,6 +30311,13 @@ export type Database = {
29601
30311
  };
29602
30312
  Returns: Json;
29603
30313
  };
30314
+ invoice_register_send: {
30315
+ Args: {
30316
+ _invoice_id: string;
30317
+ _outbox_id: string;
30318
+ };
30319
+ Returns: Json;
30320
+ };
29604
30321
  invoice_resync_concept_from_work_order: {
29605
30322
  Args: {
29606
30323
  _werkbon_id: string;
@@ -29626,6 +30343,13 @@ export type Database = {
29626
30343
  };
29627
30344
  Returns: Json;
29628
30345
  };
30346
+ invoice_status_transition_ok: {
30347
+ Args: {
30348
+ _from: string;
30349
+ _to: string;
30350
+ };
30351
+ Returns: boolean;
30352
+ };
29629
30353
  invoice_update_full: {
29630
30354
  Args: {
29631
30355
  _invoice_id: string;
@@ -29668,6 +30392,19 @@ export type Database = {
29668
30392
  Args: never;
29669
30393
  Returns: boolean;
29670
30394
  };
30395
+ itk_customer_stats: {
30396
+ Args: {
30397
+ _customer_ids: string[];
30398
+ };
30399
+ Returns: {
30400
+ afgerond: number;
30401
+ bezig: number;
30402
+ customer_id: string;
30403
+ klussen: number;
30404
+ omzet_cents: number;
30405
+ open: number;
30406
+ }[];
30407
+ };
29671
30408
  itk_offerte_naar_werkbon: {
29672
30409
  Args: {
29673
30410
  _offerte_id: string;
@@ -29681,6 +30418,16 @@ export type Database = {
29681
30418
  };
29682
30419
  Returns: number;
29683
30420
  };
30421
+ itk_top_customers_by_revenue: {
30422
+ Args: {
30423
+ _limit?: number;
30424
+ };
30425
+ Returns: {
30426
+ customer_id: string;
30427
+ name: string;
30428
+ omzet_cents: number;
30429
+ }[];
30430
+ };
29684
30431
  jwt_has_role: {
29685
30432
  Args: {
29686
30433
  _role: Database["public"]["Enums"]["app_role"];
@@ -29696,6 +30443,7 @@ export type Database = {
29696
30443
  _is_herprint?: boolean;
29697
30444
  _kopieen?: number;
29698
30445
  _layout_id?: string;
30446
+ _mislukt_reden?: string;
29699
30447
  _payload?: Json;
29700
30448
  _pdf_base64?: string;
29701
30449
  _pdf_url?: string;
@@ -29704,10 +30452,27 @@ export type Database = {
29704
30452
  };
29705
30453
  Returns: {
29706
30454
  bestaand: boolean;
30455
+ fout_bericht: string;
30456
+ fout_code: string;
29707
30457
  job_id: string;
30458
+ mislukt: boolean;
29708
30459
  printer_id: string;
30460
+ status: string;
29709
30461
  }[];
29710
30462
  };
30463
+ layout_verwijzing_omzetten: {
30464
+ Args: {
30465
+ _nieuw: string;
30466
+ _oud: string;
30467
+ _rij_id: string;
30468
+ _tabel: string;
30469
+ };
30470
+ Returns: undefined;
30471
+ };
30472
+ layout_verwijzingen: {
30473
+ Args: never;
30474
+ Returns: Json;
30475
+ };
29711
30476
  list_medewerkers: {
29712
30477
  Args: never;
29713
30478
  Returns: {
@@ -29873,6 +30638,20 @@ export type Database = {
29873
30638
  };
29874
30639
  Returns: boolean;
29875
30640
  };
30641
+ logistics_archived_orders: {
30642
+ Args: never;
30643
+ Returns: {
30644
+ archived_at: string;
30645
+ attempts: number;
30646
+ delivery_date: string;
30647
+ last_error: string;
30648
+ order_id: string;
30649
+ order_ref: string;
30650
+ queue_id: string;
30651
+ reason: string;
30652
+ reason_code: string;
30653
+ }[];
30654
+ };
29876
30655
  logistics_backorder_allowed: {
29877
30656
  Args: {
29878
30657
  p_strategy_id?: string;
@@ -29921,6 +30700,13 @@ export type Database = {
29921
30700
  Args: never;
29922
30701
  Returns: Json;
29923
30702
  };
30703
+ logistics_brief_transport: {
30704
+ Args: {
30705
+ p_cart_id?: string;
30706
+ p_order_id: string;
30707
+ };
30708
+ Returns: Json;
30709
+ };
29924
30710
  logistics_buffer_criteria: {
29925
30711
  Args: {
29926
30712
  p_settings: Json;
@@ -30057,6 +30843,12 @@ export type Database = {
30057
30843
  };
30058
30844
  Returns: boolean;
30059
30845
  };
30846
+ logistics_cart_ids_frozen: {
30847
+ Args: {
30848
+ p_cart_ids: string[];
30849
+ };
30850
+ Returns: string[];
30851
+ };
30060
30852
  logistics_cart_index: {
30061
30853
  Args: {
30062
30854
  p_from?: string;
@@ -30083,6 +30875,12 @@ export type Database = {
30083
30875
  task_status: string;
30084
30876
  }[];
30085
30877
  };
30878
+ logistics_cart_is_frozen: {
30879
+ Args: {
30880
+ p_cart_id: string;
30881
+ };
30882
+ Returns: boolean;
30883
+ };
30086
30884
  logistics_cart_is_full: {
30087
30885
  Args: {
30088
30886
  p_cart_id: string;
@@ -30155,6 +30953,12 @@ export type Database = {
30155
30953
  };
30156
30954
  Returns: Json;
30157
30955
  };
30956
+ logistics_cart_sticker_state: {
30957
+ Args: {
30958
+ p_cart_id: string;
30959
+ };
30960
+ Returns: Json;
30961
+ };
30158
30962
  logistics_cart_units: {
30159
30963
  Args: {
30160
30964
  p_from?: string;
@@ -30756,6 +31560,12 @@ export type Database = {
30756
31560
  Args: never;
30757
31561
  Returns: Json;
30758
31562
  };
31563
+ logistics_floriday_layout_id: {
31564
+ Args: {
31565
+ p_documenttype: string;
31566
+ };
31567
+ Returns: Json;
31568
+ };
30759
31569
  logistics_floriday_log_refusal: {
30760
31570
  Args: {
30761
31571
  _action?: string;
@@ -30987,6 +31797,12 @@ export type Database = {
30987
31797
  };
30988
31798
  Returns: string[];
30989
31799
  };
31800
+ logistics_order_definitively_blocked: {
31801
+ Args: {
31802
+ p_order_id: string;
31803
+ };
31804
+ Returns: Json;
31805
+ };
30990
31806
  logistics_order_documents_ready: {
30991
31807
  Args: {
30992
31808
  p_order_ref: string;
@@ -31055,6 +31871,12 @@ export type Database = {
31055
31871
  };
31056
31872
  Returns: boolean;
31057
31873
  };
31874
+ logistics_order_is_archived: {
31875
+ Args: {
31876
+ p_order_id: string;
31877
+ };
31878
+ Returns: Json;
31879
+ };
31058
31880
  logistics_order_is_backlog: {
31059
31881
  Args: {
31060
31882
  p_order_id: string;
@@ -31165,6 +31987,12 @@ export type Database = {
31165
31987
  };
31166
31988
  Returns: boolean;
31167
31989
  };
31990
+ logistics_order_sticker_meldingen: {
31991
+ Args: {
31992
+ p_order_id: string;
31993
+ };
31994
+ Returns: Json;
31995
+ };
31168
31996
  logistics_packing_autofix: {
31169
31997
  Args: {
31170
31998
  p_limit?: number;
@@ -31319,6 +32147,14 @@ export type Database = {
31319
32147
  order_id: string;
31320
32148
  }[];
31321
32149
  };
32150
+ logistics_plan_close_claim: {
32151
+ Args: {
32152
+ p_id: string;
32153
+ p_reason: string;
32154
+ p_reason_code?: string;
32155
+ };
32156
+ Returns: boolean;
32157
+ };
31322
32158
  logistics_plan_coverage_check: {
31323
32159
  Args: {
31324
32160
  p_limit?: number;
@@ -31374,6 +32210,10 @@ export type Database = {
31374
32210
  };
31375
32211
  Returns: number;
31376
32212
  };
32213
+ logistics_plan_housekeeping: {
32214
+ Args: never;
32215
+ Returns: Json;
32216
+ };
31377
32217
  logistics_plan_impact_orders: {
31378
32218
  Args: {
31379
32219
  p_order_id: string;
@@ -31485,6 +32325,12 @@ export type Database = {
31485
32325
  Args: never;
31486
32326
  Returns: number;
31487
32327
  };
32328
+ logistics_plan_unarchive: {
32329
+ Args: {
32330
+ p_order_ids: string[];
32331
+ };
32332
+ Returns: number;
32333
+ };
31488
32334
  logistics_plan_wachttijd: {
31489
32335
  Args: {
31490
32336
  p_order_id: string;
@@ -31538,6 +32384,12 @@ export type Database = {
31538
32384
  };
31539
32385
  Returns: Json;
31540
32386
  };
32387
+ logistics_print_job_state: {
32388
+ Args: {
32389
+ p_job_id: string;
32390
+ };
32391
+ Returns: string;
32392
+ };
31541
32393
  logistics_print_via_layout: {
31542
32394
  Args: {
31543
32395
  _documentnaam: string;
@@ -32033,6 +32885,13 @@ export type Database = {
32033
32885
  };
32034
32886
  Returns: undefined;
32035
32887
  };
32888
+ logistics_slip_note_hold_layout: {
32889
+ Args: {
32890
+ _id: string;
32891
+ _reason: string;
32892
+ };
32893
+ Returns: undefined;
32894
+ };
32036
32895
  logistics_slip_note_keep_waiting: {
32037
32896
  Args: {
32038
32897
  _class?: string;
@@ -32041,16 +32900,64 @@ export type Database = {
32041
32900
  };
32042
32901
  Returns: undefined;
32043
32902
  };
32903
+ logistics_slip_note_release_layout: {
32904
+ Args: never;
32905
+ Returns: number;
32906
+ };
32044
32907
  logistics_slip_note_retry: {
32045
32908
  Args: {
32046
32909
  _id: string;
32047
32910
  };
32048
32911
  Returns: Json;
32049
32912
  };
32913
+ logistics_sticker_cart_plek: {
32914
+ Args: {
32915
+ _cart: string;
32916
+ _fallback: string;
32917
+ };
32918
+ Returns: string;
32919
+ };
32050
32920
  logistics_sticker_follows_slip: {
32051
32921
  Args: never;
32052
32922
  Returns: boolean;
32053
32923
  };
32924
+ logistics_sticker_moment: {
32925
+ Args: {
32926
+ _cart: string;
32927
+ _hours: number;
32928
+ _order_number: string;
32929
+ _release: string;
32930
+ };
32931
+ Returns: boolean;
32932
+ };
32933
+ logistics_sticker_parse_size: {
32934
+ Args: {
32935
+ p: Json;
32936
+ };
32937
+ Returns: number[];
32938
+ };
32939
+ logistics_sticker_sync: {
32940
+ Args: {
32941
+ p_limit?: number;
32942
+ };
32943
+ Returns: Json;
32944
+ };
32945
+ logistics_sticker_upsert: {
32946
+ Args: {
32947
+ _bron: string;
32948
+ _cart: string;
32949
+ _fo: string;
32950
+ _kopieen: number;
32951
+ _order: string;
32952
+ _order_number: string;
32953
+ _plek: string;
32954
+ _reden: string;
32955
+ _size: number[];
32956
+ _soort: string;
32957
+ _status: string;
32958
+ };
32959
+ Returns: undefined;
32960
+ };
32054
32961
  logistics_subtract_working_minutes: {
32055
32962
  Args: {
32056
32963
  p_deadline: string;
@@ -33243,6 +34150,13 @@ export type Database = {
33243
34150
  };
33244
34151
  Returns: Json;
33245
34152
  };
34153
+ pickstation_cart_sticker_state: {
34154
+ Args: {
34155
+ p_cart_id: string;
34156
+ p_slug: string;
34157
+ };
34158
+ Returns: Json;
34159
+ };
33246
34160
  pickstation_get_orders_raw: {
33247
34161
  Args: never;
33248
34162
  Returns: Json;
@@ -33265,6 +34179,13 @@ export type Database = {
33265
34179
  };
33266
34180
  Returns: undefined;
33267
34181
  };
34182
+ pickstation_order_sticker_meldingen: {
34183
+ Args: {
34184
+ p_order_id: string;
34185
+ p_slug: string;
34186
+ };
34187
+ Returns: Json;
34188
+ };
33268
34189
  pickstation_resolve_delivery_orders: {
33269
34190
  Args: {
33270
34191
  p_sales_order_ids: string[];
@@ -33330,6 +34251,12 @@ export type Database = {
33330
34251
  };
33331
34252
  Returns: undefined;
33332
34253
  };
34254
+ planning_cleanup_old_logs: {
34255
+ Args: {
34256
+ _keep_days?: number;
34257
+ };
34258
+ Returns: number;
34259
+ };
33333
34260
  planning_html_escape: {
33334
34261
  Args: {
33335
34262
  t: string;
@@ -33370,6 +34297,10 @@ export type Database = {
33370
34297
  isSetofReturn: true;
33371
34298
  };
33372
34299
  };
34300
+ planning_mijn_eigen_vervoer: {
34301
+ Args: never;
34302
+ Returns: boolean;
34303
+ };
33373
34304
  planning_set_assistants: {
33374
34305
  Args: {
33375
34306
  _monteur_ids: string[];
@@ -33396,6 +34327,29 @@ export type Database = {
33396
34327
  };
33397
34328
  Returns: string;
33398
34329
  };
34330
+ print_formaat_klasse: {
34331
+ Args: {
34332
+ _code: string;
34333
+ };
34334
+ Returns: string;
34335
+ };
34336
+ print_is_etiketsoort: {
34337
+ Args: {
34338
+ _t: string;
34339
+ };
34340
+ Returns: boolean;
34341
+ };
34342
+ print_job_status_uitgebreid: {
34343
+ Args: {
34344
+ _job_id: string;
34345
+ };
34346
+ Returns: {
34347
+ fout_bericht: string;
34348
+ fout_code: string;
34349
+ mislukt: boolean;
34350
+ status: string;
34351
+ }[];
34352
+ };
33399
34353
  print_preview_toestaan: {
33400
34354
  Args: {
33401
34355
  _max?: number;
@@ -33414,6 +34368,14 @@ export type Database = {
33414
34368
  };
33415
34369
  Returns: undefined;
33416
34370
  };
34371
+ print_werkplek_keuze: {
34372
+ Args: {
34373
+ _documenttype: string;
34374
+ _klasse: string;
34375
+ _werkplek_id: string;
34376
+ };
34377
+ Returns: Json;
34378
+ };
33417
34379
  printer_gebruik: {
33418
34380
  Args: {
33419
34381
  _printer: string;
@@ -33427,6 +34389,7 @@ export type Database = {
33427
34389
  _papierformaat?: string;
33428
34390
  _print_plek_id?: string;
33429
34391
  _werkplek?: string;
34392
+ _werkplek_id?: string;
33430
34393
  };
33431
34394
  Returns: Json;
33432
34395
  };
@@ -34738,6 +35701,10 @@ export type Database = {
34738
35701
  };
34739
35702
  Returns: undefined;
34740
35703
  };
35704
+ uren_cao_settings_zorg: {
35705
+ Args: never;
35706
+ Returns: string;
35707
+ };
34741
35708
  uren_collega_agenda: {
34742
35709
  Args: {
34743
35710
  _monteur: string;
@@ -34898,10 +35865,22 @@ export type Database = {
34898
35865
  Args: never;
34899
35866
  Returns: number;
34900
35867
  };
35868
+ uren_module_gezondheid: {
35869
+ Args: never;
35870
+ Returns: Json;
35871
+ };
35872
+ uren_module_status: {
35873
+ Args: never;
35874
+ Returns: Json;
35875
+ };
34901
35876
  uren_my_monteur_id: {
34902
35877
  Args: never;
34903
35878
  Returns: string;
34904
35879
  };
35880
+ uren_opschonen_indien_nodig: {
35881
+ Args: never;
35882
+ Returns: boolean;
35883
+ };
34905
35884
  uren_overuren_indienen: {
34906
35885
  Args: {
34907
35886
  _datum: string;
@@ -34912,6 +35891,12 @@ export type Database = {
34912
35891
  };
34913
35892
  Returns: undefined;
34914
35893
  };
35894
+ uren_overuren_intrekken: {
35895
+ Args: {
35896
+ _datum: string;
35897
+ };
35898
+ Returns: undefined;
35899
+ };
34915
35900
  uren_pagina_toegang_instellen: {
34916
35901
  Args: {
34917
35902
  _toegang: boolean;
@@ -35305,6 +36290,23 @@ export type Database = {
35305
36290
  total_minutes: number;
35306
36291
  }[];
35307
36292
  };
36293
+ werkplek_omzetting_toepassen: {
36294
+ Args: {
36295
+ _werkplekken: Json;
36296
+ };
36297
+ Returns: Json;
36298
+ };
36299
+ werkplek_omzetting_voorstel: {
36300
+ Args: never;
36301
+ Returns: Json;
36302
+ };
36303
+ wo_boek_standby_tijdvakken: {
36304
+ Args: {
36305
+ _tijdvakken: Json;
36306
+ _werkbon_id: string;
36307
+ };
36308
+ Returns: Json;
36309
+ };
35308
36310
  wo_boek_standby_uren: {
35309
36311
  Args: {
35310
36312
  _datum: string;
@@ -35420,11 +36422,31 @@ export type Database = {
35420
36422
  };
35421
36423
  Returns: Json;
35422
36424
  };
36425
+ wo_standby_dag_herberekenen: {
36426
+ Args: {
36427
+ _datum: string;
36428
+ _monteur: string;
36429
+ };
36430
+ Returns: Json;
36431
+ };
36432
+ wo_standby_ov_dag: {
36433
+ Args: {
36434
+ _dienst: Json;
36435
+ _dow: number;
36436
+ _feest: boolean;
36437
+ _vakken: Json;
36438
+ };
36439
+ Returns: Json;
36440
+ };
36441
+ wo_standby_tijdzone: {
36442
+ Args: never;
36443
+ Returns: string;
36444
+ };
35423
36445
  };
35424
36446
  Enums: {
35425
36447
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
35426
36448
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
35427
- doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
36449
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker";
35428
36450
  doc_orientation: "portrait" | "landscape";
35429
36451
  exact_env: "staging" | "live";
35430
36452
  exact_push_status: "pending" | "sent" | "error";
@@ -35495,7 +36517,7 @@ export declare const Constants: {
35495
36517
  readonly Enums: {
35496
36518
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
35497
36519
  readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
35498
- readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
36520
+ readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker"];
35499
36521
  readonly doc_orientation: readonly ["portrait", "landscape"];
35500
36522
  readonly exact_env: readonly ["staging", "live"];
35501
36523
  readonly exact_push_status: readonly ["pending", "sent", "error"];