pipedrive 23.2.5 → 23.3.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +7 -2
- package/dist/api/DealsApi.js +2 -2
- package/dist/api/ProjectsApi.js +8 -8
- package/dist/index.js +41 -6
- package/dist/model/DealProductRequestBody.js +1 -1
- package/dist/model/FieldsResponse.js +4 -4
- package/dist/model/FieldsResponseAllOf.js +3 -3
- package/dist/model/GetAllProductFieldsResponse.js +3 -3
- package/dist/model/GetField.js +442 -0
- package/dist/model/GetFieldAllOf.js +78 -0
- package/dist/model/GetNoteField.js +218 -0
- package/dist/model/GetProductField.js +373 -0
- package/dist/model/InternalFieldType.js +226 -0
- package/dist/model/NewDealProduct.js +2 -2
- package/dist/model/NoteFieldsResponse.js +4 -4
- package/dist/model/NoteFieldsResponseAllOf.js +3 -3
- package/dist/model/UpdateActivityPlanItemResponse.js +96 -0
- package/dist/model/UpdateDealProduct.js +2 -2
- package/dist/model/UpdateTaskPlanItemResponse.js +96 -0
- package/package.json +1 -1
- package/dist/model/AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser.js +0 -37
@@ -0,0 +1,226 @@
|
|
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 _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
11
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
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
|
+
* Enum class InternalFieldType.
|
26
|
+
* @enum {}
|
27
|
+
* @readonly
|
28
|
+
*/
|
29
|
+
var InternalFieldType = /*#__PURE__*/function () {
|
30
|
+
function InternalFieldType() {
|
31
|
+
(0, _classCallCheck2["default"])(this, InternalFieldType);
|
32
|
+
(0, _defineProperty2["default"])(this, "boolean", "boolean");
|
33
|
+
(0, _defineProperty2["default"])(this, "double", "double");
|
34
|
+
(0, _defineProperty2["default"])(this, "int", "int");
|
35
|
+
(0, _defineProperty2["default"])(this, "json", "json");
|
36
|
+
(0, _defineProperty2["default"])(this, "date", "date");
|
37
|
+
(0, _defineProperty2["default"])(this, "daterange", "daterange");
|
38
|
+
(0, _defineProperty2["default"])(this, "time", "time");
|
39
|
+
(0, _defineProperty2["default"])(this, "timerange", "timerange");
|
40
|
+
(0, _defineProperty2["default"])(this, "text", "text");
|
41
|
+
(0, _defineProperty2["default"])(this, "varchar", "varchar");
|
42
|
+
(0, _defineProperty2["default"])(this, "varchar_auto", "varchar_auto");
|
43
|
+
(0, _defineProperty2["default"])(this, "varchar_options", "varchar_options");
|
44
|
+
(0, _defineProperty2["default"])(this, "address", "address");
|
45
|
+
(0, _defineProperty2["default"])(this, "enum", "enum");
|
46
|
+
(0, _defineProperty2["default"])(this, "monetary", "monetary");
|
47
|
+
(0, _defineProperty2["default"])(this, "phone", "phone");
|
48
|
+
(0, _defineProperty2["default"])(this, "set", "set");
|
49
|
+
(0, _defineProperty2["default"])(this, "activity", "activity");
|
50
|
+
(0, _defineProperty2["default"])(this, "deal", "deal");
|
51
|
+
(0, _defineProperty2["default"])(this, "lead", "lead");
|
52
|
+
(0, _defineProperty2["default"])(this, "org", "org");
|
53
|
+
(0, _defineProperty2["default"])(this, "people", "people");
|
54
|
+
(0, _defineProperty2["default"])(this, "pipeline", "pipeline");
|
55
|
+
(0, _defineProperty2["default"])(this, "product", "product");
|
56
|
+
(0, _defineProperty2["default"])(this, "project", "project");
|
57
|
+
(0, _defineProperty2["default"])(this, "stage", "stage");
|
58
|
+
(0, _defineProperty2["default"])(this, "user", "user");
|
59
|
+
(0, _defineProperty2["default"])(this, "billing_frequency", "billing_frequency");
|
60
|
+
(0, _defineProperty2["default"])(this, "picture", "picture");
|
61
|
+
(0, _defineProperty2["default"])(this, "price_list", "price_list");
|
62
|
+
(0, _defineProperty2["default"])(this, "projects_board", "projects_board");
|
63
|
+
(0, _defineProperty2["default"])(this, "projects_phase", "projects_phase");
|
64
|
+
(0, _defineProperty2["default"])(this, "status", "status");
|
65
|
+
(0, _defineProperty2["default"])(this, "visible_to", "visible_to");
|
66
|
+
}
|
67
|
+
/**
|
68
|
+
* value: "boolean"
|
69
|
+
* @const
|
70
|
+
*/
|
71
|
+
/**
|
72
|
+
* value: "double"
|
73
|
+
* @const
|
74
|
+
*/
|
75
|
+
/**
|
76
|
+
* value: "int"
|
77
|
+
* @const
|
78
|
+
*/
|
79
|
+
/**
|
80
|
+
* value: "json"
|
81
|
+
* @const
|
82
|
+
*/
|
83
|
+
/**
|
84
|
+
* value: "date"
|
85
|
+
* @const
|
86
|
+
*/
|
87
|
+
/**
|
88
|
+
* value: "daterange"
|
89
|
+
* @const
|
90
|
+
*/
|
91
|
+
/**
|
92
|
+
* value: "time"
|
93
|
+
* @const
|
94
|
+
*/
|
95
|
+
/**
|
96
|
+
* value: "timerange"
|
97
|
+
* @const
|
98
|
+
*/
|
99
|
+
/**
|
100
|
+
* value: "text"
|
101
|
+
* @const
|
102
|
+
*/
|
103
|
+
/**
|
104
|
+
* value: "varchar"
|
105
|
+
* @const
|
106
|
+
*/
|
107
|
+
/**
|
108
|
+
* value: "varchar_auto"
|
109
|
+
* @const
|
110
|
+
*/
|
111
|
+
/**
|
112
|
+
* value: "varchar_options"
|
113
|
+
* @const
|
114
|
+
*/
|
115
|
+
/**
|
116
|
+
* value: "address"
|
117
|
+
* @const
|
118
|
+
*/
|
119
|
+
/**
|
120
|
+
* value: "enum"
|
121
|
+
* @const
|
122
|
+
*/
|
123
|
+
/**
|
124
|
+
* value: "monetary"
|
125
|
+
* @const
|
126
|
+
*/
|
127
|
+
/**
|
128
|
+
* value: "phone"
|
129
|
+
* @const
|
130
|
+
*/
|
131
|
+
/**
|
132
|
+
* value: "set"
|
133
|
+
* @const
|
134
|
+
*/
|
135
|
+
/**
|
136
|
+
* value: "activity"
|
137
|
+
* @const
|
138
|
+
*/
|
139
|
+
/**
|
140
|
+
* value: "deal"
|
141
|
+
* @const
|
142
|
+
*/
|
143
|
+
/**
|
144
|
+
* value: "lead"
|
145
|
+
* @const
|
146
|
+
*/
|
147
|
+
/**
|
148
|
+
* value: "org"
|
149
|
+
* @const
|
150
|
+
*/
|
151
|
+
/**
|
152
|
+
* value: "people"
|
153
|
+
* @const
|
154
|
+
*/
|
155
|
+
/**
|
156
|
+
* value: "pipeline"
|
157
|
+
* @const
|
158
|
+
*/
|
159
|
+
/**
|
160
|
+
* value: "product"
|
161
|
+
* @const
|
162
|
+
*/
|
163
|
+
/**
|
164
|
+
* value: "project"
|
165
|
+
* @const
|
166
|
+
*/
|
167
|
+
/**
|
168
|
+
* value: "stage"
|
169
|
+
* @const
|
170
|
+
*/
|
171
|
+
/**
|
172
|
+
* value: "user"
|
173
|
+
* @const
|
174
|
+
*/
|
175
|
+
/**
|
176
|
+
* value: "billing_frequency"
|
177
|
+
* @const
|
178
|
+
*/
|
179
|
+
/**
|
180
|
+
* value: "picture"
|
181
|
+
* @const
|
182
|
+
*/
|
183
|
+
/**
|
184
|
+
* value: "price_list"
|
185
|
+
* @const
|
186
|
+
*/
|
187
|
+
/**
|
188
|
+
* value: "projects_board"
|
189
|
+
* @const
|
190
|
+
*/
|
191
|
+
/**
|
192
|
+
* value: "projects_phase"
|
193
|
+
* @const
|
194
|
+
*/
|
195
|
+
/**
|
196
|
+
* value: "status"
|
197
|
+
* @const
|
198
|
+
*/
|
199
|
+
/**
|
200
|
+
* value: "visible_to"
|
201
|
+
* @const
|
202
|
+
*/
|
203
|
+
(0, _createClass2["default"])(InternalFieldType, null, [{
|
204
|
+
key: "constructFromObject",
|
205
|
+
value:
|
206
|
+
/**
|
207
|
+
* Returns a <code>InternalFieldType</code> enum value from a Javascript object name.
|
208
|
+
* @param {Object} data The plain JavaScript object containing the name of the enum value.
|
209
|
+
* @return {module:model/InternalFieldType} The enum <code>InternalFieldType</code> value.
|
210
|
+
*/
|
211
|
+
function constructFromObject(object) {
|
212
|
+
return object;
|
213
|
+
}
|
214
|
+
|
215
|
+
/**
|
216
|
+
* Initializes the fields of this object.
|
217
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
218
|
+
* Only for internal use.
|
219
|
+
*/
|
220
|
+
}, {
|
221
|
+
key: "initialize",
|
222
|
+
value: function initialize(obj) {}
|
223
|
+
}]);
|
224
|
+
return InternalFieldType;
|
225
|
+
}();
|
226
|
+
exports["default"] = InternalFieldType;
|
@@ -192,7 +192,7 @@ NewDealProduct.prototype['tax'] = 0;
|
|
192
192
|
NewDealProduct.prototype['tax_method'] = undefined;
|
193
193
|
|
194
194
|
/**
|
195
|
-
* Whether the product is enabled for a deal or not
|
195
|
+
* Whether the product is enabled for a deal or not This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default Not possible to disable the product if the deal has installments associated and the product is the last one enabled Not possible to enable the product if the deal has installments associated and the product is recurring
|
196
196
|
* @member {Boolean} enabled_flag
|
197
197
|
* @default true
|
198
198
|
*/
|
@@ -265,7 +265,7 @@ _DealProductRequestBody["default"].prototype['tax'] = 0;
|
|
265
265
|
*/
|
266
266
|
_DealProductRequestBody["default"].prototype['tax_method'] = undefined;
|
267
267
|
/**
|
268
|
-
* Whether the product is enabled for a deal or not
|
268
|
+
* Whether the product is enabled for a deal or not This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default Not possible to disable the product if the deal has installments associated and the product is the last one enabled Not possible to enable the product if the deal has installments associated and the product is recurring
|
269
269
|
* @member {Boolean} enabled_flag
|
270
270
|
* @default true
|
271
271
|
*/
|
@@ -10,7 +10,7 @@ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/creat
|
|
10
10
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
11
|
var _AdditionalData = _interopRequireDefault(require("./AdditionalData"));
|
12
12
|
var _BaseResponse = _interopRequireDefault(require("./BaseResponse"));
|
13
|
-
var
|
13
|
+
var _GetNoteField = _interopRequireDefault(require("./GetNoteField"));
|
14
14
|
var _NoteFieldsResponseAllOf = _interopRequireDefault(require("./NoteFieldsResponseAllOf"));
|
15
15
|
/**
|
16
16
|
* Pipedrive API v1
|
@@ -71,7 +71,7 @@ var NoteFieldsResponse = /*#__PURE__*/function () {
|
|
71
71
|
delete data['success'];
|
72
72
|
}
|
73
73
|
if (data.hasOwnProperty('data')) {
|
74
|
-
obj['data'] = _ApiClient["default"].convertToType(data['data'], [
|
74
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_GetNoteField["default"]]);
|
75
75
|
delete data['data'];
|
76
76
|
}
|
77
77
|
if (data.hasOwnProperty('additional_data')) {
|
@@ -94,7 +94,7 @@ var NoteFieldsResponse = /*#__PURE__*/function () {
|
|
94
94
|
NoteFieldsResponse.prototype['success'] = undefined;
|
95
95
|
|
96
96
|
/**
|
97
|
-
* @member {Array.<module:model/
|
97
|
+
* @member {Array.<module:model/GetNoteField>} data
|
98
98
|
*/
|
99
99
|
NoteFieldsResponse.prototype['data'] = undefined;
|
100
100
|
|
@@ -111,7 +111,7 @@ NoteFieldsResponse.prototype['additional_data'] = undefined;
|
|
111
111
|
_BaseResponse["default"].prototype['success'] = undefined;
|
112
112
|
// Implement NoteFieldsResponseAllOf interface:
|
113
113
|
/**
|
114
|
-
* @member {Array.<module:model/
|
114
|
+
* @member {Array.<module:model/GetNoteField>} data
|
115
115
|
*/
|
116
116
|
_NoteFieldsResponseAllOf["default"].prototype['data'] = undefined;
|
117
117
|
/**
|
@@ -9,7 +9,7 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
|
|
9
9
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
10
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
11
|
var _AdditionalData = _interopRequireDefault(require("./AdditionalData"));
|
12
|
-
var
|
12
|
+
var _GetNoteField = _interopRequireDefault(require("./GetNoteField"));
|
13
13
|
/**
|
14
14
|
* Pipedrive API v1
|
15
15
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
@@ -59,7 +59,7 @@ var NoteFieldsResponseAllOf = /*#__PURE__*/function () {
|
|
59
59
|
if (data) {
|
60
60
|
obj = obj || new NoteFieldsResponseAllOf();
|
61
61
|
if (data.hasOwnProperty('data')) {
|
62
|
-
obj['data'] = _ApiClient["default"].convertToType(data['data'], [
|
62
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_GetNoteField["default"]]);
|
63
63
|
delete data['data'];
|
64
64
|
}
|
65
65
|
if (data.hasOwnProperty('additional_data')) {
|
@@ -76,7 +76,7 @@ var NoteFieldsResponseAllOf = /*#__PURE__*/function () {
|
|
76
76
|
return NoteFieldsResponseAllOf;
|
77
77
|
}();
|
78
78
|
/**
|
79
|
-
* @member {Array.<module:model/
|
79
|
+
* @member {Array.<module:model/GetNoteField>} data
|
80
80
|
*/
|
81
81
|
NoteFieldsResponseAllOf.prototype['data'] = undefined;
|
82
82
|
|
@@ -0,0 +1,96 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
var _ProjectPlanItemObject = _interopRequireDefault(require("./ProjectPlanItemObject"));
|
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 UpdateActivityPlanItemResponse model module.
|
26
|
+
* @module model/UpdateActivityPlanItemResponse
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var UpdateActivityPlanItemResponse = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>UpdateActivityPlanItemResponse</code>.
|
32
|
+
* @alias module:model/UpdateActivityPlanItemResponse
|
33
|
+
*/
|
34
|
+
function UpdateActivityPlanItemResponse() {
|
35
|
+
(0, _classCallCheck2["default"])(this, UpdateActivityPlanItemResponse);
|
36
|
+
UpdateActivityPlanItemResponse.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"])(UpdateActivityPlanItemResponse, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>UpdateActivityPlanItemResponse</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/UpdateActivityPlanItemResponse} obj Optional instance to populate.
|
53
|
+
* @return {module:model/UpdateActivityPlanItemResponse} The populated <code>UpdateActivityPlanItemResponse</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new UpdateActivityPlanItemResponse();
|
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'] = _ProjectPlanItemObject["default"].constructFromObject(data['data']);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (data.hasOwnProperty('additional_data')) {
|
69
|
+
obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
|
70
|
+
delete data['additional_data'];
|
71
|
+
}
|
72
|
+
if (Object.keys(data).length > 0) {
|
73
|
+
Object.assign(obj, data);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
return obj;
|
77
|
+
}
|
78
|
+
}]);
|
79
|
+
return UpdateActivityPlanItemResponse;
|
80
|
+
}();
|
81
|
+
/**
|
82
|
+
* @member {Boolean} success
|
83
|
+
*/
|
84
|
+
UpdateActivityPlanItemResponse.prototype['success'] = undefined;
|
85
|
+
|
86
|
+
/**
|
87
|
+
* @member {module:model/ProjectPlanItemObject} data
|
88
|
+
*/
|
89
|
+
UpdateActivityPlanItemResponse.prototype['data'] = undefined;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* @member {Object} additional_data
|
93
|
+
*/
|
94
|
+
UpdateActivityPlanItemResponse.prototype['additional_data'] = undefined;
|
95
|
+
var _default = UpdateActivityPlanItemResponse;
|
96
|
+
exports["default"] = _default;
|
@@ -192,7 +192,7 @@ UpdateDealProduct.prototype['tax'] = 0;
|
|
192
192
|
UpdateDealProduct.prototype['tax_method'] = undefined;
|
193
193
|
|
194
194
|
/**
|
195
|
-
* Whether the product is enabled for a deal or not
|
195
|
+
* Whether the product is enabled for a deal or not This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default Not possible to disable the product if the deal has installments associated and the product is the last one enabled Not possible to enable the product if the deal has installments associated and the product is recurring
|
196
196
|
* @member {Boolean} enabled_flag
|
197
197
|
* @default true
|
198
198
|
*/
|
@@ -265,7 +265,7 @@ _DealProductRequestBody["default"].prototype['tax'] = 0;
|
|
265
265
|
*/
|
266
266
|
_DealProductRequestBody["default"].prototype['tax_method'] = undefined;
|
267
267
|
/**
|
268
|
-
* Whether the product is enabled for a deal or not
|
268
|
+
* Whether the product is enabled for a deal or not This makes it possible to add products to a deal with a specific price and discount criteria, but keep them disabled, which refrains them from being included in the deal value calculation. When omitted, the product will be marked as enabled by default Not possible to disable the product if the deal has installments associated and the product is the last one enabled Not possible to enable the product if the deal has installments associated and the product is recurring
|
269
269
|
* @member {Boolean} enabled_flag
|
270
270
|
* @default true
|
271
271
|
*/
|
@@ -0,0 +1,96 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
5
|
+
value: true
|
6
|
+
});
|
7
|
+
exports["default"] = void 0;
|
8
|
+
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
9
|
+
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
10
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
11
|
+
var _ProjectPlanItemObject = _interopRequireDefault(require("./ProjectPlanItemObject"));
|
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 UpdateTaskPlanItemResponse model module.
|
26
|
+
* @module model/UpdateTaskPlanItemResponse
|
27
|
+
* @version 1.0.0
|
28
|
+
*/
|
29
|
+
var UpdateTaskPlanItemResponse = /*#__PURE__*/function () {
|
30
|
+
/**
|
31
|
+
* Constructs a new <code>UpdateTaskPlanItemResponse</code>.
|
32
|
+
* @alias module:model/UpdateTaskPlanItemResponse
|
33
|
+
*/
|
34
|
+
function UpdateTaskPlanItemResponse() {
|
35
|
+
(0, _classCallCheck2["default"])(this, UpdateTaskPlanItemResponse);
|
36
|
+
UpdateTaskPlanItemResponse.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"])(UpdateTaskPlanItemResponse, null, [{
|
45
|
+
key: "initialize",
|
46
|
+
value: function initialize(obj) {}
|
47
|
+
|
48
|
+
/**
|
49
|
+
* Constructs a <code>UpdateTaskPlanItemResponse</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/UpdateTaskPlanItemResponse} obj Optional instance to populate.
|
53
|
+
* @return {module:model/UpdateTaskPlanItemResponse} The populated <code>UpdateTaskPlanItemResponse</code> instance.
|
54
|
+
*/
|
55
|
+
}, {
|
56
|
+
key: "constructFromObject",
|
57
|
+
value: function constructFromObject(data, obj) {
|
58
|
+
if (data) {
|
59
|
+
obj = obj || new UpdateTaskPlanItemResponse();
|
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'] = _ProjectPlanItemObject["default"].constructFromObject(data['data']);
|
66
|
+
delete data['data'];
|
67
|
+
}
|
68
|
+
if (data.hasOwnProperty('additional_data')) {
|
69
|
+
obj['additional_data'] = _ApiClient["default"].convertToType(data['additional_data'], Object);
|
70
|
+
delete data['additional_data'];
|
71
|
+
}
|
72
|
+
if (Object.keys(data).length > 0) {
|
73
|
+
Object.assign(obj, data);
|
74
|
+
}
|
75
|
+
}
|
76
|
+
return obj;
|
77
|
+
}
|
78
|
+
}]);
|
79
|
+
return UpdateTaskPlanItemResponse;
|
80
|
+
}();
|
81
|
+
/**
|
82
|
+
* @member {Boolean} success
|
83
|
+
*/
|
84
|
+
UpdateTaskPlanItemResponse.prototype['success'] = undefined;
|
85
|
+
|
86
|
+
/**
|
87
|
+
* @member {module:model/ProjectPlanItemObject} data
|
88
|
+
*/
|
89
|
+
UpdateTaskPlanItemResponse.prototype['data'] = undefined;
|
90
|
+
|
91
|
+
/**
|
92
|
+
* @member {Object} additional_data
|
93
|
+
*/
|
94
|
+
UpdateTaskPlanItemResponse.prototype['additional_data'] = undefined;
|
95
|
+
var _default = UpdateTaskPlanItemResponse;
|
96
|
+
exports["default"] = _default;
|
package/package.json
CHANGED
@@ -1,37 +0,0 @@
|
|
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 AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser = /*#__PURE__*/function () {
|
11
|
-
/**
|
12
|
-
* Constructs a new <code>AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser</code>.
|
13
|
-
* @alias module:model/AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser
|
14
|
-
*/
|
15
|
-
function AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser() {
|
16
|
-
(0, _classCallCheck2["default"])(this, AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser);
|
17
|
-
AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser.initialize(this);
|
18
|
-
}
|
19
|
-
|
20
|
-
/**
|
21
|
-
* Initializes the fields of this object.
|
22
|
-
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
23
|
-
* Only for internal use.
|
24
|
-
*/
|
25
|
-
(0, _createClass2["default"])(AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser, null, [{
|
26
|
-
key: "initialize",
|
27
|
-
value: function initialize(obj) {}
|
28
|
-
}, {
|
29
|
-
key: "constructFromObject",
|
30
|
-
value: function constructFromObject(data, obj) {
|
31
|
-
return data;
|
32
|
-
}
|
33
|
-
}]);
|
34
|
-
return AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser;
|
35
|
-
}();
|
36
|
-
var _default = AnyOfRecentsActivityRecentsActivityTypeRecentsDealRecentsFileRecentsFilterRecentsNoteRecentsPersonRecentsOrganizationRecentsPipelineRecentsProductRecentsStageRecentsUser;
|
37
|
-
exports["default"] = _default;
|