@vario-software/types 2026.43.0 → 2026.43.1
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/Api.d.ts +42 -3
- package/app/Migrator.d.ts +2 -2
- package/app/VarioCloudApp.d.ts +3 -3
- package/index.d.ts +16 -16
- package/package.json +1 -1
- package/schema/erp.d.ts +2 -2
- package/scripting/services.d.ts +10 -10
- package/scripting/types.d.ts +213 -213
package/app/Api.d.ts
CHANGED
|
@@ -36,16 +36,33 @@ type QueryParams<Op> =
|
|
|
36
36
|
? [Q] extends [never] ? Record<string, never> : NonNullable<Q>
|
|
37
37
|
: Record<string, never>;
|
|
38
38
|
|
|
39
|
+
// Query values may be passed as single value or as list
|
|
40
|
+
type ScalarOrArray<T> = T extends readonly (infer E)[] ? E | T : T;
|
|
41
|
+
|
|
42
|
+
type QueryOption<Q> = { [K in keyof Q]: ScalarOrArray<Q[K]> };
|
|
43
|
+
|
|
39
44
|
type RequestBody<Op> =
|
|
40
45
|
Op extends { requestBody: { content: { 'application/json': infer B } } } ? B :
|
|
41
46
|
Op extends { requestBody?: { content: { 'application/json': infer B } } } ? B :
|
|
42
47
|
any;
|
|
43
48
|
|
|
49
|
+
// Operation with a JSON success response – matches the same cases as SuccessResponse,
|
|
50
|
+
// but as a single structural check without infer to keep the per-path cost low on large schemas
|
|
51
|
+
type JsonSuccessOperation = {
|
|
52
|
+
responses:
|
|
53
|
+
| { 200: { content: { 'application/json': unknown } } }
|
|
54
|
+
| { 201: { content: { 'application/json': unknown } } }
|
|
55
|
+
| { 200: { content: { '*/*': unknown } } }
|
|
56
|
+
| { 201: { content: { '*/*': unknown } } }
|
|
57
|
+
| { 200: { content: { 'application/*': unknown } } }
|
|
58
|
+
| { 201: { content: { 'application/*': unknown } } };
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
type JsonSuccessMethod<M extends string> = { [K in M]: JsonSuccessOperation };
|
|
62
|
+
|
|
44
63
|
type MethodEndpoints<Paths, M extends string> = {
|
|
45
64
|
[P in keyof Paths as
|
|
46
|
-
|
|
47
|
-
[SuccessResponse<GetOperation<Paths[P], M>>] extends [never] ? never :
|
|
48
|
-
ConvertPath<P & string>
|
|
65
|
+
Paths[P] extends JsonSuccessMethod<M> ? ConvertPath<P & string> : never
|
|
49
66
|
]: GetOperation<Paths[P], M>;
|
|
50
67
|
};
|
|
51
68
|
|
|
@@ -115,12 +132,16 @@ type DirectQueryParams<Paths, P extends string> =
|
|
|
115
132
|
type GenericGetOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
116
133
|
method: 'GET';
|
|
117
134
|
pathParams?: DirectPathParams<Paths, P>;
|
|
135
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P, 'get'>>>;
|
|
136
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
118
137
|
params?: QueryParams<DirectOperation<Paths, P, 'get'>>;
|
|
119
138
|
};
|
|
120
139
|
|
|
121
140
|
type GenericPostOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
122
141
|
method: 'POST';
|
|
123
142
|
pathParams?: DirectPathParams<Paths, P>;
|
|
143
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P, 'post'>>>;
|
|
144
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
124
145
|
params?: QueryParams<DirectOperation<Paths, P, 'post'>>;
|
|
125
146
|
body?: DirectRequestBody<Paths, P>;
|
|
126
147
|
};
|
|
@@ -128,6 +149,8 @@ type GenericPostOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
|
128
149
|
type GenericPutOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
129
150
|
method: 'PUT';
|
|
130
151
|
pathParams?: DirectPathParams<Paths, P>;
|
|
152
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P, 'put'>>>;
|
|
153
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
131
154
|
params?: QueryParams<DirectOperation<Paths, P, 'put'>>;
|
|
132
155
|
body?: DirectRequestBody<Paths, P>;
|
|
133
156
|
};
|
|
@@ -135,12 +158,16 @@ type GenericPutOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
|
135
158
|
type GenericDeleteOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
136
159
|
method: 'DELETE';
|
|
137
160
|
pathParams?: DirectPathParams<Paths, P>;
|
|
161
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P, 'delete'>>>;
|
|
162
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
138
163
|
params?: QueryParams<DirectOperation<Paths, P, 'delete'>>;
|
|
139
164
|
};
|
|
140
165
|
|
|
141
166
|
type GenericFallbackOptions<Paths, P extends string> = ErpBaseOptions & {
|
|
142
167
|
method?: DirectMethods<Paths, P>;
|
|
143
168
|
pathParams?: DirectPathParams<Paths, P>;
|
|
169
|
+
query?: QueryOption<DirectQueryParams<Paths, P>>;
|
|
170
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
144
171
|
params?: DirectQueryParams<Paths, P>;
|
|
145
172
|
body?: DirectRequestBody<Paths, P>;
|
|
146
173
|
};
|
|
@@ -173,6 +200,8 @@ export interface TypedErpApiFetch<Paths = Record<string, any>>
|
|
|
173
200
|
options: ErpBaseOptions & {
|
|
174
201
|
method: 'GET';
|
|
175
202
|
pathParams?: PathParams<DirectOperation<Paths, P & string, 'get'>>;
|
|
203
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P & string, 'get'>>>;
|
|
204
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
176
205
|
params?: QueryParams<DirectOperation<Paths, P & string, 'get'>>;
|
|
177
206
|
},
|
|
178
207
|
): Promise<ErpFetchResponse<SuccessResponse<DirectOperation<Paths, P & string, 'get'>>>>;
|
|
@@ -182,6 +211,8 @@ export interface TypedErpApiFetch<Paths = Record<string, any>>
|
|
|
182
211
|
options: ErpBaseOptions & {
|
|
183
212
|
method: 'POST';
|
|
184
213
|
pathParams?: PathParams<DirectOperation<Paths, P & string, 'post'>>;
|
|
214
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P & string, 'post'>>>;
|
|
215
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
185
216
|
params?: QueryParams<DirectOperation<Paths, P & string, 'post'>>;
|
|
186
217
|
body?: RequestBody<DirectOperation<Paths, P & string, 'post'>> | string;
|
|
187
218
|
},
|
|
@@ -192,6 +223,8 @@ export interface TypedErpApiFetch<Paths = Record<string, any>>
|
|
|
192
223
|
options: ErpBaseOptions & {
|
|
193
224
|
method: 'PUT';
|
|
194
225
|
pathParams?: PathParams<DirectOperation<Paths, P & string, 'put'>>;
|
|
226
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P & string, 'put'>>>;
|
|
227
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
195
228
|
params?: QueryParams<DirectOperation<Paths, P & string, 'put'>>;
|
|
196
229
|
body?: RequestBody<DirectOperation<Paths, P & string, 'put'>> | string;
|
|
197
230
|
},
|
|
@@ -202,6 +235,8 @@ export interface TypedErpApiFetch<Paths = Record<string, any>>
|
|
|
202
235
|
options: ErpBaseOptions & {
|
|
203
236
|
method: 'DELETE';
|
|
204
237
|
pathParams?: PathParams<DirectOperation<Paths, P & string, 'delete'>>;
|
|
238
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P & string, 'delete'>>>;
|
|
239
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
205
240
|
params?: QueryParams<DirectOperation<Paths, P & string, 'delete'>>;
|
|
206
241
|
},
|
|
207
242
|
): Promise<ErpFetchResponse<SuccessResponse<DirectOperation<Paths, P & string, 'delete'>>>>;
|
|
@@ -211,6 +246,8 @@ export interface TypedErpApiFetch<Paths = Record<string, any>>
|
|
|
211
246
|
path: P,
|
|
212
247
|
options?: ErpBaseOptions & {
|
|
213
248
|
pathParams?: PathParams<DirectOperation<Paths, P & string, 'get'>>;
|
|
249
|
+
query?: QueryOption<QueryParams<DirectOperation<Paths, P & string, 'get'>>>;
|
|
250
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
214
251
|
params?: QueryParams<DirectOperation<Paths, P & string, 'get'>>;
|
|
215
252
|
},
|
|
216
253
|
): Promise<ErpFetchResponse<SuccessResponse<DirectOperation<Paths, P & string, 'get'>>>>;
|
|
@@ -271,6 +308,8 @@ export interface TypedApiStatic<Paths = Record<string, any>>
|
|
|
271
308
|
method?: string;
|
|
272
309
|
pathParams?: Record<string, any>;
|
|
273
310
|
body?: any;
|
|
311
|
+
query?: Record<string, any>;
|
|
312
|
+
/** @deprecated Not appended to the URL, use `query` instead. */
|
|
274
313
|
params?: Record<string, any>;
|
|
275
314
|
}): ApiInstance;
|
|
276
315
|
|
package/app/Migrator.d.ts
CHANGED
|
@@ -17,8 +17,8 @@ export interface MigratorMethods
|
|
|
17
17
|
getEavGroup(groupKey: string): Promise<EavGroup>;
|
|
18
18
|
createEavGroup(eavGroup: EavGroup): Promise<EavGroup>;
|
|
19
19
|
changeEavGroup(groupKey: string, callback: (group: EavGroup) => EavGroup): Promise<EavGroup>;
|
|
20
|
-
deleteEavGroup(groupKey: string): Promise<
|
|
21
|
-
removeDataFromEavGroup(groupKey: string, attributeKeys?: string[]): Promise<
|
|
20
|
+
deleteEavGroup(groupKey: string): Promise<boolean>;
|
|
21
|
+
removeDataFromEavGroup(groupKey: string, attributeKeys?: string[]): Promise<boolean>;
|
|
22
22
|
createTextEnumGroup(textEnumGroup: TextEnumGroupCreate): Promise<TextEnumGroupCreate>;
|
|
23
23
|
registerWebhook(destinationQueue: string, url: string, destinationOwner?: string): Promise<void>;
|
|
24
24
|
deregisterWebhook(destinationQueue: string, url: string, destinationOwner?: string): Promise<void>;
|
package/app/VarioCloudApp.d.ts
CHANGED
|
@@ -33,9 +33,9 @@ export declare class BaseUrlCache
|
|
|
33
33
|
app: VarioCloudApp;
|
|
34
34
|
|
|
35
35
|
init(): Promise<void>;
|
|
36
|
-
get(): Promise<string>;
|
|
37
|
-
set(value: string): Promise<void>;
|
|
38
|
-
delete(): Promise<void>;
|
|
36
|
+
get(tenant: string): Promise<string>;
|
|
37
|
+
set(tenant: string, value: string): Promise<void>;
|
|
38
|
+
delete(tenant: string): Promise<void>;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
// -- App Configuration --
|
package/index.d.ts
CHANGED
|
@@ -4,35 +4,35 @@
|
|
|
4
4
|
|
|
5
5
|
declare module '@vario-software/vario-app-framework-backend/api/ErpApi'
|
|
6
6
|
{
|
|
7
|
-
import Api = require('
|
|
7
|
+
import Api = require('@vario-software/types/app/ErpApi');
|
|
8
8
|
export = Api;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
declare module '@vario-software/vario-app-framework-backend/api/ErpApi.js'
|
|
12
12
|
{
|
|
13
|
-
import Api = require('
|
|
13
|
+
import Api = require('@vario-software/types/app/ErpApi');
|
|
14
14
|
export = Api;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
declare module '@vario-software/vario-app-framework-backend/utils/context'
|
|
18
18
|
{
|
|
19
|
-
export * from '
|
|
19
|
+
export * from '@vario-software/types/app/context';
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
declare module '@vario-software/vario-app-framework-backend/utils/context.js'
|
|
23
23
|
{
|
|
24
|
-
export * from '
|
|
24
|
+
export * from '@vario-software/types/app/context';
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
declare module '@vario-software/vario-app-framework-backend/app'
|
|
28
28
|
{
|
|
29
|
-
const VarioCloudApp: typeof import('
|
|
29
|
+
const VarioCloudApp: typeof import('@vario-software/types/app/VarioCloudApp').VarioCloudApp;
|
|
30
30
|
export = VarioCloudApp;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
declare module '@vario-software/vario-app-framework-backend/app.js'
|
|
34
34
|
{
|
|
35
|
-
const VarioCloudApp: typeof import('
|
|
35
|
+
const VarioCloudApp: typeof import('@vario-software/types/app/VarioCloudApp').VarioCloudApp;
|
|
36
36
|
export = VarioCloudApp;
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -40,22 +40,22 @@ declare module '@vario-software/vario-app-framework-backend/app.js'
|
|
|
40
40
|
|
|
41
41
|
declare module '@vario-software/vario-app-framework-backend/utils/httpError'
|
|
42
42
|
{
|
|
43
|
-
export { HttpError as default, HttpError } from '
|
|
43
|
+
export { HttpError as default, HttpError } from '@vario-software/types/app/HttpError';
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
declare module '@vario-software/vario-app-framework-backend/utils/httpError.js'
|
|
47
47
|
{
|
|
48
|
-
export { HttpError as default, HttpError } from '
|
|
48
|
+
export { HttpError as default, HttpError } from '@vario-software/types/app/HttpError';
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
declare module '@vario-software/vario-app-framework-backend/utils/migrator'
|
|
52
52
|
{
|
|
53
|
-
export { Migrator as default, Migrator, MigratorMethods, MigratorCallback } from '
|
|
53
|
+
export { Migrator as default, Migrator, MigratorMethods, MigratorCallback } from '@vario-software/types/app/Migrator';
|
|
54
54
|
}
|
|
55
55
|
|
|
56
56
|
declare module '@vario-software/vario-app-framework-backend/utils/migrator.js'
|
|
57
57
|
{
|
|
58
|
-
export { Migrator as default, Migrator, MigratorMethods, MigratorCallback } from '
|
|
58
|
+
export { Migrator as default, Migrator, MigratorMethods, MigratorCallback } from '@vario-software/types/app/Migrator';
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
declare module '@vario-software/vario-app-framework-backend/utils/permission'
|
|
@@ -84,26 +84,26 @@ declare module '@vario-software/vario-app-framework-backend/utils/licenses.js'
|
|
|
84
84
|
|
|
85
85
|
declare module '@vario-software/vario-app-framework-backend/utils/promiseSingletonMap'
|
|
86
86
|
{
|
|
87
|
-
export { PromiseSingletonMap as default, PromiseSingletonMap } from '
|
|
87
|
+
export { PromiseSingletonMap as default, PromiseSingletonMap } from '@vario-software/types/app/PromiseSingletonMap';
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
declare module '@vario-software/vario-app-framework-backend/utils/promiseSingletonMap.js'
|
|
91
91
|
{
|
|
92
|
-
export { PromiseSingletonMap as default, PromiseSingletonMap } from '
|
|
92
|
+
export { PromiseSingletonMap as default, PromiseSingletonMap } from '@vario-software/types/app/PromiseSingletonMap';
|
|
93
93
|
}
|
|
94
94
|
|
|
95
95
|
declare module '@vario-software/vario-app-framework-backend/utils/token'
|
|
96
96
|
{
|
|
97
|
-
export function validateOfflineToken(offlineToken: string): Promise<import('
|
|
98
|
-
export function validateAppToken(appToken: string): Promise<import('
|
|
97
|
+
export function validateOfflineToken(offlineToken: string): Promise<import('@vario-software/types/app/context').AccessTokenPayload>;
|
|
98
|
+
export function validateAppToken(appToken: string): Promise<import('@vario-software/types/app/context').AccessTokenPayload>;
|
|
99
99
|
export function isAppTokenExpired(): boolean;
|
|
100
100
|
export function refreshAppToken(): Promise<void>;
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
declare module '@vario-software/vario-app-framework-backend/utils/token.js'
|
|
104
104
|
{
|
|
105
|
-
export function validateOfflineToken(offlineToken: string): Promise<import('
|
|
106
|
-
export function validateAppToken(appToken: string): Promise<import('
|
|
105
|
+
export function validateOfflineToken(offlineToken: string): Promise<import('@vario-software/types/app/context').AccessTokenPayload>;
|
|
106
|
+
export function validateAppToken(appToken: string): Promise<import('@vario-software/types/app/context').AccessTokenPayload>;
|
|
107
107
|
export function isAppTokenExpired(): boolean;
|
|
108
108
|
export function refreshAppToken(): Promise<void>;
|
|
109
109
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vario-software/types",
|
|
3
|
-
"version": "2026.43.
|
|
3
|
+
"version": "2026.43.1",
|
|
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
|
@@ -44599,7 +44599,7 @@ export interface components {
|
|
|
44599
44599
|
version?: string;
|
|
44600
44600
|
};
|
|
44601
44601
|
"erp-finance-ManualEntry": {
|
|
44602
|
-
/** @description the amount */
|
|
44602
|
+
/** @description Amount relative to the bank transaction: positive amounts use up the transaction amount, negative amounts free it. A bank fee (PAYMENT_FEE) on an incoming transaction is therefore negative. */
|
|
44603
44603
|
amount?: number;
|
|
44604
44604
|
/** @description a comment on the entry */
|
|
44605
44605
|
comment?: string;
|
|
@@ -44634,7 +44634,7 @@ export interface components {
|
|
|
44634
44634
|
"erp-finance-ManualFinanceBookingAccountDistribution": {
|
|
44635
44635
|
/** @description Cost center. */
|
|
44636
44636
|
costCenter1?: string;
|
|
44637
|
-
/** @description Distribution amount. */
|
|
44637
|
+
/** @description Distribution amount. For MANUAL a positive amount uses up the bank transaction amount, a negative amount books in the opposite direction. For PAYMENT_FEE always enter the bank fee as a positive expense, for incoming transactions it is stored with a negative sign. */
|
|
44638
44638
|
distributionAmount?: number;
|
|
44639
44639
|
/** @description Document field 1. */
|
|
44640
44640
|
documentField1?: string;
|
package/scripting/services.d.ts
CHANGED
|
@@ -1940,18 +1940,18 @@ export interface DocumentScriptingService {
|
|
|
1940
1940
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1941
1941
|
*
|
|
1942
1942
|
* @param {number} documentId - ID des Belegs
|
|
1943
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1944
1943
|
* @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
|
|
1945
1944
|
*/
|
|
1946
|
-
cancel(documentId: number
|
|
1945
|
+
cancel(documentId: number): Document;
|
|
1947
1946
|
|
|
1948
1947
|
/**
|
|
1949
1948
|
* Bricht die Bearbeitung eines Belegs ab (Transition EDIT -> SAVED)
|
|
1950
1949
|
*
|
|
1951
1950
|
* @param {number} documentId - ID des Belegs
|
|
1951
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
1952
1952
|
* @return {Document} Der abgebrochene Beleg. Falls der Beleg erst angelegt und noch nicht gespeichert wurde, wird er gelöscht und es wird {@code null} zurückgeliefert
|
|
1953
1953
|
*/
|
|
1954
|
-
cancel(documentId: number): Document;
|
|
1954
|
+
cancel(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
1955
1955
|
|
|
1956
1956
|
/**
|
|
1957
1957
|
* Changes the delivery approval of an order
|
|
@@ -2001,18 +2001,18 @@ export interface DocumentScriptingService {
|
|
|
2001
2001
|
* Löst einen Beleg auf
|
|
2002
2002
|
*
|
|
2003
2003
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
2004
|
-
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2005
2004
|
* @return {Document} Der aufgelöste Beleg
|
|
2006
2005
|
*/
|
|
2007
|
-
dissolve(documentId: number
|
|
2006
|
+
dissolve(documentId: number): Document;
|
|
2008
2007
|
|
|
2009
2008
|
/**
|
|
2010
2009
|
* Löst einen Beleg auf
|
|
2011
2010
|
*
|
|
2012
2011
|
* @param {number} documentId - ID des aufzulösenden Belegs
|
|
2012
|
+
* @param {Array<AdditionalParameter>} additionalParameters - Zusätzliche Parameter
|
|
2013
2013
|
* @return {Document} Der aufgelöste Beleg
|
|
2014
2014
|
*/
|
|
2015
|
-
dissolve(documentId: number): Document;
|
|
2015
|
+
dissolve(documentId: number, additionalParameters: Array<AdditionalParameter>): Document;
|
|
2016
2016
|
|
|
2017
2017
|
/**
|
|
2018
2018
|
* Startet die Bearbeitung eines Belegs (Transition SAVED -> EDIT)
|
|
@@ -3101,14 +3101,14 @@ export interface ScriptingServiceList {
|
|
|
3101
3101
|
crmTaskService: CrmTaskScriptingService;
|
|
3102
3102
|
|
|
3103
3103
|
/**
|
|
3104
|
-
* Service zur Verarbeitung von
|
|
3104
|
+
* Service zur Verarbeitung von Accounts
|
|
3105
3105
|
*/
|
|
3106
|
-
|
|
3106
|
+
accountService: AccountScriptingService;
|
|
3107
3107
|
|
|
3108
3108
|
/**
|
|
3109
|
-
* Service zur Verarbeitung von
|
|
3109
|
+
* Service zur Verarbeitung von Shelf-Documents
|
|
3110
3110
|
*/
|
|
3111
|
-
|
|
3111
|
+
shelfDocumentService: ShelfDocumentScriptingService;
|
|
3112
3112
|
|
|
3113
3113
|
/**
|
|
3114
3114
|
* Logging im Scripting
|
package/scripting/types.d.ts
CHANGED
|
@@ -291,26 +291,26 @@ export interface AccountAddress {
|
|
|
291
291
|
*/
|
|
292
292
|
regionRef: ApiObjectReference;
|
|
293
293
|
|
|
294
|
-
/**
|
|
295
|
-
* Title
|
|
296
|
-
*/
|
|
297
|
-
titleRef: ApiCreatableReference;
|
|
298
|
-
|
|
299
294
|
/**
|
|
300
295
|
* Post office box
|
|
301
296
|
*/
|
|
302
297
|
postOfficeBox: string;
|
|
303
298
|
|
|
304
299
|
/**
|
|
305
|
-
*
|
|
300
|
+
* Title
|
|
306
301
|
*/
|
|
307
|
-
|
|
302
|
+
titleRef: ApiCreatableReference;
|
|
308
303
|
|
|
309
304
|
/**
|
|
310
305
|
* Street
|
|
311
306
|
*/
|
|
312
307
|
street: string;
|
|
313
308
|
|
|
309
|
+
/**
|
|
310
|
+
* Country code
|
|
311
|
+
*/
|
|
312
|
+
countryCode: string;
|
|
313
|
+
|
|
314
314
|
/**
|
|
315
315
|
* Unique identifier of the Object
|
|
316
316
|
*/
|
|
@@ -397,14 +397,14 @@ export interface AccountAddress {
|
|
|
397
397
|
taxIdentificationNumber: string;
|
|
398
398
|
|
|
399
399
|
/**
|
|
400
|
-
*
|
|
400
|
+
* Parcel station
|
|
401
401
|
*/
|
|
402
|
-
|
|
402
|
+
parcelStation: string;
|
|
403
403
|
|
|
404
404
|
/**
|
|
405
|
-
*
|
|
405
|
+
* Additional address line2
|
|
406
406
|
*/
|
|
407
|
-
|
|
407
|
+
additionalAddressLine2: string;
|
|
408
408
|
|
|
409
409
|
/**
|
|
410
410
|
* Street address number
|
|
@@ -1225,14 +1225,14 @@ export interface Article {
|
|
|
1225
1225
|
workUnitInMinutes: number;
|
|
1226
1226
|
|
|
1227
1227
|
/**
|
|
1228
|
-
*
|
|
1228
|
+
* Freely pickable.
|
|
1229
1229
|
*/
|
|
1230
|
-
|
|
1230
|
+
freelyPickable: boolean;
|
|
1231
1231
|
|
|
1232
1232
|
/**
|
|
1233
|
-
*
|
|
1233
|
+
* description custom data
|
|
1234
1234
|
*/
|
|
1235
|
-
|
|
1235
|
+
listingDescriptionCustom: EavArticleListingDescription;
|
|
1236
1236
|
|
|
1237
1237
|
/**
|
|
1238
1238
|
* Is the tax liability reversed under §13b UStG?
|
|
@@ -1290,14 +1290,14 @@ export interface Article {
|
|
|
1290
1290
|
capacity: number;
|
|
1291
1291
|
|
|
1292
1292
|
/**
|
|
1293
|
-
*
|
|
1293
|
+
* Minimum remaining shelf life incoming (days): minimum remaining shelf life in days an article must still have when booked into a sales storage.
|
|
1294
1294
|
*/
|
|
1295
|
-
|
|
1295
|
+
minimumRemainingDaysBeforeExpiryDateOnGoodsReceipt: number;
|
|
1296
1296
|
|
|
1297
1297
|
/**
|
|
1298
|
-
*
|
|
1298
|
+
* gross sales prices
|
|
1299
1299
|
*/
|
|
1300
|
-
|
|
1300
|
+
grossSalesPrice: number;
|
|
1301
1301
|
|
|
1302
1302
|
/**
|
|
1303
1303
|
* Predefined production costs.
|
|
@@ -1325,14 +1325,14 @@ export interface Article {
|
|
|
1325
1325
|
shippingLabelPrinting: boolean;
|
|
1326
1326
|
|
|
1327
1327
|
/**
|
|
1328
|
-
*
|
|
1328
|
+
* Quota article.
|
|
1329
1329
|
*/
|
|
1330
|
-
|
|
1330
|
+
contingentArticleRef: ApiObjectReference;
|
|
1331
1331
|
|
|
1332
1332
|
/**
|
|
1333
|
-
*
|
|
1333
|
+
* alternative name of this product
|
|
1334
1334
|
*/
|
|
1335
|
-
|
|
1335
|
+
alternativeName: string;
|
|
1336
1336
|
|
|
1337
1337
|
/**
|
|
1338
1338
|
* Is this article eligible for discount?
|
|
@@ -1375,14 +1375,14 @@ export interface Article {
|
|
|
1375
1375
|
custom: EavArticle;
|
|
1376
1376
|
|
|
1377
1377
|
/**
|
|
1378
|
-
*
|
|
1378
|
+
* Expiry date type.
|
|
1379
1379
|
*/
|
|
1380
|
-
|
|
1380
|
+
expiryDateType: ArticleSerialExpiryDateType;
|
|
1381
1381
|
|
|
1382
1382
|
/**
|
|
1383
|
-
*
|
|
1383
|
+
* Demand determination based on reservations only.
|
|
1384
1384
|
*/
|
|
1385
|
-
|
|
1385
|
+
needsAssessmentOnlyOnReservationBasis: boolean;
|
|
1386
1386
|
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Manufacturer.
|
|
@@ -1468,14 +1468,14 @@ export interface Article$Metric {
|
|
|
1468
1468
|
sizeY: number;
|
|
1469
1469
|
|
|
1470
1470
|
/**
|
|
1471
|
-
*
|
|
1471
|
+
* size
|
|
1472
1472
|
*/
|
|
1473
|
-
|
|
1473
|
+
sizeZ: number;
|
|
1474
1474
|
|
|
1475
1475
|
/**
|
|
1476
|
-
*
|
|
1476
|
+
* weight unit
|
|
1477
1477
|
*/
|
|
1478
|
-
|
|
1478
|
+
weightUnit: UnitTypeReference;
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
1481
|
export interface ArticleAssetInformation {
|
|
@@ -1658,11 +1658,6 @@ export interface ArticleCustomer {
|
|
|
1658
1658
|
*/
|
|
1659
1659
|
defaultGrossPrice: number;
|
|
1660
1660
|
|
|
1661
|
-
/**
|
|
1662
|
-
* Article number.
|
|
1663
|
-
*/
|
|
1664
|
-
articleNumber: string;
|
|
1665
|
-
|
|
1666
1661
|
/**
|
|
1667
1662
|
* Deviating product number.
|
|
1668
1663
|
*/
|
|
@@ -1673,6 +1668,11 @@ export interface ArticleCustomer {
|
|
|
1673
1668
|
*/
|
|
1674
1669
|
priceDetermination: ArticleCustomerPriceDetermination;
|
|
1675
1670
|
|
|
1671
|
+
/**
|
|
1672
|
+
* Article number.
|
|
1673
|
+
*/
|
|
1674
|
+
articleNumber: string;
|
|
1675
|
+
|
|
1676
1676
|
/**
|
|
1677
1677
|
* Deviating product identifier (e.g. barcode).
|
|
1678
1678
|
*/
|
|
@@ -1781,14 +1781,14 @@ export interface ArticleListing {
|
|
|
1781
1781
|
proposedLowestPriceGross: number;
|
|
1782
1782
|
|
|
1783
1783
|
/**
|
|
1784
|
-
*
|
|
1784
|
+
* Sales channel.
|
|
1785
1785
|
*/
|
|
1786
|
-
|
|
1786
|
+
salesChannelRef: ApiObjectReference;
|
|
1787
1787
|
|
|
1788
1788
|
/**
|
|
1789
|
-
*
|
|
1789
|
+
* Lowest gross price of the last 30 days (user-defined input).
|
|
1790
1790
|
*/
|
|
1791
|
-
|
|
1791
|
+
customLowestPriceGross: number;
|
|
1792
1792
|
|
|
1793
1793
|
/**
|
|
1794
1794
|
* Should the article be listed?
|
|
@@ -2208,14 +2208,14 @@ export interface ArticleSupplier {
|
|
|
2208
2208
|
info: MetaInfo;
|
|
2209
2209
|
|
|
2210
2210
|
/**
|
|
2211
|
-
*
|
|
2211
|
+
* Referenced Article name
|
|
2212
2212
|
*/
|
|
2213
|
-
|
|
2213
|
+
articleName: string;
|
|
2214
2214
|
|
|
2215
2215
|
/**
|
|
2216
|
-
*
|
|
2216
|
+
* Packaging unit.
|
|
2217
2217
|
*/
|
|
2218
|
-
|
|
2218
|
+
packagingUnit: number;
|
|
2219
2219
|
|
|
2220
2220
|
/**
|
|
2221
2221
|
* Supplier prices.
|
|
@@ -2262,6 +2262,11 @@ export interface ArticleSupplier {
|
|
|
2262
2262
|
*/
|
|
2263
2263
|
defaultNetPrice: number;
|
|
2264
2264
|
|
|
2265
|
+
/**
|
|
2266
|
+
* Referenced Supplier-Account
|
|
2267
|
+
*/
|
|
2268
|
+
accountId: number;
|
|
2269
|
+
|
|
2265
2270
|
/**
|
|
2266
2271
|
* Should assemblies be ordered on a component basis?
|
|
2267
2272
|
*/
|
|
@@ -2272,11 +2277,6 @@ export interface ArticleSupplier {
|
|
|
2272
2277
|
*/
|
|
2273
2278
|
purchaseUnit: number;
|
|
2274
2279
|
|
|
2275
|
-
/**
|
|
2276
|
-
* Referenced Supplier-Account
|
|
2277
|
-
*/
|
|
2278
|
-
accountId: number;
|
|
2279
|
-
|
|
2280
2280
|
/**
|
|
2281
2281
|
* Deviating product identifier (e.g. barcode).
|
|
2282
2282
|
*/
|
|
@@ -2553,14 +2553,14 @@ export interface BundleSchema {
|
|
|
2553
2553
|
export interface BundleUnitTypeRatio {
|
|
2554
2554
|
|
|
2555
2555
|
/**
|
|
2556
|
-
*
|
|
2556
|
+
* Unit type.
|
|
2557
2557
|
*/
|
|
2558
|
-
|
|
2558
|
+
baseUnitTypeRef: UnitTypeReference;
|
|
2559
2559
|
|
|
2560
2560
|
/**
|
|
2561
|
-
*
|
|
2561
|
+
* Relation unit type.
|
|
2562
2562
|
*/
|
|
2563
|
-
|
|
2563
|
+
relationUnitTypeRef: UnitTypeReference;
|
|
2564
2564
|
|
|
2565
2565
|
/**
|
|
2566
2566
|
* Unique identifier of the Object
|
|
@@ -2807,14 +2807,14 @@ export interface CountryReference {
|
|
|
2807
2807
|
export interface CreateNewDocumentRequest {
|
|
2808
2808
|
|
|
2809
2809
|
/**
|
|
2810
|
-
* Belegart
|
|
2810
|
+
* Standard-Belegart der Kategorie verwenden
|
|
2811
2811
|
*/
|
|
2812
|
-
|
|
2812
|
+
defaultDocumentTypeByCategory: EDocumentCategory;
|
|
2813
2813
|
|
|
2814
2814
|
/**
|
|
2815
|
-
*
|
|
2815
|
+
* Belegart
|
|
2816
2816
|
*/
|
|
2817
|
-
|
|
2817
|
+
documentTypeLabel: string;
|
|
2818
2818
|
|
|
2819
2819
|
/**
|
|
2820
2820
|
* Beleg als extern erstellt kennzeichnen (extern erstellter Beleg)
|
|
@@ -2930,14 +2930,14 @@ export interface CrmActivity {
|
|
|
2930
2930
|
userRef: ApiObjectReference;
|
|
2931
2931
|
|
|
2932
2932
|
/**
|
|
2933
|
-
*
|
|
2933
|
+
* Is this a system activity?
|
|
2934
2934
|
*/
|
|
2935
|
-
|
|
2935
|
+
system: boolean;
|
|
2936
2936
|
|
|
2937
2937
|
/**
|
|
2938
|
-
*
|
|
2938
|
+
* Actual start time.
|
|
2939
2939
|
*/
|
|
2940
|
-
|
|
2940
|
+
startDateTime: ScriptingDateTime;
|
|
2941
2941
|
|
|
2942
2942
|
/**
|
|
2943
2943
|
* Activity content.
|
|
@@ -4710,6 +4710,11 @@ A negative value is the overpaid amount or change.
|
|
|
4710
4710
|
*/
|
|
4711
4711
|
returnDeliveryAddress: DocumentAddress;
|
|
4712
4712
|
|
|
4713
|
+
/**
|
|
4714
|
+
* Taxable or tax free.
|
|
4715
|
+
*/
|
|
4716
|
+
taxable: boolean;
|
|
4717
|
+
|
|
4713
4718
|
/**
|
|
4714
4719
|
* Leitweg-ID
|
|
4715
4720
|
*/
|
|
@@ -4720,11 +4725,6 @@ A negative value is the overpaid amount or change.
|
|
|
4720
4725
|
*/
|
|
4721
4726
|
referencedOrderNumber: string;
|
|
4722
4727
|
|
|
4723
|
-
/**
|
|
4724
|
-
* Taxable or tax free.
|
|
4725
|
-
*/
|
|
4726
|
-
taxable: boolean;
|
|
4727
|
-
|
|
4728
4728
|
/**
|
|
4729
4729
|
* Price adjustments - document line total, in base currency.
|
|
4730
4730
|
*/
|
|
@@ -4836,14 +4836,14 @@ A negative value is the overpaid amount or change.
|
|
|
4836
4836
|
supplierNumber: string;
|
|
4837
4837
|
|
|
4838
4838
|
/**
|
|
4839
|
-
*
|
|
4839
|
+
* Total price gross.
|
|
4840
4840
|
*/
|
|
4841
|
-
|
|
4841
|
+
totalGrossPrice: number;
|
|
4842
4842
|
|
|
4843
4843
|
/**
|
|
4844
|
-
*
|
|
4844
|
+
* Is the document released for delivery?
|
|
4845
4845
|
*/
|
|
4846
|
-
|
|
4846
|
+
deliveryApproved: boolean;
|
|
4847
4847
|
|
|
4848
4848
|
/**
|
|
4849
4849
|
* POS payment lines.
|
|
@@ -5033,14 +5033,14 @@ True when the receipt is paid.
|
|
|
5033
5033
|
dropShipping: boolean;
|
|
5034
5034
|
|
|
5035
5035
|
/**
|
|
5036
|
-
*
|
|
5036
|
+
* Total price net.
|
|
5037
5037
|
*/
|
|
5038
|
-
|
|
5038
|
+
totalNetPrice: number;
|
|
5039
5039
|
|
|
5040
5040
|
/**
|
|
5041
|
-
*
|
|
5041
|
+
* Validation status for electronic invoices.
|
|
5042
5042
|
*/
|
|
5043
|
-
|
|
5043
|
+
valitoolValidationState: EInvoiceValidationState;
|
|
5044
5044
|
|
|
5045
5045
|
/**
|
|
5046
5046
|
* Is the document published (printed, sent by email)?
|
|
@@ -5238,14 +5238,14 @@ export interface DocumentAdditionalInfo {
|
|
|
5238
5238
|
roundingMode: DocumentRounding;
|
|
5239
5239
|
|
|
5240
5240
|
/**
|
|
5241
|
-
*
|
|
5241
|
+
* Language origin.
|
|
5242
5242
|
*/
|
|
5243
|
-
|
|
5243
|
+
languageCodeOrigin: LanguageCodeOrigin;
|
|
5244
5244
|
|
|
5245
5245
|
/**
|
|
5246
|
-
*
|
|
5246
|
+
* Parameters used in the {@link DocumentContext}.
|
|
5247
5247
|
*/
|
|
5248
|
-
|
|
5248
|
+
contextParameters: Array<AdditionalParameter>;
|
|
5249
5249
|
|
|
5250
5250
|
/**
|
|
5251
5251
|
* Buyer reference origin.
|
|
@@ -5253,14 +5253,14 @@ export interface DocumentAdditionalInfo {
|
|
|
5253
5253
|
buyerReferenceOrigin: BuyerReferenceOrigin;
|
|
5254
5254
|
|
|
5255
5255
|
/**
|
|
5256
|
-
*
|
|
5256
|
+
* Calculation mode origin.
|
|
5257
5257
|
*/
|
|
5258
|
-
|
|
5258
|
+
calculationModeOrigin: CalculationModeOrigin;
|
|
5259
5259
|
|
|
5260
5260
|
/**
|
|
5261
|
-
*
|
|
5261
|
+
* Targets for the incoming goods for the whole document.
|
|
5262
5262
|
*/
|
|
5263
|
-
|
|
5263
|
+
incomingGoodsTarget: DocumentAdditionalInfo$IncomingGoodsTarget;
|
|
5264
5264
|
|
|
5265
5265
|
/**
|
|
5266
5266
|
* Electronic invoice profile origin.
|
|
@@ -5360,14 +5360,14 @@ export interface DocumentAddress {
|
|
|
5360
5360
|
postOfficeBox: string;
|
|
5361
5361
|
|
|
5362
5362
|
/**
|
|
5363
|
-
*
|
|
5363
|
+
* Street
|
|
5364
5364
|
*/
|
|
5365
|
-
|
|
5365
|
+
street: string;
|
|
5366
5366
|
|
|
5367
5367
|
/**
|
|
5368
|
-
*
|
|
5368
|
+
* country code IsoAlpha3
|
|
5369
5369
|
*/
|
|
5370
|
-
|
|
5370
|
+
countryCode: string;
|
|
5371
5371
|
|
|
5372
5372
|
/**
|
|
5373
5373
|
* Unique identifier of the Object
|
|
@@ -5425,14 +5425,14 @@ export interface DocumentAddress {
|
|
|
5425
5425
|
additionalAddressLine2: string;
|
|
5426
5426
|
|
|
5427
5427
|
/**
|
|
5428
|
-
*
|
|
5428
|
+
* Delivery terms.
|
|
5429
5429
|
*/
|
|
5430
|
-
|
|
5430
|
+
deliveryTermRef: ApiObjectReference;
|
|
5431
5431
|
|
|
5432
5432
|
/**
|
|
5433
|
-
*
|
|
5433
|
+
* Street address number
|
|
5434
5434
|
*/
|
|
5435
|
-
|
|
5435
|
+
streetAddressNumber: string;
|
|
5436
5436
|
|
|
5437
5437
|
/**
|
|
5438
5438
|
* address line 3
|
|
@@ -5450,14 +5450,14 @@ export interface DocumentAddress {
|
|
|
5450
5450
|
paymentMethodRef: ApiObjectReference;
|
|
5451
5451
|
|
|
5452
5452
|
/**
|
|
5453
|
-
*
|
|
5453
|
+
* Reference to the account.
|
|
5454
5454
|
*/
|
|
5455
|
-
|
|
5455
|
+
accountRef: ApiObjectReference;
|
|
5456
5456
|
|
|
5457
5457
|
/**
|
|
5458
|
-
*
|
|
5458
|
+
* salutation for this address
|
|
5459
5459
|
*/
|
|
5460
|
-
|
|
5460
|
+
salutation: string;
|
|
5461
5461
|
|
|
5462
5462
|
/**
|
|
5463
5463
|
* address line 2
|
|
@@ -5931,14 +5931,14 @@ export interface DocumentLine {
|
|
|
5931
5931
|
sourceLineRef: DocumentLineRef;
|
|
5932
5932
|
|
|
5933
5933
|
/**
|
|
5934
|
-
*
|
|
5934
|
+
* Voucher type to issue (VOUCHER_SALE only)
|
|
5935
5935
|
*/
|
|
5936
|
-
|
|
5936
|
+
voucherTypeRef: ApiObjectReference;
|
|
5937
5937
|
|
|
5938
5938
|
/**
|
|
5939
|
-
*
|
|
5939
|
+
* Price determination criteria.
|
|
5940
5940
|
*/
|
|
5941
|
-
|
|
5941
|
+
priceSelectionCriteria: PriceSelectionCriteria;
|
|
5942
5942
|
|
|
5943
5943
|
/**
|
|
5944
5944
|
* Unit of measure content.
|
|
@@ -6609,14 +6609,14 @@ export interface DocumentLineFabricationComponent {
|
|
|
6609
6609
|
sourceBundleArticleRef: ProductArticleRef;
|
|
6610
6610
|
|
|
6611
6611
|
/**
|
|
6612
|
-
*
|
|
6612
|
+
* Deviating production costs.
|
|
6613
6613
|
*/
|
|
6614
|
-
|
|
6614
|
+
deviatingUnitPrice: number;
|
|
6615
6615
|
|
|
6616
6616
|
/**
|
|
6617
|
-
*
|
|
6617
|
+
* Quantity.
|
|
6618
6618
|
*/
|
|
6619
|
-
|
|
6619
|
+
quantity: number;
|
|
6620
6620
|
|
|
6621
6621
|
/**
|
|
6622
6622
|
* Description.
|
|
@@ -6949,14 +6949,14 @@ export interface DocumentLineReturnDetail {
|
|
|
6949
6949
|
customerShareOnReduction: number;
|
|
6950
6950
|
|
|
6951
6951
|
/**
|
|
6952
|
-
*
|
|
6952
|
+
* Delivery term for the return (how the customer sends it back).
|
|
6953
6953
|
*/
|
|
6954
|
-
|
|
6954
|
+
deliveryTermRef: ApiObjectReference;
|
|
6955
6955
|
|
|
6956
6956
|
/**
|
|
6957
|
-
*
|
|
6957
|
+
* Wait for the return before the goods replacement (only for GOODS_EXCHANGE_ITEM_GETS_SEND_BACK)?
|
|
6958
6958
|
*/
|
|
6959
|
-
|
|
6959
|
+
waitForReturnBeforeExchange: boolean;
|
|
6960
6960
|
|
|
6961
6961
|
/**
|
|
6962
6962
|
* Reference to the return cause.
|
|
@@ -8265,14 +8265,14 @@ export const enum FabricationOfComponents {
|
|
|
8265
8265
|
export interface FabricationProduceRequest {
|
|
8266
8266
|
|
|
8267
8267
|
/**
|
|
8268
|
-
*
|
|
8268
|
+
* Confirm the material automatically.
|
|
8269
8269
|
*/
|
|
8270
|
-
|
|
8270
|
+
autoCommitComponents: boolean;
|
|
8271
8271
|
|
|
8272
8272
|
/**
|
|
8273
|
-
*
|
|
8273
|
+
* Quantity to produce.
|
|
8274
8274
|
*/
|
|
8275
|
-
|
|
8275
|
+
quantity: number;
|
|
8276
8276
|
|
|
8277
8277
|
/**
|
|
8278
8278
|
* Material to use for the fabrication.
|
|
@@ -8768,14 +8768,14 @@ export interface OpenItem {
|
|
|
8768
8768
|
paymentAmount: number;
|
|
8769
8769
|
|
|
8770
8770
|
/**
|
|
8771
|
-
*
|
|
8771
|
+
* how should a refund be done?
|
|
8772
8772
|
*/
|
|
8773
|
-
|
|
8773
|
+
refundType: OpenItem$OpenItemRefundType;
|
|
8774
8774
|
|
|
8775
8775
|
/**
|
|
8776
|
-
*
|
|
8776
|
+
* Credit note.
|
|
8777
8777
|
*/
|
|
8778
|
-
|
|
8778
|
+
creditNote: ApiObjectReference;
|
|
8779
8779
|
|
|
8780
8780
|
/**
|
|
8781
8781
|
* Booking to a supplier or a customer for manual open items.
|
|
@@ -8936,14 +8936,14 @@ export const enum OpenItemDunningState {
|
|
|
8936
8936
|
export interface OpenItemPaymentPlan {
|
|
8937
8937
|
|
|
8938
8938
|
/**
|
|
8939
|
-
*
|
|
8939
|
+
* Due date rule.
|
|
8940
8940
|
*/
|
|
8941
|
-
|
|
8941
|
+
dueDateCalculation: string;
|
|
8942
8942
|
|
|
8943
8943
|
/**
|
|
8944
|
-
*
|
|
8944
|
+
* Amount.
|
|
8945
8945
|
*/
|
|
8946
|
-
|
|
8946
|
+
amount: number;
|
|
8947
8947
|
|
|
8948
8948
|
/**
|
|
8949
8949
|
* End date.
|
|
@@ -10211,14 +10211,14 @@ export interface PicklistTemplate$OrderSelectionOptions {
|
|
|
10211
10211
|
maxOrderCount: number;
|
|
10212
10212
|
|
|
10213
10213
|
/**
|
|
10214
|
-
*
|
|
10214
|
+
* Selection by the delivery date range.
|
|
10215
10215
|
*/
|
|
10216
|
-
|
|
10216
|
+
deliveryDateRange: PicklistTemplate$DateRange;
|
|
10217
10217
|
|
|
10218
10218
|
/**
|
|
10219
|
-
*
|
|
10219
|
+
* Only fully deliverable lines.
|
|
10220
10220
|
*/
|
|
10221
|
-
|
|
10221
|
+
onlyFullDeliverableOrderLines: boolean;
|
|
10222
10222
|
|
|
10223
10223
|
/**
|
|
10224
10224
|
* Selection by the document date range.
|
|
@@ -10226,14 +10226,14 @@ export interface PicklistTemplate$OrderSelectionOptions {
|
|
|
10226
10226
|
documentDateRange: PicklistTemplate$DateRange;
|
|
10227
10227
|
|
|
10228
10228
|
/**
|
|
10229
|
-
*
|
|
10229
|
+
* Identifier of the salesChannel considered in the selection.
|
|
10230
10230
|
*/
|
|
10231
|
-
|
|
10231
|
+
salesChannelId: number;
|
|
10232
10232
|
|
|
10233
10233
|
/**
|
|
10234
|
-
*
|
|
10234
|
+
* Valid storage areas.
|
|
10235
10235
|
*/
|
|
10236
|
-
|
|
10236
|
+
storageAreaRefs: Array<ApiObjectReference>;
|
|
10237
10237
|
|
|
10238
10238
|
/**
|
|
10239
10239
|
* Only fully deliverable orders.
|
|
@@ -10298,6 +10298,11 @@ export interface PicklistTemplate$PicklistCreationOptions {
|
|
|
10298
10298
|
*/
|
|
10299
10299
|
orderPickingTrolleyGroupRef: ApiObjectReference;
|
|
10300
10300
|
|
|
10301
|
+
/**
|
|
10302
|
+
* Which report group the picklist is printed with.
|
|
10303
|
+
*/
|
|
10304
|
+
picklistOutputReportGroupRef: ApiObjectReference;
|
|
10305
|
+
|
|
10301
10306
|
/**
|
|
10302
10307
|
* Predefine the storage bins.
|
|
10303
10308
|
*/
|
|
@@ -10308,11 +10313,6 @@ export interface PicklistTemplate$PicklistCreationOptions {
|
|
|
10308
10313
|
*/
|
|
10309
10314
|
orderPickingTrolleyRef: ApiObjectReference;
|
|
10310
10315
|
|
|
10311
|
-
/**
|
|
10312
|
-
* Which report group the picklist is printed with.
|
|
10313
|
-
*/
|
|
10314
|
-
picklistOutputReportGroupRef: ApiObjectReference;
|
|
10315
|
-
|
|
10316
10316
|
/**
|
|
10317
10317
|
* Sort the picklist lines by route position.
|
|
10318
10318
|
*/
|
|
@@ -10372,14 +10372,14 @@ export interface PicklistTemplate$PicklistProcessingOptions {
|
|
|
10372
10372
|
alwaysShowDeliveryMethod: boolean;
|
|
10373
10373
|
|
|
10374
10374
|
/**
|
|
10375
|
-
*
|
|
10375
|
+
* Should the delivery documents be printed automatically after the picking is completed?
|
|
10376
10376
|
*/
|
|
10377
|
-
|
|
10377
|
+
autoPrintDeliveryDocument: boolean;
|
|
10378
10378
|
|
|
10379
10379
|
/**
|
|
10380
|
-
*
|
|
10380
|
+
* Block exceeding the maximum parcel weight?
|
|
10381
10381
|
*/
|
|
10382
|
-
|
|
10382
|
+
blockIfMaximumPackageWeightIsExceeded: boolean;
|
|
10383
10383
|
|
|
10384
10384
|
/**
|
|
10385
10385
|
* Show the shipping dialog on completion.
|
|
@@ -10391,11 +10391,6 @@ export interface PicklistTemplate$PicklistProcessingOptions {
|
|
|
10391
10391
|
*/
|
|
10392
10392
|
printLabelOnScan: boolean;
|
|
10393
10393
|
|
|
10394
|
-
/**
|
|
10395
|
-
* Should services be picked?
|
|
10396
|
-
*/
|
|
10397
|
-
allowPickingOfServiceArticles: boolean;
|
|
10398
|
-
|
|
10399
10394
|
/**
|
|
10400
10395
|
* Use the digital picklist: only the lines are shown in the frontend and confirmed by tapping or swiping.
|
|
10401
10396
|
*/
|
|
@@ -10406,6 +10401,11 @@ export interface PicklistTemplate$PicklistProcessingOptions {
|
|
|
10406
10401
|
*/
|
|
10407
10402
|
allowFullConfirmation: boolean;
|
|
10408
10403
|
|
|
10404
|
+
/**
|
|
10405
|
+
* Should services be picked?
|
|
10406
|
+
*/
|
|
10407
|
+
allowPickingOfServiceArticles: boolean;
|
|
10408
|
+
|
|
10409
10409
|
/**
|
|
10410
10410
|
* Use the sales unit as the default quantity.
|
|
10411
10411
|
*/
|
|
@@ -10422,14 +10422,14 @@ export interface PicklistTemplate$PicklistProcessingOptions {
|
|
|
10422
10422
|
printLabelOnCompleteOrder: boolean;
|
|
10423
10423
|
|
|
10424
10424
|
/**
|
|
10425
|
-
*
|
|
10425
|
+
* Rolling picking and consolidation: during picking the box has to be confirmed by scanning after an article is scanned.
|
|
10426
10426
|
*/
|
|
10427
|
-
|
|
10427
|
+
scanPickTrolleyBoxToConfirmPickedArticle: boolean;
|
|
10428
10428
|
|
|
10429
10429
|
/**
|
|
10430
|
-
*
|
|
10430
|
+
* Should the labels be printed automatically when the picking is completed?
|
|
10431
10431
|
*/
|
|
10432
|
-
|
|
10432
|
+
printLabelAfterPicking: boolean;
|
|
10433
10433
|
|
|
10434
10434
|
/**
|
|
10435
10435
|
* Confirm lots automatically when they are predefined or were already recorded during picking.
|
|
@@ -10580,14 +10580,14 @@ export interface PriceSelectionCriteria {
|
|
|
10580
10580
|
export interface Product {
|
|
10581
10581
|
|
|
10582
10582
|
/**
|
|
10583
|
-
*
|
|
10583
|
+
* A lot must be assigned when booking into a sales storage (for serial types LOT and BEST_BEFORE).
|
|
10584
10584
|
*/
|
|
10585
|
-
|
|
10585
|
+
lotOnlyRequiredWhenBookedToSalesStorage: boolean;
|
|
10586
10586
|
|
|
10587
10587
|
/**
|
|
10588
|
-
*
|
|
10588
|
+
* Customs tariff number.
|
|
10589
10589
|
*/
|
|
10590
|
-
|
|
10590
|
+
customsTariffNumber: string;
|
|
10591
10591
|
|
|
10592
10592
|
/**
|
|
10593
10593
|
* Product container schema.
|
|
@@ -10736,14 +10736,14 @@ export interface ProductArticleRef {
|
|
|
10736
10736
|
export interface ProductDiscount {
|
|
10737
10737
|
|
|
10738
10738
|
/**
|
|
10739
|
-
*
|
|
10739
|
+
* Customer group.
|
|
10740
10740
|
*/
|
|
10741
|
-
|
|
10741
|
+
customerGroupRef: ApiObjectReference;
|
|
10742
10742
|
|
|
10743
10743
|
/**
|
|
10744
|
-
*
|
|
10744
|
+
* Main article this discount is valid for.
|
|
10745
10745
|
*/
|
|
10746
|
-
|
|
10746
|
+
accessoryMainArticleRef: ApiObjectReference;
|
|
10747
10747
|
|
|
10748
10748
|
/**
|
|
10749
10749
|
* Supplier group.
|
|
@@ -10950,14 +10950,14 @@ export interface ProductMainGroup {
|
|
|
10950
10950
|
export interface ProductPrice {
|
|
10951
10951
|
|
|
10952
10952
|
/**
|
|
10953
|
-
*
|
|
10953
|
+
* Customer group.
|
|
10954
10954
|
*/
|
|
10955
|
-
|
|
10955
|
+
customerGroupRef: ApiObjectReference;
|
|
10956
10956
|
|
|
10957
10957
|
/**
|
|
10958
|
-
*
|
|
10958
|
+
* Main article this price is valid for.
|
|
10959
10959
|
*/
|
|
10960
|
-
|
|
10960
|
+
accessoryMainArticleRef: ApiObjectReference;
|
|
10961
10961
|
|
|
10962
10962
|
/**
|
|
10963
10963
|
* Purchase price for the calculation.
|
|
@@ -11245,14 +11245,14 @@ export interface RequestDocument {
|
|
|
11245
11245
|
deliveryTermId: number;
|
|
11246
11246
|
|
|
11247
11247
|
/**
|
|
11248
|
-
* Document
|
|
11248
|
+
* For internal use: the Document currency.
|
|
11249
11249
|
*/
|
|
11250
|
-
|
|
11250
|
+
currencyId: number;
|
|
11251
11251
|
|
|
11252
11252
|
/**
|
|
11253
|
-
*
|
|
11253
|
+
* Document lines.
|
|
11254
11254
|
*/
|
|
11255
|
-
|
|
11255
|
+
lines: Array<RequestDocumentLine>;
|
|
11256
11256
|
|
|
11257
11257
|
/**
|
|
11258
11258
|
* Payment reference from an external system, e.g. the transaction id of the payment provider.
|
|
@@ -11265,14 +11265,14 @@ export interface RequestDocument {
|
|
|
11265
11265
|
assemblyComponentReturnsToAddOnTransfer: Array<AssemblyComponentReturnLine>;
|
|
11266
11266
|
|
|
11267
11267
|
/**
|
|
11268
|
-
*
|
|
11268
|
+
* POS register identifier (for POS).
|
|
11269
11269
|
*/
|
|
11270
|
-
|
|
11270
|
+
posRegisterId: number;
|
|
11271
11271
|
|
|
11272
11272
|
/**
|
|
11273
|
-
*
|
|
11273
|
+
* Contract details.
|
|
11274
11274
|
*/
|
|
11275
|
-
|
|
11275
|
+
contractDetail: DocumentContractDetail;
|
|
11276
11276
|
|
|
11277
11277
|
/**
|
|
11278
11278
|
* For internal use: the Document payment term.
|
|
@@ -11452,13 +11452,13 @@ export interface RequestDocumentLine {
|
|
|
11452
11452
|
*/
|
|
11453
11453
|
supplierAccountId: number;
|
|
11454
11454
|
|
|
11455
|
+
mainArticleLinePosition: number;
|
|
11456
|
+
|
|
11455
11457
|
/**
|
|
11456
11458
|
* Quantity to process in this transaction.
|
|
11457
11459
|
*/
|
|
11458
11460
|
quantity: number;
|
|
11459
11461
|
|
|
11460
|
-
mainArticleLinePosition: number;
|
|
11461
|
-
|
|
11462
11462
|
/**
|
|
11463
11463
|
* Shipping costs with conditions.
|
|
11464
11464
|
*/
|
|
@@ -12077,14 +12077,6 @@ export interface ScriptOutputRequest {
|
|
|
12077
12077
|
*/
|
|
12078
12078
|
outputFileExport(): ScriptOutputRequest;
|
|
12079
12079
|
|
|
12080
|
-
/**
|
|
12081
|
-
* setzt den user-id
|
|
12082
|
-
*
|
|
12083
|
-
* @param {number} userId -
|
|
12084
|
-
* @return {ScriptOutputRequest}
|
|
12085
|
-
*/
|
|
12086
|
-
setUserId(userId: number): ScriptOutputRequest;
|
|
12087
|
-
|
|
12088
12080
|
/**
|
|
12089
12081
|
* setzt den export-filename
|
|
12090
12082
|
*
|
|
@@ -12117,6 +12109,14 @@ export interface ScriptOutputRequest {
|
|
|
12117
12109
|
* @return {ScriptOutputRequest}
|
|
12118
12110
|
*/
|
|
12119
12111
|
mailRecipient(emailAddress: string, alias: string): ScriptOutputRequest;
|
|
12112
|
+
|
|
12113
|
+
/**
|
|
12114
|
+
* setzt den user-id
|
|
12115
|
+
*
|
|
12116
|
+
* @param {number} userId -
|
|
12117
|
+
* @return {ScriptOutputRequest}
|
|
12118
|
+
*/
|
|
12119
|
+
setUserId(userId: number): ScriptOutputRequest;
|
|
12120
12120
|
}
|
|
12121
12121
|
|
|
12122
12122
|
/**
|
|
@@ -12567,11 +12567,11 @@ export interface ScriptingXmlWriter {
|
|
|
12567
12567
|
export interface SecureHttpClient {
|
|
12568
12568
|
|
|
12569
12569
|
/**
|
|
12570
|
-
* Erstellt einen
|
|
12570
|
+
* Erstellt einen GET-Request
|
|
12571
12571
|
*
|
|
12572
|
-
* @return {SecureHttpRequest}
|
|
12572
|
+
* @return {SecureHttpRequest} GET-Request
|
|
12573
12573
|
*/
|
|
12574
|
-
|
|
12574
|
+
createGetRequest(): SecureHttpRequest;
|
|
12575
12575
|
|
|
12576
12576
|
/**
|
|
12577
12577
|
* Erstellt einen POST-Request
|
|
@@ -12581,11 +12581,11 @@ export interface SecureHttpClient {
|
|
|
12581
12581
|
createPostRequest(): SecureHttpRequest;
|
|
12582
12582
|
|
|
12583
12583
|
/**
|
|
12584
|
-
* Erstellt einen
|
|
12584
|
+
* Erstellt einen PUT-Request
|
|
12585
12585
|
*
|
|
12586
|
-
* @return {SecureHttpRequest}
|
|
12586
|
+
* @return {SecureHttpRequest} PUT-Request
|
|
12587
12587
|
*/
|
|
12588
|
-
|
|
12588
|
+
createPutRequest(): SecureHttpRequest;
|
|
12589
12589
|
}
|
|
12590
12590
|
|
|
12591
12591
|
/**
|
|
@@ -12664,14 +12664,6 @@ export interface SecureHttpResponse {
|
|
|
12664
12664
|
*/
|
|
12665
12665
|
hasHeader(name: string): boolean;
|
|
12666
12666
|
|
|
12667
|
-
/**
|
|
12668
|
-
* Liefert den Wert eines Header als Liste
|
|
12669
|
-
*
|
|
12670
|
-
* @param {string} name - Name eines Header
|
|
12671
|
-
* @return {Array<string>} Werte eines Header als Liste
|
|
12672
|
-
*/
|
|
12673
|
-
getHeaderValueAsList(name: string): Array<string>;
|
|
12674
|
-
|
|
12675
12667
|
/**
|
|
12676
12668
|
* HTTP-Statuscode der Response
|
|
12677
12669
|
*
|
|
@@ -12701,6 +12693,14 @@ export interface SecureHttpResponse {
|
|
|
12701
12693
|
*/
|
|
12702
12694
|
getBody(): string;
|
|
12703
12695
|
|
|
12696
|
+
/**
|
|
12697
|
+
* Liefert den Wert eines Header als Liste
|
|
12698
|
+
*
|
|
12699
|
+
* @param {string} name - Name eines Header
|
|
12700
|
+
* @return {Array<string>} Werte eines Header als Liste
|
|
12701
|
+
*/
|
|
12702
|
+
getHeaderValueAsList(name: string): Array<string>;
|
|
12703
|
+
|
|
12704
12704
|
/**
|
|
12705
12705
|
* Liefert den Content-Type vom Body aus der Response
|
|
12706
12706
|
*
|
|
@@ -12962,14 +12962,14 @@ export interface ShelfDocumentAttribution {
|
|
|
12962
12962
|
shelfResourceId: number;
|
|
12963
12963
|
|
|
12964
12964
|
/**
|
|
12965
|
-
*
|
|
12965
|
+
* id of the referenced object
|
|
12966
12966
|
*/
|
|
12967
|
-
|
|
12967
|
+
refId: number;
|
|
12968
12968
|
|
|
12969
12969
|
/**
|
|
12970
|
-
*
|
|
12970
|
+
* Available image transformations.
|
|
12971
12971
|
*/
|
|
12972
|
-
|
|
12972
|
+
transformationKeys: Array<string>;
|
|
12973
12973
|
|
|
12974
12974
|
/**
|
|
12975
12975
|
* Unique identifier of the Object
|
|
@@ -13106,14 +13106,14 @@ export interface ShelfFile {
|
|
|
13106
13106
|
version: number;
|
|
13107
13107
|
|
|
13108
13108
|
/**
|
|
13109
|
-
*
|
|
13109
|
+
* current reference of this file in our storage
|
|
13110
13110
|
*/
|
|
13111
|
-
|
|
13111
|
+
storageHandle: string;
|
|
13112
13112
|
|
|
13113
13113
|
/**
|
|
13114
|
-
*
|
|
13114
|
+
* meta data
|
|
13115
13115
|
*/
|
|
13116
|
-
|
|
13116
|
+
metaDataEntries: Array<ShelfFileMetaData>;
|
|
13117
13117
|
|
|
13118
13118
|
/**
|
|
13119
13119
|
* MetaInformations for this Object
|
|
@@ -13160,14 +13160,14 @@ export interface ShelfShare {
|
|
|
13160
13160
|
publishState: ShelfSharePublishState;
|
|
13161
13161
|
|
|
13162
13162
|
/**
|
|
13163
|
-
*
|
|
13163
|
+
* Custom fields.
|
|
13164
13164
|
*/
|
|
13165
|
-
|
|
13165
|
+
custom: EavShelfshare;
|
|
13166
13166
|
|
|
13167
13167
|
/**
|
|
13168
|
-
*
|
|
13168
|
+
* For how many minutes this resource path stays accessible (null means unlimited).
|
|
13169
13169
|
*/
|
|
13170
|
-
|
|
13170
|
+
publicUrlDurationInMinutes: number;
|
|
13171
13171
|
|
|
13172
13172
|
/**
|
|
13173
13173
|
* URL path segment that gives public access to this resource.
|
|
@@ -13403,11 +13403,6 @@ export interface StockTransferApi {
|
|
|
13403
13403
|
*/
|
|
13404
13404
|
bookDate: ScriptingDate;
|
|
13405
13405
|
|
|
13406
|
-
/**
|
|
13407
|
-
* Quantity.
|
|
13408
|
-
*/
|
|
13409
|
-
quantity: number;
|
|
13410
|
-
|
|
13411
13406
|
/**
|
|
13412
13407
|
* Source storage bin.
|
|
13413
13408
|
*/
|
|
@@ -13418,6 +13413,11 @@ export interface StockTransferApi {
|
|
|
13418
13413
|
*/
|
|
13419
13414
|
ignoreExpiryDateOnStockBooking: boolean;
|
|
13420
13415
|
|
|
13416
|
+
/**
|
|
13417
|
+
* Quantity.
|
|
13418
|
+
*/
|
|
13419
|
+
quantity: number;
|
|
13420
|
+
|
|
13421
13421
|
/**
|
|
13422
13422
|
* Source storage.
|
|
13423
13423
|
*/
|
|
@@ -14166,14 +14166,14 @@ export interface User {
|
|
|
14166
14166
|
version: number;
|
|
14167
14167
|
|
|
14168
14168
|
/**
|
|
14169
|
-
*
|
|
14169
|
+
* is the email verified
|
|
14170
14170
|
*/
|
|
14171
|
-
|
|
14171
|
+
emailVerified: boolean;
|
|
14172
14172
|
|
|
14173
14173
|
/**
|
|
14174
|
-
*
|
|
14174
|
+
* first-name
|
|
14175
14175
|
*/
|
|
14176
|
-
|
|
14176
|
+
firstName: string;
|
|
14177
14177
|
|
|
14178
14178
|
/**
|
|
14179
14179
|
* email-address
|
|
@@ -14252,14 +14252,14 @@ export interface VariantAttributeListing {
|
|
|
14252
14252
|
salesChannelRef: ApiObjectReference;
|
|
14253
14253
|
|
|
14254
14254
|
/**
|
|
14255
|
-
*
|
|
14255
|
+
* Custom fields.
|
|
14256
14256
|
*/
|
|
14257
|
-
|
|
14257
|
+
custom: EavVariantattributelisting;
|
|
14258
14258
|
|
|
14259
14259
|
/**
|
|
14260
|
-
*
|
|
14260
|
+
* Variant attribute.
|
|
14261
14261
|
*/
|
|
14262
|
-
|
|
14262
|
+
variantAttributeRef: ApiObjectReference;
|
|
14263
14263
|
|
|
14264
14264
|
/**
|
|
14265
14265
|
* Unique identifier of the Object
|