@flowselections/floriday-voorraad 1.0.72 → 1.0.75

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 (24) hide show
  1. package/dist-lib/components/voorraad/ArtikelWizard.d.ts.map +1 -1
  2. package/dist-lib/components/voorraad/ArtikelWizard.js +1 -1
  3. package/dist-lib/components/voorraad/FloridaySentCard.d.ts.map +1 -1
  4. package/dist-lib/components/voorraad/FloridaySentCard.js +15 -2
  5. package/dist-lib/components/voorraad/NieuwArtikelPage.d.ts.map +1 -1
  6. package/dist-lib/components/voorraad/NieuwArtikelPage.js +1 -0
  7. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts +3 -1
  8. package/dist-lib/components/voorraad/PriceStatusBadge.d.ts.map +1 -1
  9. package/dist-lib/components/voorraad/PriceStatusBadge.js +64 -14
  10. package/dist-lib/components/voorraad/ProductStructureCard.js +1 -1
  11. package/dist-lib/components/voorraad/StockMutationHistoryCard.d.ts.map +1 -1
  12. package/dist-lib/components/voorraad/StockMutationHistoryCard.js +1 -0
  13. package/dist-lib/components/voorraad/StockPushMonitor.d.ts.map +1 -1
  14. package/dist-lib/components/voorraad/StockPushMonitor.js +8 -2
  15. package/dist-lib/components/voorraad/VoorraadPage.d.ts.map +1 -1
  16. package/dist-lib/components/voorraad/VoorraadPage.js +3 -2
  17. package/dist-lib/components/voorraad/VoorraadStockCard.d.ts.map +1 -1
  18. package/dist-lib/components/voorraad/VoorraadStockCard.js +1 -1
  19. package/dist-lib/components/voorraad/VoorraadTable.d.ts.map +1 -1
  20. package/dist-lib/components/voorraad/VoorraadTable.js +2 -1
  21. package/dist-lib/integrations/supabase/types.d.ts +1127 -2
  22. package/dist-lib/integrations/supabase/types.d.ts.map +1 -1
  23. package/dist-lib/integrations/supabase/types.js +1 -0
  24. package/package.json +3 -3
@@ -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;
@@ -7052,6 +7064,59 @@ export type Database = {
7052
7064
  }
7053
7065
  ];
7054
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
+ };
7055
7120
  floriday_customer_stickers_cache: {
7056
7121
  Row: {
7057
7122
  connection_id: string;
@@ -7379,6 +7444,59 @@ export type Database = {
7379
7444
  }
7380
7445
  ];
7381
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
+ };
7382
7500
  floriday_fulfillment_orders_cache: {
7383
7501
  Row: {
7384
7502
  auction_date: string | null;
@@ -11497,6 +11615,57 @@ export type Database = {
11497
11615
  };
11498
11616
  Relationships: [];
11499
11617
  };
11618
+ logistics_auto_send: {
11619
+ Row: {
11620
+ attempts: number;
11621
+ cart_ids: string[];
11622
+ created_at: string;
11623
+ id: string;
11624
+ idempotency_key: string;
11625
+ last_http_status: number | null;
11626
+ locked_until: string | null;
11627
+ max_attempts: number;
11628
+ next_attempt_at: string;
11629
+ order_id: string;
11630
+ reason: string | null;
11631
+ sent_at: string | null;
11632
+ status: string;
11633
+ updated_at: string;
11634
+ };
11635
+ Insert: {
11636
+ attempts?: number;
11637
+ cart_ids?: string[];
11638
+ created_at?: string;
11639
+ id?: string;
11640
+ idempotency_key: string;
11641
+ last_http_status?: number | null;
11642
+ locked_until?: string | null;
11643
+ max_attempts?: number;
11644
+ next_attempt_at?: string;
11645
+ order_id: string;
11646
+ reason?: string | null;
11647
+ sent_at?: string | null;
11648
+ status?: string;
11649
+ updated_at?: string;
11650
+ };
11651
+ Update: {
11652
+ attempts?: number;
11653
+ cart_ids?: string[];
11654
+ created_at?: string;
11655
+ id?: string;
11656
+ idempotency_key?: string;
11657
+ last_http_status?: number | null;
11658
+ locked_until?: string | null;
11659
+ max_attempts?: number;
11660
+ next_attempt_at?: string;
11661
+ order_id?: string;
11662
+ reason?: string | null;
11663
+ sent_at?: string | null;
11664
+ status?: string;
11665
+ updated_at?: string;
11666
+ };
11667
+ Relationships: [];
11668
+ };
11500
11669
  logistics_autolink_audit: {
11501
11670
  Row: {
11502
11671
  created_at: string;
@@ -12622,6 +12791,54 @@ export type Database = {
12622
12791
  }
12623
12792
  ];
12624
12793
  };
12794
+ logistics_order_sticker_warnings: {
12795
+ Row: {
12796
+ benodigd_breedte_mm: number | null;
12797
+ benodigd_hoogte_mm: number | null;
12798
+ bron_id: string;
12799
+ created_at: string;
12800
+ geladen_breedte_mm: number | null;
12801
+ geladen_hoogte_mm: number | null;
12802
+ id: string;
12803
+ melding: string;
12804
+ opgelost_op: string | null;
12805
+ order_id: string;
12806
+ plek: string | null;
12807
+ soort: string;
12808
+ updated_at: string;
12809
+ };
12810
+ Insert: {
12811
+ benodigd_breedte_mm?: number | null;
12812
+ benodigd_hoogte_mm?: number | null;
12813
+ bron_id: string;
12814
+ created_at?: string;
12815
+ geladen_breedte_mm?: number | null;
12816
+ geladen_hoogte_mm?: number | null;
12817
+ id?: string;
12818
+ melding: string;
12819
+ opgelost_op?: string | null;
12820
+ order_id: string;
12821
+ plek?: string | null;
12822
+ soort: string;
12823
+ updated_at?: string;
12824
+ };
12825
+ Update: {
12826
+ benodigd_breedte_mm?: number | null;
12827
+ benodigd_hoogte_mm?: number | null;
12828
+ bron_id?: string;
12829
+ created_at?: string;
12830
+ geladen_breedte_mm?: number | null;
12831
+ geladen_hoogte_mm?: number | null;
12832
+ id?: string;
12833
+ melding?: string;
12834
+ opgelost_op?: string | null;
12835
+ order_id?: string;
12836
+ plek?: string | null;
12837
+ soort?: string;
12838
+ updated_at?: string;
12839
+ };
12840
+ Relationships: [];
12841
+ };
12625
12842
  logistics_packing_deviations: {
12626
12843
  Row: {
12627
12844
  auto_fixed_at: string | null;
@@ -13451,6 +13668,78 @@ export type Database = {
13451
13668
  };
13452
13669
  Relationships: [];
13453
13670
  };
13671
+ logistics_sticker_prints: {
13672
+ Row: {
13673
+ attempts: number;
13674
+ breedte_mm: number | null;
13675
+ bron_id: string;
13676
+ cart_id: string | null;
13677
+ created_at: string;
13678
+ fulfillment_order_id: string | null;
13679
+ handled_at: string | null;
13680
+ handled_error: string | null;
13681
+ handled_next_at: string | null;
13682
+ hoogte_mm: number | null;
13683
+ id: string;
13684
+ kopieen: number;
13685
+ next_attempt_at: string | null;
13686
+ order_id: string | null;
13687
+ order_number: string | null;
13688
+ print_job_id: string | null;
13689
+ print_plek_id: string | null;
13690
+ reden: string | null;
13691
+ soort: string;
13692
+ status: string;
13693
+ updated_at: string;
13694
+ };
13695
+ Insert: {
13696
+ attempts?: number;
13697
+ breedte_mm?: number | null;
13698
+ bron_id: string;
13699
+ cart_id?: string | null;
13700
+ created_at?: string;
13701
+ fulfillment_order_id?: string | null;
13702
+ handled_at?: string | null;
13703
+ handled_error?: string | null;
13704
+ handled_next_at?: string | null;
13705
+ hoogte_mm?: number | null;
13706
+ id?: string;
13707
+ kopieen?: number;
13708
+ next_attempt_at?: string | null;
13709
+ order_id?: string | null;
13710
+ order_number?: string | null;
13711
+ print_job_id?: string | null;
13712
+ print_plek_id?: string | null;
13713
+ reden?: string | null;
13714
+ soort: string;
13715
+ status?: string;
13716
+ updated_at?: string;
13717
+ };
13718
+ Update: {
13719
+ attempts?: number;
13720
+ breedte_mm?: number | null;
13721
+ bron_id?: string;
13722
+ cart_id?: string | null;
13723
+ created_at?: string;
13724
+ fulfillment_order_id?: string | null;
13725
+ handled_at?: string | null;
13726
+ handled_error?: string | null;
13727
+ handled_next_at?: string | null;
13728
+ hoogte_mm?: number | null;
13729
+ id?: string;
13730
+ kopieen?: number;
13731
+ next_attempt_at?: string | null;
13732
+ order_id?: string | null;
13733
+ order_number?: string | null;
13734
+ print_job_id?: string | null;
13735
+ print_plek_id?: string | null;
13736
+ reden?: string | null;
13737
+ soort?: string;
13738
+ status?: string;
13739
+ updated_at?: string;
13740
+ };
13741
+ Relationships: [];
13742
+ };
13454
13743
  logistics_stock_alerts: {
13455
13744
  Row: {
13456
13745
  created_at: string;
@@ -13467,6 +13756,7 @@ export type Database = {
13467
13756
  order_id: string | null;
13468
13757
  order_ref: string;
13469
13758
  priority: number;
13759
+ resolution_reason: string | null;
13470
13760
  resolved_at: string | null;
13471
13761
  resolved_by: string | null;
13472
13762
  shortages: Json;
@@ -13489,6 +13779,7 @@ export type Database = {
13489
13779
  order_id?: string | null;
13490
13780
  order_ref: string;
13491
13781
  priority?: number;
13782
+ resolution_reason?: string | null;
13492
13783
  resolved_at?: string | null;
13493
13784
  resolved_by?: string | null;
13494
13785
  shortages?: Json;
@@ -13511,6 +13802,7 @@ export type Database = {
13511
13802
  order_id?: string | null;
13512
13803
  order_ref?: string;
13513
13804
  priority?: number;
13805
+ resolution_reason?: string | null;
13514
13806
  resolved_at?: string | null;
13515
13807
  resolved_by?: string | null;
13516
13808
  shortages?: Json;
@@ -16508,6 +16800,44 @@ export type Database = {
16508
16800
  };
16509
16801
  Relationships: [];
16510
16802
  };
16803
+ order_review_dismissals: {
16804
+ Row: {
16805
+ dismissed_at: string;
16806
+ dismissed_by: string | null;
16807
+ id: string;
16808
+ kind: string;
16809
+ note: string | null;
16810
+ order_id: string;
16811
+ review_reason: string;
16812
+ };
16813
+ Insert: {
16814
+ dismissed_at?: string;
16815
+ dismissed_by?: string | null;
16816
+ id?: string;
16817
+ kind: string;
16818
+ note?: string | null;
16819
+ order_id: string;
16820
+ review_reason: string;
16821
+ };
16822
+ Update: {
16823
+ dismissed_at?: string;
16824
+ dismissed_by?: string | null;
16825
+ id?: string;
16826
+ kind?: string;
16827
+ note?: string | null;
16828
+ order_id?: string;
16829
+ review_reason?: string;
16830
+ };
16831
+ Relationships: [
16832
+ {
16833
+ foreignKeyName: "order_review_dismissals_order_id_fkey";
16834
+ columns: ["order_id"];
16835
+ isOneToOne: false;
16836
+ referencedRelation: "orders";
16837
+ referencedColumns: ["id"];
16838
+ }
16839
+ ];
16840
+ };
16511
16841
  order_shipment_items: {
16512
16842
  Row: {
16513
16843
  created_at: string;
@@ -18273,6 +18603,7 @@ export type Database = {
18273
18603
  created_at: string;
18274
18604
  default_end: string;
18275
18605
  default_start: string;
18606
+ eigen_vervoer: boolean;
18276
18607
  end_address: string | null;
18277
18608
  home_address: string | null;
18278
18609
  id: string;
@@ -18284,6 +18615,7 @@ export type Database = {
18284
18615
  created_at?: string;
18285
18616
  default_end?: string;
18286
18617
  default_start?: string;
18618
+ eigen_vervoer?: boolean;
18287
18619
  end_address?: string | null;
18288
18620
  home_address?: string | null;
18289
18621
  id?: string;
@@ -18295,6 +18627,7 @@ export type Database = {
18295
18627
  created_at?: string;
18296
18628
  default_end?: string;
18297
18629
  default_start?: string;
18630
+ eigen_vervoer?: boolean;
18298
18631
  end_address?: string | null;
18299
18632
  home_address?: string | null;
18300
18633
  id?: string;
@@ -18727,6 +19060,35 @@ export type Database = {
18727
19060
  };
18728
19061
  Relationships: [];
18729
19062
  };
19063
+ print_gebruiker_werkplek: {
19064
+ Row: {
19065
+ created_at: string;
19066
+ updated_at: string;
19067
+ user_id: string;
19068
+ werkplek_id: string;
19069
+ };
19070
+ Insert: {
19071
+ created_at?: string;
19072
+ updated_at?: string;
19073
+ user_id: string;
19074
+ werkplek_id: string;
19075
+ };
19076
+ Update: {
19077
+ created_at?: string;
19078
+ updated_at?: string;
19079
+ user_id?: string;
19080
+ werkplek_id?: string;
19081
+ };
19082
+ Relationships: [
19083
+ {
19084
+ foreignKeyName: "print_gebruiker_werkplek_werkplek_id_fkey";
19085
+ columns: ["werkplek_id"];
19086
+ isOneToOne: false;
19087
+ referencedRelation: "print_werkplekken";
19088
+ referencedColumns: ["id"];
19089
+ }
19090
+ ];
19091
+ };
18730
19092
  print_genegeerde_computers: {
18731
19093
  Row: {
18732
19094
  computer_naam: string;
@@ -19293,6 +19655,103 @@ export type Database = {
19293
19655
  }
19294
19656
  ];
19295
19657
  };
19658
+ print_werkplek_afwijkingen: {
19659
+ Row: {
19660
+ created_at: string;
19661
+ documenttype: string;
19662
+ id: string;
19663
+ printer_id: string | null;
19664
+ updated_at: string;
19665
+ werkplek_id: string;
19666
+ };
19667
+ Insert: {
19668
+ created_at?: string;
19669
+ documenttype: string;
19670
+ id?: string;
19671
+ printer_id?: string | null;
19672
+ updated_at?: string;
19673
+ werkplek_id: string;
19674
+ };
19675
+ Update: {
19676
+ created_at?: string;
19677
+ documenttype?: string;
19678
+ id?: string;
19679
+ printer_id?: string | null;
19680
+ updated_at?: string;
19681
+ werkplek_id?: string;
19682
+ };
19683
+ Relationships: [
19684
+ {
19685
+ foreignKeyName: "print_werkplek_afwijkingen_printer_id_fkey";
19686
+ columns: ["printer_id"];
19687
+ isOneToOne: false;
19688
+ referencedRelation: "printers";
19689
+ referencedColumns: ["id"];
19690
+ },
19691
+ {
19692
+ foreignKeyName: "print_werkplek_afwijkingen_werkplek_id_fkey";
19693
+ columns: ["werkplek_id"];
19694
+ isOneToOne: false;
19695
+ referencedRelation: "print_werkplekken";
19696
+ referencedColumns: ["id"];
19697
+ }
19698
+ ];
19699
+ };
19700
+ print_werkplekken: {
19701
+ Row: {
19702
+ a4_printer_id: string | null;
19703
+ actief: boolean;
19704
+ created_at: string;
19705
+ id: string;
19706
+ label_printer_id: string | null;
19707
+ naam: string;
19708
+ print_plek_id: string | null;
19709
+ updated_at: string;
19710
+ };
19711
+ Insert: {
19712
+ a4_printer_id?: string | null;
19713
+ actief?: boolean;
19714
+ created_at?: string;
19715
+ id?: string;
19716
+ label_printer_id?: string | null;
19717
+ naam: string;
19718
+ print_plek_id?: string | null;
19719
+ updated_at?: string;
19720
+ };
19721
+ Update: {
19722
+ a4_printer_id?: string | null;
19723
+ actief?: boolean;
19724
+ created_at?: string;
19725
+ id?: string;
19726
+ label_printer_id?: string | null;
19727
+ naam?: string;
19728
+ print_plek_id?: string | null;
19729
+ updated_at?: string;
19730
+ };
19731
+ Relationships: [
19732
+ {
19733
+ foreignKeyName: "print_werkplekken_a4_printer_id_fkey";
19734
+ columns: ["a4_printer_id"];
19735
+ isOneToOne: false;
19736
+ referencedRelation: "printers";
19737
+ referencedColumns: ["id"];
19738
+ },
19739
+ {
19740
+ foreignKeyName: "print_werkplekken_label_printer_id_fkey";
19741
+ columns: ["label_printer_id"];
19742
+ isOneToOne: false;
19743
+ referencedRelation: "printers";
19744
+ referencedColumns: ["id"];
19745
+ },
19746
+ {
19747
+ foreignKeyName: "print_werkplekken_print_plek_id_fkey";
19748
+ columns: ["print_plek_id"];
19749
+ isOneToOne: false;
19750
+ referencedRelation: "print_plekken";
19751
+ referencedColumns: ["id"];
19752
+ }
19753
+ ];
19754
+ };
19296
19755
  printer_mappings: {
19297
19756
  Row: {
19298
19757
  created_at: string;
@@ -19400,6 +19859,47 @@ export type Database = {
19400
19859
  }
19401
19860
  ];
19402
19861
  };
19862
+ printer_routes: {
19863
+ Row: {
19864
+ computer_naam: string | null;
19865
+ created_at: string;
19866
+ extern_printer_id: string;
19867
+ geladen_etiket: Json | null;
19868
+ id: string;
19869
+ printer_id: string;
19870
+ prioriteit: number;
19871
+ updated_at: string;
19872
+ };
19873
+ Insert: {
19874
+ computer_naam?: string | null;
19875
+ created_at?: string;
19876
+ extern_printer_id: string;
19877
+ geladen_etiket?: Json | null;
19878
+ id?: string;
19879
+ printer_id: string;
19880
+ prioriteit?: number;
19881
+ updated_at?: string;
19882
+ };
19883
+ Update: {
19884
+ computer_naam?: string | null;
19885
+ created_at?: string;
19886
+ extern_printer_id?: string;
19887
+ geladen_etiket?: Json | null;
19888
+ id?: string;
19889
+ printer_id?: string;
19890
+ prioriteit?: number;
19891
+ updated_at?: string;
19892
+ };
19893
+ Relationships: [
19894
+ {
19895
+ foreignKeyName: "printer_routes_printer_id_fkey";
19896
+ columns: ["printer_id"];
19897
+ isOneToOne: false;
19898
+ referencedRelation: "printers";
19899
+ referencedColumns: ["id"];
19900
+ }
19901
+ ];
19902
+ };
19403
19903
  printers: {
19404
19904
  Row: {
19405
19905
  actief: boolean;
@@ -19409,8 +19909,10 @@ export type Database = {
19409
19909
  driver: string;
19410
19910
  extern_printer_id: string | null;
19411
19911
  formaten_bijgewerkt_op: string | null;
19912
+ geladen_etiket: Json | null;
19412
19913
  id: string;
19413
19914
  ip_adres: string | null;
19915
+ is_virtueel: boolean;
19414
19916
  laatst_gezien: string | null;
19415
19917
  locatie: string;
19416
19918
  merk: string;
@@ -19426,6 +19928,8 @@ export type Database = {
19426
19928
  systeemnaam: string;
19427
19929
  updated_at: string;
19428
19930
  verbinding: Database["public"]["Enums"]["printer_connection"];
19931
+ verborgen: boolean;
19932
+ weergavenaam: string | null;
19429
19933
  };
19430
19934
  Insert: {
19431
19935
  actief?: boolean;
@@ -19435,8 +19939,10 @@ export type Database = {
19435
19939
  driver?: string;
19436
19940
  extern_printer_id?: string | null;
19437
19941
  formaten_bijgewerkt_op?: string | null;
19942
+ geladen_etiket?: Json | null;
19438
19943
  id?: string;
19439
19944
  ip_adres?: string | null;
19945
+ is_virtueel?: boolean;
19440
19946
  laatst_gezien?: string | null;
19441
19947
  locatie?: string;
19442
19948
  merk?: string;
@@ -19452,6 +19958,8 @@ export type Database = {
19452
19958
  systeemnaam?: string;
19453
19959
  updated_at?: string;
19454
19960
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19961
+ verborgen?: boolean;
19962
+ weergavenaam?: string | null;
19455
19963
  };
19456
19964
  Update: {
19457
19965
  actief?: boolean;
@@ -19461,8 +19969,10 @@ export type Database = {
19461
19969
  driver?: string;
19462
19970
  extern_printer_id?: string | null;
19463
19971
  formaten_bijgewerkt_op?: string | null;
19972
+ geladen_etiket?: Json | null;
19464
19973
  id?: string;
19465
19974
  ip_adres?: string | null;
19975
+ is_virtueel?: boolean;
19466
19976
  laatst_gezien?: string | null;
19467
19977
  locatie?: string;
19468
19978
  merk?: string;
@@ -19478,6 +19988,8 @@ export type Database = {
19478
19988
  systeemnaam?: string;
19479
19989
  updated_at?: string;
19480
19990
  verbinding?: Database["public"]["Enums"]["printer_connection"];
19991
+ verborgen?: boolean;
19992
+ weergavenaam?: string | null;
19481
19993
  };
19482
19994
  Relationships: [
19483
19995
  {
@@ -19489,6 +20001,117 @@ export type Database = {
19489
20001
  }
19490
20002
  ];
19491
20003
  };
20004
+ printnode_webhook_koppeling: {
20005
+ Row: {
20006
+ bereikbaar: string | null;
20007
+ created_at: string;
20008
+ fout: string | null;
20009
+ geheim: string | null;
20010
+ gekoppeld_op: string | null;
20011
+ id: number;
20012
+ laatst_ontvangen_op: string | null;
20013
+ laatste_poging_op: string | null;
20014
+ melding: string | null;
20015
+ pn_geslaagd: number | null;
20016
+ pn_geslaagd_vorig: number | null;
20017
+ pn_mislukt: number | null;
20018
+ pn_ontvangen: number | null;
20019
+ pn_opgehaald_op: string | null;
20020
+ pn_url: string | null;
20021
+ pn_weggegooid: number | null;
20022
+ secret_veld: string | null;
20023
+ status: string;
20024
+ updated_at: string;
20025
+ url: string | null;
20026
+ webhook_id: number | null;
20027
+ zelftest_fout: string | null;
20028
+ zelftest_op: string | null;
20029
+ };
20030
+ Insert: {
20031
+ bereikbaar?: string | null;
20032
+ created_at?: string;
20033
+ fout?: string | null;
20034
+ geheim?: string | null;
20035
+ gekoppeld_op?: string | null;
20036
+ id?: number;
20037
+ laatst_ontvangen_op?: string | null;
20038
+ laatste_poging_op?: string | null;
20039
+ melding?: string | null;
20040
+ pn_geslaagd?: number | null;
20041
+ pn_geslaagd_vorig?: number | null;
20042
+ pn_mislukt?: number | null;
20043
+ pn_ontvangen?: number | null;
20044
+ pn_opgehaald_op?: string | null;
20045
+ pn_url?: string | null;
20046
+ pn_weggegooid?: number | null;
20047
+ secret_veld?: string | null;
20048
+ status?: string;
20049
+ updated_at?: string;
20050
+ url?: string | null;
20051
+ webhook_id?: number | null;
20052
+ zelftest_fout?: string | null;
20053
+ zelftest_op?: string | null;
20054
+ };
20055
+ Update: {
20056
+ bereikbaar?: string | null;
20057
+ created_at?: string;
20058
+ fout?: string | null;
20059
+ geheim?: string | null;
20060
+ gekoppeld_op?: string | null;
20061
+ id?: number;
20062
+ laatst_ontvangen_op?: string | null;
20063
+ laatste_poging_op?: string | null;
20064
+ melding?: string | null;
20065
+ pn_geslaagd?: number | null;
20066
+ pn_geslaagd_vorig?: number | null;
20067
+ pn_mislukt?: number | null;
20068
+ pn_ontvangen?: number | null;
20069
+ pn_opgehaald_op?: string | null;
20070
+ pn_url?: string | null;
20071
+ pn_weggegooid?: number | null;
20072
+ secret_veld?: string | null;
20073
+ status?: string;
20074
+ updated_at?: string;
20075
+ url?: string | null;
20076
+ webhook_id?: number | null;
20077
+ zelftest_fout?: string | null;
20078
+ zelftest_op?: string | null;
20079
+ };
20080
+ Relationships: [];
20081
+ };
20082
+ printnode_webhook_meldingen: {
20083
+ Row: {
20084
+ antwoord: Json | null;
20085
+ gematcht: number;
20086
+ http_status: number;
20087
+ id: number;
20088
+ niet_gematcht: string[];
20089
+ ontvangen_op: string;
20090
+ printnode_ids: string[];
20091
+ soorten: string[];
20092
+ };
20093
+ Insert: {
20094
+ antwoord?: Json | null;
20095
+ gematcht?: number;
20096
+ http_status: number;
20097
+ id?: never;
20098
+ niet_gematcht?: string[];
20099
+ ontvangen_op?: string;
20100
+ printnode_ids?: string[];
20101
+ soorten?: string[];
20102
+ };
20103
+ Update: {
20104
+ antwoord?: Json | null;
20105
+ gematcht?: number;
20106
+ http_status?: number;
20107
+ id?: never;
20108
+ niet_gematcht?: string[];
20109
+ ontvangen_op?: string;
20110
+ printnode_ids?: string[];
20111
+ soorten?: string[];
20112
+ };
20113
+ Relationships: [];
20114
+ };
19492
20115
  product_bom_external_items: {
19493
20116
  Row: {
19494
20117
  created_at: string;
@@ -26407,9 +27030,59 @@ export type Database = {
26407
27030
  };
26408
27031
  Relationships: [];
26409
27032
  };
27033
+ werkbon_standby_tijdvakken: {
27034
+ Row: {
27035
+ created_at: string;
27036
+ datum: string;
27037
+ eind_tijd: string;
27038
+ id: string;
27039
+ monteur_id: string;
27040
+ start_tijd: string;
27041
+ updated_at: string;
27042
+ werkbon_id: string;
27043
+ };
27044
+ Insert: {
27045
+ created_at?: string;
27046
+ datum: string;
27047
+ eind_tijd: string;
27048
+ id?: string;
27049
+ monteur_id: string;
27050
+ start_tijd: string;
27051
+ updated_at?: string;
27052
+ werkbon_id: string;
27053
+ };
27054
+ Update: {
27055
+ created_at?: string;
27056
+ datum?: string;
27057
+ eind_tijd?: string;
27058
+ id?: string;
27059
+ monteur_id?: string;
27060
+ start_tijd?: string;
27061
+ updated_at?: string;
27062
+ werkbon_id?: string;
27063
+ };
27064
+ Relationships: [
27065
+ {
27066
+ foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
27067
+ columns: ["werkbon_id"];
27068
+ isOneToOne: false;
27069
+ referencedRelation: "werkbonnen";
27070
+ referencedColumns: ["id"];
27071
+ },
27072
+ {
27073
+ foreignKeyName: "werkbon_standby_tijdvakken_werkbon_id_fkey";
27074
+ columns: ["werkbon_id"];
27075
+ isOneToOne: false;
27076
+ referencedRelation: "wo_overview";
27077
+ referencedColumns: ["id"];
27078
+ }
27079
+ ];
27080
+ };
26410
27081
  werkbon_time_logs: {
26411
27082
  Row: {
26412
27083
  activity: string;
27084
+ auto_stop_reason: string | null;
27085
+ auto_stopped: boolean;
26413
27086
  created_at: string;
26414
27087
  ended_at: string | null;
26415
27088
  id: string;
@@ -26420,6 +27093,8 @@ export type Database = {
26420
27093
  };
26421
27094
  Insert: {
26422
27095
  activity: string;
27096
+ auto_stop_reason?: string | null;
27097
+ auto_stopped?: boolean;
26423
27098
  created_at?: string;
26424
27099
  ended_at?: string | null;
26425
27100
  id?: string;
@@ -26430,6 +27105,8 @@ export type Database = {
26430
27105
  };
26431
27106
  Update: {
26432
27107
  activity?: string;
27108
+ auto_stop_reason?: string | null;
27109
+ auto_stopped?: boolean;
26433
27110
  created_at?: string;
26434
27111
  ended_at?: string | null;
26435
27112
  id?: string;
@@ -27834,6 +28511,14 @@ export type Database = {
27834
28511
  };
27835
28512
  Returns: number;
27836
28513
  };
28514
+ _jsonb_paden_met_waarde: {
28515
+ Args: {
28516
+ _j: Json;
28517
+ _pad?: string[];
28518
+ _w: string;
28519
+ };
28520
+ Returns: string[][];
28521
+ };
27837
28522
  _migrate_rewrite_stock_key: {
27838
28523
  Args: {
27839
28524
  _from_key: string;
@@ -28625,6 +29310,10 @@ export type Database = {
28625
29310
  Args: never;
28626
29311
  Returns: Json;
28627
29312
  };
29313
+ dashboard_alert_counts_v2: {
29314
+ Args: never;
29315
+ Returns: Json;
29316
+ };
28628
29317
  dashboard_alert_rows: {
28629
29318
  Args: {
28630
29319
  check_id: string;
@@ -28632,6 +29321,17 @@ export type Database = {
28632
29321
  };
28633
29322
  Returns: Json;
28634
29323
  };
29324
+ dashboard_alert_rows_v2: {
29325
+ Args: {
29326
+ check_id: string;
29327
+ row_limit?: number;
29328
+ };
29329
+ Returns: Json;
29330
+ };
29331
+ dashboard_ensure_start_page: {
29332
+ Args: never;
29333
+ Returns: string;
29334
+ };
28635
29335
  dashboard_funnel_betaald: {
28636
29336
  Args: {
28637
29337
  _bedragen: number[];
@@ -28653,6 +29353,19 @@ export type Database = {
28653
29353
  table_name: string;
28654
29354
  }[];
28655
29355
  };
29356
+ dashboard_order_state: {
29357
+ Args: {
29358
+ _order_id: string;
29359
+ };
29360
+ Returns: string;
29361
+ };
29362
+ dashboard_pit_tellingen: {
29363
+ Args: {
29364
+ _mail_connecties?: string[];
29365
+ _vandaag: string;
29366
+ };
29367
+ Returns: Json;
29368
+ };
28656
29369
  dashboard_werkbon_funnel: {
28657
29370
  Args: {
28658
29371
  _periode?: string;
@@ -28980,6 +29693,13 @@ export type Database = {
28980
29693
  stock: number;
28981
29694
  }[];
28982
29695
  };
29696
+ geladen_etiketten: {
29697
+ Args: {
29698
+ _print_plek_id?: string;
29699
+ _werkplek_id?: string;
29700
+ };
29701
+ Returns: Json;
29702
+ };
28983
29703
  get_active_floriday_connection_public: {
28984
29704
  Args: never;
28985
29705
  Returns: {
@@ -29686,6 +30406,13 @@ export type Database = {
29686
30406
  };
29687
30407
  Returns: Json;
29688
30408
  };
30409
+ invoice_register_send: {
30410
+ Args: {
30411
+ _invoice_id: string;
30412
+ _outbox_id: string;
30413
+ };
30414
+ Returns: Json;
30415
+ };
29689
30416
  invoice_resync_concept_from_work_order: {
29690
30417
  Args: {
29691
30418
  _werkbon_id: string;
@@ -29711,6 +30438,13 @@ export type Database = {
29711
30438
  };
29712
30439
  Returns: Json;
29713
30440
  };
30441
+ invoice_status_transition_ok: {
30442
+ Args: {
30443
+ _from: string;
30444
+ _to: string;
30445
+ };
30446
+ Returns: boolean;
30447
+ };
29714
30448
  invoice_update_full: {
29715
30449
  Args: {
29716
30450
  _invoice_id: string;
@@ -29753,6 +30487,19 @@ export type Database = {
29753
30487
  Args: never;
29754
30488
  Returns: boolean;
29755
30489
  };
30490
+ itk_customer_stats: {
30491
+ Args: {
30492
+ _customer_ids: string[];
30493
+ };
30494
+ Returns: {
30495
+ afgerond: number;
30496
+ bezig: number;
30497
+ customer_id: string;
30498
+ klussen: number;
30499
+ omzet_cents: number;
30500
+ open: number;
30501
+ }[];
30502
+ };
29756
30503
  itk_offerte_naar_werkbon: {
29757
30504
  Args: {
29758
30505
  _offerte_id: string;
@@ -29766,6 +30513,16 @@ export type Database = {
29766
30513
  };
29767
30514
  Returns: number;
29768
30515
  };
30516
+ itk_top_customers_by_revenue: {
30517
+ Args: {
30518
+ _limit?: number;
30519
+ };
30520
+ Returns: {
30521
+ customer_id: string;
30522
+ name: string;
30523
+ omzet_cents: number;
30524
+ }[];
30525
+ };
29769
30526
  jwt_has_role: {
29770
30527
  Args: {
29771
30528
  _role: Database["public"]["Enums"]["app_role"];
@@ -29790,10 +30547,27 @@ export type Database = {
29790
30547
  };
29791
30548
  Returns: {
29792
30549
  bestaand: boolean;
30550
+ fout_bericht: string;
30551
+ fout_code: string;
29793
30552
  job_id: string;
30553
+ mislukt: boolean;
29794
30554
  printer_id: string;
30555
+ status: string;
29795
30556
  }[];
29796
30557
  };
30558
+ layout_verwijzing_omzetten: {
30559
+ Args: {
30560
+ _nieuw: string;
30561
+ _oud: string;
30562
+ _rij_id: string;
30563
+ _tabel: string;
30564
+ };
30565
+ Returns: undefined;
30566
+ };
30567
+ layout_verwijzingen: {
30568
+ Args: never;
30569
+ Returns: Json;
30570
+ };
29797
30571
  list_medewerkers: {
29798
30572
  Args: never;
29799
30573
  Returns: {
@@ -29959,6 +30733,70 @@ export type Database = {
29959
30733
  };
29960
30734
  Returns: boolean;
29961
30735
  };
30736
+ logistics_archived_orders: {
30737
+ Args: never;
30738
+ Returns: {
30739
+ archived_at: string;
30740
+ attempts: number;
30741
+ delivery_date: string;
30742
+ last_error: string;
30743
+ order_id: string;
30744
+ order_ref: string;
30745
+ queue_id: string;
30746
+ reason: string;
30747
+ reason_code: string;
30748
+ }[];
30749
+ };
30750
+ logistics_auto_send_claim: {
30751
+ Args: {
30752
+ p_limit?: number;
30753
+ };
30754
+ Returns: {
30755
+ attempts: number;
30756
+ cart_ids: string[];
30757
+ created_at: string;
30758
+ id: string;
30759
+ idempotency_key: string;
30760
+ last_http_status: number | null;
30761
+ locked_until: string | null;
30762
+ max_attempts: number;
30763
+ next_attempt_at: string;
30764
+ order_id: string;
30765
+ reason: string | null;
30766
+ sent_at: string | null;
30767
+ status: string;
30768
+ updated_at: string;
30769
+ }[];
30770
+ SetofOptions: {
30771
+ from: "*";
30772
+ to: "logistics_auto_send";
30773
+ isOneToOne: false;
30774
+ isSetofReturn: true;
30775
+ };
30776
+ };
30777
+ logistics_auto_send_enqueue_for_order: {
30778
+ Args: {
30779
+ p_order_id: string;
30780
+ };
30781
+ Returns: boolean;
30782
+ };
30783
+ logistics_auto_send_finish: {
30784
+ Args: {
30785
+ p_config_missing?: boolean;
30786
+ p_definitief?: boolean;
30787
+ p_http?: number;
30788
+ p_id: string;
30789
+ p_ok: boolean;
30790
+ p_reason: string;
30791
+ };
30792
+ Returns: Json;
30793
+ };
30794
+ logistics_auto_send_status: {
30795
+ Args: {
30796
+ p_order_id: string;
30797
+ };
30798
+ Returns: Json;
30799
+ };
29962
30800
  logistics_backorder_allowed: {
29963
30801
  Args: {
29964
30802
  p_strategy_id?: string;
@@ -30007,6 +30845,13 @@ export type Database = {
30007
30845
  Args: never;
30008
30846
  Returns: Json;
30009
30847
  };
30848
+ logistics_brief_transport: {
30849
+ Args: {
30850
+ p_cart_id?: string;
30851
+ p_order_id: string;
30852
+ };
30853
+ Returns: Json;
30854
+ };
30010
30855
  logistics_buffer_criteria: {
30011
30856
  Args: {
30012
30857
  p_settings: Json;
@@ -30253,6 +31098,12 @@ export type Database = {
30253
31098
  };
30254
31099
  Returns: Json;
30255
31100
  };
31101
+ logistics_cart_sticker_state: {
31102
+ Args: {
31103
+ p_cart_id: string;
31104
+ };
31105
+ Returns: Json;
31106
+ };
30256
31107
  logistics_cart_units: {
30257
31108
  Args: {
30258
31109
  p_from?: string;
@@ -30854,6 +31705,12 @@ export type Database = {
30854
31705
  Args: never;
30855
31706
  Returns: Json;
30856
31707
  };
31708
+ logistics_floriday_layout_id: {
31709
+ Args: {
31710
+ p_documenttype: string;
31711
+ };
31712
+ Returns: Json;
31713
+ };
30857
31714
  logistics_floriday_log_refusal: {
30858
31715
  Args: {
30859
31716
  _action?: string;
@@ -31085,6 +31942,12 @@ export type Database = {
31085
31942
  };
31086
31943
  Returns: string[];
31087
31944
  };
31945
+ logistics_order_definitively_blocked: {
31946
+ Args: {
31947
+ p_order_id: string;
31948
+ };
31949
+ Returns: Json;
31950
+ };
31088
31951
  logistics_order_documents_ready: {
31089
31952
  Args: {
31090
31953
  p_order_ref: string;
@@ -31153,6 +32016,12 @@ export type Database = {
31153
32016
  };
31154
32017
  Returns: boolean;
31155
32018
  };
32019
+ logistics_order_is_archived: {
32020
+ Args: {
32021
+ p_order_id: string;
32022
+ };
32023
+ Returns: Json;
32024
+ };
31156
32025
  logistics_order_is_backlog: {
31157
32026
  Args: {
31158
32027
  p_order_id: string;
@@ -31263,6 +32132,16 @@ export type Database = {
31263
32132
  };
31264
32133
  Returns: boolean;
31265
32134
  };
32135
+ logistics_order_sticker_meldingen: {
32136
+ Args: {
32137
+ p_order_id: string;
32138
+ };
32139
+ Returns: Json;
32140
+ };
32141
+ logistics_orphan_carts_summary: {
32142
+ Args: never;
32143
+ Returns: Json;
32144
+ };
31266
32145
  logistics_packing_autofix: {
31267
32146
  Args: {
31268
32147
  p_limit?: number;
@@ -31320,6 +32199,16 @@ export type Database = {
31320
32199
  };
31321
32200
  Returns: boolean;
31322
32201
  };
32202
+ logistics_pakbon_old_order_row: {
32203
+ Args: {
32204
+ p_ids: string[];
32205
+ };
32206
+ Returns: boolean;
32207
+ };
32208
+ logistics_pakbon_oude_orderregels: {
32209
+ Args: never;
32210
+ Returns: Json;
32211
+ };
31323
32212
  logistics_parse_pickup: {
31324
32213
  Args: {
31325
32214
  p_value: string;
@@ -31417,6 +32306,14 @@ export type Database = {
31417
32306
  order_id: string;
31418
32307
  }[];
31419
32308
  };
32309
+ logistics_plan_close_claim: {
32310
+ Args: {
32311
+ p_id: string;
32312
+ p_reason: string;
32313
+ p_reason_code?: string;
32314
+ };
32315
+ Returns: boolean;
32316
+ };
31420
32317
  logistics_plan_coverage_check: {
31421
32318
  Args: {
31422
32319
  p_limit?: number;
@@ -31472,6 +32369,10 @@ export type Database = {
31472
32369
  };
31473
32370
  Returns: number;
31474
32371
  };
32372
+ logistics_plan_housekeeping: {
32373
+ Args: never;
32374
+ Returns: Json;
32375
+ };
31475
32376
  logistics_plan_impact_orders: {
31476
32377
  Args: {
31477
32378
  p_order_id: string;
@@ -31583,6 +32484,12 @@ export type Database = {
31583
32484
  Args: never;
31584
32485
  Returns: number;
31585
32486
  };
32487
+ logistics_plan_unarchive: {
32488
+ Args: {
32489
+ p_order_ids: string[];
32490
+ };
32491
+ Returns: number;
32492
+ };
31586
32493
  logistics_plan_wachttijd: {
31587
32494
  Args: {
31588
32495
  p_order_id: string;
@@ -31636,6 +32543,12 @@ export type Database = {
31636
32543
  };
31637
32544
  Returns: Json;
31638
32545
  };
32546
+ logistics_print_job_state: {
32547
+ Args: {
32548
+ p_job_id: string;
32549
+ };
32550
+ Returns: string;
32551
+ };
31639
32552
  logistics_print_via_layout: {
31640
32553
  Args: {
31641
32554
  _documentnaam: string;
@@ -31861,6 +32774,12 @@ export type Database = {
31861
32774
  };
31862
32775
  Returns: string;
31863
32776
  };
32777
+ logistics_reserved_order_excluded: {
32778
+ Args: {
32779
+ p_order_id: string;
32780
+ };
32781
+ Returns: boolean;
32782
+ };
31864
32783
  logistics_reserved_stock_nightly: {
31865
32784
  Args: never;
31866
32785
  Returns: undefined;
@@ -32131,6 +33050,13 @@ export type Database = {
32131
33050
  };
32132
33051
  Returns: undefined;
32133
33052
  };
33053
+ logistics_slip_note_hold_layout: {
33054
+ Args: {
33055
+ _id: string;
33056
+ _reason: string;
33057
+ };
33058
+ Returns: undefined;
33059
+ };
32134
33060
  logistics_slip_note_keep_waiting: {
32135
33061
  Args: {
32136
33062
  _class?: string;
@@ -32139,16 +33065,64 @@ export type Database = {
32139
33065
  };
32140
33066
  Returns: undefined;
32141
33067
  };
33068
+ logistics_slip_note_release_layout: {
33069
+ Args: never;
33070
+ Returns: number;
33071
+ };
32142
33072
  logistics_slip_note_retry: {
32143
33073
  Args: {
32144
33074
  _id: string;
32145
33075
  };
32146
33076
  Returns: Json;
32147
33077
  };
33078
+ logistics_sticker_cart_plek: {
33079
+ Args: {
33080
+ _cart: string;
33081
+ _fallback: string;
33082
+ };
33083
+ Returns: string;
33084
+ };
32148
33085
  logistics_sticker_follows_slip: {
32149
33086
  Args: never;
32150
33087
  Returns: boolean;
32151
33088
  };
33089
+ logistics_sticker_moment: {
33090
+ Args: {
33091
+ _cart: string;
33092
+ _hours: number;
33093
+ _order_number: string;
33094
+ _release: string;
33095
+ };
33096
+ Returns: boolean;
33097
+ };
33098
+ logistics_sticker_parse_size: {
33099
+ Args: {
33100
+ p: Json;
33101
+ };
33102
+ Returns: number[];
33103
+ };
33104
+ logistics_sticker_sync: {
33105
+ Args: {
33106
+ p_limit?: number;
33107
+ };
33108
+ Returns: Json;
33109
+ };
33110
+ logistics_sticker_upsert: {
33111
+ Args: {
33112
+ _bron: string;
33113
+ _cart: string;
33114
+ _fo: string;
33115
+ _kopieen: number;
33116
+ _order: string;
33117
+ _order_number: string;
33118
+ _plek: string;
33119
+ _reden: string;
33120
+ _size: number[];
33121
+ _soort: string;
33122
+ _status: string;
33123
+ };
33124
+ Returns: undefined;
33125
+ };
32152
33126
  logistics_subtract_working_minutes: {
32153
33127
  Args: {
32154
33128
  p_deadline: string;
@@ -33341,6 +34315,13 @@ export type Database = {
33341
34315
  };
33342
34316
  Returns: Json;
33343
34317
  };
34318
+ pickstation_cart_sticker_state: {
34319
+ Args: {
34320
+ p_cart_id: string;
34321
+ p_slug: string;
34322
+ };
34323
+ Returns: Json;
34324
+ };
33344
34325
  pickstation_get_orders_raw: {
33345
34326
  Args: never;
33346
34327
  Returns: Json;
@@ -33363,6 +34344,13 @@ export type Database = {
33363
34344
  };
33364
34345
  Returns: undefined;
33365
34346
  };
34347
+ pickstation_order_sticker_meldingen: {
34348
+ Args: {
34349
+ p_order_id: string;
34350
+ p_slug: string;
34351
+ };
34352
+ Returns: Json;
34353
+ };
33366
34354
  pickstation_resolve_delivery_orders: {
33367
34355
  Args: {
33368
34356
  p_sales_order_ids: string[];
@@ -33428,6 +34416,12 @@ export type Database = {
33428
34416
  };
33429
34417
  Returns: undefined;
33430
34418
  };
34419
+ planning_cleanup_old_logs: {
34420
+ Args: {
34421
+ _keep_days?: number;
34422
+ };
34423
+ Returns: number;
34424
+ };
33431
34425
  planning_html_escape: {
33432
34426
  Args: {
33433
34427
  t: string;
@@ -33468,6 +34462,10 @@ export type Database = {
33468
34462
  isSetofReturn: true;
33469
34463
  };
33470
34464
  };
34465
+ planning_mijn_eigen_vervoer: {
34466
+ Args: never;
34467
+ Returns: boolean;
34468
+ };
33471
34469
  planning_set_assistants: {
33472
34470
  Args: {
33473
34471
  _monteur_ids: string[];
@@ -33494,6 +34492,35 @@ export type Database = {
33494
34492
  };
33495
34493
  Returns: string;
33496
34494
  };
34495
+ print_formaat_klasse: {
34496
+ Args: {
34497
+ _code: string;
34498
+ };
34499
+ Returns: string;
34500
+ };
34501
+ print_is_etiketsoort: {
34502
+ Args: {
34503
+ _t: string;
34504
+ };
34505
+ Returns: boolean;
34506
+ };
34507
+ print_is_labelprinter: {
34508
+ Args: {
34509
+ _printer_id: string;
34510
+ };
34511
+ Returns: boolean;
34512
+ };
34513
+ print_job_status_uitgebreid: {
34514
+ Args: {
34515
+ _job_id: string;
34516
+ };
34517
+ Returns: {
34518
+ fout_bericht: string;
34519
+ fout_code: string;
34520
+ mislukt: boolean;
34521
+ status: string;
34522
+ }[];
34523
+ };
33497
34524
  print_preview_toestaan: {
33498
34525
  Args: {
33499
34526
  _max?: number;
@@ -33512,6 +34539,14 @@ export type Database = {
33512
34539
  };
33513
34540
  Returns: undefined;
33514
34541
  };
34542
+ print_werkplek_keuze: {
34543
+ Args: {
34544
+ _documenttype: string;
34545
+ _klasse: string;
34546
+ _werkplek_id: string;
34547
+ };
34548
+ Returns: Json;
34549
+ };
33515
34550
  printer_gebruik: {
33516
34551
  Args: {
33517
34552
  _printer: string;
@@ -33525,6 +34560,7 @@ export type Database = {
33525
34560
  _papierformaat?: string;
33526
34561
  _print_plek_id?: string;
33527
34562
  _werkplek?: string;
34563
+ _werkplek_id?: string;
33528
34564
  };
33529
34565
  Returns: Json;
33530
34566
  };
@@ -34111,6 +35147,12 @@ export type Database = {
34111
35147
  };
34112
35148
  Returns: Json;
34113
35149
  };
35150
+ scan_order_klant: {
35151
+ Args: {
35152
+ p_order_id: string;
35153
+ };
35154
+ Returns: Json;
35155
+ };
34114
35156
  scan_pakbon_lookup: {
34115
35157
  Args: {
34116
35158
  p_barcode: string;
@@ -34545,6 +35587,26 @@ export type Database = {
34545
35587
  trade_item_key: string;
34546
35588
  updated_at: string;
34547
35589
  }[];
35590
+ } | {
35591
+ Args: {
35592
+ p_change_source?: string;
35593
+ p_incoming_stock?: number;
35594
+ p_minimum_stock?: number;
35595
+ p_notes?: string;
35596
+ p_physical_stock: number;
35597
+ p_product_id: string;
35598
+ };
35599
+ Returns: {
35600
+ connection_id: string;
35601
+ incoming_stock: number;
35602
+ minimum_stock: number;
35603
+ notes: string;
35604
+ physical_stock: number;
35605
+ product_id: string;
35606
+ reserved_stock: number;
35607
+ trade_item_key: string;
35608
+ updated_at: string;
35609
+ }[];
34548
35610
  };
34549
35611
  show_limit: {
34550
35612
  Args: never;
@@ -34836,6 +35898,10 @@ export type Database = {
34836
35898
  };
34837
35899
  Returns: undefined;
34838
35900
  };
35901
+ uren_cao_settings_zorg: {
35902
+ Args: never;
35903
+ Returns: string;
35904
+ };
34839
35905
  uren_collega_agenda: {
34840
35906
  Args: {
34841
35907
  _monteur: string;
@@ -34996,10 +36062,22 @@ export type Database = {
34996
36062
  Args: never;
34997
36063
  Returns: number;
34998
36064
  };
36065
+ uren_module_gezondheid: {
36066
+ Args: never;
36067
+ Returns: Json;
36068
+ };
36069
+ uren_module_status: {
36070
+ Args: never;
36071
+ Returns: Json;
36072
+ };
34999
36073
  uren_my_monteur_id: {
35000
36074
  Args: never;
35001
36075
  Returns: string;
35002
36076
  };
36077
+ uren_opschonen_indien_nodig: {
36078
+ Args: never;
36079
+ Returns: boolean;
36080
+ };
35003
36081
  uren_overuren_indienen: {
35004
36082
  Args: {
35005
36083
  _datum: string;
@@ -35010,6 +36088,12 @@ export type Database = {
35010
36088
  };
35011
36089
  Returns: undefined;
35012
36090
  };
36091
+ uren_overuren_intrekken: {
36092
+ Args: {
36093
+ _datum: string;
36094
+ };
36095
+ Returns: undefined;
36096
+ };
35013
36097
  uren_pagina_toegang_instellen: {
35014
36098
  Args: {
35015
36099
  _toegang: boolean;
@@ -35403,6 +36487,23 @@ export type Database = {
35403
36487
  total_minutes: number;
35404
36488
  }[];
35405
36489
  };
36490
+ werkplek_omzetting_toepassen: {
36491
+ Args: {
36492
+ _werkplekken: Json;
36493
+ };
36494
+ Returns: Json;
36495
+ };
36496
+ werkplek_omzetting_voorstel: {
36497
+ Args: never;
36498
+ Returns: Json;
36499
+ };
36500
+ wo_boek_standby_tijdvakken: {
36501
+ Args: {
36502
+ _tijdvakken: Json;
36503
+ _werkbon_id: string;
36504
+ };
36505
+ Returns: Json;
36506
+ };
35406
36507
  wo_boek_standby_uren: {
35407
36508
  Args: {
35408
36509
  _datum: string;
@@ -35518,11 +36619,35 @@ export type Database = {
35518
36619
  };
35519
36620
  Returns: Json;
35520
36621
  };
36622
+ wo_standby_dag_herberekenen: {
36623
+ Args: {
36624
+ _datum: string;
36625
+ _monteur: string;
36626
+ };
36627
+ Returns: Json;
36628
+ };
36629
+ wo_standby_ov_dag: {
36630
+ Args: {
36631
+ _dienst: Json;
36632
+ _dow: number;
36633
+ _feest: boolean;
36634
+ _vakken: Json;
36635
+ };
36636
+ Returns: Json;
36637
+ };
36638
+ wo_standby_tijdzone: {
36639
+ Args: never;
36640
+ Returns: string;
36641
+ };
36642
+ wo_timer_stop_0400: {
36643
+ Args: never;
36644
+ Returns: number;
36645
+ };
35521
36646
  };
35522
36647
  Enums: {
35523
36648
  ai_import_status: "nieuw" | "verwerken" | "bevestigen" | "klaar" | "mislukt";
35524
36649
  app_role: "admin" | "planner" | "monteur" | "administratie" | "ai_admin" | "manager" | "warehouse" | "sales" | "developer" | "receptie" | "superadmin";
35525
- doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief";
36650
+ doc_layout_type: "pakbon" | "factuur" | "offerte" | "orderbevestiging" | "etiket" | "verzendlabel" | "productlabel" | "barcode_label" | "magazijnlijst" | "controlelijst" | "transportdocument" | "vrij" | "sticker" | "productiebon" | "veilingbon" | "afleverbrief" | "veilingbrief" | "traysticker";
35526
36651
  doc_orientation: "portrait" | "landscape";
35527
36652
  exact_env: "staging" | "live";
35528
36653
  exact_push_status: "pending" | "sent" | "error";
@@ -35593,7 +36718,7 @@ export declare const Constants: {
35593
36718
  readonly Enums: {
35594
36719
  readonly ai_import_status: readonly ["nieuw", "verwerken", "bevestigen", "klaar", "mislukt"];
35595
36720
  readonly app_role: readonly ["admin", "planner", "monteur", "administratie", "ai_admin", "manager", "warehouse", "sales", "developer", "receptie", "superadmin"];
35596
- readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief"];
36721
+ readonly doc_layout_type: readonly ["pakbon", "factuur", "offerte", "orderbevestiging", "etiket", "verzendlabel", "productlabel", "barcode_label", "magazijnlijst", "controlelijst", "transportdocument", "vrij", "sticker", "productiebon", "veilingbon", "afleverbrief", "veilingbrief", "traysticker"];
35597
36722
  readonly doc_orientation: readonly ["portrait", "landscape"];
35598
36723
  readonly exact_env: readonly ["staging", "live"];
35599
36724
  readonly exact_push_status: readonly ["pending", "sent", "error"];