law-common 10.25.1-beta.0 → 10.25.1-beta.1
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/dist/src/api/index.d.ts +0 -1
- package/dist/src/api/index.js +0 -1
- package/dist/src/entities/interface/client_affiliate_entity.interface.d.ts +2 -2
- package/dist/src/entities/model/client-affiliate.entity.model.d.ts +5 -5
- package/dist/src/entities/model/client-affiliate.entity.model.js +6 -6
- package/dist/src/entities/model/entity.model.interface.js +1 -1
- package/package.json +1 -1
- package/dist/src/api/interface/client.affiliate.entity.api.d.ts +0 -3
- package/dist/src/api/interface/client.affiliate.entity.api.js +0 -2
package/dist/src/api/index.d.ts
CHANGED
|
@@ -31,7 +31,6 @@ export * from "./interface/billing.payment.entity.api";
|
|
|
31
31
|
export * from "./interface/billing.payment.update.dto.interface";
|
|
32
32
|
export * from "./interface/client.affiliate.create.dto.interface";
|
|
33
33
|
export * from "./interface/client.affiliate.update.dto.interface";
|
|
34
|
-
export * from "./interface/client.affiliate.entity.api";
|
|
35
34
|
export * from "./interface/role.create.dto.interface";
|
|
36
35
|
export * from "./interface/role.update.dto.interface";
|
|
37
36
|
export * from "./interface/permission.create.dto.interface";
|
package/dist/src/api/index.js
CHANGED
|
@@ -47,7 +47,6 @@ __exportStar(require("./interface/billing.payment.entity.api"), exports);
|
|
|
47
47
|
__exportStar(require("./interface/billing.payment.update.dto.interface"), exports);
|
|
48
48
|
__exportStar(require("./interface/client.affiliate.create.dto.interface"), exports);
|
|
49
49
|
__exportStar(require("./interface/client.affiliate.update.dto.interface"), exports);
|
|
50
|
-
__exportStar(require("./interface/client.affiliate.entity.api"), exports);
|
|
51
50
|
__exportStar(require("./interface/role.create.dto.interface"), exports);
|
|
52
51
|
__exportStar(require("./interface/role.update.dto.interface"), exports);
|
|
53
52
|
__exportStar(require("./interface/permission.create.dto.interface"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
2
2
|
import { IEntityFilterData } from "./entity.utils.interface";
|
|
3
|
-
export interface IClientAffiliateEntity extends
|
|
3
|
+
export interface IClientAffiliateEntity extends IEntityAuditColumn {
|
|
4
4
|
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
address: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IClientAffiliateEntity } from "../interface/client_affiliate_entity.interface";
|
|
2
2
|
import { EntityEnum } from "../interface/entity.utils.interface";
|
|
3
3
|
import { BaseEntityModel } from "./base.entity.model";
|
|
4
|
-
export declare class ClientAffiliateEntityModel extends BaseEntityModel<EntityEnum.CLIENT_AFFILIATE> implements
|
|
4
|
+
export declare class ClientAffiliateEntityModel extends BaseEntityModel<EntityEnum.CLIENT_AFFILIATE> implements IClientAffiliateEntity {
|
|
5
5
|
id: number;
|
|
6
6
|
name: string;
|
|
7
7
|
address: string;
|
|
@@ -10,10 +10,10 @@ export declare class ClientAffiliateEntityModel extends BaseEntityModel<EntityEn
|
|
|
10
10
|
organizationId: number;
|
|
11
11
|
zipCode: string;
|
|
12
12
|
country: string;
|
|
13
|
-
createdOn:
|
|
14
|
-
updatedOn:
|
|
13
|
+
createdOn: number;
|
|
14
|
+
updatedOn: number;
|
|
15
15
|
createdBy: number;
|
|
16
16
|
updatedBy: number;
|
|
17
17
|
getRelationConfigs(): any;
|
|
18
|
-
static
|
|
18
|
+
static fromEntity(entity: IClientAffiliateEntity): ClientAffiliateEntityModel;
|
|
19
19
|
}
|
|
@@ -13,18 +13,18 @@ class ClientAffiliateEntityModel extends base_entity_model_1.BaseEntityModel {
|
|
|
13
13
|
this.organizationId = 0;
|
|
14
14
|
this.zipCode = "";
|
|
15
15
|
this.country = "";
|
|
16
|
-
this.createdOn =
|
|
17
|
-
this.updatedOn =
|
|
16
|
+
this.createdOn = 0;
|
|
17
|
+
this.updatedOn = 0;
|
|
18
18
|
this.createdBy = 0;
|
|
19
19
|
this.updatedBy = 0;
|
|
20
20
|
}
|
|
21
21
|
getRelationConfigs() {
|
|
22
22
|
return this.constructor.prototype.constructor.relationConfigs;
|
|
23
23
|
}
|
|
24
|
-
static
|
|
25
|
-
const
|
|
26
|
-
Object.assign(
|
|
27
|
-
return
|
|
24
|
+
static fromEntity(entity) {
|
|
25
|
+
const result = new ClientAffiliateEntityModel(entity_utils_interface_1.EntityEnum.CLIENT_AFFILIATE);
|
|
26
|
+
Object.assign(result, entity);
|
|
27
|
+
return result;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
exports.ClientAffiliateEntityModel = ClientAffiliateEntityModel;
|
|
@@ -58,7 +58,7 @@ function parseEntities(json, baseEntity, entityMap) {
|
|
|
58
58
|
[entity_utils_interface_1.EntityEnum.REIMBURSEMENT]: reimbursement_entity_model_1.ReimbursementEntityModel.fromApiEntity,
|
|
59
59
|
[entity_utils_interface_1.EntityEnum.REIMBURSEMENT_EXPENSE]: reimbursement_expense_entity_model_1.ReimbursementExpenseEntityModel.fromApiEntity,
|
|
60
60
|
[entity_utils_interface_1.EntityEnum.BILLING_REIMBURSEMENT_EXPENSE]: billing_reimbursement_expense_entity_model_1.BillingReimbursementExpneseEntityModel.fromApiEntity,
|
|
61
|
-
[entity_utils_interface_1.EntityEnum.CLIENT_AFFILIATE]: client_affiliate_entity_model_1.ClientAffiliateEntityModel.
|
|
61
|
+
[entity_utils_interface_1.EntityEnum.CLIENT_AFFILIATE]: client_affiliate_entity_model_1.ClientAffiliateEntityModel.fromEntity,
|
|
62
62
|
[entity_utils_interface_1.EntityEnum.BANK]: bank_entity_model_1.BankEntityModel.fromEntity,
|
|
63
63
|
[entity_utils_interface_1.EntityEnum.CONFIGURATION]: configuration_model_1.ConfigurationEntityModel.fromEntity,
|
|
64
64
|
[entity_utils_interface_1.EntityEnum.TASK]: task_entity_model_1.TaskEntityModel.fromEntity,
|
package/package.json
CHANGED