@vario-software/types 2026.20.4 → 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
  /**
@@ -478,19 +479,19 @@ export interface ArticleScriptingService {
478
479
  *
479
480
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
480
481
  * @param {number} articleId - ID des zu druckenden Artikels
481
- * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
482
482
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
483
483
  */
484
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
484
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
485
485
 
486
486
  /**
487
487
  * Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
488
488
  *
489
489
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
490
490
  * @param {number} articleId - ID des zu druckenden Artikels
491
+ * @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
491
492
  * @param {number} labelCount - Anzahl der zu druckenden Etiketten
492
493
  */
493
- addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
494
+ addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
494
495
 
495
496
  /**
496
497
  * Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
@@ -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
  *
@@ -536,16 +549,16 @@ export interface ArticleScriptingService {
536
549
  * Führt einen Etikettendrucklauf aus
537
550
  *
538
551
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
539
- * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
540
552
  */
541
- executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
553
+ executeLabelPrintBatch(batchIdentifier: string): void;
542
554
 
543
555
  /**
544
556
  * Führt einen Etikettendrucklauf aus
545
557
  *
546
558
  * @param {string} batchIdentifier - ID des Etikettendrucklaufs
559
+ * @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
547
560
  */
548
- executeLabelPrintBatch(batchIdentifier: string): void;
561
+ executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
549
562
 
550
563
  /**
551
564
  * Liefert die Einkaufsrabatte zu einem Artikel
@@ -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
  /**
@@ -1571,18 +1584,18 @@ export interface DocumentScriptingService {
1571
1584
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1572
1585
  *
1573
1586
  * @param {number} documentId - ID des Belegs
1574
- * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1575
1587
  * @return {Document} Der Beleg in Bearbeitung
1576
1588
  */
1577
- edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1589
+ edit(documentId: number): Document;
1578
1590
 
1579
1591
  /**
1580
1592
  * Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
1581
1593
  *
1582
1594
  * @param {number} documentId - ID des Belegs
1595
+ * @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
1583
1596
  * @return {Document} Der Beleg in Bearbeitung
1584
1597
  */
1585
- edit(documentId: number): Document;
1598
+ edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
1586
1599
 
1587
1600
  /**
1588
1601
  * Erstellt ein AdditionalParameter-Objekt
@@ -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
@@ -2774,18 +2787,18 @@ export interface ScriptingUtilities {
2774
2787
  * Erstellt eine neue BigDecimal-Instanz
2775
2788
  *
2776
2789
  * @param {object} value - Der Quell-Wert
2777
- * @param {number} scale - Anzahl Nachkommastellen
2778
2790
  * @return {number} Ein BigDecimal-Wert
2779
2791
  */
2780
- newBigDecimal(value: object, scale: number): number;
2792
+ newBigDecimal(value: object): number;
2781
2793
 
2782
2794
  /**
2783
2795
  * Erstellt eine neue BigDecimal-Instanz
2784
2796
  *
2785
2797
  * @param {object} value - Der Quell-Wert
2798
+ * @param {number} scale - Anzahl Nachkommastellen
2786
2799
  * @return {number} Ein BigDecimal-Wert
2787
2800
  */
2788
- newBigDecimal(value: object): number;
2801
+ newBigDecimal(value: object, scale: number): number;
2789
2802
 
2790
2803
  /**
2791
2804
  * Erstellt eine API-Referenz
@@ -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