@smartytalent/openai-tools 0.8.15 → 0.8.16
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 +54 -8
- 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
|
},
|
|
@@ -20306,7 +20314,17 @@
|
|
|
20306
20314
|
"type": "string"
|
|
20307
20315
|
},
|
|
20308
20316
|
"status": {
|
|
20309
|
-
"type": "string"
|
|
20317
|
+
"type": "string",
|
|
20318
|
+
"enum": [
|
|
20319
|
+
"active",
|
|
20320
|
+
"inactive",
|
|
20321
|
+
"pending",
|
|
20322
|
+
"draft",
|
|
20323
|
+
"accepted",
|
|
20324
|
+
"archived",
|
|
20325
|
+
"failed"
|
|
20326
|
+
],
|
|
20327
|
+
"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
20328
|
},
|
|
20311
20329
|
"platforms": {
|
|
20312
20330
|
"type": "object",
|
|
@@ -20314,7 +20332,7 @@
|
|
|
20314
20332
|
},
|
|
20315
20333
|
"files": {
|
|
20316
20334
|
"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
|
|
20335
|
+
"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
20336
|
"items": {
|
|
20319
20337
|
"type": "object",
|
|
20320
20338
|
"properties": {
|
|
@@ -20329,11 +20347,20 @@
|
|
|
20329
20347
|
},
|
|
20330
20348
|
"variant": {
|
|
20331
20349
|
"type": "string",
|
|
20332
|
-
"
|
|
20350
|
+
"enum": [
|
|
20351
|
+
"square",
|
|
20352
|
+
"landscape"
|
|
20353
|
+
],
|
|
20354
|
+
"description": "Aspect variant for a master. `portrait` was removed - nothing consumed it."
|
|
20333
20355
|
},
|
|
20334
20356
|
"platform": {
|
|
20335
20357
|
"type": "string",
|
|
20336
|
-
"description": "Target platform for a crop (
|
|
20358
|
+
"description": "Target platform for a crop (linkedin_short / indeed / apply / apply_card / ...)."
|
|
20359
|
+
},
|
|
20360
|
+
"language": {
|
|
20361
|
+
"type": "string",
|
|
20362
|
+
"pattern": "^[a-z]{2}-[A-Z]{2}$",
|
|
20363
|
+
"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
20364
|
},
|
|
20338
20365
|
"s3Key": {
|
|
20339
20366
|
"type": "string"
|
|
@@ -20469,7 +20496,17 @@
|
|
|
20469
20496
|
"type": "string"
|
|
20470
20497
|
},
|
|
20471
20498
|
"status": {
|
|
20472
|
-
"type": "string"
|
|
20499
|
+
"type": "string",
|
|
20500
|
+
"enum": [
|
|
20501
|
+
"active",
|
|
20502
|
+
"inactive",
|
|
20503
|
+
"pending",
|
|
20504
|
+
"draft",
|
|
20505
|
+
"accepted",
|
|
20506
|
+
"archived",
|
|
20507
|
+
"failed"
|
|
20508
|
+
],
|
|
20509
|
+
"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
20510
|
},
|
|
20474
20511
|
"platforms": {
|
|
20475
20512
|
"type": "object",
|
|
@@ -20477,7 +20514,7 @@
|
|
|
20477
20514
|
},
|
|
20478
20515
|
"files": {
|
|
20479
20516
|
"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
|
|
20517
|
+
"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
20518
|
"items": {
|
|
20482
20519
|
"type": "object",
|
|
20483
20520
|
"properties": {
|
|
@@ -20492,11 +20529,20 @@
|
|
|
20492
20529
|
},
|
|
20493
20530
|
"variant": {
|
|
20494
20531
|
"type": "string",
|
|
20495
|
-
"
|
|
20532
|
+
"enum": [
|
|
20533
|
+
"square",
|
|
20534
|
+
"landscape"
|
|
20535
|
+
],
|
|
20536
|
+
"description": "Aspect variant for a master. `portrait` was removed - nothing consumed it."
|
|
20496
20537
|
},
|
|
20497
20538
|
"platform": {
|
|
20498
20539
|
"type": "string",
|
|
20499
|
-
"description": "Target platform for a crop (
|
|
20540
|
+
"description": "Target platform for a crop (linkedin_short / indeed / apply / apply_card / ...)."
|
|
20541
|
+
},
|
|
20542
|
+
"language": {
|
|
20543
|
+
"type": "string",
|
|
20544
|
+
"pattern": "^[a-z]{2}-[A-Z]{2}$",
|
|
20545
|
+
"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
20546
|
},
|
|
20501
20547
|
"s3Key": {
|
|
20502
20548
|
"type": "string"
|