@vario-software/types 2026.23.4 → 2026.24.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 +2048 -1886
- package/scripting/services.d.ts +68 -60
- package/scripting/types.d.ts +341 -235
package/scripting/services.d.ts
CHANGED
|
@@ -20,21 +20,22 @@ import {
|
|
|
20
20
|
DocumentContractDetail, DocumentFabricationDetail, DocumentFinanceBooking,
|
|
21
21
|
DocumentLine, DocumentLineBooking, DocumentLineCommission,
|
|
22
22
|
DocumentLineComponent, DocumentLineComponentFabricationDetail,
|
|
23
|
-
DocumentLineFabricationBookedComponent,
|
|
24
|
-
|
|
25
|
-
DocumentLineRef, DocumentPosDetail,
|
|
26
|
-
DocumentPriceModifier, DocumentRef,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
DocumentTypeLabel, DocumentTypeState,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
PicklistTemplate
|
|
23
|
+
DocumentLineFabricationBookedComponent, DocumentLineFabricationComponent,
|
|
24
|
+
DocumentLineFabricationDetail, DocumentLineFabricationDetailSerialNumber,
|
|
25
|
+
DocumentLinePosDetail, DocumentLineRef, DocumentPosDetail,
|
|
26
|
+
DocumentPosPayment, DocumentPriceModifier, DocumentRef,
|
|
27
|
+
DocumentShippingCost, DocumentTax, DocumentText,
|
|
28
|
+
DocumentTransferToStateRequest, DocumentTransferToTypeRequest,
|
|
29
|
+
DocumentType, DocumentTypeFollowUp, DocumentTypeLabel, DocumentTypeState,
|
|
30
|
+
DummySerialNumberStockTransferApi, ECrmPriorityType,
|
|
31
|
+
ECrmSpecialDocumentRefType, ECrmType, EScriptingAuthenticationType,
|
|
32
|
+
EShelfDocumentDeletionState, FabricationComponentForProduction,
|
|
33
|
+
FabricationDefectiveRequest, FabricationProduceRequest,
|
|
34
|
+
FabricationRemainingComponent, FabricationRevertRequest,
|
|
35
|
+
FabricationSerialNumber, Group, PaymentMethod, PaymentTerm, PaymentTermRef,
|
|
36
|
+
PickTrolley, PickTrolleyBox, Picklist, PicklistLine, PicklistLineBooking,
|
|
37
|
+
PicklistLineComponent, PicklistTemplate, PicklistTemplate$DateRange,
|
|
38
|
+
PicklistTemplate$OrderSelectionOptions,
|
|
38
39
|
PicklistTemplate$PicklistCreationOptions,
|
|
39
40
|
PicklistTemplate$PicklistProcessingOptions,
|
|
40
41
|
PicklistTemplate$PicklistScript, PriceSelectionCriteria, Product,
|
|
@@ -557,19 +558,19 @@ export interface ArticleScriptingService {
|
|
|
557
558
|
*
|
|
558
559
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
559
560
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
561
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
560
562
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
561
563
|
*/
|
|
562
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
564
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
563
565
|
|
|
564
566
|
/**
|
|
565
567
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
566
568
|
*
|
|
567
569
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
568
570
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
569
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
570
571
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
571
572
|
*/
|
|
572
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
573
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
573
574
|
|
|
574
575
|
/**
|
|
575
576
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -685,21 +686,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
685
686
|
newLabelPrintBatchIdentifier(): string;
|
|
686
687
|
|
|
687
688
|
/**
|
|
688
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
689
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
689
690
|
*
|
|
690
691
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
691
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
692
692
|
* @return {Article} Der gelesene Artikel
|
|
693
693
|
*/
|
|
694
|
-
readById(id: number
|
|
694
|
+
readById(id: number): Article;
|
|
695
695
|
|
|
696
696
|
/**
|
|
697
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
697
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
698
698
|
*
|
|
699
699
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
700
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
700
701
|
* @return {Article} Der gelesene Artikel
|
|
701
702
|
*/
|
|
702
|
-
readById(id: number): Article;
|
|
703
|
+
readById(id: number, languageCode: string): Article;
|
|
703
704
|
|
|
704
705
|
/**
|
|
705
706
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
@@ -1645,35 +1646,35 @@ export interface DocumentScriptingService {
|
|
|
1645
1646
|
* Löst einen Beleg auf
|
|
1646
1647
|
*
|
|
1647
1648
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1649
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1648
1650
|
* @return {Document} Der aufgelöste Beleg
|
|
1649
1651
|
*/
|
|
1650
|
-
dissolve(documentId: number): Document;
|
|
1652
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1651
1653
|
|
|
1652
1654
|
/**
|
|
1653
1655
|
* Löst einen Beleg auf
|
|
1654
1656
|
*
|
|
1655
1657
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1656
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1657
1658
|
* @return {Document} Der aufgelöste Beleg
|
|
1658
1659
|
*/
|
|
1659
|
-
dissolve(documentId: number
|
|
1660
|
+
dissolve(documentId: number): Document;
|
|
1660
1661
|
|
|
1661
1662
|
/**
|
|
1662
1663
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1663
1664
|
*
|
|
1664
1665
|
* @param {number} documentId - ID des Belegs
|
|
1665
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1666
1666
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1667
1667
|
*/
|
|
1668
|
-
edit(documentId: number
|
|
1668
|
+
edit(documentId: number): Document;
|
|
1669
1669
|
|
|
1670
1670
|
/**
|
|
1671
1671
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1672
1672
|
*
|
|
1673
1673
|
* @param {number} documentId - ID des Belegs
|
|
1674
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1674
1675
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1675
1676
|
*/
|
|
1676
|
-
edit(documentId: number): Document;
|
|
1677
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1677
1678
|
|
|
1678
1679
|
/**
|
|
1679
1680
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1776,16 +1777,16 @@ export interface DocumentScriptingService {
|
|
|
1776
1777
|
* Versendet einen Beleg per Mail
|
|
1777
1778
|
*
|
|
1778
1779
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1780
|
+
* @param {string} reportGroupIdentifier -
|
|
1779
1781
|
*/
|
|
1780
|
-
sendViaMail(documentId: number): void;
|
|
1782
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1781
1783
|
|
|
1782
1784
|
/**
|
|
1783
1785
|
* Versendet einen Beleg per Mail
|
|
1784
1786
|
*
|
|
1785
1787
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1786
|
-
* @param {string} reportGroupIdentifier -
|
|
1787
1788
|
*/
|
|
1788
|
-
sendViaMail(documentId: number
|
|
1789
|
+
sendViaMail(documentId: number): void;
|
|
1789
1790
|
|
|
1790
1791
|
/**
|
|
1791
1792
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2652,26 +2653,26 @@ export interface ScriptingServiceList {
|
|
|
2652
2653
|
*/
|
|
2653
2654
|
crmTaskService: CrmTaskScriptingService;
|
|
2654
2655
|
|
|
2655
|
-
/**
|
|
2656
|
-
* Service zur Verarbeitung von Shelf-Documents
|
|
2657
|
-
*/
|
|
2658
|
-
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2659
|
-
|
|
2660
2656
|
/**
|
|
2661
2657
|
* Service zur Verarbeitung von Accounts
|
|
2662
2658
|
*/
|
|
2663
2659
|
accountService: AccountScriptingService;
|
|
2664
2660
|
|
|
2665
2661
|
/**
|
|
2666
|
-
*
|
|
2662
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2667
2663
|
*/
|
|
2668
|
-
|
|
2664
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2669
2665
|
|
|
2670
2666
|
/**
|
|
2671
2667
|
* Verwaltung von Versandarten
|
|
2672
2668
|
*/
|
|
2673
2669
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2674
2670
|
|
|
2671
|
+
/**
|
|
2672
|
+
* Logging im Scripting
|
|
2673
|
+
*/
|
|
2674
|
+
logger: LoggingScriptingService;
|
|
2675
|
+
|
|
2675
2676
|
/**
|
|
2676
2677
|
* Service zur Verarbeitung von Deals
|
|
2677
2678
|
*/
|
|
@@ -2688,14 +2689,14 @@ export interface ScriptingServiceList {
|
|
|
2688
2689
|
productGroupService: ProductGroupScriptingService;
|
|
2689
2690
|
|
|
2690
2691
|
/**
|
|
2691
|
-
*
|
|
2692
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2692
2693
|
*/
|
|
2693
|
-
|
|
2694
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2694
2695
|
|
|
2695
2696
|
/**
|
|
2696
|
-
*
|
|
2697
|
+
* Ausgabe-Support Methoden
|
|
2697
2698
|
*/
|
|
2698
|
-
|
|
2699
|
+
outputHelper: ScriptOutputHelperService;
|
|
2699
2700
|
|
|
2700
2701
|
/**
|
|
2701
2702
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2718,14 +2719,14 @@ export interface ScriptingServiceList {
|
|
|
2718
2719
|
utils: ScriptingUtilities;
|
|
2719
2720
|
|
|
2720
2721
|
/**
|
|
2721
|
-
* Service zur Verarbeitung von
|
|
2722
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
2722
2723
|
*/
|
|
2723
|
-
|
|
2724
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
2724
2725
|
|
|
2725
2726
|
/**
|
|
2726
|
-
* Service zur Verarbeitung von
|
|
2727
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
2727
2728
|
*/
|
|
2728
|
-
|
|
2729
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
2729
2730
|
|
|
2730
2731
|
/**
|
|
2731
2732
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -2753,14 +2754,14 @@ export interface ScriptingServiceList {
|
|
|
2753
2754
|
articleStorageService: ArticleStorageScriptingService;
|
|
2754
2755
|
|
|
2755
2756
|
/**
|
|
2756
|
-
*
|
|
2757
|
+
* Verwaltung von Zahlungsarten
|
|
2757
2758
|
*/
|
|
2758
|
-
|
|
2759
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2759
2760
|
|
|
2760
2761
|
/**
|
|
2761
|
-
*
|
|
2762
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2762
2763
|
*/
|
|
2763
|
-
|
|
2764
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2764
2765
|
|
|
2765
2766
|
/**
|
|
2766
2767
|
* Service zur Bestandsabfrage und Lagerbuchung in Skripten
|
|
@@ -2870,18 +2871,18 @@ export interface ScriptingUtilities {
|
|
|
2870
2871
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2871
2872
|
*
|
|
2872
2873
|
* @param {object} value - Der Quell-Wert
|
|
2874
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
2873
2875
|
* @return {number} Ein BigDecimal-Wert
|
|
2874
2876
|
*/
|
|
2875
|
-
newBigDecimal(value: object): number;
|
|
2877
|
+
newBigDecimal(value: object, scale: number): number;
|
|
2876
2878
|
|
|
2877
2879
|
/**
|
|
2878
2880
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2879
2881
|
*
|
|
2880
2882
|
* @param {object} value - Der Quell-Wert
|
|
2881
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
2882
2883
|
* @return {number} Ein BigDecimal-Wert
|
|
2883
2884
|
*/
|
|
2884
|
-
newBigDecimal(value: object
|
|
2885
|
+
newBigDecimal(value: object): number;
|
|
2885
2886
|
|
|
2886
2887
|
/**
|
|
2887
2888
|
* Erstellt eine API-Referenz
|
|
@@ -2913,24 +2914,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
2913
2914
|
deleteAttribution(attributionId: number): void;
|
|
2914
2915
|
|
|
2915
2916
|
/**
|
|
2916
|
-
* Lädt eine Datei von einer URL
|
|
2917
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
2917
2918
|
*
|
|
2918
2919
|
* @param {string} url - Download-URL
|
|
2919
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
2920
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
2921
2920
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
2922
2921
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
2923
2922
|
*/
|
|
2924
|
-
downloadIntoDMS(url: string,
|
|
2923
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
2925
2924
|
|
|
2926
2925
|
/**
|
|
2927
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
2926
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
2928
2927
|
*
|
|
2929
2928
|
* @param {string} url - Download-URL
|
|
2929
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
2930
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
2930
2931
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
2931
2932
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
2932
2933
|
*/
|
|
2933
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
2934
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
2934
2935
|
|
|
2935
2936
|
/**
|
|
2936
2937
|
* Findet ein Dokumentenart über ihren Schlüssel
|
|
@@ -3930,6 +3931,13 @@ export interface dtoFactory {
|
|
|
3930
3931
|
*/
|
|
3931
3932
|
createDocumentLineFabricationBookedComponent(): DocumentLineFabricationBookedComponent;
|
|
3932
3933
|
|
|
3934
|
+
/**
|
|
3935
|
+
* Erstellt einen neue Instanz von DocumentLineFabricationComponent
|
|
3936
|
+
*
|
|
3937
|
+
* @return {DocumentLineFabricationComponent} Neue Instanz von DocumentLineFabricationComponent
|
|
3938
|
+
*/
|
|
3939
|
+
createDocumentLineFabricationComponent(): DocumentLineFabricationComponent;
|
|
3940
|
+
|
|
3933
3941
|
/**
|
|
3934
3942
|
* Erstellt einen neue Instanz von DocumentLineFabricationDetail
|
|
3935
3943
|
*
|