avvir 4.1.2 → 4.1.3

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.
@@ -5285,9 +5285,10 @@ __webpack_require__.r(__webpack_exports__);
5285
5285
  /* harmony export */ });
5286
5286
  var ApiWorkPackage = /** @class */ (function () {
5287
5287
  function ApiWorkPackage(_a) {
5288
- var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, type = _b.type, masterformatCodes = _b.masterformatCodes;
5288
+ var _b = _a === void 0 ? {} : _a, id = _b.id, name = _b.name, ordinal = _b.ordinal, type = _b.type, masterformatCodes = _b.masterformatCodes;
5289
5289
  this.id = id;
5290
5290
  this.name = name;
5291
+ this.ordinal = ordinal;
5291
5292
  this.type = type;
5292
5293
  this.masterformatCodes = masterformatCodes;
5293
5294
  }
@@ -2,7 +2,8 @@ import { ProjectWorkPackageType } from "../enums";
2
2
  export declare class ApiWorkPackage {
3
3
  id?: number;
4
4
  name: string;
5
+ ordinal: number;
5
6
  type?: ProjectWorkPackageType;
6
7
  masterformatCodes?: string[];
7
- constructor({ id, name, type, masterformatCodes }?: Partial<ApiWorkPackage>);
8
+ constructor({ id, name, ordinal, type, masterformatCodes }?: Partial<ApiWorkPackage>);
8
9
  }
@@ -1,7 +1,8 @@
1
1
  export class ApiWorkPackage {
2
- constructor({ id, name, type, masterformatCodes } = {}) {
2
+ constructor({ id, name, ordinal, type, masterformatCodes } = {}) {
3
3
  this.id = id;
4
4
  this.name = name;
5
+ this.ordinal = ordinal;
5
6
  this.type = type;
6
7
  this.masterformatCodes = masterformatCodes;
7
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"api_work_package.js","sourceRoot":"","sources":["../../../../source/models/api/api_work_package.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,cAAc;IAMvB,YAAY,EAAC,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,iBAAiB,KAA8B,EAAE;QAC1E,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;CACJ"}
1
+ {"version":3,"file":"api_work_package.js","sourceRoot":"","sources":["../../../../source/models/api/api_work_package.ts"],"names":[],"mappings":"AAEA,MAAM,OAAO,cAAc;IAOvB,YAAY,EAAC,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,iBAAiB,KAA8B,EAAE;QACnF,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;QACb,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;IAC/C,CAAC;CACJ"}
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": "4.1.2",
4
+ "version": "4.1.3",
5
5
  "description": "Javascript client for Avvir APIs",
6
6
  "license": "Apache-2.0",
7
7
  "module": "dist/esm/index.js",
@@ -1,14 +1,16 @@
1
- import {ProjectWorkPackageType} from "../enums";
1
+ import { ProjectWorkPackageType } from "../enums";
2
2
 
3
3
  export class ApiWorkPackage {
4
4
  id?: number
5
5
  name: string
6
+ ordinal: number
6
7
  type?: ProjectWorkPackageType
7
8
  masterformatCodes?: string[];
8
9
 
9
- constructor({id, name, type, masterformatCodes} : Partial<ApiWorkPackage> = {}) {
10
+ constructor({id, name, ordinal, type, masterformatCodes} : Partial<ApiWorkPackage> = {}) {
10
11
  this.id = id;
11
12
  this.name = name;
13
+ this.ordinal = ordinal;
12
14
  this.type = type;
13
15
  this.masterformatCodes = masterformatCodes;
14
16
  }