@vario-software/types 2026.44.2 → 2026.44.4
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 +34 -34
- package/scripting/types.d.ts +408 -408
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.44.
|
|
3
|
+
"version": "2026.44.4",
|
|
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
|
@@ -729,21 +729,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
729
729
|
newLabelPrintBatchIdentifier(): string;
|
|
730
730
|
|
|
731
731
|
/**
|
|
732
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
732
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
733
733
|
*
|
|
734
734
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
735
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
736
735
|
* @return {Article} Der gelesene Artikel
|
|
737
736
|
*/
|
|
738
|
-
readById(id: number
|
|
737
|
+
readById(id: number): Article;
|
|
739
738
|
|
|
740
739
|
/**
|
|
741
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
740
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
742
741
|
*
|
|
743
742
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
743
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
744
744
|
* @return {Article} Der gelesene Artikel
|
|
745
745
|
*/
|
|
746
|
-
readById(id: number): Article;
|
|
746
|
+
readById(id: number, languageCode: string): Article;
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
749
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
@@ -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
|
|
@@ -2023,55 +2023,55 @@ export interface DocumentScriptingService {
|
|
|
2023
2023
|
* Dissolves a document
|
|
2024
2024
|
*
|
|
2025
2025
|
* @param {number} documentId - ID of the document to dissolve
|
|
2026
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2027
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2028
2026
|
* @return {Document} The dissolved document
|
|
2029
2027
|
*/
|
|
2030
|
-
dissolve(documentId: number
|
|
2028
|
+
dissolve(documentId: number): Document;
|
|
2031
2029
|
|
|
2032
2030
|
/**
|
|
2033
2031
|
* Dissolves a document
|
|
2034
2032
|
*
|
|
2035
2033
|
* @param {number} documentId - ID of the document to dissolve
|
|
2036
2034
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2035
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2037
2036
|
* @return {Document} The dissolved document
|
|
2038
2037
|
*/
|
|
2039
|
-
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2038
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): 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
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2055
2053
|
* @return {Document} The document in EDIT mode
|
|
2056
2054
|
*/
|
|
2057
|
-
edit(documentId: number
|
|
2055
|
+
edit(documentId: number): Document;
|
|
2058
2056
|
|
|
2059
2057
|
/**
|
|
2060
2058
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2061
2059
|
*
|
|
2062
2060
|
* @param {number} documentId - ID of the document
|
|
2061
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2063
2062
|
* @return {Document} The document in EDIT mode
|
|
2064
2063
|
*/
|
|
2065
|
-
edit(documentId: number): Document;
|
|
2064
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2066
2065
|
|
|
2067
2066
|
/**
|
|
2068
2067
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2069
2068
|
*
|
|
2070
2069
|
* @param {number} documentId - ID of the document
|
|
2071
2070
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2071
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2072
2072
|
* @return {Document} The document in EDIT mode
|
|
2073
2073
|
*/
|
|
2074
|
-
edit(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2074
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2075
2075
|
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Creates an AdditionalParameter object
|
|
@@ -2175,19 +2175,19 @@ export interface DocumentScriptingService {
|
|
|
2175
2175
|
*
|
|
2176
2176
|
* @param {number} documentId - ID of the document to save
|
|
2177
2177
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2178
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2178
2179
|
* @return {Document} The saved document
|
|
2179
2180
|
*/
|
|
2180
|
-
save(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2181
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2181
2182
|
|
|
2182
2183
|
/**
|
|
2183
2184
|
* Saves a document (transition EDIT -> SAVED)
|
|
2184
2185
|
*
|
|
2185
2186
|
* @param {number} documentId - ID of the document to save
|
|
2186
2187
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2187
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2188
2188
|
* @return {Document} The saved document
|
|
2189
2189
|
*/
|
|
2190
|
-
save(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2190
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2191
2191
|
|
|
2192
2192
|
/**
|
|
2193
2193
|
* Completes an externally created document and freezes it. A document that is no longer in EDIT mode is only frozen.
|
|
@@ -3153,14 +3153,14 @@ export interface ScriptingServiceList {
|
|
|
3153
3153
|
crmTaskService: CrmTaskScriptingService;
|
|
3154
3154
|
|
|
3155
3155
|
/**
|
|
3156
|
-
* Service zur Verarbeitung von
|
|
3156
|
+
* Service zur Verarbeitung von Accounts
|
|
3157
3157
|
*/
|
|
3158
|
-
|
|
3158
|
+
accountService: AccountScriptingService;
|
|
3159
3159
|
|
|
3160
3160
|
/**
|
|
3161
|
-
* Service zur Verarbeitung von
|
|
3161
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
3162
3162
|
*/
|
|
3163
|
-
|
|
3163
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3164
3164
|
|
|
3165
3165
|
/**
|
|
3166
3166
|
* Logging im Scripting
|
|
@@ -3405,18 +3405,18 @@ export interface ScriptingUtilities {
|
|
|
3405
3405
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3406
3406
|
*
|
|
3407
3407
|
* @param {object} value - Der Quell-Wert
|
|
3408
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
3409
3408
|
* @return {number} Ein BigDecimal-Wert
|
|
3410
3409
|
*/
|
|
3411
|
-
newBigDecimal(value: object
|
|
3410
|
+
newBigDecimal(value: object): number;
|
|
3412
3411
|
|
|
3413
3412
|
/**
|
|
3414
3413
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3415
3414
|
*
|
|
3416
3415
|
* @param {object} value - Der Quell-Wert
|
|
3416
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
3417
3417
|
* @return {number} Ein BigDecimal-Wert
|
|
3418
3418
|
*/
|
|
3419
|
-
newBigDecimal(value: object): number;
|
|
3419
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3420
3420
|
|
|
3421
3421
|
/**
|
|
3422
3422
|
* Erstellt eine API-Referenz
|
|
@@ -3466,24 +3466,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
3466
3466
|
deleteAttribution(attributionId: number): void;
|
|
3467
3467
|
|
|
3468
3468
|
/**
|
|
3469
|
-
* Lädt eine Datei von einer URL
|
|
3469
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3470
3470
|
*
|
|
3471
3471
|
* @param {string} url - Download-URL
|
|
3472
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3473
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3474
3472
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3475
3473
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3476
3474
|
*/
|
|
3477
|
-
downloadIntoDMS(url: string,
|
|
3475
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3478
3476
|
|
|
3479
3477
|
/**
|
|
3480
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3478
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3481
3479
|
*
|
|
3482
3480
|
* @param {string} url - Download-URL
|
|
3481
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3482
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3483
3483
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3484
3484
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3485
3485
|
*/
|
|
3486
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3486
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3487
3487
|
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Findet ein Dokumentenart über ihren Schlüssel
|