@cemiar/cemiarlink-sdk 1.0.59 → 1.0.61
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.
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OptionType } from './OptionType';
|
|
2
|
+
import { RenewalStage } from './RenewalStage';
|
|
2
3
|
export interface PolicyV2 {
|
|
3
4
|
AccountID: number;
|
|
4
5
|
AgencyCode: string;
|
|
@@ -182,4 +183,8 @@ export declare namespace PolicyV2Model {
|
|
|
182
183
|
IncludeRemarks: boolean;
|
|
183
184
|
IvansProductCode: string;
|
|
184
185
|
}
|
|
186
|
+
interface UpdateRenewalStages {
|
|
187
|
+
UpdateRenewalStageList: RenewalStage[];
|
|
188
|
+
ChangeStageToCode: number;
|
|
189
|
+
}
|
|
185
190
|
}
|
|
@@ -61,6 +61,7 @@ export declare class EpicService extends BaseEpicService {
|
|
|
61
61
|
issueEndorsementPolicyV2(payload: PolicyV2Model.IssueEndorsement): Promise<void>;
|
|
62
62
|
issueCancellationPolicyV2(payload: PolicyV2Model.IssueCancellation): Promise<void>;
|
|
63
63
|
getPolicyV2RenewalStages(ids: number[]): Promise<RenewalStage[]>;
|
|
64
|
+
updatePolicyV2RenewalStages(payload: PolicyV2Model.UpdateRenewalStages): Promise<void>;
|
|
64
65
|
getPolicyLineType(lineTypeCode: string): Promise<PolicyV2Model.PolicyLineType>;
|
|
65
66
|
getEmployee(id: string): Promise<Broker>;
|
|
66
67
|
getEmployees(queryParams: object): Promise<Broker[]>;
|
|
@@ -110,6 +110,10 @@ class EpicService extends BaseEpicService_1.BaseEpicService {
|
|
|
110
110
|
ids: ids.join(','),
|
|
111
111
|
});
|
|
112
112
|
}
|
|
113
|
+
async updatePolicyV2RenewalStages(payload) {
|
|
114
|
+
await this.put('policyV2/renewalStage', payload);
|
|
115
|
+
return;
|
|
116
|
+
}
|
|
113
117
|
async getPolicyLineType(lineTypeCode) {
|
|
114
118
|
return this.getOne('policyV2/lineType', lineTypeCode);
|
|
115
119
|
}
|