@emilgroup/settlement-sdk 0.3.1-beta.10
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 +26 -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 +693 -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 +393 -0
- package/dist/api/settlements-api.js +644 -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-request-body-dto.d.ts +25 -0
- package/dist/models/add-settlement-entry-request-body-dto.js +15 -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 +11 -0
- package/dist/models/index.js +27 -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 +148 -0
- package/dist/models/settlement-entry-class.js +46 -0
- package/dist/models/settlement-entry-input-dto.d.ts +106 -0
- package/dist/models/settlement-entry-input-dto.js +46 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/add-settlement-entry-request-body-dto.ts +31 -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 +11 -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 +160 -0
- package/models/settlement-entry-input-dto.ts +118 -0
- package/package.json +27 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL SettlementService
|
|
3
|
+
* The EMIL SettlementService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SettlementEntryInputDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SettlementEntryInputDto {
|
|
18
|
+
/**
|
|
19
|
+
* Code of the financial entity
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SettlementEntryInputDto
|
|
22
|
+
*/
|
|
23
|
+
'financialEntityCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Type of the financial entity
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SettlementEntryInputDto
|
|
28
|
+
*/
|
|
29
|
+
'financialEntityType': SettlementEntryInputDtoFinancialEntityTypeEnum;
|
|
30
|
+
/**
|
|
31
|
+
* Code of the domain entity
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SettlementEntryInputDto
|
|
34
|
+
*/
|
|
35
|
+
'domainEntityCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of the domain entity
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SettlementEntryInputDto
|
|
40
|
+
*/
|
|
41
|
+
'domainEntityNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Type of the domain entity
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof SettlementEntryInputDto
|
|
46
|
+
*/
|
|
47
|
+
'domainEntityType': SettlementEntryInputDtoDomainEntityTypeEnum;
|
|
48
|
+
/**
|
|
49
|
+
* A description of the origin of the entry
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof SettlementEntryInputDto
|
|
52
|
+
*/
|
|
53
|
+
'details'?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Amount of the entry
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SettlementEntryInputDto
|
|
58
|
+
*/
|
|
59
|
+
'amount': number;
|
|
60
|
+
/**
|
|
61
|
+
* Currency of the entry
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof SettlementEntryInputDto
|
|
64
|
+
*/
|
|
65
|
+
'currency': SettlementEntryInputDtoCurrencyEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Type of the entry can either be DEBIT or CREDIT
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof SettlementEntryInputDto
|
|
70
|
+
*/
|
|
71
|
+
'type': SettlementEntryInputDtoTypeEnum;
|
|
72
|
+
}
|
|
73
|
+
export declare const SettlementEntryInputDtoFinancialEntityTypeEnum: {
|
|
74
|
+
readonly PaymentReceipt: "payment_receipt";
|
|
75
|
+
readonly ClaimRegulation: "claim_regulation";
|
|
76
|
+
readonly RefundAllocation: "refund_allocation";
|
|
77
|
+
readonly Premium: "premium";
|
|
78
|
+
readonly Tax: "tax";
|
|
79
|
+
readonly Other: "other";
|
|
80
|
+
};
|
|
81
|
+
export type SettlementEntryInputDtoFinancialEntityTypeEnum = typeof SettlementEntryInputDtoFinancialEntityTypeEnum[keyof typeof SettlementEntryInputDtoFinancialEntityTypeEnum];
|
|
82
|
+
export declare const SettlementEntryInputDtoDomainEntityTypeEnum: {
|
|
83
|
+
readonly Other: "other";
|
|
84
|
+
readonly Claim: "claim";
|
|
85
|
+
readonly Policy: "policy";
|
|
86
|
+
};
|
|
87
|
+
export type SettlementEntryInputDtoDomainEntityTypeEnum = typeof SettlementEntryInputDtoDomainEntityTypeEnum[keyof typeof SettlementEntryInputDtoDomainEntityTypeEnum];
|
|
88
|
+
export declare const SettlementEntryInputDtoCurrencyEnum: {
|
|
89
|
+
readonly Eur: "EUR";
|
|
90
|
+
readonly Usd: "USD";
|
|
91
|
+
readonly Gbp: "GBP";
|
|
92
|
+
readonly Chf: "CHF";
|
|
93
|
+
readonly Pln: "PLN";
|
|
94
|
+
readonly Aud: "AUD";
|
|
95
|
+
readonly Cad: "CAD";
|
|
96
|
+
readonly Ddk: "DDK";
|
|
97
|
+
readonly Huf: "HUF";
|
|
98
|
+
readonly Nok: "NOK";
|
|
99
|
+
readonly Sek: "SEK";
|
|
100
|
+
};
|
|
101
|
+
export type SettlementEntryInputDtoCurrencyEnum = typeof SettlementEntryInputDtoCurrencyEnum[keyof typeof SettlementEntryInputDtoCurrencyEnum];
|
|
102
|
+
export declare const SettlementEntryInputDtoTypeEnum: {
|
|
103
|
+
readonly Debit: "DEBIT";
|
|
104
|
+
readonly Credit: "CREDIT";
|
|
105
|
+
};
|
|
106
|
+
export type SettlementEntryInputDtoTypeEnum = typeof SettlementEntryInputDtoTypeEnum[keyof typeof SettlementEntryInputDtoTypeEnum];
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL SettlementService
|
|
6
|
+
* The EMIL SettlementService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SettlementEntryInputDtoTypeEnum = exports.SettlementEntryInputDtoCurrencyEnum = exports.SettlementEntryInputDtoDomainEntityTypeEnum = exports.SettlementEntryInputDtoFinancialEntityTypeEnum = void 0;
|
|
17
|
+
exports.SettlementEntryInputDtoFinancialEntityTypeEnum = {
|
|
18
|
+
PaymentReceipt: 'payment_receipt',
|
|
19
|
+
ClaimRegulation: 'claim_regulation',
|
|
20
|
+
RefundAllocation: 'refund_allocation',
|
|
21
|
+
Premium: 'premium',
|
|
22
|
+
Tax: 'tax',
|
|
23
|
+
Other: 'other'
|
|
24
|
+
};
|
|
25
|
+
exports.SettlementEntryInputDtoDomainEntityTypeEnum = {
|
|
26
|
+
Other: 'other',
|
|
27
|
+
Claim: 'claim',
|
|
28
|
+
Policy: 'policy'
|
|
29
|
+
};
|
|
30
|
+
exports.SettlementEntryInputDtoCurrencyEnum = {
|
|
31
|
+
Eur: 'EUR',
|
|
32
|
+
Usd: 'USD',
|
|
33
|
+
Gbp: 'GBP',
|
|
34
|
+
Chf: 'CHF',
|
|
35
|
+
Pln: 'PLN',
|
|
36
|
+
Aud: 'AUD',
|
|
37
|
+
Cad: 'CAD',
|
|
38
|
+
Ddk: 'DDK',
|
|
39
|
+
Huf: 'HUF',
|
|
40
|
+
Nok: 'NOK',
|
|
41
|
+
Sek: 'SEK'
|
|
42
|
+
};
|
|
43
|
+
exports.SettlementEntryInputDtoTypeEnum = {
|
|
44
|
+
Debit: 'DEBIT',
|
|
45
|
+
Credit: 'CREDIT'
|
|
46
|
+
};
|
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 { SettlementEntryInputDto } from './settlement-entry-input-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface AddSettlementEntryRequestBodyDto
|
|
22
|
+
*/
|
|
23
|
+
export interface AddSettlementEntryRequestBodyDto {
|
|
24
|
+
/**
|
|
25
|
+
* Entry of the settlement
|
|
26
|
+
* @type {SettlementEntryInputDto}
|
|
27
|
+
* @memberof AddSettlementEntryRequestBodyDto
|
|
28
|
+
*/
|
|
29
|
+
'entry'?: SettlementEntryInputDto;
|
|
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 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,11 @@
|
|
|
1
|
+
export * from './add-settlement-entry-request-body-dto';
|
|
2
|
+
export * from './add-settlement-entry-response-class';
|
|
3
|
+
export * from './create-settlement-request-dto';
|
|
4
|
+
export * from './create-settlement-response-class';
|
|
5
|
+
export * from './get-settlement-response-class';
|
|
6
|
+
export * from './inline-response200';
|
|
7
|
+
export * from './inline-response503';
|
|
8
|
+
export * from './list-settlements-response-class';
|
|
9
|
+
export * from './settlement-class';
|
|
10
|
+
export * from './settlement-entry-class';
|
|
11
|
+
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
|
+
|