@emilgroup/partner-portal-sdk 1.1.1-beta.1 → 1.1.1-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/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/partner-portal-sdk@1.1.1-beta.1 --save
20
+ npm install @emilgroup/partner-portal-sdk@1.1.1-beta.4 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/partner-portal-sdk@1.1.1-beta.1
24
+ yarn add @emilgroup/partner-portal-sdk@1.1.1-beta.4
25
25
  ```
26
26
 
27
27
  And then you can import `IntermediaryApi`.
@@ -459,7 +459,7 @@ export const IntermediaryApiAxiosParamCreator = function (configuration?: Config
459
459
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
460
460
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
461
461
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, firstName, lastName, email, createdAt, accountNumber</i>
462
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
462
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
463
463
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
464
464
  * @param {*} [options] Override http request option.
465
465
  * @throws {RequiredError}
@@ -647,7 +647,7 @@ export const IntermediaryApiFp = function(configuration?: Configuration) {
647
647
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
648
648
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
649
649
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, firstName, lastName, email, createdAt, accountNumber</i>
650
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
650
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
651
651
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
652
652
  * @param {*} [options] Override http request option.
653
653
  * @throws {RequiredError}
@@ -770,7 +770,7 @@ export const IntermediaryApiFactory = function (configuration?: Configuration, b
770
770
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
771
771
  * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
772
772
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, firstName, lastName, email, createdAt, accountNumber</i>
773
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
773
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
774
774
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName</i>
775
775
  * @param {*} [options] Override http request option.
776
776
  * @throws {RequiredError}
@@ -1103,7 +1103,7 @@ export interface IntermediaryApiListPolicyholdersRequest {
1103
1103
  readonly order?: string
1104
1104
 
1105
1105
  /**
1106
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
1106
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
1107
1107
  * @type {string}
1108
1108
  * @memberof IntermediaryApiListPolicyholders
1109
1109
  */
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> {
@@ -115,7 +115,7 @@ export declare const IntermediaryApiAxiosParamCreator: (configuration?: Configur
115
115
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
116
116
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
117
117
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, firstName, lastName, email, createdAt, accountNumber&lt;/i&gt;
118
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
118
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
119
119
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
120
120
  * @param {*} [options] Override http request option.
121
121
  * @throws {RequiredError}
@@ -217,7 +217,7 @@ export declare const IntermediaryApiFp: (configuration?: Configuration) => {
217
217
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
218
218
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
219
219
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, firstName, lastName, email, createdAt, accountNumber&lt;/i&gt;
220
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
220
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
221
221
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
222
222
  * @param {*} [options] Override http request option.
223
223
  * @throws {RequiredError}
@@ -319,7 +319,7 @@ export declare const IntermediaryApiFactory: (configuration?: Configuration, bas
319
319
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
320
320
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
321
321
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, firstName, lastName, email, createdAt, accountNumber&lt;/i&gt;
322
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
322
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
323
323
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
324
324
  * @param {*} [options] Override http request option.
325
325
  * @throws {RequiredError}
@@ -610,7 +610,7 @@ export interface IntermediaryApiListPolicyholdersRequest {
610
610
  */
611
611
  readonly order?: string;
612
612
  /**
613
- * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
613
+ * Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
614
614
  * @type {string}
615
615
  * @memberof IntermediaryApiListPolicyholders
616
616
  */
@@ -637,7 +637,7 @@ export declare class IntermediaryApi extends BaseAPI {
637
637
  * @throws {RequiredError}
638
638
  * @memberof IntermediaryApi
639
639
  */
640
- getLead(requestParameters: IntermediaryApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadClass, any>>;
640
+ getLead(requestParameters: IntermediaryApiGetLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LeadClass, any, {}>>;
641
641
  /**
642
642
  * Retrieves the details of a related partner or the logged-in partner if their code or \'me\' is provided. Supply the unique partner code, and Emil API will return the corresponding partner information.
643
643
  * @summary Retrieve the partner
@@ -646,7 +646,7 @@ export declare class IntermediaryApi extends BaseAPI {
646
646
  * @throws {RequiredError}
647
647
  * @memberof IntermediaryApi
648
648
  */
649
- getPartner(requestParameters: IntermediaryApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerClass, any>>;
649
+ getPartner(requestParameters: IntermediaryApiGetPartnerRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PartnerClass, any, {}>>;
650
650
  /**
651
651
  * Retrieves the details of a policy associated with the logged-in partner. Supply the unique policy code, and Emil API will return the corresponding policy information.
652
652
  * @summary Retrieve the policy
@@ -655,7 +655,7 @@ export declare class IntermediaryApi extends BaseAPI {
655
655
  * @throws {RequiredError}
656
656
  * @memberof IntermediaryApi
657
657
  */
658
- getPolicy(requestParameters: IntermediaryApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyClass, any>>;
658
+ getPolicy(requestParameters: IntermediaryApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PolicyClass, any, {}>>;
659
659
  /**
660
660
  * Retrieves the details of a policyholder linked to the leads and policies the logged-in partner is associated with. Supply the unique policyholder code, and Emil API will return the corresponding policyholder information.
661
661
  * @summary Retrieve the policyholder
@@ -664,7 +664,7 @@ export declare class IntermediaryApi extends BaseAPI {
664
664
  * @throws {RequiredError}
665
665
  * @memberof IntermediaryApi
666
666
  */
667
- getPolicyholder(requestParameters: IntermediaryApiGetPolicyholderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountClass, any>>;
667
+ getPolicyholder(requestParameters: IntermediaryApiGetPolicyholderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AccountClass, any, {}>>;
668
668
  /**
669
669
  * Returns a list of leads associated with the logged-in partner. The leads are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
670
670
  * @summary List leads
@@ -673,7 +673,7 @@ export declare class IntermediaryApi extends BaseAPI {
673
673
  * @throws {RequiredError}
674
674
  * @memberof IntermediaryApi
675
675
  */
676
- listLeads(requestParameters?: IntermediaryApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any>>;
676
+ listLeads(requestParameters?: IntermediaryApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any, {}>>;
677
677
  /**
678
678
  * Returns a list of partners related to the logged-in partner. The partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
679
679
  * @summary List partners
@@ -682,7 +682,7 @@ export declare class IntermediaryApi extends BaseAPI {
682
682
  * @throws {RequiredError}
683
683
  * @memberof IntermediaryApi
684
684
  */
685
- listPartners(requestParameters?: IntermediaryApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any>>;
685
+ listPartners(requestParameters?: IntermediaryApiListPartnersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPartnersResponseClass, any, {}>>;
686
686
  /**
687
687
  * Returns a list of policies associated with the logged-in partner. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
688
688
  * @summary List policies
@@ -691,7 +691,7 @@ export declare class IntermediaryApi extends BaseAPI {
691
691
  * @throws {RequiredError}
692
692
  * @memberof IntermediaryApi
693
693
  */
694
- listPolicies(requestParameters?: IntermediaryApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any>>;
694
+ listPolicies(requestParameters?: IntermediaryApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any, {}>>;
695
695
  /**
696
696
  * Returns a list of policyholders linked to the leads and policies the logged-in partner is associated with. The policyholders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
697
697
  * @summary List policyholders
@@ -700,5 +700,5 @@ export declare class IntermediaryApi extends BaseAPI {
700
700
  * @throws {RequiredError}
701
701
  * @memberof IntermediaryApi
702
702
  */
703
- listPolicyholders(requestParameters?: IntermediaryApiListPolicyholdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponseClass, any>>;
703
+ listPolicyholders(requestParameters?: IntermediaryApiListPolicyholdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListAccountsResponseClass, any, {}>>;
704
704
  }
@@ -509,7 +509,7 @@ var IntermediaryApiAxiosParamCreator = function (configuration) {
509
509
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
510
510
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
511
511
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, firstName, lastName, email, createdAt, accountNumber&lt;/i&gt;
512
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
512
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
513
513
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
514
514
  * @param {*} [options] Override http request option.
515
515
  * @throws {RequiredError}
@@ -756,7 +756,7 @@ var IntermediaryApiFp = function (configuration) {
756
756
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
757
757
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
758
758
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, firstName, lastName, email, createdAt, accountNumber&lt;/i&gt;
759
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
759
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
760
760
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
761
761
  * @param {*} [options] Override http request option.
762
762
  * @throws {RequiredError}
@@ -888,7 +888,7 @@ var IntermediaryApiFactory = function (configuration, basePath, axios) {
888
888
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
889
889
  * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
890
890
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, firstName, lastName, email, createdAt, accountNumber&lt;/i&gt;
891
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: &lt;i&gt;
891
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
892
892
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: firstName, code, email, createdAt, birthDate, accountNumber, title, lastName, gender, street, zipCode, city, houseNumber, phone, type, companyName&lt;/i&gt;
893
893
  * @param {*} [options] Override http request option.
894
894
  * @throws {RequiredError}
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 PartnerPortal
68
68
  * The EMIL PartnerPortal API description
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/partner-portal-sdk",
3
- "version": "1.1.1-beta.1",
3
+ "version": "1.1.1-beta.4",
4
4
  "description": "OpenAPI client for @emilgroup/partner-portal-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"