@vario-software/types 2026.31.3 → 2026.31.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.31.3",
3
+ "version": "2026.31.4",
4
4
  "types": "./index.d.ts",
5
5
  "dependencies": {
6
6
  "@types/express": "^5.0.6"
@@ -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