@vario-software/types 2026.19.4 → 2026.20.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/schema/erp.d.ts +36 -4
- package/scripting/eav_types.d.ts +6 -0
- package/scripting/services.d.ts +102 -37
- package/scripting/types.d.ts +318 -270
package/package.json
CHANGED
package/schema/erp.d.ts
CHANGED
|
@@ -78870,8 +78870,6 @@ export interface components {
|
|
|
78870
78870
|
startEntityIdentifier?: string;
|
|
78871
78871
|
/** @description Unter-Objekte, für die eine resolving strategy definiert werden kann */
|
|
78872
78872
|
subgraphs?: components["schemas"]["common-data_import-ResolvingStrategyInformation"][];
|
|
78873
|
-
/** @description Upload von zusätzlichen Dateien möglich? */
|
|
78874
|
-
supportsFileUpload?: boolean;
|
|
78875
78873
|
/** @description Wird der Validierungsschritt unterstützt? */
|
|
78876
78874
|
supportsValidation?: boolean;
|
|
78877
78875
|
/** @enum {string} */
|
|
@@ -87001,6 +86999,8 @@ export interface components {
|
|
|
87001
86999
|
/** @description Produktionsdetails zu einer Komponente */
|
|
87002
87000
|
"erp-fabrication-DocumentLineComponentFabricationDetail": {
|
|
87003
87001
|
custom?: components["schemas"]["unknownservice-unknownmodule-JsonNode"];
|
|
87002
|
+
/** @description Abweichende Herstellungskosten */
|
|
87003
|
+
deviatingUnitPrice?: number;
|
|
87004
87004
|
/** @description Unique identifier of the Object */
|
|
87005
87005
|
id?: string;
|
|
87006
87006
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
@@ -88368,6 +88368,11 @@ export interface components {
|
|
|
88368
88368
|
targetOpenItemId?: number;
|
|
88369
88369
|
};
|
|
88370
88370
|
"erp-finance-PaymentCreationRequest": {
|
|
88371
|
+
/**
|
|
88372
|
+
* Format: date
|
|
88373
|
+
* @description Manuell gesetztes Ausführungsdatum; wird verwendet, wenn die Vorlage manuallySetExecutionDate=true hat
|
|
88374
|
+
*/
|
|
88375
|
+
executionDate?: string;
|
|
88371
88376
|
/** @description Detailangaben für die Zahlung */
|
|
88372
88377
|
paymentDetails?: components["schemas"]["erp-finance-PaymentCreationRequestDetail"][];
|
|
88373
88378
|
/**
|
|
@@ -88651,6 +88656,11 @@ export interface components {
|
|
|
88651
88656
|
};
|
|
88652
88657
|
/** @description Zahlungsvorlage zur Vorbelegung von Feldern in einer Zahlung */
|
|
88653
88658
|
"erp-payment-PaymentTemplate": {
|
|
88659
|
+
/**
|
|
88660
|
+
* @description Skonto immer ziehen
|
|
88661
|
+
* @default false
|
|
88662
|
+
*/
|
|
88663
|
+
alwaysUseDiscount1: boolean;
|
|
88654
88664
|
/**
|
|
88655
88665
|
* @description Sammelauftrag möglich
|
|
88656
88666
|
* @default false
|
|
@@ -88668,6 +88678,11 @@ export interface components {
|
|
|
88668
88678
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
88669
88679
|
/** @description Bezeichnung der Zahlungsvorlage */
|
|
88670
88680
|
label: string;
|
|
88681
|
+
/**
|
|
88682
|
+
* @description Ausführungsdatum manuell setzen
|
|
88683
|
+
* @default false
|
|
88684
|
+
*/
|
|
88685
|
+
manuallySetExecutionDate: boolean;
|
|
88671
88686
|
/** @description Die einzelnen Feldvorbelegungen der Zahlungsvorlage */
|
|
88672
88687
|
paymentTemplateEntries?: components["schemas"]["erp-payment-PaymentTemplateEntry"][];
|
|
88673
88688
|
/**
|
|
@@ -89549,6 +89564,8 @@ export interface components {
|
|
|
89549
89564
|
componentArticleRef: components["schemas"]["erp-product-ProductArticleRef"];
|
|
89550
89565
|
/** @description Beschreibung */
|
|
89551
89566
|
description?: string;
|
|
89567
|
+
/** @description Abweichende Herstellungskosten */
|
|
89568
|
+
deviatingUnitPrice?: number;
|
|
89552
89569
|
deviatingUnitRef?: components["schemas"]["common-masterdata-UnitTypeReference"];
|
|
89553
89570
|
fabricationArticleRef: components["schemas"]["erp-product-ProductArticleRef"];
|
|
89554
89571
|
/**
|
|
@@ -90392,17 +90409,32 @@ export interface components {
|
|
|
90392
90409
|
defaultSalesChannel?: boolean;
|
|
90393
90410
|
/** @description Beschreibung */
|
|
90394
90411
|
description?: string;
|
|
90395
|
-
/** @description Externe
|
|
90396
|
-
readonly
|
|
90412
|
+
/** @description Externe Referenzen */
|
|
90413
|
+
readonly externalReferences?: string;
|
|
90397
90414
|
fiscalizationBackend?: components["schemas"]["core-api-ApiObjectReference"];
|
|
90398
90415
|
/** @description Unique identifier of the Object */
|
|
90399
90416
|
id?: string;
|
|
90400
90417
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
90401
90418
|
/** @description Bezeichnung */
|
|
90402
90419
|
label?: string;
|
|
90420
|
+
/**
|
|
90421
|
+
* Format: date
|
|
90422
|
+
* @description Letzter TSS-Export-Tag
|
|
90423
|
+
*/
|
|
90424
|
+
readonly lastTssExportDate?: string;
|
|
90425
|
+
/**
|
|
90426
|
+
* Format: date
|
|
90427
|
+
* @description Aktuell laufender TSS-Export bis
|
|
90428
|
+
*/
|
|
90429
|
+
readonly pendingTssExportDateEnd?: string;
|
|
90403
90430
|
reportGroupRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
90404
90431
|
/** @description Lagerzuordnungen */
|
|
90405
90432
|
salesChannelStorages?: components["schemas"]["erp-sales_channel-SalesChannelStorage"][];
|
|
90433
|
+
/**
|
|
90434
|
+
* @description TSS-Export-Zustand
|
|
90435
|
+
* @enum {string}
|
|
90436
|
+
*/
|
|
90437
|
+
readonly tssExportState?: "PENDING" | "FINISHED";
|
|
90406
90438
|
/** @description Version Identifier for this Object (for PUT) */
|
|
90407
90439
|
version?: string;
|
|
90408
90440
|
};
|
package/scripting/eav_types.d.ts
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Account, AccountAddress, AccountBankdetail,
|
|
3
|
-
AccountManufacturer, AccountManufacturerDescription,
|
|
4
|
-
AccountRelation, AdditionalParameter, ApiCreatableReference,
|
|
2
|
+
Account, AccountAddress, AccountBankdetail, AccountListing,
|
|
3
|
+
AccountLoanValue, AccountManufacturer, AccountManufacturerDescription,
|
|
4
|
+
AccountPerson, AccountRelation, AdditionalParameter, ApiCreatableReference,
|
|
5
5
|
ApiObjectReference, Article, Article$Metric,
|
|
6
6
|
ArticleAvailabilityDetermination, ArticleIdentifier, ArticleListing,
|
|
7
7
|
ArticlePrintLabelSettings, ArticleSerialNumber, ArticleStorage,
|
|
@@ -54,6 +54,66 @@ import {
|
|
|
54
54
|
VariantSchema, VariantValue, VariantValueListing
|
|
55
55
|
} from "./types"
|
|
56
56
|
|
|
57
|
+
/**
|
|
58
|
+
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
59
|
+
*/
|
|
60
|
+
export interface AccountListingScriptingService {
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Persistiert ein DTO
|
|
64
|
+
*
|
|
65
|
+
* @param {AccountListing} toCreate - Das zu persistierende DTO
|
|
66
|
+
* @return {AccountListing} Das persistierte DTO
|
|
67
|
+
*/
|
|
68
|
+
create(toCreate: AccountListing): AccountListing;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Löscht eine Entity
|
|
72
|
+
*
|
|
73
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
74
|
+
*/
|
|
75
|
+
deleteById(id: number): void;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Erstellt eine neue DTO-Instanz
|
|
79
|
+
*
|
|
80
|
+
* @return {AccountListing} Die neue DTO-Instanz
|
|
81
|
+
*/
|
|
82
|
+
getNewDto(): AccountListing;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Liest eine Liste von DTOs
|
|
86
|
+
*
|
|
87
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
88
|
+
* @return {Array<AccountListing>} Die Liste der gelesenen DTOs
|
|
89
|
+
*/
|
|
90
|
+
readAllById(ids: Array<number>): Array<AccountListing>;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Liest ein DTO
|
|
94
|
+
*
|
|
95
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
96
|
+
* @return {AccountListing} Das gelesene DTO
|
|
97
|
+
*/
|
|
98
|
+
readById(id: number): AccountListing;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Persistiert eine DTO
|
|
102
|
+
*
|
|
103
|
+
* @param {AccountListing} toStore - Das zu persistierende DTO
|
|
104
|
+
* @return {AccountListing} Das persistierte DTO
|
|
105
|
+
*/
|
|
106
|
+
store(toStore: AccountListing): AccountListing;
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Aktualisiert ein persistiertes DTO
|
|
110
|
+
*
|
|
111
|
+
* @param {AccountListing} toUpdate - Die zu aktualisierende Entity
|
|
112
|
+
* @return {AccountListing} Das aktualisierte DTO
|
|
113
|
+
*/
|
|
114
|
+
update(toUpdate: AccountListing): AccountListing;
|
|
115
|
+
}
|
|
116
|
+
|
|
57
117
|
/**
|
|
58
118
|
* Service zur Verarbeitung von Accounts
|
|
59
119
|
*/
|
|
@@ -433,21 +493,21 @@ export interface ArticleScriptingService {
|
|
|
433
493
|
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
434
494
|
|
|
435
495
|
/**
|
|
436
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
496
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
437
497
|
*
|
|
438
498
|
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
439
|
-
* @param {string} languageCode -
|
|
440
499
|
* @return {Article} Der persistierte Artikel
|
|
441
500
|
*/
|
|
442
|
-
create(toCreate: Article
|
|
501
|
+
create(toCreate: Article): Article;
|
|
443
502
|
|
|
444
503
|
/**
|
|
445
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
504
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
446
505
|
*
|
|
447
506
|
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
507
|
+
* @param {string} languageCode -
|
|
448
508
|
* @return {Article} Der persistierte Artikel
|
|
449
509
|
*/
|
|
450
|
-
create(toCreate: Article): Article;
|
|
510
|
+
create(toCreate: Article, languageCode: string): Article;
|
|
451
511
|
|
|
452
512
|
/**
|
|
453
513
|
* Deaktiviert ein DTO
|
|
@@ -568,38 +628,38 @@ export interface ArticleScriptingService {
|
|
|
568
628
|
readByNumber(articleNumber: string): Article;
|
|
569
629
|
|
|
570
630
|
/**
|
|
571
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
631
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
572
632
|
*
|
|
573
633
|
* @param {Article} toStore - Der zu persistierende Artikel
|
|
574
|
-
* @param {string} languageCode -
|
|
575
634
|
* @return {Article} Der persistierte Artikel
|
|
576
635
|
*/
|
|
577
|
-
store(toStore: Article
|
|
636
|
+
store(toStore: Article): Article;
|
|
578
637
|
|
|
579
638
|
/**
|
|
580
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
639
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
581
640
|
*
|
|
582
641
|
* @param {Article} toStore - Der zu persistierende Artikel
|
|
642
|
+
* @param {string} languageCode -
|
|
583
643
|
* @return {Article} Der persistierte Artikel
|
|
584
644
|
*/
|
|
585
|
-
store(toStore: Article): Article;
|
|
645
|
+
store(toStore: Article, languageCode: string): Article;
|
|
586
646
|
|
|
587
647
|
/**
|
|
588
|
-
*
|
|
648
|
+
* Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
589
649
|
*
|
|
590
650
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
651
|
+
* @param {string} languageCode -
|
|
591
652
|
* @return {Article} Der aktualisiert Artikel
|
|
592
653
|
*/
|
|
593
|
-
update(toUpdate: Article): Article;
|
|
654
|
+
update(toUpdate: Article, languageCode: string): Article;
|
|
594
655
|
|
|
595
656
|
/**
|
|
596
|
-
*
|
|
657
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
597
658
|
*
|
|
598
659
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
599
|
-
* @param {string} languageCode -
|
|
600
660
|
* @return {Article} Der aktualisiert Artikel
|
|
601
661
|
*/
|
|
602
|
-
update(toUpdate: Article
|
|
662
|
+
update(toUpdate: Article): Article;
|
|
603
663
|
}
|
|
604
664
|
|
|
605
665
|
/**
|
|
@@ -1494,35 +1554,35 @@ export interface DocumentScriptingService {
|
|
|
1494
1554
|
* Löst einen Beleg auf
|
|
1495
1555
|
*
|
|
1496
1556
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1557
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1497
1558
|
* @return {Document} Der aufgelöste Beleg
|
|
1498
1559
|
*/
|
|
1499
|
-
dissolve(documentId: number): Document;
|
|
1560
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1500
1561
|
|
|
1501
1562
|
/**
|
|
1502
1563
|
* Löst einen Beleg auf
|
|
1503
1564
|
*
|
|
1504
1565
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1505
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1506
1566
|
* @return {Document} Der aufgelöste Beleg
|
|
1507
1567
|
*/
|
|
1508
|
-
dissolve(documentId: number
|
|
1568
|
+
dissolve(documentId: number): Document;
|
|
1509
1569
|
|
|
1510
1570
|
/**
|
|
1511
1571
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1512
1572
|
*
|
|
1513
1573
|
* @param {number} documentId - ID des Belegs
|
|
1574
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1514
1575
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1515
1576
|
*/
|
|
1516
|
-
edit(documentId: number): Document;
|
|
1577
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1517
1578
|
|
|
1518
1579
|
/**
|
|
1519
1580
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1520
1581
|
*
|
|
1521
1582
|
* @param {number} documentId - ID des Belegs
|
|
1522
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1523
1583
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1524
1584
|
*/
|
|
1525
|
-
edit(documentId: number
|
|
1585
|
+
edit(documentId: number): Document;
|
|
1526
1586
|
|
|
1527
1587
|
/**
|
|
1528
1588
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1625,16 +1685,16 @@ export interface DocumentScriptingService {
|
|
|
1625
1685
|
* Versendet einen Beleg per Mail
|
|
1626
1686
|
*
|
|
1627
1687
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1628
|
-
* @param {string} reportGroupIdentifier -
|
|
1629
1688
|
*/
|
|
1630
|
-
sendViaMail(documentId: number
|
|
1689
|
+
sendViaMail(documentId: number): void;
|
|
1631
1690
|
|
|
1632
1691
|
/**
|
|
1633
1692
|
* Versendet einen Beleg per Mail
|
|
1634
1693
|
*
|
|
1635
1694
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1695
|
+
* @param {string} reportGroupIdentifier -
|
|
1636
1696
|
*/
|
|
1637
|
-
sendViaMail(documentId: number): void;
|
|
1697
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1638
1698
|
|
|
1639
1699
|
/**
|
|
1640
1700
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2512,14 +2572,14 @@ export interface ScriptingServiceList {
|
|
|
2512
2572
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2513
2573
|
|
|
2514
2574
|
/**
|
|
2515
|
-
*
|
|
2575
|
+
* Logging im Scripting
|
|
2516
2576
|
*/
|
|
2517
|
-
|
|
2577
|
+
logger: LoggingScriptingService;
|
|
2518
2578
|
|
|
2519
2579
|
/**
|
|
2520
|
-
*
|
|
2580
|
+
* Verwaltung von Versandarten
|
|
2521
2581
|
*/
|
|
2522
|
-
|
|
2582
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2523
2583
|
|
|
2524
2584
|
/**
|
|
2525
2585
|
* Service zur Verarbeitung von Deals
|
|
@@ -2536,15 +2596,20 @@ export interface ScriptingServiceList {
|
|
|
2536
2596
|
*/
|
|
2537
2597
|
productGroupService: ProductGroupScriptingService;
|
|
2538
2598
|
|
|
2599
|
+
/**
|
|
2600
|
+
* Ausgabe-Support Methoden
|
|
2601
|
+
*/
|
|
2602
|
+
outputHelper: ScriptOutputHelperService;
|
|
2603
|
+
|
|
2539
2604
|
/**
|
|
2540
2605
|
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2541
2606
|
*/
|
|
2542
2607
|
productMainGroupService: ProductMainGroupScriptingService;
|
|
2543
2608
|
|
|
2544
2609
|
/**
|
|
2545
|
-
*
|
|
2610
|
+
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
2546
2611
|
*/
|
|
2547
|
-
|
|
2612
|
+
accountListingService: AccountListingScriptingService;
|
|
2548
2613
|
|
|
2549
2614
|
/**
|
|
2550
2615
|
* Erstellt DTOs zur Verwendung im Skript
|
|
@@ -2592,14 +2657,14 @@ export interface ScriptingServiceList {
|
|
|
2592
2657
|
articleStorageService: ArticleStorageScriptingService;
|
|
2593
2658
|
|
|
2594
2659
|
/**
|
|
2595
|
-
*
|
|
2660
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2596
2661
|
*/
|
|
2597
|
-
|
|
2662
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2598
2663
|
|
|
2599
2664
|
/**
|
|
2600
|
-
*
|
|
2665
|
+
* Verwaltung von Zahlungsarten
|
|
2601
2666
|
*/
|
|
2602
|
-
|
|
2667
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2603
2668
|
|
|
2604
2669
|
/**
|
|
2605
2670
|
* Service zur Bestandsabfrage und Lagerbuchung in Skripten
|