@vario-software/types 2026.29.4 → 2026.30.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.
@@ -15,7 +15,6 @@ import {
15
15
  DeliveryTerm, DmsOutputStream, Document, DocumentAdditionalInfo,
16
16
  DocumentAdditionalInfo$IncomingGoodsTarget,
17
17
  DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
18
- DocumentAdditionalInfo$OrderIntoPickingConvertResult,
19
18
  DocumentAdditionalInfo$PrintedTranslatedField, DocumentAddress,
20
19
  DocumentContractDetail, DocumentFabricationDetail, DocumentFinanceBooking,
21
20
  DocumentLine, DocumentLineBooking, DocumentLineCommission,
@@ -30,13 +29,14 @@ import {
30
29
  DummySerialNumberStockTransferApi, ECrmPriorityType,
31
30
  ECrmSpecialDocumentRefType, ECrmType, ELinebreakType,
32
31
  EScriptingAuthenticationType, EShelfDocumentDeletionState,
32
+ ExternalDocumentWithTaxesLine, ExternalDocumentWithTaxesRequest,
33
33
  FabricationComponentForProduction, FabricationDefectiveRequest,
34
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,
35
+ FabricationRevertRequest, FabricationSerialNumber, Group,
36
+ LocalizedTextTemplateContent, OpenItem, PaymentMethod, PaymentTerm,
37
+ PaymentTermRef, PickTrolley, PickTrolleyBox, Picklist, PicklistLine,
38
+ PicklistLineBooking, PicklistLineComponent, PicklistTemplate,
39
+ PicklistTemplate$DateRange, PicklistTemplate$OrderSelectionOptions,
40
40
  PicklistTemplate$PicklistCreationOptions,
41
41
  PicklistTemplate$PicklistProcessingOptions,
42
42
  PicklistTemplate$PicklistScript, PlainScriptingWriter,
@@ -55,9 +55,10 @@ import {
55
55
  ShelfTranslatableText, Stock, StockMovementManualApi, StockTransferApi,
56
56
  StockTransferResult, StorageBinRef, StringCollectorOutputStream,
57
57
  SubFileInfo, Supplier, TagDto, TaxIdForeignCountry, TextEnumCreate,
58
- TextEnumGet, TssSignature, UnitTypeReference, UpdateDocumentRequest, User,
59
- VariantAttribute, VariantAttributeListing, VariantDescription,
60
- VariantSchema, VariantValue, VariantValueListing, VariantValueReference
58
+ TextEnumGet, TextTemplate, TssSignature, UnitTypeReference,
59
+ UpdateDocumentRequest, User, VariantAttribute, VariantAttributeListing,
60
+ VariantDescription, VariantSchema, VariantValue, VariantValueListing,
61
+ VariantValueReference
61
62
  } from "./types"
62
63
 
63
64
  /**
@@ -1773,20 +1774,20 @@ export interface DocumentScriptingService {
1773
1774
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1774
1775
  *
1775
1776
  * @param {number} documentId - ID des zu kopierenden Belegs
1776
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1777
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1778
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1777
1779
  * @return {Document} Der kopierte Beleg
1778
1780
  */
1779
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1781
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1780
1782
 
1781
1783
  /**
1782
1784
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1783
1785
  *
1784
1786
  * @param {number} documentId - ID des zu kopierenden Belegs
1785
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1786
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1787
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1787
1788
  * @return {Document} Der kopierte Beleg
1788
1789
  */
1789
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1790
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1790
1791
 
1791
1792
  /**
1792
1793
  * Erstellt einen neuen Beleg
@@ -1800,35 +1801,35 @@ export interface DocumentScriptingService {
1800
1801
  * Löst einen Beleg auf
1801
1802
  *
1802
1803
  * @param {number} documentId - ID des aufzulösenden Belegs
1804
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1803
1805
  * @return {Document} Der aufgelöste Beleg
1804
1806
  */
1805
- dissolve(documentId: number): Document;
1807
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1806
1808
 
1807
1809
  /**
1808
1810
  * Löst einen Beleg auf
1809
1811
  *
1810
1812
  * @param {number} documentId - ID des aufzulösenden Belegs
1811
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1812
1813
  * @return {Document} Der aufgelöste Beleg
1813
1814
  */
1814
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1815
+ dissolve(documentId: number): Document;
1815
1816
 
1816
1817
  /**
1817
1818
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1818
1819
  *
1819
1820
  * @param {number} documentId - ID des Belegs
1820
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1821
1821
  * @return {Document} Der Beleg in Bearbeitung
1822
1822
  */
1823
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1823
+ edit(documentId: number): Document;
1824
1824
 
1825
1825
  /**
1826
1826
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1827
1827
  *
1828
1828
  * @param {number} documentId - ID des Belegs
1829
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1829
1830
  * @return {Document} Der Beleg in Bearbeitung
1830
1831
  */
1831
- edit(documentId: number): Document;
1832
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1832
1833
 
1833
1834
  /**
1834
1835
  * Erstellt ein AdditionalParameter-Objekt
@@ -1895,6 +1896,14 @@ export interface DocumentScriptingService {
1895
1896
  */
1896
1897
  getUpdateDocumentRequest(): UpdateDocumentRequest;
1897
1898
 
1899
+ /**
1900
+ * Importiert einen extern erstellten Beleg (Positionen und Steuern werden übernommen, END_EDITING und Festschreibung inklusive)
1901
+ *
1902
+ * @param {ExternalDocumentWithTaxesRequest} request - Details zum extern erstellten Beleg
1903
+ * @return {Document} Der importierte, festgeschriebene Beleg
1904
+ */
1905
+ importExternalDocument(request: ExternalDocumentWithTaxesRequest): Document;
1906
+
1898
1907
  /**
1899
1908
  * Druckt einen Beleg
1900
1909
  *
@@ -2861,26 +2870,26 @@ export interface ScriptingServiceList {
2861
2870
  */
2862
2871
  crmTaskService: CrmTaskScriptingService;
2863
2872
 
2864
- /**
2865
- * Service zur Verarbeitung von Shelf-Documents
2866
- */
2867
- shelfDocumentService: ShelfDocumentScriptingService;
2868
-
2869
2873
  /**
2870
2874
  * Service zur Verarbeitung von Accounts
2871
2875
  */
2872
2876
  accountService: AccountScriptingService;
2873
2877
 
2874
2878
  /**
2875
- * Verwaltung von Versandarten
2879
+ * Service zur Verarbeitung von Shelf-Documents
2876
2880
  */
2877
- deliveryMethodService: DeliveryMethodScriptingService;
2881
+ shelfDocumentService: ShelfDocumentScriptingService;
2878
2882
 
2879
2883
  /**
2880
2884
  * Logging im Scripting
2881
2885
  */
2882
2886
  logger: LoggingScriptingService;
2883
2887
 
2888
+ /**
2889
+ * Verwaltung von Versandarten
2890
+ */
2891
+ deliveryMethodService: DeliveryMethodScriptingService;
2892
+
2884
2893
  /**
2885
2894
  * Service zur Verarbeitung von Deals
2886
2895
  */
@@ -2897,15 +2906,20 @@ export interface ScriptingServiceList {
2897
2906
  productGroupService: ProductGroupScriptingService;
2898
2907
 
2899
2908
  /**
2900
- * Service zur Verarbeitung von Hauptwarengruppen im Skripten
2909
+ * Service zur Verarbeitung von TextTemplates in Skripten
2901
2910
  */
2902
- productMainGroupService: ProductMainGroupScriptingService;
2911
+ textTemplateService: TextTemplateScriptingService;
2903
2912
 
2904
2913
  /**
2905
2914
  * Ausgabe-Support Methoden
2906
2915
  */
2907
2916
  outputHelper: ScriptOutputHelperService;
2908
2917
 
2918
+ /**
2919
+ * Service zur Verarbeitung von Hauptwarengruppen im Skripten
2920
+ */
2921
+ productMainGroupService: ProductMainGroupScriptingService;
2922
+
2909
2923
  /**
2910
2924
  * Service zur Verarbeitung von Account-Listings in Skripten
2911
2925
  */
@@ -2932,14 +2946,14 @@ export interface ScriptingServiceList {
2932
2946
  utils: ScriptingUtilities;
2933
2947
 
2934
2948
  /**
2935
- * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
2949
+ * Service zur Verarbeitung von Variantenschemas in Skripten
2936
2950
  */
2937
- articleCustomerService: ArticleCustomerScriptingService;
2951
+ variantSchemaService: VariantSchemaScriptingService;
2938
2952
 
2939
2953
  /**
2940
- * Service zur Verarbeitung von Variantenschemas in Skripten
2954
+ * Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
2941
2955
  */
2942
- variantSchemaService: VariantSchemaScriptingService;
2956
+ articleCustomerService: ArticleCustomerScriptingService;
2943
2957
 
2944
2958
  /**
2945
2959
  * Service zur Verarbeitung von Artikeln im Skripten
@@ -2967,14 +2981,14 @@ export interface ScriptingServiceList {
2967
2981
  articleStorageService: ArticleStorageScriptingService;
2968
2982
 
2969
2983
  /**
2970
- * Verwaltung von Zahlungsarten
2984
+ * Anfragen von neuen Zählerkreis-Nummern
2971
2985
  */
2972
- paymentMethodService: PaymentMethodScriptingService;
2986
+ freeSequencerService: FreeSequencerScriptingService;
2973
2987
 
2974
2988
  /**
2975
- * Anfragen von neuen Zählerkreis-Nummern
2989
+ * Verwaltung von Zahlungsarten
2976
2990
  */
2977
- freeSequencerService: FreeSequencerScriptingService;
2991
+ paymentMethodService: PaymentMethodScriptingService;
2978
2992
 
2979
2993
  /**
2980
2994
  * Service zur Verarbeitung von AssetsTypen in Skripten
@@ -2987,14 +3001,14 @@ export interface ScriptingServiceList {
2987
3001
  stockService: StockScriptingService;
2988
3002
 
2989
3003
  /**
2990
- * Service zur Verarbeitung von Assets in Skripten
3004
+ * Service zur Verarbeitung von Variantenwerten in Skripten
2991
3005
  */
2992
- assetService: AssetScriptingService;
3006
+ variantValueService: VariantValueScriptingService;
2993
3007
 
2994
3008
  /**
2995
- * Service zur Verarbeitung von Variantenwerten in Skripten
3009
+ * Service zur Verarbeitung von Assets in Skripten
2996
3010
  */
2997
- variantValueService: VariantValueScriptingService;
3011
+ assetService: AssetScriptingService;
2998
3012
 
2999
3013
  /**
3000
3014
  * Service zur Verarbeitung von ScenarioActualValue
@@ -3099,18 +3113,18 @@ export interface ScriptingUtilities {
3099
3113
  * Erstellt eine neue BigDecimal-Instanz
3100
3114
  *
3101
3115
  * @param {object} value - Der Quell-Wert
3102
- * @param {number} scale - Anzahl Nachkommastellen
3103
3116
  * @return {number} Ein BigDecimal-Wert
3104
3117
  */
3105
- newBigDecimal(value: object, scale: number): number;
3118
+ newBigDecimal(value: object): number;
3106
3119
 
3107
3120
  /**
3108
3121
  * Erstellt eine neue BigDecimal-Instanz
3109
3122
  *
3110
3123
  * @param {object} value - Der Quell-Wert
3124
+ * @param {number} scale - Anzahl Nachkommastellen
3111
3125
  * @return {number} Ein BigDecimal-Wert
3112
3126
  */
3113
- newBigDecimal(value: object): number;
3127
+ newBigDecimal(value: object, scale: number): number;
3114
3128
 
3115
3129
  /**
3116
3130
  * Erstellt eine API-Referenz
@@ -3160,24 +3174,24 @@ export interface ShelfDocumentScriptingService {
3160
3174
  deleteAttribution(attributionId: number): void;
3161
3175
 
3162
3176
  /**
3163
- * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3177
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3164
3178
  *
3165
3179
  * @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'
3166
3182
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3167
3183
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3168
3184
  */
3169
- downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3185
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3170
3186
 
3171
3187
  /**
3172
- * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
3188
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
3173
3189
  *
3174
3190
  * @param {string} url - Download-URL
3175
- * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
3176
- * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
3177
3191
  * @param {string} documentTypeKey - Schlüssel der Dokumentenart
3178
3192
  * @return {ShelfDocument} Das neu erstellte DMS-Dokument
3179
3193
  */
3180
- downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
3194
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
3181
3195
 
3182
3196
  /**
3183
3197
  * Findet ein Dokumentenart über ihren Schlüssel
@@ -3384,6 +3398,82 @@ export interface TextEnumerationScriptingService {
3384
3398
  update(toUpdate: TextEnumGet): TextEnumGet;
3385
3399
  }
3386
3400
 
3401
+ /**
3402
+ * Service zur Verarbeitung von TextTemplates in Skripten
3403
+ */
3404
+ export interface TextTemplateScriptingService {
3405
+
3406
+ /**
3407
+ * Aktiviert ein DTO
3408
+ *
3409
+ * @param {number} idToActivate - ID vom zu aktivierenden DTO
3410
+ * @return {TextTemplate} Das aktivierte DTO
3411
+ */
3412
+ activate(idToActivate: number): TextTemplate;
3413
+
3414
+ /**
3415
+ * Persistiert ein DTO
3416
+ *
3417
+ * @param {TextTemplate} toCreate - Das zu persistierende DTO
3418
+ * @return {TextTemplate} Das persistierte DTO
3419
+ */
3420
+ create(toCreate: TextTemplate): TextTemplate;
3421
+
3422
+ /**
3423
+ * Deaktiviert ein DTO
3424
+ *
3425
+ * @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
3426
+ * @return {TextTemplate} Das deaktivierte DTO
3427
+ */
3428
+ deactivate(idToDeactivate: number): TextTemplate;
3429
+
3430
+ /**
3431
+ * Löscht eine Entity
3432
+ *
3433
+ * @param {number} id - ID der zu löschenden Entity
3434
+ */
3435
+ deleteById(id: number): void;
3436
+
3437
+ /**
3438
+ * Erstellt eine neue DTO-Instanz
3439
+ *
3440
+ * @return {TextTemplate} Die neue DTO-Instanz
3441
+ */
3442
+ getNewDto(): TextTemplate;
3443
+
3444
+ /**
3445
+ * Liest eine Liste von DTOs
3446
+ *
3447
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
3448
+ * @return {Array<TextTemplate>} Die Liste der gelesenen DTOs
3449
+ */
3450
+ readAllById(ids: Array<number>): Array<TextTemplate>;
3451
+
3452
+ /**
3453
+ * Liest ein DTO
3454
+ *
3455
+ * @param {number} id - ID vom zu lesenden DTO
3456
+ * @return {TextTemplate} Das gelesene DTO
3457
+ */
3458
+ readById(id: number): TextTemplate;
3459
+
3460
+ /**
3461
+ * Persistiert eine DTO
3462
+ *
3463
+ * @param {TextTemplate} toStore - Das zu persistierende DTO
3464
+ * @return {TextTemplate} Das persistierte DTO
3465
+ */
3466
+ store(toStore: TextTemplate): TextTemplate;
3467
+
3468
+ /**
3469
+ * Aktualisiert ein persistiertes DTO
3470
+ *
3471
+ * @param {TextTemplate} toUpdate - Die zu aktualisierende Entity
3472
+ * @return {TextTemplate} Das aktualisierte DTO
3473
+ */
3474
+ update(toUpdate: TextTemplate): TextTemplate;
3475
+ }
3476
+
3387
3477
  /**
3388
3478
  * Lesen von Benutzern und Benutzergruppen
3389
3479
  */
@@ -4324,6 +4414,20 @@ export interface dtoFactory {
4324
4414
  */
4325
4415
  createDummySerialNumberStockTransferApi(): DummySerialNumberStockTransferApi;
4326
4416
 
4417
+ /**
4418
+ * Erstellt einen neue Instanz von ExternalDocumentWithTaxesLine
4419
+ *
4420
+ * @return {ExternalDocumentWithTaxesLine} Neue Instanz von ExternalDocumentWithTaxesLine
4421
+ */
4422
+ createExternalDocumentWithTaxesLine(): ExternalDocumentWithTaxesLine;
4423
+
4424
+ /**
4425
+ * Erstellt einen neue Instanz von ExternalDocumentWithTaxesRequest
4426
+ *
4427
+ * @return {ExternalDocumentWithTaxesRequest} Neue Instanz von ExternalDocumentWithTaxesRequest
4428
+ */
4429
+ createExternalDocumentWithTaxesRequest(): ExternalDocumentWithTaxesRequest;
4430
+
4327
4431
  /**
4328
4432
  * Erstellt einen neue Instanz von FabricationComponentForProduction
4329
4433
  *
@@ -4388,18 +4492,18 @@ export interface dtoFactory {
4388
4492
  createIncomingGoodsTargetOfLine(): DocumentAdditionalInfo$IncomingGoodsTargetOfLine;
4389
4493
 
4390
4494
  /**
4391
- * Erstellt einen neue Instanz von Article$Metric
4495
+ * Erstellt einen neue Instanz von LocalizedTextTemplateContent
4392
4496
  *
4393
- * @return {Article$Metric} Neue Instanz von Article$Metric
4497
+ * @return {LocalizedTextTemplateContent} Neue Instanz von LocalizedTextTemplateContent
4394
4498
  */
4395
- createMetric(): Article$Metric;
4499
+ createLocalizedTextTemplateContent(): LocalizedTextTemplateContent;
4396
4500
 
4397
4501
  /**
4398
- * Erstellt einen neue Instanz von DocumentAdditionalInfo$OrderIntoPickingConvertResult
4502
+ * Erstellt einen neue Instanz von Article$Metric
4399
4503
  *
4400
- * @return {DocumentAdditionalInfo$OrderIntoPickingConvertResult} Neue Instanz von DocumentAdditionalInfo$OrderIntoPickingConvertResult
4504
+ * @return {Article$Metric} Neue Instanz von Article$Metric
4401
4505
  */
4402
- createOrderIntoPickingConvertResult(): DocumentAdditionalInfo$OrderIntoPickingConvertResult;
4506
+ createMetric(): Article$Metric;
4403
4507
 
4404
4508
  /**
4405
4509
  * Erstellt einen neue Instanz von PicklistTemplate$OrderSelectionOptions