From f5208d3d2486e5de072b2e614bd71f16604ba2d2 Mon Sep 17 00:00:00 2001 From: jv-asana Date: Fri, 19 Jan 2024 22:48:54 +0000 Subject: [PATCH] Updated JavaScript SDK: v3.0.1 --- .swagger-codegen/VERSION | 2 +- README.md | 6 +++--- docs/BatchAPIApi.md | 2 +- docs/BatchAPIApi.yaml | 2 +- docs/CustomFieldsApi.md | 10 +++++----- docs/CustomFieldsApi.yaml | 10 +++++----- docs/GoalRelationshipsApi.md | 6 +++--- docs/GoalRelationshipsApi.yaml | 6 +++--- docs/GoalsApi.md | 14 +++++++------ docs/GoalsApi.yaml | 13 ++++++------ docs/MembershipsApi.md | 2 +- docs/MembershipsApi.yaml | 2 +- docs/OrganizationExportsApi.md | 2 +- docs/OrganizationExportsApi.yaml | 2 +- docs/PortfoliosApi.md | 16 +++++++-------- docs/PortfoliosApi.yaml | 16 +++++++-------- docs/ProjectBriefsApi.md | 4 ++-- docs/ProjectBriefsApi.yaml | 4 ++-- docs/ProjectStatusesApi.md | 2 +- docs/ProjectStatusesApi.yaml | 2 +- docs/ProjectTemplatesApi.md | 2 +- docs/ProjectTemplatesApi.yaml | 2 +- docs/ProjectsApi.md | 31 ++++++++++++++++------------- docs/ProjectsApi.yaml | 30 +++++++++++++++------------- docs/RulesApi.md | 2 +- docs/RulesApi.yaml | 2 +- docs/SectionsApi.md | 8 ++++---- docs/SectionsApi.yaml | 8 ++++---- docs/StatusUpdatesApi.md | 2 +- docs/StatusUpdatesApi.yaml | 2 +- docs/StoriesApi.md | 4 ++-- docs/StoriesApi.yaml | 4 ++-- docs/TagsApi.md | 4 ++-- docs/TagsApi.yaml | 4 ++-- docs/TaskTemplatesApi.md | 2 +- docs/TaskTemplatesApi.yaml | 2 +- docs/TasksApi.md | 30 ++++++++++++++-------------- docs/TasksApi.yaml | 30 ++++++++++++++-------------- docs/TeamsApi.md | 8 ++++---- docs/TeamsApi.yaml | 8 ++++---- docs/TimeTrackingEntriesApi.md | 4 ++-- docs/TimeTrackingEntriesApi.yaml | 4 ++-- docs/WebhooksApi.md | 4 ++-- docs/WebhooksApi.yaml | 4 ++-- docs/WorkspacesApi.md | 6 +++--- docs/WorkspacesApi.yaml | 6 +++--- package.json | 2 +- src/ApiClient.js | 32 +++++++++++++++++++----------- src/api/AttachmentsApi.js | 4 ++-- src/api/AuditLogAPIApi.js | 4 ++-- src/api/BatchAPIApi.js | 4 ++-- src/api/CustomFieldSettingsApi.js | 4 ++-- src/api/CustomFieldsApi.js | 4 ++-- src/api/EventsApi.js | 4 ++-- src/api/GoalRelationshipsApi.js | 4 ++-- src/api/GoalsApi.js | 6 ++++-- src/api/JobsApi.js | 4 ++-- src/api/MembershipsApi.js | 4 ++-- src/api/OrganizationExportsApi.js | 4 ++-- src/api/PortfolioMembershipsApi.js | 4 ++-- src/api/PortfoliosApi.js | 4 ++-- src/api/ProjectBriefsApi.js | 4 ++-- src/api/ProjectMembershipsApi.js | 4 ++-- src/api/ProjectStatusesApi.js | 4 ++-- src/api/ProjectTemplatesApi.js | 4 ++-- src/api/ProjectsApi.js | 20 ++++++++++++------- src/api/RulesApi.js | 4 ++-- src/api/SectionsApi.js | 4 ++-- src/api/StatusUpdatesApi.js | 4 ++-- src/api/StoriesApi.js | 4 ++-- src/api/TagsApi.js | 4 ++-- src/api/TaskTemplatesApi.js | 4 ++-- src/api/TasksApi.js | 4 ++-- src/api/TeamMembershipsApi.js | 4 ++-- src/api/TeamsApi.js | 4 ++-- src/api/TimePeriodsApi.js | 4 ++-- src/api/TimeTrackingEntriesApi.js | 4 ++-- src/api/TypeaheadApi.js | 4 ++-- src/api/UserTaskListsApi.js | 4 ++-- src/api/UsersApi.js | 4 ++-- src/api/WebhooksApi.js | 4 ++-- src/api/WorkspaceMembershipsApi.js | 4 ++-- src/api/WorkspacesApi.js | 4 ++-- src/index.js | 4 ++-- 84 files changed, 278 insertions(+), 254 deletions(-) diff --git a/.swagger-codegen/VERSION b/.swagger-codegen/VERSION index 16176176..97e616f0 100644 --- a/.swagger-codegen/VERSION +++ b/.swagger-codegen/VERSION @@ -1 +1 @@ -3.0.46 \ No newline at end of file +3.0.52 \ No newline at end of file diff --git a/README.md b/README.md index 1fe78066..2ca8ab99 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ > 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.0 +- Package version: 3.0.1 ## Installation @@ -29,7 +29,7 @@ npm install asana --save Include the latest release directly from GitHub: ```html - + ``` Example usage (**NOTE**: be careful not to expose your access token): @@ -1011,6 +1011,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.0 +[release-url]: https://github.com/Asana/node-asana/releases/tag/v3.0.1 [npm-image]: http://img.shields.io/npm/v/asana.svg?style=flat-square [npm-url]: https://www.npmjs.org/package/asana diff --git a/docs/BatchAPIApi.md b/docs/BatchAPIApi.md index 9c4da793..35322b9c 100644 --- a/docs/BatchAPIApi.md +++ b/docs/BatchAPIApi.md @@ -24,7 +24,7 @@ let token = client.authentications['token']; token.accessToken = ''; let batchApiApiInstance = new Asana.BatchAPIApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The requests to batch together via the Batch API. +let body = {"data": {"": "", "": "",}}; // Object | The requests to batch together via the Batch API. let opts = { 'opt_fields': "body,headers,status_code" }; diff --git a/docs/BatchAPIApi.yaml b/docs/BatchAPIApi.yaml index fbc16e5d..8eef9bec 100644 --- a/docs/BatchAPIApi.yaml +++ b/docs/BatchAPIApi.yaml @@ -7,7 +7,7 @@ BatchAPIApi: token.accessToken = ''; let batchApiApiInstance = new Asana.BatchAPIApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The requests to batch together via the Batch API. + let body = {"data": {"": "", "": "",}}; // Object | The requests to batch together via the Batch API. let opts = { 'opt_fields': "body,headers,status_code" }; diff --git a/docs/CustomFieldsApi.md b/docs/CustomFieldsApi.md index 6cf1b8e4..8c491440 100644 --- a/docs/CustomFieldsApi.md +++ b/docs/CustomFieldsApi.md @@ -31,7 +31,7 @@ let token = client.authentications['token']; token.accessToken = ''; let customFieldsApiInstance = new Asana.CustomFieldsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The custom field object to create. +let body = {"data": {"": "", "": "",}}; // Object | The custom field object to create. let opts = { 'opt_fields': "asana_created_field,created_by,created_by.name,currency_code,custom_label,custom_label_position,date_value,date_value.date,date_value.date_time,description,display_value,enabled,enum_options,enum_options.color,enum_options.enabled,enum_options.name,enum_value,enum_value.color,enum_value.enabled,enum_value.name,format,has_notifications_enabled,is_formula_field,is_global_to_workspace,is_value_read_only,multi_enum_values,multi_enum_values.color,multi_enum_values.enabled,multi_enum_values.name,name,number_value,people_value,people_value.name,precision,resource_subtype,text_value,type" }; @@ -79,7 +79,7 @@ token.accessToken = ''; let customFieldsApiInstance = new Asana.CustomFieldsApi(); let custom_field_gid = "12345"; // String | Globally unique identifier for the custom field. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "color,enabled,name" }; customFieldsApiInstance.createEnumOptionForCustomField(custom_field_gid, opts).then((result) => { @@ -266,7 +266,7 @@ token.accessToken = ''; let customFieldsApiInstance = new Asana.CustomFieldsApi(); let custom_field_gid = "12345"; // String | Globally unique identifier for the custom field. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "color,enabled,name" }; customFieldsApiInstance.insertEnumOptionForCustomField(custom_field_gid, opts).then((result) => { @@ -314,7 +314,7 @@ token.accessToken = ''; let customFieldsApiInstance = new Asana.CustomFieldsApi(); let custom_field_gid = "12345"; // String | Globally unique identifier for the custom field. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "asana_created_field,created_by,created_by.name,currency_code,custom_label,custom_label_position,date_value,date_value.date,date_value.date_time,description,display_value,enabled,enum_options,enum_options.color,enum_options.enabled,enum_options.name,enum_value,enum_value.color,enum_value.enabled,enum_value.name,format,has_notifications_enabled,is_formula_field,is_global_to_workspace,is_value_read_only,multi_enum_values,multi_enum_values.color,multi_enum_values.enabled,multi_enum_values.name,name,number_value,people_value,people_value.name,precision,resource_subtype,text_value,type" }; customFieldsApiInstance.updateCustomField(custom_field_gid, opts).then((result) => { @@ -362,7 +362,7 @@ token.accessToken = ''; let customFieldsApiInstance = new Asana.CustomFieldsApi(); let enum_option_gid = "124578"; // String | Globally unique identifier for the enum option. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "color,enabled,name" }; customFieldsApiInstance.updateEnumOption(enum_option_gid, opts).then((result) => { diff --git a/docs/CustomFieldsApi.yaml b/docs/CustomFieldsApi.yaml index 5a1d2ddb..72fcb81e 100644 --- a/docs/CustomFieldsApi.yaml +++ b/docs/CustomFieldsApi.yaml @@ -7,7 +7,7 @@ CustomFieldsApi: token.accessToken = ''; let customFieldsApiInstance = new Asana.CustomFieldsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The custom field object to create. + let body = {"data": {"": "", "": "",}}; // Object | The custom field object to create. let opts = { 'opt_fields': "asana_created_field,created_by,created_by.name,currency_code,custom_label,custom_label_position,date_value,date_value.date,date_value.date_time,description,display_value,enabled,enum_options,enum_options.color,enum_options.enabled,enum_options.name,enum_value,enum_value.color,enum_value.enabled,enum_value.name,format,has_notifications_enabled,is_formula_field,is_global_to_workspace,is_value_read_only,multi_enum_values,multi_enum_values.color,multi_enum_values.enabled,multi_enum_values.name,name,number_value,people_value,people_value.name,precision,resource_subtype,text_value,type" }; @@ -27,7 +27,7 @@ CustomFieldsApi: let customFieldsApiInstance = new Asana.CustomFieldsApi(); let custom_field_gid = "12345"; // String | Globally unique identifier for the custom field. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "color,enabled,name" }; customFieldsApiInstance.createEnumOptionForCustomField(custom_field_gid, opts).then((result) => { @@ -100,7 +100,7 @@ CustomFieldsApi: let customFieldsApiInstance = new Asana.CustomFieldsApi(); let custom_field_gid = "12345"; // String | Globally unique identifier for the custom field. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "color,enabled,name" }; customFieldsApiInstance.insertEnumOptionForCustomField(custom_field_gid, opts).then((result) => { @@ -119,7 +119,7 @@ CustomFieldsApi: let customFieldsApiInstance = new Asana.CustomFieldsApi(); let custom_field_gid = "12345"; // String | Globally unique identifier for the custom field. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "asana_created_field,created_by,created_by.name,currency_code,custom_label,custom_label_position,date_value,date_value.date,date_value.date_time,description,display_value,enabled,enum_options,enum_options.color,enum_options.enabled,enum_options.name,enum_value,enum_value.color,enum_value.enabled,enum_value.name,format,has_notifications_enabled,is_formula_field,is_global_to_workspace,is_value_read_only,multi_enum_values,multi_enum_values.color,multi_enum_values.enabled,multi_enum_values.name,name,number_value,people_value,people_value.name,precision,resource_subtype,text_value,type" }; customFieldsApiInstance.updateCustomField(custom_field_gid, opts).then((result) => { @@ -138,7 +138,7 @@ CustomFieldsApi: let customFieldsApiInstance = new Asana.CustomFieldsApi(); let enum_option_gid = "124578"; // String | Globally unique identifier for the enum option. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "color,enabled,name" }; customFieldsApiInstance.updateEnumOption(enum_option_gid, opts).then((result) => { diff --git a/docs/GoalRelationshipsApi.md b/docs/GoalRelationshipsApi.md index f8f9072f..9310da5a 100644 --- a/docs/GoalRelationshipsApi.md +++ b/docs/GoalRelationshipsApi.md @@ -28,7 +28,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalRelationshipsApiInstance = new Asana.GoalRelationshipsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The supporting resource to be added to the goal +let body = {"data": {"": "", "": "",}}; // Object | The supporting resource to be added to the goal let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "contribution_weight,resource_subtype,supported_goal,supported_goal.name,supported_goal.owner,supported_goal.owner.name,supporting_resource,supporting_resource.name" @@ -174,7 +174,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalRelationshipsApiInstance = new Asana.GoalRelationshipsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The supporting resource to be removed from the goal +let body = {"data": {"": "", "": "",}}; // Object | The supporting resource to be removed from the goal let goal_gid = "12345"; // String | Globally unique identifier for the goal. goalRelationshipsApiInstance.removeSupportingRelationship(body, goal_gid).then((result) => { @@ -219,7 +219,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalRelationshipsApiInstance = new Asana.GoalRelationshipsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the goal relationship. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the goal relationship. let goal_relationship_gid = "12345"; // String | Globally unique identifier for the goal relationship. let opts = { 'opt_fields': "contribution_weight,resource_subtype,supported_goal,supported_goal.name,supported_goal.owner,supported_goal.owner.name,supporting_resource,supporting_resource.name" diff --git a/docs/GoalRelationshipsApi.yaml b/docs/GoalRelationshipsApi.yaml index b39a0509..b204e02f 100644 --- a/docs/GoalRelationshipsApi.yaml +++ b/docs/GoalRelationshipsApi.yaml @@ -7,7 +7,7 @@ GoalRelationshipsApi: token.accessToken = ''; let goalRelationshipsApiInstance = new Asana.GoalRelationshipsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The supporting resource to be added to the goal + let body = {"data": {"": "", "": "",}}; // Object | The supporting resource to be added to the goal let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "contribution_weight,resource_subtype,supported_goal,supported_goal.name,supported_goal.owner,supported_goal.owner.name,supporting_resource,supporting_resource.name" @@ -65,7 +65,7 @@ GoalRelationshipsApi: token.accessToken = ''; let goalRelationshipsApiInstance = new Asana.GoalRelationshipsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The supporting resource to be removed from the goal + let body = {"data": {"": "", "": "",}}; // Object | The supporting resource to be removed from the goal let goal_gid = "12345"; // String | Globally unique identifier for the goal. goalRelationshipsApiInstance.removeSupportingRelationship(body, goal_gid).then((result) => { @@ -82,7 +82,7 @@ GoalRelationshipsApi: token.accessToken = ''; let goalRelationshipsApiInstance = new Asana.GoalRelationshipsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the goal relationship. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the goal relationship. let goal_relationship_gid = "12345"; // String | Globally unique identifier for the goal relationship. let opts = { 'opt_fields': "contribution_weight,resource_subtype,supported_goal,supported_goal.name,supported_goal.owner,supported_goal.owner.name,supporting_resource,supporting_resource.name" diff --git a/docs/GoalsApi.md b/docs/GoalsApi.md index a1c9334f..65fa6bab 100644 --- a/docs/GoalsApi.md +++ b/docs/GoalsApi.md @@ -33,7 +33,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to be added as collaborators +let body = {"data": {"": "", "": "",}}; // Object | The followers to be added as collaborators let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -81,7 +81,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The goal to create. +let body = {"data": {"": "", "": "",}}; // Object | The goal to create. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" }; @@ -127,7 +127,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The goal metric to create. +let body = {"data": {"": "", "": "",}}; // Object | The goal metric to create. let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -267,6 +267,7 @@ let goalsApiInstance = new Asana.GoalsApi(); let opts = { 'portfolio': "159874", 'project': "512241", + 'task': "78424", 'is_workspace_level': false, 'team': "31326", 'workspace': "31326", @@ -289,6 +290,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **portfolio** | **String**| Globally unique identifier for supporting portfolio. | [optional] **project** | **String**| Globally unique identifier for supporting project. | [optional] + **task** | **String**| Globally unique identifier for supporting task. | [optional] **is_workspace_level** | **Boolean**| Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter. | [optional] **team** | **String**| Globally unique identifier for the team. | [optional] **workspace** | **String**| Globally unique identifier for the workspace. | [optional] @@ -370,7 +372,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to be removed as collaborators +let body = {"data": {"": "", "": "",}}; // Object | The followers to be removed as collaborators let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -418,7 +420,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the goal. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the goal. let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -466,7 +468,7 @@ let token = client.authentications['token']; token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the goal metric. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the goal metric. let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" diff --git a/docs/GoalsApi.yaml b/docs/GoalsApi.yaml index d945ad8e..52dcc4e6 100644 --- a/docs/GoalsApi.yaml +++ b/docs/GoalsApi.yaml @@ -7,7 +7,7 @@ GoalsApi: token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to be added as collaborators + let body = {"data": {"": "", "": "",}}; // Object | The followers to be added as collaborators let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -26,7 +26,7 @@ GoalsApi: token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The goal to create. + let body = {"data": {"": "", "": "",}}; // Object | The goal to create. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" }; @@ -44,7 +44,7 @@ GoalsApi: token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The goal metric to create. + let body = {"data": {"": "", "": "",}}; // Object | The goal metric to create. let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -100,6 +100,7 @@ GoalsApi: let opts = { 'portfolio': "159874", 'project': "512241", + 'task': "78424", 'is_workspace_level': false, 'team': "31326", 'workspace': "31326", @@ -140,7 +141,7 @@ GoalsApi: token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to be removed as collaborators + let body = {"data": {"": "", "": "",}}; // Object | The followers to be removed as collaborators let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -159,7 +160,7 @@ GoalsApi: token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the goal. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the goal. let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" @@ -178,7 +179,7 @@ GoalsApi: token.accessToken = ''; let goalsApiInstance = new Asana.GoalsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the goal metric. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the goal metric. let goal_gid = "12345"; // String | Globally unique identifier for the goal. let opts = { 'opt_fields': "current_status_update,current_status_update.resource_subtype,current_status_update.title,due_on,followers,followers.name,html_notes,is_workspace_level,liked,likes,likes.user,likes.user.name,metric,metric.can_manage,metric.currency_code,metric.current_display_value,metric.current_number_value,metric.initial_number_value,metric.precision,metric.progress_source,metric.resource_subtype,metric.target_number_value,metric.unit,name,notes,num_likes,owner,owner.name,start_on,status,team,team.name,time_period,time_period.display_name,time_period.end_on,time_period.period,time_period.start_on,workspace,workspace.name" diff --git a/docs/MembershipsApi.md b/docs/MembershipsApi.md index 43fda741..7b45be92 100644 --- a/docs/MembershipsApi.md +++ b/docs/MembershipsApi.md @@ -28,7 +28,7 @@ token.accessToken = ''; let membershipsApiInstance = new Asana.MembershipsApi(); let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}} + 'body': {"data": {"": "", "": "",}} }; membershipsApiInstance.createMembership(opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); diff --git a/docs/MembershipsApi.yaml b/docs/MembershipsApi.yaml index 19a64111..3af89a53 100644 --- a/docs/MembershipsApi.yaml +++ b/docs/MembershipsApi.yaml @@ -8,7 +8,7 @@ MembershipsApi: let membershipsApiInstance = new Asana.MembershipsApi(); let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}} + 'body': {"data": {"": "", "": "",}} }; membershipsApiInstance.createMembership(opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); diff --git a/docs/OrganizationExportsApi.md b/docs/OrganizationExportsApi.md index bc395557..ab1f7adf 100644 --- a/docs/OrganizationExportsApi.md +++ b/docs/OrganizationExportsApi.md @@ -25,7 +25,7 @@ let token = client.authentications['token']; token.accessToken = ''; let organizationExportsApiInstance = new Asana.OrganizationExportsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The organization to export. +let body = {"data": {"": "", "": "",}}; // Object | The organization to export. let opts = { 'opt_fields': "created_at,download_url,organization,organization.name,state" }; diff --git a/docs/OrganizationExportsApi.yaml b/docs/OrganizationExportsApi.yaml index c9a82330..6814197d 100644 --- a/docs/OrganizationExportsApi.yaml +++ b/docs/OrganizationExportsApi.yaml @@ -7,7 +7,7 @@ OrganizationExportsApi: token.accessToken = ''; let organizationExportsApiInstance = new Asana.OrganizationExportsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The organization to export. + let body = {"data": {"": "", "": "",}}; // Object | The organization to export. let opts = { 'opt_fields': "created_at,download_url,organization,organization.name,state" }; diff --git a/docs/PortfoliosApi.md b/docs/PortfoliosApi.md index c8f72dfc..8ad23f7f 100644 --- a/docs/PortfoliosApi.md +++ b/docs/PortfoliosApi.md @@ -35,7 +35,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting. +let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.addCustomFieldSettingForPortfolio(body, portfolio_gid).then((result) => { @@ -80,7 +80,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the item being inserted. +let body = {"data": {"": "", "": "",}}; // Object | Information about the item being inserted. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.addItemForPortfolio(body, portfolio_gid).then((result) => { @@ -125,7 +125,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being added. +let body = {"data": {"": "", "": "",}}; // Object | Information about the members being added. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" @@ -173,7 +173,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The portfolio to create. +let body = {"data": {"": "", "": "",}}; // Object | The portfolio to create. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" }; @@ -410,7 +410,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting being removed. +let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting being removed. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.removeCustomFieldSettingForPortfolio(body, portfolio_gid).then((result) => { @@ -455,7 +455,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the item being removed. +let body = {"data": {"": "", "": "",}}; // Object | Information about the item being removed. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.removeItemForPortfolio(body, portfolio_gid).then((result) => { @@ -500,7 +500,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being removed. +let body = {"data": {"": "", "": "",}}; // Object | Information about the members being removed. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" @@ -548,7 +548,7 @@ let token = client.authentications['token']; token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the portfolio. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the portfolio. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" diff --git a/docs/PortfoliosApi.yaml b/docs/PortfoliosApi.yaml index f96e1102..557a9bca 100644 --- a/docs/PortfoliosApi.yaml +++ b/docs/PortfoliosApi.yaml @@ -7,7 +7,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting. + let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.addCustomFieldSettingForPortfolio(body, portfolio_gid).then((result) => { @@ -24,7 +24,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the item being inserted. + let body = {"data": {"": "", "": "",}}; // Object | Information about the item being inserted. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.addItemForPortfolio(body, portfolio_gid).then((result) => { @@ -41,7 +41,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being added. + let body = {"data": {"": "", "": "",}}; // Object | Information about the members being added. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" @@ -60,7 +60,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The portfolio to create. + let body = {"data": {"": "", "": "",}}; // Object | The portfolio to create. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" }; @@ -153,7 +153,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting being removed. + let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting being removed. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.removeCustomFieldSettingForPortfolio(body, portfolio_gid).then((result) => { @@ -170,7 +170,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the item being removed. + let body = {"data": {"": "", "": "",}}; // Object | Information about the item being removed. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. portfoliosApiInstance.removeItemForPortfolio(body, portfolio_gid).then((result) => { @@ -187,7 +187,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being removed. + let body = {"data": {"": "", "": "",}}; // Object | Information about the members being removed. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" @@ -206,7 +206,7 @@ PortfoliosApi: token.accessToken = ''; let portfoliosApiInstance = new Asana.PortfoliosApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the portfolio. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the portfolio. let portfolio_gid = "12345"; // String | Globally unique identifier for the portfolio. let opts = { 'opt_fields': "color,created_at,created_by,created_by.name,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,due_on,members,members.name,name,owner,owner.name,permalink_url,project_templates,project_templates.name,public,start_on,workspace,workspace.name" diff --git a/docs/ProjectBriefsApi.md b/docs/ProjectBriefsApi.md index bd75f0ca..b823f872 100644 --- a/docs/ProjectBriefsApi.md +++ b/docs/ProjectBriefsApi.md @@ -27,7 +27,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectBriefsApiInstance = new Asana.ProjectBriefsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project brief to create. +let body = {"data": {"": "", "": "",}}; // Object | The project brief to create. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "html_text,permalink_url,project,project.name,text,title" @@ -164,7 +164,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectBriefsApiInstance = new Asana.ProjectBriefsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the project brief. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the project brief. let project_brief_gid = "12345"; // String | Globally unique identifier for the project brief. let opts = { 'opt_fields': "html_text,permalink_url,project,project.name,text,title" diff --git a/docs/ProjectBriefsApi.yaml b/docs/ProjectBriefsApi.yaml index cc49e804..974ecff4 100644 --- a/docs/ProjectBriefsApi.yaml +++ b/docs/ProjectBriefsApi.yaml @@ -7,7 +7,7 @@ ProjectBriefsApi: token.accessToken = ''; let projectBriefsApiInstance = new Asana.ProjectBriefsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project brief to create. + let body = {"data": {"": "", "": "",}}; // Object | The project brief to create. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "html_text,permalink_url,project,project.name,text,title" @@ -60,7 +60,7 @@ ProjectBriefsApi: token.accessToken = ''; let projectBriefsApiInstance = new Asana.ProjectBriefsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the project brief. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the project brief. let project_brief_gid = "12345"; // String | Globally unique identifier for the project brief. let opts = { 'opt_fields': "html_text,permalink_url,project,project.name,text,title" diff --git a/docs/ProjectStatusesApi.md b/docs/ProjectStatusesApi.md index f6fd31ad..42485a6c 100644 --- a/docs/ProjectStatusesApi.md +++ b/docs/ProjectStatusesApi.md @@ -27,7 +27,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectStatusesApiInstance = new Asana.ProjectStatusesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project status to create. +let body = {"data": {"": "", "": "",}}; // Object | The project status to create. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "author,author.name,color,created_at,created_by,created_by.name,html_text,modified_at,text,title" diff --git a/docs/ProjectStatusesApi.yaml b/docs/ProjectStatusesApi.yaml index 8552caa2..c2f8742e 100644 --- a/docs/ProjectStatusesApi.yaml +++ b/docs/ProjectStatusesApi.yaml @@ -7,7 +7,7 @@ ProjectStatusesApi: token.accessToken = ''; let projectStatusesApiInstance = new Asana.ProjectStatusesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project status to create. + let body = {"data": {"": "", "": "",}}; // Object | The project status to create. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "author,author.name,color,created_at,created_by,created_by.name,html_text,modified_at,text,title" diff --git a/docs/ProjectTemplatesApi.md b/docs/ProjectTemplatesApi.md index 9d03ad56..0a1e46ea 100644 --- a/docs/ProjectTemplatesApi.md +++ b/docs/ProjectTemplatesApi.md @@ -221,7 +221,7 @@ token.accessToken = ''; let projectTemplatesApiInstance = new Asana.ProjectTemplatesApi(); let project_template_gid = "1331"; // String | Globally unique identifier for the project template. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" }; projectTemplatesApiInstance.instantiateProject(project_template_gid, opts).then((result) => { diff --git a/docs/ProjectTemplatesApi.yaml b/docs/ProjectTemplatesApi.yaml index ba0792d2..0be38078 100644 --- a/docs/ProjectTemplatesApi.yaml +++ b/docs/ProjectTemplatesApi.yaml @@ -84,7 +84,7 @@ ProjectTemplatesApi: let projectTemplatesApiInstance = new Asana.ProjectTemplatesApi(); let project_template_gid = "1331"; // String | Globally unique identifier for the project template. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" }; projectTemplatesApiInstance.instantiateProject(project_template_gid, opts).then((result) => { diff --git a/docs/ProjectsApi.md b/docs/ProjectsApi.md index 2c7be919..f0f96d9c 100644 --- a/docs/ProjectsApi.md +++ b/docs/ProjectsApi.md @@ -42,10 +42,12 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting. +let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting. let project_gid = "1331"; // String | Globally unique identifier for the project. - -projectsApiInstance.addCustomFieldSettingForProject(body, project_gid).then((result) => { +let opts = { + 'opt_fields': "custom_field,custom_field.asana_created_field,custom_field.created_by,custom_field.created_by.name,custom_field.currency_code,custom_field.custom_label,custom_field.custom_label_position,custom_field.date_value,custom_field.date_value.date,custom_field.date_value.date_time,custom_field.description,custom_field.display_value,custom_field.enabled,custom_field.enum_options,custom_field.enum_options.color,custom_field.enum_options.enabled,custom_field.enum_options.name,custom_field.enum_value,custom_field.enum_value.color,custom_field.enum_value.enabled,custom_field.enum_value.name,custom_field.format,custom_field.has_notifications_enabled,custom_field.is_formula_field,custom_field.is_global_to_workspace,custom_field.is_value_read_only,custom_field.multi_enum_values,custom_field.multi_enum_values.color,custom_field.multi_enum_values.enabled,custom_field.multi_enum_values.name,custom_field.name,custom_field.number_value,custom_field.people_value,custom_field.people_value.name,custom_field.precision,custom_field.resource_subtype,custom_field.text_value,custom_field.type,is_important,parent,parent.name,project,project.name" +}; +projectsApiInstance.addCustomFieldSettingForProject(body, project_gid, opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); }, (error) => { console.error(error.response.body); @@ -59,6 +61,7 @@ Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **body** | **Object**| Information about the custom field setting. | **project_gid** | **String**| Globally unique identifier for the project. | + **opt_fields** | **Object**| 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. | [optional] ### Return type @@ -87,7 +90,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the followers being added. +let body = {"data": {"": "", "": "",}}; // Object | Information about the followers being added. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -135,7 +138,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being added. +let body = {"data": {"": "", "": "",}}; // Object | Information about the members being added. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -183,7 +186,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project to create. +let body = {"data": {"": "", "": "",}}; // Object | The project to create. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" }; @@ -229,7 +232,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new project to create. +let body = {"data": {"": "", "": "",}}; // Object | The new project to create. let team_gid = "159874"; // String | Globally unique identifier for the team. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -277,7 +280,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new project to create. +let body = {"data": {"": "", "": "",}}; // Object | The new project to create. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -370,7 +373,7 @@ token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" }; projectsApiInstance.duplicateProject(project_gid, opts).then((result) => { @@ -716,7 +719,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Describes the inputs used for creating a project template, such as the resulting project template's name, which team it should be created in. +let body = {"data": {"": "", "": "",}}; // Object | Describes the inputs used for creating a project template, such as the resulting project template's name, which team it should be created in. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" @@ -764,7 +767,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting being removed. +let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting being removed. let project_gid = "1331"; // String | Globally unique identifier for the project. projectsApiInstance.removeCustomFieldSettingForProject(body, project_gid).then((result) => { @@ -809,7 +812,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the followers being removed. +let body = {"data": {"": "", "": "",}}; // Object | Information about the followers being removed. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -857,7 +860,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being removed. +let body = {"data": {"": "", "": "",}}; // Object | Information about the members being removed. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -905,7 +908,7 @@ let token = client.authentications['token']; token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the project. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the project. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" diff --git a/docs/ProjectsApi.yaml b/docs/ProjectsApi.yaml index 4557c83d..3608ab9b 100644 --- a/docs/ProjectsApi.yaml +++ b/docs/ProjectsApi.yaml @@ -7,10 +7,12 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting. + let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting. let project_gid = "1331"; // String | Globally unique identifier for the project. - - projectsApiInstance.addCustomFieldSettingForProject(body, project_gid).then((result) => { + let opts = { + 'opt_fields': "custom_field,custom_field.asana_created_field,custom_field.created_by,custom_field.created_by.name,custom_field.currency_code,custom_field.custom_label,custom_field.custom_label_position,custom_field.date_value,custom_field.date_value.date,custom_field.date_value.date_time,custom_field.description,custom_field.display_value,custom_field.enabled,custom_field.enum_options,custom_field.enum_options.color,custom_field.enum_options.enabled,custom_field.enum_options.name,custom_field.enum_value,custom_field.enum_value.color,custom_field.enum_value.enabled,custom_field.enum_value.name,custom_field.format,custom_field.has_notifications_enabled,custom_field.is_formula_field,custom_field.is_global_to_workspace,custom_field.is_value_read_only,custom_field.multi_enum_values,custom_field.multi_enum_values.color,custom_field.multi_enum_values.enabled,custom_field.multi_enum_values.name,custom_field.name,custom_field.number_value,custom_field.people_value,custom_field.people_value.name,custom_field.precision,custom_field.resource_subtype,custom_field.text_value,custom_field.type,is_important,parent,parent.name,project,project.name" + }; + projectsApiInstance.addCustomFieldSettingForProject(body, project_gid, opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); }, (error) => { console.error(error.response.body); @@ -24,7 +26,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the followers being added. + let body = {"data": {"": "", "": "",}}; // Object | Information about the followers being added. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -43,7 +45,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being added. + let body = {"data": {"": "", "": "",}}; // Object | Information about the members being added. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -62,7 +64,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project to create. + let body = {"data": {"": "", "": "",}}; // Object | The project to create. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" }; @@ -80,7 +82,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new project to create. + let body = {"data": {"": "", "": "",}}; // Object | The new project to create. let team_gid = "159874"; // String | Globally unique identifier for the team. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -99,7 +101,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new project to create. + let body = {"data": {"": "", "": "",}}; // Object | The new project to create. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -136,7 +138,7 @@ ProjectsApi: let projectsApiInstance = new Asana.ProjectsApi(); let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" }; projectsApiInstance.duplicateProject(project_gid, opts).then((result) => { @@ -273,7 +275,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Describes the inputs used for creating a project template, such as the resulting project template's name, which team it should be created in. + let body = {"data": {"": "", "": "",}}; // Object | Describes the inputs used for creating a project template, such as the resulting project template's name, which team it should be created in. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" @@ -292,7 +294,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the custom field setting being removed. + let body = {"data": {"": "", "": "",}}; // Object | Information about the custom field setting being removed. let project_gid = "1331"; // String | Globally unique identifier for the project. projectsApiInstance.removeCustomFieldSettingForProject(body, project_gid).then((result) => { @@ -309,7 +311,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the followers being removed. + let body = {"data": {"": "", "": "",}}; // Object | Information about the followers being removed. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -328,7 +330,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the members being removed. + let body = {"data": {"": "", "": "",}}; // Object | Information about the members being removed. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" @@ -347,7 +349,7 @@ ProjectsApi: token.accessToken = ''; let projectsApiInstance = new Asana.ProjectsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the project. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the project. let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { 'opt_fields': "archived,color,completed,completed_at,completed_by,completed_by.name,created_at,created_from_template,created_from_template.name,current_status,current_status.author,current_status.author.name,current_status.color,current_status.created_at,current_status.created_by,current_status.created_by.name,current_status.html_text,current_status.modified_at,current_status.text,current_status.title,current_status_update,current_status_update.resource_subtype,current_status_update.title,custom_field_settings,custom_field_settings.custom_field,custom_field_settings.custom_field.asana_created_field,custom_field_settings.custom_field.created_by,custom_field_settings.custom_field.created_by.name,custom_field_settings.custom_field.currency_code,custom_field_settings.custom_field.custom_label,custom_field_settings.custom_field.custom_label_position,custom_field_settings.custom_field.date_value,custom_field_settings.custom_field.date_value.date,custom_field_settings.custom_field.date_value.date_time,custom_field_settings.custom_field.description,custom_field_settings.custom_field.display_value,custom_field_settings.custom_field.enabled,custom_field_settings.custom_field.enum_options,custom_field_settings.custom_field.enum_options.color,custom_field_settings.custom_field.enum_options.enabled,custom_field_settings.custom_field.enum_options.name,custom_field_settings.custom_field.enum_value,custom_field_settings.custom_field.enum_value.color,custom_field_settings.custom_field.enum_value.enabled,custom_field_settings.custom_field.enum_value.name,custom_field_settings.custom_field.format,custom_field_settings.custom_field.has_notifications_enabled,custom_field_settings.custom_field.is_formula_field,custom_field_settings.custom_field.is_global_to_workspace,custom_field_settings.custom_field.is_value_read_only,custom_field_settings.custom_field.multi_enum_values,custom_field_settings.custom_field.multi_enum_values.color,custom_field_settings.custom_field.multi_enum_values.enabled,custom_field_settings.custom_field.multi_enum_values.name,custom_field_settings.custom_field.name,custom_field_settings.custom_field.number_value,custom_field_settings.custom_field.people_value,custom_field_settings.custom_field.people_value.name,custom_field_settings.custom_field.precision,custom_field_settings.custom_field.resource_subtype,custom_field_settings.custom_field.text_value,custom_field_settings.custom_field.type,custom_field_settings.is_important,custom_field_settings.parent,custom_field_settings.parent.name,custom_field_settings.project,custom_field_settings.project.name,custom_fields,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.is_formula_field,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,default_access_level,default_view,due_date,due_on,followers,followers.name,html_notes,icon,members,members.name,minimum_access_level_for_customization,minimum_access_level_for_sharing,modified_at,name,notes,owner,permalink_url,project_brief,public,start_on,team,team.name,workspace,workspace.name" diff --git a/docs/RulesApi.md b/docs/RulesApi.md index 29b068c8..0f00b184 100644 --- a/docs/RulesApi.md +++ b/docs/RulesApi.md @@ -24,7 +24,7 @@ let token = client.authentications['token']; token.accessToken = ''; let rulesApiInstance = new Asana.RulesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | A dictionary of variables accessible from within the rule. +let body = {"data": {"": "", "": "",}}; // Object | A dictionary of variables accessible from within the rule. let rule_trigger_gid = "12345"; // String | The ID of the incoming web request trigger. This value is a path parameter that is automatically generated for the API endpoint. rulesApiInstance.triggerRule(body, rule_trigger_gid).then((result) => { diff --git a/docs/RulesApi.yaml b/docs/RulesApi.yaml index 60c5c09e..8da1dcec 100644 --- a/docs/RulesApi.yaml +++ b/docs/RulesApi.yaml @@ -7,7 +7,7 @@ RulesApi: token.accessToken = ''; let rulesApiInstance = new Asana.RulesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | A dictionary of variables accessible from within the rule. + let body = {"data": {"": "", "": "",}}; // Object | A dictionary of variables accessible from within the rule. let rule_trigger_gid = "12345"; // String | The ID of the incoming web request trigger. This value is a path parameter that is automatically generated for the API endpoint. rulesApiInstance.triggerRule(body, rule_trigger_gid).then((result) => { diff --git a/docs/SectionsApi.md b/docs/SectionsApi.md index 69f41b4a..fa028112 100644 --- a/docs/SectionsApi.md +++ b/docs/SectionsApi.md @@ -32,7 +32,7 @@ token.accessToken = ''; let sectionsApiInstance = new Asana.SectionsApi(); let section_gid = "321654"; // String | The globally unique identifier for the section. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}} + 'body': {"data": {"": "", "": "",}} }; sectionsApiInstance.addTaskForSection(section_gid, opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); @@ -78,7 +78,7 @@ token.accessToken = ''; let sectionsApiInstance = new Asana.SectionsApi(); let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "created_at,name,project,project.name,projects,projects.name" }; sectionsApiInstance.createSectionForProject(project_gid, opts).then((result) => { @@ -265,7 +265,7 @@ token.accessToken = ''; let sectionsApiInstance = new Asana.SectionsApi(); let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}} + 'body': {"data": {"": "", "": "",}} }; sectionsApiInstance.insertSectionForProject(project_gid, opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); @@ -311,7 +311,7 @@ token.accessToken = ''; let sectionsApiInstance = new Asana.SectionsApi(); let section_gid = "321654"; // String | The globally unique identifier for the section. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "created_at,name,project,project.name,projects,projects.name" }; sectionsApiInstance.updateSection(section_gid, opts).then((result) => { diff --git a/docs/SectionsApi.yaml b/docs/SectionsApi.yaml index 4f9816b8..2a2fadfd 100644 --- a/docs/SectionsApi.yaml +++ b/docs/SectionsApi.yaml @@ -9,7 +9,7 @@ SectionsApi: let sectionsApiInstance = new Asana.SectionsApi(); let section_gid = "321654"; // String | The globally unique identifier for the section. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}} + 'body': {"data": {"": "", "": "",}} }; sectionsApiInstance.addTaskForSection(section_gid, opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); @@ -27,7 +27,7 @@ SectionsApi: let sectionsApiInstance = new Asana.SectionsApi(); let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "created_at,name,project,project.name,projects,projects.name" }; sectionsApiInstance.createSectionForProject(project_gid, opts).then((result) => { @@ -100,7 +100,7 @@ SectionsApi: let sectionsApiInstance = new Asana.SectionsApi(); let project_gid = "1331"; // String | Globally unique identifier for the project. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}} + 'body': {"data": {"": "", "": "",}} }; sectionsApiInstance.insertSectionForProject(project_gid, opts).then((result) => { console.log('API called successfully. Returned data: ' + JSON.stringify(result.data, null, 2)); @@ -118,7 +118,7 @@ SectionsApi: let sectionsApiInstance = new Asana.SectionsApi(); let section_gid = "321654"; // String | The globally unique identifier for the section. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "created_at,name,project,project.name,projects,projects.name" }; sectionsApiInstance.updateSection(section_gid, opts).then((result) => { diff --git a/docs/StatusUpdatesApi.md b/docs/StatusUpdatesApi.md index 978348ce..40ed0e8a 100644 --- a/docs/StatusUpdatesApi.md +++ b/docs/StatusUpdatesApi.md @@ -27,7 +27,7 @@ let token = client.authentications['token']; token.accessToken = ''; let statusUpdatesApiInstance = new Asana.StatusUpdatesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The status update to create. +let body = {"data": {"": "", "": "",}}; // Object | The status update to create. let opts = { 'limit': 50, 'offset': "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9", diff --git a/docs/StatusUpdatesApi.yaml b/docs/StatusUpdatesApi.yaml index f78f75bf..7d2f4396 100644 --- a/docs/StatusUpdatesApi.yaml +++ b/docs/StatusUpdatesApi.yaml @@ -7,7 +7,7 @@ StatusUpdatesApi: token.accessToken = ''; let statusUpdatesApiInstance = new Asana.StatusUpdatesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The status update to create. + let body = {"data": {"": "", "": "",}}; // Object | The status update to create. let opts = { 'limit': 50, 'offset': "eyJ0eXAiOJiKV1iQLCJhbGciOiJIUzI1NiJ9", diff --git a/docs/StoriesApi.md b/docs/StoriesApi.md index 5d5d5eb7..95b3b252 100644 --- a/docs/StoriesApi.md +++ b/docs/StoriesApi.md @@ -28,7 +28,7 @@ let token = client.authentications['token']; token.accessToken = ''; let storiesApiInstance = new Asana.StoriesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The story to create. +let body = {"data": {"": "", "": "",}}; // Object | The story to create. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "assignee,assignee.name,created_at,created_by,created_by.name,custom_field,custom_field.date_value,custom_field.date_value.date,custom_field.date_value.date_time,custom_field.display_value,custom_field.enabled,custom_field.enum_options,custom_field.enum_options.color,custom_field.enum_options.enabled,custom_field.enum_options.name,custom_field.enum_value,custom_field.enum_value.color,custom_field.enum_value.enabled,custom_field.enum_value.name,custom_field.is_formula_field,custom_field.multi_enum_values,custom_field.multi_enum_values.color,custom_field.multi_enum_values.enabled,custom_field.multi_enum_values.name,custom_field.name,custom_field.number_value,custom_field.resource_subtype,custom_field.text_value,custom_field.type,dependency,dependency.created_by,dependency.name,dependency.resource_subtype,duplicate_of,duplicate_of.created_by,duplicate_of.name,duplicate_of.resource_subtype,duplicated_from,duplicated_from.created_by,duplicated_from.name,duplicated_from.resource_subtype,follower,follower.name,hearted,hearts,hearts.user,hearts.user.name,html_text,is_editable,is_edited,is_pinned,liked,likes,likes.user,likes.user.name,new_approval_status,new_date_value,new_dates,new_dates.due_at,new_dates.due_on,new_dates.start_on,new_enum_value,new_enum_value.color,new_enum_value.enabled,new_enum_value.name,new_multi_enum_values,new_multi_enum_values.color,new_multi_enum_values.enabled,new_multi_enum_values.name,new_name,new_number_value,new_people_value,new_people_value.name,new_resource_subtype,new_section,new_section.name,new_text_value,num_hearts,num_likes,old_approval_status,old_date_value,old_dates,old_dates.due_at,old_dates.due_on,old_dates.start_on,old_enum_value,old_enum_value.color,old_enum_value.enabled,old_enum_value.name,old_multi_enum_values,old_multi_enum_values.color,old_multi_enum_values.enabled,old_multi_enum_values.name,old_name,old_number_value,old_people_value,old_people_value.name,old_resource_subtype,old_section,old_section.name,old_text_value,previews,previews.fallback,previews.footer,previews.header,previews.header_link,previews.html_text,previews.text,previews.title,previews.title_link,project,project.name,resource_subtype,source,sticker_name,story,story.created_at,story.created_by,story.created_by.name,story.resource_subtype,story.text,tag,tag.name,target,target.created_by,target.name,target.resource_subtype,task,task.created_by,task.name,task.resource_subtype,text,type" @@ -215,7 +215,7 @@ let token = client.authentications['token']; token.accessToken = ''; let storiesApiInstance = new Asana.StoriesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The comment story to update. +let body = {"data": {"": "", "": "",}}; // Object | The comment story to update. let story_gid = "35678"; // String | Globally unique identifier for the story. let opts = { 'opt_fields': "assignee,assignee.name,created_at,created_by,created_by.name,custom_field,custom_field.date_value,custom_field.date_value.date,custom_field.date_value.date_time,custom_field.display_value,custom_field.enabled,custom_field.enum_options,custom_field.enum_options.color,custom_field.enum_options.enabled,custom_field.enum_options.name,custom_field.enum_value,custom_field.enum_value.color,custom_field.enum_value.enabled,custom_field.enum_value.name,custom_field.is_formula_field,custom_field.multi_enum_values,custom_field.multi_enum_values.color,custom_field.multi_enum_values.enabled,custom_field.multi_enum_values.name,custom_field.name,custom_field.number_value,custom_field.resource_subtype,custom_field.text_value,custom_field.type,dependency,dependency.created_by,dependency.name,dependency.resource_subtype,duplicate_of,duplicate_of.created_by,duplicate_of.name,duplicate_of.resource_subtype,duplicated_from,duplicated_from.created_by,duplicated_from.name,duplicated_from.resource_subtype,follower,follower.name,hearted,hearts,hearts.user,hearts.user.name,html_text,is_editable,is_edited,is_pinned,liked,likes,likes.user,likes.user.name,new_approval_status,new_date_value,new_dates,new_dates.due_at,new_dates.due_on,new_dates.start_on,new_enum_value,new_enum_value.color,new_enum_value.enabled,new_enum_value.name,new_multi_enum_values,new_multi_enum_values.color,new_multi_enum_values.enabled,new_multi_enum_values.name,new_name,new_number_value,new_people_value,new_people_value.name,new_resource_subtype,new_section,new_section.name,new_text_value,num_hearts,num_likes,old_approval_status,old_date_value,old_dates,old_dates.due_at,old_dates.due_on,old_dates.start_on,old_enum_value,old_enum_value.color,old_enum_value.enabled,old_enum_value.name,old_multi_enum_values,old_multi_enum_values.color,old_multi_enum_values.enabled,old_multi_enum_values.name,old_name,old_number_value,old_people_value,old_people_value.name,old_resource_subtype,old_section,old_section.name,old_text_value,previews,previews.fallback,previews.footer,previews.header,previews.header_link,previews.html_text,previews.text,previews.title,previews.title_link,project,project.name,resource_subtype,source,sticker_name,story,story.created_at,story.created_by,story.created_by.name,story.resource_subtype,story.text,tag,tag.name,target,target.created_by,target.name,target.resource_subtype,task,task.created_by,task.name,task.resource_subtype,text,type" diff --git a/docs/StoriesApi.yaml b/docs/StoriesApi.yaml index f2468b80..04e95c56 100644 --- a/docs/StoriesApi.yaml +++ b/docs/StoriesApi.yaml @@ -7,7 +7,7 @@ StoriesApi: token.accessToken = ''; let storiesApiInstance = new Asana.StoriesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The story to create. + let body = {"data": {"": "", "": "",}}; // Object | The story to create. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "assignee,assignee.name,created_at,created_by,created_by.name,custom_field,custom_field.date_value,custom_field.date_value.date,custom_field.date_value.date_time,custom_field.display_value,custom_field.enabled,custom_field.enum_options,custom_field.enum_options.color,custom_field.enum_options.enabled,custom_field.enum_options.name,custom_field.enum_value,custom_field.enum_value.color,custom_field.enum_value.enabled,custom_field.enum_value.name,custom_field.is_formula_field,custom_field.multi_enum_values,custom_field.multi_enum_values.color,custom_field.multi_enum_values.enabled,custom_field.multi_enum_values.name,custom_field.name,custom_field.number_value,custom_field.resource_subtype,custom_field.text_value,custom_field.type,dependency,dependency.created_by,dependency.name,dependency.resource_subtype,duplicate_of,duplicate_of.created_by,duplicate_of.name,duplicate_of.resource_subtype,duplicated_from,duplicated_from.created_by,duplicated_from.name,duplicated_from.resource_subtype,follower,follower.name,hearted,hearts,hearts.user,hearts.user.name,html_text,is_editable,is_edited,is_pinned,liked,likes,likes.user,likes.user.name,new_approval_status,new_date_value,new_dates,new_dates.due_at,new_dates.due_on,new_dates.start_on,new_enum_value,new_enum_value.color,new_enum_value.enabled,new_enum_value.name,new_multi_enum_values,new_multi_enum_values.color,new_multi_enum_values.enabled,new_multi_enum_values.name,new_name,new_number_value,new_people_value,new_people_value.name,new_resource_subtype,new_section,new_section.name,new_text_value,num_hearts,num_likes,old_approval_status,old_date_value,old_dates,old_dates.due_at,old_dates.due_on,old_dates.start_on,old_enum_value,old_enum_value.color,old_enum_value.enabled,old_enum_value.name,old_multi_enum_values,old_multi_enum_values.color,old_multi_enum_values.enabled,old_multi_enum_values.name,old_name,old_number_value,old_people_value,old_people_value.name,old_resource_subtype,old_section,old_section.name,old_text_value,previews,previews.fallback,previews.footer,previews.header,previews.header_link,previews.html_text,previews.text,previews.title,previews.title_link,project,project.name,resource_subtype,source,sticker_name,story,story.created_at,story.created_by,story.created_by.name,story.resource_subtype,story.text,tag,tag.name,target,target.created_by,target.name,target.resource_subtype,task,task.created_by,task.name,task.resource_subtype,text,type" @@ -80,7 +80,7 @@ StoriesApi: token.accessToken = ''; let storiesApiInstance = new Asana.StoriesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The comment story to update. + let body = {"data": {"": "", "": "",}}; // Object | The comment story to update. let story_gid = "35678"; // String | Globally unique identifier for the story. let opts = { 'opt_fields': "assignee,assignee.name,created_at,created_by,created_by.name,custom_field,custom_field.date_value,custom_field.date_value.date,custom_field.date_value.date_time,custom_field.display_value,custom_field.enabled,custom_field.enum_options,custom_field.enum_options.color,custom_field.enum_options.enabled,custom_field.enum_options.name,custom_field.enum_value,custom_field.enum_value.color,custom_field.enum_value.enabled,custom_field.enum_value.name,custom_field.is_formula_field,custom_field.multi_enum_values,custom_field.multi_enum_values.color,custom_field.multi_enum_values.enabled,custom_field.multi_enum_values.name,custom_field.name,custom_field.number_value,custom_field.resource_subtype,custom_field.text_value,custom_field.type,dependency,dependency.created_by,dependency.name,dependency.resource_subtype,duplicate_of,duplicate_of.created_by,duplicate_of.name,duplicate_of.resource_subtype,duplicated_from,duplicated_from.created_by,duplicated_from.name,duplicated_from.resource_subtype,follower,follower.name,hearted,hearts,hearts.user,hearts.user.name,html_text,is_editable,is_edited,is_pinned,liked,likes,likes.user,likes.user.name,new_approval_status,new_date_value,new_dates,new_dates.due_at,new_dates.due_on,new_dates.start_on,new_enum_value,new_enum_value.color,new_enum_value.enabled,new_enum_value.name,new_multi_enum_values,new_multi_enum_values.color,new_multi_enum_values.enabled,new_multi_enum_values.name,new_name,new_number_value,new_people_value,new_people_value.name,new_resource_subtype,new_section,new_section.name,new_text_value,num_hearts,num_likes,old_approval_status,old_date_value,old_dates,old_dates.due_at,old_dates.due_on,old_dates.start_on,old_enum_value,old_enum_value.color,old_enum_value.enabled,old_enum_value.name,old_multi_enum_values,old_multi_enum_values.color,old_multi_enum_values.enabled,old_multi_enum_values.name,old_name,old_number_value,old_people_value,old_people_value.name,old_resource_subtype,old_section,old_section.name,old_text_value,previews,previews.fallback,previews.footer,previews.header,previews.header_link,previews.html_text,previews.text,previews.title,previews.title_link,project,project.name,resource_subtype,source,sticker_name,story,story.created_at,story.created_by,story.created_by.name,story.resource_subtype,story.text,tag,tag.name,target,target.created_by,target.name,target.resource_subtype,task,task.created_by,task.name,task.resource_subtype,text,type" diff --git a/docs/TagsApi.md b/docs/TagsApi.md index e0d0fd07..3c6c1581 100644 --- a/docs/TagsApi.md +++ b/docs/TagsApi.md @@ -31,7 +31,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tagsApiInstance = new Asana.TagsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to create. +let body = {"data": {"": "", "": "",}}; // Object | The tag to create. let opts = { 'opt_fields': "color,created_at,followers,followers.name,name,notes,permalink_url,workspace,workspace.name" }; @@ -77,7 +77,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tagsApiInstance = new Asana.TagsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to create. +let body = {"data": {"": "", "": "",}}; // Object | The tag to create. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "color,created_at,followers,followers.name,name,notes,permalink_url,workspace,workspace.name" diff --git a/docs/TagsApi.yaml b/docs/TagsApi.yaml index a2609164..b985f171 100644 --- a/docs/TagsApi.yaml +++ b/docs/TagsApi.yaml @@ -7,7 +7,7 @@ TagsApi: token.accessToken = ''; let tagsApiInstance = new Asana.TagsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to create. + let body = {"data": {"": "", "": "",}}; // Object | The tag to create. let opts = { 'opt_fields': "color,created_at,followers,followers.name,name,notes,permalink_url,workspace,workspace.name" }; @@ -25,7 +25,7 @@ TagsApi: token.accessToken = ''; let tagsApiInstance = new Asana.TagsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to create. + let body = {"data": {"": "", "": "",}}; // Object | The tag to create. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "color,created_at,followers,followers.name,name,notes,permalink_url,workspace,workspace.name" diff --git a/docs/TaskTemplatesApi.md b/docs/TaskTemplatesApi.md index 477e5dd6..5b197004 100644 --- a/docs/TaskTemplatesApi.md +++ b/docs/TaskTemplatesApi.md @@ -124,7 +124,7 @@ token.accessToken = ''; let taskTemplatesApiInstance = new Asana.TaskTemplatesApi(); let task_template_gid = "1331"; // String | Globally unique identifier for the task template. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" }; taskTemplatesApiInstance.instantiateTask(task_template_gid, opts).then((result) => { diff --git a/docs/TaskTemplatesApi.yaml b/docs/TaskTemplatesApi.yaml index bfe35345..357c19f4 100644 --- a/docs/TaskTemplatesApi.yaml +++ b/docs/TaskTemplatesApi.yaml @@ -47,7 +47,7 @@ TaskTemplatesApi: let taskTemplatesApiInstance = new Asana.TaskTemplatesApi(); let task_template_gid = "1331"; // String | Globally unique identifier for the task template. let opts = { - 'body': {"data": {"param1": "value1", "param2": "value2",}}, + 'body': {"data": {"": "", "": "",}}, 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" }; taskTemplatesApiInstance.instantiateTask(task_template_gid, opts).then((result) => { diff --git a/docs/TasksApi.md b/docs/TasksApi.md index 640ef133..61372b8d 100644 --- a/docs/TasksApi.md +++ b/docs/TasksApi.md @@ -49,7 +49,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to set as dependencies. +let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to set as dependencies. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addDependenciesForTask(body, task_gid).then((result) => { @@ -94,7 +94,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to add as dependents. +let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to add as dependents. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addDependentsForTask(body, task_gid).then((result) => { @@ -139,7 +139,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to add to the task. +let body = {"data": {"": "", "": "",}}; // Object | The followers to add to the task. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -187,7 +187,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project to add the task to. +let body = {"data": {"": "", "": "",}}; // Object | The project to add the task to. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addProjectForTask(body, task_gid).then((result) => { @@ -232,7 +232,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to add to the task. +let body = {"data": {"": "", "": "",}}; // Object | The tag to add to the task. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addTagForTask(body, task_gid).then((result) => { @@ -277,7 +277,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new subtask to create. +let body = {"data": {"": "", "": "",}}; // Object | The new subtask to create. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -325,7 +325,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The task to create. +let body = {"data": {"": "", "": "",}}; // Object | The task to create. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" }; @@ -414,7 +414,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Describes the duplicate's name and the fields that will be duplicated. +let body = {"data": {"": "", "": "",}}; // Object | Describes the duplicate's name and the fields that will be duplicated. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" @@ -924,7 +924,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to unlink as dependencies. +let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to unlink as dependencies. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeDependenciesForTask(body, task_gid).then((result) => { @@ -969,7 +969,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to remove as dependents. +let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to remove as dependents. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeDependentsForTask(body, task_gid).then((result) => { @@ -1014,7 +1014,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to remove from the task. +let body = {"data": {"": "", "": "",}}; // Object | The followers to remove from the task. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -1062,7 +1062,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project to remove the task from. +let body = {"data": {"": "", "": "",}}; // Object | The project to remove the task from. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeProjectForTask(body, task_gid).then((result) => { @@ -1107,7 +1107,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to remove from the task. +let body = {"data": {"": "", "": "",}}; // Object | The tag to remove from the task. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeTagForTask(body, task_gid).then((result) => { @@ -1310,7 +1310,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new parent of the subtask. +let body = {"data": {"": "", "": "",}}; // Object | The new parent of the subtask. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -1358,7 +1358,7 @@ let token = client.authentications['token']; token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The task to update. +let body = {"data": {"": "", "": "",}}; // Object | The task to update. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" diff --git a/docs/TasksApi.yaml b/docs/TasksApi.yaml index 6764e963..51c997a0 100644 --- a/docs/TasksApi.yaml +++ b/docs/TasksApi.yaml @@ -7,7 +7,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to set as dependencies. + let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to set as dependencies. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addDependenciesForTask(body, task_gid).then((result) => { @@ -24,7 +24,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to add as dependents. + let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to add as dependents. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addDependentsForTask(body, task_gid).then((result) => { @@ -41,7 +41,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to add to the task. + let body = {"data": {"": "", "": "",}}; // Object | The followers to add to the task. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -60,7 +60,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project to add the task to. + let body = {"data": {"": "", "": "",}}; // Object | The project to add the task to. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addProjectForTask(body, task_gid).then((result) => { @@ -77,7 +77,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to add to the task. + let body = {"data": {"": "", "": "",}}; // Object | The tag to add to the task. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.addTagForTask(body, task_gid).then((result) => { @@ -94,7 +94,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new subtask to create. + let body = {"data": {"": "", "": "",}}; // Object | The new subtask to create. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -113,7 +113,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The task to create. + let body = {"data": {"": "", "": "",}}; // Object | The task to create. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" }; @@ -147,7 +147,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Describes the duplicate's name and the fields that will be duplicated. + let body = {"data": {"": "", "": "",}}; // Object | Describes the duplicate's name and the fields that will be duplicated. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "new_project,new_project.name,new_project_template,new_project_template.name,new_task,new_task.created_by,new_task.name,new_task.resource_subtype,resource_subtype,status" @@ -352,7 +352,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to unlink as dependencies. + let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to unlink as dependencies. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeDependenciesForTask(body, task_gid).then((result) => { @@ -369,7 +369,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The list of tasks to remove as dependents. + let body = {"data": {"": "", "": "",}}; // Object | The list of tasks to remove as dependents. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeDependentsForTask(body, task_gid).then((result) => { @@ -386,7 +386,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The followers to remove from the task. + let body = {"data": {"": "", "": "",}}; // Object | The followers to remove from the task. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -405,7 +405,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The project to remove the task from. + let body = {"data": {"": "", "": "",}}; // Object | The project to remove the task from. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeProjectForTask(body, task_gid).then((result) => { @@ -422,7 +422,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The tag to remove from the task. + let body = {"data": {"": "", "": "",}}; // Object | The tag to remove from the task. let task_gid = "321654"; // String | The task to operate on. tasksApiInstance.removeTagForTask(body, task_gid).then((result) => { @@ -517,7 +517,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The new parent of the subtask. + let body = {"data": {"": "", "": "",}}; // Object | The new parent of the subtask. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" @@ -536,7 +536,7 @@ TasksApi: token.accessToken = ''; let tasksApiInstance = new Asana.TasksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The task to update. + let body = {"data": {"": "", "": "",}}; // Object | The task to update. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "actual_time_minutes,approval_status,assignee,assignee.name,assignee_section,assignee_section.name,assignee_status,completed,completed_at,completed_by,completed_by.name,created_at,created_by,custom_fields,custom_fields.asana_created_field,custom_fields.created_by,custom_fields.created_by.name,custom_fields.currency_code,custom_fields.custom_label,custom_fields.custom_label_position,custom_fields.date_value,custom_fields.date_value.date,custom_fields.date_value.date_time,custom_fields.description,custom_fields.display_value,custom_fields.enabled,custom_fields.enum_options,custom_fields.enum_options.color,custom_fields.enum_options.enabled,custom_fields.enum_options.name,custom_fields.enum_value,custom_fields.enum_value.color,custom_fields.enum_value.enabled,custom_fields.enum_value.name,custom_fields.format,custom_fields.has_notifications_enabled,custom_fields.is_formula_field,custom_fields.is_global_to_workspace,custom_fields.is_value_read_only,custom_fields.multi_enum_values,custom_fields.multi_enum_values.color,custom_fields.multi_enum_values.enabled,custom_fields.multi_enum_values.name,custom_fields.name,custom_fields.number_value,custom_fields.people_value,custom_fields.people_value.name,custom_fields.precision,custom_fields.resource_subtype,custom_fields.text_value,custom_fields.type,dependencies,dependents,due_at,due_on,external,external.data,followers,followers.name,hearted,hearts,hearts.user,hearts.user.name,html_notes,is_rendered_as_separator,liked,likes,likes.user,likes.user.name,memberships,memberships.project,memberships.project.name,memberships.section,memberships.section.name,modified_at,name,notes,num_hearts,num_likes,num_subtasks,parent,parent.created_by,parent.name,parent.resource_subtype,permalink_url,projects,projects.name,resource_subtype,start_at,start_on,tags,tags.name,workspace,workspace.name" diff --git a/docs/TeamsApi.md b/docs/TeamsApi.md index 4ed16a2d..d389dbaf 100644 --- a/docs/TeamsApi.md +++ b/docs/TeamsApi.md @@ -30,7 +30,7 @@ let token = client.authentications['token']; token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to add to the team. +let body = {"data": {"": "", "": "",}}; // Object | The user to add to the team. let team_gid = "159874"; // String | Globally unique identifier for the team. let opts = { 'opt_fields': "is_admin,is_guest,is_limited_access,team,team.name,user,user.name" @@ -78,7 +78,7 @@ let token = client.authentications['token']; token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The team to create. +let body = {"data": {"": "", "": "",}}; // Object | The team to create. let opts = { 'opt_fields': "description,edit_team_name_or_description_access_level,edit_team_visibility_or_trash_team_access_level,guest_invite_management_access_level,html_description,join_request_management_access_level,member_invite_management_access_level,name,organization,organization.name,permalink_url,team_member_removal_access_level,visibility" }; @@ -272,7 +272,7 @@ let token = client.authentications['token']; token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to remove from the team. +let body = {"data": {"": "", "": "",}}; // Object | The user to remove from the team. let team_gid = "159874"; // String | Globally unique identifier for the team. teamsApiInstance.removeUserForTeam(body, team_gid).then((result) => { @@ -317,7 +317,7 @@ let token = client.authentications['token']; token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The team to update. +let body = {"data": {"": "", "": "",}}; // Object | The team to update. let team_gid = "159874"; // String | Globally unique identifier for the team. let opts = { 'opt_fields': "description,edit_team_name_or_description_access_level,edit_team_visibility_or_trash_team_access_level,guest_invite_management_access_level,html_description,join_request_management_access_level,member_invite_management_access_level,name,organization,organization.name,permalink_url,team_member_removal_access_level,visibility" diff --git a/docs/TeamsApi.yaml b/docs/TeamsApi.yaml index c9c2220f..c8ff6707 100644 --- a/docs/TeamsApi.yaml +++ b/docs/TeamsApi.yaml @@ -7,7 +7,7 @@ TeamsApi: token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to add to the team. + let body = {"data": {"": "", "": "",}}; // Object | The user to add to the team. let team_gid = "159874"; // String | Globally unique identifier for the team. let opts = { 'opt_fields': "is_admin,is_guest,is_limited_access,team,team.name,user,user.name" @@ -26,7 +26,7 @@ TeamsApi: token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The team to create. + let body = {"data": {"": "", "": "",}}; // Object | The team to create. let opts = { 'opt_fields': "description,edit_team_name_or_description_access_level,edit_team_visibility_or_trash_team_access_level,guest_invite_management_access_level,html_description,join_request_management_access_level,member_invite_management_access_level,name,organization,organization.name,permalink_url,team_member_removal_access_level,visibility" }; @@ -103,7 +103,7 @@ TeamsApi: token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to remove from the team. + let body = {"data": {"": "", "": "",}}; // Object | The user to remove from the team. let team_gid = "159874"; // String | Globally unique identifier for the team. teamsApiInstance.removeUserForTeam(body, team_gid).then((result) => { @@ -120,7 +120,7 @@ TeamsApi: token.accessToken = ''; let teamsApiInstance = new Asana.TeamsApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The team to update. + let body = {"data": {"": "", "": "",}}; // Object | The team to update. let team_gid = "159874"; // String | Globally unique identifier for the team. let opts = { 'opt_fields': "description,edit_team_name_or_description_access_level,edit_team_visibility_or_trash_team_access_level,guest_invite_management_access_level,html_description,join_request_management_access_level,member_invite_management_access_level,name,organization,organization.name,permalink_url,team_member_removal_access_level,visibility" diff --git a/docs/TimeTrackingEntriesApi.md b/docs/TimeTrackingEntriesApi.md index 679757d7..3ecb2542 100644 --- a/docs/TimeTrackingEntriesApi.md +++ b/docs/TimeTrackingEntriesApi.md @@ -28,7 +28,7 @@ let token = client.authentications['token']; token.accessToken = ''; let timeTrackingEntriesApiInstance = new Asana.TimeTrackingEntriesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the time tracking entry. +let body = {"data": {"": "", "": "",}}; // Object | Information about the time tracking entry. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "created_at,created_by,created_by.name,duration_minutes,entered_on,task,task.created_by,task.name,task.resource_subtype" @@ -215,7 +215,7 @@ let token = client.authentications['token']; token.accessToken = ''; let timeTrackingEntriesApiInstance = new Asana.TimeTrackingEntriesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the time tracking entry. +let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the time tracking entry. let time_tracking_entry_gid = "917392"; // String | Globally unique identifier for the time tracking entry. let opts = { 'opt_fields': "created_at,created_by,created_by.name,duration_minutes,entered_on,task,task.created_by,task.name,task.resource_subtype" diff --git a/docs/TimeTrackingEntriesApi.yaml b/docs/TimeTrackingEntriesApi.yaml index 07075cd0..96767a01 100644 --- a/docs/TimeTrackingEntriesApi.yaml +++ b/docs/TimeTrackingEntriesApi.yaml @@ -7,7 +7,7 @@ TimeTrackingEntriesApi: token.accessToken = ''; let timeTrackingEntriesApiInstance = new Asana.TimeTrackingEntriesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | Information about the time tracking entry. + let body = {"data": {"": "", "": "",}}; // Object | Information about the time tracking entry. let task_gid = "321654"; // String | The task to operate on. let opts = { 'opt_fields': "created_at,created_by,created_by.name,duration_minutes,entered_on,task,task.created_by,task.name,task.resource_subtype" @@ -80,7 +80,7 @@ TimeTrackingEntriesApi: token.accessToken = ''; let timeTrackingEntriesApiInstance = new Asana.TimeTrackingEntriesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated fields for the time tracking entry. + let body = {"data": {"": "", "": "",}}; // Object | The updated fields for the time tracking entry. let time_tracking_entry_gid = "917392"; // String | Globally unique identifier for the time tracking entry. let opts = { 'opt_fields': "created_at,created_by,created_by.name,duration_minutes,entered_on,task,task.created_by,task.name,task.resource_subtype" diff --git a/docs/WebhooksApi.md b/docs/WebhooksApi.md index 916d56a5..ae793586 100644 --- a/docs/WebhooksApi.md +++ b/docs/WebhooksApi.md @@ -28,7 +28,7 @@ let token = client.authentications['token']; token.accessToken = ''; let webhooksApiInstance = new Asana.WebhooksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The webhook workspace and target. +let body = {"data": {"": "", "": "",}}; // Object | The webhook workspace and target. let opts = { 'opt_fields': "active,created_at,filters,filters.action,filters.fields,filters.resource_subtype,last_failure_at,last_failure_content,last_success_at,resource,resource.name,target" }; @@ -215,7 +215,7 @@ let token = client.authentications['token']; token.accessToken = ''; let webhooksApiInstance = new Asana.WebhooksApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated filters for the webhook. +let body = {"data": {"": "", "": "",}}; // Object | The updated filters for the webhook. let webhook_gid = "12345"; // String | Globally unique identifier for the webhook. let opts = { 'opt_fields': "active,created_at,filters,filters.action,filters.fields,filters.resource_subtype,last_failure_at,last_failure_content,last_success_at,resource,resource.name,target" diff --git a/docs/WebhooksApi.yaml b/docs/WebhooksApi.yaml index d515a7f2..2e25dab4 100644 --- a/docs/WebhooksApi.yaml +++ b/docs/WebhooksApi.yaml @@ -7,7 +7,7 @@ WebhooksApi: token.accessToken = ''; let webhooksApiInstance = new Asana.WebhooksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The webhook workspace and target. + let body = {"data": {"": "", "": "",}}; // Object | The webhook workspace and target. let opts = { 'opt_fields': "active,created_at,filters,filters.action,filters.fields,filters.resource_subtype,last_failure_at,last_failure_content,last_success_at,resource,resource.name,target" }; @@ -80,7 +80,7 @@ WebhooksApi: token.accessToken = ''; let webhooksApiInstance = new Asana.WebhooksApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The updated filters for the webhook. + let body = {"data": {"": "", "": "",}}; // Object | The updated filters for the webhook. let webhook_gid = "12345"; // String | Globally unique identifier for the webhook. let opts = { 'opt_fields': "active,created_at,filters,filters.action,filters.fields,filters.resource_subtype,last_failure_at,last_failure_content,last_success_at,resource,resource.name,target" diff --git a/docs/WorkspacesApi.md b/docs/WorkspacesApi.md index ca7d45c9..54e00f19 100644 --- a/docs/WorkspacesApi.md +++ b/docs/WorkspacesApi.md @@ -28,7 +28,7 @@ let token = client.authentications['token']; token.accessToken = ''; let workspacesApiInstance = new Asana.WorkspacesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to add to the workspace. +let body = {"data": {"": "", "": "",}}; // Object | The user to add to the workspace. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "email,name,photo,photo.image_1024x1024,photo.image_128x128,photo.image_21x21,photo.image_27x27,photo.image_36x36,photo.image_60x60" @@ -170,7 +170,7 @@ let token = client.authentications['token']; token.accessToken = ''; let workspacesApiInstance = new Asana.WorkspacesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to remove from the workspace. +let body = {"data": {"": "", "": "",}}; // Object | The user to remove from the workspace. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. workspacesApiInstance.removeUserForWorkspace(body, workspace_gid).then((result) => { @@ -215,7 +215,7 @@ let token = client.authentications['token']; token.accessToken = ''; let workspacesApiInstance = new Asana.WorkspacesApi(); -let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The workspace object with all updated properties. +let body = {"data": {"": "", "": "",}}; // Object | The workspace object with all updated properties. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "email_domains,is_organization,name" diff --git a/docs/WorkspacesApi.yaml b/docs/WorkspacesApi.yaml index b1e26991..85714815 100644 --- a/docs/WorkspacesApi.yaml +++ b/docs/WorkspacesApi.yaml @@ -7,7 +7,7 @@ WorkspacesApi: token.accessToken = ''; let workspacesApiInstance = new Asana.WorkspacesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to add to the workspace. + let body = {"data": {"": "", "": "",}}; // Object | The user to add to the workspace. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "email,name,photo,photo.image_1024x1024,photo.image_128x128,photo.image_21x21,photo.image_27x27,photo.image_36x36,photo.image_60x60" @@ -63,7 +63,7 @@ WorkspacesApi: token.accessToken = ''; let workspacesApiInstance = new Asana.WorkspacesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The user to remove from the workspace. + let body = {"data": {"": "", "": "",}}; // Object | The user to remove from the workspace. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. workspacesApiInstance.removeUserForWorkspace(body, workspace_gid).then((result) => { @@ -80,7 +80,7 @@ WorkspacesApi: token.accessToken = ''; let workspacesApiInstance = new Asana.WorkspacesApi(); - let body = {"data": {"param1": "value1", "param2": "value2",}}; // Object | The workspace object with all updated properties. + let body = {"data": {"": "", "": "",}}; // Object | The workspace object with all updated properties. let workspace_gid = "12345"; // String | Globally unique identifier for the workspace or organization. let opts = { 'opt_fields': "email_domains,is_organization,name" diff --git a/package.json b/package.json index aa12c0aa..c2db3ce5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "asana", - "version": "3.0.0", + "version": "3.0.1", "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", diff --git a/src/ApiClient.js b/src/ApiClient.js index 86f60317..1bd541a6 100644 --- a/src/ApiClient.js +++ b/src/ApiClient.js @@ -7,17 +7,16 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * */ import superagent from "superagent"; -import querystring from "querystring"; /** * @module ApiClient -* @version 3.0.0 +* @version 3.0.1 */ /** @@ -410,14 +409,23 @@ export class ApiClient { request.query(this.normalizeParams(queryParams)); // set header parameters - headerParams['X-Asana-Client-Lib'] = querystring.stringify( - { - 'version': "3.0.0", - 'language': 'NodeJS', - 'language_version': process.version, - 'os': process.platform - } - ); + if (typeof(navigator) === 'undefined' || typeof(window) === 'undefined') { + headerParams['X-Asana-Client-Lib'] = new URLSearchParams( + { + 'version': "3.0.1", + 'language': 'NodeJS', + 'language_version': process.version, + 'os': process.platform + } + ).toString(); + } else { + headerParams['X-Asana-Client-Lib'] = new URLSearchParams( + { + 'version': "3.0.1", + 'language': 'BrowserJS' + } + ).toString(); + } request.set(this.defaultHeaders).set(this.normalizeParams(headerParams)); // set requestAgent if it is set by user @@ -439,7 +447,7 @@ export class ApiClient { } if (contentType === 'application/x-www-form-urlencoded') { - request.send(querystring.stringify(this.normalizeParams(formParams))); + request.send(new URLSearchParams(this.normalizeParams(formParams)).toString()); } else if (contentType == 'multipart/form-data') { var _formParams = this.normalizeParams(formParams); for (var key in _formParams) { diff --git a/src/api/AttachmentsApi.js b/src/api/AttachmentsApi.js index 56a4f5af..64688784 100644 --- a/src/api/AttachmentsApi.js +++ b/src/api/AttachmentsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Attachments service. * @module api/AttachmentsApi -* @version 3.0.0 +* @version 3.0.1 */ export class AttachmentsApi { diff --git a/src/api/AuditLogAPIApi.js b/src/api/AuditLogAPIApi.js index 5fa2c5e7..36d559ca 100644 --- a/src/api/AuditLogAPIApi.js +++ b/src/api/AuditLogAPIApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * AuditLogAPI service. * @module api/AuditLogAPIApi -* @version 3.0.0 +* @version 3.0.1 */ export class AuditLogAPIApi { diff --git a/src/api/BatchAPIApi.js b/src/api/BatchAPIApi.js index 3f6400d7..da8c09b1 100644 --- a/src/api/BatchAPIApi.js +++ b/src/api/BatchAPIApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * BatchAPI service. * @module api/BatchAPIApi -* @version 3.0.0 +* @version 3.0.1 */ export class BatchAPIApi { diff --git a/src/api/CustomFieldSettingsApi.js b/src/api/CustomFieldSettingsApi.js index f03c3044..f962538f 100644 --- a/src/api/CustomFieldSettingsApi.js +++ b/src/api/CustomFieldSettingsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * CustomFieldSettings service. * @module api/CustomFieldSettingsApi -* @version 3.0.0 +* @version 3.0.1 */ export class CustomFieldSettingsApi { diff --git a/src/api/CustomFieldsApi.js b/src/api/CustomFieldsApi.js index 22ef9d23..e2a3bc8f 100644 --- a/src/api/CustomFieldsApi.js +++ b/src/api/CustomFieldsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * CustomFields service. * @module api/CustomFieldsApi -* @version 3.0.0 +* @version 3.0.1 */ export class CustomFieldsApi { diff --git a/src/api/EventsApi.js b/src/api/EventsApi.js index 70669863..8acd4c98 100644 --- a/src/api/EventsApi.js +++ b/src/api/EventsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Events service. * @module api/EventsApi -* @version 3.0.0 +* @version 3.0.1 */ export class EventsApi { diff --git a/src/api/GoalRelationshipsApi.js b/src/api/GoalRelationshipsApi.js index e160f447..bda1f67f 100644 --- a/src/api/GoalRelationshipsApi.js +++ b/src/api/GoalRelationshipsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * GoalRelationships service. * @module api/GoalRelationshipsApi -* @version 3.0.0 +* @version 3.0.1 */ export class GoalRelationshipsApi { diff --git a/src/api/GoalsApi.js b/src/api/GoalsApi.js index f43fdbd0..5149d754 100644 --- a/src/api/GoalsApi.js +++ b/src/api/GoalsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Goals service. * @module api/GoalsApi -* @version 3.0.0 +* @version 3.0.1 */ export class GoalsApi { @@ -493,6 +493,7 @@ export class GoalsApi { * @param {Object} opts Optional parameters * @param {String} opts.portfolio Globally unique identifier for supporting portfolio. * @param {String} opts.project Globally unique identifier for supporting project. + * @param {String} opts.task Globally unique identifier for supporting task. * @param {Boolean} opts.is_workspace_level Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter. * @param {String} opts.team Globally unique identifier for the team. * @param {String} opts.workspace Globally unique identifier for the workspace. @@ -563,6 +564,7 @@ export class GoalsApi { * @param {Object} opts Optional parameters * @param {String} opts.portfolio Globally unique identifier for supporting portfolio. * @param {String} opts.project Globally unique identifier for supporting project. + * @param {String} opts.task Globally unique identifier for supporting task. * @param {Boolean} opts.is_workspace_level Filter to goals with is_workspace_level set to query value. Must be used with the workspace parameter. * @param {String} opts.team Globally unique identifier for the team. * @param {String} opts.workspace Globally unique identifier for the workspace. diff --git a/src/api/JobsApi.js b/src/api/JobsApi.js index dcc2ff90..fb0f8830 100644 --- a/src/api/JobsApi.js +++ b/src/api/JobsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Jobs service. * @module api/JobsApi -* @version 3.0.0 +* @version 3.0.1 */ export class JobsApi { diff --git a/src/api/MembershipsApi.js b/src/api/MembershipsApi.js index f7802fae..8682513c 100644 --- a/src/api/MembershipsApi.js +++ b/src/api/MembershipsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Memberships service. * @module api/MembershipsApi -* @version 3.0.0 +* @version 3.0.1 */ export class MembershipsApi { diff --git a/src/api/OrganizationExportsApi.js b/src/api/OrganizationExportsApi.js index 6b9186f5..70355743 100644 --- a/src/api/OrganizationExportsApi.js +++ b/src/api/OrganizationExportsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * OrganizationExports service. * @module api/OrganizationExportsApi -* @version 3.0.0 +* @version 3.0.1 */ export class OrganizationExportsApi { diff --git a/src/api/PortfolioMembershipsApi.js b/src/api/PortfolioMembershipsApi.js index 634a45a7..cb5f4021 100644 --- a/src/api/PortfolioMembershipsApi.js +++ b/src/api/PortfolioMembershipsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * PortfolioMemberships service. * @module api/PortfolioMembershipsApi -* @version 3.0.0 +* @version 3.0.1 */ export class PortfolioMembershipsApi { diff --git a/src/api/PortfoliosApi.js b/src/api/PortfoliosApi.js index 6ac3961b..a3691b32 100644 --- a/src/api/PortfoliosApi.js +++ b/src/api/PortfoliosApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Portfolios service. * @module api/PortfoliosApi -* @version 3.0.0 +* @version 3.0.1 */ export class PortfoliosApi { diff --git a/src/api/ProjectBriefsApi.js b/src/api/ProjectBriefsApi.js index 624a56fa..3d1f8a7f 100644 --- a/src/api/ProjectBriefsApi.js +++ b/src/api/ProjectBriefsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * ProjectBriefs service. * @module api/ProjectBriefsApi -* @version 3.0.0 +* @version 3.0.1 */ export class ProjectBriefsApi { diff --git a/src/api/ProjectMembershipsApi.js b/src/api/ProjectMembershipsApi.js index 6bc1e26c..3b54cc27 100644 --- a/src/api/ProjectMembershipsApi.js +++ b/src/api/ProjectMembershipsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * ProjectMemberships service. * @module api/ProjectMembershipsApi -* @version 3.0.0 +* @version 3.0.1 */ export class ProjectMembershipsApi { diff --git a/src/api/ProjectStatusesApi.js b/src/api/ProjectStatusesApi.js index 59d4cd7f..bf8b4e1c 100644 --- a/src/api/ProjectStatusesApi.js +++ b/src/api/ProjectStatusesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * ProjectStatuses service. * @module api/ProjectStatusesApi -* @version 3.0.0 +* @version 3.0.1 */ export class ProjectStatusesApi { diff --git a/src/api/ProjectTemplatesApi.js b/src/api/ProjectTemplatesApi.js index b0d8da97..d6e0571c 100644 --- a/src/api/ProjectTemplatesApi.js +++ b/src/api/ProjectTemplatesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * ProjectTemplates service. * @module api/ProjectTemplatesApi -* @version 3.0.0 +* @version 3.0.1 */ export class ProjectTemplatesApi { diff --git a/src/api/ProjectsApi.js b/src/api/ProjectsApi.js index 50012339..a399ca82 100644 --- a/src/api/ProjectsApi.js +++ b/src/api/ProjectsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Projects service. * @module api/ProjectsApi -* @version 3.0.0 +* @version 3.0.1 */ export class ProjectsApi { @@ -41,10 +41,12 @@ export class ProjectsApi { * Custom fields are associated with projects by way of custom field settings. This method creates a setting for the project. * @param {module:model/Object} body Information about the custom field setting. * @param {String} project_gid Globally unique identifier for the project. + * @param {Object} opts Optional parameters + * @param {Array.} 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. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data and HTTP response */ - addCustomFieldSettingForProjectWithHttpInfo(body, project_gid) { - + addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts) { + opts = opts || {}; let postBody = body; // verify the required parameter 'body' is set if (body === undefined || body === null) { @@ -59,6 +61,8 @@ export class ProjectsApi { 'project_gid': project_gid }; let queryParams = {}; + opts = opts || {}; + queryParams = opts; let headerParams = { @@ -109,15 +113,17 @@ export class ProjectsApi { * Custom fields are associated with projects by way of custom field settings. This method creates a setting for the project. * @param {<&vendorExtensions.x-jsdoc-type>} body Information about the custom field setting. * @param {<&vendorExtensions.x-jsdoc-type>} project_gid Globally unique identifier for the project. + * @param {Object} opts Optional parameters + * @param {Array.} 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. * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomFieldSettingResponseData} */ - addCustomFieldSettingForProject(body, project_gid) { + addCustomFieldSettingForProject(body, project_gid, opts) { // Check if RETURN_COLLECTION is set and return a collection object if it is if (this.apiClient.RETURN_COLLECTION && false) { - return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid) + return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts) } else { - return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid) + return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts) .then(function(response_and_data) { return response_and_data.data; }); diff --git a/src/api/RulesApi.js b/src/api/RulesApi.js index 1647cb4a..1378d514 100644 --- a/src/api/RulesApi.js +++ b/src/api/RulesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Rules service. * @module api/RulesApi -* @version 3.0.0 +* @version 3.0.1 */ export class RulesApi { diff --git a/src/api/SectionsApi.js b/src/api/SectionsApi.js index ac4575ec..4fe876cd 100644 --- a/src/api/SectionsApi.js +++ b/src/api/SectionsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Sections service. * @module api/SectionsApi -* @version 3.0.0 +* @version 3.0.1 */ export class SectionsApi { diff --git a/src/api/StatusUpdatesApi.js b/src/api/StatusUpdatesApi.js index f289dea0..b1130e7d 100644 --- a/src/api/StatusUpdatesApi.js +++ b/src/api/StatusUpdatesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * StatusUpdates service. * @module api/StatusUpdatesApi -* @version 3.0.0 +* @version 3.0.1 */ export class StatusUpdatesApi { diff --git a/src/api/StoriesApi.js b/src/api/StoriesApi.js index 1d8e9218..ab143303 100644 --- a/src/api/StoriesApi.js +++ b/src/api/StoriesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Stories service. * @module api/StoriesApi -* @version 3.0.0 +* @version 3.0.1 */ export class StoriesApi { diff --git a/src/api/TagsApi.js b/src/api/TagsApi.js index 4cfe1c54..83f4ee7c 100644 --- a/src/api/TagsApi.js +++ b/src/api/TagsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Tags service. * @module api/TagsApi -* @version 3.0.0 +* @version 3.0.1 */ export class TagsApi { diff --git a/src/api/TaskTemplatesApi.js b/src/api/TaskTemplatesApi.js index 5a5bfb0e..29583d4c 100644 --- a/src/api/TaskTemplatesApi.js +++ b/src/api/TaskTemplatesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * TaskTemplates service. * @module api/TaskTemplatesApi -* @version 3.0.0 +* @version 3.0.1 */ export class TaskTemplatesApi { diff --git a/src/api/TasksApi.js b/src/api/TasksApi.js index 832a844e..37f625b5 100644 --- a/src/api/TasksApi.js +++ b/src/api/TasksApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Tasks service. * @module api/TasksApi -* @version 3.0.0 +* @version 3.0.1 */ export class TasksApi { diff --git a/src/api/TeamMembershipsApi.js b/src/api/TeamMembershipsApi.js index a2d8705d..88b6d61b 100644 --- a/src/api/TeamMembershipsApi.js +++ b/src/api/TeamMembershipsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * TeamMemberships service. * @module api/TeamMembershipsApi -* @version 3.0.0 +* @version 3.0.1 */ export class TeamMembershipsApi { diff --git a/src/api/TeamsApi.js b/src/api/TeamsApi.js index eb24ea08..a1763c9d 100644 --- a/src/api/TeamsApi.js +++ b/src/api/TeamsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Teams service. * @module api/TeamsApi -* @version 3.0.0 +* @version 3.0.1 */ export class TeamsApi { diff --git a/src/api/TimePeriodsApi.js b/src/api/TimePeriodsApi.js index 8010f416..b5ae9e11 100644 --- a/src/api/TimePeriodsApi.js +++ b/src/api/TimePeriodsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * TimePeriods service. * @module api/TimePeriodsApi -* @version 3.0.0 +* @version 3.0.1 */ export class TimePeriodsApi { diff --git a/src/api/TimeTrackingEntriesApi.js b/src/api/TimeTrackingEntriesApi.js index 6927091c..5fedccd4 100644 --- a/src/api/TimeTrackingEntriesApi.js +++ b/src/api/TimeTrackingEntriesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * TimeTrackingEntries service. * @module api/TimeTrackingEntriesApi -* @version 3.0.0 +* @version 3.0.1 */ export class TimeTrackingEntriesApi { diff --git a/src/api/TypeaheadApi.js b/src/api/TypeaheadApi.js index d464c151..4a498734 100644 --- a/src/api/TypeaheadApi.js +++ b/src/api/TypeaheadApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Typeahead service. * @module api/TypeaheadApi -* @version 3.0.0 +* @version 3.0.1 */ export class TypeaheadApi { diff --git a/src/api/UserTaskListsApi.js b/src/api/UserTaskListsApi.js index 41db6759..1bbad891 100644 --- a/src/api/UserTaskListsApi.js +++ b/src/api/UserTaskListsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * UserTaskLists service. * @module api/UserTaskListsApi -* @version 3.0.0 +* @version 3.0.1 */ export class UserTaskListsApi { diff --git a/src/api/UsersApi.js b/src/api/UsersApi.js index 58bda073..8859a5b7 100644 --- a/src/api/UsersApi.js +++ b/src/api/UsersApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Users service. * @module api/UsersApi -* @version 3.0.0 +* @version 3.0.1 */ export class UsersApi { diff --git a/src/api/WebhooksApi.js b/src/api/WebhooksApi.js index 96176942..400c7241 100644 --- a/src/api/WebhooksApi.js +++ b/src/api/WebhooksApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Webhooks service. * @module api/WebhooksApi -* @version 3.0.0 +* @version 3.0.1 */ export class WebhooksApi { diff --git a/src/api/WorkspaceMembershipsApi.js b/src/api/WorkspaceMembershipsApi.js index b781b53a..c0c35b23 100644 --- a/src/api/WorkspaceMembershipsApi.js +++ b/src/api/WorkspaceMembershipsApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * WorkspaceMemberships service. * @module api/WorkspaceMembershipsApi -* @version 3.0.0 +* @version 3.0.1 */ export class WorkspaceMembershipsApi { diff --git a/src/api/WorkspacesApi.js b/src/api/WorkspacesApi.js index e3c744fc..3271f5f4 100644 --- a/src/api/WorkspacesApi.js +++ b/src/api/WorkspacesApi.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -18,7 +18,7 @@ var Collection = require('../utils/collection'); /** * Workspaces service. * @module api/WorkspacesApi -* @version 3.0.0 +* @version 3.0.1 */ export class WorkspacesApi { diff --git a/src/index.js b/src/index.js index f7c569ee..052efeff 100644 --- a/src/index.js +++ b/src/index.js @@ -7,7 +7,7 @@ * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * - * Swagger Codegen version: 3.0.46 + * Swagger Codegen version: 3.0.52 * * Do not edit the class manually. * @@ -78,7 +78,7 @@ import {WorkspacesApi} from './api/WorkspacesApi'; * *

* @module index -* @version 3.0.0 +* @version 3.0.1 */ export { /**