asana 3.0.9 → 3.0.11
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/README.md +3 -3
- package/dist/ApiClient.js +3 -3
- package/dist/api/AllocationsApi.js +1 -1
- package/dist/api/AttachmentsApi.js +1 -1
- package/dist/api/AuditLogAPIApi.js +1 -1
- package/dist/api/BatchAPIApi.js +1 -1
- package/dist/api/CustomFieldSettingsApi.js +1 -1
- package/dist/api/CustomFieldsApi.js +1 -1
- package/dist/api/EventsApi.js +1 -1
- package/dist/api/GoalRelationshipsApi.js +1 -1
- package/dist/api/GoalsApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MembershipsApi.js +1 -1
- package/dist/api/OrganizationExportsApi.js +1 -1
- package/dist/api/PortfolioMembershipsApi.js +1 -1
- package/dist/api/PortfoliosApi.js +1 -1
- package/dist/api/ProjectBriefsApi.js +1 -1
- package/dist/api/ProjectMembershipsApi.js +1 -1
- package/dist/api/ProjectStatusesApi.js +1 -1
- package/dist/api/ProjectTemplatesApi.js +1 -1
- package/dist/api/ProjectsApi.js +3 -3
- package/dist/api/RulesApi.js +1 -1
- package/dist/api/SectionsApi.js +1 -1
- package/dist/api/StatusUpdatesApi.js +1 -1
- package/dist/api/StoriesApi.js +1 -1
- package/dist/api/TagsApi.js +1 -1
- package/dist/api/TaskTemplatesApi.js +1 -1
- package/dist/api/TasksApi.js +1 -1
- package/dist/api/TeamMembershipsApi.js +1 -1
- package/dist/api/TeamsApi.js +1 -1
- package/dist/api/TimePeriodsApi.js +1 -1
- package/dist/api/TimeTrackingEntriesApi.js +1 -1
- package/dist/api/TypeaheadApi.js +1 -1
- package/dist/api/UserTaskListsApi.js +1 -1
- package/dist/api/UsersApi.js +1 -1
- package/dist/api/WebhooksApi.js +1 -1
- package/dist/api/WorkspaceMembershipsApi.js +1 -1
- package/dist/api/WorkspacesApi.js +1 -1
- package/package.json +1 -1
- package/src/ApiClient.js +3 -3
- package/src/api/AllocationsApi.js +1 -1
- package/src/api/AttachmentsApi.js +1 -1
- package/src/api/AuditLogAPIApi.js +1 -1
- package/src/api/BatchAPIApi.js +1 -1
- package/src/api/CustomFieldSettingsApi.js +1 -1
- package/src/api/CustomFieldsApi.js +1 -1
- package/src/api/EventsApi.js +1 -1
- package/src/api/GoalRelationshipsApi.js +1 -1
- package/src/api/GoalsApi.js +1 -1
- package/src/api/JobsApi.js +1 -1
- package/src/api/MembershipsApi.js +1 -1
- package/src/api/OrganizationExportsApi.js +1 -1
- package/src/api/PortfolioMembershipsApi.js +1 -1
- package/src/api/PortfoliosApi.js +1 -1
- package/src/api/ProjectBriefsApi.js +1 -1
- package/src/api/ProjectMembershipsApi.js +1 -1
- package/src/api/ProjectStatusesApi.js +1 -1
- package/src/api/ProjectTemplatesApi.js +1 -1
- package/src/api/ProjectsApi.js +3 -3
- package/src/api/RulesApi.js +1 -1
- package/src/api/SectionsApi.js +1 -1
- package/src/api/StatusUpdatesApi.js +1 -1
- package/src/api/StoriesApi.js +1 -1
- package/src/api/TagsApi.js +1 -1
- package/src/api/TaskTemplatesApi.js +1 -1
- package/src/api/TasksApi.js +1 -1
- package/src/api/TeamMembershipsApi.js +1 -1
- package/src/api/TeamsApi.js +1 -1
- package/src/api/TimePeriodsApi.js +1 -1
- package/src/api/TimeTrackingEntriesApi.js +1 -1
- package/src/api/TypeaheadApi.js +1 -1
- package/src/api/UserTaskListsApi.js +1 -1
- package/src/api/UsersApi.js +1 -1
- package/src/api/WebhooksApi.js +1 -1
- package/src/api/WorkspaceMembershipsApi.js +1 -1
- package/src/api/WorkspacesApi.js +1 -1
- package/src/index.js +1 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# asana [![GitHub release][release-image]][release-url] [![NPM Version][npm-image]][npm-url]
|
|
2
2
|
|
|
3
3
|
- API version: 1.0
|
|
4
|
-
- Package version: 3.0.
|
|
4
|
+
- Package version: 3.0.11
|
|
5
5
|
|
|
6
6
|
## Installation
|
|
7
7
|
|
|
@@ -18,7 +18,7 @@ npm install asana --save
|
|
|
18
18
|
Include the latest release directly from GitHub:
|
|
19
19
|
|
|
20
20
|
```html
|
|
21
|
-
<script src="https://github.com/Asana/node-asana/releases/download/v3.0.
|
|
21
|
+
<script src="https://github.com/Asana/node-asana/releases/download/v3.0.11/asana-min.js"></script>
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Example usage (**NOTE**: be careful not to expose your access token):
|
|
@@ -1111,6 +1111,6 @@ client.callApi(
|
|
|
1111
1111
|
```
|
|
1112
1112
|
|
|
1113
1113
|
[release-image]: https://img.shields.io/github/release/asana/node-asana.svg
|
|
1114
|
-
[release-url]: https://github.com/Asana/node-asana/releases/tag/v3.0.
|
|
1114
|
+
[release-url]: https://github.com/Asana/node-asana/releases/tag/v3.0.11
|
|
1115
1115
|
[npm-image]: http://img.shields.io/npm/v/asana.svg?style=flat-square
|
|
1116
1116
|
[npm-url]: https://www.npmjs.org/package/asana
|
package/dist/ApiClient.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
30
|
* @module ApiClient
|
|
31
|
-
* @version 3.0.
|
|
31
|
+
* @version 3.0.11
|
|
32
32
|
*/
|
|
33
33
|
/**
|
|
34
34
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -400,14 +400,14 @@ var ApiClient = exports.ApiClient = /*#__PURE__*/function () {
|
|
|
400
400
|
// set header parameters
|
|
401
401
|
if (typeof navigator === 'undefined' || typeof window === 'undefined') {
|
|
402
402
|
headerParams['X-Asana-Client-Lib'] = new URLSearchParams({
|
|
403
|
-
'version': "3.0.
|
|
403
|
+
'version': "3.0.11",
|
|
404
404
|
'language': 'NodeJS',
|
|
405
405
|
'language_version': process.version,
|
|
406
406
|
'os': process.platform
|
|
407
407
|
}).toString();
|
|
408
408
|
} else {
|
|
409
409
|
headerParams['X-Asana-Client-Lib'] = new URLSearchParams({
|
|
410
|
-
'version': "3.0.
|
|
410
|
+
'version': "3.0.11",
|
|
411
411
|
'language': 'BrowserJS'
|
|
412
412
|
}).toString();
|
|
413
413
|
}
|
package/dist/api/BatchAPIApi.js
CHANGED
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* CustomFieldSettings service.
|
|
31
31
|
* @module api/CustomFieldSettingsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var CustomFieldSettingsApi = exports.CustomFieldSettingsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/EventsApi.js
CHANGED
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* GoalRelationships service.
|
|
31
31
|
* @module api/GoalRelationshipsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var GoalRelationshipsApi = exports.GoalRelationshipsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/GoalsApi.js
CHANGED
package/dist/api/JobsApi.js
CHANGED
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* OrganizationExports service.
|
|
31
31
|
* @module api/OrganizationExportsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var OrganizationExportsApi = exports.OrganizationExportsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* PortfolioMemberships service.
|
|
31
31
|
* @module api/PortfolioMembershipsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var PortfolioMembershipsApi = exports.PortfolioMembershipsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* ProjectMemberships service.
|
|
31
31
|
* @module api/ProjectMembershipsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var ProjectMembershipsApi = exports.ProjectMembershipsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* ProjectTemplates service.
|
|
31
31
|
* @module api/ProjectTemplatesApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var ProjectTemplatesApi = exports.ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/ProjectsApi.js
CHANGED
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* Projects service.
|
|
31
31
|
* @module api/ProjectsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -155,7 +155,7 @@ var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
|
155
155
|
|
|
156
156
|
/**
|
|
157
157
|
* Add users to a project
|
|
158
|
-
* 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 \"
|
|
158
|
+
* 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.
|
|
159
159
|
* @param {module:model/Object} body Information about the members being added.
|
|
160
160
|
* @param {String} project_gid Globally unique identifier for the project.
|
|
161
161
|
* @param {Object} opts Optional parameters
|
|
@@ -192,7 +192,7 @@ var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* Add users to a project
|
|
195
|
-
* 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 \"
|
|
195
|
+
* 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.
|
|
196
196
|
* @param {<&vendorExtensions.x-jsdoc-type>} body Information about the members being added.
|
|
197
197
|
* @param {<&vendorExtensions.x-jsdoc-type>} project_gid Globally unique identifier for the project.
|
|
198
198
|
* @param {Object} opts Optional parameters
|
package/dist/api/RulesApi.js
CHANGED
package/dist/api/SectionsApi.js
CHANGED
package/dist/api/StoriesApi.js
CHANGED
package/dist/api/TagsApi.js
CHANGED
package/dist/api/TasksApi.js
CHANGED
package/dist/api/TeamsApi.js
CHANGED
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* TimeTrackingEntries service.
|
|
31
31
|
* @module api/TimeTrackingEntriesApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var TimeTrackingEntriesApi = exports.TimeTrackingEntriesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/TypeaheadApi.js
CHANGED
package/dist/api/UsersApi.js
CHANGED
package/dist/api/WebhooksApi.js
CHANGED
|
@@ -29,7 +29,7 @@ var Collection = require('../utils/collection');
|
|
|
29
29
|
/**
|
|
30
30
|
* WorkspaceMemberships service.
|
|
31
31
|
* @module api/WorkspaceMembershipsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.11
|
|
33
33
|
*/
|
|
34
34
|
var WorkspaceMembershipsApi = exports.WorkspaceMembershipsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "asana",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.11",
|
|
4
4
|
"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_",
|
|
5
5
|
"license": "Apache 2.0",
|
|
6
6
|
"main": "dist/index.js",
|
package/src/ApiClient.js
CHANGED
|
@@ -16,7 +16,7 @@ import superagent from "superagent";
|
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* @module ApiClient
|
|
19
|
-
* @version 3.0.
|
|
19
|
+
* @version 3.0.11
|
|
20
20
|
*/
|
|
21
21
|
|
|
22
22
|
/**
|
|
@@ -412,7 +412,7 @@ export class ApiClient {
|
|
|
412
412
|
if (typeof(navigator) === 'undefined' || typeof(window) === 'undefined') {
|
|
413
413
|
headerParams['X-Asana-Client-Lib'] = new URLSearchParams(
|
|
414
414
|
{
|
|
415
|
-
'version': "3.0.
|
|
415
|
+
'version': "3.0.11",
|
|
416
416
|
'language': 'NodeJS',
|
|
417
417
|
'language_version': process.version,
|
|
418
418
|
'os': process.platform
|
|
@@ -421,7 +421,7 @@ export class ApiClient {
|
|
|
421
421
|
} else {
|
|
422
422
|
headerParams['X-Asana-Client-Lib'] = new URLSearchParams(
|
|
423
423
|
{
|
|
424
|
-
'version': "3.0.
|
|
424
|
+
'version': "3.0.11",
|
|
425
425
|
'language': 'BrowserJS'
|
|
426
426
|
}
|
|
427
427
|
).toString();
|
package/src/api/BatchAPIApi.js
CHANGED
package/src/api/EventsApi.js
CHANGED
package/src/api/GoalsApi.js
CHANGED
package/src/api/JobsApi.js
CHANGED
package/src/api/PortfoliosApi.js
CHANGED
package/src/api/ProjectsApi.js
CHANGED
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Projects service.
|
|
20
20
|
* @module api/ProjectsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.11
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectsApi {
|
|
24
24
|
|
|
@@ -168,7 +168,7 @@ export class ProjectsApi {
|
|
|
168
168
|
|
|
169
169
|
/**
|
|
170
170
|
* Add users to a project
|
|
171
|
-
* 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 \"
|
|
171
|
+
* 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.
|
|
172
172
|
* @param {module:model/Object} body Information about the members being added.
|
|
173
173
|
* @param {String} project_gid Globally unique identifier for the project.
|
|
174
174
|
* @param {Object} opts Optional parameters
|
|
@@ -215,7 +215,7 @@ export class ProjectsApi {
|
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
217
|
* Add users to a project
|
|
218
|
-
* 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 \"
|
|
218
|
+
* 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.
|
|
219
219
|
* @param {<&vendorExtensions.x-jsdoc-type>} body Information about the members being added.
|
|
220
220
|
* @param {<&vendorExtensions.x-jsdoc-type>} project_gid Globally unique identifier for the project.
|
|
221
221
|
* @param {Object} opts Optional parameters
|
package/src/api/RulesApi.js
CHANGED
package/src/api/SectionsApi.js
CHANGED
package/src/api/StoriesApi.js
CHANGED
package/src/api/TagsApi.js
CHANGED
package/src/api/TasksApi.js
CHANGED
package/src/api/TeamsApi.js
CHANGED
package/src/api/TypeaheadApi.js
CHANGED
package/src/api/UsersApi.js
CHANGED
package/src/api/WebhooksApi.js
CHANGED
package/src/api/WorkspacesApi.js
CHANGED