@cemiar/cemiarlink-sdk 1.0.19 → 1.0.20
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/dist/services/Epic.d.ts +1 -0
- package/dist/services/Epic.js +3 -0
- package/package.json +1 -1
package/dist/services/Epic.d.ts
CHANGED
|
@@ -51,6 +51,7 @@ export declare class EpicService extends BaseEpicService {
|
|
|
51
51
|
updatePolicy(id: string, payload: object): Promise<string>;
|
|
52
52
|
issuePolicy(id: string, payload: object): Promise<string>;
|
|
53
53
|
cancelPolicy(id: string, payload: object): Promise<string>;
|
|
54
|
+
endorsePolicy(id: string, payload: object): Promise<string>;
|
|
54
55
|
createPolicy(payload: CreatePolicy): Promise<string | string[]>;
|
|
55
56
|
getPoliciesV2(queryParams: object): Promise<PolicyV2[]>;
|
|
56
57
|
getPolicyV2(id: string): Promise<PolicyV2>;
|
package/dist/services/Epic.js
CHANGED
|
@@ -66,6 +66,9 @@ class EpicService extends BaseEpicService_1.BaseEpicService {
|
|
|
66
66
|
async cancelPolicy(id, payload) {
|
|
67
67
|
return await this.put(`cancelPolicy/${id}`, payload);
|
|
68
68
|
}
|
|
69
|
+
async endorsePolicy(id, payload) {
|
|
70
|
+
return await this.put(`endorsePolicy/${id}`, payload);
|
|
71
|
+
}
|
|
69
72
|
async createPolicy(payload) {
|
|
70
73
|
return await this.post(`policy`, payload);
|
|
71
74
|
}
|