@emilgroup/insurance-sdk-node 1.52.0 → 1.53.0
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 +33 -1
- package/README.md +2 -2
- package/api/commission-agreement-products-api.ts +710 -0
- package/api/commission-agreement-versions-api.ts +592 -0
- package/api/commission-agreements-api.ts +697 -0
- package/api/commission-recipients-api.ts +696 -0
- package/api/{default-api.ts → health-check-api.ts} +21 -17
- package/api/insured-objects-api.ts +5 -2
- package/api/policies-api.ts +176 -221
- package/api.ts +10 -2
- package/dist/api/commission-agreement-products-api.d.ts +403 -0
- package/dist/api/commission-agreement-products-api.js +652 -0
- package/dist/api/commission-agreement-versions-api.d.ts +337 -0
- package/dist/api/commission-agreement-versions-api.js +555 -0
- package/dist/api/commission-agreements-api.d.ts +394 -0
- package/dist/api/commission-agreements-api.js +646 -0
- package/dist/api/commission-recipients-api.d.ts +394 -0
- package/dist/api/commission-recipients-api.js +646 -0
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +30 -26
- package/dist/api/insured-objects-api.js +4 -2
- package/dist/api/policies-api.d.ts +134 -161
- package/dist/api/policies-api.js +129 -151
- package/dist/api.d.ts +5 -1
- package/dist/api.js +5 -1
- package/dist/models/commission-agreement-class.d.ts +89 -0
- package/dist/models/commission-agreement-class.js +23 -0
- package/dist/models/commission-agreement-item-class.d.ts +66 -0
- package/dist/models/commission-agreement-item-class.js +15 -0
- package/dist/models/commission-agreement-product-class.d.ts +72 -0
- package/dist/models/commission-agreement-product-class.js +15 -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-recipient-class.d.ts +78 -0
- package/dist/models/commission-recipient-class.js +15 -0
- package/dist/models/create-commission-agreement-item-dto.d.ts +36 -0
- package/dist/models/create-commission-agreement-item-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-request-dto.d.ts +42 -0
- package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/create-commission-agreement-product-response-class.js +15 -0
- package/dist/models/create-commission-agreement-request-dto.d.ts +75 -0
- package/dist/models/create-commission-agreement-request-dto.js +23 -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 +49 -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-recipient-request-dto.d.ts +48 -0
- package/dist/models/create-commission-recipient-request-dto.js +15 -0
- package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/create-commission-recipient-response-class.js +15 -0
- package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/get-commission-agreement-product-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-recipient-response-class.d.ts +25 -0
- package/dist/models/get-commission-recipient-response-class.js +15 -0
- package/dist/models/index.d.ts +28 -0
- package/dist/models/index.js +28 -0
- package/dist/models/list-commission-agreement-products-response-class.d.ts +31 -0
- package/dist/models/list-commission-agreement-products-response-class.js +15 -0
- package/dist/models/list-commission-agreement-versions-response-class.d.ts +31 -0
- package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
- package/dist/models/list-commission-agreements-response-class.d.ts +31 -0
- package/dist/models/list-commission-agreements-response-class.js +15 -0
- package/dist/models/list-commission-recipients-response-class.d.ts +31 -0
- package/dist/models/list-commission-recipients-response-class.js +15 -0
- package/dist/models/update-commission-agreement-product-request-dto.d.ts +42 -0
- package/dist/models/update-commission-agreement-product-request-dto.js +15 -0
- package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
- package/dist/models/update-commission-agreement-product-response-class.js +15 -0
- package/dist/models/update-commission-agreement-request-dto.d.ts +44 -0
- package/dist/models/update-commission-agreement-request-dto.js +23 -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-recipient-request-dto.d.ts +48 -0
- package/dist/models/update-commission-recipient-request-dto.js +15 -0
- package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
- package/dist/models/update-commission-recipient-response-class.js +15 -0
- package/models/commission-agreement-class.ts +98 -0
- package/models/commission-agreement-item-class.ts +72 -0
- package/models/commission-agreement-product-class.ts +78 -0
- package/models/commission-agreement-version-class.ts +85 -0
- package/models/commission-recipient-class.ts +84 -0
- package/models/create-commission-agreement-item-dto.ts +42 -0
- package/models/create-commission-agreement-product-request-dto.ts +48 -0
- package/models/create-commission-agreement-product-response-class.ts +31 -0
- package/models/create-commission-agreement-request-dto.ts +84 -0
- package/models/create-commission-agreement-response-class.ts +31 -0
- package/models/create-commission-agreement-version-request-dto.ts +55 -0
- package/models/create-commission-agreement-version-response-class.ts +31 -0
- package/models/create-commission-recipient-request-dto.ts +54 -0
- package/models/create-commission-recipient-response-class.ts +31 -0
- package/models/get-commission-agreement-product-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-recipient-response-class.ts +31 -0
- package/models/index.ts +28 -0
- package/models/list-commission-agreement-products-response-class.ts +37 -0
- package/models/list-commission-agreement-versions-response-class.ts +37 -0
- package/models/list-commission-agreements-response-class.ts +37 -0
- package/models/list-commission-recipients-response-class.ts +37 -0
- package/models/update-commission-agreement-product-request-dto.ts +48 -0
- package/models/update-commission-agreement-product-response-class.ts +31 -0
- package/models/update-commission-agreement-request-dto.ts +53 -0
- package/models/update-commission-agreement-response-class.ts +31 -0
- package/models/update-commission-recipient-request-dto.ts +54 -0
- package/models/update-commission-recipient-response-class.ts +31 -0
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL InsuranceService
|
|
3
|
+
* The EMIL InsuranceService 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
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreateCommissionAgreementVersionRequestDto } from '../models';
|
|
16
|
+
import { CreateCommissionAgreementVersionResponseClass } from '../models';
|
|
17
|
+
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { GetCommissionAgreementVersionResponseClass } from '../models';
|
|
19
|
+
import { ListCommissionAgreementVersionsResponseClass } from '../models';
|
|
20
|
+
/**
|
|
21
|
+
* CommissionAgreementVersionsApi - axios parameter creator
|
|
22
|
+
* @export
|
|
23
|
+
*/
|
|
24
|
+
export declare const CommissionAgreementVersionsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
|
+
/**
|
|
26
|
+
* This will create the commission agreement version.
|
|
27
|
+
* @summary Create the Commission agreement version
|
|
28
|
+
* @param {string} code
|
|
29
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
30
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
31
|
+
* @param {*} [options] Override http request option.
|
|
32
|
+
* @throws {RequiredError}
|
|
33
|
+
*/
|
|
34
|
+
createCommissionAgreementVersion: (code: string, createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
35
|
+
/**
|
|
36
|
+
* Permanently deletes the commission agreement version. Supply the unique code that was returned when you created the commission agreement version and this will delete it.
|
|
37
|
+
* @summary Delete the commission agreement version
|
|
38
|
+
* @param {string} code
|
|
39
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
40
|
+
* @param {*} [options] Override http request option.
|
|
41
|
+
* @throws {RequiredError}
|
|
42
|
+
*/
|
|
43
|
+
deleteCommissionAgreementVersion: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
|
+
/**
|
|
45
|
+
* Retrieves the details of the commission agreement version that was previously created. Supply the unique commission agreement version code that was returned when you created it and Emil Api will return the corresponding commission agreement version information.
|
|
46
|
+
* @summary Retrieve the commission agreement version
|
|
47
|
+
* @param {string} code
|
|
48
|
+
* @param {string} expand
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
getCommissionAgreementVersion: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
+
/**
|
|
55
|
+
* Returns a list of commission agreement versions you have previously created. The commission agreement versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
56
|
+
* @summary List commission agreement versions
|
|
57
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
|
+
* @param {number} [pageSize] Page size.
|
|
59
|
+
* @param {string} [pageToken] Page token.
|
|
60
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
61
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: versionDescription, code</i>
|
|
62
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
63
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
64
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
65
|
+
* @param {*} [options] Override http request option.
|
|
66
|
+
* @throws {RequiredError}
|
|
67
|
+
*/
|
|
68
|
+
listCommissionAgreementVersions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
* CommissionAgreementVersionsApi - functional programming interface
|
|
72
|
+
* @export
|
|
73
|
+
*/
|
|
74
|
+
export declare const CommissionAgreementVersionsApiFp: (configuration?: Configuration) => {
|
|
75
|
+
/**
|
|
76
|
+
* This will create the commission agreement version.
|
|
77
|
+
* @summary Create the Commission agreement version
|
|
78
|
+
* @param {string} code
|
|
79
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
80
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
81
|
+
* @param {*} [options] Override http request option.
|
|
82
|
+
* @throws {RequiredError}
|
|
83
|
+
*/
|
|
84
|
+
createCommissionAgreementVersion(code: string, createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionAgreementVersionResponseClass>>;
|
|
85
|
+
/**
|
|
86
|
+
* Permanently deletes the commission agreement version. Supply the unique code that was returned when you created the commission agreement version and this will delete it.
|
|
87
|
+
* @summary Delete the commission agreement version
|
|
88
|
+
* @param {string} code
|
|
89
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
deleteCommissionAgreementVersion(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
94
|
+
/**
|
|
95
|
+
* Retrieves the details of the commission agreement version that was previously created. Supply the unique commission agreement version code that was returned when you created it and Emil Api will return the corresponding commission agreement version information.
|
|
96
|
+
* @summary Retrieve the commission agreement version
|
|
97
|
+
* @param {string} code
|
|
98
|
+
* @param {string} expand
|
|
99
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
getCommissionAgreementVersion(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionAgreementVersionResponseClass>>;
|
|
104
|
+
/**
|
|
105
|
+
* Returns a list of commission agreement versions you have previously created. The commission agreement versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
106
|
+
* @summary List commission agreement versions
|
|
107
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
108
|
+
* @param {number} [pageSize] Page size.
|
|
109
|
+
* @param {string} [pageToken] Page token.
|
|
110
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
111
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: versionDescription, code</i>
|
|
112
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
113
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
114
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
115
|
+
* @param {*} [options] Override http request option.
|
|
116
|
+
* @throws {RequiredError}
|
|
117
|
+
*/
|
|
118
|
+
listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>>;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* CommissionAgreementVersionsApi - factory interface
|
|
122
|
+
* @export
|
|
123
|
+
*/
|
|
124
|
+
export declare const CommissionAgreementVersionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
125
|
+
/**
|
|
126
|
+
* This will create the commission agreement version.
|
|
127
|
+
* @summary Create the Commission agreement version
|
|
128
|
+
* @param {string} code
|
|
129
|
+
* @param {CreateCommissionAgreementVersionRequestDto} createCommissionAgreementVersionRequestDto
|
|
130
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
131
|
+
* @param {*} [options] Override http request option.
|
|
132
|
+
* @throws {RequiredError}
|
|
133
|
+
*/
|
|
134
|
+
createCommissionAgreementVersion(code: string, createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionAgreementVersionResponseClass>;
|
|
135
|
+
/**
|
|
136
|
+
* Permanently deletes the commission agreement version. Supply the unique code that was returned when you created the commission agreement version and this will delete it.
|
|
137
|
+
* @summary Delete the commission agreement version
|
|
138
|
+
* @param {string} code
|
|
139
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
deleteCommissionAgreementVersion(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
144
|
+
/**
|
|
145
|
+
* Retrieves the details of the commission agreement version that was previously created. Supply the unique commission agreement version code that was returned when you created it and Emil Api will return the corresponding commission agreement version information.
|
|
146
|
+
* @summary Retrieve the commission agreement version
|
|
147
|
+
* @param {string} code
|
|
148
|
+
* @param {string} expand
|
|
149
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
|
+
* @param {*} [options] Override http request option.
|
|
151
|
+
* @throws {RequiredError}
|
|
152
|
+
*/
|
|
153
|
+
getCommissionAgreementVersion(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementVersionResponseClass>;
|
|
154
|
+
/**
|
|
155
|
+
* Returns a list of commission agreement versions you have previously created. The commission agreement versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
156
|
+
* @summary List commission agreement versions
|
|
157
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
|
+
* @param {number} [pageSize] Page size.
|
|
159
|
+
* @param {string} [pageToken] Page token.
|
|
160
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
161
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: versionDescription, code</i>
|
|
162
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
163
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
164
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass>;
|
|
169
|
+
};
|
|
170
|
+
/**
|
|
171
|
+
* Request parameters for createCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
172
|
+
* @export
|
|
173
|
+
* @interface CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest
|
|
174
|
+
*/
|
|
175
|
+
export interface CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest {
|
|
176
|
+
/**
|
|
177
|
+
*
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
180
|
+
*/
|
|
181
|
+
readonly code: string;
|
|
182
|
+
/**
|
|
183
|
+
*
|
|
184
|
+
* @type {CreateCommissionAgreementVersionRequestDto}
|
|
185
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
186
|
+
*/
|
|
187
|
+
readonly createCommissionAgreementVersionRequestDto: CreateCommissionAgreementVersionRequestDto;
|
|
188
|
+
/**
|
|
189
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @type {string}
|
|
191
|
+
* @memberof CommissionAgreementVersionsApiCreateCommissionAgreementVersion
|
|
192
|
+
*/
|
|
193
|
+
readonly authorization?: string;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* Request parameters for deleteCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
197
|
+
* @export
|
|
198
|
+
* @interface CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest
|
|
199
|
+
*/
|
|
200
|
+
export interface CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest {
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @type {string}
|
|
204
|
+
* @memberof CommissionAgreementVersionsApiDeleteCommissionAgreementVersion
|
|
205
|
+
*/
|
|
206
|
+
readonly code: string;
|
|
207
|
+
/**
|
|
208
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
209
|
+
* @type {string}
|
|
210
|
+
* @memberof CommissionAgreementVersionsApiDeleteCommissionAgreementVersion
|
|
211
|
+
*/
|
|
212
|
+
readonly authorization?: string;
|
|
213
|
+
}
|
|
214
|
+
/**
|
|
215
|
+
* Request parameters for getCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
|
|
216
|
+
* @export
|
|
217
|
+
* @interface CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest
|
|
218
|
+
*/
|
|
219
|
+
export interface CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest {
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
224
|
+
*/
|
|
225
|
+
readonly code: string;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
230
|
+
*/
|
|
231
|
+
readonly expand: string;
|
|
232
|
+
/**
|
|
233
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
234
|
+
* @type {string}
|
|
235
|
+
* @memberof CommissionAgreementVersionsApiGetCommissionAgreementVersion
|
|
236
|
+
*/
|
|
237
|
+
readonly authorization?: string;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* Request parameters for listCommissionAgreementVersions operation in CommissionAgreementVersionsApi.
|
|
241
|
+
* @export
|
|
242
|
+
* @interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest
|
|
243
|
+
*/
|
|
244
|
+
export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest {
|
|
245
|
+
/**
|
|
246
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
|
+
* @type {string}
|
|
248
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
249
|
+
*/
|
|
250
|
+
readonly authorization?: string;
|
|
251
|
+
/**
|
|
252
|
+
* Page size.
|
|
253
|
+
* @type {number}
|
|
254
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
255
|
+
*/
|
|
256
|
+
readonly pageSize?: number;
|
|
257
|
+
/**
|
|
258
|
+
* Page token.
|
|
259
|
+
* @type {string}
|
|
260
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
261
|
+
*/
|
|
262
|
+
readonly pageToken?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
265
|
+
* @type {string}
|
|
266
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
267
|
+
*/
|
|
268
|
+
readonly filter?: string;
|
|
269
|
+
/**
|
|
270
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: versionDescription, code</i>
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
273
|
+
*/
|
|
274
|
+
readonly search?: string;
|
|
275
|
+
/**
|
|
276
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
279
|
+
*/
|
|
280
|
+
readonly order?: string;
|
|
281
|
+
/**
|
|
282
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
283
|
+
* @type {string}
|
|
284
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
285
|
+
*/
|
|
286
|
+
readonly expand?: string;
|
|
287
|
+
/**
|
|
288
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, description, commissionAgreementId</i>
|
|
289
|
+
* @type {string}
|
|
290
|
+
* @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
|
|
291
|
+
*/
|
|
292
|
+
readonly filters?: string;
|
|
293
|
+
}
|
|
294
|
+
/**
|
|
295
|
+
* CommissionAgreementVersionsApi - object-oriented interface
|
|
296
|
+
* @export
|
|
297
|
+
* @class CommissionAgreementVersionsApi
|
|
298
|
+
* @extends {BaseAPI}
|
|
299
|
+
*/
|
|
300
|
+
export declare class CommissionAgreementVersionsApi extends BaseAPI {
|
|
301
|
+
/**
|
|
302
|
+
* This will create the commission agreement version.
|
|
303
|
+
* @summary Create the Commission agreement version
|
|
304
|
+
* @param {CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
305
|
+
* @param {*} [options] Override http request option.
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
* @memberof CommissionAgreementVersionsApi
|
|
308
|
+
*/
|
|
309
|
+
createCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiCreateCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementVersionResponseClass, any>>;
|
|
310
|
+
/**
|
|
311
|
+
* Permanently deletes the commission agreement version. Supply the unique code that was returned when you created the commission agreement version and this will delete it.
|
|
312
|
+
* @summary Delete the commission agreement version
|
|
313
|
+
* @param {CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
314
|
+
* @param {*} [options] Override http request option.
|
|
315
|
+
* @throws {RequiredError}
|
|
316
|
+
* @memberof CommissionAgreementVersionsApi
|
|
317
|
+
*/
|
|
318
|
+
deleteCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiDeleteCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
319
|
+
/**
|
|
320
|
+
* Retrieves the details of the commission agreement version that was previously created. Supply the unique commission agreement version code that was returned when you created it and Emil Api will return the corresponding commission agreement version information.
|
|
321
|
+
* @summary Retrieve the commission agreement version
|
|
322
|
+
* @param {CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest} requestParameters Request parameters.
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
* @memberof CommissionAgreementVersionsApi
|
|
326
|
+
*/
|
|
327
|
+
getCommissionAgreementVersion(requestParameters: CommissionAgreementVersionsApiGetCommissionAgreementVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementVersionResponseClass, any>>;
|
|
328
|
+
/**
|
|
329
|
+
* Returns a list of commission agreement versions you have previously created. The commission agreement versions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
330
|
+
* @summary List commission agreement versions
|
|
331
|
+
* @param {CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest} requestParameters Request parameters.
|
|
332
|
+
* @param {*} [options] Override http request option.
|
|
333
|
+
* @throws {RequiredError}
|
|
334
|
+
* @memberof CommissionAgreementVersionsApi
|
|
335
|
+
*/
|
|
336
|
+
listCommissionAgreementVersions(requestParameters?: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementVersionsResponseClass, any>>;
|
|
337
|
+
}
|