pipedrive 16.0.4 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
+
12
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
+
14
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
15
+
16
+ /**
17
+ * Pipedrive API v1
18
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ *
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
+
29
+ /**
30
+ * The NoteAllOf model module.
31
+ * @module model/NoteAllOf
32
+ * @version 1.0.0
33
+ */
34
+ var NoteAllOf = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>NoteAllOf</code>.
37
+ * @alias module:model/NoteAllOf
38
+ */
39
+ function NoteAllOf() {
40
+ (0, _classCallCheck2["default"])(this, NoteAllOf);
41
+ NoteAllOf.initialize(this);
42
+ }
43
+ /**
44
+ * Initializes the fields of this object.
45
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
+ * Only for internal use.
47
+ */
48
+
49
+
50
+ (0, _createClass2["default"])(NoteAllOf, null, [{
51
+ key: "initialize",
52
+ value: function initialize(obj) {}
53
+ /**
54
+ * Constructs a <code>NoteAllOf</code> from a plain JavaScript object, optionally creating a new instance.
55
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
56
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
57
+ * @param {module:model/NoteAllOf} obj Optional instance to populate.
58
+ * @return {module:model/NoteAllOf} The populated <code>NoteAllOf</code> instance.
59
+ */
60
+
61
+ }, {
62
+ key: "constructFromObject",
63
+ value: function constructFromObject(data, obj) {
64
+ if (data) {
65
+ obj = obj || new NoteAllOf();
66
+
67
+ if (data.hasOwnProperty('content')) {
68
+ obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
69
+ delete data['content'];
70
+ }
71
+
72
+ if (Object.keys(data).length > 0) {
73
+ Object.assign(obj, data);
74
+ }
75
+ }
76
+
77
+ return obj;
78
+ }
79
+ }]);
80
+ return NoteAllOf;
81
+ }();
82
+ /**
83
+ * The content of the note in HTML format. Subject to sanitization on the back-end.
84
+ * @member {String} content
85
+ */
86
+
87
+
88
+ NoteAllOf.prototype['content'] = undefined;
89
+ var _default = NoteAllOf;
90
+ exports["default"] = _default;
@@ -37,11 +37,10 @@ var NoteParams = /*#__PURE__*/function () {
37
37
  /**
38
38
  * Constructs a new <code>NoteParams</code>.
39
39
  * @alias module:model/NoteParams
40
- * @param content {String} The content of the note in HTML format. Subject to sanitization on the back-end.
41
40
  */
42
- function NoteParams(content) {
41
+ function NoteParams() {
43
42
  (0, _classCallCheck2["default"])(this, NoteParams);
44
- NoteParams.initialize(this, content);
43
+ NoteParams.initialize(this);
45
44
  }
46
45
  /**
47
46
  * Initializes the fields of this object.
@@ -52,9 +51,7 @@ var NoteParams = /*#__PURE__*/function () {
52
51
 
53
52
  (0, _createClass2["default"])(NoteParams, null, [{
54
53
  key: "initialize",
55
- value: function initialize(obj, content) {
56
- obj['content'] = content;
57
- }
54
+ value: function initialize(obj) {}
58
55
  /**
59
56
  * Constructs a <code>NoteParams</code> from a plain JavaScript object, optionally creating a new instance.
60
57
  * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
@@ -69,11 +66,6 @@ var NoteParams = /*#__PURE__*/function () {
69
66
  if (data) {
70
67
  obj = obj || new NoteParams();
71
68
 
72
- if (data.hasOwnProperty('content')) {
73
- obj['content'] = _ApiClient["default"].convertToType(data['content'], 'String');
74
- delete data['content'];
75
- }
76
-
77
69
  if (data.hasOwnProperty('user_id')) {
78
70
  obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'Number');
79
71
  delete data['user_id'];
@@ -114,18 +106,12 @@ var NoteParams = /*#__PURE__*/function () {
114
106
  }]);
115
107
  return NoteParams;
116
108
  }();
117
- /**
118
- * The content of the note in HTML format. Subject to sanitization on the back-end.
119
- * @member {String} content
120
- */
121
-
122
-
123
- NoteParams.prototype['content'] = undefined;
124
109
  /**
125
110
  * The ID of the user who will be marked as the author of the note. Only an admin can change the author.
126
111
  * @member {Number} user_id
127
112
  */
128
113
 
114
+
129
115
  NoteParams.prototype['user_id'] = undefined;
130
116
  /**
131
117
  * The optional creation date & time of the note in UTC. Can be set in the past or in the future. Requires admin user API token. Format: YYYY-MM-DD HH:MM:SS
@@ -74,6 +74,21 @@ var PermissionSetsItem = /*#__PURE__*/function () {
74
74
  delete data['name'];
75
75
  }
76
76
 
77
+ if (data.hasOwnProperty('description')) {
78
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
79
+ delete data['description'];
80
+ }
81
+
82
+ if (data.hasOwnProperty('app')) {
83
+ obj['app'] = _ApiClient["default"].convertToType(data['app'], 'String');
84
+ delete data['app'];
85
+ }
86
+
87
+ if (data.hasOwnProperty('type')) {
88
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
89
+ delete data['type'];
90
+ }
91
+
77
92
  if (data.hasOwnProperty('assignment_count')) {
78
93
  obj['assignment_count'] = _ApiClient["default"].convertToType(data['assignment_count'], 'Number');
79
94
  delete data['assignment_count'];
@@ -102,11 +117,97 @@ PermissionSetsItem.prototype['id'] = undefined;
102
117
  */
103
118
 
104
119
  PermissionSetsItem.prototype['name'] = undefined;
120
+ /**
121
+ * The description of the permission set
122
+ * @member {String} description
123
+ */
124
+
125
+ PermissionSetsItem.prototype['description'] = undefined;
126
+ /**
127
+ * The app that permission set belongs to
128
+ * @member {module:model/PermissionSetsItem.AppEnum} app
129
+ */
130
+
131
+ PermissionSetsItem.prototype['app'] = undefined;
132
+ /**
133
+ * The type of permission set
134
+ * @member {module:model/PermissionSetsItem.TypeEnum} type
135
+ */
136
+
137
+ PermissionSetsItem.prototype['type'] = undefined;
105
138
  /**
106
139
  * The number of users assigned to this permission set
107
140
  * @member {Number} assignment_count
108
141
  */
109
142
 
110
143
  PermissionSetsItem.prototype['assignment_count'] = undefined;
144
+ /**
145
+ * Allowed values for the <code>app</code> property.
146
+ * @enum {String}
147
+ * @readonly
148
+ */
149
+
150
+ PermissionSetsItem['AppEnum'] = {
151
+ /**
152
+ * value: "sales"
153
+ * @const
154
+ */
155
+ "sales": "sales",
156
+
157
+ /**
158
+ * value: "projects"
159
+ * @const
160
+ */
161
+ "projects": "projects",
162
+
163
+ /**
164
+ * value: "campaigns"
165
+ * @const
166
+ */
167
+ "campaigns": "campaigns",
168
+
169
+ /**
170
+ * value: "global"
171
+ * @const
172
+ */
173
+ "global": "global",
174
+
175
+ /**
176
+ * value: "account_settings"
177
+ * @const
178
+ */
179
+ "account_settings": "account_settings"
180
+ };
181
+ /**
182
+ * Allowed values for the <code>type</code> property.
183
+ * @enum {String}
184
+ * @readonly
185
+ */
186
+
187
+ PermissionSetsItem['TypeEnum'] = {
188
+ /**
189
+ * value: "admin"
190
+ * @const
191
+ */
192
+ "admin": "admin",
193
+
194
+ /**
195
+ * value: "manager"
196
+ * @const
197
+ */
198
+ "manager": "manager",
199
+
200
+ /**
201
+ * value: "regular"
202
+ * @const
203
+ */
204
+ "regular": "regular",
205
+
206
+ /**
207
+ * value: "custom"
208
+ * @const
209
+ */
210
+ "custom": "custom"
211
+ };
111
212
  var _default = PermissionSetsItem;
112
213
  exports["default"] = _default;
@@ -89,6 +89,21 @@ var SinglePermissionSetsItem = /*#__PURE__*/function () {
89
89
  delete data['name'];
90
90
  }
91
91
 
92
+ if (data.hasOwnProperty('description')) {
93
+ obj['description'] = _ApiClient["default"].convertToType(data['description'], 'String');
94
+ delete data['description'];
95
+ }
96
+
97
+ if (data.hasOwnProperty('app')) {
98
+ obj['app'] = _ApiClient["default"].convertToType(data['app'], 'String');
99
+ delete data['app'];
100
+ }
101
+
102
+ if (data.hasOwnProperty('type')) {
103
+ obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
104
+ delete data['type'];
105
+ }
106
+
92
107
  if (data.hasOwnProperty('assignment_count')) {
93
108
  obj['assignment_count'] = _ApiClient["default"].convertToType(data['assignment_count'], 'Number');
94
109
  delete data['assignment_count'];
@@ -122,6 +137,24 @@ SinglePermissionSetsItem.prototype['id'] = undefined;
122
137
  */
123
138
 
124
139
  SinglePermissionSetsItem.prototype['name'] = undefined;
140
+ /**
141
+ * The description of the permission set
142
+ * @member {String} description
143
+ */
144
+
145
+ SinglePermissionSetsItem.prototype['description'] = undefined;
146
+ /**
147
+ * The app that permission set belongs to
148
+ * @member {module:model/SinglePermissionSetsItem.AppEnum} app
149
+ */
150
+
151
+ SinglePermissionSetsItem.prototype['app'] = undefined;
152
+ /**
153
+ * The type of permission set
154
+ * @member {module:model/SinglePermissionSetsItem.TypeEnum} type
155
+ */
156
+
157
+ SinglePermissionSetsItem.prototype['type'] = undefined;
125
158
  /**
126
159
  * The number of users assigned to this permission set
127
160
  * @member {Number} assignment_count
@@ -147,6 +180,24 @@ _PermissionSetsItem["default"].prototype['id'] = undefined;
147
180
  */
148
181
 
149
182
  _PermissionSetsItem["default"].prototype['name'] = undefined;
183
+ /**
184
+ * The description of the permission set
185
+ * @member {String} description
186
+ */
187
+
188
+ _PermissionSetsItem["default"].prototype['description'] = undefined;
189
+ /**
190
+ * The app that permission set belongs to
191
+ * @member {module:model/PermissionSetsItem.AppEnum} app
192
+ */
193
+
194
+ _PermissionSetsItem["default"].prototype['app'] = undefined;
195
+ /**
196
+ * The type of permission set
197
+ * @member {module:model/PermissionSetsItem.TypeEnum} type
198
+ */
199
+
200
+ _PermissionSetsItem["default"].prototype['type'] = undefined;
150
201
  /**
151
202
  * The number of users assigned to this permission set
152
203
  * @member {Number} assignment_count
@@ -160,5 +211,73 @@ _PermissionSetsItem["default"].prototype['assignment_count'] = undefined; // Imp
160
211
  */
161
212
 
162
213
  _SinglePermissionSetsItemAllOf["default"].prototype['contents'] = undefined;
214
+ /**
215
+ * Allowed values for the <code>app</code> property.
216
+ * @enum {String}
217
+ * @readonly
218
+ */
219
+
220
+ SinglePermissionSetsItem['AppEnum'] = {
221
+ /**
222
+ * value: "sales"
223
+ * @const
224
+ */
225
+ "sales": "sales",
226
+
227
+ /**
228
+ * value: "projects"
229
+ * @const
230
+ */
231
+ "projects": "projects",
232
+
233
+ /**
234
+ * value: "campaigns"
235
+ * @const
236
+ */
237
+ "campaigns": "campaigns",
238
+
239
+ /**
240
+ * value: "global"
241
+ * @const
242
+ */
243
+ "global": "global",
244
+
245
+ /**
246
+ * value: "account_settings"
247
+ * @const
248
+ */
249
+ "account_settings": "account_settings"
250
+ };
251
+ /**
252
+ * Allowed values for the <code>type</code> property.
253
+ * @enum {String}
254
+ * @readonly
255
+ */
256
+
257
+ SinglePermissionSetsItem['TypeEnum'] = {
258
+ /**
259
+ * value: "admin"
260
+ * @const
261
+ */
262
+ "admin": "admin",
263
+
264
+ /**
265
+ * value: "manager"
266
+ * @const
267
+ */
268
+ "manager": "manager",
269
+
270
+ /**
271
+ * value: "regular"
272
+ * @const
273
+ */
274
+ "regular": "regular",
275
+
276
+ /**
277
+ * value: "custom"
278
+ * @const
279
+ */
280
+ "custom": "custom"
281
+ };
163
282
  var _default = SinglePermissionSetsItem;
164
283
  exports["default"] = _default;
@@ -0,0 +1,149 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
+
12
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
+
14
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
15
+
16
+ var _BasicOrganization = _interopRequireDefault(require("./BasicOrganization"));
17
+
18
+ var _UpdateOrganizationAllOf = _interopRequireDefault(require("./UpdateOrganizationAllOf"));
19
+
20
+ var _VisibleTo = _interopRequireDefault(require("./VisibleTo"));
21
+
22
+ /**
23
+ * Pipedrive API v1
24
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
25
+ *
26
+ * The version of the OpenAPI document: 1.0.0
27
+ *
28
+ *
29
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
30
+ * https://openapi-generator.tech
31
+ * Do not edit the class manually.
32
+ *
33
+ */
34
+
35
+ /**
36
+ * The UpdateOrganization model module.
37
+ * @module model/UpdateOrganization
38
+ * @version 1.0.0
39
+ */
40
+ var UpdateOrganization = /*#__PURE__*/function () {
41
+ /**
42
+ * Constructs a new <code>UpdateOrganization</code>.
43
+ * @alias module:model/UpdateOrganization
44
+ * @implements module:model/UpdateOrganizationAllOf
45
+ * @implements module:model/BasicOrganization
46
+ */
47
+ function UpdateOrganization() {
48
+ (0, _classCallCheck2["default"])(this, UpdateOrganization);
49
+
50
+ _UpdateOrganizationAllOf["default"].initialize(this);
51
+
52
+ _BasicOrganization["default"].initialize(this);
53
+
54
+ UpdateOrganization.initialize(this);
55
+ }
56
+ /**
57
+ * Initializes the fields of this object.
58
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
59
+ * Only for internal use.
60
+ */
61
+
62
+
63
+ (0, _createClass2["default"])(UpdateOrganization, null, [{
64
+ key: "initialize",
65
+ value: function initialize(obj) {}
66
+ /**
67
+ * Constructs a <code>UpdateOrganization</code> from a plain JavaScript object, optionally creating a new instance.
68
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
69
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
70
+ * @param {module:model/UpdateOrganization} obj Optional instance to populate.
71
+ * @return {module:model/UpdateOrganization} The populated <code>UpdateOrganization</code> instance.
72
+ */
73
+
74
+ }, {
75
+ key: "constructFromObject",
76
+ value: function constructFromObject(data, obj) {
77
+ if (data) {
78
+ obj = obj || new UpdateOrganization();
79
+
80
+ _UpdateOrganizationAllOf["default"].constructFromObject(data, obj);
81
+
82
+ _BasicOrganization["default"].constructFromObject(data, obj);
83
+
84
+ if (data.hasOwnProperty('name')) {
85
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
86
+ delete data['name'];
87
+ }
88
+
89
+ if (data.hasOwnProperty('owner_id')) {
90
+ obj['owner_id'] = _ApiClient["default"].convertToType(data['owner_id'], 'Number');
91
+ delete data['owner_id'];
92
+ }
93
+
94
+ if (data.hasOwnProperty('visible_to')) {
95
+ obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], _VisibleTo["default"]);
96
+ delete data['visible_to'];
97
+ }
98
+
99
+ if (Object.keys(data).length > 0) {
100
+ Object.assign(obj, data);
101
+ }
102
+ }
103
+
104
+ return obj;
105
+ }
106
+ }]);
107
+ return UpdateOrganization;
108
+ }();
109
+ /**
110
+ * The name of the organization
111
+ * @member {String} name
112
+ */
113
+
114
+
115
+ UpdateOrganization.prototype['name'] = undefined;
116
+ /**
117
+ * The ID of the user who will be marked as the owner of this organization. When omitted, the authorized user ID will be used.
118
+ * @member {Number} owner_id
119
+ */
120
+
121
+ UpdateOrganization.prototype['owner_id'] = undefined;
122
+ /**
123
+ * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><tr><td>`3`</td><td>Owner's visibility group</td></tr><tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr><tr><td>`7`</td><td>Entire company</td></tr></table>
124
+ * @member {module:model/VisibleTo} visible_to
125
+ */
126
+
127
+ UpdateOrganization.prototype['visible_to'] = undefined; // Implement UpdateOrganizationAllOf interface:
128
+
129
+ /**
130
+ * The name of the organization
131
+ * @member {String} name
132
+ */
133
+
134
+ _UpdateOrganizationAllOf["default"].prototype['name'] = undefined; // Implement BasicOrganization interface:
135
+
136
+ /**
137
+ * The ID of the user who will be marked as the owner of this organization. When omitted, the authorized user ID will be used.
138
+ * @member {Number} owner_id
139
+ */
140
+
141
+ _BasicOrganization["default"].prototype['owner_id'] = undefined;
142
+ /**
143
+ * The visibility of the organization. If omitted, the visibility will be set to the default visibility setting of this item type for the authorized user. Read more about visibility groups <a href=\"https://support.pipedrive.com/en/article/visibility-groups\" target=\"_blank\" rel=\"noopener noreferrer\">here</a>.<h4>Essential / Advanced plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner &amp; followers</td><tr><td>`3`</td><td>Entire company</td></tr></table><h4>Professional / Enterprise plan</h4><table><tr><th style=\"width:40px\">Value</th><th>Description</th></tr><tr><td>`1`</td><td>Owner only</td><tr><td>`3`</td><td>Owner's visibility group</td></tr><tr><td>`5`</td><td>Owner's visibility group and sub-groups</td></tr><tr><td>`7`</td><td>Entire company</td></tr></table>
144
+ * @member {module:model/VisibleTo} visible_to
145
+ */
146
+
147
+ _BasicOrganization["default"].prototype['visible_to'] = undefined;
148
+ var _default = UpdateOrganization;
149
+ exports["default"] = _default;
@@ -0,0 +1,90 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
+
5
+ Object.defineProperty(exports, "__esModule", {
6
+ value: true
7
+ });
8
+ exports["default"] = void 0;
9
+
10
+ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
11
+
12
+ var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
13
+
14
+ var _ApiClient = _interopRequireDefault(require("../ApiClient"));
15
+
16
+ /**
17
+ * Pipedrive API v1
18
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
19
+ *
20
+ * The version of the OpenAPI document: 1.0.0
21
+ *
22
+ *
23
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
24
+ * https://openapi-generator.tech
25
+ * Do not edit the class manually.
26
+ *
27
+ */
28
+
29
+ /**
30
+ * The UpdateOrganizationAllOf model module.
31
+ * @module model/UpdateOrganizationAllOf
32
+ * @version 1.0.0
33
+ */
34
+ var UpdateOrganizationAllOf = /*#__PURE__*/function () {
35
+ /**
36
+ * Constructs a new <code>UpdateOrganizationAllOf</code>.
37
+ * @alias module:model/UpdateOrganizationAllOf
38
+ */
39
+ function UpdateOrganizationAllOf() {
40
+ (0, _classCallCheck2["default"])(this, UpdateOrganizationAllOf);
41
+ UpdateOrganizationAllOf.initialize(this);
42
+ }
43
+ /**
44
+ * Initializes the fields of this object.
45
+ * This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
46
+ * Only for internal use.
47
+ */
48
+
49
+
50
+ (0, _createClass2["default"])(UpdateOrganizationAllOf, null, [{
51
+ key: "initialize",
52
+ value: function initialize(obj) {}
53
+ /**
54
+ * Constructs a <code>UpdateOrganizationAllOf</code> from a plain JavaScript object, optionally creating a new instance.
55
+ * Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
56
+ * @param {Object} data The plain JavaScript object bearing properties of interest.
57
+ * @param {module:model/UpdateOrganizationAllOf} obj Optional instance to populate.
58
+ * @return {module:model/UpdateOrganizationAllOf} The populated <code>UpdateOrganizationAllOf</code> instance.
59
+ */
60
+
61
+ }, {
62
+ key: "constructFromObject",
63
+ value: function constructFromObject(data, obj) {
64
+ if (data) {
65
+ obj = obj || new UpdateOrganizationAllOf();
66
+
67
+ if (data.hasOwnProperty('name')) {
68
+ obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
69
+ delete data['name'];
70
+ }
71
+
72
+ if (Object.keys(data).length > 0) {
73
+ Object.assign(obj, data);
74
+ }
75
+ }
76
+
77
+ return obj;
78
+ }
79
+ }]);
80
+ return UpdateOrganizationAllOf;
81
+ }();
82
+ /**
83
+ * The name of the organization
84
+ * @member {String} name
85
+ */
86
+
87
+
88
+ UpdateOrganizationAllOf.prototype['name'] = undefined;
89
+ var _default = UpdateOrganizationAllOf;
90
+ exports["default"] = _default;