@vario-software/types 2026.42.0 → 2026.42.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 +20 -20
- package/scripting/types.d.ts +404 -404
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.42.
|
|
3
|
+
"version": "2026.42.2",
|
|
4
4
|
"description": "TypeScript type definitions for the VARIO Cloud platform: REST API schemas, app framework contexts and scripting interfaces. Provides type checking, autocompletion and IntelliSense in TypeScript and JavaScript projects.",
|
|
5
5
|
"homepage": "https://developer.vario-software.de/",
|
|
6
6
|
"bugs": "https://developer.vario-software.de/help-support",
|
package/scripting/services.d.ts
CHANGED
|
@@ -1937,18 +1937,18 @@ export interface DocumentScriptingService {
|
|
|
1937
1937
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1938
1938
|
*
|
|
1939
1939
|
* @param {number} documentId - ID des Belegs
|
|
1940
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1941
1940
|
* @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
|
|
1942
1941
|
*/
|
|
1943
|
-
cancel(documentId: number
|
|
1942
|
+
cancel(documentId: number): Document;
|
|
1944
1943
|
|
|
1945
1944
|
/**
|
|
1946
1945
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1947
1946
|
*
|
|
1948
1947
|
* @param {number} documentId - ID des Belegs
|
|
1948
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1949
1949
|
* @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
|
|
1950
1950
|
*/
|
|
1951
|
-
cancel(documentId: number): Document;
|
|
1951
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1952
1952
|
|
|
1953
1953
|
/**
|
|
1954
1954
|
* Changes the delivery approval of an order
|
|
@@ -1963,20 +1963,20 @@ export interface DocumentScriptingService {
|
|
|
1963
1963
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1964
1964
|
*
|
|
1965
1965
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1966
|
-
* @param {string}
|
|
1967
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1966
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1968
1967
|
* @return {Document} Der kopierte Beleg
|
|
1969
1968
|
*/
|
|
1970
|
-
copy(documentId: number,
|
|
1969
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1971
1970
|
|
|
1972
1971
|
/**
|
|
1973
1972
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1974
1973
|
*
|
|
1975
1974
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1976
|
-
* @param {string}
|
|
1975
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1976
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1977
1977
|
* @return {Document} Der kopierte Beleg
|
|
1978
1978
|
*/
|
|
1979
|
-
copy(documentId: number,
|
|
1979
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1980
1980
|
|
|
1981
1981
|
/**
|
|
1982
1982
|
* Erstellt einen neuen Beleg
|
|
@@ -2007,18 +2007,18 @@ export interface DocumentScriptingService {
|
|
|
2007
2007
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
2008
2008
|
*
|
|
2009
2009
|
* @param {number} documentId - ID des Belegs
|
|
2010
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2010
2011
|
* @return {Document} Der Beleg in Bearbeitung
|
|
2011
2012
|
*/
|
|
2012
|
-
edit(documentId: number): Document;
|
|
2013
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2013
2014
|
|
|
2014
2015
|
/**
|
|
2015
2016
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
2016
2017
|
*
|
|
2017
2018
|
* @param {number} documentId - ID des Belegs
|
|
2018
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2019
2019
|
* @return {Document} Der Beleg in Bearbeitung
|
|
2020
2020
|
*/
|
|
2021
|
-
edit(documentId: number
|
|
2021
|
+
edit(documentId: number): Document;
|
|
2022
2022
|
|
|
2023
2023
|
/**
|
|
2024
2024
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -2121,18 +2121,18 @@ export interface DocumentScriptingService {
|
|
|
2121
2121
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
2122
2122
|
*
|
|
2123
2123
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
2124
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2124
2125
|
* @return {Document} Der gespeicherte Beleg
|
|
2125
2126
|
*/
|
|
2126
|
-
save(documentId: number): Document;
|
|
2127
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2127
2128
|
|
|
2128
2129
|
/**
|
|
2129
2130
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
2130
2131
|
*
|
|
2131
2132
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
2132
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2133
2133
|
* @return {Document} Der gespeicherte Beleg
|
|
2134
2134
|
*/
|
|
2135
|
-
save(documentId: number
|
|
2135
|
+
save(documentId: number): Document;
|
|
2136
2136
|
|
|
2137
2137
|
/**
|
|
2138
2138
|
* Versendet einen Beleg per Mail
|
|
@@ -3403,24 +3403,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
3403
3403
|
deleteAttribution(attributionId: number): void;
|
|
3404
3404
|
|
|
3405
3405
|
/**
|
|
3406
|
-
* Lädt eine Datei von einer URL
|
|
3406
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3407
3407
|
*
|
|
3408
3408
|
* @param {string} url - Download-URL
|
|
3409
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3410
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3411
3409
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3412
3410
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3413
3411
|
*/
|
|
3414
|
-
downloadIntoDMS(url: string,
|
|
3412
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3415
3413
|
|
|
3416
3414
|
/**
|
|
3417
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3415
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3418
3416
|
*
|
|
3419
3417
|
* @param {string} url - Download-URL
|
|
3418
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3419
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3420
3420
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3421
3421
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3422
3422
|
*/
|
|
3423
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3423
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3424
3424
|
|
|
3425
3425
|
/**
|
|
3426
3426
|
* Findet ein Dokumentenart über ihren Schlüssel
|