@emilgroup/partner-portal-sdk-node 1.1.1-beta.2 → 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 +2 -2
- package/base.ts +0 -1
- package/dist/api/intermediary-api.d.ts +8 -8
- package/dist/common.d.ts +1 -1
- package/package.json +2 -2
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-node@1.1.1-beta.
|
|
20
|
+
npm install @emilgroup/partner-portal-sdk-node@1.1.1-beta.4 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/partner-portal-sdk-node@1.1.1-beta.
|
|
24
|
+
yarn add @emilgroup/partner-portal-sdk-node@1.1.1-beta.4
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `IntermediaryApi`.
|
package/base.ts
CHANGED
|
@@ -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
|
}
|
package/dist/common.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare const toPathString: (url: URL) => string;
|
|
|
63
63
|
*
|
|
64
64
|
* @export
|
|
65
65
|
*/
|
|
66
|
-
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
|
+
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>;
|
|
67
67
|
/**
|
|
68
68
|
* EMIL PartnerPortal
|
|
69
69
|
* The EMIL PartnerPortal API description
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/partner-portal-sdk-node",
|
|
3
|
-
"version": "1.1.1-beta.
|
|
3
|
+
"version": "1.1.1-beta.4",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/partner-portal-sdk-node",
|
|
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": "^
|
|
21
|
+
"axios": "^1.12.0",
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|