@vario-software/types 2026.33.1 → 2026.33.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.33.1",
3
+ "version": "2026.33.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",
@@ -555,8 +555,10 @@ export interface ArticleScriptingService {
555
555
  *
556
556
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
557
557
  * @param {number} articleId - ID des zu druckenden Artikels
558
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
559
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
558
560
  */
559
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
561
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
560
562
 
561
563
  /**
562
564
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
@@ -572,10 +574,16 @@ export interface ArticleScriptingService {
572
574
  *
573
575
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
574
576
  * @param {number} articleId - ID des zu druckenden Artikels
575
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
576
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
577
577
  */
578
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
578
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
579
+
580
+ /**
581
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
582
+ *
583
+ * @param {Article} toCreate - Der zu persistierende Artikel
584
+ * @return {Article} Der persistierte Artikel
585
+ */
586
+ create(toCreate: Article): Article;
579
587
 
580
588
  /**
581
589
  * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
@@ -598,14 +606,6 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
598
606
  */
599
607
  create(toCreate: Article, languageCode: string): Article;
600
608
 
601
- /**
602
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
603
- *
604
- * @param {Article} toCreate - Der zu persistierende Artikel
605
- * @return {Article} Der persistierte Artikel
606
- */
607
- create(toCreate: Article): Article;
608
-
609
609
  /**
610
610
  * Deaktiviert ein DTO
611
611
  *
@@ -633,16 +633,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
633
633
  * Führt einen Etikettendrucklauf aus
634
634
  *
635
635
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
636
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
636
637
  */
637
- executeLabelPrintBatch(batchIdentifier: string): void;
638
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
638
639
 
639
640
  /**
640
641
  * Führt einen Etikettendrucklauf aus
641
642
  *
642
643
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
643
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
644
644
  */
645
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
645
+ executeLabelPrintBatch(batchIdentifier: string): void;
646
646
 
647
647
  /**
648
648
  * Liefert die Einkaufsrabatte zu einem Artikel
@@ -725,38 +725,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
725
725
  readByNumber(articleNumber: string, languageCode: string): Article;
726
726
 
727
727
  /**
728
- * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
728
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
729
729
  *
730
730
  * @param {Article} toStore - Der zu persistierende Artikel
731
+ * @param {string} languageCode -
731
732
  * @return {Article} Der persistierte Artikel
732
733
  */
733
- store(toStore: Article): Article;
734
+ store(toStore: Article, languageCode: string): Article;
734
735
 
735
736
  /**
736
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
737
+ * Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
737
738
  *
738
739
  * @param {Article} toStore - Der zu persistierende Artikel
739
- * @param {string} languageCode -
740
740
  * @return {Article} Der persistierte Artikel
741
741
  */
742
- store(toStore: Article, languageCode: string): Article;
742
+ store(toStore: Article): Article;
743
743
 
744
744
  /**
745
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
745
+ * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
746
746
  *
747
747
  * @param {Article} toUpdate - Der zu persistierende Artikel
748
+ * @param {string} languageCode -
748
749
  * @return {Article} Der aktualisiert Artikel
749
750
  */
750
- update(toUpdate: Article): Article;
751
+ update(toUpdate: Article, languageCode: string): Article;
751
752
 
752
753
  /**
753
- * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
754
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
754
755
  *
755
756
  * @param {Article} toUpdate - Der zu persistierende Artikel
756
- * @param {string} languageCode -
757
757
  * @return {Article} Der aktualisiert Artikel
758
758
  */
759
- update(toUpdate: Article, languageCode: string): Article;
759
+ update(toUpdate: Article): Article;
760
760
  }
761
761
 
762
762
  /**
@@ -2010,16 +2010,16 @@ export interface DocumentScriptingService {
2010
2010
  * Versendet einen Beleg per Mail
2011
2011
  *
2012
2012
  * @param {number} documentId - ID des zu versendenden Belegs
2013
+ * @param {string} reportGroupIdentifier -
2013
2014
  */
2014
- sendViaMail(documentId: number): void;
2015
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2015
2016
 
2016
2017
  /**
2017
2018
  * Versendet einen Beleg per Mail
2018
2019
  *
2019
2020
  * @param {number} documentId - ID des zu versendenden Belegs
2020
- * @param {string} reportGroupIdentifier -
2021
2021
  */
2022
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
2022
+ sendViaMail(documentId: number): void;
2023
2023
 
2024
2024
  /**
2025
2025
  * Überführt einen Beleg in einen anderen Status
@@ -2945,26 +2945,26 @@ export interface ScriptingServiceList {
2945
2945
  */
2946
2946
  crmTaskService: CrmTaskScriptingService;
2947
2947
 
2948
- /**
2949
- * Service zur Verarbeitung von Accounts
2950
- */
2951
- accountService: AccountScriptingService;
2952
-
2953
2948
  /**
2954
2949
  * Service zur Verarbeitung von Shelf-Documents
2955
2950
  */
2956
2951
  shelfDocumentService: ShelfDocumentScriptingService;
2957
2952
 
2958
2953
  /**
2959
- * Logging im Scripting
2954
+ * Service zur Verarbeitung von Accounts
2960
2955
  */
2961
- logger: LoggingScriptingService;
2956
+ accountService: AccountScriptingService;
2962
2957
 
2963
2958
  /**
2964
2959
  * Verwaltung von Versandarten
2965
2960
  */
2966
2961
  deliveryMethodService: DeliveryMethodScriptingService;
2967
2962
 
2963
+ /**
2964
+ * Logging im Scripting
2965
+ */
2966
+ logger: LoggingScriptingService;
2967
+
2968
2968
  /**
2969
2969
  * Service zur Verarbeitung von Deals
2970
2970
  */
@@ -2986,14 +2986,14 @@ export interface ScriptingServiceList {
2986
2986
  textTemplateService: TextTemplateScriptingService;
2987
2987
 
2988
2988
  /**
2989
- * Ausgabe-Support Methoden
2989
+ * Service zur Verarbeitung von Hauptwarengruppen im Skripten
2990
2990
  */
2991
- outputHelper: ScriptOutputHelperService;
2991
+ productMainGroupService: ProductMainGroupScriptingService;
2992
2992
 
2993
2993
  /**
2994
- * Service zur Verarbeitung von Hauptwarengruppen im Skripten
2994
+ * Ausgabe-Support Methoden
2995
2995
  */
2996
- productMainGroupService: ProductMainGroupScriptingService;
2996
+ outputHelper: ScriptOutputHelperService;
2997
2997
 
2998
2998
  /**
2999
2999
  * Service zur Verarbeitung von Account-Listings in Skripten
@@ -3021,14 +3021,14 @@ export interface ScriptingServiceList {
3021
3021
  utils: ScriptingUtilities;
3022
3022
 
3023
3023
  /**
3024
- * Service zur Verarbeitung von Variantenschemas in Skripten
3024
+ * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3025
3025
  */
3026
- variantSchemaService: VariantSchemaScriptingService;
3026
+ articleCustomerService: ArticleCustomerScriptingService;
3027
3027
 
3028
3028
  /**
3029
- * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
3029
+ * Service zur Verarbeitung von Variantenschemas in Skripten
3030
3030
  */
3031
- articleCustomerService: ArticleCustomerScriptingService;
3031
+ variantSchemaService: VariantSchemaScriptingService;
3032
3032
 
3033
3033
  /**
3034
3034
  * Service zur Verarbeitung von Artikeln im Skripten
@@ -3056,14 +3056,14 @@ export interface ScriptingServiceList {
3056
3056
  articleStorageService: ArticleStorageScriptingService;
3057
3057
 
3058
3058
  /**
3059
- * Anfragen von neuen Zählerkreis-Nummern
3059
+ * Verwaltung von Zahlungsarten
3060
3060
  */
3061
- freeSequencerService: FreeSequencerScriptingService;
3061
+ paymentMethodService: PaymentMethodScriptingService;
3062
3062
 
3063
3063
  /**
3064
- * Verwaltung von Zahlungsarten
3064
+ * Anfragen von neuen Zählerkreis-Nummern
3065
3065
  */
3066
- paymentMethodService: PaymentMethodScriptingService;
3066
+ freeSequencerService: FreeSequencerScriptingService;
3067
3067
 
3068
3068
  /**
3069
3069
  * Service zur Verarbeitung von AssetsTypen in Skripten
@@ -3076,14 +3076,14 @@ export interface ScriptingServiceList {
3076
3076
  stockService: StockScriptingService;
3077
3077
 
3078
3078
  /**
3079
- * Service zur Verarbeitung von Variantenwerten in Skripten
3079
+ * Service zur Verarbeitung von Assets in Skripten
3080
3080
  */
3081
- variantValueService: VariantValueScriptingService;
3081
+ assetService: AssetScriptingService;
3082
3082
 
3083
3083
  /**
3084
- * Service zur Verarbeitung von Assets in Skripten
3084
+ * Service zur Verarbeitung von Variantenwerten in Skripten
3085
3085
  */
3086
- assetService: AssetScriptingService;
3086
+ variantValueService: VariantValueScriptingService;
3087
3087
 
3088
3088
  /**
3089
3089
  * Service zur Verarbeitung von ScenarioActualValue
@@ -3249,24 +3249,24 @@ export interface ShelfDocumentScriptingService {
3249
3249
  deleteAttribution(attributionId: number): void;
3250
3250
 
3251
3251
  /**
3252
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3252
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3253
3253
  *
3254
3254
  * @param {string} url - Download-URL
3255
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3256
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3255
3257
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3256
3258
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3257
3259
  */
3258
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3260
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3259
3261
 
3260
3262
  /**
3261
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3263
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3262
3264
  *
3263
3265
  * @param {string} url - Download-URL
3264
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3265
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3266
3266
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3267
3267
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3268
3268
  */
3269
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3269
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3270
3270
 
3271
3271
  /**
3272
3272
  * Findet ein Dokumentenart über ihren Schlüssel