Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ jobs:

- name: Run Lint
run: bun lint

- name: Run Build
run: bun run build
87 changes: 80 additions & 7 deletions .oas/hris.json
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at",
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at",
"type": "string"
}
},
Expand Down Expand Up @@ -1651,7 +1651,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at",
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at",
"type": "string"
}
}
Expand Down Expand Up @@ -4705,7 +4705,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at",
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at",
"type": "string"
}
},
Expand Down Expand Up @@ -4992,7 +4992,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,created_at,updated_at",
"example": "id,remote_id,employee_id,remote_employee_id,approver_id,remote_approver_id,status,type,start_date,end_date,start_half_day,end_half_day,duration,time_off_policy_id,remote_time_off_policy_id,reason,created_at,updated_at",
"type": "string"
}
}
Expand Down Expand Up @@ -8074,7 +8074,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,name,description,type,updated_at,created_at",
"example": "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at",
"type": "string"
}
},
Expand Down Expand Up @@ -8270,7 +8270,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,name,description,type,updated_at,created_at",
"example": "id,remote_id,name,description,type,duration_unit,reasons,updated_at,created_at",
"type": "string"
}
}
Expand Down Expand Up @@ -9557,6 +9557,7 @@
"division",
"group",
"project",
"team",
null
],
"example": "department",
Expand Down Expand Up @@ -12891,6 +12892,20 @@
],
"nullable": true
},
"time_off_policy_id": {
"type": "string",
"description": "The time off policy id associated with this time off request",
"example": "cx280928933",
"nullable": true
},
"reason": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/Reason"
}
]
},
"passthrough": {
"type": "object",
"description": "Value to pass through to the provider",
Expand Down Expand Up @@ -19343,6 +19358,27 @@
"url"
]
},
"Reason": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier",
"example": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"nullable": true
},
"remote_id": {
"type": "string",
"description": "Provider's unique identifier",
"example": "8187e5da-dc77-475e-9949-af0f1fa4e4e3",
"nullable": true
},
"name": {
"type": "string",
"nullable": true
}
}
},
"Reference": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -19811,6 +19847,26 @@
"format": "duration",
"nullable": true
},
"time_off_policy_id": {
"type": "string",
"description": "The time off policy id associated with this time off request",
"example": "cx280928933",
"nullable": true
},
"remote_time_off_policy_id": {
"type": "string",
"description": "Provider's unique identifier of the time off policy id associated with this time off request",
"example": "e3cb75bf-aa84-466e-a6c1-b8322b257a48",
"nullable": true
},
"reason": {
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/Reason"
}
]
},
"created_date": {
"type": "string",
"description": "The created date of the time off request",
Expand Down Expand Up @@ -19978,7 +20034,7 @@
"unknown",
null
],
"description": "The unified value for the duration unit of the time off balance. If the provider does not specify this unit, the value will be set to unknown",
"description": "The unified value for the duration unit. If the provider does not specify this unit, the value will be set to unknown",
"example": "hours",
"x-speakeasy-unknown-values": "allow",
"nullable": true
Expand Down Expand Up @@ -20073,6 +20129,23 @@
}
]
},
"duration_unit": {
"description": "The duration unit of the current policy",
"example": "hours",
"nullable": true,
"allOf": [
{
"$ref": "#/components/schemas/TimeOffBalanceUnitEnum"
}
]
},
"reasons": {
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/Reason"
}
},
"created_at": {
"type": "string",
"description": "The created_at date of this policy",
Expand Down
82 changes: 54 additions & 28 deletions .oas/lms.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider",
"example": "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations",
"type": "string"
}
},
Expand Down Expand Up @@ -407,7 +407,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider",
"example": "id,remote_id,external_reference,content_ids,remote_content_ids,title,description,languages,cover_url,url,active,duration,categories,skills,updated_at,created_at,content,provider,localizations",
"type": "string"
}
}
Expand Down Expand Up @@ -1043,7 +1043,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localisations,tags",
"example": "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags",
"type": "string"
}
},
Expand Down Expand Up @@ -1320,7 +1320,7 @@
"description": "The comma separated list of fields that will be returned in the response (if empty, all fields are returned)",
"schema": {
"nullable": true,
"example": "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localisations,tags",
"example": "id,remote_id,external_reference,course_ids,remote_course_ids,title,description,additional_data,languages,content_url,mobile_launch_content_url,content_type,cover_url,active,duration,order,categories,skills,updated_at,created_at,provider,localizations,tags",
"type": "string"
}
}
Expand Down Expand Up @@ -4346,14 +4346,6 @@
"example": "This video acts as learning content for software engineers.",
"nullable": true
},
"additional_data": {
"description": "The additional_data associated with this content",
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/AdditionalData"
}
},
"languages": {
"description": "The languages associated with this content",
"nullable": true,
Expand Down Expand Up @@ -4450,7 +4442,7 @@
"deprecated": true,
"nullable": true
},
"localisations": {
"localizations": {
"description": "Localised content information",
"example": [
{
Expand All @@ -4465,7 +4457,7 @@
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/LocalisationModel"
"$ref": "#/components/schemas/LocalizationModel"
}
},
"tags": {
Expand Down Expand Up @@ -5746,14 +5738,6 @@
"example": "This video acts as learning content for software engineers.",
"nullable": true
},
"additional_data": {
"description": "The additional_data associated with this content",
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/AdditionalData"
}
},
"languages": {
"description": "The languages associated with this content",
"nullable": true,
Expand Down Expand Up @@ -5830,12 +5814,20 @@
"deprecated": true,
"nullable": true
},
"localisations": {
"description": "Localised content information",
"localizations": {
"description": "The localization data for this course",
"example": [
{
"title": "Software Engineer Lv 1",
"description": "This video acts as learning content for software engineers.",
"description": "This course acts as learning resource for software engineers.",
"languages": {
"value": "en-GB",
"source_value": "string"
}
},
{
"title": "Software Engineer: A comprehensive guide",
"description": "This course acts as learning resource for software engineers.",
"languages": {
"value": "en-US",
"source_value": "string"
Expand All @@ -5845,7 +5837,7 @@
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/LocalisationModel"
"$ref": "#/components/schemas/LocalizationModel"
}
},
"tags": {
Expand Down Expand Up @@ -5881,6 +5873,14 @@
"items": {
"$ref": "#/components/schemas/CreateCategoriesApiModel"
}
},
"additional_data": {
"description": "The additional_data associated with this content",
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/AdditionalData"
}
}
}
},
Expand Down Expand Up @@ -5971,6 +5971,32 @@
"items": {
"$ref": "#/components/schemas/CreateContentApiModel"
}
},
"localizations": {
"description": "The localization data for this course",
"example": [
{
"title": "Software Engineer Lv 1",
"description": "This course acts as learning resource for software engineers.",
"languages": {
"value": "en-GB",
"source_value": "string"
}
},
{
"title": "Software Engineer: A comprehensive guide",
"description": "This course acts as learning resource for software engineers.",
"languages": {
"value": "en-US",
"source_value": "string"
}
}
],
"nullable": true,
"type": "array",
"items": {
"$ref": "#/components/schemas/LocalizationModel"
}
}
}
},
Expand Down Expand Up @@ -6045,7 +6071,7 @@
}
}
},
"LocalisationModel": {
"LocalizationModel": {
"type": "object",
"properties": {
"title": {
Expand All @@ -6061,7 +6087,7 @@
"nullable": true
},
"language": {
"description": "The language associated with this localisation details",
"description": "The language associated with the localization details",
"nullable": true,
"allOf": [
{
Expand Down
Loading