@vario-software/types 2026.30.1 → 2026.30.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/types",
3
- "version": "2026.30.1",
3
+ "version": "2026.30.3",
4
4
  "types": "./index.d.ts",
5
5
  "dependencies": {
6
6
  "@types/express": "^5.0.6"
@@ -553,27 +553,27 @@ export interface ArticleScriptingService {
553
553
  *
554
554
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
555
555
  * @param {number} articleId - ID des zu druckenden Artikels
556
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
556
557
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
557
558
  */
558
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
559
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
559
560
 
560
561
  /**
561
562
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
562
563
  *
563
564
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
564
565
  * @param {number} articleId - ID des zu druckenden Artikels
566
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
565
567
  */
566
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
568
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
567
569
 
568
570
  /**
569
571
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
570
572
  *
571
573
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
572
574
  * @param {number} articleId - ID des zu druckenden Artikels
573
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
574
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
575
575
  */
576
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
576
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
577
577
 
578
578
  /**
579
579
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -1757,37 +1757,37 @@ export interface DocumentScriptingService {
1757
1757
  * Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
1758
1758
  *
1759
1759
  * @param {number} documentId - ID des Belegs
1760
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1760
1761
  * @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
1761
1762
  */
1762
- cancel(documentId: number): Document;
1763
+ cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1763
1764
 
1764
1765
  /**
1765
1766
  * Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
1766
1767
  *
1767
1768
  * @param {number} documentId - ID des Belegs
1768
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1769
1769
  * @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
1770
1770
  */
1771
- cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1771
+ cancel(documentId: number): Document;
1772
1772
 
1773
1773
  /**
1774
1774
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1775
1775
  *
1776
1776
  * @param {number} documentId - ID des zu kopierenden Belegs
1777
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1778
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1777
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1779
1778
  * @return {Document} Der kopierte Beleg
1780
1779
  */
1781
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1780
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1782
1781
 
1783
1782
  /**
1784
1783
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1785
1784
  *
1786
1785
  * @param {number} documentId - ID des zu kopierenden Belegs
1787
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1786
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1787
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1788
1788
  * @return {Document} Der kopierte Beleg
1789
1789
  */
1790
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1790
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1791
1791
 
1792
1792
  /**
1793
1793
  * Erstellt einen neuen Beleg
@@ -1801,35 +1801,35 @@ export interface DocumentScriptingService {
1801
1801
  * Löst einen Beleg auf
1802
1802
  *
1803
1803
  * @param {number} documentId - ID des aufzulösenden Belegs
1804
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1805
1804
  * @return {Document} Der aufgelöste Beleg
1806
1805
  */
1807
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1806
+ dissolve(documentId: number): Document;
1808
1807
 
1809
1808
  /**
1810
1809
  * Löst einen Beleg auf
1811
1810
  *
1812
1811
  * @param {number} documentId - ID des aufzulösenden Belegs
1812
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1813
1813
  * @return {Document} Der aufgelöste Beleg
1814
1814
  */
1815
- dissolve(documentId: number): Document;
1815
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1816
1816
 
1817
1817
  /**
1818
1818
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1819
1819
  *
1820
1820
  * @param {number} documentId - ID des Belegs
1821
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1821
1822
  * @return {Document} Der Beleg in Bearbeitung
1822
1823
  */
1823
- edit(documentId: number): Document;
1824
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1824
1825
 
1825
1826
  /**
1826
1827
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1827
1828
  *
1828
1829
  * @param {number} documentId - ID des Belegs
1829
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1830
1830
  * @return {Document} Der Beleg in Bearbeitung
1831
1831
  */
1832
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1832
+ edit(documentId: number): Document;
1833
1833
 
1834
1834
  /**
1835
1835
  * Erstellt ein AdditionalParameter-Objekt
@@ -1923,18 +1923,18 @@ export interface DocumentScriptingService {
1923
1923
  * Speichert einen Beleg (Transition EDIT -> SAVED)
1924
1924
  *
1925
1925
  * @param {number} documentId - ID des zu speichernden Belegs
1926
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1926
1927
  * @return {Document} Der gespeicherte Beleg
1927
1928
  */
1928
- save(documentId: number): Document;
1929
+ save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1929
1930
 
1930
1931
  /**
1931
1932
  * Speichert einen Beleg (Transition EDIT -> SAVED)
1932
1933
  *
1933
1934
  * @param {number} documentId - ID des zu speichernden Belegs
1934
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1935
1935
  * @return {Document} Der gespeicherte Beleg
1936
1936
  */
1937
- save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1937
+ save(documentId: number): Document;
1938
1938
 
1939
1939
  /**
1940
1940
  * Versendet einen Beleg per Mail
@@ -2871,14 +2871,14 @@ export interface ScriptingServiceList {
2871
2871
  crmTaskService: CrmTaskScriptingService;
2872
2872
 
2873
2873
  /**
2874
- * Service zur Verarbeitung von Accounts
2874
+ * Service zur Verarbeitung von Shelf-Documents
2875
2875
  */
2876
- accountService: AccountScriptingService;
2876
+ shelfDocumentService: ShelfDocumentScriptingService;
2877
2877
 
2878
2878
  /**
2879
- * Service zur Verarbeitung von Shelf-Documents
2879
+ * Service zur Verarbeitung von Accounts
2880
2880
  */
2881
- shelfDocumentService: ShelfDocumentScriptingService;
2881
+ accountService: AccountScriptingService;
2882
2882
 
2883
2883
  /**
2884
2884
  * Logging im Scripting
@@ -3113,18 +3113,18 @@ export interface ScriptingUtilities {
3113
3113
  * Erstellt eine neue BigDecimal-Instanz
3114
3114
  *
3115
3115
  * @param {object} value - Der Quell-Wert
3116
+ * @param {number} scale - Anzahl Nachkommastellen
3116
3117
  * @return {number} Ein BigDecimal-Wert
3117
3118
  */
3118
- newBigDecimal(value: object): number;
3119
+ newBigDecimal(value: object, scale: number): number;
3119
3120
 
3120
3121
  /**
3121
3122
  * Erstellt eine neue BigDecimal-Instanz
3122
3123
  *
3123
3124
  * @param {object} value - Der Quell-Wert
3124
- * @param {number} scale - Anzahl Nachkommastellen
3125
3125
  * @return {number} Ein BigDecimal-Wert
3126
3126
  */
3127
- newBigDecimal(value: object, scale: number): number;
3127
+ newBigDecimal(value: object): number;
3128
3128
 
3129
3129
  /**
3130
3130
  * Erstellt eine API-Referenz
@@ -3174,24 +3174,24 @@ export interface ShelfDocumentScriptingService {
3174
3174
  deleteAttribution(attributionId: number): void;
3175
3175
 
3176
3176
  /**
3177
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3177
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3178
3178
  *
3179
3179
  * @param {string} url - Download-URL
3180
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3181
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3182
3180
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3183
3181
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3184
3182
  */
3185
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3183
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3186
3184
 
3187
3185
  /**
3188
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3186
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3189
3187
  *
3190
3188
  * @param {string} url - Download-URL
3189
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3190
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3191
3191
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3192
3192
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3193
3193
  */
3194
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3194
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3195
3195
 
3196
3196
  /**
3197
3197
  * Findet ein Dokumentenart über ihren Schlüssel