@emilgroup/customer-sdk 1.49.1-beta.9 → 1.50.1-beta.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/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/customer-sdk@1.49.1-beta.9 --save
20
+ npm install @emilgroup/customer-sdk@1.50.1-beta.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk@1.49.1-beta.9
24
+ yarn add @emilgroup/customer-sdk@1.50.1-beta.0
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
@@ -341,7 +341,7 @@ export declare class AuthenticationApi extends BaseAPI {
341
341
  * @throws {RequiredError}
342
342
  * @memberof AuthenticationApi
343
343
  */
344
- changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponseClass, any>>;
344
+ changePassword(requestParameters: AuthenticationApiChangePasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponseClass, any, {}>>;
345
345
  /**
346
346
  * Send a customer a reset-password token via email.
347
347
  * @summary Forgot password by customer
@@ -350,7 +350,7 @@ export declare class AuthenticationApi extends BaseAPI {
350
350
  * @throws {RequiredError}
351
351
  * @memberof AuthenticationApi
352
352
  */
353
- forgotPassword(requestParameters: AuthenticationApiForgotPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
353
+ forgotPassword(requestParameters: AuthenticationApiForgotPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
354
354
  /**
355
355
  * Start auth process to get new access token, refresh token after successful login.
356
356
  * @summary Initiate auth by customer
@@ -359,7 +359,7 @@ export declare class AuthenticationApi extends BaseAPI {
359
359
  * @throws {RequiredError}
360
360
  * @memberof AuthenticationApi
361
361
  */
362
- initiateAuth(requestParameters: AuthenticationApiInitiateAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateAuthResponseClass, any>>;
362
+ initiateAuth(requestParameters: AuthenticationApiInitiateAuthRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateAuthResponseClass, any, {}>>;
363
363
  /**
364
364
  * Get new access token, new refresh token.
365
365
  * @summary Refresh token by customer
@@ -368,7 +368,7 @@ export declare class AuthenticationApi extends BaseAPI {
368
368
  * @throws {RequiredError}
369
369
  * @memberof AuthenticationApi
370
370
  */
371
- refreshToken(requestParameters: AuthenticationApiRefreshTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
371
+ refreshToken(requestParameters: AuthenticationApiRefreshTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
372
372
  /**
373
373
  * Change customer\'s password using the token provided by the reset password endpoint.
374
374
  * @summary Change password by customer
@@ -377,7 +377,7 @@ export declare class AuthenticationApi extends BaseAPI {
377
377
  * @throws {RequiredError}
378
378
  * @memberof AuthenticationApi
379
379
  */
380
- resetPassword(requestParameters: AuthenticationApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
380
+ resetPassword(requestParameters: AuthenticationApiResetPasswordRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
381
381
  /**
382
382
  * Respond to the auth challenge by customer to get new access token, refresh token after successful login.
383
383
  * @summary Respond to auth challenge
@@ -386,7 +386,7 @@ export declare class AuthenticationApi extends BaseAPI {
386
386
  * @throws {RequiredError}
387
387
  * @memberof AuthenticationApi
388
388
  */
389
- respondToAuthChallenge(requestParameters: AuthenticationApiRespondToAuthChallengeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RespondToAuthChallengeClass, any>>;
389
+ respondToAuthChallenge(requestParameters: AuthenticationApiRespondToAuthChallengeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RespondToAuthChallengeClass, any, {}>>;
390
390
  /**
391
391
  * Verify the reset password token that is sent by calling the \'forgot password\' endpoint.
392
392
  * @summary Verify a reset password token
@@ -395,5 +395,5 @@ export declare class AuthenticationApi extends BaseAPI {
395
395
  * @throws {RequiredError}
396
396
  * @memberof AuthenticationApi
397
397
  */
398
- verifyResetPasswordToken(requestParameters: AuthenticationApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyResetPasswordTokenResponseClass, any>>;
398
+ verifyResetPasswordToken(requestParameters: AuthenticationApiVerifyResetPasswordTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyResetPasswordTokenResponseClass, any, {}>>;
399
399
  }
@@ -400,7 +400,7 @@ export declare class ClaimsApi extends BaseAPI {
400
400
  * @throws {RequiredError}
401
401
  * @memberof ClaimsApi
402
402
  */
403
- createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerClaimResponseClass, any>>;
403
+ createCustomerClaim(requestParameters: ClaimsApiCreateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerClaimResponseClass, any, {}>>;
404
404
  /**
405
405
  * Get claim for customer.
406
406
  * @summary Get claim
@@ -409,7 +409,7 @@ export declare class ClaimsApi extends BaseAPI {
409
409
  * @throws {RequiredError}
410
410
  * @memberof ClaimsApi
411
411
  */
412
- getCustomerClaim(requestParameters: ClaimsApiGetCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerClaimResponseClass, any>>;
412
+ getCustomerClaim(requestParameters: ClaimsApiGetCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerClaimResponseClass, any, {}>>;
413
413
  /**
414
414
  * List claims by customer.
415
415
  * @summary List claims
@@ -418,7 +418,7 @@ export declare class ClaimsApi extends BaseAPI {
418
418
  * @throws {RequiredError}
419
419
  * @memberof ClaimsApi
420
420
  */
421
- listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerClaimsResponseClass, any>>;
421
+ listCustomerClaims(requestParameters: ClaimsApiListCustomerClaimsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCustomerClaimsResponseClass, any, {}>>;
422
422
  /**
423
423
  * Update claim for customer.
424
424
  * @summary Update claim
@@ -427,7 +427,7 @@ export declare class ClaimsApi extends BaseAPI {
427
427
  * @throws {RequiredError}
428
428
  * @memberof ClaimsApi
429
429
  */
430
- updateCustomerClaim(requestParameters: ClaimsApiUpdateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerClaimResponseClass, any>>;
430
+ updateCustomerClaim(requestParameters: ClaimsApiUpdateCustomerClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerClaimResponseClass, any, {}>>;
431
431
  /**
432
432
  * API to upload and attach documents to a claim.
433
433
  * @summary Upload claim documents
@@ -436,5 +436,5 @@ export declare class ClaimsApi extends BaseAPI {
436
436
  * @throws {RequiredError}
437
437
  * @memberof ClaimsApi
438
438
  */
439
- uploadCustomerClaimDocuments(requestParameters: ClaimsApiUploadCustomerClaimDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
439
+ uploadCustomerClaimDocuments(requestParameters: ClaimsApiUploadCustomerClaimDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
440
440
  }
@@ -401,7 +401,7 @@ export declare class CustomersApi extends BaseAPI {
401
401
  * @throws {RequiredError}
402
402
  * @memberof CustomersApi
403
403
  */
404
- changeCustomerEmail(requestParameters: CustomersApiChangeCustomerEmailRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponseClass, any>>;
404
+ changeCustomerEmail(requestParameters: CustomersApiChangeCustomerEmailRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponseClass, any, {}>>;
405
405
  /**
406
406
  * Get customer details.
407
407
  * @summary Get customer details
@@ -410,7 +410,7 @@ export declare class CustomersApi extends BaseAPI {
410
410
  * @throws {RequiredError}
411
411
  * @memberof CustomersApi
412
412
  */
413
- getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerResponseClass, any>>;
413
+ getCustomer(requestParameters: CustomersApiGetCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerResponseClass, any, {}>>;
414
414
  /**
415
415
  * Get customer list.
416
416
  * @summary Get customers list
@@ -419,7 +419,7 @@ export declare class CustomersApi extends BaseAPI {
419
419
  * @throws {RequiredError}
420
420
  * @memberof CustomersApi
421
421
  */
422
- listCustomers(requestParameters?: CustomersApiListCustomersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
422
+ listCustomers(requestParameters?: CustomersApiListCustomersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
423
423
  /**
424
424
  * Request a token to change the email address for the customer.
425
425
  * @summary Request customer email change
@@ -428,7 +428,7 @@ export declare class CustomersApi extends BaseAPI {
428
428
  * @throws {RequiredError}
429
429
  * @memberof CustomersApi
430
430
  */
431
- requestChangeEmailByCustomer(requestParameters: CustomersApiRequestChangeEmailByCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestChangeEmailByCustomerResponseClass, any>>;
431
+ requestChangeEmailByCustomer(requestParameters: CustomersApiRequestChangeEmailByCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestChangeEmailByCustomerResponseClass, any, {}>>;
432
432
  /**
433
433
  * Update customer details like phone, names, addresses etc. To change email, please use Request customer email change endpoint instead.
434
434
  * @summary Update customer details
@@ -437,7 +437,7 @@ export declare class CustomersApi extends BaseAPI {
437
437
  * @throws {RequiredError}
438
438
  * @memberof CustomersApi
439
439
  */
440
- updateCustomer(requestParameters: CustomersApiUpdateCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponseClass, any>>;
440
+ updateCustomer(requestParameters: CustomersApiUpdateCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponseClass, any, {}>>;
441
441
  /**
442
442
  * Verify the change email token that is sent by calling the request change email endpoint.
443
443
  * @summary Verify the change email token
@@ -446,5 +446,5 @@ export declare class CustomersApi extends BaseAPI {
446
446
  * @throws {RequiredError}
447
447
  * @memberof CustomersApi
448
448
  */
449
- verifyChangeEmailToken(requestParameters: CustomersApiVerifyChangeEmailTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyChangeEmailTokenResponseClass, any>>;
449
+ verifyChangeEmailToken(requestParameters: CustomersApiVerifyChangeEmailTokenRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyChangeEmailTokenResponseClass, any, {}>>;
450
450
  }
@@ -62,5 +62,5 @@ export declare class DefaultApi extends BaseAPI {
62
62
  * @throws {RequiredError}
63
63
  * @memberof DefaultApi
64
64
  */
65
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
65
+ check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
66
66
  }
@@ -268,7 +268,7 @@ export declare class DocumentsApi extends BaseAPI {
268
268
  * @throws {RequiredError}
269
269
  * @memberof DocumentsApi
270
270
  */
271
- getCustomerDocumentDownloadUrl(requestParameters: DocumentsApiGetCustomerDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerDocumentDownloadUrlResponseClass, any>>;
271
+ getCustomerDocumentDownloadUrl(requestParameters: DocumentsApiGetCustomerDocumentDownloadUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomerDocumentDownloadUrlResponseClass, any, {}>>;
272
272
  /**
273
273
  * List all the documents of a customer.
274
274
  * @summary List documents of a customer
@@ -277,7 +277,7 @@ export declare class DocumentsApi extends BaseAPI {
277
277
  * @throws {RequiredError}
278
278
  * @memberof DocumentsApi
279
279
  */
280
- listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any>>;
280
+ listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}>>;
281
281
  /**
282
282
  * API to upload and attach documents to an account.
283
283
  * @summary Upload account documents
@@ -286,5 +286,5 @@ export declare class DocumentsApi extends BaseAPI {
286
286
  * @throws {RequiredError}
287
287
  * @memberof DocumentsApi
288
288
  */
289
- uploadAccountDocuments(requestParameters: DocumentsApiUploadAccountDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
289
+ uploadAccountDocuments(requestParameters: DocumentsApiUploadAccountDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
290
290
  }
@@ -218,7 +218,7 @@ export declare class InvitesApi extends BaseAPI {
218
218
  * @throws {RequiredError}
219
219
  * @memberof InvitesApi
220
220
  */
221
- createCustomer(requestParameters: InvitesApiCreateCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerResponseClass, any>>;
221
+ createCustomer(requestParameters: InvitesApiCreateCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomerResponseClass, any, {}>>;
222
222
  /**
223
223
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
224
224
  * @summary Invite a customer by self
@@ -227,7 +227,7 @@ export declare class InvitesApi extends BaseAPI {
227
227
  * @throws {RequiredError}
228
228
  * @memberof InvitesApi
229
229
  */
230
- inviteByCustomer(requestParameters: InvitesApiInviteByCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteByCustomerResponseClass, any>>;
230
+ inviteByCustomer(requestParameters: InvitesApiInviteByCustomerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteByCustomerResponseClass, any, {}>>;
231
231
  /**
232
232
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported. **Required Permissions** \"customer-management.customers.create\"
233
233
  * @summary Invite a customer by tenant
@@ -236,7 +236,7 @@ export declare class InvitesApi extends BaseAPI {
236
236
  * @throws {RequiredError}
237
237
  * @memberof InvitesApi
238
238
  */
239
- inviteByTenant(requestParameters: InvitesApiInviteByTenantRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteByTenantResponseClass, any>>;
239
+ inviteByTenant(requestParameters: InvitesApiInviteByTenantRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InviteByTenantResponseClass, any, {}>>;
240
240
  /**
241
241
  * Verify the invite sent to the customer via email.
242
242
  * @summary Verify customer\'s invite token
@@ -245,5 +245,5 @@ export declare class InvitesApi extends BaseAPI {
245
245
  * @throws {RequiredError}
246
246
  * @memberof InvitesApi
247
247
  */
248
- verifyInvite(requestParameters: InvitesApiVerifyInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyCustomerInviteResponseClass, any>>;
248
+ verifyInvite(requestParameters: InvitesApiVerifyInviteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<VerifyCustomerInviteResponseClass, any, {}>>;
249
249
  }
@@ -155,5 +155,5 @@ export declare class InvoicesApi extends BaseAPI {
155
155
  * @throws {RequiredError}
156
156
  * @memberof InvoicesApi
157
157
  */
158
- listInvoices(requestParameters: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any>>;
158
+ listInvoices(requestParameters: InvoicesApiListInvoicesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListInvoicesResponseClass, any, {}>>;
159
159
  }
@@ -343,7 +343,7 @@ export declare class LeadsApi extends BaseAPI {
343
343
  * @throws {RequiredError}
344
344
  * @memberof LeadsApi
345
345
  */
346
- createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
346
+ createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any, {}>>;
347
347
  /**
348
348
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
349
349
  * @summary Retrieve the lead
@@ -352,7 +352,7 @@ export declare class LeadsApi extends BaseAPI {
352
352
  * @throws {RequiredError}
353
353
  * @memberof LeadsApi
354
354
  */
355
- getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
355
+ getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any, {}>>;
356
356
  /**
357
357
  * Returns a list of leads you have previously created. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
358
358
  * @summary List leads
@@ -361,7 +361,7 @@ export declare class LeadsApi extends BaseAPI {
361
361
  * @throws {RequiredError}
362
362
  * @memberof LeadsApi
363
363
  */
364
- listLeads(requestParameters: LeadsApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any>>;
364
+ listLeads(requestParameters: LeadsApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any, {}>>;
365
365
  /**
366
366
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
367
367
  * @summary Update the lead
@@ -370,5 +370,5 @@ export declare class LeadsApi extends BaseAPI {
370
370
  * @throws {RequiredError}
371
371
  * @memberof LeadsApi
372
372
  */
373
- updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
373
+ updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any, {}>>;
374
374
  }
@@ -159,7 +159,7 @@ export declare class PaymentsApi extends BaseAPI {
159
159
  * @throws {RequiredError}
160
160
  * @memberof PaymentsApi
161
161
  */
162
- completePaymentSetup(requestParameters: PaymentsApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
162
+ completePaymentSetup(requestParameters: PaymentsApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}>>;
163
163
  /**
164
164
  * Request to initiate a payment change by customer.
165
165
  * @summary Request payment setup initiation
@@ -168,5 +168,5 @@ export declare class PaymentsApi extends BaseAPI {
168
168
  * @throws {RequiredError}
169
169
  * @memberof PaymentsApi
170
170
  */
171
- initiatePaymentSetup(requestParameters: PaymentsApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
171
+ initiatePaymentSetup(requestParameters: PaymentsApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}>>;
172
172
  }
@@ -529,7 +529,7 @@ export declare class PoliciesApi extends BaseAPI {
529
529
  * @throws {RequiredError}
530
530
  * @memberof PoliciesApi
531
531
  */
532
- getCustomerPolicyDataByDate(requestParameters: PoliciesApiGetCustomerPolicyDataByDateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
532
+ getCustomerPolicyDataByDate(requestParameters: PoliciesApiGetCustomerPolicyDataByDateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any, {}>>;
533
533
  /**
534
534
  * Get detailed policy that belongs to a customer; the details can be expanded using expand query parameter.
535
535
  * @summary Get policy details
@@ -538,7 +538,7 @@ export declare class PoliciesApi extends BaseAPI {
538
538
  * @throws {RequiredError}
539
539
  * @memberof PoliciesApi
540
540
  */
541
- getPolicy(requestParameters: PoliciesApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
541
+ getPolicy(requestParameters: PoliciesApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any, {}>>;
542
542
  /**
543
543
  * List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
544
544
  * @summary List policies
@@ -547,7 +547,7 @@ export declare class PoliciesApi extends BaseAPI {
547
547
  * @throws {RequiredError}
548
548
  * @memberof PoliciesApi
549
549
  */
550
- listPolicies(requestParameters: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any>>;
550
+ listPolicies(requestParameters: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any, {}>>;
551
551
  /**
552
552
  * Request to update an existing policy by customer.
553
553
  * @summary Request policy update
@@ -556,7 +556,7 @@ export declare class PoliciesApi extends BaseAPI {
556
556
  * @throws {RequiredError}
557
557
  * @memberof PoliciesApi
558
558
  */
559
- requestPolicyUpdate(requestParameters: PoliciesApiRequestPolicyUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPolicyUpdateResponseClass, any>>;
559
+ requestPolicyUpdate(requestParameters: PoliciesApiRequestPolicyUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPolicyUpdateResponseClass, any, {}>>;
560
560
  /**
561
561
  * Request to terminate an existing policy by customer.
562
562
  * @summary Terminate a policy
@@ -565,7 +565,7 @@ export declare class PoliciesApi extends BaseAPI {
565
565
  * @throws {RequiredError}
566
566
  * @memberof PoliciesApi
567
567
  */
568
- terminateCustomerPolicy(requestParameters: PoliciesApiTerminateCustomerPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminateCustomerPolicyResponseClass, any>>;
568
+ terminateCustomerPolicy(requestParameters: PoliciesApiTerminateCustomerPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminateCustomerPolicyResponseClass, any, {}>>;
569
569
  /**
570
570
  * API to upload and attach documents to a policy.
571
571
  * @summary Upload policy documents
@@ -574,7 +574,7 @@ export declare class PoliciesApi extends BaseAPI {
574
574
  * @throws {RequiredError}
575
575
  * @memberof PoliciesApi
576
576
  */
577
- uploadCustomerPolicyDocuments(requestParameters: PoliciesApiUploadCustomerPolicyDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
577
+ uploadCustomerPolicyDocuments(requestParameters: PoliciesApiUploadCustomerPolicyDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
578
578
  /**
579
579
  * Withdraw policy by customer.
580
580
  * @summary Withdraw the policy
@@ -583,5 +583,5 @@ export declare class PoliciesApi extends BaseAPI {
583
583
  * @throws {RequiredError}
584
584
  * @memberof PoliciesApi
585
585
  */
586
- withdrawCustomerPolicy(requestParameters: PoliciesApiWithdrawCustomerPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WithdrawCustomerPolicyResponseClass, any>>;
586
+ withdrawCustomerPolicy(requestParameters: PoliciesApiWithdrawCustomerPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WithdrawCustomerPolicyResponseClass, any, {}>>;
587
587
  }
@@ -211,7 +211,7 @@ export declare class ProductsApi extends BaseAPI {
211
211
  * @throws {RequiredError}
212
212
  * @memberof ProductsApi
213
213
  */
214
- getProduct(requestParameters: ProductsApiGetProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any>>;
214
+ getProduct(requestParameters: ProductsApiGetProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductResponseClass, any, {}>>;
215
215
  /**
216
216
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
217
217
  * @summary List available products
@@ -220,5 +220,5 @@ export declare class ProductsApi extends BaseAPI {
220
220
  * @throws {RequiredError}
221
221
  * @memberof ProductsApi
222
222
  */
223
- listProducts(requestParameters: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
223
+ listProducts(requestParameters: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any, {}>>;
224
224
  }
package/dist/common.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
66
  export interface IStorageConverter<D, SD> {
67
67
  toStorageData(data: D): SD;
68
68
  fromStorageData(storageData: SD): D;
@@ -51,4 +51,10 @@ export interface BillingAddressDto {
51
51
  * @memberof BillingAddressDto
52
52
  */
53
53
  'city': string;
54
+ /**
55
+ * Country code for billing address
56
+ * @type {string}
57
+ * @memberof BillingAddressDto
58
+ */
59
+ 'country'?: string;
54
60
  }
@@ -56,5 +56,11 @@ export interface BillingAddressDto {
56
56
  * @memberof BillingAddressDto
57
57
  */
58
58
  'city': string;
59
+ /**
60
+ * Country code for billing address
61
+ * @type {string}
62
+ * @memberof BillingAddressDto
63
+ */
64
+ 'country'?: string;
59
65
  }
60
66
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk",
3
- "version": "1.49.1-beta.9",
3
+ "version": "1.50.1-beta.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^0.27.2"
21
+ "axios": "^1.12.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "typescript": "^4.0"