@smartytalent/openai-tools 0.9.50 → 0.9.52

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.
Files changed (2) hide show
  1. package/dist/tools.json +140 -4
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -12175,6 +12175,112 @@
12175
12175
  }
12176
12176
  }
12177
12177
  }
12178
+ },
12179
+ "privacy": {
12180
+ "title": "CareersPrivacySchema",
12181
+ "type": "object",
12182
+ "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.",
12183
+ "properties": {
12184
+ "fields": {
12185
+ "title": "CareersPrivacyFieldsSchema",
12186
+ "type": "object",
12187
+ "properties": {
12188
+ "employerName": {
12189
+ "type": "string",
12190
+ "maxLength": 200,
12191
+ "description": "The controller: the employer's legal name. Required to publish (1-200)."
12192
+ },
12193
+ "address": {
12194
+ "type": "string",
12195
+ "maxLength": 300,
12196
+ "description": "The controller's address. Required to publish (1-300)."
12197
+ },
12198
+ "contactEmail": {
12199
+ "type": "string",
12200
+ "maxLength": 254,
12201
+ "description": "Contact on personal data matters (also where a candidate contests an AI-assisted assessment). Required to publish; an e-mail address."
12202
+ },
12203
+ "dpoContact": {
12204
+ "type": "string",
12205
+ "maxLength": 254,
12206
+ "description": "Data Protection Officer contact, optional; empty removes the conditional segment that names it."
12207
+ },
12208
+ "recruitmentMonths": {
12209
+ "type": "integer",
12210
+ "minimum": 1,
12211
+ "maximum": 60,
12212
+ "description": "Retention of this recruitment's data, in months. Required to publish."
12213
+ },
12214
+ "futureMonths": {
12215
+ "type": "integer",
12216
+ "minimum": 1,
12217
+ "maximum": 60,
12218
+ "description": "Retention under the future-recruitment consent, in months. Required to publish when futureConsent is true."
12219
+ },
12220
+ "futureConsent": {
12221
+ "type": "boolean",
12222
+ "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."
12223
+ }
12224
+ }
12225
+ },
12226
+ "notice": {
12227
+ "type": "array",
12228
+ "maxItems": 12,
12229
+ "items": {
12230
+ "title": "CareersPrivacySectionSchema",
12231
+ "type": "object",
12232
+ "properties": {
12233
+ "id": {
12234
+ "type": "string",
12235
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
12236
+ "description": "Section id, unique; the template's seven (controller, purpose, ai, recipients, retention, rights, voluntary) cannot be removed."
12237
+ },
12238
+ "heading": {
12239
+ "type": "object",
12240
+ "additionalProperties": {
12241
+ "type": "string"
12242
+ },
12243
+ "description": "Locale map {locale: text}."
12244
+ },
12245
+ "body": {
12246
+ "type": "object",
12247
+ "additionalProperties": {
12248
+ "type": "string"
12249
+ },
12250
+ "description": "Locale map {locale: text}; paragraphs separated by a blank line, list items on lines starting '- '."
12251
+ }
12252
+ }
12253
+ }
12254
+ },
12255
+ "consentCurrent": {
12256
+ "type": "object",
12257
+ "additionalProperties": {
12258
+ "type": "string"
12259
+ },
12260
+ "description": "Locale map: the REQUIRED consent to this recruitment, shown next to the first checkbox."
12261
+ },
12262
+ "consentFuture": {
12263
+ "type": "object",
12264
+ "additionalProperties": {
12265
+ "type": "string"
12266
+ },
12267
+ "description": "Locale map: the OPTIONAL consent to future recruitments (the talent pool). Ignored when fields.futureConsent is false."
12268
+ },
12269
+ "noticeLinkLabel": {
12270
+ "type": "object",
12271
+ "additionalProperties": {
12272
+ "type": "string"
12273
+ },
12274
+ "description": "Locale map: the label of the link from the form to the notice."
12275
+ }
12276
+ }
12277
+ },
12278
+ "privacyStatus": {
12279
+ "type": "string",
12280
+ "enum": [
12281
+ "active"
12282
+ ],
12283
+ "description": "active = publish the privacy notice draft (validated; CDN privacy.json + the immutable privacy/v{N}.json). Independent of `status`."
12178
12284
  }
12179
12285
  }
12180
12286
  }
@@ -13194,10 +13300,26 @@
13194
13300
  "description": "Where the candidate found the job (e.g., careerPage, jobBoard, linkedin)"
13195
13301
  },
13196
13302
  "consentCurrent": {
13197
- "type": "boolean"
13303
+ "type": "boolean",
13304
+ "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
13305
  },
13199
13306
  "consentFuture": {
13200
- "type": "boolean"
13307
+ "type": "boolean",
13308
+ "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)."
13309
+ },
13310
+ "consentVersion": {
13311
+ "type": "integer",
13312
+ "minimum": 1,
13313
+ "description": "The `version` of the published privacy notice the candidate was shown."
13314
+ },
13315
+ "consentHash": {
13316
+ "type": "string",
13317
+ "pattern": "^sha256:[0-9a-f]{64}$",
13318
+ "description": "`hashes[consentLanguage]` of that notice, copied from the published document (the client never computes it)."
13319
+ },
13320
+ "consentLanguage": {
13321
+ "type": "string",
13322
+ "description": "BCP-47 locale of the notice text actually shown (after the locale ladder), e.g. pl-PL."
13201
13323
  }
13202
13324
  }
13203
13325
  }
@@ -18807,7 +18929,7 @@
18807
18929
  "properties": {
18808
18930
  "filterResourceType": {
18809
18931
  "type": "string",
18810
- "description": "Only return aggregates for this resource type (e.g. emails, chats, calls, comments).",
18932
+ "description": "Only return aggregates for this resource type (e.g. emails, chats, calls, comments, meetings).",
18811
18933
  "enum": [
18812
18934
  "emails",
18813
18935
  "chats",
@@ -18819,9 +18941,18 @@
18819
18941
  "talents",
18820
18942
  "personas",
18821
18943
  "reports",
18822
- "tasks"
18944
+ "tasks",
18945
+ "meetings"
18823
18946
  ]
18824
18947
  },
18948
+ "filterDayFrom": {
18949
+ "type": "string",
18950
+ "description": "Day buckets from this UTC day on (YYYY-MM-DD, inclusive). Needs filterResourceType and filterDimension."
18951
+ },
18952
+ "filterDayTo": {
18953
+ "type": "string",
18954
+ "description": "Day buckets up to this UTC day (YYYY-MM-DD, inclusive). Needs filterResourceType and filterDimension."
18955
+ },
18825
18956
  "filterDimension": {
18826
18957
  "type": "string",
18827
18958
  "description": "Only return aggregates for this dimension (e.g. byFolder, byStatus). Triggers the `meta.by{Dimension}` overlay in the response."
@@ -18936,6 +19067,11 @@
18936
19067
  "type": "integer",
18937
19068
  "description": "Current counter value. Updated via atomic ADD on event consumption; admin PATCH allows manual correction for drift recovery."
18938
19069
  },
19070
+ "day": {
19071
+ "type": "string",
19072
+ "format": "date",
19073
+ "description": "The UTC day of a day bucket (event counts read with filterDayFrom / filterDayTo, e.g. the meet home's `meetings` counters, 2026-10-06). Absent on every other row."
19074
+ },
18939
19075
  "timestamps": {
18940
19076
  "title": "ResourceTimestampsSchema",
18941
19077
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.9.50",
3
+ "version": "0.9.52",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",