@smartytalent/openai-tools 0.9.51 → 0.9.53
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/tools.json +190 -2
- package/package.json +1 -1
package/dist/tools.json
CHANGED
|
@@ -5032,6 +5032,39 @@
|
|
|
5032
5032
|
}
|
|
5033
5033
|
}
|
|
5034
5034
|
},
|
|
5035
|
+
"employmentType": {
|
|
5036
|
+
"title": "JobAttributesEmploymentTypeSchema",
|
|
5037
|
+
"type": "object",
|
|
5038
|
+
"additionalProperties": {
|
|
5039
|
+
"type": "string",
|
|
5040
|
+
"maxLength": 255
|
|
5041
|
+
},
|
|
5042
|
+
"description": "Stage 3 (2026-10-06): the contract and the working time as the hiring manager stated them in the accepted brief (brief.employmentType), language-keyed: en-US and the job's language when the brief holds it in that language. Written by the job build (copied, never inferred); absent on a job not built from a brief. A PATCH writes a language-keyed object of strings (at most 255 characters each); null clears it."
|
|
5043
|
+
},
|
|
5044
|
+
"workModel": {
|
|
5045
|
+
"title": "JobAttributesWorkModelSchema",
|
|
5046
|
+
"type": "object",
|
|
5047
|
+
"additionalProperties": {
|
|
5048
|
+
"type": "string",
|
|
5049
|
+
"maxLength": 500
|
|
5050
|
+
},
|
|
5051
|
+
"description": "Stage 3 (2026-10-06): the work mode and the schedule as the hiring manager stated them (brief.intakeContext.workModel: on-site / hybrid with its office days / remote, the shifts, the hours), language-keyed like employmentType. Written by the job build (copied); PATCH-able (strings of at most 500 characters); null clears it."
|
|
5052
|
+
},
|
|
5053
|
+
"startDate": {
|
|
5054
|
+
"title": "JobAttributesStartDateSchema",
|
|
5055
|
+
"type": "object",
|
|
5056
|
+
"additionalProperties": {
|
|
5057
|
+
"type": "string",
|
|
5058
|
+
"maxLength": 255
|
|
5059
|
+
},
|
|
5060
|
+
"description": "Stage 3 (2026-10-06): the hiring manager's own words about the start (brief.intakeContext.startDate, e.g. 'Immediately', 'From November 1', 'Notice period up to 3 months is fine'), language-keyed; NEVER a computed date. The availability criterion carries an ISO date only when the manager named one, and never as a hard requirement unless his brief made it a condition. Written by the job build (copied); PATCH-able; null clears it."
|
|
5061
|
+
},
|
|
5062
|
+
"headcount": {
|
|
5063
|
+
"type": "integer",
|
|
5064
|
+
"minimum": 1,
|
|
5065
|
+
"maximum": 1000,
|
|
5066
|
+
"description": "Stage 3 (2026-10-06): how many people the job hires (brief.intakeContext.headcount). Written by the job build (copied); PATCH-able (an integer from 1 to 1000); null clears it."
|
|
5067
|
+
},
|
|
5035
5068
|
"languageCode": {
|
|
5036
5069
|
"type": "string",
|
|
5037
5070
|
"description": "Primary language code for the job posting (e.g. en-US, pl-PL)"
|
|
@@ -5961,6 +5994,39 @@
|
|
|
5961
5994
|
}
|
|
5962
5995
|
}
|
|
5963
5996
|
},
|
|
5997
|
+
"employmentType": {
|
|
5998
|
+
"title": "JobAttributesEmploymentTypeSchema",
|
|
5999
|
+
"type": "object",
|
|
6000
|
+
"additionalProperties": {
|
|
6001
|
+
"type": "string",
|
|
6002
|
+
"maxLength": 255
|
|
6003
|
+
},
|
|
6004
|
+
"description": "Stage 3 (2026-10-06): the contract and the working time as the hiring manager stated them in the accepted brief (brief.employmentType), language-keyed: en-US and the job's language when the brief holds it in that language. Written by the job build (copied, never inferred); absent on a job not built from a brief. A PATCH writes a language-keyed object of strings (at most 255 characters each); null clears it."
|
|
6005
|
+
},
|
|
6006
|
+
"workModel": {
|
|
6007
|
+
"title": "JobAttributesWorkModelSchema",
|
|
6008
|
+
"type": "object",
|
|
6009
|
+
"additionalProperties": {
|
|
6010
|
+
"type": "string",
|
|
6011
|
+
"maxLength": 500
|
|
6012
|
+
},
|
|
6013
|
+
"description": "Stage 3 (2026-10-06): the work mode and the schedule as the hiring manager stated them (brief.intakeContext.workModel: on-site / hybrid with its office days / remote, the shifts, the hours), language-keyed like employmentType. Written by the job build (copied); PATCH-able (strings of at most 500 characters); null clears it."
|
|
6014
|
+
},
|
|
6015
|
+
"startDate": {
|
|
6016
|
+
"title": "JobAttributesStartDateSchema",
|
|
6017
|
+
"type": "object",
|
|
6018
|
+
"additionalProperties": {
|
|
6019
|
+
"type": "string",
|
|
6020
|
+
"maxLength": 255
|
|
6021
|
+
},
|
|
6022
|
+
"description": "Stage 3 (2026-10-06): the hiring manager's own words about the start (brief.intakeContext.startDate, e.g. 'Immediately', 'From November 1', 'Notice period up to 3 months is fine'), language-keyed; NEVER a computed date. The availability criterion carries an ISO date only when the manager named one, and never as a hard requirement unless his brief made it a condition. Written by the job build (copied); PATCH-able; null clears it."
|
|
6023
|
+
},
|
|
6024
|
+
"headcount": {
|
|
6025
|
+
"type": "integer",
|
|
6026
|
+
"minimum": 1,
|
|
6027
|
+
"maximum": 1000,
|
|
6028
|
+
"description": "Stage 3 (2026-10-06): how many people the job hires (brief.intakeContext.headcount). Written by the job build (copied); PATCH-able (an integer from 1 to 1000); null clears it."
|
|
6029
|
+
},
|
|
5964
6030
|
"languageCode": {
|
|
5965
6031
|
"type": "string",
|
|
5966
6032
|
"description": "Primary language code for the job posting (e.g. en-US, pl-PL)"
|
|
@@ -12175,6 +12241,112 @@
|
|
|
12175
12241
|
}
|
|
12176
12242
|
}
|
|
12177
12243
|
}
|
|
12244
|
+
},
|
|
12245
|
+
"privacy": {
|
|
12246
|
+
"title": "CareersPrivacySchema",
|
|
12247
|
+
"type": "object",
|
|
12248
|
+
"description": "The tenant's privacy notice for applicants (GDPR art. 13, AI-assisted\nassessment) and the two consent texts of the apply form. A new row\ncarries the default template (lawyer-reviewed PL / EN, other\nlanguages through `translate`); the owner completes `fields` and\npublishes. Texts may hold the placeholders {employerName}\n{address} {contactEmail} {dpoContact} {botName} {recruitmentMonths}\n{futureMonths} ({botName} = the virtual employee's name at\npublish) and conditional segments `[[...]]`, kept without the\nbrackets when every placeholder inside is non-empty and removed\notherwise. Publish rules: every field rule below; every locale of\nthe tenant present in every text; the seven notice sections\ncontroller, purpose, ai, recipients, retention, rights, voluntary\npresent (more may be added, order is free, at most 12); no unknown\nplaceholder, no unbalanced or nested `[[`; no < or > in any text;\nthe byte limit of a content copy.",
|
|
12249
|
+
"properties": {
|
|
12250
|
+
"fields": {
|
|
12251
|
+
"title": "CareersPrivacyFieldsSchema",
|
|
12252
|
+
"type": "object",
|
|
12253
|
+
"properties": {
|
|
12254
|
+
"employerName": {
|
|
12255
|
+
"type": "string",
|
|
12256
|
+
"maxLength": 200,
|
|
12257
|
+
"description": "The controller: the employer's legal name. Required to publish (1-200)."
|
|
12258
|
+
},
|
|
12259
|
+
"address": {
|
|
12260
|
+
"type": "string",
|
|
12261
|
+
"maxLength": 300,
|
|
12262
|
+
"description": "The controller's address. Required to publish (1-300)."
|
|
12263
|
+
},
|
|
12264
|
+
"contactEmail": {
|
|
12265
|
+
"type": "string",
|
|
12266
|
+
"maxLength": 254,
|
|
12267
|
+
"description": "Contact on personal data matters (also where a candidate contests an AI-assisted assessment). Required to publish; an e-mail address."
|
|
12268
|
+
},
|
|
12269
|
+
"dpoContact": {
|
|
12270
|
+
"type": "string",
|
|
12271
|
+
"maxLength": 254,
|
|
12272
|
+
"description": "Data Protection Officer contact, optional; empty removes the conditional segment that names it."
|
|
12273
|
+
},
|
|
12274
|
+
"recruitmentMonths": {
|
|
12275
|
+
"type": "integer",
|
|
12276
|
+
"minimum": 1,
|
|
12277
|
+
"maximum": 60,
|
|
12278
|
+
"description": "Retention of this recruitment's data, in months. Required to publish."
|
|
12279
|
+
},
|
|
12280
|
+
"futureMonths": {
|
|
12281
|
+
"type": "integer",
|
|
12282
|
+
"minimum": 1,
|
|
12283
|
+
"maximum": 60,
|
|
12284
|
+
"description": "Retention under the future-recruitment consent, in months. Required to publish when futureConsent is true."
|
|
12285
|
+
},
|
|
12286
|
+
"futureConsent": {
|
|
12287
|
+
"type": "boolean",
|
|
12288
|
+
"description": "Whether the form offers the optional consent to future recruitments (the talent pool). Default true; false publishes consentFuture as null and the talent-pool CTA disappears."
|
|
12289
|
+
}
|
|
12290
|
+
}
|
|
12291
|
+
},
|
|
12292
|
+
"notice": {
|
|
12293
|
+
"type": "array",
|
|
12294
|
+
"maxItems": 12,
|
|
12295
|
+
"items": {
|
|
12296
|
+
"title": "CareersPrivacySectionSchema",
|
|
12297
|
+
"type": "object",
|
|
12298
|
+
"properties": {
|
|
12299
|
+
"id": {
|
|
12300
|
+
"type": "string",
|
|
12301
|
+
"pattern": "^[A-Za-z0-9_-]{1,64}$",
|
|
12302
|
+
"description": "Section id, unique; the template's seven (controller, purpose, ai, recipients, retention, rights, voluntary) cannot be removed."
|
|
12303
|
+
},
|
|
12304
|
+
"heading": {
|
|
12305
|
+
"type": "object",
|
|
12306
|
+
"additionalProperties": {
|
|
12307
|
+
"type": "string"
|
|
12308
|
+
},
|
|
12309
|
+
"description": "Locale map {locale: text}."
|
|
12310
|
+
},
|
|
12311
|
+
"body": {
|
|
12312
|
+
"type": "object",
|
|
12313
|
+
"additionalProperties": {
|
|
12314
|
+
"type": "string"
|
|
12315
|
+
},
|
|
12316
|
+
"description": "Locale map {locale: text}; paragraphs separated by a blank line, list items on lines starting '- '."
|
|
12317
|
+
}
|
|
12318
|
+
}
|
|
12319
|
+
}
|
|
12320
|
+
},
|
|
12321
|
+
"consentCurrent": {
|
|
12322
|
+
"type": "object",
|
|
12323
|
+
"additionalProperties": {
|
|
12324
|
+
"type": "string"
|
|
12325
|
+
},
|
|
12326
|
+
"description": "Locale map: the REQUIRED consent to this recruitment, shown next to the first checkbox."
|
|
12327
|
+
},
|
|
12328
|
+
"consentFuture": {
|
|
12329
|
+
"type": "object",
|
|
12330
|
+
"additionalProperties": {
|
|
12331
|
+
"type": "string"
|
|
12332
|
+
},
|
|
12333
|
+
"description": "Locale map: the OPTIONAL consent to future recruitments (the talent pool). Ignored when fields.futureConsent is false."
|
|
12334
|
+
},
|
|
12335
|
+
"noticeLinkLabel": {
|
|
12336
|
+
"type": "object",
|
|
12337
|
+
"additionalProperties": {
|
|
12338
|
+
"type": "string"
|
|
12339
|
+
},
|
|
12340
|
+
"description": "Locale map: the label of the link from the form to the notice."
|
|
12341
|
+
}
|
|
12342
|
+
}
|
|
12343
|
+
},
|
|
12344
|
+
"privacyStatus": {
|
|
12345
|
+
"type": "string",
|
|
12346
|
+
"enum": [
|
|
12347
|
+
"active"
|
|
12348
|
+
],
|
|
12349
|
+
"description": "active = publish the privacy notice draft (validated; CDN privacy.json + the immutable privacy/v{N}.json). Independent of `status`."
|
|
12178
12350
|
}
|
|
12179
12351
|
}
|
|
12180
12352
|
}
|
|
@@ -13194,10 +13366,26 @@
|
|
|
13194
13366
|
"description": "Where the candidate found the job (e.g., careerPage, jobBoard, linkedin)"
|
|
13195
13367
|
},
|
|
13196
13368
|
"consentCurrent": {
|
|
13197
|
-
"type": "boolean"
|
|
13369
|
+
"type": "boolean",
|
|
13370
|
+
"description": "Consent to this recruitment (the notice's consentCurrent text). Required true for an application to a job; false in a talent-pool submission."
|
|
13198
13371
|
},
|
|
13199
13372
|
"consentFuture": {
|
|
13200
|
-
"type": "boolean"
|
|
13373
|
+
"type": "boolean",
|
|
13374
|
+
"description": "Consent to future recruitments (the talent pool; the notice's consentFuture text). Optional on a job application, required true in a talent-pool submission. Never lowers a consent the talent already gave (withdrawal has its own door)."
|
|
13375
|
+
},
|
|
13376
|
+
"consentVersion": {
|
|
13377
|
+
"type": "integer",
|
|
13378
|
+
"minimum": 1,
|
|
13379
|
+
"description": "The `version` of the published privacy notice the candidate was shown."
|
|
13380
|
+
},
|
|
13381
|
+
"consentHash": {
|
|
13382
|
+
"type": "string",
|
|
13383
|
+
"pattern": "^sha256:[0-9a-f]{64}$",
|
|
13384
|
+
"description": "`hashes[consentLanguage]` of that notice, copied from the published document (the client never computes it)."
|
|
13385
|
+
},
|
|
13386
|
+
"consentLanguage": {
|
|
13387
|
+
"type": "string",
|
|
13388
|
+
"description": "BCP-47 locale of the notice text actually shown (after the locale ladder), e.g. pl-PL."
|
|
13201
13389
|
}
|
|
13202
13390
|
}
|
|
13203
13391
|
}
|