@smartytalent/openai-tools 0.1.33-dev.31 → 0.1.33-dev.32

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 +94 -2
  2. package/package.json +1 -1
package/dist/tools.json CHANGED
@@ -255,6 +255,24 @@
255
255
  }
256
256
  }
257
257
  },
258
+ "boeCalendar": {
259
+ "title": "TenantRelationshipsBoeCalendarSchema",
260
+ "type": "object",
261
+ "description": "Boe's primary calendar. Denormalized here so workflow seeds and FE can resolve it in one tenant fetch instead of a list_calendars round trip. Mirror of boeUser semantics: written by tenant onboarding / workflow seeding, not client-writable via tenant PATCH. May be null on tenants provisioned before boe calendars existed - fall back to GET /v1/calendars?filterOwnerId=boeUserId.",
262
+ "properties": {
263
+ "data": {
264
+ "type": "object",
265
+ "properties": {
266
+ "type": {
267
+ "type": "string"
268
+ },
269
+ "id": {
270
+ "type": "string"
271
+ }
272
+ }
273
+ }
274
+ }
275
+ },
258
276
  "feedbacks": {
259
277
  "title": "TenantRelationshipsFeedbacksSchema",
260
278
  "type": "object",
@@ -540,6 +558,24 @@
540
558
  }
541
559
  }
542
560
  },
561
+ "boeCalendar": {
562
+ "title": "TenantRelationshipsBoeCalendarSchema",
563
+ "type": "object",
564
+ "description": "Boe's primary calendar. Denormalized here so workflow seeds and FE can resolve it in one tenant fetch instead of a list_calendars round trip. Mirror of boeUser semantics: written by tenant onboarding / workflow seeding, not client-writable via tenant PATCH. May be null on tenants provisioned before boe calendars existed - fall back to GET /v1/calendars?filterOwnerId=boeUserId.",
565
+ "properties": {
566
+ "data": {
567
+ "type": "object",
568
+ "properties": {
569
+ "type": {
570
+ "type": "string"
571
+ },
572
+ "id": {
573
+ "type": "string"
574
+ }
575
+ }
576
+ }
577
+ }
578
+ },
543
579
  "feedbacks": {
544
580
  "title": "TenantRelationshipsFeedbacksSchema",
545
581
  "type": "object",
@@ -17502,7 +17538,35 @@
17502
17538
  "type": "integer"
17503
17539
  },
17504
17540
  "workingHours": {
17505
- "type": "object"
17541
+ "title": "CalendarWorkingHoursSchema",
17542
+ "type": "object",
17543
+ "description": "Recurring weekly schedule. days[] uses tokens (mon/tue/wed/thu/fri/sat/sun); startHour/endHour are local 24h numbers. Single type used by Calendar read/create/update so PATCH callers get the same autocomplete as readers.",
17544
+ "properties": {
17545
+ "timezone": {
17546
+ "type": "string"
17547
+ },
17548
+ "days": {
17549
+ "type": "array",
17550
+ "items": {
17551
+ "type": "string",
17552
+ "enum": [
17553
+ "mon",
17554
+ "tue",
17555
+ "wed",
17556
+ "thu",
17557
+ "fri",
17558
+ "sat",
17559
+ "sun"
17560
+ ]
17561
+ }
17562
+ },
17563
+ "startHour": {
17564
+ "type": "integer"
17565
+ },
17566
+ "endHour": {
17567
+ "type": "integer"
17568
+ }
17569
+ }
17506
17570
  }
17507
17571
  }
17508
17572
  }
@@ -17570,7 +17634,35 @@
17570
17634
  "type": "integer"
17571
17635
  },
17572
17636
  "workingHours": {
17573
- "type": "object"
17637
+ "title": "CalendarWorkingHoursSchema",
17638
+ "type": "object",
17639
+ "description": "Recurring weekly schedule. days[] uses tokens (mon/tue/wed/thu/fri/sat/sun); startHour/endHour are local 24h numbers. Single type used by Calendar read/create/update so PATCH callers get the same autocomplete as readers.",
17640
+ "properties": {
17641
+ "timezone": {
17642
+ "type": "string"
17643
+ },
17644
+ "days": {
17645
+ "type": "array",
17646
+ "items": {
17647
+ "type": "string",
17648
+ "enum": [
17649
+ "mon",
17650
+ "tue",
17651
+ "wed",
17652
+ "thu",
17653
+ "fri",
17654
+ "sat",
17655
+ "sun"
17656
+ ]
17657
+ }
17658
+ },
17659
+ "startHour": {
17660
+ "type": "integer"
17661
+ },
17662
+ "endHour": {
17663
+ "type": "integer"
17664
+ }
17665
+ }
17574
17666
  }
17575
17667
  }
17576
17668
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartytalent/openai-tools",
3
- "version": "0.1.33-dev.31",
3
+ "version": "0.1.33-dev.32",
4
4
  "description": "OpenAI function/tool definitions for SmartyTalent API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",