pipedrive 23.2.3 → 23.2.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +59 -58
- package/dist/api/ActivitiesApi.js +21 -21
- package/dist/api/CallLogsApi.js +6 -6
- package/dist/api/DealsApi.js +8 -8
- package/dist/api/GoalsApi.js +16 -16
- package/dist/api/LeadLabelsApi.js +15 -15
- package/dist/api/LeadSourcesApi.js +4 -4
- package/dist/api/LeadsApi.js +18 -18
- package/dist/api/PipelinesApi.js +3 -3
- package/dist/api/ProjectTemplatesApi.js +12 -12
- package/dist/api/ProjectsApi.js +43 -43
- package/dist/api/StagesApi.js +6 -6
- package/dist/api/TasksApi.js +15 -15
- package/dist/index.js +175 -168
- package/dist/model/AddActivityResponse.js +107 -0
- package/dist/model/AddActivityResponseRelatedObjects.js +108 -0
- package/dist/model/AddProjectResponse.js +96 -0
- package/dist/model/AddTaskResponse.js +96 -0
- package/dist/model/CallLogBadRequestResponse.js +115 -0
- package/dist/model/CallLogConflictResponse.js +115 -0
- package/dist/model/CallLogForbiddenResponse.js +115 -0
- package/dist/model/CallLogGoneResponse.js +115 -0
- package/dist/model/CallLogInternalErrorResponse.js +115 -0
- package/dist/model/CallLogNotFoundResponse.js +115 -0
- package/dist/model/DeleteActivitiesResponse.js +87 -0
- package/dist/model/DeleteActivitiesResponseData.js +78 -0
- package/dist/model/DeleteActivityResponse.js +87 -0
- package/dist/model/DeleteActivityResponseData.js +78 -0
- package/dist/model/DeleteGoalResponse.js +78 -0
- package/dist/model/DeleteLeadIdResponse.js +87 -0
- package/dist/model/DeletePipelineResponse.js +88 -0
- package/dist/model/DeletePipelineResponseData.js +78 -0
- package/dist/model/DeleteProjectResponse.js +96 -0
- package/dist/model/DeleteStageResponse.js +88 -0
- package/dist/model/DeleteStageResponseData.js +78 -0
- package/dist/model/DeleteStagesResponse.js +88 -0
- package/dist/model/DeleteStagesResponseData.js +78 -0
- package/dist/model/DeleteTaskResponse.js +96 -0
- package/dist/model/GetActivitiesCollectionResponse.js +97 -0
- package/dist/model/GetActivitiesResponse.js +107 -0
- package/dist/model/GetActivitiesResponseRelatedObjects.js +108 -0
- package/dist/model/GetActivityResponse.js +97 -0
- package/dist/model/GetAddProductAttachmentDetails.js +89 -0
- package/dist/model/GetGoalResultResponse.js +88 -0
- package/dist/model/GetGoalsResponse.js +88 -0
- package/dist/model/GetLeadIdResponse.js +87 -0
- package/dist/model/GetLeadIdResponseData.js +77 -0
- package/dist/model/GetLeadLabelsResponse.js +87 -0
- package/dist/model/GetLeadResponse.js +87 -0
- package/dist/model/GetLeadsResponse.js +97 -0
- package/dist/model/GetLeadsSourceResponse.js +87 -0
- package/dist/model/GetLeadsSourceResponseData.js +78 -0
- package/dist/model/GetProductAttachmentDetails.js +89 -0
- package/dist/model/GetProjectBoardResponse.js +96 -0
- package/dist/model/GetProjectBoardsResponse.js +96 -0
- package/dist/model/GetProjectGroupsResponse.js +96 -0
- package/dist/model/GetProjectPhaseResponse.js +96 -0
- package/dist/model/GetProjectPhasesResponse.js +96 -0
- package/dist/model/GetProjectPlanResponse.js +96 -0
- package/dist/model/GetProjectResponse.js +96 -0
- package/dist/model/GetProjectTemplateResponse.js +96 -0
- package/dist/model/GetProjectTemplatesResponse.js +97 -0
- package/dist/model/GetProjectsResponse.js +97 -0
- package/dist/model/GetTaskResponse.js +96 -0
- package/dist/model/GetTasksResponse.js +97 -0
- package/dist/model/LeadNotFoundResponse.js +115 -0
- package/dist/model/ProductResponse.js +3 -3
- package/dist/model/ProductsResponse.js +3 -3
- package/dist/model/UpdateActivityPlanItem.js +96 -0
- package/dist/model/UpdateActivityResponse.js +97 -0
- package/dist/model/UpdateProductResponse.js +3 -3
- package/dist/model/UpdateProjectResponse.js +96 -0
- package/dist/model/UpdateTaskPlanItem.js +96 -0
- package/dist/model/UpdateTaskResponse.js +96 -0
- package/dist/model/UpsertGoalResponse.js +88 -0
- package/dist/model/UpsertLeadLabelResponse.js +87 -0
- package/package.json +1 -1
package/dist/api/GoalsApi.js
CHANGED
@@ -9,12 +9,12 @@ 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 _AddOrUpdateGoalResponse = _interopRequireDefault(require("../model/AddOrUpdateGoalResponse200"));
|
13
12
|
var _BasicGoal = _interopRequireDefault(require("../model/BasicGoal"));
|
14
|
-
var _DeleteGoalResponse = _interopRequireDefault(require("../model/
|
15
|
-
var _GetGoalResultResponse = _interopRequireDefault(require("../model/
|
16
|
-
var _GetGoalsResponse = _interopRequireDefault(require("../model/
|
13
|
+
var _DeleteGoalResponse = _interopRequireDefault(require("../model/DeleteGoalResponse"));
|
14
|
+
var _GetGoalResultResponse = _interopRequireDefault(require("../model/GetGoalResultResponse"));
|
15
|
+
var _GetGoalsResponse = _interopRequireDefault(require("../model/GetGoalsResponse"));
|
17
16
|
var _NewGoal = _interopRequireDefault(require("../model/NewGoal"));
|
17
|
+
var _UpsertGoalResponse = _interopRequireDefault(require("../model/UpsertGoalResponse"));
|
18
18
|
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; }
|
19
19
|
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; } /**
|
20
20
|
* Pipedrive API v1
|
@@ -51,7 +51,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
51
51
|
* Adds a new goal. Along with adding a new goal, a report is created to track the progress of your goal.
|
52
52
|
* @param {Object} opts Optional parameters
|
53
53
|
* @param {module:model/NewGoal} opts.newGoal
|
54
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
54
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertGoalResponse} and HTTP response
|
55
55
|
*/
|
56
56
|
(0, _createClass2["default"])(GoalsApi, [{
|
57
57
|
key: "addGoalWithHttpInfo",
|
@@ -92,7 +92,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
92
92
|
}
|
93
93
|
var authNames = ['api_key', 'oauth2'];
|
94
94
|
var accepts = ['application/json'];
|
95
|
-
var returnType =
|
95
|
+
var returnType = _UpsertGoalResponse["default"];
|
96
96
|
return this.apiClient.callApi('/goals', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
97
97
|
}
|
98
98
|
|
@@ -101,7 +101,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
101
101
|
* Adds a new goal. Along with adding a new goal, a report is created to track the progress of your goal.
|
102
102
|
* @param {Object} opts Optional parameters
|
103
103
|
* @param {module:model/NewGoal} opts.newGoal
|
104
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
104
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertGoalResponse}
|
105
105
|
*/
|
106
106
|
}, {
|
107
107
|
key: "addGoal",
|
@@ -115,7 +115,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
115
115
|
* Delete existing goal
|
116
116
|
* Marks a goal as deleted.
|
117
117
|
* @param {String} id The ID of the goal
|
118
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
118
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteGoalResponse} and HTTP response
|
119
119
|
*/
|
120
120
|
}, {
|
121
121
|
key: "deleteGoalWithHttpInfo",
|
@@ -156,7 +156,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
156
156
|
* Delete existing goal
|
157
157
|
* Marks a goal as deleted.
|
158
158
|
* @param {String} id The ID of the goal
|
159
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
159
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteGoalResponse}
|
160
160
|
*/
|
161
161
|
}, {
|
162
162
|
key: "deleteGoal",
|
@@ -172,7 +172,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
172
172
|
* @param {String} id The ID of the goal that the results are looked for
|
173
173
|
* @param {Date} periodStart The start date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or after the goal duration start date.
|
174
174
|
* @param {Date} periodEnd The end date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or before the goal duration end date.
|
175
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
175
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalResultResponse} and HTTP response
|
176
176
|
*/
|
177
177
|
}, {
|
178
178
|
key: "getGoalResultWithHttpInfo",
|
@@ -228,7 +228,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
228
228
|
* @param {String} id The ID of the goal that the results are looked for
|
229
229
|
* @param {Date} periodStart The start date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or after the goal duration start date.
|
230
230
|
* @param {Date} periodEnd The end date of the period for which to find the goal's progress. Format: YYYY-MM-DD. This date must be the same or before the goal duration end date.
|
231
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
231
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalResultResponse}
|
232
232
|
*/
|
233
233
|
}, {
|
234
234
|
key: "getGoalResult",
|
@@ -255,7 +255,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
255
255
|
* @param {Array.<Number>} opts.typeParamsActivityTypeId An array of IDs or `null` for all activity types. Only applicable for `activities_completed` and/or `activities_added` types of goals. If provided, everyone's goals will be returned.
|
256
256
|
* @param {Date} opts.periodStart The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too.
|
257
257
|
* @param {Date} opts.periodEnd The end date of the period for which to find goals. Date in format of YYYY-MM-DD.
|
258
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
258
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetGoalsResponse} and HTTP response
|
259
259
|
*/
|
260
260
|
}, {
|
261
261
|
key: "getGoalsWithHttpInfo",
|
@@ -316,7 +316,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
316
316
|
* @param {Array.<Number>} opts.typeParamsActivityTypeId An array of IDs or `null` for all activity types. Only applicable for `activities_completed` and/or `activities_added` types of goals. If provided, everyone's goals will be returned.
|
317
317
|
* @param {Date} opts.periodStart The start date of the period for which to find goals. Date in format of YYYY-MM-DD. When `period.start` is provided, `period.end` must be provided too.
|
318
318
|
* @param {Date} opts.periodEnd The end date of the period for which to find goals. Date in format of YYYY-MM-DD.
|
319
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
319
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetGoalsResponse}
|
320
320
|
*/
|
321
321
|
}, {
|
322
322
|
key: "getGoals",
|
@@ -332,7 +332,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
332
332
|
* @param {String} id The ID of the goal
|
333
333
|
* @param {Object} opts Optional parameters
|
334
334
|
* @param {module:model/BasicGoal} opts.basicGoal
|
335
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
335
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertGoalResponse} and HTTP response
|
336
336
|
*/
|
337
337
|
}, {
|
338
338
|
key: "updateGoalWithHttpInfo",
|
@@ -365,7 +365,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
365
365
|
}
|
366
366
|
var authNames = ['api_key', 'oauth2'];
|
367
367
|
var accepts = ['application/json'];
|
368
|
-
var returnType =
|
368
|
+
var returnType = _UpsertGoalResponse["default"];
|
369
369
|
return this.apiClient.callApi('/goals/{id}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
370
370
|
}
|
371
371
|
|
@@ -375,7 +375,7 @@ var GoalsApi = /*#__PURE__*/function () {
|
|
375
375
|
* @param {String} id The ID of the goal
|
376
376
|
* @param {Object} opts Optional parameters
|
377
377
|
* @param {module:model/BasicGoal} opts.basicGoal
|
378
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
378
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertGoalResponse}
|
379
379
|
*/
|
380
380
|
}, {
|
381
381
|
key: "updateGoal",
|
@@ -10,11 +10,11 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
10
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
11
11
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
12
12
|
var _AddLeadLabelRequest = _interopRequireDefault(require("../model/AddLeadLabelRequest"));
|
13
|
-
var
|
14
|
-
var _GetLeadLabelsResponse = _interopRequireDefault(require("../model/
|
15
|
-
var
|
16
|
-
var _LeadResponse = _interopRequireDefault(require("../model/LeadResponse404"));
|
13
|
+
var _DeleteLeadIdResponse = _interopRequireDefault(require("../model/DeleteLeadIdResponse"));
|
14
|
+
var _GetLeadLabelsResponse = _interopRequireDefault(require("../model/GetLeadLabelsResponse"));
|
15
|
+
var _LeadNotFoundResponse = _interopRequireDefault(require("../model/LeadNotFoundResponse"));
|
17
16
|
var _UpdateLeadLabelRequest = _interopRequireDefault(require("../model/UpdateLeadLabelRequest"));
|
17
|
+
var _UpsertLeadLabelResponse = _interopRequireDefault(require("../model/UpsertLeadLabelResponse"));
|
18
18
|
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; }
|
19
19
|
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; } /**
|
20
20
|
* Pipedrive API v1
|
@@ -51,7 +51,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
51
51
|
* Creates a lead label.
|
52
52
|
* @param {Object} opts Optional parameters
|
53
53
|
* @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest
|
54
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
54
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertLeadLabelResponse} and HTTP response
|
55
55
|
*/
|
56
56
|
(0, _createClass2["default"])(LeadLabelsApi, [{
|
57
57
|
key: "addLeadLabelWithHttpInfo",
|
@@ -83,7 +83,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
83
83
|
}
|
84
84
|
var authNames = ['api_key', 'oauth2'];
|
85
85
|
var accepts = ['application/json'];
|
86
|
-
var returnType =
|
86
|
+
var returnType = _UpsertLeadLabelResponse["default"];
|
87
87
|
return this.apiClient.callApi('/leadLabels', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
88
88
|
}
|
89
89
|
|
@@ -92,7 +92,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
92
92
|
* Creates a lead label.
|
93
93
|
* @param {Object} opts Optional parameters
|
94
94
|
* @param {module:model/AddLeadLabelRequest} opts.addLeadLabelRequest
|
95
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
95
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertLeadLabelResponse}
|
96
96
|
*/
|
97
97
|
}, {
|
98
98
|
key: "addLeadLabel",
|
@@ -106,7 +106,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
106
106
|
* Delete a lead label
|
107
107
|
* Deletes a specific lead label.
|
108
108
|
* @param {String} id The ID of the lead label
|
109
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
109
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteLeadIdResponse} and HTTP response
|
110
110
|
*/
|
111
111
|
}, {
|
112
112
|
key: "deleteLeadLabelWithHttpInfo",
|
@@ -139,7 +139,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
139
139
|
}
|
140
140
|
var authNames = ['api_key', 'oauth2'];
|
141
141
|
var accepts = ['application/json'];
|
142
|
-
var returnType =
|
142
|
+
var returnType = _DeleteLeadIdResponse["default"];
|
143
143
|
return this.apiClient.callApi('/leadLabels/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
144
144
|
}
|
145
145
|
|
@@ -147,7 +147,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
147
147
|
* Delete a lead label
|
148
148
|
* Deletes a specific lead label.
|
149
149
|
* @param {String} id The ID of the lead label
|
150
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
150
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteLeadIdResponse}
|
151
151
|
*/
|
152
152
|
}, {
|
153
153
|
key: "deleteLeadLabel",
|
@@ -160,7 +160,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
160
160
|
/**
|
161
161
|
* Get all lead labels
|
162
162
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
163
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
163
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadLabelsResponse} and HTTP response
|
164
164
|
*/
|
165
165
|
}, {
|
166
166
|
key: "getLeadLabelsWithHttpInfo",
|
@@ -193,7 +193,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
193
193
|
/**
|
194
194
|
* Get all lead labels
|
195
195
|
* Returns details of all lead labels. This endpoint does not support pagination and all labels are always returned.
|
196
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
196
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadLabelsResponse}
|
197
197
|
*/
|
198
198
|
}, {
|
199
199
|
key: "getLeadLabels",
|
@@ -209,7 +209,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
209
209
|
* @param {String} id The ID of the lead label
|
210
210
|
* @param {Object} opts Optional parameters
|
211
211
|
* @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest
|
212
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
212
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/UpsertLeadLabelResponse} and HTTP response
|
213
213
|
*/
|
214
214
|
}, {
|
215
215
|
key: "updateLeadLabelWithHttpInfo",
|
@@ -242,7 +242,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
242
242
|
}
|
243
243
|
var authNames = ['api_key', 'oauth2'];
|
244
244
|
var accepts = ['application/json'];
|
245
|
-
var returnType =
|
245
|
+
var returnType = _UpsertLeadLabelResponse["default"];
|
246
246
|
return this.apiClient.callApi('/leadLabels/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
247
247
|
}
|
248
248
|
|
@@ -252,7 +252,7 @@ var LeadLabelsApi = /*#__PURE__*/function () {
|
|
252
252
|
* @param {String} id The ID of the lead label
|
253
253
|
* @param {Object} opts Optional parameters
|
254
254
|
* @param {module:model/UpdateLeadLabelRequest} opts.updateLeadLabelRequest
|
255
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
255
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/UpsertLeadLabelResponse}
|
256
256
|
*/
|
257
257
|
}, {
|
258
258
|
key: "updateLeadLabel",
|
@@ -9,7 +9,7 @@ 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
|
12
|
+
var _GetLeadsSourceResponse = _interopRequireDefault(require("../model/GetLeadsSourceResponse"));
|
13
13
|
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; }
|
14
14
|
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; } /**
|
15
15
|
* Pipedrive API v1
|
@@ -44,7 +44,7 @@ var LeadSourcesApi = /*#__PURE__*/function () {
|
|
44
44
|
/**
|
45
45
|
* Get all lead sources
|
46
46
|
* Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned.
|
47
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
47
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsSourceResponse} and HTTP response
|
48
48
|
*/
|
49
49
|
(0, _createClass2["default"])(LeadSourcesApi, [{
|
50
50
|
key: "getLeadSourcesWithHttpInfo",
|
@@ -70,14 +70,14 @@ var LeadSourcesApi = /*#__PURE__*/function () {
|
|
70
70
|
}
|
71
71
|
var authNames = ['api_key', 'oauth2'];
|
72
72
|
var accepts = ['application/json'];
|
73
|
-
var returnType =
|
73
|
+
var returnType = _GetLeadsSourceResponse["default"];
|
74
74
|
return this.apiClient.callApi('/leadSources', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
75
75
|
}
|
76
76
|
|
77
77
|
/**
|
78
78
|
* Get all lead sources
|
79
79
|
* Returns all lead sources. Please note that the list of lead sources is fixed, it cannot be modified. All leads created through the Pipedrive API will have a lead source `API` assigned.
|
80
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
80
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsSourceResponse}
|
81
81
|
*/
|
82
82
|
}, {
|
83
83
|
key: "getLeadSources",
|
package/dist/api/LeadsApi.js
CHANGED
@@ -10,11 +10,11 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
10
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
11
11
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
12
12
|
var _AddLeadRequest = _interopRequireDefault(require("../model/AddLeadRequest"));
|
13
|
-
var
|
14
|
-
var
|
15
|
-
var
|
13
|
+
var _GetLeadIdResponse = _interopRequireDefault(require("../model/GetLeadIdResponse"));
|
14
|
+
var _GetLeadResponse = _interopRequireDefault(require("../model/GetLeadResponse"));
|
15
|
+
var _GetLeadsResponse = _interopRequireDefault(require("../model/GetLeadsResponse"));
|
16
|
+
var _LeadNotFoundResponse = _interopRequireDefault(require("../model/LeadNotFoundResponse"));
|
16
17
|
var _LeadSearchResponse = _interopRequireDefault(require("../model/LeadSearchResponse"));
|
17
|
-
var _OneLeadResponse = _interopRequireDefault(require("../model/OneLeadResponse200"));
|
18
18
|
var _UpdateLeadRequest = _interopRequireDefault(require("../model/UpdateLeadRequest"));
|
19
19
|
var _UserIDs = _interopRequireDefault(require("../model/UserIDs"));
|
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; }
|
@@ -53,7 +53,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
53
53
|
* Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source and origin set to `API`. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a lead</a>. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>.
|
54
54
|
* @param {Object} opts Optional parameters
|
55
55
|
* @param {module:model/AddLeadRequest} opts.addLeadRequest
|
56
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
56
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadResponse} and HTTP response
|
57
57
|
*/
|
58
58
|
(0, _createClass2["default"])(LeadsApi, [{
|
59
59
|
key: "addLeadWithHttpInfo",
|
@@ -82,7 +82,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
82
82
|
}
|
83
83
|
var authNames = ['api_key', 'oauth2'];
|
84
84
|
var accepts = ['application/json'];
|
85
|
-
var returnType =
|
85
|
+
var returnType = _GetLeadResponse["default"];
|
86
86
|
return this.apiClient.callApi('/leads', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
87
87
|
}
|
88
88
|
|
@@ -91,7 +91,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
91
91
|
* Creates a lead. A lead always has to be linked to a person or an organization or both. All leads created through the Pipedrive API will have a lead source and origin set to `API`. Here's the tutorial for <a href=\"https://pipedrive.readme.io/docs/adding-a-lead\" target=\"_blank\" rel=\"noopener noreferrer\">adding a lead</a>. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields' structure from deals. See an example given in the <a href=\"https://pipedrive.readme.io/docs/updating-custom-field-value\" target=\"_blank\" rel=\"noopener noreferrer\">updating custom fields' values tutorial</a>.
|
92
92
|
* @param {Object} opts Optional parameters
|
93
93
|
* @param {module:model/AddLeadRequest} opts.addLeadRequest
|
94
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
94
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadResponse}
|
95
95
|
*/
|
96
96
|
}, {
|
97
97
|
key: "addLead",
|
@@ -105,7 +105,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
105
105
|
* Delete a lead
|
106
106
|
* Deletes a specific lead.
|
107
107
|
* @param {String} id The ID of the lead
|
108
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
108
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadIdResponse} and HTTP response
|
109
109
|
*/
|
110
110
|
}, {
|
111
111
|
key: "deleteLeadWithHttpInfo",
|
@@ -138,7 +138,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
138
138
|
}
|
139
139
|
var authNames = ['api_key', 'oauth2'];
|
140
140
|
var accepts = ['application/json'];
|
141
|
-
var returnType =
|
141
|
+
var returnType = _GetLeadIdResponse["default"];
|
142
142
|
return this.apiClient.callApi('/leads/{id}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
143
143
|
}
|
144
144
|
|
@@ -146,7 +146,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
146
146
|
* Delete a lead
|
147
147
|
* Deletes a specific lead.
|
148
148
|
* @param {String} id The ID of the lead
|
149
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
149
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadIdResponse}
|
150
150
|
*/
|
151
151
|
}, {
|
152
152
|
key: "deleteLead",
|
@@ -160,7 +160,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
160
160
|
* Get one lead
|
161
161
|
* Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
|
162
162
|
* @param {String} id The ID of the lead
|
163
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
163
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadResponse} and HTTP response
|
164
164
|
*/
|
165
165
|
}, {
|
166
166
|
key: "getLeadWithHttpInfo",
|
@@ -193,7 +193,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
193
193
|
}
|
194
194
|
var authNames = ['api_key', 'oauth2'];
|
195
195
|
var accepts = ['application/json'];
|
196
|
-
var returnType =
|
196
|
+
var returnType = _GetLeadResponse["default"];
|
197
197
|
return this.apiClient.callApi('/leads/{id}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
198
198
|
}
|
199
199
|
|
@@ -201,7 +201,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
201
201
|
* Get one lead
|
202
202
|
* Returns details of a specific lead. If a lead contains custom fields, the fields' values will be included in the response in the same format as with the `Deals` endpoints. If a custom field's value hasn't been set for the lead, it won't appear in the response. Please note that leads do not have a separate set of custom fields, instead they inherit the custom fields’ structure from deals.
|
203
203
|
* @param {String} id The ID of the lead
|
204
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
204
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadResponse}
|
205
205
|
*/
|
206
206
|
}, {
|
207
207
|
key: "getLead",
|
@@ -278,7 +278,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
278
278
|
* @param {Number} opts.organizationId If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
279
279
|
* @param {Number} opts.filterId The ID of the filter to use
|
280
280
|
* @param {module:model/String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
281
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
281
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadsResponse} and HTTP response
|
282
282
|
*/
|
283
283
|
}, {
|
284
284
|
key: "getLeadsWithHttpInfo",
|
@@ -329,7 +329,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
329
329
|
* @param {Number} opts.organizationId If supplied, only leads matching the given organization will be returned. However, `filter_id` takes precedence over `organization_id` when supplied.
|
330
330
|
* @param {Number} opts.filterId The ID of the filter to use
|
331
331
|
* @param {module:model/String} opts.sort The field names and sorting mode separated by a comma (`field_name_1 ASC`, `field_name_2 DESC`). Only first-level field keys are supported (no nested keys).
|
332
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
332
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadsResponse}
|
333
333
|
*/
|
334
334
|
}, {
|
335
335
|
key: "getLeads",
|
@@ -423,7 +423,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
423
423
|
* @param {String} id The ID of the lead
|
424
424
|
* @param {Object} opts Optional parameters
|
425
425
|
* @param {module:model/UpdateLeadRequest} opts.updateLeadRequest
|
426
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
426
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetLeadResponse} and HTTP response
|
427
427
|
*/
|
428
428
|
}, {
|
429
429
|
key: "updateLeadWithHttpInfo",
|
@@ -456,7 +456,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
456
456
|
}
|
457
457
|
var authNames = ['api_key', 'oauth2'];
|
458
458
|
var accepts = ['application/json'];
|
459
|
-
var returnType =
|
459
|
+
var returnType = _GetLeadResponse["default"];
|
460
460
|
return this.apiClient.callApi('/leads/{id}', 'PATCH', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
461
461
|
}
|
462
462
|
|
@@ -466,7 +466,7 @@ var LeadsApi = /*#__PURE__*/function () {
|
|
466
466
|
* @param {String} id The ID of the lead
|
467
467
|
* @param {Object} opts Optional parameters
|
468
468
|
* @param {module:model/UpdateLeadRequest} opts.updateLeadRequest
|
469
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
469
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetLeadResponse}
|
470
470
|
*/
|
471
471
|
}, {
|
472
472
|
key: "updateLead",
|
package/dist/api/PipelinesApi.js
CHANGED
@@ -10,7 +10,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
10
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
11
11
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
12
12
|
var _AddNewPipeline = _interopRequireDefault(require("../model/AddNewPipeline"));
|
13
|
-
var _DeletePipelineResponse = _interopRequireDefault(require("../model/
|
13
|
+
var _DeletePipelineResponse = _interopRequireDefault(require("../model/DeletePipelineResponse"));
|
14
14
|
var _EditPipeline = _interopRequireDefault(require("../model/EditPipeline"));
|
15
15
|
var _GetAllPipelines = _interopRequireDefault(require("../model/GetAllPipelines"));
|
16
16
|
var _GetDealsConversionRatesInPipeline = _interopRequireDefault(require("../model/GetDealsConversionRatesInPipeline"));
|
@@ -104,7 +104,7 @@ var PipelinesApi = /*#__PURE__*/function () {
|
|
104
104
|
* Delete a pipeline
|
105
105
|
* Marks a pipeline as deleted.
|
106
106
|
* @param {Number} id The ID of the pipeline
|
107
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
107
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeletePipelineResponse} and HTTP response
|
108
108
|
*/
|
109
109
|
}, {
|
110
110
|
key: "deletePipelineWithHttpInfo",
|
@@ -145,7 +145,7 @@ var PipelinesApi = /*#__PURE__*/function () {
|
|
145
145
|
* Delete a pipeline
|
146
146
|
* Marks a pipeline as deleted.
|
147
147
|
* @param {Number} id The ID of the pipeline
|
148
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
148
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeletePipelineResponse}
|
149
149
|
*/
|
150
150
|
}, {
|
151
151
|
key: "deletePipeline",
|
@@ -9,10 +9,10 @@ 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 _GetProjectBoardResponse = _interopRequireDefault(require("../model/
|
13
|
-
var _GetProjectPhaseResponse = _interopRequireDefault(require("../model/
|
14
|
-
var _GetProjectTemplateResponse = _interopRequireDefault(require("../model/
|
15
|
-
var _GetProjectTemplatesResponse = _interopRequireDefault(require("../model/
|
12
|
+
var _GetProjectBoardResponse = _interopRequireDefault(require("../model/GetProjectBoardResponse"));
|
13
|
+
var _GetProjectPhaseResponse = _interopRequireDefault(require("../model/GetProjectPhaseResponse"));
|
14
|
+
var _GetProjectTemplateResponse = _interopRequireDefault(require("../model/GetProjectTemplateResponse"));
|
15
|
+
var _GetProjectTemplatesResponse = _interopRequireDefault(require("../model/GetProjectTemplatesResponse"));
|
16
16
|
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; }
|
17
17
|
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; } /**
|
18
18
|
* Pipedrive API v1
|
@@ -48,7 +48,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
48
48
|
* Get details of a template
|
49
49
|
* Returns the details of a specific project template.
|
50
50
|
* @param {Number} id The ID of the project template
|
51
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
51
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectTemplateResponse} and HTTP response
|
52
52
|
*/
|
53
53
|
(0, _createClass2["default"])(ProjectTemplatesApi, [{
|
54
54
|
key: "getProjectTemplateWithHttpInfo",
|
@@ -89,7 +89,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
89
89
|
* Get details of a template
|
90
90
|
* Returns the details of a specific project template.
|
91
91
|
* @param {Number} id The ID of the project template
|
92
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
92
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectTemplateResponse}
|
93
93
|
*/
|
94
94
|
}, {
|
95
95
|
key: "getProjectTemplate",
|
@@ -105,7 +105,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
105
105
|
* @param {Object} opts Optional parameters
|
106
106
|
* @param {String} opts.cursor For pagination, the marker (an opaque string value) representing the first item on the next page
|
107
107
|
* @param {Number} opts.limit For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned.
|
108
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
108
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectTemplatesResponse} and HTTP response
|
109
109
|
*/
|
110
110
|
}, {
|
111
111
|
key: "getProjectTemplatesWithHttpInfo",
|
@@ -144,7 +144,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
144
144
|
* @param {Object} opts Optional parameters
|
145
145
|
* @param {String} opts.cursor For pagination, the marker (an opaque string value) representing the first item on the next page
|
146
146
|
* @param {Number} opts.limit For pagination, the limit of entries to be returned. If not provided, up to 500 items will be returned.
|
147
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
147
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectTemplatesResponse}
|
148
148
|
*/
|
149
149
|
}, {
|
150
150
|
key: "getProjectTemplates",
|
@@ -158,7 +158,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
158
158
|
* Get details of a board
|
159
159
|
* Returns the details of a specific project board.
|
160
160
|
* @param {Number} id The ID of the project board
|
161
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
161
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectBoardResponse} and HTTP response
|
162
162
|
*/
|
163
163
|
}, {
|
164
164
|
key: "getProjectsBoardWithHttpInfo",
|
@@ -199,7 +199,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
199
199
|
* Get details of a board
|
200
200
|
* Returns the details of a specific project board.
|
201
201
|
* @param {Number} id The ID of the project board
|
202
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
202
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectBoardResponse}
|
203
203
|
*/
|
204
204
|
}, {
|
205
205
|
key: "getProjectsBoard",
|
@@ -213,7 +213,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
213
213
|
* Get details of a phase
|
214
214
|
* Returns the details of a specific project phase.
|
215
215
|
* @param {Number} id The ID of the project phase
|
216
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/
|
216
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectPhaseResponse} and HTTP response
|
217
217
|
*/
|
218
218
|
}, {
|
219
219
|
key: "getProjectsPhaseWithHttpInfo",
|
@@ -254,7 +254,7 @@ var ProjectTemplatesApi = /*#__PURE__*/function () {
|
|
254
254
|
* Get details of a phase
|
255
255
|
* Returns the details of a specific project phase.
|
256
256
|
* @param {Number} id The ID of the project phase
|
257
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/
|
257
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectPhaseResponse}
|
258
258
|
*/
|
259
259
|
}, {
|
260
260
|
key: "getProjectsPhase",
|