@vario-software/types 2026.32.8 → 2026.33.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/app/context.d.ts +3 -0
- package/package.json +1 -1
- package/schema/erp.d.ts +1092 -795
- package/scripting/services.d.ts +130 -49
- package/scripting/types.d.ts +729 -607
package/app/context.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export interface AccessTokenPayload
|
|
|
10
10
|
exp?: number;
|
|
11
11
|
iat?: number;
|
|
12
12
|
tenantSubdomain?: string;
|
|
13
|
+
appDomain?: string;
|
|
13
14
|
isSuperUser?: boolean;
|
|
14
15
|
permissions?: string[];
|
|
15
16
|
tokenType?: string;
|
|
@@ -25,6 +26,7 @@ export interface RequestContext
|
|
|
25
26
|
startTime: number;
|
|
26
27
|
appToken?: string;
|
|
27
28
|
accessToken?: AccessTokenPayload;
|
|
29
|
+
appDomain?: string;
|
|
28
30
|
runAsAppUser?: boolean;
|
|
29
31
|
migration?: string;
|
|
30
32
|
parameter?: Record<string, string>;
|
|
@@ -37,6 +39,7 @@ export declare function getContext(): RequestContext;
|
|
|
37
39
|
export declare function getAppToken(): string | undefined;
|
|
38
40
|
export declare function getAccessToken(): AccessTokenPayload | undefined;
|
|
39
41
|
export declare function getTenant(): string | undefined;
|
|
42
|
+
export declare function getAppDomain(): string | undefined;
|
|
40
43
|
export declare function getExternalUserId(): string | undefined;
|
|
41
44
|
export declare function getRequest(): Request;
|
|
42
45
|
export declare function getResponse(): Response;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.
|
|
3
|
+
"version": "2026.33.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",
|