law-common 12.11.1-beta.13 → 12.11.1-beta.14
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 +1 -0
- package/dist/src/api/index.js +1 -0
- package/dist/src/api/interface/organization.filter.dto.interface.d.ts +3 -0
- package/dist/src/api/interface/organization.filter.dto.interface.js +2 -0
- package/dist/src/entities/enums/organization_status_enum.d.ts +4 -0
- package/dist/src/entities/enums/{organization.entity.enum.js → organization_status_enum.js} +2 -2
- package/dist/src/entities/index.d.ts +1 -1
- package/dist/src/entities/index.js +1 -1
- package/dist/src/entities/interface/organization.entity.interface.d.ts +3 -5
- package/dist/src/entities/model/organization.entity.model.d.ts +1 -1
- package/dist/src/entities/model/organization.entity.model.js +2 -2
- package/package.json +1 -1
- package/dist/src/entities/enums/organization.entity.enum.d.ts +0 -4
package/dist/src/api/index.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ export * from "./interface/billing.entity.response";
|
|
|
19
19
|
export * from "./interface/office_location.create.dto.interface";
|
|
20
20
|
export * from "./interface/office_location.entity.response";
|
|
21
21
|
export * from "./interface/office_location.filter.dto.interface";
|
|
22
|
+
export * from "./interface/organization.filter.dto.interface";
|
|
22
23
|
export * from "./interface/office_location.update.dto.interface";
|
|
23
24
|
export * from "./interface/billing.update.dto.interface";
|
|
24
25
|
export * from "./interface/moving_timesheet.create.dto.interface";
|
package/dist/src/api/index.js
CHANGED
|
@@ -35,6 +35,7 @@ __exportStar(require("./interface/billing.entity.response"), exports);
|
|
|
35
35
|
__exportStar(require("./interface/office_location.create.dto.interface"), exports);
|
|
36
36
|
__exportStar(require("./interface/office_location.entity.response"), exports);
|
|
37
37
|
__exportStar(require("./interface/office_location.filter.dto.interface"), exports);
|
|
38
|
+
__exportStar(require("./interface/organization.filter.dto.interface"), exports);
|
|
38
39
|
__exportStar(require("./interface/office_location.update.dto.interface"), exports);
|
|
39
40
|
__exportStar(require("./interface/billing.update.dto.interface"), exports);
|
|
40
41
|
__exportStar(require("./interface/moving_timesheet.create.dto.interface"), exports);
|
|
@@ -3,6 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.OrganizationStatusEnum = void 0;
|
|
4
4
|
var OrganizationStatusEnum;
|
|
5
5
|
(function (OrganizationStatusEnum) {
|
|
6
|
-
OrganizationStatusEnum["
|
|
7
|
-
OrganizationStatusEnum["
|
|
6
|
+
OrganizationStatusEnum["ACTIVE"] = "active";
|
|
7
|
+
OrganizationStatusEnum["DEACTIVE"] = "deactive";
|
|
8
8
|
})(OrganizationStatusEnum || (exports.OrganizationStatusEnum = OrganizationStatusEnum = {}));
|
|
@@ -14,7 +14,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./enums/
|
|
17
|
+
__exportStar(require("./enums/organization_status_enum"), exports);
|
|
18
18
|
__exportStar(require("./enums/relation-type.enum"), exports);
|
|
19
19
|
__exportStar(require("./enums/task_type_enum"), exports);
|
|
20
20
|
__exportStar(require("./interface/entity.utils.interface"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { OrganizationStatusEnum } from "../enums/
|
|
1
|
+
import { OrganizationStatusEnum } from "../enums/organization_status_enum";
|
|
2
2
|
import { IEntityAuditColumn } from "./entity-audit-columns.interface";
|
|
3
|
-
import {
|
|
3
|
+
import { Nullable } from "./entity.utils.interface";
|
|
4
4
|
export interface IOrganizationEntity extends IEntityAuditColumn {
|
|
5
5
|
id: number;
|
|
6
6
|
name: string;
|
|
@@ -10,7 +10,5 @@ export interface IOrganizationEntity extends IEntityAuditColumn {
|
|
|
10
10
|
address: string;
|
|
11
11
|
status: OrganizationStatusEnum;
|
|
12
12
|
panNo: string;
|
|
13
|
-
panDocumentUrl?: string
|
|
14
|
-
}
|
|
15
|
-
export interface IOrganizationEntityFilterDto extends IEntityFilterData<IOrganizationEntity> {
|
|
13
|
+
panDocumentUrl?: Nullable<string>;
|
|
16
14
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OrganizationStatusEnum } from "../enums/
|
|
1
|
+
import { OrganizationStatusEnum } from "../enums/organization_status_enum";
|
|
2
2
|
import { EntityEnum, Nullable } from "../interface/entity.utils.interface";
|
|
3
3
|
import { IOrganizationEntity } from "../interface/organization.entity.interface";
|
|
4
4
|
import { RelationConfigs } from "../interface/relation-config.interface";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.OrganizationEntityModel = void 0;
|
|
4
|
-
const
|
|
4
|
+
const organization_status_enum_1 = require("../enums/organization_status_enum");
|
|
5
5
|
const entity_utils_interface_1 = require("../interface/entity.utils.interface");
|
|
6
6
|
const base_entity_model_1 = require("./base.entity.model");
|
|
7
7
|
class OrganizationEntityModel extends base_entity_model_1.BaseEntityModel {
|
|
@@ -13,7 +13,7 @@ class OrganizationEntityModel extends base_entity_model_1.BaseEntityModel {
|
|
|
13
13
|
this.contact = "";
|
|
14
14
|
this.description = "";
|
|
15
15
|
this.address = "";
|
|
16
|
-
this.status =
|
|
16
|
+
this.status = organization_status_enum_1.OrganizationStatusEnum.ACTIVE;
|
|
17
17
|
this.panNo = "";
|
|
18
18
|
this.createdOn = 0;
|
|
19
19
|
this.updatedOn = 0;
|
package/package.json
CHANGED