@vario-software/types 2026.38.6 → 2026.38.7
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 +10 -9
- package/scripting/services.d.ts +45 -45
- package/scripting/types.d.ts +359 -353
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.38.
|
|
3
|
+
"version": "2026.38.7",
|
|
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
|
@@ -39206,7 +39206,7 @@ export interface components {
|
|
|
39206
39206
|
* @description payment type
|
|
39207
39207
|
* @enum {string}
|
|
39208
39208
|
*/
|
|
39209
|
-
type: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "OTHER";
|
|
39209
|
+
type: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "FACTORING" | "OTHER";
|
|
39210
39210
|
/** @description Version Identifier for this Object (for PUT) */
|
|
39211
39211
|
version?: string;
|
|
39212
39212
|
};
|
|
@@ -44995,39 +44995,39 @@ export interface components {
|
|
|
44995
44995
|
};
|
|
44996
44996
|
"erp-payment-PaymentMethod": {
|
|
44997
44997
|
/**
|
|
44998
|
-
* @description
|
|
44998
|
+
* @description Is this active?
|
|
44999
44999
|
* @default true
|
|
45000
45000
|
*/
|
|
45001
45001
|
active: boolean;
|
|
45002
45002
|
businessTransaction?: components["schemas"]["core-api-ApiObjectReference"];
|
|
45003
45003
|
/**
|
|
45004
|
-
* @description
|
|
45004
|
+
* @description Close the debtor open item?
|
|
45005
45005
|
* @default false
|
|
45006
45006
|
*/
|
|
45007
45007
|
closeCustomerAccountType: boolean;
|
|
45008
45008
|
/**
|
|
45009
|
-
* @description
|
|
45009
|
+
* @description Close the payable open item?
|
|
45010
45010
|
* @default false
|
|
45011
45011
|
*/
|
|
45012
45012
|
closePayable: boolean;
|
|
45013
45013
|
/**
|
|
45014
|
-
* @description
|
|
45014
|
+
* @description Close the receivable open item?
|
|
45015
45015
|
* @default false
|
|
45016
45016
|
*/
|
|
45017
45017
|
closeReceivable: boolean;
|
|
45018
45018
|
/**
|
|
45019
|
-
* @description
|
|
45019
|
+
* @description Close the creditor open item?
|
|
45020
45020
|
* @default false
|
|
45021
45021
|
*/
|
|
45022
45022
|
closeSupplierAccountType: boolean;
|
|
45023
45023
|
/**
|
|
45024
45024
|
* Format: int32
|
|
45025
|
-
* @description
|
|
45025
|
+
* @description Additional days for the first direct debit.
|
|
45026
45026
|
*/
|
|
45027
45027
|
daysToAddForDirectDebit?: number;
|
|
45028
45028
|
/**
|
|
45029
45029
|
* Format: int32
|
|
45030
|
-
* @description
|
|
45030
|
+
* @description Additional days for the recurring direct debit.
|
|
45031
45031
|
*/
|
|
45032
45032
|
daysToAddForFollowup?: number;
|
|
45033
45033
|
/** @description description */
|
|
@@ -45039,6 +45039,7 @@ export interface components {
|
|
|
45039
45039
|
dunnable: boolean;
|
|
45040
45040
|
/** @description external Payment Id */
|
|
45041
45041
|
externalPaymentId?: string;
|
|
45042
|
+
factoringAccount?: components["schemas"]["core-api-ApiObjectReference"];
|
|
45042
45043
|
/** @description Unique identifier of the Object */
|
|
45043
45044
|
id?: string;
|
|
45044
45045
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
@@ -45049,7 +45050,7 @@ export interface components {
|
|
|
45049
45050
|
* @default MONEY_TRANSFER
|
|
45050
45051
|
* @enum {string}
|
|
45051
45052
|
*/
|
|
45052
|
-
paymentType: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "OTHER";
|
|
45053
|
+
paymentType: "MONEY_TRANSFER" | "REALTIME_MONEY_TRANSFER" | "SEPA_CORE_DIRECT_DEBIT" | "SEPA_B2B_DIRECT_DEBIT" | "CLEARING" | "CLEARING_WITH_PREDECESSOR_DOCUMENT" | "FACTORING" | "OTHER";
|
|
45053
45054
|
/** @description printDescription */
|
|
45054
45055
|
printDescription?: string;
|
|
45055
45056
|
/** @description translations */
|
package/scripting/services.d.ts
CHANGED
|
@@ -502,21 +502,21 @@ export interface ArticleListingScriptingService {
|
|
|
502
502
|
getNewDto(): ArticleListing;
|
|
503
503
|
|
|
504
504
|
/**
|
|
505
|
-
* Liest alle Listings zu einem Artikel
|
|
505
|
+
* Liest alle Listings zu einem Artikel mit Texten zur Sprache languageCode
|
|
506
506
|
*
|
|
507
507
|
* @param {number} articleId - ID des Artikels
|
|
508
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
508
509
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
509
510
|
*/
|
|
510
|
-
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
511
|
+
readAllByArticleId(articleId: number, languageCode: string): Array<ArticleListing>;
|
|
511
512
|
|
|
512
513
|
/**
|
|
513
|
-
* Liest alle Listings zu einem Artikel
|
|
514
|
+
* Liest alle Listings zu einem Artikel
|
|
514
515
|
*
|
|
515
516
|
* @param {number} articleId - ID des Artikels
|
|
516
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
517
517
|
* @return {Array<ArticleListing>} Liste der Listings
|
|
518
518
|
*/
|
|
519
|
-
readAllByArticleId(articleId: number
|
|
519
|
+
readAllByArticleId(articleId: number): Array<ArticleListing>;
|
|
520
520
|
|
|
521
521
|
/**
|
|
522
522
|
* Liest eine Liste von DTOs
|
|
@@ -602,15 +602,6 @@ export interface ArticleScriptingService {
|
|
|
602
602
|
*/
|
|
603
603
|
create(toCreate: Article): Article;
|
|
604
604
|
|
|
605
|
-
/**
|
|
606
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
607
|
-
*
|
|
608
|
-
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
609
|
-
* @param {string} languageCode -
|
|
610
|
-
* @return {Article} Der persistierte Artikel
|
|
611
|
-
*/
|
|
612
|
-
create(toCreate: Article, languageCode: string): Article;
|
|
613
|
-
|
|
614
605
|
/**
|
|
615
606
|
* Persistiert einen Haupt-Artikel und die dazugehörigen Gebinde-Artikel.
|
|
616
607
|
Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
@@ -623,6 +614,15 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
623
614
|
*/
|
|
624
615
|
create(toCreate: Article, bundleSchemaId: number, useSameNumberForAllArticles: boolean): Article;
|
|
625
616
|
|
|
617
|
+
/**
|
|
618
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
619
|
+
*
|
|
620
|
+
* @param {Article} toCreate - Der zu persistierende Artikel
|
|
621
|
+
* @param {string} languageCode -
|
|
622
|
+
* @return {Article} Der persistierte Artikel
|
|
623
|
+
*/
|
|
624
|
+
create(toCreate: Article, languageCode: string): Article;
|
|
625
|
+
|
|
626
626
|
/**
|
|
627
627
|
* Deaktiviert ein DTO
|
|
628
628
|
*
|
|
@@ -650,16 +650,16 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
650
650
|
* Führt einen Etikettendrucklauf aus
|
|
651
651
|
*
|
|
652
652
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
653
|
+
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
653
654
|
*/
|
|
654
|
-
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
655
|
+
executeLabelPrintBatch(batchIdentifier: string, reportGroupIdentifier: string): void;
|
|
655
656
|
|
|
656
657
|
/**
|
|
657
658
|
* Führt einen Etikettendrucklauf aus
|
|
658
659
|
*
|
|
659
660
|
* @param {string} batchIdentifier - ID des Etikettendrucklaufs
|
|
660
|
-
* @param {string} reportGroupIdentifier - Name einer Etiketten-Report-Gruppe
|
|
661
661
|
*/
|
|
662
|
-
executeLabelPrintBatch(batchIdentifier: string
|
|
662
|
+
executeLabelPrintBatch(batchIdentifier: string): void;
|
|
663
663
|
|
|
664
664
|
/**
|
|
665
665
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache der eigenen Adresse
|
|
@@ -725,21 +725,21 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
725
725
|
newLabelPrintBatchIdentifier(): string;
|
|
726
726
|
|
|
727
727
|
/**
|
|
728
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
728
|
+
* Liest einen Artikel mit Texten zur Sprache languageCode
|
|
729
729
|
*
|
|
730
730
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
731
|
+
* @param {string} languageCode - Zu verwendende Sprache
|
|
731
732
|
* @return {Article} Der gelesene Artikel
|
|
732
733
|
*/
|
|
733
|
-
readById(id: number): Article;
|
|
734
|
+
readById(id: number, languageCode: string): Article;
|
|
734
735
|
|
|
735
736
|
/**
|
|
736
|
-
* Liest einen Artikel mit Texten zur Sprache
|
|
737
|
+
* Liest einen Artikel mit Texten zur Sprache der eigenen Adresse
|
|
737
738
|
*
|
|
738
739
|
* @param {number} id - ID vom zu lesenden Artikel
|
|
739
|
-
* @param {string} languageCode - Zu verwendende Sprache
|
|
740
740
|
* @return {Article} Der gelesene Artikel
|
|
741
741
|
*/
|
|
742
|
-
readById(id: number
|
|
742
|
+
readById(id: number): Article;
|
|
743
743
|
|
|
744
744
|
/**
|
|
745
745
|
* Liest einen Artikel über die Artikelnummer mit Texten zur Sprache {@code languageCode}
|
|
@@ -759,38 +759,38 @@ Die Texte werden zur Sprache der eigenen Adresse gespeichert.
|
|
|
759
759
|
readByNumber(articleNumber: string): Article;
|
|
760
760
|
|
|
761
761
|
/**
|
|
762
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
762
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
763
763
|
*
|
|
764
764
|
* @param {Article} toStore - Der zu persistierende Artikel
|
|
765
|
+
* @param {string} languageCode -
|
|
765
766
|
* @return {Article} Der persistierte Artikel
|
|
766
767
|
*/
|
|
767
|
-
store(toStore: Article): Article;
|
|
768
|
+
store(toStore: Article, languageCode: string): Article;
|
|
768
769
|
|
|
769
770
|
/**
|
|
770
|
-
* Persistiert einen Artikel. Die Texte werden zur Sprache
|
|
771
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache der eigenen Adresse gespeichert
|
|
771
772
|
*
|
|
772
773
|
* @param {Article} toStore - Der zu persistierende Artikel
|
|
773
|
-
* @param {string} languageCode -
|
|
774
774
|
* @return {Article} Der persistierte Artikel
|
|
775
775
|
*/
|
|
776
|
-
store(toStore: Article
|
|
776
|
+
store(toStore: Article): Article;
|
|
777
777
|
|
|
778
778
|
/**
|
|
779
|
-
*
|
|
779
|
+
* Persistiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
780
780
|
*
|
|
781
781
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
782
|
-
* @param {string} languageCode -
|
|
783
782
|
* @return {Article} Der aktualisiert Artikel
|
|
784
783
|
*/
|
|
785
|
-
update(toUpdate: Article
|
|
784
|
+
update(toUpdate: Article): Article;
|
|
786
785
|
|
|
787
786
|
/**
|
|
788
|
-
*
|
|
787
|
+
* Aktualisiert einen Artikel. Die Texte werden zur Sprache {@code languageCode} gespeichert
|
|
789
788
|
*
|
|
790
789
|
* @param {Article} toUpdate - Der zu persistierende Artikel
|
|
790
|
+
* @param {string} languageCode -
|
|
791
791
|
* @return {Article} Der aktualisiert Artikel
|
|
792
792
|
*/
|
|
793
|
-
update(toUpdate: Article): Article;
|
|
793
|
+
update(toUpdate: Article, languageCode: string): Article;
|
|
794
794
|
}
|
|
795
795
|
|
|
796
796
|
/**
|
|
@@ -1981,18 +1981,18 @@ export interface DocumentScriptingService {
|
|
|
1981
1981
|
* Löst einen Beleg auf
|
|
1982
1982
|
*
|
|
1983
1983
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1984
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1985
1984
|
* @return {Document} Der aufgelöste Beleg
|
|
1986
1985
|
*/
|
|
1987
|
-
dissolve(documentId: number
|
|
1986
|
+
dissolve(documentId: number): Document;
|
|
1988
1987
|
|
|
1989
1988
|
/**
|
|
1990
1989
|
* Löst einen Beleg auf
|
|
1991
1990
|
*
|
|
1992
1991
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
1992
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1993
1993
|
* @return {Document} Der aufgelöste Beleg
|
|
1994
1994
|
*/
|
|
1995
|
-
dissolve(documentId: number): Document;
|
|
1995
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1996
1996
|
|
|
1997
1997
|
/**
|
|
1998
1998
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
@@ -2120,16 +2120,16 @@ export interface DocumentScriptingService {
|
|
|
2120
2120
|
* Versendet einen Beleg per Mail
|
|
2121
2121
|
*
|
|
2122
2122
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
2123
|
-
* @param {string} reportGroupIdentifier -
|
|
2124
2123
|
*/
|
|
2125
|
-
sendViaMail(documentId: number
|
|
2124
|
+
sendViaMail(documentId: number): void;
|
|
2126
2125
|
|
|
2127
2126
|
/**
|
|
2128
2127
|
* Versendet einen Beleg per Mail
|
|
2129
2128
|
*
|
|
2130
2129
|
* @param {number} documentId - ID des zu versendenden Belegs
|
|
2130
|
+
* @param {string} reportGroupIdentifier -
|
|
2131
2131
|
*/
|
|
2132
|
-
sendViaMail(documentId: number): void;
|
|
2132
|
+
sendViaMail(documentId: number, reportGroupIdentifier: string): void;
|
|
2133
2133
|
|
|
2134
2134
|
/**
|
|
2135
2135
|
* Überführt einen Beleg in einen anderen Status
|
|
@@ -3072,14 +3072,14 @@ export interface ScriptingServiceList {
|
|
|
3072
3072
|
crmTaskService: CrmTaskScriptingService;
|
|
3073
3073
|
|
|
3074
3074
|
/**
|
|
3075
|
-
* Service zur Verarbeitung von
|
|
3075
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
3076
3076
|
*/
|
|
3077
|
-
|
|
3077
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3078
3078
|
|
|
3079
3079
|
/**
|
|
3080
|
-
* Service zur Verarbeitung von
|
|
3080
|
+
* Service zur Verarbeitung von Accounts
|
|
3081
3081
|
*/
|
|
3082
|
-
|
|
3082
|
+
accountService: AccountScriptingService;
|
|
3083
3083
|
|
|
3084
3084
|
/**
|
|
3085
3085
|
* Logging im Scripting
|
|
@@ -3324,18 +3324,18 @@ export interface ScriptingUtilities {
|
|
|
3324
3324
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3325
3325
|
*
|
|
3326
3326
|
* @param {object} value - Der Quell-Wert
|
|
3327
|
+
* @param {number} scale - Anzahl Nachkommastellen
|
|
3327
3328
|
* @return {number} Ein BigDecimal-Wert
|
|
3328
3329
|
*/
|
|
3329
|
-
newBigDecimal(value: object): number;
|
|
3330
|
+
newBigDecimal(value: object, scale: number): number;
|
|
3330
3331
|
|
|
3331
3332
|
/**
|
|
3332
3333
|
* Erstellt eine neue BigDecimal-Instanz
|
|
3333
3334
|
*
|
|
3334
3335
|
* @param {object} value - Der Quell-Wert
|
|
3335
|
-
* @param {number} scale - Anzahl Nachkommastellen
|
|
3336
3336
|
* @return {number} Ein BigDecimal-Wert
|
|
3337
3337
|
*/
|
|
3338
|
-
newBigDecimal(value: object
|
|
3338
|
+
newBigDecimal(value: object): number;
|
|
3339
3339
|
|
|
3340
3340
|
/**
|
|
3341
3341
|
* Erstellt eine API-Referenz
|