@vario-software/types 2026.32.0 → 2026.32.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 +15 -15
- package/scripting/types.d.ts +283 -283
package/package.json
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -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
|
|
1806
1805
|
* @return {Document} Der aufgelöste Beleg
|
|
1807
1806
|
*/
|
|
1808
|
-
dissolve(documentId: number
|
|
1807
|
+
dissolve(documentId: number): Document;
|
|
1809
1808
|
|
|
1810
1809
|
/**
|
|
1811
1810
|
* Löst einen Beleg auf
|
|
1812
1811
|
*
|
|
1813
1812
|
* @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): Document;
|
|
1816
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): 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
|
|
1822
1823
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1823
1824
|
*/
|
|
1824
|
-
edit(documentId: number): Document;
|
|
1825
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1825
1826
|
|
|
1826
1827
|
/**
|
|
1827
1828
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1828
1829
|
*
|
|
1829
1830
|
* @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
|
|
1833
|
+
edit(documentId: number): Document;
|
|
1834
1834
|
|
|
1835
1835
|
/**
|
|
1836
1836
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1941,16 +1941,16 @@ export interface DocumentScriptingService {
|
|
|
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
|
|
@@ -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
|
|
3178
|
+
* Lädt eine Datei von einer URL 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'
|
|
3183
3181
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3184
3182
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3185
3183
|
*/
|
|
3186
|
-
downloadIntoDMS(url: string,
|
|
3184
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3187
3185
|
|
|
3188
3186
|
/**
|
|
3189
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3187
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3190
3188
|
*
|
|
3191
3189
|
* @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, documentTypeKey: string): ShelfDocument;
|
|
3195
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3196
3196
|
|
|
3197
3197
|
/**
|
|
3198
3198
|
* Findet ein Dokumentenart über ihren Schlüssel
|