@vario-software/types 2026.44.4 → 2026.45.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.
- package/package.json +1 -1
- package/schema/erp.d.ts +194 -31
- package/scripting/services.d.ts +43 -43
- package/scripting/types.d.ts +338 -302
package/scripting/services.d.ts
CHANGED
|
@@ -576,10 +576,8 @@ 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
|
|
581
579
|
*/
|
|
582
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
580
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
583
581
|
|
|
584
582
|
/**
|
|
585
583
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -595,8 +593,10 @@ export interface ArticleScriptingService {
|
|
|
595
593
|
*
|
|
596
594
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
597
595
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
596
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
597
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
598
598
|
*/
|
|
599
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
599
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: 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 {@code languageCode}
|
|
670
670
|
*
|
|
671
671
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
672
|
-
* @
|
|
672
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
673
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
673
674
|
*/
|
|
674
|
-
findByNumber(articleNumber: string): Article;
|
|
675
|
+
findByNumber(articleNumber: string, languageCode: string): Article;
|
|
675
676
|
|
|
676
677
|
/**
|
|
677
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
678
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
678
679
|
*
|
|
679
680
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
680
|
-
* @
|
|
681
|
-
* @return {Article} Der gelesene Artikel oder null
|
|
681
|
+
* @return {Article} Der gelesene Artikel oder null
|
|
682
682
|
*/
|
|
683
|
-
findByNumber(articleNumber: string
|
|
683
|
+
findByNumber(articleNumber: string): Article;
|
|
684
684
|
|
|
685
685
|
/**
|
|
686
686
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -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 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
749
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
@@ -2032,46 +2032,46 @@ export interface DocumentScriptingService {
|
|
|
2032
2032
|
*
|
|
2033
2033
|
* @param {number} documentId - ID of the document to dissolve
|
|
2034
2034
|
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2035
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2036
2035
|
* @return {Document} The dissolved document
|
|
2037
2036
|
*/
|
|
2038
|
-
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter
|
|
2037
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2039
2038
|
|
|
2040
2039
|
/**
|
|
2041
2040
|
* Dissolves a document
|
|
2042
2041
|
*
|
|
2043
2042
|
* @param {number} documentId - ID of the document to dissolve
|
|
2044
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, additionalParameters: Array<AdditionalParameter
|
|
2047
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): 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
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2054
|
+
* @param {RequestDocument} requestDocument - Additional details of the document for the transition
|
|
2053
2055
|
* @return {Document} The document in EDIT mode
|
|
2054
2056
|
*/
|
|
2055
|
-
edit(documentId: number): Document;
|
|
2057
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2056
2058
|
|
|
2057
2059
|
/**
|
|
2058
2060
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2059
2061
|
*
|
|
2060
2062
|
* @param {number} documentId - ID of the document
|
|
2061
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2062
2063
|
* @return {Document} The document in EDIT mode
|
|
2063
2064
|
*/
|
|
2064
|
-
edit(documentId: number
|
|
2065
|
+
edit(documentId: number): Document;
|
|
2065
2066
|
|
|
2066
2067
|
/**
|
|
2067
2068
|
* Starts editing a document (transition SAVED -> EDIT)
|
|
2068
2069
|
*
|
|
2069
2070
|
* @param {number} documentId - ID of the document
|
|
2070
2071
|
* @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, additionalParameters: Array<AdditionalParameter
|
|
2074
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2075
2075
|
|
|
2076
2076
|
/**
|
|
2077
2077
|
* Creates an AdditionalParameter object
|
|
@@ -2166,9 +2166,10 @@ 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
|
|
2169
2170
|
* @return {Document} The saved document
|
|
2170
2171
|
*/
|
|
2171
|
-
save(documentId: number): Document;
|
|
2172
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2172
2173
|
|
|
2173
2174
|
/**
|
|
2174
2175
|
* Saves a document (transition EDIT -> SAVED)
|
|
@@ -2184,10 +2185,9 @@ export interface DocumentScriptingService {
|
|
|
2184
2185
|
* Saves a document (transition EDIT -> SAVED)
|
|
2185
2186
|
*
|
|
2186
2187
|
* @param {number} documentId - ID of the document to save
|
|
2187
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
|
|
2188
2188
|
* @return {Document} The saved document
|
|
2189
2189
|
*/
|
|
2190
|
-
save(documentId: number
|
|
2190
|
+
save(documentId: number): 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.
|
|
@@ -2201,16 +2201,16 @@ export interface DocumentScriptingService {
|
|
|
2201
2201
|
* Sends a document via mail
|
|
2202
2202
|
*
|
|
2203
2203
|
* @param {number} documentId - ID of the document to send
|
|
2204
|
-
* @param {string} reportGroupIdentifier -
|
|
2205
2204
|
*/
|
|
2206
|
-
sendViaMail(documentId: number
|
|
2205
|
+
sendViaMail(documentId: number): void;
|
|
2207
2206
|
|
|
2208
2207
|
/**
|
|
2209
2208
|
* Sends a document via mail
|
|
2210
2209
|
*
|
|
2211
2210
|
* @param {number} documentId - ID of the document to send
|
|
2211
|
+
* @param {string} reportGroupIdentifier -
|
|
2212
2212
|
*/
|
|
2213
|
-
sendViaMail(documentId: number): void;
|
|
2213
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
2214
2214
|
|
|
2215
2215
|
/**
|
|
2216
2216
|
* Transfers a document into another state
|
|
@@ -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 Shelf-Documents
|
|
3157
3157
|
*/
|
|
3158
|
-
|
|
3158
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3159
3159
|
|
|
3160
3160
|
/**
|
|
3161
|
-
* Service zur Verarbeitung von
|
|
3161
|
+
* Service zur Verarbeitung von Accounts
|
|
3162
3162
|
*/
|
|
3163
|
-
|
|
3163
|
+
accountService: AccountScriptingService;
|
|
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
|
|
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
|
|
@@ -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 herunter und erstellt ein neues DMS-Dokument
|
|
3469
|
+
* Lädt eine Datei von einer URL mit Authentifizierung 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'
|
|
3472
3474
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3473
3475
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3474
3476
|
*/
|
|
3475
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3477
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3476
3478
|
|
|
3477
3479
|
/**
|
|
3478
|
-
* Lädt eine Datei von einer URL
|
|
3480
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3479
3481
|
*
|
|
3480
3482
|
* @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,
|
|
3486
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3487
3487
|
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Findet ein Dokumentenart über ihren Schlüssel
|