@smartytalent/openai-tools 0.8.15 → 0.8.17

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 +70 -8
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -168,6 +168,10 @@
168
168
  "ad": {
169
169
  "type": "object"
170
170
  },
171
+ "brand": {
172
+ "type": "object",
173
+ "description": "Brand rules the ad and careers generators read. Split by who can\nact on what: exact colours are applied by CODE (an image model\nonly ever approximates a hex), while the look-and-feel strings\nare fed to the image prompt. Keys: primaryColor / secondaryColor\n(^#[0-9a-fA-F]{6}$), photography, avoid, tone. Freeform for now;\na dedicated brand service is the endgame once logo variants,\ntypefaces and versioning arrive."
174
+ },
171
175
  "conversation": {
172
176
  "type": "object"
173
177
  },
@@ -632,6 +636,10 @@
632
636
  "ad": {
633
637
  "type": "object"
634
638
  },
639
+ "brand": {
640
+ "type": "object",
641
+ "description": "Brand rules the ad and careers generators read. Split by who can\nact on what: exact colours are applied by CODE (an image model\nonly ever approximates a hex), while the look-and-feel strings\nare fed to the image prompt. Keys: primaryColor / secondaryColor\n(^#[0-9a-fA-F]{6}$), photography, avoid, tone. Freeform for now;\na dedicated brand service is the endgame once logo variants,\ntypefaces and versioning arrive."
642
+ },
635
643
  "conversation": {
636
644
  "type": "object"
637
645
  },
@@ -4443,6 +4451,14 @@
4443
4451
  "type": "string"
4444
4452
  }
4445
4453
  },
4454
+ "titleInclusive": {
4455
+ "title": "JobAttributesTitleInclusiveSchema",
4456
+ "description": "The job title as shown to candidates, marked as open to every gender. Language-keyed, same keys as `title`. Read-only: it is derived from `title` by the build pipeline, not supplied by a client. `title` stays the canonical, unmarked string and is what the ATS and the search index use; this is the one public surfaces display. The shape follows the locale: Polish and Czech restate the whole phrase in the feminine because the adjectives agree with the noun, while German, French and Italian append their market marker. Absent on jobs created before this field existed, and on locales the pipeline declined to inflect - fall back to `title` per locale.",
4457
+ "type": "object",
4458
+ "additionalProperties": {
4459
+ "type": "string"
4460
+ }
4461
+ },
4446
4462
  "description": {
4447
4463
  "title": "JobAttributesDescriptionSchema",
4448
4464
  "description": "Detailed job description. Language-keyed object.",
@@ -5167,6 +5183,14 @@
5167
5183
  "type": "string"
5168
5184
  }
5169
5185
  },
5186
+ "titleInclusive": {
5187
+ "title": "JobAttributesTitleInclusiveSchema",
5188
+ "description": "The job title as shown to candidates, marked as open to every gender. Language-keyed, same keys as `title`. Read-only: it is derived from `title` by the build pipeline, not supplied by a client. `title` stays the canonical, unmarked string and is what the ATS and the search index use; this is the one public surfaces display. The shape follows the locale: Polish and Czech restate the whole phrase in the feminine because the adjectives agree with the noun, while German, French and Italian append their market marker. Absent on jobs created before this field existed, and on locales the pipeline declined to inflect - fall back to `title` per locale.",
5189
+ "type": "object",
5190
+ "additionalProperties": {
5191
+ "type": "string"
5192
+ }
5193
+ },
5170
5194
  "description": {
5171
5195
  "title": "JobAttributesDescriptionSchema",
5172
5196
  "description": "Detailed job description. Language-keyed object.",
@@ -20306,7 +20330,17 @@
20306
20330
  "type": "string"
20307
20331
  },
20308
20332
  "status": {
20309
- "type": "string"
20333
+ "type": "string",
20334
+ "enum": [
20335
+ "active",
20336
+ "inactive",
20337
+ "pending",
20338
+ "draft",
20339
+ "accepted",
20340
+ "archived",
20341
+ "failed"
20342
+ ],
20343
+ "description": "Lifecycle of the ad. Clients do NOT drive `accepted`: the gate-2\nworkflow's job:accept-artifacts step flips draft -> accepted when the\noperator activates the job. A build-phase ad lands `draft`, a legacy\ncreate-on-activate ad lands `active`, and `failed` is stamped by the\npipeline's own failure handler."
20310
20344
  },
20311
20345
  "platforms": {
20312
20346
  "type": "object",
@@ -20314,7 +20348,7 @@
20314
20348
  },
20315
20349
  "files": {
20316
20350
  "type": "array",
20317
- "description": "Generated ad artifacts: master images per aspect variant, platform\ncrops, and a zip. Stored in the PRIVATE ad bucket; each entry carries\na short-lived presigned `url` the govern UI renders during review.\nThe public CDN copy is written only when the job is accepted\n(ad:publish). Replaces the never-emitted legacy `images` field.",
20351
+ "description": "Generated ad artifacts: master images per aspect variant, platform\ncrops, and a zip. Stored in the PRIVATE ad bucket; each entry carries\na short-lived presigned `url` the govern UI renders during review.\n\nThe PUBLIC CDN copy of the apply hero and listing card is written by\nthe `apply:publish` workflow action, which runs automatically as a\nstep of the gate-2 workflow (Activate Job From Operator). There is no\n`ad:publish` action and no status a client can write to trigger\npublication. The published URLs are `heroUrl` / `cardUrl` inside\n`tenants/{tenantShortCode}/apply/{jobShortCode}.json` on the CDN, and\nthey are content-addressed (a regenerated creative gets a new path)\nso they can be cached immutably.\n\nReplaces the never-emitted legacy `images` field.",
20318
20352
  "items": {
20319
20353
  "type": "object",
20320
20354
  "properties": {
@@ -20329,11 +20363,20 @@
20329
20363
  },
20330
20364
  "variant": {
20331
20365
  "type": "string",
20332
- "description": "Aspect variant for a master (square / landscape / portrait)."
20366
+ "enum": [
20367
+ "square",
20368
+ "landscape"
20369
+ ],
20370
+ "description": "Aspect variant for a master. `portrait` was removed - nothing consumed it."
20333
20371
  },
20334
20372
  "platform": {
20335
20373
  "type": "string",
20336
- "description": "Target platform for a crop (linkedin / indeed / ...)."
20374
+ "description": "Target platform for a crop (linkedin_short / indeed / apply / apply_card / ...)."
20375
+ },
20376
+ "language": {
20377
+ "type": "string",
20378
+ "pattern": "^[a-z]{2}-[A-Z]{2}$",
20379
+ "description": "Locale of the text composited onto this crop. Present only on\n`type: image`; masters are text-free artwork and the zip is a\nbundle, so both omit it. Absent on crops generated before\nper-locale banners shipped - treat as the job's languageCode."
20337
20380
  },
20338
20381
  "s3Key": {
20339
20382
  "type": "string"
@@ -20469,7 +20512,17 @@
20469
20512
  "type": "string"
20470
20513
  },
20471
20514
  "status": {
20472
- "type": "string"
20515
+ "type": "string",
20516
+ "enum": [
20517
+ "active",
20518
+ "inactive",
20519
+ "pending",
20520
+ "draft",
20521
+ "accepted",
20522
+ "archived",
20523
+ "failed"
20524
+ ],
20525
+ "description": "Lifecycle of the ad. Clients do NOT drive `accepted`: the gate-2\nworkflow's job:accept-artifacts step flips draft -> accepted when the\noperator activates the job. A build-phase ad lands `draft`, a legacy\ncreate-on-activate ad lands `active`, and `failed` is stamped by the\npipeline's own failure handler."
20473
20526
  },
20474
20527
  "platforms": {
20475
20528
  "type": "object",
@@ -20477,7 +20530,7 @@
20477
20530
  },
20478
20531
  "files": {
20479
20532
  "type": "array",
20480
- "description": "Generated ad artifacts: master images per aspect variant, platform\ncrops, and a zip. Stored in the PRIVATE ad bucket; each entry carries\na short-lived presigned `url` the govern UI renders during review.\nThe public CDN copy is written only when the job is accepted\n(ad:publish). Replaces the never-emitted legacy `images` field.",
20533
+ "description": "Generated ad artifacts: master images per aspect variant, platform\ncrops, and a zip. Stored in the PRIVATE ad bucket; each entry carries\na short-lived presigned `url` the govern UI renders during review.\n\nThe PUBLIC CDN copy of the apply hero and listing card is written by\nthe `apply:publish` workflow action, which runs automatically as a\nstep of the gate-2 workflow (Activate Job From Operator). There is no\n`ad:publish` action and no status a client can write to trigger\npublication. The published URLs are `heroUrl` / `cardUrl` inside\n`tenants/{tenantShortCode}/apply/{jobShortCode}.json` on the CDN, and\nthey are content-addressed (a regenerated creative gets a new path)\nso they can be cached immutably.\n\nReplaces the never-emitted legacy `images` field.",
20481
20534
  "items": {
20482
20535
  "type": "object",
20483
20536
  "properties": {
@@ -20492,11 +20545,20 @@
20492
20545
  },
20493
20546
  "variant": {
20494
20547
  "type": "string",
20495
- "description": "Aspect variant for a master (square / landscape / portrait)."
20548
+ "enum": [
20549
+ "square",
20550
+ "landscape"
20551
+ ],
20552
+ "description": "Aspect variant for a master. `portrait` was removed - nothing consumed it."
20496
20553
  },
20497
20554
  "platform": {
20498
20555
  "type": "string",
20499
- "description": "Target platform for a crop (linkedin / indeed / ...)."
20556
+ "description": "Target platform for a crop (linkedin_short / indeed / apply / apply_card / ...)."
20557
+ },
20558
+ "language": {
20559
+ "type": "string",
20560
+ "pattern": "^[a-z]{2}-[A-Z]{2}$",
20561
+ "description": "Locale of the text composited onto this crop. Present only on\n`type: image`; masters are text-free artwork and the zip is a\nbundle, so both omit it. Absent on crops generated before\nper-locale banners shipped - treat as the job's languageCode."
20500
20562
  },
20501
20563
  "s3Key": {
20502
20564
  "type": "string"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.8.15",
3
+ "version": "0.8.17",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",