@vario-software/types 2026.26.3 → 2026.27.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 +4402 -1712
- package/scripting/eav_types.d.ts +6 -0
- package/scripting/services.d.ts +198 -22
- package/scripting/types.d.ts +614 -409
package/scripting/eav_types.d.ts
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
Account, AccountAddress, AccountBankdetail, AccountListing,
|
|
3
3
|
AccountLoanValue, AccountManufacturer, AccountManufacturerDescription,
|
|
4
4
|
AccountPerson, AccountRelation, AdditionalParameter, ApiCreatableReference,
|
|
5
|
-
ApiObjectReference, Article, Article$Metric,
|
|
5
|
+
ApiObjectReference, Article, Article$Metric, ArticleAssetInformation,
|
|
6
6
|
ArticleAvailabilityDetermination, ArticleCustomer, ArticleIdentifier,
|
|
7
7
|
ArticleListing, ArticlePrintLabelSettings, ArticleSerialNumber,
|
|
8
|
-
ArticleStorage, ArticleSupplier, BulkTransferRequestApi,
|
|
8
|
+
ArticleStorage, ArticleSupplier, Asset, AssetType, BulkTransferRequestApi,
|
|
9
9
|
BulkTransferResult, Contact, CountryReference, CreateNewDocumentRequest,
|
|
10
10
|
CrmActivity, CrmActivityType, CrmChecklistItem, CrmDeal, CrmDealTopic,
|
|
11
11
|
CrmObjectRef, CrmParticipant, CrmPriority, CrmProject, CrmReference,
|
|
@@ -890,6 +890,158 @@ export interface ArticleSupplierScriptingService {
|
|
|
890
890
|
update(toUpdate: ArticleSupplier): ArticleSupplier;
|
|
891
891
|
}
|
|
892
892
|
|
|
893
|
+
/**
|
|
894
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
895
|
+
*/
|
|
896
|
+
export interface AssetScriptingService {
|
|
897
|
+
|
|
898
|
+
/**
|
|
899
|
+
* Aktiviert ein DTO
|
|
900
|
+
*
|
|
901
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
902
|
+
* @return {Asset} Das aktivierte DTO
|
|
903
|
+
*/
|
|
904
|
+
activate(idToActivate: number): Asset;
|
|
905
|
+
|
|
906
|
+
/**
|
|
907
|
+
* Persistiert ein DTO
|
|
908
|
+
*
|
|
909
|
+
* @param {Asset} toCreate - Das zu persistierende DTO
|
|
910
|
+
* @return {Asset} Das persistierte DTO
|
|
911
|
+
*/
|
|
912
|
+
create(toCreate: Asset): Asset;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* Deaktiviert ein DTO
|
|
916
|
+
*
|
|
917
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
918
|
+
* @return {Asset} Das deaktivierte DTO
|
|
919
|
+
*/
|
|
920
|
+
deactivate(idToDeactivate: number): Asset;
|
|
921
|
+
|
|
922
|
+
/**
|
|
923
|
+
* Löscht eine Entity
|
|
924
|
+
*
|
|
925
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
926
|
+
*/
|
|
927
|
+
deleteById(id: number): void;
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Erstellt eine neue DTO-Instanz
|
|
931
|
+
*
|
|
932
|
+
* @return {Asset} Die neue DTO-Instanz
|
|
933
|
+
*/
|
|
934
|
+
getNewDto(): Asset;
|
|
935
|
+
|
|
936
|
+
/**
|
|
937
|
+
* Liest eine Liste von DTOs
|
|
938
|
+
*
|
|
939
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
940
|
+
* @return {Array<Asset>} Die Liste der gelesenen DTOs
|
|
941
|
+
*/
|
|
942
|
+
readAllById(ids: Array<number>): Array<Asset>;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* Liest ein DTO
|
|
946
|
+
*
|
|
947
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
948
|
+
* @return {Asset} Das gelesene DTO
|
|
949
|
+
*/
|
|
950
|
+
readById(id: number): Asset;
|
|
951
|
+
|
|
952
|
+
/**
|
|
953
|
+
* Persistiert eine DTO
|
|
954
|
+
*
|
|
955
|
+
* @param {Asset} toStore - Das zu persistierende DTO
|
|
956
|
+
* @return {Asset} Das persistierte DTO
|
|
957
|
+
*/
|
|
958
|
+
store(toStore: Asset): Asset;
|
|
959
|
+
|
|
960
|
+
/**
|
|
961
|
+
* Aktualisiert ein persistiertes DTO
|
|
962
|
+
*
|
|
963
|
+
* @param {Asset} toUpdate - Die zu aktualisierende Entity
|
|
964
|
+
* @return {Asset} Das aktualisierte DTO
|
|
965
|
+
*/
|
|
966
|
+
update(toUpdate: Asset): Asset;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
971
|
+
*/
|
|
972
|
+
export interface AssetTypeScriptingService {
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* Aktiviert ein DTO
|
|
976
|
+
*
|
|
977
|
+
* @param {number} idToActivate - ID vom zu aktivierenden DTO
|
|
978
|
+
* @return {AssetType} Das aktivierte DTO
|
|
979
|
+
*/
|
|
980
|
+
activate(idToActivate: number): AssetType;
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* Persistiert ein DTO
|
|
984
|
+
*
|
|
985
|
+
* @param {AssetType} toCreate - Das zu persistierende DTO
|
|
986
|
+
* @return {AssetType} Das persistierte DTO
|
|
987
|
+
*/
|
|
988
|
+
create(toCreate: AssetType): AssetType;
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Deaktiviert ein DTO
|
|
992
|
+
*
|
|
993
|
+
* @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
|
|
994
|
+
* @return {AssetType} Das deaktivierte DTO
|
|
995
|
+
*/
|
|
996
|
+
deactivate(idToDeactivate: number): AssetType;
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* Löscht eine Entity
|
|
1000
|
+
*
|
|
1001
|
+
* @param {number} id - ID der zu löschenden Entity
|
|
1002
|
+
*/
|
|
1003
|
+
deleteById(id: number): void;
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* Erstellt eine neue DTO-Instanz
|
|
1007
|
+
*
|
|
1008
|
+
* @return {AssetType} Die neue DTO-Instanz
|
|
1009
|
+
*/
|
|
1010
|
+
getNewDto(): AssetType;
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* Liest eine Liste von DTOs
|
|
1014
|
+
*
|
|
1015
|
+
* @param {Array<number>} ids - Die Liste der gelesenen DTOs
|
|
1016
|
+
* @return {Array<AssetType>} Die Liste der gelesenen DTOs
|
|
1017
|
+
*/
|
|
1018
|
+
readAllById(ids: Array<number>): Array<AssetType>;
|
|
1019
|
+
|
|
1020
|
+
/**
|
|
1021
|
+
* Liest ein DTO
|
|
1022
|
+
*
|
|
1023
|
+
* @param {number} id - ID vom zu lesenden DTO
|
|
1024
|
+
* @return {AssetType} Das gelesene DTO
|
|
1025
|
+
*/
|
|
1026
|
+
readById(id: number): AssetType;
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* Persistiert eine DTO
|
|
1030
|
+
*
|
|
1031
|
+
* @param {AssetType} toStore - Das zu persistierende DTO
|
|
1032
|
+
* @return {AssetType} Das persistierte DTO
|
|
1033
|
+
*/
|
|
1034
|
+
store(toStore: AssetType): AssetType;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Aktualisiert ein persistiertes DTO
|
|
1038
|
+
*
|
|
1039
|
+
* @param {AssetType} toUpdate - Die zu aktualisierende Entity
|
|
1040
|
+
* @return {AssetType} Das aktualisierte DTO
|
|
1041
|
+
*/
|
|
1042
|
+
update(toUpdate: AssetType): AssetType;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
893
1045
|
/**
|
|
894
1046
|
* Service zur Verarbeitung von CRM-Aktivitäten
|
|
895
1047
|
*/
|
|
@@ -1602,18 +1754,18 @@ export interface DocumentScriptingService {
|
|
|
1602
1754
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1603
1755
|
*
|
|
1604
1756
|
* @param {number} documentId - ID des Belegs
|
|
1605
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1606
1757
|
* @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
|
|
1607
1758
|
*/
|
|
1608
|
-
cancel(documentId: number
|
|
1759
|
+
cancel(documentId: number): Document;
|
|
1609
1760
|
|
|
1610
1761
|
/**
|
|
1611
1762
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1612
1763
|
*
|
|
1613
1764
|
* @param {number} documentId - ID des Belegs
|
|
1765
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1614
1766
|
* @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
|
|
1615
1767
|
*/
|
|
1616
|
-
cancel(documentId: number): Document;
|
|
1768
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1617
1769
|
|
|
1618
1770
|
/**
|
|
1619
1771
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
@@ -1760,18 +1912,18 @@ export interface DocumentScriptingService {
|
|
|
1760
1912
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1761
1913
|
*
|
|
1762
1914
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1763
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1764
1915
|
* @return {Document} Der gespeicherte Beleg
|
|
1765
1916
|
*/
|
|
1766
|
-
save(documentId: number
|
|
1917
|
+
save(documentId: number): Document;
|
|
1767
1918
|
|
|
1768
1919
|
/**
|
|
1769
1920
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
1770
1921
|
*
|
|
1771
1922
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
1923
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1772
1924
|
* @return {Document} Der gespeicherte Beleg
|
|
1773
1925
|
*/
|
|
1774
|
-
save(documentId: number): Document;
|
|
1926
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1775
1927
|
|
|
1776
1928
|
/**
|
|
1777
1929
|
* Versendet einen Beleg per Mail
|
|
@@ -2678,14 +2830,14 @@ export interface ScriptingServiceList {
|
|
|
2678
2830
|
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2679
2831
|
|
|
2680
2832
|
/**
|
|
2681
|
-
*
|
|
2833
|
+
* Logging im Scripting
|
|
2682
2834
|
*/
|
|
2683
|
-
|
|
2835
|
+
logger: LoggingScriptingService;
|
|
2684
2836
|
|
|
2685
2837
|
/**
|
|
2686
|
-
*
|
|
2838
|
+
* Verwaltung von Versandarten
|
|
2687
2839
|
*/
|
|
2688
|
-
|
|
2840
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2689
2841
|
|
|
2690
2842
|
/**
|
|
2691
2843
|
* Service zur Verarbeitung von Deals
|
|
@@ -2703,14 +2855,14 @@ export interface ScriptingServiceList {
|
|
|
2703
2855
|
productGroupService: ProductGroupScriptingService;
|
|
2704
2856
|
|
|
2705
2857
|
/**
|
|
2706
|
-
*
|
|
2858
|
+
* Ausgabe-Support Methoden
|
|
2707
2859
|
*/
|
|
2708
|
-
|
|
2860
|
+
outputHelper: ScriptOutputHelperService;
|
|
2709
2861
|
|
|
2710
2862
|
/**
|
|
2711
|
-
*
|
|
2863
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
2712
2864
|
*/
|
|
2713
|
-
|
|
2865
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
2714
2866
|
|
|
2715
2867
|
/**
|
|
2716
2868
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -2733,14 +2885,14 @@ export interface ScriptingServiceList {
|
|
|
2733
2885
|
utils: ScriptingUtilities;
|
|
2734
2886
|
|
|
2735
2887
|
/**
|
|
2736
|
-
* Service zur Verarbeitung von
|
|
2888
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
2737
2889
|
*/
|
|
2738
|
-
|
|
2890
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
2739
2891
|
|
|
2740
2892
|
/**
|
|
2741
|
-
* Service zur Verarbeitung von
|
|
2893
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
2742
2894
|
*/
|
|
2743
|
-
|
|
2895
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
2744
2896
|
|
|
2745
2897
|
/**
|
|
2746
2898
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -2767,15 +2919,20 @@ export interface ScriptingServiceList {
|
|
|
2767
2919
|
*/
|
|
2768
2920
|
articleStorageService: ArticleStorageScriptingService;
|
|
2769
2921
|
|
|
2922
|
+
/**
|
|
2923
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
2924
|
+
*/
|
|
2925
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
2926
|
+
|
|
2770
2927
|
/**
|
|
2771
2928
|
* Verwaltung von Zahlungsarten
|
|
2772
2929
|
*/
|
|
2773
2930
|
paymentMethodService: PaymentMethodScriptingService;
|
|
2774
2931
|
|
|
2775
2932
|
/**
|
|
2776
|
-
*
|
|
2933
|
+
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
2777
2934
|
*/
|
|
2778
|
-
|
|
2935
|
+
assetTypeService: AssetTypeScriptingService;
|
|
2779
2936
|
|
|
2780
2937
|
/**
|
|
2781
2938
|
* Service zur Bestandsabfrage und Lagerbuchung in Skripten
|
|
@@ -2787,6 +2944,11 @@ export interface ScriptingServiceList {
|
|
|
2787
2944
|
*/
|
|
2788
2945
|
variantValueService: VariantValueScriptingService;
|
|
2789
2946
|
|
|
2947
|
+
/**
|
|
2948
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
2949
|
+
*/
|
|
2950
|
+
assetService: AssetScriptingService;
|
|
2951
|
+
|
|
2790
2952
|
/**
|
|
2791
2953
|
* Service zur Verarbeitung von ScenarioActualValue
|
|
2792
2954
|
*/
|
|
@@ -3684,6 +3846,13 @@ export interface dtoFactory {
|
|
|
3684
3846
|
*/
|
|
3685
3847
|
createArticle(): Article;
|
|
3686
3848
|
|
|
3849
|
+
/**
|
|
3850
|
+
* Erstellt einen neue Instanz von ArticleAssetInformation
|
|
3851
|
+
*
|
|
3852
|
+
* @return {ArticleAssetInformation} Neue Instanz von ArticleAssetInformation
|
|
3853
|
+
*/
|
|
3854
|
+
createArticleAssetInformation(): ArticleAssetInformation;
|
|
3855
|
+
|
|
3687
3856
|
/**
|
|
3688
3857
|
* Erstellt einen neue Instanz von ArticleAvailabilityDetermination
|
|
3689
3858
|
*
|
|
@@ -3712,6 +3881,13 @@ export interface dtoFactory {
|
|
|
3712
3881
|
*/
|
|
3713
3882
|
createArticleSerialNumber(): ArticleSerialNumber;
|
|
3714
3883
|
|
|
3884
|
+
/**
|
|
3885
|
+
* Erstellt einen neue Instanz von AssetType
|
|
3886
|
+
*
|
|
3887
|
+
* @return {AssetType} Neue Instanz von AssetType
|
|
3888
|
+
*/
|
|
3889
|
+
createAssetType(): AssetType;
|
|
3890
|
+
|
|
3715
3891
|
/**
|
|
3716
3892
|
* Erstellt einen neue Instanz von BulkTransferRequestApi
|
|
3717
3893
|
*
|