@emilgroup/commission-sdk-node 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +40 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +84 -0
- package/api/commission-agreement-versions-api.ts +535 -0
- package/api/commission-agreements-api.ts +642 -0
- package/api/commissions-api.ts +641 -0
- package/api/default-api.ts +128 -0
- package/api.ts +37 -0
- package/base.ts +327 -0
- package/common.ts +199 -0
- package/configuration.ts +118 -0
- package/dist/api/commission-agreement-versions-api.d.ts +300 -0
- package/dist/api/commission-agreement-versions-api.js +531 -0
- package/dist/api/commission-agreements-api.d.ts +357 -0
- package/dist/api/commission-agreements-api.js +624 -0
- package/dist/api/commissions-api.d.ts +357 -0
- package/dist/api/commissions-api.js +624 -0
- package/dist/api/default-api.d.ts +70 -0
- package/dist/api/default-api.js +204 -0
- package/dist/api.d.ts +15 -0
- package/dist/api.js +33 -0
- package/dist/base.d.ts +88 -0
- package/dist/base.js +434 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +96 -0
- package/dist/configuration.js +52 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/commission-agreement-class.d.ts +89 -0
- package/dist/models/commission-agreement-class.js +25 -0
- package/dist/models/commission-agreement-version-class.d.ts +79 -0
- package/dist/models/commission-agreement-version-class.js +15 -0
- package/dist/models/commission-class.d.ts +103 -0
- package/dist/models/commission-class.js +15 -0
- package/dist/models/commission-item-class.d.ts +84 -0
- package/dist/models/commission-item-class.js +21 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +71 -0
- package/dist/models/create-commission-agreement-request-dto.js +25 -0
- package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-response-class.js +15 -0
- package/dist/models/create-commission-agreement-version-request-dto.d.ts +42 -0
- package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-version-response-class.js +15 -0
- package/dist/models/create-commission-item-request-dto.d.ts +48 -0
- package/dist/models/create-commission-item-request-dto.js +21 -0
- package/dist/models/create-commission-request-dto.d.ts +55 -0
- package/dist/models/create-commission-request-dto.js +15 -0
- package/dist/models/create-commission-response-class.d.ts +25 -0
- package/dist/models/create-commission-response-class.js +15 -0
- package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-response-class.js +15 -0
- package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-version-response-class.js +15 -0
- package/dist/models/get-commission-response-class.d.ts +25 -0
- package/dist/models/get-commission-response-class.js +15 -0
- package/dist/models/index.d.ts +23 -0
- package/dist/models/index.js +39 -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-commission-agreement-versions-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
- package/dist/models/list-commission-agreements-response-class.d.ts +43 -0
- package/dist/models/list-commission-agreements-response-class.js +15 -0
- package/dist/models/list-commissions-response-class.d.ts +43 -0
- package/dist/models/list-commissions-response-class.js +15 -0
- package/dist/models/update-commission-agreement-request-dto.d.ts +48 -0
- package/dist/models/update-commission-agreement-request-dto.js +21 -0
- package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-response-class.js +15 -0
- package/dist/models/update-commission-request-dto.d.ts +53 -0
- package/dist/models/update-commission-request-dto.js +20 -0
- package/dist/models/update-commission-response-class.d.ts +25 -0
- package/dist/models/update-commission-response-class.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/commission-agreement-class.ts +99 -0
- package/models/commission-agreement-version-class.ts +85 -0
- package/models/commission-class.ts +109 -0
- package/models/commission-item-class.ts +93 -0
- package/models/create-commission-agreement-request-dto.ts +81 -0
- package/models/create-commission-agreement-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +48 -0
- package/models/create-commission-agreement-version-response-class.ts +31 -0
- package/models/create-commission-item-request-dto.ts +57 -0
- package/models/create-commission-request-dto.ts +61 -0
- package/models/create-commission-response-class.ts +31 -0
- package/models/get-commission-agreement-response-class.ts +31 -0
- package/models/get-commission-agreement-version-response-class.ts +31 -0
- package/models/get-commission-response-class.ts +31 -0
- package/models/index.ts +23 -0
- package/models/inline-response200.ts +48 -0
- package/models/inline-response503.ts +48 -0
- package/models/list-commission-agreement-versions-response-class.ts +49 -0
- package/models/list-commission-agreements-response-class.ts +49 -0
- package/models/list-commissions-response-class.ts +49 -0
- package/models/update-commission-agreement-request-dto.ts +57 -0
- package/models/update-commission-agreement-response-class.ts +31 -0
- package/models/update-commission-request-dto.ts +62 -0
- package/models/update-commission-response-class.ts +31 -0
- package/package.json +29 -0
- package/tsconfig.json +23 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateCommissionAgreementVersionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateCommissionAgreementVersionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The created commission agreement version object
|
|
26
|
+
* @type {CommissionAgreementVersionClass}
|
|
27
|
+
* @memberof CreateCommissionAgreementVersionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'version'?: CommissionAgreementVersionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 CreateCommissionItemRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCommissionItemRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The name or title of the commission item
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateCommissionItemRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* A detailed description explaining what this commission item represents
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateCommissionItemRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'description': string;
|
|
35
|
+
/**
|
|
36
|
+
* The monetary amount of the commission item in the smallest currency unit (e.g., cents)
|
|
37
|
+
* @type {number}
|
|
38
|
+
* @memberof CreateCommissionItemRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'amount': number;
|
|
41
|
+
/**
|
|
42
|
+
* The type of commission item. Valid values: sales, maintenance, other
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateCommissionItemRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'type': CreateCommissionItemRequestDtoTypeEnum;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const CreateCommissionItemRequestDtoTypeEnum = {
|
|
50
|
+
Sales: 'sales',
|
|
51
|
+
Maintenance: 'maintenance',
|
|
52
|
+
Other: 'other'
|
|
53
|
+
} as const;
|
|
54
|
+
|
|
55
|
+
export type CreateCommissionItemRequestDtoTypeEnum = typeof CreateCommissionItemRequestDtoTypeEnum[keyof typeof CreateCommissionItemRequestDtoTypeEnum];
|
|
56
|
+
|
|
57
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CreateCommissionItemRequestDto } from './create-commission-item-request-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateCommissionRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateCommissionRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
* The unique code or identifier of the commission agreement this commission is based on
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreateCommissionRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreementCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* A detailed description explaining what this commission represents and its purpose
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CreateCommissionRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* The version identifier of the commission agreement being used for this commission
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof CreateCommissionRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'commissionAgreementVersionId': number;
|
|
42
|
+
/**
|
|
43
|
+
* The unique code or identifier of the partner associated with this commission
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateCommissionRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* The policy code or identifier of the policy associated with this commission
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CreateCommissionRequestDto
|
|
52
|
+
*/
|
|
53
|
+
'policyCode': string;
|
|
54
|
+
/**
|
|
55
|
+
* An array of commission items that make up this commission. Each item represents a specific commission component with its own amount, type
|
|
56
|
+
* @type {Array<CreateCommissionItemRequestDto>}
|
|
57
|
+
* @memberof CreateCommissionRequestDto
|
|
58
|
+
*/
|
|
59
|
+
'items': Array<CreateCommissionItemRequestDto>;
|
|
60
|
+
}
|
|
61
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionClass } from './commission-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateCommissionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateCommissionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The commission that was created
|
|
26
|
+
* @type {CommissionClass}
|
|
27
|
+
* @memberof CreateCommissionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'commission'?: CommissionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetCommissionAgreementResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCommissionAgreementResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The requested commission agreement object
|
|
26
|
+
* @type {CommissionAgreementClass}
|
|
27
|
+
* @memberof GetCommissionAgreementResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreement'?: CommissionAgreementClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetCommissionAgreementVersionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCommissionAgreementVersionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The retrieved commission agreement version object
|
|
26
|
+
* @type {CommissionAgreementVersionClass}
|
|
27
|
+
* @memberof GetCommissionAgreementVersionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'version'?: CommissionAgreementVersionClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionClass } from './commission-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetCommissionResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetCommissionResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The commission that was retrieved
|
|
26
|
+
* @type {CommissionClass}
|
|
27
|
+
* @memberof GetCommissionResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'commission'?: CommissionClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './commission-agreement-class';
|
|
2
|
+
export * from './commission-agreement-version-class';
|
|
3
|
+
export * from './commission-class';
|
|
4
|
+
export * from './commission-item-class';
|
|
5
|
+
export * from './create-commission-agreement-request-dto';
|
|
6
|
+
export * from './create-commission-agreement-response-class';
|
|
7
|
+
export * from './create-commission-agreement-version-request-dto';
|
|
8
|
+
export * from './create-commission-agreement-version-response-class';
|
|
9
|
+
export * from './create-commission-item-request-dto';
|
|
10
|
+
export * from './create-commission-request-dto';
|
|
11
|
+
export * from './create-commission-response-class';
|
|
12
|
+
export * from './get-commission-agreement-response-class';
|
|
13
|
+
export * from './get-commission-agreement-version-response-class';
|
|
14
|
+
export * from './get-commission-response-class';
|
|
15
|
+
export * from './inline-response200';
|
|
16
|
+
export * from './inline-response503';
|
|
17
|
+
export * from './list-commission-agreement-versions-response-class';
|
|
18
|
+
export * from './list-commission-agreements-response-class';
|
|
19
|
+
export * from './list-commissions-response-class';
|
|
20
|
+
export * from './update-commission-agreement-request-dto';
|
|
21
|
+
export * from './update-commission-agreement-response-class';
|
|
22
|
+
export * from './update-commission-request-dto';
|
|
23
|
+
export * from './update-commission-response-class';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionAgreementVersionClass } from './commission-agreement-version-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAgreementVersionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAgreementVersionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Array of commission agreement version objects
|
|
26
|
+
* @type {Array<CommissionAgreementVersionClass>}
|
|
27
|
+
* @memberof ListCommissionAgreementVersionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CommissionAgreementVersionClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for retrieving the next page of results
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCommissionAgreementVersionsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items per page
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAgreementVersionsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of items
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCommissionAgreementVersionsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionAgreementsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionAgreementsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Array of commission agreement objects
|
|
26
|
+
* @type {Array<CommissionAgreementClass>}
|
|
27
|
+
* @memberof ListCommissionAgreementsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CommissionAgreementClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Token for pagination to retrieve the next page of results. Empty string indicates no more pages available
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCommissionAgreementsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items per page
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionAgreementsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of items
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCommissionAgreementsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionClass } from './commission-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListCommissionsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListCommissionsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* An array of commissions that were retrieved
|
|
26
|
+
* @type {Array<CommissionClass>}
|
|
27
|
+
* @memberof ListCommissionsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CommissionClass>;
|
|
30
|
+
/**
|
|
31
|
+
* nextPageToken
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListCommissionsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* totalItems
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListCommissionsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'totalItems': number;
|
|
42
|
+
/**
|
|
43
|
+
* totalPages
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListCommissionsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'itemsPerPage': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 UpdateCommissionAgreementRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateCommissionAgreementRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Unique code identifier for the commission agreement
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateCommissionAgreementRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'code': string;
|
|
29
|
+
/**
|
|
30
|
+
* Updated human-readable name of the commission agreement
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateCommissionAgreementRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'name': string;
|
|
35
|
+
/**
|
|
36
|
+
* Updated detailed description of the commission agreement terms and conditions
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateCommissionAgreementRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Updated frequency at which commissions are billed (e.g., monthly, quarterly, yearly)
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateCommissionAgreementRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'billingFrequency'?: UpdateCommissionAgreementRequestDtoBillingFrequencyEnum;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export const UpdateCommissionAgreementRequestDtoBillingFrequencyEnum = {
|
|
50
|
+
Monthly: 'monthly',
|
|
51
|
+
Quarterly: 'quarterly',
|
|
52
|
+
Yearly: 'yearly'
|
|
53
|
+
} as const;
|
|
54
|
+
|
|
55
|
+
export type UpdateCommissionAgreementRequestDtoBillingFrequencyEnum = typeof UpdateCommissionAgreementRequestDtoBillingFrequencyEnum[keyof typeof UpdateCommissionAgreementRequestDtoBillingFrequencyEnum];
|
|
56
|
+
|
|
57
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CommissionService
|
|
5
|
+
* The EMIL CommissionService 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 { CommissionAgreementClass } from './commission-agreement-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateCommissionAgreementResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateCommissionAgreementResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The updated commission agreement object
|
|
26
|
+
* @type {CommissionAgreementClass}
|
|
27
|
+
* @memberof UpdateCommissionAgreementResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'commissionAgreement'?: CommissionAgreementClass;
|
|
30
|
+
}
|
|
31
|
+
|