@vario-software/types 2026.32.9 → 2026.33.1

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.
@@ -3,17 +3,18 @@ import {
3
3
  AccountLoanValue, AccountManufacturer, AccountManufacturerDescription,
4
4
  AccountPerson, AccountRelation, AdditionalParameter, ApiCreatableReference,
5
5
  ApiObjectReference, Article, Article$Metric, ArticleAssetInformation,
6
- ArticleAvailabilityDetermination, ArticleCustomer, ArticleIdentifier,
7
- ArticleListing, ArticlePrintLabelSettings, ArticleSerialNumber,
8
- ArticleStorage, ArticleSupplier, AssemblyComponentReturnLine, Asset,
9
- AssetType, BulkTransferRequestApi, BulkTransferResult, Contact,
10
- CountryReference, CreateNewDocumentRequest, CrmActivity, CrmActivityType,
11
- CrmChecklistItem, CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant,
12
- CrmPriority, CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType,
13
- CrmTask, CrmTaskParticipant, CrmTypedDocumentRef, CrmTypedDocumentRefList,
14
- CurrencyReference, Customer, DangerousGoodInformation,
15
- DealNotificationEventConfig, DeliveryMethod, DeliveryTerm, DmsOutputStream,
16
- Document, DocumentAdditionalInfo,
6
+ ArticleAvailabilityDetermination, ArticleBundleConversionInfo,
7
+ ArticleCustomer, ArticleIdentifier, ArticleListing,
8
+ ArticlePrintLabelSettings, ArticleSerialNumber, ArticleStorage,
9
+ ArticleSupplier, AssemblyComponentReturnLine, Asset, AssetType,
10
+ BulkTransferRequestApi, BulkTransferResult, BundleSchema,
11
+ BundleUnitTypeRatio, Contact, CountryReference, CreateNewDocumentRequest,
12
+ CrmActivity, CrmActivityType, CrmChecklistItem, CrmDeal, CrmDealTopic,
13
+ CrmObjectRef, CrmParticipant, CrmPriority, CrmProject, CrmReference,
14
+ CrmReminder, CrmState, CrmSubType, CrmTask, CrmTaskParticipant,
15
+ CrmTypedDocumentRef, CrmTypedDocumentRefList, CurrencyReference, Customer,
16
+ DangerousGoodInformation, DealNotificationEventConfig, DeliveryMethod,
17
+ DeliveryTerm, DmsOutputStream, Document, DocumentAdditionalInfo,
17
18
  DocumentAdditionalInfo$IncomingGoodsTarget,
18
19
  DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
19
20
  DocumentAdditionalInfo$PrintedTranslatedField, DocumentAddress,
@@ -562,19 +563,31 @@ export interface ArticleScriptingService {
562
563
  *
563
564
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
564
565
  * @param {number} articleId - ID des zu druckenden Artikels
565
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
566
566
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
567
567
  */
568
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
568
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
569
569
 
570
570
  /**
571
571
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
572
572
  *
573
573
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
574
574
  * @param {number} articleId - ID des zu druckenden Artikels
575
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
575
576
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
576
577
  */
577
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
578
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
579
+
580
+ /**
581
+ * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
582
+ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
583
+
584
+ *
585
+ * @param {Article} toCreate - Der zu persistierende Artikel
586
+ * @param {number} bundleSchemaId - ID des Gebindeschemas, das als Vorlage verwendet werden soll
587
+ * @param {boolean} useSameNumberForAllArticles - Gleiche Artikelnummer für alle Gebindeartikel verwenden?
588
+ * @return {Article} Der gespeicherte Haupt-Artikel
589
+ */
590
+ create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
578
591
 
579
592
  /**
580
593
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -593,18 +606,6 @@ export interface ArticleScriptingService {
593
606
  */
594
607
  create(toCreate: Article): Article;
595
608
 
596
- /**
597
- * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
598
- Die Texte werden zur Sprache der eigenen Adresse gespeichert.
599
-
600
- *
601
- * @param {Article} toCreate - Der zu persistierende Artikel
602
- * @param {number} bundleSchemaId - ID des Gebindeschemas, das als Vorlage verwendet werden soll
603
- * @param {boolean} useSameNumberForAllArticles - Gleiche Artikelnummer für alle Gebindeartikel verwenden?
604
- * @return {Article} Der gespeicherte Haupt-Artikel
605
- */
606
- create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
607
-
608
609
  /**
609
610
  * Deaktiviert ein DTO
610
611
  *
@@ -724,38 +725,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
724
725
  readByNumber(articleNumber: string, languageCode: string): Article;
725
726
 
726
727
  /**
727
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
728
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
728
729
  *
729
730
  * @param {Article} toStore - Der zu persistierende Artikel
730
- * @param {string} languageCode -
731
731
  * @return {Article} Der persistierte Artikel
732
732
  */
733
- store(toStore: Article, languageCode: string): Article;
733
+ store(toStore: Article): Article;
734
734
 
735
735
  /**
736
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
736
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
737
737
  *
738
738
  * @param {Article} toStore - Der zu persistierende Artikel
739
+ * @param {string} languageCode -
739
740
  * @return {Article} Der persistierte Artikel
740
741
  */
741
- store(toStore: Article): Article;
742
+ store(toStore: Article, languageCode: string): Article;
742
743
 
743
744
  /**
744
- * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
745
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
745
746
  *
746
747
  * @param {Article} toUpdate - Der zu persistierende Artikel
747
- * @param {string} languageCode -
748
748
  * @return {Article} Der aktualisiert Artikel
749
749
  */
750
- update(toUpdate: Article, languageCode: string): Article;
750
+ update(toUpdate: Article): Article;
751
751
 
752
752
  /**
753
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
753
+ * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
754
754
  *
755
755
  * @param {Article} toUpdate - Der zu persistierende Artikel
756
+ * @param {string} languageCode -
756
757
  * @return {Article} Der aktualisiert Artikel
757
758
  */
758
- update(toUpdate: Article): Article;
759
+ update(toUpdate: Article, languageCode: string): Article;
759
760
  }
760
761
 
761
762
  /**
@@ -1046,6 +1047,74 @@ export interface AssetTypeScriptingService {
1046
1047
  update(toUpdate: AssetType): AssetType;
1047
1048
  }
1048
1049
 
1050
+ /**
1051
+ * Service zur Verarbeitung von Artikeln-Gebinde-Relationen in Skripten
1052
+ */
1053
+ export interface BundleSchemaScriptingService {
1054
+
1055
+ /**
1056
+ * Persistiert ein DTO
1057
+ *
1058
+ * @param {BundleSchema} toCreate - Das zu persistierende DTO
1059
+ * @return {BundleSchema} Das persistierte DTO
1060
+ */
1061
+ create(toCreate: BundleSchema): BundleSchema;
1062
+
1063
+ /**
1064
+ * Löscht eine Entity
1065
+ *
1066
+ * @param {number} id - ID der zu löschenden Entity
1067
+ */
1068
+ deleteById(id: number): void;
1069
+
1070
+ /**
1071
+ * Liefert die Informationen zur Auflösung und Zusammenführung eines Artikels in seine direkten Nachbargebinde
1072
+ *
1073
+ * @param {number} articleId - Eine Artikel-ID
1074
+ * @return {ArticleBundleConversionInfo} Die Informationen zur Auflösung und Zusammenführung
1075
+ */
1076
+ getArticleBundleConversionInfo(articleId: number): ArticleBundleConversionInfo;
1077
+
1078
+ /**
1079
+ * Erstellt eine neue DTO-Instanz
1080
+ *
1081
+ * @return {BundleSchema} Die neue DTO-Instanz
1082
+ */
1083
+ getNewDto(): BundleSchema;
1084
+
1085
+ /**
1086
+ * Liest eine Liste von DTOs
1087
+ *
1088
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
1089
+ * @return {Array<BundleSchema>} Die Liste der gelesenen DTOs
1090
+ */
1091
+ readAllById(ids: Array<number>): Array<BundleSchema>;
1092
+
1093
+ /**
1094
+ * Liest ein DTO
1095
+ *
1096
+ * @param {number} id - ID vom zu lesenden DTO
1097
+ * @return {BundleSchema} Das gelesene DTO
1098
+ */
1099
+ readById(id: number): BundleSchema;
1100
+
1101
+ /**
1102
+ * Persistiert eine DTO
1103
+ *
1104
+ * @param {BundleSchema} toStore - Das zu persistierende DTO
1105
+ * @return {BundleSchema} Das persistierte DTO
1106
+ */
1107
+ store(toStore: BundleSchema): BundleSchema;
1108
+
1109
+ /**
1110
+ * Aktualisiert ein persistiertes DTO
1111
+ *
1112
+ * @param {BundleSchema} toUpdate - Die zu aktualisierende Entity
1113
+ * @return {BundleSchema} Das aktualisierte DTO
1114
+ */
1115
+ update(toUpdate: BundleSchema): BundleSchema;
1116
+ }
1117
+
1049
1118
  /**
1050
1119
  * Service zur Verarbeitung von CRM-Aktivitäten
1051
1120
  */
@@ -1802,18 +1871,18 @@ export interface DocumentScriptingService {
1802
1871
  * Löst einen Beleg auf
1803
1872
  *
1804
1873
  * @param {number} documentId - ID des aufzulösenden Belegs
1805
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1806
1874
  * @return {Document} Der aufgelöste Beleg
1807
1875
  */
1808
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1876
+ dissolve(documentId: number): Document;
1809
1877
 
1810
1878
  /**
1811
1879
  * Löst einen Beleg auf
1812
1880
  *
1813
1881
  * @param {number} documentId - ID des aufzulösenden Belegs
1882
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1814
1883
  * @return {Document} Der aufgelöste Beleg
1815
1884
  */
1816
- dissolve(documentId: number): Document;
1885
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1817
1886
 
1818
1887
  /**
1819
1888
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
@@ -1924,33 +1993,33 @@ export interface DocumentScriptingService {
1924
1993
  * Speichert einen Beleg (Transition EDIT -> SAVED)
1925
1994
  *
1926
1995
  * @param {number} documentId - ID des zu speichernden Belegs
1996
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1927
1997
  * @return {Document} Der gespeicherte Beleg
1928
1998
  */
1929
- save(documentId: number): Document;
1999
+ save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1930
2000
 
1931
2001
  /**
1932
2002
  * Speichert einen Beleg (Transition EDIT -> SAVED)
1933
2003
  *
1934
2004
  * @param {number} documentId - ID des zu speichernden Belegs
1935
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1936
2005
  * @return {Document} Der gespeicherte Beleg
1937
2006
  */
1938
- save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2007
+ save(documentId: number): Document;
1939
2008
 
1940
2009
  /**
1941
2010
  * Versendet einen Beleg per Mail
1942
2011
  *
1943
2012
  * @param {number} documentId - ID des zu versendenden Belegs
1944
- * @param {string} reportGroupIdentifier -
1945
2013
  */
1946
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2014
+ sendViaMail(documentId: number): void;
1947
2015
 
1948
2016
  /**
1949
2017
  * Versendet einen Beleg per Mail
1950
2018
  *
1951
2019
  * @param {number} documentId - ID des zu versendenden Belegs
2020
+ * @param {string} reportGroupIdentifier -
1952
2021
  */
1953
- sendViaMail(documentId: number): void;
2022
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1954
2023
 
1955
2024
  /**
1956
2025
  * Überführt einen Beleg in einen anderen Status
@@ -2861,6 +2930,11 @@ export interface ScriptingServiceList {
2861
2930
  */
2862
2931
  textEnumerationService: TextEnumerationScriptingService;
2863
2932
 
2933
+ /**
2934
+ * Service zur Verarbeitung von Artikeln-Gebinde-Relationen in Skripten
2935
+ */
2936
+ bundleSchemaService: BundleSchemaScriptingService;
2937
+
2864
2938
  /**
2865
2939
  * Service zur Verarbeitung von Variantenattributen in Skripten
2866
2940
  */
@@ -2872,14 +2946,14 @@ export interface ScriptingServiceList {
2872
2946
  crmTaskService: CrmTaskScriptingService;
2873
2947
 
2874
2948
  /**
2875
- * Service zur Verarbeitung von Shelf-Documents
2949
+ * Service zur Verarbeitung von Accounts
2876
2950
  */
2877
- shelfDocumentService: ShelfDocumentScriptingService;
2951
+ accountService: AccountScriptingService;
2878
2952
 
2879
2953
  /**
2880
- * Service zur Verarbeitung von Accounts
2954
+ * Service zur Verarbeitung von Shelf-Documents
2881
2955
  */
2882
- accountService: AccountScriptingService;
2956
+ shelfDocumentService: ShelfDocumentScriptingService;
2883
2957
 
2884
2958
  /**
2885
2959
  * Logging im Scripting
@@ -3114,18 +3188,18 @@ export interface ScriptingUtilities {
3114
3188
  * Erstellt eine neue BigDecimal-Instanz
3115
3189
  *
3116
3190
  * @param {object} value - Der Quell-Wert
3117
- * @param {number} scale - Anzahl Nachkommastellen
3118
3191
  * @return {number} Ein BigDecimal-Wert
3119
3192
  */
3120
- newBigDecimal(value: object, scale: number): number;
3193
+ newBigDecimal(value: object): number;
3121
3194
 
3122
3195
  /**
3123
3196
  * Erstellt eine neue BigDecimal-Instanz
3124
3197
  *
3125
3198
  * @param {object} value - Der Quell-Wert
3199
+ * @param {number} scale - Anzahl Nachkommastellen
3126
3200
  * @return {number} Ein BigDecimal-Wert
3127
3201
  */
3128
- newBigDecimal(value: object): number;
3202
+ newBigDecimal(value: object, scale: number): number;
3129
3203
 
3130
3204
  /**
3131
3205
  * Erstellt eine API-Referenz
@@ -3899,18 +3973,18 @@ export interface VqlScriptingService {
3899
3973
  * Führt eine VQL mit Parametern aus
3900
3974
  *
3901
3975
  * @param {string} vql - Die auszuführende VQL
3976
+ * @param {Map<string,Array<object>>} variablesWithValues - Variablen mit Werten für die Ausführung der VQL
3902
3977
  * @return {Array<Map<string,object>>} Das Ergebnis der VQL
3903
3978
  */
3904
- queryAll(vql: string): Array<Map<string,object>>;
3979
+ queryAll(vql: string, variablesWithValues: Map<string,Array<object>>): Array<Map<string,object>>;
3905
3980
 
3906
3981
  /**
3907
3982
  * Führt eine VQL mit Parametern aus
3908
3983
  *
3909
3984
  * @param {string} vql - Die auszuführende VQL
3910
- * @param {Map<string,Array<object>>} variablesWithValues - Variablen mit Werten für die Ausführung der VQL
3911
3985
  * @return {Array<Map<string,object>>} Das Ergebnis der VQL
3912
3986
  */
3913
- queryAll(vql: string, variablesWithValues: Map<string,Array<object>>): Array<Map<string,object>>;
3987
+ queryAll(vql: string): Array<Map<string,object>>;
3914
3988
  }
3915
3989
 
3916
3990
  /**
@@ -4065,6 +4139,13 @@ export interface dtoFactory {
4065
4139
  */
4066
4140
  createBulkTransferResult(): BulkTransferResult;
4067
4141
 
4142
+ /**
4143
+ * Erstellt einen neue Instanz von BundleUnitTypeRatio
4144
+ *
4145
+ * @return {BundleUnitTypeRatio} Neue Instanz von BundleUnitTypeRatio
4146
+ */
4147
+ createBundleUnitTypeRatio(): BundleUnitTypeRatio;
4148
+
4068
4149
  /**
4069
4150
  * Erstellt einen neue Instanz von Contact
4070
4151
  *