easywork-common-lib 1.0.1121 → 1.0.1123

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.
@@ -2,7 +2,8 @@ export declare enum TaskStatus {
2
2
  PENDING = "pending",
3
3
  OVERDUE = "overdue",
4
4
  COMPLETED = "completed",
5
- PENDING_REVIEW = "pending_review"
5
+ PENDING_REVIEW = "pending_review",
6
+ IN_PROGRESS = "in_progress"
6
7
  }
7
8
  export declare enum TaskCRMType {
8
9
  CONTACT = "contact",
@@ -7,6 +7,7 @@ var TaskStatus;
7
7
  TaskStatus["OVERDUE"] = "overdue";
8
8
  TaskStatus["COMPLETED"] = "completed";
9
9
  TaskStatus["PENDING_REVIEW"] = "pending_review";
10
+ TaskStatus["IN_PROGRESS"] = "in_progress";
10
11
  })(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
11
12
  var TaskCRMType;
12
13
  (function (TaskCRMType) {
@@ -1 +1 @@
1
- {"version":3,"file":"tools.enum.js","sourceRoot":"","sources":["../../../src/common/enums/tools.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAKX;AALD,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;IACvB,+CAAiC,CAAA;AACnC,CAAC,EALW,UAAU,0BAAV,UAAU,QAKrB;AAED,IAAY,WAaX;AAbD,WAAY,WAAW;IACrB,kCAAmB,CAAA;IACnB,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,kCAAmB,CAAA;IACnB,gDAAiC,CAAA;IACjC,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,sDAAuC,CAAA;IACvC,4DAA6C,CAAA;IAC7C,4DAA6C,CAAA;IAC7C,4CAA6B,CAAA;AAC/B,CAAC,EAbW,WAAW,2BAAX,WAAW,QAatB;AAED,IAAY,YAcX;AAdD,WAAY,YAAY;IACtB,+BAAe,CAAA;IACf,mCAAmB,CAAA;IACnB,6BAAa,CAAA;IACb,iCAAiB,CAAA;IACjB,6CAA6B,CAAA;IAC7B,6DAA6C,CAAA;IAC7C,6DAA6C,CAAA;IAC7C,uDAAuC,CAAA;IACvC,mCAAmB,CAAA;IACnB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,iDAAiC,CAAA;IACjC,6BAAa,CAAA;AACf,CAAC,EAdW,YAAY,4BAAZ,YAAY,QAcvB;AAED,IAAY,eAMX;AAND,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,oCAAiB,CAAA;IACjB,sCAAmB,CAAA;IACnB,sCAAmB,CAAA;IACnB,kCAAe,CAAA;AACjB,CAAC,EANW,eAAe,+BAAf,eAAe,QAM1B;AAED,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,6CAA+B,CAAA;IAC/B,wCAA0B,CAAA;IAC1B,2CAA6B,CAAA;AAC/B,CAAC,EANW,UAAU,0BAAV,UAAU,QAMrB;AAED,IAAY,mBAIX;AAJD,WAAY,mBAAmB;IAC7B,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACvB,CAAC,EAJW,mBAAmB,mCAAnB,mBAAmB,QAI9B;AAED,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,sDAA6B,CAAA;IAC7B,wDAA+B,CAAA;IAC/B,wDAA+B,CAAA;IAC/B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,sCAAa,CAAA;IACb,wCAAe,CAAA;AACjB,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC"}
1
+ {"version":3,"file":"tools.enum.js","sourceRoot":"","sources":["../../../src/common/enums/tools.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,iCAAmB,CAAA;IACnB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;IACvB,+CAAiC,CAA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mB,QAI9B;AAED,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,8CAAqB,CAAA;IACrB,sDAA6B,CAAA;IAC7B,wDAA+B,CAAA;IAC/B,wDAA+B,CAAA;IAC/B,4CAAmB,CAAA;IACnB,kDAAyB,CAAA;IACzB,sCAAa,CAAA;IACb,wCAAe,CAAA;AACjB,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC"}
@@ -1,6 +1,6 @@
1
1
  import { BaseEntity } from "typeorm";
2
2
  import { Group } from "../../../../group.entity";
3
- export declare class AgenteRecruitmentOtherReferrals extends BaseEntity {
3
+ export declare class AgentRecruitmentOtherReferrals extends BaseEntity {
4
4
  id?: string;
5
5
  name: string;
6
6
  address: string;
@@ -9,11 +9,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
9
9
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.AgenteRecruitmentOtherReferrals = void 0;
12
+ exports.AgentRecruitmentOtherReferrals = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const typeorm_1 = require("typeorm");
15
15
  const group_entity_1 = require("../../../../group.entity");
16
- let AgenteRecruitmentOtherReferrals = class AgenteRecruitmentOtherReferrals extends typeorm_1.BaseEntity {
16
+ let AgentRecruitmentOtherReferrals = class AgentRecruitmentOtherReferrals extends typeorm_1.BaseEntity {
17
17
  id;
18
18
  name;
19
19
  address;
@@ -21,15 +21,15 @@ let AgenteRecruitmentOtherReferrals = class AgenteRecruitmentOtherReferrals exte
21
21
  otherPhones;
22
22
  otherEmails;
23
23
  };
24
- exports.AgenteRecruitmentOtherReferrals = AgenteRecruitmentOtherReferrals;
24
+ exports.AgentRecruitmentOtherReferrals = AgentRecruitmentOtherReferrals;
25
25
  __decorate([
26
26
  (0, typeorm_1.PrimaryGeneratedColumn)("uuid"),
27
27
  __metadata("design:type", String)
28
- ], AgenteRecruitmentOtherReferrals.prototype, "id", void 0);
28
+ ], AgentRecruitmentOtherReferrals.prototype, "id", void 0);
29
29
  __decorate([
30
30
  (0, typeorm_1.Column)({ unique: true }),
31
31
  __metadata("design:type", String)
32
- ], AgenteRecruitmentOtherReferrals.prototype, "name", void 0);
32
+ ], AgentRecruitmentOtherReferrals.prototype, "name", void 0);
33
33
  __decorate([
34
34
  (0, swagger_1.ApiProperty)({
35
35
  type: String,
@@ -38,7 +38,7 @@ __decorate([
38
38
  }),
39
39
  (0, typeorm_1.Column)({ length: 255, nullable: true }),
40
40
  __metadata("design:type", String)
41
- ], AgenteRecruitmentOtherReferrals.prototype, "address", void 0);
41
+ ], AgentRecruitmentOtherReferrals.prototype, "address", void 0);
42
42
  __decorate([
43
43
  (0, swagger_1.ApiProperty)({
44
44
  type: () => group_entity_1.Group,
@@ -47,22 +47,22 @@ __decorate([
47
47
  (0, typeorm_1.ManyToOne)(() => group_entity_1.Group, { nullable: true, onDelete: "SET NULL" }),
48
48
  (0, typeorm_1.JoinColumn)({ name: "groupId" }),
49
49
  __metadata("design:type", group_entity_1.Group)
50
- ], AgenteRecruitmentOtherReferrals.prototype, "group", void 0);
50
+ ], AgentRecruitmentOtherReferrals.prototype, "group", void 0);
51
51
  __decorate([
52
52
  (0, swagger_1.ApiProperty)({
53
53
  description: "Other phones of the referred agent",
54
54
  }),
55
55
  (0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
56
56
  __metadata("design:type", Array)
57
- ], AgenteRecruitmentOtherReferrals.prototype, "otherPhones", void 0);
57
+ ], AgentRecruitmentOtherReferrals.prototype, "otherPhones", void 0);
58
58
  __decorate([
59
59
  (0, swagger_1.ApiProperty)({
60
60
  description: "Other emails of the referred agent",
61
61
  }),
62
62
  (0, typeorm_1.Column)({ type: "jsonb", nullable: true }),
63
63
  __metadata("design:type", Array)
64
- ], AgenteRecruitmentOtherReferrals.prototype, "otherEmails", void 0);
65
- exports.AgenteRecruitmentOtherReferrals = AgenteRecruitmentOtherReferrals = __decorate([
64
+ ], AgentRecruitmentOtherReferrals.prototype, "otherEmails", void 0);
65
+ exports.AgentRecruitmentOtherReferrals = AgentRecruitmentOtherReferrals = __decorate([
66
66
  (0, typeorm_1.Entity)()
67
- ], AgenteRecruitmentOtherReferrals);
67
+ ], AgentRecruitmentOtherReferrals);
68
68
  //# sourceMappingURL=h_agent_recruitment_other_referrals.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"h_agent_recruitment_other_referrals.js","sourceRoot":"","sources":["../../../../../../src/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qCAAoG;AACpG,2DAAiD;AAG1C,IAAM,+BAA+B,GAArC,MAAM,+BAAgC,SAAQ,oBAAU;IAE7D,EAAE,CAAU;IAGZ,IAAI,CAAS;IASb,OAAO,CAAS;IAQhB,KAAK,CAAQ;IAOb,WAAW,CAA2B;IAOtC,WAAW,CAA2B;CACvC,CAAA;AArCY,0EAA+B;AAE1C;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;2DACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;6DACZ;AASb;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;gEACxB;AAQhB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,6BAA6B;KAC3C,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;IAChE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BACzB,oBAAK;8DAAC;AAOb;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACJ;AAOtC;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;oEACJ;0CApC3B,+BAA+B;IAD3C,IAAA,gBAAM,GAAE;GACI,+BAA+B,CAqC3C"}
1
+ {"version":3,"file":"h_agent_recruitment_other_referrals.js","sourceRoot":"","sources":["../../../../../../src/entities/helpers/sales/agent/recruitment/h_agent_recruitment_other_referrals.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA8C;AAC9C,qCAAoG;AACpG,2DAAiD;AAG1C,IAAM,8BAA8B,GAApC,MAAM,8BAA+B,SAAQ,oBAAU;IAE5D,EAAE,CAAU;IAGZ,IAAI,CAAS;IASb,OAAO,CAAS;IAQhB,KAAK,CAAQ;IAOb,WAAW,CAA2B;IAOtC,WAAW,CAA2B;CACvC,CAAA;AArCY,wEAA8B;AAEzC;IADC,IAAA,gCAAsB,EAAC,MAAM,CAAC;;0DACnB;AAGZ;IADC,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;4DACZ;AASb;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,MAAM;QACZ,WAAW,EAAE,+BAA+B;QAC5C,QAAQ,EAAE,KAAK;KAChB,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;+DACxB;AAQhB;IANC,IAAA,qBAAW,EAAC;QACX,IAAI,EAAE,GAAG,EAAE,CAAC,oBAAK;QACjB,WAAW,EAAE,6BAA6B;KAC3C,CAAC;IACD,IAAA,mBAAS,EAAC,GAAG,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,IAAI,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;IAChE,IAAA,oBAAU,EAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;8BACzB,oBAAK;6DAAC;AAOb;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACJ;AAOtC;IAJC,IAAA,qBAAW,EAAC;QACX,WAAW,EAAE,oCAAoC;KAClD,CAAC;IACD,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC;;mEACJ;yCApC3B,8BAA8B;IAD1C,IAAA,gBAAM,GAAE;GACI,8BAA8B,CAqC1C"}
@@ -19,8 +19,8 @@ export declare class AuthorizationModule {
19
19
  }): {
20
20
  module: typeof AuthorizationModule;
21
21
  imports: import("@nestjs/common").DynamicModule[];
22
- providers: (typeof ResourceAccessFilterService | typeof ResourceAuthorizationService | typeof DynamicFilterService | typeof PermissionEvaluatorService | typeof PermissionCacheService | typeof AuthorizationService | typeof ResourceAuthorizationFactory | typeof ContactAuthorizationService | typeof LeadAuthorizationService | typeof PolicyAuthorizationService | typeof TaskAuthorizationService)[];
23
- exports: (typeof ResourceAccessFilterService | typeof ResourceAuthorizationService | typeof DynamicFilterService | typeof PermissionEvaluatorService | typeof PermissionCacheService | typeof AuthorizationService | typeof ResourceAuthorizationFactory | typeof ContactAuthorizationService | typeof LeadAuthorizationService | typeof PolicyAuthorizationService | typeof TaskAuthorizationService)[];
22
+ providers: (typeof TaskAuthorizationService | typeof PolicyAuthorizationService | typeof LeadAuthorizationService | typeof ContactAuthorizationService | typeof ResourceAuthorizationFactory | typeof PermissionEvaluatorService | typeof ResourceAuthorizationService | typeof ResourceAccessFilterService | typeof DynamicFilterService | typeof PermissionCacheService | typeof AuthorizationService)[];
23
+ exports: (typeof TaskAuthorizationService | typeof PolicyAuthorizationService | typeof LeadAuthorizationService | typeof ContactAuthorizationService | typeof ResourceAuthorizationFactory | typeof PermissionEvaluatorService | typeof ResourceAuthorizationService | typeof ResourceAccessFilterService | typeof DynamicFilterService | typeof PermissionCacheService | typeof AuthorizationService)[];
24
24
  global: boolean;
25
25
  };
26
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "easywork-common-lib",
3
- "version": "1.0.1121",
3
+ "version": "1.0.1123",
4
4
  "description": "Librería común de Easywork",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",