@laboratoria/sdk-js 5.2.0-beta.2 → 5.3.0-beta.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +0 -1
- package/dist/laboratoria-sdk-esm.js +1 -1
- package/dist/laboratoria-sdk-umd.js +1 -1
- package/index.js +0 -4
- package/lib/core.js +9 -0
- package/package.json +11 -11
- package/schemas/core.json +500 -0
- package/lib/jobs.js +0 -22
- package/schemas/README.md +0 -5
- package/schemas/jobs.json +0 -500
package/schemas/jobs.json
DELETED
@@ -1,500 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
3
|
-
"definitions": {
|
4
|
-
"Country": {
|
5
|
-
"type": "object",
|
6
|
-
"properties": {
|
7
|
-
"code": {
|
8
|
-
"type": "string"
|
9
|
-
},
|
10
|
-
"name": {
|
11
|
-
"type": "string"
|
12
|
-
},
|
13
|
-
"jobs": {
|
14
|
-
"type": "array",
|
15
|
-
"items": {
|
16
|
-
"$ref": "#/definitions/Job"
|
17
|
-
}
|
18
|
-
},
|
19
|
-
"companies": {
|
20
|
-
"type": "array",
|
21
|
-
"items": {
|
22
|
-
"$ref": "#/definitions/Company"
|
23
|
-
}
|
24
|
-
}
|
25
|
-
}
|
26
|
-
},
|
27
|
-
"Industry": {
|
28
|
-
"type": "object",
|
29
|
-
"properties": {
|
30
|
-
"id": {
|
31
|
-
"type": "integer"
|
32
|
-
},
|
33
|
-
"createdAt": {
|
34
|
-
"type": "string",
|
35
|
-
"format": "date-time"
|
36
|
-
},
|
37
|
-
"updatedAt": {
|
38
|
-
"type": "string",
|
39
|
-
"format": "date-time"
|
40
|
-
},
|
41
|
-
"createdBy": {
|
42
|
-
"type": [
|
43
|
-
"string",
|
44
|
-
"null"
|
45
|
-
]
|
46
|
-
},
|
47
|
-
"name": {
|
48
|
-
"type": "string"
|
49
|
-
},
|
50
|
-
"companies": {
|
51
|
-
"type": "array",
|
52
|
-
"items": {
|
53
|
-
"$ref": "#/definitions/Company"
|
54
|
-
}
|
55
|
-
}
|
56
|
-
}
|
57
|
-
},
|
58
|
-
"Company": {
|
59
|
-
"type": "object",
|
60
|
-
"properties": {
|
61
|
-
"id": {
|
62
|
-
"type": "integer"
|
63
|
-
},
|
64
|
-
"createdAt": {
|
65
|
-
"type": "string",
|
66
|
-
"format": "date-time"
|
67
|
-
},
|
68
|
-
"updatedAt": {
|
69
|
-
"type": "string",
|
70
|
-
"format": "date-time"
|
71
|
-
},
|
72
|
-
"createdBy": {
|
73
|
-
"type": [
|
74
|
-
"string",
|
75
|
-
"null"
|
76
|
-
]
|
77
|
-
},
|
78
|
-
"source": {
|
79
|
-
"type": "string"
|
80
|
-
},
|
81
|
-
"sourceId": {
|
82
|
-
"type": "string"
|
83
|
-
},
|
84
|
-
"name": {
|
85
|
-
"type": "string"
|
86
|
-
},
|
87
|
-
"size": {
|
88
|
-
"type": [
|
89
|
-
"string",
|
90
|
-
"null"
|
91
|
-
],
|
92
|
-
"enum": [
|
93
|
-
"A_2_10",
|
94
|
-
"B_11_50",
|
95
|
-
"C_51_200",
|
96
|
-
"D_201_500",
|
97
|
-
"E_501_1000",
|
98
|
-
"F_1001_5000",
|
99
|
-
"G_5001_10000",
|
100
|
-
"H_10001_plus"
|
101
|
-
]
|
102
|
-
},
|
103
|
-
"data": {
|
104
|
-
"type": [
|
105
|
-
"number",
|
106
|
-
"string",
|
107
|
-
"boolean",
|
108
|
-
"object",
|
109
|
-
"array",
|
110
|
-
"null"
|
111
|
-
]
|
112
|
-
},
|
113
|
-
"web": {
|
114
|
-
"type": [
|
115
|
-
"string",
|
116
|
-
"null"
|
117
|
-
]
|
118
|
-
},
|
119
|
-
"twitter": {
|
120
|
-
"type": [
|
121
|
-
"string",
|
122
|
-
"null"
|
123
|
-
]
|
124
|
-
},
|
125
|
-
"github": {
|
126
|
-
"type": [
|
127
|
-
"string",
|
128
|
-
"null"
|
129
|
-
]
|
130
|
-
},
|
131
|
-
"facebook": {
|
132
|
-
"type": [
|
133
|
-
"string",
|
134
|
-
"null"
|
135
|
-
]
|
136
|
-
},
|
137
|
-
"country": {
|
138
|
-
"anyOf": [
|
139
|
-
{
|
140
|
-
"$ref": "#/definitions/Country"
|
141
|
-
},
|
142
|
-
{
|
143
|
-
"type": "null"
|
144
|
-
}
|
145
|
-
]
|
146
|
-
},
|
147
|
-
"industry": {
|
148
|
-
"anyOf": [
|
149
|
-
{
|
150
|
-
"$ref": "#/definitions/Industry"
|
151
|
-
},
|
152
|
-
{
|
153
|
-
"type": "null"
|
154
|
-
}
|
155
|
-
]
|
156
|
-
},
|
157
|
-
"jobs": {
|
158
|
-
"type": "array",
|
159
|
-
"items": {
|
160
|
-
"$ref": "#/definitions/Job"
|
161
|
-
}
|
162
|
-
},
|
163
|
-
"categories": {
|
164
|
-
"type": "array",
|
165
|
-
"enum": [
|
166
|
-
"Tech_Consultancy",
|
167
|
-
"Digital_Transformation",
|
168
|
-
"Agency",
|
169
|
-
"Startups",
|
170
|
-
"High_tech",
|
171
|
-
"Traditional_Consulting"
|
172
|
-
]
|
173
|
-
}
|
174
|
-
}
|
175
|
-
},
|
176
|
-
"Job": {
|
177
|
-
"type": "object",
|
178
|
-
"properties": {
|
179
|
-
"id": {
|
180
|
-
"type": "integer"
|
181
|
-
},
|
182
|
-
"createdAt": {
|
183
|
-
"type": "string",
|
184
|
-
"format": "date-time"
|
185
|
-
},
|
186
|
-
"updatedAt": {
|
187
|
-
"type": "string",
|
188
|
-
"format": "date-time"
|
189
|
-
},
|
190
|
-
"createdBy": {
|
191
|
-
"type": [
|
192
|
-
"string",
|
193
|
-
"null"
|
194
|
-
]
|
195
|
-
},
|
196
|
-
"source": {
|
197
|
-
"type": "string"
|
198
|
-
},
|
199
|
-
"sourceId": {
|
200
|
-
"type": "string"
|
201
|
-
},
|
202
|
-
"title": {
|
203
|
-
"type": "string"
|
204
|
-
},
|
205
|
-
"publishedAt": {
|
206
|
-
"type": "string",
|
207
|
-
"format": "date-time"
|
208
|
-
},
|
209
|
-
"modality": {
|
210
|
-
"type": "string"
|
211
|
-
},
|
212
|
-
"publicUrl": {
|
213
|
-
"type": [
|
214
|
-
"string",
|
215
|
-
"null"
|
216
|
-
]
|
217
|
-
},
|
218
|
-
"location": {
|
219
|
-
"type": [
|
220
|
-
"string",
|
221
|
-
"null"
|
222
|
-
]
|
223
|
-
},
|
224
|
-
"data": {
|
225
|
-
"type": [
|
226
|
-
"number",
|
227
|
-
"string",
|
228
|
-
"boolean",
|
229
|
-
"object",
|
230
|
-
"array",
|
231
|
-
"null"
|
232
|
-
]
|
233
|
-
},
|
234
|
-
"description": {
|
235
|
-
"type": [
|
236
|
-
"string",
|
237
|
-
"null"
|
238
|
-
]
|
239
|
-
},
|
240
|
-
"descriptionHTML": {
|
241
|
-
"type": [
|
242
|
-
"string",
|
243
|
-
"null"
|
244
|
-
]
|
245
|
-
},
|
246
|
-
"functions": {
|
247
|
-
"type": [
|
248
|
-
"string",
|
249
|
-
"null"
|
250
|
-
]
|
251
|
-
},
|
252
|
-
"functionsHTML": {
|
253
|
-
"type": [
|
254
|
-
"string",
|
255
|
-
"null"
|
256
|
-
]
|
257
|
-
},
|
258
|
-
"seniority": {
|
259
|
-
"type": [
|
260
|
-
"string",
|
261
|
-
"null"
|
262
|
-
]
|
263
|
-
},
|
264
|
-
"remote": {
|
265
|
-
"type": [
|
266
|
-
"boolean",
|
267
|
-
"null"
|
268
|
-
]
|
269
|
-
},
|
270
|
-
"remoteOption": {
|
271
|
-
"type": [
|
272
|
-
"string",
|
273
|
-
"null"
|
274
|
-
],
|
275
|
-
"enum": [
|
276
|
-
"remote_for_now",
|
277
|
-
"locally_remote",
|
278
|
-
"fully_remote",
|
279
|
-
"no_remote",
|
280
|
-
"mixed"
|
281
|
-
]
|
282
|
-
},
|
283
|
-
"lang": {
|
284
|
-
"type": [
|
285
|
-
"string",
|
286
|
-
"null"
|
287
|
-
],
|
288
|
-
"enum": [
|
289
|
-
"en",
|
290
|
-
"es",
|
291
|
-
"pt"
|
292
|
-
]
|
293
|
-
},
|
294
|
-
"maxSalary": {
|
295
|
-
"type": [
|
296
|
-
"integer",
|
297
|
-
"null"
|
298
|
-
]
|
299
|
-
},
|
300
|
-
"minSalary": {
|
301
|
-
"type": [
|
302
|
-
"integer",
|
303
|
-
"null"
|
304
|
-
]
|
305
|
-
},
|
306
|
-
"tags": {
|
307
|
-
"type": "array",
|
308
|
-
"items": {
|
309
|
-
"type": "string"
|
310
|
-
}
|
311
|
-
},
|
312
|
-
"company": {
|
313
|
-
"$ref": "#/definitions/Company"
|
314
|
-
},
|
315
|
-
"country": {
|
316
|
-
"anyOf": [
|
317
|
-
{
|
318
|
-
"$ref": "#/definitions/Country"
|
319
|
-
},
|
320
|
-
{
|
321
|
-
"type": "null"
|
322
|
-
}
|
323
|
-
]
|
324
|
-
},
|
325
|
-
"validityReviews": {
|
326
|
-
"type": "array",
|
327
|
-
"items": {
|
328
|
-
"$ref": "#/definitions/JobValidityReview"
|
329
|
-
}
|
330
|
-
},
|
331
|
-
"applications": {
|
332
|
-
"type": "array",
|
333
|
-
"items": {
|
334
|
-
"$ref": "#/definitions/JobApplication"
|
335
|
-
}
|
336
|
-
}
|
337
|
-
}
|
338
|
-
},
|
339
|
-
"JobValidityReview": {
|
340
|
-
"type": "object",
|
341
|
-
"properties": {
|
342
|
-
"id": {
|
343
|
-
"type": "integer"
|
344
|
-
},
|
345
|
-
"createdAt": {
|
346
|
-
"type": "string",
|
347
|
-
"format": "date-time"
|
348
|
-
},
|
349
|
-
"updatedAt": {
|
350
|
-
"type": "string",
|
351
|
-
"format": "date-time"
|
352
|
-
},
|
353
|
-
"createdBy": {
|
354
|
-
"type": "string"
|
355
|
-
},
|
356
|
-
"isValid": {
|
357
|
-
"type": "boolean"
|
358
|
-
},
|
359
|
-
"profileType": {
|
360
|
-
"type": [
|
361
|
-
"string",
|
362
|
-
"null"
|
363
|
-
],
|
364
|
-
"enum": [
|
365
|
-
"design",
|
366
|
-
"front_end",
|
367
|
-
"angular",
|
368
|
-
"react",
|
369
|
-
"vue",
|
370
|
-
"back_end",
|
371
|
-
"full_stack",
|
372
|
-
"ux",
|
373
|
-
"other"
|
374
|
-
]
|
375
|
-
},
|
376
|
-
"invalidReason": {
|
377
|
-
"type": [
|
378
|
-
"string",
|
379
|
-
"null"
|
380
|
-
],
|
381
|
-
"enum": [
|
382
|
-
"unrelated",
|
383
|
-
"experience",
|
384
|
-
"qualifications",
|
385
|
-
"other"
|
386
|
-
]
|
387
|
-
},
|
388
|
-
"comment": {
|
389
|
-
"type": [
|
390
|
-
"string",
|
391
|
-
"null"
|
392
|
-
]
|
393
|
-
},
|
394
|
-
"job": {
|
395
|
-
"$ref": "#/definitions/Job"
|
396
|
-
}
|
397
|
-
}
|
398
|
-
},
|
399
|
-
"JobApplication": {
|
400
|
-
"type": "object",
|
401
|
-
"properties": {
|
402
|
-
"id": {
|
403
|
-
"type": "integer"
|
404
|
-
},
|
405
|
-
"createdAt": {
|
406
|
-
"type": "string",
|
407
|
-
"format": "date-time"
|
408
|
-
},
|
409
|
-
"updatedAt": {
|
410
|
-
"type": "string",
|
411
|
-
"format": "date-time"
|
412
|
-
},
|
413
|
-
"createdBy": {
|
414
|
-
"type": [
|
415
|
-
"string",
|
416
|
-
"null"
|
417
|
-
]
|
418
|
-
},
|
419
|
-
"uid": {
|
420
|
-
"type": "string"
|
421
|
-
},
|
422
|
-
"status": {
|
423
|
-
"type": "string",
|
424
|
-
"default": "pending",
|
425
|
-
"enum": [
|
426
|
-
"pending",
|
427
|
-
"applied",
|
428
|
-
"interview",
|
429
|
-
"challenge",
|
430
|
-
"followup",
|
431
|
-
"hired",
|
432
|
-
"not_hired"
|
433
|
-
]
|
434
|
-
},
|
435
|
-
"cohortId": {
|
436
|
-
"type": [
|
437
|
-
"integer",
|
438
|
-
"null"
|
439
|
-
]
|
440
|
-
},
|
441
|
-
"hireDate": {
|
442
|
-
"type": [
|
443
|
-
"string",
|
444
|
-
"null"
|
445
|
-
],
|
446
|
-
"format": "date-time"
|
447
|
-
},
|
448
|
-
"jobStartDate": {
|
449
|
-
"type": [
|
450
|
-
"string",
|
451
|
-
"null"
|
452
|
-
],
|
453
|
-
"format": "date-time"
|
454
|
-
},
|
455
|
-
"netSalary": {
|
456
|
-
"type": [
|
457
|
-
"integer",
|
458
|
-
"null"
|
459
|
-
]
|
460
|
-
},
|
461
|
-
"grossSalary": {
|
462
|
-
"type": [
|
463
|
-
"integer",
|
464
|
-
"null"
|
465
|
-
]
|
466
|
-
},
|
467
|
-
"currency": {
|
468
|
-
"type": [
|
469
|
-
"string",
|
470
|
-
"null"
|
471
|
-
]
|
472
|
-
},
|
473
|
-
"job": {
|
474
|
-
"$ref": "#/definitions/Job"
|
475
|
-
}
|
476
|
-
}
|
477
|
-
}
|
478
|
-
},
|
479
|
-
"type": "object",
|
480
|
-
"properties": {
|
481
|
-
"country": {
|
482
|
-
"$ref": "#/definitions/Country"
|
483
|
-
},
|
484
|
-
"industry": {
|
485
|
-
"$ref": "#/definitions/Industry"
|
486
|
-
},
|
487
|
-
"company": {
|
488
|
-
"$ref": "#/definitions/Company"
|
489
|
-
},
|
490
|
-
"job": {
|
491
|
-
"$ref": "#/definitions/Job"
|
492
|
-
},
|
493
|
-
"jobValidityReview": {
|
494
|
-
"$ref": "#/definitions/JobValidityReview"
|
495
|
-
},
|
496
|
-
"jobApplication": {
|
497
|
-
"$ref": "#/definitions/JobApplication"
|
498
|
-
}
|
499
|
-
}
|
500
|
-
}
|