From ed9b471059f14e0c55e5f02f9c52790b6a4fa487 Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Sun, 23 Nov 2025 00:16:09 +0000 Subject: [PATCH 1/2] ## Php SDK Changes Detected: * `stackone->hris->listEmployees()`: `response.data->[]->manager` **Added** * `stackone->hris->getEmployee()`: `response.data->manager` **Added** --- .speakeasy/gen.lock | 33 ++++++---- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 ++-- README.md | 9 ++- RELEASES.md | 12 +++- USAGE.md | 4 +- docs/Models/Components/Categories.md | 3 +- docs/Models/Components/ConnectSession.md | 32 ++++----- .../Components/ConnectSessionCategories.md | 3 +- .../Models/Components/ConnectSessionCreate.md | 2 +- .../Components/ConnectSessionTokenAuthLink.md | 36 +++++----- .../ConnectSessionTokenAuthLinkCategories.md | 3 +- .../Components/ConnectorsMetaCategory.md | 3 +- docs/Models/Components/Employee.md | 1 + .../Components/LinkedAccountMetaCategory.md | 3 +- docs/Models/Components/Manager.md | 13 ++++ .../Operations/HrisGetEmployeeRequest.md | 18 ++--- .../Operations/HrisListEmployeesRequest.md | 26 ++++---- docs/sdks/connectsessions/README.md | 1 + docs/sdks/hris/README.md | 8 +-- src/Models/Components/Categories.php | 1 + .../Components/ConnectSessionCategories.php | 1 + .../ConnectSessionTokenAuthLinkCategories.php | 1 + .../Components/ConnectorsMetaCategory.php | 1 + src/Models/Components/Employee.php | 14 +++- .../Components/LinkedAccountMetaCategory.php | 1 + src/Models/Components/Manager.php | 65 +++++++++++++++++++ src/SDKConfiguration.php | 6 +- 28 files changed, 219 insertions(+), 97 deletions(-) create mode 100644 docs/Models/Components/Manager.md create mode 100644 src/Models/Components/Manager.php diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index dcc9524f..25fad6b7 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 3759371f-a095-4585-b437-50529a0eb248 management: - docChecksum: e78dea6e8a3b0950fdb44ad47130d961 + docChecksum: 10fe7ebdf9f2504c2280685a1a28e49f docVersion: 1.0.0 - speakeasyVersion: 1.658.1 - generationVersion: 2.755.6 - releaseVersion: 0.28.2 - configChecksum: f37584e8a7c2f0c4609de450bb0470bb + speakeasyVersion: 1.660.0 + generationVersion: 2.760.2 + releaseVersion: 0.28.3 + configChecksum: 3d93690bba16a618ec82c13544f3c68d repoURL: https://github.com/StackOneHQ/stackone-client-php.git installationURL: https://github.com/StackOneHQ/stackone-client-php published: true @@ -1263,6 +1263,7 @@ generatedFiles: - docs/Models/Components/LocalizationModelValue.md - docs/Models/Components/Location.md - docs/Models/Components/LocationType.md + - docs/Models/Components/Manager.md - docs/Models/Components/MaritalStatus.md - docs/Models/Components/MarketingCreateContentBlocksRequestDto.md - docs/Models/Components/MarketingCreateContentBlocksRequestDtoSourceValue.md @@ -3498,6 +3499,7 @@ generatedFiles: - src/Models/Components/LocalizationModelValue.php - src/Models/Components/Location.php - src/Models/Components/LocationType.php + - src/Models/Components/Manager.php - src/Models/Components/MaritalStatus.php - src/Models/Components/MarketingCreateContentBlocksRequestDto.php - src/Models/Components/MarketingCreateContentBlocksRequestDtoSourceValue4.php @@ -4677,10 +4679,10 @@ examples: stackone_create_connect_session: speakeasy-default-stackone-create-connect-session: requestBody: - application/json: {"categories": ["ats", "hris", "ticketing", "crm", "iam", "marketing", "lms", "iam", "documents", "ticketing", "screening", "messaging", "accounting"], "origin_owner_id": "", "origin_owner_name": "", "expires_in": 1800, "multiple": false, "type": "production"} + application/json: {"categories": ["ats", "hris", "ticketing", "crm", "iam", "marketing", "lms", "iam", "documents", "ticketing", "screening", "messaging", "accounting", "scheduling"], "origin_owner_id": "", "origin_owner_name": "", "expires_in": 1800, "multiple": false, "type": "production"} responses: "201": - application/json: {"id": 203.83, "organization_id": 9266.53, "project_id": "", "categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "crm", "documents", "ticketing", "screening", "messaging", "accounting"], "origin_owner_id": "", "origin_owner_name": "", "created_at": "2023-01-24T01:30:32.862Z", "external_trigger_token": "f0bc3d88-2178-5423-8c81-b81d6c9da824", "type": "test", "token": "", "auth_link_url": "https://difficult-avalanche.info"} + application/json: {"id": 203.83, "organization_id": 9266.53, "project_id": "", "categories": ["ats", "hris", "hris-legacy", "crm", "iam", "marketing", "lms", "crm", "documents", "ticketing", "screening", "messaging", "accounting", "scheduling"], "origin_owner_id": "", "origin_owner_name": "", "created_at": "2023-01-24T01:30:32.862Z", "external_trigger_token": "f0bc3d88-2178-5423-8c81-b81d6c9da824", "type": "test", "token": "", "auth_link_url": "https://difficult-avalanche.info"} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -4709,7 +4711,7 @@ examples: application/json: {"token": ""} responses: "201": - application/json: {"id": 8422.01, "organization_id": 9188.03, "project_id": "", "categories": ["ats", "hris", "accounting", "crm", "iam", "marketing", "lms", "stackone", "documents", "ticketing", "screening", "messaging", "accounting"], "origin_owner_id": "", "origin_owner_name": "", "created_at": "2024-10-01T04:59:29.242Z", "external_trigger_token": "f0bc3d88-2178-5423-8c81-b81d6c9da824", "type": "test"} + application/json: {"id": 8422.01, "organization_id": 9188.03, "project_id": "", "categories": ["ats", "hris", "accounting", "crm", "iam", "marketing", "lms", "stackone", "documents", "ticketing", "screening", "messaging", "accounting", "scheduling"], "origin_owner_id": "", "origin_owner_name": "", "created_at": "2024-10-01T04:59:29.242Z", "external_trigger_token": "f0bc3d88-2178-5423-8c81-b81d6c9da824", "type": "test"} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -5224,9 +5226,9 @@ examples: speakeasy-default-hris-list-employees: parameters: query: - fields: "id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields" + fields: "id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields" filter: {"updated_after": "2020-01-01T00:00:00.000Z"} - expand: "company,employments,work_location,home_location,groups,skills" + expand: "company,employments,work_location,home_location,groups,skills,manager" include: "avatar_url,avatar,custom_fields,job_description,benefits,bank_details" header: x-account-id: "" @@ -5297,14 +5299,14 @@ examples: path: id: "" query: - fields: "id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields" - expand: "company,employments,work_location,home_location,groups,skills" + fields: "id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields" + expand: "company,employments,work_location,home_location,groups,skills,manager" include: "avatar_url,avatar,custom_fields,job_description,benefits,bank_details" header: x-account-id: "" responses: "200": - application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "title": "Mr", "first_name": "Isaac", "last_name": "Newton", "name": "Isaac Newton", "display_name": "Sir Isaac Newton", "avatar_url": "https://example.com/avatar.png", "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "work_email": "newton@example.com", "work_phone_number": "+1234567890", "job_title": "Physicist", "groups": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": {"value": "team"}}], "gender": {}, "preferred_language": {"value": "eng"}, "ethnicity": {}, "date_of_birth": "1990-01-01T00:00:00.000Z", "birthday": "2021-01-01T00:00:00Z", "marital_status": {}, "avatar": {}, "hire_date": "2021-01-01T00:00:00.000Z", "start_date": "2021-01-01T00:00:00.000Z", "tenure": 2, "work_anniversary": "2021-01-01T00:00:00Z", "employment_status": {}, "termination_date": "2021-01-01T00:00:00Z", "company_id": "1234567890", "citizenships": [{"value": "US"}], "home_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": {"value": "US"}, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "work_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": null, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "company": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "StackOne Technologies PLC", "full_name": "American Express Company", "display_name": "StackOne", "created_at": "2023-02-23T00:00:00.000Z", "updated_at": "2024-02-23T00:00:00.000Z"}, "employments": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S"}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": null, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": null, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": null, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}], "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "value": "Completed", "value_id": "value_456", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"}], "benefits": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "description": "Health insurance for employees", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z"}], "employee_number": "125", "bank_details": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "account_name": "John Doe Primary Account", "is_primary": true, "country_code": {"value": "US"}, "currency_code": {"value": "USD", "source_value": "USD"}, "bank_name": "Chase Bank", "account_type": {"value": "checking", "source_value": "checking"}, "iban": "GB82WEST12345698765432", "local_account_number": "1234567890", "swift_bic": "CHASUS33", "clearing_codes": [{"type": {"value": "sort_code", "source_value": "sort_code"}, "value": "12-34-56"}]}], "national_identity_numbers": [{"value": "123456789", "type": {"value": "ssn"}, "country": {"value": "US"}}], "skills": [{"id": "16873-IT345", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Information-Technology", "active": true, "language": {"value": "en_GB"}, "maximum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}, "minimum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}}], "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} + application/json: {"data": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "title": "Mr", "first_name": "Isaac", "last_name": "Newton", "name": "Isaac Newton", "display_name": "Sir Isaac Newton", "avatar_url": "https://example.com/avatar.png", "personal_email": "isaac.newton@example.com", "personal_phone_number": "+1234567890", "work_email": "newton@example.com", "work_phone_number": "+1234567890", "job_title": "Physicist", "groups": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "type": {"value": "team"}}], "gender": {}, "preferred_language": {"value": "eng"}, "ethnicity": {}, "date_of_birth": "1990-01-01T00:00:00.000Z", "birthday": "2021-01-01T00:00:00Z", "marital_status": {}, "avatar": {}, "hire_date": "2021-01-01T00:00:00.000Z", "start_date": "2021-01-01T00:00:00.000Z", "tenure": 2, "work_anniversary": "2021-01-01T00:00:00Z", "employment_status": {}, "termination_date": "2021-01-01T00:00:00Z", "company_id": "1234567890", "citizenships": [{"value": "US"}], "home_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": {"value": "US"}, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "work_location": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "name": "Woolsthorpe Manor", "phone_number": "+44 1476 860 364", "street_1": "Water Lane", "street_2": "Woolsthorpe by Colsterworth", "city": "Grantham", "state": "Lincolnshire", "zip_code": "NG33 5NR", "country": null, "location_type": {"value": "home", "source_value": "Home"}, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}, "manager": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "John Doe", "email": "john.doe@example.com"}, "company": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "StackOne Technologies PLC", "full_name": "American Express Company", "display_name": "StackOne", "created_at": "2023-02-23T00:00:00.000Z", "updated_at": "2024-02-23T00:00:00.000Z"}, "employments": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "job_title": "Software Engineer", "pay_rate": "40.00", "pay_period": {"value": "hour", "source_value": "Hour"}, "pay_frequency": {"value": "hourly", "source_value": "Hourly"}, "pay_currency": "USD", "effective_date": "2021-01-01T01:01:01.000Z", "end_date": "2021-01-01T01:01:01.000Z", "grade": {"id": "1687-3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "1687-4", "description": "Mid-level employee demonstrating proficiency and autonomy."}, "type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Permanent", "type": {}}, "contract_type": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Full-Time", "contract_type": {}}, "work_time": {"duration": "P0Y0M0DT8H0M0S"}, "payroll_code": "PC1", "employee_id": "1687-3", "remote_employee_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48", "fte": 1, "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z", "active": true, "department": null, "cost_centers": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "unified_custom_fields": {"my_project_custom_field_1": "REF-1236", "my_project_custom_field_2": "some other value"}, "name": "Engineering", "parent_ids": ["cxIQNjUyNDM0", "cxIQNjQzNzI0MQ"], "remote_parent_ids": ["652434", "6437241"], "owner_ids": ["cxIQNjUyEDM0", "cxIQNjQzNzA0MQ"], "remote_owner_ids": ["475364", "4327652"], "company_id": "1234567890", "remote_company_id": "1234567890", "distribution_percentage": 85, "type": {"value": "team"}}], "division": null, "job": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "title": "Software Engineer", "description": null, "owner_id": "5356", "parent_id": "7577"}, "manager": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "role": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "label": "Admin", "role_type": {"value": "admin"}}}]}], "custom_fields": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Training Completion Status", "value": "Completed", "value_id": "value_456", "remote_value_id": "e3cb75bf-aa84-466e-a6c1-b8322b257a48"}], "benefits": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Health Insurance", "provider": "Aetna", "description": "Health insurance for employees", "created_at": "2021-01-01T00:00:00Z", "updated_at": "2021-01-01T00:00:00Z"}], "employee_number": "125", "bank_details": [{"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "account_name": "John Doe Primary Account", "is_primary": true, "country_code": {"value": "US"}, "currency_code": {"value": "USD", "source_value": "USD"}, "bank_name": "Chase Bank", "account_type": {"value": "checking", "source_value": "checking"}, "iban": "GB82WEST12345698765432", "local_account_number": "1234567890", "swift_bic": "CHASUS33", "clearing_codes": [{"type": {"value": "sort_code", "source_value": "sort_code"}, "value": "12-34-56"}]}], "national_identity_numbers": [{"value": "123456789", "type": {"value": "ssn"}, "country": {"value": "US"}}], "skills": [{"id": "16873-IT345", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Information-Technology", "active": true, "language": {"value": "en_GB"}, "maximum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}, "minimum_proficiency": {"id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "remote_id": "8187e5da-dc77-475e-9949-af0f1fa4e4e3", "name": "Expert"}}], "created_at": "2021-01-01T01:01:01.000Z", "updated_at": "2021-01-01T01:01:01.000Z"}} "400": application/json: {"statusCode": 400, "message": "Bad Request", "timestamp": "2023-05-30T00:00:00.000Z", "data": {"statusCode": 400, "message": "Bad Request", "headers": {}}, "provider_errors": [{"status": 400, "url": "https://api.provider.com/v1/resource", "raw": {}, "headers": {}}]} "401": @@ -15161,4 +15163,7 @@ examples: application/json: {"statusCode": 502, "message": "Bad Gateway", "timestamp": "2023-05-30T00:00:00.000Z"} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Php SDK Changes Detected:\n* `stackone->mcp->mcpPost()`: \n * `request.jsonRpcMessageDto->params` **Changed**\n" +releaseNotes: | + ## Php SDK Changes Detected: + * `stackone->hris->listEmployees()`: `response.data->[]->manager` **Added** + * `stackone->hris->getEmployee()`: `response.data->manager` **Added** diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 61c7429e..a4652dbf 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -25,7 +25,7 @@ generation: generateNewTests: false skipResponseBodyAssertions: false php: - version: 0.28.2 + version: 0.28.3 additionalDependencies: autoload: {} autoload-dev: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index ccffd76c..e4078538 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,4 +1,4 @@ -speakeasyVersion: 1.658.1 +speakeasyVersion: 1.660.0 sources: hris: sourceNamespace: hris @@ -8,20 +8,20 @@ sources: - latest stackone-specs: sourceNamespace: stackone-specs - sourceRevisionDigest: sha256:23f925f313c8c982e4211a5ced5f63be1708228079e372b2478acab2b77fc722 - sourceBlobDigest: sha256:cb2384cc1e43af118e6aa9f93cbbac4bccf29a3c358c61f99aea0de8ec99e1a9 + sourceRevisionDigest: sha256:91bc22043821f7ba08d39c950eb83a4bf6c50d3f829a54cc9ef1ca1b6f5eb012 + sourceBlobDigest: sha256:81e9442d0323bf94715cf8117bf8446d3a5543b0dfddcb288907448a181a60c0 tags: - latest - - speakeasy-sdk-regen-1763251466 + - speakeasy-sdk-regen-1763856286 - 1.0.0 targets: stack-one: source: stackone-specs sourceNamespace: stackone-specs - sourceRevisionDigest: sha256:23f925f313c8c982e4211a5ced5f63be1708228079e372b2478acab2b77fc722 - sourceBlobDigest: sha256:cb2384cc1e43af118e6aa9f93cbbac4bccf29a3c358c61f99aea0de8ec99e1a9 + sourceRevisionDigest: sha256:91bc22043821f7ba08d39c950eb83a4bf6c50d3f829a54cc9ef1ca1b6f5eb012 + sourceBlobDigest: sha256:81e9442d0323bf94715cf8117bf8446d3a5543b0dfddcb288907448a181a60c0 codeSamplesNamespace: stackone-specs-php-code-samples - codeSamplesRevisionDigest: sha256:a2eabe736051eabe93a5d0145abe2ffc9a193598b78f48d4d8efaf02428e08c3 + codeSamplesRevisionDigest: sha256:7528165b467e97d2b9272af883b584d6d28f9b2073d1bad36862a392f913d982 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/README.md b/README.md index 57215420..c820dc85 100644 --- a/README.md +++ b/README.md @@ -68,11 +68,11 @@ $sdk = client\StackOne::builder() $request = new Operations\HrisListEmployeesRequest( xAccountId: '', - fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', + fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', filter: new Operations\HrisListEmployeesQueryParamFilter( updatedAfter: Utils\Utils::parseDateTime('2020-01-01T00:00:00.000Z'), ), - expand: 'company,employments,work_location,home_location,groups,skills', + expand: 'company,employments,work_location,home_location,groups,skills,manager', include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details', ); @@ -133,6 +133,7 @@ $request = new Components\ConnectSessionCreate( Components\Categories::Screening, Components\Categories::Messaging, Components\Categories::Accounting, + Components\Categories::Scheduling, ], originOwnerId: '', originOwnerName: '', @@ -623,6 +624,7 @@ $request = new Components\ConnectSessionCreate( Components\Categories::Screening, Components\Categories::Messaging, Components\Categories::Accounting, + Components\Categories::Scheduling, ], originOwnerId: '', originOwnerName: '', @@ -688,6 +690,7 @@ $request = new Components\ConnectSessionCreate( Components\Categories::Screening, Components\Categories::Messaging, Components\Categories::Accounting, + Components\Categories::Scheduling, ], originOwnerId: '', originOwnerName: '', @@ -770,6 +773,7 @@ try { Components\Categories::Screening, Components\Categories::Messaging, Components\Categories::Accounting, + Components\Categories::Scheduling, ], originOwnerId: '', originOwnerName: '', @@ -861,6 +865,7 @@ $request = new Components\ConnectSessionCreate( Components\Categories::Screening, Components\Categories::Messaging, Components\Categories::Accounting, + Components\Categories::Scheduling, ], originOwnerId: '', originOwnerName: '', diff --git a/RELEASES.md b/RELEASES.md index 718569c2..842083c7 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -308,4 +308,14 @@ Based on: ### Generated - [php v0.28.2] . ### Releases -- [Composer v0.28.2] https://packagist.org/packages/stackone/client-sdk#v0.28.2 - . \ No newline at end of file +- [Composer v0.28.2] https://packagist.org/packages/stackone/client-sdk#v0.28.2 - . + +## 2025-11-23 00:04:23 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.660.0 (2.760.2) https://github.com/speakeasy-api/speakeasy +### Generated +- [php v0.28.3] . +### Releases +- [Composer v0.28.3] https://packagist.org/packages/stackone/client-sdk#v0.28.3 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index fcdd972e..aa3f5427 100644 --- a/USAGE.md +++ b/USAGE.md @@ -22,11 +22,11 @@ $sdk = client\StackOne::builder() $request = new Operations\HrisListEmployeesRequest( xAccountId: '', - fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', + fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', filter: new Operations\HrisListEmployeesQueryParamFilter( updatedAfter: Utils\Utils::parseDateTime('2020-01-01T00:00:00.000Z'), ), - expand: 'company,employments,work_location,home_location,groups,skills', + expand: 'company,employments,work_location,home_location,groups,skills,manager', include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details', ); diff --git a/docs/Models/Components/Categories.md b/docs/Models/Components/Categories.md index 8b9ed9d7..f0bb1c42 100644 --- a/docs/Models/Components/Categories.md +++ b/docs/Models/Components/Categories.md @@ -17,4 +17,5 @@ | `Ticketing` | ticketing | | `Screening` | screening | | `Messaging` | messaging | -| `Accounting` | accounting | \ No newline at end of file +| `Accounting` | accounting | +| `Scheduling` | scheduling | \ No newline at end of file diff --git a/docs/Models/Components/ConnectSession.md b/docs/Models/Components/ConnectSession.md index d2d0fc2d..70e5be32 100644 --- a/docs/Models/Components/ConnectSession.md +++ b/docs/Models/Components/ConnectSession.md @@ -3,19 +3,19 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *float* | :heavy_check_mark: | N/A | | -| `organizationId` | *float* | :heavy_check_mark: | N/A | | -| `projectId` | *string* | :heavy_check_mark: | N/A | | -| `categories` | array<[Components\ConnectSessionCategories](../../Models/Components/ConnectSessionCategories.md)> | :heavy_minus_sign: | N/A | [
"ats",
"hris",
"hrisLegacy",
"crm",
"iam",
"marketing",
"lms",
"stackOne",
"documents",
"ticketing",
"screening",
"messaging",
"accounting"
] | -| `provider` | *?string* | :heavy_minus_sign: | N/A | | -| `originOwnerId` | *string* | :heavy_check_mark: | N/A | | -| `originOwnerName` | *string* | :heavy_check_mark: | N/A | | -| `originUsername` | *?string* | :heavy_minus_sign: | N/A | | -| `accountId` | *?string* | :heavy_minus_sign: | N/A | | -| `label` | *?string* | :heavy_minus_sign: | N/A | | -| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | | -| `metadata` | [?Components\ConnectSessionMetadata](../../Models/Components/ConnectSessionMetadata.md) | :heavy_minus_sign: | Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan) | | -| `externalTriggerToken` | *?string* | :heavy_minus_sign: | External trigger token to be used to trigger actions on the account | f0bc3d88-2178-5423-8c81-b81d6c9da824 | -| `type` | [?Components\ConnectSessionType](../../Models/Components/ConnectSessionType.md) | :heavy_minus_sign: | The connect session account type | [
"PRODUCTION",
"TEST"
] | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *float* | :heavy_check_mark: | N/A | | +| `organizationId` | *float* | :heavy_check_mark: | N/A | | +| `projectId` | *string* | :heavy_check_mark: | N/A | | +| `categories` | array<[Components\ConnectSessionCategories](../../Models/Components/ConnectSessionCategories.md)> | :heavy_minus_sign: | N/A | [
"ats",
"hris",
"hrisLegacy",
"crm",
"iam",
"marketing",
"lms",
"stackOne",
"documents",
"ticketing",
"screening",
"messaging",
"accounting",
"scheduling"
] | +| `provider` | *?string* | :heavy_minus_sign: | N/A | | +| `originOwnerId` | *string* | :heavy_check_mark: | N/A | | +| `originOwnerName` | *string* | :heavy_check_mark: | N/A | | +| `originUsername` | *?string* | :heavy_minus_sign: | N/A | | +| `accountId` | *?string* | :heavy_minus_sign: | N/A | | +| `label` | *?string* | :heavy_minus_sign: | N/A | | +| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | | +| `metadata` | [?Components\ConnectSessionMetadata](../../Models/Components/ConnectSessionMetadata.md) | :heavy_minus_sign: | Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan) | | +| `externalTriggerToken` | *?string* | :heavy_minus_sign: | External trigger token to be used to trigger actions on the account | f0bc3d88-2178-5423-8c81-b81d6c9da824 | +| `type` | [?Components\ConnectSessionType](../../Models/Components/ConnectSessionType.md) | :heavy_minus_sign: | The connect session account type | [
"PRODUCTION",
"TEST"
] | \ No newline at end of file diff --git a/docs/Models/Components/ConnectSessionCategories.md b/docs/Models/Components/ConnectSessionCategories.md index 7e43bca8..262c3652 100644 --- a/docs/Models/Components/ConnectSessionCategories.md +++ b/docs/Models/Components/ConnectSessionCategories.md @@ -17,4 +17,5 @@ | `Ticketing` | ticketing | | `Screening` | screening | | `Messaging` | messaging | -| `Accounting` | accounting | \ No newline at end of file +| `Accounting` | accounting | +| `Scheduling` | scheduling | \ No newline at end of file diff --git a/docs/Models/Components/ConnectSessionCreate.md b/docs/Models/Components/ConnectSessionCreate.md index b8423fe3..bc868449 100644 --- a/docs/Models/Components/ConnectSessionCreate.md +++ b/docs/Models/Components/ConnectSessionCreate.md @@ -5,7 +5,7 @@ | Field | Type | Required | Description | Example | | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `categories` | array<[Components\Categories](../../Models/Components/Categories.md)> | :heavy_minus_sign: | The categories of the provider to connect to | [
"ats",
"hris",
"hrisLegacy",
"crm",
"iam",
"marketing",
"lms",
"stackOne",
"documents",
"ticketing",
"screening",
"messaging",
"accounting"
] | +| `categories` | array<[Components\Categories](../../Models/Components/Categories.md)> | :heavy_minus_sign: | The categories of the provider to connect to | [
"ats",
"hris",
"hrisLegacy",
"crm",
"iam",
"marketing",
"lms",
"stackOne",
"documents",
"ticketing",
"screening",
"messaging",
"accounting",
"scheduling"
] | | `provider` | *?string* | :heavy_minus_sign: | The provider to connect to | | | `providerVersion` | *?string* | :heavy_minus_sign: | The provider version to connect to | | | `originOwnerId` | *string* | :heavy_check_mark: | The origin owner identifier | | diff --git a/docs/Models/Components/ConnectSessionTokenAuthLink.md b/docs/Models/Components/ConnectSessionTokenAuthLink.md index da27e8da..25aa6f02 100644 --- a/docs/Models/Components/ConnectSessionTokenAuthLink.md +++ b/docs/Models/Components/ConnectSessionTokenAuthLink.md @@ -3,21 +3,21 @@ ## Fields -| Field | Type | Required | Description | Example | -| ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| `id` | *float* | :heavy_check_mark: | N/A | | -| `organizationId` | *float* | :heavy_check_mark: | N/A | | -| `projectId` | *string* | :heavy_check_mark: | N/A | | -| `categories` | array<[Components\ConnectSessionTokenAuthLinkCategories](../../Models/Components/ConnectSessionTokenAuthLinkCategories.md)> | :heavy_minus_sign: | N/A | [
"ats",
"hris",
"hrisLegacy",
"crm",
"iam",
"marketing",
"lms",
"stackOne",
"documents",
"ticketing",
"screening",
"messaging",
"accounting"
] | -| `provider` | *?string* | :heavy_minus_sign: | N/A | | -| `originOwnerId` | *string* | :heavy_check_mark: | N/A | | -| `originOwnerName` | *string* | :heavy_check_mark: | N/A | | -| `originUsername` | *?string* | :heavy_minus_sign: | N/A | | -| `accountId` | *?string* | :heavy_minus_sign: | N/A | | -| `label` | *?string* | :heavy_minus_sign: | N/A | | -| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | | -| `metadata` | [?Components\ConnectSessionTokenAuthLinkMetadata](../../Models/Components/ConnectSessionTokenAuthLinkMetadata.md) | :heavy_minus_sign: | Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan) | | -| `externalTriggerToken` | *?string* | :heavy_minus_sign: | External trigger token to be used to trigger actions on the account | f0bc3d88-2178-5423-8c81-b81d6c9da824 | -| `type` | [?Components\ConnectSessionTokenAuthLinkType](../../Models/Components/ConnectSessionTokenAuthLinkType.md) | :heavy_minus_sign: | The connect session account type | [
"PRODUCTION",
"TEST"
] | -| `token` | *string* | :heavy_check_mark: | N/A | | -| `authLinkUrl` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `id` | *float* | :heavy_check_mark: | N/A | | +| `organizationId` | *float* | :heavy_check_mark: | N/A | | +| `projectId` | *string* | :heavy_check_mark: | N/A | | +| `categories` | array<[Components\ConnectSessionTokenAuthLinkCategories](../../Models/Components/ConnectSessionTokenAuthLinkCategories.md)> | :heavy_minus_sign: | N/A | [
"ats",
"hris",
"hrisLegacy",
"crm",
"iam",
"marketing",
"lms",
"stackOne",
"documents",
"ticketing",
"screening",
"messaging",
"accounting",
"scheduling"
] | +| `provider` | *?string* | :heavy_minus_sign: | N/A | | +| `originOwnerId` | *string* | :heavy_check_mark: | N/A | | +| `originOwnerName` | *string* | :heavy_check_mark: | N/A | | +| `originUsername` | *?string* | :heavy_minus_sign: | N/A | | +| `accountId` | *?string* | :heavy_minus_sign: | N/A | | +| `label` | *?string* | :heavy_minus_sign: | N/A | | +| `createdAt` | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_check_mark: | N/A | | +| `metadata` | [?Components\ConnectSessionTokenAuthLinkMetadata](../../Models/Components/ConnectSessionTokenAuthLinkMetadata.md) | :heavy_minus_sign: | Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan) | | +| `externalTriggerToken` | *?string* | :heavy_minus_sign: | External trigger token to be used to trigger actions on the account | f0bc3d88-2178-5423-8c81-b81d6c9da824 | +| `type` | [?Components\ConnectSessionTokenAuthLinkType](../../Models/Components/ConnectSessionTokenAuthLinkType.md) | :heavy_minus_sign: | The connect session account type | [
"PRODUCTION",
"TEST"
] | +| `token` | *string* | :heavy_check_mark: | N/A | | +| `authLinkUrl` | *string* | :heavy_check_mark: | N/A | | \ No newline at end of file diff --git a/docs/Models/Components/ConnectSessionTokenAuthLinkCategories.md b/docs/Models/Components/ConnectSessionTokenAuthLinkCategories.md index 77fa7fca..44238e61 100644 --- a/docs/Models/Components/ConnectSessionTokenAuthLinkCategories.md +++ b/docs/Models/Components/ConnectSessionTokenAuthLinkCategories.md @@ -17,4 +17,5 @@ | `Ticketing` | ticketing | | `Screening` | screening | | `Messaging` | messaging | -| `Accounting` | accounting | \ No newline at end of file +| `Accounting` | accounting | +| `Scheduling` | scheduling | \ No newline at end of file diff --git a/docs/Models/Components/ConnectorsMetaCategory.md b/docs/Models/Components/ConnectorsMetaCategory.md index c8212b0b..e67d239e 100644 --- a/docs/Models/Components/ConnectorsMetaCategory.md +++ b/docs/Models/Components/ConnectorsMetaCategory.md @@ -19,4 +19,5 @@ The provider service category | `Ticketing` | ticketing | | `Screening` | screening | | `Messaging` | messaging | -| `Accounting` | accounting | \ No newline at end of file +| `Accounting` | accounting | +| `Scheduling` | scheduling | \ No newline at end of file diff --git a/docs/Models/Components/Employee.md b/docs/Models/Components/Employee.md index 16edd337..de4935c9 100644 --- a/docs/Models/Components/Employee.md +++ b/docs/Models/Components/Employee.md @@ -47,6 +47,7 @@ | `citizenships` | array<[Components\CountryCodeEnum](../../Models/Components/CountryCodeEnum.md)> | :heavy_minus_sign: | The citizenships of the Employee | | | `homeLocation` | [?Components\HomeLocation](../../Models/Components/HomeLocation.md) | :heavy_minus_sign: | The employee home location | | | `workLocation` | [?Components\WorkLocation](../../Models/Components/WorkLocation.md) | :heavy_minus_sign: | The employee work location | | +| `manager` | [?Components\Manager](../../Models/Components/Manager.md) | :heavy_minus_sign: | The employee manager details | | | `company` | [?Components\EmployeeCompany](../../Models/Components/EmployeeCompany.md) | :heavy_minus_sign: | The employee company | | | `employments` | array<[Components\Employment](../../Models/Components/Employment.md)> | :heavy_minus_sign: | The employee employments | | | `customFields` | array<[Components\CustomFields](../../Models/Components/CustomFields.md)> | :heavy_minus_sign: | The employee custom fields | | diff --git a/docs/Models/Components/LinkedAccountMetaCategory.md b/docs/Models/Components/LinkedAccountMetaCategory.md index ec1116b1..c45533f6 100644 --- a/docs/Models/Components/LinkedAccountMetaCategory.md +++ b/docs/Models/Components/LinkedAccountMetaCategory.md @@ -17,4 +17,5 @@ | `Ticketing` | ticketing | | `Screening` | screening | | `Messaging` | messaging | -| `Accounting` | accounting | \ No newline at end of file +| `Accounting` | accounting | +| `Scheduling` | scheduling | \ No newline at end of file diff --git a/docs/Models/Components/Manager.md b/docs/Models/Components/Manager.md new file mode 100644 index 00000000..ffcb567f --- /dev/null +++ b/docs/Models/Components/Manager.md @@ -0,0 +1,13 @@ +# Manager + +The employee manager details + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | ------------------------------------ | +| `id` | *?string* | :heavy_minus_sign: | Unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `remoteId` | *?string* | :heavy_minus_sign: | Provider's unique identifier | 8187e5da-dc77-475e-9949-af0f1fa4e4e3 | +| `name` | *?string* | :heavy_minus_sign: | The manager name | John Doe | +| `email` | *?string* | :heavy_minus_sign: | The manager email | john.doe@example.com | \ No newline at end of file diff --git a/docs/Models/Operations/HrisGetEmployeeRequest.md b/docs/Models/Operations/HrisGetEmployeeRequest.md index 3292135d..fa9bd299 100644 --- a/docs/Models/Operations/HrisGetEmployeeRequest.md +++ b/docs/Models/Operations/HrisGetEmployeeRequest.md @@ -3,12 +3,12 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | -| `id` | *string* | :heavy_check_mark: | N/A | | -| `raw` | *?bool* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | array | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields | -| `expand` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,groups,skills | -| `include` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits,bank_details | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | +| `id` | *string* | :heavy_check_mark: | N/A | | +| `raw` | *?bool* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | array | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields | +| `expand` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,groups,skills,manager | +| `include` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits,bank_details | \ No newline at end of file diff --git a/docs/Models/Operations/HrisListEmployeesRequest.md b/docs/Models/Operations/HrisListEmployeesRequest.md index 11575dbf..3f00f80b 100644 --- a/docs/Models/Operations/HrisListEmployeesRequest.md +++ b/docs/Models/Operations/HrisListEmployeesRequest.md @@ -3,16 +3,16 @@ ## Fields -| Field | Type | Required | Description | Example | -| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | -| `raw` | *?bool* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | -| `proxy` | array | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | -| `fields` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields | -| `filter` | [?Operations\HrisListEmployeesQueryParamFilter](../../Models/Operations/HrisListEmployeesQueryParamFilter.md) | :heavy_minus_sign: | HRIS Employees filters | | -| ~~`page`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | -| `pageSize` | *?string* | :heavy_minus_sign: | The number of results per page (default value is 25) | | -| `next` | *?string* | :heavy_minus_sign: | The unified cursor | | -| ~~`updatedAfter`~~ | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | -| `expand` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,groups,skills | -| `include` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits,bank_details | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| `xAccountId` | *string* | :heavy_check_mark: | The account identifier | | +| `raw` | *?bool* | :heavy_minus_sign: | Indicates that the raw request result should be returned in addition to the mapped result (default value is false) | | +| `proxy` | array | :heavy_minus_sign: | Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key | | +| `fields` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be returned in the response (if empty, all fields are returned) | id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields | +| `filter` | [?Operations\HrisListEmployeesQueryParamFilter](../../Models/Operations/HrisListEmployeesQueryParamFilter.md) | :heavy_minus_sign: | HRIS Employees filters | | +| ~~`page`~~ | *?string* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

The page number of the results to fetch | | +| `pageSize` | *?string* | :heavy_minus_sign: | The number of results per page (default value is 25) | | +| `next` | *?string* | :heavy_minus_sign: | The unified cursor | | +| ~~`updatedAfter`~~ | [\DateTime](https://www.php.net/manual/en/class.datetime.php) | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible.

Use a string with a date to only select results updated after that given date | 2020-01-01T00:00:00.000Z | +| `expand` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be expanded in the response | company,employments,work_location,home_location,groups,skills,manager | +| `include` | *?string* | :heavy_minus_sign: | The comma separated list of fields that will be included in the response | avatar_url,avatar,custom_fields,job_description,benefits,bank_details | \ No newline at end of file diff --git a/docs/sdks/connectsessions/README.md b/docs/sdks/connectsessions/README.md index 835b1968..4bec8ac7 100644 --- a/docs/sdks/connectsessions/README.md +++ b/docs/sdks/connectsessions/README.md @@ -49,6 +49,7 @@ $request = new Components\ConnectSessionCreate( Components\Categories::Screening, Components\Categories::Messaging, Components\Categories::Accounting, + Components\Categories::Scheduling, ], originOwnerId: '', originOwnerName: '', diff --git a/docs/sdks/hris/README.md b/docs/sdks/hris/README.md index 8bde53bf..a094a393 100644 --- a/docs/sdks/hris/README.md +++ b/docs/sdks/hris/README.md @@ -396,11 +396,11 @@ $sdk = client\StackOne::builder() $request = new Operations\HrisListEmployeesRequest( xAccountId: '', - fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', + fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', filter: new Operations\HrisListEmployeesQueryParamFilter( updatedAfter: Utils\Utils::parseDateTime('2020-01-01T00:00:00.000Z'), ), - expand: 'company,employments,work_location,home_location,groups,skills', + expand: 'company,employments,work_location,home_location,groups,skills,manager', include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details', ); @@ -634,8 +634,8 @@ $sdk = client\StackOne::builder() $request = new Operations\HrisGetEmployeeRequest( xAccountId: '', id: '', - fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', - expand: 'company,employments,work_location,home_location,groups,skills', + fields: 'id,remote_id,title,first_name,last_name,name,display_name,gender,ethnicity,date_of_birth,birthday,marital_status,avatar_url,avatar,personal_email,personal_phone_number,work_email,work_phone_number,job_id,remote_job_id,job_title,job_description,department_id,remote_department_id,department,cost_centers,company,manager_id,remote_manager_id,hire_date,start_date,tenure,work_anniversary,employment_type,employment_contract_type,employment_status,termination_date,company_name,company_id,remote_company_id,preferred_language,citizenships,home_location,work_location,manager,employments,custom_fields,created_at,updated_at,benefits,employee_number,national_identity_number,national_identity_numbers,bank_details,skills,unified_custom_fields', + expand: 'company,employments,work_location,home_location,groups,skills,manager', include: 'avatar_url,avatar,custom_fields,job_description,benefits,bank_details', ); diff --git a/src/Models/Components/Categories.php b/src/Models/Components/Categories.php index 259b0821..dc0b3f19 100644 --- a/src/Models/Components/Categories.php +++ b/src/Models/Components/Categories.php @@ -24,4 +24,5 @@ enum Categories: string case Screening = 'screening'; case Messaging = 'messaging'; case Accounting = 'accounting'; + case Scheduling = 'scheduling'; } diff --git a/src/Models/Components/ConnectSessionCategories.php b/src/Models/Components/ConnectSessionCategories.php index 480a8078..97ec288a 100644 --- a/src/Models/Components/ConnectSessionCategories.php +++ b/src/Models/Components/ConnectSessionCategories.php @@ -24,4 +24,5 @@ enum ConnectSessionCategories: string case Screening = 'screening'; case Messaging = 'messaging'; case Accounting = 'accounting'; + case Scheduling = 'scheduling'; } diff --git a/src/Models/Components/ConnectSessionTokenAuthLinkCategories.php b/src/Models/Components/ConnectSessionTokenAuthLinkCategories.php index c3410e5d..cea6037c 100644 --- a/src/Models/Components/ConnectSessionTokenAuthLinkCategories.php +++ b/src/Models/Components/ConnectSessionTokenAuthLinkCategories.php @@ -24,4 +24,5 @@ enum ConnectSessionTokenAuthLinkCategories: string case Screening = 'screening'; case Messaging = 'messaging'; case Accounting = 'accounting'; + case Scheduling = 'scheduling'; } diff --git a/src/Models/Components/ConnectorsMetaCategory.php b/src/Models/Components/ConnectorsMetaCategory.php index 424b5059..02f1120f 100644 --- a/src/Models/Components/ConnectorsMetaCategory.php +++ b/src/Models/Components/ConnectorsMetaCategory.php @@ -25,4 +25,5 @@ enum ConnectorsMetaCategory: string case Screening = 'screening'; case Messaging = 'messaging'; case Accounting = 'accounting'; + case Scheduling = 'scheduling'; } diff --git a/src/Models/Components/Employee.php b/src/Models/Components/Employee.php index 1befd7fa..c3d7cf12 100644 --- a/src/Models/Components/Employee.php +++ b/src/Models/Components/Employee.php @@ -414,6 +414,16 @@ class Employee #[\Speakeasy\Serializer\Annotation\SkipWhenNull] public ?WorkLocation $workLocation = null; + /** + * The employee manager details + * + * @var ?Manager $manager + */ + #[\Speakeasy\Serializer\Annotation\SerializedName('manager')] + #[\Speakeasy\Serializer\Annotation\Type('\StackOne\client\Models\Components\Manager|null')] + #[\Speakeasy\Serializer\Annotation\SkipWhenNull] + public ?Manager $manager = null; + /** * The employee company * @@ -565,6 +575,7 @@ class Employee * @param ?array $citizenships * @param ?HomeLocation $homeLocation * @param ?WorkLocation $workLocation + * @param ?Manager $manager * @param ?EmployeeCompany $company * @param ?array $employments * @param ?array $customFields @@ -578,7 +589,7 @@ class Employee * @param ?\DateTime $updatedAt * @phpstan-pure */ - public function __construct(?string $id = null, ?string $remoteId = null, ?array $unifiedCustomFields = null, ?string $title = null, ?string $firstName = null, ?string $lastName = null, ?string $name = null, ?string $displayName = null, ?string $avatarUrl = null, ?string $personalEmail = null, ?string $personalPhoneNumber = null, ?string $workEmail = null, ?string $workPhoneNumber = null, ?string $jobId = null, ?string $jobTitle = null, ?JobDescription $jobDescription = null, ?string $departmentId = null, ?string $department = null, ?array $groups = null, ?array $costCenters = null, ?string $managerId = null, ?string $remoteManagerId = null, ?Gender $gender = null, ?PreferredLanguage $preferredLanguage = null, ?Ethnicity $ethnicity = null, ?\DateTime $dateOfBirth = null, ?\DateTime $birthday = null, ?MaritalStatus $maritalStatus = null, ?Avatar $avatar = null, ?\DateTime $hireDate = null, ?\DateTime $startDate = null, ?float $tenure = null, ?\DateTime $workAnniversary = null, ?EmploymentType $employmentType = null, ?EmploymentContractType $employmentContractType = null, ?EmploymentStatus $employmentStatus = null, ?\DateTime $terminationDate = null, ?string $companyName = null, ?string $companyId = null, ?array $citizenships = null, ?HomeLocation $homeLocation = null, ?WorkLocation $workLocation = null, ?EmployeeCompany $company = null, ?array $employments = null, ?array $customFields = null, ?array $benefits = null, ?string $employeeNumber = null, ?array $bankDetails = null, ?NationalIdentityNumber $nationalIdentityNumber = null, ?array $nationalIdentityNumbers = null, ?array $skills = null, ?\DateTime $createdAt = null, ?\DateTime $updatedAt = null) + public function __construct(?string $id = null, ?string $remoteId = null, ?array $unifiedCustomFields = null, ?string $title = null, ?string $firstName = null, ?string $lastName = null, ?string $name = null, ?string $displayName = null, ?string $avatarUrl = null, ?string $personalEmail = null, ?string $personalPhoneNumber = null, ?string $workEmail = null, ?string $workPhoneNumber = null, ?string $jobId = null, ?string $jobTitle = null, ?JobDescription $jobDescription = null, ?string $departmentId = null, ?string $department = null, ?array $groups = null, ?array $costCenters = null, ?string $managerId = null, ?string $remoteManagerId = null, ?Gender $gender = null, ?PreferredLanguage $preferredLanguage = null, ?Ethnicity $ethnicity = null, ?\DateTime $dateOfBirth = null, ?\DateTime $birthday = null, ?MaritalStatus $maritalStatus = null, ?Avatar $avatar = null, ?\DateTime $hireDate = null, ?\DateTime $startDate = null, ?float $tenure = null, ?\DateTime $workAnniversary = null, ?EmploymentType $employmentType = null, ?EmploymentContractType $employmentContractType = null, ?EmploymentStatus $employmentStatus = null, ?\DateTime $terminationDate = null, ?string $companyName = null, ?string $companyId = null, ?array $citizenships = null, ?HomeLocation $homeLocation = null, ?WorkLocation $workLocation = null, ?Manager $manager = null, ?EmployeeCompany $company = null, ?array $employments = null, ?array $customFields = null, ?array $benefits = null, ?string $employeeNumber = null, ?array $bankDetails = null, ?NationalIdentityNumber $nationalIdentityNumber = null, ?array $nationalIdentityNumbers = null, ?array $skills = null, ?\DateTime $createdAt = null, ?\DateTime $updatedAt = null) { $this->id = $id; $this->remoteId = $remoteId; @@ -622,6 +633,7 @@ public function __construct(?string $id = null, ?string $remoteId = null, ?array $this->citizenships = $citizenships; $this->homeLocation = $homeLocation; $this->workLocation = $workLocation; + $this->manager = $manager; $this->company = $company; $this->employments = $employments; $this->customFields = $customFields; diff --git a/src/Models/Components/LinkedAccountMetaCategory.php b/src/Models/Components/LinkedAccountMetaCategory.php index bc578e32..aebd25e3 100644 --- a/src/Models/Components/LinkedAccountMetaCategory.php +++ b/src/Models/Components/LinkedAccountMetaCategory.php @@ -24,4 +24,5 @@ enum LinkedAccountMetaCategory: string case Screening = 'screening'; case Messaging = 'messaging'; case Accounting = 'accounting'; + case Scheduling = 'scheduling'; } diff --git a/src/Models/Components/Manager.php b/src/Models/Components/Manager.php new file mode 100644 index 00000000..1f124d01 --- /dev/null +++ b/src/Models/Components/Manager.php @@ -0,0 +1,65 @@ +id = $id; + $this->remoteId = $remoteId; + $this->name = $name; + $this->email = $email; + } +} \ No newline at end of file diff --git a/src/SDKConfiguration.php b/src/SDKConfiguration.php index 16ef7792..e2da0605 100644 --- a/src/SDKConfiguration.php +++ b/src/SDKConfiguration.php @@ -24,11 +24,11 @@ class SDKConfiguration public string $openapiDocVersion = '1.0.0'; - public string $sdkVersion = '0.28.2'; + public string $sdkVersion = '0.28.3'; - public string $genVersion = '2.755.6'; + public string $genVersion = '2.760.2'; - public string $userAgent = 'speakeasy-sdk/php 0.28.2 2.755.6 1.0.0 stackone/client-sdk'; + public string $userAgent = 'speakeasy-sdk/php 0.28.3 2.760.2 1.0.0 stackone/client-sdk'; public ?RetryConfig $retryConfig = null; From 9f8ce04b5765cd5dcee0a15cf0f8c139ec8a9c38 Mon Sep 17 00:00:00 2001 From: "speakeasy-github[bot]" <128539517+speakeasy-github[bot]@users.noreply.github.com> Date: Sun, 23 Nov 2025 00:16:14 +0000 Subject: [PATCH 2/2] empty commit to trigger [run-tests] workflow