@vario-software/types 2026.38.1 → 2026.38.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vario-software/types",
3
- "version": "2026.38.1",
3
+ "version": "2026.38.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",
@@ -502,21 +502,21 @@ export interface ArticleListingScriptingService {
502
502
  getNewDto(): ArticleListing;
503
503
 
504
504
  /**
505
- * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
505
+ * Liest alle Listings zu einem Artikel
506
506
  *
507
507
  * @param {number} articleId - ID des Artikels
508
- * @param {string} languageCode - Zu verwendende Sprache
509
508
  * @return {Array<ArticleListing>} Liste der Listings
510
509
  */
511
- readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
510
+ readAllByArticleId(articleId: number): Array<ArticleListing>;
512
511
 
513
512
  /**
514
- * Liest alle Listings zu einem Artikel
513
+ * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
515
514
  *
516
515
  * @param {number} articleId - ID des Artikels
516
+ * @param {string} languageCode - Zu verwendende Sprache
517
517
  * @return {Array<ArticleListing>} Liste der Listings
518
518
  */
519
- readAllByArticleId(articleId: number): Array<ArticleListing>;
519
+ readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
520
520
 
521
521
  /**
522
522
  * Liest eine Liste von DTOs
@@ -650,16 +650,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
650
650
  * Führt einen Etikettendrucklauf aus
651
651
  *
652
652
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
653
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
654
653
  */
655
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
654
+ executeLabelPrintBatch(batchIdentifier: string): void;
656
655
 
657
656
  /**
658
657
  * Führt einen Etikettendrucklauf aus
659
658
  *
660
659
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
660
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
661
661
  */
662
- executeLabelPrintBatch(batchIdentifier: string): void;
662
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
663
663
 
664
664
  /**
665
665
  * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
@@ -725,21 +725,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
725
725
  newLabelPrintBatchIdentifier(): string;
726
726
 
727
727
  /**
728
- * Liest einen Artikel mit Texten zur Sprache languageCode
728
+ * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
729
729
  *
730
730
  * @param {number} id - ID vom zu lesenden Artikel
731
- * @param {string} languageCode - Zu verwendende Sprache
732
731
  * @return {Article} Der gelesene Artikel
733
732
  */
734
- readById(id: number, languageCode: string): Article;
733
+ readById(id: number): Article;
735
734
 
736
735
  /**
737
- * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
736
+ * Liest einen Artikel mit Texten zur Sprache languageCode
738
737
  *
739
738
  * @param {number} id - ID vom zu lesenden Artikel
739
+ * @param {string} languageCode - Zu verwendende Sprache
740
740
  * @return {Article} Der gelesene Artikel
741
741
  */
742
- readById(id: number): Article;
742
+ readById(id: number, languageCode: string): Article;
743
743
 
744
744
  /**
745
745
  * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
@@ -1981,18 +1981,18 @@ export interface DocumentScriptingService {
1981
1981
  * Löst einen Beleg auf
1982
1982
  *
1983
1983
  * @param {number} documentId - ID des aufzulösenden Belegs
1984
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1985
1984
  * @return {Document} Der aufgelöste Beleg
1986
1985
  */
1987
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1986
+ dissolve(documentId: number): Document;
1988
1987
 
1989
1988
  /**
1990
1989
  * Löst einen Beleg auf
1991
1990
  *
1992
1991
  * @param {number} documentId - ID des aufzulösenden Belegs
1992
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1993
1993
  * @return {Document} Der aufgelöste Beleg
1994
1994
  */
1995
- dissolve(documentId: number): Document;
1995
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1996
1996
 
1997
1997
  /**
1998
1998
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
@@ -2103,33 +2103,33 @@ export interface DocumentScriptingService {
2103
2103
  * Speichert einen Beleg (Transition EDIT -> SAVED)
2104
2104
  *
2105
2105
  * @param {number} documentId - ID des zu speichernden Belegs
2106
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
2107
2106
  * @return {Document} Der gespeicherte Beleg
2108
2107
  */
2109
- save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2108
+ save(documentId: number): Document;
2110
2109
 
2111
2110
  /**
2112
2111
  * Speichert einen Beleg (Transition EDIT -> SAVED)
2113
2112
  *
2114
2113
  * @param {number} documentId - ID des zu speichernden Belegs
2114
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
2115
2115
  * @return {Document} Der gespeicherte Beleg
2116
2116
  */
2117
- save(documentId: number): Document;
2117
+ save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2118
2118
 
2119
2119
  /**
2120
2120
  * Versendet einen Beleg per Mail
2121
2121
  *
2122
2122
  * @param {number} documentId - ID des zu versendenden Belegs
2123
- * @param {string} reportGroupIdentifier -
2124
2123
  */
2125
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2124
+ sendViaMail(documentId: number): void;
2126
2125
 
2127
2126
  /**
2128
2127
  * Versendet einen Beleg per Mail
2129
2128
  *
2130
2129
  * @param {number} documentId - ID des zu versendenden Belegs
2130
+ * @param {string} reportGroupIdentifier -
2131
2131
  */
2132
- sendViaMail(documentId: number): void;
2132
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2133
2133
 
2134
2134
  /**
2135
2135
  * Überführt einen Beleg in einen anderen Status
@@ -3071,26 +3071,26 @@ export interface ScriptingServiceList {
3071
3071
  */
3072
3072
  crmTaskService: CrmTaskScriptingService;
3073
3073
 
3074
- /**
3075
- * Service zur Verarbeitung von Shelf-Documents
3076
- */
3077
- shelfDocumentService: ShelfDocumentScriptingService;
3078
-
3079
3074
  /**
3080
3075
  * Service zur Verarbeitung von Accounts
3081
3076
  */
3082
3077
  accountService: AccountScriptingService;
3083
3078
 
3084
3079
  /**
3085
- * Verwaltung von Versandarten
3080
+ * Service zur Verarbeitung von Shelf-Documents
3086
3081
  */
3087
- deliveryMethodService: DeliveryMethodScriptingService;
3082
+ shelfDocumentService: ShelfDocumentScriptingService;
3088
3083
 
3089
3084
  /**
3090
3085
  * Logging im Scripting
3091
3086
  */
3092
3087
  logger: LoggingScriptingService;
3093
3088
 
3089
+ /**
3090
+ * Verwaltung von Versandarten
3091
+ */
3092
+ deliveryMethodService: DeliveryMethodScriptingService;
3093
+
3094
3094
  /**
3095
3095
  * Service zur Verarbeitung von Deals
3096
3096
  */
@@ -3112,14 +3112,14 @@ export interface ScriptingServiceList {
3112
3112
  textTemplateService: TextTemplateScriptingService;
3113
3113
 
3114
3114
  /**
3115
- * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3115
+ * Ausgabe-Support Methoden
3116
3116
  */
3117
- productMainGroupService: ProductMainGroupScriptingService;
3117
+ outputHelper: ScriptOutputHelperService;
3118
3118
 
3119
3119
  /**
3120
- * Ausgabe-Support Methoden
3120
+ * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3121
3121
  */
3122
- outputHelper: ScriptOutputHelperService;
3122
+ productMainGroupService: ProductMainGroupScriptingService;
3123
3123
 
3124
3124
  /**
3125
3125
  * Service zur Verarbeitung von Account-Listings in Skripten
@@ -3147,14 +3147,14 @@ export interface ScriptingServiceList {
3147
3147
  utils: ScriptingUtilities;
3148
3148
 
3149
3149
  /**
3150
- * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3150
+ * Service zur Verarbeitung von Variantenschemas in Skripten
3151
3151
  */
3152
- articleCustomerService: ArticleCustomerScriptingService;
3152
+ variantSchemaService: VariantSchemaScriptingService;
3153
3153
 
3154
3154
  /**
3155
- * Service zur Verarbeitung von Variantenschemas in Skripten
3155
+ * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3156
3156
  */
3157
- variantSchemaService: VariantSchemaScriptingService;
3157
+ articleCustomerService: ArticleCustomerScriptingService;
3158
3158
 
3159
3159
  /**
3160
3160
  * Service zur Verarbeitung von Artikeln im Skripten
@@ -3166,6 +3166,11 @@ export interface ScriptingServiceList {
3166
3166
  */
3167
3167
  documentService: DocumentScriptingService;
3168
3168
 
3169
+ /**
3170
+ * Triggers free printing for supported output modules
3171
+ */
3172
+ freePrintingService: FreePrintingScriptingService;
3173
+
3169
3174
  /**
3170
3175
  * Service zur Verarbeitung von Artikel-Listings im Skripten
3171
3176
  */
@@ -3176,11 +3181,6 @@ export interface ScriptingServiceList {
3176
3181
  */
3177
3182
  variantValueListingService: VariantValueListingScriptingService;
3178
3183
 
3179
- /**
3180
- * Triggers free printing for supported output modules
3181
- */
3182
- freePrintingService: FreePrintingScriptingService;
3183
-
3184
3184
  /**
3185
3185
  * Service for processing commission assignments
3186
3186
  */
@@ -3192,14 +3192,14 @@ export interface ScriptingServiceList {
3192
3192
  articleStorageService: ArticleStorageScriptingService;
3193
3193
 
3194
3194
  /**
3195
- * Verwaltung von Zahlungsarten
3195
+ * Anfragen von neuen Zählerkreis-Nummern
3196
3196
  */
3197
- paymentMethodService: PaymentMethodScriptingService;
3197
+ freeSequencerService: FreeSequencerScriptingService;
3198
3198
 
3199
3199
  /**
3200
- * Anfragen von neuen Zählerkreis-Nummern
3200
+ * Verwaltung von Zahlungsarten
3201
3201
  */
3202
- freeSequencerService: FreeSequencerScriptingService;
3202
+ paymentMethodService: PaymentMethodScriptingService;
3203
3203
 
3204
3204
  /**
3205
3205
  * Service zur Verarbeitung von AssetsTypen in Skripten
@@ -3212,14 +3212,14 @@ export interface ScriptingServiceList {
3212
3212
  stockService: StockScriptingService;
3213
3213
 
3214
3214
  /**
3215
- * Service zur Verarbeitung von Assets in Skripten
3215
+ * Service zur Verarbeitung von Variantenwerten in Skripten
3216
3216
  */
3217
- assetService: AssetScriptingService;
3217
+ variantValueService: VariantValueScriptingService;
3218
3218
 
3219
3219
  /**
3220
- * Service zur Verarbeitung von Variantenwerten in Skripten
3220
+ * Service zur Verarbeitung von Assets in Skripten
3221
3221
  */
3222
- variantValueService: VariantValueScriptingService;
3222
+ assetService: AssetScriptingService;
3223
3223
 
3224
3224
  /**
3225
3225
  * Service zur Verarbeitung von ScenarioActualValue
@@ -3324,18 +3324,18 @@ export interface ScriptingUtilities {
3324
3324
  * Erstellt eine neue BigDecimal-Instanz
3325
3325
  *
3326
3326
  * @param {object} value - Der Quell-Wert
3327
- * @param {number} scale - Anzahl Nachkommastellen
3328
3327
  * @return {number} Ein BigDecimal-Wert
3329
3328
  */
3330
- newBigDecimal(value: object, scale: number): number;
3329
+ newBigDecimal(value: object): number;
3331
3330
 
3332
3331
  /**
3333
3332
  * Erstellt eine neue BigDecimal-Instanz
3334
3333
  *
3335
3334
  * @param {object} value - Der Quell-Wert
3335
+ * @param {number} scale - Anzahl Nachkommastellen
3336
3336
  * @return {number} Ein BigDecimal-Wert
3337
3337
  */
3338
- newBigDecimal(value: object): number;
3338
+ newBigDecimal(value: object, scale: number): number;
3339
3339
 
3340
3340
  /**
3341
3341
  * Erstellt eine API-Referenz
@@ -3385,24 +3385,24 @@ export interface ShelfDocumentScriptingService {
3385
3385
  deleteAttribution(attributionId: number): void;
3386
3386
 
3387
3387
  /**
3388
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3388
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3389
3389
  *
3390
3390
  * @param {string} url - Download-URL
3391
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3392
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3393
3391
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3394
3392
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3395
3393
  */
3396
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3394
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3397
3395
 
3398
3396
  /**
3399
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3397
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3400
3398
  *
3401
3399
  * @param {string} url - Download-URL
3400
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3401
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3402
3402
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3403
3403
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3404
3404
  */
3405
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3405
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3406
3406
 
3407
3407
  /**
3408
3408
  * Findet ein Dokumentenart über ihren Schlüssel