@smartytalent/openai-tools 0.1.33-dev.20 → 0.1.33-dev.21

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 +66 -0
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -276,6 +276,28 @@
276
276
  }
277
277
  }
278
278
  }
279
+ },
280
+ "forms": {
281
+ "title": "TenantRelationshipsFormsSchema",
282
+ "type": "object",
283
+ "description": "Tenant-wide default forms per kind. Up to one form per FormKind value (jobBrief, candidateSubmission, talentSubmission, general). Designates which form's schema is canonical for each intake channel - the inbound email agent reads this to find the form whose fields it should populate when creating a brief.",
284
+ "properties": {
285
+ "data": {
286
+ "type": "array",
287
+ "items": {
288
+ "title": "TenantRelationshipsFormsDataSchema",
289
+ "type": "object",
290
+ "properties": {
291
+ "type": {
292
+ "type": "string"
293
+ },
294
+ "id": {
295
+ "type": "string"
296
+ }
297
+ }
298
+ }
299
+ }
300
+ }
279
301
  }
280
302
  }
281
303
  }
@@ -539,6 +561,28 @@
539
561
  }
540
562
  }
541
563
  }
564
+ },
565
+ "forms": {
566
+ "title": "TenantRelationshipsFormsSchema",
567
+ "type": "object",
568
+ "description": "Tenant-wide default forms per kind. Up to one form per FormKind value (jobBrief, candidateSubmission, talentSubmission, general). Designates which form's schema is canonical for each intake channel - the inbound email agent reads this to find the form whose fields it should populate when creating a brief.",
569
+ "properties": {
570
+ "data": {
571
+ "type": "array",
572
+ "items": {
573
+ "title": "TenantRelationshipsFormsDataSchema",
574
+ "type": "object",
575
+ "properties": {
576
+ "type": {
577
+ "type": "string"
578
+ },
579
+ "id": {
580
+ "type": "string"
581
+ }
582
+ }
583
+ }
584
+ }
585
+ }
542
586
  }
543
587
  }
544
588
  }
@@ -7253,6 +7297,17 @@
7253
7297
  "status": {
7254
7298
  "type": "string"
7255
7299
  },
7300
+ "kind": {
7301
+ "type": "string",
7302
+ "enum": [
7303
+ "jobBrief",
7304
+ "candidateSubmission",
7305
+ "talentSubmission",
7306
+ "general"
7307
+ ],
7308
+ "default": "general",
7309
+ "description": "Role marker. Identifies which downstream resource this form's\nsubmission becomes:\n - jobBrief: produces a Brief about a Job (email/api intake;\n consumed by the create-job-from-brief workflow).\n - candidateSubmission: produces a Submission about a\n Candidate (apply form intake).\n - talentSubmission: produces a Submission about a Talent.\n - general: catch-all / undecided.\nTenant pins one form per kind as its default via\n`tenant.relationships.forms`. Mirrors the role-marker pattern\nused on Feedback (`stage`)."
7310
+ },
7256
7311
  "short_code": {
7257
7312
  "type": "string"
7258
7313
  },
@@ -7379,6 +7434,17 @@
7379
7434
  "status": {
7380
7435
  "type": "string"
7381
7436
  },
7437
+ "kind": {
7438
+ "type": "string",
7439
+ "enum": [
7440
+ "jobBrief",
7441
+ "candidateSubmission",
7442
+ "talentSubmission",
7443
+ "general"
7444
+ ],
7445
+ "default": "general",
7446
+ "description": "Role marker. Identifies which downstream resource this form's\nsubmission becomes:\n - jobBrief: produces a Brief about a Job (email/api intake;\n consumed by the create-job-from-brief workflow).\n - candidateSubmission: produces a Submission about a\n Candidate (apply form intake).\n - talentSubmission: produces a Submission about a Talent.\n - general: catch-all / undecided.\nTenant pins one form per kind as its default via\n`tenant.relationships.forms`. Mirrors the role-marker pattern\nused on Feedback (`stage`)."
7447
+ },
7382
7448
  "short_code": {
7383
7449
  "type": "string"
7384
7450
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.20",
3
+ "version": "0.1.33-dev.21",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",