Skip to content

Commit

Permalink
Updated JavaScript SDK: v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
jv-asana authored and actions-user committed Feb 7, 2024
1 parent 6b09097 commit 3778cc0
Show file tree
Hide file tree
Showing 39 changed files with 43 additions and 54 deletions.
17 changes: 3 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
# asana [![GitHub release][release-image]][release-url] [![NPM Version][npm-image]][npm-url]

> **Important**
> Version 3.X.X is the newest release of our Node client library and currently in public beta. This means that while it has the latest Asana features, we're still putting on the final touches to ensure it's as stable and reliable as possible.
>
>🛠️ **Looking Ahead**
>
> This version will receive updates going forward, and it’s on track to reach full stability soon. Your input is invaluable in this process! If you spot any issues, have suggestions, or need help, don’t hesitate to reach out. You can open a GitHub issue or submit your feedback directly to us.
>
>📖 **Get Started with Examples and Resources**
>
> For now, if you’re in search of a version that has stood the test of time and is proven to be stable, we recommend using version 1.0.2. You can easily install it using: `npm install asana@1.0.2` and following v1 samples and documentation.
- API version: 1.0
- Package version: 3.0.1
- Package version: 3.0.2

## Installation

Expand All @@ -29,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.1/asana-min.js"></script>
<script src="https://github.com/Asana/node-asana/releases/download/v3.0.2/asana-min.js"></script>
```

Example usage (**NOTE**: be careful not to expose your access token):
Expand Down Expand Up @@ -1011,6 +1000,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.1
[release-url]: https://github.com/Asana/node-asana/releases/tag/v3.0.2
[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 package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "asana",
"version": "3.0.1",
"version": "3.0.2",
"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.1
* @version 3.0.2
*/

/**
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.1",
'version': "3.0.2",
'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.1",
'version': "3.0.2",
'language': 'BrowserJS'
}
).toString();
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
export class ProjectTemplatesApi {

Expand Down
2 changes: 1 addition & 1 deletion 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.1
* @version 3.0.2
*/
export class ProjectsApi {

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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
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.1
* @version 3.0.2
*/
export class WebhooksApi {

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

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

Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ import {WorkspacesApi} from './api/WorkspacesApi';
* </pre>
* </p>
* @module index
* @version 3.0.1
* @version 3.0.2
*/
export {
/**
Expand Down

0 comments on commit 3778cc0

Please sign in to comment.