@emilgroup/public-api-sdk 1.33.1-beta.2 → 1.33.1-beta.3

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/public-api-sdk@1.33.1-beta.2 --save
20
+ npm install @emilgroup/public-api-sdk@1.33.1-beta.3 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk@1.33.1-beta.2
24
+ yarn add @emilgroup/public-api-sdk@1.33.1-beta.3
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
package/base.ts CHANGED
@@ -165,6 +165,10 @@ export class BaseAPI {
165
165
  ...this.tokenData
166
166
  });
167
167
  }
168
+
169
+ this.storeTokenData({
170
+ ...this.tokenData
171
+ });
168
172
  }
169
173
 
170
174
  async switchWorkspace(targetWorkspace: string): Promise<void> {
@@ -202,7 +202,7 @@ export declare class AddressCompletionsValidationsApi extends BaseAPI {
202
202
  * @throws {RequiredError}
203
203
  * @memberof AddressCompletionsValidationsApi
204
204
  */
205
- listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressCompletionResponseClass, any>>;
205
+ listAddressCompletions(requestParameters: AddressCompletionsValidationsApiListAddressCompletionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AddressCompletionResponseClass, any, {}>>;
206
206
  /**
207
207
  * This will return a response whether the provided address is valid or not.
208
208
  * @summary Retrieve the Address validation
@@ -211,5 +211,5 @@ export declare class AddressCompletionsValidationsApi extends BaseAPI {
211
211
  * @throws {RequiredError}
212
212
  * @memberof AddressCompletionsValidationsApi
213
213
  */
214
- validateAddress(requestParameters: AddressCompletionsValidationsApiValidateAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAddressResponseClass, any>>;
214
+ validateAddress(requestParameters: AddressCompletionsValidationsApiValidateAddressRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateAddressResponseClass, any, {}>>;
215
215
  }
@@ -92,5 +92,5 @@ export declare class BookingFunnelsApi extends BaseAPI {
92
92
  * @throws {RequiredError}
93
93
  * @memberof BookingFunnelsApi
94
94
  */
95
- getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingFunnelResponseClass, any>>;
95
+ getBookingFunnel(requestParameters: BookingFunnelsApiGetBookingFunnelRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBookingFunnelResponseClass, any, {}>>;
96
96
  }
@@ -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
  }
@@ -499,7 +499,7 @@ export declare class DocumentsApi extends BaseAPI {
499
499
  * @throws {RequiredError}
500
500
  * @memberof DocumentsApi
501
501
  */
502
- createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
502
+ createTemporaryDocument(requestParameters: DocumentsApiCreateTemporaryDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
503
503
  /**
504
504
  * This will delete a document for a lead by lead code and document code.Documents which were created within last 24 hours can be deleted.
505
505
  * @summary Delete a document
@@ -508,7 +508,7 @@ export declare class DocumentsApi extends BaseAPI {
508
508
  * @throws {RequiredError}
509
509
  * @memberof DocumentsApi
510
510
  */
511
- deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
511
+ deleteDocuments(requestParameters: DocumentsApiDeleteDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
512
512
  /**
513
513
  * Retrieves the details of the specific document that was previously created. Supply the unique document code that was returned when you created it and Emil Api will return the corresponding document file to download.
514
514
  * @summary Download a document
@@ -517,7 +517,7 @@ export declare class DocumentsApi extends BaseAPI {
517
517
  * @throws {RequiredError}
518
518
  * @memberof DocumentsApi
519
519
  */
520
- downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
520
+ downloadDocument(requestParameters: DocumentsApiDownloadDocumentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
521
521
  /**
522
522
  *
523
523
  * @summary Get pre-signed url for downloading product document
@@ -526,7 +526,7 @@ export declare class DocumentsApi extends BaseAPI {
526
526
  * @throws {RequiredError}
527
527
  * @memberof DocumentsApi
528
528
  */
529
- downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any>>;
529
+ downloadProductDocumentUrl(requestParameters: DocumentsApiDownloadProductDocumentUrlRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetProductDocumentDownloadUrlResponseClass, any, {}>>;
530
530
  /**
531
531
  * Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
532
532
  * @summary List documents
@@ -535,7 +535,7 @@ export declare class DocumentsApi extends BaseAPI {
535
535
  * @throws {RequiredError}
536
536
  * @memberof DocumentsApi
537
537
  */
538
- listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any>>;
538
+ listDocuments(requestParameters: DocumentsApiListDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListDocumentsResponseClass, any, {}>>;
539
539
  /**
540
540
  * Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
541
541
  * @summary List product documents
@@ -544,7 +544,7 @@ export declare class DocumentsApi extends BaseAPI {
544
544
  * @throws {RequiredError}
545
545
  * @memberof DocumentsApi
546
546
  */
547
- listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any>>;
547
+ listProductDocuments(requestParameters: DocumentsApiListProductDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductDocumentsResponseClass, any, {}>>;
548
548
  /**
549
549
  * This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days.
550
550
  * @summary Upload documents using pre-signed URL
@@ -553,5 +553,5 @@ export declare class DocumentsApi extends BaseAPI {
553
553
  * @throws {RequiredError}
554
554
  * @memberof DocumentsApi
555
555
  */
556
- preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
556
+ preSignedPost(requestParameters: DocumentsApiPreSignedPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any, {}>>;
557
557
  }
@@ -392,7 +392,7 @@ export declare class LeadsApi extends BaseAPI {
392
392
  * @throws {RequiredError}
393
393
  * @memberof LeadsApi
394
394
  */
395
- createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
395
+ createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any, {}>>;
396
396
  /**
397
397
  * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
398
398
  * @summary Create the lead asynchronously
@@ -401,7 +401,7 @@ export declare class LeadsApi extends BaseAPI {
401
401
  * @throws {RequiredError}
402
402
  * @memberof LeadsApi
403
403
  */
404
- createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any>>;
404
+ createLeadAsync(requestParameters: LeadsApiCreateLeadAsyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadAsyncResponseClass, any, {}>>;
405
405
  /**
406
406
  * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
407
407
  * @summary Create the lead synchronously
@@ -410,7 +410,7 @@ export declare class LeadsApi extends BaseAPI {
410
410
  * @throws {RequiredError}
411
411
  * @memberof LeadsApi
412
412
  */
413
- createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
413
+ createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any, {}>>;
414
414
  /**
415
415
  * 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.
416
416
  * @summary Retrieve the lead
@@ -419,7 +419,7 @@ export declare class LeadsApi extends BaseAPI {
419
419
  * @throws {RequiredError}
420
420
  * @memberof LeadsApi
421
421
  */
422
- getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any>>;
422
+ getLead(requestParameters: LeadsApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetLeadResponseClass, any, {}>>;
423
423
  /**
424
424
  * This will initiate a lead code.
425
425
  * @summary Initiate a lead code
@@ -428,7 +428,7 @@ export declare class LeadsApi extends BaseAPI {
428
428
  * @throws {RequiredError}
429
429
  * @memberof LeadsApi
430
430
  */
431
- initiateLead(requestParameters: LeadsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateLeadResponseClass, any>>;
431
+ initiateLead(requestParameters: LeadsApiInitiateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateLeadResponseClass, any, {}>>;
432
432
  /**
433
433
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
434
434
  * @summary Update the lead
@@ -437,7 +437,7 @@ export declare class LeadsApi extends BaseAPI {
437
437
  * @throws {RequiredError}
438
438
  * @memberof LeadsApi
439
439
  */
440
- updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
440
+ updateLead(requestParameters: LeadsApiUpdateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any, {}>>;
441
441
  /**
442
442
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
443
443
  * @summary Update the lead
@@ -446,5 +446,5 @@ export declare class LeadsApi extends BaseAPI {
446
446
  * @throws {RequiredError}
447
447
  * @memberof LeadsApi
448
448
  */
449
- updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any>>;
449
+ updateLeadSync(requestParameters: LeadsApiUpdateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadResponseClass, any, {}>>;
450
450
  }
@@ -155,5 +155,5 @@ export declare class NamedRangesApi extends BaseAPI {
155
155
  * @throws {RequiredError}
156
156
  * @memberof NamedRangesApi
157
157
  */
158
- filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any>>;
158
+ filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any, {}>>;
159
159
  }
@@ -189,7 +189,7 @@ export declare class NotificationsApi extends BaseAPI {
189
189
  * @throws {RequiredError}
190
190
  * @memberof NotificationsApi
191
191
  */
192
- completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any>>;
192
+ completeEmailVerification(requestParameters: NotificationsApiCompleteEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompleteEmailVerificationResponseClass, any, {}>>;
193
193
  /**
194
194
  * This sends an email to the specific recipient set to receive verification code.
195
195
  * @summary Initiate Email Verification.
@@ -198,7 +198,7 @@ export declare class NotificationsApi extends BaseAPI {
198
198
  * @throws {RequiredError}
199
199
  * @memberof NotificationsApi
200
200
  */
201
- initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any>>;
201
+ initiateEmailVerification(requestParameters: NotificationsApiInitiateEmailVerificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiateEmailVerificationResponseClass, any, {}>>;
202
202
  /**
203
203
  * This sends an email to the specific recipient set to receive customers\' messages.
204
204
  * @summary Send an email.
@@ -207,5 +207,5 @@ export declare class NotificationsApi extends BaseAPI {
207
207
  * @throws {RequiredError}
208
208
  * @memberof NotificationsApi
209
209
  */
210
- sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any>>;
210
+ sendNotification(requestParameters: NotificationsApiSendNotificationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SendNotificationResponseClass, any, {}>>;
211
211
  }
@@ -215,7 +215,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
215
215
  * @throws {RequiredError}
216
216
  * @memberof PaymentsSetupApi
217
217
  */
218
- completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
218
+ completePaymentSetup(requestParameters: PaymentsSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}>>;
219
219
  /**
220
220
  * This will send the customer the public key to load the payment form and complete the payment setup.
221
221
  * @summary Get public key and psp
@@ -224,7 +224,7 @@ export declare class PaymentsSetupApi extends BaseAPI {
224
224
  * @throws {RequiredError}
225
225
  * @memberof PaymentsSetupApi
226
226
  */
227
- getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any>>;
227
+ getPublicPSPConfig(requestParameters: PaymentsSetupApiGetPublicPSPConfigRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPublicPspSettingsResponseClass, any, {}>>;
228
228
  /**
229
229
  * This will Initiate an account inside the payment service providers and they will generate a secret token which is allow user add its payment information.
230
230
  * @summary Initiate a payment setup
@@ -233,5 +233,5 @@ export declare class PaymentsSetupApi extends BaseAPI {
233
233
  * @throws {RequiredError}
234
234
  * @memberof PaymentsSetupApi
235
235
  */
236
- initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
236
+ initiatePaymentSetup(requestParameters: PaymentsSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}>>;
237
237
  }
@@ -148,7 +148,7 @@ export declare class ProductVersionsApi extends BaseAPI {
148
148
  * @throws {RequiredError}
149
149
  * @memberof ProductVersionsApi
150
150
  */
151
- getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
151
+ getInsuredObjectsPerVersion(requestParameters: ProductVersionsApiGetInsuredObjectsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}>>;
152
152
  /**
153
153
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
154
154
  * @summary List product factors
@@ -157,5 +157,5 @@ export declare class ProductVersionsApi extends BaseAPI {
157
157
  * @throws {RequiredError}
158
158
  * @memberof ProductVersionsApi
159
159
  */
160
- getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
160
+ getProductFactorsPerVersion(requestParameters: ProductVersionsApiGetProductFactorsPerVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
161
161
  }
@@ -514,7 +514,7 @@ export declare class ProductsApi extends BaseAPI {
514
514
  * @throws {RequiredError}
515
515
  * @memberof ProductsApi
516
516
  */
517
- calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductFieldsResponseClass, any>>;
517
+ calculateProductFields(requestParameters: ProductsApiCalculateProductFieldsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CalculateProductFieldsResponseClass, any, {}>>;
518
518
  /**
519
519
  * This will create an invoice product.
520
520
  * @summary Create the invoice product
@@ -523,7 +523,7 @@ export declare class ProductsApi extends BaseAPI {
523
523
  * @throws {RequiredError}
524
524
  * @memberof ProductsApi
525
525
  */
526
- createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any>>;
526
+ createEstimatedInvoice(requestParameters: ProductsApiCreateEstimatedInvoiceRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEstimatedInvoiceResponseClass, any, {}>>;
527
527
  /**
528
528
  * This will create a custom application for a specific provider.
529
529
  * @summary Create the custom application
@@ -532,7 +532,7 @@ export declare class ProductsApi extends BaseAPI {
532
532
  * @throws {RequiredError}
533
533
  * @memberof ProductsApi
534
534
  */
535
- customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any>>;
535
+ customApplication(requestParameters: ProductsApiCustomApplicationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCustomApplicationResponseClass, any, {}>>;
536
536
  /**
537
537
  * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
538
538
  * @summary List insured object types
@@ -541,7 +541,7 @@ export declare class ProductsApi extends BaseAPI {
541
541
  * @throws {RequiredError}
542
542
  * @memberof ProductsApi
543
543
  */
544
- getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any>>;
544
+ getInsuredObjectTypes(requestParameters: ProductsApiGetInsuredObjectTypesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectTypeClass[], any, {}>>;
545
545
  /**
546
546
  * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
547
547
  * @summary List insured objects
@@ -550,7 +550,7 @@ export declare class ProductsApi extends BaseAPI {
550
550
  * @throws {RequiredError}
551
551
  * @memberof ProductsApi
552
552
  */
553
- getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any>>;
553
+ getInsuredObjects(requestParameters: ProductsApiGetInsuredObjectsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InsuredObjectClass[], any, {}>>;
554
554
  /**
555
555
  * This will generate a custom css for booking funnel, based on product.
556
556
  * @summary Generate a custom CSS
@@ -559,7 +559,7 @@ export declare class ProductsApi extends BaseAPI {
559
559
  * @throws {RequiredError}
560
560
  * @memberof ProductsApi
561
561
  */
562
- getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any>>;
562
+ getProductCustomCss(requestParameters: ProductsApiGetProductCustomCssRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCustomCssResponseClass, any, {}>>;
563
563
  /**
564
564
  * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
565
565
  * @summary List product factors
@@ -568,7 +568,7 @@ export declare class ProductsApi extends BaseAPI {
568
568
  * @throws {RequiredError}
569
569
  * @memberof ProductsApi
570
570
  */
571
- getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any>>;
571
+ getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorForVersionClass[], any, {}>>;
572
572
  /**
573
573
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
574
574
  * @summary List products
@@ -577,5 +577,5 @@ export declare class ProductsApi extends BaseAPI {
577
577
  * @throws {RequiredError}
578
578
  * @memberof ProductsApi
579
579
  */
580
- listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
580
+ listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any, {}>>;
581
581
  }
package/dist/base.js CHANGED
@@ -189,7 +189,9 @@ var BaseAPI = /** @class */ (function () {
189
189
  // Only store if no workspace switch (since switchWorkspace will store after switching)
190
190
  this.storeTokenData(__assign({}, this.tokenData));
191
191
  _b.label = 4;
192
- case 4: return [2 /*return*/];
192
+ case 4:
193
+ this.storeTokenData(__assign({}, this.tokenData));
194
+ return [2 /*return*/];
193
195
  }
194
196
  });
195
197
  });
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
  /**
67
67
  * Emil PublicAPI
68
68
  * The Emil Public API description
@@ -51,4 +51,24 @@ export interface BillingAddressDto {
51
51
  * @memberof BillingAddressDto
52
52
  */
53
53
  'city': string;
54
+ /**
55
+ * Country for billing address
56
+ * @type {string}
57
+ * @memberof BillingAddressDto
58
+ */
59
+ 'country'?: BillingAddressDtoCountryEnum;
54
60
  }
61
+ export declare const BillingAddressDtoCountryEnum: {
62
+ readonly De: "DE";
63
+ readonly Us: "US";
64
+ readonly Gb: "GB";
65
+ readonly Ch: "CH";
66
+ readonly Pl: "PL";
67
+ readonly Au: "AU";
68
+ readonly Ca: "CA";
69
+ readonly Dk: "DK";
70
+ readonly Hu: "HU";
71
+ readonly No: "NO";
72
+ readonly Se: "SE";
73
+ };
74
+ export type BillingAddressDtoCountryEnum = typeof BillingAddressDtoCountryEnum[keyof typeof BillingAddressDtoCountryEnum];
@@ -13,3 +13,17 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.BillingAddressDtoCountryEnum = void 0;
17
+ exports.BillingAddressDtoCountryEnum = {
18
+ De: 'DE',
19
+ Us: 'US',
20
+ Gb: 'GB',
21
+ Ch: 'CH',
22
+ Pl: 'PL',
23
+ Au: 'AU',
24
+ Ca: 'CA',
25
+ Dk: 'DK',
26
+ Hu: 'HU',
27
+ No: 'NO',
28
+ Se: 'SE'
29
+ };
@@ -56,5 +56,28 @@ export interface BillingAddressDto {
56
56
  * @memberof BillingAddressDto
57
57
  */
58
58
  'city': string;
59
+ /**
60
+ * Country for billing address
61
+ * @type {string}
62
+ * @memberof BillingAddressDto
63
+ */
64
+ 'country'?: BillingAddressDtoCountryEnum;
59
65
  }
60
66
 
67
+ export const BillingAddressDtoCountryEnum = {
68
+ De: 'DE',
69
+ Us: 'US',
70
+ Gb: 'GB',
71
+ Ch: 'CH',
72
+ Pl: 'PL',
73
+ Au: 'AU',
74
+ Ca: 'CA',
75
+ Dk: 'DK',
76
+ Hu: 'HU',
77
+ No: 'NO',
78
+ Se: 'SE'
79
+ } as const;
80
+
81
+ export type BillingAddressDtoCountryEnum = typeof BillingAddressDtoCountryEnum[keyof typeof BillingAddressDtoCountryEnum];
82
+
83
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.33.1-beta.2",
3
+ "version": "1.33.1-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-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"