@vario-software/types 2026.32.4 → 2026.32.5
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 +52 -52
- package/scripting/types.d.ts +303 -303
package/package.json
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -564,17 +564,17 @@ export interface ArticleScriptingService {
|
|
|
564
564
|
*
|
|
565
565
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
566
566
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
567
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
567
568
|
*/
|
|
568
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
569
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
569
570
|
|
|
570
571
|
/**
|
|
571
572
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
572
573
|
*
|
|
573
574
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
574
575
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
575
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
576
576
|
*/
|
|
577
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
577
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
580
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -632,16 +632,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
632
632
|
* Führt einen Etikettendrucklauf aus
|
|
633
633
|
*
|
|
634
634
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
635
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
635
636
|
*/
|
|
636
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
637
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
637
638
|
|
|
638
639
|
/**
|
|
639
640
|
* Führt einen Etikettendrucklauf aus
|
|
640
641
|
*
|
|
641
642
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
642
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
643
643
|
*/
|
|
644
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
644
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
647
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -690,21 +690,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
690
690
|
newLabelPrintBatchIdentifier(): string;
|
|
691
691
|
|
|
692
692
|
/**
|
|
693
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
693
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
694
694
|
*
|
|
695
695
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
696
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
697
696
|
* @return {Article} Der gelesene Artikel
|
|
698
697
|
*/
|
|
699
|
-
readById(id: number
|
|
698
|
+
readById(id: number): Article;
|
|
700
699
|
|
|
701
700
|
/**
|
|
702
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
701
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
703
702
|
*
|
|
704
703
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
704
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
705
705
|
* @return {Article} Der gelesene Artikel
|
|
706
706
|
*/
|
|
707
|
-
readById(id: number): Article;
|
|
707
|
+
readById(id: number, languageCode: string): Article;
|
|
708
708
|
|
|
709
709
|
/**
|
|
710
710
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
@@ -1802,35 +1802,35 @@ export interface DocumentScriptingService {
|
|
|
1802
1802
|
* Löst einen Beleg auf
|
|
1803
1803
|
*
|
|
1804
1804
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1805
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1805
1806
|
* @return {Document} Der aufgelöste Beleg
|
|
1806
1807
|
*/
|
|
1807
|
-
dissolve(documentId: number): Document;
|
|
1808
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1808
1809
|
|
|
1809
1810
|
/**
|
|
1810
1811
|
* Löst einen Beleg auf
|
|
1811
1812
|
*
|
|
1812
1813
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1813
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1814
1814
|
* @return {Document} Der aufgelöste Beleg
|
|
1815
1815
|
*/
|
|
1816
|
-
dissolve(documentId: number
|
|
1816
|
+
dissolve(documentId: number): Document;
|
|
1817
1817
|
|
|
1818
1818
|
/**
|
|
1819
1819
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1820
1820
|
*
|
|
1821
1821
|
* @param {number} documentId - ID des Belegs
|
|
1822
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1823
1822
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1824
1823
|
*/
|
|
1825
|
-
edit(documentId: number
|
|
1824
|
+
edit(documentId: number): Document;
|
|
1826
1825
|
|
|
1827
1826
|
/**
|
|
1828
1827
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1829
1828
|
*
|
|
1830
1829
|
* @param {number} documentId - ID des Belegs
|
|
1830
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1831
1831
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1832
1832
|
*/
|
|
1833
|
-
edit(documentId: number): Document;
|
|
1833
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1834
1834
|
|
|
1835
1835
|
/**
|
|
1836
1836
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1924,33 +1924,33 @@ export interface DocumentScriptingService {
|
|
|
1924
1924
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1925
1925
|
*
|
|
1926
1926
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1927
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1928
1927
|
* @return {Document} Der gespeicherte Beleg
|
|
1929
1928
|
*/
|
|
1930
|
-
save(documentId: number
|
|
1929
|
+
save(documentId: number): Document;
|
|
1931
1930
|
|
|
1932
1931
|
/**
|
|
1933
1932
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1934
1933
|
*
|
|
1935
1934
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1935
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1936
1936
|
* @return {Document} Der gespeicherte Beleg
|
|
1937
1937
|
*/
|
|
1938
|
-
save(documentId: number): Document;
|
|
1938
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1939
1939
|
|
|
1940
1940
|
/**
|
|
1941
1941
|
* Versendet einen Beleg per Mail
|
|
1942
1942
|
*
|
|
1943
1943
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1944
|
+
* @param {string} reportGroupIdentifier -
|
|
1944
1945
|
*/
|
|
1945
|
-
sendViaMail(documentId: number): void;
|
|
1946
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1946
1947
|
|
|
1947
1948
|
/**
|
|
1948
1949
|
* Versendet einen Beleg per Mail
|
|
1949
1950
|
*
|
|
1950
1951
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1951
|
-
* @param {string} reportGroupIdentifier -
|
|
1952
1952
|
*/
|
|
1953
|
-
sendViaMail(documentId: number
|
|
1953
|
+
sendViaMail(documentId: number): void;
|
|
1954
1954
|
|
|
1955
1955
|
/**
|
|
1956
1956
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2871,26 +2871,26 @@ export interface ScriptingServiceList {
|
|
|
2871
2871
|
*/
|
|
2872
2872
|
crmTaskService: CrmTaskScriptingService;
|
|
2873
2873
|
|
|
2874
|
-
/**
|
|
2875
|
-
* Service zur Verarbeitung von Shelf-Documents
|
|
2876
|
-
*/
|
|
2877
|
-
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2878
|
-
|
|
2879
2874
|
/**
|
|
2880
2875
|
* Service zur Verarbeitung von Accounts
|
|
2881
2876
|
*/
|
|
2882
2877
|
accountService: AccountScriptingService;
|
|
2883
2878
|
|
|
2884
2879
|
/**
|
|
2885
|
-
*
|
|
2880
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2886
2881
|
*/
|
|
2887
|
-
|
|
2882
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2888
2883
|
|
|
2889
2884
|
/**
|
|
2890
2885
|
* Verwaltung von Versandarten
|
|
2891
2886
|
*/
|
|
2892
2887
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2893
2888
|
|
|
2889
|
+
/**
|
|
2890
|
+
* Logging im Scripting
|
|
2891
|
+
*/
|
|
2892
|
+
logger: LoggingScriptingService;
|
|
2893
|
+
|
|
2894
2894
|
/**
|
|
2895
2895
|
* Service zur Verarbeitung von Deals
|
|
2896
2896
|
*/
|
|
@@ -2912,14 +2912,14 @@ export interface ScriptingServiceList {
|
|
|
2912
2912
|
textTemplateService: TextTemplateScriptingService;
|
|
2913
2913
|
|
|
2914
2914
|
/**
|
|
2915
|
-
*
|
|
2915
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2916
2916
|
*/
|
|
2917
|
-
|
|
2917
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2918
2918
|
|
|
2919
2919
|
/**
|
|
2920
|
-
*
|
|
2920
|
+
* Ausgabe-Support Methoden
|
|
2921
2921
|
*/
|
|
2922
|
-
|
|
2922
|
+
outputHelper: ScriptOutputHelperService;
|
|
2923
2923
|
|
|
2924
2924
|
/**
|
|
2925
2925
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2947,14 +2947,14 @@ export interface ScriptingServiceList {
|
|
|
2947
2947
|
utils: ScriptingUtilities;
|
|
2948
2948
|
|
|
2949
2949
|
/**
|
|
2950
|
-
* Service zur Verarbeitung von
|
|
2950
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
2951
2951
|
*/
|
|
2952
|
-
|
|
2952
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
2953
2953
|
|
|
2954
2954
|
/**
|
|
2955
|
-
* Service zur Verarbeitung von
|
|
2955
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
2956
2956
|
*/
|
|
2957
|
-
|
|
2957
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
2958
2958
|
|
|
2959
2959
|
/**
|
|
2960
2960
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -2982,14 +2982,14 @@ export interface ScriptingServiceList {
|
|
|
2982
2982
|
articleStorageService: ArticleStorageScriptingService;
|
|
2983
2983
|
|
|
2984
2984
|
/**
|
|
2985
|
-
*
|
|
2985
|
+
* Verwaltung von Zahlungsarten
|
|
2986
2986
|
*/
|
|
2987
|
-
|
|
2987
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2988
2988
|
|
|
2989
2989
|
/**
|
|
2990
|
-
*
|
|
2990
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2991
2991
|
*/
|
|
2992
|
-
|
|
2992
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2993
2993
|
|
|
2994
2994
|
/**
|
|
2995
2995
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3002,14 +3002,14 @@ export interface ScriptingServiceList {
|
|
|
3002
3002
|
stockService: StockScriptingService;
|
|
3003
3003
|
|
|
3004
3004
|
/**
|
|
3005
|
-
* Service zur Verarbeitung von
|
|
3005
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3006
3006
|
*/
|
|
3007
|
-
|
|
3007
|
+
assetService: AssetScriptingService;
|
|
3008
3008
|
|
|
3009
3009
|
/**
|
|
3010
|
-
* Service zur Verarbeitung von
|
|
3010
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3011
3011
|
*/
|
|
3012
|
-
|
|
3012
|
+
variantValueService: VariantValueScriptingService;
|
|
3013
3013
|
|
|
3014
3014
|
/**
|
|
3015
3015
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -3175,24 +3175,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
3175
3175
|
deleteAttribution(attributionId: number): void;
|
|
3176
3176
|
|
|
3177
3177
|
/**
|
|
3178
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3178
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3179
3179
|
*
|
|
3180
3180
|
* @param {string} url - Download-URL
|
|
3181
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3182
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3181
3183
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3182
3184
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3183
3185
|
*/
|
|
3184
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3186
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3185
3187
|
|
|
3186
3188
|
/**
|
|
3187
|
-
* Lädt eine Datei von einer URL
|
|
3189
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3188
3190
|
*
|
|
3189
3191
|
* @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
3192
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3193
3193
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3194
3194
|
*/
|
|
3195
|
-
downloadIntoDMS(url: string,
|
|
3195
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3196
3196
|
|
|
3197
3197
|
/**
|
|
3198
3198
|
* Findet ein Dokumentenart über ihren Schlüssel
|