@vario-software/types 2026.22.1 → 2026.22.3
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/scripting/services.d.ts +26 -26
- package/scripting/types.d.ts +268 -268
package/package.json
CHANGED
package/scripting/services.d.ts
CHANGED
|
@@ -549,27 +549,27 @@ export interface ArticleScriptingService {
|
|
|
549
549
|
*
|
|
550
550
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
551
551
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
552
|
+
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
553
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
552
554
|
*/
|
|
553
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
555
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
554
556
|
|
|
555
557
|
/**
|
|
556
558
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
557
559
|
*
|
|
558
560
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
559
561
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
560
|
-
* @param {number} articleSerialNumberId - ID der zu druckenden Seriennummer
|
|
561
562
|
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
562
563
|
*/
|
|
563
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number,
|
|
564
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
564
565
|
|
|
565
566
|
/**
|
|
566
567
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
567
568
|
*
|
|
568
569
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
569
570
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
570
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
571
571
|
*/
|
|
572
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
572
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
573
573
|
|
|
574
574
|
/**
|
|
575
575
|
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
@@ -685,21 +685,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
685
685
|
newLabelPrintBatchIdentifier(): string;
|
|
686
686
|
|
|
687
687
|
/**
|
|
688
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
688
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
689
689
|
*
|
|
690
690
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
691
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
691
692
|
* @return {Article} Der gelesene Artikel
|
|
692
693
|
*/
|
|
693
|
-
readById(id: number): Article;
|
|
694
|
+
readById(id: number, languageCode: string): Article;
|
|
694
695
|
|
|
695
696
|
/**
|
|
696
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
697
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
697
698
|
*
|
|
698
699
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
699
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
700
700
|
* @return {Article} Der gelesene Artikel
|
|
701
701
|
*/
|
|
702
|
-
readById(id: number
|
|
702
|
+
readById(id: number): Article;
|
|
703
703
|
|
|
704
704
|
/**
|
|
705
705
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
@@ -1662,18 +1662,18 @@ export interface DocumentScriptingService {
|
|
|
1662
1662
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1663
1663
|
*
|
|
1664
1664
|
* @param {number} documentId - ID des Belegs
|
|
1665
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1666
1665
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1667
1666
|
*/
|
|
1668
|
-
edit(documentId: number
|
|
1667
|
+
edit(documentId: number): Document;
|
|
1669
1668
|
|
|
1670
1669
|
/**
|
|
1671
1670
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
1672
1671
|
*
|
|
1673
1672
|
* @param {number} documentId - ID des Belegs
|
|
1673
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1674
1674
|
* @return {Document} Der Beleg in Bearbeitung
|
|
1675
1675
|
*/
|
|
1676
|
-
edit(documentId: number): Document;
|
|
1676
|
+
edit(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1677
1677
|
|
|
1678
1678
|
/**
|
|
1679
1679
|
* Erstellt ein AdditionalParameter-Objekt
|
|
@@ -1776,16 +1776,16 @@ export interface DocumentScriptingService {
|
|
|
1776
1776
|
* Versendet einen Beleg per Mail
|
|
1777
1777
|
*
|
|
1778
1778
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1779
|
+
* @param {string} reportGroupIdentifier -
|
|
1779
1780
|
*/
|
|
1780
|
-
sendViaMail(documentId: number): void;
|
|
1781
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
1781
1782
|
|
|
1782
1783
|
/**
|
|
1783
1784
|
* Versendet einen Beleg per Mail
|
|
1784
1785
|
*
|
|
1785
1786
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
1786
|
-
* @param {string} reportGroupIdentifier -
|
|
1787
1787
|
*/
|
|
1788
|
-
sendViaMail(documentId: number
|
|
1788
|
+
sendViaMail(documentId: number): void;
|
|
1789
1789
|
|
|
1790
1790
|
/**
|
|
1791
1791
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2653,14 +2653,14 @@ export interface ScriptingServiceList {
|
|
|
2653
2653
|
crmTaskService: CrmTaskScriptingService;
|
|
2654
2654
|
|
|
2655
2655
|
/**
|
|
2656
|
-
* Service zur Verarbeitung von
|
|
2656
|
+
* Service zur Verarbeitung von Accounts
|
|
2657
2657
|
*/
|
|
2658
|
-
|
|
2658
|
+
accountService: AccountScriptingService;
|
|
2659
2659
|
|
|
2660
2660
|
/**
|
|
2661
|
-
* Service zur Verarbeitung von
|
|
2661
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
2662
2662
|
*/
|
|
2663
|
-
|
|
2663
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
2664
2664
|
|
|
2665
2665
|
/**
|
|
2666
2666
|
* Verwaltung von Versandarten
|
|
@@ -2913,24 +2913,24 @@ export interface ShelfDocumentScriptingService {
|
|
|
2913
2913
|
deleteAttribution(attributionId: number): void;
|
|
2914
2914
|
|
|
2915
2915
|
/**
|
|
2916
|
-
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
2916
|
+
* Lädt eine Datei von einer URL mit Authentifizierung herunter und erstellt ein neues DMS-Dokument
|
|
2917
2917
|
*
|
|
2918
2918
|
* @param {string} url - Download-URL
|
|
2919
|
+
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
2920
|
+
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
2919
2921
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
2920
2922
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
2921
2923
|
*/
|
|
2922
|
-
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
2924
|
+
downloadIntoDMS(url: string, authenticationType: EScriptingAuthenticationType, authValue: string, documentTypeKey: string): ShelfDocument;
|
|
2923
2925
|
|
|
2924
2926
|
/**
|
|
2925
|
-
* Lädt eine Datei von einer URL
|
|
2927
|
+
* Lädt eine Datei von einer URL herunter und erstellt ein neues DMS-Dokument
|
|
2926
2928
|
*
|
|
2927
2929
|
* @param {string} url - Download-URL
|
|
2928
|
-
* @param {EScriptingAuthenticationType} authenticationType - Art der Authentifizierung (BASIC_AUTH, BEARER_TOKEN)
|
|
2929
|
-
* @param {string} authValue - Authentifizierungswert — Platzhalter (z.B. {{secret:myApi:token}}) oder Klartext. Bei BASIC_AUTH im Format 'username:password'
|
|
2930
2930
|
* @param {string} documentTypeKey - Schlüssel der Dokumentenart
|
|
2931
2931
|
* @return {ShelfDocument} Das neu erstellte DMS-Dokument
|
|
2932
2932
|
*/
|
|
2933
|
-
downloadIntoDMS(url: string,
|
|
2933
|
+
downloadIntoDMS(url: string, documentTypeKey: string): ShelfDocument;
|
|
2934
2934
|
|
|
2935
2935
|
/**
|
|
2936
2936
|
* Findet ein Dokumentenart über ihren Schlüssel
|