@vario-software/types 2026.12.5 → 2026.13.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.
@@ -1,45 +1,53 @@
1
1
  import {
2
- Account, AccountAddress, AccountLoanValue, AccountPerson, AccountRelation,
3
- AdditionalParameter, ApiCreatableReference, ApiObjectReference, Article,
4
- Article$Metric, ArticleAvailabilityDetermination, ArticleIdentifier,
5
- ArticleListing, ArticlePrintLabelSettings, ArticleSerialNumber,
6
- ArticleSupplier, Contact, CountryReference, CreateNewDocumentRequest,
7
- CrmActivity, CrmActivityType, CrmChecklistItem, CrmDeal, CrmDealTopic,
8
- CrmObjectRef, CrmParticipant, CrmPriority, CrmProject, CrmReference,
9
- CrmReminder, CrmState, CrmSubType, CrmTask, CrmTypedDocumentRef,
10
- CrmTypedDocumentRefList, Customer, DealNotificationEventConfig,
11
- DeliveryMethod, DeliveryTerm, Document, DocumentAdditionalInfo,
12
- DocumentAdditionalInfo$IncomingGoodsTarget,
2
+ Account, AccountAddress, AccountBankdetail, AccountLoanValue,
3
+ AccountPerson, AccountRelation, AdditionalParameter, ApiCreatableReference,
4
+ ApiObjectReference, Article, Article$Metric,
5
+ ArticleAvailabilityDetermination, ArticleIdentifier, ArticleListing,
6
+ ArticlePrintLabelSettings, ArticleSerialNumber, ArticleSupplier, Contact,
7
+ CountryReference, CreateNewDocumentRequest, CrmActivity, CrmActivityType,
8
+ CrmChecklistItem, CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant,
9
+ CrmPriority, CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType,
10
+ CrmTask, CrmTypedDocumentRef, CrmTypedDocumentRefList, Customer,
11
+ DealNotificationEventConfig, DeliveryMethod, DeliveryTerm, Document,
12
+ DocumentAdditionalInfo, DocumentAdditionalInfo$IncomingGoodsTarget,
13
13
  DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
14
14
  DocumentAdditionalInfo$OrderIntoPickingConvertResult,
15
15
  DocumentAdditionalInfo$PrintedTranslatedField, DocumentAddress,
16
16
  DocumentContractDetail, DocumentFabricationDetail, DocumentFinanceBooking,
17
17
  DocumentLine, DocumentLineBooking, DocumentLineCommission,
18
18
  DocumentLineComponent, DocumentLineComponentFabricationDetail,
19
- DocumentLineFabricationDetail, DocumentLinePosDetail, DocumentLineRef,
20
- DocumentPosDetail, DocumentPosPayment, DocumentPriceModifier, DocumentRef,
21
- DocumentShippingCost, DocumentTax, DocumentText,
22
- DocumentTransferToStateRequest, DocumentTransferToTypeRequest,
23
- DocumentType, DocumentTypeFollowUp, DocumentTypeLabel, DocumentTypeState,
24
- ECrmPriorityType, ECrmSpecialDocumentRefType, ECrmType, Group,
25
- PaymentMethod, PaymentTerm, PaymentTermRef, PickTrolley, PickTrolleyBox,
26
- Picklist, PicklistLine, PicklistLineBooking, PicklistLineComponent,
27
- PicklistTemplate, PicklistTemplate$DateRange,
19
+ DocumentLineFabricationBookedComponent, DocumentLineFabricationDetail,
20
+ DocumentLineFabricationDetailSerialNumber, DocumentLinePosDetail,
21
+ DocumentLineRef, DocumentPosDetail, DocumentPosPayment,
22
+ DocumentPriceModifier, DocumentRef, DocumentShippingCost, DocumentTax,
23
+ DocumentText, DocumentTransferToStateRequest,
24
+ DocumentTransferToTypeRequest, DocumentType, DocumentTypeFollowUp,
25
+ DocumentTypeLabel, DocumentTypeState, ECrmPriorityType,
26
+ ECrmSpecialDocumentRefType, ECrmType, EScriptingAuthenticationType,
27
+ EShelfDocumentDeletionState, FabricationComponentForProduction,
28
+ FabricationDefectiveRequest, FabricationProduceRequest,
29
+ FabricationRemainingComponent, FabricationRevertRequest,
30
+ FabricationSerialNumber, Group, PaymentMethod, PaymentTerm, PaymentTermRef,
31
+ PickTrolley, PickTrolleyBox, Picklist, PicklistLine, PicklistLineBooking,
32
+ PicklistLineComponent, PicklistTemplate, PicklistTemplate$DateRange,
28
33
  PicklistTemplate$OrderSelectionOptions,
29
34
  PicklistTemplate$PicklistCreationOptions,
30
35
  PicklistTemplate$PicklistProcessingOptions,
31
- PicklistTemplate$PicklistScript, PriceSelectionCriteria, ProductDiscount,
32
- ProductGroup, ProductMainGroup, ProductPrice, RequestDocument,
33
- RequestDocumentLine, RequestDocumentLineBooking,
34
- RequestDocumentLineCommission, RequestDocumentPriceModifier,
35
- RequestDocumentText, RevenueCalculation, SalesAgent, Scenario,
36
- ScenarioActualValue, ScenarioDimension, ScenarioDimensionValue,
37
- ScriptOutputRequest, ScriptingDate, ScriptingDateTime, ScriptingHttpClient,
38
- SequencerConfiguration, SequencerConfigurationDetail, ShelfDocument,
36
+ PicklistTemplate$PicklistScript, PriceSelectionCriteria, Product,
37
+ ProductDiscount, ProductGroup, ProductMainGroup, ProductPrice,
38
+ RequestDocument, RequestDocumentLine, RequestDocumentLineBooking,
39
+ RequestDocumentLineCommission, RequestDocumentLineFabricationDetail,
40
+ RequestDocumentPriceModifier, RequestDocumentText, RevenueCalculation,
41
+ SalesAgent, Scenario, ScenarioActualValue, ScenarioDimension,
42
+ ScenarioDimensionValue, ScriptOutputRequest, ScriptingDate,
43
+ ScriptingDateTime, SecureHttpClient, SequencerConfiguration,
44
+ SequencerConfigurationDetail, SerialNumberWithQuantityApi, ShelfDocument,
39
45
  ShelfDocumentAttribution, ShelfDocumentType, ShelfFile, ShelfFileMetaData,
40
46
  ShelfShare, ShelfTranslatableText, StorageBinRef, SubFileInfo, Supplier,
41
47
  TagDto, TaxIdForeignCountry, TextEnumCreate, TextEnumGet, TssSignature,
42
- UnitTypeReference, UpdateDocumentRequest, User
48
+ UnitTypeReference, UpdateDocumentRequest, User, VariantAttribute,
49
+ VariantAttributeListing, VariantDescription, VariantSchema, VariantValue,
50
+ VariantValueListing
43
51
  } from "./types"
44
52
 
45
53
  /**
@@ -72,6 +80,15 @@ export interface AccountScriptingService {
72
80
  */
73
81
  createAddress(accountId: number, address: AccountAddress): AccountAddress;
74
82
 
83
+ /**
84
+ * Erstellt ein Bankdetail
85
+ *
86
+ * @param {number} accountId - ID des Accounts
87
+ * @param {AccountBankdetail} bankdetail - anzulegendes Bankdetails
88
+ * @return {AccountBankdetail} erstelltes Bankdetail
89
+ */
90
+ createBankdetail(accountId: number, bankdetail: AccountBankdetail): AccountBankdetail;
91
+
75
92
  /**
76
93
  * Erstellt einen Ansprechpartner
77
94
  *
@@ -97,6 +114,14 @@ export interface AccountScriptingService {
97
114
  */
98
115
  deleteAddress(accountId: number, addressId: number): void;
99
116
 
117
+ /**
118
+ * Löscht ein Bankdetail
119
+ *
120
+ * @param {number} accountId - ID des Accounts
121
+ * @param {number} bankdetailId - ID des Bankdetails
122
+ */
123
+ deleteBankdetail(accountId: number, bankdetailId: number): void;
124
+
100
125
  /**
101
126
  * Löscht eine Entity
102
127
  *
@@ -129,6 +154,23 @@ export interface AccountScriptingService {
129
154
  */
130
155
  getAddresses(accountId: number): Array<AccountAddress>;
131
156
 
157
+ /**
158
+ * Liest ein Bankdetail
159
+ *
160
+ * @param {number} accountId - ID des Accounts
161
+ * @param {number} bankdetailId - ID eines Bankdetails
162
+ * @return {AccountBankdetail} Das geforderte Bankdetail
163
+ */
164
+ getBankdetail(accountId: number, bankdetailId: number): AccountBankdetail;
165
+
166
+ /**
167
+ * Liefert die Bankdetails eines Accounts
168
+ *
169
+ * @param {number} accountId - ID des Accounts
170
+ * @return {Array<AccountBankdetail>} Liste der Bankdetails
171
+ */
172
+ getBankdetails(accountId: number): Array<AccountBankdetail>;
173
+
132
174
  /**
133
175
  * Erstellt eine neue DTO-Instanz
134
176
  *
@@ -202,6 +244,15 @@ export interface AccountScriptingService {
202
244
  */
203
245
  updateAddress(accountId: number, address: AccountAddress): AccountAddress;
204
246
 
247
+ /**
248
+ * Aktualisiert ein Bankdetail
249
+ *
250
+ * @param {number} accountId - ID eines Accounts
251
+ * @param {AccountBankdetail} bankdetail - zu aktualisierendes Bankdetail
252
+ * @return {AccountBankdetail} aktualisiertes Bankdetail
253
+ */
254
+ updateBankdetail(accountId: number, bankdetail: AccountBankdetail): AccountBankdetail;
255
+
205
256
  /**
206
257
  * Aktualisiert einen Ansprechpartner
207
258
  *
@@ -322,17 +373,17 @@ export interface ArticleScriptingService {
322
373
  *
323
374
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
324
375
  * @param {number} articleId - ID des zu druckenden Artikels
325
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
326
376
  */
327
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
377
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
328
378
 
329
379
  /**
330
380
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
331
381
  *
332
382
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
333
383
  * @param {number} articleId - ID des zu druckenden Artikels
384
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
334
385
  */
335
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
386
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
336
387
 
337
388
  /**
338
389
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -453,21 +504,21 @@ export interface ArticleScriptingService {
453
504
  readById(id: number, languageCode: string): Article;
454
505
 
455
506
  /**
456
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
507
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
457
508
  *
458
509
  * @param {string} articleNumber - Eine Artikelnummer
459
- * @param {string} languageCode - Zu verwendende Sprache
460
510
  * @return {Article} Der gelesene Artikel
461
511
  */
462
- readByNumber(articleNumber: string, languageCode: string): Article;
512
+ readByNumber(articleNumber: string): Article;
463
513
 
464
514
  /**
465
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
515
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
466
516
  *
467
517
  * @param {string} articleNumber - Eine Artikelnummer
518
+ * @param {string} languageCode - Zu verwendende Sprache
468
519
  * @return {Article} Der gelesene Artikel
469
520
  */
470
- readByNumber(articleNumber: string): Article;
521
+ readByNumber(articleNumber: string, languageCode: string): Article;
471
522
 
472
523
  /**
473
524
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -1299,20 +1350,20 @@ export interface DocumentScriptingService {
1299
1350
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1300
1351
  *
1301
1352
  * @param {number} documentId - ID des zu kopierenden Belegs
1302
- * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1353
+ * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1354
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1303
1355
  * @return {Document} Der kopierte Beleg
1304
1356
  */
1305
- copy(documentId: number, targetDocumentTypeLabel: string): Document;
1357
+ copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1306
1358
 
1307
1359
  /**
1308
1360
  * Kopiert einen Beleg in die vorgegebene Ziel-Belegart
1309
1361
  *
1310
1362
  * @param {number} documentId - ID des zu kopierenden Belegs
1311
- * @param {string} targetDocumentType - Ziel-Belegart der Kopie
1312
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1363
+ * @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
1313
1364
  * @return {Document} Der kopierte Beleg
1314
1365
  */
1315
- copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
1366
+ copy(documentId: number, targetDocumentTypeLabel: string): Document;
1316
1367
 
1317
1368
  /**
1318
1369
  * Erstellt einen neuen Beleg
@@ -1326,35 +1377,35 @@ export interface DocumentScriptingService {
1326
1377
  * Löst einen Beleg auf
1327
1378
  *
1328
1379
  * @param {number} documentId - ID des aufzulösenden Belegs
1329
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1330
1380
  * @return {Document} Der aufgelöste Beleg
1331
1381
  */
1332
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1382
+ dissolve(documentId: number): Document;
1333
1383
 
1334
1384
  /**
1335
1385
  * Löst einen Beleg auf
1336
1386
  *
1337
1387
  * @param {number} documentId - ID des aufzulösenden Belegs
1388
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1338
1389
  * @return {Document} Der aufgelöste Beleg
1339
1390
  */
1340
- dissolve(documentId: number): Document;
1391
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1341
1392
 
1342
1393
  /**
1343
1394
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1344
1395
  *
1345
1396
  * @param {number} documentId - ID des Belegs
1397
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1346
1398
  * @return {Document} Der Beleg in Bearbeitung
1347
1399
  */
1348
- edit(documentId: number): Document;
1400
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1349
1401
 
1350
1402
  /**
1351
1403
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1352
1404
  *
1353
1405
  * @param {number} documentId - ID des Belegs
1354
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1355
1406
  * @return {Document} Der Beleg in Bearbeitung
1356
1407
  */
1357
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1408
+ edit(documentId: number): Document;
1358
1409
 
1359
1410
  /**
1360
1411
  * Erstellt ein AdditionalParameter-Objekt
@@ -1457,16 +1508,16 @@ export interface DocumentScriptingService {
1457
1508
  * Versendet einen Beleg per Mail
1458
1509
  *
1459
1510
  * @param {number} documentId - ID des zu versendenden Belegs
1511
+ * @param {string} reportGroupIdentifier -
1460
1512
  */
1461
- sendViaMail(documentId: number): void;
1513
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1462
1514
 
1463
1515
  /**
1464
1516
  * Versendet einen Beleg per Mail
1465
1517
  *
1466
1518
  * @param {number} documentId - ID des zu versendenden Belegs
1467
- * @param {string} reportGroupIdentifier -
1468
1519
  */
1469
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1520
+ sendViaMail(documentId: number): void;
1470
1521
 
1471
1522
  /**
1472
1523
  * Überführt einen Beleg in einen anderen Status
@@ -1533,28 +1584,28 @@ export interface FreeSequencerScriptingService {
1533
1584
  export interface HttpClientScriptingService {
1534
1585
 
1535
1586
  /**
1536
- * Erstellt eine neue Instanz vom ScriptingHttpClient ohne Authentifizierung
1587
+ * Erstellt eine neue Instanz vom HTTP-Client ohne Authentifizierung
1537
1588
  *
1538
- * @return {ScriptingHttpClient} ScriptingHttpClient ohne Authentifizierung
1589
+ * @return {SecureHttpClient} HTTP-Client ohne Authentifizierung
1539
1590
  */
1540
- createHttpClient(): ScriptingHttpClient;
1591
+ createHttpClient(): SecureHttpClient;
1541
1592
 
1542
1593
  /**
1543
- * Erstellt eine neue Instanz vom ScriptingHttpClient mit Basic Auth
1594
+ * Erstellt eine neue Instanz vom HTTP-Client mit Basic Auth
1544
1595
  *
1545
1596
  * @param {string} username - Benutzername
1546
1597
  * @param {string} password - Passwort
1547
- * @return {ScriptingHttpClient} ScriptingHttpClient mit Basic Auth
1598
+ * @return {SecureHttpClient} HTTP-Client mit Basic Auth
1548
1599
  */
1549
- createHttpClientWithBasicAuth(username: string, password: string): ScriptingHttpClient;
1600
+ createHttpClientWithBasicAuth(username: string, password: string): SecureHttpClient;
1550
1601
 
1551
1602
  /**
1552
- * Erstellt eine neue Instanz vom ScriptingHttpClient mit einem Bearer Token
1603
+ * Erstellt eine neue Instanz vom HTTP-Client mit einem Bearer Token
1553
1604
  *
1554
1605
  * @param {string} bearerToken - Bearer Token
1555
- * @return {ScriptingHttpClient} ScriptingHttpClient mit Bearer Authentifizierung
1606
+ * @return {SecureHttpClient} HTTP-Client mit Bearer Authentifizierung
1556
1607
  */
1557
- createHttpClientWithBearerAuth(bearerToken: string): ScriptingHttpClient;
1608
+ createHttpClientWithBearerAuth(bearerToken: string): SecureHttpClient;
1558
1609
  }
1559
1610
 
1560
1611
  /**
@@ -2163,6 +2214,36 @@ export interface ProductPriceScriptingService {
2163
2214
  updateSalesPrice(productPrice: ProductPrice): ProductPrice;
2164
2215
  }
2165
2216
 
2217
+ /**
2218
+ * Service zur Verarbeitung von Produkten in Skripten
2219
+ */
2220
+ export interface ProductScriptingService {
2221
+
2222
+ /**
2223
+ * Liest ein Produkt anhand einer Artikel-ID
2224
+ *
2225
+ * @param {number} articleId - ID eines zum Produkt gehörenden Artikels
2226
+ * @return {Product} Das gelesene Produkt
2227
+ */
2228
+ readByArticleId(articleId: number): Product;
2229
+
2230
+ /**
2231
+ * Liest ein Produkt anhand seiner ID
2232
+ *
2233
+ * @param {number} id - ID des zu lesenden Produkts
2234
+ * @return {Product} Das gelesene Produkt
2235
+ */
2236
+ readById(id: number): Product;
2237
+
2238
+ /**
2239
+ * Aktualisiert ein Produkt
2240
+ *
2241
+ * @param {Product} toUpdate - Das zu aktualisierende Produkt
2242
+ * @return {Product} Das aktualisierte Produkt
2243
+ */
2244
+ update(toUpdate: Product): Product;
2245
+ }
2246
+
2166
2247
  /**
2167
2248
  * Service zur Verarbeitung von ScenarioActualValue
2168
2249
  */
@@ -2294,14 +2375,14 @@ export interface ScriptingServiceList {
2294
2375
  textEnumerationService: TextEnumerationScriptingService;
2295
2376
 
2296
2377
  /**
2297
- * Service zur Verarbeitung von CRM-Aufgaben
2378
+ * Service zur Verarbeitung von Variantenattributen in Skripten
2298
2379
  */
2299
- crmTaskService: CrmTaskScriptingService;
2380
+ variantAttributeService: VariantAttributeScriptingService;
2300
2381
 
2301
2382
  /**
2302
- * Service zur Verarbeitung von Shelf-Documents
2383
+ * Service zur Verarbeitung von CRM-Aufgaben
2303
2384
  */
2304
- shelfDocumentService: ShelfDocumentScriptingService;
2385
+ crmTaskService: CrmTaskScriptingService;
2305
2386
 
2306
2387
  /**
2307
2388
  * Service zur Verarbeitung von Accounts
@@ -2309,35 +2390,45 @@ export interface ScriptingServiceList {
2309
2390
  accountService: AccountScriptingService;
2310
2391
 
2311
2392
  /**
2312
- * Logging im Scripting
2393
+ * Service zur Verarbeitung von Shelf-Documents
2313
2394
  */
2314
- logger: LoggingScriptingService;
2395
+ shelfDocumentService: ShelfDocumentScriptingService;
2315
2396
 
2316
2397
  /**
2317
2398
  * Verwaltung von Versandarten
2318
2399
  */
2319
2400
  deliveryMethodService: DeliveryMethodScriptingService;
2320
2401
 
2402
+ /**
2403
+ * Logging im Scripting
2404
+ */
2405
+ logger: LoggingScriptingService;
2406
+
2321
2407
  /**
2322
2408
  * Service zur Verarbeitung von Deals
2323
2409
  */
2324
2410
  crmDealService: CrmDealScriptingService;
2325
2411
 
2326
2412
  /**
2327
- * Service zur Verarbeitung von Warengruppen im Skripten
2413
+ * Service zur Verarbeitung von Produkten in Skripten
2328
2414
  */
2329
- productGroupService: ProductGroupScriptingService;
2415
+ productService: ProductScriptingService;
2330
2416
 
2331
2417
  /**
2332
- * Ausgabe-Support Methoden
2418
+ * Service zur Verarbeitung von Warengruppen im Skripten
2333
2419
  */
2334
- outputHelper: ScriptOutputHelperService;
2420
+ productGroupService: ProductGroupScriptingService;
2335
2421
 
2336
2422
  /**
2337
2423
  * Service zur Verarbeitung von Hauptwarengruppen im Skripten
2338
2424
  */
2339
2425
  productMainGroupService: ProductMainGroupScriptingService;
2340
2426
 
2427
+ /**
2428
+ * Ausgabe-Support Methoden
2429
+ */
2430
+ outputHelper: ScriptOutputHelperService;
2431
+
2341
2432
  /**
2342
2433
  * Erstellt DTOs zur Verwendung im Skript
2343
2434
  */
@@ -2353,6 +2444,11 @@ export interface ScriptingServiceList {
2353
2444
  */
2354
2445
  utils: ScriptingUtilities;
2355
2446
 
2447
+ /**
2448
+ * Service zur Verarbeitung von Variantenschemas in Skripten
2449
+ */
2450
+ variantSchemaService: VariantSchemaScriptingService;
2451
+
2356
2452
  /**
2357
2453
  * Service zur Verarbeitung von Artikeln im Skripten
2358
2454
  */
@@ -2369,15 +2465,25 @@ export interface ScriptingServiceList {
2369
2465
  articleListingService: ArticleListingScriptingService;
2370
2466
 
2371
2467
  /**
2372
- * Anfragen von neuen Zählerkreis-Nummern
2468
+ * Service zur Verarbeitung von Variantenattributwert-Listings in Skripten
2373
2469
  */
2374
- freeSequencerService: FreeSequencerScriptingService;
2470
+ variantValueListingService: VariantValueListingScriptingService;
2375
2471
 
2376
2472
  /**
2377
2473
  * Verwaltung von Zahlungsarten
2378
2474
  */
2379
2475
  paymentMethodService: PaymentMethodScriptingService;
2380
2476
 
2477
+ /**
2478
+ * Anfragen von neuen Zählerkreis-Nummern
2479
+ */
2480
+ freeSequencerService: FreeSequencerScriptingService;
2481
+
2482
+ /**
2483
+ * Service zur Verarbeitung von Variantenwerten in Skripten
2484
+ */
2485
+ variantValueService: VariantValueScriptingService;
2486
+
2381
2487
  /**
2382
2488
  * Service zur Verarbeitung von ScenarioActualValue
2383
2489
  */
@@ -2398,6 +2504,11 @@ export interface ScriptingServiceList {
2398
2504
  */
2399
2505
  crmActivityService: CrmActivityScriptingService;
2400
2506
 
2507
+ /**
2508
+ * Service zur Verarbeitung von Variantenattribut-Listings in Skripten
2509
+ */
2510
+ variantAttributeListingService: VariantAttributeListingScriptingService;
2511
+
2401
2512
  /**
2402
2513
  * Service zur Verwendung von Tags
2403
2514
  */
@@ -2513,6 +2624,26 @@ export interface ShelfDocumentScriptingService {
2513
2624
  */
2514
2625
  deleteAttribution(attributionId: number): void;
2515
2626
 
2627
+ /**
2628
+ * Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
2629
+ *
2630
+ * @param {string} url - Download-URL
2631
+ * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2632
+ * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2633
+ */
2634
+ downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
2635
+
2636
+ /**
2637
+ * Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
2638
+ *
2639
+ * @param {string} url - Download-URL
2640
+ * @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
2641
+ * @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
2642
+ * @param {string} documentTypeKey - Schlüssel der Dokumentenart
2643
+ * @return {ShelfDocument} Das neu erstellte DMS-Dokument
2644
+ */
2645
+ downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
2646
+
2516
2647
  /**
2517
2648
  * Findet ein Dokumentenart über ihren Schlüssel
2518
2649
  *
@@ -2537,6 +2668,14 @@ export interface ShelfDocumentScriptingService {
2537
2668
  */
2538
2669
  readById(id: number): ShelfDocument;
2539
2670
 
2671
+ /**
2672
+ * Setzt den Lösch-Status eines Dokuments
2673
+ *
2674
+ * @param {number} shelfDocumentId - ID des Dokuments
2675
+ * @param {EShelfDocumentDeletionState} newState - neuer Löschstatus
2676
+ */
2677
+ setDeletionState(shelfDocumentId: number, newState: EShelfDocumentDeletionState): void;
2678
+
2540
2679
  /**
2541
2680
  * Aktualisiert ein persistiertes DTO
2542
2681
  *
@@ -2689,6 +2828,357 @@ export interface UserAndGroupScriptingService {
2689
2828
  getCurrentUser(): User;
2690
2829
  }
2691
2830
 
2831
+ /**
2832
+ * Service zur Verarbeitung von Variantenattribut-Listings in Skripten
2833
+ */
2834
+ export interface VariantAttributeListingScriptingService {
2835
+
2836
+ /**
2837
+ * Persistiert ein DTO
2838
+ *
2839
+ * @param {VariantAttributeListing} toCreate - Das zu persistierende DTO
2840
+ * @return {VariantAttributeListing} Das persistierte DTO
2841
+ */
2842
+ create(toCreate: VariantAttributeListing): VariantAttributeListing;
2843
+
2844
+ /**
2845
+ * Löscht eine Entity
2846
+ *
2847
+ * @param {number} id - ID der zu löschenden Entity
2848
+ */
2849
+ deleteById(id: number): void;
2850
+
2851
+ /**
2852
+ * Erstellt eine neue DTO-Instanz
2853
+ *
2854
+ * @return {VariantAttributeListing} Die neue DTO-Instanz
2855
+ */
2856
+ getNewDto(): VariantAttributeListing;
2857
+
2858
+ /**
2859
+ * Liest eine Liste von DTOs
2860
+ *
2861
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
2862
+ * @return {Array<VariantAttributeListing>} Die Liste der gelesenen DTOs
2863
+ */
2864
+ readAllById(ids: Array<number>): Array<VariantAttributeListing>;
2865
+
2866
+ /**
2867
+ * Liest ein DTO
2868
+ *
2869
+ * @param {number} id - ID vom zu lesenden DTO
2870
+ * @return {VariantAttributeListing} Das gelesene DTO
2871
+ */
2872
+ readById(id: number): VariantAttributeListing;
2873
+
2874
+ /**
2875
+ * Persistiert eine DTO
2876
+ *
2877
+ * @param {VariantAttributeListing} toStore - Das zu persistierende DTO
2878
+ * @return {VariantAttributeListing} Das persistierte DTO
2879
+ */
2880
+ store(toStore: VariantAttributeListing): VariantAttributeListing;
2881
+
2882
+ /**
2883
+ * Aktualisiert ein persistiertes DTO
2884
+ *
2885
+ * @param {VariantAttributeListing} toUpdate - Die zu aktualisierende Entity
2886
+ * @return {VariantAttributeListing} Das aktualisierte DTO
2887
+ */
2888
+ update(toUpdate: VariantAttributeListing): VariantAttributeListing;
2889
+ }
2890
+
2891
+ /**
2892
+ * Service zur Verarbeitung von Variantenattributen in Skripten
2893
+ */
2894
+ export interface VariantAttributeScriptingService {
2895
+
2896
+ /**
2897
+ * Aktiviert ein DTO
2898
+ *
2899
+ * @param {number} idToActivate - ID vom zu aktivierenden DTO
2900
+ * @return {VariantAttribute} Das aktivierte DTO
2901
+ */
2902
+ activate(idToActivate: number): VariantAttribute;
2903
+
2904
+ /**
2905
+ * Persistiert ein DTO
2906
+ *
2907
+ * @param {VariantAttribute} toCreate - Das zu persistierende DTO
2908
+ * @return {VariantAttribute} Das persistierte DTO
2909
+ */
2910
+ create(toCreate: VariantAttribute): VariantAttribute;
2911
+
2912
+ /**
2913
+ * Deaktiviert ein DTO
2914
+ *
2915
+ * @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
2916
+ * @return {VariantAttribute} Das deaktivierte DTO
2917
+ */
2918
+ deactivate(idToDeactivate: number): VariantAttribute;
2919
+
2920
+ /**
2921
+ * Löscht eine Entity
2922
+ *
2923
+ * @param {number} id - ID der zu löschenden Entity
2924
+ */
2925
+ deleteById(id: number): void;
2926
+
2927
+ /**
2928
+ * Erstellt eine neue DTO-Instanz
2929
+ *
2930
+ * @return {VariantAttribute} Die neue DTO-Instanz
2931
+ */
2932
+ getNewDto(): VariantAttribute;
2933
+
2934
+ /**
2935
+ * Liest eine Liste von DTOs
2936
+ *
2937
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
2938
+ * @return {Array<VariantAttribute>} Die Liste der gelesenen DTOs
2939
+ */
2940
+ readAllById(ids: Array<number>): Array<VariantAttribute>;
2941
+
2942
+ /**
2943
+ * Liest ein DTO
2944
+ *
2945
+ * @param {number} id - ID vom zu lesenden DTO
2946
+ * @return {VariantAttribute} Das gelesene DTO
2947
+ */
2948
+ readById(id: number): VariantAttribute;
2949
+
2950
+ /**
2951
+ * Persistiert eine DTO
2952
+ *
2953
+ * @param {VariantAttribute} toStore - Das zu persistierende DTO
2954
+ * @return {VariantAttribute} Das persistierte DTO
2955
+ */
2956
+ store(toStore: VariantAttribute): VariantAttribute;
2957
+
2958
+ /**
2959
+ * Aktualisiert ein persistiertes DTO
2960
+ *
2961
+ * @param {VariantAttribute} toUpdate - Die zu aktualisierende Entity
2962
+ * @return {VariantAttribute} Das aktualisierte DTO
2963
+ */
2964
+ update(toUpdate: VariantAttribute): VariantAttribute;
2965
+ }
2966
+
2967
+ /**
2968
+ * Service zur Verarbeitung von Variantenschemas in Skripten
2969
+ */
2970
+ export interface VariantSchemaScriptingService {
2971
+
2972
+ /**
2973
+ * Aktiviert ein DTO
2974
+ *
2975
+ * @param {number} idToActivate - ID vom zu aktivierenden DTO
2976
+ * @return {VariantSchema} Das aktivierte DTO
2977
+ */
2978
+ activate(idToActivate: number): VariantSchema;
2979
+
2980
+ /**
2981
+ * Persistiert ein DTO
2982
+ *
2983
+ * @param {VariantSchema} toCreate - Das zu persistierende DTO
2984
+ * @return {VariantSchema} Das persistierte DTO
2985
+ */
2986
+ create(toCreate: VariantSchema): VariantSchema;
2987
+
2988
+ /**
2989
+ * Deaktiviert ein DTO
2990
+ *
2991
+ * @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
2992
+ * @return {VariantSchema} Das deaktivierte DTO
2993
+ */
2994
+ deactivate(idToDeactivate: number): VariantSchema;
2995
+
2996
+ /**
2997
+ * Löscht eine Entity
2998
+ *
2999
+ * @param {number} id - ID der zu löschenden Entity
3000
+ */
3001
+ deleteById(id: number): void;
3002
+
3003
+ /**
3004
+ * Erstellt eine neue DTO-Instanz
3005
+ *
3006
+ * @return {VariantSchema} Die neue DTO-Instanz
3007
+ */
3008
+ getNewDto(): VariantSchema;
3009
+
3010
+ /**
3011
+ * Liest eine Liste von DTOs
3012
+ *
3013
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
3014
+ * @return {Array<VariantSchema>} Die Liste der gelesenen DTOs
3015
+ */
3016
+ readAllById(ids: Array<number>): Array<VariantSchema>;
3017
+
3018
+ /**
3019
+ * Liest ein DTO
3020
+ *
3021
+ * @param {number} id - ID vom zu lesenden DTO
3022
+ * @return {VariantSchema} Das gelesene DTO
3023
+ */
3024
+ readById(id: number): VariantSchema;
3025
+
3026
+ /**
3027
+ * Persistiert eine DTO
3028
+ *
3029
+ * @param {VariantSchema} toStore - Das zu persistierende DTO
3030
+ * @return {VariantSchema} Das persistierte DTO
3031
+ */
3032
+ store(toStore: VariantSchema): VariantSchema;
3033
+
3034
+ /**
3035
+ * Aktualisiert ein persistiertes DTO
3036
+ *
3037
+ * @param {VariantSchema} toUpdate - Die zu aktualisierende Entity
3038
+ * @return {VariantSchema} Das aktualisierte DTO
3039
+ */
3040
+ update(toUpdate: VariantSchema): VariantSchema;
3041
+ }
3042
+
3043
+ /**
3044
+ * Service zur Verarbeitung von Variantenattributwert-Listings in Skripten
3045
+ */
3046
+ export interface VariantValueListingScriptingService {
3047
+
3048
+ /**
3049
+ * Persistiert ein DTO
3050
+ *
3051
+ * @param {VariantValueListing} toCreate - Das zu persistierende DTO
3052
+ * @return {VariantValueListing} Das persistierte DTO
3053
+ */
3054
+ create(toCreate: VariantValueListing): VariantValueListing;
3055
+
3056
+ /**
3057
+ * Löscht eine Entity
3058
+ *
3059
+ * @param {number} id - ID der zu löschenden Entity
3060
+ */
3061
+ deleteById(id: number): void;
3062
+
3063
+ /**
3064
+ * Erstellt eine neue DTO-Instanz
3065
+ *
3066
+ * @return {VariantValueListing} Die neue DTO-Instanz
3067
+ */
3068
+ getNewDto(): VariantValueListing;
3069
+
3070
+ /**
3071
+ * Liest eine Liste von DTOs
3072
+ *
3073
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
3074
+ * @return {Array<VariantValueListing>} Die Liste der gelesenen DTOs
3075
+ */
3076
+ readAllById(ids: Array<number>): Array<VariantValueListing>;
3077
+
3078
+ /**
3079
+ * Liest ein DTO
3080
+ *
3081
+ * @param {number} id - ID vom zu lesenden DTO
3082
+ * @return {VariantValueListing} Das gelesene DTO
3083
+ */
3084
+ readById(id: number): VariantValueListing;
3085
+
3086
+ /**
3087
+ * Persistiert eine DTO
3088
+ *
3089
+ * @param {VariantValueListing} toStore - Das zu persistierende DTO
3090
+ * @return {VariantValueListing} Das persistierte DTO
3091
+ */
3092
+ store(toStore: VariantValueListing): VariantValueListing;
3093
+
3094
+ /**
3095
+ * Aktualisiert ein persistiertes DTO
3096
+ *
3097
+ * @param {VariantValueListing} toUpdate - Die zu aktualisierende Entity
3098
+ * @return {VariantValueListing} Das aktualisierte DTO
3099
+ */
3100
+ update(toUpdate: VariantValueListing): VariantValueListing;
3101
+ }
3102
+
3103
+ /**
3104
+ * Service zur Verarbeitung von Variantenwerten in Skripten
3105
+ */
3106
+ export interface VariantValueScriptingService {
3107
+
3108
+ /**
3109
+ * Aktiviert ein DTO
3110
+ *
3111
+ * @param {number} idToActivate - ID vom zu aktivierenden DTO
3112
+ * @return {VariantValue} Das aktivierte DTO
3113
+ */
3114
+ activate(idToActivate: number): VariantValue;
3115
+
3116
+ /**
3117
+ * Erstellt einen Variantenwert für ein Attribut
3118
+ *
3119
+ * @param {number} attributeId - ID des Attributs
3120
+ * @param {VariantValue} value - Der zu erstellende Variantenwert
3121
+ * @return {VariantValue} Der erstellte Variantenwert
3122
+ */
3123
+ createValue(attributeId: number, value: VariantValue): VariantValue;
3124
+
3125
+ /**
3126
+ * Erstellt mehrere Variantenwerte für ein Attribut
3127
+ *
3128
+ * @param {number} attributeId - ID des Attributs
3129
+ * @param {Array<VariantValue>} values - Die zu erstellenden Variantenwerte
3130
+ * @return {Array<VariantValue>} Die erstellten Variantenwerte
3131
+ */
3132
+ createValues(attributeId: number, values: Array<VariantValue>): Array<VariantValue>;
3133
+
3134
+ /**
3135
+ * Deaktiviert ein DTO
3136
+ *
3137
+ * @param {number} idToDeactivate - ID vom zu deaktivierenden DTO
3138
+ * @return {VariantValue} Das deaktivierte DTO
3139
+ */
3140
+ deactivate(idToDeactivate: number): VariantValue;
3141
+
3142
+ /**
3143
+ * Löscht eine Entity
3144
+ *
3145
+ * @param {number} id - ID der zu löschenden Entity
3146
+ */
3147
+ deleteById(id: number): void;
3148
+
3149
+ /**
3150
+ * Liefert alle Variantenwerte eines Attributs
3151
+ *
3152
+ * @param {number} attributeId - ID des Attributs
3153
+ * @return {Array<VariantValue>} Liste der Variantenwerte
3154
+ */
3155
+ findAllByAttributeId(attributeId: number): Array<VariantValue>;
3156
+
3157
+ /**
3158
+ * Liest eine Liste von DTOs
3159
+ *
3160
+ * @param {Array<number>} ids - Die Liste der gelesenen DTOs
3161
+ * @return {Array<VariantValue>} Die Liste der gelesenen DTOs
3162
+ */
3163
+ readAllById(ids: Array<number>): Array<VariantValue>;
3164
+
3165
+ /**
3166
+ * Liest ein DTO
3167
+ *
3168
+ * @param {number} id - ID vom zu lesenden DTO
3169
+ * @return {VariantValue} Das gelesene DTO
3170
+ */
3171
+ readById(id: number): VariantValue;
3172
+
3173
+ /**
3174
+ * Aktualisiert ein persistiertes DTO
3175
+ *
3176
+ * @param {VariantValue} toUpdate - Die zu aktualisierende Entity
3177
+ * @return {VariantValue} Das aktualisierte DTO
3178
+ */
3179
+ update(toUpdate: VariantValue): VariantValue;
3180
+ }
3181
+
2692
3182
  /**
2693
3183
  * Service zur Verarbeitung von Accounts
2694
3184
  */
@@ -2750,6 +3240,13 @@ export interface dtoFactory {
2750
3240
  */
2751
3241
  createAccountAddress(): AccountAddress;
2752
3242
 
3243
+ /**
3244
+ * Erstellt einen neue Instanz von AccountBankdetail
3245
+ *
3246
+ * @return {AccountBankdetail} Neue Instanz von AccountBankdetail
3247
+ */
3248
+ createAccountBankdetail(): AccountBankdetail;
3249
+
2753
3250
  /**
2754
3251
  * Erstellt einen neue Instanz von AccountLoanValue
2755
3252
  *
@@ -3023,6 +3520,13 @@ export interface dtoFactory {
3023
3520
  */
3024
3521
  createDocumentLineComponentFabricationDetail(): DocumentLineComponentFabricationDetail;
3025
3522
 
3523
+ /**
3524
+ * Erstellt einen neue Instanz von DocumentLineFabricationBookedComponent
3525
+ *
3526
+ * @return {DocumentLineFabricationBookedComponent} Neue Instanz von DocumentLineFabricationBookedComponent
3527
+ */
3528
+ createDocumentLineFabricationBookedComponent(): DocumentLineFabricationBookedComponent;
3529
+
3026
3530
  /**
3027
3531
  * Erstellt einen neue Instanz von DocumentLineFabricationDetail
3028
3532
  *
@@ -3030,6 +3534,13 @@ export interface dtoFactory {
3030
3534
  */
3031
3535
  createDocumentLineFabricationDetail(): DocumentLineFabricationDetail;
3032
3536
 
3537
+ /**
3538
+ * Erstellt einen neue Instanz von DocumentLineFabricationDetailSerialNumber
3539
+ *
3540
+ * @return {DocumentLineFabricationDetailSerialNumber} Neue Instanz von DocumentLineFabricationDetailSerialNumber
3541
+ */
3542
+ createDocumentLineFabricationDetailSerialNumber(): DocumentLineFabricationDetailSerialNumber;
3543
+
3033
3544
  /**
3034
3545
  * Erstellt einen neue Instanz von DocumentLinePosDetail
3035
3546
  *
@@ -3135,6 +3646,48 @@ export interface dtoFactory {
3135
3646
  */
3136
3647
  createDocumentTypeState(): DocumentTypeState;
3137
3648
 
3649
+ /**
3650
+ * Erstellt einen neue Instanz von FabricationComponentForProduction
3651
+ *
3652
+ * @return {FabricationComponentForProduction} Neue Instanz von FabricationComponentForProduction
3653
+ */
3654
+ createFabricationComponentForProduction(): FabricationComponentForProduction;
3655
+
3656
+ /**
3657
+ * Erstellt einen neue Instanz von FabricationDefectiveRequest
3658
+ *
3659
+ * @return {FabricationDefectiveRequest} Neue Instanz von FabricationDefectiveRequest
3660
+ */
3661
+ createFabricationDefectiveRequest(): FabricationDefectiveRequest;
3662
+
3663
+ /**
3664
+ * Erstellt einen neue Instanz von FabricationProduceRequest
3665
+ *
3666
+ * @return {FabricationProduceRequest} Neue Instanz von FabricationProduceRequest
3667
+ */
3668
+ createFabricationProduceRequest(): FabricationProduceRequest;
3669
+
3670
+ /**
3671
+ * Erstellt einen neue Instanz von FabricationRemainingComponent
3672
+ *
3673
+ * @return {FabricationRemainingComponent} Neue Instanz von FabricationRemainingComponent
3674
+ */
3675
+ createFabricationRemainingComponent(): FabricationRemainingComponent;
3676
+
3677
+ /**
3678
+ * Erstellt einen neue Instanz von FabricationRevertRequest
3679
+ *
3680
+ * @return {FabricationRevertRequest} Neue Instanz von FabricationRevertRequest
3681
+ */
3682
+ createFabricationRevertRequest(): FabricationRevertRequest;
3683
+
3684
+ /**
3685
+ * Erstellt einen neue Instanz von FabricationSerialNumber
3686
+ *
3687
+ * @return {FabricationSerialNumber} Neue Instanz von FabricationSerialNumber
3688
+ */
3689
+ createFabricationSerialNumber(): FabricationSerialNumber;
3690
+
3138
3691
  /**
3139
3692
  * Erstellt einen neue Instanz von Group
3140
3693
  *
@@ -3296,6 +3849,13 @@ export interface dtoFactory {
3296
3849
  */
3297
3850
  createRequestDocumentLineCommission(): RequestDocumentLineCommission;
3298
3851
 
3852
+ /**
3853
+ * Erstellt einen neue Instanz von RequestDocumentLineFabricationDetail
3854
+ *
3855
+ * @return {RequestDocumentLineFabricationDetail} Neue Instanz von RequestDocumentLineFabricationDetail
3856
+ */
3857
+ createRequestDocumentLineFabricationDetail(): RequestDocumentLineFabricationDetail;
3858
+
3299
3859
  /**
3300
3860
  * Erstellt einen neue Instanz von RequestDocumentPriceModifier
3301
3861
  *
@@ -3359,6 +3919,13 @@ export interface dtoFactory {
3359
3919
  */
3360
3920
  createSequencerConfigurationDetail(): SequencerConfigurationDetail;
3361
3921
 
3922
+ /**
3923
+ * Erstellt einen neue Instanz von SerialNumberWithQuantityApi
3924
+ *
3925
+ * @return {SerialNumberWithQuantityApi} Neue Instanz von SerialNumberWithQuantityApi
3926
+ */
3927
+ createSerialNumberWithQuantityApi(): SerialNumberWithQuantityApi;
3928
+
3362
3929
  /**
3363
3930
  * Erstellt einen neue Instanz von ShelfDocument
3364
3931
  *
@@ -3470,5 +4037,12 @@ export interface dtoFactory {
3470
4037
  * @return {User} Neue Instanz von User
3471
4038
  */
3472
4039
  createUser(): User;
4040
+
4041
+ /**
4042
+ * Erstellt einen neue Instanz von VariantDescription
4043
+ *
4044
+ * @return {VariantDescription} Neue Instanz von VariantDescription
4045
+ */
4046
+ createVariantDescription(): VariantDescription;
3473
4047
  }
3474
4048