Skip to content

Commit

Permalink
Updated JavaScript SDK: v3.0.11
Browse files Browse the repository at this point in the history
  • Loading branch information
1 parent 1bcb702 commit 43b490b
Show file tree
Hide file tree
Showing 41 changed files with 47 additions and 47 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# asana [![GitHub release][release-image]][release-url] [![NPM Version][npm-image]][npm-url]

- API version: 1.0
- Package version: 3.0.10
- Package version: 3.0.11

## Installation

Expand All @@ -18,7 +18,7 @@ npm install asana --save
Include the latest release directly from GitHub:

```html
<script src="https://github.com/Asana/node-asana/releases/download/v3.0.10/asana-min.js"></script>
<script src="https://github.com/Asana/node-asana/releases/download/v3.0.11/asana-min.js"></script>
```

Example usage (**NOTE**: be careful not to expose your access token):
Expand Down Expand Up @@ -1111,6 +1111,6 @@ client.callApi(
```

[release-image]: https://img.shields.io/github/release/asana/node-asana.svg
[release-url]: https://github.com/Asana/node-asana/releases/tag/v3.0.10
[release-url]: https://github.com/Asana/node-asana/releases/tag/v3.0.11
[npm-image]: http://img.shields.io/npm/v/asana.svg?style=flat-square
[npm-url]: https://www.npmjs.org/package/asana
2 changes: 1 addition & 1 deletion docs/ProjectsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ object

Add users to a project

Adds the specified list of users as members of the project. Note that a user being added as a member may also be added as a *follower* as a result of this operation. This is because the user's default notification settings (i.e., in the \"Notifcations\" tab of \"My Profile Settings\") will override this endpoint's default behavior of setting \"Tasks added\" notifications to `false`. Returns the updated project record.
Adds the specified list of users as members of the project. Note that a user being added as a member may also be added as a *follower* as a result of this operation. This is because the user's default notification settings (i.e., in the \"Notifications\" tab of \"My Profile Settings\") will override this endpoint's default behavior of setting \"Tasks added\" notifications to `false`. Returns the updated project record.

([more information](https://developers.asana.com/reference/addmembersforproject))

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asana",
"version": "3.0.10",
"version": "3.0.11",
"description": "This_is_the_interface_for_interacting_with_the__Asana_Platform_httpsdevelopers_asana_com__Our_API_reference_is_generated_from_our__OpenAPI_spec__httpsraw_githubusercontent_comAsanaopenapimasterdefsasana_oas_yaml_",
"license": "Apache 2.0",
"main": "src/index.js",
Expand Down
6 changes: 3 additions & 3 deletions src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import superagent from "superagent";

/**
* @module ApiClient
* @version 3.0.10
* @version 3.0.11
*/

/**
Expand Down Expand Up @@ -412,7 +412,7 @@ export class ApiClient {
if (typeof(navigator) === 'undefined' || typeof(window) === 'undefined') {
headerParams['X-Asana-Client-Lib'] = new URLSearchParams(
{
'version': "3.0.10",
'version': "3.0.11",
'language': 'NodeJS',
'language_version': process.version,
'os': process.platform
Expand All @@ -421,7 +421,7 @@ export class ApiClient {
} else {
headerParams['X-Asana-Client-Lib'] = new URLSearchParams(
{
'version': "3.0.10",
'version': "3.0.11",
'language': 'BrowserJS'
}
).toString();
Expand Down
2 changes: 1 addition & 1 deletion src/api/AllocationsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Allocations service.
* @module api/AllocationsApi
* @version 3.0.10
* @version 3.0.11
*/
export class AllocationsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/AttachmentsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Attachments service.
* @module api/AttachmentsApi
* @version 3.0.10
* @version 3.0.11
*/
export class AttachmentsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/AuditLogAPIApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* AuditLogAPI service.
* @module api/AuditLogAPIApi
* @version 3.0.10
* @version 3.0.11
*/
export class AuditLogAPIApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/BatchAPIApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* BatchAPI service.
* @module api/BatchAPIApi
* @version 3.0.10
* @version 3.0.11
*/
export class BatchAPIApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/CustomFieldSettingsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* CustomFieldSettings service.
* @module api/CustomFieldSettingsApi
* @version 3.0.10
* @version 3.0.11
*/
export class CustomFieldSettingsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/CustomFieldsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* CustomFields service.
* @module api/CustomFieldsApi
* @version 3.0.10
* @version 3.0.11
*/
export class CustomFieldsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/EventsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Events service.
* @module api/EventsApi
* @version 3.0.10
* @version 3.0.11
*/
export class EventsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/GoalRelationshipsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* GoalRelationships service.
* @module api/GoalRelationshipsApi
* @version 3.0.10
* @version 3.0.11
*/
export class GoalRelationshipsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/GoalsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Goals service.
* @module api/GoalsApi
* @version 3.0.10
* @version 3.0.11
*/
export class GoalsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/JobsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Jobs service.
* @module api/JobsApi
* @version 3.0.10
* @version 3.0.11
*/
export class JobsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/MembershipsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Memberships service.
* @module api/MembershipsApi
* @version 3.0.10
* @version 3.0.11
*/
export class MembershipsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/OrganizationExportsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* OrganizationExports service.
* @module api/OrganizationExportsApi
* @version 3.0.10
* @version 3.0.11
*/
export class OrganizationExportsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/PortfolioMembershipsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* PortfolioMemberships service.
* @module api/PortfolioMembershipsApi
* @version 3.0.10
* @version 3.0.11
*/
export class PortfolioMembershipsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/PortfoliosApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Portfolios service.
* @module api/PortfoliosApi
* @version 3.0.10
* @version 3.0.11
*/
export class PortfoliosApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ProjectBriefsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* ProjectBriefs service.
* @module api/ProjectBriefsApi
* @version 3.0.10
* @version 3.0.11
*/
export class ProjectBriefsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ProjectMembershipsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* ProjectMemberships service.
* @module api/ProjectMembershipsApi
* @version 3.0.10
* @version 3.0.11
*/
export class ProjectMembershipsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ProjectStatusesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* ProjectStatuses service.
* @module api/ProjectStatusesApi
* @version 3.0.10
* @version 3.0.11
*/
export class ProjectStatusesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/ProjectTemplatesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* ProjectTemplates service.
* @module api/ProjectTemplatesApi
* @version 3.0.10
* @version 3.0.11
*/
export class ProjectTemplatesApi {

Expand Down
6 changes: 3 additions & 3 deletions src/api/ProjectsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Projects service.
* @module api/ProjectsApi
* @version 3.0.10
* @version 3.0.11
*/
export class ProjectsApi {

Expand Down Expand Up @@ -168,7 +168,7 @@ export class ProjectsApi {

/**
* Add users to a project
* Adds the specified list of users as members of the project. Note that a user being added as a member may also be added as a *follower* as a result of this operation. This is because the user&#x27;s default notification settings (i.e., in the \&quot;Notifcations\&quot; tab of \&quot;My Profile Settings\&quot;) will override this endpoint&#x27;s default behavior of setting \&quot;Tasks added\&quot; notifications to &#x60;false&#x60;. Returns the updated project record.
* Adds the specified list of users as members of the project. Note that a user being added as a member may also be added as a *follower* as a result of this operation. This is because the user&#x27;s default notification settings (i.e., in the \&quot;Notifications\&quot; tab of \&quot;My Profile Settings\&quot;) will override this endpoint&#x27;s default behavior of setting \&quot;Tasks added\&quot; notifications to &#x60;false&#x60;. Returns the updated project record.
* @param {module:model/Object} body Information about the members being added.
* @param {String} project_gid Globally unique identifier for the project.
* @param {Object} opts Optional parameters
Expand Down Expand Up @@ -215,7 +215,7 @@ export class ProjectsApi {

/**
* Add users to a project
* Adds the specified list of users as members of the project. Note that a user being added as a member may also be added as a *follower* as a result of this operation. This is because the user&#x27;s default notification settings (i.e., in the \&quot;Notifcations\&quot; tab of \&quot;My Profile Settings\&quot;) will override this endpoint&#x27;s default behavior of setting \&quot;Tasks added\&quot; notifications to &#x60;false&#x60;. Returns the updated project record.
* Adds the specified list of users as members of the project. Note that a user being added as a member may also be added as a *follower* as a result of this operation. This is because the user&#x27;s default notification settings (i.e., in the \&quot;Notifications\&quot; tab of \&quot;My Profile Settings\&quot;) will override this endpoint&#x27;s default behavior of setting \&quot;Tasks added\&quot; notifications to &#x60;false&#x60;. Returns the updated project record.
* @param {<&vendorExtensions.x-jsdoc-type>} body Information about the members being added.
* @param {<&vendorExtensions.x-jsdoc-type>} project_gid Globally unique identifier for the project.
* @param {Object} opts Optional parameters
Expand Down
2 changes: 1 addition & 1 deletion src/api/RulesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Rules service.
* @module api/RulesApi
* @version 3.0.10
* @version 3.0.11
*/
export class RulesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/SectionsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Sections service.
* @module api/SectionsApi
* @version 3.0.10
* @version 3.0.11
*/
export class SectionsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/StatusUpdatesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* StatusUpdates service.
* @module api/StatusUpdatesApi
* @version 3.0.10
* @version 3.0.11
*/
export class StatusUpdatesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/StoriesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Stories service.
* @module api/StoriesApi
* @version 3.0.10
* @version 3.0.11
*/
export class StoriesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TagsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Tags service.
* @module api/TagsApi
* @version 3.0.10
* @version 3.0.11
*/
export class TagsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TaskTemplatesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* TaskTemplates service.
* @module api/TaskTemplatesApi
* @version 3.0.10
* @version 3.0.11
*/
export class TaskTemplatesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TasksApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Tasks service.
* @module api/TasksApi
* @version 3.0.10
* @version 3.0.11
*/
export class TasksApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TeamMembershipsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* TeamMemberships service.
* @module api/TeamMembershipsApi
* @version 3.0.10
* @version 3.0.11
*/
export class TeamMembershipsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TeamsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Teams service.
* @module api/TeamsApi
* @version 3.0.10
* @version 3.0.11
*/
export class TeamsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TimePeriodsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* TimePeriods service.
* @module api/TimePeriodsApi
* @version 3.0.10
* @version 3.0.11
*/
export class TimePeriodsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TimeTrackingEntriesApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* TimeTrackingEntries service.
* @module api/TimeTrackingEntriesApi
* @version 3.0.10
* @version 3.0.11
*/
export class TimeTrackingEntriesApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/TypeaheadApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Typeahead service.
* @module api/TypeaheadApi
* @version 3.0.10
* @version 3.0.11
*/
export class TypeaheadApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/UserTaskListsApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* UserTaskLists service.
* @module api/UserTaskListsApi
* @version 3.0.10
* @version 3.0.11
*/
export class UserTaskListsApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/UsersApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Users service.
* @module api/UsersApi
* @version 3.0.10
* @version 3.0.11
*/
export class UsersApi {

Expand Down
2 changes: 1 addition & 1 deletion src/api/WebhooksApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
/**
* Webhooks service.
* @module api/WebhooksApi
* @version 3.0.10
* @version 3.0.11
*/
export class WebhooksApi {

Expand Down
Loading

0 comments on commit 43b490b

Please sign in to comment.