File: /var/www/quadcode.com/node_modules/pipedrive/dist/model/OrganizationItem.js
"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = void 0;
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
var _BaseOrganizationItemWithEditNameFlag = _interopRequireDefault(require("./BaseOrganizationItemWithEditNameFlag"));
var _OrganizationItemAllOf = _interopRequireDefault(require("./OrganizationItemAllOf"));
var _Owner = _interopRequireDefault(require("./Owner"));
var _PictureDataWithValue = _interopRequireDefault(require("./PictureDataWithValue"));
/**
* Pipedrive API v1
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*
*/
/**
* The OrganizationItem model module.
* @module model/OrganizationItem
* @version 1.0.0
*/
var OrganizationItem = /*#__PURE__*/function () {
/**
* Constructs a new <code>OrganizationItem</code>.
* @alias module:model/OrganizationItem
* @implements module:model/BaseOrganizationItemWithEditNameFlag
* @implements module:model/OrganizationItemAllOf
*/
function OrganizationItem() {
(0, _classCallCheck2["default"])(this, OrganizationItem);
_BaseOrganizationItemWithEditNameFlag["default"].initialize(this);
_OrganizationItemAllOf["default"].initialize(this);
OrganizationItem.initialize(this);
}
/**
* Initializes the fields of this object.
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
* Only for internal use.
*/
(0, _createClass2["default"])(OrganizationItem, null, [{
key: "initialize",
value: function initialize(obj) {}
/**
* Constructs a <code>OrganizationItem</code> from a plain JavaScript object, optionally creating a new instance.
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
* @param {Object} data The plain JavaScript object bearing properties of interest.
* @param {module:model/OrganizationItem} obj Optional instance to populate.
* @return {module:model/OrganizationItem} The populated <code>OrganizationItem</code> instance.
*/
}, {
key: "constructFromObject",
value: function constructFromObject(data, obj) {
if (data) {
obj = obj || new OrganizationItem();
_BaseOrganizationItemWithEditNameFlag["default"].constructFromObject(data, obj);
_OrganizationItemAllOf["default"].constructFromObject(data, obj);
if (data.hasOwnProperty('id')) {
obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
delete data['id'];
}
if (data.hasOwnProperty('company_id')) {
obj['company_id'] = _ApiClient["default"].convertToType(data['company_id'], 'Number');
delete data['company_id'];
}
if (data.hasOwnProperty('owner_id')) {
obj['owner_id'] = _Owner["default"].constructFromObject(data['owner_id']);
delete data['owner_id'];
}
if (data.hasOwnProperty('name')) {
obj['name'] = _ApiClient["default"].convertToType(data['name'], 'String');
delete data['name'];
}
if (data.hasOwnProperty('active_flag')) {
obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
delete data['active_flag'];
}
if (data.hasOwnProperty('picture_id')) {
obj['picture_id'] = _PictureDataWithValue["default"].constructFromObject(data['picture_id']);
delete data['picture_id'];
}
if (data.hasOwnProperty('country_code')) {
obj['country_code'] = _ApiClient["default"].convertToType(data['country_code'], 'String');
delete data['country_code'];
}
if (data.hasOwnProperty('first_char')) {
obj['first_char'] = _ApiClient["default"].convertToType(data['first_char'], 'String');
delete data['first_char'];
}
if (data.hasOwnProperty('add_time')) {
obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
delete data['add_time'];
}
if (data.hasOwnProperty('update_time')) {
obj['update_time'] = _ApiClient["default"].convertToType(data['update_time'], 'String');
delete data['update_time'];
}
if (data.hasOwnProperty('visible_to')) {
obj['visible_to'] = _ApiClient["default"].convertToType(data['visible_to'], 'String');
delete data['visible_to'];
}
if (data.hasOwnProperty('label')) {
obj['label'] = _ApiClient["default"].convertToType(data['label'], 'Number');
delete data['label'];
}
if (data.hasOwnProperty('owner_name')) {
obj['owner_name'] = _ApiClient["default"].convertToType(data['owner_name'], 'String');
delete data['owner_name'];
}
if (data.hasOwnProperty('cc_email')) {
obj['cc_email'] = _ApiClient["default"].convertToType(data['cc_email'], 'String');
delete data['cc_email'];
}
if (data.hasOwnProperty('email_messages_count')) {
obj['email_messages_count'] = _ApiClient["default"].convertToType(data['email_messages_count'], 'Number');
delete data['email_messages_count'];
}
if (data.hasOwnProperty('people_count')) {
obj['people_count'] = _ApiClient["default"].convertToType(data['people_count'], 'Number');
delete data['people_count'];
}
if (data.hasOwnProperty('activities_count')) {
obj['activities_count'] = _ApiClient["default"].convertToType(data['activities_count'], 'Number');
delete data['activities_count'];
}
if (data.hasOwnProperty('done_activities_count')) {
obj['done_activities_count'] = _ApiClient["default"].convertToType(data['done_activities_count'], 'Number');
delete data['done_activities_count'];
}
if (data.hasOwnProperty('undone_activities_count')) {
obj['undone_activities_count'] = _ApiClient["default"].convertToType(data['undone_activities_count'], 'Number');
delete data['undone_activities_count'];
}
if (data.hasOwnProperty('files_count')) {
obj['files_count'] = _ApiClient["default"].convertToType(data['files_count'], 'Number');
delete data['files_count'];
}
if (data.hasOwnProperty('notes_count')) {
obj['notes_count'] = _ApiClient["default"].convertToType(data['notes_count'], 'Number');
delete data['notes_count'];
}
if (data.hasOwnProperty('followers_count')) {
obj['followers_count'] = _ApiClient["default"].convertToType(data['followers_count'], 'Number');
delete data['followers_count'];
}
if (data.hasOwnProperty('address')) {
obj['address'] = _ApiClient["default"].convertToType(data['address'], 'String');
delete data['address'];
}
if (data.hasOwnProperty('address_subpremise')) {
obj['address_subpremise'] = _ApiClient["default"].convertToType(data['address_subpremise'], 'String');
delete data['address_subpremise'];
}
if (data.hasOwnProperty('address_street_number')) {
obj['address_street_number'] = _ApiClient["default"].convertToType(data['address_street_number'], 'String');
delete data['address_street_number'];
}
if (data.hasOwnProperty('address_route')) {
obj['address_route'] = _ApiClient["default"].convertToType(data['address_route'], 'String');
delete data['address_route'];
}
if (data.hasOwnProperty('address_sublocality')) {
obj['address_sublocality'] = _ApiClient["default"].convertToType(data['address_sublocality'], 'String');
delete data['address_sublocality'];
}
if (data.hasOwnProperty('address_locality')) {
obj['address_locality'] = _ApiClient["default"].convertToType(data['address_locality'], 'String');
delete data['address_locality'];
}
if (data.hasOwnProperty('address_admin_area_level_1')) {
obj['address_admin_area_level_1'] = _ApiClient["default"].convertToType(data['address_admin_area_level_1'], 'String');
delete data['address_admin_area_level_1'];
}
if (data.hasOwnProperty('address_admin_area_level_2')) {
obj['address_admin_area_level_2'] = _ApiClient["default"].convertToType(data['address_admin_area_level_2'], 'String');
delete data['address_admin_area_level_2'];
}
if (data.hasOwnProperty('address_country')) {
obj['address_country'] = _ApiClient["default"].convertToType(data['address_country'], 'String');
delete data['address_country'];
}
if (data.hasOwnProperty('address_postal_code')) {
obj['address_postal_code'] = _ApiClient["default"].convertToType(data['address_postal_code'], 'String');
delete data['address_postal_code'];
}
if (data.hasOwnProperty('address_formatted_address')) {
obj['address_formatted_address'] = _ApiClient["default"].convertToType(data['address_formatted_address'], 'String');
delete data['address_formatted_address'];
}
if (data.hasOwnProperty('open_deals_count')) {
obj['open_deals_count'] = _ApiClient["default"].convertToType(data['open_deals_count'], 'Number');
delete data['open_deals_count'];
}
if (data.hasOwnProperty('related_open_deals_count')) {
obj['related_open_deals_count'] = _ApiClient["default"].convertToType(data['related_open_deals_count'], 'Number');
delete data['related_open_deals_count'];
}
if (data.hasOwnProperty('closed_deals_count')) {
obj['closed_deals_count'] = _ApiClient["default"].convertToType(data['closed_deals_count'], 'Number');
delete data['closed_deals_count'];
}
if (data.hasOwnProperty('related_closed_deals_count')) {
obj['related_closed_deals_count'] = _ApiClient["default"].convertToType(data['related_closed_deals_count'], 'Number');
delete data['related_closed_deals_count'];
}
if (data.hasOwnProperty('won_deals_count')) {
obj['won_deals_count'] = _ApiClient["default"].convertToType(data['won_deals_count'], 'Number');
delete data['won_deals_count'];
}
if (data.hasOwnProperty('related_won_deals_count')) {
obj['related_won_deals_count'] = _ApiClient["default"].convertToType(data['related_won_deals_count'], 'Number');
delete data['related_won_deals_count'];
}
if (data.hasOwnProperty('lost_deals_count')) {
obj['lost_deals_count'] = _ApiClient["default"].convertToType(data['lost_deals_count'], 'Number');
delete data['lost_deals_count'];
}
if (data.hasOwnProperty('related_lost_deals_count')) {
obj['related_lost_deals_count'] = _ApiClient["default"].convertToType(data['related_lost_deals_count'], 'Number');
delete data['related_lost_deals_count'];
}
if (data.hasOwnProperty('next_activity_date')) {
obj['next_activity_date'] = _ApiClient["default"].convertToType(data['next_activity_date'], 'String');
delete data['next_activity_date'];
}
if (data.hasOwnProperty('next_activity_time')) {
obj['next_activity_time'] = _ApiClient["default"].convertToType(data['next_activity_time'], 'String');
delete data['next_activity_time'];
}
if (data.hasOwnProperty('next_activity_id')) {
obj['next_activity_id'] = _ApiClient["default"].convertToType(data['next_activity_id'], 'Number');
delete data['next_activity_id'];
}
if (data.hasOwnProperty('last_activity_id')) {
obj['last_activity_id'] = _ApiClient["default"].convertToType(data['last_activity_id'], 'Number');
delete data['last_activity_id'];
}
if (data.hasOwnProperty('last_activity_date')) {
obj['last_activity_date'] = _ApiClient["default"].convertToType(data['last_activity_date'], 'String');
delete data['last_activity_date'];
}
if (data.hasOwnProperty('edit_name')) {
obj['edit_name'] = _ApiClient["default"].convertToType(data['edit_name'], 'Boolean');
delete data['edit_name'];
}
if (data.hasOwnProperty('last_activity')) {
obj['last_activity'] = _ApiClient["default"].convertToType(data['last_activity'], Object);
delete data['last_activity'];
}
if (data.hasOwnProperty('next_activity')) {
obj['next_activity'] = _ApiClient["default"].convertToType(data['next_activity'], Object);
delete data['next_activity'];
}
if (Object.keys(data).length > 0) {
Object.assign(obj, data);
}
}
return obj;
}
}]);
return OrganizationItem;
}();
/**
* The ID of the organization
* @member {Number} id
*/
OrganizationItem.prototype['id'] = undefined;
/**
* The ID of the company related to the organization
* @member {Number} company_id
*/
OrganizationItem.prototype['company_id'] = undefined;
/**
* @member {module:model/Owner} owner_id
*/
OrganizationItem.prototype['owner_id'] = undefined;
/**
* The name of the organization
* @member {String} name
*/
OrganizationItem.prototype['name'] = undefined;
/**
* Whether the organization is active or not
* @member {Boolean} active_flag
*/
OrganizationItem.prototype['active_flag'] = undefined;
/**
* @member {module:model/PictureDataWithValue} picture_id
*/
OrganizationItem.prototype['picture_id'] = undefined;
/**
* The country code of the organization
* @member {String} country_code
*/
OrganizationItem.prototype['country_code'] = undefined;
/**
* The first character of the organization name
* @member {String} first_char
*/
OrganizationItem.prototype['first_char'] = undefined;
/**
* The creation date and time of the organization
* @member {String} add_time
*/
OrganizationItem.prototype['add_time'] = undefined;
/**
* The last updated date and time of the organization
* @member {String} update_time
*/
OrganizationItem.prototype['update_time'] = undefined;
/**
* The visibility group ID of who can see the organization
* @member {String} visible_to
*/
OrganizationItem.prototype['visible_to'] = undefined;
/**
* The label assigned to the organization
* @member {Number} label
*/
OrganizationItem.prototype['label'] = undefined;
/**
* The name of the organization owner
* @member {String} owner_name
*/
OrganizationItem.prototype['owner_name'] = undefined;
/**
* The BCC email associated with the organization
* @member {String} cc_email
*/
OrganizationItem.prototype['cc_email'] = undefined;
/**
* The count of email messages related to the organization
* @member {Number} email_messages_count
*/
OrganizationItem.prototype['email_messages_count'] = undefined;
/**
* The count of persons related to the organization
* @member {Number} people_count
*/
OrganizationItem.prototype['people_count'] = undefined;
/**
* The count of activities related to the organization
* @member {Number} activities_count
*/
OrganizationItem.prototype['activities_count'] = undefined;
/**
* The count of done activities related to the organization
* @member {Number} done_activities_count
*/
OrganizationItem.prototype['done_activities_count'] = undefined;
/**
* The count of undone activities related to the organization
* @member {Number} undone_activities_count
*/
OrganizationItem.prototype['undone_activities_count'] = undefined;
/**
* The count of files related to the organization
* @member {Number} files_count
*/
OrganizationItem.prototype['files_count'] = undefined;
/**
* The count of notes related to the organization
* @member {Number} notes_count
*/
OrganizationItem.prototype['notes_count'] = undefined;
/**
* The count of followers related to the organization
* @member {Number} followers_count
*/
OrganizationItem.prototype['followers_count'] = undefined;
/**
* The full address of the organization
* @member {String} address
*/
OrganizationItem.prototype['address'] = undefined;
/**
* The sub-premise of the organization location
* @member {String} address_subpremise
*/
OrganizationItem.prototype['address_subpremise'] = undefined;
/**
* The street number of the organization location
* @member {String} address_street_number
*/
OrganizationItem.prototype['address_street_number'] = undefined;
/**
* The route of the organization location
* @member {String} address_route
*/
OrganizationItem.prototype['address_route'] = undefined;
/**
* The sub-locality of the organization location
* @member {String} address_sublocality
*/
OrganizationItem.prototype['address_sublocality'] = undefined;
/**
* The locality of the organization location
* @member {String} address_locality
*/
OrganizationItem.prototype['address_locality'] = undefined;
/**
* The level 1 admin area of the organization location
* @member {String} address_admin_area_level_1
*/
OrganizationItem.prototype['address_admin_area_level_1'] = undefined;
/**
* The level 2 admin area of the organization location
* @member {String} address_admin_area_level_2
*/
OrganizationItem.prototype['address_admin_area_level_2'] = undefined;
/**
* The country of the organization location
* @member {String} address_country
*/
OrganizationItem.prototype['address_country'] = undefined;
/**
* The postal code of the organization location
* @member {String} address_postal_code
*/
OrganizationItem.prototype['address_postal_code'] = undefined;
/**
* The formatted organization location
* @member {String} address_formatted_address
*/
OrganizationItem.prototype['address_formatted_address'] = undefined;
/**
* The count of open deals related with the item
* @member {Number} open_deals_count
*/
OrganizationItem.prototype['open_deals_count'] = undefined;
/**
* The count of related open deals related with the item
* @member {Number} related_open_deals_count
*/
OrganizationItem.prototype['related_open_deals_count'] = undefined;
/**
* The count of closed deals related with the item
* @member {Number} closed_deals_count
*/
OrganizationItem.prototype['closed_deals_count'] = undefined;
/**
* The count of related closed deals related with the item
* @member {Number} related_closed_deals_count
*/
OrganizationItem.prototype['related_closed_deals_count'] = undefined;
/**
* The count of won deals related with the item
* @member {Number} won_deals_count
*/
OrganizationItem.prototype['won_deals_count'] = undefined;
/**
* The count of related won deals related with the item
* @member {Number} related_won_deals_count
*/
OrganizationItem.prototype['related_won_deals_count'] = undefined;
/**
* The count of lost deals related with the item
* @member {Number} lost_deals_count
*/
OrganizationItem.prototype['lost_deals_count'] = undefined;
/**
* The count of related lost deals related with the item
* @member {Number} related_lost_deals_count
*/
OrganizationItem.prototype['related_lost_deals_count'] = undefined;
/**
* The date of the next activity associated with the deal
* @member {String} next_activity_date
*/
OrganizationItem.prototype['next_activity_date'] = undefined;
/**
* The time of the next activity associated with the deal
* @member {String} next_activity_time
*/
OrganizationItem.prototype['next_activity_time'] = undefined;
/**
* The ID of the next activity associated with the deal
* @member {Number} next_activity_id
*/
OrganizationItem.prototype['next_activity_id'] = undefined;
/**
* The ID of the last activity associated with the deal
* @member {Number} last_activity_id
*/
OrganizationItem.prototype['last_activity_id'] = undefined;
/**
* The date of the last activity associated with the deal
* @member {String} last_activity_date
*/
OrganizationItem.prototype['last_activity_date'] = undefined;
/**
* If the company ID of the organization and company ID of the request is same or not
* @member {Boolean} edit_name
*/
OrganizationItem.prototype['edit_name'] = undefined;
/**
* Please refer to response schema of <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivity\">Activity</a>
* @member {Object} last_activity
*/
OrganizationItem.prototype['last_activity'] = undefined;
/**
* Please refer to response schema of <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivity\">Activity</a>
* @member {Object} next_activity
*/
OrganizationItem.prototype['next_activity'] = undefined;
// Implement BaseOrganizationItemWithEditNameFlag interface:
/**
* The ID of the organization
* @member {Number} id
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['id'] = undefined;
/**
* The ID of the company related to the organization
* @member {Number} company_id
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['company_id'] = undefined;
/**
* @member {module:model/Owner} owner_id
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['owner_id'] = undefined;
/**
* The name of the organization
* @member {String} name
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['name'] = undefined;
/**
* Whether the organization is active or not
* @member {Boolean} active_flag
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['active_flag'] = undefined;
/**
* @member {module:model/PictureDataWithValue} picture_id
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['picture_id'] = undefined;
/**
* The country code of the organization
* @member {String} country_code
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['country_code'] = undefined;
/**
* The first character of the organization name
* @member {String} first_char
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['first_char'] = undefined;
/**
* The creation date and time of the organization
* @member {String} add_time
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['add_time'] = undefined;
/**
* The last updated date and time of the organization
* @member {String} update_time
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['update_time'] = undefined;
/**
* The visibility group ID of who can see the organization
* @member {String} visible_to
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['visible_to'] = undefined;
/**
* The label assigned to the organization
* @member {Number} label
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['label'] = undefined;
/**
* The name of the organization owner
* @member {String} owner_name
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['owner_name'] = undefined;
/**
* The BCC email associated with the organization
* @member {String} cc_email
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['cc_email'] = undefined;
/**
* The count of email messages related to the organization
* @member {Number} email_messages_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['email_messages_count'] = undefined;
/**
* The count of persons related to the organization
* @member {Number} people_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['people_count'] = undefined;
/**
* The count of activities related to the organization
* @member {Number} activities_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['activities_count'] = undefined;
/**
* The count of done activities related to the organization
* @member {Number} done_activities_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['done_activities_count'] = undefined;
/**
* The count of undone activities related to the organization
* @member {Number} undone_activities_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['undone_activities_count'] = undefined;
/**
* The count of files related to the organization
* @member {Number} files_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['files_count'] = undefined;
/**
* The count of notes related to the organization
* @member {Number} notes_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['notes_count'] = undefined;
/**
* The count of followers related to the organization
* @member {Number} followers_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['followers_count'] = undefined;
/**
* The full address of the organization
* @member {String} address
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address'] = undefined;
/**
* The sub-premise of the organization location
* @member {String} address_subpremise
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_subpremise'] = undefined;
/**
* The street number of the organization location
* @member {String} address_street_number
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_street_number'] = undefined;
/**
* The route of the organization location
* @member {String} address_route
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_route'] = undefined;
/**
* The sub-locality of the organization location
* @member {String} address_sublocality
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_sublocality'] = undefined;
/**
* The locality of the organization location
* @member {String} address_locality
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_locality'] = undefined;
/**
* The level 1 admin area of the organization location
* @member {String} address_admin_area_level_1
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_admin_area_level_1'] = undefined;
/**
* The level 2 admin area of the organization location
* @member {String} address_admin_area_level_2
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_admin_area_level_2'] = undefined;
/**
* The country of the organization location
* @member {String} address_country
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_country'] = undefined;
/**
* The postal code of the organization location
* @member {String} address_postal_code
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_postal_code'] = undefined;
/**
* The formatted organization location
* @member {String} address_formatted_address
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['address_formatted_address'] = undefined;
/**
* The count of open deals related with the item
* @member {Number} open_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['open_deals_count'] = undefined;
/**
* The count of related open deals related with the item
* @member {Number} related_open_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['related_open_deals_count'] = undefined;
/**
* The count of closed deals related with the item
* @member {Number} closed_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['closed_deals_count'] = undefined;
/**
* The count of related closed deals related with the item
* @member {Number} related_closed_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['related_closed_deals_count'] = undefined;
/**
* The count of won deals related with the item
* @member {Number} won_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['won_deals_count'] = undefined;
/**
* The count of related won deals related with the item
* @member {Number} related_won_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['related_won_deals_count'] = undefined;
/**
* The count of lost deals related with the item
* @member {Number} lost_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['lost_deals_count'] = undefined;
/**
* The count of related lost deals related with the item
* @member {Number} related_lost_deals_count
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['related_lost_deals_count'] = undefined;
/**
* The date of the next activity associated with the deal
* @member {String} next_activity_date
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['next_activity_date'] = undefined;
/**
* The time of the next activity associated with the deal
* @member {String} next_activity_time
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['next_activity_time'] = undefined;
/**
* The ID of the next activity associated with the deal
* @member {Number} next_activity_id
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['next_activity_id'] = undefined;
/**
* The ID of the last activity associated with the deal
* @member {Number} last_activity_id
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['last_activity_id'] = undefined;
/**
* The date of the last activity associated with the deal
* @member {String} last_activity_date
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['last_activity_date'] = undefined;
/**
* If the company ID of the organization and company ID of the request is same or not
* @member {Boolean} edit_name
*/
_BaseOrganizationItemWithEditNameFlag["default"].prototype['edit_name'] = undefined;
// Implement OrganizationItemAllOf interface:
/**
* Please refer to response schema of <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivity\">Activity</a>
* @member {Object} last_activity
*/
_OrganizationItemAllOf["default"].prototype['last_activity'] = undefined;
/**
* Please refer to response schema of <a href=\"https://developers.pipedrive.com/docs/api/v1/Activities#getActivity\">Activity</a>
* @member {Object} next_activity
*/
_OrganizationItemAllOf["default"].prototype['next_activity'] = undefined;
var _default = OrganizationItem;
exports["default"] = _default;