pipedrive 22.2.0 → 22.3.1-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +414 -1175
- package/dist/api/ProjectTemplatesApi.js +258 -0
- package/dist/api/ProjectsApi.js +846 -0
- package/dist/api/TasksApi.js +328 -0
- package/dist/index.js +371 -0
- package/dist/model/AddProjectResponse201.js +96 -0
- package/dist/model/AddTaskResponse201.js +96 -0
- package/dist/model/DeleteProject.js +88 -0
- package/dist/model/DeleteProjectData.js +78 -0
- package/dist/model/DeleteProjectResponse200.js +96 -0
- package/dist/model/DeleteTask.js +88 -0
- package/dist/model/DeleteTaskData.js +78 -0
- package/dist/model/DeleteTaskResponse200.js +96 -0
- package/dist/model/FilterType.js +1 -0
- package/dist/model/FullProjectObject.js +324 -0
- package/dist/model/FullTaskObject.js +250 -0
- package/dist/model/GetProjectBoardResponse200.js +96 -0
- package/dist/model/GetProjectBoardsResponse200.js +96 -0
- package/dist/model/GetProjectGroupsResponse200.js +96 -0
- package/dist/model/GetProjectPhaseResponse200.js +96 -0
- package/dist/model/GetProjectPhasesResponse200.js +96 -0
- package/dist/model/GetProjectPlanResponse200.js +96 -0
- package/dist/model/GetProjectResponse200.js +96 -0
- package/dist/model/GetProjectTemplateResponse200.js +96 -0
- package/dist/model/GetProjectTemplatesResponse200.js +97 -0
- package/dist/model/GetProjectsResponse200.js +97 -0
- package/dist/model/GetTaskResponse200.js +96 -0
- package/dist/model/GetTasksResponse200.js +97 -0
- package/dist/model/ProjectBoardObject.js +118 -0
- package/dist/model/ProjectGroupsObject.js +98 -0
- package/dist/model/ProjectId.js +78 -0
- package/dist/model/ProjectMandatoryObjectFragment.js +98 -0
- package/dist/model/ProjectNotChangeableObjectFragment.js +108 -0
- package/dist/model/ProjectObjectFragment.js +158 -0
- package/dist/model/ProjectPhaseObject.js +128 -0
- package/dist/model/ProjectPlanItemObject.js +108 -0
- package/dist/model/ProjectPostObject.js +286 -0
- package/dist/model/ProjectPostObjectAllOf.js +78 -0
- package/dist/model/ProjectPutObject.js +259 -0
- package/dist/model/ProjectPutPlanItemBodyObject.js +88 -0
- package/dist/model/ProjectResponseObject.js +334 -0
- package/dist/model/RequiredPostProjectParameters.js +105 -0
- package/dist/model/RequiredPostTaskParameters.js +93 -0
- package/dist/model/TaskId.js +78 -0
- package/dist/model/TaskMandatoryObjectFragment.js +88 -0
- package/dist/model/TaskNotChangeableObjectFragment.js +108 -0
- package/dist/model/TaskObjectFragment.js +119 -0
- package/dist/model/TaskPostObject.js +190 -0
- package/dist/model/TaskPutObject.js +185 -0
- package/dist/model/TaskResponseObject.js +260 -0
- package/dist/model/TemplateObject.js +138 -0
- package/dist/model/TemplateResponseObject.js +179 -0
- package/dist/model/UpdateProjectResponse200.js +96 -0
- package/dist/model/UpdateTaskResponse200.js +96 -0
- package/dist/model/UpdatedActivityPlanItem200.js +96 -0
- package/dist/model/UpdatedTaskPlanItem200.js +96 -0
- package/package.json +1 -2
@@ -0,0 +1,97 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
var _AdditionalDataWithCursorPagination = _interopRequireDefault(require("./AdditionalDataWithCursorPagination"));
|
12
|
+
var _TemplateResponseObject = _interopRequireDefault(require("./TemplateResponseObject"));
|
13
|
+
/**
|
14
|
+
* Pipedrive API v1
|
15
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
16
|
+
*
|
17
|
+
* The version of the OpenAPI document: 1.0.0
|
18
|
+
*
|
19
|
+
*
|
20
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
21
|
+
* https://openapi-generator.tech
|
22
|
+
* Do not edit the class manually.
|
23
|
+
*
|
24
|
+
*/
|
25
|
+
/**
|
26
|
+
* The GetProjectTemplatesResponse200 model module.
|
27
|
+
* @module model/GetProjectTemplatesResponse200
|
28
|
+
* @version 1.0.0
|
29
|
+
*/
|
30
|
+
var GetProjectTemplatesResponse200 = /*#__PURE__*/function () {
|
31
|
+
/**
|
32
|
+
* Constructs a new <code>GetProjectTemplatesResponse200</code>.
|
33
|
+
* @alias module:model/GetProjectTemplatesResponse200
|
34
|
+
*/
|
35
|
+
function GetProjectTemplatesResponse200() {
|
36
|
+
(0, _classCallCheck2["default"])(this, GetProjectTemplatesResponse200);
|
37
|
+
GetProjectTemplatesResponse200.initialize(this);
|
38
|
+
}
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Initializes the fields of this object.
|
42
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
43
|
+
* Only for internal use.
|
44
|
+
*/
|
45
|
+
(0, _createClass2["default"])(GetProjectTemplatesResponse200, null, [{
|
46
|
+
key: "initialize",
|
47
|
+
value: function initialize(obj) {}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Constructs a <code>GetProjectTemplatesResponse200</code> from a plain JavaScript object, optionally creating a new instance.
|
51
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
52
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
53
|
+
* @param {module:model/GetProjectTemplatesResponse200} obj Optional instance to populate.
|
54
|
+
* @return {module:model/GetProjectTemplatesResponse200} The populated <code>GetProjectTemplatesResponse200</code> instance.
|
55
|
+
*/
|
56
|
+
}, {
|
57
|
+
key: "constructFromObject",
|
58
|
+
value: function constructFromObject(data, obj) {
|
59
|
+
if (data) {
|
60
|
+
obj = obj || new GetProjectTemplatesResponse200();
|
61
|
+
if (data.hasOwnProperty('success')) {
|
62
|
+
obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
|
63
|
+
delete data['success'];
|
64
|
+
}
|
65
|
+
if (data.hasOwnProperty('data')) {
|
66
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TemplateResponseObject["default"]]);
|
67
|
+
delete data['data'];
|
68
|
+
}
|
69
|
+
if (data.hasOwnProperty('additional_data')) {
|
70
|
+
obj['additional_data'] = _AdditionalDataWithCursorPagination["default"].constructFromObject(data['additional_data']);
|
71
|
+
delete data['additional_data'];
|
72
|
+
}
|
73
|
+
if (Object.keys(data).length > 0) {
|
74
|
+
Object.assign(obj, data);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
return obj;
|
78
|
+
}
|
79
|
+
}]);
|
80
|
+
return GetProjectTemplatesResponse200;
|
81
|
+
}();
|
82
|
+
/**
|
83
|
+
* @member {Boolean} success
|
84
|
+
*/
|
85
|
+
GetProjectTemplatesResponse200.prototype['success'] = undefined;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* @member {Array.<module:model/TemplateResponseObject>} data
|
89
|
+
*/
|
90
|
+
GetProjectTemplatesResponse200.prototype['data'] = undefined;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @member {module:model/AdditionalDataWithCursorPagination} additional_data
|
94
|
+
*/
|
95
|
+
GetProjectTemplatesResponse200.prototype['additional_data'] = undefined;
|
96
|
+
var _default = GetProjectTemplatesResponse200;
|
97
|
+
exports["default"] = _default;
|
@@ -0,0 +1,97 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
var _AdditionalDataWithCursorPagination = _interopRequireDefault(require("./AdditionalDataWithCursorPagination"));
|
12
|
+
var _ProjectResponseObject = _interopRequireDefault(require("./ProjectResponseObject"));
|
13
|
+
/**
|
14
|
+
* Pipedrive API v1
|
15
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
16
|
+
*
|
17
|
+
* The version of the OpenAPI document: 1.0.0
|
18
|
+
*
|
19
|
+
*
|
20
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
21
|
+
* https://openapi-generator.tech
|
22
|
+
* Do not edit the class manually.
|
23
|
+
*
|
24
|
+
*/
|
25
|
+
/**
|
26
|
+
* The GetProjectsResponse200 model module.
|
27
|
+
* @module model/GetProjectsResponse200
|
28
|
+
* @version 1.0.0
|
29
|
+
*/
|
30
|
+
var GetProjectsResponse200 = /*#__PURE__*/function () {
|
31
|
+
/**
|
32
|
+
* Constructs a new <code>GetProjectsResponse200</code>.
|
33
|
+
* @alias module:model/GetProjectsResponse200
|
34
|
+
*/
|
35
|
+
function GetProjectsResponse200() {
|
36
|
+
(0, _classCallCheck2["default"])(this, GetProjectsResponse200);
|
37
|
+
GetProjectsResponse200.initialize(this);
|
38
|
+
}
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Initializes the fields of this object.
|
42
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
43
|
+
* Only for internal use.
|
44
|
+
*/
|
45
|
+
(0, _createClass2["default"])(GetProjectsResponse200, null, [{
|
46
|
+
key: "initialize",
|
47
|
+
value: function initialize(obj) {}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Constructs a <code>GetProjectsResponse200</code> from a plain JavaScript object, optionally creating a new instance.
|
51
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
52
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
53
|
+
* @param {module:model/GetProjectsResponse200} obj Optional instance to populate.
|
54
|
+
* @return {module:model/GetProjectsResponse200} The populated <code>GetProjectsResponse200</code> instance.
|
55
|
+
*/
|
56
|
+
}, {
|
57
|
+
key: "constructFromObject",
|
58
|
+
value: function constructFromObject(data, obj) {
|
59
|
+
if (data) {
|
60
|
+
obj = obj || new GetProjectsResponse200();
|
61
|
+
if (data.hasOwnProperty('success')) {
|
62
|
+
obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
|
63
|
+
delete data['success'];
|
64
|
+
}
|
65
|
+
if (data.hasOwnProperty('data')) {
|
66
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_ProjectResponseObject["default"]]);
|
67
|
+
delete data['data'];
|
68
|
+
}
|
69
|
+
if (data.hasOwnProperty('additional_data')) {
|
70
|
+
obj['additional_data'] = _AdditionalDataWithCursorPagination["default"].constructFromObject(data['additional_data']);
|
71
|
+
delete data['additional_data'];
|
72
|
+
}
|
73
|
+
if (Object.keys(data).length > 0) {
|
74
|
+
Object.assign(obj, data);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
return obj;
|
78
|
+
}
|
79
|
+
}]);
|
80
|
+
return GetProjectsResponse200;
|
81
|
+
}();
|
82
|
+
/**
|
83
|
+
* @member {Boolean} success
|
84
|
+
*/
|
85
|
+
GetProjectsResponse200.prototype['success'] = undefined;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* @member {Array.<module:model/ProjectResponseObject>} data
|
89
|
+
*/
|
90
|
+
GetProjectsResponse200.prototype['data'] = undefined;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @member {module:model/AdditionalDataWithCursorPagination} additional_data
|
94
|
+
*/
|
95
|
+
GetProjectsResponse200.prototype['additional_data'] = undefined;
|
96
|
+
var _default = GetProjectsResponse200;
|
97
|
+
exports["default"] = _default;
|
@@ -0,0 +1,96 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
var _TaskResponseObject = _interopRequireDefault(require("./TaskResponseObject"));
|
12
|
+
/**
|
13
|
+
* Pipedrive API v1
|
14
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
15
|
+
*
|
16
|
+
* The version of the OpenAPI document: 1.0.0
|
17
|
+
*
|
18
|
+
*
|
19
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
20
|
+
* https://openapi-generator.tech
|
21
|
+
* Do not edit the class manually.
|
22
|
+
*
|
23
|
+
*/
|
24
|
+
/**
|
25
|
+
* The GetTaskResponse200 model module.
|
26
|
+
* @module model/GetTaskResponse200
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var GetTaskResponse200 = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>GetTaskResponse200</code>.
|
32
|
+
* @alias module:model/GetTaskResponse200
|
33
|
+
*/
|
34
|
+
function GetTaskResponse200() {
|
35
|
+
(0, _classCallCheck2["default"])(this, GetTaskResponse200);
|
36
|
+
GetTaskResponse200.initialize(this);
|
37
|
+
}
|
38
|
+
|
39
|
+
/**
|
40
|
+
* Initializes the fields of this object.
|
41
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
42
|
+
* Only for internal use.
|
43
|
+
*/
|
44
|
+
(0, _createClass2["default"])(GetTaskResponse200, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>GetTaskResponse200</code> from a plain JavaScript object, optionally creating a new instance.
|
50
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
51
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
52
|
+
* @param {module:model/GetTaskResponse200} obj Optional instance to populate.
|
53
|
+
* @return {module:model/GetTaskResponse200} The populated <code>GetTaskResponse200</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new GetTaskResponse200();
|
60
|
+
if (data.hasOwnProperty('success')) {
|
61
|
+
obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
|
62
|
+
delete data['success'];
|
63
|
+
}
|
64
|
+
if (data.hasOwnProperty('data')) {
|
65
|
+
obj['data'] = _TaskResponseObject["default"].constructFromObject(data['data']);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (data.hasOwnProperty('additional_data')) {
|
69
|
+
obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
|
70
|
+
delete data['additional_data'];
|
71
|
+
}
|
72
|
+
if (Object.keys(data).length > 0) {
|
73
|
+
Object.assign(obj, data);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
return obj;
|
77
|
+
}
|
78
|
+
}]);
|
79
|
+
return GetTaskResponse200;
|
80
|
+
}();
|
81
|
+
/**
|
82
|
+
* @member {Boolean} success
|
83
|
+
*/
|
84
|
+
GetTaskResponse200.prototype['success'] = undefined;
|
85
|
+
|
86
|
+
/**
|
87
|
+
* @member {module:model/TaskResponseObject} data
|
88
|
+
*/
|
89
|
+
GetTaskResponse200.prototype['data'] = undefined;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* @member {Object} additional_data
|
93
|
+
*/
|
94
|
+
GetTaskResponse200.prototype['additional_data'] = undefined;
|
95
|
+
var _default = GetTaskResponse200;
|
96
|
+
exports["default"] = _default;
|
@@ -0,0 +1,97 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
var _AdditionalDataWithCursorPagination = _interopRequireDefault(require("./AdditionalDataWithCursorPagination"));
|
12
|
+
var _TaskResponseObject = _interopRequireDefault(require("./TaskResponseObject"));
|
13
|
+
/**
|
14
|
+
* Pipedrive API v1
|
15
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
16
|
+
*
|
17
|
+
* The version of the OpenAPI document: 1.0.0
|
18
|
+
*
|
19
|
+
*
|
20
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
21
|
+
* https://openapi-generator.tech
|
22
|
+
* Do not edit the class manually.
|
23
|
+
*
|
24
|
+
*/
|
25
|
+
/**
|
26
|
+
* The GetTasksResponse200 model module.
|
27
|
+
* @module model/GetTasksResponse200
|
28
|
+
* @version 1.0.0
|
29
|
+
*/
|
30
|
+
var GetTasksResponse200 = /*#__PURE__*/function () {
|
31
|
+
/**
|
32
|
+
* Constructs a new <code>GetTasksResponse200</code>.
|
33
|
+
* @alias module:model/GetTasksResponse200
|
34
|
+
*/
|
35
|
+
function GetTasksResponse200() {
|
36
|
+
(0, _classCallCheck2["default"])(this, GetTasksResponse200);
|
37
|
+
GetTasksResponse200.initialize(this);
|
38
|
+
}
|
39
|
+
|
40
|
+
/**
|
41
|
+
* Initializes the fields of this object.
|
42
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
43
|
+
* Only for internal use.
|
44
|
+
*/
|
45
|
+
(0, _createClass2["default"])(GetTasksResponse200, null, [{
|
46
|
+
key: "initialize",
|
47
|
+
value: function initialize(obj) {}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Constructs a <code>GetTasksResponse200</code> from a plain JavaScript object, optionally creating a new instance.
|
51
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
52
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
53
|
+
* @param {module:model/GetTasksResponse200} obj Optional instance to populate.
|
54
|
+
* @return {module:model/GetTasksResponse200} The populated <code>GetTasksResponse200</code> instance.
|
55
|
+
*/
|
56
|
+
}, {
|
57
|
+
key: "constructFromObject",
|
58
|
+
value: function constructFromObject(data, obj) {
|
59
|
+
if (data) {
|
60
|
+
obj = obj || new GetTasksResponse200();
|
61
|
+
if (data.hasOwnProperty('success')) {
|
62
|
+
obj['success'] = _ApiClient["default"].convertToType(data['success'], 'Boolean');
|
63
|
+
delete data['success'];
|
64
|
+
}
|
65
|
+
if (data.hasOwnProperty('data')) {
|
66
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_TaskResponseObject["default"]]);
|
67
|
+
delete data['data'];
|
68
|
+
}
|
69
|
+
if (data.hasOwnProperty('additional_data')) {
|
70
|
+
obj['additional_data'] = _AdditionalDataWithCursorPagination["default"].constructFromObject(data['additional_data']);
|
71
|
+
delete data['additional_data'];
|
72
|
+
}
|
73
|
+
if (Object.keys(data).length > 0) {
|
74
|
+
Object.assign(obj, data);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
return obj;
|
78
|
+
}
|
79
|
+
}]);
|
80
|
+
return GetTasksResponse200;
|
81
|
+
}();
|
82
|
+
/**
|
83
|
+
* @member {Boolean} success
|
84
|
+
*/
|
85
|
+
GetTasksResponse200.prototype['success'] = undefined;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* @member {Array.<module:model/TaskResponseObject>} data
|
89
|
+
*/
|
90
|
+
GetTasksResponse200.prototype['data'] = undefined;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @member {module:model/AdditionalDataWithCursorPagination} additional_data
|
94
|
+
*/
|
95
|
+
GetTasksResponse200.prototype['additional_data'] = undefined;
|
96
|
+
var _default = GetTasksResponse200;
|
97
|
+
exports["default"] = _default;
|
@@ -0,0 +1,118 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
/**
|
12
|
+
* Pipedrive API v1
|
13
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
14
|
+
*
|
15
|
+
* The version of the OpenAPI document: 1.0.0
|
16
|
+
*
|
17
|
+
*
|
18
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
19
|
+
* https://openapi-generator.tech
|
20
|
+
* Do not edit the class manually.
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* The ProjectBoardObject model module.
|
25
|
+
* @module model/ProjectBoardObject
|
26
|
+
* @version 1.0.0
|
27
|
+
*/
|
28
|
+
var ProjectBoardObject = /*#__PURE__*/function () {
|
29
|
+
/**
|
30
|
+
* Constructs a new <code>ProjectBoardObject</code>.
|
31
|
+
* @alias module:model/ProjectBoardObject
|
32
|
+
*/
|
33
|
+
function ProjectBoardObject() {
|
34
|
+
(0, _classCallCheck2["default"])(this, ProjectBoardObject);
|
35
|
+
ProjectBoardObject.initialize(this);
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Initializes the fields of this object.
|
40
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
41
|
+
* Only for internal use.
|
42
|
+
*/
|
43
|
+
(0, _createClass2["default"])(ProjectBoardObject, null, [{
|
44
|
+
key: "initialize",
|
45
|
+
value: function initialize(obj) {}
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Constructs a <code>ProjectBoardObject</code> from a plain JavaScript object, optionally creating a new instance.
|
49
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
50
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
51
|
+
* @param {module:model/ProjectBoardObject} obj Optional instance to populate.
|
52
|
+
* @return {module:model/ProjectBoardObject} The populated <code>ProjectBoardObject</code> instance.
|
53
|
+
*/
|
54
|
+
}, {
|
55
|
+
key: "constructFromObject",
|
56
|
+
value: function constructFromObject(data, obj) {
|
57
|
+
if (data) {
|
58
|
+
obj = obj || new ProjectBoardObject();
|
59
|
+
if (data.hasOwnProperty('id')) {
|
60
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
61
|
+
delete data['id'];
|
62
|
+
}
|
63
|
+
if (data.hasOwnProperty('name')) {
|
64
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
65
|
+
delete data['name'];
|
66
|
+
}
|
67
|
+
if (data.hasOwnProperty('order_nr')) {
|
68
|
+
obj['order_nr'] = _ApiClient["default"].convertToType(data['order_nr'], 'Number');
|
69
|
+
delete data['order_nr'];
|
70
|
+
}
|
71
|
+
if (data.hasOwnProperty('add_time')) {
|
72
|
+
obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
|
73
|
+
delete data['add_time'];
|
74
|
+
}
|
75
|
+
if (data.hasOwnProperty('update_time')) {
|
76
|
+
obj['update_time'] = _ApiClient["default"].convertToType(data['update_time'], 'String');
|
77
|
+
delete data['update_time'];
|
78
|
+
}
|
79
|
+
if (Object.keys(data).length > 0) {
|
80
|
+
Object.assign(obj, data);
|
81
|
+
}
|
82
|
+
}
|
83
|
+
return obj;
|
84
|
+
}
|
85
|
+
}]);
|
86
|
+
return ProjectBoardObject;
|
87
|
+
}();
|
88
|
+
/**
|
89
|
+
* The ID of the project board
|
90
|
+
* @member {Number} id
|
91
|
+
*/
|
92
|
+
ProjectBoardObject.prototype['id'] = undefined;
|
93
|
+
|
94
|
+
/**
|
95
|
+
* Name of a project board
|
96
|
+
* @member {String} name
|
97
|
+
*/
|
98
|
+
ProjectBoardObject.prototype['name'] = undefined;
|
99
|
+
|
100
|
+
/**
|
101
|
+
* The order of a board
|
102
|
+
* @member {Number} order_nr
|
103
|
+
*/
|
104
|
+
ProjectBoardObject.prototype['order_nr'] = undefined;
|
105
|
+
|
106
|
+
/**
|
107
|
+
* The creation date and time of the board in UTC. Format: YYYY-MM-DD HH:MM:SS.
|
108
|
+
* @member {String} add_time
|
109
|
+
*/
|
110
|
+
ProjectBoardObject.prototype['add_time'] = undefined;
|
111
|
+
|
112
|
+
/**
|
113
|
+
* The update date and time of the board in UTC. Format: YYYY-MM-DD HH:MM:SS.
|
114
|
+
* @member {String} update_time
|
115
|
+
*/
|
116
|
+
ProjectBoardObject.prototype['update_time'] = undefined;
|
117
|
+
var _default = ProjectBoardObject;
|
118
|
+
exports["default"] = _default;
|
@@ -0,0 +1,98 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
/**
|
12
|
+
* Pipedrive API v1
|
13
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
14
|
+
*
|
15
|
+
* The version of the OpenAPI document: 1.0.0
|
16
|
+
*
|
17
|
+
*
|
18
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
19
|
+
* https://openapi-generator.tech
|
20
|
+
* Do not edit the class manually.
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* The ProjectGroupsObject model module.
|
25
|
+
* @module model/ProjectGroupsObject
|
26
|
+
* @version 1.0.0
|
27
|
+
*/
|
28
|
+
var ProjectGroupsObject = /*#__PURE__*/function () {
|
29
|
+
/**
|
30
|
+
* Constructs a new <code>ProjectGroupsObject</code>.
|
31
|
+
* @alias module:model/ProjectGroupsObject
|
32
|
+
*/
|
33
|
+
function ProjectGroupsObject() {
|
34
|
+
(0, _classCallCheck2["default"])(this, ProjectGroupsObject);
|
35
|
+
ProjectGroupsObject.initialize(this);
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Initializes the fields of this object.
|
40
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
41
|
+
* Only for internal use.
|
42
|
+
*/
|
43
|
+
(0, _createClass2["default"])(ProjectGroupsObject, null, [{
|
44
|
+
key: "initialize",
|
45
|
+
value: function initialize(obj) {}
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Constructs a <code>ProjectGroupsObject</code> from a plain JavaScript object, optionally creating a new instance.
|
49
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
50
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
51
|
+
* @param {module:model/ProjectGroupsObject} obj Optional instance to populate.
|
52
|
+
* @return {module:model/ProjectGroupsObject} The populated <code>ProjectGroupsObject</code> instance.
|
53
|
+
*/
|
54
|
+
}, {
|
55
|
+
key: "constructFromObject",
|
56
|
+
value: function constructFromObject(data, obj) {
|
57
|
+
if (data) {
|
58
|
+
obj = obj || new ProjectGroupsObject();
|
59
|
+
if (data.hasOwnProperty('id')) {
|
60
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
61
|
+
delete data['id'];
|
62
|
+
}
|
63
|
+
if (data.hasOwnProperty('name')) {
|
64
|
+
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
|
65
|
+
delete data['name'];
|
66
|
+
}
|
67
|
+
if (data.hasOwnProperty('order_nr')) {
|
68
|
+
obj['order_nr'] = _ApiClient["default"].convertToType(data['order_nr'], 'Number');
|
69
|
+
delete data['order_nr'];
|
70
|
+
}
|
71
|
+
if (Object.keys(data).length > 0) {
|
72
|
+
Object.assign(obj, data);
|
73
|
+
}
|
74
|
+
}
|
75
|
+
return obj;
|
76
|
+
}
|
77
|
+
}]);
|
78
|
+
return ProjectGroupsObject;
|
79
|
+
}();
|
80
|
+
/**
|
81
|
+
* ID of the group
|
82
|
+
* @member {Number} id
|
83
|
+
*/
|
84
|
+
ProjectGroupsObject.prototype['id'] = undefined;
|
85
|
+
|
86
|
+
/**
|
87
|
+
* Name of the group
|
88
|
+
* @member {String} name
|
89
|
+
*/
|
90
|
+
ProjectGroupsObject.prototype['name'] = undefined;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* Order number of the group
|
94
|
+
* @member {Number} order_nr
|
95
|
+
*/
|
96
|
+
ProjectGroupsObject.prototype['order_nr'] = undefined;
|
97
|
+
var _default = ProjectGroupsObject;
|
98
|
+
exports["default"] = _default;
|
@@ -0,0 +1,78 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
/**
|
12
|
+
* Pipedrive API v1
|
13
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
14
|
+
*
|
15
|
+
* The version of the OpenAPI document: 1.0.0
|
16
|
+
*
|
17
|
+
*
|
18
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
19
|
+
* https://openapi-generator.tech
|
20
|
+
* Do not edit the class manually.
|
21
|
+
*
|
22
|
+
*/
|
23
|
+
/**
|
24
|
+
* The ProjectId model module.
|
25
|
+
* @module model/ProjectId
|
26
|
+
* @version 1.0.0
|
27
|
+
*/
|
28
|
+
var ProjectId = /*#__PURE__*/function () {
|
29
|
+
/**
|
30
|
+
* Constructs a new <code>ProjectId</code>.
|
31
|
+
* @alias module:model/ProjectId
|
32
|
+
*/
|
33
|
+
function ProjectId() {
|
34
|
+
(0, _classCallCheck2["default"])(this, ProjectId);
|
35
|
+
ProjectId.initialize(this);
|
36
|
+
}
|
37
|
+
|
38
|
+
/**
|
39
|
+
* Initializes the fields of this object.
|
40
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
41
|
+
* Only for internal use.
|
42
|
+
*/
|
43
|
+
(0, _createClass2["default"])(ProjectId, null, [{
|
44
|
+
key: "initialize",
|
45
|
+
value: function initialize(obj) {}
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Constructs a <code>ProjectId</code> from a plain JavaScript object, optionally creating a new instance.
|
49
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
50
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
51
|
+
* @param {module:model/ProjectId} obj Optional instance to populate.
|
52
|
+
* @return {module:model/ProjectId} The populated <code>ProjectId</code> instance.
|
53
|
+
*/
|
54
|
+
}, {
|
55
|
+
key: "constructFromObject",
|
56
|
+
value: function constructFromObject(data, obj) {
|
57
|
+
if (data) {
|
58
|
+
obj = obj || new ProjectId();
|
59
|
+
if (data.hasOwnProperty('id')) {
|
60
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
|
61
|
+
delete data['id'];
|
62
|
+
}
|
63
|
+
if (Object.keys(data).length > 0) {
|
64
|
+
Object.assign(obj, data);
|
65
|
+
}
|
66
|
+
}
|
67
|
+
return obj;
|
68
|
+
}
|
69
|
+
}]);
|
70
|
+
return ProjectId;
|
71
|
+
}();
|
72
|
+
/**
|
73
|
+
* The ID of the project, generated when the task was created
|
74
|
+
* @member {Number} id
|
75
|
+
*/
|
76
|
+
ProjectId.prototype['id'] = undefined;
|
77
|
+
var _default = ProjectId;
|
78
|
+
exports["default"] = _default;
|