@vario-software/types 2026.44.3 → 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 +32 -32
- package/scripting/types.d.ts +372 -372
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
|
|
@@ -2023,19 +2023,19 @@ 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
|
|
2034
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2035
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2036
2036
|
* @return {Document} The dissolved document
|
|
2037
2037
|
*/
|
|
2038
|
-
dissolve(documentId: number): Document;
|
|
2038
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2039
2039
|
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Dissolves a document
|
|
@@ -2050,28 +2050,28 @@ export interface DocumentScriptingService {
|
|
|
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
2053
|
* @return {Document} The document in EDIT mode
|
|
2055
2054
|
*/
|
|
2056
|
-
edit(documentId: number
|
|
2055
|
+
edit(documentId: number): Document;
|
|
2057
2056
|
|
|
2058
2057
|
/**
|
|
2059
2058
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2060
2059
|
*
|
|
2061
2060
|
* @param {number} documentId - ID of the document
|
|
2062
2061
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2063
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2064
2062
|
* @return {Document} The document in EDIT mode
|
|
2065
2063
|
*/
|
|
2066
|
-
edit(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2064
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2067
2065
|
|
|
2068
2066
|
/**
|
|
2069
2067
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2070
2068
|
*
|
|
2071
2069
|
* @param {number} documentId - ID of the document
|
|
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): Document;
|
|
2074
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2075
2075
|
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Creates an AdditionalParameter object
|
|
@@ -2166,28 +2166,28 @@ 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
|
|
2170
2169
|
* @return {Document} The saved document
|
|
2171
2170
|
*/
|
|
2172
|
-
save(documentId: number
|
|
2171
|
+
save(documentId: number): Document;
|
|
2173
2172
|
|
|
2174
2173
|
/**
|
|
2175
2174
|
* Saves a document (transition EDIT -> SAVED)
|
|
2176
2175
|
*
|
|
2177
2176
|
* @param {number} documentId - ID of the document to save
|
|
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): Document;
|
|
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
|