pipedrive 23.2.4 → 23.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. package/README.md +59 -58
  2. package/dist/api/ActivitiesApi.js +21 -21
  3. package/dist/api/CallLogsApi.js +6 -6
  4. package/dist/api/DealsApi.js +8 -8
  5. package/dist/api/GoalsApi.js +16 -16
  6. package/dist/api/LeadLabelsApi.js +15 -15
  7. package/dist/api/LeadSourcesApi.js +4 -4
  8. package/dist/api/LeadsApi.js +18 -18
  9. package/dist/api/PipelinesApi.js +3 -3
  10. package/dist/api/ProjectTemplatesApi.js +12 -12
  11. package/dist/api/ProjectsApi.js +43 -43
  12. package/dist/api/StagesApi.js +6 -6
  13. package/dist/api/TasksApi.js +15 -15
  14. package/dist/index.js +175 -168
  15. package/dist/model/AddActivityResponse.js +107 -0
  16. package/dist/model/AddActivityResponseRelatedObjects.js +108 -0
  17. package/dist/model/AddProjectResponse.js +96 -0
  18. package/dist/model/AddTaskResponse.js +96 -0
  19. package/dist/model/CallLogBadRequestResponse.js +115 -0
  20. package/dist/model/CallLogConflictResponse.js +115 -0
  21. package/dist/model/CallLogForbiddenResponse.js +115 -0
  22. package/dist/model/CallLogGoneResponse.js +115 -0
  23. package/dist/model/CallLogInternalErrorResponse.js +115 -0
  24. package/dist/model/CallLogNotFoundResponse.js +115 -0
  25. package/dist/model/DeleteActivitiesResponse.js +87 -0
  26. package/dist/model/DeleteActivitiesResponseData.js +78 -0
  27. package/dist/model/DeleteActivityResponse.js +87 -0
  28. package/dist/model/DeleteActivityResponseData.js +78 -0
  29. package/dist/model/DeleteGoalResponse.js +78 -0
  30. package/dist/model/DeleteLeadIdResponse.js +87 -0
  31. package/dist/model/DeletePipelineResponse.js +88 -0
  32. package/dist/model/DeletePipelineResponseData.js +78 -0
  33. package/dist/model/DeleteProjectResponse.js +96 -0
  34. package/dist/model/DeleteStageResponse.js +88 -0
  35. package/dist/model/DeleteStageResponseData.js +78 -0
  36. package/dist/model/DeleteStagesResponse.js +88 -0
  37. package/dist/model/DeleteStagesResponseData.js +78 -0
  38. package/dist/model/DeleteTaskResponse.js +96 -0
  39. package/dist/model/GetActivitiesCollectionResponse.js +97 -0
  40. package/dist/model/GetActivitiesResponse.js +107 -0
  41. package/dist/model/GetActivitiesResponseRelatedObjects.js +108 -0
  42. package/dist/model/GetActivityResponse.js +97 -0
  43. package/dist/model/GetAddProductAttachmentDetails.js +89 -0
  44. package/dist/model/GetGoalResultResponse.js +88 -0
  45. package/dist/model/GetGoalsResponse.js +88 -0
  46. package/dist/model/GetLeadIdResponse.js +87 -0
  47. package/dist/model/GetLeadIdResponseData.js +77 -0
  48. package/dist/model/GetLeadLabelsResponse.js +87 -0
  49. package/dist/model/GetLeadResponse.js +87 -0
  50. package/dist/model/GetLeadsResponse.js +97 -0
  51. package/dist/model/GetLeadsSourceResponse.js +87 -0
  52. package/dist/model/GetLeadsSourceResponseData.js +78 -0
  53. package/dist/model/GetProductAttachmentDetails.js +89 -0
  54. package/dist/model/GetProjectBoardResponse.js +96 -0
  55. package/dist/model/GetProjectBoardsResponse.js +96 -0
  56. package/dist/model/GetProjectGroupsResponse.js +96 -0
  57. package/dist/model/GetProjectPhaseResponse.js +96 -0
  58. package/dist/model/GetProjectPhasesResponse.js +96 -0
  59. package/dist/model/GetProjectPlanResponse.js +96 -0
  60. package/dist/model/GetProjectResponse.js +96 -0
  61. package/dist/model/GetProjectTemplateResponse.js +96 -0
  62. package/dist/model/GetProjectTemplatesResponse.js +97 -0
  63. package/dist/model/GetProjectsResponse.js +97 -0
  64. package/dist/model/GetTaskResponse.js +96 -0
  65. package/dist/model/GetTasksResponse.js +97 -0
  66. package/dist/model/LeadNotFoundResponse.js +115 -0
  67. package/dist/model/ProductResponse.js +3 -3
  68. package/dist/model/ProductsResponse.js +3 -3
  69. package/dist/model/UpdateActivityPlanItem.js +96 -0
  70. package/dist/model/UpdateActivityResponse.js +97 -0
  71. package/dist/model/UpdateProductResponse.js +3 -3
  72. package/dist/model/UpdateProjectResponse.js +96 -0
  73. package/dist/model/UpdateTaskPlanItem.js +96 -0
  74. package/dist/model/UpdateTaskResponse.js +96 -0
  75. package/dist/model/UpsertGoalResponse.js +88 -0
  76. package/dist/model/UpsertLeadLabelResponse.js +87 -0
  77. package/package.json +1 -1
@@ -9,22 +9,22 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
9
9
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
10
10
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
11
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
12
- var _AddProjectResponse = _interopRequireDefault(require("../model/AddProjectResponse201"));
13
- var _DeleteProjectResponse = _interopRequireDefault(require("../model/DeleteProjectResponse200"));
14
- var _GetActivitiesCollectionResponse = _interopRequireDefault(require("../model/GetActivitiesCollectionResponse200"));
15
- var _GetProjectBoardsResponse = _interopRequireDefault(require("../model/GetProjectBoardsResponse200"));
16
- var _GetProjectGroupsResponse = _interopRequireDefault(require("../model/GetProjectGroupsResponse200"));
17
- var _GetProjectPhasesResponse = _interopRequireDefault(require("../model/GetProjectPhasesResponse200"));
18
- var _GetProjectPlanResponse = _interopRequireDefault(require("../model/GetProjectPlanResponse200"));
19
- var _GetProjectResponse = _interopRequireDefault(require("../model/GetProjectResponse200"));
20
- var _GetProjectsResponse = _interopRequireDefault(require("../model/GetProjectsResponse200"));
21
- var _GetTasksResponse = _interopRequireDefault(require("../model/GetTasksResponse200"));
12
+ var _AddProjectResponse = _interopRequireDefault(require("../model/AddProjectResponse"));
13
+ var _DeleteProjectResponse = _interopRequireDefault(require("../model/DeleteProjectResponse"));
14
+ var _GetActivitiesCollectionResponse = _interopRequireDefault(require("../model/GetActivitiesCollectionResponse"));
15
+ var _GetProjectBoardsResponse = _interopRequireDefault(require("../model/GetProjectBoardsResponse"));
16
+ var _GetProjectGroupsResponse = _interopRequireDefault(require("../model/GetProjectGroupsResponse"));
17
+ var _GetProjectPhasesResponse = _interopRequireDefault(require("../model/GetProjectPhasesResponse"));
18
+ var _GetProjectPlanResponse = _interopRequireDefault(require("../model/GetProjectPlanResponse"));
19
+ var _GetProjectResponse = _interopRequireDefault(require("../model/GetProjectResponse"));
20
+ var _GetProjectsResponse = _interopRequireDefault(require("../model/GetProjectsResponse"));
21
+ var _GetTasksResponse = _interopRequireDefault(require("../model/GetTasksResponse"));
22
22
  var _ProjectPostObject = _interopRequireDefault(require("../model/ProjectPostObject"));
23
23
  var _ProjectPutObject = _interopRequireDefault(require("../model/ProjectPutObject"));
24
24
  var _ProjectPutPlanItemBodyObject = _interopRequireDefault(require("../model/ProjectPutPlanItemBodyObject"));
25
- var _UpdateProjectResponse = _interopRequireDefault(require("../model/UpdateProjectResponse200"));
26
- var _UpdatedActivityPlanItem = _interopRequireDefault(require("../model/UpdatedActivityPlanItem200"));
27
- var _UpdatedTaskPlanItem = _interopRequireDefault(require("../model/UpdatedTaskPlanItem200"));
25
+ var _UpdateActivityPlanItem = _interopRequireDefault(require("../model/UpdateActivityPlanItem"));
26
+ var _UpdateProjectResponse = _interopRequireDefault(require("../model/UpdateProjectResponse"));
27
+ var _UpdateTaskPlanItem = _interopRequireDefault(require("../model/UpdateTaskPlanItem"));
28
28
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
29
29
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /**
30
30
  * Pipedrive API v1
@@ -61,7 +61,7 @@ var ProjectsApi = /*#__PURE__*/function () {
61
61
  * Adds a new project. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys.
62
62
  * @param {Object} opts Optional parameters
63
63
  * @param {module:model/ProjectPostObject} opts.projectPostObject
64
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddProjectResponse201} and HTTP response
64
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddProjectResponse} and HTTP response
65
65
  */
66
66
  (0, _createClass2["default"])(ProjectsApi, [{
67
67
  key: "addProjectWithHttpInfo",
@@ -96,7 +96,7 @@ var ProjectsApi = /*#__PURE__*/function () {
96
96
  * Adds a new project. Note that you can supply additional custom fields along with the request that are not described here. These custom fields are different for each Pipedrive account and can be recognized by long hashes as keys.
97
97
  * @param {Object} opts Optional parameters
98
98
  * @param {module:model/ProjectPostObject} opts.projectPostObject
99
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddProjectResponse201}
99
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddProjectResponse}
100
100
  */
101
101
  }, {
102
102
  key: "addProject",
@@ -110,7 +110,7 @@ var ProjectsApi = /*#__PURE__*/function () {
110
110
  * Archive a project
111
111
  * Archives a project.
112
112
  * @param {Number} id The ID of the project
113
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse200} and HTTP response
113
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse} and HTTP response
114
114
  */
115
115
  }, {
116
116
  key: "archiveProjectWithHttpInfo",
@@ -151,7 +151,7 @@ var ProjectsApi = /*#__PURE__*/function () {
151
151
  * Archive a project
152
152
  * Archives a project.
153
153
  * @param {Number} id The ID of the project
154
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse200}
154
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse}
155
155
  */
156
156
  }, {
157
157
  key: "archiveProject",
@@ -165,7 +165,7 @@ var ProjectsApi = /*#__PURE__*/function () {
165
165
  * Delete a project
166
166
  * Marks a project as deleted.
167
167
  * @param {Number} id The ID of the project
168
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteProjectResponse200} and HTTP response
168
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteProjectResponse} and HTTP response
169
169
  */
170
170
  }, {
171
171
  key: "deleteProjectWithHttpInfo",
@@ -206,7 +206,7 @@ var ProjectsApi = /*#__PURE__*/function () {
206
206
  * Delete a project
207
207
  * Marks a project as deleted.
208
208
  * @param {Number} id The ID of the project
209
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteProjectResponse200}
209
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteProjectResponse}
210
210
  */
211
211
  }, {
212
212
  key: "deleteProject",
@@ -220,7 +220,7 @@ var ProjectsApi = /*#__PURE__*/function () {
220
220
  * Get details of a project
221
221
  * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields.
222
222
  * @param {Number} id The ID of the project
223
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectResponse200} and HTTP response
223
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectResponse} and HTTP response
224
224
  */
225
225
  }, {
226
226
  key: "getProjectWithHttpInfo",
@@ -261,7 +261,7 @@ var ProjectsApi = /*#__PURE__*/function () {
261
261
  * Get details of a project
262
262
  * Returns the details of a specific project. Also note that custom fields appear as long hashes in the resulting data. These hashes can be mapped against the `key` value of project fields.
263
263
  * @param {Number} id The ID of the project
264
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectResponse200}
264
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectResponse}
265
265
  */
266
266
  }, {
267
267
  key: "getProject",
@@ -275,7 +275,7 @@ var ProjectsApi = /*#__PURE__*/function () {
275
275
  * Returns project activities
276
276
  * Returns activities linked to a specific project.
277
277
  * @param {Number} id The ID of the project
278
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesCollectionResponse200} and HTTP response
278
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetActivitiesCollectionResponse} and HTTP response
279
279
  */
280
280
  }, {
281
281
  key: "getProjectActivitiesWithHttpInfo",
@@ -316,7 +316,7 @@ var ProjectsApi = /*#__PURE__*/function () {
316
316
  * Returns project activities
317
317
  * Returns activities linked to a specific project.
318
318
  * @param {Number} id The ID of the project
319
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesCollectionResponse200}
319
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetActivitiesCollectionResponse}
320
320
  */
321
321
  }, {
322
322
  key: "getProjectActivities",
@@ -330,7 +330,7 @@ var ProjectsApi = /*#__PURE__*/function () {
330
330
  * Returns project groups
331
331
  * Returns all active groups under a specific project.
332
332
  * @param {Number} id The ID of the project
333
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectGroupsResponse200} and HTTP response
333
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectGroupsResponse} and HTTP response
334
334
  */
335
335
  }, {
336
336
  key: "getProjectGroupsWithHttpInfo",
@@ -371,7 +371,7 @@ var ProjectsApi = /*#__PURE__*/function () {
371
371
  * Returns project groups
372
372
  * Returns all active groups under a specific project.
373
373
  * @param {Number} id The ID of the project
374
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectGroupsResponse200}
374
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectGroupsResponse}
375
375
  */
376
376
  }, {
377
377
  key: "getProjectGroups",
@@ -385,7 +385,7 @@ var ProjectsApi = /*#__PURE__*/function () {
385
385
  * Returns project plan
386
386
  * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group.
387
387
  * @param {Number} id The ID of the project
388
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPlanResponse200} and HTTP response
388
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPlanResponse} and HTTP response
389
389
  */
390
390
  }, {
391
391
  key: "getProjectPlanWithHttpInfo",
@@ -426,7 +426,7 @@ var ProjectsApi = /*#__PURE__*/function () {
426
426
  * Returns project plan
427
427
  * Returns information about items in a project plan. Items consists of tasks and activities and are linked to specific project phase and group.
428
428
  * @param {Number} id The ID of the project
429
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPlanResponse200}
429
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPlanResponse}
430
430
  */
431
431
  }, {
432
432
  key: "getProjectPlan",
@@ -440,7 +440,7 @@ var ProjectsApi = /*#__PURE__*/function () {
440
440
  * Returns project tasks
441
441
  * Returns tasks linked to a specific project.
442
442
  * @param {Number} id The ID of the project
443
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse200} and HTTP response
443
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse} and HTTP response
444
444
  */
445
445
  }, {
446
446
  key: "getProjectTasksWithHttpInfo",
@@ -481,7 +481,7 @@ var ProjectsApi = /*#__PURE__*/function () {
481
481
  * Returns project tasks
482
482
  * Returns tasks linked to a specific project.
483
483
  * @param {Number} id The ID of the project
484
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse200}
484
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse}
485
485
  */
486
486
  }, {
487
487
  key: "getProjectTasks",
@@ -501,7 +501,7 @@ var ProjectsApi = /*#__PURE__*/function () {
501
501
  * @param {String} opts.status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned.
502
502
  * @param {Number} opts.phaseId If supplied, only projects in specified phase are returned
503
503
  * @param {Boolean} opts.includeArchived If supplied with `true` then archived projects are also included in the response. By default only not archived projects are returned.
504
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectsResponse200} and HTTP response
504
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectsResponse} and HTTP response
505
505
  */
506
506
  }, {
507
507
  key: "getProjectsWithHttpInfo",
@@ -548,7 +548,7 @@ var ProjectsApi = /*#__PURE__*/function () {
548
548
  * @param {String} opts.status If supplied, includes only projects with the specified statuses. Possible values are `open`, `completed`, `canceled` and `deleted`. By default `deleted` projects are not returned.
549
549
  * @param {Number} opts.phaseId If supplied, only projects in specified phase are returned
550
550
  * @param {Boolean} opts.includeArchived If supplied with `true` then archived projects are also included in the response. By default only not archived projects are returned.
551
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectsResponse200}
551
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectsResponse}
552
552
  */
553
553
  }, {
554
554
  key: "getProjects",
@@ -561,7 +561,7 @@ var ProjectsApi = /*#__PURE__*/function () {
561
561
  /**
562
562
  * Get all project boards
563
563
  * Returns all projects boards that are not deleted.
564
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardsResponse200} and HTTP response
564
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardsResponse} and HTTP response
565
565
  */
566
566
  }, {
567
567
  key: "getProjectsBoardsWithHttpInfo",
@@ -594,7 +594,7 @@ var ProjectsApi = /*#__PURE__*/function () {
594
594
  /**
595
595
  * Get all project boards
596
596
  * Returns all projects boards that are not deleted.
597
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardsResponse200}
597
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardsResponse}
598
598
  */
599
599
  }, {
600
600
  key: "getProjectsBoards",
@@ -608,7 +608,7 @@ var ProjectsApi = /*#__PURE__*/function () {
608
608
  * Get project phases
609
609
  * Returns all active project phases under a specific board.
610
610
  * @param {Number} boardId ID of the board for which phases are requested
611
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhasesResponse200} and HTTP response
611
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhasesResponse} and HTTP response
612
612
  */
613
613
  }, {
614
614
  key: "getProjectsPhasesWithHttpInfo",
@@ -649,7 +649,7 @@ var ProjectsApi = /*#__PURE__*/function () {
649
649
  * Get project phases
650
650
  * Returns all active project phases under a specific board.
651
651
  * @param {Number} boardId ID of the board for which phases are requested
652
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhasesResponse200}
652
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhasesResponse}
653
653
  */
654
654
  }, {
655
655
  key: "getProjectsPhases",
@@ -666,7 +666,7 @@ var ProjectsApi = /*#__PURE__*/function () {
666
666
  * @param {Number} activityId The ID of the activity
667
667
  * @param {Object} opts Optional parameters
668
668
  * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject
669
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdatedActivityPlanItem200} and HTTP response
669
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateActivityPlanItem} and HTTP response
670
670
  */
671
671
  }, {
672
672
  key: "putProjectPlanActivityWithHttpInfo",
@@ -705,7 +705,7 @@ var ProjectsApi = /*#__PURE__*/function () {
705
705
  }
706
706
  var authNames = ['api_key', 'oauth2'];
707
707
  var accepts = ['application/json'];
708
- var returnType = _UpdatedActivityPlanItem["default"];
708
+ var returnType = _UpdateActivityPlanItem["default"];
709
709
  return this.apiClient.callApi('/projects/{id}/plan/activities/{activityId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
710
710
  }
711
711
 
@@ -716,7 +716,7 @@ var ProjectsApi = /*#__PURE__*/function () {
716
716
  * @param {Number} activityId The ID of the activity
717
717
  * @param {Object} opts Optional parameters
718
718
  * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject
719
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdatedActivityPlanItem200}
719
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateActivityPlanItem}
720
720
  */
721
721
  }, {
722
722
  key: "putProjectPlanActivity",
@@ -733,7 +733,7 @@ var ProjectsApi = /*#__PURE__*/function () {
733
733
  * @param {Number} taskId The ID of the task
734
734
  * @param {Object} opts Optional parameters
735
735
  * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject
736
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdatedTaskPlanItem200} and HTTP response
736
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateTaskPlanItem} and HTTP response
737
737
  */
738
738
  }, {
739
739
  key: "putProjectPlanTaskWithHttpInfo",
@@ -772,7 +772,7 @@ var ProjectsApi = /*#__PURE__*/function () {
772
772
  }
773
773
  var authNames = ['api_key', 'oauth2'];
774
774
  var accepts = ['application/json'];
775
- var returnType = _UpdatedTaskPlanItem["default"];
775
+ var returnType = _UpdateTaskPlanItem["default"];
776
776
  return this.apiClient.callApi('/projects/{id}/plan/tasks/{taskId}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
777
777
  }
778
778
 
@@ -783,7 +783,7 @@ var ProjectsApi = /*#__PURE__*/function () {
783
783
  * @param {Number} taskId The ID of the task
784
784
  * @param {Object} opts Optional parameters
785
785
  * @param {module:model/ProjectPutPlanItemBodyObject} opts.projectPutPlanItemBodyObject
786
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdatedTaskPlanItem200}
786
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateTaskPlanItem}
787
787
  */
788
788
  }, {
789
789
  key: "putProjectPlanTask",
@@ -799,7 +799,7 @@ var ProjectsApi = /*#__PURE__*/function () {
799
799
  * @param {Number} id The ID of the project
800
800
  * @param {Object} opts Optional parameters
801
801
  * @param {module:model/ProjectPutObject} opts.projectPutObject
802
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse200} and HTTP response
802
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateProjectResponse} and HTTP response
803
803
  */
804
804
  }, {
805
805
  key: "updateProjectWithHttpInfo",
@@ -842,7 +842,7 @@ var ProjectsApi = /*#__PURE__*/function () {
842
842
  * @param {Number} id The ID of the project
843
843
  * @param {Object} opts Optional parameters
844
844
  * @param {module:model/ProjectPutObject} opts.projectPutObject
845
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse200}
845
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateProjectResponse}
846
846
  */
847
847
  }, {
848
848
  key: "updateProject",
@@ -9,8 +9,8 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
9
9
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
10
10
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
11
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
12
- var _DeleteStageResponse = _interopRequireDefault(require("../model/DeleteStageResponse200"));
13
- var _DeleteStagesResponse = _interopRequireDefault(require("../model/DeleteStagesResponse200"));
12
+ var _DeleteStageResponse = _interopRequireDefault(require("../model/DeleteStageResponse"));
13
+ var _DeleteStagesResponse = _interopRequireDefault(require("../model/DeleteStagesResponse"));
14
14
  var _GetAddUpdateStage = _interopRequireDefault(require("../model/GetAddUpdateStage"));
15
15
  var _GetOneStage = _interopRequireDefault(require("../model/GetOneStage"));
16
16
  var _GetStageDeals = _interopRequireDefault(require("../model/GetStageDeals"));
@@ -103,7 +103,7 @@ var StagesApi = /*#__PURE__*/function () {
103
103
  * Delete a stage
104
104
  * Marks a stage as deleted.
105
105
  * @param {Number} id The ID of the stage
106
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStageResponse200} and HTTP response
106
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStageResponse} and HTTP response
107
107
  */
108
108
  }, {
109
109
  key: "deleteStageWithHttpInfo",
@@ -144,7 +144,7 @@ var StagesApi = /*#__PURE__*/function () {
144
144
  * Delete a stage
145
145
  * Marks a stage as deleted.
146
146
  * @param {Number} id The ID of the stage
147
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStageResponse200}
147
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStageResponse}
148
148
  */
149
149
  }, {
150
150
  key: "deleteStage",
@@ -158,7 +158,7 @@ var StagesApi = /*#__PURE__*/function () {
158
158
  * Delete multiple stages in bulk
159
159
  * Marks multiple stages as deleted.
160
160
  * @param {String} ids The comma-separated stage IDs to delete
161
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStagesResponse200} and HTTP response
161
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteStagesResponse} and HTTP response
162
162
  */
163
163
  }, {
164
164
  key: "deleteStagesWithHttpInfo",
@@ -199,7 +199,7 @@ var StagesApi = /*#__PURE__*/function () {
199
199
  * Delete multiple stages in bulk
200
200
  * Marks multiple stages as deleted.
201
201
  * @param {String} ids The comma-separated stage IDs to delete
202
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStagesResponse200}
202
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteStagesResponse}
203
203
  */
204
204
  }, {
205
205
  key: "deleteStages",
@@ -9,14 +9,14 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
9
9
  var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
10
10
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
11
11
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
12
- var _AddTaskResponse = _interopRequireDefault(require("../model/AddTaskResponse201"));
13
- var _DeleteTaskResponse = _interopRequireDefault(require("../model/DeleteTaskResponse200"));
14
- var _GetTaskResponse = _interopRequireDefault(require("../model/GetTaskResponse200"));
15
- var _GetTasksResponse = _interopRequireDefault(require("../model/GetTasksResponse200"));
12
+ var _AddTaskResponse = _interopRequireDefault(require("../model/AddTaskResponse"));
13
+ var _DeleteTaskResponse = _interopRequireDefault(require("../model/DeleteTaskResponse"));
14
+ var _GetTaskResponse = _interopRequireDefault(require("../model/GetTaskResponse"));
15
+ var _GetTasksResponse = _interopRequireDefault(require("../model/GetTasksResponse"));
16
16
  var _NumberBoolean = _interopRequireDefault(require("../model/NumberBoolean"));
17
17
  var _TaskPostObject = _interopRequireDefault(require("../model/TaskPostObject"));
18
18
  var _TaskPutObject = _interopRequireDefault(require("../model/TaskPutObject"));
19
- var _UpdateTaskResponse = _interopRequireDefault(require("../model/UpdateTaskResponse200"));
19
+ var _UpdateTaskResponse = _interopRequireDefault(require("../model/UpdateTaskResponse"));
20
20
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21
21
  function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2["default"])(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } /**
22
22
  * Pipedrive API v1
@@ -53,7 +53,7 @@ var TasksApi = /*#__PURE__*/function () {
53
53
  * Adds a new task.
54
54
  * @param {Object} opts Optional parameters
55
55
  * @param {module:model/TaskPostObject} opts.taskPostObject
56
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddTaskResponse201} and HTTP response
56
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AddTaskResponse} and HTTP response
57
57
  */
58
58
  (0, _createClass2["default"])(TasksApi, [{
59
59
  key: "addTaskWithHttpInfo",
@@ -88,7 +88,7 @@ var TasksApi = /*#__PURE__*/function () {
88
88
  * Adds a new task.
89
89
  * @param {Object} opts Optional parameters
90
90
  * @param {module:model/TaskPostObject} opts.taskPostObject
91
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddTaskResponse201}
91
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AddTaskResponse}
92
92
  */
93
93
  }, {
94
94
  key: "addTask",
@@ -102,7 +102,7 @@ var TasksApi = /*#__PURE__*/function () {
102
102
  * Delete a task
103
103
  * Marks a task as deleted. If the task has subtasks then those will also be deleted.
104
104
  * @param {Number} id The ID of the task
105
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteTaskResponse200} and HTTP response
105
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteTaskResponse} and HTTP response
106
106
  */
107
107
  }, {
108
108
  key: "deleteTaskWithHttpInfo",
@@ -143,7 +143,7 @@ var TasksApi = /*#__PURE__*/function () {
143
143
  * Delete a task
144
144
  * Marks a task as deleted. If the task has subtasks then those will also be deleted.
145
145
  * @param {Number} id The ID of the task
146
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteTaskResponse200}
146
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteTaskResponse}
147
147
  */
148
148
  }, {
149
149
  key: "deleteTask",
@@ -157,7 +157,7 @@ var TasksApi = /*#__PURE__*/function () {
157
157
  * Get details of a task
158
158
  * Returns the details of a specific task.
159
159
  * @param {Number} id The ID of the task
160
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTaskResponse200} and HTTP response
160
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTaskResponse} and HTTP response
161
161
  */
162
162
  }, {
163
163
  key: "getTaskWithHttpInfo",
@@ -198,7 +198,7 @@ var TasksApi = /*#__PURE__*/function () {
198
198
  * Get details of a task
199
199
  * Returns the details of a specific task.
200
200
  * @param {Number} id The ID of the task
201
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTaskResponse200}
201
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTaskResponse}
202
202
  */
203
203
  }, {
204
204
  key: "getTask",
@@ -218,7 +218,7 @@ var TasksApi = /*#__PURE__*/function () {
218
218
  * @param {Number} opts.projectId If supplied, only tasks that are assigned to this project are returned
219
219
  * @param {Number} opts.parentTaskId If `null` is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned.
220
220
  * @param {module:model/NumberBoolean} opts.done Whether the task is done or not. `0` = Not done, `1` = Done. If not omitted then returns both done and not done tasks.
221
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse200} and HTTP response
221
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetTasksResponse} and HTTP response
222
222
  */
223
223
  }, {
224
224
  key: "getTasksWithHttpInfo",
@@ -265,7 +265,7 @@ var TasksApi = /*#__PURE__*/function () {
265
265
  * @param {Number} opts.projectId If supplied, only tasks that are assigned to this project are returned
266
266
  * @param {Number} opts.parentTaskId If `null` is supplied then only parent tasks are returned. If integer is supplied then only subtasks of a specific task are returned. By default all tasks are returned.
267
267
  * @param {module:model/NumberBoolean} opts.done Whether the task is done or not. `0` = Not done, `1` = Done. If not omitted then returns both done and not done tasks.
268
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse200}
268
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetTasksResponse}
269
269
  */
270
270
  }, {
271
271
  key: "getTasks",
@@ -281,7 +281,7 @@ var TasksApi = /*#__PURE__*/function () {
281
281
  * @param {Number} id The ID of the task
282
282
  * @param {Object} opts Optional parameters
283
283
  * @param {module:model/TaskPutObject} opts.taskPutObject
284
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateTaskResponse200} and HTTP response
284
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpdateTaskResponse} and HTTP response
285
285
  */
286
286
  }, {
287
287
  key: "updateTaskWithHttpInfo",
@@ -324,7 +324,7 @@ var TasksApi = /*#__PURE__*/function () {
324
324
  * @param {Number} id The ID of the task
325
325
  * @param {Object} opts Optional parameters
326
326
  * @param {module:model/TaskPutObject} opts.taskPutObject
327
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateTaskResponse200}
327
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpdateTaskResponse}
328
328
  */
329
329
  }, {
330
330
  key: "updateTask",