@vario-software/types 2026.17.3 → 2026.18.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 +49 -7
- package/scripting/services.d.ts +59 -16
- package/scripting/types.d.ts +317 -312
package/package.json
CHANGED
package/schema/erp.d.ts
CHANGED
|
@@ -77909,8 +77909,6 @@ export interface components {
|
|
|
77909
77909
|
/** @description Für welchen Import gilt dieser Regelsatz */
|
|
77910
77910
|
importModuleKey?: string;
|
|
77911
77911
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
77912
|
-
/** @description Bei JSON-Import: Ab welchem Pfad beginnen die Import-Daten? */
|
|
77913
|
-
jsonRoot?: string;
|
|
77914
77912
|
/** @description Eindeutiges Label */
|
|
77915
77913
|
label?: string;
|
|
77916
77914
|
/**
|
|
@@ -77922,6 +77920,8 @@ export interface components {
|
|
|
77922
77920
|
parameters?: components["schemas"]["common-data_import-ImportMappingRuleSetParameter"][];
|
|
77923
77921
|
/** @description Nur für CSV: Zeichen um ein Textfeld zu quoten (i.d.R. ' oder ") */
|
|
77924
77922
|
quotingChar?: string;
|
|
77923
|
+
/** @description Bei JSON- und XML-Import: Ab welchem Pfad beginnen die Import-Daten? */
|
|
77924
|
+
root?: string;
|
|
77925
77925
|
/** @description Mapping-Regeln */
|
|
77926
77926
|
rules?: components["schemas"]["common-data_import-ImportMappingRule"][];
|
|
77927
77927
|
/** @description Falls Mode == SCRIPT: auszuführendes Skript. Nur Skript oder Skript-Modul darf gesetzt sein */
|
|
@@ -79571,6 +79571,11 @@ export interface components {
|
|
|
79571
79571
|
};
|
|
79572
79572
|
"common-user-MeResponse": {
|
|
79573
79573
|
company?: components["schemas"]["common-user-MyCompany"];
|
|
79574
|
+
/**
|
|
79575
|
+
* Format: int64
|
|
79576
|
+
* @description Aktuelle Tenant-ID
|
|
79577
|
+
*/
|
|
79578
|
+
readonly tenantId?: number;
|
|
79574
79579
|
user?: components["schemas"]["common-user-User"];
|
|
79575
79580
|
};
|
|
79576
79581
|
/** @description Meine Adresse */
|
|
@@ -88965,6 +88970,11 @@ export interface components {
|
|
|
88965
88970
|
* @description Vorlage zum Erstellen eines Artikel
|
|
88966
88971
|
*/
|
|
88967
88972
|
createTemplateId?: number;
|
|
88973
|
+
/**
|
|
88974
|
+
* @description Definiert, ob und wie ein Artikel per Streckengeschäft verkauft werden darf
|
|
88975
|
+
* @enum {string}
|
|
88976
|
+
*/
|
|
88977
|
+
dropShippingPolicy?: "ANY" | "DROP_SHIPPING" | "STORAGE" | "STORAGE_WITH_FALLBACK_TO_DROP_SHIPPING";
|
|
88968
88978
|
/** @description Bezeichnung */
|
|
88969
88979
|
name?: string;
|
|
88970
88980
|
/** @description Artikel-Nummer (nicht, wenn es ein Gebinde ist und ein Produkt angegeben ist */
|
|
@@ -89184,6 +89194,11 @@ export interface components {
|
|
|
89184
89194
|
modifierType?: "DISCOUNT" | "SURCHARGE";
|
|
89185
89195
|
/** @description Wert des Rabatts */
|
|
89186
89196
|
modifierValue?: number;
|
|
89197
|
+
/**
|
|
89198
|
+
* @description Typ von Werten
|
|
89199
|
+
* @enum {string}
|
|
89200
|
+
*/
|
|
89201
|
+
modifierValueType?: "PERCENT" | "FIX";
|
|
89187
89202
|
priceGroupRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
89188
89203
|
productGroupRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
89189
89204
|
/**
|
|
@@ -89208,11 +89223,6 @@ export interface components {
|
|
|
89208
89223
|
* @description Gültig bis
|
|
89209
89224
|
*/
|
|
89210
89225
|
validUntil?: string;
|
|
89211
|
-
/**
|
|
89212
|
-
* @description Typ von Werten
|
|
89213
|
-
* @enum {string}
|
|
89214
|
-
*/
|
|
89215
|
-
valueType?: "PERCENT" | "FIX";
|
|
89216
89226
|
/** @description Version Identifier for this Object (for PUT) */
|
|
89217
89227
|
version?: string;
|
|
89218
89228
|
};
|
|
@@ -89690,6 +89700,8 @@ export interface components {
|
|
|
89690
89700
|
readonly quantityInPicking?: number;
|
|
89691
89701
|
/** @description Bestand im Lager */
|
|
89692
89702
|
readonly quantityInStock?: number;
|
|
89703
|
+
/** @description Meldebestand */
|
|
89704
|
+
reorderPoint?: number;
|
|
89693
89705
|
/** @description Nachschub ab */
|
|
89694
89706
|
replenishmentFrom?: number;
|
|
89695
89707
|
/** @description Nachschub auf */
|
|
@@ -89794,6 +89806,11 @@ export interface components {
|
|
|
89794
89806
|
stocks?: components["schemas"]["erp-stock-StockTransferResult"][];
|
|
89795
89807
|
};
|
|
89796
89808
|
"erp-stock-OrderProposal": {
|
|
89809
|
+
/**
|
|
89810
|
+
* Format: int32
|
|
89811
|
+
* @description Stichtag-Einschränkung für die Reservierungsberücksichtigung in Tagen
|
|
89812
|
+
*/
|
|
89813
|
+
cutOffForOrderReservationRecognitionInDays?: number;
|
|
89797
89814
|
givenSupplierAccountRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
89798
89815
|
/** @description Unique identifier of the Object */
|
|
89799
89816
|
id?: string;
|
|
@@ -89803,6 +89820,11 @@ export interface components {
|
|
|
89803
89820
|
* @enum {string}
|
|
89804
89821
|
*/
|
|
89805
89822
|
needsAssessmentPreference: "MINIMUM_TARGET_STOCK" | "SALES";
|
|
89823
|
+
/**
|
|
89824
|
+
* @description Nur Vorkasse-Reservierungen beachtet
|
|
89825
|
+
* @default false
|
|
89826
|
+
*/
|
|
89827
|
+
onlyPrePaymentReservations: boolean;
|
|
89806
89828
|
/** @description Bestellvorschlag-Lieferanten-Beziehungen */
|
|
89807
89829
|
orderProposalSuppliers?: components["schemas"]["erp-stock-OrderProposalSupplier"][];
|
|
89808
89830
|
/**
|
|
@@ -89816,6 +89838,11 @@ export interface components {
|
|
|
89816
89838
|
*/
|
|
89817
89839
|
processed: boolean;
|
|
89818
89840
|
purchaseOrderStorageRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
89841
|
+
/**
|
|
89842
|
+
* @description Artikel mit Bedarfsermittlung nur auf Reservierungsbasis berücksichtigen
|
|
89843
|
+
* @default false
|
|
89844
|
+
*/
|
|
89845
|
+
recognizeArticlesWithNeedsAssessmentOnlyOnReservationBasis: boolean;
|
|
89819
89846
|
/**
|
|
89820
89847
|
* @description Soll bestellter Lagerbestand von Bestellmenge abgezogen werden
|
|
89821
89848
|
* @default false
|
|
@@ -89846,6 +89873,11 @@ export interface components {
|
|
|
89846
89873
|
};
|
|
89847
89874
|
/** @description Infos zur Erzeugung eines Bestellvorschlags */
|
|
89848
89875
|
"erp-stock-OrderProposalGenerateRequest": {
|
|
89876
|
+
/**
|
|
89877
|
+
* Format: int32
|
|
89878
|
+
* @description Stichtag-Einschränkung für die Reservierungsberücksichtigung in Tagen
|
|
89879
|
+
*/
|
|
89880
|
+
cutOffForOrderReservationRecognitionInDays?: number;
|
|
89849
89881
|
/**
|
|
89850
89882
|
* Format: int64
|
|
89851
89883
|
* @description Template Vorlage
|
|
@@ -89866,6 +89898,11 @@ export interface components {
|
|
|
89866
89898
|
* @description Anzahl Tage für die bestellt werden soll (bei Bedarfsermittlung über Abgänge)
|
|
89867
89899
|
*/
|
|
89868
89900
|
numberOfDaysToOrderFor?: number;
|
|
89901
|
+
/**
|
|
89902
|
+
* @description Nur Vorkasse-Reservierungen beachten
|
|
89903
|
+
* @default false
|
|
89904
|
+
*/
|
|
89905
|
+
onlyPrePaymentReservations: boolean;
|
|
89869
89906
|
/**
|
|
89870
89907
|
* @description Anfrage statt Bestellung erzeugen
|
|
89871
89908
|
* @default false
|
|
@@ -89873,6 +89910,11 @@ export interface components {
|
|
|
89873
89910
|
priceRequestInsteadOfOrder: boolean;
|
|
89874
89911
|
/** @description IDs der Bestell-Lager, für das der Bestellvorschlag generiert werden sollen (leer=über alle Bestell-Lager) */
|
|
89875
89912
|
purchaseStorageIds?: number[];
|
|
89913
|
+
/**
|
|
89914
|
+
* @description Artikel mit Bedarfsermittlung nur auf Reservierungsbasis berücksichtigen
|
|
89915
|
+
* @default false
|
|
89916
|
+
*/
|
|
89917
|
+
recognizeArticlesWithNeedsAssessmentOnlyOnReservationBasis: boolean;
|
|
89876
89918
|
/**
|
|
89877
89919
|
* @description Bestellungen beachten für zu bestellende Menge
|
|
89878
89920
|
* @default false
|
package/scripting/services.d.ts
CHANGED
|
@@ -102,6 +102,15 @@ export interface AccountScriptingService {
|
|
|
102
102
|
*/
|
|
103
103
|
createPerson(accountId: number, person: AccountPerson): AccountPerson;
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* Erstellt eine Adressbeziehung
|
|
107
|
+
*
|
|
108
|
+
* @param {number} accountId - ID eines Accounts
|
|
109
|
+
* @param {AccountRelation} relation - Die zu erstellende Adressbeziehung
|
|
110
|
+
* @return {AccountRelation} Die erstellte Adressbeziehung
|
|
111
|
+
*/
|
|
112
|
+
createRelation(accountId: number, relation: AccountRelation): AccountRelation;
|
|
113
|
+
|
|
105
114
|
/**
|
|
106
115
|
* Deaktiviert ein DTO
|
|
107
116
|
*
|
|
@@ -141,6 +150,14 @@ export interface AccountScriptingService {
|
|
|
141
150
|
*/
|
|
142
151
|
deletePerson(accountId: number, personId: number): void;
|
|
143
152
|
|
|
153
|
+
/**
|
|
154
|
+
* Löscht eine Adressbeziehung
|
|
155
|
+
*
|
|
156
|
+
* @param {number} accountId - ID eines Accounts
|
|
157
|
+
* @param {number} relationId - ID einer Adressbeziehung
|
|
158
|
+
*/
|
|
159
|
+
deleteRelation(accountId: number, relationId: number): void;
|
|
160
|
+
|
|
144
161
|
/**
|
|
145
162
|
* Liest eine Adresse
|
|
146
163
|
*
|
|
@@ -199,6 +216,23 @@ export interface AccountScriptingService {
|
|
|
199
216
|
*/
|
|
200
217
|
getPersons(accountId: number): Array<AccountPerson>;
|
|
201
218
|
|
|
219
|
+
/**
|
|
220
|
+
* Liest eine Adressbeziehung
|
|
221
|
+
*
|
|
222
|
+
* @param {number} accountId - ID eines Accounts
|
|
223
|
+
* @param {number} relationId - ID einer Adressbeziehung
|
|
224
|
+
* @return {AccountRelation} Die gelesene Adressbeziehung
|
|
225
|
+
*/
|
|
226
|
+
getRelation(accountId: number, relationId: number): AccountRelation;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* Liefert die Adressbeziehungen eines Accounts
|
|
230
|
+
*
|
|
231
|
+
* @param {number} accountId - ID eines Accounts
|
|
232
|
+
* @return {Array<AccountRelation>} Liste der Adressbeziehungen
|
|
233
|
+
*/
|
|
234
|
+
getRelations(accountId: number): Array<AccountRelation>;
|
|
235
|
+
|
|
202
236
|
/**
|
|
203
237
|
* Liest eine Liste von DTOs
|
|
204
238
|
*
|
|
@@ -265,6 +299,15 @@ export interface AccountScriptingService {
|
|
|
265
299
|
* @return {AccountPerson} Der aktualisierte Ansprechpartner
|
|
266
300
|
*/
|
|
267
301
|
updatePerson(accountId: number, person: AccountPerson): AccountPerson;
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Aktualisiert eine Adressbeziehung
|
|
305
|
+
*
|
|
306
|
+
* @param {number} accountId - ID eines Accounts
|
|
307
|
+
* @param {AccountRelation} relation - Die zu aktualisierende Adressbeziehung
|
|
308
|
+
* @return {AccountRelation} Die aktualisierte Adressbeziehung
|
|
309
|
+
*/
|
|
310
|
+
updateRelation(accountId: number, relation: AccountRelation): AccountRelation;
|
|
268
311
|
}
|
|
269
312
|
|
|
270
313
|
/**
|
|
@@ -367,27 +410,27 @@ export interface ArticleScriptingService {
|
|
|
367
410
|
*
|
|
368
411
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
369
412
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
370
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
371
413
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
372
414
|
*/
|
|
373
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
415
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
374
416
|
|
|
375
417
|
/**
|
|
376
418
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
377
419
|
*
|
|
378
420
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
379
421
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
380
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
381
422
|
*/
|
|
382
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
423
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
383
424
|
|
|
384
425
|
/**
|
|
385
426
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
386
427
|
*
|
|
387
428
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
388
429
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
430
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
431
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
389
432
|
*/
|
|
390
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
433
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
391
434
|
|
|
392
435
|
/**
|
|
393
436
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -433,16 +476,16 @@ export interface ArticleScriptingService {
|
|
|
433
476
|
* Führt einen Etikettendrucklauf aus
|
|
434
477
|
*
|
|
435
478
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
436
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
437
479
|
*/
|
|
438
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
480
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
439
481
|
|
|
440
482
|
/**
|
|
441
483
|
* Führt einen Etikettendrucklauf aus
|
|
442
484
|
*
|
|
443
485
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
486
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
444
487
|
*/
|
|
445
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
488
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
446
489
|
|
|
447
490
|
/**
|
|
448
491
|
* Liefert die Einkaufsrabatte zu einem Artikel
|
|
@@ -1424,20 +1467,20 @@ export interface DocumentScriptingService {
|
|
|
1424
1467
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1425
1468
|
*
|
|
1426
1469
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1427
|
-
* @param {string}
|
|
1470
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1471
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1428
1472
|
* @return {Document} Der kopierte Beleg
|
|
1429
1473
|
*/
|
|
1430
|
-
copy(documentId: number,
|
|
1474
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1431
1475
|
|
|
1432
1476
|
/**
|
|
1433
1477
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1434
1478
|
*
|
|
1435
1479
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1436
|
-
* @param {string}
|
|
1437
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1480
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1438
1481
|
* @return {Document} Der kopierte Beleg
|
|
1439
1482
|
*/
|
|
1440
|
-
copy(documentId: number,
|
|
1483
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1441
1484
|
|
|
1442
1485
|
/**
|
|
1443
1486
|
* Erstellt einen neuen Beleg
|
|
@@ -2666,18 +2709,18 @@ export interface ScriptingUtilities {
|
|
|
2666
2709
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2667
2710
|
*
|
|
2668
2711
|
* @param {object} value - Der Quell-Wert
|
|
2669
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
2670
2712
|
* @return {number} Ein BigDecimal-Wert
|
|
2671
2713
|
*/
|
|
2672
|
-
newBigDecimal(value: object
|
|
2714
|
+
newBigDecimal(value: object): number;
|
|
2673
2715
|
|
|
2674
2716
|
/**
|
|
2675
2717
|
* Erstellt eine neue BigDecimal-Instanz
|
|
2676
2718
|
*
|
|
2677
2719
|
* @param {object} value - Der Quell-Wert
|
|
2720
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
2678
2721
|
* @return {number} Ein BigDecimal-Wert
|
|
2679
2722
|
*/
|
|
2680
|
-
newBigDecimal(value: object): number;
|
|
2723
|
+
newBigDecimal(value: object, scale: number): number;
|
|
2681
2724
|
|
|
2682
2725
|
/**
|
|
2683
2726
|
* Erstellt eine API-Referenz
|