avvir 3.4.11 → 3.4.12

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.
@@ -4380,8 +4380,9 @@ __webpack_require__.r(__webpack_exports__);
4380
4380
  /* harmony export */ });
4381
4381
  var ApiProjectReport = /** @class */ (function () {
4382
4382
  function ApiProjectReport(_a) {
4383
- var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, url = _b.url, subcontractorId = _b.subcontractorId, reportVersions = _b.reportVersions;
4383
+ var _b = _a === void 0 ? {} : _a, id = _b.id, type = _b.type, name = _b.name, url = _b.url, subcontractorId = _b.subcontractorId, reportVersions = _b.reportVersions;
4384
4384
  this.id = id;
4385
+ this.type = type;
4385
4386
  this.name = name;
4386
4387
  this.url = url;
4387
4388
  this.reportVersions = reportVersions;
@@ -1,7 +1,8 @@
1
1
  import ApiProjectReportVersion from "./api_project_report_version";
2
2
  export declare class ApiProjectReport {
3
- constructor({ id, name, url, subcontractorId, reportVersions }?: Partial<ApiProjectReport>);
3
+ constructor({ id, type, name, url, subcontractorId, reportVersions }?: Partial<ApiProjectReport>);
4
4
  id: number;
5
+ type: string;
5
6
  name: string;
6
7
  url: string;
7
8
  reportVersions: ApiProjectReportVersion[];
@@ -1,6 +1,7 @@
1
1
  export class ApiProjectReport {
2
- constructor({ id, name, url, subcontractorId, reportVersions } = {}) {
2
+ constructor({ id, type, name, url, subcontractorId, reportVersions } = {}) {
3
3
  this.id = id;
4
+ this.type = type;
4
5
  this.name = name;
5
6
  this.url = url;
6
7
  this.reportVersions = reportVersions;
@@ -1 +1 @@
1
- {"version":3,"file":"api_project_report.js","sourceRoot":"","sources":["../../../../source/models/api/api_project_report.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IACzB,YAAY,EAAC,EAAE,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE,cAAc,KAA+B,EAAE;QACxF,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,CAAC;CAOJ;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"api_project_report.js","sourceRoot":"","sources":["../../../../source/models/api/api_project_report.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,gBAAgB;IACzB,YAAY,EAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,eAAe,EAAE,cAAc,KAA+B,EAAE;QAC9F,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;IAC3C,CAAC;CAQJ;AAED,eAAe,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "avvir",
3
3
  "repository": "git@github.com:Avvir/avvir-javascript-client.git",
4
- "version": "3.4.11",
4
+ "version": "3.4.12",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -1,8 +1,9 @@
1
1
  import ApiProjectReportVersion from "./api_project_report_version";
2
2
 
3
3
  export class ApiProjectReport {
4
- constructor({id, name, url, subcontractorId, reportVersions}: Partial<ApiProjectReport> = {}) {
4
+ constructor({id, type, name, url, subcontractorId, reportVersions}: Partial<ApiProjectReport> = {}) {
5
5
  this.id = id;
6
+ this.type = type;
6
7
  this.name = name;
7
8
  this.url = url;
8
9
  this.reportVersions = reportVersions;
@@ -10,6 +11,7 @@ export class ApiProjectReport {
10
11
  }
11
12
 
12
13
  id: number;
14
+ type: string;
13
15
  name: string;
14
16
  url: string;
15
17
  reportVersions: ApiProjectReportVersion[];