@vario-software/types 2026.30.0 → 2026.30.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 +54 -54
- package/scripting/types.d.ts +294 -294
package/package.json
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -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
|
|
576
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
577
577
|
|
|
578
578
|
/**
|
|
579
579
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -631,16 +631,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
631
631
|
* Führt einen Etikettendrucklauf aus
|
|
632
632
|
*
|
|
633
633
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
634
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
634
635
|
*/
|
|
635
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
636
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
636
637
|
|
|
637
638
|
/**
|
|
638
639
|
* Führt einen Etikettendrucklauf aus
|
|
639
640
|
*
|
|
640
641
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
641
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
642
642
|
*/
|
|
643
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
643
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
646
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -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
|
|
1761
1760
|
* @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
|
|
1762
1761
|
*/
|
|
1763
|
-
cancel(documentId: number
|
|
1762
|
+
cancel(documentId: number): Document;
|
|
1764
1763
|
|
|
1765
1764
|
/**
|
|
1766
1765
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1767
1766
|
*
|
|
1768
1767
|
* @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): Document;
|
|
1771
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): 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}
|
|
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,
|
|
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}
|
|
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,
|
|
1790
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1791
1791
|
|
|
1792
1792
|
/**
|
|
1793
1793
|
* Erstellt einen neuen Beleg
|
|
@@ -1818,18 +1818,18 @@ export interface DocumentScriptingService {
|
|
|
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
|
|
1832
|
+
edit(documentId: number): Document;
|
|
1833
1833
|
|
|
1834
1834
|
/**
|
|
1835
1835
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1923,33 +1923,33 @@ 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
|
|
1927
1926
|
* @return {Document} Der gespeicherte Beleg
|
|
1928
1927
|
*/
|
|
1929
|
-
save(documentId: number
|
|
1928
|
+
save(documentId: number): Document;
|
|
1930
1929
|
|
|
1931
1930
|
/**
|
|
1932
1931
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1933
1932
|
*
|
|
1934
1933
|
* @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): Document;
|
|
1937
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1938
1938
|
|
|
1939
1939
|
/**
|
|
1940
1940
|
* Versendet einen Beleg per Mail
|
|
1941
1941
|
*
|
|
1942
1942
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1943
|
-
* @param {string} reportGroupIdentifier -
|
|
1944
1943
|
*/
|
|
1945
|
-
sendViaMail(documentId: number
|
|
1944
|
+
sendViaMail(documentId: number): void;
|
|
1946
1945
|
|
|
1947
1946
|
/**
|
|
1948
1947
|
* Versendet einen Beleg per Mail
|
|
1949
1948
|
*
|
|
1950
1949
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1950
|
+
* @param {string} reportGroupIdentifier -
|
|
1951
1951
|
*/
|
|
1952
|
-
sendViaMail(documentId: number): void;
|
|
1952
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1953
1953
|
|
|
1954
1954
|
/**
|
|
1955
1955
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2881,14 +2881,14 @@ export interface ScriptingServiceList {
|
|
|
2881
2881
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2882
2882
|
|
|
2883
2883
|
/**
|
|
2884
|
-
*
|
|
2884
|
+
* Verwaltung von Versandarten
|
|
2885
2885
|
*/
|
|
2886
|
-
|
|
2886
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2887
2887
|
|
|
2888
2888
|
/**
|
|
2889
|
-
*
|
|
2889
|
+
* Logging im Scripting
|
|
2890
2890
|
*/
|
|
2891
|
-
|
|
2891
|
+
logger: LoggingScriptingService;
|
|
2892
2892
|
|
|
2893
2893
|
/**
|
|
2894
2894
|
* Service zur Verarbeitung von Deals
|
|
@@ -2911,14 +2911,14 @@ export interface ScriptingServiceList {
|
|
|
2911
2911
|
textTemplateService: TextTemplateScriptingService;
|
|
2912
2912
|
|
|
2913
2913
|
/**
|
|
2914
|
-
*
|
|
2914
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2915
2915
|
*/
|
|
2916
|
-
|
|
2916
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2917
2917
|
|
|
2918
2918
|
/**
|
|
2919
|
-
*
|
|
2919
|
+
* Ausgabe-Support Methoden
|
|
2920
2920
|
*/
|
|
2921
|
-
|
|
2921
|
+
outputHelper: ScriptOutputHelperService;
|
|
2922
2922
|
|
|
2923
2923
|
/**
|
|
2924
2924
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2946,14 +2946,14 @@ export interface ScriptingServiceList {
|
|
|
2946
2946
|
utils: ScriptingUtilities;
|
|
2947
2947
|
|
|
2948
2948
|
/**
|
|
2949
|
-
* Service zur Verarbeitung von
|
|
2949
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
2950
2950
|
*/
|
|
2951
|
-
|
|
2951
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
2952
2952
|
|
|
2953
2953
|
/**
|
|
2954
|
-
* Service zur Verarbeitung von
|
|
2954
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
2955
2955
|
*/
|
|
2956
|
-
|
|
2956
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
2957
2957
|
|
|
2958
2958
|
/**
|
|
2959
2959
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -2981,14 +2981,14 @@ export interface ScriptingServiceList {
|
|
|
2981
2981
|
articleStorageService: ArticleStorageScriptingService;
|
|
2982
2982
|
|
|
2983
2983
|
/**
|
|
2984
|
-
*
|
|
2984
|
+
* Verwaltung von Zahlungsarten
|
|
2985
2985
|
*/
|
|
2986
|
-
|
|
2986
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2987
2987
|
|
|
2988
2988
|
/**
|
|
2989
|
-
*
|
|
2989
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2990
2990
|
*/
|
|
2991
|
-
|
|
2991
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2992
2992
|
|
|
2993
2993
|
/**
|
|
2994
2994
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3001,14 +3001,14 @@ export interface ScriptingServiceList {
|
|
|
3001
3001
|
stockService: StockScriptingService;
|
|
3002
3002
|
|
|
3003
3003
|
/**
|
|
3004
|
-
* Service zur Verarbeitung von
|
|
3004
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3005
3005
|
*/
|
|
3006
|
-
|
|
3006
|
+
assetService: AssetScriptingService;
|
|
3007
3007
|
|
|
3008
3008
|
/**
|
|
3009
|
-
* Service zur Verarbeitung von
|
|
3009
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3010
3010
|
*/
|
|
3011
|
-
|
|
3011
|
+
variantValueService: VariantValueScriptingService;
|
|
3012
3012
|
|
|
3013
3013
|
/**
|
|
3014
3014
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -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
|
|
3117
3116
|
* @return {number} Ein BigDecimal-Wert
|
|
3118
3117
|
*/
|
|
3119
|
-
newBigDecimal(value: object
|
|
3118
|
+
newBigDecimal(value: object): number;
|
|
3120
3119
|
|
|
3121
3120
|
/**
|
|
3122
3121
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3123
3122
|
*
|
|
3124
3123
|
* @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): number;
|
|
3127
|
+
newBigDecimal(value: object, scale: number): 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 herunter und erstellt ein neues DMS-Dokument
|
|
3177
|
+
* Lädt eine Datei von einer URL mit Authentifizierung 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'
|
|
3180
3182
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3181
3183
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3182
3184
|
*/
|
|
3183
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3185
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3184
3186
|
|
|
3185
3187
|
/**
|
|
3186
|
-
* Lädt eine Datei von einer URL
|
|
3188
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3187
3189
|
*
|
|
3188
3190
|
* @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,
|
|
3194
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3195
3195
|
|
|
3196
3196
|
/**
|
|
3197
3197
|
* Findet ein Dokumentenart über ihren Schlüssel
|