@vario-software/types 2026.44.0 → 2026.44.2
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 +42 -42
- package/scripting/types.d.ts +321 -321
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.44.
|
|
3
|
+
"version": "2026.44.2",
|
|
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
|
@@ -576,27 +576,27 @@ export interface ArticleScriptingService {
|
|
|
576
576
|
*
|
|
577
577
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
578
578
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
579
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
580
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
579
581
|
*/
|
|
580
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
582
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
581
583
|
|
|
582
584
|
/**
|
|
583
585
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
584
586
|
*
|
|
585
587
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
586
588
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
587
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
588
589
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
589
590
|
*/
|
|
590
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
591
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
591
592
|
|
|
592
593
|
/**
|
|
593
594
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
594
595
|
*
|
|
595
596
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
596
597
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
597
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
598
598
|
*/
|
|
599
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
599
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
600
600
|
|
|
601
601
|
/**
|
|
602
602
|
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
@@ -666,21 +666,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
666
666
|
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
669
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
670
670
|
*
|
|
671
671
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
672
|
-
* @
|
|
673
|
-
* @return {Article} Der gelesene Artikel oder null
|
|
672
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
674
673
|
*/
|
|
675
|
-
findByNumber(articleNumber: string
|
|
674
|
+
findByNumber(articleNumber: string): Article;
|
|
676
675
|
|
|
677
676
|
/**
|
|
678
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
677
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
679
678
|
*
|
|
680
679
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
681
|
-
* @
|
|
680
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
681
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
682
682
|
*/
|
|
683
|
-
findByNumber(articleNumber: string): Article;
|
|
683
|
+
findByNumber(articleNumber: string, languageCode: string): Article;
|
|
684
684
|
|
|
685
685
|
/**
|
|
686
686
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -729,38 +729,38 @@ 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 languageCode
|
|
733
733
|
*
|
|
734
734
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
735
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
735
736
|
* @return {Article} Der gelesene Artikel
|
|
736
737
|
*/
|
|
737
|
-
readById(id: number): Article;
|
|
738
|
+
readById(id: number, languageCode: string): Article;
|
|
738
739
|
|
|
739
740
|
/**
|
|
740
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
741
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
741
742
|
*
|
|
742
743
|
* @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
|
|
746
|
+
readById(id: number): Article;
|
|
747
747
|
|
|
748
748
|
/**
|
|
749
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
749
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
750
750
|
*
|
|
751
751
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
752
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
753
752
|
* @return {Article} Der gelesene Artikel
|
|
754
753
|
*/
|
|
755
|
-
readByNumber(articleNumber: string
|
|
754
|
+
readByNumber(articleNumber: string): Article;
|
|
756
755
|
|
|
757
756
|
/**
|
|
758
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
757
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
759
758
|
*
|
|
760
759
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
760
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
761
761
|
* @return {Article} Der gelesene Artikel
|
|
762
762
|
*/
|
|
763
|
-
readByNumber(articleNumber: string): Article;
|
|
763
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
764
764
|
|
|
765
765
|
/**
|
|
766
766
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -1988,9 +1988,10 @@ 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
|
|
1991
1992
|
* @return {Document} The copied document
|
|
1992
1993
|
*/
|
|
1993
|
-
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter
|
|
1994
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
1994
1995
|
|
|
1995
1996
|
/**
|
|
1996
1997
|
* Copies a document into the given target document type
|
|
@@ -1998,10 +1999,9 @@ export interface DocumentScriptingService {
|
|
|
1998
1999
|
* @param {number} documentId - ID of the document to copy
|
|
1999
2000
|
* @param {string} targetDocumentType - Target document type of the copy
|
|
2000
2001
|
* @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>): Document;
|
|
2005
2005
|
|
|
2006
2006
|
/**
|
|
2007
2007
|
* Creates a new document
|
|
@@ -2023,9 +2023,11 @@ 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
|
|
2026
2028
|
* @return {Document} The dissolved document
|
|
2027
2029
|
*/
|
|
2028
|
-
dissolve(documentId: number): Document;
|
|
2030
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2029
2031
|
|
|
2030
2032
|
/**
|
|
2031
2033
|
* Dissolves a document
|
|
@@ -2040,38 +2042,36 @@ export interface DocumentScriptingService {
|
|
|
2040
2042
|
* Dissolves a document
|
|
2041
2043
|
*
|
|
2042
2044
|
* @param {number} documentId - ID of the document to dissolve
|
|
2043
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2044
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2045
2045
|
* @return {Document} The dissolved document
|
|
2046
2046
|
*/
|
|
2047
|
-
dissolve(documentId: number
|
|
2047
|
+
dissolve(documentId: number): 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
2053
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2054
2055
|
* @return {Document} The document in EDIT mode
|
|
2055
2056
|
*/
|
|
2056
|
-
edit(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2057
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2057
2058
|
|
|
2058
2059
|
/**
|
|
2059
2060
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2060
2061
|
*
|
|
2061
2062
|
* @param {number} documentId - ID of the document
|
|
2062
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2063
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2064
2063
|
* @return {Document} The document in EDIT mode
|
|
2065
2064
|
*/
|
|
2066
|
-
edit(documentId: number
|
|
2065
|
+
edit(documentId: number): Document;
|
|
2067
2066
|
|
|
2068
2067
|
/**
|
|
2069
2068
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2070
2069
|
*
|
|
2071
2070
|
* @param {number} documentId - ID of the document
|
|
2071
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2072
2072
|
* @return {Document} The document in EDIT mode
|
|
2073
2073
|
*/
|
|
2074
|
-
edit(documentId: number): Document;
|
|
2074
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): 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
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2171
2169
|
* @return {Document} The saved document
|
|
2172
2170
|
*/
|
|
2173
|
-
save(documentId: number
|
|
2171
|
+
save(documentId: number): Document;
|
|
2174
2172
|
|
|
2175
2173
|
/**
|
|
2176
2174
|
* Saves a document (transition EDIT -> SAVED)
|
|
2177
2175
|
*
|
|
2178
2176
|
* @param {number} documentId - ID of the document to save
|
|
2177
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2179
2178
|
* @return {Document} The saved document
|
|
2180
2179
|
*/
|
|
2181
|
-
save(documentId: number): Document;
|
|
2180
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2182
2181
|
|
|
2183
2182
|
/**
|
|
2184
2183
|
* Saves a document (transition EDIT -> SAVED)
|
|
2185
2184
|
*
|
|
2186
2185
|
* @param {number} documentId - ID of the document to save
|
|
2187
2186
|
* @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>, requestDocument: RequestDocument): 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.
|
|
@@ -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
|
|
3408
3409
|
* @return {number} Ein BigDecimal-Wert
|
|
3409
3410
|
*/
|
|
3410
|
-
newBigDecimal(value: object): number;
|
|
3411
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3411
3412
|
|
|
3412
3413
|
/**
|
|
3413
3414
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3414
3415
|
*
|
|
3415
3416
|
* @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
|
|
3419
|
+
newBigDecimal(value: object): number;
|
|
3420
3420
|
|
|
3421
3421
|
/**
|
|
3422
3422
|
* Erstellt eine API-Referenz
|