@emilgroup/claim-sdk-node 1.17.2-beta.0 → 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 +9 -1
- package/README.md +18 -2
- package/api/claim-partner-roles-api.ts +41 -41
- package/api/claim-partners-api.ts +55 -55
- package/api/claim-regulations-api.ts +689 -0
- package/api/claim-statuses-api.ts +39 -39
- package/api/claims-api.ts +37 -37
- package/api/{default-api.ts → health-check-api.ts} +22 -18
- package/api/settlements-api.ts +39 -39
- package/api.ts +4 -2
- package/dist/api/claim-partner-roles-api.d.ts +41 -41
- package/dist/api/claim-partner-roles-api.js +23 -23
- package/dist/api/claim-partners-api.d.ts +51 -51
- package/dist/api/claim-partners-api.js +32 -32
- package/dist/api/claim-regulations-api.d.ts +390 -0
- package/dist/api/claim-regulations-api.js +646 -0
- package/dist/api/claim-statuses-api.d.ts +39 -39
- package/dist/api/claim-statuses-api.js +23 -23
- package/dist/api/claims-api.d.ts +37 -37
- package/dist/api/claims-api.js +19 -19
- 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/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +23 -23
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -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 +68 -0
- package/dist/models/create-regulation-item-request-dto.js +34 -0
- 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 +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-regulations-response-class.d.ts +31 -0
- package/dist/models/list-regulations-response-class.js +15 -0
- package/dist/models/patch-claim-request-dto.d.ts +18 -18
- package/dist/models/payout-details-class.d.ts +90 -0
- package/dist/models/payout-details-class.js +26 -0
- package/dist/models/regress-details-class.d.ts +81 -0
- package/dist/models/regress-details-class.js +29 -0
- package/dist/models/regulation-item-class.d.ts +126 -0
- package/dist/models/regulation-item-class.js +34 -0
- package/dist/models/regulation-item-response-class.d.ts +25 -0
- package/dist/models/regulation-item-response-class.js +15 -0
- package/dist/models/reserve-details-class.d.ts +59 -0
- package/dist/models/reserve-details-class.js +20 -0
- 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 +78 -0
- 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 +7 -0
- package/models/list-regulations-response-class.ts +37 -0
- package/models/patch-claim-request-dto.ts +18 -18
- package/models/payout-details-class.ts +100 -0
- package/models/regress-details-class.ts +91 -0
- package/models/regulation-item-class.ts +136 -0
- package/models/regulation-item-response-class.ts +31 -0
- package/models/reserve-details-class.ts +68 -0
- 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
|
@@ -41,29 +41,29 @@ export declare const ClaimPartnersApiAxiosParamCreator: (configuration?: Configu
|
|
|
41
41
|
*/
|
|
42
42
|
deleteClaimPartner: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
44
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
45
45
|
* @summary Retrieve the claim partner
|
|
46
46
|
* @param {number} id
|
|
47
47
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
48
48
|
* @param {*} [options] Override http request option.
|
|
49
49
|
* @throws {RequiredError}
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
getClaimPartner: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
52
|
/**
|
|
53
|
-
* Returns a list of claim partners you have previously created.
|
|
53
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
54
54
|
* @summary List claim partners
|
|
55
55
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
56
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
57
57
|
* @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.
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {
|
|
58
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
59
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
60
|
+
* @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>
|
|
61
|
+
* @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: role, partner.<i>
|
|
62
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
63
63
|
* @param {*} [options] Override http request option.
|
|
64
64
|
* @throws {RequiredError}
|
|
65
65
|
*/
|
|
66
|
-
listClaimPartners: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
66
|
+
listClaimPartners: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
67
|
};
|
|
68
68
|
/**
|
|
69
69
|
* ClaimPartnersApi - functional programming interface
|
|
@@ -90,29 +90,29 @@ export declare const ClaimPartnersApiFp: (configuration?: Configuration) => {
|
|
|
90
90
|
*/
|
|
91
91
|
deleteClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
92
92
|
/**
|
|
93
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
93
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
94
94
|
* @summary Retrieve the claim partner
|
|
95
95
|
* @param {number} id
|
|
96
96
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
getClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>>;
|
|
101
101
|
/**
|
|
102
|
-
* Returns a list of claim partners you have previously created.
|
|
102
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
103
103
|
* @summary List claim partners
|
|
104
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
105
105
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
106
106
|
* @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.
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
110
|
-
* @param {
|
|
111
|
-
* @param {
|
|
107
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
108
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
109
|
+
* @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>
|
|
110
|
+
* @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: role, partner.<i>
|
|
111
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
112
112
|
* @param {*} [options] Override http request option.
|
|
113
113
|
* @throws {RequiredError}
|
|
114
114
|
*/
|
|
115
|
-
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
115
|
+
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>>;
|
|
116
116
|
};
|
|
117
117
|
/**
|
|
118
118
|
* ClaimPartnersApi - factory interface
|
|
@@ -139,29 +139,29 @@ export declare const ClaimPartnersApiFactory: (configuration?: Configuration, ba
|
|
|
139
139
|
*/
|
|
140
140
|
deleteClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<void>;
|
|
141
141
|
/**
|
|
142
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
142
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
143
143
|
* @summary Retrieve the claim partner
|
|
144
144
|
* @param {number} id
|
|
145
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
146
|
* @param {*} [options] Override http request option.
|
|
147
147
|
* @throws {RequiredError}
|
|
148
148
|
*/
|
|
149
|
-
|
|
149
|
+
getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass>;
|
|
150
150
|
/**
|
|
151
|
-
* Returns a list of claim partners you have previously created.
|
|
151
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
152
152
|
* @summary List claim partners
|
|
153
153
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
154
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
155
155
|
* @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.
|
|
156
|
-
* @param {
|
|
157
|
-
* @param {
|
|
158
|
-
* @param {
|
|
159
|
-
* @param {
|
|
160
|
-
* @param {
|
|
156
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
157
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
158
|
+
* @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>
|
|
159
|
+
* @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: role, partner.<i>
|
|
160
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
161
161
|
* @param {*} [options] Override http request option.
|
|
162
162
|
* @throws {RequiredError}
|
|
163
163
|
*/
|
|
164
|
-
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
164
|
+
listClaimPartners(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass>;
|
|
165
165
|
};
|
|
166
166
|
/**
|
|
167
167
|
* Request parameters for createClaimPartner operation in ClaimPartnersApi.
|
|
@@ -208,21 +208,21 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
|
|
|
208
208
|
readonly authorization?: string;
|
|
209
209
|
}
|
|
210
210
|
/**
|
|
211
|
-
* Request parameters for
|
|
211
|
+
* Request parameters for getClaimPartner operation in ClaimPartnersApi.
|
|
212
212
|
* @export
|
|
213
|
-
* @interface
|
|
213
|
+
* @interface ClaimPartnersApiGetClaimPartnerRequest
|
|
214
214
|
*/
|
|
215
|
-
export interface
|
|
215
|
+
export interface ClaimPartnersApiGetClaimPartnerRequest {
|
|
216
216
|
/**
|
|
217
217
|
*
|
|
218
218
|
* @type {number}
|
|
219
|
-
* @memberof
|
|
219
|
+
* @memberof ClaimPartnersApiGetClaimPartner
|
|
220
220
|
*/
|
|
221
221
|
readonly id: number;
|
|
222
222
|
/**
|
|
223
223
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
224
224
|
* @type {string}
|
|
225
|
-
* @memberof
|
|
225
|
+
* @memberof ClaimPartnersApiGetClaimPartner
|
|
226
226
|
*/
|
|
227
227
|
readonly authorization?: string;
|
|
228
228
|
}
|
|
@@ -251,35 +251,35 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
|
|
|
251
251
|
*/
|
|
252
252
|
readonly pageToken?: any;
|
|
253
253
|
/**
|
|
254
|
-
* Filter the response by one or multiple fields.
|
|
255
|
-
* @type {
|
|
254
|
+
* 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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
255
|
+
* @type {string}
|
|
256
256
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
257
257
|
*/
|
|
258
|
-
readonly filter?:
|
|
258
|
+
readonly filter?: string;
|
|
259
259
|
/**
|
|
260
|
-
* Search the
|
|
261
|
-
* @type {
|
|
260
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
261
|
+
* @type {string}
|
|
262
262
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
263
263
|
*/
|
|
264
|
-
readonly search?:
|
|
264
|
+
readonly search?: string;
|
|
265
265
|
/**
|
|
266
|
-
*
|
|
267
|
-
* @type {
|
|
266
|
+
* 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>
|
|
267
|
+
* @type {string}
|
|
268
268
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
269
269
|
*/
|
|
270
|
-
readonly order?:
|
|
270
|
+
readonly order?: string;
|
|
271
271
|
/**
|
|
272
|
-
*
|
|
273
|
-
* @type {
|
|
272
|
+
* 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: role, partner.<i>
|
|
273
|
+
* @type {string}
|
|
274
274
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
275
275
|
*/
|
|
276
|
-
readonly expand?:
|
|
276
|
+
readonly expand?: string;
|
|
277
277
|
/**
|
|
278
|
-
* Filters the response by one or multiple fields.
|
|
279
|
-
* @type {
|
|
278
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
279
|
+
* @type {string}
|
|
280
280
|
* @memberof ClaimPartnersApiListClaimPartners
|
|
281
281
|
*/
|
|
282
|
-
readonly filters?:
|
|
282
|
+
readonly filters?: string;
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
285
|
* ClaimPartnersApi - object-oriented interface
|
|
@@ -307,16 +307,16 @@ export declare class ClaimPartnersApi extends BaseAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
deleteClaimPartner(requestParameters: ClaimPartnersApiDeleteClaimPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
309
309
|
/**
|
|
310
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
310
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
311
311
|
* @summary Retrieve the claim partner
|
|
312
|
-
* @param {
|
|
312
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
314
314
|
* @throws {RequiredError}
|
|
315
315
|
* @memberof ClaimPartnersApi
|
|
316
316
|
*/
|
|
317
|
-
|
|
317
|
+
getClaimPartner(requestParameters: ClaimPartnersApiGetClaimPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimPartnerResponseClass, any>>;
|
|
318
318
|
/**
|
|
319
|
-
* Returns a list of claim partners you have previously created.
|
|
319
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
320
320
|
* @summary List claim partners
|
|
321
321
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
322
322
|
* @param {*} [options] Override http request option.
|
|
@@ -198,14 +198,14 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
200
|
/**
|
|
201
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
201
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
202
202
|
* @summary Retrieve the claim partner
|
|
203
203
|
* @param {number} id
|
|
204
204
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
205
205
|
* @param {*} [options] Override http request option.
|
|
206
206
|
* @throws {RequiredError}
|
|
207
207
|
*/
|
|
208
|
-
|
|
208
|
+
getClaimPartner: function (id, authorization, options) {
|
|
209
209
|
if (options === void 0) { options = {}; }
|
|
210
210
|
return __awaiter(_this, void 0, void 0, function () {
|
|
211
211
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -213,7 +213,7 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
213
213
|
switch (_a.label) {
|
|
214
214
|
case 0:
|
|
215
215
|
// verify required parameter 'id' is not null or undefined
|
|
216
|
-
(0, common_1.assertParamExists)('
|
|
216
|
+
(0, common_1.assertParamExists)('getClaimPartner', 'id', id);
|
|
217
217
|
localVarPath = "/v1/claim-partners/{id}"
|
|
218
218
|
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
219
219
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -246,16 +246,16 @@ var ClaimPartnersApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
});
|
|
247
247
|
},
|
|
248
248
|
/**
|
|
249
|
-
* Returns a list of claim partners you have previously created.
|
|
249
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
250
250
|
* @summary List claim partners
|
|
251
251
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
252
252
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
253
253
|
* @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.
|
|
254
|
-
* @param {
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {
|
|
258
|
-
* @param {
|
|
254
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
255
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
256
|
+
* @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>
|
|
257
|
+
* @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: role, partner.<i>
|
|
258
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
259
259
|
* @param {*} [options] Override http request option.
|
|
260
260
|
* @throws {RequiredError}
|
|
261
261
|
*/
|
|
@@ -371,19 +371,19 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
371
371
|
});
|
|
372
372
|
},
|
|
373
373
|
/**
|
|
374
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
374
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
375
375
|
* @summary Retrieve the claim partner
|
|
376
376
|
* @param {number} id
|
|
377
377
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
378
378
|
* @param {*} [options] Override http request option.
|
|
379
379
|
* @throws {RequiredError}
|
|
380
380
|
*/
|
|
381
|
-
|
|
381
|
+
getClaimPartner: function (id, authorization, options) {
|
|
382
382
|
return __awaiter(this, void 0, void 0, function () {
|
|
383
383
|
var localVarAxiosArgs;
|
|
384
384
|
return __generator(this, function (_a) {
|
|
385
385
|
switch (_a.label) {
|
|
386
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
386
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPartner(id, authorization, options)];
|
|
387
387
|
case 1:
|
|
388
388
|
localVarAxiosArgs = _a.sent();
|
|
389
389
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -392,16 +392,16 @@ var ClaimPartnersApiFp = function (configuration) {
|
|
|
392
392
|
});
|
|
393
393
|
},
|
|
394
394
|
/**
|
|
395
|
-
* Returns a list of claim partners you have previously created.
|
|
395
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
396
396
|
* @summary List claim partners
|
|
397
397
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
398
398
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
399
399
|
* @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.
|
|
400
|
-
* @param {
|
|
401
|
-
* @param {
|
|
402
|
-
* @param {
|
|
403
|
-
* @param {
|
|
404
|
-
* @param {
|
|
400
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
401
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
402
|
+
* @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>
|
|
403
|
+
* @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: role, partner.<i>
|
|
404
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
405
405
|
* @param {*} [options] Override http request option.
|
|
406
406
|
* @throws {RequiredError}
|
|
407
407
|
*/
|
|
@@ -452,27 +452,27 @@ var ClaimPartnersApiFactory = function (configuration, basePath, axios) {
|
|
|
452
452
|
return localVarFp.deleteClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
453
453
|
},
|
|
454
454
|
/**
|
|
455
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
455
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
456
456
|
* @summary Retrieve the claim partner
|
|
457
457
|
* @param {number} id
|
|
458
458
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
460
460
|
* @throws {RequiredError}
|
|
461
461
|
*/
|
|
462
|
-
|
|
463
|
-
return localVarFp.
|
|
462
|
+
getClaimPartner: function (id, authorization, options) {
|
|
463
|
+
return localVarFp.getClaimPartner(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
464
464
|
},
|
|
465
465
|
/**
|
|
466
|
-
* Returns a list of claim partners you have previously created.
|
|
466
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
467
467
|
* @summary List claim partners
|
|
468
468
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
469
469
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
470
470
|
* @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.
|
|
471
|
-
* @param {
|
|
472
|
-
* @param {
|
|
473
|
-
* @param {
|
|
474
|
-
* @param {
|
|
475
|
-
* @param {
|
|
471
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
472
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
473
|
+
* @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>
|
|
474
|
+
* @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: role, partner.<i>
|
|
475
|
+
* @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: partnerCode, claimPartnerRoleCode, claimCode</i>
|
|
476
476
|
* @param {*} [options] Override http request option.
|
|
477
477
|
* @throws {RequiredError}
|
|
478
478
|
*/
|
|
@@ -518,19 +518,19 @@ var ClaimPartnersApi = /** @class */ (function (_super) {
|
|
|
518
518
|
return (0, exports.ClaimPartnersApiFp)(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
519
519
|
};
|
|
520
520
|
/**
|
|
521
|
-
* Retrieves the details of the claim partner that was previously created.
|
|
521
|
+
* Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information.
|
|
522
522
|
* @summary Retrieve the claim partner
|
|
523
|
-
* @param {
|
|
523
|
+
* @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
|
|
524
524
|
* @param {*} [options] Override http request option.
|
|
525
525
|
* @throws {RequiredError}
|
|
526
526
|
* @memberof ClaimPartnersApi
|
|
527
527
|
*/
|
|
528
|
-
ClaimPartnersApi.prototype.
|
|
528
|
+
ClaimPartnersApi.prototype.getClaimPartner = function (requestParameters, options) {
|
|
529
529
|
var _this = this;
|
|
530
|
-
return (0, exports.ClaimPartnersApiFp)(this.configuration).
|
|
530
|
+
return (0, exports.ClaimPartnersApiFp)(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
531
531
|
};
|
|
532
532
|
/**
|
|
533
|
-
* Returns a list of claim partners you have previously created.
|
|
533
|
+
* Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
534
534
|
* @summary List claim partners
|
|
535
535
|
* @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
|
|
536
536
|
* @param {*} [options] Override http request option.
|