@vario-software/types 2026.35.3 → 2026.35.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/types",
3
- "version": "2026.35.3",
3
+ "version": "2026.35.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",
@@ -724,21 +724,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
724
724
  newLabelPrintBatchIdentifier(): string;
725
725
 
726
726
  /**
727
- * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
727
+ * Liest einen Artikel mit Texten zur Sprache languageCode
728
728
  *
729
729
  * @param {number} id - ID vom zu lesenden Artikel
730
+ * @param {string} languageCode - Zu verwendende Sprache
730
731
  * @return {Article} Der gelesene Artikel
731
732
  */
732
- readById(id: number): Article;
733
+ readById(id: number, languageCode: string): Article;
733
734
 
734
735
  /**
735
- * Liest einen Artikel mit Texten zur Sprache languageCode
736
+ * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
736
737
  *
737
738
  * @param {number} id - ID vom zu lesenden Artikel
738
- * @param {string} languageCode - Zu verwendende Sprache
739
739
  * @return {Article} Der gelesene Artikel
740
740
  */
741
- readById(id: number, languageCode: string): Article;
741
+ readById(id: number): Article;
742
742
 
743
743
  /**
744
744
  * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
@@ -2979,14 +2979,14 @@ export interface ScriptingServiceList {
2979
2979
  crmTaskService: CrmTaskScriptingService;
2980
2980
 
2981
2981
  /**
2982
- * Service zur Verarbeitung von Accounts
2982
+ * Service zur Verarbeitung von Shelf-Documents
2983
2983
  */
2984
- accountService: AccountScriptingService;
2984
+ shelfDocumentService: ShelfDocumentScriptingService;
2985
2985
 
2986
2986
  /**
2987
- * Service zur Verarbeitung von Shelf-Documents
2987
+ * Service zur Verarbeitung von Accounts
2988
2988
  */
2989
- shelfDocumentService: ShelfDocumentScriptingService;
2989
+ accountService: AccountScriptingService;
2990
2990
 
2991
2991
  /**
2992
2992
  * Logging im Scripting
@@ -3282,24 +3282,24 @@ export interface ShelfDocumentScriptingService {
3282
3282
  deleteAttribution(attributionId: number): void;
3283
3283
 
3284
3284
  /**
3285
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3285
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3286
3286
  *
3287
3287
  * @param {string} url - Download-URL
3288
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3289
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3288
3290
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3289
3291
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3290
3292
  */
3291
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3293
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3292
3294
 
3293
3295
  /**
3294
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3296
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3295
3297
  *
3296
3298
  * @param {string} url - Download-URL
3297
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3298
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3299
3299
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3300
3300
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3301
3301
  */
3302
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3302
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3303
3303
 
3304
3304
  /**
3305
3305
  * Findet ein Dokumentenart über ihren Schlüssel