@vergelijkdirect/insurance-transmission-client 1.3.23 → 1.3.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vergelijkdirect/insurance-transmission-client",
3
- "version": "1.3.23",
3
+ "version": "1.3.24",
4
4
  "description": "",
5
5
  "main": "./src/js/index.js",
6
6
  "scripts": {
@@ -5,5 +5,6 @@ declare class TravelResource extends CategoryResource {
5
5
  protected getAvailableServices(): string[];
6
6
  getRiskAdditionalCoverages(data: AdditionalCoveragesRequestInterface): Promise<any>;
7
7
  getVergelijkdirectAdditionalCoverages(data: AdditionalCoveragesRequestInterface): Promise<any>;
8
+ getMoneyviewAdditionalCoverages(data: AdditionalCoveragesRequestInterface): Promise<any>;
8
9
  }
9
10
  export default TravelResource;
@@ -27,7 +27,8 @@ var TravelResource = /** @class */ (function (_super) {
27
27
  TravelResource.prototype.getAvailableServices = function () {
28
28
  return [
29
29
  'risk',
30
- 'vergelijkdirect'
30
+ 'vergelijkdirect',
31
+ 'moneyview'
31
32
  ];
32
33
  };
33
34
  TravelResource.prototype.getRiskAdditionalCoverages = function (data) {
@@ -44,6 +45,13 @@ var TravelResource = /** @class */ (function (_super) {
44
45
  data: data
45
46
  });
46
47
  };
48
+ TravelResource.prototype.getMoneyviewAdditionalCoverages = function (data) {
49
+ return this.http({
50
+ method: 'post',
51
+ url: '/moneyview/additional_coverages',
52
+ data: data
53
+ });
54
+ };
47
55
  return TravelResource;
48
56
  }(categories_resource_1.default));
49
57
  exports.default = TravelResource;
@@ -6,6 +6,7 @@ declare class TravelService extends RateService implements CalculateRatesInterfa
6
6
  constructor();
7
7
  getRates(data: any): Promise<RateCollection>;
8
8
  getRiskAdditionalCoverages(data: any): Promise<AdditionalCoverageInterface[] | []>;
9
+ getMoneyviewAdditionalCoverages(data: any): Promise<AdditionalCoverageInterface[] | []>;
9
10
  getVergelijkdirectAdditionalCoverages(data: any): Promise<AdditionalCoverageInterface[] | []>;
10
11
  }
11
12
  export default TravelService;
@@ -83,6 +83,13 @@ var TravelService = /** @class */ (function (_super) {
83
83
  });
84
84
  });
85
85
  };
86
+ TravelService.prototype.getMoneyviewAdditionalCoverages = function (data) {
87
+ return __awaiter(this, void 0, void 0, function () {
88
+ return __generator(this, function (_a) {
89
+ return [2 /*return*/, this.client.getMoneyviewAdditionalCoverages(data)];
90
+ });
91
+ });
92
+ };
86
93
  TravelService.prototype.getVergelijkdirectAdditionalCoverages = function (data) {
87
94
  return __awaiter(this, void 0, void 0, function () {
88
95
  return __generator(this, function (_a) {