@vario-software/types 2026.26.2 → 2026.27.0

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.
@@ -40,6 +40,12 @@ export interface EavArticleListing {
40
40
  export interface EavArticleListingDescription {
41
41
  }
42
42
 
43
+ /**
44
+ * Zusatzfelder
45
+ */
46
+ export interface EavAsset {
47
+ }
48
+
43
49
  /**
44
50
  * Zusatzfelder
45
51
  */
@@ -2,10 +2,10 @@ import {
2
2
  Account, AccountAddress, AccountBankdetail, AccountListing,
3
3
  AccountLoanValue, AccountManufacturer, AccountManufacturerDescription,
4
4
  AccountPerson, AccountRelation, AdditionalParameter, ApiCreatableReference,
5
- ApiObjectReference, Article, Article$Metric,
5
+ ApiObjectReference, Article, Article$Metric, ArticleAssetInformation,
6
6
  ArticleAvailabilityDetermination, ArticleCustomer, ArticleIdentifier,
7
7
  ArticleListing, ArticlePrintLabelSettings, ArticleSerialNumber,
8
- ArticleStorage, ArticleSupplier, BulkTransferRequestApi,
8
+ ArticleStorage, ArticleSupplier, Asset, AssetType, BulkTransferRequestApi,
9
9
  BulkTransferResult, Contact, CountryReference, CreateNewDocumentRequest,
10
10
  CrmActivity, CrmActivityType, CrmChecklistItem, CrmDeal, CrmDealTopic,
11
11
  CrmObjectRef, CrmParticipant, CrmPriority, CrmProject, CrmReference,
@@ -550,10 +550,9 @@ export interface ArticleScriptingService {
550
550
  *
551
551
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
552
552
  * @param {number} articleId - ID des zu druckenden Artikels
553
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
554
553
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
555
554
  */
556
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
555
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
557
556
 
558
557
  /**
559
558
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
@@ -568,9 +567,10 @@ export interface ArticleScriptingService {
568
567
  *
569
568
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
570
569
  * @param {number} articleId - ID des zu druckenden Artikels
570
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
571
571
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
572
572
  */
573
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
573
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
574
574
 
575
575
  /**
576
576
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -628,16 +628,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
628
628
  * Führt einen Etikettendrucklauf aus
629
629
  *
630
630
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
631
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
632
631
  */
633
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
632
+ executeLabelPrintBatch(batchIdentifier: string): void;
634
633
 
635
634
  /**
636
635
  * Führt einen Etikettendrucklauf aus
637
636
  *
638
637
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
638
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
639
639
  */
640
- executeLabelPrintBatch(batchIdentifier: string): void;
640
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
641
641
 
642
642
  /**
643
643
  * Liefert die Einkaufsrabatte zu einem Artikel
@@ -890,6 +890,158 @@ export interface ArticleSupplierScriptingService {
890
890
  update(toUpdate: ArticleSupplier): ArticleSupplier;
891
891
  }
892
892
 
893
+ /**
894
+ * Service zur Verarbeitung von Assets in Skripten
895
+ */
896
+ export interface AssetScriptingService {
897
+
898
+ /**
899
+ * Aktiviert ein DTO
900
+ *
901
+ * @param {number} idToActivate - ID vom zu aktivierenden DTO
902
+ * @return {Asset} Das aktivierte DTO
903
+ */
904
+ activate(idToActivate: number): Asset;
905
+
906
+ /**
907
+ * Persistiert ein DTO
908
+ *
909
+ * @param {Asset} toCreate - Das zu persistierende DTO
910
+ * @return {Asset} Das persistierte DTO
911
+ */
912
+ create(toCreate: Asset): Asset;
913
+
914
+ /**
915
+ * Deaktiviert ein DTO
916
+ *
917
+ * @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
918
+ * @return {Asset} Das deaktivierte DTO
919
+ */
920
+ deactivate(idToDeactivate: number): Asset;
921
+
922
+ /**
923
+ * Löscht eine Entity
924
+ *
925
+ * @param {number} id - ID der zu löschenden Entity
926
+ */
927
+ deleteById(id: number): void;
928
+
929
+ /**
930
+ * Erstellt eine neue DTO-Instanz
931
+ *
932
+ * @return {Asset} Die neue DTO-Instanz
933
+ */
934
+ getNewDto(): Asset;
935
+
936
+ /**
937
+ * Liest eine Liste von DTOs
938
+ *
939
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
940
+ * @return {Array<Asset>} Die Liste der gelesenen DTOs
941
+ */
942
+ readAllById(ids: Array<number>): Array<Asset>;
943
+
944
+ /**
945
+ * Liest ein DTO
946
+ *
947
+ * @param {number} id - ID vom zu lesenden DTO
948
+ * @return {Asset} Das gelesene DTO
949
+ */
950
+ readById(id: number): Asset;
951
+
952
+ /**
953
+ * Persistiert eine DTO
954
+ *
955
+ * @param {Asset} toStore - Das zu persistierende DTO
956
+ * @return {Asset} Das persistierte DTO
957
+ */
958
+ store(toStore: Asset): Asset;
959
+
960
+ /**
961
+ * Aktualisiert ein persistiertes DTO
962
+ *
963
+ * @param {Asset} toUpdate - Die zu aktualisierende Entity
964
+ * @return {Asset} Das aktualisierte DTO
965
+ */
966
+ update(toUpdate: Asset): Asset;
967
+ }
968
+
969
+ /**
970
+ * Service zur Verarbeitung von AssetsTypen in Skripten
971
+ */
972
+ export interface AssetTypeScriptingService {
973
+
974
+ /**
975
+ * Aktiviert ein DTO
976
+ *
977
+ * @param {number} idToActivate - ID vom zu aktivierenden DTO
978
+ * @return {AssetType} Das aktivierte DTO
979
+ */
980
+ activate(idToActivate: number): AssetType;
981
+
982
+ /**
983
+ * Persistiert ein DTO
984
+ *
985
+ * @param {AssetType} toCreate - Das zu persistierende DTO
986
+ * @return {AssetType} Das persistierte DTO
987
+ */
988
+ create(toCreate: AssetType): AssetType;
989
+
990
+ /**
991
+ * Deaktiviert ein DTO
992
+ *
993
+ * @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
994
+ * @return {AssetType} Das deaktivierte DTO
995
+ */
996
+ deactivate(idToDeactivate: number): AssetType;
997
+
998
+ /**
999
+ * Löscht eine Entity
1000
+ *
1001
+ * @param {number} id - ID der zu löschenden Entity
1002
+ */
1003
+ deleteById(id: number): void;
1004
+
1005
+ /**
1006
+ * Erstellt eine neue DTO-Instanz
1007
+ *
1008
+ * @return {AssetType} Die neue DTO-Instanz
1009
+ */
1010
+ getNewDto(): AssetType;
1011
+
1012
+ /**
1013
+ * Liest eine Liste von DTOs
1014
+ *
1015
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
1016
+ * @return {Array<AssetType>} Die Liste der gelesenen DTOs
1017
+ */
1018
+ readAllById(ids: Array<number>): Array<AssetType>;
1019
+
1020
+ /**
1021
+ * Liest ein DTO
1022
+ *
1023
+ * @param {number} id - ID vom zu lesenden DTO
1024
+ * @return {AssetType} Das gelesene DTO
1025
+ */
1026
+ readById(id: number): AssetType;
1027
+
1028
+ /**
1029
+ * Persistiert eine DTO
1030
+ *
1031
+ * @param {AssetType} toStore - Das zu persistierende DTO
1032
+ * @return {AssetType} Das persistierte DTO
1033
+ */
1034
+ store(toStore: AssetType): AssetType;
1035
+
1036
+ /**
1037
+ * Aktualisiert ein persistiertes DTO
1038
+ *
1039
+ * @param {AssetType} toUpdate - Die zu aktualisierende Entity
1040
+ * @return {AssetType} Das aktualisierte DTO
1041
+ */
1042
+ update(toUpdate: AssetType): AssetType;
1043
+ }
1044
+
893
1045
  /**
894
1046
  * Service zur Verarbeitung von CRM-Aktivitäten
895
1047
  */
@@ -1619,20 +1771,20 @@ export interface DocumentScriptingService {
1619
1771
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1620
1772
  *
1621
1773
  * @param {number} documentId - ID des zu kopierenden Belegs
1622
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1774
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1775
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1623
1776
  * @return {Document} Der kopierte Beleg
1624
1777
  */
1625
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1778
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1626
1779
 
1627
1780
  /**
1628
1781
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1629
1782
  *
1630
1783
  * @param {number} documentId - ID des zu kopierenden Belegs
1631
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1632
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1784
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1633
1785
  * @return {Document} Der kopierte Beleg
1634
1786
  */
1635
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1787
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1636
1788
 
1637
1789
  /**
1638
1790
  * Erstellt einen neuen Beleg
@@ -1646,35 +1798,35 @@ export interface DocumentScriptingService {
1646
1798
  * Löst einen Beleg auf
1647
1799
  *
1648
1800
  * @param {number} documentId - ID des aufzulösenden Belegs
1649
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1650
1801
  * @return {Document} Der aufgelöste Beleg
1651
1802
  */
1652
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1803
+ dissolve(documentId: number): Document;
1653
1804
 
1654
1805
  /**
1655
1806
  * Löst einen Beleg auf
1656
1807
  *
1657
1808
  * @param {number} documentId - ID des aufzulösenden Belegs
1809
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1658
1810
  * @return {Document} Der aufgelöste Beleg
1659
1811
  */
1660
- dissolve(documentId: number): Document;
1812
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1661
1813
 
1662
1814
  /**
1663
1815
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1664
1816
  *
1665
1817
  * @param {number} documentId - ID des Belegs
1666
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1667
1818
  * @return {Document} Der Beleg in Bearbeitung
1668
1819
  */
1669
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1820
+ edit(documentId: number): Document;
1670
1821
 
1671
1822
  /**
1672
1823
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1673
1824
  *
1674
1825
  * @param {number} documentId - ID des Belegs
1826
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1675
1827
  * @return {Document} Der Beleg in Bearbeitung
1676
1828
  */
1677
- edit(documentId: number): Document;
1829
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1678
1830
 
1679
1831
  /**
1680
1832
  * Erstellt ein AdditionalParameter-Objekt
@@ -1777,16 +1929,16 @@ export interface DocumentScriptingService {
1777
1929
  * Versendet einen Beleg per Mail
1778
1930
  *
1779
1931
  * @param {number} documentId - ID des zu versendenden Belegs
1780
- * @param {string} reportGroupIdentifier -
1781
1932
  */
1782
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1933
+ sendViaMail(documentId: number): void;
1783
1934
 
1784
1935
  /**
1785
1936
  * Versendet einen Beleg per Mail
1786
1937
  *
1787
1938
  * @param {number} documentId - ID des zu versendenden Belegs
1939
+ * @param {string} reportGroupIdentifier -
1788
1940
  */
1789
- sendViaMail(documentId: number): void;
1941
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1790
1942
 
1791
1943
  /**
1792
1944
  * Überführt einen Beleg in einen anderen Status
@@ -2668,14 +2820,14 @@ export interface ScriptingServiceList {
2668
2820
  crmTaskService: CrmTaskScriptingService;
2669
2821
 
2670
2822
  /**
2671
- * Service zur Verarbeitung von Shelf-Documents
2823
+ * Service zur Verarbeitung von Accounts
2672
2824
  */
2673
- shelfDocumentService: ShelfDocumentScriptingService;
2825
+ accountService: AccountScriptingService;
2674
2826
 
2675
2827
  /**
2676
- * Service zur Verarbeitung von Accounts
2828
+ * Service zur Verarbeitung von Shelf-Documents
2677
2829
  */
2678
- accountService: AccountScriptingService;
2830
+ shelfDocumentService: ShelfDocumentScriptingService;
2679
2831
 
2680
2832
  /**
2681
2833
  * Verwaltung von Versandarten
@@ -2777,11 +2929,21 @@ export interface ScriptingServiceList {
2777
2929
  */
2778
2930
  freeSequencerService: FreeSequencerScriptingService;
2779
2931
 
2932
+ /**
2933
+ * Service zur Verarbeitung von AssetsTypen in Skripten
2934
+ */
2935
+ assetTypeService: AssetTypeScriptingService;
2936
+
2780
2937
  /**
2781
2938
  * Service zur Bestandsabfrage und Lagerbuchung in Skripten
2782
2939
  */
2783
2940
  stockService: StockScriptingService;
2784
2941
 
2942
+ /**
2943
+ * Service zur Verarbeitung von Assets in Skripten
2944
+ */
2945
+ assetService: AssetScriptingService;
2946
+
2785
2947
  /**
2786
2948
  * Service zur Verarbeitung von Variantenwerten in Skripten
2787
2949
  */
@@ -2933,24 +3095,24 @@ export interface ShelfDocumentScriptingService {
2933
3095
  deleteAttribution(attributionId: number): void;
2934
3096
 
2935
3097
  /**
2936
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3098
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
2937
3099
  *
2938
3100
  * @param {string} url - Download-URL
2939
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
2940
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
2941
3101
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2942
3102
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2943
3103
  */
2944
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3104
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
2945
3105
 
2946
3106
  /**
2947
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3107
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
2948
3108
  *
2949
3109
  * @param {string} url - Download-URL
3110
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3111
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
2950
3112
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2951
3113
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2952
3114
  */
2953
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3115
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
2954
3116
 
2955
3117
  /**
2956
3118
  * Findet ein Dokumentenart über ihren Schlüssel
@@ -3684,6 +3846,13 @@ export interface dtoFactory {
3684
3846
  */
3685
3847
  createArticle(): Article;
3686
3848
 
3849
+ /**
3850
+ * Erstellt einen neue Instanz von ArticleAssetInformation
3851
+ *
3852
+ * @return {ArticleAssetInformation} Neue Instanz von ArticleAssetInformation
3853
+ */
3854
+ createArticleAssetInformation(): ArticleAssetInformation;
3855
+
3687
3856
  /**
3688
3857
  * Erstellt einen neue Instanz von ArticleAvailabilityDetermination
3689
3858
  *
@@ -3712,6 +3881,13 @@ export interface dtoFactory {
3712
3881
  */
3713
3882
  createArticleSerialNumber(): ArticleSerialNumber;
3714
3883
 
3884
+ /**
3885
+ * Erstellt einen neue Instanz von AssetType
3886
+ *
3887
+ * @return {AssetType} Neue Instanz von AssetType
3888
+ */
3889
+ createAssetType(): AssetType;
3890
+
3715
3891
  /**
3716
3892
  * Erstellt einen neue Instanz von BulkTransferRequestApi
3717
3893
  *