@vario-software/types 2026.44.0 → 2026.44.1
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 +52 -52
- package/scripting/types.d.ts +445 -445
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.44.
|
|
3
|
+
"version": "2026.44.1",
|
|
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
|
@@ -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
|
|
510
510
|
*
|
|
511
511
|
* @param {number} articleId - ID des Artikels
|
|
512
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
513
512
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
514
513
|
*/
|
|
515
|
-
readAllByArticleId(articleId: number
|
|
514
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
516
515
|
|
|
517
516
|
/**
|
|
518
|
-
* Liest alle Listings zu einem Artikel
|
|
517
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
519
518
|
*
|
|
520
519
|
* @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): Array<ArticleListing>;
|
|
523
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
524
524
|
|
|
525
525
|
/**
|
|
526
526
|
* Liest eine Liste von DTOs
|
|
@@ -584,19 +584,19 @@ export interface ArticleScriptingService {
|
|
|
584
584
|
*
|
|
585
585
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
586
586
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
587
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
588
587
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
589
588
|
*/
|
|
590
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
589
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
591
590
|
|
|
592
591
|
/**
|
|
593
592
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
594
593
|
*
|
|
595
594
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
596
595
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
596
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
597
597
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
598
598
|
*/
|
|
599
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: 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
|
|
@@ -654,16 +654,16 @@ 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
|
|
658
657
|
*/
|
|
659
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
658
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
660
659
|
|
|
661
660
|
/**
|
|
662
661
|
* Führt einen Etikettendrucklauf aus
|
|
663
662
|
*
|
|
664
663
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
664
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
665
665
|
*/
|
|
666
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
666
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
667
667
|
|
|
668
668
|
/**
|
|
669
669
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
@@ -2166,19 +2166,19 @@ 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
|
|
2170
|
-
* @param {RequestDocument} requestDocument - Additional details of the document for the transition, e.g. the delivery approval
|
|
2171
2169
|
* @return {Document} The saved document
|
|
2172
2170
|
*/
|
|
2173
|
-
save(documentId: number
|
|
2171
|
+
save(documentId: number): Document;
|
|
2174
2172
|
|
|
2175
2173
|
/**
|
|
2176
2174
|
* Saves a document (transition EDIT -> SAVED)
|
|
2177
2175
|
*
|
|
2178
2176
|
* @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
2179
|
* @return {Document} The saved document
|
|
2180
2180
|
*/
|
|
2181
|
-
save(documentId: number): Document;
|
|
2181
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>, requestDocument: RequestDocument): Document;
|
|
2182
2182
|
|
|
2183
2183
|
/**
|
|
2184
2184
|
* Saves a document (transition EDIT -> SAVED)
|
|
@@ -3152,26 +3152,26 @@ export interface ScriptingServiceList {
|
|
|
3152
3152
|
*/
|
|
3153
3153
|
crmTaskService: CrmTaskScriptingService;
|
|
3154
3154
|
|
|
3155
|
-
/**
|
|
3156
|
-
* Service zur Verarbeitung von Shelf-Documents
|
|
3157
|
-
*/
|
|
3158
|
-
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3159
|
-
|
|
3160
3155
|
/**
|
|
3161
3156
|
* Service zur Verarbeitung von Accounts
|
|
3162
3157
|
*/
|
|
3163
3158
|
accountService: AccountScriptingService;
|
|
3164
3159
|
|
|
3165
3160
|
/**
|
|
3166
|
-
*
|
|
3161
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
3167
3162
|
*/
|
|
3168
|
-
|
|
3163
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3169
3164
|
|
|
3170
3165
|
/**
|
|
3171
3166
|
* Verwaltung von Versandarten
|
|
3172
3167
|
*/
|
|
3173
3168
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
3174
3169
|
|
|
3170
|
+
/**
|
|
3171
|
+
* Logging im Scripting
|
|
3172
|
+
*/
|
|
3173
|
+
logger: LoggingScriptingService;
|
|
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
|
-
*
|
|
3196
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
3197
3197
|
*/
|
|
3198
|
-
|
|
3198
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
3199
3199
|
|
|
3200
3200
|
/**
|
|
3201
|
-
*
|
|
3201
|
+
* Ausgabe-Support Methoden
|
|
3202
3202
|
*/
|
|
3203
|
-
|
|
3203
|
+
outputHelper: ScriptOutputHelperService;
|
|
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
|
|
3231
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
3232
3232
|
*/
|
|
3233
|
-
|
|
3233
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
3234
3234
|
|
|
3235
3235
|
/**
|
|
3236
|
-
* Service zur Verarbeitung von
|
|
3236
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
3237
3237
|
*/
|
|
3238
|
-
|
|
3238
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
3239
3239
|
|
|
3240
3240
|
/**
|
|
3241
3241
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -3247,11 +3247,6 @@ 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
|
-
|
|
3255
3250
|
/**
|
|
3256
3251
|
* Service zur Verarbeitung von Artikel-Listings im Skripten
|
|
3257
3252
|
*/
|
|
@@ -3262,6 +3257,11 @@ export interface ScriptingServiceList {
|
|
|
3262
3257
|
*/
|
|
3263
3258
|
variantValueListingService: VariantValueListingScriptingService;
|
|
3264
3259
|
|
|
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
|
-
*
|
|
3276
|
+
* Verwaltung von Zahlungsarten
|
|
3277
3277
|
*/
|
|
3278
|
-
|
|
3278
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
3279
3279
|
|
|
3280
3280
|
/**
|
|
3281
|
-
*
|
|
3281
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
3282
3282
|
*/
|
|
3283
|
-
|
|
3283
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
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
|
|
3296
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3297
3297
|
*/
|
|
3298
|
-
|
|
3298
|
+
assetService: AssetScriptingService;
|
|
3299
3299
|
|
|
3300
3300
|
/**
|
|
3301
|
-
* Service zur Verarbeitung von
|
|
3301
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3302
3302
|
*/
|
|
3303
|
-
|
|
3303
|
+
variantValueService: VariantValueScriptingService;
|
|
3304
3304
|
|
|
3305
3305
|
/**
|
|
3306
3306
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -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
|
|
3469
|
+
* Lädt eine Datei von einer URL 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'
|
|
3474
3472
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3475
3473
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3476
3474
|
*/
|
|
3477
|
-
downloadIntoDMS(url: string,
|
|
3475
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3478
3476
|
|
|
3479
3477
|
/**
|
|
3480
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3478
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3481
3479
|
*
|
|
3482
3480
|
* @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, documentTypeKey: string): ShelfDocument;
|
|
3486
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3487
3487
|
|
|
3488
3488
|
/**
|
|
3489
3489
|
* Findet ein Dokumentenart über ihren Schlüssel
|