@vario-software/types 2026.26.0 → 2026.26.2

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.26.0",
3
+ "version": "2026.26.2",
4
4
  "types": "./index.d.ts",
5
5
  "dependencies": {
6
6
  "@types/express": "^5.0.6"
@@ -550,9 +550,10 @@ 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
553
554
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
554
555
  */
555
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
556
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
556
557
 
557
558
  /**
558
559
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
@@ -567,10 +568,9 @@ export interface ArticleScriptingService {
567
568
  *
568
569
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
569
570
  * @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, articleSerialNumberId: number, labelCount: number): void;
573
+ addLabelToPrintBatch(batchIdentifier: string, articleId: 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
631
632
  */
632
- executeLabelPrintBatch(batchIdentifier: string): void;
633
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
633
634
 
634
635
  /**
635
636
  * Führt einen Etikettendrucklauf aus
636
637
  *
637
638
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
638
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
639
639
  */
640
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
640
+ executeLabelPrintBatch(batchIdentifier: string): void;
641
641
 
642
642
  /**
643
643
  * Liefert die Einkaufsrabatte zu einem Artikel
@@ -1619,20 +1619,20 @@ export interface DocumentScriptingService {
1619
1619
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1620
1620
  *
1621
1621
  * @param {number} documentId - ID des zu kopierenden Belegs
1622
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1623
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1622
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1624
1623
  * @return {Document} Der kopierte Beleg
1625
1624
  */
1626
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1625
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1627
1626
 
1628
1627
  /**
1629
1628
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1630
1629
  *
1631
1630
  * @param {number} documentId - ID des zu kopierenden Belegs
1632
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1631
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1632
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1633
1633
  * @return {Document} Der kopierte Beleg
1634
1634
  */
1635
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1635
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1636
1636
 
1637
1637
  /**
1638
1638
  * Erstellt einen neuen Beleg
@@ -1663,18 +1663,18 @@ export interface DocumentScriptingService {
1663
1663
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1664
1664
  *
1665
1665
  * @param {number} documentId - ID des Belegs
1666
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1666
1667
  * @return {Document} Der Beleg in Bearbeitung
1667
1668
  */
1668
- edit(documentId: number): Document;
1669
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1669
1670
 
1670
1671
  /**
1671
1672
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1672
1673
  *
1673
1674
  * @param {number} documentId - ID des Belegs
1674
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1675
1675
  * @return {Document} Der Beleg in Bearbeitung
1676
1676
  */
1677
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1677
+ edit(documentId: number): Document;
1678
1678
 
1679
1679
  /**
1680
1680
  * Erstellt ein AdditionalParameter-Objekt
@@ -2668,14 +2668,14 @@ export interface ScriptingServiceList {
2668
2668
  crmTaskService: CrmTaskScriptingService;
2669
2669
 
2670
2670
  /**
2671
- * Service zur Verarbeitung von Accounts
2671
+ * Service zur Verarbeitung von Shelf-Documents
2672
2672
  */
2673
- accountService: AccountScriptingService;
2673
+ shelfDocumentService: ShelfDocumentScriptingService;
2674
2674
 
2675
2675
  /**
2676
- * Service zur Verarbeitung von Shelf-Documents
2676
+ * Service zur Verarbeitung von Accounts
2677
2677
  */
2678
- shelfDocumentService: ShelfDocumentScriptingService;
2678
+ accountService: AccountScriptingService;
2679
2679
 
2680
2680
  /**
2681
2681
  * Verwaltung von Versandarten
@@ -2890,18 +2890,18 @@ export interface ScriptingUtilities {
2890
2890
  * Erstellt eine neue BigDecimal-Instanz
2891
2891
  *
2892
2892
  * @param {object} value - Der Quell-Wert
2893
+ * @param {number} scale - Anzahl Nachkommastellen
2893
2894
  * @return {number} Ein BigDecimal-Wert
2894
2895
  */
2895
- newBigDecimal(value: object): number;
2896
+ newBigDecimal(value: object, scale: number): number;
2896
2897
 
2897
2898
  /**
2898
2899
  * Erstellt eine neue BigDecimal-Instanz
2899
2900
  *
2900
2901
  * @param {object} value - Der Quell-Wert
2901
- * @param {number} scale - Anzahl Nachkommastellen
2902
2902
  * @return {number} Ein BigDecimal-Wert
2903
2903
  */
2904
- newBigDecimal(value: object, scale: number): number;
2904
+ newBigDecimal(value: object): number;
2905
2905
 
2906
2906
  /**
2907
2907
  * Erstellt eine API-Referenz
@@ -2933,24 +2933,24 @@ export interface ShelfDocumentScriptingService {
2933
2933
  deleteAttribution(attributionId: number): void;
2934
2934
 
2935
2935
  /**
2936
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
2936
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
2937
2937
  *
2938
2938
  * @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'
2939
2941
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2940
2942
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2941
2943
  */
2942
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
2944
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
2943
2945
 
2944
2946
  /**
2945
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
2947
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
2946
2948
  *
2947
2949
  * @param {string} url - Download-URL
2948
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
2949
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
2950
2950
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2951
2951
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2952
2952
  */
2953
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
2953
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
2954
2954
 
2955
2955
  /**
2956
2956
  * Findet ein Dokumentenart über ihren Schlüssel