@vario-software/types 2026.34.1 → 2026.34.2
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 +14 -3
- package/scripting/services.d.ts +51 -51
- package/scripting/types.d.ts +465 -465
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.34.
|
|
3
|
+
"version": "2026.34.2",
|
|
4
4
|
"description": "TypeScript type definitions for the VARIO Cloud platform: REST API schemas, app framework contexts and scripting interfaces. Provides type checking, autocompletion and IntelliSense in TypeScript and JavaScript projects.",
|
|
5
5
|
"homepage": "https://developer.vario-software.de/",
|
|
6
6
|
"bugs": "https://developer.vario-software.de/help-support",
|
package/schema/erp.d.ts
CHANGED
|
@@ -12197,7 +12197,7 @@ export interface paths {
|
|
|
12197
12197
|
cookie?: never;
|
|
12198
12198
|
};
|
|
12199
12199
|
/** Liefert alle nicht zu Paketen zugewiesenen Belegpositionsbuchungen zu einem Beleg */
|
|
12200
|
-
get: operations["
|
|
12200
|
+
get: operations["getUnassignedDocumentLinesWithBookings"];
|
|
12201
12201
|
put?: never;
|
|
12202
12202
|
post?: never;
|
|
12203
12203
|
delete?: never;
|
|
@@ -41378,6 +41378,12 @@ export interface components {
|
|
|
41378
41378
|
stockAvailable?: number;
|
|
41379
41379
|
storageRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
41380
41380
|
};
|
|
41381
|
+
"erp-document-DocumentLineWithBooking": {
|
|
41382
|
+
booking?: components["schemas"]["erp-document-DocumentLineBooking"];
|
|
41383
|
+
line?: components["schemas"]["erp-document-DocumentLine"];
|
|
41384
|
+
/** @description Die Menge dieser Kombination */
|
|
41385
|
+
quantity?: number;
|
|
41386
|
+
};
|
|
41381
41387
|
"erp-document-DocumentMultipleLinesRequest": {
|
|
41382
41388
|
/** @description Zusätzliche Parameter und Benutzerentscheidungen */
|
|
41383
41389
|
additionalParameters?: components["schemas"]["common-api-AdditionalParameter"][];
|
|
@@ -41439,6 +41445,11 @@ export interface components {
|
|
|
41439
41445
|
* @description Referenz zur Belegpositionsbuchung
|
|
41440
41446
|
*/
|
|
41441
41447
|
documentLineBookingId?: number;
|
|
41448
|
+
/**
|
|
41449
|
+
* Format: int64
|
|
41450
|
+
* @description Referenz zur Belegposition
|
|
41451
|
+
*/
|
|
41452
|
+
documentLineId?: number;
|
|
41442
41453
|
/** @description Unique identifier of the Object */
|
|
41443
41454
|
id?: string;
|
|
41444
41455
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
@@ -82066,7 +82077,7 @@ export interface operations {
|
|
|
82066
82077
|
};
|
|
82067
82078
|
};
|
|
82068
82079
|
};
|
|
82069
|
-
|
|
82080
|
+
getUnassignedDocumentLinesWithBookings: {
|
|
82070
82081
|
parameters: {
|
|
82071
82082
|
query?: never;
|
|
82072
82083
|
header?: never;
|
|
@@ -82083,7 +82094,7 @@ export interface operations {
|
|
|
82083
82094
|
[name: string]: unknown;
|
|
82084
82095
|
};
|
|
82085
82096
|
content: {
|
|
82086
|
-
"*/*": components["schemas"]["erp-document-
|
|
82097
|
+
"*/*": components["schemas"]["erp-document-DocumentLineWithBooking"][];
|
|
82087
82098
|
};
|
|
82088
82099
|
};
|
|
82089
82100
|
};
|
package/scripting/services.d.ts
CHANGED
|
@@ -501,21 +501,21 @@ export interface ArticleListingScriptingService {
|
|
|
501
501
|
getNewDto(): ArticleListing;
|
|
502
502
|
|
|
503
503
|
/**
|
|
504
|
-
* Liest alle Listings zu einem Artikel
|
|
504
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
505
505
|
*
|
|
506
506
|
* @param {number} articleId - ID des Artikels
|
|
507
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
507
508
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
508
509
|
*/
|
|
509
|
-
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
510
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
510
511
|
|
|
511
512
|
/**
|
|
512
|
-
* Liest alle Listings zu einem Artikel
|
|
513
|
+
* Liest alle Listings zu einem Artikel
|
|
513
514
|
*
|
|
514
515
|
* @param {number} articleId - ID des Artikels
|
|
515
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
516
516
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
517
517
|
*/
|
|
518
|
-
readAllByArticleId(articleId: number
|
|
518
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
519
519
|
|
|
520
520
|
/**
|
|
521
521
|
* Liest eine Liste von DTOs
|
|
@@ -571,17 +571,17 @@ export interface ArticleScriptingService {
|
|
|
571
571
|
*
|
|
572
572
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
573
573
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
574
|
-
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
575
574
|
*/
|
|
576
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number
|
|
575
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
577
576
|
|
|
578
577
|
/**
|
|
579
578
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
580
579
|
*
|
|
581
580
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
582
581
|
* @param {number} articleId - ID des zu druckenden Artikels
|
|
582
|
+
* @param {number} labelCount - Anzahl der zu druckenden Etiketten
|
|
583
583
|
*/
|
|
584
|
-
addLabelToPrintBatch(batchIdentifier: string, articleId: number): void;
|
|
584
|
+
addLabelToPrintBatch(batchIdentifier: string, articleId: number, labelCount: number): void;
|
|
585
585
|
|
|
586
586
|
/**
|
|
587
587
|
* Fügt Informationen zum Druck Etiketten zu einem Artikel zu einem Etikettendrucklauf hinzu
|
|
@@ -593,15 +593,6 @@ export interface ArticleScriptingService {
|
|
|
593
593
|
*/
|
|
594
594
|
addLabelToPrintBatch(batchIdentifier: string, articleId: number, articleSerialNumberId: number, labelCount: number): void;
|
|
595
595
|
|
|
596
|
-
/**
|
|
597
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
598
|
-
*
|
|
599
|
-
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
600
|
-
* @param {string} languageCode -
|
|
601
|
-
* @return {Article} Der persistierte Artikel
|
|
602
|
-
*/
|
|
603
|
-
create(toCreate: Article, languageCode: string): Article;
|
|
604
|
-
|
|
605
596
|
/**
|
|
606
597
|
* Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
|
|
607
598
|
Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
@@ -622,6 +613,15 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
622
613
|
*/
|
|
623
614
|
create(toCreate: Article): Article;
|
|
624
615
|
|
|
616
|
+
/**
|
|
617
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
618
|
+
*
|
|
619
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
620
|
+
* @param {string} languageCode -
|
|
621
|
+
* @return {Article} Der persistierte Artikel
|
|
622
|
+
*/
|
|
623
|
+
create(toCreate: Article, languageCode: string): Article;
|
|
624
|
+
|
|
625
625
|
/**
|
|
626
626
|
* Deaktiviert ein DTO
|
|
627
627
|
*
|
|
@@ -1860,20 +1860,20 @@ export interface DocumentScriptingService {
|
|
|
1860
1860
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1861
1861
|
*
|
|
1862
1862
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1863
|
-
* @param {string}
|
|
1864
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1863
|
+
* @param {string} targetDocumentTypeLabel - Ziel-Belegart der Kopie
|
|
1865
1864
|
* @return {Document} Der kopierte Beleg
|
|
1866
1865
|
*/
|
|
1867
|
-
copy(documentId: number,
|
|
1866
|
+
copy(documentId: number, targetDocumentTypeLabel: string): Document;
|
|
1868
1867
|
|
|
1869
1868
|
/**
|
|
1870
1869
|
* Kopiert einen Beleg in die vorgegebene Ziel-Belegart
|
|
1871
1870
|
*
|
|
1872
1871
|
* @param {number} documentId - ID des zu kopierenden Belegs
|
|
1873
|
-
* @param {string}
|
|
1872
|
+
* @param {string} targetDocumentType - Ziel-Belegart der Kopie
|
|
1873
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1874
1874
|
* @return {Document} Der kopierte Beleg
|
|
1875
1875
|
*/
|
|
1876
|
-
copy(documentId: number,
|
|
1876
|
+
copy(documentId: number, targetDocumentType: string, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1877
1877
|
|
|
1878
1878
|
/**
|
|
1879
1879
|
* Erstellt einen neuen Beleg
|
|
@@ -1887,18 +1887,18 @@ export interface DocumentScriptingService {
|
|
|
1887
1887
|
* Löst einen Beleg auf
|
|
1888
1888
|
*
|
|
1889
1889
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1890
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1890
1891
|
* @return {Document} Der aufgelöste Beleg
|
|
1891
1892
|
*/
|
|
1892
|
-
dissolve(documentId: number): Document;
|
|
1893
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1893
1894
|
|
|
1894
1895
|
/**
|
|
1895
1896
|
* Löst einen Beleg auf
|
|
1896
1897
|
*
|
|
1897
1898
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1898
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1899
1899
|
* @return {Document} Der aufgelöste Beleg
|
|
1900
1900
|
*/
|
|
1901
|
-
dissolve(documentId: number
|
|
1901
|
+
dissolve(documentId: number): Document;
|
|
1902
1902
|
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
@@ -2009,33 +2009,33 @@ export interface DocumentScriptingService {
|
|
|
2009
2009
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
2010
2010
|
*
|
|
2011
2011
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
2012
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2013
2012
|
* @return {Document} Der gespeicherte Beleg
|
|
2014
2013
|
*/
|
|
2015
|
-
save(documentId: number
|
|
2014
|
+
save(documentId: number): Document;
|
|
2016
2015
|
|
|
2017
2016
|
/**
|
|
2018
2017
|
* Speichert einen Beleg (Transition EDIT -> SAVED)
|
|
2019
2018
|
*
|
|
2020
2019
|
* @param {number} documentId - ID des zu speichernden Belegs
|
|
2020
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2021
2021
|
* @return {Document} Der gespeicherte Beleg
|
|
2022
2022
|
*/
|
|
2023
|
-
save(documentId: number): Document;
|
|
2023
|
+
save(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2024
2024
|
|
|
2025
2025
|
/**
|
|
2026
2026
|
* Versendet einen Beleg per Mail
|
|
2027
2027
|
*
|
|
2028
2028
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
2029
|
-
* @param {string} reportGroupIdentifier -
|
|
2030
2029
|
*/
|
|
2031
|
-
sendViaMail(documentId: number
|
|
2030
|
+
sendViaMail(documentId: number): void;
|
|
2032
2031
|
|
|
2033
2032
|
/**
|
|
2034
2033
|
* Versendet einen Beleg per Mail
|
|
2035
2034
|
*
|
|
2036
2035
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
2036
|
+
* @param {string} reportGroupIdentifier -
|
|
2037
2037
|
*/
|
|
2038
|
-
sendViaMail(documentId: number): void;
|
|
2038
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
2039
2039
|
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -2972,14 +2972,14 @@ export interface ScriptingServiceList {
|
|
|
2972
2972
|
accountService: AccountScriptingService;
|
|
2973
2973
|
|
|
2974
2974
|
/**
|
|
2975
|
-
*
|
|
2975
|
+
* Logging im Scripting
|
|
2976
2976
|
*/
|
|
2977
|
-
|
|
2977
|
+
logger: LoggingScriptingService;
|
|
2978
2978
|
|
|
2979
2979
|
/**
|
|
2980
|
-
*
|
|
2980
|
+
* Verwaltung von Versandarten
|
|
2981
2981
|
*/
|
|
2982
|
-
|
|
2982
|
+
deliveryMethodService: DeliveryMethodScriptingService;
|
|
2983
2983
|
|
|
2984
2984
|
/**
|
|
2985
2985
|
* Service zur Verarbeitung von Deals
|
|
@@ -3002,14 +3002,14 @@ export interface ScriptingServiceList {
|
|
|
3002
3002
|
textTemplateService: TextTemplateScriptingService;
|
|
3003
3003
|
|
|
3004
3004
|
/**
|
|
3005
|
-
*
|
|
3005
|
+
* Ausgabe-Support Methoden
|
|
3006
3006
|
*/
|
|
3007
|
-
|
|
3007
|
+
outputHelper: ScriptOutputHelperService;
|
|
3008
3008
|
|
|
3009
3009
|
/**
|
|
3010
|
-
*
|
|
3010
|
+
* Service zur Verarbeitung von Hauptwarengruppen im Skripten
|
|
3011
3011
|
*/
|
|
3012
|
-
|
|
3012
|
+
productMainGroupService: ProductMainGroupScriptingService;
|
|
3013
3013
|
|
|
3014
3014
|
/**
|
|
3015
3015
|
* Service zur Verarbeitung von Account-Listings in Skripten
|
|
@@ -3037,14 +3037,14 @@ export interface ScriptingServiceList {
|
|
|
3037
3037
|
utils: ScriptingUtilities;
|
|
3038
3038
|
|
|
3039
3039
|
/**
|
|
3040
|
-
* Service zur Verarbeitung von
|
|
3040
|
+
* Service zur Verarbeitung von Variantenschemas in Skripten
|
|
3041
3041
|
*/
|
|
3042
|
-
|
|
3042
|
+
variantSchemaService: VariantSchemaScriptingService;
|
|
3043
3043
|
|
|
3044
3044
|
/**
|
|
3045
|
-
* Service zur Verarbeitung von
|
|
3045
|
+
* Service zur Verarbeitung von Artikel-Kundenbeziehungen im Skripten
|
|
3046
3046
|
*/
|
|
3047
|
-
|
|
3047
|
+
articleCustomerService: ArticleCustomerScriptingService;
|
|
3048
3048
|
|
|
3049
3049
|
/**
|
|
3050
3050
|
* Service zur Verarbeitung von Artikeln im Skripten
|
|
@@ -3072,14 +3072,14 @@ export interface ScriptingServiceList {
|
|
|
3072
3072
|
articleStorageService: ArticleStorageScriptingService;
|
|
3073
3073
|
|
|
3074
3074
|
/**
|
|
3075
|
-
*
|
|
3075
|
+
* Anfragen von neuen Zählerkreis-Nummern
|
|
3076
3076
|
*/
|
|
3077
|
-
|
|
3077
|
+
freeSequencerService: FreeSequencerScriptingService;
|
|
3078
3078
|
|
|
3079
3079
|
/**
|
|
3080
|
-
*
|
|
3080
|
+
* Verwaltung von Zahlungsarten
|
|
3081
3081
|
*/
|
|
3082
|
-
|
|
3082
|
+
paymentMethodService: PaymentMethodScriptingService;
|
|
3083
3083
|
|
|
3084
3084
|
/**
|
|
3085
3085
|
* Service zur Verarbeitung von AssetsTypen in Skripten
|
|
@@ -3092,14 +3092,14 @@ export interface ScriptingServiceList {
|
|
|
3092
3092
|
stockService: StockScriptingService;
|
|
3093
3093
|
|
|
3094
3094
|
/**
|
|
3095
|
-
* Service zur Verarbeitung von
|
|
3095
|
+
* Service zur Verarbeitung von Variantenwerten in Skripten
|
|
3096
3096
|
*/
|
|
3097
|
-
|
|
3097
|
+
variantValueService: VariantValueScriptingService;
|
|
3098
3098
|
|
|
3099
3099
|
/**
|
|
3100
|
-
* Service zur Verarbeitung von
|
|
3100
|
+
* Service zur Verarbeitung von Assets in Skripten
|
|
3101
3101
|
*/
|
|
3102
|
-
|
|
3102
|
+
assetService: AssetScriptingService;
|
|
3103
3103
|
|
|
3104
3104
|
/**
|
|
3105
3105
|
* Service zur Verarbeitung von ScenarioActualValue
|