@n3/ng-api-budget
Advanced tools
Comparing version 0.0.535 to 0.0.540
@@ -7,3 +7,3 @@ /** | ||
import { Injectable, NgModule } from '@angular/core'; | ||
import { Document, NgApiCommonModule } from '@n3/ng-api-common'; | ||
import { ClassifierShort, Document, EntityState, Identity, InstitutionShort, NgApiCommonModule } from '@n3/ng-api-common'; | ||
import { BaseModel, BaseService, NgApiBaseKitModule } from '@n3/ng-api-base-kit'; | ||
@@ -158,2 +158,7 @@ | ||
super(); | ||
this.identity = new Identity(json.identity); | ||
this.entity_state = new EntityState(json.entity_state); | ||
this.name = json.name || null; | ||
this.type = new ClassifierShort(json.type); | ||
this.institution = new InstitutionShort(json.institution); | ||
this._isEmpty = this.isEmpty(this); | ||
@@ -173,2 +178,7 @@ } | ||
super(); | ||
this.identity = new Identity(json.identity); | ||
this.entity_state = new EntityState(json.entity_state); | ||
this.number = json.number || null; | ||
this.name = json.name || null; | ||
this.parent = new Identity(json.parent); | ||
this._isEmpty = this.isEmpty(this); | ||
@@ -188,2 +198,23 @@ } | ||
super(); | ||
this.identity = new Identity(json.identity); | ||
this.entity_state = new EntityState(json.entity_state); | ||
this.datetime_plan = json.datetime_plan || null; | ||
this.datetime_fact = json.datetime_fact || null; | ||
this.operation = new ClassifierShort(json.operation); | ||
this.type = new ClassifierShort(json.type); | ||
this.source = new Contractor(json.source); | ||
this.recipient = new Contractor(json.recipient); | ||
this.target = new Contractor(json.target); | ||
this.comment = json.comment || null; | ||
this.documents = []; | ||
if (json.documents) { | ||
for (const /** @type {?} */ i in json.documents) { | ||
if (json.documents.hasOwnProperty(i)) { | ||
this.documents.push(new PaymentDocument(json.documents[i])); | ||
} | ||
} | ||
} | ||
this.source_unit = new Contractor(json.source_unit); | ||
this.target_unit = new Contractor(json.target_unit); | ||
this.sum = json.sum || null; | ||
this._isEmpty = this.isEmpty(this); | ||
@@ -190,0 +221,0 @@ } |
@@ -7,3 +7,3 @@ /** | ||
import { Injectable, NgModule } from '@angular/core'; | ||
import { Document, NgApiCommonModule } from '@n3/ng-api-common'; | ||
import { ClassifierShort, Document, EntityState, Identity, InstitutionShort, NgApiCommonModule } from '@n3/ng-api-common'; | ||
import { BaseModel, BaseService, NgApiBaseKitModule } from '@n3/ng-api-base-kit'; | ||
@@ -182,2 +182,7 @@ import { __extends } from 'tslib'; | ||
var _this = _super.call(this) || this; | ||
_this.identity = new Identity(json.identity); | ||
_this.entity_state = new EntityState(json.entity_state); | ||
_this.name = json.name || null; | ||
_this.type = new ClassifierShort(json.type); | ||
_this.institution = new InstitutionShort(json.institution); | ||
_this._isEmpty = _this.isEmpty(_this); | ||
@@ -198,2 +203,7 @@ return _this; | ||
var _this = _super.call(this) || this; | ||
_this.identity = new Identity(json.identity); | ||
_this.entity_state = new EntityState(json.entity_state); | ||
_this.number = json.number || null; | ||
_this.name = json.name || null; | ||
_this.parent = new Identity(json.parent); | ||
_this._isEmpty = _this.isEmpty(_this); | ||
@@ -214,2 +224,23 @@ return _this; | ||
var _this = _super.call(this) || this; | ||
_this.identity = new Identity(json.identity); | ||
_this.entity_state = new EntityState(json.entity_state); | ||
_this.datetime_plan = json.datetime_plan || null; | ||
_this.datetime_fact = json.datetime_fact || null; | ||
_this.operation = new ClassifierShort(json.operation); | ||
_this.type = new ClassifierShort(json.type); | ||
_this.source = new Contractor(json.source); | ||
_this.recipient = new Contractor(json.recipient); | ||
_this.target = new Contractor(json.target); | ||
_this.comment = json.comment || null; | ||
_this.documents = []; | ||
if (json.documents) { | ||
for (var /** @type {?} */ i in json.documents) { | ||
if (json.documents.hasOwnProperty(i)) { | ||
_this.documents.push(new PaymentDocument(json.documents[i])); | ||
} | ||
} | ||
} | ||
_this.source_unit = new Contractor(json.source_unit); | ||
_this.target_unit = new Contractor(json.target_unit); | ||
_this.sum = json.sum || null; | ||
_this._isEmpty = _this.isEmpty(_this); | ||
@@ -216,0 +247,0 @@ return _this; |
{ | ||
"name": "@n3/ng-api-budget", | ||
"version": "0.0.535", | ||
"version": "0.0.540", | ||
"description": "@n3/ng-api-budget", | ||
@@ -28,3 +28,3 @@ "main": "./bundles/ng-api-budget.umd.js", | ||
"dependencies": { | ||
"@n3/ng-api-common": "0.0.535", | ||
"@n3/ng-api-common": "0.0.540", | ||
"@n3/ng-api-base-kit": "latest", | ||
@@ -31,0 +31,0 @@ "tslib": "^1.7.1" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
835627
5981
+ Added@n3/ng-api-common@0.0.540(transitive)
- Removed@n3/ng-api-common@0.0.535(transitive)
Updated@n3/ng-api-common@0.0.540