@vario-software/types 2026.31.3 → 2026.32.0

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.
@@ -1775,20 +1775,20 @@ export interface DocumentScriptingService {
1775
1775
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1776
1776
  *
1777
1777
  * @param {number} documentId - ID des zu kopierenden Belegs
1778
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1778
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1779
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1779
1780
  * @return {Document} Der kopierte Beleg
1780
1781
  */
1781
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1782
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1782
1783
 
1783
1784
  /**
1784
1785
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1785
1786
  *
1786
1787
  * @param {number} documentId - ID des zu kopierenden Belegs
1787
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1788
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1788
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1789
1789
  * @return {Document} Der kopierte Beleg
1790
1790
  */
1791
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1791
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1792
1792
 
1793
1793
  /**
1794
1794
  * Erstellt einen neuen Beleg
@@ -1802,35 +1802,35 @@ export interface DocumentScriptingService {
1802
1802
  * Löst einen Beleg auf
1803
1803
  *
1804
1804
  * @param {number} documentId - ID des aufzulösenden Belegs
1805
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1805
1806
  * @return {Document} Der aufgelöste Beleg
1806
1807
  */
1807
- dissolve(documentId: number): Document;
1808
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1808
1809
 
1809
1810
  /**
1810
1811
  * Löst einen Beleg auf
1811
1812
  *
1812
1813
  * @param {number} documentId - ID des aufzulösenden Belegs
1813
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1814
1814
  * @return {Document} Der aufgelöste Beleg
1815
1815
  */
1816
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1816
+ dissolve(documentId: number): Document;
1817
1817
 
1818
1818
  /**
1819
1819
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1820
1820
  *
1821
1821
  * @param {number} documentId - ID des Belegs
1822
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1823
1822
  * @return {Document} Der Beleg in Bearbeitung
1824
1823
  */
1825
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1824
+ edit(documentId: number): Document;
1826
1825
 
1827
1826
  /**
1828
1827
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1829
1828
  *
1830
1829
  * @param {number} documentId - ID des Belegs
1830
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1831
1831
  * @return {Document} Der Beleg in Bearbeitung
1832
1832
  */
1833
- edit(documentId: number): Document;
1833
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1834
1834
 
1835
1835
  /**
1836
1836
  * Erstellt ein AdditionalParameter-Objekt
@@ -2872,14 +2872,14 @@ export interface ScriptingServiceList {
2872
2872
  crmTaskService: CrmTaskScriptingService;
2873
2873
 
2874
2874
  /**
2875
- * Service zur Verarbeitung von Accounts
2875
+ * Service zur Verarbeitung von Shelf-Documents
2876
2876
  */
2877
- accountService: AccountScriptingService;
2877
+ shelfDocumentService: ShelfDocumentScriptingService;
2878
2878
 
2879
2879
  /**
2880
- * Service zur Verarbeitung von Shelf-Documents
2880
+ * Service zur Verarbeitung von Accounts
2881
2881
  */
2882
- shelfDocumentService: ShelfDocumentScriptingService;
2882
+ accountService: AccountScriptingService;
2883
2883
 
2884
2884
  /**
2885
2885
  * Logging im Scripting
@@ -3114,18 +3114,18 @@ export interface ScriptingUtilities {
3114
3114
  * Erstellt eine neue BigDecimal-Instanz
3115
3115
  *
3116
3116
  * @param {object} value - Der Quell-Wert
3117
- * @param {number} scale - Anzahl Nachkommastellen
3118
3117
  * @return {number} Ein BigDecimal-Wert
3119
3118
  */
3120
- newBigDecimal(value: object, scale: number): number;
3119
+ newBigDecimal(value: object): number;
3121
3120
 
3122
3121
  /**
3123
3122
  * Erstellt eine neue BigDecimal-Instanz
3124
3123
  *
3125
3124
  * @param {object} value - Der Quell-Wert
3125
+ * @param {number} scale - Anzahl Nachkommastellen
3126
3126
  * @return {number} Ein BigDecimal-Wert
3127
3127
  */
3128
- newBigDecimal(value: object): number;
3128
+ newBigDecimal(value: object, scale: number): number;
3129
3129
 
3130
3130
  /**
3131
3131
  * Erstellt eine API-Referenz
@@ -3175,24 +3175,24 @@ export interface ShelfDocumentScriptingService {
3175
3175
  deleteAttribution(attributionId: number): void;
3176
3176
 
3177
3177
  /**
3178
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3178
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3179
3179
  *
3180
3180
  * @param {string} url - Download-URL
3181
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3182
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3181
3183
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3182
3184
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3183
3185
  */
3184
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3186
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3185
3187
 
3186
3188
  /**
3187
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3189
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3188
3190
  *
3189
3191
  * @param {string} url - Download-URL
3190
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3191
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3192
3192
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3193
3193
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3194
3194
  */
3195
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3195
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3196
3196
 
3197
3197
  /**
3198
3198
  * Findet ein Dokumentenart über ihren Schlüssel