@vario-software/types 2026.39.1 → 2026.39.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 +45 -45
- package/scripting/types.d.ts +399 -399
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.39.
|
|
3
|
+
"version": "2026.39.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
|
@@ -502,21 +502,21 @@ export interface ArticleListingScriptingService {
|
|
|
502
502
|
getNewDto(): ArticleListing;
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
* Liest alle Listings zu einem Artikel
|
|
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
|
|
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
|
|
@@ -572,19 +572,19 @@ export interface ArticleScriptingService {
|
|
|
572
572
|
*
|
|
573
573
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
574
574
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
575
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
576
575
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
577
576
|
*/
|
|
578
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
577
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
579
578
|
|
|
580
579
|
/**
|
|
581
580
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
582
581
|
*
|
|
583
582
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
584
583
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
584
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
585
585
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
586
586
|
*/
|
|
587
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
587
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
588
588
|
|
|
589
589
|
/**
|
|
590
590
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -1998,18 +1998,18 @@ export interface DocumentScriptingService {
|
|
|
1998
1998
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1999
1999
|
*
|
|
2000
2000
|
* @param {number} documentId - ID des Belegs
|
|
2001
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2001
2002
|
* @return {Document} Der Beleg in Bearbeitung
|
|
2002
2003
|
*/
|
|
2003
|
-
edit(documentId: number): Document;
|
|
2004
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2004
2005
|
|
|
2005
2006
|
/**
|
|
2006
2007
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
2007
2008
|
*
|
|
2008
2009
|
* @param {number} documentId - ID des Belegs
|
|
2009
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2010
2010
|
* @return {Document} Der Beleg in Bearbeitung
|
|
2011
2011
|
*/
|
|
2012
|
-
edit(documentId: number
|
|
2012
|
+
edit(documentId: number): Document;
|
|
2013
2013
|
|
|
2014
2014
|
/**
|
|
2015
2015
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -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
|
-
*
|
|
3080
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
3086
3081
|
*/
|
|
3087
|
-
|
|
3082
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3088
3083
|
|
|
3089
3084
|
/**
|
|
3090
3085
|
* Verwaltung von Versandarten
|
|
3091
3086
|
*/
|
|
3092
3087
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
3093
3088
|
|
|
3089
|
+
/**
|
|
3090
|
+
* Logging im Scripting
|
|
3091
|
+
*/
|
|
3092
|
+
logger: LoggingScriptingService;
|
|
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
|
-
*
|
|
3115
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
3116
3116
|
*/
|
|
3117
|
-
|
|
3117
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
3118
3118
|
|
|
3119
3119
|
/**
|
|
3120
|
-
*
|
|
3120
|
+
* Ausgabe-Support Methoden
|
|
3121
3121
|
*/
|
|
3122
|
-
|
|
3122
|
+
outputHelper: ScriptOutputHelperService;
|
|
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
|
|
3150
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
3151
3151
|
*/
|
|
3152
|
-
|
|
3152
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
3153
3153
|
|
|
3154
3154
|
/**
|
|
3155
|
-
* Service zur Verarbeitung von
|
|
3155
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
3156
3156
|
*/
|
|
3157
|
-
|
|
3157
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
3158
3158
|
|
|
3159
3159
|
/**
|
|
3160
3160
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -3166,11 +3166,6 @@ 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
|
-
|
|
3174
3169
|
/**
|
|
3175
3170
|
* Service zur Verarbeitung von Artikel-Listings im Skripten
|
|
3176
3171
|
*/
|
|
@@ -3181,6 +3176,11 @@ export interface ScriptingServiceList {
|
|
|
3181
3176
|
*/
|
|
3182
3177
|
variantValueListingService: VariantValueListingScriptingService;
|
|
3183
3178
|
|
|
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
|
-
*
|
|
3195
|
+
* Verwaltung von Zahlungsarten
|
|
3196
3196
|
*/
|
|
3197
|
-
|
|
3197
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
3198
3198
|
|
|
3199
3199
|
/**
|
|
3200
|
-
*
|
|
3200
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
3201
3201
|
*/
|
|
3202
|
-
|
|
3202
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
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
|
|
3215
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3216
3216
|
*/
|
|
3217
|
-
|
|
3217
|
+
assetService: AssetScriptingService;
|
|
3218
3218
|
|
|
3219
3219
|
/**
|
|
3220
|
-
* Service zur Verarbeitung von
|
|
3220
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3221
3221
|
*/
|
|
3222
|
-
|
|
3222
|
+
variantValueService: VariantValueScriptingService;
|
|
3223
3223
|
|
|
3224
3224
|
/**
|
|
3225
3225
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -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
|
|
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,
|
|
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
|