@kommerz/ts-client 1.151.0 → 1.151.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/dist/apis/AccountingLedgersApi.d.ts +17 -4
- package/dist/apis/AccountingLedgersApi.js +74 -2
- package/dist/apis/AccountingTurnoversApi.d.ts +2 -1
- package/dist/apis/AccountingTurnoversApi.js +3 -0
- package/dist/models/AccountingLedgerDto.d.ts +12 -0
- package/dist/models/AccountingLedgerDto.js +4 -0
- package/dist/models/AccountingLedgerImportType.d.ts +23 -0
- package/dist/models/AccountingLedgerImportType.js +49 -0
- package/dist/models/AccountingLedgerType.d.ts +2 -2
- package/dist/models/AccountingLedgerType.js +2 -2
- package/dist/models/AccountingReceiptDto.d.ts +2 -8
- package/dist/models/AccountingReceiptDto.js +2 -4
- package/dist/models/AccountingReceiptType.d.ts +1 -0
- package/dist/models/AccountingReceiptType.js +2 -1
- package/dist/models/AccountingSplitPair.d.ts +9 -1
- package/dist/models/AccountingSplitPair.js +2 -0
- package/dist/models/AccountingTransactionDto.d.ts +7 -0
- package/dist/models/AccountingTransactionDto.js +3 -0
- package/dist/models/AccountingTransactionStatus.d.ts +25 -0
- package/dist/models/AccountingTransactionStatus.js +51 -0
- package/dist/models/AccountingTransactionTemplateDto.d.ts +1 -1
- package/dist/models/ImportTransactions200Response.d.ts +31 -0
- package/dist/models/ImportTransactions200Response.js +48 -0
- package/dist/models/SortDirection.d.ts +24 -0
- package/dist/models/SortDirection.js +50 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/package.json +1 -1
- package/dist/models/ColumnType.d.ts +0 -28
- package/dist/models/ColumnType.js +0 -54
- package/dist/models/WorkflowProcessSchemaWorkflowProcessLogDto.d.ts +0 -56
- package/dist/models/WorkflowProcessSchemaWorkflowProcessLogDto.js +0 -67
- package/dist/models/WorkflowProcessStopRequestDto.d.ts +0 -31
- package/dist/models/WorkflowProcessStopRequestDto.js +0 -48
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type { AccountingLedgerDto, ColamdaPageable, GetAllAccountingLedgers200Response } from '../models/index';
|
|
12
|
+
import type { AccountingLedgerDto, AccountingLedgerImportType, ColamdaPageable, GetAllAccountingLedgers200Response, ImportTransactions200Response } from '../models/index';
|
|
13
13
|
export interface CreateAccountingLedgerRequest {
|
|
14
|
-
accountingLedgerDto: AccountingLedgerDto
|
|
14
|
+
accountingLedgerDto: Array<AccountingLedgerDto>;
|
|
15
15
|
}
|
|
16
16
|
export interface DeleteAccountingLedgerRequest {
|
|
17
17
|
id: string;
|
|
@@ -25,6 +25,11 @@ export interface GetAllAccountingLedgersRequest {
|
|
|
25
25
|
calcCurrentBalance?: boolean;
|
|
26
26
|
notChildOf?: string;
|
|
27
27
|
}
|
|
28
|
+
export interface ImportTransactionsRequest {
|
|
29
|
+
id: string;
|
|
30
|
+
type: AccountingLedgerImportType;
|
|
31
|
+
file: Blob;
|
|
32
|
+
}
|
|
28
33
|
export interface UpdateAccountingLedgerRequest {
|
|
29
34
|
id: string;
|
|
30
35
|
accountingLedgerDto: AccountingLedgerDto;
|
|
@@ -37,11 +42,11 @@ export declare class AccountingLedgersApi extends runtime.BaseAPI {
|
|
|
37
42
|
/**
|
|
38
43
|
* Create a new accounting ledger
|
|
39
44
|
*/
|
|
40
|
-
createAccountingLedgerRaw(requestParameters: CreateAccountingLedgerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AccountingLedgerDto
|
|
45
|
+
createAccountingLedgerRaw(requestParameters: CreateAccountingLedgerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<AccountingLedgerDto>>>;
|
|
41
46
|
/**
|
|
42
47
|
* Create a new accounting ledger
|
|
43
48
|
*/
|
|
44
|
-
createAccountingLedger(requestParameters: CreateAccountingLedgerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AccountingLedgerDto
|
|
49
|
+
createAccountingLedger(requestParameters: CreateAccountingLedgerRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<AccountingLedgerDto>>;
|
|
45
50
|
/**
|
|
46
51
|
* delete a single accounting ledger
|
|
47
52
|
*/
|
|
@@ -66,6 +71,14 @@ export declare class AccountingLedgersApi extends runtime.BaseAPI {
|
|
|
66
71
|
* get all accounting ledgers
|
|
67
72
|
*/
|
|
68
73
|
getAllAccountingLedgers(requestParameters: GetAllAccountingLedgersRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<GetAllAccountingLedgers200Response>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a new accounting ledger
|
|
76
|
+
*/
|
|
77
|
+
importTransactionsRaw(requestParameters: ImportTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ImportTransactions200Response>>;
|
|
78
|
+
/**
|
|
79
|
+
* Create a new accounting ledger
|
|
80
|
+
*/
|
|
81
|
+
importTransactions(requestParameters: ImportTransactionsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ImportTransactions200Response>;
|
|
69
82
|
/**
|
|
70
83
|
* Update an accounting ledger
|
|
71
84
|
*/
|
|
@@ -95,11 +95,11 @@ var AccountingLedgersApi = /** @class */ (function (_super) {
|
|
|
95
95
|
method: 'POST',
|
|
96
96
|
headers: headerParameters,
|
|
97
97
|
query: queryParameters,
|
|
98
|
-
body:
|
|
98
|
+
body: requestParameters['accountingLedgerDto'].map(index_1.AccountingLedgerDtoToJSON),
|
|
99
99
|
}, initOverrides)];
|
|
100
100
|
case 1:
|
|
101
101
|
response = _a.sent();
|
|
102
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (
|
|
102
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return jsonValue.map(index_1.AccountingLedgerDtoFromJSON); })];
|
|
103
103
|
}
|
|
104
104
|
});
|
|
105
105
|
});
|
|
@@ -268,6 +268,78 @@ var AccountingLedgersApi = /** @class */ (function (_super) {
|
|
|
268
268
|
});
|
|
269
269
|
});
|
|
270
270
|
};
|
|
271
|
+
/**
|
|
272
|
+
* Create a new accounting ledger
|
|
273
|
+
*/
|
|
274
|
+
AccountingLedgersApi.prototype.importTransactionsRaw = function (requestParameters, initOverrides) {
|
|
275
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
276
|
+
var queryParameters, headerParameters, consumes, canConsumeForm, formParams, useForm, urlPath, response;
|
|
277
|
+
return __generator(this, function (_a) {
|
|
278
|
+
switch (_a.label) {
|
|
279
|
+
case 0:
|
|
280
|
+
if (requestParameters['id'] == null) {
|
|
281
|
+
throw new runtime.RequiredError('id', 'Required parameter "id" was null or undefined when calling importTransactions().');
|
|
282
|
+
}
|
|
283
|
+
if (requestParameters['type'] == null) {
|
|
284
|
+
throw new runtime.RequiredError('type', 'Required parameter "type" was null or undefined when calling importTransactions().');
|
|
285
|
+
}
|
|
286
|
+
if (requestParameters['file'] == null) {
|
|
287
|
+
throw new runtime.RequiredError('file', 'Required parameter "file" was null or undefined when calling importTransactions().');
|
|
288
|
+
}
|
|
289
|
+
queryParameters = {};
|
|
290
|
+
headerParameters = {};
|
|
291
|
+
consumes = [
|
|
292
|
+
{ contentType: 'multipart/form-data' },
|
|
293
|
+
];
|
|
294
|
+
canConsumeForm = runtime.canConsumeForm(consumes);
|
|
295
|
+
useForm = false;
|
|
296
|
+
// use FormData to transmit files using content-type "multipart/form-data"
|
|
297
|
+
useForm = canConsumeForm;
|
|
298
|
+
if (useForm) {
|
|
299
|
+
formParams = new FormData();
|
|
300
|
+
}
|
|
301
|
+
else {
|
|
302
|
+
formParams = new URLSearchParams();
|
|
303
|
+
}
|
|
304
|
+
if (requestParameters['type'] != null) {
|
|
305
|
+
formParams.append('type', requestParameters['type']);
|
|
306
|
+
}
|
|
307
|
+
if (requestParameters['file'] != null) {
|
|
308
|
+
formParams.append('file', requestParameters['file']);
|
|
309
|
+
}
|
|
310
|
+
urlPath = "/ui/accounting/v1/ledgers/{id}/import";
|
|
311
|
+
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
312
|
+
return [4 /*yield*/, this.request({
|
|
313
|
+
path: urlPath,
|
|
314
|
+
method: 'POST',
|
|
315
|
+
headers: headerParameters,
|
|
316
|
+
query: queryParameters,
|
|
317
|
+
body: formParams,
|
|
318
|
+
}, initOverrides)];
|
|
319
|
+
case 1:
|
|
320
|
+
response = _a.sent();
|
|
321
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ImportTransactions200ResponseFromJSON)(jsonValue); })];
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
});
|
|
325
|
+
};
|
|
326
|
+
/**
|
|
327
|
+
* Create a new accounting ledger
|
|
328
|
+
*/
|
|
329
|
+
AccountingLedgersApi.prototype.importTransactions = function (requestParameters, initOverrides) {
|
|
330
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
331
|
+
var response;
|
|
332
|
+
return __generator(this, function (_a) {
|
|
333
|
+
switch (_a.label) {
|
|
334
|
+
case 0: return [4 /*yield*/, this.importTransactionsRaw(requestParameters, initOverrides)];
|
|
335
|
+
case 1:
|
|
336
|
+
response = _a.sent();
|
|
337
|
+
return [4 /*yield*/, response.value()];
|
|
338
|
+
case 2: return [2 /*return*/, _a.sent()];
|
|
339
|
+
}
|
|
340
|
+
});
|
|
341
|
+
});
|
|
342
|
+
};
|
|
271
343
|
/**
|
|
272
344
|
* Update an accounting ledger
|
|
273
345
|
*/
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import * as runtime from '../runtime';
|
|
12
|
-
import type { AccountingTurnoverDto, ColamdaPageable, GetAllAccountingTurnover200Response } from '../models/index';
|
|
12
|
+
import type { AccountingTurnoverDto, ColamdaPageable, GetAllAccountingTurnover200Response, SortDirection } from '../models/index';
|
|
13
13
|
export interface CreateAccountingTurnoverRequest {
|
|
14
14
|
id: string;
|
|
15
15
|
accountingTurnoverDto: AccountingTurnoverDto;
|
|
@@ -26,6 +26,7 @@ export interface GetAllAccountingTurnoverRequest {
|
|
|
26
26
|
id: string;
|
|
27
27
|
pageable: ColamdaPageable;
|
|
28
28
|
filter?: Array<string>;
|
|
29
|
+
bookedDateSortDirection?: SortDirection;
|
|
29
30
|
}
|
|
30
31
|
export interface UpdateAccountingTurnoverRequest {
|
|
31
32
|
id: string;
|
|
@@ -245,6 +245,9 @@ var AccountingTurnoversApi = /** @class */ (function (_super) {
|
|
|
245
245
|
if (requestParameters['filter'] != null) {
|
|
246
246
|
queryParameters['filter'] = requestParameters['filter'];
|
|
247
247
|
}
|
|
248
|
+
if (requestParameters['bookedDateSortDirection'] != null) {
|
|
249
|
+
queryParameters['bookedDateSortDirection'] = requestParameters['bookedDateSortDirection'];
|
|
250
|
+
}
|
|
248
251
|
headerParameters = {};
|
|
249
252
|
urlPath = "/ui/accounting/v1/ledgers/{id}/turnovers";
|
|
250
253
|
urlPath = urlPath.replace("{".concat("id", "}"), encodeURIComponent(String(requestParameters['id'])));
|
|
@@ -58,6 +58,12 @@ export interface AccountingLedgerDto {
|
|
|
58
58
|
* @memberof AccountingLedgerDto
|
|
59
59
|
*/
|
|
60
60
|
targetLedgerId?: string;
|
|
61
|
+
/**
|
|
62
|
+
* Only used during creation to reference the target ledger by shorthand
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof AccountingLedgerDto
|
|
65
|
+
*/
|
|
66
|
+
targetLedgerShorthand?: string;
|
|
61
67
|
/**
|
|
62
68
|
*
|
|
63
69
|
* @type {AccountingLedgerType}
|
|
@@ -70,6 +76,12 @@ export interface AccountingLedgerDto {
|
|
|
70
76
|
* @memberof AccountingLedgerDto
|
|
71
77
|
*/
|
|
72
78
|
parentId?: string;
|
|
79
|
+
/**
|
|
80
|
+
* Only used during creation to reference the parent ledger by number
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof AccountingLedgerDto
|
|
83
|
+
*/
|
|
84
|
+
parentNumber?: string;
|
|
73
85
|
/**
|
|
74
86
|
*
|
|
75
87
|
* @type {string}
|
|
@@ -48,8 +48,10 @@ function AccountingLedgerDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
48
48
|
'taxRate': json['taxRate'] == null ? undefined : json['taxRate'],
|
|
49
49
|
'automatic': json['automatic'] == null ? undefined : json['automatic'],
|
|
50
50
|
'targetLedgerId': json['targetLedgerId'] == null ? undefined : json['targetLedgerId'],
|
|
51
|
+
'targetLedgerShorthand': json['targetLedgerShorthand'] == null ? undefined : json['targetLedgerShorthand'],
|
|
51
52
|
'type': (0, AccountingLedgerType_1.AccountingLedgerTypeFromJSON)(json['type']),
|
|
52
53
|
'parentId': json['parentId'] == null ? undefined : json['parentId'],
|
|
54
|
+
'parentNumber': json['parentNumber'] == null ? undefined : json['parentNumber'],
|
|
53
55
|
'name': json['name'],
|
|
54
56
|
'number': json['number'],
|
|
55
57
|
'shorthand': json['shorthand'] == null ? undefined : json['shorthand'],
|
|
@@ -75,8 +77,10 @@ function AccountingLedgerDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
77
|
'taxRate': value['taxRate'],
|
|
76
78
|
'automatic': value['automatic'],
|
|
77
79
|
'targetLedgerId': value['targetLedgerId'],
|
|
80
|
+
'targetLedgerShorthand': value['targetLedgerShorthand'],
|
|
78
81
|
'type': (0, AccountingLedgerType_1.AccountingLedgerTypeToJSON)(value['type']),
|
|
79
82
|
'parentId': value['parentId'],
|
|
83
|
+
'parentNumber': value['parentNumber'],
|
|
80
84
|
'name': value['name'],
|
|
81
85
|
'number': value['number'],
|
|
82
86
|
'shorthand': value['shorthand'],
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const AccountingLedgerImportType: {
|
|
16
|
+
readonly Mt940: "MT940";
|
|
17
|
+
};
|
|
18
|
+
export type AccountingLedgerImportType = typeof AccountingLedgerImportType[keyof typeof AccountingLedgerImportType];
|
|
19
|
+
export declare function instanceOfAccountingLedgerImportType(value: any): boolean;
|
|
20
|
+
export declare function AccountingLedgerImportTypeFromJSON(json: any): AccountingLedgerImportType;
|
|
21
|
+
export declare function AccountingLedgerImportTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountingLedgerImportType;
|
|
22
|
+
export declare function AccountingLedgerImportTypeToJSON(value?: AccountingLedgerImportType | null): any;
|
|
23
|
+
export declare function AccountingLedgerImportTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): AccountingLedgerImportType;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AccountingLedgerImportType = void 0;
|
|
16
|
+
exports.instanceOfAccountingLedgerImportType = instanceOfAccountingLedgerImportType;
|
|
17
|
+
exports.AccountingLedgerImportTypeFromJSON = AccountingLedgerImportTypeFromJSON;
|
|
18
|
+
exports.AccountingLedgerImportTypeFromJSONTyped = AccountingLedgerImportTypeFromJSONTyped;
|
|
19
|
+
exports.AccountingLedgerImportTypeToJSON = AccountingLedgerImportTypeToJSON;
|
|
20
|
+
exports.AccountingLedgerImportTypeToJSONTyped = AccountingLedgerImportTypeToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AccountingLedgerImportType = {
|
|
26
|
+
Mt940: 'MT940'
|
|
27
|
+
};
|
|
28
|
+
function instanceOfAccountingLedgerImportType(value) {
|
|
29
|
+
for (var key in exports.AccountingLedgerImportType) {
|
|
30
|
+
if (Object.prototype.hasOwnProperty.call(exports.AccountingLedgerImportType, key)) {
|
|
31
|
+
if (exports.AccountingLedgerImportType[key] === value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
return false;
|
|
37
|
+
}
|
|
38
|
+
function AccountingLedgerImportTypeFromJSON(json) {
|
|
39
|
+
return AccountingLedgerImportTypeFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function AccountingLedgerImportTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
42
|
+
return json;
|
|
43
|
+
}
|
|
44
|
+
function AccountingLedgerImportTypeToJSON(value) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
function AccountingLedgerImportTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
@@ -17,10 +17,10 @@ export declare const AccountingLedgerType: {
|
|
|
17
17
|
readonly Bank: "BANK";
|
|
18
18
|
readonly Stock: "STOCK";
|
|
19
19
|
readonly MutualFund: "MUTUAL_FUND";
|
|
20
|
-
readonly
|
|
20
|
+
readonly Receivable: "RECEIVABLE";
|
|
21
21
|
readonly Assets: "ASSETS";
|
|
22
22
|
readonly CreditCard: "CREDIT_CARD";
|
|
23
|
-
readonly
|
|
23
|
+
readonly Payable: "PAYABLE";
|
|
24
24
|
readonly Liability: "LIABILITY";
|
|
25
25
|
readonly Equity: "EQUITY";
|
|
26
26
|
readonly Income: "INCOME";
|
|
@@ -27,10 +27,10 @@ exports.AccountingLedgerType = {
|
|
|
27
27
|
Bank: 'BANK',
|
|
28
28
|
Stock: 'STOCK',
|
|
29
29
|
MutualFund: 'MUTUAL_FUND',
|
|
30
|
-
|
|
30
|
+
Receivable: 'RECEIVABLE',
|
|
31
31
|
Assets: 'ASSETS',
|
|
32
32
|
CreditCard: 'CREDIT_CARD',
|
|
33
|
-
|
|
33
|
+
Payable: 'PAYABLE',
|
|
34
34
|
Liability: 'LIABILITY',
|
|
35
35
|
Equity: 'EQUITY',
|
|
36
36
|
Income: 'INCOME',
|
|
@@ -56,10 +56,10 @@ export interface AccountingReceiptDto {
|
|
|
56
56
|
deliveryEndDate?: string;
|
|
57
57
|
/**
|
|
58
58
|
*
|
|
59
|
-
* @type {
|
|
59
|
+
* @type {string}
|
|
60
60
|
* @memberof AccountingReceiptDto
|
|
61
61
|
*/
|
|
62
|
-
|
|
62
|
+
dueDate?: string;
|
|
63
63
|
/**
|
|
64
64
|
*
|
|
65
65
|
* @type {AccountingReceiptType}
|
|
@@ -78,12 +78,6 @@ export interface AccountingReceiptDto {
|
|
|
78
78
|
* @memberof AccountingReceiptDto
|
|
79
79
|
*/
|
|
80
80
|
legalEntityId?: string;
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @type {string}
|
|
84
|
-
* @memberof AccountingReceiptDto
|
|
85
|
-
*/
|
|
86
|
-
ledgerId?: string;
|
|
87
81
|
/**
|
|
88
82
|
*
|
|
89
83
|
* @type {Array<string>}
|
|
@@ -45,11 +45,10 @@ function AccountingReceiptDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
45
45
|
'date': json['date'] == null ? undefined : json['date'],
|
|
46
46
|
'deliveryStartDate': json['deliveryStartDate'] == null ? undefined : json['deliveryStartDate'],
|
|
47
47
|
'deliveryEndDate': json['deliveryEndDate'] == null ? undefined : json['deliveryEndDate'],
|
|
48
|
-
'
|
|
48
|
+
'dueDate': json['dueDate'] == null ? undefined : json['dueDate'],
|
|
49
49
|
'type': json['type'] == null ? undefined : (0, AccountingReceiptType_1.AccountingReceiptTypeFromJSON)(json['type']),
|
|
50
50
|
'amount': (0, AmountDto_1.AmountDtoFromJSON)(json['amount']),
|
|
51
51
|
'legalEntityId': json['legalEntityId'] == null ? undefined : json['legalEntityId'],
|
|
52
|
-
'ledgerId': json['ledgerId'] == null ? undefined : json['ledgerId'],
|
|
53
52
|
'transactionIds': json['transactionIds'] == null ? undefined : json['transactionIds'],
|
|
54
53
|
'settlementIds': json['settlementIds'] == null ? undefined : json['settlementIds'],
|
|
55
54
|
'fileIds': json['fileIds'] == null ? undefined : json['fileIds'],
|
|
@@ -72,11 +71,10 @@ function AccountingReceiptDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
71
|
'date': value['date'],
|
|
73
72
|
'deliveryStartDate': value['deliveryStartDate'],
|
|
74
73
|
'deliveryEndDate': value['deliveryEndDate'],
|
|
75
|
-
'
|
|
74
|
+
'dueDate': value['dueDate'],
|
|
76
75
|
'type': (0, AccountingReceiptType_1.AccountingReceiptTypeToJSON)(value['type']),
|
|
77
76
|
'amount': (0, AmountDto_1.AmountDtoToJSON)(value['amount']),
|
|
78
77
|
'legalEntityId': value['legalEntityId'],
|
|
79
|
-
'ledgerId': value['ledgerId'],
|
|
80
78
|
'transactionIds': value['transactionIds'],
|
|
81
79
|
'settlementIds': value['settlementIds'],
|
|
82
80
|
'fileIds': value['fileIds'],
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
export declare const AccountingReceiptType: {
|
|
16
16
|
readonly Expense: "EXPENSE";
|
|
17
17
|
readonly Revenue: "REVENUE";
|
|
18
|
+
readonly Internal: "INTERNAL";
|
|
18
19
|
};
|
|
19
20
|
export type AccountingReceiptType = typeof AccountingReceiptType[keyof typeof AccountingReceiptType];
|
|
20
21
|
export declare function instanceOfAccountingReceiptType(value: any): boolean;
|
|
@@ -24,7 +24,8 @@ exports.AccountingReceiptTypeToJSONTyped = AccountingReceiptTypeToJSONTyped;
|
|
|
24
24
|
*/
|
|
25
25
|
exports.AccountingReceiptType = {
|
|
26
26
|
Expense: 'EXPENSE',
|
|
27
|
-
Revenue: 'REVENUE'
|
|
27
|
+
Revenue: 'REVENUE',
|
|
28
|
+
Internal: 'INTERNAL'
|
|
28
29
|
};
|
|
29
30
|
function instanceOfAccountingReceiptType(value) {
|
|
30
31
|
for (var key in exports.AccountingReceiptType) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
import type { AccountingSplitDto } from './AccountingSplitDto';
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* A split pair is used to link taxes and the main split.
|
|
14
14
|
* @export
|
|
15
15
|
* @interface AccountingSplitPair
|
|
16
16
|
*/
|
|
@@ -21,6 +21,14 @@ export interface AccountingSplitPair {
|
|
|
21
21
|
* @memberof AccountingSplitPair
|
|
22
22
|
*/
|
|
23
23
|
description?: string;
|
|
24
|
+
/**
|
|
25
|
+
* If true, the split pair is linked to the ledger of an external counter party (a debtor or creditor).
|
|
26
|
+
* There must be at most one split pair per transaction. (E.g. none, if receipt is used internally.)
|
|
27
|
+
*
|
|
28
|
+
* @type {boolean}
|
|
29
|
+
* @memberof AccountingSplitPair
|
|
30
|
+
*/
|
|
31
|
+
external?: boolean;
|
|
24
32
|
/**
|
|
25
33
|
*
|
|
26
34
|
* @type {AccountingSplitDto}
|
|
@@ -35,6 +35,7 @@ function AccountingSplitPairFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'description': json['description'] == null ? undefined : json['description'],
|
|
38
|
+
'external': json['external'] == null ? undefined : json['external'],
|
|
38
39
|
'mainSplit': (0, AccountingSplitDto_1.AccountingSplitDtoFromJSON)(json['mainSplit']),
|
|
39
40
|
'taxRate': json['taxRate'] == null ? undefined : json['taxRate'],
|
|
40
41
|
'taxSplit': json['taxSplit'] == null ? undefined : (0, AccountingSplitDto_1.AccountingSplitDtoFromJSON)(json['taxSplit']),
|
|
@@ -50,6 +51,7 @@ function AccountingSplitPairToJSONTyped(value, ignoreDiscriminator) {
|
|
|
50
51
|
}
|
|
51
52
|
return {
|
|
52
53
|
'description': value['description'],
|
|
54
|
+
'external': value['external'],
|
|
53
55
|
'mainSplit': (0, AccountingSplitDto_1.AccountingSplitDtoToJSON)(value['mainSplit']),
|
|
54
56
|
'taxRate': value['taxRate'],
|
|
55
57
|
'taxSplit': (0, AccountingSplitDto_1.AccountingSplitDtoToJSON)(value['taxSplit']),
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* Do not edit the class manually.
|
|
10
10
|
*/
|
|
11
11
|
import type { AccountingSplitDto } from './AccountingSplitDto';
|
|
12
|
+
import type { AccountingTransactionStatus } from './AccountingTransactionStatus';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,12 @@ export interface AccountingTransactionDto {
|
|
|
51
52
|
* @memberof AccountingTransactionDto
|
|
52
53
|
*/
|
|
53
54
|
receiptIds?: Array<string>;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {AccountingTransactionStatus}
|
|
58
|
+
* @memberof AccountingTransactionDto
|
|
59
|
+
*/
|
|
60
|
+
status?: AccountingTransactionStatus;
|
|
54
61
|
/**
|
|
55
62
|
*
|
|
56
63
|
* @type {Array<AccountingSplitDto>}
|
|
@@ -18,6 +18,7 @@ exports.AccountingTransactionDtoFromJSONTyped = AccountingTransactionDtoFromJSON
|
|
|
18
18
|
exports.AccountingTransactionDtoToJSON = AccountingTransactionDtoToJSON;
|
|
19
19
|
exports.AccountingTransactionDtoToJSONTyped = AccountingTransactionDtoToJSONTyped;
|
|
20
20
|
var AccountingSplitDto_1 = require("./AccountingSplitDto");
|
|
21
|
+
var AccountingTransactionStatus_1 = require("./AccountingTransactionStatus");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AccountingTransactionDto interface.
|
|
23
24
|
*/
|
|
@@ -44,6 +45,7 @@ function AccountingTransactionDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
45
|
'currency': json['currency'],
|
|
45
46
|
'description': json['description'] == null ? undefined : json['description'],
|
|
46
47
|
'receiptIds': json['receiptIds'] == null ? undefined : json['receiptIds'],
|
|
48
|
+
'status': json['status'] == null ? undefined : (0, AccountingTransactionStatus_1.AccountingTransactionStatusFromJSON)(json['status']),
|
|
47
49
|
'splits': (json['splits'].map(AccountingSplitDto_1.AccountingSplitDtoFromJSON)),
|
|
48
50
|
};
|
|
49
51
|
}
|
|
@@ -62,6 +64,7 @@ function AccountingTransactionDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
|
62
64
|
'currency': value['currency'],
|
|
63
65
|
'description': value['description'],
|
|
64
66
|
'receiptIds': value['receiptIds'],
|
|
67
|
+
'status': (0, AccountingTransactionStatus_1.AccountingTransactionStatusToJSON)(value['status']),
|
|
65
68
|
'splits': (value['splits'].map(AccountingSplitDto_1.AccountingSplitDtoToJSON)),
|
|
66
69
|
};
|
|
67
70
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const AccountingTransactionStatus: {
|
|
16
|
+
readonly Open: "OPEN";
|
|
17
|
+
readonly Accepted: "ACCEPTED";
|
|
18
|
+
readonly Fixed: "FIXED";
|
|
19
|
+
};
|
|
20
|
+
export type AccountingTransactionStatus = typeof AccountingTransactionStatus[keyof typeof AccountingTransactionStatus];
|
|
21
|
+
export declare function instanceOfAccountingTransactionStatus(value: any): boolean;
|
|
22
|
+
export declare function AccountingTransactionStatusFromJSON(json: any): AccountingTransactionStatus;
|
|
23
|
+
export declare function AccountingTransactionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): AccountingTransactionStatus;
|
|
24
|
+
export declare function AccountingTransactionStatusToJSON(value?: AccountingTransactionStatus | null): any;
|
|
25
|
+
export declare function AccountingTransactionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): AccountingTransactionStatus;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.AccountingTransactionStatus = void 0;
|
|
16
|
+
exports.instanceOfAccountingTransactionStatus = instanceOfAccountingTransactionStatus;
|
|
17
|
+
exports.AccountingTransactionStatusFromJSON = AccountingTransactionStatusFromJSON;
|
|
18
|
+
exports.AccountingTransactionStatusFromJSONTyped = AccountingTransactionStatusFromJSONTyped;
|
|
19
|
+
exports.AccountingTransactionStatusToJSON = AccountingTransactionStatusToJSON;
|
|
20
|
+
exports.AccountingTransactionStatusToJSONTyped = AccountingTransactionStatusToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.AccountingTransactionStatus = {
|
|
26
|
+
Open: 'OPEN',
|
|
27
|
+
Accepted: 'ACCEPTED',
|
|
28
|
+
Fixed: 'FIXED'
|
|
29
|
+
};
|
|
30
|
+
function instanceOfAccountingTransactionStatus(value) {
|
|
31
|
+
for (var key in exports.AccountingTransactionStatus) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(exports.AccountingTransactionStatus, key)) {
|
|
33
|
+
if (exports.AccountingTransactionStatus[key] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
function AccountingTransactionStatusFromJSON(json) {
|
|
41
|
+
return AccountingTransactionStatusFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function AccountingTransactionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
function AccountingTransactionStatusToJSON(value) {
|
|
47
|
+
return value;
|
|
48
|
+
}
|
|
49
|
+
function AccountingTransactionStatusToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
return value;
|
|
51
|
+
}
|
|
@@ -16,7 +16,7 @@ import type { AccountingSplitPair } from './AccountingSplitPair';
|
|
|
16
16
|
*/
|
|
17
17
|
export interface AccountingTransactionTemplateDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* The split pairs are used to create a transaction. Hence, the sum of the all splits must be zero.
|
|
20
20
|
* @type {Array<AccountingSplitPair>}
|
|
21
21
|
* @memberof AccountingTransactionTemplateDto
|
|
22
22
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
* @interface ImportTransactions200Response
|
|
15
|
+
*/
|
|
16
|
+
export interface ImportTransactions200Response {
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @type {string}
|
|
20
|
+
* @memberof ImportTransactions200Response
|
|
21
|
+
*/
|
|
22
|
+
message?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Check if a given object implements the ImportTransactions200Response interface.
|
|
26
|
+
*/
|
|
27
|
+
export declare function instanceOfImportTransactions200Response(value: object): value is ImportTransactions200Response;
|
|
28
|
+
export declare function ImportTransactions200ResponseFromJSON(json: any): ImportTransactions200Response;
|
|
29
|
+
export declare function ImportTransactions200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ImportTransactions200Response;
|
|
30
|
+
export declare function ImportTransactions200ResponseToJSON(json: any): ImportTransactions200Response;
|
|
31
|
+
export declare function ImportTransactions200ResponseToJSONTyped(value?: ImportTransactions200Response | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.instanceOfImportTransactions200Response = instanceOfImportTransactions200Response;
|
|
16
|
+
exports.ImportTransactions200ResponseFromJSON = ImportTransactions200ResponseFromJSON;
|
|
17
|
+
exports.ImportTransactions200ResponseFromJSONTyped = ImportTransactions200ResponseFromJSONTyped;
|
|
18
|
+
exports.ImportTransactions200ResponseToJSON = ImportTransactions200ResponseToJSON;
|
|
19
|
+
exports.ImportTransactions200ResponseToJSONTyped = ImportTransactions200ResponseToJSONTyped;
|
|
20
|
+
/**
|
|
21
|
+
* Check if a given object implements the ImportTransactions200Response interface.
|
|
22
|
+
*/
|
|
23
|
+
function instanceOfImportTransactions200Response(value) {
|
|
24
|
+
return true;
|
|
25
|
+
}
|
|
26
|
+
function ImportTransactions200ResponseFromJSON(json) {
|
|
27
|
+
return ImportTransactions200ResponseFromJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
function ImportTransactions200ResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
+
if (json == null) {
|
|
31
|
+
return json;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'message': json['message'] == null ? undefined : json['message'],
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function ImportTransactions200ResponseToJSON(json) {
|
|
38
|
+
return ImportTransactions200ResponseToJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
function ImportTransactions200ResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'message': value['message'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Kommerz API Specification
|
|
3
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
+
*
|
|
5
|
+
* Contact: info@kommerz.app
|
|
6
|
+
*
|
|
7
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
+
* https://openapi-generator.tech
|
|
9
|
+
* Do not edit the class manually.
|
|
10
|
+
*/
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
* @export
|
|
14
|
+
*/
|
|
15
|
+
export declare const SortDirection: {
|
|
16
|
+
readonly Asc: "ASC";
|
|
17
|
+
readonly Desc: "DESC";
|
|
18
|
+
};
|
|
19
|
+
export type SortDirection = typeof SortDirection[keyof typeof SortDirection];
|
|
20
|
+
export declare function instanceOfSortDirection(value: any): boolean;
|
|
21
|
+
export declare function SortDirectionFromJSON(json: any): SortDirection;
|
|
22
|
+
export declare function SortDirectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SortDirection;
|
|
23
|
+
export declare function SortDirectionToJSON(value?: SortDirection | null): any;
|
|
24
|
+
export declare function SortDirectionToJSONTyped(value: any, ignoreDiscriminator: boolean): SortDirection;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Kommerz API Specification
|
|
6
|
+
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
+
*
|
|
8
|
+
* Contact: info@kommerz.app
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.SortDirection = void 0;
|
|
16
|
+
exports.instanceOfSortDirection = instanceOfSortDirection;
|
|
17
|
+
exports.SortDirectionFromJSON = SortDirectionFromJSON;
|
|
18
|
+
exports.SortDirectionFromJSONTyped = SortDirectionFromJSONTyped;
|
|
19
|
+
exports.SortDirectionToJSON = SortDirectionToJSON;
|
|
20
|
+
exports.SortDirectionToJSONTyped = SortDirectionToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.SortDirection = {
|
|
26
|
+
Asc: 'ASC',
|
|
27
|
+
Desc: 'DESC'
|
|
28
|
+
};
|
|
29
|
+
function instanceOfSortDirection(value) {
|
|
30
|
+
for (var key in exports.SortDirection) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(exports.SortDirection, key)) {
|
|
32
|
+
if (exports.SortDirection[key] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
function SortDirectionFromJSON(json) {
|
|
40
|
+
return SortDirectionFromJSONTyped(json, false);
|
|
41
|
+
}
|
|
42
|
+
function SortDirectionFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
function SortDirectionToJSON(value) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
function SortDirectionToJSONTyped(value, ignoreDiscriminator) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './AccountingChartType';
|
|
|
15
15
|
export * from './AccountingConfigDto';
|
|
16
16
|
export * from './AccountingLedgerCustomData';
|
|
17
17
|
export * from './AccountingLedgerDto';
|
|
18
|
+
export * from './AccountingLedgerImportType';
|
|
18
19
|
export * from './AccountingLedgerType';
|
|
19
20
|
export * from './AccountingReceiptDetailsDto';
|
|
20
21
|
export * from './AccountingReceiptDto';
|
|
@@ -27,6 +28,7 @@ export * from './AccountingSettlementDto';
|
|
|
27
28
|
export * from './AccountingSplitDto';
|
|
28
29
|
export * from './AccountingSplitPair';
|
|
29
30
|
export * from './AccountingTransactionDto';
|
|
31
|
+
export * from './AccountingTransactionStatus';
|
|
30
32
|
export * from './AccountingTransactionTemplateDto';
|
|
31
33
|
export * from './AccountingTurnoverDto';
|
|
32
34
|
export * from './AcknowledgeNotificationsDto';
|
|
@@ -162,6 +164,7 @@ export * from './HospitalityReceiptDto';
|
|
|
162
164
|
export * from './HospitalityReceiptSignatureDto';
|
|
163
165
|
export * from './IdentifierDto';
|
|
164
166
|
export * from './IdentifierType';
|
|
167
|
+
export * from './ImportTransactions200Response';
|
|
165
168
|
export * from './InstituteDto';
|
|
166
169
|
export * from './InternalWorkflowProcess';
|
|
167
170
|
export * from './InternalWorkflowProcessLogDto';
|
|
@@ -217,6 +220,7 @@ export * from './RegisterUserDto';
|
|
|
217
220
|
export * from './RoleDto';
|
|
218
221
|
export * from './RunWorkflowRequest';
|
|
219
222
|
export * from './ShareOfferDto';
|
|
223
|
+
export * from './SortDirection';
|
|
220
224
|
export * from './StatisticsDataEntry';
|
|
221
225
|
export * from './StatisticsDefinitionDto';
|
|
222
226
|
export * from './StatisticsResponseDto';
|
package/dist/models/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __exportStar(require("./AccountingChartType"), exports);
|
|
|
33
33
|
__exportStar(require("./AccountingConfigDto"), exports);
|
|
34
34
|
__exportStar(require("./AccountingLedgerCustomData"), exports);
|
|
35
35
|
__exportStar(require("./AccountingLedgerDto"), exports);
|
|
36
|
+
__exportStar(require("./AccountingLedgerImportType"), exports);
|
|
36
37
|
__exportStar(require("./AccountingLedgerType"), exports);
|
|
37
38
|
__exportStar(require("./AccountingReceiptDetailsDto"), exports);
|
|
38
39
|
__exportStar(require("./AccountingReceiptDto"), exports);
|
|
@@ -45,6 +46,7 @@ __exportStar(require("./AccountingSettlementDto"), exports);
|
|
|
45
46
|
__exportStar(require("./AccountingSplitDto"), exports);
|
|
46
47
|
__exportStar(require("./AccountingSplitPair"), exports);
|
|
47
48
|
__exportStar(require("./AccountingTransactionDto"), exports);
|
|
49
|
+
__exportStar(require("./AccountingTransactionStatus"), exports);
|
|
48
50
|
__exportStar(require("./AccountingTransactionTemplateDto"), exports);
|
|
49
51
|
__exportStar(require("./AccountingTurnoverDto"), exports);
|
|
50
52
|
__exportStar(require("./AcknowledgeNotificationsDto"), exports);
|
|
@@ -180,6 +182,7 @@ __exportStar(require("./HospitalityReceiptDto"), exports);
|
|
|
180
182
|
__exportStar(require("./HospitalityReceiptSignatureDto"), exports);
|
|
181
183
|
__exportStar(require("./IdentifierDto"), exports);
|
|
182
184
|
__exportStar(require("./IdentifierType"), exports);
|
|
185
|
+
__exportStar(require("./ImportTransactions200Response"), exports);
|
|
183
186
|
__exportStar(require("./InstituteDto"), exports);
|
|
184
187
|
__exportStar(require("./InternalWorkflowProcess"), exports);
|
|
185
188
|
__exportStar(require("./InternalWorkflowProcessLogDto"), exports);
|
|
@@ -235,6 +238,7 @@ __exportStar(require("./RegisterUserDto"), exports);
|
|
|
235
238
|
__exportStar(require("./RoleDto"), exports);
|
|
236
239
|
__exportStar(require("./RunWorkflowRequest"), exports);
|
|
237
240
|
__exportStar(require("./ShareOfferDto"), exports);
|
|
241
|
+
__exportStar(require("./SortDirection"), exports);
|
|
238
242
|
__exportStar(require("./StatisticsDataEntry"), exports);
|
|
239
243
|
__exportStar(require("./StatisticsDefinitionDto"), exports);
|
|
240
244
|
__exportStar(require("./StatisticsResponseDto"), exports);
|
package/package.json
CHANGED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Kommerz API Specification
|
|
3
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
-
*
|
|
5
|
-
* Contact: info@kommerz.app
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @export
|
|
14
|
-
*/
|
|
15
|
-
export declare const ColumnType: {
|
|
16
|
-
readonly String: "STRING";
|
|
17
|
-
readonly Number: "NUMBER";
|
|
18
|
-
readonly Boolean: "BOOLEAN";
|
|
19
|
-
readonly LocalDate: "LOCAL_DATE";
|
|
20
|
-
readonly LocalDateTime: "LOCAL_DATE_TIME";
|
|
21
|
-
readonly Reference: "REFERENCE";
|
|
22
|
-
};
|
|
23
|
-
export type ColumnType = typeof ColumnType[keyof typeof ColumnType];
|
|
24
|
-
export declare function instanceOfColumnType(value: any): boolean;
|
|
25
|
-
export declare function ColumnTypeFromJSON(json: any): ColumnType;
|
|
26
|
-
export declare function ColumnTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ColumnType;
|
|
27
|
-
export declare function ColumnTypeToJSON(value?: ColumnType | null): any;
|
|
28
|
-
export declare function ColumnTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ColumnType;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Kommerz API Specification
|
|
6
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
-
*
|
|
8
|
-
* Contact: info@kommerz.app
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.ColumnType = void 0;
|
|
16
|
-
exports.instanceOfColumnType = instanceOfColumnType;
|
|
17
|
-
exports.ColumnTypeFromJSON = ColumnTypeFromJSON;
|
|
18
|
-
exports.ColumnTypeFromJSONTyped = ColumnTypeFromJSONTyped;
|
|
19
|
-
exports.ColumnTypeToJSON = ColumnTypeToJSON;
|
|
20
|
-
exports.ColumnTypeToJSONTyped = ColumnTypeToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
*
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.ColumnType = {
|
|
26
|
-
String: 'STRING',
|
|
27
|
-
Number: 'NUMBER',
|
|
28
|
-
Boolean: 'BOOLEAN',
|
|
29
|
-
LocalDate: 'LOCAL_DATE',
|
|
30
|
-
LocalDateTime: 'LOCAL_DATE_TIME',
|
|
31
|
-
Reference: 'REFERENCE'
|
|
32
|
-
};
|
|
33
|
-
function instanceOfColumnType(value) {
|
|
34
|
-
for (var key in exports.ColumnType) {
|
|
35
|
-
if (Object.prototype.hasOwnProperty.call(exports.ColumnType, key)) {
|
|
36
|
-
if (exports.ColumnType[key] === value) {
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
return false;
|
|
42
|
-
}
|
|
43
|
-
function ColumnTypeFromJSON(json) {
|
|
44
|
-
return ColumnTypeFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function ColumnTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
return json;
|
|
48
|
-
}
|
|
49
|
-
function ColumnTypeToJSON(value) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
function ColumnTypeToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Kommerz API Specification
|
|
3
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
-
*
|
|
5
|
-
* Contact: info@kommerz.app
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
import type { WorkflowProcessLogType } from './WorkflowProcessLogType';
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface WorkflowProcessSchemaWorkflowProcessLogDto
|
|
16
|
-
*/
|
|
17
|
-
export interface WorkflowProcessSchemaWorkflowProcessLogDto {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof WorkflowProcessSchemaWorkflowProcessLogDto
|
|
22
|
-
*/
|
|
23
|
-
id: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof WorkflowProcessSchemaWorkflowProcessLogDto
|
|
28
|
-
*/
|
|
29
|
-
version: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof WorkflowProcessSchemaWorkflowProcessLogDto
|
|
34
|
-
*/
|
|
35
|
-
workflowProcessId: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {WorkflowProcessLogType}
|
|
39
|
-
* @memberof WorkflowProcessSchemaWorkflowProcessLogDto
|
|
40
|
-
*/
|
|
41
|
-
type: WorkflowProcessLogType;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof WorkflowProcessSchemaWorkflowProcessLogDto
|
|
46
|
-
*/
|
|
47
|
-
message: string;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the WorkflowProcessSchemaWorkflowProcessLogDto interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfWorkflowProcessSchemaWorkflowProcessLogDto(value: object): value is WorkflowProcessSchemaWorkflowProcessLogDto;
|
|
53
|
-
export declare function WorkflowProcessSchemaWorkflowProcessLogDtoFromJSON(json: any): WorkflowProcessSchemaWorkflowProcessLogDto;
|
|
54
|
-
export declare function WorkflowProcessSchemaWorkflowProcessLogDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowProcessSchemaWorkflowProcessLogDto;
|
|
55
|
-
export declare function WorkflowProcessSchemaWorkflowProcessLogDtoToJSON(json: any): WorkflowProcessSchemaWorkflowProcessLogDto;
|
|
56
|
-
export declare function WorkflowProcessSchemaWorkflowProcessLogDtoToJSONTyped(value?: WorkflowProcessSchemaWorkflowProcessLogDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Kommerz API Specification
|
|
6
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
-
*
|
|
8
|
-
* Contact: info@kommerz.app
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.instanceOfWorkflowProcessSchemaWorkflowProcessLogDto = instanceOfWorkflowProcessSchemaWorkflowProcessLogDto;
|
|
16
|
-
exports.WorkflowProcessSchemaWorkflowProcessLogDtoFromJSON = WorkflowProcessSchemaWorkflowProcessLogDtoFromJSON;
|
|
17
|
-
exports.WorkflowProcessSchemaWorkflowProcessLogDtoFromJSONTyped = WorkflowProcessSchemaWorkflowProcessLogDtoFromJSONTyped;
|
|
18
|
-
exports.WorkflowProcessSchemaWorkflowProcessLogDtoToJSON = WorkflowProcessSchemaWorkflowProcessLogDtoToJSON;
|
|
19
|
-
exports.WorkflowProcessSchemaWorkflowProcessLogDtoToJSONTyped = WorkflowProcessSchemaWorkflowProcessLogDtoToJSONTyped;
|
|
20
|
-
var WorkflowProcessLogType_1 = require("./WorkflowProcessLogType");
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the WorkflowProcessSchemaWorkflowProcessLogDto interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfWorkflowProcessSchemaWorkflowProcessLogDto(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('version' in value) || value['version'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('workflowProcessId' in value) || value['workflowProcessId'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('type' in value) || value['type'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
if (!('message' in value) || value['message'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
function WorkflowProcessSchemaWorkflowProcessLogDtoFromJSON(json) {
|
|
38
|
-
return WorkflowProcessSchemaWorkflowProcessLogDtoFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function WorkflowProcessSchemaWorkflowProcessLogDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
41
|
-
if (json == null) {
|
|
42
|
-
return json;
|
|
43
|
-
}
|
|
44
|
-
return {
|
|
45
|
-
'id': json['id'],
|
|
46
|
-
'version': json['version'],
|
|
47
|
-
'workflowProcessId': json['workflowProcessId'],
|
|
48
|
-
'type': (0, WorkflowProcessLogType_1.WorkflowProcessLogTypeFromJSON)(json['type']),
|
|
49
|
-
'message': json['message'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function WorkflowProcessSchemaWorkflowProcessLogDtoToJSON(json) {
|
|
53
|
-
return WorkflowProcessSchemaWorkflowProcessLogDtoToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function WorkflowProcessSchemaWorkflowProcessLogDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
56
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
'id': value['id'],
|
|
62
|
-
'version': value['version'],
|
|
63
|
-
'workflowProcessId': value['workflowProcessId'],
|
|
64
|
-
'type': (0, WorkflowProcessLogType_1.WorkflowProcessLogTypeToJSON)(value['type']),
|
|
65
|
-
'message': value['message'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Kommerz API Specification
|
|
3
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
4
|
-
*
|
|
5
|
-
* Contact: info@kommerz.app
|
|
6
|
-
*
|
|
7
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
8
|
-
* https://openapi-generator.tech
|
|
9
|
-
* Do not edit the class manually.
|
|
10
|
-
*/
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @export
|
|
14
|
-
* @interface WorkflowProcessStopRequestDto
|
|
15
|
-
*/
|
|
16
|
-
export interface WorkflowProcessStopRequestDto {
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @type {string}
|
|
20
|
-
* @memberof WorkflowProcessStopRequestDto
|
|
21
|
-
*/
|
|
22
|
-
reason?: string;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Check if a given object implements the WorkflowProcessStopRequestDto interface.
|
|
26
|
-
*/
|
|
27
|
-
export declare function instanceOfWorkflowProcessStopRequestDto(value: object): value is WorkflowProcessStopRequestDto;
|
|
28
|
-
export declare function WorkflowProcessStopRequestDtoFromJSON(json: any): WorkflowProcessStopRequestDto;
|
|
29
|
-
export declare function WorkflowProcessStopRequestDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): WorkflowProcessStopRequestDto;
|
|
30
|
-
export declare function WorkflowProcessStopRequestDtoToJSON(json: any): WorkflowProcessStopRequestDto;
|
|
31
|
-
export declare function WorkflowProcessStopRequestDtoToJSONTyped(value?: WorkflowProcessStopRequestDto | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* Kommerz API Specification
|
|
6
|
-
* API specification for Kommerz Services. - /ui/ for services consumed by the frontend - /intern/ for internal administration endpoints - /extern/ for services consumed by external services - /stats/ for monitoring endpoints - /actuator/ for health endpoints (e.g. /actuator/health ) All endpoints are postfixed with a version number.
|
|
7
|
-
*
|
|
8
|
-
* Contact: info@kommerz.app
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
-
exports.instanceOfWorkflowProcessStopRequestDto = instanceOfWorkflowProcessStopRequestDto;
|
|
16
|
-
exports.WorkflowProcessStopRequestDtoFromJSON = WorkflowProcessStopRequestDtoFromJSON;
|
|
17
|
-
exports.WorkflowProcessStopRequestDtoFromJSONTyped = WorkflowProcessStopRequestDtoFromJSONTyped;
|
|
18
|
-
exports.WorkflowProcessStopRequestDtoToJSON = WorkflowProcessStopRequestDtoToJSON;
|
|
19
|
-
exports.WorkflowProcessStopRequestDtoToJSONTyped = WorkflowProcessStopRequestDtoToJSONTyped;
|
|
20
|
-
/**
|
|
21
|
-
* Check if a given object implements the WorkflowProcessStopRequestDto interface.
|
|
22
|
-
*/
|
|
23
|
-
function instanceOfWorkflowProcessStopRequestDto(value) {
|
|
24
|
-
return true;
|
|
25
|
-
}
|
|
26
|
-
function WorkflowProcessStopRequestDtoFromJSON(json) {
|
|
27
|
-
return WorkflowProcessStopRequestDtoFromJSONTyped(json, false);
|
|
28
|
-
}
|
|
29
|
-
function WorkflowProcessStopRequestDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
30
|
-
if (json == null) {
|
|
31
|
-
return json;
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
'reason': json['reason'] == null ? undefined : json['reason'],
|
|
35
|
-
};
|
|
36
|
-
}
|
|
37
|
-
function WorkflowProcessStopRequestDtoToJSON(json) {
|
|
38
|
-
return WorkflowProcessStopRequestDtoToJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
function WorkflowProcessStopRequestDtoToJSONTyped(value, ignoreDiscriminator) {
|
|
41
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
42
|
-
if (value == null) {
|
|
43
|
-
return value;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
'reason': value['reason'],
|
|
47
|
-
};
|
|
48
|
-
}
|