asana 3.0.0 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/publish.yaml +1 -1
- package/.swagger-codegen/VERSION +1 -1
- package/README.md +15 -21
- package/build-tests/README.md +19 -0
- package/build-tests/api/ProjectsApi.js +178 -0
- package/build-tests/api/TasksApi.js +260 -0
- package/codegen/swagger/src/main/java/com/asana/codegen/JavascriptClientCodegenGenerator.java +1 -1
- package/codegen/templates/ApiClient.mustache +18 -10
- package/codegen/templates/README.mustache +12 -18
- package/codegen/templates/package.mustache +3 -1
- package/dist/ApiClient.js +30 -24
- package/dist/api/AttachmentsApi.js +16 -16
- package/dist/api/AuditLogAPIApi.js +16 -16
- package/dist/api/BatchAPIApi.js +16 -16
- package/dist/api/CustomFieldSettingsApi.js +16 -16
- package/dist/api/CustomFieldsApi.js +16 -16
- package/dist/api/EventsApi.js +16 -16
- package/dist/api/GoalRelationshipsApi.js +16 -16
- package/dist/api/GoalsApi.js +18 -16
- package/dist/api/JobsApi.js +16 -16
- package/dist/api/MembershipsApi.js +16 -16
- package/dist/api/OrganizationExportsApi.js +16 -16
- package/dist/api/PortfolioMembershipsApi.js +16 -16
- package/dist/api/PortfoliosApi.js +16 -16
- package/dist/api/ProjectBriefsApi.js +16 -16
- package/dist/api/ProjectMembershipsApi.js +16 -16
- package/dist/api/ProjectStatusesApi.js +16 -16
- package/dist/api/ProjectTemplatesApi.js +16 -16
- package/dist/api/ProjectsApi.js +27 -20
- package/dist/api/RulesApi.js +16 -16
- package/dist/api/SectionsApi.js +16 -16
- package/dist/api/StatusUpdatesApi.js +16 -16
- package/dist/api/StoriesApi.js +16 -16
- package/dist/api/TagsApi.js +16 -16
- package/dist/api/TaskTemplatesApi.js +16 -16
- package/dist/api/TasksApi.js +16 -16
- package/dist/api/TeamMembershipsApi.js +16 -16
- package/dist/api/TeamsApi.js +16 -16
- package/dist/api/TimePeriodsApi.js +16 -16
- package/dist/api/TimeTrackingEntriesApi.js +16 -16
- package/dist/api/TypeaheadApi.js +16 -16
- package/dist/api/UserTaskListsApi.js +16 -16
- package/dist/api/UsersApi.js +16 -16
- package/dist/api/WebhooksApi.js +16 -16
- package/dist/api/WorkspaceMembershipsApi.js +16 -16
- package/dist/api/WorkspacesApi.js +16 -16
- package/package.json +3 -1
- package/src/ApiClient.js +20 -12
- package/src/api/AttachmentsApi.js +2 -2
- package/src/api/AuditLogAPIApi.js +2 -2
- package/src/api/BatchAPIApi.js +2 -2
- package/src/api/CustomFieldSettingsApi.js +2 -2
- package/src/api/CustomFieldsApi.js +2 -2
- package/src/api/EventsApi.js +2 -2
- package/src/api/GoalRelationshipsApi.js +2 -2
- package/src/api/GoalsApi.js +4 -2
- package/src/api/JobsApi.js +2 -2
- package/src/api/MembershipsApi.js +2 -2
- package/src/api/OrganizationExportsApi.js +2 -2
- package/src/api/PortfolioMembershipsApi.js +2 -2
- package/src/api/PortfoliosApi.js +2 -2
- package/src/api/ProjectBriefsApi.js +2 -2
- package/src/api/ProjectMembershipsApi.js +2 -2
- package/src/api/ProjectStatusesApi.js +2 -2
- package/src/api/ProjectTemplatesApi.js +2 -2
- package/src/api/ProjectsApi.js +13 -7
- package/src/api/RulesApi.js +2 -2
- package/src/api/SectionsApi.js +2 -2
- package/src/api/StatusUpdatesApi.js +2 -2
- package/src/api/StoriesApi.js +2 -2
- package/src/api/TagsApi.js +2 -2
- package/src/api/TaskTemplatesApi.js +2 -2
- package/src/api/TasksApi.js +2 -2
- package/src/api/TeamMembershipsApi.js +2 -2
- package/src/api/TeamsApi.js +2 -2
- package/src/api/TimePeriodsApi.js +2 -2
- package/src/api/TimeTrackingEntriesApi.js +2 -2
- package/src/api/TypeaheadApi.js +2 -2
- package/src/api/UserTaskListsApi.js +2 -2
- package/src/api/UsersApi.js +2 -2
- package/src/api/WebhooksApi.js +2 -2
- package/src/api/WorkspaceMembershipsApi.js +2 -2
- package/src/api/WorkspacesApi.js +2 -2
- package/src/index.js +2 -2
package/dist/api/ProjectsApi.js
CHANGED
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Projects service.
|
|
31
31
|
* @module api/ProjectsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -50,11 +50,14 @@ var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
|
50
50
|
* Custom fields are associated with projects by way of custom field settings. This method creates a setting for the project.
|
|
51
51
|
* @param {module:model/Object} body Information about the custom field setting.
|
|
52
52
|
* @param {String} project_gid Globally unique identifier for the project.
|
|
53
|
+
* @param {Object} opts Optional parameters
|
|
54
|
+
* @param {Array.<module:model/String>} opts.opt_fields This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
|
|
53
55
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data and HTTP response
|
|
54
56
|
*/
|
|
55
57
|
_createClass(ProjectsApi, [{
|
|
56
58
|
key: "addCustomFieldSettingForProjectWithHttpInfo",
|
|
57
|
-
value: function addCustomFieldSettingForProjectWithHttpInfo(body, project_gid) {
|
|
59
|
+
value: function addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts) {
|
|
60
|
+
opts = opts || {};
|
|
58
61
|
var postBody = body;
|
|
59
62
|
// verify the required parameter 'body' is set
|
|
60
63
|
if (body === undefined || body === null) {
|
|
@@ -68,6 +71,8 @@ var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
|
68
71
|
'project_gid': project_gid
|
|
69
72
|
};
|
|
70
73
|
var queryParams = {};
|
|
74
|
+
opts = opts || {};
|
|
75
|
+
queryParams = opts;
|
|
71
76
|
var headerParams = {};
|
|
72
77
|
var formParams = {};
|
|
73
78
|
var authNames = ['personalAccessToken'];
|
|
@@ -100,16 +105,18 @@ var ProjectsApi = exports.ProjectsApi = /*#__PURE__*/function () {
|
|
|
100
105
|
* Custom fields are associated with projects by way of custom field settings. This method creates a setting for the project.
|
|
101
106
|
* @param {<&vendorExtensions.x-jsdoc-type>} body Information about the custom field setting.
|
|
102
107
|
* @param {<&vendorExtensions.x-jsdoc-type>} project_gid Globally unique identifier for the project.
|
|
108
|
+
* @param {Object} opts Optional parameters
|
|
109
|
+
* @param {Array.<module:model/String>} opts.opt_fields This endpoint returns a compact resource, which excludes some properties by default. To include those optional properties, set this query parameter to a comma-separated list of the properties you wish to include.
|
|
103
110
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CustomFieldSettingResponseData}
|
|
104
111
|
*/
|
|
105
112
|
}, {
|
|
106
113
|
key: "addCustomFieldSettingForProject",
|
|
107
|
-
value: function addCustomFieldSettingForProject(body, project_gid) {
|
|
114
|
+
value: function addCustomFieldSettingForProject(body, project_gid, opts) {
|
|
108
115
|
// Check if RETURN_COLLECTION is set and return a collection object if it is
|
|
109
116
|
if (this.apiClient.RETURN_COLLECTION && false) {
|
|
110
|
-
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid);
|
|
117
|
+
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts);
|
|
111
118
|
} else {
|
|
112
|
-
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid).then(function (response_and_data) {
|
|
119
|
+
return this.addCustomFieldSettingForProjectWithHttpInfo(body, project_gid, opts).then(function (response_and_data) {
|
|
113
120
|
return response_and_data.data;
|
|
114
121
|
});
|
|
115
122
|
}
|
package/dist/api/RulesApi.js
CHANGED
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Rules service.
|
|
31
31
|
* @module api/RulesApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var RulesApi = exports.RulesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/SectionsApi.js
CHANGED
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Sections service.
|
|
31
31
|
* @module api/SectionsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var SectionsApi = exports.SectionsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* StatusUpdates service.
|
|
31
31
|
* @module api/StatusUpdatesApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var StatusUpdatesApi = exports.StatusUpdatesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/StoriesApi.js
CHANGED
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Stories service.
|
|
31
31
|
* @module api/StoriesApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var StoriesApi = exports.StoriesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/TagsApi.js
CHANGED
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* Tags service.
|
|
31
31
|
* @module api/TagsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var TagsApi = exports.TagsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* TaskTemplates service.
|
|
31
31
|
* @module api/TaskTemplatesApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var TaskTemplatesApi = exports.TaskTemplatesApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/TasksApi.js
CHANGED
|
@@ -15,27 +15,27 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
15
15
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
16
16
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
17
17
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
18
|
-
function _toPropertyKey(
|
|
19
|
-
function _toPrimitive(
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
18
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
19
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
20
|
+
* Asana
|
|
21
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
22
|
+
*
|
|
23
|
+
* OpenAPI spec version: 1.0
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
26
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
27
|
+
*
|
|
28
|
+
* Swagger Codegen version: 3.0.52
|
|
29
|
+
*
|
|
30
|
+
* Do not edit the class manually.
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
33
|
var Collection = require('../utils/collection');
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
36
|
* Tasks service.
|
|
37
37
|
* @module api/TasksApi
|
|
38
|
-
* @version 3.0.
|
|
38
|
+
* @version 3.0.2
|
|
39
39
|
*/
|
|
40
40
|
var TasksApi = exports.TasksApi = /*#__PURE__*/function () {
|
|
41
41
|
/**
|
|
@@ -9,27 +9,27 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
9
9
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
10
10
|
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
|
|
11
11
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
12
|
-
function _toPropertyKey(
|
|
13
|
-
function _toPrimitive(
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
12
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
13
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /*
|
|
14
|
+
* Asana
|
|
15
|
+
* This is the interface for interacting with the [Asana Platform](https://developers.asana.com). Our API reference is generated from our [OpenAPI spec] (https://raw.githubusercontent.com/Asana/openapi/master/defs/asana_oas.yaml).
|
|
16
|
+
*
|
|
17
|
+
* OpenAPI spec version: 1.0
|
|
18
|
+
*
|
|
19
|
+
* NOTE: This class is auto generated by the swagger code generator program.
|
|
20
|
+
* https://github.com/swagger-api/swagger-codegen.git
|
|
21
|
+
*
|
|
22
|
+
* Swagger Codegen version: 3.0.52
|
|
23
|
+
*
|
|
24
|
+
* Do not edit the class manually.
|
|
25
|
+
*
|
|
26
|
+
*/
|
|
27
27
|
var Collection = require('../utils/collection');
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* TeamMemberships service.
|
|
31
31
|
* @module api/TeamMembershipsApi
|
|
32
|
-
* @version 3.0.
|
|
32
|
+
* @version 3.0.2
|
|
33
33
|
*/
|
|
34
34
|
var TeamMembershipsApi = exports.TeamMembershipsApi = /*#__PURE__*/function () {
|
|
35
35
|
/**
|