@vario-software/types 2026.20.4 → 2026.21.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 +2095 -1237
- package/scripting/services.d.ts +103 -62
- package/scripting/types.d.ts +448 -286
package/scripting/services.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
CrmChecklistItem, CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant,
|
|
11
11
|
CrmPriority, CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType,
|
|
12
12
|
CrmTask, CrmTaskParticipant, CrmTypedDocumentRef, CrmTypedDocumentRefList,
|
|
13
|
-
Customer, DealNotificationEventConfig, DeliveryMethod,
|
|
14
|
-
Document, DocumentAdditionalInfo,
|
|
13
|
+
CurrencyReference, Customer, DealNotificationEventConfig, DeliveryMethod,
|
|
14
|
+
DeliveryTerm, Document, DocumentAdditionalInfo,
|
|
15
15
|
DocumentAdditionalInfo$IncomingGoodsTarget,
|
|
16
16
|
DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
|
|
17
17
|
DocumentAdditionalInfo$OrderIntoPickingConvertResult,
|
|
@@ -25,33 +25,34 @@ import {
|
|
|
25
25
|
DocumentPriceModifier, DocumentRef, DocumentShippingCost, DocumentTax,
|
|
26
26
|
DocumentText, DocumentTransferToStateRequest,
|
|
27
27
|
DocumentTransferToTypeRequest, DocumentType, DocumentTypeFollowUp,
|
|
28
|
-
DocumentTypeLabel, DocumentTypeState,
|
|
29
|
-
ECrmSpecialDocumentRefType, ECrmType,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
FabricationSerialNumber, Group, PaymentMethod,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
PicklistTemplate$OrderSelectionOptions,
|
|
28
|
+
DocumentTypeLabel, DocumentTypeState, DummySerialNumberStockTransferApi,
|
|
29
|
+
ECrmPriorityType, ECrmSpecialDocumentRefType, ECrmType,
|
|
30
|
+
EScriptingAuthenticationType, EShelfDocumentDeletionState,
|
|
31
|
+
FabricationComponentForProduction, FabricationDefectiveRequest,
|
|
32
|
+
FabricationProduceRequest, FabricationRemainingComponent,
|
|
33
|
+
FabricationRevertRequest, FabricationSerialNumber, Group, PaymentMethod,
|
|
34
|
+
PaymentTerm, PaymentTermRef, PickTrolley, PickTrolleyBox, Picklist,
|
|
35
|
+
PicklistLine, PicklistLineBooking, PicklistLineComponent, PicklistTemplate,
|
|
36
|
+
PicklistTemplate$DateRange, PicklistTemplate$OrderSelectionOptions,
|
|
37
37
|
PicklistTemplate$PicklistCreationOptions,
|
|
38
38
|
PicklistTemplate$PicklistProcessingOptions,
|
|
39
39
|
PicklistTemplate$PicklistScript, PriceSelectionCriteria, Product,
|
|
40
40
|
ProductDiscount, ProductGroup, ProductMainGroup, ProductPrice,
|
|
41
|
-
RequestDocument, RequestDocumentLine,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
ScriptingDateTime, SecureHttpClient,
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
VariantSchema, VariantValue,
|
|
41
|
+
RecommendedRetailPrice, RequestDocument, RequestDocumentLine,
|
|
42
|
+
RequestDocumentLineBooking, RequestDocumentLineCommission,
|
|
43
|
+
RequestDocumentLineFabricationDetail, RequestDocumentPriceModifier,
|
|
44
|
+
RequestDocumentText, RevenueCalculation, SalesAgent, Scenario,
|
|
45
|
+
ScenarioActualValue, ScenarioDimension, ScenarioDimensionValue,
|
|
46
|
+
ScriptOutputRequest, ScriptingDate, ScriptingDateTime, SecureHttpClient,
|
|
47
|
+
SequencerConfiguration, SequencerConfigurationDetail,
|
|
48
|
+
SerialNumberWithQuantityApi, ShelfDocument, ShelfDocumentAttribution,
|
|
49
|
+
ShelfDocumentType, ShelfFile, ShelfFileMetaData, ShelfShare,
|
|
50
|
+
ShelfTranslatableText, Stock, StockMovementManualApi, StockTransferApi,
|
|
51
|
+
StockTransferResult, StorageBinRef, SubFileInfo, Supplier, TagDto,
|
|
52
|
+
TaxIdForeignCountry, TextEnumCreate, TextEnumGet, TssSignature,
|
|
53
|
+
UnitTypeReference, UpdateDocumentRequest, User, VariantAttribute,
|
|
54
|
+
VariantAttributeListing, VariantDescription, VariantSchema, VariantValue,
|
|
55
|
+
VariantValueListing, VariantValueReference
|
|
55
56
|
} from "./types"
|
|
56
57
|
|
|
57
58
|
/**
|
|
@@ -470,27 +471,27 @@ export interface ArticleScriptingService {
|
|
|
470
471
|
*
|
|
471
472
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
472
473
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
474
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
473
475
|
*/
|
|
474
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
476
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
475
477
|
|
|
476
478
|
/**
|
|
477
479
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
478
480
|
*
|
|
479
481
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
480
482
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
481
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
482
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
483
483
|
*/
|
|
484
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
484
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
485
485
|
|
|
486
486
|
/**
|
|
487
487
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
488
488
|
*
|
|
489
489
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
490
490
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
491
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
491
492
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
492
493
|
*/
|
|
493
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
494
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
494
495
|
|
|
495
496
|
/**
|
|
496
497
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -509,6 +510,18 @@ export interface ArticleScriptingService {
|
|
|
509
510
|
*/
|
|
510
511
|
create(toCreate: Article): Article;
|
|
511
512
|
|
|
513
|
+
/**
|
|
514
|
+
* Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
|
|
515
|
+
Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
516
|
+
|
|
517
|
+
*
|
|
518
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
519
|
+
* @param {number} bundleSchemaId - ID des Gebindeschemas, das als Vorlage verwendet werden soll
|
|
520
|
+
* @param {boolean} useSameNumberForAllArticles - Gleiche Artikelnummer für alle Gebindeartikel verwenden?
|
|
521
|
+
* @return {Article} Der gespeicherte Haupt-Artikel
|
|
522
|
+
*/
|
|
523
|
+
create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
|
|
524
|
+
|
|
512
525
|
/**
|
|
513
526
|
* Deaktiviert ein DTO
|
|
514
527
|
*
|
|
@@ -536,16 +549,16 @@ export interface ArticleScriptingService {
|
|
|
536
549
|
* Führt einen Etikettendrucklauf aus
|
|
537
550
|
*
|
|
538
551
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
539
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
540
552
|
*/
|
|
541
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
553
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
542
554
|
|
|
543
555
|
/**
|
|
544
556
|
* Führt einen Etikettendrucklauf aus
|
|
545
557
|
*
|
|
546
558
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
559
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
547
560
|
*/
|
|
548
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
561
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
549
562
|
|
|
550
563
|
/**
|
|
551
564
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -645,21 +658,21 @@ export interface ArticleScriptingService {
|
|
|
645
658
|
store(toStore: Article): Article;
|
|
646
659
|
|
|
647
660
|
/**
|
|
648
|
-
*
|
|
661
|
+
* Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
649
662
|
*
|
|
650
663
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
664
|
+
* @param {string} languageCode -
|
|
651
665
|
* @return {Article} Der aktualisiert Artikel
|
|
652
666
|
*/
|
|
653
|
-
update(toUpdate: Article): Article;
|
|
667
|
+
update(toUpdate: Article, languageCode: string): Article;
|
|
654
668
|
|
|
655
669
|
/**
|
|
656
|
-
*
|
|
670
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
657
671
|
*
|
|
658
672
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
659
|
-
* @param {string} languageCode -
|
|
660
673
|
* @return {Article} Der aktualisiert Artikel
|
|
661
674
|
*/
|
|
662
|
-
update(toUpdate: Article
|
|
675
|
+
update(toUpdate: Article): Article;
|
|
663
676
|
}
|
|
664
677
|
|
|
665
678
|
/**
|
|
@@ -1510,18 +1523,18 @@ export interface DocumentScriptingService {
|
|
|
1510
1523
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1511
1524
|
*
|
|
1512
1525
|
* @param {number} documentId - ID des Belegs
|
|
1526
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1513
1527
|
* @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
|
|
1514
1528
|
*/
|
|
1515
|
-
cancel(documentId: number): Document;
|
|
1529
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1516
1530
|
|
|
1517
1531
|
/**
|
|
1518
1532
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1519
1533
|
*
|
|
1520
1534
|
* @param {number} documentId - ID des Belegs
|
|
1521
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1522
1535
|
* @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
|
|
1523
1536
|
*/
|
|
1524
|
-
cancel(documentId: number
|
|
1537
|
+
cancel(documentId: number): Document;
|
|
1525
1538
|
|
|
1526
1539
|
/**
|
|
1527
1540
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
@@ -1668,18 +1681,18 @@ export interface DocumentScriptingService {
|
|
|
1668
1681
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1669
1682
|
*
|
|
1670
1683
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1684
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1671
1685
|
* @return {Document} Der gespeicherte Beleg
|
|
1672
1686
|
*/
|
|
1673
|
-
save(documentId: number): Document;
|
|
1687
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1674
1688
|
|
|
1675
1689
|
/**
|
|
1676
1690
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1677
1691
|
*
|
|
1678
1692
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1679
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1680
1693
|
* @return {Document} Der gespeicherte Beleg
|
|
1681
1694
|
*/
|
|
1682
|
-
save(documentId: number
|
|
1695
|
+
save(documentId: number): Document;
|
|
1683
1696
|
|
|
1684
1697
|
/**
|
|
1685
1698
|
* Versendet einen Beleg per Mail
|
|
@@ -2561,26 +2574,26 @@ export interface ScriptingServiceList {
|
|
|
2561
2574
|
*/
|
|
2562
2575
|
crmTaskService: CrmTaskScriptingService;
|
|
2563
2576
|
|
|
2564
|
-
/**
|
|
2565
|
-
* Service zur Verarbeitung von Accounts
|
|
2566
|
-
*/
|
|
2567
|
-
accountService: AccountScriptingService;
|
|
2568
|
-
|
|
2569
2577
|
/**
|
|
2570
2578
|
* Service zur Verarbeitung von Shelf-Documents
|
|
2571
2579
|
*/
|
|
2572
2580
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2573
2581
|
|
|
2574
2582
|
/**
|
|
2575
|
-
*
|
|
2583
|
+
* Service zur Verarbeitung von Accounts
|
|
2576
2584
|
*/
|
|
2577
|
-
|
|
2585
|
+
accountService: AccountScriptingService;
|
|
2578
2586
|
|
|
2579
2587
|
/**
|
|
2580
2588
|
* Verwaltung von Versandarten
|
|
2581
2589
|
*/
|
|
2582
2590
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2583
2591
|
|
|
2592
|
+
/**
|
|
2593
|
+
* Logging im Scripting
|
|
2594
|
+
*/
|
|
2595
|
+
logger: LoggingScriptingService;
|
|
2596
|
+
|
|
2584
2597
|
/**
|
|
2585
2598
|
* Service zur Verarbeitung von Deals
|
|
2586
2599
|
*/
|
|
@@ -2597,14 +2610,14 @@ export interface ScriptingServiceList {
|
|
|
2597
2610
|
productGroupService: ProductGroupScriptingService;
|
|
2598
2611
|
|
|
2599
2612
|
/**
|
|
2600
|
-
*
|
|
2613
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2601
2614
|
*/
|
|
2602
|
-
|
|
2615
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2603
2616
|
|
|
2604
2617
|
/**
|
|
2605
|
-
*
|
|
2618
|
+
* Ausgabe-Support Methoden
|
|
2606
2619
|
*/
|
|
2607
|
-
|
|
2620
|
+
outputHelper: ScriptOutputHelperService;
|
|
2608
2621
|
|
|
2609
2622
|
/**
|
|
2610
2623
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2657,14 +2670,14 @@ export interface ScriptingServiceList {
|
|
|
2657
2670
|
articleStorageService: ArticleStorageScriptingService;
|
|
2658
2671
|
|
|
2659
2672
|
/**
|
|
2660
|
-
*
|
|
2673
|
+
* Verwaltung von Zahlungsarten
|
|
2661
2674
|
*/
|
|
2662
|
-
|
|
2675
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2663
2676
|
|
|
2664
2677
|
/**
|
|
2665
|
-
*
|
|
2678
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2666
2679
|
*/
|
|
2667
|
-
|
|
2680
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2668
2681
|
|
|
2669
2682
|
/**
|
|
2670
2683
|
* Service zur Bestandsabfrage und Lagerbuchung in Skripten
|
|
@@ -2774,18 +2787,18 @@ export interface ScriptingUtilities {
|
|
|
2774
2787
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2775
2788
|
*
|
|
2776
2789
|
* @param {object} value - Der Quell-Wert
|
|
2777
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
2778
2790
|
* @return {number} Ein BigDecimal-Wert
|
|
2779
2791
|
*/
|
|
2780
|
-
newBigDecimal(value: object
|
|
2792
|
+
newBigDecimal(value: object): number;
|
|
2781
2793
|
|
|
2782
2794
|
/**
|
|
2783
2795
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2784
2796
|
*
|
|
2785
2797
|
* @param {object} value - Der Quell-Wert
|
|
2798
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
2786
2799
|
* @return {number} Ein BigDecimal-Wert
|
|
2787
2800
|
*/
|
|
2788
|
-
newBigDecimal(value: object): number;
|
|
2801
|
+
newBigDecimal(value: object, scale: number): number;
|
|
2789
2802
|
|
|
2790
2803
|
/**
|
|
2791
2804
|
* Erstellt eine API-Referenz
|
|
@@ -3722,6 +3735,13 @@ export interface dtoFactory {
|
|
|
3722
3735
|
*/
|
|
3723
3736
|
createCrmTaskParticipant(): CrmTaskParticipant;
|
|
3724
3737
|
|
|
3738
|
+
/**
|
|
3739
|
+
* Erstellt einen neue Instanz von CurrencyReference
|
|
3740
|
+
*
|
|
3741
|
+
* @return {CurrencyReference} Neue Instanz von CurrencyReference
|
|
3742
|
+
*/
|
|
3743
|
+
createCurrencyReference(): CurrencyReference;
|
|
3744
|
+
|
|
3725
3745
|
/**
|
|
3726
3746
|
* Erstellt einen neue Instanz von Customer
|
|
3727
3747
|
*
|
|
@@ -3939,6 +3959,13 @@ export interface dtoFactory {
|
|
|
3939
3959
|
*/
|
|
3940
3960
|
createDocumentTypeState(): DocumentTypeState;
|
|
3941
3961
|
|
|
3962
|
+
/**
|
|
3963
|
+
* Erstellt einen neue Instanz von DummySerialNumberStockTransferApi
|
|
3964
|
+
*
|
|
3965
|
+
* @return {DummySerialNumberStockTransferApi} Neue Instanz von DummySerialNumberStockTransferApi
|
|
3966
|
+
*/
|
|
3967
|
+
createDummySerialNumberStockTransferApi(): DummySerialNumberStockTransferApi;
|
|
3968
|
+
|
|
3942
3969
|
/**
|
|
3943
3970
|
* Erstellt einen neue Instanz von FabricationComponentForProduction
|
|
3944
3971
|
*
|
|
@@ -4114,6 +4141,13 @@ export interface dtoFactory {
|
|
|
4114
4141
|
*/
|
|
4115
4142
|
createPrintedTranslatedField(): DocumentAdditionalInfo$PrintedTranslatedField;
|
|
4116
4143
|
|
|
4144
|
+
/**
|
|
4145
|
+
* Erstellt einen neue Instanz von RecommendedRetailPrice
|
|
4146
|
+
*
|
|
4147
|
+
* @return {RecommendedRetailPrice} Neue Instanz von RecommendedRetailPrice
|
|
4148
|
+
*/
|
|
4149
|
+
createRecommendedRetailPrice(): RecommendedRetailPrice;
|
|
4150
|
+
|
|
4117
4151
|
/**
|
|
4118
4152
|
* Erstellt einen neue Instanz von RequestDocument
|
|
4119
4153
|
*
|
|
@@ -4365,5 +4399,12 @@ export interface dtoFactory {
|
|
|
4365
4399
|
* @return {VariantDescription} Neue Instanz von VariantDescription
|
|
4366
4400
|
*/
|
|
4367
4401
|
createVariantDescription(): VariantDescription;
|
|
4402
|
+
|
|
4403
|
+
/**
|
|
4404
|
+
* Erstellt einen neue Instanz von VariantValueReference
|
|
4405
|
+
*
|
|
4406
|
+
* @return {VariantValueReference} Neue Instanz von VariantValueReference
|
|
4407
|
+
*/
|
|
4408
|
+
createVariantValueReference(): VariantValueReference;
|
|
4368
4409
|
}
|
|
4369
4410
|
|