@vario-software/types 2026.32.9 → 2026.33.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.
@@ -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,28 +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;
578
579
 
579
580
  /**
580
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
581
+ * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
582
+ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
583
+
581
584
  *
582
585
  * @param {Article} toCreate - Der zu persistierende Artikel
583
- * @param {string} languageCode -
584
- * @return {Article} Der persistierte 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
585
589
  */
586
- create(toCreate: Article, languageCode: string): Article;
590
+ create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
587
591
 
588
592
  /**
589
593
  * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
@@ -594,16 +598,13 @@ export interface ArticleScriptingService {
594
598
  create(toCreate: Article): Article;
595
599
 
596
600
  /**
597
- * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
598
- Die Texte werden zur Sprache der eigenen Adresse gespeichert.
599
-
601
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
600
602
  *
601
603
  * @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
604
+ * @param {string} languageCode -
605
+ * @return {Article} Der persistierte Artikel
605
606
  */
606
- create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
607
+ create(toCreate: Article, languageCode: string): Article;
607
608
 
608
609
  /**
609
610
  * Deaktiviert ein DTO
@@ -632,16 +633,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
632
633
  * Führt einen Etikettendrucklauf aus
633
634
  *
634
635
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
636
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
635
637
  */
636
- executeLabelPrintBatch(batchIdentifier: string): void;
638
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
637
639
 
638
640
  /**
639
641
  * Führt einen Etikettendrucklauf aus
640
642
  *
641
643
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
642
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
643
644
  */
644
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
645
+ executeLabelPrintBatch(batchIdentifier: string): void;
645
646
 
646
647
  /**
647
648
  * Liefert die Einkaufsrabatte zu einem Artikel
@@ -707,21 +708,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
707
708
  readById(id: number, languageCode: string): Article;
708
709
 
709
710
  /**
710
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
711
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
711
712
  *
712
713
  * @param {string} articleNumber - Eine Artikelnummer
714
+ * @param {string} languageCode - Zu verwendende Sprache
713
715
  * @return {Article} Der gelesene Artikel
714
716
  */
715
- readByNumber(articleNumber: string): Article;
717
+ readByNumber(articleNumber: string, languageCode: string): Article;
716
718
 
717
719
  /**
718
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
720
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
719
721
  *
720
722
  * @param {string} articleNumber - Eine Artikelnummer
721
- * @param {string} languageCode - Zu verwendende Sprache
722
723
  * @return {Article} Der gelesene Artikel
723
724
  */
724
- readByNumber(articleNumber: string, languageCode: string): Article;
725
+ readByNumber(articleNumber: string): Article;
725
726
 
726
727
  /**
727
728
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -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
  */
@@ -1775,20 +1844,20 @@ export interface DocumentScriptingService {
1775
1844
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1776
1845
  *
1777
1846
  * @param {number} documentId - ID des zu kopierenden Belegs
1778
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1779
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1847
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1780
1848
  * @return {Document} Der kopierte Beleg
1781
1849
  */
1782
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1850
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1783
1851
 
1784
1852
  /**
1785
1853
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1786
1854
  *
1787
1855
  * @param {number} documentId - ID des zu kopierenden Belegs
1788
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1856
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1857
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1789
1858
  * @return {Document} Der kopierte Beleg
1790
1859
  */
1791
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1860
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1792
1861
 
1793
1862
  /**
1794
1863
  * Erstellt einen neuen Beleg
@@ -1802,35 +1871,35 @@ 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)
1820
1889
  *
1821
1890
  * @param {number} documentId - ID des Belegs
1891
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1822
1892
  * @return {Document} Der Beleg in Bearbeitung
1823
1893
  */
1824
- edit(documentId: number): Document;
1894
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1825
1895
 
1826
1896
  /**
1827
1897
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1828
1898
  *
1829
1899
  * @param {number} documentId - ID des Belegs
1830
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1831
1900
  * @return {Document} Der Beleg in Bearbeitung
1832
1901
  */
1833
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1902
+ edit(documentId: number): Document;
1834
1903
 
1835
1904
  /**
1836
1905
  * Erstellt ein AdditionalParameter-Objekt
@@ -1941,16 +2010,16 @@ export interface DocumentScriptingService {
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
@@ -3175,24 +3249,24 @@ export interface ShelfDocumentScriptingService {
3175
3249
  deleteAttribution(attributionId: number): void;
3176
3250
 
3177
3251
  /**
3178
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3252
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3179
3253
  *
3180
3254
  * @param {string} url - Download-URL
3255
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3256
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3181
3257
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3182
3258
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3183
3259
  */
3184
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3260
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3185
3261
 
3186
3262
  /**
3187
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3263
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3188
3264
  *
3189
3265
  * @param {string} url - Download-URL
3190
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3191
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3192
3266
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3193
3267
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3194
3268
  */
3195
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3269
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3196
3270
 
3197
3271
  /**
3198
3272
  * Findet ein Dokumentenart über ihren Schlüssel
@@ -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
  *