@vergelijkdirect/insurance-transmission-client 1.3.58 → 1.3.59

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.58",
3
+ "version": "1.3.59",
4
4
  "description": "",
5
5
  "main": "./src/js/index.js",
6
6
  "scripts": {
@@ -0,0 +1,5 @@
1
+ interface ConvertedFileInterface {
2
+ name: string;
3
+ base64: string | ArrayBuffer | null;
4
+ }
5
+ export default ConvertedFileInterface;
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -5,6 +5,7 @@ export { default as AdditionalCoverageInterface } from './additional-coverage.in
5
5
  export { default as CalculateRatesInterface } from './calculate-rates.interface';
6
6
  export { default as UserInterface } from './user.interface';
7
7
  export { default as NextableInterface } from './nextable.interface';
8
+ export { default as ConvertedFileInterface } from './file.interface';
8
9
  export * from './comparison';
9
10
  export * from './utils';
10
11
  export * from './requests';
@@ -1,4 +1,4 @@
1
- import { EnvironmentInterface } from "../interfaces";
1
+ import { EnvironmentInterface, ConvertedFileInterface } from "../interfaces";
2
2
  import BaseResource from "./base.resource";
3
3
  declare class DataResource extends BaseResource {
4
4
  protected getBaseUrl(env: EnvironmentInterface): string;
@@ -6,10 +6,7 @@ declare class DataResource extends BaseResource {
6
6
  checkLicensePlate(licensePlate: string, signCode: string, vehicleType: string): Promise<any>;
7
7
  validateIBAN(iban: string): Promise<any>;
8
8
  calculateMaximumLoanAmount(criteria: any): Promise<any>;
9
- uploadLoanDocument(comparisonId: string, convertedFiles: {
10
- name: string;
11
- base64: string | ArrayBuffer | null;
12
- }[]): Promise<any>;
9
+ uploadLoanDocument(comparisonId: string, convertedFiles: ConvertedFileInterface[]): Promise<any>;
13
10
  removeLoanDocument(fileId: string): Promise<any>;
14
11
  searchBusinessInfo(companyData: {
15
12
  companyName: string;
@@ -1,11 +1,9 @@
1
+ import { ConvertedFileInterface } from "../interfaces";
1
2
  declare class DataService {
2
3
  private client;
3
4
  constructor();
4
5
  calculateMaximumLoanAmount(criteria: any): Promise<any>;
5
- uploadLoanDocument(comparisonId: string, convertedFiles: {
6
- name: string;
7
- base64: string | ArrayBuffer | null;
8
- }[]): Promise<any>;
6
+ uploadLoanDocument(comparisonId: string, convertedFiles: ConvertedFileInterface[]): Promise<any>;
9
7
  removeLoanDocument(fileId: string): Promise<any>;
10
8
  findVehicle(licensePlate: string, vehicleType: string): Promise<any>;
11
9
  checkLicensePlate(licensePlate: string, signCode: string, vehicleType: string): Promise<any>;