@@ -807,6 +807,18 @@ actions:
807807 - " lang " : " ruby"
808808 " label " : " hris_list_groups"
809809 " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListGroupsRequest.new(\n fields_: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\" ,\n filter: Models::Operations::HrisListGroupsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_groups(req)\n\n if ! res.hris_groups_paginated.nil?\n # handle response\n end"
810+ - target : $["paths"]["/unified/hris/groups/companies"]["get"]
811+ update :
812+ " x-codeSamples " :
813+ - " lang " : " ruby"
814+ " label " : " hris_list_companies_groups"
815+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListCompaniesGroupsRequest.new(\n fields_: \" id,remote_id,name,full_name,display_name,created_at,updated_at\" ,\n filter: Models::Operations::HrisListCompaniesGroupsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_companies_groups(req)\n\n if ! res.companies_paginated.nil?\n # handle response\n end"
816+ - target : $["paths"]["/unified/hris/groups/companies/{id}"]["get"]
817+ update :
818+ " x-codeSamples " :
819+ - " lang " : " ruby"
820+ " label " : " hris_get_company_group"
821+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetCompanyGroupRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,name,full_name,display_name,created_at,updated_at\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_company_group(req)\n\n if ! res.company_result.nil?\n # handle response\n end"
810822 - target : $["paths"]["/unified/hris/groups/cost_centers"]["get"]
811823 update :
812824 " x-codeSamples " :
@@ -824,13 +836,25 @@ actions:
824836 " x-codeSamples " :
825837 - " lang " : " ruby"
826838 " label " : " hris_list_department_groups"
827- " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListDepartmentGroupsRequest.new(\n fields_: \" id,remote_id,name\" ,\n filter: Models::Operations::HrisListDepartmentGroupsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_department_groups(req)\n\n if ! res.hris_departments_paginated.nil?\n # handle response\n end"
839+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListDepartmentGroupsRequest.new(\n fields_: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id \" ,\n filter: Models::Operations::HrisListDepartmentGroupsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_department_groups(req)\n\n if ! res.hris_departments_paginated.nil?\n # handle response\n end"
828840 - target : $["paths"]["/unified/hris/groups/departments/{id}"]["get"]
829841 update :
830842 " x-codeSamples " :
831843 - " lang " : " ruby"
832844 " label " : " hris_get_department_group"
833- " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetDepartmentGroupRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,name\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_department_group(req)\n\n if ! res.hris_departments_result.nil?\n # handle response\n end"
845+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetDepartmentGroupRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_department_group(req)\n\n if ! res.hris_departments_result.nil?\n # handle response\n end"
846+ - target : $["paths"]["/unified/hris/groups/divisions"]["get"]
847+ update :
848+ " x-codeSamples " :
849+ - " lang " : " ruby"
850+ " label " : " hris_list_division_groups"
851+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListDivisionGroupsRequest.new(\n fields_: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\" ,\n filter: Models::Operations::HrisListDivisionGroupsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_division_groups(req)\n\n if ! res.hris_divisions_paginated.nil?\n # handle response\n end"
852+ - target : $["paths"]["/unified/hris/groups/divisions/{id}"]["get"]
853+ update :
854+ " x-codeSamples " :
855+ - " lang " : " ruby"
856+ " label " : " hris_get_division_group"
857+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetDivisionGroupRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_division_group(req)\n\n if ! res.hris_divisions_result.nil?\n # handle response\n end"
834858 - target : $["paths"]["/unified/hris/groups/teams"]["get"]
835859 update :
836860 " x-codeSamples " :
@@ -885,6 +909,18 @@ actions:
885909 - " lang " : " ruby"
886910 " label " : " hris_get_position"
887911 " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetPositionRequest.new(\n id: \" <id>\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_position(req)\n\n if ! res.position_result.nil?\n # handle response\n end"
912+ - target : $["paths"]["/unified/hris/tasks"]["get"]
913+ update :
914+ " x-codeSamples " :
915+ - " lang " : " ruby"
916+ " label " : " hris_list_tasks"
917+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListTasksRequest.new(\n fields_: \" id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\" ,\n filter: Models::Operations::HrisListTasksQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n expand: \" attachments\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_tasks(req)\n\n if ! res.tasks_paginated.nil?\n # handle response\n end"
918+ - target : $["paths"]["/unified/hris/tasks/{id}"]["get"]
919+ update :
920+ " x-codeSamples " :
921+ - " lang " : " ruby"
922+ " label " : " hris_get_task"
923+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetTaskRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,name,description,type,status,due_date,completion_date,assigned_by_employee_id,remote_assigned_by_employee_id,assigned_by_employee_name,link_to_task,extracted_links,next_task_id,remote_next_task_id,parent_process_name,comments,attachments,created_at,updated_at\" ,\n expand: \" attachments\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_task(req)\n\n if ! res.task_result.nil?\n # handle response\n end"
888924 - target : $["paths"]["/unified/hris/time_entries"]["get"]
889925 update :
890926 " x-codeSamples " :
0 commit comments