@emilgroup/customer-sdk-node 1.11.3 → 1.13.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 +3 -0
- package/README.md +2 -2
- package/api/authentication-api.ts +8 -8
- package/api/claims-api.ts +138 -12
- package/api/documents-api.ts +4 -4
- package/api/invites-api.ts +16 -14
- package/api/payments-api.ts +14 -28
- package/api/policies-api.ts +16 -16
- package/api/products-api.ts +4 -4
- package/base.ts +1 -1
- package/dist/api/authentication-api.d.ts +8 -8
- package/dist/api/authentication-api.js +8 -8
- package/dist/api/claims-api.d.ts +86 -12
- package/dist/api/claims-api.js +106 -12
- package/dist/api/documents-api.d.ts +4 -4
- package/dist/api/documents-api.js +4 -4
- package/dist/api/invites-api.d.ts +9 -8
- package/dist/api/invites-api.js +12 -12
- package/dist/api/payments-api.d.ts +11 -20
- package/dist/api/payments-api.js +14 -20
- package/dist/api/policies-api.d.ts +16 -16
- package/dist/api/policies-api.js +16 -16
- package/dist/api/products-api.d.ts +4 -4
- package/dist/api/products-api.js +4 -4
- package/dist/base.js +1 -1
- package/dist/models/currency-class.d.ts +48 -0
- package/dist/models/currency-class.js +15 -0
- package/dist/models/get-customer-claim-response-class.d.ts +25 -0
- package/dist/models/get-customer-claim-response-class.js +15 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/invite-by-tenant-request-dto.d.ts +24 -0
- package/dist/models/invite-by-tenant-request-dto.js +15 -0
- package/dist/models/invoice-class.d.ts +7 -0
- package/dist/models/policy-object-class.d.ts +18 -0
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +7 -1
- package/dist/models/terminate-customer-policy-request-dto.d.ts +1 -1
- package/models/currency-class.ts +54 -0
- package/models/get-customer-claim-response-class.ts +31 -0
- package/models/index.ts +3 -0
- package/models/invite-by-tenant-request-dto.ts +30 -0
- package/models/invoice-class.ts +7 -0
- package/models/policy-object-class.ts +18 -0
- package/models/shared-customer-policy-object-request-dto.ts +7 -1
- package/models/terminate-customer-policy-request-dto.ts +1 -1
- package/package.json +1 -1
package/api/policies-api.ts
CHANGED
|
@@ -150,7 +150,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
150
150
|
},
|
|
151
151
|
/**
|
|
152
152
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
153
|
-
* @summary List policies
|
|
153
|
+
* @summary List policies
|
|
154
154
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
155
155
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
156
156
|
* @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.
|
|
@@ -221,7 +221,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
221
221
|
},
|
|
222
222
|
/**
|
|
223
223
|
* Request to update an existing policy by customer.
|
|
224
|
-
* @summary Request policy update
|
|
224
|
+
* @summary Request policy update
|
|
225
225
|
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
226
226
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
227
227
|
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
@@ -272,7 +272,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
272
272
|
},
|
|
273
273
|
/**
|
|
274
274
|
* Request to terminate an existing policy by customer.
|
|
275
|
-
* @summary Terminate a policy
|
|
275
|
+
* @summary Terminate a policy
|
|
276
276
|
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
277
277
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
278
278
|
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
@@ -369,7 +369,7 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* Withdraw policy by customer.
|
|
372
|
-
* @summary Withdraw policy
|
|
372
|
+
* @summary Withdraw the policy
|
|
373
373
|
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
374
374
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
375
375
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -452,7 +452,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
454
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
455
|
-
* @summary List policies
|
|
455
|
+
* @summary List policies
|
|
456
456
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
457
457
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
458
458
|
* @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.
|
|
@@ -470,7 +470,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
470
470
|
},
|
|
471
471
|
/**
|
|
472
472
|
* Request to update an existing policy by customer.
|
|
473
|
-
* @summary Request policy update
|
|
473
|
+
* @summary Request policy update
|
|
474
474
|
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
475
475
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
476
476
|
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
@@ -484,7 +484,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
484
484
|
},
|
|
485
485
|
/**
|
|
486
486
|
* Request to terminate an existing policy by customer.
|
|
487
|
-
* @summary Terminate a policy
|
|
487
|
+
* @summary Terminate a policy
|
|
488
488
|
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
489
489
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
490
490
|
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
@@ -511,7 +511,7 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
511
511
|
},
|
|
512
512
|
/**
|
|
513
513
|
* Withdraw policy by customer.
|
|
514
|
-
* @summary Withdraw policy
|
|
514
|
+
* @summary Withdraw the policy
|
|
515
515
|
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
516
516
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
517
517
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -560,7 +560,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
560
560
|
},
|
|
561
561
|
/**
|
|
562
562
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
563
|
-
* @summary List policies
|
|
563
|
+
* @summary List policies
|
|
564
564
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
565
565
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
566
566
|
* @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.
|
|
@@ -577,7 +577,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
577
577
|
},
|
|
578
578
|
/**
|
|
579
579
|
* Request to update an existing policy by customer.
|
|
580
|
-
* @summary Request policy update
|
|
580
|
+
* @summary Request policy update
|
|
581
581
|
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
582
582
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
583
583
|
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
@@ -590,7 +590,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
590
590
|
},
|
|
591
591
|
/**
|
|
592
592
|
* Request to terminate an existing policy by customer.
|
|
593
|
-
* @summary Terminate a policy
|
|
593
|
+
* @summary Terminate a policy
|
|
594
594
|
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
595
595
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
596
596
|
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
@@ -615,7 +615,7 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
615
615
|
},
|
|
616
616
|
/**
|
|
617
617
|
* Withdraw policy by customer.
|
|
618
|
-
* @summary Withdraw policy
|
|
618
|
+
* @summary Withdraw the policy
|
|
619
619
|
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
620
620
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
621
621
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -920,7 +920,7 @@ export class PoliciesApi extends BaseAPI {
|
|
|
920
920
|
|
|
921
921
|
/**
|
|
922
922
|
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
923
|
-
* @summary List policies
|
|
923
|
+
* @summary List policies
|
|
924
924
|
* @param {PoliciesApiListPoliciesRequest} requestParameters Request parameters.
|
|
925
925
|
* @param {*} [options] Override http request option.
|
|
926
926
|
* @throws {RequiredError}
|
|
@@ -932,7 +932,7 @@ export class PoliciesApi extends BaseAPI {
|
|
|
932
932
|
|
|
933
933
|
/**
|
|
934
934
|
* Request to update an existing policy by customer.
|
|
935
|
-
* @summary Request policy update
|
|
935
|
+
* @summary Request policy update
|
|
936
936
|
* @param {PoliciesApiRequestPolicyUpdateRequest} requestParameters Request parameters.
|
|
937
937
|
* @param {*} [options] Override http request option.
|
|
938
938
|
* @throws {RequiredError}
|
|
@@ -944,7 +944,7 @@ export class PoliciesApi extends BaseAPI {
|
|
|
944
944
|
|
|
945
945
|
/**
|
|
946
946
|
* Request to terminate an existing policy by customer.
|
|
947
|
-
* @summary Terminate a policy
|
|
947
|
+
* @summary Terminate a policy
|
|
948
948
|
* @param {PoliciesApiTerminateCustomerPolicyRequest} requestParameters Request parameters.
|
|
949
949
|
* @param {*} [options] Override http request option.
|
|
950
950
|
* @throws {RequiredError}
|
|
@@ -968,7 +968,7 @@ export class PoliciesApi extends BaseAPI {
|
|
|
968
968
|
|
|
969
969
|
/**
|
|
970
970
|
* Withdraw policy by customer.
|
|
971
|
-
* @summary Withdraw policy
|
|
971
|
+
* @summary Withdraw the policy
|
|
972
972
|
* @param {PoliciesApiWithdrawCustomerPolicyRequest} requestParameters Request parameters.
|
|
973
973
|
* @param {*} [options] Override http request option.
|
|
974
974
|
* @throws {RequiredError}
|
package/api/products-api.ts
CHANGED
|
@@ -81,7 +81,7 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
81
81
|
},
|
|
82
82
|
/**
|
|
83
83
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
84
|
-
* @summary List
|
|
84
|
+
* @summary List available products
|
|
85
85
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
86
86
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
87
87
|
* @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.
|
|
@@ -175,7 +175,7 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
175
175
|
},
|
|
176
176
|
/**
|
|
177
177
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
178
|
-
* @summary List
|
|
178
|
+
* @summary List available products
|
|
179
179
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
180
180
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
181
181
|
* @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.
|
|
@@ -215,7 +215,7 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
215
215
|
},
|
|
216
216
|
/**
|
|
217
217
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
218
|
-
* @summary List
|
|
218
|
+
* @summary List available products
|
|
219
219
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
220
220
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
221
221
|
* @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.
|
|
@@ -345,7 +345,7 @@ export class ProductsApi extends BaseAPI {
|
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
347
|
* List all the products that a customer can insure, the products can be filtered by product code, product number.
|
|
348
|
-
* @summary List
|
|
348
|
+
* @summary List available products
|
|
349
349
|
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
350
350
|
* @param {*} [options] Override http request option.
|
|
351
351
|
* @throws {RequiredError}
|
package/base.ts
CHANGED
|
@@ -22,7 +22,7 @@ import * as fs from 'fs';
|
|
|
22
22
|
import * as path from 'path';
|
|
23
23
|
import * as os from 'os';
|
|
24
24
|
|
|
25
|
-
export const BASE_PATH = "
|
|
25
|
+
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
26
26
|
const CONFIG_DIRECTORY = '.emil';
|
|
27
27
|
const CONFIG_FILENAME = 'credentials';
|
|
28
28
|
const KEY_USERNAME = 'emil_username';
|
|
@@ -58,8 +58,8 @@ export declare const AuthenticationApiAxiosParamCreator: (configuration?: Config
|
|
|
58
58
|
*/
|
|
59
59
|
resetPassword: (resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
60
|
/**
|
|
61
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
62
|
-
* @summary Respond to auth challenge
|
|
61
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
62
|
+
* @summary Respond to auth challenge
|
|
63
63
|
* @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
|
|
64
64
|
* @param {*} [options] Override http request option.
|
|
65
65
|
* @throws {RequiredError}
|
|
@@ -113,8 +113,8 @@ export declare const AuthenticationApiFp: (configuration?: Configuration) => {
|
|
|
113
113
|
*/
|
|
114
114
|
resetPassword(resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
115
115
|
/**
|
|
116
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
117
|
-
* @summary Respond to auth challenge
|
|
116
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
117
|
+
* @summary Respond to auth challenge
|
|
118
118
|
* @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
|
|
119
119
|
* @param {*} [options] Override http request option.
|
|
120
120
|
* @throws {RequiredError}
|
|
@@ -168,8 +168,8 @@ export declare const AuthenticationApiFactory: (configuration?: Configuration, b
|
|
|
168
168
|
*/
|
|
169
169
|
resetPassword(resetPasswordByCustomerRequestDto: ResetPasswordByCustomerRequestDto, options?: any): AxiosPromise<void>;
|
|
170
170
|
/**
|
|
171
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
172
|
-
* @summary Respond to auth challenge
|
|
171
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
172
|
+
* @summary Respond to auth challenge
|
|
173
173
|
* @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
|
|
174
174
|
* @param {*} [options] Override http request option.
|
|
175
175
|
* @throws {RequiredError}
|
|
@@ -312,8 +312,8 @@ export declare class AuthenticationApi extends BaseAPI {
|
|
|
312
312
|
*/
|
|
313
313
|
resetPassword(requestParameters: AuthenticationApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
314
314
|
/**
|
|
315
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
316
|
-
* @summary Respond to auth challenge
|
|
315
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
316
|
+
* @summary Respond to auth challenge
|
|
317
317
|
* @param {AuthenticationApiRespondToAuthChallengeRequest} requestParameters Request parameters.
|
|
318
318
|
* @param {*} [options] Override http request option.
|
|
319
319
|
* @throws {RequiredError}
|
|
@@ -241,8 +241,8 @@ var AuthenticationApiAxiosParamCreator = function (configuration) {
|
|
|
241
241
|
});
|
|
242
242
|
},
|
|
243
243
|
/**
|
|
244
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
245
|
-
* @summary Respond to auth challenge
|
|
244
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
245
|
+
* @summary Respond to auth challenge
|
|
246
246
|
* @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
|
|
247
247
|
* @param {*} [options] Override http request option.
|
|
248
248
|
* @throws {RequiredError}
|
|
@@ -403,8 +403,8 @@ var AuthenticationApiFp = function (configuration) {
|
|
|
403
403
|
});
|
|
404
404
|
},
|
|
405
405
|
/**
|
|
406
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
407
|
-
* @summary Respond to auth challenge
|
|
406
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
407
|
+
* @summary Respond to auth challenge
|
|
408
408
|
* @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
|
|
409
409
|
* @param {*} [options] Override http request option.
|
|
410
410
|
* @throws {RequiredError}
|
|
@@ -494,8 +494,8 @@ var AuthenticationApiFactory = function (configuration, basePath, axios) {
|
|
|
494
494
|
return localVarFp.resetPassword(resetPasswordByCustomerRequestDto, options).then(function (request) { return request(axios, basePath); });
|
|
495
495
|
},
|
|
496
496
|
/**
|
|
497
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
498
|
-
* @summary Respond to auth challenge
|
|
497
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
498
|
+
* @summary Respond to auth challenge
|
|
499
499
|
* @param {RespondToAuthChallengeRequestDto} respondToAuthChallengeRequestDto
|
|
500
500
|
* @param {*} [options] Override http request option.
|
|
501
501
|
* @throws {RequiredError}
|
|
@@ -576,8 +576,8 @@ var AuthenticationApi = /** @class */ (function (_super) {
|
|
|
576
576
|
return (0, exports.AuthenticationApiFp)(this.configuration).resetPassword(requestParameters.resetPasswordByCustomerRequestDto, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
577
577
|
};
|
|
578
578
|
/**
|
|
579
|
-
* Respond to the auth challenge to get new access token, refresh token after successful login.
|
|
580
|
-
* @summary Respond to auth challenge
|
|
579
|
+
* Respond to the auth challenge by customer to get new access token, refresh token after successful login.
|
|
580
|
+
* @summary Respond to auth challenge
|
|
581
581
|
* @param {AuthenticationApiRespondToAuthChallengeRequest} requestParameters Request parameters.
|
|
582
582
|
* @param {*} [options] Override http request option.
|
|
583
583
|
* @throws {RequiredError}
|
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreateCustomerClaimRequestDto } from '../models';
|
|
16
16
|
import { CreateCustomerClaimResponseClass } from '../models';
|
|
17
17
|
import { CreatePresignedPostResponseClass } from '../models';
|
|
18
|
+
import { GetCustomerClaimResponseClass } from '../models';
|
|
18
19
|
import { ListCustomerClaimsResponseClass } from '../models';
|
|
19
20
|
import { UpdateCustomerClaimRequestDto } from '../models';
|
|
20
21
|
import { UpdateCustomerClaimResponseClass } from '../models';
|
|
@@ -26,7 +27,7 @@ import { UploadCustomerClaimDocumentsRequestDto } from '../models';
|
|
|
26
27
|
export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
27
28
|
/**
|
|
28
29
|
* Create a new claim for customer.
|
|
29
|
-
* @summary Create a new claim
|
|
30
|
+
* @summary Create a new claim
|
|
30
31
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
31
32
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
32
33
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -35,9 +36,20 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
35
36
|
* @throws {RequiredError}
|
|
36
37
|
*/
|
|
37
38
|
createCustomerClaim: (customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
39
|
+
/**
|
|
40
|
+
* Get claim for customer.
|
|
41
|
+
* @summary Get claim
|
|
42
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
43
|
+
* @param {string} claimCode The claim code to identify a claim.
|
|
44
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
45
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
|
+
* @param {*} [options] Override http request option.
|
|
47
|
+
* @throws {RequiredError}
|
|
48
|
+
*/
|
|
49
|
+
getCustomerClaim: (customerCode: string, claimCode: string, authorization?: string, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
38
50
|
/**
|
|
39
51
|
* List claims by customer.
|
|
40
|
-
* @summary List claims
|
|
52
|
+
* @summary List claims
|
|
41
53
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
42
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
43
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -53,7 +65,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
53
65
|
listCustomerClaims: (customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
66
|
/**
|
|
55
67
|
* Update claim for customer.
|
|
56
|
-
* @summary Update claim
|
|
68
|
+
* @summary Update claim
|
|
57
69
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
58
70
|
* @param {string} claimCode The claim code to identify a claim.
|
|
59
71
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -83,7 +95,7 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
83
95
|
export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
84
96
|
/**
|
|
85
97
|
* Create a new claim for customer.
|
|
86
|
-
* @summary Create a new claim
|
|
98
|
+
* @summary Create a new claim
|
|
87
99
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
88
100
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
89
101
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -92,9 +104,20 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
92
104
|
* @throws {RequiredError}
|
|
93
105
|
*/
|
|
94
106
|
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCustomerClaimResponseClass>>;
|
|
107
|
+
/**
|
|
108
|
+
* Get claim for customer.
|
|
109
|
+
* @summary Get claim
|
|
110
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
111
|
+
* @param {string} claimCode The claim code to identify a claim.
|
|
112
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
113
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
getCustomerClaim(customerCode: string, claimCode: string, authorization?: string, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomerClaimResponseClass>>;
|
|
95
118
|
/**
|
|
96
119
|
* List claims by customer.
|
|
97
|
-
* @summary List claims
|
|
120
|
+
* @summary List claims
|
|
98
121
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
99
122
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
123
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -110,7 +133,7 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
110
133
|
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCustomerClaimsResponseClass>>;
|
|
111
134
|
/**
|
|
112
135
|
* Update claim for customer.
|
|
113
|
-
* @summary Update claim
|
|
136
|
+
* @summary Update claim
|
|
114
137
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
115
138
|
* @param {string} claimCode The claim code to identify a claim.
|
|
116
139
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -140,7 +163,7 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
140
163
|
export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
141
164
|
/**
|
|
142
165
|
* Create a new claim for customer.
|
|
143
|
-
* @summary Create a new claim
|
|
166
|
+
* @summary Create a new claim
|
|
144
167
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
145
168
|
* @param {CreateCustomerClaimRequestDto} createCustomerClaimRequestDto
|
|
146
169
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -149,9 +172,20 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
149
172
|
* @throws {RequiredError}
|
|
150
173
|
*/
|
|
151
174
|
createCustomerClaim(customerCode: string, createCustomerClaimRequestDto: CreateCustomerClaimRequestDto, authorization?: string, authorization2?: string, options?: any): AxiosPromise<CreateCustomerClaimResponseClass>;
|
|
175
|
+
/**
|
|
176
|
+
* Get claim for customer.
|
|
177
|
+
* @summary Get claim
|
|
178
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
179
|
+
* @param {string} claimCode The claim code to identify a claim.
|
|
180
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
181
|
+
* @param {string} [authorization2] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
|
+
* @param {*} [options] Override http request option.
|
|
183
|
+
* @throws {RequiredError}
|
|
184
|
+
*/
|
|
185
|
+
getCustomerClaim(customerCode: string, claimCode: string, authorization?: string, authorization2?: string, options?: any): AxiosPromise<GetCustomerClaimResponseClass>;
|
|
152
186
|
/**
|
|
153
187
|
* List claims by customer.
|
|
154
|
-
* @summary List claims
|
|
188
|
+
* @summary List claims
|
|
155
189
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
156
190
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
157
191
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
@@ -167,7 +201,7 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
167
201
|
listCustomerClaims(customerCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization2?: string, options?: any): AxiosPromise<ListCustomerClaimsResponseClass>;
|
|
168
202
|
/**
|
|
169
203
|
* Update claim for customer.
|
|
170
|
-
* @summary Update claim
|
|
204
|
+
* @summary Update claim
|
|
171
205
|
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
172
206
|
* @param {string} claimCode The claim code to identify a claim.
|
|
173
207
|
* @param {UpdateCustomerClaimRequestDto} updateCustomerClaimRequestDto
|
|
@@ -221,6 +255,37 @@ export interface ClaimsApiCreateCustomerClaimRequest {
|
|
|
221
255
|
*/
|
|
222
256
|
readonly authorization2?: string;
|
|
223
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* Request parameters for getCustomerClaim operation in ClaimsApi.
|
|
260
|
+
* @export
|
|
261
|
+
* @interface ClaimsApiGetCustomerClaimRequest
|
|
262
|
+
*/
|
|
263
|
+
export interface ClaimsApiGetCustomerClaimRequest {
|
|
264
|
+
/**
|
|
265
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
266
|
+
* @type {string}
|
|
267
|
+
* @memberof ClaimsApiGetCustomerClaim
|
|
268
|
+
*/
|
|
269
|
+
readonly customerCode: string;
|
|
270
|
+
/**
|
|
271
|
+
* The claim code to identify a claim.
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof ClaimsApiGetCustomerClaim
|
|
274
|
+
*/
|
|
275
|
+
readonly claimCode: string;
|
|
276
|
+
/**
|
|
277
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
278
|
+
* @type {string}
|
|
279
|
+
* @memberof ClaimsApiGetCustomerClaim
|
|
280
|
+
*/
|
|
281
|
+
readonly authorization?: string;
|
|
282
|
+
/**
|
|
283
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
284
|
+
* @type {string}
|
|
285
|
+
* @memberof ClaimsApiGetCustomerClaim
|
|
286
|
+
*/
|
|
287
|
+
readonly authorization2?: string;
|
|
288
|
+
}
|
|
224
289
|
/**
|
|
225
290
|
* Request parameters for listCustomerClaims operation in ClaimsApi.
|
|
226
291
|
* @export
|
|
@@ -365,16 +430,25 @@ export interface ClaimsApiUploadCustomerClaimDocumentsRequest {
|
|
|
365
430
|
export declare class ClaimsApi extends BaseAPI {
|
|
366
431
|
/**
|
|
367
432
|
* Create a new claim for customer.
|
|
368
|
-
* @summary Create a new claim
|
|
433
|
+
* @summary Create a new claim
|
|
369
434
|
* @param {ClaimsApiCreateCustomerClaimRequest} requestParameters Request parameters.
|
|
370
435
|
* @param {*} [options] Override http request option.
|
|
371
436
|
* @throws {RequiredError}
|
|
372
437
|
* @memberof ClaimsApi
|
|
373
438
|
*/
|
|
374
439
|
createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerClaimResponseClass, any>>;
|
|
440
|
+
/**
|
|
441
|
+
* Get claim for customer.
|
|
442
|
+
* @summary Get claim
|
|
443
|
+
* @param {ClaimsApiGetCustomerClaimRequest} requestParameters Request parameters.
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
* @memberof ClaimsApi
|
|
447
|
+
*/
|
|
448
|
+
getCustomerClaim(requestParameters: ClaimsApiGetCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerClaimResponseClass, any>>;
|
|
375
449
|
/**
|
|
376
450
|
* List claims by customer.
|
|
377
|
-
* @summary List claims
|
|
451
|
+
* @summary List claims
|
|
378
452
|
* @param {ClaimsApiListCustomerClaimsRequest} requestParameters Request parameters.
|
|
379
453
|
* @param {*} [options] Override http request option.
|
|
380
454
|
* @throws {RequiredError}
|
|
@@ -383,7 +457,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
383
457
|
listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerClaimsResponseClass, any>>;
|
|
384
458
|
/**
|
|
385
459
|
* Update claim for customer.
|
|
386
|
-
* @summary Update claim
|
|
460
|
+
* @summary Update claim
|
|
387
461
|
* @param {ClaimsApiUpdateCustomerClaimRequest} requestParameters Request parameters.
|
|
388
462
|
* @param {*} [options] Override http request option.
|
|
389
463
|
* @throws {RequiredError}
|