@emilgroup/claim-sdk 1.17.2-beta.2 → 1.17.2-beta.4
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 +2 -4
- package/README.md +2 -2
- package/api/claim-regulations-api.ts +366 -45
- package/api/{default-api.ts → health-check-api.ts} +22 -18
- package/api.ts +2 -2
- package/dist/api/claim-regulations-api.d.ts +215 -40
- package/dist/api/claim-regulations-api.js +307 -23
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +31 -27
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/models/create-claim-partner-response-class.d.ts +1 -1
- package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/create-claim-request-dto.d.ts +17 -17
- package/dist/models/create-regulation-item-request-dto.d.ts +20 -27
- package/dist/models/create-regulation-item-request-dto.js +14 -1
- package/dist/models/get-claim-partner-response-class.d.ts +1 -1
- package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/index.d.ts +1 -3
- package/dist/models/index.js +1 -3
- package/dist/models/list-regulations-response-class.d.ts +31 -0
- package/dist/models/{reserve-details-dto.js → list-regulations-response-class.js} +0 -5
- package/dist/models/patch-claim-request-dto.d.ts +18 -18
- package/dist/models/payout-details-class.d.ts +1 -1
- package/dist/models/regulation-item-class.d.ts +5 -4
- package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/update-claim-request-dto.d.ts +15 -15
- package/models/create-claim-partner-response-class.ts +1 -1
- package/models/create-claim-partner-role-response-class.ts +1 -1
- package/models/create-claim-request-dto.ts +17 -17
- package/models/create-regulation-item-request-dto.ts +21 -27
- package/models/get-claim-partner-response-class.ts +1 -1
- package/models/get-claim-partner-role-response-class.ts +1 -1
- package/models/index.ts +1 -3
- package/models/list-regulations-response-class.ts +37 -0
- package/models/patch-claim-request-dto.ts +18 -18
- package/models/payout-details-class.ts +1 -1
- package/models/regulation-item-class.ts +5 -4
- package/models/update-claim-partner-role-response-class.ts +1 -1
- package/models/update-claim-request-dto.ts +15 -15
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/payout-details-dto.d.ts +0 -60
- package/dist/models/payout-details-dto.js +0 -26
- package/dist/models/regress-details-dto.d.ts +0 -51
- package/dist/models/regress-details-dto.js +0 -29
- package/dist/models/reserve-details-dto.d.ts +0 -29
- package/models/payout-details-dto.ts +0 -70
- package/models/regress-details-dto.ts +0 -61
- package/models/reserve-details-dto.ts +0 -38
|
@@ -25,18 +25,19 @@ import { InlineResponse200 } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { InlineResponse503 } from '../models';
|
|
27
27
|
/**
|
|
28
|
-
*
|
|
28
|
+
* HealthCheckApi - axios parameter creator
|
|
29
29
|
* @export
|
|
30
30
|
*/
|
|
31
|
-
export const
|
|
31
|
+
export const HealthCheckApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
35
|
+
* @summary Health Check
|
|
35
36
|
* @param {*} [options] Override http request option.
|
|
36
37
|
* @throws {RequiredError}
|
|
37
38
|
*/
|
|
38
39
|
check: async (options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
39
|
-
const localVarPath = `/
|
|
40
|
+
const localVarPath = `/v1/claims/health`;
|
|
40
41
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41
42
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42
43
|
let baseOptions;
|
|
@@ -65,14 +66,15 @@ export const DefaultApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
65
66
|
};
|
|
66
67
|
|
|
67
68
|
/**
|
|
68
|
-
*
|
|
69
|
+
* HealthCheckApi - functional programming interface
|
|
69
70
|
* @export
|
|
70
71
|
*/
|
|
71
|
-
export const
|
|
72
|
-
const localVarAxiosParamCreator =
|
|
72
|
+
export const HealthCheckApiFp = function(configuration?: Configuration) {
|
|
73
|
+
const localVarAxiosParamCreator = HealthCheckApiAxiosParamCreator(configuration)
|
|
73
74
|
return {
|
|
74
75
|
/**
|
|
75
|
-
*
|
|
76
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
77
|
+
* @summary Health Check
|
|
76
78
|
* @param {*} [options] Override http request option.
|
|
77
79
|
* @throws {RequiredError}
|
|
78
80
|
*/
|
|
@@ -84,14 +86,15 @@ export const DefaultApiFp = function(configuration?: Configuration) {
|
|
|
84
86
|
};
|
|
85
87
|
|
|
86
88
|
/**
|
|
87
|
-
*
|
|
89
|
+
* HealthCheckApi - factory interface
|
|
88
90
|
* @export
|
|
89
91
|
*/
|
|
90
|
-
export const
|
|
91
|
-
const localVarFp =
|
|
92
|
+
export const HealthCheckApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
93
|
+
const localVarFp = HealthCheckApiFp(configuration)
|
|
92
94
|
return {
|
|
93
95
|
/**
|
|
94
|
-
*
|
|
96
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
97
|
+
* @summary Health Check
|
|
95
98
|
* @param {*} [options] Override http request option.
|
|
96
99
|
* @throws {RequiredError}
|
|
97
100
|
*/
|
|
@@ -102,19 +105,20 @@ export const DefaultApiFactory = function (configuration?: Configuration, basePa
|
|
|
102
105
|
};
|
|
103
106
|
|
|
104
107
|
/**
|
|
105
|
-
*
|
|
108
|
+
* HealthCheckApi - object-oriented interface
|
|
106
109
|
* @export
|
|
107
|
-
* @class
|
|
110
|
+
* @class HealthCheckApi
|
|
108
111
|
* @extends {BaseAPI}
|
|
109
112
|
*/
|
|
110
|
-
export class
|
|
113
|
+
export class HealthCheckApi extends BaseAPI {
|
|
111
114
|
/**
|
|
112
|
-
*
|
|
115
|
+
* Returns the health status of the claim service. This endpoint is used to monitor the operational status of the claim service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
|
|
116
|
+
* @summary Health Check
|
|
113
117
|
* @param {*} [options] Override http request option.
|
|
114
118
|
* @throws {RequiredError}
|
|
115
|
-
* @memberof
|
|
119
|
+
* @memberof HealthCheckApi
|
|
116
120
|
*/
|
|
117
121
|
public check(options?: AxiosRequestConfig) {
|
|
118
|
-
return
|
|
122
|
+
return HealthCheckApiFp(this.configuration).check(options).then((request) => request(this.axios, this.basePath));
|
|
119
123
|
}
|
|
120
124
|
}
|
package/api.ts
CHANGED
|
@@ -25,7 +25,7 @@ import { ClaimPartnersApi } from './api';
|
|
|
25
25
|
import { ClaimRegulationsApi } from './api';
|
|
26
26
|
import { ClaimStatusesApi } from './api';
|
|
27
27
|
import { ClaimsApi } from './api';
|
|
28
|
-
import {
|
|
28
|
+
import { HealthCheckApi } from './api';
|
|
29
29
|
import { SettlementsApi } from './api';
|
|
30
30
|
|
|
31
31
|
|
|
@@ -34,6 +34,6 @@ export * from './api/claim-partners-api';
|
|
|
34
34
|
export * from './api/claim-regulations-api';
|
|
35
35
|
export * from './api/claim-statuses-api';
|
|
36
36
|
export * from './api/claims-api';
|
|
37
|
-
export * from './api/
|
|
37
|
+
export * from './api/health-check-api';
|
|
38
38
|
export * from './api/settlements-api';
|
|
39
39
|
|
|
@@ -13,6 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreateRegulationItemRequestDto } from '../models';
|
|
16
|
+
import { ListRegulationsResponseClass } from '../models';
|
|
16
17
|
import { RegulationItemResponseClass } from '../models';
|
|
17
18
|
/**
|
|
18
19
|
* ClaimRegulationsApi - axios parameter creator
|
|
@@ -28,22 +29,50 @@ export declare const ClaimRegulationsApiAxiosParamCreator: (configuration?: Conf
|
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
31
|
createClaimRegulation: (createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* This will delete the regulation item identified by the code.
|
|
34
|
+
* @summary Delete the claim regulation item
|
|
35
|
+
* @param {string} code Unique identifier for the object.
|
|
36
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
37
|
+
* @param {*} [options] Override http request option.
|
|
38
|
+
* @throws {RequiredError}
|
|
39
|
+
*/
|
|
40
|
+
deleteClaimRegulations: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
41
|
/**
|
|
32
42
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
33
43
|
* @summary Retrieve the claim regulation item
|
|
34
44
|
* @param {string} code
|
|
35
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
|
+
* @param {'claim'} [expand]
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getClaimRegulation: (code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
53
|
+
* @summary List claim regulation items
|
|
54
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
37
56
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
38
|
-
* @param {
|
|
39
|
-
* @param {
|
|
40
|
-
* @param {
|
|
41
|
-
* @param {
|
|
42
|
-
* @param {
|
|
57
|
+
* @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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
58
|
+
* @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: code, claimCode, amount, bookingDate, currency</i>
|
|
59
|
+
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
60
|
+
* @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: claim.<i>
|
|
61
|
+
* @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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
listClaimRegulations: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
68
|
+
* @summary Update the claim regulation item
|
|
69
|
+
* @param {string} code Unique identifier for the object.
|
|
70
|
+
* @param {object} body
|
|
71
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
72
|
* @param {*} [options] Override http request option.
|
|
44
73
|
* @throws {RequiredError}
|
|
45
74
|
*/
|
|
46
|
-
|
|
75
|
+
updateClaimRegulation: (code: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
47
76
|
};
|
|
48
77
|
/**
|
|
49
78
|
* ClaimRegulationsApi - functional programming interface
|
|
@@ -59,22 +88,50 @@ export declare const ClaimRegulationsApiFp: (configuration?: Configuration) => {
|
|
|
59
88
|
* @throws {RequiredError}
|
|
60
89
|
*/
|
|
61
90
|
createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
91
|
+
/**
|
|
92
|
+
* This will delete the regulation item identified by the code.
|
|
93
|
+
* @summary Delete the claim regulation item
|
|
94
|
+
* @param {string} code Unique identifier for the object.
|
|
95
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
+
* @param {*} [options] Override http request option.
|
|
97
|
+
* @throws {RequiredError}
|
|
98
|
+
*/
|
|
99
|
+
deleteClaimRegulations(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
62
100
|
/**
|
|
63
101
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
64
102
|
* @summary Retrieve the claim regulation item
|
|
65
103
|
* @param {string} code
|
|
66
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
|
+
* @param {'claim'} [expand]
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
110
|
+
/**
|
|
111
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
112
|
+
* @summary List claim regulation items
|
|
113
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
67
114
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
68
115
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
69
|
-
* @param {
|
|
70
|
-
* @param {
|
|
71
|
-
* @param {
|
|
72
|
-
* @param {
|
|
73
|
-
* @param {
|
|
116
|
+
* @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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
117
|
+
* @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: code, claimCode, amount, bookingDate, currency</i>
|
|
118
|
+
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
119
|
+
* @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: claim.<i>
|
|
120
|
+
* @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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRegulationsResponseClass>>;
|
|
125
|
+
/**
|
|
126
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
127
|
+
* @summary Update the claim regulation item
|
|
128
|
+
* @param {string} code Unique identifier for the object.
|
|
129
|
+
* @param {object} body
|
|
130
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
131
|
* @param {*} [options] Override http request option.
|
|
75
132
|
* @throws {RequiredError}
|
|
76
133
|
*/
|
|
77
|
-
|
|
134
|
+
updateClaimRegulation(code: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationItemResponseClass>>;
|
|
78
135
|
};
|
|
79
136
|
/**
|
|
80
137
|
* ClaimRegulationsApi - factory interface
|
|
@@ -90,22 +147,50 @@ export declare const ClaimRegulationsApiFactory: (configuration?: Configuration,
|
|
|
90
147
|
* @throws {RequiredError}
|
|
91
148
|
*/
|
|
92
149
|
createClaimRegulation(createRegulationItemRequestDto: CreateRegulationItemRequestDto, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
150
|
+
/**
|
|
151
|
+
* This will delete the regulation item identified by the code.
|
|
152
|
+
* @summary Delete the claim regulation item
|
|
153
|
+
* @param {string} code Unique identifier for the object.
|
|
154
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
155
|
+
* @param {*} [options] Override http request option.
|
|
156
|
+
* @throws {RequiredError}
|
|
157
|
+
*/
|
|
158
|
+
deleteClaimRegulations(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
93
159
|
/**
|
|
94
160
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
95
161
|
* @summary Retrieve the claim regulation item
|
|
96
162
|
* @param {string} code
|
|
97
163
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
164
|
+
* @param {'claim'} [expand]
|
|
165
|
+
* @param {*} [options] Override http request option.
|
|
166
|
+
* @throws {RequiredError}
|
|
167
|
+
*/
|
|
168
|
+
getClaimRegulation(code: string, authorization?: string, expand?: 'claim', options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
169
|
+
/**
|
|
170
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
171
|
+
* @summary List claim regulation items
|
|
172
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
98
173
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
99
174
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
100
|
-
* @param {
|
|
101
|
-
* @param {
|
|
102
|
-
* @param {
|
|
103
|
-
* @param {
|
|
104
|
-
* @param {
|
|
175
|
+
* @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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
176
|
+
* @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: code, claimCode, amount, bookingDate, currency</i>
|
|
177
|
+
* @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: amount, bookingDate, createdAt, updatedAt</i>
|
|
178
|
+
* @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: claim.<i>
|
|
179
|
+
* @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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
180
|
+
* @param {*} [options] Override http request option.
|
|
181
|
+
* @throws {RequiredError}
|
|
182
|
+
*/
|
|
183
|
+
listClaimRegulations(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRegulationsResponseClass>;
|
|
184
|
+
/**
|
|
185
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
186
|
+
* @summary Update the claim regulation item
|
|
187
|
+
* @param {string} code Unique identifier for the object.
|
|
188
|
+
* @param {object} body
|
|
189
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
190
|
* @param {*} [options] Override http request option.
|
|
106
191
|
* @throws {RequiredError}
|
|
107
192
|
*/
|
|
108
|
-
|
|
193
|
+
updateClaimRegulation(code: string, body: object, authorization?: string, options?: any): AxiosPromise<RegulationItemResponseClass>;
|
|
109
194
|
};
|
|
110
195
|
/**
|
|
111
196
|
* Request parameters for createClaimRegulation operation in ClaimRegulationsApi.
|
|
@@ -126,6 +211,25 @@ export interface ClaimRegulationsApiCreateClaimRegulationRequest {
|
|
|
126
211
|
*/
|
|
127
212
|
readonly authorization?: string;
|
|
128
213
|
}
|
|
214
|
+
/**
|
|
215
|
+
* Request parameters for deleteClaimRegulations operation in ClaimRegulationsApi.
|
|
216
|
+
* @export
|
|
217
|
+
* @interface ClaimRegulationsApiDeleteClaimRegulationsRequest
|
|
218
|
+
*/
|
|
219
|
+
export interface ClaimRegulationsApiDeleteClaimRegulationsRequest {
|
|
220
|
+
/**
|
|
221
|
+
* Unique identifier for the object.
|
|
222
|
+
* @type {string}
|
|
223
|
+
* @memberof ClaimRegulationsApiDeleteClaimRegulations
|
|
224
|
+
*/
|
|
225
|
+
readonly code: string;
|
|
226
|
+
/**
|
|
227
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
228
|
+
* @type {string}
|
|
229
|
+
* @memberof ClaimRegulationsApiDeleteClaimRegulations
|
|
230
|
+
*/
|
|
231
|
+
readonly authorization?: string;
|
|
232
|
+
}
|
|
129
233
|
/**
|
|
130
234
|
* Request parameters for getClaimRegulation operation in ClaimRegulationsApi.
|
|
131
235
|
* @export
|
|
@@ -144,48 +248,92 @@ export interface ClaimRegulationsApiGetClaimRegulationRequest {
|
|
|
144
248
|
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
145
249
|
*/
|
|
146
250
|
readonly authorization?: string;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {'claim'}
|
|
254
|
+
* @memberof ClaimRegulationsApiGetClaimRegulation
|
|
255
|
+
*/
|
|
256
|
+
readonly expand?: 'claim';
|
|
257
|
+
}
|
|
258
|
+
/**
|
|
259
|
+
* Request parameters for listClaimRegulations operation in ClaimRegulationsApi.
|
|
260
|
+
* @export
|
|
261
|
+
* @interface ClaimRegulationsApiListClaimRegulationsRequest
|
|
262
|
+
*/
|
|
263
|
+
export interface ClaimRegulationsApiListClaimRegulationsRequest {
|
|
264
|
+
/**
|
|
265
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
268
|
+
*/
|
|
269
|
+
readonly authorization?: string;
|
|
147
270
|
/**
|
|
148
271
|
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
149
272
|
* @type {any}
|
|
150
|
-
* @memberof
|
|
273
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
151
274
|
*/
|
|
152
275
|
readonly pageSize?: any;
|
|
153
276
|
/**
|
|
154
277
|
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
155
278
|
* @type {any}
|
|
156
|
-
* @memberof
|
|
279
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
157
280
|
*/
|
|
158
281
|
readonly pageToken?: any;
|
|
159
282
|
/**
|
|
160
|
-
* Filter the response by one or multiple fields.
|
|
161
|
-
* @type {
|
|
162
|
-
* @memberof
|
|
283
|
+
* 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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
163
286
|
*/
|
|
164
|
-
readonly filter?:
|
|
287
|
+
readonly filter?: string;
|
|
165
288
|
/**
|
|
166
|
-
*
|
|
167
|
-
* @type {
|
|
168
|
-
* @memberof
|
|
289
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, claimCode, amount, bookingDate, currency</i>
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
169
292
|
*/
|
|
170
|
-
readonly search?:
|
|
293
|
+
readonly search?: string;
|
|
171
294
|
/**
|
|
172
|
-
*
|
|
173
|
-
* @type {
|
|
174
|
-
* @memberof
|
|
295
|
+
* 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: amount, bookingDate, createdAt, updatedAt</i>
|
|
296
|
+
* @type {string}
|
|
297
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
175
298
|
*/
|
|
176
|
-
readonly order?:
|
|
299
|
+
readonly order?: string;
|
|
177
300
|
/**
|
|
178
|
-
*
|
|
179
|
-
* @type {
|
|
180
|
-
* @memberof
|
|
301
|
+
* 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: claim.<i>
|
|
302
|
+
* @type {string}
|
|
303
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
181
304
|
*/
|
|
182
|
-
readonly expand?:
|
|
305
|
+
readonly expand?: string;
|
|
183
306
|
/**
|
|
184
|
-
* Filters the response by one or multiple fields.
|
|
185
|
-
* @type {
|
|
186
|
-
* @memberof
|
|
307
|
+
* 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, claimCode, amount, bookingDate, currency, regulationItemType, payoutType, regressType, reserveType, payoutStatus, regressStatus</i>
|
|
308
|
+
* @type {string}
|
|
309
|
+
* @memberof ClaimRegulationsApiListClaimRegulations
|
|
187
310
|
*/
|
|
188
|
-
readonly filters?:
|
|
311
|
+
readonly filters?: string;
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Request parameters for updateClaimRegulation operation in ClaimRegulationsApi.
|
|
315
|
+
* @export
|
|
316
|
+
* @interface ClaimRegulationsApiUpdateClaimRegulationRequest
|
|
317
|
+
*/
|
|
318
|
+
export interface ClaimRegulationsApiUpdateClaimRegulationRequest {
|
|
319
|
+
/**
|
|
320
|
+
* Unique identifier for the object.
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
323
|
+
*/
|
|
324
|
+
readonly code: string;
|
|
325
|
+
/**
|
|
326
|
+
*
|
|
327
|
+
* @type {object}
|
|
328
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
329
|
+
*/
|
|
330
|
+
readonly body: object;
|
|
331
|
+
/**
|
|
332
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
333
|
+
* @type {string}
|
|
334
|
+
* @memberof ClaimRegulationsApiUpdateClaimRegulation
|
|
335
|
+
*/
|
|
336
|
+
readonly authorization?: string;
|
|
189
337
|
}
|
|
190
338
|
/**
|
|
191
339
|
* ClaimRegulationsApi - object-oriented interface
|
|
@@ -203,6 +351,15 @@ export declare class ClaimRegulationsApi extends BaseAPI {
|
|
|
203
351
|
* @memberof ClaimRegulationsApi
|
|
204
352
|
*/
|
|
205
353
|
createClaimRegulation(requestParameters: ClaimRegulationsApiCreateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
|
|
354
|
+
/**
|
|
355
|
+
* This will delete the regulation item identified by the code.
|
|
356
|
+
* @summary Delete the claim regulation item
|
|
357
|
+
* @param {ClaimRegulationsApiDeleteClaimRegulationsRequest} requestParameters Request parameters.
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
* @memberof ClaimRegulationsApi
|
|
361
|
+
*/
|
|
362
|
+
deleteClaimRegulations(requestParameters: ClaimRegulationsApiDeleteClaimRegulationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
206
363
|
/**
|
|
207
364
|
* Retrieves the details of the claim regulation item that was previously created. Supply the unique claim regulation item code that was returned when you created it and Emil Api will return the corresponding claim regulation item information.
|
|
208
365
|
* @summary Retrieve the claim regulation item
|
|
@@ -212,4 +369,22 @@ export declare class ClaimRegulationsApi extends BaseAPI {
|
|
|
212
369
|
* @memberof ClaimRegulationsApi
|
|
213
370
|
*/
|
|
214
371
|
getClaimRegulation(requestParameters: ClaimRegulationsApiGetClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
|
|
372
|
+
/**
|
|
373
|
+
* Returns a list of claim regulation items you have previously created. The claim regulation items are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
374
|
+
* @summary List claim regulation items
|
|
375
|
+
* @param {ClaimRegulationsApiListClaimRegulationsRequest} requestParameters Request parameters.
|
|
376
|
+
* @param {*} [options] Override http request option.
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
* @memberof ClaimRegulationsApi
|
|
379
|
+
*/
|
|
380
|
+
listClaimRegulations(requestParameters?: ClaimRegulationsApiListClaimRegulationsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRegulationsResponseClass, any>>;
|
|
381
|
+
/**
|
|
382
|
+
* Update a regulation item status and some other fields identified by it\'s code. A Regulation item type cannot be changed once created e.g. to change a regulation from PAYOUT to RESERVE. In case of mistakes the current regulation item should be deleted and another item should be created.
|
|
383
|
+
* @summary Update the claim regulation item
|
|
384
|
+
* @param {ClaimRegulationsApiUpdateClaimRegulationRequest} requestParameters Request parameters.
|
|
385
|
+
* @param {*} [options] Override http request option.
|
|
386
|
+
* @throws {RequiredError}
|
|
387
|
+
* @memberof ClaimRegulationsApi
|
|
388
|
+
*/
|
|
389
|
+
updateClaimRegulation(requestParameters: ClaimRegulationsApiUpdateClaimRegulationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RegulationItemResponseClass, any>>;
|
|
215
390
|
}
|