@emilgroup/settlement-sdk 0.3.1-beta.6
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/.openapi-generator/FILES +25 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/health-api.ts +120 -0
- package/api/settlements-api.ts +676 -0
- package/api.ts +29 -0
- package/base.ts +282 -0
- package/common.ts +198 -0
- package/configuration.ts +110 -0
- package/dist/api/health-api.d.ts +66 -0
- package/dist/api/health-api.js +196 -0
- package/dist/api/settlements-api.d.ts +383 -0
- package/dist/api/settlements-api.js +637 -0
- package/dist/api.d.ts +13 -0
- package/dist/api.js +31 -0
- package/dist/base.d.ts +77 -0
- package/dist/base.js +324 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +89 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/add-settlement-entry-response-class.d.ts +25 -0
- package/dist/models/add-settlement-entry-response-class.js +15 -0
- package/dist/models/create-settlement-request-dto.d.ts +42 -0
- package/dist/models/create-settlement-request-dto.js +20 -0
- package/dist/models/create-settlement-response-class.d.ts +25 -0
- package/dist/models/create-settlement-response-class.js +15 -0
- package/dist/models/get-settlement-response-class.d.ts +25 -0
- package/dist/models/get-settlement-response-class.js +15 -0
- package/dist/models/index.d.ts +10 -0
- package/dist/models/index.js +26 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-settlements-response-class.d.ts +43 -0
- package/dist/models/list-settlements-response-class.js +15 -0
- package/dist/models/settlement-class.d.ts +134 -0
- package/dist/models/settlement-class.js +38 -0
- package/dist/models/settlement-entry-class.d.ts +119 -0
- package/dist/models/settlement-entry-class.js +20 -0
- package/dist/models/settlement-entry-input-dto.d.ts +103 -0
- package/dist/models/settlement-entry-input-dto.js +43 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/add-settlement-entry-response-class.ts +31 -0
- package/models/create-settlement-request-dto.ts +51 -0
- package/models/create-settlement-response-class.ts +31 -0
- package/models/get-settlement-response-class.ts +31 -0
- package/models/index.ts +10 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-settlements-response-class.ts +49 -0
- package/models/settlement-class.ts +145 -0
- package/models/settlement-entry-class.ts +128 -0
- package/models/settlement-entry-input-dto.ts +115 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
package/git_push.sh
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
|
|
3
|
+
#
|
|
4
|
+
# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
|
|
5
|
+
|
|
6
|
+
git_user_id=$1
|
|
7
|
+
git_repo_id=$2
|
|
8
|
+
release_note=$3
|
|
9
|
+
git_host=$4
|
|
10
|
+
|
|
11
|
+
if [ "$git_host" = "" ]; then
|
|
12
|
+
git_host="github.com"
|
|
13
|
+
echo "[INFO] No command line input provided. Set \$git_host to $git_host"
|
|
14
|
+
fi
|
|
15
|
+
|
|
16
|
+
if [ "$git_user_id" = "" ]; then
|
|
17
|
+
git_user_id="Emil"
|
|
18
|
+
echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
|
|
19
|
+
fi
|
|
20
|
+
|
|
21
|
+
if [ "$git_repo_id" = "" ]; then
|
|
22
|
+
git_repo_id="settlement-sdk"
|
|
23
|
+
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
|
|
24
|
+
fi
|
|
25
|
+
|
|
26
|
+
if [ "$release_note" = "" ]; then
|
|
27
|
+
release_note="Minor update"
|
|
28
|
+
echo "[INFO] No command line input provided. Set \$release_note to $release_note"
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
# Initialize the local directory as a Git repository
|
|
32
|
+
git init
|
|
33
|
+
|
|
34
|
+
# Adds the files in the local repository and stages them for commit.
|
|
35
|
+
git add .
|
|
36
|
+
|
|
37
|
+
# Commits the tracked changes and prepares them to be pushed to a remote repository.
|
|
38
|
+
git commit -m "$release_note"
|
|
39
|
+
|
|
40
|
+
# Sets the new remote
|
|
41
|
+
git_remote=$(git remote)
|
|
42
|
+
if [ "$git_remote" = "" ]; then # git remote not defined
|
|
43
|
+
|
|
44
|
+
if [ "$GIT_TOKEN" = "" ]; then
|
|
45
|
+
echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
|
|
46
|
+
git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
|
|
47
|
+
else
|
|
48
|
+
git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
|
|
49
|
+
fi
|
|
50
|
+
|
|
51
|
+
fi
|
|
52
|
+
|
|
53
|
+
git pull origin master
|
|
54
|
+
|
|
55
|
+
# Pushes (Forces) the changes in the local repository up to the remote repository
|
|
56
|
+
echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
|
|
57
|
+
git push origin master 2>&1 | grep -v 'To https'
|
package/index.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
export { Environment, BaseAPI } from "./base";
|
|
17
|
+
export * from "./api";
|
|
18
|
+
export * from "./configuration";
|
|
19
|
+
export * from "./models";
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { SettlementClass } from './settlement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AddSettlementEntryResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface AddSettlementEntryResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* settlement
|
|
26
|
+
* @type {SettlementClass}
|
|
27
|
+
* @memberof AddSettlementEntryResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'settlement'?: SettlementClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { SettlementEntryInputDto } from './settlement-entry-input-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateSettlementRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateSettlementRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* Status of the settlement
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateSettlementRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'status'?: CreateSettlementRequestDtoStatusEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Code of the partner that is initiating the settlement
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateSettlementRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* At least one entry required; currency and domain of the settlement are inferred from the first entry.
|
|
38
|
+
* @type {Array<SettlementEntryInputDto>}
|
|
39
|
+
* @memberof CreateSettlementRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'initialEntries': Array<SettlementEntryInputDto>;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export const CreateSettlementRequestDtoStatusEnum = {
|
|
45
|
+
Open: 'open',
|
|
46
|
+
Closed: 'closed'
|
|
47
|
+
} as const;
|
|
48
|
+
|
|
49
|
+
export type CreateSettlementRequestDtoStatusEnum = typeof CreateSettlementRequestDtoStatusEnum[keyof typeof CreateSettlementRequestDtoStatusEnum];
|
|
50
|
+
|
|
51
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { SettlementClass } from './settlement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateSettlementResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateSettlementResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* settlement
|
|
26
|
+
* @type {SettlementClass}
|
|
27
|
+
* @memberof CreateSettlementResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'settlement'?: SettlementClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { SettlementClass } from './settlement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetSettlementResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetSettlementResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* settlement
|
|
26
|
+
* @type {SettlementClass}
|
|
27
|
+
* @memberof GetSettlementResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'settlement'?: SettlementClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './add-settlement-entry-response-class';
|
|
2
|
+
export * from './create-settlement-request-dto';
|
|
3
|
+
export * from './create-settlement-response-class';
|
|
4
|
+
export * from './get-settlement-response-class';
|
|
5
|
+
export * from './inline-response200';
|
|
6
|
+
export * from './inline-response503';
|
|
7
|
+
export * from './list-settlements-response-class';
|
|
8
|
+
export * from './settlement-class';
|
|
9
|
+
export * from './settlement-entry-class';
|
|
10
|
+
export * from './settlement-entry-input-dto';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse200
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse200 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse200
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
|
+
* @memberof InlineResponse200
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
|
+
* @memberof InlineResponse200
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
|
+
* @memberof InlineResponse200
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface InlineResponse503
|
|
21
|
+
*/
|
|
22
|
+
export interface InlineResponse503 {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof InlineResponse503
|
|
27
|
+
*/
|
|
28
|
+
'status'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
|
+
* @memberof InlineResponse503
|
|
33
|
+
*/
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
|
+
* @memberof InlineResponse503
|
|
39
|
+
*/
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
|
+
* @memberof InlineResponse503
|
|
45
|
+
*/
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { SettlementClass } from './settlement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListSettlementsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListSettlementsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* items
|
|
26
|
+
* @type {Array<SettlementClass>}
|
|
27
|
+
* @memberof ListSettlementsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<SettlementClass>;
|
|
30
|
+
/**
|
|
31
|
+
* nextPageToken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListSettlementsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* itemsPerPage
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListSettlementsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* totalItems
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListSettlementsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
import { SettlementEntryClass } from './settlement-entry-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface SettlementClass
|
|
22
|
+
*/
|
|
23
|
+
export interface SettlementClass {
|
|
24
|
+
/**
|
|
25
|
+
* ID of the settlement
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SettlementClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* Code of the settlement
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SettlementClass
|
|
34
|
+
*/
|
|
35
|
+
'code': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of the settlement
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SettlementClass
|
|
40
|
+
*/
|
|
41
|
+
'settlementNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Code of the partner
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SettlementClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* Currency of the settlement
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SettlementClass
|
|
52
|
+
*/
|
|
53
|
+
'currency': SettlementClassCurrencyEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Balance of the settlement
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SettlementClass
|
|
58
|
+
*/
|
|
59
|
+
'balance': number;
|
|
60
|
+
/**
|
|
61
|
+
* Status of the settlement
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SettlementClass
|
|
64
|
+
*/
|
|
65
|
+
'status': SettlementClassStatusEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Type of the domain entity
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SettlementClass
|
|
70
|
+
*/
|
|
71
|
+
'domainEntityType': SettlementClassDomainEntityTypeEnum;
|
|
72
|
+
/**
|
|
73
|
+
* Code of the domain entity
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof SettlementClass
|
|
76
|
+
*/
|
|
77
|
+
'domainEntityCode': string;
|
|
78
|
+
/**
|
|
79
|
+
* Number of the domain entity
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof SettlementClass
|
|
82
|
+
*/
|
|
83
|
+
'domainEntityNumber': string;
|
|
84
|
+
/**
|
|
85
|
+
* settlementEntries
|
|
86
|
+
* @type {Array<SettlementEntryClass>}
|
|
87
|
+
* @memberof SettlementClass
|
|
88
|
+
*/
|
|
89
|
+
'settlementEntries': Array<SettlementEntryClass>;
|
|
90
|
+
/**
|
|
91
|
+
* Time at which the object was created.
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SettlementClass
|
|
94
|
+
*/
|
|
95
|
+
'createdAt': string;
|
|
96
|
+
/**
|
|
97
|
+
* Time at which the object was updated.
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SettlementClass
|
|
100
|
+
*/
|
|
101
|
+
'updatedAt': string;
|
|
102
|
+
/**
|
|
103
|
+
* Identifier of the user who created the record.
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof SettlementClass
|
|
106
|
+
*/
|
|
107
|
+
'createdBy': string;
|
|
108
|
+
/**
|
|
109
|
+
* Identifier of the user who last updated the record.
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof SettlementClass
|
|
112
|
+
*/
|
|
113
|
+
'updatedBy': string;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export const SettlementClassCurrencyEnum = {
|
|
117
|
+
Eur: 'EUR',
|
|
118
|
+
Usd: 'USD',
|
|
119
|
+
Gbp: 'GBP',
|
|
120
|
+
Chf: 'CHF',
|
|
121
|
+
Pln: 'PLN',
|
|
122
|
+
Aud: 'AUD',
|
|
123
|
+
Cad: 'CAD',
|
|
124
|
+
Ddk: 'DDK',
|
|
125
|
+
Huf: 'HUF',
|
|
126
|
+
Nok: 'NOK',
|
|
127
|
+
Sek: 'SEK'
|
|
128
|
+
} as const;
|
|
129
|
+
|
|
130
|
+
export type SettlementClassCurrencyEnum = typeof SettlementClassCurrencyEnum[keyof typeof SettlementClassCurrencyEnum];
|
|
131
|
+
export const SettlementClassStatusEnum = {
|
|
132
|
+
Open: 'open',
|
|
133
|
+
Closed: 'closed'
|
|
134
|
+
} as const;
|
|
135
|
+
|
|
136
|
+
export type SettlementClassStatusEnum = typeof SettlementClassStatusEnum[keyof typeof SettlementClassStatusEnum];
|
|
137
|
+
export const SettlementClassDomainEntityTypeEnum = {
|
|
138
|
+
Other: 'other',
|
|
139
|
+
Claim: 'claim',
|
|
140
|
+
Policy: 'policy'
|
|
141
|
+
} as const;
|
|
142
|
+
|
|
143
|
+
export type SettlementClassDomainEntityTypeEnum = typeof SettlementClassDomainEntityTypeEnum[keyof typeof SettlementClassDomainEntityTypeEnum];
|
|
144
|
+
|
|
145
|
+
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL SettlementService
|
|
5
|
+
* The EMIL SettlementService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
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
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface SettlementEntryClass
|
|
21
|
+
*/
|
|
22
|
+
export interface SettlementEntryClass {
|
|
23
|
+
/**
|
|
24
|
+
* id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof SettlementEntryClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* code
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof SettlementEntryClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
35
|
+
/**
|
|
36
|
+
* settlementCode
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof SettlementEntryClass
|
|
39
|
+
*/
|
|
40
|
+
'settlementCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* financialEntityCode
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof SettlementEntryClass
|
|
45
|
+
*/
|
|
46
|
+
'financialEntityCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* financialEntityType
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof SettlementEntryClass
|
|
51
|
+
*/
|
|
52
|
+
'financialEntityType': string;
|
|
53
|
+
/**
|
|
54
|
+
* domainEntityCode
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof SettlementEntryClass
|
|
57
|
+
*/
|
|
58
|
+
'domainEntityCode': string;
|
|
59
|
+
/**
|
|
60
|
+
* domainEntityNumber
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof SettlementEntryClass
|
|
63
|
+
*/
|
|
64
|
+
'domainEntityNumber': string;
|
|
65
|
+
/**
|
|
66
|
+
* domainEntityType
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof SettlementEntryClass
|
|
69
|
+
*/
|
|
70
|
+
'domainEntityType': string;
|
|
71
|
+
/**
|
|
72
|
+
* A description of the origin of the entry
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof SettlementEntryClass
|
|
75
|
+
*/
|
|
76
|
+
'details'?: string;
|
|
77
|
+
/**
|
|
78
|
+
* amount
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof SettlementEntryClass
|
|
81
|
+
*/
|
|
82
|
+
'amount': number;
|
|
83
|
+
/**
|
|
84
|
+
* currency
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof SettlementEntryClass
|
|
87
|
+
*/
|
|
88
|
+
'currency': string;
|
|
89
|
+
/**
|
|
90
|
+
* type can either be DEBIT or CREDIT
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof SettlementEntryClass
|
|
93
|
+
*/
|
|
94
|
+
'type': SettlementEntryClassTypeEnum;
|
|
95
|
+
/**
|
|
96
|
+
* Time at which the object was created.
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof SettlementEntryClass
|
|
99
|
+
*/
|
|
100
|
+
'createdAt': string;
|
|
101
|
+
/**
|
|
102
|
+
* Time at which the object was updated.
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof SettlementEntryClass
|
|
105
|
+
*/
|
|
106
|
+
'updatedAt': string;
|
|
107
|
+
/**
|
|
108
|
+
* Identifier of the user who created the record.
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof SettlementEntryClass
|
|
111
|
+
*/
|
|
112
|
+
'createdBy': string;
|
|
113
|
+
/**
|
|
114
|
+
* Identifier of the user who last updated the record.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof SettlementEntryClass
|
|
117
|
+
*/
|
|
118
|
+
'updatedBy': string;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export const SettlementEntryClassTypeEnum = {
|
|
122
|
+
Debit: 'DEBIT',
|
|
123
|
+
Credit: 'CREDIT'
|
|
124
|
+
} as const;
|
|
125
|
+
|
|
126
|
+
export type SettlementEntryClassTypeEnum = typeof SettlementEntryClassTypeEnum[keyof typeof SettlementEntryClassTypeEnum];
|
|
127
|
+
|
|
128
|
+
|