@vario-software/types 2026.44.1 → 2026.44.3

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.44.1",
3
+ "version": "2026.44.3",
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",
@@ -506,21 +506,21 @@ export interface ArticleListingScriptingService {
506
506
  getNewDto(): ArticleListing;
507
507
 
508
508
  /**
509
- * Liest alle Listings zu einem Artikel
509
+ * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
510
510
  *
511
511
  * @param {number} articleId - ID des Artikels
512
+ * @param {string} languageCode - Zu verwendende Sprache
512
513
  * @return {Array<ArticleListing>} Liste der Listings
513
514
  */
514
- readAllByArticleId(articleId: number): Array<ArticleListing>;
515
+ readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
515
516
 
516
517
  /**
517
- * Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
518
+ * Liest alle Listings zu einem Artikel
518
519
  *
519
520
  * @param {number} articleId - ID des Artikels
520
- * @param {string} languageCode - Zu verwendende Sprache
521
521
  * @return {Array<ArticleListing>} Liste der Listings
522
522
  */
523
- readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
523
+ readAllByArticleId(articleId: number): Array<ArticleListing>;
524
524
 
525
525
  /**
526
526
  * Liest eine Liste von DTOs
@@ -576,8 +576,10 @@ 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
@@ -593,10 +595,8 @@ export interface ArticleScriptingService {
593
595
  *
594
596
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
595
597
  * @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, articleSerialNumberId: number, labelCount: number): void;
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
@@ -654,33 +654,33 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
654
654
  * Führt einen Etikettendrucklauf aus
655
655
  *
656
656
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
657
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
657
658
  */
658
- executeLabelPrintBatch(batchIdentifier: string): void;
659
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
659
660
 
660
661
  /**
661
662
  * Führt einen Etikettendrucklauf aus
662
663
  *
663
664
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
664
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
665
665
  */
666
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
666
+ executeLabelPrintBatch(batchIdentifier: string): void;
667
667
 
668
668
  /**
669
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
669
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
670
670
  *
671
671
  * @param {string} articleNumber - Eine Artikelnummer
672
- * @param {string} languageCode - Zu verwendende Sprache
673
- * @return {Article} Der gelesene Artikel oder null
672
+ * @return {Article} Der gelesene Artikel oder null
674
673
  */
675
- findByNumber(articleNumber: string, languageCode: string): Article;
674
+ findByNumber(articleNumber: string): Article;
676
675
 
677
676
  /**
678
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
677
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
679
678
  *
680
679
  * @param {string} articleNumber - Eine Artikelnummer
681
- * @return {Article} Der gelesene Artikel oder null
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 der eigenen Adresse
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 languageCode
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, languageCode: string): Article;
746
+ readById(id: number): Article;
747
747
 
748
748
  /**
749
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
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, languageCode: string): Article;
754
+ readByNumber(articleNumber: string): Article;
756
755
 
757
756
  /**
758
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
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
@@ -2023,28 +2023,28 @@ 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
2032
2034
  *
2033
2035
  * @param {number} documentId - ID of the document to dissolve
2034
- * @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
2035
2036
  * @return {Document} The dissolved document
2036
2037
  */
2037
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2038
+ dissolve(documentId: number): Document;
2038
2039
 
2039
2040
  /**
2040
2041
  * Dissolves a document
2041
2042
  *
2042
2043
  * @param {number} documentId - ID of the document to dissolve
2043
2044
  * @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>, requestDocument: RequestDocument): Document;
2047
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
2048
2048
 
2049
2049
  /**
2050
2050
  * Starts editing a document (transition SAVED -> EDIT)
@@ -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
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)
2175
2176
  *
2176
2177
  * @param {number} documentId - ID of the document to save
2177
- * @param {Array<AdditionalParameter>} additionalParameters - Additional parameters
2178
- * @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
2179
2178
  * @return {Document} The saved document
2180
2179
  */
2181
- save(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
2180
+ save(documentId: number): 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>): Document;
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.
@@ -3152,26 +3152,26 @@ export interface ScriptingServiceList {
3152
3152
  */
3153
3153
  crmTaskService: CrmTaskScriptingService;
3154
3154
 
3155
- /**
3156
- * Service zur Verarbeitung von Accounts
3157
- */
3158
- accountService: AccountScriptingService;
3159
-
3160
3155
  /**
3161
3156
  * Service zur Verarbeitung von Shelf-Documents
3162
3157
  */
3163
3158
  shelfDocumentService: ShelfDocumentScriptingService;
3164
3159
 
3165
3160
  /**
3166
- * Verwaltung von Versandarten
3161
+ * Service zur Verarbeitung von Accounts
3167
3162
  */
3168
- deliveryMethodService: DeliveryMethodScriptingService;
3163
+ accountService: AccountScriptingService;
3169
3164
 
3170
3165
  /**
3171
3166
  * Logging im Scripting
3172
3167
  */
3173
3168
  logger: LoggingScriptingService;
3174
3169
 
3170
+ /**
3171
+ * Verwaltung von Versandarten
3172
+ */
3173
+ deliveryMethodService: DeliveryMethodScriptingService;
3174
+
3175
3175
  /**
3176
3176
  * Service zur Verarbeitung von Deals
3177
3177
  */
@@ -3193,14 +3193,14 @@ export interface ScriptingServiceList {
3193
3193
  textTemplateService: TextTemplateScriptingService;
3194
3194
 
3195
3195
  /**
3196
- * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3196
+ * Ausgabe-Support Methoden
3197
3197
  */
3198
- productMainGroupService: ProductMainGroupScriptingService;
3198
+ outputHelper: ScriptOutputHelperService;
3199
3199
 
3200
3200
  /**
3201
- * Ausgabe-Support Methoden
3201
+ * Service zur Verarbeitung von Hauptwarengruppen im Skripten
3202
3202
  */
3203
- outputHelper: ScriptOutputHelperService;
3203
+ productMainGroupService: ProductMainGroupScriptingService;
3204
3204
 
3205
3205
  /**
3206
3206
  * Service zur Verarbeitung von Account-Listings in Skripten
@@ -3228,14 +3228,14 @@ export interface ScriptingServiceList {
3228
3228
  utils: ScriptingUtilities;
3229
3229
 
3230
3230
  /**
3231
- * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3231
+ * Service zur Verarbeitung von Variantenschemas in Skripten
3232
3232
  */
3233
- articleCustomerService: ArticleCustomerScriptingService;
3233
+ variantSchemaService: VariantSchemaScriptingService;
3234
3234
 
3235
3235
  /**
3236
- * Service zur Verarbeitung von Variantenschemas in Skripten
3236
+ * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3237
3237
  */
3238
- variantSchemaService: VariantSchemaScriptingService;
3238
+ articleCustomerService: ArticleCustomerScriptingService;
3239
3239
 
3240
3240
  /**
3241
3241
  * Service zur Verarbeitung von Artikeln im Skripten
@@ -3247,6 +3247,11 @@ export interface ScriptingServiceList {
3247
3247
  */
3248
3248
  documentService: DocumentScriptingService;
3249
3249
 
3250
+ /**
3251
+ * Triggers free printing for supported output modules
3252
+ */
3253
+ freePrintingService: FreePrintingScriptingService;
3254
+
3250
3255
  /**
3251
3256
  * Service zur Verarbeitung von Artikel-Listings im Skripten
3252
3257
  */
@@ -3257,11 +3262,6 @@ export interface ScriptingServiceList {
3257
3262
  */
3258
3263
  variantValueListingService: VariantValueListingScriptingService;
3259
3264
 
3260
- /**
3261
- * Triggers free printing for supported output modules
3262
- */
3263
- freePrintingService: FreePrintingScriptingService;
3264
-
3265
3265
  /**
3266
3266
  * Service for processing commission assignments
3267
3267
  */
@@ -3273,14 +3273,14 @@ export interface ScriptingServiceList {
3273
3273
  articleStorageService: ArticleStorageScriptingService;
3274
3274
 
3275
3275
  /**
3276
- * Verwaltung von Zahlungsarten
3276
+ * Anfragen von neuen Zählerkreis-Nummern
3277
3277
  */
3278
- paymentMethodService: PaymentMethodScriptingService;
3278
+ freeSequencerService: FreeSequencerScriptingService;
3279
3279
 
3280
3280
  /**
3281
- * Anfragen von neuen Zählerkreis-Nummern
3281
+ * Verwaltung von Zahlungsarten
3282
3282
  */
3283
- freeSequencerService: FreeSequencerScriptingService;
3283
+ paymentMethodService: PaymentMethodScriptingService;
3284
3284
 
3285
3285
  /**
3286
3286
  * Service zur Verarbeitung von AssetsTypen in Skripten
@@ -3293,14 +3293,14 @@ export interface ScriptingServiceList {
3293
3293
  stockService: StockScriptingService;
3294
3294
 
3295
3295
  /**
3296
- * Service zur Verarbeitung von Assets in Skripten
3296
+ * Service zur Verarbeitung von Variantenwerten in Skripten
3297
3297
  */
3298
- assetService: AssetScriptingService;
3298
+ variantValueService: VariantValueScriptingService;
3299
3299
 
3300
3300
  /**
3301
- * Service zur Verarbeitung von Variantenwerten in Skripten
3301
+ * Service zur Verarbeitung von Assets in Skripten
3302
3302
  */
3303
- variantValueService: VariantValueScriptingService;
3303
+ assetService: AssetScriptingService;
3304
3304
 
3305
3305
  /**
3306
3306
  * Service zur Verarbeitung von ScenarioActualValue
@@ -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 mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
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, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3486
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3487
3487
 
3488
3488
  /**
3489
3489
  * Findet ein Dokumentenart über ihren Schlüssel