Skip to content

Commit

Permalink
Chore/deps (#49)
Browse files Browse the repository at this point in the history
* chore(deps): replace dependency npm-run-all with npm-run-all2 5.0.0

* fix(deps): update dependency axios to v1.6.7

* chore(deps): update dependency husky to v9

* chore(deps): update all non-major dependencies

* chore(deps): update dependency @pliancy/eslint-config-ts to v1.1.1

* chore(deps): XXX-0 all-minor-patch

* chore(deps): XXX-0 add asanaClient dir

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Justin <justin.mcmahon@pliancy.comrything.com>
  • Loading branch information
3 people authored Mar 11, 2024
1 parent 083cc1c commit 4c8a357
Show file tree
Hide file tree
Showing 14 changed files with 497 additions and 803 deletions.
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,27 @@
}
},
"dependencies": {
"axios": "1.6.5",
"axios": "1.6.7",
"tslib": "2.6.2"
},
"description": "Wrapper around the Asana node SDK",
"devDependencies": {
"@digitalroute/cz-conventional-changelog-for-jira": "8.0.1",
"@openapitools/openapi-generator-cli": "2.7.0",
"@pliancy/eslint-config-ts": "1.1.0",
"@openapitools/openapi-generator-cli": "2.11.0",
"@pliancy/eslint-config-ts": "1.1.1",
"@pliancy/semantic-release-config-npm": "2.2.0",
"@types/jest": "29.5.11",
"@types/node": "20.10.7",
"@types/jest": "29.5.12",
"@types/node": "20.11.25",
"commitizen": "4.3.0",
"cpy-cli": "5.0.0",
"husky": "8.0.3",
"husky": "9.0.11",
"jest": "29.7.0",
"npm-run-all": "4.1.5",
"npm-run-all2": "5.0.0",
"open-cli": "8.0.0",
"pinst": "3.0.0",
"rimraf": "5.0.5",
"ts-jest": "29.1.1",
"typescript": "5.3.3"
"ts-jest": "29.1.2",
"typescript": "5.4.2"
},
"engines": {
"node": ">=16"
Expand Down Expand Up @@ -61,7 +61,7 @@
},
"version": "1.1.0",
"volta": {
"node": "20.10.0",
"yarn": "1.22.21"
"node": "20.11.1",
"yarn": "1.22.22"
}
}
8 changes: 4 additions & 4 deletions src/lib/asanaClient/api/events-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
/**
* Returns the full record for all events that have occurred since the sync token was created. A `GET` request to the endpoint `/[path_to_resource]/events` can be made in lieu of including the resource ID in the data for the request. Asana limits a single sync token to 100 events. If more than 100 events exist for a given resource, `has_more: true` will be returned in the response, indicating that there are more events to pull. *Note: The resource returned will be the resource that triggered the event. This may be different from the one that the events were requested for. For example, a subscription to a project will contain events for tasks contained within the project.*
* @summary Get events on a resource
* @param {string} resource A resource ID to subscribe to. The resource can be a task or project.
* @param {string} resource A resource ID to subscribe to. The resource can be a task, project, or goal.
* @param {string} [sync] A sync token received from the last request, or none on first sync. Events will be returned from the point in time that the sync token was generated. *Note: On your first request, omit the sync token. The response will be the same as for an expired sync token, and will include a new valid sync token.If the sync token is too old (which may happen from time to time) the API will return a &#x60;412 Precondition Failed&#x60; error, and include a fresh sync token in the response.*
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {Array<'action' | 'change' | 'change.action' | 'change.added_value' | 'change.field' | 'change.new_value' | 'change.removed_value' | 'created_at' | 'parent' | 'parent.name' | 'resource' | 'resource.name' | 'type' | 'user' | 'user.name'>} [optFields] This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
Expand Down Expand Up @@ -105,7 +105,7 @@ export const EventsApiFp = function(configuration?: Configuration) {
/**
* Returns the full record for all events that have occurred since the sync token was created. A `GET` request to the endpoint `/[path_to_resource]/events` can be made in lieu of including the resource ID in the data for the request. Asana limits a single sync token to 100 events. If more than 100 events exist for a given resource, `has_more: true` will be returned in the response, indicating that there are more events to pull. *Note: The resource returned will be the resource that triggered the event. This may be different from the one that the events were requested for. For example, a subscription to a project will contain events for tasks contained within the project.*
* @summary Get events on a resource
* @param {string} resource A resource ID to subscribe to. The resource can be a task or project.
* @param {string} resource A resource ID to subscribe to. The resource can be a task, project, or goal.
* @param {string} [sync] A sync token received from the last request, or none on first sync. Events will be returned from the point in time that the sync token was generated. *Note: On your first request, omit the sync token. The response will be the same as for an expired sync token, and will include a new valid sync token.If the sync token is too old (which may happen from time to time) the API will return a &#x60;412 Precondition Failed&#x60; error, and include a fresh sync token in the response.*
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {Array<'action' | 'change' | 'change.action' | 'change.added_value' | 'change.field' | 'change.new_value' | 'change.removed_value' | 'created_at' | 'parent' | 'parent.name' | 'resource' | 'resource.name' | 'type' | 'user' | 'user.name'>} [optFields] This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
Expand All @@ -129,7 +129,7 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
/**
* Returns the full record for all events that have occurred since the sync token was created. A `GET` request to the endpoint `/[path_to_resource]/events` can be made in lieu of including the resource ID in the data for the request. Asana limits a single sync token to 100 events. If more than 100 events exist for a given resource, `has_more: true` will be returned in the response, indicating that there are more events to pull. *Note: The resource returned will be the resource that triggered the event. This may be different from the one that the events were requested for. For example, a subscription to a project will contain events for tasks contained within the project.*
* @summary Get events on a resource
* @param {string} resource A resource ID to subscribe to. The resource can be a task or project.
* @param {string} resource A resource ID to subscribe to. The resource can be a task, project, or goal.
* @param {string} [sync] A sync token received from the last request, or none on first sync. Events will be returned from the point in time that the sync token was generated. *Note: On your first request, omit the sync token. The response will be the same as for an expired sync token, and will include a new valid sync token.If the sync token is too old (which may happen from time to time) the API will return a &#x60;412 Precondition Failed&#x60; error, and include a fresh sync token in the response.*
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {Array<'action' | 'change' | 'change.action' | 'change.added_value' | 'change.field' | 'change.new_value' | 'change.removed_value' | 'created_at' | 'parent' | 'parent.name' | 'resource' | 'resource.name' | 'type' | 'user' | 'user.name'>} [optFields] This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
Expand All @@ -152,7 +152,7 @@ export class EventsApi extends BaseAPI {
/**
* Returns the full record for all events that have occurred since the sync token was created. A `GET` request to the endpoint `/[path_to_resource]/events` can be made in lieu of including the resource ID in the data for the request. Asana limits a single sync token to 100 events. If more than 100 events exist for a given resource, `has_more: true` will be returned in the response, indicating that there are more events to pull. *Note: The resource returned will be the resource that triggered the event. This may be different from the one that the events were requested for. For example, a subscription to a project will contain events for tasks contained within the project.*
* @summary Get events on a resource
* @param {string} resource A resource ID to subscribe to. The resource can be a task or project.
* @param {string} resource A resource ID to subscribe to. The resource can be a task, project, or goal.
* @param {string} [sync] A sync token received from the last request, or none on first sync. Events will be returned from the point in time that the sync token was generated. *Note: On your first request, omit the sync token. The response will be the same as for an expired sync token, and will include a new valid sync token.If the sync token is too old (which may happen from time to time) the API will return a &#x60;412 Precondition Failed&#x60; error, and include a fresh sync token in the response.*
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {Array<'action' | 'change' | 'change.action' | 'change.added_value' | 'change.field' | 'change.new_value' | 'change.removed_value' | 'created_at' | 'parent' | 'parent.name' | 'resource' | 'resource.name' | 'type' | 'user' | 'user.name'>} [optFields] This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
Expand Down
16 changes: 8 additions & 8 deletions src/lib/asanaClient/api/memberships-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import { InlineResponse2012 } from '../types';
export const MembershipsApiAxiosParamCreator = function (configuration?: Configuration) {
return {
/**
* Creates a new membership in a `goal`. `Teams` or `users` can be a member of `goals`. Returns the full record of the newly created membership.
* Creates a new membership in a `goal` or `project`. `Teams` or `users` can be a member of `goals` or `projects`. Returns the full record of the newly created membership.
* @summary Create a membership
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {InlineObject15} [inlineObject15]
Expand Down Expand Up @@ -86,7 +86,7 @@ export const MembershipsApiAxiosParamCreator = function (configuration?: Configu
};
},
/**
* A specific, existing membership can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* A specific, existing membership for a `goal` or `project` can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* @summary Delete a membership
* @param {string} membershipGid Globally unique identifier for the membership.
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
Expand Down Expand Up @@ -263,7 +263,7 @@ export const MembershipsApiFp = function(configuration?: Configuration) {
const localVarAxiosParamCreator = MembershipsApiAxiosParamCreator(configuration)
return {
/**
* Creates a new membership in a `goal`. `Teams` or `users` can be a member of `goals`. Returns the full record of the newly created membership.
* Creates a new membership in a `goal` or `project`. `Teams` or `users` can be a member of `goals` or `projects`. Returns the full record of the newly created membership.
* @summary Create a membership
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {InlineObject15} [inlineObject15]
Expand All @@ -275,7 +275,7 @@ export const MembershipsApiFp = function(configuration?: Configuration) {
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
/**
* A specific, existing membership can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* A specific, existing membership for a `goal` or `project` can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* @summary Delete a membership
* @param {string} membershipGid Globally unique identifier for the membership.
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
Expand Down Expand Up @@ -326,7 +326,7 @@ export const MembershipsApiFactory = function (configuration?: Configuration, ba
const localVarFp = MembershipsApiFp(configuration)
return {
/**
* Creates a new membership in a `goal`. `Teams` or `users` can be a member of `goals`. Returns the full record of the newly created membership.
* Creates a new membership in a `goal` or `project`. `Teams` or `users` can be a member of `goals` or `projects`. Returns the full record of the newly created membership.
* @summary Create a membership
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {InlineObject15} [inlineObject15]
Expand All @@ -337,7 +337,7 @@ export const MembershipsApiFactory = function (configuration?: Configuration, ba
return localVarFp.createMembership(optPretty, inlineObject15, options).then((request) => request(axios, basePath));
},
/**
* A specific, existing membership can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* A specific, existing membership for a `goal` or `project` can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* @summary Delete a membership
* @param {string} membershipGid Globally unique identifier for the membership.
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
Expand Down Expand Up @@ -385,7 +385,7 @@ export const MembershipsApiFactory = function (configuration?: Configuration, ba
*/
export class MembershipsApi extends BaseAPI {
/**
* Creates a new membership in a `goal`. `Teams` or `users` can be a member of `goals`. Returns the full record of the newly created membership.
* Creates a new membership in a `goal` or `project`. `Teams` or `users` can be a member of `goals` or `projects`. Returns the full record of the newly created membership.
* @summary Create a membership
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
* @param {InlineObject15} [inlineObject15]
Expand All @@ -398,7 +398,7 @@ export class MembershipsApi extends BaseAPI {
}

/**
* A specific, existing membership can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* A specific, existing membership for a `goal` or `project` can be deleted by making a `DELETE` request on the URL for that membership. Returns an empty data record.
* @summary Delete a membership
* @param {string} membershipGid Globally unique identifier for the membership.
* @param {boolean} [optPretty] Provides “pretty” output. Provides the response in a “pretty” format. In the case of JSON this means doing proper line breaking and indentation to make it readable. This will take extra time and increase the response size so it is advisable only to use this during debugging.
Expand Down
Loading

0 comments on commit 4c8a357

Please # to comment.