@vergelijkdirect/insurance-transmission-client 1.3.51 → 1.3.52

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.51",
3
+ "version": "1.3.52",
4
4
  "description": "",
5
5
  "main": "./src/js/index.js",
6
6
  "scripts": {
@@ -4,5 +4,6 @@ declare class PetResource extends CategoryResource {
4
4
  protected getCategory(): string;
5
5
  protected getAvailableServices(): string[];
6
6
  getPetsecurAdditionalCoverages(data: AdditionalCoveragesRequestInterface): Promise<any>;
7
+ getBreedsList(breed: string): Promise<Object[]>;
7
8
  }
8
9
  export default PetResource;
@@ -36,6 +36,12 @@ var PetResource = /** @class */ (function (_super) {
36
36
  data: data
37
37
  });
38
38
  };
39
+ PetResource.prototype.getBreedsList = function (breed) {
40
+ return this.http({
41
+ method: 'get',
42
+ url: "/vergelijkdirect/breeds?Kind=".concat(breed),
43
+ });
44
+ };
39
45
  return PetResource;
40
46
  }(categories_resource_1.default));
41
47
  exports.default = PetResource;
@@ -6,5 +6,6 @@ declare class PetService extends RateService implements CalculateRatesInterface
6
6
  constructor();
7
7
  getRates(data: any): Promise<RateCollection>;
8
8
  getPetsecureAdditionalCoverages(data: AdditionalCoveragesRequestInterface): Promise<AdditionalCoverageInterface[] | []>;
9
+ getBreedsList(breed: string): Promise<Object[]>;
9
10
  }
10
11
  export default PetService;
@@ -79,6 +79,9 @@ var PetService = /** @class */ (function (_super) {
79
79
  PetService.prototype.getPetsecureAdditionalCoverages = function (data) {
80
80
  return this.client.getPetsecurAdditionalCoverages(data);
81
81
  };
82
+ PetService.prototype.getBreedsList = function (breed) {
83
+ return this.client.getBreedsList(breed);
84
+ };
82
85
  return PetService;
83
86
  }(services_1.RateService));
84
87
  exports.default = PetService;