@vario-software/types 2026.20.3 → 2026.21.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.
@@ -10,8 +10,8 @@ import {
10
10
  CrmChecklistItem, CrmDeal, CrmDealTopic, CrmObjectRef, CrmParticipant,
11
11
  CrmPriority, CrmProject, CrmReference, CrmReminder, CrmState, CrmSubType,
12
12
  CrmTask, CrmTaskParticipant, CrmTypedDocumentRef, CrmTypedDocumentRefList,
13
- Customer, DealNotificationEventConfig, DeliveryMethod, DeliveryTerm,
14
- Document, DocumentAdditionalInfo,
13
+ CurrencyReference, Customer, DealNotificationEventConfig, DeliveryMethod,
14
+ DeliveryTerm, Document, DocumentAdditionalInfo,
15
15
  DocumentAdditionalInfo$IncomingGoodsTarget,
16
16
  DocumentAdditionalInfo$IncomingGoodsTargetOfLine,
17
17
  DocumentAdditionalInfo$OrderIntoPickingConvertResult,
@@ -25,33 +25,34 @@ import {
25
25
  DocumentPriceModifier, DocumentRef, DocumentShippingCost, DocumentTax,
26
26
  DocumentText, DocumentTransferToStateRequest,
27
27
  DocumentTransferToTypeRequest, DocumentType, DocumentTypeFollowUp,
28
- DocumentTypeLabel, DocumentTypeState, ECrmPriorityType,
29
- ECrmSpecialDocumentRefType, ECrmType, EScriptingAuthenticationType,
30
- EShelfDocumentDeletionState, FabricationComponentForProduction,
31
- FabricationDefectiveRequest, FabricationProduceRequest,
32
- FabricationRemainingComponent, FabricationRevertRequest,
33
- FabricationSerialNumber, Group, PaymentMethod, PaymentTerm, PaymentTermRef,
34
- PickTrolley, PickTrolleyBox, Picklist, PicklistLine, PicklistLineBooking,
35
- PicklistLineComponent, PicklistTemplate, PicklistTemplate$DateRange,
36
- PicklistTemplate$OrderSelectionOptions,
28
+ DocumentTypeLabel, DocumentTypeState, DummySerialNumberStockTransferApi,
29
+ ECrmPriorityType, ECrmSpecialDocumentRefType, ECrmType,
30
+ EScriptingAuthenticationType, EShelfDocumentDeletionState,
31
+ FabricationComponentForProduction, FabricationDefectiveRequest,
32
+ FabricationProduceRequest, FabricationRemainingComponent,
33
+ FabricationRevertRequest, FabricationSerialNumber, Group, PaymentMethod,
34
+ PaymentTerm, PaymentTermRef, PickTrolley, PickTrolleyBox, Picklist,
35
+ PicklistLine, PicklistLineBooking, PicklistLineComponent, PicklistTemplate,
36
+ PicklistTemplate$DateRange, PicklistTemplate$OrderSelectionOptions,
37
37
  PicklistTemplate$PicklistCreationOptions,
38
38
  PicklistTemplate$PicklistProcessingOptions,
39
39
  PicklistTemplate$PicklistScript, PriceSelectionCriteria, Product,
40
40
  ProductDiscount, ProductGroup, ProductMainGroup, ProductPrice,
41
- RequestDocument, RequestDocumentLine, RequestDocumentLineBooking,
42
- RequestDocumentLineCommission, RequestDocumentLineFabricationDetail,
43
- RequestDocumentPriceModifier, RequestDocumentText, RevenueCalculation,
44
- SalesAgent, Scenario, ScenarioActualValue, ScenarioDimension,
45
- ScenarioDimensionValue, ScriptOutputRequest, ScriptingDate,
46
- ScriptingDateTime, SecureHttpClient, SequencerConfiguration,
47
- SequencerConfigurationDetail, SerialNumberWithQuantityApi, ShelfDocument,
48
- ShelfDocumentAttribution, ShelfDocumentType, ShelfFile, ShelfFileMetaData,
49
- ShelfShare, ShelfTranslatableText, Stock, StockMovementManualApi,
50
- StockTransferApi, StockTransferResult, StorageBinRef, SubFileInfo,
51
- Supplier, TagDto, TaxIdForeignCountry, TextEnumCreate, TextEnumGet,
52
- TssSignature, UnitTypeReference, UpdateDocumentRequest, User,
53
- VariantAttribute, VariantAttributeListing, VariantDescription,
54
- VariantSchema, VariantValue, VariantValueListing
41
+ RecommendedRetailPrice, RequestDocument, RequestDocumentLine,
42
+ RequestDocumentLineBooking, RequestDocumentLineCommission,
43
+ RequestDocumentLineFabricationDetail, RequestDocumentPriceModifier,
44
+ RequestDocumentText, RevenueCalculation, SalesAgent, Scenario,
45
+ ScenarioActualValue, ScenarioDimension, ScenarioDimensionValue,
46
+ ScriptOutputRequest, ScriptingDate, ScriptingDateTime, SecureHttpClient,
47
+ SequencerConfiguration, SequencerConfigurationDetail,
48
+ SerialNumberWithQuantityApi, ShelfDocument, ShelfDocumentAttribution,
49
+ ShelfDocumentType, ShelfFile, ShelfFileMetaData, ShelfShare,
50
+ ShelfTranslatableText, Stock, StockMovementManualApi, StockTransferApi,
51
+ StockTransferResult, StorageBinRef, SubFileInfo, Supplier, TagDto,
52
+ TaxIdForeignCountry, TextEnumCreate, TextEnumGet, TssSignature,
53
+ UnitTypeReference, UpdateDocumentRequest, User, VariantAttribute,
54
+ VariantAttributeListing, VariantDescription, VariantSchema, VariantValue,
55
+ VariantValueListing, VariantValueReference
55
56
  } from "./types"
56
57
 
57
58
  /**
@@ -470,17 +471,17 @@ export interface ArticleScriptingService {
470
471
  *
471
472
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
472
473
  * @param {number} articleId - ID des zu druckenden Artikels
473
- * @param {number} labelCount - Anzahl der zu druckenden Etiketten
474
474
  */
475
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
475
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
476
476
 
477
477
  /**
478
478
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
479
479
  *
480
480
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
481
481
  * @param {number} articleId - ID des zu druckenden Artikels
482
+ * @param {number} labelCount - Anzahl der zu druckenden Etiketten
482
483
  */
483
- addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
484
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
484
485
 
485
486
  /**
486
487
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
@@ -509,6 +510,18 @@ export interface ArticleScriptingService {
509
510
  */
510
511
  create(toCreate: Article): Article;
511
512
 
513
+ /**
514
+ * Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
515
+ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
516
+
517
+ *
518
+ * @param {Article} toCreate - Der zu persistierende Artikel
519
+ * @param {number} bundleSchemaId - ID des Gebindeschemas, das als Vorlage verwendet werden soll
520
+ * @param {boolean} useSameNumberForAllArticles - Gleiche Artikelnummer für alle Gebindeartikel verwenden?
521
+ * @return {Article} Der gespeicherte Haupt-Artikel
522
+ */
523
+ create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
524
+
512
525
  /**
513
526
  * Deaktiviert ein DTO
514
527
  *
@@ -594,38 +607,38 @@ export interface ArticleScriptingService {
594
607
  newLabelPrintBatchIdentifier(): string;
595
608
 
596
609
  /**
597
- * Liest einen Artikel mit Texten zur Sprache languageCode
610
+ * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
598
611
  *
599
612
  * @param {number} id - ID vom zu lesenden Artikel
600
- * @param {string} languageCode - Zu verwendende Sprache
601
613
  * @return {Article} Der gelesene Artikel
602
614
  */
603
- readById(id: number, languageCode: string): Article;
615
+ readById(id: number): Article;
604
616
 
605
617
  /**
606
- * Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
618
+ * Liest einen Artikel mit Texten zur Sprache languageCode
607
619
  *
608
620
  * @param {number} id - ID vom zu lesenden Artikel
621
+ * @param {string} languageCode - Zu verwendende Sprache
609
622
  * @return {Article} Der gelesene Artikel
610
623
  */
611
- readById(id: number): Article;
624
+ readById(id: number, languageCode: string): Article;
612
625
 
613
626
  /**
614
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
627
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
615
628
  *
616
629
  * @param {string} articleNumber - Eine Artikelnummer
630
+ * @param {string} languageCode - Zu verwendende Sprache
617
631
  * @return {Article} Der gelesene Artikel
618
632
  */
619
- readByNumber(articleNumber: string): Article;
633
+ readByNumber(articleNumber: string, languageCode: string): Article;
620
634
 
621
635
  /**
622
- * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
636
+ * Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
623
637
  *
624
638
  * @param {string} articleNumber - Eine Artikelnummer
625
- * @param {string} languageCode - Zu verwendende Sprache
626
639
  * @return {Article} Der gelesene Artikel
627
640
  */
628
- readByNumber(articleNumber: string, languageCode: string): Article;
641
+ readByNumber(articleNumber: string): Article;
629
642
 
630
643
  /**
631
644
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -645,21 +658,21 @@ export interface ArticleScriptingService {
645
658
  store(toStore: Article): Article;
646
659
 
647
660
  /**
648
- * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
661
+ * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
649
662
  *
650
663
  * @param {Article} toUpdate - Der zu persistierende Artikel
664
+ * @param {string} languageCode -
651
665
  * @return {Article} Der aktualisiert Artikel
652
666
  */
653
- update(toUpdate: Article): Article;
667
+ update(toUpdate: Article, languageCode: string): Article;
654
668
 
655
669
  /**
656
- * Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
670
+ * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
657
671
  *
658
672
  * @param {Article} toUpdate - Der zu persistierende Artikel
659
- * @param {string} languageCode -
660
673
  * @return {Article} Der aktualisiert Artikel
661
674
  */
662
- update(toUpdate: Article, languageCode: string): Article;
675
+ update(toUpdate: Article): Article;
663
676
  }
664
677
 
665
678
  /**
@@ -1554,18 +1567,18 @@ export interface DocumentScriptingService {
1554
1567
  * Löst einen Beleg auf
1555
1568
  *
1556
1569
  * @param {number} documentId - ID des aufzulösenden Belegs
1570
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1557
1571
  * @return {Document} Der aufgelöste Beleg
1558
1572
  */
1559
- dissolve(documentId: number): Document;
1573
+ dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1560
1574
 
1561
1575
  /**
1562
1576
  * Löst einen Beleg auf
1563
1577
  *
1564
1578
  * @param {number} documentId - ID des aufzulösenden Belegs
1565
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1566
1579
  * @return {Document} Der aufgelöste Beleg
1567
1580
  */
1568
- dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1581
+ dissolve(documentId: number): Document;
1569
1582
 
1570
1583
  /**
1571
1584
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
@@ -1685,16 +1698,16 @@ export interface DocumentScriptingService {
1685
1698
  * Versendet einen Beleg per Mail
1686
1699
  *
1687
1700
  * @param {number} documentId - ID des zu versendenden Belegs
1701
+ * @param {string} reportGroupIdentifier -
1688
1702
  */
1689
- sendViaMail(documentId: number): void;
1703
+ sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1690
1704
 
1691
1705
  /**
1692
1706
  * Versendet einen Beleg per Mail
1693
1707
  *
1694
1708
  * @param {number} documentId - ID des zu versendenden Belegs
1695
- * @param {string} reportGroupIdentifier -
1696
1709
  */
1697
- sendViaMail(documentId: number, reportGroupIdentifier: string): void;
1710
+ sendViaMail(documentId: number): void;
1698
1711
 
1699
1712
  /**
1700
1713
  * Überführt einen Beleg in einen anderen Status
@@ -2562,14 +2575,14 @@ export interface ScriptingServiceList {
2562
2575
  crmTaskService: CrmTaskScriptingService;
2563
2576
 
2564
2577
  /**
2565
- * Service zur Verarbeitung von Accounts
2578
+ * Service zur Verarbeitung von Shelf-Documents
2566
2579
  */
2567
- accountService: AccountScriptingService;
2580
+ shelfDocumentService: ShelfDocumentScriptingService;
2568
2581
 
2569
2582
  /**
2570
- * Service zur Verarbeitung von Shelf-Documents
2583
+ * Service zur Verarbeitung von Accounts
2571
2584
  */
2572
- shelfDocumentService: ShelfDocumentScriptingService;
2585
+ accountService: AccountScriptingService;
2573
2586
 
2574
2587
  /**
2575
2588
  * Logging im Scripting
@@ -3722,6 +3735,13 @@ export interface dtoFactory {
3722
3735
  */
3723
3736
  createCrmTaskParticipant(): CrmTaskParticipant;
3724
3737
 
3738
+ /**
3739
+ * Erstellt einen neue Instanz von CurrencyReference
3740
+ *
3741
+ * @return {CurrencyReference} Neue Instanz von CurrencyReference
3742
+ */
3743
+ createCurrencyReference(): CurrencyReference;
3744
+
3725
3745
  /**
3726
3746
  * Erstellt einen neue Instanz von Customer
3727
3747
  *
@@ -3939,6 +3959,13 @@ export interface dtoFactory {
3939
3959
  */
3940
3960
  createDocumentTypeState(): DocumentTypeState;
3941
3961
 
3962
+ /**
3963
+ * Erstellt einen neue Instanz von DummySerialNumberStockTransferApi
3964
+ *
3965
+ * @return {DummySerialNumberStockTransferApi} Neue Instanz von DummySerialNumberStockTransferApi
3966
+ */
3967
+ createDummySerialNumberStockTransferApi(): DummySerialNumberStockTransferApi;
3968
+
3942
3969
  /**
3943
3970
  * Erstellt einen neue Instanz von FabricationComponentForProduction
3944
3971
  *
@@ -4114,6 +4141,13 @@ export interface dtoFactory {
4114
4141
  */
4115
4142
  createPrintedTranslatedField(): DocumentAdditionalInfo$PrintedTranslatedField;
4116
4143
 
4144
+ /**
4145
+ * Erstellt einen neue Instanz von RecommendedRetailPrice
4146
+ *
4147
+ * @return {RecommendedRetailPrice} Neue Instanz von RecommendedRetailPrice
4148
+ */
4149
+ createRecommendedRetailPrice(): RecommendedRetailPrice;
4150
+
4117
4151
  /**
4118
4152
  * Erstellt einen neue Instanz von RequestDocument
4119
4153
  *
@@ -4365,5 +4399,12 @@ export interface dtoFactory {
4365
4399
  * @return {VariantDescription} Neue Instanz von VariantDescription
4366
4400
  */
4367
4401
  createVariantDescription(): VariantDescription;
4402
+
4403
+ /**
4404
+ * Erstellt einen neue Instanz von VariantValueReference
4405
+ *
4406
+ * @return {VariantValueReference} Neue Instanz von VariantValueReference
4407
+ */
4408
+ createVariantValueReference(): VariantValueReference;
4368
4409
  }
4369
4410