@vario-software/types 2026.23.4 → 2026.24.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 +2050 -1896
- package/scripting/services.d.ts +54 -46
- package/scripting/types.d.ts +446 -340
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,
|
|
@@ -549,17 +550,17 @@ export interface ArticleScriptingService {
|
|
|
549
550
|
*
|
|
550
551
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
551
552
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
553
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
552
554
|
*/
|
|
553
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
555
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
554
556
|
|
|
555
557
|
/**
|
|
556
558
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
557
559
|
*
|
|
558
560
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
559
561
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
560
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
561
562
|
*/
|
|
562
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
563
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
563
564
|
|
|
564
565
|
/**
|
|
565
566
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -685,38 +686,38 @@ 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
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
706
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
706
707
|
*
|
|
707
708
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
709
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
708
710
|
* @return {Article} Der gelesene Artikel
|
|
709
711
|
*/
|
|
710
|
-
readByNumber(articleNumber: string): Article;
|
|
712
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
711
713
|
|
|
712
714
|
/**
|
|
713
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
715
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
714
716
|
*
|
|
715
717
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
716
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
717
718
|
* @return {Article} Der gelesene Artikel
|
|
718
719
|
*/
|
|
719
|
-
readByNumber(articleNumber: string
|
|
720
|
+
readByNumber(articleNumber: string): Article;
|
|
720
721
|
|
|
721
722
|
/**
|
|
722
723
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -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
|
|
@@ -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
|
*
|