@vario-software/types 2026.27.1 → 2026.28.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 +2021 -61
- package/scripting/services.d.ts +107 -42
- package/scripting/types.d.ts +281 -229
package/scripting/services.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
CrmReminder, CrmState, CrmSubType, CrmTask, CrmTaskParticipant,
|
|
13
13
|
CrmTypedDocumentRef, CrmTypedDocumentRefList, CurrencyReference, Customer,
|
|
14
14
|
DangerousGoodInformation, DealNotificationEventConfig, DeliveryMethod,
|
|
15
|
-
DeliveryTerm, Document, DocumentAdditionalInfo,
|
|
15
|
+
DeliveryTerm, DmsOutputStream, Document, DocumentAdditionalInfo,
|
|
16
16
|
DocumentAdditionalInfo$IncomingGoodsTarget,
|
|
17
17
|
DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
|
|
18
18
|
DocumentAdditionalInfo$OrderIntoPickingConvertResult,
|
|
@@ -28,34 +28,36 @@ import {
|
|
|
28
28
|
DocumentTransferToStateRequest, DocumentTransferToTypeRequest,
|
|
29
29
|
DocumentType, DocumentTypeFollowUp, DocumentTypeLabel, DocumentTypeState,
|
|
30
30
|
DummySerialNumberStockTransferApi, ECrmPriorityType,
|
|
31
|
-
ECrmSpecialDocumentRefType, ECrmType,
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
FabricationSerialNumber, Group, OpenItem,
|
|
36
|
-
|
|
37
|
-
PicklistLineBooking, PicklistLineComponent,
|
|
38
|
-
PicklistTemplate
|
|
31
|
+
ECrmSpecialDocumentRefType, ECrmType, ELinebreakType,
|
|
32
|
+
EScriptingAuthenticationType, EShelfDocumentDeletionState,
|
|
33
|
+
FabricationComponentForProduction, FabricationDefectiveRequest,
|
|
34
|
+
FabricationProduceRequest, FabricationRemainingComponent,
|
|
35
|
+
FabricationRevertRequest, FabricationSerialNumber, Group, OpenItem,
|
|
36
|
+
PaymentMethod, PaymentTerm, PaymentTermRef, PickTrolley, PickTrolleyBox,
|
|
37
|
+
Picklist, PicklistLine, PicklistLineBooking, PicklistLineComponent,
|
|
38
|
+
PicklistTemplate, PicklistTemplate$DateRange,
|
|
39
|
+
PicklistTemplate$OrderSelectionOptions,
|
|
39
40
|
PicklistTemplate$PicklistCreationOptions,
|
|
40
41
|
PicklistTemplate$PicklistProcessingOptions,
|
|
41
|
-
PicklistTemplate$PicklistScript,
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
RequestDocumentLineFabricationDetail,
|
|
42
|
+
PicklistTemplate$PicklistScript, PlainScriptingWriter,
|
|
43
|
+
PriceSelectionCriteria, Product, ProductArticleRef, ProductDiscount,
|
|
44
|
+
ProductGroup, ProductMainGroup, ProductPrice, RecommendedRetailPrice,
|
|
45
|
+
RequestDocument, RequestDocumentLine, RequestDocumentLineBooking,
|
|
46
|
+
RequestDocumentLineCommission, RequestDocumentLineFabricationDetail,
|
|
46
47
|
RequestDocumentLineShippingCostDetail, RequestDocumentPriceModifier,
|
|
47
48
|
RequestDocumentText, RevenueCalculation, SalesAgent, Scenario,
|
|
48
49
|
ScenarioActualValue, ScenarioDimension, ScenarioDimensionValue,
|
|
49
|
-
ScriptOutputRequest, ScriptingDate, ScriptingDateTime,
|
|
50
|
+
ScriptOutputRequest, ScriptingDate, ScriptingDateTime,
|
|
51
|
+
ScriptingOutputStream, ScriptingXmlWriter, SecureHttpClient,
|
|
50
52
|
SequencerConfiguration, SequencerConfigurationDetail,
|
|
51
53
|
SerialNumberWithQuantityApi, ShelfDocument, ShelfDocumentAttribution,
|
|
52
54
|
ShelfDocumentType, ShelfFile, ShelfFileMetaData, ShelfShare,
|
|
53
55
|
ShelfTranslatableText, Stock, StockMovementManualApi, StockTransferApi,
|
|
54
|
-
StockTransferResult, StorageBinRef,
|
|
55
|
-
|
|
56
|
-
UnitTypeReference, UpdateDocumentRequest, User,
|
|
57
|
-
VariantAttributeListing, VariantDescription,
|
|
58
|
-
VariantValueListing, VariantValueReference
|
|
56
|
+
StockTransferResult, StorageBinRef, StringCollectorOutputStream,
|
|
57
|
+
SubFileInfo, Supplier, TagDto, TaxIdForeignCountry, TextEnumCreate,
|
|
58
|
+
TextEnumGet, TssSignature, UnitTypeReference, UpdateDocumentRequest, User,
|
|
59
|
+
VariantAttribute, VariantAttributeListing, VariantDescription,
|
|
60
|
+
VariantSchema, VariantValue, VariantValueListing, VariantValueReference
|
|
59
61
|
} from "./types"
|
|
60
62
|
|
|
61
63
|
/**
|
|
@@ -558,19 +560,19 @@ export interface ArticleScriptingService {
|
|
|
558
560
|
*
|
|
559
561
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
560
562
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
561
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
562
563
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
563
564
|
*/
|
|
564
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
565
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
565
566
|
|
|
566
567
|
/**
|
|
567
568
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
568
569
|
*
|
|
569
570
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
570
571
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
572
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
571
573
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
572
574
|
*/
|
|
573
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
575
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
574
576
|
|
|
575
577
|
/**
|
|
576
578
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -686,38 +688,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
686
688
|
newLabelPrintBatchIdentifier(): string;
|
|
687
689
|
|
|
688
690
|
/**
|
|
689
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
691
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
690
692
|
*
|
|
691
693
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
694
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
692
695
|
* @return {Article} Der gelesene Artikel
|
|
693
696
|
*/
|
|
694
|
-
readById(id: number): Article;
|
|
697
|
+
readById(id: number, languageCode: string): Article;
|
|
695
698
|
|
|
696
699
|
/**
|
|
697
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
700
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
698
701
|
*
|
|
699
702
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
700
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
701
703
|
* @return {Article} Der gelesene Artikel
|
|
702
704
|
*/
|
|
703
|
-
readById(id: number
|
|
705
|
+
readById(id: number): Article;
|
|
704
706
|
|
|
705
707
|
/**
|
|
706
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
708
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
707
709
|
*
|
|
708
710
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
711
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
709
712
|
* @return {Article} Der gelesene Artikel
|
|
710
713
|
*/
|
|
711
|
-
readByNumber(articleNumber: string): Article;
|
|
714
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
712
715
|
|
|
713
716
|
/**
|
|
714
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
717
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
715
718
|
*
|
|
716
719
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
717
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
718
720
|
* @return {Article} Der gelesene Artikel
|
|
719
721
|
*/
|
|
720
|
-
readByNumber(articleNumber: string
|
|
722
|
+
readByNumber(articleNumber: string): Article;
|
|
721
723
|
|
|
722
724
|
/**
|
|
723
725
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -1815,18 +1817,18 @@ export interface DocumentScriptingService {
|
|
|
1815
1817
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1816
1818
|
*
|
|
1817
1819
|
* @param {number} documentId - ID des Belegs
|
|
1818
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1819
1820
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1820
1821
|
*/
|
|
1821
|
-
edit(documentId: number
|
|
1822
|
+
edit(documentId: number): Document;
|
|
1822
1823
|
|
|
1823
1824
|
/**
|
|
1824
1825
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1825
1826
|
*
|
|
1826
1827
|
* @param {number} documentId - ID des Belegs
|
|
1828
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1827
1829
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1828
1830
|
*/
|
|
1829
|
-
edit(documentId: number): Document;
|
|
1831
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1830
1832
|
|
|
1831
1833
|
/**
|
|
1832
1834
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1912,33 +1914,33 @@ export interface DocumentScriptingService {
|
|
|
1912
1914
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1913
1915
|
*
|
|
1914
1916
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1917
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1915
1918
|
* @return {Document} Der gespeicherte Beleg
|
|
1916
1919
|
*/
|
|
1917
|
-
save(documentId: number): Document;
|
|
1920
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1918
1921
|
|
|
1919
1922
|
/**
|
|
1920
1923
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1921
1924
|
*
|
|
1922
1925
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1923
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1924
1926
|
* @return {Document} Der gespeicherte Beleg
|
|
1925
1927
|
*/
|
|
1926
|
-
save(documentId: number
|
|
1928
|
+
save(documentId: number): Document;
|
|
1927
1929
|
|
|
1928
1930
|
/**
|
|
1929
1931
|
* Versendet einen Beleg per Mail
|
|
1930
1932
|
*
|
|
1931
1933
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1934
|
+
* @param {string} reportGroupIdentifier -
|
|
1932
1935
|
*/
|
|
1933
|
-
sendViaMail(documentId: number): void;
|
|
1936
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1934
1937
|
|
|
1935
1938
|
/**
|
|
1936
1939
|
* Versendet einen Beleg per Mail
|
|
1937
1940
|
*
|
|
1938
1941
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1939
|
-
* @param {string} reportGroupIdentifier -
|
|
1940
1942
|
*/
|
|
1941
|
-
sendViaMail(documentId: number
|
|
1943
|
+
sendViaMail(documentId: number): void;
|
|
1942
1944
|
|
|
1943
1945
|
/**
|
|
1944
1946
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2799,6 +2801,46 @@ export interface ScriptOutputHelperService {
|
|
|
2799
2801
|
createOutputRequest(): ScriptOutputRequest;
|
|
2800
2802
|
}
|
|
2801
2803
|
|
|
2804
|
+
/**
|
|
2805
|
+
* Factory zum Erzeugen von Writern und OutputStreams
|
|
2806
|
+
*/
|
|
2807
|
+
export interface ScriptingIOFactory {
|
|
2808
|
+
|
|
2809
|
+
/**
|
|
2810
|
+
* Erzeugt einen Writer für einfache Texte ohne besondere Formatierungs- oder Syntax-Unterstützung mit Standard-Zeilenumbruch (Windows).
|
|
2811
|
+
*
|
|
2812
|
+
* @param {ScriptingOutputStream} destination - Ziel-Stream, in den geschrieben wird
|
|
2813
|
+
* @return {PlainScriptingWriter} Der erzeugte Writer
|
|
2814
|
+
*/
|
|
2815
|
+
createPlainWriter(destination: ScriptingOutputStream): PlainScriptingWriter;
|
|
2816
|
+
|
|
2817
|
+
/**
|
|
2818
|
+
* Wie createPlainWriter(ScriptingOutputStream), aber mit einstellbarer Zeichenfolge für Zeilenumbrüche
|
|
2819
|
+
*
|
|
2820
|
+
* @param {ScriptingOutputStream} destination - Ziel-Stream, in den geschrieben wird
|
|
2821
|
+
* @param {ELinebreakType} linebreakType - Zeichenfolge für einen Zeilenumbruch
|
|
2822
|
+
* @return {PlainScriptingWriter} Der erzeugte Writer
|
|
2823
|
+
*/
|
|
2824
|
+
createPlainWriter(destination: ScriptingOutputStream, linebreakType: ELinebreakType): PlainScriptingWriter;
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* Erzeugt einen StringCollector, der geschriebene Daten als String sammelt.
|
|
2828
|
+
*
|
|
2829
|
+
* @return {StringCollectorOutputStream} Der erzeugte StringCollector
|
|
2830
|
+
*/
|
|
2831
|
+
createStringCollector(): StringCollectorOutputStream;
|
|
2832
|
+
|
|
2833
|
+
/**
|
|
2834
|
+
* Erzeugt einen XmlWriter, der in den übergebenen Stream schreibt.
|
|
2835
|
+
*
|
|
2836
|
+
* @param {ScriptingOutputStream} destination - Ziel-Stream, in den geschrieben wird
|
|
2837
|
+
* @param {string} encoding - Encoding (z.B. UTF-8)
|
|
2838
|
+
* @param {boolean} prettyPrint - besser leserlich formatieren?
|
|
2839
|
+
* @return {ScriptingXmlWriter} Der erzeugte XmlWriter
|
|
2840
|
+
*/
|
|
2841
|
+
createXmlWriter(destination: ScriptingOutputStream, encoding: string, prettyPrint: boolean): ScriptingXmlWriter;
|
|
2842
|
+
}
|
|
2843
|
+
|
|
2802
2844
|
/**
|
|
2803
2845
|
* Services
|
|
2804
2846
|
*/
|
|
@@ -2874,6 +2916,11 @@ export interface ScriptingServiceList {
|
|
|
2874
2916
|
*/
|
|
2875
2917
|
dtoFactory: dtoFactory;
|
|
2876
2918
|
|
|
2919
|
+
/**
|
|
2920
|
+
* Factory zum Erzeugen von Writern und OutputStreams
|
|
2921
|
+
*/
|
|
2922
|
+
ioFactory: ScriptingIOFactory;
|
|
2923
|
+
|
|
2877
2924
|
/**
|
|
2878
2925
|
* Service zur Verarbeitung von Produktpreisen in Skripten
|
|
2879
2926
|
*/
|
|
@@ -3079,6 +3126,15 @@ export interface ScriptingUtilities {
|
|
|
3079
3126
|
*/
|
|
3080
3127
|
export interface ShelfDocumentScriptingService {
|
|
3081
3128
|
|
|
3129
|
+
/**
|
|
3130
|
+
* Legt ein Dokument an. Der Inhalt muss noch separat hochgeladen werden.
|
|
3131
|
+
*
|
|
3132
|
+
* @param {string} fileName - Dateiname
|
|
3133
|
+
* @param {string} documentTypeKey - Schlüssel des Dokumenttypen
|
|
3134
|
+
* @return {ShelfDocument} Das angelegte Dokument
|
|
3135
|
+
*/
|
|
3136
|
+
create(fileName: string, documentTypeKey: string): ShelfDocument;
|
|
3137
|
+
|
|
3082
3138
|
/**
|
|
3083
3139
|
* Erstellt eine neue Verknüpfung zwischen einem DMS-Dokument und einem Geschäftsobjekt
|
|
3084
3140
|
*
|
|
@@ -3087,6 +3143,15 @@ export interface ShelfDocumentScriptingService {
|
|
|
3087
3143
|
*/
|
|
3088
3144
|
createAttribution(attribution: ShelfDocumentAttribution): ShelfDocumentAttribution;
|
|
3089
3145
|
|
|
3146
|
+
/**
|
|
3147
|
+
* Erzeugt einen OutputStream, der geschriebene Daten als Datei ins DMS lädt.
|
|
3148
|
+
*
|
|
3149
|
+
* @param {number} shelfDocumentId - ID des Dokuments
|
|
3150
|
+
* @param {string} fileName - Dateiname
|
|
3151
|
+
* @return {DmsOutputStream} Der erzeugte OutputStream
|
|
3152
|
+
*/
|
|
3153
|
+
createDmsOutputStream(shelfDocumentId: number, fileName: string): DmsOutputStream;
|
|
3154
|
+
|
|
3090
3155
|
/**
|
|
3091
3156
|
* Löscht eine DMS-Verknüpfung
|
|
3092
3157
|
*
|