@@ -572,7 +572,7 @@ actions:
572572 " x-codeSamples " :
573573 - " lang " : " typescript"
574574 " label " : " documents_list_files"
575- " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.documents.listFiles({\n fields: \" id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,created_at,updated_at,has_content,has_children\" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
575+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.documents.listFiles({\n fields: \" id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format, created_at,updated_at,has_content,has_children\" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
576576 - target : $["paths"]["/unified/documents/files/search"]["post"]
577577 update :
578578 " x-codeSamples " :
@@ -590,7 +590,7 @@ actions:
590590 " x-codeSamples " :
591591 - " lang " : " typescript"
592592 " label " : " documents_get_file"
593- " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.documents.getFile({\n id: \" <id>\" ,\n fields: \" id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,created_at,updated_at,has_content,has_children\" ,\n xAccountId: \" <id>\" ,\n });\n\n console.log(result);\n }\n\n run();"
593+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.documents.getFile({\n id: \" <id>\" ,\n fields: \" id,remote_id,name,description,url,size,file_format,path,owner_id,remote_owner_id,folder_id,remote_folder_id,drive_id,remote_drive_id,export_formats,default_download_format, created_at,updated_at,has_content,has_children\" ,\n xAccountId: \" <id>\" ,\n });\n\n console.log(result);\n }\n\n run();"
594594 - target : $["paths"]["/unified/documents/files/{id}/download"]["get"]
595595 update :
596596 " x-codeSamples " :
@@ -861,6 +861,18 @@ actions:
861861 - " lang " : " typescript"
862862 " label " : " hris_list_groups"
863863 " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.listGroups({\n fields: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
864+ - target : $["paths"]["/unified/hris/groups/companies"]["get"]
865+ update :
866+ " x-codeSamples " :
867+ - " lang " : " typescript"
868+ " label " : " hris_list_companies_groups"
869+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.listCompaniesGroups({\n fields: \" id,remote_id,name,full_name,display_name,created_at,updated_at\" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
870+ - target : $["paths"]["/unified/hris/groups/companies/{id}"]["get"]
871+ update :
872+ " x-codeSamples " :
873+ - " lang " : " typescript"
874+ " label " : " hris_get_company_group"
875+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.getCompanyGroup({\n id: \" <id>\" ,\n fields: \" id,remote_id,name,full_name,display_name,created_at,updated_at\" ,\n xAccountId: \" <id>\" ,\n });\n\n console.log(result);\n }\n\n run();"
864876 - target : $["paths"]["/unified/hris/groups/cost_centers"]["get"]
865877 update :
866878 " x-codeSamples " :
@@ -878,13 +890,25 @@ actions:
878890 " x-codeSamples " :
879891 - " lang " : " typescript"
880892 " label " : " hris_list_department_groups"
881- " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.listDepartmentGroups({\n fields: \" id,remote_id,name\" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
893+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.listDepartmentGroups({\n fields: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id \" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
882894 - target : $["paths"]["/unified/hris/groups/departments/{id}"]["get"]
883895 update :
884896 " x-codeSamples " :
885897 - " lang " : " typescript"
886898 " label " : " hris_get_department_group"
887- " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.getDepartmentGroup({\n id: \" <id>\" ,\n fields: \" id,remote_id,name\" ,\n xAccountId: \" <id>\" ,\n });\n\n console.log(result);\n }\n\n run();"
899+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.getDepartmentGroup({\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 xAccountId: \" <id>\" ,\n });\n\n console.log(result);\n }\n\n run();"
900+ - target : $["paths"]["/unified/hris/groups/divisions"]["get"]
901+ update :
902+ " x-codeSamples " :
903+ - " lang " : " typescript"
904+ " label " : " hris_list_division_groups"
905+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.listDivisionGroups({\n fields: \" id,remote_id,name,type,parent_ids,remote_parent_ids,owner_ids,remote_owner_ids,company_id,remote_company_id\" ,\n filter: {\n updatedAfter: \" 2020-01-01T00:00:00.000Z\" ,\n },\n xAccountId: \" <id>\" ,\n });\n\n for await (const page of result) {\n console.log(page);\n }\n }\n\n run();"
906+ - target : $["paths"]["/unified/hris/groups/divisions/{id}"]["get"]
907+ update :
908+ " x-codeSamples " :
909+ - " lang " : " typescript"
910+ " label " : " hris_get_division_group"
911+ " source " : " import { StackOne } from \" @stackone/stackone-client-ts\" ;\n\n const stackOne = new StackOne({\n security: {\n username: \"\" ,\n password: \"\" ,\n },\n });\n\n async function run() {\n const result = await stackOne.hris.getDivisionGroup({\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 xAccountId: \" <id>\" ,\n });\n\n console.log(result);\n }\n\n run();"
888912 - target : $["paths"]["/unified/hris/groups/teams"]["get"]
889913 update :
890914 " x-codeSamples " :
0 commit comments