@vario-software/types 2026.28.0 → 2026.28.1
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 +27 -27
- package/scripting/types.d.ts +332 -332
package/package.json
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -552,17 +552,17 @@ export interface ArticleScriptingService {
|
|
|
552
552
|
*
|
|
553
553
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
554
554
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
555
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
556
555
|
*/
|
|
557
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
556
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
558
557
|
|
|
559
558
|
/**
|
|
560
559
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
561
560
|
*
|
|
562
561
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
563
562
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
563
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
564
564
|
*/
|
|
565
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
565
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
566
566
|
|
|
567
567
|
/**
|
|
568
568
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -688,21 +688,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
688
688
|
newLabelPrintBatchIdentifier(): string;
|
|
689
689
|
|
|
690
690
|
/**
|
|
691
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
691
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
692
692
|
*
|
|
693
693
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
694
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
694
695
|
* @return {Article} Der gelesene Artikel
|
|
695
696
|
*/
|
|
696
|
-
readById(id: number): Article;
|
|
697
|
+
readById(id: number, languageCode: string): Article;
|
|
697
698
|
|
|
698
699
|
/**
|
|
699
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
700
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
700
701
|
*
|
|
701
702
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
702
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
703
703
|
* @return {Article} Der gelesene Artikel
|
|
704
704
|
*/
|
|
705
|
-
readById(id: number
|
|
705
|
+
readById(id: number): Article;
|
|
706
706
|
|
|
707
707
|
/**
|
|
708
708
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
@@ -1800,35 +1800,35 @@ export interface DocumentScriptingService {
|
|
|
1800
1800
|
* Löst einen Beleg auf
|
|
1801
1801
|
*
|
|
1802
1802
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1803
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1803
1804
|
* @return {Document} Der aufgelöste Beleg
|
|
1804
1805
|
*/
|
|
1805
|
-
dissolve(documentId: number): Document;
|
|
1806
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1806
1807
|
|
|
1807
1808
|
/**
|
|
1808
1809
|
* Löst einen Beleg auf
|
|
1809
1810
|
*
|
|
1810
1811
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1811
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1812
1812
|
* @return {Document} Der aufgelöste Beleg
|
|
1813
1813
|
*/
|
|
1814
|
-
dissolve(documentId: number
|
|
1814
|
+
dissolve(documentId: number): Document;
|
|
1815
1815
|
|
|
1816
1816
|
/**
|
|
1817
1817
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1818
1818
|
*
|
|
1819
1819
|
* @param {number} documentId - ID des Belegs
|
|
1820
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1821
1820
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1822
1821
|
*/
|
|
1823
|
-
edit(documentId: number
|
|
1822
|
+
edit(documentId: number): Document;
|
|
1824
1823
|
|
|
1825
1824
|
/**
|
|
1826
1825
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1827
1826
|
*
|
|
1828
1827
|
* @param {number} documentId - ID des Belegs
|
|
1828
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1829
1829
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1830
1830
|
*/
|
|
1831
|
-
edit(documentId: number): Document;
|
|
1831
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1832
1832
|
|
|
1833
1833
|
/**
|
|
1834
1834
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1914,18 +1914,18 @@ export interface DocumentScriptingService {
|
|
|
1914
1914
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1915
1915
|
*
|
|
1916
1916
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1917
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1917
1918
|
* @return {Document} Der gespeicherte Beleg
|
|
1918
1919
|
*/
|
|
1919
|
-
save(documentId: number): Document;
|
|
1920
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1920
1921
|
|
|
1921
1922
|
/**
|
|
1922
1923
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1923
1924
|
*
|
|
1924
1925
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1925
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1926
1926
|
* @return {Document} Der gespeicherte Beleg
|
|
1927
1927
|
*/
|
|
1928
|
-
save(documentId: number
|
|
1928
|
+
save(documentId: number): Document;
|
|
1929
1929
|
|
|
1930
1930
|
/**
|
|
1931
1931
|
* Versendet einen Beleg per Mail
|
|
@@ -2862,14 +2862,14 @@ export interface ScriptingServiceList {
|
|
|
2862
2862
|
crmTaskService: CrmTaskScriptingService;
|
|
2863
2863
|
|
|
2864
2864
|
/**
|
|
2865
|
-
* Service zur Verarbeitung von
|
|
2865
|
+
* Service zur Verarbeitung von Accounts
|
|
2866
2866
|
*/
|
|
2867
|
-
|
|
2867
|
+
accountService: AccountScriptingService;
|
|
2868
2868
|
|
|
2869
2869
|
/**
|
|
2870
|
-
* Service zur Verarbeitung von
|
|
2870
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2871
2871
|
*/
|
|
2872
|
-
|
|
2872
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2873
2873
|
|
|
2874
2874
|
/**
|
|
2875
2875
|
* Logging im Scripting
|
|
@@ -3160,24 +3160,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
3160
3160
|
deleteAttribution(attributionId: number): void;
|
|
3161
3161
|
|
|
3162
3162
|
/**
|
|
3163
|
-
* Lädt eine Datei von einer URL
|
|
3163
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3164
3164
|
*
|
|
3165
3165
|
* @param {string} url - Download-URL
|
|
3166
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3167
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3168
3166
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3169
3167
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3170
3168
|
*/
|
|
3171
|
-
downloadIntoDMS(url: string,
|
|
3169
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3172
3170
|
|
|
3173
3171
|
/**
|
|
3174
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3172
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3175
3173
|
*
|
|
3176
3174
|
* @param {string} url - Download-URL
|
|
3175
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3176
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3177
3177
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3178
3178
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3179
3179
|
*/
|
|
3180
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3180
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3181
3181
|
|
|
3182
3182
|
/**
|
|
3183
3183
|
* Findet ein Dokumentenart über ihren Schlüssel
|