diff --git a/README.md b/README.md index f570166..cdaff1a 100644 --- a/README.md +++ b/README.md @@ -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 @@ -18,7 +18,7 @@ npm install asana --save Include the latest release directly from GitHub: ```html - + ``` Example usage (**NOTE**: be careful not to expose your access token): @@ -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 diff --git a/docs/ProjectsApi.md b/docs/ProjectsApi.md index ff568c1..99d5ea2 100644 --- a/docs/ProjectsApi.md +++ b/docs/ProjectsApi.md @@ -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)) diff --git a/package.json b/package.json index 3f8bfc4..268be88 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/ApiClient.js b/src/ApiClient.js index 517d49b..415c5df 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -16,7 +16,7 @@ import superagent from "superagent"; /** * @module ApiClient -* @version 3.0.10 +* @version 3.0.11 */ /** @@ -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 @@ -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(); diff --git a/src/api/AllocationsApi.js b/src/api/AllocationsApi.js index 63b1272..d51972d 100644 --- a/src/api/AllocationsApi.js +++ b/src/api/AllocationsApi.js @@ -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 { diff --git a/src/api/AttachmentsApi.js b/src/api/AttachmentsApi.js index e86abfb..006ddaa 100644 --- a/src/api/AttachmentsApi.js +++ b/src/api/AttachmentsApi.js @@ -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 { diff --git a/src/api/AuditLogAPIApi.js b/src/api/AuditLogAPIApi.js index 8bff733..8d1b63c 100644 --- a/src/api/AuditLogAPIApi.js +++ b/src/api/AuditLogAPIApi.js @@ -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 { diff --git a/src/api/BatchAPIApi.js b/src/api/BatchAPIApi.js index 9cab648..a4dfdb2 100644 --- a/src/api/BatchAPIApi.js +++ b/src/api/BatchAPIApi.js @@ -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 { diff --git a/src/api/CustomFieldSettingsApi.js b/src/api/CustomFieldSettingsApi.js index e2c25a1..189c890 100644 --- a/src/api/CustomFieldSettingsApi.js +++ b/src/api/CustomFieldSettingsApi.js @@ -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 { diff --git a/src/api/CustomFieldsApi.js b/src/api/CustomFieldsApi.js index e2210c3..7e293c1 100644 --- a/src/api/CustomFieldsApi.js +++ b/src/api/CustomFieldsApi.js @@ -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 { diff --git a/src/api/EventsApi.js b/src/api/EventsApi.js index 4e5fc74..d4a9215 100644 --- a/src/api/EventsApi.js +++ b/src/api/EventsApi.js @@ -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 { diff --git a/src/api/GoalRelationshipsApi.js b/src/api/GoalRelationshipsApi.js index f5038b8..11f2dac 100644 --- a/src/api/GoalRelationshipsApi.js +++ b/src/api/GoalRelationshipsApi.js @@ -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 { diff --git a/src/api/GoalsApi.js b/src/api/GoalsApi.js index a926b63..c8ad729 100644 --- a/src/api/GoalsApi.js +++ b/src/api/GoalsApi.js @@ -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 { diff --git a/src/api/JobsApi.js b/src/api/JobsApi.js index 8772f20..82c0585 100644 --- a/src/api/JobsApi.js +++ b/src/api/JobsApi.js @@ -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 { diff --git a/src/api/MembershipsApi.js b/src/api/MembershipsApi.js index 6268c65..f2e6a81 100644 --- a/src/api/MembershipsApi.js +++ b/src/api/MembershipsApi.js @@ -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 { diff --git a/src/api/OrganizationExportsApi.js b/src/api/OrganizationExportsApi.js index 07d227b..d5dde27 100644 --- a/src/api/OrganizationExportsApi.js +++ b/src/api/OrganizationExportsApi.js @@ -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 { diff --git a/src/api/PortfolioMembershipsApi.js b/src/api/PortfolioMembershipsApi.js index 4021c7b..e9ba6be 100644 --- a/src/api/PortfolioMembershipsApi.js +++ b/src/api/PortfolioMembershipsApi.js @@ -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 { diff --git a/src/api/PortfoliosApi.js b/src/api/PortfoliosApi.js index 5c13b4c..737ee0e 100644 --- a/src/api/PortfoliosApi.js +++ b/src/api/PortfoliosApi.js @@ -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 { diff --git a/src/api/ProjectBriefsApi.js b/src/api/ProjectBriefsApi.js index 64b9f62..9cd3601 100644 --- a/src/api/ProjectBriefsApi.js +++ b/src/api/ProjectBriefsApi.js @@ -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 { diff --git a/src/api/ProjectMembershipsApi.js b/src/api/ProjectMembershipsApi.js index 610234f..e3bb356 100644 --- a/src/api/ProjectMembershipsApi.js +++ b/src/api/ProjectMembershipsApi.js @@ -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 { diff --git a/src/api/ProjectStatusesApi.js b/src/api/ProjectStatusesApi.js index 50ff813..afce589 100644 --- a/src/api/ProjectStatusesApi.js +++ b/src/api/ProjectStatusesApi.js @@ -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 { diff --git a/src/api/ProjectTemplatesApi.js b/src/api/ProjectTemplatesApi.js index 0fa066b..1b7d0b8 100644 --- a/src/api/ProjectTemplatesApi.js +++ b/src/api/ProjectTemplatesApi.js @@ -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 { diff --git a/src/api/ProjectsApi.js b/src/api/ProjectsApi.js index 7ff009a..3957da2 100644 --- a/src/api/ProjectsApi.js +++ b/src/api/ProjectsApi.js @@ -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 { @@ -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'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. * @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 @@ -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'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. * @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 diff --git a/src/api/RulesApi.js b/src/api/RulesApi.js index 0c7ec94..50e4def 100644 --- a/src/api/RulesApi.js +++ b/src/api/RulesApi.js @@ -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 { diff --git a/src/api/SectionsApi.js b/src/api/SectionsApi.js index d0817cc..8ed935f 100644 --- a/src/api/SectionsApi.js +++ b/src/api/SectionsApi.js @@ -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 { diff --git a/src/api/StatusUpdatesApi.js b/src/api/StatusUpdatesApi.js index 71105c8..a1c9a50 100644 --- a/src/api/StatusUpdatesApi.js +++ b/src/api/StatusUpdatesApi.js @@ -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 { diff --git a/src/api/StoriesApi.js b/src/api/StoriesApi.js index 0822606..23d9fd3 100644 --- a/src/api/StoriesApi.js +++ b/src/api/StoriesApi.js @@ -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 { diff --git a/src/api/TagsApi.js b/src/api/TagsApi.js index 43c8e35..ec2105e 100644 --- a/src/api/TagsApi.js +++ b/src/api/TagsApi.js @@ -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 { diff --git a/src/api/TaskTemplatesApi.js b/src/api/TaskTemplatesApi.js index aaeb0fd..49b7e04 100644 --- a/src/api/TaskTemplatesApi.js +++ b/src/api/TaskTemplatesApi.js @@ -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 { diff --git a/src/api/TasksApi.js b/src/api/TasksApi.js index 4669327..2dd5bf8 100644 --- a/src/api/TasksApi.js +++ b/src/api/TasksApi.js @@ -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 { diff --git a/src/api/TeamMembershipsApi.js b/src/api/TeamMembershipsApi.js index fb65d35..7a97193 100644 --- a/src/api/TeamMembershipsApi.js +++ b/src/api/TeamMembershipsApi.js @@ -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 { diff --git a/src/api/TeamsApi.js b/src/api/TeamsApi.js index 6f2d967..a5e73ed 100644 --- a/src/api/TeamsApi.js +++ b/src/api/TeamsApi.js @@ -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 { diff --git a/src/api/TimePeriodsApi.js b/src/api/TimePeriodsApi.js index abc734e..d0188fd 100644 --- a/src/api/TimePeriodsApi.js +++ b/src/api/TimePeriodsApi.js @@ -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 { diff --git a/src/api/TimeTrackingEntriesApi.js b/src/api/TimeTrackingEntriesApi.js index 9d59fc2..82a27c4 100644 --- a/src/api/TimeTrackingEntriesApi.js +++ b/src/api/TimeTrackingEntriesApi.js @@ -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 { diff --git a/src/api/TypeaheadApi.js b/src/api/TypeaheadApi.js index 07a800f..544c996 100644 --- a/src/api/TypeaheadApi.js +++ b/src/api/TypeaheadApi.js @@ -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 { diff --git a/src/api/UserTaskListsApi.js b/src/api/UserTaskListsApi.js index bf28571..46874eb 100644 --- a/src/api/UserTaskListsApi.js +++ b/src/api/UserTaskListsApi.js @@ -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 { diff --git a/src/api/UsersApi.js b/src/api/UsersApi.js index dd7abf8..cd84b5c 100644 --- a/src/api/UsersApi.js +++ b/src/api/UsersApi.js @@ -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 { diff --git a/src/api/WebhooksApi.js b/src/api/WebhooksApi.js index 520b131..6b47c37 100644 --- a/src/api/WebhooksApi.js +++ b/src/api/WebhooksApi.js @@ -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 { diff --git a/src/api/WorkspaceMembershipsApi.js b/src/api/WorkspaceMembershipsApi.js index b7b21f5..ad4c7ad 100644 --- a/src/api/WorkspaceMembershipsApi.js +++ b/src/api/WorkspaceMembershipsApi.js @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * WorkspaceMemberships service. * @module api/WorkspaceMembershipsApi -* @version 3.0.10 +* @version 3.0.11 */ export class WorkspaceMembershipsApi { diff --git a/src/api/WorkspacesApi.js b/src/api/WorkspacesApi.js index d3dc523..f980b8e 100644 --- a/src/api/WorkspacesApi.js +++ b/src/api/WorkspacesApi.js @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Workspaces service. * @module api/WorkspacesApi -* @version 3.0.10 +* @version 3.0.11 */ export class WorkspacesApi { diff --git a/src/index.js b/src/index.js index bbc9307..9816c59 100644 --- a/src/index.js +++ b/src/index.js @@ -79,7 +79,7 @@ import {WorkspacesApi} from './api/WorkspacesApi'; * *

* @module index -* @version 3.0.10 +* @version 3.0.11 */ export { /**