easywork-common-lib 1.0.521 → 1.0.522
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/.gitattributes +2 -2
- package/.github/workflows/npm-publish.yml +33 -33
- package/.vscode/settings.json +12 -12
- package/dist/common/constants/app.contants.d.ts +0 -1
- package/dist/common/constants/app.contants.js +28 -29
- package/dist/common/constants/app.contants.js.map +1 -1
- package/dist/common/constants/index.d.ts +0 -1
- package/dist/common/constants/index.js +0 -1
- package/dist/common/constants/index.js.map +1 -1
- package/dist/common/enums/sales.enum.d.ts +0 -5
- package/dist/common/enums/sales.enum.js +1 -7
- package/dist/common/enums/sales.enum.js.map +1 -1
- package/dist/common/enums/tools.enum.d.ts +0 -7
- package/dist/common/enums/tools.enum.js +1 -9
- package/dist/common/enums/tools.enum.js.map +1 -1
- package/dist/entities/helpers/sales/poliza/index.d.ts +1 -0
- package/dist/entities/helpers/sales/poliza/index.js +1 -0
- package/dist/entities/helpers/sales/poliza/index.js.map +1 -1
- package/dist/entities/role.entity.d.ts +0 -1
- package/dist/entities/role.entity.js +3 -9
- package/dist/entities/role.entity.js.map +1 -1
- package/dist/entities/sales/contact.entity.d.ts +0 -1
- package/dist/entities/sales/contact.entity.js +38 -177
- package/dist/entities/sales/contact.entity.js.map +1 -1
- package/dist/entities/sales/poliza.entity.d.ts +21 -7
- package/dist/entities/sales/poliza.entity.js +193 -41
- package/dist/entities/sales/poliza.entity.js.map +1 -1
- package/dist/entities/tools/calendar/event.entity.js +19 -54
- package/dist/entities/tools/calendar/event.entity.js.map +1 -1
- package/dist/entities/tools/task.entity.d.ts +0 -2
- package/dist/entities/tools/task.entity.js +29 -116
- package/dist/entities/tools/task.entity.js.map +1 -1
- package/dist/entities/user.entity.d.ts +1 -6
- package/dist/entities/user.entity.js +23 -86
- package/dist/entities/user.entity.js.map +1 -1
- package/dist/grpc/drive/drive.proto +181 -225
- package/justfile +8 -8
- package/package.json +45 -45
- package/scripts/bump.sh +5 -5
- package/test.bat +15 -15
- package/tsconfig.build.json +4 -4
- package/tsconfig.json +25 -25
- package/tsconfig.tsbuildinfo +1 -1
- package/dist/common/constants/string.constant.d.ts +0 -5
- package/dist/common/constants/string.constant.js +0 -41
- package/dist/common/constants/string.constant.js.map +0 -1
- package/dist/grpc/drive/leads.proto +0 -114
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export declare const VERSION_VALIDATION_MESSAGE = "Version must start with \"v\" followed by a number.";
|
|
2
|
-
export declare const SES_REGIONS: string[];
|
|
3
|
-
export declare const APP_ENVIRONMENTS: string[];
|
|
4
|
-
export declare const CLOUD_STORAGE_SERVICE_TYPES: string[];
|
|
5
|
-
export declare const DATABASE_TYPES: string[];
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DATABASE_TYPES = exports.CLOUD_STORAGE_SERVICE_TYPES = exports.APP_ENVIRONMENTS = exports.SES_REGIONS = exports.VERSION_VALIDATION_MESSAGE = void 0;
|
|
4
|
-
exports.VERSION_VALIDATION_MESSAGE = 'Version must start with "v" followed by a number.';
|
|
5
|
-
exports.SES_REGIONS = [
|
|
6
|
-
"us-east-2",
|
|
7
|
-
"us-east-1",
|
|
8
|
-
"us-west-1",
|
|
9
|
-
"us-west-2",
|
|
10
|
-
"af-south-1",
|
|
11
|
-
"ap-southeast-3",
|
|
12
|
-
"ap-south-1",
|
|
13
|
-
"ap-northeast-3",
|
|
14
|
-
"ap-northeast-2",
|
|
15
|
-
"ap-southeast-1",
|
|
16
|
-
"ap-southeast-2",
|
|
17
|
-
"ap-northeast-1",
|
|
18
|
-
"ca-central-1",
|
|
19
|
-
"eu-central-1",
|
|
20
|
-
"eu-west-1",
|
|
21
|
-
"eu-west-2",
|
|
22
|
-
"eu-south-1",
|
|
23
|
-
"eu-west-3",
|
|
24
|
-
"eu-north-1",
|
|
25
|
-
"me-south-1",
|
|
26
|
-
"sa-east-1",
|
|
27
|
-
"us-gov-west-1",
|
|
28
|
-
];
|
|
29
|
-
exports.APP_ENVIRONMENTS = [
|
|
30
|
-
"dev",
|
|
31
|
-
"development",
|
|
32
|
-
"stage",
|
|
33
|
-
"staging",
|
|
34
|
-
"test",
|
|
35
|
-
"testing",
|
|
36
|
-
"prod",
|
|
37
|
-
"production",
|
|
38
|
-
];
|
|
39
|
-
exports.CLOUD_STORAGE_SERVICE_TYPES = ["cloudinary", "s3", "none"];
|
|
40
|
-
exports.DATABASE_TYPES = ["mysql", "postgres"];
|
|
41
|
-
//# sourceMappingURL=string.constant.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string.constant.js","sourceRoot":"","sources":["../../../src/common/constants/string.constant.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,mDAAmD,CAAC;AAGjF,QAAA,WAAW,GAAG;IACvB,WAAW;IACX,WAAW;IACX,WAAW;IACX,WAAW;IACX,YAAY;IACZ,gBAAgB;IAChB,YAAY;IACZ,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,gBAAgB;IAChB,cAAc;IACd,cAAc;IACd,WAAW;IACX,WAAW;IACX,YAAY;IACZ,WAAW;IACX,YAAY;IACZ,YAAY;IACZ,WAAW;IACX,eAAe;CAClB,CAAC;AACW,QAAA,gBAAgB,GAAG;IAC5B,KAAK;IACL,aAAa;IACb,OAAO;IACP,SAAS;IACT,MAAM;IACN,SAAS;IACT,MAAM;IACN,YAAY;CACf,CAAC;AAEW,QAAA,2BAA2B,GAAG,CAAC,YAAY,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;AAE3D,QAAA,cAAc,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
syntax = "proto3";
|
|
2
|
-
|
|
3
|
-
package leads;
|
|
4
|
-
|
|
5
|
-
// Definición del mensaje principal para crear un Lead
|
|
6
|
-
message CreateLeadRequest {
|
|
7
|
-
// Representa la foto del lead
|
|
8
|
-
bytes photo = 1;
|
|
9
|
-
|
|
10
|
-
// Especifica el tipo de persona para el lead
|
|
11
|
-
PersonType typePerson = 2;
|
|
12
|
-
|
|
13
|
-
// Nombre del lead
|
|
14
|
-
string name = 3;
|
|
15
|
-
|
|
16
|
-
// Apellido del lead
|
|
17
|
-
string lastName = 4;
|
|
18
|
-
|
|
19
|
-
// Nombre completo del lead
|
|
20
|
-
string fullName = 5;
|
|
21
|
-
|
|
22
|
-
// Segundo nombre del lead
|
|
23
|
-
string secondName = 6;
|
|
24
|
-
|
|
25
|
-
// RFC del lead
|
|
26
|
-
string rfc = 7;
|
|
27
|
-
|
|
28
|
-
// Dirección del lead
|
|
29
|
-
string address = 8;
|
|
30
|
-
|
|
31
|
-
// Cargo del lead
|
|
32
|
-
string cargo = 9;
|
|
33
|
-
|
|
34
|
-
// Fecha de nacimiento del lead
|
|
35
|
-
string birthdate = 10;
|
|
36
|
-
|
|
37
|
-
// Género del lead
|
|
38
|
-
string gender = 11;
|
|
39
|
-
|
|
40
|
-
// CURP del lead
|
|
41
|
-
string curp = 12;
|
|
42
|
-
|
|
43
|
-
// CUA del lead
|
|
44
|
-
string cua = 13;
|
|
45
|
-
|
|
46
|
-
// Puesto del lead
|
|
47
|
-
string post = 14;
|
|
48
|
-
|
|
49
|
-
// Observaciones sobre el lead
|
|
50
|
-
string observations = 15;
|
|
51
|
-
|
|
52
|
-
// ¿El lead es exportado?
|
|
53
|
-
bool export = 16;
|
|
54
|
-
|
|
55
|
-
// Descripción de la fuente del lead
|
|
56
|
-
string sourceDescription = 17;
|
|
57
|
-
|
|
58
|
-
// Compañía del lead
|
|
59
|
-
string company = 18;
|
|
60
|
-
|
|
61
|
-
// ID Tipo de Cliente
|
|
62
|
-
string typeId = 19;
|
|
63
|
-
|
|
64
|
-
// ID Origen del lead
|
|
65
|
-
string sourceId = 20;
|
|
66
|
-
|
|
67
|
-
// Números de teléfono asociados con el lead
|
|
68
|
-
repeated PhoneDto phones = 21;
|
|
69
|
-
|
|
70
|
-
// Emails asociados con el lead
|
|
71
|
-
repeated EmailDto emails = 22;
|
|
72
|
-
|
|
73
|
-
// Códigos de aseguradora asociados con el lead
|
|
74
|
-
repeated CodigoDto codigos = 23;
|
|
75
|
-
|
|
76
|
-
// ID del usuario asignado al lead
|
|
77
|
-
string assignedById = 24;
|
|
78
|
-
|
|
79
|
-
// ID del usuario observador
|
|
80
|
-
string observerId = 25;
|
|
81
|
-
|
|
82
|
-
// Monto de la cotización
|
|
83
|
-
double quoteAmount = 26;
|
|
84
|
-
|
|
85
|
-
// ID de la moneda de la cotización
|
|
86
|
-
string quoteCurrencyId = 27;
|
|
87
|
-
|
|
88
|
-
// IDs de los archivos
|
|
89
|
-
repeated string filesIds = 28;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Definición del enum PersonType
|
|
93
|
-
enum PersonType {
|
|
94
|
-
FISICA = 0;
|
|
95
|
-
MORAL = 1;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Definición de PhoneDto
|
|
99
|
-
message PhoneDto {
|
|
100
|
-
string number = 1;
|
|
101
|
-
string relation = 2;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
// Definición de EmailDto
|
|
105
|
-
message EmailDto {
|
|
106
|
-
string email = 1;
|
|
107
|
-
string relation = 2;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
// Definición de CodigoDto
|
|
111
|
-
message CodigoDto {
|
|
112
|
-
string codigo = 1;
|
|
113
|
-
string insuranceId = 2;
|
|
114
|
-
}
|