@vario-software/types 2026.22.1 → 2026.22.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 +1 -1
- package/scripting/services.d.ts +44 -44
- package/scripting/types.d.ts +310 -310
package/package.json
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -549,27 +549,27 @@ export interface ArticleScriptingService {
|
|
|
549
549
|
*
|
|
550
550
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
551
551
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
552
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
552
553
|
*/
|
|
553
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
554
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
554
555
|
|
|
555
556
|
/**
|
|
556
557
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
557
558
|
*
|
|
558
559
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
559
560
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
560
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
561
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
562
561
|
*/
|
|
563
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
562
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
564
563
|
|
|
565
564
|
/**
|
|
566
565
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
567
566
|
*
|
|
568
567
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
569
568
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
569
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
570
570
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
571
571
|
*/
|
|
572
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
572
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -627,16 +627,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
627
627
|
* Führt einen Etikettendrucklauf aus
|
|
628
628
|
*
|
|
629
629
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
630
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
630
631
|
*/
|
|
631
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
632
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
632
633
|
|
|
633
634
|
/**
|
|
634
635
|
* Führt einen Etikettendrucklauf aus
|
|
635
636
|
*
|
|
636
637
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
637
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
638
638
|
*/
|
|
639
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
639
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
640
640
|
|
|
641
641
|
/**
|
|
642
642
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -1618,20 +1618,20 @@ export interface DocumentScriptingService {
|
|
|
1618
1618
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1619
1619
|
*
|
|
1620
1620
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1621
|
-
* @param {string}
|
|
1622
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1621
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1623
1622
|
* @return {Document} Der kopierte Beleg
|
|
1624
1623
|
*/
|
|
1625
|
-
copy(documentId: number,
|
|
1624
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1626
1625
|
|
|
1627
1626
|
/**
|
|
1628
1627
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1629
1628
|
*
|
|
1630
1629
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1631
|
-
* @param {string}
|
|
1630
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1631
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1632
1632
|
* @return {Document} Der kopierte Beleg
|
|
1633
1633
|
*/
|
|
1634
|
-
copy(documentId: number,
|
|
1634
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1635
1635
|
|
|
1636
1636
|
/**
|
|
1637
1637
|
* Erstellt einen neuen Beleg
|
|
@@ -1645,18 +1645,18 @@ export interface DocumentScriptingService {
|
|
|
1645
1645
|
* Löst einen Beleg auf
|
|
1646
1646
|
*
|
|
1647
1647
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1648
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1649
1648
|
* @return {Document} Der aufgelöste Beleg
|
|
1650
1649
|
*/
|
|
1651
|
-
dissolve(documentId: number
|
|
1650
|
+
dissolve(documentId: number): Document;
|
|
1652
1651
|
|
|
1653
1652
|
/**
|
|
1654
1653
|
* Löst einen Beleg auf
|
|
1655
1654
|
*
|
|
1656
1655
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1656
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1657
1657
|
* @return {Document} Der aufgelöste Beleg
|
|
1658
1658
|
*/
|
|
1659
|
-
dissolve(documentId: number): Document;
|
|
1659
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1660
1660
|
|
|
1661
1661
|
/**
|
|
1662
1662
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
@@ -1776,16 +1776,16 @@ export interface DocumentScriptingService {
|
|
|
1776
1776
|
* Versendet einen Beleg per Mail
|
|
1777
1777
|
*
|
|
1778
1778
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1779
|
+
* @param {string} reportGroupIdentifier -
|
|
1779
1780
|
*/
|
|
1780
|
-
sendViaMail(documentId: number): void;
|
|
1781
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1781
1782
|
|
|
1782
1783
|
/**
|
|
1783
1784
|
* Versendet einen Beleg per Mail
|
|
1784
1785
|
*
|
|
1785
1786
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1786
|
-
* @param {string} reportGroupIdentifier -
|
|
1787
1787
|
*/
|
|
1788
|
-
sendViaMail(documentId: number
|
|
1788
|
+
sendViaMail(documentId: number): void;
|
|
1789
1789
|
|
|
1790
1790
|
/**
|
|
1791
1791
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2663,14 +2663,14 @@ export interface ScriptingServiceList {
|
|
|
2663
2663
|
accountService: AccountScriptingService;
|
|
2664
2664
|
|
|
2665
2665
|
/**
|
|
2666
|
-
*
|
|
2666
|
+
* Logging im Scripting
|
|
2667
2667
|
*/
|
|
2668
|
-
|
|
2668
|
+
logger: LoggingScriptingService;
|
|
2669
2669
|
|
|
2670
2670
|
/**
|
|
2671
|
-
*
|
|
2671
|
+
* Verwaltung von Versandarten
|
|
2672
2672
|
*/
|
|
2673
|
-
|
|
2673
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2674
2674
|
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Service zur Verarbeitung von Deals
|
|
@@ -2688,14 +2688,14 @@ export interface ScriptingServiceList {
|
|
|
2688
2688
|
productGroupService: ProductGroupScriptingService;
|
|
2689
2689
|
|
|
2690
2690
|
/**
|
|
2691
|
-
*
|
|
2691
|
+
* Ausgabe-Support Methoden
|
|
2692
2692
|
*/
|
|
2693
|
-
|
|
2693
|
+
outputHelper: ScriptOutputHelperService;
|
|
2694
2694
|
|
|
2695
2695
|
/**
|
|
2696
|
-
*
|
|
2696
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2697
2697
|
*/
|
|
2698
|
-
|
|
2698
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2699
2699
|
|
|
2700
2700
|
/**
|
|
2701
2701
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2718,14 +2718,14 @@ export interface ScriptingServiceList {
|
|
|
2718
2718
|
utils: ScriptingUtilities;
|
|
2719
2719
|
|
|
2720
2720
|
/**
|
|
2721
|
-
* Service zur Verarbeitung von
|
|
2721
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
2722
2722
|
*/
|
|
2723
|
-
|
|
2723
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
2724
2724
|
|
|
2725
2725
|
/**
|
|
2726
|
-
* Service zur Verarbeitung von
|
|
2726
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
2727
2727
|
*/
|
|
2728
|
-
|
|
2728
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
2729
2729
|
|
|
2730
2730
|
/**
|
|
2731
2731
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -2753,14 +2753,14 @@ export interface ScriptingServiceList {
|
|
|
2753
2753
|
articleStorageService: ArticleStorageScriptingService;
|
|
2754
2754
|
|
|
2755
2755
|
/**
|
|
2756
|
-
*
|
|
2756
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2757
2757
|
*/
|
|
2758
|
-
|
|
2758
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2759
2759
|
|
|
2760
2760
|
/**
|
|
2761
|
-
*
|
|
2761
|
+
* Verwaltung von Zahlungsarten
|
|
2762
2762
|
*/
|
|
2763
|
-
|
|
2763
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2764
2764
|
|
|
2765
2765
|
/**
|
|
2766
2766
|
* Service zur Bestandsabfrage und Lagerbuchung in Skripten
|
|
@@ -2870,18 +2870,18 @@ export interface ScriptingUtilities {
|
|
|
2870
2870
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2871
2871
|
*
|
|
2872
2872
|
* @param {object} value - Der Quell-Wert
|
|
2873
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
2874
2873
|
* @return {number} Ein BigDecimal-Wert
|
|
2875
2874
|
*/
|
|
2876
|
-
newBigDecimal(value: object
|
|
2875
|
+
newBigDecimal(value: object): number;
|
|
2877
2876
|
|
|
2878
2877
|
/**
|
|
2879
2878
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2880
2879
|
*
|
|
2881
2880
|
* @param {object} value - Der Quell-Wert
|
|
2881
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
2882
2882
|
* @return {number} Ein BigDecimal-Wert
|
|
2883
2883
|
*/
|
|
2884
|
-
newBigDecimal(value: object): number;
|
|
2884
|
+
newBigDecimal(value: object, scale: number): number;
|
|
2885
2885
|
|
|
2886
2886
|
/**
|
|
2887
2887
|
* Erstellt eine API-Referenz
|
|
@@ -2913,24 +2913,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
2913
2913
|
deleteAttribution(attributionId: number): void;
|
|
2914
2914
|
|
|
2915
2915
|
/**
|
|
2916
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
2916
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
2917
2917
|
*
|
|
2918
2918
|
* @param {string} url - Download-URL
|
|
2919
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
2920
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
2919
2921
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
2920
2922
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
2921
2923
|
*/
|
|
2922
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
2924
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
2923
2925
|
|
|
2924
2926
|
/**
|
|
2925
|
-
* Lädt eine Datei von einer URL
|
|
2927
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
2926
2928
|
*
|
|
2927
2929
|
* @param {string} url - Download-URL
|
|
2928
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
2929
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
2930
2930
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
2931
2931
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
2932
2932
|
*/
|
|
2933
|
-
downloadIntoDMS(url: string,
|
|
2933
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
2934
2934
|
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Findet ein Dokumentenart über ihren Schlüssel
|