pipedrive 23.2.3 → 23.2.5
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 +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
@@ -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 _ActivityResponseObject = _interopRequireDefault(require("./ActivityResponseObject"));
|
12
|
+
var _GetActivitiesResponseRelatedObjects = _interopRequireDefault(require("./GetActivitiesResponseRelatedObjects"));
|
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 GetActivityResponse model module.
|
27
|
+
* @module model/GetActivityResponse
|
28
|
+
* @version 1.0.0
|
29
|
+
*/
|
30
|
+
var GetActivityResponse = /*#__PURE__*/function () {
|
31
|
+
/**
|
32
|
+
* Constructs a new <code>GetActivityResponse</code>.
|
33
|
+
* @alias module:model/GetActivityResponse
|
34
|
+
*/
|
35
|
+
function GetActivityResponse() {
|
36
|
+
(0, _classCallCheck2["default"])(this, GetActivityResponse);
|
37
|
+
GetActivityResponse.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"])(GetActivityResponse, null, [{
|
46
|
+
key: "initialize",
|
47
|
+
value: function initialize(obj) {}
|
48
|
+
|
49
|
+
/**
|
50
|
+
* Constructs a <code>GetActivityResponse</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/GetActivityResponse} obj Optional instance to populate.
|
54
|
+
* @return {module:model/GetActivityResponse} The populated <code>GetActivityResponse</code> instance.
|
55
|
+
*/
|
56
|
+
}, {
|
57
|
+
key: "constructFromObject",
|
58
|
+
value: function constructFromObject(data, obj) {
|
59
|
+
if (data) {
|
60
|
+
obj = obj || new GetActivityResponse();
|
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'] = _ActivityResponseObject["default"].constructFromObject(data['data']);
|
67
|
+
delete data['data'];
|
68
|
+
}
|
69
|
+
if (data.hasOwnProperty('related_objects')) {
|
70
|
+
obj['related_objects'] = _GetActivitiesResponseRelatedObjects["default"].constructFromObject(data['related_objects']);
|
71
|
+
delete data['related_objects'];
|
72
|
+
}
|
73
|
+
if (Object.keys(data).length > 0) {
|
74
|
+
Object.assign(obj, data);
|
75
|
+
}
|
76
|
+
}
|
77
|
+
return obj;
|
78
|
+
}
|
79
|
+
}]);
|
80
|
+
return GetActivityResponse;
|
81
|
+
}();
|
82
|
+
/**
|
83
|
+
* @member {Boolean} success
|
84
|
+
*/
|
85
|
+
GetActivityResponse.prototype['success'] = undefined;
|
86
|
+
|
87
|
+
/**
|
88
|
+
* @member {module:model/ActivityResponseObject} data
|
89
|
+
*/
|
90
|
+
GetActivityResponse.prototype['data'] = undefined;
|
91
|
+
|
92
|
+
/**
|
93
|
+
* @member {module:model/GetActivitiesResponseRelatedObjects} related_objects
|
94
|
+
*/
|
95
|
+
GetActivityResponse.prototype['related_objects'] = undefined;
|
96
|
+
var _default = GetActivityResponse;
|
97
|
+
exports["default"] = _default;
|
@@ -0,0 +1,89 @@
|
|
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 _AddProductAttachmentDetails = _interopRequireDefault(require("./AddProductAttachmentDetails"));
|
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 GetAddProductAttachmentDetails model module.
|
26
|
+
* @module model/GetAddProductAttachmentDetails
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var GetAddProductAttachmentDetails = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>GetAddProductAttachmentDetails</code>.
|
32
|
+
* @alias module:model/GetAddProductAttachmentDetails
|
33
|
+
*/
|
34
|
+
function GetAddProductAttachmentDetails() {
|
35
|
+
(0, _classCallCheck2["default"])(this, GetAddProductAttachmentDetails);
|
36
|
+
GetAddProductAttachmentDetails.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"])(GetAddProductAttachmentDetails, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>GetAddProductAttachmentDetails</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/GetAddProductAttachmentDetails} obj Optional instance to populate.
|
53
|
+
* @return {module:model/GetAddProductAttachmentDetails} The populated <code>GetAddProductAttachmentDetails</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new GetAddProductAttachmentDetails();
|
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'] = _ApiClient["default"].convertToType(data['data'], _AddProductAttachmentDetails["default"]);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (Object.keys(data).length > 0) {
|
69
|
+
Object.assign(obj, data);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return obj;
|
73
|
+
}
|
74
|
+
}]);
|
75
|
+
return GetAddProductAttachmentDetails;
|
76
|
+
}();
|
77
|
+
/**
|
78
|
+
* If the response is successful or not
|
79
|
+
* @member {Boolean} success
|
80
|
+
*/
|
81
|
+
GetAddProductAttachmentDetails.prototype['success'] = undefined;
|
82
|
+
|
83
|
+
/**
|
84
|
+
* The added product object attached to the deal
|
85
|
+
* @member {module:model/AddProductAttachmentDetails} data
|
86
|
+
*/
|
87
|
+
GetAddProductAttachmentDetails.prototype['data'] = undefined;
|
88
|
+
var _default = GetAddProductAttachmentDetails;
|
89
|
+
exports["default"] = _default;
|
@@ -0,0 +1,88 @@
|
|
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 _GoalResults = _interopRequireDefault(require("./GoalResults"));
|
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 GetGoalResultResponse model module.
|
26
|
+
* @module model/GetGoalResultResponse
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var GetGoalResultResponse = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>GetGoalResultResponse</code>.
|
32
|
+
* @alias module:model/GetGoalResultResponse
|
33
|
+
*/
|
34
|
+
function GetGoalResultResponse() {
|
35
|
+
(0, _classCallCheck2["default"])(this, GetGoalResultResponse);
|
36
|
+
GetGoalResultResponse.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"])(GetGoalResultResponse, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>GetGoalResultResponse</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/GetGoalResultResponse} obj Optional instance to populate.
|
53
|
+
* @return {module:model/GetGoalResultResponse} The populated <code>GetGoalResultResponse</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new GetGoalResultResponse();
|
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'] = _GoalResults["default"].constructFromObject(data['data']);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (Object.keys(data).length > 0) {
|
69
|
+
Object.assign(obj, data);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return obj;
|
73
|
+
}
|
74
|
+
}]);
|
75
|
+
return GetGoalResultResponse;
|
76
|
+
}();
|
77
|
+
/**
|
78
|
+
* If the request was successful or not
|
79
|
+
* @member {Boolean} success
|
80
|
+
*/
|
81
|
+
GetGoalResultResponse.prototype['success'] = undefined;
|
82
|
+
|
83
|
+
/**
|
84
|
+
* @member {module:model/GoalResults} data
|
85
|
+
*/
|
86
|
+
GetGoalResultResponse.prototype['data'] = undefined;
|
87
|
+
var _default = GetGoalResultResponse;
|
88
|
+
exports["default"] = _default;
|
@@ -0,0 +1,88 @@
|
|
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 _FindGoalResponse = _interopRequireDefault(require("./FindGoalResponse"));
|
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 GetGoalsResponse model module.
|
26
|
+
* @module model/GetGoalsResponse
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var GetGoalsResponse = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>GetGoalsResponse</code>.
|
32
|
+
* @alias module:model/GetGoalsResponse
|
33
|
+
*/
|
34
|
+
function GetGoalsResponse() {
|
35
|
+
(0, _classCallCheck2["default"])(this, GetGoalsResponse);
|
36
|
+
GetGoalsResponse.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"])(GetGoalsResponse, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>GetGoalsResponse</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/GetGoalsResponse} obj Optional instance to populate.
|
53
|
+
* @return {module:model/GetGoalsResponse} The populated <code>GetGoalsResponse</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new GetGoalsResponse();
|
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'] = _FindGoalResponse["default"].constructFromObject(data['data']);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (Object.keys(data).length > 0) {
|
69
|
+
Object.assign(obj, data);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return obj;
|
73
|
+
}
|
74
|
+
}]);
|
75
|
+
return GetGoalsResponse;
|
76
|
+
}();
|
77
|
+
/**
|
78
|
+
* If the request was successful or not
|
79
|
+
* @member {Boolean} success
|
80
|
+
*/
|
81
|
+
GetGoalsResponse.prototype['success'] = undefined;
|
82
|
+
|
83
|
+
/**
|
84
|
+
* @member {module:model/FindGoalResponse} data
|
85
|
+
*/
|
86
|
+
GetGoalsResponse.prototype['data'] = undefined;
|
87
|
+
var _default = GetGoalsResponse;
|
88
|
+
exports["default"] = _default;
|
@@ -0,0 +1,87 @@
|
|
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 _GetLeadIdResponseData = _interopRequireDefault(require("./GetLeadIdResponseData"));
|
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 GetLeadIdResponse model module.
|
26
|
+
* @module model/GetLeadIdResponse
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var GetLeadIdResponse = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>GetLeadIdResponse</code>.
|
32
|
+
* @alias module:model/GetLeadIdResponse
|
33
|
+
*/
|
34
|
+
function GetLeadIdResponse() {
|
35
|
+
(0, _classCallCheck2["default"])(this, GetLeadIdResponse);
|
36
|
+
GetLeadIdResponse.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"])(GetLeadIdResponse, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>GetLeadIdResponse</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/GetLeadIdResponse} obj Optional instance to populate.
|
53
|
+
* @return {module:model/GetLeadIdResponse} The populated <code>GetLeadIdResponse</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new GetLeadIdResponse();
|
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'] = _GetLeadIdResponseData["default"].constructFromObject(data['data']);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (Object.keys(data).length > 0) {
|
69
|
+
Object.assign(obj, data);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return obj;
|
73
|
+
}
|
74
|
+
}]);
|
75
|
+
return GetLeadIdResponse;
|
76
|
+
}();
|
77
|
+
/**
|
78
|
+
* @member {Boolean} success
|
79
|
+
*/
|
80
|
+
GetLeadIdResponse.prototype['success'] = undefined;
|
81
|
+
|
82
|
+
/**
|
83
|
+
* @member {module:model/GetLeadIdResponseData} data
|
84
|
+
*/
|
85
|
+
GetLeadIdResponse.prototype['data'] = undefined;
|
86
|
+
var _default = GetLeadIdResponse;
|
87
|
+
exports["default"] = _default;
|
@@ -0,0 +1,77 @@
|
|
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 GetLeadIdResponseData model module.
|
25
|
+
* @module model/GetLeadIdResponseData
|
26
|
+
* @version 1.0.0
|
27
|
+
*/
|
28
|
+
var GetLeadIdResponseData = /*#__PURE__*/function () {
|
29
|
+
/**
|
30
|
+
* Constructs a new <code>GetLeadIdResponseData</code>.
|
31
|
+
* @alias module:model/GetLeadIdResponseData
|
32
|
+
*/
|
33
|
+
function GetLeadIdResponseData() {
|
34
|
+
(0, _classCallCheck2["default"])(this, GetLeadIdResponseData);
|
35
|
+
GetLeadIdResponseData.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"])(GetLeadIdResponseData, null, [{
|
44
|
+
key: "initialize",
|
45
|
+
value: function initialize(obj) {}
|
46
|
+
|
47
|
+
/**
|
48
|
+
* Constructs a <code>GetLeadIdResponseData</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/GetLeadIdResponseData} obj Optional instance to populate.
|
52
|
+
* @return {module:model/GetLeadIdResponseData} The populated <code>GetLeadIdResponseData</code> instance.
|
53
|
+
*/
|
54
|
+
}, {
|
55
|
+
key: "constructFromObject",
|
56
|
+
value: function constructFromObject(data, obj) {
|
57
|
+
if (data) {
|
58
|
+
obj = obj || new GetLeadIdResponseData();
|
59
|
+
if (data.hasOwnProperty('id')) {
|
60
|
+
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'String');
|
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 GetLeadIdResponseData;
|
71
|
+
}();
|
72
|
+
/**
|
73
|
+
* @member {String} id
|
74
|
+
*/
|
75
|
+
GetLeadIdResponseData.prototype['id'] = undefined;
|
76
|
+
var _default = GetLeadIdResponseData;
|
77
|
+
exports["default"] = _default;
|
@@ -0,0 +1,87 @@
|
|
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 _LeadLabelResponse = _interopRequireDefault(require("./LeadLabelResponse"));
|
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 GetLeadLabelsResponse model module.
|
26
|
+
* @module model/GetLeadLabelsResponse
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var GetLeadLabelsResponse = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>GetLeadLabelsResponse</code>.
|
32
|
+
* @alias module:model/GetLeadLabelsResponse
|
33
|
+
*/
|
34
|
+
function GetLeadLabelsResponse() {
|
35
|
+
(0, _classCallCheck2["default"])(this, GetLeadLabelsResponse);
|
36
|
+
GetLeadLabelsResponse.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"])(GetLeadLabelsResponse, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>GetLeadLabelsResponse</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/GetLeadLabelsResponse} obj Optional instance to populate.
|
53
|
+
* @return {module:model/GetLeadLabelsResponse} The populated <code>GetLeadLabelsResponse</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new GetLeadLabelsResponse();
|
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'] = _ApiClient["default"].convertToType(data['data'], [_LeadLabelResponse["default"]]);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (Object.keys(data).length > 0) {
|
69
|
+
Object.assign(obj, data);
|
70
|
+
}
|
71
|
+
}
|
72
|
+
return obj;
|
73
|
+
}
|
74
|
+
}]);
|
75
|
+
return GetLeadLabelsResponse;
|
76
|
+
}();
|
77
|
+
/**
|
78
|
+
* @member {Boolean} success
|
79
|
+
*/
|
80
|
+
GetLeadLabelsResponse.prototype['success'] = undefined;
|
81
|
+
|
82
|
+
/**
|
83
|
+
* @member {Array.<module:model/LeadLabelResponse>} data
|
84
|
+
*/
|
85
|
+
GetLeadLabelsResponse.prototype['data'] = undefined;
|
86
|
+
var _default = GetLeadLabelsResponse;
|
87
|
+
exports["default"] = _default;
|