cemiar-epic-service-common 1.0.118 → 1.0.120

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.
@@ -0,0 +1,15 @@
1
+ export interface AdditionalInterest {
2
+ AdditionalInterestID: number;
3
+ Address?: string;
4
+ Certificate?: string;
5
+ InterestCode?: string;
6
+ InterestOther?: string;
7
+ IsReadOnly?: boolean;
8
+ LineID?: number;
9
+ LookupCode?: string;
10
+ Name?: string;
11
+ Policy?: string;
12
+ SendBill?: boolean;
13
+ TimeStamp?: string;
14
+ VehicleID?: number;
15
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -10,7 +10,3 @@ export interface ServiceSummary {
10
10
  ServiceSummaryVersion?: string;
11
11
  StageChangedDate?: string | null;
12
12
  }
13
- export declare enum ServiceSummaryStage {
14
- Issued = "Issued",
15
- Cancelled = "Cancelled"
16
- }
@@ -1,8 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ServiceSummaryStage = void 0;
4
- var ServiceSummaryStage;
5
- (function (ServiceSummaryStage) {
6
- ServiceSummaryStage["Issued"] = "Issued";
7
- ServiceSummaryStage["Cancelled"] = "Cancelled";
8
- })(ServiceSummaryStage || (exports.ServiceSummaryStage = ServiceSummaryStage = {}));
@@ -22,6 +22,7 @@ import { Vehicle } from '../models/epic/Vehicle';
22
22
  import BaseEpicService from './BaseEpicService';
23
23
  import { JobEpicService } from './JobEpicService';
24
24
  import { GeneralLedgerReconcileBank } from "../models/epic/GeneralLedgerReconcileBank";
25
+ import { AdditionalInterest } from "../models/epic/AdditionalInterest";
25
26
  export default class EpicService extends BaseEpicService {
26
27
  job: JobEpicService;
27
28
  constructor(epicUrl: string | undefined, headers: any);
@@ -109,5 +110,6 @@ export default class EpicService extends BaseEpicService {
109
110
  getGeneralLedgerReconcileBanks(queryParams: object): Promise<GeneralLedgerReconcileBank[]>;
110
111
  getGeneralLedgerReconcileBank(bankId: string): Promise<GeneralLedgerReconcileBank>;
111
112
  createGeneralLedgerReconcileBank(payload: Partial<GeneralLedgerReconcileBank>): Promise<string | string[]>;
113
+ getAdditionalInterests(queryParams: object): Promise<AdditionalInterest[]>;
112
114
  }
113
115
  export type EpicServiceType = EpicService;
@@ -284,5 +284,8 @@ class EpicService extends BaseEpicService_1.default {
284
284
  async createGeneralLedgerReconcileBank(payload) {
285
285
  return await this.post('generalLedgerBank', payload);
286
286
  }
287
+ async getAdditionalInterests(queryParams) {
288
+ return this.get('additionalinterests', queryParams);
289
+ }
287
290
  }
288
291
  exports.default = EpicService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cemiar-epic-service-common",
3
- "version": "1.0.118",
3
+ "version": "1.0.120",
4
4
  "description": "Cemiar package to handle epic service",
5
5
  "engines": {
6
6
  "npm": ">=9.5.1",