easywork-common-lib 1.0.623 → 1.0.624
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/entities/helpers/sales/agent/connection/h_agent_connection.entity.d.ts +2 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js +11 -0
- package/dist/entities/helpers/sales/agent/connection/h_agent_connection.entity.js.map +1 -1
- package/dist/entities/helpers/sales/agent/index.d.ts +4 -0
- package/dist/entities/helpers/sales/agent/index.js +4 -0
- package/dist/entities/helpers/sales/agent/index.js.map +1 -1
- package/package.json +1 -1
- package/tsconfig.tsbuildinfo +1 -1
|
@@ -2,6 +2,7 @@ import { Agent } from "../../../../sales";
|
|
|
2
2
|
import { AgentConnectionStage } from "../connection/h_agent_connection_stage.entity";
|
|
3
3
|
import { BaseEntitySimple } from "../../../../../common";
|
|
4
4
|
import { User } from "../../../../user.entity";
|
|
5
|
+
import { AgentSource } from "../h_agent_source.entity";
|
|
5
6
|
export declare class AgentConnection extends BaseEntitySimple {
|
|
6
7
|
agentId: string;
|
|
7
8
|
agentConnectionStageId: string;
|
|
@@ -11,6 +12,7 @@ export declare class AgentConnection extends BaseEntitySimple {
|
|
|
11
12
|
cnsfDate: Date;
|
|
12
13
|
closed: boolean;
|
|
13
14
|
assignedBy: User;
|
|
15
|
+
source: AgentSource;
|
|
14
16
|
agent: Agent;
|
|
15
17
|
agentConnectionStage: AgentConnectionStage;
|
|
16
18
|
}
|
|
@@ -17,6 +17,7 @@ const sales_1 = require("../../../../sales");
|
|
|
17
17
|
const h_agent_connection_stage_entity_1 = require("../connection/h_agent_connection_stage.entity");
|
|
18
18
|
const common_1 = require("../../../../../common");
|
|
19
19
|
const user_entity_1 = require("../../../../user.entity");
|
|
20
|
+
const h_agent_source_entity_1 = require("../h_agent_source.entity");
|
|
20
21
|
let AgentConnection = class AgentConnection extends common_1.BaseEntitySimple {
|
|
21
22
|
agentId;
|
|
22
23
|
agentConnectionStageId;
|
|
@@ -26,6 +27,7 @@ let AgentConnection = class AgentConnection extends common_1.BaseEntitySimple {
|
|
|
26
27
|
cnsfDate;
|
|
27
28
|
closed;
|
|
28
29
|
assignedBy;
|
|
30
|
+
source;
|
|
29
31
|
agent;
|
|
30
32
|
agentConnectionStage;
|
|
31
33
|
};
|
|
@@ -102,6 +104,15 @@ __decorate([
|
|
|
102
104
|
(0, typeorm_1.JoinColumn)(),
|
|
103
105
|
__metadata("design:type", user_entity_1.User)
|
|
104
106
|
], AgentConnection.prototype, "assignedBy", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, swagger_1.ApiProperty)({
|
|
109
|
+
type: () => h_agent_source_entity_1.AgentSource,
|
|
110
|
+
description: "Agent Source",
|
|
111
|
+
}),
|
|
112
|
+
(0, typeorm_1.ManyToOne)(() => h_agent_source_entity_1.AgentSource, { nullable: true, onDelete: "SET NULL" }),
|
|
113
|
+
(0, typeorm_1.JoinColumn)(),
|
|
114
|
+
__metadata("design:type", h_agent_source_entity_1.AgentSource)
|
|
115
|
+
], AgentConnection.prototype, "source", void 0);
|
|
105
116
|
__decorate([
|
|
106
117
|
(0, class_transformer_1.Exclude)(),
|
|
107
118
|
(0, swagger_1.ApiProperty)({ type: () => sales_1.Agent, description: "Agent entity associated" }),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"h_agent_connection.entity.js","sourceRoot":"","sources":["../../../../../../src/entities/helpers/sales/agent/connection/h_agent_connection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,yDAA4C;AAC5C,6CAA8C;AAC9C,6CAA0C;AAC1C,mGAAqF;AACrF,kDAAyD;AACzD,yDAA+C;
|
|
1
|
+
{"version":3,"file":"h_agent_connection.entity.js","sourceRoot":"","sources":["../../../../../../src/entities/helpers/sales/agent/connection/h_agent_connection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qCAAgE;AAChE,yDAA4C;AAC5C,6CAA8C;AAC9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K,CAAC,WAAW,EAAE;QACpD,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;KACpB,CAAC;8BACY,aAAK;8CAAC;AAWb;IATN,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,sDAAoB;QAChC,WAAW,EAAE,wCAAwC;KACtD,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,sDAAoB,EAAE;QACrC,QAAQ,EAAE,SAAS;QACnB,QAAQ,EAAE,SAAS;QACnB,KAAK,EAAE,IAAI;KACZ,CAAC;8BAC2B,sDAAoB;6DAAC;0BA/FvC,eAAe;IAD3B,IAAA,gBAAM,GAAE;GACI,eAAe,CAgG3B"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
export * from "./h_agent_source.entity";
|
|
2
2
|
export * from "./h_agent_types.entity";
|
|
3
|
+
export * from "./connection/h_agent_connection.entity";
|
|
4
|
+
export * from "./connection/h_agent_connection_stage.entity";
|
|
5
|
+
export * from "./recruitment/h_agent_recruitment.entity";
|
|
6
|
+
export * from "./recruitment/h_agent_recruitment_stage.entity";
|
|
@@ -16,4 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./h_agent_source.entity"), exports);
|
|
18
18
|
__exportStar(require("./h_agent_types.entity"), exports);
|
|
19
|
+
__exportStar(require("./connection/h_agent_connection.entity"), exports);
|
|
20
|
+
__exportStar(require("./connection/h_agent_connection_stage.entity"), exports);
|
|
21
|
+
__exportStar(require("./recruitment/h_agent_recruitment.entity"), exports);
|
|
22
|
+
__exportStar(require("./recruitment/h_agent_recruitment_stage.entity"), exports);
|
|
19
23
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/agent/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/entities/helpers/sales/agent/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,yDAAuC;AACvC,yEAAuD;AACvD,+EAA6D;AAC7D,2EAAyD;AACzD,iFAA+D"}
|