@thera-hr/api-sdk 0.0.2972 → 0.0.3000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +16 -16
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +28 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +338 -1
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +12 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +8 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +6 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +7 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +9 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +9 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +11 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +10 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +5 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
- package/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/dist/api/resources/api/resources/aiprise/resources/aipriseWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/services/resources/file/client/Client.js +4 -4
- package/dist/api/resources/api/resources/test/resources/invoices/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/bank/resources/bankApi/client/Client.js +16 -16
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.d.ts +28 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/Client.js +338 -1
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +12 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +8 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +6 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +7 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +9 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +9 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +11 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +10 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +5 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
- package/dist/api/resources/api/resources/thera/resources/company/resources/companyW2PayrollApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementApi/client/Client.js +2 -2
- package/dist/api/resources/api/resources/thera/resources/disbursement/resources/disbursementWebhookApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/employment/resources/employmentApi/client/Client.js +3 -3
- package/dist/api/resources/api/resources/thera/resources/misc/resources/misc/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/payroll/resources/oncycleApi/client/Client.js +1 -1
- package/dist/api/resources/api/resources/thera/resources/user/resources/userApi/client/Client.js +1 -1
- package/dist/api/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.js +17 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +45 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +16 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +48 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +13 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +43 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +46 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +33 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +11 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +10 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +31 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +12 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +42 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/index.d.ts +1 -0
- package/dist/serialization/resources/api/resources/thera/resources/company/resources/index.js +1 -0
- package/dist/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/dist/serialization/resources/db/resources/employment/types/Employment.js +1 -0
- package/package.json +1 -1
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/index.js +17 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/AddOrgAdminsRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/ChangeContractTeamRequest.js +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/CreateTeamRequest.js +43 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/EditManagerRolesRequest.js +45 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.d.ts +16 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/InviteManagerRequest.js +48 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.d.ts +5 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/client/requests/index.js +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/index.js +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/AddOrgAdminsResponse.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/ChangeContractTeamResponse.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateEmployment.js +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.d.ts +13 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamRequestManager.js +43 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/CreateTeamResponse.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/EditManagerRolesResponse.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/GetManagersResponse.js +42 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/InviteManagerResponse.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/Manager.js +46 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgAdmin.js +33 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRole.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/OrgRoleAndDetails.js +42 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.d.ts +11 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/RemoveManagerResponse.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.d.ts +10 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRole.js +31 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.d.ts +12 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/TeamRoleAndDetails.js +42 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.d.ts +14 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/companyApi/types/index.js +14 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/index.d.ts +1 -0
- package/serialization/resources/api/resources/thera/resources/company/resources/index.js +1 -0
- package/serialization/resources/db/resources/employment/types/Employment.d.ts +1 -0
- package/serialization/resources/db/resources/employment/types/Employment.js +1 -0
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const ChangeContractTeamResponse: core.serialization.ObjectSchema<serializers.api.thera.company.ChangeContractTeamResponse.Raw, TheraApi.api.thera.company.ChangeContractTeamResponse>;
|
8
|
+
export declare namespace ChangeContractTeamResponse {
|
9
|
+
interface Raw {
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ChangeContractTeamResponse = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.ChangeContractTeamResponse = core.serialization.object({});
|
@@ -54,4 +54,5 @@ exports.CreateEmployment = core.serialization.object({
|
|
54
54
|
payCycle: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).model.thera.PayCycle; })),
|
55
55
|
workerCanSubmitWork: core.serialization.boolean().optional(),
|
56
56
|
clientCanSubmitWork: core.serialization.boolean().optional(),
|
57
|
+
teamId: core.serialization.string().optional(),
|
57
58
|
});
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const CreateTeamRequestManager: core.serialization.ObjectSchema<serializers.api.thera.company.CreateTeamRequestManager.Raw, TheraApi.api.thera.company.CreateTeamRequestManager>;
|
8
|
+
export declare namespace CreateTeamRequestManager {
|
9
|
+
interface Raw {
|
10
|
+
userId: string;
|
11
|
+
role: serializers.api.thera.company.TeamRoleAndDetails.Raw;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.CreateTeamRequestManager = void 0;
|
39
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
40
|
+
exports.CreateTeamRequestManager = core.serialization.object({
|
41
|
+
userId: core.serialization.string(),
|
42
|
+
role: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.TeamRoleAndDetails; })),
|
43
|
+
});
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const CreateTeamResponse: core.serialization.ObjectSchema<serializers.api.thera.company.CreateTeamResponse.Raw, TheraApi.api.thera.company.CreateTeamResponse>;
|
8
|
+
export declare namespace CreateTeamResponse {
|
9
|
+
interface Raw {
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.CreateTeamResponse = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.CreateTeamResponse = core.serialization.object({});
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const EditManagerRolesResponse: core.serialization.ObjectSchema<serializers.api.thera.company.EditManagerRolesResponse.Raw, TheraApi.api.thera.company.EditManagerRolesResponse>;
|
8
|
+
export declare namespace EditManagerRolesResponse {
|
9
|
+
interface Raw {
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.EditManagerRolesResponse = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.EditManagerRolesResponse = core.serialization.object({});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const GetManagersResponse: core.serialization.ObjectSchema<serializers.api.thera.company.GetManagersResponse.Raw, TheraApi.api.thera.company.GetManagersResponse>;
|
8
|
+
export declare namespace GetManagersResponse {
|
9
|
+
interface Raw {
|
10
|
+
managers: serializers.api.thera.company.Manager.Raw[];
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.GetManagersResponse = void 0;
|
39
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
40
|
+
exports.GetManagersResponse = core.serialization.object({
|
41
|
+
managers: core.serialization.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.Manager; }))),
|
42
|
+
});
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const InviteManagerResponse: core.serialization.ObjectSchema<serializers.api.thera.company.InviteManagerResponse.Raw, TheraApi.api.thera.company.InviteManagerResponse>;
|
8
|
+
export declare namespace InviteManagerResponse {
|
9
|
+
interface Raw {
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.InviteManagerResponse = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.InviteManagerResponse = core.serialization.object({});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const Manager: core.serialization.ObjectSchema<serializers.api.thera.company.Manager.Raw, TheraApi.api.thera.company.Manager>;
|
8
|
+
export declare namespace Manager {
|
9
|
+
interface Raw {
|
10
|
+
user: serializers.db.User.Raw;
|
11
|
+
teams: Record<string, serializers.api.thera.company.TeamRoleAndDetails.Raw>;
|
12
|
+
orgAdmin?: serializers.api.thera.company.OrgRoleAndDetails.Raw | null;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.Manager = void 0;
|
39
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
40
|
+
exports.Manager = core.serialization.object({
|
41
|
+
user: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).db.User; })),
|
42
|
+
teams: core.serialization.record(core.serialization.string(), core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.TeamRoleAndDetails; }))),
|
43
|
+
orgAdmin: core.serialization
|
44
|
+
.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.OrgRoleAndDetails; }))
|
45
|
+
.optional(),
|
46
|
+
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const OrgAdmin: core.serialization.ObjectSchema<serializers.api.thera.company.OrgAdmin.Raw, TheraApi.api.thera.company.OrgAdmin>;
|
8
|
+
export declare namespace OrgAdmin {
|
9
|
+
interface Raw {
|
10
|
+
userId: string;
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.OrgAdmin = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.OrgAdmin = core.serialization.object({
|
32
|
+
userId: core.serialization.string(),
|
33
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const OrgRole: core.serialization.Schema<serializers.api.thera.company.OrgRole.Raw, TheraApi.api.thera.company.OrgRole>;
|
8
|
+
export declare namespace OrgRole {
|
9
|
+
type Raw = "ADMIN";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.OrgRole = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.OrgRole = core.serialization.enum_(["ADMIN"]);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const OrgRoleAndDetails: core.serialization.ObjectSchema<serializers.api.thera.company.OrgRoleAndDetails.Raw, TheraApi.api.thera.company.OrgRoleAndDetails>;
|
8
|
+
export declare namespace OrgRoleAndDetails {
|
9
|
+
interface Raw {
|
10
|
+
role: serializers.api.thera.company.OrgRole.Raw;
|
11
|
+
}
|
12
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
35
|
+
});
|
36
|
+
};
|
37
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
38
|
+
exports.OrgRoleAndDetails = void 0;
|
39
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
40
|
+
exports.OrgRoleAndDetails = core.serialization.object({
|
41
|
+
role: core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("../../../../../../../../..")))).api.thera.company.OrgRole; })),
|
42
|
+
});
|
@@ -0,0 +1,11 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const RemoveManagerResponse: core.serialization.ObjectSchema<serializers.api.thera.company.RemoveManagerResponse.Raw, TheraApi.api.thera.company.RemoveManagerResponse>;
|
8
|
+
export declare namespace RemoveManagerResponse {
|
9
|
+
interface Raw {
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.RemoveManagerResponse = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.RemoveManagerResponse = core.serialization.object({});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const TeamRole: core.serialization.Schema<serializers.api.thera.company.TeamRole.Raw, TheraApi.api.thera.company.TeamRole>;
|
8
|
+
export declare namespace TeamRole {
|
9
|
+
type Raw = "ADMIN" | "PEOPLE_MANAGER" | "VIEWER_SENSITIVE";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.TeamRole = void 0;
|
30
|
+
const core = __importStar(require("../../../../../../../../../../core"));
|
31
|
+
exports.TeamRole = core.serialization.enum_(["ADMIN", "PEOPLE_MANAGER", "VIEWER_SENSITIVE"]);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../../../../../../../../..";
|
5
|
+
import * as TheraApi from "../../../../../../../../../../api";
|
6
|
+
import * as core from "../../../../../../../../../../core";
|
7
|
+
export declare const TeamRoleAndDetails: core.serialization.ObjectSchema<serializers.api.thera.company.TeamRoleAndDetails.Raw, TheraApi.api.thera.company.TeamRoleAndDetails>;
|
8
|
+
export declare namespace TeamRoleAndDetails {
|
9
|
+
interface Raw {
|
10
|
+
role: serializers.api.thera.company.TeamRole.Raw;
|
11
|
+
}
|
12
|
+
}
|