@vario-software/types 2026.30.4 → 2026.31.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 +90740 -49605
- package/scripting/eav_types.d.ts +6 -0
- package/scripting/services.d.ts +79 -64
- package/scripting/types.d.ts +478 -301
package/scripting/eav_types.d.ts
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -5,14 +5,15 @@ import {
|
|
|
5
5
|
ApiObjectReference, Article, Article$Metric, ArticleAssetInformation,
|
|
6
6
|
ArticleAvailabilityDetermination, ArticleCustomer, ArticleIdentifier,
|
|
7
7
|
ArticleListing, ArticlePrintLabelSettings, ArticleSerialNumber,
|
|
8
|
-
ArticleStorage, ArticleSupplier,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
8
|
+
ArticleStorage, ArticleSupplier, AssemblyComponentReturnLine, Asset,
|
|
9
|
+
AssetType, BulkTransferRequestApi, BulkTransferResult, Contact,
|
|
10
|
+
CountryReference, CreateNewDocumentRequest, CrmActivity, CrmActivityType,
|
|
11
|
+
CrmChecklistItem, CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant,
|
|
12
|
+
CrmPriority, CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType,
|
|
13
|
+
CrmTask, CrmTaskParticipant, CrmTypedDocumentRef, CrmTypedDocumentRefList,
|
|
14
|
+
CurrencyReference, Customer, DangerousGoodInformation,
|
|
15
|
+
DealNotificationEventConfig, DeliveryMethod, DeliveryTerm, DmsOutputStream,
|
|
16
|
+
Document, DocumentAdditionalInfo,
|
|
16
17
|
DocumentAdditionalInfo$IncomingGoodsTarget,
|
|
17
18
|
DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
|
|
18
19
|
DocumentAdditionalInfo$PrintedTranslatedField, DocumentAddress,
|
|
@@ -21,8 +22,8 @@ import {
|
|
|
21
22
|
DocumentLineComponent, DocumentLineComponentFabricationDetail,
|
|
22
23
|
DocumentLineFabricationBookedComponent, DocumentLineFabricationComponent,
|
|
23
24
|
DocumentLineFabricationDetail, DocumentLineFabricationDetailSerialNumber,
|
|
24
|
-
DocumentLinePosDetail, DocumentLineRef,
|
|
25
|
-
DocumentPosPayment, DocumentPriceModifier, DocumentRef,
|
|
25
|
+
DocumentLinePosDetail, DocumentLineRef, DocumentLineReturnDetail,
|
|
26
|
+
DocumentPosDetail, DocumentPosPayment, DocumentPriceModifier, DocumentRef,
|
|
26
27
|
DocumentShippingCost, DocumentTax, DocumentText,
|
|
27
28
|
DocumentTransferToStateRequest, DocumentTransferToTypeRequest,
|
|
28
29
|
DocumentType, DocumentTypeFollowUp, DocumentTypeLabel, DocumentTypeState,
|
|
@@ -553,27 +554,27 @@ export interface ArticleScriptingService {
|
|
|
553
554
|
*
|
|
554
555
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
555
556
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
556
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
557
557
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
558
558
|
*/
|
|
559
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
559
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
562
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
563
563
|
*
|
|
564
564
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
565
565
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
566
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
567
566
|
*/
|
|
568
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
567
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
569
568
|
|
|
570
569
|
/**
|
|
571
570
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
572
571
|
*
|
|
573
572
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
574
573
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
574
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
575
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
575
576
|
*/
|
|
576
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
577
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
577
578
|
|
|
578
579
|
/**
|
|
579
580
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -631,16 +632,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
631
632
|
* Führt einen Etikettendrucklauf aus
|
|
632
633
|
*
|
|
633
634
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
634
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
635
635
|
*/
|
|
636
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
636
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
637
637
|
|
|
638
638
|
/**
|
|
639
639
|
* Führt einen Etikettendrucklauf aus
|
|
640
640
|
*
|
|
641
641
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
642
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
642
643
|
*/
|
|
643
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
644
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
644
645
|
|
|
645
646
|
/**
|
|
646
647
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -706,21 +707,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
706
707
|
readById(id: number): Article;
|
|
707
708
|
|
|
708
709
|
/**
|
|
709
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
710
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
710
711
|
*
|
|
711
712
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
713
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
712
714
|
* @return {Article} Der gelesene Artikel
|
|
713
715
|
*/
|
|
714
|
-
readByNumber(articleNumber: string): Article;
|
|
716
|
+
readByNumber(articleNumber: string, languageCode: string): Article;
|
|
715
717
|
|
|
716
718
|
/**
|
|
717
|
-
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache
|
|
719
|
+
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
718
720
|
*
|
|
719
721
|
* @param {string} articleNumber - Eine Artikelnummer
|
|
720
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
721
722
|
* @return {Article} Der gelesene Artikel
|
|
722
723
|
*/
|
|
723
|
-
readByNumber(articleNumber: string
|
|
724
|
+
readByNumber(articleNumber: string): Article;
|
|
724
725
|
|
|
725
726
|
/**
|
|
726
727
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -1801,35 +1802,35 @@ export interface DocumentScriptingService {
|
|
|
1801
1802
|
* Löst einen Beleg auf
|
|
1802
1803
|
*
|
|
1803
1804
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1805
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1804
1806
|
* @return {Document} Der aufgelöste Beleg
|
|
1805
1807
|
*/
|
|
1806
|
-
dissolve(documentId: number): Document;
|
|
1808
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1807
1809
|
|
|
1808
1810
|
/**
|
|
1809
1811
|
* Löst einen Beleg auf
|
|
1810
1812
|
*
|
|
1811
1813
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1812
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1813
1814
|
* @return {Document} Der aufgelöste Beleg
|
|
1814
1815
|
*/
|
|
1815
|
-
dissolve(documentId: number
|
|
1816
|
+
dissolve(documentId: number): Document;
|
|
1816
1817
|
|
|
1817
1818
|
/**
|
|
1818
1819
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1819
1820
|
*
|
|
1820
1821
|
* @param {number} documentId - ID des Belegs
|
|
1822
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1821
1823
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1822
1824
|
*/
|
|
1823
|
-
edit(documentId: number): Document;
|
|
1825
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1824
1826
|
|
|
1825
1827
|
/**
|
|
1826
1828
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1827
1829
|
*
|
|
1828
1830
|
* @param {number} documentId - ID des Belegs
|
|
1829
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1830
1831
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1831
1832
|
*/
|
|
1832
|
-
edit(documentId: number
|
|
1833
|
+
edit(documentId: number): Document;
|
|
1833
1834
|
|
|
1834
1835
|
/**
|
|
1835
1836
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1940,16 +1941,16 @@ export interface DocumentScriptingService {
|
|
|
1940
1941
|
* Versendet einen Beleg per Mail
|
|
1941
1942
|
*
|
|
1942
1943
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1944
|
+
* @param {string} reportGroupIdentifier -
|
|
1943
1945
|
*/
|
|
1944
|
-
sendViaMail(documentId: number): void;
|
|
1946
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1945
1947
|
|
|
1946
1948
|
/**
|
|
1947
1949
|
* Versendet einen Beleg per Mail
|
|
1948
1950
|
*
|
|
1949
1951
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1950
|
-
* @param {string} reportGroupIdentifier -
|
|
1951
1952
|
*/
|
|
1952
|
-
sendViaMail(documentId: number
|
|
1953
|
+
sendViaMail(documentId: number): void;
|
|
1953
1954
|
|
|
1954
1955
|
/**
|
|
1955
1956
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2870,26 +2871,26 @@ export interface ScriptingServiceList {
|
|
|
2870
2871
|
*/
|
|
2871
2872
|
crmTaskService: CrmTaskScriptingService;
|
|
2872
2873
|
|
|
2873
|
-
/**
|
|
2874
|
-
* Service zur Verarbeitung von Shelf-Documents
|
|
2875
|
-
*/
|
|
2876
|
-
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2877
|
-
|
|
2878
2874
|
/**
|
|
2879
2875
|
* Service zur Verarbeitung von Accounts
|
|
2880
2876
|
*/
|
|
2881
2877
|
accountService: AccountScriptingService;
|
|
2882
2878
|
|
|
2883
2879
|
/**
|
|
2884
|
-
*
|
|
2880
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2885
2881
|
*/
|
|
2886
|
-
|
|
2882
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2887
2883
|
|
|
2888
2884
|
/**
|
|
2889
2885
|
* Verwaltung von Versandarten
|
|
2890
2886
|
*/
|
|
2891
2887
|
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2892
2888
|
|
|
2889
|
+
/**
|
|
2890
|
+
* Logging im Scripting
|
|
2891
|
+
*/
|
|
2892
|
+
logger: LoggingScriptingService;
|
|
2893
|
+
|
|
2893
2894
|
/**
|
|
2894
2895
|
* Service zur Verarbeitung von Deals
|
|
2895
2896
|
*/
|
|
@@ -2911,14 +2912,14 @@ export interface ScriptingServiceList {
|
|
|
2911
2912
|
textTemplateService: TextTemplateScriptingService;
|
|
2912
2913
|
|
|
2913
2914
|
/**
|
|
2914
|
-
*
|
|
2915
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2915
2916
|
*/
|
|
2916
|
-
|
|
2917
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2917
2918
|
|
|
2918
2919
|
/**
|
|
2919
|
-
*
|
|
2920
|
+
* Ausgabe-Support Methoden
|
|
2920
2921
|
*/
|
|
2921
|
-
|
|
2922
|
+
outputHelper: ScriptOutputHelperService;
|
|
2922
2923
|
|
|
2923
2924
|
/**
|
|
2924
2925
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2946,14 +2947,14 @@ export interface ScriptingServiceList {
|
|
|
2946
2947
|
utils: ScriptingUtilities;
|
|
2947
2948
|
|
|
2948
2949
|
/**
|
|
2949
|
-
* Service zur Verarbeitung von
|
|
2950
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
2950
2951
|
*/
|
|
2951
|
-
|
|
2952
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
2952
2953
|
|
|
2953
2954
|
/**
|
|
2954
|
-
* Service zur Verarbeitung von
|
|
2955
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
2955
2956
|
*/
|
|
2956
|
-
|
|
2957
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
2957
2958
|
|
|
2958
2959
|
/**
|
|
2959
2960
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -2981,14 +2982,14 @@ export interface ScriptingServiceList {
|
|
|
2981
2982
|
articleStorageService: ArticleStorageScriptingService;
|
|
2982
2983
|
|
|
2983
2984
|
/**
|
|
2984
|
-
*
|
|
2985
|
+
* Verwaltung von Zahlungsarten
|
|
2985
2986
|
*/
|
|
2986
|
-
|
|
2987
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
2987
2988
|
|
|
2988
2989
|
/**
|
|
2989
|
-
*
|
|
2990
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2990
2991
|
*/
|
|
2991
|
-
|
|
2992
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2992
2993
|
|
|
2993
2994
|
/**
|
|
2994
2995
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3001,14 +3002,14 @@ export interface ScriptingServiceList {
|
|
|
3001
3002
|
stockService: StockScriptingService;
|
|
3002
3003
|
|
|
3003
3004
|
/**
|
|
3004
|
-
* Service zur Verarbeitung von
|
|
3005
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3005
3006
|
*/
|
|
3006
|
-
|
|
3007
|
+
assetService: AssetScriptingService;
|
|
3007
3008
|
|
|
3008
3009
|
/**
|
|
3009
|
-
* Service zur Verarbeitung von
|
|
3010
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3010
3011
|
*/
|
|
3011
|
-
|
|
3012
|
+
variantValueService: VariantValueScriptingService;
|
|
3012
3013
|
|
|
3013
3014
|
/**
|
|
3014
3015
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
@@ -3113,18 +3114,18 @@ export interface ScriptingUtilities {
|
|
|
3113
3114
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3114
3115
|
*
|
|
3115
3116
|
* @param {object} value - Der Quell-Wert
|
|
3116
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
3117
3117
|
* @return {number} Ein BigDecimal-Wert
|
|
3118
3118
|
*/
|
|
3119
|
-
newBigDecimal(value: object
|
|
3119
|
+
newBigDecimal(value: object): number;
|
|
3120
3120
|
|
|
3121
3121
|
/**
|
|
3122
3122
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3123
3123
|
*
|
|
3124
3124
|
* @param {object} value - Der Quell-Wert
|
|
3125
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
3125
3126
|
* @return {number} Ein BigDecimal-Wert
|
|
3126
3127
|
*/
|
|
3127
|
-
newBigDecimal(value: object): number;
|
|
3128
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3128
3129
|
|
|
3129
3130
|
/**
|
|
3130
3131
|
* Erstellt eine API-Referenz
|
|
@@ -3174,24 +3175,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
3174
3175
|
deleteAttribution(attributionId: number): void;
|
|
3175
3176
|
|
|
3176
3177
|
/**
|
|
3177
|
-
* Lädt eine Datei von einer URL
|
|
3178
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3178
3179
|
*
|
|
3179
3180
|
* @param {string} url - Download-URL
|
|
3180
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3181
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3182
3181
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3183
3182
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3184
3183
|
*/
|
|
3185
|
-
downloadIntoDMS(url: string,
|
|
3184
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3186
3185
|
|
|
3187
3186
|
/**
|
|
3188
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
3187
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
3189
3188
|
*
|
|
3190
3189
|
* @param {string} url - Download-URL
|
|
3190
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
3191
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
3191
3192
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
3192
3193
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
3193
3194
|
*/
|
|
3194
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
3195
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
3195
3196
|
|
|
3196
3197
|
/**
|
|
3197
3198
|
* Findet ein Dokumentenart über ihren Schlüssel
|
|
@@ -4036,6 +4037,13 @@ export interface dtoFactory {
|
|
|
4036
4037
|
*/
|
|
4037
4038
|
createArticleSerialNumber(): ArticleSerialNumber;
|
|
4038
4039
|
|
|
4040
|
+
/**
|
|
4041
|
+
* Erstellt einen neue Instanz von AssemblyComponentReturnLine
|
|
4042
|
+
*
|
|
4043
|
+
* @return {AssemblyComponentReturnLine} Neue Instanz von AssemblyComponentReturnLine
|
|
4044
|
+
*/
|
|
4045
|
+
createAssemblyComponentReturnLine(): AssemblyComponentReturnLine;
|
|
4046
|
+
|
|
4039
4047
|
/**
|
|
4040
4048
|
* Erstellt einen neue Instanz von AssetType
|
|
4041
4049
|
*
|
|
@@ -4316,6 +4324,13 @@ export interface dtoFactory {
|
|
|
4316
4324
|
*/
|
|
4317
4325
|
createDocumentLineRef(): DocumentLineRef;
|
|
4318
4326
|
|
|
4327
|
+
/**
|
|
4328
|
+
* Erstellt einen neue Instanz von DocumentLineReturnDetail
|
|
4329
|
+
*
|
|
4330
|
+
* @return {DocumentLineReturnDetail} Neue Instanz von DocumentLineReturnDetail
|
|
4331
|
+
*/
|
|
4332
|
+
createDocumentLineReturnDetail(): DocumentLineReturnDetail;
|
|
4333
|
+
|
|
4319
4334
|
/**
|
|
4320
4335
|
* Erstellt einen neue Instanz von DocumentPosDetail
|
|
4321
4336
|
*
|