asana 3.0.0 → 3.0.2
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/.github/workflows/publish.yaml +1 -1
- package/.swagger-codegen/VERSION +1 -1
- package/README.md +15 -21
- package/build-tests/README.md +19 -0
- package/build-tests/api/ProjectsApi.js +178 -0
- package/build-tests/api/TasksApi.js +260 -0
- package/codegen/swagger/src/main/java/com/asana/codegen/JavascriptClientCodegenGenerator.java +1 -1
- package/codegen/templates/ApiClient.mustache +18 -10
- package/codegen/templates/README.mustache +12 -18
- package/codegen/templates/package.mustache +3 -1
- package/dist/ApiClient.js +30 -24
- package/dist/api/AttachmentsApi.js +16 -16
- package/dist/api/AuditLogAPIApi.js +16 -16
- package/dist/api/BatchAPIApi.js +16 -16
- package/dist/api/CustomFieldSettingsApi.js +16 -16
- package/dist/api/CustomFieldsApi.js +16 -16
- package/dist/api/EventsApi.js +16 -16
- package/dist/api/GoalRelationshipsApi.js +16 -16
- package/dist/api/GoalsApi.js +18 -16
- package/dist/api/JobsApi.js +16 -16
- package/dist/api/MembershipsApi.js +16 -16
- package/dist/api/OrganizationExportsApi.js +16 -16
- package/dist/api/PortfolioMembershipsApi.js +16 -16
- package/dist/api/PortfoliosApi.js +16 -16
- package/dist/api/ProjectBriefsApi.js +16 -16
- package/dist/api/ProjectMembershipsApi.js +16 -16
- package/dist/api/ProjectStatusesApi.js +16 -16
- package/dist/api/ProjectTemplatesApi.js +16 -16
- package/dist/api/ProjectsApi.js +27 -20
- package/dist/api/RulesApi.js +16 -16
- package/dist/api/SectionsApi.js +16 -16
- package/dist/api/StatusUpdatesApi.js +16 -16
- package/dist/api/StoriesApi.js +16 -16
- package/dist/api/TagsApi.js +16 -16
- package/dist/api/TaskTemplatesApi.js +16 -16
- package/dist/api/TasksApi.js +16 -16
- package/dist/api/TeamMembershipsApi.js +16 -16
- package/dist/api/TeamsApi.js +16 -16
- package/dist/api/TimePeriodsApi.js +16 -16
- package/dist/api/TimeTrackingEntriesApi.js +16 -16
- package/dist/api/TypeaheadApi.js +16 -16
- package/dist/api/UserTaskListsApi.js +16 -16
- package/dist/api/UsersApi.js +16 -16
- package/dist/api/WebhooksApi.js +16 -16
- package/dist/api/WorkspaceMembershipsApi.js +16 -16
- package/dist/api/WorkspacesApi.js +16 -16
- package/package.json +3 -1
- package/src/ApiClient.js +20 -12
- package/src/api/AttachmentsApi.js +2 -2
- package/src/api/AuditLogAPIApi.js +2 -2
- package/src/api/BatchAPIApi.js +2 -2
- package/src/api/CustomFieldSettingsApi.js +2 -2
- package/src/api/CustomFieldsApi.js +2 -2
- package/src/api/EventsApi.js +2 -2
- package/src/api/GoalRelationshipsApi.js +2 -2
- package/src/api/GoalsApi.js +4 -2
- package/src/api/JobsApi.js +2 -2
- package/src/api/MembershipsApi.js +2 -2
- package/src/api/OrganizationExportsApi.js +2 -2
- package/src/api/PortfolioMembershipsApi.js +2 -2
- package/src/api/PortfoliosApi.js +2 -2
- package/src/api/ProjectBriefsApi.js +2 -2
- package/src/api/ProjectMembershipsApi.js +2 -2
- package/src/api/ProjectStatusesApi.js +2 -2
- package/src/api/ProjectTemplatesApi.js +2 -2
- package/src/api/ProjectsApi.js +13 -7
- package/src/api/RulesApi.js +2 -2
- package/src/api/SectionsApi.js +2 -2
- package/src/api/StatusUpdatesApi.js +2 -2
- package/src/api/StoriesApi.js +2 -2
- package/src/api/TagsApi.js +2 -2
- package/src/api/TaskTemplatesApi.js +2 -2
- package/src/api/TasksApi.js +2 -2
- package/src/api/TeamMembershipsApi.js +2 -2
- package/src/api/TeamsApi.js +2 -2
- package/src/api/TimePeriodsApi.js +2 -2
- package/src/api/TimeTrackingEntriesApi.js +2 -2
- package/src/api/TypeaheadApi.js +2 -2
- package/src/api/UserTaskListsApi.js +2 -2
- package/src/api/UsersApi.js +2 -2
- package/src/api/WebhooksApi.js +2 -2
- package/src/api/WorkspaceMembershipsApi.js +2 -2
- package/src/api/WorkspacesApi.js +2 -2
- package/src/index.js +2 -2
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Attachments service.
|
|
20
20
|
* @module api/AttachmentsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class AttachmentsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* AuditLogAPI service.
|
|
20
20
|
* @module api/AuditLogAPIApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class AuditLogAPIApi {
|
|
24
24
|
|
package/src/api/BatchAPIApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* BatchAPI service.
|
|
20
20
|
* @module api/BatchAPIApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class BatchAPIApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* CustomFieldSettings service.
|
|
20
20
|
* @module api/CustomFieldSettingsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class CustomFieldSettingsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* CustomFields service.
|
|
20
20
|
* @module api/CustomFieldsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class CustomFieldsApi {
|
|
24
24
|
|
package/src/api/EventsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Events service.
|
|
20
20
|
* @module api/EventsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class EventsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* GoalRelationships service.
|
|
20
20
|
* @module api/GoalRelationshipsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class GoalRelationshipsApi {
|
|
24
24
|
|
package/src/api/GoalsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Goals service.
|
|
20
20
|
* @module api/GoalsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class GoalsApi {
|
|
24
24
|
|
|
@@ -493,6 +493,7 @@ export class GoalsApi {
|
|
|
493
493
|
* @param {Object} opts Optional parameters
|
|
494
494
|
* @param {String} opts.portfolio Globally unique identifier for supporting portfolio.
|
|
495
495
|
* @param {String} opts.project Globally unique identifier for supporting project.
|
|
496
|
+
* @param {String} opts.task Globally unique identifier for supporting task.
|
|
496
497
|
* @param {Boolean} opts.is_workspace_level Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter.
|
|
497
498
|
* @param {String} opts.team Globally unique identifier for the team.
|
|
498
499
|
* @param {String} opts.workspace Globally unique identifier for the workspace.
|
|
@@ -563,6 +564,7 @@ export class GoalsApi {
|
|
|
563
564
|
* @param {Object} opts Optional parameters
|
|
564
565
|
* @param {String} opts.portfolio Globally unique identifier for supporting portfolio.
|
|
565
566
|
* @param {String} opts.project Globally unique identifier for supporting project.
|
|
567
|
+
* @param {String} opts.task Globally unique identifier for supporting task.
|
|
566
568
|
* @param {Boolean} opts.is_workspace_level Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter.
|
|
567
569
|
* @param {String} opts.team Globally unique identifier for the team.
|
|
568
570
|
* @param {String} opts.workspace Globally unique identifier for the workspace.
|
package/src/api/JobsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Jobs service.
|
|
20
20
|
* @module api/JobsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class JobsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Memberships service.
|
|
20
20
|
* @module api/MembershipsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class MembershipsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* OrganizationExports service.
|
|
20
20
|
* @module api/OrganizationExportsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class OrganizationExportsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* PortfolioMemberships service.
|
|
20
20
|
* @module api/PortfolioMembershipsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class PortfolioMembershipsApi {
|
|
24
24
|
|
package/src/api/PortfoliosApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Portfolios service.
|
|
20
20
|
* @module api/PortfoliosApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class PortfoliosApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* ProjectBriefs service.
|
|
20
20
|
* @module api/ProjectBriefsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectBriefsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* ProjectMemberships service.
|
|
20
20
|
* @module api/ProjectMembershipsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectMembershipsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* ProjectStatuses service.
|
|
20
20
|
* @module api/ProjectStatusesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectStatusesApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* ProjectTemplates service.
|
|
20
20
|
* @module api/ProjectTemplatesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectTemplatesApi {
|
|
24
24
|
|
package/src/api/ProjectsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -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.2
|
|
22
22
|
*/
|
|
23
23
|
export class ProjectsApi {
|
|
24
24
|
|
|
@@ -41,10 +41,12 @@ export class ProjectsApi {
|
|
|
41
41
|
* Custom fields are associated with projects by way of custom field settings. This method creates a setting for the project.
|
|
42
42
|
* @param {module:model/Object} body Information about the custom field setting.
|
|
43
43
|
* @param {String} project_gid Globally unique identifier for the project.
|
|
44
|
+
* @param {Object} opts Optional parameters
|
|
45
|
+
* @param {Array.<module:model/String>} opts.opt_fields 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.
|
|
44
46
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data and HTTP response
|
|
45
47
|
*/
|
|
46
|
-
addCustomFieldSettingForProjectWithHttpInfo(body, project_gid) {
|
|
47
|
-
|
|
48
|
+
addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts) {
|
|
49
|
+
opts = opts || {};
|
|
48
50
|
let postBody = body;
|
|
49
51
|
// verify the required parameter 'body' is set
|
|
50
52
|
if (body === undefined || body === null) {
|
|
@@ -59,6 +61,8 @@ export class ProjectsApi {
|
|
|
59
61
|
'project_gid': project_gid
|
|
60
62
|
};
|
|
61
63
|
let queryParams = {};
|
|
64
|
+
opts = opts || {};
|
|
65
|
+
queryParams = opts;
|
|
62
66
|
|
|
63
67
|
let headerParams = {
|
|
64
68
|
|
|
@@ -109,15 +113,17 @@ export class ProjectsApi {
|
|
|
109
113
|
* Custom fields are associated with projects by way of custom field settings. This method creates a setting for the project.
|
|
110
114
|
* @param {<&vendorExtensions.x-jsdoc-type>} body Information about the custom field setting.
|
|
111
115
|
* @param {<&vendorExtensions.x-jsdoc-type>} project_gid Globally unique identifier for the project.
|
|
116
|
+
* @param {Object} opts Optional parameters
|
|
117
|
+
* @param {Array.<module:model/String>} opts.opt_fields 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.
|
|
112
118
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomFieldSettingResponseData}
|
|
113
119
|
*/
|
|
114
|
-
addCustomFieldSettingForProject(body, project_gid) {
|
|
120
|
+
addCustomFieldSettingForProject(body, project_gid, opts) {
|
|
115
121
|
|
|
116
122
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
117
123
|
if (this.apiClient.RETURN_COLLECTION && false) {
|
|
118
|
-
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid)
|
|
124
|
+
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts)
|
|
119
125
|
} else {
|
|
120
|
-
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid)
|
|
126
|
+
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts)
|
|
121
127
|
.then(function(response_and_data) {
|
|
122
128
|
return response_and_data.data;
|
|
123
129
|
});
|
package/src/api/RulesApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Rules service.
|
|
20
20
|
* @module api/RulesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class RulesApi {
|
|
24
24
|
|
package/src/api/SectionsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Sections service.
|
|
20
20
|
* @module api/SectionsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class SectionsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* StatusUpdates service.
|
|
20
20
|
* @module api/StatusUpdatesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class StatusUpdatesApi {
|
|
24
24
|
|
package/src/api/StoriesApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Stories service.
|
|
20
20
|
* @module api/StoriesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class StoriesApi {
|
|
24
24
|
|
package/src/api/TagsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Tags service.
|
|
20
20
|
* @module api/TagsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TagsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* TaskTemplates service.
|
|
20
20
|
* @module api/TaskTemplatesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TaskTemplatesApi {
|
|
24
24
|
|
package/src/api/TasksApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Tasks service.
|
|
20
20
|
* @module api/TasksApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TasksApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* TeamMemberships service.
|
|
20
20
|
* @module api/TeamMembershipsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TeamMembershipsApi {
|
|
24
24
|
|
package/src/api/TeamsApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Teams service.
|
|
20
20
|
* @module api/TeamsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TeamsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* TimePeriods service.
|
|
20
20
|
* @module api/TimePeriodsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TimePeriodsApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* TimeTrackingEntries service.
|
|
20
20
|
* @module api/TimeTrackingEntriesApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TimeTrackingEntriesApi {
|
|
24
24
|
|
package/src/api/TypeaheadApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Typeahead service.
|
|
20
20
|
* @module api/TypeaheadApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class TypeaheadApi {
|
|
24
24
|
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* UserTaskLists service.
|
|
20
20
|
* @module api/UserTaskListsApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class UserTaskListsApi {
|
|
24
24
|
|
package/src/api/UsersApi.js
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
8
8
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
9
9
|
*
|
|
10
|
-
* Swagger Codegen version: 3.0.
|
|
10
|
+
* Swagger Codegen version: 3.0.52
|
|
11
11
|
*
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*
|
|
@@ -18,7 +18,7 @@ var Collection = require('../utils/collection');
|
|
|
18
18
|
/**
|
|
19
19
|
* Users service.
|
|
20
20
|
* @module api/UsersApi
|
|
21
|
-
* @version 3.0.
|
|
21
|
+
* @version 3.0.2
|
|
22
22
|
*/
|
|
23
23
|
export class UsersApi {
|
|
24
24
|
|