@zerodot/asana 0.0.0-stage → 1.0.0

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 CHANGED
@@ -1,3 +1,27 @@
1
- # Temporary Holding Version
1
+ # @zerodot/asana
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Asana node package for zerodot.
4
+
5
+ ## Credentials
6
+
7
+ - **Asana Personal Access Token**: create a PAT in Asana under **My Settings > Apps > Developer apps**.
8
+ - **Asana OAuth2**: configure an OAuth app in Asana and connect your account. Default scopes: `tasks:read tasks:write projects:read projects:write workspaces:read users:read`.
9
+
10
+ Both credentials are tested with `GET /users/me?opt_fields=gid,name`.
11
+
12
+ ## Operations
13
+
14
+ - **Task**: Create, Get, Update, Get Many
15
+ - **Project**: Create, Get, Update, Get Many
16
+ - **Workspace**: Get Many
17
+ - **User**: Get, Get Many
18
+
19
+ ## Notes
20
+
21
+ - Asana API base URL: `https://app.asana.com/api/1.0`
22
+ - Write requests are sent as `{ "data": { ... } }`.
23
+ - Task Get Many requires either a project ID, or an assignee and a workspace.
24
+ - Project Get Many lists projects in a workspace.
25
+ - Get Many operations support `limit`, `returnAll`, and pagination via `next_page.offset`.
26
+ - `optFields` maps to Asana `opt_fields` for compact or expanded responses.
27
+ - Rate limit responses (`429`) are retried using `Retry-After`.
package/asana.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="781.36 0 944.89 873.38"><radialGradient id="a" cx="943.992" cy="1221.416" r=".663" gradientTransform="matrix(944.8934 0 0 -873.3772 -890717.875 1067234.75)" gradientUnits="userSpaceOnUse"><stop offset="0" stop-color="#ffb900"/><stop offset=".6" stop-color="#f95d8f"/><stop offset=".999" stop-color="#f95353"/></radialGradient><path fill="url(#a)" d="M1520.766 462.371c-113.508 0-205.508 92-205.508 205.488 0 113.499 92 205.518 205.508 205.518 113.489 0 205.488-92.019 205.488-205.518 0-113.488-91.999-205.488-205.488-205.488m-533.907.01c-113.489.01-205.498 91.99-205.498 205.488 0 113.489 92.009 205.498 205.498 205.498 113.498 0 205.508-92.009 205.508-205.498 0-113.499-92.01-205.488-205.518-205.488zm472.447-256.883c0 113.489-91.999 205.518-205.488 205.518-113.508 0-205.508-92.029-205.508-205.518S1140.31 0 1253.817 0c113.489 0 205.479 92.009 205.479 205.498z"/></svg>