HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode.com/node_modules/pipedrive/dist/model/ActivityResponseObjectAllOf.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"));
/**
 * 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 ActivityResponseObjectAllOf model module.
 * @module model/ActivityResponseObjectAllOf
 * @version 1.0.0
 */
var ActivityResponseObjectAllOf = /*#__PURE__*/function () {
  /**
   * Constructs a new <code>ActivityResponseObjectAllOf</code>.
   * @alias module:model/ActivityResponseObjectAllOf
   */
  function ActivityResponseObjectAllOf() {
    (0, _classCallCheck2["default"])(this, ActivityResponseObjectAllOf);
    ActivityResponseObjectAllOf.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"])(ActivityResponseObjectAllOf, null, [{
    key: "initialize",
    value: function initialize(obj) {}

    /**
     * Constructs a <code>ActivityResponseObjectAllOf</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/ActivityResponseObjectAllOf} obj Optional instance to populate.
     * @return {module:model/ActivityResponseObjectAllOf} The populated <code>ActivityResponseObjectAllOf</code> instance.
     */
  }, {
    key: "constructFromObject",
    value: function constructFromObject(data, obj) {
      if (data) {
        obj = obj || new ActivityResponseObjectAllOf();
        if (data.hasOwnProperty('id')) {
          obj['id'] = _ApiClient["default"].convertToType(data['id'], 'Number');
          delete data['id'];
        }
        if (data.hasOwnProperty('note')) {
          obj['note'] = _ApiClient["default"].convertToType(data['note'], 'String');
          delete data['note'];
        }
        if (data.hasOwnProperty('done')) {
          obj['done'] = _ApiClient["default"].convertToType(data['done'], 'Boolean');
          delete data['done'];
        }
        if (data.hasOwnProperty('subject')) {
          obj['subject'] = _ApiClient["default"].convertToType(data['subject'], 'String');
          delete data['subject'];
        }
        if (data.hasOwnProperty('type')) {
          obj['type'] = _ApiClient["default"].convertToType(data['type'], 'String');
          delete data['type'];
        }
        if (data.hasOwnProperty('user_id')) {
          obj['user_id'] = _ApiClient["default"].convertToType(data['user_id'], 'Number');
          delete data['user_id'];
        }
        if (data.hasOwnProperty('participants')) {
          obj['participants'] = _ApiClient["default"].convertToType(data['participants'], [Object]);
          delete data['participants'];
        }
        if (data.hasOwnProperty('busy_flag')) {
          obj['busy_flag'] = _ApiClient["default"].convertToType(data['busy_flag'], 'Boolean');
          delete data['busy_flag'];
        }
        if (data.hasOwnProperty('attendees')) {
          obj['attendees'] = _ApiClient["default"].convertToType(data['attendees'], [Object]);
          delete data['attendees'];
        }
        if (data.hasOwnProperty('company_id')) {
          obj['company_id'] = _ApiClient["default"].convertToType(data['company_id'], 'Number');
          delete data['company_id'];
        }
        if (data.hasOwnProperty('reference_type')) {
          obj['reference_type'] = _ApiClient["default"].convertToType(data['reference_type'], 'String');
          delete data['reference_type'];
        }
        if (data.hasOwnProperty('reference_id')) {
          obj['reference_id'] = _ApiClient["default"].convertToType(data['reference_id'], 'Number');
          delete data['reference_id'];
        }
        if (data.hasOwnProperty('conference_meeting_client')) {
          obj['conference_meeting_client'] = _ApiClient["default"].convertToType(data['conference_meeting_client'], 'String');
          delete data['conference_meeting_client'];
        }
        if (data.hasOwnProperty('conference_meeting_url')) {
          obj['conference_meeting_url'] = _ApiClient["default"].convertToType(data['conference_meeting_url'], 'String');
          delete data['conference_meeting_url'];
        }
        if (data.hasOwnProperty('conference_meeting_id')) {
          obj['conference_meeting_id'] = _ApiClient["default"].convertToType(data['conference_meeting_id'], 'String');
          delete data['conference_meeting_id'];
        }
        if (data.hasOwnProperty('add_time')) {
          obj['add_time'] = _ApiClient["default"].convertToType(data['add_time'], 'String');
          delete data['add_time'];
        }
        if (data.hasOwnProperty('marked_as_done_time')) {
          obj['marked_as_done_time'] = _ApiClient["default"].convertToType(data['marked_as_done_time'], 'String');
          delete data['marked_as_done_time'];
        }
        if (data.hasOwnProperty('last_notification_time')) {
          obj['last_notification_time'] = _ApiClient["default"].convertToType(data['last_notification_time'], 'String');
          delete data['last_notification_time'];
        }
        if (data.hasOwnProperty('last_notification_user_id')) {
          obj['last_notification_user_id'] = _ApiClient["default"].convertToType(data['last_notification_user_id'], 'Number');
          delete data['last_notification_user_id'];
        }
        if (data.hasOwnProperty('notification_language_id')) {
          obj['notification_language_id'] = _ApiClient["default"].convertToType(data['notification_language_id'], 'Number');
          delete data['notification_language_id'];
        }
        if (data.hasOwnProperty('active_flag')) {
          obj['active_flag'] = _ApiClient["default"].convertToType(data['active_flag'], 'Boolean');
          delete data['active_flag'];
        }
        if (data.hasOwnProperty('update_time')) {
          obj['update_time'] = _ApiClient["default"].convertToType(data['update_time'], 'String');
          delete data['update_time'];
        }
        if (data.hasOwnProperty('update_user_id')) {
          obj['update_user_id'] = _ApiClient["default"].convertToType(data['update_user_id'], 'Number');
          delete data['update_user_id'];
        }
        if (data.hasOwnProperty('gcal_event_id')) {
          obj['gcal_event_id'] = _ApiClient["default"].convertToType(data['gcal_event_id'], 'String');
          delete data['gcal_event_id'];
        }
        if (data.hasOwnProperty('google_calendar_id')) {
          obj['google_calendar_id'] = _ApiClient["default"].convertToType(data['google_calendar_id'], 'String');
          delete data['google_calendar_id'];
        }
        if (data.hasOwnProperty('google_calendar_etag')) {
          obj['google_calendar_etag'] = _ApiClient["default"].convertToType(data['google_calendar_etag'], 'String');
          delete data['google_calendar_etag'];
        }
        if (data.hasOwnProperty('calendar_sync_include_context')) {
          obj['calendar_sync_include_context'] = _ApiClient["default"].convertToType(data['calendar_sync_include_context'], 'String');
          delete data['calendar_sync_include_context'];
        }
        if (data.hasOwnProperty('source_timezone')) {
          obj['source_timezone'] = _ApiClient["default"].convertToType(data['source_timezone'], 'String');
          delete data['source_timezone'];
        }
        if (data.hasOwnProperty('rec_rule')) {
          obj['rec_rule'] = _ApiClient["default"].convertToType(data['rec_rule'], 'String');
          delete data['rec_rule'];
        }
        if (data.hasOwnProperty('rec_rule_extension')) {
          obj['rec_rule_extension'] = _ApiClient["default"].convertToType(data['rec_rule_extension'], 'String');
          delete data['rec_rule_extension'];
        }
        if (data.hasOwnProperty('rec_master_activity_id')) {
          obj['rec_master_activity_id'] = _ApiClient["default"].convertToType(data['rec_master_activity_id'], 'Number');
          delete data['rec_master_activity_id'];
        }
        if (data.hasOwnProperty('series')) {
          obj['series'] = _ApiClient["default"].convertToType(data['series'], [Object]);
          delete data['series'];
        }
        if (data.hasOwnProperty('created_by_user_id')) {
          obj['created_by_user_id'] = _ApiClient["default"].convertToType(data['created_by_user_id'], 'Number');
          delete data['created_by_user_id'];
        }
        if (data.hasOwnProperty('location_subpremise')) {
          obj['location_subpremise'] = _ApiClient["default"].convertToType(data['location_subpremise'], 'String');
          delete data['location_subpremise'];
        }
        if (data.hasOwnProperty('location_street_number')) {
          obj['location_street_number'] = _ApiClient["default"].convertToType(data['location_street_number'], 'String');
          delete data['location_street_number'];
        }
        if (data.hasOwnProperty('location_route')) {
          obj['location_route'] = _ApiClient["default"].convertToType(data['location_route'], 'String');
          delete data['location_route'];
        }
        if (data.hasOwnProperty('location_sublocality')) {
          obj['location_sublocality'] = _ApiClient["default"].convertToType(data['location_sublocality'], 'String');
          delete data['location_sublocality'];
        }
        if (data.hasOwnProperty('location_locality')) {
          obj['location_locality'] = _ApiClient["default"].convertToType(data['location_locality'], 'String');
          delete data['location_locality'];
        }
        if (data.hasOwnProperty('location_admin_area_level_1')) {
          obj['location_admin_area_level_1'] = _ApiClient["default"].convertToType(data['location_admin_area_level_1'], 'String');
          delete data['location_admin_area_level_1'];
        }
        if (data.hasOwnProperty('location_admin_area_level_2')) {
          obj['location_admin_area_level_2'] = _ApiClient["default"].convertToType(data['location_admin_area_level_2'], 'String');
          delete data['location_admin_area_level_2'];
        }
        if (data.hasOwnProperty('location_country')) {
          obj['location_country'] = _ApiClient["default"].convertToType(data['location_country'], 'String');
          delete data['location_country'];
        }
        if (data.hasOwnProperty('location_postal_code')) {
          obj['location_postal_code'] = _ApiClient["default"].convertToType(data['location_postal_code'], 'String');
          delete data['location_postal_code'];
        }
        if (data.hasOwnProperty('location_formatted_address')) {
          obj['location_formatted_address'] = _ApiClient["default"].convertToType(data['location_formatted_address'], 'String');
          delete data['location_formatted_address'];
        }
        if (data.hasOwnProperty('org_name')) {
          obj['org_name'] = _ApiClient["default"].convertToType(data['org_name'], 'String');
          delete data['org_name'];
        }
        if (data.hasOwnProperty('person_name')) {
          obj['person_name'] = _ApiClient["default"].convertToType(data['person_name'], 'String');
          delete data['person_name'];
        }
        if (data.hasOwnProperty('deal_title')) {
          obj['deal_title'] = _ApiClient["default"].convertToType(data['deal_title'], 'String');
          delete data['deal_title'];
        }
        if (data.hasOwnProperty('owner_name')) {
          obj['owner_name'] = _ApiClient["default"].convertToType(data['owner_name'], 'String');
          delete data['owner_name'];
        }
        if (data.hasOwnProperty('person_dropbox_bcc')) {
          obj['person_dropbox_bcc'] = _ApiClient["default"].convertToType(data['person_dropbox_bcc'], 'String');
          delete data['person_dropbox_bcc'];
        }
        if (data.hasOwnProperty('deal_dropbox_bcc')) {
          obj['deal_dropbox_bcc'] = _ApiClient["default"].convertToType(data['deal_dropbox_bcc'], 'String');
          delete data['deal_dropbox_bcc'];
        }
        if (data.hasOwnProperty('assigned_to_user_id')) {
          obj['assigned_to_user_id'] = _ApiClient["default"].convertToType(data['assigned_to_user_id'], 'Number');
          delete data['assigned_to_user_id'];
        }
        if (data.hasOwnProperty('file')) {
          obj['file'] = _ApiClient["default"].convertToType(data['file'], Object);
          delete data['file'];
        }
        if (Object.keys(data).length > 0) {
          Object.assign(obj, data);
        }
      }
      return obj;
    }
  }]);
  return ActivityResponseObjectAllOf;
}();
/**
 * The ID of the activity, generated when the activity was created
 * @member {Number} id
 */
ActivityResponseObjectAllOf.prototype['id'] = undefined;

/**
 * The note of the activity (HTML format)
 * @member {String} note
 */
ActivityResponseObjectAllOf.prototype['note'] = undefined;

/**
 * Whether the activity is done or not
 * @member {Boolean} done
 */
ActivityResponseObjectAllOf.prototype['done'] = undefined;

/**
 * The subject of the activity
 * @member {String} subject
 */
ActivityResponseObjectAllOf.prototype['subject'] = undefined;

/**
 * The type of the activity. This is in correlation with the `key_string` parameter of ActivityTypes.
 * @member {String} type
 */
ActivityResponseObjectAllOf.prototype['type'] = undefined;

/**
 * The ID of the user whom the activity is assigned to
 * @member {Number} user_id
 */
ActivityResponseObjectAllOf.prototype['user_id'] = undefined;

/**
 * List of multiple persons (participants) this activity is associated with
 * @member {Array.<Object>} participants
 */
ActivityResponseObjectAllOf.prototype['participants'] = undefined;

/**
 * Marks if the activity is set as 'Busy' or 'Free'. If the flag is set to `true`, your customers will not be able to book that time slot through any Scheduler links. The flag can also be unset. When the value of the flag is unset (`null`), the flag defaults to 'Busy' if it has a time set, and 'Free' if it is an all-day event without specified time.
 * @member {Boolean} busy_flag
 */
ActivityResponseObjectAllOf.prototype['busy_flag'] = undefined;

/**
 * The attendees of the activity. This can be either your existing Pipedrive contacts or an external email address.
 * @member {Array.<Object>} attendees
 */
ActivityResponseObjectAllOf.prototype['attendees'] = undefined;

/**
 * The user's company ID
 * @member {Number} company_id
 */
ActivityResponseObjectAllOf.prototype['company_id'] = undefined;

/**
 * If the activity references some other object, it is indicated here. For example, value `Salesphone` refers to activities created with Caller.
 * @member {String} reference_type
 */
ActivityResponseObjectAllOf.prototype['reference_type'] = undefined;

/**
 * Together with the `reference_type`, gives the ID of the other object
 * @member {Number} reference_id
 */
ActivityResponseObjectAllOf.prototype['reference_id'] = undefined;

/**
 * The ID of the Marketplace app, which is connected to this activity
 * @member {String} conference_meeting_client
 */
ActivityResponseObjectAllOf.prototype['conference_meeting_client'] = undefined;

/**
 * The link to join the meeting which is associated with this activity
 * @member {String} conference_meeting_url
 */
ActivityResponseObjectAllOf.prototype['conference_meeting_url'] = undefined;

/**
 * The meeting ID of the meeting provider (Zoom, MS Teams etc.) that is associated with this activity
 * @member {String} conference_meeting_id
 */
ActivityResponseObjectAllOf.prototype['conference_meeting_id'] = undefined;

/**
 * The creation date and time of the activity in UTC. Format: YYYY-MM-DD HH:MM:SS.
 * @member {String} add_time
 */
ActivityResponseObjectAllOf.prototype['add_time'] = undefined;

/**
 * The date and time this activity was marked as done. Format: YYYY-MM-DD HH:MM:SS.
 * @member {String} marked_as_done_time
 */
ActivityResponseObjectAllOf.prototype['marked_as_done_time'] = undefined;

/**
 * The date and time of latest notifications sent about this activity to the participants or the attendees of this activity
 * @member {String} last_notification_time
 */
ActivityResponseObjectAllOf.prototype['last_notification_time'] = undefined;

/**
 * The ID of the user who triggered the sending of the latest notifications about this activity to the participants or the attendees of this activity
 * @member {Number} last_notification_user_id
 */
ActivityResponseObjectAllOf.prototype['last_notification_user_id'] = undefined;

/**
 * The ID of the language the notifications are sent in
 * @member {Number} notification_language_id
 */
ActivityResponseObjectAllOf.prototype['notification_language_id'] = undefined;

/**
 * Whether the activity is active or not
 * @member {Boolean} active_flag
 */
ActivityResponseObjectAllOf.prototype['active_flag'] = undefined;

/**
 * The last update date and time of the activity. Format: YYYY-MM-DD HH:MM:SS.
 * @member {String} update_time
 */
ActivityResponseObjectAllOf.prototype['update_time'] = undefined;

/**
 * The ID of the user who was the last to update this activity
 * @member {Number} update_user_id
 */
ActivityResponseObjectAllOf.prototype['update_user_id'] = undefined;

/**
 * For the activity which syncs to Google calendar, this is the Google event ID. NB! This field is related to old Google calendar sync and will be deprecated soon.
 * @member {String} gcal_event_id
 */
ActivityResponseObjectAllOf.prototype['gcal_event_id'] = undefined;

/**
 * The Google calendar ID that this activity syncs to. NB! This field is related to old Google calendar sync and will be deprecated soon.
 * @member {String} google_calendar_id
 */
ActivityResponseObjectAllOf.prototype['google_calendar_id'] = undefined;

/**
 * The Google calendar API etag (version) that is used for syncing this activity. NB! This field is related to old Google calendar sync and will be deprecated soon.
 * @member {String} google_calendar_etag
 */
ActivityResponseObjectAllOf.prototype['google_calendar_etag'] = undefined;

/**
 * For activities that sync to an external calendar, this setting indicates if the activity syncs with context (what are the deals, persons, organizations this activity is related to)
 * @member {String} calendar_sync_include_context
 */
ActivityResponseObjectAllOf.prototype['calendar_sync_include_context'] = undefined;

/**
 * The timezone the activity was created in an external calendar
 * @member {String} source_timezone
 */
ActivityResponseObjectAllOf.prototype['source_timezone'] = undefined;

/**
 * The rule for the recurrence of the activity. Is important for activities synced into Pipedrive from an external calendar. Example: \"RRULE:FREQ=WEEKLY;BYDAY=WE\"
 * @member {String} rec_rule
 */
ActivityResponseObjectAllOf.prototype['rec_rule'] = undefined;

/**
 * Additional rules for the recurrence of the activity, extend the `rec_rule`. Is important for activities synced into Pipedrive from an external calendar.
 * @member {String} rec_rule_extension
 */
ActivityResponseObjectAllOf.prototype['rec_rule_extension'] = undefined;

/**
 * The ID of parent activity for a recurrent activity if the current activity is an exception to recurrence rules
 * @member {Number} rec_master_activity_id
 */
ActivityResponseObjectAllOf.prototype['rec_master_activity_id'] = undefined;

/**
 * The list of recurring activity instances. It is in a structure as follows: `[{due_date: \"2020-06-24\", due_time: \"10:00:00\"}]`
 * @member {Array.<Object>} series
 */
ActivityResponseObjectAllOf.prototype['series'] = undefined;

/**
 * The ID of the user who created the activity
 * @member {Number} created_by_user_id
 */
ActivityResponseObjectAllOf.prototype['created_by_user_id'] = undefined;

/**
 * A subfield of the location field. Indicates apartment/suite number.
 * @member {String} location_subpremise
 */
ActivityResponseObjectAllOf.prototype['location_subpremise'] = undefined;

/**
 * A subfield of the location field. Indicates house number.
 * @member {String} location_street_number
 */
ActivityResponseObjectAllOf.prototype['location_street_number'] = undefined;

/**
 * A subfield of the location field. Indicates street name.
 * @member {String} location_route
 */
ActivityResponseObjectAllOf.prototype['location_route'] = undefined;

/**
 * A subfield of the location field. Indicates district/sublocality.
 * @member {String} location_sublocality
 */
ActivityResponseObjectAllOf.prototype['location_sublocality'] = undefined;

/**
 * A subfield of the location field. Indicates city/town/village/locality.
 * @member {String} location_locality
 */
ActivityResponseObjectAllOf.prototype['location_locality'] = undefined;

/**
 * A subfield of the location field. Indicates state/county.
 * @member {String} location_admin_area_level_1
 */
ActivityResponseObjectAllOf.prototype['location_admin_area_level_1'] = undefined;

/**
 * A subfield of the location field. Indicates region.
 * @member {String} location_admin_area_level_2
 */
ActivityResponseObjectAllOf.prototype['location_admin_area_level_2'] = undefined;

/**
 * A subfield of the location field. Indicates country.
 * @member {String} location_country
 */
ActivityResponseObjectAllOf.prototype['location_country'] = undefined;

/**
 * A subfield of the location field. Indicates ZIP/postal code.
 * @member {String} location_postal_code
 */
ActivityResponseObjectAllOf.prototype['location_postal_code'] = undefined;

/**
 * A subfield of the location field. Indicates full/combined address.
 * @member {String} location_formatted_address
 */
ActivityResponseObjectAllOf.prototype['location_formatted_address'] = undefined;

/**
 * The name of the organization this activity is associated with
 * @member {String} org_name
 */
ActivityResponseObjectAllOf.prototype['org_name'] = undefined;

/**
 * The name of the person this activity is associated with
 * @member {String} person_name
 */
ActivityResponseObjectAllOf.prototype['person_name'] = undefined;

/**
 * The name of the deal this activity is associated with
 * @member {String} deal_title
 */
ActivityResponseObjectAllOf.prototype['deal_title'] = undefined;

/**
 * The name of the user this activity is owned by
 * @member {String} owner_name
 */
ActivityResponseObjectAllOf.prototype['owner_name'] = undefined;

/**
 * The BCC email address of the person
 * @member {String} person_dropbox_bcc
 */
ActivityResponseObjectAllOf.prototype['person_dropbox_bcc'] = undefined;

/**
 * The BCC email address of the deal
 * @member {String} deal_dropbox_bcc
 */
ActivityResponseObjectAllOf.prototype['deal_dropbox_bcc'] = undefined;

/**
 * The ID of the user to whom the activity is assigned to. Equal to `user_id`.
 * @member {Number} assigned_to_user_id
 */
ActivityResponseObjectAllOf.prototype['assigned_to_user_id'] = undefined;

/**
 * The file that is attached to this activity. For example, this can be a reference to an audio note file generated with Pipedrive mobile app.
 * @member {Object} file
 */
ActivityResponseObjectAllOf.prototype['file'] = undefined;
var _default = ActivityResponseObjectAllOf;
exports["default"] = _default;