@vario-software/types 2026.15.5 → 2026.16.0
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/schema/erp.d.ts +64338 -39443
- package/scripting/services.d.ts +73 -55
- package/scripting/types.d.ts +569 -397
package/scripting/services.d.ts
CHANGED
|
@@ -8,9 +8,10 @@ import {
|
|
|
8
8
|
CountryReference, CreateNewDocumentRequest, CrmActivity, CrmActivityType,
|
|
9
9
|
CrmChecklistItem, CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant,
|
|
10
10
|
CrmPriority, CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType,
|
|
11
|
-
CrmTask, CrmTypedDocumentRef, CrmTypedDocumentRefList,
|
|
12
|
-
DealNotificationEventConfig, DeliveryMethod, DeliveryTerm,
|
|
13
|
-
|
|
11
|
+
CrmTask, CrmTaskParticipant, CrmTypedDocumentRef, CrmTypedDocumentRefList,
|
|
12
|
+
Customer, DealNotificationEventConfig, DeliveryMethod, DeliveryTerm,
|
|
13
|
+
Document, DocumentAdditionalInfo,
|
|
14
|
+
DocumentAdditionalInfo$IncomingGoodsTarget,
|
|
14
15
|
DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
|
|
15
16
|
DocumentAdditionalInfo$OrderIntoPickingConvertResult,
|
|
16
17
|
DocumentAdditionalInfo$PrintedTranslatedField, DocumentAddress,
|
|
@@ -364,27 +365,27 @@ export interface ArticleScriptingService {
|
|
|
364
365
|
*
|
|
365
366
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
366
367
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
367
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
368
368
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
369
369
|
*/
|
|
370
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
370
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
371
371
|
|
|
372
372
|
/**
|
|
373
373
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
374
374
|
*
|
|
375
375
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
376
376
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
377
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
378
377
|
*/
|
|
379
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
378
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
380
379
|
|
|
381
380
|
/**
|
|
382
381
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
383
382
|
*
|
|
384
383
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
385
384
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
385
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
386
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
386
387
|
*/
|
|
387
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
388
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
388
389
|
|
|
389
390
|
/**
|
|
390
391
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -430,16 +431,16 @@ export interface ArticleScriptingService {
|
|
|
430
431
|
* Führt einen Etikettendrucklauf aus
|
|
431
432
|
*
|
|
432
433
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
434
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
433
435
|
*/
|
|
434
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
436
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
435
437
|
|
|
436
438
|
/**
|
|
437
439
|
* Führt einen Etikettendrucklauf aus
|
|
438
440
|
*
|
|
439
441
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
440
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
441
442
|
*/
|
|
442
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
443
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
443
444
|
|
|
444
445
|
/**
|
|
445
446
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -505,21 +506,21 @@ export interface ArticleScriptingService {
|
|
|
505
506
|
readById(id: number, languageCode: string): Article;
|
|
506
507
|
|
|
507
508
|
/**
|
|
508
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
509
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
509
510
|
*
|
|
510
511
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
512
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
511
513
|
* @return {Article} Der gelesene Artikel
|
|
512
514
|
*/
|
|
513
|
-
readByNumber(articleNumber: string): Article;
|
|
515
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
514
516
|
|
|
515
517
|
/**
|
|
516
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
518
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
517
519
|
*
|
|
518
520
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
519
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
520
521
|
* @return {Article} Der gelesene Artikel
|
|
521
522
|
*/
|
|
522
|
-
readByNumber(articleNumber: string
|
|
523
|
+
readByNumber(articleNumber: string): Article;
|
|
523
524
|
|
|
524
525
|
/**
|
|
525
526
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -770,9 +771,10 @@ export interface CrmDealScriptingService {
|
|
|
770
771
|
/**
|
|
771
772
|
* Findet den End-Status
|
|
772
773
|
*
|
|
774
|
+
* @param {number} typeId - ID eines CRM-Typs
|
|
773
775
|
* @return {CrmState} Der End-Status
|
|
774
776
|
*/
|
|
775
|
-
findFinalState(): CrmState;
|
|
777
|
+
findFinalState(typeId: number): CrmState;
|
|
776
778
|
|
|
777
779
|
/**
|
|
778
780
|
* Findet eine CRM-Priorität über die ID
|
|
@@ -801,9 +803,10 @@ export interface CrmDealScriptingService {
|
|
|
801
803
|
/**
|
|
802
804
|
* Findet den Start-Status
|
|
803
805
|
*
|
|
806
|
+
* @param {number} typeId - ID eines CRM-Typs
|
|
804
807
|
* @return {CrmState} Der Start-Status
|
|
805
808
|
*/
|
|
806
|
-
findStartState(): CrmState;
|
|
809
|
+
findStartState(typeId: number): CrmState;
|
|
807
810
|
|
|
808
811
|
/**
|
|
809
812
|
* Findet einen CRM-Status über die ID
|
|
@@ -817,9 +820,10 @@ export interface CrmDealScriptingService {
|
|
|
817
820
|
* Findet einen CRM-Status über sein Label
|
|
818
821
|
*
|
|
819
822
|
* @param {string} stateLabel - Label vom gesuchten Status
|
|
823
|
+
* @param {number} typeId - ID des CRM-Sub-Typs
|
|
820
824
|
* @return {CrmState} Der gefundene Status
|
|
821
825
|
*/
|
|
822
|
-
findStateByLabel(stateLabel: string): CrmState;
|
|
826
|
+
findStateByLabel(stateLabel: string, typeId: number): CrmState;
|
|
823
827
|
|
|
824
828
|
/**
|
|
825
829
|
* Findet ein Deal-Thema über seine ID
|
|
@@ -981,9 +985,10 @@ export interface CrmProjectScriptingService {
|
|
|
981
985
|
/**
|
|
982
986
|
* Findet den End-Status
|
|
983
987
|
*
|
|
988
|
+
* @param {number} typeId - ID eines CRM-Typs
|
|
984
989
|
* @return {CrmState} Der End-Status
|
|
985
990
|
*/
|
|
986
|
-
findFinalState(): CrmState;
|
|
991
|
+
findFinalState(typeId: number): CrmState;
|
|
987
992
|
|
|
988
993
|
/**
|
|
989
994
|
* Findet eine CRM-Priorität über die ID
|
|
@@ -1012,9 +1017,10 @@ export interface CrmProjectScriptingService {
|
|
|
1012
1017
|
/**
|
|
1013
1018
|
* Findet den Start-Status
|
|
1014
1019
|
*
|
|
1020
|
+
* @param {number} typeId - ID eines CRM-Typs
|
|
1015
1021
|
* @return {CrmState} Der Start-Status
|
|
1016
1022
|
*/
|
|
1017
|
-
findStartState(): CrmState;
|
|
1023
|
+
findStartState(typeId: number): CrmState;
|
|
1018
1024
|
|
|
1019
1025
|
/**
|
|
1020
1026
|
* Findet einen CRM-Status über die ID
|
|
@@ -1028,9 +1034,10 @@ export interface CrmProjectScriptingService {
|
|
|
1028
1034
|
* Findet einen CRM-Status über sein Label
|
|
1029
1035
|
*
|
|
1030
1036
|
* @param {string} stateLabel - Label vom gesuchten Status
|
|
1037
|
+
* @param {number} typeId - ID des CRM-Sub-Typs
|
|
1031
1038
|
* @return {CrmState} Der gefundene Status
|
|
1032
1039
|
*/
|
|
1033
|
-
findStateByLabel(stateLabel: string): CrmState;
|
|
1040
|
+
findStateByLabel(stateLabel: string, typeId: number): CrmState;
|
|
1034
1041
|
|
|
1035
1042
|
/**
|
|
1036
1043
|
* Findet einen CRM-Typ über die ID
|
|
@@ -1143,9 +1150,10 @@ export interface CrmTaskScriptingService {
|
|
|
1143
1150
|
/**
|
|
1144
1151
|
* Findet den End-Status
|
|
1145
1152
|
*
|
|
1153
|
+
* @param {number} typeId - ID eines CRM-Typs
|
|
1146
1154
|
* @return {CrmState} Der End-Status
|
|
1147
1155
|
*/
|
|
1148
|
-
findFinalState(): CrmState;
|
|
1156
|
+
findFinalState(typeId: number): CrmState;
|
|
1149
1157
|
|
|
1150
1158
|
/**
|
|
1151
1159
|
* Findet eine CRM-Priorität über die ID
|
|
@@ -1174,16 +1182,18 @@ export interface CrmTaskScriptingService {
|
|
|
1174
1182
|
/**
|
|
1175
1183
|
* Sucht den "Bereit zur Abrechnung"-Status
|
|
1176
1184
|
*
|
|
1185
|
+
* @param {number} typeId - ID eines CRM-Task-Typs
|
|
1177
1186
|
* @return {CrmState} "Bereit zur Abrechnung"-Status
|
|
1178
1187
|
*/
|
|
1179
|
-
findReadyToBillState(): CrmState;
|
|
1188
|
+
findReadyToBillState(typeId: number): CrmState;
|
|
1180
1189
|
|
|
1181
1190
|
/**
|
|
1182
1191
|
* Findet den Start-Status
|
|
1183
1192
|
*
|
|
1193
|
+
* @param {number} typeId - ID eines CRM-Typs
|
|
1184
1194
|
* @return {CrmState} Der Start-Status
|
|
1185
1195
|
*/
|
|
1186
|
-
findStartState(): CrmState;
|
|
1196
|
+
findStartState(typeId: number): CrmState;
|
|
1187
1197
|
|
|
1188
1198
|
/**
|
|
1189
1199
|
* Findet einen CRM-Status über die ID
|
|
@@ -1197,9 +1207,10 @@ export interface CrmTaskScriptingService {
|
|
|
1197
1207
|
* Findet einen CRM-Status über sein Label
|
|
1198
1208
|
*
|
|
1199
1209
|
* @param {string} stateLabel - Label vom gesuchten Status
|
|
1210
|
+
* @param {number} typeId - ID des CRM-Sub-Typs
|
|
1200
1211
|
* @return {CrmState} Der gefundene Status
|
|
1201
1212
|
*/
|
|
1202
|
-
findStateByLabel(stateLabel: string): CrmState;
|
|
1213
|
+
findStateByLabel(stateLabel: string, typeId: number): CrmState;
|
|
1203
1214
|
|
|
1204
1215
|
/**
|
|
1205
1216
|
* Findet einen CRM-Typ über die ID
|
|
@@ -1351,20 +1362,20 @@ export interface DocumentScriptingService {
|
|
|
1351
1362
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1352
1363
|
*
|
|
1353
1364
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1354
|
-
* @param {string}
|
|
1365
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1366
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1355
1367
|
* @return {Document} Der kopierte Beleg
|
|
1356
1368
|
*/
|
|
1357
|
-
copy(documentId: number,
|
|
1369
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1358
1370
|
|
|
1359
1371
|
/**
|
|
1360
1372
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1361
1373
|
*
|
|
1362
1374
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1363
|
-
* @param {string}
|
|
1364
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1375
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1365
1376
|
* @return {Document} Der kopierte Beleg
|
|
1366
1377
|
*/
|
|
1367
|
-
copy(documentId: number,
|
|
1378
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1368
1379
|
|
|
1369
1380
|
/**
|
|
1370
1381
|
* Erstellt einen neuen Beleg
|
|
@@ -1395,18 +1406,18 @@ export interface DocumentScriptingService {
|
|
|
1395
1406
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1396
1407
|
*
|
|
1397
1408
|
* @param {number} documentId - ID des Belegs
|
|
1398
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1399
1409
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1400
1410
|
*/
|
|
1401
|
-
edit(documentId: number
|
|
1411
|
+
edit(documentId: number): Document;
|
|
1402
1412
|
|
|
1403
1413
|
/**
|
|
1404
1414
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1405
1415
|
*
|
|
1406
1416
|
* @param {number} documentId - ID des Belegs
|
|
1417
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1407
1418
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1408
1419
|
*/
|
|
1409
|
-
edit(documentId: number): Document;
|
|
1420
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1410
1421
|
|
|
1411
1422
|
/**
|
|
1412
1423
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1492,18 +1503,18 @@ export interface DocumentScriptingService {
|
|
|
1492
1503
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1493
1504
|
*
|
|
1494
1505
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1506
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1495
1507
|
* @return {Document} Der gespeicherte Beleg
|
|
1496
1508
|
*/
|
|
1497
|
-
save(documentId: number): Document;
|
|
1509
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1498
1510
|
|
|
1499
1511
|
/**
|
|
1500
1512
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1501
1513
|
*
|
|
1502
1514
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1503
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1504
1515
|
* @return {Document} Der gespeicherte Beleg
|
|
1505
1516
|
*/
|
|
1506
|
-
save(documentId: number
|
|
1517
|
+
save(documentId: number): Document;
|
|
1507
1518
|
|
|
1508
1519
|
/**
|
|
1509
1520
|
* Versendet einen Beleg per Mail
|
|
@@ -2385,26 +2396,26 @@ export interface ScriptingServiceList {
|
|
|
2385
2396
|
*/
|
|
2386
2397
|
crmTaskService: CrmTaskScriptingService;
|
|
2387
2398
|
|
|
2388
|
-
/**
|
|
2389
|
-
* Service zur Verarbeitung von Shelf-Documents
|
|
2390
|
-
*/
|
|
2391
|
-
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2392
|
-
|
|
2393
2399
|
/**
|
|
2394
2400
|
* Service zur Verarbeitung von Accounts
|
|
2395
2401
|
*/
|
|
2396
2402
|
accountService: AccountScriptingService;
|
|
2397
2403
|
|
|
2398
2404
|
/**
|
|
2399
|
-
*
|
|
2405
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2400
2406
|
*/
|
|
2401
|
-
|
|
2407
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2402
2408
|
|
|
2403
2409
|
/**
|
|
2404
2410
|
* Logging im Scripting
|
|
2405
2411
|
*/
|
|
2406
2412
|
logger: LoggingScriptingService;
|
|
2407
2413
|
|
|
2414
|
+
/**
|
|
2415
|
+
* Verwaltung von Versandarten
|
|
2416
|
+
*/
|
|
2417
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2418
|
+
|
|
2408
2419
|
/**
|
|
2409
2420
|
* Service zur Verarbeitung von Deals
|
|
2410
2421
|
*/
|
|
@@ -2421,14 +2432,14 @@ export interface ScriptingServiceList {
|
|
|
2421
2432
|
productGroupService: ProductGroupScriptingService;
|
|
2422
2433
|
|
|
2423
2434
|
/**
|
|
2424
|
-
*
|
|
2435
|
+
* Ausgabe-Support Methoden
|
|
2425
2436
|
*/
|
|
2426
|
-
|
|
2437
|
+
outputHelper: ScriptOutputHelperService;
|
|
2427
2438
|
|
|
2428
2439
|
/**
|
|
2429
|
-
*
|
|
2440
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2430
2441
|
*/
|
|
2431
|
-
|
|
2442
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2432
2443
|
|
|
2433
2444
|
/**
|
|
2434
2445
|
* Erstellt DTOs zur Verwendung im Skript
|
|
@@ -2471,14 +2482,14 @@ export interface ScriptingServiceList {
|
|
|
2471
2482
|
variantValueListingService: VariantValueListingScriptingService;
|
|
2472
2483
|
|
|
2473
2484
|
/**
|
|
2474
|
-
*
|
|
2485
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2475
2486
|
*/
|
|
2476
|
-
|
|
2487
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2477
2488
|
|
|
2478
2489
|
/**
|
|
2479
|
-
*
|
|
2490
|
+
* Verwaltung von Zahlungsarten
|
|
2480
2491
|
*/
|
|
2481
|
-
|
|
2492
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2482
2493
|
|
|
2483
2494
|
/**
|
|
2484
2495
|
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
@@ -2583,18 +2594,18 @@ export interface ScriptingUtilities {
|
|
|
2583
2594
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2584
2595
|
*
|
|
2585
2596
|
* @param {object} value - Der Quell-Wert
|
|
2597
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
2586
2598
|
* @return {number} Ein BigDecimal-Wert
|
|
2587
2599
|
*/
|
|
2588
|
-
newBigDecimal(value: object): number;
|
|
2600
|
+
newBigDecimal(value: object, scale: number): number;
|
|
2589
2601
|
|
|
2590
2602
|
/**
|
|
2591
2603
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2592
2604
|
*
|
|
2593
2605
|
* @param {object} value - Der Quell-Wert
|
|
2594
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
2595
2606
|
* @return {number} Ein BigDecimal-Wert
|
|
2596
2607
|
*/
|
|
2597
|
-
newBigDecimal(value: object
|
|
2608
|
+
newBigDecimal(value: object): number;
|
|
2598
2609
|
|
|
2599
2610
|
/**
|
|
2600
2611
|
* Erstellt eine API-Referenz
|
|
@@ -3444,6 +3455,13 @@ export interface dtoFactory {
|
|
|
3444
3455
|
*/
|
|
3445
3456
|
createCrmTask(): CrmTask;
|
|
3446
3457
|
|
|
3458
|
+
/**
|
|
3459
|
+
* Erstellt einen neue Instanz von CrmTaskParticipant
|
|
3460
|
+
*
|
|
3461
|
+
* @return {CrmTaskParticipant} Neue Instanz von CrmTaskParticipant
|
|
3462
|
+
*/
|
|
3463
|
+
createCrmTaskParticipant(): CrmTaskParticipant;
|
|
3464
|
+
|
|
3447
3465
|
/**
|
|
3448
3466
|
* Erstellt einen neue Instanz von Customer
|
|
3449
3467
|
*
|