@vario-software/types 2026.42.4 → 2026.43.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.
- package/package.json +1 -1
- package/schema/erp.d.ts +41 -5
- package/scripting/app_scripting_proxy.d.ts +2 -2
- package/scripting/batch_script.d.ts +5 -5
- package/scripting/output_filter_script.d.ts +2 -2
- package/scripting/output_module_script.d.ts +2 -2
- package/scripting/picklist_script_pick_box_connect.d.ts +1 -1
- package/scripting/services.d.ts +141 -95
- package/scripting/types.d.ts +473 -409
- package/scripting/work_item_intermediate_event.d.ts +4 -4
- package/scripting/work_item_script.d.ts +4 -4
- package/scripting/work_item_split_gateway.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.43.0",
|
|
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
|
@@ -39852,6 +39852,8 @@ export interface components {
|
|
|
39852
39852
|
* @enum {string}
|
|
39853
39853
|
*/
|
|
39854
39854
|
lineType: "PAYMENT" | "DUNNING" | "FEE";
|
|
39855
|
+
/** @description Amount taken from the bank transaction in its currency. Required for payments on an open item in another currency; the amount is then given in the currency of the open item. */
|
|
39856
|
+
transactionAmount?: number;
|
|
39855
39857
|
};
|
|
39856
39858
|
"erp-bank-OpenItemDistributionResult": {
|
|
39857
39859
|
/** @description If applicable the amount that has yet to be distributed/was overdrafted/was marked as irrelevant */
|
|
@@ -42690,6 +42692,8 @@ export interface components {
|
|
|
42690
42692
|
posPaymentMethodRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
42691
42693
|
/** @description Version Identifier for this Object (for PUT) */
|
|
42692
42694
|
version?: string;
|
|
42695
|
+
/** @description Scanned code of the preprinted voucher card a POS return is refunded on */
|
|
42696
|
+
voucherCode?: string;
|
|
42693
42697
|
voucherRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
42694
42698
|
voucherTypeRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
42695
42699
|
/** @description Withdrawal amount; in mode MANUAL provided by the user, in modes FULL/BALANCE/NONE calculated by the backend from the current balance. */
|
|
@@ -44478,7 +44482,7 @@ export interface components {
|
|
|
44478
44482
|
* @description Assignment Type
|
|
44479
44483
|
* @enum {string}
|
|
44480
44484
|
*/
|
|
44481
|
-
assignmentType: "SALES_POSITION_LEDGER" | "PURCHASE_POSITION_LEDGER" | "COMMISSION_POSITION_LEDGER" | "BANK_LEDGER" | "RECEIVABLE_DUNNING_FEE_LEDGER" | "RECEIVABLE_DUNNING_INTEREST_LEDGER" | "PAYABLE_DUNNING_FEE_LEDGER" | "PAYABLE_DUNNING_INTEREST_LEDGER" | "OPEN_ITEM_MANUAL_CLOSURE" | "SALES_PREPAYMENT_TAX_LEDGER" | "SALES_PREPAYMENT_TAX_INTERIM_LEDGER" | "SALES_PREPAYMENT_DOCUMENTFIELD1_INTERIM_LEDGER" | "FINANCIAL_SETTLEMENT_LEDGER" | "LEDGER_NOT_RELEVANT_FOR_BUSINESS" | "PAYMENT_FEE_LEDGER" | "DISCOUNT_GRANTED" | "DISCOUNT_RECEIVED" | "BANK_TRANSACTION" | "VOUCHER_LIABILITY_LEDGER" | "VOUCHER_DISCOUNT_LEDGER" | "POS_PAYMENT_LEDGER" | "POS_INTERIM_LEDGER" | "CASH_JOURNAL_BALANCE_DIFFERENCE" | "POS_DEPOSIT_EXPENSE";
|
|
44485
|
+
assignmentType: "SALES_POSITION_LEDGER" | "PURCHASE_POSITION_LEDGER" | "COMMISSION_POSITION_LEDGER" | "BANK_LEDGER" | "RECEIVABLE_DUNNING_FEE_LEDGER" | "RECEIVABLE_DUNNING_INTEREST_LEDGER" | "PAYABLE_DUNNING_FEE_LEDGER" | "PAYABLE_DUNNING_INTEREST_LEDGER" | "OPEN_ITEM_MANUAL_CLOSURE" | "SALES_PREPAYMENT_TAX_LEDGER" | "SALES_PREPAYMENT_TAX_INTERIM_LEDGER" | "SALES_PREPAYMENT_DOCUMENTFIELD1_INTERIM_LEDGER" | "FINANCIAL_SETTLEMENT_LEDGER" | "LEDGER_NOT_RELEVANT_FOR_BUSINESS" | "PAYMENT_FEE_LEDGER" | "EXCHANGE_GAIN_LEDGER" | "EXCHANGE_LOSS_LEDGER" | "DISCOUNT_GRANTED" | "DISCOUNT_RECEIVED" | "BANK_TRANSACTION" | "VOUCHER_LIABILITY_LEDGER" | "VOUCHER_DISCOUNT_LEDGER" | "POS_PAYMENT_LEDGER" | "POS_INTERIM_LEDGER" | "CASH_JOURNAL_BALANCE_DIFFERENCE" | "POS_DEPOSIT_EXPENSE";
|
|
44482
44486
|
bankAccountRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
44483
44487
|
/**
|
|
44484
44488
|
* @description Booking account type (debtor or creditor) of the open item this ledger assignment applies to; empty means any.
|
|
@@ -44490,6 +44494,8 @@ export interface components {
|
|
|
44490
44494
|
comment?: string;
|
|
44491
44495
|
/** @description Cost center 1 */
|
|
44492
44496
|
costCenter1?: string;
|
|
44497
|
+
/** @description ISO 4217 code of the currency this ledger assignment applies to; empty means any currency. */
|
|
44498
|
+
currency?: string;
|
|
44493
44499
|
/** @description Booking text. */
|
|
44494
44500
|
description?: string;
|
|
44495
44501
|
/** @description Unique identifier of the Object */
|
|
@@ -44599,16 +44605,28 @@ export interface components {
|
|
|
44599
44605
|
comment?: string;
|
|
44600
44606
|
/** @description cost center 1 */
|
|
44601
44607
|
costCenter1?: string;
|
|
44608
|
+
/** @description Book exchange rate of the open item: amount in bank currency per unit of the open item currency. */
|
|
44609
|
+
readonly determinedExchangeRate?: number;
|
|
44602
44610
|
/** @description document field 1 */
|
|
44603
44611
|
documentField1?: string;
|
|
44612
|
+
/**
|
|
44613
|
+
* @description Type of a manual finance booking on a bank transaction.
|
|
44614
|
+
* @default MANUAL
|
|
44615
|
+
* @enum {string}
|
|
44616
|
+
*/
|
|
44617
|
+
entryType: "MANUAL" | "PAYMENT_FEE" | "EXCHANGE_DIFFERENCE";
|
|
44604
44618
|
/** @description Unique identifier of the Object */
|
|
44605
44619
|
id?: string;
|
|
44606
44620
|
info?: components["schemas"]["core-api-MetaInfo"];
|
|
44607
44621
|
/** @description the number of the ledger */
|
|
44608
44622
|
ledgerNumber?: string;
|
|
44623
|
+
/** @description Identifier of the payment record the exchange rate difference belongs to. */
|
|
44624
|
+
readonly openItemRecordId?: string;
|
|
44609
44625
|
transaction?: components["schemas"]["erp-bank-BankTransaction"];
|
|
44610
44626
|
/** @description transaction key */
|
|
44611
44627
|
transactionKey?: string;
|
|
44628
|
+
/** @description Exchange rate transmitted by the bank: amount in bank currency per unit of the open item currency. */
|
|
44629
|
+
readonly transmittedExchangeRate?: number;
|
|
44612
44630
|
/** @description Version Identifier for this Object (for PUT) */
|
|
44613
44631
|
version?: string;
|
|
44614
44632
|
};
|
|
@@ -44620,6 +44638,12 @@ export interface components {
|
|
|
44620
44638
|
distributionAmount?: number;
|
|
44621
44639
|
/** @description Document field 1. */
|
|
44622
44640
|
documentField1?: string;
|
|
44641
|
+
/**
|
|
44642
|
+
* @description Type of a manual finance booking on a bank transaction.
|
|
44643
|
+
* @default MANUAL
|
|
44644
|
+
* @enum {string}
|
|
44645
|
+
*/
|
|
44646
|
+
entryType: "MANUAL" | "PAYMENT_FEE" | "EXCHANGE_DIFFERENCE";
|
|
44623
44647
|
/** @description Finance account. */
|
|
44624
44648
|
ledgerNumber?: string;
|
|
44625
44649
|
/** @description Transaction key. */
|
|
@@ -45201,6 +45225,8 @@ export interface components {
|
|
|
45201
45225
|
readonly revertedByRecordId?: number;
|
|
45202
45226
|
/** @description record total amount */
|
|
45203
45227
|
readonly totalAmount?: number;
|
|
45228
|
+
/** @description Amount in the currency of the assigned bank transaction, converted with the book exchange rate of the open item for foreign currencies. */
|
|
45229
|
+
readonly transactionAmount?: number;
|
|
45204
45230
|
/**
|
|
45205
45231
|
* Format: int64
|
|
45206
45232
|
* @description Identifier of the transaction that caused this record.
|
|
@@ -45991,8 +46017,11 @@ export interface components {
|
|
|
45991
46017
|
cashDrawerRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
45992
46018
|
/** @description Description. */
|
|
45993
46019
|
description: string;
|
|
45994
|
-
/**
|
|
45995
|
-
|
|
46020
|
+
/**
|
|
46021
|
+
* @description Perform the DSFinV-K export.
|
|
46022
|
+
* @default false
|
|
46023
|
+
*/
|
|
46024
|
+
readonly dsfinvkExport: boolean;
|
|
45996
46025
|
/**
|
|
45997
46026
|
* @description Automatically triggered DSFinV-K export state.
|
|
45998
46027
|
* @enum {string}
|
|
@@ -46018,6 +46047,7 @@ export interface components {
|
|
|
46018
46047
|
* @description Business day of the currently running DSFinV-K export.
|
|
46019
46048
|
*/
|
|
46020
46049
|
readonly pendingExportBusinessDateEnd?: string;
|
|
46050
|
+
refundVoucherTypeRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
46021
46051
|
salesChannelRef?: components["schemas"]["core-api-ApiObjectReference"];
|
|
46022
46052
|
/** @description Software name. */
|
|
46023
46053
|
softwareBrand?: string;
|
|
@@ -49601,7 +49631,7 @@ export interface components {
|
|
|
49601
49631
|
* @description Origin of the record
|
|
49602
49632
|
* @enum {string}
|
|
49603
49633
|
*/
|
|
49604
|
-
origin: "ISSUE" | "REDEMPTION" | "REDEMPTION_DISSOLVED" | "CREDIT_NOTE" | "CREDIT_NOTE_DISSOLVED" | "REMAINDER_TRANSFERRED" | "CANCELLATION" | "CANCELLATION_REVOKED" | "PAYOUT" | "IMPORT" | "ADJUSTMENT_INCREASE" | "ADJUSTMENT_DECREASE" | "RESERVATION" | "RESERVATION_RELEASED";
|
|
49634
|
+
origin: "ISSUE" | "ISSUE_RESERVATION" | "REDEMPTION" | "REDEMPTION_DISSOLVED" | "CREDIT_NOTE" | "CREDIT_NOTE_DISSOLVED" | "REMAINDER_TRANSFERRED" | "CANCELLATION" | "CANCELLATION_REVOKED" | "PAYOUT" | "IMPORT" | "ADJUSTMENT_INCREASE" | "ADJUSTMENT_DECREASE" | "RESERVATION" | "RESERVATION_RELEASED";
|
|
49605
49635
|
/**
|
|
49606
49636
|
* Format: date
|
|
49607
49637
|
* @description Record date, today if omitted
|
|
@@ -49640,7 +49670,7 @@ export interface components {
|
|
|
49640
49670
|
* @description Origin of the record
|
|
49641
49671
|
* @enum {string}
|
|
49642
49672
|
*/
|
|
49643
|
-
origin?: "ISSUE" | "REDEMPTION" | "REDEMPTION_DISSOLVED" | "CREDIT_NOTE" | "CREDIT_NOTE_DISSOLVED" | "REMAINDER_TRANSFERRED" | "CANCELLATION" | "CANCELLATION_REVOKED" | "PAYOUT" | "IMPORT" | "ADJUSTMENT_INCREASE" | "ADJUSTMENT_DECREASE" | "RESERVATION" | "RESERVATION_RELEASED";
|
|
49673
|
+
origin?: "ISSUE" | "ISSUE_RESERVATION" | "REDEMPTION" | "REDEMPTION_DISSOLVED" | "CREDIT_NOTE" | "CREDIT_NOTE_DISSOLVED" | "REMAINDER_TRANSFERRED" | "CANCELLATION" | "CANCELLATION_REVOKED" | "PAYOUT" | "IMPORT" | "ADJUSTMENT_INCREASE" | "ADJUSTMENT_DECREASE" | "RESERVATION" | "RESERVATION_RELEASED";
|
|
49644
49674
|
/**
|
|
49645
49675
|
* Format: date
|
|
49646
49676
|
* @description Record date
|
|
@@ -49692,6 +49722,11 @@ export interface components {
|
|
|
49692
49722
|
* @enum {string}
|
|
49693
49723
|
*/
|
|
49694
49724
|
codeOrigin: "GENERATED" | "SCANNED";
|
|
49725
|
+
/**
|
|
49726
|
+
* @description Must a captured code be unique within the voucher type?
|
|
49727
|
+
* @default true
|
|
49728
|
+
*/
|
|
49729
|
+
codeUnique: boolean;
|
|
49695
49730
|
/** @description Description */
|
|
49696
49731
|
description?: string;
|
|
49697
49732
|
/**
|
|
@@ -99515,6 +99550,7 @@ export interface operations {
|
|
|
99515
99550
|
parameters: {
|
|
99516
99551
|
query?: {
|
|
99517
99552
|
amount?: number;
|
|
99553
|
+
voucherTypeId?: number;
|
|
99518
99554
|
};
|
|
99519
99555
|
header?: never;
|
|
99520
99556
|
path: {
|
|
@@ -25,9 +25,9 @@ export interface AppScriptingProxyScriptingContext {
|
|
|
25
25
|
*
|
|
26
26
|
* @param {AppScriptingProxyScriptingContext} ctx - Skript-Kontext
|
|
27
27
|
* @param {object} jsonObj - JSON-Objekt
|
|
28
|
-
* @return {object} Das ggf. veränderte JSON-Objekt
|
|
28
|
+
* @return {object | Promise<object>} Das ggf. veränderte JSON-Objekt
|
|
29
29
|
*/
|
|
30
|
-
type AppScriptForExecutionProcess = (ctx: AppScriptingProxyScriptingContext, jsonObj: object) => object
|
|
30
|
+
type AppScriptForExecutionProcess = (ctx: AppScriptingProxyScriptingContext, jsonObj: object) => object | Promise<object>;
|
|
31
31
|
|
|
32
32
|
export interface AppScriptingProxyScriptingContext {
|
|
33
33
|
|
|
@@ -38,24 +38,24 @@ export interface BatchScriptingContext {
|
|
|
38
38
|
* Die in der Stapelverarbeitung auszuführende Aktion
|
|
39
39
|
*
|
|
40
40
|
* @param {BatchScriptingContext} ctx - Import-Kontext
|
|
41
|
-
* @return {boolean} true, falls erfolgreich durchgeführt. Sonst false.
|
|
41
|
+
* @return {boolean | Promise<boolean>} true, falls erfolgreich durchgeführt. Sonst false.
|
|
42
42
|
*/
|
|
43
|
-
type BatchScriptAction = (ctx: BatchScriptingContext) => boolean
|
|
43
|
+
type BatchScriptAction = (ctx: BatchScriptingContext) => boolean | Promise<boolean>;
|
|
44
44
|
|
|
45
45
|
/**
|
|
46
46
|
* Wird nach dem Import ausgeführt
|
|
47
47
|
*
|
|
48
48
|
* @param {BatchScriptingContext} ctx - Import-Kontext
|
|
49
49
|
*/
|
|
50
|
-
type BatchScriptAfterbatch = (ctx: BatchScriptingContext) => void
|
|
50
|
+
type BatchScriptAfterbatch = (ctx: BatchScriptingContext) => void | Promise<void>;
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
53
|
* Definiert, ob die Aktion ausgeführt werden soll
|
|
54
54
|
*
|
|
55
55
|
* @param {BatchScriptingContext} ctx - Import-Kontext
|
|
56
|
-
* @return {boolean} true => Aktion ausführen, false => Eintrag ignorieren
|
|
56
|
+
* @return {boolean | Promise<boolean>} true => Aktion ausführen, false => Eintrag ignorieren
|
|
57
57
|
*/
|
|
58
|
-
type BatchScriptGuard = (ctx: BatchScriptingContext) => boolean
|
|
58
|
+
type BatchScriptGuard = (ctx: BatchScriptingContext) => boolean | Promise<boolean>;
|
|
59
59
|
|
|
60
60
|
export interface BatchScriptingContext {
|
|
61
61
|
|
|
@@ -25,9 +25,9 @@ export interface TaskOutputFilterContext {
|
|
|
25
25
|
* Verarbeitet die Json-Daten
|
|
26
26
|
*
|
|
27
27
|
* @param {TaskOutputFilterContext} ctx - Skript-Kontext
|
|
28
|
-
* @return {object} Das ggf. veränderte JSON-Objekt
|
|
28
|
+
* @return {object | Promise<object>} Das ggf. veränderte JSON-Objekt
|
|
29
29
|
*/
|
|
30
|
-
type OutputFilterScriptShouldprocess = (ctx: TaskOutputFilterContext) => object
|
|
30
|
+
type OutputFilterScriptShouldprocess = (ctx: TaskOutputFilterContext) => object | Promise<object>;
|
|
31
31
|
|
|
32
32
|
export interface TaskOutputFilterContext {
|
|
33
33
|
|
|
@@ -38,9 +38,9 @@ export interface OutputModuleScriptingContext {
|
|
|
38
38
|
* Executed before printing
|
|
39
39
|
*
|
|
40
40
|
* @param {OutputModuleScriptingContext} ctx - Script context
|
|
41
|
-
* @return {boolean} true = create output, false = abort output
|
|
41
|
+
* @return {boolean | Promise<boolean>} true = create output, false = abort output
|
|
42
42
|
*/
|
|
43
|
-
type OutputModuleScriptBeforeprint = (ctx: OutputModuleScriptingContext) => boolean
|
|
43
|
+
type OutputModuleScriptBeforeprint = (ctx: OutputModuleScriptingContext) => boolean | Promise<boolean>;
|
|
44
44
|
|
|
45
45
|
export interface OutputModuleScriptingContext {
|
|
46
46
|
|
|
@@ -39,7 +39,7 @@ export interface PicklistScriptingContext {
|
|
|
39
39
|
*
|
|
40
40
|
* @param {PicklistScriptingContext} ctx - Skript-Kontext
|
|
41
41
|
*/
|
|
42
|
-
type PicklistScriptForExecutionProcess = (ctx: PicklistScriptingContext) => void
|
|
42
|
+
type PicklistScriptForExecutionProcess = (ctx: PicklistScriptingContext) => void | Promise<void>;
|
|
43
43
|
|
|
44
44
|
export interface PicklistScriptingContext {
|
|
45
45
|
|