@vario-software/types 2026.44.2 → 2026.44.3
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 +14 -14
- package/scripting/types.d.ts +524 -524
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.44.
|
|
3
|
+
"version": "2026.44.3",
|
|
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
|
@@ -1988,10 +1988,9 @@ export interface DocumentScriptingService {
|
|
|
1988
1988
|
* @param {number} documentId - ID of the document to copy
|
|
1989
1989
|
* @param {string} targetDocumentType - Target document type of the copy
|
|
1990
1990
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
1991
|
-
* @param {RequestDocument} requestDocument - Additional details of the copy; the target document type is set in it
|
|
1992
1991
|
* @return {Document} The copied document
|
|
1993
1992
|
*/
|
|
1994
|
-
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter
|
|
1993
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1995
1994
|
|
|
1996
1995
|
/**
|
|
1997
1996
|
* Copies a document into the given target document type
|
|
@@ -1999,9 +1998,10 @@ export interface DocumentScriptingService {
|
|
|
1999
1998
|
* @param {number} documentId - ID of the document to copy
|
|
2000
1999
|
* @param {string} targetDocumentType - Target document type of the copy
|
|
2001
2000
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2001
|
+
* @param {RequestDocument} requestDocument - Additional details of the copy; the target document type is set in it
|
|
2002
2002
|
* @return {Document} The copied document
|
|
2003
2003
|
*/
|
|
2004
|
-
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter
|
|
2004
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2005
2005
|
|
|
2006
2006
|
/**
|
|
2007
2007
|
* Creates a new document
|
|
@@ -2033,45 +2033,45 @@ export interface DocumentScriptingService {
|
|
|
2033
2033
|
* Dissolves a document
|
|
2034
2034
|
*
|
|
2035
2035
|
* @param {number} documentId - ID of the document to dissolve
|
|
2036
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2037
2036
|
* @return {Document} The dissolved document
|
|
2038
2037
|
*/
|
|
2039
|
-
dissolve(documentId: number
|
|
2038
|
+
dissolve(documentId: number): Document;
|
|
2040
2039
|
|
|
2041
2040
|
/**
|
|
2042
2041
|
* Dissolves a document
|
|
2043
2042
|
*
|
|
2044
2043
|
* @param {number} documentId - ID of the document to dissolve
|
|
2044
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2045
2045
|
* @return {Document} The dissolved document
|
|
2046
2046
|
*/
|
|
2047
|
-
dissolve(documentId: number): Document;
|
|
2047
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2048
2048
|
|
|
2049
2049
|
/**
|
|
2050
2050
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2051
2051
|
*
|
|
2052
2052
|
* @param {number} documentId - ID of the document
|
|
2053
2053
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2055
2054
|
* @return {Document} The document in EDIT mode
|
|
2056
2055
|
*/
|
|
2057
|
-
edit(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2056
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2058
2057
|
|
|
2059
2058
|
/**
|
|
2060
2059
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2061
2060
|
*
|
|
2062
2061
|
* @param {number} documentId - ID of the document
|
|
2062
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2063
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2063
2064
|
* @return {Document} The document in EDIT mode
|
|
2064
2065
|
*/
|
|
2065
|
-
edit(documentId: number): Document;
|
|
2066
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2066
2067
|
|
|
2067
2068
|
/**
|
|
2068
2069
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2069
2070
|
*
|
|
2070
2071
|
* @param {number} documentId - ID of the document
|
|
2071
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2072
2072
|
* @return {Document} The document in EDIT mode
|
|
2073
2073
|
*/
|
|
2074
|
-
edit(documentId: number
|
|
2074
|
+
edit(documentId: number): Document;
|
|
2075
2075
|
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Creates an AdditionalParameter object
|
|
@@ -2166,18 +2166,18 @@ export interface DocumentScriptingService {
|
|
|
2166
2166
|
* Saves a document (transition EDIT -> SAVED)
|
|
2167
2167
|
*
|
|
2168
2168
|
* @param {number} documentId - ID of the document to save
|
|
2169
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2169
2170
|
* @return {Document} The saved document
|
|
2170
2171
|
*/
|
|
2171
|
-
save(documentId: number): Document;
|
|
2172
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2172
2173
|
|
|
2173
2174
|
/**
|
|
2174
2175
|
* Saves a document (transition EDIT -> SAVED)
|
|
2175
2176
|
*
|
|
2176
2177
|
* @param {number} documentId - ID of the document to save
|
|
2177
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2178
2178
|
* @return {Document} The saved document
|
|
2179
2179
|
*/
|
|
2180
|
-
save(documentId: number
|
|
2180
|
+
save(documentId: number): Document;
|
|
2181
2181
|
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Saves a document (transition EDIT -> SAVED)
|