@randstad-uca/aws-sns-publisher 1.2.8 → 1.2.10

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.
@@ -12,18 +12,20 @@ export declare const validEventTypes: {
12
12
  addEducation: string;
13
13
  updateEducation: string;
14
14
  deleteEducation: string;
15
+ setEducationTags: string;
15
16
  updateCertifications: string;
16
17
  addWorkExperience: string;
17
18
  updateWorkExperience: string;
18
19
  deleteWorkExperience: string;
20
+ setWorkExperienceTags: string;
19
21
  addJobApplication: string;
20
22
  updateJobApplication: string;
21
23
  deleteJobApplication: string;
22
24
  addLanguage: string;
23
25
  updateLanguage: string;
24
26
  deleteLanguage: string;
27
+ setLanguageTags: string;
25
28
  setCvAdjunto: string;
26
- setCvAdjuntoUpdatedDate: string;
27
29
  setCvBuilderUpdatedDate: string;
28
30
  setCvBuilderDownloadUpdatedDate: string;
29
31
  setAlert: string;
@@ -15,18 +15,20 @@ exports.validEventTypes = {
15
15
  addEducation: 'add-education',
16
16
  updateEducation: 'update-education',
17
17
  deleteEducation: 'delete-education',
18
+ setEducationTags: 'set-education-tags',
18
19
  updateCertifications: 'update-certifications',
19
20
  addWorkExperience: 'add-work-experience',
20
21
  updateWorkExperience: 'update-work-experience',
21
22
  deleteWorkExperience: 'delete-work-experience',
23
+ setWorkExperienceTags: 'set-work-experience-tags',
22
24
  addJobApplication: 'add-job-application',
23
25
  updateJobApplication: 'update-job-application',
24
26
  deleteJobApplication: 'delete-job-application',
25
27
  addLanguage: 'add-language',
26
28
  updateLanguage: 'update-language',
27
29
  deleteLanguage: 'delete-language',
30
+ setLanguageTags: 'set-language-tags',
28
31
  setCvAdjunto: 'set-cv-adjunto',
29
- setCvAdjuntoUpdatedDate: 'set-cv-adjunto-updated-date',
30
32
  setCvBuilderUpdatedDate: 'set-cv-builder-updated-date',
31
33
  setCvBuilderDownloadUpdatedDate: 'set-cv-builder-download-updated-date',
32
34
  setAlert: 'set-alert',
@@ -18,7 +18,7 @@ const alert_schema_1 = require("./schemas/alert.schema");
18
18
  const update_documents_status_schema_1 = require("./schemas/update-documents-status.schema");
19
19
  const email_schema_1 = require("./schemas/email.schema");
20
20
  const push_schema_1 = require("./schemas/push.schema");
21
- const cv_schema_1 = require("./schemas/cv.schema");
21
+ const cv_adjunto_schema_1 = require("./schemas/cv-adjunto.schema");
22
22
  const user_identity_schema_1 = require("./schemas/user-identity.schema");
23
23
  const one_signal_schema_1 = require("./schemas/one-signal.schema");
24
24
  const certifications_schema_1 = require("./schemas/certifications.schema");
@@ -45,6 +45,10 @@ const schemas = {
45
45
  schema: education_schema_1.DeleteEducationSchema,
46
46
  label: 'Delete Education',
47
47
  },
48
+ [constants_1.validEventTypes.setEducationTags]: {
49
+ schema: education_schema_1.SetEducationTagsSchema,
50
+ label: 'Set Education Tags',
51
+ },
48
52
  [constants_1.validEventTypes.addWorkExperience]: {
49
53
  schema: work_experience_schema_1.AddWorkExperienceSchema,
50
54
  label: 'Add Work Experience',
@@ -57,6 +61,10 @@ const schemas = {
57
61
  schema: work_experience_schema_1.DeleteWorkExperienceSchema,
58
62
  label: 'Delete Work Experience',
59
63
  },
64
+ [constants_1.validEventTypes.setWorkExperienceTags]: {
65
+ schema: work_experience_schema_1.SetWorkExperienceTagsSchema,
66
+ label: 'Set Work Experience Tags',
67
+ },
60
68
  [constants_1.validEventTypes.addJobApplication]: {
61
69
  schema: job_application_schema_1.AddJobApplicationSchema,
62
70
  label: 'Add Job Application',
@@ -81,14 +89,14 @@ const schemas = {
81
89
  schema: language_schema_1.DeleteLanguageSchema,
82
90
  label: 'Delete Language',
83
91
  },
92
+ [constants_1.validEventTypes.setLanguageTags]: {
93
+ schema: language_schema_1.SetLanguageTagsSchema,
94
+ label: 'Set Language Tags',
95
+ },
84
96
  [constants_1.validEventTypes.setCvAdjunto]: {
85
- schema: cv_schema_1.SetCvSchema,
97
+ schema: cv_adjunto_schema_1.SetCvAdjuntoSchema,
86
98
  label: 'Set CV Adjunto',
87
99
  },
88
- [constants_1.validEventTypes.setCvAdjuntoUpdatedDate]: {
89
- schema: update_event_date_schema_1.SetUpdatedDateSchema,
90
- label: 'Set CV Adjunto Updated Date',
91
- },
92
100
  [constants_1.validEventTypes.setCvBuilderUpdatedDate]: {
93
101
  schema: update_event_date_schema_1.SetUpdatedDateSchema,
94
102
  label: 'Set CV Builder Updated Date',
@@ -0,0 +1,2 @@
1
+ import Joi from 'joi';
2
+ export declare const SetCvAdjuntoSchema: Joi.ObjectSchema<any>;
@@ -3,12 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.SetCvSchema = void 0;
6
+ exports.SetCvAdjuntoSchema = void 0;
7
7
  const joi_1 = __importDefault(require("joi"));
8
- exports.SetCvSchema = joi_1.default.object({
8
+ exports.SetCvAdjuntoSchema = joi_1.default.object({
9
9
  userId: joi_1.default.string().uuid().required(),
10
10
  cvAdjunto: joi_1.default.string().valid('si', 'no').required(),
11
11
  fechaActualizacionPerfil: joi_1.default.date().timestamp('javascript').required(),
12
+ fechaActualizacionCVAdjunto: joi_1.default.date().timestamp('javascript').optional(),
12
13
  })
13
14
  .unknown(false)
14
- .meta({ className: 'SetCvType' });
15
+ .meta({ className: 'SetCvAdjuntoType' });
@@ -2,3 +2,4 @@ import Joi from 'joi';
2
2
  export declare const AddEducationSchema: Joi.ObjectSchema<any>;
3
3
  export declare const UpdateEducationSchema: Joi.ObjectSchema<any>;
4
4
  export declare const DeleteEducationSchema: Joi.ObjectSchema<any>;
5
+ export declare const SetEducationTagsSchema: Joi.ObjectSchema<any>;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DeleteEducationSchema = exports.UpdateEducationSchema = exports.AddEducationSchema = void 0;
6
+ exports.SetEducationTagsSchema = exports.DeleteEducationSchema = exports.UpdateEducationSchema = exports.AddEducationSchema = void 0;
7
7
  const joi_1 = __importDefault(require("joi"));
8
8
  const userId = joi_1.default.string().uuid().required();
9
9
  const nivel = joi_1.default.string()
@@ -37,3 +37,10 @@ exports.UpdateEducationSchema = joi_1.default.object({
37
37
  exports.DeleteEducationSchema = joi_1.default.object(baseFields)
38
38
  .unknown(false)
39
39
  .meta({ className: 'DeleteEducationType' });
40
+ exports.SetEducationTagsSchema = joi_1.default.object({
41
+ userId,
42
+ fechaActualizacionPerfil,
43
+ educaciones: joi_1.default.array().items(joi_1.default.object({ nivel, area, estado })),
44
+ })
45
+ .unknown(false)
46
+ .meta({ className: 'SetEducationTagsType' });
@@ -1,7 +1,7 @@
1
1
  export * from './alert.schema';
2
2
  export * from './certifications.schema';
3
3
  export * from './custom-events.schema';
4
- export * from './update-documents-status.schema';
4
+ export * from './cv-adjunto.schema';
5
5
  export * from './education.schema';
6
6
  export * from './email.schema';
7
7
  export * from './job-application.schema';
@@ -12,4 +12,5 @@ export * from './push.schema';
12
12
  export * from './sms.schema';
13
13
  export * from './update-documents-status.schema';
14
14
  export * from './update-event-date.schema';
15
+ export * from './user-identity.schema';
15
16
  export * from './work-experience.schema';
@@ -17,7 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./alert.schema"), exports);
18
18
  __exportStar(require("./certifications.schema"), exports);
19
19
  __exportStar(require("./custom-events.schema"), exports);
20
- __exportStar(require("./update-documents-status.schema"), exports);
20
+ __exportStar(require("./cv-adjunto.schema"), exports);
21
21
  __exportStar(require("./education.schema"), exports);
22
22
  __exportStar(require("./email.schema"), exports);
23
23
  __exportStar(require("./job-application.schema"), exports);
@@ -28,4 +28,5 @@ __exportStar(require("./push.schema"), exports);
28
28
  __exportStar(require("./sms.schema"), exports);
29
29
  __exportStar(require("./update-documents-status.schema"), exports);
30
30
  __exportStar(require("./update-event-date.schema"), exports);
31
+ __exportStar(require("./user-identity.schema"), exports);
31
32
  __exportStar(require("./work-experience.schema"), exports);
@@ -2,3 +2,4 @@ import Joi from 'joi';
2
2
  export declare const AddLanguageSchema: Joi.ObjectSchema<any>;
3
3
  export declare const UpdateLanguageSchema: Joi.ObjectSchema<any>;
4
4
  export declare const DeleteLanguageSchema: Joi.ObjectSchema<any>;
5
+ export declare const SetLanguageTagsSchema: Joi.ObjectSchema<any>;
@@ -3,23 +3,34 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DeleteLanguageSchema = exports.UpdateLanguageSchema = exports.AddLanguageSchema = void 0;
6
+ exports.SetLanguageTagsSchema = exports.DeleteLanguageSchema = exports.UpdateLanguageSchema = exports.AddLanguageSchema = void 0;
7
7
  const joi_1 = __importDefault(require("joi"));
8
+ const userId = joi_1.default.string().uuid().required();
9
+ const nivelMaximo = joi_1.default.number().integer().min(1).optional();
10
+ const idioma = joi_1.default.string().min(1).max(50).required();
11
+ const fechaActualizacionPerfil = joi_1.default.date().timestamp('javascript').required();
8
12
  const baseFields = {
9
- userId: joi_1.default.string().uuid().required(),
10
- nivelMaximo: joi_1.default.number().integer().min(1).required(),
11
- idioma: joi_1.default.string().min(1).max(50).required(),
12
- fechaActualizacionPerfil: joi_1.default.date().timestamp('javascript').required(),
13
+ userId,
14
+ nivelMaximo,
15
+ idioma,
16
+ fechaActualizacionPerfil,
13
17
  };
14
18
  exports.AddLanguageSchema = joi_1.default.object(baseFields)
15
19
  .unknown(false)
16
20
  .meta({ className: 'AddLanguageType' });
17
21
  exports.UpdateLanguageSchema = joi_1.default.object({
18
22
  ...baseFields,
19
- prevIdioma: baseFields.idioma,
23
+ prevIdioma: idioma,
20
24
  })
21
25
  .unknown(false)
22
26
  .meta({ className: 'UpdateLanguageType' });
23
27
  exports.DeleteLanguageSchema = joi_1.default.object(baseFields)
24
28
  .unknown(false)
25
29
  .meta({ className: 'DeleteLanguageType' });
30
+ exports.SetLanguageTagsSchema = joi_1.default.object({
31
+ userId,
32
+ fechaActualizacionPerfil,
33
+ idiomas: joi_1.default.array().items(joi_1.default.object({ idioma })),
34
+ })
35
+ .unknown(false)
36
+ .meta({ className: 'SetLanguageTagsType' });
@@ -7,7 +7,7 @@ exports.AddUserIdentitySchema = void 0;
7
7
  const joi_1 = __importDefault(require("joi"));
8
8
  const personal_data_schema_1 = require("./personal-data.schema");
9
9
  const alert_schema_1 = require("./alert.schema");
10
- const cv_schema_1 = require("./cv.schema");
10
+ const cv_adjunto_schema_1 = require("./cv-adjunto.schema");
11
11
  const education_schema_1 = require("./education.schema");
12
12
  const job_application_schema_1 = require("./job-application.schema");
13
13
  const language_schema_1 = require("./language.schema");
@@ -40,7 +40,7 @@ const modifiedWorkExperiencesSchema = work_experience_schema_1.AddWorkExperience
40
40
  });
41
41
  exports.AddUserIdentitySchema = personal_data_schema_1.UpdatePersonalDataSchema
42
42
  .concat(alert_schema_1.SetAlertSchema)
43
- .concat(cv_schema_1.SetCvSchema)
43
+ .concat(cv_adjunto_schema_1.SetCvAdjuntoSchema)
44
44
  .concat(certifications_schema_1.UpdateCertificationsSchema)
45
45
  .concat(CustomSchema)
46
46
  .keys({
@@ -2,3 +2,4 @@ import Joi from 'joi';
2
2
  export declare const AddWorkExperienceSchema: Joi.ObjectSchema<any>;
3
3
  export declare const UpdateWorkExperienceSchema: Joi.ObjectSchema<any>;
4
4
  export declare const DeleteWorkExperienceSchema: Joi.ObjectSchema<any>;
5
+ export declare const SetWorkExperienceTagsSchema: Joi.ObjectSchema<any>;
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.DeleteWorkExperienceSchema = exports.UpdateWorkExperienceSchema = exports.AddWorkExperienceSchema = void 0;
6
+ exports.SetWorkExperienceTagsSchema = exports.DeleteWorkExperienceSchema = exports.UpdateWorkExperienceSchema = exports.AddWorkExperienceSchema = void 0;
7
7
  const joi_1 = __importDefault(require("joi"));
8
8
  const userId = joi_1.default.string().uuid().required();
9
9
  const puesto = joi_1.default.string().min(1).max(45).required();
@@ -33,3 +33,10 @@ exports.UpdateWorkExperienceSchema = joi_1.default.object({
33
33
  exports.DeleteWorkExperienceSchema = joi_1.default.object(baseFields)
34
34
  .unknown(false)
35
35
  .meta({ className: 'DeleteWorkExperienceType' });
36
+ exports.SetWorkExperienceTagsSchema = joi_1.default.object({
37
+ userId,
38
+ fechaActualizacionPerfil,
39
+ experienciasLaborales: joi_1.default.array().items(joi_1.default.object({ puesto, area, rubro })),
40
+ })
41
+ .unknown(false)
42
+ .meta({ className: 'SetWorkExperienceTagsType' });
@@ -2,8 +2,9 @@
2
2
  * This file was automatically generated by joi-to-typescript
3
3
  * Do not modify this file manually
4
4
  */
5
- export interface SetCvType {
5
+ export interface SetCvAdjuntoType {
6
6
  cvAdjunto: 'si' | 'no';
7
+ fechaActualizacionCVAdjunto?: Date;
7
8
  fechaActualizacionPerfil: Date;
8
9
  userId: string;
9
10
  }
@@ -18,6 +18,15 @@ export interface DeleteEducationType {
18
18
  nivelMaximo: number;
19
19
  userId: string;
20
20
  }
21
+ export interface SetEducationTagsType {
22
+ educaciones?: ({
23
+ area?: string;
24
+ estado: 'completo' | 'incompleto' | 'en curso';
25
+ nivel: 'primario' | 'secundario' | 'terciario' | 'universitario' | 'posgrado' | 'master' | 'doctorado';
26
+ })[];
27
+ fechaActualizacionPerfil: Date;
28
+ userId: string;
29
+ }
21
30
  export interface UpdateEducationType {
22
31
  area?: string;
23
32
  estado: 'completo' | 'incompleto' | 'en curso';
@@ -5,7 +5,7 @@
5
5
  export * from './alert.type';
6
6
  export * from './certifications.type';
7
7
  export * from './custom-events.type';
8
- export * from './cv.type';
8
+ export * from './cv-adjunto.type';
9
9
  export * from './education.type';
10
10
  export * from './email.type';
11
11
  export * from './index';
@@ -21,7 +21,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
21
21
  __exportStar(require("./alert.type"), exports);
22
22
  __exportStar(require("./certifications.type"), exports);
23
23
  __exportStar(require("./custom-events.type"), exports);
24
- __exportStar(require("./cv.type"), exports);
24
+ __exportStar(require("./cv-adjunto.type"), exports);
25
25
  __exportStar(require("./education.type"), exports);
26
26
  __exportStar(require("./email.type"), exports);
27
27
  __exportStar(require("./index"), exports);
@@ -5,19 +5,26 @@
5
5
  export interface AddLanguageType {
6
6
  fechaActualizacionPerfil: Date;
7
7
  idioma: string;
8
- nivelMaximo: number;
8
+ nivelMaximo?: number;
9
9
  userId: string;
10
10
  }
11
11
  export interface DeleteLanguageType {
12
12
  fechaActualizacionPerfil: Date;
13
13
  idioma: string;
14
- nivelMaximo: number;
14
+ nivelMaximo?: number;
15
+ userId: string;
16
+ }
17
+ export interface SetLanguageTagsType {
18
+ fechaActualizacionPerfil: Date;
19
+ idiomas?: {
20
+ idioma: string;
21
+ }[];
15
22
  userId: string;
16
23
  }
17
24
  export interface UpdateLanguageType {
18
25
  fechaActualizacionPerfil: Date;
19
26
  idioma: string;
20
- nivelMaximo: number;
27
+ nivelMaximo?: number;
21
28
  prevIdioma: string;
22
29
  userId: string;
23
30
  }
@@ -9,6 +9,7 @@ export interface AddUserIdentityType {
9
9
  cvAdjunto: 'si' | 'no';
10
10
  educations: AddEducationType[];
11
11
  email?: string;
12
+ fechaActualizacionCVAdjunto?: Date;
12
13
  fechaActualizacionPerfil?: Date;
13
14
  fechaNacimiento?: Date;
14
15
  genero?: 'M' | 'F' | 'N';
@@ -18,6 +18,15 @@ export interface DeleteWorkExperienceType {
18
18
  rubro: string;
19
19
  userId: string;
20
20
  }
21
+ export interface SetWorkExperienceTagsType {
22
+ experienciasLaborales?: {
23
+ area: string;
24
+ puesto: string;
25
+ rubro: string;
26
+ }[];
27
+ fechaActualizacionPerfil: Date;
28
+ userId: string;
29
+ }
21
30
  export interface UpdateWorkExperienceType {
22
31
  area: string;
23
32
  fechaActualizacionPerfil: Date;
@@ -13,7 +13,7 @@ const update_event_date_schema_1 = require("./schemas/update-event-date.schema")
13
13
  const alert_schema_1 = require("./schemas/alert.schema");
14
14
  const email_schema_1 = require("./schemas/email.schema");
15
15
  const push_schema_1 = require("./schemas/push.schema");
16
- const cv_schema_1 = require("./schemas/cv.schema");
16
+ const cv_adjunto_schema_1 = require("./schemas/cv-adjunto.schema");
17
17
  const update_documents_status_schema_1 = require("./schemas/update-documents-status.schema");
18
18
  const user_identity_schema_1 = require("./schemas/user-identity.schema");
19
19
  const one_signal_schema_1 = require("./schemas/one-signal.schema");
@@ -39,6 +39,9 @@ const validateSchema = (eventType, data) => {
39
39
  case constants_1.validEventTypes.deleteEducation:
40
40
  schema = education_schema_1.DeleteEducationSchema;
41
41
  break;
42
+ case constants_1.validEventTypes.setEducationTags:
43
+ schema = education_schema_1.SetEducationTagsSchema;
44
+ break;
42
45
  case constants_1.validEventTypes.updateCertifications:
43
46
  schema = certifications_schema_1.UpdateCertificationsSchema;
44
47
  break;
@@ -51,6 +54,9 @@ const validateSchema = (eventType, data) => {
51
54
  case constants_1.validEventTypes.deleteWorkExperience:
52
55
  schema = work_experience_schema_1.DeleteWorkExperienceSchema;
53
56
  break;
57
+ case constants_1.validEventTypes.setWorkExperienceTags:
58
+ schema = work_experience_schema_1.SetWorkExperienceTagsSchema;
59
+ break;
54
60
  case constants_1.validEventTypes.addJobApplication:
55
61
  schema = job_application_schema_1.AddJobApplicationSchema;
56
62
  break;
@@ -69,10 +75,12 @@ const validateSchema = (eventType, data) => {
69
75
  case constants_1.validEventTypes.deleteLanguage:
70
76
  schema = language_schema_1.DeleteLanguageSchema;
71
77
  break;
78
+ case constants_1.validEventTypes.setLanguageTags:
79
+ schema = language_schema_1.SetLanguageTagsSchema;
80
+ break;
72
81
  case constants_1.validEventTypes.setCvAdjunto:
73
- schema = cv_schema_1.SetCvSchema;
82
+ schema = cv_adjunto_schema_1.SetCvAdjuntoSchema;
74
83
  break;
75
- case constants_1.validEventTypes.setCvAdjuntoUpdatedDate:
76
84
  case constants_1.validEventTypes.setCvBuilderUpdatedDate:
77
85
  case constants_1.validEventTypes.setCvBuilderDownloadUpdatedDate:
78
86
  schema = update_event_date_schema_1.SetUpdatedDateSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@randstad-uca/aws-sns-publisher",
3
- "version": "1.2.8",
3
+ "version": "1.2.10",
4
4
  "description": "AWS SNS Publisher",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
package/schema-doc.md CHANGED
@@ -87,6 +87,17 @@ This file describes the required and optional fields for each `eventType`.
87
87
 
88
88
  ---
89
89
 
90
+ ## Event: `set-education-tags` (Set Education Tags)
91
+
92
+ **Required fields:**
93
+ - `userId` (string)
94
+ - `fechaActualizacionPerfil` (date)
95
+
96
+ **Optional fields:**
97
+ - `educaciones` (array)
98
+
99
+ ---
100
+
90
101
  ## Event: `add-work-experience` (Add Work Experience)
91
102
 
92
103
  **Required fields:**
@@ -135,6 +146,17 @@ This file describes the required and optional fields for each `eventType`.
135
146
 
136
147
  ---
137
148
 
149
+ ## Event: `set-work-experience-tags` (Set Work Experience Tags)
150
+
151
+ **Required fields:**
152
+ - `userId` (string)
153
+ - `fechaActualizacionPerfil` (date)
154
+
155
+ **Optional fields:**
156
+ - `experienciasLaborales` (array)
157
+
158
+ ---
159
+
138
160
  ## Event: `add-job-application` (Add Job Application)
139
161
 
140
162
  **Required fields:**
@@ -192,12 +214,11 @@ This file describes the required and optional fields for each `eventType`.
192
214
 
193
215
  **Required fields:**
194
216
  - `userId` (string)
195
- - `nivelMaximo` (number)
196
217
  - `idioma` (string)
197
218
  - `fechaActualizacionPerfil` (date)
198
219
 
199
220
  **Optional fields:**
200
- - *(none)*
221
+ - `nivelMaximo` (number)
201
222
 
202
223
  ---
203
224
 
@@ -205,13 +226,12 @@ This file describes the required and optional fields for each `eventType`.
205
226
 
206
227
  **Required fields:**
207
228
  - `userId` (string)
208
- - `nivelMaximo` (number)
209
229
  - `idioma` (string)
210
230
  - `fechaActualizacionPerfil` (date)
211
231
  - `prevIdioma` (string)
212
232
 
213
233
  **Optional fields:**
214
- - *(none)*
234
+ - `nivelMaximo` (number)
215
235
 
216
236
  ---
217
237
 
@@ -219,35 +239,34 @@ This file describes the required and optional fields for each `eventType`.
219
239
 
220
240
  **Required fields:**
221
241
  - `userId` (string)
222
- - `nivelMaximo` (number)
223
242
  - `idioma` (string)
224
243
  - `fechaActualizacionPerfil` (date)
225
244
 
226
245
  **Optional fields:**
227
- - *(none)*
246
+ - `nivelMaximo` (number)
228
247
 
229
248
  ---
230
249
 
231
- ## Event: `set-cv-adjunto` (Set CV Adjunto)
250
+ ## Event: `set-language-tags` (Set Language Tags)
232
251
 
233
252
  **Required fields:**
234
253
  - `userId` (string)
235
- - `cvAdjunto` (string) (valid: 'si', 'no')
236
254
  - `fechaActualizacionPerfil` (date)
237
255
 
238
256
  **Optional fields:**
239
- - *(none)*
257
+ - `idiomas` (array)
240
258
 
241
259
  ---
242
260
 
243
- ## Event: `set-cv-adjunto-updated-date` (Set CV Adjunto Updated Date)
261
+ ## Event: `set-cv-adjunto` (Set CV Adjunto)
244
262
 
245
263
  **Required fields:**
246
264
  - `userId` (string)
247
- - `fechaActualizacion` (date)
265
+ - `cvAdjunto` (string) (valid: 'si', 'no')
266
+ - `fechaActualizacionPerfil` (date)
248
267
 
249
268
  **Optional fields:**
250
- - *(none)*
269
+ - `fechaActualizacionCVAdjunto` (date)
251
270
 
252
271
  ---
253
272
 
@@ -350,6 +369,7 @@ This file describes the required and optional fields for each `eventType`.
350
369
  - `telefono` (string)
351
370
  - `subscriptions` (object)
352
371
  - `fechaActualizacionPerfil` (date)
372
+ - `fechaActualizacionCVAdjunto` (date)
353
373
 
354
374
  ---
355
375
 
@@ -1,2 +0,0 @@
1
- import Joi from 'joi';
2
- export declare const SetCvSchema: Joi.ObjectSchema<any>;
File without changes